PageSourceSearch

https://novosti-krim.ru/player/playerjs.js

js novosti-krim.ru collected 2026-09-29 22:46:31 UTC 1,035,530 bytes, 37 lines download raw bytes

1//	Playerjs.com 9.02.1
2//	23.10.2018 17:10
3
4eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('B 6t=[];B fH;E ue(3n){B o={2x:I,r1:\'Gf\',Ge:r8,Gg:r7,8s:\'9.mY\',bd:[\'6X\',\'7i\',\'\'],eD:\'\',2y:I,7a:I,eX:I,Gh:I,bS:I,59:I,7r:I,7V:I,u:\'#Gi#Gd#Gc#rb#G8#G7#G9#Ga#Gb#Gj#Gk#qD#Gt#Gu#qD#Gv#Gw#Gs#Gr#Gm#Gl#Gn#Gp#Gq#rb#G6=\',u2:\'\',u3:\'\',u4:\'\',u5:\'\',u6:\'\',u7:\'\',u8:\'\',u9:\'\',y:\'xx??x?=xx?xx?=\',p:\'{G5}\',FO:-1,pb:"yD",cr:"//yD.6w",7J:[],dt:K,pr:K,ga:I,fJ:[],yo:I,2v:[],6d:[],gl:0,ko:I,6j:I,1N:I,aY:I,7j:I,c9:I,b6:I,k1:2g,dw:2g,FN:0,k3:4Q,5W:I,cK:I,FP:{},9g:[],1e:0,5z:I,dk:-1,aA:3,jZ:0,aL:0,8x:1,bj:["eq","cO","i0","i1","iF","iT","dY"],kt:0,kw:0};B bT={S:{"w":20,"h":20,"1f":"-","FQ":"-","a":1,"5R":-1,"1F":"2X","1M":"","1G":1,"fO":-1,"8f":0,"2b":1,"1v":"","1X":"","46":"FR","bR":12,"fg":0,"1g":"V","2p":"0 3 0 3","aU":"0 0 0 0","24":1,"pI":"0 0 0 0","FM":0,"dy":1,"bg":0,"hK":0,"qo":0,"4Z":1,"6Y":-1,"5a":"3t","az":-1,"db":"0 0 0 0","op":-1,"os":"2X","h1":-1,"gV":-1,"5v":"1L","5c":"ee","2b":0,"ge":"3t","g8":0.7,"nD":0,"nz":"2X","dA":"5 5 5 5","FL":"0 0 0 0","nB":1,"ny":"kP, kZ, jE-jC","fw":10,"nA":0,"3l":"","vv":5,"vw":0,"3v":0,"FH":2,"FG":2,"ws":0.2,"xk":0,"xf":0.1,"wc":"3t","wt":"2X","xg":"2X","wu":1,"6M":0,"3a":0,"cG":20,"eu":"<2e X=\'20\' Y=\'20\'><g><cX ry=\'5\' rx=\'5\' cy=\'10\' cx=\'10\' 3i=\'#cV\'/></g></2e>","ou":1,"hO":-1,"hM":0,"hQ":1,"oc":-1,"hu":0.1,"gX":0,"4b":"","xz":0,"xp":"ee","2W":"","gM":uR,"gO":uR,"wP":0,"5p":0,"53":"2X","wT":0,"wQ":"3t","xr":9,"o1":"0 0 10 0","o5":"0 0 0 0","wX":0}};E pN(){O K}E aj(x){B a;O a};E dq(x){B a;O a};E jP(s){if(s.R(\'.\')==-1){s=s.1B(1);s2=\'\';1c(i=0;i<s.U;i+=3){s2+=\'%u0\'+s.FI(i,i+3)}s=FJ(s2)}O s};E qp(){if(o.u!=\'\'){v=7Q(v,5u.7y(d1(o.u)))}if(3n.R("#2")==0){3n=5u.7y(aj(3n))}G{if(3n.R("#3")==0){3n=5u.7y(dq(3n))}}};2l(E(w,i,s,e){B 8l=0;B 7x=0;B d4=0;B a2=[];B ag=[];bi(K){if(8l<5)ag.4T(w.5C(8l));G if(8l<w.U)a2.4T(w.5C(8l));8l++;if(7x<5)ag.4T(i.5C(7x));G if(7x<i.U)a2.4T(i.5C(7x));7x++;if(d4<5)ag.4T(s.5C(d4));G if(d4<s.U)a2.4T(s.5C(d4));d4++;if(w.U+i.U+s.U+e.U==a2.U+ag.U+e.U)1n}B wd=a2.cw(\'\');B vg=ag.cw(\'\');7x=0;B kR=[];1c(8l=0;8l<a2.U;8l+=2){B kn=-1;if(vg.8K(7x)%2)kn=1;kR.4T(bC.mM(2q(wd.1B(8l,2),36)-kn));7x++;if(7x>=ag.U)7x=0}O kR.cw(\'\')}(\'FS\',\'FT\',\'G1\',\'G2\'));B v={1C:0,nw:0,jd:"#3t",2L:0,wj:1,b3:"#3t",5a:"#2X",6M:0,ae:1,tt:1,3b:0,qG:1,bw:0,2a:{G3:0,1F:"3t",a:"0.4",h:34,fv:1,1l:1,fd:1,gD:0,xm:3,bs:0,hH:3,5v:"1L",1g:"2h",2p:"0 0 0 0",6M:0,hD:0,7E:\'\'},3O:{f:1,r:1,m:1,5K:5,dH:"5K",7s:1,dG:"1P",od:0,yz:1,mg:1,bc:0.2},1k:{5a:"3t",az:"gB",4Z:0.9,6Y:-1,1g:"1d",2p:"0 0 0 0",2J:"7 15 7 15",1F:"2X",46:"kP, kZ, jE-jC",bR:12,5w:10,fg:0,53:"wf",pf:1,b3:"G4",a:1,5R:-1,iz:0,qh:1u,G0:sO,iJ:1,oU:1,sf:"FZ",st:"3t",oV:-1,FV:-1,sc:0,5U:3,cu:16,pd:"FU",6M:0,fE:1,it:1,iq:"2X",oI:0,oD:"3t",uH:1,uy:0,um:"gB",iN:0,fm:4Q,e0:0,91:0,rc:0,wC:0,eh:1,4m:0,iD:50,oM:0,iC:1,fk:FW,j8:0,nX:"gB",nV:"0 0 0 0",he:30},1q:{5a:"3t",az:"FX",4Z:0.7,6Y:-1,46:"kP, kZ, jE-jC",1g:"2h-1W",2p:"0 0 0 0",2J:"7 15 7 15",1F:"2X",bR:12,cu:16,5w:10,fg:0,tP:"2X",53:"wf",a:1,5R:-1,tg:1,5U:3,cu:16,fE:1,it:1,iq:"2X",iN:0,fm:4Q,6M:0,FY:1,Gx:"4i",Gy:1,H7:"6q",H8:1,H9:"2k",Ha:0,H6:"am",H5:0,H1:"7O",he:30},yQ:{1g:"2h-1W",2p:"0 10 50 0"},1P:0.8,pw:1,jt:1,ao:0,5D:0,wz:1,5L:0,3H:0,uF:0,nj:0,4A:0,ro:1,iQ:0,pi:0,pj:0,ls:\',\',jX:\';\',fL:\'//\',j5:\'3i\',gC:1,gF:-1,sQ:0,sS:\'20 0 0 20\',bK:\'1j-1d\',sP:1u,kV:1u,k6:-1,xB:0,d:dj.pW,96:dj.96,7u:dj.96.R("7u")==0,us:1,zD:"hE",yg:"2X",z4:1,yd:10,gl:0,kj:1,zA:1,n7:1,kg:1,4I:\'H0\',sy:0,eP:\'7z\',dX:1,tT:0,qe:0,s6:0,ak:1,e7:1,qF:5,uD:0,9x:0,vp:1,qK:0,kx:5,tG:0,tE:0,nv:0,ap:1,hZ:1,s0:0,vR:0,rE:0,p7:1,gR:0,2C:"qM",H2:qA,oa:\'1u%\',ga:0,q1:{d6:1,1J:0,lV:0,3Z:0,2x:1,mo:0,lW:0,lX:0,H3:0,H4:0,Hb:0},rH:{d6:1,1J:0,lV:0,3Z:0,2x:1,mo:0,lW:0,lX:0},nZ:1u,uO:1,mT:1,iU:14,eq:\'1u%\',v8:1,v5:20,x7:1,i1:0.7,vq:2,lI:3,dY:10,cO:"2X",i0:"3t",iF:0,iT:dZ,pB:1,mN:1,yY:1,z1:0.3,f3:3,gH:4,zu:5,k7:0,zG:Hc,zE:vc,z5:0,z9:1,ml:1,oE:1,sD:1,5F:0,cs:Hk,gu:90,nE:0,zj:1,zi:"gB",vJ:0,zh:1,Hm:5,Hn:1,Hj:1,Hi:-1,He:1,Hd:1,k9:-1,Hf:0,Hg:0,Hh:1,GZ:0,GY:0,GH:1,GG
4:0,GI:0,GJ:1,GK:0,mj:1,GF:0,GE:0,GA:"#Gz",GB:"#3t",GC:"#3t",GD:"#2X",GL:"#3t",GM:"#2X",GU:"#3t",GV:"#2X",GW:"#3t",GX:"#2X",GT:"#3t",GS:"#2X",GO:1,GN:0,GP:1,GQ:0.5,GR:"#2X",FF:"#3t",FE:1,Ev:1,Eu:1,Ew:1,Ex:1,Ey:10,Et:-1,Es:0,eZ:0,Eo:"or",En:"or",Ep:"or",Eq:"or",Er:"50%",mD:-1,el:0,mG:-1,mH:1,fZ:0,mw:0,q0:1,rv:0,zk:30,so:10,1D:{on:0,5a:"3t",2L:0,8u:2,b3:"3t",1g:"1d",2p:"35 0 0 10",X:p2,1l:0}};v.1x="ru";B hB=E(1m){B 1b;B 1v;B bB;B 8g=I;B 6f=I;F.xA=E(){if(!8g){1b=1H("1R");H(1b,{"1g":"1T","X":"1u%","Y":"1u%","2f":"4a(0,0,0,0.8)","1F":"#cV"});1b.C.55="3U";B 8S=1H("1R");H(8S,{"1g":"1T","1j":15,"1W":15,"5A":"3I","2J":5});8S.1V="<2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'><g><3D d=\'Ez.5,3.5 L3.5,16.5 zd.5,3.5 Z\' 4c=\'#2X\' 4c-X=\'3\' 4c-cP=\'zc\'></3D><3D d=\'M3.5,3.5 zd.5,16.5 L3.5,3.5 Z\' 4c=\'#2X\' 4c-X=\'3\' 4c-cP=\'zc\'></3D></g></2e>";if(o.1y.2n){8S.1r("6v",E(W){ke()})}G{8S.a4=ke}8S.C.55=10;B 2t=1H("1R");H(2t,{"1g":"1T","1j":((v.z1*1u)+\'%\'),"1d":0,"X":"1u%","1X-bu":"6x"});2t.1V=(v.yY==1?3g("2Y")+\'<br><br>\':\'\')+(J(v.1m)?\'<a 96="\'+v.1m+\'" C="1X-cj:1L;1F:#cV;r6:0;8z-7s: aK;cH-b1:4C;2i:4t" 5c="ee" id="gw\'+v.id+\'">\'+v.1m+\'</a>\':\'\');o.1O.1K(1b);1b.1K(8S);1b.1K(2t);H(o.1E,{\'-4j-9K-ci\':\'2G\'});if(J(v.1m)){hl("gw"+v.id)}1v=[];if(J(v.5m)){v["z3"]="5m"}if(!J(v.yV)){v.yV="g7"}if(!J(v.yW)){v.yW="gc"}if(!J(v.kc)){if(v.1x=="ru"){v.kc="vk"}if(v.1x=="en"){v.kc="eV"}}if(J(v.5m)){v.z3="5m"}1c(B i=1;i<11;i++){if(J(v["2Y"+i])){if(v["2Y"+i]!=""){1v[i]=1H("1R");H(1v[i],{"2i":"aN-4t","5A":"3I"});if(!o.1y.5y){B m=((v.f3*20-20)+v.zu*1)/2;B gG=0;if(v["2Y"+i]=="vk"||v["2Y"+i]=="5m"){gG=v.f3*3}H(1v[i],{"2p-1d":m+gG,"2p-1W":m+gG,"2p-1j":m+20,"X":20,"Y":20})}1v[i].1V="<2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'><g>"+yc(v["2Y"+i])+"</g></2e>";2t.1K(1v[i]);1G(i,v.f3);1v[i].i="i"+i;1v[i].bF=41;1v[i].bU=3N;1v[i].a4=7U}}}bB=1H("1R");H(bB,{"2i":"4t","X":"1u%","1X-bu":"6x","2p-1j":m+15});2t.1K(bB);8g=K}G{5Y(1b);H(o.1E,{\'-4j-9K-ci\':\'2G\'});if(J(v.1m)){hl("gw"+v.id)}}if(o.2x){o.b6=K;o.1a.3x()}6f=K};E ke(){if(o.b6){o.1a.2H()}fQ()}E fQ(){if(J(1b)){3E(1b);o.b6=I;6f=I;bB.1V=\'\';H(o.1E,{\'-4j-9K-ci\':\'1L\'})}}F.fQ=E(){fQ()};E 41(){if(J(F.i)){B i=F.i.1B(1)*1;if(v.gH>-1){1G(i,v.gH)}}}E 3N(){if(J(F.i)){B i=F.i.1B(1)*1;if(v.gH>-1){1G(i,v.f3)}}}E 7U(e){if(J(F.i)){B i=F.i.1B(1)*1;B x=\'\';if(v["2Y"+i]=="g7"){x="7u://3u.g7.6w/nu/nu.z7?u="}if(v["2Y"+i]=="gc"){x="7u://gc.6w/rf?4V="}if(v["2Y"+i]=="eV"){x="7u://EL.eV.6w/2Y?1m="}if(v["2Y"+i]=="vk"){x="7u://vk.6w/2Y.z7?1m="}if(v["2Y"+i]=="ub"){x="7u://t.me/2Y/1m?1m="}if(v["2Y"+i]=="kl"){x="7u://EH.kl.6w/8X?1X="}if(v["2Y"+i]=="5m"&&J(v.5m)){if(J(v.eW)){v.eW=v.eW.2N(/9H\'qt/ig,\'"\')}kC((J(v.zL)?v.zL.2N(/9H\'qt/ig,\'"\'):\'\')+\'<bw X="\'+(v.k7==1?v.zG:2q(o.9i))+\'" Y="\'+(v.k7==1?v.zE:2q(o.fx))+\'" 2W="\'+v.5m+\'" EG="0" p5\'+(J(v.eW)?\' \'+v.eW:\'\')+\'></bw>\'+(J(v.zx)?v.zx.2N(/9H\'qt/ig,\'"\'):\'\'));bB.1V=3g("rY")}if(J(v.1m)){hl("gw"+v.id)}x!=\'\'?zN(x,\'hB\',4D,4D):\'\'}}E 1G(i,x){H(1v[i],{"2O-rS":\'50% 50% fI\'});if(o.1y.5y){H(1v[i],{"pz":""+x+""})}G{H(1v[i],{"2O":"1G("+x+")","3M":"2O 0.1s 2D"})}}E zN(1m,1U,n5,n8){B y6=(cE.Y/2)-(n8/2);B xX=(cE.X/2)-(n5/2);2z.6f(1m+EC(J(v.1m)?v.1m:v.96),\'nu\',\'1j=\'+y6+\',1d=\'+xX+\',2a=0,4V=0,X=\'+n5+\',Y=\'+n8)}E hl(y8){B mu=1I,1X=mu.7N(y8),av,gb;if(mu.6u.yf){av=1I.6u.yf();av.EB(1X);av.ci()}G if(2z.ye){gb=2z.ye();av=1I.ED();av.EE(1X);gb.EF();gb.Em(av)}}E yc(x){if(x=="g7"){O"<3D d=\'tN,6.eR fS.fj,6.eR fS.fj,5.El dc.fj,4.E4 12.E3,4.lv 12.E5,4.lv mb.xE,4.lv mb.xE,2.E6 fS.E7,2 C9.E2,2 8.dR,3.E1 8.dR,5.DX L8.dR,6.eR L7,6.eR L7,9.gv L8.dR,9.gv L8.dR,17.xN fS.fj,17.xN fS.fj,9.gv mb.DW,9.gv tA,6.eR Z\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}if(x=="gc"){O"<3D d=\'M7.pR,15.jR cT.DY,15.jR 15.i8,11.DZ 15.i8,7.E0 7K.i8,7.E8 15.i8,7.E9 15.Eh,7.Ei 7K.Ej,7.Ek 16.rg,6.Eg 16.Ef,6.Eb 7K.Ea,6.Ec 15.Ed,6.Ee 14.EM,6.EN 7K.Fn,6.Fm 15.Fo,5.Fp 16.rg,5.Fq 7K.Fl,5.Fk 15.Fg,5.Ff 14.Fh,5.Fi 9k.Fj,4.Fr 11.Fs,4.FA 10.FB,5.FC j3.FD,6.Fz 9.Fy,7.Fu 10.Ft,8.Fv C8.Fw,8.Fx 6.Fe,7.Fd 4.EW,5.EV C4.EX,6.EY 4.EZ,8.EU 5.ET,8.EP C5.EO,8.EQ 4.ER,8.ES 4.m5,8.F0 L4.m5,8.F1 C4.m5,9.F9 5.Fa,10.Fb 6.Fc,11.F8 C6.F7,11.F3 5.F2,11.F4 5.F5,11.F6 C5.Ho,12.Hp 6.JK,12.JJ 7.JL,12.JM C6.JN,13.JI 5.JH,13.md 4.JD,13.md C4.JC,13.md 4.JE,13.JF 4,13.JG C5.JO,14.JP 6.JX,15.jR 7.pR,15.jR\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}if(x=="eV"){O"<3D d=\'JY.c7,8.n9 kI.c7,11.qi j3.c7,11.qi 12.JZ,11.qP 13.K0,11.qP cT.JW,12.JV 11.JR,13.lQ 10.c7,13.lQ C8.JQ,13.lQ 6.lA,11.JT 6.lA,10 C6.lA,8.JU 8.JB,6.lF 10.c7,6.lF dc.JA,6.lF 11.Jj,6.Ji 12.Jk,7.Jl cT.Jm,6.Jh 12.Jg,6.Jc 14.Jb,5.Jd 9k.Je,4.Jf 11.Jn,4 10.tR,4 C6.tS,4 4,6.Jo 4,10 C4,13.Jw 6.tS,16 10.tR,16 7K.Jx,16 16.Jy,11.Jz 15.Jv,8.n9 kI.c7,8.n9 Z\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}if(x=="ub"){O"<3D d=\'Jq.s7,4.s8 7K.Jp,4.Jr 15.Js,4.Jt 14.tB,4.tC tA.tB,4.tC nf.K1,4.K2 11.KB,5.KC 8.KD,6.KE C6.KA,7.Kz 4.Kv,8.Ku 4.Kw,8.Kx C4.ul,8.Ky 3.KF,9.KG 3.KO,9.KP C3.KQ,9.KR 3.KN,10.KM 4.ul,10.KI C4.KH,10.KJ 6.KK,11.KL 6.Kt,11.Ks C6.Kb,11.Ka 13.Kc,
46.Kd 13.sN,6.Ke 9k.K9,7.K8 8.K4,11.K3 8.K5,11.K6 C8.K7,11.Kf 7.Kg,14.Ko 8.Kp,14.Kq C8.Kr,14.Kn 8.Km,14.Ki 8.DV,14.sE C8.Kh,14.Kj 8.Kk,14.sl 8.Kl,14.sl C9.Ja,14.J9 9.I0,13.HZ 10.I1,13.I2 dc.I3,14.HY 12.HX,15.HT 12.HS,15.HU d2.HV,15.HW cT.I4,15.I5 13.Id,15.n1 13.Ie,15.n1 9k.If,15.n1 13.Ig,15.Ic 13.sN,15.Ib 9k.I7,15.I6 13.I8,15.I9 14.sz,14.sE nf.sz,14.Ia 14.HR,14.HQ 14.Hy,14.Hx nf.Hz,12.HA 14.HB,10.Hw 15.Hv,9.Hr 7K.Hq,7.Hs 15.Ht,6.Hu 15.HC,5.HE 7K.HM,5.HN 15.HO,5.HP 15.HL,5.HK 7K.HG,5.HF 15.HH,4.HI 15.s7,4.s8 Z\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}if(x=="vk"){O"<3D d=\'HJ.ld,13.Ih-0.Ii-0.IS-1.IR-1.IT-1.IU-2.IV-0.IQ-0.IP-0.yF-0.IL-0.l4-0.IK-0.IM c-1.IN-1.IO,3.sR-3.IW,2.IX-5.J5-0.dC-0.J6-0.J7-0.J8-3.J4-0.21-3.J3-0.IZ-0.IY,0.wW-0.nh,0.J0-0.fa,0.J1 c-0.wy,1.J2-1.IJ,2.II-2.r5,3.Ir-0.jV,0.xb-0.Iq,0.te-0.Is,0.It-0.dC-0.Iu-0.1-0.nn-0.uv-0.iH c-0.Ip-0.Io-0.Ik-3.Ij-0.Il-4.Im-0.iH-0.mI-0.jV-0.In-0.fa-0.Iv-0.xb-0.sX-0.Iw-0.mI-0.IE-0.iy c-1.mV-0.18-2.IF-0.wi-3.IG,0.IH.ID,5.IC,7.84,5.36,7.Iy,5.Ix.63,5.Iz,7.IA,5.IB,7.KS,5.zU c0.yF,0.dC,0.l4,0.fa,0.zV,0.Am.A6,7.As,8.bY,8.54,8.zl,9.Aq.zR,9.58,8.A3,9.zP,8.ux,9.zW C8.36,9.zS,8.A8,9.Ae,8.Ak,9.A1.wb,9.A2,7.An,9.A7,7.Al,9.Ap.Ac,9.Ab,7.A5,9.zO,7.Au,9.Aj C6.Aa,8.At,6.wV,7.Ao,5.zQ,5.A4-0.dC-0.iy-0.iy-0.uw-0.21-0.A0.Ad,5.Ag,5.13,5.Ar,4.wh,5.Av.zZ,5.zY c-0.zX,0-0.zT,0.lk-0.A9,0.Af.nn,5.Ai.rt,5.Ah,1.DU,5.93,2.sX,6.CP.CQ,3.lw,3.CR,7.zm,6.CS,8.CO c0.CN,0.CJ,1.CI,0.sO,2.CK,0.CL.CM-0.CT,0.CU-0.D1,0.D2-0.D3.iH-0.D4.nn-0.iH,0.dC-0.mI,0.lk-0.16 c0.CZ-0.CV,0.CW-0.CX,0.CY-1.CH.lk-0.jV,0.iy-0.fa,0.fa-0.CG.Cp-0.Cq,0.Cr-0.nh,0.uw-0.uv c0.Cs-0.Co,2.Cn,1.Cj,2.Ci,2.Ck.Cl,14.Cm,19.Ct,15.xn,18.ld,13.Cu.CC,13.CD,18.CE,13.CF,18.ld,13.CB\' 3i=\'#2X\' 3i-9u=\'ay\'/></3D>"}if(x=="kl"){O"<3D d=\'tN.rK,5.rM 9k.Cw,4.Cv 11.Cx,3.Cy 10.Cz,3.sb C6.D5,3.sb 4.D6,6.DE 4.DF,9.DG C4.DH,10.DD 4.DC,11.Dy 4.Dx,12.Dz L4.DA,15.DB L7.DI,14.DJ C8.DQ,15.DR 9.DS,15.DT 10.DP,15.pO 9k.DO,15.pO 15.DK,12.DL 15.DM,9.DN Dw.Dv,7.De 15.Df,6.Dg 14.rK,5.rM Z yZ.uX,11.uU cT.Dh,11.Dd 12.Dc,12.D8 11.D7,12.D9 dc.Da,12.Db 11.Di,12.Dj 10.Dr,11.Ds C8.Aw,11.Dt 7.Du,9.Dq 7.Dp,9.Dl C7.Dk,9.Dm 6.lh,8.Dn 6.lh,8.Do C6.lh,7.Ch 7.Cg,7.B4 7.B5,6.B6 C7.B7,6.B3 7.B2,6.ib 7.AY,6.ib C7.AX,6.ib 8.AZ,6.ib 8.B1,6.B8 C8.B9,6.Bg 8.Bh,6.Bi 8.Bj,6.Bf C8.Be,7.Ba 8.ya,8.Bb 8.Bc,8.Bd C9.AW,8.AV 9.AE,8.AF 8.AG,8.AH C8.ya,8.AD 8.AC,8.Ay 8.Ax,8.Az C8.AA,8.AB 8.AI,8.AJ 8.AR,8.AS C8.AT,8.AU 8.AQ,9.AP 8.AL,9.AK C8.AM,9.AN 8.AO,9.Bk 9.Bl,10.BT C9.BU,10.BV 10.BW,10.BS 10.BR,10.BN j3.BM,11.BO 10.BP,11.BQ 10.BX,10.wA j3.BY,10.wv 11.Cc,10.Cd 11.Ce,10.Cf dc.Cb,10.Ca 11.BZ,10.C0 11.C1,10.C2 dc.BL,10.BK 12.Bt,10.Bu 12.Bv,10.Bw cT.Bs,10.wv 12.Br,10.Bn 13.Bm,10.wA 9k.wD,10.Bo 13.wD,11.Bp 12.uX,11.uU Z\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}if(x=="5m"){O"<3D d=\'M7.dT,13.kK L1,10.pT L1,9.q9 L7.dT,5.Bq L7.dT,7.Bx L2.By,9.kE L7.dT,12.qJ L7.dT,13.kK Z yZ.rp,4 L9.BH,16 L7.BI,16 kI.BJ,4 d2.rp,4 Z BF.ud,9.kE d2.jk,7.BE d2.jk,5.BA qa,9.q9 qa,10.pT d2.jk,13.kK d2.jk,12.qJ Bz.ud,9.kE Z\' 3i=\'#2X\' 3i-9u=\'ay\'></3D>"}}E kC(x){B cZ=1I.1H(\'oe\');cZ.7S(\'C\',\'X:4C;2L:0;1w:0;\');1I.6u.1K(cZ);cZ.5p=x;cZ.ci();1I.BB(\'kC\');1I.6u.3k(cZ)};F.4f=E(){B x=K;1c(B i=1;i<11;i++){if(J(v["2Y"+i])){if(v["2Y"+i]!=""){x=I}}G{i<4?x=I:\'\'}}if(J(v["5m"])){v["5m"]!=\'\'?x=I:\'\'}if(J(v["1m"])){v["1m"]!=\'\'?x=I:\'\'}O x};F.3Y=E(){if(8g){o.1O.3k(1b);2m 1b;8g=I}};F.za=E(){O 6f}};B 4O=E(1Z){B d5;B BC;B 2K;B 42;B 3S;B jB;B dl=0;B 9G;B kz=I;B jf;if(1Z.me!=2g&&1Z.mc!=2g&&1Z.1M!=2g&&1Z.to!=2g){if(1Z.1e==5o){if(1Z.1M.R("bI")>-1){1Z.to==0?1Z.1e=0.5:1Z.1e=0.2}G{1Z.1e=0.15}}d5=sd(1Z.8H);if(1Z.1M.R("1G")==-1){if(J(o.7J[1Z.me])){o.7J[1Z.me].lG()}}if(1Z.1M.R("1G")==-1){o.7J[1Z.me]=F}if(1Z.1i==1){1Z.mc.26("2i",K)}2K=1Z.1M.2M(\'|\');3S=bC(1Z.to).2M(\'|\');42=1Q 8U();1c(B i=0;i<2K.U;i++){if(!3S[i]){3S[i]=3S[0]}if(2K[i]=="bI"){42[i]=1Z.mc.g("1w")}if(2K[i]=="6Z"){42[i]=1Z.mc.C.1w}if(2K[i]=="y"){42[i]=1Z.mc.g("y")}if(2K[i]=="x"){42[i]=1Z.mc.g("x")}if(2K[i]=="1d"){42[i]=2q(1Z.mc.C.1d)}if(2K[i]=="1G"){42[i]=1Z.mc.g("3f")}if(2K[i]=="8c"){42[i]=1Z.mc.aV}if(2K[i]=="fK"){42[i]=1Z.mc.aP}if(2K[i]=="3c"){42[i]=1Z.mc.g("3c")}if(2K[i]=="3f"){42[i]=1Z.mc.g("3f")}if(2K[i]=="X"){42[i]=1Z.mc.g("X")}
4if(2K[i]=="td"){42[i]=1Z.mc.2c;3S[i]=2T.7L(3S[i]);1Z.me=="BD"?1C("X",1Z.me,42[i],3S[i],1Z.mc.2c):\'\'}if(2K[i]=="Y"){42[i]=1Z.mc.g("Y")}if(2K[i]=="t7"){42[i]=1Z.mc.2P}3S[i]=sr(3S[i]);42[i]=sr(42[i])}9G=1Z.1e*3m/d5.U;jB=d5.U;if(2K.U==1&&42[0]==3S[0]){8M()}G{2j(il,2T.5Z(9G))}}E il(){1c(B i=0;i<2K.U;i++){B 22=42[i]+(3S[i]-42[i])*(d5[dl]?d5[dl]:0);if(2K[i]=="bI"){1Z.mc.26("1w",22)}if(2K[i]=="6Z"){1Z.mc.C.1w=22}if(2K[i]=="y"){1Z.mc.26("1j",22)}if(2K[i]=="x"){1Z.mc.26("1d",22)}if(2K[i]=="1d"){1Z.mc.C.1d=22+"px"}if(2K[i]=="1G"){1Z.mc.26("1G",22)}if(2K[i]=="3c"){1Z.mc.26("3c",22)}if(2K[i]=="3f"){1Z.mc.26("3f",22)}if(2K[i]=="8c"){1Z.mc.aV=22}if(2K[i]=="fK"){1Z.mc.aP=22}if(2K[i]=="X"){1Z.mc.26("X",22)}if(2K[i]=="td"){H(1Z.mc,{"X":22})}if(2K[i]=="Y"){1Z.mc.26("Y",22)}if(2K[i]=="t7"){H(1Z.mc,{"Y":22})}}dl++;if(!kz){if(dl==jB){8M()}G{jf=2j(il,2T.5Z(9G))}}}E 8M(){kz=K;if(1Z.1l){if(2K[0]=="6Z"||2K[0]=="1d"){1l(1Z.mc)}G{1Z.mc.26("2i",I)}}if(1Z.1M.R("1G")==-1){o.7J[1Z.me]=5o;2m o.7J[1Z.me]}};F.lG=E(){4w(jf);8M()};F.uP=E(){4w(jf);dl=jB-1;il();8M()};E sd(si){8w(si){1p"t5":O[0,0.SD,0.Sz,1.SA,1.ux,1.SB,1.mV,0.SC,0.SI,0.87,0.SJ,0.SP,1.wO,1.SQ,1.SR,1.SO,0.SN,0.rt,0.SK,0.SL,1.SM,1.yt,1.wZ,1.yt,1.xa,0.cB,0.bY,0.bY,0.bY,0.bY,1];1n;1p"aa":O[0,0.Sy,0.Sx,0.Sj,0.Sk,0.zm,0.zl,0.Sl,0.l4,0.Sh,0.Sd,0.Se,0.Sf,0.Sg,0.wq,0.Sm,0.Sn,0.Su,0.Sv,0.95,0.wy,0.Sw,0.St,0.Ss,0.99,0.wh,0.n2,0.cB,1];1n;1p"xe":O[0,0.wi,0.28,0.So,0.Sp,0.Sq,0.Sr,0.78,0.wq,0.SS,0.ST,0.n2,1.wO,1.Tm,1.xc,1.Tn,1.xn,1.xj,1.xj,1.To,1.Tl,1.Tk,1.xc,1.wV,1.Tg,1.wW,1.Th,1.Ti,1.wZ,1.xa];1n;7c:O[0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1];1n}}};B t4=E(){B N=ka.Tj,ua=ka.Tp,kS;B M=ua.jr(/(jc|ip|5y|mC|x8)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);B M=ua.jr(/(jc|ip|5y|mC|x8|Tq|Tw)\\/?\\s*(\\.?\\d+(\\.\\d+)*)/i);if(M&&(kS=ua.jr(/8s\\/([\\.\\d]+)/i))!=5o)M[2]=kS[1];F.bq=M?M[1]:N;F.8s=M?M[2]:ka.Ty;F.jc=F.bq=="Tv";F.ie=F.bq=="Tu"||F.bq=="Tr"||F.bq=="Ts";F.mC=F.bq=="Tt";F.5y=F.bq=="Tf";F.ip=2z.ip;F.fr=ua.8A("vY NT")>-1;F.tx=ua.8A("vY Te")>-1;F.6O=ua.8A(/(9z|f5|T0)\\/?\\s*/i)>-1;F.tv=v.w6!=1&&ua.8A(/(T1|LG w5|T2|SZ|TV SY)\\/?\\s*/i)>-1;F.lg=v.w6!=1&&ua.8A(/(LG w5)\\/?\\s*/i)>-1;F.9z=ua.8A(/(9z)\\/?\\s*/i)>-1;F.f5=ua.8A(/(f5)\\/?\\s*/i)>-1;F.4j=\'SU\'in 1I.og.C;F.cJ=ua.8A(/(cJ)\\/?\\s*/i)>-1;F.2n=F.6O||F.cJ||(ua.8A(/(SV|SW|jc T3)\\/?\\s*/i)>-1);F.kb=!F.2n;F.T4=F.2n||F.tv;F.2y=I;if(F.6O){F.Tb=6N(ua.1B(ua.R(\'OS \')+3,4).2N(\'nW\',\'.\'))}if(o.1O.m0||o.1O.m8||o.1O.lZ||o.1O.lT||o.1O.lS){F.2y=K}};E 7Q(3W,5V){1c(B s in 5V){if(2V(5V[s])==\'4s\'){if(s=="2C"||s=="4v"){3W[s]=5V[s]}G{1c(B s2 in 5V[s]){if(!J(3W[s])){3W[s]={}}if(2V(5V[s][s2])==\'4s\'){1c(B s3 in 5V[s][s2]){if(!J(3W[s][s2])){3W[s][s2]={}}if(2V(5V[s][s2][s3])==\'4s\'){1c(B s4 in 5V[s][s2][s3]){if(!J(3W[s][s2][s3])){3W[s][s2][s3]={}}3W[s][s2][s3][s4]=5V[s][s2][s3][s4];if(s3==\'2J\'||s3==\'2p\'){3W[s][s2][s3][s4]=2q(3W[s][s2][s3][s4])}}}G{3W[s][s2][s3]=5V[s][s2][s3];if(s2==\'2J\'||s2==\'2p\'){3W[s][s2][s3]=2q(3W[s][s2][s3])}}}}G{3W[s][s2]=5V[s][s2];if(s==\'2J\'||s==\'2p\'){3W[s][s2]=2q(3W[s][s2])}}}}}G{if(s.R("Tc")>0&&5b(5V[s])===""){}G{3W[s]=yX(s,5V[s])}}}O 3W};B yX=E(1h,5p){5p=5b(5p);if(1h.R("1F")>-1&&1h.R("#")!=0){5p="#"+5p}O 5p};E wa(b0,1w){O\'4a(\'+(b0=b0.2N(\'#\',\'\')).jr(1Q yx(\'(.{\'+b0.U/3+\'})\',\'g\')).Ta(E(l){O 2q(b0.U%2?l+l:l,16)}).T9(1w||1).cw(\',\')+\');\'}E p6(){3o{B 51=2z[\'4G\'],x=\'T5\';51.aC(x,x);51.mX(x);O K}3j(e){O I}};E kW(9d){if(9d){if(o.7J[9d]){o.7J[9d].lG()}}};B pU=E(){B 9q=1H("1R");o.1O.1K(9q);H(9q,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':30,\'2f-1F\':v.zD,\'1w\':v.z4,\'2i\':\'1L\'});B x=1H("1R");o.1O.1K(x);H(x,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':\'1u%\',\'1F\':v.yg,\'46-2Z\':v.yd,\'2J\':\'aQ o6\',\'2i\':\'1L\'});F.a5=E(1X){x.1V=1X;5Y(x);H(9q,{\'Y\':x.2P,\'2i\':\'4t\'});9q.C.55="n2";1c(B i=0;i<x.9h(\'a\').U;i++){x.9h(\'a\')[i].C.1F=\'#cV\'}x.C.55="bY"};F.8S=E(){3E(x);3E(9q)};B 2Q=["\\9U\\ha\\9C\\yb\\7v\\8k\\dE\\yL","\\9U\\ha\\9C\\yb\\7v\\8k\\T6\\dV\\T7\\dM\\bm\\kF","\\9U\\8k\\bm\\6c\\7v\\dM\\6c","\\9U\\8k\\bm\\6c\\7v\\dM\\6c\\dE\\bm\\xD","\\T8","\\dV\\9U\\ha\\dE\\6c","\\e3\\bm\\dV\\6c\\xD\\9C\\kF\\7v","\\e3\\6c\\6c\\9U\\dV\\xS\\b7\\b7","","\\8k\\7v\\9U\\ha\\9C\\dM\\7v","\\e3\\6c\\6c\\9U\\xS\\b7\\b7","\\6c\\7v\\dV\\6c","\\Sb","\\dE","\\yp\\bm\\8k\\Rg\\9C\\dM\\e3","\\kF\\7v\\yL\\dE\\9C\\Ri\\7v\\8k\\8k\\bm\\8k","\\ym\\9C\\Re\\e3\\8k\\7v\\yp\\Rc\\b7\\b7","\\yk","\\ym\\b7\\9C\\yk","\\6c\\Rj\\6c"];if(v[2Q[0]]==2Q[1]){v[2Q[2]]=2Q[1];v[2Q[3]]=1};if(J(3n[2Q[3]])){v[2Q[3]]=1};if(J(3n[2Q[2]])){v[2Q[2]]=2Q[1]};if(J(v[2Q[2]])&&v[2Q[3]]==1){B xs=v[2Q[2]][2Q[5]](2Q[4]);B xd=dj[2Q[6]];B g=I;xs[2Q[14]](E(di){di=di[2Q[9]](2Q[7],2Q[8]);di=di[2Q[9]](2Q[10],2Q[8]);if(1Q yx(di+2Q[12],2Q[13])[2Q[11]](xd)){g=K;O}});if(!g){o[2Q[15]]=K;F[2Q[19]](2Q[16]+xs[0]+2Q[17]+xs[0]+2Q[18])}}};B 3g=E(x){if(x=="2G"){if(v.1x=="ru"){x="Àâòî"}}if(x=="2x"){if(v.1x=="ru"){x="Ïóñê"}}if(x=="62"){if(v.1x=="ru"){x="Ïàóçà"}}if(x=="2y"){if(v.1x=="ru"){x="Âî âåñü ýêðàí"}if(v.1x=="en"){x="ks rl"}}
4if(x=="mQ"){if(v.1x=="ru"){x="Âûéòè èç ïîëíîýêðàííîãî ðåæèìà"}if(v.1x=="en"){x="Rk Rr ks rl"}}if(x=="2E"){if(v.1x=="ru"){x="Ñòîï"}if(v.1x=="en"){x="8J"}}if(x=="1q"){if(v.1x=="ru"){x="Íàñòðîéêè"}if(v.1x=="en"){x="6V"}}if(x=="yv"){if(v.1x=="ru"){x="Ïàðàìåòðû"}if(v.1x=="en"){x="Rs"}}if(x=="1P"){if(v.1x=="ru"){x="Ãðîìêîñòü"}if(v.1x=="en"){x="3r"}}if(x=="5L"){if(v.1x=="ru"){x="Âûêëþ÷èòü çâóê"}if(v.1x=="en"){x="qY Rt"}}if(x=="6k"){if(v.1x=="ru"){x="Âêëþ÷èòü çâóê"}if(v.1x=="en"){x="qY on"}}if(x=="Rq"){if(v.1x=="ru"){x="Ðåêëàìà"}if(v.1x=="en"){x="Rp"}}if(x=="iE"){if(v.1x=="ru"){x="Ïðîïóñòèòü"}if(v.1x=="en"){x="r0"}}if(x=="7w"){if(v.1x=="ru"){x=" ÝÔÈÐÅ"}if(v.1x=="en"){x="Rl"}}if(x=="1k"){if(v.1x=="ru"){x="Ïëåéëèñò"}if(v.1x=="en"){x="9a"}}if(x=="Rm"){if(v.1x=="ru"){x="Ïðîïóñòèòü ìîæíî ÷åðåç "}if(v.1x=="en"){x="r0 Rn "}}if(x=="mx"){if(v.1x=="ru"){x="Ïåðåéòè íà ñàéò ðåêëàìîäàòåëÿ"}if(v.1x=="en"){x="Go to Ro\'s R9"}}if(x=="R8"){if(v.1x=="ru"){x="Âêëþ÷èòå çâóê"}if(v.1x=="en"){x="6e 4N"}}if(x=="4i"){if(v.1x=="ru"){x="Êà÷åñòâî"}if(v.1x=="en"){x="sU"}}if(x=="6q"){if(v.1x=="ru"){x="Àóäèî"}if(v.1x=="en"){x="QU"}}if(x=="am"){if(v.1x=="ru"){x="Ñêà÷àòü"}if(v.1x=="en"){x="ir"}}if(x=="2k"){if(v.1x=="ru"){x="Ñóáòèòðû"}if(v.1x=="en"){x="7T"}}if(x=="7O"){if(v.1x=="ru"){x="Ñêîðîñòü"}if(v.1x=="en"){x="t3"}}if(x=="1J"){if(v.1x=="ru"){x="îøèáêà"}}if(x=="jb"){if(v.1x=="ru"){x="îøèáêà çàãðóçêè"}if(v.1x=="en"){x="ff 1J"}}if(x==\'lN\'){if(v.1x=="ru"){x="Î÷åíü íèçêîå"}if(v.1x=="en"){x="QV"}}if(x==\'hr\'){if(v.1x=="ru"){x="Íèçêîå"}if(v.1x=="en"){x="QW"}}if(x==\'hx\'){if(v.1x=="ru"){x="Ñðåäíåå"}if(v.1x=="en"){x="QT"}}if(x==\'hw\'||x==\'rs\'){if(v.1x=="ru"){x="Âûñîêîå"}if(v.1x=="en"){x="QS"}}if(x==\'hq\'){x="HD"}if(x==\'hp\'){x="ks HD"}if(x==\'lP\'){x="4K"}if(x=="7z"){if(v.1x=="ru"){x="Ñëåäóþùèé"}if(v.1x=="en"){x="QO"}}if(x=="a9"){if(v.1x=="ru"){x="Ïðåäûäóùèé"}if(v.1x=="en"){x="QP"}}if(x=="2Y"){if(v.1x=="ru"){x="Ïîäåëèòüñÿ"}if(v.1x=="en"){x="hB"}}if(x=="rY"){if(v.1x=="ru"){x="Ñêîïèðîâàíî â áóôåð îáìåíà"}if(v.1x=="en"){x="QQ to QR"}}if(x=="59"){x="QX"}if(x=="eq"){if(v.1x=="ru"){x="Ðàçìåð òåêñòà"}if(v.1x=="en"){x="s1 2Z"}}if(x=="cO"){if(v.1x=="ru"){x="Öâåò òåêñòà"}if(v.1x=="en"){x="s1 1F"}}if(x=="i0"){if(v.1x=="ru"){x="Öâåò ôîíà"}if(v.1x=="en"){x="9y 1F"}}if(x=="i1"){if(v.1x=="ru"){x="Ïðîçðà÷íîñòü ôîíà"}if(v.1x=="en"){x="9y 1w"}}if(x=="iF"){if(v.1x=="ru"){x="Òåíü"}if(v.1x=="en"){x="QY"}}if(x=="iT"){if(v.1x=="ru"){x="Íàñûùåííîñòü øðèôòà"}if(v.1x=="en"){x="R5 eH"}}if(x=="dY"){if(v.1x=="ru"){x="Îòñòóï ñíèçó"}if(v.1x=="en"){x="R6 2p"}}if(x=="R7"){if(v.1x=="ru"){x="Äà"}if(v.1x=="en"){x="R4"}}if(x=="R3"){if(v.1x=="ru"){x="Íåò"}if(v.1x=="en"){x="No"}}if(x=="of"){if(v.1x=="ru"){x="èç"}}if(x=="6T"){if(v.1x=="ru"){x="Ïàðîëü"}if(v.1x=="en"){x="jy"}}if(x=="QZ"){if(v.1x=="ru"){x="Îøèáêà âîñïðîèçâåäåíèÿ íà óñòðîéñòâå"}if(v.1x=="en"){x="rN 1J on qR"}}if(x=="R0"){if(v.1x=="ru"){x="Èãðàåò íà óñòðîéñòâå"}if(v.1x=="en"){x="rN on qR"}}O x};B 9F=E(x,y,z){if(!J(o.fJ[y])&&v.R1!=1){if(v.rH[x]==1&&v.w0==1&&J(v.ku)){if(x=="d6"){8b(q3,R2)}3o{2z["q8"+v.ku].qf(\'Ru\'+x)}3j(e){1C("Rv RY 1J ",e)}}if(v.q1[x]==1){if(v.ga==1){ga(\'9K.8X\',\'W\',{zg:\'iS\',vO:y})}}}z?o.fJ[y]=K:\'\'};E q3(){3o{2z["q8"+v.ku].qf(\'RZ\')}3j(e){}};B mn=E(1m){B x=\'\';if(1m.R(\'jT.be/\')>-1){x=1m.1B(1m.R(".be/")+4);x.2N("/","")}G{x=1m.2M(/(jT.be\\/|v\\/|5m\\/|S0\\?|4r.RX\\/9K\\/[^#]*#([^\\/]*?\\/)*)\\??v?=?([^#\\&\\?]*)/)[3]}if(x!=\'\'){if(x.R("?t=")>0){v.1N=x.1B(x.R("?t=")+3);B h=0;B m=0;B s=0;if(v.1N.R("h")>0){h=v.1N.1B(0,v.1N.R("h"));v.1N=v.1N.1B(v.1N.R("h")+1)}if(v.1N.R("m")>0){m=v.1N.1B(0,v.1N.R("m"));v.1N=v.1N.1B(v.1N.R("m")+1)}if(v.1N.R("s")>0){s=v.1N.1B(0,v.1N.R("s"));v.1N=v.1N.1B(v.1N.R("s")+1)}if(h>0||m>0||s>0){v.1N=h*iV+m*60+s*1}x=x.1B(0,x.R("?t="))}}O x};B js=E(x,y,li){if(v.gR==1){if(v.TA==1||li==1){B ev=1I.RS(\'7F\');if(y!==2g){ev.8j=y}ev.RT(x,K,K);o.1E.RU(ev)}G{if(y!==2g){if(2V(y)==\'4s\'){y=5u.RV(y)}}if(2V(v.2C)==\'4s\'){if(J(v.2C[x])||J(v.2C[\'l7\'])){B z=x;if(!J(v.2C[x])&&J(v.2C[\'l7\'])){z=\'l7\'}if(x.R("eC")==0){if(J(v.2C[\'2o\'])){z=\'2o\'}}3o{if(y!==2g){2l(v.2C[z]+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}G{2l(v.2C[z]+"(\'"+x+"\',\'"+v.id+"\')")}}3j(e){1C(e)}}}G{if(v.2C==\'\'){v.2C="qM"}3o{if(y!==2g){2l(v.2C+"(\'"+x+"\',\'"+v.id+"\',\'"+y+"\')")}G{2l(v.2C+"(\'"+x+"\',\'"+v.id+"\')")}}3j(e){1C(e)}}}}if(v.qO==1){B zv={W:x,1e:(x=="5K"?o.xC:o.P.1e())};if(y!==2g){zv["1A"]=y}if(x=="1t"||x=="1e"){zv["1t"]=o.P.1t()}if(x=="1P"||x=="6k"){zv["1P"]=v.1P}2z.bL.h8(zv,\'*\');B z=x;x=="d6"||x=="1N"||x=="3Z"?z=x+"ed":\'\';x=="2x"?z="S1":\'\';x=="62"?z="8n":\'\';x=="5L"?z="3G":\'\';x=="6k"?z="S2":\'\';x=="5K"?z="S8":\'\';x=="S9"?z="Sa":\'\';zv["W"]=z;if(z!=\'\'){2z.bL.h8(zv,\'*\')}}};F.W=E(x,y){o.2C[x]=y};B 4d=E(x,y,S){O 7B(x,y,S)};F.4d=E(x,y,S){O 7B(x,y,S)};
4E 7B(x,y,S){if(J(o.1a)){if(x=="2x"){if(J(y)){if(2V(y)==\'6W\'){B 2R=-1;if(y.R("[5K:")>-1&&y.R("]")==y.U-1){2R=y.1B(y.R("[5K:")+6,y.U-1);o.2R=2R=2q(2R.1B(0,2R.U-1));y=y.1B(0,y.R("[5K:"))}if(y.R("#2")==0){y=aj(y)}if(y.R("#3")==0&&y.R(v.fL)>0){y=dq(y)}if(y.R("#0")==0){y=jP(y)}if(v.gk==1){y=gk(y)}if(y.R(".a5")==y.U-4){B 3y=aX(y);3y.aT=E(){if(F.aR==4&&F.4V==4Q){3o{7B(\'2x\',5u.7y(F.9m))}3j(e){}}};3y.8X();O}if(y.R("id:")==0&&J(o.1z)){B z=y.1B(3);1c(B j in o.1z){if(o.1z.2r(j)){if(o.1z[j].ai==z){z=j}}}if(J(o.1z[z])){o.V.zq(z);2R>-1?o.2R=2R:\'\';O K}G{O I}}}o.1a.d8(y)}G{o.1a.2H()}}if(x=="62"){o.2x?o.1a.3x():\'\'}if(x=="3H"){o.P.kf()}if(x=="S7"){o.2x?o.1a.3x():o.1a.2H()}if(x=="2E"){v.3H=0;o.P.hc();o.1a.8J()}if(x=="9x"){o.1e=o.P.1e();o.1a.fB()}if(x=="5L"){o.1a.4Y()}if(x=="7O"){o.1a.9w(y)}if(x=="6k"){o.1a.6e()}if(x=="1P"||x=="v1"){if(J(y)){if(y>=0&&y<=1){o.1a.3r(y)}}O o.3G?0:v.1P}if(x=="3G"){O J(o.3G)?o.3G:I}if(x=="a7"){y<2?y=\'\':\'\';if(o[\'u\'+y]!=\'\'){B x2=5u.7y(d1(o[\'u\'+y]));B v2=[];1c(B l in v){if(v.2r(l)){if(l.R("8V")==0){2m v[l]}}}if(2V x2=="4s"){1c(B k in x2){if(x2.2r(k)){if(k.R("8V")==0){v[k]=x2[k]}if(k=="2a"){v2[k]=x2[k]}}}}v=7Q(v,v2);B l6=I;if(o.V.9R()){o.V.6V();l6=K}B la=I;if(o.V.a8()){o.V.9a();la=K}o.V.3Y();2m o.V;o.V=1Q oK();if(o.P.4V()=="5r"){o.V.2H()}o.V.3r(v.1P);if(J(v.1U)){8L(v.1U)}if(l6){o.V.6V()}if(la){o.V.9a()}if(o.2y){o.V.7A()}if(1h!=\'vT\'){o.V.6G(o.P.1e(),o.P.1t())}2F()}}if(x=="cg"){O v.cg}if(x=="5n"){o.V.5n(K)}if(x=="5K"){if(J(y)){if(2V y=="6W"){if(y.R("%")>-1){y=2q(y.1B(0,y.R("%")));y=o.P.1t()*y/1u}G{if(y.R("+")==0){y=o.P.1e()+2q(y.1B(1))}G{if(y.R("-")==0){y=o.P.1e()-2q(y.1B(1))}}}}y=2q(y);y<0?y=0:\'\';if(o.P.1t()>0){y>o.P.1t()?y=0:\'\'}if(!J(o.2o)&&!J(o.7b)&&o.P.1t()>0){o.2R=2g;o.1a.3R(y,K);o.1a.kQ()}G{o.2R=y}}}if(x=="2y"){!o.2y?o.1a.7A():\'\'}if(x=="lR"){o.2y?o.1a.8B():\'\'}if(x=="S4"){O o.2y}if(x=="1e"){B lf=o.P?o.P.1e():0;if(o.44&&v.d0==1&&!o.1N){B f=o.44.9Q();if(f.t){lf=f.t}}O lf}if(x=="1t"){O o.P?o.P.1t():0}if(x=="4i"){if(J(y)){v.hd=bZ(v.hd,y,S);if(o.2v.U==2){o.1a.5J(v.hd)}}G{O o.P?o.P.nP():0}}if(x=="6q"){O o.P?o.P.nQ():0}if(x=="zz"){O o.2w=="4r"}if(x=="xv"){if(o.4J>0){o.hW=o.4J}o.1a.d8(v.4v)}if(x=="5r"){O o.2x}if(x=="9P"){O o.1N}if(x=="zJ"){o.P.lc()}if(x=="id"){O v.id}if(x=="1C"){v.1C=y}if(x=="gR"){v.gR=y}if(x=="1D"){o.P.sp()}if(x=="59"){o.P.eU()}if(x=="7r"){o.P.aO()}if(x=="3n"){dF.1C(3n)}if(x=="2k"){v.2k=y;o.P.ce(y)}if(x=="S5"){if(o.2w=="aH"||o.2w=="1S"||o.2w=="1Y"){B 5j=1H("5j");o.1E.1K(5j);B kO=5j.qx(\'2d\');B 2Z=o.P.2Z();5j.X=2Z.X>0?2Z.X:o.9i;5j.Y=2Z.Y>0?2Z.Y:o.fx;kO.kT(o.P.5i(),0,0,5j.X,5j.Y);4i=2;B fn=1I.1H("5j");fn.X=5j.X*4i;fn.Y=5j.Y*4i;B qb=fn.qx("2d");qb.kT(o.P.5i(),0,0,5j.X*4i,5j.Y*4i);kO.kT(fn,0,0,5j.X,5j.Y);B 52;3o{52=5j.RR("7E/RQ")}3j(e){O I}O 52}G{O I}}if(x=="1Y"){O o.2w==x?o.P.ju():2g}if(x=="1S"){O o.2w==x?o.P.j9():2g}if(x=="29"){if(!o.2x&&y.R(\'//\')>-1){o.P.8D(y);O K}G{O I}}if(x=="1G"){o.P.1G(y)}if(x=="1U"){if(J(y)){J(y)?v.1U=y:\'\';o.1a.8L(\'1U\');O K}G{O v.1U}}if(x=="1k"){if(2V(y)==\'4s\'){3o{o.1a.6A(y);O K}3j(e){O I}}G{if(y.R(".a5")==y.U-4||y.R(".a5?")>0){B 3y=aX(y);3y.aT=E(){if(F.aR==4&&F.4V==4Q){3o{7B(\'1k\',5u.7y(F.9m))}3j(e){}}};3y.8X();O K}}}if(x=="7z"){o.V.cW()}if(x=="a9"){o.V.er()}if(x=="RC"){if(J(y)&&J(o.1z)){1c(B j in o.1z){if(o.1z.2r(j)){if(o.1z[j].ai==y){y=j}}}if(J(o.1z[y])){o.V.z2(y);O K}G{O I}}}if(x=="RD"){if(o.47){O o.1z[o.47].ai?o.1z[o.47].ai:o.47}}if(x=="iM"){if(J(o.iM)){O o.iM}}if(x=="RE"){O v.4F}if(x=="RB"){if(o.2o){O K}G{O I}}if(x=="RA"){if(o.2o){O tD()}G{O I}}if(x=="ao"){v.ao=bZ(v.ao,y,S)}if(x=="5D"){v.5D=bZ(v.5D,y,S)}if(x=="Rw"){v.1k.e0=bZ(v.1k.e0,y,S)}if(x=="hd"){if(o.2v.U==2){v.hd=o.2v[o.3h];v.hd=bZ(v.hd,y,S);if(o.2v[0]==v.hd){o.1a.5J(0)}G{o.1a.5J(1)}}}if(x=="v"&&y!=\'4v\'){O v[y]}if(x.R("Rx:")==0){if(2V(y)==\'4s\'&&2V(v[x.1B(7)])==\'4s\'){1c(B yy in y){if(y.2r(yy)){v[x.1B(7)][yy]=y[yy]}}}G{v[x.1B(7)]=y}O K}if(x=="Ry"){O o.P?o.P.9B():\'\'}if(x=="n4"){O o.n4}if(x=="ng"){O o.ng}if(x=="6z"){O o.6z}}G{O I}};E bZ(x,y,S){B z=5b(y);if(y.R("/")>0){B y2=y.2M("/");if(y2.U==2){if(x==5b(y2[0])){z=5b(y2[1]);if(S){S.po(1)}}G{z=5b(y2[0]);if(S){S.po(0)}}}}O z}E aX(x){B 3y=1Q Rz();3y.6f(\'RF\',x,K);O 3y}E tD(){O o.2o?{1y:o.2o.8j("nl"),8s:o.2o.8j("8s"),RG:o.2o.8j("jl"),1m:o.2o.8j("43")+(o.2o.8j("tI")?o.2o.8j("RN")+o.2o.8j("tI"):\'\'),1M:o.2o.8j("RO"),4v:o.2o.8j("4v")}:\'\'}B 1H=E(x){B y=x;x==\'1R\'||x==\'tH\'?y=\'bt\':\'\';B z=1I.1H(y);if(x==\'tH\'){H(z,{"5A":"3I","2i":"4t"})}O z};B 1C=E(a,b,c,d,e,f,g){if(v.1C==1||v.nw==1){B x=a+(b!=2g?" "+b:"")+(c!=2g?" "+c:"")+(d!=2g?" "+d:"")+(e!=2g?" "+e:"")+(f!=2g?" "+f:"")+(g!=2g?" "+g:"");dF.1C("ue: "+x);if(v.nw==1&&J(1I.7N("uC"))){1I.7N("uC").1V+=x+\'<br/>\'}}};B 6y=E(1e){if(o.2w=="df"){O 2T.nH(1e)}1e<0?1e=0:\'\';B uG=o.P.1t>=9L?K:I;B uA=o.P.1t>=iV?K:I;B 5E=2T.7L(1e/60);B 6b=3z(1e-5E*60);B 8R=2T.7L(5E/60);5E=5E-8R*60;O bC((8R>0||uA?8R+\':\':\'\')+((8R>0||uG)&&5E<10?\'0\':\'\')+5E+\':\'+(6b<10?\'0\':\'\')+6b)};B H=E(e,o){1c(B 1h in o){if(o[1h]!=\'RP\'&&o[1h]!=2g){if(2V o[1h]==\'RM\'&&1h!=\'1w\'){o[1h]+=\'px\'}if((1h.R("1F")>-1||1h.R("RL")>-1)&&o[1h].R("#")==-1&&o[1h].R("4a")==-1){o[1h]=\'#\'+o[1h]}if(1h=="2O"){e.C[\'-ms-\'+1h]=o[1h];e.C[\'-oG-\'+1h]=o[1h];e.C[\'-4j-\'+1h]=o[1h];e.C[\'-o-\'+1h]=o[1h]}e.C[1h]=o[1h]}}};B pE=E(x){if(o.H){if(o.H.uI){o.H.uI.RH=x}G{o.H.1K(1I.rL(x))}}};B 4L=E(e,o){1c(B 1h in o){e.7S(1h,o[1h])}};B 9W=E(e){if(e){3o{e.5X.3k(e);2m e;e=5o}3j(e){}}};B 7C=E(b5,6C){O 2T.7L(s9.U>1?(6C-b5+1)*2T.7C()+b5:(b5+1)*2T.7C())};B 5b=E(x){if(2V x=="6W"){O x.2N(/^\\s+|\\s+$/gm,\'\')}G{O x}};B RI=E(x,n){if(n==0){O"#0"+bh.e(x)}if(n==1){O"#1"+n3(bh.e(x),1)}};B 4R=E(x){O bC.mM(x)};B d1=E(x){if(x.1B(0,2)=="#1"){O bh.d(n3(x.1B(2),-1))}G if(x.1B(0,2)=="#0"){O bh.d(x.1B(2))}G{O x}};B pl=E(x){if(x){if(x.R(\'3p\')==-1&&x.R(\'.\')==-1&&x.U>1u){x=\'1A:7E/iK;cM,\'+x}}O x};B 1l=E(x){x.C.6z="3v"};B 1i=E(x){x.C.6z="3J"};B 3E=E(x){x.C.2i="1L"};B 5Y=E(x){x.C.2i="4t"};B 6l=E(x){O x.C.6z!="3v"&&x.C.2i!="1L"};B 3z=E(s){if(2V s=="6W"){if(s.R("px")>0){s=s.1B(0,s.R("px"))}}O 2q(s)};B 3v=E(x){O x.C.2i=="1L"};B jh=E(b0){B gI=2q(b0,16);B r=(gI>>16)&mO;B g=(gI>>8)&mO;B b=gI&mO;O r+","+g+","+b};B 3T=E(o,x,y){o[x+\'1j\']=0;o[x+\'1W\']=0;o[x+\'2h\']=0;o[x+\'1d\']=0;if(J(o[y])){B z=o[y].2M(" ");if(z.U==4){o[x+\'1j\']=z[0]?3z(z[0]):0;o[x+\'1W\']=z[1]?3z(z[1]):0;o[x+\'2h\']=z[2]?3z(z[2]):0;o[x+\'1d\']=z[3]?3z(z[3]):0}}O o};B cd=bC.mM(65,66,67,68,69,70,71,72,73,74,75,76,77,97,98,99,1u,lw,mV,RK,Tz,Us,UH,Ur,Uu,Ut,78,79,80,81,82,83,84,85,86,87,88,89,90,UM,te,UO,Uq,TP,Ul,TM,TL,TE,TD,qm,sR,TC);B bh={8G:cd+"TB+/=",e:E(e){B t="";B n,r,i,s,o,u,a;B f=0;e=bh.tq(e);bi(f<e.U){n=e.8K(f++);r=e.8K(f++);i=e.8K(f++);s=n>>2;o=(n&3)<<4|r>>4;u=(r&15)<<2|i>>6;a=i&63;if(lt(r)){u=a=64}G if(lt(i)){a=64}t=t+F.8G.5C(s)+F.8G.5C(o)+F.8G.5C(u)+F.8G.5C(a)}O t},d:E(e){B t="";B n,r,i;B s,o,u,a;B f=0;e=e.2N(/[^A-tK-z0-9\\+\\/\\=]/g,"");bi(f<e.U){s=F.8G.R(e.5C(f++));o=F.8G.R(e.5C(f++));u=F.8G.R(e.5C(f++));a=F.8G.R(e.5C(f++));n=s<<2|o>>4;r=(o&15)<<4|u>>2;i=(u&3)<<6|a;t=t+4R(n);if(u!=64){t=t+4R(r)}if(a!=64){t=t+4R(i)}}t=bh.sM(t);O t},tq:E(e){e=e.2N(/\\r\\n/g,"\\n");B t="";1c(B n=0;n<e.U;n++){B r=e.8K(n);if(r<dI){t+=4R(r)}
4G if(r>nh&&r<TK){t+=4R(r>>6|TJ);t+=4R(r&63|dI)}G{t+=4R(r>>12|uq);t+=4R(r>>6&63|dI);t+=4R(r&63|dI)}}O t},sM:E(e){B t="";B n=0;B r=0;B c1=0;B c2=0;bi(n<e.U){r=e.8K(n);if(r<dI){t+=4R(r);n++}G if(r>TH&&r<uq){c2=e.8K(n+1);t+=4R((r&31)<<6|c2&63);n+=2}G{c2=e.8K(n+1);c3=e.8K(n+2);t+=4R((r&15)<<12|(c2&63)<<6|c3&63);n+=3}}O t}};B n3=E(s,n){s=s.2N(/\\+/g,"#");s=s.2N(/#/g,"+");B a=qj(o.y)*n;if(n<0)a+=cd.U/2;B r=cd.1B(a*2)+cd.1B(0,a*2);O s.2N(/[A-tK-z]/g,E(c){O r.5C(cd.R(c))})};B qj=E(x){x=x.2M(4R(61));B hy=\'\';B c1=4R(qm);B lD;1c(B i in x){if(x.2r(i)){B na=\'\';1c(B j in x[i]){if(x[i].2r(j)){na+=(x[i][j]==c1)?4R(49):4R(48)}}lD=2q(na,2);hy+=4R(lD.8e(10))}}O hy.1B(0,hy.U-1)};B J=E(x){O x!=5o&&2V(x)!=\'2g\'};B 3z=E(x){O 2q(x)};B e1=E(x){B hv=0;if(x.hs){hv=x.dp+x.qd;bi(x=x.hs){hv+=x.dp+x.qd}}B sa=2z.TU(1I.6u,5o);B lK=0;if(sa.1g=="bl"){lK=1I.6u.TO().1d}O hv+lK};B ec=E(x){B ht=0;if(x.hs){ht=x.oH+x.rX;bi(x=x.hs){ht+=x.oH+x.rX}}O ht};B 7l=E(x){if(x!=\'\'){if(v.UL==1){2z.6f(x)}G{2z.dj.96=x}x=\'\'}};B hf=E(6b){B 6b=2T.5Z(6b);B 5E=2T.7L(6b/60);B 8R=2T.7L(5E/60);5E=2T.7L(5E%60);6b=2T.7L(6b%60);8R>0&&5E<10?5E="0"+5E:"";6b=(6b>=10)?6b:"0"+6b;B 4o=(8R>0?8R+":":"")+5E+":"+6b;O 4o};B rV=E(){B jA=I;B j1=K;if(o.1y.tv){1C("tv")}F.8L=E(x){o.V?o.V.1U(x):\'\'};F.6h=E(x){if(x){if(2V(x)==\'6W\'){if(x.R("[{")==0){3o{x=x.2N(/9H\'qt/ig,\'"\');x=5u.7y(x)}3j(e){x="uN 5u"}}}if(2V(x)==\'4s\'){o.1z=[];o.1k=kL(x);B y=tQ();x=y.4v;o.iR=y.1U;if(J(y.29)){if(o.P){o.P.8D(y.29)}G{v.29=y.29}}if(J(y.2U)){y.2k=y.2U}if(J(y.1N)){o.2R=y.1N}if(J(y.3Z)){v.3Z=y.3Z}if(J(y.id)){o.47=y.id}B sx=["2k","cg","5m","1m","aq","6F"];if(J(v.gY)){if(v.gY.Um==1&&v.gY.iQ==1){sx.4T("1U")}}1c(B i=0;i<sx.U;i++){if(J(y[sx[i]])){v[sx[i]]=y[sx[i]]}}if(sx.R(\'1U\')>0){o.1a.8L(\'1U\')}if(o.V){o.V.6A(o.1k)}}if(2V(x)==\'6W\'){if(x.R("#2")==0){x=aj(x)}if(x.R("#3")==0&&x.R(v.fL)>0){x=dq(x)}if(x.R("#0")==0){x=jP(x)}if(v.gk==1){x=gk(x)}if(x==\'\'){1C("4f 4v");o.fT=K;js("1J","4f")}o.2v=[];o.6d=[];o.gq=0;o.3h=0;o.4J=0;o.4W=x.2M(v.ls);o.bQ=[];if(J(v.cN)){B cN=v.cN.2M(v.ls)}if(o.4W.U>0){B q=0;1c(B i=0;i<o.4W.U;i++){if(o.4W[i].R("[")==0&&o.4W[i].R("]")>1){o.2v[i]=o.4W[i].1B(o.4W[i].R("[")+1,o.4W[i].R("]")-1);o.4W[i]=o.4W[i].1B(o.4W[i].R("]")+1)}G{if(J(v.cN)){o.2v[i]=J(cN[i])?cN[i]:\'\'}G{o.2v[i]=i+1}}if(J(v.3X)&&q==0){if(v.3X==o.2v[i]){o.gq=i;o.3h=i}}if(J(o.3X)){if(o.3X==o.2v[i]){o.gq=i;o.3h=i;q=i}}o.4W[i]=mi(o.4W[i])}}G{o.4W[0]=mi(o.4W[0])}O o.4W[o.gq]}}G{O x}};E mi(x){if(J(v.rn)&&x.R("//")==-1){x=v.rn+x}O x};F.6A=E(x){if(2V(x)==\'4s\'){o.1z=[];o.1k=kL(x);if(o.V){o.V.6A(o.1k)}}};F.d8=E(x,y){!J(y)?v.4A=1:\'\';v.3H=0;v.1t=2g;v.3Z=2g;o.fT=I;o.aY=I;o.7r=I;o.aL=0;o.fJ=[];g3();if(v.mj>1){if(J(o.5Q)&&v.ri==1){1c(B i in o.5Q){o.5Q[i].mP=2g}v.mj--}}if(o.P.4V()=="5r"){F.8J()}if(J(o.2Y)){o.2Y.3Y()}if(J(o.fF)){4w(o.fF)}js("1Q");o.1a.kH();x=F.6h(x);if(y==1){o.2w=\'\'}o.P.6h(x);if((o.1y.2n||o.1y.5y)&&!J(y)){o.1a.2H()}if(J(o.eI)){o.P.sh()}o.P.fo();o.V.af();o.V.hb();o.V.6L()};F.g3=E(){g3()};E g3(){o.3C=-1;o.7j=I;o.c9=I;2m v.2k;2m v.6F;2m o.2U;2m o.3w;if(J(o.V)){o.V.a6()}2m o.4E;if(J(o.2k)){o.4g.3k(o.2k);2m o.2k}2m o.3C;o.7j=I}F.al=E(){if(v.4A==1){if(v.yj==1){2j(E(){o.1a.2H()},4D)}G{F.2H()}v.qC=1}if(v.5F==1){w1()}v.4A=0};F.fo=E(){B x=I;if(o.1y.2n){x=K;if(v.uk==1&&o.1y.9z){x=I}if(v.uE==1&&o.1y.f5){x=I}if(v.un==1&&o.1y.6O){x=I}if(v.Uv==1&&o.1y.cJ){x=I}}if(v.Uz==1&&o.1y.tv){x=K}O x};F.l8=E(){o.P.3r(v.1P);if(o.3G){o.P.4Y()}o.aY=K;o.V.6L();if(o.5z&&o.5W){o.4X.Go()}};F.2H=E(b6){B 2E=I;if(o.2w=="4r"){if(!o.P.hi()&&v.4A!=1&&v.3H==1){2E=K;if(2z[\'6P\']){v.4A=1;o.P.lc()}}}if(v.6T==1&&v.vh==0){o.1a.jy();2E=K}if(o.fT||2E){}G{qw(!o.1N);o.jj.8S();if(!o.1N){js("1N");o.1N=K;js("1Q");9F("2x","2H",K)}G{9F("Uw","UG")}if(v.z5==1&&!o.2y){if(v.z9==1){o.1y.2n?F.7A():\'\'}G{F.7A()}}if(8F("aG")||8F("3F")){ob(2)}G{if(v.7l==1&&J(v.zb)&&!J(3n.7l)){7l(v.zb);2E=K}if(!2E){if(o.2w!=\'df\'){o.P.1t()>0?o.V.6G(o.P.1e(),o.P.1t()):\'\'}B go=I;if(o.P.1e()>1&&v.eZ==1&&b6!=1){go=8F("ew")}if(go){}G{if(o.V){if(o.V.9R()){o.V.6V()}}if(J(o.jF)){o.1a.d8(o.jF);o.jF=2g}G{o.P.2H()}o.V.2H();if(o.1y.2n){o.V.cY()}if(J(o.2Y)){o.2Y.za()?o.2Y.fQ():\'\'}if(v.nm==1&&o.5W){H(o.P.5i(),{"iL":"1L"})}if(v.UI==1&&J(v.aq)&&o.dt){if(v.aq!=\'\'&&!J(o.e8)){o.e8=8b(ky,v.zk*3m);ky()}}}}}}};F.3x=E(){if(o.2x){o.P.3x();o.V.3x();js("62");v.xB?8a():\'\';if(v.nm==1&&o.5W){H(o.P.5i(),{"iL":"UJ(1u%)"})}if(!J(o.2o)&&v.eZ==0){8F("ew")}}};F.vM=E(){if(o.2x){js("62");if(!J(o.2o)&&v.eZ==0){8F("ew")}}};F.4Y=E(){o.P.4Y();o.V.4Y();o.3G=K;js("5L")};F.6e=E(){o.P.6e();o.3G=I;o.V.6e();js("6k")};F.3r=E(x,y){x<0.mY?x=0:\'\';x>1?x=1:\'\';if(x<=0){F.4Y()}G{if(o.3G){F.6e()}v.1P=x}js("1P",x);o.V.3r(x,y);o.P.3r(x)};F.bP=E(){o.V.bP()};F.94=E(){o.V.94()};F.TN=E(){F.94()};F.l9=E(){o.1a.6R();F.94()};
4F.6G=E(1e,1t){if(o.44&&!o.1N){B f=o.44.9Q();if(f.t&&f.d){1e=f.t}}o.V.6G(1e,1t)};F.lo=E(1e,1t){if(J(o.2R)&&o.2w!="4r"){o.1a.3R(o.2R,I);o.2R=2g}};F.dd=E(){B d=1Q 9t();o.fG=d.cC();B x=I;if(o.V.9R()&&v.1q.91!=1){o.V.6V();x=K}if(v.1k.91==0){if(o.V.a8()&&v.1k.eh==1){o.V.9a();x=K}}if(v.7l==1&&J(v.vL)&&!J(3n.7l)){7l(v.vL);x=K}if(!x){F.ah()}};F.vf=E(){if(o.V.9R()){o.V.6V()}};F.ah=E(){if(o.P.4V()=="5r"){F.3x()}G{F.2H()}7T(o.P.1e())};F.3R=E(eO,dy){if(eO<o.P.1t()){o.xC=eO;o.P.3R(eO);if(dy){o.V.3R(eO,o.P.1t())}o.fR=K;o.fb=o.P.1e();7T(o.fb)}};F.TX=E(1m,5c,w8){if(o.P.4V()=="5r"&&o.jm!=\'7Y\'){3x();if(o.2y&&w8){o.V.8B()}}2z.6f(1m,5c)};F.ir=E(){B x=o.P.9B();if(J(v.am)){x=v.am}if(x!=\'\'){B fr=2z.6f(x,\'ee\');fr.6j()}};F.6R=E(){B 1e=o.P.1e();B 1t=o.P.1t();o.V.fW(1e,1t)};F.kQ=E(){B 1e=o.P.1e();B 1t=o.P.1t();if(!o.fR){o.V.fW(1e,1t)}G{o.P.1e()!=o.fb?o.fR=I:\'\'}if((v.ga==1||v.w0==1)&&1t>0){B x=1e/1t;gh("mo","2H 25%",x,0.25);gh("lW","2H 50%",x,0.50);gh("lX","2H 75%",x,0.75)}if(v.9x==1){if(o.2x&&1e>0){B z=I;if(v.vp==1){if(!o.P.5B()){z=K}}if(1e==o.1e&&!z){o.aL++;if(o.aL==v.kx*(3m/o.k3)){o.1a.fB()}}G{o.aL=0}o.1e=1e}}if(v.2o==1&&v.Ub!=1){vN(1e,1t)}if(v.6T==1&&v.vh>-1){Uf(1e,1t)}if(o.7j){7T(1e)}if(o.51&&v.d0==1){o.44.mW(1e,1t)}if(J(v.3Z)){if(v.3Z>0&&1e>v.3Z){o.P.hc();o.1a.8J();v.1N>0?o.2R=v.1N:\'\';o.1a.ik()}}};E gh(x,y,t,p){if(!J(o.fJ[y])){if(t>p){9F(x,y,K)}}};F.fB=E(){!o.P.5B()?o.2R=o.P.1e():\'\';B wr=o.V.a8();o.aL=0;js("9x");o.P.9x();wr&&v.1k.eh==1?o.V.lb():\'\'};F.wS=E(){o.V.fW(0,0);o.V.l0(0,0);o.1a.6G(0,0);o.V.94()};F.lj=E(){B 1e=o.P.cS();B 1t=o.P.1t();o.V?o.V.l0(1e,1t):\'\'};F.ik=E(){js("Uj");if(v.ao==1){if(o.2w=="4r"){F.8J()}if(v.1N>0){o.1a.3R(v.1N)}F.2H()}G{if(o.P.5B()||o.2w=="4r"){F.8J()}G{v.wz==1?o.1a.3R((v.1N>0?v.1N:0),K):\'\'}o.V.8i();v.Ui==1?v.U9=1:\'\';if(8F("dW")||8F("bx")){}G{8M()}}};F.7A=E(){o.bk.dN.sY=2F;B 2E=I;B 1J=I;o.c5=K;2j(E(){o.c5=I},g2);1c(B x in o.7J){if(o.7J.2r(x)){o.7J[x].uP()}}3o{o.bS=K;if(o.1O.m0){o.1O.m0();o.7a=K}G if(o.1O.m8){o.1O.m8();o.7a=K}G if(o.1O.lZ){o.1O.lZ();o.7a=K}G if(o.1O.lT){o.1O.lT();o.7a=K}G if(o.1O.lS){o.1O.lS();o.7a=K}if(o.1y.6O&&v.oE==1&&o.5W&&!o.7a){B x=o.P.5i();if(x){if(x.U1){x.TZ();x.1r("U4",yi);o.P.t0();2E=K}}}}3j(e){1J=K;1C(e)}if(!o.7a&&!2E){F.nK()}if(!1J){if(o.7V){o.P.aO()}if(v.3O.mg==1){jD(K);o.4P=K}js("2y");9F("lV","7A",K)}};B dD;B 9e={x:0,y:0};E lx(e){o.7q=K;5N(dD);dD=8b(E(){o.7q=I;o.V.5n();9e={x:0,y:0};5N(dD)},3U);o.V.5n();e.7n();e.qX!=0?9e.x++:9e.x--;e.jQ!=0?9e.y++:9e.y--;if(e.U8!=0){if(9e.x>9e.y){if(e.qX>0){o.1a.3r(6N(v.1P)-v.3O.bc/10,"no")}G{o.1a.3r(6N(v.1P)+v.3O.bc/10,"no")}}G{if(e.jQ>0){o.1a.3r(6N(v.1P)+(o.1y.fr?-v.3O.bc/10:v.3O.bc/10),"no")}G{o.1a.3r(6N(v.1P)-(o.1y.fr?-v.3O.bc/10:v.3O.bc/10),"no")}}o.V.fe()}}E yi(){if(o.1y.6O){o.P.sZ();js("lR")}}F.nK=E(){if(o.bS){o.2y=K;o.V.7A();if(!o.7a){if(J(o.7t)){3o{H(o.7t,{\'X\':\'1u%\',\'Y\':\'1u%\',\'1g\':\'vK\',\'1d\':0,\'1j\':0,\'55\':"gg"})}3j(bp){}}H(o.1O,{\'X\':\'1u%\',\'Y\':\'1u%\',\'1g\':\'vK\',\'1d\':0,\'1j\':0,\'55\':"gg"});o.2S=o.1O.2c;o.4q=o.1O.2P;3o{1I.6u.C.6o=\'3v\';if(!J(o.1k)){1I.wk=E(e){e.7n()}}}3j(bp){}}if(v.ml==1){H(o.1O,{\'6i\':\'#3t\'})}if(o.oo){1l(o.oo)}7T(o.P.1e());o.bS=I}};F.8B=E(){jA=K;if(1I.vG){1I.vG()}G if(1I.w9){1I.w9()}G if(1I.v0){1I.v0()}G if(1I.wH){1I.wH()}G if(1I.wE){1I.wE()}G if(1I.wx){1I.wx()}if(!o.7a){F.nL(I)}};F.q4=E(x){B 2E=I;B bv=o.9I/x;if(J(o.7t)){3o{H(o.7t,{\'Y\':bv})}3j(bp){2E=K;1C("bw U6 U7")}}if(!2E){o.4I=x;o.8W=bv;if(o.4I>0){H(o.1E,{\'Y\':bv})}js("Y",bv)}if(o.2o){o.4q=bv;o.2o.2F()}};F.nL=E(x){if(jA||x){o.2y=I;if(!o.7a){if(J(o.7t)){3o{H(o.7t,{\'1g\':\'rd\',\'1d\':0,\'1j\':0,\'55\':\'we\'});H(o.7t,o.qv);H(o.7t,{\'X\':o.9i,\'Y\':o.fx})}3j(bp){}}H(o.1O,{\'X\':o.9i,\'Y\':o.fx,\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'55\':\'we\'});3o{1I.6u.C.6o=\'2G\';1I.wk=E(e){O K}}3j(bp){}}o.V.8B();if(o.oo){1i(o.oo)}if(v.ml==1){H(o.1O,{\'6i\':v.jd});if(v.dr==1){o.1O.C.6i=\'dr\'}G{H(o.1O,{\'6i\':v.jd})}}if(v.3O.mg==1){jD(I);o.4P=I}7T(o.P.1e());jA=I;js("lR");o.7a=I;o.c5=I}};F.4P=E(x){jD(x)};E jD(x){9e={x:0,y:0};if(x){2z.1r("nS",lx,K)}G{5N(dD);2z.5G("nS",lx,K)}}F.8J=E(){v.3H=0;o.V.3x();o.1a.wS();o.P.3r(v.1P);if(o.V.9R()){o.V.6V()}if(o.3G){F.4Y()}if(J(o.e8)){5N(o.e8);2m o.e8}7T(0);1C("2E");js("2E")};F.5J=E(x){if(J(o.3h)){if(o.3h!=x){o.3h=x;if(v.p7==1){o.3X=o.2v[x];if(o.51){4G.aC("ow",o.3X)}}o.P.5J(x);js("4i",o.2v[x]);o.V.kN(x)}}};F.eL=E(){o.V?o.V.eL():\'\'};F.8P=E(x){if(J(o.4J)){if(o.4J!=x){o.4J=x;o.P.8P(x);js("6q",x);o.V.xY(x)}}};F.cU=E(x){if(J(o.3C)){if(o.3C!=x){o.3C=x;o.7j=K;o.P.cU(x);js("2k",o.4E[x]);o.V.a6()}G{o.3C=-1;v.mT=0;o.7j=I;o.V.a6();J(o.2k)?o.4g.3k(o.2k):\'\';2m o.2k}}};F.9w=E(x){o.P.9w(x==o.dx?1:o.9g[x]);o.aA=x};F.yP=E(){7T(o.P.1e());n6()};E 7T(1e){if(o.7j&&J(o.3w)){B 2U=o.P.2U();if(2U){B x=o.3C;if(J(2U[x])){if(J(2U[x][1])){B t=2q(1e*10);if(J(2U[x][1][t])){B y=\'\';y=2U[x][0][2U[x][1][t]];if(!J(o.2k)){o.2k=1H(\'1R\');o.4g.1K(o.2k);n6()}if(o.V.jL()){H(o.2k,{"1g":"1T","2h":(v.dY*1)})}G{H(o.2k,{"1g":"1T","2h":(v.dY*1+v.2a.h*1)})}o.2k.1V=\'<bG C="\'+(v.x7==1?\'2f-1F:\'+wa(v.i0,v.i1):\'\')+\'-4j-6Q-cj-1n: Ug;1F:\'+(v.cO.R("#")==-1?\'#\':\'\')+v.cO+\';2J:\'+v.lI+\'px \'+v.lI*2+\'px;2L-6E:\'+v.vq+\'px;2p:0 0;2A-Y:1.8;46-eH:\'+v.iT+\'">\'+5b(y)+\'</bG>\';if(v.v8==1){if(o.2y){H(o.2k,{"46-2Z":((v.v5+((2q(v.eq)-1u)*v.iU/1u))+"px")})}G{H(o.2k,{"46-2Z":((v.iU+((2q(v.eq)-1u)*v.iU/1u))+"px")})}}j1=I}G{if(!j1&&J(o.2k)){o.2k.1V=\'\';j1=K}}}}}}}E n6(){if(o.2k){H(o.2k,{"1g":"1T","X":"1u%","2J-1d":"10%","2J-1W":"10%","1d":0,"1F":v.cO,"1X-bu":"6x","6Q-jw":"2L-6Q"});o.2k.TF="K";if(v.iF==1){H(o.2k,{"1X-8u":"4C 4C TW TS"})}G{H(o.2k,{"1X-8u":"1L"})}}}B dL=I;E w1(){if(!dL){if(J(v.6F)){if(v.6F!=\'\'){dL=K;B 3y=aX(v.6F);3y.aT=E(){dL=I;if(F.aR==4&&F.4V==4Q){vE(F)}G{v.6F=\'\'}};3y.mJ=E(e){dL=I;v.6F=\'\'};3y.8X()}}}}E vE(j){3o{B x=j.9m;B 2I=8U();2I=x.2M(\'\\n\');o.5F=[];if(2I[0].R("TQ")>-1){1c(i=0;i<2I.U;i++){if(2I[i].R(\'-->\')>-1&&2I[i].R(\':\')>-1){t1=np(2I[i].1B(0,2I[i].R(\'-->\')));t2=np(2I[i].1B(2I[i].R(\'-->\')+4,12));bo=\'\';if(i<2I.U-1){bo=2I[i+1];if(bo.R("3p")!=0){bo=v.6F.1B(0,v.6F.mR("/")+(bo.R("/")==0?0:1))+bo}}o.5F.4T({"t1":t1,"t2":t2,"1m":bo})}}o.c9=K}}3j(e){1C("Uk cq")}}E np(cA){B 22=cA.2M(\':\');B 4o=0;22.U==2?22.uj("cv"):\'\';22[0]!=\'cv\'?4o+=22[0]*iV:\'\';22[1]!=\'cv\'?4o+=22[1]*60:\'\';4o+=22[2].1B(0,2)*1;4o=4o+22[2].1B(2)*1;O 4o}B 7X;B b2;B f7;B 6s;B 43;E 8F(x){if(v["eC"+x+"ze"]>0&&o.51){B tb=4G.7M("jv"+x+"nW"+v.d);if(tb){B ct=1Q 9t();o.fG=ct.cC();if((ct.cC()-tb)/UD<v["eC"+x+"ze"]){O I}}}if(o.eD.R("bW")!=-1&&v.2o==1&&!o.b6&&v[x+\'s\']==1){if(x=="3F"&&J(v.3F)){if(v.3F!=""){if(o.dt){1C("aG");js("UE");43=[];o.5t="aG";B iI=v.3F.2M(" or ");if(iI.U>1){v.3F=iI[2T.7L(2T.7C()*iI.U)]}B 3F=v.3F.2M(" 9v ");o.kd=3F.U;o.kX=1;B 6J=(v.el==1&&J(v.ni)?v.ni:\'\').2M(" 9v ");B y={nl:"3F",24:6J[0],2C:[],xG:{xM:v.el,xO:v.mD,yM:v.mG,V:(v.mH==1?0:1),yB:(v.mw==1&&6J[0]!=\'\'?3g("mx"):"")},4v:3F[0],jl:I,fZ:v.fZ};2m v[x];v[x]=2g;o.2o=1Q jo();o.2o.Go(y);if(3F.U>0){3F.fc();v.3F=3F.cw(\' 9v \')}if(6J.U>0){6J.fc();v.ni=6J.cw(\' 9v \')}O K}G{2m v[x];v[x]=2g}}}if(x=="bx"&&J(v.bx)){if(v.bx!=""){if(o.dt){1C("dW");js("Ux");43=[];o.5t="dW";B 6J=(v.el==1&&J(v.xU)?v.xU:\'\');B y={nl:"bx",24:6J,2C:[],xG:{xM:v.el,xO:v.mD,yM:v.mG,V:v.mH,yB:(v.mw==1&&6J!=\'\'?3g("mx"):"")},4v:v.bx,jl:I,fZ:v.fZ};2m v[x];v[x]=2g;o.2o=1Q jo();o.2o.Go(y);O K}G{2m v[x];v[x]=2g}}}if(J(o.2o)||J(o.7b)){js("yu",x);O K}G{if(J(v[x])){if(v[x].8e().R(".")>-1){js("yu",x);o.1a.bP();x!="6S"?kA():\'\';7X=0;b2=0;f7=x;43=v[x].2M(" 9v ");6s=[];o.kd=43.U;o.kX=1;1c(B i=0;i<43.U;i++){43[i]=43[i].2M(" or ")}v[x+"dv"]=v[x];2m v[x];o.5t=x;o.2o=1Q jo();o.7b=1Q fi();if(v.ki==1){1c(B i=0;i<43.U;i++){B n=i==0?1:0;if(43[i].U>n){1c(B j=n;j<43[i].U;j++){B 56=5b(43[i][j]);6s[56]=1Q fi(K);6s[56].f9(56,x)}}}}o.7b.f9(5b(43[0][0]),x);O K}G{O I}}G{O I}}}G{O I}};E vN(x,d){if(J(o.5Q)&&v.ri==1){B y;1c(B i in o.5Q){if(o.5Q.2r(i)){if(!J(o.5Q[i].mP)&&J(o.5Q[i].1e)&&J(o.5Q[i].2o)){B z=o.5Q[i].1e.8e();if(z){if(z.R("%")>0){if(d>0){z=2q(z.1B(0,z.R("%")))*d/1u}G{z=-1}}G{z=2q(z)}if(x>=z){if(v.re>0&&z>-1){if(x-z>=v.re){z=-1}}if(z>-1){y=o.5Q[i].2o;v.6S=o.5Q[i].2o;if(8F("6S")){o.5Q[i].mP=K;1n}}}}}}}}};F.MZ=E(x){2m o.7b;1C("bW 3V");js("N0",o.5t);if(J(o.2o)){if(o.2x){o.P.3x();o.V.3x()}if(v.3H==0&&v.MX==1&&o.P.1e()==0&&o.P.1t()==0){v.3H=1;o.P.kf()}if((!o.2o.MW()||x.jl)&&o.jZ>0){1C("bW MT");o.2o.3Y();2m o.2o;o.2o=1Q jo()}o.jZ++;o.2o.Go(x)}G{1C("bW MV")}};F.N1=E(){js(\'N2\',o.5t);1C("bW 1J");o.kd--;f0()};F.f0=E(){f0()};F.N9=E(x){if(v[o.5t+"dv"]){1c(B i=0;i<3;i++){v[o.5t+"dv"]=v[o.5t+"dv"].2N(x+(i==0?\' 9v \':(i==1?\' or \':\'\')),\'\')}}};E f0(){if(43.U>0){if(b2<43[7X].U-1){o.2o?o.2o.rC():\'\';b2++;B 56=5b(43[7X][b2]);B bO=kY(56);if(bO==\'iE\'){o.7b=1Q fi();o.7b.f9(56,o.5t)}if(bO==\'1J\'){f0()}}G{bN()}}G{bN()}}E kY(56){B x=\'iE\';if(v.ki==1){if(6s[56]){B y=6s[56].8N();2E=K;if(y==\'3V\'){o.7b=6s[56];1C("bW Nb");6s[56].h3()}G{if(y==\'\'){x=\'ok\';o.7b=6s[56];6s[56].N8()}if(y==\'1J\'){x=\'1J\'}}}}O x}F.N7=E(x){43.vD(7X+1,0,[x]);jW(x)};F.N3=E(x){43[7X].4T(x);jW(x)};F.bN=E(x){bN(x)};E jW(x){if(v.ki==1&&6s){6s[x]=1Q fi(K);6s[x].f9(5b(x),o.5t)}}E bN(jI){B 2E=I;if(f7=="aG"){if(v.k9>0){if(o.kw>0&&o.kt>=v.k9){2E=K}}}if(43.U>7X+1&&!2E){o.2o.rC();7X++;o.kX++;b2=0;B 56=5b(43[7X][0]);B bO=kY(56);if(bO==\'iE\'){o.7b=1Q fi();o.7b.f9(56,f7)}if(bO==\'1J\'){bN(jI)}}G{kG();o.V.94();if(J(o.2o)){o.2o.3Y();2m o.2o}2m o.7b;43=[];b2=0;7X=0;js("MD",o.5t);f7=\'\';o.kt=0;o.kw++;if(o.5t=="aG"||(o.5t=="ew"&&v.eZ==1)||o.5t=="6S"){if(v.4v!=\'?\'){o.P.cL();if((o.2w=="4r"&&!o.ko&&o.1y.6O)||jI==\'jI\'){}G{o.1a.2H(1)}}}if(o.5t=="dW"){8M()}o.ko=I;2m o.5t}};F.kH=E(){B x=[\'aG\',\'ew\',\'dW\'];1c(B i=0;i<x.U;i++){if(J(v[x[i]+"dv"])){v[\'eC\'+x[i]+\'qn\']--;
4if(v[\'eC\'+x[i]+\'qn\']>0){v[x[i]]=v[x[i]+"dv"]}}}};F.jy=E(){kA();if(J(o.6T)){o.6T.3Y();o.6T=5o}o.6T=1Q Mx()};F.My=E(){kG();o.6T.3Y();o.6T=5o};E kA(){o.ad=1H("1R");o.1O.1K(o.ad);H(o.ad,{"X":"1u%","Y":"1u%","1g":"1T","1j":0,"1d":0,"2f":"#3t","1w":0.1});o.ad.C.55=3m};E 8a(){if(J(o.29)){1i(o.29);H(o.29,{"1w":v.gC})}};F.k8=E(){if(J(o.29)){1l(o.29);H(o.29,{"1w":0})}};F.8a=E(){8a()};E kG(){if(o.ad){o.1O.3k(o.ad);2m o.ad}};E qw(x){if(v.qG==1){1c(B i=0;i<6t.U;i++){if(6t[i].4d("id")!=v.id){6t[i].4d(\'62\')}}}fH=v.id}E kL(x){B y=5g.5f(x).U;if(y>0){x=kJ(x,y,\'\',-1)}O x}E kJ(x,y,p,j){if(J(x[\'1k\'])){x=x[\'1k\'];y=x.U}1c(B i=0;i<y;i++){if(J(x[i][\'id\'])){x[i][\'ai\']=x[i][\'id\']}x[i][\'id\']="x"+p+\'-\'+i+(J(x[i][\'id\'])?\'-\'+x[i][\'id\']:\'\');j==-1&&i==0?o.oX=x[i][\'id\']:\'\';x[i][\'eB\']=p;x[i][\'pP\']=j;x[i][\'fY\']=i;if(J(x[i][\'tU\'])){x[i][\'1U\']=x[i][\'tU\']}o.1z[x[i][\'id\']]=x[i];if(J(x[i][\'1k\'])){x[i][\'5S\']=x[i][\'1k\']}if(J(x[i][\'5S\'])){B z=5g.5f(x[i][\'5S\']).U;if(z>0){x[i][\'5S\']=kJ(x[i][\'5S\'],z,x[i][\'id\'],i)}}}O x}E tQ(){B x=[];if(J(v.4F)){if(v.4F.R("x-")!=0){1c(B y in o.1z){if(o.1z.2r(y)){if(o.1z[y].ai==v.4F){v.4F=y}}}}if(J(o.1z[v.4F])){x=o.1z[v.4F]}G{x=o.1k[0];if(v.4F==o.tV){o.2R=2g}}}G{x=o.1k[0]}1c(B i=0;i<10;i++){if(J(x[\'5S\'])){x=x[\'5S\'][0]}G{1n}}v.4F=x.id;if(v.4F==o.tV){x.1N=2g}O x}E 8M(){9F("3Z","8M",K);o.1a.kH();if(o.51&&v.d0==1){o.44.mW(0,o.P.1t())}if(o.V.j6()){if(v.1k.e0==1&&o.V.d3()){o.V.cW();if(o.2x&&o.1y.6O&&o.2w!="aH"){}}G{if(v.1k.ts==1&&!o.V.d3()){o.P.3Y();o.V.j4()}if(v.1k.sI==1){!o.V.a8()?o.V.9a():\'\'}8a();js("tY")}}G{8a();js("tY")}}E ky(){B kq=2T.7L(9t.as()/3m);B kp=(J(v.tw)?v.tw:0)+2q(o.P.1e());B 1M=0;o.1y.kb?1M=1:\'\';o.1y.6O?1M=2:\'\';o.1y.cJ?1M=3:\'\';o.1y.tx?1M=4:\'\';o.1y.tv?1M=5:\'\';B 1m=v.aq.2N("[kq]",kq);1m=1m.2N("[kp]",kp);1m=1m.2N("[Mz]",1M);B dJ=1I.1H("52");dJ.7S(\'2W\',1m);dJ.7S(\'Y\',\'4C\');dJ.7S(\'X\',\'4C\');o.1O.1K(dJ)}};B yC=E(1m){B 1m;B 4S;B iW;B 7G;B bD="";B kM;B 9P=I;B P;B 2B;o.8x=1;B km;B 2U=[];if(2V(1m)==\'6W\'){1m=5b(1m);if(1m.R("[{")==0){3o{1m=1m.2N(/9H\'qt/ig,\'"\');1m=5u.7y(1m)}3j(e){dF.1C(e);1m="uN 5u"}}if(1m.R("#2")==0){1m=aj(1m)}if(1m.R("#3")==0&&1m.R(v.fL)>0){1m=dq(1m)}if(1m.R("#0")==0){1m=jP(1m)}if(1m.R(".a5")>0||1m.R("MF.6w")>0){B 3y=aX(1m);3y.aT=E(){if(F.aR==4&&F.4V==4Q){9a(F)}G{4z("1k cp ej or mz ii")}};3y.mJ=E(e){4z("1k cp ej or mz ii")};3y.8X();km=K}}o.4g=1H("1R");H(o.4g,{"1g":"1T","X":"1u%","Y":"1u%"});o.1O.1K(o.4g);if(v.xL==1){3E(o.4g);v.2a.1l=0}if(!km){kr()}E 9a(x){if(x.9m){B y=x.9m;if(y.R("#2")==0){y=aj(y)}if(y.R("#3")==0&&y.R(v.fL)>0){y=dq(y)}y=y.2N(/(\\r\\n\\t|\\n|\\r\\t)/gm,"");3o{1m=5u.7y(y)}3j(e){4z("MG 5u")}if(J(1m.aJ)){1m=MN(1m)}if(o.V){if(v.1k.h0==1){if(!o.V.a8()){o.V.lb()}}}kr();2F();js("1k")}}E kr(){1m=o.1a.6h(1m);1m&&1m!=\'?\'?6h(1m):\'\'}E 4z(x){1C("cq: "+x);B y=K;if(4S){if(4S.U>0){7G++;y=7G>4S.U-1;if(!y){B z=I;if(o.2w!=jz(4S[7G])||o.2w!=\'aH\'){if(o.2x){o.1a.8J();z=K}}1C("MO MP");6h(\'or\');P.2H()}G{if(v.9x==1){y=I;sL()}}}}if(y){v.ga==1?9F("1J","cq",K):\'\';if(v.us&&!o.fT){if(v.MM==1&&x=="cp ej"){o.jj.a5(v.ML)}G{o.jj.a5("cq: "+x)}}o.fT=K;o.2x?o.V.3x():\'\';js("1J",x)}};E sL(){1C("cq fB MH");J(o.fF)?4w(o.fF):\'\';o.fF=2j(E(){o.1a.fB()},v.kx*3m)}F.4z=E(){4z(P.nd())};F.8i=E(){1C("ik");B x=I;if(P.1t()>0&&!o.5z){B 1e=o.sk;if(1e+10<P.1t()){1C(\'MJ (lE)\');js("lE");P.2H();P.3R(1e);x=K}}if(!x){o.1a.ik();js("3Z")}};F.ax=E(){v.kg==1?o.1a.k8():\'\';o.V.2H();if(!9P){9P=K;2j(E(){o.P.fo()},4D)}if(v.MK==1&&J(v.mB)){if(v.mB.U>5){mv();5N(kM);kM=8b(mv,v.so*3m)}}js("2x")};F.fo=E(){if(v.uo==1){if(o.1a.fo()){o.eX=P.ns();o.V.6L()}}};F.9X=E(){o.V.3x()};F.8Z=E(){};F.fC=E(){1C("Nc")};F.fV=E(){1C("l9");o.1a.l9();o.fb?js("5K",o.fb):\'\'};F.9N=E(){1C("l8");o.1a.l8()};F.9f=E(){1C("6G",P.1t());o.1a.6G(P.1e(),P.1t());js("1t",P.1t());if(J(o.hW)){o.1a.8P(o.hW);2m o.hW}};F.an=E(){};F.7g=E(){1C("bP");o.1a.bP();js("9V")};F.eN=E(){};F.8Z=E(){o.1a.94();js("1e",P.1e());if(v.1D.on==1&&J(v.tk)&&P.1e()>0){if(!J(o.2B)){o.2B=1H("1R");v.1D=3T(v.1D,\'2p\',\'2p\');H(o.2B,{"2f":"#"+v.1D.5a,"2L":v.1D.2L+"px 5q #"+v.1D.b3,"5A":"3I","1g":"1T","X":v.1D.X});if(v.1D.tr>0){H(o.2B,{"6Q-8u":"fI 4C "+v.1D.tr+"px 4a(0,0,0,0.5)"})}if(v.1D.1g=="1j-1d"||v.1D.1g=="1d"){H(o.2B,{"1j":v.1D.4M-v.1D.5O,"1d":v.1
4D.3e-v.1D.3B})}if(v.1D.1g=="1j-1W"||v.1D.1g=="1W"){H(o.2B,{"1j":v.1D.4M-v.1D.5O,"1W":v.1D.3B-v.1D.3e})}if(v.1D.1g=="2h-1d"){H(o.2B,{"2h":v.1D.5O-v.1D.4M,"1d":v.1D.3e-v.1D.3B})}if(v.1D.1g=="2h-1W"){H(o.2B,{"2h":v.1D.5O-v.1D.4M,"1W":v.1D.3B-v.1D.3e})}!o.5M&&v.1D.1l==1?1l(o.2B):\'\';o.1O.1K(o.2B)}if(!J(2B)){2B=1Q mE(v.tk,o.2B,K);o.2B.1r("24",sm,I)}}};F.lc=E(){if(o.2w=="4r"){P.hi()}};F.hi=E(){if(o.2w=="4r"&&P){O P.3V()}G{O K}};F.j9=E(){O P.j9()};F.ju=E(){O P.ju()};F.5J=E(x){1C("sU",x);if((o.2w=="aH"||(o.2w=="1S"&&(v.ak==0||7P()<2))||(o.2w=="1Y"&&(v.ap==0||9D()<2)))&&J(o.4W[x])){B 1e=F.1e();o.2R=1e;o.1a.3R(1e,I);6h(o.4W[x]);o.1a.2H()}if(o.2w=="1S"&&v.ak==1&&7P()>1){P.yJ(x)}G if(o.2w=="1Y"&&v.ap==1&&9D()>1){P.yR(x)}G if(o.2w=="4r"){P.v6(x)}};F.cU=E(x){if(J(o.3w[x])){1C("7T",x);o.3C=x;if(o.51&&v.mN==1){if(J(o.4E[x])){4G.aC("mL",o.4E[x])}}mU()}};F.9w=E(x){1C("t3",x);P.hn(x)};F.t0=E(){if(o.5W&&o.7j){P.xJ(o.3w[o.3C],o.4E[o.3C])}};F.sZ=E(){P.xH()};F.8P=E(x){1C("NH",x);if(o.bQ.U>0){B 1e=F.1e();o.2R=1e;o.1a.3R(1e,I);6h(o.bQ[x]);o.1a.2H()}G{if(o.2w=="1S"&&v.e7==1){P.xF(x)}G if(o.2w=="1Y"&&v.hZ==1){P.yE(x)}}};F.nP=E(){B x=o.2v[o.3h];x==2g?x=\'\':\'\';B y=eg()&&v.dX==1;O(y?\'\'+3g("2G")+\' \':\'\')+x};F.nQ=E(){B x=o.6d[o.4J];x==2g?x=\'\':\'\';O x};F.eg=E(){O eg()};E eg(){B x=I;if(o.2w=="4r"){x=P.2G()}if(o.2w=="1S"&&v.ak==1&&7P()>1&&v.dX==1){x=P.2G()}if(o.2w=="1Y"&&v.ap==1&&9D()>1){x=P.2G()}O x}E 7P(){if(o.2w=="1S"){O P.7P()}G{O 0}}E 9D(){if(o.2w=="1Y"){O P.9D()}G{O 0}}F.5n=E(x){if(o.2w=="4r"){P.5n()}};F.2Z=E(){O P.2Z()};F.9x=E(){1C(\'9x\');o.aL=0;v.4A=1;6h(1m)};if(!J(o.29)){kh()}if(J(v.29)){if(v.29!=\'\'){8D(v.29,o.29,v.j5)}G{2m v.29}}E 8N(){bD=P?P.4V():\'\'}E tm(1m){4S=1m.2M(" or ");1c(B i=0;i<4S.U;i++){if(4S[i].R(" 9v ")>-1){iW=4S[i].2M(" 9v ");4S[i]=iW[7C(0,iW.U-1)]}}7G=0}E tn(){8N();if(bD=="5r"||o.5z){o.1a.kQ()}if(bD!=""){o.1a.lj()}}E kh(){if(o.29){o.1O.3k(o.29)}o.29=1H("1R");H(o.29,{"3I-2C":"1L","1w":v.gC,3M:"1w 0.5s"});v.NI==1?o.29.C.55=1u:\'\';if(v.sQ==1){H(o.29,{\'X\':v.sP,\'Y\':v.kV});B x={"2p":v.sS};x=3T(x,\'2p\',\'2p\');if(v.bK.R("1W")>-1){a3=1;H(o.29,{\'1g\':\'1T\',\'1W\':x.3B-x.3e})}G{H(o.29,{\'1g\':\'1T\',\'1d\':x.3e-x.3B})}if(v.bK.R("1j")>-1){H(o.29,{\'1j\':x.4M-x.5O})}if(v.bK.R("2h")>-1){H(o.29,{\'2h\':x.5O-x.4M})}if(v.bK=="1W"||v.bK=="1d"){H(o.29,{\'1j\':\'50%\',\'2p-1j\':-v.kV/2+x.4M-x.5O})}if(v.sV>0){H(o.29,{\'2L-6E\':v.sV})}if(v.k6!=-1){H(o.29,{\'2f\':v.k6})}}G{H(o.29,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':\'1u%\'})}o.1O.1K(o.29)}E 6h(x,y){if(x.R(\'{\')>-1&&x.R(\'}\')>-1&&x.R(v.jX)>-1){B z=x.2M(v.jX);o.bQ=[];1c(B i=0;i<z.U;i++){o.6d[i]=z[i].1B(z[i].R("{")+1,z[i].R("}")-1);o.bQ[i]=z[i].1B(z[i].R("}")+1);if(J(v.cl)){if(v.cl==o.6d[i]){o.4J=i}}}x=o.bQ[o.4J]}x&&x.U>2?tm(x):\'\';B ft=o.2w;if(4S.U>0){o.2w=jz(4S[7G]);B cD=I;if(J(y)){cD=K}1m=4S[7G];if(!cD&&x!=\'x\'&&P&&o.2w==ft&&(ft=="aH"||ft=="bn"||ft=="1S")){P.2W(4S[7G])}G{k5();th(4S[7G])}if(o.dx){if(o.aA!=o.dx){P.hn(o.9g[o.aA])}}}5N(o.k1);o.k1=8b(tn,o.k3);if(J(v.2k)){if(v.2k!=\'\'){ce(v.2k)}}}E jz(x){B 1M="aH";if(x){if(x.R(".uz")>0){1M="1S"}G if(x.R(".uB")>0){1M="1Y"}G if(x.R(".df")==x.U-4){1M="df"}G if(x.R(\'4r.6w/\')>-1||x.R(\'jT.be/\')>-1){1M="4r";if(v.kj==1){B y=\'7u://52.4r.6w/vi/\'+mn(x)+\'/\';ta(y+\'ti.gZ\',E(z){z>1u?v.29=y+\'ti.gZ\':v.29=y+\'QN.gZ\';v.4A==1||9P?\'\':8D(v.29,o.29,v.j5)})}}G if(x.R(\'bn.6w/\')>-1){1M="bn"}}o.5W=1M=="aH"||1M=="1S"||1M=="1Y";O 1M}E ta(1m,tf){B 52=1Q NC();52.aT=E(){tf(F.Y)};52.2W=1m}E th(x){o.2w=jz(x);o.lJ=I;if(o.5W){P=1Q mE(x,o.4g,I)}if(o.2w=="4r"){P=1Q zB(x,o.4g)}if(v.bn==1&&o.2w=="bn"){P=1Q ND(x,o.4g)}if(o.2w=="df"){P=1Q NE(x)}o.V?o.V.yh():\'\';B t=0;if(J(v.1t)){if(o.44&&v.d0==1&&!o.1N){t=o.44.9Q().t}2j(E(){o.1a.6G(t,v.1t)},1u)}}E k5(){if(P){P.3Y();2m P;P=5o;bD="8v"}if(2B){2B.3Y();2m 2B;2B=2g;o.1O.3k(o.2B);o.2B=2g}};F.3Y=E(){k5()};F.6h=E(x,y){6h(x,y)};F.8D=E(x){8D(x,o.29,v.j5)};F.2H=E(){if(P){if(o.5z){o.4X.2H()}G{P.2H();v.kg==1?o.1a.k8():\'\'}if(J(2B)){2B.2H()}}G{2j(F.2H,4D)}};E sm(W){W.oZ();2z.W?2z.W.5l=K:\'\';B 22=P;P.lm(K,o.2B);2B.lm(I,o.4g);P=2B;2B=22;P.2H();2B.2H();js("1D")}F.k0=E(){if(J(o.2B)){if(v.1D.1l==1){1l(o.2B)}G{if(v.1D.1g.R("2h")>-1){H(o.2B,{"2h":v.1D.5O-v.1D.4M-v.2a.h})}}}};F.k2=E(){if(J(o.2B)){if(v.1D.1l==1){1i(o.2B)}G{if(v.1D.1g.R("2h")>-1){H(o.2B,{"2h":v.1D.5O-v.1D.4M})}}}if(v.2a.kv){v.2a.kv=I;o.V.pq(1)}};F.sp=E(){if(J(o.2B)){6l(o.2B)?1l(o.2B):1i(o.2B)}};F.eU=E(){if(o.5W&&o.59){P.59()}};F.aO=E(){if(o.5W&&o.7r){P.7r()}};F.hm=E(){if(P){ob(0);P.hm()}};F.cL=E(){P.cL()};F.3x=E(){if(o.5z){o.4X.3x()}G{P?P.3x():1C("NK")}if(J(o.2B)){2B.3x()}};F.hc=E(){o.1a.3R(0,I);J(o.29)?o.1a.8a():\'\';6h(\'x\')};F.ah=E(){P?P.ah():\'\'};F.3R=E(x){if(P){if(o.5z){o.4X.3R(x)}G{P.3R(x)}}};F.4Y=E(){if(P){P.4Y();o.5z?o.4X.4Y():\'\'}};F.6e=E(){if(P){P.6e();o.5z?o.4X.6e():\'\'}};F.3r=E(x){P?P.3r(x):\'\';if(o.5z){o.4X.3r(x)}};F.ho=E(){O P?P.ho():I};F.5B=E(){O P?P.5B():I};F.4V=E(){O bD};F.8v=E(){B x=I;if(P){if(P.1e()>0){x=P.1e()==P.1t()}}O x};F.1e=E(){B x=0;if(P){x=P.1e();if(o.5z){B y=o.4X.6y();y?x=y:\'\'}G{if(P.1t()>0&&x!=P.1t()){o.sk=x+0.NR}}O x}G{O 0}};F.1t=E(){B x=0;if(P){x=P.1t();x==0&&J(v.1t)?x=v.1t*1:\'\';if(o.5z){B y=o.4X.6G();y?x=y:\'\'}}O x};F.cS=E(){O P?P.cS():0};F.NS=E(){kh()};F.kf=E(){if(o.5W){P.3H()}};F.1G=E(x){if(bC(x).R(":")>0){B y=x.2M(":");B z0=o.2S/o.4q;B z=y[0]/y[1];if(z0!=z){if(o.5W){if(v.uL==1){H(P.5i(),{\'4s-dB\':\'eF\'})}G{H(P.5i(),{\'4s-dB\':\'3i\'})}}B w2=o.4q*z;B x2=w2/o.2S;B h2=o.2S/z;B y2=h2/o.4q;if(x2<1){o.8x=6N(x2);H(o.4g,{"2O":"3f("+o.8x+")"})}G{o.8x=6N(y2);
4H(o.4g,{"2O":"3c("+o.8x+")"})}o.eI=x}}G{o.8x+=6N(x);H(o.4g,{"2O":"1G("+o.8x+")"})}};F.sh=E(){if(o.5W){H(P.5i(),{\'4s-dB\':\'oF\'})}o.8x=1;H(o.4g,{"2O":"1G(1)"});2m o.eI};F.NU=E(){B x=2g;J(o.3w)?J(o.3w[o.3C])?x=o.3w[o.3C]:\'\':\'\';O x};F.9B=E(){O 9B()};E 9B(){O 4S.U>0?4S[7G]:\'\'};F.5i=E(){O P.5i()};F.ce=E(x){ce(x)};E ce(x){if(x!=\'\'){B 1N=0;B jx=\'\';o.3w=x.2M(",");o.4E=[];o.3C=-1;if(p6()&&v.mN==1){if(4G.7M("mL")!=5o){jx=4G.7M("mL")}}1c(B i=0;i<o.3w.U;i++){if(o.3w[i].R("[")==0&&o.3w[i].R("]")>1){o.4E[i]=o.3w[i].1B(o.3w[i].R("[")+1,o.3w[i].R("]")-1);o.3w[i]=o.3w[i].1B(o.3w[i].R("]")+1)}G{o.4E[i]=o.3w[i].1B(o.3w[i].mR("/")+1);o.4E[i]=o.4E[i].1B(0,o.4E[i].mR("."))}if(o.3w[i].R("#2")==0){o.3w[i]=aj(o.3w[i])}if(J(v.sG)){if(v.sG==o.4E[i]){1N=i;o.3C=i}}if(jx!=\'\'){if(jx==o.4E[i]){1N=i;o.3C=i}}}J(o.V)?o.V.a6():\'\';if(v.mT==1){o.3C=1N;mU()}}G{o.1a.g3()}}E mU(){if(J(o.3w[o.3C])){if(o.3w[o.3C].R(".")>-1){B 1m=o.3w[o.3C];B 3y=aX(1m);3y.aT=E(){if(F.aR==4&&F.4V==4Q){o.7j=K;sw(1m,F.9m)}G{fy("jb")}};3y.mJ=E(e){fy("jb")};3y.8X()}}}E fy(x){1C("2k cp ej or mz ii");if(o.4E[o.3C].R(3g("jb"))==-1){o.4E[o.3C]=o.4E[o.3C]+\' (\'+3g(x)+\')\'}o.3C=-1;o.7j=I;if(o.NM){o.V.a6()}if(J(o.2k)){o.4g.3k(o.2k);2m o.2k}}E sw(1m,x){if(1m.R(\'.cA\')>-1||1m.R(\'.sC\')>-1||1m.R(\'.iu\')>-1||1m.R(\'.sB\')>-1){B l=o.3C;2U[l]=5g();2U[l][0]=8U();2U[l][1]=8U();B 2I=8U();2I=x.2M(\'\\n\');B my=1;B t1=0;B t2=0;3o{B bz=(J(v.sA)?v.sA:0);if(1m.R(\'fc=\')>0){bz=1m.1B(1m.R(\'fc=\')+6)*1}1c(i=0;i<2I.U;i++){if(1m.R(\'.cA\')>-1||1m.R(\'.sB\')>-1){if(2I[i].R(\'-->\')>-1&&2I[i].R(\':\')>-1){t1=eJ(2I[i].1B(0,2I[i].R(\'-->\')))*1+bz;t2=eJ(2I[i].1B(2I[i].R(\'-->\')+4,12))*1+bz;2U[l][0][t1]=\'\';1c(B j=t1;j<t2;j++){2U[l][1][j]=t1}my++}G{if(2I[i]!=\'\'&&2I[i].U>1&&2I[i]!=my){2U[l][0][t1]+=(2U[l][0][t1]!=\'\'?\'<br>\':\'\')+2I[i]}}}if(1m.R(\'.sC\')>-1||1m.R(\'.iu\')>-1){if(2I[i].R(\'NO:\')>-1){t1=eJ(2I[i].1B((1m.R(\'.iu\')>-1?2I[i].R(\'=0\')+3:12),12))*1+bz;t2=eJ(2I[i].1B((1m.R(\'.iu\')>-1?2I[i].R(\'=0\')+14:23),10))*1+bz;B p=\'\';if(2I[i].R(\'0,,\')>0){p=2I[i].1B(2I[i].R(\'0,,\')+3)}G{if(2I[i].R(\'ut,\')>0){p=2I[i].1B(2I[i].R(\'ut,\')+6)}}if(2U[l][0][t1]!=2g){2U[l][0][t1]+=\'\\n\'+p}G{2U[l][0][t1]=p}2U[l][0][t1]=2U[l][0][t1].2N(/{.*?}/,\'\');2U[l][0][t1]=2U[l][0][t1].2N(/\\\\\\\\N/,\'\\n\');1c(B j=t1;j<t2;j++){2U[l][1][j]=t1}}}}o.V.a6()}3j(e){fy("1J")}}G{fy("1J")}}F.2U=E(){O 2U};E mv(){B 3y=aX(v.mB+\'?1m=\'+4S[7G]);3y.aT=E(){if(F.aR==4&&F.4V==4Q){if(F.9m){v.1U=F.9m;o.1a.8L(\'1U\')}}};3y.8X()}};E eJ(cA){B 22=cA.2M(\':\');B 4o=0;22.U==2?22.uj("cv"):\'\';22[0]!=\'cv\'?4o+=22[0]*iV:\'\';22[1]!=\'cv\'?4o+=22[1]*60:\'\';4o+=22[2].1B(0,2)*1;4o=4o*10+22[2].1B(3,1)*1;O 4o}B mE=E(1m,1E,1D){B 1o=1H("4N");if(v.Nl==1){B aZ=1H("bw");4L(aZ,{"rm":"no","p5":"K","qV":"K","2W":""});H(aZ,{"1g":"1T","X":"1u%","Y":"1u%","2L":0});1E.1K(aZ);B uJ=2z.8b(E(){if(aZ.dN.1I.aR==="Nm"){2z.5N(uJ);H(aZ.ma.6u,{"2J":0,"2p":0});aZ.ma.6u.1K(1o)}},1u)}G{1E.1K(1o)}B 1S;B 4n=I;B lr=I;B 9l=I;B 1Y;B 7m=I;B 6n=I;B 8C=I;B 7p=0;B 1J;B Nj;B 6k=I;B yA=I;B jH=-1;B cn=-1;B nb;H(1o,{\'X\':\'1u%\',\'Y\':\'1u%\',\'4s-dB\':\'oF\',\'3M\':"iL 0.1s 2D",\'b5-Y\':\'2G\',\'6C-Y\':\'1L\',\'b5-X\':\'2G\',\'6C-X\':\'1L\'});if(v.uL==1){H(1o,{\'4s-dB\':\'eF\'})}if(v.uO==1&&o.1y.2n){4L(1o,{\'Ni\':\'1\'})}4L(1o,{\'2W\':1m,\'x-4j-59\':\'qT\'});if(!o.1y.tv){4L(1o,{\'3H\':(v.3H==1&&v.4A==0?\'aY\':\'1L\')})}lz();if(1D){1o.4A=K;1o.3G=K}if(v.ao==1){}if(v.nm==1){H(1o,{"3M":"iL 0.3s 2D"})}if(1m.R(".uB")>0&&o.bd.R("7i")!=-1){6n=K;B nt=I;B nq=I;if(q6()){v.3H==1||v.4A==1||v.nj==1?j2(I):\'\'}G{1C("7i cp Ne")}}G if(1m.R(".uz")>0&&o.bd.R("6X")!=-1){4n=K;3o{if(J(5H)){if(!5H.Nf()||(o.1y.5y&&v.uD==1)){4n=I}G{v.3H==1||v.4A==1||v.uF==1?cf(I):\'\'}}G{4n=I}}3j(1J){4n=I}}if(o.1y.tv&&v.4A==1&&!4n&&!6n){2j(E(){o.1a.al()},1u)}E j2(x){1C("7i");v.nj=1;B iG={cF:60};if(J(v.aS)){if(J(v.aS.cF)){if(v.aS.cF>9L){v.aS.cF=9L}}if(2V v.aS=="4s"){1c(B 1h in v.aS){iG[1h]=v.aS[1h]}}}1Y=9Z.9Y().cD();js("1Y",1Y,1);1Y.Ng().Nh((v.tG==1&&!1D));1Y.Nn(1o,1m,(v.4A==1||1D||x));1Y.Np(iG.cF);1Y.Nw(iG.cF);1Y.Nx(I);1Y.Ny(I);if(v.tE==1){1Y.Nv(2g,K)}if(v.nv==1){1Y.9O("7Y",I);1Y.9O("4N",I)}1Y.on(9Z.9Y.2C.Nu,E(1A){if(!nt){1C("7i qs");B q=rB();rD();8C=1Y.Nq();8C?1C("qq"):\'\';if(v.ap==1){if(v.nv==1||q>0){o.3h=q;1Y.9O("7Y",I);1Y.9O("4N",I)}G{o.3h=1Y.jp("4N").U-1}o.V.af(o.3h);1Y.jg("4N",o.3h);1Y.jg("7Y",o.3h)}o.1a.al();nt=K}});1Y.on(9Z.9Y.2C.Nr,E(1A){if(!nq){B 9b=2q(o.4J);if(9b>0&&v.hZ==1){1Y.yG(1Y.mq("7Y")[9b])}nq=K}});1Y.on(9Z.9Y.2C.Ns,E(1A){if(8C){o.1a.6G(1Y.1e(),1Y.1t())}});1Y.on(9Z.9Y.2C.Nt,E(1A){1Y.Mv(-1)});1Y.on(9Z.9Y.2C.Mu,E(1A){if(1A.Lu=="4N"&&1A.Lv!=1A.tX&&v.ap==1){o.3h=1A.tX;o.V.af(o.3h);1C("7i qy "+o.3h)}});1Y.on(9Z.9Y.2C.Lw,E(1A){if(J(1A.nr)){if(1A.nr.1M=="Lt"){js("ql",1A.nr.1m)}}});1Y.on(9Z.9Y.2C.qz,E(1A){dF.1C(1A);o.ng=1A;if(1A.1J=="Ls"){1J="7i "+1A.1J+": "+1A.W.ds+", "+1A.W.W;1C(1J);o.P.4z()}G if(1A.1J=="Lo"||1A.1J=="Lp"){1J="7i "+1A.1J+" 1J: "+1A.W;1C(1J);o.P.4z()}G if(1A.1J=="Lq"||1A.1J=="Lr"){1J="7i "+1A.1J+" 1J: "+1A.W;1C(1J);o.P.4z()}G if(1A.1J=="am"){1J="7i ca lu 1J Lx";1C(1J);o.P.4z()}});7m=K}E cf(x){1C("6X");B iA={Ly:(v.tT==1&&!1D),LF:(v.3H==1||v.4A==1||1D||x),dU:60,pZ:60,LH:3,LI:qg,LE:qg};if(v.qe==1){iA[\'LD\']=E(3y,1m){3y.Lz=K}}if(J(v.8O)){if(J(v.8O.dU)){if(v.8O.dU>9L){v.8O.dU=9L}v.8O.pZ=v.8O.dU}if(2V v.8O=="4s"){1c(B 1h in v.8O){iA[1h]=v.8O[1h]}}}1S=1Q 5H(iA);js("1S",1S,1);1S.qQ(1m);1S.LB(1o);1S.on(5H.7F.LC,E(){1C("6X qs")});1S.on(5H.7F.Ln,E(W,1A){!1D?o.1a.al():\'\'});1S.on(5H.7F.Lm,E(W,1A){if(!1D&&v.ak==1&&7P()>1){s5();o.V.af(o.3h)}});1S.on(5H.7F.L5,E(W,1A){if(!1D&&v.ak==1&&7P()>1){o.3h=1S.mm;o.V.af(o.3h);1C("6X qy "+o.3h)}});1S.on(5H.7F.L6,E(W,1A){if(!1D){if(1A.es.7w!=8C){8C=1A.es.7w;o.V.6L()}8C=1A.es.7w;8C?1C("qq"):\'\'}o.3h=1S.mm;o.V.af(o.3h)});1S.on(5H.7F.La,E(W,1A){if(J(1A.qk)&&!1D){js("ql",1A.qk.KZ)}lr=K});1S.on(5H.7F.KY,E(W,1A){js("KU",1A,1)});1S.on(5H.7F.KV,E(W,1A){!1D&&v.e7==1?rZ():\'\'});1S.on(5H.7F.KW,E(W,1A){!1D&&v.e7==1?rR():\'\'});1S.on(5H.7F.qz,E(W,1A){v.1C==1?dF.1C(1A):\'\';o.n4=1A;if(1A.ca){8w(1A.1M){1p 5H.qN.KX:if(v.qK==1){1C("Lb");B 5r=o.2x;!1D&&5r?o.1a.3x():\'\';o.1a.8a();7p=1;nc(5r)}G{1J=1A.es;1S.9W();if(!1D){o.P.4z()}}1n;1p 5H.qN.Lj:qc();1n;7c:1J="6X ca 1J, 9W";1S.9W();!1D?o.P.4z():\'\';1n}}G{1C("6X ",1A.1M,1A.es,(1A.iP?1A.iP.i3:\'\'));js("Ll",(1A.iP?1A.iP.i3:\'\'));if(7p>0){7p=2;nc()}}});9l=K}E nc(x){if(x||o.2x||v.4A==1||v.qC==1){4w(nb);nb=2j(qH,v.qF*3m)}}E qH(){if(7p>0){1C("Li")}if(7p==1){1S.qQ(1m)}if(7p==2){1S.9W();cf(K);1o.2x()}}B i4=0;B i7=0;E qc(){B as=lH.as();if(!i4||(as-i4)>g2){i4=lH.as();1C("6X ca P 1J, 3o to pY");1S.pM();1S.ra();e6()}G{if(!i7||(as-i7)>g2){i7=lH.as();1C("6X ca P 1J, 3o to pY");1S.Lh();1S.pM()}G{1C("6X ca P 1J, lE Le")}}}1o.1r(\'Lf\',pX);1o.1r(\'1J\',m6);1o.1r(\'8v\',8i);1o.1r(\'2x\',ax);1o.1r(\'62\',9X);1o.1r(\'y9\',8Z);1o.1r(\'fR\',fC);1o.1r(\'yU\',fV);1o.1r(\'xW\',9N);1o.1r(\'xZ\',an);1o.1r(\'9V\',7g);1o.1r(\'y5\',9f);1o.1r(\'y7\',eN);1o.1r(\'Lg\',q7);1o.1r(\'yT\',lY);1o.1r(\'zI\',lU);E pX(){if(!4n&&!6n){!1D?o.1a.al():\'\'}}
4E m6(){if(!4n&&!6n){if(1o.1J){1C(1o.1J,1o.1J.i3,1o.1J.ds);B ek=1o.1J.i3;if(ek==1){1J="LK"}if(ek==2){1J="lu"}if(ek==3){1J="d1"}if(ek==4){1J="cp ej"}1C("Mf cq: ",1J)}4z()}}E 4z(){!1D?o.P.4z():\'\'}E 8i(){!1D?o.P.8i():\'\'}E ax(){if(4n&&7p>0){}G{!1D?o.P.ax():\'\'}}E 9X(){!1D?o.P.9X():\'\'}E 8Z(){!1D?o.P.8Z():\'\';if(cn>-1){if(6y()>cn){1o.62();cn=-1}}}E fC(){!1D?o.P.fC():\'\'}E fV(){!1D?o.P.fV():\'\'}E 9N(){if(1D){rh()}G{o.P.9N();ln();if(4n&&7p>0){7p=0;1C("Ma up");o.P.ax()}}}E ln(){if(1o.ly>0&&v.im==1){o.1a.q4(1o.yw/1o.ly)}}E 9f(){!1D?o.P.9f():\'\'}E an(){!1D?o.P.an():\'\'}E 7g(){if(4n&&7p>0){}G{!1D?o.P.7g():\'\'}}E eN(W){!1D?o.P.eN():\'\'}E q7(){o.1a.lo()}E q6(){B i2=2z.qI=2z.qI||2z.Mc;B e5=2z.rJ=2z.rJ||2z.Md;B hY=i2&&2V i2.hY===\'E\'&&i2.hY(\'4N/Mk; Mr="Ms.Mt,Mq.40.2"\');B rA=!e5||e5.lC&&2V e5.lC.Mp===\'E\'&&2V e5.lC.Mn===\'E\';O hY&&rA}E rB(){B q=0;if(!1D&&v.ap==1){B x=1Y.jp("4N");if(x.U>1){B y=\'\';1c(B i=0;i<x.U;i++){o.2v[i]=J(x[i].Y)?nx(x[i],v.rE):i;if(o.2v[i]==y){y=o.2v[i];if(J(x[i].ef)){o.2v[i]+=" "+2q(x[i].ef/3m)+\'lL\';o.2v[i-1]+=" "+2q(x[i-1].ef/3m)+\'lL\';y=\'\'}}G{y=o.2v[i]}if(J(v.3X)&&q==0){if(v.3X==o.2v[i]){q=i}}if(J(o.3X)){if(o.3X==o.2v[i]){q=i}}}o.2v[x.U]=3g("2G")}o.lJ=K}O q}E rD(){if(!1D&&v.hZ==1){o.4J=0;B x=1Y.mq("7Y");if(x.U>1){1c(B i=0;i<x.U;i++){o.6d[i]=i;if(J(x[i].1x)){o.6d[i]=lO(x[i].1x)}G{if(J(x[i].oS)){o.6d[i]=3g("6q")+" "+x[i].oS}}if(J(v.cl)){if(v.cl==o.6d[i]){o.4J=i}}}}1C("7i rQ ",o.4J);o.V.hb(o.4J)}}E s5(){if(!1D&&v.ak==1){B x=1S.f6;B q=0;if(x.U>1){1c(B i=0;i<x.U;i++){o.2v[i]=J(x[i].Y)?nx(x[i],v.s0):i;if(J(v.3X)&&q==0){if(v.3X==o.2v[i]){q=i}}if(J(o.3X)){if(o.3X==o.2v[i]){q=i}}}if(v.dX==1){o.2v[x.U]=3g("2G")}if(v.s6==1||q>0){1S.ja=0;if(v.eP=="7z"||(!o.1N&&v.3H==0)){1S.mp=q}G{if(v.eP=="cm"){1S.mr=q}}}G{v.dX==1?o.3h=1S.f6.U-1:o.3h=1S.LQ}}o.lJ=K}}E rZ(){if(!1D&&v.e7==1){B x=1S.yr;if(x.U>1){1c(B i=0;i<x.U;i++){o.6d[i]=J(x[i].ez)?lO(x[i].ez):i;if(J(v.cl)){if(v.cl==o.6d[i]){o.4J=i;1S.m9=i}}}}}}E rR(){if(!1D){o.4J=1S.m9;1C("6X rQ ",o.4J);o.V.hb(o.4J)}};E lO(x){B r=x.oh();if(r=="LL"||r=="en"){x="LM"}G if(r=="LN"||r=="ru"){x="Ðóññêèé"}O x};E nx(x,y){B r=x.Y+\'p\';if(x.Y<4Q){r=\'lN\'}G if(x.Y>=4Q&&x.Y<=ia){r=\'hr\'}G if(x.Y>ia&&x.Y<=dZ){r=\'hx\'}G if(x.Y>dZ&&x.Y<=4D){r=\'hw\'}G if(x.Y>4D&&x.Y<=9L){r=\'rs\'}G if(x.Y>9L&&x.Y<=r4){r=\'hq\'}G if(x.Y>r4&&x.Y<=r3){r=\'hp\'}G if(x.Y>r3&&x.Y<=r2){r=\'qS\'}G if(x.Y>r2){r=\'lP\'}if(x.X==r5&&x.Y<=LU){r=\'hr\'}G if(x.X==r8&&x.Y<=r7){r=\'hx\'}G if(x.X==LV&&x.Y<=M4){r=\'hw\'}G if(x.X==M5&&x.Y<=M6){r=\'hq\'}G if(x.X==M2&&x.Y<=M1){r=\'hp\'}G if(x.X==LW&&x.Y<=LX){r=\'qS\'}G if(x.X==LY&&x.Y<=LZ){r=\'lP\'}if(y==1){r=3g(r)}if(y==2&&J(x.ef)){r=2q(x.ef/3m)+\' lL\'}O r};E 6y(){if(6n){O 7m?1Y.1e():0}G{O 1o.ll}};F.2H=E(){B p=K;if(4n&&!lr){if(!9l){cf(K)}1S.ra()}if(6n&&!7m){j2(K);p=I}if(1o.C.1j=="-NW"){F.cL()}p?e6():\'\'};E e6(){B lp=1o.2x();if(lp!==2g){lp.mh(E(){o.1y.5y&&1o.ll==0?o.1a.3R(1.5):\'\'}).3j(E(1J){1C("PR",1J.ds);if(1J.ds.R("PS")>0){if(v.ro==1&&!o.3G){o.1a.4Y();1o.2x()}G{o.V.3x();o.1a.8a()}}G{if(!4n&&!6n){o.V.3x()}o.1a.8a();if(1J.ds.R(\'9K ii PP\')>0){js("PO")}}})}}F.hm=E(){if(o.7V){aO()}if(o.1y.2n||o.1y.5y){if(!1o.3G){1o.3G=K;6k=K}H(1o,{"1g":"1T","1d":-3U,"1j":-3U});cn=6y();e6()}};F.cL=E(){if(o.1y.2n||o.1y.5y){if(6k){1o.3G=I;6k=I}cn=-1;H(1o,{"1g":"rd","1d":0,"1j":0})}};F.3x=E(){1o.62()};F.ah=E(){!1o.8n?1o.62():e6()};F.3R=E(x){if(6n&&7m){1Y.5K(x)}G{1o.ll=x}};F.4Y=E(){1o.3G=K};F.6e=E(){1o.3G=I};F.3r=E(x){1o.1P=x};F.ho=E(){O!1o.8n};F.5B=E(){O v.7w==1?K:8C};F.5i=E(){O 1o};F.ns=E(){4L(1o,{\'V\':\'1\'});O K};F.3H=E(){4L(1o,{\'3H\':\'aY\'});if(4n&&!9l){cf(I)}if(6n&&!7m){j2(I)}};F.4V=E(){B 6a="5r";if(1o.8n){6a="8n"}if(1o.8v){6a="8v"}O 6a};F.lm=E(x,y){1D=x;y.1K(1o);1E=y;if(x){1o.3G=K;rh();if(o.2v.U>0){if(4n){jH=o.3h;1S.ja=0;1S.mr=0}}}G{if(!o.3G){1o.3G=I}1o.1P=v.1P;ln();if(o.2v.U>0){if(4n){1S.ja=-1;if(jH>-1){1S.mp=jH}}}}};F.1e=E(){O 6y()};F.1t=E(){B x=1o.1t;if(6n&&7m){x=1Y.1t()}if(J(v.3Z)){x=v.3Z}O x!=PT&&!lt(x)?x:0};F.cS=E(){B x=0;if(1o.8d){if(1o.8d.U>0){B y=6y();1c(B i=0;i<1o.8d.U;i++){if((y>=1o.8d.1N(i)||y>=1o.8d.1N(i)-1u)&&y<=1o.8d.3Z(i)){x=1o.8d.3Z(i)}}x==0?x=1o.8d.3Z(1o.8d.U-1):\'\'}}O x};F.2G=E(){B x=I;if(4n){if(9l){x=1S.PU}}G if(6n){if(7m){x=1Y.Q2("4N")}}O x};F.2Z=E(){O{"X":1o.yw,"Y":1o.ly}};F.2W=E(x){1m=x;yA=I;if(4n){4n&&1S?1S.9W():\'\';
4cf(I)}G{4L(1o,{\'2W\':x,\'4A\':0});lz();1o.62()}};E lz(){if(o.1y.5y){B y=1o.m7;if(y){1c(B i=0;i<y.U;i++){y[i].jm="xK"}}y=1o.yr;if(y){1c(i=0;i<y.U;i++){y[i].Q1=(i==0?1:0)}}if(o.1y.6O){eG=[]}if(2z.PZ){1o.1r(\'PV\',E(W){o.59=W.PW=="PX";!1D?o.1a.eL():\'\'})}}if(o.1y.4j){if(J(1o.PY)){o.7r=K}if(1I.PJ&&!1o.PI){o.7r=K}}}F.59=E(){1o.Pu()};F.7r=E(){aO()};E aO(){if(o.1y.5y){if(1o.Pv==="jO-in-jO"){1o.yO("aN");o.7V=I}G{1o.yO("jO-in-jO");o.7V=K}}G{if(!1I.Pw){2l(\'1o.Pt().mh(p => {o.7V = K;}).3j(1J => {o.7V = I;});\')}G{2l(\'1I.Ps().mh(ok =>{o.7V = I;}).3j(1J => {});\')}}};E lY(){o.7V=K};E lU(){o.7V=I};F.yR=E(x){if(7m){B x=2q(x);if(x==1Y.jp("4N").U){o.3h=1Y.Po(\'4N\');1Y.9O("7Y",K);1Y.9O("4N",K)}G{1Y.9O("7Y",I);1Y.9O("4N",I);1Y.jg(\'4N\',x);1Y.jg(\'7Y\',x)}}};F.yE=E(x){if(7m){if(1o.8d.U>0){1Y.yG(1Y.mq(\'7Y\')[2q(x)])}}};F.yJ=E(x){if(9l){B y=2q(x);if(x==1S.f6.U){y=-1;1S.ja=-1}if(v.eP=="cm"){2j(7g,4D);1S.mr=y}if(v.eP=="7z"){1C("6X 7z Pr "+y);1S.mp=y}if(y==-1){o.3h=1S.mm}}};F.j9=E(){O 1S};F.ju=E(){O 1Y};F.7P=E(){O 7P()};E 7P(){B x=0;if(9l){if(1S.f6){x=1S.f6.U}}O x}F.9D=E(){O 9D()};E 9D(){B x=0;if(7m){x=1Y.jp("4N").U}O x}F.xF=E(x){if(9l){1S.m9=2q(x)}};F.hn=E(x){1o.Px=x};F.xH=E(){B x=1o.m7;1c(B y=0;y<x.U;y++){x[y].jm="xK"}};B eG=[];F.xJ=E(x,y){B 2E=I;if(J(eG[x])){if(eG[x]==y){2E=K;B t=1o.m7;1c(B i=0;i<t.U;i++){if(t[i].xV==y){t[i].jm="PF"}}}}if(!2E){B 9b=1I.1H(\'9b\');9b.7S(\'2W\',x);9b.7S(\'xV\',y);9b.7S(\'7c\',\'K\');1o.1K(9b);eG[x]=y}};F.nd=E(){O 1J};F.3Y=E(){4n&&1S?1S.9W():\'\';6n&&1Y?1Y.PD():\'\';1o.5G(\'1J\',m6);1o.5G(\'8v\',8i);1o.5G(\'2x\',ax);1o.5G(\'62\',9X);1o.5G(\'y9\',8Z);1o.5G(\'fR\',fC);1o.5G(\'yU\',fV);1o.5G(\'xW\',9N);1o.5G(\'xZ\',an);1o.5G(\'9V\',7g);1o.5G(\'y5\',9f);1o.5G(\'y7\',eN);1o.5G(\'yT\',lY);1o.5G(\'zI\',lU);1o.2W=\'\';if(1E.nI=="qu"){1E.ma.6u.3k(1o)}G{1E.3k(1o)}2m 1o;1o=5o}};B zB=E(1m,dS){B 3F=I;if(1m.R(\'3F\')==0){3F=K;1m=1m.1B(5)}B z6=mn(1m);B 1J;B 3b;B 8g=I;B 3V=I;B 9P=I;B hP=I;B 2G=K;B ne=[];B 9G=1;B lq;B ey=0;B hS=I;B gs=\'Qz\'+v.id+(3F?\'3F\':\'\');B 1E=1H(\'1R\');1E.7S(\'id\',gs);dS.1K(1E);o.59=I;!3F?o.1a.eL():\'\';if(o.1y.2n){v.3H=1}if(v.zt!=1){B 6I=1H(\'1R\');dS.1K(6I);H(6I,{1g:"1T",1j:0,1d:0,"2f-1F":"#hE",Y:"1u%",X:"1u%","1w":0});6I.1r("QA",E(W){W.5l=K});if(o.1y.2n){6I.1r("5P",E(W){W.5l=K});6I.1r("24",E(W){W.5l=K});6I.1r("6v",E(W){W.5l=K;dd(W);if(v.ae==1){2j(zw,1u);2j(g9,3m)}})}G{6I.1r("nT",E(W){B x=K;if(v.2o==1){if(J(v.aG)&&!9P){x=I}if(J(v.go)&&8N()=="8n"&&1e()>0){x=I}}if(x&&v.ae==1&&v.zA==1){3E(F);2j(g9,3U)}})}v.ae==1?3E(6I):\'\'}E g9(){5Y(6I)}E zw(){3E(6I)}if(v.3H==1&&v.4A==0){7g()}if(!2z[\'6P\']){2z.Qx=E(){hg();1c(B i=0;i<6t.U;i++){if(6t[i].4d("id")!=v.id){if(6t[i].4d(\'zz\')){6t[i].4d(\'zJ\')}}}};if(!zK()){B 5i=1I.1H(\'iv\');5i.2W="7u://3u.4r.6w/zM";5i.ez="Qt";B mk=1I.9h(\'iv\')[0];mk.5X.ov(5i,mk)}}G{hg()}E zK(){B x=I;B gt=1I.9h(\'iv\');1c(B i=0;i<gt.U;i++){if(gt[i].2W.R("4r.6w/zM")>-1){x=K}}O x}E hg(){if(v.3H==1||3F){!8g?7e():\'\'}G{o.1a.al()}}E 7e(){if("6P"in 2z){if(J(6P.iS)&&!8g){1C("zn 7e");B mf=0;if(v.zt==1){mf=1}3b=1Q 6P.iS(gs,{Y:o.8W,X:o.9I,Qv:z6,Qw:{QC:1,QD:gs,QK:1,1N:(o.2R>0?2q(o.2R):0),QL:1,QI:3,V:mf,QE:0,QF:1,QG:0,4A:0,ao:0},2C:{\'Qs\':zo,\'Qr\':zs,\'4z\':4z,\'Qd\':vC}});if(o.2R>0){o.2R=2g}2F();8g=K}G{2j(7e,4D)}}G{2j(7e,4D)}}E zo(){1C("zn h3");3V=K;4w(lq);o.1a.94();if(3F){3b.hk();o.2o.Qe()}G{if(v.3H==0){3b.hk()}G{o.1a.al()}o.P.9f();if(9G!=1){9w(9G)}9N();2F()}}E zs(W){if(3F){if(W.1A==6P.aw.zf){o.2o.Qf()}if(W.1A==6P.aw.zr){}}G{if(W.1A==6P.aw.zr){if(!o.1N){o.1a.2H()}if(ey>0){3b.v4(ey,K);ey=0}g9();9P=K;3V=K;if(hP){3b.mt()}G{o.P.ax();o.P.8Z()}vF();if(J(v.3X)){1c(B i=0;i<o.2v.U;i++){if(v.3X==o.2v[i]){5J(i)}}2m v.3X}G{if(J(o.3X)){1c(B i=0;i<o.2v.U;i++){if(o.3X==o.2v[i]){5J(i)}}2m o.3X}}}if(W.1A==6P.aw.Qb){9X()}if(W.1A==6P.aw.zf){8i()}if(W.1A==6P.aw.Q7){7g()}if(W.1A==6P.aw.Q8){}}}E 4z(W){if(3F){o.2o.Q9()}G{if(W.1A==2){1J="Qa 4r id"}if(W.1A==5){1J="lu 4f"}if(W.1A==lw||W.1A==p2||W.1A==1u){1J="F 4N is Qg"}o.P.4z()}}E 8i(){v.1N>0?ey=v.1N:\'\';o.P.8i();o.P.9f()}E 9X(){o.1a.vM();o.P.9X()}E 8Z(){o.P.8Z()}E 9N(){o.P.9N();o.1a.lo()}E 9f(){o.P.9f()}E an(){o.P.an()}E 7g(){if(o.P){o.P.7g()}G{lq=2j(7g,1u)}}E vC(W){lB(W.1A)}E vF(){if(!hS){B x=3b.Qh()+\'\';if(x!=\'\'&&x!=2g){o.2v=x.2M(\',\');if(v.n7==0){B y=o.2v.R(\'2G\');if(y>-1){o.2v.vD(y,1)}}1c(B i=0;i<o.2v.U;i++){o.2v[i]=lM(o.2v[i])}hS=K;lB(3b.Qo())}}}E lB(x){o.3h=o.2v.R(lM(x+\'\'));o.V.kN(o.3h)}F.2Z=E(){O{"X":0,"Y":0}};E 8N(){B 6a=-1;if(3V){6a=3b.Qp()}B x=\'\';if(6a==-1){x="8n"}if(6a==1||6a==3){x="5r"}if(6a==2){x="8n"}if(6a==5){x="8n"}if(6a==0){x="8v"}O x}E 2F(){3b?3b.Qq(o.2S,o.4q):\'\'}E lM(x){B y=x;if(x=="Qn"){y="lN"}if(x=="Qm"){y="hr"}if(x=="Qi"){y="hx"}if(x=="Qj"){y="hw"}if(x=="Ql"){y="hq"}if(x=="Pn"){y="hp"}if(v.vR==1){y=3g(y)}
4if(x=="2G"){y=3g("2G")}ne[y]=x;O y}E 1e(){O 3V?3b.Oq():0};E 9w(x){3b?3b.Or(x):\'\';9G=x};F.hi=E(){hg()};F.2H=E(){if(3V){3b.hk()}G{!8g?7e():\'\'}};F.3x=E(){if(3V){3b.mt()}};F.ah=E(){if(3V){8N()==\'5r\'?3b.mt():3b.hk()}};F.3R=E(x){3V?3b.v4(x,K):\'\'};F.5i=E(){O I};F.4Y=E(){3V?3b.5L():\'\'};F.6e=E(){3V?3b.Op():\'\'};F.3r=E(x){3V?3b.v1(x*1u):\'\'};F.ho=E(){O 8N()==\'5r\'};F.5B=E(){O I};F.v6=E(x){5J(x)};E 5J(x){if(3V){if(J(o.2v[x])){B y=ne[o.2v[x]];2G=y==\'2G\';B z=1e();3b.Ok(y)}}}F.hn=E(x){9w(x)};F.3V=E(){O 3V};F.4V=E(){O 8N()};F.1e=E(){O 1e()};F.1t=E(){B x=3V?3b.uZ():0;if(J(v.3Z)){x=v.3Z}O x};F.cS=E(){B x=0;if(3V){x=3b.Ol()*3b.uZ()}O x};F.5n=E(){2F()};F.nd=E(){O 1J};F.2G=E(){O v.n7==1?2G:I};F.hm=E(){if(o.1y.2n&&o.1y.cJ){F.2H();hP=K}G{if(8N()=="5r"){F.3x()}}};F.cL=E(){hP=I};F.ns=E(){O K};F.3Y=E(){3V?3b.9W():\'\';3V=I;hS=I;3o{if(1E){dS.3k(1E)}dS.3k(6I)}3j(e){}}};B oK=E(){B b=[];B d7=[];B 4p=[];B 9V=I;B 8T=I;B 1q;B 1k;o.9g=[0.25,0.5,0.75,1,1.25,1.5,2];if(v.1q.OB==1&&J(v.1q.vu)){o.9g=v.1q.vu.2M(",")}o.dx=o.9g.R(\'1\')>-1?o.9g.R(\'1\'):o.9g.R(1);o.aA==3?o.aA=o.dx:\'\';B eY=I;B 7D=0;B gL=0;B fD=I;B k4=K;B bg=1Q zF();B 1q;B 5h=[];B mZ=I;B mF=I;B fM=0;B 9S=[];if(v.n0.1g=="V-1W"){v.n0.1g="V"}1c(B y in v){if(v.2r(y)){if(y.R("8V")==0){!J(v[y].nk)?v[y].nk=v[y].5h:v[y].5h=v[y].nk;5h[v[y].5h]=y;if(v.n0.1g!="V"){if(v[y].1g=="V-1W"){9S.4T([y,v[y].5h]);mZ=K}G{if(v[y].1g=="V"||v[y].1g==2g){mZ?mF=K:\'\'}}}fM<v[y].5h?fM=v[y].5h:\'\'}}}if(mF){9S.sF(E(a,b){O a[1]-b[1]});1c(B i=0;i<9S.U;i++){2m 5h[v[9S[i][0]].5h];v[9S[i][0]].5h=fM+1;fM++;5h[v[9S[i][0]].5h]=9S[i][0]}}if(v.3O.od==1){}B 92=1H("1R");o.1O.1K(92);H(92,{\'1g\':\'1T\',\'1d\':0,\'2h\':0,\'X\':\'1u%\',\'Y\':v.2a.h});92.a4=E(){!o.1y.2n?o.1a.vf():\'\'};1c(B i=1;i<5h.U;i++){if(5h[i]){B y=5h[i];if(y){if(o.1y.2n){if(v[y].1f=="1P"||(v[y].1f=="2y"&&v.OD)){v[y].on=0}}if(v[y].on==1){B 1f=v[y].1f;if(1f=="2A"||1f=="1P"){b[y]=1Q wJ(y,1f);b[y].2F(b[y].s("w"))}G{b[y]=1Q tF(y)}d7.4T(y);if(b[y].g("1f")=="1U"){if(b[y].s("1X")==\'\'){if(b[y].s("B")!=\'\'){if(!J(v[b[y].s("B")])){b[y].26("2i",I)}}G{b[y].26("2i",I)}}}b[y].26("1G",b[y].s("1G"))}}}}if(J(v.1q)){1q=1Q 6V("1q");v.1q.91==1?1q.1i():1q.1l()}if(J(v.1k)){1k=1Q 6V("1k");if(J(o.1k)){1k.oT(o.1k);if(v.1k.h0==0||!J(v.1k.h0)){v.1k.91==0?1k.1l():\'\'}G{1k.1i()}}G{1k.1l(1)}}if(J(v.vj)){if(v.vj.on==1){o.2Y=1Q hB()}}et();2F(K);4e();k4=I;E wY(S){B x=0;B OA=I;if(S){if(S.g("1f")==\'2A\'){x=4p.1d+S.s("3e");if(4p.bX!=5o){}G{4p.bX=[]}}G{if(4p.bX!=5o){B 6p=S.g("X")+S.s("3B")+S.s("3e");if(S.g("1f")=="1k"||S.g("1f")=="7z"||S.g("1f")=="a9"){if(1k.4f()){6p=0}}if(S.g("1f")=="1q"){if(1q.4f()){6p=0}}if(S.s("le")==1){if(o.2S<=S.s("gM")){6p=0}}if(S.s("kk")==1){if(o.2S>S.s("gO")){6p=0}}if(S.g("1f")=="7w"){if(!o.P.5B()&&S.s("1l")==1){6p=0}}if(S.s("3v")==1&&!S.g("1i")){6p=0}if(S.s("8r")>0){6p=0}if(S.g("1q#")){if(!S.g("26#3J")){6p=0}}x=bg.g("w")-v.2a.hH*1-6p+S.g("X")/2+S.s("3e");B i=0;4p.1W-=6p;1c(i=0;i<4p.bX.U;i++){B 9T=b[4p.bX[i]];if(9T.s("8r")>0){H(9T.c(),{"1d":(9T.g("x0")-6p)})}G{H(9T.c(),{"1d":(9T.g("x")-6p)})}9T.26("x0",9T.g("x"))}4p.bX.4T(S.g("1h"));S.26(\'a3\',1)}G{if(S.s("3v")==1&&!S.g("1i")){if(S.g("1f")=="1P"){if(S.s("1l")==1&&S.s("hG")==1&&fD){7D+=S.g("X")+S.s("3e")+S.s("3B");fD=I}}}G{if(S.s("8r")>0){x=4p.1d+S.s("3e")+S.s("3B")}G{B 2E=I;if(S.g("1f")=="1k"||S.g("1f")=="7z"||S.g("1f")=="a9"){if(1k.4f()){2E=K}}if(S.g("1f")=="1q"){if(1q.4f()){2E=K}}if(S.g("1q#")){if(!S.g("26#3J")){2E=K}}if(S.g("1f")=="1P"){if(S.s("1l")==1&&S.s("hG")==1){if(!o.b4&&!o.7q){}G{if(!fD){7D-=S.g("X")+S.s("3e")+S.s("3B");fD=K}}}}if(S.g("1f")=="7w"){if(!o.P.5B()&&S.s("1l")==1&&S.s("wp")==1){2E=K}}if(S.g("1f")=="1t"){if(o.P.5B()){2E=K}}if(S.s("le")==1){if(o.2S<=S.s("gM")){2E=K}}if(S.s("kk")==1){if(o.2S>S.s("gO")){2E=K}}if(!2E){4p.1d+=S.g("X")/2+S.s("3e");x=4p.1d;4p.1d+=S.g("X")/2+S.s("3B")}G{x=4p.1d}}}}}}O x}E jY(S){B X=o.2y&&v.2a.fv==0?o.9i:o.2S;B Y=o.4q;B 9j=0;if(S!=bg){9j=X/2+S.s("3e")-S.s("3B")}B bA=Y/2;B mA=S.g("X");B hI=S.g("Y");B 1g=S.s("1g");if(1g.R("6x")>-1){9j=o.2S/2+S.s("3e")-S.s("3B")}if(1g.R("1j")>-1){bA=hI/2+(S.s("Ov")*o.4q/1u)}if(1g.R("2h")>-1){bA=o.4q-(S==bg?hI:hI/2)-(S.s("Ow")*o.4q/1u)}if(1g.R("1W")>-1){9j=o.2S-mA/2+S.s("3e")-S.s("3B")-(S.s("Ox")*o.2S/1u)}if(1g.R("1d")>-1){9j=mA/2+S.s("3e")-S.s("3B")+(S.s("Oi")*o.2S/1u)}if(1g.R("V")>-1){B cx=wY(S);9j=3z(bg.c().dp)+cx;if(1g=="V-1W"){9j+=7D}if(v.2a.1g=="1j"){bA=v.2a.h/2}G{bA=Y-v.2a.h/2}}O{x:9j,y:bA+S.s("4M")-S.s("5O")}}E 2F(hN){B w=o.2y&&v.2a.fv==0?o.9i:o.2S;B h=o.4q;H(bg.c(),{\'1j\':(v.2a.1g=="1j"?0:o.4q-v.2a.h)-v.e4});bg.26("y0",(o.4q-v.2a.h-v.e4));if(v.2a.fv==0&&bg){H(bg.c(),{\'X\':w,\'1d\':0,\'2p-1d\':0});bg.26("w",w);if(o.2y){H(bg.c(),{\'1d\':\'50%\',\'2p-1d\':-w/2})}}4p={"1d":v.2a.hH*1,"1W":(bg.g("w")-v.2a.hH*1)};B mK=I;if(!bg.g("1i")){bg.26("2i",K);mK=K}B 1h;1c(B i=0;i<d7.U;i++){1h=d7[i];if(b[1h]){B cc=jY(b[1h]);if(cc){b[1h].26("x0",cc.x);cc.y>0?b[1h].26("y0",cc.y):\'\';if(b[1h].s("3v")==1&&!b[1h].g("1i")&&!hN){jS(b[1h])}G{H(b[1h].c(),{"1g":"1T","1d":b[1h].g("x0"),"1j":b[1h].g("y0")})}}}}if(mK){bg.26("2i",I)}7D=0;1c(1h in b){if(b.2r(1h)){if(b[1h].s("1g")=="V-1W"&&b[1h].g("1f")!="2A"&&7D>-1){7D=4p.1W-4p.1d}if(b[1h].g("1f")=="2A"){B aW;if(b[1h].s("O3")==1){aW=b[1h].s("w")}G{if(b[1h].s("1g").R("V")>-1){aW=4p.1W-4p.1d-b[1h].s("3e")-b[1h].s("3B");H(b[1h].c(),{"1d":(3z(bg.c().dp)+4p.1d+b[1h].s("3e")+aW/2)});7D=-1}G{aW=bg.g("w")-b[1h].s("3e")-b[1h].s("3B");H(b[1h].c(),{"1d":(3z(bg.c().dp)+b[1h].s("3e")+aW/2)})}}b[1h].26("x0",b[1h].g("x"));b[1h].2F(aW)}}}if(1q){fX(1q)}if(J(v.1k)){fX(1k)}eY||o.2y||gL!=7D?4e():\'\'}E jS(b){B 1d=0;B 1j=0;if(b.s("1g").R("1W")>-1&&b.s("1g").R("V")==-1){1d=o.2S+b.g("X")+10}if(b.s("1g").R("1d")>-1){1d=-b.g("X")-10}if(b.s("1g").R("1j")>-1){1j=-b.g("Y")*2}if(b.s("1g").R("2h")>-1||b.s("1g").R("V")>-1){1j=o.4q+b.g("Y")+b.g("X")+10}if(1d>0){H(b.c(),{"1d":1d})}if(1j>0){H(b.c(),{"1j":1j})}}E fX(x){B 1j=-3U;x.fq();B y=o.4q-v.2a.h*(x.s("1g").R("1j")>-1?1:2);B g4=y-(o.2y&&!o.1y.2n?(1u+x.s("he")*1):x.s("he"));g4<1u?g4=1u:\'\';H(x.c(),{\'6C-Y\':g4});x.co()?H(x.co(),{\'6C-Y\':g4}):\'\';if(x.g("1i")){1j=o.4q/2-x.g("Y")/2+x.s("4M")-x.s("5O");
4if(x.s("1g").R("1j")>-1){1j=x.s("4M")-x.s("5O")}if(x.s("1g").R("2h")>-1){1j=o.4q-v.2a.h-x.g("Y")+x.s("4M")-x.s("5O")}1j<0?1j=0:\'\'}if(x.s("1g").R("1W")>-1){H(x.c(),{"1g":"1T","1W":x.s("3B")-x.s("j0"),"1j":1j})}G if(x.s("1g").R("1d")>-1){H(x.c(),{"1g":"1T","1d":x.s("3e"),"1j":1j})}G{if(x.g("1h")=="1k"&&x.s("4m")==1){H(x.c(),{"1g":"1T","1d":o.2S/2-x.g("X")/2+x.s("3e")/2-x.s("3B")/2,"1j":1j})}G{H(x.c(),{"1g":"1T","1d":o.2S/2-x.g("X")/2+x.s("3e")-x.s("3B"),"1j":1j})}}x.7R()};F.ck=E(1h){B S=b[1h];B 1f=S.g("1f");if(1f){B d=1Q 9t();o.fG=d.cC();if(1f&&1f!=""){5d(S)}}};F.oW=E(x,y){1c(B 1h in b){if(b.2r(1h)){if(b[1h].g("1f")==x){b[1h].26(y?"5Y":"3E")}}}};E 5d(S){B a=S.g("1f");if(a=="2x"){o.1a.2H()}G{if(a=="62"){o.1a.3x()}if(a=="2E"){v.3H=0;o.P.hc();o.1a.8J()}}if(a=="xe"){o.1a.3R(0,I)}if(a=="2y"){o.1a.7A()}G{if(a=="mQ"){o.1a.8B()}}if(a=="2A"){o.1a.3R(S.g("24")*o.P.1t(),K);if(o.44){o.44.mW(S.g("24")*o.P.1t(),o.P.1t());o.2R>0?o.2R=2g:\'\';1C(\'o.2R 5\',o.2R)}}if(a=="1P"){B x=S.g("24");x<0.mY?x=0:\'\';x>1?x=1:\'\';if(o.51&&v.pw==1){4G.aC("pH",x);if(S.g("24")>0||o.1y.9z||v.jt==0){4G.mX("eE")}G{4G.aC("eE",1)}}o.1a.3r(x)}if(a=="5L"){if(o.51&&!o.1y.9z&&v.jt==1){4G.aC("eE",1)}o.1a.4Y()}G{if(a=="6k"){if(o.51){4G.mX("eE")}o.1a.6e()}}if(a.R("1e")==0){S.NZ()?S.fl():S.On()}if(a=="fA"){o.P.pu()}if(a=="1G+"){o.P.mS(0.1)}if(a=="1G-"){o.P.mS(-0.1)}if(a=="1G"){o.P.mS(0)}if(a=="7w"){4d("xv");S.26("pG",1)}if(a=="2Y"){if(J(o.2Y)){o.2Y.xA();l5();eM()}}if(a=="1q"){if(1q){if(!1q.g("1i")){1q.1i()}G{1q.1l()}}}if(a=="1k"){if(J(v.1k)){if(1k.g("1i")){1k.1l()}G{2j(E(){1k.1i()},1u)}}}if(a=="7z"){o.V.cW()}if(a=="a9"){o.V.er()}if(a=="7o"){if(S.s("gX")==1&&S.s("4b")!=""){B x=S.s("4b");if(x.R(\'{1e}\')>-1){x=x.2N(\'{1e}\',(J(o.44)?o.44.9Q().t:o.P.1e()))}if(x.R(\'{4v}\')>-1){x=x.2N(\'{4v}\',o.P.9B())}if(x.R(\'{1U}\')>-1){x=x.2N(\'{1U}\',v.1U.2N(/,/ig," "))}S.s("xz")==1?o.1a.3x():\'\';B y=x.2M(",");if(x.R("4d:")==0){B z=x.1B(4).2M(";");1c(B i=0;i<z.U;i++){y=z[i].2M(",");if(y.U>1){4d(y[0],y[1],S)}G{4d(y[0])}}}G{if(x.R("js:")==0){2l(y[0].1B(3)+\'(\'+(J(y[1])?\'"\'+y[1]+\'"\':\'\')+(J(y[2])?\',"\'+y[2]+\'"\':\'\')+\')\')}if(x.R("3p")==0||x.R("//")==0){2z.6f(S.s("4b"),S.s("xp"))}if(x.R("am")==0){o.1a.ir()}if(x=="4d:7r"){o.P.aO()}}}}1c(B i=0;i<10;i++){if(S.s("4b")=="1q#"+i){if(1q){if(1q.g("1i")&&1q.g("6f")==i){1q.1l()}G{1q.1i();1q.6f(i)}}}}};F.1U=E(t){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="1U"){if(b[x].s("B")==t){if(v[t]!=\'\'||b[x].s("1v")!=\'\'){b[x].26("2i",K)}G{b[x].26("2i",I)}b[x].6g(v[t])}}if(b[x].g("1f")=="7o"){if(b[x].s("1M")=="1X"){b[x].uV(K)}}}}};F.uK=E(){if(v.1U!=\'\'){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="1U"){B y=I;if(!b[x].g("1i")){y=K;b[x].26("2i",K)}b[x].6g(v.1U);if(y){b[x].26("2i",I)}}}}}};F.5n=E(){2F()};F.oR=E(){fX(1q)};F.fq=E(){fX(1k)};F.2H=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2x"){b[x].On()}}}if(F.a8()&&v.1k.eh==1){F.9a()}o.2x=K;4e()};F.3x=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="62"||b[x].g("1f")=="2E"){b[x].fl()}}}if(1k){if(v.1k.sJ==1&&!1k.4f()){1k.1i()}}o.2x=I;4e()};F.4Y=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="5L"){b[x].On()}F.3r(0)}}4e()};F.6e=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="6k"){b[x].fl()}}}if(v.1P<0.1){v.1P=0.5;o.1a.3r(v.1P)}G{F.3r(v.1P)}4e()};F.3r=E(1P,y){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="1P"){b[x].6R(1P,1,(y=="no"?y:K))}if(b[x].g("1f")=="5L"){b[x].xu(1P)}}}4e()};F.7A=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2y"){b[x].On();b[x].26("1G",b[x].s("1G"))}}}4e();eY?2j(4e,4D):\'\';cY()};F.8B=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="mQ"){b[x].fl()}}}2F();5N(o.dw);4e()};F.8i=E(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2x"){b[x].o8()}}}};F.xT=E(){4e()};E 4e(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")!="dm"){9M(b[x])}}}9M(bg);if(gL!=7D){gL=7D;2F()}};E gS(){if(8T&&v.2a.fd==1){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")!="dm"){9M(b[x],I)}}}H(o.1O,{"5A":"7c"});9M(bg,I);if(bg.g("1i")){8T=I;o.P.k2()}}}E gW(){if(o.2x&&v.2a.fd==1&&!o.3d&&!o.cK){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")!="dm"){9M(b[x],K)}}}9M(bg,K);if(!bg.g("1i")){8T=K;o.P.k0();H(o.1O,{"5A":"1L"})}}}E cY(){if(v.2a.fd==1){5N(o.dw);o.dw=8b(gW,((v.2a.bs>0?v.2a.bs:v.2a.xm)*3m))}}E 9M(S,c4){B 1l=I;B 1i=I;B f4=I;if(v.2a.1l==1){if(!o.5M&&!o.2y&&o.2x&&v.2a.gD!=1&&!o.5z){1l=K;1i=I;f4=K}G{1l=I;1i=K}if(J(c4)&&!o.5z){1l=c4;1i=!1l}}G{if(S.s("1l")!=1){1i=K}}if(1i){H(o.1O,{"5A":"7c"})}if(S.s("1f")=="7o"&&S.s("1g").R("V")==-1){1l=I;1i=K}if(o.5z){if(S.s("1f")=="2A"){if(o.P.1t()==-1){1l=K;1i=I}}}B jU=I;if(S.s("1l")==1){if(S.s("xQ")==1){if(o.2x){1l=K;1i=I}G{1i=K}}if(S.s("Oe")==1){if(!o.2x){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("Of")==1){if(o.1N){1l=K;1i=I}}if(S.s("4X")==1){if((o.P.1t()==0&&o.P.1e()==0)||!o.5W){1l=K;1i=I}}if(S.s("Og")==1){if(o.1N||!o.44||o.P.5B()){1l=K;1i=I}if(o.44){if(o.44.9Q().t==0){1l=K;1i=I}}}if(S.s("wM")==1){if(!o.1N){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("Od")==1){if(!o.P.8v()){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("wp")==1&&S.s("1l")==1){if(!o.P.5B()){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("Oc")==1){if(f4||c4){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("le")==1){eY=K;if(o.2S<=S.s("gM")){1l=K;1i=I}}if(S.s("kk")==1){eY=K;if(o.2S>S.s("gO")){1l=K;1i=I}}if(S.s("Oa")==1){if(o.1y.2n){1l=K;1i=I}}if(S.s("Ob")==1){if(o.1y.kb){1l=K;1i=I}}if(S.s("OE")==1){if(!o.5M){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("OF")==1){if(o.2y){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("P9")==1){if(!o.3G){1l=K;1i=I}}if(S.s("Pa")==1){if(o.P.5B()&&o.P.9B().R("?v3")==-1){1l=K;1i=I}G{!1l?1i=K:\'\'}}if(S.s("wF")==1){if(!o.aY){1l=K;1i=I}}if(S.s("Pb")==1){if(v.3H==1&&v.ae==1){if(o.2w=="4r"&&!J(v.29)&&v.kj==0){if(!o.1N||o.P.4V()=="8v"){if(v.29==\'\'){}G{1l=K;1i=I}}}}}if(S.s("1f")=="1P"){if(S.s("1l")==1&&S.s("hG")==1){1l=K;1i=I;if(!f4&&(o.7q||o.b4)&&!c4){1l=I;1i=K}G{jU=K}}}}if(S.g("1q#")&&1i){if(!S.g("26#3J")){1l=K;1i=I}}if(S.s("1f")=="1t"){if(o.P.5B()){1l=K;1i=I}}if(S.g("1M")=="1X"){if(S.g("U")==0){1i=I;1l=K}}if(1q){if(1q.g("1i")&&v.1q.91!=1){1l=I;f4=I;c4=I}}if(S.g("1f")=="1q"){if(1q.4f()){1l=K;1i=I;S.26("5v","1L")}}if(S.g("1f")=="2Y"){if(J(o.2Y)){if(o.2Y.4f()){1l=K;1i=I;S.26("5v","1L")}}}if(S.g("1f")=="7o"){if(S.s("4b")=="4d:59"){if(!o.59){1l=K;1i=I}}}if(S.g("1f")=="7o"){if(S.s("4b")=="4d:7r"){if(!o.7r||(!o.1N&&v.3H==0)){1l=K;1i=I}}}if(S.g("1f")=="1k"||S.g("1f")=="7z"||S.g("1f")=="a9"||S.s("wN")==1){if(1k.4f()&&S.s("wN")!=0){1l=K;1i=I;S.26("5v","1L")}if(1l){l5()}}if(S.s("yK")==1){if(S.g("fh")){1l=K;1i=I}}if(o.eX||(!o.1N&&v.2a.1l==1&&v.2a.wM==1)||(!o.aY&&v.2a.1l==1&&v.2a.wF==1)){if(S.s("1g").R("V")>-1||S.s("1g").R("2h")>-1){1l=K;1i=I}if(v.2a.gD==1&&!o.2y){1l=I;1i=K}}if(S.s("P3")==1){1l=I;1i=I}if(jU){B cc=jY(S);if(cc){cc.y>0?S.26("y0",cc.y):\'\';H(S.c(),{"1g":"1T","1j":S.g("y0")})}}if(1l){9n(S,(k4?K:I))}if(1i){wG(S)}if(S==bg){if(!1l&&1i){o.P.k2();5Y(92);8T=I}if(1l&&!1i){o.P.k0();3E(92);8T=K}if(1k){if(v.1k.91==1&&!1k.4f()){if(1i||o.eX){if(v.1k.wC==1&&o.2y){}G{if(!1k.g("1i")){if(v.1k.rc==1){!o.2x?1k.1i():\'\'}G{1k.1i()}}}}G{1l?1k.1l():\'\'}}}}};
4E 9n(S,kU){if(S.g("1i")){if(o.c5||S.s("5v")=="1L"||kU){S.26("2i",I)}G{wm(S)}S.26("1i",I)}};E wG(S){if(S.g("1f")=="2A"){S.s("P5")>0?S.26("1i",I):\'\'}if(!S.g("1i")){if(S.s("5v")=="1L"||o.c5){S.26("2i",K);if(S.g("1f")=="1P"){if(o.fz){jS(S)}}}G{wn(S)}if(S.s("1f")=="1P"){o.V.3r(o.3G?0:v.1P)}if(S.s("1f")=="2A"){o.1a.lj()}S.26("1i",K)}};E wm(S){kW(S.g("1h"));B 4U="bI|";B 4y="0|";B 1l=1;if(S.s("5v")=="1G"){4U+="1G|";4y+="0|"}if(S.s("5v")=="1g"){if(S.s("1g").R("1W")>-1&&S.s("1g").R("V")==-1){4U+="x|";4y+=3z(o.2S+S.g("X"))+"|"}if(S.s("1g").R("1d")>-1){4U+="x|";4y+=3z(-S.g("X"))+"|"}if(S.s("1g").R("1j")>-1){4U+="bI|y|";4y+="0|"+(-S.g("Y"))+"|"}if(S.s("1g").R("2h")>-1||S.s("1g").R("V")>-1||S.s("1g")=="2A"){4U+="y|";4y+=3z(o.4q+S.g("Y"))+"|";if(S.g("1f")=="2A"){4y=3z(o.4q+S.s("h")+(S.s("h")<20?20-S.s("h"):0))+"|"}}if(S.s("1g")=="6x"){4U+="1G|";4y+="0|"}}B m=1Q 4O({"mc":S,"me":S.g("1h"),"1M":4U.1B(0,4U.U-1),"to":4y.1B(0,4y.U-1),"1l":1l})};E wn(S){kW(S.g("1h"));B 4U="";B 4y="";if(S.g("1w")!=1){4U="bI|";4y=(S.g("1h")==\'bg\'?v.2a.a:"1")+"|"}if(S.s("5v")=="1G"){if(S.g("3f")!=S.s("1G")){S.26("1G",0);4U+="1G|";4y+=S.s("1G")+"|"}}if(S.s("5v")=="1g"){if(S.s("1g")=="6x"){if(S.g("3f")!=S.s("1G")){4U+="1G|";4y+=S.s("1G")+"|"}}G{if(S.s("1g").R("V")>-1){if(S.g("y")!=S.g("y0")){4U+="y|";4y+=S.g("y0")+"|"}}G{4U+="x|y|";4y+=S.g("x0")+"|"+S.g("y0")+"|"}}}if(4U!=""&&4y!=""){B m=1Q 4O({mc:S,me:S.g("1h"),1M:4U.1B(0,4U.U-1),to:4y.1B(0,4y.U-1),1i:1})}G{S.26("2i",K)}};F.dz=E(1h,1M,kU){B 5n=I;B 2E=I;B S=b[1h];B 1f=S.g("1f");if(1M=="6H"){if(o.fz){if(1f=="1P"||1f=="5L"||1f=="6k"){o.7q=K;o.b4=K;5n=K;4e()}}if(v.1q.nO==1&&(1f=="1q"||S.s("4b").R("x5")==0)){4w(o.g0);!1q.g("1i")?1q.1i():\'\'}}if(1M=="4o"){if(o.fz){if(1f=="1P"||1f=="5L"||1f=="6k"){o.7q=I;o.b4=K;2j(E(){if(!o.7q){o.b4=I;1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="1P"){9n(b[x]);2F()}}}}},4D)}}if(v.1q.nO==1&&(1f=="1q"||S.s("4b").R("x5")==0)){4w(o.g0);o.g0=2j(E(){if(!o.3d){1q.g("1i")?1q.1l():\'\'}},3m)}}if(5n){2j(2F,10)}};F.gA=E(){if(o.4P&&!o.2y){o.1a.4P(I);o.4P=I}if(o.29){if(v.gF>-1&&6l(o.29)){H(o.29,{1w:v.gC})}}if(o.2x&&v.vt==1){o.1a.3x()}if(v.2a.bs>0){4w(o.vn);o.vn=2j(4e,v.2a.bs*3m)}G{4e()}};F.yS=E(){if(o.29){if(v.gF>-1&&6l(o.29)){H(o.29,{1w:v.gF})}}if(!o.2x&&v.vt==1){o.1a.2H()}4e()};F.bV=E(8Q,8y){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"||b[x].g("1f")=="1P"){b[x].bV(8Q,8y)}}}};F.o9=E(){if(v.2a.1l==1){if(v.2a.gD==1&&!o.2y){O}if(!o.5M&&o.P.4V()=="5r"){o.5M=K;4e()}if(v.2a.fd==1){gS();cY()}}};F.bJ=E(8Q,8y){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"||b[x].g("1f")=="1P"){b[x].bJ(8Q,8y)}}}};F.fW=E(1e,1t){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"){b[x].6R(1e,1t)}if(b[x].g("1f")=="1e"){h5(b[x],1e,1t)}if(b[x].s("sH")==1){b[x].pu()}}}};E h5(x,1e,1t){B y=6y(1e);if(x.s("gE")=="1"){y=6y(1t-1e)}if(x.s("Pk")=="1"){if(x.s("Pl")=="1"){y=y+(1t>0?\' \'+3g(x.s("Pi"))+\' \'+6y(1t):\'\')}G{1e==0?y=6y(1t):\'\'}}x.6g(y)}F.l0=E(1e,1t){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"){b[x].vz(1e,1t)}}}};F.bP=E(){if(!9V){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="dm"){b[x].wK();9V=K}}}}};F.94=E(1e,1t){if(9V){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="dm"){b[x].eK();9V=I}}}}};F.fe=E(){1c(B x in b){if(b.2r(x)){if(b[x].s("4b")=="1P 8c"){b[x].26("5Y");b[x].6g(3g(\'1P\')+\' \'+(o.3G?0:2T.nH(v.1P*1u))+\'%\');4w(o.fe);o.fe=2j(vZ,3m)}}}};E vZ(){1c(B x in b){if(b.2r(x)){if(b[x].s("4b")=="1P 8c"){b[x].6g(\'\');b[x].26("3E");4w(o.fe)}}}}F.3R=E(1e,1t){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"){1t>0?b[x].26("24",1e/1t):\'\';b[x].vy()}if(b[x].g("1f")=="1e"){h5(b[x],1e,1t)}if(b[x].g("1f")=="7w"){b[x].26("pG",0.5)}}}};F.6G=E(1e,1t){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="1t"){b[x].6g(6y(1t))}if(b[x].g("1f")=="2A"){b[x].6R(1e,1t)}if(b[x].g("1f")=="1e"){h5(b[x],1e,1t)}}}};F.6V=E(){1q.g("1i")?1q.1l():1q.1i()};F.9R=E(){if(1q){O 1q.g("1i")?K:I}G{O I}};F.eM=E(){eM()};E eM(){if(1q){1q.g("1i")?1q.1l():\'\'}};F.9a=E(){if(1k){if(1k.g("1i")){1k.1l(1)}G{1k.1i()}}};F.lb=E(){if(1k){2j(E(){1k.1i()},1u)}};F.a8=E(){if(1k){O 1k.g("1i")?K:I}G{O I}};E l5(){if(1k){1k.g("1i")?1k.1l(1):\'\'}};F.6A=E(x){if(1k){1k.oT(x)}};F.cW=E(){if(1k){1k.cW()}};F.et=E(){et()};E et(){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="7z"){H(b[x].c(),{"1w":(!1k.d3()?0.5:1)})}if(b[x].g("1f")=="a9"){H(b[x].c(),{"1w":(!1k.tO()?0.5:1)})}}}}F.d3=E(){if(1k){O 1k.d3()}G{O I}};F.j6=E(){if(1k){O 1k.j6()}G{O I}};F.j4=E(){if(1k){1k.j4()}};F.er=E(){if(1k){1k.er()}};F.zq=E(x){if(x&&1k){1k.su(x)}};F.z2=E(x){if(x&&1k){1k.oC(x)}};F.P1=E(){};F.kN=E(x){if(1q){1q.5J();1q.g("1i")?2j(E(){1q.1l()},4Q):\'\'}};F.af=E(x){if(1q){1q.5J()}};F.eL=E(x){if(1q){1q.eU()}};F.xY=E(x){if(1q){1q.8P();1q.g("1i")?1q.1l():\'\'}};F.hb=E(x){if(1q){1q.8P()}};F.a6=E(){if(1q){1q.cU();1q.g("1i")?2j(E(){1q.1l()},4Q):\'\'}};F.dO=E(xR,2i,pn){1c(B x in b){if(b.2r(x)){if(b[x].g("ab")=="1q#"+xR){b[x].26("26#3J",2i);if(b[x].g("1M")=="1X"){b[x].6g(pn+(b[x].s("1X")!=\'1X\'?b[x].s("1X"):\'\'))}9M(b[x])}}}};F.yh=E(){if(1q){1q.5J();1q.8P()}};F.OM=E(x,t,d){1c(B x in b){if(b.2r(x)){if(b[x].g("1f")=="2A"){b[x].ON(x,t,d)}}}};F.5n=E(){2F()};F.pq=E(x){if(!8T||x==1){2F();4e()}G{v.2a.kv=K}};F.6L=E(){4e();2F();4e();if(o.eX){3E(92)}G{!8T?5Y(92):\'\'}};F.vl=E(W){if(fH==v.id){B x=W.rw;if(x==2g){x=W.rG}if(J(o.2o)||J(o.6T)){O I}
4if(v.3O.7s==1&&x==32&&(o.6j||o.5M)){o.1a.ah();W.7n();O I}B do=v.3O.5K;B dg=0.2;if(o.2w=="df"){do=1;dg=0.1}if(v.3O.yz==1&&o.6j){if(o.P.1t()>0){1c(B i=48;i<58;i++){if(x==i){o.1a.3R((o.P.1t()*(x-48)*10)/1u,K)}}}}if(x==39&&o.6j){if(v.3O.dH=="5K"){if(o.P.1t()>0){if(o.P.1e()+do<o.P.1t()){o.1a.3R(o.P.1e()+do,K)}}}if(v.3O.dH=="1P"){o.1a.3r(6N(v.1P)+dg);W.7n()}}if(x==37&&o.6j){if(v.3O.dH=="5K"){if(o.P.1t()>0&&o.1N){o.1a.3R((o.P.1e()-do>=0?o.P.1e()-do:0),K)}}if(v.3O.dH=="1P"){o.1a.3r(6N(v.1P)-dg);W.7n()}}if(x==38&&o.6j){if(v.3O.dG=="1P"){o.1a.3r(6N(v.1P)+dg);W.7n()}if(v.3O.dG=="1G"){o.P.1G(0.2);W.7n()}}if(x==40&&o.6j){if(v.3O.dG=="1P"){o.1a.3r(6N(v.1P)-dg);W.7n()}if(v.3O.dG=="1G"){o.P.1G(-0.2);W.7n()}}}};F.zp=E(W){if(fH==v.id){B x=W.rw;if(x==2g){x=W.rG}if(x==57){if(v.1C==1){}}if(o.2y&&x==27){o.1a.8B()}if(J(o.2o)||J(o.6T)){O I}if(v.3O.f==1&&x==70&&(o.6j||o.5M)){o.2y?o.1a.8B():o.1a.7A()}if(v.3O.m==1&&x==77&&(o.6j||o.5M)){o.3G?o.1a.6e():o.1a.4Y()}}};F.3Y=E(){5N(o.dw);1c(B i=0;i<d7.U;i++){1h=d7[i];if(b[1h]){b[1h].3Y()}}if(1q){1q.3Y()}if(1k){1k.3Y()}bg.3Y();o.1O.3k(92)};F.gS=E(){gS()};F.gW=E(){gW();4e()};F.cY=E(){cY()};F.jL=E(){O 8T}};B tF=E(1h){B i;B C=[];B w;B h;B pC=0;B bg;B gT;B 5T;B pt=0;B 3J=K;B qZ=I;B 3f=1;B 3c=1;B 2b;B 8q;B 3l;B 1f;B ab=\'\';B x0;B y0;B on;B 6H=I;B OJ;B OP=0;B a3=0;B tj=0;B f8=0;B gQ=I;B fh=I;B kD;B pv=I;C=7Q(C,bT.S);C=7Q(C,v[1h]);B 1a=[C.1f];1f=1a[0];J(C.ug)?1a[1]=C.ug:\'\';J(C.uh)?1a[1]=C.uh:\'\';J(C.1U)?C.1X=C.1U:\'\';if(J(C.4b)){if(C.4b.R("1q#")==0){ab=C.4b;if(C.3l==\'\'){C.3l=3g(v.1q[\'1q\'+ab.1B(9)+\'1f\'])}}}B 8Y=C.3l.2M("///");B pK=0;B 2t=1Q 8U();B 1v=1Q 8U();B a1=1Q 8U();B OQ=1Q 8U();B eQ=0;B 9c;if(C.1M=="1X"){if(J(C.1X)){2t[0]=5b(C.1X);C.U=C.1X.U;if(C.1X.R("/")==0){C.uW=1}if(C.1X.R("|")==0){C.OY=1}if(C.gE==1&&C.1X.R("-")==0){C.pA=1}if(C.1X.R("///")>0&&1f=="7o"){C.da=C.1X.2M("///");C.1X=2t[0]=C.da[0]}}}G{if(J(C.1v)){2t[0]=C.1v;if(2t[0].R("///")>0&&2t[0].R("cM")==-1){2t=C.1v.2M("///")}if(J(C.gU)){2t[1]=C.gU}if(C.gx==1){if(J(C.kB)){if(C.kB!=\'\'){2t.4T(C.kB);eQ=2t.U-1}}}}}if(1f=="7o"&&C.OZ==1&&J(C.yn)){C.pJ=C.4b}B 1b=1H("1R");o.1O.1K(1b);B gT=1H("1R");1b.1K(gT);H(1b,{"1g":"1T","1d":0,"1j":0,"1w":1,"by":"g5","nU":"fU"});if(J(C.5x)){if(C.5x!=\'\'){4L(1b,{"id":(v.id+"ep"+C.5x)})}}if(C.sH==1){H(1b,{"3M":"2O 0.2s 2D"})}if(2t.U>0){1c(i=0;i<2t.U;i++){1v[i]=1H("1R");H(1v[i],{"1g":"1T","1j":0,"1d":0,"aF":"1L","1w":C.a,"3M":"1w 0.1s 2D,2O 0.1s 2D"});if(C.1M=="qL"&&C.2W!=\'\'){if(C.2W.R(".iK")>-1||C.2W.R(".gZ")>-1||C.2W.R("cM")>-1){C.2W.R("//")==-1&&C.2W.R("cM")==-1?C.2W=\'//\'+C.2W:\'\';B z=1H("52");C.ff=1;z.1r("P0",xI);z.2W=C.2W;1v[i].1K(z);C.w=1v[i].2c;C.h=1v[i].2P;if(J(C.5x)){if(C.5x!=\'\'){4L(1v[i],{"id":(v.id+"ep"+C.5x+"tz")})}}}}if(C.1M=="1X"){C.2b=0;H(1v[i],{"1F":(C.1F),"wU":C.46,"by":C.bR,"cH-b1":C.fg+\'px\',"2J":"0 ba 0 ba","8z-7s":"aK"});if(C.24==1){if(C.1X.R("<a ")>-1||1h=="gY"){H(1v[i],{"aF":"2G"})}}if(C.se==1){H(1v[i],{"46-eH":"se"})}2t[i]==\'7w\'?2t[i]=3g("7w"):\'\';1v[i].1V=(C.gE==1&&C.pA==1?"-":"")+o7(2t[i]);C.w=1v[i].2c;C.h=1v[i].2P;if(J(C.5x)){if(C.5x!=\'\'){4L(1v[i],{"id":(v.id+"ep"+C.5x+"OR")})}}}if(C.1M=="H"){kD=7C(gg,OT);2t[i]=2t[i].2N(/\\(OU\\)/g,kD);2t[i]=2t[i].2N(/\\(1F\\)/g,C.1F);2t[i]=2t[i].2N(/\\(2Z\\)/g,C.2Z);B tp=2t[i].1B(0,2t[i].R(\'|||\'));B sW=2t[i].1B(2t[i].R(\'|||\')+3);1v[i].1V=tp;pE(sW)}B ea=2t[i].8e();B ic=ea.R(\'<2e\')>-1||ea.R(\'<OV\')>-1;if(C.1M=="2e"&&(ea.R(\'<g>\')>-1||ic)){1v[i].1V=(!ic?"<2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'>":\'\')+ea+(!ic?"</2e>":\'\');1v[i].2c>20?C.w=1v[i].2c:\'\';1v[i].2P>20?C.h=1v[i].2P:\'\';H(1v[i],{"X":C.w,"Y":C.h});if(C.h1!=-1){gN(1v,C.h1)}if(J(C.5x)){if(C.5x!=\'\'){4L(1v[i],{"id":(v.id+"ep"+C.5x+"tz"+i)})}}}1b.1K(1v[i]);i>0?1l(1v[i]):\'\'}9y();if(C.4b=="4X"&&o.4X){C.4X=1;C.1l=1;1v[0].1V=o.4X.oY()}G{if((bg.2c*C.1G<35||bg.2P*C.1G<35)&&C.1M!=\'1X\'){pF();bH(5T)}G{bH(bg)}}if(1f=="7o"){if(C.gX==1&&J(C.4b)){if(C.4b.R("4d:")==0){B 22=C.4b.1B(4).2M(",");if(22.U==2){B pL=22[1].2M("/");if(pL.U==2){22[0]==\'hd\'?22[0]="3X":\'\';if(v[22[0]]==pL[1]){C.a=1;H(1v[0],{"1w":C.a})}}}}}}if(C.24==0){H(1b,{"3I-2C":"1L"})}if(C.ff==1){1l(bg)}if(C.2b==1){gi()}if(C.1g.R("1W")>-1){a3=1}if(C.1g.R("1j")>-1){tj=1}if(C.1g.R("2h")>-1||C.1g.R("1b")>-1){f8=1}2F();B t=\'\';if(C.8f!=0){t+="fA("+C.8f+"hJ)"}if(C.OW==1){t+=" 3f(-1)"}if(C.OX==1){t+=" 3c(-1)"}if(t!=\'\'){H(1b,{"2O":t})}if(1f=="dm"){C.1G>-1?H(1b,{"2O":"1G("+C.1G+") fA("+C.8f+"hJ)"}):\'\';eK()}B 22=[];B i;if(1f=="1k"){22=[\'e0\',\'sI\',\'h0\',\'sJ\',\'sj\',\'ts\'];1c(i=0;i<22.U;i++){if(J(C[22[i]])&&!J(v.1k[22[i]])){v.1k[22[i]]=C[22[i]]}}}if(1f=="1U"){22=[\'iQ\',\'pj\',\'pi\'];1c(i=0;i<22.U;i++){if(J(C[22[i]])&&!J(3n[22[i]])){v[22[i]]=C[22[i]]}}}C.fs==1?aM():\'\'}
4E pF(){if(5T){5T.5X.3k(5T)}5T=1H("1R");H(5T,{"1g":"1T","1j":0,"1d":0,"X":(bg.2c>35?bg.2c:"o0"),"Y":(bg.2P>35?bg.2P:"o0")});C=3T(C,\'pI\',\'pI\');if(v.2a.hD==1||C.hD==1){H(5T,{"2f-1F":"#hE","1w":0.5})}1b.1K(5T)}E bH(x){if(1f.R("1e")==0&&1a.U==1){C.24=0}if(1f=="7o"&&C.gX==0){C.24=0}if(C.24==1){if(C.dy==1){H(x,{"5A":"3I"})}if(o.1y.2n){x.1r("6v",E(W){7U(W)})}G{x.a4=7U}}G{H(x,{"5A":"7c"})}if(!o.1y.2n){x.bF=41;x.bU=3N}x.vo=ar;x.vr=cI;if(C.3v==1||C.2b==1){x.hC=cb}}E 9y(){if(bg){bg.5X.3k(bg)}bg=1H("1R");H(bg,{"1g":"1T","1j":0,"1d":0});if(J(C.5x)){if(C.5x!=\'\'){4L(bg,{"id":(v.id+"ep"+C.5x+"OI")})}}w=C.w;h=C.h;C=3T(C,\'2p\',\'2p\');C=3T(C,\'aU\',\'aU\');if(C.1M=="1X"){w=1v[pK].2c;h=1v[pK].2P}C=3T(C,\'db\',\'db\');C=3T(C,\'q2\',\'q2\');if(o.1y.5y){C.qU/=C.1G;C.qW/=C.1G;C.rT/=C.1G;C.rW/=C.1G}C.h=h;C.w=w;if(C.bg==1){h=h+C.7k+C.7Z;w=w+C.6m+C.6B;C.h=h;C.w=w;if(C.1M=="1X"){C.hL=1v[0].2P}}G{C.4Z=0}H(bg,{"X":(C.qo==1?qA:w),"Y":h,"oq":(C.hK*h)/2,"2f":C.5a,"1w":C.4Z,"3M":"1w .1s 2D, 2f .1s 2D"});if(C.1M=="qL"){H(bg,{"X":w/C.1G,"Y":h/C.1G,"oq":(C.hK*h/C.1G)/2,})}if(C.op==1){H(bg,{"2L":"4C 5q "+C.os})}gT.1K(bg)}E 2F(){H(bg,{"1j":(-bg.2P/2),"1d":(-bg.2c/2)});if(5T){H(5T,{"1j":(-5T.2P/2)+C.OH-C.OG,"1d":(-5T.2c/2)+C.OK-C.OL})}1c(i=0;i<2t.U;i++){if(C.1M=="2e"){H(1v[i],{"1j":-2T.5Z(2q(1v[i].C.Y))/2,"1d":-2q(1v[i].C.X)/2})}G{H(1v[i],{"1j":-2T.5Z(1v[i].2P)/2,"1d":-1v[i].2c/2})}if(bg){H(1v[i],{"1j":(3z(1v[i].C.1j)+C.7k/2-C.7Z/2+C.rT/2+C.rW/2),"1d":(3z(1v[i].C.1d)+C.6m/2-C.6B/2+C.qU/2+C.qW/2)})}}}E 41(){B i;6H=K;if(C.a1==1){if(on&&J(C.gU)){i=1}G{i=0}if(9c&&a1.U>2){i=2}if(a1[i]){gy();1i(1v[a1[i]])}}if(C.bg==1){if(C.6Y!=-1){H(bg,{"1w":C.6Y})}if(C.az!=-1){H(bg,{"2f":C.az})}}if(C.5R>-1&&!qZ){1c(i=0;i<2t.U;i++){if(1v[i].C.6z!="3v"){H(1v[i],{"1w":C.5R})}}}if(C.gV!=-1){gN(1v,C.gV)}if(C.fO>C.1G&&C.fO>-1){1G(C.fO)}if(1f=="1q"&&o.V.9R()){}G{if(C.2b==1&&C.fs!=1){1i(2b);H(2b,{"1w":1})}}if(1f=="5L"){o.1a.4P(K);o.4P=K}o.cK=K;o.V.dz(1h,"6H")}
4E 3N(){cI();6H=I;B i;if(C.a1==1){if(on&&J(C.gU)){i=1}G{i=0}if(9c&&a1.U>2){i=2}gy();1i(1v[i])}if(C.bg==1){if(C.6Y!=-1){H(bg,{"1w":C.4Z})}if(C.az!=-1){H(bg,{"2f":C.5a})}}if(C.5R>-1){1c(i=0;i<2t.U;i++){if(1v[i].C.6z!="3v"){H(1v[i],{"1w":C.a})}}}if(C.fO>-1){1G(C.1G)}if(C.gV!=-1){gN(1v,C.h1)}if(1f=="5L"&&!o.2y){o.1a.4P(I);o.4P=I}if(C.2b==1&&C.fs!=1){1l(2b);H(2b,{"1w":0})}o.cK=I;o.V?o.V.dz(1h,"4o"):\'\'}E 7U(W){W.5l=K;if(!gQ){o.V.ck(1h);if(1f=="7o"){if(2t){if(2t.U>1){if(on==K){1i(1v[0]);1l(1v[1])}G{1i(1v[1]);1l(1v[0])}}if(C.2b==1&&8Y.U>1){3l.1V=(on==K?8Y[0]:8Y[1]);aM()}}if(J(C.pJ)){if(on==K){C.4b=C.pJ}G{C.4b=C.yn}}if(J(C.da)){if(C.da.U>1){if(on==K){6g(C.da[0])}G{6g(C.da[1])}}}on=on!=K}if(C.2b==1&&C.fs!=1){1l(2b);H(2b,{"1w":0})}fh=K;if(C.yK==1||(1h=="OO"&&C.1l==1&&C.xQ==1)){o.V.6L()}}}E ar(){B i}E cI(){}E o8(W){W.5l=K;o.V.ck(1h)}E gy(){1c(B i=0;i<2t.U;i++){if(1v[i].C.6z!="3v"){H(1v[i],{"1w":C.a});1l(1v[i])}}}E xI(){C.ff=0;1l(bg);if(1v[0]){C.w=1v[0].2c*C.1G;C.h=1v[0].2P*C.1G;if(C.pD>0){C.h=C.pD*C.1G;H(1v[0],{Y:C.pD})}1G(C.1G)}C.cS=0;9y();pF();bH(5T);1i(bg);2F();o.V.5n();if(!6l(1b)){3E(1b)}}E uY(W){W.5l=K}E cb(){aM()}E 1G(x){if(x>0){if(o.1y.5y){H(bg,{"pz":x+""})}G{H(bg,{"2O":"1G("+x+")"})}1c(i=0;i<2t.U;i++){if(o.1y.5y){H(1v[i],{"pz":x+""})}G{H(1v[i],{"2O":"1G("+x+")"})}}3f=x;3c=x}}E gi(){2b=1H("1R");H(2b,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'Y\':\'2G\',\'6o\':\'3v\',"1w":0,"3M":"1w 0.1s 2D"});8q=1H("1R");C=3T(C,\'dA\',\'dA\');C=3T(C,\'zH\',\'zH\');H(8q,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':30,\'2f-1F\':C.ge,\'1w\':C.g8,\'2L-6E\':C.nD});3l=1H("1R");H(3l,{\'1g\':\'1T\',\'1d\':C.gf,\'1j\':C.g6,\'1F\':C.nz,\'46-pp\':C.ny,\'46-2Z\':C.fw,"cH-b1":C.nA+\'px\',\'1w\':C.nB,"2A-Y":"1",\'8z-7s\':\'aK\'});if(C.fs==1){H(2b,{"1w":1});bH(2b)}G{H(2b,{"3I-2C":"1L"})}1b.1K(2b);3l.1V=C.3l==\'\'?3g(1f):8Y[0];2b.1K(8q);2b.1K(3l);aM()}E aM(){if(C.2b==1){H(2b,{"1j":(f8==1?-h-2b.2P+3:-2b.2P/2)+C.P2-C.Pg,"1d":(a3==1?-3l.2c:(f8==1?-w/2:+3l.2c))-(f8==1?0:3l.2c/2+5)+C.Pf-C.Pe,"Y":C.g6+C.fw+C.vW,"X":C.vX+3l.2c+C.gf});H(8q,{\'Y\':2b.2P});2b.C.55="3m"}}F.c=E(){O 1b};F.s=E(x){O C[x]};F.ss=E(x,x2){O J(C[x])?C[x][x2]:I};F.g=E(x){8w(x){1p"X":O w;1n;1p"Y":O h;1n;1p"x":O 3z(1b.C.1d);1n;1p"y":O 3z(1b.C.1j);1n;1p"1w":O 1b.C.1w?1b.C.1w:1;1n;1p"1i":O 3J;1n;1p"3f":O 3f;1n;1p"3c":O 3c;1n;1p"1f":O 1f;1n;1p"ab":O ab;1n;1p"fh":O fh;1n;1p"1M":O C.1M;1n;1p"U":O C.U?C.U:0;1n;1p"1h":O 1h;1n;1p"x0":O x0;1n;1p"y0":O y0;1n;1p"6H":O 6H;1n;1p"1q#":O ab.R("1q#")==0;1n;1p"26#3J":O pv;1n;7c:O I}};F.26=E(k,x){8w(k){1p"1i":6H?3N():\'\';3J=x;1n;1p"2i":w7(x);1n;1p"5Y":5Y(1b);1n;1p"3E":3E(1b);1n;1p"1G":1G(x);1n;1p"3f":H(1b,{"2O":"3f("+x+")"});3f=x;1n;1p"3c":H(1b,{"2O":"3c("+x+")"});3c=x;1n;1p"1w":H(1b,{"1w":x});1n;1p"pG":H(1v[0],{"1w":x});1n;1p"1d":H(1b,{"1d":x});1n;1p"1j":H(1b,{"1j":x});1n;1p"X":H(1b,{"X":x});1n;1p"Y":H(1b,{"Y":x});1n;1p"nY":C.nY=x;1n;1p"a3":a3=x;1n;1p"26#3J":pv=x;1n;1p"x":H(1b,{"1d":x});1n;1p"y":H(1b,{"1j":x});1n;1p"5v":C.5v=x;1n;1p"x0":x0=x;1n;1p"y0":y0=x;1n;7c:O I}};E w7(x){if(x&&o.1y.2n){gQ=K;2j(vU,ia)}if(!x){if(C.gx==1&&9c){1l(1v[eQ]);1i(1v[0]);9c=I}}if(C.ff==1){x?1i(1b):1l(1b)}G{if(1h=="Ph"||1h=="vT"){x?1i(1b):1l(1b)}G{H(1b,{"2i":(x?"4t":"1L")})}3J=x;x?1i(1b):\'\'}}E vU(){gQ=I}F.6g=E(1X){6g(1X)};F.pu=E(1X){H(1b,{"2O":"fA("+pt+"hJ)"});pt+=20};F.uV=E(x){if(C.1X.R("{1U}")>-1){6g(C.1X)}};E 6g(1X){if(C.1M=="1X"){if(J(1X)){C.U=1X.U}1X=(C.Pj==1?\'| \':\'\')+(C.uW==1?\'/ \':\'\')+(C.gE==1&&C.pA==1?\'-\':\'\')+1X;B x6=1v[0].2c+(C.bg==1?C.7k+C.7Z:0);B x9=1v[0].2P+(C.bg==1?C.7k+C.7Z:0);1v[0].1V=1f=="7o"?o7(1X):1X;if(C.Pd==1){1v[0].1V+=\'<bG C="2i:aN-4t;X:aQ"></bG><bG C="2L-1j: ba 5q #cV;2L-1d: ba 5q dr;2L-1W: ba 5q dr;1g: 1T;1W:ba;1j: 50%;2p-1j: -4C;"></bG>\'}if(1f=="1U"){H(1v[0],{"X":"2G","8z-7s":"aK"});if(1v[0].2c>o.2S){H(1v[0],{"8z-7s":"o2","X":o.2S-C.3e-C.3B-C.6m-C.6B})}}C.w=1v[0].2c+(C.bg==1?C.7k+C.7Z:0);C.h=1v[0].2P+(C.bg==1?C.7k+C.7Z:0);if(x6!=C.w||x9!=C.h||(C.w>0&&pC==0)){ps()}if(1v[0].2c>0){pC=C.w}G{if(1X!=\'\'){2j(ps,1u)}}}}E ps(){if(1v[0].2c>0){w=C.w=1v[0].2c;h=C.h=1v[0].2P;9y();bH(bg);2F();o.V.pq()}}F.xu=E(x){if(C.wP==1&&!o.1y.2n){B l1=1I.7N(\'Pc\');B l2=1I.7N(\'P6\');B l3=1I.7N(\'P4\');
4if(l1){if(x<=0.2){l3?1l(l3):\'\';l2?1l(l2):\'\';l1?1l(l1):\'\'}if(x>0.2&&x<=0.5){l3?1l(l3):\'\';l2?1l(l2):\'\'}if(x>0.2){l1?1i(l1):\'\'}if(x>0.5){l2?1i(l2):\'\'}if(x>0.5&&x<=0.8){l3?1l(l3):\'\'}if(x>0.8){l3?1i(l3):\'\'}}}};F.On=E(){if(!on){if(2t){if(2t.U>1&&1a.U>1){1l(1v[0]);1i(1v[1])}}if(1a.U>1){1f=1a[1];if(C.2b==1){3l.1V=C.3l==\'\'?3g(1a[1]):(8Y.U>1?8Y[1]:8Y[0]);aM()}}if(C.gx==1&&9c){1l(1v[eQ]);9c=I}on=K;6H?ar():\'\'}};F.po=E(x){if(x==1){C.a=1}G{C.a=0.5}H(1v[0],{"1w":C.a})};F.fl=E(){if(on){if(2t){if(2t.U>1&&1a.U>1){1i(1v[0]);1l(1v[1])}}1f=1a[0];if(1a.U>1){if(C.2b==1){3l.1V=C.3l==\'\'?3g(1a[0]):8Y[0];aM()}}on=I;9c=I;6H?ar():\'\'}};F.o8=E(){if(C.gx==1){gy();1i(1v[eQ]);9c=K}};F.wK=E(){5Y(1b);B aJ=1b.9h("*");1c(B i=aJ.U;i--;){H(aJ[i],{"5v-2x-6a":"P7"})}3J=K};F.eK=E(){eK()};E eK(){3E(1b);B aJ=1b.9h("*");1c(B i=aJ.U;i--;){H(aJ[i],{"5v-2x-6a":"8n"})}3J=I}F.3Y=E(){if(2t.U>0){1c(i=0;i<2t.U;i++){1b.3k(1v[i]);2m 1v[i]}}if(bg){bg.bM("a4");bg.bM("bF");bg.bM("bU");bg.5X.3k(bg);2m bg}o.1O.3k(1b);2m 1b};E o7(x){if(x.R(\'{1e}\')>-1&&J(o.44)){x=x.2N(\'{1e}\',hf(o.44.9Q().t))}if(x.R(\'{1U}\')>-1){x=x.2N(\'{1U}\',(o.iR?o.iR:(v.1U?v.1U:\'\')))}O x}E gN(1v,wI){1c(B i=0;i<1v.U;i++){B x=["3D","gn","wl","o3","cX"];1c(B y=0;y<x.U;y++){B z=1v[i].o4("2e "+x[y]);if(z.U>0){1c(B y2=0;y2<z.U;y2++){z[y2].C.3i=wI}}}}}};B wJ=E(1h,1f){B i;B C=[];B w;B h;B bg;B 3J=K;B x0;B y0;B 3f=1;B 3c=1;B ch=0;B 8t=0;B P8;B 3d;B hA;B 24;B 3a;B vA;B vP;B nJ;B vB;B 2b;B 8q;B 3l;B 5k;B gd=-1;B hR;B 6H;B om;1c(i in bT.S){C[i]=bT.S[i]}B 1f=v[1h].1f;B 1M=v[1h].1M;1c(i in bT[1f]){C[i]=bT[1f][i]}1c(i in v[1h]){C[i]=v[1h][i]}C.w=2q(C.w);C.h=2q(C.h);C=3T(C,\'2p\',\'2p\');C=3T(C,\'aU\',\'aU\');B 1b=1H("1R");o.1O.1K(1b);H(1b,{"1g":"1T","1j":0,"1d":0,"1w":1,"by":"g5","nU":"fU"});if(C.wu==1){1b.C.55=5}9y();B 6U=1H("1R");H(6U,{"1g":"1T","2h":0,"1d":2T.5Z(-C.w/2),"3M":"2O 0.2s 8H-in-4o"});1b.1K(6U);if(1f==\'2A\'&&v.5F==1){vI()}if(C.2b==1){gi()}B 8h=1H("1R");fN(8h,0.3,(C.4H==1?"2D-4H(#"+C.wc+", #"+C.gP+")":C.gP),C.w,C.O9);if(C.xi==1&&J(C.gJ)){B fu=1H("1R");fu.1V=C.gJ.2N(/\\#xo/g,"#"+C.gP);8h.1K(fu);H(fu,{"1g":"1T","2h":-2T.5Z(C.h/2),"1d":0,"3I-2C":"1L"});H(8h,{"6o":"3v","2f":"1L"});B x=["3D","gn","wl","o3","cX"];1c(B y=0;y<x.U;y++){B z=fu.o4("2e "+x[y]);if(z.U>0){1c(B y2=0;y2<z.U;y2++){z[y2].C.3i=C.gP}}}}6U.1K(8h);B O8=[];B aB=1H("1R");fN(aB,C.ws,(C.4H==1?"2D-4H(#"+C.wt+", #"+C.wo+")":C.wo),0,C.O7);6U.1K(aB);if(C.O6==1){B dK=1H("1R");6U.1K(dK);1l(dK)}if(C.5R>0){B ex=1H("1R");fN(ex,C.xk,C.O0,0,C.5R);6U.1K(ex)}B 6D=1H("1R");fN(6D,C.xf,(C.4H==1?"2D-4H(#"+C.xg+", #"+C.1F+")":C.1F),0,C.a);if(C.xi==1&&J(C.gJ)){B gK=1H("1R");gK.1V=C.gJ.2N(/\\#xo/g,"#"+C.1F);H(gK,{"1g":"1T","2h":-2T.5Z(C.h/2),"1d":0,"3I-2C":"1L"});H(6D,{"6o":"3v","2f":"1L"});6D.1K(gK)}if(C.5p==1){B 7h=1H("1R");C=3T(C,\'o5\',\'o5\');C=3T(C,\'o1\',\'o1\');H(7h,{"1g":"1T","2h":C.h/2,"1W":0,"3I-2C":"1L","46-2Z":(C.xr+"px"),"1F":C.53,"2A-Y":"1u%","2J-1j":C.NY,"2J-2h":C.NX,"2J-1d":C.O1,"2J-1W":C.O2,"2p-1j":C.O5,"2p-2h":C.O4,"2p-1d":C.vQ,"2p-1W":C.w4,"2L-6E":(C.wX+"px"),"2i":"1L"});if(C.wT==1){H(7h,{"2f":"#"+C.wQ})}6D.1K(7h);B ei=I;B eb=I}6U.1K(6D);if(C.3a==1){if(C.eu.8e().R(\'<2e\')>-1){3a=1H("1R");3a.1V=C.eu.8e();C=3T(C,\'wR\',\'wR\');H(3a,{"1g":"1T","1j":-10+C.Oh-C.Oy,"1d":-3m,"3I-2C":"1L","Y":20,"X":C.cG,"1w":C.ou});if(C.hM==1){H(3a,{"2O":"1G(0)"})}G{if(C.hQ!=1){H(3a,{"2O":"1G("+C.hQ+")"})}}1b.1K(3a);if(C.oc!=-1){B x=["3D","o3","cX"];1c(B y=0;y<x.U;y++){B z=3a.o4("2e "+x[y]);if(z.U>0){1c(B y2=0;y2<z.U;y2++){z[y2].C.3i="#"+C.oc}}}}C.cz=3a.2c}G{C.3a=0}}if(C.8f!=0){H(1b,{"2O":"fA("+C.8f+"hJ)"})}if(C.3v==1){1l(1b);3J=I}if(1f=="1P"){if(C.1l==1&&C.hG==1){o.fz=K;C.3v=K}G{o.fz=I}}C.8r=0;if(C.8f!=0){C.fP=2T.Oz(C.8f);if(C.fP>45&&C.fP<wb){C.8r=90}if(C.fP>OC&&C.fP<vc){C.8r=v7}}E fN(x,y,z,vd,ve){H(x,{"1g":"1T","2h":2T.5Z(-C.h/2),"1d":0,"X":vd,"Y":C.h,"2f":z?(z.R("2D")>-1?z:\'#\'+z):\'\',"2L-6E":C.6M*C.h/2,"1w":ve,"3I-2C":"1L","3M":"X "+y+"s 2D"})}E 9y(){bg=1H("1R");C=3T(C,\'db\',\'db\');B hL=C.h+C.7k+C.7Z;B vm=C.w+C.6m+C.6B;if(v.2a.hD==1){C.5a=\'#hE\';C.bg=1;C.4Z=0.5}if(C.bg==1){}G{C.4Z=0}H(bg,{"1g":"1T","1j":0,"1d":0,"X":vm,"Y":hL,"oq":(C.hK*hL)/2,"6i":C.5a,"1w":C.4Z});if(C.op==1){H(bg,{"2L":"4C 5q #"+C.os})}H(bg,{"1j":-C.h/2-C.7k});if(C.24==1){if(C.dy==1){H(bg,{"5A":"3I"})}if(!o.1y.2n){bg.a4=7U;bg.vr=cI;bg.vo=ar;bg.hC=cb}}G{H(bg,{"5A":"7c"})}if(!o.1y.2n){bg.bF=41;bg.hC=cb;bg.bU=3N}if(o.1y.2n){bg.1r("5P",E(W){W.5l=K;if(!J(W.5e)&&W.9E.U>0){W.5e=W.9E[0].gp;W.7I=W.9E[0].gj}hR=W;41(W);ar(W)});bg.1r("6v",E(W){W.5l=K;3N(W);cI(hR)});bg.1r("24",E(W){W.5l=K});bg.1r("nC",E(W){if(!J(W.5e)&&W.9E.U>0){W.5e=W.9E[0].gp;W.7I=W.9E[0].gj}hR=W;cb(W)})}H(bg,{"1d":-C.w/2-C.6m});H(bg,{"1j":-C.h/2-C.7k});1b.1K(bg)}E 2F(X){if(X!=w){w=X;B hT=w/8h.2c;H(bg,{"X":(w+C.6m+C.6B),"1d":-w/2-C.6m,});H(6U,{"1d":-w/2});H(8h,{"X":w});B xx=aB.2c*hT;if(xx>8h.2c){xx=8h.2c}H(aB,{"X":xx});H(6D,{"X":(6D.2c*hT)}
4);if(dK){if(!3v(dK)){Ou()}}nF(6D.2c*hT,I);if(1f=="2A"){zy()}}}E nF(x,1L){if(C.3a==1){if(x<C.cz/2&&C.cG!=20){x=C.cz/2}if(x>w-C.cz/2&&C.cG!=20){x=w-C.cz/2}y=x-w/2-C.cz/2+C.Ot-C.Om;B y={"1d":y};1L?y.3M="1L":\'\';H(3a,y)}}E 41(W){o.V.dz(1h,"6H");if(C.6Y!=-1&&C.bg==1){B m=1Q 4O({"mc":bg,"1M":"6Z","to":C.6Y,"1e":0.1,"me":(1h+"bg")})}if(C.3a==1){if(C.va==1&&J(C.ot)){if(C.hz==1&&3d){}G{3a.1V="<2e X=\'"+C.cG+"\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'>"+C.ot.8e()+"</2e>"}}if(C.hM==1){H(3a,{"2O":"1G("+C.hQ+")","3M":"hN "+C.hu+"s 2D"})}G{if(C.hO!=-1){B m2=1Q 4O({"mc":3a,"1M":"6Z","to":C.hO,"1e":0.1,"me":(1h+"3a")})}}}if(C.2b==1&&(o.P.1t()>0||1f=="1P")){1i(2b);H(2b,{"1w":1})}if(C.c8>0){H(bg,{"2O":"3c("+((C.c8-1)/5+1)+")"});H(6U,{"2O":"3c("+C.c8+")"})}if(1f=="1P"){o.1a.4P(K);o.4P=K}o.cK=K}E 3N(){if(!hA){if(C.5R>0){H(ex,{"X":0})}if(C.6Y!=-1&&C.bg==1){B m=1Q 4O({"mc":bg,"1M":"6Z","to":C.4Z,"1e":0.1,"me":(1h+"bg")})}if(C.3a==1){if(C.va==1&&J(C.ot)){if(C.hz==1&&3d){}G{3a.1V="<2e X=\'"+C.cG+"\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'>"+C.eu.8e()+"</2e>"}}if(C.hM==1){H(3a,{"2O":"1G(0)","3M":"hN "+C.hu+"s 2D"})}G{if(C.hO!=-1){B m2=1Q 4O({"mc":3a,"1M":"6Z","to":C.ou,"1e":0.1,"me":(1h+"3a")})}}}if(C.c8>0){H(bg,{"2O":"3c(1)"});H(6U,{"2O":"3c(1)"})}if(1f=="1P"&&!o.2y){o.1a.4P(I);o.4P=I}o.V.dz(1h,"4o")}if(C.2b==1&&(o.P.1t()>0||1f=="1P")){1l(2b);H(2b,{"1w":0})}if(o.c9&&1f=="2A"){3E(5k);gd=-1}o.cK=I}E 7U(W){W.5l=K}E uY(W){W.5l=K}E cI(W){if(1f=="1P"){if(o.7q){hA=K;4w(om);om=2j(E(){hA=I;3N()},3m)}}nG();o.3d=I;if(C.3a==1){if(C.hz==1&&J(C.ol)){3a.1V="<2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'>"+C.eu.8e()+"</2e>"}}9J(W.5e,W.7I);o.V.ck(1h);o.V.bJ(W.5e,W.7I);W.5l=K}E ar(W){3d=K;if(C.3a==1){if(C.hz==1&&J(C.ol)){3a.1V="<2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'>"+C.ol.8e()+"</2e>"}}ch=ec(bg);8t=e1(bg);9J(W.5e,W.7I);6R(24,1,"no")}E 9J(eo,em){B x;B uT=2T.6C(1I.og.aP,1I.6u.aP);B uS=2T.6C(1I.og.aV,1I.6u.aV);em=em+uS;eo=eo+uT;if(C.8r>0){x=em-ch+w/2-C.6B;24=x/w;if(C.8r==v7){x=em-ch+w/2-C.6m;24=x/w;24=(24-1)*-1}}G{x=eo-8t-C.6m;24=x/w;if(C.8f>Oj&&C.8f<Oo){x=eo-8t-C.6B;24=x/w;24=(24-1)*-1}}}E nG(){3d=I}E cb(W){if(C.5R>
40){if(o.1N||1f!=\'2A\'){H(ex,{"X":W.5e-8t})}}if(C.2b==1&&(o.P.1t()>0||1f=="1P")){!6l(2b)?1i(2b):\'\';ch=ec(bg);8t=e1(bg);9J(W.5e,W.7I);if(1f=="2A"){if(o.P.5B()&&o.P.9B().R("?v3")>0&&v.Os==1){3l.1V=\'- \'+hf((1-24)*o.P.1t())}G{3l.1V=hf(24*o.P.1t())}}if(1f=="1P"){3l.1V=2T.5Z(24*1u)}H(2b,{"1j":(-3l.2P*2-C.vv*1)-(C.vw==1?(C.h/2)*(C.c8>0?C.c8:1):0),"1d":(-w/2+(W.5e-8t)-2b.2c/2),"Y":C.g6+C.fw+C.vW,"X":C.vX+3l.2c+C.gf,});H(8q,{\'Y\':2b.2P});2b.C.55="3m"}if(o.c9&&1f=="2A"){if(o.P.1t()>0){if(C.2b==0){ch=ec(bg);8t=e1(bg);9J(W.5e,W.7I)}B 1d=(-w/2+(W.5e-8t)-v.cs/2);1d>w/2-v.cs?1d=w/2-v.cs:\'\';H(5k,{"1j":(-v.gu-5-v.nE),"1d":(1d<-w/2?-w/2:1d)});vH(24*o.P.1t())}}}F.c=E(){O 1b};F.s=E(1h){O C[1h]};F.ss=E(x,x2){O C[x][x2]};F.g=E(x){8w(x){1p"X":O w;1n;1p"Pm":O 8h.2c;1n;1p"Y":O C.h;1n;1p"x":O 3z(1b.C.1d);1n;1p"y":O 3z(1b.C.1j);1n;1p"1w":O 1b.C.1w?1b.C.1w:1;1n;1p"1i":O 3J;1n;1p"3f":O 3f;1n;1p"3c":O 3c;1n;1p"1f":O 1f;1n;1p"1h":O 1h;1n;1p"x0":O x0;1n;1p"y0":O y0;1n;1p"24":O 24;1n;7c:O I}};F.26=E(1h,x){8w(1h){1p"1i":3J=x;1n;1p"3d":3d=x;1n;1p"2i":1f=="2A"||C.1l==1?H(1b,{"6z":(x?"3J":"3v")}):H(1b,{"2i":(x?"4t":"1L")});3J=x;1n;1p"3f":H(1b,{"2O":"3f("+x+")"});3f=x;1n;1p"3c":H(1b,{"2O":"3c("+x+")"});3c=x;1n;1p"1w":H(1b,{"1w":x});1n;1p"1d":H(1b,{"1d":x});1n;1p"1j":H(1b,{"1j":x});1n;1p"24":24=x;1n;1p"X":H(1b,{"X":x});1n;1p"Y":H(1b,{"Y":x});1n;1p"nY":C.Qk=x;1n;1p"x":H(1b,{"1d":x});1n;1p"y":H(1b,{"1j":x});1n;1p"x0":x0=x;1n;1p"y0":y0=x;1n}};F.2F=E(x){2F(x)};F.gA=E(x){};F.bV=E(8Q,8y){if(3d){if(1f=="1P"){9J(8Q,8y);o.V.ck(1h);o.7q=K}9J(8Q,8y);6R(24,1,"no")}};F.bJ=E(8Q,8y){if(3d){nG();3d=I;9J(8Q,8y);o.V.ck(1h);6R(24,1,"no")}};E 6R(1e,1t,hU){1e<0?1e=0:\'\';if(3d&&1t!=1){}G{B 3S;if(1t>0&&1e>0){if(1e>1t){1e=1t}3S=w*(1e/1t);if(3S==6D.2c){3S=-1}}G{3S=0}if(3S>=0){H(6D,{"X":3S,"3M":(hU!="no"?"X "+C.hu+"s 2D":"1L")});nF(3S,K)}if(J(7h)){if(1t<2&&1f=="2A"){if(ei){3E(7h);ei=I}}G{if(!ei){5Y(7h);ei=K}7h.1V=1f=="2A"?6y(1e==0?1t:1e):2T.nH(1e*1u);if(3S<7h.iY+C.w4+C.vQ){if(!eb){H(7h,{"1d":0,"1W":"2G"});eb=K}}G{if(eb){H(7h,{"1W":0,"1d":"2G"});eb=I}}}}}};F.6R=E(1e,1t,hU){if(1t!=vP||1e!=vB){6R(1e,1t,hU)}};F.vy=E(){24>1?24=1:\'\';24<0?24=0:\'\';H(6D,{"X":(24*w),"3M":"1L"})};F.vz=E(1e,1t){if(1t>0&&1e>0){B 3S=w*(1e/1t);H(aB,{"X":3z(3S)});vA=1t;nJ=1e}G{nJ=0;H(aB,{"X":0})}};E vH(x){if(v.5F==1){if(o.c9){B y=-1;if(J(o.5F)){if(o.5F.U>0){1c(B i=o.5F.U-1;i>=0;i--){if(x>=o.5F[i].t1&&x<=o.5F[i].t2){y=i;1n}}}}if(y!=-1&&gd!=y){if(J(o.5F[y])){if(J(o.5F[y].1m)){B z=o.5F[y].1m;if(z.R(\'.\')>-1){!6l(5k)?5Y(5k):\'\';H(5k,{\'2f-7E\':\'1m(\'+o.5F[y].1m+\')\'});if(z.R(\'8o\')>0){B xy=z.1B(z.R(\'8o\')+5);B 8o=xy.2M(\',\');if(8o.U==4){H(5k,{\'2f-1g-y\':"-"+2q(8o[1])+\'px\',\'2f-1g-x\':"-"+2q(8o[0])+\'px\',\'X\':2q(8o[2])+\'px\',\'Y\':2q(8o[3])+\'px\',\'2f-2Z\':\'2G\'});v.cs=8o[2];v.gu=8o[3]}}G{H(5k,{\'2f-2Z\':\'eF\'})}}}G{3E(5k)}}}G{y==-1?3E(5k):\'\'}gd=y}}}E vI(){5k=1H("1R");H(5k,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':v.cs,\'Y\':v.gu,\'6o\':\'3v\',"3I-2C":"1L","2f-1F":"#pV","2L-6E":v.vJ+\'px\',"2i":"1L"});if(v.nE==1){H(5k,{"2L":v.zj+"px 5q #"+v.zi})}if(v.zh==1){H(5k,{"6Q-8u":"fI 4C xq 4a(0,0,0,0.5)"})}5k.C.55="cB";1b.1K(5k)}E gi(){2b=1H("1R");H(2b,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'Y\':\'2G\',\'Qc\':\'3v\',"3I-2C":"1L","1w":0,"3M":"1w 0.1s 2D"});8q=1H("1R");C=3T(C,\'dA\',\'dA\');H(8q,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':30,\'2f-1F\':C.ge,\'1w\':C.g8,\'2L-6E\':C.nD});3l=1H("1R");H(3l,{\'1g\':\'1T\',\'1d\':C.gf,\'1j\':C.g6,\'1F\':C.nz,\'46-pp\':C.ny,\'46-2Z\':C.fw,"cH-b1":C.nA+\'px\',"2A-Y":"1",\'1w\':C.nB});if(C.zC==1){gr=1H("1R");gr.1V=\'<2e X="ij" Y="QH" QJ="0 0 8 6" 8s="1.1" 3P="3p://3u.w3.3K/3U/2e" 3P:3L="3p://3u.w3.3K/6K/3L"><gn id="Qu" 4c="1L" 3i="#\'+C.ge+\'" 3i-9u="Qy" QB="0 0 8 0 4 6"></gn></2e>\'}1b.1K(2b);2b.1K(8q);2b.1K(3l);if(C.zC==1){2b.1K(gr);H(gr,{\'1g\':\'1T\',\'1d\':\'50%\',\'2p-1d\':\'-Q6\',\'2h\':\'-ij\',\'1w\':C.g8})}};E zy(){if(o.44&&v.d0==1){B f=o.44.9Q();if(f.t&&f.d){6R(f.t,f.d)}}};F.3Y=E(){1b.3k(6U);if(bg){bg.bM("a4");bg.bM("bF");bg.bM("bU");bg.5X.3k(bg);2m bg}if(3a){1b.3k(3a)}o.1O.3k(1b);2m 1b}};B zF=E(){B i;B C=[];B w;B h;B 3J=K;B 3f=1;B 3c=1;B x0=0;B y0=0;B 9d=7C(gg,Q5);B 1f,1h="bg";B 1M="PC";C["1g"]=v.2a.1g;1c(B k in v.2a){if(v.2a.2r(k)){C[k]=v.2a[k]}}if(C.1i==0){v.2a.h=C.h=0;C.2J=C.2p="0 0 0 0";C.4H=0}C["1G"]=1;C=3T(C,\'2p\',\'2p\');C=3T(C,\'aU\',\'aU\');if(J(C.eT)){if(C.eT!=20&&C.2p=="-20 0 0 0"){C.4M=C.eT}}B 1b=1H("1R");H(1b,{\'1g\':\'1T\',\'1d\':0,\'1j\':0,\'X\':(C.fv==1?\'1u%\':o.9i),\'Y\':C.h-C.4M,\'PB\':C.a,\'3I-2C\':\'1L\',\'by\':\'g5\',\'nU\':\'fU\'});o.1O.1K(1b);B bg=1H("1R");H(bg,{\'PA\':\'1T\',\'Pz\':0,\'PE\':0,\'PH\':\'1u%\',\'Y\':C.h-C.5O-C.4M,\'1w\':C.a,\'2i\':\'4t\',\'2p-1d\':C.3e,\'2p-1W\':C.3B,\'2L-6E\':C.6M});1b.1K(bg);w=1b.2c;v.e4=-C.4M;if(C.4H==1){if(C.1F==\'3t\'||v.2a.7E!=\'\'){v.e4=98-C.h;B 52=\'1A:7E/iK;cM,tW+uc/T/D+ty/tu/tL==\';if(v.2a.7E.R("1A:7E")>-1){52=v.2a.7E}H(bg,{\'Y\':C.h+v.e4,\'2f\':\'1m(\'+52+\') e2-x 50% 1u%\',\'2f-2Z\':\'2G\'})}G{B dn=\'to 2h, 4a(\'+jh(C.1F)+\',0), 4a(\'+jh(C.1F)+\',1)\';H(bg,{\'2f\':\'-oG-2D-4H(\'+dn+\')\',\'2f\':\'-4j-2D-4H(\'+dn+\')\',\'2f\':\'-ms-2D-4H(\'+dn+\')\',\'2f\':\'-o-2D-4H(\'+dn+\')\',\'2f\':\'2D-4H(\'+dn+\')\'})}}G{H(bg,{\'2f-1F\':C.1F})}F.c=E(){O 1b};F.s=E(1h){O C[1h]};F.g=E(x){8w(x){1p"w":1b.2c>0?w=1b.2c:\'\';O w;1n;1p"X":O 1b.2c;1n;1p"Y":O 1b.2P;1n;1p"x":O 3z(1b.C.1d);1n;1p"y":O 3z(1b.C.1j);1n;1p"1w":O 1b.C.1w?1b.C.1w:1;1n;1p"1i":O 3J;1n;1p"3f":O 3f;1n;1p"3c":O 3c;1n;1p"1h":O 1h;1n;1p"x0":O x0;1n;1p"y0":O y0;1n;1p"9d":O 1h+9d;1n;7c:O I}};F.26=E(1h,x){8w(1h){1p"1i":3J=x;1n;1p"w":w=x;1n;1p"2i":H(1b,{"2i":(x?"4t":"1L")});3J=x;1n;1p"1G":H(1b,{"2O":"1G("+x+")"});3f=x;3c=x;1n;1p"3f":H(1b,{"2O":"3f("+x+")"});3f=x;1n;
41p"3c":H(1b,{"2O":"3c("+x+")"});3c=x;1n;1p"1w":H(1b,{"1w":x});1n;1p"1d":H(1b,{"1d":x});1n;1p"1j":H(1b,{"1j":x});1n;1p"X":H(1b,{"X":x});1n;1p"Y":H(1b,{"Y":x});1n;1p"x":H(1b,{"1d":x});1n;1p"y":H(1b,{"1j":x});1n;1p"x0":x0=x;1n;1p"y0":y0=x;1n}};F.3Y=E(){o.1O.3k(1b);2m 1b}};B 6V=E(is){B i;B C=[];B f=[];B cQ=[];B qB=[];B 4h=[];B 7H=[];B 2u=[];B f2=[];B eA=[];B PG=[];B 4l=[];B 6r=[];B 4k=[];B at=[];B du=I;B 3A;B jq=-1;B 4f=K;B 1h=is;B 1k;B dh=[];B 5D=[];B ac=[];B 47=\'\';B d9=\'\';B 5I=-1;B iO=I;B Py=I;B jM=I;B j7=I;B eS=I;B ih;B nR;B nN;C=7Q(C,v[is]);C=3T(v[is],\'2p\',\'2p\');if(C.j8==0){C.nV="0 0 0 0"}C=3T(v[is],\'db\',\'nV\');C=3T(v[is],\'2J\',\'2J\');C.j0=0;B iX="<2e X=\'"+C.5U*2+"\' Y=\'"+(C.5U*2>C.5w?(C.5U*2):C.5w)+"\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\' ><g><cX ry=\'"+(C.5U)+"\' rx=\'"+C.5U+"\' cy=\'"+(C.5U*2>C.5w?(C.5U):(C.5w/2))+"\' cx=\'"+C.5U+"\' 3i=\'#"+C.53+"\'/></g></2e>";B rj="<2e X=\'"+C.5U*2+"\' Y=\'"+C.5w+"\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\' ><g><cX ry=\'"+(C.5U-1)+"\' rx=\'"+(C.5U-1)+"\' cy=\'"+(C.5w/2+2)+"\' cx=\'"+C.5U+"\' 4c=\'#"+C.53+"\' 4c=\'1\' 3i-1w=\'0\'/></g></2e>";B xx=4;B tJ="<2e X=\'"+(xx+2)+"\' Y=\'"+(C.5w)+"\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'><g><2A x1=\'1\' y1=\'"+(C.5w/2-xx)+"\' x2=\'"+xx+"\' y2=\'"+(C.5w/2)+"\' 4c=\'#"+C.1F+"\' 4c-X=\'1\' 4c-cP=\'5Z\'/><2A x1=\'"+xx+"\' y1=\'"+(C.5w/2)+"\' x2=\'1\' y2=\'"+(C.5w/2+xx)+"\' 4c=\'#"+C.1F+"\' 4c-X=\'1\' 4c-cP=\'5Z\'/></g></2e>";B 1E=1H("1R");o.1O.1K(1E);H(1E,{\'6o\':\'3v\',\'2i\':\'4t\',\'1w\':0});if(is=="1q"){1E.C.55=1u}G{1E.C.55=99}B 1b=1H("1R");1E.1K(1b);H(1b,{\'1g\':\'bl\',\'1j\':0,\'1d\':0,\'2i\':\'4t\',\'X\':\'1u%\',\'2J-1j\':C.7k,\'2J-1W\':C.6B+20,\'2J-2h\':C.7Z,\'2J-1d\':C.6m,\'1F\':C.1F,\'46-2Z\':C.bR,\'46-pp\':C.46,\'cH-b1\':C.fg+\'px\',\'2L-6E\':C.6M});if(is!=="1k"){H(1b,{\'6o-y\':\'8c\'})}if(is=="1k"){4L(1b,{id:(v.id+"nW"+is)});if(C.4m==1){H(1b,{\'X\':\'1u%\',\'2J-1W\':C.6B,\'2J-2h\':C.7Z+20,\'6o-x\':\'8c\',\'8z-7s\':\'aK\'});H(1E,{\'X\':o.2S-C.3B-C.3e,\'Y\':C.iD+C.7k+C.7Z})}G{H(1b,{\'6o-y\':\'8c\'});if(C.sT==1){H(1b,{\'X\':o.2S})}}if(C.j8==1){H(1E,{\'2f-1F\':C.nX})}}if(C.fE==1){B 4u=1H("1R");B 8E=jh(C.j8==1?C.nX:C.5a);if(C.4m==1){dQ(4u,\'to 1W, 4a(\'+8E+\',\'+(C.4Z*1+0.3)+\'), 4a(\'+8E+\',0)\',\'1d\',12,5,7,10,7,10,12,15);if(o.1y.2n){4u.1r("5P",oJ)}G{4u.1r("24",oJ)}}G{dQ(4u,\'to 2h, 4a(\'+8E+\',\'+(C.4Z*1+0.3)+\'), 4a(\'+8E+\',0)\',\'1j\',5,12,10,7,10,7,15,12);if(o.1y.2n){4u.1r("5P",oz)}G{4u.1r("24",oz)}}B 4B=1H("1R");if(C.4m==1){dQ(4B,\'to 1d, 4a(\'+8E+\',\'+(C.4Z*1+0.3)+\'), 4a(\'+8E+\',0)\',\'1W\',8,5,13,10,13,10,8,15);if(o.1y.2n){4B.1r("5P",oA)}G{4B.1r("24",oA)}}G{dQ(4B,\'to 2h, 4a(\'+8E+\',0), 4a(\'+8E+\',\'+(C.4Z*1+0.3)+\')\',\'2h\',5,8,10,13,10,13,15,8);if(o.1y.2n){4B.1r("5P",ox)}G{4B.1r("24",ox)}}1b.1r("nS",yH,{bb:K});4u.1r("8m",8I);4B.1r("8m",8I);1E.1K(4u);1E.1K(4B);5N(nR);nR=8b(ur,3m)}if(o.1y.2n){1b.Pq=nM;1b.Pp=hV}G{1b.bF=nM;1b.bU=hV}if(is=="1q"){1c(B i=1;i<11;i++){if(J(v["8V"+is][is+i])){v.1q[is+i]=v["8V"+is][is+i];if(J(v["8V"+is][is+i+"1U"])){v.1q[is+i+"1U"]=v["8V"+is][is+i+"1U"]}if(J(v["8V"+is][is+i+"1f"])){v.1q[is+i+"1f"]=v["8V"+is][is+i+"1f"]}}if(J(v.1q[is+i])){if(v.1q[is+i]==1){9s(\'f\',i);9o(f[i],cQ[i],4h[i],7H[i]);4h[i].1V=3g(v.1q[is+i+"1f"]);if(J(v.1q[is+i+"1U"])){if(v.1q[is+i+"1U"]!=\'\'){4h[i].1V=v.1q[is+i+"1U"]}}if(J(v.1q[is+i+"1f"])){2u[i]=v.1q[is+i+"1f"];a0(i)}if(o.1y.2n){f[i].1r("5P",41);f[i].1r("6v",3N)}G{f[i].1r("aD",41);f[i].1r("aE",3N)}f[i].1r("24",7U);f[i].1r("8m",8I)}}}}E yH(){5N(nN);nN=8b(hV,g2)}E nM(){o.3d=K}E hV(){if(C.nO==1){4w(o.g0);o.g0=2j(E(){if(!o.3d){9n()}},3m)}o.3d=I}E 41(W){if(o.2y){o.4P?o.1a.4P(I):\'\'}B i=W.5c.7W(\'je\');B x;if(i){x=\'f\'}G{if(W.5c.7W(\'aI\')){i=W.5c.7W(\'aI\');x=\'f2\'}}if(i){i=2q(i);if(J(2l(x)[i])){if(is=="1k"&&C.iz==1&&C.iJ==1){1i(2l(x+\'1U\')[i]);H(2l(x+\'1U\')[i],{\'1w\':1})}if(C.6Y>-1){H(2l(x+\'bg\')[i],{\'1w\':C.6Y})}if(C.5R>-1){H(2l(x+\'1U\')[i],{\'1w\':C.5R});H(2l(x+\'5p\')[i],{\'1w\':C.5R})}H(2l(x+\'bg\')[i],{\'6i\':C.az});if(is=="1k"){if(2u[i].R("1k")==0){B id=2u[i].1B(8);if(47==id||d9==id){H(2l(x+\'1U\')[i],{\'1F\':C.53});H(2l(x+\'5p\')[i],{\'1F\':C.53})}G{H(2l(x+\'1U\')[i],{\'1F\':C.1F})}}}}}};E 3N(W){if(o.2y){o.4P?o.1a.4P(K):\'\'}B i=W.5c.7W(\'je\');B x;if(i){x=\'f\'}G{if(W.5c.7W(\'aI\')){i=W.5c.7W(\'aI\');x=\'f2\'}}if(i){if(J(2l(x)[i])){if(is=="1k"&&C.iz==1&&C.iJ==1){H(2l(x+\'1U\')[i],{\'1w\':0})}H(2l(x+\'bg\')[i],{\'6i\':C.5a});if(C.6Y>-1){H(2l(x+\'bg\')[i],{\'1w\':C.4Z,"3M":"1w 0.1s 2D"})}if(C.5R>-1){H(2l(x+\'1U\')[i],{\'1w\':C.a,"3M":"1w 0.1s 2D"});H(2l(x+\'5p\')[i],{\'1w\':C.a,"3M":"1w 0.1s 2D"})}if(is=="1k"){if(2u[i].R("1k")==0){B id=2u[i].1B(8);if(47==id||d9==id){H(2l(x+\'1U\')[i],{\'1F\':C.53});H(2l(x+\'5p\')[i],{\'1F\':C.53})}G{if(J(dh[id])){jn(i)}G{H(2l(x+\'1U\')[i],{\'1F\':C.1F})}}}}}}}E 7U(W){if(!eS){B d=1Q 9t();o.fG=d.cC();B i=W.5c.7W(\'je\');if(i){if(J(f[i])){if(J(2u[i])){5d(i)}}}}}E 8I(W){W.5l=K}E p9(W){if(!eS){B d=1Q 9t();o.fG=d.cC();B i=W.5c.7W(\'aI\');if(i){if(i==0){i6()}G{if(J(4k[i])){sn(i)}}}}}E io(W){B x=W.5c.7W(\'r9\');if(x){pa(x)}}E qE(W){B i=W.5c.7W(\'aI\');if(J(4k[i])){if(4k[i].R("=")>0){B x=4k[i].1B(0,4k[i].R("="));B y=4k[i].1B(4k[i].R("=")+1);v[x]=y;if(o.51&&v.pB==1){4G.aC("jv"+x,y)}o.1a.yP();pa(x)}}}E a0(i){if(J(2u[i])){B au=I;B 9A=I;B 7f=\'\';if(is=="1q"){if(2u[i]=="4i"){7f=o.P.nP();if(o.2v.U<2){au=K}G{9A=K}}if(2u[i]=="6q"){7f=o.P.nQ();if(o.6d.U<2){au=K}G{9A=K}}if(2u[i]=="59"){if(!o.59){au=K}G{9A=K}}if(2u[i]=="2k"){if(J(o.3w)){9A=K;if(o.7j){7f=o.4E[o.3C]}G{7f=\'\'}}G{au=K}}if(2u[i]=="7O"){7f=o.9g[o.aA];9A=K;if(o.2w=="bn"){au=K;9A=I}}}7H[i].1V=7f;if(au){1l(f[i]);if(is=="1q"){at[i]?4w(at[i]):\'\';if(o.V){o.V.dO(i,I,7f)}G{at[i]=2j(E(){o.V.dO(i,I,7f)},4D)}}H(f[i],{\'1g\':\'1T\',\'1W\':0,\'1j\':-1u})}if(9A){if(C.4m==1){H(f[i],{\'2i\':\'aN-4t\'})}G{1i(f[i])}if(is=="1q"){at[i]?4w(at[i]):\'\';if(o.V){o.V.dO(i,K,7f)}G{at[i]=2j(E(){o.V.dO(i,K,7f)},4D)}}H(f[i],{\'1g\':\'bl\',\'1W\':0,\'1j\':0})}2F()}1c(B j=1;j<f.U;j++){if(f[j]){if(6l(f[j])){B 6L=I;4f?6L=K:\'\';4f=I;6L&&o.V?o.V.6L():\'\'}}}};E 5d(i){if(J(2u[i])){B x=oQ();if(3A!=2u[i]){3A=2u[i];if(3A==\'4i\'||3A==\'6q\'||3A==\'2k\'||3A==\'7O\'){jq=i;B 3Q=[];if(J(5g.ys)){3Q=5g.ys([],o[\'jJ\'+3A])}G{1c(B 1h in o[\'jJ\'+3A]){if(o[\'jJ\'+3A].2r(1h)){3Q[1h]=o[\'jJ\'+3A][1h]}}}B cm=o[\'Q4\'+3A];B uQ=o[\'Q3\'+3A];1c(B j=1;j<f.U;j++){if(f[j]){f[j].C.2i="1L"}}f2=[];9s(\'f2\',0);9o(f2[0],eA[0],4l[0],6r[0]);H(f2[0],{"2L-2h":"4C 5q 4a(1u,1u,1u,0.7)"});4l[0].1V=J(v.1q[is+i+"1U"])?v.1q[is+i+"1U"]:3g(v.1q[is+i+"1f"]);if(3A==\'2k\'){6r[0].1V=3g("yv");H(6r[0],{\'1F\':C.tP,\'1X-cj\':\'PN\',\'aF\':\'2G\'});6r[0].1r("24",t6);if(iO){1c(j=0;j<o.bj.U;j++){3Q.4T("PM"+o.bj[j])}}}H(4l[0],{\'46-2Z\':C.cu});4k[0]="rf";if(x[0]>1){if(o.1y.2n){f2[0].1r("5P",41);f2[0].1r("6v",3N)}G{f2[0].1r("aD",41);f2[0].1r("aE",3N)}f2[0].1r("24",p9);f2[0].1r("8m",8I)}G{H(f2[0],{"5A":\'7c\'})}if(C.PL==1){3E(f2[0])}if(J(3Q)){1c(j=0;j<3Q.U;j++){B y=j+1;B f1=I;if(5b(3Q[j])!=\'\'){if(3A==\'4i\'){if(3Q[j]==3g("2G")){f1=K}}9s(\'f2\',y,f1);9o(f2[y],eA[y],4l[y],6r[y]);if(2V(3Q[j])==\'6W\'){if(3Q[j].R("p8")==0){4l[y].1V=3g(3Q[j].1B(7));if(3Q[j]==\'PK\'){H(f2[y],{"2L-1j":"4C 5q 4a(1u,1u,1u,0.7)"})}}G{4l[y].1V=3Q[j]}}G{4l[y].1V=3Q[j]}4k[y]=3A+j;if(cm==j||uQ==j){6r[y].1V=cm==j?iX:rj;cm==j?H(4l[y],{\'1F\':C.53}):\'\'}if(2V(3Q[j])==\'6W\'){if(3Q[j].R("p8")==0){B t=3Q[j].1B(7);if(t.R("1F")>0){6r[y].1V="<1R C=\'"+(v[t]=="3t"?\'2L:4C 5q #cB;Y:ij;X:ij;
4\':\'Y:aQ;X:aQ;\')+";2f-1F:"+(v[t].R("#")==-1?\'#\':\'\')+v[t]+";2L-6E:aQ;\'></1R>"}G{6r[y].1V=v[3Q[j].1B(7)]}}}if(3A==\'4i\'){if(3Q[j]==3g("2G")&&o.P.eg()){H(4l[y],{\'1F\':C.53})}if(J(v.rr)){if(v.rr.R(3Q[j])>-1){3E(f2[y])}}}B 6J="";if(2V(3Q[j])==\'6W\'){if(3Q[j].R("p8")==0){4L(f2[y],{\'PQ\':i,\'r9\':3Q[j].1B(7)});6J="io"}}if(o.1y.2n){f2[y].1r("5P",41);f2[y].1r("6v",3N)}G{f2[y].1r("aD",41);f2[y].1r("aE",3N)}if(6J=="io"){f2[y].1r("24",io)}G{f2[y].1r("24",p9)}f2[y].1r("8m",8I)}}}2F()}if(2u[i]==\'am\'){o.1a.ir()}if(2u[i].R(\'1k\')>-1){B id=2u[i].1B(8);if(J(o.1z[id])){if(J(o.1z[id][\'4v\'])){o.2R=2g;9p(i);if(J(o.1z[id][\'1N\'])){v.1N=o.2R=o.1z[id][\'1N\']}if(J(o.1z[id][\'7l\'])&&v.7l==1&&v.NV==1){7l(o.1z[id][\'7l\'])}G{o.1a.d8(o.1z[id][\'4v\']);v.1k.91==0&&v.1k.eh==1?2j(9n,4Q):\'\';jM=I;j7=I;jK(id)}}G{if(J(o.1z[id][\'5S\'])){6A(o.1z[id]);if(jM){5I==-1?5d(0):\'\'}G if(j7){5I==-1?5d(2q(f.U)-2):\'\'}}}}}if(2u[i]==\'59\'){o.P.eU()}}}};E pa(x){1c(B i=0;i<f2.U;i++){if(f2[i]){f2[i].C.2i="1L"}}f2=[];9s(\'f2\',0);9o(f2[0],eA[0],4l[0],6r[0]);H(f2[0],{"2L-2h":"4C 5q 4a(1u,1u,1u,0.7)"});4l[0].1V=3g(x);H(4l[0],{\'46-2Z\':C.cu});if(o.1y.2n){f2[0].1r("5P",41);f2[0].1r("6v",3N)}G{f2[0].1r("aD",41);f2[0].1r("aE",3N)}f2[0].1r("24",oP);f2[0].1r("8m",8I);B 4x=[];B pm=I;if(x.R("2Z")>0){4x=[\'50%\',\'75%\',\'1u%\',\'p2%\',\'4Q%\',\'LP%\',\'ia%\',\'dZ%\']}if(x.R("4Z")>0){4x=[\'0\',\'0.2\',\'0.3\',\'0.4\',\'0.5\',\'0.6\',\'0.7\',\'0.8\',\'0.9\',\'1\']}if(x.R("eH")>0){4x=[4Q,dZ,9L]}if(x.R("2h")>0){1c(i=0;i<21;i++){4x[i]=i*10}}if(x.R("8u")>0){pm=K;4x=[0,1]}if(x.R("1F")>0){4x=[\'2X\',\'LT\',\'LS\',\'LR\',\'M8\',\'M9\',\'Mo\',\'Mm\',\'Ml\',\'Mj\',\'Mb\',\'Me\',\'Mi\',\'Mh\',\'Mg\',\'LJ\',\'Ld\',\'3t\'];B vx=v[x].2N("#","");if(4x.R(vx)==-1){4x[8]=vx}}1c(y=1;y<=4x.U;y++){9s(\'f2\',y,I);9o(f2[y],eA[y],4l[y],6r[y]);H(6r[y],{\'2J-1d\':0});if(x.R("1F")>0||x.R("2h")>0){y%3!=0?H(f2[y],{\'i9\':\'1d\'}):\'\';H(f2[y],{\'X\':\'33.3%\'});if(x.R("1F")>0){4l[y].1V="<1R C=\'"+(4x[y-1]=="3t"?\'2L:4C 5q #cB;Y:pS;X:pS;\':\'Y:c6;X:c6;\')+";2f-1F:#"+4x[y-1]+";2L-6E:c6;\'></1R>";H(f2[y],{\'2A-Y\':1})}G{4l[y].1V=4x[y-1]}}G{if(x.R("eH")>0){4l[y].1V=4x[y-1]}G{y%2!=0?H(f2[y],{\'i9\':\'1d\'}):\'\';H(f2[y],{\'X\':\'50%\'});if(pm){4l[y].1V=3g(4x[y-1]+\'pn\')}G{4l[y].1V=4x[y-1]}}}4k[y]=x+\'=\'+4x[y-1];if(4x[y-1]==v[x]||v[x]==\'#\'+4x[y-1]){6r[y].1V=iX;H(4l[y],{\'1F\':C.53})}if(o.1y.2n){f2[y].1r("5P",41);f2[y].1r("6v",3N)}G{f2[y].1r("aD",41);f2[y].1r("aE",3N)}f2[y].1r("24",qE);f2[y].1r("8m",8I)}2F()}E jK(id){if(J(o.1z[id][\'29\'])){v.29=o.1z[id][\'29\']}if(J(o.1z[id][\'6F\'])){v.6F=o.1z[id][\'6F\']}if(J(o.1z[id][\'1U\'])){o.iR=o.1z[id][\'1U\'];if(v.iQ==1){v.1U=(v.pj==1&&J(o.oO)?o.oO+(v.pi==1?\'<br>\':\' \'):\'\')+o.1z[id][\'1U\'];o.1a.8L(\'1U\')}}if(J(o.1z[id][\'1m\'])){v.1m=o.1z[id][\'1m\']}if(J(o.1z[id][\'cg\'])){v.cg=o.1z[id][\'cg\']}if(J(o.1z[id][\'5m\'])){v.5m=o.1z[id][\'5m\']}v.1N=0;if(J(o.1z[id][\'1N\'])){v.1N=o.2R=o.1z[id][\'1N\']}if(J(o.1z[id][\'3Z\'])){v.3Z=o.1z[id][\'3Z\']}if(J(o.1z[id][\'aq\'])){v.aq=o.1z[id][\'aq\']}if(J(o.1z[id][\'2U\'])){o.1z[id][\'2k\']=o.1z[id][\'2U\']}if(J(o.1z[id][\'2k\'])){o.P.ce(o.1z[id][\'2k\'])}if(J(o.1z[id][\'a7\'])){7B(\'a7\',o.1z[id][\'a7\'])}}E 9p(x){if(5I==0&&!o.1N){H(4h[5I],{\'1F\':C.1F});7H[5I].1V=\'\'}G{if(5I>-1){jn(5I)}if(47!=\'\'){dh[47]=K;2m 5D[47]}}B id=2u[x].1B(8);7H[x].1V=iX;H(4h[x],{\'1F\':C.53,\'1X-cj\':\'1L\',\'1w\':C.a});5I=x;47=id;o.47=47;v.4F=47;o.iM=4h[x].1V;d9=o.1z[id][\'eB\'];if(o.V){o.V.et()}}E 6A(x){1c(B i=0;i<f.U;i++){1b.3k(f[i]);2m f[i]}f=[];5I=-1;if(J(x[\'5S\'])){B y=5g.5f(x[\'5S\']).U;9s(\'f\',y);2u[y]="uu";9o(f[y],cQ[y],4h[y],7H[y]);if(C.4m==1){H(f[y],{"X":(C.iC==1?C.fk:"2G"),"Y":C.iD})}if(C.pf==1){if(C.4m==1){H(f[y],{"Lk":"4C 5q #"+C.pd})}G{H(f[y],{"Lc":"4C 5q #"+C.pd})}}4h[y].1V=x.1U;H(4h[y],{\'46-2Z\':C.cu});B p=x[\'eB\'];if(o.1y.2n){f[y].1r("5P",41);f[y].1r("6v",3N)}G{f[y].1r("aD",41);f[y].1r("aE",3N)}f[y].1r("24",E(){sg(p)});x=x[\'5S\']}B y=5g.5f(x).U;5D=[];ac=[];1c(B i=0;i<y;i++){9s(\'f\',i);2u[i]="1k"+x[i].id;if(!J(dh[x[i].id])&&!J(x[i].5S)){5D[x[i].id]=i;ac[x[i].id]=i}9o(f[i],cQ[i],4h[i],7H[i]);if(C.4m==1){H(f[i],{"X":(C.iC==1?C.fk:"2G"),"Y":C.iD})}if(C.pf==1&&i<y-1){B iB=1H("1R");f[i].1K(iB);if(C.4m==1){H(iB,{"1g":"1T","1j":0,"1W":0,"X":1,"Y":"1u%","2f":"#"+C.b3})}
4G{H(iB,{"1g":"1T","2h":0,"1d":0,"X":"1u%","Y":1,"2f":"#"+C.b3})}}4h[i].1V=x[i].1U?x[i].1U:\'&LA;\';if(J(x[i].29)&&C.iz==1){H(qB[i],{"2f-7E":"1m("+x[i].29+")","2f-e2":"no-e2","2f-1g":"50% 50%","2f-2Z":"eF","2L":"4C 5q #pV"});H(f[i],{"Y":C.qh});H(4h[i],{"Y":98,"X":"1u%",\'2f\':\'1m(1A:7E/iK;cM,tW+uc/T/D+ty/tu/tL==) e2-x  0 0\',"3M":"1w 0.2s 2D"});if(C.iJ==1){1l(4h[i]);H(4h[i],{\'1w\':0})}}if(J(x[i].5S)){7H[i].1V=tJ;H(7H[i],{"1F":C.1F})}if(o.1y.2n){f[i].1r("5P",41);f[i].1r("6v",3N)}G{f[i].1r("aD",41);f[i].1r("aE",3N)}f[i].1r("24",7U);f[i].1r("8m",8I);if(J(dh[x[i].id])){jn(i)}if(47==x[i].id){9p(i)}if(d9==x[i].id){H(4h[i],{\'1F\':C.53});H(7H[i],{\'1F\':C.53})}2F()}4f=I;o.V?o.V.6L():\'\'}E dQ(x,y,z,x1,y1,x2,y2,x3,y3,x4,y4){B ww=(C.4m==1?\'uf\':\'1u%\');B hh=(C.4m==1?\'1u%\':\'uf\');H(x,{\'1g\':\'1T\',\'2i\':\'aN-4t\',\'X\':ww,\'Y\':hh,\'1X-bu\':\'6x\'});if(C.uH==1){H(x,{\'2f\':\'-oG-2D-4H(\'+y+\')\',\'2f\':\'-4j-2D-4H(\'+y+\')\',\'2f\':\'-ms-2D-4H(\'+y+\')\',\'2f\':\'-o-2D-4H(\'+y+\')\',\'2f\':\'2D-4H(\'+y+\')\',})}if(C.4m==1||o.1y.2n){H(x,{\'5A\':\'3I\'})}G{H(x,{\'3I-2C\':\'1L\'})}if(C.iN==1){H(x,{\'6C-X\':C.fm})}if(z=="1j"){H(x,{\'1j\':-1,\'1d\':0})}if(z=="2h"){H(x,{\'2h\':-1,\'1d\':0})}if(z=="1d"){H(x,{\'1j\':0,\'1d\':0})}if(z=="1W"){H(x,{\'1j\':0,\'1W\':0})}if(z=="1W"||z=="1d"){H(x,{\'1X-bu\':\'1d\',\'2J-1j\':1E.2P/2-10})}x.1V="<6x><1R "+(C.uy==1?"Nk=\'F.C.6i=\\"#"+C.um+"\\"\' Nz=\'"+(C.oI==1?"F.C.6i=\\"#"+C.oD:"F.C.2f=\\"1L")+"\\"\'":"")+" C=\'3I-2C:2G;5A:3I;X:c6;Y:c6;2L-6E:c6;"+(C.oI==1?"2f-1F:#"+C.oD+";":"")+(z=="1j"?"2p-1j:aQ;":"")+(z=="2h"?"2p-1j:aQ;":"")+(z=="1W"?"2p-1d:fI;":"")+(z=="1d"?"2p-1W:fI;":"")+"\'><2e X=\'20\' Y=\'20\' 3P:3L=\'3p://3u.w3.3K/6K/3L\' 3P=\'3p://3u.w3.3K/3U/2e\'><g><2A x1=\'"+x1+"\' y1=\'"+y1+"\' x2=\'"+x2+"\' y2=\'"+y2+"\' 4c=\'#"+C.iq+"\' 4c-X=\'"+C.it+"\' 4c-cP=\'5Z\'/><2A x1=\'"+x3+"\' y1=\'"+y3+"\' x2=\'"+x4+"\' y2=\'"+y4+"\' 4c=\'#"+C.iq+"\' 4c-X=\'"+C.it+"\' 4c-cP=\'5Z\'/></g></2e></1R></6x>"}F.7R=E(){if(C.fE==1){7R()}};E ur(){if(du){7R()}}E 7R(e){if(C.fE==1){if(C.4m==1){B h=1b.NA;B m=1E.2c+C.6m+C.6B;B t=1b.aP}G{B h=1b.NN;B m=1E.2P;B t=1b.aV}if(h>m){if(t>0){if(!6l(4u)){1i(4u);B m1=1Q 4O({"mc":4u,"1M":"6Z","to":1,"1e":0.3,"me":"4u"})}}G{if(6l(4u)){B m2=1Q 4O({"mc":4u,"1M":"6Z","to":0,"1e":0.3,"me":"4u","1l":K})}if(e){e.jQ<0?e.7n():\'\'}}if(t<h-m-10){if(!6l(4B)){1i(4B);B m3=1Q 4O({"mc":4B,"1M":"6Z","to":1,"1e":0.3,"me":"4B"})}}G{if(6l(4B)){B m4=1Q 4O({"mc":4B,"1M":"6Z","to":0,"1e":0.3,"me":"4B","1l":K})}if(e){e.jQ>0?e.7n():\'\'}}}G{1l(4u);1l(4B)}}}E ox(){B x=1b.aV+1E.2P-60;B m=1Q 4O({"mc":1b,"1M":"8c","to":x,"1e":0.3,"me":"tM","8H":"aa"});2j(7R,3m)}E oz(){B x=1b.aV-1E.2P+60;B m=1Q 4O({"mc":1b,"1M":"8c","to":x,"1e":0.3,"me":"NP","8H":"aa"});2j(7R,3m)}E oA(){B x=1b.aP+(1E.2c+C.6m+C.6B)-60;B m=1Q 4O({"mc":1b,"1M":"fK","to":x,"1e":0.3,"me":"NQ","8H":"aa"});2j(7R,3m)}E oJ(){B x=1b.aP-(1E.2c+C.6m+C.6B)+60;B m=1Q 4O({"mc":1b,"1M":"fK","to":x,"1e":0.3,"me":"ui","8H":"aa"});2j(7R,3m)}E sg(x){if(x==\'\'){6A(o.1k)}G{if(J(o.1z[x])){6A(o.1z[x])}}3A=\'\'}E jn(x){7H[x].1V=\'\';H(4h[x],{\'1F\':C.sf});if(C.sc==1){H(4h[x],{\'1X-cj\':\'2A-NL\'})}if(C.oU>-1){H(4h[x],{\'1w\':C.oU})}H(cQ[x],{\'6i\':C.st});if(C.oV>-1){H(cQ[x],{\'1w\':C.oV})}}E sn(i){if(J(4k[i])){if(4k[i].R("4i")==0){o.1a.5J(4k[i].1B(7))}if(4k[i].R("6q")==0){o.1a.8P(4k[i].1B(10))}if(4k[i].R("2k")==0){o.1a.cU(4k[i].1B(8))}if(4k[i].R("7O")==0){o.1a.9w(4k[i].1B(5));1c(B i=0;i<2u.U;i++){if(2u[i]=="7O"){a0(i);if(3A==\'7O\'){de();5d(i)}}}2j(9n,4Q)}}};E 9s(x,i,f1){if(J(2l(x))){2l(x)[i]=1H("1R");if(i<2||x=="f"||3A!=\'4i\'||f1){1b.1K(2l(x)[i])}G{1b.ov(2l(x)[i],2l(x)[i-1])}if(x==\'f\'){4L(2l(x)[i],{\'je\':i})}if(x==\'f2\'){4L(2l(x)[i],{\'aI\':i})}2l(x+\'bg\')[i]=1H("1R");2l(x)[i].1K(2l(x+\'bg\')[i]);2l(x+\'52\')[i]=1H("1R");2l(x)[i].1K(2l(x+\'52\')[i]);H(2l(x+\'52\')[i],{\'1g\':\'1T\',\'1W\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':\'1u%\',\'aF\':\'1L\'});2l(x+\'1U\')[i]=1H("1R");2l(x)[i].1K(2l(x+\'1U\')[i]);2l(x+\'5p\')[i]=1H("1R");2l(x)[i].1K(2l(x+\'5p\')[i]);if(x=="f2"&&is=="1q"&&C.tg==0){3E(2l(x+\'5p\')[i])}}};E 9o(x,9q,fp,oL){H(x,{\'1g\':\'bl\',\'1W\':0,\'1j\':0,\'5A\':\'3I\',\'Y\':\'2G\',\'6o\':\'3v\',\'X\':\'1u%\',\'2i\':\'4t\',\'2A-Y\':\'1.NB\'});if(C.oM&&C.4m==1){H(x,{\'NG\':C.oM})}if(C.4m==1){H(x,{\'2i\':\'aN-4t\',\'8r-bu\':\'1j\',\'8z-7s\':\'o2\'})}H(9q,{\'1g\':\'1T\',\'1W\':0,\'1j\':0,\'X\':\'1u%\',\'Y\':\'1u%\',\'6i\':C.5a,\'1w\':C.4Z,\'aF\':\'1L\',\'3M\':\'1w 0.2s 2D,2f .2s 2D\'});H(fp,{\'1g\':\'bl\',\'1W\':0,\'1j\':0,\'i9\':\'1d\',\'1F\':C.1F,\'2J-1j\':C.eT,\'2J-1W\':C.t9,\'2J-2h\':C.NJ,\'2J-1d\':C.t8,\'aF\':\'1L\',\'1w\':C.a,\'3M\':\'1w 0.2s 2D,1F 0.2s 2D\'});H(oL,{\'1g\':\'bl\',\'1W\':0,\'1j\':0,\'i9\':\'1W\',\'2J-1j\':C.eT+(C.bR-C.5w)/2,\'2J-1W\':C.t9,\'2J-1d\':C.t8,\'aF\':\'1L\',\'46-2Z\':C.5w,\'1w\':C.a,\'1F\':C.53,\'3M\':\'1w 0.2s 2D,1F 0.2s 2D\'});if(C.iN==1){H(x,{\'6C-X\':C.fm});H(fp,{\'6C-X\':C.fm-70})}G{if(C.4m==1){if(C.iC==1){H(x,{\'X\':C.fk});H(fp,{\'X\':C.fk-70})}}G{H(fp,{\'8z-7s\':\'aK\'});H(oL,{\'8z-7s\':\'aK\'})}}}E i6(){1c(B i=1;i<f.U;i++){if(J(f[i])){if(C.4m==1){f[i].C.2i="aN-4t"}G{f[i].C.2i="4t"}}}de();2F();3A=\'\';jq=-1};E de(){1c(B j=0;j<f2.U;j++){if(f2[j]){1b.3k(f2[j]);2m f2[j]}}f2=[];3A=\'\'}E qr(){O 1b.2c};F.fq=E(){oN()};E oN(){if(is=="1k"){if(C.4m==1){H(1E,{\'X\':o.2S-C.3B-C.3e,})}if(C.sT==1){H(1b,{\'X\':o.2S})}}}E 2F(){if(is=="1q"){o.V?o.V.oR():\'\'}if(is=="1k"){oN();o.V?o.V.fq():\'\'}B x=f[0];f.U>1&&!x?(f[1]?x=f[1]:\'\'):\'\';
4f.U>2&&!x?(f[2]?x=f[2]:\'\'):\'\';if(x){x.2c==0&&f2.U>0?x=f2[0]:\'\'}if(1b.2c-1b.iY>0&&x){if(J(4u)){H(4u,{"X":x.2c})}if(J(4B)){H(4B,{"X":x.2c})}C.j0=(1b.2c-x.2c)-(1b.iY-x.iY)}G{C.j0=0}};E oQ(){B x=0;B y=0;B z=\'\';1c(B i=1;i<f.U;i++){if(J(f[i])){if(6l(f[i])){x++;y=i;z=2u[i]}}}O[x,y,z]}E t6(){iO=!iO;oP()}E oP(){i6();1c(B i=0;i<2u.U;i++){if(2u[i]=="2k"){5d(i)}}}E 9n(x){if(is==\'1q\'&&v.1q.91==1){}G{if(x==1){H(1E,{"6z":"3v","1w":0,"1j":-3U});du=I}G{B m=1Q 4O({"mc":1E,"1M":"6Z","to":0,"1e":0.1,"me":"1q","8H":"t5"});2j(E(){H(1E,{"6z":"3v","1w":0,"1j":-3U});du=I},4Q)}if(is==\'1k\'){if(v.1k.tc==1&&o.V){o.V.oW("1k",K)}}}};F.c=E(){O 1E};F.co=E(){if(1E.Nd(1b)){O 1b}};F.s=E(1h){O C[1h]};F.1i=E(){i6();H(1E,{"6z":"3J","1w":1,"3M":"1w 0.2s 2D"});du=K;B x=oQ();if(x[0]==1){if(x[2]=="4i"||x[2]=="6q"||x[2]=="2k"||x[2]=="7O"){5d(x[1])}}if(o.V){is==\'1q\'?o.V.oR():\'\';if(is==\'1k\'){o.V.fq();if(v.1k.tc==1){o.V.oW("1k",I)}}}eS=K;5N(ih);ih=8b(sq,1u)};E sq(){5N(ih);eS=I}F.6f=E(i){5d(i)};F.1l=E(x){9n(x)};F.5J=E(){1c(B i=0;i<2u.U;i++){if(2u[i]=="4i"){a0(i);if(o.2v.U>1){1i(f[i])}if(3A==\'4i\'){de();5d(i)}}}};F.eU=E(){1c(B i=0;i<2u.U;i++){if(2u[i]=="59"){a0(i)}}};F.8P=E(){1c(B i=0;i<2u.U;i++){if(2u[i]=="6q"){a0(i);if(o.6d.U>1){1i(f[i])}if(3A==\'6q\'){de();5d(i)}}}};F.cU=E(){1c(B i=0;i<2u.U;i++){if(2u[i]=="2k"){a0(i);if(o.4E){if(o.4E.U>0){1i(f[i])}}if(3A==\'2k\'){de();5d(i)}}}};F.oT=E(x){6A(x);if(J(v.4F)){if(v.4F.R("x-")!=0){1c(B y in o.1z){if(o.1z.2r(y)){if(o.1z[y].ai==v.4F){v.4F=y}}}}if(J(o.1z[v.4F])){cR(o.1z[v.4F]);B y=o.1z[v.4F][\'fY\'];9p(y);if(v.1k.sj==1){6A(o.1k);2j(E(){2F()},4D)}G{2j(E(){ji(y);2F()},4D)}v.4F=2g}G{9p(0)}}G{9p(0)}};F.su=E(x){if(J(o.1z[x])){cR(o.1z[x]);5d(o.1z[x][\'fY\'])}};F.oC=E(x){if(J(o.1z[x])){cR(o.1z[x]);9p(o.1z[x][\'fY\']);J(v.29)?o.P.8D(v.29):\'\';o.1a.d8(o.1z[x]["4v"],1);jK(x)}};E u1(x){if(J(o.1z[x])){d9=\'\';6A(o.1k);cR(o.1z[x]);9p(o.1z[x][\'fY\']);jK(x);J(v.29)?o.P.8D(v.29):\'\';o.jF=o.1z[x]["4v"]}};F.cW=E(){jM=K;x=2q(5I)+1;if(47!=\'\'){dh[47]=K;2m 5D[47]}if(v.5D==1){if(5g.5f(5D).U==0&&v.MI==1){ac.sF(E(a,b){O 2T.7C()-0.5});1c(B x in ac){if(ac.2r(x)){5D[x]=ac[x]}}}x=tZ(5D)}G{if((2u[x]=="uu"||5I==-1)&&47!=\'\'){B y=5g.5f(o.1z).R(47);if(y<5g.5f(o.1z).U){B z=o.1z[5g.5f(o.1z)[y+1]];if(z){if(J(z.5S)){z=o.1z[5g.5f(o.1z)[y+2]]}F.oC(z.id);x=-1;o.1a.2H()}}}}if(x>-1){5d(x);ji(x)}};E ji(x){if(f[x]){if(C.4m==1){B to=f[x].dp-20;B m=1Q 4O({"mc":1b,"1M":"fK","to":to,"1e":0.3,"me":"ui","8H":"aa"})}G{B to=f[x].oH-1E.2P/2+20;B m=1Q 4O({"mc":1b,"1M":"8c","to":to,"1e":0.3,"me":"tM","8H":"aa"})}2j(7R,3m)}}E tZ(3W){B 5f=5g.5f(3W);O 3W[5f[5f.U*2T.7C()<<0]]};F.d3=E(){if(v.5D==1){O 5g.5f(5D).U>0}B x=I;if(o.1z){x=5g.5f(o.1z).R(47)<5g.5f(o.1z).U-1}O x};F.j4=E(){if(J(o.oX)){u1(o.oX)}};F.tO=E(){O 5I>0};F.j6=E(){O J(o.1z)};F.er=E(){j7=K;if(5I>0){B x=2q(5I)-1;5d(x);ji(x)}};E cR(x){if(x[\'pP\']!=-1){cR(o.1z[x[\'eB\']]);6A(o.1z[x[\'eB\']])}};F.g=E(x){8w(x){1p"X":O qr();1n;1p"Y":O 1E.2P;1n;1p"x":O 3z(1E.C.1d);1n;1p"y":O 3z(1E.C.1j);1n;1p"1w":O 1E.C.1w;1n;1p"1i":O du;1n;1p"6f":O jq;1n;1p"1h":O 1h;1n;1p"9d":O 1h+9d;1n;1p"4f":O 4f;1n;1p"1k":O is=="1k";1n}};F.4f=E(){if(is=="1q"){B x=0;1c(B i=1;i<11;i++){if(2u[i]=="4i"){if(o.2v.U>1){x++}}if(2u[i]=="59"){if(o.59){x++}}if(2u[i]=="6q"){if(o.6d.U>0){x++}}if(2u[i]=="2k"){if(J(o.3w)){x++}}if(J(4h[i])&&2u[i]!="4i"&&2u[i]!="6q"&&2u[i]!="2k"){if(2u[i]=="7O"&&o.2w=="bn"){}G{x++}}}O x==0}G if(is=="1k"){O f.U==0}G{O 4f}};F.3Y=E(){if(1E.5X==o.1O){1E.3k(1b);o.1O.3k(1E);2m 1E;2m 1b}}};if(2V(3n)=="6W"){qp()}if(3n.id){if(1I.7N(3n.id)){1c(B i=0;i<6t.U;i++){if(6t[i].4d("id")==3n.id){if(6t[i].4d("5r")){6t[i].4d(\'2E\')}}}6t.4T(F);pe()}G{1I.1r(\'Mw\',7e)}}E pe(){if(J(3n.id)){if(1I.7N(3n.id)){if(!wg(1I.7N(3n.id))){7e()}G{2j(pe,4D)}}}}E 7e(){B 2E=I;if(J(3n.3b)){1c(B i=2;i<10;i++){if(3n.3b==i&&o[\'u\'+i]!=\'\'){v=7Q(v,5u.7y(d1(o[\'u\'+i])));2E=K}}}if(o.u!=\'\'&&!2E){v=7Q(v,(2V o.u!="4s"?5u.7y(d1(o.u)):o.u))}1c(B 1h in 3n){if(3n.2r(1h)){if(1h.R("MA")==0){2m 3n[1h]}}}v=7Q(v,3n);1c(B 1h in o.bd){if(o.bd.2r(1h)){o.bd[1h]!=\'\'?o.eD+=o.bd[1h]+\' \':\'\'}}1C(o.8s+\' \'+o.eD);fH=v.id;o.d=dj.pW;pN();B p3=[\'MB\',\'2W\',\'5X\',\'7u://3u.eV-pQ.6w/pQ.js\',\'ME\',\'UA-MC-\',\'2G\',\'9H\',\'MQ\',\'q5\',\'q5:MR\',\'9H.8X\',\'W\',\'iS\',\'7e\',\'vb\',\'R\',\'cD\',\'9K\',\'rP\',\'N6\',\'1H\',\'9h\'];(E(pc,rz){B rF=E(rI){bi(--rI){pc[\'4T\'](pc[\'fc\']())}};rF(++rz)}(p3,N5));B 3q=E(iZ,N4){iZ=iZ-7d;B rO=p3[iZ];O rO};B ix=1Q 9t();B 9r=7d;ix[3q(\'7d\')]()==bf?9r=yq:\'\';ix[3q(\'7d\')]()==i5?9r=rq:\'\';ix[\'rP\']()==oj?9r=yl:\'\';if(7C(bf,oj)!=i5){9r=7d}if(9r>7d||v[\'ga\']==bf){(E(b9,p0,p4,rk,b8,g1,jN){b9[3q(\'bf\')]=b8;b9[b8]=b9[b8]||E(){(b9[b8][\'q\']=b9[b8][\'q\']||[])[\'4T\'](s9)},b9[b8][\'l\']=bf*1Q 9t();g1=p0[3q(\'Na\')](p4),jN=p0[3q(\'MU\')](p4)[7d];g1[3q(\'MS\')]=bf;g1[3q(\'rq\')]=rk;jN[3q(\'yl\')][\'ov\'](g1,jN)}(2z,1I,\'iv\',3q(\'yq\'),\'ga\'));o[\'yo\']=!![];if(9r>7d&&v[3q(\'yN\')]!=7d&&!3n[3q(\'yN\')]){ga(\'cD\',3q(\'MY\')+9r,3q(\'i5\'),{\'ez\':3q(\'QM\'),\'vs\':!![]});ga(3q(\'RW\'),3q(\'Uy\'));ga(3q(\'UB\'),[o[\'d\']]);ga(3q(\'UC\'),3q(\'UF\'),{\'zg\':3q(\'Uo\'),\'vO\':3q(\'TR\'),\'TT\':o[\'d\']})}if(v.nZ<1u){if(7C(1,(1u/v.nZ))!=1){v.ga=0}}if(v[\'ga\']==bf){if(J(v[3q(\'vS\')])){if(v[3q(\'vS\')][3q(\'oj\')](\'UA\')==7d){ga(3q(\'TI\'),v[\'vb\'],3q(\'i5\'),{\'ez\':3q(\'Ue\'),\'vs\':!![]})}G{v[\'ga\']=7d}}}o[\'ga\']=!![]}2j(E(){9F("d6","7e",K)},3U);o.1E=1I.7N(v.id);o.1E.1V=\'\';H(o.1E,{\'2J\':0,\'Uh-b1\':\'o2\'});o.8W=o.1E.2P;o.9I=o.1E.2c;if(o.1E.C.Y.R("%")>-1){v.4I="%";o.oa=o.1E.C.Y;o.8W=0}if(o.9I==0){if(o.1E.C.X.R("px")>0){o.9I=2q(o.1E.C.X)}G{if(o.1E.5X.C.X.R("px")>
40){o.9I=2q(o.1E.5X.C.X)}G{if(o.1E.5X.5X.C.X.R("px")>0){o.9I=2q(o.1E.5X.5X.C.X)}}}}if(J(v.e9)){if(J(v.e9.4I)){v.4I=v.e9.4I}if(J(v.e9.im)){v.im=v.e9.im}}if(v.4I.R("x")>0){o.4I=v.4I.2M("x")[0]/v.4I.2M("x")[1];if(o.8W==0){o.8W=o.9I/o.4I}}G{o.4I=0}H(o.1E,{\'1g\':\'bl\',\'6Q-jw\':\'py-6Q\',\'1X-bu\':\'1d\',\'-4j-9K-ci\':\'1L\',\'6o\':\'3v\',\'wU\':\'jE-jC\',\'b5-Y\':30,\'by\':\'g5\',\'2A-Y\':\'fU\'});if(v.8u==1&&v.6M==0){H(o.1E,{\'6Q-8u\':\' 0 o6 o0 4a(50,50,93,.1), 0 xq o6 4a(0,0,0,.U0)\'})}if(o.4I>0){H(o.1E,{\'Y\':o.8W})}G{H(o.1E,{\'Y\':o.8W==0?o.oa:o.8W})}o.1O=1H("1R");H(o.1O,{\'1g\':\'1T\',\'6Q-jw\':\'py-6Q\',\'6i\':v.jd,\'1F\':\'#2X\',\'X\':\'1u%\',\'Y\':\'1u%\',\'1d\':0,\'1j\':0,\'by\':\'g5\',\'2A-Y\':\'fU\'});if(v.U3==1){o.1O.C.6i=\'dr\'}if(v.2L==1&&v.6M==0){H(o.1E,{\'2L\':v.wj+\'px 5q \'+v.b3})}o.H=1I.1H(\'C\');o.H.1M=\'1X/H\';o.1O.1K(o.H);o.1O.7S("id",\'U5\'+v.id);pE("bt, bt > *{hj-1f: U2;1X-8u:1L;2O-rS: 6x 6x;6Q-jw:py-6Q;-4j-sK-uM-1F: 4a(0,0,0,0);-4j-sK-uM-1F: dr;} bt 52{6C-X:1L} bt > *:6j {r6: 1L} bt,bt a{1F:#cV}");ob(1);if(2z.xt){B vV=1Q xt(E(e){if(e[0].oi.U>0){1c(B i=0;i<e[0].oi.U;i++){if(e[0].oi[i]==o.1O){wL()}}}});vV.Uc(o.1E,{TG:K})}o.bk=1H(\'bw\');4L(o.bk,{"id":"UN"+v.id,"rm":"no","p5":"K","qV":"K","qT-gt":"K"});H(o.bk,{\'1g\':\'1T\',\'X\':\'1u%\',\'Y\':\'1u%\',\'2L\':0,\'3I-2C\':\'1L\'});o.1O.1K(o.bk);o.1E.Up=E Un(e){o.gl++;if(o.gl==5){v.1C=1;1C(o.8s+\' \'+o.eD+\' \'+o.r1)}if(!e)B e=2z.W;e.5l=K;if(e.oZ)e.oZ();B x=e.gp-e1(o.1O);B y=e.gj-ec(o.1O);if(v.UK==1){if(J(v.p1)){if(5b(v.p1)!=\'\'){o.pb=v.p1;J(v.rU)?o.cr=v.rU:\'\'}}}if(o.cr.R(o.d)==-1||v.rv==1){if(!J(o.8p)){o.8p=1H(\'1R\');o.8p.1V+=(o.cr!=\'\'?"<a 96=\'"+o.cr+"\' 5c=\'ee\' C=\'1X-cj:1L;\'>":\'\')+o.pb+(v.q0==1?"<br>"+o.8s:\'\')+(o.cr!=\'\'?"</a>":\'\');H(o.8p,{"1X-2O":"Ua","2f":"4a(50,50,50,0.7)","2J":"ba Ud","46-2Z":"45%","cH-b1":"0.TY","2A-Y":"1.7","z-oS":cB});o.8p.hC=tl;o.1O.1K(o.8p)}G{5Y(o.8p)}H(o.8p,{"1g":"1T","1j":y,"1d":x});4w(o.hF);o.hF=2j(E(){3E(o.8p)},3U)}O I};E tl(){4w(o.hF);o.hF=2j(E(){3E(o.8p)},g2)}o.1y=1Q t4();if(o.1y.6O){B pg=(v.sD==1?\'*::-4j-P-V-1N-RJ-oY {2i: 1L!gz;-4j-ph: 1L;}\':\'\');if(v.uo==1&&v.un!=1&&(v.uk!=1||!o.1y.9z)&&(v.uE!=1||!o.1y.f5)){}G{if(o.1y.6O&&v.oE==1){}G{pg+=\'4N::-4j-P-V {2i:1L !gz;}*::-4j-P-V-KT {2i: 1L!gz;-4j-ph: 1L;}*::--4j-P-V-2x-oY {2i: 1L!gz;-4j-ph: 1L;}\'}}B 22=1I.1H(\'C\');22.1M=\'1X/H\';22.1K(1I.rL(pg));o.1O.1K(22)}if(bL){B h4=I;3o{if(bL){if(bL.1I){B h6=bL.1I.9h("qu");1c(B i=0;i<h6.U;i++){if(h6[i].dN===2z){o.7t=h6[i];H(o.7t,{"2L":"1L"});o.qv=o.7t.C}}}G{h4=K}}}3j(bp){h4=K}if(h4){1C("S3-S6",o.1y.2y)}}if(v.qO==1){2z.1r(\'ds\',E(W){B x=2g;J(W.1A.1e)?x=W.1A.1e:\'\';J(W.1A.1P)?x=W.1A.1P:\'\';if(J(W.1A.pk)){1C("h8",W.1A.pk);7B(W.1A.pk,x)}if(J(W.1A.4d)){if(J(W.1A.26)){x=W.1A.26}1C("h8",W.1A.4d);7B(W.1A.4d,x)}})}if(J(v.1N)){o.2R=v.1N}h3()}E h3(){o.1a=1Q rV();if(!v.4v){v.4v="?"}o.51=p6();if(o.51&&v.p7==1){if(4G.7M("ow")!=5o){o.3X=4G.7M("ow")}}v.dP=v.96.1B(v.96.R("://")+3);if(v.dP.R("#")>0){v.dP=v.dP.1B(0,v.dP.R("#"))}if(o.51&&v.d0==1){o.44=1Q Rd()}if(v.yj==1){o.6z=v.Rb;Ra(o.1E)}o.P=1Q yC(v.4v);if(!o.1y.2n){o.1O.1r("Rf",E(){o.5M=K;o.h9=K;o.V?o.V.yS():\'\'});o.1O.1r("Rh",E(){if(!o.3d){if(v.2a.bs>0){4w(o.yI);o.yI=2j(E(){if(o.5M!=o.h9){o.5M=o.h9;o.V.xT()}},v.2a.bs*3m)}G{o.5M=I}o.h9=I;if(o.V){o.V.gA()}}});o.1O.1r("Sc",E(W){o.3d=K});o.1O.1r("8m",E(W){o.3d=I;o.7q=I;o.b4=I;2j(E(){o.6j=K},4D);if(o.1y.2n&&o.V.jL()){}G{o.V?o.V.bJ(W.5e,W.7I):\'\'}if(v.xL==1){if(o.V.9R()){o.V.6V()}}});o.1O.1r("nT",E(W){if(J(o.V)){if(o.3d){o.V.bV(W.5e,W.7I)}G{o.V.o9()}}})}o.4g.1r("5P",E(W){o.3d=K;o.5M=K;o.h7=I},{bb:K});o.4g.1r("nC",E(W){o.3d?o.h7=K:\'\'},{bb:K});o.4g.1r("6v",E(W){o.3d=I;o.5M=I;!o.h7?dd(W):\'\';o.h7=I},{bb:K});3o{2z.1I.1r("8m",E(W){o.6j=I;o.7q=I;o.b4=I;if(o.3d&&o.V){o.3d=I;o.V.bJ(W.5e,W.7I);o.V.gA()}if(!o.5M&&!o.1y.2n&&!o.1y.tv){o.V.eM()}})}3j(bp){}2z.1I.1r("nT",E(W){o.V&&o.3d?o.V.bV(W.5e,W.7I):\'\'});o.1O.1r("5P",E(W){o.hj=K;o.3d=K},{bb:K});o.1O.1r("6v",E(W){o.hj=I;o.3d=I},{bb:K});2z.1I.1r("nC",E(W){if(o.V&&o.hj){o.V.bV(W.9E[0].gp,W.9E[0].gj)}},{bb:K});2z.1I.1r("Td",E(W){B x=W.5c.nI.oh();if(x==\'v9\'||x==\'oe\'){O}
4G{o.V?o.V.zp(W):\'\'}});2z.1I.1r("SX",E(W){B x=W.5c.nI.oh();if(x==\'v9\'||x==\'oe\'){O}G{o.V?o.V.vl(W):\'\'}});2z.1r(\'Tx\',E(W){});1I.1r("Si",bE,I);1I.1r("SE",bE,I);1I.1r("SH",bE,I);1I.1r("SG",bE,I);1I.1r("SF",bE,I);o.bk.dN.1r(\'5n\',2F,K);o.bk.dN.sY=2F;if(!o.1y.2n){o.4g.1r("24",dd,I)}oy();if(v.4X){v.4X.on==1?o.4X=1Q NF():\'\'}o.V=1Q oK();8L();2F();if(o.51&&v.pw==1&&v.1P!=0){if(4G.7M("pH")!=5o&&!o.1y.2n){v.1P=4G.7M("pH")}if(4G.7M("eE")==1&&!o.1y.9z&&v.jt==1){v.5L=1}}if(o.51&&v.pB==1){1c(B j=0;j<o.bj.U;j++){if(4G.7M("jv"+o.bj[j])!=5o){v[o.bj[j]]=4G.7M("jv"+o.bj[j])}}}if(o.44){B f=o.44.9Q();if(f.t&&f.d){o.V.fW(f.t,f.d);o.V.6G(f.t,f.d);v.1t=f.d}}o.1a.3r(v.1P);if(v.5L==1){o.1a.4Y();o.V.6L()}o.jj=1Q pU();if(v.6M>0){xP()}if(J(v.6S)){if(v.6S!=""){if(2V v.6S!="6W"){o.5Q=v.6S}G{if(v.6S.R("[{")==0){3o{v.6S=v.6S.2N(/9H\'qt/ig,\'"\');o.5Q=2l(v.6S)}3j(e){}}}}}js("d6");if(J(o.1k)){js("1k")}if(v.6T==1&&v.BG==1){o.1a.jy()}1c(B i=2;i<10;i++){if(J(v["a7"+i])){if(v["a7"+i]=="2n"&&o.1y.2n){7B("a7",i)}}}}E dd(e){if(o.jG&&v.ae==1){xl(e)}G{hX();o.jG=2j(wB,4D)}}E wB(){hX();if(o.1y.2n){if(o.V.jL()){o.V.o9();O}}v.ae==1?o.1a.dd():\'\'}E xl(e){hX();B y=I;if(v.3O.od==1){if(e){B x;if(o.1y.2n){x=e.B0}G{x=e.CA}if(x){if(x<o.2S/2){if(x<o.2S*20/1u){7B("5K","-10");y=K}}G{if(x>o.2S-o.2S*20/1u){7B("5K","+10");y=K}}}}}if(!y&&v.tt==1){o.2y?o.1a.8B():o.1a.7A()}}E hX(){4w(o.jG);o.jG=2g}E 2F(x){oy();o.V.5n();o.P.5n()}E oy(){B xw=o.1O.2c;B xh=o.1O.2P;if(o.4I>0&&!o.2y&&!o.bS){xh=xw/o.4I;H(o.1E,{"Y":xh})}if(!o.2y&&!o.bS&&!o.c5){o.9i=xw;o.fx=xh}if(o.1y.2n&&o.2y&&v.sy==1&&cE.iw){if(o.4I>0){if(o.4I<1){cE.iw.oB(\'D0\')}G{cE.iw.oB(\'sv\')}}G{cE.iw.oB(\'sv\')}}o.2S=xw;o.4q=xh;if(J(v.1U)&&o.V){v.1U!=\'\'?o.V.uK():\'\'}if(J(o.eI)){o.P.1G(o.eI)}}E 8L(){1c(B x in v){if(v.2r(x)){if(x.R("1U")==0){if(v[x]!=\'\'){o.oO=v[x];o.1a.8L(x)}}}}}E 8D(1m,1E,1G){if(1m){if(1m!=\'\'){1m=pl(1m);B s="oF";if(1G=="3i"){s="eF"}if(1G=="1L"){s="2G"}if(1G=="Ju"){s="1u% 1u%"}H(1E,{\'2f\':\'1m(\'+1m+\') no-e2 6x 6x\',\'2f-2Z\':s});1i(1E)}}};E JS(x){if(x.on==1&&J(x.2W)){x.2W=pl(x.2W);B y=1H("1R");if(x.2W.R("3p")>
4-1||x.2W.R("//")==0){B z=1H("52");z.2W=x.2W;y.1K(z)}x=7Q(x,v.yQ);x=3T(x,\'2p\',\'2p\');H(y,{\'1g\':\'1T\'});if(x.1g.R("2h")>-1){H(y,{\'2h\':x.5O})}if(x.1g.R("1W")>-1){H(y,{\'1W\':x.3B})}if(x.1g.R("1j")>-1){H(y,{\'1j\':x.4M})}if(x.1g.R("1d")>-1){H(y,{\'1d\':x.3e})}o.1E.1K(y)}};E xP(){o.oo=1H("1R");B r=v.6M;B oo=[];oo[1]=1H(\'1R\');oo[1].1V=\'<2e><3D d="M0,0 L\'+r+\',0 Q0,0 0,\'+r+\' Z" 3i="\'+v.5a+\'"/></2e>\';oo[2]=1H(\'1R\');oo[2].1V=\'<2e><3D d="M0,0 L\'+r+\',0 L\'+r+\',\'+r+\' Q\'+r+\',0 0,0 Z" 3i="\'+v.5a+\'"/></2e>\';oo[3]=1H(\'1R\');oo[3].1V=\'<2e><3D d="M\'+r+\',0 L\'+r+\',\'+r+\' L0,\'+r+\' Q\'+r+\',\'+r+\' \'+r+\',0 Z" 3i="\'+v.5a+\'"/></2e>\';oo[4]=1H(\'1R\');oo[4].1V=\'<2e><3D d="M0,0 Q0,\'+r+\' \'+r+\',\'+r+\' L0,\'+r+\' Z" 3i="\'+v.5a+\'"/></2e>\';H(o.oo,{\'1g\':\'1T\',\'1j\':0,\'1d\':0,\'3I-2C\':\'1L\',\'Y\':\'2G\',\'6o\':\'3v\',\'X\':\'1u%\',\'Y\':\'1u%\'});o.oo.C.55=3U;H(oo[1],{\'1g\':\'1T\',\'1j\':0,\'1d\':0});H(oo[2],{\'1g\':\'1T\',\'1j\':0,\'1W\':0});H(oo[3],{\'1g\':\'1T\',\'2h\':0,\'1W\':0});H(oo[4],{\'1g\':\'1T\',\'2h\':0,\'1d\':0});1c(B i=1;i<5;i++){H(oo[i],{\'X\':r,\'Y\':r,\'2A-Y\':0});o.oo.1K(oo[i])}o.1E.1K(o.oo)}E bE(){if(o.2y&&!z8()){o.1a.nL(K)}G{o.1a.nK()}1C("2y",o.2y)}E z8(){O!!(1I.EK||1I.EJ||1I.EI||1I.EA||(1I.Hl!=2g))}E wg(x){O x.2c==0&&x.2P==0};E wL(){1c(B x in o){if(x.R("FK")>-1){5N(o[x])}}1C("LO")}}',62,3523,'|||||||||||||||||||||||||||||||||||||var|style||function|this|else|css|false|exist|true||||return|media||indexOf|but||length|controls|event|width|height||||||||||||actions|control|for|left|time|action|position|key|show|top|playlist|hide|url|break|pjstg|case|settings|addEventListener||duration|100|icon|opacity|lang|system|playlist_dic|data|substr|log|pip|container|color|scale|createElement|document|error|appendChild|none|type|start|frame|volume|new|div|hls|absolute|title|innerHTML|right|text|dash|_o|||tmp||click||set|||poster|toolbar|tip|offsetWidth||svg|background|undefined|bottom|display|setTimeout|subtitle|eval|delete|mobile|vast|margin|parseInt|hasOwnProperty||icons|faction|files_quality|file_type|play|fullscreen|window|line|media2|events|linear|stop|Resize|auto|Play|rows|padding|_type|border|split|replace|transform|offsetHeight|_0x1367|seekto|screen_w|Math|sub|typeof|src|ffffff|share|size|||||||||||handle|player|scaleY|mouseDown|marginleft|scaleX|Lang|current_quality|fill|catch|removeChild|tiptext|1000|options|try|http|_0x497e|Volume||000000|www|hidden|subs|Pause|xhr|int|open_action|marginright|current_subtitle|path|hide2|intro|muted|preload|pointer|visible|org|xlink|transition|onOut|hotkey|xmlns|files_query|Seek|_to|MarginPadding|2000|ready|obj|default_quality|Remove|end||onOver|_from|vasturl|continue||font|plid|||rgba|linkurl|stroke|api|ShowOrHide|empty|mediacontainer|ftitle|quality|webkit|f2action|f2title|floatleft|is_hls|out|butPosition|screen_h|youtube|object|block|arr_up|file|clearTimeout|values|m_to|onError|autoplay|arr_down|1px|500|files_subtitle|plstart|localStorage|gradient|aspect|current_audiotrack||attr|margintop|video|Motion|volumewheel|200|dechar|urls|push|m_type|status|files|chromecast|Mute|bga||storage|img|valuecolor||zIndex|_url|||airplay|bgcolor|trim|target|Action|clientX|keys|Object|order|tag|canvas|thumb|cancelBubble|embed|resize|null|value|solid|playing||vasttype|JSON|animation|valuefontsize|dom|safari|casting|cursor|isLive|charAt|shuffle|minutes|thumbs|removeEventListener|Hls|plx|SetQuality|seek|mute|mouseHere|clearInterval|marginbottom|touchstart|midrollo|aover|folder|area|activeiconsize|obj2|tagvideo|parentNode|show2|round|||pause||||||||state|seconds|x74|files_audiotrack|Unmute|open|UpdateText|File|backgroundColor|focus|unmute|isVisible|bgpaddingleft|is_dash|overflow|but_space|audiotrack|f2value|vast_loaders|pljssglobal|body|touchend|com|center|Time|visibility|UpdatePlaylist|bgpaddingright|max|line3|radius|thumbnails|Duration|over|layer|clck|1999|refresh|rounding|parseFloat|ios|YT|box|UpdatePlay|midroll|pass|lines|Settings|string|HLS|bgaover|alpha_div|||||||||||realfullscreen|vastloader|default|0x0|Init|_value|onWaiting|line3value|DASH|subtitle_on|bgpaddingtop|redirect|dash_created|preventDefault|custom|is_sleep|hidden_volume_over|pipwebkit|space|parentIframe|https|x65|live|ll1I|parse|next|Fullscreen|apiProcessor|random|stretch_width|image|Events|current_url|fvalue|clientY|motions|C15|floor|getItem|getElementById|speed|HlsLevelsLength|UpdateObject|Arrows|setAttribute|Subtitle|onClick|ispipkit|getAttribute|vast_and|audio|bgpaddingbottom|||||||||||ShowPoster|setInterval|scroll|buffered|toString|rotation|created|line0|onEnded|info|x72|lIll|mouseup|paused|xywh|rightmenu|tipbg|vertical|version|leftBg|shadow|ended|switch|mediascale|stage_y|white|search|Normalscreen|is_live|Poster|scrollbgcolor|Advertising|_keyStr|ease|onMouseUp|Stop|charCodeAt|Title|End|Status|hlsconfig|SetAudioTrack|stage_x|hours|close|toolbarHidden|Array|control_|container_h|send|tips|onTimeupdate||always|bg2||StopWaiting||href||||Playlist|track|replay|motion_id|lastwheel|onDuration|files_speed|getElementsByTagName|normal_w|but_x|C13|hls_created|responseText|HideControl|StyleItem|ActionPlaylist|xbg|gax|CreateItem|Date|rule|and|SetSpeed|reload|Backgroun
4d|iphone|_show|currentFile|x61|DashLevelsLength|touches|gaTracker|_speed|pjs|container_w|CalculateClick|user|600|ShowOrHideProcessor|onMeta|setAutoSwitchQualityFor|started|flag|SettingsVisible|_rb|but2|x70|waiting|destroy|onPause|MediaPlayer|dashjs|Value|iconsover|ll1l|rightside|onclick|txt|SubtitleChanged|design|PlaylistVisible|prev|cubic|action_settings|shuffle_|curtain|screenclick|QualityChangedNoHand|l1lI|Toggle|pjs_id|fd2|hlsquality|MediaReady|download|onVolume|loop|dashquality|heartbeat|onDown|now|stout|_hide|range|PlayerState|onPlay|nonzero|bgcolorover|current_speed|line1|setItem|mouseover|mouseout|pointerEvents|preroll|native|f2id|items|nowrap|reloadTimer|Tip|inline|PipWebkit|scrollLeft|10px|readyState|dashconfig|onload|marginproc|scrollTop|line_width|XHR|metadata|tagframe|hex|spacing|vast_or|bordercolor|hidden_volume_over_process|min|noads|x2F|_0x31a96f|_0x44d5d8|3px|passive|wheelstep|compilation||0x1||salt|while|sub_options|frameresize|relative|x6F|vimeo|x_url|err|browser||hideleavetimeout|pjsdiv|align|coh|iframe|outro|fontSize|url_shift|but_y|answer|String|_status|FullscreenChange|onmouseover|span|Clickable|alpha|StageMouseUp|poster_floatposition|parent|removeAttribute|VastRemoveAndPlay|_preloaded|Waiting|audiotracks|fontsize|fullscreen_start|default_style|onmouseout|StageMove|VAST|rightbs|998|Switcher|||||forcehide|fullscreen_process|20px|0259804|expand|thumbs_on|fatal|onMove||abc|SubtitleStart|CreateHLS|vars|topBg|select|decoration|ControlClick|default_audio|current|pause_before_vast||not|Error|brandurl|thumb_width||headfontsize|00|join|||handlewidth|srt|999|getTime|create|screen|bufferLength|handle_width|letter|onUp|android|controlover|AfterVast|base64|qualities|sub_color|linecap|fbg|FindPlStart|loaded|C12|SetSubtitle|fff|PlaylistNext|ellipse|HideInterval|textArea|timestore|decode|L12|PlaylistNextExist|Il1l|_ease|init|butNames|NewFile|plfolder|texts|bgpadding|C11|ScreenClick|Remove2|pdf|hk_vol|history|_0x4362x4|location||_step|buffer|bgg|hk_seek|offsetLeft|fd3|transparent|message||is_visible|_recover|toolbarInterval|speed1|hand|Mouse|tippadding|fit|05|volumewheelin|x69|console|updown|leftright|128|gif|line_buffer|thumbs_loading|x63|contentWindow|SettingsN|href2|StyleArrow|48743763|parentcontainer|33571875|maxBufferLength|x73|postroll|hlsautoquality|sub_bottom|400|autoplaylist|findLeft|repeat|x68|toolbar_margintop|sourceBuffer|TagPlay|hlsaudio|heartbeatInterval|playersize|icn|l3v_left|findTop||_blank|bitrate|autoQuality|autohide|l3v_show|found|errorCode|introclickable|event_y||event_x|_control_|sub_sizeproc|PlaylistPrev|details|PlaylistControls|handleicon||pauseroll|line2|_start|name|f2bg|pjs_parent|vast_|compilations|pljsmute|cover|iostracks|weight|custom_aspect|TimeSub|BufferStop|AirplayChanged|SettingsClose|onProgress|sec|hlschangequality|iconreplay|87798468|justshow|paddingtop|Airplay|google|embedvars|nativecontrols|resizeonwidth|pauserollonplay|VastNext|totheend||shareiconscale|toolbar_hide|ipad|levels|vast_type|bottomside|Load|186|seeking_time|shift|hidewithoutmoving|volumescroll|loading|letterspacing|clicked|VastLoader|616046|floatwidth|Off|limitmaxwidth|canvas2|NativeControls|xtitle|resizePlaylist|win|tipalways||svg0|stretchonfullscreen|tipfontsize|normal_h|SubtitleError|hidden_volume|rotate|Reload|onSeeking|stretch_with_volume|scrollarrows|reloadErrorTimeout|clicktime|pljssglobalid|0px|gatracked|scrollleft|file3_separator|_max_order|StyleLine|scaleover|rotation2|Hide|seeking|L11|media_error|1em|onSeeked|Played|ResizeSettings|pjs_i|introtitle|settingsovertimer|_0x4e576a|3000|RemoveSubtitles|ymax|14px|tippaddingtop|facebook|tipbga|ShowLayer||selection|twitter|current_thumb|tipbgcolor|tippaddingright|100000|gaTrackPlay|CreateTip|pageY|fplace|rightclick||polygon|playroll|pageX|current_file|tipcrn|container_id|scripts|thumb_height|53790984|pjs_share_link_|iconsreplay|hideAllIcons|important|StageLeave|333333|poster_a|hidejustfull|inversetime|poster_aover|mlr|shareiconscaleover|bigint|customdesignsvg|svg3|stretch_width_last|hideonwidthlimit|IconsColor|hideoverwidthlimit|colorbg|noclick|eventstracker|ShowForce|bgcontainer|icon2|iconscolorover|HideForce|link|control_title|jpg|openplaylistbefore|iconscolor||Ready|exception|UpdateTime|frames|mouseMove|postMessage|mouseHere2|x6C|AudioTrackChangedNoHand|Recover||hmaxk|timeFormat|YouTubeIframeAPIReady||YoutubeReady|touch|playVideo|SelectText|BeforeVast|setSpeed|isPlaying|1080p|720p|240p|offsetParent|curtop|slidespeed|curleft|480p|360p|result|handleiconspress|mouseUp|Share|onmousemove|clickarea|ff0000|rightout|hideoutmute|leftandrightpadding|but_h|deg|bgo|bgh|handlehide|all|handleaover|vastonmobile|handlescale|lastTouch|quality_received|delta|animate|ControlOut|restart_audio|ClearClick|isTypeSupp
4orted|dashaudio|sub_bgcolor|sub_bga|mediaSource|code|recover_decoding_error_date|0xa|Home|recover_swap_audio_codec_date|153204|float|300|72532408|isvg|||||showinterval|denied|8px|Ended|onStep|changeheight||onClickSubtitle|chrome|scrollarrowcolor|Download||scrollarrowsize|ssa|script|orientation|today|124|posters|hls_config|brd|floatlimitwidth|floatheight|skip|sub_shadow|dash_config|037|intro_or|postertitleonhover|png|filter|playlist_title|limitwidth|sub_settings_on|response|showtitleplaylist|titlestore|Player|sub_weight|sub_size|3600|urls_and|_activeIcon|clientWidth|_0xad5257|scrollwidth|_subtitle_empty|CreateDASH|C10|PlaylistRewind|poster_scale|PlaylistExist|autoprevopenfolder|marginbg|getHLS|autoLevelCapping|loading_error|opera|screencolor|fid|_timeout|setQualityFor|hexToRgb|ScrollTo|alert|6642813|isVpaid|mode|HistoryPlaylist|VastVideo|getBitrateInfoListFor|open_settings|match||mutestore|getDASH|pljs|sizing|memory|Password|FileType|_fullscreen_end|_steps|serif|VolumeWheelX|sans|lunchfileonstart|click_t|pip_quality|dontplay|files_|UpdateVars|ToolbarHidden|autonextopenfolder|_0xf83c34|picture|fd0|deltaY|0933314|HidePositionControl|youtu|re_y|099|VastAddPreload|file2_separator|ControlCoordinate|vastgo|ToolbarHide|timerInterval|ToolbarShow|timerTime|firstly|RemoveMedia|poster_floatbgcolor|embedsize|HidePoster|vast_preroll_andlimit|navigator|desktop|share3|adsinchain|Close|Preload|posterhide|CreatePoster|vast_preload|youtubeposter|hideoverwidth|whatsapp|wait|ll11|vastclick|fts|vts|Start|Full|vast_impressions|yamtrid|resizeme|vast_starts|reloadtimeout|Heartbeat|_stop|Curtain|icon3|copy|cssrand|91628571|x6D|RemoveCurtain|VastRecover|L10|IndexPlaylistProcessor|976|IndexPlaylist|_tags|QualityChanged|ctx|arial|Playing|l1ll|tem|drawImage|quick|poster_floatheight|killMotion|adscounter|VastPreloaded|helvetica|Loaded||||606|PlaylistClose|show_settings|other|Metadata|Seeked|show_playlist|PlaylistShow|onYoutubeReady|927|hideonwidth|_t||96189913||Loading|062|currentTime|ChangePip|PlayerSize|LoadedData|playPromise|startwait_t|hls_started|file_separator|isNaN|network|59038667|101|VolumeWheel|videoHeight|tagSrc|50539216|SetCurrentQuality|prototype|chr|recovery|43706564|TheEnd|performance|sub_bgpadding|reverse_quality|bodyleft|kbps|RenameQualities|160p|RenameTracks|2160p|5629344|exitfullscreen|msRequestFullscreen|webkitRequestFullScreen|onPipLeave|full|play50|play75|onPipEnter|mozRequestFullScreen|requestFullScreen|||||49474569|onTagError|textTracks|requestFullscreen|audioTrack|contentDocument|L13||9830753||cntrls|volumewheelfull|then|Prefile|vast_midroll_limit|firstScriptTag|fullblack|loadLevel|YoutubeID|play25|nextLevel|getTracksFor|currentLevel||pauseVideo|doc|RadioTags|introtxt|acceptinvitation|cnt|access|but_w|tagsurl|firefox|introskiptime|MediaVideo|_move_rights|introclosetime|introcontrols|086|onerror|bg_hide|pljssubtitle|fromCharCode|sub_store|255|worked|normalscreen|lastIndexOf|Scale|subtitle_start|SubtitleLoad|102|write|removeItem|02|_rights|control_line|5017903|997|pepper|hlserror|winWidth|StyleSubtitle|ytautoquality|winHeight|81389961|encoded|sleep_timeout|HlsSleep|errorMessage|_set_quality|C14|dasherror|127|introclick|preloaddash|order0|adsystem|filters|025||TimeVtt|dash_play|request|nativeControls|dash_init|sharer|dashlowquality|logout|MseRenameQualities|tipfont|tipcolor|tipletterspacing|tipa|touchmove|tipbgrounding|thumb_border|HandleWidth|EndMove|ceil|tagName|_time_load|FullscreenUI|NormalscreenUI|ControlOver|wheelinterval|showovercontrol|getQuality|getAudioTrack|arrinterval|wheel|mousemove|lineHeight|marginbgpadding|_|marginbgcolor|over_final|ga_proc|35px|valuemargin|normal|rect|querySelectorAll|valuepadding|15px|Places|ReplayIcon|StageMove2|container_h_procent|datetime|handlecolor|seeksides|textarea||documentElement|toLowerCase|removedNodes|0x14||handleiconpress|onup_to|||bgborder|borderRadius||bgbordercolor|handleiconover|handlea|insertBefore|pljsquality|ScrollDown|UpdateSize|ScrollUp|ScrollRight|lock|openById|scrollarrowbgcolor|nativefullios|contain|moz|offsetTop|scrollarrowbg|ScrollLeft|Controls|xvalue|floatmarginright|ResizePlaylist|maintitle|SubtitleSettingsMenu|VisibleItems|resizeSettings|index|updatePlaylist|historytitlea|historybga|toggleControl|pl_first_id|button|stopPropagation|_0x1c746e|rc_label|150|_0xb263|_0x312a27|allowfullscreen|StorageSupport|qualitystore|pjslng|onClick2|ActionSubtitle|brand|_0x3e3359|headbordercolor|VisibleCheck|borderbottom|ioscss|appearance|addtitleplaylistbr|addtitleplaylist|method|checkBase64|valuefromlang|val|CustomSwitch|family|resizeFromText||ResizeText|angle|Rotate|settingsNumberVisible|volumestore||content|zoom|minusforback|sub_designstore|last_text_w|picheight|pushCSS|ClickArea|iconopacity|pljsvolume|clickmargin|linkurl0|_currentIcon|tmp2|recoverMediaError|prtObj|4877241|pjs_parent_i|analytics|90342661|18px|6265714|Alert|000|hostname|onLoadStart|recover|maxMaxBufferLength|rc_version|ga_event|iconmargin|yaHit|changeAspect|linker|MseIsSupported|onLoadedData|yaCounter|16114286|L19|ctx2|HlsRecoverMediaError|clientLeft|hlscookie
4s|reachGoal|60000|posterheight|1907336|sugar|frag|fragment|120|_limit|bgstretch|optStr|Live|Width|attached||IFRAME|parentIframe_style|StopOtherPlayer|getContext|Level|ERROR|5000|fimg|autoplayed|cGPTmZYsOC1yQjxYcfQuO256mkJvJyB0PZFuP2mvPZ09J3eylj5zOGF0mfTxLCAxKfP|onClickSubtitle2|livewakeuptime|stopotherplayers|HlsLiveWaiting|MediaSource|0785714|livewakeup|pic|PlayerjsEvents|ErrorTypes|postmessage|1861004|loadSource|device|1440p|allow|iconmarginleft|allowtransparency|iconmarginright|deltaX|Sound|selectOpen|Skip|playerid|1800|1200|900|426|outline|360|640|setupx|startLoad|cC9zQZP|alwaysjustpause|static|vast_midrollrest|home|0725739|PipSize|midrolls|_xIcon|_0x593a18|Screen|scrolling|prefile|autoplaymute|1411563|0x5|forbidden_quality|540p|984||rc_anyway|which|||_0x372875|sourceBufferValidAPI|DashQualityLevels|RemoveForNextAd|DashAudioTracks|nameofdashquality|_0x2131af|keyCode|yamtr_event|_0x2bc3bf|SourceBuffer|2464991|createTextNode|25712408|Playback|_0x298796|getDate|AudioTrack|HlsAudioTrack|origin|iconmargintop|rc_labelurl|Actions|iconmarginbottom|clientTop|copied|HlsAudioTracks|nameofhlsquality|Text||||HlsQualityLevels|hlslowquality|774328|61928677|arguments|body_style|50032408|historytitlestrike|Ease|bold|historycolor|PlaylistBack|normalscale|str|openplaylistroot|current_time|8345227|ClickOnPip|Action2|tagsinterval|PipToggle|ShowTimeout|Number||historybgcolor|playById|landscape|SubtitleParse||landfullmobile|0454574|subshift|vtt|ass|hidestartbutios|7378707|sort|default_subtitle|rotateplaying|openplaylistafter|openplaylistpause|tap|ErrorReload|_ud|4959714|177|poster_floatwidth|poster_float|121|poster_floatmargin|width100|Quality|poster_floatrounding|_css|049|onresize|removeNativeSubtitle|nativeSubtitle|||Speed|System|elastic|SubtitleSettings|height_div|paddingleft|paddingright|imageExists||hidecontrol|width_div|111|callback|activeicon|CreateMedia|maxresdefault|topside|file2|RightMove|ParseUrl|Timer||_html|_ue|pip_shadow|playlistrewind|doubleclick|RWAlnQyyazA4aoAB4FsBSA||livets|winmob|kbq|_icon|L14|8361812|60588467|VastInfo|dashcookies|Control|dashdebug|div2|wrapper|_nextIcon|Za|bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg|scroll_down|M14|PlaylistPrevExist|titlecolor|FindFileInPlaylist|0306373|70098039|hlsdebug|comment|plcontinue|iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT|newQuality|finish|Shuffle||showById||||||||||telegram|OqFAAAAdklEQVQoz42QQQ7AIAgEF|0956563|Playerjs|40px|action2|opposite|scroll_left|unshift|nativenotiphone|14130702|scrollarrowbgovercolor|nativenotios|nativecontrolsmobile||224|ArrowsInterval|alerts|ffect|playlistfolder|148|223|372|scrollarrowbgover|m3u8|full_hours|mpd|pjslog|nativehlsinsafari|nativenotipad|preloadhls|full_minutes|scrollarrowgradient|styleSheet|framei|updateTitle|covervideo|highlight|incorrect|playsinlineonmobile|TheEnd2|pressed|700|yOffset|xOffset|6327241|RenewFromTitle|slashfortime|9390991|CancelBubble|getDuration|cancelFullscreen|setVolume||DVR|seekTo|sub_size_fullscreen|setQuality|270|sub_big_fullscreen|input|handleiconsover|gaid|315|_w|_a|ControlsBgClick|I1lI|passontime||control_share||KeyDown|bgw|leavetimeout|onmousedown|reloadlive|sub_bgo|onmouseup|allowLinker|playonhover|speeds|linetipmarginbottom|toptip||UpdatePlaySeek|UpdateLoad|_duration_load|_time_play|onQualityChanged|splice|ThumbsParse|Qualities|cancelFullScreen|ThumbsTime|CreateThumb|thumb_radius|fixed|redirectonclick|YoutubePauseroll|Midroll|eventAction|_duration_play|valuemarginleft|nameofyoutubequality|0x13|control_duration|noClickTimeout|obsrvr|tippaddingbottom|tippaddingleft|Windows|Volumescrolled|yamtr|ThumbsLoading|||valuemarginright|Browser|notv|DisplayControl|endfull|exitFullscreen|hexToRGBA|135|gradientcolorbg|lI1l|unset|ffdd1f|isHidden|994|146|bordersize|ontouchmove|polyline|HideAnimate|ShowAnimate|colorload|hideonvod|848|openpl|linespeed1|gradientcolorload|ontop|8215241||msExitFullscreen|962|finishrewind|9211241|ScreenClick2|alwaysnotfullscreen|0638991|webkitCancelFullScreen|hideuntilmeta|ShowControl|mozCancelFullScreen|clr|Control
4Line|Buffer|Destroy|hideuntilstarted|hidewithoutplaylist|029|displayvolume|valuebgcolor|handlemargin|Stopped|valuebg|fontFamily|06|033|valuerounding|ControlX|007||||||setting|prevorius_default_w|sub_bg|msie|prevorius_default_h|003|074|072||back|linespeed3|gradientcolor||customdesign|095|linespeed2|DoubleClick|hidetimeout|092|FFFFFF|linktarget|5px|valuesize||MutationObserver|UpdateVolume|restart||||linkpause|Show|posteronpause|seeked_time|x6E|9616447|setHlsAudioTrack|extensions|removeTrack|imageLoaded|addTrack|disabled|hidevideo|isClickable|0645937|skipTime|PlayerRadius|hideonplay|num|x3A|Review|outroclick|label|loadedmetadata|winLeft|AudioTrackChanged|volumechange||||||durationchange|winTop|progress|element|timeupdate|93409913|x79|IconSVG|alertsfontsize|getSelection|createTextRange|alertscolor|UpdateSettings|iosExitFullscreen|observer|x3E|0x6|x3C|linkurl2|pjsga|x66|0x7|audioTracks|assign|006|vast_init|params|videoWidth|RegExp||nums|onplay|linkTxt|Media|playerjs|setDashAudioTrack|358|setCurrentTrack|Wheel|leavetimeout2|setHlsQuality|hideafterclick|x64|skipTime2|0x8|webkitSetPresentationMode|RenewSubtitle|logo|setDashQuality|StageOver|enterpictureinpicture|seeked|share1|share2|SettingsParser|sharetitle|M12||sharetop|PlaylistOpenId|share10|alertsbga|fullonplay|youtube_id|php|isFullscreen|fullonplaymobile|isOpen|redirectonplay|square|L16|_timebreak|ENDED|eventCategory|thumb_shadow|thumb_bordercolor|thumb_borderwidth|heartbeatinterval|483|416|Youtube|onYtPlayerReady|KeyUp|PlaylistPlayId|PLAYING|onYtPlayerStateChange|youtubecontrols|shareiconmargin||HideLayer|embedhtmlend|Continue|isyoutube|youtubelayer|MediaYoutube|linetippointer|alertsbgcolor|embedheight|ControlsBg|embedwidth|tipmargin|leavepictureinpicture|youtubeready|YoutubeInserted|embedhtmlstart|iframe_api|Pop|443|641|588|434|691|421|682|754|666|248|459|569|285C5|715C8|802|397|892c|556|759|777|335|507|629|555|667|261|703|173L2|534|806|682C1|307|323|791|384C8|958|026|641C7|468C8|474|021|357|419|447L2|60889913|83449913|52352408|61112408|75949913|69872408|90889913|46112408|03369913|26192408|98389913|36152408|67729913|80612408|17872408|54409913|63169913|32872408|93169913|02932408|45709913|61009913|87332408|53509913|94772408|17432408|00849913|98549913|88589913|08569913|layerX|17269913|78569913|76252408|06192408|48629913|91252408|62369913|72892408|27949913|28392408|02432408|97129913|09932408|64309913|98752408|73312408|39769913|73852408|50989913|81892408|37689913|0266991|8587241|9829241|2829241|798|9894991|8898991|5904991|6715241|7398991|7465241|694|90490625|L17|79828571|execCommand|_timer|line_play|69428571|M17|passonstart|4526875|883875|5723438|3091241|8542991|7310991|9589241|0339241|8180991|0213241|5810991|8833241|2155241|94929913|7255241|4310991|9056991|9932991|5794991|2095241|7168991|2593241||||||||1843241|4792991|2800991|4843241|3796991|3343241|34889913|42432408|896|913|203C15|941|808|035|282|059|078|133|786|585|749C18|12492408|1148991|6100991|50092408|0068991|offsetX|749z|902|699|951|799|26c0|387c0|577|187|301|148c0|211|676|439|053c1|343|321|966|013|359|455|022|938|247|149|portrait|087|471|198l0|05c0|70329913|01469913|9280991|3197241|3443241|6532991|3695241|2028991|9825241|89532408|3780991|38992408|8142991|3958991|4685241|49829913|70972408|60952408|89792408|16112408|57329913|80932408|1310991|9699241|3699241|64769913|0008991|C16|81329913|5781241|4865241|00029913|5003241|28889913|5473241|18772408|01349913|49132408|01289913|14009913|7581241|9978991|7997241|9996991|49672408|3092991|0038991|01549913|2357241|00069913|4871241|993|13718414|7271472|15729686|5898759|209383|84355402|92524947|0727459|005212|72728083|2793122|00904312|6447345|73447623|62539844|9518092|19180463|3982733|4570635|53462054|4153898|7060285|1454127|51242501|644054|15013093|31446009|addRange|partnerpauserollor|partnerprerollor|partnerpostrollor|partnermidrollor|midrollpoint|eventstrackervast|vpaid_timeout2|vast_pauseroll_vmap|vast_preroll_vmap|vast_postroll_vmap|vast_midroll_vmap|vpaid_timeout|M16|msFullscreenElement|moveToElementText|encodeURIComponent|createRange|selectNodeContents|removeAllRanges|frameborder|web|mozFullScreen|webkitIsFullScreen|webkitFullscreenElement|plus|950631|59305507|24660331|8
46810611|85641921|84924851|74734142|65174939|12014413|46721646|86483105|1869905|63201142|53370204|54866401|5798291|77251408|1782179|1938004|39074182|1197833|16597325|0769314|79137169|35178546|835402|53995424|05663568|15818198|68926767|024648|4558853|8022411|4897677|47890336|5739326|27361297|484333|8816878|77497165|18283508|777689|8769747|1161475|24362617|1279354|0670433|02664888|90967882|31646496|72704574|8524226|69316331|1901646|vast_openclick|vast_unmutebutcolor|stripsspace|stripsw|slice|unescape|Interval|tippmargin|normalonclick|reloaderTimer|isflash|logos|action_back|Verdana|e6add1u212a29313918263q0z311o27212o1b3x3e1d3o01112m3q0z322m3x2u35262v322p1z323a251s25352116212v25211c2u2711113a251q2735211620381y11121411153x2b2o1921261u3s2v212p113u262e153x292q1931261z121o252e1g3e2b38182v3u12111o260y12113b213x213b38162x3u12111m3e182v3b213x2b233x39233x2b233v11113u291z322u291u2s291r2q1i25322q3e1z21141b3x111z322435162z2q1b3x111i1v35211d203p2e113w2m211q1g272z1q1o25111q273t192124162e1e2e29381c3y2b321x3w2u3q3s39223b3r35322919162z1611121o233e1q11113u262e1d37383x111z23121i1i2l183d1m1g1j1f1j3e181e1t3c1e2g1b3f143g1m3g1k1c1y1g121f172e1t2e102c1w2e1z2e1t2f1u2e1s1c172e1t2g1y2e1u2e152c1v3g1u2e1u1e1k2e1u1c112e1u1e1x2e1s3f1w2c1v2e1t2e1s2f172e1t2c1w2e1s2e1e2e1u2g1t2c1w2f1r2e1s3g1x2e1s2e162e1u2g1y2e1t3g1z2c1u2e1s2e1s2g1v2e1t2c1x2e1t2e1v2e1s3f1w2c1w3e1q2e1s3g1h2e1s2d1b2e1s3f102e1s2f182c1u3f1h2e1s3f172e1s3e122e1s3f172e1u3f1u2c1u3f192e1s3f1t2e1s2d192e1u3f1v2e1s3f192c1v3e1c2e1s3f182e1u3d102e1s3f192e1u3f182c1u1f192e1u3f1e2e1s3d192e1s3g1r2e1s2f192c1u3g1c2e1s3f192e1s3e1y2e1s1f172e1s3f192c1u3f172e1s3f1b2e1s2c1w2e1s1e1f1e1b2f1e3e1e1e1i1f1p3f1r3d1f3d1e3f1i2f123f1l2f1f2e1r1e1b3e1c3f1c1f1m1e1e2g1q3g1c3e1f1f1f3c1f2f161g1s1f1b1f1c3d1e1g1g3f1g2e1f1e1d3c1e1g1m3e1c1e183f133e1j2e1b1f1k3f1d1e1g3e1l1g1j3g1j3g141f1e3e1r1g1m1g1i3g1b2e1f1e1j3d1d2f1c1e1s2g1f3d1h1g123e1c3f1f1e1m3e1q3e1d3g181f1d1e123c1d1f191f1f1f1d1f1j1e1e2e1l2e1c1e1f1e1d3d1e1e181d1c1g1h1e1x2c1v1e1j2e1u1g1k2e1s1e1y2e1u1g1k3f1j2e1s3d1w2e1s1f1v2e1t2e102c1w3e162e1t2e1h2e1s1e1x2e1s3g1p2e1u1e1f2d1w3e163e102f1h191h1e143g1f2f183g1t3e1a3c1u3g1a1g1i3e1l1e1l1c1h2e181d1g3f162e1u2e1t2e1u2f1r2e1u3g1x2c1s2g142e1u2g102e1t2e1z2e1s2e1s2e1u2g1v2c1t2e1v2e1t2e1x2e1s3d1w2e1u3e1q2e1u3g1h2c1s2e1z2e1s2e1g2e1s1c1i2e1s3e1z2e1w1e1v2c1u1f1r2e1t1e1i2e1s1d1x2e1t2e1p2e1w1g1v2c1t2e152e1u2e102e1s3c1e2e1u2e1r2e1u1f162c1u3e1g2e1s3f1b2e1u3d162e1s3f172e1u3f1e2c1s2f192e1s3f1x2e1s3d192e1s3e182e1u3f192c1u3g1b2e1s3f1a2e1s3d182e1s3f192e1w3f1v2c1s3f182e1s3e1e2e1s3d192e1t3g1d2e1u3f192c1s3g1k2e1s1f192e1u3e1c2e1s1f192e1w3e1q2c1s1f172e1t3e1k2e1s3d172e1s3f1b2e1u3f172c1s2e1z2e1s1e1m1e183d1k1g1j1g1c3e1k3f1m3d1r3d1f3g1c1f1d3g1h3d131g1l1e1i1f1j3f1g3c181e1f2f161g1e1f1j3c1d1e1g3f141f1j3g193d1f3f1s1g1p3e1e1e1d3d1s2g1m1e1b3e1e3f1c1c1m1g1f2g1j3g1f3e1s1d1m1g1m1g1p1g1r1g1f3d1k1g181e181e162f1d3d1d1e1m3e1c1f1i1f141e1f2e1g1e1d3f1e3f1f3c1i1e121e161g1m3f1h2c1s2g1q3f1f3g1a3g1k1d151g1k1e1c1e1f3f1s3c1f3f1s2g1o3e1f1e1w2c1z2e1u2g1j2e1w2e1t2c1u1g1f2e1t1g1b3g1v2c1u3e1s2e1u3g1x2e1s2d1f2e1s1f1v2e1w2f1v2c1u2e1y2e1u1e1q2e1u2e1f3e162e172f1a3e12121g1f1g1g1e3g1w1g1l1d1b1e1j1f171f1h1f1f1c1j1e1u1g1j3e1u3f1g2c1s1e1i2e1q3e112e1w1c1v2e1u1f1p2e1v1e1i2c1s1f1x2e1r2e1r2e1w1e1v2e1t2e132e1w2e102c1s3e1e2e1s2e1t2e1u1d162e1s2e1s2e1u2g1m2c1t2e1z2e1s3g102e1v2c1y2e1s3f1i2e1u2e1a2c1s3e1r2e1s2e1s2e1v1c1g2e1u2e122e1w2e112c1s2e1b2e1s2g1g2e1v3e1j2e1s2f162e1u3e1e2c1s3f192e1q3g1d2e1u3d182e1t3e172e1u3f192c1s3e1h2e1q3f1a2e1w3c1d2e1s1f172e1u3e1j2c1s3f182e1s3f1b2e1u3d192e1s3e1x2e1u2f1b2c1s3f1e2e1q1f1b2e1u3d1c2e1s1f152e1v3g1d2c1s2f182e1q3f1a2e1u2d172e1t3e1h2e1u2f1a2c1s3f192e1q3f192e1u3d1t2e1s2e1s2e1h1e1h3b143g1f2f162g1e2g1e1c1i3f1m3g1w2g1e2e1e1e1c3f1h1e192f1m1g1a3d1d3e1a1g1e3g161g1j3d121f1w2f1h3f1a3e141b1f1f1e3g1k1e1d3e1f3d1j3f131g1j1e1k1g1j3d1g2e181e1d2f181g1u1d1j3e181e161e1a1e1a1c1s3g1j1e181e1c1g143b1f3f1c1e1g2f1e3f1h3c121f143g1b3e1e3g1g3d1j1g1f2e172f161f1e1c1f3e1f2f1g3f1c1g1i1d1f3g1k1g1f2e1u3g1l3d152f1e3g122f1g2g1e1c1f2e1y2e1s1g102e1v2e1e2e1t1e1u2e1w1e111e1k2e1s3e1w2e1w1e1j2c1t3e1f2e1d3f1w2e1v3e1t2e1t2e1j2e1v3g112c1t1e1w2e172f1v3e102c191i1i1l2t2f2g2f2q1g1k2l16|a79e6o3o1v3q221c271u393v211b3q0z101o25213o193x3c1k193v111i1c2z173u3w113z1411133x392o1930361s3s2v303p1z3u263c153v392q1732341z311m253c1g3e29381w2v3u1z121m260y1z1229213x3z3b361w2x3s11101m3e162v2z2n11303a231q27333e142z2x233e162s291z1138231s25353c1421361y1a2s291w3u27163u271u3s271q3c113u26111z3w261z3w243u3m3o011z31393w141m272c2o111x23121z121m273c2o2o35323o1z313z3b213v3236163o0z1e1c2v2c292q122u1z101f3z1q1z2z3a23373u253w253t1336231z113837113z161h1z1e1m3e162t312p3e29213x3z2q1g27333c3b3w121o121s2c1d1f1e1e1f1c122e1m1c1a2g1p1e183e181e171e1i1e1k1f1d2c1s1d1t2c1r2g1t2e1q2c1w2c1u3e1c2e1u1e1x2c1s3c1t2c1s2e142e1q2e1m2c1w1c1i2e1u3e1f2c1u2d112c1q3e1z2e1r1d1u2c1u1d1s2e1s2e1s2c1t3e1x2c1s2e1v2e1s2e192c1w1d1w2e1t2g1o2c1s2d102c1r2g1o2e1r1c1u2c1v2c1q2e1s2e1w2c1s3c1b2c1s2g102e1q3c172c1v3e1r2e1s2f152c1s3d1z2c1q3f172e1q3d1e2c1u3d172e1s3f182c1s1d1b2c1r3g162e1q3d182c1u3d1t2e1s1f152c1t3e1e2c1q3f182e1q3d142c1u3d172e1u3f182c1s3d1a2c1q3f1h2e1q1d192c1u3d1b2e1s3f152c1s3d1v2c1q2f192e1q3d162c1u3d152e1t3e1g2c1s2d192c1q3f192e1q3d172
4c1w2c1s2e1s2e1c1c1f1c1r1e1a1e1k2f1b3c1b2c161c101f143f1q3d1c1e1w1d1u2f1j2f161d121b1e1e1c3f1p1e193c1f3d1l3e113f1o1e1g1d1h3d1i2c161e1c1f141e1s1e1l3c1d1e1g3g121d1h3e1b1e1d3f1s1g1k3c1f1c1e3d1d3f1c3f1d3d1f3d1e2d192f1e3f1c3d1e1e1u1c1d1e141f1q2e1f3e1t3b1d3f1c3e1d1c181c1e2e192e1c1f193d1g2c1e2c1d1g1k1e1b3c1g1d1i2c1h1f1t2e1q1d1j3c1f1e161e1d3g1g1d1f1c1i3d1r2g1j2e1s2c1k2c1u1e1j2e1u2e1d2c193c1t1c152e1t2e1i2c1u1c1r2c1q2g1a1e1s2e1q2c1v1e1j2e1u2f132c1t2c1j2c1p2f173e133c1u3c141f2c3g193f1q1c191c131e103e141g1i3d171e1e2e1i1e1x3g1i3e152c1t3e1t2e1u2e1v2c1u2e192c1s1f1y2e1t2e1q2c1s2d1w2e1t2g1o2c1t1c1u2c1r2e1s2e1s2c1y2c1s3c172e1u2g102c1s3c172c1r3g1z2e1s2c1w2c1u1c1j2e1t2e152c1s1c1l2c1q3g1f2e1u1c1e2c1s3e1e2e1u1f1x2c1t2e1j2c1s3g1t2e1u2e1z2c1s2c1a2e1u1e1x2c1u2c1h2c1q1f182e1u3d1a2c1s3d172e1s3f1a2c1s3d192c1s3f1o2e1s3d192c1t3c1b2e1s1f182c1u3d152c1q3f172e1t3d1d2c1s1d162e1u3g102c1s3d182c1q3f192e1s3d182c1s3c152e1s3f172c1s3c1d2c1q3f172e1s3d1l2c1s3d172e1u3f1c2c1s3d172c1q3f1j2e1s2d182c1u3d1c2e1s3f172c1s3d1b2c1q3e1z2e1s2c1k1c1h3c1d2f1e1e1h3b1f3d1f3c192e143e103b1d3e181d171g1c1g1g3d1g3c1f3d1d2g1k3e1o1c1i1d1h1e1a1e1h3e1b1d1k3d183d1d3e1a1f1g3d141d1h1c101g1w2f1j1d181c121b1b1g1e3f1p1c1b3c1f3e1h3g1e3f1e3e1e3d1e3c1d3f1c1f1k3d1k3d1w1e122e1e1e1b3c1d1e1h1d1k3e1y3g1c2d132c1a3d122f1c3e1g3c1i3c1f1c1q2g1p1e1c1e1b3d143e1b2g1i1f1k1d1h3c121e121e1a1f1r1e1b3c1e1c1w3e1u1e1v2c1t3c1q2c1q1e1h2e1s2c1l1c182c1s2f182e1t2e152c1s2e1t2e1s1e1k2c1u2c1w2c1s2g1o2e1s3d1k2c1s2d1q2e173e1s2c1s2c171c172d1h2f1e3e1e1c1i3c1k1g1h1f1k1c1f3c1g1d1e1f1e2e1h1e1d2c152c1s1e1j2e1t2c172c1s1c1j2e1q3g1f2c1w1c1e2c1q3g1e2e1u1d1z2c1t2e1h2e1s3g1t2c1w3e1z2c1q2e1a2e1u1c1z2c1u2c1f2e1q1e1u2c1u2c1w2c1r2e1y2e1u2c112c1t2d1s2e1q1e152c1v2e1y2c1s2e132e1t3e1w2c1u1c1i2e1s1e1z2c1w1c1x2c1q3f1u2e1t2c1v2c1s2d152e1r3e1z2c1u3d182c1q3e1c2e1s3d1b2c1u3d1b2e1q3f182c1u3d1d2c1q2f152e1t3d112c1s3d152e1q3e1k2c1u3d172c1q3f142e1s1d1b2c1s3d132e1q3f182c1u3d1v2c1q3f172e1s3e1i2c1s2d172e1q3f1b2c1u3d172c1q3e1o2e1s3d1b2c1u3d1r2e1q3f182c1w3e1y2c1q3f152e1s3d1b2c1s3d152e1q2e1u2c1u2e1f1c103g173f1q1c1r3d1r3b1b3f1d3e1b2c1r3c1y2d1i3g1d1e1c1e1r3c1d1c163g111g1h2c1d1d1k1d1d1e1e2e1s1e1e3e1f1c1h3e1b2f1b3e1l3d183c102e171f1c1e1i3d1g2c1d3f1q1f1k3c1q1c1i1d1f1g1a2f1k3e1m1d1k3d1i3g1d3f1c3e1l3e1h3d121e1d2g1f3d1u3c1d1c1d1e1g2f121e163d1f1d191g1f3d1s2d1u1d1f3c1b2g121f1o1e1c1e1i3c1h1e1d2g1c3c1z3c122c171f1q2f1b3d1y1e1s1e1d3e1w2e1t2e1h2c1u2e1s2e1q2g1j2c1u2e1f1d1k2e1r3f102c1v2e1h2c1q2g172e1s2d1a2c1u3e182e1s1g1s2c1u3d102c1q3g1d1e1w2d1v2d142c1x141b2g2e2r1q1q2r1t1k2g2o161|888888|historybgaover|170|222222|settings1|999999|posterwidth|37e6e2b35333w351y391g25223q1b3x3c1d3q02111m27313q2o252e2q2o2y233a1g25211g2e2b381c2v3u11311o360y11313b213x313b381a2x3u11311m21182v312n11323a251q27353e162z2x253e1y3s2911113a231s27353e1421281y121z1611153x392q1921361s3u2v213p1z3w263e153v3b2q19213412111o251z3w28113w26113w28113u2q313b233v2e2b233x29233x2720393x2e11112235163q02302e2b3y141m2e1d3q013z2m2411311m2111113u2711311f3b3v2e1a1y12302x3w2u353c12111e1o1z153x29231t322q14252522352e182635211f1g182e1631281w111211323s2911121o3s370131243316351h1r3d1l1g1k1f1f1e1q3f1l2e1q3f1f3g183g1k1g1k1c1h2f1e3e1s3f1k2e1v3c1z2e1u2g1y2e1t2e102c1s3f1k2e1s2e182e1u3c1r2e1u2e1q2e1t1e1i2c1u3e142e1u2e1z2e1u2c1b2e1u2g1e2e1t3g1l2c1s2e1u2e1s1g142e1w2e1r2e1s2e1z2e1u2e1i2c1u3e1t2e1u2g1w2e1v2c1t2e1u2g1g2e1t2e1z2c1u2f1y2e1u2e182e1u2e1x2e1u2g1b2e1s1f182c1u3g1v2e1s3f192e1u3d192e1s1f182e1s3f112c1s3f192e1s3e1i2e1u2d172e1u3f142e1s2f192c1t3f1l2e1s2f192e1w3d142e1s3f192e1u3e1e2c1s3f172e1u3f1d2e1u3d172e1t3f1c2e1s3f192c1s3g1b2e1s2f172e1v3d1z2e1s3f162e1u3g1c2c1s2f182e1u3g1v2e1u3d172e1s3g192e1s3f1w2c1s2e1u2e1f1e1h3f1i1e1g3g1u1g142g1s2g1f3c1i1f121g143f1g1e1i3c1s2g1q3g1c1e1j3e1e1d1b1f1j2f181g123e1b3d1f1g1g3f1g2e1f3f1u3d1k1e1l1e1i1g1h3f1e1c1h1e1b1f1k1g183f1e3c1a1f1g3g141f1h1e141c1a1e1a1e1a1e1a3f1r1e1s2f1b1f1b1f1m3f1e3d1g1g1d1g1p3e122e163d101e1f3f1c1g1k3f1v1e1s2e1d1f1a3g1s1e1u3c1g3f1e3g141f1i1g1u1d1g1e1u1g1h1f1c3e1e1d1k1e123g1c1f1g1g182c1s2e1u1g1s2e1t1e1f2c1s2g1v2e1u1f141e1l2c1u2g1w2e1u2e1j2e1v3d1w2e1f3e1s2e1s1e1j2c1t2e1t2e1t2g1x2e1v1c1u2f143f193f141e141t143e161e1i3g1g2g1e3d162e1i3f181g1g1f1s1e1l1e123g1a1e1r3g162c1w2g1r2e1q2e1z2e1w2c1i2e1u3e1r2e1u3g1y2c1v2e1t2e1s2g1g2e1v2c1z2e1u2f1w2e1u2e1a2c1u2g1x2e1s2g1b2e1u1d182e1s2e1x2e1s1g1i2c1w1e1u2e1r2e1k2e1w2c182e1s2g1k2e1s1f1b2c1w2g1m2e1s2g1x2e1u2e102e1s3f1y2e1s3e1y2c1u1f1k2e1p2g1v2e1v3e1i2e1s1f172e1u3g1a2c1u3f192e1r3g162e1u3d192e1u3f1a2e1s2f192c1w3g1g2e1q3f192e1w3d1f2e
41s3f162e1u3g1d2c1u3f172e1q3f172e1u2d192e1u3e182e1s3f1a2c1u3f1a2e1q3f182e1u3d1c2e1s1f152e1t3f1d2c1u3f192e1q3f152e1u2d192e1u3g1u2e1s1f192c1u3f1e2e1q1f172e1u3c112e1s2e1u2e1k1e143d1q1g1k1f121g121g161e1u2g1f3f121g103g1k1d1f3e1d1f141g1f1f1d1d1s3f1f3g1e3f1g1e1f1c1e1e1f1g1k3e1f1e1a3d153g1h2e192f1k1f1e1c1i2e1s1g1h3g1d1e1l3c1e1f1b3f1h1f181e142c1b1f1b1f192f1b2f1d3c1a1e1d3f163f153e1k1d1u3f1f1g1d1g1f1e1e3c1d3e191f1p1g1s1g143c1w1f143f1d3f171g1j1d1u2f1j2g1k1e1a3g1a1d1r3g1d1e1f1e1f1e1i2c1e3g1h2e1g2g1f3f1h2c182e1h2e1q1e102e1u2e1h2e1u1e1r2e1f3e1w2e1v2e1u2e1q2e1t2g1v2c1w3g1m2e1y2e1r2e1u2c1q2e1s2g152e1t2e1v2c1u1e163f1q3e1y3e1h321s1h1r1g1a1e1k2g141e1g3g1j1f1c3g141f1i1e1l1g1v2e1g1g1w2e1r1e1i2e1w1e1s2e1t3e1k2c1w2e182e1q2g1m2e1s1d1b2e1w2g1k2e1u2g1x2c1u2g102e1q3f102e1s3c1y2e1u1f1i2e1r2g1v2c1v3g1i2e1q2e1u2e1s1d1t2e1v2g1r2e1s3e1w2c1u2g1g2e1s1e1z2e1s3c1t2e1w2e122e1s2g1m2c1w1e1m2e1s3e1h2e1u3d112e1u3e1x2e1t1f1u2c1u1f192e1r3e162e1s1d1a2e1w3f162e1s1f172c1u3e1d2e1q3f172e1u3e1v2e1u1f172e1s3f1e2c1u3f192e1q3g162e1s1d1b2e1u3f1e2e1s3f172c1w3f162e1q2f192e1s3d112e1u3f172e1s3g1w2c1u3f1b2e1r3f1e2e1s3d192e1u3e1c2e1s3f182c1v3f1b2e1q1f172e1t3c1b2e1u3f152e1s3f192c1u2e1w2e1q2e1w1e1f1c143e181e1i3g1b1e141c141f161g1q2e1b1e1q1c1a3e1e1e1e3g141g1h3e1b1g1e3f1q1g1m3e1d1c1e3f1u2f1k1e1b3e1d3d1e3e1r1g1d1g1c3g1f1c1u1f1e3e1b1f161g1s1d1d1g1l3f1d3g1g3f1g2c1e1e1s3f1a3f1j3f183d162e1c1e1d3f1f3f183e1e3g1r3e101f141e1e1c1f3f1u3f1g1f1f1g1m1e1f1e163e1q3f1m3e181c1v3e1e3g1e1g1i3f171e1g3e1q1e1d1e1f2e1s1d1e3g1r1g1d3e1k1g1m3c141f1v2e1y2e1s3e1w2c1v1g1v2e1r2e1w2e1f3d1v1g192e1r2e1r2e1s1e1s2e1u1e1x1e1y2g102c1u2g1j2e1r1e192e1u3c172e1m2e1x3f1u2f1w3d1j141t1s1q2e1e1t1e2i1u1t141o|05d35c38cdf1a21c3db21fa795e37da8|customimage|444444|partners|IVwVlja0Nj9uIWoVP2UUPZhVLCJ0RkBYIWoVP3mnIVwVPG9zNkepO24VbVJ0O3AtPZYnNHdVLCJtlkJnNj4VbVIxafAxafAwIDAVLCJVmyI6MfwVlZQvIWoxLCJzl2FsmfI6MfwVlZQwljeXNj5nIWoVaVA2IDlTaVIsIZJnlfI6MC4zLCJVm2FvQZiyIWowLWlsIZFuNj1UQGYvOVI6InBvP2Y0Nj9uIVwVmjFzmfI6IZislka0NjMVSfwVOGFumyI6InJ1IVwVmZYsmfI6IYt7PGpzJ3F0QGY0OGiwNnMnPkd6PGpzJ3F00KHdtQGA0LWeWzFwNnMnPkdsPGpzJ3F0mZYsmkBqPyQxQDpwNnMnPkeoQHewbV8vl2euLnBslkYYPZpzLZavOf94LZ1waHBqPyQxQH0sR3BqPyQxQHepQGxYPGpzJ3F0bnBqPyQxQaCU0LkeTaC40l8yPGpzJ3F0LHBqPyQxQGmpOGiwNnMnPkd6PGpzJ3F0NHe0PDovL2aXOV5wOGF5mkJqPy5WO20vRC5tPDewNnMnPke9kfIsInaYQHepOZQzIWp7InaYQHepOZQzaCI6MfwVP2i0QGYum3M0lja0Nj9uIWoVP3BYmjdVLCJ2ljx1mjavOG9yIWoVmZmZmZmZIVwVlZQWO2xvPVI6IWAwMDAwMCIsIZJnlfI6IWEVLCJVm2avOG9yO3mYPVI6IZmZMDAwMCJ9LCJwOGF5OGYzQCI6RyJ2ljx1mjavOG9yIWoVmZmZmZmZIVwVlZQWO2xvPZ92mkIVbVJZlgAwMDAVLCJoNka0O3J5QGY0OGizQHJpN2hVbWEsIZUpP3evPnYWO2xvPVI6IZmZmZmZmVIsIZJnlfI6IWEVLCJVm2avOG9yIWoVMDAwMDAwIn0sInaolkJYNjavOnaWljxYIWoVMVIsInaolkJYMyI6IZQvO2QsmfIsIZxvmyI6MCwVmkmYOnezQHJUl2tYPVI6MCwVmj5WO2epOZPxMWhxIWoxLCJoOHMVbWEsInBymjxvljdVbWAsInaoQjmZOGhVbWAsIZeUP2TVbWEsInmpOjivIWowLCJzNGFymgdVbVJ2NyIsInaolkJYafI6InQolkezlkBwIn0|cGPTQHJUOnaZO3JtcfQ0PZFuP2xUQGhoMVwTMyXncWxwlkeoIGd9J00xaVw3LWEzaWlxMgMyIEwxaVw3LWEwbgE2bgd1IEwxaf4yMDTxazT1LDPuMgA5Mgl5aDhTgDE0LWI3agA5Myw3LWEwbgE2bgd1IEMxaC4yazhwbgMsMy4xbgXxMWlyafAxMf4waWMxbgPsMCA3LWEzazh0aWd1LDATdzMuMWExbDX1bgEsMCAwLDMuMgX5MgI2MWhTMCw3LWEwbgE2bgd1IEMwLDExLWAxbgIxMWlTMy4yMgE4bgh5MfwxaC4yMgTzMzT5IDPuMgM3agd2aDhsMgduMWE4MzM4bfBMay4xMzP1aDl0afwxMV40aDEwaDl1IEM0LWE5MzMwbDh1LDEyLWd0MgA0aWhTMf43bDdzbDl2MVwxMC4waDE3MDE4IDEuazT0MzT2aWIsay4xMDXxaWX0afBDMf43bDdzbDl2MVw0LWE3aWlzazA1IDduMgXzMzA4aghsMf43azPybgIzaVA3LWEzazh0aWd1LDEuazP3MWXyMzlTdzEwLWA4MgP4aDdsMf43azPybgIzaVAxMV40bgA3MDlzLDduMgP2aWM3MDhTMgIuaDXwazA2Myw3LWEwbgE2bgd1IEwxMC42aDd1Mgl3LDPuMgA5Mgl5aDhTgDEzLWM4MWT5bglsMgEuaghyaDAwaCBMMglsay4xMzl2MgEzMVBNJyBZNjxscfPWmZmZmZmZJz48L3BUQGT|IVwVNjavOWMVbVI8P3mnIHQpmHeocfPyMCPTNGipm2U0cfPyMCP|cC9ncWwvP3mncVIsIZFWQGYvOVI6InBslkXVLCJUl3epO24yIWoVPGF1P2hVLCJ0RkBYIWoVP3mnIVwVP2aUOGhVbWEuMVwVP2aUOGivQZiyIWoxLWhsIZ1UPZQpOVI6IWATMCAwIDIwIn0sIZavOneyO2xSOki0mfI6RyJvPZeYPVI6aVwVO24VbWEsIZYWO24VbVI8P3mnIHQpmHeocfPyMCPTNGipm2U0cfPyMCP|cGPTQHJUOnaZO3JtcfQ0PZFuP2xUQGhoMfwTMfXncWxwO2x5m29uIHBvNj50Pz0nLgEuMgM2bDl4MzUYLgEzIDhuazd1agh2aWdTLgEuMgM2bDl4MzUYLgEzIDExLWP0bgl4MWlTaC4wMDI0aWh4MVAxMf43aDX2bDI2IDXuMDAyaDl1bDITMgluazd5aWTyaVA5LWAwMWd2agTyIDAuazd4bgAxMzl3IDduMDAyaDl1bDITaf43aDh1agl2aCPTmZYsOD0nI2mZmZmZmVPvcWxwlkeoIGd9J00xMf4wMDI0aWh4LDduazd5aWTyaWITgDExLWAwMWd2agTsMgIuazd5aWTyaVBDMgEuMDAyaDl1bCwxMV43aDX2bDI2IDEzLWhzaDl5MWdsMgEuaDIxbgd4MVAxMy41Mzd2bgI0LDTuazd5aWTyaWITdzEzLWhzaDl5MWdsaV4wazP0Mgl5bfAxMf4wMDI0aWh4LDduazd5aWTyaWITMgEuMDAyaDl1bCw0LWP0bgl4MWlyIFonIGYXcfQwNnaSQZ9sQj1Yk2ismj1YOndxJyBZNjxscfPWmZmZmZmZJy8|cHBUQGTTmD0nggEwLWX5azMwazIsMV4wbgEybDdxbCBDMgEuagA5bDT3aywyLWIzaDM1MDh5IDEyLWl4MWI5MgEsMV44aDlwMDh2ayAxMy4ybDT5bDI1LDMuMWX3bDEwagTTdzE0LWX5aDA2MgXsaC41aWP1bDTzMVAxaf45bgl3aghyLDluMzM0MWPzMDlTMghubgXzMgT5aVw4LWP2MgAwaWI3IEMxaf45bDX2MzA1LDExLWE4MzI0bDITMgdubgXwMWh5aCwxMV45MWX1azMTMgMuMWX1MzXsMgduMgPwbDTzIEMxMV42bgAyaDhyLDE0LWlxaDA4aWlTMgEuaDM1azXxLDE1LWI1azl2aVAxMC45bgPzMDPyLDE1LWM2MDIybghTgDEwLWX5azMwazIsMgPuaDM4MzI5bCBDMgEubDX3Mgd3bfwxay4yMzPzaDM5IDEzLWE4MzP5aDXsMgluazMxaWd1ayAxaC40azPxMzAyLDE1LWP4aDdxaWdTdzE2LWl1bDX2azlsMgduMgT2aDh0aVAxay45bDT2MzdsMgEubDlybgl0MfAxay45bgMxbDP0LDTuazlzbgd0bfBDMgPubgX3azd0aVw1LWl2MWM0aWl2IDE2LWl2bgA4MgEsMy4zMWEzMWIxMyAxaC40bDM1MzP2LDEuaWXzazdxMzTTdzEzLWE5MWP5azXsMC43MzI1MWM2MzMTMgEubDX1MgMwbCwwLWIx
4MzMyMWA0afAxMC45bgPzMDPyLDATgDEwLWX5azMwazIsMV4wbgEybDdxbCBNJyBpmD0nPGpzk3mvOHitmi9YOGitmj50MVPTmZYsOC1yQjxYcfQuO256mkJvJyBZNjxscfPWmZmZmZmZJy8|cC9ncWwvP3mncVIsIZYWO24yIWoVcHa2myB3Nje0ND0nMWAnIGUYNjQoQD0nMWAncWxnIGmpOGwtPnismg0nOZ9uRZiyOyPTQHJUOnaZO3JtcfQ0PZFuP2xUQGhoafwTaCXncWxymja0IHT9JzAnIHX9JzAnIHQpmHeocfPzLWhnIGUYNjQoQD0nMgInIGmpOGw9JyaZmZmZmZlnLz48PZiWQCB4cfP2LWhnIHX9JzAnIHQpmHeocfPzLWhnIGUYNjQoQD0nMgInIGmpOGw9JyaZmZmZmZlnLz48L2P|cHBvOHYsNj5YIHBvNj50Pz0nMC41bgM3afAwLWd4aDM4IDAuaglyafAxMy41Mgh2MyAxMf40MzP1IDPTMC41bgM3afAwLWd4aDM4JyBZNjxscfPWmZmZmZmZJy8|default_w|e4r4pxv6u3oa|default_h|fullwheel|1RyJzl3JYmj5WO2xvPVI6IWAwMDAwMCIsInevO2xVlkIVbnsVl29sO3IVbVIwMDAwMDAVLCJoNjeYIWoxLCJtlkJnNj4VbVItMWATMCAwIDAVLCJnPZFXNjiuQCI6MfwVlj5pOjF0Nj9uIWoVljxwNGEVLCJUIWoxLCJwljeXNj5nQG9wIWoyMH0sIZavOneyO2xSQGY0OGhVbnsVO3JXmkIVbWEsIZ9uIWoxLCJUl3epO24VbVJ0NkesmfIsIne5PGhVbVJ0mkU0IVwVPG9zNkepO24VbVJ0O3AtOGiZQCIsIZasNjarIWowLCJolj5XIWowLCJ0mkU0IWoVIVwVQZFyIWoVQGY0OGhVLCJoNjeYIWoxLCJoNjeYO25wOGF5IWoxLCJUOZYtlkepO24VbVJwO3apQGYvOVIsIZJnIWoxLCJVm2EVbWAuaCwVlZQwljeXNj5nIWoVaVA2IDlTaVJ9LCJWO250PZ9sk2xpOZhVbnsVO3JXmkIVbWMsIZ9uIWoxLCJ0RkBYIWoVP2UUPGhVLCJUl3epO24VbVJsNj5YIVwVNCI6aCwVPZ91OZepOZPVbWAsInPVbWEwMCwVlfI6MfwVljJnIWoVMC4zIVwVljxvljdVbVIwLWMVLCJUO3mYPVI6IWAuaVIsIZavOG9yIWoVmZlwMDAwIVwVl29sO3JVmyI6IZmZmZmZmVIsIZavOG9yOG9UmCI6IZmZmZmZmVIsIZavOG9yO3mYPVI6IZmZmZmZmVIsIZJ1mZmYPVI6RyJvOVI6MCwVl29sO3IVbVJZmZmZmZlVLCJUIWowLWi9LCJwO3apQGYvOVI6IZJvQHevOfIsIZ1UPZQpOVI6IWATMgATMzdTMgAVLCJolj5XOGhVbWEsIZJnPGFXmGYumyI6IWhTMCA1IDAVLCJ0NkAVbWEsIZUpmGhVbWEsIZUpmGivOZxpQZhVbWEsIZi4PGFumCI6IWEuMyIsIZUUOZesmjUpmGhVbWEsIZUUOZesmjavOG9yIWoVmZlwMDAwIVwVNGFumGxYP2aUOGhVbVIxLWhVSfwVl29uQHJvOF9wOGF5IWp7IZ9ymGiyIWoyLCJvOVI6MfwVNjavOVI6IWxzQZPTQ2YXQGT9JzIwJyBomjYnNHd9JzIwJz48myB0PZFuP2mvPZ09J3eylj5zOGF0mfT1LCAzKfP|cC9ncWwvP3mncVIsIZYWO24yIWoVcHa2myB3Nje0ND0nMWAnIGUYNjQoQD0nMWAncWxnIGmpOGw9JyMwMDAwMDAnIHeylj5zmZ9yOg0nQHJUOnaslkeYKDEsIDEpJz48PG9sRjQvOVBwO2YuQHM9Jy0xLWEzaWT2bDM4mf0xMyA1LWP0agh1aWl0IC0xLWEzaWT2bDM4mf0xMyAxMf43aDX2bDI2IDduMDAyaDl1bDITMgEuazd5aWTyaVA5LWAwMWd2agTyIDE2LWP0bgl4MWlTbf4wMDI0aWh4MVAwLWP0bDXwMgM2ayA0LWAwMWd2agTyIDhuazd1agh2aWdnIGmpOGw9JyaZmZmZmZlnLz48PGF0NCBXcfQaMgMuafw3LWP5MWT5MzIyIEwxMf44agM1agM0LDluMgd2aDd2aWETgDExLWE0aWd0aWlsaV44agM1agMzbfBMMgIuazXybDXzMVw4LWhTgDExLWE0aWd0aWlsMgAuMgd2aDd2aVBMMgEubDhzaghzaCwxMC44agM1agM0IEwxMy41LDXuMWA3MgA2azTTgDE1LWE0aWd0aWlsMgAubDhzaghzaCBMMghubDhzaghzaCwxMC4xaDl0aDl2IEwxaC4yMDPxMDl4LDTuafBMMghubDhzaghzaCw2LWT1Mzh1MzM5IEwxaf4xaDl0aDl2LDluMgd2aDd2aWETgDEzLWhsay43bgI4bgMyMVBNJyBZNjxscfPWmZmZmZmZJy8|cC9ncWwvP3mncVIsIZFWQGYvOVI6IZ11QGhVLCJUl3epO24yIWoVQj5tQkeYIVwVQHYwmfI6Ina2myIsIZ1UPZQpOVI6IWETMCAwIDE1IVwVmGYzPGxURkmvOHitmfI6Mk0sIZavOneyO2xSQZ9sQj1YIWp7IZ9ymGiyIWo3LCJvOVI6MfwVQHYwmfI6InaolkBYIVwVlja0Nj9uIWoVQZ9sQj1YIVwVNCI6MywVPZ91OZepOZPVbWAsIZa1P3evOkQpmHeoIWoxLCJ3IWo2MCwVlfI6MfwVljJnIWoVMC4zIVwVlj92mkIVbVIwIVwVl29sO3IVbVJZmZmZmZlVLCJWO2xvPZJnIWoVmZmZmZmZIVwVl29sO3JvQZiyIWoVmZmZmZmZIVwVNGYXmfI6MfwVNGYXmj91QG11QGhVbWEsInJvQGF0Nj9uIWowLCJVm3BUmGepOZPVbVI1IDATafAwIVwVlZPVbWAsIZUUOZesmfI6MfwVNGFumGxYP2aUOGhVbVIxLWdVSfwVl29uQHJvOF90Nj1YIWp7IZ9ymGiyIWo4LCJvOVI6MfwVlja0Nj9uIWoVQGYtmfIsIne5PGhVbVJ0mkU0IVwVQGi4QCI6IWA6MDAVLCJZO250P2Y6mfI6MgAsIZ1UPZQpOVI6IWATMCAwIDE1IVwVl2xpl2sVbWAsInaYPGFylkevPVI6IV8VSfwVl29uQHJvOF9XQkJUQGYvOVI6RyJvPZeYPVI6bfwVO24VbWEsIZFWQGYvOVI6IZe1PZF0Nj9uIVwVQHYwmfI6IneYRHdVLCJ0mkU0IWoVLyAwbWAwIVwVmZ9uQHapRZhVbWEwLCJtlkJnNj4VbVIwIDATMCAwIVwVl2xpl2sVbWB9LCJWO250PZ9sk2J1mZmYPVI6RyJvPZeYPVI6MgAsIZ9uIWoxLCJpl29uIWoVcGepQVBWOGFzPz0nOG9UmGiyKHJUOZdpJz48P3mnIGaslkazcfQWNkJWQjxUPVUylj5XKfPTQZYYQ0JvRD0nMWhTMWhTagATagAncWxWNkJWOGhTl2xUP3M9J3BUQGToPZFumCXnIHa0PZ9rmg0nKGavOG9yKfPTl3T9JzhwJyBWRg0nagAnIHI9JzIwJyBZNjxscfQuO25YJyBzQHJvN2htQ2YXQGT9JzInIHa0PZ9rmf1tNkeYPZxpOjY0cfPxMCPvcWwvP3mncWwvmGY2cnx8SC5sO2FXmkIoPZFumCXTR3BvP2Y0Nj9ubVBymjxUQGY2mgttlkJnNj46IDATlki0Ozt3Nje0NDoTagBwRDt9LZxvljeYPVUylj5XKgpVmjmvPZhTR2avOneYOnd6ICPnb2epP3BslkX6IGJsO2arb3BUmGepOZPtQG9wbVAxMDAYb30ul2Yyl3islkIoPZFumCXTRy13mjJrNkdtlj5pOjF0Nj9ubVByO3eUQGhTMnMTOGYumjFyIGYumZYuNkeYb2FuNj1UQGYvOWoTPZ90lkeYIDJzIGxpOZiUPVBpOZmpOZY0mgtomjYnNHd6IDEwMCh7LkQYlZtpQC10PZFuP2mvPZ0tO3Jpm2YubVBWmj50mkITl2iuQGiyb3eylj5zmZ9yOf1vPZYnNj46IGaYOneYPVBWmj50mkI7Q2YXQGT6IDEwMCh7PG9zNkepO246IGFVP29sQkeYb3evPDoTMDtVO3e0O206IDA7OGiZQDoTMDtyNjQoQDoTMDttlkJnNj46IGF1QG87Sf5wlkeoKHJUOZdpIHtzQHJvN2htmGFzNGFyPZF5bVAxLCAyMDA7P3eyO2tYLjeUP2UvmZmzmkd6IDA7LkQYlZtpQC1UOZYtlkepO246IGeUP2TTMf41PyBYlkaYLjYuLj91QCBpOZmpOZY0mgtUOZYtlkepO246IGeUP2TTMf41PyBYlkaYLjYuLj91QCBpOZmpOZY0mgt9dC13mjJrNkdtN2i5mnJUOjizIHJvQGF0mfB7MgAwJfB7LkQYlZtpQC10PZFuP2mvPZ06IHJvQGF0mfTzaWBXmjPpb3eylj5zmZ9yOgoTPZ90lkeYKDM2MGeYmyX7Sk1AN2i5mnJUOjizIHJvQGF0mfB7MgAwJfB7LkQYlZtpQC10PZFuP2mvPZ06IHJvQGF0mfTzaWBXmjPpb3eylj5zmZ9yOgoTPZ90lkeYKDM2MGeYmyX7Sk1ALkQYlZtpQC1rmkYZPZFtmkMTmGFzNCB7
4MChTR3a0PZ9rmf1XlkaolkJylkX6IDEsIDIwMDtzQHJvN2htmGFzNG9ZmnaYQDoTMDt9agAYIHtzQHJvN2htmGFzNGFyPZF5bVA4bfwTMWAwb3a0PZ9rmf1XlkaoO2mZP2i0bVAtMziwRDt9MgAwJfB7P3eyO2tYLjeUP2UUPnJURgoTbDXsIDIwMDtzQHJvN2htmGFzNG9ZmnaYQDoTLgEyaHB4b319dGtYRjmylj1YPyBXlkaoIHswJfB7P3eyO2tYLjeUP2UUPnJURgoTMfwTMWAwb3a0PZ9rmf1XlkaoO2mZP2i0bVAwb301MChTR3a0PZ9rmf1XlkaolkJylkX6IDT5LCAyMDA7P3eyO2tYLjeUP2UvmZmzmkd6IC0zakB4b30xMDAYIHtzQHJvN2htmGFzNGFyPZF5bVA4bfwTMWAwb3a0PZ9rmf1XlkaoO2mZP2i0bVAtMgI0PHT7Sk0VLCJUl3epO24VbVJVQjmZmkIVLCJ0RkBYIWoVl3azIVwVPG9zNkepO24VbVJWmj50mkIVLCJzl2FsmfI6MfwVl2xpl2sVbWAsIZUpmGhVbWF9LCJWO250PZ9sk3aYQHepOZQzIWp7IZ9ymGiyIWoxMfwVO24VbWEsIZYWO24VbVI8P3mnIHQpmHeocfPyMCPTNGipm2U0cfPyMCP|cC9ncWwvP3mncVIsIZFWQGYvOVI6Ina0O3AVLCJ0RkBYIWoVP3mnIVwVlZPVbWB9LCJWO250PZ9sk3BymklVbnsVO3JXmkIVbWdsIZ9uIWoxLCJpl29uIWoVcHa2myB3Nje0ND0nMWAnIGUYNjQoQD0nMWAncWxnIHeylj5zmZ9yOg0nQHJUOnaslkeYKDhuafwTafXncWxwlkeoIGd9J004LWX5bgX5LDEwLWdzazd5IEw4LWX5bgX5LDEwLWdzazhTgDIsaf4yMgT3afBMbC45bgX5bfwwIEw4LWX5bgX5LDEwLWdzazd5IFoTggAsMCBMMVwwIEwyLDEwLWI0bgTzIEwwLDEwLWI0bgTzIEwwLDATjVPTmZYsOD0nI2mZmZmZmVPvcWwvmz48L3a2mz4VLCJUl3epO24VbVJwPZi2IVwVQHYwmfI6Ina2myIsInaWljxYIWoxLWIsInBvP2Y0Nj9uIWoVl29uQHJvOHMtlZ90QG9tIVwVOjFym2YuIWoVMCAwIDATMghVSfwVl29uQHJvOF9umkU0IWp7IZ9ymGiyIWo1LCJvOVI6MfwVNjavOVI6IWxzQZPTQ2YXQGT9JzIwJyBomjYnNHd9JzIwJz48myB0PZFuP2mvPZ09J3eylj5zOGF0mfT1LCA1KfP|cHJYl3dTRD0nMCPTRg0nMCPTQ2YXQGT9JzEyJyBomjYnNHd9JzEyJyBZNjxscfPWmZmZmZmZJy8|cHBUQGTTmD0nggAuaDl5aDTsMjhtMDhTgDAuaDl5aDTsMjhtMDhTgDAuaDl5aDTsMCBMay40aWX0ayw1LWIxbDP1IEwwLWd2bgd4LDEwLWdzazhTgDAuaDl5aDTsMjhtMDhTjVBaay41MzA1MVwwIEw5LWhzMDhyLDATgDXuagMwagIsMgAuaWI0bDITgDPuagMwagIsMgAuaWI0bDITgDPuagMwagIsMCBNJyBZNjxscfPWmZmZmZmZJy8||cC9ncWwvP3mncVIsIZFWQGYvOVI6IZ5YRHdVLCJ0RkBYIWoVP3mnIVwVP2aUOGhVbWEuMVwVPG9zNkepO24VbVJWO250PZ9sPy1VO3e0O20VLCJtlkJnNj4VbVIwIDATMCAxafJ9LCJWO250PZ9sk3aolkJYIWp7IZ9ymGiyIWoxaywVO24VbWEsIZYWO24VbVI8P3mnIHQpmHeocfPyMCPTNGipm2U0cfPyMCP|cGPTQHJUOnaZO3JtcfQ0PZFuP2xUQGhoMfwTMyXncWxwlkeoIGd9J00xMC41MWI3agAzLDEyLWM0bDdxMWTTgDEwLWhyMWP1MDMsbf4zMDMzbgdwMfBDaf41Mzl1bDl0bCw5LWExbghwbDX4IDIuagM0bDA5bDXsMgEuMzT5aWX4MfAwLDEzLWXxMWhzMDhTdzAsay45Mgh5MWhxbfA1LWIyaWX2bDP3LDMuMgXyazE1MzlTMgAuagIyazhwMywzLWEzbgT2MDETgDEwLWhyMWP1MDMsMC4xMgP2aDPwagXTgDE4LWAwMzh4MgTsaV4yMzMwMWX5MyBMMgAuagIyazhwMywxMV4zaDT0MgI4IFonIGmpOGw9JyaZmZmZmZlnLz48L2P|cC9wlkeocWwvmz48L3a2mz4VLCJUl3epO24VbVJwOGF5IVwVQHYwmfI6Ina2myIsIZJnIWowLCJVm2avOG9yIWoVmZmZmZmZIVwVlZQvIWoxLCJVm3BUmGepOZPVbVItMyAtMfAtMyAtMfIsIZYWO25tlkJnNj4VbVIwIDATMCA0IVwVlZQUIWoVMfIsIZJnlj92mkIVbVItMfIsInaWljxYO3mYPVI6IWdVLCJoNjeYIWoxLCJoNjeYO25wOGF5IWoxLCJoNjeYO255O3i0QjJYIWoxLCJpl29uP2avOG9yIWoVLgEVLCJUO3mYPVI6IV0xIVwVlfI6IWEVLCJpl29uP3JYPGxURfI6Mk0sIZavOneyO2xSOGY2mfI6RyJvPZeYPVI6MghsIZ9uIWoxLCJ0mkU0IWoVOGY2mfIsIZxYQHeYPnawljapOZPVbWIsIZFWQGYvOVI6IZxpQZhVLCJ0RkBYIWoVQGi4QCIsIZUUOZdVbWAsIZasNjarIWowLCJZO250P2Y6mfI6MgAsIZ1UPZQpOVI6IWATMCAwIDE1IVwVlfI6MC41LCJoNjeYIWoxLCJoNjeYO252O2dVbWF9LCJWO250PZ9sk3a0O3AVbnsVO3JXmkIVbWE2LCJvOVI6MCwVNjavOVI6IWxzQZPTQ2YXQGT9JzIwJyBomjYnNHd9JzIwJz48myB0PZFuP2mvPZ09J3eylj5zOGF0mfT0LCA0KfP|cC9wO2x5m29ucYxuICATIDwvmz5POWwvP3mncVIsIZYWO24zIWoVcHa2myB3Nje0ND0nMWAnIGUYNjQoQD0nMWAncWxnIHeylj5zmZ9yOg0nQHJUOnaslkeYKDIsIDMpJz48PGF0NCBXcfQaMglsay4xMzl2MgEzMVBMMglsay4xMDXxaWX0afBMMghuMWA4MgP4afw3LWEwbgE2bgd1IEwxaC4yazhwbgMsay4xMDXxaWX0afBDMgduMWP1MDXzLDMuMgX5MgI2MWhTMgEuMDlzMgX3LDATay4xMzP1aDl0afwwIEMzLWIxMgT5agXxLDATMCwzLWE5bgEyaWI1IDAsay4xMDXxaWX0afBDMCwxMf4wMgXyMgI2IDMuMWExbDX1bgEsMgduMWE4MzM4bfA3LWEzazh0aWd1LDE0LWIxbDMzbDXTgDPuMgM3agd2aDhsMgIuaDdxMDd2afBDaC4xbgMzMDT1afwxMV40aDEwaDl1IDEuazT0MzT2aWIsMgAuMDdxazAxbCAxLWP4aDM4aWlyLDPuMgA5Mgl5aDhTdzEuazT0MzT2aWIsaC4xazl2MzPwafA0LWE5MzMwbDh1LDEuazP3MWXyMzlTay4xMzP1aDl0afwxLWP3azI5MWM2IEMxMC4wbDE3bDd0LDEuazP3MWXyMzlTMgIuaDXwazA2Myw0LWE3aWlzazA1IDEyLWd5MDPwaWMsay4xMDXxaWX0afBMMgAuaWd0agE2ayw3LWEwbgE2bgd1IEwxMy4zbDI4bgX2LDExLWh1MWdwMDdTgDE2LDPuMgM2aWExMzITjVPTmZYsOD0nI2mZmZmZmVP|cHBUQGTTmD0nggXubgh5MWE2MzlsMCBMMgEuMDPzaDM1MVwyLWdyMWX4MDP1IEwxMV4wbDdyazTsMV45azl4Mzl3afBMMgduagl1aDI2MywxLWT2bgEyaDP1IEwxaV4wMDEzaghzLDMuMzh3aWl2bDXTgDE1LWE5azI2aDPsaf44aDE0MgPwbfBMMghuaDE1aDP1aVw2LWTzMDl4aDM1IEwxay44azM3MDlzLDPuazT4MzXxMfBMMgTsbf44aDIybgX1aCBMMghuaghzMzhxaCwxMC44MDAwMDlzIEwxaf4wazA4aDP3LDExLWTzbDdwbDXTgDE2LWA4Mgl5MDhsMgduMzdyMWA5MyBMMgduaWh2aWA0MVwxaf44MgM1aDP5IEwxMV4xagMxagdzLDE0LWP2bgIwaDhTgDExLWAyazd3aWlsMghuMWdyMWdwbCBMMgAuMDT1agEwMfwxay42MDP2ayBMbC4waWM4MWd1aCwxay43IEw2LWX4aDEwagd3LDE1LWI4bDdwagTTgDhubDEyaDl5MVwxaC43bDA3Mgd4IEwzLWd0aWE1agP0LDE1LWT1MzP3MWETgDEubgl0MWl4MgEsMgduaDM0agM5MyBMMV45MWXyazh1MfwxMf44bDd1azM5IEwyLWM2aWMxMzd1LDEwLWTyMzAyaWXTgDAsbf44bgX5azd4MyBMMC4wMWMwaDA5MDl5LDPubDIzMDd1azTTgDIuaDd2azPxbDEsaV44aDIzMgT0MVBMMV45aDA3Mzdzafw1LWT0MgdxazA5IEwxLWT4MzXzMWX3LDMuMzh3aWl2bDXTgDMuMzMxMzIwbDhsMf44bgIyaWXxMyBMaf44aWX4bDl2aCwyLWT5aWE0MDT2IEw2LWX3MWl0aWlyLDIuaDTwazP5bCBMay45MzP1MzA4LDAuMDd2MDdxMWEzaVBMbf45agXyMglzaVwwIFoTggTubDd5bgM4azMsaVBDay4yazlwMzM0afw2IDlsay4yazlwMgMybCA2LDTubDd5bgM5azdTdzlsMgAuaDIzbgT2ayA3LWI3aWAzMzd1LDExLWPTbC44aDX5MzT3MywxMf43IEMxMC40MWM5aWl2LDExLWPTMgEuaywxMC40MWM5bDl3IDExLWPsbC44aDX5MzX3aCBDMgEuayw3LWI3aWAxMzI4IDEwLWdyMzX2aWlsaVA4LWT0bgXzbDPzLDlTjVPTmZYsOD0nI2mZmZmZmVPvcWwvmz48L3a2mz4VLCJUl3epO24VbVJzmke0Nj5nPyIsInBvP2Y0Nj9uIWoVl29uQHJvOHMtPZYnNHdVLCJtlkJnNj4VbVIwIDATMCAxafIsIne5PGhVbVJzQZPVSfwVl29uQHJvOF9wOGF5OGYzQCI6RyJvPZeYPVI6MgIsIZ9uIWoxLCJpl29uIWoVcHa2myB3Nje0ND0nMWAnIGUYNjQoQD0nMWAncWxnIHe
4ylj5zmZ9yOg0nQHJUOnaslkeYKDIsIDMpJz48PGF0NCBXcfQaMCwwIEwxaVwwIEwxaVwyIEwwLDITgDAsMCBNIE0wLDlTgDE2LDlTgDE2LDTTgDAsbCBMMCw2IFoTggAsMgITgDE2LDEyIEwxaVwxaCBMMCwxaCBMMCwxMVBNJyBZNjxscfPWmZmZmZmZJy8|cC9ncWwvP3mncVIsIZFWQGYvOVI6InBslkYsNka0IVwVPG9zNkepO24VbVJsmjm0IVwVOjFym2YuIWoVMCAwIDATaVIsIZJnIWoxLCJzl2FsmfI6Mf41LCJ0RkBYIWoVP3mnIVwVlj5pOjF0Nj9uIWoVPG9zNkepO24VLCJVm3BUmGepOZPVbVIzIDMTMyAzIVwVlZQUIWowLWdsIZJnlj92mkIVbWAubCwVQGYwIWowSfwVl29uQHJvOF9ZQjxsIWp7IZ9ymGiyIWoxMywVO24VbWEsIZYWO24VbVI8P3mnIHQpmHeocfPyMCPTNGipm2U0cfPyMCP|cHBUQGTTmD0nggluaWP0aDA1MgEsMCBMaV42azd0MDhxMfwxLWP0MgXzagd4IEwxLWP0MgE0bgE2LDEuazdxbgM1aDTTgDEuazdxMgd5MglsaV42azP0MgXzafBMMCw2LWl3azdxbgM1IEwwLDATgDluaWP0aDA1MgEsMCBNIE0xbCwwIEwxbCw2LWl3azdxbgM1IEwxaV4yagT4agA4LDluaWP3aDE5MzhTgDE2LWI1bDT1MDTsMf43aDE5Mzh0bCBMMgEuMzI1agX0bfwxLWP0MgXzagd4IEwxMf4zMWh1bgd5LDATgDE4LDATjVBaMf43aDExaDXxaVwxMf4zMWI1bDA2IEwxLWP0MgE0bgE2LDE2LWI1bDA2aDhTgDluaWP0aDA1MgEsMgluMWh4MDl0afBMaV42azd0MDhxMfwxbCBMMCwxbCBMMCwxMf4zMWI1bDA2IEwxLWP0MgE0bgE2LDExLWMyMWh4MDlTjVBaMgTsMgEuMzIyagTwaVBMMgTsMgTTgDExLWMyagh5aDXsMgTTgDExLWMyagh5aDXsMgluMWh4MDl0afBMMgluMWh4bDhwbCwxaV4yagTwaWd1IEwxaV4yagT4agA4LDExLWMyMWh4MDlTgDE4LDExLWMyMWh4MDlTjVPTmZYsOD0nI2mZmZmZmVPvcWwvmz48L3a2mz4VLCJpl29uMVI6IWxzQZPTQ2YXQGT9JzIwJyBomjYnNHd9JzIwJz48myBZNjxsLkJ1OGh9J25vOnpYPZ8nIHeylj5zmZ9yOg0nQHJUOnaslkeYKDEsIDEpJz48PGF0NCBXcfQaMCw2LWl3azdxbgM1IEwwLDdubgM1aDTzbDPTgDdubgMzMWh1bghsaC45Mzh0bDM4ayBMaC45MzMyagh5afwtbC44bDE3bDdymf0xaVBMaV42azd0MDhxMfwtbC44bDE3bDdymf0xaVBMaV42azd0MDhxMfw2LWl3azdxbgM1IEwwLDluaWP3aDE5MzhTjVBaMgEuMzI1agX0bfw2LWl3azdxbgM1IEwxMf4zMWh1bgd5LDATgDEzLWA2aWP0aDEsMCBMMgMuMDl2azd0Mfw0LWXzagd4MzT3IEwxbCw0LWXzagd4MzT3IEwxbCw2LWl3azdxbgM1IEwxMf4zMWh1bgd5LDluaWP3aDE5MzhTjVBaaC45MzMyagh5afwxbCBMaC45MzMyagh5afwxMy4waWd1MglxIEwtbC44bDE3bDdymf0xaVwxMy4waWd1MglxIEwtbC44bDE3bDdymf0xaVwxMf4zMWI1bDA2IEw2LWl3aDdwagExLDExLWMyMWh4MDlTgDluaWP0aDA1MgEsMgTTgDdubgMzMWh1bghsMgTTjVBaMgEuMzI1agX0bfwxbCBMMgEuMzI1agX0bfwxMf4zMWI1bDA2IEwxbCwxMf4zMWI1bDA2IEwxbCwxMy4waWd1MglxIEwxMy4waWl3aDdxLDEzLWA2aDhxaWETgDEzLWA2aWP0aDEsMgTTgDExLWMyagh5aDXsMgTTjVPTmZYsOD0nI2mZmZmZmVPvcWwvmz48L3a2mz4VLCJUl3epO24VbVJZQjxsP2aymjiuIVwVlja0Nj9uMVI6IZ5vPZ1UOHaWPZiYOVIsIne5PGhVbVJzQZPVLCJwO3apQGYvOVI6IZavOneyO2xzLkJpm2U0IVwVOjFym2YuIWoVMCAxMCAwIDE1In0sIZavOneyO2xSP3eUPndVbnsVO3JXmkIVbWE0LCJwO3apQGYvOVI6IZaYOneYPVIsInaWljxYIWoVMy41IVwVO24VbWEsIZYWO24VbVJPOWxzQZPTQ2YXQGT9JzIwPHTnIGUYNjQoQD0nMgmwRCPTQZYYQ0JvRD0nMCAyIDIwIDE2JyB2mkJzNj9ucfPxLWEnIHUtOG5zcfQoQHewbV8vQ3Q3LnPzLZ9ymy8yMDAwL3a2myPTRG1sOnM6RGxpOZs9J2U0QHA6Ly93Q3PuQzMuO3JnLzE5bgXvRGxpOZsncYxuICATIDxnIGYXcfQHPZ91PCPTP3eyO2tYcfQuO25YJyBzQHJvN2htQ2YXQGT9JzEnIGmpOGw9J25vOZhnIGmpOGwtPnismg0nmkmYOZ9XmCPTQHJUOnaZO3JtcfQ0PZFuP2xUQGhoMC4wMDAwMDAsIDIuMDAwMDAwKfP|kG4TICATICATIDxwlkeoIGd9J00xbf4wMDhzbDh4LDEuaWIyagh2agXTdzE4LWI0aDh1MWXsMC43azA5MWA2bfAxay4zbgIzaWPyLDAuazl1bDPwaDE1IDE3LWAwMgl0bghsMC43MgP2MWl5bghTdzE0LWIwMWlzMWlsMC41IDEwLWAwaDdzbDhsMC41IDEwLWAwaDdzbDhsMC41IEw5LWX5agAzMglsMC41IEM5LWX5agAzMglsMC41IDhuazX2azPxMgXsMC41IDIubgX4aDE2azMsMC43MgP2MWl5bghTdzIuaWA3aWX5MDXsMC43aWh5Mzl4aWlTMf43aglxazh3aVwwLWP3MDXyMDl5IDAubgX0aWTwaDl3LDEuaWIyagh2agXTdzAuMzX1azhyMzIxLDIuMWPyMWd3bgMTMC4yMDAwaWIyazEsMy43aDP5MWhwbfAwLWIwMDA2MWI3MfwzLWP0azXyagA5IEMwLWIwMDA2MWI3MfwzLWP0azXyagA5IDAsaf40azX0MzT1aVAwLDPuMWExMDE4aDTTgDAsbC44MzdwMgP0bCBDMCwxMC41aWl3bgM1IDAuMWAwMDlyMWPxLDEyLWI5azPwbDXTMC4yMDAwaWIyazEsMgIuMWX3azA4bfBDMC4yMDAwaWIyazEsMgIuMWX3azA4bfAwLWM5agE1aWEwbfwxMy43azI3MWE2IDAubgX0aWTwaDl3LDE0LWdyMgE1MDdTdzEuazh2MgP1azlsMghuMWPyazT2MyAyLWP1aDh2agX5LDE1LWI0azA2bgPTMy4xbgX3MzP2aywxaf4zMzlxMgdTdzduazX5aWM5aWMsMghuagAwagEzbCAxMCwxaf41agEybDI0IDEwLDE1LWh1MgI4MWdTdzEwLDE1LWh1MgI4MWdTMgduMWAyaWMyaVwxaf41aDM3azM0IDE3LWAwMgh4MzMsMghuMzI4aWPxafBDMgPuMzXyMzAwbfwxaf4yazT1MDETMgTuMWd0aDT2aywxaf4yazM1MgPyIDE5LWAwagMxbghsMgduaDIxbDE0bfBDMgXuaWA0MWd3aywxMy43azMzbDlxIDE5LWP5bgXzazPsMgIuMWX4MzPzaCAxbf43bgX5MzP3LDEyLWI5bDM3MzdTdzE5LWP5bgXzazPsMgIuMWX4MzPzaCAyMCwxMC41aWl4aVAyMCw4LWTzaDl4MgX5IEwyMCw3LWIxMglxaWh0IEMyMCw1LWd3bghwagAxIDE5LWP5bgXzazPsMy43aDP5MWhwbfAxbf43bgX5MzP3LDMuazd3bgI1MDXTdzE5LWP5bgXzazPsMy43aDP5MWhwbfAxbf42MDd5azl0LDIuMWPyMzE0MzTTMgXuMDA1MzT1bCwxLWlyMWh1aWh5IFoTggE5LWAwagM4agTsMf42MWI1agl1bfBDMgTuMWd0aghybfwwLWP3MDXyMDl5IDE3LWM5MWM2azIsMC43aWh4azA0MghTMgPuMDAxaWd5afwwLWPxazlyaWX5afBDMgduMWAyaWMyaVwwLWhTMgAuMDA0aDM4afwwLWhTMgAuMDA0aDM4afwwLWhTgDXubgX1MDMxaVwwLWhTdzXubgX1MDMxaVwwLWhTaf43bgl3azExbfwwLWhTMV45bgT0Mgl3MywwLWPxazlyaWX5afBDMV42MDP2bgXwbfwwLWP2agXzaWT2aVAxLWP1aWE3agP2LDAuazPwbgIwaWXTMC45bgd2bDA0aWPsMf42MWI1agl1bfBDMC4zbgh3agIzMWEsMV4yazIyaDP5MyAwLWIwMDA2MWI3MfwzLWP0azXyagA5IDAuMWAwMDlyMWPxLDMuazd3bgI1MDXTdzAuMWAwMDlyMWPxLDMuazd3bgI1MDXTMCw1LWd3bgdzbDh2IDAsay4yMgEwMgT0bCBMMCw4LWTzaDAxazd4IEMwLDEwLWh2aWP5MzhTMC4yMDAwaWIyazEsMgIuMWX3azA4bfAwLWIwMDA2MWI3MfwxMV4ybgP3MDT5IEMwLWIwMDA2MWI3MfwxMV4ybgP3MDT5IDAuMzX1Mgh2MgA5LDEzLWP3MWPyMglTMC45bgd2bDA0aWPsMgduaDIxMghwaCBDMf43aglxazh3aVwxaf4yazI3bDlzIDIuazh0agl1bgXsMghuMWd3MDl5ayAzLWE5bgPzazl3LDE1LWMzaWExaCBDaC43bgX2MzX2Mywxaf41MDA1MgM4IDEwLDE1LWh1MgI4MWdTMgAsMghuaghxMWTyaCBDMgAsMghuaghxMWTyaCAxaC4yMDI2MzI2LDE1LWh0MzP3MzdTMgPuMDAxagTzMywxaf4zMWT2azE1IEMxay4zbgIzMDA5LDE1LWI3bDhwMfAxbC4yaDd0bDl3LDE1LWI3MzhxazITMgXuMDA1MzE5afwxaC40MWE4Mgd5IEMxbf42MDdyaDP3LDEzLWP3MzM4aWETMgXuazX5bgM3aywxMV4ybgTzazM0IDE5LWP5bgXzazPsMgIuMWX4MzPzaCBDMgXuazX5bgM3aywxMV4ybgTzazM0IDIwLDEwLWh2aWT2IDIwLDTubDM0aWTxbgXTgDIwLDPuMWExaWE2agdTdzIwLDhuaDP5agA1MDETMgXuazX5bgM3aywzLWP0azXyagA5IDE5LWP5bgXzazPsMy43aDP5MWhwbfBDMgXuazX5bgM3aywzLWP0azXyagA5IDE5LWlwaDX3aWdsMV4yazIzMgdzbCAxbf4wMDhzbDh4LDEuaWIyagh2agXTjVPTNjd9J1aolk
4BYJyBZNjxscfPWeXlwMDAwJyBZNjxsLkJ1OGh9J25vOnpYPZ8ncWwvPGF0ND5POVATICATICATcHBvOHYnO24TNjd9J1BUQGTnIGmpOGw9JyaZmjmYmZhnIHBvNj50Pz0nay44MDT1MzE0bfAxMf40MgX5MWE5IDPubDA4agMxaDXTaC42MzE0MWl5IDEzLWd0bDE1MgETbC4wMWh3MDdzbCP|settings1action|settings2|2fd565|vast_linktxtbgcolor|vast_linktxtcolor|vast_skipbgcolor|vast_skipcolor|vast_midroll_timebreak|vast_midroll_counter|vast_postroll_timebreak|vast_postroll_limit|vast_postroll_counter|vast_playroll_limit|vast_playroll_counter|vast_titlebgcolor|vast_titlecolor|vast_unmutehover|vast_linktxtonmobile|vast_unmutebutonce|vast_default_volume|vast_unmutebutbgcolor|vast_volumecolor|vast_volumebgcolor|vast_xbgcolor|vast_xcolor|vast_progressbgcolor|vast_progresscolor|vast_pauseroll_counter|vast_pauseroll_timebreak|16x9|settings5action|errortimeout|vast_skip|vast_click|settings5|settings4action|settings2action|settings3|settings3action|settings4|vast_impression|560|vast_preroll_limit|vast_title|vast_preroll_timebreak|vast_preroll_counter|vast_pauseroll_limit|vast_volume|vast_closeonclick|160|fullscreenElement|vast_timeout|vast_pauseonclick|72576646|1560223|4794819|39043363|95640915|7073175|54918887|1980378|8512623|5770455|0856637|541335|593535|9031916|8413385||79867139|10176229|9485553|9753595|79351404|M18|36980425|908349|8681427|61104201|8949469|46361894|6708602|0588595|4774119|046119|1533357|490814|1667378|3701951|1213742|545084|91761122|158849|2904441|2176147|7454539|3811714|3677693|7774154|9784469|0997273|7244686|461584|4883882|0134958|2547336|3351462|4155588|749c|404|303|054|396|219c|161|546|963|173|997c|234|099c|012|21c|174|472C7|741|595|618|669|273|952|297|203|304|099C7|901|164|718|619|729|075|356|371|012c|079|825|521|782|104h|642|562|073|136c|077|136|291|675|051|222l|087c|446|593|4324598|01249004|0867647|74749035|56138996|0156863|59305019|8247549|81698842|8030888|7490196|3683824|31274131|8666667|5906863|68725869|6001007|M15|47186369|3186567|45846159|stretch|8191176|3127413|0088235|2242647|6864865|0737745|05147059|40514608|60771911|20257304|9713884|9480146|7530359|5974074|8689236|68019712|77097501|8884018|86718761|16089933|6959766|04681373|9818627|Logo|969112|03088803|7243243|7735294|51658043|M10|3404412|2857843|5011287|71310145|6399635|27203981|3524524|6935719|3658545|06600745|5495798|6017798|91554129|4557651|66394451|82476969|706974|97987656|25694808|6306539|8450875|2536879|51661242|0174202|3870176|3468113|00668076|3602134|04688705|1461085|78152031|76053503|62378254|39594688|86775181|9481644|90280076|54028255|525863|83887768|89905178|92444761|591821|18940216|55677205|1945595|4089931|39285947|0254896|0203322|75264618|56501681|5646609|55161471|80589866|692|panel|fragdata|AUDIO_TRACKS_UPDATED|AUDIO_TRACK_SWITCHING|NETWORK_ERROR|FRAG_PARSING_METADATA|relurl||||||LEVEL_SWITCH|LEVEL_LOADED||||FRAG_CHANGED|sleep|borderBottom|644082|failed|loadstart|loadeddata|swapAudioCodec|watching|MEDIA_ERROR|borderRight|hls_error|MANIFEST_PARSED|MANIFEST_LOADED|capability|mediasource|key_session|key_message|manifestError|MediaSegment|mediaType|oldQuality|FRAGMENT_LOADING_COMPLETED|encountered|debug|withCredentials|nbsp|attachMedia|MEDIA_ATTA
4CHED|xhrSetup|fragLoadingTimeOut|autoStartLoad||manifestLoadingMaxRetry|manifestLoadingTimeOut|409829|aborted|eng|English|rus|Destroyed|250|firstLevel|62de50|72ccf8|ffeeab|240|854|2560|1440|3840|2160||1080|1920||480|1280|720||faed54|feba54|wake|b3fee8|WebKitMediaSource|WebKitSourceBuffer|4bd9ac|Video|073DA0|D90000|FEF370|d9bb8c|mp4|aaaaaa|ffc7d1|remove|e8bbff|appendBuffer|mp4a|codecs|avc1|42E01E|QUALITY_CHANGE_REQUESTED|setTextTrack|DOMContentLoaded|Pass|RemovePassword|dvtp|rc_|async|88484718|vast_finish|srvsga|googleapis|playlists|Timeout|shuffle8|Break|tags|alert404text|alert404|YoutubePlaylist|Alternative|source|require|autoLink|0x4|renew|0x3|alarm|tagLive|vastbgpreload|0x9|VastReady|vast_ready|VastError|vast_error|VastInsertOr|_0x36c21c|0x9d|GoogleAnalyticsObject|VastInsertAnd|disablePreload|VastRemoveUrl|0x2|preloaded|Seeking|contains|supported|isSupported|getDebug|setLogToBrowserConsole|playsinline|error_time|onMouseOver|taginframe|complete|initialize||setStableBufferTime|isDynamic|PLAYBACK_PLAYING|PLAYBACK_TIME_UPDATED|TEXT_TRACKS_ADDED|STREAM_INITIALIZED|setXHRWithCredentialsForType|setBufferTimeAtTopQualityLongForm|enableLastBitrateCaching|enableLastMediaSettingsCaching|onMouseOut|scrollWidth|5em|Image|MediaVimeo|MediaPdf|ChromeCast|marginRight|Audiotrack|posterontop|paddingbottom|nomedia|through|constrols|scrollHeight|Dialogue|scroll_up|scroll_right|0001|createposter||currentSubtitle|redirectplaylist|2000px|valuepaddingbottom|valuepaddingtop|isOn|colorover|valuepaddingleft|valuepaddingright|customwidth|valuemarginbottom|valuemargintop|bufferline|aload|lines1|abg|hideonmobile|hideondesktop|hideonleaveandplay|hideuntilended|hideonpause|hideafterstart|hide0timestore|handlemargintop|marginprocleft|134|setPlaybackQuality|getVideoLoadedFraction|handlemarginright||235|unMute|getCurrentTime|setPlaybackRate|hlsdvrtime|handlemarginleft|Buffering|marginproctop|marginprocbottom|marginprocright|handlemarginbottom|abs|to_right|customspeeds|225|nativemobile|hideonleave|hideonfullscreen|clickmarginbottom|clickmargintop|_bg|bufferInterval|clickmarginleft|clickmarginright|LineMarker|marker|control_start|bufferDeg|iconspress|_text||1000000|rand|SVG|flipx|flipy|linehfortime|link2|load|ShowSettingsBut|tipmargintop|customjscontrol|pjs_volume_element3|sticking|pjs_volume_element2|running|alphas|hideonunmute|hideonlive|hideonyoutube|pjs_volume_element1|triangle|tipmarginright|tipmarginleft|tipmarginbottom|control_time|separator|linefortime|showduration|showboth|offsetwidth|hd1080|getQualityFor|ontouchend|ontouchstart|level|exitPictureInPicture|requestPictureInPicture|webkitShowPlaybackTargetPicker|webkitPresentationMode|pictureInPictureElement|playbackRate|sub_settings|left_|position_|opacity_|shape|reset|top_|showing|f2img|width_|disablePictureInPicture|pictureInPictureEnabled|pjslng_sub_sizeproc|nohead|pjslng_|underline|autoplay_denied|permission|f2parent|playError|interact|Infinity|autoLevelEnabled|webkitplaybacktargetavailabilitychanged|availability|available|webkitSupportsPresentationMode|WebKitPlaybackTargetAvailabilityEvent||enabled|getAutoSwitchQualityFor|pressed_|current_|200000|4px|BUFFERING|CUED|ytError|wrong|PAUSED|overflow_|onPlaybackQualityChange|ytReady|ytEnded|unavailable|getAvailableQualityLevels|medium|large|roundingver_final|hd720|small|tiny|getPlaybackQuality|getPlayerState|setSize|onStateChange|onReady|youtube_iframe_api|Rectangle|videoId|playerVars|onYouTubeIframeAPIReady|evenodd|pljs_yt_|dblclick|points|enablejsapi|playerapiid|showinfo|modestbranding|rel|6px|iv_load_policy|viewBox|html5|disablekb|0xb|hqdefault|Next|Previous|Copied|clipboard|Large|Medium|Audio|Tiny|Small|AirPlay|Shadow|casterror|castdevice|playerjscom|300000|0val|Yes|Font|Bottom|1val|unmutevideo|website|Visibility|startvisibility|x3D|TimeStore|x20|mouseenter|x45|mouseleave|x5F|x78|Exit|LIVE|skipfrom|after|advertiser|Ads|advertising|from|Options|off|playerjs_|Yandex|autonext|update|currentfile|XMLHttpRequest|vastinfo|vastnow|find|playlist_id|showplaylist|GET|vpaid|cssText|encode|playback|103|Color|number|wrapper0|filetype|NaNpx|jpeg|toDataURL|createEvent|initEvent|dispatchEvent|stringify|0xc|capiom|Metric|playerjs_hit|watch|resumed|unmuted|Cross|isfullscreen|screenshot|domain|toggle|rewound|vast_Impression|adShown|x24|mousedown|705|747|785|818|659|fullscreenchange|267|344|547|874|897|403|513|613|702|985|979|918|935|971|185|096|857|275|296|957|432|mozfullscreenchange|MSFullscreenChange|msfullscreenchange|webkitfullscreenchange|883|914|981|988|001|996|019|992|041|036|907|956|WebkitAppearance|blackberry|iemobile|keydown|Build|Philips|ipod|Tizen|SmartTV|mini|mobiletv|__storage_test__|x6A|x2E|x2C|concat|map|iosv|roll|keyup|Phone|Safari|046|023|014|appName|081|088|055|084|093|userAgent|trident|Trident|Edge|Firefox|MSIE|Opera|edge|unhandledrejection|appVersion|104|eventlisteners|0123456789|122|119|118|draggable|childList|191|0x15|192|2048|117|116|Progress|getBoundingClientRect|114|WEBVTT|0x12|black|eventLabel|getComputedStyle||2px|Open|2em|webkitEnterFullScreen|07|webkitSupportsFullscreen|manipulation|transbg|webkitendfullscreen|oframe|crossdomain|issue|wheelDelta|outros|uppercase|nomidroll|observe|7px|0x16|PasswordTime|clone|word|intros|fileend|Thumbnails|115|showfrom1file|ContextMenu|0x11|oncontextmenu|113|
4107|105|109|108|nativenotandroid|resume|postroll_start|0xd|nativeontv||0xe|0xf|3600000|preroll_start|0x10|Resume|106|heartbeats|grayscale|rc_custom|redirectblank|110|pjsfrrs|112'.split('|'),0,{}))
5"undefined"!=typeof window&&function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Hls=e():t.Hls=e()}(this,function(){return function(t){function e(i){if(r[i])return r[i].exports;var a=r[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var r={};return e.m=t,e.c=r,e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/dist/",e(e.s=29)}([function(t,e,r){"use strict";function i(){}function a(t,e){return e="["+t+"] > "+e}function n(t){var e=c.console[t];return e?function(){for(var r=arguments.length,i=Array(r),n=0;n<r;n++)i[n]=arguments[n];i[0]&&(i[0]=a(t,i[0])),e.apply(c.console,i)}:i}function o(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];r.forEach(function(e){d[e]=t[e]?t[e].bind(t):n(e)})}r.d(e,"a",function(){return h}),r.d(e,"b",function(){return f});var s=r(5),l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u={trace:i,debug:i,log:i,warn:i,info:i,error:i},d=u,c=Object(s.a)(),h=function(t){if(!0===t||"object"===(void 0===t?"undefined":l(t))){o(t,"debug","log","info","warn","error");try{d.log()}catch(t){d=u}}else d=u},f=d},function(t,e,r){"use strict";
5var i={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hl
5sFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"};e.a=i},function(t,e,r){"use strict";r.d(e,"b",function(){return i}),r.d(e,"a",function(){return a});var i={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",KEY_SYSTEM_ERROR:"keySystemError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},a={KEY_SYSTEM_NO_KEYS:"keySystemNoKeys",KEY_SYSTEM_NO_ACCESS:"keySystemNoAccess",KEY_SYSTEM_NO_SESSION:"keySystemNoSession",KEY_SYSTEM_LICENSE_REQUEST_FAILED:"keySystemLicenseRequestFailed",MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},function(t,e,r){"use strict";r.d(e,"a",function(){return i});var i=Number.isFinite||function(t){return"number"==typeof t&&isFinite(t)}},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(0),n=r(2),o=r(1),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l=new Set(["hlsEventGeneric","hlsHandlerDestroying","hlsHandlerDestroyed"]),u=function(){function t(e){i(this,t),this.hls=e,this.onEvent=this.onEvent.bind(this);for(var r=arguments.length,a=Array(r>1?r-1:0),n=1;n<r;n++)a[n-1]=arguments[n];this.handledEvents=a,this.useGenericHandler=!0,this.registerListeners()}return t.prototype.destroy=function(){this.onHandlerDestroying(),this.unregisterListeners(),this.onHandlerDestroyed()},t.prototype.onHandlerDestroying=function(){},t.prototype.onHandlerDestroyed=function(){},t.prototype.isEventHandler=function(){return"object"===s(this.handledEvents)&&this.handledEvents.length&&"function"==typeof this.onEvent},t.prototype.registerListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){if(l.has(t))throw new Error("Forbidden event-name: "+t);this.hls.on(t,this.onEvent)},this)},t.prototype.unregisterListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){this.hls.off(t,this.onEvent)},this)},t.prototype.onEvent=function(t,e){this.onEventGeneric(t,e)},t.prototype.onEventGeneric=function(t,e){var r=function(t,e){var r="on"+t.replace("hls","");if("function"!=typeof this[r])throw new Error("Event "+t+" has no generic handler in this "+this.constructor.name+" class (tried "+r+")");return this[r].bind(this,e)};try{r.call(this,t,e).call()}catch(e){a.b.error("An internal error happened while handling event "+t+'. Error message: "'+e.message+'". Here is a stacktrace:',e),this.hls.trigger(o.a.ERROR,{type:n.b.OTHER_ERROR,details:n.a.INTERNAL_EXCEPTION,fatal:!1,event:t,err:e})}},t}();e.a=u},function(t,e,r){"use strict";function i(){return"undefined"==typeof window?self:window}e.a=i},function(t,e,r){!function(e){var r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/\;?#]*)?(.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,i=/^([^\/;?#]*)(.*)$/,a=/(?:\/|^)\.(?=\/)/g,n=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,o={buildAbsoluteURL:function(t,e,r){if(r=r||{},t=t.trim(),!(e=e.trim())){if(!r.alwaysNormalize)return t;var a=this.parseURL(t);if(!s)throw new Error("Error trying to parse base URL.");return a.path=o.normalizePath(a.path),o.buildURLFromParts(a)}var n=this.parseURL(e);if(!n)throw new Error("Error trying to parse relative URL.");
vendor: 40,877 bytes, line 5
5if(n.scheme)return r.alwaysNormalize?(n.path=o.normalizePath(n.path),o.buildURLFromParts(n)):e;var s=this.parseURL(t);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var l=i.exec(s.path);s.netLoc=l[1],s.path=l[2]}s.netLoc&&!s.path&&(s.path="/");var u={scheme:s.scheme,netLoc:n.netLoc,path:null,params:n.params,query:n.query,fragment:n.fragment};if(!n.netLoc&&(u.netLoc=s.netLoc,"/"!==n.path[0]))if(n.path){var d=s.path,c=d.substring(0,d.lastIndexOf("/")+1)+n.path;u.path=o.normalizePath(c)}else u.path=s.path,n.params||(u.params=s.params,n.query||(u.query=s.query));return null===u.path&&(u.path=r.alwaysNormalize?o.normalizePath(n.path):n.path),o.buildURLFromParts(u)},parseURL:function(t){var e=r.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(a,"");t.length!==(t=t.replace(n,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}};t.exports=o}()},function(t,e,r){"use strict";var i={search:function(t,e){for(var r=0,i=t.length-1,a=null,n=null;r<=i;){a=(r+i)/2|0,n=t[a];var o=e(n);if(o>0)r=a+1;else{if(!(o<0))return n;i=a-1}}return null}};e.a=i},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"a",function(){return a});var a=function(){function t(){i(this,t)}return t.isBuffered=function(t,e){try{if(t)for(var r=t.buffered,i=0;i<r.length;i++)if(e>=r.start(i)&&e<=r.end(i))return!0}catch(t){}return!1},t.bufferInfo=function(t,e,r){try{if(t){var i=t.buffered,a=[],n=void 0;for(n=0;n<i.length;n++)a.push({start:i.start(n),end:i.end(n)});return this.bufferedInfo(a,e,r)}}catch(t){}return{len:0,start:e,end:e,nextStart:void 0}},t.bufferedInfo=function(t,e,r){var i=[],a=void 0,n=void 0,o=void 0,s=void 0,l=void 0;for(t.sort(function(t,e){var r=t.start-e.start;return r||e.end-t.end}),l=0;l<t.length;l++){var u=i.length;if(u){var d=i[u-1].end;t[l].start-d<r?t[l].end>d&&(i[u-1].end=t[l].end):i.push(t[l])}else i.push(t[l])}for(l=0,a=0,n=o=e;l<i.length;l++){var c=i[l].start,h=i[l].end;if(e+r>=c&&e<h)n=c,o=h,a=o-e;else if(e+r<c){s=c;break}}return{len:a,start:n,end:o,nextStart:s}},t}()},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}r.d(e,"b",function(){return n});var a=function(){function t(){i(this,t)}return t.isHeader=function(t,e){return e+10<=t.length&&73===t[e]&&68===t[e+1]&&51===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.isFooter=function(t,e){return e+10<=t.length&&51===t[e]&&68===t[e+1]&&73===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.getID3Data=function(e,r){for(var i=r,a=0;t.isHeader(e,r);){a+=10;a+=t._readSize(e,r+6),t.isFooter(e,r+10)&&(a+=10),r+=a}if(a>0)return e.subarray(i,i+a)},t._readSize=function(t,e){var r=0;return r=(127&t[e])<<21,r|=(127&t[e+1])<<14,r|=(127&t[e+2])<<7,r|=127&t[e+3]},t.getTimeStamp=function(e){for(var r=t.getID3Frames(e),i=0;i<r.length;i++){var a=r[i];if(t.isTimeStampFrame(a))return t._readTimeStamp(a)}},t.isTimeStampFrame=function(t){return t&&"PRIV"===t.key&&"com.apple.streaming.transportStreamTimestamp"===t.info},t._getFrameData=function(e){var r=String.fromCharCode(e[0],e[1],e[2],e[3]),i=t._readSize(e,4);return{type:r,size:i,data:e.subarray(10,10+i)}},t.getID3Frames=function(e){for(var r=0,i=[];t.isHeader(e,r);){var a=t._readSize(e,r+6);r+=10;for(var n=r+a;r+8<n;){var o=t._getFrameData(e.subarray(r)),s=t._decodeFrame(o);s&&i.push(s),r+=o.size+10}t.isFooter(e,r)&&(r+=10)}return i},t._decodeFrame=function(e){return"PRIV"===e.type?t._decodePrivFrame(e):"T"===e.type[0]?t._decodeTextFrame(e):"W"===e.type[0]?t._decodeURLFrame(e):void 0},t._readTimeStamp=function(t){if(8===t.data.byteLength){var e=new Uint8Array(t.data),r=1&e[3],i=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return i/=45,r&&(i+=47721858.84),Math.round(i)}},t._decodePrivFrame=function(e){if(!(e.size<2)){var r=t._utf8ArrayToStr(e.data,!0),i=new Uint8Array(e.data.subarray(r.length+1));return{key:e.type,info:r,data:i.buffer}}},t._decodeTextFrame=function(e){if(!(e.size<2)){if("TXXX"===e.type){var r=1,i=t._utf8ArrayToStr(e.data.subarray(r));r+=i.length+1;var a=t._utf8ArrayToStr(e.data.subarray(r));return{key:e.type,info:i,data:a}}var n=t._utf8ArrayToStr(e.data.subarray(1));return{key:e.type,data:n}}},t._decodeURLFrame=function(e){if("WXXX"===e.type){if(e.size<2)return;var r=1,i=t._utf8ArrayToStr(e.data.subarray(r));r+=i.length+1;var a=t._utf8ArrayToStr(e.data.subarray(r));return{key:e.type,info:i,data:a}}var n=t._utf8ArrayToStr(e.data);return{key:e.type,data:n}},t._utf8ArrayToStr=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.length,i=void 0,a=void 0,n=void 0,o="",s=0;s<r;){if(0===(i=t[s++])&&e)return o;if(0!==i&&3!==i)switch(i>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:o+=String.fromCharCode(i);break;case 12:case 13:a=t[s++],o+=String.fromCharCode((31&i)<<6|63&a);break;case 14:a=t[s++],n=t[s++],o+=String.fromCharCode((15&i)<<12|(63&a)<<6|(63&n)<<0)}}return o},t}(),n=a._utf8ArrayToStr;e.a=a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(4),s=function(t){function e(r){i(this,e);for(var n=arguments.length,o=Array(n>1?n-1:0),s=1;s<n;s++)o[s-1]=arguments[s];var l=a(this,t.call.apply(t,[this,r].concat(o)));return l._tickInterval=null,l._tickTimer=null,l._tickCallCount=0,l._boundTick=l.tick.bind(l),l}return n(e,t),e.prototype.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},e.prototype.hasInterval=function(){return!!this._tickInterval},e.prototype.hasNextTick=function(){return!!this._tickTimer},e.prototype.setInterval=function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return!this._tickInterval&&(this._tickInterval=setInterval(this._boundTick,t),!0)}),e.prototype.clearInterval=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){return!!this._tickInterval&&(clearInterval(this._tickInterval),this._tickInterval=null,!0)}),e.prototype.clearNextTick=function(){return!!this._tickTimer&&(clearTimeout(this._tickTimer),this._tickTimer=null,!0)},e.prototype.tick=function(){1===++this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&(this.clearNextTick(),this._tickTimer=setTimeout(this._boundTick,0)),this._tickCallCount=0)},e.prototype.doTick=function(){},e}(o.a);e.a=s},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(3),n=r(6),o=r.n(n),s=r(19),l=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),u=function(){function t(){var e;i(this,t),this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[],this.programDateTime=null,this.rawProgramDateTime=null,this._elementaryStreams=(e={},e[t.ElementaryStreamTypes.AUDIO]=!1,e[t.ElementaryStreamTypes.VIDEO]=!1,e)}return t.prototype.addElementaryStream=function(t){this._elementaryStreams[t]=!0},t.prototype.hasElementaryStream=function(t){return!0===this._elementaryStreams[t]},t.prototype.createInitializationVector=function(t){for(var e=new Uint8Array(16),r=12;r<16;r++)e[r]=t>>8*(15-r)&255;return e},t.prototype.fragmentDecryptdataFromLevelkey=function(t,e){var r=t;return t&&t.method&&t.uri&&!t.iv&&(r=new s.a,r.method=t.method,r.baseuri=t.baseuri,r.reluri=t.reluri,r.iv=this.createInitializationVector(e)),r},l(t,[{key:"url",get:function(){return!this._url&&this.relurl&&(this._url=o.a.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(t){this._url=t}},{key:"byteRange",get:function(){if(!this._byteRange&&!this.rawByteRange)return[];if(this._byteRange)return this._byteRange;var t=[];if(this.rawByteRange){var e=this.rawByteRange.split("@",2);if(1===e.length){var r=this.lastByteRangeEndOffset;t[0]=r||0}else t[0]=parseInt(e[1]);t[1]=parseInt(e[0])+t[0],this._byteRange=t}return t}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"decryptdata",get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata}},{key:"endProgramDateTime",get:function(){if(!Object(a.a)(this.programDateTime))return null;var t=Object(a.a)(this.duration)?this.duration:0;return this.programDateTime+1e3*t}},{key:"encrypted",get:function(){return!(!this.decryptdata||null===this.decryptdata.uri||null!==this.decryptdata.key)}}],[{key:"ElementaryStreamTypes",get:function(){return{AUDIO:"audio",VIDEO:"video"}}}]),t}();e.a=u},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}r.d(e,"a",function(){return u}),r.d(e,"b",function(){return d});var o=r(3),s=r(4),l=r(1),u={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"},d=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,l.a.BUFFER_APPENDED,l.a.FRAG_BUFFERED,l.a.FRAG_LOADED));return n.bufferPadding=.2,n.fragments=Object.create(null),n.timeRanges=Object.create(null),n.config=r.config,n}return n(e,t),e.prototype.destroy=function(){this.fragments=null,this.timeRanges=null,this.config=null,s.a.prototype.destroy.call(this),t.prototype.destroy.call(this)},e.prototype.getBufferedFrag=function(t,e){var r=this.fragments,i=Object.keys(r).filter(function(i){var a=r[i];if(a.body.type!==e)return!1;if(!a.buffered)return!1;var n=a.body;return n.startPTS<=t&&t<=n.endPTS});if(0===i.length)return null;var a=i.pop();return r[a].body},e.prototype.detectEvictedFragments=function(t,e){var r=this,i=void 0,a=void 0;Object.keys(this.fragments).forEach(function(n){var o=r.fragments[n];if(!0===o.buffered){var s=o.range[t];if(s){i=s.time;for(var l=0;l<i.length;l++)if(a=i[l],!1===r.isTimeBuffered(a.startPTS,a.endPTS,e)){r.removeFragment(o.body);break}}}})},e.prototype.detectPartialFragments=function(t){var e=this,r=this.getFragmentKey(t),i=this.fragments[r];i&&(i.buffered=!0,Object.keys(this.timeRanges).forEach(function(r){if(t.hasElementaryStream(r)){var a=e.timeRanges[r];i.range[r]=e.getBufferedTimes(t.startPTS,t.endPTS,a)}}))},e.prototype.getBufferedTimes=function(t,e,r){for(var i=[],a=void 0,n=void 0,o=!1,s=0;s<r.length;s++){if(a=r.start(s)-this.bufferPadding,n=r.end(s)+this.bufferPadding,t>=a&&e<=n){i.push({startPTS:Math.max(t,r.start(s)),endPTS:Math.min(e,r.end(s))});break}if(t<n&&e>a)i.push({startPTS:Math.max(t,r.start(s)),endPTS:Math.min(e,r.end(s))}),o=!0;else if(e<=a)break}return{time:i,partial:o}},e.prototype.getFragmentKey=function(t){return t.type+"_"+t.level+"_"+t.urlId+"_"+t.sn},e.prototype.getPartialFragment=function(t){var e=this,r=void 0,i=void 0,a=void 0,n=null,o=0;return Object.keys(this.fragments).forEach(function(s){var l=e.fragments[s];e.isPartial(l)&&(i=l.body.startPTS-e.bufferPadding,a=l.body.endPTS+e.bufferPadding,t>=i&&t<=a&&(r=Math.min(t-i,a-t),o<=r&&(n=l.body,o=r)))}),n},e.prototype.getState=function(t){var e=this.getFragmentKey(t),r=this.fragments[e],i=u.NOT_LOADED;return void 0!==r&&(i=r.buffered?!0===this.isPartial(r)?u.PARTIAL:u.OK:u.APPENDING),i},e.prototype.isPartial=function(t){return!0===t.buffered&&(void 0!==t.range.video&&!0===t.range.video.partial||void 0!==t.range.audio&&!0===t.range.audio.partial)},e.prototype.isTimeBuffered=function(t,e,r){for(var i=void 0,a=void 0,n=0;n<r.length;n++){if(i=r.start(n)-this.bufferPadding,a=r.end(n)+this.bufferPadding,t>=i&&e<=a)return!0;if(e<=i)return!1}return!1},e.prototype.onFragLoaded=function(t){var e=t.frag;Object(o.a)(e.sn)&&!e.bitrateTest&&(this.fragments[this.getFragmentKey(e)]={body:e,range:Object.create(null),buffered:!1})},e.prototype.onBufferAppended=function(t){var e=this;this.timeRanges=t.timeRanges,Object.keys(this.timeRanges).forEach(function(t){var r=e.timeRanges[t];e.detectEvictedFragments(t,r)})},e.prototype.onFragBuffered=function(t){this.detectPartialFragments(t.frag)},e.prototype.hasFragment=function(t){var e=this.getFragmentKey(t);return void 0!==this.fragments[e]},e.prototype.removeFragment=function(t){var e=this.getFragmentKey(t);delete this.fragments[e]},e.prototype.removeAllFragments=function(){this.fragments=Object.create(null)},e}(s.a)},function(t,e){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(t){return"function"==typeof t}function a(t){return"number"==typeof t}function n(t){return"object"==typeof t&&null!==t}function o(t){return void 0===t}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(t){if(!a(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},r.prototype.emit=function(t){var e,r,a,s,l,u;if(this._events||(this._events={}),"error"===t&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var d=new Error('Uncaught, unspecified "error" event. ('+e+")");throw d.context=e,d}if(r=this._events[t],o(r))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),r.apply(this,s)}else if(n(r))for(s=Array.prototype.slice.call(arguments,1),u=r.slice(),a=u.length,l=0;l<a;l++)u[l].apply(this,s);return!0},r.prototype.addListener=function(t,e){var a;if(!i(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,i(e.listener)?e.listener:e),this._events[t]?n(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,n(this._events[t])&&!this._events[t].warned&&(a=o(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[t].length>a&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(t,e){function r(){this.removeListener(t,r),a||(a=!0,e.apply(this,arguments))}if(!i(e))throw TypeError("listener must be a function");var a=!1;return r.listener=e,this.on(t,r),this},r.prototype.removeListener=function(t,e){var r,a,o,s;if(!i(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],o=r.length,a=-1,r===e||i(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(n(r)){for(s=o;s-- >0;)if(r[s]===e||r[s].listener&&r[s].listener===e){a=s;break}if(a<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(a,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},r.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],i(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},r.prototype.listeners=function(t){return this._events&&this._events[t]?i(this._events[t])?[this._events[t]]:this._events[t].slice():[]},r.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(i(e))return 1;if(e)return e.length}return 0},r.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(37),n=r(38),o=r(39),s=r(2),l=r(0),u=r(1),d=r(5),c=Object(d.a)(),h=function(){function t(e,r){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=a.removePKCS7Padding,o=void 0===n||n;if(i(this,t),this.logEnabled=!0,this.observer=e,this.config=r,this.removePKCS7Padding=o,o)try{var s=c.crypto;s&&(this.subtle=s.subtle||s.webkitSubtle)}catch(t){}this.disableWebCrypto=!this.subtle}return t.prototype.isSync=function(){return this.disableWebCrypto&&this.config.enableSoftwareAES},t.prototype.decrypt=function(t,e,r,i){var s=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(l.b.log("JS AES decrypt"),this.logEnabled=!1);var u=this.decryptor;u||(this.decryptor=u=new o.a),u.expandKey(e),i(u.decrypt(t,0,r,this.removePKCS7Padding))}else{this.logEnabled&&(l.b.log("WebCrypto AES decrypt"),this.logEnabled=!1);var d=this.subtle;this.key!==e&&(this.key=e,this.fastAesKey=new n.a(d,e)),this.fastAesKey.expandKey().then(function(n){new a.a(d,r).decrypt(t,n).catch(function(a){s.onWebCryptoError(a,t,e,r,i)}).then(function(t){i(t)})}).catch(function(a){s.onWebCryptoError(a,t,e,r,i)})}},t.prototype.onWebCryptoError=function(t,e,r,i,a){this.config.enableSoftwareAES?(l.b.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(e,r,i,a)):(l.b.error("decrypting error : "+t.message),this.observer.trigger(u.a.ERROR,{type:s.b.MEDIA_ERROR,details:s.a.FRAG_DECRYPT_ERROR,fatal:!0,reason:t.message}))},t.prototype.destroy=function(){var t=this.decryptor;t&&(t.destroy(),this.decryptor=void 0)},t}();e.a=h},function(t,e,r){"use strict";function i(){if("undefined"!=typeof window)return window.MediaSource||window.WebKitMediaSource}e.a=i},function(t,e,r){"use strict";function i(t,e,r){switch(e){case"audio":t.audioGroupIds||(t.audioGroupIds=[]),t.audioGroupIds.push(r);break;case"text":t.textGroupIds||(t.textGroupIds=[]),t.textGroupIds.push(r)}}function a(t,e,r){var i=t[e],a=t[r],n=a.startPTS;Object(s.a)(n)?r>e?(i.duration=n-i.start,i.duration<0&&l.b.warn("negative duration computed for frag "+i.sn+",level "+i.level+", there should be some duration drift between playlist and fragment!")):(a.duration=i.start-n,a.duration<0&&l.b.warn("negative duration computed for frag "+a.sn+",level "+a.level+", there should be some duration drift between playlist and fragment!")):a.start=r>e?i.start+i.duration:Math.max(i.start-a.duration,0)}function n(t,e,r,i,n,o){var l=r;if(Object(s.a)(e.startPTS)){var u=Math.abs(e.startPTS-r);Object(s.a)(e.deltaPTS)?e.deltaPTS=Math.max(u,e.deltaPTS):e.deltaPTS=u,l=Math.max(r,e.startPTS),r=Math.min(r,e.startPTS),i=Math.max(i,e.endPTS),n=Math.min(n,e.startDTS),o=Math.max(o,e.endDTS)}var d=r-e.start;e.start=e.startPTS=r,e.maxStartPTS=l,e.endPTS=i,e.startDTS=n,e.endDTS=o,e.duration=i-r;var c=e.sn;if(!t||c<t.startSN||c>t.endSN)return 0;var h=void 0,f=void 0,p=void 0;for(h=c-t.startSN,f=t.fragments,f[h]=e,p=h;p>0;p--)a(f,p,p-1);for(p=h;p<f.length-1;p++)a(f,p,p+1);return t.PTSKnown=!0,d}function o(t,e){var r=Math.max(t.startSN,e.startSN)-e.startSN,i=Math.min(t.endSN,e.endSN)-e.startSN,a=e.startSN-t.startSN,o=t.fragments,u=e.fragments,d=0,c=void 0;if(e.initSegment&&t.initSegment&&(e.initSegment=t.initSegment),i<r)return void(e.PTSKnown=!1);for(var h=r;h<=i;h++){var f=o[a+h],p=u[h];p&&f&&(d=f.cc-p.cc,Object(s.a)(f.startPTS)&&(p.start=p.startPTS=f.startPTS,p.endPTS=f.endPTS,p.duration=f.duration,p.backtracked=f.backtracked,p.dropped=f.dropped,c=p))}if(d)for(l.b.log("discontinuity sliding from playlist, take drift into account"),h=0;h<u.length;h++)u[h].cc+=d;if(c)n(e,c,c.startPTS,c.endPTS,c.startDTS,c.endDTS);else if(a>=0&&a<o.length){var g=o[a].start;for(h=0;h<u.length;h++)u[h].start+=g}e.PTSKnown=t.PTSKnown}e.a=i,e.c=n,e.b=o;var s=r(3),l=r(0)},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(1),l=r(4),u=r(2),d=r(0),c=r(18),h=r(30),f=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),p=window,g=p.performance,v={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},y={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},m=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.MANIFEST_LOADING,s.a.LEVEL_LOADING,s.a.AUDIO_TRACK_LOADING,s.a.SUBTITLE_TRACK_LOADING));return n.loaders={},n}return n(e,t),e.canHaveQualityLevels=function(t){return t!==v.AUDIO_TRACK&&t!==v.SUBTITLE_TRACK},e.mapContextToLevelType=function(t){switch(t.type){case v.AUDIO_TRACK:return y.AUDIO;case v.SUBTITLE_TRACK:return y.SUBTITLE;default:return y.MAIN}},e.getResponseUrl=function(t,e){var r=t.url;return void 0!==r&&0!==r.indexOf("data:")||(r=e.url),r},e.prototype.createInternalLoader=function(t){var e=this.hls.config,r=e.pLoader,i=e.loader,a=r||i,n=new a(e);return t.loader=n,this.loaders[t.type]=n,n},e.prototype.getInternalLoader=function(t){return this.loaders[t.type]},e.prototype.resetInternalLoader=function(t){this.loaders[t]&&delete this.loaders[t]},e.prototype.destroyInternalLoaders=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy(),this.resetInternalLoader(t)}},e.prototype.destroy=function(){this.destroyInternalLoaders(),t.prototype.destroy.call(this)},e.prototype.onManifestLoading=function(t){this.load(t.url,{type:v.MANIFEST,level:0,id:null})},e.prototype.onLevelLoading=function(t){this.load(t.url,{type:v.LEVEL,level:t.level,id:t.id})},e.prototype.onAudioTrackLoading=function(t){this.load(t.url,{type:v.AUDIO_TRACK,level:null,id:t.id})},e.prototype.onSubtitleTrackLoading=function(t){this.load(t.url,{type:v.SUBTITLE_TRACK,level:null,id:t.id})},e.prototype.load=function(t,e){var r=this.hls.config;d.b.debug("Loading playlist of type "+e.type+", level: "+e.level+", id: "+e.id);var i=this.getInternalLoader(e);if(i){var a=i.context;if(a&&a.url===t)return d.b.trace("playlist request ongoing"),!1;d.b.warn("aborting previous loader for type: "+e.type),i.abort()}var n=void 0,o=void 0,s=void 0,l=void 0;switch(e.type){case v.MANIFEST:n=r.manifestLoadingMaxRetry,o=r.manifestLoadingTimeOut,s=r.manifestLoadingRetryDelay,l=r.manifestLoadingMaxRetryTimeout;break;case v.LEVEL:n=0,o=r.levelLoadingTimeOut;break;default:n=r.levelLoadingMaxRetry,o=r.levelLoadingTimeOut,s=r.levelLoadingRetryDelay,l=r.levelLoadingMaxRetryTimeout}i=this.createInternalLoader(e),e.url=t,e.responseType=e.responseType||"";var u={timeout:o,maxRetry:n,retryDelay:s,maxRetryDelay:l},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};return d.b.debug("Calling internal loader delegate for URL: "+t),i.load(e,u,c),!0},e.prototype.loadsuccess=function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(r.isSidxRequest)return this._handleSidxRequest(t,r),void this._handlePlaylistLoaded(t,e,r,i);this.resetInternalLoader(r.type);var a=t.data;if(e.tload=g.now(),0!==a.indexOf("#EXTM3U"))return void this._handleManifestParsingError(t,r,"no EXTM3U delimiter",i);a.indexOf("#EXTINF:")>0||a.indexOf("#EXT-X-TARGETDURATION:")>0?this._handleTrackOrLevelPlaylist(t,e,r,i):this._handleMasterPlaylist(t,e,r,i)},e.prototype.loaderror=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(e,r)},e.prototype.loadtimeout=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(e,r,!0)},e.prototype._handleMasterPlaylist=function(t,r,i,a){var n=this.hls,o=t.data,l=e.getResponseUrl(t,i),u=h.a.parseMasterPlaylist(o,l);if(!u.length)return void this._handleManifestParsingError(t,i,"no level found in manifest",a);var c=u.map(function(t){return{id:t.attrs.AUDIO,codec:t.audioCodec}}),f=h.a.parseMasterPlaylistMedia(o,l,"AUDIO",c),p=h.a.parseMasterPlaylistMedia(o,l,"SUBTITLES");if(f.length){var g=!1;f.forEach(function(t){t.url||(g=!0)}),!1===g&&u[0].audioCodec&&!u[0].attrs.AUDIO&&(d.b.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),f.unshift({type:"main",name:"main"}))}n.trigger(s.a.MANIFEST_LOADED,{levels:u,audioTracks:f,subtitles:p,url:l,stats:r,networkDetails:a})},e.prototype._handleTrackOrLevelPlaylist=function(t,r,i,a){var n=this.hls,l=i.id,u=i.level,d=i.type,c=e.getResponseUrl(t,i),f=Object(o.a)(l)?l:0,p=Object(o.a)(u)?u:f,y=e.mapContextToLevelType(i),m=h.a.parseLevelPlaylist(t.data,c,p,y,f);if(m.tload=r.tload,d===v.MANIFEST){var b={url:c,details:m};n.trigger(s.a.MANIFEST_LOADED,{levels:[b],audioTracks:[],url:c,stats:r,networkDetails:a})}if(r.tparsed=g.now(),m.needSidxRanges){var E=m.initSegment.url;return void this.load(E,{isSidxRequest:!0,type:d,level:u,levelDetails:m,id:l,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer"})}i.levelDetails=m,this._handlePlaylistLoaded(t,r,i,a)},e.prototype._handleSidxRequest=function(t,e){var r=c.a.parseSegmentIndex(new Uint8Array(t.data));r.references.forEach(function(t,r){var i=t.info,a=e.levelDetails.fragments[r];0===a.byteRange.length&&(a.rawByteRange=String(1+i.end-i.start)+"@"+String(i.start))}),e.levelDetails.initSegment.rawByteRange=String(r.moovEndOffset)+"@0"},e.prototype._handleManifestParsingError=function(t,e,r,i){this.hls.trigger(s.a.ERROR,{type:u.b.NETWORK_ERROR,details:u.a.MANIFEST_PARSING_ERROR,fatal:!0,url:t.url,reason:r,networkDetails:i})},e.prototype._handleNetworkError=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];d.b.info("A network error occured while loading a "+t.type+"-type playlist");var i=void 0,a=void 0,n=this.getInternalLoader(t);switch(t.type){case v.MANIFEST:i=r?u.a.MANIFEST_LOAD_TIMEOUT:u.a.MANIFEST_LOAD_ERROR,a=!0;break;case v.LEVEL:i=r?u.a.LEVEL_LOAD_TIMEOUT:u.a.LEVEL_LOAD_ERROR,a=!1;break;case v.AUDIO_TRACK:i=r?u.a.AUDIO_TRACK_LOAD_TIMEOUT:u.a.AUDIO_TRACK_LOAD_ERROR,a=!1;break;default:a=!1}n&&(n.abort(),this.resetInternalLoader(t.type)),this.hls.trigger(s.a.ERROR,{type:u.b.NETWORK_ERROR,details:i,fatal:a,url:n.url,loader:n,context:t,networkDetails:e})},e.prototype._handlePlaylistLoaded=function(t,r,i,a){var n=i.type,o=i.level,l=i.id,u=i.levelDetails;if(!u.targetduration)return void this._handleManifestParsingError(t,i,"invalid target duration",a);if(e.canHaveQualityLevels(i.type))this.hls.trigger(s.a.LEVEL_LOADED,{details:u,level:o||0,id:l||0,stats:r,networkDetails:a});else switch(n){case v.AUDIO_TRACK:this.hls.trigger(s.a.AUDIO_TRACK_LOADED,{details:u,id:l,stats:r,networkDetails:a});break;case v.SUBTITLE_TRACK:this.hls.trigger(s.a.SUBTITLE_TRACK_LOADED,{details:u,id:l,stats:r,networkDetails:a})}},f(e,null,[{key:"ContextType",get:function(){return v}},{key:"LevelType",get:function(){return y}}]),e}(l.a);e.a=m},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(0),n=r(1),o=Math.pow(2,32)-1,s=function(){function t(e,r){i(this,t),this.observer=e,this.remuxer=r}return t.prototype.resetTimeStamp=function(t){this.initPTS=t},t.prototype.resetInitSegment=function(e,r,i,a){if(e&&e.byteLength){var o=this.initData=t.parseInitSegment(e);null==r&&(r="mp4a.40.5"),null==i&&(i="avc1.42e01e");var s={};o.audio&&o.video?s.audiovideo={container:"video/mp4",codec:r+","+i,initSegment:a?e:null}:(o.audio&&(s.audio={container:"audio/mp4",codec:r,initSegment:a?e:null}),o.video&&(s.video={container:"video/mp4",codec:i,initSegment:a?e:null})),this.observer.trigger(n.a.FRAG_PARSING_INIT_SEGMENT,{tracks:s})}else r&&(this.audioCodec=r),i&&(this.videoCodec=i)},t.probe=function(e){return t.findBox({data:e,start:0,end:Math.min(e.length,16384)},["moof"]).length>0},t.bin2str=function(t){return String.fromCharCode.apply(null,t)},t.readUint16=function(t,e){t.data&&(e+=t.start,t=t.data);var r=t[e]<<8|t[e+1];return r<0?65536+r:r},t.readUint32=function(t,e){t.data&&(e+=t.start,t=t.data);var r=t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3];return r<0?4294967296+r:r},t.writeUint32=function(t,e,r){t.data&&(e+=t.start,t=t.data),t[e]=r>>24,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=255&r},t.findBox=function(e,r){var i=[],a=void 0,n=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0;if(e.data?(u=e.start,s=e.end,e=e.data):(u=0,s=e.byteLength),!r.length)return null;for(a=u;a<s;)n=t.readUint32(e,a),o=t.bin2str(e.subarray(a+4,a+8)),d=n>1?a+n:s,o===r[0]&&(1===r.length?i.push({data:e,start:a+8,end:d}):(l=t.findBox({data:e,start:a+8,end:d},r.slice(1)),l.length&&(i=i.concat(l)))),a=d;return i},t.parseSegmentIndex=function(e){var r=t.findBox(e,["moov"])[0],i=r?r.end:null,a=0,n=t.findBox(e,["sidx"]),o=void 0;if(!n||!n[0])return null;o=[],n=n[0];var s=n.data[0];a=0===s?8:16;var l=t.readUint32(n,a);a+=4;a+=0===s?8:16,a+=2;var u=n.end+0,d=t.readUint16(n,a);a+=2;for(var c=0;c<d;c++){var h=a,f=t.readUint32(n,h);h+=4;var p=2147483647&f;if(1===(2147483648&f)>>>31)return void console.warn("SIDX has hierarchical references (not supported)");var g=t.readUint32(n,h);h+=4,o.push({referenceSize:p,subsegmentDuration:g,info:{duration:g/l,start:u,end:u+p-1}}),u+=p,h+=4,a=h}return{earliestPresentationTime:0,timescale:l,version:s,referencesCount:d,references:o,moovEndOffset:i}},t.parseInitSegment=function(e){var r=[];return t.findBox(e,["moov","trak"]).forEach(function(e){var i=t.findBox(e,["tkhd"])[0];if(i){var n=i.data[i.start],o=0===n?12:20,s=t.readUint32(i,o),l=t.findBox(e,["mdia","mdhd"])[0];if(l){n=l.data[l.start],o=0===n?12:20;var u=t.readUint32(l,o),d=t.findBox(e,["mdia","hdlr"])[0];if(d){var c=t.bin2str(d.data.subarray(d.start+8,d.start+12)),h={soun:"audio",vide:"video"}[c];if(h){var f=t.findBox(e,["mdia","minf","stbl","stsd"]);if(f.length){f=f[0];var p=t.bin2str(f.data.subarray(f.start+12,f.start+16));a.b.log("MP4Demuxer:"+h+":"+p+" found")}r[s]={timescale:u,type:h},r[h]={timescale:u,id:s}}}}}}),r},t.getStartDTS=function(e,r){var i=void 0,a=void 0,n=void 0;return i=t.findBox(r,["moof","traf"]),a=[].concat.apply([],i.map(function(r){return t.findBox(r,["tfhd"]).map(function(i){var a=void 0,n=void 0;return a=t.readUint32(i,4),n=e[a].timescale||9e4,t.findBox(r,["tfdt"]).map(function(e){var r=void 0,i=void 0;return r=e.data[e.start],i=t.readUint32(e,4),1===r&&(i*=Math.pow(2,32),i+=t.readUint32(e,8)),i})[0]/n})})),n=Math.min.apply(null,a),isFinite(n)?n:0},t.offsetStartDTS=function(e,r,i){t.findBox(r,["moof","traf"]).map(function(r){return t.findBox(r,["tfhd"]).map(function(a){var n=t.readUint32(a,4),s=e[n].timescale||9e4;t.findBox(r,["tfdt"]).map(function(e){var r=e.data[e.start],a=t.readUint32(e,4);if(0===r)t.writeUint32(e,4,a-i*s);else{a*=Math.pow(2,32),a+=t.readUint32(e,8),a-=i*s,a=Math.max(a,0);var n=Math.floor(a/(o+1)),l=Math.floor(a%(o+1));t.writeUint32(e,4,n),t.writeUint32(e,8,l)}})})})},t.prototype.append=function(e,r,i,a){var o=this.initData;o||(this.resetInitSegment(e,this.audioCodec,this.videoCodec,!1),o=this.initData);var s=void 0,l=this.initPTS;if(void 0===l){var u=t.getStartDTS(o,e);this.initPTS=l=u-r,this.observer.trigger(n.a.INIT_PTS_FOUND,{initPTS:l})}t.offsetStartDTS(o,e,l),s=t.getStartDTS(o,e),this.remuxer.remux(o.audio,o.video,null,null,s,i,a,e)},t.prototype.destroy=function(){},t}();e.a=s},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(6),n=r.n(a),o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),s=function(){function t(){i(this,t),this.method=null,this.key=null,this.iv=null,this._uri=null}return o(t,[{key:"uri",get:function(){return!this._uri&&this.reluri&&(this._uri=n.a.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri}}]),t}();e.a=s},function(t,e,r){"use strict";function i(t,e){var r=n[e];return!!r&&!0===r[t.slice(0,4)]}function a(t,e){return window.MediaSource.isTypeSupported((e||"video")+'/mp4;codecs="'+t+'"')}r.d(e,"b",function(){return i}),r.d(e,"a",function(){return a});var n={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}}},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(3),n=r(13),o=r.n(n),s=r(36),l=r.n(s),u=r(1),d=r(22),c=r(0),h=r(2),f=r(15),p=r(5),g=Object(p.a)(),v=Object(f.a)(),y=function(){function t(e,r){i(this,t),this.hls=e,this.id=r;var a=this.observer=new o.a,n=e.config;a.trigger=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];a.emit.apply(a,[t,t].concat(r))},a.off=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];a.removeListener.apply(a,[t].concat(r))};var s=function(t,r){r=r||{},r.frag=this.frag,r.id=this.id,e.trigger(t,r)}.bind(this);a.on(u.a.FRAG_DECRYPTED,s),a.on(u.a.FRAG_PARSING_INIT_SEGMENT,s),a.on(u.a.FRAG_PARSING_DATA,s),a.on(u.a.FRAG_PARSED,s),a.on(u.a.ERROR,s),a.on(u.a.FRAG_PARSING_METADATA,s),a.on(u.a.FRAG_PARSING_USERDATA,s),a.on(u.a.INIT_PTS_FOUND,s);var f={mp4:v.isTypeSupported("video/mp4"),mpeg:v.isTypeSupported("audio/mpeg"),mp3:v.isTypeSupported('audio/mp4; codecs="mp3"')},p=navigator.vendor;if(n.enableWorker&&"undefined"!=typeof Worker){c.b.log("demuxing in webworker");var y=void 0;try{y=this.w=l()(49),this.onwmsg=this.onWorkerMessage.bind(this),y.addEventListener("message",this.onwmsg),y.onerror=function(t){e.trigger(u.a.ERROR,{type:h.b.OTHER_ERROR,details:h.a.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:t.message+" ("+t.filename+":"+t.lineno+")"}})},y.postMessage({cmd:"init",typeSupported:f,vendor:p,id:r,config:JSON.stringify(n)})}catch(t){c.b.error("error while initializing DemuxerWorker, fallback on DemuxerInline"),y&&g.URL.revokeObjectURL(y.objectURL),this.demuxer=new d.a(a,f,n,p),this.w=void 0}}else this.demuxer=new d.a(a,f,n,p)}return t.prototype.destroy=function(){var t=this.w;if(t)t.removeEventListener("message",this.onwmsg),t.terminate(),this.w=null;else{var e=this.demuxer;e&&(e.destroy(),this.demuxer=null)}var r=this.observer;r&&(r.removeAllListeners(),this.observer=null)},t.prototype.push=function(t,e,r,i,n,o,s,l){var u=this.w,d=Object(a.a)(n.startDTS)?n.startDTS:n.start,h=n.decryptdata,f=this.frag,p=!(f&&n.cc===f.cc),g=!(f&&n.level===f.level),v=f&&n.sn===f.sn+1,y=!g&&v;if(p&&c.b.log(this.id+":discontinuity detected"),g&&c.b.log(this.id+":switch detected"),this.frag=n,u)u.postMessage({cmd:"demux",data:t,decryptdata:h,initSegment:e,audioCodec:r,videoCodec:i,timeOffset:d,discontinuity:p,trackSwitch:g,contiguous:y,duration:o,accurateTimeOffset:s,defaultInitPTS:l},t instanceof ArrayBuffer?[t]:[]);else{var m=this.demuxer;m&&m.push(t,h,e,r,i,d,p,g,y,o,s,l)}},t.prototype.onWorkerMessage=function(t){var e=t.data,r=this.hls;switch(e.event){case"init":g.URL.revokeObjectURL(this.w.objectURL);break;case u.a.FRAG_PARSING_DATA:e.data.data1=new Uint8Array(e.data1),e.data2&&(e.data.data2=new Uint8Array(e.data2));default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,r.trigger(e.event,e.data)}},t}();e.a=y},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(1),n=r(2),o=r(14),s=r(40),l=r(18),u=r(41),d=r(44),c=r(45),h=r(48),f=r(5),p=Object(f.a)(),g=p.performance,v=function(){function t(e,r,a,n){i(this,t),this.observer=e,this.typeSupported=r,this.config=a,this.vendor=n}return t.prototype.destroy=function(){var t=this.demuxer;t&&t.destroy()},t.prototype.push=function(t,e,r,i,n,s,l,u,d,c,h,f){if(t.byteLength>0&&null!=e&&null!=e.key&&"AES-128"===e.method){var p=this.decrypter;null==p&&(p=this.decrypter=new o.a(this.observer,this.config));var v=this,y=void 0;try{y=g.now()}catch(t){y=Date.now()}p.decrypt(t,e.key.buffer,e.iv.buffer,function(t){var o=void 0;try{o=g.now()}catch(t){o=Date.now()}v.observer.trigger(a.a.FRAG_DECRYPTED,{stats:{tstart:y,tdecrypt:o}}),v.pushDecrypted(new Uint8Array(t),e,new Uint8Array(r),i,n,s,l,u,d,c,h,f)})}else this.pushDecrypted(new Uint8Array(t),e,new Uint8Array(r),i,n,s,l,u,d,c,h,f)},t.prototype.pushDecrypted=function(t,e,r,i,o,f,p,g,v,y,m,b){var E=this.demuxer;if(!E||(p||g)&&!this.probe(t)){for(var T=this.observer,S=this.typeSupported,A=this.config,R=[{demux:u.a,remux:c.a},{demux:l.a,remux:h.a},{demux:s.a,remux:c.a},{demux:d.a,remux:c.a}],_=0,w=R.length;_<w;_++){var L=R[_],D=L.demux.probe;if(D(t)){var I=this.remuxer=new L.remux(T,A,S,this.vendor);E=new L.demux(T,I,A,S),this.probe=D;break}}if(!E)return void T.trigger(a.a.ERROR,{type:n.b.MEDIA_ERROR,details:n.a.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=E}var k=this.remuxer;(p||g)&&(E.resetInitSegment(r,i,o,y),k.resetInitSegment()),p&&(E.resetTimeStamp(b),k.resetTimeStamp(b)),"function"==typeof E.setDecryptData&&E.setDecryptData(e),E.append(t,f,v,m)},t}();e.a=v},function(t,e,r){"use strict";function i(t,e,r,i){var a=void 0,n=void 0,o=void 0,s=void 0,l=void 0,u=navigator.userAgent.toLowerCase(),d=i,c=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];return a=1+((192&e[r+2])>>>6),(n=(60&e[r+2])>>>2)>c.length-1?void t.trigger(g.a.ERROR,{type:p.b.MEDIA_ERROR,details:p.a.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+n}):(s=(1&e[r+2])<<2,s|=(192&e[r+3])>>>6,f.b.log("manifest codec:"+i+",ADTS data:type:"+a+",sampleingIndex:"+n+"["+c[n]+"Hz],channelConfig:"+s),/firefox/i.test(u)?n>=6?(a=5,l=new Array(4),o=n-3):(a=2,l=new Array(2),o=n):-1!==u.indexOf("android")?(a=2,l=new Array(2),o=n):(a=5,l=new Array(4),i&&(-1!==i.indexOf("mp4a.40.29")||-1!==i.indexOf("mp4a.40.5"))||!i&&n>=6?o=n-3:((i&&-1!==i.indexOf("mp4a.40.2")&&(n>=6&&1===s||/vivaldi/i.test(u))||!i&&1===s)&&(a=2,l=new Array(2)),o=n)),l[0]=a<<3,l[0]|=(14&n)>>1,l[1]|=(1&n)<<7,l[1]|=s<<3,5===a&&(l[1]|=(14&o)>>1,l[2]=(1&o)<<7,l[2]|=8,l[3]=0),{config:l,samplerate:c[n],channelCount:s,codec:"mp4a.40."+a,manifestCodec:d})}function a(t,e){return 255===t[e]&&240==(246&t[e+1])}function n(t,e){return 1&t[e+1]?7:9}function o(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function s(t,e){return!!(e+1<t.length&&a(t,e))}function l(t,e){if(e+1<t.length&&a(t,e)){var r=n(t,e),i=r;e+5<t.length&&(i=o(t,e));var s=e+i;if(s===t.length||s+1<t.length&&a(t,s))return!0}return!1}function u(t,e,r,a,n){if(!t.samplerate){var o=i(e,r,a,n);t.config=o.config,t.samplerate=o.samplerate,t.channelCount=o.channelCount,t.codec=o.codec,t.manifestCodec=o.manifestCodec,f.b.log("parsed codec:"+t.codec+",rate:"+o.samplerate+",nb channel:"+o.channelCount)}
vendor: 14,931 bytes, line 5
5}function d(t){return 9216e4/t}function c(t,e,r,i,a){var s=void 0,l=void 0,u=void 0,d=t.length;if(s=n(t,e),l=o(t,e),(l-=s)>0&&e+s+l<=d)return u=r+i*a,{headerLength:s,frameLength:l,stamp:u}}function h(t,e,r,i,a){var n=d(t.samplerate),o=c(e,r,i,a,n);if(o){var s=o.stamp,l=o.headerLength,u=o.frameLength,h={unit:e.subarray(r+l,r+l+u),pts:s,dts:s};return t.samples.push(h),t.len+=u,{sample:h,length:u+l}}}e.d=s,e.e=l,e.c=u,e.b=d,e.a=h;var f=r(0),p=r(2),g=r(1);r(5)},function(t,e,r){"use strict";var i={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],SamplesCoefficients:[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],BytesInSlot:[0,1,1,4],appendFrame:function(t,e,r,i,a){if(!(r+24>e.length)){var n=this.parseHeader(e,r);if(n&&r+n.frameLength<=e.length){var o=9e4*n.samplesPerFrame/n.sampleRate,s=i+a*o,l={unit:e.subarray(r,r+n.frameLength),pts:s,dts:s};return t.config=[],t.channelCount=n.channelCount,t.samplerate=n.sampleRate,t.samples.push(l),t.len+=n.frameLength,{sample:l,length:n.frameLength}}}},parseHeader:function(t,e){var r=t[e+1]>>3&3,a=t[e+1]>>1&3,n=t[e+2]>>4&15,o=t[e+2]>>2&3,s=t[e+2]>>1&1;if(1!==r&&0!==n&&15!==n&&3!==o){var l=3===r?3-a:3===a?3:4,u=1e3*i.BitratesMap[14*l+n-1],d=3===r?0:2===r?1:2,c=i.SamplingRateMap[3*d+o],h=t[e+3]>>6==3?1:2,f=i.SamplesCoefficients[r][a],p=i.BytesInSlot[a],g=8*f*p;return{sampleRate:c,channelCount:h,frameLength:parseInt(f*u/c+s,10)*p,samplesPerFrame:g}}},isHeaderPattern:function(t,e){return 255===t[e]&&224==(224&t[e+1])&&0!=(6&t[e+1])},isHeader:function(t,e){return!!(e+1<t.length&&this.isHeaderPattern(t,e))},probe:function(t,e){if(e+1<t.length&&this.isHeaderPattern(t,e)){var r=this.parseHeader(t,e),i=4;r&&r.frameLength&&(i=r.frameLength);var a=e+i;if(a===t.length||a+1<t.length&&this.isHeaderPattern(t,a))return!0}return!1}};e.a=i},function(t,e,r){"use strict";var i={toString:function(t){for(var e="",r=t.length,i=0;i<r;i++)e+="["+t.start(i).toFixed(3)+","+t.end(i).toFixed(3)+"]";return e}};e.a=i},function(t,e,r){"use strict";function i(t,e){for(var r=null,i=0;i<t.length;i+=1){var a=t[i];if(a&&a.cc===e){r=a;break}}return r}function a(t,e){return h.a.search(t,function(t){return t.cc<e?1:t.cc>e?-1:0})}function n(t,e,r){var i=!1;return e&&e.details&&r&&(r.endCC>r.startCC||t&&t.cc<r.startCC)&&(i=!0),i}function o(t,e){var r=t.fragments,a=e.fragments;if(!a.length||!r.length)return void f.b.log("No fragments to align");var n=i(r,a[0].cc);return!n||n&&!n.startPTS?void f.b.log("No frag in previous level to align on"):n}function s(t,e){e.fragments.forEach(function(e){if(e){var r=e.start+t;e.start=e.startPTS=r,e.endPTS=r+e.duration}}),e.PTSKnown=!0}function l(t,e,r){u(t,r,e),!r.PTSKnown&&e&&d(r,e.details)}function u(t,e,r){if(n(t,r,e)){var i=o(r.details,e);i&&(f.b.log("Adjusting PTS using last level due to CC increase within current level"),s(i.start,e))}}function d(t,e){if(e&&e.fragments.length){if(!t.hasProgramDateTime||!e.hasProgramDateTime)return;var r=e.fragments[0].programDateTime,i=t.fragments[0].programDateTime,a=(i-r)/1e3+e.fragments[0].start;Object(c.a)(a)&&(f.b.log("adjusting PTS using programDateTime delta, sliding:"+a.toFixed(3)),s(a,t))}}e.b=a,e.a=l;var c=r(3),h=r(7),f=r(0)},function(t,e,r){"use strict";function i(t,e){var r=null;try{r=new window.Event("addtrack")}catch(t){r=document.createEvent("Event"),r.initEvent("addtrack",!1,!1)}r.track=t,e.dispatchEvent(r)}function a(t){if(t&&t.cues)for(;t.cues.length>0;)t.removeCue(t.cues[0])}e.b=i,e.a=a},function(t,e,r){"use strict";function i(){this.window=window,this.state="INITIAL",this.buffer="",this.decoder=new d,this.regionList=[]}function a(t){function e(t,e,r,i){return 3600*(0|t)+60*(0|e)+(0|r)+(0|i)/1e3}var r=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return r?r[3]?e(r[1],r[2],r[3].replace(":",""),r[4]):r[1]>59?e(r[1],r[2],0,r[4]):e(0,r[1],r[2],r[4]):null}function n(){this.values=Object.create(null)}function o(t,e,r,i){var a=i?t.split(i):[t];for(var n in a)if("string"==typeof a[n]){var o=a[n].split(r);if(2===o.length){var s=o[0],l=o[1];e(s,l)}}}function s(t,e,r){function i(){var e=a(t);if(null===e)throw new Error("Malformed timestamp: "+l);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function s(){t=t.replace(/^\s+/,"")}var l=t;if(s(),e.startTime=i(),s(),"--\x3e"!==t.substr(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+l);t=t.substr(3),s(),e.endTime=i(),s(),function(t,e){var i=new n;o(t,function(t,e){switch(t){case"region":for(var a=r.length-1;a>=0;a--)if(r[a].id===e){i.set(t,r[a].region);break}break;case"vertical":i.alt(t,e,["rl","lr"]);break;case"line":var n=e.split(","),o=n[0];i.integer(t,o),i.percent(t,o)&&i.set("snapToLines",!1),i.alt(t,o,["auto"]),2===n.length&&i.alt("lineAlign",n[1],["start",h,"end"]);break;case"position":n=e.split(","),i.percent(t,n[0]),2===n.length&&i.alt("positionAlign",n[1],["start",h,"end","line-left","line-right","auto"]);break;case"size":i.percent(t,e);break;case"align":i.alt(t,e,["start",h,"end","left","right"])}},/:/,/\s/),e.region=i.get("region",null),e.vertical=i.get("vertical","");var a=i.get("line","auto");"auto"===a&&-1===c.line&&(a=-1),e.line=a,e.lineAlign=i.get("lineAlign","start"),e.snapToLines=i.get("snapToLines",!0),e.size=i.get("size",100),e.align=i.get("align",h);var s=i.get("position","auto");"auto"===s&&50===c.position&&(s="start"===e.align||"left"===e.align?0:"end"===e.align||"right"===e.align?100:50),e.position=s}(t,e)}function l(t){return t.replace(/<br(?: \/)?>/gi,"\n")}r.d(e,"b",function(){return l});var u=r(66),d=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}};n.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,r){return r?this.has(t)?this.values[t]:e[r]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,r){for(var i=0;i<r.length;++i)if(e===r[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e))>=0&&e<=100)&&(this.set(t,e),!0)}};var c=new u.a(0,0,0),h="middle"===c.align?"middle":"center";i.prototype={parse:function(t){function e(){var t=r.buffer,e=0;for(t=l(t);e<t.length&&"\r"!==t[e]&&"\n"!==t[e];)++e;var i=t.substr(0,e);return"\r"===t[e]&&++e,"\n"===t[e]&&++e,r.buffer=t.substr(e),i}var r=this;t&&(r.buffer+=r.decoder.decode(t,{stream:!0}));try{var i=void 0;if("INITIAL"===r.state){if(!/\r\n|\n/.test(r.buffer))return this;i=e();var a=i.match(/^()?WEBVTT([ \t].*)?$/);if(!a||!a[0])throw new Error("Malformed WebVTT signature.");r.state="HEADER"}for(var n=!1;r.buffer;){if(!/\r\n|\n/.test(r.buffer))return this;switch(n?n=!1:i=e(),r.state){case"HEADER":/:/.test(i)?function(t){o(t,function(t,e){},/:/)}(i):i||(r.state="ID");continue;case"NOTE":i||(r.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(i)){r.state="NOTE";break}if(!i)continue;if(r.cue=new u.a(0,0,""),r.state="CUE",-1===i.indexOf("--\x3e")){r.cue.id=i;continue}case"CUE":try{s(i,r.cue,r.regionList)}catch(t){r.cue=null,r.state="BADCUE";continue}r.state="CUETEXT";continue;case"CUETEXT":var d=-1!==i.indexOf("--\x3e");if(!i||d&&(n=!0)){r.oncue&&r.oncue(r.cue),r.cue=null,r.state="ID";continue}r.cue.text&&(r.cue.text+="\n"),r.cue.text+=i;continue;case"BADCUE":i||(r.state="ID");continue}}}catch(t){"CUETEXT"===r.state&&r.cue&&r.oncue&&r.oncue(r.cue),r.cue=null,r.state="INITIAL"===r.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new Error("Malformed WebVTT signature.")}catch(t){throw t}return t.onflush&&t.onflush(),this}},e.a=i},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var a=r(6),n=r.n(a),o=r(2),s=r(17),l=r(33),u=r(34),d=r(12),c=r(35),h=r(52),f=r(53),p=r(54),g=r(0),v=r(55),y=r(1),m=r(13),b=r.n(m),E=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}();r(75);var T=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var a=t.DefaultConfig;if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var n in a)n in r||(r[n]=a[n]);if(void 0!==r.liveMaxLatencyDurationCount&&r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==r.liveMaxLatencyDuration&&(r.liveMaxLatencyDuration<=r.liveSyncDuration||void 0===r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');Object(g.a)(r.debug),this.config=r,this._autoLevelCapping=-1;var o=this.observer=new b.a;o.trigger=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];o.emit.apply(o,[t,t].concat(r))},o.off=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];o.removeListener.apply(o,[t].concat(r))},this.on=o.on.bind(o),this.off=o.off.bind(o),this.once=o.once.bind(o),this.trigger=o.trigger.bind(o);var p=this.abrController=new r.abrController(this),v=new r.bufferController(this),y=new r.capLevelController(this),m=new r.fpsController(this),E=new s.a(this),T=new l.a(this),S=new u.a(this),A=new f.a(this),R=this.levelController=new h.a(this),_=new d.b(this),w=this.streamController=new c.a(this,_),L=[R,w],D=r.audioStreamController;D&&L.push(new D(this,_)),this.networkControllers=L;var I=[E,T,S,p,v,y,m,A,_];if(D=r.audioTrackController){var k=new D(this);this.audioTrackController=k,I.push(k)}if(D=r.subtitleTrackController){var O=new D(this);this.subtitleTrackController=O,I.push(O)}if(D=r.emeController){var C=new D(this);this.emeController=C,I.push(C)}[r.subtitleStreamController,r.timelineController].forEach(function(t){t&&I.push(new t(e))}),this.coreComponents=I}return t.isSupported=function(){return Object(p.a)()},E(t,null,[{key:"version",get:function(){return"0.11.0"}},{key:"Events",get:function(){return y.a}},{key:"ErrorTypes",get:function(){return o.b}},{key:"ErrorDetails",get:function(){return o.a}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:v.a},set:function(e){t.defaultConfig=e}}]),t.prototype.destroy=function(){g.b.log("destroy"),this.trigger(y.a.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach(function(t){t.destroy()}),this.url=null,this.observer.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(t){g.b.log("attachMedia"),this.media=t,this.trigger(y.a.MEDIA_ATTACHING,{media:t})},t.prototype.detachMedia=function(){g.b.log("detachMedia"),this.trigger(y.a.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(t){t=n.a.buildAbsoluteURL(window.location.href,t,{alwaysNormalize:!0}),g.b.log("loadSource:"+t),this.url=t,this.trigger(y.a.MANIFEST_LOADING,{url:t})},t.prototype.startLoad=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;g.b.log("startLoad("+t+")"),this.networkControllers.forEach(function(e){e.startLoad(t)})},t.prototype.stopLoad=function(){g.b.log("stopLoad"),this.networkControllers.forEach(function(t){t.stopLoad()})},t.prototype.swapAudioCodec=function(){g.b.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){g.b.log("recoverMediaError");var t=this.media;this.detachMedia(),this.attachMedia(t)},E(t,[{key:"levels",get:function(){return this.levelController.levels}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(t){g.b.log("set currentLevel:"+t),this.loadLevel=t,this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(t){g.b.log("set nextLevel:"+t),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(t){g.b.log("set loadLevel:"+t),this.levelController.manualLevel=t}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(t){this.levelController.nextLoadLevel=t}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(t){g.b.log("set firstLevel:"+t),this.levelController.firstLevel=t}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(t){g.b.log("set startLevel:"+t);var e=this;-1!==t&&(t=Math.max(t,e.minAutoLevel)),e.levelController.startLevel=t}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(t){g.b.log("set autoLevelCapping:"+t),this._autoLevelCapping=t}},{key:"autoLevelEnabled",get:function(){return-1===this.levelController.manualLevel}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){for(var t=this,e=t.levels,r=t.config.minAutoBitrate,i=e?e.length:0,a=0;a<i;a++){if((e[a].realBitrate?Math.max(e[a].realBitrate,e[a].bitrate):e[a].bitrate)>r)return a}return 0}},{key:"maxAutoLevel",get:function(){var t=this,e=t.levels,r=t.autoLevelCapping;return-1===r&&e&&e.length?e.length-1:r}},{key:"nextAutoLevel",get:function(){var t=this;return Math.min(Math.max(t.abrController.nextAutoLevel,t.minAutoLevel),t.maxAutoLevel)},set:function(t){var e=this;e.abrController.nextAutoLevel=Math.max(e.minAutoLevel,t)}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"liveSyncPosition",get:function(){return this.streamController.liveSyncPosition}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}},{key:"subtitleDisplay",get:function(){var t=this.subtitleTrackController;return!!t&&t.subtitleDisplay}
vendor: 124,003 bytes, line 5
5,set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleDisplay=t)}}]),t}();e.default=T},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var r=t[e],i=e-1;i>=0;i--){var a=t[i];a.programDateTime=r.programDateTime-1e3*a.duration,r=a}}function n(t,e){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):e&&e.programDateTime&&(t.programDateTime=e.endProgramDateTime),Object(o.a)(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}var o=r(3),s=r(6),l=r.n(s),u=r(11),d=r(31),c=r(19),h=r(32),f=r(0),p=r(20),g=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,v=/#EXT-X-MEDIA:(.*)/g,y=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)(\S+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),m=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,b=/\.(mp4|m4s|m4v|m4a)$/i,E=function(){function t(){i(this,t)}return t.findGroup=function(t,e){if(!t)return null;for(var r=null,i=0;i<t.length;i++){var a=t[i];a.id===e&&(r=a)}return r},t.convertAVC1ToAVCOTI=function(t){var e=void 0,r=t.split(".");return r.length>2?(e=r.shift()+".",e+=parseInt(r.shift()).toString(16),e+=("000"+parseInt(r.shift()).toString(16)).substr(-4)):e=t,e},t.resolve=function(t,e){return l.a.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,r){var i=[],a=void 0;for(g.lastIndex=0;null!=(a=g.exec(e));){var n={},o=n.attrs=new h.a(a[1]);n.url=t.resolve(a[2],r);var s=o.decimalResolution("RESOLUTION");s&&(n.width=s.width,n.height=s.height),n.bitrate=o.decimalInteger("AVERAGE-BANDWIDTH")||o.decimalInteger("BANDWIDTH"),n.name=o.NAME,function(t,e){["video","audio"].forEach(function(r){var i=t.filter(function(t){return Object(p.b)(t,r)});if(i.length){var a=i.filter(function(t){return 0===t.lastIndexOf("avc1",0)||0===t.lastIndexOf("mp4a",0)});e[r+"Codec"]=a.length>0?a[0]:i[0],t=t.filter(function(t){return-1===i.indexOf(t)})}}),e.unknownCodecs=t}([].concat((o.CODECS||"").split(/[ ,]+/)),n),n.videoCodec&&-1!==n.videoCodec.indexOf("avc1")&&(n.videoCodec=t.convertAVC1ToAVCOTI(n.videoCodec)),i.push(n)}return i},t.parseMasterPlaylistMedia=function(e,r,i){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],n=void 0,o=[],s=0;for(v.lastIndex=0;null!==(n=v.exec(e));){var l={},u=new h.a(n[1]);if(u.TYPE===i){if(l.groupId=u["GROUP-ID"],l.name=u.NAME,l.type=i,l.default="YES"===u.DEFAULT,l.autoselect="YES"===u.AUTOSELECT,l.forced="YES"===u.FORCED,u.URI&&(l.url=t.resolve(u.URI,r)),l.lang=u.LANGUAGE,l.name||(l.name=l.lang),a.length){var d=t.findGroup(a,l.groupId);l.audioCodec=d?d.codec:a[0].codec}l.id=s++,o.push(l)}}return o},t.parseLevelPlaylist=function(t,e,r,i,s){var l=0,p=0,g=new d.a(e),v=new c.a,E=0,T=null,S=new u.a,A=void 0,R=void 0,_=null;for(y.lastIndex=0;null!==(A=y.exec(t));){var w=A[1];if(w){S.duration=parseFloat(w);var L=(" "+A[2]).slice(1);S.title=L||null,S.tagList.push(L?["INF",w,L]:["INF",w])}else if(A[3]){if(Object(o.a)(S.duration)){var D=l++;S.type=i,S.start=p,S.levelkey=v,S.sn=D,S.level=r,S.cc=E,S.urlId=s,S.baseurl=e,S.relurl=(" "+A[3]).slice(1),n(S,T),g.fragments.push(S),T=S,p+=S.duration,S=new u.a}}else if(A[4]){if(S.rawByteRange=(" "+A[4]).slice(1),T){var I=T.byteRangeEndOffset;I&&(S.lastByteRangeEndOffset=I)}}else if(A[5])S.rawProgramDateTime=(" "+A[5]).slice(1),S.tagList.push(["PROGRAM-DATE-TIME",S.rawProgramDateTime]),null===_&&(_=g.fragments.length);else{for(A=A[0].match(m),R=1;R<A.length&&void 0===A[R];R++);var k=(" "+A[R+1]).slice(1),O=(" "+A[R+2]).slice(1);switch(A[R]){case"#":S.tagList.push(O?[k,O]:[k]);break;case"PLAYLIST-TYPE":g.type=k.toUpperCase();break;case"MEDIA-SEQUENCE":l=g.startSN=parseInt(k);break;case"TARGETDURATION":g.targetduration=parseFloat(k);break;case"VERSION":g.version=parseInt(k);break;case"EXTM3U":break;case"ENDLIST":g.live=!1;break;case"DIS":E++,S.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":E=parseInt(k);break;case"KEY":var C=k,P=new h.a(C),x=P.enumeratedString("METHOD"),F=P.URI,M=P.hexadecimalInteger("IV");x&&(v=new c.a,F&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(x)>=0&&(v.method=x,v.baseuri=e,v.reluri=F,v.key=null,v.iv=M));break;case"START":var N=k,U=new h.a(N),B=U.decimalFloatingPoint("TIME-OFFSET");Object(o.a)(B)&&(g.startTimeOffset=B);break;case"MAP":var G=new h.a(k);S.relurl=G.URI,S.rawByteRange=G.BYTERANGE,S.baseurl=e,S.level=r,S.type=i,S.sn="initSegment",g.initSegment=S,S=new u.a,S.rawProgramDateTime=g.initSegment.rawProgramDateTime;break;default:f.b.warn("line parsed but not handled: "+A)}}}return S=T,S&&!S.relurl&&(g.fragments.pop(),p-=S.duration),g.totalduration=p,g.averagetargetduration=p/g.fragments.length,g.endSN=l-1,g.startCC=g.fragments[0]?g.fragments[0].cc:0,g.endCC=E,!g.initSegment&&g.fragments.length&&g.fragments.every(function(t){return b.test(t.relurl)})&&(f.b.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),S=new u.a,S.relurl=g.fragments[0].relurl,S.baseurl=e,S.level=r,S.type=i,S.sn="initSegment",g.initSegment=S,g.needSidxRanges=!0),_&&a(g.fragments,_),g},t}();e.a=E},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(3),n=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=function(){function t(e){i(this,t),this.endCC=0,this.endSN=0,this.fragments=[],this.initSegment=null,this.live=!0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=e,this.version=null}return n(t,[{key:"hasProgramDateTime",get:function(){return!(!this.fragments[0]||!Object(a.a)(this.fragments[0].programDateTime))}}]),t}();e.a=o},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=/^(\d+)x(\d+)$/,n=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,o=function(){function t(e){i(this,t),"string"==typeof e&&(e=t.parseAttrList(e));for(var r in e)e.hasOwnProperty(r)&&(this[r]=e[r])}return t.prototype.decimalInteger=function(t){var e=parseInt(this[t],10);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var r=new Uint8Array(e.length/2),i=0;i<e.length/2;i++)r[i]=parseInt(e.slice(2*i,2*i+2),16);return r}return null},t.prototype.hexadecimalIntegerAsNumber=function(t){var e=parseInt(this[t],16);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.decimalFloatingPoint=function(t){return parseFloat(this[t])},t.prototype.enumeratedString=function(t){return this[t]},t.prototype.decimalResolution=function(t){var e=a.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e=void 0,r={};for(n.lastIndex=0;null!==(e=n.exec(t));){var i=e[2];0===i.indexOf('"')&&i.lastIndexOf('"')===i.length-1&&(i=i.slice(1,-1)),r[e[1]]=i}return r},t}();e.a=o},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(1),l=r(4),u=r(2),d=r(0),c=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.FRAG_LOADING));return n.loaders={},n}return n(e,t),e.prototype.destroy=function(){var e=this.loaders;for(var r in e){var i=e[r];i&&i.destroy()}this.loaders={},t.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag,r=e.type,i=this.loaders,a=this.hls.config,n=a.fLoader,s=a.loader;e.loaded=0;var l=i[r];l&&(d.b.warn("abort previous fragment loader for type: "+r),l.abort()),l=i[r]=e.loader=a.fLoader?new n(a):new s(a);var u=void 0,c=void 0,h=void 0;u={url:e.url,frag:e,responseType:"arraybuffer",progressData:!1};var f=e.byteRangeStartOffset,p=e.byteRangeEndOffset;Object(o.a)(f)&&Object(o.a)(p)&&(u.rangeStart=f,u.rangeEnd=p),c={timeout:a.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:a.fragLoadingMaxRetryTimeout},h={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},l.load(u,c,h)},e.prototype.loadsuccess=function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=t.data,n=r.frag;n.loader=void 0,this.loaders[n.type]=void 0,this.hls.trigger(s.a.FRAG_LOADED,{payload:a,frag:n,stats:e,networkDetails:i})},e.prototype.loaderror=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e.frag,a=i.loader;a&&a.abort(),this.loaders[i.type]=void 0,this.hls.trigger(s.a.ERROR,{type:u.b.NETWORK_ERROR,details:u.a.FRAG_LOAD_ERROR,fatal:!1,frag:e.frag,response:t,networkDetails:r})},e.prototype.loadtimeout=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e.frag,a=i.loader;a&&a.abort(),this.loaders[i.type]=void 0,this.hls.trigger(s.a.ERROR,{type:u.b.NETWORK_ERROR,details:u.a.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e.frag,networkDetails:r})},e.prototype.loadprogress=function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=e.frag;a.loaded=t.loaded,this.hls.trigger(s.a.FRAG_LOAD_PROGRESS,{frag:a,stats:t,networkDetails:i})},e}(l.a);e.a=c},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(4),l=r(2),u=r(0),d=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.KEY_LOADING));return n.loaders={},n.decryptkey=null,n.decrypturl=null,n}return n(e,t),e.prototype.destroy=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy()}this.loaders={},s.a.prototype.destroy.call(this)},e.prototype.onKeyLoading=function(t){var e=t.frag,r=e.type,i=this.loaders[r],a=e.decryptdata,n=a.uri;if(n!==this.decrypturl||null===this.decryptkey){var s=this.hls.config;i&&(u.b.warn("abort previous key loader for type:"+r),i.abort()),e.loader=this.loaders[r]=new s.loader(s),this.decrypturl=n,this.decryptkey=null;var l=void 0,d=void 0,c=void 0;l={url:n,frag:e,responseType:"arraybuffer"},d={timeout:s.fragLoadingTimeOut,maxRetry:s.fragLoadingMaxRetry,retryDelay:s.fragLoadingRetryDelay,maxRetryDelay:s.fragLoadingMaxRetryTimeout},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},e.loader.load(l,d,c)}else this.decryptkey&&(a.key=this.decryptkey,this.hls.trigger(o.a.KEY_LOADED,{frag:e}))},e.prototype.loadsuccess=function(t,e,r){var i=r.frag;this.decryptkey=i.decryptdata.key=new Uint8Array(t.data),i.loader=void 0,this.loaders[i.type]=void 0,this.hls.trigger(o.a.KEY_LOADED,{frag:i})},e.prototype.loaderror=function(t,e){var r=e.frag,i=r.loader;i&&i.abort(),this.loaders[e.type]=void 0,this.hls.trigger(o.a.ERROR,{type:l.b.NETWORK_ERROR,details:l.a.KEY_LOAD_ERROR,fatal:!1,frag:r,response:t})},e.prototype.loadtimeout=function(t,e){var r=e.frag,i=r.loader;i&&i.abort(),this.loaders[e.type]=void 0,this.hls.trigger(o.a.ERROR,{type:l.b.NETWORK_ERROR,details:l.a.KEY_LOAD_TIMEOUT,fatal:!1,frag:r})},e}(s.a);e.a=d},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(7),l=r(8),u=r(21),d=r(1),c=r(12),h=r(11),f=r(17),p=r(16),g=r(25),v=r(2),y=r(0),m=r(26),b=r(10),E=r(50),T=r(51),S=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),A={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_LEVEL:"WAITING_LEVEL",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR"},R=function(t){function e(r,n){i(this,e);var o=a(this,t.call(this,r,d.a.MEDIA_ATTACHED,d.a.MEDIA_DETACHING,d.a.MANIFEST_LOADING,d.a.MANIFEST_PARSED,d.a.LEVEL_LOADED,d.a.KEY_LOADED,d.a.FRAG_LOADED,d.a.FRAG_LOAD_EMERGENCY_ABORTED,d.a.FRAG_PARSING_INIT_SEGMENT,d.a.FRAG_PARSING_DATA,d.a.FRAG_PARSED,d.a.ERROR,d.a.AUDIO_TRACK_SWITCHING,d.a.AUDIO_TRACK_SWITCHED,d.a.BUFFER_CREATED,d.a.BUFFER_APPENDED,d.a.BUFFER_FLUSHED));return o.fragmentTracker=n,o.config=r.config,o.audioCodecSwap=!1,o._state=A.STOPPED,o.stallReported=!1,o.gapController=null,o}return n(e,t),e.prototype.onHandlerDestroying=function(){this.stopLoad(),t.prototype.onHandlerDestroying.call(this)},e.prototype.onHandlerDestroyed=function(){this.state=A.STOPPED,this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},e.prototype.startLoad=function(t){if(this.levels){var e=this.lastCurrentTime,r=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var i=r.startLevel;-1===i&&(i=0,this.bitrateTest=!0),this.level=r.nextLoadLevel=i,this.loadedmetadata=!1}e>0&&-1===t&&(y.b.log("override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=A.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this.forceStartLoad=!0,this.state=A.STOPPED},e.prototype.stopLoad=function(){var t=this.fragCurrent;t&&(t.loader&&t.loader.abort(),this.fragmentTracker.removeFragment(t),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.clearInterval(),this.state=A.STOPPED,this.forceStartLoad=!1},e.prototype.doTick=function(){switch(this.state){case A.BUFFER_FLUSHING:this.fragLoadError=0;break;case A.IDLE:this._doTickIdle();break;case A.WAITING_LEVEL:var t=this.levels[this.level];t&&t.details&&(this.state=A.IDLE);break;case A.FRAG_LOADING_WAITING_RETRY:var e=window.performance.now(),r=this.retryDate;(!r||e>=r||this.media&&this.media.seeking)&&(y.b.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=A.IDLE);break;case A.ERROR:case A.STOPPED:case A.FRAG_LOADING:case A.PARSING:case A.PARSED:case A.ENDED:}this._checkBuffer(),this._checkFragmentChanged()},e.prototype._doTickIdle=function(){var t=this.hls,e=t.config,r=this.media;if(void 0!==this.levelLastLoaded&&(r||!this.startFragRequested&&e.startFragPrefetch)){var i=void 0;i=this.loadedmetadata?r.currentTime:this.nextLoadPosition;var a=t.nextLoadLevel,n=this.levels[a];if(n){var o=n.bitrate,s=void 0;s=o?Math.max(8*e.maxBufferSize/o,e.maxBufferLength):e.maxBufferLength,s=Math.min(s,e.maxMaxBufferLength);var u=l.a.bufferInfo(this.mediaBuffer?this.mediaBuffer:r,i,e.maxBufferHole),c=u.len;if(!(c>=s)){y.b.trace("buffer length of "+c.toFixed(3)+" is below max of "+s.toFixed(3)+". checking for more payload ..."),this.level=t.nextLoadLevel=a;var h=n.details;if(!h||h.live&&this.levelLastLoaded!==a)return void(this.state=A.WAITING_LEVEL);var f=this.fragPrevious;if(!h.live&&f&&!f.backtracked&&f.sn===h.endSN&&!u.nextStart){if(Math.min(r.duration,f.start+f.duration)-Math.max(u.end,f.start)<=Math.max(.2,f.duration)){var p={};return this.altAudio&&(p.type="video"),this.hls.trigger(d.a.BUFFER_EOS,p),void(this.state=A.ENDED)}}this._fetchPayloadOrEos(i,u,h)}}}},e.prototype._fetchPayloadOrEos=function(t,e,r){var i=this.fragPrevious,a=this.level,n=r.fragments,o=n.length;if(0!==o){var s=n[0].start,l=n[o-1].start+n[o-1].duration,u=e.end,d=void 0;if(r.initSegment&&!r.initSegment.data)d=r.initSegment;else if(r.live){var c=this.config.initialLiveManifestSize;if(o<c)return void y.b.warn("Can not start playback of a level, reason: not enough fragments "+o+" < "+c);if(null===(d=this._ensureFragmentAtLivePoint(r,u,s,l,i,n,o)))return}else u<s&&(d=n[0]);d||(d=this._findFragment(s,i,o,n,u,l,r)),d&&(d.encrypted?(y.b.log("Loading key for "+d.sn+" of ["+r.startSN+" ,"+r.endSN+"],level "+a),this._loadKey(d)):(y.b.log("Loading "+d.sn+" of ["+r.startSN+" ,"+r.endSN+"],level "+a+", currentTime:"+t.toFixed(3)+",bufferEnd:"+u.toFixed(3)),this._loadFragment(d)))}},e.prototype._ensureFragmentAtLivePoint=function(t,e,r,i,a,n,o){var l=this.hls.config,u=this.media,d=void 0,c=void 0!==l.liveMaxLatencyDuration?l.liveMaxLatencyDuration:l.liveMaxLatencyDurationCount*t.targetduration;if(e<Math.max(r-l.maxFragLookUpTolerance,i-c)){var h=this.liveSyncPosition=this.computeLivePosition(r,t);y.b.log("buffer end: "+e.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+h.toFixed(3)),e=h,u&&u.readyState&&u.duration>h&&(u.currentTime=h),this.nextLoadPosition=h}if(t.PTSKnown&&e>i&&u&&u.readyState)return null;if(this.startFragRequested&&!t.PTSKnown){if(a)if(t.hasProgramDateTime)y.b.log("live playlist, switching playlist, load frag with same PDT: "+a.programDateTime),d=Object(E.a)(n,a.endProgramDateTime,l.maxFragLookUpTolerance);else{var f=a.sn+1;if(f>=t.startSN&&f<=t.endSN){var p=n[f-t.startSN];a.cc===p.cc&&(d=p,y.b.log("live playlist, switching playlist, load frag with next SN: "+d.sn))}d||(d=s.a.search(n,function(t){return a.cc-t.cc}))&&y.b.log("live playlist, switching playlist, load frag with same CC: "+d.sn)}d||(d=n[Math.min(o-1,Math.round(o/2))],y.b.log("live playlist, switching playlist, unknown, load middle frag : "+d.sn))}return d},e.prototype._findFragment=function(t,e,r,i,a,n,o){var s=this.hls.config,l=void 0;if(a<n){var u=a>n-s.maxFragLookUpTolerance?0:s.maxFragLookUpTolerance;l=Object(E.b)(e,i,a,u)}else l=i[r-1];if(l){var d=l.sn-o.startSN,c=e&&l.level===e.level,h=i[d-1],f=i[d+1];if(e&&l.sn===e.sn)if(c&&!l.backtracked)if(l.sn<o.endSN){var p=e.deltaPTS;p&&p>s.maxBufferHole&&e.dropped&&d?(l=h,y.b.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this")):(l=f,y.b.log("SN just loaded, load next one: "+l.sn,l))}else l=null;else l.backtracked&&(f&&f.backtracked?(y.b.warn("Already backtracked from fragment "+f.sn+", will not backtrack to fragment "+l.sn+". Loading fragment "+f.sn),l=f):(y.b.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),l.dropped=0,h?(l=h,l.backtracked=!0):d&&(l=null)))}return l},e.prototype._loadKey=function(t){this.state=A.KEY_LOADING,this.hls.trigger(d.a.KEY_LOADING,{frag:t})},e.prototype._loadFragment=function(t){var e=this.fragmentTracker.getState(t);this.fragCurrent=t,this.startFragRequested=!0,Object(o.a)(t.sn)&&!t.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),t.backtracked||e===c.a.NOT_LOADED||e===c.a.PARTIAL?(t.autoLevel=this.hls.autoLevelEnabled,t.bitrateTest=this.bitrateTest,this.hls.trigger(d.a.FRAG_LOADING,{frag:t}),this.demuxer||(this.demuxer=new u.a(this.hls,"main")),this.state=A.FRAG_LOADING):e===c.a.APPENDING&&this._reduceMaxBufferLength(t.duration)&&this.fragmentTracker.removeFragment(t)},e.prototype.getBufferedFrag=function(t){return this.fragmentTracker.getBufferedFrag(t,f.a.LevelType.MAIN)},e.prototype.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.endPTS+.5):null},e.prototype._checkFragmentChanged=function(){var t=void 0,e=void 0,r=this.media;if(r&&r.readyState&&!1===r.seeking&&(e=r.currentTime,e>this.lastCurrentTime&&(this.lastCurrentTime=e),l.a.isBuffered(r,e)?t=this.getBufferedFrag(e):l.a.isBuffered(r,e+.1)&&(t=this.getBufferedFrag(e+.1)),t)){var i=t;if(i!==this.fragPlaying){this.hls.trigger(d.a.FRAG_CHANGED,{frag:i});var a=i.level;this.fragPlaying&&this.fragPlaying.level===a||this.hls.trigger(d.a.LEVEL_SWITCHED,{level:a}),this.fragPlaying=i}}},e.prototype.immediateLevelSwitch=function(){if(y.b.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var t=this.media,e=void 0;t?(e=t.paused,t.pause()):e=!0,this.previouslyPaused=e}var r=this.fragCurrent;r&&r.loader&&r.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},e.prototype.immediateLevelSwitchEnd=function(){var t=this.media;t&&t.buffered.length&&(this.immediateSwitch=!1,l.a.isBuffered(t,t.currentTime)&&(t.currentTime-=1e-4),this.previouslyPaused||t.play())},e.prototype.nextLevelSwitch=function(){var t=this.media;if(t&&t.readyState){var e=void 0,r=void 0,i=void 0;if(r=this.getBufferedFrag(t.currentTime),r&&r.startPTS>1&&this.flushMainBuffer(0,r.startPTS-1),t.paused)e=0;else{var a=this.hls.nextLoadLevel,n=this.levels[a],o=this.fragLastKbps;e=o&&this.fragCurrent?this.fragCurrent.duration*n.bitrate/(1e3*o)+1:0}if((i=this.getBufferedFrag(t.currentTime+e))&&(i=this.followingBufferedFrag(i))){var s=this.fragCurrent;s&&s.loader&&s.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(i.maxStartPTS,Number.POSITIVE_INFINITY)}}},e.prototype.flushMainBuffer=function(t,e){this.state=A.BUFFER_FLUSHING;var r={startOffset:t,endOffset:e};this.altAudio&&(r.type="video"),this.hls.trigger(d.a.BUFFER_FLUSHING,r)},e.prototype.onMediaAttached=function(t){var e=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),e.addEventListener("seeking",this.onvseeking),e.addEventListener("seeked",this.onvseeked),e.addEventListener("ended",this.onvended);var r=this.config;this.levels&&r.autoStartLoad&&this.hls.startLoad(r.startPosition),this.gapController=new T.a(r,e,this.fragmentTracker,this.hls)},e.prototype.onMediaDetaching=function(){var t=this.media;t&&t.ended&&(y.b.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var e=this.levels;e&&e.forEach(function(t){t.details&&t.details.fragments.forEach(function(t){t.backtracked=void 0})}),t&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("seeked",this.onvseeked),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()},e.prototype.onMediaSeeking=function(){var t=this.media,e=t?t.currentTime:void 0,r=this.config;Object(o.a)(e)&&y.b.log("media seeking to "+e.toFixed(3));var i=this.mediaBuffer?this.mediaBuffer:t,a=l.a.bufferInfo(i,e,this.config.maxBufferHole);if(this.state===A.FRAG_LOADING){var n=this.fragCurrent;if(0===a.len&&n){var s=r.maxFragLookUpTolerance,u=n.start-s,d=n.start+n.duration+s;e<u||e>d?(n.loader&&(y.b.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),n.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=A.IDLE):y.b.log("seeking outside of buffer but within currently loaded fragment range")}}else this.state===A.ENDED&&(0===a.len&&(this.fragPrevious=0),this.state=A.IDLE);t&&(this.lastCurrentTime=e),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=e),this.tick()},e.prototype.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:void 0;Object(o.a)(e)&&y.b.log("media seeked to "+e.toFixed(3)),this.tick()},e.prototype.onMediaEnded=function(){y.b.log("media ended"),this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestLoading=function(){y.b.log("trigger BUFFER_RESET"),this.hls.trigger(d.a.BUFFER_RESET),this.fragmentTracker.removeAllFragments(),this.stalled=!1,this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestParsed=function(t){var e=!1,r=!1,i=void 0;t.levels.forEach(function(t){(i=t.audioCodec)&&(-1!==i.indexOf("mp4a.40.2")&&(e=!0),-1!==i.indexOf("mp4a.40.5")&&(r=!0))}),this.audioCodecSwitch=e&&r,this.audioCodecSwitch&&y.b.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1;var a=this.config;(a.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(a.startPosition)},e.prototype.onLevelLoaded=function(t){var e=t.details,r=t.level,i=this.levels[this.levelLastLoaded],a=this.levels[r],n=e.totalduration,s=0;if(y.b.log("level "+r+" loaded ["+e.startSN+","+e.endSN+"],duration:"+n),e.live){var l=a.details;l&&e.fragments.length>0?(p.b(l,e),s=e.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(s,l),e.PTSKnown&&Object(o.a)(s)?y.b.log("live playlist sliding:"+s.toFixed(3)):(y.b.log("live playlist - outdated PTS, unknown sliding"),Object(m.a)(this.fragPrevious,i,e))):(y.b.log("live playlist - first load, unknown sliding"),e.PTSKnown=!1,Object(m.a)(this.fragPrevious,i,e))}else e.PTSKnown=!1;if(a.details=e,this.levelLastLoaded=r,this.hls.trigger(d.a.LEVEL_UPDATED,{details:e,level:r}),!1===this.startFragRequested){if(-1===this.startPosition||-1===this.lastCurrentTime){var u=e.startTimeOffset;Object(o.a)(u)?(u<0&&(y.b.log("negative start time offset "+u+", count from end of last fragment"),u=s+n+u),y.b.log("start time offset found in playlist, adjust startPosition to "+u),this.startPosition=u):e.live?(this.startPosition=this.computeLivePosition(s,e),y.b.log("configure startPosition to "+this.startPosition)):this.startPosition=0,this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===A.WAITING_LEVEL&&(this.state=A.IDLE),this.tick()},e.prototype.onKeyLoaded=function(){this.state===A.KEY_LOADING&&(this.state=A.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,r=this.hls,i=this.levels,a=this.media,n=t.frag;if(this.state===A.FRAG_LOADING&&e&&"main"===n.type&&n.level===e.level&&n.sn===e.sn){var o=t.stats,s=i[e.level],l=s.details;if(this.bitrateTest=!1,this.stats=o,y.b.log("Loaded "+e.sn+" of ["+l.startSN+" ,"+l.endSN+"],level "+e.level),n.bitrateTest&&r.nextLoadLevel)this.state=A.IDLE,this.startFragRequested=!1,o.tparsed=o.tbuffered=window.performance.now(),r.trigger(d.a.FRAG_BUFFERED,{stats:o,frag:e,id:"main"}),this.tick();else if("initSegment"===n.sn)this.state=A.IDLE,o.tparsed=o.tbuffered=window.performance.now(),l.initSegment.data=t.payload,r.trigger(d.a.FRAG_BUFFERED,{stats:o,frag:e,id:"main"}),this.tick();else{y.b.log("Parsing "+e.sn+" of ["+l.startSN+" ,"+l.endSN+"],level "+e.level+", cc "+e.cc),this.state=A.PARSING,this.pendingBuffering=!0,this.appended=!1,n.bitrateTest&&(n.bitrateTest=!1,this.fragmentTracker.onFragLoaded({frag:n}));var c=!(a&&a.seeking)&&(l.PTSKnown||!l.live),h=l.initSegment?l.initSegment.data:[],f=this._getAudioCodec(s),p=this.demuxer=this.demuxer||new u.a(this.hls,"main");p.push(t.payload,h,f,s.videoCodec,e,l.totalduration,c)}}this.fragLoadError=0},e.prototype.onFragParsingInitSegment=function(t){var e=this.fragCurrent,r=t.frag;if(e&&"main"===t.id&&r.sn===e.sn&&r.level===e.level&&this.state===A.PARSING){var i=t.tracks,a=void 0,n=void 0;if(i.audio&&this.altAudio&&delete i.audio,n=i.audio){var o=this.levels[this.level].audioCodec,s=navigator.userAgent.toLowerCase();o&&this.audioCodecSwap&&(y.b.log("swapping playlist audio codec"),o=-1!==o.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==n.metadata.channelCount&&-1===s.indexOf("firefox")&&(o="mp4a.40.5"),-1!==s.indexOf("android")&&"audio/mpeg"!==n.container&&(o="mp4a.40.2",y.b.log("Android: force audio codec to "+o)),n.levelCodec=o,n.id=t.id}n=i.video,n&&(n.levelCodec=this.levels[this.level].videoCodec,n.id=t.id),this.hls.trigger(d.a.BUFFER_CODECS,i);for(a in i){n=i[a],y.b.log("main track:"+a+",container:"+n.container+",codecs[level/parsed]=["+n.levelCodec+"/"+n.codec+"]");var l=n.initSegment;l&&(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(d.a.BUFFER_APPENDING,{type:a,data:l,parent:"main",content:"initSegment"}))}this.tick()}},e.prototype.onFragParsingData=function(t){var e=this,r=this.fragCurrent,i=t.frag;if(r&&"main"===t.id&&i.sn===r.sn&&i.level===r.level&&("audio"!==t.type||!this.altAudio)&&this.state===A.PARSING){var a=this.levels[this.level],n=r;if(Object(o.a)(t.endPTS)||(t.endPTS=t.startPTS+r.duration,t.endDTS=t.startDTS+r.duration),!0===t.hasAudio&&n.addElementaryStream(h.a.ElementaryStreamTypes.AUDIO),!0===t.hasVideo&&n.addElementaryStream(h.a.ElementaryStreamTypes.VIDEO),y.b.log("Parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb+",dropped:"+(t.dropped||0)),"video"===t.type)if(n.dropped=t.dropped,n.dropped)if(n.backtracked)y.b.warn("Already backtracked on this fragment, appending with the gap",n.sn);else{var s=a.details;if(!s||n.sn!==s.startSN)return y.b.warn("missing video frame(s), backtracking fragment",n.sn),this.fragmentTracker.removeFragment(n),n.backtracked=!0,this.nextLoadPosition=t.startPTS,this.state=A.IDLE,this.fragPrevious=n,void this.tick();y.b.warn("missing video frame(s) on first frag, appending with gap",n.sn)}else n.backtracked=!1;var l=p.c(a.details,n,t.startPTS,t.endPTS,t.startDTS,t.endDTS),u=this.hls;u.trigger(d.a.LEVEL_PTS_UPDATED,{details:a.details,level:this.level,drift:l,type:t.type,start:t.startPTS,end:t.endPTS}),[t.data1,t.data2].forEach(function(r){r&&r.length&&e.state===A.PARSING&&(e.appended=!0,e.pendingBuffering=!0,u.trigger(d.a.BUFFER_APPENDING,{type:t.type,data:r,parent:"main",content:"data"}))}),this.tick()}},e.prototype.onFragParsed=function(t){var e=this.fragCurrent,r=t.frag;e&&"main"===t.id&&r.sn===e.sn&&r.level===e.level&&this.state===A.PARSING&&(this.stats.tparsed=window.performance.now(),this.state=A.PARSED,this._checkAppendedParsed())},e.prototype.onAudioTrackSwitching=function(t){var e=!!t.url,r=t.id;if(!e){if(this.mediaBuffer!==this.media){y.b.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var i=this.fragCurrent;i.loader&&(y.b.log("switching to main audio track, cancel main fragment load"),i.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=A.IDLE}var a=this.hls;a.trigger(d.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),a.trigger(d.a.AUDIO_TRACK_SWITCHED,{id:r}),this.altAudio=!1}},e.prototype.onAudioTrackSwitched=function(t){var e=t.id,r=!!this.hls.audioTracks[e].url;if(r){var i=this.videoBuffer;i&&this.mediaBuffer!==i&&(y.b.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=i)}this.altAudio=r,this.tick()},e.prototype.onBufferCreated=function(t){var e=t.tracks,r=void 0,i=void 0,a=!1;for(var n in e){var o=e[n];"main"===o.id?(i=n,r=o,"video"===n&&(this.videoBuffer=e[n].buffer)):a=!0}a&&r?(y.b.log("alternate track found, use "+i+".buffered to schedule main fragment loading"),this.mediaBuffer=r.buffer):this.mediaBuffer=this.media},e.prototype.onBufferAppended=function(t){if("main"===t.parent){var e=this.state;e!==A.PARSING&&e!==A.PARSED||(this.pendingBuffering=t.pending>0,this._checkAppendedParsed())}},e.prototype._checkAppendedParsed=function(){if(!(this.state!==A.PARSED||this.appended&&this.pendingBuffering)){var t=this.fragCurrent;if(t){var e=this.mediaBuffer?this.mediaBuffer:this.media;y.b.log("main buffered : "+g.a.toString(e.buffered)),this.fragPrevious=t;var r=this.stats;r.tbuffered=window.performance.now(),this.fragLastKbps=Math.round(8*r.total/(r.tbuffered-r.tfirst)),this.hls.trigger(d.a.FRAG_BUFFERED,{stats:r,frag:t,id:"main"}),this.state=A.IDLE}this.tick()}},e.prototype.onError=function(t){var e=t.frag||this.fragCurrent;if(!e||"main"===e.type){var r=!!this.media&&l.a.isBuffered(this.media,this.media.currentTime)&&l.a.isBuffered(this.media,this.media.currentTime+.5);switch(t.details){case v.a.FRAG_LOAD_ERROR:case v.a.FRAG_LOAD_TIMEOUT:case v.a.KEY_LOAD_ERROR:case v.a.KEY_LOAD_TIMEOUT:if(!t.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var i=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);y.b.warn("mediaController: frag loading failed, retry in "+i+" ms"),this.retryDate=window.performance.now()+i,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=A.FRAG_LOADING_WAITING_RETRY}else y.b.error("mediaController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=A.ERROR;break;case v.a.LEVEL_LOAD_ERROR:case v.a.LEVEL_LOAD_TIMEOUT:this.state!==A.ERROR&&(t.fatal?(this.state=A.ERROR,y.b.warn("streamController: "+t.details+",switch to "+this.state+" state ...")):t.levelRetry||this.state!==A.WAITING_LEVEL||(this.state=A.IDLE));break;case v.a.BUFFER_FULL_ERROR:"main"!==t.parent||this.state!==A.PARSING&&this.state!==A.PARSED||(r?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=A.IDLE):(y.b.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)))}}},e.prototype._reduceMaxBufferLength=function(t){var e=this.config;return e.maxMaxBufferLength>=t&&(e.maxMaxBufferLength/=2,y.b.warn("main:reduce max buffer length to "+e.maxMaxBufferLength+"s"),!0)},e.prototype._checkBuffer=function(){var t=this.media;if(t&&0!==t.readyState){var e=this.mediaBuffer?this.mediaBuffer:t,r=e.buffered;!this.loadedmetadata&&r.length?(this.loadedmetadata=!0,this._seekToStartPos()):this.immediateSwitch?this.immediateLevelSwitchEnd():this.gapController.poll(this.lastCurrentTime,r)}},e.prototype.onFragLoadEmergencyAborted=function(){this.state=A.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()},e.prototype.onBufferFlushed=function(){var t=this.mediaBuffer?this.mediaBuffer:this.media;t&&this.fragmentTracker.detectEvictedFragments(h.a.ElementaryStreamTypes.VIDEO,t.buffered),this.state=A.IDLE,this.fragPrevious=null},e.prototype.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},e.prototype.computeLivePosition=function(t,e){var r=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*e.targetduration;return t+Math.max(0,e.totalduration-r)},e.prototype._seekToStartPos=function(){var t=this.media,e=t.currentTime,r=t.seeking?e:this.startPosition;e!==r&&(y.b.log("target start position not buffered, seek to buffered.start(0) "+r+" from current time "+e+" "),t.currentTime=r)},e.prototype._getAudioCodec=function(t){var e=this.config.defaultAudioCodec||t.audioCodec;return this.audioCodecSwap&&(y.b.log("swapping playlist audio codec"),e&&(e=-1!==e.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5")),e},S(e,[{key:"state",set:function(t){if(this.state!==t){var e=this.state;this._state=t,y.b.log("main stream:"+e+"->"+t),this.hls.trigger(d.a.STREAM_STATE_TRANSITION,{previousState:e,nextState:t})}},get:function(){return this._state}},{key:"currentLevel",get:function(){var t=this.media;if(t){var e=this.getBufferedFrag(t.currentTime);if(e)return e.level}return-1}},{key:"nextBufferedFrag",get:function(){var t=this.media;return t?this.followingBufferedFrag(this.getBufferedFrag(t.currentTime)):null}},{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"liveSyncPosition",get:function(){return this._liveSyncPosition},set:function(t){this._liveSyncPosition=t}}]),e}(b.a);e.a=R},function(t,e,r){function i(t){function e(i){if(r[i])return r[i].exports;var a=r[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var r={};e.m=t,e.c=r,e.i=function(t){return t},e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e.oe=function(t){throw console.error(t),t};var i=e(e.s=ENTRY_MODULE);return i.default||i}function a(t){return(t+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function n(t,e,i){var n={};n[i]=[];var o=e.toString(),s=o.match(/^function\s?\(\w+,\s*\w+,\s*(\w+)\)/);if(!s)return n;for(var d,c=s[1],h=new RegExp("(\\\\n|\\W)"+a(c)+u,"g");d=h.exec(o);)"dll-reference"!==d[3]&&n[i].push(d[3]);for(h=new RegExp("\\("+a(c)+'\\("(dll-reference\\s('+l+'))"\\)\\)'+u,"g");d=h.exec(o);)t[d[2]]||(n[i].push(d[1]),t[d[2]]=r(d[1]).m),n[d[2]]=n[d[2]]||[],n[d[2]].push(d[4]);return n}function o(t){return Object.keys(t).reduce(function(e,r){return e||t[r].length>0},!1)}function s(t,e){for(var r={main:[e]},i={main:[]},a={main:{}};o(r);)for(var s=Object.keys(r),l=0;l<s.length;l++){var u=s[l],d=r[u],c=d.pop();if(a[u]=a[u]||{},!a[u][c]&&t[u][c]){a[u][c]=!0,i[u]=i[u]||[],i[u].push(c);for(var h=n(t,t[u][c],u),f=Object.keys(h),p=0;p<f.length;p++)r[f[p]]=r[f[p]]||[],r[f[p]]=r[f[p]].concat(h[f[p]])}}return i}var l="[\\.|\\-|\\+|\\w|/|@]+",u="\\((/\\*.*?\\*/)?s?.*?("+l+").*?\\)";t.exports=function(t,e){e=e||{};var a={main:r.m},n=e.all?{main:Object.keys(a)}:s(a,t),o="";Object.keys(n).filter(function(t){return"main"!==t}).forEach(function(t){for(var e=0;n[t][e];)e++;n[t].push(e),a[t][e]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",o=o+"var "+t+" = ("+i.toString().replace("ENTRY_MODULE",JSON.stringify(e))+")({"+n[t].map(function(e){return JSON.stringify(e)+": "+a[t][e].toString()}).join(",")+"});\n"}),o=o+"("+i.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+n.main.map(function(t){return JSON.stringify(t)+": "+a.main[t].toString()}).join(",")+"})(self);";var l=new window.Blob([o],{type:"text/javascript"});if(e.bare)return l;var u=window.URL||window.webkitURL||window.mozURL||window.msURL,d=u.createObjectURL(l),c=new window.Worker(d);return c.objectURL=d,c}},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,r){i(this,t),this.subtle=e,this.aesIV=r}return t.prototype.decrypt=function(t,e){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},e,t)},t}();e.a=a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,r){i(this,t),this.subtle=e,this.key=r}return t.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},t}();e.a=a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t){var e=t.byteLength,r=e&&new DataView(t).getUint8(e-1);return r?t.slice(0,e-r):t}var n=function(){function t(){i(this,t),this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return t.prototype.uint8ArrayToUint32Array_=function(t){for(var e=new DataView(t),r=new Uint32Array(4),i=0;i<4;i++)r[i]=e.getUint32(4*i);return r},t.prototype.initTable=function(){var t=this.sBox,e=this.invSBox,r=this.subMix,i=r[0],a=r[1],n=r[2],o=r[3],s=this.invSubMix,l=s[0],u=s[1],d=s[2],c=s[3],h=new Uint32Array(256),f=0,p=0,g=0;for(g=0;g<256;g++)h[g]=g<128?g<<1:g<<1^283;for(g=0;g<256;g++){var v=p^p<<1^p<<2^p<<3^p<<4;v=v>>>8^255&v^99,t[f]=v,e[v]=f;var y=h[f],m=h[y],b=h[m],E=257*h[v]^16843008*v;i[f]=E<<24|E>>>8,a[f]=E<<16|E>>>16,n[f]=E<<8|E>>>24,o[f]=E,E=16843009*b^65537*m^257*y^16843008*f,l[v]=E<<24|E>>>8,u[v]=E<<16|E>>>16,d[v]=E<<8|E>>>24,c[v]=E,f?(f=y^h[h[h[b^y]]],p^=h[h[p]]):f=p=1}},t.prototype.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),r=!0,i=0;i<e.length&&r;)r=e[i]===this.key[i],i++;if(!r){this.key=e;var a=this.keySize=e.length;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size="+a);var n=this.ksRows=4*(a+6+1),o=void 0,s=void 0,l=this.keySchedule=new Uint32Array(n),u=this.invKeySchedule=new Uint32Array(n),d=this.sBox,c=this.rcon,h=this.invSubMix,f=h[0],p=h[1],g=h[2],v=h[3],y=void 0,m=void 0;for(o=0;o<n;o++)o<a?y=l[o]=e[o]:(m=y,o%a==0?(m=m<<8|m>>>24,m=d[m>>>24]<<24|d[m>>>16&255]<<16|d[m>>>8&255]<<8|d[255&m],m^=c[o/a|0]<<24):a>6&&o%a==4&&(m=d[m>>>24]<<24|d[m>>>16&255]<<16|d[m>>>8&255]<<8|d[255&m]),l[o]=y=(l[o-a]^m)>>>0);for(s=0;s<n;s++)o=n-s,m=3&s?l[o]:l[o-4],u[s]=s<4||o<=4?m:f[d[m>>>24]]^p[d[m>>>16&255]]^g[d[m>>>8&255]]^v[d[255&m]],u[s]=u[s]>>>0}},t.prototype.networkToHostOrderSwap=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},t.prototype.decrypt=function(t,e,r,i){for(var n=this.keySize+6,o=this.invKeySchedule,s=this.invSBox,l=this.invSubMix,u=l[0],d=l[1],c=l[2],h=l[3],f=this.uint8ArrayToUint32Array_(r),p=f[0],g=f[1],v=f[2],y=f[3],m=new Int32Array(t),b=new Int32Array(m.length),E=void 0,T=void 0,S=void 0,A=void 0,R=void 0,_=void 0,w=void 0,L=void 0,D=void 0,I=void 0,k=void 0,O=void 0,C=void 0,P=void 0,x=this.networkToHostOrderSwap;e<m.length;){for(D=x(m[e]),I=x(m[e+1]),k=x(m[e+2]),O=x(m[e+3]),R=D^o[0],_=O^o[1],w=k^o[2],L=I^o[3],C=4,P=1;P<n;P++)E=u[R>>>24]^d[_>>16&255]^c[w>>8&255]^h[255&L]^o[C],T=u[_>>>24]^d[w>>16&255]^c[L>>8&255]^h[255&R]^o[C+1],S=u[w>>>24]^d[L>>16&255]^c[R>>8&255]^h[255&_]^o[C+2],A=u[L>>>24]^d[R>>16&255]^c[_>>8&255]^h[255&w]^o[C+3],R=E,_=T,w=S,L=A,C+=4;E=s[R>>>24]<<24^s[_>>16&255]<<16^s[w>>8&255]<<8^s[255&L]^o[C],T=s[_>>>24]<<24^s[w>>16&255]<<16^s[L>>8&255]<<8^s[255&R]^o[C+1],S=s[w>>>24]<<24^s[L>>16&255]<<16^s[R>>8&255]<<8^s[255&_]^o[C+2],A=s[L>>>24]<<24^s[R>>16&255]<<16^s[_>>8&255]<<8^s[255&w]^o[C+3],C+=3,b[e]=x(E^p),b[e+1]=x(A^g),b[e+2]=x(S^v),b[e+3]=x(T^y),p=D,g=I,v=k,y=O,e+=4}return i?a(b.buffer):b.buffer},t.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},t}();e.a=n},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(3),n=r(23),o=r(0),s=r(9),l=function(){function t(e,r,a){i(this,t),this.observer=e,this.config=a,this.remuxer=r}return t.prototype.resetInitSegment=function(t,e,r,i){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:e,duration:i,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){if(!t)return!1;for(var e=s.a.getID3Data(t,0)||[],r=e.length,i=t.length;r<i;r++)if(n.e(t,r))return o.b.log("ADTS sync word found !"),!0;return!1},t.prototype.append=function(t,e,r,i){for(var l=this._audioTrack,u=s.a.getID3Data(t,0)||[],d=s.a.getTimeStamp(u),c=Object(a.a)(d)?90*d:9e4*e,h=0,f=c,p=t.length,g=u.length,v=[{pts:f,dts:f,data:u}];g<p-1;)if(n.d(t,g)&&g+5<p){n.c(l,this.observer,t,g,l.manifestCodec);var y=n.a(l,t,g,c,h);if(!y){o.b.log("Unable to parse AAC frame");break}g+=y.length,f=y.sample.pts,h++}else s.a.isHeader(t,g)?(u=s.a.getID3Data(t,g),v.push({pts:f,dts:f,data:u}),g+=u.length):g++;this.remuxer.remux(l,{samples:[]},{samples:v,inputTimeScale:9e4},{samples:[]},e,r,i)},t.prototype.destroy=function(){},t}();e.a=l},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(23),n=r(24),o=r(1),s=r(42),l=r(43),u=r(0),d=r(2),c={video:1,audio:2,id3:3,text:4},h=function(){function t(e,r,a,n){i(this,t),this.observer=e,this.config=a,this.typeSupported=n,this.remuxer=r,this.sampleAes=null}return t.prototype.setDecryptData=function(t){null!=t&&null!=t.key&&"SAMPLE-AES"===t.method?this.sampleAes=new l.a(this.observer,this.config,t,this.discardEPB):this.sampleAes=null},t.probe=function(e){var r=t._syncOffset(e);return!(r<0)&&(r&&u.b.warn("MPEG2-TS detected but first sync word found @ offset "+r+", junk ahead ?"),!0)},t._syncOffset=function(t){for(var e=Math.min(1e3,t.length-564),r=0;r<e;){if(71===t[r]&&71===t[r+188]&&71===t[r+376])return r;r++}return-1},t.createTrack=function(t,e){return{container:"video"===t||"audio"===t?"video/mp2t":void 0,type:t,id:c[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===t?0:void 0,isAAC:"audio"===t||void 0,duration:"audio"===t?e:void 0}},t.prototype.resetInitSegment=function(e,r,i,a){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=t.createTrack("video",a),this._audioTrack=t.createTrack("audio",a),this._id3Track=t.createTrack("id3",a),this._txtTrack=t.createTrack("text",a),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=r,this.videoCodec=i,this._duration=a},t.prototype.resetTimeStamp=function(){},t.prototype.append=function(e,r,i,a){var n=void 0,s=e.length,l=void 0,c=void 0,h=void 0,f=void 0,p=!1;this.contiguous=i;var g=this.pmtParsed,v=this._avcTrack,y=this._audioTrack,m=this._id3Track,b=v.pid,E=y.pid,T=m.pid,S=this._pmtId,A=v.pesData,R=y.pesData,_=m.pesData,w=this._parsePAT,L=this._parsePMT,D=this._parsePES,I=this._parseAVCPES.bind(this),k=this._parseAACPES.bind(this),O=this._parseMPEGPES.bind(this),C=this._parseID3PES.bind(this),P=t._syncOffset(e);for(s-=(s+P)%188,n=P;n<s;n+=188)if(71===e[n]){if(l=!!(64&e[n+1]),c=((31&e[n+1])<<8)+e[n+2],(48&e[n+3])>>4>1){if((h=n+5+e[n+4])===n+188)continue}else h=n+4;switch(c){case b:l&&(A&&(f=D(A))&&void 0!==f.pts&&I(f,!1),A={data:[],size:0}),A&&(A.data.push(e.subarray(h,n+188)),A.size+=n+188-h);break;case E:l&&(R&&(f=D(R))&&void 0!==f.pts&&(y.isAAC?k(f):O(f)),R={data:[],size:0}),R&&(R.data.push(e.subarray(h,n+188)),R.size+=n+188-h);break;case T:l&&(_&&(f=D(_))&&void 0!==f.pts&&C(f),_={data:[],size:0}),_&&(_.data.push(e.subarray(h,n+188)),_.size+=n+188-h);break;case 0:l&&(h+=e[h]+1),S=this._pmtId=w(e,h);break;case S:l&&(h+=e[h]+1);var x=L(e,h,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);b=x.avc,b>0&&(v.pid=b),E=x.audio,E>0&&(y.pid=E,y.isAAC=x.isAAC),T=x.id3,T>0&&(m.pid=T),p&&!g&&(u.b.log("reparse from beginning"),p=!1,n=P-188),g=this.pmtParsed=!0;break;case 17:case 8191:break;default:p=!0}}else this.observer.trigger(o.a.ERROR,{type:d.b.MEDIA_ERROR,details:d.a.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});A&&(f=D(A))&&void 0!==f.pts?(I(f,!0),v.pesData=null):v.pesData=A,R&&(f=D(R))&&void 0!==f.pts?(y.isAAC?k(f):O(f),y.pesData=null):(R&&R.size&&u.b.log("last AAC PES packet truncated,might overlap between fragments"),y.pesData=R),_&&(f=D(_))&&void 0!==f.pts?(C(f),m.pesData=null):m.pesData=_,null==this.sampleAes?this.remuxer.remux(y,v,m,this._txtTrack,r,i,a):this.decryptAndRemux(y,v,m,this._txtTrack,r,i,a)},t.prototype.decryptAndRemux=function(t,e,r,i,a,n,o){if(t.samples&&t.isAAC){var s=this;this.sampleAes.decryptAacSamples(t.samples,0,function(){s.decryptAndRemuxAvc(t,e,r,i,a,n,o)})}else this.decryptAndRemuxAvc(t,e,r,i,a,n,o)},t.prototype.decryptAndRemuxAvc=function(t,e,r,i,a,n,o){if(e.samples){var s=this;this.sampleAes.decryptAvcSamples(e.samples,0,0,function(){s.remuxer.remux(t,e,r,i,a,n,o)})}else this.remuxer.remux(t,e,r,i,a,n,o)},t.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},t.prototype._parsePAT=function(t,e){return(31&t[e+10])<<8|t[e+11]},t.prototype._parsePMT=function(t,e,r,i){var a=void 0,n=void 0,o=void 0,s=void 0,l={audio:-1,avc:-1,id3:-1,isAAC:!0};for(a=(15&t[e+1])<<8|t[e+2],n=e+3+a-4,o=(15&t[e+10])<<8|t[e+11],e+=12+o;e<n;){switch(s=(31&t[e+1])<<8|t[e+2],t[e]){case 207:if(!i){u.b.log("unkown stream type:"+t[e]);break}case 15:-1===l.audio&&(l.audio=s);break;case 21:-1===l.id3&&(l.id3=s);break;case 219:if(!i){u.b.log("unkown stream type:"+t[e]);break}case 27:-1===l.avc&&(l.avc=s);break;case 3:case 4:r?-1===l.audio&&(l.audio=s,l.isAAC=!1):u.b.log("MPEG audio found, not supported in this browser for now");break;case 36:u.b.warn("HEVC stream type found, not supported for now");break;default:u.b.log("unkown stream type:"+t[e])}e+=5+((15&t[e+3])<<8|t[e+4])}return l},t.prototype._parsePES=function(t){var e=0,r=void 0,i=void 0,a=void 0,n=void 0,o=void 0,s=void 0,l=void 0,d=void 0,c=t.data;if(!t||0===t.size)return null;for(;c[0].length<19&&c.length>1;){var h=new Uint8Array(c[0].length+c[1].length);h.set(c[0]),h.set(c[1],c[0].length),c[0]=h,c.splice(1,1)}if(r=c[0],1===(r[0]<<16)+(r[1]<<8)+r[2]){if((a=(r[4]<<8)+r[5])&&a>t.size-6)return null;i=r[7],192&i&&(s=536870912*(14&r[9])+4194304*(255&r[10])+16384*(254&r[11])+128*(255&r[12])+(254&r[13])/2,s>4294967295&&(s-=8589934592),64&i?(l=536870912*(14&r[14])+4194304*(255&r[15])+16384*(254&r[16])+128*(255&r[17])+(254&r[18])/2,l>4294967295&&(l-=8589934592),s-l>54e5&&(u.b.warn(Math.round((s-l)/9e4)+"s delta between PTS and DTS, align them"),s=l)):l=s),n=r[8],d=n+9,t.size-=d,o=new Uint8Array(t.size);for(var f=0,p=c.length;f<p;f++){r=c[f];var g=r.byteLength;if(d){if(d>g){d-=g;continue}r=r.subarray(d),g-=d,d=0}o.set(r,e),e+=g}return a&&(a-=n+3),{data:o,pts:s,dts:l,len:a}}return null},t.prototype.pushAccesUnit=function(t,e){if(t.units.length&&t.frame){var r=e.samples,i=r.length;!this.config.forceKeyFrameOnDiscontinuity||!0===t.key||e.sps&&(i||this.contiguous)?(t.id=i,r.push(t)):e.dropped++}t.debug.length&&u.b.log(t.pts+"/"+t.dts+":"+t.debug)},t.prototype._parseAVCPES=function(t,e){var r=this,i=this._avcTrack,a=this._parseAVCNALu(t.data),n=void 0,o=this.avcSample,l=void 0,u=!1,d=void 0,c=this.pushAccesUnit.bind(this),h=function(t,e,r,i){return{key:t,pts:e,dts:r,units:[],debug:i}};t.data=null,o&&a.length&&!i.audFound&&(c(o,i),o=this.avcSample=h(!1,t.pts,t.dts,"")),a.forEach(function(e){switch(e.type){case 1:l=!0,o||(o=r.avcSample=h(!0,t.pts,t.dts,"")),o.frame=!0;var a=e.data;if(u&&a.length>4){var f=new s.a(a).readSliceType();2!==f&&4!==f&&7!==f&&9!==f||(o.key=!0)}break;case 5:l=!0,o||(o=r.avcSample=h(!0,t.pts,t.dts,"")),o.key=!0,o.frame=!0;break;case 6:l=!0,n=new s.a(r.discardEPB(e.data)),n.readUByte();for(var p=0,g=0,v=!1,y=0;!v&&n.bytesAvailable>1;){p=0;do{y=n.readUByte(),p+=y}while(255===y);g=0;do{y=n.readUByte(),g+=y}while(255===y);if(4===p&&0!==n.bytesAvailable){v=!0;if(181===n.readUByte()){if(49===n.readUShort()){if(1195456820===n.readUInt()){if(3===n.readUByte()){var m=n.readUByte(),b=n.readUByte(),E=31&m,T=[m,b];for(d=0;d<E;d++)T.push(n.readUByte()),T.push(n.readUByte()),T.push(n.readUByte());r._insertSampleInOrder(r._txtTrack.samples,{type:3,pts:t.pts,bytes:T})}}}}}else if(g<n.bytesAvailable)for(d=0;d<g;d++)n.readUByte()}break;case 7:if(l=!0,u=!0,!i.sps){n=new s.a(e.data);var S=n.readSPS();i.width=S.width,i.height=S.height,i.pixelRatio=S.pixelRatio,i.sps=[e.data],i.duration=r._duration;var A=e.data.subarray(1,4),R="avc1.";for(d=0;d<3;d++){var _=A[d].toString(16);_.length<2&&(_="0"+_),R+=_}i.codec=R}break;case 8:l=!0,i.pps||(i.pps=[e.data]);break;case 9:l=!1,i.audFound=!0,o&&c(o,i),o=r.avcSample=h(!1,t.pts,t.dts,"");break;case 12:l=!1;break;default:l=!1,o&&(o.debug+="unknown NAL "+e.type+" ")}if(o&&l){o.units.push(e)}}),e&&o&&(c(o,i),this.avcSample=null)},t.prototype._insertSampleInOrder=function(t,e){var r=t.length;if(r>0){if(e.pts>=t[r-1].pts)t.push(e);else for(var i=r-1;i>=0;i--)if(e.pts<t[i].pts){t.splice(i,0,e);break}}else t.push(e)},t.prototype._getLastNalUnit=function(){var t=this.avcSample,e=void 0;if(!t||0===t.units.length){var r=this._avcTrack,i=r.samples;t=i[i.length-1]}if(t){var a=t.units;e=a[a.length-1]}return e},t.prototype._parseAVCNALu=function(t){var e=0,r=t.byteLength,i=void 0,a=void 0,n=this._avcTrack,o=n.naluState||0,s=o,l=[],u=void 0,d=void 0,c=-1,h=void 0;for(-1===o&&(c=0,h=31&t[0],o=0,e=1);e<r;)if(i=t[e++],o)if(1!==o)if(i)if(1===i){if(c>=0)u={data:t.subarray(c,e-o-1),type:h},l.push(u);else{var f=this._getLastNalUnit();if(f&&(s&&e<=4-s&&f.state&&(f.data=f.data.subarray(0,f.data.byteLength-s)),(a=e-o-1)>0)){var p=new Uint8Array(f.data.byteLength+a);p.set(f.data,0),p.set(t.subarray(0,a),f.data.byteLength),f.data=p}}e<r?(d=31&t[e],c=e,h=d,o=0):o=-1}else o=0;else o=3;else o=i?0:2;else o=i?0:1;if(c>=0&&o>=0&&(u={data:t.subarray(c,r),type:h,state:o},l.push(u)),0===l.length){var g=this._getLastNalUnit();if(g){var v=new Uint8Array(g.data.byteLength+t.byteLength);v.set(g.data,0),v.set(t,g.data.byteLength),g.data=v}}return n.naluState=o,l},t.prototype.discardEPB=function(t){for(var e=t.byteLength,r=[],i=1,a=void 0,n=void 0;i<e-2;)0===t[i]&&0===t[i+1]&&3===t[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return t;a=e-r.length,n=new Uint8Array(a);var o=0;for(i=0;i<a;o++,i++)o===r[0]&&(o++,r.shift()),n[i]=t[o];return n},t.prototype._parseAACPES=function(t){var e=this._audioTrack,r=t.data,i=t.pts,n=this.aacOverFlow,s=this.aacLastPTS,l=void 0,c=void 0,h=void 0,f=void 0,p=void 0;if(n){var g=new Uint8Array(n.byteLength+r.byteLength);g.set(n,0),g.set(r,n.byteLength),r=g}for(h=0,p=r.length;h<p-1&&!a.d(r,h);h++);if(h){var v=void 0,y=void 0;if(h<p-1?(v="AAC PES did not start with ADTS header,offset:"+h,y=!1):(v="no ADTS header found in AAC PES",y=!0),u.b.warn("parsing error:"+v),this.observer.trigger(o.a.ERROR,{type:d.b.MEDIA_ERROR,details:d.a.FRAG_PARSING_ERROR,fatal:y,reason:v}),y)return}if(a.c(e,this.observer,r,h,this.audioCodec),c=0,l=a.b(e.samplerate),n&&s){var m=s+l;Math.abs(m-i)>1&&(u.b.log("AAC: align PTS for overlapping frames by "+Math.round((m-i)/90)),i=m)}for(;h<p;)if(a.d(r,h)&&h+5<p){var b=a.a(e,r,h,i,c);if(!b)break;h+=b.length,f=b.sample.pts,c++}else h++;n=h<p?r.subarray(h,p):null,this.aacOverFlow=n,this.aacLastPTS=f},t.prototype._parseMPEGPES=function(t){for(var e=t.data,r=e.length,i=0,a=0,o=t.pts;a<r;)if(n.a.isHeader(e,a)){var s=n.a.appendFrame(this._audioTrack,e,a,o,i);if(!s)break;a+=s.length,i++}else a++},t.prototype._parseID3PES=function(t){this._id3Track.samples.push(t)},t}();e.a=h},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(0),n=function(){function t(e){i(this,t),this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}return t.prototype.loadWord=function(){var t=this.data,e=this.bytesAvailable,r=t.byteLength-e,i=new Uint8Array(4),a=Math.min(4,e);if(0===a)throw new Error("no bytes available");i.set(t.subarray(r,r+a)),this.word=new DataView(i.buffer).getUint32(0),this.bitsAvailable=8*a,this.bytesAvailable-=a},t.prototype.skipBits=function(t){var e=void 0;this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,e=t>>3,t-=e>>3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},t.prototype.readBits=function(t){var e=Math.min(this.bitsAvailable,t),r=this.word>>>32-e;return t>32&&a.b.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0?this.word<<=e:this.bytesAvailable>0&&this.loadWord(),e=t-e,e>0&&this.bitsAvailable?r<<e|this.readBits(e):r},t.prototype.skipLZ=function(){var t=void 0;for(t=0;t<this.bitsAvailable;++t)if(0!=(this.word&2147483648>>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},t.prototype.skipUEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.skipEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},t.prototype.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},t.prototype.readBoolean=function(){return 1===this.readBits(1)},t.prototype.readUByte=function(){return this.readBits(8)},t.prototype.readUShort=function(){return this.readBits(16)},t.prototype.readUInt=function(){return this.readBits(32)},t.prototype.skipScalingList=function(t){var e=8,r=8,i=void 0,a=void 0;for(i=0;i<t;i++)0!==r&&(a=this.readEG(),r=(e+a+256)%256),e=0===r?e:r},t.prototype.readSPS=function(){var t=0,e=0,r=0,i=0,a=void 0,n=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=void 0,c=this.readUByte.bind(this),h=this.readBits.bind(this),f=this.readUEG.bind(this),p=this.readBoolean.bind(this),g=this.skipBits.bind(this),v=this.skipEG.bind(this),y=this.skipUEG.bind(this),m=this.skipScalingList.bind(this);if(c(),a=c(),h(5),g(3),c(),y(),100===a||110===a||122===a||244===a||44===a||83===a||86===a||118===a||128===a){var b=f();if(3===b&&g(1),y(),y(),g(1),p())for(u=3!==b?8:12,d=0;d<u;d++)p()&&m(d<6?16:64)}y();var E=f();if(0===E)f();else if(1===E)for(g(1),v(),v(),n=f(),d=0;d<n;d++)v();y(),g(1),o=f(),s=f(),l=h(1),0===l&&g(1),g(1),p()&&(t=f(),e=f(),r=f(),i=f());var T=[1,1];if(p()&&p()){switch(c()){case 1:T=[1,1];break;case 2:T=[12,11];break;case 3:T=[10,11];break;case 4:T=[16,11];break;case 5:T=[40,33];break;case 6:T=[24,11];break;case 7:T=[20,11];break;case 8:T=[32,11];break;case 9:T=[80,33];break;case 10:T=[18,11];break;case 11:T=[15,11];break;case 12:T=[64,33];break;case 13:T=[160,99];break;case 14:T=[4,3];break;case 15:T=[3,2];break;case 16:T=[2,1];break;case 255:T=[c()<<8|c(),c()<<8|c()]}}return{width:Math.ceil(16*(o+1)-2*t-2*e),height:(2-l)*(s+1)*16-(l?2:4)*(r+i),pixelRatio:T}},t.prototype.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},t}();e.a=n},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(14),n=function(){function t(e,r,n,o){i(this,t),this.decryptdata=n,this.discardEPB=o,this.decrypter=new a.a(e,r,{removePKCS7Padding:!1})}return t.prototype.decryptBuffer=function(t,e){this.decrypter.decrypt(t,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,e)},t.prototype.decryptAacSample=function(t,e,r,i){var a=t[e].unit,n=a.subarray(16,a.length-a.length%16),o=n.buffer.slice(n.byteOffset,n.byteOffset+n.length),s=this;this.decryptBuffer(o,function(n){n=new Uint8Array(n),a.set(n,16),i||s.decryptAacSamples(t,e+1,r)})},t.prototype.decryptAacSamples=function(t,e,r){for(;;e++){if(e>=t.length)return void r();if(!(t[e].unit.length<32)){var i=this.decrypter.isSync();if(this.decryptAacSample(t,e,r,i),!i)return}}},t.prototype.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,r=new Int8Array(e),i=0,a=32;a<=t.length-16;a+=160,i+=16)r.set(t.subarray(a,a+16),i);return r},t.prototype.getAvcDecryptedUnit=function(t,e){e=new Uint8Array(e);for(var r=0,i=32;i<=t.length-16;i+=160,r+=16)t.set(e.subarray(r,r+16),i);return t},t.prototype.decryptAvcSample=function(t,e,r,i,a,n){var o=this.discardEPB(a.data),s=this.getAvcEncryptedData(o),l=this;this.decryptBuffer(s.buffer,function(s){a.data=l.getAvcDecryptedUnit(o,s),n||l.decryptAvcSamples(t,e,r+1,i)})},t.prototype.decryptAvcSamples=function(t,e,r,i){for(;;e++,r=0){if(e>=t.length)return void i();for(var a=t[e].units;!(r>=a.length);r++){var n=a[r];if(!(n.length<=48||1!==n.type&&5!==n.type)){var o=this.decrypter.isSync();if(this.decryptAvcSample(t,e,r,i,n,o),!o)return}}}},t}();e.a=n},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(9),n=r(0),o=r(24),s=function(){function t(e,r,a){i(this,t),this.observer=e,this.config=a,this.remuxer=r}return t.prototype.resetInitSegment=function(t,e,r,i){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:e,duration:i,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){var e=void 0,r=void 0,i=a.a.getID3Data(t,0);if(i&&void 0!==a.a.getTimeStamp(i))for(e=i.length,r=Math.min(t.length-1,e+100);e<r;e++)if(o.a.probe(t,e))return n.b.log("MPEG Audio sync word found !"),!0;return!1},t.prototype.append=function(t,e,r,i){for(var n=a.a.getID3Data(t,0),s=a.a.getTimeStamp(n),l=s?90*s:9e4*e,u=n.length,d=t.length,c=0,h=0,f=this._audioTrack,p=[{pts:l,dts:l,data:n}];u<d;)if(o.a.isHeader(t,u)){var g=o.a.appendFrame(f,t,u,l,c);if(!g)break;u+=g.length,h=g.sample.pts,c++}else a.a.isHeader(t,u)?(n=a.a.getID3Data(t,u),p.push({pts:h,dts:h,data:n}),u+=n.length):u++;this.remuxer.remux(f,{samples:[]},{samples:p,inputTimeScale:9e4},{samples:[]},e,r,i)},t.prototype.destroy=function(){},t}();e.a=s},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(46),n=r(47),o=r(1),s=r(2),l=r(0),u=function(){function t(e,r,a,n){i(this,t),this.observer=e,this.config=r,this.typeSupported=a;var o=navigator.userAgent;this.isSafari=n&&n.indexOf("Apple")>-1&&o&&!o.match("CriOS"),this.ISGenerated=!1}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(t){this._initPTS=this._initDTS=t},t.prototype.resetInitSegment=function(){this.ISGenerated=!1},t.prototype.remux=function(t,e,r,i,a,n,s){if(this.ISGenerated||this.generateIS(t,e,a),this.ISGenerated){var u=t.samples.length,d=e.samples.length,c=a,h=a;if(u&&d){var f=(t.samples[0].dts-e.samples[0].dts)/e.inputTimeScale;c+=Math.max(0,f),h+=Math.max(0,-f)}if(u){t.timescale||(l.b.warn("regenerate InitSegment as audio detected"),this.generateIS(t,e,a));var p=this.remuxAudio(t,c,n,s);if(d){var g=void 0;p&&(g=p.endPTS-p.startPTS),e.timescale||(l.b.warn("regenerate InitSegment as video detected"),this.generateIS(t,e,a)),this.remuxVideo(e,h,n,g,s)}}else if(d){var v=this.remuxVideo(e,h,n,0,s);v&&t.codec&&this.remuxEmptyAudio(t,c,n,v)}}r.samples.length&&this.remuxID3(r,a),i.samples.length&&this.remuxText(i,a),this.observer.trigger(o.a.FRAG_PARSED)},t.prototype.generateIS=function(t,e,r){var i=this.observer,a=t.samples,u=e.samples,d=this.typeSupported,c="audio/mp4",h={},f={tracks:h},p=void 0===this._initPTS,g=void 0,v=void 0;if(p&&(g=v=1/0),t.config&&a.length&&(t.timescale=t.samplerate,l.b.log("audio sampling rate : "+t.samplerate),t.isAAC||(d.mpeg?(c="audio/mpeg",t.codec=""):d.mp3&&(t.codec="mp3")),h.audio={container:c,codec:t.codec,initSegment:!t.isAAC&&d.mpeg?new Uint8Array:n.a.initSegment([t]),metadata:{channelCount:t.channelCount}},p&&(g=v=a[0].pts-t.inputTimeScale*r)),e.sps&&e.pps&&u.length){var y=e.inputTimeScale;e.timescale=y,h.video={container:"video/mp4",codec:e.codec,initSegment:n.a.initSegment([e]),metadata:{width:e.width,height:e.height}},p&&(g=Math.min(g,u[0].pts-y*r),v=Math.min(v,u[0].dts-y*r),this.observer.trigger(o.a.INIT_PTS_FOUND,{initPTS:g}))}Object.keys(h).length?(i.trigger(o.a.FRAG_PARSING_INIT_SEGMENT,f),this.ISGenerated=!0,p&&(this._initPTS=g,this._initDTS=v)):i.trigger(o.a.ERROR,{type:s.b.MEDIA_ERROR,details:s.a.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},t.prototype.remuxVideo=function(t,e,r,i,a){var u=8,d=t.timescale,c=void 0,h=void 0,f=void 0,p=void 0,g=void 0,v=void 0,y=void 0,m=t.samples,b=[],E=m.length,T=this._PTSNormalize,S=this._initDTS,A=this.nextAvcDts,R=this.isSafari;if(0!==E){R&&(r|=m.length&&A&&(a&&Math.abs(e-A/d)<.1||Math.abs(m[0].pts-A-S)<d/5)),r||(A=e*d),m.forEach(function(t){t.pts=T(t.pts-S,A),t.dts=T(t.dts-S,A)}),m.sort(function(t,e){var r=t.dts-e.dts,i=t.pts-e.pts;return r||i||t.id-e.id});var _=m.reduce(function(t,e){return Math.max(Math.min(t,e.pts-e.dts),-18e3)},0);if(_<0){l.b.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(_/90)+" ms to overcome this issue");for(var w=0;w<m.length;w++)m[w].dts+=_}var L=m[0];g=Math.max(L.dts,0),p=Math.max(L.pts,0);var D=Math.round((g-A)/90);r&&D&&(D>1?l.b.log("AVC:"+D+" ms hole between fragments detected,filling it"):D<-1&&l.b.log("AVC:"+-D+" ms overlapping between fragments detected"),g=A,m[0].dts=g,p=Math.max(p-D,A),m[0].pts=p,l.b.log("Video/PTS/DTS adjusted: "+Math.round(p/90)+"/"+Math.round(g/90)+",delta:"+D+" ms")),g,L=m[m.length-1],y=Math.max(L.dts,0),v=Math.max(L.pts,0,y),R&&(c=Math.round((y-g)/(m.length-1)));for(var I=0,k=0,O=0;O<E;O++){for(var C=m[O],P=C.units,x=P.length,F=0,M=0;M<x;M++)F+=P[M].data.length;k+=F,I+=x,C.length=F,C.dts=R?g+O*c:Math.max(C.dts,g),C.pts=Math.max(C.pts,C.dts)}var N=k+4*I+8;try{h=new Uint8Array(N)}catch(t){return void this.observer.trigger(o.a.ERROR,{type:s.b.MUX_ERROR,details:s.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:N,reason:"fail allocating video mdat "+N})}var U=new DataView(h.buffer);U.setUint32(0,N),h.set(n.a.types.mdat,4);for(var B=0;B<E;B++){for(var G=m[B],K=G.units,j=0,H=void 0,V=0,Y=K.length;V<Y;V++){var W=K[V],q=W.data,X=W.data.byteLength;U.setUint32(u,X),u+=4,h.set(q,u),u+=X,j+=4+X}if(R)H=Math.max(0,c*Math.round((G.pts-G.dts)/c));else{if(B<E-1)c=m[B+1].dts-G.dts;else{var z=this.config,Q=G.dts-m[B>0?B-1:B].dts;if(z.stretchShortVideoTrack){var $=z.maxBufferHole,J=Math.floor($*d),Z=(i?p+i*d:this.nextAudioPts)-G.pts;Z>J?(c=Z-Q,c<0&&(c=Q),l.b.log("It is approximately "+Z/90+" ms to the next segment; using duration "+c/90+" ms for the last video frame.")):c=Q}else c=Q}H=Math.round(G.pts-G.dts)}b.push({size:j,duration:c,cts:H,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:G.key?2:1,isNonSync:G.key?0:1}})}this.nextAvcDts=y+c;var tt=t.dropped;if(t.len=0,t.nbNalu=0,t.dropped=0,b.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var et=b[0].flags;et.dependsOn=2,et.isNonSync=0}t.samples=b,f=n.a.moof(t.sequenceNumber++,g,t),t.samples=[];var rt={data1:f,data2:h,startPTS:p/d,endPTS:(v+c)/d,startDTS:g/d,endDTS:this.nextAvcDts/d,type:"video",hasAudio:!1,hasVideo:!0,nb:b.length,dropped:tt};return this.observer.trigger(o.a.FRAG_PARSING_DATA,rt),rt}},t.prototype.remuxAudio=function(t,e,r,i){var u=t.inputTimeScale,d=t.timescale,c=u/d,h=t.isAAC?1024:1152,f=h*c,p=this._PTSNormalize,g=this._initDTS,v=!t.isAAC&&this.typeSupported.mpeg,y=void 0,m=void 0,b=void 0,E=void 0,T=void 0,S=void 0,A=void 0,R=t.samples,_=[],w=this.nextAudioPts;if(r|=R.length&&w&&(i&&Math.abs(e-w/u)<.1||Math.abs(R[0].pts-w-g)<20*f),R.forEach(function(t){t.pts=t.dts=p(t.pts-g,e*u)}),R=R.filter(function(t){return t.pts>=0}),0!==R.length){if(r||(w=i?e*u:R[0].pts),t.isAAC)for(var L=this.config.maxAudioFramesDrift,D=0,I=w;D<R.length;){var k,O=R[D],C=O.pts;k=C-I;var P=Math.abs(1e3*k/u);if(k<=-L*f)l.b.warn("Dropping 1 audio frame @ "+(I/u).toFixed(3)+"s due to "+Math.round(P)+" ms overlap."),R.splice(D,1),t.len-=O.unit.length;else if(k>=L*f&&P<1e4&&I){var x=Math.round(k/f);l.b.warn("Injecting "+x+" audio frame @ "+(I/u).toFixed(3)+"s due to "+Math.round(1e3*k/u)+" ms gap.");for(var F=0;F<x;F++){var M=Math.max(I,0);b=a.a.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),b||(l.b.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),b=O.unit.subarray()),R.splice(D,0,{unit:b,pts:M,dts:M}),t.len+=b.length,I+=f,D++}O.pts=O.dts=I,I+=f,D++}else Math.abs(k),O.pts=O.dts=I,I+=f,D++}for(var N=0,U=R.length;N<U;N++){var B=R[N],G=B.unit,K=B.pts;if(void 0!==A)m.duration=Math.round((K-A)/c);else{var j=Math.round(1e3*(K-w)/u),H=0;if(r&&t.isAAC&&j){if(j>0&&j<1e4)H=Math.round((K-w)/f),l.b.log(j+" ms hole between AAC samples detected,filling it"),H>0&&(b=a.a.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),b||(b=G.subarray()),t.len+=H*b.length);else if(j<-12){l.b.log("drop overlapping AAC sample, expected/parsed/delta:"+(w/u).toFixed(3)+"s/"+(K/u).toFixed(3)+"s/"+-j+"ms"),t.len-=G.byteLength;continue}K=w}if(S=K,!(t.len>0))return;var V=v?t.len:t.len+8;y=v?0:8;try{E=new Uint8Array(V)}catch(t){return void this.observer.trigger(o.a.ERROR,{type:s.b.MUX_ERROR,details:s.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:V,reason:"fail allocating audio mdat "+V})}if(!v){new DataView(E.buffer).setUint32(0,V),E.set(n.a.types.mdat,4)}for(var Y=0;Y<H;Y++)b=a.a.getSilentFrame(t.manifestCodec||t.codec,t.channelCount),b||(l.b.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),b=G.subarray()),E.set(b,y),y+=b.byteLength,m={size:b.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},_.push(m)}E.set(G,y);var W=G.byteLength;y+=W,m={size:W,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},_.push(m),A=K}var q=0,X=_.length;if(X>=2&&(q=_[X-2].duration,m.duration=q),X){this.nextAudioPts=w=A+c*q,t.len=0,t.samples=_,T=v?new Uint8Array:n.a.moof(t.sequenceNumber++,S/c,t),t.samples=[];var z=S/u,Q=w/u,$={data1:T,data2:E,startPTS:z,endPTS:Q,startDTS:z,endDTS:Q,type:"audio",hasAudio:!0,hasVideo:!1,nb:X};return this.observer.trigger(o.a.FRAG_PARSING_DATA,$),$}return null}},t.prototype.remuxEmptyAudio=function(t,e,r,i){var n=t.inputTimeScale,o=t.samplerate?t.samplerate:n,s=n/o,u=this.nextAudioPts,d=(void 0!==u?u:i.startDTS*n)+this._initDTS,c=i.endDTS*n+this._initDTS,h=1024*s,f=Math.ceil((c-d)/h),p=a.a.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(l.b.warn("remux empty Audio"),!p)return void l.b.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!");for(var g=[],v=0;v<f;v++){var y=d+v*h;g.push({unit:p,pts:y,dts:y}),t.len+=p.length}t.samples=g,this.remuxAudio(t,e,r)},t.prototype.remuxID3=function(t,e){var r=t.samples.length,i=void 0,a=t.inputTimeScale,n=this._initPTS,s=this._initDTS;if(r){for(var l=0;l<r;l++)i=t.samples[l],i.pts=(i.pts-n)/a,i.dts=(i.dts-s)/a;this.observer.trigger(o.a.FRAG_PARSING_METADATA,{samples:t.samples})}t.samples=[],e=e},t.prototype.remuxText=function(t,e){t.samples.sort(function(t,e){return t.pts-e.pts});var r=t.samples.length,i=void 0,a=t.inputTimeScale,n=this._initPTS;if(r){for(var s=0;s<r;s++)i=t.samples[s],i.pts=(i.pts-n)/a;this.observer.trigger(o.a.FRAG_PARSING_USERDATA,{samples:t.samples})}t.samples=[],e=e},t.prototype._PTSNormalize=function(t,e){var r=void 0;if(void 0===e)return t;for(r=e<t?-8589934592:8589934592;Math.abs(t-e)>4294967296;)t+=r;return t},t}();e.a=u},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){i(this,t)}return t.getSilentFrame=function(t,e){switch(t){case"mp4a.40.2":if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null},t}();e.a=a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=Math.pow(2,32)-1,n=function(){function t(){i(this,t)}return t.init=function(){t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};var e=void 0;for(e in t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var r=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),i=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:r,audio:i};var a=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),n=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=n,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var o=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,o,l,o,s),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,a))},t.box=function(t){for(var e=Array.prototype.slice.call(arguments,1),r=8,i=e.length,a=i,n=void 0;i--;)r+=e[i].byteLength;for(n=new Uint8Array(r),n[0]=r>>24&255,n[1]=r>>16&255,n[2]=r>>8&255,n[3]=255&r,n.set(t,4),i=0,r=8;i<a;i++)n.set(e[i],r),r+=e[i].byteLength;return n},t.hdlr=function(e){return t.box(t.types.hdlr,t.HDLR_TYPES[e])},t.mdat=function(e){return t.box(t.types.mdat,e)},t.mdhd=function(e,r){r*=e;var i=Math.floor(r/(a+1)),n=Math.floor(r%(a+1));return t.box(t.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,r,i){return t.box(t.types.moof,t.mfhd(e),t.traf(i,r))},t.moov=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trak(e[r]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(i).concat(t.mvex(e)))},t.mvex=function(e){for(var r=e.length,i=[];r--;)i[r]=t.trex(e[r]);return t.box.apply(null,[t.types.mvex].concat(i))},t.mvhd=function(e,r){r*=e;var i=Math.floor(r/(a+1)),n=Math.floor(r%(a+1)),o=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,i>>24,i>>16&255,i>>8&255,255&i,n>>24,n>>16&255,n>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,o)},t.sdtp=function(e){var r=e.samples||[],i=new Uint8Array(4+r.length),a=void 0,n=void 0;for(n=0;n<r.length;n++)a=r[n].flags,i[n+4]=a.dependsOn<<4|a.isDependedOn<<2|a.hasRedundancy;return t.box(t.types.sdtp,i)},t.stbl=function(e){return t.box(t.types.stbl,t.stsd(e),t.box(t.types.stts,t.STTS),t.box(t.types.stsc,t.STSC),t.box(t.types.stsz,t.STSZ),t.box(t.types.stco,t.STCO))},t.avc1=function(e){var r=[],i=[],a=void 0,n=void 0,o=void 0;for(a=0;a<e.sps.length;a++)n=e.sps[a],o=n.byteLength,r.push(o>>>8&255),r.push(255&o),r=r.concat(Array.prototype.slice.call(n));for(a=0;a<e.pps.length;a++)n=e.pps[a],o=n.byteLength,i.push(o>>>8&255),i.push(255&o),i=i.concat(Array.prototype.slice.call(n));var s=t.box(t.types.avcC,new Uint8Array([1,r[3],r[4],r[5],255,224|e.sps.length].concat(r).concat([e.pps.length]).concat(i))),l=e.width,u=e.height,d=e.pixelRatio[0],c=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([d>>24,d>>16&255,d>>8&255,255&d,c>>24,c>>16&255,c>>8&255,255&c])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.mp4a=function(e){var r=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){var r=e.samplerate;return t.box(t.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]))},t.stsd=function(e){return"audio"===e.type?e.isAAC||"mp3"!==e.codec?t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var r=e.id,i=e.duration*e.timescale,n=e.width,o=e.height,s=Math.floor(i/(a+1)),l=Math.floor(i%(a+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,l>>24,l>>16&255,l>>8&255,255&l,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>8&255,255&n,0,0,o>>8&255,255&o,0,0]))},t.traf=function(e,r){var i=t.sdtp(e),n=e.id,o=Math.floor(r/(a+1)),s=Math.floor(r%(a+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,s>>24,s>>16&255,s>>8&255,255&s])),t.trun(e,i.length+16+20+8+16+8+8),i)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var r=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,r){var i=e.samples||[],a=i.length,n=12+16*a,o=new Uint8Array(n),s=void 0,l=void 0,u=void 0,d=void 0,c=void 0,h=void 0;for(r+=8+n,o.set([0,0,15,1,a>>>24&255,a>>>16&255,a>>>8&255,255&a,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),s=0;s<a;s++)l=i[s],u=l.duration,d=l.size,c=l.flags,h=l.cts,o.set([u>>>24&255,u>>>16&255,u>>>8&255,255&u,d>>>24&255,d>>>16&255,d>>>8&255,255&d,c.isLeading<<2|c.dependsOn,c.isDependedOn<<6|c.hasRedundancy<<4|c.paddingValue<<1|c.isNonSync,61440&c.degradPrio,15&c.degradPrio,h>>>24&255,h>>>16&255,h>>>8&255,255&h],12+16*s);return t.box(t.types.trun,o)},t.initSegment=function(e){t.types||t.init();var r=t.moov(e),i=void 0;return i=new Uint8Array(t.FTYP.byteLength+r.byteLength),i.set(t.FTYP),i.set(r,t.FTYP.byteLength),i},t}();e.a=n},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(1),n=function(){function t(e){i(this,t),this.observer=e}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(){},t.prototype.resetInitSegment=function(){},t.prototype.remux=function(t,e,r,i,n,o,s,l){var u=this.observer,d="";t&&(d+="audio"),e&&(d+="video"),u.trigger(a.a.FRAG_PARSING_DATA,{data1:l,startPTS:n,startDTS:n,type:d,hasAudio:!!t,hasVideo:!!e,nb:1,dropped:0}),u.trigger(a.a.FRAG_PARSED)},t}();e.a=n},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(22),a=r(1),n=r(0),o=r(13),s=r.n(o),l=function(t){var e=new s.a;e.trigger=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.emit.apply(e,[t,t].concat(i))},e.off=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];e.removeListener.apply(e,[t].concat(i))};var r=function(e,r){t.postMessage({event:e,data:r})};t.addEventListener("message",function(a){var o=a.data;switch(o.cmd){case"init":var s=JSON.parse(o.config);t.demuxer=new i.a(e,o.typeSupported,s,o.vendor);try{Object(n.a)(!0===s.debug)}catch(t){console.warn("demuxerWorker: unable to enable logs")}r("init",null);break;case"demux":t.demuxer.push(o.data,o.decryptdata,o.initSegment,o.audioCodec,o.videoCodec,o.timeOffset,o.discontinuity,o.trackSwitch,o.contiguous,o.duration,o.accurateTimeOffset,o.defaultInitPTS)}}),e.on(a.a.FRAG_DECRYPTED,r),e.on(a.a.FRAG_PARSING_INIT_SEGMENT,r),e.on(a.a.FRAG_PARSED,r),e.on(a.a.ERROR,r),e.on(a.a.FRAG_PARSING_METADATA,r),e.on(a.a.FRAG_PARSING_USERDATA,r),e.on(a.a.INIT_PTS_FOUND,r),e.on(a.a.FRAG_PARSING_DATA,function(e,r){var i=[],a={event:e,data:r};r.data1&&(a.data1=r.data1.buffer,i.push(r.data1.buffer),delete r.data1),r.data2&&(a.data2=r.data2.buffer,i.push(r.data2.buffer),delete r.data2),t.postMessage(a,i)})};e.default=l},function(t,e,r){"use strict";function i(t,e,r){if(!Array.isArray(t)||!t.length||!Object(s.a)(e))return null;if(e<t[0].programDateTime)return null;if(e>=t[t.length-1].endProgramDateTime)return null;r=r||0;for(var i=0;i<t.length;++i){var a=t[i];if(o(e,r,a))return a}return null}function a(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=t?e[t.sn-e[0].sn+1]:null;return a&&!n(r,i,a)?a:l.a.search(e,n.bind(null,r,i))}function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments[2],i=Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.start+r.duration-i<=t?1:r.start-i>t&&r.start?-1:0}function o(t,e,r){var i=1e3*Math.min(e,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.endProgramDateTime-i>t}e.a=i,e.b=a;var s=r(3),l=r(7)},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(8),n=r(2),o=r(1),s=r(0),l=function(){function t(e,r,a,n){i(this,t),this.config=e,this.media=r,this.fragmentTracker=a,this.hls=n,this.stallReported=!1}return t.prototype.poll=function(t,e){var r=this.config,i=this.media,n=i.currentTime,o=window.performance.now();if(n!==t)return this.stallReported&&(s.b.warn("playback not stuck anymore @"+n+", after "+Math.round(o-this.stalled)+"ms"),this.stallReported=!1),this.stalled=null,void(this.nudgeRetry=0);if(!(i.ended||!i.buffered.length||i.readyState>2||i.seeking&&a.a.isBuffered(i,n))){var l=o-this.stalled,u=a.a.bufferInfo(i,n,r.maxBufferHole);if(!this.stalled)return void(this.stalled=o);l>=1e3&&this._reportStall(u.len),this._tryFixBufferStall(u,l)}},t.prototype._tryFixBufferStall=function(t,e){var r=this.config,i=this.fragmentTracker,a=this.media,n=a.currentTime,o=i.getPartialFragment(n);o&&this._trySkipBufferHole(o),t.len>.5&&e>1e3*r.highBufferWatchdogPeriod&&(this.stalled=null,this._tryNudgeBuffer())},t.prototype._reportStall=function(t){var e=this.hls,r=this.media;this.stallReported||(this.stallReported=!0,s.b.warn("Playback stalling at @"+r.currentTime+" due to low buffer"),e.trigger(o.a.ERROR,{type:n.b.MEDIA_ERROR,details:n.a.BUFFER_STALLED_ERROR,fatal:!1,buffer:t}))},t.prototype._trySkipBufferHole=function(t){for(var e=this.hls,r=this.media,i=r.currentTime,a=0,l=0;l<r.buffered.length;l++){var u=r.buffered.start(l);if(i>=a&&i<u)return r.currentTime=Math.max(u,r.currentTime+.1),s.b.warn("skipping hole, adjusting currentTime from "+i+" to "+r.currentTime),this.stalled=null,void e.trigger(o.a.ERROR,{type:n.b.MEDIA_ERROR,details:n.a.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+i+" to "+r.currentTime,frag:t});a=r.buffered.end(l)}},t.prototype._tryNudgeBuffer=function(){var t=this.config,e=this.hls,r=this.media,i=r.currentTime,a=(this.nudgeRetry||0)+1;if(this.nudgeRetry=a,a<t.nudgeMaxRetry){var l=i+a*t.nudgeOffset;s.b.log("adjust currentTime from "+i+" to "+l),r.currentTime=l,e.trigger(o.a.ERROR,{type:n.b.MEDIA_ERROR,details:n.a.BUFFER_NUDGE_ON_STALL,fatal:!1})}else s.b.error("still stuck in high buffer @"+i+" after "+t.nudgeMaxRetry+", raise fatal error"),e.trigger(o.a.ERROR,{type:n.b.MEDIA_ERROR,details:n.a.BUFFER_STALLED_ERROR,fatal:!0})},t}();e.a=l},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(4),l=r(0),u=r(2),d=r(20),c=r(16),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},f=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),p=window,g=p.performance,v=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.MANIFEST_LOADED,o.a.LEVEL_LOADED,o.a.AUDIO_TRACK_SWITCHED,o.a.FRAG_LOADED,o.a.ERROR));return n.canload=!1,n.currentLevelIndex=null,n.manualLevelIndex=-1,n.timer=null,n}return n(e,t),e.prototype.onHandlerDestroying=function(){this.clearTimer(),this.manualLevelIndex=-1},e.prototype.clearTimer=function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.startLoad=function(){var t=this._levels;this.canload=!0,this.levelRetryCount=0,t&&t.forEach(function(t){t.loadError=0;var e=t.details;e&&e.live&&(t.details=void 0)}),null!==this.timer&&this.loadLevel()},e.prototype.stopLoad=function(){this.canload=!1},e.prototype.onManifestLoaded=function(t){var e=[],r=void 0,i={},a=null,n=!1,s=!1,h=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),f=[];if(t.levels.forEach(function(t){t.loadError=0,t.fragmentError=!1,n=n||!!t.videoCodec,s=s||!!t.audioCodec||!(!t.attrs||!t.attrs.AUDIO),h&&t.audioCodec&&-1!==t.audioCodec.indexOf("mp4a.40.34")&&(t.audioCodec=void 0),a=i[t.bitrate],a?a.url.push(t.url):(t.url=[t.url],t.urlId=0,i[t.bitrate]=t,e.push(t)),t.attrs&&t.attrs.AUDIO&&Object(c.a)(a||t,"audio",t.attrs.AUDIO),t.attrs&&t.attrs.SUBTITLES&&Object(c.a)(a||t,"text",t.attrs.SUBTITLES)}),n&&s&&(e=e.filter(function(t){return!!t.videoCodec})),e=e.filter(function(t){var e=t.audioCodec,r=t.videoCodec;return(!e||Object(d.a)(e))&&(!r||Object(d.a)(r))}),t.audioTracks&&(f=t.audioTracks.filter(function(t){return!t.audioCodec||Object(d.a)(t.audioCodec,"audio")}),f.forEach(function(t,e){t.id=e})),e.length>0){r=e[0].bitrate,e.sort(function(t,e){return t.bitrate-e.bitrate}),this._levels=e;for(var p=0;p<e.length;p++)if(e[p].bitrate===r){this._firstLevel=p,l.b.log("manifest loaded,"+e.length+" level(s) found, first bitrate:"+r);break}this.hls.trigger(o.a.MANIFEST_PARSED,{levels:e,audioTracks:f,firstLevel:this._firstLevel,stats:t.stats,audio:s,video:n,altAudio:f.length>0&&n})}else this.hls.trigger(o.a.ERROR,{type:u.b.MEDIA_ERROR,details:u.a.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})},e.prototype.setLevelInternal=function(t){var e=this._levels,r=this.hls;if(t>=0&&t<e.length){if(this.clearTimer(),this.currentLevelIndex!==t){l.b.log("switching to level "+t),this.currentLevelIndex=t;var i=e[t];i.level=t,r.trigger(o.a.LEVEL_SWITCHING,i)}var a=e[t],n=a.details;if(!n||n.live){var s=a.urlId;r.trigger(o.a.LEVEL_LOADING,{url:a.url[s],level:t,id:s})}}else r.trigger(o.a.ERROR,{type:u.b.OTHER_ERROR,details:u.a.LEVEL_SWITCH_ERROR,level:t,fatal:!1,reason:"invalid level idx"})},e.prototype.onError=function(t){if(t.fatal)return void(t.type===u.b.NETWORK_ERROR&&this.clearTimer());var e=!1,r=!1,i=void 0;switch(t.details){case u.a.FRAG_LOAD_ERROR:case u.a.FRAG_LOAD_TIMEOUT:case u.a.KEY_LOAD_ERROR:case u.a.KEY_LOAD_TIMEOUT:i=t.frag.level,r=!0;break;case u.a.LEVEL_LOAD_ERROR:case u.a.LEVEL_LOAD_TIMEOUT:i=t.context.level,e=!0;break;case u.a.REMUX_ALLOC_ERROR:i=t.level,e=!0}void 0!==i&&this.recoverLevel(t,i,e,r)},e.prototype.recoverLevel=function(t,e,r,i){var a=this,n=this.hls.config,o=t.details,s=this._levels[e],u=void 0,d=void 0,c=void 0;if(s.loadError++,s.fragmentError=i,r){if(!(this.levelRetryCount+1<=n.levelLoadingMaxRetry))return l.b.error("level controller, cannot recover from "+o+" error"),this.currentLevelIndex=null,this.clearTimer(),void(t.fatal=!0);d=Math.min(Math.pow(2,this.levelRetryCount)*n.levelLoadingRetryDelay,n.levelLoadingMaxRetryTimeout),this.timer=setTimeout(function(){return a.loadLevel()},d),t.levelRetry=!0,this.levelRetryCount++,l.b.warn("level controller, "+o+", retry in "+d+" ms, current retry count is "+this.levelRetryCount)}(r||i)&&(u=s.url.length,u>1&&s.loadError<u?(s.urlId=(s.urlId+1)%u,s.details=void 0,l.b.warn("level controller, "+o+" for level "+e+": switching to redundant URL-id "+s.urlId)):-1===this.manualLevelIndex?(c=0===e?this._levels.length-1:e-1,l.b.warn("level controller, "+o+": switch to "+c),this.hls.nextAutoLevel=this.currentLevelIndex=c):i&&(l.b.warn("level controller, "+o+": reload a fragment"),this.currentLevelIndex=null))},e.prototype.onFragLoaded=function(t){var e=t.frag;if(void 0!==e&&"main"===e.type){var r=this._levels[e.level];void 0!==r&&(r.fragmentError=!1,r.loadError=0,this.levelRetryCount=0)}},e.prototype.onLevelLoaded=function(t){var e=this,r=t.level;if(r===this.currentLevelIndex){var i=this._levels[r];i.fragmentError||(i.loadError=0,this.levelRetryCount=0);var a=t.details;if(a.live){var n=1e3*(a.averagetargetduration?a.averagetargetduration:a.targetduration),o=n,s=i.details;s&&a.endSN===s.endSN&&(o/=2,l.b.log("same live playlist, reload twice faster")),o-=g.now()-t.stats.trequest,o=Math.max(n/2,Math.round(o)),l.b.log("live playlist, reload in "+Math.round(o)+" ms"),this.timer=setTimeout(function(){return e.loadLevel()},o)}else this.clearTimer()}},e.prototype.onAudioTrackSwitched=function(t){var e=this.hls.audioTracks[t.id].groupId,r=this.hls.levels[this.currentLevelIndex];if(r&&r.audioGroupIds){var i=r.audioGroupIds.findIndex(function(t){return t===e});i!==r.urlId&&(r.urlId=i,this.startLoad())}},e.prototype.loadLevel=function(){if(l.b.debug("call to loadLevel"),null!==this.currentLevelIndex&&this.canload){var t=this._levels[this.currentLevelIndex];if("object"===(void 0===t?"undefined":h(t))&&t.url.length>0){var e=this.currentLevelIndex,r=t.urlId,i=t.url[r];l.b.log("Attempt loading level index "+e+" with URL-id "+r),this.hls.trigger(o.a.LEVEL_LOADING,{url:i,level:e,id:r})}}},f(e,[{key:"levels",get:function(){return this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(t){var e=this._levels;e&&(t=Math.min(t,e.length-1),this.currentLevelIndex===t&&e[t].details||this.setLevelInternal(t))}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(t){this.manualLevelIndex=t,void 0===this._startLevel&&(this._startLevel=t),-1!==t&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this._firstLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(t){this.level=t,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=t)}}]),e}(s.a);e.a=v},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(4),l=r(9),u=r(27),d=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.MEDIA_ATTACHED,o.a.MEDIA_DETACHING,o.a.FRAG_PARSING_METADATA));return n.id3Track=void 0,n.media=void 0,n}return n(e,t),e.prototype.destroy=function(){s.a.prototype.destroy.call(this)},e.prototype.onMediaAttached=function(t){this.media=t.media,this.media},e.prototype.onMediaDetaching=function(){Object(u.a)(this.id3Track),this.id3Track=void 0,this.media=void 0},e.prototype.getID3Track=function(t){for(var e=0;e<t.length;e++){var r=t[e];if("metadata"===r.kind&&"id3"===r.label)return Object(u.b)(r,this.media),r}return this.media.addTextTrack("metadata","id3")},e.prototype.onFragParsingMetadata=function(t){var e=t.frag,r=t.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var i=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,a=0;a<r.length;a++){var n=l.a.getID3Frames(r[a].data);if(n){var o=r[a].pts,s=a<r.length-1?r[a+1].pts:e.endPTS;o===s&&(s+=1e-4);for(var u=0;u<n.length;u++){var d=n[u];if(!l.a.isTimeStampFrame(d)){var c=new i(o,s,"");c.value=d,this.id3Track.addCue(c)}}}}},e}(s.a);e.a=d},function(t,e,r){"use strict";function i(){var t=Object(a.a)(),e=window.SourceBuffer||window.WebKitSourceBuffer,r=t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),i=!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove;return!!r&&!!i}e.a=i;var a=r(15)},function(t,e,r){"use strict";r.d(e,"a",function(){return v});var i=r(56),a=r(59),n=r(60),o=r(61),s=r(62),l=r(63),u=r(64),d=r(65),c=r(67),h=r(71),f=r(72),p=r(73),g=r(74),v={autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,liveDurationInfinity:!1,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:s.a,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,abrController:i.a,bufferController:a.a,capLevelController:n.a,fpsController:o.a,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,requestMediaKeySystemAccessFunc:g.a};v.subtitleStreamController=f.a,v.subtitleTrackController=h.a,v.timelineController=c.a,v.cueHandler=d,v.enableCEA708Captions=!0,v.enableWebVTT=!0,v.captionsTextTrack1Label="English",v.captionsTextTrack1LanguageCode="en",v.captionsTextTrack2Label="Spanish",v.captionsTextTrack2LanguageCode="es",v.audioStreamController=u.a,v.audioTrackController=l.a,v.emeController=p.a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(1),l=r(4),u=r(8),d=r(2),c=r(0),h=r(57),f=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),p=window,g=p.performance,v=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.FRAG_LOADING,s.a.FRAG_LOADED,s.a.FRAG_BUFFERED,s.a.ERROR));return n.lastLoadedFragLevel=0,n._nextAutoLevel=-1,n.hls=r,n.timer=null,n._bwEstimator=null,n.onCheck=n._abandonRulesCheck.bind(n),n}return n(e,t),e.prototype.destroy=function(){this.clearTimer(),l.a.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag;if("main"===e.type&&(this.timer||(this.fragCurrent=e,this.timer=setInterval(this.onCheck,100)),!this._bwEstimator)){var r=this.hls,i=r.config,a=e.level,n=r.levels[a].details.live,o=void 0,s=void 0;n?(o=i.abrEwmaFastLive,s=i.abrEwmaSlowLive):(o=i.abrEwmaFastVoD,s=i.abrEwmaSlowVoD),this._bwEstimator=new h.a(r,s,o,i.abrEwmaDefaultEstimate)}},e.prototype._abandonRulesCheck=function(){var t=this.hls,e=t.media,r=this.fragCurrent;if(r){var i=r.loader,a=t.minAutoLevel;if(!i||i.stats&&i.stats.aborted)return c.b.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),void(this._nextAutoLevel=-1);var n=i.stats;if(e&&n&&(!e.paused&&0!==e.playbackRate||!e.readyState)&&r.autoLevel&&r.level){var o=g.now()-n.trequest,l=Math.abs(e.playbackRate);if(o>500*r.duration/l){var d=t.levels,h=Math.max(1,n.bw?n.bw/8:1e3*n.loaded/o),f=d[r.level],p=f.realBitrate?Math.max(f.realBitrate,f.bitrate):f.bitrate,v=n.total?n.total:Math.max(n.loaded,Math.round(r.duration*p/8)),y=e.currentTime,m=(v-n.loaded)/h,b=(u.a.bufferInfo(e,y,t.config.maxBufferHole).end-y)/l;if(b<2*r.duration/l&&m>b){var E=void 0,T=void 0;for(T=r.level-1;T>a;T--){var S=d[T].realBitrate?Math.max(d[T].realBitrate,d[T].bitrate):d[T].bitrate;if((E=r.duration*S/(6.4*h))<b)break}E<m&&(c.b.warn("loading too slow, abort fragment loading and switch to level "+T+":fragLoadedDelay["+T+"]<fragLoadedDelay["+(r.level-1)+"];bufferStarvationDelay:"+E.toFixed(1)+"<"+m.toFixed(1)+":"+b.toFixed(1)),t.nextLoadLevel=T,this._bwEstimator.sample(o,n.loaded),i.abort(),this.clearTimer(),t.trigger(s.a.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,stats:n}))}}}}},e.prototype.onFragLoaded=function(t){var e=t.frag;if("main"===e.type&&Object(o.a)(e.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=e.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var r=this.hls.levels[e.level],i=(r.loaded?r.loaded.bytes:0)+t.stats.loaded,a=(r.loaded?r.loaded.duration:0)+t.frag.duration;r.loaded={bytes:i,duration:a},r.realBitrate=Math.round(8*i/a)}if(t.frag.bitrateTest){var n=t.stats;n.tparsed=n.tbuffered=n.tload,this.onFragBuffered(t)}}},e.prototype.onFragBuffered=function(t){var e=t.stats,r=t.frag;if(!0!==e.aborted&&"main"===r.type&&Object(o.a)(r.sn)&&(!r.bitrateTest||e.tload===e.tbuffered)){var i=e.tparsed-e.trequest;c.b.log("latency/loading/parsing/append/kbps:"+Math.round(e.tfirst-e.trequest)+"/"+Math.round(e.tload-e.tfirst)+"/"+Math.round(e.tparsed-e.tload)+"/"+Math.round(e.tbuffered-e.tparsed)+"/"+Math.round(8*e.loaded/(e.tbuffered-e.trequest))),this._bwEstimator.sample(i,e.loaded),e.bwEstimate=this._bwEstimator.getEstimate(),r.bitrateTest?this.bitrateTestDelay=i/1e3:this.bitrateTestDelay=0}},e.prototype.onError=function(t){switch(t.details){case d.a.FRAG_LOAD_ERROR:case d.a.FRAG_LOAD_TIMEOUT:this.clearTimer()}},e.prototype.clearTimer=function(){clearInterval(this.timer),this.timer=null},e.prototype._findBestLevel=function(t,e,r,i,a,n,o,s,l){for(var u=a;u>=i;u--){var d=l[u];if(d){var h=d.details,f=h?h.totalduration/h.fragments.length:e,p=!!h&&h.live,g=void 0;g=u<=t?o*r:s*r;var v=l[u].realBitrate?Math.max(l[u].realBitrate,l[u].bitrate):l[u].bitrate,y=v*f/g;if(c.b.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+u+"/"+Math.round(g)+"/"+v+"/"+f+"/"+n+"/"+y),g>v&&(!y||p&&!this.bitrateTestDelay||y<n))return u}}return-1},f(e,[{key:"nextAutoLevel",get:function(){var t=this._nextAutoLevel,e=this._bwEstimator;if(!(-1===t||e&&e.canEstimate()))return t;var r=this._nextABRAutoLevel;return-1!==t&&(r=Math.min(t,r)),r},set:function(t){this._nextAutoLevel=t}},{key:"_nextABRAutoLevel",get:function(){var t=this.hls,e=t.maxAutoLevel,r=t.levels,i=t.config,a=t.minAutoLevel,n=t.media,o=this.lastLoadedFragLevel,s=this.fragCurrent?this.fragCurrent.duration:0,l=n?n.currentTime:0,d=n&&0!==n.playbackRate?Math.abs(n.playbackRate):1,h=this._bwEstimator?this._bwEstimator.getEstimate():i.abrEwmaDefaultEstimate,f=(u.a.bufferInfo(n,l,i.maxBufferHole).end-l)/d,p=this._findBestLevel(o,s,h,a,e,f,i.abrBandWidthFactor,i.abrBandWidthUpFactor,r);if(p>=0)return p;c.b.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var g=s?Math.min(s,i.maxStarvationDelay):i.maxStarvationDelay,v=i.abrBandWidthFactor,y=i.abrBandWidthUpFactor;if(0===f){var m=this.bitrateTestDelay;if(m){g=(s?Math.min(s,i.maxLoadingDelay):i.maxLoadingDelay)-m,c.b.trace("bitrate test took "+Math.round(1e3*m)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*g)+" ms"),v=y=1}}return p=this._findBestLevel(o,s,h,a,e,f+g,v,y,r),Math.max(p,0)}}]),e}(l.a);e.a=v},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(58),n=function(){function t(e,r,n,o){i(this,t),this.hls=e,this.defaultEstimate_=o,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new a.a(r),this.fast_=new a.a(n)}return t.prototype.sample=function(t,e){t=Math.max(t,this.minDelayMs_);var r=8e3*e/t,i=t/1e3;this.fast_.sample(i,r),this.slow_.sample(i,r)},t.prototype.canEstimate=function(){var t=this.fast_;return t&&t.getTotalWeight()>=this.minWeight_},t.prototype.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},t.prototype.destroy=function(){},t}();e.a=n},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e){i(this,t),this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=0,this.totalWeight_=0}return t.prototype.sample=function(t,e){var r=Math.pow(this.alpha_,t);this.estimate_=e*(1-r)+r*this.estimate_,this.totalWeight_+=t},t.prototype.getTotalWeight=function(){return this.totalWeight_},t.prototype.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/t}return this.estimate_},t}();e.a=a},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(1),l=r(4),u=r(0),d=r(2),c=r(15),h=Object(c.a)(),f=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.MEDIA_ATTACHING,s.a.MEDIA_DETACHING,s.a.MANIFEST_PARSED,s.a.BUFFER_RESET,s.a.BUFFER_APPENDING,s.a.BUFFER_CODECS,s.a.BUFFER_EOS,s.a.BUFFER_FLUSHING,s.a.LEVEL_PTS_UPDATED,s.a.LEVEL_UPDATED));return n._msDuration=null,n._levelDuration=null,n._live=null,n._objectUrl=null,n.onsbue=n.onSBUpdateEnd.bind(n),n.onsbe=n.onSBUpdateError.bind(n),n.pendingTracks={},n.tracks={},n}return n(e,t),e.prototype.destroy=function(){l.a.prototype.destroy.call(this)},e.prototype.onLevelPtsUpdated=function(t){var e=t.type,r=this.tracks.audio;if("audio"===e&&r&&"audio/mpeg"===r.container){var i=this.sourceBuffer.audio;if(Math.abs(i.timestampOffset-t.start)>.1){var a=i.updating;try{i.abort()}catch(t){a=!0,u.b.warn("can not abort audio buffer: "+t)}a?this.audioTimestampOffset=t.start:(u.b.warn("change mpeg audio timestamp offset from "+i.timestampOffset+" to "+t.start),i.timestampOffset=t.start)}}},e.prototype.onManifestParsed=function(t){var e=t.audio,r=t.video||t.levels.length&&t.altAudio,i=0;t.altAudio&&(e||r)&&(i=(e?1:0)+(r?1:0),u.b.log(i+" sourceBuffer(s) expected")),this.sourceBufferNb=i},e.prototype.onMediaAttaching=function(t){var e=this.media=t.media;if(e){var r=this.mediaSource=new h;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),r.addEventListener("sourceopen",this.onmso),r.addEventListener("sourceended",this.onmse),r.addEventListener("sourceclose",this.onmsc),e.src=window.URL.createObjectURL(r),this._objectUrl=e.src}},e.prototype.onMediaDetaching=function(){u.b.log("media source detaching");var t=this.mediaSource;if(t){if("open"===t.readyState)try{t.endOfStream()}catch(t){u.b.warn("onMediaDetaching:"+t.message+" while calling endOfStream")}t.removeEventListener("sourceopen",this.onmso),t.removeEventListener("sourceended",this.onmse),t.removeEventListener("sourceclose",this.onmsc),this.media&&(window.URL.revokeObjectURL(this._objectUrl),this.media.src===this._objectUrl?(this.media.removeAttribute("src"),this.media.load()):u.b.warn("media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(s.a.MEDIA_DETACHED)},e.prototype.onMediaSourceOpen=function(){u.b.log("media source opened"),this.hls.trigger(s.a.MEDIA_ATTACHED,{media:this.media});var t=this.mediaSource;t&&t.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()},e.prototype.checkPendingTracks=function(){var t=this.pendingTracks,e=Object.keys(t).length;e&&(this.sourceBufferNb<=e||0===this.sourceBufferNb)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())},e.prototype.onMediaSourceClose=function(){u.b.log("media source closed")},e.prototype.onMediaSourceEnded=function(){u.b.log("media source ended")},e.prototype.onSBUpdateEnd=function(){if(this.audioTimestampOffset){var t=this.sourceBuffer.audio;u.b.warn("change mpeg audio timestamp offset from "+t.timestampOffset+" to "+this.audioTimestampOffset),t.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var e=this.parent,r=this.segments.reduce(function(t,r){return r.parent===e?t+1:t},0),i={},a=this.sourceBuffer;for(var n in a)i[n]=a[n].buffered;this.hls.trigger(s.a.BUFFER_APPENDED,{parent:e,pending:r,timeRanges:i}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration()},e.prototype.onSBUpdateError=function(t){u.b.error("sourceBuffer error:",t),this.hls.trigger(s.a.ERROR,{type:d.b.MEDIA_ERROR,details:d.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferReset=function(){var t=this.sourceBuffer;for(var e in t){var r=t[e];try{this.mediaSource.removeSourceBuffer(r),r.removeEventListener("updateend",this.onsbue),r.removeEventListener("error",this.onsbe)}catch(t){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0},e.prototype.onBufferCodecs=function(t){if(0===Object.keys(this.sourceBuffer).length){for(var e in t)this.pendingTracks[e]=t[e];var r=this.mediaSource;r&&"open"===r.readyState&&this.checkPendingTracks()}},e.prototype.createSourceBuffers=function(t){var e=this.sourceBuffer,r=this.mediaSource;for(var i in t)if(!e[i]){var a=t[i],n=a.levelCodec||a.codec,o=a.container+";codecs="+n;u.b.log("creating sourceBuffer("+o+")");try{var l=e[i]=r.addSourceBuffer(o);l.addEventListener("updateend",this.onsbue),l.addEventListener("error",this.onsbe),this.tracks[i]={codec:n,container:a.container},a.buffer=l}catch(t){u.b.error("error while trying to add sourceBuffer:"+t.message),this.hls.trigger(s.a.ERROR,{type:d.b.MEDIA_ERROR,details:d.a.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:t,mimeType:o})}}this.hls.trigger(s.a.BUFFER_CREATED,{tracks:t})},e.prototype.onBufferAppending=function(t){this._needsFlush||(this.segments?this.segments.push(t):this.segments=[t],this.doAppending())},e.prototype.onBufferAppendFail=function(t){u.b.error("sourceBuffer error:",t.event),this.hls.trigger(s.a.ERROR,{type:d.b.MEDIA_ERROR,details:d.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferEos=function(t){var e=this.sourceBuffer,r=t.type;for(var i in e)r&&i!==r||e[i].ended||(e[i].ended=!0,u.b.log(i+" sourceBuffer now EOS"));this.checkEos()},e.prototype.checkEos=function(){var t=this.sourceBuffer,e=this.mediaSource;if(!e||"open"!==e.readyState)return void(this._needsEos=!1);for(var r in t){var i=t[r];if(!i.ended)return;if(i.updating)return void(this._needsEos=!0)}u.b.log("all media data available, signal endOfStream() to MediaSource and stop loading fragment");try{e.endOfStream()}catch(t){u.b.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1},e.prototype.onBufferFlushing=function(t){this.flushRange.push({start:t.startOffset,end:t.endOffset,type:t.type}),this.flushBufferCounter=0,this.doFlush()},e.prototype.onLevelUpdated=function(t){var e=t.details;e.fragments.length>0&&(this._levelDuration=e.totalduration+e.fragments[0].start,this._live=e.live,this.updateMediaElementDuration())},e.prototype.updateMediaElementDuration=function(){var t=this.hls.config,e=void 0;if(null!==this._levelDuration&&this.media&&this.mediaSource&&this.sourceBuffer&&0!==this.media.readyState&&"open"===this.mediaSource.readyState){for(var r in this.sourceBuffer)if(!0===this.sourceBuffer[r].updating)return;e=this.media.duration,null===this._msDuration&&(this._msDuration=this.mediaSource.duration),!0===this._live&&!0===t.liveDurationInfinity?(u.b.log("Media Source duration is set to Infinity"),this._msDuration=this.mediaSource.duration=1/0):(this._levelDuration>this._msDuration&&this._levelDuration>e||!Object(o.a)(e))&&(u.b.log("Updating Media Source duration to "+this._levelDuration.toFixed(3)),this._msDuration=this.mediaSource.duration=this._levelDuration)}},e.prototype.doFlush=function(){for(;this.flushRange.length;){var t=this.flushRange[0];if(!this.flushBuffer(t.start,t.end,t.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var e=0,r=this.sourceBuffer;try{for(var i in r)e+=r[i].buffered.length}catch(t){u.b.error("error while accessing sourceBuffer.buffered")}this.appended=e,this.hls.trigger(s.a.BUFFER_FLUSHED)}},e.prototype.doAppending=function(){var t=this.hls,e=this.sourceBuffer,r=this.segments;if(Object.keys(e).length){if(this.media.error)return this.segments=[],void u.b.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(r&&r.length){var i=r.shift();try{var a=i.type,n=e[a];n?n.updating?r.unshift(i):(n.ended=!1,this.parent=i.parent,n.appendBuffer(i.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(e){u.b.error("error while trying to append buffer:"+e.message),r.unshift(i);var o={type:d.b.MEDIA_ERROR,parent:i.parent};22!==e.code?(this.appendError?this.appendError++:this.appendError=1,o.details=d.a.BUFFER_APPEND_ERROR,this.appendError>t.config.appendErrorMaxRetry?(u.b.log("fail "+t.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),r=[],o.fatal=!0,t.trigger(s.a.ERROR,o)):(o.fatal=!1,t.trigger(s.a.ERROR,o))):(this.segments=[],o.details=d.a.BUFFER_FULL_ERROR,o.fatal=!1,t.trigger(s.a.ERROR,o))}}}},e.prototype.flushBuffer=function(t,e,r){var i=void 0,a=void 0,n=void 0,o=void 0,s=void 0,l=void 0,d=this.sourceBuffer;if(Object.keys(d).length){if(u.b.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+t+"/"+e),this.flushBufferCounter<this.appended){for(var c in d)if(!r||c===r){if(i=d[c],i.ended=!1,i.updating)return u.b.warn("cannot flush, sb updating in progress"),!1;try{for(a=0;a<i.buffered.length;a++)if(n=i.buffered.start(a),o=i.buffered.end(a),-1!==navigator.userAgent.toLowerCase().indexOf("firefox")&&e===Number.POSITIVE_INFINITY?(s=t,l=e):(s=Math.max(n,t),l=Math.min(o,e)),Math.min(l,o)-s>.5)return this.flushBufferCounter++,u.b.log("flush "+c+" ["+s+","+l+"], of ["+n+","+o+"], pos:"+this.media.currentTime),i.remove(s,l),!1}catch(t){u.b.warn("exception while accessing sourcebuffer, it might have been removed from MediaSource")}}}else u.b.warn("abort flushing too many retries");u.b.log("buffer flushed")}return!0},e}(l.a);e.a=f},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(4),l=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),u=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.FPS_DROP_LEVEL_CAPPING,o.a.MEDIA_ATTACHING,o.a.MANIFEST_PARSED,o.a.BUFFER_CODECS,o.a.MEDIA_DETACHING));return n.autoLevelCapping=Number.POSITIVE_INFINITY,n.firstLevel=null,n.levels=[],n.media=null,n.restrictedLevels=[],n.timer=null,n}return n(e,t),e.prototype.destroy=function(){this.hls.config.capLevelToPlayerSize&&(this.media=null,this._stopCapping())},e.prototype.onFpsDropLevelCapping=function(t){e.isLevelAllowed(t.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(t.droppedLevel)},e.prototype.onMediaAttaching=function(t){this.media=t.media instanceof window.HTMLVideoElement?t.media:null},e.prototype.onManifestParsed=function(t){var e=this.hls;this.restrictedLevels=[],this.levels=t.levels,this.firstLevel=t.firstLevel,e.config.capLevelToPlayerSize&&(t.video||t.levels.length&&t.altAudio)&&this._startCapping()},e.prototype.onBufferCodecs=function(t){this.hls.config.capLevelToPlayerSize&&t.video&&this._startCapping()},e.prototype.onLevelsUpdated=function(t){this.levels=t.levels},e.prototype.onMediaDetaching=function(){this._stopCapping()},e.prototype.detectPlayerSize=function(){if(this.media){var t=this.levels?this.levels.length:0;if(t){var e=this.hls;e.autoLevelCapping=this.getMaxLevel(t-1),e.autoLevelCapping>this.autoLevelCapping&&e.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},e.prototype.getMaxLevel=function(t){var r=this;if(!this.levels)return-1;var i=this.levels.filter(function(i,a){return e.isLevelAllowed(a,r.restrictedLevels)&&a<=t});return e.getMaxLevelByMediaSize(i,this.mediaWidth,this.mediaHeight)},e.prototype._startCapping=function(){this.timer||(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},e.prototype._stopCapping=function(){this.restrictedLevels=[],this.firstLevel=null,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer),this.timer=null)},e.isLevelAllowed=function(t){return-1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).indexOf(t)},e.getMaxLevelByMediaSize=function(t,e,r){if(!t||t&&!t.length)return-1;for(var i=t.length-1,a=0;a<t.length;a+=1){var n=t[a];if((n.width>=e||n.height>=r)&&function(t,e){return!e||(t.width!==e.width||t.height!==e.height)}(n,t[a+1])){i=a;break}}return i},l(e,[{key:"mediaWidth",get:function(){var t=void 0,r=this.media;return r&&(t=r.width||r.clientWidth||r.offsetWidth,t*=e.contentScaleFactor),t}},{key:"mediaHeight",get:function(){var t=void 0,r=this.media;return r&&(t=r.height||r.clientHeight||r.offsetHeight,t*=e.contentScaleFactor),t}}],[{key:"contentScaleFactor",get:function(){var t=1;try{t=window.devicePixelRatio}catch(t){}return t}}]),e}(s.a);e.a=u},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(4),l=r(0),u=window,d=u.performance,c=function(t){function e(r){return i(this,e),a(this,t.call(this,r,o.a.MEDIA_ATTACHING))}return n(e,t),e.prototype.destroy=function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1},e.prototype.onMediaAttaching=function(t){var e=this.hls.config;if(e.capLevelOnFPSDrop){"function"==typeof(this.video=t.media instanceof window.HTMLVideoElement?t.media:null).getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),e.fpsDroppedMonitoringPeriod)}},e.prototype.checkFPS=function(t,e,r){var i=d.now();if(e){if(this.lastTime){var a=i-this.lastTime,n=r-this.lastDroppedFrames,s=e-this.lastDecodedFrames,u=1e3*n/a,c=this.hls;if(c.trigger(o.a.FPS_DROP,{currentDropped:n,currentDecoded:s,totalDroppedFrames:r}),u>0&&n>c.config.fpsDroppedMonitoringThreshold*s){var h=c.currentLevel;l.b.warn("drop FPS ratio greater than max allowed value for currentLevel: "+h),h>0&&(-1===c.autoLevelCapping||c.autoLevelCapping>=h)&&(h-=1,c.trigger(o.a.FPS_DROP_LEVEL_CAPPING,{level:h,droppedLevel:c.currentLevel}),c.autoLevelCapping=h,c.streamController.nextLevelSwitch())}}this.lastTime=i,this.lastDroppedFrames=r,this.lastDecodedFrames=e}},e.prototype.checkFPSInterval=function(){var t=this.video;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)},e}(s.a);e.a=c},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=r(0),n=window,o=n.performance,s=n.XMLHttpRequest,l=function(){function t(e){i(this,t),e&&e.xhrSetup&&(this.xhrSetup=e.xhrSetup)}return t.prototype.destroy=function(){this.abort(),this.loader=null},t.prototype.abort=function(){var t=this.loader;t&&4!==t.readyState&&(this.stats.aborted=!0,t.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null},t.prototype.load=function(t,e,r){this.context=t,this.config=e,this.callbacks=r,this.stats={trequest:o.now(),retry:0},this.retryDelay=e.retryDelay,this.loadInternal()},t.prototype.loadInternal=function(){var t=void 0,e=this.context;t=this.loader=new s;var r=this.stats;r.tfirst=0,r.loaded=0;var i=this.xhrSetup;try{if(i)try{i(t,e.url)}catch(r){t.open("GET",e.url,!0),i(t,e.url)}t.readyState||t.open("GET",e.url,!0)}catch(r){return void this.callbacks.onError({code:t.status,text:r.message},e,t)}e.rangeEnd&&t.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=e.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),t.send()},t.prototype.readystatechange=function(t){var e=t.currentTarget,r=e.readyState,i=this.stats,n=this.context,s=this.config;if(!i.aborted&&r>=2)if(window.clearTimeout(this.requestTimeout),0===i.tfirst&&(i.tfirst=Math.max(o.now(),i.trequest)),4===r){var l=e.status;if(l>=200&&l<300){i.tload=Math.max(i.tfirst,o.now());var u=void 0,d=void 0;"arraybuffer"===n.responseType?(u=e.response,d=u.byteLength):(u=e.responseText,d=u.length),i.loaded=i.total=d;var c={url:e.responseURL,data:u};this.callbacks.onSuccess(c,i,n,e)}else i.retry>=s.maxRetry||l>=400&&l<499?(a.b.error(l+" while loading "+n.url),this.callbacks.onError({code:l,text:e.statusText},n,e)):(a.b.warn(l+" while loading "+n.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,s.maxRetryDelay),i.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),s.timeout)},t.prototype.loadtimeout=function(){a.b.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)},t.prototype.loadprogress=function(t){var e=t.currentTarget,r=this.stats;r.loaded=t.loaded,t.lengthComputable&&(r.total=t.total);var i=this.callbacks.onProgress;i&&i(r,this.context,null,e)},t}();e.a=l},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(10),l=r(0),u=r(2),d=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),c=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.MANIFEST_LOADING,o.a.MANIFEST_PARSED,o.a.AUDIO_TRACK_LOADED,o.a.AUDIO_TRACK_SWITCHED,o.a.LEVEL_LOADED,o.a.ERROR));return n._trackId=-1,n._selectDefaultTrack=!0,n.tracks=[],n.trackIdBlacklist=Object.create(null),n.audioGroupId=null,n}return n(e,t),e.prototype.onManifestLoading=function(){this.tracks=[],this._trackId=-1,this._selectDefaultTrack=!0},e.prototype.onManifestParsed=function(t){var e=this.tracks=t.audioTracks||[];this.hls.trigger(o.a.AUDIO_TRACKS_UPDATED,{audioTracks:e})},e.prototype.onAudioTrackLoaded=function(t){if(t.id>=this.tracks.length)return void l.b.warn("Invalid audio track id:",t.id);if(l.b.log("audioTrack "+t.id+" loaded"),this.tracks[t.id].details=t.details,t.details.live&&!this.hasInterval()){var e=1e3*t.details.targetduration;this.setInterval(e)}!t.details.live&&this.hasInterval()&&this.clearInterval()},e.prototype.onAudioTrackSwitched=function(t){var e=this.tracks[t.id].groupId;e&&this.audioGroupId!==e&&(this.audioGroupId=e)},e.prototype.onLevelLoaded=function(t){var e=this.hls.levels[t.level];if(e.audioGroupIds){var r=e.audioGroupIds[e.urlId];this.audioGroupId!==r&&(this.audioGroupId=r,this._selectInitialAudioTrack())}}
5,e.prototype.onError=function(t){t.type===u.b.NETWORK_ERROR&&(t.fatal&&this.clearInterval(),t.details===u.a.AUDIO_TRACK_LOAD_ERROR&&(l.b.warn("Network failure on audio-track id:",t.context.id),this._handleLoadError()))},e.prototype._setAudioTrack=function(t){if(this._trackId===t&&this.tracks[this._trackId].details)return void l.b.debug("Same id as current audio-track passed, and track details available -> no-op");if(t<0||t>=this.tracks.length)return void l.b.warn("Invalid id passed to audio-track controller");var e=this.tracks[t];l.b.log("Now switching to audio-track index "+t),this.clearInterval(),this._trackId=t;var r=e.url,i=e.type,a=e.id;this.hls.trigger(o.a.AUDIO_TRACK_SWITCHING,{id:a,type:i,url:r}),this._loadTrackDetailsIfNeeded(e)},e.prototype.doTick=function(){this._updateTrack(this._trackId)},e.prototype._selectInitialAudioTrack=function(){var t=this,e=this.tracks;if(e.length){var r=this.tracks[this._trackId],i=null;if(r&&(i=r.name),this._selectDefaultTrack){var a=e.filter(function(t){return t.default});a.length?e=a:l.b.warn("No default audio tracks defined")}var n=!1,s=function(){e.forEach(function(e){n||t.audioGroupId&&e.groupId!==t.audioGroupId||i&&i!==e.name||(t._setAudioTrack(e.id),n=!0)})};s(),n||(i=null,s()),n||(l.b.error("No track found for running audio group-ID: "+this.audioGroupId),this.hls.trigger(o.a.ERROR,{type:u.b.MEDIA_ERROR,details:u.a.AUDIO_TRACK_LOAD_ERROR,fatal:!0}))}},e.prototype._needsTrackLoading=function(t){var e=t.details;return!e||(!!e.live||void 0)},e.prototype._loadTrackDetailsIfNeeded=function(t){if(this._needsTrackLoading(t)){var e=t.url,r=t.id;l.b.log("loading audio-track playlist for id: "+r),this.hls.trigger(o.a.AUDIO_TRACK_LOADING,{url:e,id:r})}},e.prototype._updateTrack=function(t){if(!(t<0||t>=this.tracks.length)){this.clearInterval(),this._trackId=t,l.b.log("trying to update audio-track "+t);var e=this.tracks[t];this._loadTrackDetailsIfNeeded(e)}},e.prototype._handleLoadError=function(){this.trackIdBlacklist[this._trackId]=!0;var t=this._trackId,e=this.tracks[t],r=e.name,i=e.language,a=e.groupId;l.b.warn("Loading failed on audio track id: "+t+", group-id: "+a+', name/language: "'+r+'" / "'+i+'"');for(var n=t,o=0;o<this.tracks.length;o++)if(!this.trackIdBlacklist[o]){var s=this.tracks[o];if(s.name===r){n=o;break}}if(n===t)return void l.b.warn('No fallback audio-track found for name/language: "'+r+'" / "'+i+'"');l.b.log("Attempting audio-track fallback id:",n,"group-id:",this.tracks[n].groupId),this._setAudioTrack(n)},d(e,[{key:"audioTracks",get:function(){return this.tracks}},{key:"audioTrack",get:function(){return this._trackId},set:function(t){this._setAudioTrack(t),this._selectDefaultTrack=!1}}]),e}(s.a);e.a=c},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(3),s=r(7),l=r(8),u=r(21),d=r(1),c=r(16),h=r(25),f=r(2),p=r(0),g=r(26),v=r(10),y=r(12),m=r(11),b=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),E=window,T=E.performance,S={STOPPED:"STOPPED",STARTING:"STARTING",IDLE:"IDLE",PAUSED:"PAUSED",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS"},A=function(t){function e(r,n){i(this,e);
vendor: 18,622 bytes, line 5
5var o=a(this,t.call(this,r,d.a.MEDIA_ATTACHED,d.a.MEDIA_DETACHING,d.a.AUDIO_TRACKS_UPDATED,d.a.AUDIO_TRACK_SWITCHING,d.a.AUDIO_TRACK_LOADED,d.a.KEY_LOADED,d.a.FRAG_LOADED,d.a.FRAG_PARSING_INIT_SEGMENT,d.a.FRAG_PARSING_DATA,d.a.FRAG_PARSED,d.a.ERROR,d.a.BUFFER_RESET,d.a.BUFFER_CREATED,d.a.BUFFER_APPENDED,d.a.BUFFER_FLUSHED,d.a.INIT_PTS_FOUND));return o.fragmentTracker=n,o.config=r.config,o.audioCodecSwap=!1,o._state=S.STOPPED,o.initPTS=[],o.waitingFragment=null,o.videoTrackCC=null,o}return n(e,t),e.prototype.onHandlerDestroying=function(){this.stopLoad(),t.prototype.onHandlerDestroying.call(this)},e.prototype.onHandlerDestroyed=function(){this.state=S.STOPPED,this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},e.prototype.onInitPtsFound=function(t){var e=t.id,r=t.frag.cc,i=t.initPTS;"main"===e&&(this.initPTS[r]=i,this.videoTrackCC=r,p.b.log("InitPTS for cc: "+r+" found from video track: "+i),this.state===S.WAITING_INIT_PTS&&this.tick())},e.prototype.startLoad=function(t){if(this.tracks){var e=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),this.fragLoadError=0,e>0&&-1===t?(p.b.log("audio:override startPosition with lastCurrentTime @"+e.toFixed(3)),this.state=S.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:t,this.state=S.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=t,this.state=S.STOPPED},e.prototype.stopLoad=function(){var t=this.fragCurrent;t&&(t.loader&&t.loader.abort(),this.fragmentTracker.removeFragment(t),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=S.STOPPED},e.prototype.doTick=function(){var t=void 0,e=void 0,r=void 0,i=this.hls,a=i.config;switch(this.state){case S.ERROR:case S.PAUSED:case S.BUFFER_FLUSHING:break;case S.STARTING:this.state=S.WAITING_TRACK,this.loadedmetadata=!1;break;case S.IDLE:var n=this.tracks;if(!n)break;if(!this.media&&(this.startFragRequested||!a.startFragPrefetch))break;if(this.loadedmetadata)t=this.media.currentTime;else if(void 0===(t=this.nextLoadPosition))break;var u=this.mediaBuffer?this.mediaBuffer:this.media,c=this.videoBuffer?this.videoBuffer:this.media,h=l.a.bufferInfo(u,t,a.maxBufferHole),f=l.a.bufferInfo(c,t,a.maxBufferHole),v=h.len,m=h.end,b=this.fragPrevious,E=Math.min(a.maxBufferLength,a.maxMaxBufferLength),A=Math.max(E,f.len),R=this.audioSwitch,_=this.trackId;if((v<A||R)&&_<n.length){if(void 0===(r=n[_].details)){this.state=S.WAITING_TRACK;break}if(!R&&!r.live&&b&&b.sn===r.endSN&&!h.nextStart&&(!this.media.seeking||this.media.duration-m<b.duration/2)){this.hls.trigger(d.a.BUFFER_EOS,{type:"audio"}),this.state=S.ENDED;break}var w=r.fragments,L=w.length,D=w[0].start,I=w[L-1].start+w[L-1].duration,k=void 0;if(R)if(r.live&&!r.PTSKnown)p.b.log("switching audiotrack, live stream, unknown PTS,load first fragment"),m=0;else if(m=t,r.PTSKnown&&t<D){if(!(h.end>D||h.nextStart))return;p.b.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=D+.05}if(r.initSegment&&!r.initSegment.data)k=r.initSegment;else if(m<=D){if(k=w[0],null!==this.videoTrackCC&&k.cc!==this.videoTrackCC&&(k=Object(g.b)(w,this.videoTrackCC)),r.live&&k.loadIdx&&k.loadIdx===this.fragLoadIdx){var O=h.nextStart?h.nextStart:D;return p.b.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(O+.05)),void(this.media.currentTime=O+.05)}}else{var C=void 0,P=a.maxFragLookUpTolerance,x=b?w[b.sn-w[0].sn+1]:void 0,F=function(t){var e=Math.min(P,t.duration);return t.start+t.duration-e<=m?1:t.start-e>m&&t.start?-1:0};m<I?(m>I-P&&(P=0),C=x&&!F(x)?x:s.a.search(w,F)):C=w[L-1],C&&(k=C,D=C.start,b&&k.level===b.level&&k.sn===b.sn&&(k.sn<r.endSN?(k=w[k.sn+1-r.startSN],p.b.log("SN just loaded, load next one: "+k.sn)):k=null))}k&&(k.encrypted?(p.b.log("Loading key for "+k.sn+" of ["+r.startSN+" ,"+r.endSN+"],track "+_),this.state=S.KEY_LOADING,i.trigger(d.a.KEY_LOADING,{frag:k})):(p.b.log("Loading "+k.sn+", cc: "+k.cc+" of ["+r.startSN+" ,"+r.endSN+"],track "+_+", currentTime:"+t+",bufferEnd:"+m.toFixed(3)),(R||this.fragmentTracker.getState(k)===y.a.NOT_LOADED)&&(this.fragCurrent=k,this.startFragRequested=!0,Object(o.a)(k.sn)&&(this.nextLoadPosition=k.start+k.duration),i.trigger(d.a.FRAG_LOADING,{frag:k}),this.state=S.FRAG_LOADING)))}break;case S.WAITING_TRACK:e=this.tracks[this.trackId],e&&e.details&&(this.state=S.IDLE);break;case S.FRAG_LOADING_WAITING_RETRY:var M=T.now(),N=this.retryDate;u=this.media;var U=u&&u.seeking;(!N||M>=N||U)&&(p.b.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=S.IDLE);break;case S.WAITING_INIT_PTS:var B=this.videoTrackCC;if(void 0===this.initPTS[B])break;var G=this.waitingFragment;if(G){var K=G.frag.cc;B!==K?(e=this.tracks[this.trackId],e.details&&e.details.live&&(p.b.warn("Waiting fragment CC ("+K+") does not match video track CC ("+B+")"),this.waitingFragment=null,this.state=S.IDLE)):(this.state=S.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=S.IDLE;break;case S.STOPPED:case S.FRAG_LOADING:case S.PARSING:case S.PARSED:case S.ENDED:}},e.prototype.onMediaAttached=function(t){var e=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),e.addEventListener("seeking",this.onvseeking),e.addEventListener("ended",this.onvended);var r=this.config;this.tracks&&r.autoStartLoad&&this.startLoad(r.startPosition)},e.prototype.onMediaDetaching=function(){var t=this.media;t&&t.ended&&(p.b.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),t&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()},e.prototype.onMediaSeeking=function(){this.state===S.ENDED&&(this.state=S.IDLE),this.media&&(this.lastCurrentTime=this.media.currentTime),this.tick()},e.prototype.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},e.prototype.onAudioTracksUpdated=function(t){p.b.log("audio tracks updated"),this.tracks=t.audioTracks},e.prototype.onAudioTrackSwitching=function(t){var e=!!t.url;this.trackId=t.id,this.fragCurrent=null,this.state=S.PAUSED,this.waitingFragment=null,e?this.setInterval(100):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),e&&(this.audioSwitch=!0,this.state=S.IDLE),this.tick()},e.prototype.onAudioTrackLoaded=function(t){var e=t.details,r=t.id,i=this.tracks[r],a=e.totalduration,n=0;if(p.b.log("track "+r+" loaded ["+e.startSN+","+e.endSN+"],duration:"+a),e.live){var s=i.details;s&&e.fragments.length>0?(c.b(s,e),n=e.fragments[0].start,e.PTSKnown?p.b.log("live audio playlist sliding:"+n.toFixed(3)):p.b.log("live audio playlist - outdated PTS, unknown sliding")):(e.PTSKnown=!1,p.b.log("live audio playlist - first load, unknown sliding"))}else e.PTSKnown=!1;if(i.details=e,!this.startFragRequested){if(-1===this.startPosition){var l=e.startTimeOffset;Object(o.a)(l)?(p.b.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l):this.startPosition=0}this.nextLoadPosition=this.startPosition}this.state===S.WAITING_TRACK&&(this.state=S.IDLE),this.tick()},e.prototype.onKeyLoaded=function(){this.state===S.KEY_LOADING&&(this.state=S.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,r=t.frag;if(this.state===S.FRAG_LOADING&&e&&"audio"===r.type&&r.level===e.level&&r.sn===e.sn){var i=this.tracks[this.trackId],a=i.details,n=a.totalduration,o=e.level,s=e.sn,l=e.cc,c=this.config.defaultAudioCodec||i.audioCodec||"mp4a.40.2",h=this.stats=t.stats;if("initSegment"===s)this.state=S.IDLE,h.tparsed=h.tbuffered=T.now(),a.initSegment.data=t.payload,this.hls.trigger(d.a.FRAG_BUFFERED,{stats:h,frag:e,id:"audio"}),this.tick();else{this.state=S.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new u.a(this.hls,"audio"));var f=this.initPTS[l],g=a.initSegment?a.initSegment.data:[];if(a.initSegment||void 0!==f){this.pendingBuffering=!0,p.b.log("Demuxing "+s+" of ["+a.startSN+" ,"+a.endSN+"],track "+o);this.demuxer.push(t.payload,g,c,null,e,n,!1,f)}else p.b.log("unknown video PTS for continuity counter "+l+", waiting for video PTS before demuxing audio frag "+s+" of ["+a.startSN+" ,"+a.endSN+"],track "+o),this.waitingFragment=t,this.state=S.WAITING_INIT_PTS}}this.fragLoadError=0},e.prototype.onFragParsingInitSegment=function(t){var e=this.fragCurrent,r=t.frag;if(e&&"audio"===t.id&&r.sn===e.sn&&r.level===e.level&&this.state===S.PARSING){var i=t.tracks,a=void 0;if(i.video&&delete i.video,a=i.audio){a.levelCodec=a.codec,a.id=t.id,this.hls.trigger(d.a.BUFFER_CODECS,i),p.b.log("audio track:audio,container:"+a.container+",codecs[level/parsed]=["+a.levelCodec+"/"+a.codec+"]");var n=a.initSegment;if(n){var o={type:"audio",data:n,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[o]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(d.a.BUFFER_APPENDING,o))}this.tick()}}},e.prototype.onFragParsingData=function(t){var e=this,r=this.fragCurrent,i=t.frag;if(r&&"audio"===t.id&&"audio"===t.type&&i.sn===r.sn&&i.level===r.level&&this.state===S.PARSING){var a=this.trackId,n=this.tracks[a],s=this.hls;Object(o.a)(t.endPTS)||(t.endPTS=t.startPTS+r.duration,t.endDTS=t.startDTS+r.duration),r.addElementaryStream(m.a.ElementaryStreamTypes.AUDIO),p.b.log("parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb),c.c(n.details,r,t.startPTS,t.endPTS);var l=this.audioSwitch,u=this.media,h=!1;if(l&&u)if(u.readyState){var g=u.currentTime;p.b.log("switching audio track : currentTime:"+g),g>=t.startPTS&&(p.b.log("switching audio track : flushing all audio"),this.state=S.BUFFER_FLUSHING,s.trigger(d.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),h=!0,this.audioSwitch=!1,s.trigger(d.a.AUDIO_TRACK_SWITCHED,{id:a}))}else this.audioSwitch=!1,s.trigger(d.a.AUDIO_TRACK_SWITCHED,{id:a});var v=this.pendingData;if(!v)return p.b.warn("Apparently attempt to enqueue media payload without codec initialization data upfront"),void s.trigger(d.a.ERROR,{type:f.b.MEDIA_ERROR,details:null,fatal:!0});this.audioSwitch||([t.data1,t.data2].forEach(function(e){e&&e.length&&v.push({type:t.type,data:e,parent:"audio",content:"data"})}),!h&&v.length&&(v.forEach(function(t){e.state===S.PARSING&&(e.pendingBuffering=!0,e.hls.trigger(d.a.BUFFER_APPENDING,t))}),this.pendingData=[],this.appended=!0)),this.tick()}},e.prototype.onFragParsed=function(t){var e=this.fragCurrent,r=t.frag;e&&"audio"===t.id&&r.sn===e.sn&&r.level===e.level&&this.state===S.PARSING&&(this.stats.tparsed=T.now(),this.state=S.PARSED,this._checkAppendedParsed())},e.prototype.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},e.prototype.onBufferCreated=function(t){var e=t.tracks.audio;e&&(this.mediaBuffer=e.buffer,this.loadedmetadata=!0),t.tracks.video&&(this.videoBuffer=t.tracks.video.buffer)},e.prototype.onBufferAppended=function(t){if("audio"===t.parent){var e=this.state;e!==S.PARSING&&e!==S.PARSED||(this.pendingBuffering=t.pending>0,this._checkAppendedParsed())}},e.prototype._checkAppendedParsed=function(){if(!(this.state!==S.PARSED||this.appended&&this.pendingBuffering)){var t=this.fragCurrent,e=this.stats,r=this.hls;if(t){this.fragPrevious=t,e.tbuffered=T.now(),r.trigger(d.a.FRAG_BUFFERED,{stats:e,frag:t,id:"audio"});var i=this.mediaBuffer?this.mediaBuffer:this.media;p.b.log("audio buffered : "+h.a.toString(i.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,r.trigger(d.a.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=S.IDLE}this.tick()}},e.prototype.onError=function(t){var e=t.frag;if(!e||"audio"===e.type)switch(t.details){case f.a.FRAG_LOAD_ERROR:case f.a.FRAG_LOAD_TIMEOUT:var r=t.frag;if(r&&"audio"!==r.type)break;if(!t.fatal){var i=this.fragLoadError;i?i++:i=1;var a=this.config;if(i<=a.fragLoadingMaxRetry){this.fragLoadError=i;var n=Math.min(Math.pow(2,i-1)*a.fragLoadingRetryDelay,a.fragLoadingMaxRetryTimeout);p.b.warn("AudioStreamController: frag loading failed, retry in "+n+" ms"),this.retryDate=T.now()+n,this.state=S.FRAG_LOADING_WAITING_RETRY}else p.b.error("AudioStreamController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=S.ERROR}break;case f.a.AUDIO_TRACK_LOAD_ERROR:case f.a.AUDIO_TRACK_LOAD_TIMEOUT:case f.a.KEY_LOAD_ERROR:case f.a.KEY_LOAD_TIMEOUT:this.state!==S.ERROR&&(this.state=t.fatal?S.ERROR:S.IDLE,p.b.warn("AudioStreamController: "+t.details+" while loading frag, now switching to "+this.state+" state ..."));break;case f.a.BUFFER_FULL_ERROR:if("audio"===t.parent&&(this.state===S.PARSING||this.state===S.PARSED)){var o=this.mediaBuffer,s=this.media.currentTime;if(o&&l.a.isBuffered(o,s)&&l.a.isBuffered(o,s+.5)){var u=this.config;u.maxMaxBufferLength>=u.maxBufferLength&&(u.maxMaxBufferLength/=2,p.b.warn("AudioStreamController: reduce max buffer length to "+u.maxMaxBufferLength+"s")),this.state=S.IDLE}else p.b.warn("AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=S.BUFFER_FLUSHING,this.hls.trigger(d.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"})}}},e.prototype.onBufferFlushed=function(){var t=this,e=this.pendingData;e&&e.length?(p.b.log("AudioStreamController: appending pending audio data after buffer flushed"),e.forEach(function(e){t.hls.trigger(d.a.BUFFER_APPENDING,e)}),this.appended=!0,this.pendingData=[],this.state=S.PARSED):(this.state=S.IDLE,this.fragPrevious=null,this.tick())},b(e,[{key:"state",set:function(t){if(this.state!==t){var e=this.state;this._state=t,p.b.log("audio stream:"+e+"->"+t)}},get:function(){return this._state}}]),e}(v.a);e.a=A},function(t,e,r){"use strict";function i(t,e,r,i){for(var n=void 0,o=void 0,s=void 0,l=void 0,u=void 0,d=window.VTTCue||window.TextTrackCue,c=0;c<i.rows.length;c++)if(n=i.rows[c],s=!0,l=0,u="",!n.isEmpty()){for(var h=0;h<n.chars.length;h++)n.chars[h].uchar.match(/\s/)&&s?l++:(u+=n.chars[h].uchar,s=!1);n.cueStartTime=e,e===r&&(r+=1e-4),o=new d(e,r,Object(a.b)(u.trim())),l>=16?l--:l++,navigator.userAgent.match(/Firefox\//)?o.line=c+1:o.line=c>7?c-2:c+1,o.align="left",o.position=Math.max(0,Math.min(100,l/32*100+(navigator.userAgent.match(/Firefox\//)?50:0))),t.addCue(o)}}Object.defineProperty(e,"__esModule",{value:!0}),e.newCue=i;var a=r(28)},function(t,e,r){"use strict";e.a=function(){function t(t){return"string"==typeof t&&(!!n[t.toLowerCase()]&&t.toLowerCase())}function e(t){return"string"==typeof t&&(!!o[t.toLowerCase()]&&t.toLowerCase())}function r(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)t[i]=r[i]}return t}function i(i,n,o){var s=this,l=function(){if("undefined"!=typeof navigator)return/MSIE\s8\.0/.test(navigator.userAgent)}(),u={};l?s=document.createElement("custom"):u.enumerable=!0,s.hasBeenReset=!1;var d="",c=!1,h=i,f=n,p=o,g=null,v="",y=!0,m="auto",b="start",E=50,T="middle",S=50,A="middle";if(Object.defineProperty(s,"id",r({},u,{get:function(){return d},set:function(t){d=""+t}})),Object.defineProperty(s,"pauseOnExit",r({},u,{get:function(){return c},set:function(t){c=!!t}})),Object.defineProperty(s,"startTime",r({},u,{get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"endTime",r({},u,{get:function(){return f},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");f=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"text",r({},u,{get:function(){return p},set:function(t){p=""+t,this.hasBeenReset=!0}})),Object.defineProperty(s,"region",r({},u,{get:function(){return g},set:function(t){g=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"vertical",r({},u,{get:function(){return v},set:function(e){var r=t(e);if(!1===r)throw new SyntaxError("An invalid or illegal string was specified.");v=r,this.hasBeenReset=!0}})),Object.defineProperty(s,"snapToLines",r({},u,{get:function(){return y},set:function(t){y=!!t,this.hasBeenReset=!0}})),Object.defineProperty(s,"line",r({},u,{get:function(){return m},set:function(t){if("number"!=typeof t&&t!==a)throw new SyntaxError("An invalid number or illegal string was specified.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"lineAlign",r({},u,{get:function(){return b},set:function(t){var r=e(t);if(!r)throw new SyntaxError("An invalid or illegal string was specified.");b=r,this.hasBeenReset=!0}})),Object.defineProperty(s,"position",r({},u,{get:function(){return E},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");E=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"positionAlign",r({},u,{get:function(){return T},set:function(t){var r=e(t);if(!r)throw new SyntaxError("An invalid or illegal string was specified.");T=r,this.hasBeenReset=!0}})),Object.defineProperty(s,"size",r({},u,{get:function(){return S},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");S=t,this.hasBeenReset=!0}})),Object.defineProperty(s,"align",r({},u,{get:function(){return A},set:function(t){var r=e(t);if(!r)throw new SyntaxError("An invalid or illegal string was specified.");A=r,this.hasBeenReset=!0}})),s.displayState=void 0,l)return s}if("undefined"!=typeof window&&window.VTTCue)return window.VTTCue;var a="auto",n={"":!0,lr:!0,rl:!0},o={start:!0,middle:!0,end:!0,left:!0,right:!0};return i.prototype.getCueAsHTML=function(){return window.WebVTT.convertCueToDOMTree(window,this.text)},i}()},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function o(t,e){return t&&t.label===e.name&&!(t.textTrack1||t.textTrack2)}function s(t,e,r,i){return Math.min(e,i)-Math.max(t,r)}var l=r(1),u=r(4),d=r(68),c=r(69),h=r(70),f=r(0),p=r(27),g=function(t){function e(r){i(this,e);
5var n=a(this,t.call(this,r,l.a.MEDIA_ATTACHING,l.a.MEDIA_DETACHING,l.a.FRAG_PARSING_USERDATA,l.a.FRAG_DECRYPTED,l.a.MANIFEST_LOADING,l.a.MANIFEST_LOADED,l.a.FRAG_LOADED,l.a.LEVEL_SWITCHING,l.a.INIT_PTS_FOUND));if(n.hls=r,n.config=r.config,n.enabled=!0,n.Cues=r.config.cueHandler,n.textTracks=[],n.tracks=[],n.unparsedVttFrags=[],n.initPTS=void 0,n.cueRanges=[],n.captionsTracks={},n.captionsProperties={textTrack1:{label:n.config.captionsTextTrack1Label,languageCode:n.config.captionsTextTrack1LanguageCode},textTrack2:{label:n.config.captionsTextTrack2Label,languageCode:n.config.captionsTextTrack2LanguageCode}},n.config.enableCEA708Captions){var o=new c.a(n,"textTrack1"),s=new c.a(n,"textTrack2");n.cea608Parser=new d.a(0,o,s)}return n}return n(e,t),e.prototype.addCues=function(t,e,r,i){for(var a=this.cueRanges,n=!1,o=a.length;o--;){var l=a[o],u=s(l[0],l[1],e,r);if(u>=0&&(l[0]=Math.min(l[0],e),l[1]=Math.max(l[1],r),n=!0,u/(r-e)>.5))return}n||a.push([e,r]),this.Cues.newCue(this.captionsTracks[t],e,r,i)},e.prototype.onInitPtsFound=function(t){var e=this;void 0===this.initPTS&&(this.initPTS=t.initPTS),this.unparsedVttFrags.length&&(this.unparsedVttFrags.forEach(function(t){e.onFragLoaded(t)}),this.unparsedVttFrags=[])},e.prototype.getExistingTrack=function(t){var e=this.media;if(e)for(var r=0;r<e.textTracks.length;r++){var i=e.textTracks[r];if(i[t])return i}return null},e.prototype.createCaptionsTrack=function(t){var e=this.captionsProperties[t],r=e.label,i=e.languageCode,a=this.captionsTracks;if(!a[t]){var n=this.getExistingTrack(t);if(n)a[t]=n,Object(p.a)(a[t]),Object(p.b)(a[t],this.media);else{var o=this.createTextTrack("captions",r,i);o&&(o[t]=!0,a[t]=o)}}},e.prototype.createTextTrack=function(t,e,r){var i=this.media;if(i)return i.addTextTrack(t,e,r)},e.prototype.destroy=function(){u.a.prototype.destroy.call(this)},e.prototype.onMediaAttaching=function(t){this.media=t.media,this._cleanTracks()},e.prototype.onMediaDetaching=function(){var t=this.captionsTracks;Object.keys(t).forEach(function(e){Object(p.a)(t[e]),delete t[e]})},e.prototype.onManifestLoading=function(){this.lastSn=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0},this._cleanTracks()},e.prototype._cleanTracks=function(){var t=this.media;if(t){var e=t.textTracks;if(e)for(var r=0;r<e.length;r++)Object(p.a)(e[r])}},e.prototype.onManifestLoaded=function(t){var e=this;if(this.textTracks=[],this.unparsedVttFrags=this.unparsedVttFrags||[],this.initPTS=void 0,this.cueRanges=[],this.config.enableWebVTT){this.tracks=t.subtitles||[];var r=this.media?this.media.textTracks:[];this.tracks.forEach(function(t,i){var a=void 0;if(i<r.length){var n=r[i];o(n,t)&&(a=n)}a||(a=e.createTextTrack("subtitles",t.name,t.lang)),t.default?a.mode=e.hls.subtitleDisplay?"showing":"hidden":a.mode="disabled",e.textTracks.push(a)})}},e.prototype.onLevelSwitching=function(){this.enabled="NONE"!==this.hls.currentLevel.closedCaptions},e.prototype.onFragLoaded=function(t){var e=t.frag,r=t.payload;if("main"===e.type){var i=e.sn;if(i!==this.lastSn+1){var a=this.cea608Parser;a&&a.reset()}this.lastSn=i}else if("subtitle"===e.type)if(r.byteLength){if(void 0===this.initPTS)return void this.unparsedVttFrags.push(t);var n=e.decryptdata;null!=n&&null!=n.key&&"AES-128"===n.method||this._parseVTTs(e,r)}else this.hls.trigger(l.a.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})},e.prototype._parseVTTs=function(t,e){var r=this.vttCCs;r[t.cc]||(r[t.cc]={start:t.start,prevCC:this.prevCC,new:!0},this.prevCC=t.cc);var i=this.textTracks,a=this.hls;h.a.parse(e,this.initPTS,r,t.cc,function(e){var r=i[t.trackId];if("disabled"===r.mode)return void a.trigger(l.a.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t});e.forEach(function(t){if(!r.cues.getCueById(t.id))try{r.addCue(t)}catch(i){var e=new window.TextTrackCue(t.startTime,t.endTime,t.text);e.id=t.id,r.addCue(e)}}),a.trigger(l.a.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:t})},function(e){f.b.log("Failed to parse VTT cue: "+e),a.trigger(l.a.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:t})})},e.prototype.onFragDecrypted=function(t){var e=t.payload,r=t.frag;if("subtitle"===r.type){if(void 0===this.initPTS)return void this.unparsedVttFrags.push(t);this._parseVTTs(r,e)}},e.prototype.onFragParsingUserdata=function(t){if(this.enabled&&this.config.enableCEA708Captions)for(var e=0;e<t.samples.length;e++){var r=this.extractCea608Data(t.samples[e].bytes);this.cea608Parser.addData(t.samples[e].pts,r)}},e.prototype.extractCea608Data=function(t){for(var e=31&t[0],r=2,i=void 0,a=void 0,n=void 0,o=void 0,s=void 0,l=[],u=0;u<e;u++)i=t[r++],a=127&t[r++],n=127&t[r++],o=0!=(4&i),s=3&i,0===a&&0===n||o&&0===s&&(l.push(a),l.push(n));return l},e}(u.a);e.a=g},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,
vendor: 9,051 bytes, line 5
5185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},n=function(t){var e=t;return a.hasOwnProperty(t)&&(e=a[t]),String.fromCharCode(e)},o=15,s=100,l={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},u={17:2,18:4,21:6,22:8,23:10,19:13,20:15},d={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},c={25:2,26:4,29:6,30:8,31:10,27:13,28:15},h=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],f={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(t){this.time=t},log:function(t,e){this.verboseFilter[t];this.verboseLevel}},p=function(t){for(var e=[],r=0;r<t.length;r++)e.push(t[r].toString(16));return e},g=function(){function t(e,r,a,n,o){i(this,t),this.foreground=e||"white",this.underline=r||!1,this.italics=a||!1,this.background=n||"black",this.flash=o||!1}return t.prototype.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},t.prototype.setStyles=function(t){for(var e=["foreground","underline","italics","background","flash"],r=0;r<e.length;r++){var i=e[r];t.hasOwnProperty(i)&&(this[i]=t[i])}},t.prototype.isDefault=function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},t.prototype.equals=function(t){return this.foreground===t.foreground&&this.underline===t.underline&&this.italics===t.italics&&this.background===t.background&&this.flash===t.flash},t.prototype.copy=function(t){this.foreground=t.foreground,this.underline=t.underline,this.italics=t.italics,this.background=t.background,this.flash=t.flash},t.prototype.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},t}(),v=function(){function t(e,r,a,n,o,s){i(this,t),this.uchar=e||" ",this.penState=new g(r,a,n,o,s)}return t.prototype.reset=function(){this.uchar=" ",this.penState.reset()},t.prototype.setChar=function(t,e){this.uchar=t,this.penState.copy(e)},t.prototype.setPenState=function(t){this.penState.copy(t)},t.prototype.equals=function(t){return this.uchar===t.uchar&&this.penState.equals(t.penState)},t.prototype.copy=function(t){this.uchar=t.uchar,this.penState.copy(t.penState)},t.prototype.isEmpty=function(){return" "===this.uchar&&this.penState.isDefault()},t}(),y=function(){function t(){i(this,t),this.chars=[];for(var e=0;e<s;e++)this.chars.push(new v);this.pos=0,this.currPenState=new g}return t.prototype.equals=function(t){for(var e=!0,r=0;r<s;r++)if(!this.chars[r].equals(t.chars[r])){e=!1;break}return e},t.prototype.copy=function(t){for(var e=0;e<s;e++)this.chars[e].copy(t.chars[e])},t.prototype.isEmpty=function(){for(var t=!0,e=0;e<s;e++)if(!this.chars[e].isEmpty()){t=!1;break}return t},t.prototype.setCursor=function(t){this.pos!==t&&(this.pos=t),this.pos<0?(f.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>s&&(f.log("ERROR","Too large cursor position "+this.pos),this.pos=s)},t.prototype.moveCursor=function(t){var e=this.pos+t;if(t>1)for(var r=this.pos+1;r<e+1;r++)this.chars[r].setPenState(this.currPenState);this.setCursor(e)},t.prototype.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},t.prototype.insertChar=function(t){t>=144&&this.backSpace();var e=n(t);if(this.pos>=s)return void f.log("ERROR","Cannot insert "+t.toString(16)+" ("+e+") at position "+this.pos+". Skipping it!");this.chars[this.pos].setChar(e,this.currPenState),this.moveCursor(1)},t.prototype.clearFromPos=function(t){var e=void 0;for(e=t;e<s;e++)this.chars[e].reset()},t.prototype.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},t.prototype.clearToEndOfRow=function(){this.clearFromPos(this.pos)},t.prototype.getTextString=function(){for(var t=[],e=!0,r=0;r<s;r++){var i=this.chars[r].uchar;" "!==i&&(e=!1),t.push(i)}return e?"":t.join("")},t.prototype.setPenStyles=function(t){this.currPenState.setStyles(t),this.chars[this.pos].setPenState(this.currPenState)},t}(),m=function(){function t(){i(this,t),this.rows=[];for(var e=0;e<o;e++)this.rows.push(new y);this.currRow=o-1,this.nrRollUpRows=null,this.reset()}return t.prototype.reset=function(){for(var t=0;t<o;t++)this.rows[t].clear();this.currRow=o-1},t.prototype.equals=function(t){for(var e=!0,r=0;r<o;r++)if(!this.rows[r].equals(t.rows[r])){e=!1;break}return e},t.prototype.copy=function(t){for(var e=0;e<o;e++)this.rows[e].copy(t.rows[e])},t.prototype.isEmpty=function(){for(var t=!0,e=0;e<o;e++)if(!this.rows[e].isEmpty()){t=!1;break}return t},t.prototype.backSpace=function(){this.rows[this.currRow].backSpace()},t.prototype.clearToEndOfRow=function(){this.rows[this.currRow].clearToEndOfRow()},t.prototype.insertChar=function(t){this.rows[this.currRow].insertChar(t)},t.prototype.setPen=function(t){this.rows[this.currRow].setPenStyles(t)},t.prototype.moveCursor=function(t){this.rows[this.currRow].moveCursor(t)},t.prototype.setCursor=function(t){f.log("INFO","setCursor: "+t),this.rows[this.currRow].setCursor(t)},t.prototype.setPAC=function(t){f.log("INFO","pacData = "+JSON.stringify(t));var e=t.row-1;if(this.nrRollUpRows&&e<this.nrRollUpRows-1&&(e=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==e){for(var r=0;r<o;r++)this.rows[r].clear();var i=this.currRow+1-this.nrRollUpRows,a=this.lastOutputScreen;if(a){var n=a.rows[i].cueStartTime;if(n&&n<f.time)for(var s=0;s<this.nrRollUpRows;s++)this.rows[e-this.nrRollUpRows+s+1].copy(a.rows[i+s])}}this.currRow=e;var l=this.rows[this.currRow];if(null!==t.indent){var u=t.indent,d=Math.max(u-1,0);l.setCursor(t.indent),t.color=l.chars[d].penState.foreground}var c={foreground:t.color,underline:t.underline,italics:t.italics,background:"black",flash:!1};this.setPen(c)},t.prototype.setBkgData=function(t){f.log("INFO","bkgData = "+JSON.stringify(t)),this.backSpace(),this.setPen(t),this.insertChar(32)},t.prototype.setRollUpRows=function(t){this.nrRollUpRows=t},t.prototype.rollUp=function(){if(null===this.nrRollUpRows)return void f.log("DEBUG","roll_up but nrRollUpRows not set yet");f.log("TEXT",this.getDisplayText());var t=this.currRow+1-this.nrRollUpRows,e=this.rows.splice(t,1)[0];e.clear(),this.rows.splice(this.currRow,0,e),f.log("INFO","Rolling up")},t.prototype.getDisplayText=function(t){t=t||!1;for(var e=[],r="",i=-1,a=0;a<o;a++){var n=this.rows[a].getTextString();n&&(i=a+1,t?e.push("Row "+i+": '"+n+"'"):e.push(n.trim()))}return e.length>0&&(r=t?"["+e.join(" | ")+"]":e.join("\n")),r},t.prototype.getTextAndFormat=function(){return this.rows},t}(),b=function(){function t(e,r){i(this,t),this.chNr=e,this.outputFilter=r,this.mode=null,this.verbose=0,this.displayedMemory=new m,this.nonDisplayedMemory=new m,this.lastOutputScreen=new m,this.currRollUpRow=this.displayedMemory.rows[o-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}return t.prototype.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[o-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null},t.prototype.getHandler=function(){return this.outputFilter},t.prototype.setHandler=function(t){this.outputFilter=t},t.prototype.setPAC=function(t){this.writeScreen.setPAC(t)},t.prototype.setBkgData=function(t){this.writeScreen.setBkgData(t)},t.prototype.setMode=function(t){t!==this.mode&&(this.mode=t,f.log("INFO","MODE="+t),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=t)},t.prototype.insertChars=function(t){for(var e=0;e<t.length;e++)this.writeScreen.insertChar(t[e]);var r=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";f.log("INFO",r+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(f.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},t.prototype.ccRCL=function(){f.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},t.prototype.ccBS=function(){f.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},t.prototype.ccAOF=function(){},t.prototype.ccAON=function(){},t.prototype.ccDER=function(){f.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},t.prototype.ccRU=function(t){f.log("INFO","RU("+t+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(t)},t.prototype.ccFON=function(){f.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})},t.prototype.ccRDC=function(){f.log("INFO","RDC - Resume Direct 
5Captioning"),this.setMode("MODE_PAINT-ON")},t.prototype.ccTR=function(){f.log("INFO","TR"),this.setMode("MODE_TEXT")},t.prototype.ccRTD=function(){f.log("INFO","RTD"),this.setMode("MODE_TEXT")},t.prototype.ccEDM=function(){f.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)},t.prototype.ccCR=function(){f.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)},t.prototype.ccENM=function(){f.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},t.prototype.ccEOC=function(){if(f.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var t=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=t,this.writeScreen=this.nonDisplayedMemory,f.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)},t.prototype.ccTO=function(t){f.log("INFO","TO("+t+") - Tab Offset"),this.writeScreen.moveCursor(t)},t.prototype.ccMIDROW=function(t){var e={flash:!1};if(e.underline=t%2==1,e.italics=t>=46,e.italics)e.foreground="white";else{var r=Math.floor(t/2)-16,i=["white","green","blue","cyan","red","yellow","magenta"];e.foreground=i[r]}f.log("INFO","MIDROW: "+JSON.stringify(e)),this.writeScreen.setPen(e)},t.prototype.outputDataUpdate=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=f.time;null!==e&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&(this.outputFilter.newCue(this.cueStartTime,e,this.lastOutputScreen),!0===t&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue()),this.cueStartTime=this.displayedMemory.isEmpty()?null:e):this.cueStartTime=e,this.lastOutputScreen.copy(this.displayedMemory))},t.prototype.cueSplitAtTime=function(t){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,t,this.displayedMemory),this.cueStartTime=t))},t}(),E=function(){function t(e,r,a){i(this,t),this.field=e||1,this.outputs=[r,a],this.channels=[new b(1,r),new b(2,a)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}}return t.prototype.getHandler=function(t){return this.channels[t].getHandler()},t.prototype.setHandler=function(t,e){this.channels[t].setHandler(e)},t.prototype.addData=function(t,e){var r=void 0,i=void 0,a=void 0,n=!1;this.lastTime=t,f.setTime(t);for(var o=0;o<e.length;o+=2)if(i=127&e[o],a=127&e[o+1],0!==i||0!==a){if(f.log("DATA","["+p([e[o],e[o+1]])+"] -> ("+p([i,a])+")"),r=this.parseCmd(i,a),r||(r=this.parseMidrow(i,a)),r||(r=this.parsePAC(i,a)),r||(r=this.parseBackgroundAttributes(i,a)),!r&&(n=this.parseChars(i,a)))if(this.currChNr&&this.currChNr>=0){var s=this.channels[this.currChNr-1];s.insertChars(n)}else f.log("WARNING","No channel found yet. TEXT-MODE?");r?this.dataCounters.cmd+=2:n?this.dataCounters.char+=2:(this.dataCounters.other+=2,f.log("WARNING","Couldn't parse cleaned data "+p([i,a])+" orig: "+p([e[o],e[o+1]])))}else this.dataCounters.padding+=2},t.prototype.parseCmd=function(t,e){var r=null,i=(20===t||28===t)&&e>=32&&e<=47,a=(23===t||31===t)&&e>=33&&e<=35;if(!i&&!a)return!1;if(t===this.lastCmdA&&e===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,f.log("DEBUG","Repeated command ("+p([t,e])+") is dropped"),!0;r=20===t||23===t?1:2;var n=this.channels[r-1];return 20===t||28===t?32===e?n.ccRCL():33===e?n.ccBS():34===e?n.ccAOF():35===e?n.ccAON():36===e?n.ccDER():37===e?n.ccRU(2):38===e?n.ccRU(3):39===e?n.ccRU(4):40===e?n.ccFON():41===e?n.ccRDC():42===e?n.ccTR():43===e?n.ccRTD():44===e?n.ccEDM():45===e?n.ccCR():46===e?n.ccENM():47===e&&n.ccEOC():n.ccTO(e-32),this.lastCmdA=t,this.lastCmdB=e,this.currChNr=r,!0},t.prototype.parseMidrow=function(t,e){var r=null;if((17===t||25===t)&&e>=32&&e<=47){if((r=17===t?1:2)!==this.currChNr)return f.log("ERROR","Mismatch channel in midrow parsing"),!1;return this.channels[r-1].ccMIDROW(e),f.log("DEBUG","MIDROW ("+p([t,e])+")"),!0}return!1},t.prototype.parsePAC=function(t,e){var r=null,i=null,a=(t>=17&&t<=23||t>=25&&t<=31)&&e>=64&&e<=127,n=(16===t||24===t)&&e>=64&&e<=95;if(!a&&!n)return!1;if(t===this.lastCmdA&&e===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,!0;r=t<=23?1:2,i=e>=64&&e<=95?1===r?l[t]:d[t]:1===r?u[t]:c[t];var o=this.interpretPAC(i,e);return this.channels[r-1].setPAC(o),this.lastCmdA=t,this.lastCmdB=e,this.currChNr=r,!0},t.prototype.interpretPAC=function(t,e){var r=e,i={color:null,italics:!1,indent:null,underline:!1,row:t};return r=e>95?e-96:e-64,i.underline=1==(1&r),r<=13?i.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(i.italics=!0,i.color="white"):i.indent=4*Math.floor((r-16)/2),i},t.prototype.parseChars=function(t,e){var r=null,i=null,a=null;if(t>=25?(r=2,a=t-8):(r=1,a=t),a>=17&&a<=19){var o=e;o=17===a?e+80:18===a?e+112:e+144,f.log("INFO","Special char '"+n(o)+"' in channel "+r),i=[o]}else t>=32&&t<=127&&(i=0===e?[t]:[t,e]);if(i){var s=p(i);f.log("DEBUG","Char codes =  "+s.join(",")),this.lastCmdA=null,this.lastCmdB=null}return i}
vendor: 6,215 bytes, line 5
5,t.prototype.parseBackgroundAttributes=function(t,e){var r=void 0,i=void 0,a=void 0,n=void 0,o=(16===t||24===t)&&e>=32&&e<=47,s=(23===t||31===t)&&e>=45&&e<=47;return!(!o&&!s)&&(r={},16===t||24===t?(i=Math.floor((e-32)/2),r.background=h[i],e%2==1&&(r.background=r.background+"_semi")):45===e?r.background="transparent":(r.foreground="black",47===e&&(r.underline=!0)),a=t<24?1:2,n=this.channels[a-1],n.setBkgData(r),this.lastCmdA=null,this.lastCmdB=null,!0)},t.prototype.reset=function(){for(var t=0;t<this.channels.length;t++)this.channels[t]&&this.channels[t].reset();this.lastCmdA=null,this.lastCmdB=null},t.prototype.cueSplitAtTime=function(t){for(var e=0;e<this.channels.length;e++)this.channels[e]&&this.channels[e].cueSplitAtTime(t)},t}();e.a=E},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,r){i(this,t),this.timelineController=e,this.trackName=r,this.startTime=null,this.endTime=null,this.screen=null}return t.prototype.dispatchCue=function(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen),this.startTime=null)},t.prototype.newCue=function(t,e,r){(null===this.startTime||this.startTime>t)&&(this.startTime=t),this.endTime=e,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)},t}();e.a=a},function(t,e,r){"use strict";var i=r(3),a=r(28),n=r(9),o=function(t,e,r){return t.substr(r||0,e.length)===e},s=function(t){var e=parseInt(t.substr(-3)),r=parseInt(t.substr(-6,2)),a=parseInt(t.substr(-9,2)),n=t.length>9?parseInt(t.substr(0,t.indexOf(":"))):0;return Object(i.a)(e)&&Object(i.a)(r)&&Object(i.a)(a)&&Object(i.a)(n)?(e+=1e3*r,e+=6e4*a,e+=36e5*n):-1},l=function(t){for(var e=5381,r=t.length;r;)e=33*e^t.charCodeAt(--r);return(e>>>0).toString()},u=function(t,e,r){var i=t[e],a=t[i.prevCC];if(!a||!a.new&&i.new)return t.ccOffset=t.presentationOffset=i.start,void(i.new=!1);for(;a&&a.new;)t.ccOffset+=i.start-a.start,i.new=!1,i=a,a=t[i.prevCC];t.presentationOffset=r},d={parse:function(t,e,r,i,d,c){var h=/\r\n|\n\r|\n|\r/g,f=Object(n.b)(new Uint8Array(t)).trim().replace(h,"\n").split("\n"),p="00:00.000",g=0,v=0,y=0,m=[],b=void 0,E=!0,T=new a.a;T.oncue=function(t){var e=r[i],a=r.ccOffset;e&&e.new&&(void 0!==v?a=r.ccOffset=e.start:u(r,i,y)),y&&(a=y+r.ccOffset-r.presentationOffset),t.startTime+=a-v,t.endTime+=a-v,t.id=l(t.startTime.toString())+l(t.endTime.toString())+l(t.text),t.text=decodeURIComponent(encodeURIComponent(t.text)),t.endTime>0&&m.push(t)},T.onparsingerror=function(t){b=t},T.onflush=function(){if(b&&c)return void c(b);d(m)},f.forEach(function(t){if(E){if(o(t,"X-TIMESTAMP-MAP=")){E=!1,t.substr(16).split(",").forEach(function(t){o(t,"LOCAL:")?p=t.substr(6):o(t,"MPEGTS:")&&(g=parseInt(t.substr(7)))});try{e=e<0?e+8589934592:e,g-=e,v=s(p)/1e3,y=g/9e4,-1===v&&(b=new Error("Malformed X-TIMESTAMP-MAP: "+t))}catch(e){b=new Error("Malformed X-TIMESTAMP-MAP: "+t)}return}""===t&&(E=!1)}T.parse(t+"\n")}),T.flush()}};e.a=d},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function o(t){for(var e=[],r=0;r<t.length;r++)"subtitles"===t[r].kind&&e.push(t[r]);return e}var s=r(1),l=r(4),u=r(0),d=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),c=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.MEDIA_ATTACHED,s.a.MEDIA_DETACHING,s.a.MANIFEST_LOADING,s.a.MANIFEST_LOADED,s.a.SUBTITLE_TRACK_LOADED));return n.tracks=[],n.trackId=-1,n.media=null,n.subtitleDisplay=!0,n}return n(e,t),e.prototype._onTextTracksChanged=function(){if(this.media){for(var t=-1,e=o(this.media.textTracks),r=0;r<e.length;r++)if("hidden"===e[r].mode)t=r;else if("showing"===e[r].mode){t=r;break}this.subtitleTrack=t}},e.prototype.destroy=function(){l.a.prototype.destroy.call(this)},e.prototype.onMediaAttached=function(t){var e=this;this.media=t.media,this.media&&(this.queuedDefaultTrack&&(this.subtitleTrack=this.queuedDefaultTrack,delete this.queuedDefaultTrack),this.trackChangeListener=this._onTextTracksChanged.bind(this),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.subtitlePollingInterval=setInterval(function(){e.trackChangeListener()},500):this.media.textTracks.addEventListener("change",this.trackChangeListener))},e.prototype.onMediaDetaching=function(){this.media&&(this.useTextTrackPolling?clearInterval(this.subtitlePollingInterval):this.media.textTracks.removeEventListener("change",this.trackChangeListener),this.media=null)},e.prototype.onManifestLoading=function(){this.tracks=[],this.trackId=-1},e.prototype.onManifestLoaded=function(t){var e=this,r=t.subtitles||[];this.tracks=r,this.trackId=-1,this.hls.trigger(s.a.SUBTITLE_TRACKS_UPDATED,{subtitleTracks:r}),r.forEach(function(t){t.default&&(e.media?e.subtitleTrack=t.id:e.queuedDefaultTrack=t.id)})},e.prototype.onTick=function(){var t=this.trackId,e=this.tracks[t];if(e){var r=e.details;r&&!r.live||(u.b.log("(re)loading playlist for subtitle track "+t),this.hls.trigger(s.a.SUBTITLE_TRACK_LOADING,{url:e.url,id:t}))}},e.prototype.onSubtitleTrackLoaded=function(t){var e=this;t.id<this.tracks.length&&(u.b.log("subtitle track "+t.id+" loaded"),this.tracks[t.id].details=t.details,t.details.live&&!this.timer&&(this.timer=setInterval(function(){e.onTick()},1e3*t.details.targetduration,this)),!t.details.live&&this.timer&&this._stopTimer())},e.prototype.setSubtitleTrackInternal=function(t){var e=this.hls,r=this.tracks;
5if(!("number"!=typeof t||t<-1||t>=r.length)&&(this._stopTimer(),this.trackId=t,u.b.log("switching to subtitle track "+t),e.trigger(s.a.SUBTITLE_TRACK_SWITCH,{id:t}),-1!==t)){var i=r[t],a=i.details;a&&!a.live||(u.b.log("(re)loading playlist for subtitle track "+t),e.trigger(s.a.SUBTITLE_TRACK_LOADING,{url:i.url,id:t}))}},e.prototype._stopTimer=function(){this.timer&&(clearInterval(this.timer),this.timer=null)},e.prototype._toggleTrackModes=function(t){var e=this.media,r=this.subtitleDisplay,i=this.trackId;if(e){var a=o(e.textTracks);if(-1===t)[].slice.call(a).forEach(function(t){t.mode="disabled"});else{var n=a[i];n&&(n.mode="disabled")}var s=a[t];s&&(s.mode=r?"showing":"hidden")}},d(e,[{key:"subtitleTracks",get:function(){return this.tracks}},{key:"subtitleTrack",get:function(){return this.trackId},set:function(t){this.trackId!==t&&(this._toggleTrackModes(t),this.setSubtitleTrackInternal(t))}}]),e}(l.a);e.a=c},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(1),s=r(0),l=r(14),u=r(10),d=window,c=d.performance,h={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING"},f=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,o.a.MEDIA_ATTACHED,o.a.ERROR,o.a.KEY_LOADED,o.a.FRAG_LOADED,o.a.SUBTITLE_TRACKS_UPDATED,o.a.SUBTITLE_TRACK_SWITCH,o.a.SUBTITLE_TRACK_LOADED,o.a.SUBTITLE_FRAG_PROCESSED));return n.config=r.config,n.vttFragSNsProcessed={},n.vttFragQueues=void 0,n.currentlyProcessing=null,n.state=h.STOPPED,n.currentTrackId=-1,n.decrypter=new l.a(r.observer,r.config),n}return n(e,t),e.prototype.onHandlerDestroyed=function(){this.state=h.STOPPED},e.prototype.clearVttFragQueues=function(){var t=this;this.vttFragQueues={},this.tracks.forEach(function(e){t.vttFragQueues[e.id]=[]})},e.prototype.nextFrag=function(){if(null===this.currentlyProcessing&&this.currentTrackId>-1&&this.vttFragQueues[this.currentTrackId].length){var t=this.currentlyProcessing=this.vttFragQueues[this.currentTrackId].shift();this.fragCurrent=t,this.hls.trigger(o.a.FRAG_LOADING,{frag:t}),this.state=h.FRAG_LOADING}},e.prototype.onSubtitleFragProcessed=function(t){t.success&&this.vttFragSNsProcessed[t.frag.trackId].push(t.frag.sn),this.currentlyProcessing=null,this.state=h.IDLE,this.nextFrag()},e.prototype.onMediaAttached=function(){this.state=h.IDLE},e.prototype.onError=function(t){var e=t.frag;e&&"subtitle"!==e.type||this.currentlyProcessing&&(this.currentlyProcessing=null,this.nextFrag())},e.prototype.doTick=function(){var t=this;switch(this.state){case h.IDLE:var e=this.tracks,r=this.currentTrackId,i=this.vttFragSNsProcessed[r],a=this.vttFragQueues[r],n=this.currentlyProcessing?this.currentlyProcessing.sn:-1,l=function(t){return i.indexOf(t.sn)>-1},u=function(t){return a.some(function(e){return e.sn===t.sn})};if(!e)break;var d;if(r<e.length&&(d=e[r].details),void 0===d)break;d.fragments.forEach(function(e){l(e)||e.sn===n||u(e)||(e.encrypted?(s.b.log("Loading key for "+e.sn),t.state=h.KEY_LOADING,t.hls.trigger(o.a.KEY_LOADING,{frag:e})):(e.trackId=r,a.push(e),t.nextFrag()))})}},e.prototype.onSubtitleTracksUpdated=function(t){var e=this;s.b.log("subtitle tracks updated"),this.tracks=t.subtitleTracks,this.clearVttFragQueues(),this.vttFragSNsProcessed={},this.tracks.forEach(function(t){e.vttFragSNsProcessed[t.id]=[]})},e.prototype.onSubtitleTrackSwitch=function(t){if(this.currentTrackId=t.id,this.tracks&&-1!==this.currentTrackId){var e=this.tracks[this.currentTrackId];e&&e.details&&this.tick()}},e.prototype.onSubtitleTrackLoaded=function(){this.tick()},e.prototype.onKeyLoaded=function(){this.state===h.KEY_LOADING&&(this.state=h.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,r=t.frag.decryptdata,i=t.frag,a=this.hls;
5if(this.state===h.FRAG_LOADING&&e&&"subtitle"===t.frag.type&&e.sn===t.frag.sn&&t.payload.byteLength>0&&null!=r&&null!=r.key&&"AES-128"===r.method){var n=void 0;try{n=c.now()}catch(t){n=Date.now()}this.decrypter.decrypt(t.payload,r.key.buffer,r.iv.buffer,function(t){var e=void 0;try{e=c.now()}catch(t){e=Date.now()}a.trigger(o.a.FRAG_DECRYPTED,{frag:i,payload:t,stats:{tstart:n,tdecrypt:e}})})}},e}(u.a);e.a=f},function(t,e,r){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var o=r(4),s=r(1),l=r(2),u=r(0),d=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),c=window,h=c.XMLHttpRequest,f={WIDEVINE:"com.widevine.alpha",PLAYREADY:"com.microsoft.playready"},p=function(t,e,r){var i={videoCapabilities:[]};return e.forEach(function(t){i.videoCapabilities.push({contentType:'video/mp4; codecs="'+t+'"'})}),[i]},g=function(t,e,r){switch(t){case f.WIDEVINE:return p(0,r);default:throw Error("Unknown key-system: "+t)}},v=function(t){function e(r){i(this,e);var n=a(this,t.call(this,r,s.a.MEDIA_ATTACHED,s.a.MANIFEST_PARSED));return n._widevineLicenseUrl=r.config.widevineLicenseUrl,n._licenseXhrSetup=r.config.licenseXhrSetup,n._emeEnabled=r.config.emeEnabled,n._requestMediaKeySystemAccess=r.config.requestMediaKeySystemAccessFunc,n._mediaKeysList=[],n._media=null,n._hasSetMediaKeys=!1,n._isMediaEncrypted=!1,n._requestLicenseFailureCount=0,n}return n(e,t),e.prototype.getLicenseServerUrl=function(t){var e=void 0;switch(t){case f.WIDEVINE:e=this._widevineLicenseUrl;break;default:e=null}return e||(u.b.error('No license server URL configured for key-system "'+t+'"'),this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})),e},e.prototype._attemptKeySystemAccess=function(t,e,r){var i=this,a=g(t,0,r);if(!a)return void u.b.warn("Can not create config for key-system (maybe because platform is not supported):",t);u.b.log("Requesting encrypted media key-system access"),this.requestMediaKeySystemAccess(t,a).then(function(e){i._onMediaKeySystemAccessObtained(t,e)}).catch(function(e){u.b.error('Failed to obtain key-system "'+t+'" access:',e)})},e.prototype._onMediaKeySystemAccessObtained=function(t,e){var r=this;
5u.b.log('Access for key-system "'+t+'" obtained');var i={mediaKeys:null,mediaKeysSession:null,mediaKeysSessionInitialized:!1,mediaKeySystemAccess:e,mediaKeySystemDomain:t};this._mediaKeysList.push(i),e.createMediaKeys().then(function(e){i.mediaKeys=e,u.b.log('Media-keys created for key-system "'+t+'"'),r._onMediaKeysCreated()}).catch(function(t){u.b.error("Failed to create media-keys:",t)})},e.prototype._onMediaKeysCreated=function(){var t=this;this._mediaKeysList.forEach(function(e){e.mediaKeysSession||(e.mediaKeysSession=e.mediaKeys.createSession(),t._onNewMediaKeySession(e.mediaKeysSession))})},e.prototype._onNewMediaKeySession=function(t){var e=this;u.b.log("New key-system session "+t.sessionId),t.addEventListener("message",function(r){e._onKeySessionMessage(t,r.message)},!1)},e.prototype._onKeySessionMessage=function(t,e){u.b.log("Got EME message event, creating license request"),this._requestLicense(e,function(e){u.b.log("Received license data, updating key-session"),t.update(e)})},e.prototype._onMediaEncrypted=function(t,e){u.b.log('Media is encrypted using "'+t+'" init data type'),this._isMediaEncrypted=!0,this._mediaEncryptionInitDataType=t,this._mediaEncryptionInitData=e,this._attemptSetMediaKeys(),this._generateRequestWithPreferredKeySession()},e.prototype._attemptSetMediaKeys=function(){if(!this._hasSetMediaKeys){var t=this._mediaKeysList[0];if(!t||!t.mediaKeys)return u.b.error("Fatal: Media is encrypted but no CDM access or no keys have been obtained yet"),void this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_NO_KEYS,fatal:!0});u.b.log("Setting keys for encrypted media"),this._media.setMediaKeys(t.mediaKeys),this._hasSetMediaKeys=!0}},e.prototype._generateRequestWithPreferredKeySession=function(){var t=this,e=this._mediaKeysList[0];if(!e)return u.b.error("Fatal: Media is encrypted but not any key-system access has been obtained yet"),void this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_NO_ACCESS,fatal:!0});if(e.mediaKeysSessionInitialized)return void u.b.warn("Key-Session already initialized but requested again");var r=e.mediaKeysSession;r||(u.b.error("Fatal: Media is encrypted but no key-session existing"),this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_NO_SESSION,fatal:!0}));var i=this._mediaEncryptionInitDataType,a=this._mediaEncryptionInitData;u.b.log('Generating key-session request for "'+i+'" init data type'),e.mediaKeysSessionInitialized=!0,r.generateRequest(i,a).then(function(){u.b.debug("Key-session generation succeeded")}).catch(function(e){u.b.error("Error generating key-session request:",e),t.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_NO_SESSION,fatal:!1})})},e.prototype._createLicenseXhr=function(t,e,r){var i=new h,a=this._licenseXhrSetup;try{if(a)try{a(i,t)}catch(e){i.open("POST",t,!0),a(i,t)}i.readyState||i.open("POST",t,!0)}catch(t){return u.b.error("Error setting up key-system license XHR",t),void this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}return i.responseType="arraybuffer",i.onreadystatechange=this._onLicenseRequestReadyStageChange.bind(this,i,t,e,r),i},e.prototype._onLicenseRequestReadyStageChange=function(t,e,r,i){switch(t.readyState){case 4:if(200===t.status)this._requestLicenseFailureCount=0,u.b.log("License request succeeded"),i(t.response);else{if(u.b.error("License Request XHR failed ("+e+"). Status: "+t.status+" ("+t.statusText+")"),++this._requestLicenseFailureCount<=3){var a=3-this._requestLicenseFailureCount+1;return u.b.warn("Retrying license request, "+a+" attempts left"),void this._requestLicense(r,i)}this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}}},e.prototype._generateLicenseRequestChallenge=function(t,e){var r=void 0;return t.mediaKeySystemDomain===f.PLAYREADY?u.b.error("PlayReady is not supported (yet)"):t.mediaKeySystemDomain===f.WIDEVINE?r=e:u.b.error("Unsupported key-system:",t.mediaKeySystemDomain),r},e.prototype._requestLicense=function(t,e){u.b.log("Requesting content license for key-system");var r=this._mediaKeysList[0];if(!r)return u.b.error("Fatal error: Media is encrypted but no key-system access has been obtained yet"),void this.hls.trigger(s.a.ERROR,{type:l.b.KEY_SYSTEM_ERROR,details:l.a.KEY_SYSTEM_NO_ACCESS,fatal:!0});var i=this.getLicenseServerUrl(r.mediaKeySystemDomain),a=this._createLicenseXhr(i,t,e);u.b.log("Sending license request to URL: "+i),a.send(this._generateLicenseRequestChallenge(r,t))},e.prototype.onMediaAttached=function(t){var e=this;if(this._emeEnabled){var r=t.media;this._media=r,r.addEventListener("encrypted",function(t){e._onMediaEncrypted(t.initDataType,t.initData)})}},e.prototype.onManifestParsed=function(t){if(this._emeEnabled){var e=t.levels.map(function(t){return t.audioCodec}),r=t.levels.map(function(t){return t.videoCodec});this._attemptKeySystemAccess(f.WIDEVINE,e,r)}},d(e,[{key:"requestMediaKeySystemAccess",get:function(){if(!this._requestMediaKeySystemAccess)throw new Error("No requestMediaKeySystemAccess function configured");return this._requestMediaKeySystemAccess}}]),e}(o.a);e.a=v},function(t,e,r){"use strict";r.d(e,"a",function(){return i});var i=function(){return"undefined"!=typeof window&&window.navigator&&window.navigator.requestMediaKeySystemAccess?window.navigator.requestMediaKeySystemAccess.bind(window.navigator):null}()},function(t,e){/*! http://mths.be/endswith v0.2.0 by @mathias */
6String.prototype.endsWith||function(){"use strict";var t=function(){try{var t={},e=Object.defineProperty,r=e(t,t,t)&&e}catch(t){}return r}(),e={}.toString,r=function(t){if(null==this)throw TypeError();var r=String(this);if(t&&"[object RegExp]"==e.call(t))throw TypeError();var i=r.length,a=String(t),n=a.length,o=i;if(arguments.length>1){var s=arguments[1];void 0!==s&&(o=s?Number(s):0)!=o&&(o=0)}var l=Math.min(Math.max(o,0),i),u=l-n;if(u<0)return!1;for(var d=-1;++d<n;
vendor: 5,579 bytes, lines 6-7
6)if(r.charCodeAt(u+d)!=a.charCodeAt(d))return!1;return!0};t?t(String.prototype,"endsWith",{value:r,configurable:!0,writable:!0}):String.prototype.endsWith=r}()}]).default});/*! v2.9.0-0420f9cc, 2018-08-01T22:33:11Z */
7!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c||a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(b,c,d){"use strict";var e={};e.encode=function(a){for(var b=[],c=0;c<a.length;++c){var d=a.charCodeAt(c);d<128?b.push(d):d<2048?(b.push(192|d>>6),b.push(128|63&d)):d<65536?(b.push(224|d>>12),b.push(128|63&d>>6),b.push(128|63&d)):(b.push(240|d>>18),b.push(128|63&d>>12),b.push(128|63&d>>6),b.push(128|63&d))}return b},e.decode=function(a){for(var b=[],c=0;c<a.length;){var d=a[c++];d<128||(d<224?(d=(31&d)<<6,d|=63&a[c++]):d<240?(d=(15&d)<<12,d|=(63&a[c++])<<6,d|=63&a[c++]):(d=(7&d)<<18,d|=(63&a[c++])<<12,d|=(63&a[c++])<<6,d|=63&a[c++])),b.push(String.fromCharCode(d))}return b.join("")};var f={};!function(b){var c=function(a){for(var c=0,d=[],e=0|a.length/3;0<e--;){var f=(a[c]<<16)+(a[c+1]<<8)+a[c+2];c+=3,d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push(b.charAt(63&f>>6)),d.push(b.charAt(63&f))}if(2==a.length-c){var f=(a[c]<<16)+(a[c+1]<<8);d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push(b.charAt(63&f>>6)),d.push("=")}else if(1==a.length-c){var f=a[c]<<16;d.push(b.charAt(63&f>>18)),d.push(b.charAt(63&f>>12)),d.push("==")}return d.join("")},d=function(){for(var a=[],c=0;c<b.length;++c)a[b.charCodeAt(c)]=c;return a["=".charCodeAt(0)]=0,a}(),g=function(a){for(var b=0,c=[],e=0|a.length/4;0<e--;){var f=(d[a.charCodeAt(b)]<<18)+(d[a.charCodeAt(b+1)]<<12)+(d[a.charCodeAt(b+2)]<<6)+d[a.charCodeAt(b+3)];c.push(255&f>>16),c.push(255&f>>8),c.push(255&f),b+=4}return c&&("="==a.charAt(b-2)?(c.pop(),c.pop()):"="==a.charAt(b-1)&&c.pop()),c},h={};h.encode=function(a){for(var b=[],c=0;c<a.length;++c)b.push(a.charCodeAt(c));return b},h.decode=function(b){for(var c=0;c<s.length;++c)a[c]=String.fromCharCode(a[c]);return a.join("")},f.decodeArray=function(a){var b=g(a);return new Uint8Array(b)},f.encodeASCII=function(a){var b=h.encode(a);return c(b)},f.decodeASCII=function(a){var b=g(a);return h.decode(b)},f.encode=function(a){var b=e.encode(a);return c(b)},f.decode=function(a){var b=g(a);return e.decode(b)}}("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),void 0!==d&&(d.decode=f.decode,d.decodeArray=f.decodeArray,d.encode=f.encode,d.encodeASCII=f.encodeASCII)},{}],2:[function(a,b,c){"use strict";!function(a){var b={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},c=function(a){var c=a;return b.hasOwnProperty(a)&&(c=b[a]),String.fromCharCode(c)},d=15,e=32,f={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},g={17:2,18:4,21:6,22:8,23:10,19:13,20:15},h={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},i={25:2,26:4,29:6,30:8,31:10,27:13,28:15},j=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],k={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(a){this.time=a},log:function(a,b){var c=this.verboseFilter[a];this.verboseLevel>=c&&console.log(this.time+" ["+a+"] "+b)}},l=function(a){for(var b=[],c=0;c<a.length;c++)b.push(a[c].toString(16));return b},m=function(a,b,c,d,e){this.foreground=a||"white",this.underline=b||!1,this.italics=c||!1,this.background=d||"black",this.flash=e||!1};m.prototype={reset:function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},setStyles:function(a){for(var b=["foreground","underline","italics","background","flash"],c=0;c<b.length;c++){var d=b[c];a.hasOwnProperty(d)&&(this[d]=a[d])}},isDefault:function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},equals:function(a){return this.foreground===a.foreground&&this.underline===a.underline&&this.italics===a.italics&&this.background===a.background&&this.flash===a.flash},copy:function(a){this.foreground=a.foreground,this.underline=a.underline,this.italics=a.italics,this.background=a.background,this.flash=a.flash},toString:function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash}};var n=function(a,b,c,d,e,f){this.uchar=a||" ",this.penState=new m(b,c,d,e,f)};n.prototype={reset:function(){this.uchar=" ",this.penState.reset()},setChar:function(a,b){this.uchar=a,this.penState.copy(b)},setPenState:function(a){this.penState.copy(a)},equals:function(a){return this.uchar===a.uchar&&this.penState.equals(a.pe
vendor: 5,886 bytes, line 7
7nState)},copy:function(a){this.uchar=a.uchar,this.penState.copy(a.penState)},isEmpty:function(){return" "===this.uchar&&this.penState.isDefault()}};var o=function(){this.chars=[];for(var a=0;a<e;a++)this.chars.push(new n);this.pos=0,this.currPenState=new m};o.prototype={equals:function(a){for(var b=!0,c=0;c<e;c++)if(!this.chars[c].equals(a.chars[c])){b=!1;break}return b},copy:function(a){for(var b=0;b<e;b++)this.chars[b].copy(a.chars[b])},isEmpty:function(){for(var a=!0,b=0;b<e;b++)if(!this.chars[b].isEmpty()){a=!1;break}return a},setCursor:function(a){this.pos!==a&&(this.pos=a),this.pos<0?(k.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>e&&(k.log("ERROR","Too large cursor position "+this.pos),this.pos=e)},moveCursor:function(a){var b=this.pos+a;if(a>1)for(var c=this.pos+1;c<b+1;c++)this.chars[c].setPenState(this.currPenState);this.setCursor(b)},backSpace:function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},insertChar:function(a){a>=144&&this.backSpace();var b=c(a);if(this.pos>=e)return void k.log("ERROR","Cannot insert "+a.toString(16)+" ("+b+") at position "+this.pos+". Skipping it!");this.chars[this.pos].setChar(b,this.currPenState),this.moveCursor(1)},clearFromPos:function(a){var b;for(b=a;b<e;b++)this.chars[b].reset()},clear:function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},clearToEndOfRow:function(){this.clearFromPos(this.pos)},getTextString:function(){for(var a=[],b=!0,c=0;c<e;c++){var d=this.chars[c].uchar;" "!==d&&(b=!1),a.push(d)}return b?"":a.join("")},setPenStyles:function(a){this.currPenState.setStyles(a),this.chars[this.pos].setPenState(this.currPenState)}};var p=function(){this.rows=[];for(var a=0;a<d;a++)this.rows.push(new o);this.currRow=d-1,this.nrRollUpRows=null,this.reset()};p.prototype={reset:function(){for(var a=0;a<d;a++)this.rows[a].clear();this.currRow=d-1},equals:function(a){for(var b=!0,c=0;c<d;c++)if(!this.rows[c].equals(a.rows[c])){b=!1;break}return b},copy:function(a){for(var b=0;b<d;b++)this.rows[b].copy(a.rows[b])},isEmpty:function(){for(var a=!0,b=0;b<d;b++)if(!this.rows[b].isEmpty()){a=!1;break}return a},backSpace:function(){this.rows[this.currRow].backSpace()},clearToEndOfRow:function(){this.rows[this.currRow].clearToEndOfRow()},insertChar:function(a){this.rows[this.currRow].insertChar(a)},setPen:function(a){this.rows[this.currRow].setPenStyles(a)},moveCursor:function(a){this.rows[this.currRow].moveCursor(a)},setCursor:function(a){k.log("INFO","setCursor: "+a),this.rows[this.currRow].setCursor(a)},setPAC:function(a){k.log("INFO","pacData = "+JSON.stringify(a));var b=a.row-1;this.nrRollUpRows&&b<this.nrRollUpRows-1&&(b=this.nrRollUpRows-1),this.currRow=b;var c=this.rows[this.currRow];if(null!==a.indent){var d=a.indent,e=Math.max(d-1,0);c.setCursor(a.indent),a.color=c.chars[e].penState.foreground}var f={foreground:a.color,underline:a.underline,italics:a.italics,background:"black",flash:!1};this.setPen(f)},setBkgData:function(a){k.log("INFO","bkgData = "+JSON.stringify(a)),this.backSpace(),this.setPen(a),this.insertChar(32)},setRollUpRows:function(a){this.nrRollUpRows=a},rollUp:function(){if(null===this.nrRollUpRows)return void k.log("DEBUG","roll_up but nrRollUpRows not set yet");k.log("TEXT",this.getDisplayText());var a=this.currRow+1-this.nrRollUpRows,b=this.rows.splice(a,1)[0];b.clear(),this.rows.splice(this.currRow,0,b),k.log("INFO","Rolling up")},getDisplayText:function(a){a=a||!1;for(var b=[],c="",e=-1,f=0;f<d;f++){var g=this.rows[f].getTextString();g&&(e=f+1,a?b.push("Row "+e+': "'+g+'"'):b.push(g.trim()))}return b.length>0&&(c=a?"["+b.join(" | ")+"]":b.join("\n")),c},getTextAndFormat:function(){return this.rows}};var q=function(a,b){this.chNr=a,this.outputFilter=b,this.mode=null,this.verbose=0,this.displayedMemory=new p,this.nonDisplayedMemory=new p,this.lastOutputScreen=new p,this.currRollUpRow=this.displayedMemory.rows[d-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null};q.prototype={modes:["MODE_ROLL-UP","MODE_POP-ON","MODE_PAINT-ON","MODE_TEXT"],reset:function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[d-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null},getHandler:function(){return this.outputFilter},setHandler:function(a){this.outputFilter=a},setPAC:function(a){this.writeScreen.setPAC(a)},setBkgData:function(a){this.writeScreen.setBkgData(a)},setMode:function(a){a!==this.mode&&(this.mode=a,k.log("INFO","MODE="+a),"MODE_POP-ON"==this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=a)},insertChars:function(a){for(var b=0;b<a.length;b++)this.writeScreen.insertChar(a[b]);var c=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";k.log("INFO",c+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(k.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},cc_RCL:function(){k.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},cc_BS:function(){k.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},cc_AOF:function(){},cc_AON:function(){},cc_DER:function(){k.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},cc_RU:function(a){k.log("INFO","RU("+a+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(a)},cc_FON:function(){k.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})}
vendor: 5,045 bytes, line 7
7,cc_RDC:function(){k.log("INFO","RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},cc_TR:function(){k.log("INFO","TR"),this.setMode("MODE_TEXT")},cc_RTD:function(){k.log("INFO","RTD"),this.setMode("MODE_TEXT")},cc_EDM:function(){k.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate()},cc_CR:function(){k.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate()},cc_ENM:function(){k.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},cc_EOC:function(){if(k.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var a=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=a,this.writeScreen=this.nonDisplayedMemory,k.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate()},cc_TO:function(a){k.log("INFO","TO("+a+") - Tab Offset"),this.writeScreen.moveCursor(a)},cc_MIDROW:function(a){var b={flash:!1};if(b.underline=a%2==1,b.italics=a>=46,b.italics)b.foreground="white";else{var c=Math.floor(a/2)-16,d=["white","green","blue","cyan","red","yellow","magenta"];b.foreground=d[c]}k.log("INFO","MIDROW: "+JSON.stringify(b)),this.writeScreen.setPen(b)},outputDataUpdate:function(){var a=k.time;null!==a&&this.outputFilter&&(this.outputFilter.updateData&&this.outputFilter.updateData(a,this.displayedMemory),null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,a,this.lastOutputScreen),this.cueStartTime=this.displayedMemory.isEmpty()?null:a):this.cueStartTime=a,this.lastOutputScreen.copy(this.displayedMemory))},cueSplitAtTime:function(a){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,a,this.displayedMemory),this.cueStartTime=a))}};var r=function(a,b,c){this.field=a||1,this.outputs=[b,c],this.channels=[new q(1,b),new q(2,c)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}};r.prototype={getHandler:function(a){return this.channels[a].getHandler()},setHandler:function(a,b){this.channels[a].setHandler(b)},addData:function(a,b){var c,d,e,f=!1;this.lastTime=a,k.setTime(a);for(var g=0;g<b.length;g+=2)if(d=127&b[g],e=127&b[g+1],d>=16&&d<=31&&d===this.lastCmdA&&e===this.lastCmdB)this.lastCmdA=null,this.lastCmdB=null,k.log("DEBUG","Repeated command ("+l([d,e])+") is dropped");else if(0!==d||0!==e){if(k.log("DATA","["+l([b[g],b[g+1]])+"] -> ("+l([d,e])+")"),c=this.parseCmd(d,e),c||(c=this.parseMidrow(d,e)),c||(c=this.parsePAC(d,e)),c||(c=this.parseBackgroundAttributes(d,e)),!c&&(f=this.parseChars(d,e)))if(this.currChNr&&this.currChNr>=0){var h=this.channels[this.currChNr-1];h.insertChars(f)}else k.log("WARNING","No channel found yet. TEXT-MODE?");c?this.dataCounters.cmd+=2:f?this.dataCounters.char+=2:(this.dataCounters.other+=2,k.log("WARNING","Couldn't parse cleaned data "+l([d,e])+" orig: "+l([b[g],b[g+1]])))}else this.dataCounters.padding+=2},parseCmd:function(a,b){var c=null,d=(20===a||21===a||28===a||29===a)&&32<=b&&b<=47,e=(23===a||31===a)&&33<=b&&b<=35;if(!d&&!e)return!1;c=20===a||21===a||23===a?1:2;var f=this.channels[c-1];return 20===a||21===a||28===a||29===a?32===b?f.cc_RCL():33===b?f.cc_BS():34===b?f.cc_AOF():35===b?f.cc_AON():36===b?f.cc_DER():37===b?f.cc_RU(2):38===b?f.cc_RU(3):39===b?f.cc_RU(4):40===b?f.cc_FON():41===b?f.cc_RDC():42===b?f.cc_TR():43===b?f.cc_RTD():44===b?f.cc_EDM():45===b?f.cc_CR():46===b?f.cc_ENM():47===b&&f.cc_EOC():f.cc_TO(b-32),this.lastCmdA=a,this.lastCmdB=b,this.currChNr=c,!0},parseMidrow:function(a,b){var c=null;if((17===a||25===a)&&32<=b&&b<=47){if((c=17===a?1:2)!==this.currChNr)return k.log("ERROR","Mismatch channel in midrow parsing"),!1;var d=this.channels[c-1];return d.insertChars([32]),d.cc_MIDROW(b),k.log("DEBUG","MIDROW ("+l([a,b])+")"),this.lastCmdA=a,this.lastCmdB=b,!0}return!1},parsePAC:function(a,b){var c=null,d=null,e=(17<=a&&a<=23||25<=a&&a<=31)&&64<=b&&b<=127,j=(16===a||24===a)&&64<=b&&b<=95;if(!e&&!j)return!1;c=a<=23?1:2,d=64<=b&&b<=95?1===c?f[a]:h[a]:1===c?g[a]:i[a];var k=this.interpretPAC(d,b);return this.channels[c-1].setPAC(k),this.lastCmdA=a,this.lastCmdB=b,this.currChNr=c,!0},interpretPAC:function(a,b){var c=b,d={color:null,italics:!1,indent:null,underline:!1,row:a};return c=b>95?b-96:b-64,d.underline=1==(1&c),c<=13?d.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(c/2)]:c<=15?(d.italics=!0,d.color="white"):d.indent=4*Math.floor((c-16)/2),d},parseChars:function(a,b){var d=null,e=null,f=null;if(a>=25?(d=2,f=a-8):(d=1,f=a),17<=f&&f<=19){var g=b;g=17===f?b+80:18===f?b+112:b+144,k.log("INFO","Special char '"+c(g)+"' in channel "+d),e=[g],this.lastCmdA=a,this.lastCmdB=b}else 32<=a&&a<=127&&(e=0===b?[a]:[a,b],this.lastCmdA=null,this.lastCmdB=null);if(e){var h=l(e);k.log("DEBUG","Char codes =  "+h.join(","))}return e}
7,parseBackgroundAttributes:function(a,b){var c,d,e,f,g=(16===a||24===a)&&32<=b&&b<=47,h=(23===a||31===a)&&45<=b&&b<=47;return!(!g&&!h)&&(c={},16===a||24===a?(d=Math.floor((b-32)/2),c.background=j[d],b%2==1&&(c.background=c.background+"_semi")):45===b?c.background="transparent":(c.foreground="black",47===b&&(c.underline=!0)),e=a<24?1:2,f=this.channels[e-1],f.setBkgData(c),this.lastCmdA=a,this.lastCmdB=b,!0)},reset:function(){for(var a=0;a<this.channels.length;a++)this.channels[a]&&this.channels[a].reset();this.lastCmdA=null,this.lastCmdB=null},cueSplitAtTime:function(a){for(var b=0;b<this.channels.length;b++)this.channels[b]&&this.channels[b].cueSplitAtTime(a)}};var s=function(a,b,c){for(var d=0,e=b,f=[],g=function(a,b,c,d){if(4!==a||b<8)return null;var e=c.getUint8(d),f=c.getUint16(d+1),g=c.getUint32(d+3),h=c.getUint8(d+7);return 181==e&&49==f&&1195456820==g&&3==h};e<b+c;){if(d=a.getUint32(e),6===(31&a.getUint8(e+4)))for(var h=e+5,i=-1;h<e+4+d-1;){i=0;for(var j=255;255===j;)j=a.getUint8(h),i+=j,h++;var k=0;for(j=255;255===j;)j=a.getUint8(h),k+=j,h++;g(i,k,a,h)&&f.push([h,k]),h+=k}e+=d+4}return f},t=function(a,b){var c=b[0],d=[[],[]];c+=8;var e=31&a.getUint8(c);c+=2;for(var f=0;f<e;f++){var g=a.getUint8(c),h=4&g,i=3&g;c++;var j=a.getUint8(c);c++;var k=a.getUint8(c);c++,h&&(127&j)+(127&k)!=0&&(0===i?(d[0].push(j),d[0].push(k)):1===i&&(d[1].push(j),d[1].push(k)))}return d};a.logger=k,a.PenState=m,a.CaptionScreen=p,a.Cea608Parser=r,a.findCea608Nalus=s,a.extractCea608DataFromRange=t}(void 0===c?(void 0).cea608parser={}:c)},{}],3:[function(a,b,c){"use strict";function d(a){function b(){void 0===a.escapeMode&&(a.escapeMode=!0),void 0===a.attributePrefix&&(a.attributePrefix="_"),a.arrayAccessForm=a.arrayAccessForm||"none",a.emptyNodeForm=a.emptyNodeForm||"text",void 0===a.enableToStringFunc&&(a.enableToStringFunc=!0),a.arrayAccessFormPaths=a.arrayAccessFormPaths||[],void 0===a.skipEmptyTextNodesForObj&&(a.skipEmptyTextNodesForObj=!0),void 0===a.stripWhitespaces&&(a.stripWhitespaces=!0),a.datetimeAccessFormPaths=a.datetimeAccessFormPaths||[],void 0===a.useDoubleQuotes&&(a.useDoubleQuotes=!1),a.xmlElementsFilter=a.xmlElementsFilter||[],a.jsonPropertiesFilter=a.jsonPropertiesFilter||[],void 0===a.keepCData&&(a.keepCData=!1),void 0===a.ignoreRoot&&(a.ignoreRoot=!1)}function c(){}function d(a){var b=a.localName;return null==b&&(b=a.baseName),null!=b&&""!=b||(b=a.nodeName),b}function e(a){return a.prefix}function f(a){return"string"==typeof a?a.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"):a}function g(a,b,c,d){for(var e=0;e<a.length;e++){var f=a[e];if("string"==typeof f){if(f==d)break}else if(f instanceof RegExp){if(f.test(d))break}else if("function"==typeof f&&f(b,c,d))break}return e!=a.length}function h(b,c,d){switch(a.arrayAccessForm){case"property":b[c]instanceof Array?b[c+"_asArray"]=b[c]:b[c+"_asArray"]=[b[c]]}!(b[c]instanceof Array)&&a.arrayAccessFormPaths.length>0&&g(a.arrayAccessFormPaths,b,c,d)&&(b[c]=[b[c]])}function i(a){var b=a.split(/[-T:+Z]/g),c=new Date(b[0],b[1]-1,b[2]),d=b[5].split(".");if(c.setHours(b[3],b[4],d[0]),d.length>1&&c.setMilliseconds(d[1]),b[6]&&b[7]){var e=60*b[6]+Number(b[7]);e=0+("-"==(/\d\d-\d\d:\d\d$/.test(a)?"-":"+")?-1*e:e),c.setMinutes(c.getMinutes()-e-c.getTimezoneOffset())}else-1!==a.indexOf("Z",a.length-1)&&(c=new Date(Date.UTC(c.getFullYear(),c.getMonth(),c.getDate(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds())));return c}function j(b,c,d){if(a.datetimeAccessFormPaths.length>0){var e=d.split(".#")[0];return g(a.datetimeAccessFormPaths,b,c,e)?i(b):b}return b}function k(b,c,d,e){return!(c==z.ELEMENT_NODE&&a.xmlElementsFilter.length>0)||g(a.xmlElementsFilter,b,d,e)}function l(b,c){if(b.nodeType==z.DOCUMENT_NODE){for(var f=new Object,g=b.childNodes,i=0;i<g.length;i++){var m=g[i];if(m.nodeType==z.ELEMENT_NODE)if(a.ignoreRoot)f=l(m);else{f={};var n=d(m);f[n]=l(m)}}return f}if(b.nodeType==z.ELEMENT_NODE){var f=new Object;f.__cnt=0;for(var o=[],g=b.childNodes,i=0;i<g.length;i++){var m=g[i],n=d(m);if(m.nodeType!=z.COMMENT_NODE){var p=c+"."+n;if(k(f,m.nodeType,n,p))if(f.__cnt++,null==f[n]){var q=l(m,p);if("#text"!=n||/[^\s]/.test(q)){var r={};r[n]=q,o.push(r)}f[n]=q,h(f,n,p)}else{null!=f[n]&&(f[n]instanceof Array||(f[n]=[f[n]],h(f,n,p)));var q=l(m,p);if("#text"!=n||/[^\s]/.test(q)){var r={};r[n]=q,o.push(r)}f[n][f[n].length]=q}}}f.__children=o;for(var s=d(b),t=0;t<b.attributes.length;t++){var u=b.attributes[t];f.__cnt++;for(var v=u.value,w=0,x=a.matchers.length;w<x;w++){var y=a.matchers[w];y.test(u,s)&&(v=y.converter(u.value))}f[a.attributePrefix+u.name]=v}var A=e(b);return null!=A&&""!=A&&(f.__cnt++,f.__prefix=A),null!=f["#text"]&&(f.__text=f["#text"],f.__text instanceof Array&&(f.__text=f.__text.join("\n")),a.stripWhitespace
vendor: 15,059 bytes, lines 7-8
7s&&(f.__text=f.__text.trim()),delete f["#text"],"property"==a.arrayAccessForm&&delete f["#text_asArray"],f.__text=j(f.__text,n,c+"."+n)),null!=f["#cdata-section"]&&(f.__cdata=f["#cdata-section"],delete f["#cdata-section"],"property"==a.arrayAccessForm&&delete f["#cdata-section_asArray"]),0==f.__cnt&&"text"==a.emptyNodeForm?f="":1==f.__cnt&&null!=f.__text?f=f.__text:1!=f.__cnt||null==f.__cdata||a.keepCData?f.__cnt>1&&null!=f.__text&&a.skipEmptyTextNodesForObj&&(a.stripWhitespaces&&""==f.__text||""==f.__text.trim())&&delete f.__text:f=f.__cdata,delete f.__cnt,!a.enableToStringFunc||null==f.__text&&null==f.__cdata||(f.toString=function(){return(null!=this.__text?this.__text:"")+(null!=this.__cdata?this.__cdata:"")}),f}if(b.nodeType==z.TEXT_NODE||b.nodeType==z.CDATA_SECTION_NODE)return b.nodeValue}function m(b,c,d,e){var g="<"+(null!=b&&null!=b.__prefix?b.__prefix+":":"")+c;if(null!=d)for(var h=0;h<d.length;h++){var i=d[h],j=b[i];a.escapeMode&&(j=f(j)),g+=" "+i.substr(a.attributePrefix.length)+"=",a.useDoubleQuotes?g+='"'+j+'"':g+="'"+j+"'"}return g+=e?"/>":">"}function n(a,b){return"</"+(null!=a.__prefix?a.__prefix+":":"")+b+">"}function o(a,b){return-1!==a.indexOf(b,a.length-b.length)}function p(b,c){return!!("property"==a.arrayAccessForm&&o(c.toString(),"_asArray")||0==c.toString().indexOf(a.attributePrefix)||0==c.toString().indexOf("__")||b[c]instanceof Function)}function q(a){var b=0;if(a instanceof Object)for(var c in a)p(a,c)||b++;return b}function r(b,c,d){return 0==a.jsonPropertiesFilter.length||""==d||g(a.jsonPropertiesFilter,b,c,d)}function s(b){var c=[];if(b instanceof Object)for(var d in b)-1==d.toString().indexOf("__")&&0==d.toString().indexOf(a.attributePrefix)&&c.push(d);return c}function t(b){var c="";return null!=b.__cdata&&(c+="<![CDATA["+b.__cdata+"]]>"),null!=b.__text&&(a.escapeMode?c+=f(b.__text):c+=b.__text),c}function u(b){var c="";return b instanceof Object?c+=t(b):null!=b&&(a.escapeMode?c+=f(b):c+=b),c}function v(a,b){return""===a?b:a+"."+b}function w(a,b,c,d){var e="";if(0==a.length)e+=m(a,b,c,!0);else for(var f=0;f<a.length;f++)e+=m(a[f],b,s(a[f]),!1),e+=x(a[f],v(d,b)),e+=n(a[f],b);return e}function x(a,b){var c="";if(q(a)>0)for(var d in a)if(!p(a,d)&&(""==b||r(a,d,v(b,d)))){var e=a[d],f=s(e);if(null==e||void 0==e)c+=m(e,d,f,!0);else if(e instanceof Object)if(e instanceof Array)c+=w(e,d,f,b);else if(e instanceof Date)c+=m(e,d,f,!1),c+=e.toISOString(),c+=n(e,d);else{var g=q(e);g>0||null!=e.__text||null!=e.__cdata?(c+=m(e,d,f,!1),c+=x(e,v(b,d)),c+=n(e,d)):c+=m(e,d,f,!0)}else c+=m(e,d,f,!1),c+=u(e),c+=n(e,d)}return c+=u(a)}var y="1.2.0";a=a||{},b(),c();var z={ELEMENT_NODE:1,TEXT_NODE:3,CDATA_SECTION_NODE:4,COMMENT_NODE:8,DOCUMENT_NODE:9};this.parseXmlString=function(a){window.ActiveXObject||window;if(void 0===a)return null;var b;if(window.DOMParser){var c=new window.DOMParser;try{b=c.parseFromString(a,"text/xml"),b.getElementsByTagNameNS("*","parsererror").length>0&&(b=null)}catch(d){b=null}}else 0==a.indexOf("<?")&&(a=a.substr(a.indexOf("?>")+2)),b=new ActiveXObject("Microsoft.XMLDOM"),b.async="false",b.loadXML(a);return b},this.asArray=function(a){return void 0===a||null==a?[]:a instanceof Array?a:[a]},this.toXmlDateTime=function(a){return a instanceof Date?a.toISOString():"number"==typeof a?new Date(a).toISOString():null},this.asDateTime=function(a){return"string"==typeof a?i(a):a},this.xml2json=function(a){return l(a)},this.xml_str2json=function(a){var b=this.parseXmlString(a);return null!=b?this.xml2json(b):null},this.json2xml_str=function(a){return x(a,"")},this.json2xml=function(a){var b=this.json2xml_str(a);return this.parseXmlString(b)},this.getVersion=function(){return y}}Object.defineProperty(c,"__esModule",{value:!0}),c.default=d,b.exports=c.default},{}],4:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var e=a(5),f=a(116),g=d(f),h=a(150),i=d(h),j=a(94),k=d(j),l=a(46),m=d(l);dashjs.Protection=i.default,dashjs.MetricsReporting=g.default,dashjs.MediaPlayerFactory=k.default,dashjs.Debug=m.default,c.default=dashjs,c.MediaPlayer=e.MediaPlayer,c.Protection=i.default,c.MetricsReporting=g.default,c.MediaPlayerFactory=k.default,c.Debug=m.default},{116:116,150:150,46:46,5:5,94:94}],5:[function(a,b,c){(function(b){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}Object.defineProperty(c,"__esModule",{value:!0});var e=a(92),f=d(e),g=a(48),h=d(g),i=a(46),j=d(i),k=a(49),l="undefined"!=typeof window&&window||b,m=l.dashjs;m||(m=l.dashjs={}),m.MediaPlayer=f.default,m.FactoryMaker=h.default,m.Debug=j.default,m.Version=(0,k.getVersionString)(),c.default=m,c.MediaPlayer=f.default,c.FactoryMaker=h.default,c.Debug=j.default}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{46:46,48:48,49:49,92:92}],6:[function(a,b,c){/*! codem-isoboxer v0.3.5 https://github.com/madebyhiro/codem-isoboxer/blob/master/LICENSE.txt */
8var d={};d.parseBuffer=function(a){return new e(a).parse()},d.addBoxProcessor=function(a,b){"string"==typeof a&&"function"==typeof b&&(f.prototype._boxProcessors[a]=b)},d.createFile=function(){return new e},d.createBox=function(a,b,c){var d=f.create(a);return b&&b.append(d,c),d},d.createFullBox=function(a,b,c){var e=d.createBox(a,b,c);return e.version=0,e.flags=0,e},d.Utils={},d.Utils.dataViewToString=function(a,b){var c=b||"utf-8";if("undefined"!=typeof TextDecoder)return new TextDecoder(c).decode(a);var d=[],e=0;if("utf-8"===c)for(;e<a.byteLength;){var f=a.getUint8(e++);f<128||(f<224?(f=(31&f)<<6,f|=63&a.getUint8(e++)):f<240?(f=(15&f)<<12,f|=(63&a.getUint8(e++))<<6,f|=63&a.getUint8(e++)):(f=(7&f)<<18,f|=(63&a.getUint8(e++))<<12,f|=(63&a.getUint8(e++))<<6,f|=63&a.getUint8(e++))),d.push(String.fromCharCode(f))}else for(;e<a.byteLength;)d.push(String.fromCharCode(a.getUint8(e++)));return d.join("")},d.Utils.utf8ToByteArray=function(a){var b,c;if("undefined"!=typeof TextEncoder)b=(new TextEncoder).encode(a);else for(b=[],c=0;c<a.length;++c){var d=a.charCodeAt(c);d<128?b.push(d):d<2048?(b.push(192|d>>6),b.push(128|63&d)):d<65536?(b.push(224|d>>12),b.push(128|63&d>>6),b.push(128|63&d)):(b.push(240|d>>18),b.push(128|63&d>>12),b.push(128|63&d>>6),b.push(128|63&d))}return b},d.Utils.appendBox=function(a,b,c){if(b._offset=a._cursor.offset,b._root=a._root?a._root:a,b._raw=a._raw,b._parent=a,-1!==c){if(void 0===c||null===c)return void a.boxes.push(b);var d,e=-1;if("number"==typeof c)e=c;else{if("string"==typeof c)d=c;else{if("object"!=typeof c||!c.type)return void a.boxes.push(b);d=c.type}for(var f=0;f<a.boxes.length;f++)if(d===a.boxes[f].type){e=f+1;break}}a.boxes.splice(e,0,b)}},void 0!==c&&(c.parseBuffer=d.parseBuffer,c.addBoxProcessor=d.addBoxProcessor,c.createFile=d.createFile,c.createBox=d.createBox,c.createFullBox=d.createFullBox,c.Utils=d.Utils),d.Cursor=function(a){this.offset=void 0===a?0:a};var e=function(a){this._cursor=new d.Cursor,this.boxes=[],a&&(this._raw=new DataView(a))};e.prototype.fetch=function(a){var b=this.fetchAll(a,!0);return b.length?b[0]:null},e.prototype.fetchAll=function(a,b){var c=[];return e._sweep.call(this,a,c,b),c},e.prototype.parse=function(){for(this._cursor.offset=0,this.boxes=[];this._cursor.offset<this._raw.byteLength;){var a=f.parse(this);if(void 0===a.type)break;this.boxes.push(a)}return this},e._sweep=function(a,b,c){this.type&&this.type==a&&b.push(this);for(var d in this.boxes){if(b.length&&c)return;e._sweep.call(this.boxes[d],a,b,c)}},e.prototype.write=function(){var a,b=0;for(a=0;a<this.boxes.length;a++)b+=this.boxes[a].getLength(!1);var c=new Uint8Array(b);for(this._rawo=new DataView(c.buffer),this.bytes=c,this._cursor.offset=0,a=0;a<this.boxes.length;a++)this.boxes[a].write();return c.buffer},e.prototype.append=function(a,b){d.Utils.appendBox(this,a,b)};var f=function(){this._cursor=new d.Cursor};f.parse=function(a){var b=new f;return b._offset=a._cursor.offset,b._root=a._root?a._root:a,b._raw=a._raw,b._parent=a,b._parseBox(),a._cursor.offset=b._raw.byteOffset+b._raw.byteLength,b},f.create=function(a){var b=new f;return b.type=a,b.boxes=[],b},f.prototype._boxContainers=["dinf","edts","mdia","meco","mfra","minf","moof","moov","mvex","stbl","strk","traf","trak","tref","udta","vttc","sinf","schi","encv","enca"],f.prototype._boxProcessors={},f.prototype._procField=function(a,b,c){this._parsing?this[a]=this._readField(b,c):this._writeField(b,c,this[a])},f.prototype._procFieldArray=function(a,b,c,d){var e;if(this._parsing)for(this[a]=[],e=0;e<b;e++)this[a][e]=this._readField(c,d);else for(e=0;e<this[a].length;e++)this._writeField(c,d,this[a][e])},f.prototype._procFullBox=function(){this._procField("version","uint",8),this._procField("flags","uint",24)},f.prototype._procEntries=function(a,b,c){var d;if(this._parsing)for(this[a]=[],d=0;d<b;d++)this[a].push({}),c.call(this,this[a][d]);else for(d=0;d<b;d++)c.call(this,this[a][d])},f.prototype._procSubEntries=function(a,b,c,d){var e;if(this._parsing)for(a[b]=[],e=0;e<c;e++)a[b].push({}),d.call(this,a[b][e]);else for(e=0;e<c;e++)d.call(this,a[b][e])},f.prototype._procEntryField=function(a,b,c,d){this._parsing?a[b]=this._readField(c,d):this._writeField(c,d,a[b])},f.prototype._procSubBoxes=function(a,b){var c;if(this._parsing)for(this[a]=[],c=0;c<b;c++)this[a].push(f.parse(this));else for(c=0;c<b;c++)this._rawo?this[a][c].write():this.size+=this[a][c].getLength()},f.prototype._readField=function(a,b){switch(a){case"uint":return this._readUint(b);case"int":return this._readInt(b);case"template":return this._readTemplate(b);case"string":return-1===b?this._readTerminatedString():this._readString(b);case"data":return this._readData(b);case"utf8":return this._readUTF8String();default:return-1}},f.prototype._readInt=function(a){var b=null,c=this._cursor.offset-this._raw.byteOffset;switch(a){case 8:b=this._raw.getInt8(c);break;case 16:b=this._raw.getInt16(c);break;case 32:b=this._raw.getInt32(c);break;case 64:var d=this._raw.getInt32(c),e=this._raw.getInt32(c+4);b=d*Math.pow(2,32)+e}return this._cursor.offset+=a>>3,b},f.prototype._readUint=function(a){var b,c,d=null,e=this._cursor.offset-this._raw.byteOffset;switch(a){case 8:d=this._raw.getUint8(e);break;case 16:d=this._raw.getUint16(e);break;case 24:b=this._raw.getUint16(e),c=this._raw.getUint8(e+2),d=(b<<8)+c;break;case 32:d=this._raw.getUint32(e);break;case 64:b=this._raw.getUint32(e),c=this._raw.getUint32(e+4),d=b*Math.pow(2,32)+c}return this._cursor.offset+=a>>3,d},f.prototype._readString=function(a){for(var b="",c=0;c<a;c++){var d=this._readUint(8);b+=String.fromCharCode(d)}return b},f.prototype._readTemplate=function(a){return this._readUint(a/2)+this._readUint(a/2)/Math.pow(2,a/2)},f.prototype._readTerminatedString=function(){for(var a="";this._cursor.offset-this._offset<this._raw.byteLength;){var b=this._readUint(8);if(0===b)break;a+=String.fromCharCode(b)}return a},f.prototype._readData=function(a){var b=a>0?a:this._raw.byteLength-(this._cursor.offset-this._offset);if(b>0){var c=new Uint8Array(this._raw.buffer,this._cursor.offset,b);return this._cursor.offset+=b,c}return null},f.prototype._readUTF8String=function(){var a=this._raw.byteLength-(this._cursor.offset-this._offset),b=null;return a>0&&(b=new DataView(this._raw.buffer,this._cursor.offset,a),this._cursor.offset+=a),b?d.Utils.dataViewToString(b):b},f.prototype._parseBox=function(){if(this._parsing=!0,this._cursor.offset=this._offset,this._offset+8>this._raw.buffer.byteLength)return void(this._root._incomplete=!0);switch(this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this.size){case 0:this._raw=new DataView(this._raw.buffer,this._offset,this._raw.byteLength-this._cursor.offset+8);break;case 1:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.largesize);break;default:this._offset+this.size>this._raw.buffer.byteLength?(this._incomplete=!0,this._root._incomplete=!0):this._raw=new DataView(this._raw.buffer,this._offset,this.size)}this._incomplete||(this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type)?this._parseContainerBox():this._data=this._readData())},f.prototype._parseFullBox=function(){this.version=this._readUint(8),this.flags=this._readUint(24)},f.prototype._parseContainerBox=function(){for(this.boxes=[];this._cursor.offset-this._raw.byteOffset<this._raw.byteLength;)this.boxes.push(f.parse(this))},f.prototype.append=function(a,b){d.Utils.appendBox(this,a,b)},f.prototype.getLength=function(){if(this._parsing=!1,this._rawo=null,this.size=0,this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type))for(var a=0;a<this.boxes.length;a++)this.size+=this.boxes[a].getLength();return this._data&&this._writeData(this._data),this.size},f.prototype.write=function(){switch(this._parsing=!1,this._cursor.offset=this._parent._cursor.offset,this.size){case 0:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.parent._rawo.byteLength-this._cursor.offset);break;case 1:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.largesize);break;default:this._rawo=new DataView(this._parent._rawo.buffer,this._cursor.offset,this.size)}if(this._procField("size","uint",32),this._procField("type","string",4),1===this.size&&this._procField("largesize","uint",64),"uuid"===this.type&&this._procFieldArray("usertype",16,"uint",8),this._boxProcessors[this.type]&&this._boxProcessors[this.type].call(this),-1!==this._boxContainers.indexOf(this.type))for(var a=0;a<this.boxes.length;a++)this.boxes[a].write();return this._data&&this._writeData(this._data),this._parent._cursor.offset+=this.size,this.size},f.prototype._writeInt=function(a,b){if(this._rawo){var c=this._cursor.offset-this._rawo.byteOffset;switch(a){case 8:this._rawo.setInt8(c,b);break;case 16:this._rawo.setInt16(c,b);break;case 32:this._rawo.setInt32(c,b);break;case 64:var d=Math.floor(b/Math.pow(2,32)),e=b-d*Math.pow(2,32);this._rawo.setUint32(c,d),this._rawo.setUint32(c+4,e)}this._cursor.offset+=a>>3}else this.size+=a>>3},f.prototype._writeUint=function(a,b){if(this._rawo){var c,d,e=this._cursor.offset-this._rawo.byteOffset;switch(a){case 8:this._rawo.setUint8(e,b);break;case 16:this._rawo.setUint16(e,b);break;case 24:c=(16776960&b)>>8,d=255&b,this._rawo.setUint16(e,c),this._rawo.setUint8(e+2,d);break;case 32:this._rawo.setUint32(e,b);break;case 64:c=Math.floor(b/Math.pow(2,32)),d=b-c*Math.pow(2,32),this._rawo.setUint32(e,c),this._rawo.setUint32(e+4,d)}this._cursor.offset+=a>>3}else this.size+=a>>3},f.prototype._writeString=function(a,b){for(var c=0;c<a;c++)this._writeUint(8,b.charCodeAt(c))}
vendor: 7,938 bytes, line 8
8,f.prototype._writeTerminatedString=function(a){if(0!==a.length){for(var b=0;b<a.length;b++)this._writeUint(8,a.charCodeAt(b));this._writeUint(8,0)}},f.prototype._writeTemplate=function(a,b){var c=Math.floor(b),d=(b-c)*Math.pow(2,a/2);this._writeUint(a/2,c),this._writeUint(a/2,d)},f.prototype._writeData=function(a){var b;if(a)if(this._rawo){if(a instanceof Array){for(var c=this._cursor.offset-this._rawo.byteOffset,b=0;b<a.length;b++)this._rawo.setInt8(c+b,a[b]);this._cursor.offset+=a.length}a instanceof Uint8Array&&(this._root.bytes.set(a,this._cursor.offset),this._cursor.offset+=a.length)}else this.size+=a.length},f.prototype._writeUTF8String=function(a){var b=d.Utils.utf8ToByteArray(a);if(this._rawo)for(var c=new DataView(this._rawo.buffer,this._cursor.offset,b.length),e=0;e<b.length;e++)c.setUint8(e,b[e]);else this.size+=b.length},f.prototype._writeField=function(a,b,c){switch(a){case"uint":this._writeUint(b,c);break;case"int":this._writeInt(b,c);break;case"template":this._writeTemplate(b,c);break;case"string":-1==b?this._writeTerminatedString(c):this._writeString(b,c);break;case"data":this._writeData(c);break;case"utf8":this._writeUTF8String(c)}},f.prototype._boxProcessors.avc1=f.prototype._boxProcessors.encv=function(){this._procFieldArray("reserved1",6,"uint",8),this._procField("data_reference_index","uint",16),this._procField("pre_defined1","uint",16),this._procField("reserved2","uint",16),this._procFieldArray("pre_defined2",3,"uint",32),this._procField("width","uint",16),this._procField("height","uint",16),this._procField("horizresolution","template",32),this._procField("vertresolution","template",32),this._procField("reserved3","uint",32),this._procField("frame_count","uint",16),this._procFieldArray("compressorname",32,"uint",8),this._procField("depth","uint",16),this._procField("pre_defined3","int",16),this._procField("config","data",-1)},f.prototype._boxProcessors.dref=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procSubBoxes("entries",this.entry_count)},f.prototype._boxProcessors.elst=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procEntries("entries",this.entry_count,function(a){this._procEntryField(a,"segment_duration","uint",1===this.version?64:32),this._procEntryField(a,"media_time","int",1===this.version?64:32),this._procEntryField(a,"media_rate_integer","int",16),this._procEntryField(a,"media_rate_fraction","int",16)})},f.prototype._boxProcessors.emsg=function(){this._procFullBox(),this._procField("scheme_id_uri","string",-1),this._procField("value","string",-1),this._procField("timescale","uint",32),this._procField("presentation_time_delta","uint",32),this._procField("event_duration","uint",32),this._procField("id","uint",32),this._procField("message_data","data",-1)},f.prototype._boxProcessors.free=f.prototype._boxProcessors.skip=function(){this._procField("data","data",-1)},f.prototype._boxProcessors.frma=function(){this._procField("data_format","uint",32)},f.prototype._boxProcessors.ftyp=f.prototype._boxProcessors.styp=function(){this._procField("major_brand","string",4),this._procField("minor_version","uint",32);var a=-1;this._parsing&&(a=(this._raw.byteLength-(this._cursor.offset-this._raw.byteOffset))/4),this._procFieldArray("compatible_brands",a,"string",4)},f.prototype._boxProcessors.hdlr=function(){this._procFullBox(),this._procField("pre_defined","uint",32),this._procField("handler_type","string",4),this._procFieldArray("reserved",3,"uint",32),this._procField("name","string",-1)},f.prototype._boxProcessors.mdat=function(){this._procField("data","data",-1)},f.prototype._boxProcessors.mdhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("timescale","uint",32),this._procField("duration","uint",1==this.version?64:32),this._parsing||"string"!=typeof this.language||(this.language=this.language.charCodeAt(0)-96<<10|this.language.charCodeAt(1)-96<<5|this.language.charCodeAt(2)-96),this._procField("language","uint",16),this._parsing&&(this.language=String.fromCharCode(96+(this.language>>10&31),96+(this.language>>5&31),96+(31&this.language))),this._procField("pre_defined","uint",16)},f.prototype._boxProcessors.mehd=function(){this._procFullBox(),this._procField("fragment_duration","uint",1==this.version?64:32)},f.prototype._boxProcessors.mfhd=function(){this._procFullBox(),this._procField("sequence_number","uint",32)},f.prototype._boxProcessors.mfro=function(){this._procFullBox(),this._procField("mfra_size","uint",32)},f.prototype._boxProcessors.mp4a=f.prototype._boxProcessors.enca=function(){this._procFieldArray("reserved1",6,"uint",8),this._procField("data_reference_index","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procField("channelcount","uint",16),this._procField("samplesize","uint",16),this._procField("pre_defined","uint",16),this._procField("reserved3","uint",16),this._procField("samplerate","template",32),this._procField("esds","data",-1)},f.prototype._boxProcessors.mvhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("timescale","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procField("rate","template",32),this._procField("volume","template",16),this._procField("reserved1","uint",16),this._procFieldArray("reserved2",2,"uint",32),this._procFieldArray("matrix",9,"template",32),this._procFieldArray("pre_defined",6,"uint",32),this._procField("next_track_ID","uint",32)},f.prototype._boxProcessors.payl=function(){this._procField("cue_text","utf8")},f.prototype._boxProcessors.pssh=function(){this._procFullBox(),this._procFieldArray("SystemID",16,"uint",8),this._procField("DataSize","uint",32),this._procFieldArray("Data",this.DataSize,"uint",8)},f.prototype._boxProcessors.schm=function(){this._procFullBox(),this._procField("scheme_type","uint",32),this._procField("scheme_version","uint",32),1&this.flags&&this._procField("scheme_uri","string",-1)},f.prototype._boxProcessors.sdtp=function(){this._procFullBox();var a=-1;this._parsing&&(a=this._raw.byteLength-(this._cursor.offset-this._raw.byteOffset)),this._procFieldArray("sample_dependency_table",a,"uint",8)},f.prototype._boxProcessors.sidx=function(){this._procFullBox(),this._procField("reference_ID","uint",32),this._procField("timescale","uint",32),this._procField("earliest_presentation_time","uint",1==this.version?64:32),this._procField("first_offset","uint",1==this.version?64:32),this._procField("reserved","uint",16),this._procField("reference_count","uint",16),this._procEntries("references",this.reference_count,function(a){this._parsing||(a.reference=(1&a.reference_type)<<31,a.reference|=2147483647&a.referenced_size,a.sap=(1&a.starts_with_SAP)<<31,a.sap|=(3&a.SAP_type)<<28,a.sap|=268435455&a.SAP_delta_time),this._procEntryField(a,"reference","uint",32),this._procEntryField(a,"subsegment_duration","uint",32),this._procEntryField(a,"sap","uint",32),this._parsing&&(a.reference_type=a.reference>>31&1,a.referenced_size=2147483647&a.reference,a.starts_with_SAP=a.sap>>31&1,a.SAP_type=a.sap>>28&7,a.SAP_delta_time=268435455&a.sap)})},f.prototype._boxProcessors.smhd=function(){this._procFullBox(),this._procField("balance","uint",16),this._procField("reserved","uint",16)},f.prototype._boxProcessors.ssix=function(){this._procFullBox(),this._procField("subsegment_count","uint",32),this._procEntries("subsegments",this.subsegment_count,function(a){this._procEntryField(a,"ranges_count","uint",32),this._procSubEntries(a,"ranges",a.ranges_count,function(a){this._procEntryField(a,"level","uint",8),this._procEntryField(a,"range_size","uint",24)})})},f.prototype._boxProcessors.stsd=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procSubBoxes("entr
8ies",this.entry_count)},f.prototype._boxProcessors.subs=function(){this._procFullBox(),this._procField("entry_count","uint",32),this._procEntries("entries",this.entry_count,function(a){this._procEntryField(a,"sample_delta","uint",32),this._procEntryField(a,"subsample_count","uint",16),this._procSubEntries(a,"subsamples",a.subsample_count,function(a){this._procEntryField(a,"subsample_size","uint",1===this.version?32:16),this._procEntryField(a,"subsample_priority","uint",8),this._procEntryField(a,"discardable","uint",8),this._procEntryField(a,"codec_specific_parameters","uint",32)})})},f.prototype._boxProcessors.tenc=function(){this._procFullBox(),this._procField("default_IsEncrypted","uint",24),this._procField("default_IV_size","uint",8),this._procFieldArray("default_KID",16,"uint",8)},f.prototype._boxProcessors.tfdt=function(){this._procFullBox(),this._procField("baseMediaDecodeTime","uint",1==this.version?64:32)},f.prototype._boxProcessors.tfhd=function(){this._procFullBox(),this._procField("track_ID","uint",32),1&this.flags&&this._procField("base_data_offset","uint",64),2&this.flags&&this._procField("sample_description_offset","uint",32),8&this.flags&&this._procField("default_sample_duration","uint",32),16&this.flags&&this._procField("default_sample_size","uint",32),32&this.flags&&this._procField("default_sample_flags","uint",32)},f.prototype._boxProcessors.tfra=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._parsing||(this.reserved=0,this.reserved|=(48&this.length_size_of_traf_num)<<4,this.reserved|=(12&this.length_size_of_trun_num)<<2,this.reserved|=3&this.length_size_of_sample_num),this._procField("reserved","uint",32),this._parsing&&(this.length_size_of_traf_num=(48&this.reserved)>>4,this.length_size_of_trun_num=(12&this.reserved)>>2,this.length_size_of_sample_num=3&this.reserved),this._procField("number_of_entry","uint",32),this._procEntries("entries",this.number_of_entry,function(a){this._procEntryField(a,"time","uint",1===this.version?64:32),this._procEntryField(a,"moof_offset","uint",1===this.version?64:32),this._procEntryField(a,"traf_number","uint",8*(this.length_size_of_traf_num+1)),this._procEntryField(a,"trun_number","uint",8*(this.length_size_of_trun_num+1)),this._procEntryField(a,"sample_number","uint",8*(this.length_size_of_sample_num+1))})},f.prototype._boxProcessors.tkhd=function(){this._procFullBox(),this._procField("creation_time","uint",1==this.version?64:32),this._procField("modification_time","uint",1==this.version?64:32),this._procField("track_ID","uint",32),this._procField("reserved1","uint",32),this._procField("duration","uint",1==this.version?64:32),this._procFieldArray("reserved2",2,"uint",32),this._procField("layer","uint",16),this._procField("alternate_group","uint",16),this._procField("volume","template",16),this._procField("reserved3","uint",16),this._procFieldArray("matrix",9,"template",32),this._procField("width","template",32),this._procField("height","template",32)},f.prototype._boxProcessors.trex=function(){this._procFullBox(),this._procField("track_ID","uint",32),this._procField("default_sample_description_index","uint",32),this._procField("default_sample_duration","uint",32),this._procField("default_sample_size","uint",32),this._procField("default_sample_flags","uint",32)},f.prototype._boxProcessors.trun=function(){this._procFullBox(),this._procField("sample_count","uint",32),1&this.flags&&this._procField("data_offset","int",32),4&this.flags&&this._procField("first_sample_flags","uint",32),this._procEntries("samples",this.sample_count,function(a){256&this.flags&&this._procEntryField(a,"sample_duration","uint",32),512&this.flags&&this._procEntryField(a,"sample_size","uint",32),1024&this.flags&&this._procEntryField(a,"sample_flags","uint",32),2048&this.flags&&this._procEntryField(a,"sample_composition_time_offset",1===this.version?"int":"uint",32)})},f.prototype._boxProcessors["url "]=f.prototype._boxProcessors["urn "]=function(){this._procFullBox(),"urn "===this.type&&this._procField("name","string",-1),this._procField("location","string",-1)},f.prototype._boxProcessors.vlab=function(){this._procField("source_label","utf8")},f.prototype._boxProcessors.vmhd=function(){this._procFullBox(),this._procField("graphicsmode","uint",16),this._procFieldArray("opcolor",3,"uint",16)},f.prototype._boxProcessors.vttC=function(){this._procField("config","utf8")},f.prototype._boxProcessors.vtte=function(){}},{}],7:[function(a,b,c){"use strict";var d=Array.isArray,e=Object.keys,f=Object.prototype.hasOwnProperty;b.exports=function a(b,c){if(b===c)return!0;var g,h,i,j=d(b),k=d(c);if(j&&k){if((h=b.length)!=c.length)return!1;for(g=0;g<h;g++)if(!a(b[g],c[g]))return!1;return!0}if(j!=k)return!1;var l=b instanceof Date,m=c instanceof Date;if(l!=m)return!1;if(l&&m)return b.getTime()==c.getTime();var n=b instanceof RegExp,o=c instanceof RegExp;if(n!=o)return!1;if(n&&o)return b.toString()==c.toString();if(b instanceof Object&&c instanceof Object){var p=e(b);if((h=p.length)!==e(c).length)return!1;for(g=0;g<h;g++)if(!f.call(c,p[g]))return!1;for(g=0;g<h;
vendor: 8,758 bytes, lines 8-14
8g++)if(i=p[g],!a(b[i],c[i]))return!1;return!0}return!1}},{}],8:[function(a,b,c){!function(a){"use strict";function b(a){var b=a.charCodeAt(0);return b===f||b===k?62:b===g||b===l?63:b<h?-1:b<h+10?b-h+26+26:b<j+26?b-j:b<i+26?b-i+26:void 0}function c(a){function c(a){j[l++]=a}var d,f,g,h,i,j;if(a.length%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var k=a.length;i="="===a.charAt(k-2)?2:"="===a.charAt(k-1)?1:0,j=new e(3*a.length/4-i),g=i>0?a.length-4:a.length;var l=0;for(d=0,f=0;d<g;d+=4,f+=3)h=b(a.charAt(d))<<18|b(a.charAt(d+1))<<12|b(a.charAt(d+2))<<6|b(a.charAt(d+3)),c((16711680&h)>>16),c((65280&h)>>8),c(255&h);return 2===i?(h=b(a.charAt(d))<<2|b(a.charAt(d+1))>>4,c(255&h)):1===i&&(h=b(a.charAt(d))<<10|b(a.charAt(d+1))<<4|b(a.charAt(d+2))>>2,c(h>>8&255),c(255&h)),j}function d(a){function b(a){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a)}function c(a){return b(a>>18&63)+b(a>>12&63)+b(a>>6&63)+b(63&a)}var d,e,f,g=a.length%3,h="";for(d=0,f=a.length-g;d<f;d+=3)e=(a[d]<<16)+(a[d+1]<<8)+a[d+2],h+=c(e);switch(g){case 1:e=a[a.length-1],h+=b(e>>2),h+=b(e<<4&63),h+="==";break;case 2:e=(a[a.length-2]<<8)+a[a.length-1],h+=b(e>>10),h+=b(e>>4&63),h+=b(e<<2&63),h+="="}return h}var e="undefined"!=typeof Uint8Array?Uint8Array:Array,f="+".charCodeAt(0),g="/".charCodeAt(0),h="0".charCodeAt(0),i="a".charCodeAt(0),j="A".charCodeAt(0),k="-".charCodeAt(0),l="_".charCodeAt(0);a.toByteArray=c,a.fromByteArray=d}(void 0===c?this.base64js={}:c)},{}],9:[function(a,b,c){},{}],10:[function(a,b,c){(function(b){/*!
9 * The buffer module from node.js, for the browser.
10 *
11 * @author   Feross Aboukhadijeh <[email protected]> <http://feross.org>
12 * @license  MIT
13 */
14"use strict";function d(){function a(){}try{var b=new Uint8Array(1);return b.foo=function(){return 42},b.constructor=a,42===b.foo()&&b.constructor===a&&"function"==typeof b.subarray&&0===b.subarray(1,1).byteLength}catch(c){return!1}}function e(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function f(a){return this instanceof f?(f.TYPED_ARRAY_SUPPORT||(this.length=0,this.parent=void 0),"number"==typeof a?g(this,a):"string"==typeof a?h(this,a,arguments.length>1?arguments[1]:"utf8"):i(this,a)):arguments.length>1?new f(a,arguments[1]):new f(a)}function g(a,b){if(a=p(a,b<0?0:0|q(b)),!f.TYPED_ARRAY_SUPPORT)for(var c=0;c<b;c++)a[c]=0;return a}function h(a,b,c){return"string"==typeof c&&""!==c||(c="utf8"),a=p(a,0|s(b,c)),a.write(b,c),a}function i(a,b){if(f.isBuffer(b))return j(a,b);if(Y(b))return k(a,b);if(null==b)throw new TypeError("must start with number, buffer, array or string");if("undefined"!=typeof ArrayBuffer){if(b.buffer instanceof ArrayBuffer)return l(a,b);if(b instanceof ArrayBuffer)return m(a,b)}return b.length?n(a,b):o(a,b)}function j(a,b){var c=0|q(b.length);return a=p(a,c),b.copy(a,0,0,c),a}function k(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function l(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function m(a,b){return f.TYPED_ARRAY_SUPPORT?(b.byteLength,a=f._augment(new Uint8Array(b))):a=l(a,new Uint8Array(b)),a}function n(a,b){var c=0|q(b.length);a=p(a,c);for(var d=0;d<c;d+=1)a[d]=255&b[d];return a}function o(a,b){var c,d=0;"Buffer"===b.type&&Y(b.data)&&(c=b.data,d=0|q(c.length)),a=p(a,d);for(var e=0;e<d;e+=1)a[e]=255&c[e];return a}function p(a,b){return f.TYPED_ARRAY_SUPPORT?(a=f._augment(new Uint8Array(b)),a.__proto__=f.prototype):(a.length=b,a._isBuffer=!0),0!==b&&b<=f.poolSize>>>1&&(a.parent=Z),a}function q(a){if(a>=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|a}function r(a,b){if(!(this instanceof r))return new r(a,b);var c=new f(a,b);return delete c.parent,c}function s(a,b){"string"!=typeof a&&(a=""+a);var c=a.length;if(0===c)return 0;for(var d=!1;;)switch(b){case"ascii":case"binary":case"raw":case"raws":return c;case"utf8":case"utf-8":return R(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*c;case"hex":return c>>>1;case"base64":return U(a).length;default:if(d)return R(a).length;b=(""+b).toLowerCase(),d=!0}}function t(a,b,c){var d=!1;if(b|=0,c=void 0===c||c===1/0?this.length:0|c,a||(a="utf8"),b<0&&(b=0),c>this.length&&(c=this.length),c<=b)return"";for(;;)switch(a){case"hex":return F(this,b,c);case"utf8":case"utf-8":return B(this,b,c);case"ascii":return D(this,b,c);case"binary":return E(this,b,c);case"base64":return A(this,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return G(this,b,c);default:if(d)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),d=!0}}function u(a,b,c,d){c=Number(c)||0;var e=a.length-c;d?(d=Number(d))>e&&(d=e):d=e;var f=b.length;if(f%2!=0)throw new Error("Invalid hex string");d>f/2&&(d=f/2);for(var g=0;g<d;g++){var h=parseInt(b.substr(2*g,2),16);if(isNaN(h))throw new Error("Invalid hex string");a[c+g]=h}return g}function v(a,b,c,d){return V(R(b,a.length-c),a,c,d)}function w(a,b,c,d){return V(S(b),a,c,d)}function x(a,b,c,d){return w(a,b,c,d)}function y(a,b,c,d){return V(U(b),a,c,d)}function z(a,b,c,d){return V(T(b,a.length-c),a,c,d)}function A(a,b,c){return 0===b&&c===a.length?W.fromByteArray(a):W.fromByteArray(a.slice(b,c))}function B(a,b,c){c=Math.min(a.length,c);for(var d=[],e=b;e<c;){var f=a[e],g=null,h=f>239?4:f>223?3:f>191?2:1;if(e+h<=c){var i,j,k,l;switch(h){case 1:f<128&&(g=f);break;case 2:i=a[e+1],128==(192&i)&&(l=(31&f)<<6|63&i)>127&&(g=l);break;case 3:i=a[e+1],j=a[e+2],128==(192&i)&&128==(192&j)&&(l=(15&f)<<12|(63&i)<<6|63&j)>2047&&(l<55296||l>57343)&&(g=l);break;case 4:i=a[e+1],j=a[e+2],k=a[e+3],128==(192&i)&&128==(192&j)&&128==(192&k)&&(l=(15&f)<<18|(63&i)<<12|(63&j)<<6|63&k)>65535&&l<1114112&&(g=l)}}null===g?(g=65533,h=1):g>65535&&(g-=65536,d.push(g>>>10&1023|55296),g=56320|1023&g),d.push(g),e+=h}return C(d)}function C(a){var b=a.length;if(b<=$)return String.fromCharCode.apply(String,a);for(var c="",d=0;d<b;)c+=String.fromCharCode.apply(String,a.slice(d,d+=$));return c}function D(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;e<c;e++)d+=String.fromCharCode(127&a[e]);return d}function E(a,b,c){var d="";c=Math.min(a.length,c);for(var e=b;e<c;e++)d+=String.fromCharCode(a[e]);return d}function F(a,b,c){var d=a.length;(!b||b<0)&&(b=0),(!c||c<0||c>d)&&(c=d);for(var e="",f=b;f<c;f++)e+=Q(a[f]);return e}function G(a,b,c){for(var d=a.slice(b,c),e="",f=0;f<d.length;f+=2)e+=String.fromCharCode(d[f]+256*d[f+1]);return e}function H(a,b,c){if(a%1!=0||a<0)throw new RangeError("offset is not uint");if(a+b>c)throw new RangeError("Trying to access beyond buffer length")}function I(a,b,c,d,e,g){if(!f.isBuffer(a))throw new TypeError("buffer must be a Buffer instance");if(b>e||b<g)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range")}function J(a,b,c,d){b<0&&(b=65535+b+1);for(var e=0,f=Math.min(a.length-c,2);e<f;e++)a[c+e]=(b&255<<8*(d?e:1-e))>>>8*(d?e:1-e)}function K(a,b,c,d){b<0&&(b=4294967295+b+1);for(var e=0,f=Math.min(a.length-c,4);e<f;e++)a[c+e]=b>>>8*(d?e:3-e)&255}function L(a,b,c,d,e,f){if(b>e||b<f)throw new RangeError("value is out of bounds");if(c+d>a.length)throw new RangeError("index out of range");if(c<0)throw new RangeError("index out of range")}function M(a,b,c,d,e){return e||L(a,b,c,4,3.4028234663852886e38,-3.4028234663852886e38),X.write(a,b,c,d,23,4),c+4}function N(a,b,c,d,e){return e||L(a,b,c,8,1.7976931348623157e308,-1.7976931348623157e308),X.write(a,b,c,d,52,8),c+8}function O(a){if(a=P(a).replace(aa,""),a.length<2)return"";for(;a.length%4!=0;)a+="=";return a}function P(a){return a.trim?a.trim():a.replace(/^\s+|\s+$/g,"")}function Q(a){return a<16?"0"+a.toString(16):a.toString(16)}function R(a,b){b=b||1/0;for(var c,d=a.length,e=null,f=[],g=0;g<d;g++){if((c=a.charCodeAt(g))>55295&&c<57344){if(!e){if(c>56319){(b-=3)>-1&&f.push(239,191,189);continue}if(g+1===d){(b-=3)>-1&&f.push(239,191,189);continue}e=c;continue}if(c<56320){(b-=3)>-1&&f.push(239,191,189),e=c;continue}c=65536+(e-55296<<10|c-56320)}else e&&(b-=3)>-1&&f.push(239,191,189);if(e=null,c<128){if((b-=1)<0)break;f.push(c)}else if(c<2048){if((b-=2)<0)break;f.push(c>>6|192,63&c|128)}else if(c<65536){if((b-=3)<0)break;f.push(c>>12|224,c>>6&63|128,63&c|128)}else{if(!(c<1114112))throw new Error("Invalid code point");if((b-=4)<0)break;f.push(c>>18|240,c>>12&63|128,c>>6&63|128,63&c|128)}}return f}function S(a){for(var b=[],c=0;c<a.length;c++)b.push(255&a.charCodeAt(c));return b}function T(a,b){for(var c,d,e,f=[],g=0;g<a.length&&!((b-=2)<0);g++)c=a.charCodeAt(g),d=c>>8,e=c%256,f.push(e),f.push(d);return f}function U(a){return W.toByteArray(O(a))}function V(a,b,c,d){for(var e=0;e<d&&!(e+c>=b.length||e>=a.length);e++)b[e+c]=a[e];return e}var W=a(8),X=a(14),Y=a(11
vendor: 11,518 bytes, line 14
14);c.Buffer=f,c.SlowBuffer=r,c.INSPECT_MAX_BYTES=50,f.poolSize=8192;var Z={};f.TYPED_ARRAY_SUPPORT=void 0!==b.TYPED_ARRAY_SUPPORT?b.TYPED_ARRAY_SUPPORT:d(),f.TYPED_ARRAY_SUPPORT?(f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array):(f.prototype.length=void 0,f.prototype.parent=void 0),f.isBuffer=function(a){return!(null==a||!a._isBuffer)},f.compare=function(a,b){if(!f.isBuffer(a)||!f.isBuffer(b))throw new TypeError("Arguments must be Buffers");if(a===b)return 0;for(var c=a.length,d=b.length,e=0,g=Math.min(c,d);e<g&&a[e]===b[e];)++e;return e!==g&&(c=a[e],d=b[e]),c<d?-1:d<c?1:0},f.isEncoding=function(a){switch(String(a).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(a,b){if(!Y(a))throw new TypeError("list argument must be an Array of Buffers.");if(0===a.length)return new f(0);var c;if(void 0===b)for(b=0,c=0;c<a.length;c++)b+=a[c].length;var d=new f(b),e=0;for(c=0;c<a.length;c++){var g=a[c];g.copy(d,e),e+=g.length}return d},f.byteLength=s,f.prototype.toString=function(){var a=0|this.length;return 0===a?"":0===arguments.length?B(this,0,a):t.apply(this,arguments)},f.prototype.equals=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a||0===f.compare(this,a)},f.prototype.inspect=function(){var a="",b=c.INSPECT_MAX_BYTES;return this.length>0&&(a=this.toString("hex",0,b).match(/.{2}/g).join(" "),this.length>b&&(a+=" ... ")),"<Buffer "+a+">"},f.prototype.compare=function(a){if(!f.isBuffer(a))throw new TypeError("Argument must be a Buffer");return this===a?0:f.compare(this,a)},f.prototype.indexOf=function(a,b){function c(a,b,c){for(var d=-1,e=0;c+e<a.length;e++)if(a[c+e]===b[-1===d?0:e-d]){if(-1===d&&(d=e),e-d+1===b.length)return c+d}else d=-1;return-1}if(b>2147483647?b=2147483647:b<-2147483648&&(b=-2147483648),b>>=0,0===this.length)return-1;if(b>=this.length)return-1;if(b<0&&(b=Math.max(this.length+b,0)),"string"==typeof a)return 0===a.length?-1:String.prototype.indexOf.call(this,a,b);if(f.isBuffer(a))return c(this,a,b);if("number"==typeof a)return f.TYPED_ARRAY_SUPPORT&&"function"===Uint8Array.prototype.indexOf?Uint8Array.prototype.indexOf.call(this,a,b):c(this,[a],b);throw new TypeError("val must be string, number or Buffer")},f.prototype.get=function(a){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(a)},f.prototype.set=function(a,b){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(a,b)},f.prototype.write=function(a,b,c,d){if(void 0===b)d="utf8",c=this.length,b=0;else if(void 0===c&&"string"==typeof b)d=b,c=this.length,b=0;else if(isFinite(b))b|=0,isFinite(c)?(c|=0,void 0===d&&(d="utf8")):(d=c,c=void 0);else{var e=d;d=b,b=0|c,c=e}var f=this.length-b;if((void 0===c||c>f)&&(c=f),a.length>0&&(c<0||b<0)||b>this.length)throw new RangeError("attempt to write outside buffer bounds");d||(d="utf8");for(var g=!1;;)switch(d){case"hex":return u(this,a,b,c);case"utf8":case"utf-8":return v(this,a,b,c);case"ascii":return w(this,a,b,c);case"binary":return x(this,a,b,c);case"base64":return y(this,a,b,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z(this,a,b,c);default:if(g)throw new TypeError("Unknown encoding: "+d);d=(""+d).toLowerCase(),g=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var $=4096;f.prototype.slice=function(a,b){var c=this.length;a=~~a,b=void 0===b?c:~~b,a<0?(a+=c)<0&&(a=0):a>c&&(a=c),b<0?(b+=c)<0&&(b=0):b>c&&(b=c),b<a&&(b=a);var d;if(f.TYPED_ARRAY_SUPPORT)d=f._augment(this.subarray(a,b));else{var e=b-a;d=new f(e,void 0);for(var g=0;g<e;g++)d[g]=this[g+a]}return d.length&&(d.parent=this.parent||this),d},f.prototype.readUIntLE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return d},f.prototype.readUIntBE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a+--b],e=1;b>0&&(e*=256);)d+=this[a+--b]*e;return d},f.prototype.readUInt8=function(a,b){return b||H(a,1,this.length),this[a]},f.prototype.readUInt16LE=function(a,b){return b||H(a,2,this.length),this[a]|this[a+1]<<8},f.prototype.readUInt16BE=function(a,b){return b||H(a,2,this.length),this[a]<<8|this[a+1]},f.prototype.readUInt32LE=function(a,b){return b||H(a,4,this.length),(this[a]|this[a+1]<<8|this[a+2]<<16)+16777216*this[a+3]},f.prototype.readUInt32BE=function(a,b){return b||H(a,4,this.length),16777216*this[a]+(this[a+1]<<16|this[a+2]<<8|this[a+3])},f.prototype.readIntLE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=this[a],e=1,f=0;++f<b&&(e*=256);)d+=this[a+f]*e;return e*=128,d>=e&&(d-=Math.pow(2,8*b)),d},f.prototype.readIntBE=function(a,b,c){a|=0,b|=0,c||H(a,b,this.length);for(var d=b,e=1,f=this[a+--d];d>0&&(e*=256);)f+=this[a+--d]*e;return e*=128,f>=e&&(f-=Math.pow(2,8*b)),f},f.prototype.readInt8=function(a,b){return b||H(a,1,this.length),128&this[a]?-1*(255-this[a]+1):this[a]},f.prototype.readInt16LE=function(a,b){b||H(a,2,this.length);var c=this[a]|this[a+1]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt16BE=function(a,b){b||H(a,2,this.length);var c=this[a+1]|this[a]<<8;return 32768&c?4294901760|c:c},f.prototype.readInt32LE=function(a,b){return b||H(a,4,this.length),this[a]|this[a+1]<<8|this[a+2]<<16|this[a+3]<<24},f.prototype.readInt32BE=function(a,b){return b||H(a,4,this.length),this[a]<<24|this[a+1]<<16|this[a+2]<<8|this[a+3]},f.prototype.readFloatLE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!0,23,4)},f.prototype.readFloatBE=function(a,b){return b||H(a,4,this.length),X.read(this,a,!1,23,4)},f.prototype.readDoubleLE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!0,52,8)},f.prototype.readDoubleBE=function(a,b){return b||H(a,8,this.length),X.read(this,a,!1,52,8)},f.prototype.writeUIntLE=function(a,b,c,d){a=+a,b|=0,c|=0,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=1,f=0;for(this[b]=255&a;++f<c&&(e*=256);)this[b+f]=a/e&255;return b+c},f.prototype.writeUIntBE=function(a,b,c,d){a=+a,b|=0,c|=0,d||I(this,a,b,c,Math.pow(2,8*c),0);var e=c-1,f=1;for(this[b+e]=255&a;--e>=0&&(f*=256);)this[b+e]=a/f&255;return b+c},f.prototype.writeUInt8=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,1,255,0),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),this[b]=255&a,b+1},f.prototype.writeUInt16LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeUInt16BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeUInt32LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b+3]=a>>>24,this[b+2]=a>>>16,this[b+1]=a>>>8,this[b]=255&a):K(this,a,b,!0),b+4},f.prototype.writeUInt32BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeIntLE=function(a,b,c,d){if(a=+a,b|=0,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=0,g=1,h=a<0?1:0;for(this[b]=255&a;++f<c&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeIntBE=function(a,b,c,d){if(a=+a,b|=0,!d){var e=Math.pow(2,8*c-1);I(this,a,b,c,e-1,-e)}var f=c-1,g=1,h=a<0?1:0;for(this[b+f]=255&a;--f>=0&&(g*=256);)this[b+f]=(a/g>>0)-h&255;return b+c},f.prototype.writeInt8=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,1,127,-128),f.TYPED_ARRAY_SUPPORT||(a=Math.floor(a)),a<0&&(a=255+a+1),this[b]=255&a,b+1},f.prototype.writeInt16LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8):J(this,a,b,!0),b+2},f.prototype.writeInt16BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>8,this[b+1]=255&a):J(this,a,b,!1),b+2},f.prototype.writeInt32LE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[b]=255&a,this[b+1]=a>>>8,this[b+2]=a>>>16,this[b+3]=a>>>24):K(this,a,b,!0),b+4},f.prototype.writeInt32BE=function(a,b,c){return a=+a,b|=0,c||I(this,a,b,4,2147483647,-2147483648),a<0&&(a=4294967295+a+1),f.TYPED_ARRAY_SUPPORT?(this[b]=a>>>24,this[b+1]=a>>>16,this[b+2]=a>>>8,this[b+3]=255&a):K(this,a,b,!1),b+4},f.prototype.writeFloatLE=function(a,b,c){return M(this,a,b,!0,c)},f.prototype.writeFloatBE=function(a,b,c){return M(this,a,b,!1,c)},f.prototype.writeDoubleLE=function(a,b,c){return N(this,a,b,!0,c)},f.prototype.writeDoubleBE=function(a,b,c){return N(this,a,b,!1,c)},f.prototype.copy=function(a,b,c,d){if(c||(c=0),d||0===d||(d=this.length),b>=a.length&&(b=a.length),b||(b=0),d>0&&d<c&&(d=c),d===c)return 0;if(0===a.length||0===this.length)return 0;if(b<0)throw new RangeError("targetStart out of bounds");if(c<0||c>=this.length)throw new RangeError("sourceStart out of bounds");if(d<0)throw new RangeError("sourceEnd out of bounds");d>this.length&&(d=this.length),a.length-b<d-c&&(d=a.length-b+c);var e,g=d-c;if(this===a&&c<b&&b<d)for(e=g-1;e>=0;e--)a[e+b]=this[e+c];else if(g<1e3||!f.TYPED_ARRAY_SUPPORT)for(e=0;e<g;e++)a[e+b]=this[e+c];else a._set(this.subarray(c,c+g),b);return g},f.prototype.fill=function(a,b,c){if(a||(a=0),b||(b=0),c||(c=this.length),c<b)throw new RangeError("end < start");if(c!==b&&0!==this.length){if(b<0||b>=this.length)throw new RangeError("start out of bounds");if(c<0||c>this.length)throw new RangeError("end out of bounds");var d;if("number"==typeof a)for(d=b;d<c;d++)this[d]=a;else{var e=R(a.toString()),f=e.length;for(d=b;d<c;d++)this[d]=e[d%f]}return this}},f.prototype.toArrayBuffer=function(){if("undefined"!=typeof Uint8Array){if(f.TYPED_ARRAY_SUPPORT)return new f(this).buffer;for(var a=new Uint8Array(this.length),b=0,c=a.length;b<c;b+=1)a[b]=this[b];return a.buffer}throw new TypeError("Buffer.toArrayBuffer not supported in this browser")};var _=f.prototype;f._augment=function(a){return a.constructor=f,a._isBuffer=!0,a._set=a.set,a.get=_.get,a.set=_.set,a.write=_.write,a.toString=_.toString,a.toLocaleString=_.toString,a.toJSON=_.toJSON,a.equals=_.equals,a.compare=_.compare,a.indexOf=_.indexOf,a.copy=_.copy,a.slice=_.slice,a.readUIntLE=_.readUIntLE,a.readUIntBE=_.readUIntBE,a.readUInt8=_.readUInt8,a.readUInt16LE=_.readUInt16LE,a.readUInt16BE=_.readUInt16BE,a.readUInt32LE=_.readUInt32LE,a.readUInt32BE=_.readUInt32BE,a.readIntLE=_.readIntLE,a.readIntBE=_.readIntBE,a.readInt8=_.readInt8,a.readInt16LE=_.readInt16LE,a.readInt16BE=_.readInt16BE,a.readInt32LE=_.readInt32LE,a.readInt32BE=_.readInt32BE,a.readFloatLE=_.readFloatLE,a.readFloatBE=_.readFloatBE,a.readDoubleLE=_.readDoubleLE,a.readDoubleBE=_.readDoubleBE,a.writeUInt8=_.writeUInt8,a.writeUIntLE=_.writeUIntLE,a.writeUIntBE=_.writeUIntBE,a.writeUInt16LE=_.writeUInt16LE,a.writeUInt16BE=_.writeUInt16BE,a.writeUInt32LE=_.writeUInt32LE,a.writeUInt32BE=_.writeUInt32BE,a.writeIntLE=_.writeIntLE,a.writeIntBE=_.writeIntBE,a.writeInt8=_.writeInt8,a.writeInt16LE=_.writeInt16LE,a.writeInt16BE=_.writeInt16BE,a.writeInt32LE=_.writeInt32LE,a.writeInt32BE=_.writeInt32BE,a.writeFloatLE=_.writeFloatLE,a.writeFloatBE=_.writeFloatBE,a.writeDoubleLE=_.writeDoubleLE,a.writeDoubleBE=_.writeDoubleBE,a.fill=_.fill,a.inspect=_.inspect,a.toArrayBuffer=_.toArrayBuffer,a};var aa=/[^+\/0-9A-Za-z-_]/g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{
1411:11,14:14,8:8}],11:[function(a,b,c){var d={}.toString;b.exports=Array.isArray||function(a){return"[object Array]"==d.call(a)}},{}],12:[function(a,b,c){(function(a){function b(a){return Array.isArray?Array.isArray(a):"[object Array]"===q(a)}function d(a){return"boolean"==typeof a}function e(a){return null===a}function f(a){return null==a}function g(a){return"number"==typeof a}function h(a){return"string"==typeof a}function i(a){return"symbol"==typeof a}function j(a){return void 0===a}function k(a){return"[object RegExp]"===q(a)}function l(a){return"object"==typeof a&&null!==a}function m(a){return"[object Date]"===q(a)}function n(a){return"[object Error]"===q(a)||a instanceof Error}function o(a){return"function"==typeof a}function p(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a}function q(a){return Object.prototype.toString.call(a)}c.isArray=b,c.isBoolean=d,c.isNull=e,c.isNullOrUndefined=f,c.isNumber=g,c.isString=h,c.isSymbol=i,c.isUndefined=j,c.isRegExp=k,c.isObject=l,c.isDate=m,c.isError=n,c.isFunction=o,c.isPrimitive=p,c.isBuffer=a.isBuffer}).call(this,{isBuffer:a(16)})},{16:16}],13:[function(a,b,c){function d(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function e(a){return"function"==typeof a}function f(a){return"number"==typeof a}function g(a){return"object"==typeof a&&null!==a}function h(a){return void 0===a}b.exports=d,d.EventEmitter=d,d.prototype._events=void 0,d.prototype._maxListeners=void 0,d.defaultMaxListeners=10,d.prototype.setMaxListeners=function(a){if(!f(a)||a<0||isNaN(a))throw TypeError("n must be a positive number");return this._maxListeners=a,this},d.prototype.emit=function(a){var b,c,d,f,i,j;if(this._events||(this._events={}),"error"===a&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){if((b=arguments[1])instanceof Error)throw b;throw TypeError('Uncaught, unspecified "error" event.')}if(c=this._events[a],h(c))return!1;if(e(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:for(d=arguments.length,f=new Array(d-1),i=1;i<d;i++)f[i-1]=arguments[i];c.apply(this,f)}else if(g(c)){for(d=arguments.length,f=new Array(d-1),i=1;i<d;i++)f[i-1]=arguments[i];for(j=c.slice(),d=j.length,i=0;i<d;i++)j[i].apply(this,f)}return!0},d.prototype.addListener=function(a,b){var c;if(!e(b))throw TypeError("listener must be a function");if(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",a,e(b.listener)?b.listener:b),this._events[a]?g(this._events[a])?this._events[a].push(b):this._events[a]=[this._events[a],b]:this._events[a]=b,g(this._events[a])&&!this._events[a].warned){var c;c=h(this._maxListeners)?d.defaultMaxListeners:this._maxListeners,c&&c>0&&this._events[a].length>c&&(this._events[a].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[a].length),"function"==typeof console.trace&&console.trace())}return this},d.prototype.on=d.prototype.addListener,d.prototype.once=function(a,b){function c(){this.removeListener(a,c),d||(d=!0,b.apply(this,arguments))}if(!e(b))throw TypeError("listener must be a function");var d=!1;return c.listener=b,this.on(a,c),this},d.prototype.removeListener=function(a,b){var c,d,f,h;if(!e(b))throw TypeError("listener must be a function");if(!this._events||!this._events[a])return this;if(c=this._events[a],f=c.length,d=-1,c===b||e(c.listener)&&c.listener===b)delete this._events[a],this._events.removeListener&&this.emit
vendor: 5,553 bytes, lines 14-20
14("removeListener",a,b);else if(g(c)){for(h=f;h-- >0;)if(c[h]===b||c[h].listener&&c[h].listener===b){d=h;break}if(d<0)return this;1===c.length?(c.length=0,delete this._events[a]):c.splice(d,1),this._events.removeListener&&this.emit("removeListener",a,b)}return this},d.prototype.removeAllListeners=function(a){var b,c;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[a]&&delete this._events[a],this;if(0===arguments.length){for(b in this._events)"removeListener"!==b&&this.removeAllListeners(b);return this.removeAllListeners("removeListener"),this._events={},this}if(c=this._events[a],e(c))this.removeListener(a,c);else for(;c.length;)this.removeListener(a,c[c.length-1]);return delete this._events[a],this},d.prototype.listeners=function(a){return this._events&&this._events[a]?e(this._events[a])?[this._events[a]]:this._events[a].slice():[]},d.listenerCount=function(a,b){return a._events&&a._events[b]?e(a._events[b])?1:a._events[b].length:0}},{}],14:[function(a,b,c){c.read=function(a,b,c,d,e){var f,g,h=8*e-d-1,i=(1<<h)-1,j=i>>1,k=-7,l=c?e-1:0,m=c?-1:1,n=a[b+l];for(l+=m,f=n&(1<<-k)-1,n>>=-k,k+=h;k>0;f=256*f+a[b+l],l+=m,k-=8);for(g=f&(1<<-k)-1,f>>=-k,k+=d;k>0;g=256*g+a[b+l],l+=m,k-=8);if(0===f)f=1-j;else{if(f===i)return g?NaN:1/0*(n?-1:1);g+=Math.pow(2,d),f-=j}return(n?-1:1)*g*Math.pow(2,f-d)},c.write=function(a,b,c,d,e,f){var g,h,i,j=8*f-e-1,k=(1<<j)-1,l=k>>1,m=23===e?Math.pow(2,-24)-Math.pow(2,-77):0,n=d?0:f-1,o=d?1:-1,p=b<0||0===b&&1/b<0?1:0;for(b=Math.abs(b),isNaN(b)||b===1/0?(h=isNaN(b)?1:0,g=k):(g=Math.floor(Math.log(b)/Math.LN2),b*(i=Math.pow(2,-g))<1&&(g--,i*=2),b+=g+l>=1?m/i:m*Math.pow(2,1-l),b*i>=2&&(g++,i/=2),g+l>=k?(h=0,g=k):g+l>=1?(h=(b*i-1)*Math.pow(2,e),g+=l):(h=b*Math.pow(2,l-1)*Math.pow(2,e),g=0));e>=8;a[c+n]=255&h,n+=o,h/=256,e-=8);for(g=g<<e|h,j+=e;j>0;a[c+n]=255&g,n+=o,g/=256,j-=8);a[c+n-o]|=128*p}},{}],15:[function(a,b,c){"function"==typeof Object.create?b.exports=function(a,b){a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:b.exports=function(a,b){a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}},{}],16:[function(a,b,c){function d(a){return!!a.constructor&&"function"==typeof a.constructor.isBuffer&&a.constructor.isBuffer(a)}function e(a){return"function"==typeof a.readFloatLE&&"function"==typeof a.slice&&d(a.slice(0,0))}/*!
15 * Determine if an object is a Buffer
16 *
17 * @author   Feross Aboukhadijeh <https://feross.org>
18 * @license  MIT
19 */
20b.exports=function(a){return null!=a&&(d(a)||e(a)||!!a._isBuffer)}},{}],17:[function(a,b,c){(function(a){"use strict";function c(b,c,d,e){if("function"!=typeof b)throw new TypeError('"callback" argument must be a function');var f,g,h=arguments.length;switch(h){case 0:case 1:return a.nextTick(b);case 2:return a.nextTick(function(){b.call(null,c)});case 3:return a.nextTick(function(){b.call(null,c,d)});case 4:return a.nextTick(function(){b.call(null,c,d,e)});default:for(f=new Array(h-1),g=0;g<f.length;)f[g++]=arguments[g];return a.nextTick(function(){b.apply(null,f)})}}!a.version||0===a.version.indexOf("v0.")||0===a.version.indexOf("v1.")&&0!==a.version.indexOf("v1.8.")?b.exports={nextTick:c}:b.exports=a}).call(this,a(18))},{18:18}],18:[function(a,b,c){function d(){throw new Error("setTimeout has not been defined")}function e(){throw new Error("clearTimeout has not been defined")}function f(a){if(l===setTimeout)return setTimeout(a,0);if((l===d||!l)&&setTimeout)return l=setTimeout,setTimeout(a,0);try{return l(a,0)}catch(b){try{return l.call(null,a,0)}catch(b){return l.call(this,a,0)}}}function g(a){if(m===clearTimeout)return clearTimeout(a);if((m===e||!m)&&clearTimeout)return m=clearTimeout,clearTimeout(a);try{return m(a)}catch(b){try{return m.call(null,a)}catch(b){return m.call(this,a)}}}function h(){q&&o&&(q=!1,o.length?p=o.concat(p):r=-1,p.length&&i())}function i(){if(!q){var a=f(h);q=!0;for(var b=p.length;b;){for(o=p,p=[];++r<b;)o&&o[r].run();r=-1,b=p.length}o=null,q=!1,g(a)}}function j(a,b){this.fun=a,this.array=b}function k(){}var l,m,n=b.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:d}catch(a){l=d}try{m="function"==typeof clearTimeout?clearTimeout:e}catch(a){m=e}}();var o,p=[],q=!1,r=-1;n.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];p.push(new j(a,b)),1!==p.length||q||f(i)},j.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=k,n.addListener=k,n.once=k,n.off=k,n.removeListener=k,n.removeAllListeners=k,n.emit=k,n.prependListener=k,n.prependOnceListener=k,n.listeners=function(a){return[]},n.binding=function(a){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},{}],19:[function(a,b,c){b.exports=a(20)},{20:20}],20:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);j.call(this,a),k.call(this,a),a&&!1===a.readable&&(this.readable=!1),a&&!1===a.writable&&(this.writable=!1),this.allowHalfOpen=!0,a&&!1===a.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",e)}function e(){this.allowHalfOpen||this._writableState.ended||g.nextTick(f,this)}function f(a){a.end()}var g=a(17),h=Object.keys||function(a){var b=[];for(var c in a)b.push(c);return b};b.exports=d;var i=a(12);
vendor: 4,240 bytes, line 20
20i.inherits=a(15);var j=a(22),k=a(24);i.inherits(d,j);for(var l=h(k.prototype),m=0;m<l.length;m++){var n=l[m];d.prototype[n]||(d.prototype[n]=k.prototype[n])}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(a){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=a,this._writableState.destroyed=a)}}),d.prototype._destroy=function(a,b){this.push(null),this.end(),g.nextTick(b,a)}},{12:12,15:15,17:17,22:22,24:24}],21:[function(a,b,c){"use strict";function d(a){if(!(this instanceof d))return new d(a);e.call(this,a)}b.exports=d;var e=a(23),f=a(12);f.inherits=a(15),f.inherits(d,e),d.prototype._transform=function(a,b,c){c(null,a)}},{12:12,15:15,23:23}],22:[function(a,b,c){(function(c,d){"use strict";function e(a){return L.from(a)}function f(a){return L.isBuffer(a)||a instanceof M}function g(a,b,c){if("function"==typeof a.prependListener)return a.prependListener(b,c);a._events&&a._events[b]?I(a._events[b])?a._events[b].unshift(c):a._events[b]=[c,a._events[b]]:a.on(b,c)}function h(b,c){H=H||a(20),b=b||{};var d=c instanceof H;this.objectMode=!!b.objectMode,d&&(this.objectMode=this.objectMode||!!b.readableObjectMode);var e=b.highWaterMark,f=b.readableHighWaterMark,g=this.objectMode?16:16384;this.highWaterMark=e||0===e?e:d&&(f||0===f)?f:g,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new R,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=b.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,b.encoding&&(Q||(Q=a(29).StringDecoder),this.decoder=new Q(b.encoding),this.encoding=b.encoding)}function i(b){if(H=H||a(20),!(this instanceof i))return new i(b);this._readableState=new h(b,this),this.readable=!0,b&&("function"==typeof b.read&&(this._read=b.read),"function"==typeof b.destroy&&(this._destroy=b.destroy)),K.call(this)}function j(a,b,c,d,f){var g=a._readableState;if(null===b)g.reading=!1,p(a,g);else{var h;f||(h=l(g,b)),h?a.emit("error",h):g.objectMode||b&&b.length>0?("string"==typeof b||g.objectMode||Object.getPrototypeOf(b)===L.prototype||(b=e(b)),d?g.endEmitted?a.emit("error",new Error("stream.unshift() after end event")):k(a,g,b,!0):g.ended?a.emit("error",new Error("stream.push() after EOF")):(g.reading=!1,g.decoder&&!c?(b=g.decoder.write(b),g.objectMode||0!==b.length?k(a,g,b,!1):s(a,g)):k(a,g,b,!1))):d||(g.reading=!1)}return m(g)}function k(a,b,c,d){b.flowing&&0===b.length&&!b.sync?(a.emit("data",c),a.read(0)):(b.length+=b.objectMode?1:c.length,d?b.buffer.unshift(c):b.buffer.push(c),b.needReadable&&q(a)),s(a,b)}function l(a,b){var c;return f(b)||"string"==typeof b||void 0===b||a.objectMode||(c=new TypeError("Invalid non-string/buffer chunk")),c}function m(a){return!a.ended&&(a.needReadable||a.length<a.highWaterMark||0===a.length)}function n(a){return a>=U?a=U:(a--,a|=a>>>1,a|=a>>>2,a|=a>>>4,a|=a>>>8,a|=a>>>16,a++),a}function o(a,b){return a<=0||0===b.length&&b.ended?0:b.objectMode?1:a!==a?b.flowing&&b.length?b.buffer.head.data.length:b.length:(a>b.highWaterMark&&(b.highWaterMark=n(a)),a<=b.length?a:b.ended?b.length:(b.needReadable=!0,0))}function p(a,b){if(!b.ended){if(b.decoder){var c=b.decoder.end();c&&c.length&&(b.buffer.push(c),b.length+=b.objectMode?1:c.length)}b.ended=!0,q(a)}}function q(a){var b=a._readableState;b.needReadable=!1,b.emittedReadable||(P("emitReadable",b.flowing),b.emittedReadable=!0,b.sync?G.nextTick(r,a):r(a))}function r(a){P("emit readable"),a.emit("readable"),y(a)}function s(a,b){b.readingMore||(b.readingMore=!0,G.nextTick(t,a,b))}function t(a,b){for(var c=b.length;!b.reading&&!b.flowing&&!b.ended&&b.length<b.highWaterMark&&(P("maybeReadMore read 0"),a.read(0),c!==b.length);)c=b.length;b.readingMore=!1}function u(a){return function(){var b=a._readableState;
vendor: 4,937 bytes, line 20
20P("pipeOnDrain",b.awaitDrain),b.awaitDrain&&b.awaitDrain--,0===b.awaitDrain&&J(a,"data")&&(b.flowing=!0,y(a))}}function v(a){P("readable nexttick read 0"),a.read(0)}function w(a,b){b.resumeScheduled||(b.resumeScheduled=!0,G.nextTick(x,a,b))}function x(a,b){b.reading||(P("resume read 0"),a.read(0)),b.resumeScheduled=!1,b.awaitDrain=0,a.emit("resume"),y(a),b.flowing&&!b.reading&&a.read(0)}function y(a){var b=a._readableState;for(P("flow",b.flowing);b.flowing&&null!==a.read(););}function z(a,b){if(0===b.length)return null;var c;return b.objectMode?c=b.buffer.shift():!a||a>=b.length?(c=b.decoder?b.buffer.join(""):1===b.buffer.length?b.buffer.head.data:b.buffer.concat(b.length),b.buffer.clear()):c=A(a,b.buffer,b.decoder),c}function A(a,b,c){var d;return a<b.head.data.length?(d=b.head.data.slice(0,a),b.head.data=b.head.data.slice(a)):d=a===b.head.data.length?b.shift():c?B(a,b):C(a,b),d}function B(a,b){var c=b.head,d=1,e=c.data;for(a-=e.length;c=c.next;){var f=c.data,g=a>f.length?f.length:a;if(g===f.length?e+=f:e+=f.slice(0,a),0===(a-=g)){g===f.length?(++d,c.next?b.head=c.next:b.head=b.tail=null):(b.head=c,c.data=f.slice(g));break}++d}return b.length-=d,e}function C(a,b){var c=L.allocUnsafe(a),d=b.head,e=1;for(d.data.copy(c),a-=d.data.length;d=d.next;){var f=d.data,g=a>f.length?f.length:a;if(f.copy(c,c.length-a,0,g),0===(a-=g)){g===f.length?(++e,d.next?b.head=d.next:b.head=b.tail=null):(b.head=d,d.data=f.slice(g));break}++e}return b.length-=e,c}function D(a){var b=a._readableState;if(b.length>0)throw new Error('"endReadable()" called on non-empty stream');b.endEmitted||(b.ended=!0,G.nextTick(E,b,a))}function E(a,b){a.endEmitted||0!==a.length||(a.endEmitted=!0,b.readable=!1,b.emit("end"))}function F(a,b){for(var c=0,d=a.length;c<d;c++)if(a[c]===b)return c;return-1}var G=a(17);b.exports=i;var H,I=a(28);i.ReadableState=h;var J=(a(13).EventEmitter,function(a,b){return a.listeners(b).length}),K=a(27),L=a(34).Buffer,M=d.Uint8Array||function(){},N=a(12);N.inherits=a(15);var O=a(9),P=void 0;P=O&&O.debuglog?O.debuglog("stream"):function(){};var Q,R=a(25),S=a(26);N.inherits(i,K);var T=["error","close","destroy","pause","resume"];Object.defineProperty(i.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(a){this._readableState&&(this._readableState.destroyed=a)}}),i.prototype.destroy=S.destroy,i.prototype._undestroy=S.undestroy,i.prototype._destroy=function(a,b){this.push(null),b(a)},i.prototype.push=function(a,b){var c,d=this._readableState;return d.objectMode?c=!0:"string"==typeof a&&(b=b||d.defaultEncoding,b!==d.encoding&&(a=L.from(a,b),b=""),c=!0),j(this,a,b,!1,c)},i.prototype.unshift=function(a){return j(this,a,null,!0,!1)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(b){return Q||(Q=a(29).StringDecoder),this._readableState.decoder=new Q(b),this._readableState.encoding=b,this};var U=8388608;i.prototype.read=function(a){P("read",a),a=parseInt(a,10);var b=this._readableState,c=a;if(0!==a&&(b.emittedReadable=!1),0===a&&b.needReadable&&(b.length>=b.highWaterMark||b.ended))return P("read: emitReadable",b.length,b.ended),0===b.length&&b.ended?D(this):q(this),null;if(0===(a=o(a,b))&&b.ended)return 0===b.length&&D(this),null;var d=b.needReadable;P("need readable",d),(0===b.length||b.length-a<b.highWaterMark)&&(d=!0,P("length less than watermark",d)),b.ended||b.reading?(d=!1,P("reading or ended",d)):d&&(P("do read"),b.reading=!0,b.sync=!0,0===b.length&&(b.needReadable=!0),this._read(b.highWaterMark),b.sync=!1,b.reading||(a=o(c,b)));var e;return e=a>0?z(a,b):null,null===e?(b.needReadable=!0,a=0):b.length-=a,0===b.length&&(b.ended||(b.needReadable=!0),c!==a&&b.ended&&D(this)),null!==e&&this.emit("data",e),e},i.prototype._read=function(a){this.emit("error",new Error("_read() is not implemented"))},i.prototype.pipe=function(a,b){function d(a,b){P("onunpipe"),a===m&&b&&!1===b.hasUnpiped&&(b.hasUnpiped=!0,f())}function e(){P("onend"),a.end()}function f(){P("cleanup"),a.removeListener("close",j),a.removeListener("finish",k),a.removeListener("drain",q),a.removeListener("error",i),a.removeListener("unpipe",d),m.removeListener("end",e),m.removeListener("end",l),m.removeListener("data",h),r=!0,!n.awaitDrain||a._writableState&&!a._writableState.needDrain||q()}function h(b){P("ondata"),s=!1,!1!==a.write(b)||s||((1===n.pipesCount&&n.pipes===a||n.pipesCount>1&&-1!==F(n.pipes,a))&&!r&&(P("false write response, pause",m._readableState.awaitDrain),m._readableState.awaitDrain++,s=!0),m.pause())}function i(b){P("onerror",b),l(),a.removeListener("error",i),0===J(a,"error")&&a.emit("error",b)}function j(){a.removeListener("finish",k),l()}function k(){P("onfinish"),a.removeListener("close",j),l()}function l(){P("unpipe"),m.unpipe(a)}var m=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=a;break;case 1:n.pipes=[n.pipes,a];break;default:n.pipes.push(a)}
vendor: 18,524 bytes, line 20
20n.pipesCount+=1,P("pipe count=%d opts=%j",n.pipesCount,b);var o=(!b||!1!==b.end)&&a!==c.stdout&&a!==c.stderr,p=o?e:l;n.endEmitted?G.nextTick(p):m.once("end",p),a.on("unpipe",d);var q=u(m);a.on("drain",q);var r=!1,s=!1;return m.on("data",h),g(a,"error",i),a.once("close",j),a.once("finish",k),a.emit("pipe",m),n.flowing||(P("pipe resume"),m.resume()),a},i.prototype.unpipe=function(a){var b=this._readableState,c={hasUnpiped:!1};if(0===b.pipesCount)return this;if(1===b.pipesCount)return a&&a!==b.pipes?this:(a||(a=b.pipes),b.pipes=null,b.pipesCount=0,b.flowing=!1,a&&a.emit("unpipe",this,c),this);if(!a){var d=b.pipes,e=b.pipesCount;b.pipes=null,b.pipesCount=0,b.flowing=!1;for(var f=0;f<e;f++)d[f].emit("unpipe",this,c);return this}var g=F(b.pipes,a);return-1===g?this:(b.pipes.splice(g,1),b.pipesCount-=1,1===b.pipesCount&&(b.pipes=b.pipes[0]),a.emit("unpipe",this,c),this)},i.prototype.on=function(a,b){var c=K.prototype.on.call(this,a,b);if("data"===a)!1!==this._readableState.flowing&&this.resume();else if("readable"===a){var d=this._readableState;d.endEmitted||d.readableListening||(d.readableListening=d.needReadable=!0,d.emittedReadable=!1,d.reading?d.length&&q(this):G.nextTick(v,this))}return c},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var a=this._readableState;return a.flowing||(P("resume"),a.flowing=!0,w(this,a)),this},i.prototype.pause=function(){return P("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(P("pause"),this._readableState.flowing=!1,this.emit("pause")),this},i.prototype.wrap=function(a){var b=this,c=this._readableState,d=!1;a.on("end",function(){if(P("wrapped end"),c.decoder&&!c.ended){var a=c.decoder.end();a&&a.length&&b.push(a)}b.push(null)}),a.on("data",function(e){if(P("wrapped data"),c.decoder&&(e=c.decoder.write(e)),(!c.objectMode||null!==e&&void 0!==e)&&(c.objectMode||e&&e.length)){b.push(e)||(d=!0,a.pause())}});for(var e in a)void 0===this[e]&&"function"==typeof a[e]&&(this[e]=function(b){return function(){return a[b].apply(a,arguments)}}(e));for(var f=0;f<T.length;f++)a.on(T[f],this.emit.bind(this,T[f]));return this._read=function(b){P("wrapped _read",b),d&&(d=!1,a.resume())},this},Object.defineProperty(i.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),i._fromList=z}).call(this,a(18),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{12:12,13:13,15:15,17:17,18:18,20:20,25:25,26:26,27:27,28:28,29:29,34:34,9:9}],23:[function(a,b,c){"use strict";function d(a,b){var c=this._transformState;c.transforming=!1;var d=c.writecb;if(!d)return this.emit("error",new Error("write callback called multiple times"));c.writechunk=null,c.writecb=null,null!=b&&this.push(b),d(a);var e=this._readableState;e.reading=!1,(e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}function e(a){if(!(this instanceof e))return new e(a);h.call(this,a),this._transformState={afterTransform:d.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,a&&("function"==typeof a.transform&&(this._transform=a.transform),"function"==typeof a.flush&&(this._flush=a.flush)),this.on("prefinish",f)}function f(){var a=this;"function"==typeof this._flush?this._flush(function(b,c){g(a,b,c)}):g(this,null,null)}function g(a,b,c){if(b)return a.emit("error",b);if(null!=c&&a.push(c),a._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(a._transformState.transforming)throw new Error("Calling transform done when still transforming");return a.push(null)}b.exports=e;var h=a(20),i=a(12);i.inherits=a(15),i.inherits(e,h),e.prototype.push=function(a,b){return this._transformState.needTransform=!1,h.prototype.push.call(this,a,b)},e.prototype._transform=function(a,b,c){throw new Error("_transform() is not implemented")},e.prototype._write=function(a,b,c){var d=this._transformState;if(d.writecb=c,d.writechunk=a,d.writeencoding=b,!d.transforming){var e=this._readableState;(d.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},e.prototype._read=function(a){var b=this._transformState;null!==b.writechunk&&b.writecb&&!b.transforming?(b.transforming=!0,this._transform(b.writechunk,b.writeencoding,b.afterTransform)):b.needTransform=!0},e.prototype._destroy=function(a,b){var c=this;h.prototype._destroy.call(this,a,function(a){b(a),c.emit("close")})}},{12:12,15:15,20:20}],24:[function(a,b,c){(function(c,d){"use strict";function e(a){var b=this;this.next=null,this.entry=null,this.finish=function(){A(b,a)}}function f(a){return H.from(a)}function g(a){return H.isBuffer(a)||a instanceof I}function h(){}function i(b,c){C=C||a(20),b=b||{};var d=c instanceof C;this.objectMode=!!b.objectMode,d&&(this.objectMode=this.objectMode||!!b.writableObjectMode);var f=b.highWaterMark,g=b.writableHighWaterMark,h=this.objectMode?16:16384;this.highWaterMark=f||0===f?f:d&&(g||0===g)?g:h,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===b.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=b.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(a){r(c,a)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function j(b){if(C=C||a(20),!(K.call(j,this)||this instanceof C))return new j(b);this._writableState=new i(b,this),this.writable=!0,b&&("function"==typeof b.write&&(this._write=b.write),"function"==typeof b.writev&&(this._writev=b.writev),"function"==typeof b.destroy&&(this._destroy=b.destroy),"function"==typeof b.final&&(this._final=b.final)),G.call(this)}function k(a,b){var c=new Error("write after end");a.emit("error",c),B.nextTick(b,c)}function l(a,b,c,d){var e=!0,f=!1;return null===c?f=new TypeError("May not write null values to stream"):"string"==typeof c||void 0===c||b.objectMode||(f=new TypeError("Invalid non-string/buffer chunk")),f&&(a.emit("error",f),B.nextTick(d,f),e=!1),e}function m(a,b,c){return a.objectMode||!1===a.decodeStrings||"string"!=typeof b||(b=H.from(b,c)),b}function n(a,b,c,d,e,f){if(!c){var g=m(b,d,e);d!==g&&(c=!0,e="buffer",d=g)}var h=b.objectMode?1:d.length;b.length+=h;var i=b.length<b.highWaterMark;if(i||(b.needDrain=!0),b.writing||b.corked){var j=b.lastBufferedRequest;b.lastBufferedRequest={chunk:d,encoding:e,isBuf:c,callback:f,next:null},j?j.next=b.lastBufferedRequest:b.bufferedRequest=b.lastBufferedRequest,b.bufferedRequestCount+=1}else o(a,b,!1,h,d,e,f);return i}function o(a,b,c,d,e,f,g){b.writelen=d,b.writecb=g,b.writing=!0,b.sync=!0,c?a._writev(e,b.onwrite):a._write(e,f,b.onwrite),b.sync=!1}function p(a,b,c,d,e){--b.pendingcb,c?(B.nextTick(e,d),B.nextTick(y,a,b),a._writableState.errorEmitted=!0,a.emit("error",d)):(e(d),a._writableState.errorEmitted=!0,a.emit("error",d),y(a,b))}function q(a){a.writing=!1,a.writecb=null,a.length-=a.writelen,a.writelen=0}function r(a,b){var c=a._writableState,d=c.sync,e=c.writecb;if(q(c),b)p(a,c,d,b,e);else{var f=v(c);f||c.corked||c.bufferProcessing||!c.bufferedRequest||u(a,c),d?D(s,a,c,f,e):s(a,c,f,e)}}function s(a,b,c,d){c||t(a,b),b.pendingcb--,d(),y(a,b)}function t(a,b){0===b.length&&b.needDrain&&(b.needDrain=!1,a.emit("drain"))}function u(a,b){b.bufferProcessing=!0;var c=b.bufferedRequest;if(a._writev&&c&&c.next){var d=b.bufferedRequestCount,f=new Array(d),g=b.corkedRequestsFree;g.entry=c;for(var h=0,i=!0;c;)f[h]=c,c.isBuf||(i=!1),c=c.next,h+=1;f.allBuffers=i,o(a,b,!0,b.length,f,"",g.finish),b.pendingcb++,b.lastBufferedRequest=null,g.next?(b.corkedRequestsFree=g.next,g.next=null):b.corkedRequestsFree=new e(b),b.bufferedRequestCount=0}else{for(;c;){var j=c.chunk,k=c.encoding,l=c.callback;if(o(a,b,!1,b.objectMode?1:j.length,j,k,l),c=c.next,b.bufferedRequestCount--,b.writing)break}null===c&&(b.lastBufferedRequest=null)}b.bufferedRequest=c,b.bufferProcessing=!1}function v(a){return a.ending&&0===a.length&&null===a.bufferedRequest&&!a.finished&&!a.writing}function w(a,b){a._final(function(c){b.pendingcb--,c&&a.emit("error",c),b.prefinished=!0,a.emit("prefinish"),y(a,b)})}function x(a,b){b.prefinished||b.finalCalled||("function"==typeof a._final?(b.pendingcb++,b.finalCalled=!0,B.nextTick(w,a,b)):(b.prefinished=!0,a.emit("prefinish")))}function y(a,b){var c=v(b);return c&&(x(a,b),0===b.pendingcb&&(b.finished=!0,a.emit("finish"))),c}function z(a,b,c){b.ending=!0,y(a,b),c&&(b.finished?B.nextTick(c):a.once("finish",c)),b.ended=!0,a.writable=!1}function A(a,b,c){var d=a.entry;for(a.entry=null;d;){var e=d.callback;b.pendingcb--,e(c),d=d.next}b.corkedRequestsFree?b.corkedRequestsFree.next=a:b.corkedRequestsFree=a}var B=a(17);b.exports=j;var C,D=!c.browser&&["v0.10","v0.9."].indexOf(c.version.slice(0,5))>-1?setImmediate:B.nextTick;j.WritableState=i;var E=a(12);E.inherits=a(15);var F={deprecate:a(37)},G=a(27),H=a(34).Buffer,I=d.Uint8Array||function(){},J=a(26);E.inherits(j,G),i.prototype.getBuffer=function(){for(var a=this.bufferedRequest,b=[];a;)b.push(a),a=a.next;return b},function(){try{Object.defineProperty(i.prototype,"buffer",{get:F.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(a){}}();var K;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(K=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(a){return!!K.call(this,a)||this===j&&(a&&a._writableState instanceof i)}})):K=function(a){return a instanceof this},j.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},j.prototype.write=function(a,b,c){var d=this._writableState,e=!1,i=!d.objectMode&&g(a);return i&&!H.isBuffer(a)&&(a=f(a)),"function"==typeof b&&(c=b,b=null),i?b="buffer":b||(b=d.defaultEncoding),"function"!=typeof c&&(c=h),d.ended?k(this,c):(i||l(this,d,a,c))&&(d.pendingcb++,e=n(this,d,i,a,b,c)),e},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var a=this._writableState;a.corked&&(a.corked--,a.writing||a.corked||a.finished||a.bufferProcessing||!a.bufferedRequest||u(this,a))},j.prototype.setDefaultEncoding=function(a){if("string"==typeof a&&(a=a.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((a+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+a);return this._writableState.defaultEncoding=a,this},Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(a,b,c){c(new Error("_write() is not implemented"))},j.prototype._writev=null,j.prototype.end=function(a,b,c){var d=this._writableState;"function"==typeof a?(c=a,a=null,b=null):"function"==typeof b&&(c=b,b=null),null!==a&&void 0!==a&&this.write(a,b),d.corked&&(d.corked=1,this.uncork()),d.ending||d.finished||z(this,d,c)},Object.defineProperty(j.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(a){this._writableState&&(this._writableState.destroyed=a)}}),j.prototype.destroy=J.destroy,j.prototype._undestroy=J.undestroy,j.prototype._destroy=function(a,b){this.end(),b(a)}}).call(this,a(18),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{12:12,15:15,17:17,18:18,20:20,26:26,27:27,34:34,37:37}],25:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a,b,c){a.copy(b,c)}var f=a(34).Buffer,g=a(9);b.exports=function(){function a(){d(this,a),this.head=null,this.tail=null,this.length=0}return a.prototype.push=function(a){var b={data:a,next:null};this.length>0?this.tail.next=b:this.head=b,this.tail=b,++this.length},a.prototype.unshift=function(a){var b={data:a,next:this.head};0===this.length&&(this.tail=b),this.head=b,++this.length},a.prototype.shift=function(){if(0!==this.length){var a=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,a}},a.prototype.clear=function(){this.head=this.tail=null,this.length=0},a.prototype.join=function(a){if(0===this.length)return"";for(var b=this.head,c=""+b.data;b=b.next;)c+=a+b.data;return c},a.prototype.concat=function(a){if(0===this.length)return f.alloc(0);if(1===this.length)return this.head.data;for(var b=f.allocUnsafe(a>>>0),c=this.head,d=0;c;)e(c.data,b,d),d+=c.data.length,c=c.next;return b},a}(),g&&g.inspect&&g.inspect.custom&&(b.exports.prototype[g.inspect.custom]=function(){var a=g.inspect({length:this.length});return this.constructor.name+" "+a})},{34:34,9:9}],26:[function(a,b,c){"use strict";function d(a,b){var c=this,d=this._readableState&&this._readableState.destroyed,e=this._writableState&&this._writableState.destroyed;return d||e?(b?b(a):!a||this._writableState&&this._writableState.errorEmitted||g.nextTick(f,this,a),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(a||null,function(a){!b&&a?(g.nextTick(f,c,a),c._writableState&&(c._writableState.errorEmitted=!0)):b&&b(a)}),this)}function e(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function f(a,b){a.emit("error",b)}var g=a(17);b.exports={destroy:d,undestroy:e}},{17:17}],27:[function(a,b,c){b.exports=a(13).EventEmitter},{13:13}],28:[function(a,b,c){arguments[4][11][0].apply(c,arguments)},{11:11}],29:[function(a,b,c){"use strict";function d(a){if(!a)return"utf8";for(var b;;)switch(a){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return a;default:if(b)return;a=(""+a).toLowerCase(),b=!0}}function e(a){var b=d(a);if("string"!=typeof b&&(s.isEncoding===t||!t(a)))throw new Error("Unknown encoding: "+a);return b||a}function f(a){this.encoding=e(a);var b;switch(this.encoding){case"utf16le":this.text=m,this.end=n,b=4;break;case"utf8":this.fillLast=j,b=4;break;case"base64":this.text=o,this.end=p,b=3;break;default:return this.write=q,void(this.end=r)}this.lastNeed=0,this.lastTotal=0,this.lastChar=s.allocUnsafe(b)}function g(a){return a<=127?0:a>>5==6?2:a>>4==14?3:a>>3==30?4:a>>6==2?-1:-2}function h(a,b,c){var d=b.length-1;if(d<c)return 0;var e=g(b[d]);return e>=0?(e>0&&(a.lastNeed=e-1),e):--d<c||-2===e?0:(e=g(b[d]))>=0?(e>0&&(a.lastNeed=e-2),e):--d<c||-2===e?0:(e=g(b[d]),e>=0?(e>0&&(2===e?e=0:a.lastNeed=e-3),e):0)}function i(a,b,c){if(128!=(192&b[0]))return a.lastNeed=0,"�";if(a.lastNeed>1&&b.length>1){if(128!=(192&b[1]))return a.lastNeed=1,"�";if(a.lastNeed>2&&b.length>2&&128!=(192&b[2]))return a.lastNeed=2,"�"}}function j(a){var b=this.lastTotal-this.lastNeed,c=i(this,a,b);return void 0!==c?c:this.lastNeed<=a.length?(a.copy(this.lastChar,b,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(a.copy(this.lastChar,b,0,a.length),void(this.lastNeed-=a.length))}function k(a,b){var c=h(this,a,b);if(!this.lastNeed)return a.toString("utf8",b);this.lastTotal=c;var d=a.length-(c-this.lastNeed);return a.copy(this.lastChar,0,d),a.toString("utf8",b,d)}function l(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+"�":b}function m(a,b){if((a.length-b)%2==0){var c=a.toString("utf16le",b);if(c){var d=c.charCodeAt(c.length-1);if(d>=55296&&d<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1],c.slice(0,-1)}return c}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=a[a.length-1],a.toString("utf16le",b,a.length-1)}function n(a){var b=a&&a.length?this.write(a):"";if(this.lastNeed){var c=this.lastTotal-this.lastNeed;return b+this.lastChar.toString("utf16le",0,c)}return b}function o(a,b){var c=(a.length-b)%3;return 0===c?a.toString("base64",b):(this.lastNeed=3-c,this.lastTotal=3,1===c?this.lastChar[0]=a[a.length-1]:(this.lastChar[0]=a[a.length-2],this.lastChar[1]=a[a.length-1]),a.toString("base64",b,a.length-c))}function p(a){var b=a&&a.length?this.write(a):"";return this.lastNeed?b+this.lastChar.toString("base64",0,3-this.lastNeed):b}function q(a){return a.toString(this.encoding)}function r(a){return a&&a.length?this.write(a):""}var s=a(34).Buffer,t=s.isEncoding||function(a){switch((a=""+a)&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};c.StringDecoder=f,f.prototype.write=function(a){if(0===a.length)return"";var b,c;if(this.lastNeed){if(void 0===(b=this.fillLast(a)))return"";c=this.lastNeed,this.lastNeed=0}else c=0;return c<a.length?b?b+this.text(a,c):this.text(a,c):b||""},f.prototype.end=l,f.prototype.text=k,f.prototype.fillLast=function(a){if(this.lastNeed<=a.length)return a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);a.copy(this.lastChar,this.lastTotal-this.lastNeed,0,a.length),this.lastNeed-=a.length}},{34:34}],30:[function(a,b,c){b.exports=a(31).PassThrough},{31:31}],31:[function(a,b,c){c=b.exports=a(22),c.Stream=c,c.Readable=c,c.Writable=a(24),c.Duplex=a(20),c.Transform=a(23),c.PassThrough=a(21)},{20:20,21:21,22:22,23:23,24:24}],32:[function(a,b,c){b.exports=a(31).Transform},{31:31}],33:[function(a,b,c){b.exports=a(24)},{24:24}],34:[function(a,b,c){function d(a,b){for(var c in a)b[c]=a[c]}function e(a,b,c){return g(a,b,c)}var f=a(10),g=f.Buffer;g.from&&g.alloc&&g.allocUnsafe&&g.allocUnsafeSlow?b.exports=f:(d(f,c),c.Buffer=e),d(g,e),e.from=function(a,b,c){if("number"==typeof a)throw new TypeError("Argument must not be a number");return g(a,b,c)},e.alloc=function(a,b,c){if("number"!=typeof a)throw new TypeError("Argument must be a number");var d=g(a);return void 0!==b?"string"==typeof c?d.fill(b,c):d.fill(b):d.fill(0),d}
vendor: 24,177 bytes, lines 20-21
20,e.allocUnsafe=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return g(a)},e.allocUnsafeSlow=function(a){if("number"!=typeof a)throw new TypeError("Argument must be a number");return f.SlowBuffer(a)}},{10:10}],35:[function(a,b,c){function d(){e.call(this)}b.exports=d;var e=a(13).EventEmitter;a(15)(d,e),d.Readable=a(31),d.Writable=a(33),d.Duplex=a(19),d.Transform=a(32),d.PassThrough=a(30),d.Stream=d,d.prototype.pipe=function(a,b){function c(b){a.writable&&!1===a.write(b)&&j.pause&&j.pause()}function d(){j.readable&&j.resume&&j.resume()}function f(){k||(k=!0,a.end())}function g(){k||(k=!0,"function"==typeof a.destroy&&a.destroy())}function h(a){if(i(),0===e.listenerCount(this,"error"))throw a}function i(){j.removeListener("data",c),a.removeListener("drain",d),j.removeListener("end",f),j.removeListener("close",g),j.removeListener("error",h),a.removeListener("error",h),j.removeListener("end",i),j.removeListener("close",i),a.removeListener("close",i)}var j=this;j.on("data",c),a.on("drain",d),a._isStdio||b&&!1===b.end||(j.on("end",f),j.on("close",g));var k=!1;return j.on("error",h),a.on("error",h),j.on("end",i),j.on("close",i),a.on("close",i),a.emit("pipe",j),a}},{13:13,15:15,19:19,30:30,31:31,32:32,33:33}],36:[function(a,b,c){function d(a){
21if(a&&!i(a))throw new Error("Unknown encoding: "+a)}function e(a){return a.toString(this.encoding)}function f(a){this.charReceived=a.length%2,this.charLength=this.charReceived?2:0}function g(a){this.charReceived=a.length%3,this.charLength=this.charReceived?3:0}var h=a(10).Buffer,i=h.isEncoding||function(a){switch(a&&a.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},j=c.StringDecoder=function(a){switch(this.encoding=(a||"utf8").toLowerCase().replace(/[-_]/,""),d(a),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=f;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=g;break;default:return void(this.write=e)}this.charBuffer=new h(6),this.charReceived=0,this.charLength=0};j.prototype.write=function(a){for(var b="";this.charLength;){var c=a.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;if(a.copy(this.charBuffer,this.charReceived,0,c),this.charReceived+=c,this.charReceived<this.charLength)return"";a=a.slice(c,a.length),b=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var d=b.charCodeAt(b.length-1);if(!(d>=55296&&d<=56319)){if(this.charReceived=this.charLength=0,0===a.length)return b;break}this.charLength+=this.surrogateSize,b=""}this.detectIncompleteChar(a);var e=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,e),e-=this.charReceived),b+=a.toString(this.encoding,0,e);var e=b.length-1,d=b.charCodeAt(e);if(d>=55296&&d<=56319){var f=this.surrogateSize;return this.charLength+=f,this.charReceived+=f,this.charBuffer.copy(this.charBuffer,f,0,f),a.copy(this.charBuffer,0,0,f),b.substring(0,e)}return b},j.prototype.detectIncompleteChar=function(a){for(var b=a.length>=3?3:a.length;b>0;b--){var c=a[a.length-b];if(1==b&&c>>5==6){this.charLength=2;break}if(b<=2&&c>>4==14){this.charLength=3;break}if(b<=3&&c>>3==30){this.charLength=4;break}}this.charReceived=b},j.prototype.end=function(a){var b="";if(a&&a.length&&(b=this.write(a)),this.charReceived){var c=this.charReceived,d=this.charBuffer,e=this.encoding;b+=d.slice(0,c).toString(e)}return b}},{10:10}],37:[function(a,b,c){(function(a){function c(a,b){function c(){if(!e){if(d("throwDeprecation"))throw new Error(b);d("traceDeprecation")?console.trace(b):console.warn(b),e=!0}return a.apply(this,arguments)}if(d("noDeprecation"))return a;var e=!1;return c}function d(b){try{if(!a.localStorage)return!1}catch(d){return!1}var c=a.localStorage[b];return null!=c&&"true"===String(c).toLowerCase()}b.exports=c}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],38:[function(a,b,c){!function(a,b,c,d,e){function f(a){this.node=a}function g(){this.events=[],this.head=null,this.body=null}function h(){this.styling=null,this.layout=null}function i(){this.styles={}}function j(){this.id=null,this.styleAttrs=null,this.styleRefs=null}function k(){this.regions={}}function l(a){this.kind=a,this.begin=null,this.end=null,this.styleAttrs=null,this.regionID=null,this.sets=null,this.timeContainer=null}function m(){l.call(this,"body")}function n(){l.call(this,"div")}function o(){l.call(this,"p")}function p(){l.call(this,"span"),this.space=null}function q(){l.call(this,"span"),this.space=null,this.text=null}function r(){l.call(this,"br")}function s(){this.id=null,this.begin=null,this.end=null,this.styleAttrs=null,this.sets=null}function t(){this.begin=null,this.end=null,this.qname=null,this.value=null}function u(a){return a&&"xml:id"in a.attributes?a.attributes["xml:id"].value||null:null}function v(a){return a&&"region"in a.attributes?a.attributes.region.value:""}function w(a,b){var c=a&&"timeContainer"in a.attributes?a.attributes.timeContainer.value:null;return c&&"par"!==c?"seq"===c?"seq":(K(b,"Illegal value of timeContainer (assuming 'par')"),"par"):"par"}function x(a){return a&&"style"in a.attributes?a.attributes.style.value.split(" "):[]}function y(a,b){var c={};if(null!==a)for(var e in a.attributes){var f=a.attributes[e].uri+" "+a.attributes[e].local,g=d.byQName[f];if(void 0!==g){var h=g.parse(a.attributes[e].value);null!==h?(c[f]=h,g===d.byName.zIndex&&J(b,"zIndex attribute present but not used by IMSC1 since regions do not overlap")):K(b,"Cannot parse styling attribute "+f+" --\x3e "+a.attributes[e].value)}}return c}function z(a,b,c){for(var d in a.attributes)if(a.attributes[d].uri===b&&a.attributes[d].local===c)return a.attributes[d].value;return null}function A(a,b){var d=z(a,c.ns_ittp,"aspectRatio"),e=null;if(null!==d){var f=/(\d+) (\d+)/,g=f.exec(d);if(null!==g){var h=parseInt(g[1]),i=parseInt(g[2]);0!==h&&0!==i?e=h/i:K(b,"Illegal aspectRatio values (ignoring)")}else K(b,"Malformed aspectRatio attribute (ignoring)")}return e}function B(a,b){var d=z(a,c.ns_ttp,"cellResolution"),e=15,f=32;if(null!==d){var g=/(\d+) (\d+)/,h=g.exec(d);null!==h?(f=parseInt(h[1]),e=parseInt(h[2])):J(b,"Malformed cellResolution value (using initial value instead)")}return{w:f,h:e}}function C(a,b){var d,e=z(a,c.ns_ttp,"frameRate"),f=30;if(null!==e){d=/(\d+)/.exec(e),null!==d?f=parseInt(d[1]):J(b,"Malformed frame rate attribute (using initial value instead)")}var g=z(a,c.ns_ttp,"frameRateMultiplier"),h=1;if(null!==g){d=/(\d+) (\d+)/.exec(g),null!==d?h=parseInt(d[1])/parseInt(d[2]):J(b,"Malformed frame rate multiplier attribute (using initial value instead)")}var i=h*f,j=1,k=z(a,c.ns_ttp,"tickRate");if(null===k)null!==e&&(j=i);else{d=/(\d+)/.exec(k),null!==d?j=parseInt(d[1]):J(b,"Malformed tick rate attribute (using initial value instead)")}return{effectiveFrameRate:i,tickRate:j}}function D(a,b){var d=z(a,c.ns_tts,"extent");if(null===d)return null;var f=d.split(" ");if(2!==f.length)return J(b,"Malformed extent (ignoring)"),null;var g=e.parseLength(f[0]),h=e.parseLength(f[1]);return h&&g?{h:h,w:g}:(J(b,"Malformed extent values (ignoring)"),null)}function E(a,b,c){var d,e=/^(\d{2,}):(\d\d):(\d\d(?:\.\d+)?)$/,f=/^(\d{2,}):(\d\d):(\d\d)\:(\d{2,})$/,g=/^(\d+(?:\.\d+)?)f$/,h=/^(\d+(?:\.\d+)?)t$/,i=/^(\d+(?:\.\d+)?)ms$/,j=/^(\d+(?:\.\d+)?)s$/,k=/^(\d+(?:\.\d+)?)h$/,l=/^(\d+(?:\.\d+)?)m$/,m=null;return null!==(d=g.exec(c))?null!==b&&(m=parseFloat(d[1])/b):null!==(d=h.exec(c))?null!==a&&(m=parseFloat(d[1])/a):null!==(d=i.exec(c))?m=parseFloat(d[1])/1e3:null!==(d=j.exec(c))?m=parseFloat(d[1]):null!==(d=k.exec(c))?m=3600*parseFloat(d[1]):null!==(d=l.exec(c))?m=60*parseFloat(d[1]):null!==(d=e.exec(c))?m=3600*parseInt(d[1])+60*parseInt(d[2])+parseFloat(d[3]):null!==(d=f.exec(c))&&null!==b&&(m=3600*parseInt(d[1])+60*parseInt(d[2])+parseInt(d[3])+(null===d[4]?0:parseInt(d[4])/b)),m}function F(a,b,c,d){var e=b&&"seq"===b.timeContainer,f=0;c&&"begin"in c.attributes&&null===(f=E(a.tickRate,a.effectiveFrameRate,c.attributes.begin.value))&&(J(d,"Malformed begin value "+c.attributes.begin.value+" (using 0)"),f=0);var g=e?0:null;c&&"dur"in c.attributes&&null===(g=E(a.tickRate,a.effectiveFrameRate,c.attributes.dur.value))&&J(d,"Malformed dur value "+c.attributes.dur.value+" (ignoring)");var h=null;c&&"end"in c.attributes&&null===(h=E(a.tickRate,a.effectiveFrameRate,c.attributes.end.value))&&J(d,"Malformed end value (ignoring)");var i=0;if(b&&(i=e&&"contents"in b&&b.contents.length>0?b.contents[b.contents.length-1].end:b.begin||0),f+=i,null!==g)h=f+g;else{var j=b&&"end"in b?b.end:Number.POSITIVE_INFINITY;h=null!==h?h+i:j}return{begin:f,end:h}}function G(a,b,c){for(;b.styleRefs.length>0;){var d=b.styleRefs.pop();d in a.styles?(G(a,a.styles[d],c),I(a.styles[d].styleAttrs,b.styleAttrs)):K(c,"Non-existant style id referenced")}}function H(a,b,c,d){for(var e=b.length-1;e>=0;e--){var f=b[e];f in a.styles?I(a.styles[f].styleAttrs,c):K(d,"Non-existant style id referenced")}}function I(a,b){for(var c in a)c in b||(b[c]=a[c])}function J(a,b){if(a&&a.warn&&a.warn(b))throw b}function K(a,b){if(a&&a.error&&a.error(b))throw b}function L(a,b){throw a&&a.fatal&&a.fatal(b),b}function M(a,b){for(var c,d=0,e=a.length-1;d<=e;){c=Math.floor((d+e)/2);var f=a[c];if(f<b)d=c+1;else{if(!(f>b))return{found:!0,index:c};e=c-1}}return{found:!1,index:d}}a.fromXML=function(a,d,e){var l=b.parser(!0,{xmlns:!0}),u=[],v=[],w=[],x=0,y=null;l.onclosetag=function(a){if(u[0]instanceof i)for(var b in u[0].styles)G(u[0],u[0].styles[b],d);else if(u[0]instanceof o||u[0]instanceof p){if(u[0].contents.length>1){var g,h=[u[0].contents[0]];for(g=1;g<u[0].contents.length;g++)u[0].contents[g]instanceof q&&h[h.length-1]instanceof q?h[h.length-1].text+=u[0].contents[g].text:h.push(u[0].contents[g]);u[0].contents=h}u[0]instanceof p&&1===u[0].contents.length&&u[0].contents[0]instanceof q&&null===u[0].text&&(u[0].text=u[0].contents[0].text,delete u[0].contents)}else u[0]instanceof f&&(u[0].node.uri===c.ns_tt&&"metadata"===u[0].node.local?x--:x>0&&e&&"onCloseTag"in e&&e.onCloseTag());w.shift(),v.shift(),u.shift()},l.ontext=function(a){if(void 0===u[0]);else if(u[0]instanceof p||u[0]instanceof o){var b=new q;b.initFromText(y,u[0],a,w[0],d),u[0].contents.push(b)}else u[0]instanceof f&&x>0&&e&&"onText"in e&&e.onText(a)},l.onopentag=function(a){var b=a.attributes["xml:space"];b?w.unshift(b.value):0===w.length?w.unshift("default"):w.unshift(w[0]);var l=a.attributes["xml:lang"];if(l?v.unshift(l.value):0===v.length?v.unshift(""):v.unshift(v[0]),a.uri===c.ns_tt)if("tt"===a.local)null!==y&&L("Two <tt> elements at ("+this.line+","+this.column+")"),y=new g,y.initFromNode(a,d),u.unshift(y);else if("head"===a.local)u[0]instanceof g||L("Parent of <head> element is not <tt> at ("+this.line+","+this.column+")"),null!==y.head&&L("Second <head> element at ("+this.line+","+this.column+")"),y.head=new h,u.unshift(y.head);else if("styling"===a.local)u[0]instanceof h||L("Parent of <styling> element is not <head> at ("+this.line+","+this.column+")"),null!==y.head.styling&&L("Second <styling> element at ("+this.line+","+this.column+")"),y.head.styling=new i,u.unshift(y.head.styling);else if("style"===a.local){var q;u[0]instanceof i?(q=new j,q.initFromNode(a,d),q.id?y.head.styling.styles[q.id]=q:K("<style> element missing @id attribute"),u.unshift(q)):u[0]instanceof s?(q=new j,q.initFromNode(a,d),I(q.styleAttrs,u[0].styleAttrs),u.unshift(q)):L(d,"Parent of <style> element is not <styling> or <region> at ("+this.line+","+this.column+")")}else if("layout"===a.local)u[0]instanceof h||L(d,"Parent of <layout> element is not <head> at "+this.line+","+this.column+")"),null!==y.head.layout&&L(d,"Second <layout> element at "+this.line+","+this.column+")"),y.head.layout=new k,u.unshift(y.head.layout);else if("region"===a.local){u[0]instanceof k||L(d,"Parent of <region> element is not <layout> at "+this.line+","+this.column+")");var z=new s;z.initFromNode(y,a,d),!z.id||z.id in y.head.layout.regions?K(d,"Ignoring <region> with duplicate or missing @id at "+this.line+","+this.column+")"):(y.head.layout.regions[z.id]=z,y._registerEvent(z)),u.unshift(z)}else if("body"===a.local){u[0]instanceof g||L(d,"Parent of <body> element is not <tt> at "+this.line+","+this.column+")"),null!==y.body&&L(d,"Second <body> element at "+this.line+","+this.column+")");var A=new m;A.initFromNode(y,a,d),y._registerEvent(A),y.body=A,u.unshift(A)}else if("div"===a.local){u[0]instanceof n||u[0]instanceof m||L(d,"Parent of <div> element is not <body> or <div> at "+this.line+","+this.column+")");var B=new n;B.initFromNode(y,u[0],a,d),y._registerEvent(B),u[0].contents.push(B),u.unshift(B)}else if("p"===a.local){u[0]instanceof n||L(d,"Parent of <p> element is not <div> at "+this.line+","+this.column+")");var C=new o;C.initFromNode(y,u[0],a,d),y._registerEvent(C),u[0].contents.push(C),u.unshift(C)}else if("span"===a.local){u[0]instanceof p||u[0]instanceof o||L(d,"Parent of <span> element is not <span> or <p> at "+this.line+","+this.column+")");var D=new p;D.initFromNode(y,u[0],a,w[0],d),y._registerEvent(D),u[0].contents.push(D),u.unshift(D)}else if("br"===a.local){u[0]instanceof p||u[0]instanceof o||L(d,"Parent of <br> element is not <span> or <p> at "+this.line+","+this.column+")");var E=new r;E.initFromNode(y,u[0],a,d),y._registerEvent(E),u[0].contents.push(E),u.unshift(E)}else if("set"===a.local){u[0]instanceof p||u[0]instanceof o||u[0]instanceof n||u[0]instanceof m||u[0]instanceof s||u[0]instanceof r||L(d,"Parent of <set> element is not a content element or a region at "+this.line+","+this.column+")");var F=new t;F.initFromNode(y,u[0],a,d),y._registerEvent(F),u[0].sets.push(F),u.unshift(F)}else u.unshift(new f(a));else u.unshift(new f(a));if(u[0]instanceof f)if(a.uri===c.ns_tt&&"metadata"===a.local)x++;else if(x>0&&e&&"onOpenTag"in e){var G=[];for(var H in a.attributes)G[a.attributes[H].uri+" "+a.attributes[H].local]={uri:a.attributes[H].uri,local:a.attributes[H].local,value:a.attributes[H].value};e.onOpenTag(a.uri,a.local,G)}},l.write(a).close(),null!==y.head?delete y.head.styling:y.head=new h,null===y.head.layout&&(y.head.layout=new k);var z=!1;for(var A in y.head.layout.regions){z=!0;break}if(!z){var B=s.createDefaultRegion();y.head.layout.regions[B.id]=B}return y},g.prototype.initFromNode=function(a,b){this.cellResolution=B(a,b);var d=C(a,b);this.effectiveFrameRate=d.effectiveFrameRate,this.tickRate=d.tickRate,this.aspectRatio=A(a,b);var e=z(a,c.ns_ttp,"timeBase");null!==e&&"media"!==e&&L(b,"Unsupported time base");var f=D(a,b);null===f?this.pxDimensions={h:480,w:640}:("px"===f.h.unit&&"px"===f.w.unit||L(b,"Extent on TT must be in px or absent"),this.pxDimensions={h:f.h.value,w:f.w.value})},g.prototype._registerEvent=function(a){if(!(a.end<=a.begin)){var b=M(this.events,a.begin);if(b.found||this.events.splice(b.index,0,a.begin),a.end!==Number.POSITIVE_INFINITY){var c=M(this.events,a.end);c.found||this.events.splice(c.index,0,a.end)}}},g.prototype.getMediaTimeRange=function(){return[this.events[0],this.events[this.events.length-1]]},g.prototype.getMediaTimeEvents=function(){return this.events},j.prototype.initFromNode=function(a,b){this.id=u(a),this.styleAttrs=y(a,b),this.styleRefs=x(a)},l.prototype.initFromNode=function(a,b,c,d){var e=F(a,b,c,d);this.begin=e.begin,this.end=e.end,this.styleAttrs=y(c,d),null!==a.head&&null!==a.head.styling&&H(a.head.styling,x(c),this.styleAttrs,d),this.regionID=v(c),this.sets=[],this.timeContainer=w(c,d)},m.prototype.initFromNode=function(a,b,c){l.prototype.initFromNode.call(this,a,null,b,c),this.contents=[]},n.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d),this.contents=[]},o.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d),this.contents=[]},p.prototype.initFromNode=function(a,b,c,d,e){l.prototype.initFromNode.call(this,a,b,c,e),this.space=d,this.contents=[]},q.prototype.initFromText=function(a,b,c,d,e){l.prototype.initFromNode.call(this,a,b,null,e),this.text=c,this.space=d},r.prototype.initFromNode=function(a,b,c,d){l.prototype.initFromNode.call(this,a,b,c,d)},s.createDefaultRegion=function(){var a=new s;return a.id="",a.begin=0,a.end=Number.POSITIVE_INFINITY,a.styleAttrs={},a.sets=[],a},s.prototype.initFromNode=function(a,b,c){this.id=u(b);var d=F(a,null,b,c);this.begin=d.begin,this.end=d.end,this.styleAttrs=y(b,c),this.sets=[],null!==a.head&&null!==a.head.styling&&H(a.head.styling,x(b),this.styleAttrs,c)},t.prototype.initFromNode=function(a,b,c,d){var e=F(a,b,c,d);this.begin=e.begin,this.end=e.end;var f=y(c,d);for(var g in f){if(this.qname){K(d,"More than one style specified on set");break}this.qname=g,this.value=f[g]}}}(void 0===c?this.imscDoc={}:c,"undefined"==typeof sax?a(45):sax,"undefined"==typeof imscNames?a(42):imscNames,"undefined"==typeof imscStyles?a(43):imscStyles,"undefined"==typeof imscUtils?a(44):imscUtils)},{42:42,43:43,44:44,45:45}],39:[function(a,b,c){!function(a,b,c){function d(a,b,h){var j;if("region"===h.kind?(j=document.createElement("div"),j.style.position="absolute"):"body"===h.kind?j=document.createElement("div"):"div"===h.kind?j=document.createElement("div"):"p"===h.kind?j=document.createElement("p"):"span"===h.kind?j=document.createElement("span"):"br"===h.kind&&(j=document.createElement("br")),!j)return void n(a.errorHandler,"Error processing ISD element kind: "+h.kind);j.style.margin="0";for(var k in o){var l=o[k],m=h.styleAttrs[l.qname];void 0!==m&&null!==l.map&&l.map(a,j,h,m)}var p=j,q=h.styleAttrs[c.byName.multiRowAlign.qname];if(q&&"auto"!==q){var r=document.createElement("span");r.style.display="inline-block",r.style.textAlign=q,j.appendChild(r),p=r,a.mra=q}var s=h.styleAttrs[c.byName.linePadding.qname];if(s&&s>0&&(a.lp=s),"span"===h.kind&&h.text)if(a.lp||a.mra)for(var t=0;t<h.text.length;t++){var u=document.createElement("span");u.textContent=h.text.charAt(t),j.appendChild(u)}else j.textContent=h.text;b.appendChild(j);for(var v in h.contents)d(a,p,h.contents[v]);if((a.lp||a.mra)&&"p"===h.kind){var w=[];f(p,w,"red"),i(w,a.lp*a.h),a.lp&&delete a.lp,a.mra&&delete a.mra}if("region"===h.kind){var x=[];g(p,x);var y=h.styleAttrs[c.byName.writingMode.qname];if(("lrtb"===y||"lr"===y||"rltb"===y||"rl"===y)&&a.enableRollUp&&h.contents.length>0&&"after"===h.styleAttrs[c.byName.displayAlign.qname]){var z=""===h.id?"_":h.id,A=new e(z,x);if(a.currentISDState[A.id]=A,a.previousISDState&&A.id in a.previousISDState&&a.previousISDState[A.id].plist.length>0&&A.plist.length>1&&A.plist[A.plist.length-2].text===a.previousISDState[A.id].plist[a.previousISDState[A.id].plist.length-1].text){var B=j.firstElementChild;B.style.bottom="-"+A.plist[A.plist.length-1].height+"px",B.style.transition="transform 0.4s",B.style.position="relative",B.style.transform="translateY(-"+A.plist[A.plist.length-1].height+"px)"}}}}function e(a,b){this.id=a,this.plist=b}function f(a,b,c){if(0===a.childElementCount)b.push({element:a,bgcolor:c});else for(var d=a.style.backgroundColor||c,e=a.firstChild;e;)e.nodeType===Node.ELEMENT_NODE&&f(e,b,d),e=e.nextSibling}function g(a,b){if(0===a.childElementCount&&"span"===a.localName){var c=a.getBoundingClientRect();0!==b.length&&h(c.top,c.height,b[b.length-1].top,b[b.length-1].height)?(c.top<b[b.length-1].top&&(b[b.length-1].top=c.top),c.height>b[b.length-1].height&&(b[b.length-1].height=c.height),b[b.length-1].text+=a.textContent):b.push({top:c.top,height:c.height,text:a.textContent})}else for(var d=a.firstChild;d;)d.nodeType===Node.ELEMENT_NODE&&g(d,b),d=d.nextSibling}function h(a,b,c,d){return a+b<c+d&&a>c||c+d<=a+b&&c>=a}function i(a,b){for(var c=null,d=!0,e=!1,f=0;f<=a.length;f++)if(f===a.length||"br"!==a[f].element.localName){if(null===c||f===a.length||!h(a[f].element.getBoundingClientRect().top,a[f].element.getBoundingClientRect().height,a[c].element.getBoundingClientRect().top,a[c].element.getBoundingClientRect().height)){if(b&&!d){for(;--f>=0;)if(0!==a[f].element.getBoundingClientRect().width){if(k(a[f].element,a[f].color,b),0!==a[f].element.getBoundingClientRect().width&&h(a[f].element.getBoundingClientRect().top,a[f].element.getBoundingClientRect().height,a[c].element.getBoundingClientRect().top,a[c].element.getBoundingClientRect().height))break;l(a[f].element)}d=!0;continue}if(f!==a.length&&null!==c&&!e){var g=document.createElement("br");a[f].element.parentElement.insertBefore(g,a[f].element),a.splice(f,0,{element:g}),e=!0;continue}if(f!==a.length&&b)for(;f<a.length;f++)if(0!==a[f].element.getBoundingClientRect().width){j(a[f].element,a[f].color,b);break}d=!1,e=!1,c=f}}else e=!0}function j(a,b,c){a.style.paddingLeft=c+"px",a.style.backgroundColor=b}function k(a,b,c){a.style.paddingRight=c+"px",a.style.backgroundColor=b}function l(a){a.style.paddingRight=null}function m(a,b){this.qname=a,this.map=b}function n(a,b){if(a&&a.error&&a.error(b))throw b}a.render=function(a,b,c,e,f,g,h,i,j){var k=e||b.clientHeight,l=f||b.clientWidth;if(null!==a.aspectRatio){var m=k*a.aspectRatio;m>l?k=Math.round(l/a.aspectRatio):l=m}var n=document.createElement("div");n.style.position="relative",n.style.width=l+"px",n.style.height=k+"px",n.style.margin="auto",n.style.top=0,n.style.bottom=0,n.style.left=0,n.style.right=0,n.style.zIndex=0;var o={h:k,w:l,regionH:null,regionW:null,imgResolver:c,displayForcedOnlyMode:g||!1,isd:a,errorHandler:h,previousISDState:i,enableRollUp:j||!1,currentISDState:{}};b.appendChild(n);for(var p in a.contents)d(o,n,a.contents[p]);return o.currentISDState};var o=[new m("http://www.w3.org/ns/ttml#styling backgroundColor",function(a,b,c,d){b.style.backgroundColor="rgba("+d[0].toString()+","+d[1].toString()+","+d[2].toString()+","+(d[3]/255).toString()+")"}),new m("http://www.w3.org/ns/ttml#styling color",function(a,b,c,d){b.style.color="rgba("+d[0].toString()+","+d[1].toString()+","+d[2].toString()+","+(d[3]/255).toString()+")"}),new m("http://www.w3.org/ns/ttml#styling direction",function(a,b,c,d){b.style.direction=d}),new m("http://www.w3.org/ns/ttml#styling display",function(a,b,c,d){}),new m("http://www.w3.org/ns/ttml#styling displayAlign",function(a,b,c,d){b.style.display="flex",b.style.flexDirection="column","before"===d?b.style.justifyContent="flex-start":"center"===d?b.style.justifyContent="center":"after"===d&&(b.style.justifyContent="flex-end")}),new m("http://www.w3.org/ns/ttml#styling extent",function(a,b,c,d){a.regionH=d.h*a.h,a.regionW=d.w*a.w;var e=0,f=0,g=c.styleAttrs["http://www.w3.org/ns/ttml#styling padding"];g&&(e=(g[0]+g[2])*a.h,f=(g[1]+g[3])*a.w),b.style.height=a.regionH-e+"px",b.style.width=a.regionW-f+"px"}),new m("http://www.w3.org/ns/ttml#styling fontFamily",function(a,b,c,d){var e=[];for(var f in d)"monospaceSerif"===d[f]?(e.push("Courier New"),e.push('"Liberation Mono"'),e.push("Courier"),e.push("monospace")):"proportionalSansSerif"===d[f]?(e.push("Arial"),e.push("Helvetica"),e.push('"Liberation Sans"'),e.push("sans-serif")):"monospace"===d[f]?e.push("monospace"):"sansSerif"===d[f]?e.push("sans-serif"):"serif"===d[f]?e.push("serif"):"monospaceSansSerif"===d[f]?(e.push("Consolas"),e.push("monospace")):"proportionalSerif"===d[f]?e.push("serif"):e.push(d[f]);b.style.fontFamily=e.join(",")}),new m("http://www.w3.org/ns/ttml#styling fontSize",function(a,b,c,d){b.style.fontSize=d*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling fontStyle",function(a,b,c,d){b.style.fontStyle=d}),new m("http://www.w3.org/ns/ttml#styling fontWeight",function(a,b,c,d){b.style.fontWeight=d}),new m("http://www.w3.org/ns/ttml#styling lineHeight",function(a,b,c,d){b.style.lineHeight="normal"===d?"normal":d*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling opacity",function(a,b,c,d){b.style.opacity=d}),new m("http://www.w3.org/ns/ttml#styling origin",function(a,b,c,d){b.style.top=d.h*a.h+"px",b.style.left=d.w*a.w+"px"}),new m("http://www.w3.org/ns/ttml#styling overflow",function(a,b,c,d){b.style.overflow=d}),new m("http://www.w3.org/ns/ttml#styling padding",function(a,b,c,d){var e=[];e[0]=d[0]*a.h+"px",e[1]=d[3]*a.w+"px",e[2]=d[2]*a.h+"px",e[3]=d[1]*a.w+"px",b.style.padding=e.join(" ")}
vendor: 5,031 bytes, line 21
21),new m("http://www.w3.org/ns/ttml#styling showBackground",null),new m("http://www.w3.org/ns/ttml#styling textAlign",function(a,b,d,e){var f,g=d.styleAttrs[c.byName.direction.qname];f="start"===e?"rtl"===g?"right":"left":"end"===e?"rtl"===g?"left":"right":e,b.style.textAlign=f}),new m("http://www.w3.org/ns/ttml#styling textDecoration",function(a,b,c,d){b.style.textDecoration=d.join(" ").replace("lineThrough","line-through")}),new m("http://www.w3.org/ns/ttml#styling textOutline",function(a,b,c,d){b.style.textShadow="none"===d?"":"rgba("+d.color[0].toString()+","+d.color[1].toString()+","+d.color[2].toString()+","+(d.color[3]/255).toString()+") 0px 0px "+d.thickness*a.h+"px"}),new m("http://www.w3.org/ns/ttml#styling unicodeBidi",function(a,b,c,d){var e;e="bidiOverride"===d?"bidi-override":d,b.style.unicodeBidi=e}),new m("http://www.w3.org/ns/ttml#styling visibility",function(a,b,c,d){b.style.visibility=d}),new m("http://www.w3.org/ns/ttml#styling wrapOption",function(a,b,c,d){"wrap"===d?"preserve"===c.space?b.style.whiteSpace="pre-wrap":b.style.whiteSpace="normal":"preserve"===c.space?b.style.whiteSpace="pre":b.style.whiteSpace="noWrap"}),new m("http://www.w3.org/ns/ttml#styling writingMode",function(a,b,c,d){"lrtb"===d||"lr"===d?b.style.writingMode="horizontal-tb":"rltb"===d||"rl"===d?b.style.writingMode="horizontal-tb":"tblr"===d?b.style.writingMode="vertical-lr":"tbrl"!==d&&"tb"!==d||(b.style.writingMode="vertical-rl")}),new m("http://www.w3.org/ns/ttml#styling zIndex",function(a,b,c,d){b.style.zIndex=d}),new m("http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt backgroundImage",function(a,b,c,d){if(null!==a.imgResolver&&null!==d){var e=document.createElement("img"),f=a.imgResolver(d,e);f&&(e.src=f),e.height=a.regionH,e.width=a.regionW,b.appendChild(e)}}),new m("http://www.w3.org/ns/ttml/profile/imsc1#styling forcedDisplay",function(a,b,c,d){a.displayForcedOnlyMode&&!1===d&&(b.style.visibility="hidden")})],p={};for(var q in o)p[o[q].qname]=o[q]}(void 0===c?this.imscHTML={}:c,"undefined"==typeof imscNames?a(42):imscNames,"undefined"==typeof imscStyles?a(43):imscStyles)},{42:42,43:43}],40:[function(a,b,c){!function(a,b,c){function d(a,b,g,j,k,l,m,n){if(b<m.begin||b>=m.end)return null;var o="regionID"in m&&""!==m.regionID?m.regionID:l;if(null!==k&&o!==g.id&&(!("contents"in m)||"contents"in m&&0===m.contents.length||""!==o))return null;var p=new h(m);for(var q in m.sets)b<m.sets[q].begin||b>=m.sets[q].end||(p.styleAttrs[m.sets[q].qname]=m.sets[q].value);var r={};for(var s in p.styleAttrs)if(r[s]=!0,s===c.byName.writingMode.qname&&!(c.byName.direction.qname in p.styleAttrs)){var t=p.styleAttrs[s];"lrtb"===t||"lr"===t?p.styleAttrs[c.byName.direction.qname]="ltr":"rltb"!==t&&"rl"!==t||(p.styleAttrs[c.byName.direction.qname]="rtl")}if(null!==k)for(var u in c.all){var v=c.all[u];if(v.qname===c.byName.textDecoration.qname){var w=k.styleAttrs[v.qname],x=p.styleAttrs[v.qname],y=[];void 0===x?y=w:-1===x.indexOf("none")?((-1===x.indexOf("noUnderline")&&-1!==w.indexOf("underline")||-1!==x.indexOf("underline"))&&y.push("underline"),(-1===x.indexOf("noLineThrough")&&-1!==w.indexOf("lineThrough")||-1!==x.indexOf("lineThrough"))&&y.push("lineThrough"),(-1===x.indexOf("noOverline")&&-1!==w.indexOf("overline")||-1!==x.indexOf("overline"))&&y.push("overline")):y.push("none"),p.styleAttrs[v.qname]=y}else v.inherit&&v.qname in k.styleAttrs&&!(v.qname in p.styleAttrs)&&(p.styleAttrs[v.qname]=k.styleAttrs[v.qname])}for(var z in c.all){var A=c.all[z];A.qname in p.styleAttrs||("region"===p.kind||!1===A.inherit&&null!==A.initial)&&(p.styleAttrs[A.qname]=A.parse(A.initial),r[A.qname]=!0)}for(var B in c.all){var C=c.all[B];if(C.qname in r&&null!==C.compute){var D=C.compute(a,k,p,p.styleAttrs[C.qname]);null!==D?p.styleAttrs[C.qname]=D:i(n,"Style '"+C.qname+"' on element '"+p.kind+"' cannot be computed")}}if("none"===p.styleAttrs[c.byName.display.qname])return null;var E;null===k?E=null===j?[]:[j]:"contents"in m&&(E=m.contents);for(var F in E){var G=d(a,b,g,j,p,o,E[F]);null!==G&&p.contents.push(G.element)}for(var H in p.styleAttrs){-1===c.byQName[H].applies.indexOf(p.kind)&&delete p.styleAttrs[H]}if("span"===p.kind&&p.text&&"default"===p.space){var I=p.text.replace(/\s+/g," ");p.text=I}if("p"===p.kind){var J=[];e(p,J);for(var K=0,L="after_br",M=0;;)if("after_br"===L)K>=J.length||"br"===J[K].kind?(L="before_br",M=K,K--):("preserve"!==J[K].space&&(J[K].text=J[K].text.replace(/^\s+/g,"")),J[K].text.length>0?(L="looking_br",K++):J.splice(K,1));else if("before_br"===L)if(K<0||"br"===J[K].kind){if(L="after_br",(K=M+1)>=J.length)break}else if("preserve"!==J[K].space&&(J[K].text=J[K].text.replace(/\s+$/g,"")),J[K].text.length>0){if(L="after_br",(K=M+1)>=J.length)break}else J.splice(K,1),K--;else K>=J.length||"br"===J[K].kind?(L="before_br",M=K,K--):K++;f(p)}return"div"===p.kind&&c.byName.backgroundImage.qname in p.styleAttrs||"br"===p.kind||"contents"in p&&p.contents.length>0||"span"===p.kind&&null!==p.text||"region"===p.kind&&"always"===p.styleAttrs[c.byName.showBackgroun
vendor: 4,522 bytes, lines 21-22
21d.qname]?{region_id:o,element:p}:null}function e(a,b){if("contents"in a)for(var c in a.contents)e(a.contents[c],b);else b.push(a)}function f(a){if("br"===a.kind)return!1;if("text"in a)return 0===a.text.length;if("contents"in a){for(var b=a.contents.length;b--;)f(a.contents[b])&&a.contents.splice(b,1);return 0===a.contents.length}}function g(a){this.contents=[],this.aspectRatio=a.aspectRatio}function h(a){this.kind=a.kind||"region",a.id&&(this.id=a.id),this.styleAttrs={};for(var b in a.styleAttrs)this.styleAttrs[b]=a.styleAttrs[b];"text"in a?this.text=a.text:"br"!==a.kind&&(this.contents=[]),"space"in a&&(this.space=a.space)}function i(a,b){if(a&&a.error&&a.error(b))throw b}a.generateISD=function(a,b,c){var e=new g(a);for(var f in a.head.layout.regions){var h=d(a,b,a.head.layout.regions[f],a.body,null,"",a.head.layout.regions[f],c);null!==h&&e.contents.push(h.element)}return e}}(void 0===c?this.imscISD={}:c,"undefined"==typeof imscNames?a(42):imscNames,"undefined"==typeof imscStyles?a(43):imscStyles)},{42:42,43:43}],41:[function(a,b,c){c.generateISD=a(40).generateISD,c.fromXML=a(38).fromXML,c.renderHTML=a(39).render},{38:38,39:39,40:40}],42:[function(a,b,c){!function(a){a.ns_tt="http://www.w3.org/ns/ttml",a.ns_tts="http://www.w3.org/ns/ttml#styling",a.ns_ttp="http://www.w3.org/ns/ttml#parameter",a.ns_xml="http://www.w3.org/XML/1998/namespace",a.ns_itts="http://www.w3.org/ns/ttml/profile/imsc1#styling",a.ns_ittp="http://www.w3.org/ns/ttml/profile/imsc1#parameter",a.ns_smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt",a.ns_ebutts="urn:ebu:tt:style"}(void 0===c?this.imscNames={}:c)},{}],43:[function(a,b,c){!function(a,b,c){function d(a,b,c,d,e,f,g,h){this.name=b,this.ns=a,this.qname=a+" "+b,this.inherit=e,this.animatable=f,this.initial=c,this.applies=d,this.parse=g,this.compute=h}a.all=[new d(b.ns_tts,"backgroundColor","transparent",["body","div","p","region","span"],!1,!0,c.parseColor,null),new d(b.ns_tts,"color","white",["span"],!0,!0,c.parseColor,null),new d(b.ns_tts,"direction","ltr",["p","span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"display","auto",["body","div","p","region","span"],!1,!0,function(a){return a},null),new d(b.ns_tts,"displayAlign","before",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"extent","auto",["tt","region"],!1,!0,function(a){if("auto"===a)return a;var b=a.split(" ");if(2!==b.length)return null;var d=c.parseLength(b[0]),e=c.parseLength(b[1]);return e&&d?{h:e,w:d}:null},function(a,b,c,d){var e,f;if("auto"===d)e=1;else if("%"===d.h.unit)e=d.h.value/100;else{if("px"!==d.h.unit)return null;e=d.h.value/a.pxDimensions.h}if("auto"===d)f=1;else if("%"===d.w.unit)f=d.w.value/100;else{if("px"!==d.w.unit)return null;f=d.w.value/a.pxDimensions.w}return{h:e,w:f}}),new d(b.ns_tts,"fontFamily","default",["span"],!0,!0,function(a){var b=a.split(","),c=[];for(var d in b)"'"!==b[d].charAt(0)&&'"'!==b[d].charAt(0)&&"default"===b[d]?c.push("monospaceSerif"):c.push(b[d]);return c},null),new d(b.ns_tts,"fontSize","1c",["span"],!0,!0,c.parseLength,function(b,c,d,e){var f;if("%"===e.unit)f=null!==c?c.styleAttrs[a.byName.fontSize.qname]*e.value/100:e.value/100/b.cellResolution.h;else if("em"===e.unit)f=null!==c?c.styleAttrs[a.byName.fontSize.qname]*e.value:e.value/b.cellResolution.h;else if("c"===e.unit)f=e.value/b.cellResolution.h;else{if("px"!==e.unit)return null;f=e.value/b.pxDimensions.h}return f}),new d(b.ns_tts,"fontStyle","normal",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"fontWeight","normal",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"lineHeight","normal",["p"],!0,!0,function(a){return"normal"===a?a:c.parseLength(a)},function(b,c,d,e){var f;if("normal"===e)f=e;else if("%"===e.unit)f=d.styleAttrs[a.byName.fontSize.qname]*e.value/100;else if("em"===e.unit)f=d.styleAttrs[a.byName.fontSize.qname]*e.value;else if("c"===e.unit)f=e.value/b.cellResolution.h;else{if("px"!==e.unit)return null;f=e.value/b.pxDimensions.h}return f
22}),new d(b.ns_tts,"opacity",1,["region"],!1,!0,parseFloat,null),new d(b.ns_tts,"origin","auto",["region"],!1,!0,function(a){if("auto"===a)return a;var b=a.split(" ");if(2!==b.length)return null;var d=c.parseLength(b[0]),e=c.parseLength(b[1]);return e&&d?{h:e,w:d}:null},function(a,b,c,d){var e,f;if("auto"===d)e=0;else if("%"===d.h.unit)e=d.h.value/100;else{if("px"!==d.h.unit)return null;e=d.h.value/a.pxDimensions.h}if("auto"===d)f=0;else if("%"===d.w.unit)f=d.w.value/100;else{if("px"!==d.w.unit)return null;f=d.w.value/a.pxDimensions.w}return{h:e,w:f}}
vendor: 4,744 bytes, line 22
22),new d(b.ns_tts,"overflow","hidden",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"padding","0px",["region"],!1,!0,function(a){var b=a.split(" ");if(b.length>4)return null;var d=[];for(var e in b){var f=c.parseLength(b[e]);if(!f)return null;d.push(f)}return d},function(b,c,d,e){var f;if(1===e.length)f=[e[0],e[0],e[0],e[0]];else if(2===e.length)f=[e[0],e[1],e[0],e[1]];else if(3===e.length)f=[e[0],e[1],e[2],e[1]];else{if(4!==e.length)return null;f=[e[0],e[1],e[2],e[3]]}var g=d.styleAttrs[a.byName.writingMode.qname];if("lrtb"===g||"lr"===g)f=[f[0],f[3],f[2],f[1]];else if("rltb"===g||"rl"===g)f=[f[0],f[1],f[2],f[3]];else if("tblr"===g)f=[f[3],f[0],f[1],f[2]];else{if("tbrl"!==g&&"tb"!==g)return null;f=[f[3],f[2],f[1],f[0]]}var h=[];for(var i in f)if(0===f[i].value)h[i]=0;else if("%"===f[i].unit)h[i]="0"===i||"2"===i?d.styleAttrs[a.byName.extent.qname].h*f[i].value/100:d.styleAttrs[a.byName.extent.qname].w*f[i].value/100;else if("em"===f[i].unit)h[i]=d.styleAttrs[a.byName.fontSize.qname]*f[i].value;else if("c"===f[i].unit)h[i]=f[i].value/b.cellResolution.h;else{if("px"!==f[i].unit)return null;h[i]=f[i].value/b.pxDimensions.h}return h}),new d(b.ns_tts,"showBackground","always",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"textAlign","start",["p"],!0,!0,function(a){return a},function(a,b,c,d){return"left"===d?"start":"right"===d?"end":d}),new d(b.ns_tts,"textDecoration","none",["span"],!0,!0,function(a){return a.split(" ")},null),new d(b.ns_tts,"textOutline","none",["span"],!0,!0,function(a){if("none"===a)return a;var b={},d=a.split(" ");if(0===d.length||d.length>2)return null;var e=c.parseColor(d[0]);if(b.color=e,null!==e&&d.shift(),1!==d.length)return null;var f=c.parseLength(d[0]);return f?(b.thickness=f,b):null},function(b,c,d,e){if("none"===e)return e;var f={};if(null===e.color?f.color=d.styleAttrs[a.byName.color.qname]:f.color=e.color,"%"===e.thickness.unit)f.thickness=d.styleAttrs[a.byName.fontSize.qname]*e.thickness.value/100;else if("em"===e.thickness.unit)f.thickness=d.styleAttrs[a.byName.fontSize.qname]*e.thickness.value;else if("c"===e.thickness.unit)f.thickness=e.thickness.value/b.cellResolution.h;else{if("px"!==e.thickness.unit)return null;f.thickness=e.thickness.value/b.pxDimensions.h}return f}),new d(b.ns_tts,"unicodeBidi","normal",["span","p"],!1,!0,function(a){return a},null),new d(b.ns_tts,"visibility","visible",["body","div","p","region","span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"wrapOption","wrap",["span"],!0,!0,function(a){return a},null),new d(b.ns_tts,"writingMode","lrtb",["region"],!1,!0,function(a){return a},null),new d(b.ns_tts,"zIndex","auto",["region"],!1,!0,function(a){var b;return"auto"===a?b=a:(b=parseInt(a),isNaN(b)&&(b=null)),b},null),new d(b.ns_ebutts,"linePadding","0c",["p"],!0,!1,c.parseLength,function(a,b,c,d){return"c"===d.unit?d.value/a.cellResolution.h:null}),new d(b.ns_ebutts,"multiRowAlign","auto",["p"],!0,!1,function(a){return a},null),new d(b.ns_smpte,"backgroundImage",null,["div"],!1,!1,function(a){return a},null),new d(b.ns_itts,"forcedDisplay","false",["body","div","p","region","span"],!0,!0,function(a){return"true"===a},null)],a.byQName={};for(var e in a.all)a.byQName[a.all[e].qname]=a.all[e];a.byName={};for(var f in a.all)a.byName[a.all[f].name]=a.all[f]}(void 0===c?this.imscStyles={}:c,"undefined"==typeof imscNames?a(42):imscNames,"undefined"==typeof imscUtils?a(44):imscUtils)},{42:42,44:44}],44:[function(a,b,c){!function(a){var b=/#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})?/,c=/rgb\((\d+),(\d+),(\d+)\)/,d=/rgba\((\d+),(\d+),(\d+),(\d+)\)/,e={transparent:[0,0,0,0],black:[0,0,0,255],silver:[192,192,192,255],gray:[128,128,128,255],white:[255,255,255,255],maroon:[128,0,0,255],red:[255,0,0,255],purple:[128,0,128,255],fuchsia:[255,0,255,255],magenta:[255,0,255,255],green:[0,128,0,255],lime:[0,255,0,255],olive:[128,128,0,255],yellow:[255,255,0,255],navy:[0,0,128,255],blue:[0,0,255,255],teal:[0,128,128,255],aqua:[0,255,255,255],cyan:[0,255,255,255]};a.parseColor=function(a){var f,g=null;return a in e?g=e[a]:null!==(f=b.exec(a))?g=[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16),void 0!==f[4]?parseInt(f[4],16):255]:null!==(f=c.exec(a))?g=[parseInt(f[1]),parseInt(f[2]),parseInt(f[3]),255]:null!==(f=d.exec(a))&&(g=[parseInt(f[1]),parseInt(f[2]),parseInt(f[3]),parseInt(f[4])]),g};var f=/^((?:\+|\-)?\d*(?:\.\d+)?)(px|em|c|%)$/;a.parseLength=function(a){var b,c=null;return null!==(b=f.exec(a))&&(c={value:parseFloat(b[1]),unit:b[2]}),c}}(void 0===c?this.imscUtils={}:c)},{}],45:[function(a,b,c){(function(b){!function(c){function d(a,b){if(!(this instanceof d))return new d(a,b);var e=this;f(e),e.q=e.c="",e.bufferCheckPosition=c.MAX_BUFFER_LENGTH,e.opt=b||{}
vendor: 7,799 bytes, line 22
22,e.opt.lowercase=e.opt.lowercase||e.opt.lowercasetags,e.looseCase=e.opt.lowercase?"toLowerCase":"toUpperCase",e.tags=[],e.closed=e.closedRoot=e.sawRoot=!1,e.tag=e.error=null,e.strict=!!a,e.noscript=!(!a&&!e.opt.noscript),e.state=U.BEGIN,e.strictEntities=e.opt.strictEntities,e.ENTITIES=e.strictEntities?Object.create(c.XML_ENTITIES):Object.create(c.ENTITIES),e.attribList=[],e.opt.xmlns&&(e.ns=Object.create(P)),e.trackPosition=!1!==e.opt.position,e.trackPosition&&(e.position=e.line=e.column=0),n(e,"onready")}function e(a){for(var b=Math.max(c.MAX_BUFFER_LENGTH,10),d=0,e=0,f=D.length;e<f;e++){var g=a[D[e]].length;if(g>b)switch(D[e]){case"textNode":p(a);break;case"cdata":o(a,"oncdata",a.cdata),a.cdata="";break;case"script":o(a,"onscript",a.script),a.script="";break;default:r(a,"Max buffer length exceeded: "+D[e])}d=Math.max(d,g)}var h=c.MAX_BUFFER_LENGTH-d;a.bufferCheckPosition=h+a.position}function f(a){for(var b=0,c=D.length;b<c;b++)a[D[b]]=""}function g(a){p(a),""!==a.cdata&&(o(a,"oncdata",a.cdata),a.cdata=""),""!==a.script&&(o(a,"onscript",a.script),a.script="")}function h(a,b){return new i(a,b)}function i(a,b){if(!(this instanceof i))return new i(a,b);E.apply(this),this._parser=new d(a,b),this.writable=!0,this.readable=!0;var c=this;this._parser.onend=function(){c.emit("end")},this._parser.onerror=function(a){c.emit("error",a),c._parser.error=null},this._decoder=null,F.forEach(function(a){Object.defineProperty(c,"on"+a,{get:function(){return c._parser["on"+a]},set:function(b){if(!b)return c.removeAllListeners(a),c._parser["on"+a]=b,b;c.on(a,b)},enumerable:!0,configurable:!1})})}function j(a){return a.split("").reduce(function(a,b){return a[b]=!0,a},{})}function k(a){return"[object RegExp]"===Object.prototype.toString.call(a)}function l(a,b){return k(a)?!!b.match(a):a[b]}function m(a,b){return!l(a,b)}function n(a,b,c){a[b]&&a[b](c)}function o(a,b,c){a.textNode&&p(a),n(a,b,c)}function p(a){a.textNode=q(a.opt,a.textNode),a.textNode&&n(a,"ontext",a.textNode),a.textNode=""}function q(a,b){return a.trim&&(b=b.trim()),a.normalize&&(b=b.replace(/\s+/g," ")),b}function r(a,b){return p(a),a.trackPosition&&(b+="\nLine: "+a.line+"\nColumn: "+a.column+"\nChar: "+a.c),b=new Error(b),a.error=b,n(a,"onerror",b),a}function s(a){return a.sawRoot&&!a.closedRoot&&t(a,"Unclosed root tag"),a.state!==U.BEGIN&&a.state!==U.BEGIN_WHITESPACE&&a.state!==U.TEXT&&r(a,"Unexpected end"),p(a),a.c="",a.closed=!0,n(a,"onend"),d.call(a,a.strict,a.opt),a}function t(a,b){if("object"!=typeof a||!(a instanceof d))throw new Error("bad call to strictFail");a.strict&&r(a,b)}function u(a){a.strict||(a.tagName=a.tagName[a.looseCase]());var b=a.tags[a.tags.length-1]||a,c=a.tag={name:a.tagName,attributes:{}};a.opt.xmlns&&(c.ns=b.ns),a.attribList.length=0,o(a,"onopentagstart",c)}function v(a,b){var c=a.indexOf(":"),d=c<0?["",a]:a.split(":"),e=d[0],f=d[1];return b&&"xmlns"===a&&(e="xmlns",f=""),{prefix:e,local:f}}function w(a){if(a.strict||(a.attribName=a.attribName[a.looseCase]()),-1!==a.attribList.indexOf(a.attribName)||a.tag.attributes.hasOwnProperty(a.attribName))return void(a.attribName=a.attribValue="");if(a.opt.xmlns){var b=v(a.attribName,!0),c=b.prefix,d=b.local;if("xmlns"===c)if("xml"===d&&a.attribValue!==N)t(a,"xml: prefix must be bound to "+N+"\nActual: "+a.attribValue);else if("xmlns"===d&&a.attribValue!==O)t(a,"xmlns: prefix must be bound to "+O+"\nActual: "+a.attribValue);else{var e=a.tag,f=a.tags[a.tags.length-1]||a;e.ns===f.ns&&(e.ns=Object.create(f.ns)),e.ns[d]=a.attribValue}a.attribList.push([a.attribName,a.attribValue])}else a.tag.attributes[a.attribName]=a.attribValue,o(a,"onattribute",{name:a.attribName,value:a.attribValue});a.attribName=a.attribValue=""}function x(a,b){if(a.opt.xmlns){var c=a.tag,d=v(a.tagName);c.prefix=d.prefix,c.local=d.local,c.uri=c.ns[d.prefix]||"",c.prefix&&!c.uri&&(t(a,"Unbound namespace prefix: "+JSON.stringify(a.tagName)),c.uri=d.prefix);var e=a.tags[a.tags.length-1]||a;c.ns&&e.ns!==c.ns&&Object.keys(c.ns).forEach(function(b){o(a,"onopennamespace",{prefix:b,uri:c.ns[b]})});for(var f=0,g=a.attribList.length;f<g;f++){var h=a.attribList[f],i=h[0],j=h[1],k=v(i,!0),l=k.prefix,m=k.local,n=""===l?"":c.ns[l]||"",p={name:i,value:j,prefix:l,local:m,uri:n};l&&"xmlns"!==l&&!n&&(t(a,"Unbound namespace prefix: "+JSON.stringify(l)),p.uri=l),a.tag.attributes[i]=p,o(a,"onattribute",p)}a.attribList.length=0}a.tag.isSelfClosing=!!b,a.sawRoot=!0,a.tags.push(a.tag),o(a,"onopentag",a.tag),b||(a.noscript||"script"!==a.tagName.toLowerCase()?a.state=U.TEXT:a.state=U.SCRIPT,a.tag=null,a.tagName=""),a.attribName=a.attribValue="",a.attribList.length=0}function y(a){if(!a.tagName)return t(a,"Weird empty close tag."),a.textNode+="</>",void(a.state=U.TEXT);if(a.script){if("script"!==a.tagName)return a.script+="</"+a.tagName+">",a.tagName="",void(a.state=U.SCRIPT);o(a,"onscript",a.script),a.script=""}var b=a.tags.length,c=a.tagName;a.strict||(c=c[a.looseCase]());for(var d=c;b--;){if(a.tags[b].name===d)break;t(a,"Unexpected close tag")}if(b<0)return t(a,"Unmatched closing tag: "+a.tagName),a.textNode+="</"+a.tagName+">",void(a.state=U.TEXT);a.tagName=c;for(var e=a.tags.length;e-- >b;){var f=a.tag=a.tags.pop();a.tagName=a.tag.name,o(a,"onclosetag",a.tagName);var g={};for(var h in f.ns)g[h]=f.ns[h];var i=a.tags[a.tags.length-1]||a;a.opt.xmlns&&f.ns!==i.ns&&Object.keys(f.ns).forEach(function(b){var c=f.ns[b];o(a,"onclosenamespace",{prefix:b,uri:c})})}0===b&&(a.closedRoot=!0),a.tagName=a.attribValue=a.attribName="",a.attribList.length=0,a.state=U.TEXT}function z(a){var b,c=a.entity,d=c.toLowerCase(),e="";return a.ENTITIES[c]?a.ENTITIES[c]:a.ENTITIES[d]?a.ENTITIES[d]:(c=d,"#"===c.charAt(0)&&("x"===c.charAt(1)?(c=c.slice(2),b=parseInt(c,16),e=b.toString(16)):(c=c.slice(1),b=parseInt(c,10),e=b.toString(10))),c=c.replace(/^0+/,""),e.toLowerCase()!==c?(t(a,"Invalid character entity"),"&"+a.entity+";"):String.fromCodePoint(b))}function A(a,b){"<"===b?(a.state=U.OPEN_WAKA,a.startTagPosition=a.position):m(G,b)&&(t(a,"Non-whitespace before first tag."),a.textNode=b,a.state=U.TEXT)}function B(a,b){var c="";return b<a.length&&(c=a.charAt(b)),c}function C(a){var b=this;if(this.error)throw this.error;if(b.closed)return r(b,"Cannot write after close. Assign an onready handler.");if(null===a)return s(b);"object"==typeof a&&(a=a.toString());for(var c=0,d="";;){if(d=B(a,c++),b.c=d,!d)break;switch(b.trackPosition&&(b.position++,"\n"===d?(b.line++,b.column=0):b.column++),b.state){case U.BEGIN:if(b.state=U.BEGIN_WHITESPACE,"\ufeff"===d)continue;A(b,d);continue;case U.BEGIN_WHITESPACE:A(b,d);continue;case U.TEXT:if(b.sawRoot&&!b.closedRoot){for(var f=c-1;d&&"<"!==d&&"&"!==d;)(d=B(a,c++))&&b.trackPosition&&(b.position++,"\n"===d?(b.line++,b.column=0):b.column++);b.textNode+=a.substring(f,c-1)}"<"!==d||b.sawRoot&&b.closedRoot&&!b.strict?(!m(G,d)||b.sawRoot&&!b.closedRoot||t(b,"Text data outside of root node."),"&"===d?b.state=U.TEXT_ENTITY:b.textNode+=d):(b.state=U.OPEN_WAKA,b.startTagPosition=b.position);continue;case U.SCRIPT:"<"===d?b.state=U.SCRIPT_ENDING:b.script+=d;continue;case U.SCRIPT_ENDING:"/"===d?b.state=U.CLOSE_TAG:(b.script+="<"+d,b.state=U.SCRIPT);continue;case U.OPEN_WAKA:if("!"===d)b.state=U.SGML_DECL,b.sgmlDecl="";else if(l(G,d));else if(l(Q,d))b.state=U.OPEN_TAG,b.tagName=d;else if("/"===d)b.state=U.CLOSE_TAG,b.tagName="";else if("?"===d)b.state=U.PROC_INST,b.procInstName=b.procInstBody="";else{if(t(b,"Unencoded <"),b.startTagPosition+1<b.position){var g=b.position-b.startTagPosition;d=new Array(g).join(" ")+d}b.textNode+="<"+d,b.state=U.TEXT}continue;case U.SGML_DECL:(b.sgmlDecl+d).toUpperCase()===L?(o(b,"onopencdata"),b.state=U.CDATA,b.sgmlDecl="",b.cdata=""):b.sgmlDecl+d==="--"?(b.state=U.COMMENT,b.comment="",b.sgmlDecl=""):(b.sgmlDecl+d).toUpperCase()===M?(b.state=U.DOCTYPE,(b.doctype||b.s
vendor: 8,704 bytes, line 22
22awRoot)&&t(b,"Inappropriately located doctype declaration"),b.doctype="",b.sgmlDecl=""):">"===d?(o(b,"onsgmldeclaration",b.sgmlDecl),b.sgmlDecl="",b.state=U.TEXT):l(J,d)?(b.state=U.SGML_DECL_QUOTED,b.sgmlDecl+=d):b.sgmlDecl+=d;continue;case U.SGML_DECL_QUOTED:d===b.q&&(b.state=U.SGML_DECL,b.q=""),b.sgmlDecl+=d;continue;case U.DOCTYPE:">"===d?(b.state=U.TEXT,o(b,"ondoctype",b.doctype),b.doctype=!0):(b.doctype+=d,"["===d?b.state=U.DOCTYPE_DTD:l(J,d)&&(b.state=U.DOCTYPE_QUOTED,b.q=d));continue;case U.DOCTYPE_QUOTED:b.doctype+=d,d===b.q&&(b.q="",b.state=U.DOCTYPE);continue;case U.DOCTYPE_DTD:b.doctype+=d,"]"===d?b.state=U.DOCTYPE:l(J,d)&&(b.state=U.DOCTYPE_DTD_QUOTED,b.q=d);continue;case U.DOCTYPE_DTD_QUOTED:b.doctype+=d,d===b.q&&(b.state=U.DOCTYPE_DTD,b.q="");continue;case U.COMMENT:"-"===d?b.state=U.COMMENT_ENDING:b.comment+=d;continue;case U.COMMENT_ENDING:"-"===d?(b.state=U.COMMENT_ENDED,b.comment=q(b.opt,b.comment),b.comment&&o(b,"oncomment",b.comment),b.comment=""):(b.comment+="-"+d,b.state=U.COMMENT);continue;case U.COMMENT_ENDED:">"!==d?(t(b,"Malformed comment"),b.comment+="--"+d,b.state=U.COMMENT):b.state=U.TEXT;continue;case U.CDATA:"]"===d?b.state=U.CDATA_ENDING:b.cdata+=d;continue;case U.CDATA_ENDING:"]"===d?b.state=U.CDATA_ENDING_2:(b.cdata+="]"+d,b.state=U.CDATA);continue;case U.CDATA_ENDING_2:">"===d?(b.cdata&&o(b,"oncdata",b.cdata),o(b,"onclosecdata"),b.cdata="",b.state=U.TEXT):"]"===d?b.cdata+="]":(b.cdata+="]]"+d,b.state=U.CDATA);continue;case U.PROC_INST:"?"===d?b.state=U.PROC_INST_ENDING:l(G,d)?b.state=U.PROC_INST_BODY:b.procInstName+=d;continue;case U.PROC_INST_BODY:if(!b.procInstBody&&l(G,d))continue;"?"===d?b.state=U.PROC_INST_ENDING:b.procInstBody+=d;continue;case U.PROC_INST_ENDING:">"===d?(o(b,"onprocessinginstruction",{name:b.procInstName,body:b.procInstBody}),b.procInstName=b.procInstBody="",b.state=U.TEXT):(b.procInstBody+="?"+d,b.state=U.PROC_INST_BODY);continue;case U.OPEN_TAG:l(R,d)?b.tagName+=d:(u(b),">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:(m(G,d)&&t(b,"Invalid character in tag name"),b.state=U.ATTRIB));continue;case U.OPEN_TAG_SLASH:">"===d?(x(b,!0),y(b)):(t(b,"Forward-slash in opening tag not followed by >"),b.state=U.ATTRIB);continue;case U.ATTRIB:if(l(G,d))continue;">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:l(Q,d)?(b.attribName=d,b.attribValue="",b.state=U.ATTRIB_NAME):t(b,"Invalid attribute name");continue;case U.ATTRIB_NAME:"="===d?b.state=U.ATTRIB_VALUE:">"===d?(t(b,"Attribute without value"),b.attribValue=b.attribName,w(b),x(b)):l(G,d)?b.state=U.ATTRIB_NAME_SAW_WHITE:l(R,d)?b.attribName+=d:t(b,"Invalid attribute name");continue;case U.ATTRIB_NAME_SAW_WHITE:if("="===d)b.state=U.ATTRIB_VALUE;else{if(l(G,d))continue;t(b,"Attribute without value"),b.tag.attributes[b.attribName]="",b.attribValue="",o(b,"onattribute",{name:b.attribName,value:""}),b.attribName="",">"===d?x(b):l(Q,d)?(b.attribName=d,b.state=U.ATTRIB_NAME):(t(b,"Invalid attribute name"),b.state=U.ATTRIB)}continue;case U.ATTRIB_VALUE:if(l(G,d))continue;l(J,d)?(b.q=d,b.state=U.ATTRIB_VALUE_QUOTED):(t(b,"Unquoted attribute value"),b.state=U.ATTRIB_VALUE_UNQUOTED,b.attribValue=d);continue;case U.ATTRIB_VALUE_QUOTED:if(d!==b.q){"&"===d?b.state=U.ATTRIB_VALUE_ENTITY_Q:b.attribValue+=d;continue}w(b),b.q="",b.state=U.ATTRIB_VALUE_CLOSED;continue;case U.ATTRIB_VALUE_CLOSED:l(G,d)?b.state=U.ATTRIB:">"===d?x(b):"/"===d?b.state=U.OPEN_TAG_SLASH:l(Q,d)?(t(b,"No whitespace between attributes"),b.attribName=d,b.attribValue="",b.state=U.ATTRIB_NAME):t(b,"Invalid attribute name");continue;case U.ATTRIB_VALUE_UNQUOTED:if(m(K,d)){"&"===d?b.state=U.ATTRIB_VALUE_ENTITY_U:b.attribValue+=d;continue}w(b),">"===d?x(b):b.state=U.ATTRIB;continue;case U.CLOSE_TAG:if(b.tagName)">"===d?y(b):l(R,d)?b.tagName+=d:b.script?(b.script+="</"+b.tagName,b.tagName="",b.state=U.SCRIPT):(m(G,d)&&t(b,"Invalid tagname in closing tag"),b.state=U.CLOSE_TAG_SAW_WHITE);else{if(l(G,d))continue;m(Q,d)?b.script?(b.script+="</"+d,b.state=U.SCRIPT):t(b,"Invalid tagname in closing tag."):b.tagName=d}continue;case U.CLOSE_TAG_SAW_WHITE:if(l(G,d))continue;">"===d?y(b):t(b,"Invalid characters in closing tag");continue;case U.TEXT_ENTITY:case U.ATTRIB_VALUE_ENTITY_Q:case U.ATTRIB_VALUE_ENTITY_U:var h,i;switch(b.state){case U.TEXT_ENTITY:h=U.TEXT,i="textNode";break;case U.ATTRIB_VALUE_ENTITY_Q:h=U.ATTRIB_VALUE_QUOTED,i="attribValue";break;case U.ATTRIB_VALUE_ENTITY_U:h=U.ATTRIB_VALUE_UNQUOTED,i="attribValue"}";"===d?(b[i]+=z(b),b.entity="",b.state=h):l(b.entity.length?T:S,d)?b.entity+=d:(t(b,"Invalid character in entity name"),b[i]+="&"+b.entity+d,b.entity="",b.state=h);continue;default:throw new Error(b,"Unknown state: "+b.state)}}return b.position>=b.bufferCheckPosition&&e(b),b}c.parser=function(a,b){return new d(a,b)},c.SAXParser=d,c.SAXStream=i,c.createStream=h,c.MAX_BUFFER_LENGTH=65536;var D=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];c.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(a){function b(){}return b.prototype=a,new b}),Object.keys||(Object.keys=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b}),d.prototype={end:function(){s(this)},write:C,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){g(this)}};var E;try{E=a(35).Stream}catch(W){E=function(){}}var F=c.EVENTS.filter(function(a){return"error"!==a&&"end"!==a});i.prototype=Object.create(E.prototype,{constructor:{value:i}}),i.prototype.write=function(c){if("function"==typeof b&&"function"==typeof b.isBuffer&&b.isBuffer(c)){if(!this._decoder){var d=a(36).StringDecoder;this._decoder=new d("utf8")}c=this._decoder.write(c)}return this._parser.write(c.toString()),this.emit("data",c),!0},i.prototype.end=function(a){return a&&a.length&&this.write(a),this._parser.end(),!0},i.prototype.on=function(a,b){var c=this;return c._parser["on"+a]||-1===F.indexOf(a)||(c._parser["on"+a]=function(){var b=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);b.splice(0,0,a),c.emit.apply(c,b)}),E.prototype.on.call(c,a,b)};var G="\r\n\t ",H="0124356789",I="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",J="'\"",K=G+">",L="[CDATA[",M="DOCTYPE",N="http://www.w3.org/XML/1998/namespace",O="http://www.w3.org/2000/xmlns/",P={xml:N,xmlns:O};G=j(G),H=j(H),I=j(I);var Q=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,R=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/,S=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,T=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;J=j(J),K=j(K);var U=0;c.STATE={BEGIN:U++,BEGIN_WHITESPACE:U++,TEXT:U++,TEXT_ENTITY:U++,OPEN_WAKA:U++,SGML_DECL:U++,SGML_DECL_QUOTED:U++,DOCTYPE:U++,DOCTYPE_QUOTED:U++,DOCTYPE_DTD:U++,DOCTYPE_DTD_QUOTED:U++,COMMENT_STARTING:U++,COMMENT:U++,COMMENT_ENDING:U++,COMMENT_ENDED:U++,CDATA:U++,CDATA_ENDING:U++,CDATA_ENDING_2:U++,PROC_INST:U++,PROC_INST_BODY:U++,PROC_INST_ENDING:U++,OPEN_TAG:U++,OPEN_TAG_SLASH:U++,ATTRIB:U++,ATTRIB_NAME:U++,ATTRIB_NAME_SAW_WHITE:U++,ATTRIB_VALUE:U++,ATTRIB_VALUE_QUOTED:U++,ATTRIB_VALUE_CLOSED:U++,ATTRIB_VALUE_UNQUOTED:U++,ATTRIB_VALUE_ENTITY_Q:U++,ATTRIB_VALUE_ENTITY_U:U++,CLOSE_TAG:U++,CLOSE_TAG_SAW_WHITE:U++,SCRIPT:U++,SCRIPT_ENDING:U++},c.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},c.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:1
2274,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(c.ENTITIES).forEach(function(a){var b=c.ENTITIES[a],d="number"==typeof b?String.fromCharCode(b):b;c.ENTITIES[a]=d});for(var V in c.STATE)c.STATE[c.STATE[V]]=V;U=c.STATE,/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */
23String.fromCodePoint||function(){var a=String.fromCharCode,b=Math.floor,c=function(){var c,d,e=16384,f=[],g=-1,h=arguments.length;if(!h)return"";for(var i="";++g<h;){var j=Number(arguments[g]);if(!isFinite(j)||j<0||j>1114111||b(j)!==j)throw RangeError("Invalid code point: "+j);j<=65535?f.push(j):(j-=65536,c=55296+(j>>10),d=j%1024+56320,f.push(c,d)),(g+1===h||f.length>e)&&(i+=a.apply(null,f),f.length=0)}return i};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:c,configurable:!0,writable:!0}):String.fromCodePoint=c}()}(void 0===c?this.sax={}:c)}).call(this,a(10).Buffer)},{10:10,35:35,36:36}],46:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){B=!0,C=!0,E=o,D=(new Date).getTime(),"undefined"!=typeof window&&window.console&&(z[m]=b(window.console.error),z[n]=b(window.console.error),z[o]=b(window.console.warn),z[p]=b(window.console.info),z[q]=b(window.console.debug))}function b(a){return a&&a.bind?a.bind(window.console):window.console.log.bind(window.console)}function c(a){return{fatal:r.bind(a),error:s.bind(a),warn:t.bind(a),info:u.bind(a),debug:v.bind(a)}}function d(a){E=a}function e(){return E}function f(a){B=a}function h(a){C=a}function j(a){E=a?q:l}function k(){return E!==l}function r(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void 0,[m,this].concat(b))}function s(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void 0,[n,this].concat(b))}function t(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void 0,[o,this].concat(b))}function u(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void 0,[p,this].concat(b))}function v(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];w.apply(void 0,[q,this].concat(b))}function w(a,b){if(!(E<a)){var c="",d=null;B&&(d=(new Date).getTime(),c+="["+(d-D)+"]"),C&&b&&b.getClassName&&(c+="["+b.getClassName()+"]",b.getType&&(c+="["+b.getType()+"]")),c.length>0&&(c+=" ");for(var e=arguments.length,f=Array(e>2?e-2:0),g=2;g<e;g++)f[g-2]=arguments[g];Array.apply(null,f).forEach(function(a){c+=a+" "}),z[a]&&z[a](c),y.trigger(i.default.LOG,{message:c})}}var x=this.context,y=(0,g.default)(x).getInstance(),z=[],A=void 0,B=void 0,C=void 0,D=void 0,E=void 0;return A={getLogger:c,setLogTimestampVisible:f,setCalleeNameVisible:h,setLogToBrowserConsole:j,getLogToBrowserConsole:k,setLogLevel:d,getLogLevel:e},a(),A}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j),l=0,m=1,n=2,o=3,p=4,q=5;e.__dashjs_factory_name="Debug";var r=k.default.getSingletonFactory(e);r.LOG_LEVEL_NONE=l,r.LOG_LEVEL_FATAL=m,r.LOG_LEVEL_ERROR=n,r.LOG_LEVEL_WARNING=o,r.LOG_LEVEL_INFO=p,r.LOG_LEVEL_DEBUG=q,k.default.updateSingletonFactory(e.__dashjs_factory_name,r),c.default=r,b.exports=c.default},{47:47,48:48,51:51}],47:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b,c){var e=arguments.length<=3||void 0===arguments[3]?h:arguments[3];if(!a)throw new Error("event type cannot be null or undefined");if(!b||"function"!=typeof b)throw new Error("listener must be a function: "+b);if(!(d(a,b,c)>
23=0)){f[a]=f[a]||[];var g={callback:b,scope:c,priority:e};f[a].some(function(b,c){if(b&&e>b.priority)return f[a].splice(c,0,g),!0})||f[a].push(g)}}function b(a,b,c){if(a&&b&&f[a]){var e=d(a,b,c);e<0||(f[a][e]=null)}}function c(a,b){if(a&&f[a]){if(b=b||{},b.hasOwnProperty("type"))throw new Error("'type' is a reserved word for event dispatching");b.type=a,f[a]=f[a].filter(function(a){return a}),f[a].forEach(function(a){return a&&a.callback.call(a.scope,b)})}}function d(a,b,c){var d=-1;return f[a]?(f[a].some(function(a,e){if(a&&a.callback===b&&(!c||c===a.scope))return d=e,!0}),d):d}function e(){f={}}var f={};return{on:a,off:b,trigger:c,reset:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=0,i=5e3;e.__dashjs_factory_name="EventBus";var j=g.default.getSingletonFactory(e);j.EVENT_PRIORITY_LOW=h,j.EVENT_PRIORITY_HIGH=i,g.default.updateSingletonFactory(e.__dashjs_factory_name,j),c.default=j,b.exports=c.default},{48:48}],48:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=function(){function a(a,b,c,d){!d[a]&&b&&(d[a]={instance:b,override:c})}function b(a,b){for(var c in n){var d=n[c];if(d.context===a&&d.name===b)return d.instance}return null}function c(a,b,c){for(var d in n){var e=n[d];if(e.context===a&&e.name===b)return void(n[d].instance=c)}n.push({name:b,context:a,instance:c})}function d(a,b){return b[a]}function e(a,b,c){a in c&&(c[a]=b)}function f(a,b){e(a,b,p)}function g(a){return d(a,p)}function h(a){var b=d(a.__dashjs_factory_name,p);return b||(b=function(b){return void 0===b&&(b={}),{create:function(){return l(a,b,arguments)}}},p[a.__dashjs_factory_name]=b),b}function i(a,b){e(a,b,o)}function j(a){return d(a,o)}function k(a){var c=d(a.__dashjs_factory_name,o);return c||(c=function(c){var d=void 0;return void 0===c&&(c={}),{getInstance:function(){return d||(d=b(c,a.__dashjs_factory_name)),d||(d=l(a,c,arguments),n.push({name:a.__dashjs_factory_name,context:c,instance:d})),d}}},o[a.__dashjs_factory_name]=c),c}function l(a,b,c){var d=void 0,e=a.__dashjs_factory_name,f=b[e];if(f){var g=f.instance;if(!f.override)return g.apply({context:b,factory:m},c);d=a.apply({context:b},c),g=g.apply({context:b,factory:m,parent:d},c);for(var h in g)d.hasOwnProperty(h)&&(d[h]=g[h])}else d=a.apply({context:b},c);return d.getClassName=function(){return e},d}var m=void 0,n=[],o={},p={};return m={extend:a,getSingletonInstance:b,setSingletonInstance:c,getSingletonFactory:k,getSingletonFactoryByName:j,updateSingletonFactory:i,getClassFactory:h,getClassFactoryByName:g,updateClassFactory:f}}();c.default=d,b.exports=c.default},{}],49:[function(a,b,c){"use strict";function d(){return e}Object.defineProperty(c,"__esModule",{value:!0}),c.getVersionString=d;var e="2.9.0"},{}],50:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(52),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.BUFFERING_COMPLETED="bufferingCompleted",this.BUFFER_CLEARED="bufferCleared",this.BUFFER_LEVEL_UPDATED="bufferLevelUpdated",this.BYTES_APPENDED="bytesAppended",this.BYTES_APPENDED_END_FRAGMENT="bytesAppendedEndFragment",this.CHECK_FOR_EXISTENCE_COMPLETED="checkForExistenceCompleted",this.CURRENT_TRACK_CHANGED="currentTrackChanged",this.DATA_UPDATE_COMPLETED="dataUpdateCompleted",this.DATA_UPDATE_STARTED="dataUpdateStarted",this.INITIALIZATION_LOADED="initializationLoaded",this.INIT_FRAGMENT_LOADED="initFragmentLoaded",this.INIT_REQUESTED="initRequested",this.INTERNAL_MANIFEST_LOADED="internalManifestLoaded",this.LIVE_EDGE_SEARCH_COMPLETED="liveEdgeSearchCompleted",this.LOADING_COMPLETED="loadingCompleted",this.LOADING_PROGRESS="loadingProgress",this.LOADING_DATA_PROGRESS="loadingDataProgress",this.LOADING_ABANDONED="loadingAborted",this.MANIFEST_UPDATED="manifestUpdated",this.MEDIA_FRAGMENT_LOADED="mediaFragmentLoaded",this.QUOTA_EXCEEDED="quotaExceeded",this.REPRESENTATION_UPDATED="representationUpdated",this.SEGMENTS_LOADED="segmentsLoaded",this.SERVICE_LOCATION_BLACKLIST_ADD="serviceLocationBlacklistAdd",this.SERVICE_LOCATION_BLACKLIST_CHANGED="serviceLocationBlacklistChanged",this.SOURCEBUFFER_REMOVE_COMPLETED="sourceBufferRemoveCompleted",this.STREAMS_COMPOSED="streamsComposed",this.STREAM_BUFFERING_COMPLETED="streamBufferingCompleted",this.STREAM_COMPLETED="streamCompleted",this.TEXT_TRACKS_QUEUE_INITIALIZED="textTracksQueueInitialized",this.TIMED_TEXT_REQUESTED="timedTextRequested",this.TIME_SYNCHRONIZATION_COMPLETED="timeSynchronizationComplete",this.URL_RESOLUTION_FAILED="urlResolutionFailed",this.VIDEO_CHUNK_RECEIVED="videoChunkReceived",this.WALLCLOCK_TIME_UPDATED="wallclockTimeUpdated",this.XLINK_ELEMENT_LOADED="xlinkElementLoaded",this.XLINK_READY="xlinkReady"}return f(b,a),b}(i.default);c.default=j,b.exports=c.default},{52:52}],51:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(50),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).apply(this,arguments)}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{50:50}],52:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a)}return e(a,[{key:"extend",value:function(a,b){if(a){var c=!!b&&b.override,d=!!b&&b.publicOnly;for(var e in a)!a.hasOwnProperty(e)||this[e]&&!c||d&&-1===a[e].indexOf("public_")||(this[e]=a[e])}}}]),a}();c.default=f,b.exports=c.default},{}],53:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){L()}function b(a){a&&a.dashManifestModel&&(N=a.dashManifestModel)}function c(a,b){return b&&a?b.getRepresentationForQuality(a.quality):null}function d(a){return a&&a.streamInfo&&void 0!==a.streamInfo.id&&P[a.streamInfo.id]?P[a.streamInfo.id][a.index]:null}function e(a,b){for(var c=b.length,d=0;d<c;d++){var e=b[d];if(a.id===e.id)return e}return null}function f(a){var b=new i.default,c=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index],d=N.getRepresentationFor(
vendor: 41,381 bytes, lines 23-24
23a.index,c);return b.id=a.id,b.quality=a.index,b.bandwidth=N.getBandwidth(d),b.DVRWindow=a.segmentAvailabilityRange,b.fragmentDuration=a.segmentDuration||(a.segments&&a.segments.length>0?a.segments[0].duration:NaN),b.MSETimeOffset=a.MSETimeOffset,b.useCalculatedLiveEdgeTime=a.useCalculatedLiveEdgeTime,b.mediaInfo=h(a.adaptation),b}function h(a){var b=new k.default,c=a.period.mpd.manifest.Period_asArray[a.period.index].AdaptationSet_asArray[a.index],d=void 0;return b.id=a.id,b.index=a.index,b.type=a.type,b.streamInfo=n(a.period),b.representationCount=N.getRepresentationCount(c),b.lang=N.getLanguageForAdaptation(c),d=N.getViewpointForAdaptation(c),b.viewpoint=d?d.value:void 0,b.accessibility=N.getAccessibilityForAdaptation(c).map(function(a){var c=a.value,d=c;return a.schemeIdUri&&a.schemeIdUri.search("cea-608")>=0&&void 0!==u.default&&(d=c?"cea-608:"+c:"cea-608",b.embeddedCaptions=!0),d}),b.audioChannelConfiguration=N.getAudioChannelConfigurationForAdaptation(c).map(function(a){return a.value}),b.roles=N.getRolesForAdaptation(c).map(function(a){return a.value}),b.codec=N.getCodec(c),b.mimeType=N.getMimeType(c),b.contentProtection=N.getContentProtectionData(c),b.bitrateList=N.getBitrateListForAdaptation(c),b.contentProtection&&b.contentProtection.forEach(function(a){a.KID=N.getKID(a)}),b.isText=N.getIsTextTrack(b.mimeType),b}function j(a,b,c){a.id=b,a.index=100+parseInt(b.substring(2,3)),a.type=g.default.EMBEDDED_TEXT,a.codec="cea-608-in-SEI",a.isText=!0,a.isEmbedded=!0,a.lang=c,a.roles=["caption"]}function l(a){a.type=g.default.IMAGE}function n(a){var b=new m.default;return b.id=a.id,b.index=a.index,b.start=a.start,b.duration=a.duration,b.manifestInfo=p(a.mpd),b.isLast=1===a.mpd.manifest.Period_asArray.length||Math.abs(b.start+b.duration-b.manifestInfo.duration)<1,b}function p(a){var b=new o.default;return b.DVRWindowSize=a.timeShiftBufferDepth,b.loadedTime=a.manifest.loadedTime,b.availableFrom=a.availabilityStartTime,b.minBufferTime=a.manifest.minBufferTime,b.maxFragmentDuration=a.maxSegmentDuration,b.duration=N.getDuration(a.manifest),b.isDynamic=N.getIsDynamic(a.manifest),b}function r(a,b){if(0===O.length)return null;var c=O[0].mpd.manifest,d=N.getAdaptationForType(c,a.index,b,a);if(!d)return null;var f=e(a,O),g=f.id,i=N.getIndexForAdaptation(d,c,a.index);return P[g]=P[g]||N.getAdaptationsForPeriod(f),h(P[g][i])}function s(a,b,c){var d=O,f=c,i=[],k=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;if(f){t();var r=N.getMpd(f);d=N.getRegularPeriods(r)}else{if(!(O.length>0))return i;f=O[0].mpd.manifest}var s=e(a,d),u=s.id,v=N.getAdaptationsForType(f,a.index,b!==g.default.EMBEDDED_TEXT?b:g.default.VIDEO);if(!v)return i;for(P[u]=P[u]||N.getAdaptationsForPeriod(s),o=0,q=v.length;o<q;o++)if(k=v[o],n=N.getIndexForAdaptation(k,f,a.index),m=h(P[u][n]),b===g.default.EMBEDDED_TEXT){var w=m.accessibility.length;for(p=0;p<w;p++)if(m){var x=m.accessibility[p];if(0===x.indexOf("cea-608:")){var y=x.substring(8),z=y.split(";");if("CC"===z[0].substring(0,2))for(p=0;p<z.length;p++)m||(m=h.call(this,P[u][n])),j(m,z[p].substring(0,3),z[p].substring(4)),i.push(m),m=null;else for(p=0;p<z.length;p++)m||(m=h.call(this,P[u][n])),j(m,"CC"+(p+1),z[p]),i.push(m),m=null}else 0===x.indexOf("cea-608")&&(j(m,g.default.CC1,"eng"),i.push(m),m=null)}}else b===g.default.IMAGE?(l(m),i.push(m),m=null):m&&i.push(m);return i}function t(){if(!N||!N.hasOwnProperty("getMpd")||!N.hasOwnProperty("getRegularPeriods"))throw new Error("setConfig function has to be called previously")}function v(a){if(!a)return null;t();var b=N.getMpd(a);O=N.getRegularPeriods(b),P={}}function w(a,b){var c=[],d=O;if(a){t();var e=N.getMpd(a);d=N.getRegularPeriods(e)}b||(b=d.length);for(var f=0;f<b;f++)c.push(n(d[f]));return c}function x(a){if(!(a&&a.hasOwnProperty("getRepresentationController")&&a.hasOwnProperty("getIndexHandler")&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getType")&&a.hasOwnProperty("getStreamInfo")))throw new Error("streamProcessor parameter is missing or malformed!")}function y(a){if(!a||!a.hasOwnProperty("getRepresentationForQuality")||!a.hasOwnProperty("getCurrentRepresentation"))throw new Error("representationController parameter is missing or malformed!")}function z(a){if(null===a||isNaN(a)||a%1!=0)throw new Error("quality argument is not an integer")}function A(a,b){var c=void 0,d=void 0,e=void 0;return x(a),z(b),c=a.getRepresentationController(),e=a.getIndexHandler(),d=c?c.getRepresentationForQuality(b):null,e?e.getInitRequest(d):null}function B(a,b){var d=void 0,e=void 0,f=void 0;return x(a),d=a.getRepresentationController(),e=c(b,d),f=a.getIndexHandler(),f?f.getNextSegmentRequest(e):null}function C(a,b,d,e){var f=void 0,g=void 0,h=void 0;return x(a),f=a.getRepresentationController(),g=c(b,f),h=a.getIndexHandler(),h?h.getSegmentRequestForTime(g,d,e):null}function D(a){x(a);var b=a.getIndexHandler();return b?b.getCurrentTime():NaN}function E(a,b){x(a);var c=a.getIndexHandler();c&&c.setCurrentTime(b)}function F(a){x(a);var b=a.getIndexHandler();b&&b.resetIndex()}function G(a){x(a);var b=e(a.getStreamInfo(),O),c=a.getMediaInfo(),f=d(c),g=a.getType(),h=void 0,i=void 0;h=c?c.id:null,O.length>0&&(i=h?N.getAdaptationForId(h,O[0].mpd.manifest,b.index):N.getAdaptationForIndex(c.index,O[0].mpd.manifest,b.index),a.getRepresentationController().updateData(i,f,g))}function H(a,b){y(a),z(b);var c=a.getRepresentationForQuality(b);return c?f(c):null}function I(a){y(a);var b=a.getCurrentRepresentation();return b?f(b):null}function J(a,b,c){if(!a||!b)return null;var d=new q.default,e=a.scheme_id_uri,f=a.value,g=a.timescale,h=a.presentation_time_delta,i=a.event_duration,j=a.id,k=a.message_data,l=c*g+h;return b[e]?(d.eventStream=b[e],d.eventStream.value=f,d.eventStream.timescale=g,d.duration=i,d.id=j,d.presentationTime=l,d.messageData=k,d.presentationTimeDelta=h,d):null}function K(a,b){var f=[];if(0===O.length)return f;var g=O[0].mpd.manifest;return a instanceof m.default?f=N.getEventsForPeriod(e(a,O)):a instanceof k.default?f=N.getEventStreamForAdaptationSet(g,d(a)):a instanceof i.default&&(f=N.getEventStreamForRepresentation(g,c(a,b.getRepresentationController()))),f}function L(){O=[],P={}}var M=void 0,N=void 0,O=void 0,P=void 0;return M={convertDataToRepresentationInfo:f,getDataForMedia:d,getStreamsInfo:w,getMediaInfoForType:r,getAllMediaInfoForType:s,getCurrentRepresentationInfo:I,getRepresentationInfoForQuality:H,updateData:G,getInitRequest:A,getNextFragmentRequest:B,getFragmentRequestForTime:C,getIndexHandlerTime:D,setIndexHandlerTime:E,getEventsFor:K,getEvent:J,setConfig:b,updatePeriods:v,reset:L,resetIndexHandler:F},a(),M}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(222),i=d(h),j=a(220),k=d(j),l=a(223),m=d(l),n=a(219),o=d(n),p=a(82),q=d(p),r=a(48),s=d(r),t=a(2),u=d(t);e.__dashjs_factory_name="DashAdapter",c.default=s.default.getSingletonFactory(e),b.exports=c.default},{100:100,2:2,219:219,220:220,222:222,223:223,48:48,82:82}],54:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){Z=(0,v.default)(O).getInstance().getLogger(Y),o(),R=c(a.mimeType)?(0,G.default)(O).getInstance():(0,E.default)(O).getInstance(),R.setConfig({baseURLController:X,metricsModel:U,mediaPlayerModel:V,errHandler:W}),P.on(p.default.INITIALIZATION_LOADED,M,Y),P.on(p.default.SEGMENTS_LOADED,N,Y)}function c(a){return"webm"===a.split("/")[1].toLowerCase()}function d(b){ca=b;var c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;R.initialize(),da=(0,C.default)(O).create(a,c)}function e(){return ca}function f(a){aa=a}function h(){return aa}function j(){return ba}function l(){$=-1}function o(){l(),aa=0,ba=NaN,_=null,ca=null,da=null}function q(){o(),P.off(p.default.INITIALIZATION_LOADED,M,Y),P.off(p.default.SEGMENTS_LOADED,N,Y)}function s(a,b,c){var d=X.resolve(c.path),e=void 0,f=void 0;return d&&b!==d.url&&Q.isRelative(b)?(e=d.url,f=d.serviceLocation,b&&(e=Q.resolve(b,e))):e=b,!Q.isRelative(e)&&(a.url=e,a.serviceLocation=f,!0)}function t(a,b){var c=new k.default,d=a.adaptation.period,e=d.start,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(c.mediaType=b,c.type=n.HTTPRequest.INIT_SEGMENT_TYPE,c.range=a.range,c.availabilityStartTime=S.calcAvailabilityStartTimeFromPresentationTime(e,d.mpd,f),c.availabilityEndTime=S.calcAvailabilityEndTimeFromPresentationTime(e+d.duration,d.mpd,f),c.quality=a.index,c.mediaInfo=ca?ca.getMediaInfo():null,c.representationId=a.id,s(c,a.initialization,a))return c}function u(a){return a?t(a,ca?ca.getType():null):null}function w(a){var b=!1,c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(c||$!==a.availableSegmentsNumber){var d=(0,A.getSegmentByIndex)($,a);if(d){var e=parseFloat((d.presentationStartTime-a.adaptation.period.start).toFixed(5)),f=a.adaptation.period.duration;Z.debug(a.segmentInfoType+": "+e+" / "+f),b=(a.segmentInfoType!==i.default.SEGMENT_TIMELINE||!c)&&e>=f}else Z.debug("isMediaFinished - no segment found")}else b=!0;return b}function y(a){da.getSegments(a,_,$,B)}function B(a,b){var c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(a.segments=b,b&&b.length>0&&(ba=isNaN(ba)?b[0].presentationStartTime:Math.min(b[0].presentationStartTime,ba),c)){var d=b[b.length-1],e=d.presentationStartTime,f=U.getMetricsFor(g.default.STREAM);S.setExpectedLiveEdge(e),U.updateManifestUpdateInfo(T.getCurrentManifestUpdate(f),{presentationStartTime:e})}}function D(a){if(!a)throw new Error("no representation");a.segments=null,y(a)}function F(a,b){var c=z.default.hasInitialization(a),d=z.default.hasSegments(a),e=ca?ca.getType():null,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null,g=void 0;if(a.segmentDuration||a.segments||D(a),a.segmentAvailabilityRange=S.calcSegmentAvailabilityRange(a,f),a.segmentAvailabilityRange.end<a.segmentAvailabilityRange.start&&!a.useCalculatedLiveEdgeTime)return g=new m.default(H,"no segments are available yet",{availabilityDelay:a.segmentAvailabilityRange.start-a.segmentAvailabilityRange.end}),void P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:a,error:g});b||l(),a.segmentDuration&&D(a),c||R.loadInitialization(a),d||R.loadSegments(a,e,a.indexRange),c&&d&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:a})}function I(a,b,c){var d=b.segments,e=d?d.length:null,f=-1,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0;if(d&&e>0)for(c=void 0===c||null===c?V.getSegmentOverlapToleranceTime():c,k=0;k<e;k++)if(h=d[k],i=h.presentationStartTime,j=h.duration,g=void 0===c||null===c?j/2:c,a+g>=i&&a-g<i+j){f=h.availabilityIdx;break}return f}function J(a){if(null===a||void 0===a)return null;var b=new k.default,c=a.representation,d=c.adaptation.period.mpd.manifest.Period_asArray[c.adaptation.period.index].AdaptationSet_asArray[c.adaptation.index].Representation_asArray[c.index].bandwidth,e=a.media,f=ca?ca.getType():null;return e=(0,A.replaceTokenForTemplate)(e,"Number",a.replacementNumber),e=(0,A.replaceTokenForTemplate)(e,"Time",a.replacementTime),e=(0,A.replaceTokenForTemplate)(e,"Bandwidth",d),e=(0,A.replaceIDForTemplate)(e,c.id),e=(0,A.unescapeDollarsInTemplate)(e),b.mediaType=f,b.type=n.HTTPRequest.MEDIA_SEGMENT_TYPE,b.range=a.mediaRange,b.startTime=a.presentationStartTime,b.duration=a.duration,b.timescale=c.timescale,b.availabilityStartTime=a.availabilityStartTime,b.availabilityEndTime=a.availabilityEndTime,b.wallStartTime=a.wallStartTime,b.quality=c.index,b.index=a.availabilityIdx,b.mediaInfo=ca.getMediaInfo(),b.adaptationIndex=c.adaptation.index,b.representationId=c.id,s(b,e,c)?b:void 0}function K(a,b,c){var d=void 0,e=void 0,f=void 0;if(!a)return null;var g=ca?ca.getType():null,h=ca?ca.getStreamInfo().manifestInfo.isDynamic:null,j=$,l=!!c&&c.keepIdx,m=c?c.timeThreshold:null,n=!(!c||!c.ignoreIsFinished);return _!==b&&(_=b,Z.debug("Getting the request for "+g+" time : "+b)),y(a),$=I(b,a,m),$<0&&(y(a),$=I(b,a,m)),$>0&&Z.debug("Index for "+g+" time "+b+" is "+$),f=!n&&w(a),f?(d=new k.default,d.action=k.default.ACTION_COMPLETE,d.index=$,d.mediaType=g,d.mediaInfo=ca.getMediaInfo(),Z.debug("Signal complete in getSegmentRequestForTime -",g)):(e=(0,A.getSegmentByIndex)($,a),d=J(e)),l&&j>=0&&($=a.segmentInfoType===i.default.SEGMENT_TIMELINE&&h?$:j),d}function L(a){var b=void 0,c=void 0,d=void 0;if(!a||-1===$)return null;var e=ca?ca.getType():null,f=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;return _=null,$++,Z.debug("Getting the next request at index: "+$+", type: "+e),!(0,A.getSegmentByIndex)($,a)&&f?(Z.debug("No segment found at index: "+$+". Wait for next loop"),y(a),$--,null):(d=w(a),d?(b=new k.default,b.action=k.default.ACTION_COMPLETE,b.index=$,b.mediaType=e,b.mediaInfo=ca.getMediaInfo(),Z.debug("Signal complete -",e)):(y(a),c=(0,A.getSegmentByIndex)($,a),b=J(c),!c&&f&&$--),b)}function M(a){var b=a.representation;b.segments&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:b})}function N(a){var b=ca?ca.getType():null,c=ca?ca.getStreamInfo().manifestInfo.isDynamic:null;if(!a.error&&b===a.mediaType){var d=a.segments,e=a.representation,f=[],g=0,h=void 0,i=void 0,j=void 0,k=void 0;for(h=0,i=d.length;h<i;h++)j=d[h],k=(0,A.getTimeBasedSegment)(S,c,e,j.startTime,j.duration,j.timescale,j.media,j.mediaRange,g),f.push(k),k=null,g++;e.segmentAvailabilityRange={start:f[0].presentationStartTime,end:f[i-1].presentationStartTime},e.availableSegmentsNumber=i,B(e,f),z.default.hasInitialization(e)&&P.trigger(p.default.REPRESENTATION_UPDATED,{sender:this,representation:e})}}a=a||{};var O=this.context,P=(0,r.default)(O).getInstance(),Q=(0,x.default)(O).getInstance(),R=void 0,S=a.timelineConverter,T=a.dashMetrics,U=a.metricsModel,V=a.mediaPlayerModel,W=a.errHandler,X=a.baseURLController,Y=void 0,Z=void 0,$=void 0,_=void 0,aa=void 0,ba=void 0,ca=void 0,da=void 0;return Y={initialize:d,getStreamProcessor:e,getInitRequest:u,getSegmentRequestForTime:K,getNextSegmentRequest:L,updateRepresentation:F,updateSegmentList:D,setCurrentTime:f,getCurrentTime:h,getEarliestTime:j,reset:q,resetIndex:l},b(),Y}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(58),i=d(h),j=a(215),k=d(j),l=a(213),m=d(l),n=a(233),o=a(51),p=d(o),q=a(47),r=d(q),s=a(48),t=d(s),u=a(46),v=d(u),w=a(208),x=d(w),y=a(86),z=d(y),A=a(76),B=a(75),C=d(B),D=a(56),E=d(D),F=a(57),G=d(F),H=1;e.__dashjs_factory_name="DashHandler";var I=t.default.getClassFactory(e);I.SEGMENTS_UNAVAILABLE_ERROR_CODE=H,t.default.updateClassFactory(e.__dashjs_factory_name,I),c.default=I,b.exports=c.default},{100:100,208:208,213:213,215:215,233:233,46:46,47:47,48:48,51:51,56:56,57:57,58:58,75:75,76:76,86:86}],55:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=void 0;return c=w(A.getValue().Period_asArray[b],a),null===c?null:c.bandwidth}function c(a,b){return v(A.getValue().Period_asArray[b],a)}function d(a,b){var c=A.getValue();return c?y(c.Period_asArray[b],a):-1}function e(a){return n(a,j.default.TRACK_SWITCH)}function g(a){return n(a,j.default.BUFFER_LEVEL)}function h(a){var b=g(a);return b?l.default.round10(b.level/1e3,-3):0}function i(a){return a?a.RequestsQueue:null}function k(a){if(!a)return null;var b=a.HttpList,c=null,d=void 0,e=void 0;if(!b||b.length<=0)return null;for(d=b.length,e=d-1;e>=0;){if(b[e].responsecode){c=b[e];break}e--}return c}function m(a){return a&&a.HttpList?a.HttpList:[]}function n(a,b){if(!a)return null;var c=a[b];if(!c)return null;var d=c.length;return d<=0?null:c[d-1]}function o(a){return n(a,j.default.DROPPED_FRAMES)}function p(a){return n(a,j.default.SCHEDULING_INFO)}function q(a){return n(a,j.default.MANIFEST_UPDATE)}function r(a){return n(a,j.default.DVR_INFO)}function s(a,b){var c={},d=void 0,e=void 0,g=void 0;for(d=m(a),g=d.length-1;g>=0;g--)if(e=d[g],e.type===f.HTTPRequest.MPD_TYPE){c=u(e._responseHeaders);break}return void 0===c[b]?null:c[b]}function t(a,b){var c={},d=k(a);return d&&(c=u(d._responseHeaders)),void 0===c[b]?null:c[b]}function u(a){var b={};if(!a)return b;for(var c=a.trim().split("\r\n"),d=0,e=c.length;d<e;d++){var f=c[d],g=f.indexOf(": ");g>0&&(b[f.substring(0,g)]=f.substring(g+2))}return b}function v(a,b){var c=w(a,b,!0);return null!==c?c:-1}function w(a,b,c){var d=void 0,e=void 0,f=void 0,g=void 0,h=void 0,i=void 0;if(a)for(e=a.AdaptationSet_asArray,h=0;h<e.length;h+=1)for(d=e[h],g=d.Representation_asArray,i=0;i<g.length;i+=1)if(f=g[i],b===f.id)return c?i:f;return null}function x(a,b){return z.getIsTypeOf(a,b)}function y(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;if(!a||!b)return-1;for(d=a.AdaptationSet_asArray,f=0;f<d.length;f+=1)if(c=d[f],e=c.Representation_asArray,x(c,b))return e.length;return-1}a=a||{};var z=a.dashManifestModel,A=a.manifestModel;return{getBandwidthForRepresentation:b,getIndexForRepresentation:c,getMaxIndexForBufferType:d,getCurrentRepresentationSwitch:e,getLatestBufferLevelVO:g,getCurrentBufferLevel:h,getCurrentHttpRequest:k,getHttpRequests:m,getCurrentDroppedFrames:o,getCurrentSchedulingInfo:p,getCurrentDVRInfo:r,getCurrentManifestUpdate:q,getLatestFragmentRequestHeaderValueByID:t,getLatestMPDRequestHeaderValueByID:s,getRequestsQueue:i}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(233),g=a(48),h=d(g),i=a(101),j=d(i),k=a(74),l=d(k);e.__dashjs_factory_name="DashMetrics",c.default=h.default.getSingletonFactory(e),b.exports=c.default},{101:101,233:233,48:48,74:74}],56:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){w=(0,u.default)(r).getInstance().getLogger(t)}function b(){A=(0,q.default)(r).getInstance(),B=(0,g.default)(r).getInstance(),E=(0,z.default)(r).create({errHandler:y,metricsModel:C,mediaPlayerModel:D,requestModifier:B})}function c(a){a.baseURLController&&(F=a.baseURLController),a.metricsModel&&(C=a.metricsModel),a.mediaPlayerModel&&(D=a.mediaPlayerModel),a.errHandler&&(y=a.errHandler)}function d(){if(!F||!F.hasOwnProperty("resolve"))throw new Error("setConfig function has to be called previously")}function e(a,b){d();var c=null,f=null,g=F.resolve(a.path),h=b||{init:!0,url:g?g.url:void 0,range:{start:0,end:1500},searching:!1,bytesLoaded:0,bytesToLoad:1500};w.debug("Start searching for initialization.");var i=n(h),j=function(b){h.bytesLoaded=h.range.end,f=A.parse(b),c=l(f),c?(a.range=c,s.trigger(m.default.INITIALIZATION_LOADED,{representation:a})):(h.range.end=h.bytesLoaded+h.bytesToLoad,e(a,h))},k=function(){s.trigger(m.default.INITIALIZATION_LOADED,{representation:a})};E.load({request:i,success:j,error:k}),w.debug("Perform init search: "+h.url)}function f(a,b,c,e,g){if(d(),c&&(void 0===c.start||void 0===c.end)){var h=c?c.toString().split("-"):null;c=h?{start:parseFloat(h[0]),end:parseFloat(h[1])}:null}g=g||p;var i=null,k=null,l=!!c,m=F.resolve(a.path),o={init:!1,url:m?m.url:void 0,range:l?c:{start:0,end:1500},searching:!l,bytesLoaded:e?e.bytesLoaded:0,bytesToLoad:1500},q=n(o),r=function(c){var d=o.bytesToLoad,e=c.byteLength;if(o.bytesLoaded=o.range.end-o.range.start,i=A.parse(c),(k=i.getBox("sidx"))&&k.isComplete){var h=k.references,l=void 0,m=void 0;null!==h&&void 0!==h&&h.length>0&&(l=1===h[0].reference_type),l?function(){w.debug("Initiate multiple SIDX load."),o.range.end=o.range.start+k.size;var c=void 0,d=void 0,e=void 0,i=void 0,j=void 0,l=[],m=0,n=(k.offset||o.range.start)+k.size,p=function(c){c?(l=l.concat(c),++m>=d&&g(l,a,b)):g(null,a,b)};for(c=0,d=h.length;c<d;c++)e=n,i=n+h[c].referenced_size-1,n+=h[c].referenced_size,j={start:e,end:i},f(a,null,j,o,p)}():(w.debug("Parsing segments from SIDX."),m=j(k,o),g(m,a,b))}else{if(k)o.range.start=k.offset||o.range.start,o.range.end=o.range.start+(k.size||d);else{if(e<o.bytesLoaded)return void g(null,a,b);var n=i.getLastBox();n&&n.size?(o.range.start=n.offset+n.size,o.range.end=o.range.start+d):o.range.end+=d}f(a,b,o.range,o,g)}},s=function(){g(null,a,b)};E.load({request:q,success:r,error:s}),w.debug("Perform SIDX load: "+o.url)}function h(){E.abort(),E=null,y=null,A=null,B=null}function j(a,b){for(var c=a.references,d=c.length,e=a.timescale,f=a.earliest_presentation_time,g=b.range.start+a.offset+a.first_offset+a.size,h=[],j=void 0,k=void 0,l=void 0,m=void 0,n=0;n<d;n++)l=c[n].subsegment_duration,m=c[n].referenced_size,j=new i.default,j.duration=l,j.startTime=f,j.timescale=e,k=g+m-1,j.mediaRange=g+"-"+k,h.push(j),f+=l,g+=m;return h}function l(a){var b=a.getBox("ftyp"),c=a.getBox("moov"),d=null,e=void 0,f=void 0;return w.debug("Searching for initialization."),c&&c.isComplete&&(e=b?b.offset:c.offset,f=c.offset+c.size-1,d=e+"-"+f,w.debug("Found the initialization.  Range: "+d)),d}function n(a){if(a.url){var b=new x.default;return b.type=a.init?v.HTTPRequest.INIT_SEGMENT_TYPE:v.HTTPRequest.MEDIA_SEGMENT_TYPE,b.url=a.url,b.range=a.range.start+"-"+a.range.end,b}}function p(a,b,c){a?s.trigger(m.default.SEGMENTS_LOADED,{segments:a,
24representation:b,mediaType:c}):s.trigger(m.default.SEGMENTS_LOADED,{segments:null,representation:b,mediaType:c,error:new k.default(null,"error loading segments",null)})}var r=this.context,s=(0,o.default)(r).getInstance(),t=void 0,w=void 0,y=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0;return t={setConfig:c,initialize:b,loadInitialization:e,loadSegments:f,reset:h},a(),t}Object.defineProperty(c,"__esModule",{value:!0});var f=a(206),g=d(f),h=a(87),i=d(h),j=a(213),k=d(j),l=a(51),m=d(l),n=a(47),o=d(n),p=a(196),q=d(p),r=a(48),s=d(r),t=a(46),u=d(t),v=a(233),w=a(215),x=d(w),y=a(147),z=d(y);e.__dashjs_factory_name="SegmentBaseLoader",c.default=s.default.getSingletonFactory(e),b.exports=c.default},{147:147,196:196,206:206,213:213,215:215,233:233,46:46,47:47,48:48,51:51,87:87}],57:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){y=(0,o.default)(r).getInstance().getLogger(w),z={EBML:{tag:440786851,required:!0},Segment:{tag:408125543,required:!0,SeekHead:{tag:290298740,required:!0},Info:{tag:357149030,required:!0,TimecodeScale:{tag:2807729,required:!0,parse:"getMatroskaUint"},Duration:{tag:17545,required:!0,parse:"getMatroskaFloat"}},Tracks:{tag:374648427,required:!0},Cues:{tag:475249515,required:!0,CuePoint:{tag:187,required:!0,CueTime:{tag:179,required:!0,parse:"getMatroskaUint"},CueTrackPositions:{tag:183,required:!0,CueTrack:{tag:247,required:!0,parse:"getMatroskaUint"},CueClusterPosition:{tag:241,required:!0,parse:"getMatroskaUint"}}}}},Void:{tag:236,required:!0}}}function b(){B=(0,q.default)(r).getInstance(),E=(0,x.default)(r).create({errHandler:A,metricsModel:C,mediaPlayerModel:D,requestModifier:B})}function c(a){if(!(a.baseURLController&&a.metricsModel&&a.mediaPlayerModel&&a.errHandler))throw new Error("Missing config parameter(s)");F=a.baseURLController,C=a.metricsModel,D=a.mediaPlayerModel,A=a.errHandler}function d(a){var b=[],c=void 0,d=void 0,e=(0,k.default)(r).create({data:a});for(e.consumeTagAndSize(z.Segment.Cues);e.moreData()&&e.consumeTagAndSize(z.Segment.Cues.CuePoint,!0);){for(c={},c.CueTime=e.parseTag(z.Segment.Cues.CuePoint.CueTime),c.CueTracks=[];e.moreData()&&e.consumeTag(z.Segment.Cues.CuePoint.CueTrackPositions,!0);){var f=e.getMatroskaCodedNum(),g=e.getPos();if(d={},d.Track=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueTrack),0===d.Track)throw new Error("Cue track cannot be 0");d.ClusterPosition=e.parseTag(z.Segment.Cues.CuePoint.CueTrackPositions.CueClusterPosition),c.CueTracks.push(d),e.setPos(g+f)}if(0===c.CueTracks.length)throw new Error("Mandatory cuetrack not found");b.push(c)}if(0===b.length)throw new Error("mandatory cuepoint not found");return b}function e(a,b,c,e){var f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0;for(g=d(a),h=[],j=0,k=g.length;j<k;j+=1)i=new s.default,f=0,f=j<g.length-1?g[j+1].CueTime-g[j].CueTime:e-g[j].CueTime,i.duration=f,i.startTime=g[j].CueTime,i.timescale=1e3,l=g[j].CueTracks[0].ClusterPosition+b,m=j<g.length-1?g[j+1].CueTracks[0].ClusterPosition+b-1:c-1,i.mediaRange=l+"-"+m,h.push(i);return y.debug("Parsed cues: "+h.length+" cues."),h}function f(a,b,c,d){var f=(0,k.default)(r).create({data:a}),g=void 0,h=void 0,i=c.split("-"),j=null,l={url:b,range:{start:parseFloat(i[0]),end:parseFloat(i[1])},request:j},m=void 0,o=void 0;for(y.debug("Parse EBML header: "+l.url),f.skipOverElement(z.EBML),f.consumeTag(z.Segment),m=f.getMatroskaCodedNum(),m+=f.getPos(),o=f.getPos();f.moreData()&&!f.consumeTagAndSize(z.Segment.Info,!0);)if(!(f.skipOverElement(z.Segment.SeekHead,!0)||f.skipOverElement(z.Segment.Tracks,!0)||f.skipOverElement(z.Segment.Cues,!0)||f.skipOverElement(z.Void,!0)))throw new Error("no valid top level element found");for(;void 0===g;){var p=f.getMatroskaCodedNum(!0),q=f.getMatroskaCodedNum();switch(p){case z.Segment.Info.Duration.tag:g=f[z.Segment.Info.Duration.parse](q);break;default:f.setPos(f.getPos()+q)}}j=n(l);var s=function(a){h=e(a,o,m,g),d(h)},t=function(){y.error("Download Error: Cues "+l.url),d(null)};E.load({request:j,success:s,error:t}),y.debug("Perform cues load: "+l.url+" bytes="+l.range.start+"-"+l.range.end)}function h(){if(!F||!F.hasOwnProperty("resolve"))throw new Error("setConfig function has to be called previously")}function j(a,b){h();var c=null,d=F.resolve(a.path),e=d?d.url:void 0,f=a.range.split("-"),i=b||{range:{start:parseFloat(f[0]),end:parseFloat(f[1])},request:c,url:e,init:!0};y.info("Start loading initialization."),c=n(i);var j=function(){u.trigger(g.default.INITIALIZATION_LOADED,{representation:a})},k=function(){u.trigger(g.default.INITIALIZATION_LOADED,{representation:a})};E.load({request:c,success:j,error:k}),y.debug("Perform init load: "+i.url)}function l(a,b,c,d){h();var e=null,g=F.resolve(a.path),i=g?g.url:void 0,j=8192,k={bytesLoaded:0,bytesToLoad:j,range:{start:0,end:j},request:e,url:i,init:!1};d=d||m,e=n(k),y.debug("Parsing ebml header");var l=function(e){f(e,i,c,function(c){d(c,a,b)})},o=function(){d(null,a,b)};E.load({request:e,success:l,error:o})}function m(a,b,c){a?u.trigger(g.default.SEGMENTS_LOADED,{segments:a,representation:b,mediaType:c}):u.trigger(g.default.SEGMENTS_LOADED,{segments:null,representation:b,mediaType:c,error:new Error(null,"error loading segments",null)})}function n(a){var b=new v.default;return b.type=a.init?t.HTTPRequest.INIT_SEGMENT_TYPE:t.HTTPRequest.MEDIA_SEGMENT_TYPE,b.url=a.url,b.range=a.range.start+"-"+a.range.end,b}function p(){A=null,B=null}var r=this.context,u=(0,i.default)(r).getInstance(),w=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0;return w={setConfig:c,initialize:b,loadInitialization:j,loadSegments:l,reset:p},a(),w}Object.defineProperty(c,"__esModule",{value:!0});var f=a(51),g=d(f),h=a(47),i=d(h),j=a(200),k=d(j),l=a(48),m=d(l),n=a(46),o=d(n),p=a(206),q=d(p),r=a(87),s=d(r),t=a(233),u=a(215),v=d(u),w=a(147),x=d(w);e.__dashjs_factory_name="WebmSegmentBaseLoader",c.default=m.default.getSingletonFactory(e),b.exports=c.default},{147:147,200:200,206:206,215:215,233:233,46:46,47:47,48:48,51:51,87:87}],58:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.BASE_URL="BaseURL",this.SEGMENT_BASE="SegmentBase",this.SEGMENT_TEMPLATE="SegmentTemplate",this.SEGMENT_LIST="SegmentList",this.SEGMENT_URL="SegmentURL",this.SEGMENT_TIMELINE="SegmentTimeline",this.SEGMENT_PROFILES="segmentProfiles",this.ADAPTATION_SET="AdaptationSet",this.REPRESENTATION="Representation",this.REPRESENTATION_INDEX="RepresentationIndex",this.SUB_REPRESENTATION="SubRepresentation",this.INITIALIZATION="Initialization",this.INITIALIZATION_MINUS="initialization",this.MPD="MPD",this.PERIOD="Period",this.ASSET_IDENTIFIER="AssetIdentifier",this.EVENT_STREAM="EventStream",this.ID="id",this.PROFILES="profiles",this.SERVICE_LOCATION="serviceLocation",this.RANGE="range",this.INDEX="index",this.MEDIA="media",this.BYTE_RANGE="byteRange",this.INDEX_RANGE="indexRange",this.MEDIA_RANGE="mediaRange",this.VALUE="value",this.CONTENT_TYPE="contentType",this.MIME_TYPE="mimeType",this.BITSTREAM_SWITCHING="BitstreamSwitching",this.BITSTREAM_SWITCHING_MINUS="bitstreamSwitching",this.CODECS="codecs",this.DEPENDENCY_ID="dependencyId",this.MEDIA_STREAM_STRUCTURE_ID="mediaStreamStructureId",this.METRICS="Metrics",this.METRICS_MINUS="metrics",this.REPORTING="Reporting",this.WIDTH="width",this.HEIGHT="height",this.SAR="sar",this.FRAMERATE="frameRate",this.AUDIO_SAMPLING_RATE="audioSamplingRate",this.MAXIMUM_SAP_PERIOD="maximumSAPPeriod",this.START_WITH_SAP="startWithSAP",this.MAX_PLAYOUT_RATE="maxPlayoutRate",this.CODING_DEPENDENCY="codingDependency",this.SCAN_TYPE="scanType",this.FRAME_PACKING="FramePacking",this.AUDIO_CHANNEL_CONFIGURATION="AudioChannelConfiguration",this.CONTENT_PROTECTION="ContentProtection",this.ESSENTIAL_PROPERTY="EssentialProperty",this.SUPPLEMENTAL_PROPERTY="SupplementalProperty",this.INBAND_EVENT_STREAM="InbandEventStream",this.ACCESSIBILITY="Accessibility",this.ROLE="Role",this.RATING="Rating",this.CONTENT_COMPONENT="ContentComponent",this.SUBSET="Subset",this.LANG="lang",this.VIEWPOINT="Viewpoint",this.ROLE_ASARRAY="Role_asArray",this.ACCESSIBILITY_ASARRAY="Accessibility_asArray",this.AUDIOCHANNELCONFIGURATION_ASARRAY="AudioChannelConfiguration_asArray",this.CONTENTPROTECTION_ASARRAY="ContentProtection_asArray",this.MAIN="main",this.DYNAMIC="dynamic",this.MEDIA_PRESENTATION_DURATION="mediaPresentationDuration",this.MINIMUM_UPDATE_PERIOD="minimumUpdatePeriod",this.CODEC_PRIVATE_DATA="codecPrivateData",this.BANDWITH="bandwidth",this.SOURCE_URL="sourceURL",this.TIMESCALE="timescale",this.DURATION="duration",this.START_NUMBER="startNumber",this.PRESENTATION_TIME_OFFSET="presentationTimeOffset",this.AVAILABILITY_START_TIME="availabilityStartTime",this.AVAILABILITY_END_TIME="availabilityEndTime",this.TIMESHIFT_BUFFER_DEPTH="timeShiftBufferDepth",this.MAX_SEGMENT_DURATION="maxSegmentDuration",this.PRESENTATION_TIME="presentationTime",this.MIN_BUFFER_TIME="minBufferTime",this.MAX_SUBSEGMENT_DURATION="maxSubsegmentDuration",this.START="start",this.AVAILABILITY_TIME_OFFSET="availabilityTimeOffset",this.AVAILABILITY_TIME_COMPLETE="availabilityTimeComplete",this.CENC_DEFAULT_KID="cenc:default_KID",this.DVB_PRIORITY="dvb:priority",this.DVB_WEIGHT="dvb:weight"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],59:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){l(),H.on(o.default.QUALITY_CHANGE_REQUESTED,D,I),H.on(o.default.REPRESENTATION_UPDATED,A,I),H.on(o.default.WALLCLOCK_TIME_UPDATED,B,I),H.on(o.default.BUFFER_LEVEL_UPDATED,C,I),H.on(o.default.MANIFEST_VALIDITY_CHANGED,E,I)}function b(a){a.abrController&&(O=a.abrController),a.domStorage&&(S=a.domStorage),a.metricsModel&&(R=a.metricsModel),a.dashMetrics&&(V=a.dashMetrics),a.dashManifestModel&&(U=a.dashManifestModel),a.playbackController&&(Q=a.playbackController),a.timelineConverter&&(T=a.timelineConverter),a.manifestModel&&(X=a.manifestModel),a.streamProcessor&&(W=a.streamProcessor)}function c(){P=W.getIndexHandler()}function d(){return W}function e(){return J}function f(){return K}function h(){return L}function j(){return N}function l(){J=null,K=-1,L=!0,M=[],O=null,Q=null,R=null,S=null,T=null,U=null,V=null}function n(){H.off(o.default.QUALITY_CHANGE_REQUESTED,D,I),H.off(o.default.REPRESENTATION_UPDATED,A,I),H.off(o.default.WALLCLOCK_TIME_UPDATED,B,I),H.off(o.default.BUFFER_LEVEL_UPDATED,C,I),H.off(o.default.MANIFEST_VALIDITY_CHANGED,E,I),l()}function p(a,b,c){var d=W.getStreamInfo(),e=O.getTopQualityIndexFor(c,d.id),f=O.getMinAllowedIndexFor(c),h=void 0,i=void 0,j=null;if(L=!0,H.trigger(o.default.DATA_UPDATE_STARTED,{sender:this}),M=w(b),null!==J&&J.id==a.id||c===g.default.FRAGMENTED_TEXT?h=O.getQualityFor(c,d):(i=O.getThroughputHistory().getAverageThroughput(c),j=i||O.getInitialBitrateFor(c,d),h=O.getQualityForBitrate(W.getMediaInfo(),j)),void 0!==f&&h<f&&(h=f),h>e&&(h=e),N=t(h),J=a,c!==g.default.VIDEO&&c!==g.default.AUDIO&&c!==g.default.FRAGMENTED_TEXT)return L=!1,void H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N});for(var k=0;k<M.length;k++)P.updateRepresentation(M[k],!0)}function q(){var a=new Date,b=j(),c=1e3*Q.getTime();R.addRepresentationSwitch(b.adaptation.type,a,c,b.id)}function r(){var a=W.getStreamInfo(),b=a?a.manifestInfo:null,c=b?b.isDynamic:null,d=T.calcSegmentAvailabilityRange(N,c);R.addDVRInfo(W.getType(),Q.getTime(),b,d)}function t(a){return M[a]}function u(a){return M.indexOf(a)}function v(){for(var a=0,b=M.length;a<b;a++){var c=M[a].segmentInfoType;if(null===M[a].segmentAvailabilityRange||!s.default.hasInitialization(M[a])||(c===i.default.SEGMENT_BASE||c===i.default.BASE_URL)&&!M[a].segments)return!1}return!0}function w(a){return K=U.getIndexForAdaptation(J,a.period.mpd.manifest,a.period.index),U.getRepresentationsForAdaptation(a)}function x(a){for(var b=void 0,c=0,d=M.length;c<d;c++)b=M[c],b.segmentAvailabilityRange=T.calcSegmentAvailabilityRange(b,a)}function y(){M.forEach(function(a){a.segmentAvailabilityRange=null})}function z(a){var b=a,c=function(){if(!h()){L=!0,H.trigger(o.default.DATA_UPDATE_STARTED,{sender:I}),y();for(var a=0;a<M.length;a++)P.updateRepresentation(M[a],!0)}};L=!1,H.trigger(o.default.AST_IN_FUTURE,{delay:b}),setTimeout(c,b)}function A(a){if(a.sender.getStreamProcessor()===W&&h()){var b=a.representation,c=R.getMetricsFor(g.default.STREAM),d=R.getMetricsFor(j().adaptation.type),e=V.getCurrentManifestUpdate(c),f=!1,l=0,m=void 0,n=void 0,p=void 0;if(b.adaptation.period.mpd.manifest.type===i.default.DYNAMIC&&!b.adaptation.period.mpd.manifest.ignorePostponeTimePeriod){var s=b.segmentAvailabilityRange.end-b.segmentAvailabilityRange.start;l=1e3*(Q.computeLiveDelay(N.segmentDuration,W.getStreamInfo().manifestInfo.DVRWindowSize)-s)}if(l>0)return r(),z(l),n=new k.default(F,"Segments update failed",null),void H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N,error:n});if(e){for(var t=0;t<e.representationInfo.length;t++)if(m=e.representationInfo[t],m.index===b.index&&m.mediaType===W.getType()){f=!0;break}f||R.addManifestUpdateRepresentationInfo(e,b.id,b.index,b.adaptation.period.index,W.getType(),b.presentationTimeOffset,b.startNumber,b.segmentInfoType)}v()&&(L=!1,O.setPlaybackQuality(W.getType(),W.getStreamInfo(),u(N)),R.updateManifestUpdateInfo(e,{latency:N.segmentAvailabilityRange.end-Q.getTime()}),p=V.getCurrentRepresentationSwitch(d),p||q(),H.trigger(o.default.DATA_UPDATE_COMPLETED,{sender:this,data:J,currentRepresentation:N}))}}function B(a){a.isDynamic&&x(a.isDynamic)}function C(a){if(a.sender.getStreamProcessor()===W){X.getValue().doNotUpdateDVRWindowOnBufferUpdated||r()}}function D(a){if(a.mediaType===W.getType()&&W.getStreamInfo().id===a.streamInfo.id&&a.oldQuality!==a.newQuality){N=t(a.newQuality);var b=O.getThroughputHistory().getAverageThroughput(a.mediaType);isNaN(b)||S.setSavedBitrateSettings(a.mediaType,b),q()}}function E(a){if(a.newDuration){var b=j();if(b&&b.adaptation.period){b.adaptation.period.duration=a.newDuration}}}var F=1,G=this.context,H=(0,m.default)(G).getInstance(),I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0,W=void 0,X=void 0;return I={initialize:c,setConfig:b,getData:e,getDataIndex:f,isUpdating:h,updateData:p,getStreamProcessor:d,getCurrentRepresentation:j,getRepresentationForQuality:t,reset:n},a(),I}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(58),i=d(h),j=a(213),k=d(j),l=a(47),m=d(l),n=a(51),o=d(n),p=a(48),q=d(p),r=a(86),s=d(r);e.__dashjs_factory_name="RepresentationController",c.default=q.default.getClassFactory(e),b.exports=c.default},{100:100,213:213,47:47,48:48,51:51,58:58,86:86}],60:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){na=(0,G.default)(oa).getInstance().getLogger(ma)}function c(a,b){var c=void 0,d=void 0,e=void 0,f=void 0,h=void 0,j=void 0,k=!1,l=!1;if(!a)throw new Error("adaptation is not defined");if(!b)throw new Error("type is not defined");if(a.hasOwnProperty("ContentComponent_asArray")&&(f=a.ContentComponent_asArray),h=b!==g.default.TEXT?new RegExp(b):new RegExp("(vtt|ttml)"),a.Representation_asArray&&a.Representation_asArray.length&&a.Representation_asArray.length>0&&a.Representation_asArray[0].hasOwnProperty(i.default.CODECS)&&(j=a.Representation_asArray[0].codecs,0===j.search(g.default.STPP)||0===j.search(g.default.WVTT)))return b===g.default.FRAGMENTED_TEXT;if(f){if(f.length>1)return b===g.default.MUXED;f[0]&&f[0].contentType===b&&(k=!0,l=!0)}if(a.hasOwnProperty(i.default.MIME_TYPE)&&(k=h.test(a.mimeType),l=!0),!l)for(c=0,d=a.Representation_asArray&&a.Representation_asArray.length?a.Representation_asArray.length:0;!l&&c<d;)e=a.Representation_asArray[c],e.hasOwnProperty(i.default.MIME_TYPE)&&(k=h.test(e.mimeType),l=!0),c++;return k}function d(a){return c(a,g.default.AUDIO)}function e(a){return c(a,g.default.VIDEO)}function f(a){return c(a,g.default.FRAGMENTED_TEXT)}function h(a){return c(a,g.default.TEXT)}function j(a){return c(a,g.default.MUXED)}function l(a){return c(a,g.default.IMAGE)}function n(a){return"text/vtt"===a||"application/ttml+xml"===a}function p(a){var b="";return a&&a.hasOwnProperty(i.default.LANG)&&(b=a.lang.replace(/[^A-Za-z0-9-]/g,"")),b}function r(a){return a&&a.hasOwnProperty(i.default.VIEWPOINT)?a.Viewpoint:null}function t(a){return a&&a.hasOwnProperty(i.default.ROLE_ASARRAY)?a.Role_asArray:[]}function v(a){return a&&a.hasOwnProperty(i.default.ACCESSIBILITY_ASARRAY)?a.Accessibility_asArray:[]}function x(a){return a&&a.hasOwnProperty(i.default.AUDIOCHANNELCONFIGURATION_ASARRAY)?a.AudioChannelConfiguration_asArray:[]}function z(a){return t(a).filter(function(a){return a.value===i.default.MAIN})[0]}function B(){return function(a,b){return a.bandwidth-b.bandwidth}}function D(a){return a&&void 0!==a.Representation_asArray&&null!==a.Representation_asArray&&a.Representation_asArray.sort(B()),a}function E(a,b,c){var d=b&&b.Period_asArray&&ua(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:[],e=void 0,f=void 0;for(e=0,f=d.length;e<f;e++)if(d[e].hasOwnProperty(i.default.ID)&&d[e].id===a)return d[e];return null}function F(a,b,c){var d=b&&b.Period_asArray&&ua(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:null;return d&&ua(a)?d[a]:null}function H(a,b,c){var d=b&&b.Period_asArray&&ua(c)&&b.Period_asArray[c]?b.Period_asArray[c].AdaptationSet_asArray:[],e=d.length;if(a)for(var f=0;f<e;f++){var g=(0,A.default)(oa).getInstance();if(g.areEqual(d[f],a))return f}return-1}function I(a,b,d){var e=a&&a.Period_asArray&&ua(b)&&a.Period_asArray[b]?a.Period_asArray[b].AdaptationSet_asArray:[],f=void 0,g=void 0,h=[];for(f=0,g=e.length;f<g;f++)c(e[f],d)&&h.push(D(e[f]));return h}function J(a,b,c,d){var e=I(a,b,c);if(!e||0===e.length)return null;if(e.length>1&&d){var f=qa.getCurrentTrackFor(c,d),g=sa.getAllMediaInfoForType(d,c);if(f)for(var h=0,i=e.length;h<i;h++)if(qa.isTracksEqual(f,g[h]))return e[h];for(var h=0,i=e.length;h<i;h++)if(z(e[h]))return e[h]}return e[0]}function K(a,b,c){if(a&&a.Representation_asArray&&a.Representation_asArray.length>0){var d=ua(b)&&b>=0&&b<a.Representation_asArray.length?a.Representation_asArray[b]:a.Representation_asArray[0],e=d.mimeType+';codecs="'+d.codecs+'"';return c&&void 0!==d.width&&(e+=';width="'+d.width+'";height="'+d.height+'"'),e}return null}function L(a){return a&&a.Representation_asArray&&a.Representation_asArray.length>0?a.Representation_asArray[0].mimeType:null}function M(a){return a&&a.hasOwnProperty(i.default.CENC_DEFAULT_KID)?a[i.default.CENC_DEFAULT_KID]:null}function N(a){return a&&a.hasOwnProperty(i.default.CONTENTPROTECTION_ASARRAY)&&0!==a.ContentProtection_asArray.length?a.ContentProtection_asArray:null}function O(a){var b=!1;return a&&a.hasOwnProperty("type")&&(b=a.type===i.default.DYNAMIC),b}function P(a,b){var c=!1;return a&&a.profiles&&a.profiles.length>0&&(c=-1!==a.profiles.indexOf(b)),c}function Q(a){return P(a,ta)}function R(a){return a&&a.hasOwnProperty(i.default.MEDIA_PRESENTATION_DURATION)?a.mediaPresentationDuration:Number.MAX_SAFE_INTEGER||Number.MAX_VALUE}function S(a){return a&&a.bandwidth?a.bandwidth:NaN}function T(a){var b=arguments.length<=1||void 0===arguments[1]?0:arguments[1],c=NaN;return a&&a.hasOwnProperty(i.default.MINIMUM_UPDATE_PERIOD)&&(c=a.minimumUpdatePeriod),isNaN(c)?c:Math.max(c-b,1)}function U(a){return a&&a.Representation_asArray&&a.Representation_asArray.length?a.Representation_asArray.length:0}function V(a){return a&&a.Representation_asArray&&a.Representation_asArray.length?D(a).Representation_asArray.map(function(a){return{bandwidth:a.bandwidth,width:a.width||0,height:a.height||0,scanType:a.scanType||null}}):null}function W(a){return a&&a.EssentialProperty_asArray&&a.EssentialProperty_asArray.length?a.EssentialProperty_asArray.map(function(a){return{schemeIdUri:a.schemeIdUri,value:a.value}}):null}function X(a,b){return b&&b.Representation_asArray&&b.Representation_asArray.length>0&&ua(a)?b.Representation_asArray[a]:null}function Y(a){if(a&&a.period&&ua(a.period.index)){var b=a.period.mpd.manifest.Period_asArray[a.peri
24od.index];if(b&&b.AdaptationSet_asArray&&ua(a.index))return D(b.AdaptationSet_asArray[a.index])}}function Z(a){var b=a.S_asArray[a.S_asArray.length-1];return!b.hasOwnProperty("r")||b.r>=0}function $(a){var b=Y(a).Representation_asArray[0],c=void 0;return b.hasOwnProperty(i.default.SEGMENT_LIST)?(c=b.SegmentList,!c.hasOwnProperty(i.default.SEGMENT_TIMELINE)||Z(c.SegmentTimeline)):!(!b.hasOwnProperty(i.default.SEGMENT_TEMPLATE)||(c=b.SegmentTemplate,!c.hasOwnProperty(i.default.SEGMENT_TIMELINE)))&&Z(c.SegmentTimeline)}function _(a){var b=[],c=Y(a),d=void 0,e=void 0;if(a&&a.period&&ua(a.period.index)){var f=ka(a.period.mpd.manifest);f&&(e=f[0])}if(c&&c.Representation_asArray)for(var g=0,h=c.Representation_asArray.length;g<h;++g){var j=c.Representation_asArray[g],l=new k.default;if(l.index=g,l.adaptation=a,j.hasOwnProperty(i.default.ID)&&(l.id=j.id),j.hasOwnProperty(i.default.CODECS)&&(l.codecs=j.codecs),j.hasOwnProperty(i.default.CODEC_PRIVATE_DATA)&&(l.codecPrivateData=j.codecPrivateData),j.hasOwnProperty(i.default.BANDWITH)&&(l.bandwidth=j.bandwidth),j.hasOwnProperty(i.default.WIDTH)&&(l.width=j.width),j.hasOwnProperty(i.default.HEIGHT)&&(l.height=j.height),j.hasOwnProperty(i.default.SCAN_TYPE)&&(l.scanType=j.scanType),j.hasOwnProperty(i.default.MAX_PLAYOUT_RATE)&&(l.maxPlayoutRate=j.maxPlayoutRate),j.hasOwnProperty(i.default.SEGMENT_BASE)?(d=j.SegmentBase,l.segmentInfoType=i.default.SEGMENT_BASE):j.hasOwnProperty(i.default.SEGMENT_LIST)?(d=j.SegmentList,d.hasOwnProperty(i.default.SEGMENT_TIMELINE)?(l.segmentInfoType=i.default.SEGMENT_TIMELINE,l.useCalculatedLiveEdgeTime=Z(d.SegmentTimeline)):(l.segmentInfoType=i.default.SEGMENT_LIST,l.useCalculatedLiveEdgeTime=!0)):j.hasOwnProperty(i.default.SEGMENT_TEMPLATE)?(d=j.SegmentTemplate,d.hasOwnProperty(i.default.SEGMENT_TIMELINE)?(l.segmentInfoType=i.default.SEGMENT_TIMELINE,l.useCalculatedLiveEdgeTime=Z(d.SegmentTimeline)):l.segmentInfoType=i.default.SEGMENT_TEMPLATE,d.hasOwnProperty(i.default.INITIALIZATION_MINUS)&&(l.initialization=d.initialization.split("$Bandwidth$").join(j.bandwidth).split("$RepresentationID$").join(j.id))):l.segmentInfoType=i.default.BASE_URL,l.essentialProperties=W(j),d){if(d.hasOwnProperty(i.default.INITIALIZATION)){var m=d.Initialization;m.hasOwnProperty(i.default.SOURCE_URL)?l.initialization=m.sourceURL:m.hasOwnProperty(i.default.RANGE)&&(l.range=m.range)}else j.hasOwnProperty(i.default.MIME_TYPE)&&n(j.mimeType)&&(l.range=0);d.hasOwnProperty(i.default.TIMESCALE)&&(l.timescale=d.timescale),d.hasOwnProperty(i.default.DURATION)&&(l.segmentDuration=d.duration/l.timescale),d.hasOwnProperty(i.default.MEDIA)&&(l.media=d.media),d.hasOwnProperty(i.default.START_NUMBER)&&(l.startNumber=d.startNumber),d.hasOwnProperty(i.default.INDEX_RANGE)&&(l.indexRange=d.indexRange),d.hasOwnProperty(i.default.PRESENTATION_TIME_OFFSET)&&(l.presentationTimeOffset=d.presentationTimeOffset/l.timescale),d.hasOwnProperty(i.default.AVAILABILITY_TIME_OFFSET)?l.availabilityTimeOffset=d.availabilityTimeOffset:e&&void 0!==e.availabilityTimeOffset&&(l.availabilityTimeOffset=e.availabilityTimeOffset),d.hasOwnProperty(i.default.AVAILABILITY_TIME_COMPLETE)?l.availabilityTimeComplete="false"!==d.availabilityTimeComplete:e&&void 0!==e.availabilityTimeComplete&&(l.availabilityTimeComplete=e.availabilityTimeComplete)}l.MSETimeOffset=ra.calcMSETimeOffset(l),l.path=[a.period.index,a.index,g],b.push(l)}return b}function aa(a){var b=a&&ua(a.index)?a.mpd.manifest.Period_asArray[a.index]:null,c=[],h=void 0,k=void 0,n=void 0;if(b&&b.AdaptationSet_asArray)for(n=0;n<b.AdaptationSet_asArray.length;n++)k=b.AdaptationSet_asArray[n],h=new m.default,k.hasOwnProperty(i.default.ID)&&(h.id=k.id),h.index=n,h.period=a,j(k)?h.type=g.default.MUXED:d(k)?h.type=g.default.AUDIO:e(k)?h.type=g.default.VIDEO:f(k)?h.type=g.default.FRAGMENTED_TEXT:l(k)?h.type=g.default.IMAGE:h.type=g.default.TEXT,c.push(h);return c}function ba(a){var b=!!a&&O(a.manifest),c=[],d=null,e=null,f=null,g=null,h=void 0,j=void 0;for(j=0,h=a&&a.manifest&&a.manifest.Period_asArray?a.manifest.Period_asArray.length:0;j<h;j++)e=a.manifest.Period_asArray[j],e.hasOwnProperty(i.default.START)?(g=new o.default,g.start=e.start):null!==d&&d.hasOwnProperty(i.default.DURATION)&&null!==f?(g=ne
24w o.default,g.start=parseFloat((f.start+f.duration).toFixed(5))):0!==j||b||(g=new o.default,g.start=0),null!==f&&isNaN(f.duration)&&(null!==g?f.duration=parseFloat((g.start-f.start).toFixed(5)):na.warn("First period duration could not be calculated because lack of start and duration period properties. This will cause timing issues during playback")),null!==g&&(g.id=ca(e,j),g.index=j,g.mpd=a,e.hasOwnProperty(i.default.DURATION)&&(g.duration=e.duration),c.push(g),d=e,f=g),e=null,g=null;return 0===c.length?c:(null!==f&&isNaN(f.duration)&&(f.duration=parseFloat((ea(f)-f.start).toFixed(5))),c)}function ca(a,b){if(!a)throw new Error("Period cannot be null or undefined");var c=o.default.DEFAULT_ID+"_"+b;return a.hasOwnProperty(i.default.ID)&&a.id.length>0&&"__proto__"!==a.id&&(c=a.id),c}function da(a){var b=new q.default;return a&&(b.manifest=a,a.hasOwnProperty(i.default.AVAILABILITY_START_TIME)?b.availabilityStartTime=new Date(a.availabilityStartTime.getTime()):b.availabilityStartTime=new Date(a.loadedTime.getTime()),a.hasOwnProperty(i.default.AVAILABILITY_END_TIME)&&(b.availabilityEndTime=new Date(a.availabilityEndTime.getTime())),a.hasOwnProperty(i.default.MINIMUM_UPDATE_PERIOD)&&(b.minimumUpdatePeriod=a.minimumUpdatePeriod),a.hasOwnProperty(i.default.MEDIA_PRESENTATION_DURATION)&&(b.mediaPresentationDuration=a.mediaPresentationDuration),a.hasOwnProperty(g.default.SUGGESTED_PRESENTATION_DELAY)&&(b.suggestedPresentationDelay=a.suggestedPresentationDelay),a.hasOwnProperty(i.default.TIMESHIFT_BUFFER_DEPTH)&&(b.timeShiftBufferDepth=a.timeShiftBufferDepth),a.hasOwnProperty(i.default.MAX_SEGMENT_DURATION)&&(b.maxSegmentDuration=a.maxSegmentDuration)),b}function ea(a){var b=O(a.mpd.manifest),c=void 0;if(a.mpd.manifest.mediaPresentationDuration)c=a.mpd.manifest.mediaPresentationDuration;else if(a.duration)c=a.duration;
vendor: 3,390 bytes, line 24
24else{if(!b)throw new Error("Must have @mediaPresentationDuration on MPD or an explicit @duration on the last period.");c=Number.POSITIVE_INFINITY}return c}function fa(a){var b=a&&a.mpd&&a.mpd.manifest?a.mpd.manifest:null,c=b?b.Period_asArray:null,d=c&&a&&ua(a.index)?c[a.index].EventStream_asArray:null,e=[],f=void 0,h=void 0;if(d)for(f=0;f<d.length;f++){var j=new y.default;if(j.period=a,j.timescale=1,!d[f].hasOwnProperty(g.default.SCHEME_ID_URI))throw new Error("Invalid EventStream. SchemeIdUri has to be set");for(j.schemeIdUri=d[f].schemeIdUri,d[f].hasOwnProperty(i.default.TIMESCALE)&&(j.timescale=d[f].timescale),d[f].hasOwnProperty(i.default.VALUE)&&(j.value=d[f].value),h=0;h<d[f].Event_asArray.length;h++){var k=new u.default;k.presentationTime=0,k.eventStream=j,d[f].Event_asArray[h].hasOwnProperty(i.default.PRESENTATION_TIME)&&(k.presentationTime=d[f].Event_asArray[h].presentationTime),d[f].Event_asArray[h].hasOwnProperty(i.default.DURATION)&&(k.duration=d[f].Event_asArray[h].duration),d[f].Event_asArray[h].hasOwnProperty(i.default.ID)&&(k.id=d[f].Event_asArray[h].id),k.messageData=d[f].Event_asArray[h].messageData||d[f].Event_asArray[h].__text,e.push(k)}}return e}function ga(a,b){var c=[],d=void 0;if(!a)return c;for(d=0;d<a.length;d++){var e=new y.default;if(e.timescale=1,e.representation=b,!a[d].hasOwnProperty(g.default.SCHEME_ID_URI))throw new Error("Invalid EventStream. SchemeIdUri has to be set");e.schemeIdUri=a[d].schemeIdUri,a[d].hasOwnProperty(i.default.TIMESCALE)&&(e.timescale=a[d].timescale),a[d].hasOwnProperty(i.default.VALUE)&&(e.value=a[d].value),c.push(e)}return c}function ha(a,b){var c=void 0,d=void 0,e=void 0;return a&&a.Period_asArray&&b&&b.period&&ua(b.period.index)&&(d=a.Period_asArray[b.period.index])&&d.AdaptationSet_asArray&&ua(b.index)&&(e=d.AdaptationSet_asArray[b.index])&&(c=e.InbandEventStream_asArray),ga(c,null)}function ia(a,b){var c=void 0,d=void 0,e=void 0,f=void 0;return a&&a.Period_asArray&&b&&b.adaptation&&b.adaptation.period&&ua(b.adaptation.period.index)&&(d=a.Period_asArray[b.adaptation.period.index])&&d.AdaptationSet_asArray&&ua(b.adaptation.index)&&(e=d.AdaptationSet_asArray[b.adaptation.index])&&e.Representation_asArray&&ua(b.index)&&(f=e.Representation_asArray[b.index])&&(c=f.InbandEventStream_asArray),ga(c,b)}function ja(a){var b=O(a),c=!!a&&a.hasOwnProperty(i.default.AVAILABILITY_START_TIME),d=a?a.UTCTiming_asArray:null,e=[];return(b||c)&&d&&d.forEach(function(a){var b=new s.default;a.hasOwnProperty(g.default.SCHEME_ID_URI)&&(b.schemeIdUri=a.schemeIdUri,a.hasOwnProperty(i.default.VALUE)&&(b.value=a.value.toString(),e.push(b)))}),e}function ka(a){var b=[],c=a.BaseURL_asArray||[a.baseUri],d=!1;return c.some(function(c){if(c){var e=new w.default,f=c.__text||c;return pa.isRelative(f)&&(d=!0,a.baseUri&&(f=pa.resolve(f,a.baseUri))),e.url=f,c.hasOwnProperty(i.default.SERVICE_LOCATION)&&c.serviceLocation.length?e.serviceLocation=c.serviceLocation:e.serviceLocation=f,c.hasOwnProperty(i.default.DVB_PRIORITY)&&(e.dvb_priority=c[i.default.DVB_PRIORITY]),c.hasOwnProperty(i.default.DVB_WEIGHT)&&(e.dvb_weight=c[i.default.DVB_WEIGHT]),c.hasOwnProperty(i.default.AVAILABILITY_TIME_OFFSET)&&(e.availabilityTimeOffset=c[i.default.AVAILABILITY_TIME_OFFSET]),c.hasOwnProperty(i.default.AVAILABILITY_TIME_COMPLETE)&&(e.availabilityTimeComplete="false"!==c[i.default.AVAILABILITY_TIME_COMPLETE]),b.push(e),d}}),b}
24function la(a){if(a&&a.hasOwnProperty(g.default.LOCATION))return a.Location=a.Location_asArray[0],a.Location}a=a||{};var ma=void 0,na=void 0,oa=this.context,pa=(0,C.default)(oa).getInstance(),qa=a.mediaController,ra=a.timelineConverter,sa=a.adapter,ta="urn:dvb:dash:profile:dvb-dash:2014",ua=Number.isInteger||function(a){return"number"==typeof a&&isFinite(a)&&Math.floor(a)===a};return ma={getIsTypeOf:c,getIsAudio:d,getIsVideo:e,getIsText:h,getIsMuxed:j,getIsTextTrack:n,getIsFragmentedText:f,getIsImage:l,getIsMain:z,getLanguageForAdaptation:p,getViewpointForAdaptation:r,getRolesForAdaptation:t,getAccessibilityForAdaptation:v,getAudioChannelConfigurationForAdaptation:x,getAdaptationForIndex:F,getIndexForAdaptation:H,getAdaptationForId:E,getAdaptationsForType:I,getAdaptationForType:J,getCodec:K,getMimeType:L,getKID:M,getContentProtectionData:N,getIsDynamic:O,getIsDVB:Q,getDuration:R,getBandwidth:S,getManifestUpdatePeriod:T,getRepresentationCount:U,getBitrateListForAdaptation:V,getRepresentationFor:X,getRepresentationsForAdaptation:_,getAdaptationsForPeriod:aa,getRegularPeriods:ba,getMpd:da,getEventsForPeriod:fa,getEventStreamForAdaptationSet:ha,getEventStreamForRepresentation:ia,getUTCTimingSources:ja,getBaseURLsFromElement:ka,getRepresentationSortFunction:B,getLocation:la,getUseCalculatedLiveEdgeTimeForAdaptation:$},b(),ma}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(58),i=d(h),j=a(86),k=d(j),l=a(80),m=d(l),n=a(85),o=d(n),p=a(84),q=d(p),r=a(88),s=d(r),t=a(82),u=d(t),v=a(81),w=d(v),x=a(83),y=d(x),z=a(205),A=d(z),B=a(208),C=d(B),D=a(48),E=d(D),F=a(46),G=d(F);e.__dashjs_factory_name="DashManifestModel",c.default=E.default.getSingletonFactory(e),b.exports=c.default},{100:100,205:205,208:208,46:46,48:48,58:58,80:80,81:81,82:82,83:83,84:84,85:85,86:86,88:88}],61:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}
25function e(){function a(){g=(0,i.default)(e).getInstance().getLogger(f),h=[new q.default,new s.default,new u.default,new o.default],j=new m.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:h}),l=(0,k.default)(e).create({adaptationset:new w.default,period:new y.default})}function b(){return h}function c(){return l}function d(a){var b=void 0,c=window.performance.now();if(!(b=j.xml_str2json(a)))throw new Error("parsing the manifest failed");var d=window.performance.now();l.run(b);var e=window.performance.now();return g.info("Parsing complete: ( xml2json: "+(d-c).toPrecision(3)+"ms, objectiron: "+(e-d).toPrecision(3)+"ms, total: "+((e-c)/1e3).toPrecision(3)+"s)"),b}var e=this.context,f=void 0,g=void 0,h=void 0,j=void 0,l=void 0;return f={parse:d,getMatchers:b,getIron:c},a(),f}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j=a(71),k=d(j),l=a(3),m=d(l),n=a(70),o=d(n),p=a(68),q=d(p),r=a(67),s=d(r),t=a(69),u=d(t),v=a(64),w=d(v),x=a(65),y=d(x);e.__dashjs_factory_name="DashParser",c.default=g.default.getClassFactory(e),b.exports=c.default},{3:3,46:46,48:48,64:64,65:65,67:67,68:68,69:69,70:70,71:71}],62:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b){d(this,a);var c=function(a){return a&&a.length&&a.charAt(0)===a.charAt(0).toUpperCase()};this._name=b,this._merge=c(b)}return e(a,[{key:"name",get:function(){return this._name}},{key:"merge",get:function(){return this._merge}}]),a}();c.default=f,b.exports=c.default},{}],63:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(62),h=d(g),i=function(){function a(b,c,d){var f=this;e(this,a),this._name=b||"",this._properties=[],this._children=d||[],Array.isArray(c)&&c.forEac
vendor: 5,249 bytes, line 25
25h(function(a){f._properties.push(new h.default(a))})}return f(a,[{key:"name",get:function(){return this._name}},{key:"children",get:function(){return this._children}},{key:"properties",get:function(){return this._properties}}]),a}();c.default=i,b.exports=c.default},{62:62}],64:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(63),i=d(h),j=a(58),k=d(j),l=function(a){function b(){e(this,b);var a=[k.default.PROFILES,k.default.WIDTH,k.default.HEIGHT,k.default.SAR,k.default.FRAMERATE,k.default.AUDIO_SAMPLING_RATE,k.default.MIME_TYPE,k.default.SEGMENT_PROFILES,k.default.CODECS,k.default.MAXIMUM_SAP_PERIOD,k.default.START_WITH_SAP,k.default.MAX_PLAYOUT_RATE,k.default.CODING_DEPENDENCY,k.default.SCAN_TYPE,k.default.FRAME_PACKING,k.default.AUDIO_CHANNEL_CONFIGURATION,k.default.CONTENT_PROTECTION,k.default.ESSENTIAL_PROPERTY,k.default.SUPPLEMENTAL_PROPERTY,k.default.INBAND_EVENT_STREAM];g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,k.default.ADAPTATION_SET,a,[new i.default(k.default.REPRESENTATION,a,[new i.default(k.default.SUB_REPRESENTATION,a)])])}return f(b,a),b}(i.default);c.default=l,b.exports=c.default},{58:58,63:63}],65:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(63),i=d(h),j=a(58),k=d(j),l=function(a){function b(){e(this,b);var a=[k.default.SEGMENT_BASE,k.default.SEGMENT_TEMPLATE,k.default.SEGMENT_LIST];g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,k.default.PERIOD,a,[new i.default(k.default.ADAPTATION_SET,a,[new i.default(k.default.REPRESENTATION,a)])])}return f(b,a),b}(i.default);c.default=l,b.exports=c.default},{58:58,63:63}],66:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b,c){d(this,a),this._test=b,this._converter=c}return e(a,[{key:"test",get:function(){return this._test}},{key:"converter",get:function(){return this._converter}}]),a}();c.default=f,b.exports=c.default},{}],67:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(66),i=d(h),j=60,k=60,l=1e3,m=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+-])([0-9]{2})(?::?)([0-9]{2}))?/,n=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){return m.test(a.value)},function(a){var b=m.exec(a),c=void 0;if(c=Date.UTC(parseInt(b[1],10),parseInt(b[2],10)-1,parseInt(b[3],10),parseInt(b[4],10),parseInt(b[5],10),b[6]&&parseInt(b[6],10)||0,b[7]&&parseFloat(b[7])*l||0),b[9]&&b[10]){var d=parseInt(b[9],10)*k+p
25arseInt(b[10],10);c+=("+"===b[8]?-1:1)*d*j*l}return new Date(c)})}return f(b,a),b}(i.default);c.default=n,b.exports=c.default},{66:66}],68:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(66),i=d(h),j=a(100),k=d(j),l=a(58),m=d(l),n=/^([-])?P(([\d.]*)Y)?(([\d.]*)M)?(([\d.]*)D)?T?(([\d.]*)H)?(([\d.]*)M)?(([\d.]*)S)?/,o=31536e3,p=2592e3,q=86400,r=3600,s=60,t=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){for(var b=[m.default.MIN_BUFFER_TIME,m.default.MEDIA_PRESENTATION_DURATION,m.default.MINIMUM_UPDATE_PERIOD,m.default.TIMESHIFT_BUFFER_DEPTH,m.default.MAX_SEGMENT_DURATION,m.default.MAX_SUBSEGMENT_DURATION,k.default.SUGGESTED_PRESENTATION_DELAY,m.default.START,k.default.START_TIME,m.default.DURATION],c=b.length,d=0;d<c;d++)if(a.nodeName===b[d])return n.test(a.value);return!1},function(a){var b=n.exec(a),c=parseFloat(b[2]||0)*o+parseFloat(b[4]||0)*p+parseFloat(b[6]||0)*q+parseFloat(b[8]||0)*r+parseFloat(b[10]||0)*s+parseFloat(b[12]||0);return void 0!==b[1]&&(c=-c),c})}return f(b,a),b}(i.default);c.default=t,b.exports=c.default},{100:100,58:58,66:66}],69:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(66),i=d(h),j=/^[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?$/,k=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a){return j.test(a.value)},function(a){return parseFloat(a)})}return f(b,a),b}(i.default);c.default=k,b.exports=c.default},{66:66}],70:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function g(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var h=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},i=a(66),j=d(i),k=a(58),l=d(k),m=function(a){function b(){f(this,b),h(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,function(a,b){var c,d=(c={},e(c,l.default.MPD,[l.default.ID,l.default.PROFILES]),e(c,l.default.PERIOD,[l.default.ID]),e(c,l.default.BASE_URL,[l.default.SERVICE_LOCATION,l.default.BYTE_RANGE]),e(c,l.default.SEGMENT_BASE,[l.default.INDEX_RANGE]),e(c,l.default.INITIALIZATION,[l.default.RANGE]),e(c,l.default.REPRESENTATION_INDEX,[l.default.RANGE]),e(c,l.default.SEGMENT_LIST,[l.default.INDEX_RANGE]),e(c,l.default.BITSTREAM_SWITCHING,[l.default.RANGE]),e(c,l.default.SEGMENT_URL,[l.default.MEDIA_RANGE,l.default.INDEX_RANGE]),e(c,l.default.SEGMENT_TEMPLATE,[l.default.INDEX_RANGE,l.default.MEDIA,l.default.INDEX,l.default.INITIALIZATION_MINUS,l.default.BITSTREAM_SWITCHING_MINUS]),e(c,l.default.ASSET_IDENTIFIER,[l.default.VALUE,l.default.ID]),e(c,l.default.EVENT_STREAM,[l.default.VALUE]),e(c,l.default.ADAPTATION_SET,[l.default.PROFILES,l.default.MIME_TYPE,l.default.SEGMENT_PROFILES,l.default.CODECS,l.default.CONTENT_TYPE]),e(c,l.default.FRAME_PACKING,[l.default.VALUE,l.default.ID]),e(c,l.default.AUDIO_CHANNEL_CONFIGURATION,[l.default.VALUE,l.default.ID]),e(c,l.default.CONTENT_PROTECTION,[l.default.VALUE,l.default.ID]),e(c,l.default.ESSENTIAL_PROPERTY,[l.default.VALUE,l.default.ID]),e(c,l.default.SUPPLEMENTAL_PROPERTY,[l.default.VALUE,l.default.ID]),e(c,l.default.INBAND_EVENT_STREAM,[l.default.VALUE,l.default.ID]),e(c,l.default.ACCESSIBILITY,[l.default.VALUE,l.default.ID]),e(c,l.default.ROLE,[l.default.VALUE,l.default.ID]),e(c,l.default.RATING,[l.default.VALUE,l.default.ID]),e(c,l.default.VIEWPOINT,[l.default.VALUE,l.default.ID]),e(c,l.default.CONTENT_COMPONENT,[l.default.CONTENT_TYPE]),e(c,l.default.REPRESENTATION,[l.default.ID,l.default.DEPENDENCY_ID,l.default.MEDIA_STREAM_STRUCTURE_ID]),e(c,l.default.SUBSET,[l.default.ID]),e(c,l.default.METRICS,[l.default.METRICS_MINUS]),e(c,l.default.REPORTING,[l.default.VALUE,l.default.ID]),c);if(d.hasOwnProperty(b)){var f=d[b];return void 0!==f&&f.indexOf(a.name)>=0}return!1},function(a){return String(a)})}return g(b,a),b}(j.default);c.default=m,b.exports=c.default},{58:58,66:66}],71:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){for(var c in a)b.hasOwnProperty(c)||(b[c]=a[c])}function c(a,c,d){for(var e=0,f=a.length;e<f;++e){var g=a[e];if(c[g.name])if(d[g.name]){if(g.merge){var h=c[g.name],i=d[g.name];"object"==typeof h&&"object"==typeof i?b(h,i):d[g.name]=h+i}}else d[g.name]=c[g.name]}}function d(a,b){for(var e=0,f=a.children.length;e<f;++e){var g=a.children[e],h=b[g.name+"_asArray"];if(h)for(var i=0,j=h.length;i<j;++i){var k=h[i];c(a.properties,b,k),d(g,k)}}}function e(b){if(null===b||"object"!=typeof b)return b;if("period"in a)for(var c=a.period,e=b.Period_asArray,f=0,g=e.length;f<g;++f){var h=e[f];if(d(c,h),"adaptationset"in a){var i=h.AdaptationSet_asArray;if(i)for(var j=a.adaptationset,k=0,l=i.length;k<l;++k)d(j,i[k])}}return b}return{run:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="ObjectIron";var h=g.default.getClassFactory(e);
vendor: 17,253 bytes, lines 25-26
25c.default=h,b.exports=c.default},{48:48}],72:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a&&a.boxParser&&(d=a.boxParser)}function b(a){if(!d)throw new Error("boxParser is undefined");if(!a||0===a.byteLength)return{sampleList:[],lastSequenceNumber:NaN,totalDuration:NaN,numSequences:NaN};var b=d.parse(a),c=b.getBoxes("moof"),e=b.getBoxes("mfhd"),f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0,v=void 0;u=b.getBoxes("moof").length,t=e[e.length-1].sequence_number,h=0,k=[];var w=-1,x=-1;for(p=0;p<c.length;p++){var y=c[p],z=y.getChildBoxes("traf");for(n=0;n<z.length;n++){var A=z[n],B=A.getChildBox("tfhd"),C=A.getChildBox("tfdt");j=C.baseMediaDecodeTime;var D=A.getChildBoxes("trun"),E=A.getChildBoxes("subs");for(o=0;o<D.length;o++){var F=D[o];for(h=F.sample_count,s=(B.base_data_offset||0)+(F.data_offset||0),m=0;m<h;m++){l=F.samples[m],f=void 0!==l.sample_duration?l.sample_duration:B.default_sample_duration,i=void 0!==l.sample_size?l.sample_size:B.default_sample_size,g=void 0!==l.sample_composition_time_offset?l.sample_composition_time_offset:0;var G={dts:j,cts:j+g,duration:f,offset:y.offset+s,size:i,subSizes:[i]};if(E)for(q=0;q<E.length;q++){var H=E[q];if(w<H.entry_count&&m>x&&(w++,x+=H.entries[w].sample_delta),m==x){G.subSizes=[];var I=H.entries[w];for(r=0;r<I.subsample_count;r++)G.subSizes.push(I.subsamples[r].subsample_size)}}k.push(G),s+=i,j+=f}}v=j-C.baseMediaDecodeTime}}return{sampleList:k,lastSequenceNumber:t,totalDuration:v,numSequences:u}}function c(a){if(!d)throw new Error("boxParser is undefined");var b=d.parse(a),c=b?b.getBox("mdhd"):void 0;return c?c.timescale:NaN}var d=void 0;return{getSamplesInfo:b,getMediaTimescaleFromMoov:c,setConfig:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="FragmentedTextBoxParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],73:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(a,c,e,f){var g=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentList,i=g.SegmentURL_asArray.length,j=[],k=void 0,l=void 0,m=void 0,n=void 0,o=void 0,p=void 0,q=void 0;for(q=a.startNumber,n=(0,h.decideSegmentListRangeForTemplate)(d,b,a,c,e,f),o=Math.max(n.start,0),p=Math.min(n.end,g.SegmentURL_asArray.length-1),k=o;k<=p;k++)m=g.SegmentURL_asArray[k],l=(0,h.getIndexBasedSegment)(d,b,a,k),l.replacementTime=(q+k-1)*a.segmentDuration,l.media=m.media?m.media:"",l.mediaRange=m.mediaRange,l.index=m.index,l.indexRange=m.indexRange,j.push(l),l=null;return a.availableSegmentsNumber=i,j}a=a||{};var d=a.timelineConverter;return{getSegments:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(76);e.__dashjs_factory_name="ListSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{48:48,76:76}],74:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function e(a,b,c){return void 0===c||0==+c?Math[a](b):(b=+b,c=+c,null===b||isNaN(b)||"number"!=typeof c||c%1!=0?NaN:(b=b.toString().split("e"),b=Math[a](+(b[0]+"e"+(b[1]?+b[1]-c:-c))),b=b.toString().split("e"),+(b[0]+"e"+(b[1]?+b[1]+c:c))))}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=function(){function a(){d(this,a)}return f(a,null,[{key:"round10",value:function(a,b){return e("round",a,b)}}]),a}();c.default=g,b.exports=c.default},{}],75:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(){i=(0,k.default)(f).create(a,b),j=(0,m.default)(f).create(a,b),l=(0,o.default)(f).create(a,b)}function d(a,b,c,d,f){var h=void 0,k=a.segmentInfoType;k!==g.default.SEGMENT_BASE&&k!==g.default.BASE_URL&&e(a,c)?(k===g.default.SEGMENT_TIMELINE?h=i.getSegments(a,b,c,f):k===g.default.SEGMENT_TEMPLATE?h=j.getSegments(a,b,c,f):k===g.default.SEGMENT_LIST&&(h=l.getSegments(a,b,c,f)),d&&d(a,h)):h=a.segments}function e(a,b){var c=a.segments,d=!1,e=void 0,f=void 0;return c&&0!==c.length?(f=c[0].availabilityIdx,e=c[c.length-1].availabilityIdx,d=b<f||b>e):d=!0,d}var f=this.context,h=void 0,i=void 0,j=void 0,l=void 0;return h={getSegments:d},c(),h}Object.defineProperty(c,"__esModule",{value:!0});var f=a(58),g=d(f),h=a(48),i=d(h),j=a(79),k=d(j),l=a(77),m=d(l),n=a(73),o=d(n);e.__dashjs_factory_name="SegmentsGetter";var p=i.default.getClassFactory(e);c.default=p,b.exports=c.default},{48:48,58:58,73:73,77:77,79:79}],76:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){for(;a.length<b;)a="0"+a;return a}function f(a,b){return a.representation.startNumber+b}function g(a){return a?a.split("$$").join("$"):a}function h(a,b){if(!b||!a||-1===a.indexOf("$RepresentationID$"))return a;var c=b.toString();return a.split("$RepresentationID$").join(c)}function i(a,b,c){var d="%0",f=void 0,g=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=b.length,m=d.length;if(!a)return a;for(;;){if((f=a.indexOf("$"+b))<0)return a;if((g=a.indexOf("$",f+l))<0)return a;if((h=a.indexOf(d,f+l))>f&&h<g)switch(i=a.charAt(g-1),j=parseInt(a.substring(h+m,g-1),10),i){case"d":case"i":case"u":k=e(c.toString(),j);break;case"x":k=e(c.toString(16),j);break;case"X":k=e(c.toString(16),j).toUpperCase();break;case"o":k=e(c.toString(8),j);break;default:return a}else k=c;a=a.substring(0,f)+k+a.substring(g+1)}}function j(a,b,c,d){var e=void 0,g=void 0,h=void 0,i=void 0;return g=c.segmentDuration,isNaN(g)&&(g=c.adaptation.period.duration),h=parseFloat((c.adaptation.period.start+d*g).toFixed(5)),i=parseFloat((h+g).toFixed(5)),e=new o.default,e.representation=c,e.duration=g,e.presentationStartTime=h,e.mediaStartTime=a.calcMediaTimeFromPresentationTime(e.presentationStartTime,c),e.availabilityStartTime=a.calcAvailabilityStartTimeFromPresentationTime(e.presentationStartTime,c.adaptation.period.mpd,b),e.availabilityEndTime=a.calcAvailabilityEndTimeFromPresentationTime(i,c.adaptation.period.mpd,b),e.wallStartTime=a.calcWallTimeForSegment(e,b),e.replacementNumber=f(e,d),e.availabilityIdx=d,e}function k(a,b,c,d,e,g,h,j,k,l){var m=d/g,n=Math.min(e/g,c.adaptation.period.mpd.maxSegmentDuration),p=void 0,q=void 0,r=void 0;return p=a.calcPresentationTimeFromMediaTime(m,c),q=p+n,r=new o.default,r.representation=c,r.duration=n,r.mediaStartTime=m,r.presentationStartTime=p,r.availabilityStartTime=c.adaptation.period.mpd.manifest.loadedTime,r.availabilityEndTime=a.calcAvailabilityEndTimeFromPresentationTime(q,c.adaptation.period.mpd,b),r.wallStartTime=a.calcWallTimeForSegment(r,b),r.replacementTime=l||d,r.replacementNumber=f(r,k),h=i(h,"Number",r.replacementNumber),h=i(h,"Time",r.replacementTime),r.media=h,r.mediaRange=j,r.availabilityIdx=k,r}function l(a,b){if(!b||!b.segments)return null;var c=b.segments.length,d=void 0,e=void 0;if(a<c&&(d=b.segments[a])&&d.availabilityIdx===a)return d;for(e=0;e<c;e++)if((d=b.segments[e])&&d.availabilityIdx===a)return d;return null}function m(a,b,c,d,e,f){var g=c.segmentDuration,h=c.adaptation.period.mpd.manifest.minBufferTime,i=c.segmentAvailabilityRange,j={start:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,i?i.start:NaN),end:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,i?i.end:NaN)},k=c.segments,m=2*g,n=f||Math.max(2*h,10*g),o=NaN,p=null,q=void 0,r=void 0;return j.start=Math.max(j.start,0),b&&!a.isTimeSyncCompleted()?(q=Math.floor(j.start/g),r=Math.floor(j.end/g),{start:q,end:r}):(k&&k.length>0?(p=l(e,c),o=p?a.calcPeriodRelativeTimeFromMpdRelativeTime(c,p.presentationStartTime):e>0?e*g:a.calcPeriodRelativeTimeFromMpdRelativeTime(c,d)):o=e>0?e*g:b?j.end:j.start,q=Math.floor(Math.max(o-m,j.start)/g),r=Math.floor(Math.min(q+n/g,j.end/g)),{start:q,end:r})}Object.defineProperty(c,"__esModule",{value:!0}),c.unescapeDollarsInTemplate=g,c.replaceIDForTemplate=h,c.replaceTokenForTemplate=i,c.getIndexBasedSegment=j,c.getTimeBasedSegment=k,c.getSegmentByIndex=l,c.decideSegmentListRangeForTemplate=m;var n=a(87),o=d(n)},{87:87}],77:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(a,c,e,f){var g=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentTemplate,i=a.segmentDuration,j=a.segmentAvailabilityRange,k=[],l=null,m=null,n=void 0,o=void 0,p=void 0,q=void 0,r=void 0;for(r=a.startNumber,n=isNaN(i)&&!b?{start:r,end:r}:(0,h.decideSegmentListRangeForTemplate)(d,b,a,c,e,f),p=n.start,q=n.end,o=p;o<=q;o++)m=(0,h.getIndexBasedSegment)(d,b,a,o),m.replacementTime=(r+o-1)*a.segmentDuration,l=g.media,l=(0,h.replaceTokenForTemplate)(l,"Number",m.replacementNumber),l=(0,h.replaceTokenForTemplate)(l,"Time",m.replacementTime),m.media=l,k.push(m),m=null;return isNaN(i)?a.availableSegmentsNumber=1:a.availableSegmentsNumber=Math.ceil((j.end-j.start)/i),k}var d=a.timelineConverter;return{getSegments:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(76);e.__dashjs_factory_name="TemplateSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{48:48,76:76}],78:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){u(),x.on(i.default.TIME_SYNCHRONIZATION_COMPLETED,s,this)}function b(){return z}function c(a){z=a}function d(){return y}function e(a){y=a}function f(){return A}function h(a){A=a}function j(a,b,c,d){return d?c&&b.timeShiftBufferDepth!=Number.POSITIVE_INFINITY?new Date(b.availabilityStartTime.getTime()+1e3*(a+b.timeShiftBufferDepth)):b.availabilityEndTime:c?new Date(b.availabilityStartTime.getTime()+1e3*(a-y)):b.availabilityStartTime}function k(a,b,c){return j.call(this,a,b,c)}function l(a,b,c){return j.call(this,a,b,c,!0)}function m(a,b){return(a.getTime()-b.mpd.availabilityStartTime.getTime()+1e3*y)/1e3}function n(a,b){return a+(b.adaptation.period.start-b.presentationTimeOffset)}function o(a,b){return a-b.adaptation.period.start+b.presentationTimeOffset}function p(a,b){var c=void 0,d=void 0,e=void 0;return b&&(c=a.representation.adaptation.period.mpd.suggestedPresentationDelay,d=a.presentationStartTime+c,e=new Date(a.availabilityStartTime.getTime()+1e3*d)),e}function q(a,b){var c=a.adaptation.period,d={start:c.start,end:c.start+c.duration};if(!b)return d;if(!z&&a.segmentAvailabilityRange)return a.segmentAvailabilityRange;var e=a.segmentDuration||(a.segments&&a.segments.length?a.segments[a.segments.length-1].duration:0),f=m(new Date,c),g=c.start+c.duration;d.start=Math.max(f-c.mpd.timeShiftBufferDepth,c.start);var h=void 0!==a.availabilityTimeOffset&&a.availabilityTimeOffset<e?e-a.availabilityTimeOffset:e;return d.end=f>=g&&f-h<g?g:f-h,d}function r(a,b){return b-a.adaptation.period.start}function s(a){z||void 0!==a.offset&&(e(a.offset/1e3),z=!0)}function t(a){var b=a.presentationTimeOffset;return a.adaptation.period.start-b}function u(){y=0,z=!1,A=NaN}function v(){x.off(i.default.TIME_SYNCHRONIZATION_COMPLETED,s,this),u()}var w=this.context,x=(0,g.default)(w).getInstance(),y=void 0,z=void 0,A=void 0;return{initialize:a,isTimeSyncCompleted:b,setTimeSyncCompleted:c,getClientTimeOffset:d,setClientTimeOffset:e,getExpectedLiveEdge:f,setExpectedLiveEdge:h,calcAvailabilityStartTimeFromPresentationTime:k,calcAvailabilityEndTimeFromPresentationTime:l,calcPresentationTimeFromWallTime:m,calcPresentationTimeFromMediaTime:n,calcPeriodRelativeTimeFromMpdRelativeTime:r,calcMediaTimeFromPresentationTime:o,calcSegmentAvailabilityRange:q,calcWallTimeForSegment:p,calcMSETimeOffset:t,reset:v}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j);e.__dashjs_factory_name="TimelineConverter",c.default=k.default.getSingletonFactory(e),b.exports=c.default},{47:47,48:48,51:51}],79:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){function c(){if(!(e&&e.hasOwnProperty("calcMediaTimeFromPresentationTime")&&e.hasOwnProperty("calcSegmentAvailabilityRange")&&e.hasOwnProperty("calcMediaTimeFromPresentationTime")))throw new Error("Missing config parameter(s)")}function d(a,d,f,g){if(c(),!a)throw new Error("no representation");void 0===d&&(d=null);var i=a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentTemplate||a.adaptation.period.mpd.manifest.Period_asArray[a.adaptation.period.index].AdaptationSet_asArray[a.adaptation.index].Representation_asArray[a.index].SegmentList,j=i.SegmentTimeline,k=i.SegmentURL_asArray,l=a.availableSegmentsNumber>0,m=void 0;m=g||(f>-1||null!==d?10:1/0);var n=0,o=0,p=-1,q=[],r=null,s=void 0,t=void 0,u=void 0,v=void 0,w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=function(c,d){var f=i.media,g=c.mediaRange;return k&&(f=k[d].media||"",g=k[d].mediaRange),(0,h.getTimeBasedSegment)(e,b,a,n,c.d,C,f,g,p,c.tManifest)};for(C=a.timescale,s=j.S_asArray,B=f,null!==d&&(r=e.calcMediaTimeFromPresentationTime(d,a)),u=0,v=s.length;u<v;u++){if(t=s[u],x=0,t.hasOwnProperty("r")&&(x=t.r),t.hasOwnProperty("t")&&(n=t.t,o=n/C),x<0){if((z=s[u+1])&&z.hasOwnProperty("t"))y=z.t/C;else{var E=a.segmentAvailabilityRange?a.segmentAvailabilityRange.end:e.calcSegmentAvailabilityRange(a,b).end;y=e.calcMediaTimeFromPresentationTime(E,a),a.segmentDuration=t.d/C}x=Math.ceil((y-o)/(t.d/C))-1}if(A){if(l)break;p+=x+1}else for(w=0;w<=x;w++)if(p++,q.length>m){if(A=!0,l)break}else null!==r?o>=r-t.d/C*1.5&&q.push(D(t,p)):p>=B&&q.push(D(t,p)),n+=t.d,o=n/C}return l||(a.availableSegmentsNumber=p+1),q}a=a||{};var e=a.timelineConverter;return{getSegments:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(76);e.__dashjs_factory_name="TimelineSegmentsGetter";var i=g.default.getClassFactory(e);c.default=i,b.exports=c.default},{48:48,76:76}],80:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.period=null,this.index=-1,this.type=null};c.default=e,b.exports=c.default},{}],81:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=1,f=1,g=function a(b,c,g,h){d(this,a),this.url=b||"",this.serviceLocation=c||b||"",this.dvb_priority=g||e,this.dvb_weight=h||f,this.availabilityTimeOffset=0,this.availabilityTimeComplete=!0};g.DEFAULT_DVB_PRIORITY=e,g.DEFAULT_DVB_WEIGHT=f,c.default=g,b.exports=c.default},{}],82:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.duration=NaN,this.presentationTime=NaN,this.id=NaN,this.messageData="",this.eventStream=null,this.presentationTimeDelta=NaN};c.default=e,b.exports=c.default},{}],83:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.adaptionSet=null,this.representation=null,this.period=null,this.timescale=1,this.value="",this.schemeIdUri=""};c.default=e,b.exports=c.default},{}],84:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.manifest=null,this.suggestedPresentationDelay=0,this.availabilityStartTime=null,this.availabilityEndTime=Number.POSITIVE_INFINITY,this.timeShiftBufferDepth=Number.POSITIVE_INFINITY,this.maxSegmentDuration=Number.POSITIVE_INFINITY,this.minimumUpdatePeriod=NaN,this.mediaPresentationDuration=NaN};c.default=e,b.exports=c.default},{}],85:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=-1,this.duration=NaN,this.start=NaN,this.mpd=null};e.DEFAULT_ID="defaultId",c.default=e,b.exports=c.default},{}],86:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c]
26;d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),g=a(58),h=d(g),i=function(){function a(){e(this,a),this.id=null,this.index=-1,this.adaptation=null,this.segmentInfoType=null,this.initialization=null,this.co
26decs=null,this.codecPrivateData=null,this.segmentDuration=NaN,this.timescale=1,this.startNumber=1,this.indexRange=null,this.range=null,this.presentationTimeOffset=0,this.MSETimeOffset=NaN,this.segmentAvailabilityRange=null,this.availableSegmentsNumber=0,this.bandwidth=NaN,this.width=NaN,this.height=NaN,this.scanType=null,this.maxPlayoutRate=NaN,this.availabilityTimeOffset=0,this.availabilityTimeComplete=!0}return f(a,null,[{key:"hasInitialization",value:function(a){return null!==a.initialization||null!==a.range}},{key:"hasSegments",value:function(a){return a.segmentInfoType!==h.default.BASE_URL&&a.segmentInfoType!==h.default.SEGMENT_BASE&&!a.indexRange}}]),a}();c.default=i,b.exports=c.default},{58:58}],87:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.indexRange=null,this.index=null,this.mediaRange=null,this.media=null,this.duration=NaN,this.replacementTime=null,this.replacementNumber=NaN,this.mediaStartTime=NaN,this.presentationStartTime=NaN,this.availabilityStartTime=NaN,this.availabilityEndTime=NaN,this.availabilityIdx=NaN,this.wallStartTime=NaN,this.representation=null};c.default=e,b.exports=c.default},{}],88:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.schemeIdUri="",this.value=""};c.default=e,b.exports=c.default},{}],89:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){n=(0,g.default)(h).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier,useFetch:a.mediaPlayerModel.getLowLatencyEnabled()})}function c(a){var b=function(b){j.trigger(o.default.CHECK_FOR_EXISTENCE_COMPLETED,{request:a,exists:b})};if(a){var c=new i.default(a.url);n.load({request:c,success:function(){b(!0)},error:function(){b(!1)}})}else b(!1)}function d(a){var b=function(b,c){j.trigger(o.default.LOADING_COMPLETED,{request:a,response:b||null,error:c||null,sender:l})};a?n.load({request:a,progress:function(b){j.trigger(o.default.LOADING_PROGRESS,{request:a}),b.data&&j.trigger(o.default.LOADING_DATA_PROGRESS,{request:a,response:b.data||null,error:null,sender:l})},success:function(a){b(a)},error:function(a,c,d){b(void 0,new k.default(r,d,c))},abort:function(a){a&&j.trigger(o.default.LOADING_ABANDONED,{request:a,mediaType:a.mediaType,sender:l})}}):b(void 0,new k.default(s,t))}function e(){n&&n.abort()}function f(){n&&(n.abort(),n=null)}a=a||{};var h=this.context,j=(0,m.default)(h).getInstance(),l=void 0,n=void 0;return l={checkForExistence:c,load:d,abort:e,reset:f},b(),l}Object.defineProperty(c,"__esModule",{value:!0});var f=a(147),g=d(f),h=a(216),i=d(h),j=a(213),k=d(j),l=a(47),m=d(l),n=a(51),o=d(n),p=a(48),q=d(p),r=1,s=2,t="request is null";e.__dashjs_factory_name="FragmentLoader";var u=q.default.getClassFactory(e);u.FRAGMENT_LOADER_ERROR_LOADING_FAILURE=r,u.FRAGMENT_LOADER_ERROR_NULL_REQUEST=s,q.default.updateClassFactory(e.__dashjs_factory_name,u),c.default=u,b.exports=c.default},{147:147,213:213,216:216,47:47,48:48,51:51}],90:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){p=(0,B.default)(h).getInstance().getLogger(n),j.on(v.default.XLINK_READY,c,n),s=(0,k.default)(h).create({errHandler:y,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier}),u=(0,i.default)(h).create({errHandler:y,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier}),w=null}function c(a){j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:a.manifest})}function d(a){var b=null;return a.indexOf("SmoothStreamingMedia")>-1?(x&&(b=x.createMssParser(),x.registerEvents()),b):a.indexOf("MPD")>-1?(0,z.default)(h).create():b}function e(a){var b=new o.default(a,r.HTTPRequest.MPD_TYPE);s.load({request:b,success:function(b,c,e){if(u){var f=void 0,h=void 0,i=void 0;if(e&&e!==a?(h=l.parseBaseUrl(e),f=e):(l.isRelative(a)&&(a=l.resolve(a,window.location.href)),h=l.parseBaseUrl(a)),null===w&&(w=d(b)),null===w)return void j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,"Failed detecting manifest type or manifest type unsupported : "+a)});u.setMatchers(w.getMatchers()),u.setIron(w.getIron());try{i=w.parse(b)}catch(k){return void j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,"Failed parsing manifest : "+a)})}i?(i.url=f||a,i.originalUrl||(i.originalUrl=i.url),i.hasOwnProperty(g.default.LO
26CATION)&&(h=l.parseBaseUrl(i.Location_asArray[0]),p.debug("BaseURI set by Location to: "+h)),i.baseUri=h,i.loadedTime=new Date,u.resolveManifestOnLoad(i)):j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(C,E)})}},error:function(b,c,d){j.trigger(v.default.INTERNAL_MANIFEST_LOADED,{manifest:null,error:new q.default(D,"Failed loading manifest: "+a+", "+d)})}})}function f(){j.off(v.default.XLINK_READY,c,n),u&&(u.reset(),u=null),s&&(s.abort(),s=null),x&&x.reset()}a=a||{};var h=this.context,j=(0,t.default)(h).getInstance(),l=(0,m.default)(h).getInstance(),n=void 0,p=void 0,s=void 0,u=void 0,w=void 0,x=a.mssHandler,y=a.errHandler;return n={load:e,reset:f},b(),n}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(115),i=d(h),j=a(147),k=d(j),l=a(208),m=d(l),n=a(224),o=d(n),p=a(213),q=d(p),r=a(233),s=a(47),t=d(s),u=a(51),v=d(u),w=a(48),x=d(w),y=a(61),z=d(y),A=a(46),B=d(A),C=1,D=2,E="parsing failed";e.__dashjs_factory_name="ManifestLoader";var F=x.default.getClassFactory(e);F.MANIFEST_LOADER_ERROR_PARSING_FAILURE=C,F.MANIFEST_LOADER_ERROR_LOADING_FAILURE=D,x.default.updateClassFactory(e.__dashjs_factory_name,F),c.default=F,b.exports=c.default},{100:100,115:115,147:147,208:208,213:213,224:224,233:233,46:46,47:47,48:48,51:51,61:61}],91:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){v=(0,m.default)(s).getInstance().getLogger(u)}function b(a){a&&(a.manifestModel&&(B=a.manifestModel),a.dashManifestModel&&(C=a.dashManifestModel),a.mediaPlayerModel&&(D=a.mediaPlayerModel),a.manifestLoader&&(A=a.manifestLoader),a.errHandler&&(E=a.errHandler))}function c(){e(),t.on(i.default.STREAMS_COMPOSED,r,this),t.on(i.default.PLAYBACK_STARTED,p,this),t.on(i.default.PLAYBACK_PAUSED,q,this),t.on(i.default.INTERNAL_MANIFEST_LOADED,o,this)}function d(a){l(a)}function e(){w=NaN,z=!1,y=!0,h()}function f(){t.off(i.default.PLAYBACK_STARTED,p,this),t.off(i.default.PLAYBACK_PAUSED,q,this),t.off(i.default.STREAMS_COMPOSED,r,this),t.off(i.default.INTERNAL_MANIFEST_LOADED,o,this),e()}function h(){null!==x&&(clearInterval(x),x=null)}function j(a){h(),isNaN(a)&&!isNaN(w)&&(a=1e3*w),isNaN(a)||(v.debug("Refresh manifest in "+a+" milliseconds."),x=setTimeout(n,a))}function k(){z=!0;var a=B.getValue(),b=a.url,c=C.getLocation(a);c&&(b=c),A.load(b)}function l(a){B.setValue(a);var b=new Date,c=(b.getTime()-a.loadedTime.getTime())/1e3;w=C.getManifestUpdatePeriod(a,c),1e3*w>2147483647&&(w=2147483.647),t.trigger(i.default.MANIFEST_UPDATED,{manifest:a}),v.info("Manifest has been refreshed at "+b+"["+b.getTime()/1e3+"] "),y||j()}function n(){if(!y||D.getScheduleWhilePaused())return z?void j(D.getManifestUpdateRetryInterval()):void k()}function o(a){a.error?E.manifestError(a.error.message,a.error.code):l(a.manifest)}function p(){y=!1,j()}function q(){y=!0,h()}function r(){z=!1}var s=this.context,t=(0,g.default)(s).getInstance(),u=void 0,v=void 0,w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0;return u={initialize:c,setManifest:d,refreshManifest:k,setConfig:b,reset:f},a(),u}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j),l=a(46),m=d(l);e.__dashjs_factory_name="ManifestUpdater",c.default=k.default.getClassFactory(e),b.exports=c.default},{46:46,47:47,48:48,51:51}],92:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){Qc=Oc.getLogger(Pc),Tc=!1,Vc=!1,Uc=!1,Wc=!0,$c=null,Sc=null,bd=null,Y.default.extend($.default),dd=(0,K.default)(Mc).getInstance(),ld=(0,Q.default)(Mc).getInstance()}function b(a){a&&(a.capabilities&&(fd=a.capabilities),a.streamController&&(gd=a.streamController),a.playbackController&&(hd=a.playbackController),a.mediaPlayerModel&&(dd=a.mediaPlayerModel),a.abrController&&(Xc=a.abrController),a.mediaController&&(Zc=a.mediaController))}function c(a,b,c){if(fd||(fd=(0,y.default)(Mc).getInstance()),ed=(0,w.default)(Mc).getInstance(),!fd.supportsMediaSource())return void ed.capabilityError("mediasource");Tc||(Tc=!0,Yc=(0,ja.default)(Mc).getInstance(),Xc||(Xc=(0,O.default)(Mc).getInstance()),hd||(hd=(0,m.default)(Mc).getInstance()),Zc||(Zc=(0,q.default)(Mc).getInstance()),bd=(0,da.default)(Mc).getInstance(),jd=(0,fa.default)(Mc).getInstance({mediaController:Zc,timelineConverter:Yc,adapter:bd}
26),kd=(0,I.default)(Mc).getInstance(),id=(0,ha.default)(Mc).getInstance({manifestModel:kd,dashManifestModel:jd}),cd=(0,M.default)(Mc).getInstance(),md=(0,E.default)(Mc).getInstance(),nd=(0,S.default)(Mc).getInstance({mediaPlayerModel:dd}),bd.setConfig({dashManifestModel:jd}),cd.setConfig({adapter:bd}),eb(),Ga(void 0===c||c),a&&Xb(a),b&&rc(b),Qc.info("[dash.js "+j()+"] MediaPlayer has been initialized"))}function d(){rc(null),Xb(null),Sc=null,$c&&($c.reset(),$c=null),_c&&(_c.reset(),_c=null)}function e(){return!!Rc&&!!ld.getElement()}function f(a,b,c){Nc.on(a,b,c)}function h(a,b,c){Nc.off(a,b,c)}function j(){return(0,ba.getVersionString)()}function l(){return Oc}function n(){if(ld.getElement()||Uc)return!1;if(!Rc)throw Ic;Ec()}function p(){if(!Vc)throw Gc;(!Wc||t()&&Vc)&&hd.play()}function r(){if(!Vc)throw Gc;hd.pause()}function t(){if(!Vc)throw Gc;return hd.isPaused()}function v(a){if(!Vc)throw Gc;if("number"!=typeof a||isNaN(a))throw Kc;var b=hd.getIsDynamic()?V(a):a;hd.seek(b)}function x(){if(!Vc)throw Gc;return hd.isSeeking()}function z(){if(!Vc)throw Gc;return hd.getIsDynamic()}function B(a){if(!ld.getElement())throw Hc;Ub().playbackRate=a}function D(){if(!ld.getElement())throw Hc;return Ub().playbackRate}function F(a){if("number"!=typeof a||isNaN(a)||a<0||a>.2)throw Lc;hd.setCatchUpPlaybackRate(a)}function H(){return hd.getCatchUpPlaybackRate()}function J(a){if(!ld.getElement())throw Hc;Ub().muted=a}function L(){if(!ld.getElement())throw Hc;return Ub().muted}function N(a){if(!ld.getElement())throw Hc;Ub().volume=a}function P(){if(!ld.getElement())throw Hc;return Ub().volume}function R(a){var b=[g.default.VIDEO,g.default.AUDIO,g.default.FRAGMENTED_TEXT];if(a){if(-1!==b.indexOf(a)){var c=Ib().getCurrentBufferLevel(Jb(a));return c||NaN}return Qc.warn("getBufferLength requested for invalid type"),NaN}var c=b.map(function(a){return ac(a).length>0?Ib().getCurrentBufferLevel(Jb(a)):Number.MAX_VALUE}).reduce(function(a,b){return Math.min(a,b)});return c===Number.MAX_VALUE?NaN:c}function T(){var a=Bc();return a?a.manifestInfo.DVRWindowSize:0}function V(a){var b=Bc();if(!b)return 0;var c=hd.getLiveDelay(),d=b.range.start+a;return d>b.range.end-c&&(d=b.range.end-c),d}function X(a){if(!Vc)throw Gc;var b=Ub().currentTime;if(void 0!==a)b=gd.getTimeRelativeToStreamId(b,a);else if(hd.getIsDynamic()){var c=Bc();b=null===c?0:Z()-(c.range.end-c.time)}return b}function Z(){if(!Vc)throw Gc;var a=Ub().duration;if(hd.getIsDynamic()){var b=Bc(),c=void 0;if(!b)return 0;c=b.range.end-b.range.start,a=c<b.manifestInfo.DVRWindowSize?c:b.manifestInfo.DVRWindowSize}return a}function _(){if(!Vc)throw Gc;return X()<0?NaN:Cc(X())}function ca(){if(!Vc)throw Gc;return Cc(Z())}function ea(a,b){Xc.setMaxAllowedBitrateFor(a,b)}function ga(a,b){Xc.setMinAllowedBitrateFor(a,b)}function ia(a){return Xc.getMaxAllowedBitrateFor(a)}
vendor: 4,392 bytes, line 26
26function la(a){if(!Uc)throw Fc;return Xc.getTopBitrateInfoFor(a)}function na(a){return Xc.getMinAllowedBitrateFor(a)}function pa(a,b){Xc.setMaxAllowedRepresentationRatioFor(a,b)}function qa(a){return Xc.getMaxAllowedRepresentationRatioFor(a)}function ra(a){if(!Uc)throw Fc;if(a===g.default.IMAGE){var b=Dc();if(!b)return-1;var c=b.getThumbnailController();return c?c.getCurrentTrackIndex():-1}return Xc.getQualityFor(a,gd.getActiveStreamInfo())}function sa(a,b){if(!Uc)throw Fc;if(a===g.default.IMAGE){var c=Dc();if(!c)return;var d=c.getThumbnailController();d&&d.setTrackByIndex(b)}Xc.setPlaybackQuality(a,gd.getActiveStreamInfo(),b)}function ta(){Xc.setElementSize(),Xc.setWindowResizeEventCalled(!0)}function ua(){return Xc.getLimitBitrateByPortal()}function va(a){Xc.setLimitBitrateByPortal(a)}function wa(){return Xc.getUsePixelRatioInLimitBitrateByPortal()}function xa(a){Xc.setUsePixelRatioInLimitBitrateByPortal(a)}function ya(a,b){Xc.setInitialBitrateFor(a,b)}function za(a){if(!Uc)throw Fc;return Xc.getInitialBitrateFor(a)}function Aa(a,b){Xc.setInitialRepresentationRatioFor(a,b)}function Ba(a){return Xc.getInitialRepresentationRatioFor(a)}function Ca(a){return Xc.getAutoSwitchBitrateFor(a)}function Da(a,b){Xc.setAutoSwitchBitrateFor(a,b)}function Ea(){return Xc.getUseDeadTimeLatency()}function Fa(a){if("boolean"!=typeof a)throw Kc;Xc.setUseDeadTimeLatency(a)}function Ga(a){Wc=a}function Ha(){return Wc}function Ia(a){dd.setLiveDelayFragmentCount(a)}function Ja(a){dd.setLiveDelay(a)}function Ka(){return dd.getLiveDelay()}function La(){if(!Tc)throw Jc;return Vc?hd.getCurrentLiveLatency():NaN}function Ma(a){dd.setUseSuggestedPresentationDelay(a)}function Na(a,b){dd.setLastBitrateCachingInfo(a,b)}function Oa(a,b){dd.setLastMediaSettingsCachingInfo(a,b)}function Pa(a){dd.setScheduleWhilePaused(a)}function Qa(){return dd.getScheduleWhilePaused()}function Ra(a){dd.setFastSwitchEnabled(a)}function Sa(){return dd.getFastSwitchEnabled()}function Ta(a){a===g.default.ABR_STRATEGY_DYNAMIC||a===g.default.ABR_STRATEGY_BOLA||a===g.default.ABR_STRATEGY_THROUGHPUT?dd.setABRStrategy(a):Qc.warn("Ignoring setABRStrategy("+a+") - unknown value.")}function Ua(){return dd.getABRStrategy()}function Va(a){dd.setUseDefaultABRRules(a)}function Wa(a,b,c){dd.addABRCustomRule(a,b,c)}function Xa(a){dd.removeABRCustomRule(a)}function Ya(){dd.removeAllABRCustomRule()}function Za(a){a===g.default.MOVING_AVERAGE_SLIDING_WINDOW||a===g.default.MOVING_AVERAGE_EWMA?dd.setMovingAverageMethod(a):Qc.warn("Warning: Ignoring setMovingAverageMethod("+a+") - unknown value.")}function $a(){return dd.getMovingAverageMethod()}function _a(){return dd.getLowLatencyEnabled()}function ab(a){dd.setLowLatencyEnabled(a)}function bb(a,b){cb(a,b);var c=new k.default;c.schemeIdUri=a,c.value=b,dd.getUTCTimingSources().push(c)}function cb(a,b){var c=dd.getUTCTimingSources();c.forEach(function(d,e){d.schemeIdUri===a&&d.value===b&&c.splice(e,1)})}function db(){dd.setUTCTimingSources([])}function eb(){bb(K.default.DEFAULT_UTC_TIMING_SOURCE.scheme,K.default.DEFAULT_UTC_TIMING_SOURCE.value)}function fb(a){dd.setUseManifestDateHeaderTimeSource(a)}function gb(a){dd.setBufferToKeep(a)}function hb(a){dd.setBufferAheadToKeep(a)}function ib(a){dd.setBufferPruningInterval(a)}function jb(a){dd.setStableBufferTime(a)}function kb(){return dd.getStableBufferTime()}function lb(a){dd.setBufferTimeAtTopQuality(a)}function mb(){return dd.getBufferTimeAtTopQuality()}function nb(a){dd.setBufferTimeAtTopQualityLongForm(a)}function ob(){return dd.getBufferTimeAtTopQualityLongForm()}function pb(a){dd.setLongFormContentDurationThreshold(a)}function qb(a){dd.setSegmentOverlapToleranceTime(a)}function rb(a,b){dd.setCacheLoadThresholdForType(a,b)}function sb(a){dd.setBandwidthSafetyFactor(a)}function tb(){return dd.getBandwidthSafetyFactor()}function ub(a){var b=Xc.getThroughputHistory();return b?b.getAverageThroughput(a):0}function vb(a){dd.setAbandonLoadTimeout(a)}function wb(a){dd.setFragmentRetryAttempts(a)}function xb(a){dd.setFragmentRetryInterval(a)}function yb(a){dd.setManifestRetryAttempts(a)}function zb(a){dd.setManifestRetryInterval(a)}function Ab(a,b){dd.setXHRWithCredentialsForType(a,b)}function Bb(a){return dd.getXHRWithCredentialsForType(a)}function Cb(a){dd.setJumpGaps(a)}function Db(){return dd.getJumpGaps()}function Eb(a){dd.setSmallGapLimit(a)}function Fb(){return dd.getSmallGapLimit()}
26function Gb(a){dd.setManifestUpdateRetryInterval(a)}function Hb(){return dd.getManifestUpdateRetryInterval()}function Ib(){return id}function Jb(a){return cd.getReadOnlyMetricsFor(a)}function Kb(a){void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.setTextDefaultLanguage(a)}function Lb(){return void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.getTextDefaultLanguage()}function Mb(a){void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.setTextDefaultEnabled(a)}function Nb(){return void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.getTextDefaultEnabled()}function Ob(a){void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.enableText(a)}function Pb(a){void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.enableForcedTextStreaming(a)}function Qb(){return void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.isTextEnabled()}function Rb(a){if(!Vc)throw Gc;void 0===md&&(md=(0,E.default)(Mc).getInstance()),md.setTextTrack(a)}function Sb(){var a=NaN;return md&&(a=md.getCurrentTrackIdx()),a}function Tb(a){var b=(0,A.default)(Mc).getInstance();b.setConfig({videoModel:ld}),b.initialize(),b.displayCConTop(a)}function Ub(){if(!ld.getElement())throw Hc;return ld.getElement()}function Vb(){return ld?ld.getVideoContainer():null}function Wb(a){if(!ld.getElement())throw Hc;ld.setVideoContainer(a)}function Xb(a){if(!Tc)throw Jc;ld.setElement(a),a&&(yc(),zc(),Ac(),gd&&gd.switchToVideoElement()),Vc&&vc(),Ec()}function Yb(){return ld?ld.getTTMLRenderingDiv():null}function Zb(a){if(!ld.getElement())throw Hc;ld.setTTMLRenderingDiv(a)}function $b(a){if(!Uc)throw Fc;var b=Dc();return b?b.getBitrateListFor(a):[]}function _b(a){if(!Uc)throw Fc;return bd.getStreamsInfo(a)}function ac(a){if(!Uc)throw Fc;var b=gd.getActiveStreamInfo();return b?Zc.getTracksFor(a,b):[]}function bc(a,b,c){if(!Uc)throw Fc;return c=c||bd.getStreamsInfo(b,1)[0],c?bd.getAllMediaInfoForType(c,a,b):[]}function cc(a){if(!Uc)throw Fc;var b=gd.getActiveStreamInfo();return b?Zc.getCurrentTrackFor(a,b):null}function dc(a,b){if(!Tc)throw Jc;Zc.setInitialSettings(a,b)}function ec(a){if(!Tc)throw Jc;return Zc.getInitialSettings(a)}function fc(a){if(!Uc)throw Fc;Zc.setTrack(a)}function gc(a){if(!Tc)throw Jc;return Zc.getSwitchMode(a)}function hc(a,b){if(!Tc)throw Jc;Zc.setSwitchMode(a,b)}function ic(a){if(!Tc)throw Jc;Zc.setSelectionModeForInitialTrack(a)}function jc(){if(!Tc)throw Jc;return Zc.getSelectionModeForInitialTrack()}function kc(){return yc()}function lc(a){$c=a}function mc(a){Sc=a,gd&&gd.setProtectionData(Sc)}function nc(a){if(a<0)return null;var b=hd.getIsDynamic()?V(a):a,c=gd.getStreamForTime(b);if(null===c)return null;var d=c.getThumbnailController(),e=c.getStreamInfo();if(!d||!e)return null;var f=gd.getTimeRelativeToStreamId(b,c.getId());return d.get(f)}function oc(a){dd.setKeepProtectionMediaKeys(a)}function pc(a,b){var c=xc(),d=this,e=function a(e){e.error?b(null,e.error):b(e.manifest),Nc.off(Y.default.INTERNAL_MANIFEST_LOADED,a,d),c.reset()};Nc.on(Y.default.INTERNAL_MANIFEST_LOADED,e,d),(0,G.default)(Mc).getInstance().initialize(a),c.load(a)}function qc(){if(!Rc)throw Ic;return Rc}function rc(a){if(!Tc)throw Jc;"string"==typeof a&&(0,G.default)(Mc).getInstance().initialize(a),Rc=a,(Uc||Vc)&&vc(),e()&&Ec()}function sc(a,b,c){var d=!(arguments.length<=3||void 0===arguments[3])&&arguments[3],e=new Date(1e3*a),f=e.toLocaleDateString(b),g=e.toLocaleTimeString(b,{hour12:c});return d?g+" "+f:g}function tc(a){a=Math.max(a,0);var b=Math.floor(a/3600),c=Math.floor(a%3600/60),d=Math.floor(a%3600%60);return(0===b?"":b<10?"0"+b.toString()+":":b.toString()+":")+(c<10?"0"+c.toString():c.toString())+":"+(d<10?"0"+d.toString():d.toString())}function uc(a,b,c){aa.default.extend(a,b,c,Mc)}function vc(){Vc=!1,Uc=!1,bd.reset(),gd.reset(),hd.reset(),Xc.reset(),Zc.reset(),md.reset(),$c&&(dd.getKeepProtectionMediaKeys()?$c.stop():($c.reset(),$c=null,yc()))}function wc(){var a=xc();gd||(gd=(0,o.default)(Mc).getInstance()),Zc.setConfig({errHandler:ed,domStorage:nd}),gd.setConfig({capabilities:fd,manifestLoader:a,manifestModel:kd,dashManifestModel:jd,mediaPlayerModel:dd,protectionController:$c,adapter:bd,metricsModel:cd,dashMetrics:id,errHandler:ed,timelineConverter:Yc,videoModel:ld,playbackController:hd,domStorage:nd,abrController:Xc,mediaController:Zc,textController:md}
26),hd.setConfig({streamController:gd,metricsModel:cd,dashMetrics:id,manifestModel:kd,mediaPlayerModel:dd,dashManifestModel:jd,adapter:bd,videoModel:ld}),Xc.setConfig({streamController:gd,domStorage:nd,mediaPlayerModel:dd,metricsModel:cd,dashMetrics:id,dashManifestModel:jd,manifestModel:kd,videoModel:ld,adapter:bd}),Xc.createAbrRulesCollection(),md.setConfig({errHandler:ed,manifestModel:kd,dashManifestModel:jd,mediaController:Zc,streamController:gd,videoModel:ld}),gd.initialize(Wc,Sc)}function xc(){return(0,u.default)(Mc).create({errHandler:ed,metricsModel:cd,mediaPlayerModel:dd,requestModifier:(0,C.default)(Mc).getInstance(),mssHandler:ad})}function yc(){if($c)return $c;var a=dashjs.Protection;if("function"==typeof a){var b=a(Mc).create();return Y.default.extend(a.events),$.default.extend(a.events,{publicOnly:!0}),fd||(fd=(0,y.default)(Mc).getInstance()),$c=b.createProtectionSystem({debug:Oc,errHandler:ed,videoModel:ld,capabilities:fd,eventBus:Nc,events:Y.default,BASE64:ma.default,constants:g.default})}return null}function zc(){if(!_c){var a=dashjs.MetricsReporting;if("function"==typeof a){var b=a(Mc).create();_c=b.createMetricsReporting({debug:Oc,eventBus:Nc,mediaElement:Ub(),dashManifestModel:jd,metricsModel:cd,events:Y.default,constants:g.default,metricsConstants:i.default})}}}function Ac(){if(!ad){var a=dashjs.MssHandler;"function"==typeof a&&(ad=a(Mc).create({eventBus:Nc,mediaPlayerModel:dd,metricsModel:cd,playbackController:hd,protectionController:$c,baseURLController:(0,s.default)(Mc).getInstance(),errHandler:ed,events:Y.default,constants:g.default,debug:Oc,initSegmentType:ka.HTTPRequest.INIT_SEGMENT_TYPE,BASE64:ma.default,ISOBoxer:oa.default}))}}function Bc(){var a=cd.getReadOnlyMetricsFor(g.default.VIDEO)||cd.getReadOnlyMetricsFor(g.default.AUDIO);return id.getCurrentDVRInfo(a)}function Cc(a){var b=Bc(),c=void 0;return b?(c=b.manifestInfo.availableFrom.getTime()/1e3,a+(c+b.range.start)):0}function Dc(){if(!Uc)throw Fc;var a=gd.getActiveStreamInfo();return a?gd.getStreamById(a.id):null}function Ec(){!Uc&&Rc&&(Uc=!0,Qc.info("Streaming Initialized"),wc(),"string"==typeof Rc?gd.load(Rc):gd.loadWithManifest(Rc)),!Vc&&e()&&(Vc=!0,Qc.info("Playback Initialized"))}var Fc="You must first call initialize() and set a source before calling this method",Gc="You must first call initialize() and set a valid source and view before calling this method",Hc="You must first call attachView() to set the video element before calling this method",Ic="You must first call attachSource() with a valid source before calling this method",Jc="MediaPlayer not initialized!",Kc="MediaPlayer Invalid Arguments!",Lc="Playback catchup rate invalid argument! Use a number from 0 to 0.2",Mc=this.context,Nc=(0,W.default)(Mc).getInstance(),Oc=(0,U.default)(Mc).getInstance(),Pc=void 0,Qc=void 0,Rc=void 0,Sc=void 0,Tc=void 0,Uc=void 0,Vc=void 0,Wc=void 0,Xc=void 0,Yc=void 0,Zc=void 0,$c=void 0,_c=void 0,ad=void 0,bd=void 0,cd=void 0,dd=void 0,ed=void 0,fd=void 0,gd=void 0,hd=void 0,id=void 0,jd=void 0,kd=void 0,ld=void 0,md=void 0,nd=void 0;return Pc={initialize:c,setConfig:b,on:f,off:h,extend:uc,attachView:Xb,attachSource:rc,isReady:e,preload:n,play:p,isPaused:t,pause:r,isSeeking:x,isDynamic:z,seek:v,setPlaybackRate:B,getPlaybackRate:D,setCatchUpPlaybackRate:F,getCatchUpPlaybackRate:H,setMute:J,isMuted:L,setVolume:N,getVolume:P,time:X,duration:Z,timeAsUTC:_,durationAsUTC:ca,getActiveStream:Dc,getDVRWindowSize:T,getDVRSeekOffset:V,convertToTimeCode:tc,formatUTC:sc,getVersion:j,getDebug:l,getBufferLength:R,getVideoContainer:Vb,getTTMLRenderingDiv:Yb,getVideoElement:Ub,getSource:qc,setLiveDelayFragmentCount:Ia,setLiveDelay:Ja,getLiveDelay:Ka,getCurrentLiveLatency:La,useSuggestedPresentationDelay:Ma,enableLastBitrateCaching:Na,enableLastMediaSettingsCaching:Oa,setMaxAllowedBitrateFor:ea,getMaxAllowedBitrateFor:ia,getTopBitrateInfoFor:la,setMinAllowedBitrateFor:ga,getMinAllowedBitrateFor:na,setMaxAllowedRepresentationRatioFor:pa,getMaxAllowedRepresentationRatioFor:qa,setAutoPlay:Ga,getAutoPlay:Ha,setScheduleWhilePaused:Pa,getScheduleWhilePaused:Qa,getDashMetrics:Ib,getMetricsFor:Jb,getQualityFor:ra,setQualityFor:sa,updatePortalSize:ta,getLimitBitrateByPortal:ua,setLimitBitrateByPortal:va,getUsePixelRatioInLimitBitrateByPortal:wa,setUsePixelRatioInLimitBitrateByPortal:xa,setTextDefaultLanguage:Kb,getTextDefaultLanguage:Lb,setTextDefaultEnabled:Mb,getTextDefaultEnabled:Nb,enableText:Ob,enableForcedTextStreaming:Pb,isTextEnabled:Qb,setTextTrack:Rb,getBitrateInfoListFor:$b,setInitialBitrateFor:ya,getInitialBitrateFor:za,setInitialRepresentationRatioFor:Aa,getInitialRepresentationRatioFor:Ba,getStreamsFromManifest:_b,getTracksFor:ac,getTracksForTypeFromManifest:bc,getCurrentTrackFor:cc,setInitialMediaSettingsFor:dc,getInitialMediaSettingsFor:ec,setCurrentTrack:fc,getTrackSwitchModeFor:gc,setTrackSwitchModeFor:hc,setSelectionModeForInitialTrack:ic,getSelectionModeForInitialTrack:jc,setFastSwitchEnabled:Ra,getFastSwitchEnabled:Sa,setMovingAverageMethod:Za,getMovingAverageMethod:$a,getAutoSwitchQualityFor:Ca,setAutoSwitchQualityFor:Da,setABRStrategy:Ta,getABRStrategy:Ua,useDefaultABRRules:Va,addABRCustomRule:Wa,removeABRCustomRule:Xa,removeAllABRCustomRule:Ya,setBandwidthSafetyFactor:sb,getBandwidthSafetyFactor:tb,getAverageThroughput:ub,setAbandonLoadTimeout:vb,retrieveManifest:pc,addUTCTimingSource:bb,removeUTCTimingSource:cb,clearDefaultUTCTimingSources:db,restoreDefaultUTCTimingSources:eb,setBufferToKeep:gb,setBufferAheadToKeep:hb,setBufferPruningInterval:ib,setStableBufferTime:jb,getStableBufferTime:kb,setBufferTimeAtTopQuality:lb,getBufferTimeAtTopQuality:mb,setBufferTimeAtTopQualityLongForm:nb,getBufferTimeAtTopQualityLongForm:ob,setFragmentLoaderRetryAttempts:wb,setFragmentLoaderRetryInterval:xb,setManifestLoaderRetryAttempts:yb,setManifestLoaderRetryInterval:zb,setXHRWithCredentialsForType:Ab,getXHRWithCredentialsForType:Bb,setJumpGaps:Cb,getJumpGaps:Db,setSmallGapLimit:Eb,getSmallGapLimit:Fb,getLowLatencyEnabled:_a,setLowLatencyEnabled:ab,setManifestUpdateRetryInterval:Gb,getManifestUpdateRetryInterval:Hb,setLongFormContentDurationThreshold:pb,setSegmentOverlapToleranceTime:qb,setCacheLoadThresholdForType:rb,getProtectionController:kc,attachProtectionController:lc,setProtectionData:mc,enableManifestDateHeaderTimeSource:fb,displayCaptionsOnTop:Tb,attachVideoContainer:Wb,attachTTMLRenderingDiv:Zb,getCurrentTextTrackIndex:Sb,getUseDeadTimeLatencyForAbr:Ea,setUseDeadTimeLatencyForAbr:Fa,getThumbnail:nc,keepProtectionMediaKeys:oc,reset:d},a(),Pc}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(101),i=d(h),j=a(88),k=d(j),l=a(111),m=d(l),n=a(113),o=d(n),p=a(109),q=d(p),r=a(104),s=d(r),t=a(90),u=d(t),v=a(201),w=d(v),x=a(197),y=d(x),z=a(192),A=d(z),B=a(206),C=d(B),D=a(190),E=d(D),F=a(144),G=d(F),H=a(141),I=d(H),J=a(142),K=d(J),L=a(143),M=d(L),N=a(103),O=d(N),P=a(145),Q=d(P),R=a(199),S=d(R),T=a(46),U=d(T),V=a(47),W=d(V),X=a(51),Y=d(X),Z=a(93),$=d(Z),_=a(48),aa=d(_),ba=a(49),ca=a(53),da=d(ca),ea=a(60),fa=d(ea),ga=a(55),ha=d(ga),ia=a(78),ja=d(ia),ka=a(233),la=a(1),ma=d(la),na=a(6),oa=d(na);e.__dashjs_factory_name="MediaPlayer";var pa=aa.default.getClassFactory(e);pa.events=$.default,aa.default.updateClassFactory(e.__dashjs_factory_name,pa),c.default=pa,b.exports=c.default},{1:1,100:100,101:101,103:103,104:104,109:109,111:111,113:113,141:141,142:142,143:143,144:144,145:145,190:190,192:192,197:197,199:199,201:201,206:206,233:233,46:46,47:47,48:48,49:49,51:51,53:53,55:55,6:6,60:60,78:78,88:88,90:90,93:93}],93:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(52),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.AST_IN_FUTURE="astInFuture",this.BUFFER_EMPTY="bufferStalled",this.BUFFER_LOADED="bufferLoaded",this.BUFFER_LEVEL_STATE_CHANGED="bufferStateChanged",this.ERROR="error",this.FRAGMENT_LOADING_COMPLETED="fragmentLoadingCompleted",this.FRAGMENT_LOADING_PROGRESS="fragmentLoadingProgress",this.FRAGMENT_LOADING_STARTED="fragmentLoadingStarted",this.FRAGMENT_LOADING_ABANDONED="fragmentLoadingAbandoned",this.LOG="log",this.MANIFEST_LOADED="manifestLoaded",this.METRICS_CHANGED="metricsChanged",this.METRIC_CHANGED="metricChanged",this.METRIC_ADDED="metricAdded",this.METRIC_UPDATED="metricUpdated",this.PERIOD_SWITCH_COMPLETED="periodSwitchCompleted",this.PERIOD_SWITCH_STARTED="periodSwitchStarted",this.QUALITY_CHANGE_REQUESTED="qualityChangeRequested",this.QUALITY_CHANGE_RENDERED="qualityChangeRendered",this.TRACK_CHANGE_RENDERED="trackChangeRendered",this.SOURCE_INITIALIZED="sourceInitialized",this.STREAM_INITIALIZED="streamInitialized",this.STREAM_TEARDOWN_COMPLETE="streamTeardownComplete",this.TEXT_TRACKS_ADDED="allTextTracksAdded",this.TEXT_TRACK_ADDED="textTrackAdded",this.TTML_PARSED="ttmlParsed",this.TTML_TO_PARSE="ttmlToParse",this.CAPTION_RENDERED="captionRendered",this.CAPTION_CONTAINER_RESIZE="captionContainerResize",this.CAN_PLAY="canPlay",this.PLAYBACK_CATCHUP_START="playbackCatchupStart",this.PLAYBACK_CATCHUP_END="playbackCatchupEnd",this.PLAYBACK_ENDED="playbackEnded",this.PLAYBACK_ERROR="playbackError",this.PLAYBACK_NOT_ALLOWED="playbackNotAllowed",this.PLAYBACK_METADATA_LOADED="playbackMetaDataLoaded",this.PLAYBACK_PAUSED="playbackPaused",this.PLAYBACK_PLAYING="playbackPlaying",this.PLAYBACK_PROGRESS="playbackProgress",this.PLAYBACK_RATE_CHANGED="playbackRateChanged",this.PLAYBACK_SEEKED="playbackSeeked",this.PLAYBACK_SEEKING="playbackSeeking",this.PLAYBACK_SEEK_ASKED="playbackSeekAsked",this.PLAYBACK_STALLED="playbackStalled",this.PLAYBACK_STARTED="playbackStarted",this.PLAYBACK_TIME_UPDATED="playbackTimeUpdated",this.PLAYBACK_WAITING="playbackWaiting",this.MANIFEST_VALIDITY_CHANGED="manifestValidityChanged"}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{52:52}],94:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b,c){if(!a||!/^VIDEO$/i.test(a.nodeName))return null;if(a._dashjs_player)return a._dashjs_player;var f=void 0,g=a.id||a.name||"video element";if(!(b=b||[].slice.call(a.querySelectorAll("source")).filter(function(a){return a.type==d})[0])&&a.src)b=document.createElement("source"),
27b.src=a.src;else if(!b&&!a.src)return null;return c=c||{},f=(0,i.default)(c).create(),f.initialize(a,b.src,a.autoplay),e||(e=f.getDebug().getLogger()),e.debug("Converted "+g+" to dash.js player and added content: "+b.src),a._dashjs_player=f,f}function b(b,e){var f=[];b=b||"[data-dashjs-player]",e=e||document;for(var g=e.querySelectorAll(b),h=0;h<g.length;h++){var i=a(g[h],null);f.push(i)}for(var j=e.querySelectorAll('source[type="'+d+'"]'),h=0;h<j.length;h++){var k=c(j[h]),i=a(k,null);f.push(i)}return f}function c(a){for(var b=!0;b;){var c=a;if(b=!1,/^VIDEO$/i.test(c.nodeName))return c;a=c.parentNode,b=!0}}
27var d="application/dash+xml",e=void 0;return{create:a,createAll:b}}function f(){window.removeEventListener("load",f),j.createAll()}function g(){window.dashjs&&(window.clearInterval(k),j.createAll())}Object.defineProperty(c,"__esModule",{value:!0});var h=a(92),i=d(h),j=e(),k=void 0;!("undefined"!=typeof window&&window&&window.dashjs&&window.dashjs.skipAutoCreate)&&"undefined"!=typeof window&&window&&window.addEventListener&&("complete"===window.document.readyState?window.dashjs?j.createAll():k=window.setInterval(g,500):window.addEventListener("load",f)),c.default=j,b.exports=c.default},{92:92}],95:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){n=(0,g.default)(l).getInstance().getLogger(m)}function c(){o=[],p=null,q=null}function d(a){"InitializationSegment"!==a.segmentType?(o.push(a),o.sort(function(a,b){return a.start-b.start}),p=null):p=a,n.debug("PreBufferSink appended chunk s: "+a.start+"; e: "+a.end),q&&q({chunk:a})}function e(a,b){o=o.filter(function(c){return!((isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a))})}function f(){}function h(){for(var a=[],b=0;b<o.length;b++){var c=o[b];0===a.length||c.start>a[a.length-1].end?a.push({start:c.start,end:c.end}):a[a.length-1].end=c.end}var d={start:function(b){return a[b].start},end:function(b){return a[b].end}};return Object.defineProperty(d,"length",{get:function(){return a.length}}),d}function i(){}function j(a,b){var c=k(a,b);return p&&(c.push(p),p=null),e(a,b),c}function k(a,b){return o.filter(function(c){return(isNaN(b)||c.start<b)&&(isNaN(a)||c.end>a)})}var l=this.context,m=void 0,n=void 0,o=[],p=void 0,q=a;return m={getAllBufferRanges:h,append:d,remove:e,abort:f,discharge:j,reset:c,updateTimestampOffset:i},b(),m}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(48),i=d(h);e.__dashjs_factory_name="PreBufferSink";var j=i.default.getClassFactory(e);c.default=j,b.exports=c.default},{46:46,48:48}],96:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c,d){function e(){C=(0,g.default)(z).getInstance().getLogger(B),E=!1;var c=b.codec;try{if(c.match(/application\/mp4;\s*codecs="(stpp|wvtt).*"/i))throw new Error("not really supported");D=d||a.addSourceBuffer(c);var e=50;if("function"==typeof D.addEventListener)try{D.addEventListener("updateend",w,!1),D.addEventListener("error",x,!1),D.addEventListener("abort",x,!1)}catch(h){I=setInterval(v,e)}else I=setInterval(v,e)}catch(i){if(!b.isText&&-1===c.indexOf('codecs="stpp')&&-1===c.indexOf('codecs="wvtt'))throw i;var f=(0,q.default)(z).getInstance();D=f.getTextSourceBuffer()}}function f(b){if(D){if("function"==typeof D.removeEventListener&&(D.removeEventListener("updateend",w,!1),D.removeEventListener("error",x,!1),D.removeEventListener("abort",x,!1)),clearInterval(I),!b){try{D.getClassName&&"TextSourceBuffer"===D.getClassName()||a.removeSourceBuffer(D)}catch(c){C.error("Failed to remove source buffer from media source.")}D=null}E=!1}G=[],H=null}function h(){return D}function j(){try{return D.buffered}catch(a){return C.error("getAllBufferRanges exception: "+a.message),null}}function l(a){G.push(a),E||y(D,p.bind(this))}function n(a){D.timestampOffset===a||isNaN(a)||y(D,function(){D.timestampOffset=a})}function o(b,c,d){var e=this;y(D,function(){try{b>=0&&c>b&&(d||"ended"!==a.readyState)&&D.remove(b,c),y(D,function(){A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1})})}catch(f){A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:e,from:b,to:c,unintended:!1,error:new i.default(f.code,f.message,null)})}})}function p(){var a=this,b=this;G.length>0&&function(){E=!0;var c=G[0];G.splice(0,1);var d=[],e=function(){var a=j();r(b,d,a,c),G.length>0?p.call(this):(E=!1,H&&H({chunk:c}))};try{0===c.bytes.length?e.call(a):(d=j(),D.appendBuffer?D.appendBuffer(c.bytes):D.append(c.bytes,c),y(D,e.bind(a)))}catch(f){C.fatal('SourceBuffer append failed "'+f+'"'),G.length>0?p():E=!1,H&&H({chunk:c,error:new i.default(f.code,f.message,null)})}}()}function r(a,b,c,d){b&&b.length>0&&b.length<c.length&&s(b,d)&&A.trigger(m.default.SOURCEBUFFER_REMOVE_COMPLETED,{buffer:a,from:c.end(c.length-2),to:c.start(c.length-1),unintended:!0})}function s(a,b){for(var c=0;c<a.length;c++){var d=Math.round(a.start(c)),e=Math.round(a.end(c));if(e===b.start||d===b.end||b.start>=d&&b.end<=e)return!0}return!1}function t(){try{"open"===a.readyState?D.abort():D.setTextTrack&&"ended"===a.readyState&&D.abort()}catch(b){C.error('SourceBuffer append abort failed: "'+b+'"')}G=[]}function u(){if(F.length>0){var a=F.shift();D.updating?y(D,a):(a(),u())}}function v(){D.updating||u()}function w(){D.updating||u()}function x(){C.error("SourceBufferSink error",b.type)}function y(a,b){F.push(b),a.updating||u()}var z=this.context,A=(0,k.default)(z).getInstance(),B=void 0,C=void 0,D=void 0,E=void 0,F=[],G=[],H=c,I=void 0;return B={getAllBufferRanges:j,getBuffer:h,append:l,remove:o,abort:t,reset:f,updateTimestampOffset:n},e(),B}Object.defineProperty(c,"__esModule",{value:!0});var f=a(46),g=d(f),h=a(213),i=d(h),j=a(47),k=d(j),l=a(51),m=d(l),n=a(48),o=d(n),p=a(190),q=d(p);e.__dashjs_factory_name="SourceBufferSink";var r=o.default.getClassFactory(e);c.default=r,b.exports=c.default},{190:190,213:213,46:46,47:47,48:48,51:51}],97:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){oa=(0,u.default)(Z).getInstance().getLogger(na),j(),wa=(0,m.default)(Z).create({mediaPlayerModel:ba,metricsModel:ha,errHandler:fa}),$.on(s.default.BUFFERING_COMPLETED,N,na),$.on(s.default.DATA_UPDATE_COMPLETED,O,na)}function c(a,b){sa=a,(va=b)&&($.on(s.default.KEY_ERROR,C,na),$.on(s.default.SERVER_CERTIFICATE_UPDATED,C,na),$.on(s.default.LICENSE_REQUEST_COMPLETE,C,na),$.on(s.default.KEY_SYSTEM_SELECTED,C,na),$.on(s.default.KEY_SESSION_CREATED,C,na),$.on(s.default.KEY_STATUSES_CHANGED,C,na))}function d(a,b){if(!qa){var c=void 0;return W()?(I(),c=b):c=H(a,b),$.on(s.default.CURRENT_TRACK_CHANGED,E,na),qa=!0,c}return b}function e(a){for(var b=pa?pa.length:0,c=!1,d=0;d<b;d++){pa[d].getFragmentModel().removeExecutedRequestsBeforeTime(p()+n()),pa[d].reset(c,a)}pa=[],qa=!1,ra=!1,V(!1),$.off(s.default.CURRENT_TRACK_CHANGED,E,na)}function f(){return qa}function h(a){for(var b=0;b<pa.length;)D(pa[b].getMediaInfo())?(pa[b].setMediaSource(a),b++):(pa[b].reset(),pa.splice(b,1));for(var b=0;b<pa.length;b++)pa[b].dischargePreBuffer();if(0===pa.length){var c="No streams to play.";fa.manifestError(c,"nostreams",_.getValue()),oa.fatal(c)}}function j(){e(),sa=null,ta={},ua=!1}function l(){ja&&ja.pause(),wa&&(wa.reset(),wa=null),j(),$.off(s.default.DATA_UPDATE_COMPLETED,O,na),$.off(s.default.BUFFERING_COMPLETED,N,na),$.off(s.default.KEY_ERROR,C,na),$.off(s.default.SERVER_CERTIFICATE_UPDATED,C,na),$.off(s.default.LICENSE_REQUEST_COMPLETE,C,na),$.off(s.default.KEY_SYSTEM_SELECTED,C,na),$.off(s.default.KEY_SESSION_CREATED,C,na),$.off(s.default.KEY_STATUSES_CHANGED,C,na),V(!1)}function n(){return sa?sa.duration:NaN}function p(){return sa?sa.start:NaN}function r(){return sa?sa.id:NaN}function t(){return sa}function v(){return ya}function w(){return wa}function x(){return xa}function y(){if(!(ia&&ia.hasOwnProperty("getBitrateList")&&da&&da.hasOwnProperty("getAllMediaInfoForType")&&da.hasOwnProperty("getEventsFor")))throw new Error("Missing config parameter(s)")}function z(a){if(y(),a===g.default.IMAGE)return xa?xa.getBitrateList(
27):[];var b=L(a);return ia.getBitrateList(b)}function A(){ya&&ya.start()}function B(){ya&&ya.stop()}function C(a){a.error&&(fa.mediaKeySessionError(a.error),oa.fatal(a.error),l())}function D(a){var b=a.type,c=void 0,d=void 0;if(b===g.default.MUXED&&a)return d="Multiplexed representations are intentionally not supported, as they are not compliant with the DASH-AVC/264 guidelines",oa.fatal(d),fa.manifestError(d,"multiplexedrep",_.getValue()),!1;if(b===g.default.TEXT||b===g.default.FRAGMENTED_TEXT||b===g.default.EMBEDDED_TEXT||b===g.default.IMAGE)return!0;if(c=a.codec,oa.debug(b+" codec: "+c),a.contentProtection&&!ea.supportsEncryptedMedia())fa.capabilityError("encryptedmedia");else if(!ea.supportsCodec(c))return d=b+"Codec ("+c+") is not supported.",oa.error(d),!1;return!0}function E(a){if(a.newMediaInfo.streamInfo.id===sa.id){var b=P(a.newMediaInfo);if(b){var c=ja.getTime();oa.info("Stream -  Process track changed at current time "+c);var d=a.newMediaInfo,e=_.getValue();oa.debug("Stream -  Update stream controller"),e.refreshManifestOnSwitchTrack?(oa.debug("Stream -  Refreshing manifest for switch track"),Aa=a,ca.refreshManifest()):(b.selectMediaInfo(d),d.type!==g.default.FRAGMENTED_TEXT?(ia.updateTopQualityIndex(d),b.switchTrackAsked(),b.getFragmentModel().abortRequests()):(b.getScheduleController().setSeekTarget(NaN),da.setIndexHandlerTime(b,c),da.resetIndexHandler(b)))}}}function F(b,c,d,e){var f=(0,i.default)(Z).create({type:b.type,mimeType:b.mimeType,timelineConverter:ga,adapter:da,manifestModel:_,dashManifestModel:aa,mediaPlayerModel:ba,metricsModel:ha,dashMetrics:a.dashMetrics,baseURLController:a.baseURLController,stream:na,abrController:ia,domStorage:a.domStorage,playbackController:ja,mediaController:ka,streamController:a.streamController,textController:la,errHandler:fa});if(f.initialize(d),ia.updateTopQualityIndex(b),e?(f.setBuffer(e.buffer),f.getIndexHandler().setCurrentTime(e.currentTime),pa[e.replaceIdx]=f):pa.push(f),!e||!e.ignoreMediaInfo)if(b.type===g.default.TEXT||b.type===g.default.FRAGMENTED_TEXT){for(var h=void 0,j=0;j<c.length;j++)c[j].index===b.index&&(h=j),f.addMediaInfo(c[j]);f.selectMediaInfo(c[h])}else f.addMediaInfo(b,!0)}function G(b,c){var d=da.getAllMediaInfoForType(sa,b),e=null,f=void 0;if(!d||0===d.length)return void oa.info("No "+b+" data.");for(var h=0,i=d.length;h<i;h++)if(e=d[h],b===g.default.EMBEDDED_TEXT)la.addEmbeddedTrack(e);else{if(!D(e))continue;ka.addTrack(e)}if(b!==g.default.EMBEDDED_TEXT&&0!==ka.getTracksFor(b,sa).length){if(b===g.default.IMAGE)return void(xa=(0,o.default)(Z).create({dashManifestModel:aa,adapter:da,baseURLController:a.baseURLController,stream:na}));(b!==g.default.FRAGMENTED_TEXT||b===g.default.FRAGMENTED_TEXT&&la.getTextDefaultEnabled())&&(ka.checkInitialMediaSettingsForType(b,sa),f=ka.getCurrentTrackFor(b,sa)),b!==g.default.FRAGMENTED_TEXT||la.getTextDefaultEnabled()||(f=ka.getTracksFor(b,sa)[0]),F(f,d,c)}}function H(a,b){y();var c=void 0,d=ma.getElement();ya||(ya=(0,k.default)(Z).create(),ya.setConfig({manifestModel:_,manifestUpdater:ca,playbackController:ja}),c=da.getEventsFor(sa),ya.addInlineEvents(c)),ua=!0,J(g.default.VIDEO),J(g.default.AUDIO),(null===d||d&&/^VIDEO$/i.test(d.nodeName))&&G(g.default.VIDEO,a),G(g.default.AUDIO,a),G(g.default.TEXT,a),G(g.default.FRAGMENTED_TEXT,a),G(g.default.EMBEDDED_TEXT,a),G(g.default.MUXED,a),G(g.default.IMAGE,a);var e=M(b);if(ra=!0,ua=!1,0===pa.length){var f="No streams to play.";fa.manifestError(f,"nostreams",_.getValue()),oa.fatal(f)}else K();return e}function I(){if(ua=!0,y(),J(g.default.VIDEO),J(g.default.AUDIO),ra=!0,ua=!1,0===pa.length){var a="No streams to play.";fa.manifestError(a,"nostreams",_.getValue()),oa.debug(a)}else K()}function J(a){var b=aa.getAdaptationForType(_.getValue(),sa.index,a,sa);if(!b||!Array.isArray(b.Representation_asArray))return null;b.Representation_asArray=b.Representation_asArray.filter(function(a,c){if(0===c)return!0;var d=aa.getCodec(b,c,!0);return!!ea.supportsCodec(d)||(oa.error("[Stream] codec not supported: "+d),!1)})}function K(){for(var a=pa.length,b=!!ta.audio||!!ta.video,c=b?new Error(Y,"Data update failed",null):null,d=0;d<a;d++)if(pa[d].isUpdating()||ua)return;if(ra){if(va)for(var d=0;d<a&&pa[d];d++)pa[d].getType()!==g.default.AUDIO&&pa[d].getType()!==g.default.VIDEO&&pa[d].getType()!==g.default.FRAGMENTED_TEXT||va.initializeForMedia(pa[d].getMediaInfo());$.trigger(s.default.STREAM_INITIALIZED,{streamInfo:sa,error:c})}}function L(a){for(var b=pa.length,c=null,d=0;d<b;d++)if(c=pa[d],c.getType()===a)return c.getMediaInfo();return null}function M(a){for(var b={},c=0,d=pa.length;c<d;c++)b[pa[c].getType()]=pa[c].createBuffer(a).getBuffer();return b}function N(a){if(a.streamInfo===sa){var b=Q(),c=b.length;if(0===c)return void oa.warn("onBufferingCompleted - can't trigger STREAM_BUFFERING_COMPLETED because no streamProcessor is defined");for(var d=0;d<c;d++)if(!b[d].isBufferingCompleted()&&(b[d].getType()===g.default.AUDIO||b[d].getType()===g.default.VIDEO))return void oa.warn("onBufferingCompleted - can't trigger STREAM_BUFFERING_COMPLETED because streamProcessor "+b[d].getType()+" is not buffering completed");oa.debug("onBufferingCompleted - trigger STREAM_BUFFERING_COMPLETED"),$.trigger(s.default.STREAM_BUFFERING_COMPLETED,{streamInfo:sa})}}function O(a){var b=a.sender.getStreamProcessor();b.getStreamInfo()===sa&&(ta[b.getType()]=a.error,K())}function P(a){return!!a&&Q().filter(function(b){return b.getType()===a.type})[0]}function Q(){for(var a=pa.length,b=[],c=void 0,d=void 0,e=0;e<a;e++)d=pa[e],(c=d.getType())!==g.default.AUDIO&&c!==g.default.VIDEO&&c!==g.default.FRAGMENTED_TEXT&&c!==g.default.TEXT||b.push(d);return b}function R(a){if(oa.info("Manifest updated... updating data system wide."),qa=!1,ua=!0,sa=a,ya){var b=da.getEventsFor(sa);ya.addInlineEvents(b)}J(g.default.VIDEO),J(g.default.AUDIO);for(var c=0,d=pa.length;c<d;c++){var e=pa[c],f=da.getMediaInfoForType(sa,e.getType());ia.updateTopQualityIndex(f),e.addMediaInfo(f,!0)}if(Aa){var f=Aa.newMediaInfo;if("fragmentedText"!==f.type){var h=P(Aa.oldMediaInfo);if(!h)return;h.switchTrackAsked(),Aa=void 0}}ua=!1,K()}function S(a){return T(a,g.default.VIDEO)&&T(a,g.default.AUDIO)}function T(a,b){if(!a)return!1;var c=a.getStreamInfo(),d=t();if(!c||!d)return!1;var e=aa.getAdaptationForType(_.getValue(),c.index,b,c),f=aa.getAdaptationForType(_.getValue(),d.index,b,d);if(!e||!f)return!e&&!f;var g=e&&f&&e.mimeType===f.mimeType,h=f.Representation_asArray.map(function(a){return a.codecs}),i=e.Representation_asArray.map(function(a){return a.codecs}),j=i.some(function(a){return h.indexOf(a)>-1}),k=i.some(function(a){return h.some(function(b){return U(b,a)})});return j||k&&g}function U(a,b){var c=a.split(".")[0],d=Ba.find(function(a){return a.codec===c}),e=0===b.indexOf(c);return d?e||d.compatibleCodecs.some(function(a){return 0===b.indexOf(a)}):e}function V(a){za=a}function W(){return za}function X(a,b){var c=void 0;ya||(ya=(0,k.default)(Z).create(),ya.setConfig({manifestModel:_,manifestUpdater:ca,playbackController:ja}),c=da.getEventsFor(sa),ya.addInlineEvents(c)),G(g.default.VIDEO,a),G(g.default.AUDIO,a),G(g.default.TEXT,a),G(g.default.FRAGMENTED_TEXT,a),G(g.default.EMBEDDED_TEXT,a),G(g.default.MUXED,a),G(g.default.IMAGE,a),M(b),$.on(s.default.CURRENT_TRACK_CHANGED,E,na);for(var d=0;d<pa.length&&pa[d];d++)pa[d].getScheduleController().start();V(!0)}var Y=1;a=a||{};var Z=this.context,$=(0,q.default)(Z).getInstance(),_=a.manifestModel,aa=a.dashManifestModel,ba=a.mediaPlayerModel,ca=a.manifestUpdater,da=a.adapter,ea=a.capabilities,fa=a.errHandler,ga=a.timelineConverter,ha=a.metricsModel,ia=a.abrController,j
27a=a.playbackController,ka=a.mediaController,la=a.textController,ma=a.videoModel,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=[{codec:"avc1",compatibleCodecs:["avc3"]},{codec:"avc3",compatibleCodecs:["avc1"]}];return na={initialize:c,activate:d,deactivate:e,isActive:f,getDuration:n,getStartTime:p,getId:r,getStreamInfo:t,preload:X,getFragmentController:w,getThumbnailController:x,getEventController:v,getBitrateListFor:z,startEventController:A,stopEventController:B,updateData:R,reset:l,getProcessors:Q,setMediaSource:h,isCompatibleWithStream:S,getPreloaded:W},b(),na}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(98),i=d(h),j=a(107),k=d(j),l=a(108),m=d(l),n=a(193),o=d(n),p=a(47),q=d(p),r=a(51),s=d(r),t=a(46),u=d(t),v=a(48),w=d(v);e.__dashjs_factory_name="Stream",c.default=w.default.getClassFactory(e),b.exports=c.default},{100:100,107:107,108:108,193:193,46:46,47:47,48:48,51:51,98:98}],98:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){da&&da.getIsDynamic()&&(qa=(0,i.default)(U).create({timelineConverter:Z,streamProcessor:la})),j()}function c(b){V=(0,u.default)(U).create({mimeType:Y,timelineConverter:Z,dashMetrics:ja,metricsModel:ia,mediaPlayerModel:aa,baseURLController:a.baseURLController,errHandler:X}),V.initialize(la),ca.registerStreamType(W,la),sa=ba.getFragmentController().getModel(W),sa.setStreamProcessor(la),oa=S(W),pa=(0,o.default)(U).create({type:W,mimeType:Y,metricsModel:ia,adapter:$,dashMetrics:ja,dashManifestModel:ka,timelineConverter:Z,mediaPlayerModel:aa,abrController:ca,playbackController:da,streamController:ea,textController:ga,streamProcessor:la,mediaController:fa}),ra=(0,q.default)(U).create(),ra.setConfig({abrController:ca,domStorage:ha,metricsModel:ia,dashMetrics:ja,dashManifestModel:ka,manifestModel:_,playbackController:da,timelineConverter:Z,streamProcessor:la}),oa.initialize(b),pa.initialize(),ra.initialize()}function d(a){ta.push(a)}function e(a){var b=ta.indexOf(a);-1!==b&&ta.splice(b,1)}function f(){return ta}function h(){ta=[]}function j(){na=[],ma=null,h()}function l(a,b){V.reset(),oa&&(oa.reset(a,b),oa=null),pa&&(pa.reset(),pa=null),ra&&(ra.reset(),ra=null),ca&&ca.unRegisterStreamType(W),ta.forEach(function(a){a.reset()}),j(),W=null,ba=null,qa&&(qa.reset(),qa=null)}function n(){return!!ra&&ra.isUpdating()}function p(){return W}function r(){return ra}function s(){return V}function t(){return ba?ba.getFragmentController():null}function v(){return oa.getBuffer()}function w(a){oa.setBuffer(a)}function x(){return oa}function y(){return sa}function z(){return qa}function A(){return ba?ba.getStreamInfo():null}function B(){return ba?ba.getEventController():null}function C(a){a===ma||a&&ma&&a.type!==ma.type||(ma=a),$.updateData(this)}function D(a,b){-1===na.indexOf(a)&&na.push(a),b&&this.selectMediaInfo(a)}function E(){return na}function F(){return ma}function G(){return oa.getMediaSource()}function H(a){oa.setMediaSource(a,F())}function I(){oa.dischargePreBuffer()}function J(){return pa}function K(){return $.getCurrentRepresentationInfo(ra)}function L(a){return $.getRepresentationInfoForQuality(ra,a)}function M(){return!!oa&&oa.getIsBufferingCompleted()}function N(a){return!!oa&&null!==oa.getRangeAt(a,0)}function O(){return oa.getBufferLevel()}function P(a,b){oa&&oa.switchInitData(A().id,a,b)}function Q(a){return oa.getBuffer()||oa.createBuffer(ma,a)}function R(){pa.switchTrackAsked()}function S(a){return a===g.default.VIDEO||a===g.default.AUDIO?(0,k.default)(U).create({type:a,metricsModel:ia,mediaPlayerModel:aa,manifestModel:_,errHandler:X,streamController:ea,mediaController:fa,adapter:$,textController:ga,abrController:ca,playbackController:da,streamProcessor:la}):(0,m.default)(U).create({type:a,mimeType:Y,metricsModel:ia,mediaPlayerModel:aa,manifestModel:_,errHandler:X,streamController:ea,mediaController:fa,adapter:$,textController:ga,abrController:ca,playbackController:da,streamProcessor:la})}function T(){return da}a=a||{};var U=this.context,V=void 0,W=a.type,X=a.errHandler,Y=a.mimeType,Z=a.timelineConverter,$=a.adapter,_=a.manifestModel,aa=a.mediaPlayerModel,ba=a.stream,ca=a.abrController,da=a.playbackController,ea=a.streamController,fa=a.mediaController,ga=a.textController,ha=a.domStorage,ia=a.metricsModel,ja=a.dashMetrics,ka=a.dashManifestModel,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0,ta=void 0;return la={initialize:c,isUpdating:n,getType:p,getBufferController:x,getFragmentModel:y,getScheduleController:J,getLiveEdgeFinder:z,getEventC
vendor: 18,976 bytes, lines 27-28
27ontroller:B,getFragmentController:t,getRepresentationController:r,getIndexHandler:s,getPlaybackController:T,getCurrentRepresentationInfo:K,getRepresentationInfoForQuality:L,getBufferLevel:O,switchInitData:P,isBufferingCompleted:M,timeIsBuffered:N,createBuffer:Q,getStreamInfo:A,selectMediaInfo:C,addMediaInfo:D,switchTrackAsked:R,getMediaInfoArr:E,getMediaInfo:F,getMediaSource:G,setMediaSource:H,dischargePreBuffer:I,getBuffer:v,setBuffer:w,registerExternalController:d,unregisterExternalController:e,getExternalControllers:f,unregisterAllExternalController:h,reset:l},b(),la}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(204),i=d(h),j=a(106),k=d(j),l=a(189),m=d(l),n=a(112),o=d(n),p=a(59),q=d(p),r=a(48),s=d(r),t=a(54),u=d(t);e.__dashjs_factory_name="StreamProcessor",c.default=s.default.getClassFactory(e),b.exports=c.default},{100:100,106:106,112:112,189:189,204:204,48:48,54:54,59:59}],99:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b,c){var e=function(d,e){b.resolved=!0,b.resolvedContent=d||null,f.trigger(p.default.XLINK_ELEMENT_LOADED,{element:b,resolveObject:c,error:d||e?null:new g.default(s,"Failed loading Xlink element: "+a)})};if(a===d)e(null,!0);else{var i=new l.default(a,j.HTTPRequest.XLINK_TYPE);h.load({request:i,success:function(a){e(a)},error:function(){e(null)}})}}function c(){h&&(h.abort(),h=null)}a=a||{};var d="urn:mpeg:dash:resolve-to-zero:2013",e=this.context,f=(0,n.default)(e).getInstance(),h=(0,i.default)(e).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier});return{load:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(213),g=d(f),h=a(147),i=d(h),j=a(233),k=a(224),l=d(k),m=a(47),n=d(m),o=a(51),p=d(o),q=a(48),r=d(q),s=1;e.__dashjs_factory_name="XlinkLoader";var t=r.default.getClassFactory(e);t.XLINK_LOADER_ERROR_LOADING_FAILURE=s,r.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{147:147,213:213,224:224,233:233,47:47,48:48,51:51}],100:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.STREAM="stream",this.VIDEO="video",this.AUDIO="audio",this.TEXT="text",this.FRAGMENTED_TEXT="fragmentedText",this.EMBEDDED_TEXT="embeddedText",this.MUXED="muxed",this.IMAGE="image",this.LOCATION="Location",this.INITIALIZE="initialize",this.TEXT_SHOWING="showing",this.TEXT_HIDDEN="hidden",this.CC1="CC1",this.CC3="CC3",this.STPP="stpp",this.TTML="ttml",this.VTT="vtt",this.WVTT="wvtt",this.UTF8="utf-8",this.SUGGESTED_PRESENTATION_DELAY="suggestedPresentationDelay",this.SCHEME_ID_URI="schemeIdUri",this.START_TIME="starttime",this.ABR_STRATEGY_DYNAMIC="abrDynamic",this.ABR_STRATEGY_BOLA="abrBola",this.ABR_STRATEGY_THROUGHPUT="abrThroughput",this.MOVING_AVERAGE_SLIDING_WINDOW="slidingWindow",this.MOVING_AVERAGE_EWMA="ewma"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],101:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.TCP_CONNECTION="TcpList",this.HTTP_REQUEST="HttpList",this.TRACK_SWITCH="RepSwitchList",this.BUFFER_LEVEL="BufferLevel",this.BUFFER_STATE="BufferState",this.DVR_INFO="DVRInfo",this.DROPPED_FRAMES="DroppedFrames",this.SCHEDULING_INFO="SchedulingInfo",this.REQUESTS_QUEUE="RequestsQueue",this.MANIFEST_UPDATE="ManifestUpdate",this.MANIFEST_UPDATE_STREAM_INFO="ManifestUpdatePeriodInfo",this.MANIFEST_UPDATE_TRACK_INFO="ManifestUpdateRepresentationInfo",this.PLAY_LIST="PlayList",this.DVB_ERRORS="DVBErrors"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],102:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a),this.init()}return e(a,[{key:"init",value:function(){this.CLEARKEY_KEYSTEM_STRING="org.w3.clearkey",this.WIDEVINE_KEYSTEM_STRING="com.widevine.alpha",this.PLAYREADY_KEYSTEM_STRING="com.microsoft.playready"}}]),a}(),g=new f;c.default=g,b.exports=c.default},{}],103:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){va=sa.getLogger(ua),e()}function b(a,b){Sa[a]=(0,A.default)(ra).create(),Da[a]=b,Ea[a]=Ea[a]||{},Ea[a].state=J,Va[a]=!1,ta.on(s.default.LOADING_PROGRESS,qa,this),a==i.default.VIDEO&&(ta.on(s.default.QUALITY_CHANGE_RENDERED,j,this),Ta=(0,C.default)(ra).create(),oa()),ta.on(s.default.METRIC_ADDED,l,this),ta.on(s.default.PERIOD_SWITCH_COMPLETED,d,this),Ua=(0,E.default)(ra).create({mediaPlayerModel:Pa})}function c(a){delete Da[a]}function d(){wa=(0,g.default)(ra).create({metricsModel:Wa,dashMetrics:Xa,mediaPlayerModel:Pa,adapter:Na}),wa.initialize()}function e(){ya={video:!0,audio:!0},za={},Aa={},Ba={},Ca={},Ea={},Da={},Sa={},Va={},Ga=!1,Ya=!0,Ha=!1,void 0===Ia&&(Ia=!1),Ra=void 0,Ta=void 0,Ua=void 0,clearTimeout(Fa),Fa=null}function f(){e(),ta.off(s.default.LOADING_PROGRESS,qa,this),ta.off(s.default.QUALITY_CHANGE_RENDERED,j,this),ta.off(s.default.METRIC_ADDED,l,this),ta.off(s.default.PERIOD_SWITCH_COMPLETED,d,this),wa&&wa.reset()}function h(a){a&&(a.streamController&&(xa=a.streamController),a.domStorage&&(Qa=a.domStorage),a.mediaPlayerModel&&(Pa=a.mediaPlayerModel),a.metricsModel&&(Wa=a.metricsModel),a.dashMetrics&&(Xa=a.dashMetrics),a.dashManifestModel&&(Ma=a.dashManifestModel),a.adapter&&(Na=a.adapter),a.manifestModel&&(La=a.manifestModel),a.videoModel&&(Oa=a.videoModel))}function j(a){a.mediaType===i.default.VIDEO&&(Ra=a.oldQuality,Ta.push(Ra,Oa.getPlaybackQuality()))}function l(a){a.metric!==k.default.HTTP_REQUEST||!a.value||a.value.type!==F.HTTPRequest.MEDIA_SEGMENT_TYPE||a.mediaType!==i.default.AUDIO&&a.mediaType!==i.default.VIDEO||Ua.push(a.mediaType,a.value,Ya),a.metric!==k.default.BUFFER_LEVEL||a.mediaType!==i.default.AUDIO&&a.mediaType!==i.default.VIDEO||da(a.mediaType,.001*a.value.level)}function n(a,b){var c=void 0;return za[b]=za[b]||{},za[b].hasOwnProperty(a)||(za[b][a]=0),c=la(za[b][a],a),c=ma(c,a,za[b][a]),c=pa(c,a)}function p(a){if(a&&Da&&Da[a]){var b=Da[a].getStreamInfo();if(b.id){var c=n(a,b.id),d=ca(Da[a].getMediaInfo());return d[c]?d[c]:null}}return null}function r(a){var b=Qa.getSavedBitrateSettings(a);if(!Ba.hasOwnProperty(a))if(Ca.hasOwnProperty(a)){var c=La.getValue(),d=Ma.getAdaptationForType(c,0,a).Representation;if(Array.isArray(d)){var e=Math.max(Math.round(d.length*Ca[a])-1,0);Ba[a]=d[e].bandwidth}else Ba[a]=0}else isNaN(b)?Ba[a]=a===i.default.VIDEO?K:L:Ba[a]=b;return Ba[a]}function t(a,b){Ba[a]=b}function u(a){return Ca.hasOwnProperty(a)?Ca[a]:null}function v(a,b){Ca[a]=b}function x(a){return Ba.hasOwnProperty("max")&&Ba.max.hasOwnProperty(a)?Ba.max[a]:NaN}function z(a){return Ba.hasOwnProperty("min")&&Ba.min.hasOwnProperty(a)?Ba.min[a]:NaN}function B(a,b){Ba.max=Ba.max||{},Ba.max[a]=b}function D(a,b){Ba.min=Ba.min||{},Ba.min[a]=b}function G(a){var b=x(a);return b?ba(Da[a].getMediaInfo(),b):void 0}function N(a){var b=z(a);if(b){var c=ca(Da[a].getMediaInfo()),d=ba(Da[a].getMediaInfo(),b);return c[d]&&d<c.length-1&&c[d].bitrate<1e3*b&&d++,d}}function O(a){return Ca.hasOwnProperty("max")&&Ca.max.hasOwnProperty(a)?Ca.max[a]:1}function P(a,b){Ca.max=Ca.max||{},Ca.max[a]=b}function Q(a){return ya[a]}function R(a,b){ya[a]=b}function S(){return Ga}function T(a){Ga=a}function U(){return Ha}function V(a){Ha=a}function W(){return Ya}function X(a){Ya=a}function Y(a){if(a&&Da&&Da[a]){var b=Da[a].getStreamInfo(),c=b?b.id:null,d=ia(a),e=(0,w.default)(ra).create({abrController:ua,streamProcessor:Da[a],currentValue:d,switchHistory:Sa[a],droppedFramesHistory:Ta,useBufferOccupancyABR:ea(a)});if(Ta){var f=Oa.getPlaybackQuality();f&&Ta.push(Ra,f)}if(Q(a)){var g=N(a),h=n(a,c),i=wa.getMaxQuality(e),j=i.quality;if(void 0!==g&&j<g&&(j=g),j>h&&(j=h),Sa[a].push({oldValue:d,newValue:j}),j>y.default.NO_CHANGE&&j!=d)(Ea[a].state===J||j>d)&&$(a,d,j,h,i.reason);else if(sa.getLogToBrowserConsole()){var k=Xa.getCurrentBufferLevel(Wa.getReadOnlyMetricsFor(a));va.debug("AbrController ("+a+") stay on "+d+"/"+h+" (buffer: "+k+")")}}}}function Z(a,b,c,d){var e=b.id,f=ia(a);if(null===c||isNaN(c)||c%1!=0)throw new Error("argument is not an integer");var g=n(a,e);c!==f&&c>=0&&c<=g&&$(a,f,c,g,d)}function $(a,b,c,d,e){if(a&&Da[a]){var f=Da[a].getStreamInfo(),g=f?f.id:null;if(sa.getLogToBrowserConsole()){var h=Xa.getCurrentBufferLevel(Wa.getReadOnlyMetricsFor(a));va.info("AbrController ("+a+") switch from "+b+" to "+c+"/"+d+" (buffer: "+h+") "+(e?JSON.stringify(e):"."))}ja(a,g,c),ta.trigger(s.default.QUALITY_CHANGE_REQUESTED,{mediaType:a,streamInfo:f,oldQuality:b,newQuality:c,reason:e})}}function _(a,b){Ea[a].state=b}function aa(a){return Ea[a]?Ea[a].state:null}function ba(a,b,c){if(Ya&&c&&Da[a.type].getCurrentRepresentationInfo()&&Da[a.type].getCurrentRepresentationInfo().fragmentDuration){c/=1e3;var d=Da[a.type].getCurrentRepresentationInfo().fragmentDuration;if(c>d)return 0;b*=1-c/d}var e=ca(a);if(!e||0===e.length)return M;for(var f=e.length-1;f>=0;f--){if(1e3*b>=e[f].bitrate)return f}return 0}function ca(a){if(!a||!a.bitrateList)return null;for(var b=a.bitrateList,c=a.type,d=[],e=void 0,f=0,g=b.length;f<g;f++)e=new m.default,e.mediaType=c,e.qualityIndex=f,e.bitrate=b[f].bandwidth,e.width=b[f].width,e.height=b[f].height,e.scanType=b[f].scanType,d.push(e);return d}function da(a,b){var c=Pa.getABRStrategy();if(c===i.default.ABR_STRATEGY_BOLA)return void(Va[a]=!0);if(c===i.default.ABR_STRATEGY_THROUGHPUT)return void(Va[a]=!1);var d=Pa.getStableBufferTime(),e=d,f=.5*d,g=Va[a],h=b>(g?f:e);Va[a]=h,h!==g&&(h?va.info("AbrController ("+a+") switching from throughput to buffer occupancy ABR rule (buffer: "+b.toFixed(3)+")."):va.info("AbrController ("+a+") switching from buffer occupancy to throughput ABR rule (buffer: "+b.toFixed(3)+")."))}function ea(a){return Va[a]}function fa(){return Ua}function ga(a){var b=a.type,c=a.streamInfo.id,d=a.representationCount-1;return ka(b,c,d),d}function ha(a){var b=a.id,c=ia(i.default.AUDIO),d=ia(i.default.VIDEO);return c===n(i.default.AUDIO,b)&&d===n(i.default.VIDEO,b)}function ia(a){if(a&&Da[a]){var b=Da[a].getStreamInfo(),c=b?b.id:null;if(c)return Aa[c]=Aa[c]||{},Aa[c].hasOwnProperty(a)||(Aa[c][a]=M),Aa[c][a]}return M}function ja(a,b,c){Aa[b]=Aa[b]||{},Aa[b][a]=c}function ka(a,b,c){za[b]=za[b]||{},za[b][a]=c}function la(a,b){var c=a;if(!Da[b])return c;var d=N(b);void 0!==d&&(c=Math.max(a,d));var e=G(b);return void 0!==e&&(c=Math.min(c,e)),c}function ma(a,b,c){var d=O(b)
28;return isNaN(d)||d>=1||d<0?a:Math.min(a,Math.round(c*d))}function na(a){Ia=a}function oa(){if(Oa){var a=Ha&&window.hasOwnProperty("devicePixelRatio"),b=a?window.devicePixelRatio:1;Ja=Oa.getClientWidth()*b,Ka=Oa.getClientHeight()*b}}function pa(a,b){if(b!==i.default.VIDEO||!Ga||!Da[b])return a;Ia||oa();var c=La.getValue(),d=Ma.getAdaptationForType(c,0,b).Representation,e=a;if(Ja>0&&Ka>0){for(;e>0&&d[e]&&Ja<d[e].width&&Ja-d[e-1].width<d[e].width-Ja;)e-=1;d.length-2>=e&&d[e].width===d[e+1].width&&(e=Math.min(a,e+1))}return e}function qa(a){var b=a.request.mediaType;if(Q(b)){var c=Da[b];if(!c)return;var d=(0,w.default)(ra).create({abrController:ua,streamProcessor:c,currentRequest:a.request,useBufferOccupancyABR:ea(b)}),e=wa.shouldAbandonFragment(d);if(e.quality>y.default.NO_CHANGE){var f=c.getFragmentModel();f.getRequests({state:o.default.FRAGMENT_MODEL_LOADING,index:a.request.index})[0]&&(f.abortRequests(),_(b,I),Sa[b].reset(),Sa[b].push({oldValue:ia(b,xa.getActiveStreamInfo()),newValue:e.quality,confidence:1,reason:e.reason}),Z(b,xa.getActiveStreamInfo(),e.quality,e.reason),clearTimeout(Fa),Fa=setTimeout(function(){_(b,J),Fa=null},Pa.getAbandonLoadTimeout()))}}}var ra=this.context,sa=(0,H.default)(ra).getInstance(),ta=(0,q.default)(ra).getInstance(),ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0,Ya=void 0;return ua={isPlayingAtTopQuality:ha,updateTopQualityIndex:ga,getThroughputHistory:fa,getBitrateList:ca,getQualityForBitrate:ba,getMaxAllowedBitrateFor:x,getTopBitrateInfoFor:p,getMinAllowedBitrateFor:z,setMaxAllowedBitrateFor:B,setMinAllowedBitrateFor:D,getMaxAllowedIndexFor:G,getMinAllowedIndexFor:N,getMaxAllowedRepresentationRatioFor:O,setMaxAllowedRepresentationRatioFor:P,getInitialBitrateFor:r,setInitialBitrateFor:t,getInitialRepresentationRatioFor:u,setInitialRepresentationRatioFor:v,setAutoSwitchBitrateFor:R,getAutoSwitchBitrateFor:Q,getUseDeadTimeLatency:W,setUseDeadTimeLatency:X,setLimitBitrateByPortal:T,getLimitBitrateByPortal:S,getUsePixelRatioInLimitBitrateByPortal:U,setUsePixelRatioInLimitBitrateByPortal:V,getQualityFor:ia,getAbandonmentStateFor:aa,setPlaybackQuality:Z,checkPlaybackQuality:Y,getTopQualityIndexFor:n,setElementSize:oa,setWindowResizeEventCalled:na,createAbrRulesCollection:d,registerStreamType:b,unRegisterStreamType:c,setConfig:h,reset:f},a(),ua}Object.defineProperty(c,"__esModule",{value:!0});var f=a(178),g=d(f),h=a(100),i=d(h),j=a(101),k=d(j),l=a(212),m=d(l),n=a(140),o=d(n),p=a(47),q=d(p),r=a(51),s=d(r),t=a(48),u=d(t),v=a(174),w=d(v),x=a(175),y=d(x),z=a(176),A=d(z),B=a(173),C=d(B),D=a(177),E=d(D),F=a(233),G=a(46),H=d(G),I="abandonload",J="allowload",K=1e3,L=100,M=0;e.__dashjs_factory_name="AbrController";var N=u.default.getSingletonFactory(e);N.ABANDON_LOAD=I,N.QUALITY_DEFAULT=M,u.default.updateSingletonFactory(e.__dashjs_factory_name,N),c.default=N,b.exports=c.default},{100:100,101:101,140:140,173:173,174:174,175:175,176:176,177:177,178:178,212:212,233:233,46:46,47:47,48:48,51:51}],104:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){r.invalidateSelectedIndexes(a.entry)}function b(){r=(0,g.default)(n).create(),t=(0,i.default)(n).create(),o.on(s.default.SERVICE_LOCATION_BLACKLIST_CHANGED,a,j)}function c(a){a.baseURLTreeModel&&(r=a.baseURLTreeModel),a.baseURLSelector&&(t=a.baseURLSelector),a.dashManifestModel&&(l=a.dashManifestModel)}function d(a){r.update(a),t.chooseSelectorFromManifest(a)}function e(a){var b=r.getForPath(a),c=b.reduce(function(a,b){var c=t.select(b);return c?(p.isRelative(c.url)?a.url=p.resolve(c.url,a.url):(a.url=c.url,a.serviceLocation=c.serviceLocation),a.availabilityTimeOffset=c.availabilityTimeOffset,a.availabilityTimeComplete=c.availabilityTimeComplete,a):new m.default},new m.default);if(!p.isRelative(c.url))return c}function f(){r.reset(),t.reset()}function h(a){r.setConfig({dashManifestModel:l}),t.setConfig({dashManifestModel:l}),d(a)}var j=void 0,l=void 0,n=this.context,o=(0,q.default)(n).getInstance(),p=(0,k.default)(n).getInstance(),r=void 0,t=void 0;return j={reset:f,initialize:h,resolve:e,setConfig:c},b(),j}Object.defineProperty(c,"__esModule",{value:!0});var f=a(139),g=d(f),h=a(195),i=d(h),j=a(208),k=d(j),l=a(81),m=d(l),n=a(48),o=d(n),p=a(47),q=d(p),r=a(51),s=d(r);e.__dashjs_factory_name="BaseURLController",c.default=o.default.getSingletonFactory(e),b.exports=c.default},{139:139,195:195,208:208,47:47,48:48,51:51,81:81}],105:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){return!!(g.length&&a&&a.length)&&-1!==g.indexOf(a)}function c(a){-1===g.indexOf(a)&&(g.push(a),h.trigger(j,{entry:a}))}function d(a){c(a.entry)}function e(){k&&h.on(k,d,this)}function f(){g=[]}a=a||{};var g=[],h=(0,i.default)(this.context).getInstance(),j=a.updateEventName,k=a.addBlacklistEventName;return e(),{add:c,contains:b,reset:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(47),i=d(h);e.__dashjs_factory_name="BlackListController",c.default=g.default.getClassFactory(e),b.exports=c.default},{47:47,48:48}],106:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){Ia=(0,A.default)(ua).getInstance().getLogger(Ha),Wa=(0,C.default)(ua).getInstance(),sa()}function c(){return K}function d(a){ma(a),Ja=Da.getQualityFor(Fa,Ga.getStreamInfo()),va.on(u.default.DATA_UPDATE_COMPLETED,ba,this),va.on(u.default.INIT_FRAGMENT_LOADED,j,this),va.on(u.default.MEDIA_FRAGMENT_LOADED,n,this),va.on(u.default.QUALITY_CHANGE_REQUESTED,v,this),va.on(u.default.STREAM_COMPLETED,ca,this),va.on(u.default.PLAYBACK_PLAYING,O,this),va.on(u.default.PLAYBACK_PROGRESS,M,this),va.on(u.default.PLAYBACK_TIME_UPDATED,M,this),va.on(u.default.PLAYBACK_RATE_CHANGED,fa,this),va.on(u.default.PLAYBACK_SEEKING,x,this),va.on(u.default.PLAYBACK_SEEKED,y,this),va.on(u.default.PLAYBACK_STALLED,N,this),va.on(u.default.WALLCLOCK_TIME_UPDATED,ea,this),va.on(u.default.CURRENT_TRACK_CHANGED,da,this,s.default.EVENT_PRIORITY_HIGH),va.on(u.default.SOURCEBUFFER_REMOVE_COMPLETED,_,this)}function e(a,b){if(!Wa||!a||!Ga)return null;if(Na)try{Qa=b&&b[Fa]?(0,k.default)(ua).create(Na,a,t.bind(this),b[Fa]):(0,k.default)(ua).create(Na,a,t.bind(this)),"function"==typeof Qa.getBuffer().initialize&&Qa.getBuffer().initialize(Fa,Ga)}catch(c){Ia.fatal("Caught error on create SourceBuffer: "+c),ya.mediaSourceError("Error creating "+Fa+" source buffer.")}else Qa=(0,m.default)(ua).create(t.bind(this));return aa(Ga.getRepresentationInfoForQuality(Ja).MSETimeOffset),Qa}function f(){if(Qa&&Ra&&"function"==typeof Ra.discharge){var a=Ra.getAllBufferRanges();if(a.length>0){for(var b="Beginning "+Fa+"PreBuffer discharge, adding buffer for:",c=0;c<a.length;c++)b+=" start: "+a.start(c)+", end: "+a.end(c)+";";Ia.debug(b)}else Ia.debug("PreBuffer discharge requested, but there were no media segments in the PreBuffer.");for(var d=Ra.discharge(),e=null,f=0;f<d.length;f++){var g=d[f],h=Wa.extract(g.streamId,g.representationId);h&&(e!==h&&(Qa.append(h),e=h),Qa.append(g))}Ra.reset(),Ra=null}}function h(){return Ga&&za&&Ga.getStreamInfo()}
28function j(a){a.fragmentModel===Ga.getFragmentModel()&&(Ia.info("Init fragment finished loading saving to",Fa+"'s init cache"),Wa.save(a.chunk),Ia.debug("Append Init fragment",Fa," with representationId:",a.chunk.representationId," and quality:",a.chunk.quality),p(a.chunk))}function l(a,b,c){var d=Wa.extract(a,b);$a=!0===c&&c,d?(Ia.info("Append Init fragment",Fa," with representationId:",d.representationId," and quality:",d.quality),p(d)):va.trigger(u.default.INIT_REQUESTED,{sender:Ha})}function n(a){if(a.fragmentModel===Ga.getFragmentModel()){var b=a.chunk,c=b.bytes,d=b.quality,e=Ga.getRepresentationInfoForQuality(d),f=Ba.getEventsFor(e.mediaInfo,Ga),g=Ba.getEventsFor(e,Ga);if(f&&f.length>0||g&&g.length>0){var h=Ga.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,quality:d,index:b.index})[0],j=W(c,h,f,g);Ga.getEventController().addInbandEvents(j)}if($a){_a=b;var k=Qa&&Qa.getAllBufferRanges();k&&k.length>0&&Ea.getTimeToStreamEnd()>G&&(Ia.debug("Clearing buffer because track changed - "+(k.end(k.length-1)+H)),Z([{start:0,end:k.end(k.length-1)+H,force:!0}]))}else p(b)}}function p(a){Qa.append(a),a.mediaInfo.type===g.default.VIDEO&&va.trigger(u.default.VIDEO_CHUNK_RECEIVED,{chunk:a})}function r(a){if(a&&a.length>0)for(var b=0,c=a.length;b<c;b++)Ia.debug("Buffered Range for type:",Fa,":",a.start(b)," - ",a.end(b)," currentTime = ",Ea.getTime())}function t(a){if(a.error){if(a.error.code===J&&(Ma=.8*qa(),Ia.warn("Quota exceeded for type: "+Fa+", Critical Buffer: "+Ma),Ma>0)){var b=Math.max(.2*Ma,1),c=Ma-b;xa.setBufferToKeep(parseFloat(b).toFixed(5)),xa.setBufferAheadToKeep(parseFloat(c).toFixed(5))}return void(a.error.code!==J&&ra()||(Ia.warn("Clearing playback buffer to overcome quota exceed situation for type: "+Fa),va.trigger(u.default.QUOTA_EXCEEDED,{sender:Ha,criticalBufferLevel:Ma}),z()))}(Ta=a.chunk)&&!isNaN(Ta.index)&&(Oa=Math.max(Ta.index,Oa),T());var d=Qa.getAllBufferRanges();if(Ta.segmentType===D.HTTPRequest.MEDIA_SEGMENT_TYPE)r(d),M();else if($a){var e=Ea.getTime();Ia.debug("AppendToBuffer seek target should be "+e),Ga.getScheduleController().setSeekTarget(e),Ba.setIndexHandlerTime(Ga,e)}var f={sender:Ha,quality:Ta.quality,startTime:Ta.start,index:Ta.index,bufferedRanges:d};Ta&&!Ta.endFragment?va.trigger(u.default.BYTES_APPENDED,f):Ta&&va.trigger(u.default.BYTES_APPENDED_END_FRAGMENT,f)}function v(a){Ja!==a.newQuality&&Fa===a.mediaType&&Ga.getStreamInfo().id===a.streamInfo.id&&(aa(Ga.getRepresentationInfoForQuality(a.newQuality).MSETimeOffset),Ja=a.newQuality)}function x(){Ka&&(Ya=!0,Ka=!1,Pa=Number.POSITIVE_INFINITY),Fa!==g.default.FRAGMENTED_TEXT?z():M()}function y(){Xa=void 0}function z(){var a=B();a&&0!==a.length||M(),Z(a)}function B(){var a=[],b=Qa.getAllBufferRanges();if(!b||0===b.length)return a;var c=Ea.getTime(),d=b.end(b.length-1)+H,e=Ga.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:c,threshold:I})[0];if(e){var f={start:0,end:e.startTime-G},g=Ga.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:e.startTime-e.duration/2,threshold:I})[0];g&&g.startTime!=e.startTime&&(f.end=g.startTime),f.start<f.end&&f.end>b.start(0)&&a.push(f);var h={start:e.startTime+e.duration+G,end:d},j=Ga.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:e.startTime+e.duration+G,threshold:I})[0];j&&j.startTime!==e.startTime&&(h.start=j.startTime+j.duration+G),h.start<h.end&&h.start<d&&a.push(h)}else Ia.debug("getAllRangesWithSafetyFactor for",Fa,"- No request found in current time position, removing full buffer 0 -",d),a.push({start:0,end:d});return a}function L(){var a=Ea.getTime();if(Xa){var b=Qa.getAllBufferRanges();b&&b.length&&(a=Math.max(b.start(0),Xa))}return a}function M(){(!$a||Fa===g.default.FRAGMENTED_TEXT&&Ca.isTextEnabled())&&(R(),S())}function N(){U()}function O(){U()}function P(a,b){var c=Qa.getAllBufferRanges(),d=0,e=0,f=null,g=null,h=0,i=void 0,j=void 0,k=b||.15;if(null!==c&&void 0!==c){for(j=0,i=c.length;j<i;j++)if(d=c.start(j),e=c.end(j),null===f)h=Math.abs(d-a),a>=d&&a<e?(f=d,g=e):h<=k&&(f=d,g=e);else{if(!((h=d-g)<=k))break;g=e}if(null!==f)return{start:f,end:g}}return null}function Q(a,b){var c=void 0;return c=P(a,b),null===c?0:c.end-a}
28function R(){Ea&&(La=Q(L()||0),va.trigger(u.default.BUFFER_LEVEL_UPDATED,{sender:Ha,bufferLevel:La}),U())}function S(){h()&&(wa.addBufferState(Fa,Sa,Ga.getScheduleController().getBufferTarget()),wa.addBufferLevel(Fa,new Date,1e3*La))}function T(){Oa>=Pa-1&&!Ka&&void 0===Qa.discharge&&(Ka=!0,Ia.debug("checkIfBufferingCompleted trigger BUFFERING_COMPLETED"),va.trigger(u.default.BUFFERING_COMPLETED,{sender:Ha,streamInfo:Ga.getStreamInfo()}))}function U(){"audio"!==Fa&&"video"!==Fa||(Ya&&!Ka&&Ea&&Ea.getTimeToStreamEnd()-La<G&&(Ya=!1,Ka=!0,Ia.debug("checkIfSufficientBuffer trigger BUFFERING_COMPLETED"),va.trigger(u.default.BUFFERING_COMPLETED,{sender:Ha,streamInfo:Ga.getStreamInfo()})),(!xa.getLowLatencyEnabled()&&La<G||0===La)&&!Ka?V(F):(Ka||La>=xa.getStableBufferTime())&&V(E))}function V(a){Sa===a||a===F&&0===Ea.getTime()||Fa===g.default.FRAGMENTED_TEXT&&!Ca.isTextEnabled()||(Sa=a,S(),va.trigger(u.default.BUFFER_LEVEL_STATE_CHANGED,{sender:Ha,state:a,mediaType:Fa,streamInfo:Ga.getStreamInfo()}),va.trigger(a===E?u.default.BUFFER_LOADED:u.default.BUFFER_EMPTY,{mediaType:Fa}),Ia.debug(a===E?"Got enough buffer to start for "+Fa:"Waiting for more buffer before starting playback for "+Fa))}function W(a,b,c,d){for(var e=Math.max(!b||isNaN(b.startTime)?0:b.startTime,0),f=[],g=[],h=c.concat(d),i=0,j=h.length;i<j;i++)f[h[i].schemeIdUri]=h[i];for(var k=(0,w.default)(ua).getInstance().parse(a),l=k.getBoxes("emsg"),i=0,j=l.length;i<j;i++){var m=Ba.getEvent(l[i],f,e);m&&g.push(m)}return g}function X(){Qa&&Fa!==g.default.FRAGMENTED_TEXT&&(Ka||Z(Y()))}function Y(){var a=[],b=Qa.getAllBufferRanges();if(!b||0===b.length)return a;var c=Ea.getTime(),d={start:Math.max(0,c-xa.getBufferToKeep()),end:c+xa.getBufferAheadToKeep()},e=Ga.getFragmentModel().getRequests({state:i.default.FRAGMENT_MODEL_EXECUTED,time:c,threshold:I})[0];if(e)d.start=Math.min(e.startTime,d.start),d.end=Math.max(e.startTime+e.duration,d.end);else if(0===c&&Ea.getIsDynamic())return[];if(b.start(0)<=d.start){for(var f={start:0,end:d.start},g=0;g<b.length&&b.end(g)<=d.start;g++)f.end=b.end(g);f.start<f.end&&a.push(f)}if(b.end(b.length-1)>=d.end){var h={start:d.end,end:b.end(b.length-1)+I};h.start<h.end&&a.push(h)}return a}function Z(a){a&&Qa&&0!==a.length&&(Za.push.apply(Za,a),Va||$())}function $(){if(0===Za.length||!Qa)return Ia.debug("Nothing to prune, halt pruning"),Za=[],void(Va=!1);var a=Qa.getBuffer();if(!a||!a.buffered||0===a.buffered.length)return Ia.debug("SourceBuffer is empty (or does not exist), halt pruning"),Za=[],void(Va=!1);var b=Za.shift();Ia.debug("Removing",Fa,"buffer from:",b.start,"to",b.end),Va=!0;var c=Ea.getTime();c<b.end&&(Ka=!1,Oa=0,$a||(Ga.getScheduleController().setSeekTarget(c),Ba.setIndexHandlerTime(Ga,c))),Qa.remove(b.start,b.end,b.force)}function _(a){if(Qa===a.buffer){Ia.debug("onRemoved buffer from:",a.from,"to",a.to);r(Qa.getAllBufferRanges()),0===Za.length&&(Va=!1),a.unintended&&(Ia.warn("Detected unintended removal from:",a.from,"to",a.to,"setting index handler time to",a.from),Ba.setIndexHandlerTime(Ga,a.from)),Va?$():($a?($a=!1,_a&&p(_a)):(Ia.debug("onRemoved : call updateBufferLevel"),R()),va.trigger(u.default.BUFFER_CLEARED,{sender:Ha,from:a.from,to:a.to,unintended:a.unintended,hasEnoughSpaceToAppend:ra()}))}}function aa(a){Qa&&Qa.updateTimestampOffset&&Qa.updateTimestampOffset(a)}function ba(a){a.sender.getStreamProcessor()!==Ga||a.error||aa(a.currentRepresentation.MSETimeOffset)}function ca(a){a.fragmentModel===Ga.getFragmentModel()&&(Pa=a.request.index,T())}function da(a){var b=Qa&&Qa.getAllBufferRanges();b&&a.newMediaInfo.type===Fa&&a.newMediaInfo.streamInfo.id===Ga.getStreamInfo().id&&(Ia.info("Track change asked"),Aa.getSwitchMode(Fa)===q.default.TRACK_SWITCH_MODE_ALWAYS_REPLACE&&b&&b.length>0&&Ea.getTimeToStreamEnd()>G&&(Ka=!1,Pa=Number.POSITIVE_INFINITY))}function ea(){++Ua*(xa.getWallclockTimeUpdateInterval()/1e3)>=xa.getBufferPruningInterval()&&(Ua=0,X())}function fa(){U()}function ga(){return Fa}function ha(){return Ga}function ia(a){Xa=a}function ja(){return Qa}function ka(a){Qa=a}function la(){return La}function ma(a,b){Na=a,Qa&&b&&"function"==typeof Qa.discharge&&(Ra=Qa,e(b))}function na(){return Na}function oa(){return Ka}function pa(){return Va}function qa(){var a=Qa.getAllBufferRanges(),b=0,c=void 0,d=void 0;if(!a)return b;for(d=0,c=a.length;d<c;d++)b+=a.end(d)-a.start(d);return b}function ra(){return qa()<Ma}function sa(a,b){Ma=Number.POSITIVE_INFINITY,Sa=void 0,Ja=o.default.QUALITY_DEFAULT,Pa=Number.POSITIVE_INFINITY,Oa=0,Ta=null,Ka=!1,Va=!1,Ya=!1,La=0,Ua=0,Za=[],Qa&&(a||Qa.abort(),Qa.reset(b),Qa=null),$a=!1}function ta(a,b){va.off(u.default.DATA_UPDATE_COMPLETED,ba,this),va.off(u.default.QUALITY_CHANGE_REQUESTED,v,this),va.off(u.default.INIT_FRAGMENT_LOADED,j,this),va.off(u.default.MEDIA_FRAGMENT_LOADED,n,this),va.off(u.default.STREAM_COMPLETED,ca,this),va.off(u.default.CURRENT_TRACK_CHANGED,da,this),va.off(u.default.PLAYBACK_PLAYING,O,this),va.off(u.default.PLAYBACK_PROGRESS,M,this),va.off(u.default.PLAYBACK_TIME_UPDATED,M,this),va.off(u.default.PLAYBACK_RATE_CHANGED,fa,this),va.off(u.default.PLAYBACK_SEEKING,x,this),va.off(u.default.PLAYBACK_SEEKED,y,this),va.off(u.default.PLAYBACK_STALLED,N,this),va.off(u.default.WALLCLOCK_TIME_UPDATED,ea,this),va.off(u.default.SOURCEBUFFER_REMOVE_COMPLETED,_,this),sa(a,b)}a=a||{};var ua=this.context,va=(0,s.default)(ua).getInstance(),wa=a.metricsModel,xa=a.mediaPlayerModel,ya=a.errHandler,za=a.streamController,Aa=a.mediaController,Ba=a.adapter,Ca=a.textController,Da=a.abrController,Ea=a.playbackController,Fa=a.type,Ga=a.streamProcessor,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0,Ya=void 0,Za=void 0,$a=void 0,_a=void 0;return Ha={getBufferControllerType:c,initialize:d,createBuffer:e,dischargePreBuffer:f,getType:ga,getStreamProcessor:ha,setSeekStartTime:ia,getBuffer:ja,setBuffer:ka,getBufferLevel:la,getRangeAt:P,setMediaSource:ma,getMediaSource:na,getIsBufferingCompleted:oa,switchInitData:l,getIsPruningInProgress:pa,reset:ta},b(),Ha}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(140),i=d(h),j=a(96),k=d(j),l=a(95),m=d(l),n=a(103),o=d(n),p=a(109),q=d(p),r=a(47),s=d(r),t=a(51),u=d(t),v=a(196),w=d(v),x=a(48),y=d(x),z=a(46),A=d(z),B=a(202),C=d(B),D=a(233),E="bufferLoaded",F="bufferStalled",G=.5,H=.5,I=.01,J=22,K="BufferController";e.__dashjs_factory_name=K;var L=y.default.getClassFactory(e);L.BUFFER_LOADED=E,L.BUFFER_EMPTY=F,y.default.updateClassFactory(e.__dashjs_factory_name,L),c.default=L,b.exports=c.default},{100:100,103:103,109:109,140:140,196:196,202:202,233:233,46:46,47:47,48:48,51:51,95:95,96:96}],107:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){w=(0,i.default)(t).getInstance().getLogger(v),b()}function b(){G=!1,x={},y={},z={},A=null,B=100,C=B/1e3}function c(){if(!D||!E||!F)throw new Error("setConfig function has to be called previously")}function d(){null!==A&&G&&(clearInterval(A),A=null,G=!1)}function e(){c(),w.debug("Start Event Controller"),G||isNaN(B)||(G=!0,A=setInterval(l,B))}function f(a){if(c(),x={},a)for(var b=0;b<a.length;b++){var d=a[b];x[d.id]=d,w.debug("Add inline event with id "+d.id)}w.debug("Added "+a.length+" inline events")}
28function g(a){c();for(var b=0;b<a.length;b++){var d=a[b];d.id in y?w.debug("Repeated event with id "+d.id):(d.eventStream.schemeIdUri===r&&void 0===y[d.id]&&h(d),y[d.id]=d,w.debug("Add inband event with id "+d.id))}}function h(a){if(a.eventStream.value==s){var b=a.eventStream.timescale||1,c=a.presentationTime/b,d=void 0;d=4294967295==a.presentationTime?NaN:(a.presentationTime+a.duration)/b,w.info("Manifest validity changed: Valid until: "+c+"; remaining duration: "+d),u.trigger(m.default.MANIFEST_VALIDITY_CHANGED,{id:a.id,validUntil:c,newDuration:d,newManifestValidAfter:NaN})}}function j(){if(z)for(var a=F.getTime(),b=Object.keys(z),c=0;c<b.length;c++){var d=b[c],e=z[d];null!==e&&(e.duration+e.presentationTime)/e.eventStream.timescale<a&&(w.debug("Remove Event "+d+" at time "+a),e=null,delete z[d])}}function l(){o(y),o(x),j()}function n(){c(),E.refreshManifest()}function o(a){var b,c=F.getTime();if(a)for(var d=Object.keys(a),e=0;e<d.length;e++){var f=d[e],g=a[f];void 0!==g&&(0===(b=g.presentationTime/g.eventStream.timescale)||b<=c&&b+C>c)&&(w.debug("Start Event "+f+" at "+c),g.duration>0&&(z[f]=g),g.eventStream.schemeIdUri==r&&g.eventStream.value==s?0===g.duration&&0===g.presentationTimeDelta||n():u.trigger(g.eventStream.schemeIdUri,{event:g}),delete a[f])}}function p(a){a&&(a.manifestModel&&(D=a.manifestModel),a.manifestUpdater&&(E=a.manifestUpdater),a.playbackController&&(F=a.playbackController))}function q(){d(),b()}var r="urn:mpeg:dash:event:2012",s=1,t=this.context,u=(0,k.default)(t).getInstance(),v=void 0,w=void 0,x=void 0,y=void 0,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G=void 0;return v={addInlineEvents:f,addInbandEvents:g,stop:d,start:e,setConfig:p,reset:q},a(),v}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j=a(47),k=d(j),l=a(51),m=d(l);e.__dashjs_factory_name="EventController",c.default=g.default.getClassFactory(e),b.exports=c.default},{46:46,47:47,48:48,51:51}],108:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){w=(0,x.default)(m).getInstance().getLogger(v),e(),o.on(t.default.FRAGMENT_LOADING_COMPLETED,k,v),o.on(t.default.FRAGMENT_LOADING_PROGRESS,k,v)}function c(a){var b=y[a];return b||(b=(0,l.default)(m).create({metricsModel:u,fragmentLoader:(0,n.default)(m).create({metricsModel:u,mediaPlayerModel:s,errHandler:q,requestModifier:(0,p.default)(m).getInstance()})}),y[a]=b),b}function d(a){return a&&a.type&&a.type===h.HTTPRequest.INIT_SEGMENT_TYPE}function e(){for(var a in y)y[a].reset();y={}}function f(){o.off(t.default.FRAGMENT_LOADING_COMPLETED,k,this),o.off(t.default.FRAGMENT_LOADING_PROGRESS,k,this),e()}function i(a,b,c,d){var e=new j.default;return e.streamId=c,e.mediaInfo=b.mediaInfo,e.segmentType=b.type,e.start=b.startTime,e.duration=b.duration,e.end=e.start+e.duration,e.bytes=a,e.index=b.index,e.quality=b.quality,e.representationId=b.representationId,e.endFragment=d,e}function k(a){if(y[a.request.mediaType]===a.sender){var b=a.request,c=a.response,e=d(b),f=b.mediaInfo.streamInfo;if(a.error&&(a.request.mediaType!==g.default.AUDIO&&a.request.mediaType!==g.default.VIDEO&&a.request.mediaType!==g.default.FRAGMENTED_TEXT||o.trigger(t.default.SERVICE_LOCATION_BLACKLIST_ADD,{entry:a.request.serviceLocation})),!c||!f)return void w.warn("No "+b.mediaType+" bytes to push or stream is inactive.");var h=i(c,b,f.id,a.type!==t.default.FRAGMENT_LOADING_PROGRESS);o.trigger(e?t.default.INIT_FRAGMENT_LOADED:t.default.MEDIA_FRAGMENT_LOADED,{chunk:h,fragmentModel:a.sender})}}a=a||{};var m=this.context,o=(0,r.default)(m).getInstance(),q=a.errHandler,s=a.mediaPlayerModel,u=a.metricsModel,v=void 0,w=void 0,y=void 0;return v={getModel:c,isInitializationRequest:d,reset:f},b(),v}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(233),i=a(214),j=d(i),k=a(140),l=d(k),m=a(89),n=d(m),o=a(206),p=d(o),q=a(47),r=d(q),s=a(51),t=d(s),u=a(48),v=d(u),w=a(46),x=d(w);e.__dashjs_factory_name="FragmentController",c.default=v.default.getClassFactory(e),b.exports=c.default},{100:100,140:140,206:206,214:214,233:233,46:46,47:47,48:48,51:51,89:89}],109:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){J=(0,o.default)(G).getInstance().getLogger(I),z()}function b(a,b){var c=l(a),e=d(a,b),f=[];if(a===g.default.FRAGMENTED_TEXT)return void h(e[0]);c||(c=P.getSavedMediaSettings(a),j(a,c)),e&&0!==e.length&&(c&&e.forEach(function(a){B(c,a)&&f.push(a)}),h(0===f.length?E(e):f.length>1?E(f):f[0]))}function c(a){if(a){var b=a.type;if(w(b)){var c=a.streamInfo.id;K[c]||(K[c]=F());for(var d=K[c][b].list,f=0,g=d.length;f<g;++f)if(x(d[f],a))return;d.push(a);var i=l(b);i&&B(i,a)&&!e(b,a.streamInfo)&&h(a)}}}function d(a,b){if(!a||!b)return[];var c=b.id;return K[c]&&K[c][a]?K[c][a].list:[]}function e(a,b){return!a||!b||b&&!K[b.id]?null:K[b.id][a].current}function f(a){if(!a)return!1;var b=a.type,c=a.streamInfo.id;return K[c]&&K[c][b]&&x(K[c][b].current,a)}
vendor: 4,651 bytes, line 28
28function h(a){if(a){var b=a.type,c=a.streamInfo,d=c.id,f=e(b,c);if(K[d]&&K[d][b]&&!x(a,f)){K[d][b].current=a,K[d][b].current&&H.trigger(i.default.CURRENT_TRACK_CHANGED,{oldMediaInfo:f,newMediaInfo:a,switchMode:N[b]});var g=A(a);g&&K[d][b].storeLastSettings&&(g.roles&&(g.role=g.roles[0],delete g.roles),g.accessibility&&(g.accessibility=g.accessibility[0]),g.audioChannelConfiguration&&(g.audioChannelConfiguration=g.audioChannelConfiguration[0]),P.setSavedMediaSettings(b,g))}}}function j(a,b){a&&b&&(L[a]=b)}function l(a){return a?L[a]:null}function m(a,b){if(-1===Q.indexOf(b))return void J.warn("Track switch mode is not supported: "+b);N[a]=b}function n(a){return N[a]}function u(a){if(-1===R.indexOf(a))return void J.warn("Track selection mode is not supported: "+a);M=a}function v(){return M||t}function w(a){return a===g.default.AUDIO||a===g.default.VIDEO||a===g.default.TEXT||a===g.default.FRAGMENTED_TEXT||a===g.default.IMAGE}function x(a,b){if(!a&&!b)return!0;if(!a||!b)return!1;var c=a.id===b.id,d=a.viewpoint===b.viewpoint,e=a.lang===b.lang,f=a.roles.toString()===b.roles.toString(),g=a.accessibility.toString()===b.accessibility.toString(),h=a.audioChannelConfiguration.toString()===b.audioChannelConfiguration.toString();return c&&d&&e&&f&&g&&h}function y(a){a&&(a.errHandler&&(O=a.errHandler),a.domStorage&&(P=a.domStorage))}function z(){K={},D(),C()}function A(a){var b={lang:a.lang,viewpoint:a.viewpoint,roles:a.roles,accessibility:a.accessibility,audioChannelConfiguration:a.audioChannelConfiguration};return b.lang||b.viewpoint||b.role&&b.role.length>0||b.accessibility&&b.accessibility.length>0||b.audioChannelConfiguration&&b.audioChannelConfiguration.length>0?b:null}function B(a,b){var c=!a.lang||a.lang===b.lang,d=!a.viewpoint||a.viewpoint===b.viewpoint,e=!a.role||!!b.roles.filter(function(b){return b===a.role})[0],f=!a.accessibility||!!b.accessibility.filter(function(b){return b===a.accessibility})[0],g=!a.audioChannelConfiguration||!!b.audioChannelConfiguration.filter(function(b){return b===a.audioChannelConfiguration})[0];return c&&d&&e&&f&&g}function C(){N={audio:q,video:p}}function D(){L={audio:null,video:null}}function E(a){var b=v(),c=[],d=function(a){var b=0,c=[],d=void 0;return a.forEach(function(a){d=Math.max.apply(Math,a.bitrateList.map(function(a){return a.bandwidth})),d>b?(b=d,c=[a]):d===b&&c.push(a)}),c},e=function(a){var b=0,c=[],d=void 0;return a.forEach(function(a){d=a.representationCount,d>b?(b=d,c=[a]):d===b&&c.push(a)}),c};switch(b){case r:c=d(a),c.length>1&&(c=e(c));break;case s:c=e(a),c.length>1&&(c=d(a));break;default:J.warn("Track selection mode is not supported: "+b)}return c[0]}function F(){return{audio:{list:[],storeLastSettings:!0,current:null},video:{list:[],storeLastSettings:!0,current:null},text:{list:[],storeLastSettings:!0,current:null},fragmentedText:{list:[],storeLastSettings:!0,current:null},image:{list:[],storeLastSettings:!0,current:null}}}var G=this.context,H=(0,k.default)(G).getInstance(),I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=[q,p],R=[r,s];return I={checkInitialMediaSettingsForType:b,addTrack:c,getTracksFor:d,getCurrentTrackFor:e,isCurrentTrack:f,setTrack:h,setInitialSettings:j,getInitialSettings:l,setSwitchMode:m,getSwitchMode:n,setSelectionModeForInitialTrack:u,getSelectionModeForInitialTrack:v,isMultiTrackSupportedByType:w,isTracksEqual:x,setConfig:y,reset:z},a(),I}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(51),i=d(h),j=a(47),k=d(j),l=a(48),m=d(l),n=a(46),o=d(n),p="neverReplace",q="alwaysReplace",r="highestBitrate",s="widestRange",t=r;e.__dashjs_factory_name="MediaController";var u=m.default.getSingletonFactory(e);u.TRACK_SWITCH_MODE_NEVER_REPLACE=p,u.TRACK_SWITCH_MODE_ALWAYS_REPLACE=q,u.TRACK_SELECTION_MODE_HIGHEST_BITRATE=r,u.TRACK_SELECTION_MODE_WIDEST_RANGE=s,u.DEFAULT_INIT_TRACK_SELECTION_MODE=t,m.default.updateSingletonFactory(e.__dashjs_factory_name,u),c.default=u,b.exports=c.default},{100:100,46:46,47:47,48:48,51:51}],110:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){j=(0,i.default)(k).getInstance().getLogger(h)}function b(){var a="WebKitMediaSource"in window;return"MediaSource"in window?new MediaSource:a?new WebKitMediaSource:null}function c(a,b){var c=window.URL.createObjectURL(a);return b.setSource(c),c}function d(a){a.setSource(null)}function e(a,b){return a.duration!=b&&(a.duration=b),a.duration}function f(a,b,c){a&&"function"==typeof a.setLiveSeekableRange&&"function"==typeof a.clearLiveSeekableRange&&"open"===a.readyState&&b>=0&&b<c&&(a.clearLiveSeekableRange(),a.setLiveSeekableRange(b,c)
28)}function g(a){var b=a.sourceBuffers,c=b.length;if("open"===a.readyState){for(var d=0;d<c;d++){if(b[d].updating)return;if(0===b[d].buffered.length)return}j.info("call to mediaSource endOfStream"),a.endOfStream()}}var h=void 0,j=void 0,k=this.context;return h={createMediaSource:b,attachMediaSource:c,detachMediaSource:d,setDuration:e,setSeekable:f,signalEndOfStream:g},a(),h}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h);e.__dashjs_factory_name="MediaSourceController",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46,48:48}],111:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){sa=(0,s.default)(pa).getInstance().getLogger(ra),I()}function b(a,b){Ga=a,na(),Ha=Ga.manifestInfo.isDynamic,Ba=Ga.start,Na=b,qa.on(o.default.DATA_UPDATE_COMPLETED,Q,this),qa.on(o.default.BYTES_APPENDED_END_FRAGMENT,ka,this),qa.on(o.default.BUFFER_LEVEL_STATE_CHANGED,la,this),qa.on(o.default.PERIOD_SWITCH_STARTED,c,this),qa.on(o.default.PLAYBACK_PROGRESS,ga,this),qa.on(o.default.PLAYBACK_TIME_UPDATED,ga,this),qa.on(o.default.PLAYBACK_ENDED,ca,this),Ja&&(Ja=!1,f())}function c(a){!Ha&&a.fromStreamInfo&&void 0!==Da[a.fromStreamInfo.id]&&(delete Fa[a.fromStreamInfo.id],delete Da[a.fromStreamInfo.id])}function d(){return parseFloat((e()-p()).toFixed(5))}function e(){var a=L(!0),b=Ha?a-Ga.start:0;return a+(Ga.duration-b)}function f(){Ga&&za&&za.getElement()?za.play():Ja=!0}function h(){return Ga&&za?za.isPaused():null}function j(){Ga&&za&&za.pause()}function l(){return Ga&&za?za.isSeeking():null}function n(a,b,c){Ga&&za&&(!0===c?a!==za.getTime()&&(za.removeEventListener("seeking",W),sa.info("Requesting seek to time: "+a),za.setCurrentTime(a,b)):(qa.trigger(o.default.PLAYBACK_SEEK_ASKED),sa.info("Requesting seek to time: "+a),za.setCurrentTime(a,b)))}function p(){return Ga&&za?za.getTime():null}function q(){return Ga&&za?za.getPlaybackRate():null}function r(){return Ga&&za?za.getPlayedRanges():null}function w(){return Ga&&za?za.getEnded():null}function x(){return Ha}function y(){return ta}function z(a){Ba=a}function A(){return Ba}function B(a){Oa=a,0===a&&q()>1&&H()}function C(){return Oa}function D(a,b){var c=xa.getMpd(wa.getValue()),d=void 0,e=void 0;if(d=Ia.getUseSuggestedPresentationDelay()&&c.hasOwnProperty(g.default.SUGGESTED_PRESENTATION_DELAY)?c.suggestedPresentationDelay:Ia.getLowLatencyEnabled()?0:Ia.getLiveDelay()?Ia.getLiveDelay():isNaN(a)?2*Ga.manifestInfo.minBufferTime:a*Ia.getLiveDelayFragmentCount(),c.availabilityStartTime&&(Ma=c.availabilityStartTime.getTime()),b>0){var f=Math.max(b-10,b/2);e=Math.min(d,f)}else e=d;return Ea=e,e}function E(){return Ea}function F(){if(!Ha||isNaN(Ma))return NaN;var a=p();return isNaN(a)||0===a?0:(Math.round((new Date).getTime()-(1e3*a+Ma))/1e3).toFixed(3)}function G(){if(za){var a=1+C(),b=q();a!==b&&(sa.info("Starting live catchup mechanism. Setting playback rate to",a),La=b,za.getElement().playbackRate=a,qa.trigger(o.default.PLAYBACK_CATCHUP_START,{sender:ra}))}}function H(){if(za){var a=La||1;a!==q()&&(sa.info("Stopping live catchup mechanism. Setting playback rate to",a),za.getElement().playbackRate=a,qa.trigger(o.default.PLAYBACK_CATCHUP_END,{sender:ra}))}}function I(){Aa=0,Ba=NaN,Ja=!1,Da={},Ea=0,Ma=0,Oa=u,Fa={},za&&(qa.off(o.default.DATA_UPDATE_COMPLETED,Q,this),qa.off(o.default.BUFFER_LEVEL_STATE_CHANGED,la,this),
29qa.off(o.default.BYTES_APPENDED_END_FRAGMENT,ka,this),qa.off(o.default.PERIOD_SWITCH_STARTED,c,this),qa.off(o.default.PLAYBACK_PROGRESS,ga,this),qa.off(o.default.PLAYBACK_TIME_UPDATED,ga,this),qa.off(o.default.PLAYBACK_ENDED,ca,this),O(),oa()),Ca=null,za=null,Ga=null,Ha=null}function J(a){a&&(a.streamController&&(ta=a.streamController),a.metricsModel&&(ua=a.metricsModel),a.dashMetrics&&(va=a.dashMetrics),a.manifestModel&&(wa=a.manifestModel),a.dashManifestModel&&(xa=a.dashManifestModel),a.mediaPlayerModel&&(Ia=a.mediaPlayerModel),a.adapter&&(ya=a.adapter),a.videoModel&&(za=a.videoModel))}function K(){var a=(0,k.default)(pa).getInstance().getURIFragmentData(),b=void 0;if(a){b={};var c=parseInt(a.r,10);c>=0&&Ga&&c<Ga.manifestInfo.DVRWindowSize&&null===a.t&&(a.t=Math.floor(Date.now()/1e3)-Ga.manifestInfo.DVRWindowSize+c),b.fragS=parseFloat(a.s),b.fragT=parseFloat(a.t)}return b}function L(a,b){var c=void 0,d=NaN,e=K();if(d=e?a?Ga.start:isNaN(e.fragS)?e.fragT:e.fragS:0,Ha)isNaN(d)||((c=d-Ga.manifestInfo.availableFrom.getTime()/1e3)>Ba||c<(isNaN(b)?NaN:b-Ga.manifestInfo.DVRWindowSize))&&(c=null),c=c||Ba;else if(!isNaN(d)&&d<Math.max(Ga.manifestInfo.duration,Ga.duration)&&d>=0)c=d;else{var f=Da[Ga.id];c=void 0!==f?Math.max(void 0!==f.audio?f.audio:0,void 0!==f.video?f.video:0,Ga.start):Ga.start}return c}
29function M(a){var b=ua.getReadOnlyMetricsFor(g.default.VIDEO)||ua.getReadOnlyMetricsFor(g.default.AUDIO),c=va.getCurrentDVRInfo(b),d=c?c.range:null,e=void 0;if(!d)return NaN;if(a>d.end)e=Math.max(d.end-2*Ga.manifestInfo.minBufferTime,d.start);else{if(!(a+.25<d.start))return a;e=d.start}return e}function N(){if(null===Ca){var a=function(){ea()};Ca=setInterval(a,Ia.getWallclockTimeUpdateInterval())}}function O(){clearInterval(Ca),Ca=null}function P(){if(!h()&&Ha&&0!==za.getReadyState()){var a=p(),b=M(a);!isNaN(b)&&b!==a&&n(b)}}function Q(a){if(!a.error){var b=ya.convertDataToRepresentationInfo(a.currentRepresentation),c=b.mediaInfo.streamInfo;Ga.id===c.id&&(Ga=c,P())}}function R(){qa.trigger(o.default.CAN_PLAY)}function S(){sa.info("Native video element event: play"),P(),N(),qa.trigger(o.default.PLAYBACK_STARTED,{startTime:p()})}function T(){sa.info("Native video element event: waiting"),qa.trigger(o.default.PLAYBACK_WAITING,{playingTime:p()})}function U(){sa.info("Native video element event: playing"),qa.trigger(o.default.PLAYBACK_PLAYING,{playingTime:p()})}function V(){sa.info("Native video element event: pause"),qa.trigger(o.default.PLAYBACK_PAUSED,{ended:w()})}function W(){var a=p();sa.info("Seeking to: "+a),N(),qa.trigger(o.default.PLAYBACK_SEEKING,{seekTime:a})}function X(){sa.info("Native video element event: seeked"),qa.trigger(o.default.PLAYBACK_SEEKED),za.addEventListener("seeking",W)}function Y(){var a=p();Aa=a,qa.trigger(o.default.PLAYBACK_TIME_UPDATED,{timeToEnd:d(),time:a})}function Z(){var a=Date.now();(!Ka||a>Ka+t)&&(Ka=a,Y())}function $(){qa.trigger(o.default.PLAYBACK_PROGRESS)}function _(){var a=q();sa.info("Native video element event: ratechange: ",a),qa.trigger(o.default.PLAYBACK_RATE_CHANGED,{playbackRate:a})}function aa(){sa.info("Native video element event: loadedmetadata"),qa.trigger(o.default.PLAYBACK_METADATA_LOADED),N()}function ba(){sa.info("Native video element event: ended"),j(),O(),qa.trigger(o.default.PLAYBACK_ENDED,{isLast:ta.getActiveStreamInfo().isLast})}function ca(a){Ca&&a.isLast&&(sa.info("[PlaybackController] onPlaybackEnded -- PLAYBACK_ENDED but native video element didn't fire ended"),za.setCurrentTime(e()),j(),O())}function da(a){var b=a.target||a.srcElement;qa.trigger(o.default.PLAYBACK_ERROR,{error:b.error})}function ea(){qa.trigger(o.default.WALLCLOCK_TIME_UPDATED,{isDynamic:Ha,time:new Date}),x()&&h()&&Z()}function fa(a,b){if(b&&b.length>0)for(var c=0,d=b.length;c<d;c++)if(a>=b.start(c)&&a<b.end(c))return!0;return!1}function ga(){Ha&&Ia.getLowLatencyEnabled()&&C()>0&&(!ja()&&ha()?G():ia()&&H())}function ha(){return F()>Ia.getLiveDelay()*(1+v)}function ia(){return F()<=Ia.getLiveDelay()}function ja(){return C()+1===q()}function ka(a){var b=void 0,c=void 0,d=a.bufferedRanges;if(d&&d.length&&(!Da[Ga.id]||!0!==Da[Ga.id].started)){var e=a.sender.getType();void 0===Fa[Ga.id]&&(Fa[Ga.id]=[]),Fa[Ga.id][e]=d,void 0===Da[Ga.id]&&(Da[Ga.id]=[],Da[Ga.id].started=!1),void 0===Da[Ga.id][e]&&(Da[Ga.id][e]=Math.max(d.start(0),Ga.start));var f=ta.isVideoTrackPresent(),g=ta.isAudioTrackPresent();c=L(!1),g&&f?isNaN(Da[Ga.id].audio)||isNaN(Da[Ga.id].video)||(Da[Ga.id].audio<Da[Ga.id].video?(b=Da[Ga.id].video>c?Da[Ga.id].video:c,d=Fa[Ga.id].audio):(b=Da[Ga.id].audio>c?Da[Ga.id].audio:c,d=Fa[Ga.id].video),fa(b,d)&&(l()||Na||0===b||n(b,!0,!0),Da[Ga.id].started=!0)):Da[Ga.id][e]&&(b=Da[Ga.id][e]>c?Da[Ga.id][e]:c,l()||Na||n(b,!1,!0),Da[Ga.id].started=!0)}}function la(a){a.streamInfo.id===Ga.id&&za.setStallState(a.mediaType,a.state===i.default.BUFFER_EMPTY)}function ma(a){qa.trigger(o.default.PLAYBACK_STALLED,{e:a})}function na(){za.addEventListener("canplay",R),za.addEventListener("play",S),za.addEventListener("waiting",T),za.addEventListener("playing",U),za.addEventListener("pause",V),za.addEventListener("error",da),za.addEventListener("seeking",W),za.addEventListener("seeked",X),za.addEventListener("timeupdate",Y),za.addEventListener("progress",$),za.addEventListener("ratechange",_),za.addEventListener("loadedmetadata",aa),za.addEventListener("stalled",ma),za.addEventListener("ended",ba)}function oa(){za.removeEventListener("canplay",R),za.removeEventListener("play",S),za.removeEventListener("waiting",T),za.removeEventListener("playing",U),za.removeEventListener("pause",V),za.removeEventListener("error",da),za.removeEventListener("seeking",W),za.removeEventListener("seeked",X),za.removeEventListener("timeupdate",Y),za.removeEventListener("progress",$),za.removeEventListener("ratechange",_),za.removeEventListener("loadedmetadata",aa),za.removeEventListener("stalled",ma),za.removeEventListener("ended",ba)}var pa=this.context,qa=(0,m.default)(pa).getInstance(),ra=void 0,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=u;return ra={initialize:b,setConfig:J,getStartTimeFromUriParameters:K,getStreamStartTime:L,getTimeToStreamEnd:d,getTime:p,getPlaybackRate:q,getPlayedRanges:r,getEnded:w,getIsDynamic:x,getStreamController:y,setCatchUpPlaybackRate:
29B,setLiveStartTime:z,getLiveStartTime:A,computeLiveDelay:D,getLiveDelay:E,getCurrentLiveLatency:F,play:f,isPaused:h,pause:j,isSeeking:l,seek:n,reset:I},a(),ra}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(106),i=d(h),j=a(144),k=d(j),l=a(47),m=d(l),n=a(51),o=d(n),p=a(48),q=d(p),r=a(46),s=d(r),t=500,u=.05,v=.35;e.__dashjs_factory_name="PlaybackController",c.default=q.default.getSingletonFactory(e),b.exports=c.default},{100:100,106:106,144:144,46:46,47:47,48:48,51:51}],112:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){ta=(0,z.default)(da).getInstance().getLogger(sa),ba()}function c(){ua=qa.getFragmentModel(),Ha=ka.getScheduleWhilePaused(),Fa=(0,n.default)(da).create({abrController:la,dashMetrics:ha,metricsModel:fa,mediaPlayerModel:ka,textController:oa}),Ga=(0,p.default)(da).create({adapter:ga,textController:oa}),ia.getIsTextTrack(a.mimeType)&&ea.on(v.default.TIMED_TEXT_REQUESTED,P,this),ea.on(v.default.QUALITY_CHANGE_REQUESTED,y,this),ea.on(v.default.DATA_UPDATE_STARTED,K,this),ea.on(v.default.DATA_UPDATE_COMPLETED,C,this),ea.on(v.default.FRAGMENT_LOADING_COMPLETED,G,this),ea.on(v.default.STREAM_COMPLETED,F,this),ea.on(v.default.STREAM_INITIALIZED,D,this),ea.on(v.default.BUFFER_LEVEL_STATE_CHANGED,M,this),ea.on(v.default.BUFFER_CLEARED,L,this),ea.on(v.default.BYTES_APPENDED_END_FRAGMENT,I,this),ea.on(v.default.INIT_REQUESTED,q,this),ea.on(v.default.QUOTA_EXCEEDED,N,this),ea.on(v.default.PLAYBACK_SEEKING,R,this),ea.on(v.default.PLAYBACK_STARTED,Q,this),ea.on(v.default.PLAYBACK_RATE_CHANGED,S,this),ea.on(v.default.PLAYBACK_TIME_UPDATED,H,this),ea.on(v.default.URL_RESOLUTION_FAILED,O,this),ea.on(v.default.FRAGMENT_LOADING_ABANDONED,J,this)}function d(){return!1===xa}function e(){if(!va||qa.isBufferingCompleted())return void ta.warn("Start denied to Schedule Controller");ta.debug("Schedule Controller starts"),aa(),xa=!1,wa&&(wa=!1),o(0)}function f(){xa||(ta.debug("Schedule Controller stops"),xa=!0,clearTimeout(Da))}function i(a,b){Ja[b]=Ja[b]||{};var c=la.getTopQualityIndexFor(a,b);return Ja[b][a]!=c&&(ta.info("Top quality "+a+" index has changed from "+Ja[b][a]+" to "+c),Ja[b][a]=c,!0)}function k(){var a=qa.getBufferController();if(xa||Ba||!a||ma.isPaused()&&!Ha||(pa===g.default.FRAGMENTED_TEXT||pa===g.default.TEXT)&&!oa.isTextEnabled())return void ta.debug("Schedule stop!");if(a.getIsBufferingCompleted())return void ta.debug("Schedule stop because buffering is completed!");m();var b=La.length>0,c=qa.getStreamInfo();if(Na||isNaN(Ka)||Ma||b||i(va.mediaInfo.type,c.id)||Fa.execute(qa,na.isVideoTrackPresent())){var d=function(){var a=qa.getFragmentController();if(va.quality!==Ka)ta.debug("Quality has changed, get init request for representationid = "+va.id),Ka=va.quality,qa.switchInitData(va.id);else if(Ma)ta.debug("Switch track has been asked, get init request for "+pa+" with representationid = "+va.id),Na=ra.getSwitchMode(pa)===B.default.TRACK_SWITCH_MODE_ALWAYS_REPLACE,qa.switchInitData(va.id,Na),Ka=va.quality,Ma=!1;else{var b=La.shift();if(a.isInitializationRequest(b))qa.switchInitData(b.representationId);else{var d=void 0;qa.getBufferController().getIsPruningInProgress()||!(d=Ga.execute(qa,b))&&c.manifestInfo&&c.manifestInfo.isDynamic&&ta.info("Playing at the bleeding live edge and frag is not available yet"),d?(ta.debug("getNextFragment - request is "+d.url),ua.executeRequest(d)):(s(!1),o(ka.getLowLatencyEnabled()?100:500))}}};s(!0),b||Ma||la.checkPlaybackQuality(pa),d()}else o(500)}function m(){var a=1.5*va.fragmentDuration,b=ua.getRequests({state:r.default.FRAGMENT_MODEL_EXECUTED,time:ma.getTime()+a,threshold:0})[0];if(b&&-1===La.indexOf(b)&&!ia.getIsTextTrack(pa)){var c=ka.getFastSwitchEnabled(),d=qa.getBufferLevel(),e=la.getAbandonmentStateFor(pa),f=!ra.isCurrentTrack(b.mediaInfo)&&ra.getSwitchMode(b.mediaInfo.type)===B.default.TRACK_SWITCH_MODE_NEVER_REPLACE,g=b.quality<va.quality;c&&(f||g)&&d>=a&&e!==j.default.ABANDON_LOAD?(x(b),ta.debug("Reloading outdated fragment at index: ",b.index)):b.quality>va.quality&&U(ma.getTime()+qa.getBufferLevel())}}function o(a){clearTimeout(Da),Da=setTimeout(k,a)}function q(a){a.sender&&a.sender.getStreamProcessor()===qa&&u(va.quality)}function s(a){Ba!==a?Ba=a:ta.debug("isFragmentProcessingInProgress 
29is already equal to",a)}function u(a){var b=ga.getInitRequest(qa,a);b&&(s(!0),ua.executeRequest(b))}function w(){Ma=!0}function x(a){La.push(a)}function y(a){if(pa===a.mediaType&&qa.getStreamInfo().id===a.streamInfo.id){if(null===(va=qa.getRepresentationInfoForQuality(a.newQuality))||void 0===va)throw new Error("Unexpected error! - currentRepresentationInfo is null or undefined");_(new Date,h.PlayListTrace.REPRESENTATION_SWITCH_STOP_REASON),aa()}}function A(a){if(ma&&ua){var b=ua.getRequests({state:r.default.FRAGMENT_MODEL_EXECUTED,time:ma.getTime(),threshold:0})[0];b&&ma.getTime()>=b.startTime&&((!Ia.mediaInfo||b.mediaInfo.type===Ia.mediaInfo.type&&b.mediaInfo.id!==Ia.mediaInfo.id)&&a&&ea.trigger(v.default.TRACK_CHANGE_RENDERED,{mediaType:pa,oldMediaInfo:Ia.mediaInfo,newMediaInfo:b.mediaInfo}),b.quality===Ia.quality&&b.adaptationIndex===Ia.adaptationIndex||!a||ea.trigger(v.default.QUALITY_CHANGE_RENDERED,{mediaType:pa,oldQuality:Ia.quality,newQuality:b.quality}),Ia={mediaInfo:b.mediaInfo,quality:b.quality,adaptationIndex:b.adaptationIndex})}}function C(a){a.error||a.sender.getStreamProcessor()!==qa||(va=ga.convertDataToRepresentationInfo(a.currentRepresentation))}function D(a){a.error||qa.getStreamInfo().id!==a.streamInfo.id||(va=qa.getCurrentRepresentationInfo(),wa&&(ma.getIsDynamic()?(ja.setTimeSyncCompleted(!0),E()):(Ea=ma.getStreamStartTime(!1),qa.getBufferController().setSeekStartTime(Ea))),xa&&e())}function E(){var a=qa.getLiveEdgeFinder();if(a){var b=a.getLiveEdge(),c=va.mediaInfo.streamInfo.manifestInfo.DVRWindowSize/2,d=b-ma.computeLiveDelay(va.fragmentDuration,c),e=ga.getFragmentRequestForTime(qa,va,d,{ignoreIsFinished:!0});if(e)if(ka.getLowLatencyEnabled()){var f=e.duration<ka.getLiveDelay()?e.startTime:e.startTime+e.duration-ka.getLiveDelay();ma.setLiveStartTime(f)}else ma.setLiveStartTime(e.startTime);else ta.debug("setLiveEdgeSeekTarget : getFragmentRequestForTime returned undefined request object");Ea=ma.getStreamStartTime(!1,b),qa.getBufferController().setSeekStartTime(Ea),Ea>va.mediaInfo.streamInfo.start+va.mediaInfo.streamInfo.duration&&ma.seek(Ea);var h=ha.getCurrentManifestUpdate(fa.getMetricsFor(g.default.STREAM));fa.updateManifestUpdateInfo(h,{currentTime:Ea,presentationStartTime:b,latency:b-Ea,clientTimeOffset:ja.getClientTimeOffset()})}}function F(a){a.fragmentModel===ua&&(f(),s(!1),ta.info("Stream is complete"))}function G(a){a.sender===ua&&(ta.info("OnFragmentLoadingCompleted - Url:",a.request?a.request.url:"undefined"),ia.getIsTextTrack(pa)&&s(!1),a.error&&a.request.serviceLocation&&!xa&&(x(a.request),s(!1),o(0)),Na&&(Oa=a.request))}function H(){A(!0)}function I(a){a.sender.getStreamProcessor()===qa&&(Na&&!isNaN(a.startTime)&&(Na=!1,ua.addExecutedRequest(Oa)),s(!1),o(0))}function J(a){a.streamProcessor===qa&&(ta.info("onFragmentLoadingAbandoned for "+pa+", request: "+a.request.url+" has been aborted"),ma.isSeeking()||Ma||(ta.info("onFragmentLoadingAbandoned for "+pa+", request: "+a.request.url+" has to be downloaded again, origin is not seeking process or switch track call"),x(a.request)),s(!1),o(0))}function K(a){a.sender.getStreamProcessor()===qa&&f()}function L(a){a.sender.getStreamProcessor()===qa&&(a.unintended?qa.getFragmentModel().removeExecutedRequestsAfterTime(a.from,qa.getStreamInfo().duration):qa.getFragmentModel().syncExecutedRequestsWithBufferedRange(qa.getBufferController().getBuffer().getAllBufferRanges(),qa.getStreamInfo().duration),a.hasEnoughSpaceToAppend&&xa&&e())}function M(a){a.sender.getStreamProcessor()!==qa||a.state!==l.default.BUFFER_EMPTY||ma.isSeeking()||(ta.info("Buffer is empty! Stalling!"),_(new Date,h.PlayListTrace.REBUFFERING_REASON))}function N(a){a.sender.getStreamProcessor()===qa&&(f(),s(!1))}function O(){ua.abortRequests(),f()}function P(a){a.sender.getStreamProcessor()===qa&&oa.isTextEnabled()&&u(a.index)}function Q(){!xa&&Ha||e()}function R(a){Ea=a.seekTime,V(0),xa&&e();var b=ha.getCurrentManifestUpdate(fa.getMetricsFor(g.default.STREAM)),c=va.DVRWindow&&ma?va.DVRWindow.end-ma.getTime():NaN;fa.updateManifestUpdateInfo(b,{latency:c}),Ba?(ta.debug("onPlaybackSeeking for "+pa+", call fragmentModel.abortRequests in order to seek quicker"),ua.abortRequests()):o(0)}function S(a){za&&(za.playbackspeed=a.playbackRate.toString())}function T(){return Ea}function U(a){Ea=a}function V(a){Ca=a}function W(){return Ca}function X(){return Fa.getBufferTarget(qa,na.isVideoTrackPresent())}function Y(){return pa}function Z(a){ya=a}function $(a,b){_(a,b),ya=null}function _(a,b){if(ya&&!1===Aa){var c=za.start,d=a.getTime()-c.getTime();za.duration=d,za.stopreason=b,ya.trace.push(za),Aa=!0}}function aa(){ya&&!0===Aa&&va&&(Aa=!1,za=new h.PlayListTrace,za.representationid=va.id,za.start=new Date,za.mstart=1e3*ma.getTime(),za.playbackspeed=ma.getPlaybackRate().toString())}function ba(){Ba=!1,Ca=0,Ea=NaN,ya=null,za=null,Aa=!0,wa=!0,Ka=NaN,Ia={mediaInfo:void 0,quality:NaN,adaptationIndex:NaN},Ja={},La=[],xa=!0,Ma=!1,Na=!1,Oa=null}function ca(){ea.off(v.default.DATA_UPDATE_STARTED,K,this),ea.off(v.default.DATA_UPDATE_COMPLETED,C,this),ea.off(v.default.BUFFER_LEVEL_STATE_CHANGED,M,this),ea.off(v.default.QUALITY_CHANGE_REQUESTED,y,this),ea.off(v.default.FRAGMENT_LOADING_COMPLETED,G,this),ea.off(v.default.STREAM_COMPLETED,F,this),ea.off(v.default.STREAM_INITIALIZED,D,this),ea.off(v.default.QUOTA_EXCEEDED,N,this),ea.off(v.default.BYTES_APPENDED_END_FRAGMENT,I,this),ea.off(v.default.BUFFER_CLEARED,L,this),ea.off(v.default.INIT_REQUESTED,q,this),ea.off(v.default.PLAYBACK_RATE_CHANGED,S,this),ea.off(v.default.PLAYBACK_SEEKING,R,this),ea.off(v.default.PLAYBACK_STARTED,Q,this),ea.off(v.default.PLAYBACK_TIME_UPDATED,H,this),ea.off(v.default.URL_RESOLUTION_FAILED,O,this),ea.off(v.default.FRAGMENT_LOADING_ABANDONED,J,this),ia.getIsTextTrack(pa)&&ea.off(v.default.TIMED_TEXT_REQUESTED,P,this),f(),A(!1),ba()}a=a||{};var da=this.context,ea=(0,t.default)(da).getInstance(),fa=a.metricsModel,ga=a.adapter,ha=a.dashMetrics,ia=a.dashManifestModel,ja=a.timelineConverter,ka=a.mediaPlayerModel,la=a.abrController,ma=a.playbackController,n
29a=a.streamController,oa=a.textController,pa=a.type,qa=a.streamProcessor,ra=a.mediaController,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0;return sa={initialize:c,getType:Y,getSeekTarget:T,setSeekTarget:U,setTimeToLoadDelay:V,getTimeToLoadDelay:W,replaceRequest:x,switchTrackAsked:w,isStarted:d,start:e,stop:f,reset:ca,setPlayList:Z,getBufferTarget:X,finalisePlayList:$},b(),sa}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(235),i=a(103),j=d(i),k=a(106),l=d(k),m=a(185),n=d(m),o=a(186),p=d(o),q=a(140),r=d(q),s=a(47),t=d(s),u=a(51),v=d(u),w=a(48),x=d(w),y=a(46),z=d(y),A=a(109),B=d(A);e.__dashjs_factory_name="ScheduleController",c.default=x.default.getClassFactory(e),b.exports=c.default},{100:100,103:103,106:106,109:109,140:140,185:185,186:186,235:235,46:46,47:47,48:48,51:51}],113:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){la=(0,x.default)(ia).getInstance().getLogger(ka),va=(0,F.default)(ia).getInstance(),wa=(0,H.default)(ia).getInstance(),ua=(0,J.default)(ia).getInstance(),Ba=(0,z.default)(ia).getInstance(),Ca=(0,B.default)(ia).getInstance(),ea()}function b(a,b){Z(),Ja=a,Ia=b,Ea.initialize(),na=(0,m.default)(ia).create(),na.setConfig({manifestModel:pa,dashManifestModel:qa,mediaPlayerModel:Qa,manifestLoader:oa,errHandler:Da}),na.initialize(),wa.setConfig({dashManifestModel:qa}),ja.on(q.default.TIME_SYNCHRONIZATION_COMPLETED,P,this),ja.on(q.default.PLAYBACK_SEEKING,f,this),ja.on(q.default.PLAYBACK_TIME_UPDATED,c,this),ja.on(q.default.PLAYBACK_ENDED,A,this),ja.on(q.default.PLAYBACK_ERROR,W,this),ja.on(q.default.PLAYBACK_STARTED,h,this),ja.on(q.default.PLAYBACK_PAUSED,j,this),ja.on(q.default.MANIFEST_UPDATED,Q,this),ja.on(q.default.STREAM_BUFFERING_COMPLETED,r,this),ja.on(q.default.MANIFEST_VALIDITY_CHANGED,ba,this),ja.on(q.default.WALLCLOCK_TIME_UPDATED,d,this),ja.on(D.default.METRIC_ADDED,ga,this)}function c(){if(S()){var a=Oa.getPlaybackQuality();a&&sa.addDroppedFrames(g.default.VIDEO,a)}}function d(){if(!(!Qa.getJumpGaps()||!Ga||0===Ga.getProcessors().length||Pa.isSeeking()||Ra||Ka||La||Ma)&&++Za>=ha){var a=Pa.getTime();bb===a?e(a):bb=a,Za=0}}function e(a){for(var b=Ga.getProcessors(),c=Qa.getSmallGapLimit(),d=void 0,e=0;e<b.length;e++){var f=b[e].getBuffer(),g=f.getAllBufferRanges(),h=void 0;if(g&&!(g.length<=1)){for(var i=0;i<g.length;i++)if(a<g.start(i)){h=g.start(i);break}if(h>0){var j=h-a;j>0&&j<=c&&(void 0===d||h>d)&&(d=h)}}}var k=Pa.getTimeToStreamEnd();void 0===d&&!isNaN(k)&&k<c&&(d=a+k),d>0&&(!isNaN(k)&&d>=a+k?(la.info("Jumping media gap (discontinuity) at time ",a,". Jumping to end of the stream"),ja.trigger(q.default.PLAYBACK_ENDED,{isLast:X().isLast})):(la.info("Jumping media gap (discontinuity) at time ",a,". Jumping to time position",d),Pa.seek(d)))}function f(a){var b=u(a.seekTime);Xa&&(l(),Wa=!1),Ya&&n(),b===Ga&&ab&&ab.deactivate(!0),b&&(b!==Ga||ab&&!Ga.isActive())?(U(v.PlayListTrace.END_OF_PERIOD_STOP_REASON),E(Ga,b,a.seekTime)):U(v.PlayListTrace.USER_REQUEST_STOP_REASON),V(v.PlayList.SEEK_START_REASON)}function h(){la.debug("[onPlaybackStarted]"),Sa?(Sa=!1,V(v.PlayList.INITIAL_PLAYOUT_START_REASON)):Ra&&(Ra=!1,V(v.PlayList.RESUME_FROM_PAUSE_START_REASON),p())}function j(a){la.debug("[onPlaybackPaused]"),a.ended||(Ra=!0,U(v.PlayListTrace.USER_REQUEST_STOP_REASON),p())}function l(){la.debug("[toggleEndPeriodTimer] stop end period timer."),clearTimeout(Xa),Xa=void 0}function n(){la.debug("[PreloadTimer] stop period preload timer."),clearTimeout(Ya),Ya=void 0}function p(){if(Wa)if(Xa)l();else{var a=Pa.getTimeToStreamEnd(),b=a>0?1e3*a:0;la.debug("[toggleEndPeriodTimer] start-up of timer to notify PLAYBACK_ENDED event. It will be triggered in "+b+" milliseconds"),Xa=setTimeout(function(){ja.trigger(q.default.PLAYBACK_ENDED,{isLast:X().isLast})},b);var c=b<2e3?b/4:b-2e3;la.info("[StreamController][toggleEndPeriodTimer] Going to fire preload in "+c),Ya=setTimeout(t,c)}}function r(){var a=X().isLast;Na&&a?(la.info("[onStreamBufferingCompleted] calls signalEndOfStream of mediaSourceController."),ua.signalEndOfStream(Na)):Na&&void 0===Xa&&(la.info("[StreamController][onStreamBufferingCompleted] end of period detected"),Wa=!0,!1===Ra&&p())}function t(){var a=X().isLast;Na&&!a&&function(){var a=C();
29(_a=Ga.isCompatibleWithStream(a))&&(la.info("[StreamController][onStreamCanLoadNext] Preloading next stream"),Ga.stopEventController(),Ga.deactivate(!0),a.preload(Na,$a),ab=a,a.getProcessors().forEach(function(b){ra.setIndexHandlerTime(b,a.getStartTime())}))}()}function u(a){var b=0,c=null,d=Fa.length;d>0&&(b+=Fa[0].getStartTime());for(var e=0;e<d;e++)if(c=Fa[e],b=parseFloat((b+c.getDuration()).toFixed(5)),a<b)return c;return null}function w(a,b){for(var c=null,d=0,e=0,f=null,g=Fa.length,h=0;h<g;h++){if(c=Fa[h],e=c.getStartTime(),f=c.getDuration(),Number.isFinite(e)&&(d=e),c.getId()===b)return a-d;Number.isFinite(f)&&(d+=f)}return null}function y(){return Ga?Ga.getProcessors():[]}function A(){var a=C();a?(Va=void 0,Ua=void 0,E(Ga,a,NaN)):la.debug("StreamController no next stream found"),U(a?v.PlayListTrace.END_OF_PERIOD_STOP_REASON:v.PlayListTrace.END_OF_CONTENT_STOP_REASON),Xa=void 0,Wa=!1}function C(){if(Ga){var a=function(){var a=Ga.getStreamInfo().start,b=Ga.getStreamInfo().duration;return{v:Fa.filter(function(c){return c.getStreamInfo().start===parseFloat((a+b).toFixed(5))})[0]}}();if("object"==typeof a)return a.v}}function E(a,b,c){Ka||!b||a===b&&b.isActive()||(Ka=!0,ja.trigger(q.default.PERIOD_SWITCH_STARTED,{fromStreamInfo:a?a.getStreamInfo():null,toStreamInfo:b.getStreamInfo()}),_a=!1,a&&(a.stopEventController(),_a=Ga.isCompatibleWithStream(b)&&!c||b.getPreloaded(),a.deactivate(_a)),Ga=b,ab=!1,Pa.initialize(Ga.getStreamInfo(),_a),Oa.getElement()?K(c,a,!1,_a):G(c))}function G(a){L(a,_a)}function I(a){Ga&&(Pa.initialize(Ga.getStreamInfo()),K(a,null,!0,!1))}function K(a,b,c,d){function e(){Na&&(la.debug("MediaSource is open!"),window.URL.revokeObjectURL(f),Na.removeEventListener("sourceopen",e),Na.removeEventListener("webkitsourceopen",e),M(),b||ja.trigger(q.default.SOURCE_INITIALIZED),c?Ga.setMediaSource(Na):L(a,d))}var f=void 0;Na?d?(L(a,d),b||ja.trigger(q.default.SOURCE_INITIALIZED)):(ua.detachMediaSource(Oa),Na.addEventListener("sourceopen",e,!1),Na.addEventListener("webkitsourceopen",e,!1),f=ua.attachMediaSource(Na,Oa),la.debug("MediaSource attached to element.  Waiting on open...")):(Na=ua.createMediaSource(),Na.addEventListener("sourceopen",e,!1),Na.addEventListener("webkitsourceopen",e,!1),f=ua.attachMediaSource(Na,Oa),la.debug("MediaSource attached to element.  Waiting on open..."))}function L(a,b){$a=Ga.activate(Na,b?$a:void 0),Va=T(g.default.AUDIO),Ua=T(g.default.VIDEO),Sa||(isNaN(a)?function(){var a=Pa.getStreamStartTime(!0);
29b||Ga.getProcessors().forEach(function(b){ra.setIndexHandlerTime(b,a)})}():Pa.seek(a)),Ga.startEventController(),!Ja&&Sa||Pa.play(),Ka=!1,ja.trigger(q.default.PERIOD_SWITCH_COMPLETED,{toStreamInfo:Ga.getStreamInfo()})}function M(a){var b=a||Ga.getStreamInfo().manifestInfo.duration,c=ua.setDuration(Na,b);la.debug("Duration successfully set to: "+c)}function N(a){for(var b=0,c=Fa.length;b<c;b++)if(Fa[b].getId()===a.id)return Fa[b];return null}function O(){try{var a=ra.getStreamsInfo();if(0===a.length)throw new Error("There are no streams");var b=ta.getCurrentManifestUpdate(sa.getMetricsFor(g.default.STREAM));sa.updateManifestUpdateInfo(b,{currentTime:Pa.getTime(),buffered:Oa.getBufferRange(),presentationStartTime:a[0].start,clientTimeOffset:Ea.getClientTimeOffset()});for(var c=0,d=a.length;c<d;c++){var e=a[c],f=N(e);f?f.updateData(e):(f=(0,k.default)(ia).create({manifestModel:pa,dashManifestModel:qa,mediaPlayerModel:Qa,metricsModel:sa,dashMetrics:ta,manifestUpdater:na,adapter:ra,timelineConverter:Ea,capabilities:ma,errHandler:Da,baseURLController:wa,domStorage:xa,abrController:ya,playbackController:Pa,mediaController:za,textController:Aa,videoModel:Oa,streamController:ka}),Fa.push(f),f.initialize(e,Ha)),sa.addManifestUpdateStreamInfo(b,e.id,e.index,e.start,e.duration)}if(!Ga){var h=Pa.getStartTimeFromUriParameters(),i=null;if(h){i=u(isNaN(h.fragS)?h.fragT:h.fragS)}E(null,null!==i?i:Fa[0],NaN)}ja.trigger(q.default.STREAMS_COMPOSED)}catch(j){Da.manifestError(j.message,"nostreamscomposed",pa.getValue()),Ma=!0,fa()}}function P(){var a=pa.getValue();Ha&&(ja.trigger(q.default.PROTECTION_CREATED,{controller:Ha,manifest:a}),Ha.setMediaElement(Oa.getElement()),Ia&&Ha.setProtectionData(Ia)),O()}function Q(a){a.error?(Ma=!0,fa()):function(){var b=a.manifest;ra.updatePeriods(b);var c=ra.getStreamsInfo(void 0,1)[0],d=ra.getMediaInfoForType(c,g.default.VIDEO)||ra.getMediaInfoForType(c,g.default.AUDIO),e=void 0;d&&(e=qa.getUseCalculatedLiveEdgeTimeForAdaptation(ra.getDataForMedia(d)))&&(la.debug("SegmentTimeline detected using calculated Live Edge Time"),Qa.setUseManifestDateHeaderTimeSource(!1));var f=qa.getUTCTimingSources(a.manifest),h=!qa.getIsDynamic(b)||e?f:f.concat(Qa.getUTCTimingSources()),i=Ca.isHTTPS(a.manifest.url);h.forEach(function(a){a.value.replace(/.*?:\/\//g,"")===s.default.DEFAULT_UTC_TIMING_SOURCE.value.replace(/.*?:\/\//g,"")&&(a.value=a.value.replace(i?new RegExp(/^(http:)?\/\//i):new RegExp(/^(https:)?\/\//i),i?"https://":"http://"),la.debug("Matching default timing source protocol to manifest protocol: ",a.value))}),wa.initialize(b),va.setConfig({metricsModel:sa,dashMetrics:ta,baseURLController:wa}),va.initialize(h,Qa.getUseManifestDateHeaderTimeSource())}()}function R(){return Va}function S(){return Ua}function T(a){var b=!1;
vendor: 12,461 bytes, lines 29-30
29return Ga&&Ga.getProcessors().forEach(function(c){c.getMediaInfo().type===a&&(b=!0)}),b}function U(a,b){b=b||new Date,Ta&&(Ga&&Ga.getProcessors().forEach(function(c){var d=c.getScheduleController();d&&d.finalisePlayList(b,a)}),sa.addPlayList(Ta),Ta=null)}function V(a){Ta=new v.PlayList,Ta.start=new Date,Ta.mstart=1e3*Pa.getTime(),Ta.starttype=a,Ga&&Ga.getProcessors().forEach(function(a){var b=a.getScheduleController();b&&b.setPlayList(Ta)})}function W(a){if(a.error){var b="";switch(a.error.code){case 1:b="MEDIA_ERR_ABORTED";break;case 2:b="MEDIA_ERR_NETWORK";break;case 3:b="MEDIA_ERR_DECODE";break;case 4:b="MEDIA_ERR_SRC_NOT_SUPPORTED";break;case 5:b="MEDIA_ERR_ENCRYPTED";break;default:b="UNKNOWN"}La=!0,a.error.message&&(b+=" ("+a.error.message+")"),a.error.msExtendedCode&&(b+=" (0x"+(a.error.msExtendedCode>>>0).toString(16).toUpperCase()+")"),la.fatal("Video Element Error: "+b),a.error&&la.fatal(a.error),Da.mediaSourceError(b),fa()}}function X(){return Ga?Ga.getStreamInfo():null}function Y(a){return Fa.filter(function(b){return b.getId()===a})[0]}function Z(){if(!(oa&&oa.hasOwnProperty("load")&&Ea&&Ea.hasOwnProperty("initialize")&&Ea.hasOwnProperty("reset")&&Ea.hasOwnProperty("getClientTimeOffset")))throw new Error("setConfig function has to be called previously")}function $(){if(!na||!na.hasOwnProperty("setManifest"))throw new Error("initialize function has to be called previously")}function _(a){Z(),oa.load(a)}function aa(a){$(),na.setManifest(a)}function ba(a){isNaN(a.newDuration)||M(a.newDuration)}function ca(a){a&&(a.capabilities&&(ma=a.capabilities),a.manifestLoader&&(oa=a.manifestLoader),a.manifestModel&&(pa=a.manifestModel),a.dashManifestModel&&(qa=a.dashManifestModel),a.mediaPlayerModel&&(Qa=a.mediaPlayerModel),a.protectionController&&(Ha=a.protectionController),a.adapter&&(ra=a.adapter),a.metricsModel&&(sa=a.metricsModel),a.dashMetrics&&(ta=a.dashMetrics),a.errHandler&&(Da=a.errHandler),a.timelineConverter&&(Ea=a.timelineConverter),a.videoModel&&(Oa=a.videoModel),a.playbackController&&(Pa=a.playbackController),a.domStorage&&(xa=a.domStorage),a.abrController&&(ya=a.abrController),a.mediaController&&(za=a.mediaController),a.textController&&(Aa=a.textController))}function da(a){Ia=a}function ea(){Fa=[],Ha=null,Ka=!1,Ga=null,La=!1,Ma=!1,Ua=void 0,Va=void 0,Sa=!0,Ra=!1,Ja=!0,Ta=null,Xa=void 0,Wa=!1,Za=0}function fa(){Z(),va.reset(),U(La||Ma?v.PlayListTrace.FAILURE_STOP_REASON:v.PlayListTrace.USER_REQUEST_STOP_REASON);for(var a=0,b=Fa?Fa.length:0;a<b;a++){Fa[a].reset(La)}ja.off(q.default.PLAYBACK_TIME_UPDATED,c,this),ja.off(q.default.PLAYBACK_SEEKING,f,this),ja.off(q.default.PLAYBACK_ERROR,W,this),ja.off(q.default.PLAYBACK_STARTED,h,this),ja.off(q.default.PLAYBACK_PAUSED,j,this),ja.off(q.default.PLAYBACK_ENDED,A,this),ja.off(q.default.MANIFEST_UPDATED,Q,this),ja.off(q.default.STREAM_BUFFERING_COMPLETED,r,this),ja.off(D.default.METRIC_ADDED,ga,this),ja.off(q.default.MANIFEST_VALIDITY_CHANGED,ba,this),wa.reset(),na.reset(),sa.clearAllCurrentMetrics(),pa.setValue(null),oa.reset(),Ea.reset(),Ba.reset(),Na&&(ua.detachMediaSource(Oa),Na=null),Oa=null,Ha&&(Ha.setMediaElement(null),Ha=null,Ia=null,pa.getValue()&&ja.trigger(q.default.PROTECTION_DESTROYED,{data:pa.getValue().url})),ja.trigger(q.default.STREAM_TEARDOWN_COMPLETE),ea()}function ga(a){a.metric===i.default.DVR_INFO&&a.mediaType===g.default.AUDIO&&ua.setSeekable(Na,a.value.range.start,a.value.range.end)}var ha=40,ia=this.context,ja=(0,o.default)(ia).getInstance(),ka=void 0,la=void 0,ma=void 0,na=void 0,oa=void 0,pa=void 0,qa=void 0,ra=void 0,sa=void 0,ta=void 0,ua=void 0,va=void 0,wa=void 0,xa=void 0,ya=void 0,za=void 0,Aa=void 0,Ba=void 0,Ca=void 0,Da=void 0,Ea=void 0,Fa=void 0,Ga=void 0,Ha=void 0,Ia=void 0,Ja=void 0,Ka=void 0,La=void 0,Ma=void 0,Na=void 0,Oa=void 0,Pa=void 0,Qa=void 0,Ra=void 0,Sa=void 0,Ta=void 0,Ua=void 0,Va=void 0,Wa=void 0,Xa=void 0,Ya=void 0,Za=void 0,$a=void 0,_a=void 0,ab=void 0,bb=void 0;return ka={initialize:b,getActiveStreamInfo:X,isVideoTrackPresent:S,isAudioTrackPresent:R,switchToVideoElement:I,getStreamById:Y,getStreamForTime:u,getTimeRelativeToStreamId:w,load:_,loadWithManifest:aa,getActiveStreamProcessors:y,setConfig:ca,setProtectionData:da,reset:fa},a(),ka}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(101),i=d(h),j=a(97),k=d(j),l=a(91),m=d(l),n=a(47),o=d(n),p=a(51),q=d(p),r=a(142),s=d(r),t=a(48),u=d(t),v=a(235),w=a(46),x=d(w),y=a(202),z=d(y),A=a(208),B=d(A),C=a(93),D=d(C),E=a(114),F=d(E),G=a(104),H=d(G),I=a(110),J=d(I);e.__dashjs_factory_name="StreamController",c.default=u.default.getSingletonFactory(e),b.exports=c.default},{100:100,101:101,104:104,110:110,114:114,142:142,202:202,208:208,235:235,46:46,47:47,48:48,51:51,91:91,93:93,97:97}],114:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){I=(0,r.default)(E).getInstance().getLogger(H)}function b(a,b){M=b,J=0,K=!1,L=!1,N={"urn:mpeg:dash:utc:http-head:2014":z,"urn:mpeg:dash:utc:http-xsdate:2014":y.bind(null,p),"urn:mpeg:dash:utc:http-iso:2014":y.bind(null,q),"urn:mpeg:dash:utc:direct:2014":x,"urn:mpeg:dash:utc:http-head:2012":z,"urn:mpeg:dash:utc:http-xsdate:2012":y.bind(null,p),"urn:mpeg:dash:utc:http-iso:2012":y.bind(null,q),"urn:mpeg:dash:utc:direct:2012":x,"urn:mpeg:dash:utc:http-ntp:2014":w,"urn:mpeg:dash:utc:ntp:2014":w,"urn:mpeg:dash:utc:sntp:2014":w},f()||(C(a),h(!0))}function c(a){a&&(a.metricsModel&&(O=a.metricsModel),
30a.dashMetrics&&(P=a.dashMetrics),a.baseURLController&&(Q=a.baseURLController))}function d(){return m()}function e(a){K=a}function f(){return K}function h(a){L=a}function k(a){J=a}function m(){return J}function o(a){var b=1e3,c=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2})(?::([0-9]*)(\.[0-9]*)?)?(?:([+\-])([0-9]{2})([0-9]{2}))?/,d=void 0,e=void 0,f=c.exec(a);return d=Date.UTC(parseInt(f[1],10),parseInt(f[2],10)-1,parseInt(f[3],10),parseInt(f[4],10),parseInt(f[5],10),f[6]&&(parseInt(f[6],10)||0),f[7]&&parseFloat(f[7])*b||0),f[9]&&f[10]&&(e=60*parseInt(f[9],10)+parseInt(f[10],10),d+=("+"===f[8]?-1:1)*e*60*b),new Date(d).getTime()}function p(a){var b=Date.parse(a);return isNaN(b)&&(b=o(a)),b}function q(a){return Date.parse(a)}function s(a){return Date.parse(a)}function w(a,b,c){c()}function x(a,b,c){var d=p(a);if(!isNaN(d))return void b(d);c()}function y(a,b,c,d,e){var f=void 0,g=void 0,h=!1,i=new XMLHttpRequest,k=e?j.HTTPRequest.HEAD:j.HTTPRequest.GET,l=b.match(/\S+/g);if(b=l.shift(),f=function(){h||(h=!0,l.length?y(a,l.join(" "),c,d,e):d())},g=function(){var b=void 0,d=void 0;200===i.status&&(b=e?i.getResponseHeader("Date"):i.response,d=a(b),isNaN(d)||(c(d),h=!0))},G.isRelative(b)){var m=Q.resolve();m&&(b=G.resolve(b,m.url))}i.open(k,b),i.timeout=v||0,i.onload=g,i.onloadend=f,i.send()}function z(a,b,c){y(s,a,b,c,!0)}function A(){var a=O.getReadOnlyMetricsFor(g.default.STREAM),b=P.getLatestMPDRequestHeaderValueByID(a,"Date"),c=null!==b?new Date(b).getTime():Number.NaN;isNaN(c)?B(!0):(k(c-(new Date).getTime()),B(!1,c/1e3,J))}function B(a,b,c){e(!1),F.trigger(n.default.TIME_SYNCHRONIZATION_COMPLETED,{time:b,offset:c,error:a?new i.default(u):null})}function C(a,b){var c=b||0,d=a[c],f=function(a,b){var c=!a||!b;c&&M?A():B(c,a,b)};e(!0),d?N.hasOwnProperty(d.schemeIdUri)?N[d.schemeIdUri](d.value,function(a){var b=(new Date).getTime(),c=1e3*Math.trunc((a-b)/1e3);k(c),I.debug("Local time: "+new Date(b)),I.debug("Server time: "+new Date(a)),I.info("Server Time - Local Time (ms): "+c),f(a,c)},function(){C(a,c+1)}):C(a,c+1):(k(0),f())}function D(){h(!1),e(!1)}var E=this.context,F=(0,l.default)(E).getInstance(),G=(0,t.default)(E).getInstance(),H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0;return H={initialize:b,getOffsetToDeviceTimeMs:d,setConfig:c,reset:D},a(),H}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(213),i=d(h),j=a(233),k=a(47),l=d(k),m=a(51),n=d(m),o=a(48),p=d(o),q=a(46),r=d(q),s=a(208),t=d(s),u=1,v=5e3;e.__dashjs_factory_name="TimeSyncController";var w=p.default.getSingletonFactory(e);w.TIME_SYNC_FAILED_ERROR_CODE=u,w.HTTP_TIMEOUT_MS=v,p.default.updateSingletonFactory(e.__dashjs_factory_name,w),c.default=w,b.exports=c.default},{100:100,208:208,213:213,233:233,46:46,47:47,48:48,51:51}],115:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){A.on(k.default.XLINK_ELEMENT_LOADED,j,C),H=(0,g.default)(z).create({errHandler:a.errHandler,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,requestModifier:a.requestModifier})}function c(a){a&&(D=a)}function d(a){a&&(E=a)}function e(a){var b=void 0;G=new o.default({escapeMode:!1,attributePrefix:"",arrayAccessForm:"property",emptyNodeForm:"object",stripWhitespaces:!1,enableToStringFunc:!1,ignoreRoot:!0,matchers:D}),F=a,b=m(F.Period_asArray,F,t,r),h(b,t,r)}function f(){A.off(k.default.XLINK_ELEMENT_LOADED,j,C),H&&(H.reset(),H=null)}function h(a,b,c){var d={},e=void 0,f=void 0;d.elements=a,d.type=b,d.resolveType=c,0===d.elements.length&&l(d);for(var g=0;g<d.elements.length;g++)e=d.elements[g],f=B.isHTTPURL(e.url)?e.url:e.originalContent.BaseURL+e.url,H.load(f,e,d)}function j(a){var b=void 0,c=void 0,d="";if(b=a.element,c=a.resolveObject,b.resolvedContent){var e=0;0===b.resolvedContent.indexOf("<?xml")&&(e=b.resolvedContent.indexOf("?>")+2),d=b.resolvedContent.substr(0,e)+"<response>"+b.resolvedContent.substr(e)+"</response>",b.resolvedContent=G.xml_str2json(d)}x(c)&&l(c)}function l(a){var b=[],c=void 0,d=void 0;if(n(a),a.resolveType===s&&A.trigger(k.default.XLINK_READY,{manifest:F}),a.resolveType===r)switch(a.type){case t:for(c=0;c<F[t+"_asArray"].length;c++)d=F[t+"_asArray"][c],d.hasOwnProperty(u+"_asArray")&&(b=b.concat(m(d[u+"_asArray"],d,u,r))),d.hasOwnProperty(v+"_asArray")&&(b=b.concat(m(d[v+"_asArray"],d,v,r)));h(b,u,r);break;case u:A.trigger(k.default.XLINK_READY,{manifest:F})}}function m(a,b,c,d){var e=[],f=void 0,g=void 0,h=void 0;for(g=a.length-1;g>=0;g--)f=a[g],f.hasOwnProperty("xlink:href")&&f["xlink:href"]===w&&a.splice(g,1);for(g=0;g<a.length;g++)f=a[g],f.hasOwnProperty("xlink:href")&&f.hasOwnProperty("xlink:actuate")&&f["xlink:actuate"]===d&&(h=p(f["xlink:href"],b,c,g,d,f),e.push(h));return e}function n(a){var b=[],c=void 0,d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;for(f=a.elements.length-1;f>=0;f--){if(c=a.elements[f],d=c.type+"_asArray",!c.resolvedContent||y())delete c.originalContent["xlink:actuate"],delete c.originalContent["xlink:href"],b.push(c.originalContent);else if(c.resolvedContent)for(g=0;g<c.resolvedContent[d].length;g++)e=c.resolvedContent[d][g],b.push(e);for(c.parentElement[d].splice(c.index,1),h=0;h<b.length;h++)c.parentElement[d].splice(c.index+h,0,b[h]);b=[]}a.elements.length>0&&E.run(F)}function p(a,b,c,d,e,f){return{url:a,parentElement:b,type:c,index:d,resolveType:e,originalContent:f,resolvedContent:null,resolved:!1}}function x(a){var b=void 0,c=void 0;for(b=0;b<a.elements.length;b++)if(c=a.elements[b],!1===c.resolved)return!1;return!0}function y(){return!1}a=a||{};var z=this.context,A=(0,i.default)(z).getInstance(),B=(0,q.default)(z).getInstance(),C=void 0,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0;return C={resolveManifestOnLoad:e,setMatchers:c,setIron:d,reset:f},b(),C}Object.defineProperty(c,"__esModule",{value:!0});var f=a(99),g=d(f),h=a(47),i=d(h),j=a(51),k=d(j),l=a(48),m=d(l),n=a(3),o=d(n),p=a(208),q=d(p),r="onLoad",s="onActuate",t="Period",u="AdaptationSet",v="EventStream",w="urn:mpeg:dash:resolve-to-zero:2013";e.__dashjs_factory_name="XlinkController",c.default=m.default.getClassFactory(e),b.exports=c.default},{208:208,3:3,47:47,48:48,51:51,99:99}],116:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){return e=(0,g.default)(d).getInstance({eventBus:a.eventBus,metricsModel:a.metricsModel,metricsConstants:a.metricsConstants,events:a.events}),(0,k.default)(d).create(a)}function b(){return(0,o.default)(d).getInstance()}function c(){return(0,m.default)(d).getInstance()}var d=this.context,e=void 0;return{createMetricsReporting:a,getReportingFactory:b,getMetricsHandlerFactory:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(130),g=d(f),h=a(117),i=d(h),j=a(118),k=d(j),l=a(123),m=d(l),n=a(128),o=d(n);e.__dashjs_factory_name="MetricsReporting";var p=dashjs.FactoryMaker.getClassFactory(e);p.events=i.default,dashjs.FactoryMaker.updateClassFactory(e.__dashjs_factory_name,p),c.default=p,b.exp
30orts=c.default},{117:117,118:118,123:123,128:128,130:130}],117:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(52),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.METRICS_INITIALISATION_COMPLETE="internal_metricsReportingInitialized",this.BECAME_REPORTING_PLAYER="internal_becameReportingPlayer"}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{52:52}],118:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(b){if(!b.error){var c=Object.keys(f);(0,i.default)(h).getInstance({dashManifestModel:a.dashManifestModel,constants:a.constants}).getMetrics(b.manifest).forEach(function(b){var d=JSON.stringify(b);if(f.hasOwnProperty(d))c.splice(d,1);else try{var e=(0,g.default)(h).create(a);e.initialize(b),f[d]=e}catch(b){}}),c.forEach(function(a){f[a].reset(),delete f[a]}),j.trigger(k.default.METRICS_INITIALISATION_COMPLETE)}}function c(){Object.keys(f).forEach(function(a){f[a].reset()}),f={}}function d(){j.on(l.MANIFEST_UPDATED,b),j.on(l.STREAM_TEARDOWN_COMPLETE,c)}function e(){j.off(l.MANIFEST_UPDATED,b),j.off(l.STREAM_TEARDOWN_COMPLETE,c)}a=a||{};var f={},h=this.context,j=a.eventBus,l=a.events;return d(),{reset:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(119),g=d(f),h=a(132),i=d(h),j=a(117),k=d(j);e.__dashjs_factory_name="MetricsCollectionController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{117:117,119:119,132:132}],119:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(b){try{f=(0,g.default)(h).create({mediaElement:a.mediaElement}),f.initialize(b.Range),e=(0,i.default)(h).create({debug:a.debug,metricsConstants:a.metricsConstants}),e.initialize(b.Reporting,f),d=(0,k.default)(h).create({debug:a.debug,eventBus:a.eventBus,metricsConstants:a.metricsConstants,events:a.events}),d.initialize(b.metrics,e)}catch(j){throw c(),j}}function c(){d&&d.reset(),e&&e.reset(),f&&f.reset()}a=a||{};var d=void 0,e=void 0,f=void 0,h=this.context;return{initialize:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(121),g=d(f),h=a(122),i=d(h),j=a(120),k=d(j);e.__dashjs_factory_name="MetricsController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{120:120,121:121,122:122}],120:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){e.forEach(function(b){b.handleNewMetric(a.metric,a.value,a.mediaType)})}function c(a,c){a.split(",").forEach(function(a,b,d){var f=void 0;if(-1!==a.indexOf("(")&&-1===a.indexOf(")")){var g=d[b+1];g&&-1===g.indexOf("(")&&-1!==g.indexOf(")")&&(a+=","+g,delete d[b+1])}(f=k.create(a,c))&&e.push(f)}),i.on(j.METRIC_ADDED,b,f),i.on(j.METRIC_UPDATED,b,f)}function d(){i.off(j.METRIC_ADDED,b,f),i.off(j.METRIC_UPDATED,b,f),e.forEach(function(a){return a.reset()}),e=[]}a=a||{};var e=[],f=void 0,h=this.context,i=a.eventBus,j=a.events,k=(0,g.default)(h).getInstance({debug:a.debug,eventBus:a.eventBus,metricsConstants:a.metricsConstants});return f={initialize:c,reset:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(123),g=d(f);e.__dashjs_factory_name="MetricsHandlersController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{123:123}],121:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}
30function e(a){function b(a){a&&a.length&&(a.forEach(function(a){var b=a.starttime,c=b+a.duration;j.add(b,c)}),f=!!a[0]._useWallClockTime)}function c(){j.clear()}function d(){j=(0,g.default)(h).create()}function e(){var a=j.length,b=void 0;if(!a)return!0;b=f?(new Date).getTime()/1e3:k.currentTime;for(var c=0;c<a;c+=1){var d=j.start(c),e=j.end(c);if(d<=b&&b<e)return!0}return!1}a=a||{};var f=!1,h=this.context,i=void 0,j=void 0,k=a.mediaElement;return i={initialize:b,reset:c,isEnabled:e},d(),i}Object.defineProperty(c,"__esModule",{value:!0});var f=a(198),g=d(f);e.__dashjs_factory_name="RangeController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{198:198}],122:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){a.some(function(a){var c=f.create(a,b);if(c)return e.push(c),!0})}function c(){e.forEach(function(a){return a.reset()}),e=[]}function d(a,b){e.forEach(function(c){return c.report(a,b)})}var e=[],f=(0,g.default)(this.context).getInstance(a);return{initialize:b,reset:c,report:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(128),g=d(f);e.__dashjs_factory_name="ReportingController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{128:128}],123:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(b,c){var d,g=b.match(f);if(g){try{d=j[g[1]](h).create({eventBus:a.eventBus,metricsConstants:a.metricsConstants}),d.initialize(g[1],c,g[3],g[5])}catch(i){d=null,e.error("MetricsHandlerFactory: Could not create handler for type "+g[1]+" with args "+g[3]+", "+g[5]+" ("+i.message+")")}return d}}function c(a,b){j[a]=b}function d(a){delete j[a]}a=a||{};var e=a.debug,f=/([a-zA-Z]*)(\(([0-9]*)(\,\s*([a-zA-Z]*))?\))?/,h=this.context,j={BufferLevel:g.default,DVBErrors:i.default,HttpList:k.default,PlayList:m.default,RepSwitchList:m.default,TcpList:m.default};return{create:b,register:c,unregister:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(124),g=d(f),h=a(125),i=d(h),j=a(127),k=d(j),l=a(126),m=d(l);e.__dashjs_factory_name="MetricsHandlerFactory",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{124:124,125:125,126:126,127:127}],124:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){try{return Object.keys(o).map(function(a){return o[a]}).reduce(function(a,b){return a.level<b.level?a:b})}catch(a){return}}function c(){var a=b();a&&l!==a.t&&(l=a.t,h.report(j,a))}function d(a,b,d){b&&(i=n.validateN(d),h=b,j=n.reconstructFullMetricName(a,d),k=setInterval(c,i))}function e(){clearInterval(k),k=null,i=0,h=null,l=null}function f(a,b,c){a===p.BUFFER_LEVEL&&(o[c]=b)}a=a||{};var h=void 0,i=void 0,j=void 0,k=void 0,l=void 0,m=this.context,n=(0,g.default)(m).getInstance(),o=[],p=a.metricsConstants;return{initialize:d,reset:e,handleNewMetric:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(131),g=d(f);e.__dashjs_factory_name="BufferLevelHandler",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{131:131}],125:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){h.off(g.default.METRICS_INITIALISATION_COMPLETE,b,this),h.trigger(g.default.BECAME_REPORTING_PLAYER)}function c(a,c){c&&(f=c,h.on(g.default.METRICS_INITIALISATION_COMPLETE,b,this))}function d(){f=null}function e(a,b){a===i.DVB_ERRORS&&f&&f.report(a,b)}a=a||{};var f=void 0,h=a.eventBus,i=a.metricsConstants;return{initialize:c,reset:d,handleNewMetric:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(117),g=d(f);c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{117:117}],126:[function(a,b,c){"use strict";function d(){function a(a,b){d=a,e=b}function b(){e=null,d=void 0}function c(a,b){a===d&&e&&e.report(d,b)}var d=void 0,e=void 0;return{initialize:a,reset:b,handleNewMetric:c}}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="GenericMetricHandler",c.default=dashjs.FactoryMaker.getClassFactory(d),b.exports=c.default},{}],127:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){var a=l;a.length&&f&&f.report(j,a),l=[]}function c(a,c,d,e){c&&(h=m.validateN(d),f=c,e&&e.length&&(i=e),j=m.reconstructFullMetricName(a,d,e),k=setInterval(b,h))}function d(){clearInterval(k),k=null,h=null,i=null,l=[],f=null}function e(a,b){a===n.HTTP_REQUEST&&(i&&i!==b.type||l.push(b))}a=a||{};var f=void 0,h=void 0,i=void 0,j=void 0,k=void 0,l=[],m=(0,g.default)(this.context).getInstance(),n=a.metricsConstants;return{initialize:c,reset:d,handleNewMetric:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(131),g=d(f);e.__dashjs_factory_name="HttpListHandler",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{131:131}],128:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=void 0;try{c=e[a.schemeIdUri](f).create({metricsConstants:i}),c.initialize(a,b)}catch(d){c=null,h.error("ReportingFactory: could not create Reporting with schemeIdUri "+a.schemeIdUri+" ("+d.message+")")}return c}function c(a,b){e[a]=b}function d(a){delete e[a]}a=a||{};var e={"urn:dvb:dash:reporting:2014":g.default},f=this.context,h=a.debug,i=a.metricsConstants;return{create:b,register:c,unregister:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(129),g=d(f);e.__dashjs_factory_name="ReportingFactory",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{129:129}],129:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b,c){var d=new XMLHttpRequest,e=function(){var a=q.indexOf(d);-1!==a&&(q.splice(a,1),d.status>=200&&d.status<300?b&&b():c&&c())};q.push(d);try{d.open("GET",a),d.onloadend=e,d.onerror=e,d.send()}
30catch(f){d.onerror()}}function c(a,c){Array.isArray(c)||(c=[c]),l&&o.isEnabled()&&c.forEach(function(c){var d=h.serialise(c);k&&a!==r.DVB_ERRORS&&(d="metricname="+a+"&"+d),d=n+"?"+d,b(d,null,function(){l=!1})})}function d(a,b){var c=void 0;if(o=b,!(n=a["dvb:reportingUrl"]))throw new Error("required parameter missing (dvb:reportingUrl)");m||(c=a["dvb:probability"]||a["dvb:priority"]||0,c&&(1e3===c||c/1e3>=j.random())&&(l=!0),m=!0)}function e(){p||(q.forEach(function(a){return a.abort()}),q=[]),m=!1,l=!1,n=null,o=null}a=a||{};var f=this.context,h=(0,g.default)(f).getInstance(),j=(0,i.default)(f).getInstance(),k=!0,l=!1,m=!1,n=null,o=null,p=!0,q=[],r=a.metricsConstants;return{report:c,initialize:d,reset:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(133),g=d(f),h=a(134),i=d(h);e.__dashjs_factory_name="DVBReporting",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{133:133,134:134}],130:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=new g.default;if(p){for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);b.mpdurl||(b.mpdurl=p.originalUrl||p.url),b.terror||(b.terror=new Date),o.addDVBErrors(b)}}function c(a){a.error||(p=a.manifest)}function d(a){b({errorcode:g.default.BASE_URL_CHANGED,servicelocation:a.entry})}function e(){b({errorcode:g.default.BECAME_REPORTER})}function f(a){(0===a.responsecode||a.responsecode>=400||a.responsecode<100||a.responsecode>=600)&&b({errorcode:a.responsecode||g.default.CONNECTION_ERROR,url:a.url,terror:a.tresponse,servicelocation:a._serviceLocation})}function h(a){switch(a.metric){case q.HTTP_REQUEST:f(a.value)}}function j(a){var c=a.error?a.error.code:0,d=void 0;switch(c){case MediaError.MEDIA_ERR_NETWORK:d=g.default.CONNECTION_ERROR;break;case MediaError.MEDIA_ERR_DECODE:d=g.default.CORRUPT_MEDIA_OTHER;break;default:return}b({errorcode:d})}function k(){n.on(r.MANIFEST_UPDATED,c,m),n.on(r.SERVICE_LOCATION_BLACKLIST_CHANGED,d,m),n.on(r.METRIC_ADDED,h,m),n.on(r.METRIC_UPDATED,h,m),n.on(r.PLAYBACK_ERROR,j,m),n.on(i.default.BECAME_REPORTING_PLAYER,e,m)}function l(){n.off(r.MANIFEST_UPDATED,c,m),n.off(r.SERVICE_LOCATION_BLACKLIST_CHANGED,d,m),n.off(r.METRIC_ADDED,h,m),n.off(r.METRIC_UPDATED,h,m),n.off(r.PLAYBACK_ERROR,j,m),n.off(i.default.BECAME_REPORTING_PLAYER,e,m)}a=a||{};var m=void 0,n=a.eventBus,o=a.metricsModel,p=void 0,q=a.metricsConstants,r=a.events;return m={initialise:k,reset:l},k(),m}Object.defineProperty(c,"__esModule",{value:!0});var f=a(135),g=d(f),h=a(117),i=d(h);e.__dashjs_factory_name="DVBErrorsTranslator",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{117:117,135:135}],131:[function(a,b,c){"use strict";function d(){return{reconstructFullMetricName:function(a,b,c){var d=a;return b&&(d+="("+b,c&&c.length&&(d+=","+c),d+=")"),d},validateN:function(a){if(!a)throw new Error("missing n");if(isNaN(a))throw new Error("n is NaN");if(a<0)throw new Error("n must be positive");return a}}}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="HandlerHelpers",c.default=dashjs.FactoryMaker.getSingletonFactory(d),b.exports=c.default},{}
30],132:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b,c){var f,g,h=d.getMpd(a),i=0;return b?i=h.availabilityStartTime.getTime()/1e3:(f=this.getRegularPeriods(h),f.length&&(i=f[0].start)),g=i,c&&c.hasOwnProperty(e.START_TIME)&&(g+=c.starttime),g}function c(a){var c=[];return a.Metrics_asArray&&a.Metrics_asArray.forEach(function(f){var h=new g.default,j=d.getIsDynamic(a);f.hasOwnProperty("metrics")&&(h.metrics=f.metrics,f.Range_asArray&&f.Range_asArray.forEach(function(c){var e=new i.default;e.starttime=b(a,j,c),c.hasOwnProperty("duration")?e.duration=c.duration:e.duration=d.getDuration(a),e._useWallClockTime=j,h.Range.push(e)}),f.Reporting_asArray&&(f.Reporting_asArray.forEach(function(a){var b=new k.default;if(a.hasOwnProperty(e.SCHEME_ID_URI)){b.schemeIdUri=a.schemeIdUri;for(var c in a)a.hasOwnProperty(c)&&(b[c]=a[c]);h.Reporting.push(b)}}),c.push(h)))}),c}a=a||{};var d=a.dashManifestModel,e=a.constants;return{getMetrics:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(136),g=d(f),h=a(137),i=d(h),j=a(138),k=d(j);e.__dashjs_factory_name="ManifestParsing",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{136:136,137:137,138:138}],133:[function(a,b,c){"use strict";function d(){function a(b){var c=[],d=[],e=void 0,f=void 0;for(e in b)if(b.hasOwnProperty(e)&&0!==e.indexOf("_")){if(f=b[e],void 0!==f&&null!==f||(f=""),Array.isArray(f)){if(!f.length)continue;d=[],f.forEach(function(b){var c="Object"!==Object.prototype.toString.call(b).slice(8,-1);d.push(c?b:a(b))}),f=d.map(encodeURIComponent).join(",")}else"string"==typeof f?f=encodeURIComponent(f):f instanceof Date?f=f.toISOString():"number"==typeof f&&(f=Math.round(f));c.push(e+"="+f)}return c.join("&")}return{serialise:a}}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="MetricSerialiser",c.default=dashjs.FactoryMaker.getSingletonFactory(d),b.exports=c.default},{}],134:[function(a,b,c){"use strict";function d(){function a(){c&&(g||(g=new d(f)),c.getRandomValues(g),h=0)}function b(b,d){var f=void 0;return b||(b=0),d||(d=1),c?(h===g.length&&a(),f=g[h]/e,h+=1):f=Math.random(),f*(d-b)+b}var c=window.crypto||window.msCrypto,d=Uint32Array,e=Math.pow(2,8*d.BYTES_PER_ELEMENT)-1,f=10,g=void 0,h=void 0,i=void 0;return i={random:b},a(),i}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="RNG",c.default=dashjs.FactoryMaker.getSingletonFactory(d),b.exports=c.default},{}],135:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mpdurl=null,this.errorcode=null,this.terror=null,this.url=null,this.ipaddress=null,this.servicelocation=null};e.SSL_CONNECTION_FAILED_PREFIX="SSL",e.DNS_RESOLUTION_FAILED="C00",e.HOST_UNREACHABLE="C01",e.CONNECTION_REFUSED="C02",e.CONNECTION_ERROR="C03",e.CORRUPT_MEDIA_ISOBMFF="M00",e.CORRUPT_MEDIA_OTHER="M01",e.BASE_URL_CHANGED="F00",e.BECAME_REPORTER="S00",c.default=e,b.exports=c.default},{}],136:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.metrics="",this.Range=[],this.Reporting=[]};c.default=e,b.exports=c.default},{}],137:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.starttime=0,this.duration=1/0,this._useWallClockTime=!1};c.default=e,b.exports=c.default},{}],138:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.schemeIdUri="",this.value=""};c.default=e,b.exports=c.default},{}],139:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(){function a(){i()}function b(a){a.dashManifestModel&&(o=a.dashManifestModel)}function c(a,b,c){var d=o.getBaseURLsFromElement(c);a[b]?q.areEqual(d,a[b].data.baseUrls)||(a[b].data.baseUrls=d,a[b].data.selectedIdx=k):a[b]=new l(
vendor: 7,328 bytes, lines 30-31
30d)}function d(a){var b=o.getBaseURLsFromElement(a);q.areEqual(b,n.data.baseUrls)||(n.data.baseUrls=b,n.data.selectedIdx=k),a.Period_asArray&&a.Period_asArray.forEach(function(a,b){c(n.children,b,a),a.AdaptationSet_asArray&&a.AdaptationSet_asArray.forEach(function(a,d){c(n.children[b].children,d,a),a.Representation_asArray&&a.Representation_asArray.sort(o.getRepresentationSortFunction()).forEach(function(a,e){c(n.children[b].children[d].children,e,a)})})})}function e(a,b){var c=b||n;a(c.data),c.children&&c.children.forEach(function(b){return e(a,b)})}function f(a){e(function(b){isNaN(b.selectedIdx)||a===b.baseUrls[b.selectedIdx].serviceLocation&&(b.selectedIdx=k)})}function g(a){d(a)}function i(){n=new l}function j(a){var b=n,c=[b.data];return a&&a.forEach(function(a){(b=b.children[a])&&c.push(b.data)}),c.filter(function(a){return a.baseUrls.length})}var m=void 0,n=void 0,o=void 0,p=this.context,q=(0,h.default)(p).getInstance();return m={reset:i,update:g,getForPath:j,invalidateSelectedIndexes:f,setConfig:b},a(),m}Object.defineProperty(c,"__esModule",{value:!0});var g=a(205),h=d(g),i=a(48),j=d(i),k=NaN,l=function a(b,c){e(this,a),this.data={baseUrls:b||null,selectedIdx:c||k},this.children=[]};f.__dashjs_factory_name="BaseURLTreeModel",c.default=j.default.getClassFactory(f),b.exports=c.default},{205:205,48:48}],140:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){L=(0,o.default)(G).getInstance().getLogger(K),D(),H.on(i.default.LOADING_COMPLETED,A,K),H.on(i.default.LOADING_DATA_PROGRESS,B,K),H.on(i.default.LOADING_ABANDONED,C,K)}function c(a){M=a}function d(){return M}function e(a){var b=function(a,b){return a.action===m.default.ACTION_COMPLETE&&a.action===b.action},c=function(a,b){return!isNaN(a.index)&&a.startTime===b.startTime&&a.adaptationIndex===b.adaptationIndex&&a.type===b.type},d=function(a,b){return isNaN(a.index)&&isNaN(b.index)&&a.quality===b.quality},e=function(e){var f=!1;return e.some(function(e){if(c(a,e)||d(a,e)||b(a,e))return f=!0}),f};return!!a&&e(N)}function f(a){var b=!1,c=0,d=void 0;if(!(b=e(a)))for(c=0;c<O.length;c++)d=O[c],a.url===d.url&&a.startTime===d.startTime&&(b=!0);return b}function h(a){var b=a?a.state instanceof Array?a.state:[a.state]:[],c=[];return b.forEach(function(b){var d=y(b);c=c.concat(x(d,a))}),c}function j(a){return isNaN(a.duration)?.25:a.duration/8}function k(a){N=N.filter(function(b){var c=j(b);return isNaN(b.startTime)||void 0!==a&&b.startTime>=a-c})}function l(a){N=N.filter(function(b){return isNaN(b.startTime)||void 0!==a&&b.startTime+b.duration<a})}function n(a,b){b<=a+.5||(N=N.filter(function(c){var d=j(c);return isNaN(c.startTime)||c.startTime>=b-d||isNaN(c.duration)||c.startTime+c.duration<=a+d}))}function r(a,b){if(!a||0===a.length)return void k();for(var c=0,d=0,e=a.length;d<e;d++)n(c,a.start(d)),c=a.end(d);b>0&&n(c,b)}function t(){J.abort(),O=[]}function u(a){switch(a.action){case m.default.ACTION_COMPLETE:N.push(a),z(a,q),L.debug("executeRequest trigger STREAM_COMPLETED"),H.trigger(i.default.STREAM_COMPLETED,{request:a,fragmentModel:this});break;case m.default.ACTION_DOWNLOAD:z(a,p),O.push(a),v(a);break;default:L.warn("Unknown request action.")}}function v(a){H.trigger(i.default.FRAGMENT_LOADING_STARTED,{sender:K,request:a}),J.load(a)}function w(a,b,c){for(var d=a.length-1,e=d;e>=0;e--){var f=a[e],g=f.startTime,h=g+f.duration;if(c=isNaN(c)?j(f):c,!isNaN(g)&&!isNaN(h)&&b+c>=g&&b-c<h||isNaN(g)&&isNaN(b))return f}return null}function x(a,b){return b.hasOwnProperty("time")?[w(a,b.time,b.threshold)]:a.filter(function(a){for(var c in b)if("state"!==c&&b.hasOwnProperty(c)&&a[c]!=b[c])return!1;return!0})}function y(a){var b=void 0;switch(a){case p:b=O;break;case q:b=N;break;default:b=[]}return b}function z(a,b){I.addSchedulingInfo(a.mediaType,new Date,a.type,a.startTime,a.availabilityStartTime,a.duration,a.quality,a.range,b),I.addRequestsQueue(a.mediaType,O,N)}function A(a){a.sender===J&&(O.splice(O.indexOf(a.request),1),a.response&&!a.error&&N.push(a.request),z(a.request,a.error?s:q),H.trigger(i.default.FRAGMENT_LOADING_COMPLETED,{request:a.request,response:a.response,error:a.error,sender:this}))}function B(a){a.sender===J&&H.trigger(i.default.FRAGMENT_LOADING_PROGRESS,{request:a.request,response:a.response,error:a.error,sender:this})}function C(a){a.sender===J&&H.trigger(i.default.FRAGMENT_LOADING_ABANDONED,{streamProcessor:this.getStreamProcessor(),request:a.request,mediaType:a.mediaType})}function D(){N=[],O=[]}function E(){H.off(i.default.LOADING_COMPLETED,A,this),H.off(i.default.LOADING_DATA_PROGRESS,B,this),H.off(i.default.LOADING_ABANDONED,C,this),J&&J.reset(),D()}function F(a){N.push(a)}a=a||{};var G=this.context,H=(0,g.default)(G).getInstance(),I=a.metricsModel,J=a.fragmentLoader,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0;return K={setStreamProcessor:c,getStreamProcessor:d,getRequests:h,isFragmentLoaded:e,isFragmentLoadedOrPending:f,removeExecutedRequestsBeforeTime:k,removeExecutedRequestsAfterTime:l,syncExecutedRequestsWithBufferedRange:r,abortRequests:t,executeRequest:u,reset:E,addExecutedRequest:F},b(),K}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j),l=a(215),m=d(l),n=a(46),o=d(n),p="loading",q="executed",r="canceled",s="failed";e.__dashjs_factory_name="FragmentModel";var t=k.default.getClassFactory(e);t.FRAGMENT_MODEL_LOADING=p,t.FRAGMENT_MODEL_EXECUTED=q,t.FRAGMENT_MODEL_CANCELED=r,t.FRAGMENT_MODEL_FAILED=s,k.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{215:215,46:46,47:47,48:48,51:51}],141:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){return e}function b(a){e=a,a&&d.trigger(i.default.MANIFEST_LOADED,{data:a})}var c=this.context,d=(0,g.default)(c).getInstance(),e=void 0;return{getValue:a,setValue:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j);e.__dashjs_factory_name="ManifestModel",c.default=k.default.getSingletonFactory(e),b.exports=c.default},{47:47,48:48,51:51}],142:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(){function a(){var a,b;gb=[],fb=!1,eb=!0,jb=!0,zb=k.default.ABR_STRATEGY_DYNAMIC,Ab=!0,Cb=!1,nb={enabled:!0,ttl:n},ob={enabled:!0,ttl:o},hb=m,ib=void 0,kb=r,lb=s,mb=t,pb=NaN,qb=w,rb=x,sb=y,tb=z,ub=p,vb=q,yb=N,Gb=!1,Hb=A,Jb=B,Bb={default:O},Db=[],Eb=k.default.MOVING_AVERAGE_SLIDING_WINDOW,Ib=!1,a={},e(a,i.HTTPRequest.MPD_TYPE,G),e(a,i.HTTPRequest.XLINK_EXPANSION_TYPE,I),e(a,i.HTTPRequest.MEDIA_SEGMENT_TYPE,E),e(a,i.HTTPRequest.INIT_SEGMENT_TYPE,E),e(a,i.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,E),e(a,i.HTTPRequest.INDEX_SEGMENT_TYPE,E),e(a,i.HTTPRequest.OTHER_TYPE,E),wb=a,b={},e(b,i.HTTPRequest.MPD_TYPE,H),e(b,i.HTTPRequest.XLINK_EXPANSION_TYPE,J),e(b,i.HTTPRequest.MEDIA_SEGMENT_TYPE,F),e(b,i.HTTPRequest.INIT_SEGMENT_TYPE,F),e(b,i.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,F),e(b,i.HTTPRequest.INDEX_SEGMENT_TYPE,F),e(b,i.HTTPRequest.OTHER_TYPE,F),xb=b,Fb={},Fb[k.default.VIDEO]=C,Fb[k.default.AUDIO]=D,Kb=!1}function b(a){zb=a}function c(){return zb}function d(a){Ab=a}
31function f(){return Ab}
31function g(a){var b=void 0;for(b=0;b<Db.length;b++)if(Db[b].rulename===a)return b;return-1}function h(){return Db}function j(a,b,c){var d=g(b);-1===d?Db.push({type:a,rulename:b,rule:c}):(Db[d].type=a,Db[d].rule=c)}function l(a){var b=g(a);-1!==b&&Db.splice(b,1)}function P(){Db=[]}function Q(a){ub=a}function R(){return ub}function S(a){vb=a}function T(){return vb}function U(a){pb=a}function V(){var a=isNaN(pb)?Cb?v:u:pb;return Ya()?a/L:a}function W(a){qb=a}function X(){return qb}function Y(a){rb=a}function Z(){return rb}function $(a){sb=a}function _(){return sb}function aa(a){tb=a}function ba(){return tb}function ca(a,b){Fb[a]=b}function da(a){return Fb[a]}function ea(a){kb=a}function fa(){return kb}function ga(a){lb=a}function ha(){return lb}function ia(a,b){nb.enabled=a,void 0===b||isNaN(b)||"number"!=typeof b||(nb.ttl=b)}function ja(){return nb}function ka(a,b){ob.enabled=a,void 0===b||isNaN(b)||"number"!=typeof b||(ob.ttl=b)}function la(){return ob}function ma(a){mb=a}function na(){return mb}function oa(a){wb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]=a}function pa(a){wb[i.HTTPRequest.MPD_TYPE]=a}function qa(a,b){wb[a]=b}function ra(){return wb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]}function sa(){return wb[i.HTTPRequest.MPD_TYPE]}function ta(a){return Ya()?wb[a]*M:wb[a]}function ua(a){xb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]=a}function va(a){xb[i.HTTPRequest.MPD_TYPE]=a}function wa(a,b){xb[a]=b}function xa(){return xb[i.HTTPRequest.MEDIA_SEGMENT_TYPE]}function ya(){return xb[i.HTTPRequest.MPD_TYPE]}function za(a){return Ya()?xb[a]/L:xb[a]}function Aa(a){yb=a}function Ba(){return yb}function Ca(a){jb=a}function Da(){return jb}function Ea(a){hb=a}function Fa(a){ib=a}function Ga(){return hb}function Ha(){return Ib?ib||K:ib}function Ia(a){eb=a}function Ja(){return eb}function Ka(a){fb=a}function La(){return fb}function Ma(a){gb=a}function Na(){return gb}function Oa(a,b){a?Bb[a]=!!b:Object.keys(Bb).forEach(function(a){Oa(a,b)})}function Pa(a){var b=Bb[a];return void 0===b?Bb.default:b}function Qa(){return Cb}function Ra(a){"boolean"==typeof a&&(Cb=a)}function Sa(a){Eb=a}function Ta(){return Eb}function Ua(a){Gb=a}function Va(){return Gb}function Wa(a){Hb=a}function Xa(){return Hb}function Ya(){return Ib}function Za(a){"boolean"==typeof a&&(Ib=a)}function $a(a){Jb=a}function _a(){return Jb}function ab(a){Kb=a}function bb(){return Kb}function cb(){}var db=void 0,eb=void 0,fb=void 0,gb=void 0,hb=void 0,ib=void 0,jb=void 0,kb=void 0,lb=void 0,mb=void 0,nb=void 0,ob=void 0,pb=void 0,qb=void 0,rb=void 0,sb=void 0,tb=void 0,ub=void 0,vb=void 0,wb=void 0,xb=void 0,yb=void 0,zb=void 0,Ab=void 0,Bb=void 0,Cb=void 0,Db=void 0,Eb=void 0,Fb=void 0,Gb=void 0,Hb=void 0,Ib=void 0,Jb=void 0,Kb=void 0;return db={setABRStrategy:b,getABRStrategy:c,setUseDefaultABRRules:d,getUseDefaultABRRules:f,getABRCustomRules:h,addABRCustomRule:j,removeABRCustomRule:l,removeAllABRCustomRule:P,setBandwidthSafetyFactor:Q,getBandwidthSafetyFactor:R,setAbandonLoadTimeout:S,getAbandonLoadTimeout:T,setLastBitrateCachingInfo:ia,getLastBitrateCachingInfo:ja,setLastMediaSettingsCachingInfo:ka,getLastMediaSettingsCachingInfo:la,setStableBufferTime:U,getStableBufferTime:V,setBufferTimeAtTopQuality:W,getBufferTimeAtTopQuality:X,setBufferTimeAtTopQualityLongForm:Y,getBufferTimeAtTopQualityLongForm:Z,setLongFormContentDurationThreshold:$,getLongFormContentDurationThreshold:_,setSegmentOverlapToleranceTime:aa,getSegmentOverlapToleranceTime:ba,getCacheLoadThresholdForType:da,setCacheLoadThresholdForType:ca,setBufferToKeep:ea,getBufferToKeep:fa,setBufferAheadToKeep:ga,getBufferAheadToKeep:ha,setBufferPruningInterval:ma,getBufferPruningInterval:na,setFragmentRetryAttempts:oa,getFragmentRetryAttempts:ra,setManifestRetryAttempts:pa,getManifestRetryAttempts:sa,setRetryAttemptsForType:qa,getRetryAttemptsForType:ta,setFragmentRetryInterval:ua,getFragmentRetryInterval:x
vendor: 4,104 bytes, line 31
31a,setManifestRetryInterval:va,getManifestRetryInterval:ya,setRetryIntervalForType:wa,getRetryIntervalForType:za,setWallclockTimeUpdateInterval:Aa,getWallclockTimeUpdateInterval:Ba,setScheduleWhilePaused:Ca,getScheduleWhilePaused:Da,getUseSuggestedPresentationDelay:La,setUseSuggestedPresentationDelay:Ka,setLiveDelayFragmentCount:Ea,getLiveDelayFragmentCount:Ga,getLiveDelay:Ha,setLiveDelay:Fa,setUseManifestDateHeaderTimeSource:Ia,getUseManifestDateHeaderTimeSource:Ja,setUTCTimingSources:Ma,getUTCTimingSources:Na,setXHRWithCredentialsForType:Oa,getXHRWithCredentialsForType:Pa,setFastSwitchEnabled:Ra,getFastSwitchEnabled:Qa,setMovingAverageMethod:Sa,getMovingAverageMethod:Ta,setJumpGaps:Ua,getJumpGaps:Va,setSmallGapLimit:Wa,getSmallGapLimit:Xa,getLowLatencyEnabled:Ya,setLowLatencyEnabled:Za,setManifestUpdateRetryInterval:$a,getManifestUpdateRetryInterval:_a,setKeepProtectionMediaKeys:ab,getKeepProtectionMediaKeys:bb,reset:cb},a(),db}Object.defineProperty(c,"__esModule",{value:!0});var g=a(48),h=d(g),i=a(233),j=a(100),k=d(j),l={scheme:"urn:mpeg:dash:utc:http-xsdate:2014",value:"http://time.akamai.com/?iso"},m=4,n=36e4,o=36e4,p=.9,q=1e4,r=20,s=80,t=10,u=12,v=20,w=30,x=60,y=600,z=.2,A=.8,B=100,C=50,D=5,E=3,F=1e3,G=3,H=500,I=1,J=500,K=2.8,L=10,M=5,N=50,O=!1;f.__dashjs_factory_name="MediaPlayerModel";var P=h.default.getSingletonFactory(f);P.DEFAULT_UTC_TIMING_SOURCE=l,h.default.updateSingletonFactory(f.__dashjs_factory_name,P),c.default=P,b.exports=c.default},{100:100,233:233,48:48}],143:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){W={}}function b(a){a&&a.adapter&&(V=a.adapter)}function c(){T.trigger(G.default.METRICS_CHANGED)}function d(a){T.trigger(G.default.METRIC_CHANGED,{mediaType:a}),c()}function e(a,b,c){T.trigger(G.default.METRIC_UPDATED,{mediaType:a,metric:b,value:c}),d(a)}function f(a,b,c){T.trigger(G.default.METRIC_ADDED,{mediaType:a,metric:b,value:c}),d(a)}function h(a){delete W[a],d(a)}function j(){W={},c()}function l(a){return W.hasOwnProperty(a)?W[a]:null}function o(a){var b=void 0;return W.hasOwnProperty(a)?b=W[a]:(b=new k.default,W[a]=b),b}function q(a,b,c){var d=o(a);d[b].push(c),d[b].length>R&&d[b].shift()}function s(a,b,c,d,e,f){var g=new m.default;return g.tcpid=b,g.dest=c,g.topen=d,g.tclose=e,g.tconnect=f,B(a,i.default.TCP_CONNECTION,g),g}function u(a,b,c,d){var e=new n.HTTPRequestTrace;return e.s=b,e.d=c,e.b=d,a.trace.push(e),a.interval||(a.interval=0),a.interval+=c,e}function w(a,b,c,d,e,f,g,h,j,k,l,m,o,p){var q=new n.HTTPRequest;return e&&e!==d&&(w(a,null,c,d,null,null,g,h,null,null,null,m,null,null),q.actualurl=e),q.tcpid=b,q.type=c,q.url=d,q.range=g,q.trequest=h,q.tresponse=j,q.responsecode=l,q._tfinish=k,q._stream=a,q._mediaduration=m,q._responseHeaders=o,q._serviceLocation=f,p?p.forEach(function(a){u(q,a.s,a.d,a.b)}):(delete q.interval,delete q.trace),B(a,i.default.HTTP_REQUEST,q),q}function z(a,b,c,d,e){var f=new p.default;return f.t=b,f.mt=c,f.to=d,e?f.lto=e:delete f.lto,B(a,i.default.TRACK_SWITCH,f),f}function B(a,b,c){q(a,b,c),f(a,b,c)}function D(a,b,c){var d=new r.default;return d.t=b,d.level=c,B(a,i.default.BUFFER_LEVEL,d),d}function F(a,b,c){var d=new t.default;return d.target=c,d.state=b,B(a,i.default.BUFFER_STATE,d),d}function H(a,b,c,d){var e=new v.default;return e.time=b,e.range=d,e.manifestInfo=c,B(a,i.default.DVR_INFO,e),e}function I(a,b){var c=new x.default,d=o(a).DroppedFrames;return c.time=b.creationTime,c.droppedFrames=b.droppedVideoFrames,d.length>0&&d[d.length-1]==c?d[d.length-1]:(B(a,i.default.DROPPED_FRAMES,c),c)}function J(a,b,c,d,e,f,g,h,j){var k=new A.default;return k.mediaType=a,k.t=b,k.type=c,k.startTime=d,k.availabilityStartTime=e,k.duration=f,k.quality=g,k.range=h,k.state=j,B(a,i.default.SCHEDULING_INFO,k),k}function K(a,b,c){var d=new E.default;d.loadingRequests=b,d.executedRequests=c,o(a).RequestsQueue=d,f(a,i.default.REQUESTS_QUEUE,d)}function L(a,b,c,d,e,h,j,k,l,m){var n=new y.ManifestUpdate;return n.mediaType=a,n.type=b,n.requestTime=c,n.fetchTime=d,n.availabilityStartTime=e,n.presentationStartTime=h,n.clientTimeOff
31set=j,n.currentTime=k,n.buffered=l,n.latency=m,q(g.default.STREAM,i.default.MANIFEST_UPDATE,n),f(a,i.default.MANIFEST_UPDATE,n),n}function M(a,b){if(a){for(var c in b)a[c]=b[c];e(a.mediaType,i.default.MANIFEST_UPDATE,a)}}function N(a,b,c,d,f){if(a){var g=new y.ManifestUpdateStreamInfo;return g.id=b,g.index=c,g.start=d,g.duration=f,a.streamInfo.push(g),e(a.mediaType,i.default.MANIFEST_UPDATE_STREAM_INFO,a),g}return null}function O(a,b,c,d,f,g,h,j){if(a){var k=new y.ManifestUpdateRepresentationInfo;return k.id=b,k.index=c,k.streamIndex=d,k.mediaType=f,k.startNumber=h,k.fragmentInfoType=j,k.presentationTimeOffset=g,a.representationInfo.push(k),e(a.mediaType,i.default.MANIFEST_UPDATE_TRACK_INFO,a),k}return null}function P(a){var b=g.default.STREAM;return a.trace&&Array.isArray(a.trace)?a.trace.forEach(function(a){a.hasOwnProperty("subreplevel")&&!a.subreplevel&&delete a.subreplevel}):delete a.trace,B(b,i.default.PLAY_LIST,a),a}function Q(a){return B(g.default.STREAM,i.default.DVB_ERRORS,a),a}var R=1e3,S=this.context,T=(0,C.default)(S).getInstance(),U=void 0,V=void 0,W=void 0;return U={clearCurrentMetricsForType:h,clearAllCurrentMetrics:j,getReadOnlyMetricsFor:l,getMetricsFor:o,addTcpConnection:s,addHttpRequest:w,addRepresentationSwitch:z,addBufferLevel:D,addBufferState:F,addDVRInfo:H,addDroppedFrames:I,addSchedulingInfo:J,addRequestsQueue:K,addManifestUpdate:L,updateManifestUpdateInfo:M,addManifestUpdateStreamInfo:N,addManifestUpdateRepresentationInfo:O,addPlayList:P,addDVBErrors:Q,setConfig:b},a(),U}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(101),i=d(h),j=a(221),k=d(j),l=a(239),m=d(l),n=a(233),o=a(236),p=d(o),q=a(229),r=d(q),s=a(230),t=d(s),u=a(231),v=d(u),w=a(232),x=d(w),y=a(234),z=a(238),A=d(z),B=a(47),C=d(B),D=a(237),E=d(D),F=a(51),G=d(F),H=a(48),I=d(H);e.__dashjs_factory_name="MetricsModel",c.default=I.default.getSingletonFactory(e),b.exports=c.default},{100:100,101:101,221:221,229:229,230:230,231:231,232:232,233:233,234:234,236:236,237:237,238:238,239:239,47:47,48:48,51:51}],144:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){if(c=new g.default,!a)return null;var b=a.indexOf("#");if(-1!==b)for(var d=a.substr(b+1).split("&"),e=0,f=d.length;e<f;++e){var h=d[e],i=h.indexOf("=");if(-1!==i){var j=h.substring(0,i);c.hasOwnProperty(j)&&(c[j]=h.substr(i+1))}}}function b(){return c}var c=void 0;return{initialize:a,getURIFragmentData:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(228),g=d(f),h=a(48),i=d(h);e.__dashjs_factory_name="URIFragmentModel",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{228:228,48:48}],145:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){X=(0,m.default)(ba).getInstance().getLogger(W)}function b(){ca.on(k.default.PLAYBACK_PLAYING,x,this)}function c(){ca.off(k.default.PLAYBACK_PLAYING,x,this)}function d(){Y&&(Y.playbackRate=_||1,Y.removeEventListener("canplay",d))}function e(a){Y&&(Y.readyState<=2&&a>0?Y.addEventListener("canplay",d):Y.playbackRate=a)}function f(a,b){if(Y){if(Y.currentTime==a)return;try{a=b?g(a):a,Y.currentTime=a}catch(c){0===Y.readyState&&c.code===c.INVALID_STATE_ERR&&setTimeout(function(){Y.currentTime=a},400)}}}function g(a){var b=K(),c=a,d=9999999999;if(b)for(var e=0;e<b.length;e++){var f=b.start(e),g=b.end(e),h=Math.abs(f-a),i=Math.abs(g-a);if(a>=f&&a<=g)return a;h<d&&(d=h,c=f),i<d&&(d=i,c=g)}return c}function h(){return Y}function j(a){if(!(null===a||void 0===a||a&&/^(VIDEO|AUDIO)$/i.test(a.nodeName)))throw aa;(Y=a)&&(Y.preload="auto")}function l(a){Y&&(a?Y.src=a:(Y.removeAttribute("src"),Y.load()))}function n(){return Y?Y.src:null}function o(){return $}function p(a){$=a}function q(){return Z}function r(a){Z=a,Z.style.position="absolute",Z.style.display="flex",Z.style.overflow="hidden",Z.style.pointerEvents="none",Z.style.top=0,Z.style.left=0}function s(a,b){w(a,b)}function t(){return da.length>0}function u(a){var b=void 0;null===a||Y.seeking||-1!==da.indexOf(a)||(da.push(a),Y&&1===da.length&&(b=document.createEvent("Event"),b.initEvent("waiting",!0,!1),_=Y.playbackRate,e(0),Y.dispatchEvent(b)))}function v(a){var b=da.indexOf(a),c=void 0;null!==a&&(-1!==b&&da.splice(b,1),Y&&!1===t()&&0===Y.playbackRate&&(e(_||1),Y.paused||(c=document.createEvent("Event"),c.initEvent("playing",!0,!1),Y.dispatchEvent(c))))}function w(a,b){b?u(a):v(a)}function x(){if(Y&&t()&&0===Y.playbackRate){var a=document.createEvent("Event");a.initEvent("waiting",!0,!1),Y.dispatchEvent(a)}}function y(){if(!Y)return null;var a="webkitDroppedFrameCount"in Y&&"webkitDecodedFrameCount"in Y,b="getVideoPlaybackQuality"in Y,c=null;return b?c=Y.getVideoPlaybackQuality():a&&(c={droppedVideoFrames:Y.webkitDroppedFrameCount,totalVideoFrames:Y.webkitDroppedFrameCount+Y.webkitDecodedFrameCount,creationTime:new Date}),c}function z(){if(Y){Y.autoplay=!0;var a=Y.play();a&&"undefined"!=typeof Promise&&a instanceof Promise&&a.catch(function(a){"NotAllowedError"===a.name&&ca.trigger(k.default.PLAYBACK_NOT_ALLOWED),X.warn("Caught pending play exception - continuing ("+a+")")})}}function A(){return Y?Y.paused:null}function B(){Y&&(Y.pause(),Y.autoplay=!1)}function C(){return Y?Y.seeking:null}function D(){return Y?Y.currentTime:null}function E(){return Y?Y.playbackRate:null}function F(){return Y?Y.played:null}function G(){return Y?Y.ended:null}function H(a,b){Y&&Y.addEventListener(a,b)}function I(a,b){Y&&Y.removeEventListener(a,b)}function J(){return Y?Y.readyState:NaN}function K(){return Y?Y.buffered:null}function L(){return Y?Y.clientWidth:NaN}function M(){return Y?Y.clientHeight:NaN}function N(){return Y?Y.videoWidth:NaN}function O(){return Y?Y.videoHeight:NaN}function P(){return Y&&Y.parentNode?Y.getBoundingClientRect().top-Y.parentNode.getBoundingClientRect().top:NaN}function Q(){return Y&&Y.parentNode?Y.getBoundingClientRect().left-Y.parentNode.getBoundingClientRect().left:NaN}
31function R(){return Y?Y.textTracks:[]}function S(a,b,c,d,e){if(Y)for(var f=0;f<Y.textTracks.length;f++)if(Y.textTracks[f].kind===a&&(!b||Y.textTracks[f].label==b)&&Y.textTracks[f].language===c&&Y.textTracks[f].isTTML===d&&Y.textTracks[f].isEmbedded===e)return Y.textTracks[f];return null}function T(a,b,c){return Y?Y.addTextTrack(a,b,c):null}function U(a){Y&&(Y.appendChild(a),void 0!==a.isTTML&&(Y.textTracks[Y.textTracks.length-1].isTTML=a.isTTML,Y.textTracks[Y.textTracks.length-1].isEmbedded=a.isEmbedded))}function V(a){Y&&Y.removeChild(a)}var W=void 0,X=void 0,Y=void 0,Z=void 0,$=void 0,_=void 0,aa="element is not video or audio DOM type!",ba=this.context,ca=(0,i.default)(ba).getInstance(),da=[];return W={initialize:b,setCurrentTime:f,play:z,isPaused:A,pause:B,isSeeking:C,getTime:D,getPlaybackRate:E,getPlayedRanges:F,getEnded:G,setStallState:s,getElement:h,setElement:j,setSource:l,getSource:n,getVideoContainer:o,setVideoContainer:p,getTTMLRenderingDiv:q,setTTMLRenderingDiv:r,getPlaybackQuality:y,addEventListener:H,removeEventListener:I,getReadyState:J,getBufferRange:K,getClientWidth:L,getClientHeight:M,getTextTracks:R,getTextTrack:S,addTextTrack:T,appendChild:U,removeChild:V,getVideoWidth:N,getVideoHeight:O,getVideoRelativeOffsetTop:P,getVideoRelativeOffsetLeft:Q,reset:c},a(),W}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(47),i=d(h),j=a(51),k=d(j),l=a(46),m=d(l);e.__dashjs_factory_name="VideoModel",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46,47:47,48:48,51:51}],146:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=new Date,e=a.request,h=new Headers;e.range&&h.append("Range","bytes="+e.range),e.requestStartDate||(e.requestStartDate=b),g&&g.modifyRequestHeader({setRequestHeader:function(a,b){h.append(a,b)}});var j=void 0;"function"==typeof window.AbortController&&(j=new AbortController,a.abortController=j);var k={method:a.method,headers:h,credentials:a.withCredentials?"include":void 0,signal:j?j.signal:void 0};fetch(a.url,k).then(function(b){a.response||(a.response={}),a.response.status=b.status,a.response.statusText=b.statusText,a.response.responseURL=b.url,b.ok||a.onerror();var e="",g=!0,h=!1,j=void 0;try{for(var k,l=b.headers.keys()[Symbol.iterator]();!(g=(k=l.next()).done);g=!0){var m=k.value;e+=m+": "+b.headers.get(m)+"\n"}}catch(t){h=!0,j=t}finally{try{!g&&l.return&&l.return()}finally{if(h)throw j}}if(a.response.responseHeaders=e,!b.body)return b.arrayBuffer().then(function(b){a.response.response=b;var c={loaded:b.byteLength,total:b.byteLength};a.progress(c),a.onload(),a.onend()});var n=parseInt(b.headers.get("Content-Length"),10),o=0,p=!1,q=ne
31w Uint8Array,r=0;a.reader=b.body.getReader();var s=[];c(a,function b(e){var g=e.value;if(e.done)return q&&(a.progress({loaded:o,total:isNaN(n)?o:n,lengthComputable:!0,time:f(s,o)}),a.response.response=q.buffer),a.onload(),void a.onend();if(g&&g.length>0){q=d(q,g),o+=g.length,s.push({ts:Date.now(),bytes:g.length});var h=(0,i.default)().getInstance().findLastTopIsoBoxCompleted(["moov","mdat"],q,r);if(h.found){var j=h.lastCompletedOffset+h.size,k=void 0;j===q.length?(k=q,q=new Uint8Array):(k=new Uint8Array(q.subarray(0,j)),q=q.subarray(j)),a.progress({data:k.buffer,lengthComputable:!1,noTrace:!0}),r=0}else r=h.lastCompletedOffset,p||(a.progress({lengthComputable:!1,noTrace:!0}),p=!0)}c(a,b)})}).catch(function(b){a.onerror&&a.onerror(b)})}function c(a,b){a.reader.read().then(b).catch(function(b){a.onerror&&200===a.response.status&&a.onerror(b)})}function d(a,b){if(0===a.length)return b;var c=new Uint8Array(a.length+b.length);return c.set(a),c.set(b,a.length),c}function e(a){if(a.abortController)a.abortController.abort();else if(a.reader)try{a.reader.cancel()}catch(b){}}function f(a,b){if(a=a.filter(function(c){return c.bytes>b/4/a.length}),a.length>1){var c=function(){var b=0,c=(a[a.length-1].ts-a[0].ts)/a.length;return a.forEach(function(d,e){var f=a[e+1];if(f){var g=f.ts-d.ts;b+=g<c?g:0}}),{v:b}}();if("object"==typeof c)return c.v}return null}a=a||{};var g=a.requestModifier;return{load:b,abort:e,calculateDownloadedTime:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(196),i=d(h);e.__dashjs_factory_name="FetchLoader";var j=g.default.getClassFactory(e);c.default=j,b.exports=c.default},{196:196,48:48}],147:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){return b in a?Object.defineProperty(a,b,{value:c,enumerable:!0,configurable:!0,writable:!0}):a[b]=c,a}function f(a){function b(){var a;r=[],s=[],t=[],a={},e(a,k.HTTPRequest.MPD_TYPE,o.default.DOWNLOAD_ERROR_ID_MANIFEST),e(a,k.HTTPRequest.XLINK_EXPANSION_TYPE,o.default.DOWNLOAD_ERROR_ID_XLINK),e(a,k.HTTPRequest.INIT_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_INITIALIZATION),e(a,k.HTTPRequest.MEDIA_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.INDEX_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.BITSTREAM_SWITCHING_SEGMENT_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),e(a,k.HTTPRequest.OTHER_TYPE,o.default.DOWNLOAD_ERROR_ID_CONTENT),u=a}function c(a,b){var d=a.request,e=[],f=!0,o=!0,q=new Date,v=q,w=0,x=void 0;if(!n||!l||!i)throw new Error("config object is not correct or missing");var y=function(a){o=!1,d.requestStartDate=q,d.requestEndDate=new Date,d.firstByteDate=d.firstByteDate||q,d.checkExistenceOnly||l.addHttpRequest(d.mediaType,null,d.type,d.url,x.response?x.response.responseURL:null,d.serviceLocation||null,d.range||null,d.requestStartDate,d.firstByteDate,d.requestEndDate,x.response?x.response.status:null,d.duration,x.response&&x.response.getAllResponseHeaders?x.response.getAllResponseHeaders():x.response?x.response.responseHeaders:[],a?e:null)},z=function(){-1!==r.indexOf(x)&&(r.splice(r.indexOf(x),1),o&&(y(!1),b>0?(b--,t.push(setTimeout(function(){c(a,b)},m.getRetryIntervalForType(d.type)))):(i.downloadError(u[d.type],d.url,d),a.error&&a.error(d,"error",x.response.statusText),a.complete&&a.complete(d,x.response.statusText))))},A=function(b){var c=new Date;f&&(f=!1,(!b.lengthComputable||b.lengthComputable&&b.total!==b.loaded)&&(d.firstByteDate=c)),b.lengthComputable&&(d.bytesLoaded=b.loaded,d.bytesTotal=b.total),b.noTrace||(e.push({s:v,d:b.time?b.time:c.getTime()-v.getTime(),b:[b.loaded?b.loaded-w:0]}),v=c,w=b.loaded),a.progress&&b&&a.progress(b)},B=function(){x.response.status>=200&&x.response.status<=299&&(y(!0),a.success&&a.success(x.response.response,x.response.statusText,x.response.responseURL),a.complete&&a.complete(d,x.response.statusText))},C=function(){a.abort&&a.abort(d)},D=void 0;D=p&&window.fetch&&"arraybuffer"===d.responseType?(0,j.default)(g).create({requestModifier:n}):(0,h.default)(g).create({requestModifier:n});var E=n.modifyRequestURL(d.url),F=d.checkExistenceOnly?k.HTTPRequest.HEAD:k.HTTPRequest.GET,G=m.getXHRWithCredentialsForType(d.type);x={url:E,method:F,withCredentials:G,request:d,onload:B,onend:z,onerror:z,progress:A,onabort:C,loader:D};var H=(new Date).getTime();isNaN(d.delayLoadingTime)||H>=d.delayLoadingTime?(r.push(x),D.load(x)):function(){var a={httpRequest:x};s.push(a),a.delayTimeout=setTimeout(function(){if(-1!==s.indexOf(a)){s.splice(s.indexOf(a),1);try{q=new Date,v=q,r.push(a.httpRequest),D.load(a.httpRequest)}catch(b){a.httpRequest.onerror()}}},d.delayLoadingTime-H)}()}function d(a){a.request&&c(a,m.getRetryAttemptsForType(a.request.type))}function f(){t.forEach(function(a){return clearTimeout(a)}
31),t=[],s.forEach(function(a){return clearTimeout(a.delayTimeout)}),s=[],r.forEach(function(a){a.onloadend=a.onerror=a.onprogress=void 0,a.loader.abort(a),a.onabort()}),r=[]}a=a||{};var g=this.context,i=a.errHandler,l=a.metricsModel,m=a.mediaPlayerModel,n=a.requestModifier,p=a.useFetch||!1,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0;return q={load:d,abort:f},b(),q}Object.defineProperty(c,"__esModule",{value:!0});var g=a(148),h=d(g),i=a(146),j=d(i),k=a(233),l=a(48),m=d(l),n=a(201),o=d(n);f.__dashjs_factory_name="HTTPLoader";var p=m.default.getClassFactory(f);c.default=p,b.exports=c.default},{146:146,148:148,201:201,233:233,48:48}],148:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=new Date,c=a.request,e=new XMLHttpRequest;e.open(a.method,a.url,!0),c.responseType&&(e.responseType=c.responseType),c.range&&e.setRequestHeader("Range","bytes="+c.range),c.requestStartDate||(c.requestStartDate=b),d&&(e=d.modifyRequestHeader(e)),e.withCredentials=a.withCredentials,e.onload=a.onload,e.onloadend=a.onend,e.onerror=a.onerror,e.onprogress=a.progress,e.onabort=a.onabort,e.send(),a.response=e}function c(a){var b=a.response;b.onloadend=b.onerror=b.onprogress=void 0,b.abort()}a=a||{};var d=a.requestModifier;return{load:b,abort:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="XHRLoader";var h=g.default.getClassFactory(e);c.default=h,b.exports=c.default},{48:48}],149:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(){d(this,a)}return e(a,null,[{key:"findCencContentProtection",value:function(a){for(var b=null,c=0;c<a.length;++c){var d=a[c];"urn:mpeg:dash:mp4protection:2011"===d.schemeIdUri.toLowerCase()&&"cenc"===d.value.toLowerCase()&&(b=d)}return b}},{key:"getPSSHData",value:function(a){var b=8,c=new DataView(a),d=c.getUint8(b);return b+=20,d>0&&(b+=4+16*c.getUint32(b)),b+=4,a.slice(b)}},{key:"getPSSHForKeySystem",value:function(b,c){var d=a.parsePSSHList(c);return d.hasOwnProperty(b.uuid.toLowerCase())?d[b.uuid.toLowerCase()]:null}},{key:"parseInitDataFromContentProtection",value:function(a,b){return"pssh"in a?b.decodeArray(a.pssh.__text).buffer:null}},{key:"parsePSSHList",value:function(a){if(null===a)return[];for(var b=new DataView(a.buffer||a),c=!1,d={},e=0;!c;){var f=void 0,g=void 0,h=void 0,i=void 0,j=e;if(e>=b.buffer.byteLength)break;if(f=b.getUint32(e),g=e+f,e+=4,1886614376===b.getUint32(e))if(e+=4,0===(h=b.getUint8(e))||1===h){e++,e+=3,i="";var k=void 0,l=void 0;for(k=0;k<4;k++)l=b.getUint8(e+k).toString(16),i+=1===l.length?"0"+l:l;for(e+=4,i+="-",k=0;k<2;k++)l=b.getUint8(e+k).toString(16),i+=1===l.length?"0"+l:l;for(e+=2,i+="-",k=0;k<2;k++)l=b.getUint8(e+k).toString(16),i+=1===l.length?"0"+l:l;for(e+=2,i+="-",k=0;k<2;k++)l=b.getUint8(e+k).toString(16),i+=1===l.length?"0"+l:l;for(e+=2,i+="-",k=0;k<6;k++)l=b.getUint8(e+k).toString(16),i+=1===l.length?"0"+l:l;e+=6,i=i.toLowerCase(),b.getUint32(e),e+=4,d[i]=b.buffer.slice(j,g),e=g}else e=g;else e=g}return d}}]),a}();c.default=f,b.exports=c.default},{}],150:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){var c=null,d=(0,i.default)(e).getInstance();d.setConfig({debug:a.debug,BASE64:a.BASE64}),d.initialize();var f=b(a);return!c&&f&&(c=(0,g.default)(e).create({protectionModel:f,protectionKeyController:d,eventBus:a.eventBus,debug:a.debug,events:a.events,BASE64:a.BASE64,constants:a.constants}),a.capabilities.setEncryptedMediaSupported(!0)),c}function b(a){var b=a.debug,f=b.getLogger(d),g=a.eventBus,h=a.errHandler,i=a.videoModel?a.videoModel.getElement():null;return i&&void 0===i.onencrypted||i&&void 0===i.mediaKeys?c(i,s)?(f.info("EME detected on this user agent! (ProtectionModel_3Feb2014)"),(0,o.default)(e).create({debug:b,eventBus:g,events:a.events,api:c(i,s)})):c(i,r)?(f.info("EME detected on this user agent! (ProtectionModel_01b)"),(0,q.default)(e).create({debug:b,eventBus:g,errHandler:h,events:a.events,api:c(i,r)})):(f.warn("No supported version of EME detected on this user agent! - Attempts to play encrypted content will fail!"),null):(f.info("EME detected on this user agent! (ProtectionModel_21Jan2015)"),(0,m.default)(e).create({debug:b,eventBus:g,events:a.events}))}function c(a,b){for(var c=0;c<b.length;c++){var d=b[c];if("function"==typeof a[d[Object.keys(d)[0]]])return d}return null}var d=void 0,e=this.context;return d={createProtectionSystem:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(152),g=d(f),h=a(153),i=d(h),j=a(151),k=d(j),l=a(159),m=d(l),n=a(160),o=d(n),p=a(158),q=d(p),r=[{generateKeyRequest:"generateKeyRequest",addKey:"addKey",cancelKeyRequest:"cancelKeyRequest",needkey:"needkey",keyerror:"keyerror",keyadded:"keyadded",keymessage:"keymessage"},{generateKeyRequest:"webkitGenerateKeyRequest",addKey:"webkitAddKey",cancelKeyRequest:"webkitCancelKeyRequest",needkey:"webkitneedkey",keyerror:"webkitkeyerror",keyadded:"webkitkeyadded",keymessage:"webkitkeymessage"}],s=[{setMediaKeys:"setMediaKeys",MediaKeys:"MediaKeys",release:"close",needkey:"needkey",error:"keyerror",message:"keymessage",ready:"keya
31dded",close:"keyclose"},{setMediaKeys:"msSetMediaKeys",MediaKeys:"MSMediaKeys",release:"close",needkey:"msneedkey",error:"mskeyerror",message:"mskeymessage",ready:"mskeyadded",close:"mskeyclose"}];e.__dashjs_factory_name="Protection";var t=dashjs.FactoryMaker.getClassFactory(e);t.events=k.default,dashjs.FactoryMaker.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{151:151,152:152,153:153,158:158,159:159,160:160}],151:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(52),i=d(h),j=function(a){function b(){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.INTERNAL_KEY_MESSAGE="internalKeyMessage",this.INTERNAL_KEY_SYSTEM_SELECTED="internalKeySystemSelected",this.INTERNAL_KEY_STATUS_CHANGED="internalkeyStatusChanged",this.KEY_ADDED="public_keyAdded",this.KEY_ERROR="public_keyError",this.KEY_MESSAGE="public_keyMessage",this.KEY_SESSION_CLOSED="public_keySessionClosed",this.KEY_SESSION_CREATED="public_keySessionCreated",this.KEY_SESSION_REMOVED="public_keySessionRemoved",this.KEY_STATUSES_CHANGED="public_keyStatusesChanged",this.KEY_SYSTEM_ACCESS_COMPLETE="public_keySystemAccessComplete",this.KEY_SYSTEM_SELECTED="public_keySystemSelected",this.LICENSE_REQUEST_COMPLETE="public_licenseRequestComplete",this.NEED_KEY="needkey",this.PROTECTION_CREATED="public_protectioncreated",this.PROTECTION_DESTROYED="public_protectiondestroyed",this.SERVER_CERTIFICATE_UPDATED="serverCertificateUpdated",this.TEARDOWN_COMPLETE="protectionTeardownComplete",this.VIDEO_ELEMENT_SELECTED="videoElementSelected"}return f(b,a),b}(i.default),k=new j;c.default=k,b.exports=c.default},{52:52}],152:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){N=I.getLogger(M),O=[],P=[],R="temporary",S=""}function c(){if(!(G&&G.hasOwnProperty("on")&&E&&E.hasOwnProperty("getSupportedKeySystemsFromContentProtection")))throw new Error("Missing config parameter(s)")}function d(a){if(!a)throw new Error("mediaInfo can not be null or undefined");c(),G.on(H.INTERNAL_KEY_MESSAGE,B,this),G.on(H.INTERNAL_KEY_STATUS_CHANGED,A,this),P.push(a);var b=E.getSupportedKeySystemsFromContentProtection(a.contentProtection);b&&b.length>0&&y(b,!0)}function e(a){return E.getSupportedKeySystemsFromContentProtection(a)}function f(a,b){var c=g.default.getPSSHForKeySystem(T,a),d=v(T);if(c){for(var e=F.getAllInitData(),f=0;f<e.length;f++)if(E.initDataEquals(c,e[f]))return void N.warn("DRM: Ignoring initData because we have already seen it!");try{F.createKeySession(c,d,x(T),b)}catch(h){G.trigger(H.KEY_SESSION_CREATED,{data:null,error:"Error creating key session! "+h.message})}}else a?F.createKeySession(a,d,x(T),b):G.trigger(H.KEY_SESSION_CREATED,{data:null,error:"Selected key system is "+T.systemString+".  needkey/encrypted event contains no initData corresponding to that key system!"})}function h(a,b){F.loadKeySession(a,b,x(T))}function j(a){F.removeKeySession(a)}function n(a){F.closeKeySession(a)}function o(a){F.setServerCertificate(a)}function p(a){a?(F.setMediaElement(a),G.on(H.NEED_KEY,C,this)):null===a&&(F.setMediaElement(a),G.off(H.NEED_KEY,C,this))}function q(a){R=a}function r(a){S=a}function s(a){Q=a,E.setProtectionData(a)}function t(){F&&F.stop()}function u(){G.off(H.INTERNAL_KEY_MESSAGE,B,this),G.off(H.INTERNAL_KEY_STATUS_CHANGED,A,this),p(null),T=void 0,F&&(F.reset(),F=null),L.forEac
31h(function(a){return clearTimeout(a)}),L=[],P=[]}function v(a){var b=null;if(a){var c=a.systemString;Q&&(b=c in Q?Q[c]:null)}return b}function w(a){var b=v(a),c=[],d=[],e=b&&b.audioRobustness&&b.audioRobustness.length>0?b.audioRobustness:S,f=b&&b.videoRobustness&&b.videoRobustness.length>0?b.videoRobustness:S,g=x(a),h=b&&b.distinctiveIdentifier?b.distinctiveIdentifier:"optional",j=b&&b.persistentState?b.persistentState:"temporary"===g?"optional":"required";return P.forEach(function(a){a.type===K.AUDIO?c.push(new i.default(a.codec,e)):a.type===K.VIDEO&&d.push(new i.default(a.codec,f))}),new k.default(c,d,h,j,[g])}function x(a){var b=v(a);return b&&b.sessionType?b.sessionType:R}function y(a,b){var c=this,d=[],e=void 0;if(T){for(e=0;e<a.length;e++)if(T===a[e].ks){var g=function(){d.push({ks:a[e].ks,configs:[w(T)]})
32;var g=function d(g){G.off(H.KEY_SYSTEM_ACCESS_COMPLETE,d,c),g.error?b||G.trigger(H.KEY_SYSTEM_SELECTED,{error:"DRM: KeySystem Access Denied! -- "+g.error}):(N.info("DRM: KeySystem Access Granted"),G.trigger(H.KEY_SYSTEM_SELECTED,{data:g.data}),a[e].sessionId?h(a[e].sessionId,a[e].initData):a[e].initData&&f(a[e].initData,a[e].cdmData))};return G.on(H.KEY_SYSTEM_ACCESS_COMPLETE,g,c),F.requestKeySystemAccess(d),"break"}();if("break"===g)break}}else if(void 0===T){var i;!function(){T=null,O.push(a);for(var g=0;g<a.length;g++)d.push({ks:a[g].ks,configs:[w(a[g].ks)]});var j=void 0,k=function a(d){G.off(H.KEY_SYSTEM_ACCESS_COMPLETE,a,c),d.error?(T=void 0,G.off(H.INTERNAL_KEY_SYSTEM_SELECTED,i,c),b||G.trigger(H.KEY_SYSTEM_SELECTED,{data:null,error:"DRM: KeySystem Access Denied! -- "+d.error})):(j=d.data,N.info("DRM: KeySystem Access Granted ("+j.keySystem.systemString+")!  Selecting key system..."),F.selectKeySystem(j))};i=function a(d){if(G.off(H.INTERNAL_KEY_SYSTEM_SELECTED,a,c),G.off(H.KEY_SYSTEM_ACCESS_COMPLETE,k,c),d.error)T=void 0,b||G.trigger(H.KEY_SYSTEM_SELECTED,{data:null,error:"DRM: Error selecting key system! -- "+d.error});else{if(!F)return;T=F.getKeySystem(),G.trigger(H.KEY_SYSTEM_SELECTED,{data:j});var g=v(T);g&&g.serverCertificate&&g.serverCertificate.length>0&&F.setServerCertificate(J.decodeArray(g.serverCertificate).buffer);for(var i=0;i<O.length;i++)for(e=0;e<O[i].length;e++)if(T===O[i][e].ks){if(E.isClearKey(T)&&g&&g.hasOwnProperty("clearkeys")){var l={kids:Object.keys(g.clearkeys)};O[i][e].initData=(new TextEncoder).encode(JSON.stringify(l))}O[i][e].sessionId?h(O[i][e].sessionId,O[i][e].initData):null!==O[i][e].initData&&f(O[i][e].initData,O[i][e].cdmData);break}}},G.on(H.INTERNAL_KEY_SYSTEM_SELECTED,i,c),G.on(H.KEY_SYSTEM_ACCESS_COMPLETE,k,c),F.requestKeySystemAccess(d)}()}else O.push(a)}function z(a,b){G.trigger(H.LICENSE_REQUEST_COMPLETE,{data:a,error:b})}function A(a){a.error?G.trigger(H.KEY_STATUSES_CHANGED,{data:null,error:"DRM: KeyStatusChange error! -- "+a.error}):N.debug("DRM: key status = "+a.status)}function B(a){if(N.debug("DRM: onKeyMessage"),a.error)return void N.error(a.error);var b=a.data;G.trigger(H.KEY_MESSAGE,{data:b});var c=b.messageType?b.messageType:"license-request",d=b.message,e=b.sessionToken,f=v(T),h=T?T.systemString:null,i=E.getLicenseServer(T,f,c),j={sessionToken:e,messageType:c};if(!d||0===d.byteLength)return void z(j,"DRM: Empty key message from CDM");if(!i)return N.debug("DRM: License server request not required for this message (type = "+a.data.messageType+").  Session ID = "+e.getSessionID()),void z(j);
32if(E.isClearKey(T)){var k=E.processClearKeyLicenseRequest(T,f,d);if(k)return N.debug("DRM: ClearKey license request handled by application!"),z(j),void F.updateKeySession(e,k)}var l=new XMLHttpRequest,m=null;if(f&&f.serverURL){var n=f.serverURL;"string"==typeof n&&""!==n?m=n:"object"==typeof n&&n.hasOwnProperty(c)&&(m=n[c])}else f&&f.laURL&&""!==f.laURL?m=f.laURL:(m=T.getLicenseServerURLFromInitData(g.default.getPSSHData(e.initData)))||(m=a.data.laURL);if(!(m=i.getServerURLFromMessage(m,d,c)))return void z(j,"DRM: No license server URL specified!");var o=function(a,b,c,d){var e=a.response?i.getErrorResponse(a.response,c,d):"NONE";z(b,"DRM: "+c+' update, XHR complete. status is "'+a.statusText+'" ('+a.status+"), readyState is "+a.readyState+".  Response is "+e)};l.open(i.getHTTPMethod(c),m,!0),l.responseType=i.getResponseType(h,c),l.onload=function(){if(F)if(200==this.status){var a=i.getLicenseMessage(this.response,h,c);null!==a?(z(j),F.updateKeySession(e,a)):o(this,j,h,c)}else o(this,j,h,c)},l.onabort=function(){z(j,"DRM: "+h+' update, XHR aborted. status is "'+this.statusText+'" ('+this.status+"), readyState is "+this.readyState)},l.onerror=function(){z(j,"DRM: "+h+' update, XHR error. status is "'+this.statusText+'" ('+this.status+"), readyState is "+this.readyState)};var p=function(a){if(a)for(var b in a)"authorization"===b.toLowerCase()&&(l.withCredentials=!0),l.setRequestHeader(b,a[b])};f&&p(f.httpRequestHeaders),p(T.getRequestHeadersFromMessage(d)),f&&"boolean"==typeof f.withCredentials&&(l.withCredentials=f.withCredentials),l.send(T.getLicenseRequestFromMessage(d))}function C(a,b){if(N.debug("DRM: onNeedKey"),"cenc"!==a.key.initDataType)return void N.warn("DRM:  Only 'cenc' initData is supported!  Ignoring initData of type: "+a.key.initDataType);if(0===P.length&&(N.warn("DRM: onNeedKey called before initializeForMedia, wait until initialized"),(b=void 0===b?1:b+1)<l))return void L.push(setTimeout(function(){C(a,b)},m));var c=a.key.initData;if(ArrayBuffer.isView(c)&&(c=c.buffer),T){var d=g.default.getPSSHForKeySystem(T,c);if(d)for(var e=F.getAllInitData(),f=0;f<e.length;f++)if(E.initDataEquals(d,e[f]))return void N.warn("DRM: Ignoring initData because we have already seen it!")}N.debug("DRM: initData:",String.fromCharCode.apply(null,new Uint8Array(c)));var h=E.getSupportedKeySystems(c,Q);if(0===h.length)return void N.debug("DRM: Received needkey event with initData, but we don't support any of the key systems!");y(h,!1)}function D(){return E?E.getKeySystems():[]}a=a||{};var E=a.protectionKeyController,F=a.protectionModel,G=a.eventBus,H=a.events,I=a.debug,J=a.BASE64,K=a.constants,L=[],M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0;return M={initializeForMedia:d,createKeySession:f,loadKeySession:h,removeKeySession:j,closeKeySession:n,setServerCertificate:o,setMediaElement:p,setSessionType:q,setRobustnessLevel:r,setProtectionData:s,getSupportedKeySystemsFromContentProtection:e,getKeySystems:D,stop:t,reset:u},b(),M}Object.defineProperty(c,"__esModule",{value:!0});var f=a(149),g=d(f),h=a(171),i=d(h),j=a(170),k=d(j),l=5,m=500;e.__dashjs_factory_name="ProtectionController",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{149:149,170:170,171:171}],153:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a&&(a.debug&&(v=a.debug,x=v.getLogger(t)),a.BASE64&&(A=a.BASE64))}function b(){z=[];var a=void 0;a=(0,o.default)(r).getInstance({BASE64:A}),z.push(a),a=(0,m.default)(r).getInstance({BASE64:A}),z.push(a),a=(0,i.default)(r).getInstance({BASE64:A}),z.push(a),B=a,a=(0,k.default)(r).getInstance({BASE64:A,debug:v}),z.push(a),C=a}function c(){return z}function d(a){for(var b=0;b<z.length;b++)if(z[b].systemString===a)return z[b];return null}function e(a){return a===B||a===C}function f(a,b){if(a.byteLength===b.byteLength){for(var c=new Uint8Array(a),d=new Uint8Array(b),e=0;e<c.length;e++)if(c[e]!==d[e])return!1;return!0}return!1}function h(a){var b=void 0,c=void 0,d=void 0,e=void 0,f=[];if(a)for(d=0;d<z.length;++d)for(c=z[d],e=0;e<a.length;++e)b=a[e],b.schemeIdUri.toLowerCase()===c.schemeIdURI&&f.push({ks:c,initData:c.getInitData(b),cdmData:c.getCDMData(),sessionId:c.getSessionId(b)});return f}function j(a,b){for(var c=[],d=g.default.parsePSSHList(a),e=void 0,f=void 0,h=void 0,i=0;i<z.length;++i)e=z[i],f=e.systemString,h=!b||f in b,e.uuid in d&&h&&c.push({ks:e,initData:d[e.uuid],cdmData:e.getCDMData(),sessionId:e.getSessionId()});return c}function l(a,b,c){if("license-release"===c||"individualization-request"===c)return null;var d=null;return b&&b.hasOwnProperty("drmtoday")?d=(0,q.default)(r).getInstance({BASE64:A}):a.systemString===y.default.WIDEVINE_KEYSTEM_STRING?d=(0,u.default)(r).getInstance():a.systemString===y.default.PLAYREADY_KEYSTEM_STRING?d=(0,s.default)(r).getInstance():a.systemString===y.default.CLEARKEY_KEYSTEM_STRING&&(d=(0,w.default)(r).getInstance()),d}function n(a,b,c){try{return a.getClearKeysFromProtectionData(b,c)}catch(d){return x.error("Failed to retrieve clearkeys from ProtectionData"),null}}function p(a){for(var b=(function(b){var c=null;return a&&(c=b in a?a[b]:null),c}),c=0;c<z.length;c++){var d=z[c];d.hasOwnProperty("init")&&d.init(b(d.systemString))}}
32var r=this.context,t=void 0,v=void 0,x=void 0,z=void 0,A=void 0,B=void 0,C=void 0;return t={initialize:b,setProtectionData:p,isClearKey:e,initDataEquals:f,getKeySystems:c,getKeySystemBySystemString:d,getSupportedKeySystemsFromContentProtection:h,getSupportedKeySystems:j,getLicenseServer:l,processClearKeyLicenseRequest:n,setConfig:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(149),g=d(f),h=a(154),i=d(h),j=a(156),k=d(j),l=a(157),m=d(l),n=a(155),o=d(n),p=a(162),q=d(p),r=a(163),s=d(r),t=a(164),u=d(t),v=a(161),w=d(v),x=a(102),y=d(x);e.__dashjs_factory_name="ProtectionKeyController",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102,149:149,154:154,155:155,156:156,157:157,161:161,162:162,163:163,164:164}],154:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=null;if(a){for(var d=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(b))),e=[],f=0;f<d.kids.length;f++){var h=d.kids[f],j=a.clearkeys&&a.clearkeys.hasOwnProperty(h)?a.clearkeys[h]:null;if(!j)throw new Error("DRM: ClearKey keyID ("+h+") is not known!");e.push(new g.default(h,j))}c=new i.default(e)}return c}function c(a){return k.default.parseInitDataFromContentProtection(a,l)}function d(){return null}function e(a){return new Uint8Array(a)}function f(){return null}function h(){return null}function j(){return null}a=a||{};var l=a.BASE64;return{uuid:n,schemeIdURI:p,systemString:o,getInitData:c,getRequestHeadersFromMessage:d,getLicenseRequestFromMessage:e,getLicenseServerURLFromInitData:f,getCDMData:h,getSessionId:j,getClearKeysFromProtectionData:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(168),g=d(f),h=a(165),i=d(h),j=a(149),k=d(j),l=a(102),m=d(l),n="e2719d58-a985-b3c9-781a-b030af78d30e",o=m.default.CLEARKEY_KEYSTEM_STRING,p="urn:uuid:"+n;e.__dashjs_factory_name="KeySystemClearKey",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102,149:149,165:165,168:168}],155:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){if(!r||!r.hasOwnProperty("decodeArray")||!r.hasOwnProperty("decodeArray"))throw new Error("Missing config parameter(s)")}function c(a){var b=void 0,c=void 0,d={},e=new DOMParser,f="utf16"===q?new Uint16Array(a):new Uint8Array(a);b=String.fromCharCode.apply(null,f),c=e.parseFromString(b,"application/xml");for(var g=c.getElementsByTagName("name"),h=c.getElementsByTagName("value"),i=0;i<g.length;i++)d[g[i].childNodes[0].nodeValue]=h[i].childNodes[0].nodeValue;return d.hasOwnProperty("Content")&&(d["Content-Type"]=d.Content,delete d.Content),d.hasOwnProperty("Content-Type")||(d["Content-Type"]="text/xml; charset="+q),d}function d(a){var c=null,d=new DOMParser,e="utf16"===q?new Uint16Array(a):new Uint8Array(a);b();var f=String.fromCharCode.apply(null,e),g=d.parseFromString(f,"application/xml");if(g.getElementsByTagName("Challenge")[0]){var h=g.getElementsByTagName("Challenge")[0].childNodes[0].nodeValue;h&&(c=r.decode(h))}else if(g.getElementsByTagName("parsererror").length)return a;return c}function e(a){if(a)for(var b=new DataView(a),c=b.getUint16(4,!0),d=6,e=new DOMParser,f=0;f<c;f++){var g=b.getUint16(d,!0);d+=2;var h=b.getUint16(d,!0);if(d+=2,1===g){var i=a.slice(d,d+h),j=String.fromCharCode.apply(null,new Uint16Array(i)),k=e.parseFromString(j,"application/xml");if(k.getElementsByTagName("LA_URL")[0]){var l=k.getElementsByTagName("LA_URL")[0].childNodes[0].nodeValue;if(l)return l}if(k.getElementsByTagName("LUI_URL")[0]){var m=k.getElementsByTagName("LUI_URL")[0].childNodes[0].nodeValue;if(m)return m}}else d+=h}return null}function f(a){var c=new Uint8Array([112,115,115,104,0,0,0,0]),d=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),e=0,f=null,h=void 0,i=void 0,j=void 0,k=void 0,l=void 0;if(b(),"pssh"in a)return g.default.parseInitDataFromContentProtection(a,r);if("pro"in a)f=r.decodeArray(a.pro.__text);else{if(!("prheader"in a))return null;f=r.decodeArray(a.prheader.__text)}return h=f.length,i=4+c.length+d.length+4+h,j=new ArrayBuffer(i),k=new Uint8Array(j),l=new DataView(j),l.setUint32(e,i),e+=4,k.set(c,e),e+=c.length,k.set(d,e),e+=d.length,l.setUint32(e,h),e+=4,k.set(f,e),e+=h,k.buffer}
32function h(a){if("utf8"!==a&&"utf16"!==a)throw new Error("Illegal PlayReady message format! -- "+a);q=a}function i(a){a&&(n=a)}function o(){var a=void 0,c=void 0,d=void 0,e=void 0;if(b(),n&&n.cdmData){for(a=[],e=0;e<n.cdmData.length;++e)a.push(n.cdmData.charCodeAt(e)),a.push(0);for(a=String.fromCharCode.apply(null,a),a=r.encode(a),c=m.replace("%CUSTOMDATA%",a),d=[],e=0;e<c.length;++e)d.push(c.charCodeAt(e)),d.push(0);return new Uint8Array(d).buffer}return null}function p(){return null}a=a||{};var q="utf16",r=a.BASE64;return{uuid:j,schemeIdURI:l,systemString:k,getInitData:f,getRequestHeadersFromMessage:c,getLicenseRequestFromMessage:d,getLicenseServerURLFromInitData:e,getCDMData:o,getSessionId:p,setPlayReadyMessageFormat:h,init:i}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(149),g=d(f),h=a(102),i=d(h),j="9a04f079-9840-4286-ab92-e65be0885f95",k=i.default.PLAYREADY_KEYSTEM_STRING,l="urn:uuid:"+j,m='<PlayReadyCDMData type="LicenseAcquisition"><LicenseAcquisition version="1.0" Proactive="false"><CustomData encoding="base64encoded">%CUSTOMDATA%</CustomData></LicenseAcquisition></PlayReadyCDMData>',n=void 0;e.__dashjs_factory_name="KeySystemPlayReady",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102,149:149}],156:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a,b){var c=null;if(a){for(var d=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(b))),e=[],f=0;f<d.kids.length;f++){var h=d.kids[f],j=a.clearkeys&&a.clearkeys.hasOwnProperty(h)?a.clearkeys[h]:null;if(!j)throw new Error("DRM: ClearKey keyID ("+h+") is not known!");e.push(new g.default(h,j))}c=new i.default(e),q.warn("ClearKey schemeIdURI is using W3C Common PSSH systemID (1077efec-c0b2-4d02-ace3-3c1e52e2fb4b) in Content Protection. See DASH-IF IOP v4.1 section 7.6.2.4")}return c}function c(a){return k.default.parseInitDataFromContentProtection(a,m)}function d(){return null}function e(a){return new Uint8Array(a)}function f(){return null}function h(){return null}function j(){return null}var l=void 0,m=a.BASE64,q=a.debug.getLogger(l);return l={uuid:n,schemeIdURI:p,systemString:o,getInitData:c,getRequestHeadersFromMessage:d,getLicenseRequestFromMessage:e,getLicenseServerURLFromInitData:f,getCDMData:h,getSessionId:j,getClearKeysFromProtectionData:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(168),g=d(f),h=a(165),i=d(h),j=a(149),k=d(j),l=a(102),m=d(l),n="1077efec-c0b2-4d02-ace3-3c1e52e2fb4b",o=m.default.CLEARKEY_KEYSTEM_STRING,p="urn:uuid:"+n;e.__dashjs_factory_name="KeySystemW3CClearKey",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102,149:149,165:165,168:168}],157:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){a&&(m=a)}function c(a){return g.default.parseInitDataFromContentProtection(a,n)}function d(){return null}function e(a){return new Uint8Array(a)}function f(){return null}function h(){return null}function i(a){return m&&m.sessionId?m.sessionId:a&&a.sessionId?a.sessionId:null}a=a||{};var m=null,n=a.BASE64;return{uuid:j,schemeIdURI:l,systemString:k,init:b,getInitData:c,getRequestHeadersFromMessage:d,getLicenseRequestFromMessage:e,getLicenseServerURLFromInitData:f,getCDMData:h,getSessionId:i}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(149),g=d(f),h=a(102),i=d(h),j="edef8ba9-79d6-4ace-a3c8-27dcd51d21ed",k=i.default.WIDEVINE_KEYSTEM_STRING,l="urn:uuid:"+j;e.__dashjs_factory_name="KeySystemWidevine",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102,149:149}],158:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){E=A.getLogger(D),F=null,G=null,I=[],J=[],H=(0,g.default)(x).getInstance(),L=u()}function c(){F&&w();for(var a=0;a<J.length;a++)p(J[a]);y.trigger(z.TEARDOWN_COMPLETE)}function d(){return G}function e(){for(var a=[],b=0;b<I.length;b++)a.push(I[b].initData);for(var b=0;b<J.length;b++)a.push(J[b].initData);return a}function f(a){var b=F;b||(b=document.createElement("video"));for(var c=!1,d=0;d<a.length;d++)for(var e=a[d].ks.systemString,f=a[d].configs,g=null,h=null,i=0;i<f.length;i++){var j=f[i].videoCapabilities;if(j&&0!==j.length){h=[];for(var k=0;k<j.length;k++)""!==b.canPlayType(j[k].contentType,e)&&h.push(j[k])}if(!(!g&&!h||g&&0===g.length||h&&0===h.length)){c=!0;var l=new o.default(g,h),m=H.getKeySystemBySystemString(e);y.trigger(z.KEY_SYSTEM_ACCESS_COMPLETE,{data:new q.default(m,l)});break}}c||y.trigger(z.KEY_SYSTEM_ACCESS_COMPLETE,{error:"Key system access denied! -- No valid audio/video content configurations detected!"})}function h(a){G=a.keySystem,y.trigger(z.INTERNAL_KEY_SYSTEM_SELECTED)}function j(a){F!==a&&(F&&w(),(F=a)&&(F.addEventListener(B.keyerror,L),F.addEventListener(B.needkey,L),F.addEventListener(B.keymessage,L),F.addEventListener(B.keyadded,L),y.trigger(z.VIDEO_ELEMENT_SELECTED)))}function l(a){if(!G)throw new Error("Can not create sessions until you have selected a key system");if(K||0===J.length){var b={sessionID:null,initData:a,getSessionID:function(){return this.sessionID},getExpirationTime:function(){return NaN},getSessionType:function(){return"temporary"}};return I.push(b),F[B.generateKeyRequest](G.systemString,new Uint8Array(a)),b}throw new Error("Multiple sessions not allowed!")}function n(a,b){var c=a.sessionID;if(H.isClearKey(G))for(var d=0;d<b.keyPairs.length;d++)F[B.addKey](G.systemString,b.keyPairs[d].key,b.keyPairs[d].keyID,c);else F[B.addKey](G.systemString,new Uint8Array(b),new Uint8Array(a.initData),c)}function p(a){try{F[B.cancelKeyRequest](G.systemString,a.sessionID)}catch(b){y.trigger(z.KEY_SESSION_CLOSED,{data:null,error:"Error closing session ("+a.sessionID+") "+b.message})}}function r(){}function s(){}function t(){}function u(){return{handleEvent:function(a){var b=null;switch(a.type){case B.needkey:var c=ArrayBuffer.isView(a.initData)?a.initData.buffer:a.initData;y.trigger(z.NEED_KEY,{key:new i.default(c,"cenc")});break;case B.keyerror:if(b=v(J,a.sessionId),b||(b=v(I,a.sessionId)),b){var d="";switch(a.errorCode.code){case 1:d+="MEDIA_KEYERR_UNKNOWN - An unspecified error occurred. This value is used for errors that don't match any of the other codes.";break;
32case 2:d+="MEDIA_KEYERR_CLIENT - The Key System could not be installed or updated.";break;case 3:d+="MEDIA_KEYERR_SERVICE - The message passed into update indicated an error from the license service.";break;case 4:d+="MEDIA_KEYERR_OUTPUT - There is no available output device with the required characteristics for the content protection system.";break;case 5:d+="MEDIA_KEYERR_HARDWARECHANGE - A hardware configuration change caused a content protection error.";break;case 6:d+="MEDIA_KEYERR_DOMAIN - An error occurred in a multi-device domain licensing configuration. The most common error is a failure to join the domain."}d+="  System Code = "+a.systemCode,y.trigger(z.KEY_ERROR,{data:new k.default(b,d)})}else E.error("No session token found for key error");break;case B.keyadded:b=v(J,a.sessionId),b||(b=v(I,a.sessionId)),b?(E.debug("DRM: Key added."),y.trigger(z.KEY_ADDED,{data:b})):E.debug("No session token found for key added");break;case B.keymessage:if(K=null!==a.sessionId&&void 0!==a.sessionId,K?!(b=v(J,a.sessionId))&&I.length>0&&(b=I.shift(),J.push(b),b.sessionID=a.sessionId,y.trigger(z.KEY_SESSION_CREATED,{data:b})):I.length>0&&(b=I.shift(),J.push(b),0!==I.length&&C.mediaKeyMessageError("Multiple key sessions were creates with a user-agent that does not support sessionIDs!! Unpredictable behavior ahead!")),b){var e=ArrayBuffer.isView(a.message)?a.message.buffer:a.message;b.keyMessage=e,y.trigger(z.INTERNAL_KEY_MESSAGE,{data:new m.default(b,e,a.defaultURL)})}else E.warn("No session token found for key message")}}}}function v(a,b){if(b&&a){for(var c=a.length,d=0;d<c;d++)if(a[d].sessionID==b)return a[d];return null}return null}function w(){F.removeEventListener(B.keyerror,L),F.removeEventListener(B.needkey,L),F.removeEventListener(B.keymessage,L),F.removeEventListener(B.keyadded,L)}a=a||{};var x=this.context,y=a.eventBus,z=a.events,A=a.debug,B=a.api,C=a.errHandler,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0;return D={getAllInitData:e,requestKeySystemAccess:f,getKeySystem:d,selectKeySystem:h,setMediaElement:j,createKeySession:l,updateKeySession:n,closeKeySession:p,setServerCertificate:r,loadKeySession:s,removeKeySession:t,stop:c,reset:c},b(),D}Object.defineProperty(c,"__esModule",{value:!0});var f=a(153),g=d(f),h=a(172),i=d(h),j=a(166),k=d(j),l=a(167),m=d(l),n=a(170),o=d(n),p=a(169),q=d(p);e.__dashjs_factory_name="ProtectionModel_01b",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{153:153,166:166,167:167,169:169,170:170,172:172}],159:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){G=E.getLogger(F),H=null,I=null,J=null,K=[],M=(0,g.default)(B).getInstance(),L=x()}function c(){var a=K.length,b=void 0;0!==a?function(){for(var c=function(a){y(a),0===K.length&&(I?(I.removeEventListener("encrypted",L),I.setMediaKeys(null).then(function(){C.trigger(D.TEARDOWN_COMPLETE)})):C.trigger(D.TEARDOWN_COMPLETE))},d=0;d<a;d++)b=K[d],function(a){b.session.closed.then(function(){c(a)}),w(b).catch(function(){c(a)})}(b)}():C.trigger(D.TEARDOWN_COMPLETE)}function d(){for(var a=void 0,b=0;b<K.length;b++)a=K[b],a.getUsable()||(y(a),w(a))}function e(){return H}function f(){for(var a=[],b=0;b<K.length;b++)K[b].initData&&a.push(K[b].initData);return a}function h(a){v(a,0)}function j(a){a.mksa.createMediaKeys().then(function(b){H=a.keySystem,J=b,I?I.setMediaKeys(J).then(function(){C.trigger(D.INTERNAL_KEY_SYSTEM_SELECTED)}):C.trigger(D.INTERNAL_KEY_SYSTEM_SELECTED)}).catch(function(){C.trigger(D.INTERNAL_KEY_SYSTEM_SELECTED,{error:"Error selecting keys system ("+a.keySystem.systemString+")! Could not create MediaKeys -- TODO"})})}function l(a){I!==a&&(I&&(I.removeEventListener("encrypted",L),I.setMediaKeys&&I.setMediaKeys(null)),(I=a)&&(I.addEventListener("encrypted",L),I.setMediaKeys&&J&&I.setMediaKeys(J)))}function n(a){if(!H||!J)throw new Error("Can not set server certificate until you have selected a key system");J.setServerCertificate(a).then(function(){G.info("DRM: License server certificate successfully updated."),C.trigger(D.SERVER_CERTIFICATE_UPDATED)}).catch(function(a){C.trigger(D.SERVER_CERTIFICATE_UPDATED,{error:"Error updating server certificate -- "+a.name})})}function p(a,b,c){if(!H||!J)throw new Error("Can not create sessions until you have selected a key system");var d=J.createSession(c),e=A(d,a,c),f=this.getKeySystem(),g=f.systemString===q.default.CLEARKEY_KEYSTEM_STRING&&b&&b.clearkeys?"keyids":"cenc";d.generateRequest(g,a).then(function(){G.debug("DRM: Session created.  SessionID = "+e.getSessionID()),C.trigger(D.KEY_SESSION_CREATED,{data:e})}).catch(function(a){y(e),C.trigger(D.KEY_SESSION_CREATED,{data:null,error:"Error generating key request -- "+a.name})})}function r(a,b){var c=a.session;M.isClearKey(H)&&(b=b.toJWK()),c.update(b).catch(function(b){C.trigger(D.KEY_ERROR,{data:new k.default(a,"Error sending update() message! "+b.name)})})}function s(a,b,c){if(!H||!J)throw new Error("Can not load sessions until you have selected a key system");for(var d=0;d<K.length;d++)if(a===K[d].sessionId)return void G.warn("DRM: Ignoring session ID because we have already seen it!");var e=J.createSession(c),f=A(e,b,c,a);e.load(a).then(function(b){b?(G.debug("DRM: Session loaded.  SessionID = "+f.getSessionID()),C.trigger(D.KEY_SESSION_CREATED,{data:f})):(y(f),C.trigger(D.KEY_SESSION_CREATED,{data:null,error:"Could not load session! Invalid Session ID ("+a+")"}))}).catch(function(b){y(f),C.trigger(D.KEY_SESSION_CREATED,{data:null,error:"Could not load session ("+a+")! "+b.name})})}function t(a){a.session.remove().then(function(){G.debug("DRM: Session removed.  SessionID = "+a.getSessionID()),C.trigger(D.KEY_SESSION_REMOVED,{data:a.getSessionID()})},function(b){C.trigger(D.KEY_SESSION_REMOVED,{data:null,error:"Error removing session ("+a.getSessionID()+"). "+b.name})})}function u(a){w(a).catch(function(b){y(a),C.trigger(D.KEY_SESSION_CLOSED,{data:null,error:"Error closing session ("+a.getSessionID()+") "+b.name})})}function v(a,b){if(void 0===navigator.requestMediaKeySystemAccess||"function"!=typeof navigator.requestMediaKeySystemAccess)return void C.trigger(D.KEY_SYSTEM_ACCESS_COMPLETE,{error:"Insecure origins are not allowed"});!function(b){var c=a[b].ks,d=a[b].configs;navigator.requestMediaKeySystemAccess(c.systemString,d).then(function(a){var b="function"==typeof a.getConfiguration?a.getConfiguration():null,d=new o.default(c,b);d.mksa=a,C.trigger(D.KEY_SYSTEM_ACCESS_COMPLETE,{data:d})}).catch(function(c){++b<a.length?v(a,b):C.trigger(D.KEY_SYSTEM_ACCESS_COMPLETE,{error:"Key system access denied! "+c.message})})}(b)}function w(a){var b=a.session;return b.removeEventListener("keystatuseschange",a),b.removeEventListener("message",a),b.close()}function x(){return{handleEvent:function(a){switch(a.type){case"encrypted":if(a.initData){var b=ArrayBuffer.isView(a.initData)?a.initData.buffer:a.initData;C.trigger(D.NEED_KEY,{key:new i.default(b,a.initDataType)})}}}}}function y(a){for(var b=0;b<K.length;b++)if(K[b]===a){K.splice(b,1),G.debug("DRM: Session removed.  SessionID = "+a.getSessionID());break}}function z(a){var b=void 0,c=void 0;return a&&a.length>
320&&(a[0]&&("string"==typeof a[0]?b=a[0]:c=a[0]),a[1]&&("string"==typeof a[1]?b=a[1]:c=a[1])),{status:b,keyId:c}}function A(a,b,c,d){var e={session:a,initData:b,sessionId:d,handleEvent:function(a){switch(a.type){case"keystatuseschange":C.trigger(D.KEY_STATUSES_CHANGED,{data:this}),a.target.keyStatuses.forEach(function(){var a=z(arguments);switch(a.status){case"expired":C.trigger(D.INTERNAL_KEY_STATUS_CHANGED,{error:"License has expired"});break;default:C.trigger(D.INTERNAL_KEY_STATUS_CHANGED,a)}});break;case"message":var b=ArrayBuffer.isView(a.message)?a.message.buffer:a.message;C.trigger(D.INTERNAL_KEY_MESSAGE,{data:new m.default(this,b,void 0,a.messageType)})}},getSessionID:function(){return a.sessionId},getExpirationTime:function(){return a.expiration},getKeyStatuses:function(){return a.keyStatuses},getUsable:function(){var b=!1;return a.keyStatuses.forEach(function(){"usable"===z(arguments).status&&(b=!0)}),b},getSessionType:function(){return c}};return a.addEventListener("keystatuseschange",e),a.addEventListener("message",e),a.closed.then(function(){y(e),G.debug("DRM: Session closed.  SessionID = "+e.getSessionID()),C.trigger(D.KEY_SESSION_CLOSED,{data:e.getSessionID()})}),K.push(e),e}a=a||{};var B=this.context,C=a.eventBus,D=a.events,E=a.debug,F=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0;return F={getAllInitData:f,requestKeySystemAccess:h,getKeySystem:e,selectKeySystem:j,setMediaElement:l,setServerCertificate:n,createKeySession:p,updateKeySession:r,loadKeySession:s,removeKeySession:t,closeKeySession:u,stop:d,reset:c},b(),F}Object.defineProperty(c,"__esModule",{value:!0});var f=a(153),g=d(f),h=a(172),i=d(h),j=a(166),k=d(j),l=a(167),m=d(l),n=a(169),o=d(n),p=a(102),q=d(p);e.__dashjs_factory_name="ProtectionModel_21Jan2015",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{102:102,153:153,166:166,167:167,169:169,172:172}],160:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){D=A.getLogger(C),E=null,F=null,G=null,H=null,I=[],K=(0,g.default)(x).getInstance(),J=u()}function c(){try{for(var a=0;a<I.length;a++)p(I[a]);E&&E.removeEventListener(B.needkey,J),y.trigger(z.TEARDOWN_COMPLETE)}catch(b){y.trigger(z.TEARDOWN_COMPLETE,{error:"Error tearing down key sessions and MediaKeys! -- "+b.message})}}function d(){return F}function e(){for(var a=[],b=0;b<I.length;b++)a.push(I[b].initData);return a}function f(a){for(var b=!1,c=0;c<a.length;c++)for(var d=a[c].ks.systemString,e=a[c].configs,f=null,g=null,h=0;h<e.length;h++){var i=e[h].audioCapabilities,j=e[h].videoCapabilities;if(i&&0!==i.length){f=[];for(var k=0;k<i.length;k++)window[B.MediaKeys].isTypeSupported(d,i[k].contentType)&&f.push(i[k])}if(j&&0!==j.length){g=[];for(var l=0;l<j.length;l++)window[B.MediaKeys].isTypeSupported(d,j[l].contentType)&&g.push(j[l])}if(!(!f&&!g||f&&0===f.length||g&&0===g.length)){b=!0;var m=new o.default(f,g),n=K.getKeySystemBySystemString(d);y.trigger(z.KEY_SYSTEM_ACCESS_COMPLETE,{data:new q.default(n,m)});break}}b||y.trigger(z.KEY_SYSTEM_ACCESS_COMPLETE,{error:"Key system access denied! -- No valid audio/video content configurations detected!"})}function h(a){try{G=a.mediaKeys=new window[B.MediaKeys](a.keySystem.systemString),F=a.keySystem,H=a,E&&v(),y.trigger(z.INTERNAL_KEY_SYSTEM_SELECTED)}catch(b){y.trigger(z.INTERNAL_KEY_SYSTEM_SELECTED,{error:"Error selecting keys system ("+F.systemString+")! Could not create MediaKeys -- TODO"})}}function j(a){E!==a&&(E&&E.removeEventListener(B.needkey,J),(E=a)&&(E.addEventListener(B.needkey,J),G&&v()))}function l(a,b,c,d){if(!F||!G||!H)throw new Error("Can not create sessions until you have selected a key system");var e=null;if(H.ksConfiguration.videoCapabilities&&H.ksConfiguration.videoCapabilities.length>0&&(e=H.ksConfiguration.videoCapabilities[0]),null===e&&H.ksConfiguration.audioCapabilities&&H.ksConfiguration.audioCapabilities.length>0&&(e=H.ksConfiguration.audioCapabilities[0]),null===e)throw new Error("Can not create sessions for unknown content types.");var f=e.contentType,g=G.createSession(f,new Uint8Array(a),d?new Uint8Array(d):null),h=w(g,a);g.addEventListener(B.error,h),g.addEventListener(B.message,h),g.addEventListener(B.ready,h),g.addEventListener(B.close,h),I.push(h),D.debug("DRM: Session created.  SessionID = "+h.getSessionID()),y.trigger(z.KEY_SESSION_CREATED,{data:h})}function n(a,b){var c=a.session;K.isClearKey(F)?c.update(new Uint8Array(b.toJWK())):c.update(new Uint8Array(b))}function p(a){var b=a.session;b.removeEventListener(B.error,a),b.removeEventListener(B.message,a),b.removeEventListener(B.ready,a),b.removeEventListener(B.close,a);for(var c=0;c<I.length;
32c++)if(I[c]===a){I.splice(c,1);break}b[B.release]()}function r(){}function s(){}function t(){}function u(){return{handleEvent:function(a){switch(a.type){case B.needkey:if(a.initData){var b=ArrayBuffer.isView(a.initData)?a.initData.buffer:a.initData;y.trigger(z.NEED_KEY,{key:new i.default(b,"cenc")})}}}}}function v(){var a=null,b=function(){E.removeEventListener("loadedmetadata",a),E[B.setMediaKeys](G),y.trigger(z.VIDEO_ELEMENT_SELECTED)};E.readyState>=1?b():(a=b.bind(this),E.addEventListener("loadedmetadata",a))}function w(a,b){return{session:a,initData:b,getSessionID:function(){return this.session.sessionId},getExpirationTime:function(){return NaN},getSessionType:function(){return"temporary"},handleEvent:function(a){switch(a.type){case B.error:y.trigger(z.KEY_ERROR,{data:new k.default(this,"KeyError")});break;case B.message:var b=ArrayBuffer.isView(a.message)?a.message.buffer:a.message;y.trigger(z.INTERNAL_KEY_MESSAGE,{data:new m.default(this,b,a.destinationURL)});break;case B.ready:D.debug("DRM: Key added."),y.trigger(z.KEY_ADDED);break;case B.close:D.debug("DRM: Session closed.  SessionID = "+this.getSessionID()),y.trigger(z.KEY_SESSION_CLOSED,{data:this.getSessionID()})}}}}a=a||{};var x=this.context,y=a.eventBus,z=a.events,A=a.debug,B=a.api,C=void 0,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0;return C={getAllInitData:e,requestKeySystemAccess:f,getKeySystem:d,selectKeySystem:h,setMediaElement:j,createKeySession:l,updateKeySession:n,closeKeySession:p,setServerCertificate:r,loadKeySession:s,removeKeySession:t,stop:c,reset:c},b(),C}Object.defineProperty(c,"__esModule",{value:!0})
33;var f=a(153),g=d(f),h=a(172),i=d(h),j=a(166),k=d(j),l=a(167),m=d(l),n=a(170),o=d(n),p=a(169),q=d(p);e.__dashjs_factory_name="ProtectionModel_3Feb2014",c.default=dashjs.FactoryMaker.getClassFactory(e),b.exports=c.default},{153:153,166:166,167:167,169:169,170:170,172:172}],161:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){var c=JSON.parse(String.fromCharCode.apply(null,new Uint8Array(b)));a+="/?";for(var d=0;d<c.kids.length;d++)a+=c.kids[d]+"&";return a=a.substring(0,a.length-1)}function b(){return"GET"}function c(){return"json"}function d(a){if(!a.hasOwnProperty("keys"))return null;for(var b=[],c=0;c<a.keys.length;c++){var d=a.keys[c],e=d.kid.replace(/=/g,""),f=d.k.replace(/=/g,"");b.push(new g.default(e,f))}return new i.default(b)}function e(a){return String.fromCharCode.apply(null,new Uint8Array(a))}return{getServerURLFromMessage:a,getHTTPMethod:b,getResponseType:c,getLicenseMessage:d,getErrorResponse:e}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(168),g=d(f),h=a(165),i=d(h);e.__dashjs_factory_name="ClearKey",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{165:165,168:168}],162:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){if(!i||!i.hasOwnProperty("decodeArray"))throw new Error("Missing config parameter(s)")}function c(a){return a}function d(){return"POST"}function e(a){return j[a].responseType}function f(a,c){return b(),j[c].getLicenseMessage(a)}function h(a,b){return j[b].getErrorResponse(a)}a=a||{};var i=a.BASE64,j={};j[g.default.WIDEVINE_KEYSTEM_STRING]={responseType:"json",getLicenseMessage:function(a){return i.decodeArray(a.license)},getErrorResponse:function(a){return a}},j[g.default.PLAYREADY_KEYSTEM_STRING]={responseType:"arraybuffer",getLicenseMessage:function(a){return a},getErrorResponse:function(a){return String.fromCharCode.apply(null,new Uint8Array(a))}};return{getServerURLFromMessage:c,getHTTPMethod:d,getResponseType:e,getLicenseMessage:f,getErrorResponse:h}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(102),g=d(f);e.__dashjs_factory_name="DRMToday",c.default=dashjs.FactoryMaker.getSingletonFactory(e),b.exports=c.default},{102:102}],163:[function(a,b,c){"use strict";function d(){function a(a){var b=String.fromCharCode.apply(null,new Uint8Array(a));return decodeURIComponent(escape(b))}function b(b){if(window.DOMParser){var c=a(b),d=new window.DOMParser,e=d.parseFromString(c,"text/xml"),f=e?e.getElementsByTagNameNS(i,"Envelope")[0]:null,g=f?f.getElementsByTagNameNS(i,"Body")[0]:null;if(g?g.getElementsByTagNameNS(i,"Fault")[0]:null)return null}return b}function c(b){var c="",d="",e="",f=-1,g=-1;if(window.DOMParser){var h=a(b),j=new window.DOMParser,k=j.parseFromString(h,"text/xml"),l=k?k.getElementsByTagNameNS(i,"Envelope")[0]:null,m=l?l.getElementsByTagNameNS(i,"Body")[0]:null,n=m?m.getElementsByTagNameNS(i,"Fault")[0]:null,o=n?n.getElementsByTagName("detail")[0]:null,p=o?o.getElementsByTagName("Exception")[0]:null,q=null;if(null===n)return h;q=n.getElementsByTagName("faultstring")[0].firstChild,c=q?q.nodeValue:null,null!==p&&(q=p.getElementsByTagName("StatusCode")[0],d=q?q.firstChild.nodeValue:null,q=p.getElementsByTagName("Message")[0],e=q?q.firstChild.nodeValue:null,f=e?e.lastIndexOf("[")+1:-1,g=e?e.indexOf("]"):-1,e=e?e.substring(f,g):"")}var r="code: "+d+", name: "+c;return e&&(r+=", message: "+e),r}function d(a){return a}function e(){return"POST"}function f(){return"arraybuffer"}
33function g(a){return b.call(this,a)}function h(a){return c.call(this,a)}var i="http://schemas.xmlsoap.org/soap/envelope/";return{getServerURLFromMessage:d,getHTTPMethod:e,getResponseType:f,getLicenseMessage:g,getErrorResponse:h}}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="PlayReady",c.default=dashjs.FactoryMaker.getSingletonFactory(d),b.exports=c.default},{}],164:[function(a,b,c){"use strict";function d(){function a(a){return a}function b(){return"POST"}function c(){return"arraybuffer"}function d(a){return a}function e(a){return String.fromCharCode.apply(null,new Uint8Array(a))}return{getServerURLFromMessage:a,getHTTPMethod:b,getResponseType:c,getLicenseMessage:d,getErrorResponse:e}}Object.defineProperty(c,"__esModule",{value:!0}),d.__dashjs_factory_name="Widevine",c.default=dashjs.FactoryMaker.getSingletonFactory(d),b.exports=c.default},{}],165:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b,c){if(d(this,a),c&&"persistent"!==c&&"temporary"!==c)throw new Error("Invalid ClearKey key set type!  Must be one of 'persistent' or 'temporary'");this.keyPairs=b,this.type=c}return e(a,[{key:"toJWK",value:function(){var a=void 0,b=this.keyPairs.length,c={keys:[]};for(a=0;a<b;a++){var d={kty:"oct",alg:"A128KW",kid:this.keyPairs[a].keyID,k:this.keyPairs[a].key};c.keys.push(d)}
vendor: 24,933 bytes, line 33
33this.type&&(c.type=this.type);var e=JSON.stringify(c),f=e.length,g=new ArrayBuffer(f),h=new Uint8Array(g);for(a=0;a<f;a++)h[a]=e.charCodeAt(a);return g}}]),a}();c.default=f,b.exports=c.default},{}],166:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c){d(this,a),this.sessionToken=b,this.error=c};c.default=e,b.exports=c.default},{}],167:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e,f){d(this,a),this.sessionToken=b,this.message=c,this.defaultURL=e,this.messageType=f||"license-request"};c.default=e,b.exports=c.default},{}],168:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c){d(this,a),this.keyID=b,this.key=c};c.default=e,b.exports=c.default},{}],169:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c){d(this,a),this.keySystem=b,this.ksConfiguration=c};c.default=e,b.exports=c.default},{}],170:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e,f,g){d(this,a),this.initDataTypes=["cenc"],b&&b.length&&(this.audioCapabilities=b),c&&c.length&&(this.videoCapabilities=c),this.distinctiveIdentifier=e,this.persistentState=f,this.sessionTypes=g};c.default=e,b.exports=c.default},{}],171:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c){d(this,a),this.contentType=b,this.robustness=c};c.default=e,b.exports=c.default},{}],172:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c){d(this,a),this.initData=b,this.initDataType=c};c.default=e,b.exports=c.default},{}],173:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){var c=b&&b.droppedVideoFrames?b.droppedVideoFrames:0,g=b&&b.totalVideoFrames?b.totalVideoFrames:0,h=c-e;e=c;var i=g-f;f=g,isNaN(a)||(d[a]?(d[a].droppedVideoFrames+=h,d[a].totalVideoFrames+=i):d[a]={droppedVideoFrames:h,totalVideoFrames:i})}function b(){return d}function c(a){d=[],e=a.droppedVideoFrames,f=a.totalVideoFrames}var d=[],e=0,f=0;return{push:a,getFrameHistory:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="DroppedFramesHistory";var h=g.default.getClassFactory(e);c.default=h,b.exports=c.default},{48:48}],174:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){return n.mediaInfo.type}function c(){return n.mediaInfo.streamInfo}function d(){return n.mediaInfo}function e(){return n}function f(){return m}function g(){return l}function h(){return o}function i(){return p}function j(){return q}function k(){return r}a=a||{};var l=a.abrController,m=a.streamProcessor,n=a.streamProcessor.getCurrentRepresentationInfo(),o=a.switchHistory,p=a.droppedFramesHistory,q=a.currentRequest,r=a.useBufferOccupancyABR;return{getMediaType:b,getMediaInfo:d,getDroppedFramesHistory:i,getCurrentRequest:j,getSwitchHistory:h,getStreamInfo:c,getStreamProcessor:f,getAbrController:g,getRepresentationInfo:e,useBufferOccupancyABR:k}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="RulesContext",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],175:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b,c){function d(a){var b=i.DEFAULT;return a!==i.DEFAULT&&a!==i.STRONG&&a!==i.WEAK||(b=a),b}var e=void 0,f=void 0,g=void 0;return e=void 0===a?h:a,f=d(c),g=void 0===b?null:b,{quality:e,reason:g,priority:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=-1,i={DEFAULT:.5,STRONG:1,WEAK:0};e.__dashjs_factory_name="SwitchRequest";var j=g.default.getClassFactory(e);j.NO_CHANGE=h,j.PRIORITY=i,g.default.updateClassFactory(e.__dashjs_factory_name,j),c.default=j,b.exports=c.default},{48:48}],176:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){a.newValue===i.default.NO_CHANGE&&(a.newValue=a.oldValue),d[a.oldValue]||(d[a.oldValue]={noDrops:0,drops:0,dropSize:0});var b=a.newValue-a.oldValue,c=b<0?1:0,f=c?-b:0,g=c?0:1;if(d[a.oldValue].drops+=c,d[a.oldValue].dropSize+=f,d[a.oldValue].noDrops+=g,e.push({idx:a.oldValue,noDrop:g,drop:c,dropSize:f}),e.length>j){var h=e.shift();d[h.idx].drops-=h.drop,d[h.idx].dropSize-=h.dropSize,d[h.idx].noDrops-=h.noDrop}}function b(){return d}function c(){d=[],e=[]}var d=[],e=[];return{push:a,getSwitchRequests:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(175),i=d(h),j=8;e.__dashjs_factory_name="SwitchRequestHistory";var k=g.default.getClassFactory(e);c.default=k,b.exports=c.default},{175:175,48:48}],177:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){F={throughputHalfLife:{fast:x,slow:w},latencyHalfLife:{fast:z,slow:y}},p()}function c(a,b,c){return a===g.default.VIDEO?c<A.getCacheLoadThresholdForType(g.default.VIDEO):a===g.default.AUDIO?c<A.getCacheLoadThresholdForType(g.default.AUDIO):void 0}function d(a,b,d){if(b.trace&&b.trace.length){var f=b.tresponse.getTime()-b.trequest.getTime()||1,g=b._tfinish.getTime()-b.tresponse.getTime()||1,h=b.trace.reduce(function(a,b){return a+b.d},0),i=b.trace.reduce(function(a,b){return a+b.b[0]},0),j=d?g:f+g;j=A.getLowLatencyEnabled()?h:j;var k=Math.round(8*i/j);if(n(a),c(a,f,g)){if(B[a].length>0&&!B[a].hasCachedEntries)return;B[a].hasCachedEntries=!0}else B[a]&&B[a].hasCachedEntries&&o(a);B[a].push(k),B[a].length>q&&B[a].shift(),C[a].push(f),C[a].length>q&&C[a].shift(),e(D[a],k,.001*g,F.throughputHalfLife),e(E[a],f,1,F.latencyHalfLife)}}function e(a,b,c,d){var e=Math.pow(.5,c/d.fast);a.fastEstimate=(1-e)*b+e*a.fastEstimate;var f=Math.pow(.5,c/d.slow);a.slowEstimate=(1-f)*b+f*a.slowEstimate,a.totalWeight+=c}function f(a,b,c){var d=void 0,e=void 0;if(a?(d=B[b],e=c?r:s):(d=C[b],e=t),d){if(e>=d.length)e=d.length;else if(a)for(var f=1;f<e;++f){var g=d[f]/d[f-1];if((g>=v||g<=1/u)&&(e+=1)===d.length)break}}else e=0;return e}function h(a,b,c){return A.getMovingAverageMethod()!==g.default.MOVING_AVERAGE_SLIDING_WINDOW?j(a,b):i(a,b,c)}function i(a,b,c){var d=f(a,b,c),e=a?B:C,g=e[b];return 0!==d&&g&&0!==g.length?(g=g.slice(-d),g.reduce(function(a,b){return a+b})/g.length):NaN}function j(a,b){var c=a?F.throughputHalfLife:F.latencyHalfLife,d=a?D[b]:E[b];if(!d||d.totalWeight<=0)return NaN;var e=d.fastEstimate/(1-Math.pow(.5,d.totalWeight/c.fast)),f=d.slowEstimate/(1-Math.pow(.5,d.totalWeight/c.slow));return a?Math.min(e,f):Math.max(e,f)}function k(a,b){return h(!0,a,b)}function l(a,b){var c=k(a,b);return isNaN(c)||(c*=A.getBandwidthSafetyFactor()),c}function m(a){return h(!1,a)}function n(a){B[a]=B[a]||[],C[a]=C[a]||[],D[a]=D[a]||{fastEstimate:0,slowEstimate:0,totalWeight:0},E[a]=E[a]||{fastEstimate:0,slowEstimate:0,totalWeight:0}}function o(a){delete B[a],delete C[a],delete D[a],delete E[a],n(a)}function p(){B={},C={},D={},E={}}a=a||{};var q=20,r=3,s=4,t=4,u=1.3,v=1.3,w=8,x=3,y=2,z=1,A=a.mediaPlayerModel,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G={push:d,getAverageThroughput:k,getSafeAverageThroughput:l,getAverageLatency:m,reset:p};return b(),G}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(48),i=d(h);e.__dashjs_factory_name="ThroughputHistory",c.default=i.default.getClassFactory(e),b.exports=c.default},{100:100,48:48}],178:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){r=[],s=[],l.getUseDefaultABRRules()&&(r.push((0,q.default)(j).create({metricsModel:n,dashMetrics:p,mediaPlayerModel:l})),r.push((0,g.default)(j).create({metricsModel:n,dashMetrics:p})),r.push((0,i.default)(j).create({metricsModel:n,dashMetrics:p})),r.push((0,o.default)(j).create()),r.push((0,m.default)(j).create()),s.push((0,k.default)(j).create({metricsModel:n,dashMetrics:p,mediaPlayerModel:l}))),l.getABRCustomRules().forEach(function(a){a.type===v&&r.push(a.rule(j).create()),a.type===w&&s.push(a.rule(j).create())})}function c(a){return a.filter(function(a){return a.quality>u.default.NO_CHANGE})}function d(a){var b={},c=void 0,d=void 0,e=void 0,f=void 0,g=void 0;if(0!==a.length){for(b[u.default.PRIORITY.STRONG]=u.default.NO_CHANGE,b[u.default.PRIORITY.WEAK]=u.default.NO_CHANGE,b[u.default.PRIORITY.DEFAULT]=u.default.NO_CHANGE,c=0,d=a.length;c<d;c+=1)e=a[c],e.quality!==u.default.NO_CHANGE&&(b[e.priority]=b[e.priority]>u.default.NO_CHANGE?Math.min(b[e.priority],e.quality):e.quality);return b[u.default.PRIORITY.WEAK]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.WEAK]),b[u.default.PRIORITY.DEFAULT]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.DEFAULT]),b[u.default.PRIORITY.STRONG]!==u.default.NO_CHANGE&&(f=b[u.default.PRIORITY.STRONG]),f!==u.default.NO_CHANGE&&(g=f),(0,u.default)(j).create(g)}}function e(a){return d(c(r.map(function(b){return b.getMaxIndex(a)})))||(0,u.default)(j).create()}function f(a){return d(c(s.map(function(b){return b.shouldAbandon(a)})))||(0,u.default)(j).create()}function h(){[r,s].forEach(function(a){a&&a.length&&a.forEach(function(a){return a.reset&&a.reset()})}),r=[],s=[]}a=a||{};var j=this.context,l=a.mediaPlayerModel,n=a.metricsModel,p=a.dashMetrics,r=void 0,s=void 0;return{initialize:b,reset:h,getMaxQuality:e,shouldAbandonFragment:f}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(184),g=d(f),h=a(182),i=d(h),j=a(179),k=d(j),l=a(181),m=d(l),n=a(183),o=d(n),p=a(180),q=d(p),r=a(48),s=d(r),t=a(175),u=d(t),v="qualitySwitchRules",w="abandonFragmentRules";e.__dashjs_factory_name="ABRRulesCollection";var x=s.default.getClassFactory(e);x.QUALITY_SWITCH_RULES=v,x.ABANDON_FRAGMENT_RULES=w,s.default.updateSingletonFactory(e.__dashjs_factory_name,x),c.default=x,b.exports=c.default},{175:175,179:179,180:180,181:181,182:182,183:183,184:184,48:48}],179:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){r=(0,k.default)(m).getInstance().getLogger(q),h()}function c(a,b){s[a]=s[a]||{},s[a][b]=s[a][b]||{}}function d(a,b){u[a]=u[a]||[],u[a].push(b)}function f(a){var b=(0,g.default)(m).create(g.default.NO_CHANGE,{name:e.__dashjs_factory_name});if(!(a&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getMediaType")&&a.hasOwnProperty("getCurrentRequest")&&a.hasOwnProperty("getRepresentationInfo")&&a.hasOwnProperty("getAbrController")))return b;var f=a.getMediaInfo(),h=a.getMediaType(),k=a.getCurrentRequest();if(!isNaN(k.index)){c(h,k.index);var q=n.getStableBufferTime();if(p.getCurrentBufferLevel(o.getReadOnlyMetricsFor(h))>q)return b;var v=s[h][k.index];if(null===v||null===k.firstByteDate||t.hasOwnProperty(v.id))return b;if(void 0===v.firstByteTime&&(u[h]=[],v.firstByteTime=k.firstByteDate.getTime(),v.segmentDuration=k.duration,v.bytesTotal=k.bytesTotal,v.id=k.index),v.bytesLoaded=k.bytesLoaded,v.elapsedTime=(new Date).getTime()-v.firstByteTime,v.bytesLoaded>0&&v.elapsedTime>0&&d(h,Math.round(8*v.bytesLoaded/v.elapsedTime)),u[h].length>=l&&v.elapsedTime>j&&v.bytesLoaded<v.bytesTotal){var w=u[h].reduce(function(a,b){return a+b},0);if(v.measuredBandwidthInKbps=Math.round(w/u[h].length),v.estimatedTimeOfDownload=+(8*v.bytesTotal/v.measuredBandwidthInKbps/1e3).toFixed(2),v.estimatedTimeOfDownload<v.segmentDuration*i||0===a.getRepresentationInfo().quality)return b;if(!t.hasOwnProperty(v.id)){var x=a.getAbrController(),y=v.bytesTotal-v.bytesLoaded,z=x.getBitrateList(f),A=x.getQualityForBitrate(f,v.measuredBandwidthInKbps*n.getBandwidthSafetyFactor());y>v.bytesTotal*z[A].bitrate/z[x.getQualityFor(h,f.streamInfo)].bitrate&&(b.quality=A,b.reason.throughput=v.measuredBandwidthInKbps,b.reason.fragmentID=v.id,t[v.id]=v,r.debug("( ",h,"frag id",v.id,") is asking to abandon and switch to quality to ",A," measured bandwidth was",v.measuredBandwidthInKbps),delete s[h][v.id])}}else v.bytesLoaded===v.bytesTotal&&delete s[h][v.id]}return b}function h(){s={},t={},u=[]}a=a||{};var i=1.8,j=500,l=5,m=this.context,n=a.mediaPlayerModel,o=a.metricsModel,p=a.dashMetrics,q=void 0,r=void 0,s=void 0,t=void 0,u=void 0;return q={shouldAbandon:f,reset:h},b(),q}Object.defineProperty(c,"__esModule",{value:!0});var f=a(175),g=d(f),h=a(48),i=d(h),j=a(46),k=d(j);e.__dashjs_factory_name="AbandonRequestsRule",c.default=i.default.getClassFactory(e),b.exports=c.default},{175:175,46:46,48:48}],180:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){P=(0,r.default)(J).getInstance().getLogger(O),H(),N.on(p.default.BUFFER_EMPTY,y,O),N.on(p.default.PLAYBACK_SEEKING,z,O),N.on(p.default.PERIOD_SWITCH_STARTED,A,O),N.on(p.default.MEDIA_FRAGMENT_LOADED,B,O),N.on(p.default.METRIC_ADDED,C,O),N.on(p.default.QUALITY_CHANGE_REQUESTED,E,O),N.on(p.default.FRAGMENT_LOADING_ABANDONED,F,O)}function c(a){return a.map(function(a){return Math.log(a)})}function d(a,b,c){var d=c.reduce(function(a,b,d){return b>c[a]?d:a},0);if(0===d)return null;var e=Math.max(a,v+w*b.length),f=(c[d]-1)/(e/v-1);return{gp:f,Vp:v/f}}function e(a){var b={},e=a.getMediaInfo(),g=e.bitrateList.map(function(a){return a.bandwidth}),h=c(g);h=h.map(function(a){return a-h[0]+1});var i=M.getStableBufferTime(),j=d(i,g,h);return j?(b.state=t,b.bitrates=g,b.utilities=h,b.stableBufferTime=i,b.Vp=j.Vp,b.gp=j.gp,b.lastQuality=0,f(b)):b.state=s,b}function f(a){a.placeholderBuffer=0,a.mostAdvancedSegmentStart=NaN,a.lastSegmentWasReplacement=!1,a.lastSegmentStart=NaN,a.lastSegmentDurationS=NaN,a.lastSegmentRequestTimeMs=NaN,a.lastSegmentFinishTimeMs=NaN}function h(a,b){var c=M.getStableBufferTime();if(a.stableBufferTime!==c){var e=d(c,a.bitrates,a.utilities);if(e.Vp!==a.Vp||e.gp!==a.gp){var f=K.getCurrentBufferLevel(L.getReadOnlyMetricsFor(b)),g=f+a.placeholderBuffer;g-=v,g*=e.Vp/a.Vp,g+=v,a.stableBufferTime=c,a.Vp=e.Vp,a.gp=e.gp,a.placeholderBuffer=Math.max(0,g-f)}}}function j(a){var b=a.getMediaType(),c=Q[b];return c?c.state!==s&&h(c,b):(c=e(a),Q[b]=c),c}function k(a,b){for(var c=a.bitrates.length,d=NaN,e=NaN,f=0;f<c;++f){var g=(a.Vp*(a.utilities[f]+a.gp)-b)/a.bitrates[f];(isNaN(e)||g>=e)&&(e=g,d=f)}return d}function m(a,b){return a.Vp*(a.utilities[b]+a.gp)}function o(a,b){for(var c=a.bitrates[b],d=a.utilities[b],e=0,f=b-1;f>=0;--f)if(a.utilities[f]<a.utilities[b]){var g=a.bitrates[f],h=a.utilities[f],i=a.Vp*(a.gp+(c*h-g*d)/(c-g));e=Math.max(e,i)}return e}function q(a,b){var c=Date.now();if(isNaN(a.lastSegmentFinishTimeMs)){if(!isNaN(a.lastCallTimeMs)){var d=.001*(c-a.lastCallTimeMs);a.placeholderBuffer+=Math.max(0,d)}}else{var d=.001*(c-a.lastSegmentFinishTimeMs);a.placeholderBuffer+=Math.max(0,d)}a.lastCallTimeMs=c,a.lastSegmentStart=NaN,a.lastSegmentRequestTimeMs=NaN,a.lastSegmentFinishTimeMs=NaN,h(a,b)}function y(){for(var a in Q)Q.hasOwnProperty(a)&&Q[a].state===u&&(Q[a].placeholderBuffer=0)}function z(){for(var a in Q)if(Q.hasOwnProperty(a)){var b=Q[a];b.state!==s&&(b.state=t,f(b))}}function A(){}function B(a){if(a&&a.chunk&&a.chunk.mediaInfo){var b=Q[a.chunk.mediaInfo.type];if(b&&b.state!==s){var c=a.chunk.start;isNaN(b.mostAdvancedSegmentStart)||c>b.mostAdvancedSegmentStart?(b.mostAdvancedSegmentStart=c,b.lastSegmentWasReplacement=!1):b.lastSegmentWasReplacement=!0,b.lastSegmentStart=c,b.lastSegmentDurationS=a.chunk.duration,b.lastQuality=a.chunk.quality,D(b,a.chunk.mediaInfo.type)}}}function C(a){if(a&&a.metric===g.default.HTTP_REQUEST&&a.value&&a.value.type===l.HTTPRequest.MEDIA_SEGMENT_TYPE&&a.value.trace&&a.value.trace.length){var b=Q[a.mediaType];b&&b.state!==s&&(b.lastSegmentRequestTimeMs=a.value.trequest.getTime(),b.lastSegmentFinishTimeMs=a.value._tfinish.getTime(),D(b,a.mediaType))}}function D(a,b){if(!isNaN(a.lastSegmentStart)&&!isNaN(a.lastSegmentRequestTimeMs)&&!isNaN(a.placeholderBuffer)){if(a.placeholderBuffer*=x,!isNaN(a.lastSegmentFinishTimeMs)){var c=K.getCurrentBufferLevel(L.getReadOnlyMetricsFor(b)),d=c+.001*(a.lastSegmentFinishTimeMs-a.lastSegmentRequestTimeMs),e=m(a,a.lastQuality),f=Math.max(0,e-d);a.placeholderBuffer=Math.min(f,a.placeholderBuffer)}a.lastSegmentWasReplacement&&!isNaN(a.lastSegmentDurationS)&&(a.placeholderBuffer+=a.lastSegmentDurationS),a.lastSegmentStart=NaN,a.lastSegmentRequestTimeMs=NaN}}function E(a){if(a){var b=Q[a.mediaType];b&&b.state!==s&&(b.abrQuality=a.newQuality)}}function F(a){if(a){var b=Q[a.mediaType];if(b&&b.state!==s){var c=K.getCurrentBufferLevel(L.getReadOnlyMetricsFor(a.mediaType)),d=void 0;d=b.abrQuality>0?o(b,b.abrQuality):v;var e=Math.max(0,d-c);b.placeholderBuffer=Math.min(b.placeholderBuffer,e)}}}function G(a){var b=a.getMediaInfo(),c=a.getMediaType(),d=L.getReadOnlyMetricsFor(c),e=a.getStreamProcessor(),g=a.getStreamInfo(),h=a.getAbrController(),l=h.getThroughputHistory(),n=g?g.id:null,p=g&&g.manifestInfo&&g.manifestInfo.isDynamic,r=a.useBufferOccupancyABR(),v=(0,i.default)(J).create();if(v.reason=v.reason||{},!r)return v;e.getScheduleController().setTimeToLoadDelay(0);var w=j(a);if(w.state===s)return v;var x=K.getCurrentBufferLevel(d),y=l.getAverageThroughput(c,p),z=l.getSafeAverageThroughput(c,p),A=l.getAverageLatency(c),B=void 0;if(v.reason.state=w.state,v.reason.throughput=y,v.reason.latency=A,isNaN(y))return v;switch(w.state){case t:B=h.getQualityForBitrate(b,z,A),v.quality=B,v.reason.throughput=z,w.placeholderBuffer=Math.max(0,o(w,B)-x),w.lastQuality=B,!isNaN(w.lastSegmentDurationS)&&x>=w.lastSegmentDurationS&&(w.state=u);break;case u:q(w,c),B=k(w,x+w.placeholderBuffer);var C=h.getQualityForBitrate(b,z,A);B>w.lastQuality&&B>C&&(B=Math.max(C,w.lastQuality));var D=Math.max(0,x+w.placeholderBuffer-m(w,B));D<=w.placeholderBuffer?(w.placeholderBuffer-=D,D=0):(D-=w.placeholderBuffer,w.placeholderBuffer=0,B<h.getTopQualityIndexFor(c,n)?e.getScheduleController().setTimeToLoadDelay(1e3*D):D=0),v.quality=B,v.reason.throughput=y,v.reason.latency=A,v.reason.bufferLevel=x,v.reason.placeholderBuffer=w.placeholderBuffer,v.reason.delay=D,w.lastQuality=B;break;default:P.debug("BOLA ABR rule invoked in bad state."),v.quality=h.getQualityForBitrate(b,z,A),v.reason.state=w.state,v.reason.throughput=z,v.reason.latency=A,w.state=t,f(w)}return v}function H(){Q={}}function I(){H(),N.off(p.default.BUFFER_EMPTY,y,O),N.off(p.default.PLAYBACK_SEEKING,z,O),N.off(p.default.PERIOD_SWITCH_STARTED,A,O),N.off(p.default.MEDIA_FRAGMENT_LOADED,B,O),N.off(p.default.METRIC_ADDED,C,O),N.off(p.default.QUALITY_CHANGE_REQUESTED,E,O),N.off(p.default.FRAGMENT_LOADING_ABANDONED,F,O)}a=a||{};var J=this.context,K=a.dashMetrics,L=a.metricsModel,M=a.mediaPlayerModel,N=(0,n.default)(J).getInstance(),O=void 0,P=void 0,Q=void 0;return O={getMaxIndex:G,reset:I},b(),O}Object.defineProperty(c,"__esModule",{value:!0});var f=a(101),g=d(f),h=a(175),i=d(h),j=a(48),k=d(j),l=a(233),m=a(47),n=d(m),o=a(51),p=d(o),q=a(46),r=d(q),s=0,t=1,u=2,v=10,w=2,x=.99;e.__dashjs_factory_name="BolaRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{101:101,175:175,233:233,46:46,47:47,48:48,51:51}],181:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){e=(0,k.default)(c).getInstance().getLogger(d)}function b(a){var b=a.getDroppedFramesHistory();if(b){for(var d=b.getFrameHistory(),h=0,j=0,k=i.default.NO_CHANGE,l=1;l<d.length;l++)if(d[l]&&(h=d[l].droppedVideoFrames,(j=d[l].totalVideoFrames)>g&&h/j>f)){k=l-1,e.debug("index: "+k+" Dropped Frames: "+h+" Total Frames: "+j);break}return(0,i.default)(c).create(k,{droppedFrames:h})}return(0,i.default)(c).create()}var c=this.context,d=void 0,e=void 0,f=.15,g=375;return d={getMaxIndex:b},a(),d}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(175),i=d(h),j=a(46),k=d(j);e.__dashjs_factory_name="DroppedFramesRule",c.default=g.default.getClassFactory(e),b.exports=c.default},{175:175,46:46,48:48}],182:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){t=(0,o.default)(m).getInstance().getLogger(s),f(),n.on(k.default.PLAYBACK_SEEKING,h,s)}function c(){if(!(p&&p.hasOwnProperty("getReadOnlyMetricsFor")&&r&&r.hasOwnProperty("getCurrentBufferLevel")))throw new Error("Missing config parameter(s)")}function d(a){var b=(0,q.default)(m).create();if(!a||!a.hasOwnProperty("getMediaType"))return b;c();var d=a.getMediaType(),f=p.getReadOnlyMetricsFor(d),h=f.BufferState.length>0?f.BufferState[f.BufferState.length-1]:null,i=a.getRepresentationInfo(),j=i.fragmentDuration;if(!h||!e(d,h)||!j)return b;if(h.state===g.default.BUFFER_EMPTY)t.info("Switch to index 0; buffer is empty."),b.quality=0,b.reason="InsufficientBufferRule: Buffer is empty";else{var k=a.getMediaInfo(),n=a.getAbrController(),o=n.getThroughputHistory(),s=r.getCurrentBufferLevel(f),u=o.getAverageThroughput(d),v=o.getAverageLatency(d),w=u*(s/j)*l;b.quality=n.getQualityForBitrate(k,w,v),b.reason="InsufficientBufferRule: being conservative to avoid immediate rebuffering"}return b}function e(a,b){u[a]=u[a]||{};var c=!1;return u[a].firstBufferLoadedEvent?c=!0:b&&b.state===g.default.BUFFER_LOADED&&(u[a].firstBufferLoadedEvent=!0,c=!0),c}function f(){u={}}function h(){f()}function j(){f(),n.off(k.default.PLAYBACK_SEEKING,h,s)}a=a||{};var l=.5,m=this.context,n=(0,i.default)(m).getInstance(),p=a.metricsModel,r=a.dashMetrics,s=void 0,t=void 0,u=void 0;return s={getMaxIndex:d,reset:j},b(),s}Object.defineProperty(c,"__esModule",{value:!0});var f=a(106),g=d(f),h=a(47),i=d(h),j=a(51),k=d(j),l=a(48),m=d(l),n=a(46),o=d(n),p=a(175),q=d(p);e.__dashjs_factory_name="InsufficientBufferRule",c.default=m.default.getClassFactory(e),b.exports=c.default},{106:106,175:175,46:46,47:47,48:48,51:51}],183:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){e=(0,i.default)(c).getInstance().getLogger(d)}function b(a){for(var b=a?a.getSwitchHistory():null,d=b?b.getSwitchRequests():[],h=0,i=0,j=0,l=(0,k.default)(c).create(),m=0;m<d.length;m++)if(void 0!==d[m]&&(h+=d[m].drops,i+=d[m].noDrops,j+=d[m].dropSize,h+i>=g&&h/i>f)){l.quality=m>0&&d[m].drops>0?m-1:m,l.reason={index:l.quality,drops:h,noDrops:i,dropSize:j},e.info("Switch history rule index: "+l.quality+" samples: "+(h+i)+" drops: "+h);break}return l}var c=this.context,d=void 0,e=void 0,f=.075,g=6;return d={getMaxIndex:b},a(),d}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j=a(175),k=d(j);e.__dashjs_factory_name="SwitchHistoryRule",c.default=g.default.getClassFactory(e),b.exports=c.default},{175:175,46:46,48:48}],184:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){k=(0,m.default)(f).getInstance().getLogger(j)}function c(){if(!h||!h.hasOwnProperty("getReadOnlyMetricsFor"))throw new Error("Missing config parameter(s)")}function d(a){var b=(0,o.default)(f).create();if(!(a&&a.hasOwnProperty("getMediaInfo")&&a.hasOwnProperty("getMediaType")&&a.hasOwnProperty("useBufferOccupancyABR")&&a.hasOwnProperty("getAbrController")&&a.hasOwnProperty("getStreamProcessor")))return b;c();var d=a.getMediaInfo(),e=a.getMediaType(),j=h.getReadOnlyMetricsFor(e),l=a.getStreamProcessor(),m=a.getAbrController(),n=a.getStreamInfo(),p=n&&n.manifestInfo?n.manifestInfo.isDynamic:null,q=m.getThroughputHistory(),r=q.getSafeAverageThroughput(e,p),s=q.getAverageLatency(e),t=j.BufferState.length>0?j.BufferState[j.BufferState.length-1]:null,u=a.useBufferOccupancyABR();return!j||isNaN(r)||!t||u?b:(m.getAbandonmentStateFor(e)!==i.default.ABANDON_LOAD&&(t.state===g.default.BUFFER_LOADED||p)&&(b.quality=m.getQualityForBitrate(d,r,s),l.getScheduleController().setTimeToLoadDelay(0),k.info("requesting switch to index: ",b.quality,"type: ",e,"Average throughput",Math.round(r),"kbps"),b.reason={throughput:r,latency:s}),b)}function e(){}a=a||{};var f=this.context,h=a.metricsModel,j=void 0,k=void 0;return j={getMaxIndex:d,reset:e},b(),j}Object.defineProperty(c,"__esModule",{value:!0});var f=a(106),g=d(f),h=a(103),i=d(h),j=a(48),k=d(j),l=a(46),m=d(l),n=a(175),o=d(n);e.__dashjs_factory_name="ThroughputRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{103:103,106:106,175:175,46:46,48:48}],185:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){}function c(a,b){return e.getCurrentBufferLevel(f.getReadOnlyMetricsF
33or(a.getType()))<d(a,b)}function d(a,b){var c=NaN;if(!a)return c;var d=a.getType(),k=a.getCurrentRepresentationInfo();if(d===g.default.FRAGMENTED_TEXT)c=i.isTextEnabled()?k.fragmentDuration:0;else if(d===g.default.AUDIO&&b){var l=e.getCurrentBufferLevel(f.getReadOnlyMetricsFor(g.default.VIDEO));c=isNaN(k.fragmentDuration)?l:Math.max(l,k.fragmentDuration)}else{var m=k.mediaInfo.streamInfo;if(j.isPlayingAtTopQuality(m)){var n=m.manifestInfo.duration>=h.getLongFormContentDurationThreshold();c=n?h.getBufferTimeAtTopQualityLongForm():h.getBufferTimeAtTopQuality()}else c=h.getStableBufferTime()}return c}a=a||{};var e=a.dashMetrics,f=a.metricsModel,h=a.mediaPlayerModel,i=a.textController,j=a.abrController,k={execute:c,getBufferTarget:d};return b(),k}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(48),i=d(h);e.__dashjs_factory_name="BufferLevelRule",c.default=i.default.getClassFactory(e),b.exports=c.default},{100:100,48:48}],186:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){j=(0,i.default)(d).getInstance().getLogger(h)}function c(a,b){if(!a)return null;var c=a.getCurrentRepresentationInfo(),d=c.mediaInfo,h=d.type,i=a.getScheduleController(),k=i.getSeekTarget(),l=!isNaN(k),n=a.getBufferController(),o=a.getPlaybackController().getTime(),p=l?k:e.getIndexHandlerTime(a),q=!1,r=void 0;if(l&&i.setSeekTarget(NaN),isNaN(p)||h===g.default.FRAGMENTED_TEXT&&!f.isTextEnabled())return null;if(n){var s=n.getRangeAt(p),t=n.getRangeAt(o),u=n.getBuffer().getAllBufferRanges(),v=u?u.length:0;null===s&&null===t||l||((!s||t&&t.start!=s.start&&t.end!=s.end)&&(v>1&&(a.getFragmentModel().removeExecutedRequestsAfterTime(t.end),q=!0),s=t),
34j.debug("Prior to making a request for time, NextFragmentRequestRule is aligning index handler's currentTime with bufferedRange.end for",h,".",p,"was changed to",s.end),p=s.end)}if(b)p=b.startTime+b.duration/2,r=e.getFragmentRequestForTime(a,c,p,{timeThreshold:0,ignoreIsFinished:!0});else{for(r=e.getFragmentRequestForTime(a,c,p,{keepIdx:!l&&!q});r&&r.action!==m.default.ACTION_COMPLETE&&a.getFragmentModel().isFragmentLoaded(r);)r=e.getNextFragmentRequest(a,c);r&&(isNaN(r.startTime+r.duration)||e.setIndexHandlerTime(a,r.startTime+r.duration),r.delayLoadingTime=(new Date).getTime()+i.getTimeToLoadDelay(),i.setTimeToLoadDelay(0))}return r}a=a||{};var d=this.context,e=a.adapter,f=a.textController,h=void 0,j=void 0;return h={execute:c},b(),h}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(46),i=d(h),j=a(48),k=d(j),l=a(215),m=d(l);e.__dashjs_factory_name="NextFragmentRequestRule",c.default=k.default.getClassFactory(e),b.exports=c.default},{100:100,215:215,46:46,48:48}],187:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){for(var b="",c=0;c<a.length;++c){b+=a[c].uchar}return b.length-b.replace(/^\s+/,"").length}function b(a){return"left: "+3.125*a.x+"%; top: "+6.66*a.y1+"%; width: "+(100-3.125*a.x)+"%; height: "+6.66*Math.max(a.y2-1-a.y1,1)+"%; align-items: flex-start; overflow: visible; -webkit-writing-mode: horizontal-tb;"}function c(a){return"red"===a?"rgb(255, 0, 0)":"green"===a?"rgb(0, 255, 0)":"blue"===a?"rgb(0, 0, 255)":"cyan"===a?"rgb(0, 255, 255)":"magenta"===a?"rgb(255, 0, 255)":"yellow"===a?"rgb(255, 255, 0)":"white"===a?"rgb(255, 255, 255)":"black"===a?"rgb(0, 0, 0)":a}function d(a,b){var d=a.videoHeight/15;return b?"font-size: "+d+"px; font-family: Menlo, Consolas, 'Cutive Mono', monospace; color: "+(b.foreground?c(b.foreground):"rgb(255, 255, 255)")+"; font-style: "+(b.italics?"italic":"normal")+"; text-decoration: "+(b.underline?"underline":"none")+"; white-space: pre; background-color: "+(b.background?c(b.background):"transparent")+";":"font-size: "+d+"px; font-family: Menlo, Consolas, 'Cutive Mono', monospace; justify-content: flex-start; text-align: left; color: rgb(255, 255, 255); font-style: normal; white-space: pre; line-height: normal; font-weight: normal; text-decoration: none; width: 100%; display: flex;"}function e(a){return a.replace(/^\s+/g,"")}function f(a){return a.replace(/\s+$/g,"")}function g(c,g,i,j){var k=null,l=null,m=!1,n=-1,o={start:g,end:i,spans:[]},p="style_cea608_white_black",q={},r={},s=[],t=void 0,u=void 0;for(t=0;t<15;++t){var v=j.rows[t],w="",x=null;if(!1===v.isEmpty()){var y=a(v.chars);null===k&&(k={x:y,y1:t,y2:t+1,p:[]}),y!==n&&m&&(k.p.push(o),o={start:g,end:i,spans:[]},k.y2=t,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k={x:y,y1:t,y2:t+1,p:[]});for(var z=0;z<v.chars.length;++z){var A=v.chars[z],B=A.penState;if(null===x||!B.equals(x)){w.trim().length>0&&(o.spans.push({name:p,line:w,row:t}),w="");var C="style_cea608_"+B.foreground+"_"+B.background;B.underline&&(C+="_underline"),B.italics&&(C+="_italics"),r.hasOwnProperty(C)||(r[C]=JSON.parse(JSON.stringify(B))),x=B,p=C}w+=A.uchar}w.trim().length>0&&o.spans.push({name:p,line:w,row:t}),m=!0,n=y}else m=!1,n=-1,k&&(k.p.push(o),o={start:g,end:i,spans:[]},k.y2=t,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k=null)}k&&(k.p.push(o),k.y2=t+1,k.name="region_"+k.x+"_"+k.y1+"_"+k.y2,!1===q.hasOwnProperty(k.name)?(s.push(k),q[k.name]=k):(l=q[k.name],l.p.contat(k.p)),k=null);var D=[];for(t=0;t<s.length;++t){var E=s[t],F="sub_cea608_"+h++,G=document.createElement("div");G.id=F;var H=b(E);G.style.cssText="position: absolute; margin: 0; display: flex; box-sizing: border-box; pointer-events: none;"+H;var I=document.createElement("div");I.className="paragraph bodyStyle",I.style.cssText=d(c);var J=document.createElement("div");
vendor: 5,062 bytes, line 34
34J.className="cueUniWrapper",J.style.cssText="unicode-bidi: normal; direction: ltr;";for(var K=0;K<E.p.length;++K){var L=E.p[K],M=0;for(u=0;u<L.spans.length;++u){var N=L.spans[u];if(N.line.length>0){if(0!==u&&M!=N.row){var O=document.createElement("br");O.className="lineBreak",J.appendChild(O)}var P=!1;M===N.row&&(P=!0),M=N.row;var Q=r[N.name],R=document.createElement("span");R.className="spanPadding "+N.name+" customSpanColor",R.style.cssText=d(c,Q),0!==u&&P?u===L.spans.length-1?R.textContent=f(N.line):R.textContent=N.line:L.spans.length>1&&u<L.spans.length-1&&N.row===L.spans[u+1].row?R.textContent=e(N.line):R.textContent=N.line.trim(),J.appendChild(R)}}}I.appendChild(J),G.appendChild(I);var S={bodyStyle:["%",90]};for(var T in r)r.hasOwnProperty(T)&&(S[T]=["%",90]);D.push({type:"html",start:g,end:i,cueHTMLElement:G,cueID:F,cellResolution:[32,15],isFromCEA608:!0,regions:s,regionID:E.name,videoHeight:c.videoHeight,videoWidth:c.videoWidth,fontSize:S,lineHeight:{},linePadding:{}})}return D}var h=0;return{createHTMLCaptionsFromScreen:g}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="EmbeddedTextHtmlRender",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],188:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){L=!1,M=null,O=null,K=!1,D.on(k.default.DATA_UPDATE_COMPLETED,x,J),D.on(k.default.INIT_FRAGMENT_LOADED,y,J)}function c(){return t}function d(a){j(a),O=I.getRepresentationController(),P=(0,o.default)(C).getInstance()}function e(a){try{if(N=(0,q.default)(C).create(M,a),!L){var b=N.getBuffer();b.hasOwnProperty(g.default.INITIALIZE)&&b.initialize(H,I),L=!0}return N}catch(c){if(a.isText||-1!==a.codec.indexOf('codecs="stpp')||-1!==a.codec.indexOf('codecs="wvtt'))try{N=E.getTextSourceBuffer()}catch(c){F.mediaSourceError("Error creating "+G+" source buffer.")}else F.mediaSourceError("Error creating "+G+" source buffer.")}}function f(){return G}function h(){return N}function j(a){M=a}function l(){return M}function m(){return I}function n(){return!1}function p(){}function r(){}function u(){return 0}function v(){return K}function w(a){D.off(k.default.DATA_UPDATE_COMPLETED,x,J),D.off(k.default.INIT_FRAGMENT_LOADED,y,J),!a&&N&&(N.abort(),N.reset(),N=null)}function x(a){if(a.sender.getStreamProcessor()===I){P.extract(I.getStreamInfo().id,a.sender.getCurrentRepresentation().id)||D.trigger(k.default.TIMED_TEXT_REQUESTED,{index:0,sender:a.sender})}}function y(a){a.fragmentModel===I.getFragmentModel()&&a.chunk.bytes&&(P.save(a.chunk),N.append(a.chunk),D.trigger(k.default.STREAM_COMPLETED,{request:a.request,fragmentModel:a.fragmentModel}))}function z(a,b){P.extract(a,b)||D.trigger(k.default.TIMED_TEXT_REQUESTED,{index:0,sender:J})}function A(){return null}function B(a){N.timestampOffset===a||isNaN(a)||(N.timestampOffset=a)}a=a||{};var C=this.context,D=(0,i.default)(C).getInstance(),E=(0,s.default)(C).getInstance(),F=a.errHandler,G=a.type,H=a.mimeType,I=a.streamProcessor,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0;return J={getBufferControllerType:c,initialize:d,createBuffer:e,getType:f,getStreamProcessor:m,setSeekStartTime:r,getBuffer:h,getBufferLevel:u,setMediaSource:j,getMediaSource:l,getIsBufferingCompleted:v,getIsPruningInProgress:n,dischargePreBuffer:p,switchInitData:z,getRangeAt:A,reset:w,updateTimestampOffset:B},b(),J}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(47),i=d(h),j=a(51),k=d(j),l=a(48),m=d(l),n=a(202),o=d(n),p=a(96),q=d(p),r=a(190),s=d(r),t="NotFragmentedTextBufferController";e.__dashjs_factory_name=t,c.default=m.default.getClassFactory(e),b.exports=c.default},{100:100,190:190,202:202,47:47,48:48,51:51,96:96}],189:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){y=a.type===g.default.FRAGMENTED_TEXT?(0,k.default)(x).create({type:a.type,metricsModel:a.metricsModel,mediaPlayerModel:a.mediaPlayerModel,manifestModel:a.manifestModel,errHandler:a.errHandler,streamController:a.streamController,mediaController:a.mediaController,adapter:a.adapter,textController:a.textController,abrController:a.abrController,playbackController:a.playbackController,streamProcessor:a.streamProcessor}):(0,m.default)(x).create({type:a.type,mimeType:a.mimeType,errHandler:a.errHandler,streamProcessor:a.streamProcessor})}function c(){return y.getBufferControllerType()}function d(a,b){return y.initialize(a,b)}function e(a){return y.createBuffer(a)}function f(){return y.getType()}function h(){return y.getBuffer()}function i(a){y.setBuffer(a)}function j(){return y.getMediaSource()}function l(a){y.setMediaSource(a)}function n(){y.getStreamProcessor()}function o(a){y.setSeekStartTime(a)}function p(){return y.getBufferLevel()}function q(a){y.reset(a)}function r(){return y.getIsBufferingCompleted()}function s(a,b){y.switchInitData(a,b)}function t(){return y.getIsPruningInProgress()}function u(){return y.dischargePreBuffer()}function v(a){return y.getRangeAt(a)}function w(a){var b=h();
34b.timestampOffset===a||isNaN(a)||(b.timestampOffset=a)}a=a||{};var x=this.context,y=void 0,z=void 0;return z={getBufferControllerType:c,initialize:d,createBuffer:e,getType:f,getStreamProcessor:n,setSeekStartTime:o,getBuffer:h,setBuffer:i,getBufferLevel:p,setMediaSource:l,getMediaSource:j,getIsBufferingCompleted:r,getIsPruningInProgress:t,dischargePreBuffer:u,switchInitData:s,getRangeAt:v,reset:q,updateTimestampOffset:w},b(),z}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(48),i=d(h),j=a(106),k=d(j),l=a(188),m=d(l);e.__dashjs_factory_name="TextBufferController",c.default=i.default.getClassFactory(e),b.exports=c.default},{100:100,106:106,188:188,48:48}],190:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){L="",M=-1,N=!0,P=!1,H=(0,m.default)(y).getInstance(),I=(0,o.default)(y).getInstance(),J=(0,q.default)(y).getInstance(),A=(0,k.default)(y).getInstance(),K=(0,s.default)(y).getInstance(),H.initialize(),K.on(u.default.TEXT_TRACKS_QUEUE_INITIALIZED,i,z),w()}function b(a){a&&(a.errHandler&&(B=a.errHandler),a.dashManifestModel&&(C=a.dashManifestModel),a.manifestModel&&(D=a.manifestModel),a.mediaController&&(E=a.mediaController),a.videoModel&&(F=a.videoModel),a.streamController&&(G=a.streamController),a.textTracks&&(H=a.textTracks),a.vttParser&&(I=a.vttParser),a.ttmlParser&&(J=a.ttmlParser),A.setConfig({errHandler:B,dashManifestModel:C,manifestModel:D,mediaController:E,videoModel:F,streamController:G,textTracks:H,vttParser:I,ttmlParser:J}))}function c(){return A}function d(){return O}function e(a){A.addEmbeddedTrack(a)}function f(a){"string"==typeof a&&(L=a)}function h(){return L}function i(a){var b=this,c=a.tracks,d=a.index;c.some(function(a,c){if(a.lang===L)return b.setTextTrack(c),d=c,!0}),N||this.setTextTrack(-1),M=d,K.trigger(u.default.TEXT_TRACKS_ADDED,{enabled:p(),index:d,tracks:c})}function j(a){"boolean"==typeof a&&((N=a)||this.setTextTrack(-1))}function l(){return N}function n(a){"boolean"==typeof a&&p()!==a&&(a&&this.setTextTrack(M),a||(M=this.getCurrentTrackIdx(),this.setTextTrack(-1)))}function p(){var a=!0;return O&&!P&&(a=!1),a}function r(a){"boolean"==typeof a&&(P=a)}function t(a){var b=A.getConfig(),c=b.fragmentModel,d=b.fragmentedTracks,e=b.videoModel,f=void 0,h=void 0;O=-1===a;var i=H.getCurrentTrackIdx();if(i!==a){H.setModeForTrackIdx(i,g.default.TEXT_HIDDEN),H.setCurrentTrackIdx(a),H.setModeForTrackIdx(a,g.default.TEXT_SHOWING);var j=H.getCurrentTrackInfo();if(j&&j.isFragmented&&!j.isEmbedded)for(var k=0;k<d.length;k++){var l=d[k];if(j.lang===l.lang&&j.index===l.index&&(l.id?j.label===l.id:j.label===l.index)){var m=E.getCurrentTrackFor(g.default.FRAGMENTED_TEXT,G.getActiveStreamInfo());if(l!==m)c.abortRequests(),c.removeExecutedRequestsBeforeTime(),A.remove(),H.deleteCuesFromTrackIdx(i),E.setTrack(l),A.setCurrentFragmentedTrackIdx(k);else if(-1===i){for(var n=G.getActiveStreamProcessors(),o=0;o<n.length;o++)if(n[o].getType()===g.default.FRAGMENTED_TEXT){h=n[o];break}h.getIndexHandler().setCurrentTime(e.getTime()),h.getScheduleController().start()}}}else if(j&&!j.isFragmented){for(var n=G.getActiveStreamProcessors(),k=0;k<n.length;k++)if(n[k].getType()===g.default.TEXT){h=n[k],f=h.getMediaInfoArr();break}if(h&&f)for(var k=0;k<f.length;k++)if(f[k].index===j.index&&f[k].lang===j.lang){h.selectMediaInfo(f[k]);break}}}}function v(){return H.getCurrentTrackIdx()}function w(){O=!1}function x(){w(),A.resetEmbedded(),A.reset()}var y=this.context,z=void 0,A=void 0,B=void 0,C=void 0,D=void 0,E=void 0,F=void 0,G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0;return z={setConfig:b,getTextSourceBuffer:c,getAllTracksAreDisabled:d,addEmbeddedTrack:e,getTextDefaultLanguage:h,setTextDefaultLanguage:f,setTextDefaultEnabled:j,getTextDefaultEnabled:l,enableText:n,isTextEnabled:p,setTextTrack:t,getCurrentTrackIdx:v,enableForcedTextStreaming:r,reset:x},a(),z}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(48),i=d(h),j=a(191),k=d(j),l=a(192),m=d(l),n=a(209),o=d(n),p=a(207),q=d(p),r=a(47),s=d(r),t=a(51),u=d(t);e.__dashjs_factory_name="TextController",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{100:100,191:191,192:192,207:207,209:209,47:47,48:48,51:51}],191:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){L=(0,t.default)(H).getInstance().getLogger(K),c()}function b(){X=null,Z=NaN,$=[],ba=null,Y=!1}function c(){b(),V=[],R=null}function d(a,b){J||m(),W.setConfig({videoModel:_}),W.initialize(),M||(M=(0,n.default)(H).getInstance(),U=(0,l.default)(H).getInstance(),U.setConfig({boxParser:M})),e(a,b)}function e(a,b){var c=!O.getIsTextTrack(a);if(b){if(V=V.concat(b.getMediaInfoArr()),c){X=b.getFragmentModel(),K.buffered=(0,p.default)(H).create(),$=Q.getTracksFor(g.default.FRAGMENTED_TEXT,aa.getActiveStreamInfo());for(var d=Q.getCurrentTrackFor(g.default.FRAGMENTED_TEXT,aa.getActiveStreamInfo()),e=0;e<$.length;e++)if($[e]===d){ca=e;break}}for(var e=0;e<V.length;e++)w(null,V[e])}}function f(){W.deleteAllTextTracks(),U=null,M=null,V=[],X=null,Y=!1,$=[]}function i(){c(),aa=null,_=null,W=null}function k(a){var b=a.chunk;b.mediaInfo.embeddedCaptions&&y(b.bytes,b)}function m(){da=[],W=(0,v.default)(H).getInstance(),W.setConfig({videoModel:_}),W.initialize(),M=(0,n.default)(H).getInstance(),U=(0,l.default)(H).getInstance(),U.setConfig({boxParser:M}),ca=null,ea=!1,fa=0,ia=[],ha=[],ga=null,J=!0,ja=(0,x.default)(H).getInstance();var a=aa.getActiveStreamProcessors();for(var b in a)if("video"===a[b].getType()){ka=a[b].getCurrentRepresentationInfo().MSETimeOffset;break}I.on(F.default.VIDEO_CHUNK_RECEIVED,k,this)}function o(){I.off(F.default.VIDEO_CHUNK_RECEIVED,k,this),W&&W.deleteAllTextTracks(),J=!1,da=[],ia=[null,null],ha=[],ga=null}
34function q(a){if(J||m(),a)if(a.id===g.default.CC1||a.id===g.default.CC3){for(var b=0;b<da.length;b++)if(da[b].id===a.id)return;da.push(a)}else L.warn("Embedded track "+a.id+" not supported!")}function r(a){a&&(a.errHandler&&(N=a.errHandler),a.dashManifestModel&&(O=a.dashManifestModel),a.manifestModel&&(P=a.manifestModel),a.mediaController&&(Q=a.mediaController),a.videoModel&&(_=a.videoModel),a.streamController&&(aa=a.streamController),a.textTracks&&(W=a.textTracks),a.vttParser&&(S=a.vttParser),a.ttmlParser&&(T=a.ttmlParser))}function s(){return{fragmentModel:X,fragmentedTracks:$,videoModel:_}}function u(a){ca=a}function w(a,b){var c=new j.default,d={subtitle:"subtitles",caption:"captions"},e=function(){var a=b.roles.length>0?d[b.roles[0]]:d.caption;return a=a===d.caption||a===d.subtitle?a:d.caption},f=function(){var a=!1;return b.codec&&b.codec.search(g.default.STPP)>=0&&(a=!0),b.mimeType&&b.mimeType.search(g.default.TTML)>=0&&(a=!0),a};c.captionData=a,c.lang=b.lang,c.label=b.id?b.id:b.index,c.index=b.index,c.isTTML=f(),c.defaultTrack=C(b),c.isFragmented=!O.getIsTextTrack(b.mimeType),c.isEmbedded=!!b.isEmbedded,c.kind=e(),c.roles=b.roles,c.accessibility=b.accessibility;var h=(V?V.length:0)+da.length;W.addTextTrack(c,h)}function y(a,b){var c=void 0,d=void 0,e=void 0,f=void 0,i=void 0,j=void 0,k=void 0,l=b.mediaInfo,m=l.type,n=l.mimeType,o=l.codec||n;if(!o)return void L.error("No text type defined");if(m===g.default.FRAGMENTED_TEXT)if(Y)if(j=U.getSamplesInfo(a),d=j.sampleList,!ba&&d.length>0&&(ba=d[0].cts-b.start*Z),o.search(g.default.STPP)>=0)for(R=null!==R?R:E(o),e=0;e<d.length;e++){var p=d[e],q=p.cts,r=q-ba;this.buffered.add(r/Z,(r+p.duration)/Z);var s=new DataView(a,p.offset,p.subSizes[0]);k=z.default.Utils.dataViewToString(s,g.default.UTF8);var t=[],u=p.offset+p.subSizes[0];for(f=1;f<p.subSizes.length;f++){var v=new Uint8Array(a,u,p.subSizes[f]),x=String.fromCharCode.apply(null,v);t.push(x),u+=p.subSizes[f]}try{var y=P.getValue(),C=y.ttmlTimeIsRelative?q/Z:0;c=R.parse(k,C,q/Z,(q+p.duration)/Z,t),W.addCaptions(ca,ba/Z,c)}catch(ka){X.removeExecutedRequestsBeforeTime(),this.remove(),L.error("TTML parser error: "+ka.message)}}else{var D=[];for(e=0;e<d.length;e++){var p=d[e];p.cts-=ba,this.buffered.add(p.cts/Z,(p.cts+p.duration)/Z);var F=a.slice(p.offset,p.offset+p.size),G=z.default.parseBuffer(F);for(f=0;f<G.boxes.length;f++){var H=G.boxes[f];if(L.debug("VTT box1: "+H.type),"vtte"!==H.type&&"vttc"===H.type)for(L.debug("VTT vttc boxes.length = "+H.boxes.length),i=0;i<H.boxes.length;i++){var I=H.boxes[i];if(L.debug("VTT box2: "+I.type),"payl"===I.type){var J=I.cue_text;L.debug("VTT cue_text = "+J);var K=p.cts/Z,M=(p.cts+p.duration)/Z;D.push({start:K,end:M,data:J,styles:{}}),L.debug("VTT "+K+"-"+M+" : "+J)}}}}D.length>0&&W.addCaptions(ca,0,D)}else Y=!0,Z=U.getMediaTimescaleFromMoov(a);else if(m===g.default.TEXT){var s=new DataView(a,0,a.byteLength);k=z.default.Utils.dataViewToString(s,g.default.UTF8);try{c=E(o).parse(k,0),W.addCaptions(W.getCurrentTrackIdx(),0,c)}catch(ka){N.timedTextError(ka,"parse",k)}}else if(m===g.default.VIDEO)if(b.segmentType===h.HTTPRequest.INIT_SEGMENT_TYPE){if(0===fa)for(fa=U.getMediaTimescaleFromMoov(a),e=0;e<da.length;e++)w(null,da[e])}else{if(0===fa)return void L.warn("CEA-608: No timescale for embeddedTextTrack yet");var O=function(a,b){function c(a,c,d){var e=null;if(_.getTTMLRenderingDiv())e=ja.createHTMLCaptionsFromScreen(_.getElement(),a,c,d);else{e=[{start:a,end:c,data:d.getDisplayText(),styles:{}}]}e&&W.addCaptions(b,0,e)}return c};j=U.getSamplesInfo(a);var Q=j.lastSequenceNumber;if(!ia[0]&&!ia[1]){var S=void 0,T=void 0;for(e=0;e<da.length;e++){if(da[e].id===g.default.CC1?(0,T=W.getTrackIdxForId(g.default.CC1)):da[e].id===g.default.CC3&&(1,T=W.getTrackIdxForId(g.default.CC3)),-1===T)return void L.warn("CEA-608: data before track is ready.");S=O(this,T),ia[e]=new B.default.Cea608Parser(e+1,{newCue:S},null)}}if(fa&&-1==ha.indexOf(Q)){if(null!==ga&&Q!==ga+j.numSequences)for(e=0;e<ia.length;e++)ia[e]&&ia[e].reset();for(var V=A(a,j.sampleList),$=0;$<ia.length;$++){var aa=V.fields[$],ea=ia[$];if(ea)for(e=0;e<aa.length;e++)ea.addData(aa[e][0]/fa,aa[e][1])}
34ga=Q,ha.push(Q)}}}function A(a,b){if(0===b.length)return null;for(var c={splits:[],fields:[[],[]]},d=new DataView(a),e=0;e<b.length;e++)for(var f=b[e],g=B.default.findCea608Nalus(d,f.offset,f.size),h=null,i=0,j=0;j<g.length;j++)for(var k=B.default.extractCea608DataFromRange(d,g[j]),l=0;l<2;l++)k[l].length>0&&(f.cts!==h?i=0:i+=1,c.fields[l].push([f.cts+ka*fa,k[l],i]),h=f.cts);return c.fields.forEach(function(a){a.sort(function(a,b){return a[0]===b[0]?a[2]-b[2]:a[0]-b[0]})}),c}function C(a){var b=!1;return da.length>1&&a.isEmbedded?b=a.id&&a.id===g.default.CC1:1===da.length?a.id&&"CC"===a.id.substring(0,2)&&(b=!0):0===da.length&&(b=a.index===V[0].index),b}function E(a){var b=void 0;return a.search(g.default.VTT)>=0?b=S:(a.search(g.default.TTML)>=0||a.search(g.default.STPP)>=0)&&(b=T),b}function G(a,b){void 0===a&&a===b&&(a=this.buffered.start(0),b=this.buffered.end(this.buffered.length-1)),this.buffered.remove(a,b)}var H=this.context,I=(0,D.default)(H).getInstance(),J=!1,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0,W=void 0,X=void 0,Y=void 0,Z=void 0,$=void 0,_=void 0,aa=void 0,ba=void 0,ca=void 0,da=void 0,ea=void 0,fa=void 0,ga=void 0,ha=void 0,ia=void 0,ja=void 0,ka=void 0;return K={initialize:d,append:y,abort:f,addEmbeddedTrack:q,resetEmbedded:o,setConfig:r,getConfig:s,setCurrentFragmentedTrackIdx:u,remove:G,reset:i},a(),K}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(233),i=a(225),j=d(i),k=a(72),l=d(k),m=a(196),n=d(m),o=a(198),p=d(o),q=a(48),r=d(q),s=a(46),t=d(s),u=a(192),v=d(u),w=a(187),x=d(w),y=a(6),z=d(y),A=a(2),B=d(A),C=a(47),D=d(C),E=a(51),F=d(E);e.__dashjs_factory_name="TextSourceBuffer",c.default=r.default.getSingletonFactory(e),b.exports=c.default},{100:100,187:187,192:192,196:196,198:198,2:2,225:225,233:233,46:46,47:47,48:48,51:51,6:6,72:72}],192:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){H=(0,o.default)(E).getInstance().getLogger(G)}function b(){"undefined"!=typeof window&&"undefined"!=typeof navigator&&(I=window.VTTCue||window.TextTrackCue,K=[],L=[],M=-1,N=0,O=0,P=0,Q=0,R=null,S=null,U=!1,W=2147483647,V=null,void 0!==document.fullscreenElement?T="fullscreenElement":void 0!==document.webkitIsFullScreen?T="webkitIsFullScreen":document.msFullscreenElement?T="msFullscreenElement":document.mozFullScreen&&(T="mozFullScreen"))}function c(a){var b=K[a].kind,c=void 0!==K[a].label?K[a].label:K[a].lang,d=K[a].lang,e=K[a].isTTML,f=K[a].isEmbedded,g=J.addTextTrack(b,c,d);return g.isEmbedded=f,g.isTTML=e,g}function d(a){U=a,R&&!document[T]&&(R.style.zIndex=a?W:null)}function e(a,b){if(K.length===b)return void H.error("Trying to add too many tracks.");if(K.push(a),K.length===b){K.sort(function(a,b){return a.index-b.index}),R=J.getTTMLRenderingDiv();for(var d=-1,e=0;e<K.length;e++){var f=c.call(this,e);L.push(f),K[e].defaultTrack&&(f.default=!0,d=e);var h=n(e);h&&(h.mode=g.default.TEXT_SHOWING,R&&(K[e].isTTML||K[e].isEmbedded)?h.renderingType="html":h.renderingType="default"),this.addCaptions(e,0,K[e].captionData),F.trigger(k.default.TEXT_TRACK_ADDED)}if(s.call(this,d),d>=0)for(var i=0;i<K.length;i++){var j=n(i);j&&(j.mode=i===d?g.default.TEXT_SHOWING:g.default.TEXT_HIDDEN)}F.trigger(k.default.TEXT_TRACKS_QUEUE_INITIALIZED,{index:M,tracks:K})}}function f(a,b,c,d,e,f){var g=a/b,h=c/d,i=0,j=0;g>h?(j=b,i=j/d*c):(i=a,j=i/c*d);var k=0,l=0,m=0,n=0;return i/j>e?(n=j,m=j*e):(m=i,n=i/e),k=(a-m)/2,l=(b-n)/2,f?{x:k+.1*m,y:l+.1*n,w:.8*m,h:.8*n}:{x:k,y:l,w:m,h:n}}function h(a,b){var c=J.getClientWidth(),d=J.getClientHeight(),e=J.getVideoWidth(),g=J.getVideoHeight(),h=J.getVideoRelativeOffsetTop(),i=J.getVideoRelativeOffsetLeft(),j=e/g,l=!1;a.isFromCEA608&&(j=3.5/3,l=!0);var m=f.call(this,c,d,e,g,j,l),n=m.w,o=m.h,p=m.x,q=m.y;if(n!=P||o!=Q||p!=N||q!=O||b){if(N=p+i,O=q+h,P=n,Q=o,R){var r=R.style;r.left=N+"px",r.top=O+"px",r.width=P+"px",r.height=Q+"px",r.zIndex=T&&document[T]||U?W:null,F.trigger(k.default.CAPTION_CONTAINER_RESIZE,{})}var s=a.activeCues;if(s)for(var t=s.length,u=0;u<t;++u){var v=s[u];v.scaleCue(v)}}}function j(a){var b=P,c=Q,d=void 0,e=void 0,f=void 0,g=void 0,h=void 0;if(a.cellResolution){var i=[b/a.cellResolution[0],c/a.cellResolution[1]];
34if(a.linePadding)for(d in a.linePadding)if(a.linePadding.hasOwnProperty(d)){var j=a.linePadding[d];e=(j*i[0]).toString();for(var k=document.getElementsByClassName("spanPadding"),m=0;m<k.length;m++)k[m].style.cssText=k[m].style.cssText.replace(/(padding-left\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e),k[m].style.cssText=k[m].style.cssText.replace(/(padding-right\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}if(a.fontSize){for(d in a.fontSize)if(a.fontSize.hasOwnProperty(d)){"%"===a.fontSize[d][0]?f=a.fontSize[d][1]/100:"c"===a.fontSize[d][0]&&(f=a.fontSize[d][1]),e=(f*i[1]).toString(),h="defaultFontSize"!==d?document.getElementsByClassName(d):document.getElementsByClassName("paragraph");for(var n=0;n<h.length;n++)h[n].style.cssText=h[n].style.cssText.replace(/(font-size\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}if(a.lineHeight)for(d in a.lineHeight)if(a.lineHeight.hasOwnProperty(d)){"%"===a.lineHeight[d][0]?g=a.lineHeight[d][1]/100:"c"===a.fontSize[d][0]&&(g=a.lineHeight[d][1]),e=(g*i[1]).toString(),h=document.getElementsByClassName(d);for(var o=0;o<h.length;o++)h[o].style.cssText=h[o].style.cssText.replace(/(line-height\s*:\s*)[\d.,]+(?=\s*px)/gi,"$1"+e)}}}if(a.isd){var p=document.getElementById(a.cueID);p&&R.removeChild(p),l(a)}}function l(a){if(R){var b=document.createElement("div");R.appendChild(b),V=(0,p.renderHTML)(a.isd,b,function(b){var c=/^(urn:)(mpeg:[a-z0-9][a-z0-9-]{0,31}:)(subs:)([0-9]+)$/,d=/^#(.*)$/;if(c.test(b)){var e=c.exec(b),f=parseInt(e[4],10)-1,g=btoa(a.images[f]),h="data:image/png;base64,"+g;return h}if(d.test(b)){var e=d.exec(b),f=e[1],h="data:image/png;base64,"+a.embeddedImages[f];return h}return null},R.clientHeight,R.clientWidth,!1,function(a){H.info("renderCaption :",a)},V,!0),b.id=a.cueID,F.trigger(k.default.CAPTION_RENDERED,{captionDiv:b,currentTrackIdx:M})}}function m(a,b,c){var d=n(a),e=this;if(d&&c&&0!==c.length)for(var f=0;f<c.length;f++){var h=void 0,i=c[f];d.cellResolution=i.cellResolution,d.isFromCEA608=i.isFromCEA608,"html"===i.type&&R?(h=new I(i.start-b,i.end-b,""),h.cueHTMLElement=i.cueHTMLElement,h.isd=i.isd,h.images=i.images,h.embeddedImages=i.embeddedImages,h.cueID=i.cueID,h.scaleCue=j.bind(e),h.cellResolution=i.cellResolution,h.lineHeight=i.lineHeight,h.linePadding=i.linePadding,h.fontSize=i.fontSize,R.style.left=N+"px",R.style.top=O+"px",R.style.width=P+"px",R.style.height=Q+"px",h.onenter=function(){d.mode===g.default.TEXT_SHOWING&&(this.isd?(l(this),H.debug("Cue enter id:"+this.cueID)):(R.appendChild(this.cueHTMLElement),j.call(e,this)))},h.onexit=function(){if(R)for(var a=R.childNodes,b=0;b<a.length;++b)a[b].id===this.cueID&&(H.debug("Cue exit id:"+a[b].id),R.removeChild(a[b]))}):i.data&&(h=new I(i.start-b,i.end-b,i.data),i.styles&&(void 0!==i.styles.align&&"align"in h&&(h.align=i.styles.align),void 0!==i.styles.line&&"line"in h&&(h.line=i.styles.line),void 0!==i.styles.position&&"position"in h&&(h.position=i.styles.position),void 0!==i.styles.size&&"size"in h&&(h.size=i.styles.size)));try{h?d.addCue(h):H.error("impossible to display subtitles.")}catch(k){throw u(d),d.addCue(h),k}}}function n(a){return a>=0&&K[a]?J.getTextTrack(K[a].kind,K[a].label,K[a].lang,K[a].isTTML,K[a].isEmbedded):null}function q(){return M}function r(a){for(var b=-1,c=0;c<K.length;c++)if(K[c].label===a){b=c;break}return b}function s(a){if(a!==M){M=a;var b=n(M);t.call(this,b),S&&(clearInterval(S),S=null),b&&"html"===b.renderingType&&(h.call(this,b,!0),S=setInterval(h.bind(this,b),500))}}function t(a){A.call(this),a&&"html"===a.renderingType?y.call(this):z.call(this)}function u(a){if(a.cues)for(var b=a.cues,c=b.length-1,d=c;d>=0;d--)a.removeCue(b[d])}function v(a){var b=n(a);b&&u(b)}function w(){for(var a=L?L.length:0,b=0;b<a;b++){var c=n(b);c&&(u.call(this,c),c.mode="disabled")}L=[],K=[],S&&(clearInterval(S),S=null),M=-1,A.call(this)}function x(a){J.removeChild(L[a]),L.splice(a,1)}function y(){var a=document.getElementById("native-cue-style");if(!a){a=document.createElement("style"),a.id="native-cue-style",document.head.appendChild(a);var b=a.sheet,c=J.getElement();try{c&&(c.id?b.insertRule("#"+c.id+"::cue {background: transparent}",0):0!==c.classList.length?b.insertRule("."+c.className+"::cue {background: transparent}",0):b.insertRule("video::cue {background: transparent}",0))}catch(d){H.info(""+d.message)}}}function z(){var a=document.getElementById("native-cue-style");a&&document.head.removeChild(a)}function A(){if(R)for(;R.firstChild;)R.removeChild(R.firstChild)}function B(a){a&&a.videoModel&&(J=a.videoModel)}function C(a,b){var c=n(a);c&&c.mode!==b&&(c.mode=b)}function D(){return K[M]}var E=this.context,F=(0,i.default)(E).getInstance(),G=void 0,H=void 0,I=void 0,J=void 0,K=void 0,L=void 0,M=void 0,N=void 0,O=void 0,P=void 0,Q=void 0,R=void 0,S=void 0,T=void 0,U=void 0,V=void 0,W=void 0;return G={initialize:b,displayCConTop:d,addTextTrack:e,addCaptions:m,getCurrentTrackIdx:q,setCurrentTrackIdx:s,getTrackIdxForId:r,getCurrentTrackInfo:D,setModeForTrackIdx:C,deleteCuesFromTrackIdx:v,deleteAllTextTracks:w,deleteTextTrack:x,setConfig:B},a(),G}Object.defineProperty(c,"__esModule",{value:!0});var f=a(100),g=d(f),h=a(47),i=d(h),j=a(51),k=d(j),l=a(48),m=d(l),n=a(46),o=d(n),p=a(41);e.__dashjs_factory_name="TextTracks",c.default=m.default.getSingletonFactory(e),b.exports=c.default},{100:100,41:41,46:46,47:47,48:48,51:51}],193:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){h(),n=(0,m.default)(j).create({dashManifestModel:a.dashManifestModel,adapter:a.adapter,baseURLController:a.baseURLController,stream:a.stream})}function c(a){var b=n.getCurrentTrack();if(!b||b.segmentDuration<=0)return null;var c=Math.floor(a/b.segmentDuration),e=a%b.segmentDuration,f=Math.floor(e*b.t
34ilesHor*b.tilesVert/b.segmentDuration),g=new k.default;return g.url=d(b,c),g.width=Math.floor(b.widthPerTile),g.height=Math.floor(b.heightPerTile),g.x=Math.floor(f%b.tilesHor)*b.widthPerTile,g.y=Math.floor(f/b.tilesHor)*b.heightPerTile,g}function d(a,b){var c=b+a.startNumber,d=(0,p.replaceTokenForTemplate)(a.templateUrl,"Number",c);return d=(0,p.replaceTokenForTemplate)(d,"Time",(c-1)*a.segmentDuration),d=(0,p.replaceTokenForTemplate)(d,"Bandwidth",a.bandwidth),(0,p.unescapeDollarsInTemplate)(d)}function e(a){n.setTrackByIndex(a)}function f(){return n.getCurrentTrackIndex()}function g(){var a=n.getTracks();if(!a||0===a.length)return[];var b=0;return a.map(function(a){var c=new o.default;return c.mediaType=i.default.IMAGE,c.qualityIndex=b++,c.bitrate=a.bitrate,c.width=a.width,c.height=a.height,c})}function h(){n&&n.reset()}var j=this.context,l=void 0,n=void 0;return l={get:c,setTrackByIndex:e,getCurrentTrackIndex:f,getBitrateList:g,reset:h},b(),l}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(100),i=d(h),j=a(226),k=d(j),l=a(194),m=d(l),n=a(212),o=d(n),p=a(76);e.__dashjs_factory_name="ThumbnailController",c.default=g.default.getClassFactory(e),b.exports=c.default},{100:100,194:194,212:212,226:226,48:48,76:76}],194:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){l(),c()}function c(){if(u&&r&&s){var a=u?u.getStreamInfo():null;if(a){var b=s.getMediaInfoForType(a,g.default.IMAGE);if(b){var c=s.getDataForMedia(b);if(c){var e=r.getRepresentationsForAdaptation(c);e&&e.length>0&&e.forEach(function(a){a.segmentInfoType===i.default.SEGMENT_TEMPLATE&&a.segmentDuration>0&&a.media&&d(a)}),x.length>0&&(x.sort(function(a,b){return a.bitrate-b.bitrate}),y=x.length-1)}}}}}function d(a){var b=new m.default;b.id=a.id,b.bitrate=a.bandwidth,b.width=a.width,b.height=a.height,b.tilesHor=1,b.tilesVert=1,b.startNumber=a.startNumber,b.segmentDuration=a.segmentDuration,b.timescale=a.timescale,b.templateUrl=e(a),a.essentialProperties&&a.essentialProperties.forEach(function(a){if(a.schemeIdUri===q&&a.value){var c=a.value.split("x");2!==c.length||isNaN(c[0])||isNaN(c[1])||(b.tilesHor=parseInt(c[0],10),b.tilesVert=parseInt(c[1],10))}}),b.tilesHor>0&&b.tilesVert>0&&(b.widthPerTile=b.width/b.tilesHor,b.heightPerTile=b.height/b.tilesVert,x.push(b))}function e(a){var b=v.isRelative(a.media)?v.resolve(a.media,t.resolve(a.path).url):a.media;return b?(0,p.replaceIDForTemplate)(b,a.id):""}function f(){return x}function h(){return y}function j(){return y<0?null:x[y]}function k(a){x&&0!==x.length&&(a>=x.length&&(a=x.length-1),y=a)}function l(){x=[],y=-1}var n=this.context,r=a.dashManifestModel,s=a.adapter,t=a.baseURLController,u=a.stream,v=(0,o.default)(n).getInstance(),w=void 0,x=void 0,y=void 0;return w={initialize:b,getTracks:f,reset:l,setTrackByIndex:k,getCurrentTrack:j,getCurrentTrackIndex:h},b(),w}Object.defineProperty(c,"__esModule",{value:!0})
35;var f=a(100),g=d(f),h=a(58),i=d(h),j=a(48),k=d(j),l=a(227),m=d(l),n=a(208),o=d(n),p=a(76),q="http://dashif.org/thumbnail_tile";e.__dashjs_factory_name="ThumbnailTracks",c.default=k.default.getClassFactory(e),b.exports=c.default},{100:100,208:208,227:227,48:48,58:58,76:76}],195:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){p=(0,k.default)(h).create({updateEventName:i.default.SERVICE_LOCATION_BLACKLIST_CHANGED,addBlacklistEventName:i.default.SERVICE_LOCATION_BLACKLIST_ADD}),q=(0,o.default)(h).create({blacklistController:p}),t=(0,m.default)(h).create({blacklistController:p}),u=q}function b(a){a.selector&&(u=a.selector),a.dashManifestModel&&(l=a.dashManifestModel)}function c(){if(!l||!l.hasOwnProperty("getIsDVB"))throw new Error("Missing config parameter(s)")}function d(a){c(),u=l.getIsDVB(a)?t:q}function e(a){var b=a.baseUrls,c=a.selectedIdx;if(!isNaN(c))return b[c];var d=u.select(b);return d?(a.selectedIdx=b.indexOf(d),d):(j.trigger(i.default.URL_RESOLUTION_FAILED,{error:new Error(r,s)}),void(u===q&&f()))}function f(){p.reset()}var h=this.context,j=(0,g.default)(h).getInstance(),l=void 0,n=void 0,p=void 0,q=void 0,t=void 0,u=void 0;return n={chooseSelectorFromManifest:d,select:e,reset:f,setConfig:b},a(),n}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(105),k=d(j),l=a(211),m=d(l),n=a(210),o=d(n),p=a(48),q=d(p),r=1,s="Failed to resolve a valid URL";e.__dashjs_factory_name="BaseURLSelector";var t=q.default.getClassFactory(e);t.URL_RESOLUTION_FAILED_GENERIC_ERROR_CODE=r,t.URL_RESOLUTION_FAILED_GENERIC_ERROR_MESSAGE=s,q.default.updateClassFactory(e.__dashjs_factory_name,t),c.default=t,b.exports=c.default},{105:105,210:210,211:211,47:47,48:48,51:51}],196:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){if(!a)return null;void 0===a.fileStart&&(a.fileStart=0);var b=k.default.parseBuffer(a),c=(0,g.default)(e).create();return c.setData(b),c}function b(a,b,e){if(void 0===e&&(e=0),!b||e+8>=b.byteLength)return new m.default(0,!1);for(var f=b instanceof ArrayBuffer?new Uint8Array(b):b,g=void 0,h=0;e<f.byteLength;){var i=c(f,e),j=d(f,e+4);if(0===i)break;e+i<=f.byteLength&&(a.indexOf(j)>=0?g=new m.default(e,!0,i):h=e+i),e+=i}return g||new m.default(h,!1)}function c(a,b){return a[b+3]>>>0|a[b+2]<<8>>>0|a[b+1]<<16>>>0|a[b]<<24>>>0}function d(a,b){return String.fromCharCode(a[b++])+String.fromCharCode(a[b++])+String.fromCharCode(a[b++])+String.fromCharCode(a[b])}var e=this.context;return{parse:a,findLastTopIsoBoxCompleted:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(203),g=d(f),h=a(48),i=d(h),j=a(6),k=d(j),l=a(218),m=d(l);e.__dashjs_factory_name="BoxParser",c.default=i.default.getSingletonFactory(e),b.exports=c.default},{203:203,218:218,48:48,6:6}],197:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){g=!1}function b(){var a="WebKitMediaSource"in window,b="MediaSource"in window;return a||b}function c(){return g}function d(a){g=a}function e(a){return!!("MediaSource"in window&&MediaSource.isTypeSupp
vendor: 9,040 bytes, line 35
35orted(a))||!!("WebKitMediaSource"in window&&WebKitMediaSource.isTypeSupported(a))}var f=void 0,g=void 0;return f={supportsMediaSource:b,supportsEncryptedMedia:c,supportsCodec:e,setEncryptedMediaSupported:d},a(),f}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="Capabilities",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],198:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){var c=0;for(c=0;c<this.customTimeRangeArray.length&&a>this.customTimeRangeArray[c].start;c++);for(this.customTimeRangeArray.splice(c,0,{start:a,end:b}),c=0;c<this.customTimeRangeArray.length-1;c++)this.mergeRanges(c,c+1)&&c--;this.length=this.customTimeRangeArray.length}function b(){this.customTimeRangeArray=[],this.length=0}function c(a,b){for(var c=0;c<this.customTimeRangeArray.length;c++)if(a<=this.customTimeRangeArray[c].start&&b>=this.customTimeRangeArray[c].end)this.customTimeRangeArray.splice(c,1),c--;else{if(a>this.customTimeRangeArray[c].start&&b<this.customTimeRangeArray[c].end){this.customTimeRangeArray.splice(c+1,0,{start:b,end:this.customTimeRangeArray[c].end}),this.customTimeRangeArray[c].end=a;break}a>this.customTimeRangeArray[c].start&&a<this.customTimeRangeArray[c].end?this.customTimeRangeArray[c].end=a:b>this.customTimeRangeArray[c].start&&b<this.customTimeRangeArray[c].end&&(this.customTimeRangeArray[c].start=b)}this.length=this.customTimeRangeArray.length}function d(a,b){var c=this.customTimeRangeArray[a],d=this.customTimeRangeArray[b];return c.start<=d.start&&d.start<=c.end&&c.end<=d.end?(c.end=d.end,this.customTimeRangeArray.splice(b,1),!0):d.start<=c.start&&c.start<=d.end&&d.end<=c.end?(c.start=d.start,this.customTimeRangeArray.splice(b,1),!0):d.start<=c.start&&c.start<=d.end&&c.end<=d.end?(this.customTimeRangeArray.splice(a,1),!0):c.start<=d.start&&d.start<=c.end&&d.end<=c.end&&(this.customTimeRangeArray.splice(b,1),!0)}function e(a){if(null===a||isNaN(a)||a%1!=0)throw new Error("index argument is not an integer")}function f(a){return e(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].start}function g(a){return e(a),a>=this.customTimeRangeArray.length||a<0?NaN:this.customTimeRangeArray[a].end}return{customTimeRangeArray:[],length:0,add:a,clear:b,remove:c,mergeRanges:d,start:f,end:g}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="CustomTimeRanges",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],199:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){w=(0,i.default)(t).getInstance().getLogger(v),d()}function c(a){if(void 0!==x)return x;x=!1;var b="1",c="1",d=void 0;try{"undefined"!=typeof window&&(d=window[a])}catch(e){return w.warn("DOMStorage access denied: "+e.message),x}if(!d||a!==m&&a!==n)return x;try{d.setItem(b,c),d.removeItem(b),x=!0}catch(e){w.warn("DOMStorage is supported, but cannot be used: "+e.message)}return x}function d(){c(m)&&j.forEach(function(a){var b=localStorage.getItem(a.oldKey);if(b){localStorage.removeItem(a.oldKey);try{localStorage.setItem(a.newKey,b)}catch(c){w.error(c.message)}}})}function e(){var a=6e5;return Math.round((new Date).getTime()/a)*a}function f(a,b){return c(a)&&u["get"+b+"CachingInfo"]().enabled}function g(){if(!u||!u.hasOwnProperty("getLastMediaSettingsCachingInfo"))throw new Error("Missing config parameter(s)")}function h(a){if(g(),!f(m,p))return null;var b=null,c=l.replace(/\?/,a);try{var d=JSON.parse(localStorage.getItem(c))||{},e=(new Date).getTime()-parseInt(d.timestamp,10)>=u.getLastMediaSettingsCachingInfo().ttl||!1;b=d.settings,e&&(localStorage.removeItem(c),b=null)}catch(h){return null}return b}function q(a){var b=NaN;if(g(),f(m,o)){var c=k.replace(/\?/,a);try{var d=JSON.parse(localStorage.getItem(c))||{},e=(new Date).getTime()-parseInt(d.timestamp,10)>=u.getLastMediaSettingsCachingInfo().ttl||!1,h=parseFloat(d.bitrate);isNaN(h)||e?e&&localStorage.removeItem(c):(b=h,w.debug("Last saved bitrate for "+a+" was "+h))}catch(i){return null}}return b}function r(a,b){if(f(m,p)){var c=l.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({settings:b,timestamp:e()}))}catch(d){w.error(d.message)}}}function s(a,b){if(f(m,o)&&b){var c=k.replace(/\?/,a);try{localStorage.setItem(c,JSON.stringify({bitrate:b.toFixed(3),timestamp:e()}))}catch(d){w.error(d.message)}}}a=a||{};var t=this.context,u=a.mediaPlayerModel,v=void 0,w=void 0,x=void 0;return v={getSavedBitrateSettings:q,setSavedBitrateSettings:s,getSavedMediaSettings:h,setSavedMediaSettings:r},b(),v}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j=[{oldKey:"dashjs_vbitrate",newKey:"dashjs_video_bitrate"},{oldKey:"dashjs_abitrate",newKey:"dashjs_audio_bitrate"},{oldKey:"dashjs_vsettings",newKey:"dashjs_video_settings"},{oldKey:"dashjs_asettings",newKey:"dashjs_audio_settings"}],k="dashjs_?_bitrate",l="dashjs_?_settings",m="localStorage",n="sessionStorage",o="LastBitrate",p="LastMediaSettings";e.__dashjs_factory_name="DOMStorage";var q=g.default.getSingletonFactory(e);c.default=q,b.exports=c.default},{46:46,48:48}],200:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){return n}function c(a){n=a}function d(a,b){var c=!0,d=0,e=void 0,f=void 0;if(void 0===b&&(b=!1),a.tag>16777215?(m.getUint32(n)!==a.tag&&(c=!1),d=4):a.tag>65535?(e=m.getUint16(n),f=m.getUint8(n+2),256*e+f!==a.tag&&(c=!1),d=3):a.tag>255?(m.getUint16(n)!==a.tag&&(c=!1),d=2):(m.getUint8(n)!==a.tag&&(c=!1),d=1),!c&&a.required&&!b)throw new Error("required tag not found");return c&&(n+=d),c}function e(a,b){var c=d(a,b);return c&&h(),c}function f(a){var b=void 0;return d(a),b=h(),l[a.parse](b)}function g(a,b){var c=d(a,b),e=void 0;return c&&(e=h(),n+=e),c}function h(a){var b=1,c=128,d=8,e=-1,f=0,g=m.getUint8(n),h=0;for(h=0;h<d;h+=1){if((g&c)===c){f=void 0===a?g&~c:g,e=h;break}c>>=1}for(h=0;h<e;h+=1,b+=1)f=f<<8|255&m.getUint8(n+b);return n+=b,f}function i(a){var b=void 0;switch(a){case 4:b=m.getFloat32(n),n+=4;break;case 8:b=m.getFloat64(n),n+=8}return b}function j(a){for(var b=0,c=0;c<a;c+=1)b<<=8,b|=255&m.getUint8(n+c);return n+=a,b}function k(){return n<m.byteLength}a=a||{};var l=void 0,m=new DataView(a.data),n=0;return l={getPos:b,setPos:c,consumeTag:d,consumeTagAndSize:e,parseTag:f,skipOverElement:g,getMatroskaCodedNum:h,getMatroskaFloat:i,getMatroskaUint:j,moreData:k}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="EBMLParser",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],201:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){l.trigger(i.default.ERROR,{error:"capability",event:a})}function b(a,b,c){l.trigger(i.default.ERROR,{error:"download",event:{id:a,url:b,request:c}})}function c(a,b,c,d){l.trigger(i.default.ERROR,{error:"manifestError",event:{message:a,id:b,manifest:c,event:d}})}function d(a,b,c){l.trigger(i.default.ERROR,{error:"cc",event:{message:a,id:b,cc:c}})}function e(a){l.trigger(i.default.ERROR,{error:"mediasource",event:a})}function f(a){l.trigger(i.default.ERROR,{error:"key_session",event:a})}function h(a){l.trigger(i.default.ERROR,{error:"key_message",event:a})}function j(a){l.trigger(i.default.ERROR,{error:"mssError",event:a})}var k=this.context,l=(0,g.default)(k).getInstance();return{capabilityError:a,downloadError:b,manifestError:c,timedTextError:d,mediaSourceError:e,mediaKeySessionError:f,mediaKeyMessageError:h,mssError:j}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(47),g=d(f),h=a(51),i=d(h),j=a(48),k=d(j),l="mediasource",m="mediakeys",n="manifest",o="SIDX",p="content",q="initialization",r="xlink",s="codec",t="parse",u="nostreams",v="parse";e.__dashjs_factory_name="ErrorHandler";var w=k.default.getSingletonFactory(e);w.CAPABILITY_ERROR_MEDIASOURCE=l,w.CAPABILITY_ERROR_MEDIAKEYS=m,w.DOWNLOAD_ERROR_ID_MANIFEST=n,w.DOWNLOAD_ERROR_ID_SIDX=o,w.DOWNLOAD_ERROR_ID_CONTENT=p,w.DOWNLOAD_ERROR_ID_INITIALIZATION=q,w.DOWNLOAD_ERROR_ID_XLINK=r,w.MANIFEST_ERROR_ID_CODEC=s,w.MANIFEST_ERROR_ID_PARSE=t,w.MANIFEST_ERROR_ID_NOSTREAMS=u,w.TIMED_TEXT_ERROR_ID_PARSE=v,k.default.updateSingletonFactory(e.__dashjs_factory_name,w),c.default=w,b.exports=c.default},{47:47,48:48,51:51}],202:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){var b=a.streamId,c=a.representationId;d[b]=d[b]||{},d[b][c]=a}function b(a,b){return d&&d[a]&&d[a][b]?d[a][b]:null}function c(){d={}}var d={};return{save:a,extract:b,reset:c}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="InitCache",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],203:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){return a&&f&&f.boxes&&0!==f.boxes.length&&"function"==typeof f.fetch?e(f.fetch(a)
35):null}function b(a){var b=[];if(!a||!f||"function"!=typeof f.fetchAll)return b;for(var c=f.fetchAll(a),d=void 0,g=0,h=c.length;g<h;g++)(d=e(c[g]))&&b.push(d);return b}function c(a){f=a}function d(){if(!f||!f.boxes||!f.boxes.length)return null;var a=f.boxes[f.boxes.length-1].type,c=b(a);return c.length>0?c[c.length-1]:null}function e(a){if(!a)return null;var b=new g.default(a);return a.hasOwnProperty("_incomplete")&&(b.isComplete=!a._incomplete),b}var f=void 0;return{getBox:a,getBoxes:b,setData:c,getLastBox:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(217),g=d(f),h=a(48),i=d(h);e.__dashjs_factory_name="IsoFile",c.default=i.default.getClassFactory(e),b.exports=c.default},{217:217,48:48}],204:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(){if(!(e&&e.hasOwnProperty("getExpectedLiveEdge")&&f&&f.hasOwnProperty("getCurrentRepresentationInfo")))throw new Error("Missing config parameter(s)")}function c(){b();var a=f.getCurrentRepresentationInfo(),c=a.DVRWindow.end;return a.useCalculatedLiveEdgeTime&&(c=e.getExpectedLiveEdge(),e.setClientTimeOffset(c-a.DVRWindow.end)),c}function d(){e=null,f=null}a=a||{};var e=a.timelineConverter,f=a.streamProcessor;return{getLiveEdge:c,reset:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="LiveEdgeFinder",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],205:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a,b){return(0,i.default)(a,b)}return{areEqual:a}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(7),i=d(h);e.__dashjs_factory_name="ObjectUtils",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48,7:7}],206:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(a){return a}function b(a){return a}return{modifyRequestURL:a,modifyRequestHeader:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="RequestModifier",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],207:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){g=(0,i.default)(d).getInstance().getLogger(f)}function b(){var a="cue_TTML_"+h;return h++,a}function c(a,c,d,f,h){var i=void 0,j="",k=[],l=void 0,o=void 0,p={},q={},r="",s="",t={onOpenTag:function(a,b,c){if("image"===b&&"http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt"===a){if(!c[" imagetype"]||"PNG"!==c[" imagetype"].value)return void g.warn("smpte-tt imagetype != PNG. Discarded");r=c["http://www.w3.org/XML/1998/namespace id"].value}},onCloseTag:function(){r&&(q[r]=s.trim()),s="",r=""},onText:function(a){r&&(s+=a)}};if(!a)throw j="no ttml data to parse",new Error(j);p.data=a,e.trigger(m.default.TTML_TO_PARSE,p);var u=(0,n.fromXML)(p.data,function(a){j=a},t);e.trigger(m.default.TTML_PARSED,{ttmlString:p.data,ttmlDoc:u});var v=u.getMediaTimeEvents();for(i=0;i<v.length;i++){var w=(0,n.generateISD)(u,v[i],function(a){j=a});w.contents.some(function(a){return a.contents.length})&&(l=v[i]+c<d?d:v[i]+c,o=v[i+1]+c>f?f:v[i+1]+c,l<o&&k.push({start:l,end:o,type:"html",cueID:b(),isd:w,images:h,embeddedImages:q}))}if(""!==j)throw g.error(j),new Error(j);return k}var d=this.context,e=(0,k.default)(d).getInstance(),f=void 0,g=void 0,h=0;return f={parse:c},a(),f}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j=a(47),k=d(j),l=a(51),m=d(l),n=a(41);e.__dashjs_factory_name="TTMLParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{41:41,46:46,47:47,48:48,51:51}],208:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){try{new window.URL("x","http://y");k=p}catch(a){}finally{k=k||q}}function b(a){var b=a.indexOf("/"),c=a.lastIndexOf("/");return-1!==b?c===b+1?a:(-1!==a.indexOf("?")&&(a=a.substring(0,a.indexOf("?"))),a.substring(0,c+1)):""}function c(a){var b=a.match(o);return b?b[1]:""}function d(a){var b=a.match(l);return b?b[0]:""}function e(a){return!l.test(a)}function f(a){return e(a)&&"/"===a.charAt(0)}
vendor: 19,563 bytes, lines 35-36
35function g(a){return 0===a.indexOf("//")}function h(a){return m.test(a)}function i(a){return n.test(a)}function j(a,b){return k(a,b)}var k=void 0,l=/^[a-z][a-z0-9+\-.]*:/i,m=/^https?:\/\//i,n=/^https:\/\//i,o=/^([a-z][a-z0-9+\-.]*:\/\/[^\/]+)\/?/i,p=function(a,b){try{return new window.URL(a,b).toString()}catch(c){return a}},q=function(a,h){var i=b;if(!h)return a;if(!e(a))return a;f(a)&&(i=c),g(a)&&(i=d);var j=i(h);return[j,a].join("/"!==j.charAt(j.length-1)&&"/"!==a.charAt(0)?"/":"")};return a(),{parseBaseUrl:b,parseOrigin:c,parseScheme:d,isRelative:e,isPathAbsolute:f,isSchemeRelative:g,isHTTPURL:h,isHTTPS:i,resolve:j}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="URLUtils",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{48:48}],209:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(){function a(){k=(0,i.default)(g).getInstance().getLogger(h),l=/(?:\r\n|\r|\n)/gm,m=/-->/,n=/(^[\s]+|[\s]+$)/g,o=/\s\b/g}function b(a){var b=[],e=void 0,g=void 0;if(!a)return b;a=a.split(l),e=a.length,g=-1;for(var h=0;h<e;h++){var i=a[h];if(i.length>0&&i!==j&&i.match(m)){var o=d(i),p=o.cuePoints,q=o.styles,r=f(a,h+1),s=c(p[0].replace(n,"")),t=c(p[1].replace(n,""));!isNaN(s)&&!isNaN(t)&&s>=g&&t>s?""!==r?(g=s,b.push({start:s,end:t,data:r,styles:q})):k.error("Skipping cue due to empty/malformed cue text"):k.error("Skipping cue due to incorrect cue timing")}}return b}function c(a){var b=a.split(":"),c=b.length-1;return a=60*parseInt(b[c-1],10)+parseFloat(b[c]),2===c&&(a+=3600*parseInt(b[0],10)),a}function d(a){var b=a.split(m),c=b[1].split(o);return c.shift(),b[1]=c[0],c.shift(),{cuePoints:b,styles:e(c)}}function e(a){var b={};return a.forEach(function(a){if(a.split(/:/).length>1){var c=a.split(/:/)[1];c&&-1!=c.search(/%/)&&(c=parseInt(c.replace(/%/,""),10)),(a.match(/align/)||a.match(/A/))&&(b.align=c),(a.match(/line/)||a.match(/L/))&&(b.line=c),(a.match(/position/)||a.match(/P/))&&(b.position=c),(a.match(/size/)||a.match(/S/))&&(b.size=c)}}),b}function f(a,b){for(var c=b,d="",e="",f=void 0;""!==a[c]&&c<a.length;)c++;if((f=c-b)>1)for(var g=0;g<f;g++){if(e=a[b+g],e.match(m)){d="";break}d+=e,g!==f-1&&(d+="\n")}else e=a[b],e.match(m)||(d=e);return d}var g=this.context,h=void 0,k=void 0,l=void 0,m=void 0,n=void 0,o=void 0;return h={parse:b},a(),h}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f),h=a(46),i=d(h),j="WEBVTT";e.__dashjs_factory_name="VTTParser",c.default=g.default.getSingletonFactory(e),b.exports=c.default},{46:46,48:48}],210:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=0,d=void 0;return a&&a.some(function(a,d){return b=d,!c.contains(a.serviceLocation)})&&(d=a[b]),d}a=a||{};var c=a.blacklistController;return{select:b}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="BasicSelector",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],211:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a){function b(a){var b=[],c=function(a){return!b.length||!a.dvb_priority||-1===b.indexOf(a.dvb_priority)},d=function(a){return!e.contains(a.serviceLocation)||(a.dvb_priority&&b.push(a.dvb_priority),!1)};return a.filter(d).filter(c)}function c(a){var b=function(a,b){var c=a.dvb_priority-b.dvb_priority;return isNaN(c)?0:c},c=function(a,b,c){return!b||c[0].dvb_priority&&a.dvb_priority&&c[0].dvb_priority===a.dvb_priority},d=0,e=[],f=0,g=void 0,h=void 0;if(h=a.sort(b).filter(c),h.length)return h.length>1&&(h.forEach(function(a){d+=a.dvb_weight,e.push(d)}),g=Math.floor(Math.random()*(d-1)),e.every(function(a,b){return f=b,!(g<a)})),h[f]}function d(a){return a&&c(b(a))}a=a||{};var e=a.blacklistController;return{select:d}}Object.defineProperty(c,"__esModule",{value:!0});var f=a(48),g=d(f);e.__dashjs_factory_name="DVBSelector",c.default=g.default.getClassFactory(e),b.exports=c.default},{48:48}],212:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.bitrate=null,this.width=null,this.height=null,this.scanType=null,this.qualityIndex=NaN};c.default=e,b.exports=c.default},{}],213:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e){d(this,a),this.code=b||null,this.message=c||null,this.data=e||null};c.default=e,b.exports=c.default},{}],214:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.streamId=null,this.mediaInfo=null,this.segmentType=null,this.quality=NaN,this.index=NaN,this.bytes=null,this.start=NaN,this.end=NaN,this.duration=NaN,this.representationId=null,this.endFragment=null};c.default=e,b.exports=c.default},{}],215:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.action=a.ACTION_DOWNLOAD,this.startTime=NaN,this.mediaType=null,this.mediaInfo=null,this.type=null,this.duration=NaN,this.timescale=NaN,this.range=null,this.url=null,this.serviceLocation=null,this.requestStartDate=null,this.firstByteDate=null,this.requestEndDate=null,this.quality=NaN,this.index=NaN,this.availabilityStartTime=null,this.availabilityEndTime=null,this.wallStartTime=null,this.bytesLoaded=NaN,this.bytesTotal=NaN,this.delayLoadingTime=NaN,this.responseType="arraybuffer",this.representationId=null};e.ACTION_DOWNLOAD="download",e.ACTION_COMPLETE="complete",c.default=e,b.exports=c.default},{}],216:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(215),i=d(h),j=function(a){function b(a){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.url=a||null,this.checkForExistenceOnly=!0}return f(b,a),b}(i.default);c.default=j,b.exports=c.default},{215:215}],217:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function(){function a(a,b){for(var c=0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&&a(b.prototype,c),d&&a(b,d),b}}(),f=function(){function a(b){if(d(this,a),this.offset=b._offset,this.type=b.type,this.size=b.size,this.boxes=[],b.boxes)for(var c=0;c<b.boxes.length;c++)this.boxes.push(new a(b.boxes[c]));switch(this.isComplete=!0,b.type){case"sidx":if(this.timescale=b.timescale,this.earliest_presentation_time=b.earliest_presentation_time,this.first_offset=b.first_offset,this.references=b.references,b.references){this.references=[];for(var c=0;c<b.references.length;c++){var e={reference_type:b.references[c].reference_type,referenced_size:b.references[c].referenced_size,subsegment_duration:b.references[c].subsegment_duration};this.references.push(e)}}break;case"emsg":this.id=b.id,this.value=b.value,this.timescale=b.timescale,this.scheme_id_uri=b.scheme_id_uri,this.presentation_time_delta=b.presentation_time_delta,this.event_duration=b.event_duration,this.message_data=b.message_data;break;case"mdhd":this.timescale=b.timescale;break;case"mfhd":this.sequence_number=b.sequence_number;break;case"subs":this.entry_count=b.entry_count,this.entries=b.entries;break;case"tfhd":this.base_data_offset=b.base_data_offset,this.sample_description_index=b.sample_description_index,this.default_sample_duration=b.default_sample_duration,this.default_sample_size=b.default_sample_size,this.default_sample_flags=b.default_sample_flags,this.flags=b.flags;break;case"tfdt":this.version=b.version,this.baseMediaDecodeTime=b.baseMediaDecodeTime,this.flags=b.flags;break;case"trun":if(this.sample_count=b.sample_count,this.first_sample_flags=b.first_sample_flags,this.data_offset=b.data_offset,this.flags=b.flags,this.samples=b.samples,b.samples){this.samples=[];for(var c=0,f=b.samples.length;c<f;c++){var g={sample_size:b.samples[c].sample_size,sample_duration:b.samples[c].sample_duration,sample_composition_time_offset:b.samples[c].sample_composition_time_offset};this.samples.push(g)}}}}return e(a,[{key:"getChildBox",value:function(a){for(var b=0;b<this.boxes.length;b++)if(this.boxes[b].type===a)return this.boxes[b]}},{key:"getChildBoxes",value:function(a){for(var b=[],c=0;c<this.boxes.length;c++)this.boxes[c].type===a&&b.push(this.boxes[c]);return b}}]),a}();c.default=f,b.exports=c.default},{}],218:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(b,c,e){d(this,a),this.lastCompletedOffset=b,this.found=c,this.size=e};c.default=e,b.exports=c.default},{}],219:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.DVRWindowSize=NaN,this.loadedTime=null,this.availableFrom=null,this.minBufferTime=NaN,this.duration=NaN,this.isDynamic=!1,this.maxFragmentDuration=null};c.default=e,b.exports=c.default},{}],220:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=null,this.type=null,this.streamInfo=null,this.representationCount=0,this.lang=null,this.viewpoint=null,this.accessibility=null,this.audioChannelConfiguration=null,this.roles=null,this.codec=null,this.mimeType=null,this.contentProtection=null,this.isText=!1,this.KID=null,this.bitrateList=null};c.default=e,b.exports=c.default},{}],221:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.TcpList=[],this.HttpList=[],this.RepSwitchList=[],this.BufferLevel=[],this.BufferState=[],this.PlayList=[],this.DroppedFrames=[],this.SchedulingInfo=[],this.DVRInfo=[],this.ManifestUpdate=[],this.RequestsQueue=null,this.DVBErrors=[]};c.default=e,b.exports=c.default},{}],222:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.quality=null,this.DVRWindow=null,this.fragmentDuration=null,this.mediaInfo=null,this.MSETimeOffset=null};c.default=e,b.exports=c.default},{}],223:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.id=null,this.index=null,this.start=NaN,this.duration=NaN,this.manifestInfo=null,this.isLast=!0};c.default=e,b.exports=c.default},{}],224:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function f(a,b){if("function"!=typeof b&&null!==b)throw new TypeError("Super expression must either be null or a function, not "+typeof b);a.prototype=Object.create(b&&b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(a,b):a.__proto__=b)}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a,b,c){for(var d=!0;d;){var e=a,f=b,g=c;d=!1,null===e&&(e=Function.prototype);var h=Object.getOwnPropertyDescriptor(e,f);if(void 0!==h){if("value"in h)return h.value;var i=h.get;if(void 0===i)return;return i.call(g)}var j=Object.getPrototypeOf(e);if(null===j)return;a=j,b=f,c=g,d=!0,h=j=void 0}},h=a(100),i=d(h),j=a(215),k=d(j),l=function(a){function b(a,c){e(this,b),g(Object.getPrototypeOf(b.prototype),"constructor",this).call(this),this.url=a||null,this.type=c||null,this.mediaType=i.default.STREAM,this.responseType=""}return f(b,a),b}(k.default);c.default=l,b.exports=c.default},{100:100,215:215}],225:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.captionData=null,this.label=null,this.lang=null,this.defaultTrack=!1,this.kind=null,this.isFragmented=!1,this.isEmbedded=!1};c.default=e,b.exports=c.default},{}],226:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.url=null,this.width=null,this.height=null,this.x=null,this.y=null};c.default=e,b.exports=c.default},{}],227:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.bitrate=0,this.width=0,this.height=0,this.tilesHor=0,this.tilesVert=0,this.widthPerTile=0,this.heightPerTile=0,this.startNumber=0,this.segmentDuration=0,this.timescale=0,this.templateUrl="",this.id=""};c.default=e,b.exports=c.default},{}],228:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.xywh=null,this.track=null,this.id=null,this.s=null,this.r=null};c.default=e,b.exports=c.default},{}],229:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.level=null};c.default=e,b.exports=c.default},{}],230:[function(a,b,c){"use strict";function d(a){return a&&a.__esModule?a:{default:a}}function e(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var f=a(106),g=d(f),h=function a(){e(this,a),this.target=null,this.state=g.default.BUFFER_EMPTY};c.default=h,b.exports=c.default},{106:106}],231:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),
36this.time=null,this.range=null,this.manifestInfo=null};c.default=e,b.exports=c.default},{}],232:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.time=null,this.droppedFrames=null};c.default=e,b.exports=c.default},{}],233:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.tcpid=null,this.type=null,this.url=null,this.actualurl=null,this.range=null,this.trequest=null,this.tresponse=null,this.responsecode=null,this.interval=null,this.trace=[],this._stream=null,this._tfinish=null,this._mediaduration=null,this._responseHeaders=null,this._serviceLocation=null},f=function a(){d(this,a),this.s=null,this.d=null,this.b=[]};e.GET="GET",e.HEAD="HEAD",e.MPD_TYPE="MPD",e.XLINK_EXPANSION_TYPE="XLinkExpansion",e.INIT_SEGMENT_TYPE="InitializationSegment",e.INDEX_SEGMENT_TYPE="IndexSegment",e.MEDIA_SEGMENT_TYPE="MediaSegment",e.BITSTREAM_SWITCHING_SEGMENT_TYPE="BitstreamSwitchingSegment",e.OTHER_TYPE="other",c.HTTPRequest=e,c.HTTPRequestTrace=f},{}],234:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.type=null,this.requestTime=null,this.fetchTime=null,this.availabilityStartTime=null,this.presentationStartTime=0,this.clientTimeOffset=0,this.currentTime=null,this.buffered=null,this.latency=0,this.streamInfo=[],this.representationInfo=[]},f=function a(){d(this,a),this.id=null,this.index=null,this.start=null,this.duration=null},g=function a(){d(this,a),this.id=null,this.index=null,this.mediaType=null,this.streamIndex=null,this.presentationTimeOffset=null,this.startNumber=null,this.fragmentInfoType=null};c.ManifestUpdate=e,c.ManifestUpdateStreamInfo=f,c.ManifestUpdateRepresentationInfo=g},{}],235:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.start=null,this.mstart=null,this.starttype=null,this.trace=[]};e.INITIAL_PLAYOUT_START_REASON="initial_playout",e.SEEK_START_REASON="seek",e.RESUME_FROM_PAUSE_START_REASON="resume",e.METRICS_COLLECTION_START_REASON="metrics_collection_start";var f=function a(){d(this,a),this.representationid=null,this.subreplevel=null,this.start=null,this.mstart=null,this.duration=null,this.playbackspeed=null,this.stopreason=null};f.REPRESENTATION_SWITCH_STOP_REASON="representation_switch",f.REBUFFERING_REASON="rebuffering",f.USER_REQUEST_STOP_REASON="user_request",f.END_OF_PERIOD_STOP_REASON="end_of_period",f.END_OF_CONTENT_STOP_REASON="end_of_content",f.METRICS_COLLECTION_STOP_REASON="metrics_collection_end",f.FAILURE_STOP_REASON="failure",c.PlayList=e,c.PlayListTrace=f},{}],236:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.t=null,this.mt=null,this.to=null,this.lto=null};c.default=e,b.exports=c.default},{}],237:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.loadingRequests=[],this.executedRequests=[]};c.default=e,b.exports=c.default},{}],238:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.mediaType=null,this.t=null,this.type=null,this.startTime=null,this.availabilityStartTime=null,this.duration=null,this.qual
36ity=null,this.range=null,this.state=null};c.default=e,b.exports=c.default},{}],239:[function(a,b,c){"use strict";function d(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(c,"__esModule",{value:!0});var e=function a(){d(this,a),this.tcpid=null,this.dest=null,this.topen=null,this.tclose=null,this.tconnect=null};c.default=e,b.exports=c.default},{}]},{},[4]);
37//# sourceMappingURL=dash.all.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.