var _yt_player={};(function(g){var window=this;/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ /* SPDX-License-Identifier: Apache-2.0 */ /* (The MIT License) Copyright (C) 2014 by Vitaly Puzrin Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ----------------------------------------------------------------------------- Ported from zlib, which is under the following license https://github.com/madler/zlib/blob/master/zlib.h zlib.h -- interface of the 'zlib' general purpose compression library version 1.2.8, April 28th, 2013 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu The data format used by the zlib library is described by RFCs (Request for Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and rfc1952 (gzip format). */ /* The MIT License (MIT) Copyright (c) 2015-present Dan Abramov Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 'use strict';var aa,baa,caa,na,daa,pa,eaa,sa,va,ya,za,gaa,haa,Ia,Ja,iaa,jaa,La,kaa,Ma,Pa,Qa,Wa,Xa,maa,naa,nb,oaa,ob,qb,rb,ub,vb,paa,qaa,yb,saa,taa,Ob,uaa,Wb,vaa,waa,Sb,xaa,yaa,zaa,Aaa,Caa,Baa,Daa,fc,Eaa,hc,jc,lc,uc,xc,yc,zc,Ac,Cc,Maa,Dc,Gc,Ec,Naa,Oaa,Paa,Qaa,Hc,Raa,Ic,Jc,Kc,Saa,Lc,Nc,Uaa,Vaa,Xaa,Tc,Uc,$aa,Vc,Yc,aba,bba,bd,id,cba,td,vd,fba,gba,wd,lba,Bd,iba,kba,zd,yd,Gd,Hd,mba,Id,nba,Kd,Md,oba,Od,Rd,Sd,rba,tba,wba,Xd,Bba,ce,Iba,Gba,Hba,Jba,Lba,Mba,Oba,Rba,ke,Tba,ne,se,we,ze,Ae,Uba,Vba,Wba,Xba,Me,Ne, Ze,$ba,bca,aca,af,kf,cca,jf,Le,Af,eca,Cf,Bf,Ke,Ef,fca,Ff,Gf,Hf,gca,ica,kca,Wf,Xf,Yf,oca,qca,$f,rca,Zf,vca,Uf,mca,xca,uca,sca,tca,yca,wca,ag,pca,ng,Aca,Bca,Cca,Dca,Eca,Fca,Gca,Hca,Ica,pg,Jca,Mca,Nca,Oca,Tca,tg,Sca,Pca,Vca,Xca,Zca,vg,wg,bda,yg,zg,dda,Bg,Ag,eda,Cg,fda,gda,Dg,Qg,Ug,hda,Vg,ida,jda,Wg,Rg,kda,Yg,Xg,Zg,$g,ah,bh,ch,lda,nda,eh,oda,pda,fh,Ah,Dh,rda,sda,uda,vda,xda,Eh,yda,Fh,zda,Gh,Ada,Hh,Ih,Bda,Jh,Kh,Lh,Cda,Oh,Dda,Eda,Qh,Rh,Gda,Sh,Th,Uh,Vh,Hda,Ida,ni,oi,pi,Jda,Kda,Lda,Mda,qi,ri,Oda,Pda,si,ti, ui,Rda,xi,Sda,Tda,wi,yi,Qda,vi,zi,Uda,Vda,Wda,Ai,Bi,Ci,Di,Xda,Gi,Zi,M,$da,Zda,bea,cea,aj,dea,eea,cj,dj,fj,ej,hj,gj,ij,lj,nj,gea,hea,oj,pj,qj,Dj,Cj,iea,jea,Fj,Gj,Hj,Ej,Ij,fea,kea,lea,N,Kj,Lj,mj,Mj,Nj,mea,Oj,nea,oea,Pj,pea,Qj,Rj,qea,Sj,rea,Uj,sea,Vj,Wj,Xj,Yj,Zj,wk,Q,xk,yk,R,zk,S,tea,Ak,xea,Bk,Fk,Aea,Bea,Cea,zea,Dea,Hk,Hea,Iea,Jea,Ik,Kea,Lea,Ck,Mea,Gea,Lk,Mk,Nk,Ok,Pk,Qk,Oea,Pea,Rk,Qea,Sk,Tk,Uk,Vk,Wk,pl,ql,Sea,Tea,Vea,Uea,Wea,tl,ul,vl,Yea,Zea,$ea,wl,xl,yl,zl,Cl,Dl,bfa,Hl,cfa,Il,Jl,Kl,dfa,efa,Nl,ffa,Ol, vm,ifa,wm,xm,ym,zm,Am,Bm,Cm,Dm,Em,jfa,Hm,kfa,lfa,mfa,ofa,nfa,Fm,Gm,pfa,qfa,Jm,sfa,Im,Km,tfa,Mm,ufa,xfa,Nm,Om,yfa,Afa,Bfa,Dfa,Cfa,Efa,Qm,Ffa,Tm,Ifa,Xm,Ym,Zm,Jfa,$m,tn,un,Kfa,Lfa,Mfa,vn,Ofa,wn,Pfa,Qfa,Tfa,Sfa,Rfa,Ufa,Vfa,yn,Wfa,Xfa,Yfa,aga,Zfa,zn,cga,An,dga,ega,Bn,Dn,fga,En,Fn,Gn,hga,In,jga,kga,lga,mga,Ln,Mn,Pn,nga,pga,oga,qga,rga,uga,Qn,Rn,Sn,Tn,Un,Vn,Wn,Xn,vga,Yn,Zn,$n,ao,bo,zga,wga,fo,yga,go,xga,eo,co,io,Bga,ko,jo,Cga,Dga,qo,ro,to,Gga,so,wo,Hga,xo,Ega,Kga,Lga,Mga,ap,bp,cp,Nga,dp,ep,fp,gp,Oga,hp, ip,jp,Pga,Qga,kp,Rga,lp,Uga,Vga,Wga,Xga,Sga,mp,np,op,pp,Zga,$ga,Yga,qp,aha,bha,cha,up,dha,vp,wp,fha,gha,xp,yp,zp,Ap,Bp,Cp,Dp,Ep,hha,Fp,Gp,iha,kha,jha,Hp,lha,mha,nha,Ip,Jp,Kp,Lp,Mp,Np,Op,oha,Pp,Qp,Rp,pha,rha,sha,Tp,Vp,Up,Xp,Yp,Zp,uha,vha,$p,aq,bq,xha,yha,Bha,zha,Cha,Gha,gr,Fha,Dha,hr,ir,Hha,jr,Iha,kr,Kha,Jha,Lha,Mha,or,pr,Nha,Oha,Pha,qr,rr,Qha,sr,Rha,Sha,Uha,Yha,tr,Zha,$ha,aia,bia,cia,wr,dia,eia,fia,Dr,Cr,Br,gia,hia,iia,Er,Fr,Gr,kia,Lr,Mr,Nr,Or,Pr,Qr,mia,nia,oia,Rr,Tr,Ur,Yr,Zr,bs,qia,sia,ria,tia,uia, hs,via,wia,is,xia,yia,zia,Aia,ms,ks,ns,os,ps,Bia,Cia,Dia,qs,rs,ts,Eia,Fia,Gia,us,Hia,vs,ws,Iia,Jia,Kia,Lia,Mia,Nia,xs,ys,zs,Bs,Qia,Ls,Ms,Ria,Pia,As,Sia,Ns,Os,Ps,Rs,Qs,Tia,Uia,Via,Ss,Xia,Ts,Zia,$ia,aja,bja,cja,dja,eja,fja,Ws,Xs,Ys,hja,gja,ija,jja,$s,kja,at,lja,mja,bt,ct,dt,nja,et,ft,oja,gt,ht,jt,kt,lt,mt,nt,ot,pja,qja,rja,sja,pt,tja,vja,uja,rt,tt,xja,wja,Cja,Bja,ut,Dja,Eja,Fja,Hja,Gja,Ija,vt,Jja,Kja,xt,Lja,Mja,Nja,Oja,zt,Pja,At,Qja,Bt,Ct,Sja,Dt,Tja,Et,Ft,Uja,Vja,Gt,It,Xja,Jt,Wja,Yja,Zja,$ja,bka,Kt, cka,Nt,Ot,eka,fka,ika,jka,Pt,Qt,Rt,St,Tt,Ut,Vt,Wt,Xt,Yt,Zt,$t,au,nka,mka,oka,qka,pka,ska,lka,rka,kka,bu,cu,uka,vka,wka,gu,hu,iu,du,yka,ju,tka,Aka,Bka,zka,ku,lu,mu,nu,Cka,xka,Dka,ou,Eka,Fka,Gka,Hka,Ika,Lka,Mka,Nka,Oka,Pka,Ska,ru,Uka,qu,uu,Vka,vu,xu,yu,Wka,Xka,Fu,Yka,Zka,Gu,$ka,Ru,Ou,Pu,Qu,ala,Uu,Tu,bla,Wu,dla,fla,Xu,gla,hla,mla,ila,av,bv,rla,cv,dv,ev,tla,hv,ula,vla,iv,xla,kv,lv,mv,yla,ov,pv,qv,rv,uv,vv,Ala,Bla,yv,zv,Av,Bv,Cv,Dv,Cla,Dla,Ela,Fla,Gla,Hla,Ev,Ila,Lv,Jla,Kla,Lla,Mv,Ov,Pv,Qv,Tv,Uv,Vv,Nla, Yv,Zv,$v,Ola,Pla,aw,Qla,Rla,cw,Zla,$la,ama,dw,bma,cma,fma,gma,gw,hma,iw,jw,kw,lw,mw,nw,ow,pw,qw,rw,tw,uw,vw,ww,xw,yw,zw,Aw,Bw,Cw,Dw,Ew,Fw,Gw,Hw,Iw,Jw,Kw,Lw,Mw,Nw,Ow,Pw,Qw,Rw,Sw,Tw,Uw,Vw,Ww,Xw,Yw,Zw,$w,ax,bx,cx,dx,ex,fx,gx,hx,ix,ima,jx,kx,lx,mx,ox,px,qx,rx,sx,tx,ux,vx,wx,xx,yx,zx,Ax,Bx,Cx,Dx,Ex,jma,Fx,Gx,Hx,Ix,Jx,Kx,Lx,Mx,Nx,Ox,Qx,Rx,Sx,Tx,Ux,Vx,Wx,Xx,Yx,Zx,$x,ay,by,cy,dy,ey,fy,gy,hy,iy,jy,ky,ly,my,ny,oy,py,qy,ry,sy,ty,uy,vy,wy,yy,zy,Ay,By,Cy,Dy,Ey,Fy,Gy,Hy,Iy,Jy,Ky,Ly,My,Ny,Oy,Py,Qy,Ry,Sy,Ty,Uy,Vy, Wy,Xy,Yy,Zy,$y,az,bz,cz,dz,ez,fz,gz,hz,iz,jz,kz,lz,mz,nz,oz,pz,qz,rz,sz,tz,wz,xz,yz,zz,Az,Bz,Cz,Dz,Ez,Fz,Gz,Hz,Iz,Jz,Kz,Lz,Mz,Nz,Oz,Pz,Qz,Rz,Sz,Tz,Uz,Vz,Wz,Xz,Yz,Zz,$z,aA,bA,cA,dA,eA,fA,gA,hA,iA,jA,kA,lA,kma,mA,nA,lma,oA,mma,nma,pA,oma,pma,qma,rma,qA,rA,sA,tA,sma,tma,uA,uma,vma,wma,vA,xma,yma,zma,Ama,Bma,Cma,Dma,Ema,Fma,Gma,wA,Hma,xA,CA,Ima,Jma,DA,Kma,Lma,Mma,Nma,Oma,Pma,Qma,Rma,EA,Sma,Tma,Uma,FA,Vma,Wma,GA,HA,Xma,IA,JA,Yma,KA,LA,Zma,MA,NA,$ma,ana,OA,bna,cna,PA,dna,ena,fna,gna,hna,ina,jna,kna,lna, mna,QA,nna,ona,RA,pna,SA,TA,qna,rna,UA,sna,tna,VA,una,WA,vna,XA,YA,ZA,$A,wna,aB,bB,cB,dB,xna,eB,fB,yna,zna,gB,hB,iB,Ana,jB,Bna,Cna,Dna,kB,Ena,Fna,Gna,lB,Hna,Ina,mB,nB,Jna,oB,pB,Kna,qB,Lna,rB,Mna,Nna,Ona,tB,vB,Qna,Pna,Rna,Sna,BB,CB,DB,EB,Wna,GB,HB,Xna,IB,JB,Yna,Tna,KB,ioa,loa,LB,noa,poa,RB,qoa,roa,toa,xoa,voa,woa,yoa,soa,UB,TB,zoa,WB,XB,YB,Boa,Coa,Doa,Eoa,Foa,Goa,dC,Hoa,fC,Ioa,Joa,gC,Loa,Moa,jC,lC,Noa,Ooa,mC,nC,oC,pC,Qoa,qC,Soa,Roa,Uoa,sC,Voa,Zoa,Xoa,Yoa,$oa,apa,cpa,bpa,fpa,uC,gpa,xC,hpa,ipa,wC,yC, kpa,lpa,opa,CC,ppa,qpa,DC,EC,FC,HC,spa,upa,NC,vpa,wpa,xpa,ypa,zpa,Cpa,Dpa,Epa,Bpa,Fpa,Hpa,Jpa,UC,Kpa,XC,VC,$C,aD,Mpa,Ppa,fD,gD,hD,iD,Tpa,kD,Vpa,Wpa,Xpa,nD,Zpa,$pa,Ypa,aqa,bqa,cqa,dqa,qD,eqa,tD,hqa,iqa,fqa,jqa,kqa,nqa,mqa,xD,gqa,pqa,qqa,AD,rqa,sqa,CD,DD,tqa,vqa,FD,wqa,xqa,zqa,Bqa,ID,Cqa,Dqa,Eqa,Fqa,Gqa,Hqa,Iqa,Jqa,KD,Kqa,MD,Mqa,Nqa,Oqa,Pqa,Qqa,Rqa,RD,Uqa,Xqa,SD,Yqa,$qa,Tqa,ara,bra,cra,Vqa,Wqa,ND,Sqa,QD,Zqa,PD,OD,dra,era,fra,gra,hra,ira,ora,jra,VD,WD,XD,rra,tra,sra,pra,ura,wra,$D,yra,Bra,cE,Ara,Lra, Cra,Kra,gE,Mra,Pra,hE,fE,Nra,Ora,Qra,jE,Sra,Tra,Ura,Vra,Wra,Xra,Yra,Rra,$ra,asa,bsa,csa,dsa,gsa,lE,mE,nE,isa,oE,jsa,ksa,qE,rE,nsa,msa,osa,qsa,ssa,rsa,vsa,zsa,xsa,CE,Csa,Esa,BE,Dsa,DE,EE,Fsa,Gsa,Hsa,GE,Jsa,JE,IE,KE,LE,ME,Lsa,Msa,OE,Nsa,PE,Psa,Qsa,Rsa,Tsa,Usa,Ssa,SE,Wsa,Vsa,Xsa,TE,Zsa,UE,ata,VE,cta,WE,bta,XE,YE,fta,lta,nta,kta,jta,mta,aF,ota,wta,sta,tta,uta,eta,Fta,Hta,Eta,Kta,Dta,$E,Jta,rta,vta,Gta,pta,hta,gta,ita,cF,Cta,jF,Uta,Tta,Yta,aua,$ta,cua,lF,mF,eua,fua,gua,hua,iua,jua,kua,oF,mua,nua,oua,pua, qua,rua,sua,uua,vua,uF,xua,zua,yua,Aua,Cua,Dua,Hua,Fua,Jua,Iua,Lua,Kua,vF,Opa,Tua,Qua,Vua,Wua,Xua,Yua,dva,hva,iva,kva,jva,lva,FF,nva,EF,gva,fva,BF,rva,pva,OF,NF,RF,SF,UF,tva,VF,YF,ZF,uva,vva,xva,yva,zva,Ava,Bva,Cva,Dva,Eva,Fva,eG,Hva,Iva,Kva,Lva,Mva,Nva,Ova,Pva,Sva,Tva,gG,hG,Uva,iG,Vva,kG,Xva,Wva,mG,nG,oG,pG,Yva,qG,Zva,$va,awa,rG,bwa,fwa,cwa,ewa,dwa,gwa,sG,hwa,iwa,jwa,kwa,tG,mwa,pwa,owa,uG,qwa,vG,wG,xG,zG,AG,rwa,swa,twa,BG,uwa,CG,DG,GG,IG,wwa,vwa,JG,xwa,ywa,KG,LG,MG,NG,QG,Awa,RG,SG,TG,UG,Bwa,Cwa, XG,Dwa,YG,Hwa,Jwa,Lwa,Nwa,Pwa,$G,Qwa,aH,Rwa,Uwa,Vwa,cH,Xwa,eH,fH,gH,hH,iH,jH,kH,Zwa,lH,Ywa,$wa,mH,bxa,axa,nH,hxa,ixa,oH,pH,rH,jxa,kxa,tH,uH,wH,lxa,xH,IH,nxa,vH,qxa,rxa,uxa,vxa,wxa,yxa,txa,zxa,Axa,Bxa,JH,pxa,Exa,sxa,KH,Gxa,Ixa,NH,Jxa,Kxa,OH,Lxa,LH,Mxa,PH,Nxa,Hxa,QH,Pxa,RH,Uxa,Sxa,Rxa,Qxa,Wxa,TH,UH,VH,WH,XH,YH,ZH,aya,aI,bya,dya,cya,eya,fya,gya,iya,hya,jya,mya,nya,cI,dI,eI,oya,fI,gI,hI,kI,qya,rya,iI,jI,pya,uya,vya,lI,yya,wya,mI,nI,oI,pI,zya,qI,rI,Aya,Bya,Cya,Dya,Eya,Fya,sI,tI,uI,vI,wI,xI,yI,zI,AI,BI, CI,Gya,DI,Hya,Iya,Jya,Kya,EI,FI,GI,HI,Lya,II,JI,KI,Mya,LI,MI,NI,OI,PI,QI,RI,SI,TI,Nya,UI,VI,WI,Oya,XI,YI,ZI,$I,Pya,aJ,bJ,Qya,cJ,Rya,dJ,Sya,fJ,gJ,Tya,hJ,iJ,jJ,eJ,kJ,lJ,mJ,Vya,Xya,Yya,nJ,Zya,oJ,$ya,qJ,aza,bza,cza,fza,gza,hza,iza,jza,kza,dza,BJ,nza,oza,pza,qza,eza,sza,sJ,tza,uza,DJ,vza,EJ,uJ,wza,tJ,rza,FJ,zza,yza,wJ,xJ,HJ,GJ,Aza,IJ,Bza,JJ,Dza,Cza,KJ,LJ,MJ,NJ,Eza,Fza,Hza,Iza,PJ,QJ,Mza,RJ,Qza,Sza,Uza,Vza,TJ,Xza,Yza,$za,aAa,bAa,cAa,dAa,eAa,YJ,ZJ,fAa,hAa,gAa,iAa,jAa,kAa,cK,eK,fK,gK,hK,iK,lAa,jK,kK,dK,mK, nK,nAa,oAa,mAa,rAa,sAa,tAa,uAa,vAa,wAa,xAa,yAa,zAa,AAa,BAa,CAa,DAa,EAa,FAa,GAa,oK,pK,HAa,qK,rK,IAa,JAa,KAa,LAa,MAa,sK,NAa,OAa,PAa,QAa,tK,RAa,SAa,uK,TAa,UAa,vK,VAa,wK,WAa,XAa,YAa,xK,ZAa,bBa,yK,cBa,eBa,$Aa,aBa,zK,dBa,gBa,hBa,BK,CK,DK,EK,FK,kBa,HK,JK,lBa,MK,NK,nBa,oBa,OK,PK,QK,pBa,SK,TK,UK,qBa,rBa,sBa,VK,mBa,WK,XK,YK,ZK,aL,uBa,vBa,wBa,bL,cL,dL,eL,xBa,fL,gL,hL,iL,jL,kL,lL,mL,nL,zBa,ABa,CBa,DBa,sL,pL,tL,EBa,FBa,GBa,HBa,uL,vL,IBa,JBa,KBa,qL,LBa,MBa,wL,NBa,PBa,QBa,yL,zL,AL,BL,CL,TBa,FL,HL,GL,IL,VBa,JL,WBa, XBa,ZBa,YBa,ML,$Ba,aCa,dCa,bCa,cCa,NL,fCa,gCa,hCa,jCa,iCa,kCa,lCa,nCa,mCa,oCa,pCa,qCa,rCa,sCa,tCa,uCa,vCa,wCa,xCa,yCa,zCa,ACa,BCa,CCa,DCa,ECa,QL,FCa,RL,SL,HCa,ICa,TL,JCa,UL,KCa,VL,LCa,WL,MCa,NCa,OCa,PCa,XL,QCa,RCa,SCa,YL,ZL,$L,aM,bM,TCa,cM,dM,eM,UCa,fM,VCa,WCa,XCa,gM,hM,YCa,iM,ZCa,jM,kM,Gza,$Ca,aDa,lM,bDa,mM,nM,oM,pM,qM,rM,sM,tM,cDa,uM,vM,dDa,eDa,fDa,wM,CM,hDa,mDa,oDa,nDa,qDa,rDa,pDa,tDa,uDa,vDa,bN,zDa,BDa,EDa,FDa,GDa,cN,IDa,JDa,NDa,dN,ODa,KDa,PDa,eN,QDa,TDa,SDa,XDa,UDa,fN,gN,cEa,hEa,fEa,kEa,jEa, mEa,dEa,eEa,gEa,iEa,nEa,oEa,pEa,sEa,vEa,tEa,yEa,GEa,FEa,zEa,HEa,BEa,CEa,AEa,LEa,NEa,PEa,TEa,WEa,XEa,ZEa,aFa,cFa,bFa,kFa,eFa,dFa,lFa,oFa,pFa,qFa,rFa,nN,ADa,uFa,sFa,pN,wFa,xFa,sN,AFa,BFa,zFa,tN,CFa,uN,vN,$J,wN,yDa,xN,DFa,pAa,EFa,yN,FFa,GFa,HFa,zN,AN,IFa,BN,CN,DN,EN,FN,JFa,KFa,GN,LFa,MFa,HN,NFa,IN,AK,JN,KN,OFa,LN,PFa,QFa,CDa,yFa,MN,aK,OJ,iN,RFa,SFa,NN,bEa,hN,TFa,oN,vFa,SEa,REa,rEa,jN,UEa,YEa,$Ea,YDa,mFa,UFa,IEa,DEa,ON,DDa,WFa,VFa,qEa,VEa,XFa,nFa,kN,ZDa,aEa,RDa,QEa,OEa,xEa,uEa,MDa,LDa,HDa,KEa,EEa,fFa, VDa,WDa,iFa,jFa,gFa,hFa,MEa,$Fa,YFa,PN,ZFa,QN,CJ,vJ,lza,rJ,aGa,RN,SN,TN,ZN,cGa,aO,eGa,fGa,gGa,hGa,jGa,iGa,kGa,lGa,dO,gO,mGa,nGa,pGa,oGa,qGa,rGa,sGa,tGa,uGa,vGa,iO,jO,yGa,kO,lO,zGa,AGa,BGa,CGa,mO,DGa,nO,EGa,FGa,oO,qO,uO,GGa,vO,wO,xO,yO,zO,AO,BO,CO,DO,EO,FO,HGa,GO,HO,IO,JO,KO,LO,IGa,JGa,MO,KGa,QO,NGa,OGa,RO,QGa,PGa,RGa,SGa,TO,UO,VO,Z,UGa,WO,ZGa,cHa,dHa,eHa,mHa,pHa,uHa,vHa,THa,UHa,VHa,wHa,yHa,EHa,$Ha,IHa,dIa,bIa,fIa,gIa,cIa,hIa,gJa,oIa,hJa,pIa,qIa,dP,jJa,lJa,nJa,mJa,kJa,vIa,JIa,KIa,rJa,tJa,MIa,NIa,PIa, QIa,RIa,AJa,TIa,WIa,cJa,IJa,EJa,FJa,KJa,NJa,MJa,OJa,PJa,XJa,QJa,gP,UJa,cKa,dKa,eKa,fKa,gKa,jKa,oKa,SKa,RKa,kP,lP,mP,nP,oP,pP,ZKa,rP,qP,aLa,XKa,YKa,bLa,$Ka,sP,cLa,Npa,eLa,dLa,gLa,iLa,kLa,lLa,mLa,jLa,nLa,sLa,rLa,vP,uLa,vLa,wLa,xLa,xP,wP,yLa,zLa,ALa,CLa,zP,BP,DP,DLa,EP,FP,ELa,ILa,KLa,JLa,MLa,TLa,ULa,HP,LLa,HLa,GLa,FLa,LP,IP,KP,QP,RP,XLa,YLa,SP,PP,bMa,ZLa,$La,cMa,TP,UP,eMa,fMa,WP,XP,YP,ZP,$P,gMa,hMa,iMa,aQ,bQ,dQ,kMa,lMa,cQ,mMa,pMa,qMa,eQ,rMa,hQ,sMa,iQ,kQ,uMa,jQ,lQ,vMa,xMa,yMa,zMa,nQ,oQ,tQ,CMa,qQ,uQ,wQ, DMa,xQ,sQ,vQ,EMa,yQ,FMa,zQ,GMa,pQ,rQ,AMa,BMa,AQ,HMa,IMa,JMa,BQ,CQ,DQ,KMa,EQ,FQ,LMa,GQ,MMa,HQ,IQ,JQ,NMa,OMa,PMa,QMa,RMa,KQ,SMa,TMa,UMa,VMa,WMa,XMa,LQ,MQ,YMa,NQ,bNa,cNa,dNa,eNa,fNa,PQ,QQ,OQ,ZMa,gNa,hNa,iNa,jNa,RQ,SQ,kNa,TQ,UQ,lNa,mNa,VQ,nNa,oNa,sNa,tNa,pNa,qNa,rNa,uNa,WQ,XQ,YQ,vNa,wNa,ZQ,$Q,xNa,aR,yNa,ANa,zNa,bR,BNa,CNa,DNa,ENa,FNa,GNa,INa,JNa,cR,KNa,MNa,ONa,NNa,fR,RLa,JP,SNa,TNa,UNa,VNa,WNa,XNa,GP,eR,YNa,gR,cOa,dOa,eOa,fOa,hR,jOa,gOa,hOa,lOa,mOa,nOa,oOa,kOa,pOa,iR,jR,kR,qOa,rOa,lR,sOa,tOa,uOa,vOa, aOa,xOa,SLa,NLa,zOa,nR,pR,qR,rR,sR,tR,oR,AOa,COa,wR,FOa,DOa,HOa,IOa,GOa,EOa,JOa,KOa,LOa,BR,MOa,NOa,POa,QOa,WLa,CR,ROa,UOa,MP,VOa,WOa,XOa,PLa,QLa,DR,ER,FR,GR,YOa,ZOa,HR,$Oa,IR,JR,aPa,KR,bPa,LR,cPa,MR,NR,OR,PR,ePa,fPa,QR,gPa,hPa,dPa,RR,iPa,kPa,mPa,lPa,jPa,zPa,wPa,CPa,jS,kS,nPa,xPa,zJ,gS,nS,DPa,rS,FPa,YR,sS,WR,GPa,vPa,vS,wS,JPa,KPa,LPa,MPa,NPa,OPa,PPa,xS,QPa,VPa,UPa,RPa,TPa,SPa,yS,WPa,zS,XPa,YPa,$Pa,aQa,bQa,gQa,ES,FS,jQa,GS,HS,kQa,nQa,oQa,pQa,qQa,IS,sQa,wQa,xQa,EQa,IQa,BQa,CQa,KQa,RS,LQa,NQa,MQa,OQa, TS,WS,PQa,SS,QQa,XS,RQa,VQa,SQa,YQa,UQa,nRa,wRa,pT,xRa,zRa,kRa,dT,yRa,iT,qT,iRa,BRa,ARa,rT,aT,lRa,HRa,DRa,ERa,FRa,GRa,IRa,sT,JRa,LRa,MRa,uT,NRa,$S,fT,KRa,oRa,TQa,sRa,zT,gT,CRa,GT,HT,IT,$Ra,aSa,oT,KT,bSa,LT,cSa,hT,dSa,jRa,eSa,SRa,eT,bRa,fSa,$Qa,ZQa,WQa,OT,oSa,qSa,rSa,sSa,tSa,QT,RT,uSa,wSa,xSa,ST,zSa,ASa,VT,WT,UT,CSa,BSa,DSa,ESa,FSa,HSa,ISa,JSa,cU,KSa,eU,LSa,fU,MSa,NSa,SSa,TSa,qU,VSa,rU,WSa,YSa,tU,ZSa,xU,yU,zU,AU,BU,$Sa,bTa,aTa,cTa,dTa,eTa,CU,DU,fTa,hTa,iTa,jTa,HU,pTa,oTa,IU,rTa,KU,sTa,tTa,uTa,vTa, wTa,LU,yTa,xTa,zTa,ATa,MU,NU,BTa,DTa,ETa,OU,FTa,PU,GTa,JTa,QU,HTa,MTa,KTa,LTa,ITa,RU,QTa,OTa,PTa,RTa,SU,STa,TTa,UTa,TU,VTa,WTa,XTa,WU,UU,YTa,XU,ZTa,ZU,$U,aUa,YU,cUa,aV,cV,dUa,dV,eV,fV,eUa,hUa,gUa,hV,iV,jV,kUa,iUa,jUa,kV,lUa,pUa,nUa,mUa,oUa,lV,rUa,sUa,mV,uUa,vUa,xUa,wUa,yUa,tUa,AUa,zUa,DUa,BUa,CUa,GUa,HUa,IUa,JUa,FUa,LUa,MUa,KUa,EUa,NUa,OUa,PUa,QUa,RUa,SUa,nV,XUa,VUa,WUa,oV,YUa,UUa,ZUa,pV,qV,$Ua,aVa,bVa,rV,cVa,dVa,eVa,fVa,gVa,hVa,kVa,iVa,lVa,mVa,nVa,oVa,qVa,BV,CV,rVa,sVa,AV,wVa,vVa,xVa,yVa,zVa,AVa, BVa,CVa,DVa,JVa,GV,MVa,PVa,OVa,NVa,HVa,IVa,EVa,FVa,KVa,HV,IV,QVa,jU,GSa,KV,RVa,TVa,SVa,LVa,VVa,WVa,XVa,MV,YVa,TV,$Va,aWa,bWa,dWa,cWa,eWa,UV,VV,fWa,iWa,jWa,XV,hWa,kWa,lWa,gWa,YV,mWa,aW,nWa,oWa,$V,pWa,qWa,rWa,sWa,tWa,vWa,wWa,uWa,zWa,xWa,eW,fW,BWa,hW,iW,CWa,EWa,kW,DWa,FWa,GWa,HWa,JWa,IWa,KWa,LWa,MWa,NWa,OWa,pW,qW,QWa,PWa,tW,rW,sW,RWa,SWa,uW,TWa,UWa,WWa,YWa,XWa,vW,ZWa,$Wa,VWa,eXa,fXa,gXa,jXa,iXa,hXa,kXa,lXa,wW,xW,mXa,nXa,oXa,pXa,yW,BW,qXa,rXa,sXa,tXa,uXa,vXa,DW,wXa,xXa,AXa,EW,BXa,zXa,FW,GW,CXa,DXa,GXa, EXa,FXa,JW,HXa,JXa,KXa,MXa,NXa,KW,LW,OXa,IXa,QXa,PXa,MW,NW,OW,RW,SW,RXa,SXa,TXa,UXa,VW,VXa,WW,WXa,XW,ZXa,$Xa,aYa,cYa,dYa,eYa,bYa,gYa,fYa,hYa,kYa,aX,mYa,lYa,iYa,jYa,nYa,oYa,bX,cX,pYa,qYa,rYa,sYa,tYa,uYa,wYa,xYa,dZa,ZYa,$Ya,yYa,gZa,hX,hZa,lZa,kX,mZa,iZa,gX,nX,mX,iX,oX,pZa,qZa,pX,jX,eZa,oZa,lX,jZa,nZa,rZa,dX,rX,sZa,tZa,kZa,sX,tX,vZa,uX,wZa,xX,yX,xZa,yZa,AZa,BZa,zZa,zX,AX,CZa,DZa,EZa,FZa,GZa,IZa,KZa,JZa,HZa,MZa,LZa,BX,CX,NZa,PZa,QZa,DX,OZa,RZa,SZa,TZa,FX,IX,HX,VZa,UZa,WZa,JX,XZa,YZa,$Za,ZZa,a_a,b_a,c_a, MX,d_a,e_a,f_a,g_a,h_a,i_a,k_a,l_a,m_a,j_a,n_a,o_a,p_a,q_a,r_a,QX,t_a,RX,v_a,SX,u_a,x_a,y_a,w_a,TX,z_a,B_a,C_a,A_a,VX,WX,XX,E_a,YX,H_a,I_a,J_a,ZX,K_a,L_a,M_a,N_a,O_a,Q_a,F_a,R_a,$X,S_a,T_a,U_a,bY,V_a,W_a,X_a,b0a,f0a,d0a,Z_a,eY,Y_a,e0a,gY,h0a,g0a,hY,j0a,k0a,l0a,n0a,o0a,m0a,p0a,bUa,lY,q0a,r0a,mY,t0a,s0a,u0a,B0a,rY,C0a,D0a,tY,E0a,vY,uY,F0a,v0a,wY,H0a,I0a,K0a,xY,L0a,yY,N0a,M0a,zY,z0a,pY,O0a,P0a,Q0a,R0a,S0a,w0a,y0a,qY,nY,V0a,W0a,AY,CY,DY,X0a,Y0a,Z0a,$0a,BY,T0a,a1a,b1a,U0a,f1a,j1a,HY,k1a,l1a,h1a,JY,m1a, n1a,e1a,o1a,i1a,p1a,KY,IY,q1a,s1a,r1a,GY,u1a,NY,v1a,LY,OY,MY,PY,w1a,x1a,A1a,z1a,C1a,D1a,B1a,SY,RY,F1a,G1a,H1a,I1a,J1a,L1a,K1a,M1a,UY,VY,N1a,WY,O1a,Q1a,U1a,R1a,S1a,T1a,V1a,dZ,W1a,X1a,Y1a,Z1a,$1a,a2a,b2a,c2a,d2a,e2a,eZ,g2a,h2a,i2a,fZ,gZ,hZ,iZ,jZ,kZ,lZ,j2a,mZ,k2a,p2a,s2a,t2a,u2a,v2a,qZ,rZ,r2a,o2a,w2a,oZ,l2a,x2a,nZ,pZ,m2a,n2a,sZ,y2a,z2a,q2a,A2a,B2a,F2a,C2a,G2a,H2a,D2a,E2a,I2a,J2a,K2a,AQa,HQa,M2a,L2a,uZ,R2a,P2a,Q2a,N2a,S2a,vZ,O2a,wZ,xZ,T2a,U2a,V2a,yZ,X2a,Y2a,zZ,Z2a,AZ,$2a,a3a,b3a,c3a,e3a,f3a,m3a,i3a,d3a, o3a,p3a,j3a,k3a,h3a,l3a,CZ,g3a,n3a,v3a,t3a,s3a,r3a,q3a,EZ,w3a,GZ,y3a,HZ,z3a,A3a,B3a,IZ,JZ,KZ,D3a,E3a,C3a,H3a,I3a,J3a,LZ,MZ,K3a,L3a,M3a,O3a,N3a,P3a,Q3a,NZ,R3a,S3a,PZ,QZ,OZ,T3a,U3a,W3a,X3a,V3a,RZ,Y3a,Z3a,a4a,$3a,c4a,b4a,d4a,e4a,f4a,g4a,YY,h4a,i4a,j4a,k4a,l4a,m4a,n4a,XY,o4a,TZ,UZ,p4a,q4a,r4a,VZ,s4a,cZ,t4a,u4a,$Y,aZ,y4a,XZ,ZZ,z4a,A4a,a_,YZ,WZ,b_,w4a,v4a,x4a,c_,C4a,D4a,B4a,E4a,ZY,F4a,$Z,G4a,H4a,I4a,J4a,K4a,L4a,F3a,G3a,M4a,N4a,d_,Q4a,O4a,R4a,T4a,e_,U4a,V4a,W4a,g_,j_,Y4a,b5a,$4a,c5a,Z4a,a5a,X4a,d5a,e5a, k_,f5a,l_,i5a,k5a,m5a,q5a,y5a,A5a,B5a,z5a,C5a,D5a,E5a,n_,G5a,K5a,M5a,o_,N5a,F5a,O5a,P5a,p_,Q5a,R5a,S5a,T5a,r_,$5a,Z5a,w_,a6a,Y5a,d6a,e6a,f6a,h6a,i6a,j6a,k6a,l6a,m6a,o6a,p6a,q6a,n6a,z_,q_,r6a,s6a,x_,u6a,g6a,y_,v6a,w6a,z6a,A6a,x6a,y6a,D6a,C6a,E6a,F6a,B6a,G6a,H6a,A_,I6a,J6a,K6a,N6a,M6a,L6a,B_,O6a,Q6a,R6a,S6a,E_,F_,f2a,T6a,G_,W6a,V6a,U6a,X6a,Z6a,$6a,Y6a,H_,b7a,c7a,d7a,i7a,h7a,j7a,l7a,u3a,e7a,g7a,f7a,k7a,bZ,BZ,f_,m7a,n7a,o7a,p7a,q7a,P6a,I_,h_,r7a,S4a,K_,L_,s7a,M_,t7a,u7a,v7a,w7a,x7a,y7a,A7a,z7a,C7a,D7a, H7a,E7a,G7a,I7a,O_,M7a,K7a,L7a,P7a,Q7a,R7a,S7a,T7a,N_,U7a,O7a,J7a,P_,V7a,F7a,W7a,Q_,Y7a,Z7a,$7a,X7a,R_,c8a,b8a,f8a,e8a,d8a,g8a,h8a,S_,i8a,j8a,o8a,l8a,m8a,n8a,p8a,q8a,r8a,t8a,s8a,u8a,v8a,w8a,y8a,A8a,z8a,B8a,x8a,C8a,E8a,G8a,D8a,H8a,I8a,K8a,J8a,L8a,F8a,U_,M8a,N8a,O8a,Q8a,S8a,T8a,V8a,W8a,X8a,Y8a,a9a,b9a,$8a,c9a,d9a,e9a,g9a,f9a,j9a,Y_,EY,h9a,i9a,k9a,a0,m9a,l9a,n9a,p9a,q9a,t9a,r9a,w9a,b0,s9a,x9a,c0,z9a,e0,g0,A9a,d0,B9a,h0,E9a,D9a,y9a,F9a,G9a,f0,H9a,i0,I9a,C9a,Z8a,$_,FY,K9a,c1a,L9a,d1a,M9a,N9a,O9a,P9a,k0, Q9a,S9a,T9a,U9a,R9a,V9a,W9a,l0,X9a,Y9a,Z9a,m0,RBa,$9a,a$a,b$a,o0,e$a,f$a,q0,g$a,h$a,d$a,p0,n0,c$a,t0,s0,u0,r0,l$a,n$a,p$a,r$a,j$a,o$a,s$a,k$a,t$a,u$a,w$a,v0,x$a,y$a,v$a,w0,A$a,z$a,B$a,m$a,C$a,q$a,i$a,x0,I$a,F$a,J$a,G$a,E$a,K$a,D$a,N$a,y0,O$a,Q$a,rL,S$a,U$a,V$a,W$a,D0,X$a,x0a,Z$a,E0,k8a,$$a,bab,Y$a,jY,C0,cab,dab,i_,J0,t6a,T$a,I0,z0,gab,hab,jab,iab,aab,G0,kab,K0,lab,c0a,nab,mab,a7a,T_,i0a,oab,G0a,fUa,F0,pab,rab,qab,a0a,sab,uab,fab,R$a,wab,vab,H0,A0,xab,M0,fY,zab,Aab,sY,Bab,Cab,Dab,$_a,L0,D_,Eab,Pab, Kab,Rab,Jab,Sab,Iab,O0,kY,Yab,Uab,Wab,Vab,$ab,R0,S0,cbb,bbb,abb,U0,Oab,Z0,ebb,Y0,T0,gbb,ibb,jbb,Lab,hbb,b1,kbb,Nab,W0,dbb,V0,qbb,rbb,Q0,sbb,ubb,vbb,tbb,e1,fbb,f1,g1,wbb,X0,Zab,mbb,lbb,xbb,ybb,zbb,Abb,$0,Bbb,a1,Cbb,Ebb,P0,h1,Xab,Fbb,Gbb,Mab,d1,c1,Hbb,Ibb,i1,j1,y1a,Jbb,Kbb,Lbb,Mbb,k1,Obb,Sbb,Vbb,Rbb,Nbb,l1,m1,n1,ecb,dcb,o1,p1,gcb,hcb,icb,fBa,fcb,UBa,kcb,jcb,q1,mcb,lcb,ncb,r1,s1,ocb,t1,lN,pcb,qN,tFa,qcb,$Da,KL,LL,rcb,scb,tcb,u1,vcb,wcb,v1,x1,y1,zcb,Acb,z1,Bcb,xcb,ycb,Ccb,Dcb,A1,Ecb,B1,Fcb,OL,Gcb,Hcb, qAa,lK,Icb,Jcb,Kcb,C1,Ncb,Mcb,D1,E1,Ocb,Pcb,w1,Qcb,Rcb,Scb,F1,G1,Tcb,H1,I1,Ucb,J1,K1,Vcb,L1,M1,Wcb,Xcb,eCa,N1,Ycb,$cb,Zcb,O1,P1,Q1,adb,bdb,cdb,ddb,edb,fdb,gdb,idb,S1,hdb,T1,jdb,kdb,ldb,mdb,ndb,rdb,odb,pdb,qdb,tdb,vdb,wdb,xdb,udb,U1,ydb,zdb,Adb,Bdb,Cdb,W1,Ddb,X1,Y1,Z1,Edb,Fdb,Hdb,Idb,Jdb,Kdb,Mdb,Ldb,Ndb,$1,a2,Qdb,Odb,Pdb,b2,Sdb,Tdb,c2,f2,Udb,g2,Wdb,h2,Xdb,Ydb,Zdb,i2,j2,k2,$db,aeb,beb,eeb,deb,l2,feb,geb,heb,xDa,ceb,ieb,leb,meb,oeb,aaa,ka;aa=function(a){return function(){return aaa[a].apply(this,arguments)}}; g.ca=function(a,b){return aaa[a]=b}; baa=function(a){var b=0;return function(){return bb?null:"string"===typeof a?a.charAt(b):a[b]}; yb=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}; uaa=function(a){for(var b=0,c=0,d={};c>>1),m=void 0;c?m=b.call(void 0,a[l],l,a):m=b(d,a[l]);0b?1:ac&&g.Rb(a,-(c+1),0,b)}; g.dc=function(a,b,c){var d={};(0,g.cc)(a,function(e,f){d[b.call(c,e,f,a)]=e}); return d}; yaa=function(a){for(var b=[],c=0;c")&&(a=a.replace(Iaa,">"));-1!=a.indexOf('"')&&(a=a.replace(Jaa,"""));-1!=a.indexOf("'")&&(a=a.replace(Kaa,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Laa,"�"));return a}; g.ic=function(a,b){return-1!=a.indexOf(b)}; jc=function(a,b){return g.ic(a.toLowerCase(),b.toLowerCase())}; g.mc=function(a,b){var c=0;a=kc(String(a)).split(".");b=kc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0}; g.oc=function(){var a=g.Ra.navigator;return a&&(a=a.userAgent)?a:""}; uc=function(a){return rc||sc?tc?tc.brands.some(function(b){return(b=b.brand)&&g.ic(b,a)}):!1:!1}; xc=function(a){return g.ic(g.oc(),a)}; yc=function(){return rc||sc?!!tc&&0=a}; Xaa=function(a){return g.Sc?"webkit"+a:a.toLowerCase()}; Tc=function(a,b){g.wb.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.timeStamp=0;this.j=null;a&&this.init(a,b)}; Uc=function(a){return!(!a||!a[Yaa])}; $aa=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.Cd=e;this.key=++Zaa;this.removed=this.SG=!1}; Vc=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.Cd=null}; g.Wc=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)}; g.Xc=function(a,b,c){var d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d}; Yc=function(a,b){var c={},d;for(d in a)c[d]=b.call(void 0,a[d],d,a);return c}; g.$c=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return!0;return!1}; aba=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0}; g.ad=function(a){for(var b in a)return b}; bba=function(a){for(var b in a)return a[b]}; bd=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}; g.fd=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}; g.gd=function(a,b){return null!==a&&b in a}; g.hd=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1}; id=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return c}; cba=function(a,b){return(b=id(a,b))&&a[b]}; g.jd=function(a){for(var b in a)return!1;return!0}; g.dba=function(a){for(var b in a)delete a[b]}; g.kd=function(a,b){b in a&&delete a[b]}; g.od=function(a,b,c){return null!==a&&b in a?a[b]:c}; g.pd=function(a,b){for(var c in a)if(!(c in b)||a[c]!==b[c])return!1;for(var d in b)if(!(d in a))return!1;return!0}; g.qd=function(a){var b={},c;for(c in a)b[c]=a[c];return b}; g.rd=function(a){if(!a||"object"!==typeof a)return a;if("function"===typeof a.clone)return a.clone();if("undefined"!==typeof Map&&a instanceof Map)return new Map(a);if("undefined"!==typeof Set&&a instanceof Set)return new Set(a);if(a instanceof Date)return new Date(a.getTime());var b=Array.isArray(a)?[]:"function"!==typeof ArrayBuffer||"function"!==typeof ArrayBuffer.isView||!ArrayBuffer.isView(a)||a instanceof DataView?{}:new a.constructor(a.length),c;for(c in a)b[c]=g.rd(a[c]);return b}; g.sd=function(a,b){for(var c,d,e=1;ea.B&&(a.B++,b.next=a.j,a.j=b)}; Id=function(a){return function(){return a}}; g.Jd=function(){}; nba=function(a){var b=b||0;return function(){return a.apply(this,Array.prototype.slice.call(arguments,0,b))}}; Kd=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}}; Md=function(a){var b=a;return function(){if(b){var c=b;b=null;c()}}}; oba=function(a,b){var c=0;return function(d){g.Ra.clearTimeout(c);var e=arguments;c=g.Ra.setTimeout(function(){a.apply(b,e)},50)}}; Od=function(){if(void 0===Nd){var a=null,b=g.Ra.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:nb,createScript:nb,createScriptURL:nb})}catch(c){g.Ra.console&&g.Ra.console.error(c.message)}Nd=a}else Nd=a}return Nd}; g.Pd=function(a,b){this.H_=a===pba&&b||"";this.i4=qba}; g.Qd=function(a){return a instanceof g.Pd&&a.constructor===g.Pd&&a.i4===qba?a.H_:"type_error:Const"}; Rd=function(a){return new g.Pd(pba,a)}; Sd=function(a){this.RQ=a;this.Cn=!0}; rba=function(a){return a instanceof Sd&&a.constructor===Sd?a.RQ:"type_error:SafeScript"}; tba=function(a){var b=Od();a=b?b.createScript(a):a;return new Sd(a,sba)}; g.Vd=function(a){this.UQ=a}; g.Wd=function(a){return a instanceof g.Vd&&a.constructor===g.Vd?a.UQ:"type_error:TrustedResourceUrl"}; wba=function(a,b){var c=g.Qd(a);if(!uba.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(vba,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof g.Pd?g.Qd(d):encodeURIComponent(String(d))}); return Xd(a)}; Xd=function(a){var b=Od();a=b?b.createScriptURL(a):a;return new g.Vd(a,xba)}; g.Yd=function(a){this.TQ=a}; g.Zd=function(a){return a instanceof g.Yd&&a.constructor===g.Yd?a.TQ:"type_error:SafeUrl"}; g.ae=function(a){if(a instanceof g.Yd)return a;a="object"==typeof a&&a.Cn?a.Rk():String(a);yba.test(a)?a=new g.Yd(a,$d):(a=String(a).replace(/(%0A|%0D)/g,""),a=a.match(zba)?new g.Yd(a,$d):null);return a}; Bba=function(a){if(a instanceof g.Yd)return a;a="object"==typeof a&&a.Cn?a.Rk():String(a);a:{var b=a;if(Aba){try{var c=new URL(b)}catch(d){b="https:";break a}b=c.protocol}else b:{c=document.createElement("a");try{c.href=b}catch(d){b=void 0;break b}b=c.protocol;b=":"===b||""===b?"https:":b}}"javascript:"!==b||(a="about:invalid#zClosurez");return new g.Yd(a,$d)}; g.be=function(a){this.SQ=a;this.Cn=!0}; ce=function(a){return a instanceof g.be&&a.constructor===g.be?a.SQ:"type_error:SafeStyle"}; Iba=function(a){if(a instanceof g.Yd)return'url("'+g.Zd(a).replace(/a*b?a+b:a}; ne=function(a,b,c){return a+c*(b-a)}; g.re=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0}; se=function(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}; g.te=function(a,b){this.width=a;this.height=b}; g.ue=function(a,b){return a==b?!0:a&&b?a.width==b.width&&a.height==b.height:!1}; g.ve=function(a){return encodeURIComponent(String(a))}; we=function(a){return decodeURIComponent(a.replace(/\+/g," "))}; g.xe=function(a){return a=hc(a)}; g.ye=function(a){return null==a?"":String(a)}; ze=function(a){for(var b=0,c=0;c>>0;return b}; Ae=function(a){var b=Number(a);return 0==b&&g.gc(a)?NaN:b}; Uba=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})}; Vba=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()}; Wba=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})}; Xba=function(a){var b=1;a=a.split(":");for(var c=[];0a}; Cf=function(a,b,c){if(!b&&!c)return null;var d=b?String(b).toUpperCase():null;return Bf(a,function(e){return(!d||e.nodeName==d)&&(!c||"string"===typeof e.className&&g.Cb(e.className.split(/\s+/),c))},!0)}; Bf=function(a,b,c){a&&!c&&(a=a.parentNode);for(c=0;a;){if(b(a))return a;a=a.parentNode;c++}return null}; Ke=function(a){this.j=a||g.Ra.document||document}; Ef=function(a){"function"!==typeof g.Ra.setImmediate||g.Ra.Window&&g.Ra.Window.prototype&&!Cc()&&g.Ra.Window.prototype.setImmediate==g.Ra.setImmediate?(Df||(Df=fca()),Df(a)):g.Ra.setImmediate(a)}; fca=function(){var a=g.Ra.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!xc("Presto")&&(a=function(){var e=g.lf("IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var h="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=(0,g.fb)(function(m){if(("*"==l||m.origin==l)&&m.data==h)this.port1.onmessage()}, this); f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(h,l)}}}); if("undefined"!==typeof a&&!Ac()){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.oV;c.oV=null;e()}}; return function(e){d.next={oV:e};d=d.next;b.port2.postMessage(0)}}return function(e){g.Ra.setTimeout(e,0)}}; Ff=function(a){g.Ra.setTimeout(function(){throw a;},0)}; Gf=function(){this.B=this.j=null}; Hf=function(){this.next=this.scope=this.Rs=null}; g.Tf=function(a,b){Rf||gca();Sf||(Rf(),Sf=!0);hca.add(a,b)}; gca=function(){if(g.Ra.Promise&&g.Ra.Promise.resolve){var a=g.Ra.Promise.resolve(void 0);Rf=function(){a.then(ica)}}else Rf=function(){Ef(ica)}}; ica=function(){for(var a;a=hca.remove();){try{a.Rs.call(a.scope)}catch(b){Ff(b)}mba(jca,a)}Sf=!1}; g.Vf=function(a){this.j=0;this.N=void 0;this.D=this.B=this.C=null;this.G=this.K=!1;if(a!=g.Jd)try{var b=this;a.call(void 0,function(c){Uf(b,2,c)},function(c){Uf(b,3,c)})}catch(c){Uf(this,3,c)}}; kca=function(){this.next=this.context=this.B=this.C=this.j=null;this.D=!1}; Wf=function(a,b,c){var d=lca.get();d.C=a;d.B=b;d.context=c;return d}; Xf=function(a){if(a instanceof g.Vf)return a;var b=new g.Vf(g.Jd);Uf(b,2,a);return b}; Yf=function(a){return new g.Vf(function(b,c){c(a)})}; g.nca=function(a,b,c){mca(a,b,c,null)||g.Tf(g.gb(b,a))}; oca=function(a){return new g.Vf(function(b,c){a.length||b(void 0);for(var d=0,e;d=a.D&&a.Ux()}; Bca=function(a,b){return a.K.has(b)?void 0:a.B.get(b)}; Cca=function(a){for(var b=0;bf)d[c++]=f;else{if(2048>f)d[c++]=f>>6|192;else{if(55296<=f&&57343>=f){if(56319>=f&&e=h){f=1024*(f-55296)+h-56320+65536;d[c++]=f>> 18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("Found an unpaired surrogate");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a}; Nca=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return 1e?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296==(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return b}; g.rg=function(a,b){void 0===b&&(b=0);Pca();b=Qca[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];h=b[(h&3)<<4|l>>4];l=b[(l&15)<<2|m>>6];m=b[m&63];c[f++]=""+n+h+l+m}n=0;m=d;switch(a.length-e){case 2:n=a[e+1],m=b[(n&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|n>>4]+m+d}return c.join("")}; g.sg=function(a,b){if(Rca&&!b)a=g.Ra.btoa(a);else{for(var c=[],d=0,e=0;e>=8);c[d++]=f}a=g.rg(c,b)}return a}; Tca=function(a){var b=[];Sca(a,function(c){b.push(c)}); return b}; tg=function(a){var b=a.length,c=3*b/4;c%3?c=Math.floor(c):g.ic("=.",a[b-1])&&(c=g.ic("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Sca(a,function(f){d[e++]=f}); return e!==c?d.subarray(0,e):d}; Sca=function(a,b){function c(m){for(;d>4);64!=h&&(b(f<<4&240|h>>2),64!=l&&b(h<<6&192|l))}}; Pca=function(){if(!ug){ug={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;5>c;c++){var d=a.concat(b[c].split(""));Qca[c]=d;for(var e=0;e "+a)}; gda=function(a){return 0==a.length?zg():new yg(a,xg)}; Dg=function(a){if("string"===typeof a)return{buffer:Zca(a),Xv:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Xv:!1};if(a.constructor===Uint8Array)return{buffer:a,Xv:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Xv:!1};if(a.constructor===yg)return{buffer:Ag(a)||wg(),Xv:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Xv:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"); }; Qg=function(){return"function"===typeof BigInt}; Ug=function(a){var b=0>a;a=Math.abs(a);var c=a>>>0;a=Math.floor((a-c)/4294967296);b&&(c=g.v(Rg(c,a)),b=c.next().value,a=c.next().value,c=b);Sg=c>>>0;Tg=a>>>0}; hda=function(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,0==a&&(b=b+1>>>0));a=4294967296*b+(a>>>0);return c?-a:a}; Vg=function(a,b){b>>>=0;a>>>=0;if(2097151>=b)var c=""+(4294967296*b+a);else Qg()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+6777216*c+6710656*b,c+=8147497*b,b*=2,1E7<=a&&(c+=Math.floor(a/1E7),a%=1E7),1E7<=c&&(b+=Math.floor(c/1E7),c%=1E7),c=b+ida(c)+ida(a));return c}; ida=function(a){a=String(a);return"0000000".slice(a.length)+a}; jda=function(){var a=Sg,b=Tg;b&2147483648?Qg()?a=""+(BigInt(b|0)<>>0)):(b=g.v(Rg(a,b)),a=b.next().value,b=b.next().value,a="-"+Vg(a,b)):a=Vg(a,b);return a}; Wg=function(a){if(16>a.length)Ug(Number(a));else if(Qg())a=BigInt(a),Sg=Number(a&BigInt(4294967295))>>>0,Tg=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+("-"===a[0]);Tg=Sg=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),Tg*=1E6,Sg=1E6*Sg+d,4294967296<=Sg&&(Tg+=Math.trunc(Sg/4294967296),Tg>>>=0,Sg>>>=0);b&&(b=g.v(Rg(Sg,Tg)),a=b.next().value,b=b.next().value,Sg=a,Tg=b)}}; Rg=function(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]}; kda=function(a,b){this.B=null;this.G=!1;this.j=this.C=this.D=0;this.init(a,void 0,void 0,b)}; Yg=function(a){var b=0,c=0,d=0,e=a.B,f=a.j;do{var h=e[f++];b|=(h&127)<d&&h&128);32>4);for(d=3;32>d&&h&128;d+=7)h=e[f++],c|=(h&127)<h)return hda(b>>>0,c>>>0);throw Cg();}; Xg=function(a,b){a.j=b;if(b>a.C)throw fda(a.C,b);}; Zg=function(a){var b=a.B,c=a.j,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Cg();Xg(a,c);return e}; $g=function(a){var b=a.B,c=a.j,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];a.advance(4);return(d<<0|e<<8|f<<16|b<<24)>>>0}; ah=function(a){var b=$g(a);return 4294967296*$g(a)+(b>>>0)}; bh=function(a){var b=$g(a),c=$g(a);a=2*(c>>31)+1;var d=c>>>20&2047;b=4294967296*(c&1048575)+b;return 2047==d?b?NaN:Infinity*a:0==d?a*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)}; ch=function(a){for(var b=0,c=a.j,d=c+10,e=a.B;cb)throw Error("Tried to read a negative byte length: "+b);var c=a.j,d=c+b;if(d>a.C)throw fda(b,a.C-c);a.j=d;return c}; nda=function(a,b){if(0==b)return zg();var c=lda(a,b);a.HG&&a.G?c=a.B.subarray(c,c+b):(a=a.B,b=c+b,c=c===b?wg():mda?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return gda(c)}; eh=function(a,b){if(dh.length){var c=dh.pop();c.init(a,void 0,void 0,b);a=c}else a=new kda(a,b);this.j=a;this.C=this.j.j;this.B=this.D=-1;oda(this,b)}; oda=function(a,b){b=void 0===b?{}:b;a.rN=void 0===b.rN?!1:b.rN}; pda=function(a){var b=a.j;if(b.j==b.C)return!1;a.C=a.j.j;var c=Zg(a.j)>>>0;b=c>>>3;c&=7;if(!(0<=c&&5>=c))throw eda(c,a.C);if(1>b)throw Error("Invalid field number: "+b+" (at position "+a.C+")");a.D=b;a.B=c;return!0}; fh=function(a){switch(a.B){case 0:0!=a.B?fh(a):ch(a.j);break;case 1:a.j.advance(8);break;case 2:if(2!=a.B)fh(a);else{var b=Zg(a.j)>>>0;a.j.advance(b)}break;case 5:a.j.advance(4);break;case 3:b=a.D;do{if(!pda(a))throw Error("Unmatched start-group tag: stream EOF");if(4==a.B){if(a.D!=b)throw Error("Unmatched end-group tag");break}fh(a)}while(1);break;default:throw eda(a.B,a.C);}}; Ah=function(a,b,c){var d=a.j.C,e=Zg(a.j)>>>0,f=a.j.j+e,h=f-d;0>=h&&(a.j.C=f,c(b,a,void 0,void 0,void 0),h=f-a.j.j);if(h)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-h)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.j.j=f;a.j.C=d}; Dh=function(a){var b=Zg(a.j)>>>0;a=a.j;var c=lda(a,b);a=a.B;if(qda){var d=a,e;(e=Bh)||(e=Bh=new TextDecoder("utf-8",{fatal:!0}));a=c+b;d=0===c&&a===d.length?d:d.subarray(c,a);try{var f=e.decode(d)}catch(n){if(void 0===Ch){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),Ch=!0}catch(p){Ch=!1}}!Ch&&(Bh=void 0);throw n;}}else{f=c;b=f+b;c=[];for(var h=null,l,m;fl?c.push(l):224>l?f>=b?pg():(m=a[f++],194>l||128!==(m&192)?(f--,pg()):c.push((l&31)<<6|m&63)): 240>l?f>=b-1?pg():(m=a[f++],128!==(m&192)||224===l&&160>m||237===l&&160<=m||128!==((d=a[f++])&192)?(f--,pg()):c.push((l&15)<<12|(m&63)<<6|d&63)):244>=l?f>=b-2?pg():(m=a[f++],128!==(m&192)||0!==(l<<28)+(m-144)>>30||128!==((d=a[f++])&192)||128!==((e=a[f++])&192)?(f--,pg()):(l=(l&7)<<18|(m&63)<<12|(d&63)<<6|e&63,l-=65536,c.push((l>>10&1023)+55296,(l&1023)+56320))):pg(),8192<=c.length&&(h=Jca(h,c),c.length=0);f=Jca(h,c)}return f}; rda=function(a){var b=Zg(a.j)>>>0;return nda(a.j,b)}; sda=function(a,b){this.B=a>>>0;this.j=b>>>0}; uda=function(a){if(!a)return tda||(tda=new sda(0,0));if(!/^\d+$/.test(a))return null;Wg(a);return new sda(Sg,Tg)}; vda=function(a,b){this.B=a>>>0;this.j=b>>>0}; xda=function(a){if(!a)return wda||(wda=new vda(0,0));if(!/^-?\d+$/.test(a))return null;Wg(a);return new vda(Sg,Tg)}; Eh=function(){this.j=[]}; yda=function(a,b,c){for(;0>>7|c<<25)>>>0,c>>>=7;a.j.push(b)}; Fh=function(a,b){for(;127>>=7;a.j.push(b)}; zda=function(a,b){if(0<=b)Fh(a,b);else{for(var c=0;9>c;c++)a.j.push(b&127|128),b>>=7;a.j.push(1)}}; Gh=function(a,b){a.j.push(b>>>0&255);a.j.push(b>>>8&255);a.j.push(b>>>16&255);a.j.push(b>>>24&255)}; Ada=function(){this.C=[];this.B=0;this.j=new Eh}; Hh=function(a,b){0!==b.length&&(a.C.push(b),a.B+=b.length)}; Ih=function(a,b,c){Fh(a.j,8*b+c)}; Bda=function(a,b,c){null!=c&&("string"===typeof c&&uda(c),Ih(a,b,1),"number"===typeof c?(a=a.j,b=c>>>0,c=Math.floor((c-b)/4294967296)>>>0,Sg=b,Tg=c,Gh(a,Sg),Gh(a,Tg)):(c=uda(c),a=a.j,b=c.j,Gh(a,c.B),Gh(a,b)))}; Jh=function(a,b,c){Ih(a,b,2);Fh(a.j,c.length);Hh(a,a.j.end());Hh(a,c)}; Kh=function(a,b,c,d){this.cL=a;this.dL=b;this.j=c;this.S0=d}; Lh=function(a){return Array.prototype.slice.call(a)}; Cda=function(a){var b=Mh(a);1!==(b&1)&&(Object.isFrozen(a)&&(a=Lh(a)),Nh(a,b|1))}; Oh=function(a,b,c){return c?a|b:a&~b}; Dda=function(){var a=[];Ph(a,1);return a}; Eda=function(a,b){Nh(b,(a|0)&-14591)}; Qh=function(a,b){Nh(b,(a|34)&-14557)}; Rh=function(a){a=a>>14&1023;return 0===a?536870912:a}; Gda=function(a){return!(!a||"object"!==typeof a||a.Wib!==Fda)}; Sh=function(a){return null!==a&&"object"===typeof a&&!Array.isArray(a)&&a.constructor===Object}; Th=function(a,b,c,d){if(null==a){if(!c)throw Error();}else if("string"===typeof a)a=a?new yg(a,xg):zg();else if(a.constructor!==yg)if(vg(a))a=d?gda(a):a.length?new yg(new Uint8Array(a),xg):zg();else{if(!b)throw Error();a=void 0}return a}; Uh=function(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Mh(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Nh(a,d|1);return!0}; Vh=function(a){if(a&2)throw Error();}; Hda=function(a,b){if("number"!==typeof b||0>b||b>=a.length)throw Error();}; Ida=function(a,b){(b=Wh?b[Wh]:void 0)&&(a[Wh]=Lh(b))}; ni=function(){var a=Error();Aaa(a,"incident");Ff(a)}; oi=function(a){a=Error(a);Aaa(a,"warning");return a}; pi=function(a){if(null!=a&&"number"!==typeof a)throw Error("Value of float/double field must be a number, found "+typeof a+": "+a);return a}; Jda=function(a){if(null==a)return a;if("number"===typeof a||"NaN"===a||"Infinity"===a||"-Infinity"===a)return Number(a)}; Kda=function(a){return a.displayName||a.name||"unknown type name"}; Lda=function(a){if("boolean"!==typeof a)throw Error("Expected boolean but got "+Xa(a)+": "+a);return a}; Mda=function(a){if(null==a||"boolean"===typeof a)return a;if("number"===typeof a)return!!a}; qi=function(a){var b=typeof a;return"number"===b?Number.isFinite(a):"string"!==b?!1:Nda.test(a)}; ri=function(a){Number.isFinite(a)||ni();return a}; Oda=function(a){return a}; Pda=function(a){if("number"!==typeof a)throw oi("int32");Number.isFinite(a)||ni();return a}; si=function(a){return null==a?a:Pda(a)}; ti=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}; ui=function(a){if(null==a)return a;if("string"===typeof a){if(!a)return;a=+a}if("number"===typeof a)return a}; Rda=function(a,b){b=!!b;if(!qi(a))throw oi("int64");return"string"===typeof a?vi(a,b):b?Qda(a,b):wi(a,!1)}; xi=function(a){return null==a?a:Rda(a)}; Sda=function(a){return"-"===a[0]?!1:20>a.length?!0:20===a.length&&184467>Number(a.substring(0,6))}; Tda=function(a){return"-"===a[0]?20>a.length?!0:20===a.length&&-922337a.length?!0:19===a.length&&922337>Number(a.substring(0,6))}; wi=function(a,b){qi(a);a=Math.trunc(a);b&&!Number.isSafeInteger(a)&&(Ug(a),a=hda(Sg,Tg));return a}; yi=function(a){qi(a);return a=Math.trunc(a)}; Qda=function(a,b){qi(a);a=Math.trunc(a);!b||Number.isSafeInteger(a)?a=String(a):(b=String(a),Tda(b)?a=b:(Ug(a),a=jda()));return a}; vi=function(a,b){qi(a);var c=Math.trunc(Number(a));if(Number.isSafeInteger(c))return String(c);c=a.indexOf(".");-1!==c&&(a=a.substring(0,c));b&&(Tda(a)||(Wg(a),a=jda()));return a}; zi=function(a,b){qi(a);var c=Math.trunc(Number(a));if(Number.isSafeInteger(c)&&(!b||0<=c))return String(c);b=a.indexOf(".");-1!==b&&(a=a.substring(0,b));Sda(a)||(Wg(a),a=Vg(Sg,Tg));return a}; Uda=function(a){var b=!!b;if(!qi(a))throw oi("uint64");"string"===typeof a?b=zi(a,b):b?(qi(a),a=Math.trunc(a),!b||0<=a&&Number.isSafeInteger(a)?b=String(a):(b=String(a),Sda(b)||(Ug(a),b=Vg(Sg,Tg)))):b=yi(a);return b}; Vda=function(a){if(null==a)return a;if(qi(a)){if("string"===typeof a)return zi(a,!1);if("number"===typeof a)return yi(a)}}; Wda=function(a){if(null==a||"string"===typeof a||vg(a)||a instanceof yg)return a}; Ai=function(a){if("string"!==typeof a)throw Error();return a}; Bi=function(a){if(null!=a&&"string"!==typeof a)throw Error();return a}; Ci=function(a){return null==a||"string"===typeof a?a:void 0}; Di=function(a,b){if(!(a instanceof b))throw Error("Expected instanceof "+Kda(b)+" but got "+(a&&Kda(a.constructor)));return a}; Xda=function(a,b,c){if(null!=a&&"object"===typeof a&&a.cJ===Ei)return a;if(Array.isArray(a)){var d=Mh(a),e=d;0===e&&(e|=c&32);e|=c&2;e!==d&&Nh(a,e);return new b(a)}}; Gi=function(a,b){Fi=b;a=new a(b);Fi=void 0;return a}; Zi=function(a){switch(typeof a){case "boolean":return Yi||(Yi=[0,void 0,!0]);case "number":return 0=Rh(b)){if(b&256)return a[a.length-1][c]}else{var e=a.length;if(d&&b&256&&(d=a[e-1][c],null!=d))return d;b=c+(+!!(b&512)-1);if(b=f||e){e=b;if(b&256)f=a[a.length-1];else{if(null==d)return e;f=a[f+(+!!(b&512)-1)]={};e|=256}f[c]=d;e!==b&&Nh(a,e);return e}a[c+(+!!(b&512)-1)]=d;b&256&&(a=a[a.length-1],c in a&&delete a[c]);return b}; ij=function(a,b,c){return void 0!==fea(a,b,c,!1)}; lj=function(a,b,c,d,e){var f=b&2,h=ej(a,b,c,e);Array.isArray(h)||(h=jj);var l=!(d&2);d=!(d&1);var m=!!(b&32),n=Mh(h);0!==n||!m||f||l?n&1||(n|=1,Nh(h,n)):(n|=33,Nh(h,n));f?(a=!1,n&2||(Ph(h,34),a=!!(4&n)),(d||a)&&Object.freeze(h)):(f=!!(2&n)||!!(2048&n),d&&f?(h=Lh(h),d=1,m&&!l&&(d|=32),Nh(h,d),gj(a,b,c,h,e)):l&&n&32&&!f&&kj(h,32));return h}; nj=function(a,b,c,d,e,f){e=void 0===e?2:e;a=a.ea;var h=bj(a);2&h&&(e=1);f=!!f;var l=lj(a,h,b,1|(f?2:0),d);h=bj(a);var m=Mh(l),n=m,p=!!(2&m),q=!!(4&m),r=p&&q;if(!(4&m)){q&&(l=Lh(l),n=0,m=mj(m,h,f),p=!!(2&m),h=gj(a,h,b,l,d));for(var t=q=0;qd||d>b.length)throw Error();f=Mh(b);b[d]=c(e,!!(4&f)&&!!(4096&f));return a}; Fj=function(a,b,c,d){var e=a.ea,f=bj(e);Vh(f);(c=Ej(e,f,c))&&c!==b&&null!=d&&(f=gj(e,f,c));gj(e,f,b,d);return a}; Gj=function(a,b,c,d){var e=bj(a);Vh(e);(c=Ej(a,e,c))&&c!==b&&(e=gj(a,e,c));gj(a,e,b,d)}; Hj=function(a,b,c){a=a.ea;return Ej(a,bj(a),b)===c?c:-1}; Ej=function(a,b,c){for(var d=0,e=0;e=f){Object.assign(b[b.length-1]={},l);break}h=!0}f=b;c=!c;l=bj(a.ea);a=Rh(l);l=+!!(l&512)-1;for(var m,n,p=0;ph&&(q-=h,h=a[++f]);for(;m>>=7,a.B++;c.push(e);a.B++}}; Qea=function(a){return function(){var b=new Ada;Gea(this.ea,b,Ik(a));Hh(b,b.j.end());for(var c=new Uint8Array(b.B),d=b.C,e=d.length,f=0,h=0;ht;t+=4)r[t/4]=q[t]<<24|q[t+1]<<16|q[t+2]<<8|q[t+3];for(t=16;80>t;t++)q=r[t-3]^r[t-8]^r[t-14]^r[t-16],r[t]=(q<<1|q>>>31)&4294967295;q=e[0];var u=e[1],x=e[2],B=e[3],F=e[4];for(t=0;80>t;t++){if(40>t)if(20>t){var G=B^u&(x^B);var H=1518500249}else G=u^x^B,H=1859775393;else 60>t?(G=u&x|B&(u|x),H=2400959708):(G=u^x^B,H=3395469782);G=((q<<5|q>>>27)&4294967295)+G+F+H+r[t]&4294967295;F=B;B=x;x=(u<<30|u>>>2)&4294967295;u=q;q=G}e[0]=e[0]+q&4294967295;e[1]=e[1]+u&4294967295;e[2]= e[2]+x&4294967295;e[3]=e[3]+B&4294967295;e[4]=e[4]+F&4294967295} function c(q,r){if("string"===typeof q){q=unescape(encodeURIComponent(q));for(var t=[],u=0,x=q.length;un?c(l,56-n):c(l,64-(n-56));for(var t=63;56<=t;t--)f[t]=r&255,r>>>=8;b(f);for(t=r=0;5>t;t++)for(var u=24;0<=u;u-=8)q[r++]=e[t]>>u&255;return q} for(var e=[],f=[],h=[],l=[128],m=1;64>m;++m)l[m]=0;var n,p;a();return{reset:a,update:c,digest:d,v5:function(){for(var q=d(),r="",t=0;tb?a:a.slice(0,b)}; Il=function(a,b){if(a){a=a.split("&");for(var c=0;cc&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;return a[0]+(a[1]?"?"+a[1]:"")+a[2]}; Kl=function(a,b,c){if(Array.isArray(b))for(var d=0;dd)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return we(a.slice(d,-1!==e?e:0))}; vm=function(a,b){for(var c=a.search(gfa),d=0,e,f=[];0<=(e=ffa(a,d,b,c));)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace(hfa,"$1")}; ifa=function(a,b,c){return Nl(vm(a,b),b,c)}; wm=function(a){this.ea=M(a)}; xm=function(a){this.ea=M(a)}; ym=function(a){this.ea=M(a)}; zm=function(a){this.ea=M(a)}; Am=function(a){this.ea=M(a)}; Bm=function(a){this.ea=M(a)}; Cm=function(a){this.ea=M(a,35)}; Dm=function(a){this.ea=M(a,19)}; Em=function(a){this.ea=M(a,7)}; jfa=function(a){this.ea=M(a)}; Hm=function(a){g.J.call(this);var b=this;this.componentId="";this.B=[];this.Ka="";this.Na=this.Ea=-1;this.Fa=!1;this.N=this.experimentIds=null;this.oa=this.Aa=this.K=this.D=0;this.Sa=1;this.timeoutMillis=0;this.Z=!1;this.logSource=a.logSource;this.nz=a.nz||function(){}; this.C=new Fm(a.logSource,a.Tz);this.network=a.network;this.bB=a.bB||null;this.Va=g.gb(Tba,0,1);this.ma=a.xca||null;this.sessionIndex=a.sessionIndex||null;this.YC=a.YC||!1;this.pageId=a.pageId||null;this.logger=null;this.withCredentials=!a.OV;this.Tz=a.Tz||!1;var c=R(new zm,1,1);Gm(this.C,c);this.G=new g.Al(1E4,3E5,.1);this.j=new xl(this.G.getValue());a=kfa(this,a.eV);g.xd(this.j,"tick",a,!1,this);this.Y=new xl(6E5);g.xd(this.Y,"tick",a,!1,this);this.YC||this.Y.start();this.Tz||(g.xd(document,"visibilitychange", function(){"hidden"===document.visibilityState&&b.CN()}),g.xd(document,"pagehide",this.CN,!1,this))}; kfa=function(a,b){return b?function(){b().then(function(){a.flush()})}:function(){a.flush()}}; lfa=function(a){a.ma||(a.ma=.01>a.Va()?"https://www.google.com/log?format=json&hasfast=true":"https://play.google.com/log?format=json&hasfast=true");return a.ma}; mfa=function(a,b){a.G=new g.Al(1>b?1:b,3E5,.1);a.j.setInterval(a.G.getValue())}; ofa=function(a){nfa(a,function(b,c){b=Nl(b,"format","json");var d=!1;try{d=af().navigator.sendBeacon(b,c.Cj())}catch(e){}a.Z&&!d&&(a.Z=!1);return d})}; nfa=function(a,b){if(0!==a.B.length){var c=vm(lfa(a),"format");c=efa(c,"auth",a.nz(),"authuser",a.sessionIndex||"0");for(var d=0;10>d&&a.B.length;++d){var e=a.B.slice(0,32),f=a.C.build(e,a.D,a.K,a.bB,a.Aa,a.oa);if(!b(c,f)){++a.K;break}a.D=0;a.K=0;a.Aa=0;a.oa=0;a.B=a.B.slice(e.length)}a.j.enabled&&a.j.stop()}}; Fm=function(a,b){this.Tz=b=void 0===b?!1:b;this.B=this.locale=null;this.j=new Dm;Number.isInteger(a)&&this.j.AF(a);b||(this.locale=document.documentElement.getAttribute("lang"));Gm(this,new zm)}; Gm=function(a,b){N(a.j,zm,1,b);fj(b,1)||R(b,1,1);a.Tz||(b=Im(a),Oj(b,5)||Q(b,5,a.locale));a.B&&(b=Im(a),g.Jj(b,xm,9)||N(b,xm,9,a.B))}; pfa=function(a,b){ij(Jm(a),ym,11)&&(a=Km(a),R(a,1,b))}; qfa=function(a,b){ij(Jm(a),ym,11)&&(a=Km(a),Vj(a,2,b))}; Jm=function(a){return g.Jj(a.j,zm,1)}; sfa=function(a,b){var c=void 0===c?rfa:c;b(af(),c).then(function(d){a.B=d;d=Im(a);N(d,xm,9,a.B);return!0}).catch(function(){return!1})}; Im=function(a){a=Jm(a);var b=g.Jj(a,ym,11);b||(b=new ym,N(a,ym,11,b));return b}; Km=function(a){a=Im(a);var b=g.Jj(a,wm,10);b||(b=new wm,Vj(b,2,!1),N(a,wm,10,b));return b}; g.Lm=function(a){return(new tfa).Cj(a)}; tfa=function(){}; Mm=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f>1,b),vn(a,a.length>>1)]}; wn=function(a,b,c){c=void 0===c?[]:c;this.maxItems=a;this.j=void 0===b?0:b;this.B=c}; Pfa=function(a){var b=globalThis.sessionStorage.getItem("iU5q-!O9@$");if(!b)return new wn(a);var c=b.split(",");if(2>c.length)return globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new wn(a);b=c.slice(1);1===b.length&&""===b[0]&&(b=[]);c=Number(c[0]);return isNaN(c)||0>c||c>b.length?(globalThis.sessionStorage.removeItem("iU5q-!O9@$"),new wn(a)):new wn(a,c,b)}; Qfa=function(a,b){this.logger=b;this.index=Pfa(a)}; Tfa=function(a,b,c,d,e){var f=new un(a.logger,"W"),h=(4-(xn.length+c.length)%4)%4,l=new Uint8Array(4+h+xn.length+4+c.length),m=new DataView(l.buffer),n=0;m.setUint32(n,4294967295*Math.random());n=n+4+h;l.set(xn,n);n+=xn.length;m.setUint32(n,e);l.set(c,n+4);Rfa(l,d);b=Sfa(null!=b?b:[]);a.index.uh(b,function(p){globalThis.sessionStorage.removeItem(p)})?Mfa(b,g.rg(l))?(a.logger.OI("s"),f.done()):a.logger.OI("t"):a.logger.OI("i")}; Sfa=function(a){var b=g.v(Ofa(a,xn));a=b.next().value;b=b.next().value;return a.toString(16)+b.toString(16)}; Rfa=function(a,b){var c=Ofa(b);a=new Uint32Array(a.buffer);b=a[0];var d=g.v(c);c=d.next().value;d=d.next().value;for(var e=1;en;n++)h=h>>>8|h<<24,h+=f|0,h^=l+38293,f=f<<3|f>>>29,f^=h,m=m>>>8|m<<24,m+=l|0,m^=n+38293,l=l<<3|l>>>29,l^=m;f=[f,h];a[e]^=f[0];e+1>>13;d-=e;d-=c;d^=c<<8;e-=c;e-=d;e^=d>>>13;c-=d;c-=e;c^=e>>>12;d-=e;d-=c;d^=c<<16;e-=c;e-=d;e^=d>>>5;c-=d;c-=e;c^=e>>>3;d-=e;d-=c;d^=c<<10;e-=c;e-=d;e^=d>>>15} a=Zfa(a);for(var c=2654435769,d=2654435769,e=314159265,f=a.length,h=f,l=0;12<=h;h-=12,l+=12)c+=zn(a,l),d+=zn(a,l+4),e+=zn(a,l+8),b();e+=f;switch(h){case 11:e+=a[l+10]<<24;case 10:e+=a[l+9]<<16;case 9:e+=a[l+8]<<8;case 8:d+=a[l+7]<<24;case 7:d+=a[l+6]<<16;case 6:d+=a[l+5]<<8;case 5:d+=a[l+4];case 4:c+=a[l+3]<<24;case 3:c+=a[l+2]<<16;case 2:c+=a[l+1]<<8;case 1:c+=a[l+0]}b();return $fa.toString(e)}; Zfa=function(a){for(var b=[],c=0;c]/.test(c))throw Error("Forbidden characters in style string: "+c);return new g.be(c,Jn)}; lga=function(a){if(!a)return null;a=Oj(a,4);return null===a||void 0===a?null:Xd(a)}; g.Kn=function(a,b){b=In(b);void 0!==b&&(a.href=b)}; mga=function(a,b,c,d){if(0===a.length)throw Error("");a=a.map(function(f){if(f instanceof En)f=f.j;else throw Error("");return f}); var e=c.toLowerCase();if(a.every(function(f){return 0!==e.indexOf(f)}))throw Error('Attribute "'+c+'" does not match any of the allowed prefixes.'); b.setAttribute(c,d)}; Ln=function(a,b){throw Error(void 0===b?"unexpected value "+a+"!":b);}; Mn=function(a){var b,c,d=null==(c=(b=(a.ownerDocument&&a.ownerDocument.defaultView||window).document).querySelector)?void 0:c.call(b,"script[nonce]");(b=d?d.nonce||d.getAttribute("nonce")||"":"")&&a.setAttribute("nonce",b)}; g.Nn=function(a,b){a.src=g.Wd(b);Mn(a)}; g.On=function(a,b,c){var d=window;a=In(a);return void 0!==a?d.open(a,b,c):null}; Pn=function(){this.j={};this.B=null}; nga=function(){Pn.instance||(Pn.instance=new Pn);return Pn.instance}; pga=function(a,b,c,d){if(!b&&!c)return Promise.resolve();if(!d)return oga(b,c);var e;(e=a.j)[d]||(e[d]=new Promise(function(f,h){oga(b,c).then(function(){a.B=d;f()},function(l){delete a.j[d]; h(l)})})); return a.j[d]}; oga=function(a,b){return b?qga(b):a?rga(a):Promise.resolve()}; qga=function(a){return new Promise(function(b,c){var d=g.lf("SCRIPT"),e=lga(a)||jga(sga);g.Nn(d,e);d.onload=function(){g.qf(d);b()}; d.onerror=function(){g.qf(d);c(Error("EWLS"))}; (g.Oe("HEAD")[0]||document.documentElement).appendChild(d)})}; rga=function(a){return new Promise(function(b){var c=g.lf("SCRIPT");if(a){var d=Oj(a,6);d=null===d||void 0===d?null:tba(d)}else d=null;c.textContent=rba(d);Mn(c);(g.Oe("HEAD")[0]||document.documentElement).appendChild(c);g.qf(c);b()})}; uga=function(a){for(var b=new Uint8Array(a.length),c=0;c=b.length)b=String.fromCharCode.apply(null,b);else{a="";for(c=0;cb)throw Error("Bad port number "+b);a.D=b}else a.D=null}; qo=function(a,b,c){b instanceof so?(a.B=b,Ega(a.B,a.N)):(c||(b=to(b,Fga)),a.B=new so(b,a.N))}; g.uo=function(a,b,c){a.B.set(b,c)}; g.vo=function(a){return a instanceof g.mo?a.clone():new g.mo(a)}; ro=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}; to=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,Gga),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null}; Gga=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}; so=function(a,b){this.B=this.j=null;this.C=a||null;this.D=!!b}; wo=function(a){a.j||(a.j=new Map,a.B=0,a.C&&Il(a.C,function(b,c){a.add(we(b),c)}))}; Hga=function(a,b){wo(a);b=xo(a,b);return a.j.has(b)}; g.Iga=function(a,b,c){a.remove(b);0>7,a.error.code].concat(fha(b)))}; Fp=function(a,b,c){zp.call(this,a);this.K=b;this.clientState=c;this.C="S";this.B="q"}; Gp=function(a){g.J.call(this);var b=this;this.j=void 0;this.D=new g.Cn;this.state=1;this.C=0;this.cache=this.B=void 0;this.lz=a.lz;this.RY=a.RY;this.onError=a.onError;this.logger=a.yjb?new Kfa:new Lfa(a.Wi,a.QC);this.addOnDisposeCallback(function(){b.j&&(b.j.dispose(),b.j=void 0)})}; iha=function(a,b,c,d){if(!d)throw new yp(4,Error("PMD:Undefined"));d=d(Bg(oj(b,1)));if(!(d instanceof Function))throw new yp(16,Error("APF:Failed"));return new Bp(a.logger,c,d,Rj(b,3),1E3*Rj(b,2),function(){return a.cache})}; kha=function(a){var b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H,O;return g.I(function(P){switch(P.j){case 1:b=void 0,c=a.isReady()?6E4:1E3,d=new g.Al(c,6E5,.25,2),e=1;case 2:if(!(2>=e)){P.La(4);break}g.Ca(P,5);a.state=3;a.C=e-1;return g.y(P,a.B&&1===e?a.B:a.kD(e),7);case 7:f=P.B;a.B=void 0;a.state=4;h=new un(a.logger,"b");var Y=nga();Y=pga(Y,g.Jj(f,dga,1),g.Jj(f,ega,2),g.Tj(f,3));return g.y(P,Y,8);case 8:return a.state=5,l=new Dn({challenge:f}),m=[],g.y(P,Hp(a,l.snapshot({J0:m}),new yp(15,"MDA:Timeout")), 9);case 9:return n=P.B,p=g.v(m),r=q=p.next().value,h.done(),a.state=6,g.y(P,Hp(a,a.logger.nP("g",e,a.lz.cW(n)),new yp(10,"BWB:Timeout")),10);case 10:return t=P.B,a.state=7,u=new un(a.logger,"i"),g.Tj(t,4)?(l.dispose(),Y=new Dp(a.logger,g.Tj(t,4),1E3*Rj(t,2))):Rj(t,3)?Y=iha(a,t,l,r):(l.dispose(),Y=new Cp(a.logger,Bg(oj(t,1)),1E3*Rj(t,2))),x=Y,u.done(),F=B=void 0,null==(F=(B=a).RY)||F.call(B,Bg(oj(t,1))),a.state=8,P.return(x);case 5:G=g.Ea(P);b=G instanceof yp?G:G instanceof wp?new yp(20,G):G instanceof $m?new yp(11,G):new yp(12,G);a.logger.nE(b.code);O=H=void 0;null==(O=(H=a).onError)||O.call(H,b);a:{if(G instanceof $m)switch(G.code){case 2:case 13:case 14:case 4:Y=!0;break a;default:Y=!1;break a}Y=G instanceof yp?20!==G.code:!0}if(!Y)throw b;return g.y(P,jha(a,d.getValue()),11);case 11:g.Bl(d);case 3:e++;P.La(2);break;case 4:throw b;}})}; jha=function(a,b){b=dha(b);g.L(a,b);b.start();return b.Z}; Hp=function(a,b,c){return Promise.race([b,jha(a,12E4).then(function(){return Promise.reject(c)})])}; lha=function(a){var b,c,d;g.I(function(e){switch(e.j){case 1:return b=void 0,g.Ca(e,5),g.y(e,kha(a),7);case 7:b=e.B;g.Da(e,6);break;case 5:c=g.Ea(e);if(a.j){a.logger.nE(13);e.La(0);break}a.logger.nE(14);b=new Ep(a.logger,c instanceof yp?c:new yp(14,c instanceof Error?c:Error(String(c))));case 6:return d=void 0,null==(d=a.j)||d.dispose(),a.j=b,a.D.resolve(),g.Ca(e,8),g.y(e,a.j.D.promise,10);case 10:g.Da(e,1);break;case 8:g.Ea(e),e.La(0)}})}; mha=function(a,b){b=Object.assign({},b);b.Py&&!a.cache&&(a.cache=new Qfa(Math.min(b.Py.W7,150),a.logger));var c;if(!a.isReady()&&(null==(c=b.Py)?0:c.M4)){a:{c=a.cache;var d=xp(b,a.logger),e=b.Py.jV,f=new un(c.logger,"R");d=Sfa(null!=d?d:[]);var h=globalThis.sessionStorage.getItem(d);if(h){try{var l=tg(h);Rfa(l,e)}catch(q){globalThis.sessionStorage.removeItem(d);c.logger.eA("c");c=void 0;break a}for(e=4;7>e&&0===l[e];)e++;for(h=0;h=h)globalThis.sessionStorage.removeItem(d),c.logger.eA("e");else{l=new Uint8Array(l.buffer,e+4);f.done();c.logger.eA("a");c=l;break a}}else c.logger.eA("m");c=void 0}if(c)return c}var m;c=null!=(m=a.j)?m:new Fp(a.logger,a.C,a.state);m=new un(a.logger,c.C);try{if(a.isDisposed())throw new yp(21,"BNT:disposed");return c.G(b)}catch(q){m=new un(a.logger,"e");var n=q instanceof yp?q:new yp(5,q);a.logger.nE(n.code); var p;null==(p=a.onError)||p.call(a,n);c=new Ep(a.logger,n);return c.G(b)}finally{m.done()}}; nha=function(a){var b={};g.cc(a,function(c){var d=c.event,e=b[d];b.hasOwnProperty(d)?null!==e&&(c.equals(e)||(b[d]=null)):b[d]=c}); taa(a,function(c){return null===b[c.event]})}; Ip=function(){this.De=0;this.j=!1;this.B=-1;this.Yv=!1;this.xk=0}; Jp=function(){this.Td=null;this.j=!1}; Kp=function(a){Jp.call(this);this.C=a}; Lp=function(){Jp.call(this)}; Mp=function(){Jp.call(this)}; Np=function(){this.j={};this.B=!0;this.C={}}; Op=function(a,b,c){a.j[b]||(a.j[b]=new Kp(c));return a.j[b]}; oha=function(a){a.j.queryid||(a.j.queryid=new Mp)}; Pp=function(a,b,c){(a=a.j[b])&&a.B(c)}; Qp=function(a,b){if(g.gd(a.C,b))return a.C[b];if(a=a.j[b])return a.getValue()}; Rp=function(a){var b={},c=g.Xc(a.j,function(d){return d.j}); g.Wc(c,function(d,e){d=void 0!==a.C[e]?String(a.C[e]):d.j&&null!==d.Td?String(d.Td):"";0e?encodeURIComponent(Hha(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))}; Iha=function(a){var b=1,c;for(c in a.B)b=c.length>b?c.length:b;return 3997-b-a.C.length-1}; kr=function(a,b){this.j=a;this.depth=b}; Kha=function(){function a(l,m){return null==l?m:l} var b=gr(),c=Math.max(b.length-1,0),d=Gha(b);b=d.j;var e=d.B,f=d.C,h=[];f&&h.push(new kr([f.url,f.TO?2:0],a(f.depth,1)));e&&e!=f&&h.push(new kr([e.url,2],0));b.url&&b!=f&&h.push(new kr([b.url,0],a(b.depth,c)));d=g.lr(h,function(l,m){return h.slice(0,h.length-m)}); !b.url||(f||e)&&b!=f||(e=yha(b.url))&&d.push([new kr([e,1],a(b.depth,c))]);d.push([]);return g.lr(d,function(l){return Jha(c,l)})}; Jha=function(a,b){g.mr(b,function(e){return 0<=e.depth}); var c=nr(b,function(e,f){return Math.max(e,f.depth)},-1),d=yaa(c+2); d[0]=a;g.cc(b,function(e){return d[e.depth+1]=e.j}); return d}; Lha=function(){var a=void 0===a?Kha():a;return a.map(function(b){return jr(b)})}; Mha=function(a){var b=!1;b=void 0===b?!1:b;Wp.google_image_requests||(Wp.google_image_requests=[]);var c=zha("IMG",Wp.document);b&&(c.attributionSrc="");c.src=a;Wp.google_image_requests.push(c)}; or=function(a){var b="eh";if(a.eh&&a.hasOwnProperty(b))return a.eh;var c=new a;a.eh=c;a.hasOwnProperty(b);return c}; pr=function(){this.B=new uha;this.j=Up()?new Vp:new Tp}; Nha=function(){qr();var a=Wp.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&"function"===typeof Wp.setInterval&&"function"===typeof Wp.clearInterval&&"function"===typeof Wp.setTimeout&&"function"===typeof Wp.clearTimeout)}; Oha=function(){qr();return Lha()}; Pha=function(){}; qr=function(){var a=or(Pha);if(!a.j){if(!Wp)throw Error("Context has not been set and window is undefined.");a.j=or(pr)}return a.j}; rr=function(a){this.ea=M(a)}; Qha=function(a){this.C=a;this.j=-1;this.B=this.D=0}; sr=function(a,b){return function(){var c=g.Ka.apply(0,arguments);if(-1Math.random())}; dia=function(a){a&&xr&&vr()&&(xr.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),xr.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; eia=function(){var a=yr;this.j=zr;this.YV="jserror";this.RR=!0;this.xM=null;this.B=this.pP;this.bd=void 0===a?null:a}; fia=function(a,b,c){var d=Ar;return sr(tr().j.j,function(){try{if(d.bd&&d.bd.j){var e=d.bd.start(a.toString(),3);var f=b();d.bd.end(e)}else f=b()}catch(l){var h=d.RR;try{dia(e),h=d.B(a,new Br(Cr(l)),void 0,c)}catch(m){d.pP(217,m)}if(!h)throw l;}return f})()}; Dr=function(a,b,c,d){return sr(tr().j.j,function(){var e=g.Ka.apply(0,arguments);return fia(a,function(){return b.apply(c,e)},d)})}; Cr=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}; Br=function(a){$ha.call(this,Error(a),{message:a})}; gia=function(){Wp&&"undefined"!=typeof Wp.google_measure_js_timing&&(Wp.google_measure_js_timing||yr.disable())}; hia=function(a){Ar.xM=function(b){g.cc(a,function(c){c(b)})}}; iia=function(a,b){return fia(a,b)}; Er=function(a,b){return Dr(a,b)}; Fr=function(a,b,c,d){Ar.pP(a,b,c,d)}; Gr=function(){return Date.now()-jia}; kia=function(){var a=tr().C,b=0<=Hr?Gr()-Hr:-1,c=Ir?Gr()-Jr:-1,d=0<=Kr?Gr()-Kr:-1;if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];var e=[250,500,1E3];Fr(637,Error(),.001);var f=b;-1!=c&&cd?500:h}; Lr=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}; Mr=function(a){return a.right-a.left}; Nr=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}; Or=function(a,b,c){b instanceof g.re?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,"number"===typeof c&&(a.top+=c,a.bottom+=c));return a}; Pr=function(a,b,c){var d=new Lr(0,0,0,0);this.time=a;this.volume=null;this.C=b;this.j=d;this.B=c}; Qr=function(a,b,c,d,e,f,h,l){this.D=a;this.N=b;this.C=c;this.K=d;this.j=e;this.G=f;this.B=h;this.Z=l}; mia=function(a){var b=a!==a.top,c=a.top===Cha(a),d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),aba(lia,function(h){return"function"===typeof f[h]})||(e=1)); return{Pn:f,compatibility:e,Iba:d}}; nia=function(){var a=window.document;return a&&"function"===typeof a.elementFromPoint}; oia=function(a,b,c){a&&null!==b&&b!=b.top&&(b=b.top);try{return(void 0===c?0:c)?(new g.te(b.innerWidth,b.innerHeight)).round():$ba(b||window).round()}catch(d){return new g.te(-12245933,-12245933)}}; Rr=function(a,b,c){try{a&&(b=b.top);var d=oia(a,b,c),e=d.height,f=d.width;if(-12245933===f)return new Lr(f,f,f,f);var h=bca(Me(b.document).j),l=h.x,m=h.y;return new Lr(m,l+f,m+e,l)}catch(n){return new Lr(-12245933,-12245933,-12245933,-12245933)}}; g.Sr=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}; Tr=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.Vr=function(a,b,c){if("string"===typeof b)(b=Ur(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Ur(c,d);f&&(c.style[f]=e)}}; Ur=function(a,b){var c=pia[b];if(!c){var d=Uba(b);c=d;void 0===a.style[d]&&(d=(g.Sc?"Webkit":Wr?"Moz":g.$e?"ms":null)+Wba(d),void 0!==a.style[d]&&(c=d));pia[b]=c}return c}; g.Xr=function(a,b){var c=a.style[Uba(b)];return"undefined"!==typeof c?c:a.style[Ur(a,b)]||""}; Yr=function(a,b){var c=Le(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""}; Zr=function(a,b){return Yr(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}; g.as=function(a,b,c){if(b instanceof g.re){var d=b.x;b=b.y}else d=b,b=c;a.style.left=g.$r(d,!1);a.style.top=g.$r(b,!1)}; bs=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}}; qia=function(a){if(g.$e&&!g.Rc(8))return a.offsetParent;var b=Le(a),c=Zr(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=Zr(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null}; g.cs=function(a){var b=Le(a),c=new g.re(0,0);var d=b?Le(b):document;d=!g.$e||g.Rc(9)||"CSS1Compat"==Me(d).j.compatMode?d.documentElement:d.body;if(a==d)return c;a=bs(a);b=bca(Me(b).j);c.x=a.left+b.x;c.y=a.top+b.y;return c}; sia=function(a,b){var c=new g.re(0,0),d=af(Le(a));if(!Nc(d,"parent"))return c;do{var e=d==b?g.cs(a):ria(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c}; g.ds=function(a,b){a=tia(a);b=tia(b);return new g.re(a.x-b.x,a.y-b.y)}; ria=function(a){a=bs(a);return new g.re(a.left,a.top)}; tia=function(a){if(1==a.nodeType)return ria(a);a=a.changedTouches?a.changedTouches[0]:a;return new g.re(a.clientX,a.clientY)}; g.es=function(a,b,c){if(b instanceof g.te)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=g.$r(b,!0);a.style.height=g.$r(c,!0)}; g.$r=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}; g.fs=function(a){var b=uia;if("none"!=Zr(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}; uia=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=g.Sc&&!b&&!c;return(void 0===b||d)&&a.getBoundingClientRect?(a=bs(a),new g.te(a.right-a.left,a.bottom-a.top)):new g.te(b,c)}; g.gs=function(a,b){a.style.display=b?"":"none"}; hs=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b}; via=function(a){return new Lr(a.top,a.right,a.bottom,a.left)}; wia=function(a){var b=a.top||0,c=a.left||0;return new Lr(b,c+(a.width||0),b+(a.height||0),c)}; is=function(a){return null!=a&&0<=a&&1>=a}; xia=function(){var a=g.oc();return a?js("AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;WebOS".split(";"),function(b){return jc(a,b)})||jc(a,"OMI/")&&!jc(a,"XiaoMi/")?!0:jc(a,"Presto")&&jc(a,"Linux")&&!jc(a,"X11")&&!jc(a,"Android")&&!jc(a,"Mobi"):!1}; yia=function(){this.C=!aq(Wp.top);this.isMobileDevice=$p()||vha();var a=gr();this.domain=0c.height?m>p?(d=m,e=n):(d=p,e=q):mb.B?!1:a.jb.j?!1:typeof a.Tdtypeof b.Td?!1:a.Tdc++;){if(a===b)return!0;try{if(a=g.rf(a)||a){var d=Le(a),e=d&&af(d),f=e&&e.frameElement;f&&(a=f)}}catch(h){break}}return!1}; Uia=function(a,b,c){if(!a||!b)return!1;b=Or(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;aq(window.top)&&window.top&&window.top.document&&(window=window.top);if(!nia())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Le(c))&&b.defaultView&&b.defaultView.frameElement)&&Tia(b,a);var d=a===c;a=!d&&a&&Bf(a,function(e){return e===c}); return!(b||d||a)}; Via=function(a,b,c,d){return ks().C?!1:0>=Mr(a)||0>=a.getHeight()?!0:c&&d?iia(208,function(){return Uia(a,b,c)}):!1}; Ss=function(a,b,c){g.J.call(this);this.position=Wia.clone();this.YI=this.VH();this.mP=-2;this.Zba=Date.now();this.V_=-1;this.Op=b;this.MI=null;this.cD=!1;this.mJ=null;this.opacity=-1;this.requestSource=c;this.hca=!1;this.rP=function(){}; this.n0=function(){}; this.Nj=new sha;this.Nj.Mt=a;this.Nj.j=a;this.Dt=!1;this.vv={DP:null,CP:null};this.w_=!0;this.LF=null;this.Lz=this.D7=!1;tr().K++;this.Oh=this.cO();this.Q_=-1;this.ag=null;this.hasCompleted=this.z7=!1;this.Gc=new Np;rha(this.Gc);Xia(this);1==this.requestSource?Pp(this.Gc,"od",1):Pp(this.Gc,"od",0)}; Xia=function(a){a=a.Nj.Mt;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Yia&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Vba()):!!a.getAttribute("data-"+Vba());b&&(ks().B=!0)}; Ts=function(a,b){b!=a.Lz&&(a.Lz=b,a=ks(),b?a.K++:0c?0:a}; aja=function(a,b,c){if(a.ag){a.ag.Ds();var d=a.ag.N,e=d.D,f=e.j;if(null!=d.K){var h=d.C;a.mJ=new g.re(h.left-f.left,h.top-f.top)}f=a.BK()?Math.max(d.j,d.G):d.j;h={};null!==e.volume&&(h.volume=e.volume);e=a.wW(d);a.MI=d;a.Ra(f,b,c,!1,h,e,d.Z)}}; bja=function(a){if(a.cD&&a.LF){var b=1==Qp(a.Gc,"od"),c=ks().j,d=a.LF,e=a.ag?a.ag.getName():"ns",f=new g.te(Mr(c),c.getHeight());c=a.BK();a={Pba:e,mJ:a.mJ,Fca:f,BK:c,De:a.Oh.De,zca:b};if(b=d.B){b.Ds();e=b.N;f=e.D.j;var h=null,l=null;null!=e.K&&f&&(h=e.C,h=new g.re(h.left-f.left,h.top-f.top),l=new g.te(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.j,e.G):e.j;c={Pba:b.getName(),mJ:h,Fca:l,BK:c,zca:!1,De:e}}else c=null;c&&Nia(d,a,c)}}; cja=function(a,b,c){b&&(a.rP=b);c&&(a.n0=c)}; g.Us=function(){}; g.Vs=function(a){return{value:a,done:!1}}; dja=function(){this.D=this.j=this.C=this.B=this.G=0}; eja=function(a){var b={};var c=g.kb()-a.G;b=(b.ptlt=c,b);(c=a.B)&&(b.pnk=c);(c=a.C)&&(b.pnc=c);(c=a.D)&&(b.pnmm=c);(a=a.j)&&(b.pns=a);return b}; fja=function(){Ip.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1}; Ws=function(a){return is(a.volume)&&0Math.max(1E4,a.C/3)?0:b);var c=a.N(a)||{};c=void 0!==c.currentTime?c.currentTime:a.ma;var d=c-a.ma,e=0;0<=d?(a.oa+=b,a.Ka+=Math.max(b-d,0),e=Math.min(d,a.oa)):a.Sa+=Math.abs(d);0!=d&&(a.oa=0);-1==a.Va&&0=a.C/2:0=a.Fa:!1:!1}; tja=function(a){var b=hs(a.Oh.De,2),c=a.Ng.C,d=a.Oh,e=ot(a),f=nt(e.D),h=nt(e.K),l=nt(d.volume),m=hs(e.N,2),n=hs(e.oa,2),p=hs(d.De,2),q=hs(e.Aa,2),r=hs(e.Fa,2);d=hs(d.xk,2);a=a.jt().clone();a.round();e=Os(e,!1);return{Eca:b,XD:c,dJ:f,SI:h,GC:l,eJ:m,UI:n,De:p,gJ:q,VI:r,xk:d,position:a,iJ:e}}; vja=function(a,b){uja(a.j,b,function(){return{Eca:0,XD:void 0,dJ:-1,SI:-1,GC:-1,eJ:-1,UI:-1,De:-1,gJ:-1,VI:-1,xk:-1,position:void 0,iJ:[]}}); a.j[b]=tja(a)}; uja=function(a,b,c){for(var d=a.length;dc.time?b:c},a[0])}; Et=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; Ft=function(){var a=Uja();os.call(this,Wp.top,a,"geo")}; Uja=function(){tr();var a=ks();return a.C||a.B?0:2}; Vja=function(){}; Gt=function(){this.done=!1;this.j={u4:0,TU:0,Cjb:0,RV:0,GO:-1,g5:0,f5:0,i5:0,Mba:0};this.G=null;this.K=!1;this.C=null;this.N=0;this.B=new ns(this)}; It=function(){var a=Ht;a.K||(a.K=!0,Wja(a,function(){return a.D.apply(a,g.qa(g.Ka.apply(0,arguments)))}),a.D())}; Xja=function(){or(Vja);var a=or(zt);null!=a.j&&a.j.j?Bia(a.j.j):ks().update(Wp)}; Jt=function(a,b,c){if(!a.done&&(a.B.cancel(),0!=b.length)){a.C=null;try{Xja();var d=Gr();tr().G=d;if(null!=or(zt).j)for(var e=0;eg.fd(gka).length?null:nr(b,function(c,d){d=d.toLowerCase().split("=");if(2!=d.length||void 0===hka[d[0]]||!hka[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}}; jka=function(a,b){if(void 0==a.j)return 0;switch(a.G){case "mtos":return a.B?Ls(b.j,a.j):Ls(b.B,a.j);case "tos":return a.B?Bs(b.j,a.j):Bs(b.B,a.j)}return 0}; Pt=function(a,b,c,d){et.call(this,b,d);this.N=a;this.Z=c}; Qt=function(){}; Rt=function(a){et.call(this,"fully_viewable_audible_half_duration_impression",a)}; St=function(a){this.j=a}; Tt=function(a,b){et.call(this,a,b)}; Ut=function(a){ft.call(this,"measurable_impression",a)}; Vt=function(){St.apply(this,arguments)}; Wt=function(a,b,c){jt.call(this,a,b,c)}; Xt=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; Yt=function(a,b,c){jt.call(this,a,b,c)}; Zt=function(a){a=void 0===a?Wp:a;ts.call(this,new os(a,2))}; $t=function(){os.call(this,Wp,2,"mraid");this.Ka=0;this.oa=this.Aa=!1;this.N=null;this.B=mia(this.C);this.D.j=new Lr(0,0,0,0);this.Na=!1}; au=function(a,b,c){a.fu("addEventListener",b,c)}; nka=function(a){tr().D=!!a.fu("isViewable");au(a,"viewableChange",kka);"loading"===a.fu("getState")?au(a,"ready",lka):mka(a)}; mka=function(a){"string"===typeof a.B.Pn.AFMA_LIDAR?(a.Aa=!0,oka(a)):(a.B.compatibility=3,a.N="nc",a.fail("w"))}; oka=function(a){a.oa=!1;var b=1==Qp(tr().Gc,"rmmt"),c=!!a.fu("isViewable");(b?!c:1)&&qr().setTimeout(Er(524,function(){a.oa||(pka(a),Fr(540,Error()),a.N="mt",a.fail("w"))}),500); qka(a);au(a,a.B.Pn.AFMA_LIDAR,rka)}; qka=function(a){var b=1==Qp(tr().Gc,"sneio"),c=void 0!==a.B.Pn.AFMA_LIDAR_EXP_1,d=void 0!==a.B.Pn.AFMA_LIDAR_EXP_2;(b=b&&d)&&(a.B.Pn.AFMA_LIDAR_EXP_2=!0);c&&(a.B.Pn.AFMA_LIDAR_EXP_1=!b)}; pka=function(a){a.fu("removeEventListener",a.B.Pn.AFMA_LIDAR,rka);a.Aa=!1}; ska=function(a,b){if("loading"===a.fu("getState"))return new g.te(-1,-1);b=a.fu(b);if(!b)return new g.te(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new g.te(-1,-1):new g.te(a,b)}; lka=function(){try{var a=or($t);a.fu("removeEventListener","ready",lka);mka(a)}catch(b){Fr(541,b)}}; rka=function(a,b){try{var c=or($t);c.oa=!0;var d=a?new Lr(a.y,a.x+a.width,a.y+a.height,a.x):new Lr(0,0,0,0);var e=Gr(),f=ms();var h=new Pr(e,f,c);h.j=d;h.volume=b;c.xt(h)}catch(l){Fr(542,l)}}; kka=function(a){var b=tr(),c=or($t);a&&!b.D&&(b.D=!0,c.Na=!0,c.N&&c.fail("w",!0))}; bu=function(){this.isInitialized=!1;this.j=this.B=null;var a={};this.K=(a.start=this.h7,a.firstquartile=this.c7,a.midpoint=this.e7,a.thirdquartile=this.i7,a.complete=this.Z6,a.error=this.a7,a.pause=this.GQ,a.resume=this.YZ,a.skip=this.g7,a.viewable_impression=this.Dp,a.mute=this.HB,a.unmute=this.HB,a.fullscreen=this.d7,a.exitfullscreen=this.b7,a.fully_viewable_audible_half_duration_impression=this.Dp,a.measurable_impression=this.Dp,a.abandon=this.GQ,a.engagedview=this.Dp,a.impression=this.Dp,a.creativeview= this.Dp,a.progress=this.HB,a.custom_metric_viewable=this.Dp,a.bufferstart=this.GQ,a.bufferfinish=this.YZ,a.audio_measurable=this.Dp,a.audio_audible=this.Dp,a);a={};this.N=(a.overlay_resize=this.f7,a.abandon=this.uO,a.close=this.uO,a.collapse=this.uO,a.overlay_unmeasurable_impression=function(b){return rt(b,"overlay_unmeasurable_impression",ms())},a.overlay_viewable_immediate_impression=function(b){return rt(b,"overlay_viewable_immediate_impression",ms())},a.overlay_unviewable_impression=function(b){return rt(b, "overlay_unviewable_impression",ms())},a.overlay_viewable_end_of_session_impression=function(b){return rt(b,"overlay_viewable_end_of_session_impression",ms())},a); tr().B=3;tka(this)}; cu=function(a,b,c,d){a=a.jF(null,d,!0,b);a.D=c;Nja([a]);return a}; uka=function(a,b,c){nha(b);var d=a.j;g.cc(b,function(e){var f=g.lr(e.criteria,function(h){var l=ika(h);if(null==l)h=null;else if(h=new fka,null!=l.visible&&(h.j=l.visible/100),null!=l.audible&&(h.B=1==l.audible),null!=l.time){var m="mtos"==l.timetype?"mtos":"tos",n=Eaa(l.time,"%")?"%":"ms";l=parseInt(l.time,10);"%"==n&&(l/=100);h.setTime(l,n,m)}return h}); js(f,function(h){return null==h})||rja(c,new Pt(e.id,e.event,f,d))})}; vka=function(){var a=[],b=tr();a.push(or(Ft));Qp(b.Gc,"mvp_lv")&&a.push(or($t));b=[new Xt,new Zt];b.push(new At(a));b.push(new Et(Wp));return b}; wka=function(a){if(!a.isInitialized){a.isInitialized=!0;try{var b=Gr(),c=tr(),d=ks();Hr=b;c.C=79463069;"o"!==a.B&&(aka=Cha(Wp));if(Nha()){Ht.j.TU=0;Ht.j.GO=Gr()-b;var e=vka(),f=or(zt);f.B=e;Pja(f,function(){du()})?Ht.done||(Yja(),ps(f.j.j,a),It()):d.C?du():It()}else eu=!0}catch(h){throw wt.reset(),h; }}}; gu=function(a){Ht.B.cancel();fu=a;Ht.done=!0}; hu=function(a){if(a.B)return a.B;var b=or(zt).j;if(b)switch(b.getName()){case "nis":a.B="n";break;case "gsv":a.B="m"}a.B||(a.B="h");return a.B}; iu=function(a,b,c){if(null==a.j)return b.LB|=4,!1;a=xka(a.j,c,b);b.LB|=a;return 0==a}; du=function(){var a=[new Et(Wp)],b=or(zt);b.B=a;Pja(b,function(){gu("i")})?Ht.done||(Yja(),It()):gu("i")}; yka=function(a,b){if(!a.Ib){var c=rt(a,"start",ms());c=a.HQ.j(c).j;var d={id:"lidarv"};d.r=b;d.sv="959";null!==Lt&&(d.v=Lt);Il(c,function(e,f){return d[e]="mtos"==e||"tos"==e?f:encodeURIComponent(f)}); b=bka();Il(b,function(e,f){return d[e]=encodeURIComponent(f)}); b="//pagead2.googlesyndication.com/pagead/gen_204?"+ws(vs(new us,d));Lia(b);a.Ib=!0}}; ju=function(a,b,c){Jt(Ht,[a],!ms());vja(a,c);4!=c&&uja(a.Aa,c,a.VH);return rt(a,b,ms())}; tka=function(a){$ja(function(){var b=zka();null!=a.B&&(b.sdk=a.B);var c=or(zt);null!=c.j&&(b.avms=c.j.getName());return b})}; Aka=function(a,b,c,d){var e=Jja(wt,c);null!==e&&e.Vi!==b&&(a.nH(e),e=null);e||(b=a.jF(c,Gr(),!1,b),0==wt.B.length&&(tr().C=79463069),Oja([b]),e=b,e.D=hu(a),d&&(e.Ya=d));return e}; Bka=function(a,b){var c=a[b];void 0!==c&&0document.documentMode){if(!b[c].call)throw Error("IE Clobbering detected");}else if("function"!=typeof b[c])throw Error("Clobbering detected");return b[c].apply(b,d)}; mla=function(a){if(!a)return Yu;var b=document.createElement("div").style;ila(a).forEach(function(c){var d=g.Sc&&c in jla?c:c.replace(/^-(?:apple|css|epub|khtml|moz|mso?|o|rim|wap|webkit|xv)-(?=[a-z])/i,"");fc(d,"--")||fc(d,"var")||(c=hla(kla,a,a.getPropertyValue?"getPropertyValue":"getAttribute",[c])||"",c=fla(c),null!=c&&hla(lla,b,b.setProperty?"setProperty":"setAttribute",[d,c]))}); return new g.be(b.cssText||"",Jn)}; ila=function(a){g.Za(a)?a=g.Jb(a):(a=g.fd(a),g.Fb(a,"cssText"));return a}; g.$u=function(a){var b,c=b=0,d=!1;a=a.split(nla);for(var e=0;e=c)return 0;if(1<=c)return 1;for(var d=0,e=1,f=0,h=0;8>h;h++){f=bv(a,c);var l=(bv(a,c+1E-6)-f)/1E-6;if(1E-6>Math.abs(f-b))return c;if(1E-6>Math.abs(l))break;else fh;h++)fg.kb()}; g.jv=function(a){this.j=a}; xla=function(){}; kv=function(){}; lv=function(a){this.j=a}; mv=function(){var a=null;try{a=window.localStorage||null}catch(b){}this.j=a}; yla=function(){var a=null;try{a=window.sessionStorage||null}catch(b){}this.j=a}; ov=function(a,b){this.B=a;this.j=null;if(g.$e&&!g.Rc(9)){nv||(nv=new g.Su);this.j=nv.get(a);this.j||(b?this.j=document.getElementById(b):(this.j=document.createElement("userdata"),this.j.addBehavior("#default#userData"),document.body.appendChild(this.j)),nv.set(a,this.j));try{this.j.load(this.B)}catch(c){this.j=null}}}; pv=function(a){return"_"+encodeURIComponent(a).replace(/[.!~*'()%]/g,function(b){return zla[b]})}; qv=function(a){try{a.j.save(a.B)}catch(b){throw"Storage mechanism: Quota exceeded";}}; rv=function(a,b){this.B=a;this.j=b+"::"}; g.tv=function(a){var b=new mv;return b.isAvailable()?a?new rv(b,a):b:null}; uv=function(a,b){this.j=a;this.Td=b}; vv=function(a){this.j=[];if(a)a:{if(a instanceof vv){var b=a.Ap();a=a.mm();if(0>=this.j.length){for(var c=this.j,d=0;df?1:2048>f?2:65536>f?3:4}var l=new xv.Dx(e);for(b=c=0;cf?l[c++]=f:(2048>f?l[c++]=192|f>>>6:(65536>f?l[c++]=224|f>>>12:(l[c++]=240|f>>>18,l[c++]=128|f>>>12&63),l[c++]=128|f>>> 6&63),l[c++]=128|f&63);return l}; yv=function(a){for(var b=a.length;0<=--b;)a[b]=0}; zv=function(a,b,c,d,e){this.F_=a;this.P5=b;this.O5=c;this.C5=d;this.a8=e;this.jX=a&&a.length}; Av=function(a,b){this.SV=a;this.mA=0;this.Au=b}; Bv=function(a,b){a.yg[a.pending++]=b&255;a.yg[a.pending++]=b>>>8&255}; Cv=function(a,b,c){a.Wh>16-c?(a.ej|=b<>16-a.Wh,a.Wh+=c-16):(a.ej|=b<>>=1,c<<=1;while(0<--b);return c>>>1}; Dla=function(a,b,c){var d=Array(16),e=0,f;for(f=1;15>=f;f++)d[f]=e=e+c[f-1]<<1;for(c=0;c<=b;c++)e=a[2*c+1],0!==e&&(a[2*c]=Cla(d[e]++,e))}; Ela=function(a){var b;for(b=0;286>b;b++)a.Qj[2*b]=0;for(b=0;30>b;b++)a.Bv[2*b]=0;for(b=0;19>b;b++)a.Li[2*b]=0;a.Qj[512]=1;a.Ar=a.BB=0;a.tm=a.matches=0}; Fla=function(a){8e?Iv[e]:Iv[256+(e>>>7)];Dv(a,h,c);l=Jv[h];0!==l&&(e-=Kv[h],Cv(a,e,l))}}while(da.Tq;){var m=a.Fg[++a.Tq]=2>l?++l:0;c[2*m]=1;a.depth[m]=0;a.Ar--;e&&(a.BB-=d[2*m+1])}b.mA=l;for(h=a.Tq>>1;1<=h;h--)Ev(a,c,h);m=f;do h=a.Fg[1],a.Fg[1]=a.Fg[a.Tq--],Ev(a,c,1),d=a.Fg[1],a.Fg[--a.Fz]=h,a.Fg[--a.Fz]=d,c[2*m]=c[2*h]+c[2*d],a.depth[m]=(a.depth[h]>=a.depth[d]?a.depth[h]:a.depth[d])+1,c[2*h+1]=c[2*d+1]=m,a.Fg[1]=m++,Ev(a,c,1);while(2<= a.Tq);a.Fg[--a.Fz]=a.Fg[1];h=b.SV;m=b.mA;d=b.Au.F_;e=b.Au.jX;f=b.Au.P5;var n=b.Au.O5,p=b.Au.a8,q,r=0;for(q=0;15>=q;q++)a.Cq[q]=0;h[2*a.Fg[a.Fz]+1]=0;for(b=a.Fz+1;573>b;b++){var t=a.Fg[b];q=h[2*h[2*t+1]+1]+1;q>p&&(q=p,r++);h[2*t+1]=q;if(!(t>m)){a.Cq[q]++;var u=0;t>=n&&(u=f[t-n]);var x=h[2*t];a.Ar+=x*(q+u);e&&(a.BB+=x*(d[2*t+1]+u))}}if(0!==r){do{for(q=p-1;0===a.Cq[q];)q--;a.Cq[q]--;a.Cq[q+1]+=2;a.Cq[p]--;r-=2}while(0m||(h[2*d+1]!==q&&(a.Ar+=(q- h[2*d+1])*h[2*d],h[2*d+1]=q),t--)}Dla(c,l,a.Cq)}; Jla=function(a,b,c){var d,e=-1,f=b[1],h=0,l=7,m=4;0===f&&(l=138,m=3);b[2*(c+1)+1]=65535;for(d=0;d<=c;d++){var n=f;f=b[2*(d+1)+1];++h=h?a.Li[34]++:a.Li[36]++,h=0,e=n,0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4))}}; Kla=function(a,b,c){var d,e=-1,f=b[1],h=0,l=7,m=4;0===f&&(l=138,m=3);for(d=0;d<=c;d++){var n=f;f=b[2*(d+1)+1];if(!(++h=h?(Dv(a,17,a.Li),Cv(a,h-3,3)):(Dv(a,18,a.Li),Cv(a,h-11,7));h=0;e=n;0===f?(l=138,m=3):n===f?(l=6,m=3):(l=7,m=4)}}}; Lla=function(a){var b=4093624447,c;for(c=0;31>=c;c++,b>>>=1)if(b&1&&0!==a.Qj[2*c])return 0;if(0!==a.Qj[18]||0!==a.Qj[20]||0!==a.Qj[26])return 1;for(c=32;256>c;c++)if(0!==a.Qj[2*c])return 1;return 0}; Mv=function(a,b,c){a.yg[a.VC+2*a.tm]=b>>>8&255;a.yg[a.VC+2*a.tm+1]=b&255;a.yg[a.dP+a.tm]=c&255;a.tm++;0===b?a.Qj[2*c]++:(a.matches++,b--,a.Qj[2*(Fv[c]+256+1)]++,a.Bv[2*(256>b?Iv[b]:Iv[256+(b>>>7)])]++);return a.tm===a.mE-1}; Ov=function(a,b){a.msg=Nv[b];return b}; Pv=function(a){for(var b=a.length;0<=--b;)a[b]=0}; Qv=function(a){var b=a.state,c=b.pending;c>a.Le&&(c=a.Le);0!==c&&(xv.Ly(a.output,b.yg,b.TE,c,a.vA),a.vA+=c,b.TE+=c,a.gS+=c,a.Le-=c,b.pending-=c,0===b.pending&&(b.TE=0))}; Tv=function(a,b){var c=0<=a.Mk?a.Mk:-1,d=a.Bb-a.Mk,e=0;if(0>>3;var h=a.BB+3+7>>>3;h<=f&&(f=h)}else f=h=d+5;if(d+4<=f&&-1!==c)Cv(a,b?1:0,3),Gla(a,c,d);else if(4===a.strategy||h===f)Cv(a,2+(b?1:0),3),Ila(a,Rv,Sv);else{Cv(a,4+(b?1:0),3);c=a.KI.mA+1;d=a.mH.mA+1;e+=1;Cv(a,c-257,5);Cv(a,d-1,5);Cv(a,e-4,4);for(f=0;f>>8&255;a.yg[a.pending++]=b&255}; Nla=function(a,b){var c=a.jY,d=a.Bb,e=a.vl,f=a.yY,h=a.Bb>a.aj-262?a.Bb-(a.aj-262):0,l=a.window,m=a.Hu,n=a.Xp,p=a.Bb+258,q=l[d+e-1],r=l[d+e];a.vl>=a.MW&&(c>>=2);f>a.kc&&(f=a.kc);do{var t=b;if(l[t+e]===r&&l[t+e-1]===q&&l[t]===l[d]&&l[++t]===l[d+1]){d+=2;for(t++;l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&l[++d]===l[++t]&&de){a.kA=b;e=t;if(t>=f)break;q=l[d+e-1];r=l[d+e]}}}while((b=n[b&m])>h&&0!== --c);return e<=a.kc?e:a.kc}; Yv=function(a){var b=a.aj,c;do{var d=a.M0-a.kc-a.Bb;if(a.Bb>=b+(b-262)){xv.Ly(a.window,a.window,b,b,0);a.kA-=b;a.Bb-=b;a.Mk-=b;var e=c=a.lI;do{var f=a.head[--e];a.head[e]=f>=b?f-b:0}while(--c);e=c=b;do f=a.Xp[--e],a.Xp[e]=f>=b?f-b:0;while(--c);d+=b}if(0===a.qe.dj)break;e=a.qe;c=a.window;f=a.Bb+a.kc;var h=e.dj;h>d&&(h=d);0===h?c=0:(e.dj-=h,xv.Ly(c,e.input,e.Ew,h,f),1===e.state.wrap?e.Od=Wv(e.Od,c,h,f):2===e.state.wrap&&(e.Od=Xv(e.Od,c,h,f)),e.Ew+=h,e.tx+=h,c=h);a.kc+=c;if(3<=a.kc+a.uh)for(d=a.Bb-a.uh, a.Ee=a.window[d],a.Ee=(a.Ee<a.kc+a.uh););}while(262>a.kc&&0!==a.qe.dj)}; Zv=function(a,b){for(var c;;){if(262>a.kc){Yv(a);if(262>a.kc&&0===b)return 1;if(0===a.kc)break}c=0;3<=a.kc&&(a.Ee=(a.Ee<a.Bb?a.Bb:2;return 4===b?(Tv(a,!0),0===a.qe.Le?3:4):a.tm&&(Tv(a,!1),0===a.qe.Le)?1:2}; $v=function(a,b){for(var c,d;;){if(262>a.kc){Yv(a);if(262>a.kc&&0===b)return 1;if(0===a.kc)break}c=0;3<=a.kc&&(a.Ee=(a.Ee<=a.We&&(1===a.strategy||3===a.We&&4096a.Bb?a.Bb:2;return 4===b?(Tv(a,!0),0===a.qe.Le?3:4):a.tm&&(Tv(a,!1),0===a.qe.Le)?1:2}; Ola=function(a,b){for(var c,d,e,f=a.window;;){if(258>=a.kc){Yv(a);if(258>=a.kc&&0===b)return 1;if(0===a.kc)break}a.We=0;if(3<=a.kc&&0a.kc&&(a.We=a.kc)}3<=a.We?(c=Mv(a,1,a.We-3),a.kc-=a.We,a.Bb+=a.We,a.We=0):(c=Mv(a,0,a.window[a.Bb]),a.kc--,a.Bb++);if(c&&(Tv(a,!1),0===a.qe.Le))return 1}a.uh=0;return 4=== b?(Tv(a,!0),0===a.qe.Le?3:4):a.tm&&(Tv(a,!1),0===a.qe.Le)?1:2}; Pla=function(a,b){for(var c;;){if(0===a.kc&&(Yv(a),0===a.kc)){if(0===b)return 1;break}a.We=0;c=Mv(a,0,a.window[a.Bb]);a.kc--;a.Bb++;if(c&&(Tv(a,!1),0===a.qe.Le))return 1}a.uh=0;return 4===b?(Tv(a,!0),0===a.qe.Le?3:4):a.tm&&(Tv(a,!1),0===a.qe.Le)?1:2}; aw=function(a,b,c,d,e){this.F6=a;this.Z7=b;this.r8=c;this.Y7=d;this.func=e}; Qla=function(){this.qe=null;this.status=0;this.yg=null;this.wrap=this.pending=this.TE=this.zm=0;this.Kd=null;this.Bn=0;this.method=8;this.Yz=-1;this.Hu=this.xS=this.aj=0;this.window=null;this.M0=0;this.head=this.Xp=null;this.yY=this.MW=this.strategy=this.level=this.oP=this.jY=this.vl=this.kc=this.kA=this.Bb=this.xw=this.JZ=this.We=this.Mk=this.Rq=this.Qq=this.yO=this.lI=this.Ee=0;this.Qj=new xv.rq(1146);this.Bv=new xv.rq(122);this.Li=new xv.rq(78);Pv(this.Qj);Pv(this.Bv);Pv(this.Li);this.hV=this.mH= this.KI=null;this.Cq=new xv.rq(16);this.Fg=new xv.rq(573);Pv(this.Fg);this.Fz=this.Tq=0;this.depth=new xv.rq(573);Pv(this.depth);this.Wh=this.ej=this.uh=this.matches=this.BB=this.Ar=this.VC=this.tm=this.mE=this.dP=0}; Rla=function(a,b){if(!a||!a.state||5b)return a?Ov(a,-2):-2;var c=a.state;if(!a.output||!a.input&&0!==a.dj||666===c.status&&4!==b)return Ov(a,0===a.Le?-5:-2);c.qe=a;var d=c.Yz;c.Yz=b;if(42===c.status)if(2===c.wrap)a.Od=0,Uv(c,31),Uv(c,139),Uv(c,8),c.Kd?(Uv(c,(c.Kd.text?1:0)+(c.Kd.zt?2:0)+(c.Kd.extra?4:0)+(c.Kd.name?8:0)+(c.Kd.comment?16:0)),Uv(c,c.Kd.time&255),Uv(c,c.Kd.time>>8&255),Uv(c,c.Kd.time>>16&255),Uv(c,c.Kd.time>>24&255),Uv(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Uv(c,c.Kd.os& 255),c.Kd.extra&&c.Kd.extra.length&&(Uv(c,c.Kd.extra.length&255),Uv(c,c.Kd.extra.length>>8&255)),c.Kd.zt&&(a.Od=Xv(a.Od,c.yg,c.pending,0)),c.Bn=0,c.status=69):(Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,0),Uv(c,9===c.level?2:2<=c.strategy||2>c.level?4:0),Uv(c,3),c.status=113);else{var e=8+(c.xS-8<<4)<<8;e|=(2<=c.strategy||2>c.level?0:6>c.level?1:6===c.level?2:3)<<6;0!==c.Bb&&(e|=32);c.status=113;Vv(c,e+(31-e%31));0!==c.Bb&&(Vv(c,a.Od>>>16),Vv(c,a.Od&65535));a.Od=1}if(69===c.status)if(c.Kd.extra){for(e= c.pending;c.Bn<(c.Kd.extra.length&65535)&&(c.pending!==c.zm||(c.Kd.zt&&c.pending>e&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e)),Qv(a),e=c.pending,c.pending!==c.zm));)Uv(c,c.Kd.extra[c.Bn]&255),c.Bn++;c.Kd.zt&&c.pending>e&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e));c.Bn===c.Kd.extra.length&&(c.Bn=0,c.status=73)}else c.status=73;if(73===c.status)if(c.Kd.name){e=c.pending;do{if(c.pending===c.zm&&(c.Kd.zt&&c.pending>e&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e)),Qv(a),e=c.pending,c.pending===c.zm)){var f=1;break}f=c.Bne&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e));0===f&&(c.Bn=0,c.status=91)}else c.status=91;if(91===c.status)if(c.Kd.comment){e=c.pending;do{if(c.pending===c.zm&&(c.Kd.zt&&c.pending>e&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e)),Qv(a),e=c.pending,c.pending===c.zm)){f=1;break}f=c.Bne&&(a.Od=Xv(a.Od,c.yg,c.pending-e,e));0===f&&(c.status=103)}else c.status= 103;103===c.status&&(c.Kd.zt?(c.pending+2>c.zm&&Qv(a),c.pending+2<=c.zm&&(Uv(c,a.Od&255),Uv(c,a.Od>>8&255),a.Od=0,c.status=113)):c.status=113);if(0!==c.pending){if(Qv(a),0===a.Le)return c.Yz=-1,0}else if(0===a.dj&&(b<<1)-(4>=8,c.Wh-=8)):5!==b&&(Cv(c,0,3),Gla(c,0,0),3===b&&(Pv(c.head),0===c.kc&&(c.Bb=0,c.Mk=0,c.uh=0))),Qv(a),0===a.Le))return c.Yz=-1,0}if(4!==b)return 0;if(0>=c.wrap)return 1;2===c.wrap?(Uv(c,a.Od&255),Uv(c,a.Od>>8&255),Uv(c,a.Od>>16&255),Uv(c,a.Od>>24&255),Uv(c,a.tx&255),Uv(c,a.tx>>8&255),Uv(c,a.tx>>16&255),Uv(c,a.tx>>24&255)):(Vv(c,a.Od>>>16),Vv(c,a.Od&65535));Qv(a);0a.Iu&&(a.Iu+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.qe=new Sla;this.qe.Le=0;var b=this.qe;var c=a.level,d=a.method,e=a.Iu,f=a.g8,h=a.strategy;if(b){var l=1;-1===c&&(c=6);0>e?(l=0,e=-e):15f||9e||15c||9h||4c.wrap&&(c.wrap=-c.wrap);c.status=c.wrap?42:113;b.Od=2===c.wrap?0:1;c.Yz=0;if(!Tla){d=Array(16);for(f=h=0;28>f;f++)for(Hv[f]=h,e=0;e< 1<f;f++)for(Kv[f]=h,e=0;e<1<>=7;30>f;f++)for(Kv[f]=h<<7,e=0;e<1<=e;e++)d[e]=0;for(e=0;143>=e;)Rv[2*e+1]=8,e++,d[8]++;for(;255>=e;)Rv[2*e+1]=9,e++,d[9]++;for(;279>=e;)Rv[2*e+1]=7,e++,d[7]++;for(;287>=e;)Rv[2*e+1]=8,e++,d[8]++;Dla(Rv,287,d);for(e=0;30>e;e++)Sv[2*e+1]=5,Sv[2*e]=Cla(e,5);Ula=new zv(Rv,Gv,257,286,15);Vla=new zv(Sv,Jv,0,30,15);Wla=new zv([],Xla,0,19,7);Tla=!0}c.KI=new Av(c.Qj,Ula); c.mH=new Av(c.Bv,Vla);c.hV=new Av(c.Li,Wla);c.ej=0;c.Wh=0;Ela(c);c=0}else c=Ov(b,-2);0===c&&(b=b.state,b.M0=2*b.aj,Pv(b.head),b.oP=bw[b.level].Z7,b.MW=bw[b.level].F6,b.yY=bw[b.level].r8,b.jY=bw[b.level].Y7,b.Bb=0,b.Mk=0,b.kc=0,b.uh=0,b.We=b.vl=2,b.xw=0,b.Ee=0);b=c}}else b=-2;if(0!==b)throw Error(Nv[b]);a.header&&(b=this.qe)&&b.state&&2===b.state.wrap&&(b.state.Kd=a.header);if(a.WC){var n;"string"===typeof a.WC?n=Bla(a.WC):"[object ArrayBuffer]"===Yla.call(a.WC)?n=new Uint8Array(a.WC):n=a.WC;a=this.qe; f=n;h=f.length;if(a&&a.state)if(n=a.state,b=n.wrap,2===b||1===b&&42!==n.status||n.kc)b=-2;else{1===b&&(a.Od=Wv(a.Od,f,h,0));n.wrap=0;h>=n.aj&&(0===b&&(Pv(n.head),n.Bb=0,n.Mk=0,n.uh=0),c=new xv.Dx(n.aj),xv.Ly(c,f,h-n.aj,n.aj,0),f=c,h=n.aj);c=a.dj;d=a.Ew;e=a.input;a.dj=h;a.Ew=0;a.input=f;for(Yv(n);3<=n.kc;){f=n.Bb;h=n.kc-2;do n.Ee=(n.Ee<>(0,c[6])(c[17],c[55]))%(0,c[40])(c[54]),"null")||(0,c[33])(((0,c[6])(c[62],c[new Date("1970-01-01T11:19:28.000+11:15")/1E3-Math.pow(8,4)%323]),c[23])(c[38],(0,c[4])(),c[8]),c[58],(0,c[23])(c[29],(0,c[11])(),c[8]),c[new Date("1969-12-31T12:15:20.000-11:45")/1E3],c[62]))}try{10==c[14]?(0,c[63])(c[66], c[54])-(0,c[51])(c[29]):(0,c[30])((0,c[6])(c[17],c[22]),c[65],c[17],c[43]),9!==c[-45359- -35*Math.pow(6,4)]&&(0==c[8]&&((((0,c[15])(c[16],c[14]),c[46])(c[61],(0,c[26])(),c[31]),c[3])(c[42]),"true")||(0,c[53])((0,c[53])((0,c[3])(c[42]),c[53],c[18],c[46]),c[31],c[30],c[37])),-9>c[20]&&(5>>(0,c[26])(c[19],c[27]),c[66],c[60],(0,c[14])(),c[9])),2===c[23]?((0,c[26])(c[11],c[35]),c[66])(c[new Date("1970-01-01T03:00:35.000+03:00")/1E3],(0,c[52])(),c[9]):((0,c[18])(c[0],c[71]),c[38])(c[60])}catch(d){(0,c[31])(c[13],c[60]),(0,c[59])((0,c[26])(c[55],c[51]),c[26],c[63-208%Math.pow(1,5)],c[51]),(0,c[31])(c[54],c[new Date("1969-12-31T13:31:10.000-10:30")/1E3])<= (0,c[49])(c[-200634- -196*Math.pow(4,5)]),(0,c[66])(c[35],(0,c[new Date("1970-01-01T02:45:15.000+02:45")/1E3])(),c[9])}}catch(d){return"enhanced_except_4ZkBnub-_w8_"+a}return b.join("")}; g.hw=function(a){this.name=a}; iw=function(a){this.ea=M(a)}; jw=function(a){this.ea=M(a)}; kw=function(a){this.ea=M(a)}; lw=function(a){this.ea=M(a)}; mw=function(a){this.ea=M(a)}; nw=function(a){this.ea=M(a)}; ow=function(a){this.ea=M(a)}; pw=function(a){this.ea=M(a)}; qw=function(a){this.ea=M(a)}; rw=function(a){this.ea=M(a)}; tw=function(a){this.ea=M(a)}; uw=function(a){this.ea=M(a)}; vw=function(a){this.ea=M(a)}; ww=function(a){this.ea=M(a)}; xw=function(a){this.ea=M(a)}; yw=function(a){this.ea=M(a)}; zw=function(a){this.ea=M(a)}; Aw=function(a){this.ea=M(a)}; Bw=function(a){this.ea=M(a)}; Cw=function(a){this.ea=M(a)}; Dw=function(a){this.ea=M(a)}; Ew=function(a){this.ea=M(a)}; Fw=function(a){this.ea=M(a)}; Gw=function(a){this.ea=M(a)}; Hw=function(a){this.ea=M(a)}; Iw=function(a){this.ea=M(a)}; Jw=function(a){this.ea=M(a)}; Kw=function(a){this.ea=M(a)}; Lw=function(a){this.ea=M(a)}; Mw=function(a){this.ea=M(a)}; Nw=function(a){this.ea=M(a)}; Ow=function(a){this.ea=M(a)}; Pw=function(a){this.ea=M(a)}; Qw=function(a){this.ea=M(a)}; Rw=function(a){this.ea=M(a)}; Sw=function(a){this.ea=M(a)}; Tw=function(a){this.ea=M(a)}; Uw=function(a){this.ea=M(a)}; Vw=function(a){this.ea=M(a)}; Ww=function(a){this.ea=M(a)}; Xw=function(a){this.ea=M(a)}; Yw=function(a){this.ea=M(a)}; Zw=function(a){this.ea=M(a)}; $w=function(a){this.ea=M(a)}; ax=function(a){this.ea=M(a)}; bx=function(a){this.ea=M(a)}; cx=function(a){this.ea=M(a)}; dx=function(a){this.ea=M(a)}; ex=function(a){this.ea=M(a)}; fx=function(a){this.ea=M(a)}; gx=function(a){this.ea=M(a)}; hx=function(a){this.ea=M(a)}; ix=function(a){this.ea=M(a)}; ima=function(a){this.ea=M(a)}; jx=function(a){this.ea=M(a)}; kx=function(a){this.ea=M(a)}; lx=function(a){this.ea=M(a)}; mx=function(a){this.ea=M(a)}; ox=function(a){this.ea=M(a)}; px=function(a){this.ea=M(a)}; qx=function(a){this.ea=M(a)}; rx=function(a){this.ea=M(a)}; sx=function(a){this.ea=M(a)}; tx=function(a){this.ea=M(a)}; ux=function(a){this.ea=M(a)}; vx=function(a){this.ea=M(a)}; wx=function(a){this.ea=M(a)}; xx=function(a){this.ea=M(a)}; yx=function(a){this.ea=M(a)}; zx=function(a){this.ea=M(a)}; Ax=function(a){this.ea=M(a)}; Bx=function(a){this.ea=M(a)}; Cx=function(a){this.ea=M(a)}; Dx=function(a){this.ea=M(a)}; Ex=function(a){this.ea=M(a)}; jma=function(a,b){return Wj(a,1,b)}; Fx=function(a){this.ea=M(a)}; Gx=function(a){this.ea=M(a)}; Hx=function(a){this.ea=M(a)}; Ix=function(a){this.ea=M(a)}; Jx=function(a){this.ea=M(a)}; Kx=function(a){this.ea=M(a)}; Lx=function(a){this.ea=M(a)}; Mx=function(a){this.ea=M(a)}; Nx=function(a){this.ea=M(a)}; Ox=function(a){this.ea=M(a)}; g.Px=function(a){this.ea=M(a)}; Qx=function(a){this.ea=M(a)}; Rx=function(a){this.ea=M(a)}; Sx=function(a){this.ea=M(a)}; Tx=function(a){this.ea=M(a)}; Ux=function(a){this.ea=M(a)}; Vx=function(a){this.ea=M(a)}; Wx=function(a){this.ea=M(a)}; Xx=function(a){this.ea=M(a)}; Yx=function(a){this.ea=M(a)}; Zx=function(a){this.ea=M(a)}; $x=function(a){this.ea=M(a)}; ay=function(a){this.ea=M(a)}; by=function(a){this.ea=M(a)}; cy=function(a){this.ea=M(a)}; dy=function(a){this.ea=M(a)}; ey=function(a){this.ea=M(a)}; fy=function(a){this.ea=M(a)}; gy=function(a){this.ea=M(a)}; hy=function(a){this.ea=M(a)}; iy=function(a){this.ea=M(a)}; jy=function(a){this.ea=M(a)}; ky=function(a){this.ea=M(a)}; ly=function(a){this.ea=M(a)}; my=function(a){this.ea=M(a)}; ny=function(a){this.ea=M(a)}; oy=function(a){this.ea=M(a)}; py=function(a){this.ea=M(a)}; qy=function(a){this.ea=M(a)}; ry=function(a){this.ea=M(a)}; sy=function(a){this.ea=M(a)}; ty=function(a){this.ea=M(a)}; uy=function(a){this.ea=M(a)}; vy=function(a){this.ea=M(a)}; wy=function(a){this.ea=M(a)}; yy=function(a){this.ea=M(a)}; zy=function(a){this.ea=M(a)}; Ay=function(a){this.ea=M(a)}; By=function(a){this.ea=M(a)}; Cy=function(a){this.ea=M(a)}; Dy=function(a){this.ea=M(a)}; Ey=function(a){this.ea=M(a)}; Fy=function(a){this.ea=M(a)}; Gy=function(a){this.ea=M(a)}; Hy=function(a){this.ea=M(a)}; Iy=function(a){this.ea=M(a)}; Jy=function(a){this.ea=M(a)}; Ky=function(a){this.ea=M(a)}; Ly=function(a){this.ea=M(a)}; My=function(a){this.ea=M(a)}; Ny=function(a){this.ea=M(a)}; Oy=function(a){this.ea=M(a)}; Py=function(a){this.ea=M(a)}; Qy=function(a){this.ea=M(a)}; Ry=function(a){this.ea=M(a)}; Sy=function(a){this.ea=M(a)}; Ty=function(a){this.ea=M(a)}; Uy=function(a){this.ea=M(a)}; Vy=function(a){this.ea=M(a)}; Wy=function(a){this.ea=M(a)}; Xy=function(a){this.ea=M(a)}; Yy=function(a){this.ea=M(a)}; Zy=function(a){this.ea=M(a)}; $y=function(a){this.ea=M(a)}; az=function(a){this.ea=M(a)}; bz=function(a){this.ea=M(a)}; cz=function(a){this.ea=M(a)}; dz=function(a){this.ea=M(a)}; ez=function(a){this.ea=M(a)}; fz=function(a){this.ea=M(a)}; gz=function(a){this.ea=M(a)}; hz=function(a){this.ea=M(a)}; iz=function(a){this.ea=M(a)}; jz=function(a){this.ea=M(a)}; kz=function(a){this.ea=M(a)}; lz=function(a){this.ea=M(a)}; mz=function(a){this.ea=M(a)}; nz=function(a){this.ea=M(a)}; oz=function(a){this.ea=M(a)}; pz=function(a){this.ea=M(a)}; qz=function(a){this.ea=M(a)}; rz=function(a){this.ea=M(a)}; sz=function(a){this.ea=M(a)}; tz=function(a){this.ea=M(a)}; g.uz=function(a){this.ea=M(a)}; g.vz=function(a){this.ea=M(a)}; wz=function(a){this.ea=M(a)}; xz=function(a){this.ea=M(a)}; yz=function(a){this.ea=M(a)}; zz=function(a){this.ea=M(a)}; Az=function(a){this.ea=M(a)}; Bz=function(a){this.ea=M(a)}; Cz=function(a){this.ea=M(a)}; Dz=function(a){this.ea=M(a)}; Ez=function(a){this.ea=M(a)}; Fz=function(a){this.ea=M(a)}; Gz=function(a){this.ea=M(a)}; Hz=function(a){this.ea=M(a)}; Iz=function(a){this.ea=M(a)}; Jz=function(a){this.ea=M(a)}; Kz=function(a){this.ea=M(a)}; Lz=function(a){this.ea=M(a)}; Mz=function(a){this.ea=M(a)}; Nz=function(a){this.ea=M(a)}; Oz=function(a){this.ea=M(a)}; Pz=function(a){this.ea=M(a)}; Qz=function(a){this.ea=M(a)}; Rz=function(a){this.ea=M(a)}; Sz=function(a){this.ea=M(a)}; Tz=function(a){this.ea=M(a)}; Uz=function(a){this.ea=M(a)}; Vz=function(a){this.ea=M(a)}; Wz=function(a){this.ea=M(a)}; Xz=function(a){this.ea=M(a)}; Yz=function(a){this.ea=M(a)}; Zz=function(a){this.ea=M(a)}; $z=function(a){this.ea=M(a)}; aA=function(a){this.ea=M(a)}; bA=function(a){this.ea=M(a)}; cA=function(a){this.ea=M(a)}; dA=function(a){this.ea=M(a)}; eA=function(a){this.ea=M(a)}; fA=function(a){this.ea=M(a)}; gA=function(a){this.ea=M(a)}; hA=function(a){this.ea=M(a)}; iA=function(a){this.ea=M(a)}; jA=function(a){this.ea=M(a)}; kA=function(a){this.ea=M(a)}; lA=function(a){this.ea=M(a)}; kma=function(a){this.ea=M(a)}; mA=function(a){this.ea=M(a)}; nA=function(a){this.ea=M(a)}; lma=function(a){this.ea=M(a)}; oA=function(a){this.ea=M(a)}; mma=function(a){this.ea=M(a)}; nma=function(a){this.ea=M(a)}; pA=function(a){this.ea=M(a)}; oma=function(a){this.ea=M(a)}; pma=function(a){this.ea=M(a)}; qma=function(a){this.ea=M(a)}; rma=function(a){this.ea=M(a)}; qA=function(a){this.ea=M(a)}; rA=function(a){this.ea=M(a)}; sA=function(a){this.ea=M(a)}; tA=function(a){this.ea=M(a)}; sma=function(a){this.ea=M(a)}; tma=function(a){this.ea=M(a)}; uA=function(a){this.ea=M(a)}; uma=function(a){this.ea=M(a)}; vma=function(a){this.ea=M(a)}; wma=function(a){this.ea=M(a)}; vA=function(a){this.ea=M(a)}; xma=function(a){this.ea=M(a)}; yma=function(a){this.ea=M(a)}; zma=function(a){this.ea=M(a)}; Ama=function(a){this.ea=M(a)}; Bma=function(a){this.ea=M(a)}; Cma=function(a){this.ea=M(a)}; Dma=function(a){this.ea=M(a)}; Ema=function(a){this.ea=M(a)}; Fma=function(a){this.ea=M(a)}; Gma=function(a){this.ea=M(a)}; wA=function(a){this.ea=M(a)}; Hma=function(a){this.ea=M(a)}; xA=function(a){this.ea=M(a)}; CA=function(a){this.ea=M(a)}; Ima=function(a){this.ea=M(a)}; Jma=function(a){this.ea=M(a)}; DA=function(a){this.ea=M(a)}; Kma=function(a){this.ea=M(a)}; Lma=function(a){this.ea=M(a)}; Mma=function(a){this.ea=M(a)}; Nma=function(a){this.ea=M(a)}; Oma=function(a){this.ea=M(a)}; Pma=function(a){this.ea=M(a)}; Qma=function(a){this.ea=M(a)}; Rma=function(a){this.ea=M(a)}; EA=function(a){this.ea=M(a)}; Sma=function(a){this.ea=M(a)}; Tma=function(a){this.ea=M(a)}; Uma=function(a){this.ea=M(a)}; FA=function(a){this.ea=M(a)}; Vma=function(a){this.ea=M(a)}; Wma=function(a){this.ea=M(a)}; GA=function(a){this.ea=M(a)}; HA=function(a){this.ea=M(a)}; Xma=function(a){this.ea=M(a)}; IA=function(a){this.ea=M(a)}; JA=function(a){this.ea=M(a)}; Yma=function(a){this.ea=M(a)}; KA=function(a){this.ea=M(a)}; LA=function(a){this.ea=M(a)}; Zma=function(a){this.ea=M(a)}; MA=function(a){this.ea=M(a)}; NA=function(a){this.ea=M(a)}; $ma=function(a){this.ea=M(a)}; ana=function(a){this.ea=M(a)}; OA=function(a){this.ea=M(a)}; bna=function(a){this.ea=M(a)}; cna=function(a){this.ea=M(a)}; PA=function(a){this.ea=M(a)}; dna=function(a){this.ea=M(a)}; ena=function(a){this.ea=M(a)}; fna=function(a){this.ea=M(a)}; gna=function(a){this.ea=M(a)}; hna=function(a){this.ea=M(a)}; ina=function(a){this.ea=M(a)}; jna=function(a){this.ea=M(a)}; kna=function(a){this.ea=M(a)}; lna=function(a){this.ea=M(a)}; mna=function(a){this.ea=M(a)}; QA=function(a){this.ea=M(a)}; nna=function(a){this.ea=M(a)}; ona=function(a){this.ea=M(a)}; RA=function(a){this.ea=M(a)}; pna=function(a){this.ea=M(a)}; SA=function(a){this.ea=M(a)}; TA=function(a){this.ea=M(a)}; qna=function(a){this.ea=M(a)}; rna=function(a){this.ea=M(a)}; UA=function(a){this.ea=M(a)}; sna=function(a){this.ea=M(a)}; tna=function(a,b){N(a,rA,1,b)}; VA=function(a){this.ea=M(a)}; una=function(a,b){return N(a,rA,1,b)}; WA=function(a){this.ea=M(a)}; vna=function(a,b){return N(a,rA,2,b)}; XA=function(a){this.ea=M(a)}; YA=function(a){this.ea=M(a)}; ZA=function(a){this.ea=M(a)}; $A=function(a){this.ea=M(a)}; wna=function(a){this.ea=M(a)}; aB=function(a){this.ea=M(a)}; bB=function(a){var b=new aB;return Q(b,1,a)}; cB=function(a,b){return Q(a,2,b)}; dB=function(a){this.ea=M(a)}; xna=function(a){this.ea=M(a)}; eB=function(a){this.ea=M(a)}; fB=function(a,b){Mj(a,68,aB,b)}; yna=function(a){this.ea=M(a)}; zna=function(a){this.ea=M(a)}; gB=function(a){this.ea=M(a)}; hB=function(a){this.ea=M(a)}; iB=function(a){this.ea=M(a)}; Ana=function(a){this.ea=M(a)}; jB=function(a){this.ea=M(a)}; Bna=function(a){this.ea=M(a)}; Cna=function(a){this.ea=M(a)}; Dna=function(a){this.ea=M(a)}; kB=function(a){this.ea=M(a)}; Ena=function(a){this.ea=M(a)}; Fna=function(a){this.ea=M(a)}; Gna=function(a){this.ea=M(a)}; lB=function(a){this.ea=M(a)}; Hna=function(a){this.ea=M(a)}; Ina=function(a){this.ea=M(a)}; mB=function(a){this.ea=M(a)}; nB=function(a){this.ea=M(a)}; Jna=function(a){this.ea=M(a)}; oB=function(a){this.ea=M(a)}; pB=function(a){this.ea=M(a)}; Kna=function(a){this.ea=M(a)}; qB=function(a){this.ea=M(a,492)}; Lna=function(a){this.ea=M(a)}; rB=function(a){this.ea=M(a)}; Mna=function(a){this.ea=M(a)}; Nna=function(){return g.Ta("yt.ads.biscotti.lastId_")||""}; Ona=function(a){g.Sa("yt.ads.biscotti.lastId_",a)}; tB=function(){var a=arguments;1m.status,r=500<=m.status&&600>m.status;if(n||q||r)p=toa(a,c,m,b.convertToSafeHtml);if(n)a:if(m&&204==m.status)n=!0;else{switch(c){case "XML":n=0==parseInt(p&&p.return_code,10);break a;case "RAW":n=!0;break a}n=!!p}p=p||{};q=b.context||g.Ra;n?b.onSuccess&&b.onSuccess.call(q,m,p):b.onError&&b.onError.call(q,m,p);b.onFinish&&b.onFinish.call(q,m, p)}},b.method,d,b.headers,b.responseType,b.withCredentials); d=b.timeout||0;if(b.onTimeout&&0=m||403===LB(p.xhr))return Yf(new TB("Request retried too many times","net.retryexhausted",p.xhr,p));p=Math.pow(2,c-m+1)*n;var q=0a;a++)this.B.push(0);this.C=0;this.oa=g.AC(window,"mousemove",(0,g.fb)(this.Y,this));this.Z=g.OB((0,g.fb)(this.ma,this),25)}; EC=function(a){g.J.call(this);this.N=[];this.gb=a||this}; FC=function(a,b,c,d){for(var e=0;e=f)hqa(a,m,t,h,u,b.join(),e),l=u;B.La(2);break;case 4:return B.return(Promise.reject(l))}})}; hqa=function(a,b,c,d,e,f,h){b=c-b;e?(e instanceof g.jD&&("QUOTA_EXCEEDED"===e.type||"QUOTA_MAYBE_EXCEEDED"===e.type)&&gD("QUOTA_EXCEEDED",{dbName:iD(a.j.name),objectStoreNames:f,transactionCount:a.transactionCount,transactionMode:h.mode}),e instanceof g.jD&&"UNKNOWN_ABORT"===e.type&&(c-=a.C,0>c&&c>=Math.pow(2,31)&&(c=0),gD("TRANSACTION_UNEXPECTEDLY_ABORTED",{objectStoreNames:f,transactionDuration:b,transactionCount:a.transactionCount,dbDuration:c}),a.B=!0),iqa(a,!1,d,f,b,h.tag),fD(e)):iqa(a,!0,d, f,b,h.tag)}; iqa=function(a,b,c,d,e,f){gD("TRANSACTION_ENDED",{objectStoreNames:d,connectionHasUnknownAbortedTransaction:a.B,duration:e,isSuccessful:b,tryCount:c,tag:void 0===f?"IDB_TRANSACTION_TAG_UNKNOWN":f})}; fqa=function(a){this.j=a}; g.yD=function(a,b,c){a.j.createIndex(b,c,{unique:!1})}; jqa=function(a,b){return g.zD(a,{query:b},function(c){return c.delete().then(function(){return c.continue()})}).then(function(){})}; g.lqa=function(a,b){return"getAll"in IDBObjectStore.prototype?g.pD(a.j.getAll(b,void 0)):kqa(a,b)}; kqa=function(a,b){var c=[];return g.zD(a,{query:b},function(d){c.push(d.getValue());return d.continue()}).then(function(){return c})}; nqa=function(a){return"getAllKeys"in IDBObjectStore.prototype?g.pD(a.j.getAllKeys(void 0,void 0)):mqa(a)}; mqa=function(a){var b=[];return g.oqa(a,{query:void 0},function(c){b.push(c.YH());return c.continue()}).then(function(){return b})}; g.vD=function(a,b,c){return g.pD(a.j.put(b,c))}; g.zD=function(a,b,c){a=a.j.openCursor(b.query,b.direction);return AD(a).then(function(d){return cqa(d,c)})}; g.oqa=function(a,b,c){var d=b.query;b=b.direction;a="openKeyCursor"in IDBObjectStore.prototype?a.j.openKeyCursor(d,b):a.j.openCursor(d,b);return qD(a).then(function(e){return cqa(e,c)})}; xD=function(a){var b=this;this.j=a;this.C=new Map;this.B=!1;this.done=new Promise(function(c,d){b.j.addEventListener("complete",function(){c()}); b.j.addEventListener("error",function(e){e.currentTarget===e.target&&d(b.j.error)}); b.j.addEventListener("abort",function(){var e=b.j.error;if(e)d(e);else if(!b.B){e=g.jD;for(var f=b.j.objectStoreNames,h=[],l=0;l=B},x); x.done.catch(function(B){e(B)})}catch(B){e(B)}}); h.addEventListener("success",function(){var t=h.result;m&&t.addEventListener("versionchange",function(){m(f())}); t.addEventListener("close",function(){gD("IDB_UNEXPECTEDLY_CLOSED",{dbName:iD(a),dbVersion:t.version});n&&n()}); d(f())}); h.addEventListener("error",function(){e(h.error)}); l&&h.addEventListener("blocked",function(){l()})})}; sqa=function(a,b,c){c=void 0===c?{}:c;return rqa(a,b,c)}; CD=function(a,b){b=void 0===b?{}:b;var c,d,e,f;return g.I(function(h){if(1==h.j)return g.Ca(h,2),c=self.indexedDB.deleteDatabase(a),d=b,(e=d.blocked)&&c.addEventListener("blocked",function(){e()}),g.y(h,bqa(c),4); if(2!=h.j)return g.Da(h,0);f=g.Ea(h);throw Vpa(f,a,"",-1);})}; DD=function(a,b){this.name=a;this.options=b;this.C=!0;this.G=this.D=0}; tqa=function(a,b){return new g.jD("INCOMPATIBLE_DB_VERSION",{dbName:a.name,oldVersion:a.options.version,newVersion:b})}; g.ED=function(a,b){if(!b)throw g.mD("openWithToken",iD(a.name));return a.open()}; vqa=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,g.ED(uqa,b),2);c=d.B;return d.return(g.uD(c,["databases"],{Vb:!0,mode:"readwrite"},function(e){var f=e.objectStore("databases");return f.get(a.actualName).then(function(h){if(h?a.actualName!==h.actualName||a.publicName!==h.publicName||a.userIdentifier!==h.userIdentifier:1)return g.vD(f,a).then(function(){})})}))})}; FD=function(a,b){var c;return g.I(function(d){if(1==d.j)return a?g.y(d,g.ED(uqa,b),2):d.return();c=d.B;return d.return(c.delete("databases",a))})}; wqa=function(a,b){var c,d;return g.I(function(e){return 1==e.j?(c=[],g.y(e,g.ED(uqa,b),2)):3!=e.j?(d=e.B,g.y(e,g.uD(d,["databases"],{Vb:!0,mode:"readonly"},function(f){c.length=0;return g.zD(f.objectStore("databases"),{},function(h){a(h.getValue())&&c.push(h.getValue());return h.continue()})}),3)):e.return(c)})}; xqa=function(a,b){return wqa(function(c){return c.publicName===a&&void 0!==c.userIdentifier},b)}; zqa=function(){var a,b,c,d;return g.I(function(e){switch(e.j){case 1:a=Mpa();if(null==(b=a)?0:b.hasSucceededOnce)return e.return(!0);if(GD&&gC()&&!Loa()||g.HD)return e.return(!1);try{if(c=self,!(c.indexedDB&&c.IDBIndex&&c.IDBKeyRange&&c.IDBObjectStore))return e.return(!1)}catch(f){return e.return(!1)}if(!("IDBTransaction"in self&&"objectStoreNames"in IDBTransaction.prototype))return e.return(!1);g.Ca(e,2);d={actualName:"yt-idb-test-do-not-use",publicName:"yt-idb-test-do-not-use",userIdentifier:void 0}; return g.y(e,vqa(d,yqa),4);case 4:return g.y(e,FD("yt-idb-test-do-not-use",yqa),5);case 5:return e.return(!0);case 2:return g.Ea(e),e.return(!1)}})}; Bqa=function(){if(void 0!==Aqa)return Aqa;eD=!0;return Aqa=zqa().then(function(a){eD=!1;var b;if(null!=(b=Lpa())&&b.j){var c;b={hasSucceededOnce:(null==(c=Mpa())?void 0:c.hasSucceededOnce)||a};var d;null==(d=Lpa())||d.set("LAST_RESULT_ENTRY_KEY",b,2592E3,!0)}return a})}; ID=function(){return g.Ta("ytglobal.idbToken_")||void 0}; g.JD=function(){var a=ID();return a?Promise.resolve(a):Bqa().then(function(b){(b=b?yqa:void 0)&&g.Sa("ytglobal.idbToken_",b);return b})}; Cqa=function(a){if(!g.TC())throw a=new g.jD("AUTH_INVALID",{dbName:a}),fD(a),a;var b=g.SC();return{actualName:a+":"+b,publicName:a,userIdentifier:b}}; Dqa=function(a,b,c,d){var e,f,h,l,m,n;return g.I(function(p){switch(p.j){case 1:return f=null!=(e=Error().stack)?e:"",g.y(p,g.JD(),2);case 2:h=p.B;if(!h)throw l=g.mD("openDbImpl",a,b),g.wB("ytidb_async_stack_killswitch")||(l.stack=l.stack+"\n"+f.substring(f.indexOf("\n")+1)),fD(l),l;hD(a);m=c?{actualName:a,publicName:a,userIdentifier:void 0}:Cqa(a);g.Ca(p,3);return g.y(p,vqa(m,h),5);case 5:return g.y(p,sqa(m.actualName,b,d),6);case 6:return p.return(p.B);case 3:return n=g.Ea(p),g.Ca(p,7),g.y(p,FD(m.actualName, h),9);case 9:g.Da(p,8);break;case 7:g.Ea(p);case 8:throw n;}})}; Eqa=function(a,b,c){c=void 0===c?{}:c;return Dqa(a,b,!1,c)}; Fqa=function(a,b,c){c=void 0===c?{}:c;return Dqa(a,b,!0,c)}; Gqa=function(a,b){b=void 0===b?{}:b;var c,d;return g.I(function(e){if(1==e.j)return g.y(e,g.JD(),2);if(3!=e.j){c=e.B;if(!c)return e.return();hD(a);d=Cqa(a);return g.y(e,CD(d.actualName,b),3)}return g.y(e,FD(d.actualName,c),0)})}; Hqa=function(a,b,c){a=a.map(function(d){return g.I(function(e){return 1==e.j?g.y(e,CD(d.actualName,b),2):g.y(e,FD(d.actualName,c),0)})}); return Promise.all(a).then(function(){})}; Iqa=function(a){var b=void 0===b?{}:b;var c,d;return g.I(function(e){if(1==e.j)return g.y(e,g.JD(),2);if(3!=e.j){c=e.B;if(!c)return e.return();hD(a);return g.y(e,xqa(a,c),3)}d=e.B;return g.y(e,Hqa(d,b,c),0)})}; Jqa=function(a,b){b=void 0===b?{}:b;var c;return g.I(function(d){if(1==d.j)return g.y(d,g.JD(),2);if(3!=d.j){c=d.B;if(!c)return d.return();hD(a);return g.y(d,CD(a,b),3)}return g.y(d,FD(a,c),0)})}; KD=function(a,b){DD.call(this,a,b);this.options=b;hD(a)}; Kqa=function(a,b){var c;return function(){c||(c=new KD(a,b));return c}}; g.LD=function(a,b){return Kqa(a,b)}; MD=function(a){return g.ED(Lqa(),a)}; Mqa=function(a,b,c,d){var e,f,h;return g.I(function(l){switch(l.j){case 1:return e={config:a,hashData:b,timestamp:void 0!==d?d:(0,g.rD)()},g.y(l,MD(c),2);case 2:return f=l.B,g.y(l,f.clear("hotConfigStore"),3);case 3:return g.y(l,g.wD(f,"hotConfigStore",e),4);case 4:return h=l.B,l.return(h)}})}; Nqa=function(a,b,c,d,e){var f,h,l;return g.I(function(m){switch(m.j){case 1:return f={config:a,hashData:b,configData:c,timestamp:void 0!==e?e:(0,g.rD)()},g.y(m,MD(d),2);case 2:return h=m.B,g.y(m,h.clear("coldConfigStore"),3);case 3:return g.y(m,g.wD(h,"coldConfigStore",f),4);case 4:return l=m.B,m.return(l)}})}; Oqa=function(a){var b,c;return g.I(function(d){return 1==d.j?g.y(d,MD(a),2):3!=d.j?(b=d.B,c=void 0,g.y(d,g.uD(b,["coldConfigStore"],{mode:"readwrite",Vb:!0},function(e){return g.BD(e.objectStore("coldConfigStore").index("coldTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; Pqa=function(a){var b,c;return g.I(function(d){return 1==d.j?g.y(d,MD(a),2):3!=d.j?(b=d.B,c=void 0,g.y(d,g.uD(b,["hotConfigStore"],{mode:"readwrite",Vb:!0},function(e){return g.BD(e.objectStore("hotConfigStore").index("hotTimestampIndex"),{direction:"prev"},function(f){c=f.getValue()})}),3)):d.return(c)})}; Qqa=function(){return g.I(function(a){return g.y(a,Iqa("ytGcfConfig"),0)})}; Rqa=function(){g.J.call(this);this.B=[];this.j=[];var a=g.Ta("yt.gcf.config.hotUpdateCallbacks");a?(this.B=[].concat(g.qa(a)),this.j=a):(this.j=[],g.Sa("yt.gcf.config.hotUpdateCallbacks",this.j))}; RD=function(){var a=this;this.G=!1;this.C=this.D=0;this.K=new Rqa;this.Gd={Jib:function(){a.G=!0}, Shb:function(){return a.j}, Ljb:function(b){ND(a,b)}, Jr:function(b){a.Jr(b)}, Gjb:function(b){Sqa(a,b)}, d6:function(){return a.coldHashData}, m6:function(){return a.hotHashData}, iib:function(){return a.B}, aib:function(){return OD()}, cib:function(){return PD()}, bib:function(){return g.Ta("yt.gcf.config.coldHashData")}, dib:function(){return g.Ta("yt.gcf.config.hotHashData")}, akb:function(){Tqa(a)}, zjb:function(){a.Jr(void 0);QD(a);delete RD.instance}, Ijb:function(b){a.C=b}, Xhb:function(){return a.C}}}; Uqa=function(){if(!RD.instance){var a=new RD;RD.instance=a}return RD.instance}; Xqa=function(a){var b;g.I(function(c){if(1==c.j)return g.wB("start_client_gcf")||g.wB("delete_gcf_config_db")?g.wB("start_client_gcf")?g.y(c,g.JD(),3):c.La(2):c.return();2!=c.j&&((b=c.B)&&g.TC()&&!g.wB("delete_gcf_config_db")?(a.G=!0,Tqa(a)):(Vqa(a),Wqa(a)));return g.wB("delete_gcf_config_db")?g.y(c,Qqa(),0):c.La(0)})}; SD=function(){var a;return null!=(a=PD())?a:g.uB("RAW_HOT_CONFIG_GROUP")}; Yqa=function(a){var b,c,d,e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.B)return l.return(PD());if(!a.G)return b=g.mD("getHotConfig IDB not initialized"),BB(b),l.return(Promise.reject(b));c=ID();d=g.uB("TIME_CREATED_MS");if(!c){e=g.mD("getHotConfig token error");BB(e);l.La(2);break}return g.y(l,Pqa(c),3);case 3:if((f=l.B)&&f.timestamp>d)return ND(a,f.config),a.Jr(f.hashData),l.return(PD());case 2:Wqa(a);if(!(c&&a.B&&a.hotHashData)){l.La(4);break}return g.y(l,Mqa(a.B,a.hotHashData,c,d),4);case 4:return a.B? l.return(PD()):(h=new g.RC("Config not available in ytConfig"),BB(h),l.return(Promise.reject(h)))}})}; $qa=function(a){var b,c,d,e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.j)return l.return(OD());if(!a.G)return b=g.mD("getColdConfig IDB not initialized"),BB(b),l.return(Promise.reject(b));c=ID();d=g.uB("TIME_CREATED_MS");if(!c){e=g.mD("getColdConfig");BB(e);l.La(2);break}return g.y(l,Oqa(c),3);case 3:if((f=l.B)&&f.timestamp>d)return Sqa(a,f.config),Zqa(a,f.configData),QD(a,f.hashData),l.return(OD());case 2:Vqa(a);if(!(c&&a.j&&a.coldHashData&&a.configData)){l.La(4);break}return g.y(l,Nqa(a.j, a.coldHashData,a.configData,c,d),4);case 4:return a.j?l.return(OD()):(h=new g.RC("Config not available in ytConfig"),BB(h),l.return(Promise.reject(h)))}})}; Tqa=function(a){if(!a.B||!a.j){if(!ID()){var b=g.mD("scheduleGetConfigs");BB(b)}a.D||(a.D=g.tu.Ii(function(){return g.I(function(c){switch(c.j){case 1:return g.Ca(c,2),g.y(c,Yqa(a),4);case 4:g.Da(c,3);break;case 2:g.Ea(c);case 3:return g.Ca(c,5),g.y(c,$qa(a),7);case 7:g.Da(c,6);break;case 5:g.Ea(c);case 6:a.D&&(a.D=0),g.Aa(c)}})},100))}}; ara=function(a,b,c){var d,e,f;return g.I(function(h){switch(h.j){case 1:if(!g.wB("start_client_gcf")){h.La(0);break}c&&ND(a,c);a.Jr(b);d=ID();if(!d){h.La(3);break}if(c){h.La(4);break}return g.y(h,Pqa(d),5);case 5:e=h.B,c=null==(f=e)?void 0:f.config;case 4:return g.y(h,Mqa(c,b,d),3);case 3:if(c)for(var l=c,m=g.v(a.K.j),n=m.next();!n.done;n=m.next())n=n.value,n(l);g.Aa(h)}})}; bra=function(a,b,c){var d,e,f,h;return g.I(function(l){if(1==l.j){if(!g.wB("start_client_gcf"))return l.La(0);QD(a,b);return(d=ID())?c?l.La(4):g.y(l,Oqa(d),5):l.La(0)}4!=l.j&&(e=l.B,c=null==(f=e)?void 0:f.config);if(!c)return l.La(0);h=c.configData;return g.y(l,Nqa(c,b,h,d),0)})}; cra=function(){var a=Uqa(),b=(0,g.rD)()-a.C;if(!(0!==a.C&&bDra||h=Ira&&(eE++,g.wB("abandon_compression_after_N_slow_zips")?dE===g.xB("compression_disable_point")&&eE>Jra&&(bE=!1):bE=!1);Kra(b);d.headers||(d.headers={});d.headers["Content-Encoding"]="gzip";d.postBody=a;d.postParams=void 0;e(c,d)}; Lra=function(a){var b=void 0===b?!1:b;var c=void 0===c?!1:c;var d=(0,g.rD)(),e={startTime:d,ticks:{},infos:{}},f=b?g.Ta("yt.logging.gzipForFetch",!1):!0;if(bE&&f){if(!a.body)return a;try{var h=c?a.body:"string"===typeof a.body?a.body:JSON.stringify(a.body);f=h;if(!c&&"string"===typeof h){var l=Cra(h);if(null!=l&&(l>Dra||l=Ira)if(eE++,g.wB("abandon_compression_after_N_slow_zips")||g.wB("abandon_compression_after_N_slow_zips_lr")){b=eE/dE;var n=Jra/g.xB("compression_disable_point");0=n&&(bE=!1)}else bE=!1;Kra(e)}}a.headers=Object.assign({},{"Content-Encoding":"gzip"},a.headers||{});a.body=f;return a}catch(p){return BB(p),a}}else return a}; Cra=function(a){try{return(new Blob(a.split(""))).size}catch(b){return BB(b),null}}; Kra=function(a){g.wB("gel_compression_csi_killswitch")||!g.wB("log_gel_compression_latency")&&!g.wB("log_gel_compression_latency_lr")||ura("gel_compression",a,{sampleRate:.1})}; gE=function(a){var b=this;this.OG=this.og=!1;this.potentialEsfErrorCounter=this.j=0;this.handleError=function(){}; this.Dz=function(){}; this.now=Date.now;this.aD=!1;this.Gd={Hjb:function(p){b.Gf=p}, bkb:function(){b.FB()}, Q4:function(){b.QM()}, UD:function(p){return g.I(function(q){return g.y(q,b.UD(p),0)})}, kK:function(p,q){return b.kK(p,q)}, oK:function(){b.oK()}}; var c;this.P_=null!=(c=a.P_)?c:100;var d;this.b_=null!=(d=a.b_)?d:1;var e;this.UZ=null!=(e=a.UZ)?e:2592E6;var f;this.OZ=null!=(f=a.OZ)?f:12E4;var h;this.a_=null!=(h=a.a_)?h:5E3;var l;this.Gf=null!=(l=a.Gf)?l:void 0;this.tH=!!a.tH;var m;this.XG=null!=(m=a.XG)?m:.1;var n;this.UJ=null!=(n=a.UJ)?n:10;a.handleError&&(this.handleError=a.handleError);a.Dz&&(this.Dz=a.Dz);a.aD&&(this.aD=a.aD);a.OG&&(this.OG=a.OG);this.jb=a.jb;this.Mn=a.Mn;this.wh=a.wh;this.hh=a.hh;this.sendFn=a.sendFn;this.xQ=a.xQ;this.LP= a.LP;fE(this)&&(!this.jb||this.jb("networkless_logging"))&&Mra(this)}; Mra=function(a){fE(a)&&!a.aD&&(a.og=!0,a.tH&&Math.random()<=a.XG&&a.wh.V4(a.Gf),a.oK(),a.hh.Mh()&&a.FB(),a.hh.Ta(a.xQ,a.FB.bind(a)),a.hh.Ta(a.LP,a.QM.bind(a)))}; Pra=function(a,b){if(!fE(a))throw Error("IndexedDB is not supported: updateRequestHandlers");var c=b.options.onError?b.options.onError:function(){}; b.options.onError=function(e,f){var h,l,m,n;return g.I(function(p){switch(p.j){case 1:h=Nra(f);(l=Ora(f))&&a.jb&&a.jb("web_enable_error_204")&&a.handleError(Error("Request failed due to compression"),b.url,f);if(!(a.jb&&a.jb("nwl_consider_error_code")&&h||a.jb&&!a.jb("nwl_consider_error_code")&&a.potentialEsfErrorCounter<=a.UJ)){p.La(2);break}if(!a.hh.tK){p.La(3);break}return g.y(p,a.hh.tK(),3);case 3:if(a.hh.Mh()){p.La(2);break}c(e,f);if(!a.jb||!a.jb("nwl_consider_error_code")||void 0===(null==(m= b)?void 0:m.id)){p.La(6);break}return g.y(p,a.wh.qR(b.id,a.Gf,!1),6);case 6:return p.return();case 2:if(a.jb&&a.jb("nwl_consider_error_code")&&!h&&a.potentialEsfErrorCounter>a.UJ)return p.return();a.potentialEsfErrorCounter++;if(void 0===(null==(n=b)?void 0:n.id)){p.La(8);break}return b.sendCount=a?!1:!0}; Ora=function(a){var b;a=null==a?void 0:null==(b=a.error)?void 0:b.code;return!(400!==a&&415!==a)}; Qra=function(){if(iE)return iE();var a={};iE=g.LD("LogsDatabaseV2",{wr:(a.LogsRequestsStore={Vm:2},a),shared:!1,upgrade:function(b,c,d){c(2)&&g.sD(b,"LogsRequestsStore",{keyPath:"id",autoIncrement:!0});c(3);c(5)&&(d=d.objectStore("LogsRequestsStore"),d.j.indexNames.contains("newRequest")&&d.j.deleteIndex("newRequest"),g.yD(d,"newRequestV2",["status","interface","timestamp"]));c(7)&&tD(b,"sapisid");c(9)&&tD(b,"SWHealthLog")}, version:9});return iE()}; jE=function(a){return g.ED(Qra(),a)}; Sra=function(a,b){var c,d,e,f;return g.I(function(h){if(1==h.j)return c={startTime:(0,g.rD)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_WRITE"},ticks:{}},g.y(h,jE(b),2);if(3!=h.j)return d=h.B,e=Object.assign({},a,{options:JSON.parse(JSON.stringify(a.options)),interface:g.uB("INNERTUBE_CONTEXT_CLIENT_NAME",0)}),g.y(h,g.wD(d,"LogsRequestsStore",e),3);f=h.B;c.ticks.tc=(0,g.rD)();Rra(c);return h.return(f)})}; Tra=function(a,b){var c,d,e,f,h,l,m;return g.I(function(n){if(1==n.j)return c={startTime:(0,g.rD)(),infos:{transactionType:"YT_IDB_TRANSACTION_TYPE_READ"},ticks:{}},g.y(n,jE(b),2);if(3!=n.j)return d=n.B,e=g.uB("INNERTUBE_CONTEXT_CLIENT_NAME",0),f=[a,e,0],h=[a,e,(0,g.rD)()],l=IDBKeyRange.bound(f,h),m=void 0,g.y(n,g.uD(d,["LogsRequestsStore"],{mode:"readwrite",Vb:!0},function(p){return g.BD(p.objectStore("LogsRequestsStore").index("newRequestV2"),{query:l,direction:"prev"},function(q){q.getValue()&& (m=q.getValue(),"NEW"===a&&(m.status="QUEUED",q.update(m)))})}),3); c.ticks.tc=(0,g.rD)();Rra(c);return n.return(m)})}; Ura=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,jE(b),2);c=d.B;return d.return(g.uD(c,["LogsRequestsStore"],{mode:"readwrite",Vb:!0},function(e){var f=e.objectStore("LogsRequestsStore");return f.get(a).then(function(h){if(h)return h.status="QUEUED",g.vD(f,h).then(function(){return h})})}))})}; Vra=function(a,b,c,d){c=void 0===c?!0:c;var e;return g.I(function(f){if(1==f.j)return g.y(f,jE(b),2);e=f.B;return f.return(g.uD(e,["LogsRequestsStore"],{mode:"readwrite",Vb:!0},function(h){var l=h.objectStore("LogsRequestsStore");return l.get(a).then(function(m){return m?(m.status="NEW",c&&(m.sendCount+=1),void 0!==d&&(m.options.compress=d),g.vD(l,m).then(function(){return m})):g.oD.resolve(void 0)})}))})}; Wra=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.y(d,jE(b),2);c=d.B;return d.return(c.delete("LogsRequestsStore",a))})}; Xra=function(a){var b,c;return g.I(function(d){if(1==d.j)return g.y(d,jE(a),2);b=d.B;c=(0,g.rD)()-2592E6;return g.y(d,g.uD(b,["LogsRequestsStore"],{mode:"readwrite",Vb:!0},function(e){return g.zD(e.objectStore("LogsRequestsStore"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; Yra=function(){g.I(function(a){return g.y(a,Iqa("LogsDatabaseV2"),0)})}; Rra=function(a){g.wB("nwl_csi_killswitch")||ura("networkless_performance",a,{sampleRate:1})}; $ra=function(a){return g.ED(Zra(),a)}; asa=function(a){var b,c;g.I(function(d){if(1==d.j)return g.y(d,$ra(a),2);b=d.B;c=(0,g.rD)()-2592E6;return g.y(d,g.uD(b,["SWHealthLog"],{mode:"readwrite",Vb:!0},function(e){return g.zD(e.objectStore("SWHealthLog"),{},function(f){if(f.getValue().timestamp<=c)return f.delete().then(function(){return f.continue()})})}),0)})}; bsa=function(a){var b;return g.I(function(c){if(1==c.j)return g.y(c,$ra(a),2);b=c.B;return g.y(c,b.clear("SWHealthLog"),0)})}; g.kE=function(a,b,c,d,e,f,h){e=void 0===e?"":e;f=void 0===f?!1:f;h=void 0===h?!1:h;if(a)if(c&&!g.eC()){if(a){a=g.Zd(g.Hn(a));if(a===g.de.toString()||a.startsWith("data"))a="";else{var l=void 0===l?{}:l;a instanceof g.he?l=a:(a=String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),l.vjb&&(a=a.replace(/(^|[\r\n\t ]) /g,"$1 ")),l.ujb&&(a=a.replace(/(\r\n|\n|\r)/g,"
")),l.wjb&&(a=a.replace(/(\t+)/g,'$1')), l=g.je(a));a=g.ve(g.Lm(g.ie(l).toString()))}g.gc(a)||(l=kf("IFRAME",{src:'javascript:""',style:"display:none"}),Le(l).body.appendChild(l))}}else if(e)soa(a,b,"POST",e,d);else if(g.uB("USE_NET_AJAX_FOR_PING_TRANSPORT",!1)||d||h)soa(a,b,"GET","",d,void 0,f,h);else{b:{try{var m=new Pka({url:a});if(m.C&&m.B||m.D){var n=Dl(g.Fl(5,a));var p=!(!n||!n.endsWith("/aclk")||"1"!==Ol(a,"ri"));break b}}catch(q){}p=!1}p?csa(a)?(b&&b(),l=!0):l=!1:l=!1;l||dsa(a,b)}}; csa=function(a,b){try{if(window.navigator&&window.navigator.sendBeacon&&window.navigator.sendBeacon(a,void 0===b?"":b))return!0}catch(c){}return!1}; dsa=function(a,b){var c=new Image,d=""+esa++;fsa[d]=c;c.onload=c.onerror=function(){b&&fsa[d]&&b();delete fsa[d]}; c.src=a}; gsa=function(a){if("www.googleadservices.com"!==g.Gl(a))return a;var b,c;return"function"===typeof(null==(b=document.featurePolicy)?void 0:b.features)&&(null==(c=document.featurePolicy)?0:c.features().includes("attribution-reporting"))?a+"&nis=6":a+"&nis=5"}; lE=function(){this.j=new Map;this.B=!1}; mE=function(){if(!lE.instance){var a=g.Ta("yt.networkRequestMonitor.instance")||new lE;g.Sa("yt.networkRequestMonitor.instance",a);lE.instance=a}return lE.instance}; nE=function(){hsa||(hsa=new aD("yt.offline"));return hsa}; isa=function(a){if(g.wB("offline_error_handling")){var b=nE().get("errors",!0)||{};b[a.message]={name:a.name,stack:a.stack};a.level&&(b[a.message].level=a.level);nE().set("errors",b,2592E3,!0)}}; oE=function(){g.Fd.call(this);var a=this;this.B=!1;this.j=Uka();this.j.Ta("networkstatus-online",function(){if(a.B&&g.wB("offline_error_handling")){var b=nE().get("errors",!0);if(b){for(var c in b)if(b[c]){var d=new g.RC(c,"sent via offline_errors");d.name=b[c].name;d.stack=b[c].stack;d.level=b[c].level;g.zB(d)}nE().set("errors",{},2592E3,!0)}}})}; jsa=function(){if(!oE.instance){var a=g.Ta("yt.networkStatusManager.instance")||new oE;g.Sa("yt.networkStatusManager.instance",a);oE.instance=a}return oE.instance}; g.pE=function(a){a=void 0===a?{}:a;g.Fd.call(this);var b=this;this.j=this.D=0;this.B=jsa();var c=g.Ta("yt.networkStatusManager.instance.listen").bind(this.B);c&&(a.rateLimit?(this.rateLimit=a.rateLimit,c("networkstatus-online",function(){ksa(b,"publicytnetworkstatus-online")}),c("networkstatus-offline",function(){ksa(b,"publicytnetworkstatus-offline")})):(c("networkstatus-online",function(){b.dispatchEvent("publicytnetworkstatus-online")}),c("networkstatus-offline",function(){b.dispatchEvent("publicytnetworkstatus-offline")})))}; ksa=function(a,b){a.rateLimit?a.j?(g.tu.Kj(a.D),a.D=g.tu.Ii(function(){a.C!==b&&(a.dispatchEvent(b),a.C=b,a.j=(0,g.rD)())},a.rateLimit-((0,g.rD)()-a.j))):(a.dispatchEvent(b),a.C=b,a.j=(0,g.rD)()):a.dispatchEvent(b)}; qE=function(){var a=gE.call;lsa||(lsa=new g.pE({Vib:!0,yhb:!0}));a.call(gE,this,{wh:{V4:Xra,gz:Wra,xW:Tra,V7:Ura,qR:Vra,set:Sra},hh:lsa,handleError:function(b,c,d){var e,f=null==d?void 0:null==(e=d.error)?void 0:e.code;if(400===f||415===f){var h;BB(new g.RC(b.message,c,null==d?void 0:null==(h=d.error)?void 0:h.code),void 0,void 0,void 0,!0)}else g.zB(b)}, Dz:BB,sendFn:msa,now:g.rD,N0:isa,Mn:g.YC(),xQ:"publicytnetworkstatus-online",LP:"publicytnetworkstatus-offline",tH:!0,XG:.1,UJ:g.xB("potential_esf_error_limit",10),jb:g.wB,aD:!(g.TC()&&"www.youtube-nocookie.com"!==g.Gl(document.location.toString()))});this.B=new g.Cn;g.wB("networkless_immediately_drop_all_requests")&&Yra();Jqa("LogsDatabaseV2")}; rE=function(){var a=g.Ta("yt.networklessRequestController.instance");a||(a=new qE,g.Sa("yt.networklessRequestController.instance",a),g.wB("networkless_logging")&&g.JD().then(function(b){a.Gf=b;Mra(a);a.B.resolve();a.tH&&Math.random()<=a.XG&&a.Gf&&asa(a.Gf);g.wB("networkless_immediately_drop_sw_health_store")&&nsa(a)})); return a}; nsa=function(a){var b;g.I(function(c){if(!a.Gf)throw b=g.mD("clearSWHealthLogsDb"),b;return c.return(bsa(a.Gf).catch(function(d){a.handleError(d)}))})}; msa=function(a,b,c,d){d=void 0===d?!1:d;b=g.wB("web_fp_via_jspb")?Object.assign({},b):b;g.wB("use_cfr_monitor")&&osa(a,b);if(g.wB("use_request_time_ms_header"))b.headers&&(b.headers["X-Goog-Request-Time"]=JSON.stringify(Math.round((0,g.rD)())));else{var e;if(null==(e=b.postParams)?0:e.requestTimeMs)b.postParams.requestTimeMs=Math.round((0,g.rD)())}c&&0===Object.keys(b).length?g.kE(a):b.compress?b.postBody?("string"!==typeof b.postBody&&(b.postBody=JSON.stringify(b.postBody)),cE(a,b.postBody,b,g.SB, d)):cE(a,JSON.stringify(b.postParams),b,yoa,d):g.SB(a,b)}; osa=function(a,b){var c=b.onError?b.onError:function(){}; b.onError=function(e,f){mE().requestComplete(a,!1);c(e,f)}; var d=b.onSuccess?b.onSuccess:function(){}; b.onSuccess=function(e,f){mE().requestComplete(a,!0);d(e,f)}}; g.sE=function(a){this.config_=null;a?this.config_=a:dra()&&(this.config_=g.TD())}; g.tE=function(a,b,c,d){function e(p){try{if((void 0===p?0:p)&&d.retry&&!d.networklessOptions.bypassNetworkless)f.method="POST",d.networklessOptions.writeThenSend?rE().writeThenSend(n,f):rE().sendAndWrite(n,f);else if(d.compress){var q=!d.networklessOptions.writeThenSend;if(f.postBody){var r=f.postBody;"string"!==typeof r&&(r=JSON.stringify(f.postBody));cE(n,r,f,g.SB,q)}else cE(n,JSON.stringify(f.postParams),f,yoa,q)}else g.wB("web_all_payloads_via_jspb")?g.SB(n,f):yoa(n,f)}catch(t){if("InvalidAccessError"== t.name)BB(Error("An extension is blocking network request."));else throw t;}} !g.uB("VISITOR_DATA")&&"visitor_id"!==b&&.01>Math.random()&&BB(new g.RC("Missing VISITOR_DATA when sending innertube request.",b,c,d));if(!a.isReady())throw a=new g.RC("innertube xhrclient not ready",b,c,d),g.zB(a),a;var f={headers:d.headers||{},method:"POST",postParams:c,postBody:d.postBody,postBodyFormat:d.postBodyFormat||"JSON",onTimeout:function(){d.onTimeout()}, onFetchTimeout:d.onTimeout,onSuccess:function(p,q){if(d.onSuccess)d.onSuccess(q)}, onFetchSuccess:function(p){if(d.onSuccess)d.onSuccess(p)}, onError:function(p,q){if(d.onError)d.onError(q)}, onFetchError:function(p){if(d.onError)d.onError(p)}, timeout:d.timeout,withCredentials:!0,compress:d.compress};f.headers["Content-Type"]||(f.headers["Content-Type"]="application/json");c="";var h=a.config_.uX;h&&(c=h);var l=a.config_.vX||!1;h=ora(l,c,d);Object.assign(f.headers,h);(h=f.headers.Authorization)&&!c&&l&&(f.headers["x-origin"]=window.location.origin);b="/youtubei/"+a.config_.innertubeApiVersion+"/"+b;l={alt:"json"};var m=a.config_.LO&&h;m=m&&h.startsWith("Bearer");m||(l.key=a.config_.innertubeApiKey);var n=GB(""+c+b,l);g.Ta("ytNetworklessLoggingInitializationOptions")&& psa.isNwlInitialized?Bqa().then(function(p){e(p)}):e(!1)}; g.yE=function(a,b,c){var d=g.uE();if(d&&b){var e=d.subscribe(a,function(){var f=arguments;var h=function(){vE[e]&&b.apply&&"function"==typeof b.apply&&b.apply(c||window,f)}; try{g.wE[a]?h():g.NB(h,0)}catch(l){g.zB(l)}},c); vE[e]=!0;xE[a]||(xE[a]=[]);xE[a].push(e);return e}return 0}; qsa=function(a){var b=g.yE("LOGGED_IN",function(c){a.apply(void 0,arguments);g.zE(b)})}; g.zE=function(a){var b=g.uE();b&&("number"===typeof a?a=[a]:"string"===typeof a&&(a=[parseInt(a,10)]),g.cc(a,function(c){b.unsubscribeByKey(c);delete vE[c]}))}; g.AE=function(a,b){var c=g.uE();return c?c.publish.apply(c,arguments):!1}; ssa=function(a){var b=g.uE();if(b)if(b.clear(a),a)rsa(a);else for(var c in xE)rsa(c)}; g.uE=function(){return g.Ra.ytPubsubPubsubInstance}; rsa=function(a){xE[a]&&(a=xE[a],g.cc(a,function(b){vE[b]&&delete vE[b]}),a.length=0)}; g.wsa=function(a,b,c){c=void 0===c?null:c;if(window.spf&&spf.script){c="";if(a){var d=a.indexOf("jsbin/"),e=a.lastIndexOf(".js"),f=d+6;-1f&&(c=a.substring(f,e),c=c.replace(tsa,""),c=c.replace(usa,""),c=c.replace("debug-",""),c=c.replace("tracing-",""))}spf.script.load(a,c,b)}else vsa(a,b,c)}; vsa=function(a,b,c){c=void 0===c?null:c;var d=xsa(a),e=document.getElementById(d),f=e&&cpa(e),h=e&&!f;f?b&&b():(b&&(f=g.yE(d,b),b=""+g.db(b),ysa[b]=f),h||(e=zsa(a,d,function(){if(!cpa(e)){var l=e;l&&(l.dataset?l.dataset[bpa()]="true":mga([new En(Asa[0].toLowerCase(),Bsa)],l,"data-loaded","true".toString()));g.AE(d);g.NB(g.gb(ssa,d),0)}},c)))}; zsa=function(a,b,c,d){d=void 0===d?null:d;var e=g.lf("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);g.Nn(e,g.fw(a));a=document.getElementsByTagName("head")[0]||document.body;a.insertBefore(e,a.firstChild);return e}; xsa=function(a){var b=document.createElement("a");g.Kn(b,a);a=b.href.replace(/^[a-zA-Z]+:\/\//,"//");return"js-"+ze(a)}; CE=function(a){var b=g.Ka.apply(1,arguments);if(!BE(a)||b.some(function(d){return!BE(d)}))throw Error("Only objects may be merged."); b=g.v(b);for(var c=b.next();!c.done;c=b.next())Csa(a,c.value);return a}; Csa=function(a,b){for(var c in b)if(BE(b[c])){if(c in a&&!BE(a[c]))throw Error("Cannot merge an object into a non-object.");c in a||(a[c]={});Csa(a[c],b[c])}else if(Dsa(b[c])){if(c in a&&!Dsa(a[c]))throw Error("Cannot merge an array into a non-array.");c in a||(a[c]=[]);Esa(a[c],b[c])}else a[c]=b[c];return a}; Esa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next())c=c.value,BE(c)?a.push(Csa({},c)):Dsa(c)?a.push(Esa([],c)):a.push(c);return a}; BE=function(a){return"object"===typeof a&&!Array.isArray(a)}; Dsa=function(a){return"object"===typeof a&&Array.isArray(a)}; DE=function(a){g.J.call(this);this.B=a}; EE=function(a){DE.call(this,!0);this.j=a}; Fsa=function(a,b){g.J.call(this);var c=this;this.C=[];this.N=!1;this.B=0;this.G=this.K=this.D=!1;this.ma=null;var d=(0,g.fb)(a,b);this.j=new g.Bu(function(){return d(c.ma)},300); g.L(this,this.j);this.Y=this.Z=Infinity}; Gsa=function(a,b){if(!b)return!1;for(var c=0;c=d.length&&bta(b)===d[0])return d;for(var e=[],f=0;f=a?qta||(qta=rta(function(){f();qta=void 0},0)):10<=h-m&&(sta(c,d.tier),l.D=h)}; jta=function(a,b){if("log_event"===a.endpoint){$E(a);var c=aF(a),d=new Map;d.set(c,[a.payload]);var e=gta(a.payload)||"";b&&(dF=new b);return new g.Vf(function(f,h){dF&&dF.isReady()?tta(d,dF,f,h,{bypassNetworkless:!0},!0,cF(e)):f()})}}; mta=function(a,b,c){if("log_event"===b.endpoint){$E(void 0,b);var d=aF(b,!0),e=new Map;e.set(d,[b.payload.toJSON()]);c&&(dF=new c);return new g.Vf(function(f){dF&&dF.isReady()?uta(e,dF,f,{bypassNetworkless:!0},!0,cF(a)):f()})}}; aF=function(a,b){var c="";if(a.dangerousLogToVisitorSession)c="visitorOnlyApprovedKey";else if(a.cttAuthInfo){if(void 0===b?0:b){b=a.cttAuthInfo.token;c=a.cttAuthInfo;var d=new rB;c.videoId?d.setVideoId(c.videoId):c.playlistId&&Fj(d,2,eF,Bi(c.playlistId));fF[b]=d}else b=a.cttAuthInfo,c={},b.videoId?c.videoId=b.videoId:b.playlistId&&(c.playlistId=b.playlistId),gF[a.cttAuthInfo.token]=c;c=a.cttAuthInfo.token}return c}; ota=function(a,b,c,d){a=void 0===a?{}:a;c=void 0===c?!1:c;new g.Vf(function(e,f){var h=pta(c,d),l=h.C;h.C=!1;vta(h.B);vta(h.j);h.j=0;dF&&dF.isReady()?void 0===d&&g.wB("enable_web_tiered_gel")?wta(e,f,a,b,c,300,l):wta(e,f,a,b,c,d,l):(sta(c,d),e())})}; wta=function(a,b,c,d,e,f,h){var l=dF;c=void 0===c?{}:c;e=void 0===e?!1:e;f=void 0===f?200:f;h=void 0===h?!1:h;var m=new Map,n=new Map,p={isJspb:e,cttAuthInfo:d,tier:f},q={isJspb:e,cttAuthInfo:d};if(void 0!==d)e?(b=g.wB("enable_web_tiered_gel")?YE().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):YE().extractMatchingEntries(q),m.set(d,b),uta(m,l,a,c,!1,h)):(m=g.wB("enable_web_tiered_gel")?YE().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):YE().extractMatchingEntries(q),n.set(d,m), tta(n,l,a,b,c,!1,h));else if(e){b=g.v(Object.keys(bF));for(d=b.next();!d.done;d=b.next())n=d.value,f=g.wB("enable_web_tiered_gel")?YE().smartExtractMatchingEntries({keys:[p,q],sizeLimit:1E3}):YE().extractMatchingEntries({isJspb:!0,cttAuthInfo:n}),0=Bta&&c():c()},e); d.B=e}; tta=function(a,b,c,d,e,f,h){e=void 0===e?{}:e;var l=Math.round((0,g.rD)()),m=a.size,n=Cta(h);a=g.v(a);var p=a.next();for(h={};!p.done;h={kJ:h.kJ,batchRequest:h.batchRequest,dangerousLogToVisitorSession:h.dangerousLogToVisitorSession,AJ:h.AJ,rJ:h.rJ},p=a.next()){var q=g.v(p.value);p=q.next().value;q=q.next().value;h.batchRequest=g.rd({context:g.kra(b.config_||g.TD())});if(!g.Za(q)&&!g.wB("throw_err_when_logevent_malformed_killswitch")){d();break}h.batchRequest.events=q;(q=gF[p])&&Dta(h.batchRequest, p,q);delete gF[p];h.dangerousLogToVisitorSession="visitorOnlyApprovedKey"===p;Eta(h.batchRequest,l,h.dangerousLogToVisitorSession);Fta(e);h.AJ=function(r){g.wB("start_client_gcf")&&g.tu.Ii(function(){return g.I(function(t){return g.y(t,Gta(r),0)})}); m--;m||c()}; h.kJ=0;h.rJ=function(r){return function(){r.kJ++;if(e.bypassNetworkless&&1===r.kJ)try{g.tE(b,n,r.batchRequest,Hta({writeThenSend:!0},r.dangerousLogToVisitorSession,r.AJ,r.rJ,f)),hF=!1}catch(t){g.zB(t),d()}m--;m||c()}}(h); try{g.tE(b,n,h.batchRequest,Hta(e,h.dangerousLogToVisitorSession,h.AJ,h.rJ,f)),hF=!1}catch(r){g.zB(r),d()}}}; uta=function(a,b,c,d,e,f){d=void 0===d?{}:d;var h=Math.round((0,g.rD)()),l={value:a.size},m=new Map([].concat(g.qa(a)));m=g.v(m);for(var n=m.next();!n.done;n=m.next()){var p=g.v(n.value).next().value,q=a.get(p);n=new Mna;var r=b.config_||g.TD(),t=new Vx,u=new g.Px;Q(u,1,r.KO);Q(u,2,r.JO);R(u,16,r.tX);Q(u,17,r.innertubeContextClientVersion);if(r.wI){var x=r.wI,B=new Jx;x.coldConfigData&&Q(B,1,x.coldConfigData);x.appInstallData&&Q(B,6,x.appInstallData);x.coldHashData&&Q(B,3,x.coldHashData);x.hotHashData&& B.Jr(x.hotHashData);N(u,Jx,62,B)}(x=g.Ra.devicePixelRatio)&&1!=x&&wk(u,65,x);x=Qna();""!==x&&Q(u,54,x);x=Rna();if(0Mta&&(a=1);tB("BATCH_CLIENT_COUNTER",a);return a}; Dta=function(a,b,c){if(c.videoId)var d="VIDEO";else if(c.playlistId)d="PLAYLIST";else return;a.credentialTransferTokenTargetId=c;a.context=a.context||{};a.context.user=a.context.user||{};a.context.user.credentialTransferTokens=[{token:b,scope:d}]}; $E=function(a,b){if(!g.Ta("yt.logging.transport.enableScrapingForTest")){var c=Pna("il_payload_scraping");if("enable_il_payload_scraping"===(void 0!==c?String(c):""))Nta=[],g.Sa("yt.logging.transport.enableScrapingForTest",!0),g.Sa("yt.logging.transport.scrapedPayloadsForTesting",Nta),g.Sa("yt.logging.transport.payloadToScrape","visualElementShown visualElementHidden visualElementAttached screenCreated visualElementGestured visualElementStateChanged".split(" ")),g.Sa("yt.logging.transport.getScrapedPayloadFromClientEventsFunction"), g.Sa("yt.logging.transport.scrapeClientEvent",!0);else return}c=g.Ta("yt.logging.transport.scrapedPayloadsForTesting");var d=g.Ta("yt.logging.transport.payloadToScrape");b&&(b=b.payload,(b=g.Ta("yt.logging.transport.getScrapedPayloadFromClientEventsFunction").bind(b)())&&c.push(b));b=g.Ta("yt.logging.transport.scrapeClientEvent");if(d&&1<=d.length)for(var e=0;e>3;switch(e&7){case 0:e=Iua(b);if(2===f)return e;break;case 1:if(2===f)return;d+=8;break;case 2:e=Iua(b);if(2===f)return a.substr(d,e);d+=e;break;case 5:if(2===f)return;d+=4;break;default:return}}while(db)return c;b=a();c|=(b&127)<<7;if(128>b)return c;b=a();c|=(b&127)<<14;if(128>b)return c;b=a();return 128>b?c|(b&127)<<21:Infinity}; Lua=function(a,b,c,d){if(a)if(Array.isArray(a)){var e=d;for(d=0;dMath.random()){b=b||null;c=c||null;a=a instanceof Error?a:new g.RC(a);if(a.args)for(var f=g.v(a.args),h=f.next();!h.done;h=f.next())h=h.value,h instanceof Object&&(d=Object.assign({},h,d));d.category="H5 Ads Control Flow";b&&(d.slot=b?"slot: "+b.slotType:"");c&&(d.layout=c?"layout: "+c.layoutType:"");e&&(d.known_error_aggressively_sampled=!0);a.args=[d];g.xF(a)}}; g.EG=function(a,b){this.state=a;this.AA=b}; GG=function(a,b){return g.FG(a.state,b)&&!g.FG(a.AA,b)?1:!g.FG(a.state,b)&&g.FG(a.AA,b)?-1:0}; g.HG=function(a,b){return 0e&&(b+="0"));if(0f&&(b+="0");b+=f+":";10>c&&(b+="0");d=b+c}return 0<=a?d:"-"+d}; g.PG=function(a){return(!("button"in a)||"number"!==typeof a.button||0===a.button)&&!("shiftKey"in a&&a.shiftKey)&&!("altKey"in a&&a.altKey)&&!("metaKey"in a&&a.metaKey)&&!("ctrlKey"in a&&a.ctrlKey)}; QG=function(a,b,c,d,e,f){vG.call(this,a,{I:"span",S:"ytp-ad-duration-remaining"},"ad-duration-remaining",b,c,d,e);this.videoAdDurationSeconds=f;this.B=null;this.hide()}; Awa=function(a,b,c,d){uG.call(this,a,b,c,d,"ytp-video-ad-top-bar-title","ad-title")}; RG=function(a,b){this.B=a;this.j=b}; SG=function(a,b,c){if(!a.getLength())return null!=c?c:Infinity;a=(b-a.B)/a.getLength();return g.le(a,0,1)}; TG=function(a,b){g.XF.call(this,{I:"div",S:"ytp-ad-persistent-progress-bar-container",V:[{I:"div",S:"ytp-ad-persistent-progress-bar"}]});this.api=a;this.B=b;g.L(this,this.B);this.Oc=this.Ha("ytp-ad-persistent-progress-bar");this.j=-1;this.T(a,"presentingplayerstatechange",this.onStateChange);this.hide();this.onStateChange()}; UG=function(a,b,c,d,e,f){YF.call(this,a,{I:"div",S:"ytp-ad-player-overlay",V:[{I:"div",S:"ytp-ad-player-overlay-flyout-cta"},{I:"div",S:"ytp-ad-player-overlay-instream-info"},{I:"div",S:"ytp-ad-player-overlay-skip-or-preview"},{I:"div",S:"ytp-ad-player-overlay-progress-bar"},{I:"div",S:"ytp-ad-player-overlay-instream-user-sentiment"}]},"player-overlay",b,c,d);this.Y=f;this.D=this.Ha("ytp-ad-player-overlay-flyout-cta");this.api.U().L("web_rounded_thumbnails")&&this.D.classList.add("ytp-ad-player-overlay-flyout-cta-rounded"); this.B=this.Ha("ytp-ad-player-overlay-instream-info");this.C=null;Bwa(this)&&(a=kf("div"),g.Ju(a,"ytp-ad-player-overlay-top-bar-gradients"),b=this.B,b.parentNode&&b.parentNode.insertBefore(a,b),(b=this.api.getVideoData(2))&&b.isListed&&b.title&&(c=new Awa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),c.Da(a),c.init(NF("ad-title"),{text:b.title},this.macros),g.L(this,c)),this.C=a);this.G=this.Ha("ytp-ad-player-overlay-skip-or-preview");this.Fa=this.Ha("ytp-ad-player-overlay-progress-bar"); this.oa=this.Ha("ytp-ad-player-overlay-instream-user-sentiment");this.j=e;g.L(this,this.j);this.hide()}; Bwa=function(a){a=a.api.U();return g.VG(a)&&a.B}; Cwa=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.Ml("/sharing_services",a);g.kE(d)}; g.WG=function(a){a&=16777215;var b=[(a&16711680)>>16,(a&65280)>>8,a&255];a=b[0];var c=b[1];b=b[2];a=Number(a);c=Number(c);b=Number(b);if(a!=(a&255)||c!=(c&255)||b!=(b&255))throw Error('"('+a+","+c+","+b+'") is not a valid RGB color');c=a<<16|c<<8|b;return 16>a?"#"+(16777216|c).toString(16).slice(1):"#"+c.toString(16)}; XG=function(a){this.j=new iv(a)}; Dwa=function(){var a=!1;try{a=!!window.sessionStorage.getItem("session_logininfo")}catch(b){a=!0}return g.wB("copy_login_info_to_st_cookie")&&("WEB"===g.uB("INNERTUBE_CLIENT_NAME")||"WEB_CREATOR"===g.uB("INNERTUBE_CLIENT_NAME"))&&a}; YG=function(a){if(g.uB("LOGGED_IN",!0)&&Dwa()){var b=g.uB("VALID_SESSION_TEMPDATA_DOMAINS",[]);var c=g.Gl(window.location.href);c&&b.push(c);c=g.Gl(a);g.Cb(b,c)||!c&&fc(a,"/")?(b=Hl(a),(b=cfa(b))?(b=Aua(b),b=(b=g.bC(b)||null)?EB(b):{}):b=null):b=null;null==b&&(b={});c=b;var d=void 0;Dwa()?(d||(d=g.uB("LOGIN_INFO")),d?(c.session_logininfo=d,c=!0):c=!1):c=!1;c&&zua(a,b)}}; g.Ewa=function(a){var b=void 0===b?{}:b;var c=void 0===c?"":c;var d=void 0===d?window:d;a=g.Ml(a,b);YG(a);c=g.Hn(a+c);d=d.location;c=In(c);void 0!==c&&(d.href=c)}; g.Fwa=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?!1:c;var d=g.uB("EVENT_ID");d&&(b.ei||(b.ei=d));b&&zua(a,b);c||(YG(a),(window.ytspf||{}).enabled?spf.navigate(a):g.Ewa(a))}; g.ZG=function(a,b,c,d){c&&zua(a,c);c=g.Hn(a);var e=g.Zd(c);a!=e&&BB(Error("Unsafe window.open URL: "+a));a=e;b=b||ze(a).toString(36);try{var f;if("2"===(null==(f=EB(a))?void 0:f.ase)){a=gsa(a);YG(a);g.wB("update_ytWindow_library_use_closure_window_library")?g.On(a,b,"attributionsrc"):window.open(a,b,"attributionsrc");return}}catch(l){g.zB(l)}if(d){a=gsa(a);try{var h=encodeURIComponent(d);YG(a);g.wB("update_ytWindow_library_use_closure_window_library")?g.On(a,b,"attributionsrc="+h):window.open(a,b, "attributionsrc="+h);return}catch(l){g.zB(l)}}YG(a);g.wB("update_ytWindow_library_use_closure_window_library")?g.On(c,b):window.open(a,b)}; Hwa=function(a){Gwa=a&&a.data}; Jwa=function(a){Iwa=a&&a.data}; Lwa=function(a){Kwa=a&&a.data}; Nwa=function(){Mwa=Kwa=Iwa=Gwa=null}; Pwa=function(){var a=void 0===a?window.location.href:a;if(g.wB("kevlar_disable_theme_param"))return null;Dl(g.Fl(5,a));try{var b=g.FB(a).theme;return Owa.get(b)||null}catch(c){}return null}; $G=function(){this.j={};if(this.B=Boa()){var a=g.bC("CONSISTENCY");a&&Qwa(this,{encryptedTokenJarContents:a})}}; Qwa=function(a,b){if(b.encryptedTokenJarContents&&(a.j[b.encryptedTokenJarContents]=b,"string"===typeof b.expirationSeconds)){var c=Number(b.expirationSeconds);setTimeout(function(){delete a.j[b.encryptedTokenJarContents]},1E3*c); a.B&&g.aC("CONSISTENCY",b.encryptedTokenJarContents,c,void 0,!0)}}; aH=function(){var a=g.uB("LOCATION_PLAYABILITY_TOKEN");"TVHTML5"===g.uB("INNERTUBE_CLIENT_NAME")&&(this.localStorage=Rwa(this))&&(a=this.localStorage.get("yt-location-playability-token"));a&&(this.locationPlayabilityToken=a,this.j=void 0)}; Rwa=function(a){return void 0===a.localStorage?new aD("yt-client-location"):a.localStorage}; g.bH=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;var d=g.uB("INNERTUBE_CONTEXT");if(!d)return g.wF(Error("Error: No InnerTubeContext shell provided in ytconfig.")),{};d=g.rd(d);g.wB("web_no_tracking_params_in_shell_killswitch")||delete d.clickTracking;d.client||(d.client={});var e=d.client;"MWEB"===e.clientName&&(e.clientFormFactor=g.uB("IS_TABLET")?"LARGE_FORM_FACTOR":"SMALL_FORM_FACTOR");e.screenWidthPoints=window.innerWidth;e.screenHeightPoints=window.innerHeight;e.screenPixelDensity=Math.round(window.devicePixelRatio|| 1);e.screenDensityFloat=window.devicePixelRatio||1;e.utcOffsetMinutes=-Math.floor((new Date).getTimezoneOffset());var f=void 0===f?!1:f;g.OC();var h="USER_INTERFACE_THEME_LIGHT";g.PC(0,165)?h="USER_INTERFACE_THEME_DARK":g.PC(0,174)?h="USER_INTERFACE_THEME_LIGHT":!g.wB("kevlar_legacy_browsers")&&window.matchMedia&&window.matchMedia("(prefers-color-scheme)").matches&&window.matchMedia("(prefers-color-scheme: dark)").matches&&(h="USER_INTERFACE_THEME_DARK");f=f?h:Pwa()||h;e.userInterfaceTheme=f;if(!b){if(f= Hpa())e.connectionType=f;g.wB("web_log_effective_connection_type")&&(f=Jpa())&&(d.client.effectiveConnectionType=f)}var l;if(g.wB("web_log_memory_total_kbytes")&&(null==(l=g.Ra.navigator)?0:l.deviceMemory)){var m;l=null==(m=g.Ra.navigator)?void 0:m.deviceMemory;d.client.memoryTotalKbytes=""+1E6*l}g.wB("web_gcf_hashes_innertube")&&(f=cra())&&(m=f.coldConfigData,l=f.coldHashData,f=f.hotHashData,d.client.configInfo=d.client.configInfo||{},d.client.configInfo.coldConfigData=m,d.client.configInfo.coldHashData= l,d.client.configInfo.hotHashData=f);m=g.FB(g.Ra.location.href);!g.wB("web_populate_internal_geo_killswitch")&&m.internalcountrycode&&(e.internalGeo=m.internalcountrycode);"MWEB"===e.clientName||"WEB"===e.clientName?(e.mainAppWebInfo={graftUrl:g.Ra.location.href},g.wB("kevlar_woffle")&&wpa.instance&&(m=wpa.instance,e.mainAppWebInfo.pwaInstallabilityStatus=!m.j&&m.B?"PWA_INSTALLABILITY_STATUS_CAN_BE_INSTALLED":"PWA_INSTALLABILITY_STATUS_UNKNOWN"),e.mainAppWebInfo.webDisplayMode=xpa(),e.mainAppWebInfo.isWebNativeShareAvailable= navigator&&void 0!==navigator.share):"TVHTML5"===e.clientName&&(!g.wB("web_lr_app_quality_killswitch")&&(m=g.uB("LIVING_ROOM_APP_QUALITY"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{appQuality:m})),m=g.uB("LIVING_ROOM_CERTIFICATION_SCOPE"))&&(e.tvAppInfo=Object.assign(e.tvAppInfo||{},{certificationScope:m}));if(!g.wB("web_populate_time_zone_itc_killswitch")){a:{if("undefined"!==typeof Intl)try{var n=(new Intl.DateTimeFormat).resolvedOptions().timeZone;break a}catch(H){}n=void 0}n&&(e.timeZone= n)}(n=Qna())?e.experimentsToken=n:delete e.experimentsToken;n=Rna();$G.instance||($G.instance=new $G);d.request=Object.assign({},d.request,{internalExperimentFlags:n,consistencyTokenJars:bd($G.instance.j)});!g.wB("web_prequest_context_killswitch")&&(n=g.uB("INNERTUBE_CONTEXT_PREQUEST_CONTEXT"))&&(d.request.externalPrequestContext=n);e=g.OC();n=g.PC(0,58);e=e.get("gsml","");d.user=Object.assign({},d.user);n&&(d.user.enableSafetyMode=n);e&&(d.user.lockedSafetyMode=!0);g.wB("warm_op_csn_cleanup")?c&& (b=g.tF())&&(d.clientScreenNonce=b):!b&&(b=g.tF())&&(d.clientScreenNonce=b);a&&(d.clickTracking={clickTrackingParams:a});if(a=g.Ta("yt.mdx.remote.remoteClient_"))d.remoteClient=a;aH.getInstance().setLocationOnInnerTubeContext(d);try{var p=KB(),q=p.bid;delete p.bid;d.adSignalsInfo={params:[],bid:q};for(var r=g.v(Object.entries(p)),t=r.next();!t.done;t=r.next()){var u=g.v(t.value),x=u.next().value,B=u.next().value;p=x;q=B;a=void 0;null==(a=d.adSignalsInfo.params)||a.push({key:p,value:""+q})}var F;if(g.wB("add_ifa_to_tvh5_requests")&& "TVHTML5"===(null==(F=d.client)?void 0:F.clientName)){var G=g.uB("INNERTUBE_CONTEXT");G.adSignalsInfo&&(d.adSignalsInfo.advertisingId=G.adSignalsInfo.advertisingId,d.adSignalsInfo.limitAdTracking=G.adSignalsInfo.limitAdTracking)}}catch(H){g.wF(H)}return d}; Uwa=function(a,b){if(!a)return!1;var c,d=null==(c=g.U(a,Swa))?void 0:c.signal;if(d&&b.mx)return!!b.mx[d];var e;if((c=null==(e=g.U(a,Twa))?void 0:e.request)&&b.eN)return!!b.eN[c];for(var f in a)if(b.aN[f])return!0;return!1}; Vwa=function(a,b){var c,d=null==(c=g.U(a,Swa))?void 0:c.signal;if(d&&b.mx&&(c=b.mx[d]))return c();var e;if((c=null==(e=g.U(a,Twa))?void 0:e.request)&&b.eN&&(e=b.eN[c]))return e();for(var f in a)if(b.aN[f]&&(a=b.aN[f]))return a()}; cH=function(a){return function(){return new a}}; Xwa=function(a){var b=void 0===b?"UNKNOWN_INTERFACE":b;if(1===a.length)return a[0];var c=Wwa[b];if(c){var d=new RegExp(c),e=g.v(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,d.exec(c))return c}var f=[];Object.entries(Wwa).forEach(function(h){var l=g.v(h);h=l.next().value;l=l.next().value;b!==h&&f.push(l)}); d=new RegExp(f.join("|"));a.sort(function(h,l){return h.length-l.length}); e=g.v(a);for(c=e.next();!c.done;c=e.next())if(c=c.value,!d.exec(c))return c;return a[0]}; g.dH=function(a){return"/youtubei/v1/"+Xwa(a)}; eH=function(){}; fH=function(){}; gH=function(a){return g.Ta("ytcsi."+(a||"")+"data_")||Ywa(a)}; hH=function(){var a=gH();a.info||(a.info={});return a.info}; iH=function(a){a=gH(a);a.metadata||(a.metadata={});return a.metadata}; jH=function(a){a=gH(a);a.tick||(a.tick={});return a.tick}; kH=function(a){a=gH(a);if(a.gel){var b=a.gel;b.gelInfos||(b.gelInfos={});b.gelTicks||(b.gelTicks={})}else a.gel={gelTicks:{},gelInfos:{}};return a.gel}; Zwa=function(a){a=kH(a);a.gelInfos||(a.gelInfos={});return a.gelInfos}; lH=function(a){var b=gH(a).nonce;b||(b=g.HE(16),gH(a).nonce=b);return b}; Ywa=function(a){var b={tick:{},info:{}};g.Sa("ytcsi."+(a||"")+"data_",b);return b}; $wa=function(){var a=g.Ta("ytcsi.debug");a||(a=[],g.Sa("ytcsi.debug",a),g.Sa("ytcsi.reference",{}));return a}; mH=function(a){a=a||"";var b=axa();if(b[a])return b[a];var c=$wa(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);return b[a]=d}; bxa=function(a){a=a||"";var b=axa();b[a]&&delete b[a];var c=$wa(),d={timerName:a,info:{},tick:{},span:{},jspbInfo:[]};c.push(d);b[a]=d}; axa=function(){var a=g.Ta("ytcsi.reference");if(a)return a;$wa();return g.Ta("ytcsi.reference")}; nH=function(a){return cxa[a]||"LATENCY_ACTION_UNKNOWN"}; hxa=function(a,b,c){c=kH(c);if(c.gelInfos)c.gelInfos[a]=!0;else{var d={};c.gelInfos=(d[a]=!0,d)}if(a.match("_rid")){var e=a.split("_rid")[0];a="REQUEST_ID"}if(a in dxa){c=dxa[a];g.Cb(exa,c)&&(b=!!b);a in fxa&&"string"===typeof b&&(b=fxa[a]+b.toUpperCase());a=b;b=c.split(".");for(var f=d={},h=0;h1E5*Math.random()&&(c=new g.RC("CSI data exceeded logging limit with key",b.split("_")),0<=b.indexOf("plev")||g.xF(c)),!0):!1}; jxa=function(){this.timing={};this.clearResourceTimings=function(){}; this.webkitClearResourceTimings=function(){}; this.mozClearResourceTimings=function(){}; this.msClearResourceTimings=function(){}; this.oClearResourceTimings=function(){}}; kxa=function(){var a;if(g.wB("csi_use_performance_navigation_timing")||g.wB("csi_use_performance_navigation_timing_tvhtml5")){var b,c,d,e=null==sH?void 0:null==(a=sH.getEntriesByType)?void 0:null==(b=a.call(sH,"navigation"))?void 0:null==(c=b[0])?void 0:null==(d=c.toJSON)?void 0:d.call(c);e?(e.requestStart=tH(e.requestStart),e.responseEnd=tH(e.responseEnd),e.redirectStart=tH(e.redirectStart),e.redirectEnd=tH(e.redirectEnd),e.domainLookupEnd=tH(e.domainLookupEnd),e.connectStart=tH(e.connectStart), e.connectEnd=tH(e.connectEnd),e.responseStart=tH(e.responseStart),e.secureConnectionStart=tH(e.secureConnectionStart),e.domainLookupStart=tH(e.domainLookupStart),e.isPerformanceNavigationTiming=!0,a=e):a=sH.timing}else a=sH.timing;return a}; tH=function(a){return Math.round(uH()+a)}; uH=function(){return(g.wB("csi_use_time_origin")||g.wB("csi_use_time_origin_tvhtml5"))&&sH.timeOrigin?Math.floor(sH.timeOrigin):sH.timing.navigationStart}; wH=function(a,b){vH("_start",a,b)}; lxa=function(a,b,c,d){if(null!==b){if("yt_lt"===a){var e="string"===typeof b?b:""+b;iH(c).loadType=e}(a=hxa(a,b,c))&&xH(a,c,d)}}; xH=function(a,b,c){c=void 0===c?!1:c;if(!g.wB("web_csi_action_sampling_enabled")||!gH(b).actionDisabled)if(g.wB("web_csi_via_jspb")&&!c){c=new eB;var d=Object.keys(a);a=Object.values(a);for(var e=0;e=uH()&&0c.duration?d:c},{duration:0}))&&0=c)c=!1;else{var d=lH(a);c=0!==Xua(d)%c}c&&(gH(a).actionDisabled=!0);mH(a||"").info.actionType=a;b.cttAuthInfo&&(gH(a).cttAuthInfo=b.cttAuthInfo);tB(a+"TIMING_ACTION",a);g.AB(wH)(b.startTime,a);c={actionType:nH(a)};(d=g.tF())&&"UNDEFINED_CSN"!==d&&(c.clientScreenNonce=d);g.MH(c,a);Bxa(!0,a)})()}; Jxa=function(a){g.AB(function(){Hxa(a);bxa(a);KH(a)})()}; Kxa=function(a,b,c,d){g.AB(lxa)(a,b,c,d)}; g.MH=function(a,b,c){g.AB(xH)(a,b,void 0===c?!1:c)}; OH=function(a,b,c){return g.AB(vH)(a,b,c)}; Lxa=function(a){g.AB(zxa)("above_the_fold",a,void 0)}; LH=function(a,b){return g.AB(function(){var c=jH(b);return a in c})()}; Mxa=function(a,b){return g.AB(function(){if(LH(a,b))return!1;OH(a,void 0,b);return!0})()}; PH=function(a,b,c){g.AB(function(){if(!LH("_start",c)||LH(a,c))return!1;OH(a,b,c);return!0})()}; Nxa=function(){g.AB(function(){var a=lH();requestAnimationFrame(function(){setTimeout(function(){a===lH()&&OH("ftl",void 0,void 0)},0)})})()}; Hxa=function(a){LH("_start",a)&&OH("aa",void 0,a)}; QH=function(a,b,c,d){this.wN=a;this.hh=b;this.j=c;this.D=d;this.C=void 0;this.B=new Map;a.mx||(a.mx={});a.mx=Object.assign({},Oxa,a.mx)}; Pxa=function(a,b,c,d){if(void 0!==QH.instance){if(d=QH.instance,a=[a!==d.wN,b!==d.hh,c!==d.j,!1,!1,!1,void 0!==d.C],a.some(function(e){return e}))throw new g.RC("InnerTubeTransportService is already initialized",a); }else QH.instance=new QH(a,b,c,d)}; RH=function(a,b,c){var d=void 0===d?UD:d;var e=Vwa(b,a.wN);if(!e)return Yf(new g.RC("Error: No request builder found for command.",b));var f=e.G(b,c,d);return f?(YG(f.input),new g.Vf(function(h){var l,m,n;return g.I(function(p){if(1==p.j)return m="cors"===(null==(l=f.du)?void 0:l.mode)?"cors":void 0,a.j.L_?(n=Qxa(a,f.config,m),p.La(2)):g.y(p,Rxa(a,f.config,m),3);2!=p.j&&(n=p.B);h(Sxa(a,f,n));g.Aa(p)})})):Yf(new g.RC("Error: Failed to build request for command.",b))}; g.SH=function(a,b,c,d,e){e=void 0===e?{Wu:{identity:UD}}:e;var f=void 0===f?!0:f;b.context||(b.context=g.bH(d,f));return new g.Vf(function(h){var l,m,n,p,q;return g.I(function(r){if(1==r.j)return l=Coa(c),m=IB(l)?"same-origin":"cors",a.j.L_?(n=Qxa(a,e,m),r.La(2)):g.y(r,Rxa(a,e,m),3);2!=r.j&&(n=r.B);var t=n;p=Doa(Coa(c),t);q={input:p,du:Eoa(p),Lp:b,config:e};h(Sxa(a,q,n));g.Aa(r)})})}; Uxa=function(a,b,c){var d;if(b&&!(null==b?0:null==(d=b.sequenceMetaData)?0:d.skipProcessing)&&a.D){d=g.v(Txa);for(var e=d.next();!e.done;e=d.next())e=e.value,a.D[e]&&a.D[e].handleResponse(b,c)}}; Sxa=function(a,b,c){var d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H,O,P,Y,la,oa,ua,ma,wa,ea,Ba,ba,Ua;return g.I(function(z){switch(z.j){case 1:z.La(2);break;case 3:if((d=z.B)&&!d.isExpired())return z.return(Promise.resolve(d.j()));case 2:if(!(null==(e=b)?0:null==(f=e.Lp)?0:f.context)){z.La(4);break}h=b.Lp.context;z.La(5);break;case 5:l=g.v([]),m=l.next();case 7:if(m.done){z.La(4);break}n=m.value;return g.y(z,n.xjb(h),8);case 8:m=l.next();z.La(7);break;case 4:if(null==(p=a.C)||!p.Pjb(b.input,b.Lp)){z.La(11); break}return g.y(z,a.C.Uib(b.input,b.Lp),12);case 12:return q=z.B,g.wB("kevlar_process_local_innertube_responses_killswitch")||Uxa(a,q,b),z.return(q);case 11:return(u=null==(t=b.config)?void 0:t.Wi)&&a.B.has(u)&&g.wB("web_memoize_inflight_requests")?r=a.B.get(u):(x=JSON.stringify(b.Lp),G=null!=(F=null==(B=b.du)?void 0:B.headers)?F:{},b.du=Object.assign({},b.du,{headers:Object.assign({},G,c)}),H=Object.assign({},b.du),"POST"===b.du.method&&(H=Object.assign({},H,{body:x})),(null==(O=b.config)?0:O.Xaa)&& OH(b.config.Xaa),P=function(){return a.hh.fetch(b.input,H,b.config)},r=P(),u&&a.B.set(u,r)),g.y(z,r,13); case 13:if((Y=z.B)&&"error"in Y&&(null==(la=Y)?0:null==(oa=la.error)?0:oa.details))for(ua=Y.error.details,ma=g.v(ua),wa=ma.next();!wa.done;wa=ma.next())ea=wa.value,(Ba=ea["@type"])&&-1=b||!c&&d.height>=b))return d;for(b=a.length-1;0<=b;b--)if(c&&a[b].width||!c&&a[b].height)return a[b];return a[0]}; gya=function(){this.state=1;this.j=null}; iya=function(a,b,c,d,e,f){var h=void 0===h?"trayride":h;c?(a.Bc(2),g.wsa(c,function(){if(window[h])hya(a,d,h,e);else{a.Bc(3);var l=xsa(c),m=document.getElementById(l);m&&(ssa(l),m.parentNode.removeChild(m));g.xF(new g.RC("Unable to load Botguard","from "+c))}},f)):b?(f=g.lf("SCRIPT"),b instanceof Sd?(f.textContent=rba(b),Mn(f)):f.textContent=b,f.nonce=ke(),document.head.appendChild(f),document.head.removeChild(f),window[h]?hya(a,d,h,e):(a.Bc(4),g.xF(new g.RC("Unable to load Botguard from JS")))): g.xF(new g.RC("Unable to load VM; no url or JS provided"))}; hya=function(a,b,c,d){a.Bc(5);try{var e=new Dn({program:b,globalName:c,Kaa:g.wB("att_web_record_metrics")});e.Dba.then(function(){a.Bc(6);d&&d(b)}); a.IR(e)}catch(f){a.Bc(7),f instanceof Error&&g.xF(f)}}; jya=function(a,b){var c=g.bI;a=void 0===a?{}:a;b=void 0===b?3E3:b;return c.eG()?Promise.race([new Promise(function(d,e){setTimeout(function(){setTimeout(function(){setTimeout(function(){e(Error("Timed out waiting for snapshot"))},0)},0)},b)}), new Promise(function(d){c.eG()?c.H0({uv:a}).then(d):d(null)})]):Promise.resolve(null)}; mya=function(){if(!g.wB("disable_biscotti_fetch_for_ad_blocker_detection")&&!g.wB("disable_biscotti_fetch_entirely_for_all_web_clients")&&Ooa()){var a=g.uB("PLAYER_VARS",{});if("1"!=g.od(a,"privembed",!1)&&!Soa(a)){var b=function(){kya=!0;"google_ad_status"in window?tB("DCLKSTAT",1):tB("DCLKSTAT",2)}; try{g.wsa("//static.doubleclick.net/instream/ad_status.js",b)}catch(c){}lya.push(g.tu.Ii(function(){if(!(kya||"google_ad_status"in window)){try{if(b){var c=""+g.db(b),d=ysa[c];d&&g.zE(d)}}catch(e){}kya=!0;tB("DCLKSTAT",3)}},5E3))}}}; nya=function(){var a=Number(g.uB("DCLKSTAT",0));return isNaN(a)?0:a}; cI=function(){var a=g.Ta("yt.abuse.playerAttLoader");return a&&["bgvma","bgvmb","bgvmc"].every(function(b){return b in a})?a:null}; dI=function(){gya.apply(this,arguments)}; eI=function(){}; oya=function(a,b,c){for(var d=!1,e=g.v(a.Fl.entries()),f=e.next();!f.done;f=e.next())f=g.v(f.value).next().value,"SLOT_TYPE_PLAYER_BYTES"===f.slotType&&"core"===f.Za&&(d=!0);if(d){a:if(!c){a=g.v(a.Fl.entries());for(c=a.next();!c.done;c=a.next())if(d=g.v(c.value),c=d.next().value,d=d.next().value,"SLOT_TYPE_IN_PLAYER"===c.slotType&&"core"===c.Za){c=d.layoutId;break a}c=void 0}c?b.rO(c):DG("No triggering layout ID available when attempting to mute.")}}; fI=function(a,b){this.sj=a;this.bl=b}; gI=function(){}; hI=function(){}; kI=function(a){g.J.call(this);var b=this;this.Hd=a;this.Cf=new Map;this.j=new Map;iI(this,"commandExecutorCommand",function(c,d,e){b.Zg(c.commands,d,e)}); jI(this,"commandExecutorCommand",function(c,d,e){pya(b,c.commands,d,e)}); iI(this,"clickTrackingParams",function(){}); jI(this,"clickTrackingParams",function(){})}; qya=function(a,b){iI(a,b.yp(),function(c,d,e){d=void 0===d?{}:d;e=void 0===e?{}:e;b.handle(c,d,e)})}; rya=function(a,b){jI(a,b.yp(),function(c,d,e){b.qt(c,d,e)})}; iI=function(a,b,c){a.isDisposed();a.Cf.get(b)&&g.wF(Error("Extension name "+b+" already registered"));a.Cf.set(b,c)}; jI=function(a,b,c){a.isDisposed();a.j.get(b)&&g.wF(Error("Extension name "+b+" already registered"));a.j.set(b,c)}; pya=function(a,b,c,d){b=void 0===b?[]:b;a.isDisposed();var e=[],f=[],h=g.v(b);for(b=h.next();!b.done;b=h.next())b=b.value,g.U(b,sya)||g.U(b,tya)?e.push(b):f.push(b);e=g.v(e);for(b=e.next();!b.done;b=e.next())lI(a,b.value,c,d);f=g.v(f);for(b=f.next();!b.done;b=f.next())lI(a,b.value,c,d)}; uya=function(a,b){a.Hd.get().Qa("innertubeCommand",{openPopupAction:b})}; vya=function(a,b){a.Hd.get().Qa("innertubeCommand",{confirmDialogEndpoint:b})}; lI=function(a,b,c,d){a.isDisposed();b.loggingUrls&&wya(a,"loggingUrls",b.loggingUrls,c,d);b=g.v(Object.entries(b));for(var e=b.next();!e.done;e=b.next()){var f=g.v(e.value);e=f.next().value;f=f.next().value;"openPopupAction"===e?uya(a,f):"confirmDialogEndpoint"===e?vya(a,f):xya.hasOwnProperty(e)||wya(a,e,f,c,d)}}; yya=function(a,b,c,d,e){e=void 0===e?{}:e;if((a=a.Cf.get(b))&&"function"===typeof a)try{a(c,d,e)}catch(f){g.wF(f)}else b=new g.RC("Unhandled field",b),g.xF(b)}; wya=function(a,b,c,d,e){if((a=a.j.get(b))&&"function"===typeof a)try{a(c,d,e)}catch(f){g.wF(f)}else b=new g.RC("Unhandled field",b),g.xF(b)}; mI=function(a,b,c){this.Xn=a;this.uaa=b;this.Pa=c}; nI=function(a){this.value=a}; oI=function(a){this.value=a}; pI=function(a){this.value=a}; zya=function(a){this.value=a}; qI=function(a){this.value=a}; rI=function(a){this.value=a}; Aya=function(){nI.apply(this,arguments)}; Bya=function(a){this.value=a}; Cya=function(a){this.value=a}; Dya=function(a){this.value=a}; Eya=function(a){this.value=a}; Fya=function(a){this.value=a}; sI=function(a){this.value=a}; tI=function(a){this.value=a}; uI=function(a){this.value=a}; vI=function(a){this.value=a}; wI=function(a){this.value=a}; xI=function(){nI.apply(this,arguments)}; yI=function(a){this.value=a}; zI=function(a){this.value=a}; AI=function(a){this.value=a}; BI=function(a){this.value=a}; CI=function(a){this.value=a}; Gya=function(a){this.value=a}; DI=function(a){this.value=a}; Hya=function(a){this.value=a}; Iya=function(a){this.value=a}; Jya=function(a){this.value=a}; Kya=function(a){this.value=a}; EI=function(a){this.value=a}; FI=function(a){this.value=a}; GI=function(a){this.value=a}; HI=function(a){this.value=a}; Lya=function(a){this.value=a}; II=function(a){this.value=a}; JI=function(a){this.value=a}; KI=function(a){this.value=a}; Mya=function(a){this.value=a}; LI=function(a){this.value=a}; MI=function(a){this.value=a}; NI=function(a){this.value=a}; OI=function(a){this.value=a}; PI=function(a){this.value=a}; QI=function(a){this.value=a}; RI=function(a){this.value=a}; SI=function(a){this.value=a}; TI=function(a){this.value=a}; Nya=function(a){this.value=a}; UI=function(a){this.value=a}; VI=function(a){this.value=a}; WI=function(a){this.value=a}; Oya=function(a){this.value=a}; XI=function(a){this.value=a}; YI=function(a){this.value=a}; ZI=function(a){this.value=a}; $I=function(){nI.apply(this,arguments)}; Pya=function(a){this.value=a}; aJ=function(){nI.apply(this,arguments)}; bJ=function(){nI.apply(this,arguments)}; Qya=function(){nI.apply(this,arguments)}; cJ=function(){nI.apply(this,arguments)}; Rya=function(a){this.value=a}; dJ=function(a){this.value=a}; Sya=function(a){this.value=a}; fJ=function(a,b,c){if(c&&!c.includes(a.layoutType))return!1;b=g.v(b);for(c=b.next();!c.done;c=b.next())if(!eJ(a.Ca,c.value))return!1;return!0}; gJ=function(){return""}; Tya=function(a,b){switch(a){case "TRIGGER_CATEGORY_LAYOUT_EXIT_NORMAL":return 0;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED":return 1;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED":return 2;case "TRIGGER_CATEGORY_SLOT_EXPIRATION":return 3;case "TRIGGER_CATEGORY_SLOT_FULFILLMENT":return 4;case "TRIGGER_CATEGORY_SLOT_ENTRY":return 5;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_INPUT_SUBMITTED":return 6;case "TRIGGER_CATEGORY_LAYOUT_EXIT_USER_CANCELLED":return 7;default:return b(a),8}}; hJ=function(a,b,c,d){d=void 0===d?!1:d;ub.call(this,a);this.Jk=c;this.Uu=d;this.args=[];b&&this.args.push(b)}; iJ=function(a,b,c,d){d=void 0===d?!1:d;ub.call(this,a);this.Jk=c;this.Uu=d;this.args=[];b&&this.args.push(b)}; jJ=function(a){var b=new Map;a.forEach(function(c){b.set(c.getType(),c)}); this.j=b}; eJ=function(a,b){return a.j.has(b)}; kJ=function(a,b){a=a.j.get(b);if(void 0!==a)return a.get()}; lJ=function(a){return Array.from(a.j.keys())}; mJ=function(a,b,c){if(c&&c!==a.slotType)return!1;b=g.v(b);for(c=b.next();!c.done;c=b.next())if(!eJ(a.Ca,c.value))return!1;return!0}; Vya=function(a){var b;return(null==(b=Uya.get(a))?void 0:b.ox)||"ADS_CLIENT_EVENT_TYPE_UNSPECIFIED"}; Xya=function(a,b){var c={type:b.slotType,controlFlowManagerLayer:Wya.get(b.Za)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"};b.slotEntryTrigger&&(c.entryTriggerType=b.slotEntryTrigger.triggerType);1!==b.slotPhysicalPosition&&(c.slotPhysicalPosition=b.slotPhysicalPosition);if(a){c.debugData={slotId:b.slotId};if(a=b.slotEntryTrigger)c.debugData.slotEntryTriggerData=nJ(a);a=b.slotFulfillmentTriggers;c.debugData.fulfillmentTriggerData=[];a=g.v(a);for(var d=a.next();!d.done;d=a.next())c.debugData.fulfillmentTriggerData.push(nJ(d.value)); b=b.slotExpirationTriggers;c.debugData.expirationTriggerData=[];b=g.v(b);for(a=b.next();!a.done;a=b.next())c.debugData.expirationTriggerData.push(nJ(a.value))}return c}; Yya=function(a,b){var c={type:b.layoutType,controlFlowManagerLayer:Wya.get(b.Za)||"CONTROL_FLOW_MANAGER_LAYER_UNSPECIFIED"};a&&(c.debugData={layoutId:b.layoutId});return c}; nJ=function(a,b){var c={type:a.triggerType};null!=b&&(c.category=b);null!=a.triggeringSlotId&&(c.triggerSourceData||(c.triggerSourceData={}),c.triggerSourceData.associatedSlotId=a.triggeringSlotId);null!=a.triggeringLayoutId&&(c.triggerSourceData||(c.triggerSourceData={}),c.triggerSourceData.associatedLayoutId=a.triggeringLayoutId);return c}; Zya=function(a,b,c,d){b={opportunityType:b};a&&(d||c)&&(d=g.lr(d||[],function(e){return Xya(a,e)}),b.debugData=Object.assign({},c&&0=b?b:0;this.j=a=a.B.length+1||0>c)DG("Unexpected target sublayout index",a.slot,a.layout,{targetSubLayoutIndex:c});else{a.j=c;if(c===a.B.length){var e=a.Xa.get().mf(1).clientPlaybackNonce;AK(a.D,a.layout)}else e=a.B[c].ub().layoutId;a.Nc.get().finishSegmentByCpn(b.layoutId,e)}})}; aBa=function(a,b,c,d){zK(a,b,c,"skipped",function(){dBa(a,d)})}; zK=function(a,b,c,d,e){if(!a.K){var f=a.B[a.j];f?(f.ub().layoutId!==c.layoutId&&DG("SubLayout mismatch in exitSubLayout",b,c,{exitingSubLayout:c.layoutId,activeSubLayout:f.ub().layoutId}),a.K=!0,f.tf(f.ub(),d),kza(a.C,b,c,d),a.K=!1,a.G=!1,a.Z?(a.Z(),fBa(a.Qc.get())):e()):DG("No active adapter when exitSubLayout in PlayerBytesVodCompositeLayoutRenderingAdapter. This should never happen.",b,c)}}; dBa=function(a,b){a.j===a.B.length-1?(a.j++,AK(a.D,a.layout),fBa(a.Qc.get())):gBa(a,b)}; gBa=function(a,b){if(-1===a.j&&(a.callback.Ic(a.slot,a.layout),0=1.3*Math.floor(16*f/9)||a>=1.3*f)return b;b=e}return"tiny"}; MK=function(a,b,c){c=void 0===c?{}:c;this.id=a;this.mimeType=b;0=b)return c}catch(d){}return-1}; eL=function(a,b){return 0<=dL(a,b)}; xBa=function(a,b){if(!a)return NaN;b=dL(a,b);return 0<=b?a.start(b):NaN}; fL=function(a,b){if(!a)return NaN;b=dL(a,b);return 0<=b?a.end(b):NaN}; gL=function(a){return a&&a.length?a.end(a.length-1):NaN}; hL=function(a,b){a=fL(a,b);return 0<=a?a-b:0}; iL=function(a,b,c){for(var d=[],e=[],f=0;fc||(d.push(Math.max(b,a.start(f))-b),e.push(Math.min(c,a.end(f))-b));return bL(d,e)}; jL=function(a,b,c,d){g.PF.call(this);var e=this;this.Md=a;this.start=b;this.end=c;this.isActive=d;this.appendWindowStart=0;this.appendWindowEnd=Infinity;this.timestampOffset=0;this.YW={error:function(){!e.isDisposed()&&e.isActive&&e.ra("error",e)}, updateend:function(){!e.isDisposed()&&e.isActive&&e.ra("updateend",e)}}; g.QF(this.Md,this.YW);this.fG=this.isActive}; kL=function(a,b,c,d,e,f){g.PF.call(this);var h=this;this.dc=a;this.ih=b;this.id=c;this.containerType=d;this.tb=e;this.gh=f;this.gP=this.jE=this.Lf=null;this.ZG=!1;this.appendWindowStart=this.timestampOffset=0;this.LM=bL([],[]);this.NC=!1;this.iE=[];this.kB=yBa?[]:void 0;this.Cd=function(m){return h.ra(m.type,h)}; var l;if(null==(l=this.dc)?0:l.addEventListener)this.dc.addEventListener("updateend",this.Cd),this.dc.addEventListener("error",this.Cd)}; lL=function(){return window.SourceBuffer?!!SourceBuffer.prototype.changeType:!1}; mL=function(a,b){this.resource=a;this.j=void 0===b?!1:b;this.B=!1}; nL=function(a,b,c){c=void 0===c?!1:c;g.J.call(this);this.mediaElement=a;this.Ua=b;this.isView=c;this.K=0;this.D=!1;this.G=!0;this.Y=0;this.callback=null;this.Z=!1;this.Ua||(this.ih=this.mediaElement.zb());this.events=new g.GK(this);g.L(this,this.events);this.C=new mL(this.Ua?window.URL.createObjectURL(this.Ua):this.ih.webkitMediaSourceURL,!0);a=this.Ua||this.ih;FC(this.events,a,["sourceopen","webkitsourceopen"],this.G$);FC(this.events,a,["sourceclose","webkitsourceclose"],this.F$);this.N={updateend:this.b3}}; zBa=function(){return!!(window.MediaSource||oL&&window.ManagedMediaSource||window.WebKitMediaSource||window.HTMLMediaElement&&HTMLMediaElement.prototype.webkitSourceAddId)}; ABa=function(a,b){pL(a)?g.Tf(function(){b(a)}):a.callback=b}; CBa=function(a,b,c){if(BBa){var d;qL(a.mediaElement,{l:"mswssb",sr:null==(d=a.mediaElement.qa)?void 0:rL(d)},!1);g.QF(b,a.N,a);g.QF(c,a.N,a)}a.j=b;a.B=c;g.L(a,b);g.L(a,c)}; DBa=function(a,b,c,d){d=b.mimeType+(void 0===d?"":d);var e=c.mimeType;b=b.tb;c=c.tb;var f,h=null==(f=a.Ua)?void 0:f.addSourceBuffer(e),l;f="fakesb"===d.split(";")[0]?void 0:null==(l=a.Ua)?void 0:l.addSourceBuffer(d);a.ih&&(a.ih.webkitSourceAddId("0",e),a.ih.webkitSourceAddId("1",d));l=new kL(h,a.ih,"0",mBa(e),c,!1);d=new kL(f,a.ih,"1",mBa(d),b,!0);CBa(a,l,d)}; sL=function(a){return!!a.j||!!a.B}; pL=function(a){try{return"open"===tL(a)}catch(b){return!1}}; tL=function(a){if(a.Ua)return a.Ua.readyState;switch(a.ih.webkitSourceState){case a.ih.SOURCE_OPEN:return"open";case a.ih.SOURCE_ENDED:return"ended";default:return"closed"}}; EBa=function(){return!(!window.MediaSource||!window.MediaSource.isTypeSupported)||oL&&window.ManagedMediaSource}; FBa=function(a){pL(a)&&(a.Ua?a.Ua.endOfStream():a.ih.webkitSourceEndOfStream(a.ih.EOS_NO_ERROR))}; GBa=function(a,b,c,d){if(!a.j||!a.B)return null;var e=a.j.isView()?a.j.Md:a.j,f=a.B.isView()?a.B.Md:a.B,h=new nL(a.mediaElement,a.Ua,!0);h.C=a.C;CBa(h,new jL(e,b,c,d),new jL(f,b,c,d));pL(a)||a.j.fq(a.j.Pc());return h}; HBa=function(a){var b;null==(b=a.j)||b.Sy();var c;null==(c=a.B)||c.Sy();a.G=!1}; uL=function(){var a=this;this.QZ=this.XZ=paa;this.promise=new g.Vf(function(b,c){a.XZ=b;a.QZ=c})}; vL=function(){g.J.call(this);this.tI=!1;this.resource=null;this.N=this.K=!1;this.D=new g.Fd;this.qa=null;g.L(this,this.D)}; IBa=function(a){a=a.HD();return 1>a.length?NaN:a.end(a.length-1)}; JBa=function(a){!a.B&&zBa()&&(a.C?a.C.then(function(){return JBa(a)}):a.Hf()||(a.B=a.Lq()))}; KBa=function(a){a.B&&(a.B.dispose(),a.B=void 0)}; qL=function(a,b,c){var d;(null==(d=a.qa)?0:d.Lc())&&a.qa.va("rms",b,void 0===c?!1:c)}; LBa=function(a,b,c){a.isPaused()||a.getCurrentTime()>b||10=.25*d||c)&&a.Rc("first_quartile"),(b>=.5*d||c)&&a.Rc("midpoint"),(b>=.75*d||c)&&a.Rc("third_quartile"),a=a.Faa,b*=1E3,c=a.G())){for(;a.De&&h.YF(p,e-d);return p}; lCa=function(a,b){var c=kJ(b.Ca,"metadata_type_sodar_extension_data");if(c)try{Eza(0,c)}catch(d){DG("Unexpected error when loading Sodar",a,b,{error:d})}}; nCa=function(a,b,c,d,e,f){mCa(a,b,new g.EG(c,new g.xL),d,e,!1,f)}; mCa=function(a,b,c,d,e,f,h){f=void 0===f?!0:f;hBa(c)&&BK(e,0,null)&&(!nK(a,"impression")&&h&&h(),a.Rc("impression"));nK(a,"impression")&&(g.HG(c,4)&&!g.HG(c,2)&&a.Ch("pause"),0>GG(c,4)&&!(0>GG(c,2))&&a.Ch("resume"),g.HG(c,16)&&.5<=e&&a.Ch("seek"),f&&g.HG(c,2)&&oCa(a,c.state,b,d,e))}; oCa=function(a,b,c,d,e,f,h){if(nK(a,"impression")){var l=1>=Math.abs(d-e);pCa(a,b,l?d:e,c,d,f,h&&l);l&&a.Rc("complete")}}; pCa=function(a,b,c,d,e,f,h){mK(a,1E3*c,h);0>=e||0>=c||(null==b?0:g.FG(b,16))||(null==b?0:g.FG(b,32))||(BK(c,.25*e,d)&&(f&&!nK(a,"first_quartile")&&f("first"),a.Rc("first_quartile")),BK(c,.5*e,d)&&(f&&!nK(a,"midpoint")&&f("second"),a.Rc("midpoint")),BK(c,.75*e,d)&&(f&&!nK(a,"third_quartile")&&f("third"),a.Rc("third_quartile")))}; qCa=function(a,b){nK(a,"impression")&&a.Ch(b?"fullscreen":"end_fullscreen")}; rCa=function(a){nK(a,"impression")&&a.Ch("clickthrough")}; sCa=function(a){a.Ch("active_view_measurable")}; tCa=function(a){nK(a,"impression")&&!nK(a,"seek")&&a.Ch("active_view_fully_viewable_audible_half_duration")}; uCa=function(a){nK(a,"impression")&&!nK(a,"seek")&&a.Ch("active_view_viewable")}; vCa=function(a){nK(a,"impression")&&!nK(a,"seek")&&a.Ch("audio_audible")}; wCa=function(a){nK(a,"impression")&&!nK(a,"seek")&&a.Ch("audio_measurable")}; xCa=function(a,b,c,d,e,f,h,l,m,n,p,q){this.callback=a;this.slot=b;this.layout=c;this.Nc=d;this.qb=e;this.Ja=f;this.xe=h;this.Gb=l;this.sf=m;this.Ga=n;this.Pa=p;this.Xa=q;this.AI=!0;this.Xc=this.Jc=null;this.adCpn=void 0}; yCa=function(a,b,c){var d;a.Pa.get().oi("ads_qua","cpn."+kJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Xa.get().mf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; zCa=function(a,b){var c,d;a.Pa.get().oi("ads_imp","cpn."+kJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(c=a.Xa.get().mf(2))?void 0:c.clientPlaybackNonce)+";clr."+b+";skp."+!!g.U(null==(d=kJ(a.layout.Ca,"metadata_type_instream_ad_player_overlay_renderer"))?void 0:d.skipOrPreviewRenderer,PL))}; ACa=function(a){return{enterMs:kJ(a.Ca,"metadata_type_layout_enter_ms"),exitMs:kJ(a.Ca,"metadata_type_layout_exit_ms")}}; BCa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){NL.call(this,a,b,c,d,e,h,l,m,n,q);this.xe=f;this.sf=p;this.Gb=r;this.Ga=t;this.Xc=this.Jc=null}; CCa=function(a,b){var c;a.Pa.get().oi("ads_imp","acpn."+(null==(c=a.Xa.get().mf(2))?void 0:c.clientPlaybackNonce)+";clr."+b)}; DCa=function(a,b,c){var d;a.Pa.get().oi("ads_qua","cpn."+kJ(a.layout.Ca,"metadata_type_content_cpn")+";acpn."+(null==(d=a.Xa.get().mf(2))?void 0:d.clientPlaybackNonce)+";qt."+b+";clr."+c)}; ECa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B,F,G,H){this.Je=a;this.Zd=b;this.B=c;this.Xa=d;this.Nc=e;this.Ja=f;this.Pa=h;this.xe=l;this.Ff=m;this.Gb=n;this.sf=p;this.Be=q;this.yc=r;this.Qc=t;this.Hd=u;this.fg=x;this.Tb=B;this.rg=F;this.Ga=G;this.j=H}; QL=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x,B){this.Je=a;this.Zd=b;this.j=c;this.Pa=d;this.Gb=e;this.sf=f;this.Be=h;this.Xa=l;this.Ja=m;this.yc=n;this.Qc=p;this.Hd=q;this.fg=r;this.Tb=t;this.rg=u;this.Ga=x;this.Nc=B}; FCa=function(a,b,c,d){OF.call(this,"survey-interstitial",a,b,c,d)}; RL=function(a,b,c,d,e){cK.call(this,c,a,b,d);this.Pa=e;a=kJ(b.Ca,"metadata_type_ad_placement_config");this.qb=new jK(b.Pb,e,a,b.layoutId)}; SL=function(a){return Math.round(a.width)+"x"+Math.round(a.height)}; HCa=function(a,b,c){c=void 0===c?GCa:c;c.widtha.width*a.height*.2)return{bL:3,bG:501,errorMessage:"ad("+SL(c)+") to container("+SL(a)+") ratio exceeds limit."};if(c.height>a.height/3-b)return{bL:3,bG:501,errorMessage:"ad("+SL(c)+") covers container("+SL(a)+") center."}}; ICa=function(a,b){var c=kJ(a.Ca,"metadata_type_ad_placement_config");return new jK(a.Pb,b,c,a.layoutId)}; TL=function(a){return kJ(a.Ca,"metadata_type_invideo_overlay_ad_renderer")}; JCa=function(a,b,c,d){OF.call(this,"invideo-overlay",a,b,c,d);this.interactionLoggingClientData=d}; UL=function(a,b,c,d,e,f,h,l,m,n,p,q){cK.call(this,f,a,b,e);this.Pa=c;this.D=h;this.Ja=l;this.Tb=m;this.Ga=n;this.K=p;this.G=q;this.qb=ICa(b,c)}; KCa=function(){var a=["metadata_type_invideo_overlay_ad_renderer"];kK().forEach(function(b){a.push(b)}); return{ke:a,nf:["LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY","LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY"]}}; VL=function(a,b,c,d,e,f,h,l,m,n,p,q,r){cK.call(this,f,a,b,e);this.Pa=c;this.D=h;this.N=l;this.Ja=m;this.Tb=n;this.Ga=p;this.K=q;this.G=r;this.qb=ICa(b,c)}; LCa=function(){for(var a=["metadata_type_invideo_overlay_ad_renderer"],b=g.v(kK()),c=b.next();!c.done;c=b.next())a.push(c.value);return{ke:a,nf:["LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY"]}}; WL=function(a){this.Ja=a;this.j=!1}; MCa=function(a,b,c){OF.call(this,"survey",a,{},b,c)}; NCa=function(a,b,c,d,e,f,h){cK.call(this,c,a,b,d);this.D=e;this.Ja=f;this.Ga=h}; OCa=function(a,b,c,d,e,f,h,l,m,n){this.xc=a;this.Ja=b;this.Pa=c;this.D=d;this.Gb=e;this.B=f;this.C=h;this.Tb=l;this.Ga=m;this.j=n}; PCa=function(a,b,c,d,e,f,h,l,m,n){this.xc=a;this.Ja=b;this.Pa=c;this.D=d;this.Gb=e;this.B=f;this.C=h;this.Tb=l;this.Ga=m;this.j=n}; XL=function(a,b,c,d,e,f,h,l,m){uK.call(this,a,b,c,d,e,f,h,m);this.Um=l}; QCa=function(){var a=TAa();a.ke.push("metadata_type_ad_info_ad_metadata");return a}; RCa=function(a,b,c,d,e,f){this.xc=a;this.Ja=b;this.Pa=c;this.B=d;this.Um=e;this.j=f}; SCa=function(a,b,c,d,e,f,h){this.xc=a;this.Ja=b;this.Pa=c;this.B=d;this.Um=e;this.j=f;this.Ga=h}; YL=function(a,b){this.slotId=b;this.triggerType="TRIGGER_TYPE_AD_BREAK_STARTED";this.triggerId=a(this.triggerType)}; ZL=function(a,b){this.j=a;this.B=b.length;this.adBreakLengthSeconds=b.reduce(function(d,e){return d+e},0); var c=0;for(a+=1;au?new iJ("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:d,offsetEndMs:u},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",u===c&&d-500<=u):new cv(d,u),a=c instanceof iJ?c:new hM(gJ,b,c,!1,a.id)):a=new iJ("Not able to create MediaTimeRangeTrigger")}else if(a.contentVideoIdEndedTrigger)a=a.contentVideoIdEndedTrigger?new bM(gJ,b,!1,a.id):new iJ("Not able to create ContentVideoIdEndedTrigger"); else{if(a.layoutIdEnteredTrigger){var x;b=null!=(x=a.layoutIdEnteredTrigger)&&x.triggeringLayoutId?new dM(gJ,a.layoutIdEnteredTrigger.triggeringLayoutId,a.id):new iJ("Not able to create LayoutIdEnteredTrigger")}else b=new iJ("Not able to convert an AdsControlflowTrigger.");a=b}b=a}a=b}b=a}a=b}b=a}a=b}b=a}a=b}return a}; IDa=function(a,b,c,d,e,f,h,l){return null===b?new iJ("Invalid slot type when get discovery companion fromActionCompanionAdRenderer",{slotType:b,ActionCompanionAdRenderer:d}):[HDa(a,b,h,f,function(m){var n=m.slotId;m=l(m);var p=d.adLayoutLoggingData,q=new jJ([new oI(d),new sI(e)]);n=OJ(c.fb.get(),"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",n);var r={layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Za:"core"};return{layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Pb:new Map, layoutExitNormalTriggers:[new kM(c.j,h)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:q,pc:m(r),adLayoutLoggingData:p}})]}; JDa=function(a,b,c,d,e,f,h,l){return null===b?new iJ("Invalid slot type when get discovery companion fromTopBannerImageTextIconButtonedLayoutViewModel",{slotType:b,TopBannerImageTextIconButtonedLayoutViewModel:d}):[HDa(a,b,h,f,function(m){var n=m.slotId;m=l(m);var p=d.adLayoutLoggingData,q=new jJ([new pI(d),new sI(e)]);n=OJ(c.fb.get(),"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",n);var r={layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",Za:"core"};return{layoutId:n,layoutType:"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", Pb:new Map,layoutExitNormalTriggers:[new kM(c.j,h)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:q,pc:m(r),adLayoutLoggingData:p}})]}; NDa=function(a,b,c,d,e,f){if(!f)for(b=g.v(b),f=b.next();!f.done;f=b.next())f=f.value,dN(a,f.renderer,f.config.adPlacementConfig.kind);a=Array.from(a.values()).filter(function(p){return KDa(p)}); b=[];f=g.v(a);for(var h=f.next(),l={};!h.done;l={Fs:l.Fs},h=f.next()){l.Fs=h.value;h=g.v(l.Fs.uM);for(var m=h.next(),n={};!m.done;n={Ul:n.Ul},m=h.next())n.Ul=m.value,m=function(p,q){return function(r){return p.Ul.hN(r,q.Fs.instreamVideoAdRenderer.elementId,p.Ul.tM)}}(n,l),n.Ul.isContentVideoCompanion?b.push(LDa(c,d,e,l.Fs.instreamVideoAdRenderer.elementId,n.Ul.associatedCompositePlayerBytesLayoutId,n.Ul.adSlotLoggingData,m)):1=l?function(){return new iJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:h})}:function(m,n){var p=xEa(m,c,d,function(q){var r=n(q),t=q.slotId; q=pEa(h);t=OJ(e.fb.get(),"LAYOUT_TYPE_SURVEY",t);var u={layoutId:t,layoutType:"LAYOUT_TYPE_SURVEY",Za:"core"},x=new fM(e.j,d),B=new mM(e.j,t),F=new tM(e.j,t),G=new $Ca(e.j);return{layoutId:t,layoutType:"LAYOUT_TYPE_SURVEY",Pb:new Map,layoutExitNormalTriggers:[x,G],layoutExitSkipTriggers:[B],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[F],Sc:[],Za:"core",Ca:new jJ([new Iya(h),new sI(b),new YI(l/1E3),new aJ(q)]),pc:r(u),adLayoutLoggingData:h.adLayoutLoggingData}}); m=vEa(a,c,p.slotId,d,e,m,n);return m instanceof iJ?m:[p].concat(g.qa(m))}}; GEa=function(a,b,c,d,e,f,h){h=void 0===h?!1:h;var l=[];try{var m=[];if(c.renderer.linearAdSequenceRenderer)var n=function(x){x=zEa(x.slotId,c,b,e(x),d,f,h);m=x.Tba;return x.p5}; else if(c.renderer.instreamVideoAdRenderer)n=function(x){var B=x.slotId;x=e(x);var F=h,G=c.config.adPlacementConfig,H=AEa(G),O=H.WV,P=H.aW;H=c.renderer.instreamVideoAdRenderer;var Y;if(null==H?0:null==(Y=H.playerOverlay)?0:Y.instreamSurveyAdRenderer)throw new TypeError("Survey overlay should not be set on single video.");var la=BEa(H,F);Y=Math.min(O+1E3*la.videoLengthSeconds,P);F=new ZL(0,[la.videoLengthSeconds]);P=la.videoLengthSeconds;var oa=la.playerVars,ua=la.instreamAdPlayerOverlayRenderer,ma= la.adVideoId,wa=CEa(c),ea=la.Pb;la=la.SU;var Ba=null==H?void 0:H.adLayoutLoggingData;H=null==H?void 0:H.sodarExtensionData;B=OJ(b.fb.get(),"LAYOUT_TYPE_MEDIA",B);var ba={layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA",Za:"core"};return{layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA",Pb:ea,layoutExitNormalTriggers:[new VCa(b.j)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new yI(d),new LI(P),new MI(oa),new PI(O),new QI(Y),ua&&new zI(ua), new sI(G),new xI(ma),new tI(F),new UI(wa),H&&new OI(H),new II({current:null}),new SI({}),new cJ(la)].filter(DEa)),pc:x(ba),adLayoutLoggingData:Ba}}; else throw new TypeError("Expected valid AdPlacementRenderer for DAI");var p=EEa(a,d,c.adSlotLoggingData,n);l.push(p);for(var q=g.v(m),r=q.next();!r.done;r=q.next()){var t=r.value,u=t(a,e);if(u instanceof iJ)return u;l.push.apply(l,g.qa(u))}}catch(x){return new iJ(x,{errorMessage:x.message,AdPlacementRenderer:c,numberOfSurveyRenderers:FEa(c)})}return l}; FEa=function(a){a=(a.renderer.linearAdSequenceRenderer||{}).linearAds;return null!=a&&a.length?a.filter(function(b){var c,d;return null!=(null==(c=g.U(b,xM))?void 0:null==(d=c.playerOverlay)?void 0:d.instreamSurveyAdRenderer)}).length:0}; zEa=function(a,b,c,d,e,f,h){var l=b.config.adPlacementConfig,m=AEa(l),n=m.WV,p=m.aW;m=(b.renderer.linearAdSequenceRenderer||{}).linearAds;if(null==m||!m.length)throw new TypeError("Expected linear ads");var q=[],r={I_:n,J_:0,Qba:q};m=m.map(function(u){return HEa(a,u,r,c,d,l,e,p,h)}).map(function(u,x){x=new ZL(x,q); return u(x)}); var t=m.map(function(u){return u.q5}); return{p5:IEa(c,a,n,t,l,CEa(b),d,p,f),Tba:m.map(function(u){return u.Sba})}}; HEa=function(a,b,c,d,e,f,h,l,m){var n=BEa(g.U(b,xM),m),p=c.I_,q=c.J_,r=Math.min(p+1E3*n.videoLengthSeconds,l);c.I_=r;c.J_++;c.Qba.push(n.videoLengthSeconds);var t,u,x=null==(t=g.U(b,xM))?void 0:null==(u=t.playerOverlay)?void 0:u.instreamSurveyAdRenderer;if("nPpU29QrbiU"===n.adVideoId&&null==x)throw new TypeError("Survey slate media has no survey overlay");return function(B){var F=n.playerVars;2<=B.B&&(F.slot_pos=B.j);F.autoplay="1";var G,H;F=n.videoLengthSeconds;var O=n.playerVars,P=n.Pb,Y=n.SU,la= n.instreamAdPlayerOverlayRenderer,oa=n.adVideoId,ua=null==(G=g.U(b,xM))?void 0:G.adLayoutLoggingData;G=null==(H=g.U(b,xM))?void 0:H.sodarExtensionData;H=OJ(d.fb.get(),"LAYOUT_TYPE_MEDIA",a);var ma={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",Za:"adapter"};B={layoutId:H,layoutType:"LAYOUT_TYPE_MEDIA",Pb:P,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"adapter",Ca:new jJ([new yI(h),new LI(F),new MI(O),new PI(p),new QI(r), new RI(q),new II({current:null}),la&&new zI(la),new sI(f),new xI(oa),new tI(B),G&&new OI(G),x&&new Qya(x),new SI({}),new cJ(Y)].filter(DEa)),pc:e(ma),adLayoutLoggingData:ua};F=yEa(g.U(b,xM),f,h,B.layoutId,d);return{q5:B,Sba:F}}}; BEa=function(a,b){if(!a)throw new TypeError("Expected instream video ad renderer");if(!a.playerVars)throw new TypeError("Expected player vars in url encoded string");var c=EB(a.playerVars),d=Number(c.length_seconds);if(isNaN(d))throw new TypeError("Expected valid length seconds in player vars");var e=Number(a.trimmedMaxNonSkippableAdDurationMs);d=isNaN(e)?d:Math.min(d,e/1E3);e=a.playerOverlay||{};e=void 0===e.instreamAdPlayerOverlayRenderer?null:e.instreamAdPlayerOverlayRenderer;var f=c.video_id; f||(f=(f=a.externalVideoId)?f:void 0);if(!f)throw new TypeError("Expected valid video id in IVAR");if(b&&0===d){var h;b=null!=(h=JEa[f])?h:d}else b=d;return{playerVars:c,videoLengthSeconds:b,instreamAdPlayerOverlayRenderer:e,adVideoId:f,Pb:a.pings?iK(a.pings):new Map,SU:hK(a.pings)}}; CEa=function(a){a=Number(a.driftRecoveryMs);return isNaN(a)||0>=a?null:a}; AEa=function(a){var b=a.adTimeOffset||{};a=b.offsetEndMilliseconds;b=Number(b.offsetStartMilliseconds);if(isNaN(b))throw new TypeError("Expected valid start offset");a=Number(a);if(isNaN(a))throw new TypeError("Expected valid end offset");return{WV:b,aW:a}}; LEa=function(a,b,c,d,e,f,h,l){var m=c.pings;return m?[KEa(a,f,e,function(n){var p=n.slotId;n=l(n);var q=c.adLayoutLoggingData;p=OJ(b.fb.get(),"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",p);var r={layoutId:p,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Za:"core"};return{layoutId:p,layoutType:"LAYOUT_TYPE_DISCOVERY_PLAYBACK_TRACKER",Pb:iK(m),layoutExitNormalTriggers:[new kM(b.j,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new sI(d), new cJ(hK(m)),new LI(h/1E3)]),pc:n(r),adLayoutLoggingData:q}})]:new iJ("VideoAdTrackingRenderer without VideoAdTracking pings filled.",{videoAdTrackingRenderer:c})}; NEa=function(a,b,c,d,e,f,h,l){a=MEa(a,c,f,h,d,function(m){var n=m.slotId;m=l(m);n=OJ(b.fb.get(),"LAYOUT_TYPE_FORECASTING",n);var p={layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",Za:"core"},q=new Map,r=e.impressionUrls;r&&q.set("impression",r);return{layoutId:n,layoutType:"LAYOUT_TYPE_FORECASTING",Pb:q,layoutExitNormalTriggers:[new jM(b.j,n)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new Nya(e),new sI(c)]),pc:m(p)}}); return a instanceof iJ?a:[a]}; PEa=function(a,b,c,d,e,f,h){return[OEa(a,f,d,function(l){var m=l.slotId;l=h(l);m=OJ(b.fb.get(),"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",m);var n={layoutId:m,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Za:"core"};return{layoutId:m,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Pb:new Map,layoutExitNormalTriggers:[new kM(b.j,f)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new zI(e),new sI(c)]),pc:l(n),adLayoutLoggingData:e.adLayoutLoggingData}})]}; TEa=function(a,b,c,d,e,f,h,l){a=QEa(a,c,f,h,d,function(m,n){var p=m.slotId;m=l(m);var q=e.contentSupportedRenderer;q?q.textOverlayAdContentRenderer?(q=OJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",p),n=REa(b,q,"LAYOUT_TYPE_IN_VIDEO_TEXT_OVERLAY",e,c,m,SEa(b,n,p))):q.enhancedTextOverlayAdContentRenderer?(q=OJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",p),n=REa(b,q,"LAYOUT_TYPE_IN_VIDEO_ENHANCED_TEXT_OVERLAY",e,c,m,SEa(b,n,p))):q.imageOverlayAdContentRenderer?(q=OJ(b.fb.get(),"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY", p),n=SEa(b,n,p),n.push(new cDa(b.j,q)),n=REa(b,q,"LAYOUT_TYPE_IN_VIDEO_IMAGE_OVERLAY",e,c,m,n)):n=new hJ("InvideoOverlayAdRenderer without appropriate sub renderer"):n=new hJ("InvideoOverlayAdRenderer without contentSupportedRenderer");return n}); return a instanceof iJ?a:[a]}; WEa=function(a,b,c,d,e,f,h,l,m){var n=Number(d.durationMilliseconds);return isNaN(n)?new iJ("Expected valid duration for AdActionInterstitialRenderer."):function(p){return UEa(b,p.slotId,c,d,n,{impressionCommands:void 0,abandonCommands:d.abandonCommands?[{commandExecutorCommand:d.abandonCommands}]:void 0,completeCommands:d.completionCommands},d.skipPings?new Map([["skip",d.skipPings]]):new Map,h(p),function(q){return VEa(a,q,e,function(r,t){var u=r.slotId;r=h(r);u=OJ(b.fb.get(),"LAYOUT_TYPE_ENDCAP", u);return rEa(b,u,t,c,r,"LAYOUT_TYPE_ENDCAP",[new DI(d),l],d.adLayoutLoggingData)})},m,f-1,d.adLayoutLoggingData,f)}}; XEa=function(a,b,c,d){if(!c.playerVars)return new iJ("No playerVars available in AdIntroRenderer.");var e=EB(c.playerVars);e.autoplay="1";return function(f){var h=f.slotId;f=d(f);h=OJ(a.fb.get(),"LAYOUT_TYPE_MEDIA",h);var l={layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Za:"adapter"};return{Ak:{layoutId:h,layoutType:"LAYOUT_TYPE_MEDIA",Pb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"adapter",Ca:new jJ([new TI({}), new sI(b),new II({current:null}),new MI(e)]),pc:f(l)},Yl:[new eM(a.j,h,["error"])],Mj:[],Xy:[],Wy:[]}}}; ZEa=function(a,b,c,d,e,f,h,l,m,n){n=void 0===n?!1:n;var p=oEa(e);if(!qDa(e,n))return new iJ("Received invalid InstreamSurveyAdRenderer for VOD composite survey.",{InstreamSurveyAdRenderer:e});if(0>=p)return new iJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:e});var q=sEa(a,b,e,f,c,d,h);return q instanceof iJ?q:function(r){return YEa(b,r.slotId,c,p,e,pEa(e),h(r),q,l,m)}}; aFa=function(a,b,c,d,e,f,h,l){function m(q){return VEa(a,q,d,n)} function n(q,r){var t=q.slotId;q=h(q);t=OJ(b.fb.get(),"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",t);return rEa(b,t,r,c,q,"LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT",[new Hya(e),f],e.adLayoutLoggingData)} if(!vDa(e))return new iJ("Received invalid SurveyTextInterstitialRenderer.",{SurveyTextInterstitialRenderer:e});var p=1E3*e.timeoutSeconds;return function(q){var r={impressionCommands:e.impressionCommands,completeCommands:e.timeoutCommands,skipCommands:e.dismissCommands},t=h(q);q=$Ea(b,q.slotId,c,p,r,new Map,t,m,void 0,jN(b,c,e.layoutId,"createSubLayoutVodMediaBreakLayoutForSurveyInterstitial"));r=new FI(q.JJ);t=new uI(l);return{Ak:{layoutId:q.layoutId,layoutType:q.layoutType,Pb:q.Pb,layoutExitNormalTriggers:[], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:q.Za,Ca:new jJ([].concat(g.qa(q.Uy),[r,t])),pc:q.pc,adLayoutLoggingData:q.adLayoutLoggingData},Yl:[],Mj:q.layoutExitMuteTriggers,Xy:q.layoutExitUserInputSubmittedTriggers,Wy:q.Sc,Ig:q.Ig}}}; cFa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t,u,x){a=aK(a,"SLOT_TYPE_PLAYER_BYTES");d=RDa(b,h,d,e,a,n,p);if(d instanceof iJ)return d;var B;h=null==(B=kJ(d.Ca,"metadata_type_fulfilled_layout"))?void 0:B.layoutId;if(!h)return new iJ("Invalid adNotify layout");b=bFa(h,b,c,e,f,m,l,n,q,r,t,u,x);return b instanceof iJ?b:[d].concat(g.qa(b))}; bFa=function(a,b,c,d,e,f,h,l,m,n,p,q,r){c=dFa(b,c,d,f,h,l,m,n,p,q,r);eFa(f)?(d=fFa(b,a),a=aK(b.fb.get(),"SLOT_TYPE_IN_PLAYER"),f=OJ(b.fb.get(),"LAYOUT_TYPE_SURVEY",a),l=gFa(b,d,l),b=[].concat(g.qa(l.slotExpirationTriggers),[new aM(b.j,f)]),a=c({slotId:l.slotId,slotType:l.slotType,slotPhysicalPosition:l.slotPhysicalPosition,slotEntryTrigger:l.slotEntryTrigger,slotFulfillmentTriggers:l.slotFulfillmentTriggers,slotExpirationTriggers:b,Za:l.Za},{slotId:a,layoutId:f}),e=a instanceof iJ?a:{Rw:Object.assign({}, l,{slotExpirationTriggers:b,Ca:new jJ([new VI(a.layout)]),adSlotLoggingData:e}),xg:a.xg}):e=VDa(b,a,l,e,c);return e instanceof iJ?e:[].concat(g.qa(e.xg),[e.Rw])}; kFa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){b=dFa(a,b,c,e,f,h,m,n,p,q,r,t);eFa(e)?(e=hFa(a,c,h,l),e instanceof iJ?a=e:(l=aK(a.fb.get(),"SLOT_TYPE_IN_PLAYER"),m=OJ(a.fb.get(),"LAYOUT_TYPE_SURVEY",l),h=[].concat(g.qa(e.slotExpirationTriggers),[new aM(a.j,m)]),l=b({slotId:e.slotId,slotType:e.slotType,slotPhysicalPosition:e.slotPhysicalPosition,Za:e.Za,slotEntryTrigger:e.slotEntryTrigger,slotFulfillmentTriggers:e.slotFulfillmentTriggers,slotExpirationTriggers:h},{slotId:l,layoutId:m}),a=l instanceof iJ? l:{Rw:{slotId:e.slotId,slotType:e.slotType,slotPhysicalPosition:e.slotPhysicalPosition,slotEntryTrigger:iFa(a,c,e.slotId,e.slotEntryTrigger),slotFulfillmentTriggers:jFa(a,c,e.slotId,e.slotFulfillmentTriggers),slotExpirationTriggers:h,Za:e.Za,Ca:new jJ([new dJ(kN(c)),new VI(l.layout)]),adSlotLoggingData:d},xg:l.xg})):a=WDa(a,c,h,l,d,m.Ac,b);return a instanceof iJ?a:a.xg.concat(a.Rw)}; eFa=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(g.U(b.value,AM))return!0;return!1}; dFa=function(a,b,c,d,e,f,h,l,m,n,p,q){return function(r,t){if(KL(p)&&LL(p))a:{var u=lFa(d,c,p);if(u instanceof iJ)t=u;else{for(var x=0,B=[],F=[],G=[],H=[],O=[],P=[],Y=new JI({current:null}),la=new wI({current:null}),oa=!1,ua=[],ma=0,wa=[],ea=0;ea=m)return new iJ("InstreamSurveyAdRenderer should have valid duration.",{instreamSurveyAdRenderer:c});var n=new JI({current:null}),p=sEa(a,b,c,n,d,f,h);return nFa(a,d,f,m,e,function(q,r){var t=q.slotId,u=pEa(c);q=h(q);var x,B=null!=(x=jN(b,d,c.layoutId,"createMediaBreakLayoutAndAssociatedInPlayerSlotForVodSurvey"))? x:OJ(b.fb.get(),"LAYOUT_TYPE_MEDIA_BREAK",t);t={layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Za:"core"};x=p(B,r);var F=kJ(x.Ca,"metadata_type_fulfilled_layout");F||DG("Could not retrieve overlay layout ID during VodMediaBreakLayout for survey creation. This should never happen.");u=[new sI(d),new ZI(m),new aJ(u),n];F&&u.push(new GI(F.layoutType));return{e8:{layoutId:B,layoutType:"LAYOUT_TYPE_MEDIA_BREAK",Pb:new Map,layoutExitNormalTriggers:[new jM(b.j,B)],layoutExitSkipTriggers:[new mM(b.j,r.layoutId)], layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[new tM(b.j,r.layoutId)],Sc:[],Za:"core",Ca:new jJ(u),pc:q(t)},q7:x}})}; pFa=function(a){if(!uDa(a))return!1;var b=g.U(a.adVideoStart,mN);return b?g.U(a.linearAd,xM)&&eDa(b)?!0:(DG("Invalid Sandwich with notify"),!1):!1}; qFa=function(a){if(null==a.linearAds)return!1;a=g.U(a.adStart,mN);return a?eDa(a)?!0:(DG("Invalid LASR with notify"),!1):!1}; rFa=function(a){if(!tDa(a))return!1;a=g.U(a.adStart,mN);return a?eDa(a)?!0:(DG("Invalid LASR with notify"),!1):!1}; nN=function(a,b,c,d,e,f,h,l){this.fb=a;this.Kb=b;this.Ab=c;this.Ga=d;this.Yb=e;this.j=f;this.Oj=h;this.loadPolicy=void 0===l?1:l}; ADa=function(a,b,c,d,e,f,h,l,m){var n=[];if(0===b.length&&0===d.length&&0===c.length)return n;b=b.filter(fDa);var p=c.filter(oDa),q=d.filter(fDa),r=new Map,t=cEa(b),u=c.some(function(ea){var Ba;return"SLOT_TYPE_PLAYER_BYTES"===(null==ea?void 0:null==(Ba=ea.adSlotMetadata)?void 0:Ba.slotType)}); c=c.some(function(ea){var Ba;return"SLOT_TYPE_PLAYER_UNDERLAY"===(null==ea?void 0:null==(Ba=ea.adSlotMetadata)?void 0:Ba.slotType)}); if(u||c)c=hEa(p,b,l,e,t,a.Yb.get(),a.loadPolicy,r,a.Ga.get(),a.fb.get()),c instanceof iJ?DG(c,void 0,void 0,{contentCpn:e}):n.push.apply(n,g.qa(c));c=g.v(b);for(var x=c.next();!x.done;x=c.next()){x=x.value;var B=sFa(a,r,x,e,f,h,u,l,t,m,p);B instanceof iJ?DG(B,void 0,void 0,{renderer:x.renderer,config:x.config.adPlacementConfig,kind:x.config.adPlacementConfig.kind,contentCpn:e,daiEnabled:h}):n.push.apply(n,g.qa(B))}tFa(a.Ga.get())||(f=uFa(a,q,e,l,t,r),n.push.apply(n,g.qa(f)));if(null===a.j||h&&!l.KV){var F, G,H;a=l.Ac&&1===b.length&&"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===(null==(F=b[0].config)?void 0:null==(G=F.adPlacementConfig)?void 0:G.kind)&&(null==(H=b[0].renderer)?void 0:H.adBreakServiceRenderer);if(!n.length&&!a){var O,P,Y,la;DG("Expected slots parsed from AdPlacementRenderers for DAI",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,"first APR kind":null==(O=b[0])?void 0:null==(P=O.config)?void 0:null==(Y=P.adPlacementConfig)?void 0:Y.kind,renderer:null==(la=b[0])?void 0:la.renderer})}return n}F= d.filter(fDa);n.push.apply(n,g.qa(NDa(r,F,a.Kb.get(),a.j,e,u)));if(!n.length){var oa,ua,ma,wa;DG("Expected slots parsed from AdPlacementRenderers",void 0,void 0,{"AdPlacementRenderer count":b.length,contentCpn:e,daiEnabled:h.toString(),"first APR kind":null==(oa=b[0])?void 0:null==(ua=oa.config)?void 0:null==(ma=ua.adPlacementConfig)?void 0:ma.kind,renderer:null==(wa=b[0])?void 0:wa.renderer})}return n}; uFa=function(a,b,c,d,e,f){function h(r){return oJ(a.Yb.get(),r)} var l=[];b=g.v(b);for(var m=b.next();!m.done;m=b.next()){m=m.value;var n=m.renderer,p=n.sandwichedLinearAdRenderer,q=n.linearAdSequenceRenderer;p&&pFa(p)?(DG("Found AdNotify with SandwichedLinearAdRenderer"),q=g.U(p.adVideoStart,mN),p=g.U(p.linearAd,xM),dN(f,n,m.config.adPlacementConfig.kind),n=void 0,q=SDa(null==(n=q)?void 0:n.layout.layoutId,a.Kb.get(),a.Ab.get(),m.config.adPlacementConfig,m.adSlotLoggingData,p,c,d,h,e,a.loadPolicy,a.Ga.get(),a.Yb.get()),q instanceof iJ?DG(q):l.push.apply(l,g.qa(q))): q&&(!q.adLayoutMetadata&&qFa(q)||q.adLayoutMetadata&&rFa(q))&&(DG("Found AdNotify with LinearAdSequenceRenderer"),dN(f,n,m.config.adPlacementConfig.kind),n=void 0,p=bFa(null==(n=g.U(q.adStart,mN))?void 0:n.layout.layoutId,a.Kb.get(),a.Ab.get(),m.config.adPlacementConfig,m.adSlotLoggingData,q.linearAds,vM(q.adLayoutMetadata)?q.adLayoutMetadata:void 0,c,d,h,e,a.loadPolicy,a.Ga.get()),p instanceof iJ?DG(p):l.push.apply(l,g.qa(p)))}return l}; sFa=function(a,b,c,d,e,f,h,l,m,n,p){function q(F){return oJ(a.Yb.get(),F)} var r=c.renderer,t=c.config.adPlacementConfig,u=t.kind,x=c.adSlotLoggingData,B=l.KV&&"AD_PLACEMENT_KIND_START"===u;B=f&&!B;if(null!=r.adsEngagementPanelRenderer)return eN(b,c.elementId,u,r.adsEngagementPanelRenderer.isContentVideoEngagementPanel,r.adsEngagementPanelRenderer.adVideoId,r.adsEngagementPanelRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=r.adsEngagementPanelRenderer,la=oJ(a.Yb.get(),F);return oN(P,F.slotId,"LAYOUT_TYPE_PANEL_TEXT_ICON_IMAGE_TILES_BUTTON", new zya(Y),G,H,Y.impressionPings,la,r.adsEngagementPanelRenderer.adLayoutLoggingData,O)}),[]; if(null!=r.actionCompanionAdRenderer){if(r.actionCompanionAdRenderer.showWithoutLinkedMediaLayout)return IDa(a.Kb.get(),a.j,a.Ab.get(),r.actionCompanionAdRenderer,t,x,d,q);eN(b,c.elementId,u,r.actionCompanionAdRenderer.isContentVideoCompanion,r.actionCompanionAdRenderer.adVideoId,r.actionCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=r.actionCompanionAdRenderer,la=oJ(a.Yb.get(),F);return oN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON", new oI(Y),G,H,Y.impressionPings,la,r.actionCompanionAdRenderer.adLayoutLoggingData,O)})}else if(void 0!==r.topBannerImageTextIconButtonedLayoutViewModel){if(r.topBannerImageTextIconButtonedLayoutViewModel.showWithoutLinkedMediaLayout)return JDa(a.Kb.get(),a.j,a.Ab.get(),r.topBannerImageTextIconButtonedLayoutViewModel,t,x,d,q); eN(b,c.elementId,u,r.topBannerImageTextIconButtonedLayoutViewModel.isContentVideoCompanion,r.topBannerImageTextIconButtonedLayoutViewModel.adVideoId,r.topBannerImageTextIconButtonedLayoutViewModel.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=oJ(a.Yb.get(),F);return vFa(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_ACTION_BUTTON",new pI(r.topBannerImageTextIconButtonedLayoutViewModel),G,H,Y,r.topBannerImageTextIconButtonedLayoutViewModel.adLayoutLoggingData,O)})}else if(r.imageCompanionAdRenderer)eN(b, c.elementId,u,r.imageCompanionAdRenderer.isContentVideoCompanion,r.imageCompanionAdRenderer.adVideoId,r.imageCompanionAdRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=r.imageCompanionAdRenderer,la=oJ(a.Yb.get(),F); return oN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new Bya(Y),G,H,Y.impressionPings,la,r.imageCompanionAdRenderer.adLayoutLoggingData,O)}); else if(r.bannerImageLayoutViewModel)eN(b,c.elementId,u,r.bannerImageLayoutViewModel.isContentVideoCompanion,r.bannerImageLayoutViewModel.adVideoId,r.bannerImageLayoutViewModel.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=oJ(a.Yb.get(),F);return vFa(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_IMAGE",new Cya(r.bannerImageLayoutViewModel),G,H,Y,r.bannerImageLayoutViewModel.adLayoutLoggingData,O)}); else if(r.shoppingCompanionCarouselRenderer)eN(b,c.elementId,u,r.shoppingCompanionCarouselRenderer.isContentVideoCompanion,r.shoppingCompanionCarouselRenderer.adVideoId,r.shoppingCompanionCarouselRenderer.associatedCompositePlayerBytesLayoutId,t,x,function(F,G,H,O){var P=a.Ab.get(),Y=r.shoppingCompanionCarouselRenderer,la=oJ(a.Yb.get(),F);return oN(P,F.slotId,"LAYOUT_TYPE_COMPANION_WITH_SHOPPING",new Dya(Y),G,H,Y.impressionPings,la,r.shoppingCompanionCarouselRenderer.adLayoutLoggingData,O)}); else if(r.adBreakServiceRenderer){if(!GDa(c))return[];if("AD_PLACEMENT_KIND_PAUSE"===u)return FDa(a.Kb.get(),t,x,c.renderer.adBreakServiceRenderer,d);if("AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"!==u)return EDa(a.Kb.get(),t,x,c.renderer.adBreakServiceRenderer,d,e,f);if(!a.Oj)return new iJ("Received AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED with no CuePointOpportunityAdapter set for interface");l.Ac||DG("Received non-live cue point triggered AdBreakServiceRenderer",void 0,void 0,{kind:u,adPlacementConfig:t, daiEnabledForContentVideo:String(f),isServedFromLiveInfra:String(l.Ac),clientPlaybackNonce:l.clientPlaybackNonce});wFa(a.Oj,{adPlacementRenderer:c,contentCpn:d,RC:e})}else{if(r.clientForecastingAdRenderer)return NEa(a.Kb.get(),a.Ab.get(),t,x,r.clientForecastingAdRenderer,d,e,q);if(r.invideoOverlayAdRenderer)return TEa(a.Kb.get(),a.Ab.get(),t,x,r.invideoOverlayAdRenderer,d,e,q);if(r.instreamAdPlayerOverlayRenderer)return PEa(a.Kb.get(),a.Ab.get(),t,x,r.instreamAdPlayerOverlayRenderer,d,q);if((r.linearAdSequenceRenderer|| r.instreamVideoAdRenderer)&&B)return GEa(a.Kb.get(),a.Ab.get(),c,d,q,n,!a.Ga.get().J.U().L("html5_override_ad_video_length_killswitch"));if(r.linearAdSequenceRenderer&&!B){if(h)return[];dN(b,r,u);if(r.linearAdSequenceRenderer.adLayoutMetadata){if(!tDa(r.linearAdSequenceRenderer))return new iJ("Received invalid LinearAdSequenceRenderer.")}else if(null==r.linearAdSequenceRenderer.linearAds)return new iJ("Received invalid LinearAdSequenceRenderer.");if(g.U(r.linearAdSequenceRenderer.adStart,mN)){DG("Found AdNotify in LinearAdSequenceRenderer"); b=g.U(r.linearAdSequenceRenderer.adStart,mN);if(!dDa(b))return new iJ("Invalid AdMessageRenderer.");c=r.linearAdSequenceRenderer.linearAds;return cFa(a.fb.get(),a.Kb.get(),a.Ab.get(),a.Yb.get(),t,x,b,vM(r.linearAdSequenceRenderer.adLayoutMetadata)?r.linearAdSequenceRenderer.adLayoutMetadata:void 0,c,d,e,l,q,m,a.loadPolicy,a.Ga.get())}return kFa(a.Kb.get(),a.Ab.get(),t,x,r.linearAdSequenceRenderer.linearAds,vM(r.linearAdSequenceRenderer.adLayoutMetadata)?r.linearAdSequenceRenderer.adLayoutMetadata: void 0,d,e,l,q,m,a.loadPolicy,a.Ga.get(),p)}if(!r.remoteSlotsRenderer||f){if(r.instreamVideoAdRenderer&&!B){if(h)return[];dN(b,r,u);return XDa(a.Kb.get(),a.Ab.get(),t,x,r.instreamVideoAdRenderer,d,e,l,q,m,a.loadPolicy,a.Ga.get(),a.Yb.get(),p)}if(r.instreamSurveyAdRenderer)return oFa(a.Kb.get(),a.Ab.get(),r.instreamSurveyAdRenderer,t,x,d,q,lN(a.Ga.get(),"supports_multi_step_on_desktop"));if(null!=r.sandwichedLinearAdRenderer)return uDa(r.sandwichedLinearAdRenderer)?g.U(r.sandwichedLinearAdRenderer.adVideoStart, mN)?(DG("Found AdNotify in SandwichedLinearAdRenderer"),b=g.U(r.sandwichedLinearAdRenderer.adVideoStart,mN),dDa(b)?(c=g.U(r.sandwichedLinearAdRenderer.linearAd,xM))?TDa(b,c,t,a.fb.get(),a.Kb.get(),a.Ab.get(),a.Yb.get(),x,d,e,l,q,m,a.loadPolicy,a.Ga.get()):new iJ("Missing IVAR from Sandwich"):new iJ("Invalid AdMessageRenderer.")):kFa(a.Kb.get(),a.Ab.get(),t,x,[r.sandwichedLinearAdRenderer.adVideoStart,r.sandwichedLinearAdRenderer.linearAd],void 0,d,e,l,q,m,a.loadPolicy,a.Ga.get()):new iJ("Received invalid SandwichedLinearAdRenderer."); if(null!=r.videoAdTrackingRenderer)return LEa(a.Kb.get(),a.Ab.get(),r.videoAdTrackingRenderer,t,x,d,e,q)}}return[]}; pN=function(a,b,c,d,e,f,h,l){g.J.call(this);var m=this;this.Rb=a;this.Kb=b;this.Ff=d;this.Ja=e;this.Ga=f;this.Pa=h;this.Nc=l;this.j=null;c.get().addListener(this);this.addOnDisposeCallback(function(){c.isDisposed()||c.get().removeListener(m)}); d.get().addListener(this);this.addOnDisposeCallback(function(){d.isDisposed()||d.get().removeListener(m)})}; wFa=function(a,b){if(a.j)DG("Unexpected multiple fetch instructions for the current content");else{a.j=b;b=g.v(a.Ff.get().RK);for(var c=b.next();!c.done;c=b.next())xFa(a,a.j,c.value)}}; xFa=function(a,b,c){var d=a.Ja.get().getCurrentTimeSec(1,!1);a.Ga.get().J.U().Lc()&&a.Pa.get().oi("sdai","onopp.1;evt."+c.event+";start."+c.startSecs.toFixed(3)+";d."+c.Yh.toFixed(3));$J(a.Rb.get(),"OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",function(){var e=a.Kb.get(),f=b.adPlacementRenderer.renderer.adBreakServiceRenderer,h=b.contentCpn,l=b.adPlacementRenderer.adSlotLoggingData,m=qN(a.Ga.get()),n=a.Pa;if(e.Ga.get().J.U().experiments.jb("enable_smearing_expansion_dai")){var p=g.pJ(e.Ga.get().J.U().experiments, "max_prefetch_window_sec_for_livestream_optimization");var q=g.pJ(e.Ga.get().J.U().experiments,"min_prefetch_offset_sec_for_livestream_optimization");m={ao:yFa(c),fF:!1,cueProcessedMs:1E3*d};var r=c.startSecs+c.Yh;if(0===d)m.wp=new cv(0,1E3*r);else{q=c.startSecs-q;var t=q-d;m.wp=0>=t?new cv(1E3*q,1E3*r):new cv(1E3*Math.floor(d+Math.random()*Math.min(t,p)),1E3*r)}p=m}else p={ao:yFa(c),fF:!1},r=c.startSecs+c.Yh,c.startSecs<=d?m=new cv(1E3*(c.startSecs-4),1E3*r):(q=Math.max(0,c.startSecs-d-10),m=new cv(1E3* Math.floor(d+Math.random()*(m?0===d?0:Math.min(q,5):q)),1E3*r)),p.wp=m;f=DDa(e,f,h,p,l,[new Mya(c)]);e.Ga.get().J.U().experiments.jb("html5_add_dai_smearing_to_qoe")?(h=n.get(),e=p.wp.start/1E3-d,n=c.startSecs-d,null!=(h=h.J.Bd())&&(h=h.uc(),h.qoe&&(h=h.qoe,h.provider.W.L("html5_add_dai_smearing_to_qoe")&&(l=1E3*g.rN(h.provider),p=h.j.daism||[],p.push("t."+l.toFixed(0)+";smw."+(1E3*e).toFixed(0)+";smo."+(1E3*n).toFixed(0)),h.j.daism=p)))):n.get().oi("daism","ct."+Date.now()+";cmt."+d+";smw."+(p.wp.start/ 1E3-d)+";tw."+(c.startSecs-d)+";cid."+c.identifier.replaceAll(":","_")+";sid."+f.slotId);return[f]})}; sN=function(a){var b,c=null==(b=kJ(a.Ca,"metadata_type_player_bytes_callback_ref"))?void 0:b.current;if(!c)return null;b=kJ(a.Ca,"metadata_type_ad_pod_skip_target_callback_ref");var d=a.layoutId,e=kJ(a.Ca,"metadata_type_content_cpn"),f=kJ(a.Ca,"metadata_type_instream_ad_player_overlay_renderer"),h=kJ(a.Ca,"metadata_type_player_overlay_layout_renderer"),l=kJ(a.Ca,"metadata_type_player_underlay_renderer"),m=kJ(a.Ca,"metadata_type_ad_placement_config"),n=kJ(a.Ca,"metadata_type_video_length_seconds"); var p=eJ(a.Ca,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds")?kJ(a.Ca,"METADATA_TYPE_MEDIA_LAYOUT_DURATION_seconds"):eJ(a.Ca,"metadata_type_layout_enter_ms")&&eJ(a.Ca,"metadata_type_layout_exit_ms")?(kJ(a.Ca,"metadata_type_layout_exit_ms")-kJ(a.Ca,"metadata_type_layout_enter_ms"))/1E3:void 0;return{lq:d,contentCpn:e,KQ:c,vM:b,instreamAdPlayerOverlayRenderer:f,playerOverlayLayoutRenderer:h,instreamAdPlayerUnderlayRenderer:l,adPlacementConfig:m,videoLengthSeconds:n,ZI:p,inPlayerLayoutId:kJ(a.Ca,"metadata_type_linked_in_player_layout_id"), inPlayerSlotId:kJ(a.Ca,"metadata_type_linked_in_player_slot_id")}}; AFa=function(a,b){return zFa(a,b)}; BFa=function(a,b){b=zFa(a,b);if(!b)return null;var c;b.ZI=null==(c=kJ(a.Ca,"metadata_type_ad_pod_info"))?void 0:c.adBreakRemainingLengthSeconds;return b}; zFa=function(a,b){var c,d=null==(c=kJ(a.Ca,"metadata_type_player_bytes_callback_ref"))?void 0:c.current;if(!d)return null;eJ(a.Ca,"metadata_ad_video_is_listed")?c=kJ(a.Ca,"metadata_ad_video_is_listed"):b?c=b.isListed:(DG("No layout metadata nor AdPlayback specified for ad video isListed"),c=!1);eJ(a.Ca,"metadata_type_ad_info_ad_metadata")?b=kJ(a.Ca,"metadata_type_ad_info_ad_metadata"):b?b={channelId:b.Jl,channelThumbnailUrl:b.profilePicture,channelTitle:b.author,videoTitle:b.title}:(DG("No layout metadata nor AdPlayback specified for AdMetaData"), b={channelId:"",channelThumbnailUrl:"",channelTitle:"",videoTitle:""});return{v4:b,adPlacementConfig:kJ(a.Ca,"metadata_type_ad_placement_config"),w4:c,contentCpn:kJ(a.Ca,"metadata_type_content_cpn"),inPlayerLayoutId:kJ(a.Ca,"metadata_type_linked_in_player_layout_id"),inPlayerSlotId:kJ(a.Ca,"metadata_type_linked_in_player_slot_id"),instreamAdPlayerOverlayRenderer:kJ(a.Ca,"metadata_type_instream_ad_player_overlay_renderer"),playerOverlayLayoutRenderer:void 0,instreamAdPlayerUnderlayRenderer:void 0, ZI:void 0,KQ:d,lq:a.layoutId,videoLengthSeconds:kJ(a.Ca,"metadata_type_video_length_seconds")}}; tN=function(a,b,c,d,e,f,h,l,m){g.J.call(this);this.j=a;this.C=b;this.B=c;this.Rb=d;this.Kb=e;this.Ab=f;this.Yb=h;this.Ga=l;this.Xa=m;this.qj=!0}; CFa=function(a,b,c){return aEa(a.Kb.get(),b.contentCpn,b.lq,function(d){return bEa(a.Ab.get(),d.slotId,c,b.adPlacementConfig,b.lq,oJ(a.Yb.get(),d))})}; uN=function(a,b,c,d,e,f,h,l){g.J.call(this);this.Rb=a;this.Ae=b;this.j=c;this.Ga=d;this.B=e;this.Xa=f;this.Ja=h;this.Qc=l}; vN=function(a){g.J.call(this);this.j=a}; $J=function(a,b,c,d){a.j().Ti(b,d);c=c();a=a.j();a.jc.j("ADS_CLIENT_EVENT_TYPE_OPPORTUNITY_PROCESSED",b,d,c);b=g.v(c);for(c=b.next();!c.done;c=b.next())a:{d=a;c=c.value;CJ(d.jc,"ADS_CLIENT_EVENT_TYPE_SLOT_RECEIVED",c);CJ(d.jc,"ADS_CLIENT_EVENT_TYPE_SCHEDULE_SLOT_REQUESTED",c);try{var e=d.j;if(g.gc(c.slotId))throw new iJ("Slot ID was empty",void 0,"ADS_CLIENT_ERROR_MESSAGE_INVALID_SLOT");if(uJ(e,c))throw new iJ("Duplicate registration for slot.",{slotId:c.slotId,slotEntryTriggerType:c.slotEntryTrigger.triggerType}, "ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");if(!e.Cf.Hq.has(c.slotType))throw new iJ("No fulfillment adapter factory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_FULFILLMENT_ADAPTER_REGISTERED");if(!e.Cf.Or.has(c.slotType))throw new iJ("No SlotAdapterFactory registered for slot of type: "+c.slotType,void 0,"ADS_CLIENT_ERROR_MESSAGE_NO_SLOT_ADAPTER_REGISTERED");zza(e,"TRIGGER_CATEGORY_SLOT_ENTRY",c.slotEntryTrigger?[c.slotEntryTrigger]:[]);zza(e,"TRIGGER_CATEGORY_SLOT_FULFILLMENT", c.slotFulfillmentTriggers);zza(e,"TRIGGER_CATEGORY_SLOT_EXPIRATION",c.slotExpirationTriggers);var f=d.j,h=c.slotType+"_"+c.slotPhysicalPosition,l=EJ(f,h);if(uJ(f,c))throw new iJ("Duplicate slots not supported",void 0,"ADS_CLIENT_ERROR_MESSAGE_DUPLICATE_SLOT");l.set(c.slotId,new uza(c));f.j.set(h,l)}catch(oa){oa instanceof iJ&&oa.Jk?(rJ(d.jc,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED",oa.Jk,c),DG(oa,c,void 0,void 0,oa.Uu)):(rJ(d.jc,"ADS_CLIENT_ERROR_TYPE_REGISTER_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR", c),DG(oa,c));break a}uJ(d.j,c).K=!0;try{var m=d.j,n=uJ(m,c),p=c.slotEntryTrigger,q=m.Cf.Hl.get(p.triggerType);q&&(q.yl("TRIGGER_CATEGORY_SLOT_ENTRY",p,c,null),n.Aa.set(p.triggerId,q));for(var r=g.v(c.slotFulfillmentTriggers),t=r.next();!t.done;t=r.next()){var u=t.value,x=m.Cf.Hl.get(u.triggerType);x&&(x.yl("TRIGGER_CATEGORY_SLOT_FULFILLMENT",u,c,null),n.ma.set(u.triggerId,x))}for(var B=g.v(c.slotExpirationTriggers),F=B.next();!F.done;F=B.next()){var G=F.value,H=m.Cf.Hl.get(G.triggerType);H&&(H.yl("TRIGGER_CATEGORY_SLOT_EXPIRATION", G,c,null),n.Y.set(G.triggerId,H))}var O=m.Cf.Hq.get(c.slotType).get().build(m.C,c);n.N=O;var P=m.Cf.Or.get(c.slotType).get().build(m.G,c);P.init();n.B=P}catch(oa){oa instanceof iJ&&oa.Jk?(rJ(d.jc,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED",oa.Jk,c),DG(oa,c,void 0,void 0,oa.Uu)):(rJ(d.jc,"ADS_CLIENT_ERROR_TYPE_SCHEDULE_SLOT_FAILED","ADS_CLIENT_ERROR_MESSAGE_UNEXPECTED_ERROR",c),DG(oa,c));sJ(d,c,!0);break a}CJ(d.jc,"ADS_CLIENT_EVENT_TYPE_SLOT_SCHEDULED",c);d.j.Ui(c);for(var Y=g.v(d.Ke),la=Y.next();!la.done;la= Y.next())la.value.Ui(c);dza(d,c)}}; wN=function(a,b,c,d){g.J.call(this);var e=this;this.Rb=a;this.Kb=b;this.yc=c;this.j=new Map;d.get().addListener(this);this.addOnDisposeCallback(function(){d.isDisposed()||d.get().removeListener(e)})}; yDa=function(a,b){var c=0x8000000000000;for(var d=0,e=g.v(b.slotFulfillmentTriggers),f=e.next();!f.done;f=e.next())f=f.value,f instanceof hM?(c=Math.min(c,f.j.start),d=Math.max(d,f.j.end)):DG("Found unexpected fulfillment trigger for throttled slot.",b,null,{fulfillmentTrigger:f});c=new cv(c,d);d="throttledadcuerange:"+b.slotId;a.j.set(d,b);a.yc.get().addCueRange(d,c.start,c.end,!1,a)}; xN=function(){g.J.apply(this,arguments);this.qj=!0;this.Fl=new Map;this.j=new Map}; DFa=function(a,b){a=g.v(a.Fl.values());for(var c=a.next();!c.done;c=a.next())if(c.value.layoutId===b)return!0;return!1}; pAa=function(a,b){a=g.v(a.j.values());for(var c=a.next();!c.done;c=a.next()){c=g.v(c.value);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.layoutId===b)return d}DG("Trying to retrieve an unknown layout",void 0,void 0,{isEmpty:String(g.gc(b)),layoutId:b})}; EFa=function(a,b){this.callback=a;this.slot=b}; yN=function(){}; FFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c}; GFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c;this.B=!1;this.j=0}; HFa=function(a,b,c){this.callback=a;this.slot=b;this.Ja=c}; zN=function(a){this.Ja=a}; AN=function(a){g.J.call(this);this.IL=a;this.Wb=new Map}; IFa=function(a,b){for(var c=[],d=g.v(a.Wb.values()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.trigger;f instanceof tM&&f.triggeringLayoutId===b&&c.push(e)}c.length?BJ(a.IL(),c):DG("Survey is submitted but no registered triggers can be activated.")}; BN=function(a,b,c){AN.call(this,a);var d=this;this.Ga=c;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(d)})}; CN=function(a){g.J.call(this);this.j=a;this.qj=!0;this.Wb=new Map;this.G=new Set;this.C=new Set;this.D=new Set;this.K=new Set;this.B=new Set}; DN=function(a){g.J.call(this);this.j=a;this.Wb=new Map}; EN=function(a,b){for(var c=[],d=g.v(a.Wb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger.j===b.layoutId&&c.push(e);c.length&&BJ(a.j(),c)}; FN=function(a,b){g.J.call(this);var c=this;this.j=a;this.Wb=new Map;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(c)})}; JFa=function(a,b,c,d){var e=[];a=g.v(a.values());for(var f=a.next();!f.done;f=a.next())if(f=f.value,f.trigger instanceof kM){var h=f.trigger.j===b;h===c?e.push(f):d&&h&&(DG("Firing OnNewPlaybackAfterContentVideoIdTrigger from presumed cached playback CPN match.",void 0,void 0,{cpn:b}),e.push(f))}return e}; KFa=function(a){return a instanceof aDa||a instanceof bDa||a instanceof lM}; GN=function(a,b,c,d){g.J.call(this);var e=this;this.B=a;this.yc=b;this.Ja=c;this.Xa=d;this.qj=!0;this.Wb=new Map;this.j=new Set;c.get().addListener(this);this.addOnDisposeCallback(function(){c.isDisposed()||c.get().removeListener(e)})}; LFa=function(a,b,c,d,e,f,h,l,m,n){if(a.Xa.get().mf(1).clientPlaybackNonce!==m)throw new iJ("Cannot register CueRange-based trigger for different content CPN",{trigger:c});a.Wb.set(c.triggerId,{bv:new uM(b,c,d,e),xv:f});a.yc.get().addCueRange(f,h,l,n,a)}; MFa=function(a,b){a=g.v(a.Wb.entries());for(var c=a.next();!c.done;c=a.next()){var d=g.v(c.value);c=d.next().value;d=d.next().value;if(b===d.xv)return c}return""}; HN=function(a,b){g.J.call(this);var c=this;this.D=a;this.B=new Map;this.C=new Map;this.j=null;b.get().addListener(this);this.addOnDisposeCallback(function(){b.isDisposed()||b.get().removeListener(c)}); var d;this.j=(null==(d=b.get().zv)?void 0:d.slotId)||null}; NFa=function(a,b){var c=[];a=g.v(a.values());for(var d=a.next();!d.done;d=a.next())d=d.value,d.slot.slotId===b&&c.push(d);return c}; IN=function(a){g.J.call(this);this.j=a;this.qj=!0;this.Wb=new Map}; AK=function(a,b){b=b.layoutId;for(var c=[],d=g.v(a.Wb.values()),e=d.next();!e.done;e=d.next())if(e=e.value,e.trigger instanceof jM){var f;if(f=e.trigger.layoutId===b)f=(f=mza.get(e.category))?"normal"===f:!1;f&&c.push(e)}c.length&&BJ(a.j(),c)}; JN=function(a){g.J.call(this);this.j=a;this.qj=!0;this.Wb=new Map}; KN=function(a){g.J.call(this);this.C=a;this.qj=!0;this.Wb=new Map;this.j=new Map;this.B=new Map}; OFa=function(a,b){var c=[];if(b=a.j.get(b.layoutId)){b=g.v(b);for(var d=b.next();!d.done;d=b.next())(d=a.B.get(d.value.triggerId))&&c.push(d)}return c}; LN=function(a){g.J.call(this);this.j=a;this.Wb=new Map}; PFa=function(a,b){for(var c=[],d=g.v(a.Wb.values()),e=d.next();!e.done;e=d.next())e=e.value,e.trigger instanceof YL&&e.trigger.slotId===b&&c.push(e);1<=c.length&&BJ(a.j(),c)}; QFa=function(a,b){var c={slotId:aK(b,"SLOT_TYPE_IN_PLAYER"),slotType:"SLOT_TYPE_IN_PLAYER",slotPhysicalPosition:1,slotEntryTrigger:void 0,slotFulfillmentTriggers:[],slotExpirationTriggers:[],Za:"surface",Ca:new jJ([])},d=Object,e=d.assign;b=OJ(b,"LAYOUT_TYPE_TEXT_BANNER_OVERLAY",c.slotId);b={layoutId:b,layoutType:"LAYOUT_TYPE_TEXT_BANNER_OVERLAY",Pb:new Map,layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"surface",Ca:new jJ([]), pc:$ya(!1,c.slotId,c.slotType,c.slotPhysicalPosition,c.Za,c.slotEntryTrigger,c.slotFulfillmentTriggers,c.slotExpirationTriggers,b,"LAYOUT_TYPE_TEXT_BANNER_OVERLAY","surface")};return e.call(d,{},a,{w7:!0,slot:c,layout:b})}; CDa=function(a,b,c,d){var e=a.kind;d=d?!1:!a.hideCueRangeMarker;switch(e){case "AD_PLACEMENT_KIND_START":return d={ao:new cv(-0x8000000000000,-0x8000000000000),fF:d},null!=c&&(d.wp=new cv(-0x8000000000000,-0x8000000000000)),d;case "AD_PLACEMENT_KIND_END":return d={ao:new cv(0x7ffffffffffff,0x8000000000000),fF:d},null!=c&&(d.wp=new cv(Math.max(0,b-c),0x8000000000000)),d;case "AD_PLACEMENT_KIND_MILLISECONDS":e=a.adTimeOffset;e.offsetStartMilliseconds||DG("AD_PLACEMENT_KIND_MILLISECONDS missing start milliseconds."); e.offsetEndMilliseconds||DG("AD_PLACEMENT_KIND_MILLISECONDS missing end milliseconds.");a=Number(e.offsetStartMilliseconds);e=Number(e.offsetEndMilliseconds);-1===e&&(e=b);if(Number.isNaN(a)||Number.isNaN(e)||a>e)return new iJ("AD_PLACEMENT_KIND_MILLISECONDS endMs needs to be >= startMs.",{offsetStartMs:a,offsetEndMs:e},"ADS_CLIENT_ERROR_MESSAGE_AD_PLACEMENT_END_SHOULD_GREATER_THAN_START",e===b&&a-500<=e);d={ao:new cv(a,e),fF:d};if(null!=c){a=Math.max(0,a-c);if(a===e)return d;d.wp=new cv(a,e)}return d; default:return new iJ("AdPlacementKind not supported in convertToRange.",{kind:e,adPlacementConfig:a})}}; yFa=function(a){var b=1E3*a.startSecs;return new cv(b,b+1E3*a.Yh)}; MN=function(){this.B=new Map;this.j=new Map;this.C=new Map}; aK=function(a,b){if(g.uB("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.B.get(b)||0;c++;a.B.set(b,c);return b+"_"+c}return g.HE(16)}; OJ=function(a,b,c){if(g.uB("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var d=a.j.get(b)||0;d++;a.j.set(b,d);return c+"_"+b+"_"+d}return g.HE(16)}; iN=function(a,b){if(g.uB("GENERATE_DETERMINSTIC_ADS_CONTROL_FLOW_IDS")){var c=a.C.get(b)||0;c++;a.C.set(b,c);return b+"_"+c}return g.HE(16)}; RFa=function(a){var b=[new EI(a.lq),new Lya(a.KQ),new sI(a.adPlacementConfig),new LI(a.videoLengthSeconds),new YI(a.ZI)];a.instreamAdPlayerOverlayRenderer&&b.push(new zI(a.instreamAdPlayerOverlayRenderer));a.playerOverlayLayoutRenderer&&b.push(new AI(a.playerOverlayLayoutRenderer));a.vM&&b.push(new wI(a.vM));return b}; SFa=function(a,b,c,d,e,f){a=c.inPlayerLayoutId?c.inPlayerLayoutId:OJ(f,"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",a);var h,l,m=c.instreamAdPlayerOverlayRenderer?null==(h=c.instreamAdPlayerOverlayRenderer)?void 0:h.adLayoutLoggingData:null==(l=c.playerOverlayLayoutRenderer)?void 0:l.adLayoutLoggingData;h={layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Za:b};return{layoutId:a,layoutType:"LAYOUT_TYPE_MEDIA_LAYOUT_PLAYER_OVERLAY",Pb:new Map,layoutExitNormalTriggers:[new fM(function(n){return iN(f, n)},c.lq)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:b,Ca:d,pc:e(h),adLayoutLoggingData:m}}; NN=function(a,b){var c=this;this.fb=a;this.Ga=b;this.j=function(d){return iN(c.fb.get(),d)}}; bEa=function(a,b,c,d,e,f){c=new jJ([new BI(c),new sI(d)]);b=OJ(a.fb.get(),"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",b);d={layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Za:"core"};return{layoutId:b,layoutType:"LAYOUT_TYPE_UNDERLAY_TEXT_ICON_BUTTON",Pb:new Map,layoutExitNormalTriggers:[new fM(function(h){return iN(a.fb.get(),h)},e)], layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:c,pc:f(d),adLayoutLoggingData:void 0}}; hN=function(a,b,c,d,e){var f=RFa(d);return SFa(b,c,d,new jJ(f),e,a.fb.get())}; TFa=function(a,b,c,d,e){var f=RFa(d);f.push(new Eya(d.v4));f.push(new Fya(d.w4));return SFa(b,c,d,new jJ(f),e,a.fb.get())}; oN=function(a,b,c,d,e,f,h,l,m,n){b=OJ(a.fb.get(),c,b);var p={layoutId:b,layoutType:c,Za:"core"},q=new Map;h&&q.set("impression",h);h=[new iM(a.j,e)];n&&h.push(new eM(a.j,n,["normal"]));return{layoutId:b,layoutType:c,Pb:q,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([d,new sI(f),new EI(e)]),pc:l(p),adLayoutLoggingData:m}}; vFa=function(a,b,c,d,e,f,h,l,m){b=OJ(a.fb.get(),c,b);var n={layoutId:b,layoutType:c,Za:"core"},p=[new iM(a.j,e)];m&&p.push(new eM(a.j,m,["normal"]));return{layoutId:b,layoutType:c,Pb:new Map,layoutExitNormalTriggers:p,layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([d,new sI(f),new EI(e)]),pc:h(n),adLayoutLoggingData:l}}; SEa=function(a,b,c){var d=[];d.push(new ZCa(a.j,c));b&&d.push(b);return d}; REa=function(a,b,c,d,e,f,h){var l={layoutId:b,layoutType:c,Za:"core"};return{layoutId:b,layoutType:c,Pb:new Map,layoutExitNormalTriggers:h,layoutExitSkipTriggers:[new aM(a.j,b)],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new Aya(d),new sI(e)]),pc:f(l),adLayoutLoggingData:d.adLayoutLoggingData}}; rEa=function(a,b,c,d,e,f,h,l){var m={layoutId:b,layoutType:f,Za:"core"};return{layoutId:b,layoutType:f,Pb:new Map,layoutExitNormalTriggers:[new fM(a.j,c)],layoutExitSkipTriggers:[],layoutExitMuteTriggers:[],layoutExitUserInputSubmittedTriggers:[],Sc:[],Za:"core",Ca:new jJ([new sI(d)].concat(g.qa(h))),pc:e(m),adLayoutLoggingData:l}}; jN=function(a,b,c,d){if(a.Ga.get().rf("AD_PLACEMENT_KIND_START"===b.kind))if(void 0===c)DG("Expected SSAP layout ID in renderer",void 0,void 0,{caller:d});else return c}; UEa=function(a,b,c,d,e,f,h,l,m,n,p,q,r){a=$Ea(a,b,c,e,f,h,l,m,q,jN(a,c,d.layoutId,"createSubLayoutVodSkippableMediaBreakLayoutForEndcap"),r);b=a.Uy;c=new FI(a.JJ);d=a.layoutExitSkipTriggers;0b;b++)c[e]=b,d[b]=e,e^=e<<1^(e>>7&&283);UN=new Uint8Array(256);VN=TN(256);WN=TN(256);XN=TN(256);YN=TN(256);for(var f=0;256>f;f++){e=f?d[255^c[f]]:0;e^=e<<1^e<<2^e<<3^e<<4;e=e&255^e>>>8^99;UN[f]=e;b=e<<1^(e>>7&&283);var h=b^e;VN[f]=b<<24|e<<16|e<<8|h;WN[f]=h<<24|VN[f]>>>8;XN[f]=e<<24|WN[f]>>>8;YN[f]=e<<24|XN[f]>>>8}bGa=!0}e=TN(44);for(c= 0;4>c;c++)e[c]=a[4*c]<<24|a[4*c+1]<<16|a[4*c+2]<<8|a[4*c+3];for(d=1;44>c;c++)a=e[c-1],c%4||(a=(UN[a>>16&255]^d)<<24|UN[a>>8&255]<<16|UN[a&255]<<8|UN[a>>>24],d=d<<1^(d>>7&&283)),e[c]=e[c-4]^a;this.key=e}; cGa=function(a){for(var b=a.key,c=a.counter[0]^b[0],d=a.counter[1]^b[1],e=a.counter[2]^b[2],f=a.counter[3]^b[3],h=3;0<=h&&!(a.counter[h]=-~a.counter[h]);h--);for(var l,m,n=4;40>n;)h=VN[c>>>24]^WN[d>>16&255]^XN[e>>8&255]^YN[f&255]^b[n++],l=VN[d>>>24]^WN[e>>16&255]^XN[f>>8&255]^YN[c&255]^b[n++],m=VN[e>>>24]^WN[f>>16&255]^XN[c>>8&255]^YN[d&255]^b[n++],f=VN[f>>>24]^WN[c>>16&255]^XN[d>>8&255]^YN[e&255]^b[n++],c=h,d=l,e=m;a=a.B;h=b[40];a[0]=UN[c>>>24]^h>>>24;a[1]=UN[d>>16&255]^h>>16&255;a[2]=UN[e>>8&255]^ h>>8&255;a[3]=UN[f&255]^h&255;h=b[41];a[4]=UN[d>>>24]^h>>>24;a[5]=UN[e>>16&255]^h>>16&255;a[6]=UN[f>>8&255]^h>>8&255;a[7]=UN[c&255]^h&255;h=b[42];a[8]=UN[e>>>24]^h>>>24;a[9]=UN[f>>16&255]^h>>16&255;a[10]=UN[c>>8&255]^h>>8&255;a[11]=UN[d&255]^h&255;h=b[43];a[12]=UN[f>>>24]^h>>>24;a[13]=UN[c>>16&255]^h>>16&255;a[14]=UN[d>>8&255]^h>>8&255;a[15]=UN[e&255]^h&255}; aO=function(){if(!dGa&&!g.HD){if($N)return $N;var a;$N=null==(a=window.crypto)?void 0:a.subtle;var b,c,d;if((null==(b=$N)?0:b.importKey)&&(null==(c=$N)?0:c.sign)&&(null==(d=$N)?0:d.encrypt))return $N;$N=void 0}}; eGa=function(){this.C=this.j=0;this.B=Array.from({length:bO.length}).fill(0)}; fGa=function(){}; gGa=function(a){this.name=a;this.startTimeMs=(0,g.rD)();this.j=!1}; hGa=function(){this.j=new fGa}; jGa=function(a,b,c,d){if(b&&"object"===typeof b&&"then"in b&&"function"===typeof b.then){var e=function(f){iGa(a,c,(0,g.rD)()-d);return f}; return b.then(e,e)}iGa(a,c,(0,g.rD)()-d);return b}; iGa=function(a,b,c,d){d=void 0===d?1:d;0<=c&&(b in a.j||(a.j[b]=new eGa),a.j[b].Ai(c,d))}; kGa=function(){}; lGa=function(a){if(!cO.isActive())return a.exports.AES128CTRCipher_encrypt.bind(a.exports);var b=a.j?"oals":"oalw";return function(c,d,e){cO.Am(b,function(){a.exports.AES128CTRCipher_encrypt(c,d,e)})}}; dO=function(a,b){g.J.call(this);var c=this;this.j=a;this.B=lGa(this.j);this.cipher=this.j.exports.AES128CTRCipher_create(b.byteOffset);this.addOnDisposeCallback(function(){c.j.exports.AES128CTRCipher_release(c.cipher)})}; g.eO=function(a){this.D=a}; g.fO=function(a){g.J.call(this);this.B=a}; gO=function(a,b){g.J.call(this);this.j=a;this.C=b}; mGa=function(a){this.G=new Uint8Array(64);this.C=new Uint8Array(64);this.D=0;this.K=new Uint8Array(64);this.B=0;this.G.set(a);this.C.set(a);for(a=0;64>a;a++)this.G[a]^=92,this.C[a]^=54;this.reset()}; nGa=function(a,b,c){for(var d=a.N,e=a.j[0],f=a.j[1],h=a.j[2],l=a.j[3],m=a.j[4],n=a.j[5],p=a.j[6],q=a.j[7],r,t,u,x=0;64>x;)16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=q+hO[x]+u+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>>25|m<<7))+(m&n^~m&p),t=((e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10))+(e&f^e&h^f&h),q=r+t,l+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r= d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=p+hO[x]+u+((l>>>6|l<<26)^(l>>>11|l<<21)^(l>>>25|l<<7))+(l&m^~l&n),t=((q>>>2|q<<30)^(q>>>13|q<<19)^(q>>>22|q<<10))+(q&e^q&f^e&f),p=r+t,h+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=n+hO[x]+u+((h>>>6|h<<26)^(h>>>11|h<<21)^(h>>>25|h<<7))+(h&l^ ~h&m),t=((p>>>2|p<<30)^(p>>>13|p<<19)^(p>>>22|p<<10))+(p&q^p&e^q&e),n=r+t,f+=r,x++,16>x?(d[x]=u=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4):(r=d[x-2],t=d[x-15],u=d[x-7]+d[x-16]+((r>>>17|r<<15)^(r>>>19|r<<13)^r>>>10)+((t>>>7|t<<25)^(t>>>18|t<<14)^t>>>3),d[x]=u),r=m+hO[x]+u+((f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7))+(f&h^~f&l),t=((n>>>2|n<<30)^(n>>>13|n<<19)^(n>>>22|n<<10))+(n&p^n&q^p&q),u=q,q=l,l=u,u=p,p=h,h=u,u=n,n=f,f=u,m=e+r,e=r+t,x++;a.j[0]=e+a.j[0]|0;a.j[1]=f+a.j[1]|0;a.j[2]=h+a.j[2]|0;a.j[3]= l+a.j[3]|0;a.j[4]=m+a.j[4]|0;a.j[5]=n+a.j[5]|0;a.j[6]=p+a.j[6]|0;a.j[7]=q+a.j[7]|0}; pGa=function(a){var b=new Uint8Array(32),c=64-a.B;55f;f++){var h=e%256;d[c-f]=h;e=(e-h)/256}a.update(d);for(c=0;8>c;c++)b[4*c]=a.j[c]>>>24,b[4*c+1]=a.j[c]>>>16&255,b[4*c+2]=a.j[c]>>>8&255,b[4*c+3]=a.j[c]&255;oGa(a);return b}; oGa=function(a){a.j=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];a.N=[];a.N.length=64;a.D=0;a.B=0}; qGa=function(a){this.j=a}; rGa=function(a,b,c){a=new mGa(a.j);a.update(b);a.update(c);b=pGa(a);a.update(a.G);a.update(b);b=pGa(a);a.reset();return b}; sGa=function(a){this.B=a}; tGa=function(a,b,c,d){var e,f,h;return g.I(function(l){switch(l.j){case 1:if(a.j){l.La(2);break}return g.y(l,d.importKey("raw",a.B,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),3);case 3:a.j=l.B;case 2:return e=new Uint8Array(b.length+c.length),e.set(b),e.set(c,b.length),f={name:"HMAC",hash:"SHA-256"},g.y(l,d.sign(f,a.j,e),4);case 4:return h=l.B,l.return(new Uint8Array(h))}})}; uGa=function(a,b,c){a.C||(a.C=new qGa(a.B));return rGa(a.C,b,c)}; vGa=function(a,b,c){var d,e;return g.I(function(f){if(1==f.j){d=aO();if(!d)return f.return(uGa(a,b,c));g.Ca(f,3);return g.y(f,tGa(a,b,c,d),5)}if(3!=f.j)return f.return(f.B);e=g.Ea(f);g.xF(e);dGa=!0;return f.return(uGa(a,b,c))})}; iO=function(){var a=wGa;var b=void 0===b?[]:b;var c=void 0===c?[]:c;b=$la.apply(null,[ama.apply(null,g.qa(b))].concat(g.qa(c)));this.store=cma(a,void 0,b)}; g.xGa=function(a,b,c){for(var d=Object.assign({},a),e=g.v(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=f.value;var h=a[f],l=b[f];if(void 0===l)delete d[f];else if(void 0===h)d[f]=l;else if(Array.isArray(l)&&Array.isArray(h))d[f]=c?[].concat(g.qa(h),g.qa(l)):l;else if(!Array.isArray(l)&&g.$a(l)&&!Array.isArray(h)&&g.$a(h))d[f]=g.xGa(h,l,c);else if(typeof l===typeof h)d[f]=l;else return b=new g.RC("Attempted to merge fields of differing types.",{name:"DeepMergeError",key:f,kjb:h,updateValue:l}), g.wF(b),a}return d}; jO=function(a){var b=this;a=void 0===a?[]:a;this.j=[];this.C=this.B=0;this.D=void 0;this.totalLength=0;a.forEach(function(c){b.append(c)})}; yGa=function(a,b){return 0===a.j.length?!1:(a=a.j[a.j.length-1])&&a.buffer===b.buffer&&a.byteOffset+a.length===b.byteOffset}; kO=function(a,b){b=g.v(b.j);for(var c=b.next();!c.done;c=b.next())a.append(c.value)}; lO=function(a,b,c){return a.split(b).Em.split(c).oI}; zGa=function(a){a.D=void 0;a.B=0;a.C=0}; AGa=function(a,b,c){a.isFocused(b);return b-a.C+c<=a.j[a.B].length}; BGa=function(a){if(!a.D){var b=a.j[a.B];a.D=new DataView(b.buffer,b.byteOffset,b.length)}return a.D}; CGa=function(a,b,c){b=void 0===b?0:b;c=void 0===c?-1:c;if(!a.totalLength||!c)return new DataView(new ArrayBuffer(0));0>c&&(c=a.totalLength-b);a.focus(b);if(!AGa(a,b,c)){var d=a.B,e=a.C;a.focus(b+c-1);e=new Uint8Array(a.C+a.j[a.B].length-e);for(var f=0,h=d;h<=a.B;h++)e.set(a.j[h],f),f+=a.j[h].length;a.j.splice(d,a.B-d+1,e);zGa(a);a.focus(b)}d=a.j[a.B];return new DataView(d.buffer,d.byteOffset+b-a.C,c)}; mO=function(a,b,c){a=CGa(a,void 0===b?0:b,void 0===c?-1:c);return new Uint8Array(a.buffer,a.byteOffset,a.byteLength)}; DGa=function(a,b,c){a=mO(a,void 0===b?0:b,void 0===c?-1:c);b=new Uint8Array(a.length);try{b.set(a)}catch(d){for(c=0;ce&&bf)rO[e++]=f;else{if(224>f)f=(f&31)<<6|a[b++]&63;else if(240>f)f=(f&15)<<12|(a[b++]&63)<<6|a[b++]&63;else{if(1024===e+1){--b;break}f=(f&7)<<18|(a[b++]&63)<<12|(a[b++]&63)<<6|a[b++]&63;f-=65536;rO[e++]=55296|f>>10;f=56320|f&1023}rO[e++]=f}}f=String.fromCharCode.apply(String,rO); 1024>e&&(f=f.substr(0,e));c.push(f)}return c.join("")}; uO=function(a,b){var c;if(null==(c=tO)?0:c.encodeInto)return b=tO.encodeInto(a,b),b.reade?b[c++]=e:(2048>e?b[c++]=e>>6|192:(55296===(e&64512)&&d+1>18|240,b[c++]=e>>12&63|128):b[c++]=e>>12|224,b[c++]=e>>6&63|128),b[c++]=e&63|128)}return c}; GGa=function(a){if(tO)return tO.encode(a);var b=new Uint8Array(Math.ceil(1.2*a.length)),c=uO(a,b);b.lengthc&&(b=b.subarray(0,c));return b}; vO=function(a){this.j=a;this.pos=0;this.B=-1}; wO=function(a){var b=nO(a.j,a.pos);++a.pos;if(128>b)return b;for(var c=b&127,d=1;128<=b;)b=nO(a.j,a.pos),++a.pos,d*=128,c+=(b&127)*d;return c}; xO=function(a,b){var c=a.B;for(a.B=-1;a.pos+1<=a.j.totalLength;){0>c&&(c=wO(a));var d=c>>3,e=c&7;if(d===b)return!0;if(d>b){a.B=c;break}c=-1;switch(e){case 0:wO(a);break;case 1:a.pos+=8;break;case 2:d=wO(a);a.pos+=d;break;case 5:a.pos+=4}}return!1}; yO=function(a,b){if(xO(a,b))return wO(a)}; zO=function(a,b){if(xO(a,b))return!!wO(a)}; AO=function(a,b){if(xO(a,b)){b=wO(a);var c=mO(a.j,a.pos,b);a.pos+=b;return c}}; BO=function(a,b){if(a=AO(a,b))return g.sO(a)}; CO=function(a,b,c){if(a=AO(a,b))return c(new vO(new jO([a])))}; DO=function(a,b){for(var c=[];xO(a,b);)c.push(wO(a));return c.length?c:void 0}; EO=function(a,b,c){for(var d=[],e;e=AO(a,b);)d.push(c(new vO(new jO([e]))));return d.length?d:void 0}; FO=function(a,b){a=a instanceof Uint8Array?new jO([a]):a;return b(new vO(a))}; HGa=function(a,b){a=void 0===a?4096:a;this.B=b;this.pos=0;this.C=[];b=void 0;if(this.B)try{var c=this.B.exports.malloc(a);b=new Uint8Array(this.B.exports.memory.buffer,c,a)}catch(d){}b||(b=new Uint8Array(a));this.j=b;this.view=new DataView(this.j.buffer,this.j.byteOffset,this.j.byteLength)}; GO=function(a,b){var c=a.pos+b;if(!(a.j.length>=c)){for(b=2*a.j.length;bd;d++)a.view.setUint8(a.pos,c&127|128),c>>=7,a.pos+=1;b=Math.floor(b/268435456)}for(GO(a,4);127>=7,a.pos+=1;a.view.setUint8(a.pos,b);a.pos+=1}; IO=function(a,b,c){void 0!==c&&(HO(a,8*b),HO(a,c))}; JO=function(a,b,c){void 0!==c&&IO(a,b,c?1:0)}; KO=function(a,b,c){void 0!==c&&(HO(a,8*b+2),b=c.length,HO(a,b),GO(a,b),a.j.set(c,a.pos),a.pos+=b)}; LO=function(a,b,c){void 0!==c&&(IGa(a,b,Math.ceil(Math.log2(4*c.length+2)/7)),GO(a,1.2*c.length),b=uO(c,a.j.subarray(a.pos)),a.pos+b>a.j.length&&(GO(a,b),b=uO(c,a.j.subarray(a.pos))),a.pos+=b,JGa(a))}; IGa=function(a,b,c){c=void 0===c?2:c;HO(a,8*b+2);a.C.push(a.pos);a.C.push(c);a.pos+=c}; JGa=function(a){for(var b=a.C.pop(),c=a.C.pop(),d=a.pos-c-b;b--;){var e=b?128:0;a.view.setUint8(c++,d&127|e);d>>=7}}; MO=function(a,b,c,d,e){c&&(IGa(a,b,void 0===e?3:e),d(a,c),JGa(a))}; KGa=function(a){a.B&&a.j.buffer!==a.B.exports.memory.buffer&&(a.j=new Uint8Array(a.B.exports.memory.buffer,a.j.byteOffset,a.j.byteLength),a.view=new DataView(a.j.buffer,a.j.byteOffset,a.j.byteLength));return new Uint8Array(a.j.buffer,a.j.byteOffset,a.pos)}; g.NO=function(a,b,c){c=new HGa(4096,c);b(c,a);return KGa(c)}; g.OO=function(a){var b=new vO(new jO([tg(decodeURIComponent(a))]));a=BO(b,2);b=yO(b,4);var c=LGa[b];if("undefined"===typeof c)throw a=new g.RC("Failed to recognize field number",{name:"EntityKeyHelperError",Khb:b}),g.wF(a),a;return{K5:b,entityType:c,entityId:a}}; g.PO=function(a,b){var c=new HGa;KO(c,2,GGa(a));a=MGa[b];if("undefined"===typeof a)throw b=new g.RC("Failed to recognize entity type",{name:"EntityKeyHelperError",entityType:b}),g.wF(b),b;IO(c,4,a);IO(c,5,1);b=KGa(c);return encodeURIComponent(g.rg(b))}; QO=function(a,b,c,d){if(void 0===d)return d=Object.assign({},a[b]||{}),c=(delete d[c],d),d={},Object.assign({},a,(d[b]=c,d));var e={},f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))}; NGa=function(a,b,c,d,e){var f=a[b];if(null==f||!f[c])return a;d=g.xGa(f[c],d,"REPEATED_FIELDS_MERGE_OPTION_APPEND"===e);e={};f={};return Object.assign({},a,(f[b]=Object.assign({},a[b],(e[c]=d,e)),f))}; OGa=function(a,b){a=void 0===a?{}:a;switch(b.type){case "ENTITY_LOADED":return b.payload.reduce(function(d,e){var f,h=null==(f=e.options)?void 0:f.persistenceOption;if(h&&"ENTITY_PERSISTENCE_OPTION_UNKNOWN"!==h&&"ENTITY_PERSISTENCE_OPTION_INMEMORY_AND_PERSIST"!==h)return d;if(!e.entityKey)return g.wF(Error("Missing entity key")),d;if("ENTITY_MUTATION_TYPE_REPLACE"===e.type){if(!e.payload)return g.wF(new g.RC("REPLACE entity mutation is missing a payload",{entityKey:e.entityKey})),d;var l=g.ad(e.payload); return QO(d,l,e.entityKey,e.payload[l])}if("ENTITY_MUTATION_TYPE_DELETE"===e.type){e=e.entityKey;try{var m=g.OO(e).entityType;l=QO(d,m,e)}catch(q){if(q instanceof Error)g.wF(new g.RC("Failed to deserialize entity key",{entityKey:e,yQ:q.message})),l=d;else throw q;}return l}if("ENTITY_MUTATION_TYPE_UPDATE"===e.type){if(!e.payload)return g.wF(new g.RC("UPDATE entity mutation is missing a payload",{entityKey:e.entityKey})),d;l=g.ad(e.payload);var n,p;return NGa(d,l,e.entityKey,e.payload[l],null==(n= e.fieldMask)?void 0:null==(p=n.mergeOptions)?void 0:p.repeatedFieldsMergeOption)}return d},a); case "REPLACE_ENTITY":var c=b.payload;return QO(a,c.entityType,c.key,c.J5);case "REPLACE_ENTITIES":return Object.keys(b.payload).reduce(function(d,e){var f=b.payload[e];return Object.keys(f).reduce(function(h,l){return QO(h,e,l,f[l])},d)},a); case "UPDATE_ENTITY":return c=b.payload,NGa(a,c.entityType,c.key,c.J5,c.bjb);default:return a}}; RO=function(a,b,c){return a[b]?a[b][c]||null:null}; QGa=function(a){var b=a.hours||0;var c=a.minutes||0,d=a.seconds||0;b=d+60*c+3600*b+86400*(a.days||0)+604800*(a.weeks||0)+2629800*(a.months||0)+31557600*(a.years||0);0>=b?b={hours:0,minutes:0,seconds:0}:(a=b,b=Math.floor(a/3600),a%=3600,c=Math.floor(a/60),d=Math.floor(a%60),b={hours:b,minutes:c,seconds:d});var e=void 0===b.hours?0:b.hours;c=void 0===b.minutes?0:b.minutes;a=void 0===b.seconds?0:b.seconds;d=0c?PGa().format(c):(new Intl.NumberFormat("en-u-nu-latn")).format(c);b.push(c);c=PGa().format(a);b.push(c);c=":";"da fi id si sl sr sr-Latn".split(" ").includes(SO)&&(c=".");return b.join(c)}; PGa=function(){return new Intl.NumberFormat("en-u-nu-latn",{minimumIntegerDigits:2})}; RGa=function(a,b){var c,d;a=(null==(c=a.watchEndpointSupportedAuthorizationTokenConfig)?void 0:null==(d=c.videoAuthorizationToken)?void 0:d.credentialTransferTokens)||[];for(c=0;ca}; kLa=function(a,b){jLa(a.program,b.Naa)&&(PH("bg_i",void 0,"player_att"),g.bI.initialize(a,function(){PH("bg_l",void 0,"player_att");hLa=(0,g.rD)()},b.cspNonce))}; lLa=function(a){a=void 0===a?{}:a;return g.bI.invoke(a)}; mLa=function(a){var b=g.xB("botguard_async_snapshot_timeout_ms",3E3);a=void 0===a?{}:a;return jya(a,b)}; jLa=function(a,b){return a?g.bI.isLoading()?!1:iLa(b):!1}; nLa=function(a){a=a.split("");tP.je(a,6);tP.xZ(a,54);tP.je(a,74);tP.sz(a,3);tP.xZ(a,48);return a.join("")}; g.oLa=function(a,b){return a.Ka+"timedtext_video?ref=player&v="+b.videoId}; g.uP=function(a,b){a.feature=b;return a}; g.pLa=function(a){var b=this;this.videoData=a;a={};this.B=(a.c1a=function(){var c=[];if(g.bI.isInitialized()){var d="";b.videoData&&b.videoData.Lk&&(d=b.videoData.Lk+("&r1b="+b.videoData.clientPlaybackNonce));var e={};d=(e.atr_challenge=d,e);PH("bg_v",void 0,"player_att");d=lLa(d);PH("bg_s",void 0,"player_att");d?c.push("r1a="+d):c.push("r1c=2")}else PH("bg_e",void 0,"player_att"),window.trayride||window.botguard?c.push("r1c=1"):c.push("r1c=4");c.push("r1d="+g.bI.getState());return c.join("&")},a.c6a= function(c){return"r6a="+(Number(c.c)^nya())},a.c6b=function(c){return"r6b="+(Number(c.c)^Number(g.uB("CATSTAT",0)))},a); this.videoData&&this.videoData.Lk?this.j=EB(this.videoData.Lk):this.j={}}; g.qLa=function(a){if(a.videoData&&a.videoData.Lk){for(var b=[a.videoData.Lk],c=g.v(Object.keys(a.B)),d=c.next();!d.done;d=c.next())d=d.value,a.j[d]&&a.B[d]&&(d=a.B[d](a.j))&&b.push(d);return b.join("&")}return null}; sLa=function(a){var b={};Object.assign(b,a.B);g.wB("player_attestation_bg_async")&&(b.c1a=function(){return rLa(a)}); if(a.videoData&&a.videoData.Lk){for(var c=[a.videoData.Lk],d=g.v(Object.keys(b)),e=d.next();!e.done;e=d.next())e=e.value,a.j[e]&&b[e]&&(e=b[e](a.j))&&c.push(e);return new Promise(function(f,h){Promise.all(c).then(function(l){f(l.filter(function(m){return!!m}).join("&"))},h)})}return Promise.resolve(null)}; g.tLa=function(a,b){kLa(a,{Naa:g.pJ(b.experiments,"bg_vm_reinit_threshold"),cspNonce:b.cspNonce})}; rLa=function(a){function b(e){return e+"&r1d="+g.bI.getState()} if(!g.bI.isInitialized())return PH("bg_e",void 0,"player_att"),window.trayride||window.botguard?Promise.resolve(b("r1c=1")):Promise.resolve(b("r1c=4"));var c="";a.videoData&&a.videoData.Lk&&(c=a.videoData.Lk+("&r1b="+a.videoData.clientPlaybackNonce));a={};var d=(a.atr_challenge=c,a);return new Promise(function(e){PH("bg_v",void 0,"player_att");mLa(d).then(function(f){f?(PH("bg_s",void 0,"player_att"),e(b("r1a="+f))):(PH("bg_e",void 0,"player_att"),e(b("r1c=2")))},function(){PH("bg_e",void 0,"player_att"); e(b("r1c=3"))})})}; vP=function(a){a=void 0===a?2592E3:a;if(0(0,g.rD)()-1E3*a))return 0;a=g.KC("yt-player-quality");if("string"===typeof a){if(a=g.IK[a],0a.previousQuality)return 1;if(a.quality=b)}; EP=function(a){return"["+a.B+"-"+a.j+", override: "+(a.C+", reason: "+a.reason+"]")}; FP=function(a,b,c){this.videoInfos=a;this.j=b;this.audioTracks=[];if(this.j){a=new Set;null==c||c({ainfolen:this.j.length});b=g.v(this.j);for(var d=b.next();!d.done;d=b.next())if(d=d.value,!d.Mc||a.has(d.Mc.id)){var e=void 0,f=void 0,h=void 0;null==(h=c)||h({atkerr:!!d.Mc,itag:d.itag,xtag:d.j,lang:(null==(e=d.Mc)?void 0:e.name)||"",langid:(null==(f=d.Mc)?void 0:f.id)||""})}else e=new g.yP(d.id,d.Mc),a.add(d.Mc.id),this.audioTracks.push(e);null==c||c({atklen:this.audioTracks.length})}}; ELa=function(){g.J.apply(this,arguments);this.j=null}; ILa=function(a,b,c,d,e,f){if(a.j)return a.j;var h={},l=new Set,m={};if(GP(d)){for(var n in d.j)d.j.hasOwnProperty(n)&&(a=d.j[n],m[a.info.tb]=[a.info]);return m}n=FLa(b,d,h);f&&e({aftsrt:HP(n)});for(var p={},q=g.v(Object.keys(n)),r=q.next();!r.done;r=q.next()){r=r.value;for(var t=g.v(n[r]),u=t.next();!u.done;u=t.next()){u=u.value;var x=u.itag,B=void 0,F=r+"_"+((null==(B=u.video)?void 0:B.fps)||0);p.hasOwnProperty(F)?!0===p[F]?m[r].push(u):h[x]=p[F]:(B=IP(b,u,c,d.isLive,l),!0!==B?(h[x]=B,"disablevp9hfr"=== B&&(p[F]="disablevp9hfr")):(m[r]=m[r]||[],m[r].push(u),p[F]=!0))}}f&&e({bfflt:HP(m)});for(var G in m)m.hasOwnProperty(G)&&(d=G,m[d]&&m[d][0].gh()&&(m[d]=m[d],m[d]=GLa(b,m[d],h),m[d]=HLa(m[d],h)));f&&e(h);b=g.v(l.values());for(d=b.next();!d.done;d=b.next())(d=c.B.get(d.value))&&--d.ZZ;f&&e({aftflt:HP(m)});a.j=g.Xc(m,function(H){return!!H.length}); return a.j}; KLa=function(a,b,c,d,e,f,h,l){l=void 0===l?!1:l;if(b.hd&&h&&1h?q=c:b.ud&&e===h&&TLa(p[c])&&(q=c));"9"===q&&p.h&&LP(p.h)>LP(p["9"])&&(q="h");b.Ib&&d.isLive&&"("===q&&p.H&&1440>LP(p["("])&&(q="H");m&&f({vfmly:ULa(q)});b=p[q];if(!b.length)return m&&f({novfmly:ULa(q)}), XB();KP(b);return YB(new FP(b,a,n))}; MLa=function(a){var b=!(!a.mac3&&!a.MAC3),c=!(!a.meac3&&!a.MEAC3);return!(!a.m&&!a.M)||b||c}; TLa=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.itag&&VLa.has(b.itag))return!0;return!1}; ULa=function(a){switch(a){case "*":return"v8e";case "(":return"v9e";case "(h":return"v9he";default:return a}}; HP=function(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)){var d=c;b.push(ULa(d));d=g.v(a[d]);for(var e=d.next();!e.done;e=d.next())b.push(e.value.itag)}return b.join(".")}; LLa=function(a,b,c,d,e,f){var h={},l={};g.Wc(b,function(m,n){m=m.filter(function(p){var q=p.itag;if(!p.le)return l[q]="noenc",!1;if(f.Db&&"(h"===p.tb&&f.sb)return l[q]="lichdr",!1;if("("===p.tb||"(h"===p.tb){if(a.C&&c&&"widevine"===c.flavor){var r=p.mimeType+"; experimental=allowed";(r=!!p.le[c.flavor]&&!!c.j[r])||(l[q]=p.le[c.flavor]?"unspt":"noflv");return r}if(!MP(a,NP.CRYPTOBLOCKFORMAT)&&!a.Aa||a.ma)return l[q]=a.ma?"disvp":"vpsub",!1}return c&&p.le[c.flavor]&&c.j[p.mimeType]?!0:(l[q]=c?p.le[c.flavor]? "unspt":"noflv":"nosys",!1)}); m.length&&(h[n]=m)}); d&&Object.entries(l).length&&e(l);return h}; HLa=function(a,b){var c=nr(a,function(d,e){return 32c&&(a=a.filter(function(d){if(32a.K)return"max"+a.K;if(a.ob&&"h"===b.tb&&b.video&&1080 a.Sb)return"ratecap";a=WLa(c,b);return!0!==a?a:!0}; KP=function(a,b){b=void 0===b?[]:b;g.Xb(a,function(c,d){var e=d.Sb-c.Sb;if(!c.gh()||!d.gh())return e;var f=d.video.height*d.video.width-c.video.height*c.video.width;!f&&b&&0a.Ad())a.segments=[];else{var c=yb(a.segments,function(d){return d.Oa>=b},a); 0a.byteLength-b)return!1;var c=a.getUint32(b);if(8>c||a.byteLength-bc;c++){var d=a.getInt8(b+c);if(48>d||122d;d++)c[d]=a.getInt8(b.offset+16+d);return c}; nQ=function(a,b){this.j=a;this.pos=0;this.start=b||0}; oQ=function(a){return a.pos>=a.j.byteLength}; tQ=function(a,b,c){var d=new nQ(c);if(!pQ(d,a))return!1;d=qQ(d);if(!rQ(d,b))return!1;for(a=0;b;)b>>>=8,a++;b=d.start+d.pos;var e=sQ(d,!0);d=a+(d.start+d.pos-b)+e;d=9b;b++)c=256*c+xQ(a);return c}for(var d=128,e=0;6>e&&d>c;e++)c=256*c+xQ(a),d*=128;return b?c-d:c}; vQ=function(a){var b=sQ(a,!0);a.pos+=b}; EMa=function(a){if(!rQ(a,440786851,!0))return null;var b=a.pos;sQ(a,!1);var c=sQ(a,!0)+a.pos-b;a.pos=b+c;if(!rQ(a,408125543,!1))return null;sQ(a,!0);if(!rQ(a,357149030,!0))return null;var d=a.pos;sQ(a,!1);var e=sQ(a,!0)+a.pos-d;a.pos=d+e;if(!rQ(a,374648427,!0))return null;var f=a.pos;sQ(a,!1);var h=sQ(a,!0)+a.pos-f,l=new Uint8Array(c+12+e+h),m=new DataView(l.buffer);l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+b,c));m.setUint32(c,408125543);m.setUint32(c+4,33554431);m.setUint32(c+8,4294967295); l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+d,e),c+12);l.set(new Uint8Array(a.j.buffer,a.j.byteOffset+f,h),c+12+e);return l}; yQ=function(a){var b=a.pos;a.pos=0;var c=1E6;pQ(a,[408125543,357149030,2807729])&&(c=uQ(a));a.pos=b;return c}; FMa=function(a,b){var c=a.pos;a.pos=0;if(160!==a.j.getUint8(a.pos)&&!zQ(a)||!rQ(a,160))return a.pos=c,NaN;sQ(a,!0);var d=a.pos;if(!rQ(a,161))return a.pos=c,NaN;sQ(a,!0);xQ(a);var e=xQ(a)<<8|xQ(a);a.pos=d;if(!rQ(a,155))return a.pos=c,NaN;d=uQ(a);a.pos=c;return(e+d)*b/1E9}; zQ=function(a){if(!GMa(a)||!rQ(a,524531317))return!1;sQ(a,!0);return!0}; GMa=function(a){if(a.In()){if(!rQ(a,408125543))return!1;sQ(a,!0)}return!0}; pQ=function(a,b){for(var c=0;c=Math.abs(a.D-b.C)||a.Oa+1===b.Oa&&0===b.Xb&&a.gf?!0:!1}; OMa=function(a){return a.Oa+(a.gf?1:0)}; PMa=function(a){1===a.length||g.mr(a,function(c){return!!c.range}); for(var b=1;b=b.range.start+b.Xb&&a.range.start+a.Xb+a.B<=b.range.start+b.Xb+b.B:a.Oa===b.Oa&&a.Xb>=b.Xb&&(a.Xb+a.B<=b.Xb+b.B||b.gf)}; WMa=function(a,b){return a.j!==b.j?!1:4===a.type&&3===b.type&&a.j.pg()?(a=a.j.iB(a),js(a,function(c){return WMa(c,b)})):a.Oa===b.Oa&&!!b.B&&b.Xb+b.B>a.Xb&&b.Xb+b.B<=a.Xb+a.B}; XMa=function(a,b){var c=b.Oa;a.G="updateWithSegmentInfo";a.Oa=c;if(a.startTime!==b.startTime||a.duration!==b.duration)a.startTime=b.startTime,a.duration=b.duration,LMa(a)}; LQ=function(a,b){var c=this;this.eb=a;this.D=this.j=null;this.G=this.dh=NaN;this.K=this.requestId=null;this.Gd={wib:function(){return c.range}}; this.resource=a[0].j.resource;this.B=b||"";this.eb[0].range&&0e.timedOut&&1>e.j&&6!==d)return!1;var f=e.timedOut+e.j;a=gNa(a,b);c=PQ(c,QP(a));return 6===d?c.Bb.Hi?1E3*Math.pow(1.6,c-b.Hi):0;return 0===b?!0:a.N+b<(0,g.rD)()}; jNa=function(a,b,c){a.j.set(b,c);a.C.set(b,c);a.D&&a.D.set(b,c)}; RQ=function(a,b,c,d){this.initRange=c;this.indexRange=d;this.j=null;this.C=!1;this.K=0;this.D=this.B=null;this.info=b;this.resource=new QQ(a)}; SQ=function(a,b,c,d,e,f){f=void 0===f?0:f;RQ.call(this,a,b,d,void 0);this.G=c;this.Dj=f;this.index=e||new g.VP}; kNa=function(a,b,c,d,e){this.Oa=a;this.startSecs=b;this.Yh=c;this.j=d||NaN;this.B=e||NaN}; TQ=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""}; UQ=function(a,b){for(;a;a=a.parentNode){var c=a.getElementsByTagName(b);if(0=h)if(h=b.shift(),f=(f=l.exec(h))?+f[1]/1E3:0)h=(h=m.exec(h))?+h[1]:0,h+=1;else return;c.push(new UP(n,e,f,NaN,"sq/"+(n+1)));e+=f;h--}a.index.append(c)}}; ZQ=function(a,b){this.info=a;this.j=b;this.B=null;this.D=-1;this.timestampOffset=0;this.G=!1;this.C=this.info.j.Sz()&&!this.info.Xb}; $Q=function(a){return CGa(a.j)}; xNa=function(a,b){a.j.getLength();b=Math.min(b,a.info.B);var c=a.j.split(b);return[new ZQ(new FQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Xb,b,!1,a.info.Bj,a.info.clipId),c.oI),new ZQ(new FQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Xb+b,a.info.B-b,a.info.gf,a.info.Bj,a.info.clipId),c.Em)]}; aR=function(a,b,c){var d;if(!(d=!JQ(a.info,b.info)||a.info.gf)){if(c=void 0===c?!1:c)c=b.j,c=!(c.j.length?yGa(a.j,c.j[0]):1);d=c}if(d)return null;c=new FQ(a.info.type,a.info.j,a.info.range,a.info.G,a.info.Oa,a.info.startTime,a.info.duration,a.info.Xb,a.info.B,a.info.gf,a.info.Bj,a.info.clipId);d=b.info;c.B+=d.B;c.range&&(c.K+=d.K);c.D=d.D;c.gf=d.gf;d=new jO;kO(d,a.j);kO(d,b.j);c=new ZQ(c,d);c.B=b.B||a.B;return c}; yNa=function(a){g.RK(a.info.j.info)||a.info.j.info.Ne();if(-1!==a.D)return a.D;if(a.B&&lMa(a.B))return a.D=lMa(a.B),a.D;if(g.RK(a.info.j.info)){var b=$Q(a);for(var c=a.info.j.j,d=NaN,e=NaN,f=0;jQ(b,f);){var h=kQ(b,f);1936286840===h.type?e=h.data.getUint32(h.dataOffset+8):1836476516===h.type?e=g.gQ(h):1952867444===h.type&&isNaN(d)&&(d=g.tMa(h));f=lQ(h.type)?f+8:f+h.size}!e&&c&&(e=hQ(c));b=d/e}else b=new nQ($Q(a)),c=a.C?b:new nQ(new DataView(a.info.j.j.buffer)),d=yQ(c),c=b.pos,b.pos=0,zQ(b)?rQ(b,231)? (d=uQ(b)*d/1E9,b.pos=c,b=d):(b.pos=c,b=NaN):(b.pos=c,b=NaN);a.D=b||a.info.C;return a.D}; ANa=function(a,b){0e)b=!1;else{for(d=e-1;0<=d;d--)c.j.setUint8(c.pos+d,b&255),b>>>=8;c.pos=a;b=!0}else b=!1;return b}; bR=function(a,b){b=void 0===b?!1:b;var c=BNa(a);a=b?0:a.info.K;return c||a}; BNa=function(a){g.RK(a.info.j.info)||a.info.j.info.Ne();if(a.B&&7===a.info.type)return a.B.Dj;if(g.RK(a.info.j.info)){var b=$Q(a);var c=0;b=g.mQ(b,1936286840);b=g.v(b);for(var d=b.next();!d.done;d=b.next())d=uMa(d.value),c+=d.ZR[0]/d.Du;c=c||NaN;if(!(0<=c))a:{c=$Q(a);b=a.info.j.j;for(var e=d=0,f=0;jQ(c,d);){var h=kQ(c,d);if(1836476516===h.type)e=g.gQ(h);else if(1836019558===h.type){!e&&b&&(e=hQ(b));if(!e){c=NaN;break a}var l=iQ(h.data,h.dataOffset,1953653094),m=e,n=iQ(l.data,l.dataOffset,1952868452); l=iQ(l.data,l.dataOffset,1953658222);var p=YP(n);YP(n);p&2&&YP(n);n=p&8?YP(n):0;var q=YP(l),r=q&1;p=q&4;var t=q&256,u=q&512,x=q&1024;q&=2048;var B=ZP(l);r&&YP(l);p&&YP(l);for(var F=r=0;Fa.Z&&a.isLivePlayback;a.Ya=Number(TQ(c,a.D+":earliestMediaSequence"))||0;if(d=Date.parse(mNa(TQ(c,a.D+":mpdResponseTime"))))a.ma=((0,g.rD)()-d)/1E3;a.isLive&&0>=c.getElementsByTagName("SegmentTimeline").length||g.mr(c.getElementsByTagName("Period"),a.jaa,a);a.state=2;a.ra("loaded");kOa(a)}return a}).Bk(function(c){if(c instanceof TB){var d=c.xhr; a.Gg=d.status}a.state=3;a.ra("loaderror");return Yf(d)})}; mOa=function(a,b,c){return lOa(new fR(a,b,c),a)}; nOa=function(a){return a.isLive&&(0,g.rD)()-a.Ka>=a.Z}; oOa=function(a){a.G&&a.G.stop()}; kOa=function(a){var b=a.Z;isFinite(b)&&(nOa(a)?a.refresh():(b=Math.max(0,a.Ka+b-(0,g.rD)()),a.G||(a.G=new g.Bu(a.refresh,b,a),g.L(a,a.G)),a.G.start(b)))}; pOa=function(a){a=a.j;for(var b in a){var c=a[b].index;if(c.isLoaded())return c.Ad()+1}return 0}; iR=function(a){return a.hd?a.hd-(a.K||a.timestampOffset):0}; jR=function(a){return a.Ib?a.Ib-(a.K||a.timestampOffset):0}; kR=function(a){if(!isNaN(a.Aa))return a.Aa;var b=a.j,c;for(c in b){var d=b[c].index;if(d.isLoaded()&&!VK(b[c].info.mimeType)){b=0;for(c=d.qn();c<=d.Ad();c++)b+=d.getDuration(c);b/=d.zz();b=.5*Math.round(b/.5);10=navigator.hardwareConcurrency&&(a=480);b.coreCount=navigator.hardwareConcurrency;Hoa()&&(b.isArm=1,a=240);if(c){var f,h;if(d=null==(f=c.videoInfos.find(function(l){return OK(l)}))?void 0:null==(h=f.B)?void 0:h.powerEfficient)a=8192,b.isEfficient=1; c=c.videoInfos[0].video;f=Math.min(xP("1",c.fps),xP("1",30));b.perfCap=f;a=Math.min(a,f);c.isHdr()&&!d&&(b.hdr=1,a*=.75)}else c=xP("1",30),b.perfCap30=c,a=Math.min(a,c),c=xP("1",60),b.perfCap60=c,a=Math.min(a,c);return b.av1Threshold=a}; nR=function(a,b,c,d){this.flavor=a;this.keySystem=b;this.B=c;this.experiments=d;this.j={};this.Ya=this.keySystemAccess=null;this.ey=this.gy=-1;this.Ol=null;this.C=!!d&&d.jb("edge_nonprefixed_eme")}; pR=function(a){return a.C?!1:!a.keySystemAccess&&!!oR()&&"com.microsoft.playready"===a.keySystem}; qR=function(a){return"com.microsoft.playready"===a.keySystem}; rR=function(a){return!a.keySystemAccess&&!!oR()&&"com.apple.fps.1_0"===a.keySystem}; sR=function(a){return"com.youtube.fairplay"===a.keySystem}; tR=function(a){return"com.youtube.fairplay.sbdl"===a.keySystem}; g.uR=function(a){return"fairplay"===a.flavor}; oR=function(){var a=window,b=a.MSMediaKeys;gC()&&!b&&(b=a.WebKitMediaKeys);return b&&b.isTypeSupported?b:null}; AOa=function(a){if(!navigator.requestMediaKeySystemAccess)return!1;if(g.$K&&!g.eC())return ev("45");if(g.HD||g.$e)return a.jb("edge_nonprefixed_eme");if(g.vR)return ev("47");if(g.lD){if(a.jb("html5_enable_safari_fairplay"))return!1;if(a=g.pJ(a,"html5_safari_desktop_eme_min_version"))return ev(a)}return!0}; COa=function(a,b,c,d){var e=fC(),f=(c=e||c&&gC())?["com.youtube.fairplay"]:["com.widevine.alpha"];b&&f.unshift("com.youtube.widevine.l3");e&&d&&f.unshift("com.youtube.fairplay.sbdl");return c?f:a?[].concat(g.qa(f),g.qa(BOa.playready)):[].concat(g.qa(BOa.playready),g.qa(f))}; wR=function(a,b,c,d,e){d=void 0===d?!1:d;g.J.call(this);this.Ia=b;this.useCobaltWidevine=d;this.va=e;this.B=[];this.C={};this.j={};this.callback=null;this.G=!1;this.D=[];this.initialize(a,!c)}; FOa=function(a,b){a.callback=b;a.D=[];AOa(a.Ia.experiments)?DOa(a):EOa(a)}; DOa=function(a){if(!a.isDisposed())if(0===a.B.length)a.callback(a.D);else{var b=a.B[0],c=a.C[b],d=GOa(a,c);if(xR&&xR.keySystem===b&&xR.Yaa===JSON.stringify(d))a.va("remksa",{re:!0}),HOa(a,c,xR.keySystemAccess);else{var e,f;a.va("remksa",{re:!1,ok:null!=(f=null==(e=xR)?void 0:e.keySystem)?f:""});xR=void 0;(yR.isActive()?yR.Am("emereq",function(){return navigator.requestMediaKeySystemAccess(b,d)}):navigator.requestMediaKeySystemAccess(b,d)).then(TO(function(h){HOa(a,c,h,d)}),TO(function(){a.G=!a.G&& "widevine"===a.C[a.B[0]].flavor; a.G||a.B.shift();DOa(a)}))}}}; HOa=function(a,b,c,d){if(!a.isDisposed()){d&&(xR={keySystem:b.keySystem,keySystemAccess:c,Yaa:JSON.stringify(d)});b.keySystemAccess=c;if(qR(b)){c=YK();d=g.v(Object.keys(a.j[b.flavor]));for(var e=d.next();!e.done;e=d.next())e=e.value,b.j[e]=!!c.canPlayType(e)}else{c=b.keySystemAccess.getConfiguration();if(c.audioCapabilities)for(d=g.v(c.audioCapabilities),e=d.next();!e.done;e=d.next())IOa(a,b,e.value);if(c.videoCapabilities)for(c=g.v(c.videoCapabilities),d=c.next();!d.done;d=c.next())IOa(a,b,d.value)}a.D.push(b); a.useCobaltWidevine||a.L("html5_enable_vp9_fairplay")&&tR(b)?(a.B.shift(),DOa(a)):a.callback(a.D)}}; IOa=function(a,b,c){a.L("log_robustness_for_drm")?b.j[c.contentType]=c.robustness||!0:b.j[c.contentType]=!0}; GOa=function(a,b){var c={initDataTypes:["cenc","webm"],audioCapabilities:[],videoCapabilities:[]};if(a.L("html5_enable_vp9_fairplay")&&sR(b))return c.audioCapabilities.push({contentType:'audio/mp4; codecs="mp4a.40.5"'}),c.videoCapabilities.push({contentType:'video/mp4; codecs="avc1.4d400b"'}),[c];qR(b)&&(c.initDataTypes=["keyids","cenc"]);for(var d=g.v(Object.keys(a.j[b.flavor])),e=d.next();!e.done;e=d.next()){e=e.value;var f=0===e.indexOf("audio/"),h=f?c.audioCapabilities:c.videoCapabilities;"widevine"!== b.flavor||a.G?h.push({contentType:e}):f?h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"}):(g.$K&&g.cC("windows nt")&&!a.L("html5_drm_enable_moho")||h.push({contentType:e,robustness:"HW_SECURE_ALL"}),f=e,a.L("html5_enable_cobalt_experimental_vp9_decoder")&&e.includes("vp09")&&(f=e+"; experimental=allowed"),h.push({contentType:f,robustness:"SW_SECURE_DECODE"}),"MWEB"===g.zR(a.Ia)&&(lC()||dC())&&(a.va("swcrypto",{}),h.push({contentType:e,robustness:"SW_SECURE_CRYPTO"})))}return[c]}; EOa=function(a){if(oR()&&g.lD)a.D.push(new nR("fairplay","com.apple.fps.1_0","",a.Ia.experiments));else{var b=JOa(),c=g.zb(a.B,function(d){var e=a.C[d],f=!1,h=!1,l;for(l in a.j[e.flavor])b(l,d)&&(e.j[l]=!0,f=f||0===l.indexOf("audio/"),h=h||0===l.indexOf("video/"));return f&&h}); c&&a.D.push(a.C[c]);a.B=[]}a.callback(a.D)}; JOa=function(){var a=oR();if(a){var b=a.isTypeSupported;return function(d,e){return b(e,d)}}var c=YK(); return c&&(c.addKey||c.webkitAddKey)?function(d,e){return!!c.canPlayType(d,e)}:function(){return!1}}; KOa=function(a){this.experiments=a;this.Z=g.pJ(this.experiments,"html5_min_progress_event_interval_ms")||50;this.D=0;this.C=this.Z/1E3;this.ma=(this.G=this.experiments.jb("html5_consider_end_stall"))&&AR;this.N=this.experiments.jb("html5_ignore_stall_from_no_data_timeouts");this.K=this.experiments.jb("html5_ignore_stall_from_data_timeouts");this.B=this.experiments.jb("html5_measure_max_progress_handling");this.Y=(this.j=this.experiments.jb("html5_record_ump_timing"))&&this.experiments.jb("html5_use_ump_timing")}; LOa=function(a,b){this.j=void 0;this.experimentIds=a?a.split(","):[];this.flags=CB(b||"","&");a={};b=g.v(this.experimentIds);for(var c=b.next();!c.done;c=b.next())a[c.value]=!0;this.experiments=a}; g.pJ=function(a,b){return Number(a.flags[b])||0}; BR=function(a,b){return(a=a.flags[b])?a.toString():""}; MOa=function(a){if(a=a.flags.html5_web_po_experiment_ids)if(a=a.replace(/\[ *(.*?) *\]/,"$1"))return a.split(",").map(Number);return[]}; NOa=function(a){if(a.j)return a.j;if(1>=a.experimentIds.length)return a.j=a.experimentIds,a.j;var b=[].concat(g.qa(a.experimentIds)).map(function(d){return Number(d)}); b.sort();for(var c=b.length-1;0=f&&f>d&&!0===WLa(a,e,c)&&(d=f)}return d}; g.SOa=function(a,b){b=void 0===b?!1:b;return CR()&&a.isTypeSupported('audio/mp4; codecs="mp4a.40.2"')||!b&&a.canPlayType(YK(),"application/x-mpegURL")?!0:!1}; UOa=function(a){TOa(function(){for(var b=g.v(Object.keys(NP)),c=b.next();!c.done;c=b.next())MP(a,NP[c.value])})}; MP=function(a,b){b.name in a.N||(a.N[b.name]=VOa(a,b));return a.N[b.name]}; VOa=function(a,b){if(a.G)return!!a.G[b.name];if(b===NP.BITRATE&&a.isTypeSupported('video/webm; codecs="vp9"; width=3840; height=2160; bitrate=2000000')&&!a.isTypeSupported('video/webm; codecs="vp9"; width=3840; height=2160; bitrate=20000000'))return!1;if(b===NP.AV1_CODECS)return a.isTypeSupported("video/mp4; codecs="+b.valid)&&!a.isTypeSupported("video/mp4; codecs="+b.Fn);if(b.video){var c='video/webm; codecs="vp9"';a.isTypeSupported(c)||(c='video/mp4; codecs="avc1.4d401e"')}else c='audio/webm; codecs="opus"', a.isTypeSupported(c)||(c='audio/mp4; codecs="mp4a.40.2"');return a.isTypeSupported(c+"; "+b.name+"="+b.valid)&&!a.isTypeSupported(c+"; "+b.name+"="+b.Fn)}; WOa=function(a){a.C||(a.C=!0,a.j=!0)}; XOa=function(a,b){var c=0;a.B.has(b)&&(c=a.B.get(b).Q5);a.B.set(b,{Q5:c+1,ZZ:Math.pow(2,c+1)});a.j=!0}; PLa=function(a,b,c){var d;c=(null==(d=c.video)?void 0:d.fps)||0;return a.D.has(b+"_"+c)}; QLa=function(a,b,c){var d,e=(null==(d=c.video)?void 0:d.fps)||0;d=b+"_"+e;if(!a.D.has(d)){var f=!!c.audio;b={itag:c.itag,tb:b,gi:f};f?b.numChannels=c.audio.numChannels:(f=c.video,b.maxWidth=null==f?void 0:f.width,b.maxHeight=null==f?void 0:f.height,b.maxFramerate=e,MP(a,NP.BITRATE)&&(b.yw=8*c.Sb),b.C7=null==f?void 0:f.isHdr());a.D.set(d,b)}}; DR=function(){g.PF.call(this);this.items={}}; ER=function(){g.eO.apply(this,arguments)}; FR=function(){g.fO.apply(this,arguments)}; GR=function(a,b){if(b.buffer!==a.exports.memory.buffer){var c=new Uint8Array(a.exports.memory.buffer,a.exports.malloc(b.byteLength),b.byteLength);c.set(b)}gO.call(this,a,c||b);c&&this.j.exports.free(c.byteOffset)}; YOa=function(a,b,c){this.encryptedClientKey=b;this.G=c;this.j=new Uint8Array(a.buffer,0,16);this.C=new Uint8Array(a.buffer,16)}; ZOa=function(a){a.B||(a.B=new ER(a.j));return a.B}; HR=function(a){try{return tg(a)}catch(b){return null}}; $Oa=function(a,b){if(!b&&a)try{b=JSON.parse(a)}catch(e){}if(b){a=b.clientKey?HR(b.clientKey):null;var c=b.encryptedClientKey?HR(b.encryptedClientKey):null,d=b.keyExpiresInSeconds?1E3*Number(b.keyExpiresInSeconds)+(0,g.rD)():null;a&&c&&d&&(this.j=new YOa(a,c,d));b.onesieUstreamerConfig&&(this.onesieUstreamerConfig=HR(b.onesieUstreamerConfig)||void 0);this.baseUrl=b.baseUrl}}; IR=function(a){this.j=this.B=0;this.alpha=Math.exp(Math.log(.5)/a)}; JR=function(a,b,c,d){c=void 0===c?.5:c;d=void 0===d?0:d;this.resolution=b;this.B=0;this.C=!1;this.fm=!0;this.j=Math.round(a*this.resolution);this.values=Array(this.j);for(a=0;a=ZR;m=b?b.useNativeControls:a.use_native_controls;this.Z=g.VR(this)&&this.B;n=this.B&&!this.Z;m=g.$R(this)||!l&&mC(n,m)?"3":"1";n=b?b.controlsType:a.controls;this.controlsType="0"!==n&&0!==n?m:"0";this.Hi=this.B;this.color=nC("red",b?b.progressBarColor:a.color,uPa);m=this.L("embeds_web_enable_modestbranding_deprecation")? !1:mC(!1,(null==b?0:b.embedsHostFlags)?b.embedsHostFlags.allowModestbranding:a.modestbranding);this.Wo="3"===this.controlsType||m&&"red"===this.color;this.Fc=!this.D;this.Ql=(m=!this.Fc&&!YR(this)&&!this.Aa&&!this.N&&!WR(this))&&!this.Wo&&"1"===this.controlsType;this.ze=g.aS(this)&&m&&"0"===this.controlsType&&!this.Ql;this.Mp=this.Xo=l;this.ud=("3"===this.controlsType||this.B||mC(!1,a.use_media_volume))&&!this.Z;this.Pm=hC&&!g.Pc(601)?!1:!0;this.Qo=this.D||!1;this.jd=YR(this)?"":(this.loaderUrl|| a.post_message_origin||"").substring(0,128);this.widgetReferrer=pC("",b?b.widgetReferrer:a.widget_referrer);var p;b?b.disableCastApi&&(p=!1):p=a.enablecastapi;p=!this.K||mC(!0,p);l=!0;b&&b.disableMdxCast&&(l=!1);this.bk=this.L("enable_cast_for_web_unplugged")&&g.bS(this)&&l||this.L("enable_cast_on_music_web")&&g.VG(this)&&l||p&&l&&"1"===this.controlsType&&!this.B&&(YR(this)||g.aS(this)||g.cS(this))&&!g.dS(this);this.Hp=!!window.document.pictureInPictureEnabled||vBa();p=b?!!b.supportsAutoplayOverride: mC(!1,a.autoplayoverride);this.Vg=!(this.B&&!g.VR(this))&&!g.cC("nintendo wiiu")||p;p=b?!!b.enableMutedAutoplay:mC(!1,a.mutedautoplay);this.Ko=this.L("embeds_enable_muted_autoplay")&&g.VR(this);this.Gi=p&&!1;p=(YR(this)||WR(this))&&"blazer"===this.playerStyle;this.Yk=b?!!b.disableFullscreen:!mC(!0,a.fs);l=g.rC(g.eS(this))&&g.VR(this);this.Lb=!this.Yk&&(p||g.vC())&&!l;this.Fm=this.L("uniplayer_block_pip")&&(dC()&&ev(58)&&!lC()||GD);p=g.VR(this)&&!this.Nm;var q;b?void 0!==b.disableRelatedVideos&&(q= !b.disableRelatedVideos):q=a.rel;this.ge=p||mC(!this.N,q);this.Ol=mC(!1,b?b.enableContentOwnerRelatedVideos:a.co_rel);this.Y=lC()&&0=ZR?"_top":"_blank";this.Ug=g.cS(this);this.Al=mC("blazer"===this.playerStyle,b?b.enableCsiLogging:a.enablecsi);switch(this.playerStyle){case "blogger":q="bl";break;case "gmail":q="gm";break;case "gac":q="ga";break;case "books":q="gb";break;case "docs":q="gd";break;case "duo":q="gu";break;case "google-live":q="gl";break;case "google-one":q="go";break;case "play":q= "gp";break;case "chat":q="hc";break;case "hangouts-meet":q="hm";break;case "photos-edu":case "picasaweb":q="pw";break;default:q="yt"}this.Ea=q;this.oa=pC("",b?b.authorizedUserIndex:a.authuser);this.hc=g.VR(this)&&(this.hd||!Boa()||this.rb);var r;b?void 0!==b.disableWatchLater&&(r=!b.disableWatchLater):r=a.showwatchlater;this.Ud=((q=!this.hc)||!!this.oa&&q)&&mC(!this.Aa,this.K?r:void 0);this.Qe=b?b.isMobileDevice||!!b.disableKeyboardControls:mC(!1,a.disablekb);this.loop=mC(!1,a.loop);this.pageId=pC("", b?b.initialDelegatedSessionId:a.pageid);this.mp=mC(!0,a.canplaylive);this.ob=mC(!1,a.livemonitor);this.disableSharing=mC(this.N,b?b.disableSharing:a.ss);(r=b&&this.L("fill_video_container_size_override_from_wpcc")?b.videoContainerOverride:a.video_container_override)?(q=r.split("x"),2!==q.length?r=null:(r=Number(q[0]),q=Number(q[1]),r=isNaN(r)||isNaN(q)||0>=r*q?null:new g.te(r,q))):r=null;this.Qm=r;this.mute=b?!!b.startMuted:mC(!1,a.mute);this.storeUserVolume=!this.mute&&mC("0"!==this.controlsType, b?b.storeUserVolume:a.store_user_volume);r=b?b.annotationsLoadPolicy:a.iv_load_policy;this.annotationsLoadPolicy="3"===this.controlsType?3:nC(void 0,r,fS);this.captionsLanguagePreference=b?b.captionsLanguagePreference||"":pC("",a.cc_lang_pref);r=nC(2,b?b.captionsLanguageLoadPolicy:a.cc_load_policy,fS);"3"===this.controlsType&&2===r&&(r=3);this.Db=r;this.hj=b?b.hl||"en_US":pC("en_US",a.hl);this.region=b?b.contentRegion||"US":pC("US",a.cr);this.hostLanguage=b?b.hostLanguage||"en":pC("en",a.host_language); this.Lo=!this.hd&&Math.random()Math.random();this.xl=a.onesie_hot_config||(null==b?0:b.onesieHotConfig)?new $Oa(a.onesie_hot_config,null==b?void 0:b.onesieHotConfig):void 0;this.isTectonic=b?!!b.isTectonic:!!a.isTectonic;this.playerCanaryState=c;this.playerCanaryStage=null==b?void 0:b.canaryStage;this.Pf=new kPa;g.L(this,this.Pf);this.Km=mC(!1,a.force_gvi); this.datasyncId=(null==b?void 0:b.datasyncId)||g.uB("DATASYNC_ID");this.Uo=g.uB("LOGGED_IN",!1);this.lj=(null==b?void 0:b.allowWoffleManagement)||!1;this.Ll=Infinity;this.livingRoomPoTokenId=null==b?void 0:b.livingRoomPoTokenId;this.L("html5_high_res_logging_always")?this.Rf=!0:this.Rf=100*Math.random()u.width*u.height*u.fps)u=G}else r.push(G)}else l[F]="disdrmhfr";t.reduce(function(P, Y){return Y.ph().isEncrypted()&&P},!0)&&(q=p); e=Math.max(e,0);p=u||{};n=void 0===p.fps?0:p.fps;u=void 0===p.width?0:p.width;p=void 0===p.height?0:p.height;B=a.L("html5_native_audio_track_switching");t.push(UPa(r,c,d,f,"93",u,p,n,m,"auto",e,q,x,B));Object.entries(l).length&&h(l);return wS(a.G,t,CPa(a,b),!1)}; UPa=function(a,b,c,d,e,f,h,l,m,n,p,q,r,t){for(var u=0,x="",B=g.v(a),F=B.next();!F.done;F=B.next())F=F.value,x||(x=F.itag),F.audioChannels&&F.audioChannels>u&&(u=F.audioChannels,x=F.itag);e=new MK(e,"application/x-mpegURL",{audio:new HK(0,u),video:new JK(f,h,l,null,void 0,n,void 0,r),le:q,sY:x});a=new JPa(a,b,c?[c]:[],d,!!t);a.D=p?p:1369843;return new xS(e,a,m)}; RPa=function(a){a=g.v(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}; TPa=function(a,b){for(var c=g.v(Object.keys(a)),d=c.next();!d.done;d=c.next()){d=d.value;var e=a[d][0];if(!e.width&&e.le===b.le&&!e.audioChannels)return d}return""}; SPa=function(a){for(var b=new Set,c=g.v(Object.values(a)),d=c.next();!d.done;d=c.next())d=d.value,d.length&&(d=d[0],d.height&&d.codecs.startsWith("vp09")&&b.add(d.height));c=[];if(b.size){d=g.v(Object.keys(a));for(var e=d.next();!e.done;e=d.next())if(e=e.value,a[e].length){var f=a[e][0];f.height&&b.has(f.height)&&!f.codecs.startsWith("vp09")&&c.push(e)}}b=g.v(c);for(e=b.next();!e.done;e=b.next())delete a[e.value]}; yS=function(a,b){this.j=a;this.B=b}; WPa=function(a,b,c,d){var e=[];c=g.v(c);for(var f=c.next();!f.done;f=c.next()){var h=f.value;if(h.url){f=new g.OP(h.url,!0);if(h.s){var l=h.sp,m=nLa(decodeURIComponent(h.s));f.set(l,encodeURIComponent(m))}l=g.v(Object.keys(d));for(m=l.next();!m.done;m=l.next())m=m.value,f.set(m,d[m]);h=WK(h.type,h.quality,h.itag,h.width,h.height);e.push(new yS(h,f))}}return wS(a.G,e,CPa(a,b),!1)}; zS=function(a,b){this.j=a;this.B=b}; XPa=function(a,b,c){var d=[];c=g.v(c);for(var e=c.next();!e.done;e=c.next())if((e=e.value)&&e.url){var f=WK(e.type,"medium","0");d.push(new zS(f,e.url))}return wS(a.G,d,CPa(a,b),!1)}; YPa=function(a,b){var c=[],d=WK(b.type,"auto",b.itag);c.push(new zS(d,b.url));return wS(a.G,c,!1,!0)}; $Pa=function(a){return a&&ZPa[a]?ZPa[a]:null}; aQa=function(a){if(a=a.commonConfig)this.url=a.url,this.urlQueryOverride=a.urlQueryOverride,a.ustreamerConfig&&(this.Do=HR(a.ustreamerConfig)||void 0)}; bQa=function(a,b){var c;if(b=null==b?void 0:null==(c=b.watchEndpointSupportedOnesieConfig)?void 0:c.html5PlaybackOnesieConfig)a.qZ=new aQa(b)}; g.AS=function(a){a=void 0===a?{}:a;this.languageCode=a.languageCode||"";this.languageName=a.languageName||null;this.kind=a.kind||"";this.name=void 0===a.name?null:a.name;this.displayName=a.displayName||null;this.id=a.id||null;this.j=a.is_servable||!1;this.isTranslateable=a.is_translateable||!1;this.url=a.url||null;this.vssId=a.vss_id||"";this.isDefault=a.is_default||!1;this.translationLanguage=a.translationLanguage||null;this.xtags=a.xtags||"";this.captionId=a.captionId||""}; g.CS=function(a){var b={languageCode:a.languageCode,languageName:a.languageName,displayName:g.BS(a),kind:a.kind,name:a.name,id:a.id,is_servable:a.j,is_default:a.isDefault,is_translateable:a.isTranslateable,vss_id:a.vssId};a.xtags&&(b.xtags=a.xtags);a.captionId&&(b.captionId=a.captionId);a.translationLanguage&&(b.translationLanguage=a.translationLanguage);return b}; g.DS=function(a){return a.translationLanguage?a.translationLanguage.languageCode:a.languageCode}; g.cQa=function(a){var b=a.vssId;a.translationLanguage&&b&&(b="t"+b+"."+g.DS(a));return b}; g.BS=function(a){var b=[];if(a.displayName)b.push(a.displayName);else{var c=a.languageName||"";b.push(c);"asr"===a.kind&&-1===c.indexOf("(")&&b.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.name&&b.push(" - "+a.name)}a.translationLanguage&&b.push(" >> "+a.translationLanguage.languageName);return b.join("")}; gQa=function(a,b,c,d){a||(a=b&&dQa.hasOwnProperty(b)&&eQa.hasOwnProperty(b)?eQa[b]+"_"+dQa[b]:void 0);b=a;if(!b)return null;a=b.match(fQa);if(!a||5!==a.length)return null;if(a=b.match(fQa)){var e=Number(a[3]),f=[7,8,10,5,6];a=!(1===Number(a[1])&&8===e)&&0<=f.indexOf(e)}else a=!1;return c||d||a?b:null}; ES=function(a,b){for(var c={},d=g.v(Object.keys(hQa)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b?b+e:e;f=a[f+"_webp"]||a[f];g.SJ(f)&&(c[hQa[e]]=f)}return c}; FS=function(a){var b={};if(!a||!a.thumbnails)return b;a=a.thumbnails.filter(function(l){return!!l.url}); a.sort(function(l,m){return l.width-m.width||l.height-m.height}); for(var c=g.v(Object.keys(iQa)),d=c.next();!d.done;d=c.next()){var e=Number(d.value);d=iQa[e];for(var f=g.v(a),h=f.next();!h.done;h=f.next())if(h=h.value,h.width>=e){e=jQa(h.url);g.SJ(e)&&(b[d]=e);break}}(a=a.pop())&&1280<=a.width&&(a=jQa(a.url),g.SJ(a)&&(b["maxresdefault.jpg"]=a));return b}; jQa=function(a){return a.startsWith("//")?"https:"+a:a}; GS=function(a){return a&&a.baseUrl||""}; HS=function(a){a=g.FB(a);for(var b=g.v(Object.keys(a)),c=b.next();!c.done;c=b.next()){c=c.value;var d=a[c];a[c]=Array.isArray(d)?d[0]:d}return a}; kQa=function(a,b){a.botguardData=b.playerAttestationRenderer.botguardData;b=b.playerAttestationRenderer.challenge;null!=b&&(a.Lk=b)}; nQa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=c.interstitials.map(function(h){var l=g.U(h,lQa);if(l)return{is_yto_interstitial:!0,raw_player_response:l};if(h=g.U(h,mQa))return Object.assign({is_yto_interstitial:!0},EB(h))}); d=g.v(d);for(var e=d.next();!e.done;e=d.next())switch(e=e.value,c.podConfig.playbackPlacement){case "INTERSTITIAL_PLAYBACK_PLACEMENT_PRE":a.interstitials=a.interstitials.concat({time:0,playerVars:e,Ao:5});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_POST":a.interstitials=a.interstitials.concat({time:0x7ffffffffffff,playerVars:e,Ao:6});break;case "INTERSTITIAL_PLAYBACK_PLACEMENT_INSERT_AT_VIDEO_TIME":var f=Number(c.podConfig.timeToInsertAtMillis);a.interstitials=a.interstitials.concat({time:f,playerVars:e, Ao:0===f?5:7})}}}; oQa=function(a,b){if(b=b.find(function(c){return!(!c||!c.tooltipRenderer)}))a.tooltipRenderer=b.tooltipRenderer}; pQa=function(a,b){b.subscribeCommand&&(a.subscribeCommand=b.subscribeCommand);b.unsubscribeCommand&&(a.unsubscribeCommand=b.unsubscribeCommand);b.addToWatchLaterCommand&&(a.addToWatchLaterCommand=b.addToWatchLaterCommand);b.removeFromWatchLaterCommand&&(a.removeFromWatchLaterCommand=b.removeFromWatchLaterCommand);b.getSharePanelCommand&&(a.getSharePanelCommand=b.getSharePanelCommand)}; qQa=function(a,b){null!=b?(a.tp=b,a.Ld=!0):(a.tp="",a.Ld=!1)}; IS=function(a,b){this.type=a||"";this.id=b||""}; g.rQa=function(a){return new IS(a.substr(0,2),a.substr(2))}; g.JS=function(a,b){this.Ia=a;this.author="";this.eD=null;this.playlistLength=0;this.j=this.sessionData=null;this.Z={};this.title="";if(b){this.author=b.author||b.playlist_author||"";this.title=b.playlist_title||"";if(a=b.session_data)this.sessionData=CB(a,"&");var c;this.j=(null==(c=b.thumbnail_ids)?void 0:c.split(",")[0])||null;this.Z=ES(b,"playlist_");this.videoId=b.video_id||void 0;if(c=b.list)switch(b.listType){case "user_uploads":this.playlistId=(new IS("UU","PLAYER_"+c)).toString();break;default:if(a= b.playlist_length)this.playlistLength=Number(a)||0;this.playlistId=g.rQa(c).toString();if(b=b.video)this.videoId=(b[0]||null).video_id||void 0}else b.playlist&&(this.playlistLength=b.playlist.toString().split(",").length)}}; g.KS=function(a,b){this.Ia=a;this.Bs=this.author="";this.eD=null;this.isUpcoming=this.isLivePlayback=!1;this.lengthSeconds=0;this.ow=this.lengthText="";this.sessionData=null;this.Z={};this.title="";if(b){this.ariaLabel=b.aria_label||void 0;this.author=b.author||"";this.Bs=b.Bs||"";if(a=b.endscreen_autoplay_session_data)this.eD=CB(a,"&");this.fD=b.fD;this.isLivePlayback="1"===b.live_playback;this.isUpcoming=!!b.isUpcoming;if(a=b.length_seconds)this.lengthSeconds="string"===typeof a?Number(a):a;this.lengthText= b.lengthText||"";this.ow=b.ow||"";this.publishedTimeText=b.publishedTimeText||void 0;if(a=b.session_data)this.sessionData=CB(a,"&");this.shortViewCount=b.short_view_count_text||void 0;this.Z=ES(b);this.title=b.title||"";this.videoId=b.docid||b.video_id||b.videoId||b.id||void 0;this.watchUrl=b.watchUrl||void 0}}; sQa=function(a){var b,c,d=null==(b=a.getWatchNextResponse())?void 0:null==(c=b.contents)?void 0:c.twoColumnWatchNextResults,e,f,h,l,m;a=null==(e=a.getWatchNextResponse())?void 0:null==(f=e.playerOverlays)?void 0:null==(h=f.playerOverlayRenderer)?void 0:null==(l=h.endScreen)?void 0:null==(m=l.watchNextEndScreenRenderer)?void 0:m.results;if(!a){var n,p;a=null==d?void 0:null==(n=d.endScreen)?void 0:null==(p=n.endScreen)?void 0:p.results}return a}; g.vQa=function(a){var b,c,d;a=g.U(null==(b=a.getWatchNextResponse())?void 0:null==(c=b.playerOverlays)?void 0:null==(d=c.playerOverlayRenderer)?void 0:d.decoratedPlayerBarRenderer,tQa);return g.U(null==a?void 0:a.playerBar,uQa)}; wQa=function(a){this.j=a.playback_progress_0s_url;this.C=a.playback_progress_2s_url;this.B=a.playback_progress_10s_url}; xQa=function(){if(void 0===LS){try{window.localStorage.removeItem("yt-player-lv")}catch(b){}a:{try{var a=!!self.localStorage}catch(b){a=!1}if(a&&(a=g.tv(g.SC()+"::yt-player"))){LS=new XG(a);break a}LS=void 0}}return LS}; g.MS=function(){var a=xQa();if(!a)return{};try{var b=a.get("yt-player-lv");return JSON.parse(b||"{}")}catch(c){return{}}}; g.yQa=function(a){var b=xQa();b&&(a=JSON.stringify(a),b.set("yt-player-lv",a))}; g.NS=function(a){return g.MS()[a]||0}; g.OS=function(a,b){var c=g.MS();b!==c[a]&&(0!==b?c[a]=b:delete c[a],g.yQa(c))}; g.PS=function(a){return g.I(function(b){return b.return(g.ED(zQa(),a))})}; EQa=function(a,b,c,d,e,f,h,l){var m,n,p,q,r,t;return g.I(function(u){switch(u.j){case 1:return m=g.NS(a),4===m?u.return(4):g.y(u,g.JD(),2);case 2:n=u.B;if(!n)throw g.mD("wiac");if(!l||void 0===h){u.La(3);break}return g.y(u,AQa(l,h),4);case 4:h=u.B;case 3:return p=c.lastModified||"0",g.y(u,g.PS(n),5);case 5:return q=u.B,g.Ca(u,6),QS++,g.y(u,g.uD(q,["index","media"],{mode:"readwrite",tag:"IDB_TRANSACTION_TAG_WIAC",Vb:!0},function(x){if(void 0!==f&&void 0!==h){var B=""+a+"|"+b.id+"|"+p+"|"+String(f).padStart(10, "0");B=g.vD(x.objectStore("media"),h,B)}else B=g.oD.resolve(void 0);var F=BQa(a,b.gh()),G=BQa(a,!b.gh()),H={fmts:CQa(d),format:c||{}};F=g.vD(x.objectStore("index"),H,F);var O=-1===d.downloadedEndTime;H=O?x.objectStore("index").get(G):g.oD.resolve(void 0);var P={fmts:"music",format:{}};x=O&&e&&!b.gh()?g.vD(x.objectStore("index"),P,G):g.oD.resolve(void 0);return g.oD.all([x,H,B,F]).then(function(Y){Y=g.v(Y);Y.next();Y=Y.next().value;QS--;var la=g.NS(a);if(4!==la&&O&&e||void 0!==Y&&g.DQa(Y.fmts))la= 1,g.OS(a,la);return la})}),8); case 8:return u.return(u.B);case 6:r=g.Ea(u);QS--;t=g.NS(a);if(4===t)return u.return(t);g.OS(a,4);throw r;}})}; g.FQa=function(a){var b,c;return g.I(function(d){if(1==d.j)return g.y(d,g.JD(),2);if(3!=d.j){b=d.B;if(!b)throw g.mD("ri");return g.y(d,g.PS(b),3)}c=d.B;return d.return(g.uD(c,["index"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRI"},function(e){var f=IDBKeyRange.bound(a+"|",a+"~");return g.lqa(e.objectStore("index"),f).then(function(h){return h.map(function(l){return l?l.format:{}})})}))})}; IQa=function(a,b,c,d,e){var f,h,l;return g.I(function(m){if(1==m.j)return g.y(m,g.JD(),2);if(3!=m.j){f=m.B;if(!f)throw g.mD("rc");return g.y(m,g.PS(f),3)}h=m.B;l=g.uD(h,["media"],{mode:"readonly",tag:"IDB_TRANSACTION_TAG_LMRM",Vb:GQa},function(n){var p=""+a+"|"+b+"|"+c+"|"+String(d).padStart(10,"0");return n.objectStore("media").get(p)}); return e?m.return(l.then(function(n){if(void 0===n)throw Error("No data from indexDb");return HQa(e,n)}).catch(function(n){throw new g.RC("Error while reading chunk: "+n.name+", "+n.message); })):m.return(l)})}; g.DQa=function(a){return a?"music"===a?!0:a.includes("dlt=-1")||!a.includes("dlt="):!1}; BQa=function(a,b){return""+a+"|"+(b?"v":"a")}; CQa=function(a){var b={};return DB((b.dlt=a.downloadedEndTime.toString(),b.mket=a.maxKnownEndTime.toString(),b.avbr=a.averageByteRate.toString(),b))}; KQa=function(a){var b={},c={};a=g.v(a);for(var d=a.next();!d.done;d=a.next()){var e=d.value,f=e.split("|");e.match(g.JQa)?(d=Number(f.pop()),isNaN(d)?c[e]="?":(f=f.join("|"),(e=b[f])?(f=e[e.length-1],d===f.end+1?f.end=d:e.push({start:d,end:d})):b[f]=[{start:d,end:d}])):c[e]="?"}a=g.v(Object.keys(b));for(d=a.next();!d.done;d=a.next())d=d.value,c[d]=b[d].map(function(h){return h.start+"-"+h.end}).join(","); return c}; RS=function(a){g.PF.call(this);this.j=null;this.C=new Ala;this.j=null;this.K=new Set;this.crossOrigin=a||""}; LQa=function(a,b,c){for(c=SS(a,c);0<=c;){var d=a.levels[c];if(d.isLoaded(TS(d,b))&&(d=g.US(d,b)))return d;c--}return g.US(a.levels[0],b)}; NQa=function(a,b,c){c=SS(a,c);for(var d,e;0<=c;c--)if(d=a.levels[c],e=TS(d,b),!d.isLoaded(e)){d=a;var f=c,h=f+"-"+e;d.K.has(h)||(d.K.add(h),d.C.uh(f,{TX:f,qY:e}))}MQa(a)}; MQa=function(a){if(!a.j&&!a.C.isEmpty()){var b=a.C.remove();a.j=OQa(a,b)}}; OQa=function(a,b){var c=document.createElement("img");a.crossOrigin&&(c.crossOrigin=a.crossOrigin);c.src=a.levels[b.TX].cf(b.qY);c.onload=function(){var d=b.TX,e=b.qY;null!==a.j&&(a.j.onload=null,a.j=null);d=a.levels[d];d.loaded.add(e);MQa(a);var f=d.columns*d.rows;e*=f;d=Math.min(e+f-1,d.MH()-1);e=[e,d];a.ra("l",e[0],e[1])}; return c}; g.VS=function(a,b,c,d){this.level=a;this.D=b;this.loaded=new Set;this.level=a;this.D=b;a=c.split("#");this.width=Math.floor(Number(a[0]));this.height=Math.floor(Number(a[1]));this.frameCount=Math.floor(Number(a[2]));this.columns=Math.floor(Number(a[3]));this.rows=Math.floor(Number(a[4]));this.j=Math.floor(Number(a[5]));this.C=a[6];this.signature=a[7];this.videoLength=d}; TS=function(a,b){return Math.floor(b/(a.columns*a.rows))}; g.US=function(a,b){b>=a.KL()&&a.Wx();var c=TS(a,b),d=a.columns*a.rows,e=b%d;b=e%a.columns;e=Math.floor(e/a.columns);var f=a.Wx()+1-d*c;if(f=b)return a.D.set(b,d),d;a.D.set(b,c-1);return c-1}; QQa=function(a,b,c,d){c=c.split("#");c=[c[1],c[2],0,c[3],c[4],-1,c[0],""].join("#");g.VS.call(this,a,b,c,0);this.B=null;this.G=d?2:0}; XS=function(a,b,c,d){WS.call(this,a,0,void 0,b,!(void 0===d||!d));for(a=0;acT?!1:!0,a.isLivePlayback=!0;else if(Qc.isLive){al.livestream="1";a.allowLiveDvr=Qc.isLiveDvrEnabled?CR()?!0:iC&&5>cT?!1:!0:!1;a.Ea=27;Qc.isLowLatencyLiveStream&&(a.isLowLatencyLiveStream=!0);var Eo=Qc.latencyClass;Eo&&(a.latencyClass=hRa[Eo]||"UNKNOWN");var rq=Qc.liveChunkReadahead;rq&&(a.liveChunkReadahead=rq);var bl=qq&&qq.livePlayerConfig;if(bl){bl.hasSubfragmentedFmp4&&(a.hasSubfragmentedFmp4=!0);bl.hasSubfragmentedWebm&&(a.SD=!0);bl.defraggedFromSubfragments&&(a.defraggedFromSubfragments= !0);var sq=bl.liveExperimentalContentId;sq&&(a.liveExperimentalContentId=Number(sq));var Fo=bl.isLiveHeadPlayable;a.L("html5_live_head_playable")&&null!=Fo&&(a.isLiveHeadPlayable=Fo)}fn=!0}else Qc.isUpcoming&&(fn=!0);fn&&(a.isLivePlayback=!0,al.adformat&&"8"!==al.adformat.split("_")[1]||a.Fa.push("heartbeat"),a.Yo=!0)}var tq=Qc.isPrivate;void 0!==tq&&(a.isPrivate=mC(a.isPrivate,tq))}if(oa){var Go=Qc||null,$l=!1,lk=oa.errorScreen;$l=lk&&(lk.playerLegacyDesktopYpcOfferRenderer||lk.playerLegacyDesktopYpcTrailerRenderer|| lk.ypcTrailerRenderer)?!0:Go&&Go.isUpcoming?!0:["OK","LIVE_STREAM_OFFLINE","FULLSCREEN_ONLY"].includes(oa.status);if(!$l){a.errorCode=$Pa(oa.errorCode)||"auth";var am=lk&&lk.playerErrorMessageRenderer;if(am){a.playerErrorMessageRenderer=am;var uq=am.reason;uq&&(a.errorReason=g.$F(uq));var Ho=am.subreason;Ho&&(a.dn=g.$F(Ho),a.iy=Ho)}else a.errorReason=oa.reason||null;var Io=oa.status;if("LOGIN_REQUIRED"===Io)a.errorDetail="1";else if("CONTENT_CHECK_REQUIRED"===Io)a.errorDetail="2";else if("AGE_CHECK_REQUIRED"=== Io){var vq=oa.errorScreen,xj=vq&&vq.playerKavRenderer;a.errorDetail=xj&&xj.kavUrl?"4":"3"}else a.errorDetail=oa.isBlockedInRestrictedMode?"5":"0"}}var cl=a.playerResponse.interstitialPods;cl&&nQa(a,cl);a.Va&&a.eventId&&(a.Va=HB(a.Va,{ei:a.eventId}));var ki=a.playerResponse.captions;if(ki&&ki.playerCaptionsTracklistRenderer)a:{var lg=ki.playerCaptionsTracklistRenderer;a.captionTracks=[];if(lg.captionTracks)for(var bm=g.v(lg.captionTracks),Jo=bm.next();!Jo.done;Jo=bm.next()){var li=Jo.value,wq=WQa(li.baseUrl); if(!wq)break a;var Ko={is_translateable:!!li.isTranslatable,languageCode:li.languageCode,languageName:li.name&&g.$F(li.name),url:wq,vss_id:li.vssId,kind:li.kind};a.U().L("html5_support_caption_entry_display_name")&&(Ko.name=li.trackName,Ko.displayName=li.name&&g.$F(li.name));a.captionTracks.push(new g.AS(Ko))}a.XB=lg.audioTracks||[];a.NU=lg.defaultAudioTrackIndex||0;a.Cx=[];if(lg.translationLanguages)for(var xq=g.v(lg.translationLanguages),gn=xq.next();!gn.done;gn=xq.next()){var Pf=gn.value,Qf={}; Qf.languageCode=Pf.languageCode;Qf.languageName=g.$F(Pf.languageName);if(Pf.translationSourceTrackIndices){Qf.translationSourceTrackIndices=[];for(var Ri=g.v(Pf.translationSourceTrackIndices),vh=Ri.next();!vh.done;vh=Ri.next())Qf.translationSourceTrackIndices.push(vh.value)}if(Pf.excludeAudioTrackIndices){Qf.excludeAudioTrackIndices=[];var cm=g.v(Pf.excludeAudioTrackIndices);for(vh=cm.next();!vh.done;vh=cm.next())Qf.excludeAudioTrackIndices.push(vh.value)}a.Cx.push(Qf)}a.ZB=[];if(lg.defaultTranslationSourceTrackIndices){var Si= g.v(lg.defaultTranslationSourceTrackIndices);for(vh=Si.next();!vh.done;vh=Si.next())a.ZB.push(vh.value)}a.Bx=!!lg.contribute&&!!lg.contribute.captionsMetadataRenderer}a.clipConfig=a.playerResponse.clipConfig;a.clipConfig&&null!=a.clipConfig.startTimeMs&&(a.KP=.001*Number(a.clipConfig.startTimeMs));a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting&&pQa(a,a.playerResponse.playerConfig.webPlayerConfig.webPlayerActionsPorting); var wh;a.compositeLiveIngestionOffsetToken=null==(wh=a.playerResponse.playbackTracking)?void 0:wh.compositeLiveIngestionOffsetToken;var yj;a.compositeLiveStatusToken=null==(yj=a.playerResponse.playbackTracking)?void 0:yj.compositeLiveStatusToken}UQa(a,b);b.queue_info&&(a.queueInfo=b.queue_info);var dl=b.hlsdvr;null!=dl&&(a.allowLiveDvr="1"==dl?CR()?!0:iC&&5>cT?!1:!0:!1);a.adQueryId=b.ad_query_id||null;a.PB||(a.PB=b.encoded_ad_safety_reason||null);a.sU=b.agcid||null;a.iG=b.ad_id||null;a.kG=b.ad_sys|| null;a.uC=b.encoded_ad_playback_context||null;a.wl=mC(a.wl,b.infringe||b.muted);a.FU=b.authkey;a.lU=b.authuser;a.mutedAutoplay=mC(a.mutedAutoplay,b&&b.playmuted)&&a.L("embeds_enable_muted_autoplay");a.jL=mC(a.jL,b&&b.mutedautoplay)&&a.L("embeds_enable_muted_autoplay");var dm=b.length_seconds;dm&&(a.lengthSeconds="string"===typeof dm?Ae(dm):dm);if(a.isAd()||a.Pm||!g.rC(g.eS(a.Ia)))a.endSeconds=oC(a.endSeconds,a.lP||b.end||b.endSeconds);else{var em=a.lengthSeconds;switch(g.eS(a.Ia)){case "EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT":30< em?a.limitedPlaybackDurationInSeconds=30:30>em&&10c&&(lL()||d.L("html5_format_hybridization"))&&(r.j.supportsChangeType=+lL(),r.Ji=c);2160<=c&&(r.Fa=!0);ALa()&&(r.j.serveVp9OverAv1IfHigherRes=0,r.fd=!1);r.yM=b;r.Ya=g.HD||Noa()&&!b?!1:!0;r.Y=d.L("html5_format_hybridization");r.Ib=d.L("html5_disable_encrypted_vp9_live_non_2k_4k");fC()&&a.playerResponse&&a.playerResponse.playerConfig&&a.playerResponse.playerConfig.webPlayerConfig&&a.playerResponse.playerConfig.webPlayerConfig.useCobaltTvosDogfoodFeatures&&(r.D=!0, r.G=!0);a.Y&&a.isAd()&&(a.wx&&(r.ma=a.wx),a.Uw&&(r.C=a.Uw));r.Va=a.isLivePlayback&&a.rj()&&a.Ia.L("html5_drm_live_audio_51");r.sb=a.cC;return a.He=r}; xRa=function(a){return a.Ia.L("html5_disable_av1")||a.L("html5_gapless_shorts_disable_av1")&&a.Ia.supportsGaplessShorts()&&g.nT(a)?!0:!1}; zRa=function(a){OH("drm_pb_s",void 0,a.Ka);a.Ya||a.j&&JP(a.j);var b={};a.j&&(b=ILa(a.Hx,pT(a),a.Ia.G,a.j,function(c){return a.ra("ctmp","fmtflt",c)},!0)); b=new wR(b,a.Ia,a.EU,a.useCobaltWidevine?fC()?yRa(a):!1:!1,function(c,d){a.va(c,d)}); g.L(a,b);a.Mo=!1;a.loading=!0;FOa(b,function(c){OH("drm_pb_f",void 0,a.Ka);for(var d=g.v(c),e=d.next();!e.done;e=d.next())switch(e=e.value,e.flavor){case "fairplay":e.Ya=a.Ya;e.gy=a.gy;e.ey=a.ey;break;case "widevine":e.Ol=a.Ol}a.Oo=c;if(0p&&(p=t.ph().audio.numChannels)}2=a.C.videoInfos.length)&&(b=SK(a.C.videoInfos[0]),b!=("fairplay"==a.K.flavor)))for(c=g.v(a.Oo),d=c.next();!d.done;d=c.next())if(d=d.value,b==("fairplay"==d.flavor)){a.K=d;break}}; sT=function(a,b){a.jd=b;IRa(a,new FP(g.lr(a.jd,function(c){return c.ph()})))}; JRa=function(a){var b={cpn:a.clientPlaybackNonce,c:a.Ia.j.c,cver:a.Ia.j.cver};a.qy&&(b.ptk=a.qy,b.oid=a.CS,b.ptchn=a.BS,b.pltype=a.ES,a.Kx&&(b.m=a.Kx));return b}; g.tT=function(a){return dT(a)&&a.Ya?(a={},a.fairplay="https://youtube.com/api/drm/fps?ek=uninitialized",a):a.B&&a.B.le||null}; LRa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.text?g.$F(b.text):a.paidContentOverlayText}; MRa=function(a){var b=a.playerResponse&&a.playerResponse.paidContentOverlay&&a.playerResponse.paidContentOverlay.paidContentOverlayRenderer||null;return b&&b.durationMs?Ae(b.durationMs):a.paidContentOverlayDurationMs}; uT=function(a){var b="";if(a.lM)return a.lM;a.isLivePlayback&&(b=a.allowLiveDvr?"dvr":a.isPremiere?"lp":a.rb?"window":"live");a.Xd&&(b="post");return b}; g.vT=function(a,b){return"string"!==typeof a.keywords[b]?null:a.keywords[b]}; NRa=function(a){return!!a.hj||!!a.aR||!!a.uy||!!a.vy||a.HX||a.N.focEnabled||a.N.rmktEnabled}; g.wT=function(a){return!!(a.Fc||a.Rf||a.Ml||a.hlsvp||a.Pv())}; $S=function(a){if(a.L("html5_onesie")&&a.errorCode)return!1;var b=g.Cb(a.Fa,"ypc");a.ypcPreview&&(b=!1);return a.Fe()&&!a.loading&&(g.wT(a)||g.Cb(a.Fa,"heartbeat")||b)}; fT=function(a,b){a=Wna(a);var c={};if(b){b=g.v(b.split(","));for(var d=b.next();!d.done;d=b.next())(d=d.value.match(/^([0-9]+)\/([0-9]+)x([0-9]+)(\/|$)/))&&(c[d[1]]={width:d[2],height:d[3]})}b=g.v(a);for(d=b.next();!d.done;d=b.next()){d=d.value;var e=c[d.itag];e&&(d.width=e.width,d.height=e.height)}return a}; KRa=function(a){var b=a.getAvailableAudioTracks();b=b.concat(a.xl);for(var c=0;c(b?parseInt(b[1],10):NaN);c=a.Ia;c=("TVHTML5_CAST"===g.zR(c)||"TVHTML5"===g.zR(c)&&(c.j.cver.startsWith("6.20130725")||c.j.cver.startsWith("6.20130726")))&&"MUSIC"===a.Ia.j.ctheme;var d;if(d=!a.pj)c||(c=a.Ia,c= "TVHTML5"===g.zR(c)&&c.j.cver.startsWith("7")),d=c;d&&!b&&(b="MUSIC_VIDEO_TYPE_PRIVATELY_OWNED_TRACK"===a.musicVideoType,c=(a.L("cast_prefer_audio_only_for_atv_and_uploads")||a.L("kabuki_pangea_prefer_audio_only_for_atv_and_uploads"))&&"MUSIC_VIDEO_TYPE_ATV"===a.musicVideoType,b||c||a.isExternallyHostedPodcast)&&(a.pj=!0);return a.Ia.deviceIsAudioOnly||a.pj&&a.Ia.K}; KT=function(a){var b,c,d;return a.isDaiEnabled()&&!!(null==(b=a.playerResponse)?0:null==(c=b.playerConfig)?0:null==(d=c.daiConfig)?0:d.ssaEnabledPlayback)}; bSa=function(a){return isNaN(a)?0:Math.max((Date.now()-a)/1E3-30,0)}; LT=function(a){return!(!a.Rm||!a.Ia.K)&&a.Pv()}; cSa=function(a){return a.enablePreroll&&a.enableServerStitchedDai}; hT=function(a){if(a.GX||a.cotn||!a.j||a.j.isOtf)return!1;if(a.L("html5_use_sabr_requests_for_debugging"))return!0;var b=!a.j.Ac&&!a.rj(),c=b&&AR&&a.L("html5_enable_sabr_vod_streaming_xhr");b=b&&!AR&&a.L("html5_enable_sabr_vod_non_streaming_xhr");var d=dSa(a),e;if(e=a.L("html5_enable_sabr_drm_vod_streaming_xhr")&&a.rj()&&!a.j.Ac&&AR)e=a.Jx,e="1"===e?!1:"6"===e||"4"===e?!1:!0;(c=c||b||d||e)&&!a.yy&&a.va("sabr",{loc:"m"},!0);return c&&!!a.yy}; dSa=function(a){if(a.enableServerStitchedDai)return!1;var b=a.Ac()&&!a.rj(),c=b&&AR&&a.L("html5_enable_sabr_live_streaming_xhr")&&a.L("html5_sabr_live");b=b&&!AR&&a.L("html5_enable_sabr_live_non_streaming_xhr")&&a.L("html5_sabr_live");var d=a.Ac()&&"ULTRALOW"!==a.latencyClass&&!a.isLowLatencyLiveStream,e=c&&a.Xd&&a.L("html5_sabr_post_live"),f=c&&a.isPremiere&&a.L("html5_sabr_premiere");d=(g.yT(a)||zT(a))&&d;var h=(g.yT(a)||zT(a))&&a.isLowLatencyLiveStream&&a.L("html5_sabr_live_low_latency");a=(g.yT(a)|| zT(a))&&"ULTRALOW"===a.latencyClass&&a.L("html5_sabr_live_ultra_low_latency");return c&&(e||f||d||h||a)||b}; g.MT=function(a){return a.LW&&hT(a)}; jRa=function(a){var b;if(b=!!a.cotn)b=a.videoId,b=!!b&&1===g.NS(b);return b&&!a.Rm}; g.NT=function(a){if(!a.j||!a.B||!a.D)return!1;var b=a.j.j;return!!b[a.B.id]&&RP(b[a.B.id].resource.j)&&!!b[a.D.id]&&RP(b[a.D.id].resource.j)}; eSa=function(a){return a.sy?["OK","LIVE_STREAM_OFFLINE"].includes(a.sy.status):!0}; SRa=function(a){return(a=a.Jo)&&a.showError?a.showError:!1}; eT=function(a,b){return a.L(b)?!0:(a.fflags||"").includes(b+"=true")}; bRa=function(a){return a.L("html5_heartbeat_iff_heartbeat_params_filled")}; fSa=function(a){return(a=/html5_log_experiment_id_from_player_response_to_ctmp=([0-9]+)/.exec(a.fflags))?a[1]:null}; $Qa=function(a,b){b.inlineMetricEnabled&&(a.inlineMetricEnabled=!0);b.playback_progress_0s_url&&(a.vy=new wQa(b));if(b=b.video_masthead_ad_quartile_urls)a.aR=b.quartile_0_url,a.NS=b.quartile_25_url,a.OS=b.quartile_50_url,a.aU=b.quartile_75_url,a.MS=b.quartile_100_url,a.uy=b.quartile_0_urls,a.yS=b.quartile_25_urls,a.zS=b.quartile_50_urls,a.AS=b.quartile_75_urls,a.lS=b.quartile_100_urls}; ZQa=function(a){var b={};a=g.v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.split("=");2==d.length?b[d[0]]=d[1]:b[c]=!0}return b}; WQa=function(a){if(a){if(Uza(a))return a;a=Vza(a);if(Uza(a,!0))return a}return""}; g.gSa=function(a){return a.captionsLanguagePreference||a.Ia.captionsLanguagePreference||g.vT(a,"yt:cc_default_lang")||a.Ia.hj}; OT=function(a){return!(!a.isLivePlayback||!a.hasProgressBarBoundaries())}; g.kT=function(a){var b;return a.RB||(null==(b=a.suggestions)?void 0:b[0])||null}; g.PT=function(a){var b=a.U(),c=g.hSa(b),d=a.Aa;d&&(c.clickTracking={clickTrackingParams:d});d=c.client||{};var e="EMBED",f=GT(a);"leanback"===f?e="WATCH":b.L("gvi_channel_client_screen")&&"profilepage"===f?e="CHANNEL":a.ob?e="LIVE_MONITOR":"detailpage"===f?e="WATCH_FULL_SCREEN":"adunit"===f?e="ADUNIT":"sponsorshipsoffer"===f&&(e="UNKNOWN");d.clientScreen=e;if(b=a.kidsAppInfo)d.kidsAppInfo=JSON.parse(b);(e=a.No)&&!b&&(d.kidsAppInfo={contentSettings:{ageUpMode:iSa[e]}});a.Cy&&(d.unpluggedAppInfo={enableFilterMode:!0}); if(b=a.ma)d.unpluggedLocationInfo=b;c.client=d;d=c.request||{};a.Ki&&(d.isPrefetch=!0);if(b=a.mdxEnvironment)d.mdxEnvironment=b;if(b=a.mdxControlMode)d.mdxControlMode=jSa[b];c.request=d;d=c.user||{};if(b=a.oa)d.credentialTransferTokens=[{token:b,scope:"VIDEO"}];if(b=a.sb)d.delegatePurchases={oauthToken:b},d.kidsParent={oauthToken:b};c.user=d;if(d=a.contextParams)c.activePlayers=[{playerContextParams:d}];if(a=a.clientScreenNonce)c.clientScreenNonce=a;return c}; g.hSa=function(a){var b=g.bH(),c=b.client||{};if(a.forcedExperiments){var d=a.forcedExperiments.split(","),e=[];d=g.v(d);for(var f=d.next();!f.done;f=d.next())e.push(Number(f.value));c.experimentIds=e}if(e=a.homeGroupInfo)c.homeGroupInfo=JSON.parse(e);if(e=a.getPlayerType())c.playerType=e;if(e=a.j.ctheme)c.theme=e;if(e=a.livingRoomAppMode)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomAppMode:e});e=a.deviceYear;a.L("html5_propagate_device_year")&&e&&(c.tvAppInfo=Object.assign({},c.tvAppInfo, {deviceYear:e}));if(e=a.livingRoomPoTokenId)c.tvAppInfo=Object.assign({},c.tvAppInfo,{livingRoomPoTokenId:e});b.client=c;c=b.user||{};a.enableSafetyMode&&(c=Object.assign({},c,{enableSafetyMode:!0}));a.pageId&&(c=Object.assign({},c,{onBehalfOfUser:a.pageId}));b.user=c;if(a=a.jd)b.thirdParty={embedUrl:a};return b}; oSa=function(a,b,c){var d=a.videoId,e=g.PT(a),f=a.U(),h={html5Preference:"HTML5_PREF_WANTS",lactMilliseconds:String(KE()),referer:document.location.toString(),signatureTimestamp:19681};g.OC();a.isAutonav&&(h.autonav=!0);g.PC(0,141)&&(h.autonavState=g.PC(0,140)?"STATE_OFF":"STATE_ON");h.autoCaptionsDefaultOn=g.PC(0,66);$Ra(a)&&(h.autoplay=!0);f.K&&a.cycToken&&(h.cycToken=a.cycToken);f.enablePrivacyFilter&&(h.enablePrivacyFilter=!0);a.isFling&&(h.fling=!0);var l=a.forceAdsUrl;if(l){var m={},n=[];l= l.split(",");l=g.v(l);for(var p=l.next();!p.done;p=l.next()){p=p.value;var q=p.split("|");3!==q.length||p.includes("=")||(q[0]="breaktype="+q[0],q[1]="offset="+q[1],q[2]="url="+q[2]);p={adtype:"video_ad"};q=g.v(q);for(var r=q.next();!r.done;r=q.next()){var t=g.v(r.value.split("="));r=t.next().value;t=eaa(t);p[r]=t.join("=")}q=p.url;r=p.presetad;t=p.viralresponseurl;var u=Number(p.campaignid);if("in_display_ad"===p.adtype)q&&(m.url=q),r&&(m.presetAd=r),t&&(m.viralAdResponseUrl=t),u&&(m.viralCampaignId= String(u));else if("video_ad"===p.adtype){var x={offset:{kind:"OFFSET_MILLISECONDS",value:String(Number(p.offset)||0)}};if(p=kSa[p.breaktype])x.breakType=p;q&&(x.url=q);r&&(x.presetAd=r);t&&(x.viralAdResponseUrl=t);u&&(x.viralCampaignId=String(u));n.push(x)}}h.forceAdParameters={videoAds:n,inDisplayAd:m}}a.isInlinePlaybackNoAd&&(h.isInlinePlaybackNoAd=!0);a.isLivingRoomDeeplink&&(h.isLivingRoomDeeplink=!0);m=a.mM;if(null!=m){m={startWalltime:String(m)};if(n=a.Hm)m.manifestDuration=String(n||14400); h.liveContext=m}a.mutedAutoplay&&(h.mutedAutoplay=!0);if(a.Tf?0:a.Ug)h.splay=!0;m=a.vnd;5===m&&(h.vnd=m);m={};if(n=a.isMdxPlayback)m.triggeredByMdx=n;if(n=a.qv)m.skippableAdsSupported=n.split(",").includes("ska");if(p=a.zl){n=a.gL;l=[];p=g.v(p.split(","));for(q=p.next();!q.done;q=p.next())if(r=q.value)if((q=r.startsWith("!"))&&(r=r.substr(1)),r=r.split("-"),!(3>r.length)){q={applicationState:q?"INACTIVE":"ACTIVE",clientFormFactor:lSa[r[1]]||"UNKNOWN_FORM_FACTOR",clientName:mSa[r[0]]||"UNKNOWN_INTERFACE", clientVersion:r[2]||"",platform:nSa[r[1]]||"UNKNOWN_PLATFORM"};r={};if(n){t=void 0;try{t=JSON.parse(n)}catch(B){g.xF(B)}t&&(r={params:[{key:"ms",value:t.ms}]},t.advertising_id&&(r.advertisingId=t.advertising_id),void 0!==t.limit_ad_tracking&&null!==t.limit_ad_tracking&&(r.limitAdTracking=t.limit_ad_tracking),q.osName=t.os_name,q.userAgent=t.user_agent,q.windowHeightPoints=t.window_height_points,q.windowWidthPoints=t.window_width_points)}l.push({adSignalsInfo:r,remoteClient:q})}m.remoteContexts=l}n= a.sourceContainerPlaylistId;l=a.serializedMdxMetadata;if(n||l)p={},n&&(p.mdxPlaybackContainerInfo={sourceContainerPlaylistId:n}),l&&(p.serializedMdxMetadata=l),m.mdxPlaybackSourceContext=p;h.mdxContext=m;m=b.width;0d&&(d=-(d+1));g.pf(a,b,d);b.setAttribute("data-layer",String(c))}; g.pU=function(a){var b=a.U();if(!b.He)return!1;var c=a.getVideoData();if(!c||3===a.getPresentingPlayerType())return!1;var d=(!c.isLiveDefaultBroadcast||b.L("allow_poltergust_autoplay"))&&!OT(c);d=c.isLivePlayback&&(!b.L("allow_live_autoplay")||!d);var e=c.isLivePlayback&&b.L("allow_live_autoplay_on_mweb");a=a.getPlaylist();a=!!a&&a.Vk();var f=c.Na&&c.Na.playerOverlays||null;f=!!(f&&f.playerOverlayRenderer&&f.playerOverlayRenderer.autoplay);f=c.Ld&&f;return!c.ypcPreview&&(!d||e)&&!g.Cb(c.Fa,"ypc")&& !a&&(!g.VR(b)||f)}; SSa=function(a){a=g.$T(a.app);if(!a)return!1;var b=a.getVideoData();if(!b.B||!b.B.video||1080>b.B.video.j||b.c_)return!1;var c=/^qsa/.test(b.clientPlaybackNonce),d="r";0<=b.B.id.indexOf(";")&&(c=/^[a-p]/.test(b.clientPlaybackNonce),d="x");return c?(a.va("iqss",{trigger:d},!0),!0):!1}; TSa=function(){NC.apply(this,arguments);this.ex={}}; qU=function(){USa||(USa=new TSa);return USa}; VSa=function(a,b){b?a.ex.Authorization="Bearer "+b:delete a.ex.Authorization}; rU=function(a,b,c,d){function e(h){var l=!(204!==h.status&&200!==h.status&&!h.response),m;h={succ:""+ +l,rc:h.status,lb:(null==(m=h.response)?void 0:m.byteLength)||0,rt:((0,g.rD)()-f).toFixed(),shost:g.Gl(a),trigger:b};WSa(h,a);c&&c(h);d&&!l&&d(new DK("pathprobe.net",h))} var f=(0,g.rD)();g.SB(a,{format:"RAW",responseType:"arraybuffer",timeout:1E4,onFinish:e,onTimeout:e})}; WSa=function(a,b){var c;(null==(c=window.performance)?0:c.getEntriesByName)&&(b=performance.getEntriesByName(b))&&b.length&&(b=b[0],a.pedns=(b.domainLookupEnd-b.startTime).toFixed(),a.pecon=(b.connectEnd-b.domainLookupEnd).toFixed(),a.perqs=(b.requestStart-b.connectEnd).toFixed(),XSa&&(a.perqsa=b.requestStart+(performance.timeOrigin||performance.timing.navigationStart)))}; g.sU=function(a,b,c,d){d=void 0===d?!1:d;g.XF.call(this,b);var e=this;this.J=a;this.Ea=d;this.N=new g.GK(this);this.ma=new g.yG(this,c,!0,void 0,void 0,function(){e.hW()}); g.L(this,this.N);g.L(this,this.ma)}; YSa=function(a){a.B&&(document.activeElement&&g.yf(a.element,document.activeElement)&&(Af(a.B),a.B.focus()),a.B.setAttribute("aria-expanded","false"),a.B=void 0);g.GC(a.N);a.Y=void 0}; tU=function(a,b,c){a.Xj()?a.Ob():a.rd(b,c)}; ZSa=function(a,b,c,d){d=new g.V({I:"div",Ma:["ytp-linked-account-popup-button"],xa:d,X:{role:"button",tabindex:"0"}});b=new g.V({I:"div",S:"ytp-linked-account-popup",X:{role:"dialog","aria-modal":"true",tabindex:"-1"},V:[{I:"div",S:"ytp-linked-account-popup-title",xa:b},{I:"div",S:"ytp-linked-account-popup-description",xa:c},{I:"div",S:"ytp-linked-account-popup-buttons",V:[d]}]});g.sU.call(this,a,{I:"div",S:"ytp-linked-account-popup-container",V:[b]},100);var e=this;this.dialog=b;g.L(this,this.dialog); d.Ta("click",function(){e.Ob()}); g.L(this,d);g.oU(this.J,this.element,4);this.hide()}; g.vU=function(a,b,c,d){g.XF.call(this,a);this.priority=b;c&&g.uU(this,c);d&&this.Yd(d)}; g.wU=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",Ma:b,X:a,V:[{I:"div",S:"ytp-menuitem-icon",xa:"{{icon}}"},{I:"div",S:"ytp-menuitem-label",xa:"{{label}}"},{I:"div",S:"ytp-menuitem-content",xa:"{{content}}"}]}}; xU=function(a,b){a.updateValue("icon",b)}; g.uU=function(a,b){a.updateValue("label",b)}; yU=function(a){g.vU.call(this,g.wU({"aria-haspopup":"true"},["ytp-linked-account-menuitem"]),2);var b=this;this.J=a;this.B=this.j=!1;this.Jb=a.xn();a.createServerVe(this.element,this,!0);this.T(this.J,"settingsMenuVisibilityChanged",function(c){b.Zb(c)}); this.T(this.J,"videodatachange",this.D);this.Ta("click",this.onClick);this.D()}; zU=function(a){return a?g.$F(a):""}; AU=function(a){g.J.call(this);this.api=a}; BU=function(a){AU.call(this,a);var b=this;UT(a,"setAccountLinkState",function(c){b.setAccountLinkState(c)}); UT(a,"updateAccountLinkingConfig",function(c){b.updateAccountLinkingConfig(c)}); a.addEventListener("videodatachange",function(c,d){b.onVideoDataChange(d)}); a.addEventListener("settingsMenuInitialized",function(){b.menuItem=new yU(b.api);g.L(b,b.menuItem)})}; $Sa=function(a){AU.call(this,a);this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"videoready",function(b){if(1===a.getPresentingPlayerType()){var c,d,e={playerDebugData:{pmlSignal:!!(null==(c=b.getPlayerResponse())?0:null==(d=c.adPlacements)?0:d.some(function(f){var h;return null==f?void 0:null==(h=f.adPlacementRenderer)?void 0:h.renderer})), contentCpn:b.clientPlaybackNonce}};g.cD("adsClientStateChange",e)}})}; bTa=function(a){g.V.call(this,{I:"button",Ma:["ytp-button"],X:{title:"{{title}}","aria-label":"{{label}}","data-priority":"2","data-tooltip-target-id":"ytp-autonav-toggle-button"},V:[{I:"div",S:"ytp-autonav-toggle-button-container",V:[{I:"div",S:"ytp-autonav-toggle-button",X:{"aria-checked":"true"}}]}]});this.J=a;this.B=[];this.j=!1;this.isChecked=!0;a.createClientVe(this.element,this,113681);this.T(a,"presentingplayerstatechange",this.pC);this.Ta("click",this.onClick);this.J.U().L("web_player_autonav_toggle_always_listen")&& aTa(this);cU(a,this.element,this);this.pC()}; aTa=function(a){a.B.push(a.T(a.J,"videodatachange",a.pC));a.B.push(a.T(a.J,"videoplayerreset",a.pC));a.B.push(a.T(a.J,"onPlaylistUpdate",a.pC));a.B.push(a.T(a.J,"autonavchange",a.LT))}; cTa=function(a){a.isChecked=a.isChecked;a.Ha("ytp-autonav-toggle-button").setAttribute("aria-checked",String(a.isChecked));var b=a.isChecked?"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u043e":"\u0410\u0432\u0442\u043e\u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043e";a.updateValue("title", b);a.updateValue("label",b);a.J.Hh()}; dTa=function(a){return a.J.U().L("web_player_autonav_use_server_provided_state")&&nRa(a.Ed())}; eTa=function(a){AU.call(this,a);var b=this;this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"standardControlsInitialized",function(){var c=new bTa(a);g.L(b,c);a.Aq(c)})}; CU=function(a,b){g.vU.call(this,g.wU({role:"menuitemcheckbox","aria-checked":"false"}),b,a,{I:"div",S:"ytp-menuitem-toggle-checkbox"});this.checked=!1;this.Ta("click",this.onClick)}; DU=function(a,b){a.checked=b;a.element.setAttribute("aria-checked",String(a.checked))}; fTa=function(a){var b=!a.U().Yk&&3!==a.getPresentingPlayerType();return a.isFullscreen()||b}; g.EU=function(a,b,c,d){var e=a.currentTarget;if((void 0===c||!c)&&g.PG(a))return a.preventDefault(),!0;b.pauseVideo();a=e.getAttribute("href");g.Fwa(a,d,!0);return!1}; g.FU=function(a,b,c){if(kS(b.U())&&2!==b.getPresentingPlayerType()){if(g.PG(c))return b.isFullscreen()&&!b.U().externalFullscreen&&b.toggleFullscreen(),c.preventDefault(),!0}else if(b.U().L("embeds_enable_webview_nonjs_navigation")&&g.VR(b.U())&&(lC()||jC()))b=c.target,b instanceof HTMLAnchorElement&&g.Kn(b,hga(a));else{var d=g.PG(c);d&&b.pauseVideo();g.Fwa(a,void 0,!0);d&&(g.ZG(a),c.preventDefault())}return!1}; hTa=function(){var a=gTa.includes("ru")?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{d:"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z", fill:"#fff"}}]}:{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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"}}]};a.S="ytp-subtitles-button-icon";return a}; iTa=function(){return{I:"div",S:"ytp-spinner-container",V:[{I:"div",S:"ytp-spinner-rotator",V:[{I:"div",S:"ytp-spinner-left",V:[{I:"div",S:"ytp-spinner-circle"}]},{I:"div",S:"ytp-spinner-right",V:[{I:"div",S:"ytp-spinner-circle"}]}]}]}}; jTa=function(a){if(document.createRange){var b=document.createRange();b&&(b.selectNodeContents(a),a=window.getSelection())&&(a.removeAllRanges(),a.addRange(b))}}; g.GU=function(a){return a.U().L("web_modern_player_settings")?kTa:a.U().L("web_modern_player_settings_quality_bottom")?lTa:mTa}; HU=function(a){var b=a.L("web_player_use_cinematic_label_2")?"\u0424\u043e\u043d\u043e\u0432\u0430\u044f \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430":"\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0438\u0435";CU.call(this,b,g.GU(a).iL);var c=this;this.J=a;this.j=!1;this.B=new g.Bu(function(){g.Lu(c.element,"ytp-menuitem-highlighted")},0); this.Jb=a.xn();xU(this,{I:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{d:"M21 7v10H3V7h18m1-1H2v12h20V6zM11.5 2v3h1V2h-1zm1 17h-1v3h1v-3zM3.79 3 6 5.21l.71-.71L4.5 2.29 3.79 3zm2.92 16.5L6 18.79 3.79 21l.71.71 2.21-2.21zM19.5 2.29 17.29 4.5l.71.71L20.21 3l-.71-.71zm0 19.42.71-.71L18 18.79l-.71.71 2.21 2.21z",fill:"white"}}]});this.subscribe("select",this.D,this);this.Ta(nTa,this.C);g.L(this,this.B)}; pTa=function(a){AU.call(this,a);var b=this;this.j=!1;a.addEventListener("settingsMenuInitialized",function(){oTa(b)}); a.addEventListener("highlightSettingsMenu",function(c){oTa(b);var d=b.menuItem;"menu_item_cinematic_lighting"===c&&(g.Ju(d.element,"ytp-menuitem-highlighted"),g.Ju(d.element,"ytp-menuitem-highlight-transition-enabled"),d.B.start())}); UT(a,"updateCinematicSettings",function(c){b.updateCinematicSettings(c)})}; oTa=function(a){a.menuItem||(a.menuItem=new HU(a.api),g.L(a,a.menuItem),a.menuItem.Ra(a.j))}; IU=function(a){g.V.call(this,{I:"a",Ma:["ytp-cultural-moment-overlay","ytp-hip-hop-50-overlay","ytp-button"],X:{title:"{{title}}","aria-label":"{{aria_label}}",href:"{{url}}",target:"_blank"}});var b=this;this.api=a;this.api.createClientVe(this.element,this,188815);this.T(this.element,"click",function(c){c.preventDefault();b.api.logClick(b.element);b.api.Qa("innertubeCommand",b.command)}); cU(this.api,this.element,this)}; rTa=function(a){AU.call(this,a);var b=this;this.B=new g.Bu(this.j,1E4,this);this.D=!1;this.C=!0;this.events=new g.GK(a);g.L(this,this.events);g.L(this,this.B);this.events.T(a,"basechromeinitialized",function(){g.L(b,b.culturalMomentOverlay);b.culturalMomentOverlay=new IU(b.api);b.G=new g.V({I:"div",Ma:["ytp-player-content","ytp-cultural-moment-player-content"],V:[b.culturalMomentOverlay]});g.oU(b.api,b.G.element,4);b.culturalMomentOverlay.hide()}); this.events.T(a,"presentingplayerstatechange",function(){b.j()}); this.events.T(a,"onHideControls",function(){b.C=!1;b.j()}); this.events.T(a,"onShowControls",function(){b.C=!0;b.B.start();b.j()}); this.events.T(a,"videodatachange",function(){var c,d,e,f=null==(c=a.getVideoData())?void 0:null==(d=c.getWatchNextResponse())?void 0:null==(e=d.playerOverlays)?void 0:e.playerOverlayRenderer;c=g.U(null==f?void 0:f.culturalMomentOverlay,qTa);(null==c?0:c.endpoint)&&null!=(d=b.culturalMomentOverlay)&&(e=c.endpoint,d.command=e,(f=g.U(e,g.lG))?d.updateValue("url",f.url):d.updateValue("url",g.U(e,g.JU).canonicalBaseUrl));(null==c?0:c.tooltipText)&&null!=(d=b.culturalMomentOverlay)&&(e=g.$F(c.tooltipText), d.updateValue("title",e),d.updateValue("aria_label",e));b.D=!!c;b.D&&b.B.start();b.j()})}; KU=function(a){AU.call(this,a);var b=this;this.j={};this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"videodatachange",function(){b.onVideoDataChange()}); this.events.T(a,g.WJ("embargo"),function(c){b.api.jo(!0);var d,e=null!=(d=b.j[c.id])?d:[];d=g.v(e);for(e=d.next();!e.done;e=d.next()){var f=e.value;b.api.hideControls();b.api.Ag("auth",2,"This video isn't available in your current playback area",CK({embargoed:1,id:c.id,idx:c.B,start:c.start}));e=void 0;(f=null==(e=f.embargo)?void 0:e.onTrigger)&&b.api.Qa("innertubeCommand",f)}})}; sTa=function(a,b){var c;return null==(c=b.onEnter)?void 0:c.some(a.B)}; tTa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=void 0,e=Number(null==(d=c.playbackPosition)?void 0:d.utcTimeMillis)/1E3,f=void 0;d=e+Number(null==(f=c.duration)?void 0:f.seconds);f="embargo_"+e;a.api.addUtcCueRange(f,e,d,"embargo",!1);c.onEnter&&(a.j[f]=c.onEnter.filter(a.B))}}; uTa=function(a){AU.call(this,a);var b=this;this.j=[];this.events=new g.GK(a);g.L(this,this.events);UT(a,"addEmbedsConversionTrackingParams",function(c){b.api.U().Po&&b.addEmbedsConversionTrackingParams(c)}); this.events.T(a,"veClickLogged",function(c){b.api.hasVe(c)&&(c=Qj(c.visualElement.getAsJspb(),2),b.j.push(c))})}; vTa=function(a){AU.call(this,a);var b=this;this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"initialvideodatacreated",function(c){pP(oP(),16623);b.j=g.tF();var d=a.U().Vg&&!c.Tf;if(IT(c)&&d){pP(oP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"});if(c.getWatchNextResponse()){var e,f=null==(e=c.getWatchNextResponse())?void 0:e.trackingParams;f&&rP(f)}if(c.getPlayerResponse()){var h;(c=null==(h=c.getPlayerResponse())?void 0:h.trackingParams)&&rP(c)}}else pP(oP(), 32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"}),c.jg&&(h=null==(f=c.jg)?void 0:f.trackingParams)&&rP(h)}); this.events.T(a,"loadvideo",function(){pP(oP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:b.j})}); this.events.T(a,"cuevideo",function(){pP(oP(),32594,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED",parentCsn:b.j})}); this.events.T(a,"largeplaybuttonclicked",function(c){pP(oP(),27240,c.visualElement)}); this.events.T(a,"playlistnextbuttonclicked",function(c){pP(oP(),27240,c.visualElement)}); this.events.T(a,"playlistprevbuttonclicked",function(c){pP(oP(),27240,c.visualElement)}); this.events.T(a,"playlistautonextvideo",function(){pP(oP(),27240,void 0,{implicitGestureType:"INTERACTION_LOGGING_GESTURE_TYPE_AUTOMATED"})})}; wTa=function(a){var b;return(null==(b=((null==a?void 0:a.messageRenderers)||[]).find(function(c){return!!c.timeCounterRenderer}))?void 0:b.timeCounterRenderer)||null}; LU=function(a){g.V.call(this,{I:"div",Ma:["ytp-player-content","ytp-iv-player-content"],V:[{I:"div",S:"ytp-free-preview-countdown-timer",V:[{I:"span",xa:"{{label}}"},{I:"span",S:"ytp-free-preview-countdown-timer-separator",xa:"\u2022"},{I:"span",xa:"{{duration}}"}]}]});this.api=a;this.j=null;this.C=this.B=0;this.T(this.api,"videodatachange",this.onVideoDataChange);this.api.createClientVe(this.element,this,191284)}; yTa=function(a,b){a.j||(a.B=b,a.C=(0,g.rD)(),a.j=new g.zu(function(){xTa(a)},null),xTa(a))}; xTa=function(a){var b=Math,c=b.round,d=Math.min((0,g.rD)()-a.C,a.B);b=c.call(b,(a.B-d)/1E3);a.updateValue("duration",QGa({seconds:b}));0>=b&&a.j?zTa(a):a.j&&a.j.start()}; zTa=function(a){a.j&&(a.j.dispose(),a.j=null)}; ATa=function(a){AU.call(this,a);var b=this;this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"basechromeinitialized",function(){b.j=new LU(a);g.L(b,b.j);g.oU(a,b.j.element,4);b.j.hide()})}; MU=function(a){g.V.call(this,{I:"button",Ma:["ytp-fullerscreen-edu-button","ytp-button"],V:[{I:"div",Ma:["ytp-fullerscreen-edu-text"],xa:"\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",Ma:["ytp-fullerscreen-edu-chevron"], V:[{I:"svg",X:{height:"100%",viewBox:"0 0 24 24",width:"100%"},V:[{I:"path",X:{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z",fill:"#fff"}}]}]}],X:{"data-priority":"1"}});this.Wa=a;this.j=new g.yG(this,250,void 0,100);this.C=this.B=!1;a.createClientVe(this.element,this,61214);g.L(this,this.j);this.T(a,"fullscreentoggled",this.Ra);this.T(a,"presentingplayerstatechange",this.Ra);this.Ta("click",this.onClick);this.Ra()}; NU=function(a){AU.call(this,a);var b=this;this.events=new g.GK(a);g.L(this,this.events);UT(this.api,"updateFullerscreenEduButtonSubtleModeState",function(d){b.updateFullerscreenEduButtonSubtleModeState(d)}); UT(this.api,"updateFullerscreenEduButtonVisibility",function(d){b.updateFullerscreenEduButtonVisibility(d)}); var c=a.U();a.L("external_fullscreen_with_edu")&&c.externalFullscreen&&kS(c)&&"1"===c.controlsType&&this.events.T(a,"standardControlsInitialized",function(){b.j=new MU(a);g.L(b,b.j);a.Aq(b.j)})}; BTa=function(a){g.V.call(this,{I:"div",S:"ytp-gated-actions-overlay",V:[{I:"div",S:"ytp-gated-actions-overlay-background",V:[{I:"div",S:"ytp-gated-actions-overlay-background-overlay"}]},{I:"button",Ma:["ytp-gated-actions-overlay-miniplayer-close-button","ytp-button"],X:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.dG()]},{I:"div",S:"ytp-gated-actions-overlay-bar",V:[{I:"div",S:"ytp-gated-actions-overlay-text-container",V:[{I:"div",S:"ytp-gated-actions-overlay-title",xa:"{{title}}"}, {I:"div",S:"ytp-gated-actions-overlay-subtitle",xa:"{{subtitle}}"}]},{I:"div",S:"ytp-gated-actions-overlay-button-container"}]}]});var b=this;this.api=a;this.background=this.Ha("ytp-gated-actions-overlay-background");this.B=this.Ha("ytp-gated-actions-overlay-button-container");this.j=[];this.T(this.Ha("ytp-gated-actions-overlay-miniplayer-close-button"),"click",function(){b.api.Qa("onCloseMiniplayer")}); this.hide()}; DTa=function(a,b){var c=0,d={};for(c=0;c e&&(e=l.width,f="url("+l.url+")")}c.background.style.backgroundImage=f;DTa(c,d.actionButtons||[]);c.show()}else c.hide()}); g.oU(this.api,this.j.element,4)}; OU=function(a){AU.call(this,a);var b=this;WT(this.api,"getSphericalProperties",function(){return b.getSphericalProperties()}); WT(this.api,"setSphericalProperties",function(){b.setSphericalProperties.apply(b,g.qa(g.Ka.apply(0,arguments)))}); VT(this.api,"getSphericalProperties",function(){return 2===b.api.getPresentingPlayerType()?{}:b.getSphericalProperties()}); VT(this.api,"setSphericalProperties",function(){var c=g.Ka.apply(0,arguments);2!==b.api.getPresentingPlayerType()&&b.setSphericalProperties.apply(b,g.qa(c))})}; FTa=function(a){AU.call(this,a);UT(a,"createClientVe",this.createClientVe.bind(this));UT(a,"createServerVe",this.createServerVe.bind(this));UT(a,"destroyVe",this.destroyVe.bind(this));UT(a,"hasVe",this.hasVe.bind(this));UT(a,"logClick",this.logClick.bind(this));UT(a,"logVisibility",this.logVisibility.bind(this));UT(a,"setTrackingParams",this.setTrackingParams.bind(this))}; PU=function(a){AU.call(this,a);var b=this;this.events=new g.GK(a);g.L(this,this.events);UT(this.api,"seekToChapterWithAnimation",function(c){b.seekToChapterWithAnimation(c)}); UT(this.api,"seekToTimeWithAnimation",function(c,d){b.seekToTimeWithAnimation(c,d)}); UT(this.api,"setMacroMarkers",function(c){b.setMacroMarkers(a,c)})}; GTa=function(a,b,c){var d=1E3*a.api.getCurrentTime()=c.width||!c.height||0>=c.height||g.SJ(c.url)&&b.push({src:c.url||"",sizes:c.width+"x"+c.height,type:"image/jpeg"}));return b}; ITa=function(a){a=a.api.Qb();a=a.isCued()||a.isError()?"none":g.DL(a)?"playing":"paused";navigator.mediaSession.playbackState=a}; RU=function(a){AU.call(this,a);var b=this;this.B=new Map;this.C=this.j=void 0;this.compositeVideoState=null;this.events=new g.GK(a);g.L(this,this.events);this.events.T(a,"modulecreated",function(c){var d;a:{var e,f,h,l=null==(e=b.api.getVideoData())?void 0:null==(f=e.getPlayerResponse())?void 0:null==(h=f.overlay)?void 0:h.playerControlsOverlayRenderer;if(l&&(e=g.U(l.compositeVideoOverlay,NTa),null==e?0:null==(d=e.sources)?0:d.length))for(d=g.v(null==e?void 0:e.sources),e=d.next();!e.done;e=d.next())if(e= e.value,e.isActive){d=e;break a}d=void 0}"captions"===c&&void 0!==(null==d?void 0:d.topLeftCornerX)&&void 0!==(null==d?void 0:d.topLeftCornerY)&&void 0!==(null==d?void 0:d.width)&&void 0!==(null==d?void 0:d.height)&&b.api.WK({top:d.topLeftCornerY,right:1-d.topLeftCornerX-d.width,bottom:1-d.topLeftCornerY-d.height,left:d.topLeftCornerX})}); this.events.T(a,"videodatachange",function(c){var d=b.api.getVideoData();b.j=void 0;b.B.clear();b.api.jf("compositeembargo",1);var e=null==d?void 0:d.hL.get("PLAYER_CUE_RANGE_SET_IDENTIFIER_EMBARGO");(null==e?0:e.length)?OTa(b,e.filter(function(f){return PTa(b,f)})):(null==d?0:d.cueRanges)&&OTa(b,d.cueRanges.filter(function(f){return PTa(b,f)})); "dataupdated"===c&&(null==d?void 0:d.compositeLiveStatusToken)!==b.C&&(b.C=null==d?void 0:d.compositeLiveStatusToken,b.api.Co())}); this.events.T(a,g.WJ("compositeembargo"),function(c){var d;if((null==(d=b.j)?void 0:d.id)!==c.id&&(b.api.jo(!0),b.B.has(c.id))){var e=b.B.get(c.id);d=b.api.getVideoData();e=g.v(e);for(var f=e.next();!f.done;f=e.next()){var h=void 0;f=null==(h=f.value.compositeEmbargo)?void 0:h.embargoStatusToken;d.jw!==f&&(d.jw=f,b.api.Co());QTa(b,c)}}}); this.events.T(a,g.XJ("compositeembargo"),function(c){var d;if((null==(d=b.j)?void 0:d.id)===c.id&&(b.api.jo(!1),b.B.has(c.id))){if(c=b.api.getVideoData())c.jw=void 0;b.api.Co();QTa(b)}}); this.events.T(a,"heartbeatRequest",function(c){null!==b.compositeVideoState&&(c.playbackState||(c.playbackState={}),c.playbackState.compositeVideoState=b.compositeVideoState)}); this.events.T(a,"onPlaybackAudioChange",function(){b.api.Co()}); UT(a,"setCompositeParam",function(c){b.compositeVideoState=c})}; QTa=function(a,b){var c;(null==(c=a.j)?void 0:c.id)!==(null==b?void 0:b.id)&&(a.j&&(a.B.delete(a.j.id),a.api.Zp([a.j],1)),a.j=b)}; OTa=function(a,b){b=g.v(b);for(var c=b.next();!c.done;c=b.next()){var d=c.value,e=void 0;c=Number(null==(e=d.playbackRelativePosition)?void 0:e.utcTimeMs)/1E3;var f=void 0;e=c+Number(null==(f=d.duration)?void 0:f.seconds);f="composite_embargo_"+c;d.onEnter&&(d=d.onEnter.filter(a.D),d.length&&(a.B.set(f,d),a.api.addUtcCueRange(f,c,e,"compositeembargo",!1)))}}; PTa=function(a,b){var c;return null==(c=b.onEnter)?void 0:c.some(a.D)}; RTa=function(a){AU.call(this,a);UT(this.api,"queueOfflineAction",this.queueOfflineAction.bind(this));UT(this.api,"updateDownloadState",this.updateDownloadState.bind(this));UT(this.api,"pauseVideoDownload",this.pauseVideoDownload.bind(this));UT(this.api,"resumeVideoDownload",this.resumeVideoDownload.bind(this));UT(this.api,"isOrchestrationLeader",this.isOrchestrationLeader.bind(this));UT(this.api,"refreshAllStaleEntities",this.refreshAllStaleEntities.bind(this))}; SU=function(a){AU.call(this,a);var b=this;UT(a,"getAvailableQualityData",function(){return b.getAvailableQualityData()}); UT(a,"getAvailableQualityDataAndMessaging",function(){return b.getAvailableQualityDataAndMessaging()})}; STa=function(a,b,c){var d=[],e=b?156595:151874;a=g.v(a);for(var f=a.next();!f.done;f=a.next()){var h=f.value;f=h.video;h={formatId:h.id,qualityLabel:f.qualityLabel,quality:f.quality,isPlayable:b};if(f=c.get(f.qualityLabel))h.paygatedQualityDetails={paygatedIndicatorText:f.paygatedIndicatorText,endpoint:f.endpoint,veType:e,trackingParams:f.trackingParams};d.push(h)}return d}; TTa=function(a){for(var b=0,c=0;cf.start&&dG;G++)if(F=(F<<6)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".indexOf(x.charAt(G)),4==G%5){for(var H="",O=0;6>O;O++)H="0123456789ABCDEFGHJKMNPQRSTVWXYZ".charAt(F&31)+H,F>>=5;B+=H}x=B.substr(0,4)+ " "+B.substr(4,4)+" "+B.substr(8,4)}else x="";m={video_id_and_cpn:String(c.videoId)+" / "+x,codecs:"",dims_and_frames:"",bandwidth_kbps:m.toFixed(0)+" Kbps",buffer_health_seconds:p.toFixed(2)+" s",date:""+(new Date).toString(),drm_style:r?"":"display:none",drm:r,debug_info:d,extra_debug_info:"",bandwidth_style:u,network_activity_style:u,network_activity_bytes:n.toFixed(0)+" KB",shader_info:t,shader_info_style:t?"":"display:none",playback_categories:""};n=e.clientWidth+"x"+e.clientHeight+(1P)if(c.latencyClass&&"UNKNOWN"!==c.latencyClass)switch(c.latencyClass){case "NORMAL":a="Optimized for Normal Latency";break;case "LOW":a="Optimized for Low Latency";break;case "ULTRALOW":a="Optimized for Ultra Low Latency";break;default:a="Unknown Latency Setting"}else a=c.isLowLatencyLiveStream?"Optimized for Low Latency":"Optimized for Smooth Streaming";e+=a;(P= b.getPlaylistSequenceForTime(b.getCurrentTime()))&&(e+=", seq "+P.sequence);m.live_mode=e}b.isGapless()&&(m.playback_categories+="Gapless ");m.playback_categories_style=m.playback_categories?"":"display:none";m.bandwidth_samples=eV(l,"bandwidth");m.network_activity_samples=eV(l,"networkactivity");m.live_latency_samples=eV(l,"livelatency");m.buffer_health_samples=eV(l,"bufferhealth");b=g.NT(c);if(c.cotn||b)m.cotn_and_local_media=(c.cotn?c.cotn:"null")+" / "+b;m.cotn_and_local_media_style=m.cotn_and_local_media? "":"display:none";eT(c,"web_player_release_debug")?(m.release_name="youtube.player.web_20231119_00_RC00",m.release_style=""):m.release_style="display:none";m.debug_info&&0=m.debug_info.length+q.length?m.debug_info+=" "+q:m.extra_debug_info=q;m.extra_debug_info_style=m.extra_debug_info&&0>31));IO(a,16,b.J7);IO(a,17,b.detailedNetworkType);IO(a,18,b.Z4);IO(a,19,b.Y4);IO(a,21,b.Lba);IO(a,23,b.N4);IO(a,28,b.MQ);IO(a,29,b.bca);IO(a,34,b.visibility);c=b.playbackRate;if(void 0!==c){var d=new ArrayBuffer(4);(new Float32Array(d))[0]=c;c=(new Uint32Array(d))[0];if(void 0!==c)for(HO(a,285),GO(a,4),d=0;4>d;)a.view.setUint8(a.pos,c&255),c>>=8,a.pos+=1,d+=1}IO(a,36,b.B5); MO(a,38,b.mediaCapabilities,tUa,3);IO(a,39,b.aca);IO(a,40,b.Cv);IO(a,44,b.playerState);JO(a,46,b.y5);IO(a,48,b.nba);IO(a,50,b.ev);IO(a,51,b.qx);IO(a,54,b.aq);JO(a,56,b.j8);IO(a,57,b.e5);JO(a,58,b.Yn);IO(a,59,b.Ji);IO(a,60,b.Dw);JO(a,61,b.isPrefetch)}; vUa=function(a){return{EM:DO(a,2),videoId:BO(a,3),vS:yO(a,4)}}; xUa=function(a){return{cjb:EO(a,1,wUa)}}; wUa=function(a){return{conditions:DO(a,1),gjb:yO(a,2)}}; yUa=function(a){return{HI:DO(a,1)}}; tUa=function(a,b){var c;if(b.aL)for(c=0;c=a.length?0:b}; gVa=function(a){var b=a.index-1;return 0>b?a.length-1:b}; g.sV=function(a,b,c,d){b=void 0!==b?b:a.index;b=a.items&&b in a.items?a.items[a.order[b]]:null;var e=null;b&&(c&&(b.autoplay="1"),d&&(b.autonav="1"),e=new g.ZS(a.Ia,b),g.L(a,e),e.Pm=!0,e.startSeconds=a.startSeconds||e.clipStart||0,a.listId&&(e.playlistId=a.listId.toString()));return e}; hVa=function(a,b){if(b.video&&b.video.length){a.title=b.title||"";a.description=b.description;a.views=b.views;a.likes=b.likes;a.dislikes=b.dislikes;a.author=b.author||"";var c=b.loop;c&&(a.loop=c);c=g.sV(a);a.items=[];for(var d=g.v(b.video),e=d.next();!e.done;e=d.next())if(e=e.value)e.video_id=e.encrypted_id,a.items.push(e);a.length=a.items.length;(b=b.index)?a.index=b:a.findIndex(c);a.setShuffle(!1);a.loaded=!0;a.B++;a.j&&a.j()}}; kVa=function(a,b){var c,d,e,f,h,l,m;return g.I(function(n){if(1==n.j){c=g.$H();var p=a.U(),q={context:g.PT(a),playbackContext:{contentPlaybackContext:{ancestorOrigins:p.ancestorOrigins}}};if(p.L("embeds_web_enable_havs_getembeddedplayer")){var r=p.webPlayerContextConfig;if(null==r?0:r.encryptedHostFlags)q.playbackContext.contentPlaybackContext.encryptedHostFlags=r.encryptedHostFlags}p=p.embedConfig;r=b.docid||b.video_id||b.videoId||b.id;if(!r){r=b.raw_embedded_player_response;if(!r){var t=b.embedded_player_response; t&&(r=JSON.parse(t))}if(r){var u,x,B,F,G,H;r=(null==(H=g.U(null==(u=r)?void 0:null==(x=u.embedPreview)?void 0:null==(B=x.thumbnailPreviewRenderer)?void 0:null==(F=B.playButton)?void 0:null==(G=F.buttonRenderer)?void 0:G.navigationEndpoint,g.jT))?void 0:H.videoId)||null}else r=null}u=(u=r)?u:void 0;x=a.playlistId?a.playlistId:b.list;B=b.listType;if(x){var O;"user_uploads"===B?O={username:x}:O={playlistId:x};iVa(p,u,b,O);q.playlistRequest=O}else b.playlist?(O={templistVideoIds:b.playlist.toString().split(",")}, iVa(p,u,b,O),q.playlistRequest=O):u&&(O={videoId:u},p&&(O.serializedThirdPartyEmbedConfig=p),q.singleVideoRequest=O);d=q;e=g.dH(jVa);g.Ca(n,2);return g.y(n,g.SH(c,d,e),4)}if(2!=n.j)return f=n.B,h=a.U(),b.raw_embedded_player_response=f,h.Fa=Roa(b,g.VR(h)),h.C="EMBEDDED_PLAYER_MODE_PFL"===h.Fa,f&&(l=f,l.trackingParams&&rP(l.trackingParams)),n.return(new g.ZS(h,b));m=g.Ea(n);m instanceof Error||(m=Error("b259802748"));g.wF(m);return n.return(a)})}; iVa=function(a,b,c,d){c.index&&(d.playlistIndex=String(Number(c.index)+1));d.videoId=b?b:"";a&&(d.serializedThirdPartyEmbedConfig=a)}; g.uV=function(a,b){tV.get(a);tV.set(a,b)}; g.vV=function(a){g.PF.call(this);this.loaded=!1;this.player=a}; lVa=function(){this.B=[];this.j=[]}; g.wV=function(a,b){return b?a.j.concat(a.B):a.j}; g.xV=function(a,b){switch(b.kind){case "asr":mVa(b,a.B);break;default:mVa(b,a.j)}}; mVa=function(a,b){g.zb(b,function(c){return a.equals(c)})||b.push(a)}; g.yV=function(a){g.J.call(this);this.W=a;this.B=new lVa;this.D=[];this.N=[]}; g.zV=function(a,b,c){g.yV.call(this,a);this.audioTrack=c;this.j=null;this.C=!1;this.D=b.Cx;this.N=b.ZB;this.C=g.nT(b)}; nVa=function(){this.j=10;this.Zi=!1}; oVa=function(a,b){b=void 0===b?{}:b;var c=void 0===b.SD?!1:b.SD,d=new nVa;d.Zi=(void 0===b.hasSubfragmentedFmp4?!1:b.hasSubfragmentedFmp4)||c;d.j=g.pJ(a.experiments,"html5_streaming_xhr_time_based_consolidation_ms")||d.j;return d}; g.pVa=function(a){this.Ia=a;this.N=new nVa;this.Oo=this.No=!1;this.Ql=2;this.ma=20971520;this.Sa=8388608;this.Y=120;this.Fc=62914560;this.Qm=g.pJ(this.Ia.experiments,"html5_min_readbehind_secs");this.Ez=g.pJ(this.Ia.experiments,"html5_min_readbehind_cap_secs");this.Sm=this.Ia.L("html5_offline_reset_media_stream_on_unresumable_slices");this.Sb=NaN;this.Vo=this.fl=this.Ax=2;this.hj=1024*AV(this,"html5_request_size_min_kb",64);this.Fa=2097152;this.Cx=AV(this,"html5_bypass_contention_secs");this.Uo=1048576; this.Hm=!1;this.Ki=AV(this,"html5_repredict_interval_ms",1800);this.By=AV(this,"html5_head_miss_secs",5);this.Wz=AV(this,"html5_min_upgrade_health_secs",10);this.Ya=15;this.Qf=1;this.K=1.15;this.Z=1.05;this.xl=1;this.Vz=AV(this,"html5_min_seconds_between_format_selections",8);this.Ay=AV(this,"html5_max_buffer_health_for_downgrade_secs",15);this.Ol=AV(this,"html5_max_buffer_health_for_downgrade_prop",.5);this.Fu=AR;this.Vg=this.Db=!1;this.Gi=6;this.B=!1;this.xC=g.pJ(this.Ia.experiments,"html5_top_shelf_format_byterate_factor")|| 1.2;this.fd=g.pJ(this.Ia.experiments,"html5_min_startup_buffered_media_duration_secs");this.Po=g.pJ(this.Ia.experiments,"html5_post_interrupt_readahead");this.Ix=this.Ia.L("html5_disable_classic_alr");this.Ro=g.pJ(this.Ia.experiments,"html5_probe_primary_delay_base_ms")||5E3;this.mw=100;this.Uf=10;this.yA=6;this.Hp=AV(this,"html5_ssdai_failure_retry_limit",3);this.Fm=this.Ia.experiments.jb("html5_clone_original_for_fallback_location");this.Hi=AV(this,"html5_min_failures_to_delay_retry",1);this.RB= this.Ia.L("html5_apply_min_failures");this.Sf=!1;this.ob=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_target_buffer_health_secs");this.pj=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_timeout_secs");this.uC=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_min_buffer_health_secs");this.lj=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_min_buffer_health_secs_on_timeout");this.vC=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_min_load_speed");this.jw=g.pJ(this.Ia.experiments, "html5_subsegment_readahead_load_speed_check_interval");this.wC=g.pJ(this.Ia.experiments,"html5_subsegment_readahead_seek_latency_fudge");this.Ug=AV(this,"html5_hopeless_secs",15);this.Nl=1;this.hd=!1;this.ZB=this.Ia.L("html5_restrict_streaming_xhr_on_sqless_requests");this.Cy=g.pJ(this.Ia.experiments,"html5_max_headm_for_streaming_xhr");this.VF=this.Ia.L("html5_pipeline_manifestless_allow_nonstreaming");this.jG=this.Ia.L("html5_prefer_server_bwe3");this.wy=this.Ia.L("html5_last_slice_transition"); this.sC=this.Ia.L("html5_store_xhr_headers_readable");this.Yo=this.Qe=this.Pj=!1;this.Pl=g.pJ(this.Ia.experiments,"html5_max_drift_per_track_secs");this.Jo=this.Ia.L("html5_no_placeholder_rollbacks");this.tC=this.Ia.L("html5_subsegment_readahead_enable_mffa");this.He=this.Ia.L("html5_allow_video_keyframe_without_audio");this.gF=this.Ia.L("html5_enable_vp9_fairplay");this.Rm=!1;this.Ib=!0;this.ze=this.Ka=this.sb=!1;this.Kl=!0;this.Wo=!1;this.C="";this.Zx=1048576;this.ge=[];this.iy=this.Ia.L("html5_woffle_resume"); this.Yk=this.Ia.L("html5_abs_buffer_health");this.uy=this.Ia.L("html5_interruption_resets_seeked_time");this.My=g.pJ(this.Ia.experiments,"html5_max_live_dvr_window_plus_margin_secs")||46800;this.Ea=!1;this.Ll=this.Ia.L("html5_explicitly_dispose_xhr");this.So=!1;this.wl=!this.Ia.L("html5_encourage_array_coalescing");this.Al=!1;this.XB=this.Ia.L("html5_restart_on_unexpected_detach");this.Ji=0;this.Tf="";this.sy=this.Ia.L("html5_filter_non_efficient_formats_for_safari");this.Ia.L("html5_format_hybridization"); this.PB=this.Ia.L("html5_abort_before_separate_init");this.bC=Loa();this.cC=this.Ia.L("html5_serialize_server_stitched_ad_request");this.Ex=this.Ia.L("html5_skip_buffer_check_seek_to_head");this.jd=!1;this.Bx=this.Ia.L("html5_attach_po_token_to_bandaid");this.Om=g.pJ(this.Ia.experiments,"html5_max_redirect_response_length")||8192;this.jj=this.Ia.L("html5_rewrite_timestamps_for_webm");this.bb=this.Ia.L("html5_only_media_duration_for_discontinuities");this.WB=g.pJ(this.Ia.experiments,"html5_resource_bad_status_delay_scaling")|| 1;this.Ia.L("html5_onesie_live");this.yC=this.Ia.L("html5_onesie_premieres");this.gy=this.Ia.L("html5_drop_onesie_for_live_mode_mismatch");this.PA=g.pJ(this.Ia.experiments,"html5_onesie_live_ttl_secs")||8;this.Lo=g.pJ(this.Ia.experiments,"html5_attach_num_random_bytes_to_bandaid");this.cF=g.pJ(this.Ia.experiments,"html5_onesie_request_timeout_ms")||3E3;this.D=!1;this.Aa=this.Ia.L("html5_ssdai_use_post_for_media")&&this.Ia.L("gab_return_sabr_ssdai_config");this.xx=this.Ia.L("html5_use_post_for_media"); this.rb=this.Ia.L("html5_use_live_ump_heartbeat");this.Ud=this.Ia.L("html5_use_sps_ump_part");this.useUmp=this.Ia.L("html5_use_ump")||this.rb||this.Ud;this.Na=this.oa=!1;this.Qo=this.Ia.L("html5_prefer_drc");this.VB=this.Ia.L("html5_reset_primary_stats_on_redirector_failure");this.Ia.L("html5_remap_to_original_host_when_redirected");this.Lm=this.Rf=this.j=!1;this.Lb=this.Ia.L("html5_enable_sabr_format_selection");this.Fx=this.Ia.L("html5_iterative_seeking_buffered_time");this.bk=this.Ia.L("html5_use_network_error_code_enums"); this.Jx=this.Ia.L("html5_disable_overlapping_requests");this.qy=this.Ia.L("html5_fallback_to_cabr_on_net_bad_status");this.G=!1;this.Pf=this.Ia.L("html5_disable_bandwidth_cofactors_for_sabr");this.enableServerDrivenRequestCancellation=this.Ia.L("html5_enable_server_driven_request_cancellation");this.py=this.Ia.L("html5_enable_sabr_request_timing");this.ac=this.Ia.L("html5_enable_server_format_filter");this.ey=this.Ia.L("html5_drc_edit_sync_workaround");this.jy=this.Ia.L("html5_enable_lawnmower"); this.oy=this.Ia.L("html5_enable_lawnmower_messaging");this.Hx=this.Ia.Lc()?g.pJ(this.Ia.experiments,"html5_continuous_goodput_probe_interval_ms"):0;this.vy=g.pJ(this.Ia.experiments,"html5_jumbo_ull_nonstreaming_mffa_ms")||NaN;this.Ko=g.pJ(this.Ia.experiments,"html5_normal_latency_mffa_ms")||NaN;this.nA=g.pJ(this.Ia.experiments,"html5_mffa_ms_proxima_override")||this.Ko;this.aC=this.Ia.L("html5_retry_quota_exceeded_via_seek");this.Uw=this.Ia.L("html5_use_goodput_request_for_probing");this.zy=this.Ia.L("html5_live_defrag_only_h264_playbacks"); this.yy=this.Ia.L("html5_live_defrag_only_h264_formats");this.zC=this.Ia.L("html5_use_managed_media_source_buffering");this.kG=this.Ia.L("html5_record_now");this.Km=this.Ia.L("html5_consume_onesie_media_bytes_on_mismatch_for_sabr");this.Ie=!1;this.Mm=g.pJ(this.Ia.experiments,"html5_drm_byterate_soft_cap");this.Nm=g.pJ(this.Ia.experiments,"html5_drm_live_byterate_soft_cap");this.To=!1;this.Va=this.Ia.L("html5_use_sabr_error_http_response_code");this.AC=this.Ia.L("html5_use_target_duration");this.Ml= !1;this.Pw=this.Ia.L("html5_track_overshoot");this.gb=this.Ia.L("html5_sabr_report_request_cancellation_info");this.dC=this.Ia.L("html5_sabr_update_av1_hybrid_threshold");this.Ef=this.Mo=this.Mp=!1;this.mp=this.Ia.L("html5_spoof_4k");this.wx=this.ud=!1;this.Pm=AV(this,"html5_min_media_duration_for_cabr_slice");this.kz=this.wl?0:AV(this,"html5_min_media_duration_for_append_prop");this.UB=this.Ia.L("html5_remove_defrag_without_frame_level_streaming");this.hc=this.Ia.L("html5_log_audio_switching_latency"); this.Xo=!1;this.Gx=this.Ia.L("html5_consume_all_buffered_bytes_one_poll");this.Kx=this.Ia.L("html5_disable_urgent_adaptation");this.QB=this.Ia.L("html5_apply_constraints_in_client_for_sabr")}; qVa=function(a,b,c){c=void 0===c?!1:c;1080Math.random()){var B=new g.RC("Unable to load player module",b,document.location&&document.location.origin);g.wF(B)}Ef(e);r&&r(x)}; var t=m,u=t.onreadystatechange;t.onreadystatechange=function(x){switch(t.readyState){case "loaded":case "complete":Ef(f)}u&&u(x)}; l&&((h=a.J.U().cspNonce)&&m.setAttribute("nonce",h),g.Nn(m,g.fw(b)),h=g.Oe("HEAD")[0]||document.body,h.insertBefore(m,h.firstChild),a.addOnDisposeCallback(function(){m.parentNode&&m.parentNode.removeChild(m)}))}; WVa=function(a,b,c,d,e){g.PF.call(this);var f=this;this.target=a;this.VG=b;this.B=0;this.K=!1;this.D=new g.re(NaN,NaN);this.j=new g.GK(this);this.Aa=this.C=this.N=null;g.L(this,this.j);b=d||e?4E3:3E3;this.Y=new g.Bu(function(){MV(f,1,!1)},b,this); g.L(this,this.Y);this.ma=new g.Bu(function(){MV(f,2,!1)},b,this); g.L(this,this.ma);this.oa=new g.Bu(function(){MV(f,512,!1)},b,this); g.L(this,this.oa);this.Ea=3E3;d||(this.C=this.j.T(a,"mouseover",this.Bw),this.j.T(a,"mousemove",this.f3),this.j.T(a,"mouseleave",this.n8));Wr?this.j.T(a,"keypress",this.H7):this.j.T(a,"focusin",this.U5);this.G=this.j.T(a,"mousedown",this.PT);this.Z=this.j.T(a,"touchstart",this.QT,void 0,!0);MV(this,640,!0)}; XVa=function(a){MV(a,4,!1);a.N&&(a.j.Kc(a.N),a.N=null,a.C=a.j.T(a.target,"mouseover",a.Bw));a.C&&(a.j.Kc(a.C),a.C=a.j.T(a.target,"mouseover",a.Bw))}; MV=function(a,b,c){a.isDisposed();var d=!a.B;c?(a.B|=b,b&1&&a.Y.start(),b&2&&a.ma.start()):(a.B&=~b,b&1&&a.Y.stop(),b&2&&a.ma.stop(),b&512&&a.oa.stop());a.B&512&&!(a.B&128)&&g.Cu(a.oa,a.Ea);b=!a.B;d!==b&&a.ra("autohideupdate",b)}; g.OV=function(a){g.V.call(this,{I:"button",Ma:["ytp-large-play-button","ytp-button"],X:{"aria-label":"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c",title:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"},V:["{{largePlayButtonChildren}}"]});this.api=a;this.T(a,"videodatachange",this.Ra);this.T(a,"basechromeinitialized",this.rca);a=this.api.U();a.Z&&NV&&(this.Ta("click",this.I6,this),this.Ta("touchstart",this.Baa,this));g.aS(a)&&g.Ju(this.element,"ytp-large-play-button-red-bg");this.api.createClientVe(this.element, this,28572);this.Ra()}; g.PV=function(a){var b=a.U(),c=["ytp-cued-thumbnail-overlay"];b.N&&c.push("ytp-exp-contain-thumbnail");b.L("web_player_show_frame_zero_when_cued")&&c.push("ytp-exp-frame0");g.V.call(this,{I:"div",Ma:c,V:[{I:"div",S:"ytp-cued-thumbnail-overlay-image"}]});b=this.Ha("ytp-cued-thumbnail-overlay");c=new g.OV(a);g.L(this,c);c.Da(b);this.D=new g.GK(this);g.L(this,this.D);this.api=a;this.G=this.Ha("ytp-cued-thumbnail-overlay-image");this.C=c;this.B=new g.yG(this,250);g.L(this,this.B);this.j=new g.Bu(this.Ra, 0,this);g.L(this,this.j);this.Ra();this.T(a,"appresize",this.Hb);this.T(a,"presentingplayerstatechange",this.onStateChange);this.T(a,"ypcStateChanged",this.haa);YR(a.U())&&this.T(a,"videoplayerreset",this.Jw)}; YVa=function(a){if(!a.api.L("web_player_show_frame_zero_when_cued"))return!1;var b=a.api.getCurrentTime();a=a.api.Qb();a=g.FG(a,64)&&g.FG(a,1);return 0===b&&a}; g.QV=function(a){g.V.call(this,{I:"div",Ma:["ytp-error"],X:{role:"alert"},V:[{I:"div",S:"ytp-error-content",V:[{I:"div",S:"ytp-error-icon-container",V:[{I:"svg",X:{fill:"#fff",viewBox:"0 0 48 48"},V:[{I:"path",X:{d:"M0 0h48v48H0V0z",fill:"none"}},{I:"path",X:{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.7"}}]}]},{I:"div",S:"ytp-error-content-wrap", V:[{I:"div",S:"ytp-error-content-wrap-reason",xa:"{{content}}"},{I:"div",S:"ytp-error-content-wrap-subreason",xa:"{{subreason}}"}]}]}]});this.api=a;this.keys=[]}; g.RV=function(a){a=a.split(ZVa);for(var b=[],c=0;c1+b&&a.api.toggleFullscreen()}; gWa=function(a){a=dC()&&67<=Foa()&&!a.api.U().Z;return!g.cC("tizen")&&!TR&&!a&&!0}; YV=function(a,b){b=void 0===b?2:b;g.PF.call(this);this.api=a;this.j=null;this.Cd=new EC(this);g.L(this,this.Cd);this.B=zwa;this.Cd.T(this.api,"presentingplayerstatechange",this.Rd);this.j=this.Cd.T(this.api,"progresssync",this.Ec);this.Ao=b;1===this.Ao&&this.Ec()}; mWa=function(a){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-back-button"],V:[{I:"div",S:"ytp-arrow-back-icon",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 -12 36 36",width:"100%"},V:[{I:"path",X:{d:"M0 0h24v24H0z",fill:"none"}},{I:"path",zc:!0,X:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",fill:"#fff"}}]}]}]});this.J=a;g.WF(this,a.U().Nl);this.Ta("click",this.onClick)}; g.ZV=function(a){g.V.call(this,{I:"div",V:[{I:"div",S:"ytp-bezel-text-wrapper",V:[{I:"div",S:"ytp-bezel-text",xa:"{{title}}"}]},{I:"div",S:"ytp-bezel",X:{role:"status","aria-label":"{{label}}"},V:[{I:"div",S:"ytp-bezel-icon",xa:"{{icon}}"}]}]});this.J=a;this.B=new g.Bu(this.show,10,this);this.j=new g.Bu(this.hide,500,this);g.L(this,this.B);g.L(this,this.j);this.hide()}; aW=function(a,b,c){if(0>=b){c=Tva();b="\u0437\u0432\u0443\u043a \u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d";var d=0}else c=c?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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"}}]},d=Math.floor(b),b=d+"\u0433\u0440\u043e\u043c\u043a\u043e\u0441\u0442\u044c";$V(a,c,b,d+"%")}; nWa=function(a,b){b=b?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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"}}]}:Dva();var c=a.J.getPlaybackRate(),d=g.bK("\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(c)});$V(a,b,d,c+"x")}; oWa=function(a,b){b=b?"\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";$V(a,hTa(),b)}; $V=function(a,b,c,d){d=void 0===d?"":d;a.updateValue("label",void 0===c?"":c);a.updateValue("icon",b);g.Eu(a.j);a.B.start();a.updateValue("title",d);g.Nu(a.element,"ytp-bezel-text-hide",!d)}; pWa=function(a,b){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-cards-button"],X:{"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.VR(a.U()))},V:[{I:"span",S:"ytp-cards-button-icon-default",V:[{I:"div",S:"ytp-cards-button-icon",V:[a.U().L("player_new_info_card_format")?Fva():{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path", zc:!0,S:"ytp-svg-fill",X:{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",S:"ytp-cards-button-title",xa:"\u041e \u0432\u0438\u0434\u0435\u043e"}]},{I:"span",S:"ytp-cards-button-icon-shopping",V:[{I:"div",S:"ytp-cards-button-icon",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",S:"ytp-svg-shadow",X:{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",S:"ytp-svg-fill",X:{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",S:"ytp-svg-shadow-fill",X:{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", S:"ytp-cards-button-title",xa:"\u041f\u043e\u043a\u0443\u043f\u043a\u0438"}]}]});this.J=a;this.C=b;this.j=null;this.B=new g.yG(this,250,!0,100);g.L(this,this.B);g.Nu(this.C,"ytp-show-cards-title",g.VR(a.U()));this.hide();this.Ta("click",this.T8);this.Ta("mouseover",this.m9);this.CF(!0)}; qWa=function(a,b){g.V.call(this,{I:"div",S:"ytp-cards-teaser",V:[{I:"div",S:"ytp-cards-teaser-box"},{I:"div",S:"ytp-cards-teaser-text",V:a.U().L("player_new_info_card_format")?[{I:"button",S:"ytp-cards-teaser-info-icon",X:{"aria-label":"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438","aria-haspopup":"true"},V:[Fva()]},{I:"span",S:"ytp-cards-teaser-label",xa:"{{text}}"},{I:"button",S:"ytp-cards-teaser-close-button",X:{"aria-label":"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"}, V:[g.dG()]}]:[{I:"span",S:"ytp-cards-teaser-label",xa:"{{text}}"}]}]});var c=this;this.J=a;this.Wg=b;this.D=new g.yG(this,250,!1,250);this.j=null;this.N=new g.Bu(this.A9,300,this);this.K=new g.Bu(this.z9,2E3,this);this.G=[];this.B=null;this.Y=new g.Bu(function(){c.element.style.margin="0"},250); this.onClickCommand=this.C=null;g.L(this,this.D);g.L(this,this.N);g.L(this,this.K);g.L(this,this.Y);a.U().L("player_new_info_card_format")?(g.Ju(a.getRootNode(),"ytp-cards-teaser-dismissible"),this.T(this.Ha("ytp-cards-teaser-close-button"),"click",this.Rp),this.T(this.Ha("ytp-cards-teaser-info-icon"),"click",this.aS),this.T(this.Ha("ytp-cards-teaser-label"),"click",this.aS)):this.Ta("click",this.aS);this.T(b.element,"mouseover",this.ST);this.T(b.element,"mouseout",this.RT);this.T(a,"cardsteasershow", this.N$);this.T(a,"cardsteaserhide",this.Ob);this.T(a,"cardstatechange",this.o0);this.T(a,"presentingplayerstatechange",this.o0);this.T(a,"appresize",this.NL);this.T(a,"onShowControls",this.NL);this.T(a,"onHideControls",this.X4);this.Ta("mouseenter",this.l3)}; rWa=function(a){g.V.call(this,{I:"button",Ma:[bW.BUTTON,bW.TITLE_NOTIFICATIONS],X:{"aria-pressed":"{{pressed}}","aria-label":"{{label}}"},V:[{I:"div",S:bW.TITLE_NOTIFICATIONS_ON,X:{title:"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\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"}, V:[g.Jva()]},{I:"div",S:bW.TITLE_NOTIFICATIONS_OFF,X:{title:"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\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"}, V:[{I:"svg",X:{fill:"#fff",height:"24px",viewBox:"0 0 24 24",width:"24px"},V:[{I:"path",X:{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.api=a;this.j=!1;a.createClientVe(this.element,this,36927);this.Ta("click",this.onClick,this);this.updateValue("pressed",!1);this.updateValue("label","\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\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")}; sWa=function(a,b){a.j=b;a.element.classList.toggle(bW.NOTIFICATIONS_ENABLED,a.j);var c=a.api.getVideoData();c?(b=b?c.oL:c.nL)?(a=a.api.un())?RH(a,b):g.wF(Error("No innertube service available when updating notification preferences.")):g.wF(Error("No update preferences command available.")):g.wF(Error("No video data when updating notification preferences."))}; g.cW=function(a,b,c){var d=void 0===d?800:d;var e=void 0===e?600:e;a=tWa(a,b);if(a=g.On(a,"loginPopup","width="+d+",height="+e+",resizable=yes,scrollbars=yes"))qsa(function(){c()}),a.moveTo((screen.width-d)/2,(screen.height-e)/2)}; tWa=function(a,b){var c=document.location.protocol;return efa(c+"//"+a+"/signin?context=popup","feature",b,"next",c+"//"+location.hostname+"/post_login")}; g.dW=function(a,b,c,d,e,f,h,l,m,n,p,q){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;var r=p.U(),t=r.userDisplayName&&g.aS(r);g.V.call(this,{I:"div",Ma:["ytp-button","ytp-sb"],V:[{I:"div",S:"ytp-sb-subscribe",X:t?{title:g.bK("\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a $USER_NAME",{USER_NAME:r.userDisplayName}),"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b", "data-tooltip-image":GPa(r),"data-tooltip-opaque":String(g.VR(r)),tabindex:"0",role:"button"}:{"aria-label":"\u041f\u043e\u0434\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u0430\u043d\u0430\u043b"},V:[{I:"div",S:"ytp-sb-text",V:[{I:"div",S:"ytp-sb-icon"},a]},b?{I:"div",S:"ytp-sb-count",xa:b}:""]},{I:"div",S:"ytp-sb-unsubscribe",X:t?{title:g.bK("\u041f\u043e\u0434\u043f\u0438\u0441\u043a\u0430 \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0430 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0435 $USER_NAME", {USER_NAME:r.userDisplayName}),"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","data-tooltip-image":GPa(r),"data-tooltip-opaque":String(g.VR(r)),tabindex:"0",role:"button"}:{"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"},V:[{I:"div",S:"ytp-sb-text",V:[{I:"div",S:"ytp-sb-icon"},c]}, d?{I:"div",S:"ytp-sb-count",xa:d}:""]}],X:{"aria-live":"polite"}});var u=this;this.channelId=h;this.J=p;this.C=q;var x=this.Ha("ytp-sb-subscribe"),B=this.Ha("ytp-sb-unsubscribe");f&&g.Ju(this.element,"ytp-sb-classic");if(e){l?this.j():this.B();var F=function(){if(r.oa){var H=u.channelId;if(m||n){var O={c:H};var P;g.bI.isInitialized()&&(P=lLa(O));O=P||"";if(P=p.getVideoData())if(P=P.subscribeCommand){var Y=p.un();Y?(RH(Y,P,{botguardResponse:O,feature:m}),p.Qa("SUBSCRIBE",H)):g.wF(Error("No innertube service available when updating subscriptions."))}else g.wF(Error("No subscribe command in videoData.")); else g.wF(Error("No video data available when updating subscription."))}B.focus();B.removeAttribute("aria-hidden");x.setAttribute("aria-hidden","true")}else g.cW(g.hS(u.J.U()),"sb_button",u.D)},G=function(){var H=u.channelId; if(m||n){var O=p.getVideoData();RH(p.un(),O.unsubscribeCommand,{feature:m});p.Qa("UNSUBSCRIBE",H)}x.focus();x.removeAttribute("aria-hidden");B.setAttribute("aria-hidden","true")}; this.T(x,"click",F);this.T(B,"click",G);this.T(x,"keypress",function(H){13===H.keyCode&&F(H)}); this.T(B,"keypress",function(H){13===H.keyCode&&G(H)}); this.T(p,"SUBSCRIBE",this.j);this.T(p,"UNSUBSCRIBE",this.B);this.C&&t&&(KSa(p),cU(p,x,this),cU(p,B,this))}else g.Ju(x,"ytp-sb-disabled"),g.Ju(B,"ytp-sb-disabled")}; vWa=function(a){g.V.call(this,{I:"div",S:"ytp-title-channel",V:[{I:"div",S:"ytp-title-beacon"},{I:"a",S:"ytp-title-channel-logo",X:{href:"{{channelLink}}",target:a.U().Y,"aria-label":"{{channelLogoLabel}}"}},{I:"div",S:"ytp-title-expanded-overlay",X:{"aria-hidden":"{{flyoutUnfocusable}}"},V:[{I:"div",S:"ytp-title-expanded-heading",V:[{I:"div",S:"ytp-title-expanded-title",V:[{I:"a",xa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.U().Y,"aria-hidden":"{{shouldHideExpandedTitleForA11y}}", tabIndex:"{{channelTitleFocusable}}"}}]},{I:"div",S:"ytp-title-expanded-subtitle",xa:"{{expandedSubtitle}}",X:{"aria-hidden":"{{shouldHideExpandedSubtitleForA11y}}"}}]}]}]});var b=this;this.api=a;this.channel=this.Ha("ytp-title-channel");this.j=this.Ha("ytp-title-channel-logo");this.channelName=this.Ha("ytp-title-expanded-title");this.G=this.Ha("ytp-title-expanded-overlay");this.C=this.B=this.subscribeButton=null;this.D=!1;a.createClientVe(this.j,this,36925);a.createClientVe(this.channelName,this, 37220);g.VR(this.api.U())&&uWa(this);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&(this.T(this.channelName,"click",function(c){b.api.logClick(b.channelName);g.On(eW(b));c.preventDefault()}),this.T(this.j,"click",this.S8)); this.Ra()}; wWa=function(a){if(!a.api.U().hc){var b=a.api.getVideoData(),c=new g.dW("\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,b.Jl,b.subscribed,"channel_avatar",null,a.api,!0);a.api.createServerVe(c.element,a);var d;a.api.setTrackingParams(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.T(c.element,"click",function(){a.api.logClick(c.element)}); a.subscribeButton=c;g.L(a,a.subscribeButton);a.subscribeButton.Da(a.G);a.subscribeButton.hide();var e=new rWa(a.api);a.B=e;g.L(a,e);e.Da(a.G);e.hide();a.T(a.api,"SUBSCRIBE",function(){b.Ll&&(e.show(),a.api.logVisibility(e.element,!0))}); a.T(a.api,"UNSUBSCRIBE",function(){b.Ll&&(e.hide(),a.api.logVisibility(e.element,!1),sWa(e,!1))})}}; uWa=function(a){var b=a.api.U();wWa(a);a.updateValue("flyoutUnfocusable","true");a.updateValue("channelTitleFocusable","-1");a.updateValue("shouldHideExpandedTitleForA11y","true");a.updateValue("shouldHideExpandedSubtitleForA11y","true");b.B||b.rb?a.T(a.j,"click",function(c){a.api.L("web_player_ve_conversion_fixes_for_channel_info")||(xWa(a)&&(c.preventDefault(),a.isExpanded()?a.eH():a.BH()),a.api.logClick(a.j))}):(a.T(a.channel,"mouseenter",a.BH),a.T(a.channel,"mouseleave",a.eH),a.T(a.channel,"focusin", a.BH),a.T(a.channel,"focusout",function(c){a.channel.contains(c.relatedTarget)||a.eH()}),a.T(a.j,"click",function(){a.api.L("web_player_ve_conversion_fixes_for_channel_info")||a.api.logClick(a.j)})); a.C=new g.Bu(function(){a.isExpanded()&&(a.api.L("web_player_ve_conversion_fixes_for_channel_info")&&a.api.logVisibility(a.channelName,!1),a.subscribeButton&&(a.subscribeButton.hide(),a.api.logVisibility(a.subscribeButton.element,!1)),a.B&&(a.B.hide(),a.api.logVisibility(a.B.element,!1)),a.channel.classList.remove("ytp-title-expanded"),a.channel.classList.add("ytp-title-show-collapsed"))},500); g.L(a,a.C);a.T(a.channel,yWa,function(){zWa(a)}); a.T(a.api,"onHideControls",a.pR);a.T(a.api,"appresize",a.pR);a.T(a.api,"fullscreentoggled",a.pR)}; zWa=function(a){a.channel.classList.remove("ytp-title-show-collapsed");a.channel.classList.remove("ytp-title-show-expanded")}; xWa=function(a){var b=a.api.getPlayerSize();return g.VR(a.api.U())&&524<=b.width}; eW=function(a){var b=a.api.U(),c=a.api.getVideoData();c=g.tS(b)+c.hc;if(!g.VR(b))return c;b={};g.XT(a.api,"addEmbedsConversionTrackingParams",[b]);g.uP(b,"emb_ch_name_ex");return g.Ml(c,b)}; fW=function(a,b,c,d,e,f){var h={I:"div",S:"ytp-panel"};if(c){var l="ytp-panel-back-button";var m="ytp-panel-title";var n={I:"div",S:"ytp-panel-header",V:[{I:"div",Ma:["ytp-panel-back-button-container"],V:[{X:{"aria-label":"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u043c\u0435\u043d\u044e"},I:"button",Ma:["ytp-button",l]}]},{I:"span",Ma:[m],V:[c]}]};if(e){var p="ytp-panel-options";n.V.push({I:"button",Ma:["ytp-button", p],V:[d]})}h.V=[n]}d=!1;f&&(f={I:"div",S:"ytp-panel-footer",V:[f]},d=!0,h.V?h.V.push(f):h.V=[f]);g.XF.call(this,h);this.content=b;d&&h.V?b.Da(this.element,h.V.length-1):b.Da(this.element);this.eX=!1;this.dX=d;c&&(c=this.Ha(l),m=this.Ha(m),this.T(c,"click",this.FY),this.T(m,"click",this.FY),this.eX=!0,e&&(p=this.Ha(p),this.T(p,"click",e)));b.subscribe("size-change",this.KY,this);this.T(a,"fullscreentoggled",this.KY);this.J=a}; g.gW=function(a,b,c,d,e,f){b=void 0===b?null:b;var h={role:"menu"};b&&(h.id=b);b=new g.XF({I:"div",S:"ytp-panel-menu",X:h});fW.call(this,a,b,c,d,e,f);this.menuItems=b;this.items=[];g.L(this,this.menuItems)}; g.AWa=function(a){for(var b=g.v(a.items),c=b.next();!c.done;c=b.next())c.value.unsubscribe("size-change",a.kQ,a);a.items=[];g.of(a.menuItems.element);a.menuItems.ra("size-change")}; BWa=function(a,b){return b.priority-a.priority}; hW=function(a){var b=g.wU({"aria-haspopup":"true"});g.vU.call(this,b,a);this.Ta("keydown",this.j)}; iW=function(a,b){a.element.setAttribute("aria-haspopup",String(b))}; CWa=function(a,b){g.V.call(this,{I:"div",S:"ytp-user-info-panel",X:{"aria-label":"\u0421\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435"},V:a.U().oa&&!a.L("embeds_web_always_enable_signed_out_state")?[{I:"div",S:"ytp-user-info-panel-icon",xa:"{{icon}}"},{I:"div",S:"ytp-user-info-panel-content",V:[{I:"div",S:"ytp-user-info-panel-info",X:{tabIndex:"{{userInfoFocusable}}",role:"text"},xa:"{{watchingAsUsername}}"},{I:"div",S:"ytp-user-info-panel-info", X:{tabIndex:"{{userInfoFocusable2}}",role:"text"},xa:"{{watchingAsEmail}}"}]}]:[{I:"div",S:"ytp-user-info-panel-icon",xa:"{{icon}}"},{I:"div",S:"ytp-user-info-panel-content",V:[{I:"div",V:[{I:"text",X:{tabIndex:"{{userInfoFocusable}}"},xa:"\u0412\u044b \u0432\u044b\u0448\u043b\u0438 \u0438\u0437 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430"}]},{I:"div",S:"ytp-user-info-panel-login",V:[{I:"a",X:{tabIndex:"{{userInfoFocusable2}}",role:"button"},xa:a.U().hc?"":"\u0412\u043e\u0439\u0442\u0438 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442 YouTube"}]}]}]}); this.Wa=a;this.j=b;a.U().oa||a.U().hc||(a=this.Ha("ytp-user-info-panel-login"),this.T(a,"click",this.n3));this.closeButton=new g.V({I:"button",Ma:["ytp-collapse","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.fG()]});this.closeButton.Da(this.element);g.L(this,this.closeButton);this.T(window,"blur",this.hide);this.T(document,"click",this.m3);this.Ra()}; EWa=function(a,b,c){g.gW.call(this,a);this.Jb=b;this.Tc=c;this.getVideoUrl=new hW(6);this.zn=new hW(5);this.pn=new hW(4);this.lc=new hW(3);this.mF=new g.vU(g.wU({href:"{{href}}",target:this.J.U().Y},void 0,!0),2,"\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");this.showVideoInfo=new g.vU(g.wU(),1,"\u0421\u0442\u0430\u0442\u0438\u0441\u0442\u0438\u043a\u0430 \u0434\u043b\u044f \u0441\u0438\u0441\u0430\u0434\u043c\u0438\u043d\u043e\u0432"); this.bz=new g.XF({I:"div",Ma:["ytp-copytext","ytp-no-contextmenu"],X:{draggable:"false",tabindex:"1"},xa:"{{text}}"});this.CV=new fW(this.J,this.bz);this.aG=this.At=null;g.VR(this.J.U())&&(this.closeButton=new g.V({I:"button",Ma:["ytp-collapse","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.fG()]}),g.L(this,this.closeButton),this.closeButton.Da(this.element),this.closeButton.Ta("click",this.a5,this));g.VR(this.J.U())&&(this.El=new g.vU(g.wU(),8,"\u0410\u043a\u043a\u0430\u0443\u043d\u0442"), g.L(this,this.El),this.md(this.El,!0),this.El.Ta("click",this.A$,this),a.createClientVe(this.El.element,this.El,137682));this.J.U().Om&&(this.Zk=new CU("\u041f\u043e\u0432\u0442\u043e\u0440",7),g.L(this,this.Zk),this.md(this.Zk,!0),this.Zk.Ta("click",this.t9,this),a.createClientVe(this.Zk.element,this.Zk,28661));g.L(this,this.getVideoUrl);this.md(this.getVideoUrl,!0);this.getVideoUrl.Ta("click",this.k9,this);a.createClientVe(this.getVideoUrl.element,this.getVideoUrl,28659);g.L(this,this.zn);this.md(this.zn, !0);this.zn.Ta("click",this.l9,this);a.createClientVe(this.zn.element,this.zn,28660);g.L(this,this.pn);this.md(this.pn,!0);this.pn.Ta("click",this.j9,this);a.createClientVe(this.pn.element,this.pn,28658);g.L(this,this.lc);this.md(this.lc,!0);this.lc.Ta("click",this.i9,this);g.L(this,this.mF);this.md(this.mF,!0);this.mF.Ta("click",this.i$,this);g.L(this,this.showVideoInfo);this.md(this.showVideoInfo,!0);this.showVideoInfo.Ta("click",this.B$,this);g.L(this,this.bz);this.bz.Ta("click",this.Y8,this); g.L(this,this.CV);b=document.queryCommandSupported&&document.queryCommandSupported("copy");43<=Qaa("Chromium")&&(b=!0);40>=Qaa("Firefox")&&(b=!1);b&&(this.At=new g.V({I:"textarea",S:"ytp-html5-clipboard",X:{readonly:"",tabindex:"-1"}}),g.L(this,this.At),this.At.Da(this.element));var d;null==(d=this.El)||xU(d,Mva());var e;null==(e=this.Zk)||xU(e,{I:"svg",X:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{d:"M7 7H17V10L21 6L17 2V5H5V11H7V7ZM17 17H7V14L3 18L7 22V19H19V13H17V17Z", fill:"white"}}]});xU(this.lc,{I:"svg",X:{height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{"clip-rule":"evenodd",d:"M20 10V8H17.19C16.74 7.22 16.12 6.54 15.37 6.04L17 4.41L15.59 3L13.42 5.17C13.39 5.16 13.37 5.16 13.34 5.16C13.18 5.12 13.02 5.1 12.85 5.07C12.79 5.06 12.74 5.05 12.68 5.04C12.46 5.02 12.23 5 12 5C11.51 5 11.03 5.07 10.58 5.18L10.6 5.17L8.41 3L7 4.41L8.62 6.04H8.63C7.88 6.54 7.26 7.22 6.81 8H4V10H6.09C6.03 10.33 6 10.66 6 11V12H4V14H6V15C6 15.34 6.04 15.67 6.09 16H4V18H6.81C7.85 19.79 9.78 21 12 21C14.22 21 16.15 19.79 17.19 18H20V16H17.91C17.96 15.67 18 15.34 18 15V14H20V12H18V11C18 10.66 17.96 10.33 17.91 10H20ZM16 15C16 17.21 14.21 19 12 19C9.79 19 8 17.21 8 15V11C8 8.79 9.79 7 12 7C14.21 7 16 8.79 16 11V15ZM10 14H14V16H10V14ZM10 10H14V12H10V10Z", fill:"white","fill-rule":"evenodd"}}]});xU(this.mF,{I:"svg",X:{fill:"none",height:"24",viewBox:"0 0 24 24",width:"24"},V:[{I:"path",X:{"clip-rule":"evenodd",d:"M2 12C2 6.48 6.48 2 12 2C17.52 2 22 6.48 22 12C22 17.52 17.52 22 12 22C6.48 22 2 17.52 2 12ZM13 16V18H11V16H13ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM8 10C8 7.79 9.79 6 12 6C14.21 6 16 7.79 16 10C16 11.28 15.21 11.97 14.44 12.64C13.71 13.28 13 13.90 13 15H11C11 13.17 11.94 12.45 12.77 11.82C13.42 11.32 14 10.87 14 10C14 8.9 13.1 8 12 8C10.9 8 10 8.9 10 10H8Z", fill:"white","fill-rule":"evenodd"}}]});xU(this.showVideoInfo,Eva());this.T(a,"onLoopChange",this.onLoopChange);this.T(a,"videodatachange",this.onVideoDataChange);DWa(this);this.DF(this.J.getVideoData())}; kW=function(a,b){var c=!1;if(a.At){var d=a.At.element;d.value=b;d.select();try{c=document.execCommand("copy")}catch(e){}}c?a.Jb.Ob():(a.bz.Yd(b,"text"),g.jW(a.Jb,a.CV),jTa(a.bz.element),a.At&&(a.At=null,DWa(a)));return c}; DWa=function(a){var b=!!a.At;g.uU(a.lc,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");iW(a.lc,!b);g.uU(a.pn,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"); iW(a.pn,!b);g.uU(a.getVideoUrl,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");iW(a.getVideoUrl,!b);g.uU(a.zn,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"); iW(a.zn,!b);xU(a.pn,b?Bva():null);xU(a.getVideoUrl,b?eG():null);xU(a.zn,b?eG():null)}; FWa=function(a){return g.VR(a.J.U())?a.El:a.Zk}; g.lW=function(a,b){g.sU.call(this,a,{I:"div",Ma:["ytp-popup",b||""]},100,!0);this.j=[];this.K=this.G=null;this.maxHeight=this.maxWidth=0;this.size=new g.te(0,0);this.Ta("keydown",this.o3)}; GWa=function(a){var b=a.j[a.j.length-1];if(b){g.es(a.element,a.maxWidth||"100%",a.maxHeight||"100%");g.Vr(b.element,"width","");g.Vr(b.element,"height","");g.Vr(b.element,"maxWidth","100%");g.Vr(b.element,"maxHeight","100%");g.Vr(b.content.element,"height","");var c=g.fs(b.element);c.width+=1;c.height+=1;g.Vr(b.element,"width",c.width+"px");g.Vr(b.element,"height",c.height+"px");g.Vr(b.element,"maxWidth","");g.Vr(b.element,"maxHeight","");var d=0;b.eX&&(d=b.Ha("ytp-panel-header"),d=g.fs(d).height); var e=0;b.dX&&(e=b.Ha("ytp-panel-footer"),g.Vr(e,"width",c.width+"px"),e=g.fs(e).height);g.Vr(b.content.element,"height",c.height-d-e+"px");b.element instanceof HTMLElement&&(d=b.element,e=d.scrollWidth-d.clientWidth,0=a.j.length)){var b=a.j.pop(),c=a.j[0];a.j=[c];HWa(a,b,c,!0)}}; HWa=function(a,b,c,d){IWa(a);b&&(b.unsubscribe("size-change",a.JB,a),b.unsubscribe("back",a.yj,a));c.subscribe("size-change",a.JB,a);c.subscribe("back",a.yj,a);if(a.Cb){g.Ju(c.element,d?"ytp-panel-animate-back":"ytp-panel-animate-forward");c.Da(a.element);c.focus();a.element.scrollLeft=0;a.element.scrollTop=0;var e=a.size;GWa(a);g.es(a.element,e);a.G=new g.Bu(function(){JWa(a,b,c,d)},20,a); a.G.start()}else c.Da(a.element),b&&b.detach()}; JWa=function(a,b,c,d){a.G.dispose();a.G=null;g.Ju(a.element,"ytp-popup-animating");d?(g.Ju(b.element,"ytp-panel-animate-forward"),g.Lu(c.element,"ytp-panel-animate-back")):(g.Ju(b.element,"ytp-panel-animate-back"),g.Lu(c.element,"ytp-panel-animate-forward"));g.es(a.element,a.size);a.K=new g.Bu(function(){g.Lu(a.element,"ytp-popup-animating");b.detach();g.Mu(b.element,["ytp-panel-animate-back","ytp-panel-animate-forward"]);a.K.dispose();a.K=null},250,a); a.K.start()}; IWa=function(a){a.G&&g.Du(a.G);a.K&&g.Du(a.K)}; g.nW=function(a,b){g.lW.call(this,a);this.Tc=b;this.D=new g.GK(this);this.oa=new g.Bu(this.S$,1E3,this);this.Aa=this.C=null;g.L(this,this.D);g.L(this,this.oa);a.createClientVe(this.element,this,28656);g.Ju(this.element,"ytp-contextmenu");KWa(this);this.hide()}; KWa=function(a){g.GC(a.D);var b=a.J.U();"gvn"===b.playerStyle||b.B||b.rb||(b=a.J.kb(),a.D.T(b,"contextmenu",a.W8),a.D.T(b,"touchstart",a.r3,null,!0),a.D.T(b,"touchmove",a.lZ,null,!0),a.D.T(b,"touchend",a.lZ,null,!0))}; LWa=function(a){a.J.isFullscreen()?g.oU(a.J,a.element,10):a.Da(document.body)}; g.oW=function(a,b,c){c=void 0===c?240:c;g.V.call(this,{I:"button",Ma:["ytp-button","ytp-copylink-button"],X:{title:"{{title-attr}}","data-tooltip-opaque":String(g.VR(a.U()))},V:[{I:"div",S:"ytp-copylink-icon",xa:"{{icon}}"},{I:"div",S:"ytp-copylink-title",xa:"\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443",X:{"aria-hidden":"true"}}]});this.api=a;this.od=b;this.j=c;this.visible=!1;this.tooltip=this.od.Jd();b=a.U();this.tooltip.element.setAttribute("aria-live", "polite");g.Nu(this.element,"ytp-show-copylink-title",g.VR(b)&&!g.dS(b));a.createClientVe(this.element,this,86570);this.Ta("click",this.onClick);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.T(a,"appresize",this.Ra);this.Ra();this.addOnDisposeCallback(g.bU(this.tooltip,this.element))}; MWa=function(a){var b=a.api.U(),c=a.api.getVideoData(),d=a.api.kb().getPlayerSize().width,e=b.C;return!!c.videoId&&d>=a.j&&c.To&&!(c.Ld&&b.ma)&&!g.lU(a.api)&&!e}; NWa=function(a){a.updateValue("icon",xva());if(a.api.U().B)a.tooltip.GF(a.element,"\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430");else{a.updateValue("title-attr","\u0421\u0441\u044b\u043b\u043a\u0430 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432 \u0431\u0443\u0444\u0435\u0440 \u043e\u0431\u043c\u0435\u043d\u0430");a.tooltip.Hh();a.tooltip.GF(a.element); var b=a.Ta("mouseleave",function(){a.Kc(b);a.Ra();a.tooltip.gj()})}}; OWa=function(a,b){return g.I(function(c){if(1==c.j)return g.Ca(c,2),g.y(c,navigator.clipboard.writeText(b),4);if(2!=c.j)return c.return(!0);g.Ea(c);var d=c.return,e=!1,f=g.lf("TEXTAREA");f.value=b;f.setAttribute("readonly","");var h=a.api.getRootNode();h.appendChild(f);if(GD){var l=window.getSelection();l.removeAllRanges();var m=document.createRange();m.selectNodeContents(f);l.addRange(m);f.setSelectionRange(0,b.length)}else f.select();try{e=document.execCommand("copy")}catch(n){}h.removeChild(f); return d.call(c,e)})}; pW=function(a){g.V.call(this,{I:"div",S:"ytp-doubletap-ui-legacy",V:[{I:"div",S:"ytp-doubletap-fast-forward-ve"},{I:"div",S:"ytp-doubletap-rewind-ve"},{I:"div",S:"ytp-doubletap-static-circle",V:[{I:"div",S:"ytp-doubletap-ripple"}]},{I:"div",S:"ytp-doubletap-overlay-a11y"},{I:"div",S:"ytp-doubletap-seek-info-container",V:[{I:"div",S:"ytp-doubletap-arrows-container",V:[{I:"span",S:"ytp-doubletap-base-arrow"},{I:"span",S:"ytp-doubletap-base-arrow"},{I:"span",S:"ytp-doubletap-base-arrow"}]},{I:"div", S:"ytp-doubletap-tooltip",V:[{I:"div",S:"ytp-chapter-seek-text-legacy",xa:"{{seekText}}"},{I:"div",S:"ytp-doubletap-tooltip-label",xa:"{{seekTime}}"}]}]}]});this.J=a;this.D=new g.Bu(this.show,10,this);this.B=new g.Bu(this.hide,700,this);this.K=this.C=0;this.G=!1;this.j=this.Ha("ytp-doubletap-static-circle");g.L(this,this.D);g.L(this,this.B);this.hide();this.N=this.Ha("ytp-doubletap-fast-forward-ve");this.Y=this.Ha("ytp-doubletap-rewind-ve");this.J.createClientVe(this.N,this,28240);this.J.createClientVe(this.Y, this,28239);this.J.logVisibility(this.N,!0);this.J.logVisibility(this.Y,!0);this.G=a.L("web_show_cumulative_seek_time")}; qW=function(a,b,c){a.C=b===a.K?a.C+c:c;a.K=b;var d=a.J.kb().getPlayerSize();a.G?a.B.stop():g.Eu(a.B);a.D.start();a.element.setAttribute("data-side",-1===b?"back":"forward");g.Ju(a.element,"ytp-time-seeking");a.j.style.width="110px";a.j.style.height="110px";1===b?(a.j.style.right="",a.j.style.left=.8*d.width-30+"px"):-1===b&&(a.j.style.right="",a.j.style.left=.1*d.width-15+"px");a.j.style.top=.5*d.height+15+"px";PWa(a,a.G?a.C:c)}; QWa=function(a,b,c){g.Eu(a.B);a.D.start();switch(b){case -1:b="back";break;case 1:b="forward";break;default:b=""}a.element.setAttribute("data-side",b);a.j.style.width="0";a.j.style.height="0";g.Ju(a.element,"ytp-chapter-seek");a.updateValue("seekText",c);a.updateValue("seekTime","")}; PWa=function(a,b){b=g.bK("$TOTAL_SEEK_TIME \u0441\u0435\u043a.",{TOTAL_SEEK_TIME:b.toString()});a.updateValue("seekTime",b)}; tW=function(a,b,c){b=void 0===b?!0:b;c=void 0===c?!1:c;g.V.call(this,{I:"div",S:"ytp-suggested-action"});var d=this;this.J=a;this.bb=this.ma=this.Y=this.C=this.B=this.K=this.expanded=this.enabled=this.Ka=!1;this.Va=new g.Bu(function(){d.badge.element.style.width=""},200,this); this.Fa=new g.Bu(function(){rW(d);sW(d)},200,this); this.dismissButton=new g.V({I:"button",Ma:["ytp-suggested-action-badge-dismiss-button-icon","ytp-button"]});g.L(this,this.dismissButton);this.D=new g.V({I:"div",S:"ytp-suggested-action-badge-expanded-content-container",V:[{I:"label",S:"ytp-suggested-action-badge-title",xa:"{{badgeLabel}}"},this.dismissButton]});g.L(this,this.D);this.Ea=new g.V({I:"div",S:"ytp-suggested-action-badge-icon-container",V:[b?{I:"div",S:"ytp-suggested-action-badge-icon"}:""]});g.L(this,this.Ea);this.badge=new g.V({I:c?"div": "button",Ma:["ytp-button","ytp-suggested-action-badge","ytp-suggested-action-badge-with-controls"],V:[this.Ea,this.D]});g.L(this,this.badge);this.badge.Da(this.element);this.N=new g.yG(this.badge,250,!1,100);g.L(this,this.N);this.Sa=new g.yG(this.D,250,!1,100);g.L(this,this.Sa);this.Ya=new g.zu(this.Kba,null,this);g.L(this,this.Ya);this.Na=new g.zu(this.I5,null,this);g.L(this,this.Na);g.L(this,this.Va);g.L(this,this.Fa);this.J.createServerVe(this.badge.element,this.badge,!0);this.J.createServerVe(this.dismissButton.element, this.dismissButton,!0);this.T(this.J,"onHideControls",function(){d.qJ(!1)}); this.T(this.J,"onShowControls",function(){d.qJ(!0)}); this.T(this.badge.element,"click",this.nJ);this.T(this.dismissButton.element,"click",this.xE);this.T(this.J,"pageTransition",this.TT);this.T(this.J,"appresize",this.Im);this.T(this.J,"fullscreentoggled",this.h9);this.T(this.J,"cardstatechange",this.O8);this.T(this.J,"annotationvisibility",this.sca,this);this.T(this.J,"offlineslatestatechange",this.tca,this)}; rW=function(a){g.Nu(a.badge.element,"ytp-suggested-action-badge-with-controls",a.Y||!a.K)}; sW=function(a,b){var c=a.AK();a.expanded!==c&&(a.expanded=c,void 0===b||b?(a.Ya.stop(),a.Na.stop(),a.Va.stop(),a.Ya.start()):(g.WF(a.D,a.expanded),g.Nu(a.badge.element,"ytp-suggested-action-badge-expanded",a.expanded)),RWa(a))}; RWa=function(a){a.B&&a.J.logVisibility(a.badge.element,a.zB());a.C&&a.J.logVisibility(a.dismissButton.element,a.zB()&&a.AK())}; SWa=function(a){var b=a.text||"",c=g.Ye("ytp-suggested-action-badge-title",a.element);c&&g.zf(c,b);a.badge.element.setAttribute("aria-label",b);a.dismissButton.element.setAttribute("aria-label",a.ob?a.ob:"")}; uW=function(a,b){b?a.C&&a.J.logClick(a.dismissButton.element):a.B&&a.J.logClick(a.badge.element)}; TWa=function(a){tW.call(this,a,!1,!0);this.oa=[];this.rb=[];this.K=!0;this.badge.element.classList.add("ytp-featured-product");this.Aa=new g.V({I:"div",S:"ytp-featured-product-open-in-new"});g.L(this,this.Aa);this.countdownTimer=new g.V({I:"text",S:"ytp-featured-product-countdown",xa:"{{content}}"});this.countdownTimer.hide();g.L(this,this.countdownTimer);this.G=new g.V({I:"div",S:"ytp-featured-product-trending",V:[{I:"div",S:"ytp-featured-product-trending-icon"},{I:"text",S:"ytp-featured-product-trending-text", xa:"{{trendingOffer}}"}]});this.G.hide();g.L(this,this.G);this.infoButton=new g.V({I:"button",Ma:["ytp-featured-product-info-icon","ytp-button"]});this.infoButton.hide();g.L(this,this.infoButton);this.banner=new g.V({I:"a",S:"ytp-featured-product-container",V:[{I:"div",S:"ytp-featured-product-thumbnail",V:[{I:"img",X:{src:"{{thumbnail}}"}},this.Aa]},{I:"div",S:"ytp-featured-product-details",V:[{I:"text",S:"ytp-featured-product-title",xa:"{{title}}"},{I:"text",S:"ytp-featured-product-price",xa:"{{price}}"}, {I:"div",V:[{I:"text",S:"ytp-featured-product-vendor",xa:"{{vendor}}"},{I:"text",S:"ytp-featured-product-affiliate-disclaimer",xa:"{{affiliateDisclaimer}}"},this.countdownTimer,this.G]}]},this.infoButton,this.dismissButton]});g.L(this,this.banner);this.banner.Da(this.D.element);this.T(this.J,g.WJ("featured_product"),this.vba);this.T(this.J,g.XJ("featured_product"),this.gB);this.T(this.J,"videodatachange",this.onVideoDataChange);this.T(this.infoButton.element,"click",this.n9)}; UWa=function(a){var b,c,d,e,f,h;return a.G.Cb||(null==(b=a.j)?0:null==(c=b.bannerData)?0:null==(d=c.itemData)?0:d.affiliateDisclaimer)?null:null==(e=a.j)?void 0:null==(f=e.bannerData)?void 0:null==(h=f.itemData)?void 0:h.vendorName}; WWa=function(a,b){vW(a);if(b){var c=g.mT.getState().entities;c=RO(c,"featuredProductsEntity",b);if(null!=c&&c.productsData){b=[];c=g.v(c.productsData);for(var d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0;if(null!=(e=d)&&e.identifier&&d.featuredSegments){a.oa.push(d);var f=void 0;e=g.v(null==(f=d)?void 0:f.featuredSegments);for(f=e.next();!f.done;f=e.next()){var h=f.value;f=VWa(h.startTimeSec);void 0!==f&&(h=VWa(h.endTimeSec),b.push(new g.VJ(1E3*f,void 0===h?0x7ffffffffffff:1E3*h,{id:d.identifier, namespace:"featured_product"})))}}}a.J.uf(b)}}}; YWa=function(a){if(a.trendingOfferEntityKey){var b=g.mT.getState().entities;if(b=RO(b,"trendingOfferEntity",a.trendingOfferEntityKey)){var c,d,e;b.encodedSkuId!==(null==(c=a.j)?void 0:null==(d=c.bannerData)?void 0:null==(e=d.itemData)?void 0:e.encodedOfferSkuId)?XWa(a):(a.G.update({trendingOffer:b.shortLabel+" \u2022 "+b.countLabel}),a.G.show(),a.banner.update({vendor:UWa(a)}))}else XWa(a)}else XWa(a)}; XWa=function(a){a.G.hide();a.banner.update({vendor:UWa(a)})}; vW=function(a){a.oa=[];a.gB();a.J.jf("featured_product")}; ZWa=function(a){var b,c,d,e,f=null==(b=a.j)?void 0:null==(c=b.bannerData)?void 0:null==(d=c.itemData)?void 0:null==(e=d.hiddenProductOptions)?void 0:e.dropTimestampMs;b=(Number(f)-Date.now())/1E3;a.countdownTimer.Yd(QGa({seconds:b}));if(0a)))return a}; eXa=function(a,b,c){g.V.call(this,{I:"div",Ma:["ytp-info-panel-action-item"],V:[{I:"div",S:"ytp-info-panel-action-item-disclaimer",xa:"{{disclaimer}}"},{I:"a",Ma:["ytp-info-panel-action-item-button","ytp-button"],X:{role:"button",href:"{{url}}",target:"_blank",rel:"noopener"},V:[{I:"div",S:"ytp-info-panel-action-item-icon",xa:"{{icon}}"},{I:"div",S:"ytp-info-panel-action-item-label",xa:"{{label}}"}]}]});this.J=a;this.j=c;this.disclaimer=this.Ha("ytp-info-panel-action-item-disclaimer");this.button= this.Ha("ytp-info-panel-action-item-button");this.Fe=!1;this.J.createServerVe(this.element,this,!0);this.Ta("click",this.onClick);a="";c=g.U(null==b?void 0:b.onTap,LF);var d=g.U(c,g.lG);this.Fe=!1;d?(a=d.url||"",a.startsWith("//")&&(a="https:"+a),this.Fe=!0,g.Kn(this.button,g.Hn(a))):(d=g.U(c,aXa))&&!this.j?((a=d.phoneNumbers)&&0b);d=a.next())c++;return 0===c?c:c-1}; mXa=function(a,b){for(var c=0,d=g.v(a),e=d.next();!e.done;e=d.next()){e=e.value;if(b=e.timeRangeStartMillis&&b=a.C&&!b}; DXa=function(a,b){"InvalidStateError"!==b.name&&"AbortError"!==b.name&&("NotAllowedError"===b.name?(a.od.Rj(),tU(a.B,a.element,!1)):g.wF(b))}; g.IW=function(a,b){var c=SF(),d=a.U();c={I:"div",S:"ytp-share-panel",X:{id:SF(),role:"dialog","aria-labelledby":c},V:[{I:"div",S:"ytp-share-panel-inner-content",V:[{I:"div",S:"ytp-share-panel-title",X:{id:c},xa:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"},{I:"a",Ma:["ytp-share-panel-link","ytp-no-contextmenu"],X:{href:"{{link}}",target:d.Y,title:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0441\u044b\u043b\u043a\u043e\u0439","aria-label":"{{shareLinkWithUrl}}"}, xa:"{{linkText}}"},{I:"label",S:"ytp-share-panel-include-playlist",V:[{I:"input",S:"ytp-share-panel-include-playlist-checkbox",X:{type:"checkbox",checked:"true"}},"\u0412 \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u043f\u043b\u0435\u0439\u043b\u0438\u0441\u0442\u0430"]},{I:"div",S:"ytp-share-panel-loading-spinner",V:[iTa()]},{I:"div",S:"ytp-share-panel-service-buttons",xa:"{{buttons}}"},{I:"div",S:"ytp-share-panel-error",xa:"\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",Ma:["ytp-share-panel-close","ytp-button"],X:{title:"\u0417\u0430\u043a\u0440\u044b\u0442\u044c"},V:[g.dG()]}]};g.sU.call(this,a,c,250);var e=this;this.moreButton=null;this.api=a;this.tooltip=b.Jd();this.C=[];this.G=this.Ha("ytp-share-panel-inner-content");this.closeButton=this.Ha("ytp-share-panel-close");this.T(this.closeButton,"click",this.Ob);this.addOnDisposeCallback(g.bU(this.tooltip,this.closeButton));this.D=this.Ha("ytp-share-panel-include-playlist-checkbox");this.T(this.D,"click", this.Ra);this.j=this.Ha("ytp-share-panel-link");this.addOnDisposeCallback(g.bU(this.tooltip,this.j));this.api.createClientVe(this.j,this,164503);this.T(this.j,"click",function(f){f.preventDefault();e.api.logClick(e.j);var h=e.api.getVideoUrl(!0,!0,!1,!1);h=EXa(e,h);g.FU(h,e.api,f)&&e.api.Qa("SHARE_CLICKED")}); this.Ta("click",this.y3);this.T(a,"videoplayerreset",this.hide);this.T(a,"fullscreentoggled",this.onFullscreenToggled);this.T(a,"onLoopRangeChange",this.U7);this.hide()}; GXa=function(a,b){FXa(a);for(var c=b.links||b.shareTargets,d=0,e={},f=0;fd;e={Jt:e.Jt,Bl:e.Bl},f++){e.Jt=c[f];a:switch(e.Jt.img||e.Jt.iconId){case "facebook":var h={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z m -1.9,3.8 0,5.7 -3.8,0 c -1.04,0 -1.9,.84 -1.9,1.9 l 0,3.8 5.7,0 0,5.7 -5.7,0 0,13.3 -5.7,0 0,-13.3 -3.8,0 0,-5.7 3.8,0 0,-4.75 c 0,-3.67 2.97,-6.65 6.65,-6.65 l 4.75,0 z", fill:"#39579b"}}]};break a;case "twitter":h={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{d:"M 34.2,0 3.8,0 C 1.70,0 .01,1.70 .01,3.8 L 0,34.2 C 0,36.29 1.70,38 3.8,38 l 30.4,0 C 36.29,38 38,36.29 38,34.2 L 38,3.8 C 38,1.70 36.29,0 34.2,0 l 0,0 z M 29.84,13.92 C 29.72,22.70 24.12,28.71 15.74,29.08 12.28,29.24 9.78,28.12 7.6,26.75 c 2.55,.40 5.71,-0.60 7.41,-2.06 -2.50,-0.24 -3.98,-1.52 -4.68,-3.56 .72,.12 1.48,.09 2.17,-0.05 -2.26,-0.76 -3.86,-2.15 -3.95,-5.07 .63,.28 1.29,.56 2.17,.60 C 9.03,15.64 7.79,12.13 9.21,9.80 c 2.50,2.75 5.52,4.99 10.47,5.30 -1.24,-5.31 5.81,-8.19 8.74,-4.62 1.24,-0.23 2.26,-0.71 3.23,-1.22 -0.39,1.23 -1.17,2.09 -2.11,2.79 1.03,-0.14 1.95,-0.38 2.73,-0.77 -0.47,.99 -1.53,1.9 -2.45,2.66 l 0,0 z", fill:"#01abf0"}}]};break a;default:h=null}if(h){var l=e.Jt.sname||e.Jt.serviceName;e.Bl=new g.V({I:"a",Ma:["ytp-share-panel-service-button","ytp-button"],X:{href:e.Jt.url,target:"_blank",title:l},V:[h]});e.Bl.Ta("click",function(p){return function(q){if(g.PG(q)){var r=p.Jt.url;var t=void 0===t?{}:t;t.target=t.target||"YouTube";t.width=t.width||"600";t.height=t.height||"600";var u=t;u||(u={});t=window;var x=r instanceof g.Yd?r:g.ae("undefined"!=typeof r.href?r.href:String(r))||g.de;var B=void 0!== self.crossOriginIsolated,F="strict-origin-when-cross-origin";window.Request&&(F=(new Request("/")).referrerPolicy);var G="unsafe-url"===F;F=u.noreferrer;if(B&&F){if(G)throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");F=!1}r=u.target||r.target;B=[];for(var H in u)switch(H){case "width":case "height":case "top":case "left":B.push(H+"="+u[H]);break;case "target":case "noopener":case "noreferrer":break;default:B.push(H+"="+(u[H]? 1:0))}H=B.join(",");Jc()&&t.navigator&&t.navigator.standalone&&r&&"_self"!=r?(u=g.lf("A"),x=x instanceof g.Yd?x:Bba(x),u.href=g.Zd(x),u.target=r,F&&(u.rel="noreferrer"),x=document.createEvent("MouseEvent"),x.initMouseEvent("click",!0,!0,t,1),u.dispatchEvent(x),t={}):F?(t=Rba("",t,r,H),x=g.Zd(x),t&&(g.pS&&g.ic(x,";")&&(x="'"+x.replace(/'/g,"%27")+"'"),t.opener=null,""===x&&(x="javascript:''"),x=g.je(''), (u=t.document)&&u.write&&(u.write(g.ie(x)),u.close()))):((t=Rba(x,t,r,H))&&u.noopener&&(t.opener=null),t&&u.noreferrer&&(t.opener=null));t&&(t.opener||(t.opener=window),t.focus());q.preventDefault()}}}(e)); e.Bl.addOnDisposeCallback(g.bU(a.tooltip,e.Bl.element));"Facebook"===l?a.api.createClientVe(e.Bl.element,e.Bl,164504):"Twitter"===l&&a.api.createClientVe(e.Bl.element,e.Bl,164505);a.T(e.Bl.element,"click",function(p){return function(){a.api.logClick(p.Bl.element)}}(e)); a.api.logVisibility(e.Bl.element,!0);a.C.push(e.Bl);d++}}var m=b.more||b.moreLink,n=new g.V({I:"a",Ma:["ytp-share-panel-service-button","ytp-button"],V:[{I:"span",S:"ytp-share-panel-service-button-more",V:[{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 38 38",width:"100%"},V:[{I:"rect",X:{fill:"#fff",height:"34",width:"34",x:"2",y:"2"}},{I:"path",X:{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"}}]}]}],X:{href:m,target:"_blank",title:"\u0415\u0449\u0451"}});n.Ta("click",function(p){var q=m;a.api.logClick(a.moreButton.element);q=EXa(a,q);g.FU(q,a.api,p)&&a.api.Qa("SHARE_CLICKED")}); n.addOnDisposeCallback(g.bU(a.tooltip,n.element));a.api.createClientVe(n.element,n,164506);a.T(n.element,"click",function(){a.api.logClick(n.element)}); a.api.logVisibility(n.element,!0);a.C.push(n);a.moreButton=n;a.updateValue("buttons",a.C)}; EXa=function(a,b){var c={};g.VR(a.api.U())&&(g.XT(a.api,"addEmbedsConversionTrackingParams",[c]),b=g.Ml(b,g.uP(c,"emb_share")));return b}; FXa=function(a){for(var b=g.v(a.C),c=b.next();!c.done;c=b.next())c=c.value,c.detach(),g.sb(c);a.C=[]}; JW=function(a){return void 0===a||void 0===a.startSec||void 0===a.endSec?!1:!0}; HXa=function(a,b){a.startSec+=b;a.endSec+=b}; JXa=function(a){tW.call(this,a);this.G=this.j=this.isContentForward=this.Aa=!1;IXa(this);this.T(this.J,"changeProductsInVideoVisibility",this.Q9);this.T(this.J,"videodatachange",this.onVideoDataChange)}; KXa=function(a){a.oa&&a.Ea.element.removeChild(a.oa.element);a.oa=void 0}; MXa=function(a,b){return b.map(function(c){var d,e;if((c=null==(d=g.U(c,LXa))?void 0:null==(e=d.thumbnail)?void 0:e.thumbnails)&&0!==c.length)return c[0].url}).filter(function(c){return void 0!==c}).map(function(c){c=new g.V({I:"img", S:"ytp-suggested-action-product-thumbnail",X:{alt:"",src:c}});g.L(a,c);return c})}; NXa=function(a,b){a.isContentForward=b;g.Nu(a.badge.element,"ytp-suggested-action-badge-content-forward",b)}; KW=function(a){var b=a.isContentForward&&!a.AK();g.Nu(a.badge.element,"ytp-suggested-action-badge-preview-collapsed",b&&a.j);g.Nu(a.badge.element,"ytp-suggested-action-badge-preview-expanded",b&&a.G)}; LW=function(a,b,c){return new g.VJ(1E3*a,1E3*b,{priority:9,namespace:c})}; OXa=function(a){a.J.jf("shopping_overlay_visible");a.J.jf("shopping_overlay_preview_collapsed");a.J.jf("shopping_overlay_preview_expanded");a.J.jf("shopping_overlay_expanded")}; IXa=function(a){a.T(a.J,g.WJ("shopping_overlay_visible"),function(){a.wg(!0)}); a.T(a.J,g.XJ("shopping_overlay_visible"),function(){a.wg(!1)}); a.T(a.J,g.WJ("shopping_overlay_expanded"),function(){a.ma=!0;sW(a)}); a.T(a.J,g.XJ("shopping_overlay_expanded"),function(){a.ma=!1;sW(a)}); a.T(a.J,g.WJ("shopping_overlay_preview_collapsed"),function(){a.j=!0;KW(a)}); a.T(a.J,g.XJ("shopping_overlay_preview_collapsed"),function(){a.j=!1;KW(a)}); a.T(a.J,g.WJ("shopping_overlay_preview_expanded"),function(){a.G=!0;KW(a)}); a.T(a.J,g.XJ("shopping_overlay_preview_expanded"),function(){a.G=!1;KW(a)})}; QXa=function(a){g.V.call(this,{I:"div",S:"ytp-shorts-title-channel",V:[{I:"a",S:"ytp-shorts-title-channel-logo",X:{href:"{{channelLink}}",target:a.U().Y,"aria-label":"{{channelLogoLabel}}"}},{I:"div",S:"ytp-shorts-title-expanded-heading",V:[{I:"div",S:"ytp-shorts-title-expanded-title",V:[{I:"a",xa:"{{expandedTitle}}",X:{href:"{{channelTitleLink}}",target:a.U().Y,tabIndex:"0"}}]}]}]});var b=this;this.api=a;this.j=this.Ha("ytp-shorts-title-channel-logo");this.channelName=this.Ha("ytp-shorts-title-expanded-title"); this.subscribeButton=null;a.createClientVe(this.j,this,36925);this.T(this.j,"click",function(c){b.api.L("web_player_ve_conversion_fixes_for_channel_info")?(b.api.logClick(b.j),g.On(MW(b)),c.preventDefault()):b.api.logClick(b.j)}); a.createClientVe(this.channelName,this,37220);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.T(this.channelName,"click",function(c){b.api.logClick(b.channelName);g.On(MW(b));c.preventDefault()}); PXa(this);this.T(a,"videodatachange",this.Ra);this.T(a,"videoplayerreset",this.Ra);this.Ra()}; PXa=function(a){if(!a.api.U().hc){var b=a.api.getVideoData(),c=new g.dW("\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,b.Jl,b.subscribed,"channel_avatar",null,a.api,!0);a.api.createServerVe(c.element,a);var d;a.api.setTrackingParams(c.element,(null==(d=b.subscribeButtonRenderer)?void 0:d.trackingParams)||null);a.T(c.element,"click",function(){a.api.logClick(c.element)}); a.subscribeButton=c;g.L(a,a.subscribeButton);a.subscribeButton.Da(a.element)}}; MW=function(a){var b=a.api.U(),c=a.api.getVideoData();c=g.tS(b)+c.hc;if(!g.VR(b))return c;b={};g.XT(a.api,"addEmbedsConversionTrackingParams",[b]);g.uP(b,"emb_ch_name_ex");return g.Ml(c,b)}; NW=function(a){g.sU.call(this,a,{I:"button",Ma:["ytp-skip-intro-button","ytp-popup","ytp-button"],V:[{I:"div",S:"ytp-skip-intro-button-text",xa:"\u041f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0437\u0430\u0441\u0442\u0430\u0432\u043a\u0443"}]},100);var b=this;this.C=!1;this.j=new g.Bu(function(){b.hide()},5E3); this.Qe=this.Hi=NaN;g.L(this,this.j);this.K=function(){b.show()}; this.G=function(){b.hide()}; this.D=function(){var c=b.J.getCurrentTime();c>b.Hi/1E3&&c=f&&(p-=1/h);n-=2/h;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 "+r+"px/"+l+"px "+m+"px"}; SXa=function(a){return a.L("web_big_boards")?a.qg()?a.L("web_big_boards_enable_in_miniplayer"):a.isInline()?a.L("web_big_boards_enable_in_inline"):!0:!1}; g.TW=function(a,b){g.V.call(this,{I:"div",S:"ytp-storyboard-framepreview",V:[{I:"div",S:"ytp-storyboard-framepreview-timestamp",xa:"{{timestamp}}"},{I:"div",S:"ytp-storyboard-framepreview-img"}]});this.api=a;this.D=this.Ha("ytp-storyboard-framepreview-img");this.B=null;this.C=NaN;this.events=new g.GK(this);this.j=new g.yG(this,100);g.L(this,this.events);g.L(this,this.j);this.T(this.api,"presentingplayerstatechange",this.Rd);b&&this.T(this.element,"click",function(){b.xp()}); SXa(this.api)&&g.Ju(this.element,"ytp-storyboard-framepreview-big-boards")}; TXa=function(a,b){var c=!!a.B;a.B=b;a.B?(c||(a.events.T(a.api,"videodatachange",function(){TXa(a,a.api.Vj())}),a.events.T(a.api,"progresssync",a.Xe),a.events.T(a.api,"appresize",a.G)),a.C=NaN,UXa(a),a.j.show(200)):(c&&g.GC(a.events),a.j.hide(),a.j.stop())}; UXa=function(a){var b=a.B,c=a.api.getCurrentTime(),d=a.api.kb().getPlayerSize(),e=SS(b,d.width);e=PQa(b,e,c);a.update({timestamp:g.OG(c)});e!==a.C&&(a.C=e,NQa(b,e,d.width),b=LQa(b,e,d.width),RXa(a.D,b,d.width,d.height))}; g.UW=function(a,b){g.V.call(this,{I:"button",Ma:["ytp-fullscreen-button","ytp-button"],X:{title:"{{title}}","aria-keyshortcuts":"f","data-priority":"10","data-title-no-tooltip":"{{data-title-no-tooltip}}"},xa:"{{icon}}"});this.J=a;this.od=b;this.message=null;this.j=g.bU(this.od.Jd(),this.element);this.B=new g.Bu(this.T4,2E3,this);g.L(this,this.B);this.T(a,"fullscreentoggled",this.Bm);this.T(a,"presentingplayerstatechange",this.Ra);this.T(a,"resize",this.Ra);this.Ta("click",this.onClick);g.vC()&&(b= this.J.kb(),this.T(b,ipa(),this.aQ),this.T(b,hpa(document),this.yr));a.U().Lb||a.U().Z||this.disable();a.createClientVe(this.element,this,139117);this.Ra();this.Bm(a.isFullscreen())}; VW=function(a,b){g.V.call(this,{I:"button",Ma:["ytp-button","ytp-jump-button"],X:{title:"{{title}}","aria-keyshortcuts":"{{aria-keyshortcuts}}","data-title-no-tooltip":"{{data-title-no-tooltip}}"},V:[0=h)break}a.K=d;a.frameCount=b.MH();a.interval=b.j/1E3||a.api.getDuration()/a.frameCount}for(;a.thumbnails.length>a.K.length;)d= void 0,null==(d=a.thumbnails.pop())||d.dispose();for(;a.thumbnails.lengthc.length;)d=void 0,null==(d=a.D.pop())||d.dispose(); for(;a.D.length-c?-b/c*a.interval*.5:-(b+c/2)/c*a.interval}; lYa=function(a){return-((a.C.offsetWidth||(a.frameCount-1)*a.N*a.scale)-a.j/2)}; iYa=function(){g.V.call(this,{I:"div",S:"ytp-fine-scrubbing-thumbnail"})}; jYa=function(){g.V.call(this,{I:"div",S:"ytp-fine-scrubbing-chapter-title",V:[{I:"div",S:"ytp-fine-scrubbing-chapter-title-content",xa:"{{chapterTitle}}"}]})}; nYa=function(a){g.V.call(this,{I:"div",S:"ytp-heat-map-chapter",V:[{I:"svg",S:"ytp-heat-map-svg",X:{height:"100%",preserveAspectRatio:"none",version:"1.1",viewBox:"0 0 1000 100",width:"100%"},V:[{I:"defs",V:[{I:"clipPath",X:{id:"{{id}}"},V:[{I:"path",S:"ytp-heat-map-path",X:{d:"",fill:"white"}}]}]},{I:"rect",S:"ytp-heat-map-graph",X:{"clip-path":"url(#hm_1)",fill:"white","fill-opacity":"0.2",height:"100%",width:"100%",x:"0",y:"0"}},{I:"rect",S:"ytp-heat-map-hover",X:{"clip-path":"url(#hm_1)",fill:"white", height:"100%",x:"0",y:"0"}},{I:"rect",S:"ytp-heat-map-play",X:{"clip-path":"url(#hm_1)",height:"100%",x:"0",y:"0"}}]}]});this.api=a;this.K=this.Ha("ytp-heat-map-svg");this.C=this.Ha("ytp-heat-map-path");this.G=this.Ha("ytp-heat-map-graph");this.D=this.Ha("ytp-heat-map-play");this.B=this.Ha("ytp-heat-map-hover");this.Fe=!1;this.j=60;a=""+g.db(this);this.update({id:a});a="url(#"+a+")";this.G.setAttribute("clip-path",a);this.D.setAttribute("clip-path",a);this.B.setAttribute("clip-path",a);this.api.L("web_heat_map_v2")&& g.Ju(this.api.getRootNode(),"ytp-heat-map-v2")}; oYa=function(a,b){0=h&&x<=p&&f.push(r)}0l)a.j[c].width=n;else{a.j[c].width=0;var p=a,q=c,r=p.j[q-1];void 0!==r&&0a.rb&&(a.rb=m/f),d=!0)}c++}}return d}; hX=function(a){if(a.N){var b=a.api.getProgressState(),c=a.api.getVideoData();if(!(c&&c.enableServerStitchedDai&&c.enablePreroll)||isFinite(b.current)){var d;c=(null==(d=a.api.getVideoData())?0:OT(d))&&b.airingStart&&b.airingEnd?hZa(a,b.airingStart,b.airingEnd):hZa(a,b.seekableStart,b.seekableEnd);d=SG(c,b.loaded,0);b=SG(c,b.current,0);var e=a.C.B!==c.B||a.C.j!==c.j;a.C=c;iX(a,b,d);e&&iZa(a);jZa(a)}}}; hZa=function(a,b,c){return kZa(a)?new RG(Math.max(b,a.Eb.startTimeMs/1E3),Math.min(c,a.Eb.endTimeMs/1E3)):new RG(b,c)}; lZa=function(a,b){var c;if("repeatChapter"===(null==(c=a.Eb)?void 0:c.type)||"repeatChapter"===(null==b?void 0:b.type))b&&(b=a.j[xW(a.j,b.startTimeMs)],g.Nu(b.j,"ytp-repeating-chapter",!1)),a.Eb&&(b=a.j[xW(a.j,a.Eb.startTimeMs)],g.Nu(b.j,"ytp-repeating-chapter",!0)),a.j.forEach(function(d){g.Nu(d.j,"ytp-exp-chapter-hover-container",!a.Eb)})}; kX=function(a,b){var c=a.C;c=c.B+b.B*c.getLength();if(1=a.j.length?!1:4>Math.abs(b-a.j[c].startTime/1E3)/a.C.j*(a.N-(a.D?3:2)*a.Aa)}; iZa=function(a){a.Uf.style.removeProperty("height");for(var b=g.v(Object.keys(a.Ka)),c=b.next();!c.done;c=b.next())nZa(a,c.value);lX(a);iX(a,a.ma,a.ob)}; gX=function(a){var b=a.gb.x;b=g.le(b,0,a.N);a.Pf.update(b,a.N);return a.Pf}; nX=function(a){return(a.D?135:90)-mX(a)}; mX=function(a){var b=48,c=a.api.U();a.D?b=54:g.VR(c)&&!c.B&&(b=40);return b}; iX=function(a,b,c){a.ma=b;a.ob=c;var d=gX(a),e=a.C.j;var f=a.C;f=f.B+a.ma*f.getLength();var h=g.bK("$PLAY_PROGRESS (\u043e\u0431\u0449\u0430\u044f \u0434\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c $DURATION)",{PLAY_PROGRESS:g.OG(f,!0),DURATION:g.OG(e,!0)}),l=xW(a.j,1E3*f);l=a.j[l].title;a.update({ariamin:Math.floor(a.C.B),ariamax:Math.floor(e),arianow:Math.floor(f),arianowtext:l?l+" "+h:h});e=a.clipStart;f=a.clipEnd;a.Eb&&2!==a.api.getPresentingPlayerType()&&(e=a.Eb.startTimeMs/ 1E3,f=a.Eb.endTimeMs/1E3);e=SG(a.C,e,0);l=SG(a.C,f,1);h=a.api.getVideoData();f=g.le(b,e,l);c=(null==h?0:g.NT(h))?1:g.le(c,e,l);b=eZa(a,b,d);g.Vr(a.Vg,"transform","translateX("+b+"px)");oX(a,d,e,f,"PLAY_PROGRESS");(null==h?0:OT(h))?(b=a.api.getProgressState().seekableEnd)&&oX(a,d,f,SG(a.C,b),"LIVE_BUFFER"):oX(a,d,e,c,"LOAD_PROGRESS");if(a.api.L("web_player_heat_map_played_bar")){var m;null!=(m=a.G[0])&&m.D.setAttribute("width",(100*f).toFixed(2)+"%")}}; oX=function(a,b,c,d,e){var f=a.j.length,h=b.j-a.Aa*(a.D?3:2),l=c*h;c=jX(a,l);var m=d*h;h=jX(a,m);"HOVER_PROGRESS"===e&&(h=jX(a,b.j*d,!0),m=b.j*d-oZa(a,b.j*d)*(a.D?3:2));b=Math.max(l-pZa(a,c),0);for(d=c;d=a.j.length)return a.N;for(var c=0,d=0;de.width)b-=e.width;else break;d++}return d===a.j.length?d-1:d}; eZa=function(a,b,c){for(var d=b*a.C.j*1E3,e=-1,f=g.v(a.j),h=f.next();!h.done;h=f.next())h=h.value,d>h.startTime&&0e?0:e)+c.D}; oZa=function(a,b){for(var c=a.j.length,d=0,e=g.v(a.j),f=e.next();!f.done;f=e.next())if(f=f.value,0!==f.width)if(b>f.width)b-=f.width,b-=a.D?3:2,d++;else break;return d===c?c-1:d}; g.qX=function(a,b,c,d){var e=a.N!==c,f=a.D!==d;a.Sf=b;a.N=c;a.D=d;dX(a)&&null!=(b=a.B)&&(b.scale=d?1.5:1);iZa(a);1===a.j.length&&(a.j[0].width=c||0);e&&g.fX(a);a.B&&f&&dX(a)&&(a.B.isEnabled&&(c=a.D?135:90,d=c-mX(a),a.bb.style.height=c+"px",g.Vr(a.oa,"transform","translateY("+-d+"px)"),g.Vr(a.Oc,"transform","translateY("+-d+"px)")),kYa(a.B))}; lX=function(a){var b=!!a.Eb&&2!==a.api.getPresentingPlayerType(),c=a.clipStart,d=a.clipEnd,e=!0,f=!0;b&&a.Eb?(c=a.Eb.startTimeMs/1E3,d=a.Eb.endTimeMs/1E3):(e=c>a.C.B,f=0a.ma);g.Nu(a.Uf,"ytp-scrubber-button-hover",c===d&&1b||b===a.D)){a.D=b;b=a.N*a.scale;var c=a.Aa*a.scale,d=LQa(a.B,a.D,b);RXa(a.bg,d,b,c,!0);a.Fa.start()}}; i_a=function(a){var b=a.j;3===a.type&&a.Ka.stop();a.api.removeEventListener("appresize",a.Ea);a.ma||b.setAttribute("title",a.C);a.C="";a.j=null}; k_a=function(a){g.V.call(this,{I:"button",Ma:["ytp-watch-later-button","ytp-button"],X:{title:"{{title}}","data-tooltip-image":"{{image}}","data-tooltip-opaque":String(g.VR(a.U()))},V:[{I:"div",S:"ytp-watch-later-icon",xa:"{{icon}}"},{I:"div",S:"ytp-watch-later-title",xa:"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u043f\u043e\u0437\u0436\u0435"}]});this.J=a;this.icon=null;this.visible=this.isRequestPending=this.j=!1;KSa(a);a.createClientVe(this.element,this,28665);this.Ta("click",this.onClick, this);this.T(a,"videoplayerreset",this.Jw);this.T(a,"appresize",this.rC);this.T(a,"videodatachange",this.rC);this.T(a,"presentingplayerstatechange",this.rC);this.rC();a=this.J.U();var b=g.KC("yt-player-watch-later-pending");a.D&&b?(yLa(),j_a(this)):this.Ra(2);g.Nu(this.element,"ytp-show-watch-later-title",g.VR(a));cU(this.J,this.element,this)}; l_a=function(a){var b=a.J.getPlayerSize(),c=a.J.U(),d=a.J.getVideoData(),e=g.VR(c)&&g.kU(a.J)&&g.FG(a.J.Qb(),128),f=c.C;return c.Ud&&240<=b.width&&!d.isAd()&&d.Ud&&!e&&!(d.Ld&&c.ma)&&!g.lU(a.J)&&!f}; m_a=function(a,b){g.cW(g.hS(a.J.U()),"wl_button",function(){yLa({videoId:b});window.location.reload()})}; j_a=function(a){if(!a.isRequestPending){a.isRequestPending=!0;a.Ra(3);var b=a.J.getVideoData();b=a.j?b.removeFromWatchLaterCommand:b.addToWatchLaterCommand;var c=a.J.un(),d=a.j?function(){a.j=!1;a.isRequestPending=!1;a.Ra(2);a.J.U().K&&a.J.Qa("WATCH_LATER_VIDEO_REMOVED")}:function(){a.j=!0; a.isRequestPending=!1;a.Ra(1);a.J.U().B&&a.J.GF(a.element);a.J.U().K&&a.J.Qa("WATCH_LATER_VIDEO_ADDED")}; RH(c,b).then(d,function(){a.isRequestPending=!1;a.Ra(4,"\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.");a.J.U().K&&a.J.Qa("WATCH_LATER_ERROR","\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.")})}}; n_a=function(a,b){if(b!==a.icon){switch(b){case 3:var c=iTa();break;case 1:c=xva();break;case 2:c={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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:c={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path", zc:!0,X:{d:"M7,27.5h22L18,8.5L7,27.5z M19,24.5h-2v-2h2V24.5z M19,20.5h-2V16.5h2V20.5z",fill:"#fff"}}]}}a.updateValue("icon",c);a.icon=b}}; g.OX=function(){g.WV.apply(this,arguments);this.yI=(this.Vq=g.VR(this.api.U()))&&(this.api.U().B||lC()||jC());this.WM=48;this.XM=69;this.jp=this.jg=null;this.Rt=[];this.NK=this.Bh=this.OK=this.Av=this.Tc=null;this.TF=[];this.contextMenu=this.Kg=this.overflowButton=this.Rh=this.Wg=this.searchButton=this.Mi=this.shareButton=this.Eo=this.Tg=this.title=this.channelAvatar=this.backButton=this.TA=this.tooltip=null;this.FM=!1;this.ZE=this.Np=this.nD=this.oD=null;this.CQ=this.tP=this.hH=!1}; o_a=function(a){var b=a.api.U(),c=g.FG(a.api.Qb(),128);return b.D&&c&&!a.api.isFullscreen()}; p_a=function(a){if(a.Kf()&&!g.lU(a.api)&&a.Rh){var b=a.api.L("web_player_hide_overflow_button_if_empty_menu");!a.Eo||b&&!l_a(a.Eo)||sXa(a.Rh,a.Eo);!a.shareButton||b&&!CXa(a.shareButton)||sXa(a.Rh,a.shareButton);!a.Mi||b&&!MWa(a.Mi)||sXa(a.Rh,a.Mi)}else{if(a.Rh){b=a.Rh;for(var c=g.v(b.actionButtons),d=c.next();!d.done;d=c.next())d.value.detach();b.actionButtons=[]}a.searchButton&&!g.yf(a.Tg.element,a.searchButton.element)&&a.searchButton.Da(a.Tg.element);a.Eo&&!g.yf(a.Tg.element,a.Eo.element)&&a.Eo.Da(a.Tg.element); a.shareButton&&!g.yf(a.Tg.element,a.shareButton.element)&&a.shareButton.Da(a.Tg.element);a.Mi&&!g.yf(a.Tg.element,a.Mi.element)&&a.Mi.Da(a.Tg.element)}}; q_a=function(a,b,c){b=c?b.lastElementChild:b.firstElementChild;for(var d=null;b;){if("none"!==Yr(b,"display")&&"true"!==b.getAttribute("aria-hidden")){var e=void 0;0<=b.tabIndex?e=b:e=q_a(a,b,c);e&&(d?c?e.tabIndex>d.tabIndex&&(d=e):e.tabIndexc.pB||0>c.ju||0>f||0>d||0>c.Ir||0>h)return YX(a,b),[];a=DQ(c.pB,c.Ir);b=c.MP||0;return[new FQ(3,e,a,"makeSliceInfosMediaBytes",c.ju-1,d/h,f/h,b, a.length-b,void 0,c.Bj,c.clipId)]}return 0>c.ju?(YX(a,b),[]):(null==(h=a.manifest)?0:h.Ac)?(a=e.Dj,[new FQ(3,e,void 0,"makeSliceInfosMediaBytes",c.ju,void 0,a,void 0,a*e.info.Sb,!0,c.Bj,c.clipId)]):[]}; O_a=function(a,b,c){a.manifest=b;a.Ph=c;b=g.v(a.pd);for(c=b.next();!c.done;c=b.next()){var d=g.v(c.value);c=d.next().value;d=d.next().value;for(var e=g.v(d.g_),f=e.next();!f.done;f=e.next()){f=f.value;var h=N_a(a,c,f);M_a(a,f.Jp,d,h)}}}; Q_a=function(a,b,c,d){a.logger.debug(function(){return"[addStreamData] formatId: "+c+", bytes: "+d.getLength()}); (a=a.pd.get(c))&&!a.fh&&(P_a&&(a.zw.has(b)||a.zw.set(b,{data:new jO,JM:0,BI:!1}),kO(a.zw.get(b).data,d)),kO(a.Nf,d),a.bytesReceived+=d.getLength(),a.WQ=!0)}; F_a=function(a,b){a.logger.debug(function(){return"[closeStream] formatId: "+b}); var c=a.pd.get(b);c&&!c.fh&&(c.fh=!0,c.Xe&&c.Xe(),R_a(a)&&a.C.DY())}; R_a=function(a){a=g.v(a.pd.values());for(var b=a.next();!b.done;b=a.next())if(!b.value.fh)return!1;return!0}; $X=function(a,b){var c,d;null==(c=window.h5vcc)||null==(d=c.settings)||d.set(a,b)}; S_a=function(){var a=window.H5vccPlatformService,b="";if(a&&a.has("dev.cobalt.coat.clientloginfo")&&(a=a.open("dev.cobalt.coat.clientloginfo",function(){}))){var c=a.send(new ArrayBuffer(0)); c&&(b=String.fromCharCode.apply(String,g.qa(new Uint8Array(c))));a.close()}return b}; T_a=function(){for(var a=aY.length;4>a;a++){var b=g.lf("VIDEO");b.load();aY.push(new g.bV(b))}}; U_a=function(a,b,c,d){var e=c.getVideoData(),f=b.getVideoData();if(c.getPlayerState().isError())return{msg:"player-error"};c=f.C;if(b.Oi()>d/1E3+1)return{msg:"in-the-past"};if(f.isLivePlayback&&!isFinite(d))return{msg:"live-infinite"};(b=b.lf())&&b.isView()&&(b=b.mediaElement);if(b&&12m&&(f=m-200,a.N=!0);h&&l.getCurrentTime()>=f/1E3?a.K():(a.B=l,h&&(h=f,f=a.B,a.app.Wa.addEventListener(g.WJ("vqueued"),a.K),h=isFinite(h)||h/1E3>f.getDuration()?h:0x8000000000000,a.G=new g.VJ(h,0x8000000000000,{namespace:"vqueued"}),f.addCueRange(a.G)));h=d/=1E3;f=b.getVideoData().j;d&&f&&a.B&&(l=d,m=0, b.getVideoData().isLivePlayback&&(h=Math.min(c/1E3,fY(a.B,!0)),m=Math.max(0,h-a.B.getCurrentTime()),l=Math.min(d,fY(b)+m)),h=qOa(f,l)||d,h!==d&&a.j.va("qvaln",{st:d,at:h,rm:m,ct:l}));b=h;d=a.j;d.getVideoData().Ki=!0;d.getVideoData().Y=!0;g.iY(d,!0);f={};a.B&&(f=g.rN(a.B.uc().provider),h=a.B.getVideoData().clientPlaybackNonce,f={crt:(1E3*f).toFixed(),cpn:h});d.va("queued",f);0!==b&&d.seekTo(b+.01,{Uv:!0,fS:3,xd:"videoqueuer_queued"});a.C=new X_a(a.Z,a.app.Bd(),a.j,c,a.app,e);c=a.C;Infinity!==c.status.status&& (eY(c,1),c.j.subscribe("internalvideodatachange",c.Vu,c),c.B.subscribe("internalvideodatachange",c.Vu,c),c.j.subscribe("mediasourceattached",c.Vu,c),c.B.subscribe("statechange",c.Rd,c),c.j.subscribe("newelementrequired",c.VY,c),c.Vu());return a.D}; g0a=function(a){var b,c,d,e;g.I(function(f){switch(f.j){case 1:if(a.isDisposed()||!a.D||!a.j)return f.return();a.N&&jY(a.app.Bd(),!0,!1);b=null;if(!a.C){f.La(2);break}g.Ca(f,3);return g.y(f,b0a(a.C),5);case 5:g.Da(f,2);break;case 3:b=c=g.Ea(f);case 2:if(!a.j)return f.return();g.dY.Am("vqsp",function(){kY(a.app,a.j)}); g.dY.Am("vqpv",function(){a.app.playVideo()}); b&&(a.j?i0a(a.j,b.message):null==(d=a.B)||d.va("gapsp",{}));e=a.D;hY(a);e&&e.resolve();return f.return(Promise.resolve())}})}; hY=function(a){if(a.B){if(a.G){var b=a.B;a.app.Wa.removeEventListener(g.WJ("vqueued"),a.K);b.removeCueRange(a.G)}a.B=null;a.G=null}a.C&&(6!==a.C.status.status&&(b=a.C,Infinity!==b.status.status&&1!==b.G&&b.Jg("Canceled")),a.C=null);a.D=null;a.j&&a.j!==g.$T(a.app,1)&&a.j!==a.app.Bd()&&a.j.dispose();a.j=null;a.N=!1}; j0a=function(a){var b;return(null==(b=a.C)?void 0:b.currentVideoDuration)||-1}; k0a=function(a,b,c){if(a.gw())return"qine";if(null==a.j||a.j.isDisposed()||null==a.j.getVideoData())return"qpd";if(b.videoId!==a.j.Ve())return"vinm";if(0>=j0a(a))return"ivd";if(1!==c)return"upt";var d;null==(d=a.C)?a=void 0:5!==d.getStatus().status?a="niss":null!=U_a(d.policy,d.j,d.B,d.Gm)?a="pge":(c=e0a(d),b=c.KR,a=g.pJ(d.Pd.U().experiments,"html5_shorts_gapless_next_buffer_in_seconds"),d=d.K+a,c=eL(c.t_.wf(),d),b=eL(b.wf(),d),a=!(0c)){b=new lY(a.W,b,c,a.j,d);d=g.v(d);for(c=d.next();!c.done;c=d.next()){c=c.value;var e=c.im();e&&e!==a.j.im()&&a.B.set(e,[c])}a.j.j.set(b.Jh(),b)}}; mY=function(a,b){return a.B.get(b)}; t0a=function(a,b,c,d,e,f){return new s0a(c,c+(d||0),!d,b,a,e,f)}; s0a=function(a,b,c,d,e,f,h){g.J.call(this);this.Cc=a;this.B=b;this.C=c;this.type=d;this.D=e;this.videoData=f;this.TI=h;this.j=new Map;KRa(f)}; u0a=function(a){this.end=this.start=a}; g.oY=function(a,b,c){g.J.call(this);var d=this;this.api=a;this.W=b;this.qa=c;this.Na=new Map;this.bb=new Map;this.Sa=new Map;this.G=new Map;this.C=[];this.ma=[];this.B=new Map;this.fd=new Map;this.oa=new Map;this.Fc=NaN;this.Db=this.rb=this.hc=null;this.ac=new g.Bu(function(){v0a(d,d.Fc,d.hc||void 0)}); this.events=new g.GK(this);this.Lb=g.pJ(this.W.experiments,"web_player_ss_dai_ad_fetching_timeout_ms")||1E4;this.Y=new g.Bu(function(){d.Fa=!0;var e=d.qa,f=d.Lb;e.va("sdai",{aftimeout:f});e.oe(new DK("ad.fetchtimeout",{timeout:f}));w0a(d);d.ND(!1)},this.Lb); this.Fa=!1;this.N=new Map;this.Ib=[];this.Ea=null;this.Qe=new Set;this.Ka=[];this.hd=[];this.ze=[];this.ud=[];this.j=void 0;this.ob=0;this.gb=!0;this.Z=!1;this.Va=[];this.ge=new Set;this.Ie=new Set;this.He=new Set;this.D=0;this.Aa=null;this.sb=new Set;this.Ud=0;this.qp=this.jd=!1;this.K="";this.Gd={Mhb:function(){return d.G}, Thb:function(){return d.C}, Nhb:function(){return d.B}}; this.qa.getPlayerType();x0a(this.qa,this);this.Ya=this.W.Lc();g.L(this,this.ac);g.L(this,this.events);g.L(this,this.Y);nY(this)||(this.events.T(this.api,g.WJ("serverstitchedcuerange"),this.onCueRangeEnter),this.events.T(this.api,g.XJ("serverstitchedcuerange"),this.onCueRangeExit))}; B0a=function(a,b,c,d,e,f,h,l){var m=y0a(a,f,f+e);a.Fa&&a.qa.va("sdai",{adaftto:1});a.qp&&a.qa.va("sdai",{adfbk:1,enter:f,len:e,aid:l});var n=a.qa;h=void 0===h?f+e:h;f===h&&!e&&a.W.L("html5_allow_zero_duration_ads_on_timeline")&&a.qa.va("sdai",{attl0d:1});f>h&&pY(a,{reason:"enterTime_greater_than_return",Cc:f,Sd:h});var p=1E3*n.Id();fn&&pY(a,{reason:"parent_return_greater_than_content_duration",Sd:h,mjb:n}); n=null;p=g.Vb(a.ma,{Sd:f},function(q,r){return q.Sd-r.Sd}); 0<=p&&(n=a.ma[p],n.Sd>f&&z0a(a,b.video_id||"",f,h,n));if(m&&n)for(p=0;pd?-1*(d+2):d;return 0<=d&&(a=a.ma[d],a.Sd>=c)?{Ym:a,zA:b}:{Ym:void 0,zA:b}}; uY=function(a,b){var c="";nY(a)?(c=b/1E3-a.Bp(),c=a.qa.Bz(c)):(b=F0a(a,b))&&(c=b.getId());return c?a.B.get(c):void 0}; F0a=function(a,b){a=g.v(a.G.values());for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.start<=b&&c.end>=b)return c}; v0a=function(a,b,c){var d=a.Db||a.api.Bd().getPlayerState();wY(a,!0);a.qa.seekTo(b,c);a=a.api.Bd();b=a.getPlayerState();g.DL(d)&&!g.DL(b)?a.playVideo():d.isPaused()&&!b.isPaused()&&a.pauseVideo()}; wY=function(a,b){a.Fc=NaN;a.hc=null;a.ac.stop();a.rb&&b&&G0a(a.rb);a.Db=null;a.rb=null}; H0a=function(a){var b=void 0===b?-1:b;var c=void 0===c?Infinity:c;for(var d=[],e=g.v(a.ma),f=e.next();!f.done;f=e.next())f=f.value,(f.Ccc)&&d.push(f);a.ma=d;d=g.v(a.G.values());for(e=d.next();!e.done;e=d.next())e=e.value,e.start>=b&&e.end<=c&&(a.qa.removeCueRange(e),a.G.delete(e.getId()),a.qa.va("sdai",{rmAdCR:1}));d=vY(a,b/1E3);b=d.Ym;d=d.zA;if(b&&(d=1E3*d-b.Cc,e=b.Cc+d,b.durationMs=d,b.Sd=e,d=a.G.get(b.cpn))){e=g.v(a.C);for(f=e.next();!f.done;f=e.next())f=f.value,f.start===d.end?f.start= b.Cc+b.durationMs:f.end===d.start&&(f.end=b.Cc);d.start=b.Cc;d.end=b.Cc+b.durationMs}if(b=vY(a,c/1E3).Ym){var h;d="playback_timelinePlaybackId_"+b.Xc+"_video_id_"+(null==(h=b.videoData)?void 0:h.videoId)+"_durationMs_"+b.durationMs+"_enterTimeMs_"+b.Cc+"_parentReturnTimeMs_"+b.Sd;a.oE("Invalid_clearEndTimeMs_"+c+"_that_falls_during_"+d+"._Child_playbacks_can_only_have_duration_updated_not_their_start.")}}; I0a=function(a){a.Na.clear();a.bb.clear();a.Sa.clear();a.G.clear();a.C=[];a.ma=[];a.B.clear();a.fd.clear();a.oa.clear();a.N.clear();a.Ib=[];a.Ea=null;a.Qe.clear();a.Ka=[];a.hd=[];a.ze=[];a.ud=[];a.Va=[];a.ge.clear();a.Ie.clear();a.He.clear();a.sb.clear();a.Fa=!1;a.j=void 0;a.ob=0;a.gb=!0;a.Z=!1;a.D=0;a.Aa=null;a.Ud=0;a.jd=!1;a.qp=!1;a.K="";a.Y.isActive()&&qY(a)}; K0a=function(a,b,c,d,e,f){if(!a.qp)if(g.J0a(a,c))a.Ya&&a.qa.va("sdai",{gdu:"undec",seg:c,itag:e});else if(b=xY(a,b,c,d,f),!(KT(a.qa.getVideoData())&&(null==b?0:b.WO)))return b}; xY=function(a,b,c,d,e){var f=a.N.get(c);if(!f){b+=a.Bp();b=vY(a,b,1);if(b.Ym)return b.Ym;b=yY(a,c-1,null!=d?d:2);if(e)return a.qa.va("sdai",{misscue:e,sq:c,type:d,prevsstate:null==b?void 0:b.Hy,prevrecord:a.N.has(c-1)}),a.N.get(c-1);if(2===(null==b?void 0:b.Hy))return a.N.get(c-1)}return f}; L0a=function(a){if(a.Va.length)for(var b=g.v(a.Va),c=b.next();!c.done;c=b.next())a.onCueRangeExit(c.value);c=g.v(a.G.values());for(b=c.next();!b.done;b=c.next())a.qa.removeCueRange(b.value);c=g.v(a.C);for(b=c.next();!b.done;b=c.next())a.qa.removeCueRange(b.value);a.G.clear();a.C=[];a.Na.clear();a.bb.clear();a.Sa.clear();a.j||(a.gb=!0)}; yY=function(a,b,c){if(1===c){if(a.Na.has(b))return a.Na.get(b)}else{if(2===c&&a.bb.has(b))return a.bb.get(b);if(3===c&&a.Sa.has(b))return a.Sa.get(b)}}; N0a=function(a,b,c,d){if(d)for(d=0;dc){var f=e.end;e.end=b;M0a(a,c,f)}else if(e.start>=b&&e.startc)e.start=c;else if(e.end>b&&e.end<=c&&e.start=b&&e.end<=c){a.qa.removeCueRange(e);if(a.Va.includes(e))a.onCueRangeExit(e);a.C.splice(d,1);continue}d++}else M0a(a,b,c)}; M0a=function(a,b,c){b=C0a(b,c);c=!0;g.Zb(a.C,b,function(h,l){return h.start-l.start}); for(var d=0;d=Math.round(e.start/1E3)){f.end=e.end;e!==b?a.qa.removeCueRange(e):c=!1;a.C.splice(d,1);continue}}d++}if(c)for(a.qa.addCueRange(b),b=a.qa.jD("serverstitchedcuerange",36E5),b=g.v(b),c=b.next();!c.done;c=b.next())a.G.delete(c.value.getId())}; zY=function(a,b,c){if(void 0===c||!c){c=g.v(a.Ib);for(var d=c.next();!d.done;d=c.next()){d=d.value;if(b>=d.start&&b<=d.end)return;if(b===d.end+1){d.end+=1;return}}a.Ib.push(new u0a(b))}}; g.J0a=function(a,b){a=g.v(a.Ib);for(var c=a.next();!c.done;c=a.next())if(c=c.value,b>=c.start&&b<=c.end)return!0;return!1}; z0a=function(a,b,c,d,e){var f;b={reason:"overlapping_playbacks",ijb:b,Cc:c,Sd:d,Fhb:e.Xc,Ghb:(null==(f=e.videoData)?void 0:f.videoId)||"",Chb:e.durationMs,Dhb:e.Cc,Ehb:e.Sd};pY(a,b)}; pY=function(a,b){a=a.qa;a.va("timelineerror",b);a.oe(new DK("dai.timelineerror",b))}; O0a=function(a,b){var c=[];a=a.oa.get(b);if(!a)return[];a=g.v(a);for(b=a.next();!b.done;b=a.next())b=b.value,b.cpn&&c.push(b.cpn);return c}; P0a=function(a,b,c){var d=0;a=a.oa.get(c);if(!a)return-1;a=g.v(a);for(c=a.next();!c.done;c=a.next()){if(c.value.cpn===b)return d;d++}return-1}; Q0a=function(a,b){var c=[];a=a.oa.get(b);if(!a)return[];a=g.v(a);for(var d=a.next();!d.done;d=a.next())b=void 0,(d=null==(b=d.value.videoData)?void 0:b.videoId)&&c.push(d);return c}; R0a=function(a,b){var c=0;a=a.oa.get(b);if(!a)return 0;a=g.v(a);for(b=a.next();!b.done;b=a.next())b=b.value,0!==b.durationMs&&b.Sd!==b.Cc&&c++;return c}; S0a=function(a,b,c){var d=!1;if(c&&(c=a.oa.get(c))){c=g.v(c);for(var e=c.next();!e.done;e=c.next())e=e.value,0!==e.durationMs&&e.Sd!==e.Cc&&(e=e.cpn,b===e&&(d=!0),d&&!a.Ie.has(e)&&(a.qa.va("sdai",{decoratedAd:e}),a.Ie.add(e)))}}; w0a=function(a){a.Ya&&a.qa.va("sdai",{adf:"0_"+((new Date).getTime()/1E3-a.Ud)+"_isTimeout_"+a.Fa})}; y0a=function(a,b,c){if(a.Ka.length)for(var d=g.v(a.Ka),e=d.next(),f={};!e.done;f={yv:f.yv},e=d.next()){f.yv=e.value;e=1E3*f.yv.startSecs;var h=1E3*f.yv.Yh+e;if(b>e&&be&&cb?-1*(b+2):b])}}; BY=function(a,b){if(a=$0a(a,b)){a=g.v(a.segments);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Jh()<=b&&c.Dv()>b)return c}}; T0a=function(a,b){var c;if(a.j)for(c=a.B.shift();c&&c!==a.j;)c=a.B.shift();else c=a.B.shift();if(c)return a.gk.has(c)?a1a(a,c):3===b&&(a.G.stop(),a.api.playVideo(1)),a.C.set(a.Og,b),b1a(a,c),!1;a.G.stop();return!0}; a1a=function(a,b){b=mY(a.timeline,b);if(null==b?0:b.length)a.api.pauseVideo(),a.G.start(b[0].TI)}; b1a=function(a,b){if(a.Og!==b){var c=a.qa.getVideoData(),d=c.clientPlaybackNonce,e=a.Og;a.Og=b;var f=!1;""===e&&(e=d,f=!0);b=mY(a.timeline,a.Og);if(null==b?0:b.length){var h=b[0];b=h.getType();c=e===d?c:a.ez.get(e);var l=a.C.get(e);l?a.C.delete(e):l=f?1:2;a:{var m=a.Og;if(!a.Zl.has(m))for(var n=g.v(a.Zl),p=n.next();!p.done;p=n.next()){var q=g.v(p.value);p=q.next().value;q=q.next().value;if(q.getId().includes(m)){m=p;break a}}}n=m;p=a.qa.RH();p.Yg!==n&&(q=p.uc(p.Yg),m=p.uc(n),p.Yg=n,m!==q&&(q.qoe&& (n=q.qoe,n.provider.W.Lc()&&n.va("ssap",{qoesus:"1",vid:n.provider.videoData.videoId}),isNaN(n.G)||g.QB(n.G)),m.resume()));m=a.qa.getCurrentTime();n=Math.max(0,m-AY(a,e)/1E3);p=Math.max(0,m-AY(a,a.Og)/1E3);q=3===l;h=h.getVideoData();var r=a.qa.RH(),t=e,u=a.Og;if(t!==u){var x=r.uc(t),B=r.uc(u),F,G=t===(null==(F=x.getVideoData())?void 0:F.clientPlaybackNonce),H;F=u===(null==(H=B.getVideoData())?void 0:H.clientPlaybackNonce);var O;H=G?(null==(O=x.getVideoData())?void 0:O.videoId)||"":"nvd";var P;O=F? (null==(P=B.getVideoData())?void 0:P.videoId)||"":"nvd";if(G){var Y;null!=(Y=x.qoe)&&EY(Y,4,q?4:0,u,O,n)}if(F){FY(B);var la;null!=(la=B.qoe)&&EY(la,4,q?5:1,t,H,p);c1a(B)}r.j.has(t)&&(d1a(r.j.get(t)),r.j.delete(t))}var oa;bVa(e,a.Og,d,m,h,null!=(oa=a.D.get(e))?oa:m);a.D.delete(e);a.api.ra("videodatachange","newdata",h,b,f?void 0:c,l);a.gk.delete(e);a.j="";(null==h?0:h.startSeconds)&&1===b&&a.Z&&(d=h.startSeconds,e=mY(a.timeline,a.qa.getVideoData().clientPlaybackNonce),null==e?0:e.length)&&(a.qa.seekTo(d+ e[0].Jh()/1E3,{SR:!0}),a.Z=!1);2===b?a.N++:a.N=0}}}; U0a=function(a){a.qa.kF(Array.from(a.Zl.values()));a.Zl.clear()}; f1a=function(a,b,c){g.J.call(this);var d=this;this.api=a;this.W=b;this.j=c;this.K=new Map;this.B=[];this.C=this.N=null;this.ma=NaN;this.G=this.D=this.Y=null;this.Z=new g.Bu(function(){e1a(d,d.ma,d.Y||void 0)}); this.oa=[];this.Aa=new g.Bu(function(){var e=d.oa.pop();if(e){var f=e.Xc,h=e.playerVars;e=e.playerType;h&&(h.prefer_gapless=!0,d.api.preloadVideoByPlayerVars(h,e,NaN,"",f),d.oa.length&&g.Cu(d.Aa,4500))}}); this.events=new g.GK(this);c.getPlayerType();g.L(this,this.Z);g.L(this,this.Aa);g.L(this,this.events);this.events.T(this.api,g.WJ("childplayback"),this.onCueRangeEnter);this.events.T(this.api,"onQueuedVideoLoaded",this.onQueuedVideoLoaded);this.events.T(this.api,"presentingplayerstatechange",this.jk)}; j1a=function(a,b,c,d,e,f){var h=b.cpn,l=b.docid||b.video_id||b.videoId||b.id,m=a.j;f=void 0===f?e+d:f;if(e>f)return GY(a,"enterAfterReturn enterTimeMs="+e+" is greater than parentReturnTimeMs="+f.toFixed(3),h,l),"";var n=1E3*m.Id();if(en)return m="returnAfterDuration parentReturnTimeMs="+f.toFixed(3)+" is greater than parentDurationMs="+n+". And timestampOffset in seconds is "+ m.Pc(),GY(a,m,h,l),"";n=null;for(var p=g.v(a.B),q=p.next();!q.done;q=p.next()){q=q.value;if(e>=q.Cc&&eq.Cc)return GY(a,"overlappingReturn",h,l),"";if(f===q.Cc)return GY(a,"outOfOrder",h,l),"";e===q.Sd&&(n=q)}h="cs_childplayback_"+g1a++;l={Re:HY(d,!0),Gm:Infinity,target:null};var r={Xc:h,playerVars:b,playerType:c,durationMs:d,Cc:e,Sd:f,Ps:l};a.B=a.B.concat(r).sort(function(x,B){return x.Cc-B.Cc}); n?h1a(a,n,{Re:HY(n.durationMs,!0),Gm:n.Ps.Gm,target:r}):(b={Re:HY(e,!1),Gm:e,target:r},a.K.set(b.Re,b),m.addCueRange(b.Re));b=!0;if(a.j===a.api.Bd()&&(m=1E3*m.getCurrentTime(),m>=r.Cc&&mb)break;if(f>b)return{Ym:d,zA:b-e};c=f-d.Sd/1E3}return{Ym:null,zA:b-c}}; e1a=function(a,b,c){c=void 0===c?{}:c;var d=a.G||a.api.Bd().getPlayerState();KY(a,!0);b=isFinite(b)?b:a.j.Kq();var e=n1a(a,b);b=e.Ym;e=e.zA;var f=b&&!IY(a,b)||!b&&a.j!==a.api.Bd(),h=1E3*e;h=a.C&&a.C.start<=h&&h<=a.C.end;!f&&h||JY(a);b?i1a(a,b,e,c,d):o1a(a,e,c,d)}; o1a=function(a,b,c,d){var e=a.j,f=a.api.Bd();e!==f&&a.api.fB();e.seekTo(b,Object.assign({},{xd:"application_timelinemanager"},c));p1a(a,d)}; i1a=function(a,b,c,d,e){var f=IY(a,b);if(!f){b.playerVars.prefer_gapless=!0;var h=new g.ZS(a.W,b.playerVars);h.Xc=b.Xc;a.api.Lt(h,b.playerType)}h=a.api.Bd();f||h.addCueRange(b.Ps.Re);h.seekTo(c,Object.assign({},{xd:"application_timelinemanager"},d));p1a(a,e)}; p1a=function(a,b){a=a.api.Bd();var c=a.getPlayerState();g.DL(b)&&!g.DL(c)?a.playVideo():b.isPaused()&&!c.isPaused()&&a.pauseVideo()}; KY=function(a,b){a.ma=NaN;a.Y=null;a.Z.stop();a.D&&b&&G0a(a.D);a.G=null;a.D=null}; IY=function(a,b){a=a.api.Bd();return!!a&&a.getVideoData().Xc===b.Xc}; q1a=function(a){var b=a.B.find(function(e){return IY(a,e)}); if(b){var c=a.api.Bd();JY(a);var d=new g.xL(8);b=m1a(a,b)/1E3;o1a(a,b,{},d);c.va("forceParentTransition",{childPlayback:1});a.j.va("forceParentTransition",{parentPlayback:1})}}; s1a=function(a,b,c){b=void 0===b?-1:b;c=void 0===c?Infinity:c;for(var d=b,e=c,f=g.v(a.K),h=f.next();!h.done;h=f.next()){var l=g.v(h.value);h=l.next().value;l=l.next().value;l.Gm>=d&&l.target&&l.target.Sd<=e&&(a.j.removeCueRange(h),a.K.delete(h))}d=b;e=c;f=[];h=g.v(a.B);for(l=h.next();!l.done;l=h.next())if(l=l.value,l.Cc>=d&&l.Sd<=e){var m=a;m.N===l&&JY(m);IY(m,l)&&m.api.fB()}else f.push(l);a.B=f;d=n1a(a,b/1E3);b=d.Ym;d=d.zA;b&&(d*=1E3,r1a(a,b,d,b.Sd===b.Cc+b.durationMs?b.Cc+d:b.Sd));(b=n1a(a,c/1E3).Ym)&& GY(a,"Invalid clearEndTimeMs="+c+" that falls during playback={timelinePlaybackId="+(b.Xc+" video_id="+b.playerVars.video_id+" durationMs="+b.durationMs+" enterTimeMs="+b.Cc+" parentReturnTimeMs="+b.Sd+"}.Child playbacks can only have duration updated not their start."))}; r1a=function(a,b,c,d){b.durationMs=c;b.Sd=d;d={Re:HY(c,!0),Gm:c,target:null};h1a(a,b,d);IY(a,b)&&1E3*a.api.Bd().getCurrentTime()>c&&(b=m1a(a,b)/1E3,c=a.api.Bd().getPlayerState(),o1a(a,b,{},c))}; GY=function(a,b,c,d){a.j.va("timelineerror",{e:b,cpn:c?c:void 0,videoId:d?d:void 0})}; u1a=function(a){a&&"web"!==a&&t1a.includes(a)}; NY=function(a,b){g.J.call(this);var c=this;this.data=[];this.C=a||NaN;this.B=b||null;this.j=new g.Bu(function(){LY(c);MY(c)}); g.L(this,this.j)}; v1a=function(a){LY(a);return a.data.map(function(b){return b.value})}; LY=function(a){var b=(0,g.rD)();a.data.forEach(function(c){c.expire=d;d++)c.push(d/100);c={threshold:c,trackVisibility:!0,delay:1E3};(this.B=window.IntersectionObserver?new IntersectionObserver(function(e){e=e[e.length-1];"undefined"===typeof e.isVisible?b.j=null:b.j=e.isVisible?e.intersectionRatio:0},c):null)&&this.B.observe(a)}; A1a=function(a){g.V.call(this,{I:"div",Ma:["html5-video-player"],X:{tabindex:"-1",id:a.webPlayerContextConfig?a.webPlayerContextConfig.rootElementId:a.config.attrs.id},V:[{I:"div",S:g.QY.VIDEO_CONTAINER,X:{"data-layer":"0"}}]});var b=this;this.app=a;this.Zy=this.Ha(g.QY.VIDEO_CONTAINER);this.WA=new g.Sr(0,0,0,0);this.qc=null;this.WJ=new g.Sr(0,0,0,0);this.mO=this.xP=this.wP=NaN;this.pI=this.TJ=this.NQ=this.rV=!1;this.dN=NaN;this.ZO=!1;this.qE=null;this.YP=function(){b.element.focus()}; this.CJ=function(){b.app.Wa.ra("playerUnderlayVisibilityChange","visible");b.qc.classList.remove(g.QY.VIDEO_CONTAINER_TRANSITIONING);b.qc.removeEventListener(nTa,b.CJ);b.qc.removeEventListener("transitioncancel",b.CJ)}; var c=this.element.addEventListener,d=this.element.removeEventListener;this.addEventListener=function(f,h,l){c.apply(b.element,[f,h,l])}; this.removeEventListener=function(f,h,l){d.apply(b.element,[f,h,l])}; var e=a.U();e.transparentBackground&&this.As("ytp-transparent");"0"===e.controlsType&&this.As("ytp-hide-controls");g.Ju(this.element,"ytp-exp-bottom-control-flexbox");e.L("web_imp_caption_window")&&g.Ju(this.element,"ytp-modern-caption");e.L("enable_new_paid_product_placement")&&!g.oS(e)&&g.Ju(this.element,"ytp-exp-ppp-update");e.L("html5_enable_ssap")&&g.Ju(this.element,"ytp-ssap");this.element.dataset.version=y1a(a);this.v_=!1;this.mD=new g.te(NaN,NaN);z1a(this);this.T(a.Wa,"onMutedAutoplayChange", this.onMutedAutoplayChange)}; z1a=function(a){function b(){a.qc&&RY(a);SY(a)!==a.ZO&&a.resize()} function c(h,l){a.vt(h,l)} function d(h){h.getVideoData()&&a.updateVideoData(h.getVideoData())} function e(){a.WJ=new g.Sr(0,0,0,0);a.WA=new g.Sr(0,0,0,0)} var f=a.app.Wa;f.addEventListener("initializingmode",e);f.addEventListener("videoplayerreset",d);f.addEventListener("videodatachange",c);f.addEventListener("presentingplayerstatechange",b);a.addOnDisposeCallback(function(){f.removeEventListener("initializingmode",e);f.removeEventListener("videoplayerreset",d);f.removeEventListener("videodatachange",c);f.removeEventListener("presentingplayerstatechange",b)})}; C1a=function(a){var b=g.$T(a.app),c=b=b?b.getVideoData():null;if(null==b?0:g.MT(b))c=a.app.Wa.getVideoData();if(c){if(g.AT(c)||g.BT(c)||g.DT(c))return 16/9;if(wRa(c)&&c.C.j)return a=c.C.videoInfos[0].video,B1a(a.width,a.height)}return(a=a.qc)?B1a(a.videoWidth,a.videoHeight):16/9}; D1a=function(a,b,c,d){var e=c,f=B1a(b.width,b.height);a.rV?e=cf?{width:b.width,height:b.width/e,aspectRatio:e}:ee?a.width=a.height*c:cMath.abs(E1a*b-a)||1>Math.abs(E1a/a-b)?E1a:a/b}; SY=function(a){if(1===a.app.getAppState())return!1;if(6===a.app.getAppState())return!0;var b=g.$T(a.app);if(!b||b.Ep())return!1;a=a.app.Wa.Qb();b=!g.FG(a,2)||b&&b.getVideoData().Y;var c=g.FG(a,1024);return a&&b&&!c&&!a.isCued()}; RY=function(a){var b="3"===a.app.U().controlsType&&!a.pI&&SY(a)&&!a.app.uA||!1;a.qc.controls=b;a.qc.tabIndex=b?0:-1;b?a.qc.removeEventListener("focus",a.YP):a.qc.addEventListener("focus",a.YP)}; F1a=function(a){var b=a.Wj(),c=1,d=!1,e=D1a(a,b,a.getVideoAspectRatio()),f=a.app.U(),h=f.L("enable_desktop_player_underlay"),l=Moa(),m=g.pJ(f.experiments,"player_underlay_min_player_width");m=h&&a.NQ&&a.getPlayerSize().width>m;if(SY(a)){var n=C1a(a);var p=isNaN(n)||g.HD||TY&&g.lD||m;GD&&!g.Pc(601)?n=e.aspectRatio:p=p||"3"===f.controlsType;p?m?(p=f.L("place_shrunken_video_on_left_of_player"),n=.02*a.getPlayerSize().width,p=p?n:a.getPlayerSize().width-b.width-n,p=new g.Sr(p,0,b.width,b.height)):p=new g.Sr(0, 0,b.width,b.height):(c=e.aspectRatio/n,p=new g.Sr((b.width-e.width/c)/2,(b.height-e.height)/2,e.width/c,e.height),1===c&&g.lD&&(n=p.width-b.height*n,0Math.max(p.width-e.width,p.height-e.height));if(l||a.v_)a.qc.style.display="";a.ZO=!0}else{p=-b.height;GD?p*=window.devicePixelRatio:g.pS&&(p-=window.screen.height);p=new g.Sr(0,p,b.width,b.height);if(l||a.v_)a.qc.style.display="none";a.ZO=!1}Tr(a.WJ,p)||(a.WJ=p,g.bS(f)?(a.qc.style.setProperty("width", p.width+"px","important"),a.qc.style.setProperty("height",p.height+"px","important")):g.es(a.qc,p.getSize()),d=new g.re(p.left,p.top),g.as(a.qc,Math.round(d.x),Math.round(d.y)),d=!0);b=new g.Sr((b.width-e.width)/2,(b.height-e.height)/2,e.width,e.height);Tr(a.WA,b)||(a.WA=b,d=!0);g.Vr(a.qc,"transform",1===c?"":"scaleX("+c+")");h&&m!==a.TJ&&(m&&(a.qc.addEventListener(nTa,a.CJ),a.qc.addEventListener("transitioncancel",a.CJ),a.qc.classList.add(g.QY.VIDEO_CONTAINER_TRANSITIONING)),a.TJ=m,a.app.Wa.ra("playerUnderlayVisibilityChange", a.TJ?"transitioning":"hidden"));return d}; G1a=function(){this.csn=g.tF();this.clientPlaybackNonce=null;this.elements=new Set;this.C=new Set;this.j=new Set;this.B=new Set}; H1a=function(a){if(a.csn!==g.tF())if("UNDEFINED_CSN"===a.csn)a.csn=g.tF();else{var b=g.tF(),c=g.sF();if(b&&c){a.csn=b;for(var d=g.v(a.elements),e=d.next();!e.done;e=d.next())(e=e.value.visualElement)&&e.isClientVe()&&b&&c&&(g.wB("combine_ve_grafts")?qP(oP(),e,c):g.AB(g.DF)(void 0,b,c,e))}if(b)for(a=g.v(a.j),e=a.next();!e.done;e=a.next())(c=e.value.visualElement)&&c.isClientVe()&&g.HF(b,c)}}; I1a=function(a,b){this.wd=a;this.policy=b;this.playbackRate=1}; J1a=function(a,b){var c=Math.min(2.5,PR(a.wd));a=UY(a);return b-c*a}; L1a=function(a,b,c,d,e){e=void 0===e?!1:e;a.policy.Yk&&(d=Math.abs(d));d/=a.playbackRate;var f=1/QR(a.wd);c=Math.max(.9*(d-3),PR(a.wd)+2048*f)/f*.8/(b+c);c=Math.min(c,d);0e&&(a=e);return Infinity>a?a/1E3:a}; WY=function(a,b,c,d,e){this.Ba=a;this.manifest=b;this.videoTrack=c;this.audioTrack=d;this.policy=e;this.seekCount=this.j=0;this.G=!1;this.B=this.manifest.isManifestless&&!this.manifest.Xd;this.D=null;this.C=0}; O1a=function(a,b,c){if(!a.policy.G){a=b.j.index;var d=b.B.Oa;a.Gp(d)||c&&c.Oa===d?(b.G=!a.Gp(d),b.ma=!a.Gp(d)):(b.G=!0,b.ma=!0)}}; Q1a=function(a,b,c,d,e){if(!b.j.pg()){if(!(d=0===c||!!b.C.length&&b.C[0]instanceof XY))a:{if(b.C.length&&(d=b.C[0],d instanceof YY&&d.kh&&d.Hj)){d=!0;break a}d=!1}d||a.policy.j||ZY(b);return c}var f=$Y(b,c);if(!isNaN(f))return f;if(a.Ba.UO(1E3*c))return c;e.II||(b.Nk(),a.Ba.mK(!0));return d&&(a=fL(d.wf(),c),!isNaN(a))?(aZ(b,a+P1a),c):aZ(b,c)}; U1a=function(a,b,c,d){if(a.Zf()&&a.j){var e=R1a(a,b,c);if(-1!==e){a.videoTrack.G=!1;a.audioTrack.G=!1;a.B=!0;a.C=0;g.Tf(function(){a.Ba.va("seekreason",{reason:"behindMinSq",tgt:e});S1a(a,e)}); return}}c?a.videoTrack.ma=!1:a.audioTrack.ma=!1;var f=a.policy.Ex||!a.B;0<=$Y(a.videoTrack,a.j)&&0<=$Y(a.audioTrack,a.j)&&f?((a.videoTrack.G||a.audioTrack.G)&&a.Ba.va("iterativeSeeking",{status:"done",count:a.seekCount}),a.videoTrack.G=!1,a.audioTrack.G=!1):d&&g.Tf(function(){if(a.B||!a.policy.Ib)T1a(a);else{var h=b.startTime,l=b.duration,m=c?a.videoTrack.G:a.audioTrack.G,n=-1!==a.videoTrack.K&&-1!==a.audioTrack.K,p=a.j>=h&&a.ja.seekCount?(a.seekCount++,a.Ba.va("iterativeSeeking",{status:"inprogress",count:a.seekCount,target:a.j,actual:h,duration:l,isVideo:c}),a.seek(a.j,{})):(a.Ba.va("iterativeSeeking",{status:"incomplete",count:a.seekCount,target:a.j,actual:h}),a.seekCount=0,a.videoTrack.G=!1,a.audioTrack.G= !1,bZ(a.Ba,h+.1,{Uv:!0,xd:"chunkSelectorSynchronizeMedia",Bq:!0})))}})}; R1a=function(a,b,c){if(!a.Zf())return-1;c=(c?a.videoTrack:a.audioTrack).j.index;var d=c.Kh(a.j);return(c.Gp(a.manifest.qf)||b.Oa===a.manifest.qf)&&da.D&&(a.D=NaN,a.G=NaN);if(a.j&&a.j.Oa===d){e=a.j;var f=e.Xg,h=c.Tt(f);d=b.eb[0].Oa;a.va("sdai",{onqevt:f.event,sq:d,gab:h});if(h)"predictStart"!==f.event?e.RD?fZ(a,4,"cue"):(a.D=b.eb[0].Oa,a.G=b.eb[0].C,a.va("sdai",{joinad:a.B,sg:a.D,st:a.G.toFixed(3)}),a.Y=Date.now(),fZ(a,2,"join"),c.fI(e.Xg)):(a.N=b.eb[0].Oa+ Math.max(Math.ceil(-f.j/5E3),1),a.va("sdai",{onpred:b.eb[0].Oa,est:a.N}),a.Y=Date.now(),fZ(a,3,"predict"),c.fI(e.Xg));else if(1===a.B){b=b.eb[0].C;var l;(null==(l=a.C)?0:l.sN(b))?(f2a(a.Ba,b,b,d),fZ(a,4,"sk2had")):fZ(a,5,"nogab")}}else 1===a.B&&fZ(a,5,"noad")}}; h2a=function(a,b,c){return(0>c||c===a.D)&&!isNaN(a.G)?a.G:b}; i2a=function(a,b){if(a.j){var c=a.j.Xg.Yh-(b.startTime+a.K-a.j.Xg.startSecs);0>=c||(c=new bQ(a.j.Xg.startSecs-(isNaN(a.K)?0:a.K),c,a.j.Xg.context,a.j.Xg.identifier,"stop",a.j.Xg.j+1E3*b.duration),a.va("cuepointdiscontinuity",{segNum:b.Oa}),eZ(a,c,b.Oa))}}; fZ=function(a,b,c){a.B!==b&&(a.va("sdai",{setsst:b,old:a.B,r:c}),a.B=b)}; gZ=function(a,b,c,d){(void 0===d?0:d)?fZ(a,1,"sk2h"):0a.policy.Ji,l=e<=a.policy.Ji?OK(d):NK(d);if(!f||h||l)c[e]=d}return c}; oZ=function(a,b){a.j=b;var c=a.K.videoInfos;if(!a.j.isLocked()){var d=(0,g.rD)();c=g.Zs(c,function(r){if(r.Sb>this.policy.Sb)return!1;var t=this.manifest.j[r.id];return lZ(this.G).get(r.id)>d?!1:4=r.video.width&&480>=r.video.height}))}0b.j)&&(e=e.filter(function(r){return r.video&&(!r.B||r.B.powerEfficient)})); if(0c.MG.video.width?(g.Db(e,b),b--):sZ(a,c.CG)*a.policy.K>sZ(a,c.MG)&&(g.Db(e,b-1),b--);var q=e[e.length-1];a.bb=!!a.C&&!!a.C.info&&a.C.info.tb!==q.tb;a.logger.debug(function(){return"Constraint: "+EP(a.j)+", "+e.length+" fmts selectable, max selectable fmt: "+XK(q)}); a.D=e;a.Va.clear();c=!1;for(b=0;bd}; nZ=function(a){if(!a.B||!a.policy.C&&!a.B.info.Mc){var b=a.K.j;a.B&&a.policy.Qo&&(b=b.filter(function(d){return d.audio.j===a.B.info.audio.j}),b.length||(b=a.K.j)); a.B=a.manifest.j[b[0].id];if(1a.j.j:x2a(a,a.B))a.B=a.manifest.j[g.xb(b).id]}}}; pZ=function(a){if(!a.nextVideo||!a.policy.C)if(a.j.isLocked())a.nextVideo=360>=a.j.j?a.manifest.j[a.D[0].id]:a.manifest.j[g.xb(a.D).id],a.logger.debug(function(){return"Select max fmt: "+XK(a.nextVideo.info)}); else{for(var b=Math.min(a.Z,a.D.length-1),c=VY(a.Ea),d=sZ(a,a.B.info),e=c/a.policy.Z-d;0=f);b++);a.nextVideo=a.manifest.j[a.D[b].id];a.Z!==b&&a.logger.info(function(){return"Adapt to: "+XK(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", bandwidth to downgrade: "+e.toFixed(0)+", bandwidth to upgrade: "+f.toFixed(0)+", constraint: "+EP(a.j)}); a.Z=b}}; m2a=function(a){var b=a.policy.Z,c=VY(a.Ea),d=c/b-sZ(a,a.B.info);b=g.Bb(a.D,function(e){return sZ(this,e)b&&(b=0);a.Z=b;a.nextVideo=a.manifest.j[a.D[b].id];a.logger.info(function(){return"Initial selected fmt: "+XK(a.nextVideo.info)+", bandwidth: "+c.toFixed(0)+", max video byterate: "+d.toFixed(0)})}; n2a=function(a){if(a.ob.length){var b=a.ob,c=function(d,e){if("f"===d.info.tb||b.includes(UK(d.info,a.manifest.Ac)))return d;for(var f={},h=0;h=m+100?h=!0:n+100=f){var n=0;if(a.Wc){var p=CY(a.Wc,1E3*l);p&&(n=p.xm/1E3)}p=Object.assign({},a.Vd[e]);var q=a.Vd[e].formatId;q=a.manifest.N.get(q.itag+";"+(q.lmt||0)+";"+q.xtags);f=Math.max(l,f);l=q.index.Kh(f+.1-n);var r=q.index.getStartTime(l)+n;l+=+(.1=Math.abs(b.startTimeMs-c.startTimeMs)){if(b.durationMs>c.durationMs+100){a=b.formatId;var f=b.gq,h=b.ij;b.formatId=c.formatId;b.durationMs=c.durationMs;b.gq=c.gq;b.MA=c.durationMs;b.ij=c.ij;c.formatId=a;c.startTimeMs=e;c.NA=e;c.durationMs=d-e;c.MA=c.durationMs; c.gq=f;c.ij=h;return!1}b.formatId=c.formatId;return!0}d>c.startTimeMs&&(b.durationMs=c.startTimeMs-b.startTimeMs,b.MA=b.durationMs);return!1}; E2a=function(a,b,c){return b.itag!==c.itag||b.xtags!==c.xtags?!1:a.manifest.Ac||b.lmt===c.lmt}; I2a=function(a,b,c){if(a.logger&&a.policy.Ml){for(var d=[],e=0;e=d.length)return;if(0>c)throw Error("Missing data");a.D=a.C;a.B=0}for(e={};c=e)break;if(1886614376===d.getUint32(c+4)){var f=32;if(0=a.j.getLength())throw Error();return nO(a.j,a.offset++)}; a3a=function(a,b){b=void 0===b?!1:b;var c=$2a(a);if(1===c){b=-1;for(c=0;7>c;c++){var d=$2a(a);-1===b&&255!==d&&(b=0);-1e&&d>c;e++)c=256*c+$2a(a),d*=128;return b?c:c-d}; b3a=function(a){try{var b=a3a(a,!0),c=a3a(a,!1);return{id:b,size:c}}catch(d){return{id:-1,size:-1}}}; c3a=function(a){for(var b=new AZ(a),c=-1,d=0,e=0;!d||!e;){var f=b3a(b),h=f.id;f=f.size;if(0>h)return;if(176===h){if(2!==f)return;d=b.lm()}else if(186===h){if(2!==f)return;e=b.lm()}374648427===h?c=b.lm()+f:408125543!==h&&174!==h&&224!==h&&b.skip(f)}b=DGa(a,0,c);c=new DataView(b.buffer);c.setUint16(d,3840);c.setUint16(e,2160);d=new jO([b]);kO(d,a);return d}; e3a=function(a,b,c){var d=this;this.Ba=a;this.policy=b;this.K=c;this.logger=new g.UX("dash");this.B=[];this.j=null;this.Aa=-1;this.Y=0;this.Fa=NaN;this.ma=0;this.C=NaN;this.Z=this.Na=0;this.Ya=-1;this.Ka=this.G=this.D=this.Ea=null;this.bb=this.Va=NaN;this.N=this.oa=this.Sa=this.gb=null;this.ob=!1;this.timestampOffset=0;this.Gd={BW:function(){return d.B}}; if(this.policy.C){var e=this.K,f=this.policy.C;this.policy.Na&&a.va("atv",{ap:this.policy.Na});this.N=new M2a(this.policy,e,function(h,l,m){BZ(a,new zZ(d.policy.C,2,{YE:new Z2a(f,h,e.info,l,m)}))}); this.N.Z.promise.then(function(h){d.N=null;1===h?BZ(a,new zZ(d.policy.C,h)):d.Ba.va("offlineerr",{status:h.toString()})},function(h){var l=(h.message||"none").replace(/[+]/g,"-").replace(/[^a-zA-Z0-9;.!_-]/g,"_"); h instanceof xZ&&!h.j?(d.logger.info(function(){return"Assertion failed: "+l}),d.Ba.va("offlinenwerr",{em:l}),d3a(d),BZ(a,new zZ(d.policy.C,4))):(d.logger.info(function(){return"Failed to write to disk: "+l}),d.Ba.va("dldbwerr",{em:l}),d3a(d),BZ(a,new zZ(d.policy.C,4,{sI:!0})))})}}; f3a=function(a){return a.B.length?a.B[0]:null}; m3a=function(a,b,c,d){d=void 0===d?0:d;if(a.G){var e=a.G.Xb+a.G.B;if(0=Math.abs(e.C-f.C)&&e.Oa===f.Oa?0:NMa(e,f)))||g3a(a,"d")}else if(0=a.Aa&&0===a.Y){var h=a.j.j;e=f=-1;if(c){for(var l=0;l+8e&&(f=-1)}else{h=new AZ(h);for(m=l=!1;;){n=h.lm();var p=b3a(h),q=p.id;p=p.size;if(!(0f&&(f=n),m))break;163===q&&(f=Math.max(0,f),e=h.lm()+p);if(160===q){0>f&&(e=f=h.lm()+p);break}h.skip(p)}}0>f&&(e=-1)}if(0>f)break;a.Aa=f;a.Y=e-f}if(a.Aa>d)break;a.Aa?(d=j3a(a,a.Aa),d.C&&k3a(a,d),h3a(a,b,d),l3a(a,d),a.Aa=0):a.Y&&(d=j3a(a,0>a.Y?Infinity:a.Y),a.Y-=d.j.getLength(),l3a(a,d))}}a.j&&a.j.info.gf&&(l3a(a,a.j),a.j=null)}; i3a=function(a,b){!b.info.j.Jn()&&0===b.info.Xb&&(g.RK(b.info.j.info)||b.info.j.info.Ne())&&ENa(b);if(1===b.info.type)try{k3a(a,b),n3a(a,b)}catch(e){g.wF(e);var c=KQ(b.info);c.hms="1";a.Ba.handleError("fmt.unparseable",c||{},1)}c=b.info.j;c.qO(b);a.N&&R2a(a.N,b);if(c.pg()&&a.policy.j)a:{a=a.Ba.manifest;b=b.info.clipId;c=TK(c.info,a.Ac);if(b){var d=YNa(a,c);if(a.Fa[d])break a;a.Fa[d]=b}a.Ea.push(c)}}; d3a=function(a){var b;null==(b=a.N)||b.dispose();a.N=null}; o3a=function(a){var b=a.B.reduce(function(c,d){return c+d.j.getLength()},0); a.j&&(b+=a.j.j.getLength());return b}; p3a=function(a){if(a.oa&&!a.policy.Jo){var b=a.Ba;b.manifest.isManifestless&&lR(b.manifest,a.oa.Oa,!!a.K.info.video)}a.oa=null;a.D=null;a.G=a.gb;a.C=a.G?a.C-a.ma:NaN;CZ(a)}; j3a=function(a,b){var c=a.j;b=Math.min(b,c.j.getLength());if(b===c.j.getLength())return a.j=null,c;c=xNa(c,b);a.j=c[1];return c[0]}; k3a=function(a,b){b.j.getLength();var c=$Q(b);if(oBa(b.info.j.info)&&"bt2020"===b.info.j.info.video.primaries){var d=new nQ(c);pQ(d,[408125543,374648427,174,224,21936,21937])&&(d=d.start+d.pos,129===c.getUint8(d)&&1===c.getUint8(d+1)&&c.setUint8(d+1,9))}d=b.info.j.info;NK(d)&&!oBa(d)&&(d=$Q(b),(new nQ(d)).In(),tQ([408125543,374648427,174,224],21936,d));b.info.j.info.gh()&&(d=b.info.j,d.info&&d.info.video&&"MESH"===d.info.video.projectionType&&!d.B&&(g.RK(d.info)?d.B=sMa(c):d.info.Ne()&&(d.B=CMa(c)))); b.info.j.info.Ne()&&b.info.gh()&&(c=$Q(b),(new nQ(c)).In(),tQ([408125543,374648427,174,224],30320,c)&&tQ([408125543,374648427,174,224],21432,c));if(a.policy.bC&&b.info.j.info.Ne()){c=$Q(b);var e=new nQ(c);if(pQ(e,[408125543,374648427,174,29637])){d=sQ(e,!0);e=e.start+e.pos;for(var f=0;fm||(e&&b.skip(4),f&&b.skip(4),e=ZP(b),b.skip((m-1)*(4+(h?4:0)+(l?4:0)+(d?4:0))-4),b.data.setUint32(b.offset+b.j,e))}}if(b=a.Ea&&!!a.Ea.K.D)if(b=c.info.gh())b=CNa(c),h=a.Ea,DZ?(l=1/b,b=EZ(a,b)>=EZ(h)+l):b=a.getDuration()>=h.getDuration(),b=!b;b&&q3a(c)&&(b=a.Ea,DZ?(l=CNa(c),h=1/l,l=EZ(a,l),b=EZ(b)+h-l):b=b.getDuration()- a.getDuration(),b=1+b/c.info.duration,rMa($Q(c),b))}else{h=!1;a.D||(ENa(c),c.B&&(a.D=c.B,h=!0,f=c.info,d=c.B.j,f.G="updateWithEmsg",f.Oa=d,f=c.B,f.D&&(a.K.index.B=!f.D),f=c.info.j.info,d=$Q(c),g.RK(f)?xMa(d,1701671783):f.Ne()&&tQ([408125543],307544935,d)));a:if((f=bR(c,a.policy.bb))&&DNa(c))l=r3a(a,c),a.Z+=l,f-=l,a.ma+=f,a.C=a.policy.jj?a.C+f:NaN;else{if(a.policy.Yo){if(d=m=a.Ba.Bq(yNa(c),1),0<=a.C&&7!==c.info.type){if(a.policy.jj&&isNaN(a.Va)){g.xF(new g.RC("Missing duration while processing previous chunk", c.info.Qd()));a.Ba.isOffline()&&!a.policy.Sm||s3a(a,c,d);g3a(a,"m");break a}var n=m-a.C,p=n-a.Z,q=c.info.Oa,r=a.Ka?a.Ka.Oa:-1,t=a.bb,u=a.Va,x=a.policy.Pl&&n>a.policy.Pl,B=10Math.abs(a.C-d);if(1E-4l&&f>a.Ya)&&m){d=Math.max(.95,Math.min(1.05,(c-(h-e))/c));if(g.RK(b.info.j.info))rMa($Q(b),d);else if(b.info.j.info.Ne()&&(f=e-h,!g.RK(b.info.j.info)&&(b.info.j.info.Ne(),d=new nQ($Q(b)),l=b.C?d:new nQ(new DataView(b.info.j.j.buffer)),bR(b,!0)))){var n= 1E3*f,p=yQ(l);l=d.pos;d.pos=0;if(160===d.j.getUint8(d.pos)||zQ(d))if(rQ(d,160))if(sQ(d,!0),rQ(d,155)){if(f=d.pos,m=sQ(d,!0),d.pos=f,n=1E9*n/p,p=uQ(d),n=p+Math.max(.7*-p,Math.min(p,n)),n=Math.sign(n)*Math.floor(Math.abs(n)),!(Math.ceil(Math.log(n)/Math.log(2)/8)>m)){d.pos=f+1;for(f=m-1;0<=f;f--)d.j.setUint8(d.pos+f,n&255),n>>>=8;d.pos=l}}else d.pos=l;else d.pos=l;else d.pos=l}d=bR(b,a.policy.bb);d=c-d}d&&b.info.j.info.Ne()&&a.Ba.va("webmDurationAdjustment",{durationAdjustment:d,videoDrift:e+d,audioDrift:h})}return d}; q3a=function(a){return a.info.j.Jn()&&a.info.Oa===a.info.j.index.Ad()}; EZ=function(a,b){b=(b=void 0===b?0:b)?Math.round(a.timestampOffset*b)/b:a.timestampOffset;a.K.D&&b&&(b+=a.K.D.j);return b+a.getDuration()}; w3a=function(a,b){0>b||(a.B.forEach(function(c){ANa(c,b)}),a.timestampOffset=b)}; GZ=function(a,b){var c=this;this.Nb=a;this.requestNumber=++x3a;this.j=this.now();this.N=this.Lb=NaN;this.Z=this.j;this.B=this.ac=this.G=0;this.D=this.j;this.Sa=this.Fa=this.Va=this.fd=this.Fc=this.oa=this.Aa=this.C=0;this.K=void 0;this.Ya=0;this.Ea=this.isActive=!1;this.Ib=this.ob=0;this.Gd={Pib:function(){return c.ip}}; this.wd=b.wd;this.snapshot=gPa(this.wd);this.policy=this.wd.Ea;this.Xq=!!b.Xq;this.Yw=b.Yw;b.vN&&(FZ||(FZ=GGa("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.")),this.K=new Uint8Array(2048));var d;this.ip=null!=(d=b.ip)?d:!1;cPa(this.wd)}; y3a=function(a){a.Va=Math.max(a.Va,a.G-a.Fc);a.Fa=Math.max(a.Fa,a.Z-a.fd);a.oa=0}; HZ=function(a,b,c){if(a.K){if(a.Ya+20>a.K.length){var d=new Uint8Array(2*a.K.length);d.set(a.K);a.K=d}z3a(a,Math.ceil(b)-Math.ceil(a.Z));z3a(a,Math.max(0,Math.ceil(c/1024)-Math.ceil(a.G/1024)))}if(a.policy.j){d=b-a.Z;var e=c-a.G;a.ac=e;a.Sa=Math.max(a.Sa,e/(d+.01)*1E3)}a.Z=b;a.G=c;a.oa&&c>a.oa&&y3a(a)}; z3a=function(a,b){for(;31>=5;a.K[a.Ya++]=FZ[b]}; A3a=function(a){return a.K?g.sO(a.K.subarray(0,a.Ya)):""}; B3a=function(a,b){a.url=b;window.performance&&!performance.onresourcetimingbufferfull&&(performance.onresourcetimingbufferfull=function(){performance.clearResourceTimings()})}; IZ=function(a){a.isActive&&(a.isActive=!1)}; JZ=function(a,b){GZ.call(this,a,b);this.rb=this.Db=!1;this.ma=this.Y=Infinity;this.Ka=NaN;this.sb=!1;this.bb=NaN;this.hc=0;this.iD=b.iD||1;this.BQ=b.BQ||this.iD;this.al=b.al;this.Oa=b.Oa;this.dh=b.dh;C3a(this);this.jR(this.j);this.Na=(this.bb-this.j)/1E3}; KZ=function(a,b,c){a.Xq||(b=Math.max(b,a.policy.C),LR(a.wd,b,c,b))}; D3a=function(a,b){return b?a.DI()?!0:2048<=b:!1}; E3a=function(a){return(a.D-a.j)/1E3}; C3a=function(a){a.Ka=a.j+1E3*a.snapshot.delay;a.sb=!1}; H3a=function(a,b){if(a.al&&void 0!==a.Oa&&void 0!==a.dh){var c=Math,d=c.min,e=a.Y;var f=a.al;var h=a.j;if(F3a(f,a.Oa))f=b;else{var l=0;f.Zi&&(l=.2);f=h+1E3*(f.Ej+l)}a.Y=d.call(c,e,f);c=Math;d=c.min;e=a.ma;f=a.al;h=a.j;l=G3a(f,a.Oa,a.dh);2!==l&&(b=l?b:h+1E3*f.Ej,f.Zi&&(b+=1E3*f.Ej));a.ma=d.call(c,e,b);a.Y<=a.j?C3a(a):(a.Ka=a.Y,a.sb=!0)}}; I3a=function(a){a.al&&H3a(a,a.now());return a.sb}; J3a=function(a,b){if(b+1<=a.totalLength){var c=nO(a,b);c=128>c?1:192>c?2:224>c?3:240>c?4:5}else c=0;if(1>c||!(b+c<=a.totalLength))return[-1,b];if(1===c)a=nO(a,b++);else if(2===c)c=nO(a,b++),a=nO(a,b++),a=(c&63)+64*a;else if(3===c){c=nO(a,b++);var d=nO(a,b++);a=nO(a,b++);a=(c&31)+32*(d+256*a)}else if(4===c){c=nO(a,b++);d=nO(a,b++);var e=nO(a,b++);a=nO(a,b++);a=(c&15)+16*(d+256*(e+256*a))}else c=b+1,a.focus(c),AGa(a,c,4)?a=BGa(a).getUint32(c-a.C,!0):(d=nO(a,c+2)+256*nO(a,c+3),a=nO(a,c)+256*(nO(a,c+ 1)+256*d)),b+=5;return[a,b]}; LZ=function(a){this.Nb=a;this.j=new jO}; MZ=function(a,b){this.info=a;this.callback=b;this.state=1;this.QA=this.xO=!1;this.zg=null}; K3a=function(a){return g.mr(a.info.eb,function(b){return 3===b.type})}; L3a=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.Nb=c;this.status=0;this.j=new jO;this.B=0;this.isDisposed=this.C=!1;this.D=0;this.xhr=new XMLHttpRequest;this.xhr.open(d.method||"GET",a);if(d.headers)for(a=d.headers,b=g.v(Object.keys(a)),c=b.next();!c.done;c=b.next())c=c.value,this.xhr.setRequestHeader(c,a[c]);this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(){return e.HA()}; this.xhr.onload=function(){return e.onDone()}; this.xhr.onerror=function(){return e.onError()}; this.xhr.fetch(function(f){e.j.append(f);e.B+=f.length;f=(0,g.rD)();f-e.D>e.policy.j&&(e.Nb.Xt(f,e.B),e.D=f)},function(){},d.body||null)}; M3a=function(a,b){var c=this;this.j=a;this.Nb=b;this.loaded=this.status=0;this.error="";a=CQ(this.j.get("range")||"");if(!a)throw Error("bad range");this.range=a;this.B=new jO;this.nB().then(function(){c.Nb.zr()},function(d){c.error=""+d||"unknown_err"; c.Nb.zr()})}; O3a=function(a,b,c,d){var e=this;d=void 0===d?{}:d;this.policy=b;this.Nb=c;this.Y=d;this.status=0;this.response=void 0;this.Z=this.B=0;this.K=this.N=!1;this.errorMessage="";this.oa=function(f){if(f)if(e.status=f.status,f.ok&&f.body&&204!==e.status)e.status=e.status||242,e.C=f.body.getReader(),e.isDisposed()?e.C.cancel().catch(function(){}):(e.G=f.headers,e.Nb.Lw(),N3a(e)); else e.onDone();else e.onError(Error("null_response"))}; this.ma=function(f){var h=(0,g.rD)();e.isDisposed()||(f.done?(e.C=void 0,e.onDone()):(f=f.value,e.B+=f.length,e.j.append(f),N3a(e),f=(0,g.rD)(),f-e.Z>e.policy.j&&(e.Z=f,e.Nb.Xt(h,e.B))))}; this.onError=function(f){e.errorMessage=String(f);e.N=!0;e.onDone()}; this.j=new jO;this.D=window.AbortController?new AbortController:void 0;this.start(a)}; N3a=function(a){a.C.read().then(a.ma,a.onError).then(void 0,Opa)}; P3a=function(a,b,c){var d=this;c=void 0===c?{}:c;this.Nb=b;this.B=this.status=0;this.isDisposed=this.j=!1;this.xhr=new XMLHttpRequest;this.xhr.open(c.method||"GET",a);if(c.headers){a=c.headers;b=g.v(Object.keys(a));for(var e=b.next();!e.done;e=b.next())e=e.value,this.xhr.setRequestHeader(e,a[e])}this.xhr.responseType="arraybuffer";this.xhr.withCredentials=!0;this.xhr.onreadystatechange=function(f){d.HA(f)}; a=TO(function(f){d.onDone(f)}); this.xhr.addEventListener("load",a,!1);this.xhr.addEventListener("error",a,!1);c.body?this.xhr.send(c.body):this.xhr.send();this.xhr.addEventListener("progress",TO(function(f){d.Xe(f)}),!1)}; Q3a=function(a,b,c,d,e){if(RP(a.base))return new M3a(a,c);a=a.cf();return d?CLa()?new L3a(a,b,c,e):new O3a(a,b,c,e):new P3a(a,c,e)}; NZ=function(a,b,c,d,e,f,h,l,m){m=void 0===m?!1:m;g.J.call(this);this.Nb=a;this.policy=b;this.ue=c;this.resource=d;this.timing=e;this.logger=f;this.D=h;this.Mw=l;this.G=m;this.lastError=null;this.j=0;this.C=!1;this.B=new g.Bu(this.Waa,this.policy.Ki,this)}; R3a=function(a){a.Nb.Wv()||(a.resource.N=(0,g.rD)(),a=OZ(a),a.B=(0,g.rD)(),a.started+=1)}; S3a=function(a,b,c){a.timing.JP((0,g.rD)(),b,c);if(!a.Nb.Wv()&&(b=a.resource,b.B=0,b.G=0,b.K=0,eNa(OZ(a)),null!=(b=a.Mw)&&(a=a.ue.base,!((0,g.rD)()this.policy.Cy?!1:!0:!1)c=null,this.policy.yy&& this.policy.Pj?c=[1]:h&&(c=[]),null!=c&&(this.policy.UB&&c.push(2),this.ue.set("defsel",c.join(",")));this.Fd=new NZ(this,this.policy,this.ue,this.info.resource,this.timing,this.logger,d,p);this.UE=f||null;this.QA=h4a(this);R3a(this.Fd);d=void 0;if(this.policy.xx||this.Ck||this.policy.Aa){d={method:"POST"};f=(0,g.SZ)([120,0]);if(this.Ck||this.policy.xx)d.body=f;this.policy.Aa&&(p=this.info.ot(),d.body=p?g.NO(p,g.TUa):f)}if(this.kh&&this.Hj){this.ue.set("iwts","1");d={method:"POST"};f={nba:1E3*this.kh}; var x;p=null==(x=this.info.ot())?void 0:x.qB;x=g.NO({Gs:f,qB:p||void 0,videoPlaybackUstreamerConfig:this.Hj},g.TUa);d.body=x}if(this.Wv()||a.Uw&&5===this.info.eb[0].type)d=void 0;try{this.xhr=Q3a(this.ue,this.policy.N,this.timing,b,d),this.Fd.B.start(),this.policy.kG&&B3a(this.timing,this.cf()),this.logger.debug(function(){return"Sent, itag="+u.ue.get("itag")+" seg="+u.info.eb[0].Oa+" range="+u.ue.get("range")+" time="+Math.round(u.info.eb[0].C)+"-"+Math.round(g.xb(u.info.eb).D)+" rtp="+(u.timing.ZH()- Date.now()).toFixed(0)}),g.Tf(function(){})}catch(B){i4a(this,B,!0)}}; h4a=function(a){if(!(NQ(a.info)&&a.info.ip()&&a.policy.hd&&a.UE)||2<=a.info.resource.B||0b&&c.B.pop();t4a(a);a.B&&b=b&&(e.B.pop(),e.C-=bR(l,e.policy.bb),f=l.info)}f&&(e.G=0c?aZ(a,d):a.B=a.j.us(b-1,!1).eb[0]}; a_=function(a,b){var c;for(c=0;c=a.Aa:c}; b_=function(a){var b;return WZ(a)||YZ(a,null==(b=a.D.Wn())?void 0:b.info)}; w4a=function(a){var b=[],c=UZ(a);c&&b.push(c);b=g.Hb(b,a.D.yn());c=g.v(a.C);for(var d=c.next();!d.done;d=c.next()){d=d.value;for(var e=g.v(d.info.eb),f=e.next(),h={};!f.done;h={hB:h.hB},f=e.next())h.hB=f.value,d.xO&&(b=g.Zs(b,function(l){return function(m){return!VMa(m,l.hB)}}(h))),(IQ(h.hB)||4===h.hB.type)&&b.push(h.hB)}a.B&&!MMa(a.B,g.xb(b),a.B.j.Jn())&&b.push(a.B); return b}; v4a=function(a,b){if(!a.length)return!1;for(b+=1;b=b){b=f;break a}}b=e}return 0>b?NaN:v4a(a,c?b:0)?a[b].startTime:NaN}; c_=function(a){return!(!a.B||a.B.j===a.j)}; C4a=function(a){return c_(a)&&a.j.pg()&&a.B.j.info.Sbb&&d.Db)return!0;var c=a.Ad();return bb)return 1;c=a.Ad();return bd)return 0;a=PQ(c,hNa(a.info.resource,!0,b));return a.j||a.timedOut||a.started?0:2}; N4a=function(a,b,c){if(!(b.Ro&&a.isComplete()&&a.canRetry()&&OQ(a.info.resource,b,c)))return 0;a=PQ(c,hNa(a.info.resource,!1,b));return a.B+b.Ro*fNa(a,b,!0)>(0,g.rD)()?0:1}; d_=function(a,b,c,d,e,f,h,l,m,n,p,q,r){g.J.call(this);var t=this;this.Ba=a;this.policy=b;this.videoTrack=c;this.audioTrack=d;this.D=e;this.j=f;this.timing=h;this.G=l;this.schedule=m;this.manifest=n;this.C=p;this.Y=q;this.IK=r;this.ma=!1;this.eF="";this.al=null;this.dh=NaN;this.Aa=!1;this.B=null;this.kh=this.Z=NaN;this.Hj=null;this.oa=this.K=0;this.logger=new g.UX("dash");this.Gd={VO:function(u,x){return t.VO(u,x)}}; 0f&&(c=d.j.Vx(d,e-h.B)))),d=c):(0>d.Oa&&(c=KQ(d),c.pr=""+b.C.length,a.Ba.Zf()&&(c.sk="1"),c.snss=d.G,a.Ba.va("nosq",c)),d=h.nC(d));if(a.policy.oa)for(c=g.v(d.eb),e=c.next();!e.done;e=c.next())e.value.type=7}else d.j.Jn()?(c=L1a(a.G,b.j.info.Sb,c.j.info.Sb,0),d=d.j.Vx(d,c)):d=d.j.nC(d);if(a.B){var l=d.eb[0].j.info.id;c=a.j;e=d.eb[0].Oa;c=0>e&&!isNaN(c.D)? c.D:e;e=h2a(a.j,d.eb[0].C,c);var m=b===a.audioTrack?1:2;f=d.eb[0].j.info.tb;h=l.split(";")[0];a:{var n=a.j;if(n.j){var p=n.j.Xg.event;if(n.j.Oa===c){n="predictStart"===p?void 0:n.j.Xg.event;break a}if(n.j.Oa===c-1){n="start"===p||"continue"===p?p:void 0;break a}}n=void 0}if(a.policy.Aa&&0!==a.j.B){var q=a.B.ot(e,c,l,m,f,n);0>c&&2===m&&gZ(a.j,0,0,!0);if(q){var r;l=(null==(r=q.qB)?void 0:r.Ls)||"";var t;r=(null==(t=q.qB)?void 0:t.y_)||-1;a.Ba.va("sdai",{ssdaiinfo:"1",ds:l,skipsq:r,itag:h,f:f,sg:c,st:e.toFixed(3)}); d.D=q}}else if(t=a.B.pz(e,c,l,m,f,n),0>c&&2===m&&gZ(a.j,0,0,!0),t){r={dec_sq:c,itag:h,st:e.toFixed(3)};if(a.policy.cC&&b.isRequestPending(c-1)){a.Ba.va("sdai",{wt_daistate_on_sg:c-1});return}a.Ba.va("sdai",r);t&&(d.j=new g.OP(t));a.policy.B&&(t=d.resource.C.get("id")||"",r=(null==(q=d.j)?void 0:q.get("id"))||"",t!==r&&a.Ba.va("stmidmismatch",{cid:t,aid:r}))}else 5!==a.j.B&&a.Ba.va("sdai",{nodec_sq:c,itag:h,st:e.toFixed(3)})}a.policy.Al&&-1!==d.eb[0].Oa&&d.eb[0].Oa=e.N?(e.va("sdai",{haltrq:f+1,est:e.N}),d=!1):d=2!==e.B;if(!d||!iNa(b.B?b.B.j.resource:b.j.resource,a.policy,a.D)||a.Ba.isSuspended&&(!RR(a.schedule)||a.Ba.pH))return!1;if(a.policy.C&&5<=QS)return g.Cu(a.Ba.pE),!1;if(a.manifest.isManifestless){if(0=a.policy.Nl||!a.policy.VF&&0=a.policy.Ql)return!1;d=b.B;if(!d)return!0;4===d.type&&d.j.pg()&&(b.B=g.xb(d.j.iB(d)),d=b.B); if(!GQ(d)&&!d.j.qs(d))return!1;f=a.manifest.Xd||a.manifest.C;if(a.manifest.isManifestless&&f){f=b.j.index.Ad();var h=c.j.index.Ad();f=Math.min(f,h);if(0=f)return b.Aa=f,c.Aa=f,!1}if(d.j.info.audio&&4===d.type||GQ(d))return!1;f=!b.G&&!c.G;if(e=!e)e=d.D,e=!!(c.B&&!YZ(c,c.B)&&c.B.DR4a(a,b)?(R4a(a,b),!1):(a=b.dc)&&a.isLocked()?!1:!0}; R4a=function(a,b){var c=a.j;c=c.j?c.j.Xg:null;if(a.policy.oa&&c)return c.startSecs+c.Yh+15;b=f_(a.Ba,b);0f){if(a.policy.B){var n=e.timing.ws();n.rst=e.state;n.strm=e.xhr.DB();n.cncl=e.xhr&&e.Fd.C?1:0;e.Wv()&&(n.shost=QP(e.ue.base),n.pb=e.info.C);a.Ba.va("rqs",n)}e.m_&&a.Ba.va("sbwe3",{},!0)}if(!a.isDisposed()&&2<=e.state){var p=a.timing,q=e.info.eb[0].j,r=!p.G&&q.info.video,t=!p.B&&q.info.audio;3===e.state?r?p.tick("vrr"):t&&p.tick("arr"):4===e.state?r?(p.G=e.cf(),g.YC(),$C(4)):t&&(p.B=e.cf()):e.cw()&&r&&(g.YC(),$C(4));var u=a.Ba;a.kh&&e.PG&&u&&(a.kh=NaN,a.Ba.HR(e.PG),a.Ba.ZM(),a.Ba.va("cabrUtcSeek", {mediaTimeSeconds:e.PG}));e.oB&&a.kh&&e.oB&&!e.oB.action&&(a.Ba.XI(a.kh),a.kh=NaN,a.Ba.va("cabrUtcSeekFallback",{targetUtcTimeSeconds:a.kh}));a.policy.Ud&&e.iq&&a.Ba.KE(e.iq);if(3===e.state){a_(l,e);NQ(e.info)&&g_(a,l,h,!0);if(a.B){var x=e.info.pz();x&&a.B.Uk(e.info.eb[0].Oa,h.info.id,x)}a.Ba.Bf()}else if(e.isComplete()&&5===e.info.eb[0].type){if(4===e.state){var B=(e.info.eb[0].j.info.video?a.videoTrack:a.audioTrack).C[0]||null;B&&B instanceof YY&&B.Kv()&&B.GB(!0)}e.dispose()}else{e.Hn()||U4a(a, e);var F;(null==(F=e.aA)?0:F.HI)&&a.Ba.tJ(e.aA.HI);if(4===e.state)V4a(a,e),a.j&&g2a(a.j,e.info,a.B);else if(a.policy.Fu&&e.rl()&&!e.isComplete()&&!V4a(a,e)&&!e.Hn())break a;e.Hn()&&(a.ut(e),isNaN(a.kh)||(a.Ba.XI(a.kh),a.kh=NaN));a.Ba.Bf();var G=N4a(e,a.policy,a.D);T4a(a,e,G)}}}}}catch(H){f=a.ma?1:0,a.ma=!0,e=EK(f),f=FK(H,f),a.Ba.handleError(f.errorCode,f.details,f.severity),e||a.Ba.Nk()}},d)}; U4a=function(a,b){if(b.QA&&2<=b.state&&3!==b.state){var c=b.xhr.getResponseHeader("X-Response-Itag");if(c){a.logger.debug(function(){return"Applying streamer-selected format "+c}); var d=y2a(a.C,c),e=b.info.C;e&&(e-=d.bO(),d.C=!0,b.info.eb[0].j.C=!1,m4a(b,d.Jv(e)),h_(a.Ba,a.videoTrack,d),J4a(a.videoTrack,d),a.Ba.uQ(d.info.video.quality),(e=b.hO())&&d.info.lastModified&&d.info.lastModified!==+e&&a_(a.videoTrack,b))}else b.QA=!1}}; V4a=function(a,b){if(a.policy.useUmp&&b.isDisposed())return!1;try{var c=b.info.eb[0].j,d=c.info.video?a.videoTrack:a.audioTrack;if(a.manifest.isManifestless&&d){a.K=0;d.N&&(b.isDisposed(),b.isComplete()||b.rl(),d.N=!1);b.MN()&&a.Ba.bH.Ik(1,b.MN());var e=b.NH(),f=b.qW();tOa(a.manifest,e,f)}if(b.info.ip()&&!YMa(b.info))for(var h=g.v(b.zk()),l=h.next();!l.done;l=h.next())s4a(d,l.value);for(a.Ba.getCurrentTime();d.C.length&&4===d.C[0].state;){var m=d.C.shift();r4a(d,m);d.Ka=m.lW()}d.C.length&&r4a(d,d.C[0]); var n=!!cZ(d);n&&b instanceof XY&&(c.info.gi()?X1a(a.timing):W1a(a.timing));return n}catch(p){b=b.Jq();b.origin="hrhs";a:{a=a.Ba;c=p;if(c instanceof Error){b.msg||(b.msg=""+c.message);b.name||(b.name=""+c.name);if(c instanceof g.RC&&c.args)for(d=g.v(Object.entries(c.args)),e=d.next();!e.done;e=d.next())f=g.v(e.value),e=f.next().value,f=f.next().value,b["arg"+e]=""+f;g.xF(c);if("WARNING"===c.level){i_(a.qa,b);break a}}a.handleError("fmt.unplayable",b,1)}return!1}}; W4a=function(a){var b=a.videoTrack.j.index;a.al=new L4a({Pj:a.policy.Pj,Zi:a.policy.N.Zi,Ej:b.Ej,Ad:function(){return b.Ad()}, Fv:function(){return b.Fv()}})}; g_=function(a,b,c,d){if(!(c.pg()||c.Sz()||c.C||!iNa(c.resource,a.policy,a.D)||"f"===c.info.tb||a.policy.j)){if(d){d=a.G;var e=c.info;d=K1a(d,e.video?d.policy.Ax:d.policy.fl,e.Sb)}else d=0;d=c.Jv(d);a=e_(a,d);YMa(d)&&q4a(b,a);c.C=!0}}; j_=function(a,b,c,d,e,f){g.J.call(this);this.Ba=a;this.Ph=b;this.videoTrack=c;this.audioTrack=d;this.manifest=e;this.K=f;this.B=YS;this.logger=new g.UX("sabr");this.videoInfos=this.D=this.K.videoInfos;this.C=this.N=this.K.j;this.j=new jZ(b,f);X4a(this)}; Y4a=function(a,b){var c=[];b=g.v(b);for(var d=b.next();!d.done;d=b.next())c.push(TK(d.value,a.manifest.Ac));return c}; b5a=function(a,b){a.logger.debug("setConstraint: "+EP(b));"m"===b.reason?b.isLocked()&&Z4a(a,b.j):$4a(a,b)?a5a(a,b.B,b.j):a.videoInfos=a.D;a.B=b}; $4a=function(a,b){return a.Ph.QB?!0:"l"===b.reason||"b"===b.reason||"o"===b.reason}; c5a=function(a,b){return b.isLocked()&&a.j.C||void 0===a.B?!1:b.equals(a.B)}; Z4a=function(a,b){var c=a.j.j;if(c){var d=g.zb(a.videoInfos,function(e){return e.id===c}); d&&d.video.j===b?a.videoInfos=[d]:(a5a(a,b,b),mZ(a.j,""));a.j.C=!1}else a5a(a,b,b)}; a5a=function(a,b,c){a.videoInfos=a.D;a.videoInfos=g.Zs(a.videoInfos,function(d){return d.video.j>=b&&d.video.j<=c})}; X4a=function(a){var b=g.zb(a.N,function(c){var d;return!(null==(d=c.Mc)||!d.isDefault)}); b&&(a.C=[b])}; d5a=function(a,b){return a.map(function(c){return UK(c,b)})}; e5a=function(a){var b;if(null==(b=a.B)?0:b.isLocked())return a.videoInfos;var c=lZ(a.j);b=g.Zs(a.videoInfos,function(d){return!c.has(d.id)}); j2a(a.j)&&(b=g.Zs(b,function(d){return 854>=d.video.width&&480>=d.video.height})); return b}; k_=function(a){this.B={};this.logger=new g.UX(a)}; f5a=function(a){return a.itag+";"+(a.lmt||0)+";"+(a.xtags||"")}; l_=function(a,b){GZ.call(this,a,b);this.Ka=!0;this.ma=!1;this.Na=this.Y=0}; i5a=function(a){var b=LK[a],c=g5a[b],d=h5a[a];if(!d||!c)return null;var e=new JK(d.width,d.height,d.fps);c=aOa(c,e,b);return new MK(a,c,{video:e,Sb:d.bitrate/8})}; k5a=function(a){var b=g5a[LK[a]],c=j5a[a];return c&&b?new MK(a,b,{audio:new HK(c.audioSampleRate,c.numChannels)}):null}; m5a=function(a,b){var c=[];b=g.v(b);for(var d=b.next();!d.done;d=b.next()){d=d.value;var e=l5a[d]||0;a.j&&e>a.j||c.push(d)}return c}; q5a=function(a,b,c){b.push.apply(b,g.qa(n5a[a]||[]));c.L("html5_early_media_for_drm")&&(c.L("html5_add_drm_formats_to_test_format")?b.push.apply(b,g.qa(o5a[a]||[])):b.push.apply(b,g.qa(p5a[a]||[])))}; y5a=function(a,b){var c=pT(a),d=a.U().G;if(m_&&!d.j)return m_;var e=[],f=[],h={},l=[].concat(g.qa(r5a));a.L("html5_early_media_for_drm")&&(a.L("html5_add_drm_formats_to_test_format")&&(l.push(s5a),l.push(t5a),l.push(u5a),l.push(v5a)),a.L("allow_vp9_1080p_mq_enc")&&l.push(w5a));var m=[].concat(g.qa(x5a));c.Z&&(m[0]=["141"]);l=g.v(l);for(var n=l.next();!n.done;n=l.next()){var p=!1;n=g.v(n.value);for(var q=n.next();!q.done;q=n.next()){q=q.value;var r=i5a(q);if(r&&r.video&&!(OK(r)&&!c.Fa&&r.video.j>c.Ji)){var t= g.pJ(a.U().experiments,"html5_drm_live_byterate_soft_cap");0t||(p?(e.push(q),q5a(q,e,a)):(r=IP(c,r,d),!0===r?(p=!0,e.push(q),q5a(q,e,a)):h[q]=r))}}}m=g.v(m);for(l=m.next();!l.done;l=m.next())for(l=g.v(l.value),q=l.next();!q.done;q=l.next())if(p=q.value,(n=k5a(p))&&n.audio&&(a.L("html5_onesie_51_audio")||!PK(n)&&!QK(n)))if(n=IP(c,n,d),!0===n){f.push(p);q5a(p,f,a);break}else h[p]=n;c.B&&b("orfmts",h);m_={video:e,audio:f};d.j=!1;return m_}; A5a=function(a){return{T_:EO(a,1,z5a),Hba:BO(a,2)}}; B5a=function(a){return{TI:yO(a,1)}}; z5a=function(a){return{clipId:BO(a,1),Wr:CO(a,2,C5a),IP:CO(a,3,B5a)}}; C5a=function(a){return{Q0:BO(a,1),CZ:yO(a,2),Q7:yO(a,3),YX:yO(a,4),ZX:yO(a,5),DZ:yO(a,6)}}; D5a=function(a){return{type:yO(a,1),scope:yO(a,2),value:AO(a,3),sendByDefault:zO(a,4)}}; E5a=function(a){k_.call(this,"sabr");this.Nb=a}; n_=function(a,b,c,d,e,f,h){g.J.call(this);this.policy=a;this.info=b;this.manifest=c;this.Nb=e;this.logger=new g.UX("sabr");this.Ck=new LZ(this);this.hba=new E5a(this);this.vg=new XX(this);this.state=1;this.e_=!1;this.lR=0;this.clipId="";this.policy.py?this.Ye=new l_(this,f):this.Ye=new JZ(this,f);e=this.policy;e=ZMa(b.resource,F5a(b,e,d),e);b.ew()&&e.set("probe","1");this.ue=e;this.ue.set("rn",""+this.nt());O_a(this.vg,c,a);this.Fd=new NZ(this,this.policy,this.ue,b.resource,this.Ye,this.logger,d, h,this.policy.enableServerDrivenRequestCancellation);R3a(this.Fd);a={method:"POST"};a.body=b.B;try{this.xhr=Q3a(this.ue,this.policy.N,this.Ye,AR,a),this.Fd.B.start()}catch(l){g.xF(l)}}; G5a=function(a,b){var c=-1,d=-1,e=-1,f;if(null==(f=a.kR)?0:f.items)for(a=g.v(a.kR.items),f=a.next();!f.done;f=a.next())f=f.value,bt)&&!0===IP(f,r,l)){m.push({E0:H5a[LK[q]],maxWidth:r.video.width,maxHeight:r.video.height,maxFramerate:r.video.fps});break}}}}h=g.v(h);for(n= h.next();!n.done;n=h.next())for(n=g.v(n.value),q=n.next();!q.done;q=n.next())if(p=q.value,(q=k5a(p))&&q.audio&&(d.L("html5_onesie_51_audio")||!PK(q)&&!QK(q))&&!0===IP(f,q,l)){e.push({audioCodec:I5a[LK[p]],numChannels:q.audio.numChannels});break}b.mediaCapabilities={aL:m,LG:e}}var u;if(null==(u=a.Ph)?0:u.j&&u.ac){u=d.G;l=[];m=[];if((e=u.D)&&0h.yw&&(h.yw=n))}l.push(h)}}b.mediaCapabilities={aL:l,LG:m,k7:3}}var x,B;if((null==(x=a.Ph)?0:x.j&&x.Ia.L("html5_enable_sabr_hybrid_codec"))||(null==(B=a.Ph)?0:B.j&&B.ac)){b.Yn=f.Yn;var F;b.Ji=d.L("html5_sabr_update_av1_hybrid_threshold")?null==(F=a.Ph)?void 0:F.Ji:f.Ji}d.L("html5_prefer_drc")&& (b.y5=!0);b.MQ=a.UC;a.lr&&(b.bca=(0,g.rD)()-a.lr);a.isPrefetch&&d.L("html5_report_prefetch_requests")&&(b.isPrefetch=!0);AR||(b.j8=!0);d=1E3*PR(d.schedule);0a.Dw&&(b.Dw=a.Dw);c=c.getPlaybackRate();1!==c&&(b.playbackRate=c);var H;(null==(H=a.Ph)?0:H.gb)&&a.aq&&(b.ev=a.ev,b.qx=a.qx,b.aq=a.aq);return b}; M5a=function(a,b,c,d){b={playbackCookie:null==b?void 0:b.playbackCookie};d&&(b.YQ=d);b.VK=[];if(g.MT(a)&&0a;a++)s_[a]=255>=a?9:7;U5a.length=32;U5a.fill(5);t_.length=286;t_.fill(0);for(a=261;285>a;a++)t_[a]=Math.floor((a-261)/4);u_[257]=3;for(a=258;285>a;a++){var b=u_[a-1];b+=1<a;a++)V5a[a]=3>=a?0:Math.floor((a-2)/2);for(a=v_[0]=1;30>a;a++)b=v_[a-1],b+=1<a.output.length&&(a.output=new Uint8Array(2*a.C),a.C=0,a.B=0,a.D=!1,a.j=0,a.register=0)}a.output.length!==a.C&&(a.output=a.output.subarray(0,a.C));return a.error?new Uint8Array(0):a.output}; $5a=function(a,b,c){b=Y5a(b);c=Y5a(c);for(var d=a.data,e=a.output,f=a.C,h=a.register,l=a.j,m=a.B;;){if(15>l){if(m>d.length){a.error=!0;break}h|=(d[m+1]<<8)+d[m]<n)for(h>>=7;0>n;)n=b[(h&1)-n],h>>=1;else h>>=n&15;l-=n&15;n>>=4;if(256>n)e[f++]=n;else if(a.register=h,a.j=l,a.B=m,256a.j){var c=a.data,d=a.B;d>c.length&&(a.error=!0);a.register|=(c[d+1]<<8)+c[d]<>4;for(a6a(a,7);0>c;)c=b[w_(a,1)-c];return c>>4}; w_=function(a,b){for(;a.j=a.data.length)return a.error=!0,0;a.register|=a.data[a.B++]<>=b;a.j-=b;return c}; a6a=function(a,b){a.j-=b;a.register>>=b}; Y5a=function(a){for(var b=[],c=g.v(a),d=c.next();!d.done;d=c.next())d=d.value,b[d]||(b[d]=0),b[d]++;var e=b[0]=0;c=[];var f=0;d=0;for(var h=1;h>m&1;l=f<<4|h;if(7>=h)for(m=1<<7-h;m--;)d[m<>=7;h--;){d[m]||(d[m]=-b,b+=2);var n=e&1;e>>=1;m=n-d[m]}d[m]=l}}return d}; d6a=function(a,b){var c,d,e,f,h,l,m,n,p,q,r,t;return g.I(function(u){switch(u.j){case 1:if(b)try{c=b.exports.malloc(a.length);(new Uint8Array(b.exports.memory.buffer,c,a.length)).set(a);d=b.exports.getInflatedSize(c,a.length);e=b.exports.malloc(d);if(f=cO.Am(b.j?"gza":"gzw",function(){return b.exports.inflateGzip(c,a.length,e)}))throw Error("inflateGzip="+f); h=new Uint8Array(d);h.set(new Uint8Array(b.exports.memory.buffer,e,d));b.exports.free(e);b.exports.free(c);return u.return(h)}catch(x){g.wF(x),b.reload()}if(!("DecompressionStream"in window))return cO.isActive()?u.return(cO.Am("gzj",function(){return g.b6a(new g.W5a(a))})):u.return(g.b6a(new g.W5a(a))); l=new DecompressionStream("gzip");m=l.writable.getWriter();m.write(a);m.close();n=l.readable.getReader();p=new jO([]);if(cO.isActive())return u.return(cO.Am("gzn",function(){var x,B,F;return g.I(function(G){if(1==G.j)return g.y(G,n.read(),5);if(4!=G.j){x=G.B;B=x.value;if(F=x.done)return G.La(4);p.append(B);return G.La(1)}return G.return(mO(p))})})); case 2:return g.y(u,n.read(),5);case 5:q=u.B;r=q.value;if(t=q.done){u.La(4);break}p.append(r);u.La(2);break;case 4:return u.return(mO(p))}})}; e6a=function(a){k_.call(this,"onesie");this.qd=a;this.j={};this.D=!0;this.C=null;this.queue=new T5a(this);this.G={}}; f6a=function(a){var b=a.queue;b.j.length&&b.j[0].isEncrypted&&!b.B&&(b.j.length=0);b=g.v(Object.keys(a.j));for(var c=b.next();!c.done;c=b.next()){c=c.value;var d=a.j[c];if(!d.bX){var e=a.queue;e.j.push({videoId:d.videoId,formatId:c,isEncrypted:!1});e.B||r_(e)}}}; h6a=function(a,b){var c=b.getLength(),d=!1;switch(a.C){case 0:a.mQ(b,a.D).then(function(f){var h=a.qd;h.Nd("oprr");h.playerResponse=f;h.sP||(h.rF=!1);x_(h)},function(f){a.qd.fail(f)}); break;case 2:a.Nd("ormk");b=mO(b);var e;a.queue.decrypt(b,!g6a(a.qd),null==(e=a.qd.U())?void 0:e.bb);break;default:d=!0}a.qd.pm&&a.qd.va("ombup","id.11;pt."+a.C+";len."+c+(d?";ignored.1":""));a.C=null}; i6a=function(a){return new Promise(function(b){setTimeout(b,a)})}; j6a=function(a,b){var c=BR(b.W.experiments,"debug_bandaid_hostname");if(c)b=RX(b,c);else{var d;b=null==(d=b.j.get(0))?void 0:d.location.clone()}if((d=b)&&a.videoId){b=HR(a.videoId);a=[];if(b)for(b=g.v(b),c=b.next();!c.done;c=b.next())a.push(c.value.toString(16).padStart(2,"0"));d.set("id",a.join(""));return d}}; k6a=function(a,b,c){c=void 0===c?0:c;var d,e;return g.I(function(f){if(1==f.j)return d=[],d.push(b.load()),0d;d=f>d;if((!h||!d)&&a.policy.B&&a.policy.Ef){var l=a.Ba.lc();l.car=e;l.vac=f;l.mar=c;l.mvr=b;l.tar=a.B.targetAudioReadaheadMs;l.tvr=a.B.targetVideoReadaheadMs;a.Ba.va("sabrrnm",l)}return!h||!d}; y6a=function(a,b,c){var d={wd:a.wd,Yw:function(f,h){a.qa.iF(f,h)}, ip:a.policy.Pf,vN:a.policy.B},e=F5a(b,a.policy,a.C)?2:1;e!==a.G&&(a.G=e,B6a(a));c=A6a(a,c);N5a(b,c,a.Ba.nj());b=new n_(a.policy,b,a.manifest,a.C,a,d,a.Ba.Az());dZ(a.timing);return b}; D6a=function(a,b){if(!b.isDisposed()&&!a.isDisposed()){if(a.policy.B&&b.isComplete()&&b instanceof n_){var c=a.Ba,d=c.va;var e=Object.assign(b.Ye.ws(),{rst:b.state,strm:b.xhr.DB(),d:A3a(b.Ye),cncl:b.xhr&&b.Fd.C?1:0});e=Object.assign(P5a(b.info),e);d.call(c,"rqs",e)}if(b.isComplete()&&b.ew())b.dispose();else{if(b.EX())B6a(a),C6a(a);else if(b.Hn())a.ut(b);else{if(a.Ba.isSuspended&&!b.isComplete())return;C6a(a)}b.isDisposed()||b instanceof z_||(b.isComplete()?c=N4a(b,a.policy,a.C):(c=M4a(b,a.policy, a.C),1===c&&(a.Y=!0)),0!==c&&(b=new o_(1,b.info.resource),b.j=2===c,y6a(a,b)))}}a.Ba.Bf()}; C6a=function(a){for(;a.j.length&&a.j[0].hX(a.Ve());){var b=a.j.shift();E6a(a,b)}a.j.length&&E6a(a,a.j[0])}; E6a=function(a,b){if(a.policy.Lb){var c=new Set(b.Iq(a.Ve()));c=g.v(c);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(!(d=!(b instanceof z_))){var f=a.D,h=f.manifest.Ac;d=d5a(f.C,h);f=d5a(f.videoInfos,h);d=d.includes(e)||f.includes(e)}if(d&&b.rl(e,a.Ve())){d=b.zk(e,a.Ve());e=b.yn(e,a.Ve());if(a.policy.D&&(f=e[0].j.info,(h=a.Ba.nj())&&f)){var l=b.kW();l!==h.qa.getVideoData().clientPlaybackNonce&&(h=mY(h.timeline,l))&&(h=h[0].getVideoData())&&(f.gi()?h.D=f:h.B=f)}d=g.v(d);for(h=d.next();!h.done;h= d.next()){f=h.value;a.policy.B&&b instanceof z_&&a.Ba.va("omblss",{s:f.info.Qd()});h=f.info.j.info.gi();l=f.info.j;if(h){var m=a.D;l!==m.G&&(m.G=l,m.sJ(l,m.audioTrack))}else m=a.D,l!==m.Z&&(m.Z=l,m.sJ(l,m.videoTrack));l=h?a.audioTrack:a.videoTrack;b instanceof z_&&(l.N=!1,b instanceof z_&&(h?X1a(a.timing):W1a(a.timing)));VZ(l,e,f)}}}}else for(e=b.jW()||rZ(a.N),c=new Set(b.Iq(a.Ve())),a.policy.D?d=c:d=[(null==(f=e.video)?void 0:UK(f.info,a.manifest.Ac))||"",(null==(h=e.audio)?void 0:UK(h.info,a.manifest.Ac))|| ""],e=g.v(d),d=e.next();!d.done;d=e.next())if(d=d.value,c.has(d)&&b.rl(d,a.Ve()))for(f=b.zk(d,a.Ve()),f=g.v(f),h=f.next();!h.done;h=f.next()){h=h.value;a.policy.B&&b instanceof z_&&a.Ba.va("omblss",{s:h.info.Qd()});l=b.yn(d,a.Ve());var n=(m=h.info.j.info.gi())?a.audioTrack:a.videoTrack;b instanceof z_&&(n.N=!1,b instanceof z_&&(m?X1a(a.timing):W1a(a.timing)));VZ(n,l,h)}}; F6a=function(a,b){for(var c=[],d=0;d=a.policy.jw,h=!1;if(f){var l=0;!isNaN(b)&&b>a.G&&(l=b-a.G,a.G=b);l/e=a.policy.pj&&!a.C;if(!f&&!c&&L6a(a,b))return NaN;c&&(a.C=!0);a:{d=h;c=(0,g.rD)()/1E3-(a.Vy.Pi()||0)-a.N.B-a.policy.ob;f=a.B.startTime;c=f+c;if(d){if(isNaN(b)){B_(a,NaN,"n",b);f=NaN;break a}d=b-a.policy.lj;d=f.C&&d<=f.D){d=!0;break a}d=!1}if(!d)return a.va("ostmf",{ct:a.currentTime,a:b.j.info.gi()}),!1;a.policy.Km&&null!=(a=a.Aa)&&(a.pd.get(c).EG=!0);return!0}; R6a=function(a){if(!a.manifest.Ac)return!0;var b=a.qa.getVideoData();if(b.L("html5_skip_live_preroll_onesie")&&D_(a.qa)||b.L("html5_skip_live_preroll_onesie_post_live")&&D_(a.qa)&&(b.Xd||b.isPremiere))return a.va("ombpa",{}),!1;var c,d;if(a.policy.gy&&!!(null==(c=a.ma)?0:null==(d=c.VX)?0:d.yaa)!==a.manifest.Xd)return a.va("ombplmm",{}),!1;c=b.Db||b.liveUtcStartSeconds||b.lj;if(a.manifest.Xd&&c)return a.va("ombplst",{}),!1;if(a.manifest.oa)return a.va("ombab",{}),!1;c=Date.now();return vOa(a.manifest)&& !isNaN(a.Ea)&&c-a.Ea>1E3*a.policy.PA?(a.va("ombttl",{}),!1):a.manifest.qf&&a.manifest.C||!a.policy.yC&&a.manifest.isPremiere||rT(b)?!1:!0}; S6a=function(a,b){var c=b.j,d=a.manifest.Ac;if(R6a(a))if(a.Aa&&a.Aa.pd.has(UK(c.info,d))){if(d=UK(c.info,d),Q6a(a,b)){var e=new LQ(a.Aa.yn(d)),f=function(h){try{if(h.Hn())a.handleError(h.Pg(),h.Jq()),a_(b,h),NQ(h.info)&&g_(a.D,b,c,!0),a.Bf();else if(V4a(a.D,h)){var l;null==(l=a.C)||g2a(l,h.info,a.Y);a.Bf()}}catch(m){h=FK(m),a.handleError(h.errorCode,h.details,h.severity),a.Nk()}}; c.C=!0;YMa(e)&&(q4a(b,new XY(a.policy,d,e,a.Aa,f)),dZ(a.timing))}}else a.va("ombfmt",{})}; E_=function(a,b){b=b||a.videoTrack&&a.videoTrack.B&&a.videoTrack.B.startTime||a.currentTime;var c=h_,d=a.videoTrack,e=a.j;b=e.nextVideo&&e.nextVideo.index.Kh(b)||0;e.Fa!==b&&(e.Ka={},e.Fa=b,oZ(e,e.j));b=!e.j.isLocked()&&-1b.j&&"b"===b.reason;d||e||c?i_(a.qa,{reattachOnConstraint:d?"u":e?"drm":"perf",lo:b.B,up:b.j}):H_(a)}}else if(!q2a(a.j,b)&&a.videoTrack){a.logger.debug(function(){return"Setting constraint: r="+b.reason+" u="+b.j}); c=a.j.j;Y6a(a,s2a(a.j,b));E_(a);d=b.isLocked()&&"m"===b.reason&&a.j.Aa;e=a.policy.Qe&&"l"===b.reason&&c_(a.videoTrack);c=c.j>b.j&&"b"===b.reason;var f=a.j.bb&&!lL();d||e||c||f?i_(a.qa,{reattachOnConstraint:d?"u":e?"drm":f?"codec":"perf"}):H_(a)}}; $6a=function(a,b,c){if((!a.Ua||pL(a.Ua)&&!a.policy.Hm)&&!a.B.Zf()&&(BV(a.policy)||c_(b)&&b.j.pg()&&a.j.oa)){var d=a.currentTime+M1a(a.Z,b,c);a.logger.debug(function(){return"Clearing back to "+d.toFixed(3)}); z4a(b,d)}}; Y6a=function(a,b){b&&(a.logger.debug(function(){return"Logging new format: "+XK(b.video.info)}),a7a(a.qa,new iZ(b.video,b.reason))); if(a.j.Ya){var c=rZ(a.j,"a");a.qa.Gw(new iZ(c.audio,c.reason))}}; H_=function(a){g.Cu(a.rb)}; b7a=function(a,b){var c=(0,g.rD)()-b,d=1E3*ZZ(a.audioTrack,!0),e=1E3*ZZ(a.videoTrack,!0);a.logger.debug(function(){return"Appends paused for "+c}); if(a.policy.B&&(a.va("apdpe",{dur:c.toFixed(),abuf:d.toFixed(),vbuf:e.toFixed()}),CV(a.policy))){var f=VY(a.Z);a.va("sdps",{ct:b,ah:d.toFixed(),vh:e.toFixed(),mr:N1a(a.Z,a.er,f),bw:f.toFixed(),js:a.Zf(),re:+a.er,ps:(a.policy.iG||"").toString(),rn:(a.policy.gG||"").toString()})}}; c7a=function(a){var b=a.policy;if(b.D&&b.Ia.L("html5_pause_ssap_append_on_nonvideo")&&(K4a(a.videoTrack)||K4a(a.audioTrack)))return"ssap";if(I4a(a.videoTrack))return a.logger.debug("Pausing appends for server-selectable format"),"ssf";if(a.policy.Rm||b_(a.audioTrack)||b_(a.videoTrack)&&"f"!==a.videoTrack.j.info.tb)return"";if(a.B.Zf()){var c=a.Z;b=a.videoTrack;var d=a.audioTrack;if(c.policy.j){var e=c.policy.fd;CV(c.policy)&&(e=N1a(c,!1,VY(c)));c=e;b=ZZ(d,!0)>=c&&ZZ(b,!0)>=c}else b.C.length||d.C.length? (e=b.j.info.Sb+d.j.info.Sb,e=10*(1-VY(c)/e),c=Math.max(e,c.policy.fd),b=ZZ(d,!0)>=c&&ZZ(b,!0)>=c):b=!0;if(!b)return"abr";b=a.videoTrack;if(0a.currentTime||360E4a(f.Z))return a.B.Zf()&&H_(a),!1;e7a(a,b,c,d.info);if(a.manifest.B&&0===d.info.Xb){if(e=f7a(b,c,d))f=UZ(b),a.va("initchg",{it:d.info.j.info.id,sr:!!f&&f.j===d.info.j,ty:d.info.type,seg:d.info.Oa});f=g.RK(d.info.j.info);a.policy.Db&&f&&!e&&FNa(d)}e= a.K&&!!a.K.D&&b.j.info.audio;f=a.manifest.isManifestless||d.C;if(!(a.manifest.B&&0!==d.info.Xb||f&&!e)&&g7a(a,c,d))return!0;if(e)return!1;e=f_(a,b);if(d.info.C>a.currentTime+e)return a.policy.j&&!a.Fa&&(a.Fa=(0,g.rD)()),!1;a.Fa&&(a.Fa=0);var h;a.policy.hc&&c===(null==(h=a.Ua)?void 0:h.j)&&a.Va&&(0===c.eI()?(a.Va=!1,a.policy.hc=!1):a.Ya=c.eI());if(!h7a(a,c,d))return!1;b.nu(d);v2a(a.j,d.info);a.logger.debug(function(){return"Appended "+d.info.Qd()+", buffered: "+cL(c.wf())}); return!0}; h7a=function(a,b,c){var d=a.policy.Ea?(0,g.rD)():0,e=c.C?c.info.j.j:null,f=c.j;c.C&&(f=j7a(a,c,f)||f);var h=mO(f);f=a.policy.Ea?(0,g.rD)():0;e=k7a(a,b,h,c.info,e);a.policy.Ea&&(!c.info.Xb||c.info.gf||10>c.info.C)&&(b=b.lc({as:c.info.Qd(),pdur:Math.round(f-d),adur:Math.round((0,g.rD)()-f)}),b.omt=(a.getCurrentTime()+a.Pc()).toFixed(3),b.to=a.Pc(),a.va("sba",b));if("s"===e)return a.Ka&&(a.logger.debug("Retry succeed, back to normal append logic."),a.Ka=!1,a.ob=!1),a.gb=0,!0;if("i"===e||"x"===e)return l7a(a, "checked",e,c.info),!1;if("q"===e){if(!a.Ka)return a.logger.debug("QuotaExceeded, retrying."),a.Ka=!0,!1;if(a.policy.aC&&!a.ob)return a.ob=!0,a.qa.seekTo(a.currentTime,{xd:"quotaExceeded",Bq:!0}),!1;c.info.gh()?(b=a.policy,b.ma=Math.floor(.8*b.ma),b.Fc=Math.floor(.8*b.Fc),b.Y=Math.floor(.8*b.Y)):(b=a.policy,b.Sa=Math.floor(.8*b.Sa),b.Y=Math.floor(.8*b.Y));BV(a.policy)?kZ(a.G.j,c.info.j,!1):qZ(a.j,c.info.j)}i_(a.qa,{reattachOnAppend:e});return!1}; j7a=function(a,b,c){var d;if(d=a.policy.mp&&a.Ua&&!a.Ua.Z&&!a.qa.uH())b=b.info.j.info,d=b.Ne()&&NK(b)&&b.video&&3840>b.video.width&&b.video.width>b.video.height;if(d&&(a.Ua.Z=!0,aL('video/webm; codecs="vp09.00.50.08.01.01.01.01.00"; width=3840; height=2160')))return c=c3a(c),a.policy.B&&a.va("sp4k",{s:!!c}),c}; l7a=function(a,b,c,d){var e="fmt.unplayable",f=1;"x"===c||"m"===c?(e="fmt.unparseable",BV(a.policy)?!d.j.info.video||0a.gb?(a.gb++,e="html5.invalidstate",f=0):e="fmt.unplayable");d=KQ(d);var h;d.mrs=null==(h=a.Ua)?void 0:tL(h);d.origin=b;d.reason=c;a.handleError(e,d,f)}; u3a=function(a,b,c,d,e){var f=a.manifest;var h=!1,l=-1;for(p in f.j){var m=VK(f.j[p].info.mimeType)||f.j[p].info.gh();if(d===m)if(m=f.j[p].index,m.Gp(b.Oa)){if(!f.Sa){h=b;var n=m.fn(h.Oa);n&&n.startTime!==h.startTime?(m.segments=[],m.JL(h),h=!0):h=!1}h&&(l=b.Oa)}else m.JL(b),h=!0}if(0<=l){var p={};f.ra("clienttemp","resetMflIndex",(p[d?"v":"a"]=l,p),!1)}f=h;U1a(a.B,b,d,f);a.C.jQ(b,c,d,e);b.Oa===a.manifest.qf&&f&&jR(a.manifest)&&b.startTime>jR(a.manifest)&&(a.manifest.Ib=b.startTime+(isNaN(a.timestampOffset)? 0:a.timestampOffset),a.B.Zf()&&a.B.j=b&&P6a(a,d.startTime,!1)}); return c&&c.startTimea.getCurrentTime())return c.start/1E3;return Infinity}; g.J_=function(a){this.Wc=a}; K_=function(){g.PF.apply(this,arguments)}; L_=function(a,b,c,d){K_.call(this);var e=this;this.C=-1;this.j={};this.D=new g.Bu(this.G,0,this);g.L(this,this.D);this.B=new g.Bu(function(){e.isDisposed()||(e.D.start(Math.random()*c),e.B.start(b))},a,this); g.L(this,this.B);d.subscribe("fairplay_next_need_key_info",this.K,this)}; s7a=function(a){if(!(28>=a.length))for(var b=(0,g.SZ)([60,0,75,0,73,0,68,0,62,0]),c=28;cd;++d)b[d]=a[c+2*d];a=qO(b);a=tg(a);if(!a)break;c=a[0];a[0]=a[3];a[3]=c;c=a[1];a[1]=a[2];a[2]=c;c=a[4];a[4]=a[5];a[5]=c;c=a[6];a[6]=a[7];a[7]=c;return a}c++}}; M_=function(a,b){K_.call(this);var c=this;this.C=a;this.j=[];this.B=new g.Bu(function(){c.ra("log_qoe",{wvagt:"timer",reqlen:c.j?c.j.length:-1});if(c.j){if(0d;d++)c[2*d]=''.charCodeAt(d);a=a.C.createSession("video/mp4",b,c);return new P_(null,null,null,null,a)}; $7a=function(a,b){var c=a.K[b.sessionId];!c&&a.D&&(c=a.D,a.D=null,c.sessionId=b.sessionId,a.K[b.sessionId]=c);return c}; X7a=function(a,b){var c=a.subarray(4);c=new Uint16Array(c.buffer,c.byteOffset,c.byteLength/2);c=String.fromCharCode.apply(null,c).match(/ek=([0-9a-f]+)/)[1];for(var d="",e=0;e=c&&(a=.75*c),b=.5*(c-a),c=new L_(b,c,c-b-a,this)):c=null;break a;case "widevine":c=new M_(c,this);break a;default:c=null}if(this.G=c)g.L(this,this.G),this.G.subscribe("rotated_need_key_info_ready",this.WU,this),this.G.subscribe("log_qoe",this.cj,this);AOa(this.W.experiments);this.cj({cks:this.j.ph()})}; b8a=function(a){var b=a.D.CM();b?b.then(TO(function(){d8a(a)}),TO(function(c){if(!a.isDisposed()){g.wF(c); var d="t.a";c instanceof DOMException&&(d+=";n."+c.name+";m."+c.message);a.ra("licenseerror","drm.unavailable",1,d,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK")}})):(a.cj({mdkrdy:1}),a.Y=!0); a.ma&&(b=a.ma.CM())}; f8a=function(a,b,c){a.Sa=!0;c=new yZ(b,c);a.W.L("html5_eme_loader_sync")&&(a.K.get(b)||a.K.set(b,c));e8a(a,c)}; e8a=function(a,b){if(!a.isDisposed()){a.cj({onInitData:1});if(a.W.L("html5_eme_loader_sync")&&a.videoData.C&&a.videoData.C.j){var c=a.N.get(b.initData);b=a.K.get(b.initData);if(!c||!b)return;b=c;c=b.initData;a.K.remove(c);a.N.remove(c)}a.cj({initd:b.initData.length,ct:b.contentType});if("widevine"===a.j.flavor)if(a.Fa&&!a.videoData.isLivePlayback)S_(a);else{if(!(a.W.L("vp9_drm_live")&&a.videoData.isLivePlayback&&b.Ne)){a.Fa=!0;c=b.cryptoPeriodIndex;var d=b.j;X2a(b);b.Ne||(d&&b.j!==d?a.ra("ctmp","cpsmm", {emsg:d,pssh:b.j}):c&&b.cryptoPeriodIndex!==c&&a.ra("ctmp","cpimm",{emsg:c,pssh:b.cryptoPeriodIndex}));a.ra("widevine_set_need_key_info",b)}}else a.WU(b)}}; d8a=function(a){if(!a.isDisposed())if(a.W.L("html5_drm_set_server_cert")&&!g.AJ(a.W)||tR(a.j)){var b=a.D.setServerCertificate();b?b.then(TO(function(c){a.W.Lc()&&a.ra("ctmp","ssc",{success:c})}),TO(function(c){a.ra("ctmp","ssce",{n:c.name, m:c.message})})).then(TO(function(){g8a(a)})):g8a(a)}else g8a(a)}; g8a=function(a){a.isDisposed()||(a.Y=!0,a.cj({onmdkrdy:1}),S_(a))}; h8a=function(a){return"widevine"===a.j.flavor&&a.videoData.L("html5_drm_cpi_license_key")}; S_=function(a){if((a.Sa||a.W.L("html5_widevine_use_fake_pssh"))&&a.Y&&!a.Ea){for(;a.C.length;){var b=a.C[0],c=h8a(a)?Y2a(b):g.rg(b.initData);if(tR(a.j)&&!b.B)a.C.shift();else{if(a.B.get(c))if("fairplay"!==a.j.flavor||tR(a.j)){a.C.shift();continue}else a.B.delete(c);X2a(b);break}}a.C.length&&a.createSession(a.C[0])}}; i8a=function(a){var b;if(b=g.eC()){var c;b=!(null==(c=a.D.B)||!c.getMetrics)}b&&(b=a.D.getMetrics())&&(b=g.sO(b),a.ra("ctmp","drm",{metrics:b}))}; j8a=function(a){g.J.call(this);var b=this;this.qa=a;this.Ia=this.qa.U();this.videoData=this.qa.getVideoData();this.lE=0;this.G=this.B=!1;this.D=0;this.C=g.pJ(this.Ia.experiments,"html5_delayed_retry_count");this.j=new g.Bu(function(){T_(b.qa)},g.pJ(this.Ia.experiments,"html5_delayed_retry_delay_ms")); g.L(this,this.j)}; o8a=function(a,b,c){var d=a.videoData.B,e=a.videoData.D;if(("progressive.net.retryexhausted"===b||"fmt.unplayable"===b||"fmt.decode"===b)&&!a.qa.ll.D&&d&&"22"===d.itag)return a.qa.ll.D=!0,a.oe("qoe.restart",{reason:"fmt.unplayable.22"}),k8a(a.qa),!0;var f=!1;if(a.videoData.isExternallyHostedPodcast){if(f=a.videoData.paa)c.mimeType=f.type,a.va("3pp",{url:f.url});c.ns="3pp";a.qa.Ag(b,1,"VIDEO_UNAVAILABLE",CK((new DK(b,c,1)).details));return!0}var h=a.lE+3E4<(0,g.rD)()||a.j.isActive();if(a.Ia.L("html5_empty_src")&& a.videoData.isAd()&&"fmt.unplayable"===b&&/Empty src/.test(""+c.msg))return c.origin="emptysrc",a.oe("auth",c),!0;h||bUa(a.qa.An())||(c.nonfg="paused",h=!0,a.qa.pauseVideo());("fmt.decode"===b||"fmt.unplayable"===b)&&(null==e?0:PK(e)||QK(e))&&(XOa(a.Ia.G,e.tb),c.acfallexp=e.tb,f=h=!0);!h&&0=a.Ia.ac)return!1;b.exiled=""+a.Ia.ac;a.oe("qoe.start15s",b);a.qa.ra("playbackstalledatstart");return!0}; m8a=function(a){return a.B?!0:"yt"===a.Ia.Ea?a.videoData.Sa?25>a.videoData.Lb:!a.videoData.Lb:!1}; n8a=function(a){if(!a.B){a.B=!0;var b=a.qa.getPlayerState();b=b.isPaused()||b.isSuspended();a.qa.oo();b&&!LT(a.videoData)||a.qa.ra("signatureexpired")}}; p8a=function(a,b){if((a=a.qa.lf())&&("fmt.unplayable"===b.errorCode||"html5.invalidstate"===b.errorCode)){var c=a.Pg();b.details.merr=c?c.toString():"0";b.details.mmsg=a.xf()}}; q8a=function(a){return"net.badstatus"===a.errorCode&&(1===a.severity||!!a.details.fmt_unav)}; r8a=function(a,b){return a.Ia.L("html5_use_network_error_code_enums")&&403===b.details.rc||"403"===b.details.rc?(a=b.errorCode,"net.badstatus"===a||"manifest.net.retryexhausted"===a):!1}; t8a=function(a,b){if(!r8a(a,b)&&!a.B)return!1;b.details.sts="19681";if(m8a(a))return EK(b.severity)&&(b=Object.assign({e:b.errorCode},b.details),b=new DK("qoe.restart",b)),a.oe(b.errorCode,b.details),n8a(a),!0;6048E5<(0,g.rD)()-a.Ia.Sf&&s8a(a,"signature");return!1}; s8a=function(a,b){try{window.location.reload(),a.oe("qoe.restart",{detail:"pr."+b})}catch(c){}}; u8a=function(a,b){var c=a.Ia.G;c.K=!1;c.j=!0;a.oe("qoe.restart",{e:void 0===b?"fmt.noneavailable":b,detail:"hdr"});T_(a.qa,!0)}; v8a=function(a,b,c,d){this.videoData=a;this.j=b;this.reason=c;this.B=d}; w8a=function(a,b,c){this.W=a;this.HF=b;this.qa=c;this.N=this.G=this.j=this.C=this.K=this.B=0;this.D=!1;this.Z=g.pJ(this.W.experiments,"html5_displayed_frame_rate_downgrade_threshold")||45}; y8a=function(a,b,c){!a.W.L("html5_tv_ignore_capable_constraint")&&g.AJ(a.W)&&(c=c.compose(x8a(a,b)));return c}; A8a=function(a,b){var c,d=z8a(a,null==(c=b.j)?void 0:c.videoInfos);c=a.qa.getPlaybackRate();return 1(0,g.rD)()-a.C?0:f||0a.Z||!e||g.AJ(a.W))return!1;a.j=(60e?a.j+1:0;if(3!==a.j)return!1;D8a(a,b.videoData.B);a.qa.va("dfd",Object.assign({dr:c.droppedVideoFrames,de:c.totalVideoFrames},F8a()));return!0}; D8a=function(a,b){var c=b.tb,d=b.video.fps;b=b.video.j-1;var e=wP();c=xLa(c,d);0<+e[c]&&(b=Math.min(+e[c],b));e[c]!==b&&(e[c]=b,g.JC("yt-player-performance-cap",e,604800));a.qa.xo()}; H8a=function(a,b){if(!b.j.j)return a.D?new zP(0,360,!1,"b"):YS;for(var c=!1,d=!1,e=g.v(b.j.videoInfos),f=e.next();!f.done;f=e.next())OK(f.value)?c=!0:d=!0;d=c&&d;c=0;f=g.pJ(a.W.experiments,"html5_performance_cap_floor");e=a.W.B?240:f;var h=g.v(b.j.videoInfos);for(f=h.next();!f.done;f=h.next()){var l=f.value;if(!d||!OK(l))if(f=xP(l.tb,l.video.fps),l=l.video.j,Math.max(f,e)>=l){c=l;break}}b=b.j.videoInfos[0];if(a=a.L("html5_ps4_shorts_1080p_soft_cap")&&!g.cC("ps4 pro")&&Joa())a=b.video,a=1e?(c&&(d=J8a(a,c,d)),new zP(0,d,!1,"e")):YS}; J8a=function(a,b,c){if(a.L("html5_optimality_defaults_chooses_next_higher")&&c)for(a=b.j.videoInfos,b=1;ba.B)){var b=g.rN(a.provider),c=b-a.D;a.D=b;8===a.playerState.state?a.playTimeSecs+=c:g.EL(a.playerState)&&!g.FG(a.playerState,16)&&(a.rebufferTimeSecs+=c)}}; O8a=function(a){var b;switch(null==(b=a.W.playerCanaryStage)?void 0:b.toLowerCase()){case "xsmall":return"HTML5_PLAYER_CANARY_STAGE_XSMALL";case "small":return"HTML5_PLAYER_CANARY_STAGE_SMALL";case "medium":return"HTML5_PLAYER_CANARY_STAGE_MEDIUM";case "large":return"HTML5_PLAYER_CANARY_STAGE_LARGE";default:return"HTML5_PLAYER_CANARY_STAGE_UNSPECIFIED"}}; Q8a=function(a,b){b?P8a.test(a):(a=g.FB(a),Object.keys(a).includes("cpn"))}; S8a=function(a,b,c,d,e,f,h){var l={format:"RAW"},m={};if(IB(a)&&JB()){if(h){var n;2!==(null==(n=R8a.uaChPolyfill)?void 0:n.state.type)?h=null:(h=R8a.uaChPolyfill.state.data.values,h={"Synth-Sec-CH-UA-Arch":h.architecture,"Synth-Sec-CH-UA-Model":h.model,"Synth-Sec-CH-UA-Platform":h.platform,"Synth-Sec-CH-UA-Platform-Version":h.platformVersion,"Synth-Sec-CH-UA-Full-Version":h.uaFullVersion});m=Object.assign(m,h);l.withCredentials=!0}(h=g.uB("EOM_VISITOR_DATA"))?m["X-Goog-EOM-Visitor-Id"]=h:d?m["X-Goog-Visitor-Id"]= d:g.uB("VISITOR_DATA")&&(m["X-Goog-Visitor-Id"]=g.uB("VISITOR_DATA"));c&&(m["X-Goog-PageId"]=c);(d=b.oa)&&!nS(b)&&(m["X-Goog-AuthUser"]=d);b.experiments.jb("enable_eom_webview_header")&&g.uB("WEBVIEW_EOM",!1)&&(m["X-Yt-Webview-Eom"]="1");e&&(m.Authorization="Bearer "+e);h||m["X-Goog-Visitor-Id"]||e||c||d?l.withCredentials=!0:b.L("html5_send_cpn_with_options")&&P8a.test(a)&&(l.withCredentials=!0)}0h;h++)f+="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[Math.floor(52*Math.random())];d.videoDecoderName=f;d.elapsedTimeMs=e;b.push(d)}return b}; W8a=function(a,b){IO(a,1,b.elapsedTimeMs);LO(a,3,b.videoDecoderName)}; X8a=function(a,b){LO(a,1,b.cpn);IO(a,2,b.sequenceNumber);LO(a,3,b.serializedWatchEndpointLoggingContext);var c;if(b.decoderInfo)for(c=0;ca.C.wY+100&&a.C){var d=a.C,e=d.isAd;c=1E3*c-d.wY;a.Na=1E3*b-d.eba-c-d.Paa;c=(0,g.rD)()-c;b=a.Na;d=a.provider.videoData;var f=d.isAd();if(e||f){f=(e?"ad":"video")+"_to_"+(f?"ad":"video");var h={};d.G&&(h.cttAuthInfo={token:d.G,videoId:d.videoId});h.startTime=c-b;NH(f,h);g.MH({targetVideoId:d.videoId,targetCpn:d.clientPlaybackNonce},f);OH("pbs",c,f)}else c=a.provider.qa.di(),c.K!==d.clientPlaybackNonce? (c.G=d.clientPlaybackNonce,c.B=b):g.nT(d)||g.xF(new g.RC("CSI timing logged before gllat",{cpn:d.clientPlaybackNonce}));a.va("gllat",{l:a.Na.toFixed(),prev_ad:+e});delete a.C}}; a9a=function(a,b){b=void 0===b?NaN:b;b=0<=b?b:g.rN(a.provider);var c=a.provider.qa.ID(),d=c.Rr-(a.Va||0);0a.j)&&2=a.provider.videoData.gb;return!!b}; y9a=function(a){a.provider.videoData.remarketingUrl&&!a.Fa&&(f0(a,a.provider.videoData.remarketingUrl),a.Fa=!0);a.provider.videoData.youtubeRemarketingUrl&&!a.Na&&(f0(a,a.provider.videoData.youtubeRemarketingUrl),a.Na=!0);a.provider.videoData.googleRemarketingUrl&&!a.Aa&&(f0(a,a.provider.videoData.googleRemarketingUrl),a.Aa=!0);a.provider.videoData.ppvRemarketingUrl&&!a.Ea&&(f0(a,a.provider.videoData.ppvRemarketingUrl),a.Ea=!0);a.IB()}; F9a=function(a){if(!a.isDisposed()&&a.B){a.K="paused";var b=h0(a);b.isFinal=!0;b.send();a.dispose()}}; G9a=function(a,b,c){if(!a.ma){c||(c=d0(a,"atr"));c.attestationResponse=b;try{c.send()}catch(d){if("Unknown Error"!==d.message)throw d;}a.ma=!0}}; f0=function(a,b){var c=a.provider.W;g.uS(a.provider.W,g.JT(a.provider.videoData)).then(function(d){var e=a.provider.W.pageId,f=a.provider.W.sendVisitorIdHeader?a.provider.videoData.visitorData:void 0,h=a.provider.W.L("vss_pings_using_networkless")||a.provider.W.L("kevlar_woffle"),l=a.provider.W.L("allow_skip_networkless");d=S8a(b,c,e,f,d);T8a(b,d,{token:a.provider.videoData.G,eS:a.provider.videoData.Jm,mdxEnvironment:a.provider.videoData.mdxEnvironment},c,void 0,h&&!l,!1,!0)})}; H9a=function(){this.endTime=this.startTime=-1;this.G="-";this.playbackRate=1;this.visibilityState=0;this.D="";this.B=0;this.compositeLiveStatusToken=this.C=void 0;this.volume=this.connectionType=0;this.muted=!1;this.j=this.clipId="-";this.previouslyEnded=!1}; i0=function(a,b,c){this.videoData=a;this.W=b;this.qa=c;this.j=void 0}; g.rN=function(a){return I9a(a)()}; I9a=function(a){if(!a.j){var b=g.gb(function(d){var e=(0,g.rD)();d&&631152E6>=e&&(a.qa.va("ytnerror",{issue:28799967,value:""+e}),e=(new Date).getTime()+2);return e},a.W.L("html5_validate_yt_now")),c=b(); a.j=function(){return Math.round(b()-c)/1E3}; a.qa.oQ()}return a.j}; C9a=function(a){var b=a.qa.Nq()||{};b.fs=a.qa.aE();b.volume=a.qa.getVolume();b.muted=a.qa.isMuted()?1:0;b.mos=b.muted;b.inview=a.qa.yD();b.size=a.qa.pD();b.clipid=a.qa.oz();a=a.videoData;var c={};a.B&&(c.fmt=a.B.itag,a.D&&a.D.itag!=a.B.itag&&(c.afmt=a.D.itag));c.ei=a.eventId;c.list=a.playlistId;c.cpn=a.clientPlaybackNonce;a.videoId&&(c.v=a.videoId);a.wl&&(c.infringe=1);(a.Tf?0:a.Ug)&&(c.splay=1);var d=uT(a);d&&(c.live=d);a.cq&&(c.sautoplay=1);a.ql&&(c.autoplay=1);a.wy&&(c.sdetail=a.wy);a.Ea&&(c.partnerid= a.Ea);a.osid&&(c.osid=a.osid);a.aC&&(c.cc=g.cQa(a.aC));return Object.assign(b,c)}; Z8a=function(a){if(navigator.connection&&navigator.connection.type)return J9a[navigator.connection.type]||J9a.other;if(g.AJ(a.W)){a=navigator.userAgent;if(/[Ww]ireless[)]/.test(a))return 3;if(/[Ww]ired[)]/.test(a))return 30}return 0}; $_=function(a){var b=new H9a,c;b.G=(null==(c=C9a(a).cc)?void 0:c.toString())||"-";b.playbackRate=a.qa.getPlaybackRate();c=a.qa.getVisibilityState();0!==c&&(b.visibilityState=c);a.W.Ib&&(b.B=1);b.C=a.videoData.jw;b.compositeLiveStatusToken=a.videoData.compositeLiveStatusToken;c=a.qa.getAudioTrack();c.Mc&&c.Mc.id&&"und"!==c.Mc.id&&(b.D=c.Mc.id);b.connectionType=Z8a(a);b.volume=a.qa.getVolume();b.muted=a.qa.isMuted();b.clipId=a.qa.oz()||"-";b.j=a.videoData.jU||"-";return b}; g.j0=function(a,b){g.J.call(this);var c=this;this.provider=a;this.D=!1;this.C=new Map;this.Gd={uib:function(){return c.qoe}, Fib:function(){return c.j}, eib:function(){return c.B}}; this.provider.videoData.Fe()&&!this.provider.videoData.Ml&&(this.j=new c0(this.provider),g.L(this,this.j),this.qoe=new g.X_(this.provider,b),g.L(this,this.qoe),this.provider.videoData.enableServerStitchedDai&&(this.Yg=this.provider.videoData.clientPlaybackNonce)&&this.C.set(this.Yg,this.j));if("canary"===a.W.playerCanaryState||"holdback"===a.W.playerCanaryState)this.B=new U_(this.provider),g.L(this,this.B)}; FY=function(a){a.B&&M8a(a.B);a.qoe&&j9a(a.qoe)}; K9a=function(a){if(a.qoe){a=a.qoe;a.provider.videoData.Po&&Y_(a,a.provider.videoData.Po);if(a.provider.videoData.isLivePlayback){var b=a.provider.videoData.j;iT(a.provider.videoData)&&Y_(a,"manifestless");b&&kR(b)&&Y_(a,"live-segment-"+kR(b).toFixed(1))}hT(a.provider.videoData)&&Y_(a,"sabr");a.provider.videoData.gatewayExperimentGroup&&(b=a.provider.videoData.gatewayExperimentGroup,"EXPERIMENT_GROUP_SPIKY_AD_BREAK_EXPERIMENT"===b?b="spkadtrt":"EXPERIMENT_GROUP_SPIKY_AD_BREAK_CONTROL"===b&&(b="spkadctrl"), Y_(a,b));"yt"!==a.provider.W.Ea&&(a.j.len=[a.provider.videoData.lengthSeconds.toFixed(2)]);a.provider.videoData.cotn&&!LT(a.provider.videoData)&&a.dK(!0);a.provider.W.Lc()&&(b=S_a())&&a.va("cblt",{m:b});rT(a.provider.videoData)&&(a.provider.qa.getProximaLatencyPreference()?Y_(a,"proximaui"):Y_(a,"proximaexp"))}}; c1a=function(a){if(a.provider.qa.nj()){if(a.D)return;a.D=!0}a.j&&z9a(a.j);if(a.B){a=a.B;var b=g.rN(a.provider);0>a.j&&(a.j=b,a.delay.start());a.B=b;a.D=b}}; L9a=function(a){if(a.provider.videoData.enableServerStitchedDai&&a.Yg){var b;null!=(b=a.C.get(a.Yg))&&a0(b.j)}else a.j&&a0(a.j.j)}; d1a=function(a){a.B&&a.B.send();if(a.qoe){var b=a.qoe;if(b.K){"PL"===b.hf&&(b.hf="N");var c=g.rN(b.provider);g.W_(b,c,"vps",[b.hf]);b.N||(0<=b.B&&(b.j.user_intent=[b.B.toString()]),b.N=!0);b.provider.W.Lc()&&b.va("finalized",{});b.Fa=!0;b.reportStats(c)}}if(a.provider.videoData.enableServerStitchedDai)for(b=g.v(a.C.values()),c=b.next();!c.done;c=b.next())F9a(c.value);else a.j&&F9a(a.j);a.dispose()}; M9a=function(a,b){a.j&&G9a(a.j,b)}; N9a=function(a){if(!a.j)return null;var b=d0(a.j,"atr");return function(c){a.j&&G9a(a.j,c,b)}}; O9a=function(a,b,c,d){c.adFormat=c.Ef;var e=b.qa;b=new c0(new i0(c,b.W,{getDuration:function(){return c.lengthSeconds}, getCurrentTime:function(){return e.getCurrentTime()}, Oi:function(){return e.Oi()}, nj:function(){return e.nj()}, ID:function(){return e.ID()}, getPlayerSize:function(){return e.getPlayerSize()}, getAudioTrack:function(){return c.getAudioTrack()}, getPlaybackRate:function(){return e.getPlaybackRate()}, MD:function(){return e.MD()}, getVisibilityState:function(){return e.getVisibilityState()}, di:function(){return e.di()}, Nq:function(){return e.Nq()}, getVolume:function(){return e.getVolume()}, isMuted:function(){return e.isMuted()}, aE:function(){return e.aE()}, oz:function(){return e.oz()}, yD:function(){return e.yD()}, pD:function(){return e.pD()}, getProximaLatencyPreference:function(){return e.getProximaLatencyPreference()}, oQ:function(){e.oQ()}, zE:function(){e.zE()}, va:function(f,h){e.va(f,h)}})); b.C=d;g.L(a,b);return b}; P9a=function(){this.Zu=0;this.C=this.Eu=this.Rr=this.B=NaN;this.j={};this.bandwidthEstimate=NaN}; k0=function(a,b,c){g.J.call(this);var d=this;this.W=a;this.qa=b;this.B=c;this.j=new Map;this.Yg="";this.Gd={Ap:function(){return Array.from(d.j.keys())}}}; Q9a=function(){this.j=g.Zza;this.array=[]}; S9a=function(a,b,c){var d=[];for(b=R9a(a,b);bc)break}return d}; T9a=function(a,b){var c=[];a=g.v(a.array);for(var d=a.next();!d.done&&!(d=d.value,d.contains(b)&&c.push(d),d.start>b);d=a.next());return c}; U9a=function(a){return a.array.slice(R9a(a,0x7ffffffffffff),a.array.length)}; R9a=function(a,b){a=Wb(a.array,function(c){return b-c.start||1}); return 0>a?-(a+1):a}; V9a=function(a,b){var c=NaN;a=g.v(a.array);for(var d=a.next();!d.done;d=a.next())if(d=d.value,d.contains(b)&&(isNaN(c)||d.endb&&(isNaN(c)||d.starta.mediaTime+a.C&&b(d||!a.B?1500:400);a.mediaTime=b;a.timeStamp=c;return!1}; $9a=function(a,b){this.videoData=a;this.j=b}; a$a=function(a,b,c){return HRa(b,c).then(function(){return YB(new $9a(b,b.C))},function(d){d instanceof Error&&g.xF(d); var e=ZK('video/mp4; codecs="avc1.42001E, mp4a.40.2"'),f=aL('audio/mp4; codecs="mp4a.40.2"'),h=e||f,l=b.isLivePlayback&&!g.SOa(a.G,!0);d="fmt.noneavailable";l?d="html5.unsupportedlive":h||(d="html5.missingapi");h=l||!h?2:1;e={buildRej:"1",a:b.Pv(),d:!!b.Fc,drm:b.rj(),f18:0<=b.Rf.indexOf("itag=18"),c18:e};b.j&&(b.rj()?(e.f142=!!b.j.j["142"],e.f149=!!b.j.j["149"],e.f279=!!b.j.j["279"]):(e.f133=!!b.j.j["133"],e.f140=!!b.j.j["140"],e.f242=!!b.j.j["242"]),e.cAAC=f,e.cAVC=aL('video/mp4; codecs="avc1.42001E"'), e.cVP9=aL('video/webm; codecs="vp9"'));b.K&&(e.drmsys=b.K.keySystem,f=0,b.K.j&&(f=Object.keys(b.K.j).length),e.drmst=f);return new DK(d,e,h)})}; b$a=function(a){this.G=a;this.C=this.B=0;this.D=new cV(50)}; o0=function(a,b,c){g.PF.call(this);this.videoData=a;this.experiments=b;this.Z=c;this.B=[];this.D=0;this.C=!0;this.G=!1;this.K=0;c=new c$a;"ULTRALOW"===a.latencyClass&&(c.D=!1);a.ob?c.B=3:g.yT(a)&&(c.B=2);"NORMAL"===a.latencyClass&&(c.G=!0);var d=g.pJ(b,"html5_liveness_drift_proxima_override");rT(a)&&d&&(c.j=d);if(g.cC("trident/")||g.cC("edge/"))c.C=Math.max(c.C,g.pJ(b,"html5_platform_minimum_readahead_seconds")||3);g.pJ(b,"html5_minimum_readahead_seconds")&&(c.C=g.pJ(b,"html5_minimum_readahead_seconds")); g.pJ(b,"html5_maximum_readahead_seconds")&&(c.K=g.pJ(b,"html5_maximum_readahead_seconds"));b.jb("html5_force_adaptive_readahead")&&(c.D=!0);if(b=g.pJ(b,"html5_liveness_drift_chunk_override"))c.j=b;qT(a)&&(c.j=(c.j+1)/5,"LOW"===a.latencyClass&&(c.j*=2));this.policy=c;this.N=1!==this.policy.B;this.j=n0(this,d$a(this,isNaN(a.liveChunkReadahead)?3:a.liveChunkReadahead,a))}; e$a=function(a,b){if(b)return b=a.videoData,b=d$a(a,isNaN(b.liveChunkReadahead)?3:b.liveChunkReadahead,b),n0(a,b);if(a.B.length){if(1=c-a}; g$a=function(a,b,c){b=q0(a,b);c||b?b&&(a.C=!0):a.C=!1;a.N=2===a.policy.B||3===a.policy.B&&a.C}; h$a=function(a,b){b=q0(a,b);a.G!==b&&a.ra("livestatusshift",b);a.G=b}; d$a=function(a,b,c){c.ob&&b--;qT(c)&&(b=1);rT(c)&&(a=g.pJ(a.experiments,"html5_live_chunk_readahead_proxima_override"))&&(b=a);return b}; p0=function(a){return a.videoData.j?kR(a.videoData.j)||5:5}; n0=function(a,b){b=Math.max(Math.max(1,Math.ceil(a.policy.C/p0(a))),b);return Math.min(Math.min(8,Math.floor(a.policy.K/p0(a))),b)}; c$a=function(){this.C=0;this.K=Infinity;this.D=!0;this.j=2;this.B=1;this.G=!1}; t0=function(a){g.J.call(this);this.qa=a;this.W=this.qa.U();this.D=this.j=0;this.C=new g.Bu(this.Bf,1E3,this);this.Sa=new r0({delayMs:g.pJ(this.W.experiments,"html5_seek_timeout_delay_ms")});this.ma=new r0({delayMs:g.pJ(this.W.experiments,"html5_long_rebuffer_threshold_ms")});this.Va=s0(this,"html5_seek_set_cmt");this.Aa=s0(this,"html5_seek_jiggle_cmt");this.Fa=s0(this,"html5_seek_new_elem");this.ob=s0(this,"html5_unreported_seek_reseek");this.Z=s0(this,"html5_long_rebuffer_jiggle_cmt");this.Y=new r0({delayMs:2E4}); this.Ea=s0(this,"html5_seek_new_elem_shorts");this.Na=s0(this,"html5_seek_new_media_source_shorts_reuse");this.Ka=s0(this,"html5_seek_new_media_element_shorts_reuse");this.N=s0(this,"html5_gapless_handoff_started_long_rebuffer");this.K=s0(this,"html5_gapless_handoff_close_end_long_rebuffer");this.G=s0(this,"html5_ads_preroll_lock_timeout");this.Ya=new r0({delayMs:g.pJ(this.W.experiments,"html5_skip_slow_ad_delay_ms")||5E3,cz:!this.W.L("html5_report_slow_ads_as_error")});this.bb=new r0({delayMs:g.pJ(this.W.experiments, "html5_skip_slow_ad_delay_ms")||5E3,cz:!this.W.L("html5_skip_slow_buffering_ad")});this.gb=new r0({delayMs:g.pJ(this.W.experiments,"html5_slow_start_timeout_delay_ms")});this.oa=s0(this,"html5_slow_start_no_media_source");this.B={};g.L(this,this.C)}; s0=function(a,b){var c=g.pJ(a.W.experiments,b+"_delay_ms");a=a.W.L(b+"_cfl");return new r0({delayMs:c,cz:a})}; u0=function(a,b,c,d,e,f,h,l){b.test(c)?(a.oe(e,b,h),b.cz||f()):(b.iK&&b.B&&!b.D?(c=(0,g.rD)(),d?b.j||(b.j=c):b.j=0,f=!d&&c-b.B>b.iK,c=b.j&&c-b.j>b.hR||f?b.D=!0:!1):c=!1,c&&(l=Object.assign({},a.lc(b),l),l.wn=h,l.we=e,l.wsuc=d,a.qa.va("workaroundReport",l),d&&(b.reset(),a.B[e]=!1)))}; r0=function(a){var b=void 0===a?{}:a;a=void 0===b.delayMs?0:b.delayMs;var c=void 0===b.hR?1E3:b.hR,d=void 0===b.iK?3E4:b.iK;b=void 0===b.cz?!1:b.cz;this.j=this.B=this.C=this.startTimestamp=0;this.D=!1;this.G=Math.ceil(a/1E3);this.hR=c;this.iK=d;this.cz=b}; l$a=function(a){g.J.call(this);var b=this;this.qa=a;this.W=this.qa.U();this.videoData=this.qa.getVideoData();this.policy=new i$a;this.Ea=new t0(this.qa);this.playbackData=null;this.rb=new g.GK;this.N=this.B=this.Ba=this.mediaElement=null;this.j=NaN;this.C=0;this.Na=NaN;this.D=null;this.Sa=NaN;this.G=this.Y=null;this.ma=!1;this.ob=g.pJ(this.W.experiments,"html5_qoe_lh_max_report_count");this.sb=g.pJ(this.W.experiments,"html5_qoe_lh_min_duration_ms");this.Db=NaN;this.ac=0;this.oa=!1;this.Ka=new g.Bu(function(){j$a(b, !1)},2E3); this.hc=new g.Bu(function(){v0(b)}); this.bb=new g.Bu(function(){b.ma=!0;k$a(b,{})}); this.timestampOffset=0;this.Aa=!0;this.Ya=0;this.Lb=NaN;this.Fa=new g.Bu(function(){var c=b.W.Pf;c.j+=1E4/36E5;c.j-c.C>1/6&&(jPa(c),c.C=c.j);b.Fa.start()},1E4); this.gb=this.Va=!1;this.Z=0;this.K=-1;this.Ib=!1;g.L(this,this.Ea);g.L(this,this.rb);g.L(this,this.Ka);g.L(this,this.bb);g.L(this,this.hc);g.L(this,this.Fa)}; n$a=function(a,b){a.playbackData=b;a.videoData.isLivePlayback&&(a.N=new b$a(function(){a:{if(a.playbackData&&a.playbackData.j.j){if(iT(a.videoData)&&a.Ba){var c=a.Ba.bH.Pi()||0;break a}if(a.videoData.j){c=a.videoData.j.ma;break a}}c=0}return c}),a.B=new o0(a.videoData,a.W.experiments,function(){return a.Me(!0)})); m$a(a)||(a.C=a.C||(g.MT(a.videoData)?0:a.videoData.startSeconds)||0)}; p$a=function(a,b){(a.Ba=b)?o$a(a,!0):w0(a)}; r$a=function(a,b){var c=a.getCurrentTime(),d=a.isAtLiveHead(c);if(a.N&&d){var e=a.N;if(e.j&&!(c>=e.B&&ce.D||3E3>g.kb()-e.K||(e.K=g.kb(),e.B.push(f),50=a.ob,0!==a.sb&&b<=a.sb||c||(b=a.qa.uc(),b.qoe&&b9a(b.qoe,d),a.Va=d,a.ac++,a.Db=a.getCurrentTime())))}; j$a=function(a,b){if(a.B){var c=a.B;var d=a.getCurrentTime();!q0(c,d)&&c.Yq()?(c.policy.G&&(c.policy.j=Math.max(c.policy.j+1,10)),c=Infinity):c=d=a.Me()-.1){a.j= a.Me();a.D.resolve(a.Me());jY(a.qa);return}try{var c=a.j-a.timestampOffset;a.mediaElement.seekTo(c);a.Ea.j=c;a.Sa=c;a.C=a.j}catch(d){}}}}; x$a=function(a){if(!a.mediaElement||0===a.mediaElement.Ek()||a.mediaElement.hasError())return!1;var b=0a.Me()||dMath.random())try{g.xF(new g.RC("b/152131571",btoa(f)))}catch(Y){}return u.return(Promise.reject(new DK(r,{backend:"gvi"},t)))}})}; N$a=function(a,b){function c(B){return d(B.xhr)} function d(B){if(!a.isDisposed()){B=B?B.status:-1;var F=0,G=((0,g.rD)()-p).toFixed();G=e.L("html5_use_network_error_code_enums")?{backend:"gvi",rc:B,rt:G}:{backend:"gvi",rc:""+B,rt:G};var H="manifest.net.connect";429===B?(H="auth",F=2):200r.j&&3!==r.provider.qa.getVisibilityState()&&M8a(r)}q.qoe&&(q=q.qoe,q.Ya&&0>q.B&&q.provider.W.Qf&& j9a(q));p.Ba&&z0(p);p.W.Ro&&!p.videoData.backgroundable&&p.mediaElement&&!p.Lh()&&(p.isBackground()&&p.mediaElement.xG()?(p.va("bgmobile",{suspend:1}),p.oo(!0,!0)):p.isBackground()||A0(p)&&p.va("bgmobile",{resume:1}))}; this.Gd={Sp:function(q){p.Sp(q)}, Jjb:function(q){p.Ce=q}, nib:function(){return p.gA}, RH:function(){return p.hA}, Qhb:function(){return p.JG}}; this.logger.debug(function(){return"creating, type "+b}); this.Ni=new l0(function(){return p.getCurrentTime()},function(){return p.getPlaybackRate()},function(){return p.getPlayerState()},function(q,r){q!==g.WJ("endcr")||g.FG(p.playerState,32)||jY(p); e(q,r,p.playerType)}); g.L(this,this.Ni);g.L(this,this.Zc);S$a(this,m);this.videoData.subscribe("dataupdated",this.baa,this);this.videoData.subscribe("dataloaded",this.VM,this);this.videoData.subscribe("dataloaderror",this.handleError,this);this.videoData.subscribe("ctmp",this.va,this);this.videoData.subscribe("ctmpstr",this.cK,this);this.iN();n0a(this.wg);this.visibility.subscribe("visibilitystatechange",this.wg)}; rL=function(a){return a.L("html5_not_reset_media_source")&&!a.rj()&&!a.videoData.isLivePlayback&&g.nT(a.videoData)}; S$a=function(a,b){if(2===a.playerType||a.W.To)b.L0=!0;var c=gQa(b.Ef,b.kz,a.W.D,a.W.K);c&&(b.adFormat=c);2===a.playerType&&(b.ql=!0);if(a.isFullscreen()||a.W.D)c=g.KC("yt-player-autonavstate"),b.autonavState=c||(a.W.D?2:a.videoData.autonavState);b.endSeconds&&b.endSeconds>b.startSeconds&&C0(a,b.endSeconds)}; U$a=function(a){if(a.videoData.Y){var b=a.Pd.Bd();a.videoData.Uw=a.videoData.Uw||(null==b?void 0:b.ON());a.videoData.wx=a.videoData.wx||(null==b?void 0:b.RN())}if(SRa(a.videoData)||!eSa(a.videoData))b=a.videoData.errorDetail,a.Ag(a.videoData.errorCode||"auth",2,unescape(a.videoData.errorReason),b,b,a.videoData.dn||void 0);a.videoData.Sf=a.getUserAudio51Preference();a.L("html5_generate_content_po_token")&&T$a(a)}; V$a=function(a){d1a(a.gA);g.sb(a.gA);for(var b=a.hA,c=g.v(b.j.values()),d=c.next();!d.done;d=c.next())d1a(d.value);b.j.clear();g.sb(a.hA)}; W$a=function(a){return a.mediaElement&&a.mediaElement.Ou()?a.mediaElement.zb():null}; D0=function(a){if(a.L("html5_check_video_data_errors_before_playback_start")&&a.videoData.errorCode)return!1;if(a.videoData.Fe())return!0;a.Ag("api.invalidparam",2,void 0,"invalidVideodata.1");return!1}; g.iY=function(a,b){(b=void 0===b?!1:b)||g.MT(a.videoData)||FY(a.uc());a.Ft=b;!D0(a)||a.Wp.Gt()?g.AJ(a.W)&&a.videoData.isLivePlayback&&a.Wp.Gt()&&!a.Wp.finished&&!a.Ft&&a.VM():(a.Wp.start(),b=a.uc(),g.rN(b.provider),b.qoe&&e9a(b.qoe),a.VM())}; X$a=function(a){var b=a.videoData;Q$a(a).then(void 0,function(c){a.videoData!==b||b.isDisposed()||(c=FK(c),"auth"===c.errorCode&&a.videoData.errorDetail?a.Ag(c.errorCode,2,unescape(a.videoData.errorReason),CK(c.details),a.videoData.errorDetail,a.videoData.dn||void 0):a.handleError(c))})}; x0a=function(a,b){a.Wc=b;a.Ba&&o7a(a.Ba,new g.J_(b))}; Z$a=function(a){if(!g.FG(a.playerState,128))if(a.videoData.isLoaded(),a.logger.debug("finished loading playback data"),a.Vp=g.Jb(a.videoData.Fa),g.wT(a.videoData)){a.Ub.tick("bpd_s");E0(a).then(function(){a.Ub.tick("bpd_c");if(!a.isDisposed()){a.Ft&&(a.vc(AL(AL(a.playerState,512),1)),A0(a));var c=a.videoData;c.endSeconds&&c.endSeconds>c.startSeconds&&C0(a,c.endSeconds);a.Wp.finished=!0;F0(a,"dataloaded");a.Cr.Gt()&&Y$a(a);L8a(a.ll,a.cg)}}); a.L("html5_log_media_perf_info")&&a.va("loudness",{v:a.videoData.Pf.toFixed(3)},!0);var b=fSa(a.videoData);b&&a.va("playerResponseExperiment",{id:b},!0);a.BM()}else F0(a,"dataloaded")}; E0=function(a){G0(a);a.cg=null;var b=a$a(a.W,a.videoData,a.Lh());a.RE=b;a.RE.then(function(c){$$a(a,c)},function(c){a.isDisposed()||(c=FK(c),a.visibility.isBackground()?(H0(a,"vp_none_avail"),a.RE=null,a.Wp.reset()):(a.Wp.finished=!0,a.Ag(c.errorCode,c.severity,"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",CK(c.details))))}); return b}; k8a=function(a){a.logger.debug("Updating for format change");E0(a).then(function(){return A0(a)}); g.DL(a.playerState)&&a.playVideo()}; $$a=function(a,b){if(!a.isDisposed()&&!b.videoData.isDisposed()){a.logger.debug("finished building playback data");a.cg=b;n$a(a.Zc,a.cg);if(a.videoData.isLivePlayback){var c=w1a(a.Pd.Ot,a.videoData.videoId)||a.Ba&&!isNaN(a.Ba.Ea);c=a.L("html5_onesie_live")&&c;0mPa(b.W.Pf,"sticky-lifetime")?"auto":CP[vP()]:d=CP[vP()],d=g.AP("auto",d,!1,"s");if(BP(d)){d=x8a(b,c);var e=d.compose,f;a:if((f=c.j)&&f.videoInfos.length){for(var h=g.v(f.videoInfos),l=h.next();!l.done;l=h.next()){l=l.value;var m=void 0;if(null==(m=l.B)?0:m.smooth){f=l.video.j;break a}}f=f.videoInfos[0].video.j}else f=0;Hoa()&&!g.AJ(b.W)&&NK(c.j.videoInfos[0])&& (f=Math.min(f,g.IK.large));d=e.call(d,new zP(0,f,!1,"o"));e=d.compose;f=4320;!b.W.B||g.aS(b.W)||b.W.L("hls_for_vod")||b.W.L("mweb_remove_360p_cap")||(f=g.IK.medium);(h=g.pJ(b.W.experiments,"html5_default_quality_cap"))&&c.j.j&&(b.W.L("html5_always_apply_default_quality_cap")||!c.videoData.wk&&!c.videoData.le)&&(f=Math.min(f,h));h=g.pJ(b.W.experiments,"html5_random_playback_cap");l=/[a-h]$/;h&&l.test(c.videoData.clientPlaybackNonce)&&(f=Math.min(f,h));if(l=h=g.pJ(b.W.experiments,"html5_hfr_quality_cap"))a:{l= c.j;if(l.j)for(l=g.v(l.videoInfos),m=l.next();!m.done;m=l.next())if(32h&&0!==h&&b.j===h)){var l;f=z8a(c,null==(l=e.j)?void 0:l.videoInfos);l=c.qa.getPlaybackRate();1n&&(n+=l.j);for(var p=0;pa.Ua.getDuration()&&a.Ua.Cl(e)}else a.Ua.Cl(d);W6a(a.Ba,a.Ua,c);a.ra("mediasourceattached")}}; a7a=function(a,b){dab(a,b.reason,b.j.info,b.videoId)}; T_=function(a,b,c){b=void 0===b?!1:b;c=void 0===c?!1:c;var d,e,f;return g.I(function(h){if(1==h.j){a.Ba&&a.Ba.Ov();a.Ba&&a.Ba.isDisposed()&&G0(a);if(a.L("html5_enable_vp9_fairplay")&&a.rj()&&null!=(d=a.videoData.j)){var l=d,m;for(m in l.j)l.j.hasOwnProperty(m)&&(l.j[m].j=null,l.j[m].C=!1)}a.vc(AL(a.playerState,2048));a.ra("newelementrequired");return b?g.y(h,E0(a),2):h.La(2)}a.videoData.Ac()&&(null==(e=a.Ba)?0:e.Ea)&&((f=a.isAtLiveHead())&&gT(a.videoData)?a.seekTo(Infinity,{xd:"videoPlayer_getNewElement"}): a.videoData.Xd&&a.Ba&&(l=a.Ba,l.manifest.Ac&&(l.manifest.Xd||l.manifest.C||l.manifest.isPremiere?(l.seek(0,{xd:"loader_resetSqless"}),l.videoTrack.N=!0,l.audioTrack.N=!0,l.videoTrack.G=!0,l.audioTrack.G=!0):vOa(l.manifest)&&I_(l))));c&&a.seekTo(0);g.FG(a.playerState,8)&&a.playVideo();g.Aa(h)})}; i0a=function(a,b){a.va("newelem",{r:b});T_(a)}; oab=function(a,b){a.Ub.D.QP();g.FG(a.playerState,32)||(a.vc(AL(a.playerState,32,null==b?void 0:b.seekSource)),g.FG(a.playerState,8)&&a.pauseVideo(!0),a.ra("beginseeking",a));a.Ec()}; G0a=function(a,b){b=null==b?void 0:b.seekSource;g.FG(a.playerState,32)?(a.vc(CL(a.playerState,16,32,b)),a.ra("endseeking",a)):g.FG(a.playerState,2)||a.vc(AL(a.playerState,16,b));a.Ub.D.VP(a.videoData,a.playerState.isPaused())}; fUa=function(a){var b=0,c="";if(a.Wc){if(a.Wc.qp)return"D,";b=a.Wc.NN()}else a.wc&&(b=a.wc.NN(),c=a.wc.Og.substring(0,4));return 0a.KX+6283){if(!(!a.isAtLiveHead()||a.videoData.j&&nOa(a.videoData.j))){var b=a.uc();if(b.qoe){b=b.qoe;var c=b.provider.qa.ID(),d=g.rN(b.provider);$8a(b,d,c);c=c.C;isNaN(c)||g.W_(b,d,"e2el",[c.toFixed(3)])}}g.yJ(a.W)&&a.va("rawlat",{l:fV(a.WR,"rawlivelatency").toFixed(3)});a.KX=Date.now()}a.videoData.B&&SK(a.videoData.B)&&(b=W$a(a))&&b.videoHeight!==a.fP&&(a.fP=b.videoHeight,dab(a,"a",fab(a,a.videoData.bb)))}; fab=function(a,b){if("auto"===b.j.video.quality&&SK(b.ph())&&a.videoData.jd)for(var c=g.v(a.videoData.jd),d=c.next();!d.done;d=c.next())if(d=d.value,d.getHeight()===a.fP&&"auto"!==d.j.video.quality)return d.ph();return b.ph()}; R$a=function(a){if(!gT(a.videoData))return NaN;var b=0;a.Ba&&a.videoData.j&&(b=iT(a.videoData)?a.Ba.bH.Pi()||0:a.videoData.j.ma);return(0,g.rD)()/1E3-a.bf()-b}; wab=function(a){a.mediaElement&&a.mediaElement.Lh()&&(a.LI=(0,g.rD)());a.W.Yo?g.NB(function(){vab(a)},0):vab(a)}; vab=function(a){var b;if(null==(b=a.Ua)||!b.qm()){if(a.mediaElement)try{a.PJ=a.mediaElement.playVideo()}catch(d){H0(a,"err."+d)}if(a.PJ){var c=a.PJ;c.then(void 0,function(d){a.logger.debug(function(){return"playMediaElement failed: "+d}); if(!g.FG(a.playerState,4)&&!g.FG(a.playerState,256)&&a.PJ===c)if(d&&"AbortError"===d.name&&d.message&&d.message.includes("load"))a.logger.debug(function(){return"ignore play media element failure: "+d.message}); else{var e="promise";d&&d.name&&(e+=";m."+d.name);H0(a,e);a.dV=!0;a.videoData.Tf=!0}})}}}; H0=function(a,b){g.FG(a.playerState,128)||(a.vc(CL(a.playerState,1028,9)),a.va("dompaused",{r:b}),a.ra("onAutoplayBlocked"))}; A0=function(a){if(!a.mediaElement||!a.videoData.C)return!1;var b,c=null;if(null==(b=a.videoData.C)?0:b.j){c=lab(a);var d;null==(d=a.Ba)||d.resume()}else G0(a),a.videoData.bb&&(c=a.videoData.bb.oC());b=c;d=a.mediaElement.xG();c=!1;d&&d.equals(b)||(xab(a,b),c=!0);g.FG(a.playerState,2)||(b=a.Zc,b.G||!(0=Math.abs(b-c)||1E-6>=Math.abs(b-d)||b>=c&&b<=d}; ibb=function(a){var b,c=null==(b=g.$T(a))?void 0:b.Ba;a.L("html5_gapless_use_loop_range")&&a.U().supportsGaplessShorts()&&a.Fb&&g.nT(a.getVideoData())&&c&&c.policy.Ka&&(b=g.pJ(a.U().experiments,"html5_gapless_loop_seek_offset_in_milli"),a.setLoopRange({startTimeMs:0,endTimeMs:1E3*hbb(a)-b}))}; jbb=function(a){if(!(g.FG(a.wb.getPlayerState(),64)&&a.Ed().isLivePlayback&&5E3>a.Eb.startTimeMs)){if("repeatChapter"===a.Eb.type){var b,c=null==(b=GSa(a.yb()))?void 0:b.oh(),d;b=null==(d=a.getVideoData())?void 0:d.Yk;c instanceof g.WV&&b&&(d=b[xW(b,a.Eb.startTimeMs)],c.ax(0,d.title));isNaN(Number(a.Eb.loopCount))?a.Eb.loopCount=0:a.Eb.loopCount++;1===a.Eb.loopCount&&a.Wa.Qa("innertubeCommand",a.getVideoData().F7)}c={xd:"application_loopRangeStart"};"clips"===a.Eb.type&&(c.seekSource=58);a.wb.seekTo(.001* a.Eb.startTimeMs,c)}}; Lab=function(a,b){var c=a.Wa.getAvailablePlaybackRates();b=Number(b.toFixed(2));a=c[0];c=c[c.length-1];b<=a?b=a:b>=c?b=c:(a=Math.floor(100*b+.001)%5,b=0===a?b:Math.floor(100*(b-.01*a)+.001)/100);return b}; hbb=function(a,b){b=g.$T(a,b);if(!b)return 0;b=R0(a,b);return b1(a,fY(b),b)}; b1=function(a,b,c){if(a.Jf(c)){c=c.getVideoData();if(c1(a))c=b;else{a=a.Wc;for(var d=g.v(a.B),e=d.next();!e.done;e=d.next())if(e=e.value,c.Xc===e.Xc){b+=e.Cc/1E3;break}d=b;a=g.v(a.B);for(e=a.next();!e.done;e=a.next()){e=e.value;if(c.Xc===e.Xc)break;var f=e.Cc/1E3;if(fd?e=!0:1d.length||(d[0]in Tbb&&(f.clientName=Tbb[d[0]]),d[1]in Ubb&&(f.platform=Ubb[d[1]]),f.applicationState=h,f.clientVersion=2=d?f():(a.actionType=a.D?c?"unknown_type":"video_to_ad":c?"ad_to_video":"ad_to_ad",a.videoStreamType=e?"VIDEO_STREAM_TYPE_LIVE":"VIDEO_STREAM_TYPE_VOD","unknown_type"!==a.actionType&&(a.og=!0,LH("_start",a.actionType)&&fcb(a)))}; hcb=function(a,b){a=g.v(b);for(b=a.next();!b.done;b=a.next())if((b=b.value.renderer)&&(b.instreamVideoAdRenderer||b.linearAdSequenceRenderer||b.sandwichedLinearAdRenderer||b.instreamSurveyAdRenderer)){OH("ad_i");g.MH({isMonetized:!0});break}}; icb=function(a){var b=a.J.getVideoData(1);if(!a.J.L("html5_no_video_to_ad_on_preroll")||null!=b&&b.Sa)a.B=!1,b={},a.j&&a.videoId&&(b.cttAuthInfo={token:a.j,videoId:a.videoId}),NH("video_to_ad",b)}; fBa=function(a){a.B=!1;var b={};a.j&&a.videoId&&(b.cttAuthInfo={token:a.j,videoId:a.videoId});NH("ad_to_video",b);fcb(a)}; fcb=function(a){if(a.og)if(a.J.L("html5_no_video_to_ad_on_preroll_reset")&&"AD_PLACEMENT_KIND_START"===a.C&&"video_to_ad"===a.actionType)KH("video_to_ad");else if(a.J.L("web_csi_via_jspb")){var b=new dB;b=R(b,8,2);var c=new eB;c=R(c,21,jcb(a.C));c=R(c,7,4);b=N(c,dB,22,b);b=R(b,53,a.videoStreamType);"ad_to_video"===a.actionType?(a.contentCpn&&Q(b,76,a.contentCpn),a.videoId&&Q(b,78,a.videoId)):(a.adCpn&&Q(b,76,a.adCpn),a.adVideoId&&Q(b,78,a.adVideoId));a.adFormat&&Q(b,12,a.adFormat);a.contentCpn&&Q(b, 8,a.contentCpn);a.videoId&&b.setVideoId(a.videoId);a.adCpn&&Q(b,28,a.adCpn);a.adVideoId&&Q(b,20,a.adVideoId);g.AB(IH)(b,a.actionType)}else b={adBreakType:UBa(a.C),playerType:"LATENCY_PLAYER_HTML5",playerInfo:{preloadType:"LATENCY_PLAYER_PRELOAD_TYPE_PREBUFFER"},videoStreamType:a.videoStreamType},"ad_to_video"===a.actionType?(a.contentCpn&&(b.targetCpn=a.contentCpn),a.videoId&&(b.targetVideoId=a.videoId)):(a.adCpn&&(b.targetCpn=a.adCpn),a.adVideoId&&(b.targetVideoId=a.adVideoId)),a.adFormat&&(b.adType= a.adFormat),a.contentCpn&&(b.clientPlaybackNonce=a.contentCpn),a.videoId&&(b.videoId=a.videoId),a.adCpn&&(b.adClientPlaybackNonce=a.adCpn),a.adVideoId&&(b.adVideoId=a.adVideoId),g.MH(b,a.actionType)}; UBa=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return"LATENCY_AD_BREAK_TYPE_PREROLL";case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return"LATENCY_AD_BREAK_TYPE_MIDROLL";case "AD_PLACEMENT_KIND_END":return"LATENCY_AD_BREAK_TYPE_POSTROLL";default:return"LATENCY_AD_BREAK_TYPE_UNKNOWN"}}; kcb=function(a){switch(a){case "LAYOUT_TYPE_ENDCAP":return"adVideoEnd";case "LAYOUT_TYPE_SURVEY":return"surveyAd";case "LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT":return"surveyInterstitialAd";default:return"unknown"}}; jcb=function(a){switch(a){case "AD_PLACEMENT_KIND_START":return 1;case "AD_PLACEMENT_KIND_MILLISECONDS":case "AD_PLACEMENT_KIND_COMMAND_TRIGGERED":case "AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED":return 2;case "AD_PLACEMENT_KIND_END":return 3;default:return 0}}; q1=function(a){g.J.call(this);this.J=a;this.j=new Map;this.B=new EC(this);g.L(this,this.B);this.B.T(this.J,g.WJ("ad"),this.onCueRangeEnter,this);this.B.T(this.J,g.XJ("ad"),this.onCueRangeExit,this)}; mcb=function(a,b){(b=a.j.get(b))&&lcb(a,b)}; lcb=function(a,b){a.J.Zp([b.Re],b.Ao);a.j.delete(b.Re.id)}; ncb=function(a,b,c,d,e){g.VJ.call(this,b,c,{id:a,namespace:"ad",priority:e,visible:d})}; r1=function(a){this.J=a}; s1=function(a){this.J=a}; ocb=function(a){return a.J.U().L("enable_active_view_lr_shorts_video")}; t1=function(a){var b,c,d,e,f;return null!=(f=null==(b=a.J.getVideoData(1))?void 0:null==(c=b.getPlayerResponse())?void 0:null==(d=c.playerConfig)?void 0:null==(e=d.ssapConfig)?void 0:e.ssapPrerollEnabled)?f:!1}; lN=function(a,b){return a.J.U().L(b)}; pcb=function(a){return a.J.U().L("substitute_ad_cpn_macro_in_ssdai")}; qN=function(a){var b,c,d;return(null==(b=a.J.getVideoData(1).getPlayerResponse())?void 0:null==(c=b.playerConfig)?void 0:null==(d=c.daiConfig)?void 0:d.enableServerStitchedDai)||!1}; tFa=function(a){return a.J.U().L("html5_enable_vod_slar_with_notify_pacf")}; qcb=function(a){return a.J.U().L("html5_recognize_predict_start_cue_point")}; $Da=function(a){return a.J.U().experiments.jb("enable_desktop_player_underlay")}; KL=function(a){return a.J.U().experiments.jb("html5_load_ads_instead_of_cue")}; LL=function(a){return a.J.U().experiments.jb("html5_preload_ads")}; rcb=function(a){return a.J.U().experiments.jb("html5_rebase_video_to_ad_timeline")}; scb=function(a){switch(a){case "audio_audible":return"adaudioaudible";case "audio_measurable":return"adaudiomeasurable";case "fully_viewable_audible_half_duration_impression":return"adfullyviewableaudiblehalfdurationimpression";case "measurable_impression":return"adactiveviewmeasurable";case "overlay_unmeasurable_impression":return"adoverlaymeasurableimpression";case "overlay_unviewable_impression":return"adoverlayunviewableimpression";case "overlay_viewable_end_of_session_impression":return"adoverlayviewableendofsessionimpression"; case "overlay_viewable_immediate_impression":return"adoverlayviewableimmediateimpression";case "viewable_impression":return"adviewableimpression";default:return null}}; tcb=function(){g.PF.call(this);var a=this;this.j={};this.addOnDisposeCallback(function(){for(var b=g.v(Object.keys(a.j)),c=b.next();!c.done;c=b.next())delete a.j[c.value]})}; u1=function(){if(null===ucb){ucb=new tcb;or(ou).B="b";var a=or(ou),b="h"==hu(a)||"b"==hu(a),c=!(tr(),!1);b&&c&&(a.D=!0,a.G=new Cja)}return ucb}; vcb=function(a,b,c){a.j[b]=c}; wcb=function(a){switch(a){case "abandon":case "unmuted_abandon":return"abandon";case "active_view_fully_viewable_audible_half_duration":return"fully_viewable_audible_half_duration_impression";case "active_view_measurable":return"measurable_impression";case "active_view_viewable":return"viewable_impression";case "audio_audible":return"audio_audible";case "audio_measurable":return"audio_measurable";case "complete":case "unmuted_complete":return"complete";case "end_fullscreen":case "unmuted_end_fullscreen":return"exitfullscreen"; case "first_quartile":case "unmuted_first_quartile":return"firstquartile";case "fullscreen":case "unmuted_fullscreen":return"fullscreen";case "impression":case "unmuted_impression":return"impression";case "midpoint":case "unmuted_midpoint":return"midpoint";case "mute":case "unmuted_mute":return"mute";case "pause":case "unmuted_pause":return"pause";case "progress":case "unmuted_progress":return"progress";case "resume":case "unmuted_resume":return"resume";case "skip":case "unmuted_skip":return"skip"; case "start":case "unmuted_start":return"start";case "third_quartile":case "unmuted_third_quartile":return"thirdquartile";case "unmute":case "unmuted_unmute":return"unmute";default:return null}}; v1=function(a,b){this.Ja=a;this.J=b;this.j=new Map;u1().subscribe("adactiveviewmeasurable",this.EA,this);u1().subscribe("adfullyviewableaudiblehalfdurationimpression",this.DA,this);u1().subscribe("adviewableimpression",this.FA,this);u1().subscribe("adaudioaudible",this.BA,this);u1().subscribe("adaudiomeasurable",this.CA,this)}; x1=function(a,b,c,d,e){e=void 0===e?null:e;a.j.has(b)?DG("Unexpected registration of layout in LidarApi"):(a.j.set(b,e),Pp(tr().Gc,"fmd",1),Mka(or(ou),c),vcb(u1(),b,{VN:function(){return d?{currentTime:a.Ja.get().getCurrentTimeSec(2,!1),duration:d,isPlaying:2===a.Ja.get().getPresentingPlayerType()&&1===w1(a.Ja.get(),2),Qib:!1,Rib:!0,volume:a.Ja.get().isMuted()?0:a.Ja.get().getVolume()/100}:{}}}))}; y1=function(a,b){a.j.has(b)?(a.j.delete(b),delete u1().j[b]):DG("Unexpected unregistration of layout in LidarApi")}; zcb=function(a,b){var c={};xcb(a,c,b);ycb(c);c.LACT=z1(function(){return KE().toString()}); c.VIS=z1(function(){return a.getVisibilityState().toString()}); c.SDKV="h.3.0";c.VOL=z1(function(){return a.isMuted()?"0":Math.round(a.getVolume()).toString()}); c.VED="";return c}; Acb=function(a,b){var c={};if(b)return c;if(!a.kind)return g.wF(Error("AdPlacementConfig without kind")),c;if("AD_PLACEMENT_KIND_MILLISECONDS"===a.kind||"AD_PLACEMENT_KIND_CUE_POINT_TRIGGERED"===a.kind){if(!a.adTimeOffset||!a.adTimeOffset.offsetStartMilliseconds)return g.wF(Error("malformed AdPlacementConfig")),c;c.MIDROLL_POS=z1(Id(Math.round(Ae(a.adTimeOffset.offsetStartMilliseconds)/1E3).toString()))}else c.MIDROLL_POS=z1(Id("0"));return c}; z1=function(a){return{toString:function(){return a()}}}; Bcb=function(a,b,c){function d(l,m){(m=c[m])&&(f[l]=m)} function e(l,m){(m=c[m])&&(f[l]=h(m))} if(!c||g.jd(c))return a;var f=Object.assign({},a),h=b?encodeURIComponent:function(l){return l}; e("DV_VIEWABILITY","doubleVerifyViewability");e("IAS_VIEWABILITY","integralAdsViewability");e("MOAT_INIT","moatInit");e("MOAT_VIEWABILITY","moatViewability");d("GOOGLE_VIEWABILITY","googleViewability");d("VIEWABILITY","viewability");return f}; xcb=function(a,b,c){b.CPN=z1(function(){var d;(d=a.getVideoData(1))?d=d.clientPlaybackNonce:(g.xF(Error("Video data is null.")),d=null);return d}); b.AD_MT=z1(function(){return Math.round(Math.max(0,1E3*(null!=c?c:a.getCurrentTime(2,!1)))).toString()}); b.MT=z1(function(){return Math.round(Math.max(0,1E3*a.getCurrentTime(1,!1))).toString()}); b.P_H=z1(function(){return a.kb().Wj().height.toString()}); b.P_W=z1(function(){return a.kb().Wj().width.toString()}); b.PV_H=z1(function(){return a.kb().getVideoContentRect().height.toString()}); b.PV_W=z1(function(){return a.kb().getVideoContentRect().width.toString()})}; ycb=function(a){a.CONN=z1(Id("0"));a.WT=z1(function(){return Date.now().toString()})}; Ccb=function(){}; Dcb=function(a,b,c,d,e){var f,h,l,m,n,p,q,r,t,u,x,B;g.I(function(F){switch(F.j){case 1:f=!!b.scrubReferrer;h=g.pu(b.baseUrl,Bcb(c,f,d));l={};(null==(m=a.j())?0:m.jb("enable_eom_webview_header"))&&IB(h)&&g.uB("WEBVIEW_EOM",!1)&&(l["X-Yt-Webview-Eom"]="1");if(!b.headers){F.La(2);break}n=a.B();if(!n.j){p=n.getValue();F.La(3);break}return g.y(F,n.j,4);case 4:p=F.B;case 3:q=p;r=g.v(b.headers);for(t=r.next();!t.done;t=r.next())switch(u=t.value,u.headerType){case "VISITOR_ID":g.uB("VISITOR_DATA")&&(l["X-Goog-Visitor-Id"]= g.uB("VISITOR_DATA"));break;case "EOM_VISITOR_ID":g.uB("EOM_VISITOR_DATA")&&(l["X-Goog-EOM-Visitor-Id"]=g.uB("EOM_VISITOR_DATA"));break;case "USER_AUTH":q&&(l.Authorization="Bearer "+q);break;case "PLUS_PAGE_ID":(x=a.D())&&(l["X-Goog-PageId"]=x);break;case "AUTH_USER":B=a.C();!q&&B&&(l["X-Goog-AuthUser"]=B);break;case "ATTRIBUTION_REPORTING_ELIGIBLE":l["Attribution-Reporting-Eligible"]="event-source"}"X-Goog-EOM-Visitor-Id"in l&&"X-Goog-Visitor-Id"in l&&delete l["X-Goog-Visitor-Id"];case 2:g.kE(h, void 0,f,0!==Object.keys(l).length?l:void 0,"",!0,e),g.Aa(F)}})}; A1=function(a,b,c,d){this.N=a;this.Z=b;this.G=c;this.K=d}; Ecb=function(a){this.Su=a}; B1=function(a,b,c,d){var e=void 0===e?new A1(function(){var f=a.U(),h=a.getVideoData(1);return g.uS(f,h?g.JT(h):"")},function(){return a.U().pageId},function(){return a.U().oa},function(){return a.U().experiments}):e; this.J=a;this.B=b;this.Gb=c;this.Xa=d;this.Su=e;this.JK=null;this.j=new Map;this.SA=new Ecb(e)}; Fcb=function(a,b,c,d,e){var f=pAa(a.B.get(),c);f?(c=lK(a,qAa(f),f,void 0,void 0,d),b.hasOwnProperty("baseUrl")?a.Su.send(b,c):a.SA.send(b,c,{},e)):DG("Trying to ping from an unknown layout",void 0,void 0,{layoutId:c})}; OL=function(a,b){g.cD("adsClientStateChange",b)}; Gcb=function(a,b){a.j.has(b.wz())?DG("Trying to register an existing AdErrorInfoSupplier."):a.j.set(b.wz(),b)}; Hcb=function(a,b){a.j.delete(b.wz())||DG("Trying to unregister a AdErrorInfoSupplier that has not been registered yet.")}; qAa=function(a){var b=kJ(a.Ca,"metadata_type_ad_placement_config");a=kJ(a.Ca,"metadata_type_media_sub_layout_index");return{adPlacementConfig:b,lY:a}}; lK=function(a,b,c,d,e,f){var h=c?Icb(a):{};c=c?Jcb(a,c.layoutId):{};var l=Kcb(a),m,n=null!=e?e:null==(m=a.Xa.get().mf(2))?void 0:m.clientPlaybackNonce;a.J.U().L("enable_player_logging_lr_home_infeed_ads")&&!n&&(n=a.Xa.get().mf(1).clientPlaybackNonce);e={};d=Object.assign({},zcb(a.J,d),Acb(b.adPlacementConfig,a.J.L("h5_disable_client_subs_slot_pos")),c,h,l,(e.FINAL=z1(function(){return"1"}),e.AD_CPN=z1(function(){return n||""}),e)); a.J.L("h5_disable_client_subs_slot_pos")||(d.SLOT_POS=z1(function(){return(b.lY||0).toString()})); a={};f=Object.assign({},d,f);d=g.v(Object.values(Lcb));for(h=d.next();!h.done;h=d.next())h=h.value,e=f[h],null!=e&&null!=e.toString()&&(a[h]=e.toString());return a}; Icb=function(a){var b={},c,d=null==(c=a.JK)?void 0:c.Xi/1E3;null!=d&&(b.SURVEY_ELAPSED_MS=z1(function(){return Math.round(1E3*d).toString()})); b.SURVEY_LOCAL_TIME_EPOCH_S=z1(function(){return Math.round(Date.now()/1E3).toString()}); return b}; Jcb=function(a,b){a=a.j.get(b);if(!a)return{};a=a.JN();if(!a)return{};b={};return b.YT_ERROR_CODE=a.bL.toString(),b.ERRORCODE=a.bG.toString(),b.ERROR_MSG=a.errorMessage,b}; Kcb=function(a){var b={},c=a.J.getVideoData(1);b.ASR=z1(function(){var d;return null!=(d=null==c?void 0:c.PB)?d:null}); b.EI=z1(function(){var d;return null!=(d=null==c?void 0:c.eventId)?d:null}); return b}; C1=function(a,b,c){g.J.call(this);this.J=a;this.xe=b;this.Ga=c;this.listeners=[];this.kP=null;this.wM=new Map;b=new g.GK(this);g.L(this,b);b.T(a,"videodatachange",this.aaa);b.T(a,"serverstitchedvideochange",this.x$);this.zv=this.mf()}; Ncb=function(a,b,c){var d=Mcb(a,b,c);a.zv=d;a.listeners.forEach(function(e){e.wJ(d)})}; Mcb=function(a,b,c){var d=b.author,e=b.clientPlaybackNonce,f=b.isListed,h=b.Xc,l=b.title,m=b.wk,n=b.zl,p=b.isMdxPlayback,q=b.Jm,r=b.mdxEnvironment,t=b.isAutonav,u=b.cq,x=b.ql,B=b.fv,F=b.videoId||"",G=b.profilePicture||"",H=b.Jl||"";b=b.qv||void 0;h=a.xe.get().j.get(h)||{layoutId:null,slotId:null};var O=a.J.getVideoData(1),P=O.Ac();O=O.getPlayerResponse();c=1E3*a.J.getDuration(c);a=1E3*a.J.getDuration(1);var Y,la,oa=(null==O?void 0:null==(Y=O.playerConfig)?void 0:null==(la=Y.daiConfig)?void 0:la.enableDai)|| !1,ua,ma;Y=(null==O?void 0:null==(ua=O.playerConfig)?void 0:null==(ma=ua.daiConfig)?void 0:ma.enablePreroll)||!1;return Object.assign({},h,{videoId:F,author:d,clientPlaybackNonce:e,taa:c,RC:a,daiEnabled:oa,KV:Y,isListed:f,Ac:P,profilePicture:G,title:l,Jl:H,wk:m,zl:n,qv:b,isMdxPlayback:p,Jm:q,mdxEnvironment:r,isAutonav:t,cq:u,ql:x,fv:B})}; D1=function(a,b,c){g.J.call(this);this.J=a;this.Xa=b;this.Ga=c;this.listeners=[];this.gH=[];this.j=function(){DG("Called 'doUnlockPreroll' before it's initialized.")}; b=new EC(this);c=new g.GK(this);g.L(this,c);g.L(this,b);b.T(a,"progresssync",this.Y9);b.T(a,"presentingplayerstatechange",this.P9);b.T(a,"fullscreentoggled",this.onFullscreenToggled);b.T(a,"onVolumeChange",this.onVolumeChange);b.T(a,"minimized",this.yh);b.T(a,"overlayvisibilitychange",this.jl);b.T(a,"resize",this.Hb);c.T(a,g.WJ("appad"),this.il)}; E1=function(a){t1(a.Ga.get())||a.j()}; Ocb=function(a,b){a.gH=a.gH.filter(function(c){return c!==b})}; Pcb=function(a,b){var c;b=null!=(c=a.Xa.get().wM.get(b))?c:null;if(null===b)return DG("Expected ad video start time on playback timeline"),0;a=a.J.getCurrentTime(2,!0);return a=c?null:c;if(null===c)return null;switch(a.event){case "start":case "continue":case "stop":break;case "predictStart":if(b)break;return null;default:return null}b=Math.max(a.startSecs,0);return{k5:new cv(b,c),u7:new bQ(b,c-b,a.context,a.identifier,a.event,a.j)}}; Xcb=function(){this.j=[]}; eCa=function(a,b,c){var d=g.Vb(a.j,b);if(0<=d)return b;b=-d-1;return b>=a.j.length||a.j[b]>c?null:a.j[b]}; N1=function(a,b,c){g.J.call(this);this.J=a;this.Ga=b;this.Pa=c;this.listeners=[];this.D=!1;this.RK=[];this.B=null;this.G=new M1(this,qcb(b.get()));this.C=new Xcb;this.j=null}; Ycb=function(a,b){a.RK.push(b);for(var c=!1,d=g.v(a.listeners),e=d.next();!e.done;e=d.next())c=e.value.UY(b)||c;a.D=c}; $cb=function(a,b){OL(a.Pa.get(),{cuepointTrigger:{event:Zcb(b.event),cuepointId:b.identifier,totalCueDurationMs:1E3*b.Yh,playheadTimeMs:b.j,cueStartTimeMs:1E3*b.startSecs,cuepointReceivedTimeMs:Date.now(),contentCpn:a.J.getVideoData(1).clientPlaybackNonce}})}; Zcb=function(a){switch(a){case "unknown":return"CUEPOINT_EVENT_UNKNOWN";case "start":return"CUEPOINT_EVENT_START";case "continue":return"CUEPOINT_EVENT_CONTINUE";case "stop":return"CUEPOINT_EVENT_STOP";case "predictStart":return"CUEPOINT_EVENT_PREDICT_START";default:return Ln(a,"Unexpected cuepoint event")}}; O1=function(a){this.J=a}; P1=function(a){this.J=a}; Q1=function(a){this.J=a}; adb=function(a){this.J=a}; bdb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,"SLOT_TYPE_ABOVE_FEED",f.Oj)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.On=JJ(function(){return new MJ}); g.L(this,this.On);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ff=JJ(function(){return new N1(b,f.Ga,f.Pa)}); g.L(this,this.Ff);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.sf=JJ(function(){return new NJ}); this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.xi=new tN(sN,R1,function(l,m,n,p){return hN(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa,this.Ff);this.Cg=JJ(function(){return h}); this.St=h;this.Oj=new pN(this.Rb,this.Kb,this.Cg,this.Ff,this.Ja,this.Ga,this.Pa,this.Nc);g.L(this,this.Oj);this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja,f.Nc)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.ov=new DN(a);g.L(this,this.ov);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.uw=new HN(a,this.Xa);g.L(this,this.uw);this.Ge=new IN(a);g.L(this,this.Ge);this.Zd=new LN(a);g.L(this,this.Zd);this.ri=new JN(a);g.L(this,this.ri);this.sx=new KN(a);g.L(this,this.sx);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.RU=JJ(function(){return new LAa(f.xc,f.Pa,a,f.Uc,f.Gb)}); g.L(this,this.RU);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.wi=JJ(function(){return new ECa(a,f.Zd,f.Ge,f.Xa,f.Nc,f.Ja,f.Pa,f.xe,f.Ff,f.Gb,f.sf,f.Be,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Uc)}); g.L(this,this.wi);this.zZ=JJ(function(){return new XAa(f.Ja,f.Pa,f.Ga,f.Gb)}); g.L(this,this.zZ);this.Dn=JJ(function(){return new OCa(f.xc,f.Ja,f.Pa,f.Uc,f.Gb,f.ov,f.sx,f.Tb,f.Ga,c)}); g.L(this,this.Dn);this.l0=JJ(function(){return new NAa(f.xc)}); g.L(this,this.l0);this.sM=new H1(a,this.On,this.fb);g.L(this,this.sM);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Oj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_ABOVE_FEED",this.me],["SLOT_TYPE_FORECASTING", this.me],["SLOT_TYPE_IN_PLAYER",this.me],["SLOT_TYPE_PLAYER_BYTES",this.me],["SLOT_TYPE_PLAYER_UNDERLAY",this.me],["SLOT_TYPE_PLAYBACK_TRACKING",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Wf],["TRIGGER_TYPE_SURVEY_SUBMITTED",this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED", this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Mb],["TRIGGER_TYPE_SLOT_ID_UNSCHEDULED",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Mb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.ov],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_PROGRESS_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER",this.Ze],["TRIGGER_TYPE_SEEK_FORWARD_PAST_MEDIA_TIME_WITH_OFFSET_RELATIVE_TO_LAYOUT_ENTER", this.Ze],["TRIGGER_TYPE_SEEK_BACKWARD_BEFORE_LAYOUT_ENTER_TIME",this.Ze],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE_ALLOW_REACTIVATION_ON_USER_CANCELLED",this.Ze],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.uw],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.uw],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID", this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER",this.sx],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_ABOVE_FEED",this.Wd],["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES",this.zi],["SLOT_TYPE_PLAYER_UNDERLAY",this.Wd],["SLOT_TYPE_PLAYBACK_TRACKING",this.Wd]]),qr:new Map([["SLOT_TYPE_ABOVE_FEED",this.RU],["SLOT_TYPE_AD_BREAK_REQUEST", this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_PLAYER_BYTES",this.wi],["SLOT_TYPE_PLAYBACK_TRACKING",this.zZ],["SLOT_TYPE_IN_PLAYER",this.Dn],["SLOT_TYPE_PLAYER_UNDERLAY",this.l0]])};this.listeners=[this.Uc.get()];this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:this.On.get(),bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; cdb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,null,f.Oj)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.On=JJ(function(){return new MJ}); g.L(this,this.On);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ff=JJ(function(){return new N1(b,f.Ga,f.Pa)}); this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.sf=JJ(function(){return new NJ}); g.L(this,this.sf);this.xi=new tN(sN,R1,function(l,m,n,p){return hN(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa,this.Ff);this.Cg=JJ(function(){return h}); this.St=h;this.Oj=new pN(this.Rb,this.Kb,this.Cg,this.Ff,this.Ja,this.Ga,this.Pa);g.L(this,this.Oj);this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.ov=new DN(a);g.L(this,this.ov);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.Ge=new IN(a);g.L(this,this.Ge);this.ri=new JN(a);g.L(this,this.ri);this.sx=new KN(a);g.L(this,this.sx);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.Dn=JJ(function(){return new PCa(f.xc,f.Ja,f.Pa,f.Uc,f.Gb,f.ov,f.sx,f.Tb,f.Ga,c)}); g.L(this,this.Dn);this.wi=JJ(function(){return new QL(a,f.Zd,f.Ge,f.Pa,f.Gb,f.sf,f.Be,f.Xa,f.Ja,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Nc)}); g.L(this,this.wi);this.sM=new H1(a,this.On,this.fb);g.L(this,this.sM);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Oj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_FORECASTING",this.me],["SLOT_TYPE_IN_PLAYER", this.me],["SLOT_TYPE_PLAYER_BYTES",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED", this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_SLOT_ID_ENTER_REQUESTED",this.Mb],["TRIGGER_TYPE_CLOSE_REQUESTED",this.ov],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_NOT_IN_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_TIME_RELATIVE_TO_LAYOUT_ENTER", this.sx],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES",this.zi]]),qr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_IN_PLAYER",this.Dn],["SLOT_TYPE_PLAYER_BYTES",this.wi]])};this.listeners=[this.Uc.get()];this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:this.On.get(), bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; ddb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,null,null)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.sf=JJ(function(){return new NJ}); g.L(this,this.sf);this.xi=new tN(sN,R1,function(l,m,n,p){return hN(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa);this.Cg=JJ(function(){return h}); this.St=h;this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.Ge=new IN(a);g.L(this,this.Ge);this.ri=new JN(a);g.L(this,this.ri);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.sZ=JJ(function(){return new WAa(f.xc,f.Ja,f.Pa,f.Uc,c,f.Ga)}); g.L(this,this.sZ);this.wi=JJ(function(){return new QL(a,f.Zd,f.Ge,f.Pa,f.Gb,f.sf,f.Be,f.Xa,f.Ja,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Nc)}); g.L(this,this.wi);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_FORECASTING",this.me],["SLOT_TYPE_IN_PLAYER",this.me],["SLOT_TYPE_PLAYER_BYTES",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Mb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE", this.Ze],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_ABOVE_FEED",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES",this.zi]]),qr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_IN_PLAYER", this.sZ],["SLOT_TYPE_PLAYER_BYTES",this.wi]])};this.listeners=[this.Uc.get()];this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:null,bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; edb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,null,null)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.sf=JJ(function(){return new NJ}); g.L(this,this.sf);this.xi=new tN(sN,R1,function(l,m,n,p){return hN(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa);this.Cg=JJ(function(){return h}); this.St=h;this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.Ge=new IN(a);g.L(this,this.Ge);this.ri=new JN(a);g.L(this,this.ri);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.Dn=JJ(function(){return new WAa(f.xc,f.Ja,f.Pa,f.Uc,c,f.Ga)}); g.L(this,this.Dn);this.wi=JJ(function(){return new QL(a,f.Zd,f.Ge,f.Pa,f.Gb,f.sf,f.Be,f.Xa,f.Ja,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Nc)}); g.L(this,this.wi);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_FORECASTING",this.me],["SLOT_TYPE_IN_PLAYER",this.me],["SLOT_TYPE_PLAYER_BYTES",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Mb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED", this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES",this.zi]]),qr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_IN_PLAYER",this.Dn],["SLOT_TYPE_PLAYER_BYTES",this.wi]])};this.listeners=[this.Uc.get()]; this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:null,bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; fdb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.Um=JJ(function(){return new adb(b)}); g.L(this,this.Um);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,null,null)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.sf=JJ(function(){return new NJ}); g.L(this,this.sf);this.xi=new tN(AFa,R1,function(l,m,n,p){return TFa(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa);this.Cg=JJ(function(){return h}); this.St=h;this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.Ge=new IN(a);g.L(this,this.Ge);this.ri=new JN(a);g.L(this,this.ri);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.wi=JJ(function(){return new QL(a,f.Zd,f.Ge,f.Pa,f.Gb,f.sf,f.Be,f.Xa,f.Ja,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Nc)}); g.L(this,this.wi);this.K0=JJ(function(){return new RCa(f.xc,f.Ja,f.Pa,f.Uc,f.Um,c)}); g.L(this,this.K0);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_FORECASTING",this.me],["SLOT_TYPE_IN_PLAYER",this.me],["SLOT_TYPE_PLAYER_BYTES",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED",this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED", this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Mb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED",this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE", this.Ze],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES",this.zi]]),qr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_IN_PLAYER",this.K0],["SLOT_TYPE_PLAYER_BYTES", this.wi]])};this.listeners=[this.Uc.get()];this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:null,bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; gdb=function(a,b,c,d,e){g.J.call(this);var f=this;this.fb=JJ(function(){return new MN}); g.L(this,this.fb);this.Ab=JJ(function(){return new NN(f.fb,f.Ga)}); g.L(this,this.Ab);this.Uc=JJ(function(){return new xN}); g.L(this,this.Uc);this.Rb=JJ(function(){return new vN(a)}); g.L(this,this.Rb);this.Kb=JJ(function(){return new ON(f.fb,f.Ab,f.Ga)}); g.L(this,this.Kb);this.xe=JJ(function(){return new SN}); g.L(this,this.xe);this.Um=JJ(function(){return new adb(b)}); g.L(this,this.Um);this.fg=JJ(function(){return new J1(b.U())}); g.L(this,this.fg);this.xc=JJ(function(){return new K1(b)}); g.L(this,this.xc);this.Tb=JJ(function(){return new KJ(e)}); g.L(this,this.Tb);this.Qc=JJ(function(){return new p1(b)}); g.L(this,this.Qc);this.yc=JJ(function(){return new q1(b)}); g.L(this,this.yc);this.Be=JJ(function(){return new O1(b)}); g.L(this,this.Be);this.Hd=JJ(function(){return new r1(b)}); g.L(this,this.Hd);this.Ga=JJ(function(){return new s1(b)}); g.L(this,this.Ga);this.Vf=JJ(function(){return new I1(d)}); g.L(this,this.Vf);this.Yb=JJ(function(){return new qJ(f.Ga)}); g.L(this,this.Yb);this.Ae=JJ(function(){return new nN(f.fb,f.Kb,f.Ab,f.Ga,f.Yb,null,f.Oj,3)}); g.L(this,this.Ae);this.rg=JJ(function(){return new P1(b)}); g.L(this,this.rg);this.Xa=JJ(function(){return new C1(b,f.xe,f.Ga)}); g.L(this,this.Xa);this.jc=new RN(this.Ga,this.Yb,this.Xa);g.L(this,this.jc);this.Ff=JJ(function(){return new N1(b,f.Ga,f.Pa)}); g.L(this,this.Ff);this.Nc=JJ(function(){return new Q1(b)}); g.L(this,this.Nc);this.Ja=JJ(function(){return new D1(b,f.Xa,f.Ga)}); g.L(this,this.Ja);this.sf=JJ(function(){return new NJ}); this.Gb=JJ(function(){return new v1(f.Ja,b)}); g.L(this,this.Gb);this.Pa=JJ(function(){return new B1(b,f.Uc,f.Gb,f.Xa)}); g.L(this,this.Pa);this.Yc=new uN(this.Rb,this.Ae,c,this.Ga,a,this.Xa,this.Ja,this.Qc);g.L(this,this.Yc);var h=new o1(b,this.Yc,this.Ja,this.Xa,this.Ff);this.Cg=JJ(function(){return h}); this.St=h;this.xi=new tN(BFa,R1,function(l,m,n,p){return TFa(f.Ab.get(),l,m,n,p)},this.Rb,this.Kb,this.Ab,this.Yb,this.Ga,this.Xa); g.L(this,this.xi);this.Oj=new pN(this.Rb,this.Kb,this.Cg,this.Ff,this.Ja,this.Ga,this.Pa,this.Nc);g.L(this,this.Oj);this.Df=new wN(this.Rb,this.Kb,this.yc,this.Cg);g.L(this,this.Df);this.kd=new bN(this.Ga,this.Rb,this.Kb,this.Ae,this.Xa,this.Df,c);g.L(this,this.kd);this.Vh=JJ(function(){return new YJ(f.Vf,f.Ab,f.Yb,f.Ga,f.Pa,f.Ja,f.Nc)}); g.L(this,this.Vh);this.me=JJ(function(){return new ZJ}); g.L(this,this.me);this.Wf=new BN(a,this.xc,this.Ga);g.L(this,this.Wf);this.Mb=new CN(a);g.L(this,this.Mb);this.hg=new FN(a,this.Cg);g.L(this,this.hg);this.Ze=new GN(a,this.yc,this.Ja,this.Xa);g.L(this,this.Ze);this.uw=new HN(a,this.Xa);g.L(this,this.uw);this.Ge=new IN(a);g.L(this,this.Ge);this.ri=new JN(a);g.L(this,this.ri);this.Zd=new LN(a);g.L(this,this.Zd);this.Wd=JJ(function(){return new yN}); g.L(this,this.Wd);this.zi=JJ(function(){return new zN(f.Ja)}); g.L(this,this.zi);this.Uh=JJ(function(){return new rK(f.kd,f.Rb,f.fb)}); g.L(this,this.Uh);this.ai=JJ(function(){return new tK(f.Ga,f.Pa,f.Ge,f.Gb)}); g.L(this,this.ai);this.wi=JJ(function(){return new ECa(a,f.Zd,f.Ge,f.Xa,f.Nc,f.Ja,f.Pa,f.xe,f.Ff,f.Gb,f.sf,f.Be,f.yc,f.Qc,f.Hd,f.fg,f.Tb,f.rg,f.Ga,f.Uc)}); g.L(this,this.wi);this.Dn=JJ(function(){return new SCa(f.xc,f.Ja,f.Pa,f.Uc,f.Um,c,f.Ga)}); g.L(this,this.Dn);this.Cf={Nw:new Map([["OPPORTUNITY_TYPE_AD_BREAK_SERVICE_RESPONSE_RECEIVED",this.kd],["OPPORTUNITY_TYPE_LIVE_STREAM_BREAK_SIGNAL",this.Oj],["OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",this.xi],["OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",this.Yc],["OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",this.Df]]),Hq:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Vh],["SLOT_TYPE_FORECASTING",this.me],["SLOT_TYPE_IN_PLAYER",this.me],["SLOT_TYPE_PLAYER_BYTES",this.me]]),Hl:new Map([["TRIGGER_TYPE_SKIP_REQUESTED", this.Wf],["TRIGGER_TYPE_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_LAYOUT_ID_EXITED",this.Mb],["TRIGGER_TYPE_LAYOUT_EXITED_FOR_REASON",this.Mb],["TRIGGER_TYPE_ON_DIFFERENT_LAYOUT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_ENTERED",this.Mb],["TRIGGER_TYPE_SLOT_ID_EXITED",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_FULFILLED_NON_EMPTY",this.Mb],["TRIGGER_TYPE_SLOT_ID_SCHEDULED",this.Mb],["TRIGGER_TYPE_BEFORE_CONTENT_VIDEO_ID_STARTED",this.hg],["TRIGGER_TYPE_CONTENT_VIDEO_ID_ENDED", this.Ze],["TRIGGER_TYPE_MEDIA_TIME_RANGE",this.Ze],["TRIGGER_TYPE_LIVE_STREAM_BREAK_STARTED",this.uw],["TRIGGER_TYPE_LIVE_STREAM_BREAK_ENDED",this.uw],["TRIGGER_TYPE_ON_LAYOUT_SELF_EXIT_REQUESTED",this.Ge],["TRIGGER_TYPE_ON_NEW_PLAYBACK_AFTER_CONTENT_VIDEO_ID",this.hg],["TRIGGER_TYPE_ON_OPPORTUNITY_TYPE_RECEIVED",this.ri],["TRIGGER_TYPE_AD_BREAK_STARTED",this.Zd]]),Or:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Wd],["SLOT_TYPE_FORECASTING",this.Wd],["SLOT_TYPE_IN_PLAYER",this.Wd],["SLOT_TYPE_PLAYER_BYTES", this.zi]]),qr:new Map([["SLOT_TYPE_AD_BREAK_REQUEST",this.Uh],["SLOT_TYPE_FORECASTING",this.ai],["SLOT_TYPE_PLAYER_BYTES",this.wi],["SLOT_TYPE_IN_PLAYER",this.Dn]])};this.listeners=[this.Uc.get()];this.nw={kd:this.kd,Sj:this.Ga.get(),ib:this.Tb.get(),Sw:this.Ja.get(),Yc:this.Yc,Bt:this.fb.get(),bA:null,bl:this.Wf,sj:this.Uc.get(),Xn:this.Xa.get()}}; idb=function(a,b,c,d){g.J.call(this);var e=this;this.j=hdb(function(){return e.B},a,b,c,d); g.L(this,this.j);this.B=(new Dza(this.j)).C();g.L(this,this.B)}; S1=function(a){return a.j.nw}; hdb=function(a,b,c,d,e){try{var f=b.U();if(g.mS(f))var h=new bdb(a,b,c,d,e);else if(g.oS(f))h=new cdb(a,b,c,d,e);else if("WEB_MUSIC_EMBEDDED_PLAYER"===g.zR(f))h=new edb(a,b,c,d,e);else if(gS(f))h=new ddb(a,b,c,d,e);else if(g.VG(f))h=new fdb(a,b,c,d,e);else if(g.bS(f))h=new gdb(a,b,c,d,e);else throw new TypeError("Unknown web interface");return h}catch(l){return h=b.U(),DG("Unexpected interface not supported in Ads Control Flow",void 0,void 0,{platform:h.j.cplatform,interface:h.j.c,Mib:h.j.cver,Lib:h.j.ctheme, Kib:h.j.cplayer,rjb:h.playerStyle}),new Tcb(a,b,c,d,e)}}; T1=function(a){this.Zm=a}; jdb=function(a){var b=new T1(a.Zm),c=new Ecb(b);return{Y5:function(){return b}, p6:function(){return c}}}; kdb=function(a){rG.call(this,a)}; ldb=function(a,b,c,d,e){vG.call(this,a,{I:"div",S:"ytp-ad-timed-pie-countdown-container",V:[{I:"svg",S:"ytp-ad-timed-pie-countdown",X:{viewBox:"0 0 20 20"},V:[{I:"circle",S:"ytp-ad-timed-pie-countdown-background",X:{r:"10",cx:"10",cy:"10"}},{I:"circle",S:"ytp-ad-timed-pie-countdown-inner",X:{r:"5",cx:"10",cy:"10"}},{I:"circle",S:"ytp-ad-timed-pie-countdown-outer",X:{r:"10",cx:"10",cy:"10"}}]}]},"timed-pie-countdown",b,c,d,e);this.D=this.Ha("ytp-ad-timed-pie-countdown-container");this.C=this.Ha("ytp-ad-timed-pie-countdown-inner"); this.G=this.Ha("ytp-ad-timed-pie-countdown-outer");this.B=Math.ceil(10*Math.PI);this.hide()}; mdb=function(a,b,c,d,e,f){YF.call(this,a,{I:"div",S:"ytp-ad-action-interstitial",X:{tabindex:"0"},V:[{I:"div",S:"ytp-ad-action-interstitial-background-container"},{I:"div",S:"ytp-ad-action-interstitial-slot",V:[{I:"div",S:"ytp-ad-action-interstitial-instream-info"},{I:"div",S:"ytp-ad-action-interstitial-card",V:[{I:"div",S:"ytp-ad-action-interstitial-image-container"},{I:"div",S:"ytp-ad-action-interstitial-headline-container"},{I:"div",S:"ytp-ad-action-interstitial-description-container"},{I:"div", S:"ytp-ad-action-interstitial-action-button-container"}]}]}]},"ad-action-interstitial",b,c,d);this.PR=e;this.zK=f;this.navigationEndpoint=this.j=this.skipButton=this.B=this.actionButton=null;this.Va=this.Ha("ytp-ad-action-interstitial-instream-info");this.Fa=this.Ha("ytp-ad-action-interstitial-image-container");this.Y=new oG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-image");g.L(this,this.Y);this.Y.Da(this.Fa);this.Na=this.Ha("ytp-ad-action-interstitial-headline-container"); this.G=new uG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-headline");g.L(this,this.G);this.G.Da(this.Na);this.oa=this.Ha("ytp-ad-action-interstitial-description-container");this.D=new uG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,"ytp-ad-action-interstitial-description");g.L(this,this.D);this.D.Da(this.oa);this.ob=this.Ha("ytp-ad-action-interstitial-background-container");this.Ka=new oG(this.api,this.layoutId,this.interactionLoggingClientData, this.ib,"ytp-ad-action-interstitial-background",!0);g.L(this,this.Ka);this.Ka.Da(this.ob);this.gb=this.Ha("ytp-ad-action-interstitial-action-button-container");this.slot=this.Ha("ytp-ad-action-interstitial-slot");this.C=new EC;g.L(this,this.C);this.hide()}; ndb=function(a){var b=g.Ye("html5-video-player");b&&g.Nu(b,"ytp-ad-display-override",a)}; rdb=function(a,b,c,d){YF.call(this,a,{I:"div",S:"ytp-ad-overlay-slot",V:[{I:"div",S:"ytp-ad-overlay-container"}]},"invideo-overlay",b,c,d);this.Y=[];this.ob=this.Fa=this.D=this.gb=this.Na=null;this.Va=!1;this.G=null;this.oa=0;a=this.Ha("ytp-ad-overlay-container");this.Ka=new BG(a,45E3,6E3,.3,.4);g.L(this,this.Ka);this.C=odb(this);g.L(this,this.C);this.C.Da(a);this.B=pdb(this);g.L(this,this.B);this.B.Da(a);this.j=qdb(this);g.L(this,this.j);this.j.Da(a);this.hide()}; odb=function(a){var b=new g.XF({I:"div",S:"ytp-ad-text-overlay",V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[gG(sdb)]}]},{I:"div",S:"ytp-ad-overlay-title",xa:"{{title}}"},{I:"div",S:"ytp-ad-overlay-desc",xa:"{{description}}"},{I:"div",Ma:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"],xa:"{{displayUrl}}"}]});a.T(b.Ha("ytp-ad-overlay-title"),"click",function(c){U1(a,b.element,c)}); a.T(b.Ha("ytp-ad-overlay-link"),"click",function(c){U1(a,b.element,c)}); a.T(b.Ha("ytp-ad-overlay-close-container"),"click",a.Rp);b.hide();return b}; pdb=function(a){var b=new g.XF({I:"div",Ma:["ytp-ad-text-overlay","ytp-ad-enhanced-overlay"],V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[gG(sdb)]}]},{I:"div",S:"ytp-ad-overlay-text-image",V:[{I:"img",X:{src:"{{imageUrl}}"}}]},{I:"div",S:"ytp-ad-overlay-title",xa:"{{title}}"},{I:"div",S:"ytp-ad-overlay-desc",xa:"{{description}}"},{I:"div",Ma:["ytp-ad-overlay-link-inline-block","ytp-ad-overlay-link"], xa:"{{displayUrl}}"}]});a.T(b.Ha("ytp-ad-overlay-title"),"click",function(c){U1(a,b.element,c)}); a.T(b.Ha("ytp-ad-overlay-link"),"click",function(c){U1(a,b.element,c)}); a.T(b.Ha("ytp-ad-overlay-close-container"),"click",a.Rp);a.T(b.Ha("ytp-ad-overlay-text-image"),"click",a.O$);b.hide();return b}; qdb=function(a){var b=new g.XF({I:"div",S:"ytp-ad-image-overlay",V:[{I:"div",S:"ytp-ad-overlay-ad-info-button-container"},{I:"div",S:"ytp-ad-overlay-close-container",V:[{I:"button",S:"ytp-ad-overlay-close-button",V:[gG(sdb)]}]},{I:"div",S:"ytp-ad-overlay-image",V:[{I:"img",X:{src:"{{imageUrl}}",width:"{{width}}",height:"{{height}}"}}]}]});a.T(b.Ha("ytp-ad-overlay-image"),"click",function(c){U1(a,b.element,c)}); a.T(b.Ha("ytp-ad-overlay-close-container"),"click",a.Rp);b.hide();return b}; tdb=function(a,b){if(b){var c=g.U(b,YM)||null;if(null==c)g.wF(Error("AdInfoRenderer did not contain an AdHoverTextButtonRenderer."));else if(b=g.Ye("video-ads ytp-ad-module")||null,null==b)g.wF(Error("Could not locate the root ads container element to attach the ad info dialog."));else if(a.Fa=new g.XF({I:"div",S:"ytp-ad-overlay-ad-info-dialog-container"}),g.L(a,a.Fa),a.Fa.Da(b),b=new tG(a.api,a.layoutId,a.interactionLoggingClientData,a.ib,a.Fa.element,!1),g.L(a,b),b.init(NF("ad-info-hover-text-button"), c,a.macros),a.G){b.Da(a.G,0);b.subscribe("f",a.x8,a);b.subscribe("e",a.lQ,a);a.T(a.G,"click",a.y8);var d=g.Ye("ytp-ad-button",b.element);a.T(d,"click",function(){var e;if(g.U(null==(e=g.U(c.button,g.$M))?void 0:e.serviceEndpoint,nwa))a.Va=2===a.api.getPlayerState(1),a.api.pauseVideo();else a.api.onAdUxClicked("ad-info-hover-text-button",a.layoutId)}); a.ob=b}else g.wF(Error("Ad info button container within overlay ad was not present."))}else g.xF(Error("AdInfoRenderer was not present within InvideoOverlayAdRenderer."))}; vdb=function(a,b){if(udb(a,V1)||a.api.qg())return!1;var c=ZF(b.title),d=ZF(b.description);if(g.gc(c)||g.gc(d))return!1;a.createServerVe(a.C.element,b.trackingParams||null);a.C.updateValue("title",ZF(b.title));a.C.updateValue("description",ZF(b.description));a.C.updateValue("displayUrl",ZF(b.displayUrl));b.navigationEndpoint&&g.Kb(a.Y,b.navigationEndpoint);a.C.show();a.Ka.start();a.logVisibility(a.C.element,!0);a.T(a.C.element,"mouseover",function(){a.oa++}); return!0}; wdb=function(a,b){if(udb(a,V1)||a.api.qg())return!1;var c=ZF(b.title),d=ZF(b.description);if(g.gc(c)||g.gc(d))return!1;a.createServerVe(a.B.element,b.trackingParams||null);a.B.updateValue("title",ZF(b.title));a.B.updateValue("description",ZF(b.description));a.B.updateValue("displayUrl",ZF(b.displayUrl));a.B.updateValue("imageUrl",uva(b.image));b.navigationEndpoint&&g.Kb(a.Y,b.navigationEndpoint);a.gb=b.imageNavigationEndpoint||null;a.B.show();a.Ka.start();a.logVisibility(a.B.element,!0);a.T(a.B.element, "mouseover",function(){a.oa++}); return!0}; xdb=function(a,b){if(a.api.qg())return!1;var c=vva(b.image),d=c;c.widthdocument.documentMode)c=Yu;else{var d=document.implementation.createHTMLDocument("").createElement("DIV");d.style.cssText=c;c=mla(d.style)}b=new g.be([c,kga(Rdb,b)].map(Oba).join(""),Jn);a.style.cssText=ce(b)}}; Tdb=function(a){var b=g.Ye("html5-video-player");b&&g.Nu(b,"ytp-ad-display-override",a)}; c2=function(a,b,c,d,e){vG.call(this,a,{I:"div",S:"ytp-preview-ad",V:[{I:"div",S:"ytp-preview-ad__text"}]},"preview-ad",b,c,d,e);var f=this;this.B=0;this.C=-1;this.G=this.Ha("ytp-preview-ad__text");this.transition=new g.yG(this,400,!1,100,function(){f.hide()},function(){f.show()}); g.L(this,this.transition);this.hide()}; f2=function(a,b,c,d){YF.call(this,a,{I:"img",S:"ytp-ad-avatar"},"ad-avatar",b,c,d);this.hide()}; Udb=function(a){switch(a.size){case "AD_AVATAR_SIZE_XXS":return 16;case "AD_AVATAR_SIZE_XS":return 24;case "AD_AVATAR_SIZE_S":return 32;case "AD_AVATAR_SIZE_M":return 36;case "AD_AVATAR_SIZE_L":return 56;case "AD_AVATAR_SIZE_XL":return 72;default:return 36}}; g2=function(a,b,c,d){YF.call(this,a,{I:"button",S:"ytp-ad-button-vm"},"ad-button",b,c,d);this.buttonText=this.buttonIcon=null;this.hide()}; Wdb=function(a){this.content=a.content;if(a.commandRuns){a=g.v(a.commandRuns);for(var b=a.next();!b.done;b=a.next())b=b.value,this.loggingDirectives=g.U(b,Vdb),b.onTap&&(this.interaction={onTap:b.onTap})}}; h2=function(a,b,c,d){YF.call(this,a,{I:"div",S:"ad-simple-attributed-string"},"ad-simple-attributed-string",b,c,d);this.hide()}; Xdb=function(a,b,c,d,e){vG.call(this,a,{I:"div",Ma:["ytp-ad-avatar-lockup-card--inactive","ytp-ad-avatar-lockup-card"],V:[{I:"div",S:"ytp-ad-avatar-lockup-card__text_container"}]},"ad-avatar-lockup-card",b,c,d,e);this.B=0;this.adAvatar=new f2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.adAvatar);g.pf(this.element,this.adAvatar.element,0);this.headline=new h2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.headline);this.headline.Da(this.Ha("ytp-ad-avatar-lockup-card__text_container")); this.headline.element.classList.add("ytp-ad-avatar-lockup-card__headline");this.description=new h2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.description);this.description.Da(this.Ha("ytp-ad-avatar-lockup-card__text_container"));this.description.element.classList.add("ytp-ad-avatar-lockup-card__description");this.adButton=new g2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.adButton);this.adButton.Da(this.element);this.hide()}; Ydb=function(a,b,c,d){YF.call(this,a,{I:"button",S:"ytp-skip-ad-button",V:[{I:"div",S:"ytp-skip-ad-button__text"}]},"skip-button",b,c,d);var e=this;this.B=!1;this.D=this.Ha("ytp-skip-ad-button__text");this.transition=new g.yG(this,500,!1,100,function(){e.hide()},function(){e.show()}); g.L(this,this.transition);this.j=new BG(this.element,15E3,5E3,.5,.5);g.L(this,this.j);this.hide()}; Zdb=function(a,b,c,d,e){vG.call(this,a,{I:"div",S:"ytp-skip-ad"},"skip-ad",b,c,d,e);this.skipOffsetMilliseconds=0;this.isSkippable=!1;this.B=new c2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j);g.L(this,this.B);this.B.Da(this.element);this.C=new Ydb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);g.L(this,this.C);this.C.Da(this.element);this.hide()}; i2=function(a,b,c,d){YF.call(this,a,{I:"button",S:"ytp-visit-advertiser-link"},"visit-advertiser-link",b,c,d);this.hide()}; j2=function(a,b,c,d,e){YF.call(this,a,{I:"div",S:"ytp-ad-player-overlay-layout",V:[{I:"div",S:"ytp-ad-player-overlay-layout__player-card-container"},{I:"div",S:"ytp-ad-player-overlay-layout__ad-info-container"},{I:"div",S:"ytp-ad-player-overlay-layout__skip-or-preview-container"}]},"player-overlay-layout",b,c,d);this.j=e;this.G=this.Ha("ytp-ad-player-overlay-layout__player-card-container");this.B=this.Ha("ytp-ad-player-overlay-layout__ad-info-container");this.D=this.Ha("ytp-ad-player-overlay-layout__skip-or-preview-container"); this.hide()}; k2=function(a,b,c){rG.call(this,a);this.api=a;this.ib=b;this.B={};a=new g.V({I:"div",Ma:["video-ads","ytp-ad-module"]});g.L(this,a);TR&&g.Ju(a.element,"ytp-ads-tiny-mode");this.G=new EE(a.element);g.L(this,this.G);g.oU(this.api,a.element,4);$Da(c)&&(c=new g.V({I:"div",Ma:["ytp-ad-underlay"]}),g.L(this,c),this.C=new EE(c.element),g.L(this,this.C),g.oU(this.api,c.element,0));g.L(this,Vva())}; $db=function(a,b){a=g.od(a.B,b.id,null);null==a&&g.xF(Error("Component not found for element id: "+b.id));return a||null}; aeb=function(a){g.vV.call(this,a);var b=this;this.B=null;this.created=!1;this.C=new k1(this.player);this.D=function(){if(null!=b.B)return b.B;var d=jdb({Zm:a.getVideoData(1)});d=new ecb({Su:d.Y5(),bl:S1(b.j).bl,SA:d.p6(),Xn:S1(b.j).Xn,J:b.player,Sj:S1(b.j).Sj,Pa:b.j.j.Pa,sj:S1(b.j).sj,Hd:b.j.j.Hd});b.B=d.Q3;return b.B}; this.j=new idb(this.player,this,this.C,this.D);g.L(this,this.j);var c=a.U();!zJ(c)||g.bS(c)||gS(c)||(g.L(this,new k2(a,S1(this.j).ib,S1(this.j).Sj)),g.L(this,new kdb(a)))}; beb=function(a){a.created!==a.loaded&&DG("Created and loaded are out of sync")}; eeb=function(a){g.vV.prototype.load.call(a);var b=S1(a.j).Sj;try{a.player.getRootNode().classList.add("ad-created")}catch(l){DG(l instanceof Error?l:String(l))}var c=a.player.getVideoData(1),d=c&&c.videoId||"",e=c&&c.getPlayerResponse()||{},f=(!a.player.U().experiments.jb("debug_ignore_ad_placements")&&e&&e.adPlacements||[]).map(function(l){return l.adPlacementRenderer}),h=((null==e?void 0:e.adSlots)||[]).map(function(l){return g.U(l,wDa)}); e=e.playerConfig&&e.playerConfig.daiConfig&&e.playerConfig.daiConfig.enableDai||!1;c&&c.Ac();b=ceb(f,h,b,S1(a.j).Bt);f=c&&c.clientPlaybackNonce||"";c=c&&c.fv||!1;h=1E3*a.player.getDuration(1);deb(a);a.j.j.St.hk(f,h,c,b.MJ,b.VU,b.MJ,e,d)}; deb=function(a){var b,c;if(c=!((null==(b=a.player.getVideoData(1))?0:b.fv)||g.uB("SERVED_VIA_SPF_HISTORY")))b=a.player.U(),c=zJ(b)&&!g.yJ(b)&&"desktop-polymer"===b.playerStyle;c&&(a=CSa(a.player),a.addEventListener("updateKevlarOrC3Companion",Hwa),a.addEventListener("updateEngagementPanelAction",Jwa),a.addEventListener("changeEngagementPanelVisibility",Lwa),window.addEventListener("yt-navigate-start",Nwa))}; l2=function(a,b){b===a.ys&&(a.ys=void 0)}; feb=function(a){var b=S1(a.j).Yc,c=b.B().gO("SLOT_TYPE_PLAYER_BYTES",1);b=b.Xa.get().mf(1).clientPlaybackNonce;var d=!1;c=g.v(c);for(var e=c.next();!e.done;e=c.next()){e=e.value;var f="SLOT_TYPE_PLAYER_BYTES"===e.slotType&&e.slotEntryTrigger instanceof $L?e.slotEntryTrigger.Tr:void 0;f&&f===b&&(d&&DG("More than 1 preroll playerBytes slot detected",e),d=!0)}d||E1(S1(a.j).Sw)}; geb=function(a){if(t1(S1(a.j).Sj))return!0;var b="";a=g.v(S1(a.j).sj.Fl.keys());for(var c=a.next();!c.done;c=a.next()){c=c.value;if("SLOT_TYPE_PLAYER_BYTES"===c.slotType&&"core"===c.Za)return!0;b+=c.slotType+" "}.01>Math.random()&&DG("Ads Playback Not Managed By Controlflow",void 0,null,{slotTypes:b});return!1}; heb=function(a){a=g.v(S1(a.j).sj.Fl.values());for(var b=a.next();!b.done;b=a.next())if("LAYOUT_TYPE_MEDIA_BREAK"===b.value.layoutType)return!0;return!1}; xDa=function(a,b,c,d,e){c=void 0===c?[]:c;d=void 0===d?"":d;e=void 0===e?"":e;var f=S1(a.j).Sj,h=a.player.getVideoData(1);h&&h.getPlayerResponse();h&&h.Ac();c=ceb(b,c,f,S1(a.j).Bt);BDa(S1(a.j).kd,d,c.MJ,c.VU,b,e)}; ceb=function(a,b,c,d){b={MJ:[],VU:b};a=g.v(a);for(var e=a.next();!e.done;e=a.next())if((e=e.value)&&null!=e.renderer){var f=e.renderer;if(!c.J.U().L("html5_enable_vod_lasr_with_notify_pacf")){var h=void 0,l=void 0,m=void 0,n=void 0,p=d;g.U(null==(n=f.sandwichedLinearAdRenderer)?void 0:n.adVideoStart,mN)?(h=g.U(null==(m=f.sandwichedLinearAdRenderer)?void 0:m.adVideoStart,mN),p=QFa(h,p),g.AF(f.sandwichedLinearAdRenderer.adVideoStart,mN,p)):g.U(null==(l=f.linearAdSequenceRenderer)?void 0:l.adStart,mN)&& (m=g.U(null==(h=f.linearAdSequenceRenderer)?void 0:h.adStart,mN),p=QFa(m,p),g.AF(f.linearAdSequenceRenderer.adStart,mN,p))}b.MJ.push(e)}return b}; ieb=function(){if(!g.$e)return!1;try{return new ActiveXObject("MSXML2.DOMDocument"),!0}catch(a){return!1}}; g.m2=function(a){if("undefined"!=typeof DOMParser){var b=new DOMParser;a=g.je(a);return b.parseFromString(g.ie(a),"application/xml")}if(jeb){b=new ActiveXObject("MSXML2.DOMDocument");b.resolveExternals=!1;b.validateOnParse=!1;try{b.setProperty("ProhibitDTD",!0),b.setProperty("MaxXMLSize",2048),b.setProperty("MaxElementDepth",256)}catch(c){}b.loadXML(a);return b}throw Error("Your browser does not support loading xml documents");}; g.n2=function(a){g.J.call(this);this.callback=a;this.j=new av(0,0,.4,0,.2,1,1,1);this.delay=new g.zu(this.next,window,this);g.L(this,this.delay)}; g.keb=function(a){var b=a.U();return b.ge&&!b.C&&g.VR(b)?g.lU(a)?(a=a.Sk(),315<=Math.min(a.width,a.height)):!a.Kf():!1}; g.o2=function(a){g.V.call(this,{I:"div",S:"ytp-more-videos-view",X:{tabIndex:"-1"}});var b=this;this.api=a;this.B=!0;this.D=new g.GK(this);this.C=[];this.suggestionData=[];this.columns=this.containerWidth=this.Y=this.G=this.j=0;this.title=new g.V({I:"h2",S:"ytp-related-title",xa:"{{title}}"});this.previous=new g.V({I:"button",Ma:["ytp-button","ytp-previous"],X:{"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"}, V:[g.bG()]});this.N=new g.n2(function(c){b.suggestions.element.scrollLeft=-c}); this.next=new g.V({I:"button",Ma:["ytp-button","ytp-next"],X:{"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"},V:[g.cG()]});g.L(this,this.D);this.K=a.U().D;g.L(this,this.title);this.title.Da(this.element);this.suggestions=new g.V({I:"div",S:"ytp-suggestions"});g.L(this,this.suggestions);this.suggestions.Da(this.element);g.L(this,this.previous);this.previous.Da(this.element); this.previous.Ta("click",this.I1,this);g.L(this,this.N);leb(this);g.L(this,this.next);this.next.Da(this.element);this.next.Ta("click",this.H1,this);this.D.T(this.api,"appresize",this.Hb);this.D.T(this.api,"fullscreentoggled",this.yr);this.D.T(this.api,"videodatachange",this.onVideoDataChange);this.Hb(this.api.kb().getPlayerSize());this.onVideoDataChange()}; leb=function(a){for(var b={Jz:0};16>b.Jz;b={Jz:b.Jz},++b.Jz){var c=new g.V({I:"a",S:"ytp-suggestion-link",X:{href:"{{link}}",target:a.api.U().Y,"aria-label":"{{aria_label}}"},V:[{I:"div",S:"ytp-suggestion-image"},{I:"div",S:"ytp-suggestion-overlay",X:{style:"{{blink_rendering_hack}}","aria-hidden":"{{aria_hidden}}"},V:[{I:"div",S:"ytp-suggestion-title",xa:"{{title}}"},{I:"div",S:"ytp-suggestion-author",xa:"{{author_and_views}}"},{I:"div",X:{"data-is-live":"{{is_live}}"},S:"ytp-suggestion-duration", xa:"{{duration}}"}]}]});g.L(a,c);var d=c.Ha("ytp-suggestion-link");g.Vr(d,"transitionDelay",b.Jz/20+"s");a.D.T(d,"click",function(e){return function(f){var h=e.Jz;if(a.B){var l=a.suggestionData[h],m=l.sessionData;a.K&&a.api.L("web_player_log_click_before_generating_ve_conversion_params")?(a.api.logClick(a.C[h].element),h=l.Tk(),l={},g.QSa(a.api,l,"emb_rel_pause"),h=g.Ml(h,l),g.FU(h,a.api,f)):g.EU(f,a.api,a.K,m||void 0)&&a.api.Fo(l.videoId,m,l.playlistId)}else f.preventDefault(),document.activeElement.blur()}}(b)); c.Da(a.suggestions.element);a.C.push(c);a.api.createServerVe(c.element,c)}}; meb=function(a){if(a.api.U().L("web_player_log_click_before_generating_ve_conversion_params"))for(var b=Math.floor(-a.j/(a.G+8)),c=Math.min(b+a.columns,a.suggestionData.length)-1;b<=c;b++)a.api.logVisibility(a.C[b].element,!0)}; g.p2=function(a){var b=a.api.Yf()?32:16;b=a.Y/2+b;a.next.element.style.bottom=b+"px";a.previous.element.style.bottom=b+"px";b=a.j;var c=a.containerWidth-a.suggestionData.length*(a.G+8);g.Nu(a.element,"ytp-scroll-min",0<=b);g.Nu(a.element,"ytp-scroll-max",b<=c)}; oeb=function(a){for(var b=a.suggestionData.length,c=0;cb)for(;16>b;++b)c=a.C[b].Ha("ytp-suggestion-link"),g.Vr(c,"display","none");g.p2(a)}; aaa=[];ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a}; g.ia=caa(this);na("Symbol",function(a){function b(f){if(this instanceof b)throw new TypeError("Symbol is not a constructor");return new c(d+(f||"")+"_"+e++,f)} function c(f,h){this.j=f;ka(this,"description",{configurable:!0,writable:!0,value:h})} if(a)return a;c.prototype.toString=function(){return this.j}; var d="jscomp_symbol_"+(1E9*Math.random()>>>0)+"_",e=0;return b}); na("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}}); na("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=Ma(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var h=0;h=f}}); na("Number.isFinite",function(a){return a?a:function(b){return"number"!==typeof b?!1:!isNaN(b)&&Infinity!==b&&-Infinity!==b}}); na("String.prototype.repeat",function(a){return a?a:function(b){var c=Ma(this,null,"repeat");if(0>b||1342177279>>=1)c+=c;return d}}); na("Set",function(a){function b(c){this.j=new Map;if(c){c=g.v(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.j.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.v([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(h){return!1}}())return a; b.prototype.add=function(c){c=0===c?0:c;this.j.set(c,c);this.size=this.j.size;return this}; b.prototype.delete=function(c){c=this.j.delete(c);this.size=this.j.size;return c}; b.prototype.clear=function(){this.j.clear();this.size=0}; b.prototype.has=function(c){return this.j.has(c)}; b.prototype.entries=function(){return this.j.entries()}; b.prototype.values=function(){return this.j.values()}; b.prototype.keys=b.prototype.values;b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.j.forEach(function(f){return c.call(d,f,f,e)})}; return b}); na("Array.prototype.values",function(a){return a?a:function(){return La(this,function(b,c){return c})}}); na("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}}); na("Math.log2",function(a){return a?a:function(b){return Math.log(b)/Math.LN2}}); na("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push(b[d]);return c}}); na("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}}); na("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));cc&&(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>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}}); na("Promise.prototype.finally",function(a){return a?a:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c; })})}}); na("Array.prototype.findIndex",function(a){return a?a:function(b,c){return kaa(this,b,c).i}}); na("Math.sign",function(a){return a?a:function(b){b=Number(b);return 0===b||isNaN(b)?b:0c?Math.max(f+c,0):Math.min(c,f);d=0>d?Math.max(f+d,0):Math.min(d,f);e=0>e?Math.max(f+e,0):Math.min(e,f);if(cd;)--e in this?this[--c]=this[e]:delete this[--c];return this}}); na("Int8Array.prototype.copyWithin",Qa);na("Uint8Array.prototype.copyWithin",Qa);na("Uint8ClampedArray.prototype.copyWithin",Qa);na("Int16Array.prototype.copyWithin",Qa);na("Uint16Array.prototype.copyWithin",Qa);na("Int32Array.prototype.copyWithin",Qa);na("Uint32Array.prototype.copyWithin",Qa);na("Float32Array.prototype.copyWithin",Qa);na("Float64Array.prototype.copyWithin",Qa); na("Math.clz32",function(a){return a?a:function(b){b=Number(b)>>>0;if(0===b)return 32;var c=0;0===(b&4294901760)&&(b<<=16,c+=16);0===(b&4278190080)&&(b<<=8,c+=8);0===(b&4026531840)&&(b<<=4,c+=4);0===(b&3221225472)&&(b<<=2,c+=2);0===(b&2147483648)&&c++;return c}}); na("Number.parseInt",function(a){return a||parseInt}); na("String.raw",function(a){return a?a:function(b,c){if(null==b)throw new TypeError("Cannot convert undefined or null to object");for(var d=b.raw,e=d.length,f="",h=0;h>>0);laa=0;g.k=ob.prototype;g.k.x4=function(a){var b=g.Ka.apply(1,arguments),c=this.LN(b);c?c.push(new oaa(a)):this.n_(a,b)}; g.k.n_=function(a){var b=this.getKey(g.Ka.apply(1,arguments));this.j.set(b,[new oaa(a)])}; g.k.LN=function(){var a=this.getKey(g.Ka.apply(0,arguments));return this.j.has(a)?this.j.get(a):void 0}; g.k.c6=function(){var a=this.LN(g.Ka.apply(0,arguments));return a&&a.length?a[0]:void 0}; g.k.clear=function(){this.j.clear()}; g.k.getKey=function(){var a=g.Ka.apply(0,arguments);return a?a.join(","):"key"};g.w(qb,ob);qb.prototype.D=function(a){var b=g.Ka.apply(1,arguments),c=0,d=this.c6(b);d&&(c=d.j);this.n_(c+a,b)};g.w(rb,ob);rb.prototype.Ai=function(a){this.x4(a,g.Ka.apply(1,arguments))};g.k=g.J.prototype;g.k.Tx=!1;g.k.isDisposed=function(){return this.Tx}; g.k.dispose=function(){this.Tx||(this.Tx=!0,this.ya())}; g.k.addOnDisposeCallback=function(a,b){this.Tx?void 0!==b?a.call(b):a():(this.Sm||(this.Sm=[]),this.Sm.push(void 0!==b?(0,g.fb)(a,b):a))}; g.k.ya=function(){if(this.Sm)for(;this.Sm.length;)this.Sm.shift()()};g.lb(ub,Error);ub.prototype.name="CustomError";var Yba;g.lb(vb,ub);vb.prototype.name="AssertionError";g.wb.prototype.stopPropagation=function(){this.B=!0}; g.wb.prototype.preventDefault=function(){this.defaultPrevented=!0};var raa,nr,js;raa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0); for(var c=0;cc&&(c=Math.max(0,a.length+c));if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.lastIndexOf(b,c);for(;0<=c;c--)if(c in a&&a[c]===b)return c;return-1}; g.cc=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f/g,Jaa=/"/g,Kaa=/'/g,Laa=/\x00/g,Faa=/[\x00&<>"']/;var tc,zeb=g.Ra.navigator;tc=zeb?zeb.userAgentData||null:null;Lc[" "]=function(){};var Wr,TY,Dbb,Aeb,Beb,Ceb,SR,TR,Deb;g.UR=zc();g.$e=Ac();g.HD=xc("Edge");g.pS=g.HD||g.$e;Wr=xc("Gecko")&&!(jc(g.oc(),"WebKit")&&!xc("Edge"))&&!(xc("Trident")||xc("MSIE"))&&!xc("Edge");g.Sc=jc(g.oc(),"WebKit")&&!xc("Edge");TY=Kc();Dbb=Saa();g.kC=Raa();Aeb=Ic();Beb=xc("iPad");Ceb=xc("iPod");SR=Jc();TR=jc(g.oc(),"KaiOS"); a:{var Eeb="",Feb=function(){var a=g.oc();if(Wr)return/rv:([^\);]+)(\)|;)/.exec(a);if(g.HD)return/Edge\/([\d\.]+)/.exec(a);if(g.$e)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(g.Sc)return/WebKit\/(\S+)/.exec(a);if(g.UR)return/(?:Version)[ \/]?(\S+)/.exec(a)}(); Feb&&(Eeb=Feb?Feb[1]:"");if(g.$e){var Geb=Vaa();if(null!=Geb&&Geb>parseFloat(Eeb)){Deb=String(Geb);break a}}Deb=Eeb}var Oc=Deb,Taa={},Heb;if(g.Ra.document&&g.$e){var Ieb=Vaa();Heb=Ieb?Ieb:parseInt(Oc,10)||void 0}else Heb=void 0;var Waa=Heb;var yWa=Xaa("AnimationEnd"),nTa=Xaa("TransitionEnd");g.lb(Tc,g.wb);var Jeb={2:"touch",3:"pen",4:"mouse"}; Tc.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;(b=a.relatedTarget)?Wr&&(Nc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;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.Sc||void 0!== a.offsetX?a.offsetX:a.layerX,this.offsetY=g.Sc||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="string"=== typeof a.pointerType?a.pointerType:Jeb[a.pointerType]||"";this.state=a.state;this.timeStamp=a.timeStamp;this.j=a;a.defaultPrevented&&Tc.Of.preventDefault.call(this)}; Tc.prototype.stopPropagation=function(){Tc.Of.stopPropagation.call(this);this.j.stopPropagation?this.j.stopPropagation():this.j.cancelBubble=!0}; Tc.prototype.preventDefault=function(){Tc.Of.preventDefault.call(this);var a=this.j;a.preventDefault?a.preventDefault():a.returnValue=!1};var Yaa="closure_listenable_"+(1E6*Math.random()|0);var Zaa=0;var eba="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");g.k=td.prototype;g.k.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.j++);var h=vd(a,b,d,e);-1>>0);g.lb(g.Fd,g.J);g.Fd.prototype[Yaa]=!0;g.k=g.Fd.prototype;g.k.addEventListener=function(a,b,c,d){g.xd(this,a,b,c,d)}; g.k.removeEventListener=function(a,b,c,d){lba(this,a,b,c,d)}; g.k.dispatchEvent=function(a){var b=this.EQ;if(b){var c=[];for(var d=1;b;b=b.EQ)c.push(b),++d}b=this.t4;d=a.type||a;if("string"===typeof a)a=new g.wb(a,b);else if(a instanceof g.wb)a.target=a.target||b;else{var e=a;a=new g.wb(d,b);g.sd(a,e)}e=!0;if(c)for(var f=c.length-1;!a.B&&0<=f;f--){var h=a.currentTarget=c[f];e=Gd(h,d,!0,a)&&e}a.B||(h=a.currentTarget=b,e=Gd(h,d,!0,a)&&e,a.B||(e=Gd(h,d,!1,a)&&e));if(c)for(f=0;!a.B&&fdh.length&&dh.push(this)}; g.k.clear=function(){this.B=null;this.G=!1;this.j=this.C=this.D=0;this.HG=!1}; g.k.reset=function(){this.j=this.D}; g.k.advance=function(a){Xg(this,this.j+a)}; var dh=[];eh.prototype.free=function(){this.j.clear();this.B=this.D=-1;100>q2.length&&q2.push(this)}; eh.prototype.reset=function(){this.j.reset();this.C=this.j.j;this.B=this.D=-1}; eh.prototype.advance=function(a){this.j.advance(a)}; var q2=[];var tda,wda;Eh.prototype.length=function(){return this.j.length}; Eh.prototype.end=function(){var a=this.j;this.j=[];return a};var r2;r2="function"===typeof Symbol&&"symbol"===typeof Symbol()?Symbol():void 0;Math.max.apply(Math,g.qa(Object.values({OGa:1,IGa:2,zGa:4,KVa:8,JVa:16,dSa:32,Fra:64,R9a:128,EDa:256,BDa:512,JGa:1024,fDa:2048,L6a:4096,gDa:8192})));var Ph=r2?function(a,b){a[r2]|=b}:function(a,b){void 0!==a.En?a.En|=b:Object.defineProperties(a,{En:{value:b, configurable:!0,writable:!0,enumerable:!1}})},kj=r2?function(a,b){a[r2]&=~b}:function(a,b){void 0!==a.En&&(a.En&=~b)},Mh=r2?function(a){return a[r2]|0}:function(a){return a.En|0},bj=r2?function(a){return a[r2]}:function(a){return a.En},Nh=r2?function(a,b){a[r2]=b}:function(a,b){void 0!==a.En?a.En=b:Object.defineProperties(a,{En:{value:b, configurable:!0,writable:!0,enumerable:!1}})};var Ei={},Fda={},Qeb,aea=!yeb,jj,Reb=[];Nh(Reb,55);jj=Object.freeze(Reb);var Wh,$i;var Nda=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;var Fi,Yi,Yda;Object.freeze({});Object.freeze({});g.k=S.prototype;g.k.toJSON=function(){if(Qeb)var a=Ak(this,this.ea,!1);else a=aj(this.ea,dea,void 0,void 0,!1,!1),a=Ak(this,a,!0);return a}; g.k.Cj=function(){Qeb=!0;try{return JSON.stringify(this.toJSON(),$da)}finally{Qeb=!1}}; g.k.clone=function(){var a=this.ea;return Gi(this.constructor,cj(a,bj(a),!1))}; g.k.Xv=function(){return!!(Mh(this.ea)&2)}; g.k.cJ=Ei;g.k.toString=function(){return Ak(this,this.ea,!1).toString()};var yea=Symbol(),Dk,Ek,Gk=Symbol(),Fea=Symbol(),Jk=Symbol(),Kk=Symbol(),Seb=Lk(function(a,b,c){if(1!==a.B)return!1;Nk(b,c,bh(a.j));return!0},Ok),Teb=Lk(function(a,b,c){if(1!==a.B)return!1; a=bh(a.j);Nk(b,c,0===a?void 0:a);return!0},Ok),Ueb=Lk(function(a,b,c,d){if(1!==a.B)return!1; Gj(b,c,d,bh(a.j));return!0},Ok),Veb=Lk(function(a,b,c){if(0!==a.B)return!1; Nk(b,c,Yg(a.j));return!0},Pk),Web=Lk(function(a,b,c){if(0!==a.B)return!1; a=Yg(a.j);Nk(b,c,0===a?void 0:a);return!0},Pk),Xeb=Lk(function(a,b,c,d){if(0!==a.B)return!1; Gj(b,c,d,Yg(a.j));return!0},Pk),Yeb=Lk(function(a,b,c){if(0!==a.B)return!1; Nk(b,c,Zg(a.j));return!0},Qk),Zeb=Lk(function(a,b,c){if(0!==a.B)return!1; a=Zg(a.j);Nk(b,c,0===a?void 0:a);return!0},Qk),$eb=Lk(function(a,b,c,d){if(0!==a.B)return!1; Gj(b,c,d,Zg(a.j));return!0},Qk),afb=Lk(function(a,b,c){if(1!==a.B)return!1; Nk(b,c,ah(a.j));return!0},function(a,b,c){Bda(a,c,Vda(b))}),bfb=Mk(function(a,b,c){if(1!==a.B&&2!==a.B)return!1; b=lj(b,bj(b),c,2,!1);if(2==a.B)for(c=Zg(a.j)>>>0,c=a.j.j+c;a.j.j>>0);return!0},function(a,b,c){b=ui(b); null!=b&&null!=b&&(Ih(a,c,0),Fh(a.j,b))}),ifb=Lk(function(a,b,c){if(0!==a.B)return!1; Nk(b,c,Zg(a.j));return!0},function(a,b,c){b=ti(b); null!=b&&(b=parseInt(b,10),Ih(a,c,0),zda(a.j,b))});g.w(Tk,S);Tk.xb=[1,2,3,4];g.w(Uk,S);var sl=[1,2,3],jfb=[0,sl,ffb,$eb,dfb];var kfb=[0,t2,[0,Seb,Veb]];g.w(Vk,S);var rl=[1,2,3],lfb=[0,rl,Xeb,Ueb,u2,kfb];g.w(Wk,S);Wk.xb=[1];var mfb=[0,t2,jfb,lfb];var nfb=[0,[1,2,3],u2,[0,s2,-1,cfb],u2,[0,s2,-1,Yeb,cfb],u2,[0,s2]];g.w(pl,S);pl.prototype.yp=function(){var a=nea(this,3,void 0,3,!0);Hda(a);return a[void 0]}; pl.xb=[3,6,4];pl.prototype.j=Qea([0,s2,nfb,efb,t2,mfb,afb,bfb]);g.w(ql,S);ql.xb=[1];var Xea={};g.k=tl.prototype;g.k.isEnabled=function(){if(!g.Ra.navigator.cookieEnabled)return!1;if(!this.isEmpty())return!0;this.set("TESTCOOKIESENABLED","1",{RI:60});if("1"!==this.get("TESTCOOKIESENABLED"))return!1;this.remove("TESTCOOKIESENABLED");return!0}; g.k.set=function(a,b,c){var d=!1;if("object"===typeof c){var e=c.Bjb;d=c.lba||!1;var f=c.domain||void 0;var h=c.path||void 0;var l=c.RI}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');void 0===l&&(l=-1);c=f?";domain="+f:"";h=h?";path="+h:"";d=d?";secure":"";l=0>l?"":0==l?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+1E3*l)).toUTCString();this.j.cookie=a+"="+b+c+h+l+d+(null!=e?";samesite="+ e:"")}; g.k.get=function(a,b){for(var c=a+"=",d=(this.j.cookie||"").split(";"),e=0,f;ed&&this.Eaa||401===a||0===a}; Fm.prototype.AF=function(a){this.j.AF(a);return this}; Fm.prototype.build=function(a,b,c,d,e,f){b=void 0===b?0:b;e=void 0===e?0:e;f=void 0===f?0:f;c=void 0===c?0:c;if(ij(Jm(this),ym,11)){var h=Km(this);Wj(h,3,c)}ij(Jm(this),ym,11)&&(c=Km(this),Wj(c,4,e));ij(Jm(this),ym,11)&&(e=Km(this),Wj(e,5,f));f=this.j.clone();e=Date.now().toString();f=hj(f,4,xi(e));a=Lj(f,Cm,3,a);d&&(f=new yl,d=Wj(f,13,d),f=new zl,d=N(f,yl,2,d),f=new Bm,d=N(f,zl,1,d),d=R(d,2,9),N(a,Bm,18,d));b&&Yj(a,14,b);return a};tfa.prototype.Cj=function(a){var b=[];Mm(this,a,b);return b.join("")}; var wfa={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\u000b"},vfa=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g;Nm.prototype.C=null;Nm.prototype.getOptions=function(){return this.C||(this.C=this.D())};var pfb;g.lb(Om,Nm);Om.prototype.j=function(){var a=yfa(this);return a?new ActiveXObject(a):new XMLHttpRequest}; Om.prototype.D=function(){var a={};yfa(this)&&(a[0]=!0,a[1]=!0);return a}; pfb=new Om;g.lb(g.Pm,g.Fd);var Gfa=/^https?$/i,qfb=["POST","PUT"],zfa=[];g.k=g.Pm.prototype;g.k.W4=function(){this.dispose();g.Fb(zfa,this)}; g.k.send=function(a,b,c,d){if(this.j)throw Error("[goog.net.XhrIo] Object is active with another request="+this.ma+"; newUri="+a);b=b?b.toUpperCase():"GET";this.ma=a;this.D="";this.B=0;this.Ea=!1;this.C=!0;this.j=this.Z?this.Z.j():pfb.j();this.Aa=this.Z?this.Z.getOptions():pfb.getOptions();this.j.onreadystatechange=(0,g.fb)(this.fZ,this);try{this.getStatus(),this.Fa=!0,this.j.open(b,String(a),!0),this.Fa=!1}catch(h){this.getStatus();Dfa(this,h);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)=== Object.prototype)for(var e in d)c.set(e,d[e]);else if("function"===typeof d.keys&&"function"===typeof d.get){e=g.v(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(h){return"content-type"==h.toLowerCase()}); e=g.Ra.FormData&&a instanceof g.Ra.FormData;!g.Cb(qfb,b)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=g.v(c);for(d=b.next();!d.done;d=b.next())c=g.v(d.value),d=c.next().value,c=c.next().value,this.j.setRequestHeader(d,c);this.Ka&&(this.j.responseType=this.Ka);"withCredentials"in this.j&&this.j.withCredentials!==this.K&&(this.j.withCredentials=this.K);try{Ffa(this),0>>3;1!=f.C&&2!=f.C&&15!=f.C&&bp(f,h,l,"unexpected tag");f.j=1;f.B=0;f.D=0} function c(m){f.D++;5==f.D&&m&240&&bp(f,h,l,"message length too long");f.B|=(m&127)<<7*(f.D-1);m&128||(f.j=2,f.Z=0,"undefined"!==typeof Uint8Array?f.G=new Uint8Array(f.B):f.G=Array(f.B),0==f.B&&e())} function d(m){f.G[f.Z++]=m;f.Z==f.B&&e()} function e(){if(15>f.C){var m={};m[f.C]=f.G;f.N.push(m)}f.j=0} for(var f=this,h=a instanceof Array?a:new Uint8Array(a),l=0;lb||3==b&&!e&&0==a.length))if(d=200==d||206==d,4==b&&(8==c?ip(this,7):7==c?ip(this,8):d||ip(this,3)),this.B||(this.B=Oga(this.j),null==this.B&&ip(this,5)),2this.C){var h=a.length;c=[];try{if(this.B.DG())for(var l=0;lthis.C){l=e.slice(this.C);this.C=e.length;try{var n=this.B.parse(l);null!=n&&this.G&&this.G(n)}catch(p){ip(this,5);jp(this);break a}}4==b?(0!=e.length|| this.Y?ip(this,2):ip(this,4),jp(this)):ip(this,1)}}}catch(p){ip(this,6),jp(this)}};g.k=Pga.prototype;g.k.on=function(a,b){var c=this.B[a];c||(c=[],this.B[a]=c);c.push(b);return this}; g.k.addListener=function(a,b){this.on(a,b);return this}; g.k.removeListener=function(a,b){var c=this.B[a];c&&g.Fb(c,b);(a=this.j[a])&&g.Fb(a,b);return this}; g.k.once=function(a,b){var c=this.j[a];c||(c=[],this.j[a]=c);c.push(b);return this}; g.k.Z8=function(a){var b=this.B.data;b&&Qga(a,b);(b=this.j.data)&&Qga(a,b);this.j.data=[]}; g.k.I$=function(){switch(this.C.getStatus()){case 1:kp(this,"readable");break;case 5:case 6:case 4:case 7:case 3:kp(this,"error");break;case 8:kp(this,"close");break;case 2:kp(this,"end")}};Rga.prototype.serverStreaming=function(a,b,c,d){var e=this,f=a.substr(0,a.length-d.name.length);return Sga(function(h){var l=h.SH(),m=h.getMetadata(),n=Vga(e,!1);m=Wga(e,m,n,f+l.getName());var p=Xga(n,l.B,!0);h=l.j(h.j);n.send(m,"POST",h);return p},this.D).call(this,vga(d,b,c))};mp.prototype.create=function(a,b){return lp(this.j,this.B+"/$rpc/google.internal.waa.v1.Waa/Create",a,b||{},ufb)}; mp.prototype.ping=function(a,b){return lp(this.j,this.B+"/$rpc/google.internal.waa.v1.Waa/Ping",a,b||{},wfb)};var Dfb=1,tp=new WeakMap;g.w(np,g.J);np.prototype.signal=function(){var a=new pp(!1);this.signals.add(a);g.L(this,a);return a}; np.prototype.Xz=function(a){this.signals.has(a);return a.Xz()}; g.w(pp,g.J);g.k=pp.prototype;g.k.CM=function(){var a=this,b=Dfb++;qp(function(){Zga(a,b)}); return b}; g.k.detach=function(a){var b=this;qp(function(){var c=b.slots.get(a);c&&c.MV()})}; g.k.value=function(a){return this.promise(!0,a)}; g.k.Xz=function(){return this.OX}; g.k.next=function(a){return this.promise(!1,a)}; g.k.promise=function(a,b){var c=this,d=qca();qp(function(){if(c.isDisposed())d.reject(new ag("Signal initially disposed"));else if(b&&b.isDisposed())d.reject(new ag("Owner initially disposed"));else if(a&&c.kV&&c.cX)d.resolve(c.OX);else if(c.jB.add(d),$f(d.promise,function(){c.jB.delete(d)}),b){var e=function(){d.reject(new ag("Owner asynchronously disposed"))}; $f(d.promise,function(){var f=tp.get(b);f&&g.Fb(f,e)}); cha(b,e)}}); return d.promise}; g.k.ya=function(){var a=this;g.J.prototype.ya.call(this);qp(function(){for(var b=g.v(a.slots.values()),c=b.next();!c.done;c=b.next())c=c.value.MV,c();a.slots.clear();b=g.v(a.jB);for(c=b.next();!c.done;c=b.next())c.value.reject(new ag("Signal asynchronously disposed"));a.jB.clear()})}; var rp=[],sp=!1;g.w(up,g.J);up.prototype.start=function(){var a=this;if(this.isDisposed())throw new wp("Cannot start a disposed timer.");if(!this.K){this.D=0;if(this.N){var b=Date.now();this.handle=setInterval(function(){a.D=0=this.ma&&this.D.resolve();var b=xp(a,this.logger),c=new un(this.logger,"C"),d=this.Z(b);c.done();if(void 0===d)throw new yp(17,Error("YNJ:Undefined"));if(!(d instanceof Uint8Array))throw new yp(18,Error("ODM:Invalid"));var e;if(null==(e=a.Py)?0:e.Oba){var f;null==(f=this.N())||Tfa(f,b,d,a.Py.jV,this.K)}return d}; g.w(Cp,zp);Cp.prototype.j=function(){return this.K}; g.w(Dp,zp);Dp.prototype.j=function(){return tg(this.K)}; Dp.prototype.G=function(){return this.K}; g.w(Ep,zp);Ep.prototype.j=function(){if(this.K)return this.K;this.K=hha(this,function(a){return"_"+aga(a)}); return hha(this,function(a){return a})}; g.w(Fp,zp);Fp.prototype.j=function(a){var b=xp(a,this.logger);if(118>24&255,a>>16&255,a>>8&255,a&255]);a=new Uint8Array(2+d.length+b.length);a[0]=34;a[1]=d.length+b.length;a.set(d,2);a.set(b,2+d.length);b=a.subarray(2);for(d=c=c.length;dd)return"";this.j.sort(function(n,p){return n-p}); c=null;b="";for(var e=0;e=m.length){d-=m.length;a+=m;b=this.C;break}c=null==c?f:c}}d="";null!=c&&(d=b+"trn="+c);return a+d};pr.prototype.setInterval=function(a,b){return Wp.setInterval(a,b)}; pr.prototype.clearInterval=function(a){Wp.clearInterval(a)}; pr.prototype.setTimeout=function(a,b){return Wp.setTimeout(a,b)}; pr.prototype.clearTimeout=function(a){Wp.clearTimeout(a)};g.w(rr,S);rr.prototype.j=Qea([0,Teb,Web,-2,Zeb]);var Wha={OYa:1,p4:2,PRa:3};Yha.prototype.VQ=function(a){if("string"===typeof a&&0!=a.length){var b=this.Gc;if(b.B){a=a.split("&");for(var c=a.length-1;0<=c;c--){var d=a[c].split("="),e=decodeURIComponent(d[0]);1=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.k.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.k.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.k.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.k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};Pr.prototype.equals=function(a,b){return!!a&&(!(void 0===b?0:b)||this.volume==a.volume)&&this.C==a.C&&Nr(this.j,a.j)&&!0};Qr.prototype.zb=function(){return this.N}; Qr.prototype.equals=function(a,b){return this.D.equals(a.D,void 0===b?!1:b)&&this.N==a.N&&Nr(this.C,a.C)&&Nr(this.K,a.K)&&this.j==a.j&&this.G==a.G&&this.B==a.B&&this.Z==a.Z};var Ffb={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},qt={g4:"start",A1:"firstquartile",W3:"midpoint",j4:"thirdquartile",f1:"complete",ERROR:"error",V3:"metric",PAUSE:"pause",d4:"resume",e4:"skip",o4:"viewable_impression",Y3:"mute",n4:"unmute",B1:"fullscreen",z1:"exitfullscreen",d1:"bufferstart",b1:"bufferfinish",C1:"fully_viewable_audible_half_duration_impression",U3:"measurable_impression",T0:"abandon",w1:"engagedview",F1:"impression",l1:"creativeview",T3:"loaded",p_a:"progress", CLOSE:"close",pra:"collapse",NWa:"overlay_resize",OWa:"overlay_unmeasurable_impression",PWa:"overlay_unviewable_impression",RWa:"overlay_viewable_immediate_impression",QWa:"overlay_viewable_end_of_session_impression",n1:"custom_metric_viewable",W0:"audio_audible",Y0:"audio_measurable",X0:"audio_impression"},Jka="start firstquartile midpoint thirdquartile resume loaded".split(" "),Kka=["start","firstquartile","midpoint","thirdquartile"],Aja=["abandon"],Mt={UNKNOWN:-1,g4:0,A1:1,W3:2,j4:3,f1:4,V3:5, PAUSE:6,d4:7,e4:8,o4:9,Y3:10,n4:11,B1:12,z1:13,C1:14,U3:15,T0:16,w1:17,F1:18,l1:19,T3:20,n1:21,d1:22,b1:23,X0:27,Y0:28,W0:29};var lia={Lda:"addEventListener",lDa:"getMaxSize",mDa:"getScreenSize",nDa:"getState",oDa:"getVersion",L_a:"removeEventListener",UGa:"isViewable"};g.k=g.Sr.prototype;g.k.clone=function(){return new g.Sr(this.left,this.top,this.width,this.height)}; g.k.contains=function(a){return a instanceof g.re?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.k.getSize=function(){return new g.te(this.width,this.height)}; g.k.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.k.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.k.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.k.scale=function(a,b){b="number"===typeof b?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var pia={};yia.prototype.update=function(a){a&&a.document&&(this.N=Rr(!1,a,this.isMobileDevice),this.j=Rr(!0,a,this.isMobileDevice),Aia(this,a),zia(this,a))};ns.prototype.cancel=function(){qr().clearTimeout(this.j);this.j=null}; ns.prototype.schedule=function(){var a=this,b=qr(),c=tr().j.j;this.j=b.setTimeout(sr(c,Er(143,function(){a.B++;a.C.sample()})),kia())};g.k=os.prototype;g.k.kC=function(){return!1}; g.k.initialize=function(){return this.isInitialized=!0}; g.k.qz=function(){return this.j.Fa}; g.k.QD=function(){return this.j.ma}; g.k.fail=function(a,b){if(!this.ma||(void 0===b?0:b))this.ma=!0,this.Fa=a,this.Z=0,this.j!=this||qs(this)}; g.k.getName=function(){return this.j.Sa}; g.k.Ys=function(){return this.j.rW()}; g.k.rW=function(){return{}}; g.k.Oq=function(){return this.j.Z}; g.k.yT=function(){var a=ks();a.j=Rr(!0,this.C,a.isMobileDevice)}; g.k.zT=function(){zia(ks(),this.C)}; g.k.HW=function(){return this.D.j}; g.k.sample=function(){}; g.k.isActive=function(){return this.j.K}; g.k.Cz=function(a){var b=this.j;this.j=a.Oq()>=this.Z?a:this;b!==this.j?(this.K=this.j.K,qs(this)):this.K!==this.j.K&&(this.K=this.j.K,qs(this))}; g.k.xt=function(a){if(a.B===this.j){var b=!this.D.equals(a,this.Y);this.D=a;b&&Dia(this)}}; g.k.bq=function(){return this.Y}; g.k.dispose=function(){this.Ea=!0}; g.k.isDisposed=function(){return this.Ea};g.k=rs.prototype;g.k.FL=function(){return!0}; g.k.uG=function(){}; g.k.dispose=function(){if(!this.isDisposed()){var a=this.B;g.Fb(a.G,this);a.Y&&this.bq()&&Cia(a);this.uG();this.ma=!0}}; g.k.isDisposed=function(){return this.ma}; g.k.Ys=function(){return this.B.Ys()}; g.k.Oq=function(){return this.B.Oq()}; g.k.qz=function(){return this.B.qz()}; g.k.QD=function(){return this.B.QD()}; g.k.Cz=function(){}; g.k.xt=function(){this.Ds()}; g.k.bq=function(){return this.oa};g.k=ts.prototype;g.k.Oq=function(){return this.j.Oq()}; g.k.qz=function(){return this.j.qz()}; g.k.QD=function(){return this.j.QD()}; g.k.create=function(a,b,c){var d=null;this.j&&(d=this.vG(a,b,c),ps(this.j,d));return d}; g.k.AT=function(){return this.lC()}; g.k.lC=function(){return!1}; g.k.init=function(a){return this.j.initialize()?(ps(this.j,this),this.D=a,!0):!1}; g.k.Cz=function(a){0==a.Oq()&&this.D(a.qz(),this)}; g.k.xt=function(){}; g.k.bq=function(){return!1}; g.k.dispose=function(){this.G=!0}; g.k.isDisposed=function(){return this.G}; g.k.Ys=function(){return{}};us.prototype.add=function(a,b,c){++this.C;a=new Eia(a,b,c);this.j.push(new Eia(a.j,a.Td,a.B+this.C/4096));this.B=!0;return this};Jia.prototype.toString=function(){var a="//pagead2.googlesyndication.com//pagead/gen_204",b=ws(this.j);0=h;h=!(0=h)||c;this.j[e].update(f&&l,d,!f||h)}};Ns.prototype.update=function(a,b,c,d){this.N=-1!=this.N?Math.min(this.N,b.De):b.De;this.oa=Math.max(this.oa,b.De);this.Aa=-1!=this.Aa?Math.min(this.Aa,b.xk):b.xk;this.Fa=Math.max(this.Fa,b.xk);this.gb.update(b.xk,c.xk,b.j,a,d);this.B.update(b.De,c.De,b.j,a,d);c=d||c.Yv!=b.Yv?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.j;this.Sa.update(c,a,b)}; Ns.prototype.gr=function(){return this.Sa.C>=this.bb};if(ls&&ls.URL){var Gfb=ls.URL,Hfb;if(Hfb=!!Gfb){var Ifb;a:{if(Gfb){var Jfb=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var y2=Jfb.exec(decodeURIComponent(Gfb));if(y2){Ifb=y2[1]&&1=(this.Yv()?.3:.5),this.rS(f,a,d),this.Op=b,0=e||0>=b||0>=c||0>=d||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,0=a.bottom||a.left>=a.right?new Lr(0,0,0,0):a;a=this.B.D;b=e=d=0;0<(this.j.bottom-this.j.top)*(this.j.right-this.j.left)&&(this.CX(c)?c=new Lr(0,0,0,0):(d=ks().D,b=new Lr(0,d.height,d.width,0),d=Rs(c,this.j),e=Rs(c,ks().j),b=Rs(c,b)));c=c.top>=c.bottom||c.left>=c.right?new Lr(0,0,0, 0):Or(c,-this.j.left,-this.j.top);ms()||(e=d=0);this.N=new Qr(a,this.element,this.j,c,d,e,this.timestamp,b)}; g.k.getName=function(){return this.B.getName()};var Ofb=new Lr(0,0,0,0);g.w(jt,ht);g.k=jt.prototype;g.k.FL=function(){this.C();return!0}; g.k.xt=function(){ht.prototype.Ds.call(this)}; g.k.mV=function(){}; g.k.MM=function(){}; g.k.Ds=function(){this.C();ht.prototype.Ds.call(this)}; g.k.Cz=function(a){a=a.isActive();a!==this.K&&(a?this.C():(ks().j=new Lr(0,0,0,0),this.j=new Lr(0,0,0,0),this.D=new Lr(0,0,0,0),this.timestamp=-1));this.K=a};var C2={},yja=(C2.firstquartile=0,C2.midpoint=1,C2.thirdquartile=2,C2.complete=3,C2);g.w(lt,Ss);g.k=lt.prototype;g.k.bq=function(){return!0}; g.k.Ln=function(){return 2==this.fk}; g.k.wW=function(a){return $ia(this,a,Math.max(1E4,this.C/3))}; g.k.Ra=function(a,b,c,d,e,f,h){var l=this,m=this.N(this)||{};g.sd(m,e);this.C=m.duration||this.C;this.Y=m.isVpaid||this.Y;this.Na=m.isYouTube||this.Na;qr();this.ob=!1;e=qja(this,b);1===pja(this)&&(f=e);Ss.prototype.Ra.call(this,a,b,c,d,m,f,h);this.rr&&this.rr.C&&g.cc(this.K,function(n){n.B(l)})}; g.k.rS=function(a,b,c){Ss.prototype.rS.call(this,a,b,c);ot(this).update(a,b,this.Oh,c);this.gb=Ws(this.Oh)&&Ws(b);-1==this.Fa&&this.bb&&(this.Fa=this.mj().C.j);this.Ng.C=0;a=this.gr();b.isVisible()&&at(this.Ng,"vs");a&&at(this.Ng,"vw");is(b.volume)&&at(this.Ng,"am");Ws(b)?at(this.Ng,"a"):at(this.Ng,"mut");this.Lz&&at(this.Ng,"f");-1!=b.B&&(at(this.Ng,"bm"),1==b.B&&(at(this.Ng,"b"),Ws(b)&&at(this.Ng,"umutb")));Ws(b)&&b.isVisible()&&at(this.Ng,"avs");this.gb&&a&&at(this.Ng,"avw");0this.j.Z&&(this.j=this,qs(this)),this.Z=a);return 2==a};Gt.prototype.sample=function(){Jt(this,xt(),!1)}; Gt.prototype.D=function(){var a=ms(),b=Gr();a?(Ir||(Jr=b,g.cc(wt.j,function(c){var d=c.mj();d.Na=dt(d,b,1!=c.fk)})),Ir=!0):(this.N=Zja(this,b),Ir=!1,zja=b,g.cc(wt.j,function(c){c.cD&&(c.mj().Z=b)})); Jt(this,xt(),!a)}; var Ht=or(Gt);var aka=null,fu="",eu=!1;var dka=cka().hp,Lt=cka().kp;var gka={VAa:"visible",ena:"audible",t8a:"time",w8a:"timetype"},hka={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)}}; fka.prototype.setTime=function(a,b,c){"ms"==b?(this.C=a,this.D=-1):(this.C=-1,this.D=a);this.G=void 0===c?"tos":c;return this};g.w(Pt,et);Pt.prototype.getId=function(){return this.N}; Pt.prototype.K=function(){return!0}; Pt.prototype.j=function(a){var b=a.mj(),c=a.getDuration();return js(this.Z,function(d){if(void 0!=d.j)var e=jka(d,b);else b:{switch(d.G){case "mtos":e=d.B?b.G.C:b.C.j;break b;case "tos":e=d.B?b.G.j:b.C.j;break b}e=0}0==e?d=!1:(d=-1!=d.C?d.C:void 0!==c&&0=d);return d})};g.w(Qt,jja);Qt.prototype.j=function(a){var b=new ija;b.j=$s(a,Lfb);b.B=$s(a,Nfb);return b};g.w(Rt,et);Rt.prototype.j=function(a){return sja(a)};g.w(St,oja);g.w(Tt,et);Tt.prototype.j=function(a){return a.mj().gr()};g.w(Ut,ft);Ut.prototype.j=function(a){var b=g.Cb(this.N,Qp(tr().Gc,"ovms"));return!a.Dt&&(0!=a.fk||b)};g.w(Vt,St);Vt.prototype.B=function(){return new Ut(this.j)}; Vt.prototype.C=function(){return[new Tt("viewable_impression",this.j),new Rt(this.j)]};g.w(Wt,jt);Wt.prototype.C=function(){var a=g.Ta("ima.admob.getViewability"),b=Qp(this.Gc,"queryid");"function"===typeof a&&b&&a(b)}; Wt.prototype.getName=function(){return"gsv"};g.w(Xt,ts);Xt.prototype.getName=function(){return"gsv"}; Xt.prototype.lC=function(){var a=ks();tr();return a.B&&!1}; Xt.prototype.vG=function(a,b,c){return new Wt(this.j,b,c)};g.w(Yt,jt);Yt.prototype.C=function(){var a=this,b=g.Ta("ima.bridge.getNativeViewability"),c=Qp(this.Gc,"queryid");"function"===typeof b&&c&&b(c,function(d){g.jd(d)&&a.G++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.j=wia(d.opt_nativeViewBounds||{});var h=a.B.D;h.j=f?Ofb.clone():wia(e);a.timestamp=d.opt_nativeTime||-1;ks().j=h.j;d=d.opt_nativeVolume;void 0!==d&&(h.volume=d)})}; Yt.prototype.getName=function(){return"nis"};g.w(Zt,ts);Zt.prototype.getName=function(){return"nis"}; Zt.prototype.lC=function(){var a=ks();tr();return a.B&&!1}; Zt.prototype.vG=function(a,b,c){return new Yt(this.j,b,c)};g.w($t,os);g.k=$t.prototype;g.k.kC=function(){return null!=this.B.Pn}; g.k.rW=function(){var a={};this.Ka&&(a.mraid=this.Ka);this.Aa&&(a.mlc=1);a.mtop=this.B.Iba;this.N&&(a.mse=this.N);this.Na&&(a.msc=1);a.mcp=this.B.compatibility;return a}; g.k.fu=function(a){var b=g.Ka.apply(1,arguments);try{return this.B.Pn[a].apply(this.B.Pn,b)}catch(c){Fr(538,c,.01,function(d){d.method=a})}}; g.k.initialize=function(){var a=this;if(this.isInitialized)return!this.QD();this.isInitialized=!0;if(2===this.B.compatibility)return this.N="ng",this.fail("w"),!1;if(1===this.B.compatibility)return this.N="mm",this.fail("w"),!1;ks().Z=!0;this.C.document.readyState&&"complete"==this.C.document.readyState?nka(this):Ps(this.C,"load",function(){qr().setTimeout(Er(292,function(){return nka(a)}),100)},292); return!0}; g.k.yT=function(){var a=ks(),b=ska(this,"getMaxSize");a.j=new Lr(0,b.width,b.height,0)}; g.k.zT=function(){ks().D=ska(this,"getScreenSize")}; g.k.dispose=function(){pka(this);os.prototype.dispose.call(this)};var Tha=new function(a,b){this.key=a;this.defaultValue=void 0===b?!1:b;this.valueType="boolean"}("45378663");g.k=bu.prototype;g.k.nH=function(a){Ts(a,!1);Mja(a)}; g.k.dI=function(){}; g.k.jF=function(a,b,c,d){var e=this;a=new lt(Wp,a,c?b:-1,7,this.jN(),this.FV());a.Vi=d;oha(a.Gc);Pp(a.Gc,"queryid",a.Vi);a.VQ("");cja(a,function(){return e.RW.apply(e,g.qa(g.Ka.apply(0,arguments)))},function(){return e.Y6.apply(e,g.qa(g.Ka.apply(0,arguments)))}); (d=or(zt).j)&&Zia(a,d);a.Nj.Mt&&or(Vja);return a}; g.k.Cz=function(a){switch(a.Oq()){case 0:if(a=or(zt).j)a=a.j,g.Fb(a.G,this),a.Y&&this.bq()&&Cia(a);du();break;case 2:It()}}; g.k.xt=function(){}; g.k.bq=function(){return!1}; g.k.Y6=function(a,b){a.Dt=!0;switch(a.Cp()){case 1:yka(a,b);break;case 2:this.iR(a)}}; g.k.h7=function(a){var b=a.N(a);b&&(b=b.volume,a.rb=is(b)&&0a&&Number.isInteger(a)&&this.data[a]!==b&&(this.data[a]=b,this.j=-1)}; uu.prototype.get=function(a){return!!this.data[a]};var wu;g.lb(g.zu,g.J);g.k=g.zu.prototype;g.k.start=function(){this.stop();this.D=!1;var a=Wka(this),b=Xka(this);a&&!b&&this.B.mozRequestAnimationFrame?(this.j=g.xd(this.B,"MozBeforePaint",this.C),this.B.mozRequestAnimationFrame(null),this.D=!0):this.j=a&&b?a.call(this.B,this.C):this.B.setTimeout(nba(this.C),20)}; g.k.stop=function(){if(this.isActive()){var a=Wka(this),b=Xka(this);a&&!b&&this.B.mozRequestAnimationFrame?Bd(this.j):a&&b?b.call(this.B,this.j):this.B.clearTimeout(this.j)}this.j=null}; g.k.isActive=function(){return null!=this.j}; g.k.W2=function(){this.D&&this.j&&Bd(this.j);this.j=null;this.K.call(this.G,g.kb())}; g.k.ya=function(){this.stop();g.zu.Of.ya.call(this)};g.lb(g.Bu,g.J);g.k=g.Bu.prototype;g.k.mC=0;g.k.ya=function(){g.Bu.Of.ya.call(this);this.stop();delete this.j;delete this.B}; g.k.start=function(a){this.stop();this.mC=g.mg(this.C,void 0!==a?a:this.Qi)}; g.k.stop=function(){this.isActive()&&g.Ra.clearTimeout(this.mC);this.mC=0}; g.k.isActive=function(){return 0!=this.mC}; g.k.CT=function(){this.mC=0;this.j&&this.j.call(this.B)};Fu.prototype[Symbol.iterator]=function(){return this}; Fu.prototype.next=function(){var a=this.j.next();return{value:a.done?void 0:this.B.call(void 0,a.value),done:a.done}};Ou.prototype.Gk=function(){return new Pu(this.B())}; Ou.prototype[Symbol.iterator]=function(){return new Qu(this.B())}; Ou.prototype.j=function(){return new Qu(this.B())}; g.w(Pu,g.Us);Pu.prototype.next=function(){return this.B.next()}; Pu.prototype[Symbol.iterator]=function(){return new Qu(this.B)}; Pu.prototype.j=function(){return new Qu(this.B)}; g.w(Qu,Ou);Qu.prototype.next=function(){return this.C.next()};g.k=g.Su.prototype;g.k.mm=function(){Uu(this);for(var a=[],b=0;b2*this.size&&Uu(this),!0):!1}; g.k.get=function(a,b){return Tu(this.B,a)?this.B[a]:b}; g.k.set=function(a,b){Tu(this.B,a)||(this.size+=1,this.j.push(a),this.Gu++);this.B[a]=b}; g.k.forEach=function(a,b){for(var c=this.Ap(),d=0;d=d.j.length)return g.z2;var f=d.j[b++];return g.Vs(a?f:d.B[f])}; return e};g.lb(g.Vu,g.Fd);g.k=g.Vu.prototype;g.k.isPlaying=function(){return 1==this.j}; g.k.isPaused=function(){return-1==this.j}; g.k.oJ=function(){this.gm("begin")}; g.k.xr=function(){this.gm("end")}; g.k.onFinish=function(){this.gm("finish")}; g.k.gm=function(a){this.dispatchEvent(a)};var Vfb=Kd(function(){if(g.$e)return!0;var a=g.lf("DIV"),b=g.Sc?"-webkit":Wr?"-moz":g.$e?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!Meb.test("div"))throw Error("");if("DIV"in Oeb)throw Error("");b=void 0;var d="";if(c)for(n in c)if(Object.prototype.hasOwnProperty.call(c,n)){if(!Meb.test(n))throw Error("");var e=c[n];if(null!=e){var f=void 0;var h=n;if(e instanceof g.Pd)e=g.Qd(e);else if("style"==h.toLowerCase()){if(!g.$a(e))throw Error(""); if(!(e instanceof g.be)){var l="";for(f in e)if(Object.prototype.hasOwnProperty.call(e,f)){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var m=e[f];null!=m&&(m=Array.isArray(m)?m.map(Iba).join(" "):Iba(m),l+=f+":"+m+";")}e=l?new g.be(l,Jn):Yu}e=ce(e)}else{if(/^on/i.test(h))throw Error("");if(h.toLowerCase()in Neb)if(e instanceof g.Vd)e=g.Wd(e).toString();else if(e instanceof g.Yd)e=g.Zd(e);else if("string"===typeof e)e=(g.ae(e)||g.de).Rk();else throw Error(""); }e.Cn&&(e=e.Rk());f=h+'="'+hc(String(e))+'"';d+=" "+f}}var n="":(b=Mba(b),n+=">"+g.ie(b).toString()+"");n=g.je(n);g.Qba(a,n);return""!=g.Xr(a.firstChild,"transition")});g.lb(Wu,g.Vu);g.k=Wu.prototype;g.k.play=function(){if(this.isPlaying())return!1;this.oJ();this.gm("play");this.startTime=g.kb();this.j=1;if(Vfb())return g.Vr(this.B,this.K),this.C=g.mg(this.saa,void 0,this),!0;this.GL(!1);return!1}; g.k.saa=function(){g.fs(this.B);bla(this.B,this.N);g.Vr(this.B,this.D);this.C=g.mg((0,g.fb)(this.GL,this,!1),1E3*this.G)}; g.k.stop=function(){this.isPlaying()&&this.GL(!0)}; g.k.GL=function(a){g.Vr(this.B,"transition","");g.Ra.clearTimeout(this.C);g.Vr(this.B,this.D);this.endTime=g.kb();this.j=0;if(a)this.gm("stop");else this.onFinish();this.xr()}; g.k.ya=function(){this.stop();Wu.Of.ya.call(this)}; g.k.pause=function(){};var ela={rgb:!0,rgba:!0,alpha:!0,rect:!0,image:!0,"linear-gradient":!0,"radial-gradient":!0,"repeating-linear-gradient":!0,"repeating-radial-gradient":!0,"cubic-bezier":!0,matrix:!0,perspective:!0,rotate:!0,rotate3d:!0,rotatex:!0,rotatey:!0,steps:!0,rotatez:!0,scale:!0,scale3d:!0,scalex:!0,scaley:!0,scalez:!0,skew:!0,skewx:!0,skewy:!0,translate:!0,translate3d:!0,translatex:!0,translatey:!0,translatez:!0};Xu("Element","attributes")||Xu("Node","attributes");Xu("Element","innerHTML")||Xu("HTMLElement","innerHTML");Xu("Node","nodeName");Xu("Node","nodeType");Xu("Node","parentNode");Xu("Node","childNodes");Xu("HTMLElement","style")||Xu("Element","style");Xu("HTMLStyleElement","sheet");var kla=gla("getPropertyValue"),lla=gla("setProperty");Xu("Element","namespaceURI")||Xu("Node","namespaceURI");var jla={"-webkit-border-horizontal-spacing":!0,"-webkit-border-vertical-spacing":!0};var pla,neb,ola,nla,qla;pla=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]");neb=RegExp("^[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");g.Wfb=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]"); g.Zu=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]");ola=/^http:\/\/.*/;g.Xfb=RegExp("^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)","i");nla=/\s+/;qla=/[\d\u06f0-\u06f9]/;av.prototype.clone=function(){return new av(this.j,this.C,this.x1,this.y1,this.x2,this.y2,this.B,this.D)}; av.prototype.equals=function(a){return this.j==a.j&&this.C==a.C&&this.x1==a.x1&&this.y1==a.y1&&this.x2==a.x2&&this.y2==a.y2&&this.B==a.B&&this.D==a.D};cv.prototype.clone=function(){return new cv(this.start,this.end)}; cv.prototype.getLength=function(){return this.end-this.start};(function(){if(Dbb){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(g.oc()))?a[1]:"0"}return TY?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(g.oc()))?a[0].replace(/_/g,"."):"10"):g.kC?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(g.oc()))?a[1]:""):Aeb||Beb||Ceb?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(g.oc()))?a[1].replace(/_/g,"."):""):""})();var sla=function(){if(g.vR)return dv(/Firefox\/([0-9.]+)/);if(g.$e||g.HD||g.UR)return Oc;if(g.$K){if(Jc()||Kc()){var a=dv(/CriOS\/([0-9.]+)/);if(a)return a}return dv(/Chrome\/([0-9.]+)/)}if(g.lD&&!Jc())return dv(/Version\/([0-9.]+)/);if(hC||iC){if(a=/Version\/(\S+).*Mobile\/(\S+)/.exec(g.oc()))return a[1]+"."+a[2]}else if(g.sPa)return(a=dv(/Android\s+([0-9.]+)/))?a:dv(/Version\/([0-9.]+)/);return""}();g.lb(g.fv,g.J);g.k=g.fv.prototype;g.k.subscribe=function(a,b,c){var d=this.B[a];d||(d=this.B[a]=[]);var e=this.K;this.j[e]=a;this.j[e+1]=b;this.j[e+2]=c;this.K=e+3;d.push(e);return e}; g.k.unsubscribe=function(a,b,c){if(a=this.B[a]){var d=this.j;if(a=a.find(function(e){return d[e+1]==b&&d[e+2]==c}))return this.Eh(a)}return!1}; g.k.Eh=function(a){var b=this.j[a];if(b){var c=this.B[b];0!=this.D?(this.C.push(a),this.j[a+1]=function(){}):(c&&g.Fb(c,a),delete this.j[a],delete this.j[a+1],delete this.j[a+2])}return!!b}; g.k.ra=function(a,b){var c=this.B[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e=c.length)return g.z2;var e=c.key(b++);if(a)return g.Vs(e);e=c.getItem(e);if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Vs(e)}; return d}; g.k.clear=function(){this.j.clear()}; g.k.key=function(a){return this.j.key(a)};g.lb(mv,lv);g.lb(yla,lv);g.lb(ov,kv);var zla={".":".2E","!":".21","~":".7E","*":".2A","'":".27","(":".28",")":".29","%":"."},nv=null;g.k=ov.prototype;g.k.isAvailable=function(){return!!this.j}; g.k.set=function(a,b){this.j.setAttribute(pv(a),b);qv(this)}; g.k.get=function(a){a=this.j.getAttribute(pv(a));if("string"!==typeof a&&null!==a)throw"Storage mechanism: Invalid value was encountered";return a}; g.k.remove=function(a){this.j.removeAttribute(pv(a));qv(this)}; g.k.Gk=function(a){var b=0,c=this.j.XMLDocument.documentElement.attributes,d=new g.Us;d.next=function(){if(b>=c.length)return g.z2;var e=c[b++];if(a)return g.Vs(decodeURIComponent(e.nodeName.replace(/\./g,"%")).slice(1));e=e.nodeValue;if("string"!==typeof e)throw"Storage mechanism: Invalid value was encountered";return g.Vs(e)}; return d}; g.k.clear=function(){for(var a=this.j.XMLDocument.documentElement,b=a.attributes.length;0>1;if(b[d].getKey()>c.getKey())b[a]=b[d],a=d;else break}b[a]=c}; g.k.remove=function(){var a=this.j,b=a.length,c=a[0];if(!(0>=b)){if(1==b)a.length=0;else{a[0]=a.pop();a=0;b=this.j;for(var d=b.length,e=b[a];a>1;){var f=2*a+1,h=2*a+2;f=he.getKey())break;b[a]=b[f];a=f}b[a]=e}return c.getValue()}}; g.k.mm=function(){for(var a=this.j,b=[],c=a.length,d=0;d>>16&65535|0;for(var f;0!==c;){f=2E3E2;E2++){D2=E2;for(var cgb=0;8>cgb;cgb++)D2=D2&1?3988292384^D2>>>1:D2>>>1;bgb[E2]=D2}Xv=function(a,b,c,d){c=d+c;for(a^=-1;d>>8^bgb[(a^b[d])&255];return a^-1};var Nv={};Nv={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"};var Gv=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Jv=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Xla=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Mla=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Rv=Array(576);yv(Rv);var Sv=Array(60);yv(Sv);var Iv=Array(512);yv(Iv);var Fv=Array(256);yv(Fv);var Hv=Array(29);yv(Hv);var Kv=Array(30);yv(Kv);var Ula,Vla,Wla,Tla=!1;var bw;bw=[new aw(0,0,0,0,function(a,b){var c=65535;for(c>a.zm-5&&(c=a.zm-5);;){if(1>=a.kc){Yv(a);if(0===a.kc&&0===b)return 1;if(0===a.kc)break}a.Bb+=a.kc;a.kc=0;var d=a.Mk+c;if(0===a.Bb||a.Bb>=d)if(a.kc=a.Bb-d,a.Bb=d,Tv(a,!1),0===a.qe.Le)return 1;if(a.Bb-a.Mk>=a.aj-262&&(Tv(a,!1),0===a.qe.Le))return 1}a.uh=0;if(4===b)return Tv(a,!0),0===a.qe.Le?3:4;a.Bb>a.Mk&&Tv(a,!1);return 1}), new aw(4,4,8,4,Zv),new aw(4,5,16,8,Zv),new aw(4,6,32,32,Zv),new aw(4,4,16,16,$v),new aw(8,16,32,32,$v),new aw(8,16,128,128,$v),new aw(8,32,128,256,$v),new aw(32,128,258,1024,$v),new aw(32,258,258,4096,$v)];var Sla={};Sla=function(){this.input=null;this.tx=this.dj=this.Ew=0;this.output=null;this.gS=this.Le=this.vA=0;this.msg="";this.state=null;this.mN=2;this.Od=0};var Yla=Object.prototype.toString; cw.prototype.push=function(a,b){var c=this.qe,d=this.options.chunkSize;if(this.ended)return!1;var e=b===~~b?b:!0===b?4:0;"string"===typeof a?c.input=Bla(a):"[object ArrayBuffer]"===Yla.call(a)?c.input=new Uint8Array(a):c.input=a;c.Ew=0;c.dj=c.input.length;do{0===c.Le&&(c.output=new xv.Dx(d),c.vA=0,c.Le=d);a=Rla(c,e);if(1!==a&&0!==a)return this.xr(a),this.ended=!0,!1;if(0===c.Le||0===c.dj&&(4===e||2===e))if("string"===this.options.to){var f=xv.QR(c.output,c.vA);b=f;f=f.length;if(65537>f&&(b.subarray&& agb||!b.subarray))b=String.fromCharCode.apply(null,xv.QR(b,f));else{for(var h="",l=0;lc;c++)b+=this.B[c]||0;3<=b&&this.N();this.G=d}this.D=a;this.K=this.j;this.C=(this.C+1)%4}}; DC.prototype.ya=function(){g.QB(this.Z);g.BC(this.oa)};g.w(EC,g.J);EC.prototype.T=function(a,b,c,d,e){c=g.AB((0,g.fb)(c,d||this.gb));c={target:a,name:b,callback:c};var f;e&&rpa()&&(f={passive:!0});a.addEventListener(b,c.callback,f);this.N.push(c);return c}; EC.prototype.Kc=function(a){for(var b=0;b=O.Vm)||l.j.version>=P||l.j.objectStoreNames.contains(H)||F.push(H)}m=F;if(0===m.length){x.La(5);break}n=Object.keys(c.options.wr);p= l.objectStoreNames();if(c.Gc.options.version+1)throw r.close(),c.C=!1,tqa(c,t);return x.return(r);case 8:throw b(), q instanceof Error&&!g.wB("ytidb_async_stack_killswitch")&&(q.stack=q.stack+"\n"+h.substring(h.indexOf("\n")+1)),Vpa(q,c.name,"",null!=(u=c.options.version)?u:-1);}})} function b(){c.j===d&&(c.j=void 0)} var c=this;if(!this.C)throw tqa(this);if(this.j)return this.j;var d,e={blocking:function(f){f.close()}, closed:b,Vba:b,upgrade:this.options.upgrade};return this.j=d=a()};var uqa=new DD("YtIdbMeta",{wr:{databases:{Vm:1}},upgrade:function(a,b){b(1)&&g.sD(a,"databases",{keyPath:"actualName"})}});var Aqa,yqa=new function(){}(new function(){});new g.Cn;g.w(KD,DD);KD.prototype.B=function(a,b,c){c=void 0===c?{}:c;return(this.options.shared?Fqa:Eqa)(a,b,Object.assign({},c))}; KD.prototype.delete=function(a){a=void 0===a?{}:a;return(this.options.shared?Jqa:Gqa)(this.name,a)};var wib={},Lqa=g.LD("ytGcfConfig",{wr:(wib.coldConfigStore={Vm:1},wib.hotConfigStore={Vm:1},wib),shared:!1,upgrade:function(a,b){b(1)&&(g.yD(g.sD(a,"hotConfigStore",{keyPath:"key",autoIncrement:!0}),"hotTimestampIndex","timestamp"),g.yD(g.sD(a,"coldConfigStore",{keyPath:"key",autoIncrement:!0}),"coldTimestampIndex","timestamp"))}, version:1});g.w(Rqa,g.J);Rqa.prototype.ya=function(){for(var a=g.v(this.B),b=a.next();!b.done;b=a.next()){var c=this.j;b=c.indexOf(b.value);0<=b&&c.splice(b,1)}this.B.length=0;g.J.prototype.ya.call(this)};RD.prototype.Jr=function(a){this.hotHashData=a;g.Sa("yt.gcf.config.hotHashData",this.hotHashData||null)};VD.prototype.Cj=function(){return{version:this.version,args:this.args}};WD.prototype.toString=function(){return this.topic};var xib=g.Ta("ytPubsub2Pubsub2Instance")||new g.fv;g.fv.prototype.subscribe=g.fv.prototype.subscribe;g.fv.prototype.unsubscribeByKey=g.fv.prototype.Eh;g.fv.prototype.publish=g.fv.prototype.ra;g.fv.prototype.clear=g.fv.prototype.clear;g.Sa("ytPubsub2Pubsub2Instance",xib);var YD=g.Ta("ytPubsub2Pubsub2SubscribedKeys")||{};g.Sa("ytPubsub2Pubsub2SubscribedKeys",YD);var ZD=g.Ta("ytPubsub2Pubsub2TopicToKeys")||{};g.Sa("ytPubsub2Pubsub2TopicToKeys",ZD);var qra=g.Ta("ytPubsub2Pubsub2IsAsync")||{}; g.Sa("ytPubsub2Pubsub2IsAsync",qra);g.Sa("ytPubsub2Pubsub2SkipSubKey",null);var xra=void 0,vra=void 0;var Dra=g.xB("max_body_size_to_compress",5E5),Era=g.xB("min_body_size_to_compress",500),bE=!0,eE=0,dE=0,Ira=g.xB("compression_performance_threshold_lr",250),Jra=g.xB("slow_compressions_before_abandon_count",4),zra=!1,aE=new Map,Gra=1,Fra=!0;g.k=gE.prototype;g.k.writeThenSend=function(a,b){var c=this;b=void 0===b?{}:b;if(fE(this)&&this.og){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.wh.set(d,this.Gf).then(function(e){d.id=e;c.hh.Mh()&&c.UD(d)}).catch(function(e){c.UD(d); hE(c,e)})}else this.sendFn(a,b)}; g.k.sendThenWrite=function(a,b,c){var d=this;b=void 0===b?{}:b;if(fE(this)&&this.og){var e={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0};this.jb&&this.jb("nwl_skip_retry")&&(e.skipRetry=c);if(this.hh.Mh()||this.jb&&this.jb("nwl_aggressive_send_then_write")&&!e.skipRetry){if(!e.skipRetry){var f=b.onError?b.onError:function(){}; b.onError=function(h,l){return g.I(function(m){if(1==m.j)return g.y(m,d.wh.set(e,d.Gf).catch(function(n){hE(d,n)}),2); f(h,l);g.Aa(m)})}}this.sendFn(a,b,e.skipRetry)}else this.wh.set(e,this.Gf).catch(function(h){d.sendFn(a,b,e.skipRetry); hE(d,h)})}else this.sendFn(a,b,this.jb&&this.jb("nwl_skip_retry")&&c)}; g.k.sendAndWrite=function(a,b){var c=this;b=void 0===b?{}:b;if(fE(this)&&this.og){var d={url:a,options:b,timestamp:this.now(),status:"NEW",sendCount:0},e=!1,f=b.onSuccess?b.onSuccess:function(){}; d.options.onSuccess=function(h,l){void 0!==d.id?c.wh.gz(d.id,c.Gf):e=!0;c.hh.Cw&&c.jb&&c.jb("vss_network_hint")&&c.hh.Cw(!0);f(h,l)}; this.sendFn(d.url,d.options,void 0,!0);this.wh.set(d,this.Gf).then(function(h){d.id=h;e&&c.wh.gz(d.id,c.Gf)}).catch(function(h){hE(c,h)})}else this.sendFn(a,b,void 0,!0)}; g.k.FB=function(){var a=this;if(!fE(this))throw Error("IndexedDB is not supported: throttleSend");this.j||(this.j=this.Mn.Ii(function(){var b;return g.I(function(c){if(1==c.j)return g.y(c,a.wh.xW("NEW",a.Gf),2);if(3!=c.j)return b=c.B,b?g.y(c,a.UD(b),3):(a.QM(),c.return());a.j&&(a.j=0,a.FB());g.Aa(c)})},this.P_))}; g.k.QM=function(){this.Mn.Kj(this.j);this.j=0}; g.k.UD=function(a){var b=this,c;return g.I(function(d){switch(d.j){case 1:if(!fE(b))throw Error("IndexedDB is not supported: immediateSend");if(void 0===a.id){d.La(2);break}return g.y(d,b.wh.V7(a.id,b.Gf),3);case 3:(c=d.B)||b.Dz(Error("The request cannot be found in the database."));case 2:if(b.kK(a,b.UZ)){d.La(4);break}b.Dz(Error("Networkless Logging: Stored logs request expired age limit"));if(void 0===a.id){d.La(5);break}return g.y(d,b.wh.gz(a.id,b.Gf),5);case 5:return d.return();case 4:a.skipRetry|| (a=Pra(b,a));if(!a){d.La(0);break}if(!a.skipRetry||void 0===a.id){d.La(8);break}return g.y(d,b.wh.gz(a.id,b.Gf),8);case 8:b.sendFn(a.url,a.options,!!a.skipRetry),g.Aa(d)}})}; g.k.kK=function(a,b){a=a.timestamp;return this.now()-a>=b?!1:!0}; g.k.oK=function(){var a=this;if(!fE(this))throw Error("IndexedDB is not supported: retryQueuedRequests");this.wh.xW("QUEUED",this.Gf).then(function(b){b&&!a.kK(b,a.OZ)?a.Mn.Ii(function(){return g.I(function(c){if(1==c.j)return void 0===b.id?c.La(2):g.y(c,a.wh.qR(b.id,a.Gf),2);a.oK();g.Aa(c)})}):a.hh.Mh()&&a.FB()})};var iE;var Sta={accountStateChangeSignedIn:23,accountStateChangeSignedOut:24,delayedEventMetricCaptured:11,latencyActionBaselined:6,latencyActionInfo:7,latencyActionTicked:5,offlineTransferStatusChanged:2,offlineImageDownload:335,playbackStartStateChanged:9,systemHealthCaptured:3,mangoOnboardingCompleted:10,mangoPushNotificationReceived:230,mangoUnforkDbMigrationError:121,mangoUnforkDbMigrationSummary:122,mangoUnforkDbMigrationPreunforkDbVersionNumber:133,mangoUnforkDbMigrationPhoneMetadata:134,mangoUnforkDbMigrationPhoneStorage:135, mangoUnforkDbMigrationStep:142,mangoAsyncApiMigrationEvent:223,mangoDownloadVideoResult:224,mangoHomepageVideoCount:279,mangoHomeV3State:295,mangoImageClientCacheHitEvent:273,sdCardStatusChanged:98,framesDropped:12,thumbnailHovered:13,deviceRetentionInfoCaptured:14,thumbnailLoaded:15,backToAppEvent:318,streamingStatsCaptured:17,offlineVideoShared:19,appCrashed:20,youThere:21,offlineStateSnapshot:22,mdxSessionStarted:25,mdxSessionConnected:26,mdxSessionDisconnected:27,bedrockResourceConsumptionSnapshot:28, nextGenWatchWatchSwiped:29,kidsAccountsSnapshot:30,zeroStepChannelCreated:31,tvhtml5SearchCompleted:32,offlineSharePairing:34,offlineShareUnlock:35,mdxRouteDistributionSnapshot:36,bedrockRepetitiveActionTimed:37,unpluggedDegradationInfo:229,uploadMp4HeaderMoved:38,uploadVideoTranscoded:39,uploadProcessorStarted:46,uploadProcessorEnded:47,uploadProcessorReady:94,uploadProcessorRequirementPending:95,uploadProcessorInterrupted:96,uploadFrontendEvent:241,assetPackDownloadStarted:41,assetPackDownloaded:42, assetPackApplied:43,assetPackDeleted:44,appInstallAttributionEvent:459,playbackSessionStopped:45,adBlockerMessagingShown:48,distributionChannelCaptured:49,dataPlanCpidRequested:51,detailedNetworkTypeCaptured:52,sendStateUpdated:53,receiveStateUpdated:54,sendDebugStateUpdated:55,receiveDebugStateUpdated:56,kidsErrored:57,mdxMsnSessionStatsFinished:58,appSettingsCaptured:59,mdxWebSocketServerHttpError:60,mdxWebSocketServer:61,startupCrashesDetected:62,coldStartInfo:435,offlinePlaybackStarted:63,liveChatMessageSent:225, liveChatUserPresent:434,liveChatBeingModerated:457,liveCreationCameraUpdated:64,liveCreationEncodingCaptured:65,liveCreationError:66,liveCreationHealthUpdated:67,liveCreationVideoEffectsCaptured:68,liveCreationStageOccured:75,liveCreationBroadcastScheduled:123,liveCreationArchiveReplacement:149,liveCreationCostreamingConnection:421,liveCreationStreamWebrtcStats:288,mdxSessionRecoveryStarted:69,mdxSessionRecoveryCompleted:70,mdxSessionRecoveryStopped:71,visualElementShown:72,visualElementHidden:73, visualElementGestured:78,visualElementStateChanged:208,screenCreated:156,playbackAssociated:202,visualElementAttached:215,playbackContextEvent:214,cloudCastingPlaybackStarted:74,webPlayerApiCalled:76,tvhtml5AccountDialogOpened:79,foregroundHeartbeat:80,foregroundHeartbeatScreenAssociated:111,kidsOfflineSnapshot:81,mdxEncryptionSessionStatsFinished:82,playerRequestCompleted:83,liteSchedulerStatistics:84,mdxSignIn:85,spacecastMetadataLookupRequested:86,spacecastBatchLookupRequested:87,spacecastSummaryRequested:88, spacecastPlayback:89,spacecastDiscovery:90,tvhtml5LaunchUrlComponentChanged:91,mdxBackgroundPlaybackRequestCompleted:92,mdxBrokenAdditionalDataDeviceDetected:93,tvhtml5LocalStorage:97,tvhtml5DeviceStorageStatus:147,autoCaptionsAvailable:99,playbackScrubbingEvent:339,flexyState:100,interfaceOrientationCaptured:101,mainAppBrowseFragmentCache:102,offlineCacheVerificationFailure:103,offlinePlaybackExceptionDigest:217,vrCopresenceStats:104,vrCopresenceSyncStats:130,vrCopresenceCommsStats:137,vrCopresencePartyStats:153, vrCopresenceEmojiStats:213,vrCopresenceEvent:141,vrCopresenceFlowTransitEvent:160,vrCowatchPartyEvent:492,vrPlaybackEvent:345,kidsAgeGateTracking:105,offlineDelayAllowedTracking:106,mainAppAutoOfflineState:107,videoAsThumbnailDownload:108,videoAsThumbnailPlayback:109,liteShowMore:110,renderingError:118,kidsProfilePinGateTracking:119,abrTrajectory:124,scrollEvent:125,streamzIncremented:126,kidsProfileSwitcherTracking:127,kidsProfileCreationTracking:129,buyFlowStarted:136,mbsConnectionInitiated:138, mbsPlaybackInitiated:139,mbsLoadChildren:140,liteProfileFetcher:144,mdxRemoteTransaction:146,reelPlaybackError:148,reachabilityDetectionEvent:150,mobilePlaybackEvent:151,courtsidePlayerStateChanged:152,musicPersistentCacheChecked:154,musicPersistentCacheCleared:155,playbackInterrupted:157,playbackInterruptionResolved:158,fixFopFlow:159,anrDetection:161,backstagePostCreationFlowEnded:162,clientError:163,gamingAccountLinkStatusChanged:164,liteHousewarming:165,buyFlowEvent:167,kidsParentalGateTracking:168, kidsSignedOutSettingsStatus:437,kidsSignedOutPauseHistoryFixStatus:438,tvhtml5WatchdogViolation:444,ypcUpgradeFlow:169,yongleStudy:170,ypcUpdateFlowStarted:171,ypcUpdateFlowCancelled:172,ypcUpdateFlowSucceeded:173,ypcUpdateFlowFailed:174,liteGrowthkitPromo:175,paymentFlowStarted:341,transactionFlowShowPaymentDialog:405,transactionFlowStarted:176,transactionFlowSecondaryDeviceStarted:222,transactionFlowSecondaryDeviceSignedOutStarted:383,transactionFlowCancelled:177,transactionFlowPaymentCallBackReceived:387, transactionFlowPaymentSubmitted:460,transactionFlowPaymentSucceeded:329,transactionFlowSucceeded:178,transactionFlowFailed:179,transactionFlowPlayBillingConnectionStartEvent:428,transactionFlowSecondaryDeviceSuccess:458,transactionFlowErrorEvent:411,liteVideoQualityChanged:180,watchBreakEnablementSettingEvent:181,watchBreakFrequencySettingEvent:182,videoEffectsCameraPerformanceMetrics:183,adNotify:184,startupTelemetry:185,playbackOfflineFallbackUsed:186,outOfMemory:187,ypcPauseFlowStarted:188,ypcPauseFlowCancelled:189, ypcPauseFlowSucceeded:190,ypcPauseFlowFailed:191,uploadFileSelected:192,ypcResumeFlowStarted:193,ypcResumeFlowCancelled:194,ypcResumeFlowSucceeded:195,ypcResumeFlowFailed:196,adsClientStateChange:197,ypcCancelFlowStarted:198,ypcCancelFlowCancelled:199,ypcCancelFlowSucceeded:200,ypcCancelFlowFailed:201,ypcCancelFlowGoToPaymentProcessor:402,ypcDeactivateFlowStarted:320,ypcRedeemFlowStarted:203,ypcRedeemFlowCancelled:204,ypcRedeemFlowSucceeded:205,ypcRedeemFlowFailed:206,ypcFamilyCreateFlowStarted:258, ypcFamilyCreateFlowCancelled:259,ypcFamilyCreateFlowSucceeded:260,ypcFamilyCreateFlowFailed:261,ypcFamilyManageFlowStarted:262,ypcFamilyManageFlowCancelled:263,ypcFamilyManageFlowSucceeded:264,ypcFamilyManageFlowFailed:265,restoreContextEvent:207,embedsAdEvent:327,autoplayTriggered:209,clientDataErrorEvent:210,experimentalVssValidation:211,tvhtml5TriggeredEvent:212,tvhtml5FrameworksFieldTrialResult:216,tvhtml5FrameworksFieldTrialStart:220,musicOfflinePreferences:218,watchTimeSegment:219,appWidthLayoutError:221, accountRegistryChange:226,userMentionAutoCompleteBoxEvent:227,downloadRecommendationEnablementSettingEvent:228,musicPlaybackContentModeChangeEvent:231,offlineDbOpenCompleted:232,kidsFlowEvent:233,kidsFlowCorpusSelectedEvent:234,videoEffectsEvent:235,unpluggedOpsEogAnalyticsEvent:236,playbackAudioRouteEvent:237,interactionLoggingDebugModeError:238,offlineYtbRefreshed:239,kidsFlowError:240,musicAutoplayOnLaunchAttempted:242,deviceContextActivityEvent:243,deviceContextEvent:244,templateResolutionException:245, musicSideloadedPlaylistServiceCalled:246,embedsStorageAccessNotChecked:247,embedsHasStorageAccessResult:248,embedsItpPlayedOnReload:249,embedsRequestStorageAccessResult:250,embedsShouldRequestStorageAccessResult:251,embedsRequestStorageAccessState:256,embedsRequestStorageAccessFailedState:257,embedsItpWatchLaterResult:266,searchSuggestDecodingPayloadFailure:252,siriShortcutActivated:253,tvhtml5KeyboardPerformance:254,latencyActionSpan:255,elementsLog:267,ytbFileOpened:268,tfliteModelError:269,apiTest:270, yongleUsbSetup:271,touStrikeInterstitialEvent:272,liteStreamToSave:274,appBundleClientEvent:275,ytbFileCreationFailed:276,adNotifyFailure:278,ytbTransferFailed:280,blockingRequestFailed:281,liteAccountSelector:282,liteAccountUiCallbacks:283,dummyPayload:284,browseResponseValidationEvent:285,entitiesError:286,musicIosBackgroundFetch:287,mdxNotificationEvent:289,layersValidationError:290,musicPwaInstalled:291,liteAccountCleanup:292,html5PlayerHealthEvent:293,watchRestoreAttempt:294,liteAccountSignIn:296, notaireEvent:298,kidsVoiceSearchEvent:299,adNotifyFilled:300,delayedEventDropped:301,analyticsSearchEvent:302,systemDarkThemeOptOutEvent:303,flowEvent:304,networkConnectivityBaselineEvent:305,ytbFileImported:306,downloadStreamUrlExpired:307,directSignInEvent:308,lyricImpressionEvent:309,accessibilityStateEvent:310,tokenRefreshEvent:311,genericAttestationExecution:312,tvhtml5VideoSeek:313,unpluggedAutoPause:314,scrubbingEvent:315,bedtimeReminderEvent:317,tvhtml5UnexpectedRestart:319,tvhtml5StabilityTraceEvent:478, tvhtml5OperationHealth:467,tvhtml5WatchKeyEvent:321,voiceLanguageChanged:322,tvhtml5LiveChatStatus:323,parentToolsCorpusSelectedEvent:324,offerAdsEnrollmentInitiated:325,networkQualityIntervalEvent:326,deviceStartupMetrics:328,heartbeatActionPlayerTransitioned:330,tvhtml5Lifecycle:331,heartbeatActionPlayerHalted:332,adaptiveInlineMutedSettingEvent:333,mainAppLibraryLoadingState:334,thirdPartyLogMonitoringEvent:336,appShellAssetLoadReport:337,tvhtml5AndroidAttestation:338,tvhtml5StartupSoundEvent:340, iosBackgroundRefreshTask:342,iosBackgroundProcessingTask:343,sliEventBatch:344,postImpressionEvent:346,musicSideloadedPlaylistExport:347,idbUnexpectedlyClosed:348,voiceSearchEvent:349,mdxSessionCastEvent:350,idbQuotaExceeded:351,idbTransactionEnded:352,idbTransactionAborted:353,tvhtml5KeyboardLogging:354,idbIsSupportedCompleted:355,creatorStudioMobileEvent:356,idbDataCorrupted:357,parentToolsAppChosenEvent:358,webViewBottomSheetResized:359,activeStateControllerScrollPerformanceSummary:360,navigatorValidation:361, mdxSessionHeartbeat:362,clientHintsPolyfillDiagnostics:363,clientHintsPolyfillEvent:364,proofOfOriginTokenError:365,kidsAddedAccountSummary:366,musicWearableDevice:367,ypcRefundFlowEvent:368,tvhtml5PlaybackMeasurementEvent:369,tvhtml5WatermarkMeasurementEvent:370,clientExpGcfPropagationEvent:371,mainAppReferrerIntent:372,leaderLockEnded:373,leaderLockAcquired:374,googleHatsEvent:375,persistentLensLaunchEvent:376,parentToolsChildWelcomeChosenEvent:378,browseThumbnailPreloadEvent:379,finalPayload:380, mdxDialAdditionalDataUpdateEvent:381,webOrchestrationTaskLifecycleRecord:382,startupSignalEvent:384,accountError:385,gmsDeviceCheckEvent:386,accountSelectorEvent:388,accountUiCallbacks:389,mdxDialAdditionalDataProbeEvent:390,downloadsSearchIcingApiStats:391,downloadsSearchIndexUpdatedEvent:397,downloadsSearchIndexSnapshot:398,dataPushClientEvent:392,kidsCategorySelectedEvent:393,mdxDeviceManagementSnapshotEvent:394,prefetchRequested:395,prefetchableCommandExecuted:396,gelDebuggingEvent:399,webLinkTtsPlayEnd:400, clipViewInvalid:401,persistentStorageStateChecked:403,cacheWipeoutEvent:404,playerEvent:410,sfvEffectPipelineStartedEvent:412,sfvEffectPipelinePausedEvent:429,sfvEffectPipelineEndedEvent:413,sfvEffectChosenEvent:414,sfvEffectLoadedEvent:415,sfvEffectUserInteractionEvent:465,sfvEffectFirstFrameProcessedLatencyEvent:416,sfvEffectAggregatedFramesProcessedLatencyEvent:417,sfvEffectAggregatedFramesDroppedEvent:418,sfvEffectPipelineErrorEvent:430,sfvEffectGraphFrozenEvent:419,sfvEffectGlThreadBlockedEvent:420, mdeVideoChangedEvent:442,mdePlayerPerformanceMetrics:472,genericClientExperimentEvent:423,homePreloadTaskScheduled:424,homePreloadTaskExecuted:425,homePreloadCacheHit:426,polymerPropertyChangedInObserver:427,applicationStarted:431,networkCronetRttBatch:432,networkCronetRttSummary:433,repeatChapterLoopEvent:436,seekCancellationEvent:462,lockModeTimeoutEvent:483,offlineTransferStarted:4,musicOfflineMixtapePreferencesChanged:16,mangoDailyNewVideosNotificationAttempt:40,mangoDailyNewVideosNotificationError:77, dtwsPlaybackStarted:112,dtwsTileFetchStarted:113,dtwsTileFetchCompleted:114,dtwsTileFetchStatusChanged:145,dtwsKeyframeDecoderBufferSent:115,dtwsTileUnderflowedOnNonkeyframe:116,dtwsBackfillFetchStatusChanged:143,dtwsBackfillUnderflowed:117,dtwsAdaptiveLevelChanged:128,blockingVisitorIdTimeout:277,liteSocial:18,mobileJsInvocation:297,biscottiBasedDetection:439,coWatchStateChange:440,embedsVideoDataDidChange:441,shortsFirst:443,cruiseControlEvent:445,qoeClientLoggingContext:446,atvRecommendationJobExecuted:447, tvhtml5UserFeedback:448,producerProjectCreated:449,producerProjectOpened:450,producerProjectDeleted:451,producerProjectElementAdded:453,producerProjectElementRemoved:454,tvhtml5ShowClockEvent:455,deviceCapabilityCheckMetrics:456,youtubeClearcutEvent:461,offlineBrowseFallbackEvent:463,getCtvTokenEvent:464,startupDroppedFramesSummary:466,screenshotEvent:468,miniAppPlayEvent:469,elementsDebugCounters:470,fontLoadEvent:471,webKillswitchReceived:473,webKillswitchExecuted:474,cameraOpenEvent:475,manualSmoothnessMeasurement:476, tvhtml5AppQualityEvent:477,polymerPropertyAccessEvent:479,miniAppSdkUsage:480,cobaltTelemetryEvent:481,crossDevicePlayback:482,channelCreatedWithObakeImage:484,channelEditedWithObakeImage:485,offlineDeleteEvent:486,crossDeviceNotificationTransfer:487,androidIntentEvent:488,unpluggedAmbientInterludesCounterfactualEvent:489,keyPlaysPlayback:490,vssData:491};var yib={},Zra=g.LD("ServiceWorkerLogsDatabase",{wr:(yib.SWHealthLog={Vm:1},yib),shared:!0,upgrade:function(a,b){b(1)&&g.yD(g.sD(a,"SWHealthLog",{keyPath:"id",autoIncrement:!0}),"swHealthNewRequest",["interface","timestamp"])}, version:1});var fsa={},esa=0;lE.prototype.requestComplete=function(a,b){b&&(this.B=!0);a=this.removeParams(a);this.j.get(a)||this.j.set(a,b)}; lE.prototype.isEndpointCFR=function(a){a=this.removeParams(a);return(a=this.j.get(a))?!1:!1===a&&this.B?!0:null}; lE.prototype.removeParams=function(a){return a.split("?")[0]}; lE.prototype.removeParams=lE.prototype.removeParams;lE.prototype.isEndpointCFR=lE.prototype.isEndpointCFR;lE.prototype.requestComplete=lE.prototype.requestComplete;lE.getInstance=mE;var hsa;g.w(oE,g.Fd);g.k=oE.prototype;g.k.Mh=function(){return this.j.Mh()}; g.k.Cw=function(a){this.j.j=a}; g.k.D6=function(){var a=window.navigator.onLine;return void 0===a?!0:a}; g.k.F5=function(){this.B=!0}; g.k.Ta=function(a,b){return this.j.Ta(a,b)}; g.k.tK=function(a){a=qu(this.j,a);a.then(function(b){g.wB("use_cfr_monitor")&&mE().requestComplete("generate_204",b)}); return a}; oE.prototype.sendNetworkCheckRequest=oE.prototype.tK;oE.prototype.listen=oE.prototype.Ta;oE.prototype.enableErrorFlushing=oE.prototype.F5;oE.prototype.getWindowStatus=oE.prototype.D6;oE.prototype.networkStatusHint=oE.prototype.Cw;oE.prototype.isNetworkAvailable=oE.prototype.Mh;oE.getInstance=jsa;g.w(g.pE,g.Fd);g.pE.prototype.Mh=function(){var a=g.Ta("yt.networkStatusManager.instance.isNetworkAvailable");return a?a.bind(this.B)():!0}; g.pE.prototype.Cw=function(a){var b=g.Ta("yt.networkStatusManager.instance.networkStatusHint").bind(this.B);b&&b(a)}; g.pE.prototype.tK=function(a){var b=this,c;return g.I(function(d){c=g.Ta("yt.networkStatusManager.instance.sendNetworkCheckRequest").bind(b.B);return g.wB("skip_network_check_if_cfr")&&mE().isEndpointCFR("generate_204")?d.return(new Promise(function(e){var f;b.Cw((null==(f=window.navigator)?void 0:f.onLine)||!0);e(b.Mh())})):c?d.return(c(a)):d.return(!0)})};var lsa;g.w(qE,gE);qE.prototype.writeThenSend=function(a,b){b||(b={});g.TC()||(this.og=!1);gE.prototype.writeThenSend.call(this,a,b)}; qE.prototype.sendThenWrite=function(a,b,c){b||(b={});g.TC()||(this.og=!1);gE.prototype.sendThenWrite.call(this,a,b,c)}; qE.prototype.sendAndWrite=function(a,b){b||(b={});g.TC()||(this.og=!1);gE.prototype.sendAndWrite.call(this,a,b)}; qE.prototype.awaitInitialization=function(){return this.B.promise};var psa=g.Ra.ytNetworklessLoggingInitializationOptions||{isNwlInitialized:!1};g.Sa("ytNetworklessLoggingInitializationOptions",psa);g.sE.prototype.isReady=function(){!this.config_&&dra()&&(this.config_=g.TD());return!!this.config_};var zib,vE,xE;zib=g.Ra.ytPubsubPubsubInstance||new g.fv;vE=g.Ra.ytPubsubPubsubSubscribedKeys||{};xE=g.Ra.ytPubsubPubsubTopicToKeys||{};g.wE=g.Ra.ytPubsubPubsubIsSynchronous||{};g.fv.prototype.subscribe=g.fv.prototype.subscribe;g.fv.prototype.unsubscribeByKey=g.fv.prototype.Eh;g.fv.prototype.publish=g.fv.prototype.ra;g.fv.prototype.clear=g.fv.prototype.clear;g.Sa("ytPubsubPubsubInstance",zib);g.Sa("ytPubsubPubsubTopicToKeys",xE);g.Sa("ytPubsubPubsubIsSynchronous",g.wE); g.Sa("ytPubsubPubsubSubscribedKeys",vE);var tsa=/\.vflset|-vfl[a-zA-Z0-9_+=-]+/,usa=/-[a-zA-Z]{2,3}_[a-zA-Z]{2,3}(?=(\/|$))/,ysa={};g.w(DE,g.J);DE.prototype.append=function(a){if(!this.B)throw Error("This does not support the append operation");a=a.zb();this.zb().appendChild(a)}; g.w(EE,DE);EE.prototype.zb=function(){return this.j};g.w(Fsa,g.J);var FE=Date.now().toString();var Ksa={};var NE=Symbol("injectionDeps");LE.prototype.toString=function(){return"InjectionToken("+this.name+")"}; Lsa.prototype.resolve=function(a){return a instanceof ME?OE(this,a.key,[],!0):OE(this,a,[])};var Osa;var QE=window;var RE=g.wB("web_enable_lifecycle_monitoring")&&0!==Psa(),Ysa=g.wB("web_enable_lifecycle_monitoring");Tsa.prototype.cancel=function(){for(var a=g.v(this.j),b=a.next();!b.done;b=a.next())b=b.value,void 0===b.jobId||b.XJ||this.scheduler.Kj(b.jobId),b.XJ=!0;this.B.resolve()};g.k=SE.prototype;g.k.install=function(a){this.plugins.push(a);return this}; g.k.uninstall=function(){var a=this;g.Ka.apply(0,arguments).forEach(function(b){b=a.plugins.indexOf(b);-1Math.pow(5,2))b.D=!0}; g.k.X2=function(a){if(this.Aa){var b=this.Aa,c=a.changedTouches;c&&b.N&&1==b.B&&!b.D&&!b.G&&!b.K&&Gsa(b,c)&&(b.ma=a,b.j.start());b.B=a.touches.length;0===b.B&&(b.N=!1,b.D=!1,b.C.length=0);b.G=!1}}; g.k.uF=function(a){this.layoutId?this.ib.executeCommand(a,this.layoutId):g.wF(new g.RC("There is undefined layoutId when calling the runCommand method.",{componentType:this.componentType}))}; g.k.createServerVe=function(a,b){this.api.createServerVe(a,this);this.api.setTrackingParams(a,b)}; g.k.logVisibility=function(a,b){this.api.hasVe(a)&&this.api.logVisibility(a,b,this.interactionLoggingClientData)}; g.k.ya=function(){this.clear(null);this.Kc(this.rb);for(var a=g.v(this.Ea),b=a.next();!b.done;b=a.next())this.Kc(b.value);g.XF.prototype.ya.call(this)};g.w(hG,YF); hG.prototype.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);this.j=b;if(null==b.text&&null==b.icon)g.xF(Error("ButtonRenderer did not have text or an icon set."));else{switch(b.style||null){case "STYLE_UNKNOWN":a="ytp-ad-button-link";break;default:a=null}null!=a&&g.Ju(this.element,a);null!=b.text&&(a=g.$F(b.text),g.gc(a)||(this.element.setAttribute("aria-label",a),this.C=new g.XF({I:"span",S:"ytp-ad-button-text",xa:a}),g.L(this,this.C),this.C.Da(this.element)));this.api.U().L("use_accessibility_data_on_desktop_player_button")&&b.accessibilityData&& b.accessibilityData.accessibilityData&&b.accessibilityData.accessibilityData.label&&!g.gc(b.accessibilityData.accessibilityData.label)&&this.element.setAttribute("aria-label",b.accessibilityData.accessibilityData.label);null!=b.icon&&(b=gG(b.icon),null!=b&&(this.B=new g.XF({I:"span",S:"ytp-ad-button-icon",V:[b]}),g.L(this,this.B)),this.D?g.pf(this.element,this.B.element,0):this.B.Da(this.element))}}; hG.prototype.clear=function(){this.hide()}; hG.prototype.onClick=function(a){YF.prototype.onClick.call(this,a);a=g.v(Uva(this));for(var b=a.next();!b.done;b=a.next())b=b.value,this.layoutId?this.ib.executeCommand(b,this.layoutId):g.wF(Error("Missing layoutId for button."));this.api.onAdUxClicked(this.componentType,this.layoutId)};g.w(iG,g.J);iG.prototype.ya=function(){this.B&&g.BC(this.B);this.j.clear();jG=null;g.J.prototype.ya.call(this)}; iG.prototype.register=function(a,b){b&&this.j.set(a,b)}; var jG=null;g.w(mG,YF); mG.prototype.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);a=b.hoverText||null;b=b.button&&g.U(b.button,g.$M)||null;null==b?g.wF(Error("AdHoverTextButtonRenderer.button was not set in response.")):(this.button=new hG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,this.button),this.button.init(NF("button"),b,this.macros),a&&this.button.element.setAttribute("aria-label",g.$F(a)),this.button.Da(this.element),this.G&&!g.Iu(this.button.element,"ytp-ad-clickable")&&g.Ju(this.button.element, "ytp-ad-clickable"),a&&(this.B=new g.XF({I:"div",S:"ytp-ad-hover-text-container"}),this.D&&(b=new g.XF({I:"div",S:"ytp-ad-hover-text-callout"}),b.Da(this.B.element),g.L(this,b)),g.L(this,this.B),this.B.Da(this.element),b=kG(a),g.pf(this.B.element,b,0)),this.show())}; mG.prototype.hide=function(){this.button&&this.button.hide();this.B&&this.B.hide();YF.prototype.hide.call(this)}; mG.prototype.show=function(){this.button&&this.button.show();YF.prototype.show.call(this)};g.w(oG,YF); oG.prototype.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);c=(a=b.thumbnail)&&nG(a)||"";g.gc(c)?.01>Math.random()&&g.xF(Error("Found AdImage without valid image URL")):(this.j?g.Vr(this.element,"backgroundImage","url("+c+")"):Ze(this.element,{src:c}),Ze(this.element,{alt:a&&a.accessibility&&a.accessibility.label||""}),b&&b.adRendererCommands&&b.adRendererCommands.clickCommand?this.element.classList.add("ytp-ad-clickable-element"):this.element.classList.remove("ytp-ad-clickable-element"),this.show())}; oG.prototype.clear=function(){this.hide()};g.w(pG,YF);g.k=pG.prototype;g.k.hide=function(){YF.prototype.hide.call(this);this.C&&this.C.focus()}; g.k.show=function(){this.C=document.activeElement;YF.prototype.show.call(this);this.D.focus()}; g.k.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);this.B=b;b.dialogMessages||null!=b.title?null==b.confirmLabel?g.wF(Error("ConfirmDialogRenderer.confirmLabel was not set.")):null==b.cancelLabel?g.wF(Error("ConfirmDialogRenderer.cancelLabel was not set.")):Yva(this,b):g.wF(Error("Neither ConfirmDialogRenderer.title nor ConfirmDialogRenderer.dialogMessages were set."))}; g.k.clear=function(){g.GC(this.j);this.hide()}; g.k.SP=function(){this.hide()}; g.k.HL=function(){var a=this.B.cancelEndpoint;a&&(this.layoutId?this.ib.executeCommand(a,this.layoutId):g.wF(Error("Missing layoutId for confirm dialog.")));this.hide()}; g.k.TP=function(){var a=this.B.confirmNavigationEndpoint||this.B.confirmEndpoint;a&&(this.layoutId?this.ib.executeCommand(a,this.layoutId):g.wF(Error("Missing layoutId for confirm dialog.")));this.hide()};g.w(qG,YF);g.k=qG.prototype; g.k.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);this.B=b;if(null==b.defaultText&&null==b.defaultIcon)g.wF(Error("ToggleButtonRenderer must have either text or icon set."));else if(null==b.defaultIcon&&null!=b.toggledIcon)g.wF(Error("ToggleButtonRenderer cannot have toggled icon set without a default icon."));else{if(b.style){switch(b.style.styleType){case "STYLE_UNKNOWN":case "STYLE_DEFAULT":a="ytp-ad-toggle-button-default-style";break;default:a=null}null!=a&&g.Ju(this.D,a)}a={};b.defaultText? (c=g.$F(b.defaultText),g.gc(c)||(a.buttonText=c,this.j.setAttribute("aria-label",c),this.api.U().experiments.jb("fix_h5_toggle_button_a11y")&&this.C.setAttribute("aria-label",c))):g.gs(this.Fa,!1);b.defaultTooltip&&(a.tooltipText=b.defaultTooltip,this.j.hasAttribute("aria-label")||this.C.setAttribute("aria-label",b.defaultTooltip));b.defaultIcon?(c=gG(b.defaultIcon),this.updateValue("untoggledIconTemplateSpec",c),b.toggledIcon?(this.oa=!0,c=gG(b.toggledIcon),this.updateValue("toggledIconTemplateSpec", c)):(g.gs(this.Y,!0),g.gs(this.G,!1)),g.gs(this.j,!1)):g.gs(this.C,!1);g.jd(a)||this.update(a);b.isToggled&&(g.Ju(this.D,"ytp-ad-toggle-button-toggled"),this.toggleButton(b.isToggled));Zva(this);this.T(this.element,"change",this.DT);this.show()}}; g.k.onClick=function(a){0a&&g.wF(Error("durationMilliseconds was specified incorrectly in AdPreviewRenderer with a value of: "+a));this.ob&&(this.D?g.Ju(this.B.element,"modern-countdown-next-to-thumbnail"):g.Ju(this.B.element,"countdown-next-to-thumbnail"));a=b.durationMilliseconds;this.Ka=null==a||0===a?this.j.jn():a;if(b.templatedCountdown)var d=b.templatedCountdown.templatedAdText;else b.staticPreview&&(d=b.staticPreview); this.C.init(NF("ad-text"),d,c);(d=this.api.getVideoData(1))&&d.Nm&&b.thumbnail?this.G.init(NF("ad-image"),b.thumbnail,c):(this.oa.hide(),this.D&&this.ob&&g.Ju(this.C.element,"ytp-ad-preview-text-modern-postroll"))}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.B.hide();this.C.hide();this.G.hide();xG(this);vG.prototype.hide.call(this)}; g.k.show=function(){wG(this);this.B.show();this.C.show();this.G.show();vG.prototype.show.call(this)}; g.k.Yp=function(){this.hide()}; g.k.Zn=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&(a=1E3*a.current,!this.Va&&a>=this.Ka?(this.Fa.hide(),this.Va=!0,this.ra("i")):this.C&&this.C.isTemplated()&&(a=Math.max(0,Math.ceil((this.Ka-a)/1E3)),a!=this.gb&&(qwa(this.C,{TIME_REMAINING:String(a)}),this.gb=a)))}};g.w(swa,vG);g.k=swa.prototype; g.k.init=function(a,b,c){vG.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if((a=b.actionButton&&g.U(b.actionButton,g.$M))&&a.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d)if(b.image&&b.image.thumbnail){var e=b.image.thumbnail.thumbnails;null!=e&&0=this.Fa&&(xG(this),g.Lu(this.element,"ytp-flyout-cta-inactive"),this.B.element.removeAttribute("tabIndex"))}}; g.k.Yp=function(){this.clear()}; g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.FT.bind(this))}; g.k.show=function(){this.B&&this.B.show();vG.prototype.show.call(this)}; g.k.hide=function(){this.B&&this.B.hide();vG.prototype.hide.call(this)}; g.k.FT=function(a){"hidden"==a?this.show():this.hide()};g.w(twa,YF);g.k=twa.prototype; g.k.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);this.j=b;if(this.j.rectangle)for(a=this.j.likeButton&&g.U(this.j.likeButton,K2),b=this.j.dislikeButton&&g.U(this.j.dislikeButton,K2),this.C.init(NF("toggle-button"),a,c),this.B.init(NF("toggle-button"),b,c),this.T(this.element,"change",this.GT),this.D.show(100),this.show(),c=g.v(this.j&&this.j.impressionCommands||[]),a=c.next();!a.done;a=c.next())a=a.value,this.layoutId?this.ib.executeCommand(a,this.layoutId):g.wF(Error("Missing layoutId for instream user sentiment."))}; g.k.clear=function(){this.hide()}; g.k.hide=function(){this.C.hide();this.B.hide();YF.prototype.hide.call(this)}; g.k.show=function(){this.C.show();this.B.show();YF.prototype.show.call(this)}; g.k.GT=function(){$ka(this.element,"ytp-ad-instream-user-sentiment-selected");this.j.postMessageAction&&this.api.Qa("onYtShowToast",this.j.postMessageAction);this.D.hide()}; g.k.onClick=function(a){0=this.G&&xwa(this,!0)};g.w(ywa,hG);ywa.prototype.init=function(a,b,c){hG.prototype.init.call(this,a,b,c);a=!1;null!=b.text&&(a=g.$F(b.text),a=!g.gc(a));a?null==b.navigationEndpoint?g.xF(Error("No visit advertiser clickthrough provided in renderer,")):"STYLE_UNKNOWN"!==b.style?g.xF(Error("Button style was not a link-style type in renderer,")):this.show():g.xF(Error("No visit advertiser text was present in the renderer."))};g.w(KG,YF);KG.prototype.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);a=b.text;g.gc(ZF(a))?g.xF(Error("SimpleAdBadgeRenderer has invalid or empty text")):(a&&a.text&&(b=a.text,this.j&&(b=this.api.U(),b=a.text+" "+(b&&b.B?"\u2022":"\u00b7")),b={text:b,isTemplated:a.isTemplated},a.style&&(b.style=a.style),a.targetId&&(b.targetId=a.targetId),a=new uG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),a.init(NF("simple-ad-badge"),b,c),a.Da(this.element),g.L(this,a)),this.show())}; KG.prototype.clear=function(){this.hide()};g.w(LG,OF);g.w(MG,g.PF);g.k=MG.prototype;g.k.jn=function(){return this.durationMs}; g.k.stop=function(){this.j&&this.Cd.Kc(this.j)}; g.k.Ec=function(a){this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:a.current};this.ra("h")}; g.k.getProgressState=function(){return this.B}; g.k.Rd=function(a){g.HG(a,2)&&this.ra("g")};g.w(NG,g.PF);g.k=NG.prototype;g.k.jn=function(){return this.durationMs}; g.k.start=function(){this.j||(this.j=!0,this.timer.start())}; g.k.stop=function(){this.j&&(this.j=!1,this.timer.stop())}; g.k.Ec=function(){this.Xi+=100;var a=!1;this.Xi>this.durationMs&&(this.Xi=this.durationMs,this.timer.stop(),a=!0);this.B={seekableStart:0,seekableEnd:this.durationMs/1E3,current:this.Xi/1E3};this.ra("h");a&&this.ra("g")}; g.k.getProgressState=function(){return this.B};g.w(QG,vG);g.k=QG.prototype;g.k.init=function(a,b,c){vG.prototype.init.call(this,a,b,c);var d;if(null==b?0:null==(d=b.templatedCountdown)?0:d.templatedAdText){a=b.templatedCountdown.templatedAdText;if(!a.isTemplated){g.xF(Error("AdDurationRemainingRenderer has no templated ad text."));return}this.B=new uG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib);this.B.init(NF("ad-text"),a,{});this.B.Da(this.element);g.L(this,this.B)}this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){xG(this);vG.prototype.hide.call(this)}; g.k.Yp=function(){this.hide()}; g.k.Zn=function(){if(null!=this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&this.B&&(a=(this.j instanceof MG?void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:a.seekableEnd:void 0!==this.videoAdDurationSeconds?this.videoAdDurationSeconds:this.j instanceof NG?a.seekableEnd:this.api.getDuration(2,!1))-a.current,qwa(this.B,{FORMATTED_AD_DURATION_REMAINING:String(g.OG(a)),TIME_REMAINING:String(Math.ceil(a))}))}}; g.k.show=function(){wG(this);vG.prototype.show.call(this)};g.w(Awa,uG);Awa.prototype.onClick=function(a){uG.prototype.onClick.call(this,a);this.api.onAdUxClicked(this.componentType)};RG.prototype.getLength=function(){return this.j-this.B};g.w(TG,g.XF);TG.prototype.Ec=function(){var a=this.B.getProgressState();a=SG(new RG(a.seekableStart,a.seekableEnd),a.current,0);this.Oc.style.width=100*a+"%"}; TG.prototype.onStateChange=function(){g.bS(this.api.U())||(2===this.api.getPresentingPlayerType()?-1===this.j&&(this.show(),this.j=this.B.subscribe("h",this.Ec,this),this.Ec()):-1!==this.j&&(this.hide(),this.B.Eh(this.j),this.j=-1))};g.w(UG,YF); UG.prototype.init=function(a,b,c,d){YF.prototype.init.call(this,a,b,c);b.skipOrPreviewRenderer&&(c=b.skipOrPreviewRenderer,a=g.U(c,PL),c=g.U(c,ZM),a?(c=new JG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,this.Y),c.Da(this.G),c.init(NF("skip-button"),a,this.macros),g.L(this,c)):c&&(a=new AG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,!1),a.Da(this.G),a.init(NF("ad-preview"),c,this.macros),rwa(a),g.L(this,a)));b.brandInteractionRenderer&&(a=b.brandInteractionRenderer.brandInteractionRenderer, c=new twa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),c.Da(this.oa),c.init(NF("instream-user-sentiment"),a,this.macros),g.L(this,c));if(a=g.U(b,fgb))if(a=g.U(a,fgb))c=new swa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,!!b.showWithoutLinkedMediaLayout),g.L(this,c),c.Da(this.D),c.init(NF("flyout-cta"),a,this.macros);d=d&&d.videoAdDurationSeconds;b.adBadgeRenderer&&(a=b.adBadgeRenderer.simpleAdBadgeRenderer,null==a&&(a={text:{text:"\u0420\u0435\u043a\u043b\u0430\u043c\u0430", isTemplated:!1}}),c=new KG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,!0),g.L(this,c),c.Da(this.B),c.init(NF("simple-ad-badge"),a,this.macros));b.adDurationRemaining&&!b.showWithoutLinkedMediaLayout&&(a=b.adDurationRemaining.adDurationRemainingRenderer,null==a&&(a={templatedCountdown:{templatedAdText:{text:"{FORMATTED_AD_DURATION_REMAINING}",isTemplated:!0}}}),d=new QG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,d),g.L(this,d),d.Da(this.B),d.init(NF("ad-duration-remaining"), a,this.macros));b.adInfoRenderer&&(d=g.U(b.adInfoRenderer,YM))&&(a=new tG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.element),g.L(this,a),a.Da(this.B),a.init(NF("ad-info-hover-text-button"),d,this.macros));b.visitAdvertiserRenderer&&(d=g.U(b.visitAdvertiserRenderer,g.$M))&&(a=Bwa(this)&&this.C?this.C:this.B)&&(b=new ywa(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,b),b.Da(a),b.init(NF("visit-advertiser"),d,this.macros),vu(b.element),d=yu(b.element), xu(b.element,d+" This link opens in new tab"));(b=this.api.U())&&!g.$R(b)&&"3"==b.controlsType&&(b=new TG(this.api,this.j),b.Da(this.Fa),g.L(this,b));this.api.U().L("enable_updated_html5_player_focus_style")&&g.Ju(this.element,"ytp-ad-player-overlay-updated-focus-style");this.show()}; UG.prototype.clear=function(){this.hide()};XG.prototype.set=function(a,b,c){c=void 0!==c?Date.now()+c:void 0;this.j.set(a,b,c)}; XG.prototype.get=function(a){return this.j.get(a)}; XG.prototype.remove=function(a){this.j.remove(a)};var Gwa=null,Iwa=null,Kwa=null,Mwa=null;g.Sa("yt.www.ads.eventcache.getLastCompanionData",function(){return Gwa}); g.Sa("yt.www.ads.eventcache.getLastPlaShelfData",function(){return null}); g.Sa("yt.www.ads.eventcache.getLastUpdateEngagementPanelAction",function(){return Iwa}); g.Sa("yt.www.ads.eventcache.getLastChangeEngagementPanelVisibilityAction",function(){return Kwa}); g.Sa("yt.www.ads.eventcache.getLastScrollToEngagementPanelCommand",function(){return Mwa});var Owa=new Map([["dark","USER_INTERFACE_THEME_DARK"],["light","USER_INTERFACE_THEME_LIGHT"]]);$G.prototype.handleResponse=function(a,b){if(!b)throw Error("request needs to be passed into ConsistencyService");var c,d;b=(null==(c=b.Lp.context)?void 0:null==(d=c.request)?void 0:d.consistencyTokenJars)||[];var e;(a=null==(e=a.responseContext)?void 0:e.consistencyTokenJar)&&this.replace(b,a)}; $G.prototype.replace=function(a,b){a=g.v(a);for(var c=a.next();!c.done;c=a.next())delete this.j[c.value.encryptedTokenJarContents];Qwa(this,b)};var Dib=window.location.hostname.split(".").slice(-2).join("."),R2;aH.getInstance=function(){R2=g.Ta("yt.clientLocationService.instance");R2||(R2=new aH,g.Sa("yt.clientLocationService.instance",R2));return R2}; g.k=aH.prototype; g.k.setLocationOnInnerTubeContext=function(a){a.client||(a.client={});this.j?(a.client.locationInfo||(a.client.locationInfo={}),a.client.locationInfo.latitudeE7=Math.floor(1E7*this.j.coords.latitude),a.client.locationInfo.longitudeE7=Math.floor(1E7*this.j.coords.longitude),a.client.locationInfo.horizontalAccuracyMeters=Math.round(this.j.coords.accuracy),a.client.locationInfo.forceLocationPlayabilityTokenRefresh=!0):this.locationPlayabilityToken&&(a.client.locationPlayabilityToken=this.locationPlayabilityToken)}; g.k.handleResponse=function(a){var b;a=null==(b=a.responseContext)?void 0:b.locationPlayabilityToken;void 0!==a&&(this.locationPlayabilityToken=a,this.j=void 0,"TVHTML5"===g.uB("INNERTUBE_CLIENT_NAME")?(this.localStorage=Rwa(this))&&this.localStorage.set("yt-location-playability-token",a,15552E3):g.aC("YT_CL",JSON.stringify({loctok:a}),15552E3,Dib,!0))}; g.k.clearLocationPlayabilityToken=function(a){"TVHTML5"===a?(this.localStorage=Rwa(this))&&this.localStorage.remove("yt-location-playability-token"):g.Aoa("YT_CL")}; g.k.getCurrentPositionFromGeolocation=function(){var a=this;if(!(navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition))return Promise.reject(Error("Geolocation unsupported"));var b=!1,c=1E4;"MWEB"===g.uB("INNERTUBE_CLIENT_NAME")&&(b=!0,c=15E3);return new Promise(function(d,e){navigator.geolocation.getCurrentPosition(function(f){a.j=f;d(f)},function(f){e(f)},{enableHighAccuracy:b, maximumAge:0,timeout:c})})}; g.k.createUnpluggedLocationInfo=function(a){var b={};a=a.coords;if(null==a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null==a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);if(null==a?0:a.accuracy)b.locationRadiusMeters=Math.round(a.accuracy);return b}; g.k.createLocationInfo=function(a){var b={};a=a.coords;if(null==a?0:a.latitude)b.latitudeE7=Math.floor(1E7*a.latitude);if(null==a?0:a.longitude)b.longitudeE7=Math.floor(1E7*a.longitude);return b};var S2={},Wwa=(S2.WEB_UNPLUGGED="^unplugged/",S2.WEB_UNPLUGGED_ONBOARDING="^unplugged/",S2.WEB_UNPLUGGED_OPS="^unplugged/",S2.WEB_UNPLUGGED_PUBLIC="^unplugged/",S2.WEB_CREATOR="^creator/",S2.WEB_KIDS="^kids/",S2.WEB_EXPERIMENTS="^experiments/",S2.WEB_MUSIC="^music/",S2.WEB_REMIX="^music/",S2.WEB_MUSIC_EMBEDDED_PLAYER="^music/",S2.WEB_MUSIC_EMBEDDED_PLAYER="^main_app/|^sfv/",S2);eH.prototype.G=function(a,b,c){b=void 0===b?{}:b;c=void 0===c?UD:c;var d={context:g.bH(a.clickTrackingParams,!1,this.D)};var e=this.j(a);if(e){this.B(d,e,b);var f;b=g.dH(this.C());(e=null==(f=g.U(a.commandMetadata,g.G2))?void 0:f.apiUrl)&&(b=e);f=Doa(Coa(b));a=Object.assign({},{command:a},void 0);d={input:f,du:Eoa(f),Lp:d,config:a};d.config.Wu?d.config.Wu.identity=c:d.config.Wu={identity:c};return d}g.wF(new g.RC("Error: Failed to create Request from Command.",a))}; g.ia.Object.defineProperties(eH.prototype,{D:{configurable:!0,enumerable:!0,get:function(){return!1}}});g.w(fH,eH);fH.prototype.G=function(){return{input:"/getDatasyncIdsEndpoint",du:Eoa("/getDatasyncIdsEndpoint","GET"),Lp:{}}}; fH.prototype.C=function(){return[]}; fH.prototype.j=function(){}; fH.prototype.B=function(){};var Eib={},Oxa=(Eib.GET_DATASYNC_IDS=cH(fH),Eib);var T2={},cxa=(T2.auto_search="LATENCY_ACTION_AUTO_SEARCH",T2.ad_to_ad="LATENCY_ACTION_AD_TO_AD",T2.ad_to_video="LATENCY_ACTION_AD_TO_VIDEO",T2["analytics.explore"]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE",T2.app_startup="LATENCY_ACTION_APP_STARTUP",T2["artist.analytics"]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS",T2["artist.events"]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS",T2["artist.presskit"]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE",T2["asset.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS", T2["asset.composition"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION",T2["asset.composition_ownership"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP",T2["asset.composition_policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY",T2["asset.embeds"]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS",T2["asset.issues"]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES",T2["asset.licenses"]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES",T2["asset.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA",T2["asset.ownership"]= "LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP",T2["asset.policy"]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY",T2["asset.references"]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES",T2["asset.shares"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES",T2["asset.sound_recordings"]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS",T2["asset_group.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS",T2["asset_group.campaigns"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS",T2["asset_group.claimed_videos"]= "LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS",T2["asset_group.metadata"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA",T2["song.analytics"]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS",T2.browse="LATENCY_ACTION_BROWSE",T2.cast_splash="LATENCY_ACTION_CAST_SPLASH",T2.channels="LATENCY_ACTION_CHANNELS",T2.creator_channel_dashboard="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD",T2["channel.analytics"]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS",T2["channel.comments"]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS", T2["channel.content"]="LATENCY_ACTION_CREATOR_POST_LIST",T2["channel.content.promotions"]="LATENCY_ACTION_CREATOR_PROMOTION_LIST",T2["channel.copyright"]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT",T2["channel.editing"]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING",T2["channel.monetization"]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION",T2["channel.music"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC",T2["channel.music_storefront"]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT",T2["channel.playlists"]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS", T2["channel.translations"]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS",T2["channel.videos"]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS",T2["channel.live_streaming"]="LATENCY_ACTION_CREATOR_LIVE_STREAMING",T2.chips="LATENCY_ACTION_CHIPS",T2.commerce_transaction="LATENCY_ACTION_COMMERCE_TRANSACTION",T2["dialog.copyright_strikes"]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES",T2["dialog.video_copyright"]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT",T2["dialog.uploads"]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS", T2.direct_playback="LATENCY_ACTION_DIRECT_PLAYBACK",T2.embed="LATENCY_ACTION_EMBED",T2.entity_key_serialization_perf="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF",T2.entity_key_deserialization_perf="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF",T2.explore="LATENCY_ACTION_EXPLORE",T2.home="LATENCY_ACTION_HOME",T2.library="LATENCY_ACTION_LIBRARY",T2.live="LATENCY_ACTION_LIVE",T2.live_pagination="LATENCY_ACTION_LIVE_PAGINATION",T2.mini_app="LATENCY_ACTION_MINI_APP_PLAY",T2.onboarding="LATENCY_ACTION_ONBOARDING", T2.owner="LATENCY_ACTION_CREATOR_CMS_DASHBOARD",T2["owner.allowlist"]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST",T2["owner.analytics"]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS",T2["owner.art_tracks"]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS",T2["owner.assets"]="LATENCY_ACTION_CREATOR_CMS_ASSETS",T2["owner.asset_groups"]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS",T2["owner.bulk"]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY",T2["owner.campaigns"]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS",T2["owner.channel_invites"]= "LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES",T2["owner.channels"]="LATENCY_ACTION_CREATOR_CMS_CHANNELS",T2["owner.claimed_videos"]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS",T2["owner.claims"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",T2["owner.claims.manual"]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING",T2["owner.delivery"]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY",T2["owner.delivery_templates"]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES",T2["owner.issues"]="LATENCY_ACTION_CREATOR_CMS_ISSUES", T2["owner.licenses"]="LATENCY_ACTION_CREATOR_CMS_LICENSES",T2["owner.pitch_music"]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC",T2["owner.policies"]="LATENCY_ACTION_CREATOR_CMS_POLICIES",T2["owner.releases"]="LATENCY_ACTION_CREATOR_CMS_RELEASES",T2["owner.reports"]="LATENCY_ACTION_CREATOR_CMS_REPORTS",T2["owner.videos"]="LATENCY_ACTION_CREATOR_CMS_VIDEOS",T2.parent_profile_settings="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS",T2.parent_tools_collection="LATENCY_ACTION_PARENT_TOOLS_COLLECTION",T2.parent_tools_dashboard= "LATENCY_ACTION_PARENT_TOOLS_DASHBOARD",T2.player_att="LATENCY_ACTION_PLAYER_ATTESTATION",T2["playlist.videos"]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST",T2["post.comments"]="LATENCY_ACTION_CREATOR_POST_COMMENTS",T2["post.edit"]="LATENCY_ACTION_CREATOR_POST_EDIT",T2.prebuffer="LATENCY_ACTION_PREBUFFER",T2.prefetch="LATENCY_ACTION_PREFETCH",T2.profile_settings="LATENCY_ACTION_KIDS_PROFILE_SETTINGS",T2.profile_switcher="LATENCY_ACTION_LOGIN",T2.reel_watch="LATENCY_ACTION_REEL_WATCH",T2.results="LATENCY_ACTION_RESULTS", T2["promotion.edit"]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT",T2.search_ui="LATENCY_ACTION_SEARCH_UI",T2.search_suggest="LATENCY_ACTION_SUGGEST",T2.search_zero_state="LATENCY_ACTION_SEARCH_ZERO_STATE",T2.secret_code="LATENCY_ACTION_KIDS_SECRET_CODE",T2.seek="LATENCY_ACTION_PLAYER_SEEK",T2.settings="LATENCY_ACTION_SETTINGS",T2.store="LATENCY_ACTION_STORE",T2.tenx="LATENCY_ACTION_TENX",T2.video_to_ad="LATENCY_ACTION_VIDEO_TO_AD",T2.watch="LATENCY_ACTION_WATCH",T2.watch_it_again="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN", T2["watch,watch7"]="LATENCY_ACTION_WATCH",T2["watch,watch7_html5"]="LATENCY_ACTION_WATCH",T2["watch,watch7ad"]="LATENCY_ACTION_WATCH",T2["watch,watch7ad_html5"]="LATENCY_ACTION_WATCH",T2.wn_comments="LATENCY_ACTION_LOAD_COMMENTS",T2.ww_rqs="LATENCY_ACTION_WHO_IS_WATCHING",T2["video.analytics"]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS",T2["video.claims"]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS",T2["video.comments"]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS",T2["video.copyright"]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT", T2["video.edit"]="LATENCY_ACTION_CREATOR_VIDEO_EDIT",T2["video.editor"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR",T2["video.editor_async"]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC",T2["video.live_settings"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS",T2["video.live_streaming"]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING",T2["video.monetization"]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION",T2["video.policy"]="LATENCY_ACTION_CREATOR_VIDEO_POLICY",T2["video.rights_management"]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT", T2["video.translations"]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS",T2.voice_assistant="LATENCY_ACTION_VOICE_ASSISTANT",T2.cast_load_by_entity_to_watch="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH",T2.networkless_performance="LATENCY_ACTION_NETWORKLESS_PERFORMANCE",T2.gel_compression="LATENCY_ACTION_GEL_COMPRESSION",T2.gel_jspb_serialize="LATENCY_ACTION_GEL_JSPB_SERIALIZE",T2),U2={},dxa=(U2.ad_allowed="adTypesAllowed",U2.yt_abt="adBreakType",U2.ad_cpn="adClientPlaybackNonce",U2.ad_docid="adVideoId", U2.yt_ad_an="adNetworks",U2.ad_at="adType",U2.aida="appInstallDataAgeMs",U2.browse_id="browseId",U2.p="httpProtocol",U2.t="transportProtocol",U2.cpn="clientPlaybackNonce",U2.ccs="creatorInfo.creatorCanaryState",U2.ctop="creatorInfo.topEntityType",U2.csn="clientScreenNonce",U2.docid="videoId",U2.GetHome_rid="requestIds",U2.GetSearch_rid="requestIds",U2.GetPlayer_rid="requestIds",U2.GetWatchNext_rid="requestIds",U2.GetBrowse_rid="requestIds",U2.GetLibrary_rid="requestIds",U2.is_continuation="isContinuation", U2.is_nav="isNavigation",U2.b_p="kabukiInfo.browseParams",U2.is_prefetch="kabukiInfo.isPrefetch",U2.is_secondary_nav="kabukiInfo.isSecondaryNav",U2.nav_type="kabukiInfo.navigationType",U2.prev_browse_id="kabukiInfo.prevBrowseId",U2.query_source="kabukiInfo.querySource",U2.voz_type="kabukiInfo.vozType",U2.yt_lt="loadType",U2.mver="creatorInfo.measurementVersion",U2.yt_ad="isMonetized",U2.nr="webInfo.navigationReason",U2.nrsu="navigationRequestedSameUrl",U2.pnt="performanceNavigationTiming",U2.prt= "playbackRequiresTap",U2.plt="playerInfo.playbackType",U2.pis="playerInfo.playerInitializedState",U2.paused="playerInfo.isPausedOnLoad",U2.yt_pt="playerType",U2.fmt="playerInfo.itag",U2.yt_pl="watchInfo.isPlaylist",U2.yt_pre="playerInfo.preloadType",U2.yt_ad_pr="prerollAllowed",U2.pa="previousAction",U2.yt_red="isRedSubscriber",U2.rce="mwebInfo.responseContentEncoding",U2.rc="resourceInfo.resourceCache",U2.scrh="screenHeight",U2.scrw="screenWidth",U2.st="serverTimeMs",U2.ssdm="shellStartupDurationMs", U2.br_trs="tvInfo.bedrockTriggerState",U2.kebqat="kabukiInfo.earlyBrowseRequestInfo.abandonmentType",U2.kebqa="kabukiInfo.earlyBrowseRequestInfo.adopted",U2.label="tvInfo.label",U2.is_mdx="tvInfo.isMdx",U2.preloaded="tvInfo.isPreloaded",U2.aac_type="tvInfo.authAccessCredentialType",U2.upg_player_vis="playerInfo.visibilityState",U2.query="unpluggedInfo.query",U2.upg_chip_ids_string="unpluggedInfo.upgChipIdsString",U2.yt_vst="videoStreamType",U2.vph="viewportHeight",U2.vpw="viewportWidth",U2.yt_vis= "isVisible",U2.rcl="mwebInfo.responseContentLength",U2.GetSettings_rid="requestIds",U2.GetTrending_rid="requestIds",U2.GetMusicSearchSuggestions_rid="requestIds",U2.REQUEST_ID="requestIds",U2),exa="isContinuation isNavigation kabukiInfo.earlyBrowseRequestInfo.adopted kabukiInfo.isPrefetch kabukiInfo.isSecondaryNav isMonetized navigationRequestedSameUrl performanceNavigationTiming playerInfo.isPausedOnLoad prerollAllowed isRedSubscriber tvInfo.isMdx tvInfo.isPreloaded isVisible watchInfo.isPlaylist playbackRequiresTap".split(" "), V2={},fxa=(V2.ccs="CANARY_STATE_",V2.mver="MEASUREMENT_VERSION_",V2.pis="PLAYER_INITIALIZED_STATE_",V2.yt_pt="LATENCY_PLAYER_",V2.pa="LATENCY_ACTION_",V2.ctop="TOP_ENTITY_TYPE_",V2.yt_vst="VIDEO_STREAM_TYPE_",V2),gxa="all_vc ap aq c cbr cbrand cbrver cmodel cos cosver cplatform ctheme cver ei l_an l_mm plid srt yt_fss yt_li vpst vpni2 vpil2 icrc icrt pa GetAccountOverview_rid GetHistory_rid cmt d_vpct d_vpnfi d_vpni nsru pc pfa pfeh pftr pnc prerender psc rc start tcrt tcrc ssr vpr vps yt_abt yt_fn yt_fs yt_pft yt_pre yt_pt yt_pvis ytu_pvis yt_ref yt_sts tds".split(" ");var X={LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE:269,LATENCY_ACTION_THUMBNAIL_LOAD:42,LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING:179,LATENCY_ACTION_KIDS_PROFILE_SWITCHER:90,LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER:100,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC:46,LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR:37,LATENCY_ACTION_SPINNER_DISPLAYED:14,LATENCY_ACTION_PLAYABILITY_CHECK:10,LATENCY_ACTION_PROCESS:9,LATENCY_ACTION_APP_STARTUP:5,LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER:277,LATENCY_ACTION_MINI_APP_PLAY:249, LATENCY_ACTION_DMA_CONSENT_FLOW:247,LATENCY_ACTION_GEL_FETCH:248,LATENCY_ACTION_GEL_JSPB_SERIALIZE:243,LATENCY_ACTION_GEL_COMPRESSION:215,LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE:204,LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC:203,LATENCY_ACTION_COMMERCE_TRANSACTION:184,LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC:173,LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC:172,LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC:171,LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC:170,LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC:169, LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC:168,LATENCY_ACTION_GET_OFFERS_RPC:167,LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC:166,LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC:165,LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC:164,LATENCY_ACTION_GET_OFFER_DETAILS_RPC:163,LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC:162,LATENCY_ACTION_GET_TIP_MODULE_RPC:161,LATENCY_ACTION_HANDLE_TRANSACTION_RPC:160,LATENCY_ACTION_COMPLETE_TRANSACTION_RPC:159,LATENCY_ACTION_GET_CART_RPC:158,LATENCY_ACTION_THUMBNAIL_FETCH:156, LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK:154,LATENCY_ACTION_SHARE_VIDEO:153,LATENCY_ACTION_AD_TO_VIDEO_INT:152,LATENCY_ACTION_ABANDONED_BROWSE:151,LATENCY_ACTION_PLAYER_ROTATION:150,LATENCY_ACTION_GENERIC_WEB_VIEW:183,LATENCY_ACTION_SHOPPING_IN_APP:124,LATENCY_ACTION_PLAYER_ATTESTATION:121,LATENCY_ACTION_PLAYER_SEEK:119,LATENCY_ACTION_SUPER_STICKER_BUY_FLOW:114,LATENCY_ACTION_DOWNLOADS_DATA_ACCESS:180,LATENCY_ACTION_BLOCKS_PERFORMANCE:148,LATENCY_ACTION_ASSISTANT_QUERY:138,LATENCY_ACTION_ASSISTANT_SETTINGS:137, LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF:129,LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF:128,LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN:244,LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE:127,LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION:123,LATENCY_ACTION_NETWORKLESS_PERFORMANCE:122,LATENCY_ACTION_DOWNLOADS_EXPANSION:133,LATENCY_ACTION_ENTITY_TRANSFORM:131,LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER:96,LATENCY_ACTION_EMBEDS_SET_VIDEO:95,LATENCY_ACTION_SETTINGS:93,LATENCY_ACTION_ABANDONED_STARTUP:81,LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY:80, LATENCY_ACTION_MEDIA_BROWSER_SEARCH:79,LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE:78,LATENCY_ACTION_WHO_IS_WATCHING:77,LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH:76,LATENCY_ACTION_LITE_SWITCH_ACCOUNT:73,LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION:69,LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION:65,LATENCY_ACTION_OFFLINE_STORE_START:61,LATENCY_ACTION_REEL_EDITOR:58,LATENCY_ACTION_CHANNEL_SUBSCRIBE:56,LATENCY_ACTION_CHANNEL_PREVIEW:55,LATENCY_ACTION_PREFETCH:52,LATENCY_ACTION_ABANDONED_WATCH:45,LATENCY_ACTION_LOAD_COMMENT_REPLIES:26, LATENCY_ACTION_LOAD_COMMENTS:25,LATENCY_ACTION_EDIT_COMMENT:24,LATENCY_ACTION_NEW_COMMENT:23,LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING:19,LATENCY_ACTION_EMBED:18,LATENCY_ACTION_MDX_LAUNCH:15,LATENCY_ACTION_RESOLVE_URL:13,LATENCY_ACTION_CAST_SPLASH:149,LATENCY_ACTION_MDX_CONNECT_TO_SESSION:190,LATENCY_ACTION_MDX_STREAM_TRANSFER:178,LATENCY_ACTION_MDX_CAST:120,LATENCY_ACTION_MDX_COMMAND:12,LATENCY_ACTION_MOBILE_LIVE_NAV_MDE:231,LATENCY_ACTION_REEL_SELECT_SEGMENT:136,LATENCY_ACTION_ACCELERATED_EFFECTS:145, LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD:272,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD:271,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD:270,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE:275,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO:274,LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO:273,LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO:278,LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD:267,LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET:251,LATENCY_ACTION_SHORTS_LOAD_PROJECT:234, LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING:229,LATENCY_ACTION_EDIT_AUDIO_GEN:182,LATENCY_ACTION_UPLOAD_AUDIO_MIXER:147,LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION:262,LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING:157,LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING:146,LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK:130,LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD:125,LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD:240,LATENCY_ACTION_SHORTS_VIDEO_INGESTION:155,LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING:264, LATENCY_ACTION_SHORTS_RECOMPOSITION:263,LATENCY_ACTION_SHORTS_GALLERY:107,LATENCY_ACTION_SHORTS_TRIM:105,LATENCY_ACTION_SHORTS_EDIT:104,LATENCY_ACTION_SHORTS_CAMERA:103,LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT:239,LATENCY_ACTION_CREATION_MODES_MODE_SWITCH:236,LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT:235,LATENCY_ACTION_SWITCH_CAMERA:246,LATENCY_ACTION_OPEN_CAMERA:245,LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE:250,LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME:242,LATENCY_ACTION_MEDIA_ENGINE_EXPORT:241, LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA:233,LATENCY_ACTION_PRODUCER_EXPORT_PROJECT:193,LATENCY_ACTION_PRODUCER_EDITOR:192,LATENCY_ACTION_PARENT_TOOLS_DASHBOARD:102,LATENCY_ACTION_PARENT_TOOLS_COLLECTION:101,LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL:238,LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL:237,LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS:116,LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS:115,LATENCY_ACTION_MUSIC_ALBUM_DETAIL:72,LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL:71,LATENCY_ACTION_STORE:175, LATENCY_ACTION_CHIPS:68,LATENCY_ACTION_SEARCH_ZERO_STATE:67,LATENCY_ACTION_LIVE_PAGINATION:117,LATENCY_ACTION_LIVE:20,LATENCY_ACTION_PREBUFFER:40,LATENCY_ACTION_TENX:39,LATENCY_ACTION_KIDS_PROFILE_SETTINGS:94,LATENCY_ACTION_KIDS_WATCH_IT_AGAIN:92,LATENCY_ACTION_KIDS_SECRET_CODE:91,LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS:89,LATENCY_ACTION_KIDS_ONBOARDING:88,LATENCY_ACTION_KIDS_VOICE_SEARCH:82,LATENCY_ACTION_KIDS_CURATED_COLLECTION:62,LATENCY_ACTION_KIDS_LIBRARY:53,LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS:38, LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT:219,LATENCY_ACTION_CREATOR_VIDEO_POLICY:217,LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION:74,LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING:141,LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS:142,LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC:51,LATENCY_ACTION_CREATOR_VIDEO_EDITOR:50,LATENCY_ACTION_CREATOR_VIDEO_EDIT:36,LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT:218,LATENCY_ACTION_CREATOR_VIDEO_COMMENTS:34,LATENCY_ACTION_CREATOR_VIDEO_CLAIMS:216,LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS:33, LATENCY_ACTION_CREATOR_SONG_ANALYTICS:176,LATENCY_ACTION_CREATOR_PROMOTION_LIST:186,LATENCY_ACTION_CREATOR_PROMOTION_EDIT:185,LATENCY_ACTION_CREATOR_POST_LIST:112,LATENCY_ACTION_CREATOR_POST_EDIT:110,LATENCY_ACTION_CREATOR_POST_COMMENTS:111,LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST:265,LATENCY_ACTION_CREATOR_LIVE_STREAMING:108,LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT:174,LATENCY_ACTION_CREATOR_DIALOG_UPLOADS:86,LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES:87,LATENCY_ACTION_CREATOR_CMS_VIDEOS:202, LATENCY_ACTION_CREATOR_CMS_REPORTS:201,LATENCY_ACTION_CREATOR_CMS_RELEASES:226,LATENCY_ACTION_CREATOR_CMS_POLICIES:225,LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC:224,LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING:200,LATENCY_ACTION_CREATOR_CMS_LICENSES:223,LATENCY_ACTION_CREATOR_CMS_ISSUES:191,LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES:252,LATENCY_ACTION_CREATOR_CMS_DASHBOARD:199,LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY:198,LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS:197,LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES:261, LATENCY_ACTION_CREATOR_CMS_CHANNELS:196,LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS:222,LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY:253,LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS:214,LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES:254,LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES:209,LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY:208,LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP:207,LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA:205,LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES:212,LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES:206,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA:258, LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS:260,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS:259,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS:257,LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS:221,LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS:210,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY:256,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP:255,LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION:213,LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS:211,LATENCY_ACTION_CREATOR_CMS_ASSETS:195, LATENCY_ACTION_CREATOR_CMS_ART_TRACKS:220,LATENCY_ACTION_CREATOR_CMS_ANALYTICS:194,LATENCY_ACTION_CREATOR_CMS_ALLOWLIST:227,LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS:32,LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS:48,LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS:139,LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT:177,LATENCY_ACTION_CREATOR_CHANNEL_MUSIC:99,LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION:43,LATENCY_ACTION_CREATOR_CHANNEL_EDITING:113,LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD:49,LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT:44, LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS:66,LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS:31,LATENCY_ACTION_CREATOR_ARTIST_PROFILE:85,LATENCY_ACTION_CREATOR_ARTIST_CONCERTS:84,LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS:83,LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE:140,LATENCY_ACTION_EXPERIMENTAL_WATCH_UI:181,LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS:228,LATENCY_ACTION_STORYBOARD_THUMBNAILS:118,LATENCY_ACTION_SEARCH_THUMBNAILS:59,LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD:54,LATENCY_ACTION_VOICE_ASSISTANT:47,LATENCY_ACTION_SEARCH_UI:35, LATENCY_ACTION_SUGGEST:30,LATENCY_ACTION_AUTO_SEARCH:126,LATENCY_ACTION_PLAYLIST_AGGREGATION:266,LATENCY_ACTION_DOWNLOADS:98,LATENCY_ACTION_EXPLORE:75,LATENCY_ACTION_VIDEO_LIST:63,LATENCY_ACTION_HOME_RESUME:60,LATENCY_ACTION_SUBSCRIPTIONS_LIST:57,LATENCY_ACTION_FIRST_THUMBNAIL_LOAD:29,LATENCY_ACTION_SUBSCRIPTIONS_FEED:109,LATENCY_ACTION_SUBSCRIPTIONS:28,LATENCY_ACTION_TRENDING:27,LATENCY_ACTION_LIBRARY:21,LATENCY_ACTION_VIDEO_THUMBNAIL:8,LATENCY_ACTION_SHOW_MORE:7,LATENCY_ACTION_VIDEO_PREVIEW:6,LATENCY_ACTION_AD_TO_AD:22, LATENCY_ACTION_VIDEO_TO_AD:17,LATENCY_ACTION_AD_TO_VIDEO:16,LATENCY_ACTION_DIRECT_PLAYBACK:132,LATENCY_ACTION_IMAGE_LOAD:268,LATENCY_ACTION_PREBUFFER_VIDEO:144,LATENCY_ACTION_PREFETCH_VIDEO:143,LATENCY_ACTION_STARTUP:106,LATENCY_ACTION_ELEMENTS_PERFORMANCE:70,LATENCY_ACTION_INFRASTRUCTURE_CONTAINER:276,LATENCY_ACTION_INLINE_TO_WATCH:232,LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH:230,LATENCY_ACTION_ONBOARDING:135,LATENCY_ACTION_LOGIN:97,LATENCY_ACTION_REEL_WATCH:41,LATENCY_ACTION_WATCH:3,LATENCY_ACTION_RESULTS:2, LATENCY_ACTION_CHANNELS:4,LATENCY_ACTION_HOME:1,LATENCY_ACTION_BROWSE:11,LATENCY_ACTION_USER_ACTION:189,LATENCY_ACTION_INFRASTRUCTURE:188,LATENCY_ACTION_PAGE_NAVIGATION:187,LATENCY_ACTION_UNKNOWN:0};X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE";X[X.LATENCY_ACTION_THUMBNAIL_LOAD]="LATENCY_ACTION_THUMBNAIL_LOAD";X[X.LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION_TRANSCODING"; X[X.LATENCY_ACTION_KIDS_PROFILE_SWITCHER]="LATENCY_ACTION_KIDS_PROFILE_SWITCHER";X[X.LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER]="LATENCY_ACTION_OFFLINE_THUMBNAIL_TRANSFER";X[X.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR_ASYNC";X[X.LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_VIDEO_EDITOR";X[X.LATENCY_ACTION_SPINNER_DISPLAYED]="LATENCY_ACTION_SPINNER_DISPLAYED";X[X.LATENCY_ACTION_PLAYABILITY_CHECK]="LATENCY_ACTION_PLAYABILITY_CHECK"; X[X.LATENCY_ACTION_PROCESS]="LATENCY_ACTION_PROCESS";X[X.LATENCY_ACTION_APP_STARTUP]="LATENCY_ACTION_APP_STARTUP";X[X.LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER]="LATENCY_ACTION_SEARCH_OVERVIEW_ANSWER";X[X.LATENCY_ACTION_MINI_APP_PLAY]="LATENCY_ACTION_MINI_APP_PLAY";X[X.LATENCY_ACTION_DMA_CONSENT_FLOW]="LATENCY_ACTION_DMA_CONSENT_FLOW";X[X.LATENCY_ACTION_GEL_FETCH]="LATENCY_ACTION_GEL_FETCH";X[X.LATENCY_ACTION_GEL_JSPB_SERIALIZE]="LATENCY_ACTION_GEL_JSPB_SERIALIZE"; X[X.LATENCY_ACTION_GEL_COMPRESSION]="LATENCY_ACTION_GEL_COMPRESSION";X[X.LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE]="LATENCY_ACTION_PREMIUM_PAGE_GET_BROWSE";X[X.LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC]="LATENCY_ACTION_COMMERCE_ACTION_COMMAND_RPC";X[X.LATENCY_ACTION_COMMERCE_TRANSACTION]="LATENCY_ACTION_COMMERCE_TRANSACTION";X[X.LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC]="LATENCY_ACTION_LOG_PAYMENT_SERVER_ANALYTICS_RPC";X[X.LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC]="LATENCY_ACTION_GET_PAYMENT_INSTRUMENTS_PARAMS_RPC"; X[X.LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC]="LATENCY_ACTION_GET_FIX_INSTRUMENT_PARAMS_RPC";X[X.LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC]="LATENCY_ACTION_RESUME_SUBSCRIPTION_RPC";X[X.LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC]="LATENCY_ACTION_PAUSE_SUBSCRIPTION_RPC";X[X.LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC]="LATENCY_ACTION_GET_OFFLINE_UPSELL_RPC";X[X.LATENCY_ACTION_GET_OFFERS_RPC]="LATENCY_ACTION_GET_OFFERS_RPC";X[X.LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_YT_FLOW_RPC"; X[X.LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC]="LATENCY_ACTION_GET_CANCELLATION_FLOW_RPC";X[X.LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC]="LATENCY_ACTION_UPDATE_CROSS_DEVICE_OFFLINE_STATE_RPC";X[X.LATENCY_ACTION_GET_OFFER_DETAILS_RPC]="LATENCY_ACTION_GET_OFFER_DETAILS_RPC";X[X.LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC]="LATENCY_ACTION_CANCEL_RECURRENCE_TRANSACTION_RPC";X[X.LATENCY_ACTION_GET_TIP_MODULE_RPC]="LATENCY_ACTION_GET_TIP_MODULE_RPC"; X[X.LATENCY_ACTION_HANDLE_TRANSACTION_RPC]="LATENCY_ACTION_HANDLE_TRANSACTION_RPC";X[X.LATENCY_ACTION_COMPLETE_TRANSACTION_RPC]="LATENCY_ACTION_COMPLETE_TRANSACTION_RPC";X[X.LATENCY_ACTION_GET_CART_RPC]="LATENCY_ACTION_GET_CART_RPC";X[X.LATENCY_ACTION_THUMBNAIL_FETCH]="LATENCY_ACTION_THUMBNAIL_FETCH";X[X.LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK]="LATENCY_ACTION_ABANDONED_DIRECT_PLAYBACK";X[X.LATENCY_ACTION_SHARE_VIDEO]="LATENCY_ACTION_SHARE_VIDEO";X[X.LATENCY_ACTION_AD_TO_VIDEO_INT]="LATENCY_ACTION_AD_TO_VIDEO_INT"; X[X.LATENCY_ACTION_ABANDONED_BROWSE]="LATENCY_ACTION_ABANDONED_BROWSE";X[X.LATENCY_ACTION_PLAYER_ROTATION]="LATENCY_ACTION_PLAYER_ROTATION";X[X.LATENCY_ACTION_GENERIC_WEB_VIEW]="LATENCY_ACTION_GENERIC_WEB_VIEW";X[X.LATENCY_ACTION_SHOPPING_IN_APP]="LATENCY_ACTION_SHOPPING_IN_APP";X[X.LATENCY_ACTION_PLAYER_ATTESTATION]="LATENCY_ACTION_PLAYER_ATTESTATION";X[X.LATENCY_ACTION_PLAYER_SEEK]="LATENCY_ACTION_PLAYER_SEEK";X[X.LATENCY_ACTION_SUPER_STICKER_BUY_FLOW]="LATENCY_ACTION_SUPER_STICKER_BUY_FLOW"; X[X.LATENCY_ACTION_DOWNLOADS_DATA_ACCESS]="LATENCY_ACTION_DOWNLOADS_DATA_ACCESS";X[X.LATENCY_ACTION_BLOCKS_PERFORMANCE]="LATENCY_ACTION_BLOCKS_PERFORMANCE";X[X.LATENCY_ACTION_ASSISTANT_QUERY]="LATENCY_ACTION_ASSISTANT_QUERY";X[X.LATENCY_ACTION_ASSISTANT_SETTINGS]="LATENCY_ACTION_ASSISTANT_SETTINGS";X[X.LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_DESERIALIZATION_PERF";X[X.LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF]="LATENCY_ACTION_ENTITY_KEY_SERIALIZATION_PERF"; X[X.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN";X[X.LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE]="LATENCY_ACTION_PROOF_OF_ORIGIN_TOKEN_CREATE";X[X.LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION]="LATENCY_ACTION_EMBEDS_SDK_INITIALIZATION";X[X.LATENCY_ACTION_NETWORKLESS_PERFORMANCE]="LATENCY_ACTION_NETWORKLESS_PERFORMANCE";X[X.LATENCY_ACTION_DOWNLOADS_EXPANSION]="LATENCY_ACTION_DOWNLOADS_EXPANSION";X[X.LATENCY_ACTION_ENTITY_TRANSFORM]="LATENCY_ACTION_ENTITY_TRANSFORM"; X[X.LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER]="LATENCY_ACTION_DOWNLOADS_COMPATIBILITY_LAYER";X[X.LATENCY_ACTION_EMBEDS_SET_VIDEO]="LATENCY_ACTION_EMBEDS_SET_VIDEO";X[X.LATENCY_ACTION_SETTINGS]="LATENCY_ACTION_SETTINGS";X[X.LATENCY_ACTION_ABANDONED_STARTUP]="LATENCY_ACTION_ABANDONED_STARTUP";X[X.LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY]="LATENCY_ACTION_MEDIA_BROWSER_ALARM_PLAY";X[X.LATENCY_ACTION_MEDIA_BROWSER_SEARCH]="LATENCY_ACTION_MEDIA_BROWSER_SEARCH"; X[X.LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE]="LATENCY_ACTION_MEDIA_BROWSER_LOAD_TREE";X[X.LATENCY_ACTION_WHO_IS_WATCHING]="LATENCY_ACTION_WHO_IS_WATCHING";X[X.LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH]="LATENCY_ACTION_CAST_LOAD_BY_ENTITY_TO_WATCH";X[X.LATENCY_ACTION_LITE_SWITCH_ACCOUNT]="LATENCY_ACTION_LITE_SWITCH_ACCOUNT";X[X.LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION]="LATENCY_ACTION_LOCATION_SIGNAL_COLLECTION";X[X.LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION]="LATENCY_ACTION_MODIFY_CHANNEL_NOTIFICATION"; X[X.LATENCY_ACTION_OFFLINE_STORE_START]="LATENCY_ACTION_OFFLINE_STORE_START";X[X.LATENCY_ACTION_REEL_EDITOR]="LATENCY_ACTION_REEL_EDITOR";X[X.LATENCY_ACTION_CHANNEL_SUBSCRIBE]="LATENCY_ACTION_CHANNEL_SUBSCRIBE";X[X.LATENCY_ACTION_CHANNEL_PREVIEW]="LATENCY_ACTION_CHANNEL_PREVIEW";X[X.LATENCY_ACTION_PREFETCH]="LATENCY_ACTION_PREFETCH";X[X.LATENCY_ACTION_ABANDONED_WATCH]="LATENCY_ACTION_ABANDONED_WATCH";X[X.LATENCY_ACTION_LOAD_COMMENT_REPLIES]="LATENCY_ACTION_LOAD_COMMENT_REPLIES"; X[X.LATENCY_ACTION_LOAD_COMMENTS]="LATENCY_ACTION_LOAD_COMMENTS";X[X.LATENCY_ACTION_EDIT_COMMENT]="LATENCY_ACTION_EDIT_COMMENT";X[X.LATENCY_ACTION_NEW_COMMENT]="LATENCY_ACTION_NEW_COMMENT";X[X.LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING]="LATENCY_ACTION_OFFLINE_SHARING_RECEIVER_PAIRING";X[X.LATENCY_ACTION_EMBED]="LATENCY_ACTION_EMBED";X[X.LATENCY_ACTION_MDX_LAUNCH]="LATENCY_ACTION_MDX_LAUNCH";X[X.LATENCY_ACTION_RESOLVE_URL]="LATENCY_ACTION_RESOLVE_URL";X[X.LATENCY_ACTION_CAST_SPLASH]="LATENCY_ACTION_CAST_SPLASH"; X[X.LATENCY_ACTION_MDX_CONNECT_TO_SESSION]="LATENCY_ACTION_MDX_CONNECT_TO_SESSION";X[X.LATENCY_ACTION_MDX_STREAM_TRANSFER]="LATENCY_ACTION_MDX_STREAM_TRANSFER";X[X.LATENCY_ACTION_MDX_CAST]="LATENCY_ACTION_MDX_CAST";X[X.LATENCY_ACTION_MDX_COMMAND]="LATENCY_ACTION_MDX_COMMAND";X[X.LATENCY_ACTION_MOBILE_LIVE_NAV_MDE]="LATENCY_ACTION_MOBILE_LIVE_NAV_MDE";X[X.LATENCY_ACTION_REEL_SELECT_SEGMENT]="LATENCY_ACTION_REEL_SELECT_SEGMENT";X[X.LATENCY_ACTION_ACCELERATED_EFFECTS]="LATENCY_ACTION_ACCELERATED_EFFECTS"; X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_IMAGE_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_VIDEO_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_AUDIO_DOWNLOAD";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_IMAGE"; X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_VIDEO";X[X.LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO]="LATENCY_ACTION_DYNAMIC_CREATION_ASSET_GENERATE_AUDIO";X[X.LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO]="LATENCY_ACTION_GET_SHORTS_SOURCE_VIDEO";X[X.LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD]="LATENCY_ACTION_SHORTS_AUTO_CROP_DATA_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET]="LATENCY_ACTION_SHORTS_FETCH_DYNAMIC_ASSET"; X[X.LATENCY_ACTION_SHORTS_LOAD_PROJECT]="LATENCY_ACTION_SHORTS_LOAD_PROJECT";X[X.LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING]="LATENCY_ACTION_SHORTS_TRIM_TO_EDITOR_TRANSCODING";X[X.LATENCY_ACTION_EDIT_AUDIO_GEN]="LATENCY_ACTION_EDIT_AUDIO_GEN";X[X.LATENCY_ACTION_UPLOAD_AUDIO_MIXER]="LATENCY_ACTION_UPLOAD_AUDIO_MIXER";X[X.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING_RECOMPOSITION";X[X.LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING]="LATENCY_ACTION_SHORTS_CLIENT_SIDE_RENDERING"; X[X.LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING]="LATENCY_ACTION_SHORTS_SEG_IMP_TRANSCODING";X[X.LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK]="LATENCY_ACTION_SHORTS_AUDIO_PICKER_PLAYBACK";X[X.LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD]="LATENCY_ACTION_SHORTS_WAVEFORM_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD]="LATENCY_ACTION_SHORTS_CAMERA_AUDIO_DOWNLOAD";X[X.LATENCY_ACTION_SHORTS_VIDEO_INGESTION]="LATENCY_ACTION_SHORTS_VIDEO_INGESTION"; X[X.LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING]="LATENCY_ACTION_SHORTS_RECOMPOSITION_TRANSCODING";X[X.LATENCY_ACTION_SHORTS_RECOMPOSITION]="LATENCY_ACTION_SHORTS_RECOMPOSITION";X[X.LATENCY_ACTION_SHORTS_GALLERY]="LATENCY_ACTION_SHORTS_GALLERY";X[X.LATENCY_ACTION_SHORTS_TRIM]="LATENCY_ACTION_SHORTS_TRIM";X[X.LATENCY_ACTION_SHORTS_EDIT]="LATENCY_ACTION_SHORTS_EDIT";X[X.LATENCY_ACTION_SHORTS_CAMERA]="LATENCY_ACTION_SHORTS_CAMERA";X[X.LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_NON_CREATION_MODES_GLOBAL_ENTRYPOINT"; X[X.LATENCY_ACTION_CREATION_MODES_MODE_SWITCH]="LATENCY_ACTION_CREATION_MODES_MODE_SWITCH";X[X.LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT]="LATENCY_ACTION_CREATION_MODES_GLOBAL_ENTRYPOINT";X[X.LATENCY_ACTION_SWITCH_CAMERA]="LATENCY_ACTION_SWITCH_CAMERA";X[X.LATENCY_ACTION_OPEN_CAMERA]="LATENCY_ACTION_OPEN_CAMERA";X[X.LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE]="LATENCY_ACTION_MEDIA_ENGINE_TRANSCODE";X[X.LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME]="LATENCY_ACTION_MEDIA_ENGINE_DISPLAY_FIRST_FRAME"; X[X.LATENCY_ACTION_MEDIA_ENGINE_EXPORT]="LATENCY_ACTION_MEDIA_ENGINE_EXPORT";X[X.LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA]="LATENCY_ACTION_PRODUCER_IMPORT_LOCAL_MEDIA";X[X.LATENCY_ACTION_PRODUCER_EXPORT_PROJECT]="LATENCY_ACTION_PRODUCER_EXPORT_PROJECT";X[X.LATENCY_ACTION_PRODUCER_EDITOR]="LATENCY_ACTION_PRODUCER_EDITOR";X[X.LATENCY_ACTION_PARENT_TOOLS_DASHBOARD]="LATENCY_ACTION_PARENT_TOOLS_DASHBOARD";X[X.LATENCY_ACTION_PARENT_TOOLS_COLLECTION]="LATENCY_ACTION_PARENT_TOOLS_COLLECTION"; X[X.LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_PLAYLIST_DETAIL";X[X.LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_OFFLINE_ALBUM_DETAIL";X[X.LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_RECOMMENDED_MEDIA_ITEMS";X[X.LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS]="LATENCY_ACTION_MUSIC_LOAD_MEDIA_ITEMS";X[X.LATENCY_ACTION_MUSIC_ALBUM_DETAIL]="LATENCY_ACTION_MUSIC_ALBUM_DETAIL";X[X.LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL]="LATENCY_ACTION_MUSIC_PLAYLIST_DETAIL"; X[X.LATENCY_ACTION_STORE]="LATENCY_ACTION_STORE";X[X.LATENCY_ACTION_CHIPS]="LATENCY_ACTION_CHIPS";X[X.LATENCY_ACTION_SEARCH_ZERO_STATE]="LATENCY_ACTION_SEARCH_ZERO_STATE";X[X.LATENCY_ACTION_LIVE_PAGINATION]="LATENCY_ACTION_LIVE_PAGINATION";X[X.LATENCY_ACTION_LIVE]="LATENCY_ACTION_LIVE";X[X.LATENCY_ACTION_PREBUFFER]="LATENCY_ACTION_PREBUFFER";X[X.LATENCY_ACTION_TENX]="LATENCY_ACTION_TENX";X[X.LATENCY_ACTION_KIDS_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PROFILE_SETTINGS"; X[X.LATENCY_ACTION_KIDS_WATCH_IT_AGAIN]="LATENCY_ACTION_KIDS_WATCH_IT_AGAIN";X[X.LATENCY_ACTION_KIDS_SECRET_CODE]="LATENCY_ACTION_KIDS_SECRET_CODE";X[X.LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS]="LATENCY_ACTION_KIDS_PARENT_PROFILE_SETTINGS";X[X.LATENCY_ACTION_KIDS_ONBOARDING]="LATENCY_ACTION_KIDS_ONBOARDING";X[X.LATENCY_ACTION_KIDS_VOICE_SEARCH]="LATENCY_ACTION_KIDS_VOICE_SEARCH";X[X.LATENCY_ACTION_KIDS_CURATED_COLLECTION]="LATENCY_ACTION_KIDS_CURATED_COLLECTION"; X[X.LATENCY_ACTION_KIDS_LIBRARY]="LATENCY_ACTION_KIDS_LIBRARY";X[X.LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS]="LATENCY_ACTION_CREATOR_VIDEO_TRANSLATIONS";X[X.LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT]="LATENCY_ACTION_CREATOR_VIDEO_RIGHTS_MANAGEMENT";X[X.LATENCY_ACTION_CREATOR_VIDEO_POLICY]="LATENCY_ACTION_CREATOR_VIDEO_POLICY";X[X.LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION]="LATENCY_ACTION_CREATOR_VIDEO_MONETIZATION";X[X.LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_STREAMING"; X[X.LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS]="LATENCY_ACTION_CREATOR_VIDEO_LIVE_SETTINGS";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR_ASYNC";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDITOR]="LATENCY_ACTION_CREATOR_VIDEO_EDITOR";X[X.LATENCY_ACTION_CREATOR_VIDEO_EDIT]="LATENCY_ACTION_CREATOR_VIDEO_EDIT";X[X.LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_VIDEO_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_VIDEO_COMMENTS]="LATENCY_ACTION_CREATOR_VIDEO_COMMENTS"; X[X.LATENCY_ACTION_CREATOR_VIDEO_CLAIMS]="LATENCY_ACTION_CREATOR_VIDEO_CLAIMS";X[X.LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS]="LATENCY_ACTION_CREATOR_VIDEO_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_SONG_ANALYTICS]="LATENCY_ACTION_CREATOR_SONG_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_PROMOTION_LIST]="LATENCY_ACTION_CREATOR_PROMOTION_LIST";X[X.LATENCY_ACTION_CREATOR_PROMOTION_EDIT]="LATENCY_ACTION_CREATOR_PROMOTION_EDIT";X[X.LATENCY_ACTION_CREATOR_POST_LIST]="LATENCY_ACTION_CREATOR_POST_LIST"; X[X.LATENCY_ACTION_CREATOR_POST_EDIT]="LATENCY_ACTION_CREATOR_POST_EDIT";X[X.LATENCY_ACTION_CREATOR_POST_COMMENTS]="LATENCY_ACTION_CREATOR_POST_COMMENTS";X[X.LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST]="LATENCY_ACTION_CREATOR_PLAYLIST_VIDEO_LIST";X[X.LATENCY_ACTION_CREATOR_LIVE_STREAMING]="LATENCY_ACTION_CREATOR_LIVE_STREAMING";X[X.LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT]="LATENCY_ACTION_CREATOR_DIALOG_VIDEO_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_DIALOG_UPLOADS]="LATENCY_ACTION_CREATOR_DIALOG_UPLOADS"; X[X.LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES]="LATENCY_ACTION_CREATOR_DIALOG_COPYRIGHT_STRIKES";X[X.LATENCY_ACTION_CREATOR_CMS_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_REPORTS]="LATENCY_ACTION_CREATOR_CMS_REPORTS";X[X.LATENCY_ACTION_CREATOR_CMS_RELEASES]="LATENCY_ACTION_CREATOR_CMS_RELEASES";X[X.LATENCY_ACTION_CREATOR_CMS_POLICIES]="LATENCY_ACTION_CREATOR_CMS_POLICIES";X[X.LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC]="LATENCY_ACTION_CREATOR_CMS_PITCH_MUSIC"; X[X.LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING]="LATENCY_ACTION_CREATOR_CMS_MANUAL_CLAIMING";X[X.LATENCY_ACTION_CREATOR_CMS_LICENSES]="LATENCY_ACTION_CREATOR_CMS_LICENSES";X[X.LATENCY_ACTION_CREATOR_CMS_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ISSUES";X[X.LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES]="LATENCY_ACTION_CREATOR_CMS_DELIVERY_TEMPLATES";X[X.LATENCY_ACTION_CREATOR_CMS_DASHBOARD]="LATENCY_ACTION_CREATOR_CMS_DASHBOARD";X[X.LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY]="LATENCY_ACTION_CREATOR_CMS_CONTENT_DELIVERY"; X[X.LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES]="LATENCY_ACTION_CREATOR_CMS_CHANNEL_INVITES";X[X.LATENCY_ACTION_CREATOR_CMS_CHANNELS]="LATENCY_ACTION_CREATOR_CMS_CHANNELS";X[X.LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS]="LATENCY_ACTION_CREATOR_CMS_CAMPAIGNS";X[X.LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY]="LATENCY_ACTION_CREATOR_CMS_BULK_HISTORY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS]="LATENCY_ACTION_CREATOR_CMS_ASSET_SOUND_RECORDINGS"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES]="LATENCY_ACTION_CREATOR_CMS_ASSET_SHARES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES]="LATENCY_ACTION_CREATOR_CMS_ASSET_REFERENCES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY]="LATENCY_ACTION_CREATOR_CMS_ASSET_POLICY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP]="LATENCY_ACTION_CREATOR_CMS_ASSET_OWNERSHIP";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA]="LATENCY_ACTION_CREATOR_CMS_ASSET_METADATA";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES]="LATENCY_ACTION_CREATOR_CMS_ASSET_LICENSES"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES]="LATENCY_ACTION_CREATOR_CMS_ASSET_ISSUES";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_METADATA";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_CAMPAIGNS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUP_ASSETS"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS]="LATENCY_ACTION_CREATOR_CMS_ASSET_GROUPS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS]="LATENCY_ACTION_CREATOR_CMS_ASSET_EMBEDS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_POLICY";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION_OWNERSHIP";X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION]="LATENCY_ACTION_CREATOR_CMS_ASSET_COMPOSITION"; X[X.LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS]="LATENCY_ACTION_CREATOR_CMS_ASSET_CLAIMED_VIDEOS";X[X.LATENCY_ACTION_CREATOR_CMS_ASSETS]="LATENCY_ACTION_CREATOR_CMS_ASSETS";X[X.LATENCY_ACTION_CREATOR_CMS_ART_TRACKS]="LATENCY_ACTION_CREATOR_CMS_ART_TRACKS";X[X.LATENCY_ACTION_CREATOR_CMS_ANALYTICS]="LATENCY_ACTION_CREATOR_CMS_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_CMS_ALLOWLIST]="LATENCY_ACTION_CREATOR_CMS_ALLOWLIST";X[X.LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS]="LATENCY_ACTION_CREATOR_CHANNEL_VIDEOS"; X[X.LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS]="LATENCY_ACTION_CREATOR_CHANNEL_TRANSLATIONS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS]="LATENCY_ACTION_CREATOR_CHANNEL_PLAYLISTS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC_STOREFRONT";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MUSIC]="LATENCY_ACTION_CREATOR_CHANNEL_MUSIC";X[X.LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION]="LATENCY_ACTION_CREATOR_CHANNEL_MONETIZATION"; X[X.LATENCY_ACTION_CREATOR_CHANNEL_EDITING]="LATENCY_ACTION_CREATOR_CHANNEL_EDITING";X[X.LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD]="LATENCY_ACTION_CREATOR_CHANNEL_DASHBOARD";X[X.LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT]="LATENCY_ACTION_CREATOR_CHANNEL_COPYRIGHT";X[X.LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS]="LATENCY_ACTION_CREATOR_CHANNEL_COMMENTS";X[X.LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS]="LATENCY_ACTION_CREATOR_CHANNEL_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_ARTIST_PROFILE]="LATENCY_ACTION_CREATOR_ARTIST_PROFILE"; X[X.LATENCY_ACTION_CREATOR_ARTIST_CONCERTS]="LATENCY_ACTION_CREATOR_ARTIST_CONCERTS";X[X.LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS]="LATENCY_ACTION_CREATOR_ARTIST_ANALYTICS";X[X.LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE]="LATENCY_ACTION_CREATOR_ANALYTICS_EXPLORE";X[X.LATENCY_ACTION_EXPERIMENTAL_WATCH_UI]="LATENCY_ACTION_EXPERIMENTAL_WATCH_UI";X[X.LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS]="LATENCY_ACTION_FINE_SCRUBBING_THUMBNAILS";X[X.LATENCY_ACTION_STORYBOARD_THUMBNAILS]="LATENCY_ACTION_STORYBOARD_THUMBNAILS"; X[X.LATENCY_ACTION_SEARCH_THUMBNAILS]="LATENCY_ACTION_SEARCH_THUMBNAILS";X[X.LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD]="LATENCY_ACTION_ON_DEVICE_MODEL_DOWNLOAD";X[X.LATENCY_ACTION_VOICE_ASSISTANT]="LATENCY_ACTION_VOICE_ASSISTANT";X[X.LATENCY_ACTION_SEARCH_UI]="LATENCY_ACTION_SEARCH_UI";X[X.LATENCY_ACTION_SUGGEST]="LATENCY_ACTION_SUGGEST";X[X.LATENCY_ACTION_AUTO_SEARCH]="LATENCY_ACTION_AUTO_SEARCH";X[X.LATENCY_ACTION_PLAYLIST_AGGREGATION]="LATENCY_ACTION_PLAYLIST_AGGREGATION"; X[X.LATENCY_ACTION_DOWNLOADS]="LATENCY_ACTION_DOWNLOADS";X[X.LATENCY_ACTION_EXPLORE]="LATENCY_ACTION_EXPLORE";X[X.LATENCY_ACTION_VIDEO_LIST]="LATENCY_ACTION_VIDEO_LIST";X[X.LATENCY_ACTION_HOME_RESUME]="LATENCY_ACTION_HOME_RESUME";X[X.LATENCY_ACTION_SUBSCRIPTIONS_LIST]="LATENCY_ACTION_SUBSCRIPTIONS_LIST";X[X.LATENCY_ACTION_FIRST_THUMBNAIL_LOAD]="LATENCY_ACTION_FIRST_THUMBNAIL_LOAD";X[X.LATENCY_ACTION_SUBSCRIPTIONS_FEED]="LATENCY_ACTION_SUBSCRIPTIONS_FEED";X[X.LATENCY_ACTION_SUBSCRIPTIONS]="LATENCY_ACTION_SUBSCRIPTIONS"; X[X.LATENCY_ACTION_TRENDING]="LATENCY_ACTION_TRENDING";X[X.LATENCY_ACTION_LIBRARY]="LATENCY_ACTION_LIBRARY";X[X.LATENCY_ACTION_VIDEO_THUMBNAIL]="LATENCY_ACTION_VIDEO_THUMBNAIL";X[X.LATENCY_ACTION_SHOW_MORE]="LATENCY_ACTION_SHOW_MORE";X[X.LATENCY_ACTION_VIDEO_PREVIEW]="LATENCY_ACTION_VIDEO_PREVIEW";X[X.LATENCY_ACTION_AD_TO_AD]="LATENCY_ACTION_AD_TO_AD";X[X.LATENCY_ACTION_VIDEO_TO_AD]="LATENCY_ACTION_VIDEO_TO_AD";X[X.LATENCY_ACTION_AD_TO_VIDEO]="LATENCY_ACTION_AD_TO_VIDEO"; X[X.LATENCY_ACTION_DIRECT_PLAYBACK]="LATENCY_ACTION_DIRECT_PLAYBACK";X[X.LATENCY_ACTION_IMAGE_LOAD]="LATENCY_ACTION_IMAGE_LOAD";X[X.LATENCY_ACTION_PREBUFFER_VIDEO]="LATENCY_ACTION_PREBUFFER_VIDEO";X[X.LATENCY_ACTION_PREFETCH_VIDEO]="LATENCY_ACTION_PREFETCH_VIDEO";X[X.LATENCY_ACTION_STARTUP]="LATENCY_ACTION_STARTUP";X[X.LATENCY_ACTION_ELEMENTS_PERFORMANCE]="LATENCY_ACTION_ELEMENTS_PERFORMANCE";X[X.LATENCY_ACTION_INFRASTRUCTURE_CONTAINER]="LATENCY_ACTION_INFRASTRUCTURE_CONTAINER"; X[X.LATENCY_ACTION_INLINE_TO_WATCH]="LATENCY_ACTION_INLINE_TO_WATCH";X[X.LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH]="LATENCY_ACTION_MUSIC_IMMERSIVE_WATCH";X[X.LATENCY_ACTION_ONBOARDING]="LATENCY_ACTION_ONBOARDING";X[X.LATENCY_ACTION_LOGIN]="LATENCY_ACTION_LOGIN";X[X.LATENCY_ACTION_REEL_WATCH]="LATENCY_ACTION_REEL_WATCH";X[X.LATENCY_ACTION_WATCH]="LATENCY_ACTION_WATCH";X[X.LATENCY_ACTION_RESULTS]="LATENCY_ACTION_RESULTS";X[X.LATENCY_ACTION_CHANNELS]="LATENCY_ACTION_CHANNELS";X[X.LATENCY_ACTION_HOME]="LATENCY_ACTION_HOME"; X[X.LATENCY_ACTION_BROWSE]="LATENCY_ACTION_BROWSE";X[X.LATENCY_ACTION_USER_ACTION]="LATENCY_ACTION_USER_ACTION";X[X.LATENCY_ACTION_INFRASTRUCTURE]="LATENCY_ACTION_INFRASTRUCTURE";X[X.LATENCY_ACTION_PAGE_NAVIGATION]="LATENCY_ACTION_PAGE_NAVIGATION";X[X.LATENCY_ACTION_UNKNOWN]="LATENCY_ACTION_UNKNOWN";var yH={LATENCY_NETWORK_MOBILE:2,LATENCY_NETWORK_WIFI:1,LATENCY_NETWORK_UNKNOWN:0};yH[yH.LATENCY_NETWORK_MOBILE]="LATENCY_NETWORK_MOBILE";yH[yH.LATENCY_NETWORK_WIFI]="LATENCY_NETWORK_WIFI"; yH[yH.LATENCY_NETWORK_UNKNOWN]="LATENCY_NETWORK_UNKNOWN";var zH={CONN_INVALID:31,CONN_WIRED:30,CONN_CELLULAR_5G_NSA:12,CONN_CELLULAR_5G_SA:11,CONN_WIFI_METERED:10,CONN_CELLULAR_5G:9,CONN_DISCO:8,CONN_CELLULAR_UNKNOWN:7,CONN_CELLULAR_4G:6,CONN_CELLULAR_3G:5,CONN_CELLULAR_2G:4,CONN_WIFI:3,CONN_NONE:2,CONN_UNKNOWN:1,CONN_DEFAULT:0};zH[zH.CONN_INVALID]="CONN_INVALID";zH[zH.CONN_WIRED]="CONN_WIRED";zH[zH.CONN_CELLULAR_5G_NSA]="CONN_CELLULAR_5G_NSA";zH[zH.CONN_CELLULAR_5G_SA]="CONN_CELLULAR_5G_SA"; zH[zH.CONN_WIFI_METERED]="CONN_WIFI_METERED";zH[zH.CONN_CELLULAR_5G]="CONN_CELLULAR_5G";zH[zH.CONN_DISCO]="CONN_DISCO";zH[zH.CONN_CELLULAR_UNKNOWN]="CONN_CELLULAR_UNKNOWN";zH[zH.CONN_CELLULAR_4G]="CONN_CELLULAR_4G";zH[zH.CONN_CELLULAR_3G]="CONN_CELLULAR_3G";zH[zH.CONN_CELLULAR_2G]="CONN_CELLULAR_2G";zH[zH.CONN_WIFI]="CONN_WIFI";zH[zH.CONN_NONE]="CONN_NONE";zH[zH.CONN_UNKNOWN]="CONN_UNKNOWN";zH[zH.CONN_DEFAULT]="CONN_DEFAULT"; var AH={DETAILED_NETWORK_TYPE_NR_NSA:126,DETAILED_NETWORK_TYPE_NR_SA:125,DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED:124,DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT:123,DETAILED_NETWORK_TYPE_DISCONNECTED:122,DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN:121,DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN:120,DETAILED_NETWORK_TYPE_WIMAX:119,DETAILED_NETWORK_TYPE_ETHERNET:118,DETAILED_NETWORK_TYPE_BLUETOOTH:117,DETAILED_NETWORK_TYPE_WIFI:116,DETAILED_NETWORK_TYPE_LTE:115,DETAILED_NETWORK_TYPE_HSPAP:114,DETAILED_NETWORK_TYPE_EHRPD:113, DETAILED_NETWORK_TYPE_EVDO_B:112,DETAILED_NETWORK_TYPE_UMTS:111,DETAILED_NETWORK_TYPE_IDEN:110,DETAILED_NETWORK_TYPE_HSUPA:109,DETAILED_NETWORK_TYPE_HSPA:108,DETAILED_NETWORK_TYPE_HSDPA:107,DETAILED_NETWORK_TYPE_EVDO_A:106,DETAILED_NETWORK_TYPE_EVDO_0:105,DETAILED_NETWORK_TYPE_CDMA:104,DETAILED_NETWORK_TYPE_1_X_RTT:103,DETAILED_NETWORK_TYPE_GPRS:102,DETAILED_NETWORK_TYPE_EDGE:101,DETAILED_NETWORK_TYPE_UNKNOWN:0};AH[AH.DETAILED_NETWORK_TYPE_NR_NSA]="DETAILED_NETWORK_TYPE_NR_NSA"; AH[AH.DETAILED_NETWORK_TYPE_NR_SA]="DETAILED_NETWORK_TYPE_NR_SA";AH[AH.DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED]="DETAILED_NETWORK_TYPE_INTERNAL_WIFI_IMPAIRED";AH[AH.DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT]="DETAILED_NETWORK_TYPE_APP_WIFI_HOTSPOT";AH[AH.DETAILED_NETWORK_TYPE_DISCONNECTED]="DETAILED_NETWORK_TYPE_DISCONNECTED";AH[AH.DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_NON_MOBILE_UNKNOWN";AH[AH.DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN]="DETAILED_NETWORK_TYPE_MOBILE_UNKNOWN"; AH[AH.DETAILED_NETWORK_TYPE_WIMAX]="DETAILED_NETWORK_TYPE_WIMAX";AH[AH.DETAILED_NETWORK_TYPE_ETHERNET]="DETAILED_NETWORK_TYPE_ETHERNET";AH[AH.DETAILED_NETWORK_TYPE_BLUETOOTH]="DETAILED_NETWORK_TYPE_BLUETOOTH";AH[AH.DETAILED_NETWORK_TYPE_WIFI]="DETAILED_NETWORK_TYPE_WIFI";AH[AH.DETAILED_NETWORK_TYPE_LTE]="DETAILED_NETWORK_TYPE_LTE";AH[AH.DETAILED_NETWORK_TYPE_HSPAP]="DETAILED_NETWORK_TYPE_HSPAP";AH[AH.DETAILED_NETWORK_TYPE_EHRPD]="DETAILED_NETWORK_TYPE_EHRPD";AH[AH.DETAILED_NETWORK_TYPE_EVDO_B]="DETAILED_NETWORK_TYPE_EVDO_B"; AH[AH.DETAILED_NETWORK_TYPE_UMTS]="DETAILED_NETWORK_TYPE_UMTS";AH[AH.DETAILED_NETWORK_TYPE_IDEN]="DETAILED_NETWORK_TYPE_IDEN";AH[AH.DETAILED_NETWORK_TYPE_HSUPA]="DETAILED_NETWORK_TYPE_HSUPA";AH[AH.DETAILED_NETWORK_TYPE_HSPA]="DETAILED_NETWORK_TYPE_HSPA";AH[AH.DETAILED_NETWORK_TYPE_HSDPA]="DETAILED_NETWORK_TYPE_HSDPA";AH[AH.DETAILED_NETWORK_TYPE_EVDO_A]="DETAILED_NETWORK_TYPE_EVDO_A";AH[AH.DETAILED_NETWORK_TYPE_EVDO_0]="DETAILED_NETWORK_TYPE_EVDO_0";AH[AH.DETAILED_NETWORK_TYPE_CDMA]="DETAILED_NETWORK_TYPE_CDMA"; AH[AH.DETAILED_NETWORK_TYPE_1_X_RTT]="DETAILED_NETWORK_TYPE_1_X_RTT";AH[AH.DETAILED_NETWORK_TYPE_GPRS]="DETAILED_NETWORK_TYPE_GPRS";AH[AH.DETAILED_NETWORK_TYPE_EDGE]="DETAILED_NETWORK_TYPE_EDGE";AH[AH.DETAILED_NETWORK_TYPE_UNKNOWN]="DETAILED_NETWORK_TYPE_UNKNOWN";var BH={LATENCY_PLAYER_RTSP:7,LATENCY_PLAYER_HTML5_INLINE:6,LATENCY_PLAYER_HTML5_FULLSCREEN:5,LATENCY_PLAYER_HTML5:4,LATENCY_PLAYER_FRAMEWORK:3,LATENCY_PLAYER_FLASH:2,LATENCY_PLAYER_EXO:1,LATENCY_PLAYER_UNKNOWN:0}; BH[BH.LATENCY_PLAYER_RTSP]="LATENCY_PLAYER_RTSP";BH[BH.LATENCY_PLAYER_HTML5_INLINE]="LATENCY_PLAYER_HTML5_INLINE";BH[BH.LATENCY_PLAYER_HTML5_FULLSCREEN]="LATENCY_PLAYER_HTML5_FULLSCREEN";BH[BH.LATENCY_PLAYER_HTML5]="LATENCY_PLAYER_HTML5";BH[BH.LATENCY_PLAYER_FRAMEWORK]="LATENCY_PLAYER_FRAMEWORK";BH[BH.LATENCY_PLAYER_FLASH]="LATENCY_PLAYER_FLASH";BH[BH.LATENCY_PLAYER_EXO]="LATENCY_PLAYER_EXO";BH[BH.LATENCY_PLAYER_UNKNOWN]="LATENCY_PLAYER_UNKNOWN"; var CH={LATENCY_AD_BREAK_TYPE_POSTROLL:3,LATENCY_AD_BREAK_TYPE_MIDROLL:2,LATENCY_AD_BREAK_TYPE_PREROLL:1,LATENCY_AD_BREAK_TYPE_UNKNOWN:0};CH[CH.LATENCY_AD_BREAK_TYPE_POSTROLL]="LATENCY_AD_BREAK_TYPE_POSTROLL";CH[CH.LATENCY_AD_BREAK_TYPE_MIDROLL]="LATENCY_AD_BREAK_TYPE_MIDROLL";CH[CH.LATENCY_AD_BREAK_TYPE_PREROLL]="LATENCY_AD_BREAK_TYPE_PREROLL";CH[CH.LATENCY_AD_BREAK_TYPE_UNKNOWN]="LATENCY_AD_BREAK_TYPE_UNKNOWN";var DH={LATENCY_ACTION_ERROR_STARTUP_TIMEOUT:1,LATENCY_ACTION_ERROR_UNSPECIFIED:0}; DH[DH.LATENCY_ACTION_ERROR_STARTUP_TIMEOUT]="LATENCY_ACTION_ERROR_STARTUP_TIMEOUT";DH[DH.LATENCY_ACTION_ERROR_UNSPECIFIED]="LATENCY_ACTION_ERROR_UNSPECIFIED";var EH={LIVE_STREAM_MODE_WINDOW:5,LIVE_STREAM_MODE_POST:4,LIVE_STREAM_MODE_LP:3,LIVE_STREAM_MODE_LIVE:2,LIVE_STREAM_MODE_DVR:1,LIVE_STREAM_MODE_UNKNOWN:0};EH[EH.LIVE_STREAM_MODE_WINDOW]="LIVE_STREAM_MODE_WINDOW";EH[EH.LIVE_STREAM_MODE_POST]="LIVE_STREAM_MODE_POST";EH[EH.LIVE_STREAM_MODE_LP]="LIVE_STREAM_MODE_LP"; EH[EH.LIVE_STREAM_MODE_LIVE]="LIVE_STREAM_MODE_LIVE";EH[EH.LIVE_STREAM_MODE_DVR]="LIVE_STREAM_MODE_DVR";EH[EH.LIVE_STREAM_MODE_UNKNOWN]="LIVE_STREAM_MODE_UNKNOWN";var FH={VIDEO_STREAM_TYPE_VOD:3,VIDEO_STREAM_TYPE_DVR:2,VIDEO_STREAM_TYPE_LIVE:1,VIDEO_STREAM_TYPE_UNSPECIFIED:0};FH[FH.VIDEO_STREAM_TYPE_VOD]="VIDEO_STREAM_TYPE_VOD";FH[FH.VIDEO_STREAM_TYPE_DVR]="VIDEO_STREAM_TYPE_DVR";FH[FH.VIDEO_STREAM_TYPE_LIVE]="VIDEO_STREAM_TYPE_LIVE";FH[FH.VIDEO_STREAM_TYPE_UNSPECIFIED]="VIDEO_STREAM_TYPE_UNSPECIFIED"; var GH={YT_IDB_TRANSACTION_TYPE_READ:2,YT_IDB_TRANSACTION_TYPE_WRITE:1,YT_IDB_TRANSACTION_TYPE_UNKNOWN:0};GH[GH.YT_IDB_TRANSACTION_TYPE_READ]="YT_IDB_TRANSACTION_TYPE_READ";GH[GH.YT_IDB_TRANSACTION_TYPE_WRITE]="YT_IDB_TRANSACTION_TYPE_WRITE";GH[GH.YT_IDB_TRANSACTION_TYPE_UNKNOWN]="YT_IDB_TRANSACTION_TYPE_UNKNOWN";var HH={PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN:2,PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT:1,PLAYER_ROTATION_TYPE_UNKNOWN:0};HH[HH.PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN]="PLAYER_ROTATION_TYPE_PORTRAIT_TO_FULLSCREEN"; HH[HH.PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT]="PLAYER_ROTATION_TYPE_FULLSCREEN_TO_PORTRAIT";HH[HH.PLAYER_ROTATION_TYPE_UNKNOWN]="PLAYER_ROTATION_TYPE_UNKNOWN";var mxa="actionVisualElement spinnerInfo cacheAttempts resourceInfo preloadThumbnailInfo startupEdgeCaseInfo playerInfo commentInfo mdxInfo watchInfo thumbnailLoadInfo imageLoadInfo creatorInfo unpluggedInfo reelInfo subscriptionsFeedInfo requestIds mediaBrowserActionInfo musicLoadActionInfo shoppingInfo webViewInfo prefetchInfo accelerationSession commerceInfo inlineToWatchInfo mediaEngineMetadata miniAppInfo dynamicAssetFetchInfo webInfo tvInfo kabukiInfo mwebInfo musicInfo transcodingContext creationModesContext cameraMetadata producerMediaAssetMetadata".split(" ");g.w(ixa,VD);var Dxa=new WD("aft-recorded",ixa);var qH=g.Ra.ytLoggingLatencyUsageStats_||{};g.Sa("ytLoggingLatencyUsageStats_",qH);oH.prototype.tick=function(a,b,c,d){rH(this,"tick_"+a+"_"+b)||(c={timestamp:c,cttAuthInfo:d},g.wB("web_csi_via_jspb")?(d=new yna,Q(d,1,a),Q(d,2,b),a=g.wB("jspb_sparse_encoded_pivot")?new qB([{}]):new qB,Kj(a,yna,5,nF,d),mF("latencyActionTicked",a,c)):g.cD("latencyActionTicked",{tickName:a,clientActionNonce:b},c))}; oH.prototype.info=function(a,b,c){var d=Object.keys(a).join("");rH(this,"info_"+d+"_"+b)||(a=Object.assign({},a),a.clientActionNonce=b,g.cD("latencyActionInfo",a,{cttAuthInfo:c}))}; oH.prototype.jspbInfo=function(a,b,c){for(var d="",e=0;e=this.start&&(athis.B.length)throw new iJ("Invalid sub layout rendering adapter length when scheduling composite layout.",{length:String(this.B.length)});var a=kJ(this.ub().Ca,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=this);a=g.v(this.B);for(var b=a.next();!b.done;b=a.next())b=b.value,b.init(),gza(this.C,this.slot,b.ub()),hza(this.C,this.slot,b.ub());if(this.rf())for(this.Xa.get().addListener(this), a=g.v(this.B),b=a.next();!b.done;b=a.next())(b=kJ(b.value.ub().Ca,"metadata_type_player_vars"))&&this.Be.get().addPlayerResponseForAssociation(b)}; g.k.au=function(){var a=kJ(this.ub().Ca,"metadata_type_ad_pod_skip_target_callback_ref");a&&(a.current=null);a=g.v(this.B);for(var b=a.next();!b.done;b=a.next())b=b.value,iza(this.C,this.slot,b.ub()),b.release();this.rf()&&this.Xa.get().removeListener(this)}; g.k.wJ=function(){}; g.k.EJ=function(a,b){var c=this,d=this.B[this.j];d&&this.G&&(d.ub().layoutId!==a&&DG("Unexpected active subLRA when previous playback ends",this.slot,this.layout),this.N=function(e){e.layoutId!==a&&DG("Unexpected previous CPN when sublayout exit is confirmed",c.slot,c.layout);c.B.some(function(f){return f.ub().layoutId===b})||(c.j=c.B.length,AK(c.D,c.layout))},d.XW())}; g.k.DJ=function(a){var b=this.B.findIndex(function(c){return c.ub().layoutId===a}); -1!==b&&(-1===this.j&&PFa(this.Zd,this.slot.slotId),gBa(this,b))}; g.k.Br=function(a,b){var c=this.B[this.j];b.layoutId!==yK(c,a,b)?DG("pauseLayout for a PlayerBytes layout that is not currently active",a,b):c.Br()}; g.k.Gr=function(a,b){var c=this.B[this.j];b.layoutId!==yK(c,a,b)?DG("resumeLayout for a PlayerBytes layout that is not currently active",a,b):c.Gr()}; g.k.KA=function(a,b){var c=this.B[this.j];this.j===this.B.length-1&&DG("Unexpected skip requested during the last sublayout",c.Hc(),c.ub(),{requestingSlot:a,requestingLayout:b});b.layoutId!==yK(c,a,b)?DG("onSkipRequested for a PlayerBytes layout that is not currently active",c.Hc(),c.ub(),{requestingSlot:a,requestingLayout:b}):eBa(this,c.Hc(),c.ub(),"skipped")}; g.k.yu=function(){this.rf()||-1===this.j&&dBa(this,this.j+1)}; g.k.J$=function(a,b){jza(this.C,a,b)}; g.k.Pr=function(a,b){var c=this;this.j===this.B.length?this.callback.Vc(this.slot,this.layout,b):(a=this.B[this.j],a.tf(a.ub(),b),this.Z=function(){c.callback.Vc(c.slot,c.layout,b)},this.rf()&&this.Nc.get().finishSegmentByCpn(a.ub().layoutId,this.Xa.get().mf(1).clientPlaybackNonce))}; g.k.Ic=function(a,b){var c=this.B[this.j];c&&c.Ic(a,b)}; g.k.Vc=function(a,b,c){xK.prototype.Vc.call(this,a,b,c);var d=this.B[this.j];d&&d.Vc(a,b,c)}; g.k.hY=function(){var a=this.B[this.j];a&&a.gI()}; g.k.Si=function(a){var b=this.B[this.j];b&&b.Si(a)}; g.k.dZ=function(a){var b=this.B[this.j];b&&b.wj(a)}; g.k.Af=function(a,b,c){-1===this.j&&(this.callback.Ic(this.slot,this.layout),this.j++);var d=this.B[this.j];d?d.wA(a,b,c):DG("No active adapter found onLayoutError in PlayerBytesVodCompositeLayoutRenderingAdapter",void 0,void 0,{activeSubLayoutIndex:String(this.j),layoutId:this.ub().layoutId})}; g.k.onFullscreenToggled=function(a){var b=this.B[this.j];if(b)b.onFullscreenToggled(a)}; g.k.yh=function(a){var b=this.B[this.j];b&&b.yh(a)}; g.k.uj=function(a){var b=this.B[this.j];b&&b.uj(a)}; g.k.onVolumeChange=function(){var a=this.B[this.j];if(a)a.onVolumeChange()}; g.k.L$=function(a,b,c){this.rf()?cBa(this,b,c):eBa(this,a,b,c)}; g.k.pF=function(a,b,c){$Aa(this,b,this.j+1,c)}; g.k.K$=function(a,b,c,d){this.rf()?DG("Unexpected sublayout error",a,b,{errorMessage:c.message,errorType:d}):eBa(this,a,b,"error")};var Hib,Z2,iBa; Hib={Kia:"ALREADY_PINNED_ON_A_DEVICE",AUTHENTICATION_EXPIRED:"AUTHENTICATION_EXPIRED",una:"AUTHENTICATION_MALFORMED",vna:"AUTHENTICATION_MISSING",Hna:"BAD_REQUEST",Koa:"CAST_SESSION_DEVICE_MISMATCHED",Loa:"CAST_SESSION_VIDEO_MISMATCHED",Moa:"CAST_TOKEN_EXPIRED",Noa:"CAST_TOKEN_FAILED",Ooa:"CAST_TOKEN_MALFORMED",upa:"CGI_PARAMS_MALFORMED",wpa:"CGI_PARAMS_MISSING",eua:"DEVICE_FALLBACK",Fva:"GENERIC_WITH_LINK_AND_CPN",Gva:"ERROR_HDCP",Lva:"LICENSE",Ova:"VIDEO_UNAVAILABLE",eDa:"FORMAT_UNAVAILABLE",kDa:"GEO_FAILURE", zEa:"HTML5_AUDIO_RENDERER_ERROR",AEa:"GENERIC_WITHOUT_LINK",BEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK",CEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK",DEa:"HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT",MEa:"HTML5_SPS_UMP_STATUS_REJECTED",UFa:"INVALID_DRM_MESSAGE",s_a:"PURCHASE_NOT_FOUND",t_a:"PURCHASE_REFUNDED",M_a:"RENTAL_EXPIRED",T_a:"RETRYABLE_ERROR",R0a:"SERVER_ERROR",k2a:"SIGNATURE_EXPIRED",s5a:"STOPPED_BY_ANOTHER_PLAYBACK",A6a:"STREAMING_DEVICES_QUOTA_PER_24H_EXCEEDED",B6a:"STREAMING_NOT_ALLOWED", C6a:"STREAM_LICENSE_NOT_FOUND",A8a:"TOO_MANY_REQUESTS",B8a:"TOO_MANY_REQUESTS_WITH_LINK",D8a:"TOO_MANY_STREAMS_PER_ENTITLEMENT",E8a:"TOO_MANY_STREAMS_PER_USER",sdb:"UNSUPPORTED_DEVICE",Kdb:"VIDEO_FORBIDDEN",Wdb:"VIDEO_NOT_FOUND"};Z2={}; g.SV=(Z2.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.",Z2.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.",Z2.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", Z2.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.",Z2.VIDEO_UNAVAILABLE="\u041e\u0448\u0438\u0431\u043a\u0430",Z2.FORMAT_UNAVAILABLE="\u042d\u0442\u043e \u0432\u0438\u0434\u0435\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \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.", Z2.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.",Z2.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.", Z2.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.",Z2.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",Z2.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", Z2.HTML5_NO_AVAILABLE_FORMATS_FALLBACK_WITH_LINK_SHORT="\u0412\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0432\u0438\u0434\u0435\u043e \u0432 \u044d\u0442\u043e\u043c \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435 \u043d\u0435\u043b\u044c\u0437\u044f. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u2026$END_LINK",Z2.HTML5_SPS_UMP_STATUS_REJECTED="\u0427\u0442\u043e-\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a. \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. $BEGIN_LINK\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\u2026$END_LINK", Z2.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.",Z2.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.", Z2.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.",Z2.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.",Z2.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.", Z2.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.",Z2.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.", Z2.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.",Z2.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.", Z2.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.",Z2.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.", Z2.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.",Z2.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.", Z2.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.",Z2.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.", Z2.TOO_MANY_REQUESTS="\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u043e \u0432\u0438\u0434\u0435\u043e, \u0432\u043e\u0439\u0434\u0438\u0442\u0435 \u0432 \u0430\u043a\u043a\u0430\u0443\u043d\u0442.",Z2.TOO_MANY_REQUESTS_WITH_LINK="\u0427\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u0438\u0434\u0435\u043e \u043d\u0430 YouTube, \u043f\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u043f\u043e $BEGIN_LINK\u044d\u0442\u043e\u0439 \u0441\u0441\u044b\u043b\u043a\u0435$END_LINK.", Z2.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.", Z2.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.",Z2.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.",Z2.VIDEO_FORBIDDEN="\u0414\u043e\u0441\u0442\u0443\u043f \u043a \u0432\u0438\u0434\u0435\u043e \u0437\u0430\u043f\u0440\u0435\u0449\u0435\u043d.",Z2.VIDEO_NOT_FOUND="\u041d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0432\u0438\u0434\u0435\u043e.", Z2); iBa={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 Iib;var Jib=g.oc(),Kib=Jib.match(/\((iPad|iPhone|iPod)( Simulator)?;/);if(!Kib||2>Kib.length)Iib=void 0;else{var Lib=Jib.match(/\((iPad|iPhone|iPod)( Simulator)?; (U; )?CPU (iPhone )?OS (\d+_\d)[_ ]/);Iib=Lib&&6===Lib.length?Number(Lib[5].replace("_",".")):0}var cT=Iib,NV=0<=cT;g.w(g.GK,EC);g.GK.prototype.T=function(a,b,c,d,e){return EC.prototype.T.call(this,a,b,c,d,e)};var $2={},bOa=($2.FAIRPLAY="fairplay",$2.PLAYREADY="playready",$2.WIDEVINE="widevine",$2.CLEARKEY=null,$2.FLASHACCESS=null,$2.UNKNOWN=null,$2.WIDEVINE_CLASSIC=null,$2);HK.prototype.isMultiChannelAudio=function(){return 2this.qD()?(this.dc.appendWindowEnd=b,this.dc.appendWindowStart=a):(this.dc.appendWindowStart=a,this.dc.appendWindowEnd=b))}; g.k.jO=function(){return this.timestampOffset}; g.k.fq=function(a){DZ?this.timestampOffset=a:this.supports(1)&&(this.dc.timestampOffset=a)}; g.k.Pc=function(){return DZ?this.timestampOffset:this.supports(1)?this.dc.timestampOffset:0}; g.k.wf=function(a){if(void 0===a?0:a)return this.NC||this.Zj()||(this.LM=this.wf(!1),this.NC=!0),this.LM;try{return this.dc?this.dc.buffered:this.ih?this.ih.webkitSourceBuffered(this.id):bL([0],[Infinity])}catch(b){return bL([],[])}}; g.k.Zj=function(){var a;return(null==(a=this.dc)?void 0:a.updating)||!1}; g.k.qm=function(){return this.ZG}; g.k.OO=function(){return!this.ZG&&this.Zj()}; g.k.Sy=function(){this.ZG=!1}; g.k.Uz=function(a){var b=null==a?void 0:a.tb;a=null==a?void 0:a.containerType;return!b&&!a||b===this.tb&&a===this.containerType}; g.k.Ev=function(){return this.jE}; g.k.OH=function(){return this.gP}; g.k.pS=function(a,b){this.containerType!==a&&(this.supports(4),lL()&&this.dc.changeType(b));this.containerType=a}; g.k.QH=function(){return this.Lf}; g.k.isView=function(){return!1}; g.k.supports=function(a){switch(a){case 1:var b;return void 0!==(null==(b=this.dc)?void 0:b.timestampOffset);case 0:var c;return!(null==(c=this.dc)||!c.appendBuffer);case 2:var d;return!(null==(d=this.dc)||!d.remove);case 3:var e,f;return!!((null==(e=this.dc)?0:e.addEventListener)&&(null==(f=this.dc)?0:f.removeEventListener));case 4:return!(!this.dc||!this.dc.changeType);default:return!1}}; g.k.UG=function(){return!this.Zj()}; g.k.isLocked=function(){return!1}; g.k.lc=function(a){a.to=this.Pc();a.up=this.Zj();var b,c=(null==(b=this.dc)?void 0:b.appendWindowStart)||0,d;b=(null==(d=this.dc)?void 0:d.appendWindowEnd)||Infinity;a.aw=c.toFixed(3)+"-"+b.toFixed(3);try{a.bu=cL(this.wf())}catch(e){}return a}; g.k.eI=function(){var a;return(null==(a=this.dc)?void 0:a.writeHead)||0}; g.k.PH=function(){for(var a={},b=0;bcT&&(a=Math.max(.1,a)),this.setCurrentTime(a))}; g.k.oo=function(){if(!this.B&&this.Ua)if(this.Ua.G)try{var a;qL(this,{l:"mer",sr:null==(a=this.qa)?void 0:rL(a),rs:tL(this.Ua)});this.Ua.clear();this.B=this.Ua;this.Ua=void 0}catch(b){a=new g.RC("Error while clearing Media Source in MediaElement: "+b.name+", "+b.message),g.wF(a),this.stopVideo()}else this.stopVideo()}; g.k.stopVideo=function(){var a=this;if(!this.B){var b;null==(b=this.Ua)||HBa(b);if(Yib){if(!this.C){var c=new uL;c.then(void 0,function(){}); this.C=c;Zib&&this.pause();g.NB(function(){a.C===c&&(PBa(a),c.resolve())},200)}}else PBa(this)}}; g.k.xz=function(){var a=this.Ih();return 0performance.now()?c-Date.now()+performance.now():c;c=this.B||this.Ua;if((null==c?0:c.qm())||b<=((null==c?void 0:c.K)||0)){var d;qL(this,{l:"mede",sr:null==(d=this.qa)?void 0:rL(d),et:a.type});return!1}if(this.tI)return qL(this,{l:"medes",et:a.type}),c&&"seeking"===a.type&&(c.K=performance.now(),this.tI=!1),!1}return this.D.dispatchEvent(a)}; g.k.tN=function(){this.K=!1}; g.k.pN=function(){this.K=!0;this.uB(!0)}; g.k.vV=function(){this.K&&!this.TH()&&this.uB(!0)}; g.k.equals=function(a){return!!a&&a.zb()===this.zb()}; g.k.ya=function(){this.N&&this.removeEventListener("volumechange",this.vV);Yib&&PBa(this);g.J.prototype.ya.call(this)}; var Yib=!1,Zib=!1,Xib=!1,OBa=!1;g.k=g.xL.prototype;g.k.isPaused=function(){return g.FG(this,4)}; g.k.isPlaying=function(){return g.FG(this,8)&&!g.FG(this,512)&&!g.FG(this,64)&&!g.FG(this,2)}; g.k.isCued=function(){return g.FG(this,64)&&!g.FG(this,8)&&!g.FG(this,4)}; g.k.isError=function(){return g.FG(this,128)}; g.k.isSuspended=function(){return g.FG(this,512)}; g.k.eE=function(){return g.FG(this,64)&&g.FG(this,4)}; g.k.toString=function(){return"PSt."+this.state.toString(16)}; var f3={},g3=(f3.BUFFERING="buffering-mode",f3.CUED="cued-mode",f3.ENDED="ended-mode",f3.PAUSED="paused-mode",f3.PLAYING="playing-mode",f3.SEEKING="seeking-mode",f3.UNSTARTED="unstarted-mode",f3);g.w(HL,g.J);g.k=HL.prototype;g.k.Hc=function(){return this.slot}; g.k.ub=function(){return this.layout}; g.k.init=function(){var a=kJ(this.layout.Ca,"metadata_type_video_length_seconds"),b=kJ(this.layout.Ca,"metadata_type_active_view_traffic_type");gK(this.layout.Pb)&&x1(this.Gb.get(),this.layout.layoutId,b,a,this);Gcb(this.Pa.get(),this);this.Ct()}; g.k.release=function(){gK(this.layout.Pb)&&y1(this.Gb.get(),this.layout.layoutId);Hcb(this.Pa.get(),this);this.au()}; g.k.Br=function(){}; g.k.Gr=function(){}; g.k.startRendering=function(a){if(a.layoutId!==this.layout.layoutId)this.callback.Af(this.slot,a,new hJ("Tried to start rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED");else{this.Jc="rendering_start_requested";var b=this.fg.get();b.W.experiments.jb("disable_safari_ui_status_check")||(b.W.B&&g.lD?0:b.W.B||g.yJ(b.W)||g.AJ(b.W)|| gS(b.W)||!g.lD)?b=!0:(b=g.Ye("video-ads"),b=null!=b&&"none"!==Yr(b,"display"));b?(this.bF(-1),this.yu(a),this.NG(!1)):this.wA("ui_unstable",new hJ("Failed to render media layout because ad ui unstable.",void 0,"ADS_CLIENT_ERROR_MESSAGE_AD_UI_UNSTABLE"),"ADS_CLIENT_ERROR_TYPE_ENTER_LAYOUT_FAILED")}}; g.k.Ic=function(a,b){if(b.layoutId===this.layout.layoutId){this.Jc="rendering";this.gE=this.Ja.get().isMuted()||0===this.Ja.get().getVolume();this.Rc("impression");this.Rc("start");if(this.Ja.get().isMuted()){this.vx("mute");var c;a=(null==(c=GL(this))?void 0:c.muteCommands)||[];this.Tb.get().Zg(a,this.layout.layoutId)}if(this.Ja.get().isFullscreen()){this.Ch("fullscreen");var d;c=(null==(d=GL(this))?void 0:d.fullscreenCommands)||[];this.Tb.get().Zg(c,this.layout.layoutId)}d=this.Qc.get();d.og&&!d.B&& (d.D=!1,d.B=!0,"ad_to_video"!==d.actionType&&(d.J.L("html5_no_video_to_ad_on_preroll")?PH("pbs",void 0,d.actionType):OH("pbs",void 0,d.actionType),g.wB("finalize_all_timelines")&&Jxa(d.actionType)));this.bF(1);this.SY(b);var e;b=(null==(e=GL(this))?void 0:e.impressionCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.wA=function(a,b,c){this.Ru={bL:3,bG:"load_timeout"===a?402:400,errorMessage:b.message};this.Rc("error");var d;a=(null==(d=GL(this))?void 0:d.errorCommands)||[];this.Tb.get().Zg(a,this.layout.layoutId);this.callback.Af(this.slot,this.layout,b,c)}; g.k.gI=function(){this.rf()&&DG("Unexpected ad player in SSAP",this.slot,this.layout);this.fH()}; g.k.XW=function(){this.fH()}; g.k.PW=function(){if("rendering"===this.Jc){this.vx("pause");var a,b=(null==(a=GL(this))?void 0:a.pauseCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId);this.bF(2)}}; g.k.QW=function(){if("rendering"===this.Jc){this.vx("resume");var a,b=(null==(a=GL(this))?void 0:a.resumeCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.tf=function(a,b){if(a.layoutId!==this.layout.layoutId)this.callback.Af(this.slot,a,new hJ("Tried to stop rendering an unknown layout, this adapter requires LayoutId: "+this.layout.layoutId+("and LayoutType: "+this.layout.layoutType),void 0,"ADS_CLIENT_ERROR_MESSAGE_UNKNOWN_LAYOUT"),"ADS_CLIENT_ERROR_TYPE_EXIT_LAYOUT_FAILED");else if("rendering_stop_requested"!==this.Jc){this.Jc="rendering_stop_requested";this.layoutExitReason=b;switch(b){case "normal":this.Rc("complete");break;case "skipped":this.Rc("skip"); break;case "abandoned":nK(this.qb,"impression")&&this.Rc("abandon")}this.Pr(a,b)}}; g.k.Vc=function(a,b,c){if(b.layoutId===this.layout.layoutId)switch(this.Jc="not_rendering",this.layoutExitReason=void 0,(a="normal"!==c||this.position+1===this.X_)&&this.NG(a),this.TY(c),this.bF(0),c){case "abandoned":if(nK(this.qb,"impression")){var d,e=(null==(d=GL(this))?void 0:d.abandonCommands)||[];this.Tb.get().Zg(e,this.layout.layoutId)}break;case "normal":d=(null==(e=GL(this))?void 0:e.completeCommands)||[];this.Tb.get().Zg(d,this.layout.layoutId);break;case "skipped":var f;d=(null==(f=GL(this))? void 0:f.skipCommands)||[];this.Tb.get().Zg(d,this.layout.layoutId)}}; g.k.wz=function(){return this.layout.layoutId}; g.k.JN=function(){return this.Ru}; g.k.wj=function(a){if("not_rendering"!==this.Jc){this.f_||(a=new g.EG(a.state,new g.xL),this.f_=!0);if(!this.rf()){var b=2===this.Ja.get().getPresentingPlayerType();if("rendering_start_requested"===this.Jc){b&&hBa(a)&&this.cN();return}if(!b){this.gI();return}if(g.HG(a,2)){this.SW();return}}hBa(a)?this.bF(1):g.HG(a,4)&&!g.HG(a,2)&&this.PW();0>GG(a,4)&&!(0>GG(a,2))&&this.QW()}}; g.k.EA=function(){if("rendering"===this.Jc){this.qb.Rc("active_view_measurable");var a,b=(null==(a=GL(this))?void 0:a.activeViewMeasurableCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.DA=function(){if("rendering"===this.Jc){this.qb.Rc("active_view_fully_viewable_audible_half_duration");var a,b=(null==(a=GL(this))?void 0:a.activeViewFullyViewableAudibleHalfDurationCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.FA=function(){if("rendering"===this.Jc){this.qb.Rc("active_view_viewable");var a,b=(null==(a=GL(this))?void 0:a.activeViewViewableCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.BA=function(){if("rendering"===this.Jc){this.qb.Rc("audio_audible");var a,b=(null==(a=GL(this))?void 0:a.activeViewAudioAudibleCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.CA=function(){if("rendering"===this.Jc){this.qb.Rc("audio_measurable");var a,b=(null==(a=GL(this))?void 0:a.activeViewAudioMeasurableCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}}; g.k.NG=function(a){this.Qc.get().NG(kJ(this.layout.Ca,"metadata_type_ad_placement_config").kind,a,this.position,this.X_,!1)}; g.k.onFullscreenToggled=function(a){if("rendering"===this.Jc)if(a){this.Ch("fullscreen");var b,c=(null==(b=GL(this))?void 0:b.fullscreenCommands)||[];this.Tb.get().Zg(c,this.layout.layoutId)}else this.Ch("end_fullscreen"),b=(null==(c=GL(this))?void 0:c.endFullscreenCommands)||[],this.Tb.get().Zg(b,this.layout.layoutId)}; g.k.onVolumeChange=function(){if("rendering"===this.Jc)if(this.Ja.get().isMuted()){this.vx("mute");var a,b=(null==(a=GL(this))?void 0:a.muteCommands)||[];this.Tb.get().Zg(b,this.layout.layoutId)}else this.vx("unmute"),a=(null==(b=GL(this))?void 0:b.unmuteCommands)||[],this.Tb.get().Zg(a,this.layout.layoutId)}; g.k.yh=function(){}; g.k.jl=function(){}; g.k.uj=function(){}; g.k.il=function(){}; g.k.Ch=function(a){this.qb.Ch(a,!this.gE)}; g.k.Rc=function(a){this.qb.Rc(a,!this.gE)}; g.k.vx=function(a){this.qb.vx(a,!this.gE)}; g.k.rf=function(){var a=kJ(this.slot.Ca,"metadata_type_eligible_for_ssap");return void 0===a?(DG("Expected SSAP eligibility for PlayerBytes sub layout",this.slot,this.layout),!1):this.Ga.get().rf(a)};g.w(WBa,HL);g.k=WBa.prototype;g.k.Ct=function(){}; g.k.au=function(){var a=this.Pa.get();a.JK===this&&(a.JK=null);this.timer.stop()}; g.k.yu=function(){VBa(this);this.rf()||Rcb(this.Ja.get());this.Pa.get().JK=this;LH("pbp")||LH("pbs")||PH("pbp");LH("pbp","watch")||LH("pbs","watch")||PH("pbp",void 0,"watch");this.cN()}; g.k.SY=function(a){if(lN(this.Ga.get(),"h5_enable_ad_mbs")){this.Qc.get();var b=kJ(a.Ca,"metadata_type_ad_placement_config").kind;a=kJ(a.Ca,"metadata_type_linked_in_player_layout_type");a={adBreakType:UBa(b),adType:kcb(a)};var c=void 0;0===this.position?"AD_PLACEMENT_KIND_START"!==b&&(c="video_to_ad"):c="ad_to_ad";OH("ad_mbs",void 0,c);g.MH(a,c)}ZBa(this)}; g.k.SW=function(){}; g.k.Br=function(){this.timer.stop();HL.prototype.PW.call(this)}; g.k.Gr=function(){ZBa(this);HL.prototype.QW.call(this)}; g.k.vz=function(){return kJ(this.ub().Ca,"METADATA_TYPE_MEDIA_BREAK_LAYOUT_DURATION_MILLISECONDS")}; g.k.Pr=function(){this.timer.stop()}; g.k.Ec=function(){var a=Date.now(),b=a-this.jP;this.jP=a;this.Xi+=b;this.Xi>=this.vz()?(this.Xi=this.vz(),IL(this,this.Xi/1E3,!0),YBa(this,this.Xi),this.rf()?this.callback.pF(this.Hc(),this.ub(),"normal"):this.fH()):(IL(this,this.Xi/1E3),YBa(this,this.Xi))}; g.k.TY=function(){}; g.k.Si=function(){};g.w(ML,HL);g.k=ML.prototype;g.k.Ct=function(){kJ(this.ub().Ca,"metadata_type_player_bytes_callback_ref").current=this;this.shrunkenPlayerBytesConfig=kJ(this.ub().Ca,"metadata_type_shrunken_player_bytes_config")}; g.k.au=function(){kJ(this.ub().Ca,"metadata_type_player_bytes_callback_ref").current=null;this.tv&&this.yc.get().removeCueRange(this.tv);this.tv=void 0;var a;null==(a=this.aJ)||a.dispose();this.oA&&this.oA.dispose()}; g.k.yu=function(a){var b=KL(this.Ga.get()),c=LL(this.Ga.get());if(b&&c&&!this.rf()){c=kJ(a.Ca,"metadata_type_preload_player_vars");var d=g.pJ(this.Ga.get().J.U().experiments,"html5_preload_wait_time_secs");c&&this.oA&&this.oA.start(1E3*d)}c=kJ(a.Ca,"metadata_type_ad_video_id");d=kJ(a.Ca,"metadata_type_legacy_info_card_vast_extension");c&&d&&this.rg.get().J.U().Na.add(c,{WG:d});(c=kJ(a.Ca,"metadata_type_sodar_extension_data"))&&Eza(this.sf.get(),c);Scb(this.Ja.get(),!1);VBa(this);if(this.rf())this.cN(); else{b?(c=this.Be.get(),a=kJ(a.Ca,"metadata_type_player_vars"),c.J.loadVideoByPlayerVars(a,!1,2)):(c=this.Be.get(),a=kJ(a.Ca,"metadata_type_player_vars"),c.J.cueVideoByPlayerVars(a,2));var e;null==(e=this.aJ)||e.start();b||this.Be.get().J.playVideo(2)}}; g.k.SY=function(){var a;null==(a=this.aJ)||a.stop();this.tv="adcompletioncuerange:"+this.ub().layoutId;this.yc.get().addCueRange(this.tv,0x7ffffffffffff,0x8000000000000,!1,this,2,2);var b;(this.adCpn=(null==(b=this.Xa.get().mf(2))?void 0:b.clientPlaybackNonce)||"")||DG("Media layout confirmed started, but ad CPN not set.");this.Hd.get().Qa("onAdStart",this.adCpn)}; g.k.SW=function(){this.fH()}; g.k.vz=function(){var a;return null==(a=this.Xa.get().mf(2))?void 0:a.taa}; g.k.hK=function(){this.qb.Ch("clickthrough")}; g.k.Pr=function(){var a;null==(a=this.aJ)||a.stop();this.oA&&this.oA.stop();Scb(this.Ja.get(),!0);var b;(null==(b=this.shrunkenPlayerBytesConfig)?0:b.shouldRequestShrunkenPlayerBytes)&&this.Ja.get().xB(!1)}; g.k.onCueRangeEnter=function(a){a!==this.tv?DG("Received CueRangeEnter signal for unknown layout.",this.Hc(),this.ub(),{cueRangeId:a}):(this.yc.get().removeCueRange(this.tv),this.tv=void 0,a=kJ(this.ub().Ca,"metadata_type_video_length_seconds"),IL(this,a,!0),this.Rc("complete"))}; g.k.TY=function(a){"abandoned"!==a&&this.Hd.get().Qa("onAdComplete");this.Hd.get().Qa("onAdEnd",this.adCpn)}; g.k.onCueRangeExit=function(){}; g.k.Si=function(a){"rendering"===this.Jc&&(this.shrunkenPlayerBytesConfig&&this.shrunkenPlayerBytesConfig.shouldRequestShrunkenPlayerBytes&&a>=(this.shrunkenPlayerBytesConfig.playerProgressOffsetSeconds||0)&&this.Ja.get().xB(!0),IL(this,a))};g.w(aCa,xK);g.k=aCa.prototype;g.k.Hc=function(){return this.j.Hc()}; g.k.ub=function(){return this.j.ub()}; g.k.Ct=function(){this.j.init()}; g.k.au=function(){this.j.release()}; g.k.Br=function(){this.j.Br()}; g.k.Gr=function(){this.j.Gr()}; g.k.KA=function(a,b){DG("Unexpected onSkipRequested from PlayerBytesVodSingleLayoutRenderingAdapter. Skip should be handled by Triggers",this.Hc(),this.ub(),{requestingSlot:a,requestingLayout:b})}; g.k.yu=function(a){this.j.startRendering(a)}; g.k.Pr=function(a,b){this.j.tf(a,b)}; g.k.Ic=function(a,b){this.j.Ic(a,b)}; g.k.Vc=function(a,b,c){xK.prototype.Vc.call(this,a,b,c);this.j.Vc(a,b,c);b.layoutId===this.ub().layoutId&&fBa(this.Qc.get())}; g.k.hY=function(){this.j.gI()}; g.k.Si=function(a){this.j.Si(a)}; g.k.dZ=function(a){this.j.wj(a)}; g.k.Af=function(a,b,c){this.j.wA(a,b,c)}; g.k.onFullscreenToggled=function(a){this.j.onFullscreenToggled(a)}; g.k.yh=function(a){this.j.yh(a)}; g.k.uj=function(a){this.j.uj(a)}; g.k.onVolumeChange=function(){this.j.onVolumeChange()};g.k=NL.prototype;g.k.Hc=function(){return this.slot}; g.k.ub=function(){return this.layout}; g.k.init=function(){this.Ff.get().addListener(this);this.Ja.get().addListener(this);this.Ct();var a=kJ(this.layout.Ca,"metadata_type_layout_enter_ms"),b=kJ(this.layout.Ca,"metadata_type_layout_exit_ms"),c,d=null==(c=this.Xa.get().zv)?void 0:c.clientPlaybackNonce;c=this.layout.pc.adClientDataEntry;OL(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:b-a,contentCpn:d,adClientData:c}});var e=this.Ff.get();e=eCa(e.C,a,b);null!==e&&(OL(this.Pa.get(),{daiStateTrigger:{filledAdsDurationMs:e-a,contentCpn:d, cueDurationChange:"DAI_CUE_DURATION_CHANGE_SHORTER",adClientData:c}}),this.Nc.get().Ry(e,b))}; g.k.release=function(){this.au();this.Ff.get().removeListener(this);this.Ja.get().removeListener(this)}; g.k.startRendering=function(){this.yu();this.callback.Ic(this.slot,this.layout)}; g.k.tf=function(a,b){this.Pr(b);null!==this.driftRecoveryMs&&(gCa(this,{driftRecoveryMs:this.driftRecoveryMs.toString(),breakDurationMs:Math.round(fCa(this)-kJ(this.layout.Ca,"metadata_type_layout_enter_ms")).toString(),driftFromHeadMs:Math.round(1E3*this.Ja.get().J.Hv()).toString()}),this.driftRecoveryMs=null);this.callback.Vc(this.slot,this.layout,b)}; g.k.UY=function(){return!1}; g.k.MY=function(a){var b=kJ(this.layout.Ca,"metadata_type_layout_enter_ms"),c=kJ(this.layout.Ca,"metadata_type_layout_exit_ms");a*=1E3;if(b<=a&&aa.width&&EN(this.D,this.layout)}; g.k.onVolumeChange=function(){}; g.k.Si=function(){}; g.k.onFullscreenToggled=function(){}; g.k.yh=function(){}; g.k.jl=function(){}; g.k.wj=function(){}; g.k.il=function(){}; g.k.ya=function(){cK.prototype.ya.call(this)}; g.k.release=function(){cK.prototype.release.call(this);this.Ja.get().removeListener(this)};OCa.prototype.build=function(a,b,c,d){if(b=wK(a,c,d,this.xc,this.Ja,this.Pa,this.D,this.j,this.Ga))return b;if(qK(d,LCa()))return new VL(c,d,this.Pa,this.Gb,this.xc,a,this.B,this.C,this.Ja,this.Tb,this.Ga,this.j,new WL(this.Ja));if(qK(d,KCa()))return new UL(c,d,this.Pa,this.Gb,this.xc,a,this.B,this.Ja,this.Tb,this.Ga,this.j,new WL(this.Ja));if(qK(d,{ke:["METADATA_TYPE_VALID_INSTREAM_SURVEY_AD_RENDERER_FOR_VOD"],nf:["LAYOUT_TYPE_SURVEY"]}))return new NCa(c,d,a,this.xc,this.B,this.Ja,this.Ga);if(qK(d, {ke:["metadata_type_player_bytes_layout_controls_callback_ref","metadata_type_valid_survey_text_interstitial_renderer","metadata_type_ad_placement_config"],nf:["LAYOUT_TYPE_VIDEO_INTERSTITIAL_BUTTONED_LEFT"]}))return new RL(c,d,a,this.xc,this.Pa);if(qK(d,VAa()))return new vK(c,d,a,this.xc,this.Ja,this.Ga);throw new hJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+lJ(d.Ca)+" in WebDesktopMainInPlayerLayoutRenderingAdapterFactory.");};PCa.prototype.build=function(a,b,c,d){if(b=wK(a,c,d,this.xc,this.Ja,this.Pa,this.D,this.j,this.Ga))return b;if(qK(d,LCa()))return new VL(c,d,this.Pa,this.Gb,this.xc,a,this.B,this.C,this.Ja,this.Tb,this.Ga,this.j,new WL(this.Ja));if(qK(d,KCa()))return new UL(c,d,this.Pa,this.Gb,this.xc,a,this.B,this.Ja,this.Tb,this.Ga,this.j,new WL(this.Ja));throw new hJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+lJ(d.Ca)+" in WebEmbeddedInPlayerLayoutRenderingAdapterFactory.");};g.w(XL,uK);XL.prototype.startRendering=function(a){uK.prototype.startRendering.call(this,a);kJ(this.layout.Ca,"metadata_ad_video_is_listed")&&(a=kJ(this.layout.Ca,"metadata_type_ad_info_ad_metadata"),this.Um.get().J.Qa("onAdMetadataAvailable",a))};RCa.prototype.build=function(a,b,c,d){if(qK(d,QCa()))return new XL(a,c,d,this.xc,this.Ja,this.Pa,this.B,this.Um,this.j);throw new hJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+lJ(d.Ca)+" in WebRemixInPlayerLayoutRenderingAdapterFactory.");};SCa.prototype.build=function(a,b,c,d){if(qK(d,QCa()))return new XL(a,c,d,this.xc,this.Ja,this.Pa,this.B,this.Um,this.j);if(a=wK(a,c,d,this.xc,this.Ja,this.Pa,this.B,this.j,this.Ga))return a;throw new hJ("Unsupported layout with type: "+d.layoutType+" and client metadata: "+lJ(d.Ca)+" in WebUnpluggedInPlayerLayoutRenderingAdapterFactory.");};nM.prototype.clone=function(a){var b=this;return new nM(function(){return b.triggerId},a)};oM.prototype.clone=function(a){var b=this;return new oM(function(){return b.triggerId},a)};pM.prototype.clone=function(a){var b=this;return new pM(function(){return b.triggerId},a)};qM.prototype.clone=function(a){var b=this;return new qM(function(){return b.triggerId},a)};rM.prototype.clone=function(a){var b=this;return new rM(function(){return b.triggerId},a)};sM.prototype.clone=function(a){var b=this;return new sM(function(){return b.triggerId},a)};g.w(bN,g.J);var lEa={layoutExitMuteTriggers:[],layoutExitNormalTriggers:[],layoutExitSkipTriggers:[],Sc:[],layoutExitUserInputSubmittedTriggers:[]};var JEa={WVdDU7FEFNo:15,"c-6Sb-muKCY":6,"O9f9wIR-UI8":6,"JNL-wFYNAP0":15,dLYcTkdHPNA:15,ZdVP0_LJZUE:15,VXcUXyDNdEI:15,VGQ8C9uQc_I:15,"o2HqYt-U7YU":15,rwNqPgKVbus:15,ATgzDto2XcY:15,attyPCCLlC4:15,w3aSYOeWyYU:15,wZMtuR2zzRA:30,e3TvPYADCQA:15,eMOw2R8yUHg:15,"6lLyZenufEY":15,"4q_FdWfUxR4":15,"3NOPsNQV0zY":15,IcEJuv4zMSI:15,"8Eo9vaW_CqY":15,O0DMDUDJK88:15,wnboazT1Lio:15,ZfRdOlbXmog:5,"X-sKfjrb7uc":15,RCVZbiJbZA0:6,"7syqtZsUUwY":15,OrlZSFgzFVA:15,ulrgBGVttFg:15,"1qC82K99ecI":15,E9lmhFAK78w:30,QSJFJNk_VSg:15, "i-8wX-g3FjI":30,vgSkhTaAP6U:15,iqslKcmG9zA:15,VkNDKDDDSWA:15,"2-Sj3oWDJCk":6,z4zsVPqUVnc:15,xKc7UMf8V4s:15,wwrWuIYPaDE:6,"_5NVge-Kmpk":6,"eUdn6DcJx-4":6,gxvBLc_C6Io:15,O40oPma0obU:15,"6xXRRLxj3DA":15,T5sMvex24Os:15,"74ccAT84jIY":15,"YTlgTC-KM2U":15,XxcipO9EBWc:15,zI7xwG4M62k:15,XrUrvpDMmOk:15,H5KIgG21WjA:15,R94pfM1wcac:6,"TD0-7fMqNOE":5,_evnWGoDAT8:15,Wov4GF3oUSM:6,DKcQEuGWmp4:15,kp4aH06VQBg:15,CI3LdgGodUw:15,lcQzcg6e73Y:15};var fS={yNa:1,zNa:2,ANa:3,1:"LOAD_POLICY_ALWAYS",2:"LOAD_POLICY_BY_PREFERENCE",3:"LOAD_POLICY_BY_REQUEST"};g.w(pN,g.J);g.k=pN.prototype;g.k.UY=function(a){if(!this.j){var b;null==(b=this.Nc)||b.get().Wt(a.identifier);return!1}xFa(this,this.j,a);return!0}; g.k.MY=function(){}; g.k.hk=function(a){this.j&&this.j.contentCpn!==a&&(DG("Fetch instructions carried over from previous content video",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn}),this.j=null)}; g.k.Sn=function(a){this.j&&this.j.contentCpn!==a&&DG("Expected content video of the current fetch instructions to end",void 0,void 0,{contentCpn:a,fetchInstructionsCpn:this.j.contentCpn},!0);this.j=null}; g.k.ya=function(){g.J.prototype.ya.call(this);this.j=null};var R1=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_instream_ad_player_overlay_renderer","metadata_type_ad_placement_config"],$ib=["metadata_type_content_cpn","metadata_type_player_bytes_callback_ref","metadata_type_player_overlay_layout_renderer","metadata_type_ad_placement_config"];g.w(tN,g.J);g.k=tN.prototype;g.k.Ic=function(a,b){var c=this;if("LAYOUT_TYPE_MEDIA"===b.layoutType&&(fJ(b,this.C)||fJ(b,$ib))){var d=this.Xa.get().mf(2),e=this.j(b,d||void 0,this.Ga.get().J.U().experiments.jb("enable_post_ad_perception_survey_in_tvhtml5"));e?$J(this.Rb.get(),"OPPORTUNITY_TYPE_PLAYER_BYTES_MEDIA_LAYOUT_ENTERED",function(){var f=[ZDa(c.Kb.get(),e.contentCpn,e.lq,function(h){return c.B(h.slotId,"core",e,oJ(c.Yb.get(),h))},e.inPlayerSlotId)]; e.instreamAdPlayerUnderlayRenderer&&$Da(c.Ga.get())&&f.push(CFa(c,e,e.instreamAdPlayerUnderlayRenderer));return f}):DG("Expected MediaLayout to carry valid opportunity on entered",a,b)}}; g.k.Ui=function(){}; g.k.rk=function(){}; g.k.Rg=function(){}; g.k.nk=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(){}; g.k.Qh=function(){}; g.k.Ti=function(){}; g.k.Vc=function(){};g.w(uN,g.J);uN.prototype.hk=function(a,b,c,d,e,f,h){var l=this,m=this.Xa.get().mf(1);m.fv?E1(this.Ja.get()):(hcb(this.Qc.get(),d),$J(this.Rb.get(),"OPPORTUNITY_TYPE_PLAYER_RESPONSE_RECEIVED",function(){return ADa(l.Ae.get(),d,e,f,a,b,h,m,"")}),feb(this.j))}; uN.prototype.Sn=function(){};g.w(vN,g.J);g.w(wN,g.J);wN.prototype.onCueRangeEnter=function(){}; wN.prototype.onCueRangeExit=function(a){var b=this,c=this.j.get(a);c&&(this.j.delete(a),this.yc.get().removeCueRange(a),$J(this.Rb.get(),"OPPORTUNITY_TYPE_THROTTLED_AD_BREAK_REQUEST_SLOT_REENTRY",function(){var d=b.Kb.get();d=aK(d.fb.get(),"SLOT_TYPE_AD_BREAK_REQUEST");return[Object.assign({},c,{slotId:d,slotEntryTrigger:c.slotEntryTrigger?VFa(c.slotId,d,c.slotEntryTrigger):void 0,slotFulfillmentTriggers:WFa(c.slotId,d,c.slotFulfillmentTriggers),slotExpirationTriggers:WFa(c.slotId,d,c.slotExpirationTriggers)})]}, c.slotId))}; wN.prototype.hk=function(){for(var a=g.v(this.j.keys()),b=a.next();!b.done;b=a.next())b=b.value,this.yc.get().removeCueRange(b);this.j.clear()}; wN.prototype.Sn=function(){};g.w(xN,g.J);g.k=xN.prototype;g.k.Ui=function(){}; g.k.rk=function(a){var b=this;g.WC(g.YC(),function(){var c=b.j.get(a);c&&DG("Expected layouts to be properly unscheduled",a,void 0,{slotType:a.slotType,layoutTypes:[].concat(g.qa(c)).map(function(d){return d.layoutType})})},0)}; g.k.Rg=function(){}; g.k.nk=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(a,b){this.j.has(a)||this.j.set(a,new Set);this.j.get(a).add(b)}; g.k.Qh=function(a,b){this.Fl.has(a)&&this.Fl.get(a)===b&&DG("Unscheduled a Layout that is currently entered.",a,b);if(this.j.has(a)){var c=this.j.get(a);c.has(b)?(c.delete(b),0===c.size&&this.j.delete(a)):DG("Trying to unscheduled a Layout that was not scheduled.",a,b)}else DG("Trying to unscheduled a Layout that was not scheduled.",a,b)}; g.k.Ic=function(a,b){this.Fl.set(a,b)}; g.k.Vc=function(a){this.Fl.delete(a)}; g.k.Ti=function(){};g.k=EFa.prototype;g.k.init=function(){}; g.k.Hc=function(){return this.slot}; g.k.xH=function(){this.callback.Rg(this.slot)}; g.k.zH=function(){this.callback.Sg(this.slot)}; g.k.release=function(){};yN.prototype.build=function(a,b){return new EFa(a,b)};g.k=FFa.prototype;g.k.init=function(){}; g.k.Hc=function(){return this.slot}; g.k.xH=function(){F1(this.Ja.get(),"ad-showing");this.callback.Rg(this.slot)}; g.k.zH=function(){this.callback.Sg(this.slot);G1(this.Ja.get(),"ad-showing")}; g.k.release=function(){};g.k=GFa.prototype;g.k.init=function(){}; g.k.Hc=function(){return this.slot}; g.k.xH=function(){F1(this.Ja.get(),"ad-showing");F1(this.Ja.get(),"ad-interrupting");this.B=this.Ja.get().isAtLiveHead();this.j=Math.ceil(Date.now()/1E3);this.callback.Rg(this.slot)}; g.k.zH=function(){G1(this.Ja.get(),"ad-showing");G1(this.Ja.get(),"ad-interrupting");var a=this.B?Infinity:this.Ja.get().getCurrentTimeSec(1,!0)+Math.floor(Date.now()/1E3)-this.j;this.Ja.get().J.seekTo(a,void 0,void 0,1);this.callback.Sg(this.slot)}; g.k.release=function(){};g.k=HFa.prototype;g.k.init=function(){}; g.k.Hc=function(){return this.slot}; g.k.xH=function(){F1(this.Ja.get(),"ad-showing");F1(this.Ja.get(),"ad-interrupting");this.callback.Rg(this.slot)}; g.k.zH=function(){E1(this.Ja.get());G1(this.Ja.get(),"ad-showing");G1(this.Ja.get(),"ad-interrupting");this.callback.Sg(this.slot)}; g.k.release=function(){E1(this.Ja.get())};zN.prototype.build=function(a,b){if(mJ(b,["metadata_type_dai"],"SLOT_TYPE_PLAYER_BYTES"))return new FFa(a,b,this.Ja);if(b.slotEntryTrigger instanceof hM&&mJ(b,["metadata_type_served_from_live_infra"],"SLOT_TYPE_PLAYER_BYTES"))return new GFa(a,b,this.Ja);if(mJ(b,[],"SLOT_TYPE_PLAYER_BYTES"))return new HFa(a,b,this.Ja);throw new iJ("Unsupported slot with type "+b.slotType+" and client metadata: "+(lJ(b.Ca)+" in PlayerBytesSlotAdapterFactory."));};g.w(AN,g.J);AN.prototype.j=function(a){for(var b=[],c=g.v(this.Wb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof mM&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_MUTED"===d.category&&e.triggeringLayoutId===a&&b.push(d)}b.length?BJ(this.IL(),b):DG("Mute requested but no registered triggers can be activated.")};g.w(BN,AN);g.k=BN.prototype;g.k.qh=function(a,b){if(b)if("skip-button"===a){a=[];for(var c=g.v(this.Wb.values()),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.trigger;e instanceof mM&&"TRIGGER_CATEGORY_LAYOUT_EXIT_USER_SKIPPED"===d.category&&e.triggeringLayoutId===b&&a.push(d)}a.length&&BJ(this.IL(),a)}else lN(this.Ga.get(),"supports_multi_step_on_desktop")?"ad-action-submit-survey"===a&&IFa(this,b):"survey-submit"===a?IFa(this,b):"survey-single-select-answer-button"===a&&IFa(this,b)}; g.k.rO=function(a){AN.prototype.j.call(this,a)}; g.k.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof tM||b instanceof mM))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdUxUpdateTriggerAdapter.");this.Wb.set(b.triggerId,new uM(a,b,c,d))}; g.k.Il=function(a){this.Wb.delete(a.triggerId)}; g.k.pO=function(){}; g.k.oO=function(){}; g.k.hI=function(){};g.w(CN,g.J);g.k=CN.prototype; g.k.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof nM||b instanceof oM||b instanceof pM||b instanceof qM||b instanceof rM||b instanceof sM||b instanceof ZCa||b instanceof dM||b instanceof fM||b instanceof eM||b instanceof iM||b instanceof cM))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in AdsControlFlowEventTriggerAdapter");a=new uM(a,b,c,d);this.Wb.set(b.triggerId,a);b instanceof rM&&this.G.has(b.triggeringSlotId)&&BJ(this.j(),[a]);b instanceof nM&&this.C.has(b.triggeringSlotId)&&BJ(this.j(),[a]);b instanceof dM&&this.B.has(b.triggeringLayoutId)&&BJ(this.j(),[a])}; g.k.Il=function(a){this.Wb.delete(a.triggerId)}; g.k.Ui=function(a){this.G.add(a.slotId);for(var b=[],c=g.v(this.Wb.values()),d=c.next();!d.done;d=c.next())d=d.value,d.trigger instanceof rM&&a.slotId===d.trigger.triggeringSlotId&&b.push(d);0GG(a,16)){a=g.v(this.j);for(var b=a.next();!b.done;b=a.next())this.onCueRangeEnter(b.value,!0);this.j.clear()}}; g.k.Ui=function(){}; g.k.rk=function(){}; g.k.nk=function(){}; g.k.Rg=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(){}; g.k.Qh=function(){}; g.k.Ic=function(a,b){a=g.v(this.Wb.values());for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.bv.trigger;c=c.xv;if(KFa(d)&&d.layoutId===b.layoutId){var e=1E3*this.Ja.get().getCurrentTimeSec(1,!1);d instanceof lM?d=0:(d=e+d.offsetMs,e=0x7ffffffffffff);this.yc.get().addCueRange(c,d,e,!1,this)}}}; g.k.Vc=function(a,b,c){var d=this;a=g.v(this.Wb.values());for(var e=a.next(),f={};!e.done;f={SC:f.SC,Sr:f.Sr},e=a.next())e=e.value,f.Sr=e.bv.trigger,f.SC=e.xv,KFa(f.Sr)&&f.Sr.layoutId===b.layoutId?mcb(this.yc.get(),f.SC):f.Sr instanceof gM&&f.Sr.layoutId===b.layoutId&&"user_cancelled"===c&&(this.yc.get().removeCueRange(f.SC),g.WC(g.YC(),function(h){return function(){d.yc.get().addCueRange(h.SC,h.Sr.j.start,h.Sr.j.end,h.Sr.visible,d)}}(f)))}; g.k.Ti=function(){}; g.k.Si=function(){}; g.k.onFullscreenToggled=function(){}; g.k.yh=function(){}; g.k.jl=function(){}; g.k.uj=function(){}; g.k.onVolumeChange=function(){}; g.k.il=function(){};g.w(HN,g.J);g.k=HN.prototype; g.k.yl=function(a,b,c,d){if(this.B.has(b.triggerId)||this.C.has(b.triggerId))throw new iJ("Tried to re-register the trigger.");a=new uM(a,b,c,d);if(a.trigger instanceof WCa)this.B.set(a.trigger.triggerId,a);else if(a.trigger instanceof VCa)this.C.set(a.trigger.triggerId,a);else throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+a.trigger.triggerType+" in LiveStreamBreakTransitionTriggerAdapter");this.B.has(a.trigger.triggerId)&&a.slot.slotId===this.j&&BJ(this.D(),[a])}; g.k.Il=function(a){this.B.delete(a.triggerId);this.C.delete(a.triggerId)}; g.k.wJ=function(a){a=a.slotId;if(this.j!==a){var b=[];null!=this.j&&b.push.apply(b,g.qa(NFa(this.C,this.j)));null!=a&&b.push.apply(b,g.qa(NFa(this.B,a)));this.j=a;b.length&&BJ(this.D(),b)}}; g.k.EJ=function(){}; g.k.DJ=function(){};g.w(IN,g.J);g.k=IN.prototype;g.k.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof jM))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OnLayoutSelfRequestedTriggerAdapter");this.Wb.set(b.triggerId,new uM(a,b,c,d))}; g.k.Il=function(a){this.Wb.delete(a.triggerId)}; g.k.Ic=function(){}; g.k.Vc=function(){}; g.k.Ui=function(){}; g.k.rk=function(){}; g.k.nk=function(){}; g.k.Rg=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(){}; g.k.Qh=function(){}; g.k.Ti=function(){};g.w(JN,g.J);g.k=JN.prototype;g.k.Ti=function(a,b){for(var c=[],d=g.v(this.Wb.values()),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.trigger;f.opportunityType===a&&(f.associatedSlotId&&f.associatedSlotId!==b||c.push(e))}c.length&&BJ(this.j(),c)}; g.k.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof Gza))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in OpportunityEventTriggerAdapter");this.Wb.set(b.triggerId,new uM(a,b,c,d))}; g.k.Il=function(a){this.Wb.delete(a.triggerId)}; g.k.Ui=function(){}; g.k.rk=function(){}; g.k.nk=function(){}; g.k.Rg=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(){}; g.k.Qh=function(){}; g.k.Ic=function(){}; g.k.Vc=function(){};g.w(KN,g.J);g.k=KN.prototype;g.k.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof cDa))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");this.Wb.set(b.triggerId,new uM(a,b,c,d));a=this.j.has(b.triggeringLayoutId)?this.j.get(b.triggeringLayoutId):new Set;a.add(b);this.j.set(b.triggeringLayoutId,a)}; g.k.Il=function(a){this.Wb.delete(a.triggerId);if(!(a instanceof cDa))throw new iJ("Incorrect TriggerType: Tried to unregister trigger of type "+a.triggerType+" in TimeRelativeToLayoutEnterTriggerAdapter");var b=this.B.get(a.triggerId);b&&(b.dispose(),this.B.delete(a.triggerId));if(b=this.j.get(a.triggeringLayoutId))b.delete(a),0===b.size&&this.j.delete(a.triggeringLayoutId)}; g.k.Ui=function(){}; g.k.rk=function(){}; g.k.nk=function(){}; g.k.Rg=function(){}; g.k.Sg=function(){}; g.k.pk=function(){}; g.k.qk=function(){}; g.k.vj=function(){}; g.k.Qh=function(){}; g.k.Ti=function(){}; g.k.Ic=function(a,b){var c=this;if(this.j.has(b.layoutId)){a=this.j.get(b.layoutId);a=g.v(a);var d=a.next();for(b={};!d.done;b={UF:b.UF},d=a.next())b.UF=d.value,d=new g.Bu(function(e){return function(){var f=c.Wb.get(e.UF.triggerId);BJ(c.C(),[f])}}(b),b.UF.durationMs),d.start(),this.B.set(b.UF.triggerId,d)}}; g.k.Vc=function(){};g.w(LN,g.J);LN.prototype.yl=function(a,b,c,d){if(this.Wb.has(b.triggerId))throw new iJ("Tried to register duplicate trigger for slot.");if(!(b instanceof YL))throw new iJ("Incorrect TriggerType: Tried to register trigger of type "+b.triggerType+" in VideoTransitionTriggerAdapter.");this.Wb.set(b.triggerId,new uM(a,b,c,d))}; LN.prototype.Il=function(a){this.Wb.delete(a.triggerId)};g.w(QN,g.J);QN.prototype.logEvent=function(a){this.j(a)}; QN.prototype.j=function(a,b,c,d,e,f,h,l,m,n,p){var q=this;p=void 0===p?0:p;lN(this.Ga.get(),"h5_enable_pacf_debug_logs")&&console.log("[PACF]: "+a,"slot:",e,"layout:",f,"Opportunity:",{opportunityType:b,associatedSlotId:c,Vjb:d,Zjb:h,adSlotLoggingData:l,adLayoutLoggingData:m});try{p&&0this.j;)a[d++]^=c[this.j++];for(var e=b-(b-d)%16;db;b++)this.counter[b]=a[4*b]<<24|a[4*b+1]<<16|a[4*b+2]<<8|a[4*b+3];this.j=16};var dGa=!1;(function(){function a(d){for(var e=new Uint8Array(d.length),f=0;f=e.length?(b.append(e),a-=e.length):a?(b.append(new Uint8Array(e.buffer,e.byteOffset,a)),c.append(new Uint8Array(e.buffer,e.byteOffset+a,e.length-a)),a=0):c.append(e);return{oI:b,Em:c}}; g.k.isFocused=function(a){return a>=this.C&&arjb){l3=rjb;break a}}var sjb=m3.match("("+Object.keys(pjb).join("|")+")");l3=sjb?pjb[sjb[0]]:0}else l3=void 0}var ZR=l3,tPa=0<=ZR;var R8a=window;var fLa=Kd(function(){var a,b;return null==(b=(a=window).matchMedia)?void 0:b.call(a,"(prefers-reduced-motion: reduce)").matches});var hLa;g.bI=new dI;hLa=0;var tP={sz:function(a,b){a.splice(0,b)}, je:function(a){a.reverse()}, xZ:function(a,b){var c=a[0];a[0]=a[b%a.length];a[b%a.length]=c}};var M$a=new Set(["embed_config","endscreen_ad_tracking","home_group_info","ic_track"]);var qPa={Sha:"adunit",cua:"detailpage",Rua:"editpage",Zua:"embedded",pKa:"leanback",hZa:"previewpage",o_a:"profilepage",CU:"unplugged",pYa:"playlistoverview",m5a:"sponsorshipsoffer",d2a:"shortspage",yDa:"handlesclaiming",cFa:"immersivelivepage",ssa:"creatormusic",dFa:"immersivelivepreviewpage"};var XQa={rua:1,uva:2,PAUSED:3,1:"DISABLED",2:"ENABLED",3:"PAUSED"};var AR=CLa()?!0:"function"===typeof window.fetch&&window.ReadableStream&&window.AbortController&&!g.HD?!0:!1;g.yP.prototype.getLanguageInfo=function(){return this.Mc}; g.yP.prototype.getXtags=function(){if(!this.xtags){var a=this.id.split(";");1a.Oa&&this.index.qn()<=a.Oa+1}; g.k.update=function(a,b,c){this.index.append(a);eMa(this.index,c);this.index.B=b}; g.k.pg=function(){return this.Sz()?!0:RQ.prototype.pg.call(this)}; g.k.us=function(a,b){var c=this.index.aI(a),d=this.index.getStartTime(a),e=this.index.getDuration(a),f;b?e=f=0:f=0c&&(this.segments=this.segments.slice(b))}}; g.k.NH=function(){return this.Ip}; g.k.mz=function(a){if(!this.Wm)return g.VP.prototype.mz.call(this,a);if(!this.segments.length)return null;var b=this.segments[this.segments.length-1];if(a=b.endTime)b=b.Oa+Math.floor((a-b.endTime)/this.Ej+1);else{b=Wb(this.segments,function(d){return a=d.endTime?1:0}); if(0<=b)return this.segments[b];var c=-(b+1);b=this.segments[c-1];c=this.segments[c];b=Math.floor((a-b.endTime)/((c.startTime-b.endTime)/(c.Oa-b.Oa-1))+1)+b.Oa}return this.fn(b)}; g.k.fn=function(a){if(!this.Wm)return g.VP.prototype.fn.call(this,a);if(!this.segments.length)return null;var b=WQ(this,a);if(0<=b)return this.segments[b];var c=-(b+1);b=this.Ej;if(0===c)var d=Math.max(0,this.segments[0].startTime-(this.segments[0].Oa-a)*b);else c===this.segments.length?(d=this.segments[this.segments.length-1],d=d.endTime+(a-d.Oa-1)*b):(d=this.segments[c-1],b=this.segments[c],b=(b.startTime-d.endTime)/(b.Oa-d.Oa-1),d=d.endTime+(a-d.Oa-1)*b);return new UP(a,d,b,0,"sq/"+a,void 0,void 0, !0)};g.w(XQ,SQ);g.k=XQ.prototype;g.k.cE=function(){return!0}; g.k.pg=function(){return!0}; g.k.qs=function(a){return this.Zv()&&a.B&&!a.gf||!a.j.index.XO(a.Oa)}; g.k.Jv=function(){}; g.k.Mq=function(a,b){return"number"!==typeof a||isFinite(a)?SQ.prototype.Mq.call(this,a,void 0===b?!1:b):new LQ([new FQ(3,this,void 0,"mlLiveGetReqInfoStubForTime",-1,void 0,this.Dj,void 0,this.Dj*this.info.Sb)],"")}; g.k.us=function(a,b){var c=void 0===c?!1:c;if(this.index.Gp(a))return SQ.prototype.us.call(this,a,b);var d=this.index.getStartTime(a),e=Math.round(this.Dj*this.info.Sb),f=vjb?this.Dj:0;b&&(f=e=0);return new LQ([new FQ(c?7:3,this,void 0,"mlLiveCreateReqInfoForSeg",a,d,f,void 0,e,!b)],0<=a?"sq/"+a:"")}; var vjb=!1;g.w(YQ,RQ);g.k=YQ.prototype;g.k.Jn=function(){return!1}; g.k.Zv=function(){return!1}; g.k.cE=function(){return!1}; g.k.Jv=function(){return new LQ([new FQ(1,this,void 0,"otfInit")],this.G)}; g.k.Vx=function(){return null}; g.k.nC=function(a){this.qs(a);return vNa(this,OMa(a),!1)}; g.k.Mq=function(a,b){b=void 0===b?!1:b;a=this.index.Kh(a);b&&(a=Math.min(this.index.Ad(),a+1));return vNa(this,a,!0)}; g.k.qO=function(a){1===a.info.type&&(this.j||(this.j=DGa(a.j)),a.B&&"http://youtube.com/streaming/otf/durations/112015"===a.B.uri&&wNa(this,a.B))}; g.k.qs=function(a){return 0===a.B?!0:this.index.Ad()>a.Oa&&this.index.qn()<=a.Oa+1}; g.k.bO=function(){return 0}; g.k.IQ=function(){return!1};g.k=g.HNa.prototype;g.k.Gp=function(a){return a<=this.Ad()}; g.k.lm=function(a){return this.offsets[a]}; g.k.getStartTime=function(a){return this.Th[a]/this.j}; g.k.UN=function(a){return this.getStartTime(a)+this.getDuration(a)}; g.k.cI=aa(2);g.k.bf=function(){return NaN}; g.k.getDuration=function(a){a=this.mW(a);return 0<=a?a/this.j:-1}; g.k.mW=function(a){return a+1=this.Ad())return 0;var c=0;for(b=this.getStartTime(a)+b;athis.getStartTime(a);a++)c=Math.max(c,INa(this,a)/this.getDuration(a));return c}; g.k.resize=function(a){a+=2;var b=this.offsets;this.offsets=new Float64Array(a+1);var c=this.Th;this.Th=new Float64Array(a+1);for(a=0;a=b+c)break}e.length||g.wF(new g.RC("b189619593",""+a,""+b,""+c));return new LQ(e)}; g.k.JT=function(a){for(var b=this.iB(a.info),c=a.info.range.start+a.info.Xb,d=[],e=0;e=this.index.lm(c+1);)c++;return this.GD(c,b,a.B).eb}; g.k.qs=function(a){GQ(a);return this.pg()?!0:a.range.end+1this.info.contentLength&&(b=new BQ(b.start,this.info.contentLength-1)),new LQ([new FQ(4,a.j,b,"getNextRequestInfoByLength",void 0,void 0,void 0,void 0,void 0,void 0,void 0,a.clipId)]);4===a.type&&(a=this.iB(a),a=a[a.length-1]);var c=0,d=a.range.start+a.Xb+a.B;3===a.type&&(GQ(a),c=a.Oa,d===a.range.end+1&&(c+=1));return this.GD(c,d,b)}; g.k.nC=function(){return null}; g.k.Mq=function(a,b,c){b=void 0===b?!1:b;a=this.index.Kh(a);b&&(a=Math.min(this.index.Ad(),a+1));return this.GD(a,this.index.lm(a),0,c)}; g.k.Jn=function(){return!0}; g.k.Zv=function(){return!0}; g.k.cE=function(){return!1}; g.k.bO=function(){return this.indexRange.length+this.initRange.length}; g.k.IQ=function(){return this.indexRange&&this.initRange&&this.initRange.end+1===this.indexRange.start?!0:!1};var o3={},$Na=(o3.COLOR_PRIMARIES_BT709="bt709",o3.COLOR_PRIMARIES_BT2020="bt2020",o3.COLOR_PRIMARIES_UNKNOWN=null,o3.COLOR_PRIMARIES_UNSPECIFIED=null,o3),p3={},LNa=(p3.COLOR_TRANSFER_CHARACTERISTICS_BT709="bt709",p3.COLOR_TRANSFER_CHARACTERISTICS_BT2020_10="bt2020",p3.COLOR_TRANSFER_CHARACTERISTICS_SMPTEST2084="smpte2084",p3.COLOR_TRANSFER_CHARACTERISTICS_ARIB_STD_B67="arib-std-b67",p3.COLOR_TRANSFER_CHARACTERISTICS_UNKNOWN=null,p3.COLOR_TRANSFER_CHARACTERISTICS_UNSPECIFIED=null,p3);g.dR.prototype.getName=function(){return this.name}; g.dR.prototype.getId=function(){return this.id}; g.dR.prototype.getIsDefault=function(){return this.isDefault}; g.dR.prototype.toString=function(){return this.name}; g.dR.prototype.getName=g.dR.prototype.getName;g.dR.prototype.getId=g.dR.prototype.getId;g.dR.prototype.getIsDefault=g.dR.prototype.getIsDefault;var QNa=/action_display_post/;var RNa;g.w(fR,g.PF);g.k=fR.prototype;g.k.isLoading=function(){return 1===this.state}; g.k.Hn=function(){return 3===this.state}; g.k.jaa=function(a){var b=a.getElementsByTagName("Representation");if(0=this.j&&(this.C=!0);for(;a--;)this.values[this.B]=b,this.B=(this.B+1)%this.j;this.fm=!0}; JR.prototype.Pi=function(){return this.K?(KR(this,this.D-this.K)+KR(this,this.D)+KR(this,this.D+this.K))/3:KR(this,this.D)};g.w(bPa,g.J);bPa.prototype.Fa=function(){var a;null==(a=this.oa)||a.start();if(RR(this)&&this.policy.N){var b;null==(b=this.Pd)||b.uE()}};g.w(kPa,g.J);var rPa="blogger gac books docs duo google-live google-one play shopping chat hangouts-meet photos-edu picasaweb gmail jamboard".split(" "),BPa={Xla:"caoe",moa:"cbrand",voa:"cbr",woa:"cbrver",ora:"ccrv",NFa:"c",QFa:"cver",PFa:"ctheme",OFa:"cplayer",ORa:"cmodel",BSa:"cnetwork",HWa:"cos",IWa:"cosver",BXa:"cplatform"};g.w(zPa,g.J);g.k=zPa.prototype;g.k.L=function(a){return this.experiments.jb(a)}; g.k.getVideoUrl=function(a,b,c,d,e,f){b={list:b};c&&(e?b.time_continue=c:b.t=c);c=g.iS(this);e="www.youtube.com"===c;!f&&d&&e?f="https://youtu.be/"+a:g.bS(this)?(f="https://"+c+"/fire",b.v=a):(f&&e?(f=this.protocol+"://"+c+"/shorts/"+a,d&&(b.feature="share")):(f=this.protocol+"://"+c+"/watch",b.v=a),GD&&(a=Nna())&&(b.ebc=a));return g.Ml(f,b)}; g.k.getVideoEmbedCode=function(a,b,c,d){b="https://"+g.iS(this)+"/embed/"+b;d&&(b=g.Ml(b,{list:d}));d=c.width;c=c.height;b=g.xe(b);a=g.xe(null!=a?a:"YouTube video player");return'')}; g.k.supportsGaplessAudio=function(){return g.$K&&!GD&&74<=Foa()||g.vR&&g.Pc(68)?!0:!1}; g.k.supportsGaplessShorts=function(){return!this.L("html5_enable_short_gapless")||this.rb||g.lD?!1:!0}; g.k.getPlayerType=function(){return this.j.cplayer}; g.k.Lc=function(){return this.Rf}; g.k.Vt=function(){this.L("html5_enable_lawnmower_messaging")}; var HPa=["www.youtube-nocookie.com","youtube.googleapis.com","www.youtubeeducation.com","youtubeeducation.com"],APa=["EMBEDDED_PLAYER_LITE_MODE_UNKNOWN","EMBEDDED_PLAYER_LITE_MODE_NONE","EMBEDDED_PLAYER_LITE_MODE_FIXED_PLAYBACK_LIMIT","EMBEDDED_PLAYER_LITE_MODE_DYNAMIC_PLAYBACK_LIMIT"],EPa=[19];g.k=vS.prototype;g.k.ph=function(){return this.j}; g.k.oC=function(){return null}; g.k.nW=function(){var a=this.oC();return a?(a=g.FB(a.resource),Number(a.expire)):NaN}; g.k.yR=function(){}; g.k.getHeight=function(){return this.j.video.height}; var IPa=!1;JPa.prototype.build=function(){NPa(this);var a=["#EXTM3U","#EXT-X-INDEPENDENT-SEGMENTS"],b={};a:if(this.j)var c=this.j;else{c="";for(var d=g.v(this.C),e=d.next();!e.done;e=d.next())if(e=e.value,e.Mc){if(e.Mc.getIsDefault()){c=e.Mc.getId();break a}c||(c=e.Mc.getId())}}d=g.v(this.C);for(var f=d.next();!f.done;f=d.next())if(e=f.value,this.K||!e.Mc||e.Mc.getId()===c)b[e.itag]||(b[e.itag]=[]),b[e.itag].push(e);c=g.v(this.B);for(e=c.next();!e.done;e=c.next())if(d=e.value,e=b[d.j])for(e=g.v(e),f=e.next();!f.done;f= e.next()){var h=a,l=h.push;f=f.value;var m="#EXT-X-MEDIA:TYPE=AUDIO,",n="YES",p="audio";if(f.Mc){p=f.Mc;var q=p.getId().split(".")[0];q&&(m+='LANGUAGE="'+q+'",');(this.j?this.j===p.getId():p.getIsDefault())||(n="NO");p=p.getName()}q="";null!==d&&(q=d.itag.toString());q=LPa(this,f.url,q);m=m+('NAME="'+p+'",DEFAULT='+(n+',AUTOSELECT=YES,GROUP-ID="'))+(MPa(f,d)+'",URI="'+(q+'"'));l.call(h,m)}c=g.v(this.G);for(d=c.next();!d.done;d=c.next())d=d.value,e=Cjb,d=(h=d.Mc)?'#EXT-X-MEDIA:URI="'+LPa(this,d.url)+ '",TYPE=SUBTITLES,GROUP-ID="'+e+'",LANGUAGE="'+h.getId()+'",NAME="'+h.getName()+'",DEFAULT=NO,AUTOSELECT=YES':void 0,d&&a.push(d);c=0f.getHeight())&&c.push(f)}return c}; WS.prototype.G=function(a,b,c,d){return new g.VS(a,b,c,d)};g.w(QQa,g.VS);g.k=QQa.prototype;g.k.MH=function(){return this.B.zz()}; g.k.AG=function(a){var b=this.rows*this.columns*this.G,c=this.B,d=c.Ad();a=c.Kh(a);return a>d-b?-1:a}; g.k.Wx=function(){return this.B.Ad()}; g.k.KL=function(){return this.B.qn()}; g.k.KT=function(a){this.B=a};g.w(XS,WS);XS.prototype.B=function(a,b){return WS.prototype.B.call(this,"$N|"+a,b)}; XS.prototype.G=function(a,b,c){return new QQa(a,b,c,this.isLive)};g.w(g.ZS,g.PF);g.k=g.ZS.prototype;g.k.U=function(){return this.Ia}; g.k.L=function(a){return this.Ia.L(a)}; g.k.Nh=function(){return!this.isLivePlayback||this.allowLiveDvr}; g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=this.He)||!a.rb)}; g.k.OY=function(){this.isDisposed()||(this.j.B||this.j.unsubscribe("refresh",this.OY,this),this.tV(-1))}; g.k.tV=function(a){if(!this.isLivePlayback||!this.K||"fairplay"!=this.K.flavor){var b=fOa(this.j,this.kM);if(0d?d:r);return{airingStart:e,airingEnd:h,allowSeeking:this.app.Nh(),clipEnd:b.clipEnd, clipStart:b.clipStart,current:f,displayedStart:-1,duration:a,ingestionTime:l,isAtLiveHead:m,loaded:n,seekableStart:p,seekableEnd:q,offset:c,viewerLivestreamJoinMediaTime:d}}; g.k.isNotServable=function(a){if(a!==this.app.config.args.video_id)return!1;var b=(a=(a=g.$T(this.app,1))?a.getPlayerState():null)?a.nh:null;return!!(a&&b&&g.FG(a,128)&&5===wSa(b.errorCode))}; g.k.supportsGaplessAudio=function(){return this.app.U().supportsGaplessAudio()}; g.k.supportsGaplessShorts=function(){return this.app.U().supportsGaplessShorts()}; g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;this.app.enqueueVideoByPlayerVars(a,b,c,void 0===d?"":d)}; g.k.clearQueue=function(){this.app.clearQueue()}; g.k.oh=function(){return g.aU(this)}; g.k.sendAbandonmentPing=function(){var a=g.$T(this.app);a&&a.sendAbandonmentPing()}; g.k.setAutonavState=function(a,b){b=void 0===b?!1:b;if(this.L("web_player_autonav_use_server_provided_state")&&!b&&(b=this.app.Ed(),null==b?0:nRa(b))){if(this.L("web_player_autonav_server_provided_state_pause_killswitch"))return;if(3===a)3!==b.autonavState&&(b.VB=b.autonavState);else if(void 0!==b.VB)a=b.VB,b.VB=void 0;else return}Fbb(this.app,a)}; g.k.setAutonav=function(a,b){this.setAutonavState(a?2:1,void 0===b?!1:b)}; g.k.setLoopRange=function(a){this.app.setLoopRange(a)}; g.k.getLoopRange=function(){return this.app.getLoopRange()}; g.k.hasSupportedAudio51Tracks=function(){var a;return!(null==(a=g.$T(this.app,this.playerType))||!a.hasSupportedAudio51Tracks())}; g.k.setUserAudio51Preference=function(a,b){b=void 0===b?!1:b;var c=g.$T(this.app,this.playerType);c&&c.setUserAudio51Preference(a,b)}; g.k.getUserAudio51Preference=function(){var a,b;return null!=(b=null==(a=g.$T(this.app,this.playerType))?void 0:a.getUserAudio51Preference())?b:1}; g.k.setProximaLatencyPreference=function(a){var b=g.$T(this.app,this.playerType);b&&b.setProximaLatencyPreference(a)}; g.k.getProximaLatencyPreference=function(){var a=g.$T(this.app,this.playerType);return a?a.getProximaLatencyPreference():0}; g.k.isProximaLatencyEligible=function(){var a=g.$T(this.app,this.playerType);return a?a.isProximaLatencyEligible():!1}; g.k.getAppState=function(){return this.app.getAppState()}; g.k.updateLastActiveTime=function(){IE()}; g.k.setBlackout=function(a){this.app.setBlackout(a)}; g.k.setUserEngagement=function(a){this.app.U().Mm!==a&&(this.app.U().Mm=a,(a=g.$T(this.app,this.playerType))&&I0(a))}; g.k.updateSubtitlesUserSettings=function(a,b){b=void 0===b?!0:b;g.FV(this.app.yb()).v0(a,b)}; g.k.getCaptionWindowContainerId=function(){var a=g.FV(this.app.yb());return a?a.getCaptionWindowContainerId():""}; g.k.toggleSubtitlesOn=function(){var a=g.FV(this.app.yb());a&&a.W_()}; g.k.isSubtitlesOn=function(){var a=g.FV(this.app.yb());return a?a.isSubtitlesOn():!1}; g.k.XH=function(){var a=this.app.getPresentingPlayerType(!0);2===a&&this.app.Jf()&&(a=1);return a}; g.k.getPlayerResponse=function(){var a=g.$T(this.app,this.playerType);return a?a.getVideoData().getPlayerResponse():null}; g.k.getWatchNextResponse=function(){var a=g.$T(this.app,this.playerType);return a?a.getVideoData().getWatchNextResponse():null}; g.k.getHeartbeatResponse=function(){var a=g.$T(this.app,this.playerType);return a?a.getVideoData().getHeartbeatResponse():null}; g.k.getStoryboardFrame=function(a,b){var c=this.app.Vj();if(!c)return null;b=c.levels[b];return b?(a=g.US(b,a))?{column:a.column,columns:a.columns,height:a.Aw,row:a.row,rows:a.rows,url:a.url,width:a.sE}:null:null}; g.k.getStoryboardFrameIndex=function(a,b){var c=this.app.Vj();if(!c)return-1;b=c.levels[b];if(!b)return-1;a-=this.Pc();return b.AG(a)}; g.k.getStoryboardLevel=function(a){var b=this.app.Vj();return b?(b=b.levels[a])?{index:a,intervalMs:b.j,maxFrameIndex:b.Wx(),minFrameIndex:b.KL()}:null:null}; g.k.getNumberOfStoryboardLevels=function(){var a=this.app.Vj();return a?a.levels.length:0}; g.k.M5=function(){return this.getAudioTrack()}; g.k.getAudioTrack=function(){var a=g.$T(this.app,this.playerType);return a?a.getAudioTrack():this.app.getVideoData().xl}; g.k.setAudioTrack=function(a,b){3===this.XH()&&jU(this.app.yb()).AE("control_set_audio_track",a);var c=g.$T(this.app,this.playerType);if(c)if(c.isDisposed()||g.FG(c.playerState,128))a=!1;else{var d;if(null==(d=c.videoData.C)?0:d.j){d=b?c.getCurrentTime()-c.Pc():NaN;if(b){var e=q$a(c.Zc);c.va("aswh",{id:a.id,xtags:a.xtags,bh:e.toFixed(3)})}c.Ba.setAudioTrack(a,d,b)}else if(hab(c)){b:{b=c.mediaElement.audioTracks();for(d=0;d=b.jd.length)b=!1;else{d=g.v(b.jd);for(e=d.next();!e.done;e=d.next()){e=e.value;if(!(e instanceof xS)){b=!1;break b}var f=a.Mc.getId();e.B&&(KPa(e.B,f),e.resource=null)}b.Ro=a;b=!0}b&&A0(c)&&(c.ra("internalaudioformatchange",c.videoData,!0),c.va("hlsaudio",{id:a.id}))}a=!0}else a=!1;return a}; g.k.N5=function(){return this.getAvailableAudioTracks()}; g.k.getAvailableAudioTracks=function(){return g.$T(this.app,this.playerType).getAvailableAudioTracks()}; g.k.getMaxPlaybackQuality=function(){var a=g.$T(this.app,this.playerType);return a&&a.getVideoData().B?DP(a.cg?y8a(a.ll,a.cg,a.Gv()):YS):"unknown"}; g.k.getUserPlaybackQualityPreference=function(){var a=g.$T(this.app,this.playerType);return a?a.getUserPlaybackQualityPreference():"auto"}; g.k.getSubtitlesUserSettings=function(){var a=g.FV(this.app.yb());return a?a.v6():null}; g.k.resetSubtitlesUserSettings=function(){g.FV(this.app.yb()).Zaa()}; g.k.setMinimized=function(a){this.app.setMinimized(a)}; g.k.setOverlayVisibility=function(a){this.ra("overlayvisibilitychange",a)}; g.k.setInlinePreview=function(a){this.app.setInlinePreview(a)}; g.k.setGlobalCrop=function(a){this.app.kb().setGlobalCrop(a)}; g.k.getVisibilityState=function(){var a=this.qg();return this.app.getVisibilityState(this.Lh(),this.isFullscreen()||g.$R(this.app.U()),a,this.isInline(),this.app.Et(),this.app.Pz())}; g.k.isMutedByMutedAutoplay=function(){return this.app.uA}; g.k.isInline=function(){return this.app.isInline()}; g.k.setInternalSize=function(a,b){this.app.kb().setInternalSize(new g.te(a,b))}; g.k.Pc=function(){var a=g.$T(this.app);return a?a.Pc():0}; g.k.qg=function(){return this.app.qg()}; g.k.Lh=function(){var a=g.$T(this.app,this.playerType);return!!a&&a.Lh()}; g.k.isFullscreen=function(){return this.app.isFullscreen()}; g.k.setSafetyMode=function(a){this.app.U().enableSafetyMode=a}; g.k.canPlayType=function(a){return this.app.canPlayType(a)}; g.k.updatePlaylist=function(a){if(a){var b=this.getPlaylistId(),c=!1;b&&b!==a.list&&(c=!0);void 0!==a.external_list&&(this.app.Zh=mC(!1,a.external_list));var d=a.video;(b=this.app.getPlaylist())&&!c?this.isFullscreen()&&((c=d[b.index])&&c.encrypted_id!==g.sV(b).videoId||(a.index=b.index)):V0(this.app,{list:a.list,index:a.index,playlist_length:d.length});hVa(this.app.getPlaylist(),a);this.Qa("onPlaylistUpdate")}else this.app.updatePlaylist()}; g.k.updateVideoData=function(a,b){var c=g.$T(this.app,this.playerType||1);c&&g.bT(c.getVideoData(),a,b)}; g.k.updateEnvironmentData=function(a){wPa(this.app.U(),a,!1)}; g.k.rba=function(a){this.app.sendVideoStatsEngageEvent(a,this.playerType)}; g.k.productsInVideoVisibilityUpdated=function(a){this.ra("changeProductsInVideoVisibility",a)}; g.k.setInline=function(a){this.app.setInline(a)}; g.k.isAtLiveHead=function(a,b){return this.app.isAtLiveHead(a,void 0===b?!0:b)}; g.k.getVideoAspectRatio=function(){return this.app.kb().getVideoAspectRatio()}; g.k.getPreferredQuality=function(){var a=g.$T(this.app);return a?a.getPreferredQuality():"unknown"}; g.k.getPlaybackQualityLabel=function(a){if(a=g.$T(this.app,a)){var b,c;return(null==(c=null==(b=a.getVideoData().B)?void 0:b.video)?void 0:c.qualityLabel)||""}return""}; g.k.setPlaybackQualityRange=function(a,b,c){var d=g.$T(this.app,this.playerType);d&&g.eab(d,g.AP(a,b||a,!0,"m"),!0,c)}; g.k.onAdUxClicked=function(a,b){this.ra("aduxclicked",a,b)}; g.k.showAirplayPicker=function(){this.app.showAirplayPicker()}; g.k.dispatchReduxAction=function(a){g.mT.dispatch(a)}; g.k.changeMarkerVisibility=function(a,b){var c=this.app.getVideoData(),d=!1;a?b.forEach(function(e){c.ze.includes(e)||(c.ze.push(e),d=!0)}):b.forEach(function(e){c.visibleOnLoadKeys.includes(e)||g.Fb(c.ze,e)&&(d=!0)}); d&&this.ra("updatemarkervisibility")}; g.k.highlightSettingsMenuItem=function(a){this.ra("highlightSettingsMenu",a)}; g.k.openSettingsMenuItem=function(a){this.ra("openSettingsMenuItem",a)}; g.k.A4=function(a,b){b=HSa(this,b);this.L("web_player_split_event_bus")?this.state.C.subscribe(a,b):this.app.Pk.subscribe(a,b)}; g.k.Qaa=function(a,b){b=ISa(this,b);this.L("web_player_split_event_bus")?this.state.C.unsubscribe(a,b):this.app.Pk.unsubscribe(a,b)}; g.k.ra=function(a){var b=g.Ka.apply(1,arguments);this.L("web_player_split_event_bus")?(this.state.G.ra.apply(this.state.G,[a].concat(g.qa(b))),JSa(a)&&(this.state.C.ra.apply(this.state.C,[a].concat(g.qa(b))),this.state.K.ra.apply(this.state.K,[a].concat(g.qa(b))))):(this.app.U().K&&JSa(a)&&this.app.Pk.ra.apply(this.app.Pk,[a].concat(g.qa(b))),this.app.Er.ra.apply(this.app.Er,[a].concat(g.qa(b))))}; g.k.Qa=function(a){var b=g.Ka.apply(1,arguments);this.app.Pk.ra.apply(this.app.Pk,[a].concat(g.qa(b)));this.app.Er.ra.apply(this.app.Er,[a].concat(g.qa(b)))}; g.k.getFeedbackProductData=function(){return this.app.getFeedbackProductData()}; g.k.setFauxFullscreen=function(a){g.vC();this.app.Bm(a?2:0)}; g.k.L=function(a){return this.app.U().L(a)}; g.k.Yf=function(){return g.aU(this).Yf()}; g.k.Kf=function(){return g.aU(this).Kf()}; g.k.Yj=function(){return g.aU(this).Yj()}; g.k.Jd=function(){return this.oh().Jd()}; g.k.gj=function(){var a=g.Ka.apply(0,arguments),b;(b=this.Jd()).gj.apply(b,g.qa(a))}; g.k.Hh=function(){this.Jd().Hh()}; g.k.AO=function(){this.Jd().AO()}; g.k.rh=function(){this.Jd().hide()}; g.k.EK=function(a,b,c,d,e,f,h,l){this.Jd().EK(a,b,c,d,e,f,h,l)}; g.k.GF=function(a,b){this.Jd().GF(a,b)}; g.k.Dr=function(a,b,c,d,e){this.oh().Dr(a,b,c,d,e)}; g.k.CF=function(a){this.Jd().DR(a)}; g.k.Aq=function(a){this.oh().Aq(a)}; g.k.Ns=function(a,b){this.oh().Ns(a,b)}; g.k.vp=function(a,b){this.oh().vp(a,b)}; g.k.Rj=function(){this.oh().Rj()}; g.k.tB=function(a,b){this.oh().tB(a,b)}; g.k.Lr=aa(6);g.k.mu=aa(8);g.k.Dm=aa(11);g.k.Cm=aa(14);g.k.ax=function(a,b){this.oh().ax(a,b)}; g.k.xp=function(){this.oh().xp()}; g.k.getDebugText=function(a){return this.app.getDebugText(a)}; g.k.ya=function(){if(this.state.element){var a=this.state.element,b;for(b in this.state.j)this.state.j.hasOwnProperty(b)&&(a[b]=null);this.state.element=null}g.J.prototype.ya.call(this)};g.w(eU,g.TT);g.k=eU.prototype;g.k.getApiInterface=function(){return Array.from(this.state.N)}; g.k.B4=function(a,b){b=HSa(this,b);this.L("web_player_split_event_bus")?this.state.Aa.subscribe(a,b):this.app.Pk.subscribe(a,b)}; g.k.Raa=function(a,b){b=ISa(this,b);this.L("web_player_split_event_bus")?this.state.Aa.unsubscribe(a,b):this.app.Pk.unsubscribe(a,b)}; g.k.r6=function(){return kbb(this.app)}; g.k.oba=function(a,b,c){DSa(this)&&(f1(this.app,!0,1),h1(this.app,a,b,c,1))}; g.k.e6=function(){return this.app.getCurrentTime(1)}; g.k.n6=function(){var a=this.app.bf(1);return isNaN(a)?this.getCurrentTime():a}; g.k.j6=function(){return this.app.getDuration(1)}; g.k.Cba=function(a){this.yK(a,!1)}; g.k.p8=function(){this.jJ(!1)}; g.k.mca=function(){this.UK(!1)}; g.k.getPlayerMode=function(){var a={};this.app.getVideoData().Ld&&(a.pfp={enableIma:this.app.U().ma&&this.app.Ed().allowImaMonetization,autoplay:IT(this.app.Ed()),mutedAutoplay:this.app.Ed().mutedAutoplay});return a}; g.k.raa=function(){f1(this.app,!0,1);this.JQ()}; g.k.pauseVideo=function(a){var b=this.app.getPresentingPlayerType();if(2!==b||this.app.Jf()||geb(IV(this.app.yb())))3===b?jU(this.app.yb()).AE("control_pause"):this.app.pauseVideo(b,a)}; g.k.Nba=function(){var a=this.app,b=!1;a.W.Fc&&(a.Wa.ra("pageTransition"),b=!0);a.stopVideo(b)}; g.k.clearVideo=function(){}; g.k.getAvailablePlaybackRates=function(){var a=this.app.U();return a.enableSpeedOptions?["https://admin.youtube.com","https://viacon.corp.google.com","https://yurt.corp.google.com"].includes(a.D?a.ancestorOrigins[0]:window.location.origin)||a.No?Bib:Aib:[1]}; g.k.getPlaybackQuality=function(a){return(a=g.$T(this.app,a))?a.getPlaybackQuality():"unknown"}; g.k.xba=function(){}; g.k.getAvailableQualityLevels=function(a){return(a=g.$T(this.app,a))?(a=g.lr(a.Vs(),function(b){return b.quality}),a.length&&("auto"===a[0]&&a.shift(),a=a.concat(["auto"])),a):[]}; g.k.b6=function(){return this.getAvailableQualityLevels(1)}; g.k.w6=function(){return this.JW()}; g.k.x6=function(){return 1}; g.k.JW=function(){return this.getVideoLoadedFraction()}; g.k.A6=function(){return 0}; g.k.getSize=function(){var a=this.app.kb().getPlayerSize();return{width:a.width,height:a.height}}; g.k.setSize=function(){this.app.kb().resize()}; g.k.M7=function(a,b,c){a=this.loadVideoById(a,b,c);f1(this.app,a,1)}; g.k.cueVideoById=function(a,b,c,d){a=ST(a,b,c);this.app.cueVideoByPlayerVars(a,d)}; g.k.m5=function(a,b,c){this.cueVideoById(a,b,c,1)}; g.k.O7=function(a,b,c){a=this.loadVideoByUrl(a,b,c);f1(this.app,a,1)}; g.k.cueVideoByUrl=function(a,b,c,d){a=xSa(a,b,c);this.app.cueVideoByPlayerVars(a,d)}; g.k.n5=function(a,b,c){this.cueVideoByUrl(a,b,c,1)}; g.k.C6=function(){var a=this.app.U();if(a.Aa)return"";var b=this.app.Ed(),c=void 0;b.isLivePlayback||(c=Math.floor(this.app.getCurrentTime(1)));return a.getVideoUrl(b.videoId,this.getPlaylistId()||void 0,c)}; g.k.g6=function(){return this.app.getDebugText()}; g.k.getVideoEmbedCode=function(){var a=this.app.U();if(a.Aa)return"";var b=this.app.Ed();return a.getVideoEmbedCode(b.isPrivate?"":b.title,this.app.Ed().videoId,this.app.kb().getPlayerSize(),this.getPlaylistId()||void 0)}; g.k.y4=function(a,b,c){return xbb(this.app,a,b,c)}; g.k.removeCueRange=function(a){return zbb(this.app,a)}; g.k.L7=function(a,b,c,d){this.loadPlaylist(a,b,c,d);f1(this.app,!0,1)}; g.k.cuePlaylist=function(a,b,c,d){this.app.cuePlaylist(a,b,c,d)}; g.k.q8=function(){this.nextVideo();f1(this.app,!0,1)}; g.k.Caa=function(){this.previousVideo();f1(this.app,!0,1)}; g.k.qaa=function(a){this.playVideoAt(a);f1(this.app,!0,1)}; g.k.setShuffle=function(a){var b=this.app.getPlaylist();b&&b.setShuffle(a)}; g.k.setLoop=function(a){var b=this.app.getPlaylist();b&&(b.loop=a)}; g.k.t6=function(){var a=this.app.getPlaylist();if(!a)return null;for(var b=[],c=0;ca)){var c=this.api.getVideoData(),d=c.Yk;if(d&&a=this.position&&(this.G=!0));this.element.style.left=this.position+"%";this.element.style.top=this.position+"%";this.D.start(2E4)};g.w(kUa,AU);g.w(kV,g.J);kV.prototype.j=function(){var a=(0,g.rD)()-this.startTime;a=aa&&this.delay.start()}; var Fjb=new av(0,0,.4,0,.2,1,1,1),qUa=/[0-9.-]+|[^0-9.-]+/g;g.w(lV,g.V);lV.prototype.onClick=function(){var a=this.api.app;a.Wa.Qa("SIZE_CLICKED",!a.aP);this.api.logClick(this.element)}; lV.prototype.Ra=function(){g.WF(this,this.api.YO()&&!this.api.isFullscreen()&&3!==this.api.getPresentingPlayerType());if(this.Cb){var a=this.api.hw();if(this.hw!==a){var b=a?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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"}}]}:{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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"}}]};null==this.hw?this.updateValue("icon",b):pUa(this.transition,this.element,b);this.hw=a;b=g.dU(this.api,"\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=g.dU(this.api,"\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d","t");this.updateValue("title",a?b:c);this.update({"data-title-no-tooltip":a?"\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": "\u0428\u0438\u0440\u043e\u043a\u0438\u0439 \u044d\u043a\u0440\u0430\u043d"});this.api.Hh()}}this.api.logVisibility(this.element,this.Cb)};g.w(rUa,AU);g.w(sUa,AU);mV.prototype.send=function(a,b){var c;return g.I(function(d){if(1==d.j)return g.Ca(d,2),g.y(d,UB(a,b),4);if(2!=d.j)return d.return(d.B);c=g.Ea(d);if(c instanceof TB)throw new $m(Zm(LB(c.xhr)),c.message);throw c;})}; mV.prototype.kD=function(a,b){var c=this,d,e,f,h,l,m;return g.I(function(n){if(1==n.j){var p=new Qn;d=xk(p,1,c.Wi);a&&xk(d,2,a);b&&xk(d,3,b);return g.y(n,c.send(c.B,Object.assign({},{postBody:d.Cj()},c.j)),2)}e=n.B;f=tfb(e.xhr.responseText);h=oj(f,2);if(!h.isEmpty()){if(g.eC()&&10>Goa())throw Error("Unsupported");l=tg(dda(h));return n.return(uga(l))}m=g.Jj(f,Bn,1);if(!m)throw Error("Missing field");return n.return(m)})}; mV.prototype.cW=function(a){var b=this,c,d;return g.I(function(e){if(1==e.j){var f=new Rn;f=xk(f,1,b.Wi);c=xk(f,2,a);return g.y(e,b.send(b.C,Object.assign({},{postBody:c.Cj()},b.j)),2)}d=e.B;return e.return(vfb(d.xhr.responseText))})};g.w(nV,AU);nV.prototype.ya=function(){this.C&&(g.QB(this.C),this.C=void 0);AU.prototype.ya.call(this)}; nV.prototype.IN=function(a){var b=this;return g.I(function(c){return b.j?c.return(b.j.ready().then(function(){b.Ub.Di("pot_if");return YUa(b,a)})):c.return(Promise.reject("web po not ready"))})}; nV.prototype.AP=function(a){return YUa(this,a)}; nV.prototype.sS=function(){this.j&&!this.j.isReady()&&oV(this)};g.w(ZUa,AU);g.w(pV,g.J);pV.prototype.j=function(){for(var a=g.v(g.Ka.apply(0,arguments)),b=a.next();!b.done;b=a.next())(b=b.value)&&this.features.push(b)}; pV.prototype.ya=function(){for(var a=this.features.length-1;0<=a;a--)this.features[a].dispose();this.features.length=0;g.J.prototype.ya.call(this)};qV.prototype.QP=function(){this.B=(0,g.rD)()}; qV.prototype.reset=function(){this.j=this.B=NaN}; qV.prototype.VP=function(a,b){if(a.clientPlaybackNonce&&!isNaN(this.j)){if(.01>Math.random()){b=b?"pbp":"pbs";var c={startTime:this.j};a.G&&(c.cttAuthInfo={token:a.G,videoId:a.videoId});NH("seek",c);g.MH({clientPlaybackNonce:a.clientPlaybackNonce},"seek");isNaN(this.B)||OH("pl_ss",this.B,"seek");OH(b,(0,g.rD)(),"seek")}this.reset()}};g.k=$Ua.prototype;g.k.reset=function(){KH(this.timerName)}; g.k.tick=function(a,b){OH(a,b,this.timerName)}; g.k.Di=function(a){return Mxa(a,this.timerName)}; g.k.Cu=function(a){JL(a,void 0,this.timerName)}; g.k.VD=function(a){g.MH(a,this.timerName)};g.w(dVa,g.PF);g.k=dVa.prototype;g.k.Vk=function(a){return this.loop||!!a||this.index+1([^<>]+)<\/a>/;g.w(bWa,g.V);g.k=bWa.prototype;g.k.onClick=function(a){g.EU(a,this.J,!0);this.J.logClick(this.element)}; g.k.onVideoDataChange=function(a,b){dWa(this,b);this.hf&&eWa(this,this.hf)}; g.k.Rd=function(a){var b=this.J.getVideoData();this.videoId!==b.videoId&&dWa(this,b);this.j&&eWa(this,a.state);this.hf=a.state}; g.k.rd=function(){this.D.show();this.J.ra("paidcontentoverlayvisibilitychange",!0);this.J.logVisibility(this.element,!0)}; g.k.Ob=function(){this.D.hide();this.J.ra("paidcontentoverlayvisibilitychange",!1);this.J.logVisibility(this.element,!1)};g.w(UV,g.V);UV.prototype.hide=function(){this.j.stop();this.message.style.display="none";g.V.prototype.hide.call(this)}; UV.prototype.onStateChange=function(a){this.Bc(a.state)}; UV.prototype.Bc=function(a){if(g.FG(a,128))var b=!1;else{var c;b=(null==(c=this.api.Bd())?0:c.Ft)?!1:g.FG(a,16)||g.FG(a,1)?!0:!1}b?this.j.start():this.hide()}; UV.prototype.B=function(){this.message.style.display="block"};g.w(VV,g.sU);VV.prototype.onMutedAutoplayChange=function(a){this.C&&(a?(fWa(this),this.rd()):(this.j&&this.logClick(),this.Ob()))}; VV.prototype.jk=function(a){this.api.isMutedByMutedAutoplay()&&g.HG(a,2)&&this.Ob()}; VV.prototype.onClick=function(){this.api.unMute();this.logClick()}; VV.prototype.logClick=function(){this.clicked||(this.clicked=!0,this.api.logClick(this.element))};g.w(g.WV,g.GK);g.k=g.WV.prototype;g.k.init=function(){var a=this.api,b=a.Qb();this.vI=a.getPlayerSize();this.vc(b);this.mq();this.Hb();this.api.ra("basechromeinitialized",this);this.iO()&&this.api.ra("standardControlsInitialized")}; g.k.onVideoDataChange=function(a,b){var c=this.kE!==b.videoId;if(c||"newdata"===a){a=this.api;a.isFullscreen()||(this.vI=a.getPlayerSize());var d;(null==(d=this.api.getVideoData(1))?0:g.MT(d))&&this.Dk()}c&&(this.kE=b.videoId,c=this.kf,c.Ea=3E3,MV(c,512,!0),this.mq());this.api.L("web_render_jump_buttons")&&b.showSeekingControls&&(this.z_=572)}; g.k.O9=function(){this.onVideoDataChange("newdata",this.api.getVideoData())}; g.k.ou=function(){var a=this.api.Kk()&&this.api.fp(),b=this.api.Qz();return this.hH||a||this.zO||b}; g.k.Dk=function(){var a=!this.ou();g.Nu(this.api.getRootNode(),"ytp-menu-shown",!a);var b;(null==(b=this.api.getVideoData(1))?0:g.MT(b))&&g.Nu(this.api.getRootNode(),"ytp-hide-controls",!a)}; g.k.VG=function(a){try{if(!g.yf(this.api.getRootNode(),a))return!1}catch(b){return!1}for(;a&&!Af(a);)a=a===this.api.getRootNode()?null:g.rf(a);return!!a}; g.k.Rn=function(a){var b=this.api.getRootNode();g.Nu(b,"ytp-autohide",a);g.Nu(b,"ytp-autohide-active",!0);this.bV.start(a?250:100);a&&(this.PK=!1,g.Lu(b,"ytp-touch-mode"));this.fN=!a;this.api.uK(!a)}; g.k.PP=function(){var a=this.api.getRootNode();g.Nu(a,"ytp-autohide-active",!1)}; g.k.s$=function(){this.hS=!0}; g.k.r$=function(a){if(this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)this.hS=!1,this.iS&&this.Kc(this.iS),0===this.vE&&XV(this,a)?(this.qI(),this.rH.start(),this.iS=this.T(this.api.kb(),"touchmove",this.s$,void 0,!0)):this.rH.stop();jWa(this)&&XV(this,a)&&!this.api.U().Z&&hWa(this);var b=this.nS.Xj();if(!g.VR(this.api.U())&&SR&&kWa(this,a))b&&a.preventDefault();else if(this.PK=!0,g.Ju(this.api.getRootNode(),"ytp-touch-mode"),this.kf.kq(),this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)if(b= this.api.Qb(),!(!this.api.Nh()||g.FG(b,2)&&g.hU(this.api)||g.FG(b,64))){b=Date.now()-this.MX;this.vE+=1;if(350>=b){this.bD=!0;b=this.api.getPlayerSize().width/3;var c=this.api.getRootNode().getBoundingClientRect(),d=a.targetTouches[0].clientX-c.left;c=a.targetTouches[0].clientY-c.top;var e=10*(this.vE-1);02*b&&d<3*b&&(this.lF(1,d,c,e),this.api.seekBy(10*this.api.getPlaybackRate()));a.preventDefault()}else NV&&this.api.U().Z&& XV(this,a)&&a.preventDefault();this.MX=Date.now();this.VZ.start()}}; g.k.q$=function(){this.BP.CO=!1;this.api.ra("rootnodemousedown",this.BP)}; g.k.m$=function(a){this.BP.CO||kWa(this,a)||(jWa(this)||!XV(this,a)||this.rH.isActive()||(hWa(this),a.preventDefault()),this.bD&&(this.bD=!1))}; g.k.qI=function(){}; g.k.lx=function(){}; g.k.lF=function(){}; g.k.ax=function(){}; g.k.Qr=function(){var a=this.api.Qb();g.FG(a,2)&&g.hU(this.api)||(g.DL(a)?this.api.pauseVideo():(this.cn&&(a=this.cn.C,document.activeElement===a.element&&this.api.ra("largeplaybuttonclicked",a.element)),this.api.jA(),this.api.playVideo(),this.cn&&document.activeElement===this.cn.C.element&&(null==(a=this.iO())?a=0:a.playButton?(a.playButton.focus(),a=!0):a=!1,a||this.api.getRootNode().focus())))}; g.k.n$=function(a){var b=this,c=this.api.getPresentingPlayerType();if(!iWa(this,CC(a)))if(a=this.api.U(),(this.api.U().L("player_doubletap_to_seek")||this.api.U().Z)&&this.bD)this.bD=!1;else if(a.Lb&&3!==c)try{this.api.toggleFullscreen().catch(function(d){b.OD(d)})}catch(d){this.OD(d)}}; g.k.OD=function(a){String(a).includes("fullscreen error")?g.xF(a):g.wF(a)}; g.k.o$=function(a){lWa(this,.3,a.scale);a.preventDefault()}; g.k.p$=function(a){lWa(this,.1,a.scale)}; g.k.Hb=function(){var a=this.api.kb().getPlayerSize(),b=this.api.getRootNode(),c=650<=a.width;this.kf.resize();g.Nu(b,"ytp-fullscreen",this.api.isFullscreen());g.Nu(b,"ytp-large-width-mode",c);g.Nu(b,"ytp-small-mode",this.Kf());g.Nu(b,"ytp-tiny-mode",this.FI());g.Nu(b,"ytp-big-mode",this.Yf());this.Eg&&this.Eg.resize(a)}; g.k.jk=function(a){this.vc(a.state);this.mq()}; g.k.mu=aa(7);g.k.XN=function(){var a=!!this.kE&&!this.api.zf()&&!this.DQ,b=2===this.api.getPresentingPlayerType(),c=this.api.U();if(b){if(Beb&&c.L("enable_visit_advertiser_support_on_ipad_mweb"))return!1;b=IV(this.api.yb());a&&(a=(a=b.player.getVideoData(2))?a.isListed&&!g.yJ(b.player.U()):!1);return a}return a&&(c.Pl||this.api.isFullscreen()||c.fl)}; g.k.mq=function(){var a=this.XN();this.Gn!==a&&(this.Gn=a,g.Nu(this.api.getRootNode(),"ytp-hide-info-bar",!a))}; g.k.vc=function(a){var b=a.isCued()||this.api.Ep()&&3!==this.api.getPresentingPlayerType();b!==this.isCued&&(this.isCued=b,this.jS&&this.Kc(this.jS),this.jS=this.T(this.api.kb(),"touchstart",this.r$,void 0,b));var c=a.isPlaying()&&!g.FG(a,32)||this.api.dE();MV(this.kf,128,!c);c=3===this.api.getPresentingPlayerType();MV(this.kf,256,c);c=this.api.getRootNode();if(g.FG(a,2))var d=[g3.ENDED];else d=[],g.FG(a,8)?d.push(g3.PLAYING):g.FG(a,4)&&d.push(g3.PAUSED),g.FG(a,1)&&!g.FG(a,32)&&d.push(g3.BUFFERING), g.FG(a,32)&&d.push(g3.SEEKING),g.FG(a,64)&&d.push(g3.UNSTARTED);g.Yb(this.pM,d)||(g.Mu(c,this.pM),this.pM=d,g.Ku(c,d));d=this.api.U();var e=g.FG(a,2);a:{var f=this.api.U();var h=f.controlsType;switch(h){case "2":case "0":f=!1;break a}f="3"===h&&!g.FG(a,2)||this.isCued||(2!==this.api.getPresentingPlayerType()?0:heb(IV(this.api.yb())))||this.api.Qz()||g.VR(f)&&2===this.api.getPresentingPlayerType()?!1:!0}g.Nu(c,"ytp-hide-controls",!f);g.Nu(c,"ytp-native-controls","3"===d.controlsType&&!b&&!e&&!this.zO); g.FG(a,128)&&!g.VR(d)?(this.Eg||(this.Eg=new g.QV(this.api),g.L(this,this.Eg),g.oU(this.api,this.Eg.element,4)),this.Eg.B(a.nh),this.Eg.show()):this.Eg&&(this.Eg.dispose(),this.Eg=null)}; g.k.Rj=function(){return this.api.Kk()&&this.api.fp()?(this.api.sB(!1,!1),!0):this.api.zf()?(g.iU(this.api,!0),!0):!1}; g.k.onMutedAutoplayChange=function(a){this.zO=a;this.Dk()}; g.k.Yf=function(){return!1}; g.k.Kf=function(){return!this.Yf()&&(this.api.getPlayerSize().widththis.api.getPlayerSize().height)}; g.k.FI=function(){return this.Kf()&&(240>this.api.getPlayerSize().width||140>this.api.getPlayerSize().height)}; g.k.Yj=function(){return this.PK}; g.k.xn=function(){return null}; g.k.IH=function(){return null}; g.k.Sk=function(){var a=this.api.kb().getPlayerSize();return new g.Sr(0,0,a.width,a.height)}; g.k.handleGlobalKeyDown=function(){return!1}; g.k.handleGlobalKeyUp=function(){return!1}; g.k.Dr=function(){}; g.k.showControls=function(a){void 0!==a&&this.api.kb().uK(a)}; g.k.kq=function(){}; g.k.iO=function(){return null}; g.k.YN=function(){return this.vI};g.w(YV,g.PF);g.k=YV.prototype;g.k.jn=function(){return 1E3*this.api.getDuration(this.Ao,!1)}; g.k.stop=function(){this.j&&this.Cd.Kc(this.j)}; g.k.Ec=function(){var a=this.api.getProgressState(this.Ao);this.B={seekableStart:a.seekableStart,seekableEnd:a.seekableEnd,current:this.api.getCurrentTime(this.Ao,!1)};this.ra("h")}; g.k.getProgressState=function(){return this.B}; g.k.Rd=function(a){g.HG(a,2)&&this.ra("g")};g.w(mWa,g.V);mWa.prototype.onClick=function(){this.J.Qa("BACK_CLICKED")};g.w(g.ZV,g.V);g.ZV.prototype.show=function(){g.V.prototype.show.call(this);g.Cu(this.j)}; g.ZV.prototype.hide=function(){this.B.stop();g.V.prototype.hide.call(this)}; g.ZV.prototype.lx=function(a){a?g.FG(this.J.Qb(),64)||$V(this,Ova(),"\u0421\u043c\u043e\u0442\u0440\u0435\u0442\u044c"):(a=this.J.getVideoData(),a.isLivePlayback&&!a.allowLiveDvr?$V(this,Sva(),"\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"):$V(this,Lva(),"\u041f\u0430\u0443\u0437\u0430"))};g.w(pWa,g.V);g.k=pWa.prototype;g.k.CF=function(a){a?this.j=cU(this.J,this.element,null):(this.j=this.j,this.j(),this.j=null)}; g.k.rd=function(){this.J.U().L("player_new_info_card_format")&&g.Iu(this.J.getRootNode(),"ytp-cards-teaser-shown")&&!g.VR(this.J.U())||(this.B.show(),g.AE("iv-button-shown"))}; g.k.Ob=function(){g.AE("iv-button-hidden");this.B.hide()}; g.k.Xj=function(){return this.Cb&&4!==this.B.state}; g.k.ya=function(){this.j&&this.j();g.V.prototype.ya.call(this)}; g.k.m9=function(){g.AE("iv-button-mouseover")}; g.k.T8=function(a){this.J.Kk();var b=g.Iu(this.J.getRootNode(),"ytp-cards-teaser-shown");g.AE("iv-teaser-clicked",b);var c;if(null==(c=this.J.getVideoData())?0:g.ET(c)){var d;a=null==(d=this.J.getVideoData())?void 0:g.FT(d);(null==a?0:a.onIconTapCommand)&&this.J.Qa("innertubeCommand",a.onIconTapCommand)}else d=0===a.screenX&&0===a.screenY,this.J.sB(!this.J.fp(),d,"YOUTUBE_DRAWER_MANUAL_OPEN")};g.w(qWa,g.V);g.k=qWa.prototype;g.k.o0=function(){this.J.Kk()&&this.J.fp()&&this.Xj()&&this.Ob()}; g.k.aS=function(){this.Ob();!this.J.Kk()&&this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Wg.Ob();g.AE("iv-teaser-clicked",null!=this.j);if(this.onClickCommand)this.J.Qa("innertubeCommand",this.onClickCommand);else{var a;(null==(a=this.J.getVideoData())?0:g.ET(a))||this.J.sB(!0,!1,"YOUTUBE_DRAWER_MANUAL_OPEN")}}; g.k.l3=function(){g.AE("iv-teaser-mouseover");this.j&&this.j.stop()}; g.k.N$=function(a){this.J.U().L("player_new_info_card_format")&&!g.VR(this.J.U())?this.Wg.Ob():this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Wg.rd();this.j||!a||this.J.fp()||this.B&&this.B.isActive()||(this.rd(a),g.AE("iv-teaser-shown"))}; g.k.rd=function(a){this.onClickCommand=a.onClickCommand;this.updateValue("text",a.teaserText);this.element.setAttribute("dir",g.$u(a.teaserText));this.D.show();this.B=new g.Bu(function(){g.Ju(this.J.getRootNode(),"ytp-cards-teaser-shown");this.J.L("player_new_info_card_format")&&!g.VR(this.J.U())&&this.Wg.Ob();this.NL()},0,this); this.B.start();this.Wg.CF(!1);this.j=new g.Bu(this.Ob,580+a.durationMs,this);this.j.start();this.G.push(this.Ta("mouseover",this.ST,this));this.G.push(this.Ta("mouseout",this.RT,this))}; g.k.NL=function(){if(!this.J.U().L("player_new_info_card_format")&&g.VR(this.J.U())&&this.Cb){var a=this.Wg.element.offsetLeft,b=g.Ye("ytp-cards-button-icon"),c=this.J.isFullscreen()?54:36;if(b){var d=a+b.offsetLeft;this.element.style.marginRight=this.Wg.element.offsetParent.offsetWidth-a-b.offsetLeft-c+"px";this.element.style.marginLeft=d+"px"}}}; g.k.X4=function(){g.VR(this.J.U())&&this.J.Kf()&&this.Cb&&this.Y.start()}; g.k.ST=function(){this.K.stop();this.j&&this.j.isActive()&&this.N.start()}; g.k.RT=function(){this.N.stop();this.j&&!this.j.isActive()&&this.K.start()}; g.k.A9=function(){this.j&&this.j.stop()}; g.k.z9=function(){this.Ob()}; g.k.Rp=function(){this.Ob()}; g.k.Ob=function(){!this.j||this.C&&this.C.isActive()||(g.AE("iv-teaser-hidden"),this.D.hide(),g.Lu(this.J.getRootNode(),"ytp-cards-teaser-shown"),this.C=new g.Bu(function(){for(var a=g.v(this.G),b=a.next();!b.done;b=a.next())this.Kc(b.value);this.G=[];this.j&&(this.j.dispose(),this.j=null);this.Wg.CF(!0);!this.J.Kk()&&this.J.U().L("enable_error_corrections_infocards_icon_web")&&this.Wg.Ob()},330,this),this.C.start())}; g.k.Xj=function(){return this.Cb&&4!==this.D.state}; g.k.ya=function(){var a=this.J.getRootNode();a&&g.Lu(a,"ytp-cards-teaser-shown");g.tb(this.B,this.C,this.j);g.V.prototype.ya.call(this)};var w3={},bW=(w3.BUTTON="ytp-button",w3.TITLE_NOTIFICATIONS="ytp-title-notifications",w3.TITLE_NOTIFICATIONS_ON="ytp-title-notifications-on",w3.TITLE_NOTIFICATIONS_OFF="ytp-title-notifications-off",w3.NOTIFICATIONS_ENABLED="ytp-notifications-enabled",w3);g.w(rWa,g.V); rWa.prototype.onClick=function(){this.api.logClick(this.element);var a=!this.j;this.updateValue("label",a?"\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\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":"\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\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"); this.updateValue("pressed",a);sWa(this,a)};g.Sa("yt.pubsub.publish",g.AE);g.w(g.dW,g.V);g.dW.prototype.D=function(){window.location.reload()}; g.dW.prototype.j=function(){g.Ju(this.element,"ytp-sb-subscribed")}; g.dW.prototype.B=function(){g.Lu(this.element,"ytp-sb-subscribed")};g.w(vWa,g.V);g.k=vWa.prototype;g.k.S8=function(a){this.api.logClick(this.j);var b=this.api.U();b.B||b.rb?xWa(this)&&(this.isExpanded()?this.eH():this.BH()):g.On(eW(this));a.preventDefault()}; g.k.pR=function(){zWa(this);this.channel.classList.remove("ytp-title-expanded")}; g.k.isExpanded=function(){return this.channel.classList.contains("ytp-title-expanded")}; g.k.BH=function(){if(xWa(this)&&!this.isExpanded()){this.updateValue("flyoutUnfocusable","false");this.updateValue("channelTitleFocusable","0");this.updateValue("shouldHideExpandedTitleForA11y","false");this.updateValue("shouldHideExpandedSubtitleForA11y","false");this.C&&this.C.stop();this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.api.logVisibility(this.channelName,!0);this.subscribeButton&&(this.subscribeButton.show(),this.api.logVisibility(this.subscribeButton.element,!0)); var a=this.api.getVideoData();this.B&&a.Ll&&a.subscribed&&(this.B.show(),this.api.logVisibility(this.B.element,!0));this.channel.classList.add("ytp-title-expanded");this.channel.classList.add("ytp-title-show-expanded")}}; g.k.eH=function(){this.updateValue("flyoutUnfocusable","true");this.updateValue("channelTitleFocusable","-1");this.updateValue("shouldHideExpandedTitleForA11y","true");this.updateValue("shouldHideExpandedSubtitleForA11y","true");this.C&&this.C.start()}; g.k.Ra=function(){var a=this.api.U();g.WF(this,!g.lU(this.api));var b=this.api.getVideoData(),c=this.api.U(),d=this.api.getVideoData();this.D=!1;var e=!!d.videoId&&!!d.hc&&!!d.profilePicture;2===this.api.getPresentingPlayerType()?this.D=e&&!!d.isListed&&!!d.author:g.VR(c)&&(this.D=e&&!(d.Ld&&c.ma)&&!c.C&&!(c.Z&&200>this.api.getPlayerSize().width));c=b.profilePicture;a=g.VR(a)?b.expandedTitle:b.author;c=void 0===c?"":c;a=void 0===a?"":a;this.D?(this.K!==c&&(this.j.style.backgroundImage="url("+c+")", this.K=c),this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelLink",eW(this)),this.updateValue("channelLogoLabel",g.bK('\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:a})),g.Ju(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Lu(this.api.getRootNode(),"ytp-title-enable-channel-logo");this.api.logVisibility(this.j,this.D&&this.Z);this.subscribeButton&& (this.subscribeButton.channelId=b.Jl);this.updateValue("expandedTitle",b.expandedTitle);this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelTitleLink",eW(this));this.updateValue("expandedSubtitle",b.expandedSubtitle)}; g.k.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.j,this.D&&a)};g.w(fW,g.XF);fW.prototype.KY=function(){this.ra("size-change")}; fW.prototype.focus=function(){this.content.focus()}; fW.prototype.FY=function(){this.ra("back")};g.w(g.gW,fW);g.k=g.gW.prototype;g.k.md=function(a,b){if(void 0===b?0:b)this.items.push(a),this.menuItems.element.appendChild(a.element);else{b=g.Vb(this.items,a,BWa);if(0<=b)return;b=~b;g.Rb(this.items,b,0,a);g.pf(this.menuItems.element,a.element,b)}a.subscribe("size-change",this.kQ,this);this.menuItems.ra("size-change")}; g.k.Ah=function(a){a.unsubscribe("size-change",this.kQ,this);this.isDisposed()||(g.Fb(this.items,a),this.menuItems.element.removeChild(a.element),this.menuItems.ra("size-change"))}; g.k.kQ=function(){this.menuItems.ra("size-change")}; g.k.focus=function(){for(var a=0,b=0;bb.top&&b.right>b.left?b:null;b=this.size;a=a.clone();b=b.clone();d&&(h=b,e=5,65==(e&65)&&(a.x=d.right)&&(e&=-2),132==(e&132)&&(a.y< d.top||a.y>=d.bottom)&&(e&=-5),a.xd.right&&(h.width=Math.min(d.right-a.x,f+h.width-d.left),h.width=Math.max(h.width,0))),a.x+h.width>d.right&&e&1&&(a.x=Math.max(d.right-h.width,d.left)),a.yd.bottom&&(h.height=Math.min(d.bottom-a.y,f+h.height-d.top),h.height=Math.max(h.height,0))),a.y+h.height>d.bottom&&e&4&&(a.y=Math.max(d.bottom-h.height,d.top))); d=new g.Sr(0,0,0,0);d.left=a.x;d.top=a.y;d.width=b.width;d.height=b.height;g.as(this.element,new g.re(d.left,d.top));g.GC(this.D);this.D.T(document,"contextmenu",this.e9);this.D.T(this.J,"fullscreentoggled",this.onFullscreenToggled);this.D.T(this.J,"pageTransition",this.q3)}; g.k.e9=function(a){if(!a.defaultPrevented){var b=CC(a);g.yf(this.element,b)||this.Ob();this.J.U().disableNativeContextMenu&&a.preventDefault()}}; g.k.onFullscreenToggled=function(){this.Ob();LWa(this)}; g.k.q3=function(){this.Ob()};g.w(g.oW,g.V);g.oW.prototype.onClick=function(){var a=this,b,c,d,e;return g.I(function(f){if(1==f.j)return b=a.api.U(),c=a.api.getVideoData(),d=a.api.getPlaylistId(),e=b.getVideoUrl(c.videoId,d,void 0,!0),g.y(f,OWa(a,e),2);f.B&&NWa(a);a.api.logClick(a.element);g.Aa(f)})}; g.oW.prototype.Ra=function(){this.updateValue("icon",{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"M21.9,8.3H11.3c-0.9,0-1.7,.8-1.7,1.7v12.3h1.7V10h10.6V8.3z M24.6,11.8h-9.7c-1,0-1.8,.8-1.8,1.8v12.3 c0,1,.8,1.8,1.8,1.8h9.7c1,0,1.8-0.8,1.8-1.8V13.5C26.3,12.6,25.5,11.8,24.6,11.8z M24.6,25.9h-9.7V13.5h9.7V25.9z"}}]});this.updateValue("title-attr","\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443"); this.visible=MWa(this);g.Nu(this.element,"ytp-copylink-button-visible",this.visible);g.WF(this,this.visible);this.tooltip.Hh();this.api.logVisibility(this.element,this.visible&&this.Z)}; g.oW.prototype.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; g.oW.prototype.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.element,"ytp-copylink-button-visible")};g.w(pW,g.V);pW.prototype.show=function(){g.V.prototype.show.call(this);g.Cu(this.B)}; pW.prototype.hide=function(){this.D.stop();this.C=0;g.Lu(this.element,"ytp-chapter-seek");g.Lu(this.element,"ytp-time-seeking");g.V.prototype.hide.call(this)}; pW.prototype.lF=function(a,b,c,d){this.C=a===this.K?this.C+d:d;this.K=a;var e=-1===a?this.Y:this.N;e&&this.J.logClick(e);this.G?this.B.stop():g.Eu(this.B);this.D.start();this.element.setAttribute("data-side",-1===a?"back":"forward");var f=3*this.J.kb().getPlayerSize().height;e=this.J.kb().getPlayerSize();e=e.width/3-3*e.height;this.j.style.width=f+"px";this.j.style.height=f+"px";1===a?(this.j.style.left="",this.j.style.right=e+"px"):-1===a&&(this.j.style.right="",this.j.style.left=e+"px");var h=2.5* f;f=h/2;var l=this.Ha("ytp-doubletap-ripple");l.style.width=h+"px";l.style.height=h+"px";1===a?(a=this.J.kb().getPlayerSize().width-b+Math.abs(e),l.style.left="",l.style.right=a-f+"px"):-1===a&&(a=Math.abs(e)+b,l.style.right="",l.style.left=a-f+"px");l.style.top="calc((33% + "+Math.round(c)+"px) - "+f+"px)";if(c=this.Ha("ytp-doubletap-ripple"))c.classList.remove("ytp-doubletap-ripple"),c.classList.add("ytp-doubletap-ripple");PWa(this,this.G?this.C:d)};g.w(tW,g.V);g.k=tW.prototype;g.k.nJ=function(){}; g.k.xE=function(){}; g.k.zB=function(){return!0}; g.k.Kba=function(){if(this.expanded){this.Sa.show();var a=this.D.element.scrollWidth}else a=this.D.element.scrollWidth,this.Sa.hide();this.sb=34+a;g.Nu(this.badge.element,"ytp-suggested-action-badge-expanded",this.expanded);this.badge.element.style.width=(this.expanded?34:this.sb)+"px";this.Na.start()}; g.k.I5=function(){this.badge.element.style.width=(this.expanded?this.sb:34)+"px";this.Va.start()}; g.k.qJ=function(a){this.Y=a;sW(this);rW(this);this.Im()}; g.k.tca=function(){g.Nu(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!0)}; g.k.AK=function(){return this.ma||this.Y||!this.K}; g.k.Im=function(){this.zB()?this.N.show():this.N.hide();RWa(this)}; g.k.TT=function(){this.enabled=!1;this.Im()}; g.k.sca=function(){this.Im()}; g.k.O8=function(a){this.bb=1===a;this.Im();g.Nu(this.badge.element,"ytp-suggested-action-badge-with-offline-slate",!1)}; g.k.h9=function(){g.Nu(this.badge.element,"ytp-suggested-action-badge-fullscreen",this.J.isFullscreen());this.Im()};g.w(TWa,tW);g.k=TWa.prototype;g.k.n9=function(){this.J.Qa("innertubeCommand",this.ac);this.J.logClick(this.infoButton.element)}; g.k.zB=function(){return!!this.j}; g.k.AK=function(){return!!this.j}; g.k.nJ=function(a){a.target===this.dismissButton.element||a.target===this.infoButton.element?a.preventDefault():(this.Db&&this.J.Qa("innertubeCommand",this.Db),uW(this,!1))}; g.k.xE=function(){uW(this,!0);var a,b;(null==(a=this.j)?0:null==(b=a.bannerData)?0:b.dismissedStatusKey)&&this.rb.push(this.j.bannerData.dismissedStatusKey);this.gB()}; g.k.TT=function(){this.gB();vW(this)}; g.k.vba=function(a){var b=this,c;if(a.id!==(null==(c=this.j)?void 0:c.identifier)){this.gB();c=g.v(this.oa);for(var d=c.next();!d.done;d=c.next()){var e=d.value,f=void 0,h=void 0;if((d=null==(f=e)?void 0:null==(h=f.bannerData)?void 0:h.itemData)&&e.identifier===a.id){h=f=void 0;var l=(null==(f=e)?void 0:null==(h=f.bannerData)?void 0:h.dismissedStatusKey)||"";if(this.rb.includes(l))break;this.j=e;this.banner.element.setAttribute("aria-label",d.accessibilityLabel||"");d.trackingParams&&(this.B=!0,this.J.setTrackingParams(this.badge.element, d.trackingParams));this.N.show();sW(this);g.WF(this.Aa,!d.stayInApp);$Wa(this);YWa(this);this.Db=g.U(d.onTapCommand,LF);e=d.thumbnailSources||[];f=this.J.L("enable_out_of_stock_text_all_surfaces");h=void 0;this.banner.update({thumbnail:null==(h=e[0])?void 0:h.url,title:d.productTitle,price:f&&d.priceReplacementText?d.priceReplacementText:d.price,affiliateDisclaimer:d.affiliateDisclaimer,vendor:UWa(this)});l=h=f=e=void 0;(null==(e=d)?0:null==(f=e.hiddenProductOptions)?0:f.showDropCountdown)&&(null== (h=d)?0:null==(l=h.hiddenProductOptions)?0:l.dropTimestampMs)&&(this.gb=new g.Bu(function(){ZWa(b)},1E3),this.Aa.hide(),this.countdownTimer.show(),ZWa(this))}}}}; g.k.gB=function(){this.j&&(this.j=void 0,this.Im())}; g.k.onVideoDataChange=function(a,b){var c=this;"dataloaded"===a&&vW(this);a=this.J.L("web_player_enable_vod_featured_product_banner_on_desktop");var d,e,f=null==b?void 0:null==(d=b.getPlayerResponse())?void 0:null==(e=d.videoDetails)?void 0:e.isLiveContent;if(a||f){this.J.L("web_player_enable_info_button_in_banner_on_desktop")&&a&&!f?this.infoButton.show():this.infoButton.hide();var h,l,m;b=g.U(null==(h=b.getWatchNextResponse())?void 0:null==(l=h.playerOverlays)?void 0:null==(m=l.playerOverlayRenderer)? void 0:m.productsInVideoOverlayRenderer,Phb);var n=null==b?void 0:b.featuredProductsEntityKey;this.trendingOfferEntityKey=null==b?void 0:b.trendingOfferEntityKey;var p;if(h=null==b?void 0:null==(p=b.dismissButton)?void 0:p.trackingParams)this.J.setTrackingParams(this.dismissButton.element,h),this.C=!0;var q;(p=null==b?void 0:null==(q=b.dismissButton)?void 0:q.a11yLabel)&&this.dismissButton.element.setAttribute("aria-label",g.$F(p));this.ac=null==b?void 0:b.onClickCommand;this.oa.length||(WWa(this, n),YWa(this));var r;null==(r=this.Lb)||r.call(this);this.Lb=g.mT.subscribe(function(){WWa(c,n);YWa(c)})}else{var t; null==(t=this.Lb)||t.call(this);this.gB()}}; g.k.ya=function(){vW(this);$Wa(this);tW.prototype.ya.call(this)};g.w(eXa,g.V);eXa.prototype.onClick=function(){this.J.logClick(this.element,this.B)};g.w(fXa,g.sU);g.k=fXa.prototype;g.k.show=function(){g.sU.prototype.show.call(this);this.J.ra("infopaneldetailvisibilitychange",!0);this.J.logVisibility(this.element,!0);gXa(this,!0)}; g.k.hide=function(){g.sU.prototype.hide.call(this);this.J.ra("infopaneldetailvisibilitychange",!1);this.J.logVisibility(this.element,!1);gXa(this,!1)}; g.k.getId=function(){return this.D}; g.k.zp=function(){return this.itemData.length}; g.k.onVideoDataChange=function(a,b){if(b){var c,d,e,f;this.update({title:(null==(c=b.Fm)?void 0:null==(d=c.title)?void 0:d.content)||"",body:(null==(e=b.Fm)?void 0:null==(f=e.bodyText)?void 0:f.content)||""});var h;a=(null==(h=b.Fm)?void 0:h.trackingParams)||null;this.J.setTrackingParams(this.element,a);h=g.v(this.itemData);for(a=h.next();!a.done;a=h.next())a.value.dispose();this.itemData=[];var l;if(null==(l=b.Fm)?0:l.ctaButtons)for(b=g.v(b.Fm.ctaButtons),l=b.next();!l.done;l=b.next())if(l=g.U(l.value, Ggb))l=new eXa(this.J,l,this.j),l.Fe&&(this.itemData.push(l),l.Da(this.items))}}; g.k.ya=function(){this.hide();g.sU.prototype.ya.call(this)};g.w(jXa,g.V);g.k=jXa.prototype;g.k.onVideoDataChange=function(a,b){iXa(this,b);this.hf&&lXa(this,this.hf)}; g.k.Rd=function(a){var b=this.J.getVideoData();this.videoId!==b.videoId&&iXa(this,b);lXa(this,a.state);this.hf=a.state}; g.k.LY=function(a){(this.D=a)?this.hide():this.j&&this.show()}; g.k.t3=function(){this.B||this.rd();this.showControls=!0}; g.k.s3=function(){this.B||this.Ob();this.showControls=!1}; g.k.rd=function(){this.j&&!this.D&&(this.C.show(),this.J.ra("infopanelpreviewvisibilitychange",!0),this.J.logVisibility(this.element,!0))}; g.k.Ob=function(){this.j&&!this.D&&(this.C.hide(),this.J.ra("infopanelpreviewvisibilitychange",!1),this.J.logVisibility(this.element,!1))}; g.k.zba=function(){this.B=!1;this.showControls||this.Ob()};var Hjb={"default":0,monoSerif:1,propSerif:2,monoSans:3,propSans:4,casual:5,cursive:6,smallCaps:7};Object.keys(Hjb).reduce(function(a,b){a[Hjb[b]]=b;return a},{}); var Ijb={none:0,raised:1,depressed:2,uniform:3,dropShadow:4};Object.keys(Ijb).reduce(function(a,b){a[Ijb[b]]=b;return a},{}); var Jjb={normal:0,bold:1,italic:2,bold_italic:3};Object.keys(Jjb).reduce(function(a,b){a[Jjb[b]]=b;return a},{});var Kjb,Ljb;Kjb=[{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"}]; Ljb=[{option:0,text:wW(0)},{option:.25,text:wW(.25)},{option:.5,text:wW(.5)},{option:.75,text:wW(.75)},{option:1,text:wW(1)}]; g.AW=[{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:Kjb},{option:"fontSizeIncrement", text:"\u0420\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430",options:[{option:-2,text:wW(.5)},{option:-1,text:wW(.75)},{option:0,text:wW(1)},{option:1,text:wW(1.5)},{option:2,text:wW(2)},{option:3,text:wW(3)},{option:4,text:wW(4)}]},{option:"background",text:"\u0426\u0432\u0435\u0442 \u0444\u043e\u043d\u0430",options:Kjb},{option:"backgroundOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u0444\u043e\u043d\u0430",options:Ljb},{option:"windowColor", text:"\u0426\u0432\u0435\u0442 \u043e\u043a\u043d\u0430",options:Kjb},{option:"windowOpacity",text:"\u041f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0441\u0442\u044c \u043e\u043a\u043d\u0430",options:Ljb},{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:wW(.25)},{option:.5,text:wW(.5)},{option:.75,text:wW(.75)},{option:1,text:wW(1)}]}];var Mjb=[27,9,33,34,13,32,187,61,43,189,173,95,79,87,67,80,78,75,70,65,68,87,83,107,221,109,219];g.w(g.zW,g.GK);g.k=g.zW.prototype; g.k.TW=function(a){a.repeat||(this.C.uI=!1);var b=!1,c=a.keyCode,d=CC(a),e=!a.altKey&&!a.ctrlKey&&!a.metaKey&&(!g.ZT(this.api.app)||Mjb.includes(c)),f=!1,h=!1,l=this.api.U();a.defaultPrevented?(e=!1,h=!0):l.Qe&&!g.ZT(this.api.app)&&(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 38:f=Math.min(this.api.getVolume()+5,100);aW(this.Tc,f,!1);this.api.setVolume(f);h=f=!0;break;case 40:f=Math.max(this.api.getVolume()-5,0); aW(this.Tc,f,!0);this.api.setVolume(f);h=f=!0;break;case 36:this.api.Nh()&&(this.api.startSeekCsiAction(),this.api.seekTo(0,void 0,void 0,void 0,79),h=f=!0);break;case 35:this.api.Nh()&&(this.api.startSeekCsiAction(),this.api.seekTo(Infinity,void 0,void 0,void 0,80),h=f=!0)}}b&&yW(this,!0);(b||h)&&this.kf.kq();(f||e&&this.handleGlobalKeyDown(c,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code,a.repeat))&&a.preventDefault();l.K&&(a={keyCode:a.keyCode,altKey:a.altKey,ctrlKey:a.ctrlKey,metaKey:a.metaKey, shiftKey:a.shiftKey,handled:a.defaultPrevented,fullscreen:this.api.isFullscreen()},this.api.Qa("onKeyPress",a))}; g.k.UW=function(a){this.handleGlobalKeyUp(a.keyCode,a.shiftKey,a.ctrlKey,a.altKey,a.metaKey,a.key,a.code)&&a.preventDefault()}; g.k.handleGlobalKeyUp=function(a,b,c,d,e,f,h){this.api.ra("keyboardserviceglobalkeyup",{keyCode:a,shiftKey:b,ctrlKey:c,altKey:d,metaKey:e,key:f,code:h});b=!1;if(this.C.uI)return b;(c=g.mU(this.api.yb()))&&(c=c.wu)&&c.Cb&&(c.OW(a),b=!0);switch(a){case 9:yW(this,!0);b=!0;break;case 32:if(this.api.L("web_speedmaster_spacebar_control")&&!this.G&&!this.api.U().Qe){var l,m;a=null==(l=this.Oc)?void 0:null==(m=l.B)?void 0:m.isEnabled;b=this.Qr(a)}}return b}; g.k.handleGlobalKeyDown=function(a,b,c,d,e,f,h,l){l||(this.C.uI=!1);var m=!1,n=this.api.U();if(n.Qe&&!g.ZT(this.api.app))return m;var p=g.mU(this.api.yb());if(p&&(p=p.wu)&&p.Cb)switch(a){case 65:case 68:case 87:case 83:case 107:case 221:case 109:case 219:m=p.NW(a)}n.N||m||(m=f||String.fromCharCode(a).toLowerCase(),this.B+=m,0==="awesome".indexOf(this.B)?(m=!0,7===this.B.length&&$ka(this.api.getRootNode(),"ytp-color-party")):(this.B=m,m=0==="awesome".indexOf(this.B)));if(!m&&(!g.ZT(this.api.app)|| Mjb.includes(a))){var q=this.api.getVideoData(),r,t;p=null==(r=this.Oc)?void 0:null==(t=r.B)?void 0:t.isEnabled;r=q?q.Yk:[];t=TY?d:c;switch(a){case 80:b&&!n.Sa&&($V(this.Tc,Pva(),"\u041d\u0430\u0437\u0430\u0434"),this.api.previousVideo(),m=!0);break;case 78:b&&!n.Sa&&($V(this.Tc,Iva(),"\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435"),this.api.nextVideo(),m=!0);break;case 74:this.api.Nh()&&(this.api.startSeekCsiAction(),this.j?qW(this.j,-1,10):$V(this.Tc,{I:"svg",X:{height:"100%",version:"1.1", viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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.api.seekBy(-10*this.api.getPlaybackRate(),void 0,void 0,73),m=!0);break;case 76:this.api.Nh()&&(this.api.startSeekCsiAction(),this.j?qW(this.j,1,10):$V(this.Tc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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.api.seekBy(10*this.api.getPlaybackRate(),void 0,void 0,74),m=!0);break;case 37:this.api.Nh()&&(this.api.startSeekCsiAction(),t?(t=oXa(r,1E3*this.api.getCurrentTime()),-1!==t&&null!=this.j&&(QWa(this.j,-1,r[t].title),this.api.seekTo(r[t].startTime/1E3,void 0,void 0,void 0,53),m=!0)):(this.j?qW(this.j,-1,5):$V(this.Tc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"M 18,11 V 7 l -5,5 5,5 v -4 c 3.3,0 6,2.7 6,6 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 h -2 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 0,-4.4 -3.6,-8 -8,-8 z m -1.3,8.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.4,.3 C 18.5,22 18.2,22 18,22 17.8,22 17.6,22 17.5,21.9 17.4,21.8 17.2,21.8 17,21.7 16.8,21.6 16.8,21.5 16.7,21.3 16.6,21.1 16.6,21 16.6,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.5,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.7 z"}}]}), this.api.seekBy(-5*this.api.getPlaybackRate(),void 0,void 0,71),m=!0));break;case 39:this.api.Nh()&&(this.api.startSeekCsiAction(),t?(t=nXa(r,1E3*this.api.getCurrentTime()),-1!==t&&null!=this.j&&(QWa(this.j,1,r[t].title),this.api.seekTo(r[t].startTime/1E3,void 0,void 0,void 0,52),m=!0)):(null!=this.j?qW(this.j,1,5):$V(this.Tc,{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 10,19 c 0,4.4 3.6,8 8,8 4.4,0 8,-3.6 8,-8 h -2 c 0,3.3 -2.7,6 -6,6 -3.3,0 -6,-2.7 -6,-6 0,-3.3 2.7,-6 6,-6 v 4 l 5,-5 -5,-5 v 4 c -4.4,0 -8,3.6 -8,8 z m 6.7,.9 .2,-2.2 h 2.4 v .7 h -1.7 l -0.1,.9 c 0,0 .1,0 .1,-0.1 0,-0.1 .1,0 .1,-0.1 0,-0.1 .1,0 .2,0 h .2 c .2,0 .4,0 .5,.1 .1,.1 .3,.2 .4,.3 .1,.1 .2,.3 .3,.5 .1,.2 .1,.4 .1,.6 0,.2 0,.4 -0.1,.5 -0.1,.1 -0.1,.3 -0.3,.5 -0.2,.2 -0.3,.2 -0.5,.3 C 18.3,22 18.1,22 17.9,22 17.7,22 17.5,22 17.4,21.9 17.3,21.8 17.1,21.8 16.9,21.7 16.7,21.6 16.7,21.5 16.6,21.3 16.5,21.1 16.5,21 16.5,20.8 h .8 c 0,.2 .1,.3 .2,.4 .1,.1 .2,.1 .4,.1 .1,0 .2,0 .3,-0.1 L 18.4,21 c 0,0 .1,-0.2 .1,-0.3 v -0.6 l -0.1,-0.2 -0.2,-0.2 c 0,0 -0.2,-0.1 -0.3,-0.1 h -0.2 c 0,0 -0.1,0 -0.2,.1 -0.1,.1 -0.1,0 -0.1,.1 0,.1 -0.1,.1 -0.1,.1 h -0.6 z"}}]}), this.api.seekBy(5*this.api.getPlaybackRate(),void 0,void 0,72),m=!0));break;case 77:this.api.isMuted()?(this.api.unMute(),aW(this.Tc,this.api.getVolume(),!1)):(this.api.mute(),aW(this.Tc,0,!0));m=!0;break;case 32:m=this.api.L("web_speedmaster_spacebar_control")?!this.api.U().Sa:this.Qr(p);break;case 75:m=this.Qr(p);break;case 190:b?n.enableSpeedOptions&&(m=this.api.getPlaybackRate(),this.api.setPlaybackRate(m+.25,!0),nWa(this.Tc,!1),m=!0):this.api.Nh()&&(this.step(1),m=!0);break;case 188:b?n.enableSpeedOptions&& (m=this.api.getPlaybackRate(),this.api.setPlaybackRate(m-.25,!0),nWa(this.Tc,!0),m=!0):this.api.Nh()&&(this.step(-1),m=!0);break;case 70:fTa(this.api)&&(this.api.toggleFullscreen().catch(function(){}),m=!0); break;case 27:p?(this.Oc.xp(),m=!0):this.K()&&(m=!0)}if("3"!==n.controlsType)switch(a){case 67:g.FV(this.api.yb())&&(n=this.api.getOption("captions","track"),this.api.toggleSubtitles(),oWa(this.Tc,!n||n&&!n.displayName),m=!0);break;case 79:BW(this,"textOpacity");break;case 87:BW(this,"windowOpacity");break;case 187:case 61:BW(this,"fontSizeIncrement",!1,!0);break;case 189:case 173:BW(this,"fontSizeIncrement",!0,!0)}var u;b||c||d||(48<=a&&57>=a?u=a-48:96<=a&&105>=a&&(u=a-96));null!=u&&this.api.Nh()&& (this.api.startSeekCsiAction(),n=this.api.getProgressState(),this.api.seekTo(u/10*(n.seekableEnd-n.seekableStart)+n.seekableStart,void 0,void 0,void 0,81),m=!0);m&&this.kf.kq()}this.G||this.api.ra("keyboardserviceglobalkeydown",{keyCode:a,shiftKey:b,ctrlKey:c,altKey:d,metaKey:e,key:f,code:h,repeat:l},this.C);return m}; g.k.step=function(a){this.api.Nh();if(this.api.Qb().isPaused()){var b=this.api.getVideoData().B;b&&(b=b.video)&&this.api.seekBy(a/(b.fps||30),void 0,void 0,0this.api.kb().getPlayerSize().width&&!a);g.lU(this.api)?this.hide():this.playlist&&2!==this.api.getPresentingPlayerType()?(this.update({text:g.bK("$CURRENT_POSITION/$PLAYLIST_LENGTH",{CURRENT_POSITION:String(this.playlist.index+1),PLAYLIST_LENGTH:String(this.playlist.getLength())}),title:g.bK('\u041f\u043b\u0435\u0439\u043b\u0438\u0441\u0442 "$PLAYLIST_NAME"',{PLAYLIST_NAME:this.playlist.title})}), this.Cb||(this.show(),this.api.Hh()),this.visible=!0,this.Zb(!0)):this.Cb&&this.hide()}; DW.prototype.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; DW.prototype.j=function(){this.playlist&&this.playlist.unsubscribe("shuffle",this.Ra,this);(this.playlist=this.api.getPlaylist())&&this.playlist.subscribe("shuffle",this.Ra,this);this.Ra()};g.w(wXa,g.V);g.k=wXa.prototype;g.k.w3=function(){this.D?AXa(this):zXa(this)}; g.k.v3=function(){this.D?(EW(this),this.K=!0):zXa(this)}; g.k.w8=function(){this.G=!0;this.zF(1);this.J.ra("promotooltipacceptbuttonclicked",this.acceptButton);EW(this);this.B&&this.J.logClick(this.acceptButton)}; g.k.c9=function(){this.G=!0;this.zF(2);EW(this);this.B&&this.J.logClick(this.dismissButton)}; g.k.x3=function(a){if(1===this.J.getPresentingPlayerType()||2===this.J.getPresentingPlayerType()&&this.N){var b=!0,c=g.Ye("ytp-ad-overlay-ad-info-dialog-container"),d=CC(a);if(this.C&&d&&g.yf(this.C,d))this.C=null;else{1===this.J.getPresentingPlayerType()&&d&&Array.from(d.classList).forEach(function(l){l.startsWith("ytp-ad")&&(b=!1)}); var e=BXa(this.tooltipRenderer),f;if("TOOLTIP_DISMISS_TYPE_TAP_ANYWHERE"===(null==(f=this.tooltipRenderer.dismissStrategy)?void 0:f.type))e&&(b=b&&!g.yf(this.element,d));else{var h;"TOOLTIP_DISMISS_TYPE_TAP_INTERNAL"===(null==(h=this.tooltipRenderer.dismissStrategy)?void 0:h.type)&&(b=e?!1:b&&g.yf(this.element,d))}this.j&&this.Cb&&!c&&(!d||b&&g.PG(a))&&(this.G=!0,EW(this))}}}; g.k.zF=function(a){var b=this.tooltipRenderer.promoConfig;if(b){switch(a){case 0:var c;if(null==(c=b.impressionEndpoints)?0:c.length)var d=b.impressionEndpoints[0];break;case 1:d=b.acceptCommand;break;case 2:d=b.dismissCommand}var e;a=null==(e=g.U(d,Fgb))?void 0:e.feedbackToken;d&&a&&(e={feedbackTokens:[a]},a=this.J.un(),(null==a?0:Uwa(d,a.wN))&&RH(a,d,e))}}; g.k.Hb=function(){this.K||(this.j||(this.j=xXa(this)),AXa(this))}; var yXa={"ytp-settings-button":g.Rva()};g.w(FW,g.V);FW.prototype.onStateChange=function(a){this.Bc(a.state)}; FW.prototype.Bc=function(a){g.WF(this,g.FG(a,2))}; FW.prototype.onClick=function(){this.J.Qb();this.J.playVideo()};g.w(GW,g.V);GW.prototype.onClick=function(a){this.api.logClick(this.element);var b=g.Ml(this.api.U().Ka,{focusSearch:"true"}),c={};g.XT(this.api,"addEmbedsConversionTrackingParams",[c]);g.uP(c,"emb_search");b=g.Ml(b,c);g.On(b);a.preventDefault()}; GW.prototype.j=function(){if(this.api.L("embeds_web_enable_search_button")){var a=this.api.U();var b=this.api.getVideoData(),c=this.api.kb().getPlayerSize().width;a=g.VR(a)&&c>=this.B&&!a.C&&!b.isAd()&&!g.lU(this.api)}else a=!1;this.visible=a;g.WF(this,this.visible);g.Nu(this.element,"ytp-search-button-visible",this.visible);g.Nu(this.element,"ytp-show-search-title",!this.api.Kf());this.api.logVisibility(this.element,this.visible&&this.Z)}; GW.prototype.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.element,this.visible&&a)};g.w(g.HW,g.V);g.k=g.HW.prototype;g.k.Dm=aa(10);g.k.onClick=function(){var a=this,b=this.api.U(),c=this.api.getVideoData(this.api.getPresentingPlayerType()),d=this.api.getPlaylistId();b=b.getVideoUrl(c.videoId,d,void 0,!0);if(navigator.share)try{var e=navigator.share({title:c.title,url:b});e instanceof Promise&&e.catch(function(f){DXa(a,f)})}catch(f){f instanceof Error&&DXa(this,f)}else this.od.Rj(),tU(this.B,this.element,!1); this.api.logClick(this.element)}; g.k.Ra=function(){var a=this.api.U(),b=g.lU(this.api);g.Nu(this.element,"ytp-show-share-title",g.VR(a)&&!g.dS(a)&&!b);this.od.Yf()&&b?(a=(this.api.kb().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Vr(this.element,"right",a+"px")):b&&g.Vr(this.element,"right","0px");this.updateValue("icon",{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 20.20,14.19 0,-4.45 7.79,7.79 -7.79,7.79 0,-4.56 C 16.27,20.69 12.10,21.81 9.34,24.76 8.80,25.13 7.60,27.29 8.12,25.65 9.08,21.32 11.80,17.18 15.98,15.38 c 1.33,-0.60 2.76,-0.98 4.21,-1.19 z"}}]}); this.visible=CXa(this);g.Nu(this.element,"ytp-share-button-visible",this.visible);g.WF(this,this.visible);this.tooltip.Hh();this.api.logVisibility(this.element,CXa(this)&&this.Z)}; g.k.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.element,this.visible&&a)}; g.k.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.element,"ytp-share-button-visible")};g.w(g.IW,g.sU);g.k=g.IW.prototype;g.k.y3=function(a){a=CC(a);g.yf(this.G,a)||g.yf(this.closeButton,a)||tU(this)}; g.k.Ob=function(){g.sU.prototype.Ob.call(this);this.tooltip.gj(this.element);this.api.logVisibility(this.j,!1);for(var a=g.v(this.C),b=a.next();!b.done;b=a.next())b=b.value,this.api.hasVe(b.element)&&this.api.logVisibility(b.element,!1)}; g.k.show=function(){var a=this.Cb;g.sU.prototype.show.call(this);this.Ra();a||this.api.Qa("onSharePanelOpened")}; g.k.U7=function(){this.Cb&&this.Ra()}; g.k.Ra=function(){var a=this;g.Ju(this.element,"ytp-share-panel-loading");g.Lu(this.element,"ytp-share-panel-fail");var b=this.api.getVideoData(),c=this.api.getPlaylistId()&&this.D.checked;b.getSharePanelCommand&&RH(this.api.un(),b.getSharePanelCommand,{includeListId:c}).then(function(d){a.isDisposed()||(g.Lu(a.element,"ytp-share-panel-loading"),GXa(a,d))}); b=this.api.getVideoUrl(!0,!0,!1,!1);g.dS(this.api.U())&&(b=g.Ml(b,g.uP({},"emb_share")));this.updateValue("link",b);this.updateValue("linkText",b);this.updateValue("shareLinkWithUrl",g.bK("\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u044d\u0442\u0443 \u0441\u0441\u044b\u043b\u043a\u0443: $URL",{URL:b}));jTa(this.j);this.api.logVisibility(this.j,!0)}; g.k.onFullscreenToggled=function(a){!a&&this.Xj()&&tU(this)}; g.k.focus=function(){this.j.focus()}; g.k.ya=function(){g.sU.prototype.ya.call(this);FXa(this)};g.w(JXa,tW);g.k=JXa.prototype;g.k.ya=function(){OXa(this);tW.prototype.ya.call(this)}; g.k.nJ=function(a){a.target!==this.dismissButton.element&&(uW(this,!1),this.J.Qa("innertubeCommand",this.onClickCommand))}; g.k.xE=function(){this.Ka=!0;uW(this,!0);this.Im()}; g.k.Q9=function(a){this.Aa=a;this.Im()}; g.k.onVideoDataChange=function(a,b){if(a=!!b.videoId&&this.videoId!==b.videoId)this.videoId=b.videoId,this.Ka=!1,this.Y=!0,this.K=this.ma=!1,OXa(this),NXa(this,!1),this.G=this.j=!1,KW(this),KXa(this);if(a||!b.videoId)this.C=this.B=!1;var c,d;if(null==b?0:null==(c=b.getPlayerResponse())?0:null==(d=c.videoDetails)?0:d.isLiveContent)this.wg(!1);else{var e,f,h;b=g.U(null==(e=b.getWatchNextResponse())?void 0:null==(f=e.playerOverlays)?void 0:null==(h=f.playerOverlayRenderer)?void 0:h.productsInVideoOverlayRenderer, Phb);this.Aa=this.enabled=!1;if(b){if(this.J.L("web_player_enable_vod_featured_product_banner_on_desktop")&&(e=null==b?void 0:b.featuredProductsEntityKey)){f=g.mT.getState().entities;var l;if(null==(l=RO(f,"featuredProductsEntity",e))?0:l.productsData){this.wg(!1);return}}this.enabled=!0;if(!this.B){var m;l=null==(m=b.badgeInteractionLogging)?void 0:m.trackingParams;(this.B=!!l)&&this.J.setTrackingParams(this.badge.element,l||null)}if(!this.C){var n;if(this.C=!(null==(n=b.dismissButton)||!n.trackingParams)){var p; this.J.setTrackingParams(this.dismissButton.element,(null==(p=b.dismissButton)?void 0:p.trackingParams)||null)}}b.isContentForward&&(m=b.productsData,NXa(this,!0),KXa(this),m=MXa(this,m),n=[],0this.api.getPlayerSize().width));var d=b.profilePicture;a=g.VR(a)?b.expandedTitle:b.author;d=void 0===d?"":d; a=void 0===a?"":a;c?(this.B!==d&&(this.j.style.backgroundImage="url("+d+")",this.B=d),this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelLink",MW(this)),this.updateValue("channelLogoLabel",g.bK('\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:a})),g.Ju(this.api.getRootNode(),"ytp-title-enable-channel-logo")):g.Lu(this.api.getRootNode(),"ytp-title-enable-channel-logo"); this.api.logVisibility(this.j,c&&this.Z);this.api.L("web_player_ve_conversion_fixes_for_channel_info")&&this.api.logVisibility(this.channelName,c&&this.Z);this.subscribeButton&&(this.subscribeButton.channelId=b.Jl);this.updateValue("expandedTitle",b.expandedTitle);this.api.L("web_player_ve_conversion_fixes_for_channel_info")||this.updateValue("channelTitleLink",MW(this))};g.w(NW,g.sU);NW.prototype.show=function(){g.sU.prototype.show.call(this);this.j.start()}; NW.prototype.hide=function(){g.sU.prototype.hide.call(this);this.j.stop()}; NW.prototype.vt=function(a,b){"dataloaded"===a&&((this.Hi=b.Hi,this.Qe=b.Qe,isNaN(this.Hi)||isNaN(this.Qe))?this.C&&(this.J.jf("intro"),this.J.removeEventListener(g.WJ("intro"),this.K),this.J.removeEventListener(g.XJ("intro"),this.G),this.J.removeEventListener("onShowControls",this.D),this.hide(),this.C=!1):(this.J.addEventListener(g.WJ("intro"),this.K),this.J.addEventListener(g.XJ("intro"),this.G),this.J.addEventListener("onShowControls",this.D),a=new g.VJ(this.Hi,this.Qe,{priority:9,namespace:"intro"}), this.J.uf([a]),this.C=!0))};g.w(OW,g.V);OW.prototype.onClick=function(){this.J.uu()}; OW.prototype.Ra=function(){var a=!0;g.VR(this.J.U())&&(a=a&&480<=this.J.kb().getPlayerSize().width);g.WF(this,a);this.updateValue("icon",this.J.Lh()?{I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,X:{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"}}]}: {I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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.w(g.QW,g.V);g.QW.prototype.ya=function(){this.j=null;g.V.prototype.ya.call(this)};g.w(RW,g.V);RW.prototype.onClick=function(){this.J.Qa("innertubeCommand",this.B)}; RW.prototype.N=function(a){a!==this.G&&(this.update({title:a,ariaLabel:a}),this.G=a);a?this.show():this.hide()}; RW.prototype.K=function(){this.j.disabled=null==this.B;g.Nu(this.j,"ytp-chapter-container-disabled",this.j.disabled);this.Ec()};g.w(SW,RW);SW.prototype.onClickCommand=function(a){g.U(a,lT)&&this.Ec()}; SW.prototype.updateVideoData=function(a,b){var c,d,e;a=g.U(null==(c=b.getWatchNextResponse())?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.decoratedPlayerBarRenderer,tQa);var f;this.B=null==(f=g.U(null==a?void 0:a.playerBarActionButton,g.$M))?void 0:f.command;RW.prototype.K.call(this)}; SW.prototype.Ec=function(){var a="",b=this.D.j,c,d="clips"===(null==(c=this.J.getLoopRange())?void 0:c.type);if(1d!==a>b){var e=c;c=d;d=e}a>c&&b>d&&this.aQ()}}; g.k.disable=function(){var a=this;if(!this.message){var b=(null!=uC(["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/); this.message=new g.sU(this.J,{I:"div",Ma:["ytp-popup","ytp-generic-popup"],X:{role:"alert",tabindex:"0"},V:[b[0],{I:"a",X:{href:"https://support.google.com/youtube/answer/6276924",target:this.J.U().Y},xa:b[2]},b[4]]},100,!0);this.message.hide();g.L(this,this.message);this.message.subscribe("show",function(c){a.od.Ns(a.message,c)}); g.oU(this.J,this.message.element,4);this.element.setAttribute("aria-disabled","true");this.element.setAttribute("aria-haspopup","true");(0,this.j)();this.j=null}}; g.k.Ra=function(){var a=fTa(this.J),b=this.J.U().Z&&250>this.J.getPlayerSize().width;g.WF(this,a&&!b);this.J.logVisibility(this.element,this.Cb)}; g.k.Bm=function(a){if(a){var b={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"g",S:"ytp-fullscreen-button-corner-2",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 14,14 -4,0 0,2 6,0 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-3",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 22,14 0,-4 -2,0 0,6 6,0 0,-2 -4,0 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-0",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 20,26 2,0 0,-4 4,0 0,-2 -6,0 0,6 0,0 z"}}]},{I:"g", S:"ytp-fullscreen-button-corner-1",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 10,22 4,0 0,4 2,0 0,-6 -6,0 0,2 0,0 z"}}]}]};a=g.dU(this.J,"\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");this.update({"data-title-no-tooltip":"\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"}); document.activeElement===this.element&&this.J.getRootNode().focus();document.B&&document.j().catch(function(c){g.xF(c)})}else b={I:"svg", X:{height:"100%",version:"1.1",viewBox:"0 0 36 36",width:"100%"},V:[{I:"g",S:"ytp-fullscreen-button-corner-0",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 10,16 2,0 0,-4 4,0 0,-2 L 10,10 l 0,6 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-1",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 20,10 0,2 4,0 0,4 2,0 L 26,10 l -6,0 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-2",V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"m 24,24 -4,0 0,2 L 26,26 l 0,-6 -2,0 0,4 0,0 z"}}]},{I:"g",S:"ytp-fullscreen-button-corner-3", V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{d:"M 12,20 10,20 10,26 l 6,0 0,-2 -4,0 0,-4 0,0 z"}}]}]},a=g.dU(this.J,"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d","f"),this.update({"data-title-no-tooltip":"\u0412\u043e \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d"});a=this.message?null:a;this.update({title:a,icon:b});this.od.Jd().Hh()}; g.k.ya=function(){this.message||((0,this.j)(),this.j=null);g.V.prototype.ya.call(this)};g.w(VW,g.V);VW.prototype.onClick=function(){this.J.logClick(this.element);this.J.seekBy(this.j,!0);var a=0this.j&&a.push("backwards"),this.element.classList.add.apply(this.element.classList,g.qa(a)),g.Cu(this.B))};g.w(WW,RW);WW.prototype.onClickCommand=function(a){g.U(a,Ohb)&&this.Ec()}; WW.prototype.updateVideoData=function(){var a,b;this.B=null==(a=WXa(this))?void 0:null==(b=a.onTap)?void 0:b.innertubeCommand;RW.prototype.K.call(this)}; WW.prototype.Ec=function(){var a="",b=this.D.K,c,d=null==(c=WXa(this))?void 0:c.headerTitle;c=d?g.$F(d):"";var e;d="clips"===(null==(e=this.J.getLoopRange())?void 0:e.type);1=lYa(this)?(this.api.seekTo(a,!1,void 0,void 0,25),this.api.L("web_fix_fine_scrubbing_drag")?g.Vr(this.Aa,"transform","translateX("+(this.B-this.j/2)+"px)"):g.Vr(this.C,"transform","translateX("+this.B+"px)"),fYa(this,a)):this.B=this.G))}; g.k.A3=function(){var a=300>(0,g.rD)()-this.Sa;if(5>Math.abs(this.Y)&&!a){this.Sa=(0,g.rD)();a=this.oa+this.Y;var b=this.j/2-a;this.RL(a);this.QL(a+b);hYa(this);this.api.logClick(this.C)}hYa(this)}; g.k.IA=function(){aX(this,this.api.getCurrentTime())}; g.k.play=function(a){this.api.seekTo(mYa(this,this.B),void 0,void 0,void 0,26);this.api.playVideo();a&&this.api.logClick(this.playButton)}; g.k.onExit=function(a){this.api.seekTo(this.Na,void 0,void 0,void 0,63);this.api.playVideo();a&&this.api.logClick(this.dismissButton)}; g.k.Hb=function(a,b){this.Ka=a;this.j=b;aX(this,this.api.getCurrentTime())}; g.k.enable=function(){this.isEnabled||(this.isEnabled=!0,this.Na=this.api.getCurrentTime(),fYa(this,this.Na),g.Nu(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled),this.Fa=this.T(this.element,"wheel",this.B3),this.logVisibility(this.isEnabled))}; g.k.disable=function(){this.isEnabled=!1;this.hide();g.Nu(this.api.getRootNode(),"ytp-fine-scrubbing-enable",this.isEnabled);this.Fa&&this.Kc(this.Fa);this.logVisibility(this.isEnabled)}; g.k.reset=function(){this.disable();this.K=[];this.Ea=!1}; g.k.logVisibility=function(a){this.api.logVisibility(this.element,a);this.api.logVisibility(this.C,a);this.api.logVisibility(this.dismissButton,a);this.api.logVisibility(this.playButton,a)}; g.k.ya=function(){for(;this.D.length;){var a=void 0;null==(a=this.D.pop())||a.dispose()}g.V.prototype.ya.call(this)}; g.w(iYa,g.V);g.w(jYa,g.V);g.w(nYa,g.V);g.w(bX,g.V);bX.prototype.zb=function(a){return"PLAY_PROGRESS"===a?this.K:"LOAD_PROGRESS"===a?this.G:"LIVE_BUFFER"===a?this.D:this.B};qYa.prototype.update=function(a,b,c,d){c=void 0===c?0:c;this.width=b;this.D=c;this.j=b-c-(void 0===d?0:d);this.position=g.le(a,c,c+this.j);this.C=this.position-c;this.B=this.C/this.j};g.w(rYa,g.V);g.w(g.eX,g.XF);g.k=g.eX.prototype; g.k.r0=function(){var a=!1,b=this.api.getVideoData();if(!b)return a;this.api.jf("timedMarkerCueRange");uYa(this);for(var c=g.v(b.ze),d=c.next();!d.done;d=c.next()){d=d.value;var e=void 0,f=null==(e=this.Na[d])?void 0:e.markerType;e=void 0;var h=null==(e=this.Na[d])?void 0:e.markers;if(!h)break;if("MARKER_TYPE_TIMESTAMPS"===f){a=g.v(h);for(f=a.next();!f.done;f=a.next()){e=f.value;f=new rYa;h=void 0;f.title=(null==(h=e.title)?void 0:h.simpleText)||"";f.timeRangeStartMillis=Number(e.startMillis);f.j= Number(e.durationMillis);var l=h=void 0;f.onActiveCommand=null!=(l=null==(h=e.onActive)?void 0:h.innertubeCommand)?l:void 0;ZYa(this,f)}$Ya(this,this.K);a=this.K;f=this.ze;e=[];h=null;for(l=0;lm&&(h.end=m);m=pXa(m,m+p);e.push(m);h=m;f[m.id]=a[l].onActiveCommand}}this.api.uf(e);this.Ef=this.Na[d];a=!0}else if("MARKER_TYPE_HEATMAP"===f){d=this.Na[d];p=n=e=m=l=h=void 0;if(d&& d.markers){f=null!=(e=null==(p=d.markersMetadata)?void 0:null==(n=p.heatmapMetadata)?void 0:n.minHeightDp)?e:0;e=null!=(h=null==(m=d.markersMetadata)?void 0:null==(l=m.heatmapMetadata)?void 0:l.maxHeightDp)?h:60;h=this.j.length;l=null;for(m=0;m=p&&u<=q&&n.push(t)}0this.clipEnd)&&this.fK()}; g.k.C3=function(a){if(!a.defaultPrevented){var b=!1;switch(a.keyCode){case 36:this.api.seekTo(0,void 0,void 0,void 0,79);b=!0;break;case 35:this.api.seekTo(Infinity,void 0,void 0,void 0,80);b=!0;break;case 34:this.api.seekBy(-60,void 0,void 0,76);b=!0;break;case 33:this.api.seekBy(60,void 0,void 0,75);b=!0;break;case 38:this.api.seekBy(5,void 0,void 0,72);b=!0;break;case 40:this.api.seekBy(-5,void 0,void 0,71),b=!0}b&&a.preventDefault()}}; g.k.vt=function(a,b){this.updateVideoData(b,"newdata"===a)}; g.k.Q6=function(){this.vt("newdata",this.api.getVideoData())}; g.k.updateVideoData=function(a,b){b=void 0===b?!1:b;var c=!!a&&a.Fe();c&&(OT(a)||kZa(this)?this.He=!1:this.He=a.allowLiveDvr,g.Nu(this.api.getRootNode(),"ytp-enable-live-buffer",!(null==a||!OT(a))));tZa(this,this.api.Nh());if(b){if(c){b=a.clipEnd;this.clipStart=a.clipStart;this.clipEnd=b;lX(this);for(iX(this,this.ma,this.ob);0m&&(c=m,a.position=SG(this.C,m)*gX(this).j),b=this.C.B;kZa(this)&& (b=this.C.B);m=f||g.OG(this.He?c-this.C.j:c-b);b=a.position+this.Sf;c-=this.api.Pc();var n;if(null==(n=this.B)||!n.isEnabled)if(this.api.Vj()){if(1=n);d=this.tooltip.scale;l=(isNaN(l)?0:l)-45*d;this.api.L("web_key_moments_markers")?this.Ef?(n=mXa(this.K,1E3*c),n=null!=n?this.K[n].title:""):(n=xW(this.j,1E3*c),n=this.j[n].title):(n=xW(this.j,1E3*c),n=this.j[n].title);n||(l+=16*d);.6===this.tooltip.scale&&(l=n?110:126);d=xW(this.j,1E3*c);this.Ya=mZa(this,c,d)?d:mZa(this,c,d+1)?d+1:-1;g.Nu(this.api.getRootNode(),"ytp-progress-bar-snap",-1!==this.Ya&&1=h.visibleTimeRangeStartMillis&&p<=h.visibleTimeRangeEndMillis&&(n=h.label,m=g.OG(h.decorationTimeMillis/1E3),d=!0)}this.Ud!==d&&(this.Ud=d,this.api.logVisibility(this.jd,this.Ud));g.Nu(this.api.getRootNode(),"ytp-progress-bar-decoration",d);d=320*this.tooltip.scale;e=n.length*(this.D?8.55:5.7);e=e<=d?e:d;h=e<160*this.tooltip.scale;d=3;!h&&e/2>a.position&&(d=1);!h&&e/2>this.N-a.position&&(d=2);this.api.U().Z&& (l-=10);this.G.length&&this.G[0].Fe&&(l-=14*(this.D?2:1),this.Fa||(this.Fa=!0,this.api.logVisibility(this.oa,this.Fa)));var q;if(dX(this)&&((null==(q=this.B)?0:q.isEnabled)||0=.5*a?(this.B.enable(),aX(this.B,this.api.getCurrentTime()),sZa(this,a)):rX(this)}if(g.FG(this.api.Qb(),32)||3===this.api.getPresentingPlayerType()){var b;if(null==(b=this.B)?0:b.isEnabled)this.api.pauseVideo();else{this.api.startSeekCsiAction();if(1=c.visibleTimeRangeStartMillis&&1E3*a<=c.visibleTimeRangeEndMillis&&this.api.logClick(this.jd)}g.Lu(this.element,"ytp-drag");this.Ie&&!g.FG(this.api.Qb(),2)&&this.api.playVideo()}}}; g.k.V9=function(a,b){a=gX(this);a=kX(this,a);this.api.seekTo(a,!1,void 0,void 0,7);var c;dX(this)&&(null==(c=this.B)?0:c.Ea)&&(aX(this.B,a),this.B.isEnabled||(this.Va=g.le(this.Tf-b-10,0,nX(this)),sZa(this,this.Va)))}; g.k.rh=function(){this.tooltip.AO()}; g.k.HY=function(){this.Eb||(this.updateValue("clipstarticon",yva()),this.updateValue("clipendicon",yva()),g.Ju(this.element,"ytp-clip-hover"))}; g.k.GY=function(){this.Eb||(this.updateValue("clipstarticon",Ava()),this.updateValue("clipendicon",zva()),g.Lu(this.element,"ytp-clip-hover"))}; g.k.fK=function(){this.clipStart=0;this.clipEnd=Infinity;lX(this);iX(this,this.ma,this.ob)}; g.k.vca=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.visible){var c=b.getId();if(!this.Ka[c]){var d=g.lf("DIV");b.tooltip&&d.setAttribute("data-tooltip",b.tooltip);this.Ka[c]=b;this.ac[c]=d;g.Hu(d,b.style);nZa(this,c);this.api.U().L("disable_ad_markers_on_content_progress_bar")||this.j[0].C.appendChild(d)}}else rZa(this,b)}; g.k.Taa=function(a){a=g.v(a);for(var b=a.next();!b.done;b=a.next())rZa(this,b.value)}; g.k.xp=function(a){this.B&&(this.B.onExit(null!=a),rX(this))}; g.k.DN=function(a){this.B&&(this.B.play(null!=a),rX(this))}; g.k.ya=function(){tZa(this,!1);g.XF.prototype.ya.call(this)};g.w(sX,g.V);sX.prototype.isActive=function(){return!!this.J.getOption("remote","casting")}; sX.prototype.Ra=function(){var a=!1;this.J.getOptions().includes("remote")&&(a=1=c;g.WF(this,a);this.J.logVisibility(this.element,a)}; tX.prototype.C=function(){if(this.Jb.Cb)this.Jb.Ob();else{var a=g.FV(this.J.yb());a&&!a.loaded&&(a.Gh("tracklist",{includeAsr:!0}).length||a.load());this.J.logClick(this.element);this.Jb.rd(this.element)}}; tX.prototype.updateBadge=function(){var a=this.J.isHdr(),b=this.J.getPresentingPlayerType(),c=2!==b&&3!==b,d=g.nU(this.J),e=c&&!!g.mU(this.J.yb());b=e&&1===d.displayMode;d=e&&2===d.displayMode;c=(e=b||d)||!c?null:this.J.getPlaybackQuality();g.Nu(this.element,"ytp-hdr-quality-badge",a);g.Nu(this.element,"ytp-hd-quality-badge",!a&&("hd1080"===c||"hd1440"===c));g.Nu(this.element,"ytp-4k-quality-badge",!a&&"hd2160"===c);g.Nu(this.element,"ytp-5k-quality-badge",!a&&"hd2880"===c);g.Nu(this.element,"ytp-8k-quality-badge", !a&&"highres"===c);g.Nu(this.element,"ytp-3d-badge-grey",!a&&e&&b);g.Nu(this.element,"ytp-3d-badge",!a&&e&&d)};g.w(uX,CU);uX.prototype.isLoaded=function(){var a=g.LV(this.J.yb());return void 0!==a&&a.loaded}; uX.prototype.Ra=function(){void 0!==g.LV(this.J.yb())&&3!==this.J.getPresentingPlayerType()?this.j||(this.Jb.md(this),this.j=!0):this.j&&(this.Jb.Ah(this),this.j=!1);DU(this,this.isLoaded())}; uX.prototype.onSelect=function(a){this.isLoaded();a?this.J.loadModule("annotations_module"):this.J.unloadModule("annotations_module");this.J.ra("annotationvisibility",a)}; uX.prototype.ya=function(){this.j&&this.Jb.Ah(this);CU.prototype.ya.call(this)};g.w(g.vX,g.vU);g.k=g.vX.prototype;g.k.open=function(){g.jW(this.Jb,this.B)}; g.k.Jj=function(a){wZa(this);this.options[a].element.setAttribute("aria-checked","true");this.Yd(this.Fk(a));this.C=a}; g.k.IM=function(a,b,c){var d=this;b=new g.vU({I:"div",Ma:["ytp-menuitem"],X:{tabindex:"0",role:"menuitemradio","aria-checked":c?"true":"false"},V:[{I:"div",Ma:["ytp-menuitem-label"],xa:"{{label}}"}]},b,this.Fk(a,!0));b.Ta("click",function(){d.lh(a)}); return b}; g.k.enable=function(a){this.K?a||(this.K=!1,this.Xx(!1)):a&&(this.K=!0,this.Xx(!0))}; g.k.Xx=function(a){a?this.Jb.md(this):this.Jb.Ah(this)}; g.k.lh=function(a){this.ra("select",a)}; g.k.Fk=function(a){return a.toString()}; g.k.D3=function(a){a.defaultPrevented||39!==a.keyCode||(this.open(),a.preventDefault())}; g.k.ya=function(){this.K&&this.Jb.Ah(this);g.vU.prototype.ya.call(this);for(var a=g.v(Object.keys(this.options)),b=a.next();!b.done;b=a.next())this.options[b.value].dispose()};g.w(xX,g.vX);xX.prototype.Ra=function(){var a=this.J.getAvailableAudioTracks();1(a.deltaX||-a.deltaY)?-this.N:this.N;this.jx(b);a.preventDefault()}; g.k.F3=function(a){a=(a-g.cs(this.C).x)/this.ma*this.range+this.B;this.jx(a)}; g.k.jx=function(a,b){b=void 0===b?"":b;a=g.le(a,this.B,this.D);""===b&&(b=a.toString());this.updateValue("valuenow",a);this.updateValue("valuetext",b);this.oa.style.left=(a-this.B)/this.range*(this.ma-this.Ea)+"px";this.j=a}; g.k.focus=function(){this.Fa.focus()};g.w(AX,zX);AX.prototype.Aa=function(){this.J.setPlaybackRate(this.j,!0)}; AX.prototype.jx=function(a){zX.prototype.jx.call(this,a,DZa(this,a).toString());this.G&&(CZa(this),this.Ka())}; AX.prototype.updateValues=function(){var a=this.J.getPlaybackRate();DZa(this,this.j)!==a&&(this.jx(a),CZa(this))};g.w(EZa,g.XF);EZa.prototype.focus=function(){this.j.focus()};g.w(FZa,fW);g.w(GZa,g.vX);g.k=GZa.prototype;g.k.Fk=function(a){return"1"===a?"\u041e\u0431\u044b\u0447\u043d\u0430\u044f":a.toLocaleString()}; g.k.Ra=function(){var a=this.J.getPresentingPlayerType();this.enable(2!==a&&3!==a);KZa(this)}; g.k.Xx=function(a){g.vX.prototype.Xx.call(this,a);a?(this.N=this.T(this.J,"onPlaybackRateChange",this.onPlaybackRateChange),KZa(this),IZa(this,this.J.getPlaybackRate())):(this.Kc(this.N),this.N=null)}; g.k.onPlaybackRateChange=function(a){var b=this.J.getPlaybackRate();this.G.includes(b)||JZa(this,b);IZa(this,a)}; g.k.lh=function(a){g.vX.prototype.lh.call(this,a);a===this.j?this.J.setPlaybackRate(this.D,!0):this.J.setPlaybackRate(Number(a),!0);this.Jb.yj()};g.w(MZa,g.vX);g.k=MZa.prototype;g.k.Jj=function(a){g.vX.prototype.Jj.call(this,a)}; g.k.getKey=function(a){return a.option.toString()}; g.k.getOption=function(a){return this.settings[a]}; g.k.Fk=function(a){return this.getOption(a).text||""}; g.k.lh=function(a){g.vX.prototype.lh.call(this,a);this.ra("settingChange",this.N,this.settings[a].option)};g.w(BX,g.gW);BX.prototype.jh=function(a){for(var b=g.v(Object.keys(a)),c=b.next();!c.done;c=b.next()){var d=c.value;if(c=this.Pt[d]){var e=a[d].toString();d=!!a[d+"Override"];c.options[e]&&(c.Jj(e),c.D.element.setAttribute("aria-checked",String(!d)),c.j.element.setAttribute("aria-checked",String(d)))}}}; BX.prototype.lk=function(a,b){this.ra("settingChange",a,b)};g.w(CX,g.vX);CX.prototype.getKey=function(a){return a.languageCode}; CX.prototype.Fk=function(a){return this.languages[a].languageName||""}; CX.prototype.lh=function(a){this.ra("select",a);this.J.logClick(this.element);g.mW(this.Jb)};g.w(PZa,g.vX);g.k=PZa.prototype;g.k.getKey=function(a){return g.jd(a)?"__off__":a.displayName}; g.k.Fk=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":"__correction__"===a?"\u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0443\u0431\u0442\u0438\u0442\u0440\u043e\u0432":("__off__"===a?{}:this.tracks[a]).displayName}; g.k.lh=function(a){if("__translate__"===a)this.j.open();else if("__contribute__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var b=g.oLa(this.J.U(),this.J.getVideoData());g.ZG(b)}else if("__correction__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();var c=QZa(this);DX(this,c);g.vX.prototype.lh.call(this,this.getKey(c));var d,e;c=null==(b=this.J.getVideoData().getPlayerResponse())?void 0:null==(d=b.captions)?void 0:null==(e=d.playerCaptionsTracklistRenderer)? void 0:e.openTranscriptCommand;this.J.Qa("innertubeCommand",c);this.Jb.yj();this.D&&this.J.logClick(this.D)}else{if("__correction__"===a){this.J.pauseVideo();this.J.isFullscreen()&&this.J.toggleFullscreen();b=QZa(this);DX(this,b);g.vX.prototype.lh.call(this,this.getKey(b));var f,h;b=null==(c=this.J.getVideoData().getPlayerResponse())?void 0:null==(f=c.captions)?void 0:null==(h=f.playerCaptionsTracklistRenderer)?void 0:h.openTranscriptCommand;this.J.Qa("innertubeCommand",b)}else this.J.logClick(this.element), DX(this,"__off__"===a?{}:this.tracks[a]),g.vX.prototype.lh.call(this,a);this.Jb.yj()}}; g.k.Ra=function(){var a=this.J.getOptions();a=a&&-1!==a.indexOf("captions");var b=this.J.getVideoData(),c=b&&b.Bx,d,e=!(null==(d=this.J.getVideoData())||!g.NT(d));d={};if(a||c){var f;if(a){var h=this.J.getOption("captions","track");d=this.J.getOption("captions","tracklist",{includeAsr:!0});var l=e?[]:this.J.getOption("captions","translationLanguages");this.tracks=g.dc(d,this.getKey,this);e=g.lr(d,this.getKey);var m=QZa(this),n,p;b.L("suggest_caption_correction_menu_item")&&m&&(null==(f=b.getPlayerResponse())? 0:null==(n=f.captions)?0:null==(p=n.playerCaptionsTracklistRenderer)?0:p.openTranscriptCommand)&&e.push("__correction__");if(l.length&&!g.jd(h)){if((f=h.translationLanguage)&&f.languageName){var q=f.languageName;f=l.findIndex(function(r){return r.languageName===q}); zaa(l,f)}NZa(this.j,l);e.push("__translate__")}f=this.getKey(h)}else this.tracks={},e=[],f="__off__";e.unshift("__off__");this.tracks.__off__={};c&&e.unshift("__contribute__");this.tracks[f]||(this.tracks[f]=h,e.push(f));g.wX(this,e);this.Jj(f);h&&h.translationLanguage?this.j.Jj(this.j.getKey(h.translationLanguage)):wZa(this.j);a&&this.G.jh(this.J.getSubtitlesUserSettings());this.countLabel.Yd(d&&d.length?" ("+d.length+")":"");this.ra("size-change");this.J.logVisibility(this.element,!0);this.enable(!0)}else this.enable(!1)}; g.k.H3=function(a){var b=this.J.getOption("captions","track");b=g.qd(b);b.translationLanguage=this.j.languages[a];DX(this,b)}; g.k.lk=function(a,b){if("reset"===a)this.J.resetSubtitlesUserSettings();else{var c={};c[a]=b;this.J.updateSubtitlesUserSettings(c)}OZa(this,!0);this.N.start();this.G.jh(this.J.getSubtitlesUserSettings())}; g.k.z$=function(a){a||g.Eu(this.N)}; g.k.ya=function(){g.Eu(this.N);g.vX.prototype.ya.call(this)}; g.k.open=function(){g.vX.prototype.open.call(this);this.options.__correction__&&!this.D&&(this.D=this.options.__correction__.element,this.J.createClientVe(this.D,this,167341),this.J.logVisibility(this.D,!0))};g.w(RZa,g.lW);g.k=RZa.prototype; g.k.initialize=function(){if(!this.isInitialized){var a=this.J.U();this.isInitialized=!0;this.bR=new yZa(this.J,this);g.L(this,this.bR);var b=new PZa(this.J,this);g.L(this,b);a.C||(b=new uX(this.J,this),g.L(this,b));a.enableSpeedOptions&&(b=new GZa(this.J,this),g.L(this,b));(g.VR(a)||a.N)&&(a.B||a.rb)&&(b=new xZa(this.J,this),g.L(this,b));a.He&&!a.L("web_player_move_autonav_toggle")&&(a=new yX(this.J,this),g.L(this,a));a=new xX(this.J,this);g.L(this,a);this.J.ra("settingsMenuInitialized");vZa(this.settingsButton, this.Xf.zp())}}; g.k.md=function(a){this.initialize();this.Xf.md(a);vZa(this.settingsButton,this.Xf.zp())}; g.k.Ah=function(a){this.Cb&&1>=this.Xf.zp()&&this.hide();this.Xf.Ah(a);vZa(this.settingsButton,this.Xf.zp())}; g.k.rd=function(a){this.initialize();0=b;g.WF(this,c);this.J.logVisibility(this.element,c);a? this.updateValue("pressed",this.isEnabled()):this.updateValue("pressed",!1)};g.w(g.GX,g.V);g.k=g.GX.prototype; g.k.Ec=function(){var a=this.api.kb().getPlayerSize().width,b=this.N;this.api.U().Z&&(b=400);b=a>=b&&(!IX(this)||!g.FG(this.api.Qb(),64));g.WF(this,b);g.Nu(this.element,"ytp-time-display-allow-autohide",b&&400>a);a=this.api.getProgressState();if(b){b=this.api.getPresentingPlayerType();var c=this.api.getCurrentTime(b,!1);this.B&&(c-=a.airingStart);HX(this)&&(c-=this.Eb.startTimeMs/1E3);c=g.OG(c);this.C!==c&&(this.updateValue("currenttime",c),this.C=c);b=HX(this)?g.OG((this.Eb.endTimeMs-this.Eb.startTimeMs)/ 1E3):g.OG(this.api.getDuration(b,!1));this.D!==b&&(this.updateValue("duration",b),this.D=b)}a=a.isAtLiveHead;!IX(this)||this.K===a&&this.G===this.isPremiere||(this.K=a,this.G=this.isPremiere,this.Ec(),b=this.liveBadge.element,b.disabled=a,this.liveBadge.Yd(this.isPremiere?"\u041f\u0440\u0435\u043c\u044c\u0435\u0440\u0430":"\u0412 \u044d\u0444\u0438\u0440\u0435"),a?this.j&&(this.j(),this.j=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.j=g.bU(this.tooltip,this.liveBadge.element)));a=this.api.getLoopRange();b=this.Eb!==a;this.Eb=a;b&&FX(this)}; g.k.onLoopRangeChange=function(a){var b=this.Eb!==a;this.Eb=a;b&&(this.Ec(),FX(this))}; g.k.caa=function(){this.api.setLoopRange(null)}; g.k.onVideoDataChange=function(a,b,c){this.updateVideoData((this.api.U().L("enable_topsoil_wta_for_halftime")||this.api.U().L("enable_topsoil_wta_for_halftime_live_infra"))&&2===c?this.api.getVideoData(1):b);this.Ec();FX(this)}; g.k.updateVideoData=function(a){this.bE=a.isLivePlayback&&!a.ob;this.B=OT(a);this.isPremiere=a.isPremiere;g.Nu(this.element,"ytp-live",IX(this))}; g.k.onClick=function(a){a.target===this.liveBadge.element&&(this.api.seekTo(Infinity,void 0,void 0,void 0,33),this.api.playVideo())}; g.k.ya=function(){this.j&&this.j();g.V.prototype.ya.call(this)};g.w(VZa,g.V);g.k=VZa.prototype;g.k.yr=function(){var a=this.api.Yf();this.C!==a&&(this.C=a,UZa(this,this.api.getVolume(),this.api.isMuted()))}; g.k.ZT=function(a){g.WF(this,350<=a.width)}; g.k.K3=function(a){if(!a.defaultPrevented){var b=a.keyCode,c=null;37===b?c=this.volume-5:39===b?c=this.volume+5:36===b?c=0:35===b&&(c=100);null!==c&&(c=g.le(c,0,100),0===c?this.api.mute():(this.api.isMuted()&&this.api.unMute(),this.api.setVolume(c)),a.preventDefault())}}; g.k.I3=function(a){var b=a.deltaX||-a.deltaY;a.deltaMode?this.api.setVolume(this.volume+(0>b?-10:10)):this.api.setVolume(this.volume+g.le(b/10,-10,10));a.preventDefault()}; g.k.E$=function(){JX(this,this.j,!0,this.B,this.api.Yj());this.Y=this.volume;this.api.isMuted()&&this.api.unMute()}; g.k.J3=function(a){var b=this.C?78:52,c=this.C?18:12;a-=g.cs(this.N).x;this.api.setVolume(100*g.le((a-c/2)/(b-c),0,1))}; g.k.D$=function(){JX(this,this.j,!1,this.B,this.api.Yj());0===this.volume&&(this.api.mute(),this.api.setVolume(this.Y))}; g.k.onVolumeChange=function(a){UZa(this,a.volume,a.muted)}; g.k.uV=function(){JX(this,this.j,this.isDragging,this.B,this.api.Yj())}; g.k.ya=function(){g.V.prototype.ya.call(this);g.Lu(this.K,"ytp-volume-slider-active")};g.w(g.KX,g.V); g.KX.prototype.onVideoDataChange=function(){var a=this.api.getVideoData(1).Ld,b=this.api.U();this.visible=!!this.api.getVideoData().videoId&&!(a&&b.ma);g.WF(this,this.visible);this.api.logVisibility(this.element,this.visible&&this.Z);this.visible&&(a=this.api.getVideoUrl(!0,!1,!1,!0),this.updateValue("url",a));b.C&&(this.j&&(this.Kc(this.j),this.j=null),this.element.removeAttribute("href"),this.element.removeAttribute("title"),this.element.removeAttribute("aria-label"),g.Ju(this.element,"no-link")); this.Hb()}; g.KX.prototype.onClick=function(a){this.api.L("web_player_log_click_before_generating_ve_conversion_params")&&this.api.logClick(this.element);var b=this.api.U(),c=this.api.getVideoUrl(!g.PG(a),!1,!0,!0);if(g.VR(b)||g.dS(b)){var d={};g.VR(b)&&g.XT(this.api,"addEmbedsConversionTrackingParams",[d]);c=g.Ml(c,g.uP(d,"emb_logo"))}g.FU(c,this.api,a);this.api.L("web_player_log_click_before_generating_ve_conversion_params")||this.api.logClick(this.element)}; g.KX.prototype.Hb=function(){var a={I:"svg",X:{height:"100%",version:"1.1",viewBox:"0 0 67 36",width:"100%"},V:[{I:"path",zc:!0,S:"ytp-svg-fill",X:{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 "}}]}; if(g.dS(this.api.U())){var b=this.Ha("ytp-youtube-music-button"),c=300>this.api.getPlayerSize().width;a=c?{I:"svg",X:{fill:"none",height:"24",width:"24"},V:[{I:"circle",X:{cx:"12",cy:"12",fill:"red",r:"12"}},{I:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{I:"path",X:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09z",fill:"#fff"}}]}:{I:"svg",X:{viewBox:"0 0 80 24"},V:[{I:"ellipse",X:{cx:"12.18",cy:"12",fill:"red",rx:"12.18",ry:"12"}},{I:"ellipse",X:{cx:"12.18", cy:"12",fill:"red",rx:"7.308",ry:"7.2",stroke:"#fff","stroke-width":"1.2"}},{I:"path",X:{d:"M9.74 15.54l6.32-3.54-6.32-3.54v7.09zM37.43 9.64c-.57 2.85-1.01 6.33-1.25 7.77h-.16c-.18-1.48-.62-4.94-1.22-7.75L33.31 2.67h-4.52v18.85h2.80V5.98l.27 1.45 2.85 14.08h2.80l2.80-14.08.3-1.45v15.54h2.80V2.67h-4.56l-1.43 6.96zM51.01 18.69c-.25.51-.81.87-1.36.87-.64 0-.90-.49-.90-1.70V7.75H45.54v10.29c0 2.54.85 3.70 2.75 3.70 1.29 0 2.33-.56 3.05-1.90h.07l.27 1.68h2.50V7.75h-3.19v10.94h.00zM60.39 13.19c-1.04-.74-1.69-1.23-1.69-2.31 0-.76.37-1.19 1.25-1.19.90 0 1.20.60 1.22 2.67l2.68-.11c.20-3.34-.92-4.74-3.87-4.74-2.73 0-4.07 1.19-4.07 3.63 0 2.22 1.11 3.23 2.92 4.56 1.55 1.16 2.45 1.82 2.45 2.76 0 .72-.46 1.21-1.27 1.21-.95 0-1.50-.87-1.36-2.40l-2.71.04c-.41 2.85.76 4.51 3.91 4.51 2.75 0 4.19-1.23 4.19-3.70-.00-2.24-1.16-3.14-3.66-4.94zM68.87 7.75h-3.05v13.77h3.06V7.75zM67.36 2.31c-1.18 0-1.73.42-1.73 1.91 0 1.52.55 1.90 1.73 1.90 1.20 0 1.73-.38 1.73-1.90 0-1.41-.53-1.91-1.73-1.91zM79.15 16.56l-2.80-.13c0 2.42-.27 3.21-1.22 3.21-.95 0-1.11-.87-1.11-3.73v-2.67c0-2.76.18-3.63 1.13-3.63.88 0 1.11.83 1.11 3.39l2.77-.17c.18-2.13-.09-3.59-.94-4.42-.62-.60-1.57-.89-2.89-.89-3.10 0-4.37 1.61-4.37 6.15v1.93c0 4.67 1.08 6.17 4.26 6.17 1.34 0 2.27-.27 2.89-.85.90-.81 1.24-2.20 1.18-4.34z", fill:"#fff"}}]};g.Nu(b,"ytp-youtube-music-logo-icon-only",c)}else g.lU(this.api)&&(a={I:"svg",X:{fill:"none",height:"100%",viewBox:"-10 -8 67 36",width:"100%"},V:[{I:"path",X:{d:"m.73 13.78 2.57-.05c-.05 2.31.36 3.04 1.34 3.04.95 0 1.34-.61 1.34-1.88 0-1.88-.97-2.83-2.37-4.04C1.47 8.99.55 7.96.55 5.23c0-2.60 1.15-4.14 4.17-4.14 2.91 0 4.12 1.70 3.71 5.20l-2.57.15c.05-2.39-.20-3.22-1.26-3.22-.97 0-1.31.64-1.31 1.82 0 1.77.74 2.31 2.34 3.84 1.98 1.88 3.09 2.98 3.09 5.54 0 3.24-1.26 4.48-4.20 4.48-3.06.02-4.30-1.62-3.78-5.12ZM9.67.74h2.83V4.58c0 1.15-.05 1.95-.15 2.93h.05c.54-1.15 1.44-1.75 2.60-1.75 1.75 0 2.5 1.23 2.5 3.35v9.53h-2.83V9.32c0-1.03-.25-1.54-.90-1.54-.48 0-.92.28-1.23.79V18.65H9.70V.74h-.02ZM18.67 13.27v-1.82c0-4.07 1.18-5.64 3.99-5.64 2.80 0 3.86 1.62 3.86 5.64v1.82c0 3.96-1.00 5.59-3.94 5.59-2.98 0-3.91-1.67-3.91-5.59Zm5 1.03v-3.94c0-1.72-.25-2.60-1.08-2.60-.79 0-1.05.87-1.05 2.60v3.94c0 1.80.25 2.62 1.05 2.62.82 0 1.08-.82 1.08-2.62ZM27.66 6.03h2.19l.25 2.73h.10c.28-2.01 1.21-3.01 2.39-3.01.15 0 .30.02.51.05l-.15 3.27c-1.18-.25-2.13-.05-2.57.72V18.63h-2.73V6.03ZM34.80 15.67V8.27h-1.03V6.05h1.15l.36-3.73h2.11V6.05h1.93v2.21h-1.80v6.98c0 1.18.15 1.44.61 1.44.41 0 .77-.05 1.10-.18l.36 1.80c-.85.41-1.93.54-2.60.54-1.82-.02-2.21-.97-2.21-3.19ZM40.26 14.81l2.39-.05c-.12 1.39.36 2.19 1.21 2.19.72 0 1.13-.46 1.13-1.10 0-.87-.79-1.46-2.16-2.5-1.62-1.23-2.60-2.16-2.60-4.20 0-2.24 1.18-3.32 3.63-3.32 2.60 0 3.63 1.28 3.42 4.35l-2.39.10c-.02-1.90-.28-2.44-1.08-2.44-.77 0-1.10.38-1.10 1.08 0 .97.56 1.44 1.49 2.11 2.21 1.64 3.24 2.47 3.24 4.53 0 2.26-1.28 3.40-3.73 3.40-2.78-.02-3.81-1.54-3.45-4.14Z", fill:"#fff"}}]});a.X=Object.assign({},a.X,{"aria-hidden":"true"});this.updateValue("logoSvg",a)}; g.KX.prototype.Zb=function(a){g.V.prototype.Zb.call(this,a);this.api.logVisibility(this.element,this.visible&&a)};g.w(XZa,g.GK);g.k=XZa.prototype;g.k.Xe=function(){g.FG(this.J.Qb(),2)||(this.Oc.Ec(),this.Gj.Ec())}; g.k.Rn=function(){this.SL();this.kf.B?this.Xe():this.Oc.rh()}; g.k.Fw=function(){this.Xe();this.yf.start()}; g.k.SL=function(){var a=!this.J.U().B&&300>g.uZa(this.Oc)&&this.J.Qb().isPlaying()&&!!window.requestAnimationFrame,b=!a;this.kf.B||(a=b=!1);b?this.Z||(this.Z=this.T(this.J,"progresssync",this.Xe)):this.Z&&(this.Kc(this.Z),this.Z=null);a?this.yf.isActive()||this.yf.start():this.yf.stop()}; g.k.Hb=function(){var a=this.J.Yf(),b=this.J.kb().getPlayerSize(),c=ZZa(this),d=Math.max(b.width-2*c,100);if(this.Ya!==b.width||this.Va!==a){this.Ya=b.width;this.Va=a;var e=$Za(this);this.B.element.style.width=e+"px";this.B.element.style.left=c+"px";g.qX(this.Oc,c,e,a);this.J.Jd().TL=e}c=this.C;e=Math.min(413*(a?1.5:1),Math.round(.82*(b.height-a_a(this))));c.maxWidth=Math.min(570*(a?1.5:1),d);c.maxHeight=e;c.JB();this.SL();this.J.U().L("html5_player_dynamic_bottom_gradient")&&g.PW(this.bb,b.height)}; g.k.onVideoDataChange=function(){var a=this.J.getVideoData();this.Ea.style.background=a.Ld?a.tp:"";this.ma&&VXa(this.ma,a.showSeekingControls);this.Y&&VXa(this.Y,a.showSeekingControls)}; g.k.zb=function(){return this.B.element};g.w(b_a,tW);g.k=b_a.prototype;g.k.nJ=function(a){a.target!==this.dismissButton.element&&(this.onClickCommand&&this.J.Qa("innertubeCommand",this.onClickCommand),this.xE())}; g.k.xE=function(){this.enabled=!1;this.N.hide()}; g.k.onVideoDataChange=function(a,b){"dataloaded"===a&&c_a(this);a=[];var c,d,e,f;if(b=null==(f=g.U(null==(c=b.getWatchNextResponse())?void 0:null==(d=c.playerOverlays)?void 0:null==(e=d.playerOverlayRenderer)?void 0:e.suggestedActionsRenderer,iib))?void 0:f.suggestedActions)for(c=g.v(b),d=c.next();!d.done;d=c.next())(d=g.U(d.value,jib))&&g.U(d.trigger,hib)&&a.push(d);if(0!==a.length){c=[];a=g.v(a);for(d=a.next();!d.done;d=a.next())if(d=d.value,e=g.U(d.trigger,hib))f=(f=d.title)?g.$F(f):"View Chapters", b=e.timeRangeStartMillis,e=e.timeRangeEndMillis,null!=b&&null!=e&&d.tapCommand&&(c.push(new g.VJ(b,e,{priority:9,namespace:"suggested_action_button_visible",id:f})),this.suggestedActions[f]=d.tapCommand);this.J.uf(c)}}; g.k.zB=function(){return this.enabled}; g.k.wg=function(){this.enabled?this.Fa.start():rW(this);this.Im()}; g.k.ya=function(){c_a(this);tW.prototype.ya.call(this)};var x3={},LX=(x3.CHANNEL_NAME="ytp-title-channel-name",x3.FULLERSCREEN_LINK="ytp-title-fullerscreen-link",x3.LINK="ytp-title-link",x3.SESSIONLINK="yt-uix-sessionlink",x3.SUBTEXT="ytp-title-subtext",x3.TEXT="ytp-title-text",x3.TITLE="ytp-title",x3);g.w(MX,g.V);MX.prototype.onClick=function(a){this.api.logClick(this.element);var b=this.api.U(),c=this.api.getVideoUrl(!g.PG(a),!1,!0);g.VR(b)&&(b={},g.XT(this.api,"addEmbedsConversionTrackingParams",[b]),c=g.Ml(c,g.uP(b,"emb_title")));g.FU(c,this.api,a)}; MX.prototype.Ra=function(){var a=this.api.getVideoData(),b=this.api.U();this.updateValue("title",a.title);var c={I:"a",S:LX.CHANNEL_NAME,X:{href:"{{channelLink}}",target:"_blank"},xa:"{{channelName}}"};this.api.U().C&&(c={I:"span",S:LX.CHANNEL_NAME,xa:"{{channelName}}",X:{tabIndex:"{{channelSubtextFocusable}}"}});this.updateValue("subtextElement",c);d_a(this);2===this.api.getPresentingPlayerType()&&(c=this.api.getVideoData(),c.videoId&&c.isListed&&c.author&&c.hc&&c.profilePicture?(this.updateValue("channelLink", c.hc),this.updateValue("channelName",c.author),this.updateValue("channelTitleFocusable","0")):d_a(this));c=b.externalFullscreen||!this.api.isFullscreen()&&b.fl;g.Nu(this.link,LX.FULLERSCREEN_LINK,c);b.Aa||!a.videoId||c||a.Ld&&b.ma||b.C?this.j&&(this.updateValue("url",null),this.Kc(this.j),this.j=null):(this.updateValue("url",this.api.getVideoUrl(!0)),this.j||(this.j=this.T(this.link,"click",this.onClick)));b.C&&(this.element.classList.add("ytp-no-link"),this.updateValue("channelName",g.VR(b)?a.expandedTitle: a.author),this.updateValue("channelTitleFocusable","0"),this.updateValue("channelSubtextFocusable","0"))};g.w(g.NX,g.V);g.k=g.NX.prototype;g.k.DR=function(a){if(null!=this.type)if(a)switch(this.type){case 3:case 2:f_a(this);this.K.show();break;default:this.K.show()}else this.K.hide();this.Y=a}; g.k.EK=function(a,b,c,d,e,f,h,l){if(!this.Na||this.env.Z){3===this.type&&this.rh();1!==this.type&&(g.Hu(this.element,"ytp-tooltip ytp-bottom"),(SXa(this.api)||this.api.isInline())&&g.Ju(this.element,"ytp-rounded-tooltip"),this.type=1,this.Y&&this.K.show(),this.B&&this.B.dispose(),(this.B=this.api.Vj())&&this.B.subscribe("l",this.QY,this));if(l){var m=g.fs(this.bg).height||this.Aa;this.Sa.style.bottom=m+2+"px"}this.update({text:c,title:null!=f?f:"",eduText:null!=l?l:""});g.Nu(this.text,"ytp-tooltip-text-no-title", 1===this.type&&!f);this.api.isInline()&&g.Ju(this.text,"ytp-modern-tooltip-text");g.Nu(this.element,"ytp-text-detail",!!d);c=-1;this.B&&(c=SS(this.B,this.N*this.scale),this.env.L("web_l3_storyboard")&&4===this.B.levels.length&&(c=this.B.levels.length-1),c=PQa(this.B,c,b));h_a(this,c);if(h)switch(b=g.fs(this.element).width,h){case 1:this.title.style.right="0";this.title.style.textAlign="left";break;case 2:this.title.style.right=b+"px";this.title.style.textAlign="right";break;case 3:this.title.style.right= b/2+"px",this.title.style.textAlign="center"}g_a(this,!!d,a,e)}}; g.k.AO=function(){1===this.type&&this.rh()}; g.k.GF=function(a,b){if(this.type)if(3===this.type)this.rh();else return;e_a(this,a,3,b)}; g.k.Hh=function(){this.j&&!this.ma&&this.j.hasAttribute("title")&&(this.C=this.j.getAttribute("title")||"",this.j.removeAttribute("title"),this.Y&&f_a(this))}; g.k.QY=function(a,b){a<=this.D&&this.D<=b&&(a=this.D,this.D=NaN,h_a(this,a))}; g.k.K7=function(){NQa(this.B,this.D,this.N*this.scale)}; g.k.rh=function(){switch(this.type){case 2:var a=this.j;a.removeEventListener("mouseout",this.oa);a.addEventListener("mouseover",this.G);a.removeEventListener("blur",this.oa);a.addEventListener("focus",this.G);i_a(this);break;case 3:i_a(this);break;case 1:this.B&&(this.B.unsubscribe("l",this.QY,this),this.B=null),this.api.removeEventListener("videoready",this.Ea),this.Fa.stop()}this.type=null;this.Y&&this.K.hide()}; g.k.gj=function(){if(this.j)for(var a=0;a(b.height-d.height)/2?l.y-f.height-12:l.y+d.height+12);a.style.top=f+(e||0)+"px";a.style.left=c+"px"}; g.k.Rn=function(a){a&&(this.api.gj(this.Bh.element),this.Kg&&this.api.gj(this.Kg.zb()));this.yI&&(g.Nu(this.contextMenu.element,"ytp-autohide",a),g.Nu(this.contextMenu.element,"ytp-autohide-active",!0));g.WV.prototype.Rn.call(this,a)}; g.k.PP=function(){g.WV.prototype.PP.call(this);this.yI&&(g.Nu(this.contextMenu.element,"ytp-autohide-active",!1),this.yI&&(this.contextMenu.hide(),this.Rh&&this.Rh.hide()))}; g.k.Sk=function(a,b){var c=this.api.kb().getPlayerSize();c=new g.Sr(0,0,c.width,c.height);if(a||this.kf.B&&!this.ou()){if(this.api.U().Pl||b)a=this.Yf()?this.XM:this.WM,c.top+=a,c.height-=a;this.Kg&&(c.height-=a_a(this.Kg))}return c}; g.k.yr=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"),this.api.U().externalFullscreen||(b.parentElement.insertBefore(this.oD.element,b),b.parentElement.insertBefore(this.nD.element,b.nextSibling))):g.wF(Error("Player not in DOM.")):(b.setAttribute("aria-label", "\u041f\u0440\u043e\u0438\u0433\u0440\u044b\u0432\u0430\u0442\u0435\u043b\u044c YouTube"),this.oD.detach(),this.nD.detach());this.Hb();this.mq()}; g.k.Yf=function(){var a=this.api.U();return this.api.isFullscreen()&&!a.Z||!1}; g.k.showControls=function(a){this.hH=!a;this.Dk()}; g.k.Hb=function(){var a=this.Yf();this.tooltip.scale=a?1.5:1;this.contextMenu&&g.Nu(this.contextMenu.element,"ytp-big-mode",a);this.Dk();this.api.L("web_player_hide_overflow_button_if_empty_menu")||p_a(this);this.mq();var b=g.lU(this.api);b&&a?(a=(this.api.kb().getPlayerSize().width-this.api.getVideoContentRect().width)/2,g.Vr(this.Bh.element,"padding-left",a+"px"),g.Vr(this.Bh.element,"padding-right",a+"px")):b&&(g.Vr(this.Bh.element,"padding-left",""),g.Vr(this.Bh.element,"padding-right",""));g.WV.prototype.Hb.call(this)}; g.k.XN=function(){if(o_a(this)&&!g.kU(this.api))return!1;var a=this.api.getVideoData();return!g.VR(this.api.U())||2===this.api.getPresentingPlayerType()||!this.jg||((a=this.jg||a.jg)?(a=a.embedPreview)?(a=a.thumbnailPreviewRenderer,a=a.videoDetails&&g.U(a.videoDetails,PRa)||null):a=null:a=null,a&&a.collapsedRenderer&&a.expandedRenderer)?g.WV.prototype.XN.call(this):!1}; g.k.mq=function(){g.WV.prototype.mq.call(this);this.api.logVisibility(this.title.element,!!this.Gn);this.TA&&this.TA.Zb(!!this.Gn);this.channelAvatar.Zb(!!this.Gn);this.overflowButton&&this.overflowButton.Zb(this.Kf()&&!!this.Gn);this.shareButton&&this.shareButton.Zb(!this.Kf()&&!!this.Gn);this.Eo&&this.Eo.Zb(!this.Kf()&&!!this.Gn);this.searchButton&&this.searchButton.Zb(!this.Kf()&&!!this.Gn);this.Mi&&this.Mi.Zb(!this.Kf()&&!!this.Gn);if(!this.Gn){this.api.gj(this.Bh.element);for(var a=0;a=b)return d.return();(c=a.j.get(0))&&v_a(a,c);g.Aa(d)})}; var s_a={iZa:0,I0a:1,w_a:2,J0a:3,Esa:4,0:"PRIMARY",1:"SECONDARY",2:"RANDOM",3:"SENSITIVE_CONTENT",4:"C_YOUTUBE"};g.UX.prototype.info=function(){}; g.UX.prototype.debug=function(){}; var D_a=new Map;VX.prototype.zk=function(){if(!this.Nf.length)return[];var a=this.Nf;this.Nf=[];this.C=g.xb(a).info;return a}; VX.prototype.SE=function(){return this.Nf};g.w(XX,g.J);g.k=XX.prototype;g.k.Iq=function(){return Array.from(this.pd.keys())}; g.k.nu=function(a){a=this.pd.get(a);var b=a.Nf;a.Oy+=b.getLength();a.Nf=new jO;return b}; g.k.fh=function(a){return this.pd.get(a).fh}; g.k.ji=function(a){return this.pd.get(a).ji}; g.k.JA=function(a,b,c){this.pd.get(a)||L_a(this,a,b);b=this.pd.get(a);this.manifest?(a=N_a(this,a,c),M_a(this,c.Jp,b,a)):(c.In?b.qX=c.Ir:b.bJ.push(c),b.g_.push(c))}; g.k.yn=function(a){var b;return(null==(b=this.pd.get(a))?void 0:b.eb)||[]}; g.k.xA=function(){for(var a=g.v(this.pd.values()),b=a.next();!b.done;b=a.next())b=b.value,b.WQ&&(b.Xe&&b.Xe(),b.WQ=!1)}; g.k.Tp=function(a,b){this.logger.debug(function(){return"[onMediaEnd] formatId: "+b}); var c=this.pd.get(b);P_a&&(c.zw.get(a).BI=!0);c&&!c.ji&&(c.ji=!0)}; g.k.zk=function(a){var b;if(null==(b=this.Ph)?0:b.ud){var c=this.pd.get(a);if(c){b=g.v(c.zw);for(var d=b.next();!d.done;d=b.next()){var e=g.v(d.value);d=e.next().value;e=e.next().value;var f=c.FK.get(d);if(HQ(f[0])){if(!e.BI)continue;var h=e.data;h.getLength();var l=0,m=[];f=g.v(f);for(var n=f.next();!n.done;n=f.next()){n=n.value;var p=n.B,q=lO(h,l,p);l+=p;m.push(new ZQ(n,q))}c.rE.push.apply(c.rE,g.qa(m))}else if(!f[0].range||0e?this.Jg("next_player_future"):(this.K=d,this.currentVideoDuration=d-c,this.C=GBa(a,c,d,!0),this.D=GBa(a,e,h,!1),a=this.B.getVideoData().clientPlaybackNonce,this.j.va("gaplessPrep",{cpn:a}),c0a(this.j,this.C),this.j.setMediaElement(Z_a(b, c,d,!this.j.getVideoData().isAd())),eY(this,2),f0a(this))))}else this.Jg("no-elem")}; g.k.Yx=function(a){var b=a===e0a(this).KR,c=b?this.C.j:this.C.B;b=b?this.D.j:this.D.B;if(c.isActive&&!b.isActive){var d=this.K;eL(a.wf(),d-.01)&&(eY(this,4),c.isActive=!1,c.fG=c.fG||c.isActive,(1===this.G?this.j:this.B).va("sbh",{}),b.isActive=!0,b.fG=b.fG||b.isActive,0!==this.G&&(this.j.getVideoData().AU=!0));a=this.D.B;this.D.j.isActive&&a.isActive&&(eY(this,5),0!==this.G&&(this.j.va("sbs",{}),this.Pd.U().L("html5_gapless_use_loop_range")||this.Pd.setLoopRange({startTimeMs:0,endTimeMs:1E3*this.currentVideoDuration- g.pJ(this.Pd.U().experiments,"html5_gapless_loop_seek_offset_in_milli")})))}}; g.k.VY=function(){this.Zq()&&this.Jg("player-reload-after-handoff")}; g.k.Jg=function(a,b){b=void 0===b?{}:b;if(!this.isDisposed()&&6!==this.status.status){var c=4<=this.status.status&&"player-reload-after-handoff"!==a;this.status={status:Infinity,error:a};if(this.j&&this.B){var d=this.B.getVideoData().clientPlaybackNonce;this.j.oe(new DK("dai.transitionfailure",Object.assign(b,{cpn:d,transitionTimeMs:this.Gm,msg:a})));b=this.j;b.videoData.Y=!1;c&&T_(b);b.Ba&&G_(b.Ba)}this.jq.reject(a);this.dispose()}}; g.k.Zq=function(){return 4<=this.status.status&&6>this.status.status}; g.k.ya=function(){d0a(this);this.j.unsubscribe("newelementrequired",this.VY,this);if(this.C){var a=this.C.B;this.C.j.Md.unsubscribe("updateend",this.Yx,this);a.Md.unsubscribe("updateend",this.Yx,this)}g.J.prototype.ya.call(this)}; g.k.Rd=function(a){g.HG(a,128)&&this.Jg("player-error-event")};g.w(gY,g.J);gY.prototype.clearQueue=function(){this.D&&this.D.reject("Queue cleared");hY(this)}; gY.prototype.gw=function(){return!this.j}; gY.prototype.Zq=function(){var a;return(null==(a=this.C)?void 0:a.Zq())||!1}; gY.prototype.ya=function(){hY(this);g.J.prototype.ya.call(this)};g.w(p0a,g.PF);g.k=p0a.prototype;g.k.getVisibilityState=function(a,b,c,d,e,f){return a?4:l0a()?3:b?2:c?1:d?5:e?7:f?8:0}; g.k.Bm=function(a){this.fullscreen!==a&&(this.fullscreen=a,this.wg())}; g.k.setMinimized=function(a){this.B!==a&&(this.B=a,this.wg())}; g.k.setInline=function(a){this.inline!==a&&(this.inline=a,this.wg())}; g.k.vB=function(a){this.pictureInPicture!==a&&(this.pictureInPicture=a,this.wg())}; g.k.Lh=function(){return this.j}; g.k.isFullscreen=function(){return 0!==this.fullscreen}; g.k.rz=function(){return this.fullscreen}; g.k.qg=function(){return this.B}; g.k.isInline=function(){return this.inline}; g.k.isBackground=function(){return l0a()}; g.k.Et=function(){return this.pictureInPicture}; g.k.Pz=function(){return!1}; g.k.wg=function(){this.ra("visibilitychange");var a=this.getVisibilityState(this.Lh(),this.isFullscreen(),this.qg(),this.isInline(),this.Et(),this.Pz());a!==this.D&&this.ra("visibilitystatechange");this.D=a}; g.k.ya=function(){o0a(this.C);g.PF.prototype.ya.call(this)};g.w(lY,g.J);lY.prototype.Jh=function(){return this.Cc||0}; lY.prototype.Dv=function(){return this.C||0}; lY.prototype.Mf=function(){for(;this.segments.length;){var a=void 0;null==(a=this.segments.pop())||a.dispose()}this.B.clear()}; lY.prototype.ya=function(){this.Mf()}; g.w(s0a,g.J);g.k=s0a.prototype;g.k.Jh=function(){return this.Cc}; g.k.Dv=function(){return this.B}; g.k.getType=function(){return this.type}; g.k.getVideoData=function(){return this.videoData}; g.k.im=function(){return this.videoData.clientPlaybackNonce}; g.k.DF=function(a){KRa(a);this.videoData=a};g.w(g.oY,g.J);g.k=g.oY.prototype; g.k.onCueRangeEnter=function(a){this.Va.push(a);var b=a.getId(),c=""===b;this.sb.add(a.B);var d=this.B.get(b);if(!c&&(this.qa.va("sdai",{enterAdCueRange:1}),KT(this.qa.getVideoData())&&(null==d?0:d.WO)))return;if(this.gb&&!this.j)this.gb=!1,!c&&d&&(c=this.qa.getCurrentTime(),tY(this,{Re:a,isAd:!0,Wq:!0,Dh:c,adCpn:b},{isAd:!1,Wq:!1,Dh:c}),this.api.ra("serverstitchedvideochange",d.Xc,d.zs),this.qa.va("sdai",rY("midab",d)),this.D=1),this.Z=!1;else if(this.j){if(this.j.Wq)this.qa.va("sdai",{a_pair_of_same_transition_occurs_enter:1, acpn:this.j.adCpn,transitionTime:this.j.Dh,cpn:b,currentTime:this.qa.getCurrentTime()}),d=this.qa.getCurrentTime(),a={Re:a,isAd:!c,Wq:!0,Dh:d,adCpn:b},b={Re:this.j.Re,isAd:this.j.isAd,Wq:!1,Dh:d,adCpn:this.j.adCpn},this.j.Re&&this.sb.delete(this.j.Re.B),tY(this,a,b);else{if(this.j.Re===a){this.qa.va("sdai",{same_cue_range_pair_enter:1,acpn:this.j.adCpn,transitionTime:this.j.Dh,cpn:b,currentTime:this.qa.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn=== b){b&&this.qa.va("sdai",{dchtsc:b});this.j=void 0;return}a={Re:a,isAd:!c,Wq:!0,Dh:this.qa.getCurrentTime(),adCpn:b};tY(this,a,this.j)}this.j=void 0;this.Z=!1}else this.j={Re:a,isAd:!c,Wq:!0,Dh:this.qa.getCurrentTime(),adCpn:b}}; g.k.onCueRangeExit=function(a){var b=a.getId(),c=""===b,d=this.B.get(b);if(KT(this.qa.getVideoData())&&!c&&d){if(d.WO)return;if(this.qa.OM()){var e=d.Cc,f=e+d.durationMs;d.WO=!0;this.N.clear();this.qa.gR(e/1E3,f/1E3)}else this.qa.va("lifa",{remove:0})}if(this.sb.has(a.B))if(this.sb.delete(a.B),this.Va=this.Va.filter(function(h){return h!==a}),this.gb&&(this.Z=this.gb=!1,this.qa.va("sdai",{cref:1})),this.j){if(this.j.Wq){if(this.j.Re===a){this.qa.va("sdai",{same_cue_range_pair_exit:1, acpn:this.j.adCpn,transitionTime:this.j.Dh,cpn:b,currentTime:this.qa.getCurrentTime(),cueRangeStartTime:a.start,cueRangeEndTime:a.end});this.j=void 0;return}if(this.j.adCpn===b){b&&this.qa.va("sdai",{dchtsc:b});this.j=void 0;return}b={Re:a,isAd:!c,Wq:!1,Dh:this.qa.getCurrentTime(),adCpn:b};tY(this,this.j,b)}else this.qa.va("sdai",{a_pair_of_same_transition_occurs_exit:1,pendingCpn:this.j.adCpn,transitionTime:this.j.Dh,upcomingCpn:b,contentCpn:this.qa.getVideoData().clientPlaybackNonce,currentTime:this.qa.getCurrentTime()}); this.j=void 0;this.Z=!1}else this.j={Re:a,isAd:!c,Wq:!1,Dh:this.qa.getCurrentTime(),adCpn:b};else this.qa.va("sdai",{ignore_single_exit:1})}; g.k.seekTo=function(a,b,c,d){a=void 0===a?0:a;b=void 0===b?{}:b;d=void 0===d?null:d;this.Z=!0;if(void 0===c?0:c)v0a(this,a,b);else{c=this.api.Bd();var e=c===this.rb?this.Db:null;wY(this,!1);this.Fc=a;this.hc=b;null!=d&&this.ac.start(d);c&&(this.Db=e||c.getPlayerState(),oab(c),this.rb=c)}}; g.k.ya=function(){wY(this,!1);H0a(this);I0a(this);g.J.prototype.ya.call(this)}; g.k.JR=function(a){this.jd=a;this.qa.va("sdai",{swebm:a})}; g.k.Uk=function(a,b,c){if(c&&b){var d=this.N.get(a);if(d){d.locations||(d.locations=new Map);var e=Number(b.split(";")[0]);c=new g.OP(c);this.Ya&&this.qa.va("sdai",{hdlredir:1,itag:b,seg:a,hostport:QP(c)});d.locations.set(e,c)}}}; g.k.ot=function(a,b,c,d,e,f){var h=3===d;e=K0a(this,a,b,d,c,f);if(!e)return zY(this,b,h),e=g.J0a(this,b)?"undec":"ncp",this.qa.va("sdai",{gvprp:e,mt:a,seg:b,tt:d,itag:c,ce:f}),null;h||this.N.set(b,e);a=e.Tm;var l;d=(null==(l=yY(this,b-1,d))?void 0:l.Ls)||"";""===d&&this.qa.va("sdai",{eds:1});l=HR(e.ssdaiAdsConfig||"")||void 0;c=this.qa.getVideoData();var m;f=(null==(m=c.B)?void 0:m.containerType)||0;m=c.gV[f];b=e.nx&&b>=e.nx?e.nx:void 0;return{qB:{rM:a?O0a(this,a):[],I4:l,Ls:d,y_:b,Cca:Ae(m.split(";")[0]), Dca:m.split(";")[1]||""}}}; g.k.pz=function(a,b,c,d,e,f){var h=Number(c.split(";")[0]);e=3===d;a=K0a(this,a,b,d,c,f);this.Ya&&this.qa.va("sdai",{gdu:1,seg:b,itag:h,pb:""+!!a});if(!a)return zY(this,b,e),null;a.locations||(a.locations=new Map);if(!a.locations.has(h)){var l,m;f=null==(l=a.videoData.getPlayerResponse())?void 0:null==(m=l.streamingData)?void 0:m.adaptiveFormats;if(!f)return this.qa.va("sdai",{gdu:"noadpfmts",seg:b,itag:h}),zY(this,b,e),null;l=f.find(function(u){return u.itag===h}); if(!l||!l.url){var n=a.videoData.videoId;a=[];d=g.v(f);for(var p=d.next();!p.done;p=d.next())a.push(p.value.itag);this.qa.va("sdai",{gdu:"nofmt",seg:b,vid:n,itag:h,fullitag:c,itags:a.join(",")});zY(this,b,e);return null}a.locations.set(h,new g.OP(l.url,!0))}l=a.locations.get(h);if(!l)return this.qa.va("sdai",{gdu:"nourl",seg:b,itag:h}),zY(this,b,e),null;l=new AQ(l);this.jd&&(l.get("dvc")?this.qa.va("sdai",{dvc:l.get("dvc")||""}):l.set("dvc","webm"));var q;(m=null==(q=yY(this,b-1,d))?void 0:q.Ls)&& l.set("daistate",m);a.nx&&b>=a.nx&&l.set("skipsq",""+a.nx);(m=this.qa.getVideoData().clientPlaybackNonce)&&l.set("cpn",m);q=[];a.Tm&&(q=O0a(this,a.Tm),0d?(this.vu(a,c,!0),this.qa.seekTo(d),!0):!1}; g.k.vu=function(a,b,c){c=void 0===c?!1:c;if(a=xY(this,a,b)){var d=a.Tm;if(d){this.qa.va("sdai",{skipadonsq:b,sts:c,abid:d,acpn:a.cpn,avid:a.videoData.videoId});c=this.oa.get(d);if(!c)return;c=g.v(c);for(d=c.next();!d.done;d=c.next())d.value.nx=b}this.K=a.cpn;L0a(this)}}; g.k.rR=function(){for(var a=g.v(this.ma),b=a.next();!b.done;b=a.next())b.value.nx=NaN;L0a(this);this.qa.va("sdai",{rsac:"resetSkipAd",sac:this.K});this.K=""}; g.k.XF=aa(43); g.k.rQ=function(a,b,c,d,e,f,h,l,m){m&&(h?this.bb.set(a,{Ls:m,Hy:l}):this.Na.set(a,{Ls:m,Hy:l}));if(h){if(d.length&&e.length)for(this.K&&this.K===d[0]&&this.qa.va("sdai",{skipfail:1,sq:a,acpn:this.K}),a=b+this.Bp(),h=0;h=b+h)b=m.end;else{var n=!1;m?(b=h){this.C.set(a,c);if(c=this.Zl.get(a))this.qa.removeCueRange(c),this.Zl.delete(a);this.D.set(a,this.qa.getCurrentTime());if(c=this.Zl.get(b))for(c=c.getId().split(","),c=g.v(c),f=c.next();!f.done;f=c.next())f=f.value,f!==b&&this.gk.has(f)&&(this.gk.delete(f),this.JF.add(f));this.qa.seekTo(e.Jh()/1E3);d&&this.api.playVideo(1);return[a]}}}return[]}; g.k.Id=function(){var a=1E3*this.qa.getCurrentTime();return(a=BY(this,a))&&1===a.getType()?a.Jh()/1E3:0}; g.k.Qz=function(){var a=mY(this.timeline,this.Og);return(null==a?0:a.length)?a[0].C:!1}; g.k.seekTo=function(a,b){b=void 0===b?{}:b;var c=X0a(this,this.qa.getCurrentTime());this.qa.seekTo(a+c/1E3,b)}; g.k.onCueRangeEnter=function(a){if(!this.K.has(a.getId())){for(var b=a.getId().split(","),c=0;cc+1)for(d=c+1;dthis.C;)(c=this.data.shift())&&OY(this,c,!0);MY(this)}; g.k.remove=function(a,b){b=void 0===b?!1:b;var c=this.data.find(function(d){return d.key===a}); c&&(OY(this,c,b),g.Gb(this.data,function(d){return d.key===a}),MY(this))}; g.k.Mf=function(){var a;if(a=void 0===a?!1:a)for(var b=g.v(this.data),c=b.next();!c.done;c=b.next())OY(this,c.value,a);this.data=[];MY(this)}; g.k.ya=function(){var a=this;g.J.prototype.ya.call(this);this.data.forEach(function(b){OY(a,b,!0)}); this.data=[]};g.w(PY,g.J);PY.prototype.LH=function(a){if(a)return this.B.get(a)}; PY.prototype.ya=function(){this.j.Mf();this.B.Mf();g.J.prototype.ya.call(this)};g.w(x1a,g.J);x1a.prototype.ya=function(){g.J.prototype.ya.call(this);this.j=null;this.B&&this.B.disconnect()};g.Njb=Kd(function(){var a=window.AudioContext||window.webkitAudioContext;try{return new a}catch(b){return b.name}});var y3;y3={};g.QY=(y3.STOP_EVENT_PROPAGATION="html5-stop-propagation",y3.IV_DRAWER_ENABLED="ytp-iv-drawer-enabled",y3.IV_DRAWER_OPEN="ytp-iv-drawer-open",y3.MAIN_VIDEO="html5-main-video",y3.VIDEO_CONTAINER="html5-video-container",y3.VIDEO_CONTAINER_TRANSITIONING="html5-video-container-transitioning",y3.HOUSE_BRAND="house-brand",y3);g.w(A1a,g.V);g.k=A1a.prototype;g.k.As=function(){g.Ku(this.element,g.Ka.apply(0,arguments))}; g.k.Aj=function(){this.qc&&(this.qc.removeEventListener("focus",this.YP),g.qf(this.qc),this.qc=null)}; g.k.nN=function(){this.isDisposed();var a=this.app.U();a.Pm||this.As("tag-pool-enabled");a.N&&this.As(g.QY.HOUSE_BRAND);"gvn"===a.playerStyle&&(this.As("ytp-gvn"),this.element.style.backgroundColor="transparent");a.Fc&&(this.dN=g.yE("yt-dom-content-change",this.resize,this));this.T(window,"orientationchange",this.resize,this);this.T(window,"resize",this.resize,this)}; g.k.uK=function(a){g.$R(this.app.U());this.pI=!a;RY(this)}; g.k.resize=function(){if(this.qc){var a=this.Wj();if(!a.isEmpty()){var b=!g.ue(a,this.WA.getSize()),c=F1a(this);b&&(this.WA.width=a.width,this.WA.height=a.height);a=this.app.U();(c||b||a.Fc)&&this.app.Wa.ra("resize",this.getPlayerSize())}}}; g.k.vt=function(a,b){this.updateVideoData(b)}; g.k.updateVideoData=function(a){if(this.qc){var b=this.app.U(),c=CRa(a)||tBa&&!window.MediaSource&&!!window.ManagedMediaSource||b.L("html5_disable_airplay");GD&&(b.L("html5_remove_x_webkit_airplay")&&c||this.qc.setAttribute("x-webkit-airplay","allow"),a.title?this.qc.setAttribute("title",a.title):this.qc.removeAttribute("title"));c?this.qc.setAttribute("disableremoteplayback",""):this.qc.removeAttribute("disableremoteplayback");this.qc.setAttribute("controlslist","nodownload");b.Mp&&a.videoId&&(this.qc.poster= a.Qg("default.jpg"))}b=g.vT(a,"yt:bgcolor");this.Zy.style.backgroundColor=b?b:"";this.wP=Qoa(g.vT(a,"yt:stretch"));this.xP=Qoa(g.vT(a,"yt:crop"),!0);g.Nu(this.element,"ytp-dni",a.Ld);this.resize()}; g.k.setGlobalCrop=function(a){this.mO=Qoa(a,!0);this.resize()}; g.k.setCenterCrop=function(a){this.rV=a;this.resize()}; g.k.Bm=function(){}; g.k.getPlayerSize=function(){var a=this.app.U(),b=this.app.Wa.isFullscreen();if(b&&dC())return new g.te(window.outerWidth,window.outerHeight);if(b||a.Qo){if(window.matchMedia){a="(width: "+window.innerWidth+"px) and (height: "+window.innerHeight+"px)";this.qE&&this.qE.media===a||(this.qE=window.matchMedia(a));var c=this.qE&&this.qE.matches}if(c)return new g.te(window.innerWidth,window.innerHeight)}else if(!isNaN(this.mD.width)&&!isNaN(this.mD.height))return this.mD.clone();return new g.te(this.element.clientWidth, this.element.clientHeight)}; g.k.Wj=function(){var a=this.app.U().L("enable_desktop_player_underlay"),b=this.getPlayerSize(),c=g.pJ(this.app.U().experiments,"player_underlay_min_player_width");return a&&this.NQ&&b.width>c?new g.te(b.width*g.pJ(this.app.U().experiments,"player_underlay_video_width_fraction"),b.height):b}; g.k.getVideoAspectRatio=function(){return isNaN(this.wP)?C1a(this):this.wP}; g.k.getVideoContentRect=function(a){var b=this.Wj();a=D1a(this,b,this.getVideoAspectRatio(),a);return new g.Sr((b.width-a.width)/2,(b.height-a.height)/2,a.width,a.height)}; g.k.xB=function(a){this.NQ=a;this.resize()}; g.k.fE=function(){return this.TJ}; g.k.onMutedAutoplayChange=function(){RY(this)}; g.k.setInternalSize=function(a){g.ue(this.mD,a)||(this.mD=a,this.resize())}; g.k.ya=function(){this.dN&&g.zE(this.dN);this.Aj();g.V.prototype.ya.call(this)};g.k=G1a.prototype;g.k.click=function(a,b){this.elements.has(a);this.j.has(a);var c=g.tF();c&&a.visualElement&&g.KF(c,a.visualElement,b)}; g.k.createClientVe=function(a,b,c,d){var e=this;d=void 0===d?!1:d;this.elements.has(a);this.elements.add(a);c=mua(c);a.visualElement=c;var f=g.tF(),h=g.sF();f&&h&&(g.wB("combine_ve_grafts")?qP(oP(),c,h):g.AB(g.DF)(void 0,f,h,c));b.addOnDisposeCallback(function(){e.destroyVe(a)}); d&&this.B.add(a)}; g.k.createServerVe=function(a,b,c){var d=this;c=void 0===c?!1:c;this.elements.has(a);this.elements.add(a);b.addOnDisposeCallback(function(){d.destroyVe(a)}); c&&this.B.add(a)}; g.k.destroyVe=function(a){this.elements.has(a);this.elements.delete(a);this.C.delete(a);this.j.delete(a);this.B.delete(a)}; g.k.GV=function(a,b){this.clientPlaybackNonce!==b&&(this.clientPlaybackNonce=b,pP(oP(),a),H1a(this))}; g.k.setTrackingParams=function(a,b){this.elements.has(a);b&&(a.visualElement=g.pF(b))}; g.k.hasVe=function(a){return this.elements.has(a)};I1a.prototype.setPlaybackRate=function(a){this.playbackRate=Math.max(1,a)}; I1a.prototype.getPlaybackRate=function(){return this.playbackRate};WY.prototype.seek=function(a,b){a!==this.j&&(this.seekCount=0);this.j=a;var c=this.videoTrack.B,d=this.audioTrack.B,e=this.audioTrack.dc,f=Q1a(this,this.videoTrack,a,this.videoTrack.dc,b);b=Q1a(this,this.audioTrack,this.policy.He?a:f,e,b);a=Math.max(a,f,b);this.G=!0;this.manifest.isManifestless&&(O1a(this,this.videoTrack,c),O1a(this,this.audioTrack,d));return a}; WY.prototype.Zf=function(){return this.G}; WY.prototype.HR=function(a){this.C=a}; var P1a=2/24;V1a.prototype.tick=function(a,b){this.ticks[a]=b?window.performance.timing.navigationStart+b:(0,g.rD)()};g.w(e2a,g.PF);g.k=e2a.prototype; g.k.jQ=function(a,b,c,d){if(this.C&&d){d=[];var e=[],f=[],h=void 0,l=0;b&&(d=b.j,e=b.B,f=b.D,h=b.C,l=b.Hy);this.C.rQ(a.Oa,a.startTime,this.B,d,e,f,c,l,h)}if(c){if(b&&!this.Aa.has(a.Oa)){c=a.startTime;d=[];for(e=0;ethis.policy.Ji&&(null==(d=this.C)?0:OK(d.info))&&(null==(e=this.nextVideo)||!OK(e.info))&&(this.oa=!0)}};B2a.prototype.fq=function(a){this.timestampOffset=a};M2a.prototype.dispose=function(){this.oa=!0}; M2a.prototype.isDisposed=function(){return this.oa}; g.w(xZ,Error);var yab=new Uint8Array([0,0,0,38,112,115,115,104,0,0,0,0,237,239,139,169,121,214,74,206,163,200,39,220,213,29,33,237,0,0,0,6,72,227,220,149,155,6]);AZ.prototype.skip=function(a){this.offset+=a}; AZ.prototype.lm=function(){return this.offset};g.k=e3a.prototype;g.k.BW=function(){return this.B}; g.k.Wn=function(){return this.B.length?this.B[this.B.length-1]:null}; g.k.Nk=function(){this.B=[];CZ(this);d3a(this)}; g.k.nu=function(a){this.Sa=this.B.shift().info;a.info.equals(this.Sa)}; g.k.yn=function(){return g.lr(this.B,function(a){return a.info})}; g.k.gi=function(){return!!this.K.info.audio}; g.k.getDuration=function(){return this.K.index.gt()};var x3a=0;g.k=GZ.prototype;g.k.Lw=function(){this.Lb=this.now();this.Nb.Lw()}; g.k.Xt=function(a,b){var c=this.policy.B?(0,g.rD)():0;HZ(this,a,b);a-this.Dd)?(this.C+=c,0this.BQ&&D3a(this,this.B)}; g.k.ZH=function(){return this.bb}; g.k.jR=function(a){a=void 0===a?this.now():a;if(this.al){H3a(this,a);if(this.gb?this.DI():this.Y!==this.ma){var b=this.ma;if(ac&&(c=0);c=1E3*(c*this.snapshot.stall+c/this.snapshot.byterate);this.bb=c=this.Kn()?c+a:c+Math.max(a,b)}; g.k.KH=function(){return this.now()-this.N}; g.k.eO=function(){return 1E3*(this.B-this.Aa)/this.KH()||0}; g.k.EW=function(){return this.N};LZ.prototype.feed=function(a){kO(this.j,a);this.Bf()}; LZ.prototype.Bf=function(){if(this.D){if(!this.j.getLength())return;var a=this.j.split(this.C-this.B),b=a.oI;a=a.Em;if(!this.Nb.Iw(this.D,b,this.B,this.C))return;this.B+=b.getLength();this.j=a;this.B===this.C&&(this.D=this.C=this.B=void 0)}for(;;){var c=0;a=g.v(J3a(this.j,c));b=a.next().value;c=a.next().value;c=g.v(J3a(this.j,c));a=c.next().value;c=c.next().value;if(0>b||0>a)break;if(!(c+a<=this.j.totalLength)){if(!(this.Nb.Iw&&c+1<=this.j.totalLength))break;c=this.j.split(c).Em;this.Nb.Iw(b,c,0, a)&&(this.D=b,this.B=c.getLength(),this.C=a,this.j=new jO([]));break}a=this.j.split(c).Em.split(a);c=a.Em;this.Nb.LA(b,a.oI);this.j=c}}; LZ.prototype.dispose=function(){this.j=new jO};g.k=MZ.prototype;g.k.MN=function(){return 0}; g.k.NH=function(){return null}; g.k.qW=function(){return null}; g.k.Gt=function(){return 1<=this.state}; g.k.isComplete=function(){return 3<=this.state}; g.k.Hn=function(){return 5===this.state}; g.k.onStateChange=function(){}; g.k.Bc=function(a){var b=this.state;this.state=a;this.onStateChange(b);this.callback&&this.callback(this,b)}; g.k.xA=function(a){a&&this.state=this.xhr.HEADERS_RECEIVED}; g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return""}}; g.k.uD=function(){return+this.getResponseHeader("content-length")}; g.k.vn=function(){return this.B}; g.k.Vw=function(){return 200<=this.status&&300>this.status&&!!this.B}; g.k.Wk=function(){return 0this.status&&!!this.B}; g.k.Wk=function(){return!!this.j.getLength()}; g.k.kx=function(){this.Wk();var a=this.j;this.j=new jO;return a}; g.k.OJ=function(){this.Wk();return this.j}; g.k.isDisposed=function(){return this.K}; g.k.abort=function(){this.C&&this.C.cancel().catch(function(){}); this.D&&this.D.abort();this.K=!0}; g.k.DB=function(){return!0}; g.k.aK=function(){return this.N}; g.k.xf=function(){return this.errorMessage};g.k=P3a.prototype;g.k.onDone=function(){if(!this.isDisposed){this.status=this.xhr.status;try{this.response=this.xhr.response,this.B=this.response.byteLength}catch(a){}this.j=!0;this.Nb.zr()}}; g.k.HA=function(){2===this.xhr.readyState&&this.Nb.Lw()}; g.k.Xe=function(a){this.isDisposed||(this.status=this.xhr.status,this.j||(this.B=a.loaded),this.Nb.Xt((0,g.rD)(),a.loaded))}; g.k.Qv=function(){return 2<=this.xhr.readyState}; g.k.getResponseHeader=function(a){try{return this.xhr.getResponseHeader(a)}catch(b){return g.xF(Error("Could not read XHR header "+a)),""}}; g.k.uD=function(){return+this.getResponseHeader("content-length")}; g.k.vn=function(){return this.B}; g.k.Vw=function(){return 200<=this.status&&300>this.status&&this.j&&!!this.B}; g.k.Wk=function(){return this.j&&!!this.response&&!!this.response.byteLength}; g.k.kx=function(){this.Wk();var a=this.response;this.response=void 0;return new jO([new Uint8Array(a)])}; g.k.OJ=function(){this.Wk();return new jO([new Uint8Array(this.response)])}; g.k.abort=function(){this.isDisposed=!0;this.xhr.abort()}; g.k.DB=function(){return!1}; g.k.aK=function(){return!1}; g.k.xf=function(){return""};g.w(NZ,g.J);g.k=NZ.prototype;g.k.Waa=function(){if(!this.isDisposed()){var a=(0,g.rD)(),b=!1;if(this.timing.Kn()){if(this.G)return;var c=this.timing.ZH();this.timing.jR();var d=this.timing.ZH();d-c>=.8*this.policy.Ki?(this.j++,this.logger.debug(function(){return"Mispredicted by "+(d-c).toFixed(0)}),b=5<=this.j):this.j=0}else{var e=a-this.timing.DW(); 01E3*a)&&this.logger.debug(function(){return"Elbow late by "+e.toFixed(3)})}0this.state)return!1;if(this.zg&&this.zg.Nf.length)return!0;var a;return(null==(a=this.xhr)?0:a.Wk())?!0:!1}; g.k.SE=function(){this.nm(!1);return this.zg?this.zg.SE():[]}; g.k.nm=function(a){try{if(a||this.xhr.Qv()&&this.xhr.Wk()&&!j4a(this)&&!this.QA)this.zg||(this.zg=new VX(this.policy,this.info.eb)),this.xhr.Wk()&&(this.Ck?this.Ck.feed(this.xhr.kx()):WX(this.zg,this.xhr.kx(),a&&!this.xhr.Wk()))}catch(b){this.Ck?i4a(this,b):g.xF(b)}}; g.k.LA=function(a,b){switch(a){case 21:a=b.split(1).Em;l4a(this,a);break;case 22:this.j0=!0;WX(this.zg,new jO([]),!0);break;case 43:if(a=BO(new vO(b),1))this.info.Uk(this.ue,a),this.TK=!0;break;case 45:b=JUa(new vO(b));a=b.qK;b=b.rK;a&&b&&(this.PG=a/b);break;case 44:this.oB=c4a(new vO(b));var c,d,e;this.policy.Va&&!this.timing.Ea&&4===(null==(c=this.oB)?void 0:c.action)&&(null==(d=this.oB)?0:null==(e=d.d_)?0:e.Os)&&(this.Os=this.oB.d_.Os);break;case 53:this.policy.rb&&(a=a4a(new vO(b)).s8)&&(this.tE|| (this.tE=new g.Bu(this.b8,a,this)),this.tE.start());break;case 60:this.aA=yUa(new vO(b));break;case 64:this.policy.oy&&(a=xUa(new vO(b)),this.policy.Vt(a));break;case 58:this.policy.Ud&&(a=new vO(b),this.iq={iq:yO(a,1),Oaa:yO(a,2)})}}; g.k.Iw=function(a,b,c,d){this.timing.policy.j&&!c&&this.timing.Iw(d);if(21!==a)return!1;if(a=this.policy.Pm)if(d=b.getLength()+c===d,a*=this.info.eb[0].j.info.Sb,!d&&b.getLength() this.info.eb[0].Oa)return!1;return!0}; g.k.hO=function(){return+this.xhr.getResponseHeader("X-Segment-Lmt")||0}; g.k.NH=function(){this.xhr&&(this.Ip=Number(this.xhr.getResponseHeader("X-Head-Seqnum")));return this.Ip}; g.k.qW=function(){this.xhr&&(this.Sq=Number(this.xhr.getResponseHeader("X-Head-Time-Millis")));return this.Sq}; g.k.Pg=function(){return this.Fd.Pg()}; g.k.b8=function(){!this.isDisposed()&&this.xhr&&(this.U_="heartbeat",this.GB(!1))};g.w(XY,MZ);g.k=XY.prototype;g.k.onStateChange=function(){this.isDisposed()&&(YX(this.vg,this.formatId),this.j.dispose())}; g.k.Jq=function(){var a=I_a(this.vg,this.formatId),b;var c=(null==(b=this.vg.pd.get(this.formatId))?void 0:b.bytesReceived)||0;var d;b=(null==(d=this.vg.pd.get(this.formatId))?void 0:d.Oy)||0;return{expected:a,received:c,bytesShifted:b,sliceLength:J_a(this.vg,this.formatId),isEnded:this.vg.ji(this.formatId)}}; g.k.lW=function(){return 0}; g.k.cw=function(){return!0}; g.k.zk=function(){return this.vg.zk(this.formatId)}; g.k.SE=function(){return[]}; g.k.rl=function(){return this.vg.rl(this.formatId)}; g.k.Pg=function(){return this.lastError}; g.k.Kv=function(){return 0};g.k=o4a.prototype;g.k.Wn=function(){return this.D.Wn()}; g.k.nu=function(a){this.D.nu(a);var b;null!=(b=this.Z)&&(b.j=F2a(b,b.Vd,b.OA,b.j,a),b.C=a);this.Sb=Math.max(this.Sb,a.info.j.info.Sb||0)}; g.k.getDuration=function(){if(this.policy.D){var a=this.Ba.nj();if(a)return DY(a)}return this.j.index.gt()}; g.k.Nk=function(){ZY(this);this.D.Nk()}; g.k.aO=function(){return this.D}; g.k.isRequestPending=function(a){return this.C.length?a===this.C[this.C.length-1].info.eb[0].Oa:!1}; g.k.fq=function(a){var b;null==(b=this.Z)||b.fq(a)};g.w(d_,g.J);d_.prototype.VO=function(a,b){if(!c_(a)||!a.j.pg())return!1;var c=this.policy.Ay;0=this.policy.Hp&&this.B&&MQ(a.info)&&"net.badstatus"===c&&this.B.ut(e,d))){d=(b.info.video&&1d?(this.C+=c,.2c.fJ||0c.zP)){this.lR=(0,g.rD)();var d;null==(d=this.oF)||d.stop();this.policy.gb&&(d=this.Nb,a={ev:Math.round(b*a/1E3),qx:a},d.policy.gb&&(d.Z=a,d.aq++));this.Fd.GB(!1)}}}}; g.k.FE=function(a){this.Nb.FE(a)}; g.k.pQ=function(a){this.e_=!0;this.info.resource.Uk(this.ue,a.redirectUrl)}; g.k.JE=function(a){this.Ye instanceof l_&&this.Ye.JE(a)}; g.k.CE=function(a){this.Ye instanceof l_&&this.Ye.CE(a)}; g.k.sQ=function(a,b,c){this.Nb.sQ(a,b,c,this.nt())}; g.k.ZP=function(a){if(rVa(this.policy)){var b=a.formatId,c=f5a({itag:b.itag,lmt:b.lmt,xtags:b.xtags}),d,e,f=new BQ((null==(d=a.rX)?void 0:d.first)||0,(null==(e=a.rX)?void 0:e.IX)||0),h,l;d=new BQ((null==(h=a.indexRange)?void 0:h.first)||0,(null==(l=a.indexRange)?void 0:l.IX)||0);this.manifest.N.get(c)||(c=a.FN||{},c.mimeType=a.mimeType,c.itag=b.itag,c.lastModified=""+(b.lmt||0),c.xtags=b.xtags,a=this.manifest,b=hR(""),c=gR(c,null),eR(a,new cR(b,c,f,d)))}}; g.k.HE=function(a){a.qK&&a.rK&&this.Nb.HE(a)}; g.k.GA=function(a){this.Nb.GA(a)}; g.k.EE=function(a,b,c){this.Nb.EE(a,b,c)}; g.k.IE=function(a){this.policy.ac&&this.Nb.IE(a)}; g.k.GE=function(a){this.Nb.GE(a,this.nt())}; g.k.canRetry=function(){this.isDisposed();return this.Fd.canRetry(!1)}; g.k.dispose=function(){if(!this.isDisposed()){g.J.prototype.dispose.call(this);this.Fd.dispose();var a;null==(a=this.oF)||a.dispose();this.Bc(-1);this.Fy()}}; g.k.Bc=function(a){this.state=a;D6a(this.Nb,this)}; g.k.ew=function(){return this.info.ew()}; g.k.JA=function(a,b,c){c.clipId&&(this.clipId=c.clipId);this.vg.JA(a,b,c);this.policy.Km&&(this.vg.pd.get(a).EG=!0)}; g.k.Tp=function(a,b){this.vg.Tp(a,b)}; g.k.zk=function(a){return this.vg.zk(a)}; g.k.yn=function(a){return this.vg.yn(a)}; g.k.rl=function(a){return this.vg.rl(a)}; g.k.Iq=function(){return this.vg.Iq()}; g.k.Ws=function(){return 1}; g.k.nt=function(){return this.Ye.requestNumber}; g.k.kW=function(){return this.clipId}; g.k.DY=function(){this.Fy()}; g.k.Fy=function(){IZ(this.Ye);var a;null==(a=this.xhr)||a.abort()}; g.k.isComplete=function(){return 3<=this.state}; g.k.EX=function(){return 3===this.state}; g.k.Hn=function(){return 5===this.state}; g.k.hX=function(){return this.isComplete()}; g.k.Gt=function(){return 1<=this.state}; g.k.Wv=function(){return!1}; g.k.Kv=function(){return 0}; g.k.jW=function(){var a;return null==(a=this.info.data)?void 0:a.KM}; g.k.WW=function(){}; g.k.FW=function(){return O5a(this.info)}; g.k.Pg=function(){return this.Fd.Pg()}; g.k.Jq=function(){var a=T3a(this.Fd);Object.assign(a,P5a(this.info));a.req="sabr";a.rn=this.nt();var b;if(null==(b=this.xhr)?0:b.status)a.rc=this.policy.bk?this.xhr.status:this.xhr.status.toString();var c;(b=null==(c=this.xhr)?void 0:c.xf())&&(a.msg=b);this.lR&&(c=G5a(this,this.lR-this.Ye.EW()),a.letm=c.I7,a.mrbps=c.fJ,a.mram=c.zP);return a};var L5a={WEB:1,MWEB:2,TVHTML5:7,WEB_UNPLUGGED:41,WEB_EMBEDDED_PLAYER:56,TVHTML5_AUDIO:57,TV_UNPLUGGED_CAST:58,TVHTML5_KIDS:59,WEB_MUSIC:61,WEB_CREATOR:62,TVHTML5_UNPLUGGED:65,WEB_REMIX:67,TVHTML5_SIMPLY:75,WEB_KIDS:76,TVHTML5_SIMPLY_EMBEDDED_PLAYER:85,WEB_MUSIC_EMBEDDED_PLAYER:86,WEB_MUSIC_ANALYTICS:31,WEB_GAMING:32,WEB_EXPERIMENTS:42,WEB_HEROES:60,WEB_UNPLUGGED_ONBOARDING:69,WEB_UNPLUGGED_OPS:70,WEB_UNPLUGGED_PUBLIC:71,TVHTML5_VR:72,TVHTML5_FOR_KIDS:93};o_.prototype.ew=function(){return 1===this.requestType}; o_.prototype.QN=function(){var a;return(null==(a=this.Nb)?void 0:a.QN())||0};g.w(p_,g.J);p_.prototype.encrypt=function(a){(0,g.rD)();if(this.B)var b=this.B;else this.C?(b=new GR(this.C,this.j.j),g.L(this,b),this.B=b):this.B=new FR(this.j.j),b=this.B;return b.encrypt(a,this.iv)}; p_.prototype.decrypt=function(a,b){(0,g.rD)();return(new FR(this.j.j)).decrypt(a,b)};T5a.prototype.decrypt=function(a,b,c){var d=this,e,f,h,l,m,n;return g.I(function(p){switch(p.j){case 1:if(d.j.length&&!d.j[0].isEncrypted)return p.return();d.B=!0;d.ym.Nd("omd_s");e=new Uint8Array(16);b?c?h=new GR(c,a):h=new FR(a):f=new ER(a);case 2:if(!d.j.length||!d.j[0].isEncrypted){p.La(4);break}l=d.j.shift();if(!f){m=h.decrypt(mO(l.buffer),e);p.La(5);break}return g.y(p,f.decrypt(mO(l.buffer),e),6);case 6:m=p.B;case 5:n=m;for(var q=0;qMath.abs(this.j[0].FW()-a)}; g.k.ut=function(a){if(a instanceof z_)this.j.pop();else{var b=1;a.canRetry()&&(this.j.pop(),null==a||a.dispose(),b=0);this.Ba.handleError(a.Pg(),a.Jq(),b);!this.policy.qy||"net.badstatus"!==a.Pg()&&"net.connect"!==a.Pg()||this.Ba.ZC(a.Jq())}}; g.k.Up=function(a){this.B=a;this.K=(0,g.rD)()+(a.backoffTimeMs||0)}; g.k.FE=function(a){if(void 0!==a.action){var b={};b.reason=a.Iaa;b.action=a.action;switch(a.action){case 1:this.Ba.qH(b);break;case 0:this.Ba.ZC(b);break;case 2:this.Ba.handleError("sabr.config",b,1)}}}; g.k.sQ=function(a,b,c,d){if(this.policy.D){for(var e=this.Ba,f=e.va,h="",l=g.v(a),m=l.next();!m.done;m=l.next()){m=m.value;h+=".cid."+m.clipId;if(m.Wr){var n=m.Wr;h+=".vid."+n.Q0+(".pst."+n.CZ)+(".ps."+n.DZ)+(".lst."+n.Q7)+(".ld."+n.YX)+(".ls."+n.ZX)}m.IP&&(h+=".nonv."+m.IP.TI)}f.call(e,"ssap",{rn:d,v:b,tl:h});if(d=this.Ba.nj())if(e=b,e=void 0===e?"":e,d.cca!==e&&(d.cca=e,(h=d.timeline.j)&&h.getVideoData())){e=[];f=h.getVideoData();h=h.im();l=new Map;m=[];n=[];var p=0,q=0,r=0,t=[];a=g.v(a);for(var u= a.next();!u.done;u=a.next()){var x=u.value,B=x.clipId;if(B){var F;if(x.Wr){r=x.Wr.YX||0;var G=x.Wr.ZX||1;u=Number(((x.Wr.CZ||0)/(x.Wr.DZ||1)*1E3).toFixed(0));G=Number((r/G*1E3).toFixed(0));r=F=u+G}else u=r,G=0,F=u,d.JF.has(B)||d.gk.add(B);var H=void 0,O=null!=(H=l.get(B))?H:0;H=u;var P=F,Y=mY(d.timeline,B);if(null!=Y&&Y.length){Oh||h!==l)&&b.va("sbu_mismatch",{b:cL(f),c:b.currentTime,s:e.Qd()})},0)}}this.Bf()}; g.k.F8=function(a){if(this.Ua){var b=UZ(a===this.Ua.j?this.audioTrack:this.videoTrack);if(a=a.fO())for(var c=0;c=c||cthis.C&&(this.C=c,g.jd(this.j)||(this.j={},this.D.stop(),this.B.stop())),this.j[b]=a,g.Cu(this.B))}}; L_.prototype.G=function(){for(var a=g.v(Object.keys(this.j)),b=a.next();!b.done;b=a.next()){var c=b.value;b=this.ra;for(var d=this.C,e=this.j[c].match(El),f=[],h=g.v(e[6].split("&")),l=h.next();!l.done;l=h.next())l=l.value,0===l.indexOf("cpi=")?f.push("cpi="+d.toString()):0===l.indexOf("ek=")?f.push("ek="+g.ve(c)):f.push(l);e[6]="?"+f.join("&");c="skd://"+e.slice(2).join("");e=2*c.length;d=new Uint8Array(e+4);d[0]=e%256;d[1]=(e-d[0])/256;for(e=0;e=Math.abs(e.value.cryptoPeriodIndex-c)){c=!0;break a}}c=!1}c?(c=a.j,c=1E3*Math.max(0,Math.random()*((isNaN(c)?120:c)-30))):c=0;this.ra("log_qoe",{wvagt:"delay."+c,cpi:a.cryptoPeriodIndex,reqlen:this.j.length}); 0>=c?t7a(this,a):(this.j.push({time:b+c,info:a}),g.Cu(this.B,c))}}; M_.prototype.ya=function(){this.j=[];K_.prototype.ya.call(this)};var J3={},B7a=(J3.DRM_TRACK_TYPE_AUDIO="AUDIO",J3.DRM_TRACK_TYPE_SD="SD",J3.DRM_TRACK_TYPE_HD="HD",J3.DRM_TRACK_TYPE_UHD1="UHD1",J3);g.w(x7a,g.J);g.w(D7a,g.PF);g.k=D7a.prototype;g.k.Sp=function(a){var b=this;this.isDisposed()||0>=a.size||(a.forEach(function(c,d){var e=qR(b.B)?d:c;d=new Uint8Array(qR(b.B)?c:d);qR(b.B)&&U7a(d);c=g.rg(d,4);U7a(d);d=g.rg(d,4);b.j[c]?b.j[c].status=e:b.j[d]?b.j[d].status=e:b.j[c]={type:"",status:e}}),P7a(this,","),N_(this,{onkeystatuschange:1}),this.status="kc",this.ra("keystatuseschange",this))}; g.k.error=function(a,b,c,d){this.isDisposed()||(this.ra("licenseerror",a,b,c,d),"drm.provision"===a&&(a=(Date.now()-this.K)/1E3,this.K=NaN,this.ra("ctmp","provf",{et:a.toFixed(3)})));EK(b)&&this.dispose()}; g.k.shouldRetry=function(a,b){return this.Fa&&this.N?!1:!a&&this.requestNumber===b.requestNumber}; g.k.ya=function(){this.j={};g.PF.prototype.ya.call(this)}; g.k.lc=function(){var a={ctype:this.Y.contentType||"",length:this.Y.initData.length,requestedKeyIds:this.Ea,cryptoPeriodIndex:this.cryptoPeriodIndex};this.C&&(a.keyStatuses=this.j);return a}; g.k.ph=function(){var a=this.D.join();if(O_(this)){var b=new Set,c;for(c in this.j)"usable"!==this.j[c].status&&b.add(this.j[c].type);a+="/UKS."+Array.from(b)}return a+="/"+this.cryptoPeriodIndex}; g.k.cf=function(){return this.url};g.w(P_,g.J);g.k=P_.prototype;g.k.M3=function(a){if(this.G){var b=a.messageType||"license-request";this.G(new Uint8Array(a.message),b)}}; g.k.Sp=function(){this.N&&this.N(this.j.keyStatuses)}; g.k.cZ=function(a){this.G&&this.G(a.message,"license-request")}; g.k.bZ=function(a){if(this.C){if(this.B){var b=this.B.error.code;a=this.B.error.systemCode}else b=a.errorCode,a=a.systemCode;this.C("t.prefixedKeyError;c."+b+";sc."+a,b,a)}}; g.k.aZ=function(){this.K&&this.K()}; g.k.update=function(a){var b=this;if(this.j)return(yR.isActive()?yR.Am("emeupd",function(){return b.j.update(a)}):this.j.update(a)).then(null,TO(function(c){W7a(b,"t.update",c)})); this.B?this.B.update(a):this.element.addKey?this.element.addKey(this.Z.keySystem,a,this.initData,this.sessionId):this.element.webkitAddKey&&this.element.webkitAddKey(this.Z.keySystem,a,this.initData,this.sessionId);return YB()}; g.k.ya=function(){this.j&&(this.Y?this.j.close().catch(g.xF):this.j.close());this.element=null;g.J.prototype.ya.call(this)};g.w(Q_,g.J);g.k=Q_.prototype;g.k.CM=function(){var a=this;if(this.j.keySystemAccess)return(yR.isActive()?yR.Am("emenew",function(){return a.j.keySystemAccess.createMediaKeys()}):this.j.keySystemAccess.createMediaKeys()).then(function(c){if(!a.isDisposed())if(a.B=c,yR.isActive())yR.Am("emeset",function(){return a.element.setMediaKeys(c)}); else{var d;null==(d=a.element)||d.setMediaKeys(c)}}); if(pR(this.j))this.C=new (oR())(this.j.keySystem);else if(rR(this.j)){this.C=new (oR())(this.j.keySystem);var b;null==(b=this.element)||b.webkitSetMediaKeys(this.C)}else yR.isActive()&&this.va("emev",{v:"01b"}),FC(this.G,this.element,["keymessage","webkitkeymessage"],this.P3),FC(this.G,this.element,["keyerror","webkitkeyerror"],this.O3),FC(this.G,this.element,["keyadded","webkitkeyadded"],this.N3);return null}; g.k.setServerCertificate=function(){return this.B.setServerCertificate?"widevine"===this.j.flavor&&this.j.Ol?this.B.setServerCertificate(this.j.Ol):tR(this.j)&&this.j.Ya?this.B.setServerCertificate(this.j.Ya):null:null}; g.k.createSession=function(a,b){var c=a.initData;if(this.j.keySystemAccess){b&&b("createsession");var d=this.B.createSession();sR(this.j)?c=X7a(c,this.j.Ya):tR(this.j)&&(c=s7a(c)||new Uint8Array(0));b&&b("genreq");var e=yR.isActive()?yR.Am("emegen",function(){return d.generateRequest(a.contentType,c)}):d.generateRequest(a.contentType,c); var f=new P_(null,null,null,d,null,this.N);e.then(function(){b&&b("genreqsuccess")},TO(function(l){W7a(f,"t.generateRequest",l)})); return f}if(pR(this.j))return Z7a(this,c);if(rR(this.j))return Y7a(this,c);if(null==(e=this.element)?0:e.generateKeyRequest)this.element.generateKeyRequest(this.j.keySystem,c);else{var h;null==(h=this.element)||h.webkitGenerateKeyRequest(this.j.keySystem,c)}return this.D=new P_(this.element,this.j,c,null,null,this.N)}; g.k.P3=function(a){var b=$7a(this,a);b&&b.cZ(a)}; g.k.O3=function(a){var b=$7a(this,a);b&&b.bZ(a)}; g.k.N3=function(a){var b=$7a(this,a);b&&b.aZ(a)}; g.k.getMetrics=function(){if(this.B&&this.B.getMetrics)try{var a=this.B.getMetrics()}catch(b){}return a}; g.k.ya=function(){this.C=this.B=null;var a;null==(a=this.D)||a.dispose();a=g.v(Object.values(this.K));for(var b=a.next();!b.done;b=a.next())b.value.dispose();this.K={};g.J.prototype.ya.call(this);delete this.element};g.k=R_.prototype;g.k.get=function(a){a=this.findIndex(a);return-1!==a?this.values[a]:null}; g.k.remove=function(a){a=this.findIndex(a);-1!==a&&(this.keys.splice(a,1),this.values.splice(a,1))}; g.k.Mf=function(){this.keys=[];this.values=[]}; g.k.set=function(a,b){var c=this.findIndex(a);-1!==c?this.values[c]=b:(this.keys.push(a),this.values.push(b))}; g.k.findIndex=function(a){return g.Bb(this.keys,function(b){return g.Yb(a,b)})};g.w(c8a,g.PF);g.k=c8a.prototype;g.k.g9=function(a){this.cj({onecpt:1});a.initData&&f8a(this,new Uint8Array(a.initData),a.initDataType)}; g.k.D9=function(a){this.cj({onndky:1});f8a(this,a.initData,a.contentType)}; g.k.Hw=function(a){this.cj({onneedkeyinfo:1});this.W.L("html5_eme_loader_sync")&&(this.N.get(a.initData)||this.N.set(a.initData,a));e8a(this,a)}; g.k.WU=function(a){this.C.push(a);S_(this)}; g.k.createSession=function(a){var b=h8a(this)?Y2a(a):g.rg(a.initData);this.B.get(b);this.Ea=!0;a=new D7a(this.videoData,this.W,a,this.drmSessionId);this.B.set(b,a);a.subscribe("ctmp",this.pJ,this);a.subscribe("keystatuseschange",this.Sp,this);a.subscribe("licenseerror",this.uJ,this);a.subscribe("newlicense",this.XY,this);a.subscribe("newsession",this.YY,this);a.subscribe("sessionready",this.jZ,this);a.subscribe("fairplay_next_need_key_info",this.PY,this);this.W.L("html5_enable_vp9_fairplay")&&a.subscribe("qualitychange", this.tS,this);H7a(a,this.D)}; g.k.XY=function(a){this.isDisposed()||(this.cj({onnelcswhb:1}),a&&!this.heartbeatParams&&(this.heartbeatParams=a,this.ra("heartbeatparams",a)))}; g.k.YY=function(){this.isDisposed()||(this.cj({newlcssn:1}),this.C.shift(),this.Ea=!1,S_(this))}; g.k.jZ=function(){if(pR(this.j)&&(this.cj({onsnrdy:1}),this.Na--,0===this.Na)){var a=this.ma,b,c;null==(b=a.element)||null==(c=b.msSetMediaKeys)||c.call(b,a.C)}}; g.k.Sp=function(a){if(!this.isDisposed()){!this.Ka&&this.videoData.L("html5_log_drm_metrics_on_key_statuses")&&(i8a(this),this.Ka=!0);this.cj({onksch:1});var b=this.tS;if(!O_(a)&&g.HD&&"com.microsoft.playready"===a.B.keySystem&&navigator.requestMediaKeySystemAccess)var c="large";else{c=[];var d=!0;if(O_(a))for(var e=g.v(Object.keys(a.j)),f=e.next();!f.done;f=e.next())f=f.value,"usable"===a.j[f].status&&c.push(a.j[f].type),"unknown"!==a.j[f].status&&(d=!1);if(!O_(a)||d)c=a.D;c=O7a(c)}b.call(this,c); this.ra("keystatuseschange",a)}}; g.k.pJ=function(a,b){this.isDisposed()||this.ra("ctmp",a,b)}; g.k.PY=function(a,b){this.isDisposed()||this.ra("fairplay_next_need_key_info",a,b)}; g.k.uJ=function(a,b,c,d){this.isDisposed()||(this.videoData.L("html5_log_drm_metrics_on_error")&&i8a(this),this.ra("licenseerror",a,b,c,d))}; g.k.Gv=function(){return this.Z}; g.k.tS=function(a){var b=g.AP("auto",a,!1,"l");if(this.videoData.Al){if(this.Z.equals(b))return}else if(DLa(this.Z,a))return;this.Z=b;this.ra("qualitychange");this.cj({updtlq:a})}; g.k.ya=function(){this.j.keySystemAccess&&this.element&&(this.Aa?this.element.setMediaKeys(null).catch(g.xF):this.element.setMediaKeys(null));this.element=null;this.C=[];for(var a=g.v(this.B.values()),b=a.next();!b.done;b=a.next())b=b.value,b.unsubscribe("ctmp",this.pJ,this),b.unsubscribe("keystatuseschange",this.Sp,this),b.unsubscribe("licenseerror",this.uJ,this),b.unsubscribe("newlicense",this.XY,this),b.unsubscribe("newsession",this.YY,this),b.unsubscribe("sessionready",this.jZ,this),b.unsubscribe("fairplay_next_need_key_info", this.PY,this),this.W.L("html5_enable_vp9_fairplay")&&b.unsubscribe("qualitychange",this.tS,this),b.dispose();this.B.clear();this.K.Mf();this.N.Mf();this.heartbeatParams=null;g.PF.prototype.ya.call(this)}; g.k.lc=function(){for(var a={systemInfo:this.j.lc(),sessions:[]},b=g.v(this.B.values()),c=b.next();!c.done;c=b.next())a.sessions.push(c.value.lc());return a}; g.k.ph=function(){return 0>=this.B.size?"no session":""+this.B.values().next().value.ph()+(this.G?"/KR":"")}; g.k.cj=function(a,b){b=void 0===b?!1:b;this.isDisposed()||(CK(a),(this.W.Lc()||b)&&this.ra("ctmp","drmlog",a))};g.w(j8a,g.J);g.k=j8a.prototype;g.k.uH=function(){return!!this.lE}; g.k.GI=function(){return this.B}; g.k.handleError=function(a){var b=this;p8a(this,a);if(("html5.invalidstate"!==a.errorCode&&"fmt.unplayable"!==a.errorCode&&"fmt.unparseable"!==a.errorCode||!o8a(this,a.errorCode,a.details))&&!t8a(this,a)){if("yt"!==this.Ia.Ea&&r8a(this,a)&&this.videoData.Uo&&(0,g.rD)()/1E3>this.videoData.Uo&&"hm"===this.Ia.Ea){var c=Object.assign({e:a.errorCode},a.details);c.stalesigexp="1";c.expire=this.videoData.Uo;c.init=this.videoData.FS/1E3;c.now=(0,g.rD)()/1E3;c.systelapsed=((0,g.rD)()-this.videoData.FS)/1E3; a=new DK(a.errorCode,c,2);this.qa.Ag(a.errorCode,2,"SIGNATURE_EXPIRED",CK(a.details))}if(EK(a.severity)){var d;c=null==(d=this.qa.Ba)?void 0:d.j.j;if(this.Ia.L("html5_use_network_error_code_enums"))if(q8a(a)&&c&&c.isLocked())var e="FORMAT_UNAVAILABLE";else{if(!this.Ia.N&&"auth"===a.errorCode&&429===a.details.rc){e="TOO_MANY_REQUESTS";var f="6"}}else q8a(a)&&c&&c.isLocked()?e="FORMAT_UNAVAILABLE":this.Ia.N||"auth"!==a.errorCode||"429"!==a.details.rc||(e="TOO_MANY_REQUESTS",f="6");this.qa.Ag(a.errorCode, a.severity,e,CK(a.details),f)}else this.qa.ra("nonfatalerror",a),d=/^pp/.test(this.videoData.clientPlaybackNonce),this.oe(a.errorCode,a.details),d&&"manifest.net.connect"===a.errorCode&&(a="https://www.youtube.com/generate_204?cpn="+this.videoData.clientPlaybackNonce+"&t="+(0,g.rD)(),rU(a,"manifest",function(h){b.G=!0;b.va("pathprobe",h)},function(h){b.oe(h.errorCode,h.details)}))}}; g.k.va=function(a,b){this.qa.uc().va(a,b)}; g.k.oe=function(a,b){b=CK(b);this.qa.uc().oe(a,b)};w8a.prototype.L=function(a){return this.W.L(a)};g.w(U_,g.J);U_.prototype.Rd=function(a){N8a(this);this.playerState=a.state;0<=this.B&&g.HG(a,16)&&this.seekCount++;a.state.isError()&&this.send()}; U_.prototype.onError=function(a){if("player.fatalexception"!==a||this.provider.L("html5_exception_to_health"))"sabr.fallback"===a&&(this.encounteredSabrFallback=!0),a.match(Ojb)?this.networkErrorCount++:this.nonNetworkErrorCount++}; U_.prototype.send=function(){if(!(this.C||0>this.j)){N8a(this);var a=g.rN(this.provider)-this.j,b="PLAYER_PLAYBACK_STATE_UNKNOWN",c=this.playerState.nh;this.playerState.isError()?b=c&&"auth"===c.errorCode?"PLAYER_PLAYBACK_STATE_UNKNOWN":"PLAYER_PLAYBACK_STATE_ERROR":g.FG(this.playerState,2)?b="PLAYER_PLAYBACK_STATE_ENDED":g.FG(this.playerState,64)?b="PLAYER_PLAYBACK_STATE_UNSTARTED":g.FG(this.playerState,16)||g.FG(this.playerState,32)?b="PLAYER_PLAYBACK_STATE_SEEKING":g.FG(this.playerState,1)&&g.FG(this.playerState, 4)?b="PLAYER_PLAYBACK_STATE_PAUSED_BUFFERING":g.FG(this.playerState,1)?b="PLAYER_PLAYBACK_STATE_BUFFERING":g.FG(this.playerState,4)?b="PLAYER_PLAYBACK_STATE_PAUSED":g.FG(this.playerState,8)&&(b="PLAYER_PLAYBACK_STATE_PLAYING");c=tab[uT(this.provider.videoData)];a:switch(this.provider.W.playerCanaryState){case "canary":var d="HTML5_PLAYER_CANARY_TYPE_EXPERIMENT";break a;case "holdback":d="HTML5_PLAYER_CANARY_TYPE_CONTROL";break a;default:d="HTML5_PLAYER_CANARY_TYPE_UNSPECIFIED"}var e=O8a(this.provider), f=0>this.B?a:this.B-this.j;a=this.provider.W.Sf+36E5<(0,g.rD)();b={started:0<=this.B,stateAtSend:b,joinLatencySecs:f,playTimeSecs:this.playTimeSecs,rebufferTimeSecs:this.rebufferTimeSecs,seekCount:this.seekCount,networkErrorCount:this.networkErrorCount,nonNetworkErrorCount:this.nonNetworkErrorCount,playerCanaryType:d,playerCanaryStage:e,isAd:this.provider.videoData.isAd(),liveMode:c,hasDrm:!!g.tT(this.provider.videoData),isGapless:this.provider.videoData.Y,isServerStitchedDai:this.provider.videoData.enableServerStitchedDai, encounteredSabrFallback:this.encounteredSabrFallback};a||g.cD("html5PlayerHealthEvent",b);this.C=!0;this.dispose()}}; U_.prototype.ya=function(){this.C||this.send();g.J.prototype.ya.call(this)}; var Ojb=/\bnet\b/;var P8a=/[?&]cpn=/;var U8a=Math.pow(10,8);g.w(g.X_,g.J);g.k=g.X_.prototype;g.k.T6=function(){var a=g.rN(this.provider);Y8a(this,a)}; g.k.AD=function(){return this.Na}; g.k.ED=function(){return{XA:this.XA,YA:this.YA}}; g.k.BF=function(a,b){this.XA=a;this.YA=b}; g.k.reportStats=function(a){a=void 0===a?NaN:a;if(!this.isDisposed()&&(a=0<=a?a:g.rN(this.provider),-1<["PL","B","S"].indexOf(this.hf)&&(!g.jd(this.j)||a>=this.D+30)&&(g.W_(this,a,"vps",[this.hf]),this.D=a),!g.jd(this.j))){7E3===this.sequenceNumber&&g.xF(Error("Sent over 7000 pings"));if(!(7E3<=this.sequenceNumber)){a9a(this,a);var b=a,c=this.provider.qa.MD(),d=c.droppedVideoFrames||0,e=c.totalVideoFrames||0,f=d-this.XA,h=e&&!this.YA;d>c.totalVideoFrames||5E3=this.playTimeSecs&&(this.provider.qa.zE(),this.j.qoealert=["1"],this.ob=!0)),"B"!==d||"PL"!==this.hf&&"PB"!==this.hf||(this.Aa=!0),this.D=c);"PL"===this.hf&&("B"===d||"S"===d)||this.provider.W.Lc()?a9a(this,c):(this.rb||"PL"!==d||(this.rb= !0,$8a(this,c,this.provider.qa.ID())),Y8a(this,c));"PL"===d&&g.Cu(this.fd);var e=[d];a=a.state.seekSource;"S"===d&&a&&e.push("ss."+a);g.W_(this,c,"vps",e);this.hf=d;this.D=this.sb=c;this.K=!0}d=b.nh;g.FG(b,128)&&d&&(d.ZJ=d.ZJ||"",f9a(this,c,d.errorCode,d.yH,d.ZJ));(g.FG(b,2)||g.FG(b,128))&&this.reportStats(c);b.isPlaying()&&!this.N&&(0<=this.B&&(this.j.user_intent=[this.B.toString()]),this.N=!0);d9a(this)}; g.k.LE=function(a){var b=g.rN(this.provider);g.W_(this,b,"vfs",[a.j.id,a.B,this.hc,a.reason]);this.hc=a.j.id;var c=this.provider.qa.getPlayerSize();if(0=this.provider.qa.getDuration()-.1&&(this.previouslyEnded=!0);if(a!==this.j||n9a(this,a,b)){var c;if(!(c=ab-this.Op+2||n9a(this,a,b))){c=this.provider.qa.getVolume();var d=c!==this.Y,e=this.provider.qa.isMuted()?1:0;e!==this.Z?(this.Z=e,c=!0):(!d||0<=this.D||(this.Y=c,this.D=b),c=b-this.D,0<=this.D&&2GG(a,64)||0>GG(a,512))&&(a=E9a(this,!1),a.G=b,a.send())}else this.K="paused"}; g.k.ya=function(){g.J.prototype.ya.call(this);g0(this);l9a(this.j)}; g.k.lc=function(){return r9a(d0(this,"playback"))}; g.k.IB=function(){this.provider.videoData.N.eventLabel=GT(this.provider.videoData);this.provider.videoData.N.playerStyle=this.provider.W.playerStyle;this.provider.videoData.hj&&(this.provider.videoData.N.feature="pyv");this.provider.videoData.N.vid=this.provider.videoData.videoId;var a=this.provider.videoData.N;var b=this.provider.videoData;b=b.isAd()||!!b.hj;a.isAd=b}; g.k.Uj=function(a){var b=d0(this,"engage");b.Y=a;return t9a(b,I9a(this.provider))};H9a.prototype.isEmpty=function(){return this.endTime===this.startTime};i0.prototype.L=function(a){return this.W.L(a)}; i0.prototype.getCurrentTime=function(){if(g.MT(this.videoData)){var a=this.qa.nj();if(a){var b=this.qa.getCurrentTime(),c;a=((null==(c=CY(a,1E3*b))?void 0:c.xm)||0)/1E3;return b-a}}return this.qa.getCurrentTime()}; i0.prototype.Oi=function(){if(g.MT(this.videoData)){var a=this.qa.nj();if(a){var b=this.qa.Oi(),c;a=(null==(c=CY(a,1E3*b))?NaN:c.xm)/1E3||0;return b-a}}return this.qa.Oi()}; var J9a={other:1,none:2,wifi:3,cellular:7,ethernet:30};g.w(g.j0,g.J);g.k=g.j0.prototype;g.k.Rd=function(a){if(g.HG(a,1024)||g.HG(a,512)||g.HG(a,4)){if(this.B){var b=this.B;0<=b.B||(b.j=-1,b.delay.stop())}this.qoe&&(b=this.qoe,b.N||(b.B=-1))}if(this.provider.videoData.enableServerStitchedDai&&this.Yg){var c;null==(c=this.C.get(this.Yg))||c.Rd(a)}else this.j&&this.j.Rd(a);this.qoe&&this.qoe.Rd(a);this.B&&this.B.Rd(a)}; g.k.Xe=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Yg){var a;null==(a=this.C.get(this.Yg))||a.Xe()}else this.j&&this.j.Xe()}; g.k.jo=function(a){this.qoe&&this.qoe.jo(a)}; g.k.oe=function(a,b){this.qoe&&g9a(this.qoe,a,b);if(this.B)this.B.onError(a)}; g.k.LE=function(a){this.qoe&&this.qoe.LE(a)}; g.k.wE=function(a){this.qoe&&this.qoe.wE(a)}; g.k.onPlaybackRateChange=function(a){if(this.qoe)this.qoe.onPlaybackRateChange(a);this.j&&a0(this.j.j)}; g.k.Ut=aa(47);g.k.va=function(a,b,c){this.qoe&&this.qoe.va(a,b,c)}; g.k.hF=function(a,b,c){this.qoe&&this.qoe.hF(a,b,c)}; g.k.Xw=function(){this.qoe&&this.qoe.Xw()}; g.k.dB=function(a,b,c){this.qoe&&this.qoe.dB(a,b,c)}; g.k.Tn=aa(26);g.k.AD=function(){if(this.qoe)return this.qoe.AD()}; g.k.lc=function(){if(this.provider.videoData.enableServerStitchedDai&&this.Yg){var a;null==(a=this.C.get(this.Yg))||a.lc()}else if(this.j)return this.j.lc();return{}}; g.k.ED=function(){var a;return null==(a=this.qoe)?void 0:a.ED()}; g.k.BF=function(a,b){var c;null==(c=this.qoe)||c.BF(a,b)}; g.k.Uj=function(a){return this.j?this.j.Uj(a):function(){}}; g.k.IB=function(){this.j&&this.j.IB()}; g.k.getVideoData=function(){return this.provider.videoData}; g.k.resume=function(){this.qoe&&this.qoe.resume()};g.w(k0,g.J);k0.prototype.iN=function(a,b){if(!this.j.has(a)){b=new i0(b,this.W,this.qa);var c=Math.round(1E3*g.rN(this.B.provider));c=new g.j0(b,c);b=this.B.getVideoData();this.j.set(a,c);c.qoe&&(a=c.qoe,c=b.videoId||"",a.contentCpn=b.clientPlaybackNonce,a.oa=c)}}; k0.prototype.uc=function(a){a=a||this.Yg;return this.j.get(a)||this.B};g.w(l0,g.J);g.k=l0.prototype;g.k.uf=function(a,b){this.Io();b&&2E3<=this.j.array.length&&this.jD("captions",1E4);b=this.j;if(1b.array.length)b.array=b.array.concat(a),b.array.sort(b.j);else{a=g.v(a);for(var c=a.next();!c.done;c=a.next())c=c.value,!b.array.length||0a&&this.D.start()))}; g.k.yN=function(a){var b=[];if(!a.length)return b;for(var c=0;ca&&(a=(a-this.B)/this.oa(),this.D.start(a)))}}; g.k.yX=function(){if(this.started&&!this.isDisposed()){this.D.stop();var a=this.G();g.FG(a,32)&&this.ma.start();for(var b=g.FG(this.G(),2)?0x8000000000000:1E3*this.Z(),c=g.FG(a,2),d=[],e=[],f=g.v(this.C),h=f.next();!h.done;h=f.next())h=h.value,h.active&&(c?0x8000000000000>h.end:!h.contains(b))&&e.push(h);d=d.concat(this.AN(e));f=e=null;c?(a=T9a(this.j,0x7ffffffffffff),e=a.filter(function(l){return 0x8000000000000>l.end}),f=U9a(this.j)):a=this.B<=b&&TBa(a)?S9a(this.j,this.B,b):T9a(this.j,b); d=d.concat(this.yN(a));e&&(d=d.concat(this.AN(e)));f&&(d=d.concat(this.yN(f)));this.B=b;Y9a(this,d)}}; g.k.ya=function(){this.C=[];this.j.array=[];g.J.prototype.ya.call(this)}; g.dY.xI(l0,{uf:"crmacr",yN:"crmncr",AN:"crmxcr",yX:"crmis",Zp:"crmrcr"});g.w(o0,g.PF);o0.prototype.Yq=function(){return this.N}; o0.prototype.Kq=function(){return Math.max(this.Z()-p0(this)*this.j,this.videoData.Id())};g.w(t0,g.J);t0.prototype.Rd=function(){g.Cu(this.C)}; t0.prototype.Bf=function(){var a=this,b=this.qa.lf(),c=this.qa.getPlayerState();if(b&&!c.isError()){var d=b.getCurrentTime(),e=8===c.state&&d>this.j,f=g.FG(c,8)&&g.FG(c,16),h=this.qa.An().isBackground()||c.isSuspended();u0(this,this.Sa,f&&!h,e,"qoe.slowseek",function(){},"timeout"); var l=isFinite(this.j);l=f&&l&&NBa(b,this.j);var m=!d||10d+5,x=m&&q&&u,B=this.qa.getVideoData();u0(this,this.Ea,.002>d&&.002>this.j&&f&&g.AJ(this.W)&&g.nT(B)&&!h,e,"qoe.slowseek",l,"slow_seek_shorts");u0(this,this.Z,x&&!h,m&&!q,"qoe.longrebuffer",p,"jiggle_cmt");u0(this,this.Y,x&&!h,m&&!q,"qoe.longrebuffer",l,"new_elem_nnr");if(n){var F=n.getCurrentTime();f=b.Lv();f=xBa(f,F);f=!n.Zf()&&d===f;u0(this,this.ob,m&&q&&f&&!h,m&&!q&&!f,"qoe.longrebuffer", function(){b.seekTo(F)},"seek_to_loader")}f={}; p=dL(r,Math.max(d-3.5,0));x=0<=p&&d>r.end(p)-1.1;var G=0<=p&&p+1G;f.close2edge=x;f.gapsize=G;f.buflen=r.length;u0(this,this.ma,m&&q&&!h,m&&!q,"qoe.longrebuffer",function(){},"timeout",f); t=c.isSuspended();t=D_(this.qa)&&!t;u0(this,this.G,t,!t,"qoe.start15s",function(){a.qa.Bg("ad")},"ads_preroll_timeout"); f=.5>d-this.D;p=B.isAd()&&m&&!q&&f;t=function(){var H=a.qa,O=H.Pd.Bd();(!O||!H.videoData.isAd()||O.getVideoData().Xc!==H.getVideoData().Xc)&&H.videoData.Jf||H.Ag("ad.rebuftimeout",2,"RETRYABLE_ERROR","skipslad.vid."+H.videoData.videoId)}; u0(this,this.Ya,p,!p,"ad.rebuftimeout",t,"skip_slow_ad");f=B.isAd()&&q&&eL(b.Ih(),d+5)&&f;u0(this,this.bb,f,!f,"ad.rebuftimeout",t,"skip_slow_ad_buf");u0(this,this.gb,g.DL(c)&&g.FG(c,64)&&!h,e,"qoe.start15s",function(){},"timeout"); u0(this,this.oa,!!n&&!n.Ua&&g.DL(c),e,"qoe.start15s",l,"newElemMse");e=hL(r,0);n=g.FG(c,16)||g.FG(c,32);e=!h&&g.DL(c)&&q&&!n&&(g.FG(c,64)||0===d)&&5fY(this.qa)-d&&!u&&this.qa.Zq();u0(this,this.K,g.nT(B)&&c&&q&&h,m&&!q,"qoe.longrebuffer",function(){T_(a.qa,!1,!0)},"handoff_end_long_buffer_reload"); this.D=d;this.C.start()}}; t0.prototype.oe=function(a,b,c){b=this.lc(b);b.wn=c;b.wdup=this.B[a]?"1":"0";this.qa.oe(new DK(a,b));this.B[a]=!0}; t0.prototype.lc=function(a){a=Object.assign(this.qa.lc(!0),a.lc());this.j&&(a.stt=this.j.toFixed(3));this.qa.getVideoData().isLivePlayback&&(a.ct=this.qa.getCurrentTime().toFixed(3),a.to=this.qa.Pc().toFixed(3));delete a.uga;delete a.euri;delete a.referrer;delete a.fexp;delete a.vm;return a}; r0.prototype.reset=function(){this.j=this.B=this.C=this.startTimestamp=0;this.D=!1}; r0.prototype.test=function(a){if(!this.G||this.B)return!1;if(!a)return this.reset(),!1;a=(0,g.rD)();if(!this.startTimestamp)this.startTimestamp=a,this.C=0;else if(this.C>=this.G)return this.B=a,!0;this.C+=1;return!1}; r0.prototype.lc=function(){var a={},b=(0,g.rD)();this.startTimestamp&&(a.wsd=(b-this.startTimestamp).toFixed());this.B&&(a.wtd=(b-this.B).toFixed());this.j&&(a.wssd=(b-this.j).toFixed());return a};g.w(l$a,g.J);g.k=l$a.prototype;g.k.setMediaElement=function(a){g.GC(this.rb);(this.mediaElement=a)?(A$a(this),v0(this)):w0(this)}; g.k.Rd=function(a){this.Ea.Rd(a);this.L("html5_exponential_memory_for_sticky")&&(a.state.isPlaying()?g.Cu(this.Fa):this.Fa.stop());if(this.mediaElement)if(8===a.AA.state&&TBa(a.state)&&g.EL(a.state)){a=this.mediaElement.getCurrentTime();var b=this.mediaElement.Ih();var c=this.L("manifestless_post_live_ufph")||this.L("manifestless_post_live")?dL(b,Math.max(a-3.5,0)):dL(b,a-3.5);0<=c&&a>b.end(c)-1.1&&c+1b.start(c+1)-b.end(c)&&(c=b.start(c+1)+.2,.2>Math.abs(this.Lb-c)||(this.qa.va("seekover", {b:cL(b,"_"),cmt:a}),this.Lb=c,this.seekTo(c,{Uv:!0,xd:"seektimeline_postLiveDisc"})))}else(null==(b=a.state)?0:8===b.state)&&!this.gb&&((this.W.L("embeds_enable_muted_autoplay")||g.rC(g.eS(this.W)))&&0=this.Me())||!g.yT(this.videoData))||this.qa.va("seeknotallowed",{st:x,mst:this.Me()});if(!p)return this.D&&(this.D=null,u$a(this)),Xf(this.getCurrentTime());if(.005>Math.abs(a- this.j)&&this.ma)return this.G;h&&(x=a,(this.W.Lc()||this.L("html5_log_seek_reasons"))&&this.qa.va("seekreason",{reason:h,tgt:x}));this.ma&&w0(this);this.G||(this.G=new uL);a&&!isFinite(a)&&o$a(this,!1);(h=n||c)||(h=a,h=!(this.videoData.isLivePlayback&&this.videoData.C&&!this.videoData.C.j&&!(this.mediaElement&&0e.videoData.endSeconds;e.W.L("embeds_enable_muted_autoplay")&&(h=h&&f>e.videoData.limitedPlaybackDurationInSeconds);e.Eq&&h&&isFinite(f)&&cab(e);fb.start&& cab(this.qa);return this.G}; g.k.Me=function(a){if(!this.videoData.isLivePlayback)return Eab(this.qa);var b;return OT(this.videoData)&&(null==(b=this.mediaElement)?0:b.isPaused())&&this.videoData.j?(a=this.getCurrentTime(),bSa(1E3*this.bf(a))+a):iT(this.videoData)&&this.videoData.rb&&this.videoData.j?this.videoData.j.Me()+this.timestampOffset:this.videoData.C&&this.videoData.C.j?!a&&this.B?this.B.Kq():Eab(this.qa)+this.timestampOffset:this.mediaElement?fC()?bSa(this.mediaElement.yG().getTime()):IBa(this.mediaElement)+this.timestampOffset|| this.timestampOffset:this.timestampOffset}; g.k.Id=function(){if(g.MT(this.videoData)){var a=this.qa;g.MT(a.videoData);var b,c;return null!=(c=null==(b=a.wc)?void 0:b.Id())?c:a.videoData.Id()}b=this.videoData?this.videoData.Id()+this.timestampOffset:this.timestampOffset;return OT(this.videoData)&&this.videoData.j&&(c=Number(null==(a=this.videoData.progressBarStartPosition)?void 0:a.utcTimeMillis)/1E3,a=this.getCurrentTime(),a=this.bf(a)-a,!isNaN(c)&&!isNaN(a))?Math.max(b,c-a):b}; g.k.EN=function(){this.G||this.seekTo(this.C,{xd:"seektimeline_forceResumeTime_singleMediaSourceTransition",seekSource:15})}; g.k.CI=function(){return this.ma&&!isFinite(this.j)}; g.k.ya=function(){p$a(this,null);this.Ea.dispose();g.J.prototype.ya.call(this)}; g.k.lc=function(){var a={};this.Ba&&Object.assign(a,this.Ba.lc());this.mediaElement&&Object.assign(a,this.mediaElement.lc());return a}; g.k.tQ=function(a){this.timestampOffset=a}; g.k.getStreamTimeOffset=function(){return iT(this.videoData)?0:this.videoData.j?this.videoData.j.getStreamTimeOffset():0}; g.k.Pc=function(){return this.timestampOffset}; g.k.bf=function(a){return this.videoData.j.bf(a-this.timestampOffset)}; g.k.Iv=function(){if(!this.mediaElement)return 0;if(zT(this.videoData)){var a=this.mediaElement,b=a.Ih();a=(0=a.start);return a}; g.k.Yq=function(){return this.Zc.Yq()}; g.k.isPlaying=function(){return this.playerState.isPlaying()}; g.k.eE=function(){return this.playerState.eE()&&this.videoData.Km}; g.k.getPlayerState=function(){return this.playerState}; g.k.getPlayerType=function(){return this.playerType}; g.k.getPreferredQuality=function(){if(this.cg){var a=this.cg;a=a.videoData.My.compose(a.videoData.LU);a=DP(a)}else a="auto";return a}; g.k.CD=aa(21);g.k.isGapless=function(){return!!this.mediaElement&&this.mediaElement.isView()}; g.k.setMediaElement=function(a){this.logger.debug("set media element");if(this.mediaElement&&a.zb()===this.mediaElement.zb()&&(a.isView()||this.mediaElement.isView())){if(a.isView()||!this.mediaElement.isView())g.GC(this.MB),this.mediaElement=a,this.mediaElement.qa=this,pab(this),this.Zc.setMediaElement(this.mediaElement)}else{this.mediaElement&&this.Aj();if(!this.playerState.isError()){var b=BL(this.playerState,512);g.FG(b,8)&&!g.FG(b,2)&&(b=AL(b,1));a.isView()&&(b=BL(b,64));this.vc(b)}this.mediaElement= a;this.mediaElement.qa=this;rS(this.W)&&this.mediaElement.setLoop(this.loop);this.mediaElement.setPlaybackRate(this.playbackRate);pab(this);this.Zc.setMediaElement(this.mediaElement);this.L("html5_prewarm_media_source")&&!this.Ok.uH()&&JBa(this.mediaElement)}}; g.k.Aj=function(a,b){a=void 0===a?!1:a;b=void 0===b?!1:b;this.logger.debug("remove media element");if(this.mediaElement){var c=this.getCurrentTime();0this.mediaElement.getCurrentTime()&&this.Ba)return;this.L("html5_ignore_unexpected_waiting_cfl")&&(this.mediaElement.isPaused()||21E3*e+100)&&(h=$0a(d,f))){e=!1;f=void 0;h=g.v(h.segments);for(l=h.next();!l.done;l=h.next()){l=l.value;if(e){f=l;break}l.im()===d.Og&&(e=!0)}(e=null==(c=f)?void 0:c.im())&&d.finishSegmentByCpn(d.Og,e,2)}}}break;case "resize":Dab(this);this.videoData.B&&"auto"===this.videoData.B.video.quality&& this.ra("internalvideoformatchange",this.videoData,!1);break;case "pause":if(this.dV&&g.FG(this.playerState,8)&&!g.FG(this.playerState,1024)&&0===this.getCurrentTime()&&g.lD){H0(this,"safari_autoplay_disabled");return}}if(this.mediaElement&&this.mediaElement.Hf()===b){this.L("html5_restore_time_after_unpause")&&z$a(this.Zc,a);this.ra("videoelementevent",a);b=this.playerState;c=this.videoData.clientPlaybackNonce;var m=g.MT(this.videoData)&&this.wc?DY(this.wc):void 0;if(!g.FG(b,128)){d=this.KC;f=this.mediaElement; h=this.W.experiments;e=b.state;f=f?f:a.target;l=f.getCurrentTime();if(!g.FG(b,64)||"ended"!==a.type&&"pause"!==a.type){m=m||f.getDuration();m=f.ji()||1Math.abs(l-m);var n="pause"===a.type&&f.ji();l="ended"===a.type||"waiting"===a.type||"timeupdate"===a.type&&!g.FG(b,4)&&!m0(d,l);if(n||m&&l)0a-this.LI||(this.LI=a,b!==this.Lh()&&(a=this.visibility,a.j!==b&&(a.j=b,a.wg()),this.va("airplay",{rbld:b}),k8a(this)),this.ra("airplayactivechange"))}; g.k.ND=function(a){if(this.Ba){var b=this.Ba,c=b.C,d=b.currentTime,e=Date.now()-c.Y;c.Y=NaN;c.va("sdai",{adfetchdone:a,d:e});a&&!isNaN(c.G)&&3!==c.B&&f2a(c.Ba,d,c.G,c.D);c.N=NaN;fZ(c,4,3===c.B?"adfps":"adf");H_(b)}}; g.k.Ec=function(a){var b=this;a=void 0===a?!1:a;if(this.mediaElement&&this.videoData){r$a(this.Zc,this.isPlaying());var c=this.getCurrentTime();this.Ba&&(g.FG(this.playerState,4)&&g.yT(this.videoData)||p7a(this.Ba,c));5Math.abs(m-h)?(b.va("setended",{ct:h,bh:l,dur:m,live:n}),b.mediaElement.Zs()?(b.logger.debug("seek to 0 because of looping"),b.seekTo(0,{xd:"videoplayer_loop"})):jY(b)):(g.EL(b.playerState)||Aab(b,"progress_fix"),b.vc(AL(b.playerState,1)))):(m&&!n&&!p&&0n-1&&b.va("misspg",{t:h.toFixed(2), d:n.toFixed(2),r:m.toFixed(2),bh:l.toFixed(2)})),b.playerState.isPaused()&&g.EL(b.playerState)&&5GG(b,8)||g.HG(b,1024))&& this.ww.stop();!g.HG(b,8)||this.videoData.Sa||g.FG(b.state,1024)||this.ww.start();g.FG(b.state,8)&&0>GG(b,16)&&!g.FG(b.state,32)&&!g.FG(b.state,2)&&this.playVideo();g.FG(b.state,2)&&zT(this.videoData)&&(this.Cl(this.getCurrentTime()),this.Ec(!0));g.HG(b,2)&&this.zR(!0);g.HG(b,128)&&this.oo();this.videoData.j&&this.videoData.isLivePlayback&&!this.s0&&(0>GG(b,8)?oOa(this.videoData.j):g.HG(b,8)&&this.videoData.j.resume());this.Zc.Rd(b);this.uc().Rd(b);if(c&&!this.isDisposed())try{for(var e=g.v(this.SJ), f=e.next();!f.done;f=e.next()){var h=f.value;this.Ni.Rd(h);this.ra("statechange",h)}}finally{this.SJ.length=0}}}; g.k.zE=function(){this.videoData.isLivePlayback||this.L("html5_disable_connection_issue_event")||this.ra("connectionissue")}; g.k.oQ=function(){this.Ub.tick("qoes")}; g.k.EN=function(){this.Zc.EN()}; g.k.uJ=function(a,b,c,d){a:{var e=this.Ok;d=void 0===d?"LICENSE":d;c=c.substr(0,256);var f=EK(b);"drm.keyerror"===a&&this.Ce&&1e.D&&(a="drm.sessionlimitexhausted",f=!1);if(f)if(e.videoData.B&&e.videoData.B.video.isHdr())u8a(e,a);else{if(e.qa.Ag(a,b,d,c),l8a(e,{detail:c}))break a}else e.oe(a,{detail:c});"drm.sessionlimitexhausted"===a&&(e.va("retrydrm",{sessionLimitExhausted:1}),e.D++,zab(e.qa))}}; g.k.p9=function(){var a=this,b=g.pJ(this.W.experiments,"html5_license_constraint_delay"),c=Noa();b&&c?(b=new g.Bu(function(){I0(a);F0(a)},b),g.L(this,b),b.start()):(I0(this),F0(this))}; g.k.BE=function(a){this.ra("heartbeatparams",a)}; g.k.Sp=function(a){this.va("keystatuses",Q7a(a));var b="auto",c=!1;this.videoData.B&&(b=this.videoData.B.video.quality,c=this.videoData.B.video.isHdr());if(this.L("html5_drm_check_all_key_error_states")){var d=R7a(b,c);d=O_(a)?S7a(a,d):a.D.includes(d)}else{a:{b=R7a(b,c);for(d in a.j)if("output-restricted"===a.j[d].status){var e=a.j[d].type;if(""===b||"AUDIO"===e||b===e){d=!0;break a}}d=!1}d=!d}if(this.L("html5_enable_vp9_fairplay")){if(c)if(a.Z){var f;if(null==(f=this.Ce)?0:tR(f.j))if(null==(c=this.Ce))c= 0;else{b=f=void 0;e=g.v(c.B.values());for(var h=e.next();!h.done;h=e.next())h=h.value,f||(f=T7a(h,"SD")),b||(b=T7a(h,"AUDIO"));c.cj({sd:f,audio:b});c="output-restricted"===f||"output-restricted"===b}else c=!d;if(c){this.va("drm",{dshdr:1});u8a(this.Ok);return}}else{this.videoData.cC||(this.videoData.cC=!0,this.va("drm",{dphdr:1}),T_(this,!0));return}var l;if(null==(l=this.Ce)?0:tR(l.j))return}else if(l=a.Z&&d,c&&!l){u8a(this.Ok);return}d||S7a(a,"AUDIO")&&S7a(a,"SD")||(this.logger.debug("All formats are output restricted, Retry or Abort"), a=Q7a(a),this.tR?(this.logger.debug("Output restricted, playback cannot continue"),this.ra("drmoutputrestricted"),this.L("html5_report_fatal_drm_restricted_error_killswitch")||this.Ag("drm.keyerror",2,void 0,"info."+a)):(this.tR=!0,this.oe(new DK("qoe.restart",Object.assign({},{retrydrm:1},a))),z0(this),zab(this)))}; g.k.r9=function(){if(!this.videoData.Sa&&this.mediaElement&&!this.isBackground()){var a="0";0=b.B.size){var c="ns;";b.Y||(c+="nr;");b=c+="ql."+b.C.length}else b=Q7a(b.B.values().next().value),b=CK(b);a.drmp=b}var d;Object.assign(a,(null==(d=this.Ba)?void 0:d.lc())||{});var e;Object.assign(a,(null==(e=this.mediaElement)?void 0:e.lc())||{});this.uc().oe("qoe.start15s",CK(a));this.ra("loadsofttimeout")}}; g.k.Cl=function(a){this.videoData.lengthSeconds!==a&&(this.videoData.lengthSeconds=a,F0(this))}; g.k.zR=function(a){var b=this;a=void 0===a?!1:a;if(!this.KG){LH("att_s","player_att")||PH("att_s",void 0,"player_att");var c=new g.pLa(this.videoData);if("c1a"in c.j&&!g.bI.isInitialized()){PH("att_wb",void 0,"player_att");2===this.DM&&.01>Math.random()&&g.xF(Error("Botguard not available after 2 attempts"));if(a)return;if(5>this.DM){g.Cu(this.JG);this.DM++;return}}if("c1b"in c.j){var d=N9a(this.uc());d&&sLa(c).then(function(e){e&&!b.KG&&d?(PH("att_f",void 0,"player_att"),d(e),b.KG=!0):PH("att_e", void 0,"player_att")},function(){PH("att_e",void 0,"player_att")})}else(a=g.qLa(c))?(PH("att_f",void 0,"player_att"),M9a(this.uc(),a),this.KG=!0):PH("att_e",void 0,"player_att")}}; g.k.Me=function(a){return this.Zc.Me(void 0===a?!1:a)}; g.k.Id=function(){return this.Zc.Id()}; g.k.Pc=function(){return this.Zc?this.Zc.Pc():0}; g.k.getStreamTimeOffset=function(){return this.Zc?this.Zc.getStreamTimeOffset():0}; g.k.Bp=function(){var a=0;this.W.L("web_player_ss_media_time_offset")&&(a=0===this.getStreamTimeOffset()?this.Pc():this.getStreamTimeOffset());return a}; g.k.setPlaybackRate=function(a){var b;this.playbackRate!==a&&z8a(this.ll,null==(b=this.videoData.C)?void 0:b.videoInfos)&&z0(this);this.playbackRate=a;this.mediaElement&&this.mediaElement.setPlaybackRate(a)}; g.k.getPlaybackRate=function(){return this.playbackRate}; g.k.getPlaybackQuality=function(){var a="unknown";if(this.videoData.B&&(a=this.videoData.B.video.quality,"auto"===a&&this.mediaElement)){var b=W$a(this);b&&0=+c),b.dis=this.mediaElement.JD("display"));(a=a?(0,g.Z_)():null)&&(b.gpu=a);b.debug_playbackQuality=this.Wa.getPlaybackQuality(1);b.debug_date=(new Date).toString();b.timestamp=Date.now();delete b.uga;delete b.q;return JSON.stringify(b, null,2)}; g.k.getFeedbackProductData=function(){var a={player_debug_info:this.getDebugText(!0),player_experiment_ids:this.U().experiments.experimentIds.join(", "),player_release:"youtube.player.web_20231119_00_RC00"},b=this.Qb().nh;b&&(a.player_error_code=b.errorCode,a.player_error_details=JSON.stringify(b.errorDetail));return a}; g.k.getPresentingPlayerType=function(a){if(1===this.appState)return 1;if(T0(this))return 3;var b;if(a&&(null==(b=this.Pe)?0:E0a(b,this.getCurrentTime())))return 2;var c;return g.MT(this.getVideoData())&&(null==(c=this.wc)?0:Z0a(c))?2:g.$T(this).getPlayerType()}; g.k.Qz=function(){return g.MT(this.getVideoData())&&this.wc?this.wc.Qz():!1}; g.k.Qb=function(a){return 3===this.getPresentingPlayerType()?jU(this.Dd).hf:g.$T(this,a).getPlayerState()}; g.k.getAppState=function(){return this.appState}; g.k.vQ=function(a){switch(a.type){case "loadedmetadata":this.nK.start();a=g.v(this.mB);for(var b=a.next();!b.done;b=a.next())b=b.value,ybb(this,b.id,b.Bca,b.Aca,void 0,!1);this.mB=[];break;case "loadstart":this.Ub.Cu("gv");break;case "progress":case "timeupdate":2<=gL(a.target.Ih())&&this.Ub.Cu("l2s");break;case "playing":g.pS&&this.nK.start();if(g.AJ(this.W))a=!1;else{b=g.mU(this.yb());a="none"===this.mediaElement.JD("display")||0===this.mediaElement.getSize().area();var c=SY(this.template),d=this.Fb.getVideoData(), e=g.VG(this.W)||g.dS(this.W);d=oT(d);b=!c||b||e||d||this.W.Ib;a=a&&!b}a&&(this.Fb.va("hidden",{},!0),this.getVideoData().Lb||(this.getVideoData().Lb=1,this.WY(),this.Fb.playVideo()))}}; g.k.onLoadProgress=function(a,b){this.Wa.Qa("onLoadProgress",b)}; g.k.H$=function(){this.Wa.ra("playbackstalledatstart")}; g.k.onVideoProgress=function(a,b){a=S0(this,a);b=b1(this,a.getCurrentTime(),a);this.Wa.Qa("onVideoProgress",b)}; g.k.onAutoplayBlocked=function(){this.Wa.Qa("onAutoplayBlocked")}; g.k.X9=function(){this.Wa.ra("progresssync")}; g.k.L9=function(){this.Wa.Qa("onPlaybackPauseAtStart")}; g.k.I8=function(a){if(1===this.getPresentingPlayerType()){g.HG(a,1)&&!g.FG(a.state,64)&&this.Ed().isLivePlayback&&this.wb.isAtLiveHead()&&1=1E3*(this.getDuration()-1)){jbb(this);return}Yab(this)}if(g.FG(a.state,128)){var b=a.state;this.cancelPlayback(5);b=b.nh;JSON.stringify({errorData:b,debugInfo:this.getDebugText(!0)});this.Wa.Qa("onError",wSa(b.errorCode));this.Wa.Qa("onDetailedError",{errorCode:b.errorCode, errorDetail:b.errorDetail,message:b.errorMessage,messageKey:b.zN,cpn:b.cpn});6048E5<(0,g.rD)()-this.W.Sf&&this.Wa.Qa("onReloadRequired")}b={};if(a.state.isPlaying()&&!g.EL(a.state)&&!LH("pbresume","ad_to_video")&&LH("_start","ad_to_video")){var c=this.getVideoData();b.clientPlaybackNonce=c.clientPlaybackNonce;c.videoId&&(b.videoId=c.videoId);g.MH(b,"ad_to_video");OH("pbresume",void 0,"ad_to_video");PVa(this.Dd)}this.Wa.ra("applicationplayerstatechange",a)}}; g.k.oZ=function(a){3!==this.getPresentingPlayerType()&&this.Wa.ra("presentingplayerstatechange",a)}; g.k.jk=function(a){Q0(this,FL(a.state));g.FG(a.state,1024)&&this.Wa.isMutedByMutedAutoplay()&&($0(this,{muted:!1,volume:this.Ei.volume},!1),a1(this,!1))}; g.k.E8=function(a,b,c){"newdata"===a&&Nab(this);b=c.clipConfig;"dataloaded"===a&&b&&null!=b.startTimeMs&&null!=b.endTimeMs&&this.setLoopRange({startTimeMs:Math.floor(Number(b.startTimeMs)),endTimeMs:Math.floor(Number(b.endTimeMs)),postId:b.postId,type:"clips"})}; g.k.wE=function(){this.Wa.Qa("onPlaybackAudioChange",this.Wa.getAudioTrack().Mc.name)}; g.k.LE=function(a){var b=this.Fb.getVideoData();a===b&&this.Wa.Qa("onPlaybackQualityChange",a.B.video.quality)}; g.k.onVideoDataChange=function(a,b,c){this.logger.debug(function(){return"on video data change "+a+", player type "+b.getPlayerType()+", vid "+c.videoId}); b===this.wb&&(this.W.pj=c.oauthToken);if(b===this.wb){this.getVideoData().enableServerStitchedDai&&!this.Pe?this.Pe=new g.oY(this.Wa,this.W,this.wb):!this.getVideoData().enableServerStitchedDai&&this.Pe&&(this.Pe.dispose(),this.Pe=null);var d,e;!g.MT(this.getVideoData())||"newdata"!==a&&"dataloaded"!==a||this.getVideoData().clientPlaybackNonce===(null==(d=this.Qw.j)?void 0:null==(e=d.getVideoData())?void 0:e.clientPlaybackNonce)?!g.MT(this.getVideoData())&&this.wc&&(this.wc.dispose(),this.wc=null): (this.Qw.Mf(),d=t0a(this.Qw,1,0,1E3*this.getDuration(1),this.getVideoData()),q0a(this.Qw,d),this.wc&&(this.wc.dispose(),this.wc=null),this.wc=new V0a(this.Wa,this.Qw,this.wb))}if("newdata"===a)this.logger.debug("new video data, destroy modules"),HV(this.Dd,2),this.Wa.ra("videoplayerreset",b);else{if(!this.mediaElement)return;"dataloaded"===a&&(this.Fb===this.wb?(wPa(c.Ia,c.GS),cbb(this)):abb(this));1===b.getPlayerType()&&(this.W.Ya&&Gbb(this),this.getVideoData().isLivePlayback&&!this.W.mp&&this.Jg("html5.unsupportedlive", 2,"DEVICE_FALLBACK"),c.isLoaded()&&((NRa(c)||this.getVideoData().Ax)&&tSa(this.Ky,this.getVideoData(),this.wb),c.hasProgressBarBoundaries()&&rbb(this)));this.Wa.ra("videodatachange",a,c,b.getPlayerType())}this.Wa.Qa("onVideoDataChange",{type:a,playertype:b.getPlayerType()});this.sK();(d=c.tF)?this.Uq.GV(d,c.clientPlaybackNonce):H1a(this.Uq)}; g.k.YG=function(){V0(this,null);this.Wa.Qa("onPlaylistUpdate")}; g.k.CY=function(a){var b=a.getId(),c=this.Ed(),d=!this.isInline();if(!c.inlineMetricEnabled&&!this.W.experiments.jb("enable_player_logging_lr_home_infeed_ads")||d){if("part2viewed"===b){if(c.cU&&g.kE(c.cU),c.aR&&i1(this,c.aR),c.uy)for(var e={CPN:this.getVideoData().clientPlaybackNonce},f=g.v(c.uy),h=f.next();!h.done;h=f.next())i1(this,g.pu(h.value,e))}else"conversionview"===b?this.wb.IB():"engagedview"===b&&c.hj&&(e={CPN:this.getVideoData().clientPlaybackNonce},g.kE(g.pu(c.hj,e)));c.eU&&(e=a.getId(), e=GB(c.eU,{label:e}),g.kE(e));switch(b){case "videoplaytime25":c.NS&&i1(this,c.NS);c.yS&&j1(this,c.yS);c.kU&&g.kE(c.kU);break;case "videoplaytime50":c.OS&&i1(this,c.OS);c.zS&&j1(this,c.zS);c.mU&&g.kE(c.mU);break;case "videoplaytime75":c.aU&&i1(this,c.aU);c.AS&&j1(this,c.AS);c.oU&&g.kE(c.oU);break;case "videoplaytime100":c.MS&&i1(this,c.MS),c.lS&&j1(this,c.lS),c.fU&&g.kE(c.fU)}(e=this.getVideoData().Ax)&&qbb(this,e,a.getId())&&qbb(this,e,a.getId()+"gaia")}if(c.inlineMetricEnabled&&!d)switch(b){case "videoplaybackstart":var l, m=null==(l=c.vy)?void 0:l.j;m&&i1(this,m);break;case "videoplayback2s":(l=null==(m=c.vy)?void 0:m.C)&&i1(this,l);break;case "videoplayback10s":var n;(l=null==(n=c.vy)?void 0:n.B)&&i1(this,l)}this.wb.removeCueRange(a)}; g.k.W9=function(a){delete this.YJ[a.getId()];this.wb.removeCueRange(a);a:{a=this.getVideoData();var b,c,d,e,f,h,l,m,n,p,q=(null==(b=a.Na)?void 0:null==(c=b.contents)?void 0:null==(d=c.singleColumnWatchNextResults)?void 0:null==(e=d.autoplay)?void 0:null==(f=e.autoplay)?void 0:f.sets)||(null==(h=a.Na)?void 0:null==(l=h.contents)?void 0:null==(m=l.twoColumnWatchNextResults)?void 0:null==(n=m.autoplay)?void 0:null==(p=n.autoplay)?void 0:p.sets);if(q)for(b=g.v(q),c=b.next();!c.done;c=b.next())if(c=c.value, e=d=void 0,c=c.autoplayVideo||(null==(d=c.autoplayVideoRenderer)?void 0:null==(e=d.autoplayEndpointRenderer)?void 0:e.endpoint),d=g.U(c,g.jT),f=e=void 0,null!=c&&(null==(e=d)?void 0:e.videoId)===a.videoId&&(null==(f=d)?0:f.continuePlayback)){a=c;break a}a=null}(b=g.U(a,g.jT))&&this.Wa.Qa("onPlayVideo",{sessionData:{autonav:"1",itct:null==a?void 0:a.clickTrackingParams},videoId:b.videoId,watchEndpoint:b})}; g.k.eq=function(a){var b=this;a!==this.appState&&(this.logger.debug(function(){return"app state change "+b.appState+" -> "+a}),2===a&&1===this.getPresentingPlayerType()&&(Q0(this,-1),Q0(this,5)),this.appState=a,this.Wa.ra("appstatechange",a))}; g.k.Jg=function(a,b,c,d,e){this.wb.Ag(a,b,c,d,e)}; g.k.Mr=function(a,b){this.wb.handleError(new DK(a,b))}; g.k.isAtLiveHead=function(a,b){b=void 0===b?!1:b;var c=g.$T(this,a);if(!c)return!1;a=R0(this,c);c=S0(this,c);return a!==c?a.isAtLiveHead(b1(this,c.getCurrentTime(),c),!0):a.isAtLiveHead(void 0,b)}; g.k.Hv=function(){var a=g.$T(this);return a?R0(this,a).Hv():0}; g.k.seekTo=function(a,b,c,d,e){b=!1!==b;if(d=g.$T(this,d))2===this.appState&&Y0(this),this.Jf(d)?c1(this)?this.Pe.seekTo(a,{seekSource:e},b,c):this.Wc.seekTo(a,{seekSource:e},b,c):g.MT(this.getVideoData())&&this.wc?this.wc.seekTo(a,{WF:!b,mS:c,xd:"application",seekSource:e}):d.seekTo(a,{WF:!b,mS:c,xd:"application",seekSource:e})}; g.k.seekBy=function(a,b,c,d){this.seekTo(this.getCurrentTime()+a,b,c,d)}; g.k.IA=function(){this.Wa.Qa("SEEK_COMPLETE")}; g.k.w$=function(a,b){var c=a.getVideoData();if(1===this.appState||2===this.appState)c.startSeconds=b;2===this.appState?g.FG(a.getPlayerState(),512)||Y0(this):this.Wa.Qa("SEEK_TO",b)}; g.k.onAirPlayActiveChange=function(){this.Wa.ra("airplayactivechange");this.W.L("html5_external_airplay_events")&&this.Wa.Qa("onAirPlayActiveChange",this.Wa.Lh())}; g.k.onAirPlayAvailabilityChange=function(){this.Wa.ra("airplayavailabilitychange");this.W.L("html5_external_airplay_events")&&this.Wa.Qa("onAirPlayAvailabilityChange",this.Wa.ZD())}; g.k.showAirplayPicker=function(){var a;null==(a=this.Fb)||a.uu()}; g.k.QP=function(){this.Wa.ra("beginseeking")}; g.k.VP=function(){this.Wa.ra("endseeking")}; g.k.getStoryboardFormat=function(a){return(a=g.$T(this,a))?R0(this,a).getVideoData().getStoryboardFormat():null}; g.k.Vj=function(a){return(a=g.$T(this,a))?R0(this,a).getVideoData().Vj():null}; g.k.Jf=function(a){a=a||this.Fb;var b=!1;if(a){a=a.getVideoData();if(c1(this))a=a===this.Pe.qa.getVideoData();else a:if(b=this.Wc,a===b.j.getVideoData()&&b.B.length)a=!0;else{b=g.v(b.B);for(var c=b.next();!c.done;c=b.next())if(a.Xc===c.value.Xc){a=!0;break a}a=!1}b=a}return b}; g.k.DC=function(a,b,c,d,e,f,h){this.logger.debug(function(){return"Adding video to timeline id="+a.video_id+"\n lengthMs="+d+" enterTimeMs="+e}); var l="",m=c1(this),n;null==(n=g.$T(this))||n.va("appattl",{sstm:this.Pe?1:0,ssenable:this.getVideoData().enableServerStitchedDai,susstm:m});l=m?B0a(this.Pe,a,b,c,d,e,f,h):j1a(this.Wc,a,c,d,e,f);this.logger.debug(function(){return"Video added to timeline id="+a.video_id+" timelinePlaybackId="+l}); return l}; g.k.WD=function(a,b,c,d,e,f,h){if(c1(this)){var l=B0a(this.Pe,a,b,c,d,e,f,h);this.logger.debug(function(){return"Remaining video added to timeline id="+a.video_id+" timelinePlaybackId="+l})}return""}; g.k.Wt=function(a){var b;null==(b=this.Pe)||b.Wt(a)}; g.k.Ry=function(a,b){a=void 0===a?-1:a;b=void 0===b?Infinity:b;c1(this)||s1a(this.Wc,a,b)}; g.k.YF=function(a,b,c){if(c1(this)){var d=this.Pe,e=d.fd.get(a);e?(void 0===c&&(c=e.Sd),e.durationMs=b,e.Sd=c):d.oE("Invalid_timelinePlaybackId_"+a+"_specified")}else{d=this.Wc;e=null;for(var f=g.v(d.B),h=f.next();!h.done;h=f.next())if(h=h.value,h.Xc===a){e=h;break}e?(void 0===c&&(c=e.Sd),r1a(d,e,b,c)):GY(d,"InvalidTimelinePlaybackId timelinePlaybackId="+a)}}; g.k.enqueueVideoByPlayerVars=function(a,b,c,d){c=void 0===c?Infinity:c;d=void 0===d?"":d;this.Jf();a=new g.ZS(this.W,a);d&&(a.Xc=d);sbb(this,a,b,c)}; g.k.queueNextVideo=function(a,b,c,d,e){c=void 0===c?NaN:c;a=this.preloadVideoByPlayerVars(a,void 0===b?1:b,c,void 0===d?"":d,void 0===e?"":e);b=this.Bd();a&&b&&(c=this.Bo.Z,d=b.getVideoData(),e=a.getVideoData(),d.U().supportsGaplessShorts()?d.ql||e.ql?c={nq:"autoplay"}:d.Y?(c=U_a(c,b,a,Infinity),c=null!=c?{nq:c.msg}:null):c={nq:"client"}:c={nq:"env"},null!=c?(b.va("sgap",c),b.getVideoData().Y&&(b.videoData.Y=!1,b.Ba&&G_(b.Ba))):(a=a.getVideoData(),b=this.F0,b.j!==a&&(b.j=a,b.B=1,a.isLoaded()?b.C(): b.j.subscribe("dataloaded",b.C,b))))}; g.k.wH=function(a,b,c,d){var e=this;c=void 0===c?0:c;d=void 0===d?0:d;var f=g.$T(this);f&&(R0(this,f).s0=!0);h0a(this.Bo,a,b,c,d).then(function(){e.Wa.Qa("onQueuedVideoLoaded")},function(){})}; g.k.gw=function(){return this.Bo.gw()}; g.k.clearQueue=function(){this.logger.debug("Clearing queue");this.Bo.clearQueue()}; g.k.loadVideoByPlayerVars=function(a,b,c,d,e){b=void 0===b?1:b;if(2===b&&this.Ed().enableServerStitchedDai&&this.wb&&!D_(this.wb)){var f;null==(f=this.wb)||f.va("lvonss",{vid:(null==a?void 0:a.videoId)||"",ptype:b});return!1}var h=!1;f=new g.ZS(this.W,a);g.oS(this.W)&&!f.ql&&rV(this.Ub);var l,m=null!=(l=f.Ka)?l:"";this.Ub.timerName=m;this.Ub.Di("pl_i");this.L("web_player_early_cpn")&&f.clientPlaybackNonce&&this.Ub.VD({clientPlaybackNonce:f.clientPlaybackNonce});if(this.U().supportsGaplessShorts()&& !this.L("html5_shorts_gapless_always_fallback")){l=k0a(this.Bo,f,b);if(null==l){Q0(this,-1);a=this.Bo;a.app.setLoopRange(null);a.app.getVideoData().dC=!0;var n,p;null==(n=a.j)||null==(p=n.Ba)||p.resume();var q;null==(q=a.j)||FY(q.uc());a.app.seekTo(j0a(a));if(!a.app.Qb(b).isPlaying()){var r;null==(r=g.$T(a.app))||r.playVideo(!0)}a.K();return!0}this.Bo.clearQueue();var t;null==(t=g.$T(this))||t.va("sgap",{f:l})}if(e){for(;f.wm.length&&f.wm[0].isExpired();)f.wm.shift();n=f.wm.length-1;h=0Math.random()&&g.cD("autoplayTriggered",{intentional:this.xX});this.aY=!1;PVa(this.Dd);this.L("web_player_defer_ad")&&bbb(this);this.Wa.Qa("onPlaybackStartExternal");(this.W.L("mweb_client_log_screen_associated"),gS(this.W))||a();var c={};this.getVideoData().G&&(c.cttAuthInfo={token:this.getVideoData().G,videoId:this.getVideoData().videoId});c.sampleRate= 20;NH("player_att",c);if(this.getVideoData().botguardData||this.L("fetch_att_independently"))g.mS(this.W)||"MWEB"===g.zR(this.W)?g.WC(g.YC(),function(){Z0(b)}):Z0(this); this.sK();ibb(this)}; g.k.cQ=function(){this.Wa.ra("internalAbandon");d1(this)}; g.k.onApiChange=function(){this.W.K&&this.Fb?this.Wa.Qa("onApiChange",this.Fb.getPlayerType()):this.Wa.Qa("onApiChange")}; g.k.y9=function(){var a=this.mediaElement;a={volume:g.le(Math.floor(100*a.getVolume()),0,100),muted:a.TH()};a.muted||a1(this,!1);this.Ei=g.qd(a);this.Wa.Qa("onVolumeChange",a)}; g.k.mutedAutoplay=function(){var a=this.getVideoData().videoId;isNaN(this.EP)&&(this.EP=this.getVideoData().startSeconds);a&&(this.loadVideoByPlayerVars({video_id:a,playmuted:!0,start:this.EP}),this.Wa.Qa("onMutedAutoplayStarts"))}; g.k.onFullscreenChange=function(){var a=Cbb(this);this.Bm(a?1:0);Ebb(this,!!a)}; g.k.Bm=function(a){var b=!!a,c=!!this.rz()!==b;this.visibility.Bm(a);this.template.Bm(b);this.L("html5_media_fullscreen")&&!b&&this.mediaElement&&Cbb(this)===this.mediaElement.zb()&&this.mediaElement.hD();this.template.resize();c&&this.Ub.tick("fsc");c&&(this.Wa.ra("fullscreentoggled",b),a=this.Ed(),b={fullscreen:b,videoId:a.ZL||a.videoId,time:this.getCurrentTime()},this.Wa.getPlaylistId()&&(b.listId=this.Wa.getPlaylistId()),this.Wa.Qa("onFullscreenChange",b))}; g.k.isFullscreen=function(){return this.visibility.isFullscreen()}; g.k.rz=function(){return this.visibility.rz()}; g.k.k$=function(){this.Fb&&(0!==this.rz()&&1!==this.rz()||this.Bm(Cbb(this)?1:0),this.W.Fm&&this.getVideoData()&&!this.getVideoData().backgroundable&&this.mediaElement&&.33>window.outerHeight*window.outerWidth/(window.screen.width*window.screen.height)&&this.mediaElement.hD())}; g.k.q9=function(a){3!==this.getPresentingPlayerType()&&this.Wa.ra("liveviewshift",a)}; g.k.playVideo=function(a){this.logger.debug(function(){return"play video, player type "+a}); var b=g.$T(this,a);b&&(2===this.appState?(g.oS(this.W)&&rV(this.Ub),Y0(this)):g.FG(b.getPlayerState(),2)?(this.seekTo(0),this.W.Lc()&&b.va("szro",{})):b.playVideo())}; g.k.pauseVideo=function(a,b){(a=g.$T(this,a))&&a.pauseVideo(b)}; g.k.stopVideo=function(a){a=void 0===a?!1:a;this.logger.debug(function(){return"stop video"}); var b=this.wb.getVideoData(),c=new g.ZS(this.W,{video_id:b.ZL||b.videoId,oauth_token:b.oauthToken});c.Z=g.qd(b.Z);a&&(c.nU=!0);this.cancelPlayback(6);g1(this,c,1)}; g.k.cancelPlayback=function(a,b){var c=this;this.logger.debug(function(){return"start cancel playback, type "+b}); var d=g.$T(this,b);d?2===b&&1===d.getPlayerType()&&(cSa(this.Ed())||g.MT(this.getVideoData()))?d.va("canclpb",{r:"no_adpb_ssdai"}):(this.W.Lc()&&d.va("canclpb",{r:a}),1===this.appState||2===this.appState?this.logger.debug(function(){return"cancel playback end, app not started, state "+c.appState}):(d===this.Fb&&(this.logger.debug("cancel playback, destroy modules"),HV(this.Dd,a)),1===b&&(d.stopVideo(),d1(this)),d.oo(void 0,6!==a),P0(this,"cuerangesremoved",d.jm()),d.Ni.reset(),this.Bo&&d.isGapless()&& (d.Aj(!0),d.setMediaElement(this.mediaElement)))):this.logger.debug("cancel playback end, no player to cancel")}; g.k.sendVideoStatsEngageEvent=function(a,b,c){(b=g.$T(this,b))&&FPa(this.W,a)?b.sendVideoStatsEngageEvent(a,c):c&&c()}; g.k.Uj=function(a){var b=g.$T(this);return b&&FPa(this.W,a)?b.Uj(a):null}; g.k.updatePlaylist=function(){kS(this.W)?W0(this):g.VR(this.W)&&dbb(this);this.Wa.Qa("onPlaylistUpdate")}; g.k.setSizeStyle=function(a,b){this.x_=a;this.aP=b;this.Wa.ra("sizestylechange",a,b);this.template.resize()}; g.k.hw=function(){return this.aP}; g.k.qg=function(){return this.visibility.qg()}; g.k.isInline=function(){return this.visibility.isInline()}; g.k.Et=function(){return this.visibility.Et()}; g.k.Pz=function(){return this.visibility.Pz()}; g.k.YO=function(){return this.x_}; g.k.getAdState=function(){if(3===this.getPresentingPlayerType())return jU(this.Dd).getAdState();if(!this.Jf()){var a=IV(this.yb());if(a)return a.getAdState()}return-1}; g.k.j$=function(a){var b=this.template.getVideoContentRect();Tr(this.PX,b)||(this.PX=b,this.Fb&&I0(this.Fb),this.wb&&this.wb!==this.Fb&&I0(this.wb),1===this.rz()&&this.OE&&Ebb(this,!0));this.hP&&g.ue(this.hP,a)||(this.Wa.ra("appresize",a),this.hP=a)}; g.k.Nh=function(){return this.Wa.Nh()}; g.k.C$=function(){2===this.getPresentingPlayerType()&&this.Wc.isManifestless()?q1a(this.Wc):(this.Pe&&(H0a(this.Pe),d1(this)),Xab(this,"signature"))}; g.k.WY=function(){this.Aj();O0(this)}; g.k.E9=function(a){"manifest.net.badstatus"===a.errorCode&&a.details.rc===(this.W.experiments.jb("html5_use_network_error_code_enums")?401:"401")&&this.Wa.Qa("onPlayerRequestAuthFailed")}; g.k.zE=function(){this.Wa.Qa("CONNECTION_ISSUE")}; g.k.BE=function(a){this.Wa.ra("heartbeatparams",a)}; g.k.jK=function(a){this.Wa.Qa("onAutonavChangeRequest",1!==a)}; g.k.lf=function(){return this.mediaElement}; g.k.setBlackout=function(a){this.W.Ib!==a&&(this.W.Ib=a,this.Fb&&(this.Fb.Co(),this.W.Ya&&Gbb(this),this.Fb.jo(a)))}; g.k.G9=function(){var a=g.$T(this);if(a){var b=!this.Wa.dE();(a.ZW=b)||a.ww.stop();a.videoData.j&&(b?a.videoData.j.resume():oOa(a.videoData.j));a.Ba&&(b?a.Ba.resume():L0(a,!0));g.FG(a.playerState,2)||b?g.FG(a.playerState,512)&&b&&a.vc(BL(a.playerState,512)):a.vc(AL(a.playerState,512));a=a.uc();a.qoe&&(a=a.qoe,g.W_(a,g.rN(a.provider),"stream",[b?"A":"I"]))}}; g.k.onLoadedMetadata=function(){this.Wa.Qa("onLoadedMetadata")}; g.k.onDrmOutputRestricted=function(){this.Wa.Qa("onDrmOutputRestricted")}; g.k.BM=function(){Yib=this.L("html5_use_async_stopVideo");Zib=this.L("html5_pause_for_async_stopVideo");Xib=this.L("html5_not_reset_media_source");OBa=this.L("html5_rebase_video_to_ad_timeline");BBa=this.L("html5_not_reset_media_source");Wib=this.L("html5_not_reset_media_source");yBa=this.L("html5_retain_source_buffer_appends_for_debugging");IPa=this.L("html5_avoid_3gpp");this.L("html5_mediastream_applies_timestamp_offset")&&(DZ=!0);this.L("html5_support_managed_media_source")&&(oL=tBa=!0);aNa=this.L("html5_prefer_slice_length"); vjb=this.L("html5_use_target_duration");var a=g.pJ(this.W.experiments,"html5_cobalt_override_quic");a&&$X("QUIC",+(0=this.B.startSecs&&c.startSecs<=this.B.startSecs+this.B.Yh)?DG("Latest Endemic Live Web cue point overlaps with previous cue point"):(this.B=c,Ycb(this, c)))}}; g.k.ya=function(){null!=this.j&&(this.j.unsubscribe("cuepointupdated",this.UP,this),this.j=null);this.listeners.length=0;this.RK.length=0;g.J.prototype.ya.call(this)};O1.prototype.addPlayerResponseForAssociation=function(a){this.J.addPlayerResponseForAssociation(a)};g.k=Q1.prototype;g.k.DC=function(a,b,c,d,e,f,h){return this.J.DC(a,b,c,d,e,f,h)}; g.k.Ry=function(a,b){this.J.Ry(a,b)}; g.k.YF=function(a,b,c){this.J.YF(a,b,c)}; g.k.Wt=function(a){this.J.Wt(a)}; g.k.WD=function(a,b,c,d,e,f,h){this.J.WD(a,b,c,d,e,f,h)}; g.k.Nr=function(){return this.J.Nr()}; g.k.finishSegmentByCpn=function(a,b){this.J.finishSegmentByCpn(a,b)};g.w(bdb,g.J);g.w(cdb,g.J);g.w(ddb,g.J);g.w(edb,g.J);g.w(fdb,g.J);g.w(gdb,g.J);g.w(idb,g.J);idb.prototype.C=function(){return this.B};g.w(T1,Ccb);T1.prototype.B=function(){return this.Zm?g.uS(this.Zm.U(),g.JT(this.Zm)):YB("")}; T1.prototype.D=function(){return this.Zm?this.Zm.U().pageId:""}; T1.prototype.C=function(){return this.Zm?this.Zm.U().oa:""}; T1.prototype.j=function(){return this.Zm?this.Zm.U().experiments:void 0};g.w(kdb,rG); kdb.prototype.D=function(a){var b=a.content;if("shopping-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,shoppingCompanionCarouselRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:this.j.Qa("updateKevlarOrC3Companion",{})}else if("action-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1); this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:a&&a.videoId,actionCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:b.renderer&&(b=this.j.getVideoData(1),this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId})),this.j.Qa("updateKevlarOrC3Companion",{})}else if("image-companion"===b.componentType)switch(a.actionType){case 1:case 2:a=this.j.getVideoData(1);this.j.Qa("updateKevlarOrC3Companion", {contentVideoId:a&&a.videoId,imageCompanionAdRenderer:b.renderer,layoutId:b.layoutId,macros:b.macros,onLayoutVisibleCallback:b.j,interactionLoggingClientData:b.interactionLoggingClientData});break;case 3:b=this.j.getVideoData(1),this.j.Qa("updateKevlarOrC3Companion",{contentVideoId:b&&b.videoId}),this.j.Qa("updateKevlarOrC3Companion",{})}else if("ads-engagement-panel"===b.componentType)switch(b=b.renderer,a.actionType){case 1:case 2:this.j.Qa("updateEngagementPanelAction",b.addAction);this.j.Qa("changeEngagementPanelVisibility", b.expandAction);break;case 3:this.j.Qa("changeEngagementPanelVisibility",b.hideAction),this.j.Qa("updateEngagementPanelAction",b.removeAction)}};g.w(ldb,vG);g.k=ldb.prototype;g.k.init=function(a,b,c){vG.prototype.init.call(this,a,b,c);g.Vr(this.C,"stroke-dasharray","0 "+this.B);this.api.U().L("enable_dark_mode_style_endcap_timed_pie_countdown")&&(this.C.classList.add("ytp-ad-timed-pie-countdown-inner-light"),this.G.classList.add("ytp-ad-timed-pie-countdown-outer-light"));this.api.U().L("enable_dsa_ad_badge_for_action_endcap_on_web")&&this.D.classList.add("ytp-ad-timed-pie-countdown-container-upper-right");this.show()}; g.k.clear=function(){this.hide()}; g.k.hide=function(){xG(this);vG.prototype.hide.call(this)}; g.k.show=function(){wG(this);vG.prototype.show.call(this)}; g.k.Yp=function(){this.hide()}; g.k.Zn=function(){if(this.j){var a=this.j.getProgressState();null!=a&&null!=a.current&&g.Vr(this.C,"stroke-dasharray",a.current/a.seekableEnd*this.B+" "+this.B)}};g.w(mdb,YF);g.k=mdb.prototype; g.k.init=function(a,b,c){YF.prototype.init.call(this,a,b,c);if(b.image&&b.image.thumbnail)if(b.headline)if(b.description)if(b.backgroundImage&&b.backgroundImage.thumbnail)if(b.actionButton&&g.U(b.actionButton,g.$M))if(a=b.durationMilliseconds||0,"number"!==typeof a||0>=a)g.wF(Error("durationMilliseconds was specified incorrectly in AdActionInterstitialRenderer with a value of: "+a));else if(b.navigationEndpoint){var d=this.api.getVideoData(2);if(null!=d){var e=b.image.thumbnail.thumbnails;null!=e&& 0=this.C?(this.D.hide(),this.oa=!0):this.messageText&&this.messageText.isTemplated()&&(a=Math.max(0,Math.ceil((this.C-a)/1E3)),a!==this.G&&(qwa(this.messageText,{TIME_REMAINING:String(a)}),this.G=a)))}};g.w(Bdb,YF);g.k=Bdb.prototype; g.k.init=function(a,b,c){YF.prototype.init.call(this,a,b,{});b.image&&b.image.thumbnail?b.headline?b.description?b.actionButton&&g.U(b.actionButton,g.$M)?(this.C.init(NF("ad-image"),b.image,c),this.B.init(NF("ad-text"),b.headline,c),this.D.init(NF("ad-text"),b.description,c),a=["ytp-ad-underlay-action-button"],this.api.U().L("use_blue_buttons_for_desktop_player_underlay")&&a.push("ytp-ad-underlay-action-button-blue"),this.actionButton=new hG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib, a),b.backgroundColor&&g.Vr(this.element,"background-color",g.WG(b.backgroundColor)),g.L(this,this.actionButton),this.actionButton.Da(this.G),this.actionButton.init(NF("button"),g.U(b.actionButton,g.$M),c),b=g.pJ(this.api.U().experiments,"player_underlay_video_width_fraction"),this.api.U().L("place_shrunken_video_on_left_of_player")?(c=this.j,g.Lu(c,"ytp-ad-underlay-left-container"),g.Ju(c,"ytp-ad-underlay-right-container"),g.Vr(this.j,"margin-left",Math.round(100*(b+.02))+"%")):(c=this.j,g.Lu(c,"ytp-ad-underlay-right-container"), g.Ju(c,"ytp-ad-underlay-left-container")),g.Vr(this.j,"width",Math.round(100*(1-b-.04))+"%"),this.api.fE()&&this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.PS.bind(this)),this.api.addEventListener("resize",this.VW.bind(this))):g.wF(Error("InstreamAdPlayerUnderlayRenderer has no button.")):g.wF(Error("InstreamAdPlayerUnderlayRenderer has no description AdText.")):g.wF(Error("InstreamAdPlayerUnderlayRenderer has no headline AdText.")):g.wF(Error("InstreamAdPlayerUnderlayRenderer has no image."))}; g.k.show=function(){Cdb(!0);this.actionButton&&this.actionButton.show();YF.prototype.show.call(this)}; g.k.hide=function(){Cdb(!1);this.actionButton&&this.actionButton.hide();YF.prototype.hide.call(this)}; g.k.clear=function(){this.api.removeEventListener("playerUnderlayVisibilityChange",this.PS.bind(this));this.api.removeEventListener("resize",this.VW.bind(this));this.hide()}; g.k.onClick=function(a){YF.prototype.onClick.call(this,a);this.actionButton&&g.yf(this.actionButton.element,a.target)&&this.api.pauseVideo()}; g.k.PS=function(a){"transitioning"===a?(this.j.classList.remove("ytp-ad-underlay-clickable"),this.show()):"visible"===a?this.j.classList.add("ytp-ad-underlay-clickable"):"hidden"===a&&(this.hide(),this.j.classList.remove("ytp-ad-underlay-clickable"))}; g.k.VW=function(a){1200a)g.wF(Error("timeoutSeconds was specified incorrectly in SurveyTextInterstitialRenderer with a value of: "+a));else if(b.timeoutCommands)if(b.text)if(b.ctaButton&&g.U(b.ctaButton,g.$M))if(b.brandImage)if(b.backgroundImage&&g.U(b.backgroundImage,aN)&&g.U(b.backgroundImage,aN).landscape){this.layoutId||g.wF(Error("Missing layoutId for survey interstitial."));Sdb(this.interstitial, g.U(b.backgroundImage,aN).landscape);Sdb(this.logoImage,b.brandImage);g.zf(this.text,g.$F(b.text));var e=["ytp-ad-survey-interstitial-action-button"];this.api.U().L("web_modern_buttons_bl_survey")&&e.push("ytp-ad-survey-interstitial-action-button-rounded");this.actionButton=new hG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,e);g.L(this,this.actionButton);this.actionButton.Da(this.B);this.actionButton.init(NF("button"),g.U(b.ctaButton,g.$M),c);this.actionButton.show();this.j=new MG(this.api, 1E3*a);this.j.subscribe("g",function(){d.transition.hide()}); g.L(this,this.j);this.T(this.element,"click",function(f){var h=f.target===d.interstitial;f=d.actionButton.element.contains(f.target);if(h||f)if(d.transition.hide(),h)d.api.onAdUxClicked(d.componentType,d.layoutId)}); this.transition.show(100)}else g.wF(Error("SurveyTextInterstitialRenderer has no landscape background image."));else g.wF(Error("SurveyTextInterstitialRenderer has no brandImage."));else g.wF(Error("SurveyTextInterstitialRenderer has no button."));else g.wF(Error("SurveyTextInterstitialRenderer has no text."));else g.wF(Error("timeoutSeconds was specified yet no timeoutCommands where specified"))}; b2.prototype.clear=function(){this.hide()}; b2.prototype.show=function(){Tdb(!0);YF.prototype.show.call(this)}; b2.prototype.hide=function(){Tdb(!1);YF.prototype.hide.call(this)};g.w(c2,vG);g.k=c2.prototype; g.k.init=function(a,b){vG.prototype.init.call(this,a,b,{});if(b.durationMilliseconds){if(0>b.durationMilliseconds){g.wF(Error("DurationMilliseconds was specified incorrectly in AdPreview with a value of: "+b.durationMilliseconds));return}this.B=b.durationMilliseconds}else this.B=this.j.jn();var c;if(null==(c=b.previewText)||!c.text||g.gc(b.previewText.text))g.wF(Error("No text is returned for AdPreview."));else{this.D=b.previewText;b.previewText.isTemplated||g.zf(this.G,b.previewText.text);var d; if(null==(d=this.api.getVideoData(1))?0:d.Nm)if(b.previewImage){var e,f;(a=(null==(f=fya((null==(e=b.previewImage)?void 0:e.sources)||[],52,!1))?void 0:f.url)||"")&&a.length?(this.previewImage=new g.XF({I:"img",S:"ytp-preview-ad__image",X:{src:"{{imageUrl}}"}}),this.previewImage.updateValue("imageUrl",a),g.L(this,this.previewImage),this.previewImage.Da(this.element)):g.wF(Error("Failed to get imageUrl in AdPreview."))}else g.wF(Error("No image is returned for AdPreview."))}}; g.k.clear=function(){this.hide()}; g.k.hide=function(){xG(this);vG.prototype.hide.call(this)}; g.k.show=function(){wG(this);vG.prototype.show.call(this)}; g.k.Yp=function(){this.hide()}; g.k.Zn=function(){if(this.j){var a=this.j.getProgressState();if(null!=a&&a.current)if(a=1E3*a.current,a>=this.B)this.transition.hide();else{var b;if(null==(b=this.D)?0:b.isTemplated)if(b=Math.max(0,Math.ceil((this.B-a)/1E3)),b!==this.C){var c,d;(a=null==(c=this.D)?void 0:null==(d=c.text)?void 0:d.replace("{TIME_REMAINING}",String(b)))&&g.zf(this.G,a);this.C=b}}}};g.w(f2,YF); f2.prototype.init=function(a,b){YF.prototype.init.call(this,a,b,{});var c,d;if((a=(null==(d=fya((null==(c=b.image)?void 0:c.sources)||[],Udb(b),!0))?void 0:d.url)||"")&&a.length){c=this.Ha("ytp-ad-avatar");c.src=a;var e,f;if(d=null==(e=b.interaction)?void 0:null==(f=e.accessibility)?void 0:f.label)c.alt=d;switch(b.size){case "AD_AVATAR_SIZE_XXS":this.element.classList.add("ytp-ad-avatar--size-xxs");break;case "AD_AVATAR_SIZE_XS":this.element.classList.add("ytp-ad-avatar--size-xs");break;case "AD_AVATAR_SIZE_S":this.element.classList.add("ytp-ad-avatar--size-s"); break;case "AD_AVATAR_SIZE_M":this.element.classList.add("ytp-ad-avatar--size-m");break;case "AD_AVATAR_SIZE_L":this.element.classList.add("ytp-ad-avatar--size-l");break;case "AD_AVATAR_SIZE_XL":this.element.classList.add("ytp-ad-avatar--size-xl");break;default:this.element.classList.add("ytp-ad-avatar--size-m")}switch(b.style){case "AD_AVATAR_STYLE_ROUNDED_CORNER":this.element.classList.add("ytp-ad-avatar--rounded-corner");break;default:this.element.classList.add("ytp-ad-avatar--circular")}}else g.wF(Error("Failed to get imageUrl in AdAvatar."))}; f2.prototype.clear=function(){this.hide()}; f2.prototype.onClick=function(a){a.stopPropagation();YF.prototype.onClick.call(this,a)};g.w(g2,YF); g2.prototype.init=function(a,b){YF.prototype.init.call(this,a,b,{});var c;a=null==(c=b.label)?void 0:c.content;if((c=null!=a&&!g.gc(a))||b.icon){c&&(this.buttonText=new g.XF({I:"span",S:"ytp-ad-button__text",xa:a}),g.L(this,this.buttonText),this.buttonText.Da(this.element));var d,e,f=(null==(d=b.interaction)?0:null==(e=d.accessibility)?0:e.label)||c?a:"";f&&xu(this.element,f+" This link opens in new tab");vu(this.element);b.icon&&(d=gG(b.icon),null!=d&&(this.buttonIcon=new g.XF({I:"span",S:"ytp-ad-button__icon", V:[d]}),g.L(this,this.buttonIcon),b.iconLeading?(g.pf(this.element,this.buttonIcon.element,0),this.buttonIcon.element.classList.add("ytp-ad-button__icon--leading")):(this.buttonIcon.Da(this.element),this.buttonIcon.element.classList.add("ytp-ad-button__icon--trailing"))));this.element.classList.add("ytp-ad-button--style-filled");switch(b.size){case "AD_BUTTON_SIZE_COMPACT":this.element.classList.add("ytp-ad-button--size-compact");break;case "AD_BUTTON_SIZE_LARGE":this.element.classList.add("ytp-ad-button--size-large"); break;default:this.element.classList.add("ytp-ad-button--size-default")}}else g.xF(Error("AdButton does not have label or an icon."))}; g2.prototype.clear=function(){this.hide()}; g2.prototype.onClick=function(a){a.stopPropagation();YF.prototype.onClick.call(this,a)};g.w(h2,YF);h2.prototype.init=function(a,b){YF.prototype.init.call(this,a,b,{});if(a=b.content){g.zf(this.element,a);var c,d;b=(null==(c=b.interaction)?void 0:null==(d=c.accessibility)?void 0:d.label)||a;this.element.setAttribute("aria-label",b)}else g.wF(Error("AdSimpleAttributedString does not have text content"))}; h2.prototype.clear=function(){this.hide()}; h2.prototype.onClick=function(a){a.stopPropagation();YF.prototype.onClick.call(this,a)};g.w(Xdb,vG);g.k=Xdb.prototype; g.k.init=function(a,b){vG.prototype.init.call(this,a,b,{});if(a=g.U(b.avatar,ogb)){var c=b.headline;if(c){var d=b.description;if(d){var e=g.U(b.button,pgb);e?(this.adAvatar.init(NF("ad-avatar"),a),this.headline.init(NF("ad-simple-attributed-string"),new Wdb(c)),this.description.init(NF("ad-simple-attributed-string"),new Wdb(d)),this.adButton.init(NF("ad-button"),e),this.B=b.startMs||0,this.api.fE()||this.show(),this.api.addEventListener("playerUnderlayVisibilityChange",this.QS.bind(this)),wG(this)): g.wF(Error("No AdButtonViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.wF(Error("No description is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.wF(Error("No headline is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}else g.wF(Error("No AdAvatarViewModel is returned in PlayerAdAvatarLockupCardButtonedViewModel."))}; g.k.Zn=function(){if(this.j){var a=this.j.getProgressState();a&&a.current&&1E3*a.current>=this.B&&(xG(this),this.element.classList.remove("ytp-ad-avatar-lockup-card--inactive"))}}; g.k.Yp=function(){this.clear()}; g.k.onClick=function(a){a.stopPropagation();vG.prototype.onClick.call(this,a);this.api.pauseVideo()}; g.k.clear=function(){this.hide();this.api.removeEventListener("playerUnderlayVisibilityChange",this.QS.bind(this))}; g.k.show=function(){this.adAvatar.show();this.headline.show();this.description.show();this.adButton.show();vG.prototype.show.call(this)}; g.k.hide=function(){this.adAvatar.hide();this.headline.hide();this.description.hide();this.adButton.hide();vG.prototype.hide.call(this)}; g.k.QS=function(a){"hidden"===a?this.show():this.hide()};g.w(Ydb,YF);g.k=Ydb.prototype; g.k.init=function(a,b){YF.prototype.init.call(this,a,b,{});if(!b.label||g.gc(b.label))g.wF(Error("No label is returned for SkipAdButton."));else if(g.zf(this.D,b.label),a=gG({iconType:"SKIP_NEXT"}),null==a)g.wF(Error("Unable to retrieve icon for SkipAdButton"));else if(this.C=new g.XF({I:"span",S:"ytp-skip-ad-button__icon",V:[a]}),g.L(this,this.C),this.C.Da(this.element),this.api.U().experiments.jb("enable_skip_to_next_messaging")&&(b=g.ye(b.targetId)))this.B=!0,this.element.setAttribute("data-tooltip-target-id",b), this.element.setAttribute("data-tooltip-target-fixed","")}; g.k.onClick=function(a){a&&a.preventDefault();var b,c,d=null!=(c=null==(b=this.api.getVideoData(1))?void 0:b.clientPlaybackNonce)?c:"";if(!this.api.U().L("ab_sa_ef")||0!==CG(a,{contentCpn:d})){YF.prototype.onClick.call(this,a);if(!this.api.U().L("ab_sa_ef")){var e,f;b={contentCpn:null!=(f=null==(e=this.api.getVideoData(1))?void 0:e.clientPlaybackNonce)?f:""};CG(a,b)}this.api.onAdUxClicked(this.componentType,this.layoutId)}}; g.k.clear=function(){this.j.reset();this.hide()}; g.k.hide=function(){YF.prototype.hide.call(this)}; g.k.show=function(){this.j.start();YF.prototype.show.call(this);this.B&&this.api.U().experiments.jb("enable_skip_to_next_messaging")&&this.api.ra("showpromotooltip",this.element)};g.w(Zdb,vG);g.k=Zdb.prototype;g.k.init=function(a,b){vG.prototype.init.call(this,a,b,{});if(a=g.U(b.preskipState,qgb)){var c=g.U(b.skippableState,sgb);c?(null!=b.skipOffsetMilliseconds?this.skipOffsetMilliseconds=b.skipOffsetMilliseconds:(g.xF(Error("No skipOffsetMilliseconds is returned in SkipAdViewModel.")),this.skipOffsetMilliseconds=5E3),this.B.init(NF("preview-ad"),a),this.B.transition.show(100),this.C.init(NF("skip-button"),c),this.show()):g.wF(Error("No SkipAdButtonViewModel is returned in SkipAdViewModel."))}else g.wF(Error("No AdPreviewViewModel is returned in SkipAdViewModel."))}; g.k.show=function(){wG(this);vG.prototype.show.call(this)}; g.k.hide=function(){!this.isSkippable&&this.B?this.B.hide():this.C&&this.C.hide();xG(this);vG.prototype.hide.call(this)}; g.k.clear=function(){this.B&&this.B.clear();this.C&&this.C.clear();xG(this);vG.prototype.hide.call(this)}; g.k.Yp=function(){this.hide()}; g.k.Zn=function(){if(1E3*this.j.getProgressState().current>=this.skipOffsetMilliseconds&&!this.isSkippable){this.isSkippable=!0;var a;null!=(a=this.B)&&a.transition.hide();var b;null!=(b=this.C)&&b.transition.show()}};g.w(i2,YF); i2.prototype.init=function(a,b){YF.prototype.init.call(this,a,b,{});if(b.label||b.icon){var c;(null==(c=b.label)?0:c.content)&&!g.gc(b.label.content)&&(this.linkText=new g.XF({I:"span",S:"ytp-visit-advertiser-link__text",xa:b.label.content}),g.L(this,this.linkText),this.linkText.Da(this.element));b.icon&&(a=gG(b.icon),null!=a&&(this.j=new g.XF({I:"span",S:"ytp-visit-advertiser-link__icon",V:[a]}),g.L(this,this.j),this.j.Da(this.element)));var d,e;if(null==(d=b.interaction)?0:null==(e=d.accessibility)?0: e.label)this.element.setAttribute("aria-label",b.interaction.accessibility.label);else{var f;(null==(f=b.label)?0:f.content)&&!g.gc(b.label.content)&&this.element.setAttribute("aria-label",b.label.content)}this.show()}else g.wF(Error("No label or icon found in VisitAdvertiserLink."))}; i2.prototype.clear=function(){this.hide()};g.w(j2,YF); j2.prototype.init=function(a,b,c,d){YF.prototype.init.call(this,a,b,{});b.skipOrPreview&&(c=b.skipOrPreview,a=g.U(c,tgb),c=g.U(c,qgb),a?(this.vu=new Zdb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.vu),this.vu.Da(this.D),this.vu.init(NF("skip-ad"),a)):c&&(this.C=new c2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.C),this.C.Da(this.D),this.C.init(NF("ad-preview"),c),this.C.transition.show(100)));b.playerAdCard&&(a= g.U(b.playerAdCard,rgb))&&(this.playerAdCard=new Xdb(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j),g.L(this,this.playerAdCard),this.playerAdCard.Da(this.G),this.playerAdCard.init(NF("ad-avatar-lockup-card"),a));b.adBadgeRenderer&&(a=g.U(b.adBadgeRenderer,lgb))&&(this.adBadge=new KG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,!0),g.L(this,this.adBadge),this.adBadge.Da(this.B),this.adBadge.init(NF("simple-ad-badge"),a,this.macros));b.adDurationRemaining&& (a=g.U(b.adDurationRemaining,egb))&&(this.adDurationRemaining=new QG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.j,d.videoAdDurationSeconds),g.L(this,this.adDurationRemaining),this.adDurationRemaining.Da(this.B),this.adDurationRemaining.init(NF("ad-duration-remaining"),a,this.macros));b.adInfoRenderer&&(d=g.U(b.adInfoRenderer,YM))&&(this.adInfoButton=new tG(this.api,this.layoutId,this.interactionLoggingClientData,this.ib,this.element),g.L(this,this.adInfoButton),this.adInfoButton.Da(this.B), this.adInfoButton.init(NF("ad-info-hover-text-button"),d,this.macros));b.visitAdvertiserLink&&(b=g.U(b.visitAdvertiserLink,ugb))&&(this.visitAdvertiserLink=new i2(this.api,this.layoutId,this.interactionLoggingClientData,this.ib),g.L(this,this.visitAdvertiserLink),this.visitAdvertiserLink.Da(this.B),this.visitAdvertiserLink.init(NF("visit-advertiser-link"),b));this.show()}; j2.prototype.clear=function(){this.hide()};var Sjb="ad-attribution-bar ad-channel-thumbnail advertiser-name ad-preview ad-title skip-button visit-advertiser".split(" ").concat(["shopping-companion","action-companion","image-companion","ads-engagement-panel"]);g.w(k2,rG); k2.prototype.D=function(a){var b=a.id,c=a.content,d=c.componentType;if(!Sjb.includes(d))switch(a.actionType){case 1:a=this.api;var e=this.ib,f=c.layoutId,h=c.interactionLoggingClientData,l=c instanceof oK?c.PR:!1,m=c instanceof oK||c instanceof LG?c.zK:!1;h=void 0===h?{}:h;l=void 0===l?!1:l;m=void 0===m?!1:m;switch(d){case "invideo-overlay":a=new rdb(a,f,h,e);break;case "player-overlay":a=new UG(a,f,h,e,new YV(a),m);break;case "player-overlay-layout":a=new j2(a,f,h,e,new YV(a));break;case "survey":a= new a2(a,f,h,e);break;case "ad-action-interstitial":a=new mdb(a,f,h,e,l,m);break;case "survey-interstitial":a=new b2(a,f,h,e);break;case "ad-message":a=new zdb(a,f,h,e,new YV(a,1));break;case "player-underlay":a=new Bdb(a,f,h,e);break;default:a=null}if(!a){g.xF(Error("No UI component returned from ComponentFactory for type: "+d));break}g.gd(this.B,b)?g.xF(Error("Ad UI component already registered: "+b)):this.B[b]=a;a.bind(c);c instanceof MAa?this.C?this.C.append(a.uR):g.wF(Error("Underlay view was not created but UnderlayRenderer was created")): this.G.append(a.uR);break;case 2:b=$db(this,a);if(null==b)break;b.bind(c);break;case 3:c=$db(this,a),null!=c&&(g.sb(c),g.gd(this.B,b)?g.kd(this.B,b):g.xF(Error("Ad UI component does not exist: "+b)))}}; k2.prototype.ya=function(){g.tb(Object.values(this.B));this.B={};rG.prototype.ya.call(this)};g.w(aeb,g.vV);g.k=aeb.prototype;g.k.create=function(){try{beb(this),this.load(),this.created=!0,beb(this)}catch(a){DG(a instanceof Error?a:String(a))}}; g.k.load=function(){try{eeb(this)}finally{t1(S1(this.j).Sj)&&this.player.Bg("ad",1)}}; g.k.destroy=function(){var a=this.player.getVideoData(1);this.j.j.St.Sn(a&&a.clientPlaybackNonce||"");this.unload();this.created=!1}; g.k.unload=function(){g.vV.prototype.unload.call(this);try{this.player.getRootNode().classList.remove("ad-created")}catch(b){DG(b instanceof Error?b:String(b))}if(null!=this.B){var a=this.B;this.B=null;a.dispose()}this.C.reset()}; g.k.Dl=function(){return!1}; g.k.getAdState=function(){return-1}; g.k.getOptions=function(){return Object.values(Qjb)}; g.k.Gh=function(a,b){b=void 0===b?{}:b;switch(a){case "replaceUrlMacros":return a=b,a.url?(b=zcb(this.player),Object.assign(b,a.fhb),a=g.pu(a.url,b)):a=null,a;case "onAboutThisAdPopupClosed":this.Qp(b);break;case "executeCommand":a=b;a.command&&a.layoutId&&this.executeCommand(a);break;default:return null}}; g.k.Tt=function(a){var b;return!(null==(b=this.j.j.Ff)||!b.get().Tt(a))}; g.k.Qp=function(a){a.isMuted&&oya(S1(this.j).sj,S1(this.j).bl,a.layoutId);this.ys&&this.ys.Qp()}; g.k.executeCommand=function(a){S1(this.j).ib.executeCommand(a.command,a.layoutId)};g.Sa("yt.player.Application.create",g.N0.create);g.Sa("yt.player.Application.createAlternate",g.N0.create);Fua(Hua(),{vr:[{qA:/Unable to load player module/,weight:20},{qA:/Failed to fetch/,weight:500},{qA:/XHR API fetch failed/,weight:10},{qA:/JSON parsing failed after XHR fetch/,weight:10},{qA:/Retrying OnePlatform request/,weight:10},{qA:/CSN Missing or undefined during playback association/,weight:100}]});var Tjb=g.Ta("ytcsi.tick");Tjb&&Tjb("pe");g.uV("ad",aeb);var jeb=g.$e&&ieb();g.Ujb=window.yt&&window.yt.msgs_||window.ytcfg&&window.ytcfg.msgs||{};g.Sa("yt.msgs_",g.Ujb);g.w(g.n2,g.J);g.n2.prototype.start=function(a,b,c){this.config={from:a,to:b,duration:c,startTime:(0,g.rD)()};this.next()}; g.n2.prototype.stop=function(){this.delay.stop();this.config=void 0}; g.n2.prototype.next=function(){if(this.config){var a=this.config,b=a.from,c=a.to,d=a.duration;a=a.startTime;var e=(0,g.rD)()-a;a=this.j;d=rla(a,e/d);if(0==d)a=a.C;else if(1==d)a=a.D;else{e=ne(a.C,a.y1,d);var f=ne(a.y1,a.y2,d);a=ne(a.y2,a.D,d);e=ne(e,f,d);f=ne(f,a,d);a=ne(e,f,d)}a=g.le(a,0,1);this.callback(b+(c-b)*a);1>a&&this.delay.start()}};g.w(g.o2,g.V);g.k=g.o2.prototype;g.k.TD=function(){return 0