!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).TXLivePlayer=e()}(this,(function(){"use strict";function t(t,e){return e.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(r){if("default"!==r&&!(r in t)){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}))})),Object.freeze(t)}var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function r(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var n=function(t){try{return!!t()}catch(t){return!0}},i=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),o=i,a=Function.prototype,s=a.bind,c=a.call,u=o&&s.bind(c,c),l=o?function(t){return t&&u(t)}:function(t){return t&&function(){return c.apply(t,arguments)}},d=l({}.isPrototypeOf),p=function(t){return t&&t.Math==Math&&t},f=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof e&&e)||function(){return this}()||Function("return this")(),h=i,m=Function.prototype,v=m.apply,y=m.call,g="object"==typeof Reflect&&Reflect.apply||(h?y.bind(v):function(){return y.apply(v,arguments)}),b=function(t){return"function"==typeof t},C={},S=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),T=i,_=Function.prototype.call,R=T?_.bind(_):function(){return _.apply(_,arguments)},E={},w={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,k=P&&!w.call({1:2},1);E.f=k?function(t){var e=P(this,t);return!!e&&e.enumerable}:w;var A,I,x=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},L=l,D=L({}.toString),N=L("".slice),O=function(t){return N(D(t),8,-1)},M=n,U=O,V=Object,F=l("".split),j=M((function(){return!V("z").propertyIsEnumerable(0)}))?function(t){return"String"==U(t)?F(t,""):V(t)}:V,B=TypeError,W=function(t){if(null==t)throw B("Can't call method on "+t);return t},G=j,Z=W,Y=function(t){return G(Z(t))},H=b,J=function(t){return"object"==typeof t?null!==t:H(t)},X={},K=X,q=f,Q=b,z=function(t){return Q(t)?t:void 0},$=function(t,e){return arguments.length<2?z(K[t])||z(q[t]):K[t]&&K[t][e]||q[t]&&q[t][e]},tt=$("navigator","userAgent")||"",et=f,rt=tt,nt=et.process,it=et.Deno,ot=nt&&nt.versions||it&&it.version,at=ot&&ot.v8;at&&(I=(A=at.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!I&&rt&&(!(A=rt.match(/Edge\/(\d+)/))||A[1]>=74)&&(A=rt.match(/Chrome\/(\d+)/))&&(I=+A[1]);var st=I,ct=st,ut=n,lt=!!Object.getOwnPropertySymbols&&!ut((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ct&&ct<41})),dt=lt&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,pt=$,ft=b,ht=d,mt=Object,vt=dt?function(t){return"symbol"==typeof t}:function(t){var e=pt("Symbol");return ft(e)&&ht(e.prototype,mt(t))},yt=String,gt=function(t){try{return yt(t)}catch(t){return"Object"}},bt=b,Ct=gt,St=TypeError,Tt=function(t){if(bt(t))return t;throw St(Ct(t)+" is not a function")},_t=Tt,Rt=function(t,e){var r=t[e];return null==r?void 0:_t(r)},Et=R,wt=b,Pt=J,kt=TypeError,At={exports:{}},It=f,xt=Object.defineProperty,Lt=function(t,e){try{xt(It,t,{value:e,configurable:!0,writable:!0})}catch(r){It[t]=e}return e},Dt="__core-js_shared__",Nt=f[Dt]||Lt(Dt,{}),Ot=Nt;(At.exports=function(t,e){return Ot[t]||(Ot[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.23.3",mode:"pure",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.23.3/LICENSE",source:"https://github.com/zloirock/core-js"});var Mt=W,Ut=Object,Vt=function(t){return Ut(Mt(t))},Ft=Vt,jt=l({}.hasOwnProperty),Bt=Object.hasOwn||function(t,e){return jt(Ft(t),e)},Wt=l,Gt=0,Zt=Math.random(),Yt=Wt(1..toString),Ht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Yt(++Gt+Zt,36)},Jt=f,Xt=At.exports,Kt=Bt,qt=Ht,Qt=lt,zt=dt,$t=Xt("wks"),te=Jt.Symbol,ee=te&&te.for,re=zt?te:te&&te.withoutSetter||qt,ne=function(t){if(!Kt($t,t)||!Qt&&"string"!=typeof $t[t]){var e="Symbol."+t;Qt&&Kt(te,t)?$t[t]=te[t]:$t[t]=zt&&ee?ee(e):re(e)}return $t[t]},ie=R,oe=J,ae=vt,se=Rt,ce=function(t,e){var r,n;if("string"===e&&wt(r=t.toString)&&!Pt(n=Et(r,t)))return n;if(wt(r=t.valueOf)&&!Pt(n=Et(r,t)))return n;if("string"!==e&&wt(r=t.toString)&&!Pt(n=Et(r,t)))return n;throw kt("Can't convert object to primitive value")},ue=TypeError,le=ne("toPrimitive"),de=function(t,e){if(!oe(t)||ae(t))return t;var r,n=se(t,le);if(n){if(void 0===e&&(e="default"),r=ie(n,t,e),!oe(r)||ae(r))return r;throw ue("Can't convert object to primitive value")}return void 0===e&&(e="number"),ce(t,e)},pe=vt,fe=function(t){var e=de(t,"string");return pe(e)?e:e+""},he=J,me=f.document,ve=he(me)&&he(me.createElement),ye=function(t){return ve?me.createElement(t):{}},ge=ye,be=!S&&!n((function(){return 7!=Object.defineProperty(ge("div"),"a",{get:function(){return 7}}).a})),Ce=S,Se=R,Te=E,_e=x,Re=Y,Ee=fe,we=Bt,Pe=be,ke=Object.getOwnPropertyDescriptor;C.f=Ce?ke:function(t,e){if(t=Re(t),e=Ee(e),Pe)try{return ke(t,e)}catch(t){}if(we(t,e))return _e(!Se(Te.f,t,e),t[e])};var Ae=n,Ie=b,xe=/#|\.prototype\./,Le=function(t,e){var r=Ne[De(t)];return r==Me||r!=Oe&&(Ie(e)?Ae(e):!!e)},De=Le.normalize=function(t){return String(t).replace(xe,".").toLowerCase()},Ne=Le.data={},Oe=Le.NATIVE="N",Me=Le.POLYFILL="P",Ue=Le,Ve=Tt,Fe=i,je=l(l.bind),Be=function(t,e){return Ve(t),void 0===e?t:Fe?je(t,e):function(){return t.apply(e,arguments)}},We={},Ge=S&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Ze=J,Ye=String,He=TypeError,Je=function(t){if(Ze(t))return t;throw He(Ye(t)+" is not an object")},Xe=S,Ke=be,qe=Ge,Qe=Je,ze=fe,$e=TypeError,tr=Object.defineProperty,er=Object.getOwnPropertyDescriptor,rr="enumerable",nr="configurable",ir="writable";We.f=Xe?qe?function(t,e,r){if(Qe(t),e=ze(e),Qe(r),"function"==typeof t&&"prototype"===e&&"value"in r&&ir in r&&!r.writable){var n=er(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:nr in r?r.configurable:n.configurable,enumerable:rr in r?r.enumerable:n.enumerable,writable:!1})}return tr(t,e,r)}:tr:function(t,e,r){if(Qe(t),e=ze(e),Qe(r),Ke)try{return tr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw $e("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var or=We,ar=x,sr=S?function(t,e,r){return or.f(t,e,ar(1,r))}:function(t,e,r){return t[e]=r,t},cr=f,ur=g,lr=l,dr=b,pr=C.f,fr=Ue,hr=X,mr=Be,vr=sr,yr=Bt,gr=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return ur(t,this,arguments)};return e.prototype=t.prototype,e},br=function(t,e){var r,n,i,o,a,s,c,u,l=t.target,d=t.global,p=t.stat,f=t.proto,h=d?cr:p?cr[l]:(cr[l]||{}).prototype,m=d?hr:hr[l]||vr(hr,l,{})[l],v=m.prototype;for(i in e)r=!fr(d?i:l+(p?".":"#")+i,t.forced)&&h&&yr(h,i),a=m[i],r&&(s=t.dontCallGetSet?(u=pr(h,i))&&u.value:h[i]),o=r&&s?s:e[i],r&&typeof a==typeof o||(c=t.bind&&r?mr(o,cr):t.wrap&&r?gr(o):f&&dr(o)?lr(o):o,(t.sham||o&&o.sham||a&&a.sham)&&vr(c,"sham",!0),vr(m,i,c),f&&(yr(hr,n=l+"Prototype")||vr(hr,n,{}),vr(hr[n],i,o),t.real&&v&&!v[i]&&vr(v,i,o)))},Cr=l([].slice),Sr=l,Tr=Tt,_r=J,Rr=Bt,Er=Cr,wr=i,Pr=Function,kr=Sr([].concat),Ar=Sr([].join),Ir={},xr=function(t,e,r){if(!Rr(Ir,e)){for(var n=[],i=0;i0?Zr:Gr)(e)},Hr=function(t){var e=+t;return e!=e||0===e?0:Yr(e)},Jr=Hr,Xr=Math.min,Kr=function(t){return t>0?Xr(Jr(t),9007199254740991):0},qr=Kr,Qr=function(t){return qr(t.length)},zr=TypeError,$r=function(t){if(t>9007199254740991)throw zr("Maximum allowed index exceeded");return t},tn=fe,en=We,rn=x,nn=function(t,e,r){var n=tn(e);n in t?en.f(t,n,rn(0,r)):t[n]=r},on={};on[ne("toStringTag")]="z";var an="[object z]"===String(on),sn=an,cn=b,un=O,ln=ne("toStringTag"),dn=Object,pn="Arguments"==un(function(){return arguments}()),fn=sn?un:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=dn(t),ln))?r:pn?un(e):"Object"==(n=un(e))&&cn(e.callee)?"Arguments":n},hn=b,mn=Nt,vn=l(Function.toString);hn(mn.inspectSource)||(mn.inspectSource=function(t){return vn(t)});var yn=mn.inspectSource,gn=l,bn=n,Cn=b,Sn=fn,Tn=yn,_n=function(){},Rn=[],En=$("Reflect","construct"),wn=/^\s*(?:class|function)\b/,Pn=gn(wn.exec),kn=!wn.exec(_n),An=function(t){if(!Cn(t))return!1;try{return En(_n,Rn,t),!0}catch(t){return!1}},In=function(t){if(!Cn(t))return!1;switch(Sn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return kn||!!Pn(wn,Tn(t))}catch(t){return!0}};In.sham=!0;var xn=!En||bn((function(){var t;return An(An.call)||!An(Object)||!An((function(){t=!0}))||t}))?In:An,Ln=Wr,Dn=xn,Nn=J,On=ne("species"),Mn=Array,Un=function(t){var e;return Ln(t)&&(e=t.constructor,(Dn(e)&&(e===Mn||Ln(e.prototype))||Nn(e)&&null===(e=e[On]))&&(e=void 0)),void 0===e?Mn:e},Vn=function(t,e){return new(Un(t))(0===e?0:e)},Fn=n,jn=st,Bn=ne("species"),Wn=function(t){return jn>=51||!Fn((function(){var e=[];return(e.constructor={})[Bn]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},Gn=br,Zn=n,Yn=Wr,Hn=J,Jn=Vt,Xn=Qr,Kn=$r,qn=nn,Qn=Vn,zn=Wn,$n=st,ti=ne("isConcatSpreadable"),ei=$n>=51||!Zn((function(){var t=[];return t[ti]=!1,t.concat()[0]!==t})),ri=zn("concat"),ni=function(t){if(!Hn(t))return!1;var e=t[ti];return void 0!==e?!!e:Yn(t)};Gn({target:"Array",proto:!0,arity:1,forced:!ei||!ri},{concat:function(t){var e,r,n,i,o,a=Jn(this),s=Qn(a,0),c=0;for(e=-1,n=arguments.length;es;)if((i=o[s++])!=i)return!0}else for(;a>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},yi={includes:vi(!0),indexOf:vi(!1)},gi=yi.includes;br({target:"Array",proto:!0,forced:n((function(){return!Array(1).includes()}))},{includes:function(t){return gi(this,t,arguments.length>1?arguments[1]:void 0)}});var bi=Or("Array").includes,Ci=J,Si=O,Ti=ne("match"),_i=function(t){var e;return Ci(t)&&(void 0!==(e=t[Ti])?!!e:"RegExp"==Si(t))},Ri=TypeError,Ei=function(t){if(_i(t))throw Ri("The method doesn't accept regular expressions");return t},wi=fn,Pi=String,ki=function(t){if("Symbol"===wi(t))throw TypeError("Cannot convert a Symbol value to a string");return Pi(t)},Ai=ne("match"),Ii=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[Ai]=!1,"/./"[t](e)}catch(t){}}return!1},xi=br,Li=Ei,Di=W,Ni=ki,Oi=Ii,Mi=l("".indexOf);xi({target:"String",proto:!0,forced:!Oi("includes")},{includes:function(t){return!!~Mi(Ni(Di(this)),Ni(Li(t)),arguments.length>1?arguments[1]:void 0)}});var Ui,Vi,Fi,ji=Or("String").includes,Bi=d,Wi=bi,Gi=ji,Zi=Array.prototype,Yi=String.prototype,Hi=function(t){var e=t.includes;return t===Zi||Bi(Zi,t)&&e===Zi.includes?Wi:"string"==typeof t||t===Yi||Bi(Yi,t)&&e===Yi.includes?Gi:e},Ji={},Xi=b,Ki=yn,qi=f.WeakMap,Qi=Xi(qi)&&/native code/.test(Ki(qi)),zi=At.exports,$i=Ht,to=zi("keys"),eo=function(t){return to[t]||(to[t]=$i(t))},ro={},no=Qi,io=f,oo=l,ao=J,so=sr,co=Bt,uo=Nt,lo=eo,po=ro,fo="Object already initialized",ho=io.TypeError,mo=io.WeakMap;if(no||uo.state){var vo=uo.state||(uo.state=new mo),yo=oo(vo.get),go=oo(vo.has),bo=oo(vo.set);Ui=function(t,e){if(go(vo,t))throw new ho(fo);return e.facade=t,bo(vo,t,e),e},Vi=function(t){return yo(vo,t)||{}},Fi=function(t){return go(vo,t)}}else{var Co=lo("state");po[Co]=!0,Ui=function(t,e){if(co(t,Co))throw new ho(fo);return e.facade=t,so(t,Co,e),e},Vi=function(t){return co(t,Co)?t[Co]:{}},Fi=function(t){return co(t,Co)}}var So={set:Ui,get:Vi,has:Fi,enforce:function(t){return Fi(t)?Vi(t):Ui(t,{})},getterFor:function(t){return function(e){var r;if(!ao(e)||(r=Vi(e)).type!==t)throw ho("Incompatible receiver, "+t+" required");return r}}},To=S,_o=Bt,Ro=Function.prototype,Eo=To&&Object.getOwnPropertyDescriptor,wo=_o(Ro,"name"),Po={EXISTS:wo,PROPER:wo&&"something"===function(){}.name,CONFIGURABLE:wo&&(!To||To&&Eo(Ro,"name").configurable)},ko={},Ao=Bt,Io=Y,xo=yi.indexOf,Lo=ro,Do=l([].push),No=function(t,e){var r,n=Io(t),i=0,o=[];for(r in n)!Ao(Lo,r)&&Ao(n,r)&&Do(o,r);for(;e.length>i;)Ao(n,r=e[i++])&&(~xo(o,r)||Do(o,r));return o},Oo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Mo=No,Uo=Oo,Vo=Object.keys||function(t){return Mo(t,Uo)},Fo=S,jo=Ge,Bo=We,Wo=Je,Go=Y,Zo=Vo;ko.f=Fo&&!jo?Object.defineProperties:function(t,e){Wo(t);for(var r,n=Go(e),i=Zo(e),o=i.length,a=0;o>a;)Bo.f(t,r=i[a++],n[r]);return t};var Yo,Ho=$("document","documentElement"),Jo=Je,Xo=ko,Ko=Oo,qo=ro,Qo=Ho,zo=ye,$o=eo("IE_PROTO"),ta=function(){},ea=function(t){return"