!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=2)}([function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(e){return t.exports=r="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},t.exports.__esModule=!0,t.exports.default=t.exports,r(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";var n=r(0)(r(3)),o=null;addEventListener("message",function(t){var e,r=t.data;switch(r.type){case"sdpInfo":!function(t){for(var e=0;e>>8*(o-1-i)&255;else for(var u=0;u>>8*u&255;return n}function p(){r=new o.default}return p.prototype={setSampleRate:function(t){r.setSampleRate(t)},getRTPPacket:function(o){var p=r.encode(o),c=0;(e=new Uint8Array(n.length+40+p.length+8)).set([36,t],c),c+=2,e.set(l(40+p.length+8,4,!0),c),c+=4,e.set(i,c),c+=4,e.set([240],c),c+=1,e.set([0],c),c+=1,e.set([1],c),c+=1,e.set([0],c),c+=1,a>65535&&(a=240),e.set(l(a),c),c+=4,a++;var h=l(40+p.length+8);e.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(),y=null===f?0:v-f;f=v,(s+=y)>65535&&(s=65535-s),e.set(l(g),c),c+=4,e.set(l(s,2),c),c+=2,e.set([16],c),c+=1;var m=function(t,e){for(var r=0,n=e;n=0?n=213:(n=85,t=-t-8),(i=function(t,e){for(var r=0,n=e.length;r=8?127^n:(u=i<>4&r:t>>i+3&r)^n)}function s(){}return s.prototype={setSampleRate:function(e){t=e},encode:function(e){var r=null;null!==u?((r=new Float32Array(e.length+u.length)).set(u,0),r.set(e,u.length)):r=e,r=function(e,r){if(r===t)return e;r>t&&n.debug.log("The rate of device show be smaller than local sample rate");for(var o=t/r,i=Math.floor(e.length/o),a=new Float32Array(i),s=0,f=0;s-1||t.indexOf("edge/")>-1?(r="ie","Microsoft Internet Explorer"===e?(t=/msie ([0-9]{1,}[\.0-9]{0,})/.exec(t),r+=parseInt(t[1])):t.indexOf("trident")>-1?r+=11:t.indexOf("edge/")>-1&&(r="edge")):t.indexOf("safari")>-1?r=t.indexOf("chrome")>-1?"chrome":"safari":t.indexOf("firefox")>-1&&(r="firefox");return r},e.CommonAudioUtil=function(){var t=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384],e=function(t,e,r){var n=0,o=0;for(n=0;n0?r:8191&-r,t,15)-6,u=i+(n>>6&15)-13,a=(0===o?32:i>=0?o>>i:o<<-i)*(n&parseInt("077",8))+48>>4,s=u>=0?a<>-u,(r^n)<0?-s:s};this.g726InitState=function(){var t={},e=0;for(t.pp=new Array(2),t.zp=new Array(6),t.pk=new Array(2),t.dq=new Array(6),t.sr=new Array(2),t.yl=34816,t.yu=544,t.dms=0,t.dml=0,t.ppp=0,e=0;e<2;e++)t.pp[e]=0,t.pk[e]=0,t.sr[e]=32;for(e=0;e<6;e++)t.zp[e]=0,t.dq[e]=32;return t.td=0,t},this.predictorZero=function(t){var e=0,n=0;for(n=r(t.zp[0]>>2,t.dq[0]),e=1;e<6;e++)n+=r(t.zp[e]>>2,t.dq[e]);return n},this.predictorPole=function(t){return r(t.pp[1]>>2,t.sr[1])+r(t.pp[0]>>2,t.sr[0])},this.stepSize=function(t){var e=0,r=0,n=0;return t.ppp>=256?t.yu:(e=t.yl>>6,r=t.yu-e,n=t.ppp>>2,r>0?e+=r*n>>6:r<0&&(e+=r*n+63>>6),e)},this.quantize=function(r,n,o,i){var u=0,a=0,s=0;return u=Math.abs(r),a=e(u>>1,t,15),s=e((a<<7)+(u<<7>>a&127)-(n>>2),o,i),r<0?1+(i<<1)-s:0===s?1+(i<<1):s},this.reconstruct=function(t,e,r){var n=0,o=0;return(n=e+(r>>2))<0?t?-32768:0:(o=128+(127&n)<<7>>14-(n>>7&15),t?o-32768:o)},this.update=function(r,n,o,i,u,a,s,f){var l=0,p=0,c=0,h=0,d=0,g=0,v=0,y=0,m=0,x=0,T=0,_=0,E=0,b=0;if(b=s<0?1:0,p=32767&u,m=f.yl>>15,_=f.yl>>10&31,E=32+_<9?31744:E)+(x>>1)>>1,y=0===f.td?0:p<=T?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===y)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&u&&((u^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]=u>=0?32:64544:(c=e(p,t,15),f.dq[0]=u>=0?(c<<6)+(p<<6>>c):(c<<6)+(p<<6>>c)-1024),f.sr[1]=f.sr[0],0===a?f.sr[0]=32:a>0?(c=e(a,t,15),f.sr[0]=(c<<6)+(a<<6>>c)):a>-32768?(c=e(p=-a,t,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===y?0:h<-11776?1:0,f.dms+=i-f.dms>>5,f.dml+=(i<<2)-f.dml>>7,1===y?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}},e.Texture=e.Shader=e.Script=e.Queue=e.Program=void 0,e.VideoBufferList=function(){var t=0,e=0,r=null;function n(){t=360,e=240,r=null,this._length=0,this.head=null,this.tail=null,this.curIdx=0}return n.prototype={push:function(t,n,o,i,u,a){var s=new VideoBufferNode(t,n,o,i,u,a);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>=e&&r(),s},pop:function(){var t=null;return this._length>1&&(t=this.head,this.head=this.head.next,null!==this.head?this.head.previous=null:this.tail=null,this._length-=1),t},setMaxLength:function(e){(t=e)>360?t=360:t<30&&(t=30)},setBUFFERING:function(t){(e=t)>240?e=240:e<6&&(e=6)},setBufferFullCallback:function(t){r=t},searchTimestamp:function(t){var e=this.head,r=this._length,n=1;if(0===r||t<=0||null===e)throw new Error("Failure: non-existent node in this list.");for(;null!==e&&(e.timeStamp.timestamp!==t.timestamp||e.timeStamp.timestamp_usec!==t.timestamp_usec);)e=e.next,n++;return r>>0).toString(16);return"00000000".substr(0,8-e.length)+e}function r(t,e,r){return t&e|~t&r}function n(t,e,r){return r&t|~r&e}function i(t,e,r){return t^e^r}function u(t,e,r){return e^(t|~r)}function a(t,e){return t[e+3]<<24|t[e+2]<<16|t[e+1]<<8|t[e]}function s(t){for(var e=[],r=0;r>>32-i),v=u}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(t){for(var e=[],r=0;r<8;r++)e.push(255&t),t>>>=8;return e}(8*o));var p=1732584193,h=4023233417,d=2562383102,g=271733878,v=0,y=0,m=0,x=0;for(f=0;f=0;s--)u=255&(a=arguments[s]),u<<=8,u|=255&(a>>>=8),u<<=8,u|=255&(a>>>=8),u<<=8,i+=e(u|=a>>>=8);return i}(g,d,h,p).toUpperCase()}()};e.default=function(t){return i.MD5(t)}}]);