UNPKG

zego-express-engine-webrtc

Version:

zego webrtc express sdk

1 lines 1.83 MB
!function(t,i){if("object"==typeof exports&&"object"==typeof module)module.exports=i(require("long"),require("protobufjs/minimal"),require("zego-express-logger"),require("localforage"));else if("function"==typeof define&&define.amd)define(["long","protobufjs/minimal","zego-express-logger","localforage"],i);else{var n="object"==typeof exports?i(require("long"),require("protobufjs/minimal"),require("zego-express-logger"),require("localforage")):i(t.long,t["protobufjs/minimal"],t["zego-express-logger"],t.localforage);for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}("undefined"!=typeof self?self:this,(function(t,i,n,e){return function(){var r={955:function(t,i,n){var e;t.exports=(e=n(9021),n(754),n(4636),n(9506),n(7165),function(){var t=e,i=t.lib.BlockCipher,n=t.algo,r=[],s=[],o=[],u=[],a=[],c=[],h=[],f=[],l=[],d=[];!function(){for(var t=[],i=0;i<256;i++)t[i]=i<128?i<<1:i<<1^283;var n=0,e=0;for(i=0;i<256;i++){var v=e^e<<1^e<<2^e<<3^e<<4;r[n]=v=v>>>8^255&v^99,s[v]=n;var m,p=t[n],g=t[p],b=t[g];o[n]=(m=257*t[v]^16843008*v)<<24|m>>>8,u[n]=m<<16|m>>>16,a[n]=m<<8|m>>>24,c[n]=m,h[v]=(m=16843009*b^65537*g^257*p^16843008*n)<<24|m>>>8,f[v]=m<<16|m>>>16,l[v]=m<<8|m>>>24,d[v]=m,n?(n=p^t[t[t[b^p]]],e^=t[t[e]]):n=e=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],m=n.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,i=t.words,n=t.sigBytes/4,e=4*((this._nRounds=n+6)+1),s=this._keySchedule=[],o=0;o<e;o++)o<n?s[o]=i[o]:(c=s[o-1],o%n?n>6&&o%n==4&&(c=r[c>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c]):(c=r[(c=c<<8|c>>>24)>>>24]<<24|r[c>>>16&255]<<16|r[c>>>8&255]<<8|r[255&c],c^=v[o/n|0]<<24),s[o]=s[o-n]^c);for(var u=this._invKeySchedule=[],a=0;a<e;a++){if(o=e-a,a%4)var c=s[o];else c=s[o-4];u[a]=a<4||o<=4?c:h[r[c>>>24]]^f[r[c>>>16&255]]^l[r[c>>>8&255]]^d[r[255&c]]}}},encryptBlock:function(t,i){this._doCryptBlock(t,i,this._keySchedule,o,u,a,c,r)},decryptBlock:function(t,i){var n=t[i+1];t[i+1]=t[i+3],t[i+3]=n,this._doCryptBlock(t,i,this._invKeySchedule,h,f,l,d,s),n=t[i+1],t[i+1]=t[i+3],t[i+3]=n},_doCryptBlock:function(t,i,n,e,r,s,o,u){for(var a=this._nRounds,c=t[i]^n[0],h=t[i+1]^n[1],f=t[i+2]^n[2],l=t[i+3]^n[3],d=4,v=1;v<a;v++){var m=e[c>>>24]^r[h>>>16&255]^s[f>>>8&255]^o[255&l]^n[d++],p=e[h>>>24]^r[f>>>16&255]^s[l>>>8&255]^o[255&c]^n[d++],g=e[f>>>24]^r[l>>>16&255]^s[c>>>8&255]^o[255&h]^n[d++],b=e[l>>>24]^r[c>>>16&255]^s[h>>>8&255]^o[255&f]^n[d++];c=m,h=p,f=g,l=b}m=(u[c>>>24]<<24|u[h>>>16&255]<<16|u[f>>>8&255]<<8|u[255&l])^n[d++],p=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&c])^n[d++],g=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[255&h])^n[d++],b=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[255&f])^n[d++],t[i]=m,t[i+1]=p,t[i+2]=g,t[i+3]=b},keySize:8});t.AES=i._createHelper(m)}(),e.AES)},7165:function(t,i,n){var e;t.exports=(e=n(9021),n(9506),void(e.lib.Cipher||function(t){var i=e,n=i.lib,r=n.Base,s=n.WordArray,o=n.BufferedBlockAlgorithm,u=i.enc,a=u.Base64,c=i.algo.EvpKDF,h=n.Cipher=o.extend({cfg:r.extend(),createEncryptor:function(t,i){return this.create(this._ENC_XFORM_MODE,t,i)},createDecryptor:function(t,i){return this.create(this._DEC_XFORM_MODE,t,i)},init:function(t,i,n){this.cfg=this.cfg.extend(n),this._xformMode=t,this._key=i,this.reset()},reset:function(){o.reset.call(this),this._doReset()},process:function(t){return this._append(t),this._process()},finalize:function(t){return t&&this._append(t),this._doFinalize()},keySize:4,ivSize:4,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function t(t){return"string"==typeof t?_:g}return function(i){return{encrypt:function(n,e,r){return t(e).encrypt(i,n,e,r)},decrypt:function(n,e,r){return t(e).decrypt(i,n,e,r)}}}}()}),f=(n.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),i.mode={}),l=n.BlockCipherMode=r.extend({createEncryptor:function(t,i){return this.Encryptor.create(t,i)},createDecryptor:function(t,i){return this.Decryptor.create(t,i)},init:function(t,i){this._cipher=t,this._iv=i}}),d=f.CBC=function(){var i=l.extend();function n(i,n,e){var r,s=this._iv;s?(r=s,this._iv=t):r=this._prevBlock;for(var o=0;o<e;o++)i[n+o]^=r[o]}return i.Encryptor=i.extend({processBlock:function(t,i){var e=this._cipher,r=e.blockSize;n.call(this,t,i,r),e.encryptBlock(t,i),this._prevBlock=t.slice(i,i+r)}}),i.Decryptor=i.extend({processBlock:function(t,i){var e=this._cipher,r=e.blockSize,s=t.slice(i,i+r);e.decryptBlock(t,i),n.call(this,t,i,r),this._prevBlock=s}}),i}(),v=(i.pad={}).Pkcs7={pad:function(t,i){for(var n=4*i,e=n-t.sigBytes%n,r=e<<24|e<<16|e<<8|e,o=[],u=0;u<e;u+=4)o.push(r);var a=s.create(o,e);t.concat(a)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},m=(n.BlockCipher=h.extend({cfg:h.cfg.extend({mode:d,padding:v}),reset:function(){var t;h.reset.call(this);var i=this.cfg,n=i.iv,e=i.mode;this._xformMode==this._ENC_XFORM_MODE?t=e.createEncryptor:(t=e.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,n&&n.words):(this._mode=t.call(e,this,n&&n.words),this._mode.__creator=t)},_doProcessBlock:function(t,i){this._mode.processBlock(t,i)},_doFinalize:function(){var t,i=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(i.pad(this._data,this.blockSize),t=this._process(!0)):(t=this._process(!0),i.unpad(t)),t},blockSize:4}),n.CipherParams=r.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),p=(i.format={}).OpenSSL={stringify:function(t){var i=t.ciphertext,n=t.salt;return(n?s.create([1398893684,1701076831]).concat(n).concat(i):i).toString(a)},parse:function(t){var i,n=a.parse(t),e=n.words;return 1398893684==e[0]&&1701076831==e[1]&&(i=s.create(e.slice(2,4)),e.splice(0,4),n.sigBytes-=16),m.create({ciphertext:n,salt:i})}},g=n.SerializableCipher=r.extend({cfg:r.extend({format:p}),encrypt:function(t,i,n,e){e=this.cfg.extend(e);var r=t.createEncryptor(n,e),s=r.finalize(i),o=r.cfg;return m.create({ciphertext:s,key:n,iv:o.iv,algorithm:t,mode:o.mode,padding:o.padding,blockSize:t.blockSize,formatter:e.format})},decrypt:function(t,i,n,e){return e=this.cfg.extend(e),i=this._parse(i,e.format),t.createDecryptor(n,e).finalize(i.ciphertext)},_parse:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),b=(i.kdf={}).OpenSSL={execute:function(t,i,n,e,r){if(e||(e=s.random(8)),r)o=c.create({keySize:i+n,hasher:r}).compute(t,e);else var o=c.create({keySize:i+n}).compute(t,e);var u=s.create(o.words.slice(i),4*n);return o.sigBytes=4*i,m.create({key:o,iv:u,salt:e})}},_=n.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:b}),encrypt:function(t,i,n,e){var r=(e=this.cfg.extend(e)).kdf.execute(n,t.keySize,t.ivSize,e.salt,e.hasher);e.iv=r.iv;var s=g.encrypt.call(this,t,i,r.key,e);return s.mixIn(r),s},decrypt:function(t,i,n,e){e=this.cfg.extend(e),i=this._parse(i,e.format);var r=e.kdf.execute(n,t.keySize,t.ivSize,i.salt,e.hasher);return e.iv=r.iv,g.decrypt.call(this,t,i,r.key,e)}})}()))},9021:function(t,i,n){var e;t.exports=(e=e||function(t,i){var e;if("undefined"!=typeof window&&window.crypto&&(e=window.crypto),"undefined"!=typeof self&&self.crypto&&(e=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(e=globalThis.crypto),!e&&"undefined"!=typeof window&&window.msCrypto&&(e=window.msCrypto),!e&&void 0!==n.g&&n.g.crypto&&(e=n.g.crypto),!e)try{e=n(477)}catch(t){}var r=function(){if(e){if("function"==typeof e.getRandomValues)try{return e.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof e.randomBytes)try{return e.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function t(){}return function(i){var n;return t.prototype=i,n=new t,t.prototype=null,n}}(),o={},u=o.lib={},a=u.Base={extend:function(t){var i=s(this);return t&&i.mixIn(t),i.hasOwnProperty("init")&&this.init!==i.init||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}},c=u.WordArray=a.extend({init:function(t,n){t=this.words=t||[],this.sigBytes=n!=i?n:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var i=this.words,n=t.words,e=this.sigBytes,r=t.sigBytes;if(this.clamp(),e%4)for(var s=0;s<r;s++)i[e+s>>>2]|=(n[s>>>2]>>>24-s%4*8&255)<<24-(e+s)%4*8;else for(var o=0;o<r;o+=4)i[e+o>>>2]=n[o>>>2];return this.sigBytes+=r,this},clamp:function(){var i=this.words,n=this.sigBytes;i[n>>>2]&=4294967295<<32-n%4*8,i.length=t.ceil(n/4)},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],n=0;n<t;n+=4)i.push(r());return new c.init(i,t)}}),h=o.enc={},f=h.Hex={stringify:function(t){for(var i=t.words,n=t.sigBytes,e=[],r=0;r<n;r++){var s=i[r>>>2]>>>24-r%4*8&255;e.push((s>>>4).toString(16)),e.push((15&s).toString(16))}return e.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e+=2)n[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new c.init(n,i/2)}},l=h.Latin1={stringify:function(t){for(var i=t.words,n=t.sigBytes,e=[],r=0;r<n;r++)e.push(String.fromCharCode(i[r>>>2]>>>24-r%4*8&255));return e.join("")},parse:function(t){for(var i=t.length,n=[],e=0;e<i;e++)n[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new c.init(n,i)}},d=h.Utf8={stringify:function(t){try{return decodeURIComponent(escape(l.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return l.parse(unescape(encodeURIComponent(t)))}},v=u.BufferedBlockAlgorithm=a.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=d.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(i){var n,e=this._data,r=e.words,s=e.sigBytes,o=this.blockSize,u=s/(4*o),a=(u=i?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*o,h=t.min(4*a,s);if(a){for(var f=0;f<a;f+=o)this._doProcessBlock(r,f);n=r.splice(0,a),e.sigBytes-=h}return new c.init(n,h)},clone:function(){var t=a.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),m=(u.Hasher=v.extend({cfg:a.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(i,n){return new t.init(n).finalize(i)}},_createHmacHelper:function(t){return function(i,n){return new m.HMAC.init(t,n).finalize(i)}}}),o.algo={});return o}(Math),e)},754:function(t,i,n){var e;t.exports=(e=n(9021),function(){var t=e.lib.WordArray;function i(i,n,e){for(var r=[],s=0,o=0;o<n;o++)if(o%4){var u=e[i.charCodeAt(o-1)]<<o%4*2,a=e[i.charCodeAt(o)]>>>6-o%4*2;r[s>>>2]|=(u|a)<<24-s%4*8,s++}return t.create(r,s)}e.enc.Base64={stringify:function(t){var i=t.words,n=t.sigBytes,e=this._map;t.clamp();for(var r=[],s=0;s<n;s+=3)for(var o=(i[s>>>2]>>>24-s%4*8&255)<<16|(i[s+1>>>2]>>>24-(s+1)%4*8&255)<<8|i[s+2>>>2]>>>24-(s+2)%4*8&255,u=0;u<4&&s+.75*u<n;u++)r.push(e.charAt(o>>>6*(3-u)&63));var a=e.charAt(64);if(a)for(;r.length%4;)r.push(a);return r.join("")},parse:function(t){var n=t.length,e=this._map,r=this._reverseMap;if(!r){r=this._reverseMap=[];for(var s=0;s<e.length;s++)r[e.charCodeAt(s)]=s}var o=e.charAt(64);if(o){var u=t.indexOf(o);-1!==u&&(n=u)}return i(t,n,r)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),e.enc.Base64)},5178:function(t,i,n){var e;t.exports=(e=n(9021),e.enc.Utf8)},9506:function(t,i,n){var e,r,s,o,u,a,c;t.exports=(c=n(9021),n(5471),n(1025),o=(r=(e=c).lib).WordArray,a=(u=e.algo).EvpKDF=(s=r.Base).extend({cfg:s.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var n,e=this.cfg,r=e.hasher.create(),s=o.create(),u=s.words,a=e.keySize,c=e.iterations;u.length<a;){n&&r.update(n),n=r.update(t).finalize(i),r.reset();for(var h=1;h<c;h++)n=r.finalize(n),r.reset();s.concat(n)}return s.sigBytes=4*a,s}}),e.EvpKDF=function(t,i,n){return a.create(n).compute(t,i)},c.EvpKDF)},1025:function(t,i,n){var e,r;t.exports=(e=n(9021),r=e.enc.Utf8,void(e.algo.HMAC=e.lib.Base.extend({init:function(t,i){t=this._hasher=new t.init,"string"==typeof i&&(i=r.parse(i));var n=t.blockSize,e=4*n;i.sigBytes>e&&(i=t.finalize(i)),i.clamp();for(var s=this._oKey=i.clone(),o=this._iKey=i.clone(),u=s.words,a=o.words,c=0;c<n;c++)u[c]^=1549556828,a[c]^=909522486;s.sigBytes=o.sigBytes=e,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var i=this._hasher,n=i.finalize(t);return i.reset(),i.finalize(this._oKey.clone().concat(n))}})))},6440:function(t,i,n){var e;t.exports=(e=n(9021),function(){if("function"==typeof ArrayBuffer){var t=e.lib.WordArray,i=t.init,n=t.init=function(t){if(t instanceof ArrayBuffer&&(t=new Uint8Array(t)),(t instanceof Int8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)&&(t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength)),t instanceof Uint8Array){for(var n=t.byteLength,e=[],r=0;r<n;r++)e[r>>>2]|=t[r]<<24-r%4*8;i.call(this,e,n)}else i.apply(this,arguments)};n.prototype=t}}(),e.lib.WordArray)},4636:function(t,i,n){var e;t.exports=(e=n(9021),function(t){var i=e,n=i.lib,r=n.WordArray,s=n.Hasher,o=i.algo,u=[];!function(){for(var i=0;i<64;i++)u[i]=4294967296*t.abs(t.sin(i+1))|0}();var a=o.MD5=s.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,i){for(var n=0;n<16;n++){var e=i+n,r=t[e];t[e]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}var s=this._hash.words,o=t[i+0],a=t[i+1],d=t[i+2],v=t[i+3],m=t[i+4],p=t[i+5],g=t[i+6],b=t[i+7],_=t[i+8],y=t[i+9],w=t[i+10],S=t[i+11],E=t[i+12],k=t[i+13],O=t[i+14],I=t[i+15],R=s[0],T=s[1],C=s[2],A=s[3];R=c(R,T,C,A,o,7,u[0]),A=c(A,R,T,C,a,12,u[1]),C=c(C,A,R,T,d,17,u[2]),T=c(T,C,A,R,v,22,u[3]),R=c(R,T,C,A,m,7,u[4]),A=c(A,R,T,C,p,12,u[5]),C=c(C,A,R,T,g,17,u[6]),T=c(T,C,A,R,b,22,u[7]),R=c(R,T,C,A,_,7,u[8]),A=c(A,R,T,C,y,12,u[9]),C=c(C,A,R,T,w,17,u[10]),T=c(T,C,A,R,S,22,u[11]),R=c(R,T,C,A,E,7,u[12]),A=c(A,R,T,C,k,12,u[13]),C=c(C,A,R,T,O,17,u[14]),R=h(R,T=c(T,C,A,R,I,22,u[15]),C,A,a,5,u[16]),A=h(A,R,T,C,g,9,u[17]),C=h(C,A,R,T,S,14,u[18]),T=h(T,C,A,R,o,20,u[19]),R=h(R,T,C,A,p,5,u[20]),A=h(A,R,T,C,w,9,u[21]),C=h(C,A,R,T,I,14,u[22]),T=h(T,C,A,R,m,20,u[23]),R=h(R,T,C,A,y,5,u[24]),A=h(A,R,T,C,O,9,u[25]),C=h(C,A,R,T,v,14,u[26]),T=h(T,C,A,R,_,20,u[27]),R=h(R,T,C,A,k,5,u[28]),A=h(A,R,T,C,d,9,u[29]),C=h(C,A,R,T,b,14,u[30]),R=f(R,T=h(T,C,A,R,E,20,u[31]),C,A,p,4,u[32]),A=f(A,R,T,C,_,11,u[33]),C=f(C,A,R,T,S,16,u[34]),T=f(T,C,A,R,O,23,u[35]),R=f(R,T,C,A,a,4,u[36]),A=f(A,R,T,C,m,11,u[37]),C=f(C,A,R,T,b,16,u[38]),T=f(T,C,A,R,w,23,u[39]),R=f(R,T,C,A,k,4,u[40]),A=f(A,R,T,C,o,11,u[41]),C=f(C,A,R,T,v,16,u[42]),T=f(T,C,A,R,g,23,u[43]),R=f(R,T,C,A,y,4,u[44]),A=f(A,R,T,C,E,11,u[45]),C=f(C,A,R,T,I,16,u[46]),R=l(R,T=f(T,C,A,R,d,23,u[47]),C,A,o,6,u[48]),A=l(A,R,T,C,b,10,u[49]),C=l(C,A,R,T,O,15,u[50]),T=l(T,C,A,R,p,21,u[51]),R=l(R,T,C,A,E,6,u[52]),A=l(A,R,T,C,v,10,u[53]),C=l(C,A,R,T,w,15,u[54]),T=l(T,C,A,R,a,21,u[55]),R=l(R,T,C,A,_,6,u[56]),A=l(A,R,T,C,I,10,u[57]),C=l(C,A,R,T,g,15,u[58]),T=l(T,C,A,R,k,21,u[59]),R=l(R,T,C,A,m,6,u[60]),A=l(A,R,T,C,S,10,u[61]),C=l(C,A,R,T,d,15,u[62]),T=l(T,C,A,R,y,21,u[63]),s[0]=s[0]+R|0,s[1]=s[1]+T|0,s[2]=s[2]+C|0,s[3]=s[3]+A|0},_doFinalize:function(){var i=this._data,n=i.words,e=8*this._nDataBytes,r=8*i.sigBytes;n[r>>>5]|=128<<24-r%32;var s=t.floor(e/4294967296),o=e;n[15+(r+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),n[14+(r+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i.sigBytes=4*(n.length+1),this._process();for(var u=this._hash,a=u.words,c=0;c<4;c++){var h=a[c];a[c]=16711935&(h<<8|h>>>24)|4278255360&(h<<24|h>>>8)}return u},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,i,n,e,r,s,o){var u=t+(i&n|~i&e)+r+o;return(u<<s|u>>>32-s)+i}function h(t,i,n,e,r,s,o){var u=t+(i&e|n&~e)+r+o;return(u<<s|u>>>32-s)+i}function f(t,i,n,e,r,s,o){var u=t+(i^n^e)+r+o;return(u<<s|u>>>32-s)+i}function l(t,i,n,e,r,s,o){var u=t+(n^(i|~e))+r+o;return(u<<s|u>>>32-s)+i}i.MD5=s._createHelper(a),i.HmacMD5=s._createHmacHelper(a)}(Math),e.MD5)},5471:function(t,i,n){var e,r,s,o,u,a,c;t.exports=(c=n(9021),s=(r=(e=c).lib).WordArray,u=[],a=e.algo.SHA1=(o=r.Hasher).extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,i){for(var n=this._hash.words,e=n[0],r=n[1],s=n[2],o=n[3],a=n[4],c=0;c<80;c++){if(c<16)u[c]=0|t[i+c];else{var h=u[c-3]^u[c-8]^u[c-14]^u[c-16];u[c]=h<<1|h>>>31}var f=(e<<5|e>>>27)+a+u[c];f+=c<20?1518500249+(r&s|~r&o):c<40?1859775393+(r^s^o):c<60?(r&s|r&o|s&o)-1894007588:(r^s^o)-899497514,a=o,o=s,s=r<<30|r>>>2,r=e,e=f}n[0]=n[0]+e|0,n[1]=n[1]+r|0,n[2]=n[2]+s|0,n[3]=n[3]+o|0,n[4]=n[4]+a|0},_doFinalize:function(){var t=this._data,i=t.words,n=8*this._nDataBytes,e=8*t.sigBytes;return i[e>>>5]|=128<<24-e%32,i[14+(e+64>>>9<<4)]=Math.floor(n/4294967296),i[15+(e+64>>>9<<4)]=n,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA1=o._createHelper(a),e.HmacSHA1=o._createHmacHelper(a),c.SHA1)},3091:function(t,i,n){"use strict";var e;!function(t){t[t.PortraitSegmentation=0]="PortraitSegmentation"}(e||(e={}))},2593:function(t,i,n){"use strict";var e,r,s;!function(t){t[t.Song=0]="Song",t[t.Accompaniment=1]="Accompaniment",t[t.AccompanimentClip=2]="AccompanimentClip",t[t.AccompanimentSegment=3]="AccompanimentSegment"}(e||(e={})),function(t){t[t.Count=0]="Count",t[t.User=1]="User",t[t.Room=2]="Room",t[t.Master=3]="Master"}(r||(r={})),function(t){t[t.VendorDefault=0]="VendorDefault",t[t.Vendor1=1]="Vendor1",t[t.Vendor2=2]="Vendor2",t[t.Vendor3=4]="Vendor3"}(s||(s={}))},9022:function(t,i,n){"use strict";n.d(i,{PP:function(){return p.PP},Xk:function(){return c},z6:function(){return m},zN:function(){return f}});n(8899),n(2593),n(3091);var e,r,s,o,u,a,c,h,f,l,d,v,m,p=n(166);!function(t){t[t.Off=0]="Off",t[t.On=1]="On"}(e||(e={})),function(t){t[t.PortraitSegmentation=0]="PortraitSegmentation"}(r||(r={})),function(t){t[t.ZegoGeoFenceTypeNone=0]="ZegoGeoFenceTypeNone",t[t.ZegoGeoFenceTypeInclude=1]="ZegoGeoFenceTypeInclude",t[t.ZegoGeoFenceTypeExclude=2]="ZegoGeoFenceTypeExclude"}(s||(s={})),function(t){t[t.AspectFill=0]="AspectFill",t[t.AspectFit=1]="AspectFit"}(o||(o={})),function(t){t[t.ZegoFontTypeSourceHanSans=0]="ZegoFontTypeSourceHanSans",t[t.ZegoFontTypeAlibabaSans=1]="ZegoFontTypeAlibabaSans",t[t.ZegoFontTypePangMenZhengDaoTitle=2]="ZegoFontTypePangMenZhengDaoTitle",t[t.ZegoFontTypeHappyZcool=3]="ZegoFontTypeHappyZcool"}(u||(u={})),function(t){t[t.ZegoDefined=0]="ZegoDefined",t[t.UserUnregister=1]="UserUnregister"}(a||(a={})),function(t){t[t.ZegoAudioCodecIDNormal=1]="ZegoAudioCodecIDNormal",t[t.ZegoAudioCodecIDNormal2=2]="ZegoAudioCodecIDNormal2",t[t.ZegoAudioCodecIDLow3=6]="ZegoAudioCodecIDLow3"}(c||(c={})),function(t){t[t.ZegoAudioMixModeRaw=0]="ZegoAudioMixModeRaw",t[t.ZegoAudioMixModeFocused=1]="ZegoAudioMixModeFocused"}(h||(h={})),function(t){t[t.ZegoEncodeProfileDefault=0]="ZegoEncodeProfileDefault",t[t.ZegoEncodeProfileBaseline=1]="ZegoEncodeProfileBaseline",t[t.ZegoEncodeProfileMain=2]="ZegoEncodeProfileMain",t[t.ZegoEncodeProfileHigh=3]="ZegoEncodeProfileHigh"}(f||(f={})),function(t){t[t.TrafficControlFocusOnLocalOnly=0]="TrafficControlFocusOnLocalOnly",t[t.TrafficControlFocusOnRemote=1]="TrafficControlFocusOnRemote"}(l||(l={})),function(t){t[t.NoVideo=0]="NoVideo"}(d||(d={})),function(t){t[t.Allow=0]="Allow",t[t.NotAllow=1]="NotAllow"}(v||(v={})),function(t){t[t.video=0]="video",t[t.audio=1]="audio",t[t.videoAndAudio=2]="videoAndAudio"}(m||(m={}))},2362:function(t,i){"use strict";var n=function(){function t(t){this.zegoStream=t}return Object.defineProperty(t.prototype,"active",{get:function(){return this.zegoStream.active},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"id",{get:function(){return this.zegoStream.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"videoCaptureStream",{get:function(){return this.zegoStream.originVideoStream},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioCaptureStream",{get:function(){return this.zegoStream.originAudioStream},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stream",{get:function(){return this.zegoStream.stream},enumerable:!1,configurable:!0}),t.prototype.getAudioTracks=function(){return this.zegoStream.getAudioTracks()},t.prototype.getVideoTracks=function(){return this.zegoStream.getVideoTracks()},t.prototype.getTracks=function(){return this.zegoStream.getTracks()},Object.defineProperty(t.prototype,"videoDeviceId",{get:function(){return this.zegoStream.videoDeviceId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"audioDeviceId",{get:function(){return this.zegoStream.audioDeviceId},enumerable:!1,configurable:!0}),t.prototype.on=function(t,i){return this.zegoStream.on(t,i)},t.prototype.off=function(t,i){return this.zegoStream.off(t,i)},t.prototype.startCaptureMicrophone=function(t){return this.zegoStream.startCaptureMicrophone(t)},t.prototype.startCaptureCamera=function(t){return this.zegoStream.startCaptureCamera(t)},t.prototype.startCaptureCameraAndMicrophone=function(t,i){return this.zegoStream.startCaptureCameraAndMicrophone(t,i)},t.prototype.startCaptureCustomAudio=function(t){return this.zegoStream.startCaptureCustomAudio(t)},t.prototype.startCaptureCustomVideo=function(t){return this.zegoStream.startCaptureCustomVideo(t)},t.prototype.startCaptureCustomVideoAndAudio=function(t,i){return this.zegoStream.startCaptureCustomVideoAndAudio(t,i)},t.prototype.startCaptureScreen=function(t){return this.zegoStream.startCaptureScreen(t)},t.prototype.startCaptureScreenWithAudio=function(t,i){return this.zegoStream.startCaptureScreenWithAudio(t,i)},t.prototype.stopCaptureAudio=function(){return this.zegoStream.stopCaptureAudio()},t.prototype.stopCaptureVideo=function(){return this.zegoStream.stopCaptureVideo()},t.prototype.playAudio=function(t){this.zegoStream.playAudio(t)},t.prototype.playCaptureAudio=function(t){this.zegoStream.playCaptureAudio(t)},t.prototype.playVideo=function(t,i){this.zegoStream.playVideo(t,i)},t.prototype.playCaptureVideo=function(t,i){this.zegoStream.playCaptureVideo(t,i)},t.prototype.takeStreamSnapshot=function(t){return this.zegoStream.takeStreamSnapshot(t)},t.prototype.resumeVideo=function(){return this.zegoStream.resumeVideo()},t.prototype.resumeAudio=function(){return this.zegoStream.resumeAudio()},t.prototype.stopVideo=function(){this.zegoStream.stopVideo()},t.prototype.stopAudio=function(){this.zegoStream.stopAudio()},t.prototype.stopPlayCaptureVideo=function(){this.zegoStream.stopPlayCaptureVideo()},t.prototype.stopPlayCaptureAudio=function(){this.zegoStream.stopPlayCaptureAudio()},t.prototype.setVolume=function(t){return this.zegoStream.setVolume(t)},t.prototype.useAudioOutputDevice=function(t){return this.zegoStream.setAudioOutputDevice(t)},t}();i.A=n},8899:function(t,i,n){"use strict";var e,r,s,o;n.d(i,{UF:function(){return s},eI:function(){return e},ju:function(){return o},kf:function(){return r}}),function(t){t[t.Off=0]="Off",t[t.TurningOn=1]="TurningOn",t[t.On=2]="On"}(e||(e={})),function(t){t[t.World=0]="World",t[t.Team=1]="Team",t[t.SecretTeam=2]="SecretTeam"}(r||(r={})),function(t){t[t.All=0]="All",t[t.World=1]="World",t[t.Team=2]="Team"}(s||(s={})),function(t){t[t.All=0]="All",t[t.World=1]="World",t[t.Team=2]="Team"}(o||(o={}))},166:function(t,i,n){"use strict";var e,r,s,o;n.d(i,{PP:function(){return o},SC:function(){return s}}),function(t){t[t.NONE=0]="NONE",t[t.MEN_TO_CHILD=1]="MEN_TO_CHILD",t[t.MEN_TO_WOMEN=2]="MEN_TO_WOMEN",t[t.WOMEN_TO_CHILD=3]="WOMEN_TO_CHILD",t[t.WOMEN_TO_MEN=4]="WOMEN_TO_MEN",t[t.FOREIGNER=5]="FOREIGNER",t[t.OPTIMUS_PRIME=6]="OPTIMUS_PRIME",t[t.ANDROID=7]="ANDROID",t[t.ETHEREAL=8]="ETHEREAL",t[t.MALE_MAGNETIC=9]="MALE_MAGNETIC",t[t.FEMALE_FRESH=10]="FEMALE_FRESH",t[t.MAJOR_C=11]="MAJOR_C",t[t.MINOR_A=12]="MINOR_A",t[t.HARMONIC_MINOR=13]="HARMONIC_MINOR",t[t.FEMALE_ENERGETIC=14]="FEMALE_ENERGETIC",t[t.RICHNESS=15]="RICHNESS",t[t.MUFFLED=16]="MUFFLED",t[t.ROUNDNESS=17]="ROUNDNESS",t[t.FALSETTO=18]="FALSETTO",t[t.FULLNESS=19]="FULLNESS",t[t.CLEAR=20]="CLEAR",t[t.HIGHLY_RESONANT=21]="HIGHLY_RESONANT",t[t.LOUD_CLEAR=22]="LOUD_CLEAR"}(e||(e={})),function(t){t[t.None=0]="None",t[t.SoftRoom=1]="SoftRoom",t[t.LargeRoom=2]="LargeRoom",t[t.ConcertHall=3]="ConcertHall",t[t.Valley=4]="Valley",t[t.RecordingStudio=5]="RecordingStudio",t[t.Basement=6]="Basement",t[t.KTV=7]="KTV",t[t.Popular=8]="Popular",t[t.Rock=9]="Rock",t[t.VocalConcert=10]="VocalConcert",t[t.GramoPhone=11]="GramoPhone",t[t.EnhancedKTV=12]="EnhancedKTV"}(r||(r={})),function(t){t[t.None=0]="None",t[t.Local=1]="Local",t[t.Publish=2]="Publish",t[t.All=3]="All"}(s||(s={})),function(t){t[t.AI=0]="AI",t[t.AIBalanced=1]="AIBalanced",t[t.AIAggressive=2]="AIAggressive"}(o||(o={}))},1290:function(t,i,n){"use strict";n.d(i,{AC3:function(){return W},BBG:function(){return e},BWI:function(){return D},BWN:function(){return z},Bnp:function(){return Ct},BsE:function(){return Xt},BzB:function(){return et},CLV:function(){return ti},CcO:function(){return Lt},D3o:function(){return H},D3w:function(){return T},Djm:function(){return hn},E8q:function(){return vt},EPo:function(){return vn},E_I:function(){return pi},Eb9:function(){return Ci},Ehk:function(){return Ht},FGD:function(){return Hn},FSV:function(){return y},FyW:function(){return on},GV2:function(){return ii},HGP:function(){return $t},HHW:function(){return a},HhC:function(){return K},HqH:function(){return fn},Hwe:function(){return cn},I2V:function(){return Ft},I8R:function(){return Dn},I9e:function(){return F},IGr:function(){return Wi},ISq:function(){return xi},Ifp:function(){return Nt},JFd:function(){return mn},JGn:function(){return Vt},JIU:function(){return P},JX$:function(){return Xi},Jli:function(){return Pt},K4A:function(){return f},K74:function(){return Hi},KBL:function(){return Ui},KWc:function(){return mt},KY4:function(){return g},Kw2:function(){return Ni},LBe:function(){return xn},La0:function(){return yt},Lji:function(){return Ti},M9m:function(){return w},MDS:function(){return yi},MSI:function(){return Ji},N$A:function(){return Vn},NYT:function(){return qn},Nw2:function(){return _i},O2K:function(){return Ot},OKY:function(){return dt},OYv:function(){return jn},Ovk:function(){return G},Ox5:function(){return qi},Q4K:function(){return Mt},Q4y:function(){return ui},Q9_:function(){return $i},QBy:function(){return at},QQ4:function(){return ft},QRg:function(){return _t},QU$:function(){return Wt},Qld:function(){return jt},QpU:function(){return Bn},Qs7:function(){return Y},Qu8:function(){return $},R46:function(){return di},R9o:function(){return V},RM$:function(){return ji},ROv:function(){return rt},Rbr:function(){return Si},Rfl:function(){return Jt},RnN:function(){return Tn},Rot:function(){return sn},S4d:function(){return it},SBl:function(){return bn},SK:function(){return Zi},SKc:function(){return Ii},SPm:function(){return E},SeY:function(){return ht},Szn:function(){return o},Tk2:function(){return Li},TlX:function(){return en},Toj:function(){return ki},UY3:function(){return wi},V9q:function(){return v},VGT:function(){return q},VMq:function(){return Tt},VdQ:function(){return Yi},W0Q:function(){return hi},W8t:function(){return Ei},WaK:function(){return pt},Wgj:function(){return r},WuQ:function(){return Fn},XEi:function(){return nt},XIc:function(){return ut},XKn:function(){return _n},XLj:function(){return wt},XO3:function(){return S},XQ0:function(){return s},XR3:function(){return Zt},Y9k:function(){return Jn},YNv:function(){return zn},YOg:function(){return Di},Ywv:function(){return Sn},ZAy:function(){return st},ZIe:function(){return _},Ze2:function(){return Pi},_2$:function(){return Ai},_7B:function(){return L},_Du:function(){return U},_ny:function(){return Gi},aSL:function(){return Bt},ahI:function(){return bt},aiW:function(){return un},amU:function(){return ni},aww:function(){return Ri},b9b:function(){return Ut},bc8:function(){return j},bp1:function(){return En},bzn:function(){return mi},c2i:function(){return ei},cDv:function(){return ci},cIs:function(){return Mi},cTW:function(){return C},cuT:function(){return Oi},d0o:function(){return Qt},d8C:function(){return Gt},d9R:function(){return Pn},de8:function(){return xt},dk2:function(){return d},dnG:function(){return m},dw7:function(){return bi},e3y:function(){return N},e73:function(){return I},fcT:function(){return Gn},fgh:function(){return Et},fjj:function(){return fi},fkL:function(){return O},g69:function(){return x},gHb:function(){return si},gPJ:function(){return Mn},gkP:function(){return c},gkt:function(){return an},hkn:function(){return gi},iMZ:function(){return Ln},ibZ:function(){return ln},ifL:function(){return Ki},ikr:function(){return B},it$:function(){return b},ivM:function(){return Qi},kEb:function(){return Fi},kEs:function(){return vi},kKT:function(){return lt},kNG:function(){return An},kVV:function(){return Cn},kc8:function(){return p},kkS:function(){return Bi},lIp:function(){return Q},lWs:function(){return zt},mLk:function(){return u},mMR:function(){return rn},msE:function(){return tt},n9B:function(){return At},n9u:function(){return qt},nYN:function(){return gn},naM:function(){return J},nkr:function(){return On},nr3:function(){return It},ny0:function(){return Yt},oLS:function(){return k},pE4:function(){return X},qPT:function(){return Kt},qZH:function(){return R},rGc:function(){return h},rS5:function(){return kt},rp8:function(){return zi},ruA:function(){return li},s1U:function(){return l},sSz:function(){return Z},sk8:function(){return dn},sz1:function(){return yn},t6w:function(){return tn},tZm:function(){return gt},u7D:function(){return ai},ucG:function(){return ot},v$W:function(){return kn},vBC:function(){return Rt},vps:function(){return M},w0x:function(){return A},wQ8:function(){return ri},wT7:function(){return nn},wyx:function(){return pn},x_Q:function(){return Un},xcT:function(){return Nn},xcY:function(){return wn},y4U:function(){return Vi},z0O:function(){return ct},z3d:function(){return St},zC0:function(){return Dt},zUi:function(){return In},z_2:function(){return oi},zub:function(){return Rn}});var e="zc.0",r="zc.1",s="zc.csr",o="zc.cs",u="zc.ds",a="zc.hvc.0",c="zc.sps.0",h="zc.sps.1",f="zc.sps.0.0",l="zc.spsr.0.0",d="zc.sps.1.0",v="zc.spsr.1.0",m="zc.smsi.0",p="zc.opsu",g="zc.opur",b="zc.sao",_="zc.stoto",y="zc.psh.0",w="zc.psh.1",S="zc.tsh.rngn.0",E="zc.tsh.rngn.1",k="zc.tsh.dgnb",O="zc.sc.al",I="zc.s.ssi",R="zc.s.rct",T="zc.s.rlt",C="zc.s.bwh",A="zc.s.rcm",z="zc.s.ut",D="zc.s.smwc",N="zc.s.cs.0",P="zc.s.sct",x="zc.s.dc",M="zc.s.cs.1",q="zc.s.rs",L="zc.s.srs",B="zc.s.sm",j="zc.s.hrd",U="zc.s.as",G="zc.s.hpd",J="zc.s.hprsd",F="zc.s.hcd",H="zc.s.smd",V="zc.s.sci",Q="zc.s.scia",Y="zc.s.scsa",K="zc.s.srsa",Z="zc.s.sssna",X="zc.s.scia",W="zc.s.rpc",$="zc.s.cmt",tt="zc.s.sss",it="zc.s.apvs",nt="zc.s.apas",et="zc.s.sbs",rt="zc.s.snp",st="zc.s.dgn",ot="zc.s.dwpm",ut="zc.wcs.ml",at="zc.wcs.cs.1",ct="zc.wcs.csws.1",ht="zc.wcs.gpe",ft="zc.wcs.smd",lt="zc.wcs.smdu",dt="zsc.ssgn",vt="zsc.ccgl",mt="zsc.ccns",pt="zsc.ucgl",gt="zsc.spt.0",bt="zsc.spt.1",_t="zc.p.0.sp.0",yt="zc.p.ps",wt="zc.p.0.ocpss",St="zc.p.cps.0",Et="zc.p.0.ocos",kt="zc.p.0.oslds",Ot="zc.p.0.ogrd",It="zc.p.0.orci.0",Rt="zc.p.0.orpe",Tt="zc.p.0.orci.1",Ct="zc.p.0.oic",At="zc.p.0.ocsc",zt="zc.p.0.oicsc",Dt="zc.p.0.rp",Nt="zc.p.0.spqt",Pt="zc.p.0.upq",xt="zc.p.0.orrs",Mt="zc.p.0.orcs",qt="zc.p.0.sci",Lt="zc.p.0.psr",Bt="zc.p.0.sp.1",jt="zc.p.0.od",Ut="zc.p.0.ssl.0",Gt="zc.p.0.ssl.1",Jt="zc.p.0.heb",Ft="zc.p.0.ss",Ht="zc.p.0.rgn",Vt="zc.p.0.sgn",Qt="zc.p.0.hdgn",Yt="zc.p.0.sb.0",Kt="zc.p.0.scd",Zt="zc.p.0.scg",Xt="zc.p.0.tc",Wt="zc.p.1.sp.0",$t="zc.p.ocpss.1",ti="zc.p.cps.1",ii="zc.p.hcsws.1",ni="zc.p.ocos.1",ei="zc.p.oslds.1",ri="zc.p.ormd.1",si="zc.p.orci.1",oi="zc.p.orpe.1",ui="zc.p.orci.1.1",ai="zc.p.oic.1",ci="zc.p.ocsc.1",hi="zc.p.oicsc.1",fi="zc.p.opcsc.1",li="zc.p.rp.1",di="zc.p.spqt.1",vi="zc.p.upq.1",mi="zc.p.gs.1",pi="zc.p.orrs.1",gi="zc.p.orcs.1",bi="zc.p.orss.1",_i="zc.p.ogrs.1",yi="zc.p.gvc",wi="zc.p.sci.1",Si="zc.p.psr.1",Ei="zc.p.1.sp.1",ki="zc.p.od.1",Oi="zc.p.ssl.1",Ii="zc.p.ssl.1.1",Ri="zc.p.1.nqi",Ti="zc.p.1.rgn",Ci="zc.p.1.sgn",Ai="zc.p.1.hdgn",zi="zc.p.1.scd",Di="zc.p.1.scg",Ni="zc.p.1.oce",Pi="zc.p.1.smsbpm",xi="zc.p.1.sms",Mi="zc.p.1.mst",qi="zc.p.1.spsf",Li="zc.uslq",Bi="zc.sr.uud",ji="zc.hpqd.pl",Ui="zc.hpqd.pu",Gi="zc.hcid.pu",Ji="zc.sr.sd",Fi="zc.sr.cisn",Hi="zc.sr.chdtr",Vi="zc.sr.sprd",Qi="zc.sr.rrp.0",Yi="zc.sr.ccptr",Ki="zc.sr.srptc.0",Zi="zc.sr.sct.0",Xi="zc.sr.csi.0",Wi="zc.sr.cic.0",$i="zc.sr.cnia.0",tn="zc.p.scv",nn="zc.sh.msbss",en="zc.sh.ms",rn="zc.sh.psl",sn="zc.as.umrs",on="zc.as.uars",un="zc.as.smss",an="zc.as.sass",cn="zc.as.s.0",hn="zc.as.op",fn="zc.as.c",ln="zc.srs",dn="zc.irs",vn="zc.ssh",mn="zc.s.nqga",pn="zc.wmh.hd",gn="zc.wmh.db",bn="zc.tk.end",_n="zc.tk.mute",yn="zc.tk.unmt",wn="zc.ups.0",Sn="zc.p.0.gqs",En="zc.p.1.gqs",kn="zc.crh.a.0",On="zc.ctcc.a.0",In="zc.hrh.smt.0",Rn="zc.hrh.smt.1",Tn="zc.hrh.grdbc",Cn="zc.vam.rv",An="zc.vam.iwg",zn="zc.vam.vam",Dn="zc.svc",Nn="zc.sac",Pn="zc.rp",xn="zc.emo",Mn="zc.asi",qn="zc.mpsv.0",Ln="zc.mpsa.0",Bn="zc.mm",jn="zc.mpsv.1",Un="zc.mpsa.1",Gn="zc.mapa.1",Jn="zc.mapv.1",Fn="zc.at",Hn="zc.rt",Vn="zc.ht"},4908:function(t,i,n){"use strict";n.d(i,{$7:function(){return Ct},$9:function(){return ot},$H:function(){return Ft},$Q:function(){return qt},$g:function(){return T},A8:function(){return ft},AW:function(){return Z},B$:function(){return u},BM:function(){return h},BY:function(){return jt},Bc:function(){return vt},CK:function(){return ut},Cp:function(){return U},D1:function(){return wt},E$:function(){return G},EV:function(){return mt},F:function(){return pt},FQ:function(){return dt},Fv:function(){return Jt},GV:function(){return gt},HF:function(){return Bt},Hu:function(){return yt},Io:function(){return zt},J8:function(){return D},Jb:function(){return _t},Jd:function(){return lt},KZ:function(){return z},Kt:function(){return Lt},L1:function(){return c},Lk:function(){return V},MJ:function(){return q},Mc:function(){return Dt},Ms:function(){return v},Mw:function(){return rt},ON:function(){return L},Of:function(){return Ot},Ov:function(){return nt},Pe:function(){return it},RI:function(){return Pt},S2:function(){return St},Sb:function(){return At},TW:function(){return K},Ux:function(){return st},V0:function(){return Y},Vz:function(){return y},We:function(){return N},Wg:function(){return b},Xk:function(){return Q},YO:function(){return g},_F:function(){return W},_T:function(){return w},_g:function(){return tt},aH:function(){return ct},aT:function(){return _},br:function(){return E},bs:function(){return kt},eU:function(){return l},er:function(){return I},es:function(){return Mt},fF:function(){return A},fj:function(){return et},fn:function(){return F},gf:function(){return C},gi:function(){return k},i6:function(){return a},iJ:function(){return It},iN:function(){return S},jK:function(){return m},k1:function(){return B},kA:function(){return H},kL:function(){return ht},lZ:function(){return Gt},li:function(){return xt},ne:function(){return X},ns:function(){return Rt},ny:function(){return x},oI:function(){return R},oW:function(){return O},oe:function(){return Nt},oq:function(){return f},ov:function(){return P},pO:function(){return d},pR:function(){return Et},r2:function(){return at},rP:function(){return M},tI:function(){return J},v2:function(){return p},vB:function(){return bt},vW:function(){return o},wH:function(){return $},w_:function(){return Ut},wd:function(){return Tt},x6:function(){return j}});var e=n(8627),r=n(5095),s="/sdk/init",o={event:s,error:{ni:e.ZEp},system_info:r.tK,servers:r.yp},u={event:"/sdk/login"},a={event:"listener"},c={event:"/sdk/on_listener",listener:r.tK,error:{ei:e.ZEp}},h={event:"/sdk/off_listener",listener:r.tK,error:{ei:e.ZEp}},f={event:s},l={event:"/sdk/create_stream",error:{ri:e.OrZ,ei:e.LLz,si:e.t85,oi:e.yK,ui:e.L8E,ai:e.FB3,ci:e.mrK,hi:e.zs3,fi:e.Be2,di:e.JSm},stream_type:r.tK,screen:r.Gq,camera:r.Gq,custom:r.Gq,preview_conf:r.Gq,media_stream_id:r.tK},d={event:"/sdk/start_publish",error:{mi:e.LLz,pi:e.Q9p,bi:e.xfZ,_i:e.gSF,yi:e.PA0,wi:e.fzq,Ei:e.f43,ki:e.qvY,Oi:e.S4u,Ii:e.SRE,Ri:e.Xxx,Ti:e.g9p,Ci:e.jZ$,Ai:e.$wo,zi:e.SmZ,Di:e.VU9,Ni:e.MrD,Pi:e.ZpF,xi:e.iei,Mi:e.aa2,Li:e.HCP,Bi:e.dg1,ji:e._68,Ui:e.kbF,Gi:e.kOd,Ji:e.WP4,Fi:e.JDv,Hi:e.Q3v,Vi:e.RBR,Qi:e.NCg,Yi:e.xbZ,Ki:e.OdW,Zi:e.sJH,Xi:e.MrS},urls:r.yp,is_center:r.yS,server_url:r.tK,publish_option:r.Gq,message:r.tK,stream_id:r.tK,stream_sid:r.Tr,room_id:r.tK,video_en_codec_id:r.Tr,cap_w:r.Tr,cap_h:r.Tr,w:r.Tr,h:r.Tr,video_en_fps:r.Tr,video_en_bps:r.Tr,audio_c_channel_count:r.Tr,audio_en_bps:r.Tr,aec_level:r.Tr,ans_level:r.Tr,agc:r.yS,traffic_control_min_video_bitrate:{bitrate:r.Tr,mode:r.Tr},cap_volume:r.Tr,enable_camera:r.yS,enable_mic:r.yS,video_activate:r.yS,audio_activate:r.yS,gw_version:r.Tr,use_na:r.Tr,is_dual_stream:r.Tr,is_mini:r.yS,is_peer:r.yS},v={event:"/publish/start",is_peer:r.yS,reason:r.tK,url:r.tK,ip:r.tK,peer_id:r.Tr,source_type:r.tK,net_protocol:r.tK,wait_consume:r.Tr,dispatch_consume:r.Tr,signal_consume:r.Tr,is_center:r.yS,is_dual_stream:r.Tr,is_mini:r.yS,mini_error:r.Tr},m={event:"/publish/restart",stream_id:r.tK,server_url:r.tK,reason_code:r.Tr,is_dual_stream:r.Tr,is_mini:r.yS,mini_error:r.Tr},p={event:"/sdk/publish",room_id:r.tK,room_sid_string:r.tK,retry_btime:r.Tr,max_retry_interval:r.Tr,fail_cnt:r.Tr,continuous_fail_cnt:r.Tr,probe_ip_cnt:r.Tr,valid_probe_ip_cnt:r.Tr,poor_quality_retry_cnt:r.Tr,use_resource_type:r.yp,probe_not_trigger_retry_info:r.Gq,stop_reason:r.tK,child_error:r.Tr,try_time:r.Tr,try_cnt:r.Tr,server_url:r.tK,publish_begin_time:r.Tr,publish_state_time:r.Tr,bitrate:r.Tr,h:r.Tr,w:r.Tr,cap_w:r.Tr,cap_h:r.Tr,fps:r.Tr,use_na:r.Tr,env:r.Tr,webrtc_sid:r.Tr,stream_id:r.tK,itemtype:r.tK,total_d:r.Tr,valid_d:r.Tr,tempbroken_cnt:r.Tr},g={event:"/sdk/api/publish_video_c_size",webrtc_sid:r.Tr,w:r.Tr,h:r.Tr},b={event:"/sdk/play_video_size_changed",webrtc_sid:r.Tr,w:r.Tr,h:r.Tr},_={event:"/rtc/publish",tryidx:r.Tr,url:r.tK,ip:r.tK,net_protocol:r.tK,lsttime:r.Tr,denied_info:r.tK,dispatch_external_ip:r.tK,total_stat:r.Gq,room_id:r.tK,room_sid_string:r.tK,resource_type:r.tK,protocol:r.tK,stop_reason:r.tK,try_time:r.Tr},y={event:"/sdk/stop_publish",error:{ei:e.LLz},stream_id:r.tK,stream_sid:r.Tr,room_id:r.tK},w={event:"/rtc/publish_stream_state_error"},S={event:"/sdk/start_play",error:{Wi:e.d49,$i:e.ann,kn:e.clM,xn:e.J79,qn:e.S4u,Ln:e.RfS,Bn:e.Q9p,jn:e.xfZ,Un:e.gSF,Gn:e.PA0,Jn:e.b1q,Fn:e.RZs,Vn:e.XHx,Qn:e.cMG,Yn:e.zML,Kn:e.ekj,zi:e.dqB,Di:e.gHA,Pi:e.MK1,Ni:e.dXc,xi:e.hje,Mi:e.Zws,Li:e.SB8,ji:e.B3d,Bi:e.wxm,Zn:e.Arx,Gi:e.lgu,Ji:e.Tij,Xn:e.pWJ,Wn:e.MuX,$n:e.I4J,Ki:e.OdW,te:e.ckD,ie:e.hYx,ee:e.Q4o},room_id:r.tK,urls:r.yp,is_center:r.yS,server_url:r.tK,video_layer:r.Tr,play_option:r.Gq,message:r.tK,stream_id:r.tK,stream_sid:r.Tr,resource_mode:r.Tr,src:r.tK,video_codec_id:r.tK,room_sid_string:r.tK,is_multi:r.yS,audio_activate:r.yS,video_activate:r.yS,gw_version:r.Tr,use_na:r.Tr,biz_product:r.Tr,is_peer:r.yS,is_mini:r.yS},E={event:"/play/start",tryidx:r.Tr,is_peer:r.yS,reason:r.tK,url:r.tK,ip:r.tK,peer_id:r.Tr,source_type:r.tK,net_protocol:r.tK,wait_consume:r.Tr,dispatch_consume:r.Tr,signal_consume:r.Tr,is_center:r.yS,biz_product:r.Tr,is_mini:r.yS},k={event:"/play/restart",stream_id:r.tK,server_url:r.tK,reason_code:r.Tr,is_mini:r.yS},O={event:"/sdk/play",audio_cumulative_break_time:r.Tr,audio_cumulative_decode_time:r.Tr,video_cumulative_break_time:r.Tr,video_cumulative_decode_time:r.Tr,l3_a_break_time:r.Tr,l3_a_decode_time:r.Tr,l3_v_break_time:r.Tr,l3_v_decode_time:r.Tr,rtc_a_break_time:r.Tr,rtc_a_decode_time:r.Tr,rtc_v_break_time:r.Tr,rtc_v_decode_time:r.Tr,fft_audio:r.Tr,fft_video:r.Tr,room_id:r.tK,room_sid_string:r.tK,retry_btime:r.Tr,max_retry_interval:r.Tr,use_na:r.Tr,fail_cnt:r.Tr,continuous_fail_cnt:r.Tr,probe_ip_cnt:r.Tr,valid_probe_ip_cnt:r.Tr,poor_quality_retry_cnt:r.Tr,probe_not_trigger_retry_info:r.Gq,use_resource_type:r.yp,stop_reason:r.tK,child_error:r.Tr,try_time:r.Tr,try_cnt:r.Tr,webrtc_sid:r.Tr,itemtype:r.tK,server_url:r.tK,play_begin_time:r.Tr,play_state_time:r.Tr,play_state_cnt:r.Tr,first_frame_time:r.Tr,protocol:r.tK,dispatch_external_ip:r.tK,total_stat:r.Gq,w:r.Tr,h:r.Tr,abrc:r.Tr,vbrc:r.Tr,vinfo:r.Gq,total_d:r.Tr,valid_d:r.Tr,tempbroken_cnt:r.Tr},I={event:"/rtc/play",tryidx:r.Tr,url:r.tK,ip:r.tK,stream_id:r.tK,room_id:r.tK,room_sid_string:r.tK,net_protocol:r.tK,lsttime:r.Tr,denied_info:r.tK,stop_reason:r.tK,dispatch_external_ip:r.tK,env:r.Tr,resource_type:r.tK,protocol:r.tK,total_stat:r.Gq,vinfo:r.Gq,try_time:r.Tr},R={event:"/sdk/stop_play",error:{ei:e.LLz},room_id:r.tK,stream_id:r.tK,webrtc_sid:r.Tr,stream_sid:r.Tr,biz_product:r.Tr},T={event:"/rtc/play_stream_state_error"},C={event:"/device/list",error:{ri:e.OrZ,re:e.s_m},dev_list:r.Gq,dev_kind:r.tK},A={event:"/device/audio_device_changed",error:{ri:e.OrZ,re:e.s_m},interrupt:r.Tr,device:r.tK,device_name:r.tK},z={event:"/device/video_device_changed",error:{ri:e.OrZ,re:e.s_m},interrupt:r.Tr,device:r.tK,device_name:r.tK},D={event:"/sdk/check_system",capability:r.Gq},N={event:"/sdk/remote_camera_update",stream_id:r.tK,camera_status:r.tK,status_code:r.Tr},P={event:"/sdk/remote_mic_update",stream_id:r.tK,mic_status:r.tK,status_code:r.Tr},x={event:"/sdk/destroy_stream",error:{se:e.S5f},stop_reason:r.tK},M={event:"/device/api/audio_output",device:r.tK,device_name:r.tK,reason_type:r.tK},q={event:"/liveroom/recv_stream_update_info",stream_update_type:r.tK,stream_seq:r.Tr,stream_list:r.Gq,error:{ue:e.sVF}},L={event:"/liveroom/send_stream_update_info",stream_update_type:r.tK,stream_extra_info:r.tK,stream_id:r.tK,svr_env:r.tK,send_seq:r.Tr,use_na:r.Tr},B={event:"/liveroom/get_current_stream_list",room_id:r.tK,room_sid_string:r.tK,stream_seq:r.Tr,stream_size:r.Tr,stream_list:r.Gq,use_ua:r.Tr,error:{ei:e.LLz,NOT_LOGIN:e.S4u}},j={event:"/sdk/net_first_video_frame",webrtc_sid:r.Tr,fft_consumed:r.Gq,resource_type:r.tK,reliability:r.Tr,push_consumed:r.Tr,prepare_recv_consumed:r.Tr,connected_consumed:r.Tr,protocol:r.tK,biz_product:r.Tr,dev_changed:r.yS},U={event:"/sdk/net_first_audio_frame",webrtc_sid:r.Tr,fft_consumed:r.Gq,resource_type:r.tK,reliability:r.Tr,push_consumed:r.Tr,prepare_recv_consumed:r.Tr,connected_consumed:r.Tr,protocol:r.tK,biz_product:r.Tr,dev_changed:r.yS},G={event:"/app/lifecycle",state:r.tK},J={event:"/sdk/publish_volume_changed",old_cap_volume:r.Tr,cap_volume:r.Tr,change_duration:r.Tr,error:{ei:e.ZEp}},F={event:"/sdk/listener"},H={event:"/sdk/net_probe",net_quality:r.Tr,node_list:r.yp},V={event:"/sdk/net_probe_result",is_switch:r.yS,is_publish:r.yS,stream_id:r.tK,result:r.Tr,node:r.tK,net_quality:r.Tr,probe_net_quality:r.Tr},Q={event:"/cloud_setting/cache",files:r.Gq},Y={event:"/cdn/play",protocol:r.tK,tryidx:r.Tr,url:r.tK,stop_reason:r.tK,biz_product:r.Tr},K={event:"/l3/play",protocol:r.tK,tryidx:r.Tr,url:r.tK,stop_reason:r.tK,biz_product:r.Tr,try_time:r.Tr},Z={event:"/sdk/play_src_changed",last_src:r.tK,src:r.tK,biz_product:r.Tr},X={event:"/publish/server_connect",server_url:r.tK,stream_type:r.tK},W={event:"/publish/create_offer",sdp:r.tK,stream_type:r.tK,is_mini:r.yS,is_dual_stream:r.Tr},$={event:"/publish/set_local_sdp",sdp:r.tK,stream_type:r.tK,is_mini:r.yS,is_dual_stream:r.Tr},tt={event:"/publish/create_session",sdp:r.tK,is_mini:r.yS,gw_nodes:r.yp,gw_nodes_ttl:r.Tr,gw_version:r.Tr,webrtc_sid:r.Tr},it={event:"/publish/set_remote_sdp",sdp:r.tK,is_mini:r.yS,webrtc_sid:r.Tr,is_dual_stream:r.Tr},nt={event:"/publish/ice_connected",webrtc_sid:r.Tr},et={event:"/publish/rtc_publish_event",event_state:r.Tr,webrtc_sid:r.Tr},rt={event:"/rtc/play_event_message",event_state:r.Tr,webrtc_sid:r.Tr},st={event:"/rtc/recv_close_session",err_info:r.Gq},ot={event:"/rtc/recv_reset_session"},ut={event:"/rtc/ice_connection_state_changed",ice_state:r.tK},at={event:"/publish/send_media_desc",webrtc_sid:r.Tr},ct={event:"/publish/send_ice_candidate",candidate_info:r.Gq},ht={event:"/publish/recv_ice_candidate",candidate_info:r.Gq},ft={event:"/play/server_connect",server_url:r.tK,stream_type:r.tK},lt={event:"/play/create_offer",sdp:r.tK,is_mini:r.yS,stream_type:r.tK},dt={event:"/play/set_local_sdp",sdp:r.tK,is_mini:r.yS,stream_type:r.tK},vt={event:"/play/create_session",sdp:r.tK,is_mini:r.yS,gw_nodes:r.yp,gw_nodes_ttl:r.Tr,gw_version:r.Tr,webrtc_sid:r.Tr},mt={event:"/play/set_remote_sdp",sdp:r.tK,is_mini:r.yS,webrtc_sid:r.Tr},pt={event:"/play/ice_connected",webrtc_sid:r.Tr},gt={event:"/play/send_media_desc",webrtc_sid:r.Tr},bt={event:"/play/send_ice_candidate",candidate_info:r.Gq},_t={event:"/play/recv_ice_candidate",candidate_info:r.Gq},yt={event:"/zegoconn/connect"},wt={event:"/zegoconn/proxy_connect",service_no:r.Tr,proxy_link_sources:r.Tr,recv_time:r.Tr,connect_stream:r.Tr},St={event:"/zegoconn/proxy_broken",service_no:r.Tr},Et={event:"/zegoconn/proxy_disconnect",service_no:r.Tr},kt={event:"/rtc/exception_update",stream:r.tK,code:r.Tr,message:r.tK},Ot={event:"/sdk/publish_target",error:{ei:e.ZEp,ae:e.xU2,ce:e.S4u,he:e.I7C,fe:e.HO9,le:e.aUw,de:e.Oy0}},It={event:"/mss/pushadd",error:{ei:e.ZEp},stream_id:r.tK,url:r.tK},Rt={event:"/mss/pushdel",error:{ei:e.ZEp},stream_id:r.tK,url:r.tK},Tt={event:"/sdk/set_video_config",error:{ei:e.ZEp,se:e.S5f},video_params:r.Gq,video_conf:r.Gq},Ct={event:"/sdk/set_audio_config",error:{ei:e.ZEp,se:e.S5f},audio_params:r.Gq,audio_conf:r.Gq},At={event:"/sdk/api/publish_video_en_size",w:r.Tr,h:r.Tr},zt={event:"/sdk/api/publish_video_en_bps",bitrate:r.Tr},Dt={event:"/sdk/api/publish_video_en_fps",fps:r.Tr},Nt={event:"/sdk/replace_track",error:{ei:e.ZEp},track_kind:r.tK},Pt={event:"/device/api/video_c",error:{ei:e.ZEp,ve:e.ckg,se:e.S5f,me:e.jut},device:r.tK,device_name:r.tK,facing_mode:r.tK},xt={event:"/device/api/audio_c",error:{ei:e.ZEp,ve:e.ckg,se:e.S5f},device:r.tK,device_name:r.tK},Mt={event:"/sdk/play_content_changed",webrtc_sid:r.Tr,video_activate:r.yS,audio_activate:r.yS,video_layer:r.Tr},qt={event:"/sdk/mute_publish_video",mute_type:r.Tr,retain:r.yS},Lt={event:"/sdk/mute_publish_audio",mute_type:r.Tr},Bt={event:"/device/enable_mic",enable:r.yS,stream_list:r.Gq},jt={event:"/device/enable_camera",enable:r.yS,stream_list:r.Gq},Ut={event:"/sdk/mute_play_video",mute_type:r.Tr},Gt={event:"/sdk/mute_play_audio",mute_type:r.Tr},Jt={event:"/liveroom/send_stream_extra_info",error:{ei:e.ZEp,pe:e.PTE,ce:e.S4u,ae:e.xU2,ge:e.m6U,_zpg_kExtraInfoNull:e.PTE,_zpg_kExtraInfoTooLong:e.V2t},stream_id:r.tK,send_seq:r.Tr,stream_extra_info:r.Gq,room_id:r.tK,room_sid_string:r.tK,use_na:r.Tr},Ft={event:"/active/sei",action:r.Tr,info_type:r.Tr}},5095:function(t,i,n){"use strict";n.d(i,{Gq:function(){return e},Tr:function(){return o},tK:function(){return r},yS:function(){return u},yp:function(){return s}});var e=function(t){return t},r=function(t){return t},s=function(t){return t},o=function(t){return t},u=function(t){return t}},8627:function(t,i,n){"use strict";n.d(i,{$wo:function(){return Q},A1v:function(){return bi},Arx:function(){return Dt},B3d:function(){return Rt},BMv:function(){return Ri},Be2:function(){return ft},F$4:function(){return I},FB3:function(){return it},GY7:function(){return ti},HCP:function(){return $},HED:function(){return w},HO9:function(){return k},I4J:function(){return Gt},I7C:function(){return ct},J79:function(){return a},JDv:function(){return dt},JSm:function(){return lt},KbN:function(){return Oi},L8E:function(){return K},LLz:function(){return N},MK1:function(){return St},MrD:function(){return ot},MrS:function(){return D},MuX:function(){return Ut},NCg:function(){return ki},NJN:function(){return mi},O2H:function(){return di},OdW:function(){return Jt},OrZ:function(){return P},Oy0:function(){return v},PA0:function(){return c},PTE:function(){return A},Q3v:function(){return vt},Q4o:function(){return Qt},Q9p:function(){return d},QYE:function(){return wi},Qo5:function(){return b},R54:function(){return li},RBR:function(){return pt},RZs:function(){return Bt},RfS:function(){return W},S4u:function(){return s},S5f:function(){return h},S6t:function(){return ui},SB8:function(){return Ct},SQb:function(){return ri},SRE:function(){return tt},SmZ:function(){return j},Srw:function(){return y},T1C:function(){return Xt},T_8:function(){return _t},TgN:function(){return Ii},Tij:function(){return Pt},UZK:function(){return p},V2t:function(){return z},VEp:function(){return ei},VU9:function(){return U},WP4:function(){return st},WgV:function(){return pi},XHx:function(){return zt},Xxx:function(){return C},ZEp:function(){return l},ZpF:function(){return B},Zws:function(){return Tt},_68:function(){return F},_9F:function(){return ni},_HD:function(){return g},a$$:function(){return yi},aUw:function(){return R},aa2:function(){return V},akY:function(){return Ei},ann:function(){return yt},aq0:function(){return _i},b1q:function(){return Lt},cGQ:function(){return wt},cMG:function(){return jt},ckD:function(){return Ht},ckg:function(){return hi},clM:function(){return o},d49:function(){return u},dNl:function(){return Ti},dU8:function(){return si},dXc:function(){return Mt},dg1:function(){return G},dqB:function(){return Et},ekj:function(){return At},f43:function(){return X},f5Z:function(){return Kt},fFX:function(){return ci},fzq:function(){return Z},g9p:function(){return E},gHA:function(){ret