zego-express-engine-webrtc
Version:
zego webrtc express sdk
1 lines • 1.65 MB
JavaScript
!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 e="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 n in e)("object"==typeof exports?exports:t)[n]=e[n]}}("undefined"!=typeof self?self:this,(function(t,i,e,n){return function(){var s={955:function(t,i,e){var n;t.exports=(n=e(9021),e(754),e(4636),e(9506),e(7165),function(){var t=n,i=t.lib.BlockCipher,e=t.algo,s=[],r=[],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 e=0,n=0;for(i=0;i<256;i++){var v=n^n<<1^n<<2^n<<3^n<<4;s[e]=v=v>>>8^255&v^99,r[v]=e;var m,p=t[e],g=t[p],b=t[g];o[e]=(m=257*t[v]^16843008*v)<<24|m>>>8,u[e]=m<<16|m>>>16,a[e]=m<<8|m>>>24,c[e]=m,h[v]=(m=16843009*b^65537*g^257*p^16843008*e)<<24|m>>>8,f[v]=m<<16|m>>>16,l[v]=m<<8|m>>>24,d[v]=m,e?(e=p^t[t[t[b^p]]],n^=t[t[n]]):e=n=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],m=e.AES=i.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,i=t.words,e=t.sigBytes/4,n=4*((this._nRounds=e+6)+1),r=this._keySchedule=[],o=0;o<n;o++)o<e?r[o]=i[o]:(c=r[o-1],o%e?e>6&&o%e==4&&(c=s[c>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c]):(c=s[(c=c<<8|c>>>24)>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c],c^=v[o/e|0]<<24),r[o]=r[o-e]^c);for(var u=this._invKeySchedule=[],a=0;a<n;a++){if(o=n-a,a%4)var c=r[o];else c=r[o-4];u[a]=a<4||o<=4?c:h[s[c>>>24]]^f[s[c>>>16&255]]^l[s[c>>>8&255]]^d[s[255&c]]}}},encryptBlock:function(t,i){this._doCryptBlock(t,i,this._keySchedule,o,u,a,c,s)},decryptBlock:function(t,i){var e=t[i+1];t[i+1]=t[i+3],t[i+3]=e,this._doCryptBlock(t,i,this._invKeySchedule,h,f,l,d,r),e=t[i+1],t[i+1]=t[i+3],t[i+3]=e},_doCryptBlock:function(t,i,e,n,s,r,o,u){for(var a=this._nRounds,c=t[i]^e[0],h=t[i+1]^e[1],f=t[i+2]^e[2],l=t[i+3]^e[3],d=4,v=1;v<a;v++){var m=n[c>>>24]^s[h>>>16&255]^r[f>>>8&255]^o[255&l]^e[d++],p=n[h>>>24]^s[f>>>16&255]^r[l>>>8&255]^o[255&c]^e[d++],g=n[f>>>24]^s[l>>>16&255]^r[c>>>8&255]^o[255&h]^e[d++],b=n[l>>>24]^s[c>>>16&255]^r[h>>>8&255]^o[255&f]^e[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])^e[d++],p=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&c])^e[d++],g=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[255&h])^e[d++],b=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[255&f])^e[d++],t[i]=m,t[i+1]=p,t[i+2]=g,t[i+3]=b},keySize:8});t.AES=i._createHelper(m)}(),n.AES)},7165:function(t,i,e){var n;t.exports=(n=e(9021),e(9506),void(n.lib.Cipher||function(t){var i=n,e=i.lib,s=e.Base,r=e.WordArray,o=e.BufferedBlockAlgorithm,u=i.enc,a=u.Base64,c=i.algo.EvpKDF,h=e.Cipher=o.extend({cfg:s.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,e){this.cfg=this.cfg.extend(e),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(e,n,s){return t(n).encrypt(i,e,n,s)},decrypt:function(e,n,s){return t(n).decrypt(i,e,n,s)}}}}()}),f=(e.StreamCipher=h.extend({_doFinalize:function(){return this._process(!0)},blockSize:1}),i.mode={}),l=e.BlockCipherMode=s.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 e(i,e,n){var s,r=this._iv;r?(s=r,this._iv=t):s=this._prevBlock;for(var o=0;o<n;o++)i[e+o]^=s[o]}return i.Encryptor=i.extend({processBlock:function(t,i){var n=this._cipher,s=n.blockSize;e.call(this,t,i,s),n.encryptBlock(t,i),this._prevBlock=t.slice(i,i+s)}}),i.Decryptor=i.extend({processBlock:function(t,i){var n=this._cipher,s=n.blockSize,r=t.slice(i,i+s);n.decryptBlock(t,i),e.call(this,t,i,s),this._prevBlock=r}}),i}(),v=(i.pad={}).Pkcs7={pad:function(t,i){for(var e=4*i,n=e-t.sigBytes%e,s=n<<24|n<<16|n<<8|n,o=[],u=0;u<n;u+=4)o.push(s);var a=r.create(o,n);t.concat(a)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},m=(e.BlockCipher=h.extend({cfg:h.cfg.extend({mode:d,padding:v}),reset:function(){var t;h.reset.call(this);var i=this.cfg,e=i.iv,n=i.mode;this._xformMode==this._ENC_XFORM_MODE?t=n.createEncryptor:(t=n.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==t?this._mode.init(this,e&&e.words):(this._mode=t.call(n,this,e&&e.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}),e.CipherParams=s.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,e=t.salt;return(e?r.create([1398893684,1701076831]).concat(e).concat(i):i).toString(a)},parse:function(t){var i,e=a.parse(t),n=e.words;return 1398893684==n[0]&&1701076831==n[1]&&(i=r.create(n.slice(2,4)),n.splice(0,4),e.sigBytes-=16),m.create({ciphertext:e,salt:i})}},g=e.SerializableCipher=s.extend({cfg:s.extend({format:p}),encrypt:function(t,i,e,n){n=this.cfg.extend(n);var s=t.createEncryptor(e,n),r=s.finalize(i),o=s.cfg;return m.create({ciphertext:r,key:e,iv:o.iv,algorithm:t,mode:o.mode,padding:o.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,i,e,n){return n=this.cfg.extend(n),i=this._parse(i,n.format),t.createDecryptor(e,n).finalize(i.ciphertext)},_parse:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),b=(i.kdf={}).OpenSSL={execute:function(t,i,e,n,s){if(n||(n=r.random(8)),s)o=c.create({keySize:i+e,hasher:s}).compute(t,n);else var o=c.create({keySize:i+e}).compute(t,n);var u=r.create(o.words.slice(i),4*e);return o.sigBytes=4*i,m.create({key:o,iv:u,salt:n})}},_=e.PasswordBasedCipher=g.extend({cfg:g.cfg.extend({kdf:b}),encrypt:function(t,i,e,n){var s=(n=this.cfg.extend(n)).kdf.execute(e,t.keySize,t.ivSize,n.salt,n.hasher);n.iv=s.iv;var r=g.encrypt.call(this,t,i,s.key,n);return r.mixIn(s),r},decrypt:function(t,i,e,n){n=this.cfg.extend(n),i=this._parse(i,n.format);var s=n.kdf.execute(e,t.keySize,t.ivSize,i.salt,n.hasher);return n.iv=s.iv,g.decrypt.call(this,t,i,s.key,n)}})}()))},9021:function(t,i,e){var n;t.exports=(n=n||function(t,i){var n;if("undefined"!=typeof window&&window.crypto&&(n=window.crypto),"undefined"!=typeof self&&self.crypto&&(n=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!=typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&void 0!==e.g&&e.g.crypto&&(n=e.g.crypto),!n)try{n=e(477)}catch(t){}var s=function(){if(n){if("function"==typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(t){}}throw new Error("Native crypto module could not be used to get secure random number.")},r=Object.create||function(){function t(){}return function(i){var e;return t.prototype=i,e=new t,t.prototype=null,e}}(),o={},u=o.lib={},a=u.Base={extend:function(t){var i=r(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,e){t=this.words=t||[],this.sigBytes=e!=i?e:4*t.length},toString:function(t){return(t||f).stringify(this)},concat:function(t){var i=this.words,e=t.words,n=this.sigBytes,s=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<s;r++)i[n+r>>>2]|=(e[r>>>2]>>>24-r%4*8&255)<<24-(n+r)%4*8;else for(var o=0;o<s;o+=4)i[n+o>>>2]=e[o>>>2];return this.sigBytes+=s,this},clamp:function(){var i=this.words,e=this.sigBytes;i[e>>>2]&=4294967295<<32-e%4*8,i.length=t.ceil(e/4)},clone:function(){var t=a.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],e=0;e<t;e+=4)i.push(s());return new c.init(i,t)}}),h=o.enc={},f=h.Hex={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],s=0;s<e;s++){var r=i[s>>>2]>>>24-s%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new c.init(e,i/2)}},l=h.Latin1={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],s=0;s<e;s++)n.push(String.fromCharCode(i[s>>>2]>>>24-s%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n++)e[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new c.init(e,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 e,n=this._data,s=n.words,r=n.sigBytes,o=this.blockSize,u=r/(4*o),a=(u=i?t.ceil(u):t.max((0|u)-this._minBufferSize,0))*o,h=t.min(4*a,r);if(a){for(var f=0;f<a;f+=o)this._doProcessBlock(s,f);e=s.splice(0,a),n.sigBytes-=h}return new c.init(e,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,e){return new t.init(e).finalize(i)}},_createHmacHelper:function(t){return function(i,e){return new m.HMAC.init(t,e).finalize(i)}}}),o.algo={});return o}(Math),n)},754:function(t,i,e){var n;t.exports=(n=e(9021),function(){var t=n.lib.WordArray;function i(i,e,n){for(var s=[],r=0,o=0;o<e;o++)if(o%4){var u=n[i.charCodeAt(o-1)]<<o%4*2,a=n[i.charCodeAt(o)]>>>6-o%4*2;s[r>>>2]|=(u|a)<<24-r%4*8,r++}return t.create(s,r)}n.enc.Base64={stringify:function(t){var i=t.words,e=t.sigBytes,n=this._map;t.clamp();for(var s=[],r=0;r<e;r+=3)for(var o=(i[r>>>2]>>>24-r%4*8&255)<<16|(i[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|i[r+2>>>2]>>>24-(r+2)%4*8&255,u=0;u<4&&r+.75*u<e;u++)s.push(n.charAt(o>>>6*(3-u)&63));var a=n.charAt(64);if(a)for(;s.length%4;)s.push(a);return s.join("")},parse:function(t){var e=t.length,n=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var r=0;r<n.length;r++)s[n.charCodeAt(r)]=r}var o=n.charAt(64);if(o){var u=t.indexOf(o);-1!==u&&(e=u)}return i(t,e,s)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},5178:function(t,i,e){var n;t.exports=(n=e(9021),n.enc.Utf8)},9506:function(t,i,e){var n,s,r,o,u,a,c;t.exports=(c=e(9021),e(5471),e(1025),o=(s=(n=c).lib).WordArray,a=(u=n.algo).EvpKDF=(r=s.Base).extend({cfg:r.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var e,n=this.cfg,s=n.hasher.create(),r=o.create(),u=r.words,a=n.keySize,c=n.iterations;u.length<a;){e&&s.update(e),e=s.update(t).finalize(i),s.reset();for(var h=1;h<c;h++)e=s.finalize(e),s.reset();r.concat(e)}return r.sigBytes=4*a,r}}),n.EvpKDF=function(t,i,e){return a.create(e).compute(t,i)},c.EvpKDF)},1025:function(t,i,e){var n,s;t.exports=(n=e(9021),s=n.enc.Utf8,void(n.algo.HMAC=n.lib.Base.extend({init:function(t,i){t=this._hasher=new t.init,"string"==typeof i&&(i=s.parse(i));var e=t.blockSize,n=4*e;i.sigBytes>n&&(i=t.finalize(i)),i.clamp();for(var r=this._oKey=i.clone(),o=this._iKey=i.clone(),u=r.words,a=o.words,c=0;c<e;c++)u[c]^=1549556828,a[c]^=909522486;r.sigBytes=o.sigBytes=n,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,e=i.finalize(t);return i.reset(),i.finalize(this._oKey.clone().concat(e))}})))},6440:function(t,i,e){var n;t.exports=(n=e(9021),function(){if("function"==typeof ArrayBuffer){var t=n.lib.WordArray,i=t.init,e=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 e=t.byteLength,n=[],s=0;s<e;s++)n[s>>>2]|=t[s]<<24-s%4*8;i.call(this,n,e)}else i.apply(this,arguments)};e.prototype=t}}(),n.lib.WordArray)},4636:function(t,i,e){var n;t.exports=(n=e(9021),function(t){var i=n,e=i.lib,s=e.WordArray,r=e.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=r.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(t,i){for(var e=0;e<16;e++){var n=i+e,s=t[n];t[n]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var r=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],O=t[i+13],T=t[i+14],k=t[i+15],R=r[0],I=r[1],N=r[2],z=r[3];R=c(R,I,N,z,o,7,u[0]),z=c(z,R,I,N,a,12,u[1]),N=c(N,z,R,I,d,17,u[2]),I=c(I,N,z,R,v,22,u[3]),R=c(R,I,N,z,m,7,u[4]),z=c(z,R,I,N,p,12,u[5]),N=c(N,z,R,I,g,17,u[6]),I=c(I,N,z,R,b,22,u[7]),R=c(R,I,N,z,_,7,u[8]),z=c(z,R,I,N,y,12,u[9]),N=c(N,z,R,I,w,17,u[10]),I=c(I,N,z,R,S,22,u[11]),R=c(R,I,N,z,E,7,u[12]),z=c(z,R,I,N,O,12,u[13]),N=c(N,z,R,I,T,17,u[14]),R=h(R,I=c(I,N,z,R,k,22,u[15]),N,z,a,5,u[16]),z=h(z,R,I,N,g,9,u[17]),N=h(N,z,R,I,S,14,u[18]),I=h(I,N,z,R,o,20,u[19]),R=h(R,I,N,z,p,5,u[20]),z=h(z,R,I,N,w,9,u[21]),N=h(N,z,R,I,k,14,u[22]),I=h(I,N,z,R,m,20,u[23]),R=h(R,I,N,z,y,5,u[24]),z=h(z,R,I,N,T,9,u[25]),N=h(N,z,R,I,v,14,u[26]),I=h(I,N,z,R,_,20,u[27]),R=h(R,I,N,z,O,5,u[28]),z=h(z,R,I,N,d,9,u[29]),N=h(N,z,R,I,b,14,u[30]),R=f(R,I=h(I,N,z,R,E,20,u[31]),N,z,p,4,u[32]),z=f(z,R,I,N,_,11,u[33]),N=f(N,z,R,I,S,16,u[34]),I=f(I,N,z,R,T,23,u[35]),R=f(R,I,N,z,a,4,u[36]),z=f(z,R,I,N,m,11,u[37]),N=f(N,z,R,I,b,16,u[38]),I=f(I,N,z,R,w,23,u[39]),R=f(R,I,N,z,O,4,u[40]),z=f(z,R,I,N,o,11,u[41]),N=f(N,z,R,I,v,16,u[42]),I=f(I,N,z,R,g,23,u[43]),R=f(R,I,N,z,y,4,u[44]),z=f(z,R,I,N,E,11,u[45]),N=f(N,z,R,I,k,16,u[46]),R=l(R,I=f(I,N,z,R,d,23,u[47]),N,z,o,6,u[48]),z=l(z,R,I,N,b,10,u[49]),N=l(N,z,R,I,T,15,u[50]),I=l(I,N,z,R,p,21,u[51]),R=l(R,I,N,z,E,6,u[52]),z=l(z,R,I,N,v,10,u[53]),N=l(N,z,R,I,w,15,u[54]),I=l(I,N,z,R,a,21,u[55]),R=l(R,I,N,z,_,6,u[56]),z=l(z,R,I,N,k,10,u[57]),N=l(N,z,R,I,g,15,u[58]),I=l(I,N,z,R,O,21,u[59]),R=l(R,I,N,z,m,6,u[60]),z=l(z,R,I,N,S,10,u[61]),N=l(N,z,R,I,d,15,u[62]),I=l(I,N,z,R,y,21,u[63]),r[0]=r[0]+R|0,r[1]=r[1]+I|0,r[2]=r[2]+N|0,r[3]=r[3]+z|0},_doFinalize:function(){var i=this._data,e=i.words,n=8*this._nDataBytes,s=8*i.sigBytes;e[s>>>5]|=128<<24-s%32;var r=t.floor(n/4294967296),o=n;e[15+(s+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e[14+(s+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i.sigBytes=4*(e.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=r.clone.call(this);return t._hash=this._hash.clone(),t}});function c(t,i,e,n,s,r,o){var u=t+(i&e|~i&n)+s+o;return(u<<r|u>>>32-r)+i}function h(t,i,e,n,s,r,o){var u=t+(i&n|e&~n)+s+o;return(u<<r|u>>>32-r)+i}function f(t,i,e,n,s,r,o){var u=t+(i^e^n)+s+o;return(u<<r|u>>>32-r)+i}function l(t,i,e,n,s,r,o){var u=t+(e^(i|~n))+s+o;return(u<<r|u>>>32-r)+i}i.MD5=r._createHelper(a),i.HmacMD5=r._createHmacHelper(a)}(Math),n.MD5)},5471:function(t,i,e){var n,s,r,o,u,a,c;t.exports=(c=e(9021),r=(s=(n=c).lib).WordArray,u=[],a=n.algo.SHA1=(o=s.Hasher).extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(t,i){for(var e=this._hash.words,n=e[0],s=e[1],r=e[2],o=e[3],a=e[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=(n<<5|n>>>27)+a+u[c];f+=c<20?1518500249+(s&r|~s&o):c<40?1859775393+(s^r^o):c<60?(s&r|s&o|r&o)-1894007588:(s^r^o)-899497514,a=o,o=r,r=s<<30|s>>>2,s=n,n=f}e[0]=e[0]+n|0,e[1]=e[1]+s|0,e[2]=e[2]+r|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0},_doFinalize:function(){var t=this._data,i=t.words,e=8*this._nDataBytes,n=8*t.sigBytes;return i[n>>>5]|=128<<24-n%32,i[14+(n+64>>>9<<4)]=Math.floor(e/4294967296),i[15+(n+64>>>9<<4)]=e,t.sigBytes=4*i.length,this._process(),this._hash},clone:function(){var t=o.clone.call(this);return t._hash=this._hash.clone(),t}}),n.SHA1=o._createHelper(a),n.HmacSHA1=o._createHmacHelper(a),c.SHA1)},2799:function(t,i,e){var n;"undefined"!=typeof self&&self,n=(t,i,e)=>(()=>{var n={955:function(t,i,e){var n;t.exports=(n=e(21),e(754),e(636),e(506),e(165),function(){var t=n,i=t.lib.BlockCipher,e=t.algo,s=[],r=[],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 e=0,n=0;for(i=0;i<256;i++){var v=n^n<<1^n<<2^n<<3^n<<4;s[e]=v=v>>>8^255&v^99,r[v]=e;var m=t[e],p=t[m],g=t[p],b=257*t[v]^16843008*v;o[e]=b<<24|b>>>8,u[e]=b<<16|b>>>16,a[e]=b<<8|b>>>24,c[e]=b,h[v]=(b=16843009*g^65537*p^257*m^16843008*e)<<24|b>>>8,f[v]=b<<16|b>>>16,l[v]=b<<8|b>>>24,d[v]=b,e?(e=m^t[t[t[g^m]]],n^=t[t[n]]):e=n=1}}();var v=[0,1,2,4,8,16,32,64,128,27,54],m=e.AES=i.extend({t:function(){if(!this.i||this.u!==this.h){for(var t=this.u=this.h,i=t.words,e=t.sigBytes/4,n=4*((this.i=e+6)+1),r=this._=[],o=0;o<n;o++)o<e?r[o]=i[o]:(c=r[o-1],o%e?e>6&&o%e==4&&(c=s[c>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c]):(c=s[(c=c<<8|c>>>24)>>>24]<<24|s[c>>>16&255]<<16|s[c>>>8&255]<<8|s[255&c],c^=v[o/e|0]<<24),r[o]=r[o-e]^c);for(var u=this.l=[],a=0;a<n;a++){if(o=n-a,a%4)var c=r[o];else c=r[o-4];u[a]=a<4||o<=4?c:h[s[c>>>24]]^f[s[c>>>16&255]]^l[s[c>>>8&255]]^d[s[255&c]]}}},encryptBlock:function(t,i){this.v(t,i,this._,o,u,a,c,s)},decryptBlock:function(t,i){var e=t[i+1];t[i+1]=t[i+3],t[i+3]=e,this.v(t,i,this.l,h,f,l,d,r),e=t[i+1],t[i+1]=t[i+3],t[i+3]=e},v:function(t,i,e,n,s,r,o,u){for(var a=this.i,c=t[i]^e[0],h=t[i+1]^e[1],f=t[i+2]^e[2],l=t[i+3]^e[3],d=4,v=1;v<a;v++){var m=n[c>>>24]^s[h>>>16&255]^r[f>>>8&255]^o[255&l]^e[d++],p=n[h>>>24]^s[f>>>16&255]^r[l>>>8&255]^o[255&c]^e[d++],g=n[f>>>24]^s[l>>>16&255]^r[c>>>8&255]^o[255&h]^e[d++],b=n[l>>>24]^s[c>>>16&255]^r[h>>>8&255]^o[255&f]^e[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])^e[d++],p=(u[h>>>24]<<24|u[f>>>16&255]<<16|u[l>>>8&255]<<8|u[255&c])^e[d++],g=(u[f>>>24]<<24|u[l>>>16&255]<<16|u[c>>>8&255]<<8|u[255&h])^e[d++],b=(u[l>>>24]<<24|u[c>>>16&255]<<16|u[h>>>8&255]<<8|u[255&f])^e[d++],t[i]=m,t[i+1]=p,t[i+2]=g,t[i+3]=b},keySize:8});t.AES=i.p(m)}(),n.AES)},165:function(t,i,e){var n;t.exports=(n=e(21),e(506),void(n.lib.Cipher||function(){var t=n,i=t.lib,e=i.Base,s=i.WordArray,r=i.BufferedBlockAlgorithm,o=t.enc,u=o.Base64,a=t.algo.EvpKDF,c=i.Cipher=r.extend({cfg:e.extend(),createEncryptor:function(t,i){return this.create(this.S,t,i)},createDecryptor:function(t,i){return this.create(this.T,t,i)},init:function(t,i,e){this.cfg=this.cfg.extend(e),this.C=t,this.h=i,this.reset()},reset:function(){r.reset.call(this),this.t()},process:function(t){return this.m(t),this.O()},finalize:function(t){return t&&this.m(t),this.R()},keySize:4,ivSize:4,S:1,T:2,p:function(){function t(t){return"string"==typeof t?b:p}return function(i){return{encrypt:function(e,n,s){return t(n).encrypt(i,e,n,s)},decrypt:function(e,n,s){return t(n).decrypt(i,e,n,s)}}}}()}),h=(i.StreamCipher=c.extend({R:function(){return this.O(!0)},blockSize:1}),t.mode={}),f=i.BlockCipherMode=e.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.A=t,this.P=i}}),l=h.CBC=function(){var t=f.extend();function i(t,i,e){var n,s=this.P;s?(n=s,this.P=void 0):n=this.I;for(var r=0;r<e;r++)t[i+r]^=n[r]}return t.Encryptor=t.extend({processBlock:function(t,e){var n=this.A,s=n.blockSize;i.call(this,t,e,s),n.encryptBlock(t,e),this.I=t.slice(e,e+s)}}),t.Decryptor=t.extend({processBlock:function(t,e){var n=this.A,s=n.blockSize,r=t.slice(e,e+s);n.decryptBlock(t,e),i.call(this,t,e,s),this.I=r}}),t}(),d=(t.pad={}).Pkcs7={pad:function(t,i){for(var e=4*i,n=e-t.sigBytes%e,r=n<<24|n<<16|n<<8|n,o=[],u=0;u<n;u+=4)o.push(r);var a=s.create(o,n);t.concat(a)},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},v=(i.BlockCipher=c.extend({cfg:c.cfg.extend({mode:l,padding:d}),reset:function(){var t;c.reset.call(this);var i=this.cfg,e=i.iv,n=i.mode;this.C==this.S?t=n.createEncryptor:(t=n.createDecryptor,this.N=1),this.D&&this.D.M==t?this.D.init(this,e&&e.words):(this.D=t.call(n,this,e&&e.words),this.D.M=t)},H:function(t,i){this.D.processBlock(t,i)},R:function(){var t,i=this.cfg.padding;return this.C==this.S?(i.pad(this.U,this.blockSize),t=this.O(!0)):(t=this.O(!0),i.unpad(t)),t},blockSize:4}),i.CipherParams=e.extend({init:function(t){this.mixIn(t)},toString:function(t){return(t||this.formatter).stringify(this)}})),m=(t.format={}).OpenSSL={stringify:function(t){var i=t.ciphertext,e=t.salt;return(e?s.create([1398893684,1701076831]).concat(e).concat(i):i).toString(u)},parse:function(t){var i,e=u.parse(t),n=e.words;return 1398893684==n[0]&&1701076831==n[1]&&(i=s.create(n.slice(2,4)),n.splice(0,4),e.sigBytes-=16),v.create({ciphertext:e,salt:i})}},p=i.SerializableCipher=e.extend({cfg:e.extend({format:m}),encrypt:function(t,i,e,n){n=this.cfg.extend(n);var s=t.createEncryptor(e,n),r=s.finalize(i),o=s.cfg;return v.create({ciphertext:r,key:e,iv:o.iv,algorithm:t,mode:o.mode,padding:o.padding,blockSize:t.blockSize,formatter:n.format})},decrypt:function(t,i,e,n){return n=this.cfg.extend(n),i=this.G(i,n.format),t.createDecryptor(e,n).finalize(i.ciphertext)},G:function(t,i){return"string"==typeof t?i.parse(t,this):t}}),g=(t.kdf={}).OpenSSL={execute:function(t,i,e,n){n||(n=s.random(8));var r=a.create({keySize:i+e}).compute(t,n),o=s.create(r.words.slice(i),4*e);return r.sigBytes=4*i,v.create({key:r,iv:o,salt:n})}},b=i.PasswordBasedCipher=p.extend({cfg:p.cfg.extend({kdf:g}),encrypt:function(t,i,e,n){var s=(n=this.cfg.extend(n)).kdf.execute(e,t.keySize,t.ivSize);n.iv=s.iv;var r=p.encrypt.call(this,t,i,s.key,n);return r.mixIn(s),r},decrypt:function(t,i,e,n){n=this.cfg.extend(n),i=this.G(i,n.format);var s=n.kdf.execute(e,t.keySize,t.ivSize,i.salt);return n.iv=s.iv,p.decrypt.call(this,t,i,s.key,n)}})}()))},21:function(t,i,e){var n;t.exports=(n=n||function(t){var i;if("undefined"!=typeof window&&window.crypto&&(i=window.crypto),"undefined"!=typeof self&&self.crypto&&(i=self.crypto),"undefined"!=typeof globalThis&&globalThis.crypto&&(i=globalThis.crypto),!i&&"undefined"!=typeof window&&window.msCrypto&&(i=window.msCrypto),!i&&void 0!==e.g&&e.g.crypto&&(i=e.g.crypto),!i)try{i=e(477)}catch(t){}var n=function(){if(i){if("function"==typeof i.getRandomValues)try{return i.getRandomValues(new Uint32Array(1))[0]}catch(t){}if("function"==typeof i.randomBytes)try{return i.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 e;return t.prototype=i,e=new t,t.prototype=null,e}}(),r={},o=r.lib={},u=o.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)}},a=o.WordArray=u.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=null!=i?i:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var i=this.words,e=t.words,n=this.sigBytes,s=t.sigBytes;if(this.clamp(),n%4)for(var r=0;r<s;r++)i[n+r>>>2]|=(e[r>>>2]>>>24-r%4*8&255)<<24-(n+r)%4*8;else for(var o=0;o<s;o+=4)i[n+o>>>2]=e[o>>>2];return this.sigBytes+=s,this},clamp:function(){var i=this.words,e=this.sigBytes;i[e>>>2]&=4294967295<<32-e%4*8,i.length=t.ceil(e/4)},clone:function(){var t=u.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var i=[],e=0;e<t;e+=4)i.push(n());return new a.init(i,t)}}),c=r.enc={},h=c.Hex={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],s=0;s<e;s++){var r=i[s>>>2]>>>24-s%4*8&255;n.push((r>>>4).toString(16)),n.push((15&r).toString(16))}return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n+=2)e[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new a.init(e,i/2)}},f=c.Latin1={stringify:function(t){for(var i=t.words,e=t.sigBytes,n=[],s=0;s<e;s++)n.push(String.fromCharCode(i[s>>>2]>>>24-s%4*8&255));return n.join("")},parse:function(t){for(var i=t.length,e=[],n=0;n<i;n++)e[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new a.init(e,i)}},l=c.Utf8={stringify:function(t){try{return decodeURIComponent(escape(f.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return f.parse(unescape(encodeURIComponent(t)))}},d=o.BufferedBlockAlgorithm=u.extend({reset:function(){this.U=new a.init,this.k=0},m:function(t){"string"==typeof t&&(t=l.parse(t)),this.U.concat(t),this.k+=t.sigBytes},O:function(i){var e,n=this.U,s=n.words,r=n.sigBytes,o=this.blockSize,u=r/(4*o),c=(u=i?t.ceil(u):t.max((0|u)-this.N,0))*o,h=t.min(4*c,r);if(c){for(var f=0;f<c;f+=o)this.H(s,f);e=s.splice(0,c),n.sigBytes-=h}return new a.init(e,h)},clone:function(){var t=u.clone.call(this);return t.U=this.U.clone(),t},N:0}),v=(o.Hasher=d.extend({cfg:u.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){d.reset.call(this),this.t()},update:function(t){return this.m(t),this.O(),this},finalize:function(t){return t&&this.m(t),this.R()},blockSize:16,p:function(t){return function(i,e){return new t.init(e).finalize(i)}},V:function(t){return function(i,e){return new v.HMAC.init(t,e).finalize(i)}}}),r.algo={});return r}(Math),n)},754:function(t,i,e){var n;t.exports=(n=e(21),function(){var t=n.lib.WordArray;function i(i,e,n){for(var s=[],r=0,o=0;o<e;o++)if(o%4){var u=n[i.charCodeAt(o-1)]<<o%4*2|n[i.charCodeAt(o)]>>>6-o%4*2;s[r>>>2]|=u<<24-r%4*8,r++}return t.create(s,r)}n.enc.Base64={stringify:function(t){var i=t.words,e=t.sigBytes,n=this.B;t.clamp();for(var s=[],r=0;r<e;r+=3)for(var o=(i[r>>>2]>>>24-r%4*8&255)<<16|(i[r+1>>>2]>>>24-(r+1)%4*8&255)<<8|i[r+2>>>2]>>>24-(r+2)%4*8&255,u=0;u<4&&r+.75*u<e;u++)s.push(n.charAt(o>>>6*(3-u)&63));var a=n.charAt(64);if(a)for(;s.length%4;)s.push(a);return s.join("")},parse:function(t){var e=t.length,n=this.B,s=this.Y;if(!s){s=this.Y=[];for(var r=0;r<n.length;r++)s[n.charCodeAt(r)]=r}var o=n.charAt(64);if(o){var u=t.indexOf(o);-1!==u&&(e=u)}return i(t,e,s)},B:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),n.enc.Base64)},178:function(t,i,e){t.exports=e(21).enc.Utf8},506:function(t,i,e){var n,s,r,o,u,a,c;t.exports=(c=e(21),e(471),e(25),s=(n=c).lib,o=s.WordArray,a=(u=n.algo).EvpKDF=(r=s.Base).extend({cfg:r.extend({keySize:4,hasher:u.MD5,iterations:1}),init:function(t){this.cfg=this.cfg.extend(t)},compute:function(t,i){for(var e,n=this.cfg,s=n.hasher.create(),r=o.create(),u=r.words,a=n.keySize,c=n.iterations;u.length<a;){e&&s.update(e),e=s.update(t).finalize(i),s.reset();for(var h=1;h<c;h++)e=s.finalize(e),s.reset();r.concat(e)}return r.sigBytes=4*a,r}}),n.EvpKDF=function(t,i,e){return a.create(e).compute(t,i)},c.EvpKDF)},25:function(t,i,e){var n,s,r;t.exports=(s=(n=e(21)).lib.Base,r=n.enc.Utf8,void(n.algo.HMAC=s.extend({init:function(t,i){t=this.L=new t.init,"string"==typeof i&&(i=r.parse(i));var e=t.blockSize,n=4*e;i.sigBytes>n&&(i=t.finalize(i)),i.clamp();for(var s=this.j=i.clone(),o=this.q=i.clone(),u=s.words,a=o.words,c=0;c<e;c++)u[c]^=1549556828,a[c]^=909522486;s.sigBytes=o.sigBytes=n,this.reset()},reset:function(){var t=this.L;t.reset(),t.update(this.q)},update:function(t){return this.L.update(t),this},finalize:function(t){var i=this.L,e=i.finalize(t);return i.reset(),i.finalize(this.j.clone().concat(e))}})))},636:function(t,i,e){var n;t.exports=(n=e(21),function(t){var i=n,e=i.lib,s=e.WordArray,r=e.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=r.extend({t:function(){this.F=new s.init([1732584193,4023233417,2562383102,271733878])},H:function(t,i){for(var e=0;e<16;e++){var n=i+e,s=t[n];t[n]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}var r=this.F.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],O=t[i+13],T=t[i+14],k=t[i+15],R=r[0],I=r[1],N=r[2],z=r[3];R=c(R,I,N,z,o,7,u[0]),z=c(z,R,I,N,a,12,u[1]),N=c(N,z,R,I,d,17,u[2]),I=c(I,N,z,R,v,22,u[3]),R=c(R,I,N,z,m,7,u[4]),z=c(z,R,I,N,p,12,u[5]),N=c(N,z,R,I,g,17,u[6]),I=c(I,N,z,R,b,22,u[7]),R=c(R,I,N,z,_,7,u[8]),z=c(z,R,I,N,y,12,u[9]),N=c(N,z,R,I,w,17,u[10]),I=c(I,N,z,R,S,22,u[11]),R=c(R,I,N,z,E,7,u[12]),z=c(z,R,I,N,O,12,u[13]),N=c(N,z,R,I,T,17,u[14]),R=h(R,I=c(I,N,z,R,k,22,u[15]),N,z,a,5,u[16]),z=h(z,R,I,N,g,9,u[17]),N=h(N,z,R,I,S,14,u[18]),I=h(I,N,z,R,o,20,u[19]),R=h(R,I,N,z,p,5,u[20]),z=h(z,R,I,N,w,9,u[21]),N=h(N,z,R,I,k,14,u[22]),I=h(I,N,z,R,m,20,u[23]),R=h(R,I,N,z,y,5,u[24]),z=h(z,R,I,N,T,9,u[25]),N=h(N,z,R,I,v,14,u[26]),I=h(I,N,z,R,_,20,u[27]),R=h(R,I,N,z,O,5,u[28]),z=h(z,R,I,N,d,9,u[29]),N=h(N,z,R,I,b,14,u[30]),R=f(R,I=h(I,N,z,R,E,20,u[31]),N,z,p,4,u[32]),z=f(z,R,I,N,_,11,u[33]),N=f(N,z,R,I,S,16,u[34]),I=f(I,N,z,R,T,23,u[35]),R=f(R,I,N,z,a,4,u[36]),z=f(z,R,I,N,m,11,u[37]),N=f(N,z,R,I,b,16,u[38]),I=f(I,N,z,R,w,23,u[39]),R=f(R,I,N,z,O,4,u[40]),z=f(z,R,I,N,o,11,u[41]),N=f(N,z,R,I,v,16,u[42]),I=f(I,N,z,R,g,23,u[43]),R=f(R,I,N,z,y,4,u[44]),z=f(z,R,I,N,E,11,u[45]),N=f(N,z,R,I,k,16,u[46]),R=l(R,I=f(I,N,z,R,d,23,u[47]),N,z,o,6,u[48]),z=l(z,R,I,N,b,10,u[49]),N=l(N,z,R,I,T,15,u[50]),I=l(I,N,z,R,p,21,u[51]),R=l(R,I,N,z,E,6,u[52]),z=l(z,R,I,N,v,10,u[53]),N=l(N,z,R,I,w,15,u[54]),I=l(I,N,z,R,a,21,u[55]),R=l(R,I,N,z,_,6,u[56]),z=l(z,R,I,N,k,10,u[57]),N=l(N,z,R,I,g,15,u[58]),I=l(I,N,z,R,O,21,u[59]),R=l(R,I,N,z,m,6,u[60]),z=l(z,R,I,N,S,10,u[61]),N=l(N,z,R,I,d,15,u[62]),I=l(I,N,z,R,y,21,u[63]),r[0]=r[0]+R|0,r[1]=r[1]+I|0,r[2]=r[2]+N|0,r[3]=r[3]+z|0},R:function(){var i=this.U,e=i.words,n=8*this.k,s=8*i.sigBytes;e[s>>>5]|=128<<24-s%32;var r=t.floor(n/4294967296),o=n;e[15+(s+64>>>9<<4)]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),e[14+(s+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),i.sigBytes=4*(e.length+1),this.O();for(var u=this.F,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=r.clone.call(this);return t.F=this.F.clone(),t}});function c(t,i,e,n,s,r,o){var u=t+(i&e|~i&n)+s+o;return(u<<r|u>>>32-r)+i}function h(t,i,e,n,s,r,o){var u=t+(i&n|e&~n)+s+o;return(u<<r|u>>>32-r)+i}function f(t,i,e,n,s,r,o){var u=t+(i^e^n)+s+o;return(u<<r|u>>>32-r)+i}function l(t,i,e,n,s,r,o){var u=t+(e^(i|~n))+s+o;return(u<<r|u>>>32-r)+i}i.MD5=r.p(a),i.HmacMD5=r.V(a)}(Math),n.MD5)},471:function(t,i,e){var n,s,r,o,u,a,c;t.exports=(s=(n=c=e(21)).lib,r=s.WordArray,u=[],a=n.algo.SHA1=(o=s.Hasher).extend({t:function(){this.F=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},H:function(t,i){for(var e=this.F.words,n=e[0],s=e[1],r=e[2],o=e[3],a=e[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=(n<<5|n>>>27)+a+u[c];f+=c<20?1518500249+(s&r|~s&o):c<40?1859775393+(s^r^o):c<60?(s&r|s&o|r&o)-1894007588:(s^r^o)-899497514,a=o,o=r,r=s<<30|s>>>2,s=n,n=f}e[0]=e[0]+n|0,e[1]=e[1]+s|0,e[2]=e[2]+r|0,e[3]=e[3]+o|0,e[4]=e[4]+a|0},R:function(){var t=this.U,i=t.words,e=8*this.k,n=8*t.sigBytes;return i[n>>>5]|=128<<24-n%32,i[14+(n+64>>>9<<4)]=Math.floor(e/4294967296),i[15+(n+64>>>9<<4)]=e,t.sigBytes=4*i.length,this.O(),this.F},clone:function(){var t=o.clone.call(this);return t.F=this.F.clone(),t}}),n.SHA1=o.p(a),n.HmacSHA1=o.V(a),c.SHA1)},990:t=>{"use strict";t.exports=e},994:i=>{"use strict";i.exports=t},788:t=>{"use strict";t.exports=i},477:()=>{}},s={};function r(t){var i=s[t];if(void 0!==i)return i.exports;var e=s[t]={exports:{}};return n[t].call(e.exports,e,e.exports,r),e.exports}r.n=t=>{var i=t&&t.J?()=>t.default:()=>t;return r.d(i,{a:i}),i},r.d=(t,i)=>{for(var e in i)r.o(i,e)&&!r.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:i[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,i)=>Object.prototype.hasOwnProperty.call(t,i),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"J",{value:!0})};var o={};return(()=>{"use strict";var t,i,e,n,s,u,a,c,h,f,l,d,v,m,p,g,b,_;r.r(o),r.d(o,{BrokenType:()=>T,BusinessService:()=>v,ConnectedType:()=>O,DisconnectedType:()=>E,Method:()=>S,Mode:()=>p,NET_ACCESS_CONFIG:()=>Ot,NetAgentHttpRequest:()=>fi,NetAgentPCRequest:()=>si,ZegoConnectionAgent:()=>_i}),function(t){t[t.Normal=0]="Normal",t[t.Private=1]="Private"}(t||(t={})),function(t){t[t.IPv4Only=0]="IPv4Only",t[t.IPv4Prefer=1]="IPv4Prefer",t[t.IPv6Prefer=2]="IPv6Prefer"}(i||(i={})),function(t){t[t.IPv4=0]="IPv4",t[t.IPv6=1]="IPv6"}(e||(e={})),function(t){t[t.unreachable=0]="unreachable",t[t.unknown=1]="unknown",t[t.reachable=2]="reachable"}(n||(n={})),function(t){t[t.probed=0]="probed",t[t.noProbe=1]="noProbe",t[t.probing=2]="probing"}(s||(s={})),function(t){t[t.fail=0]="fail",t[t.connecting=1]="connecting",t[t.success=2]="success",t[t.timeout=3]="timeout"}(u||(u={})),function(t){t[t.WebSocket=0]="WebSocket",t[t.WebTransport=1]="WebTransport"}(a||(a={})),function(t){t[t.CONNECTING=0]="CONNECTING",t[t.OPEN=1]="OPEN",t[t.CLOSING=2]="CLOSING",t[t.CLOSED=3]="CLOSED"}(c||(c={})),function(t){t[t.offline=0]="offline",t[t.online=1]="online"}(h||(h={})),function(t){t[t.PB=0]="PB",t[t.JSON=1]="JSON"}(f||(f={})),function(t){t[t.MSG_TYPE_STREAM_CLOSED=2]="MSG_TYPE_STREAM_CLOSED",t[t.MSG_TYPE_CLOSE_CONNECTION=3]="MSG_TYPE_CLOSE_CONNECTION",t[t.MSG_TYPE_HTTP_REQUEST=4]="MSG_TYPE_HTTP_REQUEST",t[t.MSG_TYPE_HTTP_RESPONSE=5]="MSG_TYPE_HTTP_RESPONSE",t[t.MSG_TYPE_HB_REQUEST=12]="MSG_TYPE_HB_REQUEST",t[t.MSG_TYPE_HB_RESPONSE=13]="MSG_TYPE_HB_RESPONSE",t[t.MSG_TYPE_GET_CONFIG_REQUEST=14]="MSG_TYPE_GET_CONFIG_REQUEST",t[t.MSG_TYPE_GET_CONFIG_RESPONSE=15]="MSG_TYPE_GET_CONFIG_RESPONSE",t[t.MSG_TYPE_HTTP_REQUEST_ACK=16]="MSG_TYPE_HTTP_REQUEST_ACK",t[t.MSG_TYPE_PC_UPWARD_MESSAGE=17]="MSG_TYPE_PC_UPWARD_MESSAGE",t[t.MSG_TYPE_PC_UPWARD_MESSAGE_ACK=18]="MSG_TYPE_PC_UPWARD_MESSAGE_ACK",t[t.MSG_TYPE_PC_ESTABLISHED=19]="MSG_TYPE_PC_ESTABLISHED",t[t.MSG_TYPE_PC_BROKEN=20]="MSG_TYPE_PC_BROKEN",t[t.MSG_TYPE_PC_DOWNWARD_MESSAGE=21]="MSG_TYPE_PC_DOWNWARD_MESSAGE",t[t.MSG_TYPE_REDIRECT=22]="MSG_TYPE_REDIRECT",t[t.MSG_TYPE_GET_APPCONFIG_REQUEST=23]="MSG_TYPE_GET_APPCONFIG_REQUEST",t[t.MSG_TYPE_GET_APPCONFIG_RESPONSE=24]="MSG_TYPE_GET_APPCONFIG_RESPONSE",t[t.MSG_TYPE_PUSH_APPCONFIG=25]="MSG_TYPE_PUSH_APPCONFIG",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST=26]="MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE=27]="MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE",t[t.MSG_TYPE_PUSH_EXCEPTION=30]="MSG_TYPE_PUSH_EXCEPTION",t[t.MSG_TYPE_HTTP_REQUEST2=33]="MSG_TYPE_HTTP_REQUEST2",t[t.MSG_TYPE_REDIRECT2=34]="MSG_TYPE_REDIRECT2",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST2=35]="MSG_TYPE_ACCESSHUB_DISPATCH_REQUEST2",t[t.MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE2=36]="MSG_TYPE_ACCESSHUB_DISPATCH_RESPONSE2",t[t.MSG_TYPE_GET_SVRADDR_REQUEST=39]="MSG_TYPE_GET_SVRADDR_REQUEST",t[t.MSG_TYPE_GET_SVRADDR_RESPONSE=40]="MSG_TYPE_GET_SVRADDR_RESPONSE"}(l||(l={})),function(t){t[t.ACCESSHUB_INVALID_FRAME=2e4]="ACCESSHUB_INVALID_FRAME",t[t.ACCESSHUB_NEED_ENCRYPT=20001]="ACCESSHUB_NEED_ENCRYPT",t[t.ACCESSHUB_DECRYPT=20002]="ACCESSHUB_DECRYPT",t[t.ACCESSHUB_MSGTYPE=20003]="ACCESSHUB_MSGTYPE",t[t.ACCESSHUB_UNMARSHAL=20004]="ACCESSHUB_UNMARSHAL",t[t.ACCESSHUB_TIMEOUT=20005]="ACCESSHUB_TIMEOUT",t[t.ACCESSHUB_CONNECT=20006]="ACCESSHUB_CONNECT",t[t.ACCESSHUB_BROKEN=20007]="ACCESSHUB_BROKEN",t[t.ACCESSHUB_INTERNAL_ERROR=20008]="ACCESSHUB_INTERNAL_ERROR",t[t.ACCESSHUB_MARSHAL=20009]="ACCESSHUB_MARSHAL",t[t.ACCESSHUB_UNSUPPORTED_SERVICE=20010]="ACCESSHUB_UNSUPPORTED_SERVICE",t[t.ACCESSHUB_TOO_FREQUENTLY=20011]="ACCESSHUB_TOO_FREQUENTLY",t[t.ACCESSHUB_INVALID_APPID=20012]="ACCESSHUB_INVALID_APPID",t[t.ACCESSHUB_HB_TIMEOUT=20013]="ACCESSHUB_HB_TIMEOUT",t[t.ACCESSHUB_INVALID_SIGNATURE=20014]="ACCESSHUB_INVALID_SIGNATURE"}(d||(d={})),function(t){t[t.SERVICE_UNSET=0]="SERVICE_UNSET",t[t.SERVICE_MEDIAGW=1]="SERVICE_MEDIAGW",t[t.SERVICE_LIVEROOM=2]="SERVICE_LIVEROOM",t[t.SERVICE_MIX=3]="SERVICE_MIX",t[t.SERVICE_ZEUS=4]="SERVICE_ZEUS",t[t.SERVICE_ZPUSH=5]="SERVICE_ZPUSH",t[t.SERVICE_L3=6]="SERVICE_L3",t[t.SERVICE_TALKLINE=7]="SERVICE_TALKLINE",t[t.SERVICE_EDUSUITE=8]="SERVICE_EDUSUITE",t[t.SERVICE_ZIM=9]="SERVICE_ZIM",t[t.SERVICE_ClOUD_SETTING=10]="SERVICE_ClOUD_SETTING",t[t.SERVICE_ZEUSHB=11]="SERVICE_ZEUSHB",t[t.SERVICE_USER_LOGIC=12]="SERVICE_USER_LOGIC",t[t.SERVICE_UNIFYDISPATCH=13]="SERVICE_UNIFYDISPATCH",t[t.SERVICE_QUALITY=14]="SERVICE_QUALITY",t[t.SERVICE_SECURITY=15]="SERVICE_SECURITY",t[t.SERVICE_KTVCPR=16]="SERVICE_KTVCPR",t[t.SERVICE_SWITCH4LIVEROOM=17]="SERVICE_SWITCH4LIVEROOM",t[t.SERVICE_WEBRTC_SIGNAL=18]="SERVICE_WEBRTC_SIGNAL",t[t.SERVICE_L3_WEBRTC_SIGNAL=19]="SERVICE_L3_WEBRTC_SIGNAL",t[t.SERVICE_VIDEOCPR=20]="SERVICE_VIDEOCPR",t[t.SERVICE_CDN=21]="SERVICE_CDN",t[t.SERVICE_CLOUDRECORD=22]="SERVICE_CLOUDRECORD",t[t.SERVICE_INNER_ECHO=23]="SERVICE_INNER_ECHO",t[t.SERVICE_OUTER_ECHO=24]="SERVICE_OUTER_ECHO",t[t.SERVICE_LOCALHOST_ECHO=25]="SERVICE_LOCALHOST_ECHO",t[t.SERVICE_ECHO=26]="SERVICE_ECHO",t[t.SERVICE_DOCSERVICE=27]="SERVICE_DOCSERVICE",t[t.SERVICE_AUTHSVR=28]="SERVICE_AUTHSVR"}(v||(v={})),function(t){t[t.ZEGOCONN_RUN_ENV_UNSET=0]="ZEGOCONN_RUN_ENV_UNSET",t[t.ZEGOCONN_RUN_ENV_BROWSER=1]="ZEGOCONN_RUN_ENV_BROWSER",t[t.ZEGOCONN_RUN_ENV_APPLET=2]="ZEGOCONN_RUN_ENV_APPLET"}(m||(m={})),function(t){t[t.Mode_UNSET=0]="Mode_UNSET",t[t.MODE_ONLINE=1]="MODE_ONLINE",t[t.MODE_TEST=2]="MODE_TEST",t[t.MODE_ALPHA=3]="MODE_ALPHA"}(p||(p={})),function(t){t[t.HTTP=0]="HTTP",t[t.PC=1]="PC",t[t.OTHER=2]="OTHER"}(g||(g={})),function(t){t[t.NONE=0]="NONE",t[t.BROKEN=1]="BROKEN",t[t.DISCONNECT=2]="DISCONNECT"}(b||(b={})),function(t){t[t.CONNECTED=0]="CONNECTED",t[t.DISCONNECT=1]="DISCONNECT",t[t.BROKEN=2]="BROKEN"}(_||(_={}));var y,w,S,E,O,T,k,R=[d.ACCESSHUB_INVALID_APPID,d.ACCESSHUB_INVALID_SIGNATURE];!function(t){t[t.offline=0]="offline",t[t.online=1]="online"}(y||(y={})),function(t){t[t.ACTION_RESERVED=0]="ACTION_RESERVED",t[t.ACTION_DISPATCH=1]="ACTION_DISPATCH",t[t.ACTION_RETRY=2]="ACTION_RETRY",t[t.ACTION_NEXT_NODE=3]="ACTION_NEXT_NODE",t[t.ACTION_ABORT=4]="ACTION_ABORT",t[t.ACTION_NEXT_GROUP=5]="ACTION_NEXT_GROUP",t[t.ACTION_IDLE=6]="ACTION_IDLE"}(w||(w={})),function(t){t[t.METHOD_UNSET=0]="METHOD_UNSET",t[t.METHOD_GET=1]="METHOD_GET",t[t.METHOD_POST=2]="METHOD_POST",t[t.METHOD_PUT=3]="METHOD_PUT",t[t.METHOD_PATCH=4]="METHOD_PATCH",t[t.METHOD_DELETE=5]="METHOD_DELETE",t[t.METHOD_HEAD=6]="METHOD_HEAD",t[t.METHOD_OPTIONS=7]="METHOD_OPTIONS"}(S||(S={})),function(t){t[t.CLOSE=0]="CLOSE",t[t.TEMP=1]="TEMP",t[t.TIMEOUT=2]="TIMEOUT"}(E||(E={})),function(t){t[t.AUTO=0]="AUTO",t[t.MANUAL=1]="MANUAL"}(O||(O={})),function(t){t[t.EMPTY=0]="EMPTY",t[t.CLOSE=1]="CLOSE"}(T||(T={})),function(t){t[t.single=0]="single",t[t.detail=1]="detail"}(k||(k={}));var I={2:"stream_closed",3:"close_connection",4:"http_request",5:"http_response",12:"hb_request",13:"hb_response",14:"get_config_request",15:"get_config_response",16:"http_request_ack",17:"pc_upward_message",18:"pc_upward_message_ack",19:"pc_established",20:"pc_broken",21:"pc_downward_message",22:"redirect",23:"get_appconfig_request",24:"get_appconfig_response",25:"push_appconfig",26:"accesshub_dispatch_request",27:"accesshub_dispatch_response",30:"push_exception",33:"http_request2",34:"redirect2",35:"accesshub_dispatch_request2",36:"accesshub_dispatch_response2",39:"get_svraddr_request",40:"get_svraddr_response"},N=r(994);const z=N.default||N;var C=r(788),D=r(788);const P=r(994);(D=D.default||D).util.Long=P.default||P,D.util.Long.fromBits=D.util.Long.fromBits||function(){return 0};for(var A=D.roots,M=D.types?D.types.basic:{double:1,float:5,int32:0,uint32:0,sint32:0,fixed32:5,sfixed32:5,int64:0,uint64:0,sint64:0,fixed64:1,sfixed64:1,bool:0,string:2,bytes:2},x=D.types?D.types.packed:{double:1,float:5,int32:0,uint32:0,sint32:0,fixed32:5,sfixed32:5,int64:0,uint64:0,sint64:0,fixed64:1,sfixed64:1,bool:0},j=Object.keys(M),L={$:function(t){return L[t]?L[t].call(this):A[t].decode?A[t].decode(this,this.uint32()):L.$.call(this,"int32")}},U={$:function(t,i,e){var n=M[t];return void 0===n?A[t].encode?(this.uint32(e<<3|2).fork(),A[t].encode(i,this).ldelim()):U.$.call(this,"int32",i,e):U[t].call(this.uint32(e<<3|n),i)}},q=0;q<j.length;q++)L[j[q]]=D.Reader.prototype[j[q]],U[j[q]]=D.Writer.prototype[j[q]];!function t(i,e,n,s){for(var r=0,o=Object.keys(i);r<o.length;r++){var u=o[r];i[u].$m&&Object.keys(i[u].$m).every((function(t){return Number(t)}))?n[u]=function(i,n){function s(t){for(var e in i){var n=i[e];"{"===n[1].charAt(0)?this[n[0]]={}:"["!==n[1].charAt(0)&&"<"!==n[1].charAt(0)||(this[n[0]]=[])}if(t)for(var s=Object.keys(t),r=0;r<s.length;++r)null!=t[s[r]]&&(this[s[r]]=t[s[r]])}var r={};for(var o in i){var u=i[o],a=u[1];"{"===a.charAt(0)?(s.prototype[u[0]]=D.util.emptyObject,r[a]={$m:a.substring(1).split(",").map((function(t,i){return[`$${i+1}`,t,null]})).reduce((function(t,i,e){return t[e+1]=i,t}),{})}):s.prototype[u[0]]="["===a.charAt(0)||"<"===a.charAt(0)?D.util.emptyArray:"bytes"===a?D.util.newBuffer([]):u[2]&&u[2].hasOwnProperty("low")&&u[2].hasOwnProperty("high")?D.util.Long.fromBits(u[2].low,u[2].high,u[2].unsigned):u[2]}return s.create=function(t){return new s(t)},s.decode=function(t,e){t instanceof D.Reader||(t=D.Reader.create(t));for(var n=void 0===e?t.len:t.pos+e,r=new s;t.pos<n;){var o=t.uint32(),u=o>>>3;if(u>0&&i[u]){var a=i[u][0],c=i[u][1];if("{"===c.charAt(0)){r[a]===D.util.emptyObject&&(r[a]={});var h=s.$namespace[c].decode(t,t.uint32());r[a][h.$1]=h.$2}else if("["===c.charAt(0)||"<"===c.charAt(0))if(c=c.substring(1),r[a]&&r[a].length||(r[a]=[]),void 0!==x[c=L[c]||A[c].decode?c:"int32"]&&2==(7&o))for(var f=t.uint32()+t.pos;t.pos<f;)r[a].push(L.$.call(t,c));else r[a].push(L.$.call(t,c));else r[a]=L.$.call(t,c)}else t.skipType(7&o)}return r},s.encode=function(t,e){for(var n in e||(e=D.Writer.create()),i){var r=i[n][0],o=i[n][1];if("{"===o.charAt(0)){if(null!=t[r]&&t.hasOwnProperty(r))for(var u=0,a=Object.keys(t[r]);u<a.length;++u)e.uint32(n<<3|2).fork(),s.$namespace[o].encode({$1:a[u],$2:t[r][a[u]]},e).ldelim()}else if("["===o.charAt(0)||"<"===o.charAt(0)){var c="<"===o.charAt(0);o=o.substring(1);var h=t[r];if(null!=h&&h.length)if(o=void 0!==M[o]||A[o].encode?o:"int32",c&&void 0!==x[o]){for(e.uint32(n<<3|2).fork(),u=0;u<h.length;u++)U[o].call(e,h[u]);e.ldelim()}else for(u=0;u<h.length;u++)U.$.call(e,o,h[u],n)}else null!=t[r]&&t.hasOwnProperty(r)&&U.$.call(e,o,t[r],n)}return e},Object.keys(r).length&&(s.$namespace=t(r,e+"."+n,s.$namespace||{},!0)),s}(i[u].$m,u):i[u].$s?n[u]=function(t,i){function n(t,i,e){D.rpc.Service.call(this,t,i,e)}return(n.prototype=Object.create(D.rpc.Service.prototype)).constructor=n,n.create=function(t,i,e){return new n(t,i,e)},Object.keys(t).forEach((function(s){var r=t[s];function o(t,i){return this.rpcCall(o,A[r[0]],A[r[1]],t,i)}Object.defineProperty(o,"name",{value:s}),Object.defineProperty(o,"path",{value:`${e}.${i}`}),n.prototype[s]=o})),n}(i[u].$s,u):i[u].$e&&Object.values(i[u].$e).every((function(t){return Number(t)===t}))&&(n[u]=function(t){for(var i=Object.keys(t),e={},n=0;n<i.length;n++)e[e[i[n]]=t[i[n]]]=i[n];return e}(i[u].$e)),n[u]&&!s&&(A[`${e}.${u}`]=n[u]),delete i[u].$m,delete i[u].$s,delete i[u].$e,n[u]=t(i[u],Boolean(e)?`${e}.${u}`:u,n[u]||{})}return n}({zego_connection:{proto_accesshub:{AccesshubAddr:{$m:{1:["ipv4","fixed32",0],2:["ipv6","zego_connection.proto_accesshub.IPV6Addr",null],3:["quic_port","uint32",0],4:["wss_port","uint32",0]}},AccesshubDispatchGroup:{$m:{1:["group","string",""],2:["quic_nodes","<string",null],3:["mtcp_nodes","<string",null],4:["wss_nodes","<string",null]}},AccesshubDispatchGroup2:{$m:{1:["group","string",""],2:["nodes","<zego_connection.proto_accesshub.AccesshubAddr",null],3:["nodes_dual","<zego_connection.proto_accesshub.AccesshubAddr",null],4:["weight","uint32",0],5:["gid","uint32",0]}},AccesshubDispatchRequest2:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode_no","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["sdk_type","zego_connection.proto_accesshub.SdkType",0],7:["zegoconn_version","uint32",0],8:["zegoconn_run_env","zego_connection.proto_accesshub.ZegoconnRunEnv",0],9:["device_id","string",""],10:["client_ip","string",""],11:["geofencing_type","uint32",0],12:["geofencings","[uint32",null],13:["addr_type","uint32",0],14:["net_mode","uint32",0],15:["dispatch_tag","uint32",0]}},AccesshubDispatchResponse2:{$m:{1:["code","int32",0],2:["message","string",""],3:["data","zego_connection.proto_accesshub.AccesshubDispatchResponseData2",null]}},AccesshubDispatchResponseData2:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["rand","string",""],3:["secret","string",""],4:["groups","<zego_connection.proto_accesshub.AccesshubDispatchGroup2",null],5:["wss_groups","<zego_connection.proto_accesshub.WssAccesshubDispatchGroup",null],6:["ttl","uint32",0],7:["http3_groups","<zego_connection.proto_accesshub.Http3AccesshubDispatchGroup",null],8:["wss_v6_groups","<zego_connection.proto_accesshub.WssAccesshubDispatchGroup",null],9:["http3_v6_groups","<zego_connection.proto_accesshub.Http3AccesshubDispatchGroup",null]}},BackendConnType:{$e:{BACKEND_CONN_TYPE_UNSET:0,BACKEND_CONN_TYPE_TCP:1,BACKEND_CONN_TYPE_WSS:2}},CheckServiceAreaRequest:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["sdk_type","zego_connection.proto_accesshub.SdkType",0],7:["zegoconn_run_env","zego_connection.proto_accesshub.ZegoconnRunEnv",0],8:["zegoconn_version","uint32",0],9:["device_id","string",""],10:["user_agent","string",""],11:["language","string",""],12:["timezone","string",""],13:["carrier","string",""],14:["dns_result","zego_connection.proto_accesshub.IPAddr",null]}},CheckServiceAreaResponse:{$m:{1:["code","int32",0],2:["message","string",""],3:["data","zego_connection.proto_accesshub.CheckServiceAreaResponseData",null]}},CheckServiceAreaResponseData:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}]}},CloseConnection:{$m:{1:["reason","int32",0],2:["msg","string",""],3:["action","int32",0]},Action:{$e:{ACTION_RESERVED:0,ACTION_DISPATCH:1,ACTION_RETRY:2,ACTION_NEXT_NODE:3,ACTION_ABORT:4,ACTION_NEXT_GROUP:5,ACTION_IDLE:6}}},ConnectionClosed:{$m:{1:["code","int32",0],2:["msg","string",""]}},ErrorCode:{$e:{OK:0,DISPATCH_NO_AVAILABLE_NODE:1e4,DISPATCH_INTERNAL_ERROR:10001,DISPATCH_INVALID_FRAME:10002,DISPATCH_UNMARSHAL:10003,DISPATCH_MSGTYPE:10004,DISPATCH_MARSHAL:10005,DISPATCH_TOO_FREQUENTLY:10006,DISPATCH_EMPTY_GEOFENCING:10007,ACCESSHUB_INVALID_FRAME:2e4,ACCESSHUB_NEED_ENCRYPT:20001,ACCESSHUB_DECRYPT:20002,ACCESSHUB_MSGTYPE:20003,ACCESSHUB_UNMARSHAL:20004,ACCESSHUB_TIMEOUT:20005,ACCESSHUB_CONNECT:20006,ACCESSHUB_BROKEN:20007,ACCESSHUB_INTERNAL_ERROR:20008,ACCESSHUB_MARSHAL:20009,ACCESSHUB_UNSUPPORTED_SERVICE:20010,ACCESSHUB_TOO_FREQUENTLY:20011,ACCESSHUB_INVALID_APPID:20012,ACCESSHUB_HB_TIMEOUT:20013,ACCESSHUB_INVALID_SIGNATURE:20014,ACCESSHUB_AUTH_FAILED:20015,ACCESSHUB_UNSUPPORTED_INTERFACE:20016,ACCESSHUB_EMPTY_GEOFENCING:20017,ACCESSHUB_ACCESS_DENIED:20018,ACCESSHUB_SPECIAL_CUSTOMER:20019,ACCESSHUB_IDLE_CONNECTION:20020,ACCESSHUB_APPID_OFFLINE:20021,ACCESSHUB_GET_STREAM_FAILED:3e4,ACCESSHUB_GET_CONN_FAILED:30001,ACCESSHUB_DO_HTTP_REQUEST_FAILED:30002,ACCESSHUB_UNMARSHAL_HB_FAILED:30003,ACCESSHUB_DO_BACKEND_DISPATCH_FAILED:30004}},GeoFencing:{$e:{CN:2,NA:3,EU:4,AS:5,IN:6,NCN:7}},GeoFencingType:{$e:{NONE:0,UNION:1,EXCLUDE:2}},GetAppConfigRequest:{$m:{1:["txid","uint64",{low:0,high:0,unsigned:!0}],2:["appid","uint32",0],3:["biz_type","uint32",0],4:["mode_no","zego_connection.proto_accesshub.Mode",0],5:["id_name","string",""],6:["config_key","string",""],7:["ts","uint64",{low:0,high:0,unsigned:!0}],8:["signature","bytes",[]],9:["lite_sign","string",""],10:["token","string",""],11:["sdk_type","zego_connection.proto_accesshub.SdkType",0],12:["zegoconn_version","uint32",0