!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=2)}([function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";var n=r(0)(r(3)),o=null;addEventListener("message",function(e){var t,r=e.data;switch(r.type){case"sdpInfo":!function(e){for(var t=0;t>>8*(o-1-i)&255;else for(var a=0;a>>8*a&255;return n}function p(){r=new o.default}return p.prototype={setSampleRate:function(e){r.setSampleRate(e)},getRTPPacket:function(o){var p=r.encode(o),c=0;(t=new Uint8Array(n.length+40+p.length+8)).set([36,e],c),c+=2,t.set(l(40+p.length+8,4,!0),c),c+=4,t.set(i,c),c+=4,t.set([240],c),c+=1,t.set([0],c),c+=1,t.set([1],c),c+=1,t.set([0],c),c+=1,u>65535&&(u=240),t.set(l(u),c),c+=4,u++;var h=l(40+p.length+8);t.set(h,c),c+=4;var d=new Date,g=(d.getFullYear()-2e3<<26)+(d.getMonth()+1<<22)+(d.getDate()<<17)+(d.getHours()<<12)+(d.getMinutes()<<6)+d.getSeconds(),v=d.getTime(),m=null===f?0:v-f;f=v,(s+=m)>65535&&(s=65535-s),t.set(l(g),c),c+=4,t.set(l(s,2),c),c+=2,t.set([16],c),c+=1;var E=function(e,t){for(var r=0,n=t;n=0?n=213:(n=85,e=-e-8),(i=function(e,t){for(var r=0,n=t.length;r=8?127^n:(a=i<>4&r:e>>i+3&r)^n)}function s(){}return s.prototype={setSampleRate:function(t){e=t},encode:function(t){var r=null;null!==a?((r=new Float32Array(t.length+a.length)).set(a,0),r.set(t,a.length)):r=t,r=function(t,r){if(r===e)return t;r>e&&n.debug.log("The rate of device show be smaller than local sample rate");for(var o=e/r,i=Math.floor(t.length/o),u=new Float32Array(i),s=0,f=0;s-1||e.indexOf("edge/")>-1?(r="ie","Microsoft Internet Explorer"===t?(e=/msie ([0-9]{1,}[\.0-9]{0,})/.exec(e),r+=parseInt(e[1])):e.indexOf("trident")>-1?r+=11:e.indexOf("edge/")>-1&&(r="edge")):e.indexOf("safari")>-1?r=e.indexOf("chrome")>-1?"chrome":"safari":e.indexOf("firefox")>-1&&(r="firefox");return r},t.BrowserDetectDetail=function(){var e=navigator.userAgent.toLowerCase(),t=navigator.platform.toLowerCase(),r=e.match(/(opera|ie|trident|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|rv:(\d.?)|$)/)||[null,"unknown",0],n=("ie"==r[1]||"trident"==r[1])&&document.documentMode,o={name:"version"==r[1]?r[3]:"trident"==r[1]?"ie":r[1],version:n||parseFloat("opera"==r[1]&&r[4]?r[4]:"trident"==r[1]&&r[5]?r[5]:r[2]),Platform:{name:e.match(/ip(?:ad|od|hone)/)?"ios":(e.match(/(?:webos|android)/)||t.match(/mac|win|linux/)||["other"])[0]}};o[o.name]=!0,o[o.name+parseInt(o.version,10)]=!0,o.Platform[o.Platform.name]=!0,o.Platform.ios&&(o.Platform.ipod=!0);o.Engine={};var i=function(e,t){o.Engine.name=e,o.Engine[e+t]=!0,o.Engine.version=t};if(o.ie)switch(o.Engine.trident=!0,o.version){case 6:i("trident",4);break;case 7:i("trident",5);break;case 8:i("trident",6)}o.firefox&&(o.Engine.gecko=!0,o.version>=3?i("gecko",19):i("gecko",18));if(o.safari||o.chrome)switch(o.Engine.webkit=!0,o.version){case 2:i("webkit",419);break;case 3:i("webkit",420);break;case 4:i("webkit",525)}o.opera&&(o.Engine.presto=!0,o.version>=9.6?i("presto",960):o.version>=9.5?i("presto",950):i("presto",925));if("unknown"==o.name)switch((e.match(/(?:webkit|khtml|gecko)/)||[])[0]){case"webkit":case"khtml":o.Engine.webkit=!0;break;case"gecko":o.Engine.gecko=!0}return o},t.CommonAudioUtil=function(){var e=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384],t=function(e,t,r){var n=0,o=0;for(n=0;n0?r:8191&-r,e,15)-6,a=i+(n>>6&15)-13,u=(0===o?32:i>=0?o>>i:o<<-i)*(n&parseInt("077",8))+48>>4,s=a>=0?u<>-a,(r^n)<0?-s:s};this.g726InitState=function(){var e={},t=0;for(e.pp=new Array(2),e.zp=new Array(6),e.pk=new Array(2),e.dq=new Array(6),e.sr=new Array(2),e.yl=34816,e.yu=544,e.dms=0,e.dml=0,e.ppp=0,t=0;t<2;t++)e.pp[t]=0,e.pk[t]=0,e.sr[t]=32;for(t=0;t<6;t++)e.zp[t]=0,e.dq[t]=32;return e.td=0,e},this.predictorZero=function(e){var t=0,n=0;for(n=r(e.zp[0]>>2,e.dq[0]),t=1;t<6;t++)n+=r(e.zp[t]>>2,e.dq[t]);return n},this.predictorPole=function(e){return r(e.pp[1]>>2,e.sr[1])+r(e.pp[0]>>2,e.sr[0])},this.stepSize=function(e){var t=0,r=0,n=0;return e.ppp>=256?e.yu:(t=e.yl>>6,r=e.yu-t,n=e.ppp>>2,r>0?t+=r*n>>6:r<0&&(t+=r*n+63>>6),t)},this.quantize=function(r,n,o,i){var a=0,u=0,s=0;return a=Math.abs(r),u=t(a>>1,e,15),s=t((u<<7)+(a<<7>>u&127)-(n>>2),o,i),r<0?1+(i<<1)-s:0===s?1+(i<<1):s},this.reconstruct=function(e,t,r){var n=0,o=0;return(n=t+(r>>2))<0?e?-32768:0:(o=128+(127&n)<<7>>14-(n>>7&15),e?o-32768:o)},this.update=function(r,n,o,i,a,u,s,f){var l=0,p=0,c=0,h=0,d=0,g=0,v=0,m=0,E=0,y=0,_=0,T=0,x=0,b=0;if(b=s<0?1:0,p=32767&a,E=f.yl>>15,T=f.yl>>10&31,x=32+T<9?31744:x)+(y>>1)>>1,m=0===f.td?0:p<=_?0:1,f.yu=n+(o-n>>5),f.yu<544?f.yu=544:f.yu>5120&&(f.yu=5120),f.yl+=f.yu+(-f.yl>>6),1===m)f.pp[0]=0,f.pp[1]=0,f.zp[0]=0,f.zp[1]=0,f.zp[2]=0,f.zp[3]=0,f.zp[4]=0,f.zp[5]=0,h=0;else for(g=b^f.pk[0],h=f.pp[1]-(f.pp[1]>>7),0!==s&&((v=g?f.pp[0]:-f.pp[0])<-8191?h-=256:h+=v>8191?255:v>>5,b^f.pk[1]?h<=-12160?h=-12288:h>=12416?h=12288:h-=128:h<=-12416?h=-12288:h>=12160?h=12288:h+=128),f.pp[1]=h,f.pp[0]-=f.pp[0]>>8,0!==s&&(0===g?f.pp[0]+=192:f.pp[0]-=192),d=15360-h,f.pp[0]<-d?f.pp[0]=-d:f.pp[0]>d&&(f.pp[0]=d),l=0;l<6;l++)f.zp[l]-=5===r?f.zp[l]>>9:f.zp[l]>>8,32767&a&&((a^f.dq[l])>=0?f.zp[l]+=128:f.zp[l]-=128);for(l=5;l>0;l--)f.dq[l]=f.dq[l-1];return 0===p?f.dq[0]=a>=0?32:64544:(c=t(p,e,15),f.dq[0]=a>=0?(c<<6)+(p<<6>>c):(c<<6)+(p<<6>>c)-1024),f.sr[1]=f.sr[0],0===u?f.sr[0]=32:u>0?(c=t(u,e,15),f.sr[0]=(c<<6)+(u<<6>>c)):u>-32768?(c=t(p=-u,e,15),f.sr[0]=(c<<6)+(p<<6>>c)-1024):f.sr[0]=64544,f.pk[1]=f.pk[0],f.pk[0]=b,f.td=1===m?0:h<-11776?1:0,f.dms+=i-f.dms>>5,f.dml+=(i<<2)-f.dml>>7,1===m?f.ppp=256:n<1536?f.ppp+=512-f.ppp>>4:1===f.td?f.ppp+=512-f.ppp>>4:Math.abs((f.dms<<2)-f.dml)>=f.dml>>3?f.ppp+=512-f.ppp>>4:f.ppp+=-f.ppp>>4,f}},t.Texture=t.Shader=t.Script=t.Queue=t.Program=t.PLAYER_STATE_CODE=void 0,t.VideoBufferList=function(){var e=0,t=0,r=null;function n(){e=360,t=240,r=null,this._length=0,this.head=null,this.tail=null,this.curIdx=0}return n.prototype={push:function(e,n,o,i,a,u){var s=new VideoBufferNode(e,n,o,i,a,u);return this._length>0?(this.tail.next=s,s.previous=this.tail,this.tail=s):(this.head=s,this.tail=s),this._length+=1,null!==r&&this._length>=t&&r(),s},pop:function(){var e=null;return this._length>1&&(e=this.head,this.head=this.head.next,null!==this.head?this.head.previous=null:this.tail=null,this._length-=1),e},setMaxLength:function(t){(e=t)>360?e=360:e<30&&(e=30)},setBUFFERING:function(e){(t=e)>240?t=240:t<6&&(t=6)},setBufferFullCallback:function(e){r=e},searchTimestamp:function(e){var t=this.head,r=this._length,n=1;if(0===r||e<=0||null===t)throw new Error("Failure: non-existent node in this list.");for(;null!==t&&(t.timeStamp.timestamp!==e.timestamp||t.timeStamp.timestamp_usec!==e.timestamp_usec);)t=t.next,n++;return r>>0).toString(16);return"00000000".substr(0,8-t.length)+t}function r(e,t,r){return e&t|~e&r}function n(e,t,r){return r&e|~r&t}function i(e,t,r){return e^t^r}function a(e,t,r){return t^(e|~r)}function u(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]}function s(e){for(var t=[],r=0;r>>32-i),v=a}var o=l.length;l.push(128);var s=l.length%64;if(s>56){for(var f=0;f<64-s;f++)l.push(0);s=l.length%64}for(f=0;f<56-s;f++)l.push(0);l=l.concat(function(e){for(var t=[],r=0;r<8;r++)t.push(255&e),e>>>=8;return t}(8*o));var p=1732584193,h=4023233417,d=2562383102,g=271733878,v=0,m=0,E=0,y=0;for(f=0;f=0;s--)a=255&(u=arguments[s]),a<<=8,a|=255&(u>>>=8),a<<=8,a|=255&(u>>>=8),a<<=8,i+=t(a|=u>>>=8);return i}(g,d,h,p).toUpperCase()}()};t.default=function(e){return i.MD5(e)}}]);