@univerjs-pro/collaboration-client-node 0.9.2 → 0.9.3-nightly.202507250750
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +13 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x195511=_0x505a;(function(_0x41e486,_0x46d129){const _0x26c05e=_0x505a,_0x14e328=_0x41e486();while(!![]){try{const _0x1dc509=-parseInt(_0x26c05e(0x25d))/0x1+-parseInt(_0x26c05e(0x20b))/0x2*(-parseInt(_0x26c05e(0x198))/0x3)+-parseInt(_0x26c05e(0xc7))/0x4+parseInt(_0x26c05e(0x17f))/0x5*(-parseInt(_0x26c05e(0x142))/0x6)+-parseInt(_0x26c05e(0x11c))/0x7*(parseInt(_0x26c05e(0xf7))/0x8)+-parseInt(_0x26c05e(0x1d8))/0x9*(parseInt(_0x26c05e(0x1f7))/0xa)+parseInt(_0x26c05e(0x186))/0xb;if(_0x1dc509===_0x46d129)break;else _0x14e328['push'](_0x14e328['shift']());}catch(_0x12da1a){_0x14e328['push'](_0x14e328['shift']());}}}(_0x4af6,0xc995b));import{UniverCollaborationClientPlugin as _0x589fe1,CollaborationSocketService as _0x412068}from'@univerjs-pro/collaboration-client';import{Disposable as _0x475bf6,DisposableCollection as _0x4d361b,toDisposable as _0x3a6941,IConfigService as _0x5972e5,DependentOn as _0x5deaf8,ILogService as _0x56ab78,Inject as _0x59a817,Injector as _0x5780f6,Plugin as _0x54b15a,registerDependencies as _0x374283}from'@univerjs/core';import{ISocketService as _0x1cb239,HTTPService as _0x18446d}from'@univerjs/network';import{Observable as _0x5908b2,share as _0x375b76}from'rxjs';import _0x4c7a29 from'events';import _0x26a24d from'https';import _0x34f1df from'http';import _0x33b3b4 from'net';import _0x9d0476 from'tls';import _0x11db56 from'crypto';import _0x4c9b34 from'stream';import _0x3c195a from'url';import _0x22c4b6 from'zlib';import _0x22e49e from'buffer';import{ISnapshotServerService as _0x2676b6}from'@univerjs-pro/collaboration';const Be=_0x195511(0xc0),Ft={'customHeaders':{}};function jt(_0x180d2c){const _0x1193a9=_0x195511;return _0x180d2c&&_0x180d2c[_0x1193a9(0x1f0)]&&Object[_0x1193a9(0x15a)][_0x1193a9(0x1fb)][_0x1193a9(0x15e)](_0x180d2c,_0x1193a9(0x178))?_0x180d2c[_0x1193a9(0x178)]:_0x180d2c;}function ut(_0x21e945){const _0x3e224c=_0x195511;if(Object[_0x3e224c(0x15a)][_0x3e224c(0x1fb)][_0x3e224c(0x15e)](_0x21e945,_0x3e224c(0x1f0)))return _0x21e945;var _0x55d53d=_0x21e945[_0x3e224c(0x178)];if(typeof _0x55d53d=='function'){var _0x3e4852=function _0x2b13d9(){const _0x363ea4=_0x3e224c;return this instanceof _0x2b13d9?Reflect[_0x363ea4(0x1a0)](_0x55d53d,arguments,this[_0x363ea4(0x200)]):_0x55d53d[_0x363ea4(0xfd)](this,arguments);};_0x3e4852[_0x3e224c(0x15a)]=_0x55d53d[_0x3e224c(0x15a)];}else _0x3e4852={};return Object['defineProperty'](_0x3e4852,_0x3e224c(0x1f0),{'value':!0x0}),Object['keys'](_0x21e945)['forEach'](function(_0x26a0a2){const _0x57a268=_0x3e224c;var _0x3bb598=Object[_0x57a268(0x241)](_0x21e945,_0x26a0a2);Object[_0x57a268(0x16e)](_0x3e4852,_0x26a0a2,_0x3bb598[_0x57a268(0x106)]?_0x3bb598:{'enumerable':!0x0,'get':function(){return _0x21e945[_0x26a0a2];}});}),_0x3e4852;}var te={'exports':{}},ge,Ye;function V(){const _0x4ed68a=_0x195511;if(Ye)return ge;Ye=0x1;const _0x587e04=[_0x4ed68a(0x220),_0x4ed68a(0x1d9),_0x4ed68a(0x133)],_0x65f6b8=typeof Blob<'u';return _0x65f6b8&&_0x587e04['push']('blob'),ge={'BINARY_TYPES':_0x587e04,'EMPTY_BUFFER':Buffer[_0x4ed68a(0x1fe)](0x0),'GUID':_0x4ed68a(0x259),'hasBlob':_0x65f6b8,'kForOnEventAttribute':Symbol(_0x4ed68a(0x126)),'kListener':Symbol(_0x4ed68a(0x135)),'kStatusCode':Symbol(_0x4ed68a(0xce)),'kWebSocket':Symbol(_0x4ed68a(0x203)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x195511(0x10c)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x195511(0x130)],{'value':_0x195511(0x1c0)})),Vt=ut(Gt);var Ke;function ce(){const _0x44c393=_0x195511;if(Ke)return te[_0x44c393(0x1c8)];Ke=0x1;const {EMPTY_BUFFER:_0x74f10e}=V(),_0x11f15d=Buffer[Symbol['species']];function _0x125c64(_0x34b497,_0x3b20e8){const _0x2e38f8=_0x44c393;if(_0x34b497[_0x2e38f8(0x112)]===0x0)return _0x74f10e;if(_0x34b497[_0x2e38f8(0x112)]===0x1)return _0x34b497[0x0];const _0x5b1bd4=Buffer[_0x2e38f8(0x21e)](_0x3b20e8);let _0x5df36e=0x0;for(let _0x34700b=0x0;_0x34700b<_0x34b497['length'];_0x34700b++){const _0x43a705=_0x34b497[_0x34700b];_0x5b1bd4[_0x2e38f8(0x1ae)](_0x43a705,_0x5df36e),_0x5df36e+=_0x43a705['length'];}return _0x5df36e<_0x3b20e8?new _0x11f15d(_0x5b1bd4[_0x2e38f8(0x1d2)],_0x5b1bd4[_0x2e38f8(0x1de)],_0x5df36e):_0x5b1bd4;}function _0x2ad1b6(_0x141e9f,_0x59cce6,_0x4904ab,_0x1dd5ec,_0x192ae3){for(let _0x26de13=0x0;_0x26de13<_0x192ae3;_0x26de13++)_0x4904ab[_0x1dd5ec+_0x26de13]=_0x141e9f[_0x26de13]^_0x59cce6[_0x26de13&0x3];}function _0x43a549(_0x35a577,_0x4577be){for(let _0x22f224=0x0;_0x22f224<_0x35a577['length'];_0x22f224++)_0x35a577[_0x22f224]^=_0x4577be[_0x22f224&0x3];}function _0x32a0ab(_0x340456){const _0x3aa4bd=_0x44c393;return _0x340456[_0x3aa4bd(0x112)]===_0x340456[_0x3aa4bd(0x1d2)][_0x3aa4bd(0x18d)]?_0x340456[_0x3aa4bd(0x1d2)]:_0x340456[_0x3aa4bd(0x1d2)]['slice'](_0x340456[_0x3aa4bd(0x1de)],_0x340456[_0x3aa4bd(0x1de)]+_0x340456[_0x3aa4bd(0x112)]);}function _0x4dd6d7(_0x59bfed){const _0x18c123=_0x44c393;if(_0x4dd6d7['readOnly']=!0x0,Buffer[_0x18c123(0x168)](_0x59bfed))return _0x59bfed;let _0x80424;return _0x59bfed instanceof ArrayBuffer?_0x80424=new _0x11f15d(_0x59bfed):ArrayBuffer['isView'](_0x59bfed)?_0x80424=new _0x11f15d(_0x59bfed[_0x18c123(0x1d2)],_0x59bfed[_0x18c123(0x1de)],_0x59bfed[_0x18c123(0x18d)]):(_0x80424=Buffer[_0x18c123(0x207)](_0x59bfed),_0x4dd6d7[_0x18c123(0x1f5)]=!0x1),_0x80424;}if(te[_0x44c393(0x1c8)]={'concat':_0x125c64,'mask':_0x2ad1b6,'toArrayBuffer':_0x32a0ab,'toBuffer':_0x4dd6d7,'unmask':_0x43a549},!process[_0x44c393(0x21c)][_0x44c393(0x213)])try{const _0x171445=Vt;te[_0x44c393(0x1c8)][_0x44c393(0x132)]=function(_0x3651d1,_0x49ca23,_0x2f3c44,_0xb93ab4,_0x5e00ec){_0x5e00ec<0x30?_0x2ad1b6(_0x3651d1,_0x49ca23,_0x2f3c44,_0xb93ab4,_0x5e00ec):_0x171445['mask'](_0x3651d1,_0x49ca23,_0x2f3c44,_0xb93ab4,_0x5e00ec);},te[_0x44c393(0x1c8)][_0x44c393(0x122)]=function(_0x3d804e,_0x3d3ad3){const _0x4a779b=_0x44c393;_0x3d804e['length']<0x20?_0x43a549(_0x3d804e,_0x3d3ad3):_0x171445[_0x4a779b(0x122)](_0x3d804e,_0x3d3ad3);};}catch{}return te[_0x44c393(0x1c8)];}var ye,Xe;function qt(){const _0x45d788=_0x195511;if(Xe)return ye;Xe=0x1;const _0x16165d=Symbol(_0x45d788(0x1d7)),_0xd2e5c3=Symbol(_0x45d788(0xd1));class _0x10c3f1{constructor(_0x5b21c7){const _0x124470=_0x45d788;this[_0x16165d]=()=>{const _0x20e613=_0x505a;this[_0x20e613(0xbf)]--,this[_0xd2e5c3]();},this['concurrency']=_0x5b21c7||0x1/0x0,this[_0x124470(0x1c1)]=[],this['pending']=0x0;}['add'](_0x26abe2){const _0x46fa89=_0x45d788;this[_0x46fa89(0x1c1)][_0x46fa89(0x234)](_0x26abe2),this[_0xd2e5c3]();}[_0xd2e5c3](){const _0xf9c3db=_0x45d788;if(this['pending']!==this[_0xf9c3db(0x20d)]&&this[_0xf9c3db(0x1c1)][_0xf9c3db(0x112)]){const _0x51aa79=this[_0xf9c3db(0x1c1)]['shift']();this[_0xf9c3db(0xbf)]++,_0x51aa79(this[_0x16165d]);}}}return ye=_0x10c3f1,ye;}var ve,Ze;function he(){const _0x6fa829=_0x195511;if(Ze)return ve;Ze=0x1;const _0x5acca8=_0x22c4b6,_0x31ab42=ce(),_0x5ea39e=qt(),{kStatusCode:_0x53fb14}=V(),_0x45635f=Buffer[Symbol[_0x6fa829(0x117)]],_0x369cb1=Buffer[_0x6fa829(0x207)]([0x0,0x0,0xff,0xff]),_0x13b074=Symbol(_0x6fa829(0xda)),_0x2797e3=Symbol('total-length'),_0x5621ea=Symbol(_0x6fa829(0x136)),_0x4aaa0e=Symbol('buffers'),_0x56fff5=Symbol(_0x6fa829(0x221));let _0x54c3ce;class _0x5e4407{constructor(_0x27a255,_0x49fc4e,_0x2532c4){const _0x4db48c=_0x6fa829;if(this[_0x4db48c(0x13d)]=_0x2532c4|0x0,this[_0x4db48c(0x17d)]=_0x27a255||{},this[_0x4db48c(0x193)]=this['_options'][_0x4db48c(0x1ab)]!==void 0x0?this['_options'][_0x4db48c(0x1ab)]:0x400,this[_0x4db48c(0xd7)]=!!_0x49fc4e,this['_deflate']=null,this[_0x4db48c(0x123)]=null,this[_0x4db48c(0x12e)]=null,!_0x54c3ce){const _0x52c736=this[_0x4db48c(0x17d)][_0x4db48c(0x134)]!==void 0x0?this[_0x4db48c(0x17d)]['concurrencyLimit']:0xa;_0x54c3ce=new _0x5ea39e(_0x52c736);}}static get[_0x6fa829(0xb6)](){const _0xc3773=_0x6fa829;return _0xc3773(0xda);}[_0x6fa829(0xe9)](){const _0x4339c4=_0x6fa829,_0x21b999={};return this[_0x4339c4(0x17d)][_0x4339c4(0x1c3)]&&(_0x21b999[_0x4339c4(0x260)]=!0x0),this[_0x4339c4(0x17d)][_0x4339c4(0x13b)]&&(_0x21b999['client_no_context_takeover']=!0x0),this[_0x4339c4(0x17d)][_0x4339c4(0x166)]&&(_0x21b999[_0x4339c4(0x1e3)]=this[_0x4339c4(0x17d)][_0x4339c4(0x166)]),this[_0x4339c4(0x17d)]['clientMaxWindowBits']?_0x21b999[_0x4339c4(0x19e)]=this[_0x4339c4(0x17d)][_0x4339c4(0x14f)]:this[_0x4339c4(0x17d)][_0x4339c4(0x14f)]==null&&(_0x21b999['client_max_window_bits']=!0x0),_0x21b999;}[_0x6fa829(0x104)](_0x4ccc68){const _0x3084ed=_0x6fa829;return _0x4ccc68=this['normalizeParams'](_0x4ccc68),this['params']=this[_0x3084ed(0xd7)]?this['acceptAsServer'](_0x4ccc68):this[_0x3084ed(0x256)](_0x4ccc68),this['params'];}[_0x6fa829(0x257)](){const _0x46f519=_0x6fa829;if(this[_0x46f519(0x123)]&&(this[_0x46f519(0x123)][_0x46f519(0x18a)](),this[_0x46f519(0x123)]=null),this[_0x46f519(0x26c)]){const _0xc9ea8e=this[_0x46f519(0x26c)][_0x5621ea];this['_deflate'][_0x46f519(0x18a)](),this[_0x46f519(0x26c)]=null,_0xc9ea8e&&_0xc9ea8e(new Error(_0x46f519(0x253)));}}['acceptAsServer'](_0x3e7ce5){const _0x2c8e38=_0x6fa829,_0xeb2a6c=this['_options'],_0x272cdd=_0x3e7ce5['find'](_0x399157=>!(_0xeb2a6c[_0x2c8e38(0x1c3)]===!0x1&&_0x399157['server_no_context_takeover']||_0x399157[_0x2c8e38(0x1e3)]&&(_0xeb2a6c[_0x2c8e38(0x166)]===!0x1||typeof _0xeb2a6c['serverMaxWindowBits']==_0x2c8e38(0x20a)&&_0xeb2a6c[_0x2c8e38(0x166)]>_0x399157[_0x2c8e38(0x1e3)])||typeof _0xeb2a6c['clientMaxWindowBits']==_0x2c8e38(0x20a)&&!_0x399157['client_max_window_bits']));if(!_0x272cdd)throw new Error(_0x2c8e38(0x109));return _0xeb2a6c['serverNoContextTakeover']&&(_0x272cdd[_0x2c8e38(0x260)]=!0x0),_0xeb2a6c['clientNoContextTakeover']&&(_0x272cdd['client_no_context_takeover']=!0x0),typeof _0xeb2a6c[_0x2c8e38(0x166)]==_0x2c8e38(0x20a)&&(_0x272cdd[_0x2c8e38(0x1e3)]=_0xeb2a6c['serverMaxWindowBits']),typeof _0xeb2a6c[_0x2c8e38(0x14f)]=='number'?_0x272cdd[_0x2c8e38(0x19e)]=_0xeb2a6c['clientMaxWindowBits']:(_0x272cdd[_0x2c8e38(0x19e)]===!0x0||_0xeb2a6c['clientMaxWindowBits']===!0x1)&&delete _0x272cdd['client_max_window_bits'],_0x272cdd;}[_0x6fa829(0x256)](_0x536042){const _0x387ce7=_0x6fa829,_0x181db4=_0x536042[0x0];if(this['_options'][_0x387ce7(0x13b)]===!0x1&&_0x181db4[_0x387ce7(0xfb)])throw new Error(_0x387ce7(0xdd));if(!_0x181db4[_0x387ce7(0x19e)])typeof this[_0x387ce7(0x17d)]['clientMaxWindowBits']==_0x387ce7(0x20a)&&(_0x181db4[_0x387ce7(0x19e)]=this[_0x387ce7(0x17d)][_0x387ce7(0x14f)]);else{if(this['_options'][_0x387ce7(0x14f)]===!0x1||typeof this[_0x387ce7(0x17d)][_0x387ce7(0x14f)]==_0x387ce7(0x20a)&&_0x181db4[_0x387ce7(0x19e)]>this[_0x387ce7(0x17d)][_0x387ce7(0x14f)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x181db4;}[_0x6fa829(0xf9)](_0xd794ea){const _0x38f8eb=_0x6fa829;return _0xd794ea[_0x38f8eb(0x10e)](_0x22842a=>{const _0x5646cf=_0x38f8eb;Object[_0x5646cf(0x1d1)](_0x22842a)['forEach'](_0x2e63e7=>{const _0x5819f6=_0x5646cf;let _0x27447c=_0x22842a[_0x2e63e7];if(_0x27447c[_0x5819f6(0x112)]>0x1)throw new Error(_0x5819f6(0x167)+_0x2e63e7+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x27447c=_0x27447c[0x0],_0x2e63e7===_0x5819f6(0x19e)){if(_0x27447c!==!0x0){const _0x40460b=+_0x27447c;if(!Number[_0x5819f6(0x1f2)](_0x40460b)||_0x40460b<0x8||_0x40460b>0xf)throw new TypeError(_0x5819f6(0x1b4)+_0x2e63e7+'\x22:\x20'+_0x27447c);_0x27447c=_0x40460b;}else{if(!this[_0x5819f6(0xd7)])throw new TypeError(_0x5819f6(0x1b4)+_0x2e63e7+_0x5819f6(0x1e5)+_0x27447c);}}else{if(_0x2e63e7==='server_max_window_bits'){const _0x447c71=+_0x27447c;if(!Number[_0x5819f6(0x1f2)](_0x447c71)||_0x447c71<0x8||_0x447c71>0xf)throw new TypeError(_0x5819f6(0x1b4)+_0x2e63e7+_0x5819f6(0x1e5)+_0x27447c);_0x27447c=_0x447c71;}else{if(_0x2e63e7===_0x5819f6(0xfb)||_0x2e63e7===_0x5819f6(0x260)){if(_0x27447c!==!0x0)throw new TypeError(_0x5819f6(0x1b4)+_0x2e63e7+_0x5819f6(0x1e5)+_0x27447c);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2e63e7+'\x22');}}_0x22842a[_0x2e63e7]=_0x27447c;});}),_0xd794ea;}[_0x6fa829(0x124)](_0x4f6331,_0x102268,_0xa07883){const _0x36fba8=_0x6fa829;_0x54c3ce[_0x36fba8(0xbc)](_0x342727=>{const _0x4d4ae5=_0x36fba8;this[_0x4d4ae5(0x10d)](_0x4f6331,_0x102268,(_0x4c30c9,_0xae907e)=>{_0x342727(),_0xa07883(_0x4c30c9,_0xae907e);});});}['compress'](_0x204383,_0x6fd8e0,_0x475a16){const _0x514a4f=_0x6fa829;_0x54c3ce[_0x514a4f(0xbc)](_0x535486=>{const _0xeef3c0=_0x514a4f;this[_0xeef3c0(0x177)](_0x204383,_0x6fd8e0,(_0x3ea50a,_0x18b64d)=>{_0x535486(),_0x475a16(_0x3ea50a,_0x18b64d);});});}[_0x6fa829(0x10d)](_0x44f7a1,_0xd02b10,_0x2c0867){const _0x312698=_0x6fa829,_0x301d0c=this['_isServer']?'client':'server';if(!this[_0x312698(0x123)]){const _0x2700f1=_0x301d0c+_0x312698(0x15c),_0x15937a=typeof this[_0x312698(0x12e)][_0x2700f1]!=_0x312698(0x20a)?_0x5acca8['Z_DEFAULT_WINDOWBITS']:this[_0x312698(0x12e)][_0x2700f1];this[_0x312698(0x123)]=_0x5acca8[_0x312698(0xed)]({...this[_0x312698(0x17d)][_0x312698(0x1fa)],'windowBits':_0x15937a}),this['_inflate'][_0x13b074]=this,this[_0x312698(0x123)][_0x2797e3]=0x0,this[_0x312698(0x123)][_0x4aaa0e]=[],this[_0x312698(0x123)]['on']('error',_0x41832d),this[_0x312698(0x123)]['on'](_0x312698(0x22d),_0x5f5448);}this['_inflate'][_0x5621ea]=_0x2c0867,this[_0x312698(0x123)]['write'](_0x44f7a1),_0xd02b10&&this[_0x312698(0x123)]['write'](_0x369cb1),this[_0x312698(0x123)]['flush'](()=>{const _0x3d5009=_0x312698,_0x4de25a=this[_0x3d5009(0x123)][_0x56fff5];if(_0x4de25a){this['_inflate']['close'](),this[_0x3d5009(0x123)]=null,_0x2c0867(_0x4de25a);return;}const _0x1f4547=_0x31ab42[_0x3d5009(0x1f6)](this['_inflate'][_0x4aaa0e],this[_0x3d5009(0x123)][_0x2797e3]);this[_0x3d5009(0x123)][_0x3d5009(0x1c9)]['endEmitted']?(this[_0x3d5009(0x123)][_0x3d5009(0x18a)](),this['_inflate']=null):(this['_inflate'][_0x2797e3]=0x0,this['_inflate'][_0x4aaa0e]=[],_0xd02b10&&this[_0x3d5009(0x12e)][_0x301d0c+'_no_context_takeover']&&this[_0x3d5009(0x123)][_0x3d5009(0x1d4)]()),_0x2c0867(null,_0x1f4547);});}['_compress'](_0x43e0af,_0x4659e4,_0x3fca01){const _0x2c22e3=_0x6fa829,_0x3eec49=this[_0x2c22e3(0xd7)]?'server':_0x2c22e3(0x20c);if(!this[_0x2c22e3(0x26c)]){const _0x4bfc77=_0x3eec49+_0x2c22e3(0x15c),_0x3e96e2=typeof this[_0x2c22e3(0x12e)][_0x4bfc77]!='number'?_0x5acca8[_0x2c22e3(0x19b)]:this[_0x2c22e3(0x12e)][_0x4bfc77];this['_deflate']=_0x5acca8[_0x2c22e3(0xfc)]({...this[_0x2c22e3(0x17d)][_0x2c22e3(0x1aa)],'windowBits':_0x3e96e2}),this[_0x2c22e3(0x26c)][_0x2797e3]=0x0,this['_deflate'][_0x4aaa0e]=[],this['_deflate']['on'](_0x2c22e3(0x22d),_0x37c1fe);}this[_0x2c22e3(0x26c)][_0x5621ea]=_0x3fca01,this[_0x2c22e3(0x26c)]['write'](_0x43e0af),this['_deflate'][_0x2c22e3(0x1c4)](_0x5acca8[_0x2c22e3(0x211)],()=>{const _0x3d5cbe=_0x2c22e3;if(!this[_0x3d5cbe(0x26c)])return;let _0x3c867e=_0x31ab42['concat'](this[_0x3d5cbe(0x26c)][_0x4aaa0e],this[_0x3d5cbe(0x26c)][_0x2797e3]);_0x4659e4&&(_0x3c867e=new _0x45635f(_0x3c867e[_0x3d5cbe(0x1d2)],_0x3c867e[_0x3d5cbe(0x1de)],_0x3c867e[_0x3d5cbe(0x112)]-0x4)),this['_deflate'][_0x5621ea]=null,this[_0x3d5cbe(0x26c)][_0x2797e3]=0x0,this[_0x3d5cbe(0x26c)][_0x4aaa0e]=[],_0x4659e4&&this[_0x3d5cbe(0x12e)][_0x3eec49+_0x3d5cbe(0x1dc)]&&this[_0x3d5cbe(0x26c)][_0x3d5cbe(0x1d4)](),_0x3fca01(null,_0x3c867e);});}}ve=_0x5e4407;function _0x37c1fe(_0x1cbe1e){const _0x1bd3e3=_0x6fa829;this[_0x4aaa0e][_0x1bd3e3(0x234)](_0x1cbe1e),this[_0x2797e3]+=_0x1cbe1e['length'];}function _0x5f5448(_0x57aa34){const _0x597a4f=_0x6fa829;if(this[_0x2797e3]+=_0x57aa34[_0x597a4f(0x112)],this[_0x13b074]['_maxPayload']<0x1||this[_0x2797e3]<=this[_0x13b074][_0x597a4f(0x13d)]){this[_0x4aaa0e][_0x597a4f(0x234)](_0x57aa34);return;}this[_0x56fff5]=new RangeError(_0x597a4f(0x101)),this[_0x56fff5][_0x597a4f(0x152)]=_0x597a4f(0xd8),this[_0x56fff5][_0x53fb14]=0x3f1,this[_0x597a4f(0x1bb)]('data',_0x5f5448),this[_0x597a4f(0x1d4)]();}function _0x41832d(_0x556b10){const _0x31be62=_0x6fa829;if(this[_0x13b074][_0x31be62(0x123)]=null,this[_0x56fff5]){this[_0x5621ea](this[_0x56fff5]);return;}_0x556b10[_0x53fb14]=0x3ef,this[_0x5621ea](_0x556b10);}return ve;}function _0x4af6(){const _0x45f2d7=['dispatch','getInfo','createInflateRaw','socketPath','finish','objectMode','sha1','HTTP/1.1\x20101\x20Switching\x20Protocols','kCode','upgrade','origin','sec-websocket-version','3033176RWwlsK','test','normalizeParams','pipe','client_no_context_takeover','createDeflateRaw','apply','pow','hostname','_generateMask','Max\x20payload\x20size\x20exceeded','digest','readUInt32BE','accept','redirect','get','frame','getPayloadLength64','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','kByteLength','text/html','freeze','_decompress','forEach','next','destroy','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','length','port','timeout','object','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','species','rsv1','controlMessage','_writableState','conclude','21QqnYXe','WS_ERR_EXPECTED_MASK','_state','href','host','_receiver','unmask','_inflate','decompress','indexOf','kIsForOnEventAttribute','slice','Invalid\x20Sec-WebSocket-Protocol\x20header','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','statusCode','OPEN','shift','RSV1\x20must\x20be\x20clear','params','invalid\x20status\x20code\x20','toStringTag','cookie','mask','fragments','concurrencyLimit','kListener','callback','string','fin','uncork','finished','clientNoContextTakeover','write','_maxPayload','pluginName','listen','Upgrade:\x20websocket','writeUInt16BE','2468028anExwk','values','WS_NO_UTF_8_VALIDATE','_destroy','Opening\x20handshake\x20has\x20timed\x20out','size','destroyed','FIN\x20must\x20be\x20set','_fragments','Connection:\x20Upgrade','_compressed','listenerCount','address','clientMaxWindowBits','message','_req','code','createError','Sec-WebSocket-Accept:\x20','The\x20server\x20is\x20not\x20running','Invalid\x20Upgrade\x20header','sec-websocket-protocol','readUInt16BE','_socket','prototype','_messageLength','_max_window_bits','url','call','_opcode','_autoPong','The\x20URL\x20contains\x20a\x20fragment\x20identifier','auth','Sec-WebSocket-Extensions:\x20','_binaryType','send','serverMaxWindowBits','Parameter\x20\x22','isBuffer','maxPayload','binary','sec-websocket-key','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','verifyClient','defineProperty','setTimeout','function','Upgrade','username','ws:','create','_mask','sendFrame','_compress','default','removeAllListeners','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','CONNECTING','_options','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','5NSRCwG','Basic\x20','Blob','WS_ERR_INVALID_CLOSE_CODE','_loop','maxRedirects','\x0d\x0a\x0d\x0a','43516077SjMSKC','kAborted','end','target','close','_firstFragment','_buffers','byteLength','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_UNEXPECTED_RSV_1','isServer','type','update','_threshold','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_injector','http:','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','6LgXDWS','arrayBuffer','_errored','Z_DEFAULT_WINDOWBITS','isIP','CLOSING','client_max_window_bits','_sender','construct','replace','_closeTimer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_httpService','WebSocket','open','GET','writeUIntBE','finishRequest','zlibDeflateOptions','threshold','format','warn','set','parse','then','emitClose','entries','_maskBuffer','Invalid\x20value\x20for\x20parameter\x20\x22','terminate','registerHTTPInterceptor','WS_ERR_INVALID_OPCODE','wasClean','abort','ping','removeListener','_configService','setHeader','cork','has','Module','jobs','getPayloadLength16','serverNoContextTakeover','flush','errorEmitted','endEmitted','bufferedAmount','exports','_readableState','listeners','Sec-WebSocket-Protocol:\x20','_readyState','resume','_final','Unexpected\x20end\x20of\x20input','haveLength','keys','buffer','isPaused','reset','The\x20\x22','removeEventListener','kDone','90KnNjSH','arraybuffer','kTarget','generateMask','_no_context_takeover','onStarting','byteOffset','Sec-WebSocket-Origin','_url','readyState','emit','server_max_window_bits','catch','\x22:\x20','isArray','response','readable','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','options','dispose','sec-websocket-accept','_closeCode','Invalid\x20WebSocket\x20frame:\x20','search','__esModule','setNoDelay','isInteger','read','captureStackTrace','readOnly','concat','1114360uIagrW','maskBuffer','startLoop','zlibInflateOptions','hasOwnProperty','Origin','Sec-WebSocket-Extensions','alloc','onclose','constructor','consume','_closeFrameReceived','websocket','isValidUTF8','_originalIpc','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','from','_closeFrameSent','WebSocket\x20is\x20not\x20open:\x20readyState\x20','number','1152296bTUvli','client','concurrency','Cookie','writeHead','Server\x20sent\x20no\x20subprotocol','Z_SYNC_FLUSH','Invalid\x20Sec-WebSocket-Extensions\x20header','WS_NO_BUFFER_UTIL','delete','protocolVersion','invalid\x20opcode\x20','_queue','split','authorized','toLowerCase','kData','env','MASK\x20must\x20be\x20clear','allocUnsafe','listening','nodebuffer','error','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','setSocket','base64','path','allowSynchronousEvents','_originalSecure','File','reason','location','defaultPort','setConfig','data','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','toString','sec-websocket-extensions','headers','blob','extensions','push','charCodeAt','Unexpected\x20server\x20response:\x20','_extensions','join','opcode','pong','handleEvent','_fin','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','onerror','clientTracking','onmessage','getOwnPropertyDescriptor','_totalPayloadLength','wss:','handshakeTimeout','createSocket','_protocol','WS_ERR_EXPECTED_FIN','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','customHeaders','writable','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','request','addEventListener','kError','startsWith','followRedirects','STATUS_CODES','createServer','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_doCreateSocket','_shouldEmitClose','acceptAsClient','cleanup','_bufferedAmount','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','hash','Unexpected\x20character\x20at\x20index\x20','1521578QGywxo','map','getBlobData','server_no_context_takeover','stream','wsClientError','_paused','clients','getConfig','_payloadLength','compress','autoPong','invalid\x20payload\x20length\x20','nextTick','once','_deflate','_skipUTF8Validation','server','WS_ERR_UNEXPECTED_RSV_2_3','_removeListeners','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','servername','extensionName','value','_server','authorization','_fragmented','enqueue','add','handleUpgrade','kReason','pending','collaboration-client-node.config','Invalid\x20URL:\x20','invalid\x20opcode\x200','noServer','_write','\x20(supported\x20versions:\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','391580UGIgXU','connect','_registerDependencies','dequeue','skipUTF8Validation','createConnection','invalid\x20UTF-8\x20sequence','status-code','CLOSED','completeUpgrade','kRun','drain','_errorEmitted','protocol','binaryType','_masked','_isServer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_bufferedBytes','permessage-deflate','pause','bind','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','backlog','socket','_closeMessage','perMessageDeflate','shouldHandle','_allowSynchronousEvents','dataMessage','getMask','sec-websocket-origin','method','Sec-WebSocket-Protocol','offer','_redirects'];_0x4af6=function(){return _0x45f2d7;};return _0x4af6();}var re={'exports':{}};const Ht={},zt=Object[_0x195511(0x10c)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x195511(0x130)],{'value':_0x195511(0x1c0)})),Yt=ut(zt);function _0x505a(_0x425a31,_0x1438cd){const _0x4af69d=_0x4af6();return _0x505a=function(_0x505ace,_0x18a39c){_0x505ace=_0x505ace-0xb3;let _0x6f0041=_0x4af69d[_0x505ace];return _0x6f0041;},_0x505a(_0x425a31,_0x1438cd);}var Qe;function ne(){const _0x36ec03=_0x195511;if(Qe)return re[_0x36ec03(0x1c8)];Qe=0x1;const {isUtf8:_0x39e00d}=_0x22e49e,{hasBlob:_0x44e294}=V(),_0x469d38=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x5e6084(_0x28edb2){return _0x28edb2>=0x3e8&&_0x28edb2<=0x3f6&&_0x28edb2!==0x3ec&&_0x28edb2!==0x3ed&&_0x28edb2!==0x3ee||_0x28edb2>=0xbb8&&_0x28edb2<=0x1387;}function _0x529622(_0x31af68){const _0x52c755=_0x36ec03,_0x165c2a=_0x31af68[_0x52c755(0x112)];let _0x211440=0x0;for(;_0x211440<_0x165c2a;)if((_0x31af68[_0x211440]&0x80)===0x0)_0x211440++;else{if((_0x31af68[_0x211440]&0xe0)===0xc0){if(_0x211440+0x1===_0x165c2a||(_0x31af68[_0x211440+0x1]&0xc0)!==0x80||(_0x31af68[_0x211440]&0xfe)===0xc0)return!0x1;_0x211440+=0x2;}else{if((_0x31af68[_0x211440]&0xf0)===0xe0){if(_0x211440+0x2>=_0x165c2a||(_0x31af68[_0x211440+0x1]&0xc0)!==0x80||(_0x31af68[_0x211440+0x2]&0xc0)!==0x80||_0x31af68[_0x211440]===0xe0&&(_0x31af68[_0x211440+0x1]&0xe0)===0x80||_0x31af68[_0x211440]===0xed&&(_0x31af68[_0x211440+0x1]&0xe0)===0xa0)return!0x1;_0x211440+=0x3;}else{if((_0x31af68[_0x211440]&0xf8)===0xf0){if(_0x211440+0x3>=_0x165c2a||(_0x31af68[_0x211440+0x1]&0xc0)!==0x80||(_0x31af68[_0x211440+0x2]&0xc0)!==0x80||(_0x31af68[_0x211440+0x3]&0xc0)!==0x80||_0x31af68[_0x211440]===0xf0&&(_0x31af68[_0x211440+0x1]&0xf0)===0x80||_0x31af68[_0x211440]===0xf4&&_0x31af68[_0x211440+0x1]>0x8f||_0x31af68[_0x211440]>0xf4)return!0x1;_0x211440+=0x4;}else return!0x1;}}}return!0x0;}function _0x4c7f48(_0x3c94ca){const _0x4be84f=_0x36ec03;return _0x44e294&&typeof _0x3c94ca==_0x4be84f(0x115)&&typeof _0x3c94ca['arrayBuffer']=='function'&&typeof _0x3c94ca[_0x4be84f(0x191)]==_0x4be84f(0x137)&&typeof _0x3c94ca[_0x4be84f(0x261)]=='function'&&(_0x3c94ca[Symbol[_0x4be84f(0x130)]]===_0x4be84f(0x181)||_0x3c94ca[Symbol[_0x4be84f(0x130)]]===_0x4be84f(0x228));}if(re[_0x36ec03(0x1c8)]={'isBlob':_0x4c7f48,'isValidStatusCode':_0x5e6084,'isValidUTF8':_0x529622,'tokenChars':_0x469d38},_0x39e00d)re[_0x36ec03(0x1c8)][_0x36ec03(0x204)]=function(_0x55a712){const _0x55cf80=_0x36ec03;return _0x55a712[_0x55cf80(0x112)]<0x18?_0x529622(_0x55a712):_0x39e00d(_0x55a712);};else{if(!process[_0x36ec03(0x21c)][_0x36ec03(0x144)])try{const _0x31085d=Yt;re[_0x36ec03(0x1c8)][_0x36ec03(0x204)]=function(_0x187e48){const _0x419c9f=_0x36ec03;return _0x187e48[_0x419c9f(0x112)]<0x20?_0x529622(_0x187e48):_0x31085d(_0x187e48);};}catch{}}return re[_0x36ec03(0x1c8)];}var Se,Je;function dt(){const _0x42dd27=_0x195511;if(Je)return Se;Je=0x1;const {Writable:_0x3cb184}=_0x4c9b34,_0x26d019=he(),{BINARY_TYPES:_0x304b03,EMPTY_BUFFER:_0x209068,kStatusCode:_0x285d13,kWebSocket:_0x3b9405}=V(),{concat:_0x4c8ae3,toArrayBuffer:_0x35cc7c,unmask:_0x584974}=ce(),{isValidStatusCode:_0x4a96a6,isValidUTF8:_0x96df6}=ne(),_0x1a635a=Buffer[Symbol[_0x42dd27(0x117)]],_0x27d6ef=0x0,_0x5b34c2=0x1,_0x4922a5=0x2,_0x52931c=0x3,_0x48546f=0x4,_0xf7034d=0x5,_0xdf4b26=0x6;class _0x27ff0f extends _0x3cb184{constructor(_0x5bec7d={}){const _0x4c197e=_0x42dd27;super(),this[_0x4c197e(0xe3)]=_0x5bec7d[_0x4c197e(0x226)]!==void 0x0?_0x5bec7d[_0x4c197e(0x226)]:!0x0,this['_binaryType']=_0x5bec7d[_0x4c197e(0xd5)]||_0x304b03[0x0],this[_0x4c197e(0x237)]=_0x5bec7d[_0x4c197e(0x233)]||{},this[_0x4c197e(0xd7)]=!!_0x5bec7d[_0x4c197e(0x190)],this[_0x4c197e(0x13d)]=_0x5bec7d['maxPayload']|0x0,this[_0x4c197e(0x26d)]=!!_0x5bec7d[_0x4c197e(0xcb)],this[_0x3b9405]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4c197e(0x18c)]=[],this[_0x4c197e(0x14c)]=!0x1,this[_0x4c197e(0x266)]=0x0,this[_0x4c197e(0x175)]=void 0x0,this[_0x4c197e(0xba)]=0x0,this[_0x4c197e(0xd6)]=!0x1,this[_0x4c197e(0x23c)]=!0x1,this[_0x4c197e(0x15f)]=0x0,this[_0x4c197e(0x242)]=0x0,this[_0x4c197e(0x15b)]=0x0,this[_0x4c197e(0x14a)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x27d6ef;}[_0x42dd27(0xc4)](_0x49b05e,_0x35314e,_0x5232a4){const _0x430e93=_0x42dd27;if(this[_0x430e93(0x15f)]===0x8&&this[_0x430e93(0x11e)]==_0x27d6ef)return _0x5232a4();this[_0x430e93(0xd9)]+=_0x49b05e['length'],this['_buffers']['push'](_0x49b05e),this[_0x430e93(0x1f9)](_0x5232a4);}[_0x42dd27(0x201)](_0x82037b){const _0x37b7e8=_0x42dd27;if(this[_0x37b7e8(0xd9)]-=_0x82037b,_0x82037b===this[_0x37b7e8(0x18c)][0x0][_0x37b7e8(0x112)])return this[_0x37b7e8(0x18c)][_0x37b7e8(0x12c)]();if(_0x82037b<this[_0x37b7e8(0x18c)][0x0]['length']){const _0x405fa8=this[_0x37b7e8(0x18c)][0x0];return this[_0x37b7e8(0x18c)][0x0]=new _0x1a635a(_0x405fa8['buffer'],_0x405fa8['byteOffset']+_0x82037b,_0x405fa8[_0x37b7e8(0x112)]-_0x82037b),new _0x1a635a(_0x405fa8[_0x37b7e8(0x1d2)],_0x405fa8['byteOffset'],_0x82037b);}const _0x3002dc=Buffer['allocUnsafe'](_0x82037b);do{const _0x1b7e79=this[_0x37b7e8(0x18c)][0x0],_0x1df0ef=_0x3002dc[_0x37b7e8(0x112)]-_0x82037b;_0x82037b>=_0x1b7e79[_0x37b7e8(0x112)]?_0x3002dc[_0x37b7e8(0x1ae)](this[_0x37b7e8(0x18c)][_0x37b7e8(0x12c)](),_0x1df0ef):(_0x3002dc[_0x37b7e8(0x1ae)](new Uint8Array(_0x1b7e79[_0x37b7e8(0x1d2)],_0x1b7e79[_0x37b7e8(0x1de)],_0x82037b),_0x1df0ef),this[_0x37b7e8(0x18c)][0x0]=new _0x1a635a(_0x1b7e79[_0x37b7e8(0x1d2)],_0x1b7e79['byteOffset']+_0x82037b,_0x1b7e79[_0x37b7e8(0x112)]-_0x82037b)),_0x82037b-=_0x1b7e79[_0x37b7e8(0x112)];}while(_0x82037b>0x0);return _0x3002dc;}['startLoop'](_0x39a402){const _0x4b6fd5=_0x42dd27;this[_0x4b6fd5(0x183)]=!0x0;do switch(this[_0x4b6fd5(0x11e)]){case _0x27d6ef:this[_0x4b6fd5(0xec)](_0x39a402);break;case _0x5b34c2:this[_0x4b6fd5(0x1c2)](_0x39a402);break;case _0x4922a5:this['getPayloadLength64'](_0x39a402);break;case _0x52931c:this[_0x4b6fd5(0xe5)]();break;case _0x48546f:this['getData'](_0x39a402);break;case _0xf7034d:case _0xdf4b26:this[_0x4b6fd5(0x183)]=!0x1;return;}while(this['_loop']);this[_0x4b6fd5(0x19a)]||_0x39a402();}[_0x42dd27(0xec)](_0xdc8cb1){const _0x33034e=_0x42dd27;if(this[_0x33034e(0xd9)]<0x2){this['_loop']=!0x1;return;}const _0x11b790=this[_0x33034e(0x201)](0x2);if((_0x11b790[0x0]&0x30)!==0x0){const _0x1c277d=this[_0x33034e(0x153)](RangeError,_0x33034e(0x17e),!0x0,0x3ea,_0x33034e(0x26f));_0xdc8cb1(_0x1c277d);return;}const _0x2d980a=(_0x11b790[0x0]&0x40)===0x40;if(_0x2d980a&&!this[_0x33034e(0x237)][_0x26d019[_0x33034e(0xb6)]]){const _0x4e2c35=this[_0x33034e(0x153)](RangeError,_0x33034e(0x12d),!0x0,0x3ea,_0x33034e(0x18f));_0xdc8cb1(_0x4e2c35);return;}if(this[_0x33034e(0x23c)]=(_0x11b790[0x0]&0x80)===0x80,this[_0x33034e(0x15f)]=_0x11b790[0x0]&0xf,this['_payloadLength']=_0x11b790[0x1]&0x7f,this[_0x33034e(0x15f)]===0x0){if(_0x2d980a){const _0x17ff7e=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x33034e(0x18f));_0xdc8cb1(_0x17ff7e);return;}if(!this[_0x33034e(0xba)]){const _0x9d1b03=this[_0x33034e(0x153)](RangeError,_0x33034e(0xc2),!0x0,0x3ea,_0x33034e(0x1b7));_0xdc8cb1(_0x9d1b03);return;}this[_0x33034e(0x15f)]=this[_0x33034e(0xba)];}else{if(this[_0x33034e(0x15f)]===0x1||this[_0x33034e(0x15f)]===0x2){if(this['_fragmented']){const _0x37d2f3=this[_0x33034e(0x153)](RangeError,_0x33034e(0x216)+this[_0x33034e(0x15f)],!0x0,0x3ea,_0x33034e(0x1b7));_0xdc8cb1(_0x37d2f3);return;}this['_compressed']=_0x2d980a;}else{if(this[_0x33034e(0x15f)]>0x7&&this['_opcode']<0xb){if(!this[_0x33034e(0x23c)]){const _0x3deb37=this[_0x33034e(0x153)](RangeError,_0x33034e(0x149),!0x0,0x3ea,_0x33034e(0x247));_0xdc8cb1(_0x3deb37);return;}if(_0x2d980a){const _0x5a3f22=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x33034e(0x18f));_0xdc8cb1(_0x5a3f22);return;}if(this[_0x33034e(0x266)]>0x7d||this[_0x33034e(0x15f)]===0x8&&this['_payloadLength']===0x1){const _0x299553=this['createError'](RangeError,_0x33034e(0x269)+this['_payloadLength'],!0x0,0x3ea,_0x33034e(0x22e));_0xdc8cb1(_0x299553);return;}}else{const _0xd40744=this[_0x33034e(0x153)](RangeError,_0x33034e(0x216)+this[_0x33034e(0x15f)],!0x0,0x3ea,_0x33034e(0x1b7));_0xdc8cb1(_0xd40744);return;}}}if(!this[_0x33034e(0x23c)]&&!this[_0x33034e(0xba)]&&(this[_0x33034e(0xba)]=this[_0x33034e(0x15f)]),this[_0x33034e(0xd6)]=(_0x11b790[0x1]&0x80)===0x80,this[_0x33034e(0xd7)]){if(!this[_0x33034e(0xd6)]){const _0x221059=this[_0x33034e(0x153)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x33034e(0x11d));_0xdc8cb1(_0x221059);return;}}else{if(this['_masked']){const _0xcd1043=this[_0x33034e(0x153)](RangeError,_0x33034e(0x21d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xdc8cb1(_0xcd1043);return;}}this[_0x33034e(0x266)]===0x7e?this[_0x33034e(0x11e)]=_0x5b34c2:this[_0x33034e(0x266)]===0x7f?this[_0x33034e(0x11e)]=_0x4922a5:this['haveLength'](_0xdc8cb1);}['getPayloadLength16'](_0x35906c){const _0x275f24=_0x42dd27;if(this[_0x275f24(0xd9)]<0x2){this[_0x275f24(0x183)]=!0x1;return;}this[_0x275f24(0x266)]=this['consume'](0x2)[_0x275f24(0x158)](0x0),this['haveLength'](_0x35906c);}[_0x42dd27(0x108)](_0x36a78a){const _0x110ae9=_0x42dd27;if(this[_0x110ae9(0xd9)]<0x8){this[_0x110ae9(0x183)]=!0x1;return;}const _0x3f2dcd=this[_0x110ae9(0x201)](0x8),_0x58626d=_0x3f2dcd['readUInt32BE'](0x0);if(_0x58626d>Math[_0x110ae9(0xfe)](0x2,0x15)-0x1){const _0x28c919=this[_0x110ae9(0x153)](RangeError,_0x110ae9(0xb4),!0x1,0x3f1,_0x110ae9(0x116));_0x36a78a(_0x28c919);return;}this['_payloadLength']=_0x58626d*Math['pow'](0x2,0x20)+_0x3f2dcd[_0x110ae9(0x103)](0x4),this[_0x110ae9(0x1d0)](_0x36a78a);}[_0x42dd27(0x1d0)](_0x35e1f9){const _0x2ea7da=_0x42dd27;if(this[_0x2ea7da(0x266)]&&this[_0x2ea7da(0x15f)]<0x8&&(this[_0x2ea7da(0x242)]+=this[_0x2ea7da(0x266)],this[_0x2ea7da(0x242)]>this[_0x2ea7da(0x13d)]&&this[_0x2ea7da(0x13d)]>0x0)){const _0xdaa648=this[_0x2ea7da(0x153)](RangeError,_0x2ea7da(0x101),!0x1,0x3f1,_0x2ea7da(0xd8));_0x35e1f9(_0xdaa648);return;}this[_0x2ea7da(0xd6)]?this[_0x2ea7da(0x11e)]=_0x52931c:this['_state']=_0x48546f;}[_0x42dd27(0xe5)](){const _0x34feab=_0x42dd27;if(this[_0x34feab(0xd9)]<0x4){this[_0x34feab(0x183)]=!0x1;return;}this[_0x34feab(0x175)]=this[_0x34feab(0x201)](0x4),this[_0x34feab(0x11e)]=_0x48546f;}['getData'](_0x196ba6){const _0x2d463b=_0x42dd27;let _0x3cff14=_0x209068;if(this[_0x2d463b(0x266)]){if(this[_0x2d463b(0xd9)]<this[_0x2d463b(0x266)]){this[_0x2d463b(0x183)]=!0x1;return;}_0x3cff14=this[_0x2d463b(0x201)](this[_0x2d463b(0x266)]),this[_0x2d463b(0xd6)]&&(this['_mask'][0x0]|this[_0x2d463b(0x175)][0x1]|this['_mask'][0x2]|this[_0x2d463b(0x175)][0x3])!==0x0&&_0x584974(_0x3cff14,this[_0x2d463b(0x175)]);}if(this[_0x2d463b(0x15f)]>0x7){this[_0x2d463b(0x119)](_0x3cff14,_0x196ba6);return;}if(this['_compressed']){this[_0x2d463b(0x11e)]=_0xf7034d,this[_0x2d463b(0x124)](_0x3cff14,_0x196ba6);return;}_0x3cff14[_0x2d463b(0x112)]&&(this[_0x2d463b(0x15b)]=this[_0x2d463b(0x242)],this[_0x2d463b(0x14a)]['push'](_0x3cff14)),this['dataMessage'](_0x196ba6);}[_0x42dd27(0x124)](_0x294fad,_0x6f356f){const _0x5ef8ef=_0x42dd27;this['_extensions'][_0x26d019['extensionName']]['decompress'](_0x294fad,this[_0x5ef8ef(0x23c)],(_0x546e48,_0x838ed1)=>{const _0x374c01=_0x5ef8ef;if(_0x546e48)return _0x6f356f(_0x546e48);if(_0x838ed1[_0x374c01(0x112)]){if(this[_0x374c01(0x15b)]+=_0x838ed1['length'],this[_0x374c01(0x15b)]>this[_0x374c01(0x13d)]&&this[_0x374c01(0x13d)]>0x0){const _0x43c488=this[_0x374c01(0x153)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x374c01(0xd8));_0x6f356f(_0x43c488);return;}this[_0x374c01(0x14a)][_0x374c01(0x234)](_0x838ed1);}this[_0x374c01(0xe4)](_0x6f356f),this['_state']===_0x27d6ef&&this[_0x374c01(0x1f9)](_0x6f356f);});}[_0x42dd27(0xe4)](_0x208db7){const _0x3fbbc9=_0x42dd27;if(!this['_fin']){this['_state']=_0x27d6ef;return;}const _0x110cce=this[_0x3fbbc9(0x15b)],_0x1bbc9f=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x3fbbc9(0x15b)]=0x0,this[_0x3fbbc9(0xba)]=0x0,this[_0x3fbbc9(0x14a)]=[],this[_0x3fbbc9(0x15f)]===0x2){let _0x47d6f7;this[_0x3fbbc9(0x164)]==='nodebuffer'?_0x47d6f7=_0x4c8ae3(_0x1bbc9f,_0x110cce):this['_binaryType']===_0x3fbbc9(0x1d9)?_0x47d6f7=_0x35cc7c(_0x4c8ae3(_0x1bbc9f,_0x110cce)):this[_0x3fbbc9(0x164)]===_0x3fbbc9(0x232)?_0x47d6f7=new Blob(_0x1bbc9f):_0x47d6f7=_0x1bbc9f,this['_allowSynchronousEvents']?(this[_0x3fbbc9(0x1e2)](_0x3fbbc9(0x150),_0x47d6f7,!0x0),this[_0x3fbbc9(0x11e)]=_0x27d6ef):(this[_0x3fbbc9(0x11e)]=_0xdf4b26,setImmediate(()=>{const _0x13190e=_0x3fbbc9;this[_0x13190e(0x1e2)](_0x13190e(0x150),_0x47d6f7,!0x0),this[_0x13190e(0x11e)]=_0x27d6ef,this['startLoop'](_0x208db7);}));}else{const _0x274ac7=_0x4c8ae3(_0x1bbc9f,_0x110cce);if(!this[_0x3fbbc9(0x26d)]&&!_0x96df6(_0x274ac7)){const _0x79f95c=this[_0x3fbbc9(0x153)](Error,_0x3fbbc9(0xcd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x208db7(_0x79f95c);return;}this['_state']===_0xf7034d||this['_allowSynchronousEvents']?(this[_0x3fbbc9(0x1e2)]('message',_0x274ac7,!0x1),this[_0x3fbbc9(0x11e)]=_0x27d6ef):(this[_0x3fbbc9(0x11e)]=_0xdf4b26,setImmediate(()=>{const _0x371f97=_0x3fbbc9;this['emit'](_0x371f97(0x150),_0x274ac7,!0x1),this[_0x371f97(0x11e)]=_0x27d6ef,this['startLoop'](_0x208db7);}));}}[_0x42dd27(0x119)](_0x40fe5d,_0xc073c2){const _0x4b8eed=_0x42dd27;if(this[_0x4b8eed(0x15f)]===0x8){if(_0x40fe5d[_0x4b8eed(0x112)]===0x0)this['_loop']=!0x1,this[_0x4b8eed(0x1e2)](_0x4b8eed(0x11b),0x3ed,_0x209068),this[_0x4b8eed(0x188)]();else{const _0x1dcf3d=_0x40fe5d[_0x4b8eed(0x158)](0x0);if(!_0x4a96a6(_0x1dcf3d)){const _0x11a680=this[_0x4b8eed(0x153)](RangeError,_0x4b8eed(0x12f)+_0x1dcf3d,!0x0,0x3ea,_0x4b8eed(0x182));_0xc073c2(_0x11a680);return;}const _0x10a373=new _0x1a635a(_0x40fe5d[_0x4b8eed(0x1d2)],_0x40fe5d[_0x4b8eed(0x1de)]+0x2,_0x40fe5d[_0x4b8eed(0x112)]-0x2);if(!this[_0x4b8eed(0x26d)]&&!_0x96df6(_0x10a373)){const _0x3ad01c=this['createError'](Error,_0x4b8eed(0xcd),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xc073c2(_0x3ad01c);return;}this[_0x4b8eed(0x183)]=!0x1,this[_0x4b8eed(0x1e2)]('conclude',_0x1dcf3d,_0x10a373),this[_0x4b8eed(0x188)]();}this['_state']=_0x27d6ef;return;}this[_0x4b8eed(0xe3)]?(this[_0x4b8eed(0x1e2)](this[_0x4b8eed(0x15f)]===0x9?_0x4b8eed(0x1ba):_0x4b8eed(0x23a),_0x40fe5d),this[_0x4b8eed(0x11e)]=_0x27d6ef):(this['_state']=_0xdf4b26,setImmediate(()=>{const _0x29647a=_0x4b8eed;this[_0x29647a(0x1e2)](this[_0x29647a(0x15f)]===0x9?_0x29647a(0x1ba):'pong',_0x40fe5d),this[_0x29647a(0x11e)]=_0x27d6ef,this['startLoop'](_0xc073c2);}));}[_0x42dd27(0x153)](_0x30ff02,_0x4f0c02,_0x560625,_0xbed763,_0x3ae0e3){const _0x21619f=_0x42dd27;this[_0x21619f(0x183)]=!0x1,this[_0x21619f(0x19a)]=!0x0;const _0x40fb8b=new _0x30ff02(_0x560625?_0x21619f(0x1ee)+_0x4f0c02:_0x4f0c02);return Error[_0x21619f(0x1f4)](_0x40fb8b,this[_0x21619f(0x153)]),_0x40fb8b['code']=_0x3ae0e3,_0x40fb8b[_0x285d13]=_0xbed763,_0x40fb8b;}}return Se=_0x27ff0f,Se;}var Ee,et;function _t(){const _0x517732=_0x195511;if(et)return Ee;et=0x1;const {Duplex:_0x19b54e}=_0x4c9b34,{randomFillSync:_0x2aa8b6}=_0x11db56,_0x22d79e=he(),{EMPTY_BUFFER:_0x175f10,kWebSocket:_0xecf4ba,NOOP:_0x1fed14}=V(),{isBlob:_0x380a41,isValidStatusCode:_0x54a5d5}=ne(),{mask:_0x122598,toBuffer:_0x3ebc10}=ce(),_0x1c96d0=Symbol(_0x517732(0x10a)),_0x169935=Buffer['alloc'](0x4),_0x30ba1f=0x8*0x400;let _0x5d0386,_0x2c6fa=_0x30ba1f;const _0x479bee=0x0,_0x54f558=0x1,_0x4ec5e3=0x2;class _0x17a16d{constructor(_0x35b115,_0x9a27c2,_0x17bcb3){const _0x55bd1b=_0x517732;this[_0x55bd1b(0x237)]=_0x9a27c2||{},_0x17bcb3&&(this[_0x55bd1b(0x100)]=_0x17bcb3,this[_0x55bd1b(0x1b3)]=Buffer['alloc'](0x4)),this[_0x55bd1b(0x159)]=_0x35b115,this[_0x55bd1b(0x18b)]=!0x0,this[_0x55bd1b(0x177)]=!0x1,this[_0x55bd1b(0xd9)]=0x0,this[_0x55bd1b(0x217)]=[],this[_0x55bd1b(0x11e)]=_0x479bee,this[_0x55bd1b(0x23e)]=_0x1fed14,this[_0xecf4ba]=void 0x0;}static[_0x517732(0x107)](_0x5f48d4,_0x3cf859){const _0x3cfdd9=_0x517732;let _0x604644,_0x2d0d2b=!0x1,_0x7248e1=0x2,_0x138972=!0x1;_0x3cf859['mask']&&(_0x604644=_0x3cf859[_0x3cfdd9(0x1f8)]||_0x169935,_0x3cf859[_0x3cfdd9(0x1db)]?_0x3cf859['generateMask'](_0x604644):(_0x2c6fa===_0x30ba1f&&(_0x5d0386===void 0x0&&(_0x5d0386=Buffer['alloc'](_0x30ba1f)),_0x2aa8b6(_0x5d0386,0x0,_0x30ba1f),_0x2c6fa=0x0),_0x604644[0x0]=_0x5d0386[_0x2c6fa++],_0x604644[0x1]=_0x5d0386[_0x2c6fa++],_0x604644[0x2]=_0x5d0386[_0x2c6fa++],_0x604644[0x3]=_0x5d0386[_0x2c6fa++]),_0x138972=(_0x604644[0x0]|_0x604644[0x1]|_0x604644[0x2]|_0x604644[0x3])===0x0,_0x7248e1=0x6);let _0x35de21;typeof _0x5f48d4==_0x3cfdd9(0x137)?(!_0x3cf859['mask']||_0x138972)&&_0x3cf859[_0x1c96d0]!==void 0x0?_0x35de21=_0x3cf859[_0x1c96d0]:(_0x5f48d4=Buffer[_0x3cfdd9(0x207)](_0x5f48d4),_0x35de21=_0x5f48d4['length']):(_0x35de21=_0x5f48d4[_0x3cfdd9(0x112)],_0x2d0d2b=_0x3cf859[_0x3cfdd9(0x132)]&&_0x3cf859[_0x3cfdd9(0x1f5)]&&!_0x138972);let _0x5a7b33=_0x35de21;_0x35de21>=0x10000?(_0x7248e1+=0x8,_0x5a7b33=0x7f):_0x35de21>0x7d&&(_0x7248e1+=0x2,_0x5a7b33=0x7e);const _0x367e1f=Buffer[_0x3cfdd9(0x21e)](_0x2d0d2b?_0x35de21+_0x7248e1:_0x7248e1);return _0x367e1f[0x0]=_0x3cf859[_0x3cfdd9(0x138)]?_0x3cf859['opcode']|0x80:_0x3cf859[_0x3cfdd9(0x239)],_0x3cf859[_0x3cfdd9(0x118)]&&(_0x367e1f[0x0]|=0x40),_0x367e1f[0x1]=_0x5a7b33,_0x5a7b33===0x7e?_0x367e1f[_0x3cfdd9(0x141)](_0x35de21,0x2):_0x5a7b33===0x7f&&(_0x367e1f[0x2]=_0x367e1f[0x3]=0x0,_0x367e1f[_0x3cfdd9(0x1a8)](_0x35de21,0x4,0x6)),_0x3cf859['mask']?(_0x367e1f[0x1]|=0x80,_0x367e1f[_0x7248e1-0x4]=_0x604644[0x0],_0x367e1f[_0x7248e1-0x3]=_0x604644[0x1],_0x367e1f[_0x7248e1-0x2]=_0x604644[0x2],_0x367e1f[_0x7248e1-0x1]=_0x604644[0x3],_0x138972?[_0x367e1f,_0x5f48d4]:_0x2d0d2b?(_0x122598(_0x5f48d4,_0x604644,_0x367e1f,_0x7248e1,_0x35de21),[_0x367e1f]):(_0x122598(_0x5f48d4,_0x604644,_0x5f48d4,0x0,_0x35de21),[_0x367e1f,_0x5f48d4])):[_0x367e1f,_0x5f48d4];}['close'](_0x171d0b,_0x5d3e0a,_0x257ec2,_0x16d0eb){const _0x4530db=_0x517732;let _0x3a0ba5;if(_0x171d0b===void 0x0)_0x3a0ba5=_0x175f10;else{if(typeof _0x171d0b!=_0x4530db(0x20a)||!_0x54a5d5(_0x171d0b))throw new TypeError(_0x4530db(0x129));if(_0x5d3e0a===void 0x0||!_0x5d3e0a[_0x4530db(0x112)])_0x3a0ba5=Buffer[_0x4530db(0x21e)](0x2),_0x3a0ba5['writeUInt16BE'](_0x171d0b,0x0);else{const _0x56c8dd=Buffer['byteLength'](_0x5d3e0a);if(_0x56c8dd>0x7b)throw new RangeError(_0x4530db(0x197));_0x3a0ba5=Buffer[_0x4530db(0x21e)](0x2+_0x56c8dd),_0x3a0ba5[_0x4530db(0x141)](_0x171d0b,0x0),typeof _0x5d3e0a==_0x4530db(0x137)?_0x3a0ba5[_0x4530db(0x13c)](_0x5d3e0a,0x2):_0x3a0ba5[_0x4530db(0x1ae)](_0x5d3e0a,0x2);}}const _0x4add25={[_0x1c96d0]:_0x3a0ba5[_0x4530db(0x112)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x257ec2,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4530db(0x11e)]!==_0x479bee?this['enqueue']([this[_0x4530db(0xeb)],_0x3a0ba5,!0x1,_0x4add25,_0x16d0eb]):this['sendFrame'](_0x17a16d[_0x4530db(0x107)](_0x3a0ba5,_0x4add25),_0x16d0eb);}[_0x517732(0x1ba)](_0x6cf472,_0x2192ff,_0x110f76){const _0x544ead=_0x517732;let _0x565ec7,_0x15e141;if(typeof _0x6cf472==_0x544ead(0x137)?(_0x565ec7=Buffer['byteLength'](_0x6cf472),_0x15e141=!0x1):_0x380a41(_0x6cf472)?(_0x565ec7=_0x6cf472[_0x544ead(0x147)],_0x15e141=!0x1):(_0x6cf472=_0x3ebc10(_0x6cf472),_0x565ec7=_0x6cf472[_0x544ead(0x112)],_0x15e141=_0x3ebc10['readOnly']),_0x565ec7>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3c25d0={[_0x1c96d0]:_0x565ec7,'fin':!0x0,'generateMask':this[_0x544ead(0x100)],'mask':_0x2192ff,'maskBuffer':this[_0x544ead(0x1b3)],'opcode':0x9,'readOnly':_0x15e141,'rsv1':!0x1};_0x380a41(_0x6cf472)?this[_0x544ead(0x11e)]!==_0x479bee?this[_0x544ead(0xbb)]([this[_0x544ead(0x25f)],_0x6cf472,!0x1,_0x3c25d0,_0x110f76]):this[_0x544ead(0x25f)](_0x6cf472,!0x1,_0x3c25d0,_0x110f76):this[_0x544ead(0x11e)]!==_0x479bee?this[_0x544ead(0xbb)]([this['dispatch'],_0x6cf472,!0x1,_0x3c25d0,_0x110f76]):this[_0x544ead(0x176)](_0x17a16d['frame'](_0x6cf472,_0x3c25d0),_0x110f76);}[_0x517732(0x23a)](_0x2ba113,_0x3745d1,_0x1ea49b){const _0x324f36=_0x517732;let _0x54ba35,_0x5a9bab;if(typeof _0x2ba113==_0x324f36(0x137)?(_0x54ba35=Buffer[_0x324f36(0x18d)](_0x2ba113),_0x5a9bab=!0x1):_0x380a41(_0x2ba113)?(_0x54ba35=_0x2ba113[_0x324f36(0x147)],_0x5a9bab=!0x1):(_0x2ba113=_0x3ebc10(_0x2ba113),_0x54ba35=_0x2ba113[_0x324f36(0x112)],_0x5a9bab=_0x3ebc10['readOnly']),_0x54ba35>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x24e5e6={[_0x1c96d0]:_0x54ba35,'fin':!0x0,'generateMask':this[_0x324f36(0x100)],'mask':_0x3745d1,'maskBuffer':this[_0x324f36(0x1b3)],'opcode':0xa,'readOnly':_0x5a9bab,'rsv1':!0x1};_0x380a41(_0x2ba113)?this[_0x324f36(0x11e)]!==_0x479bee?this['enqueue']([this[_0x324f36(0x25f)],_0x2ba113,!0x1,_0x24e5e6,_0x1ea49b]):this['getBlobData'](_0x2ba113,!0x1,_0x24e5e6,_0x1ea49b):this[_0x324f36(0x11e)]!==_0x479bee?this[_0x324f36(0xbb)]([this[_0x324f36(0xeb)],_0x2ba113,!0x1,_0x24e5e6,_0x1ea49b]):this[_0x324f36(0x176)](_0x17a16d['frame'](_0x2ba113,_0x24e5e6),_0x1ea49b);}[_0x517732(0x165)](_0x44b3d7,_0x12e9f4,_0x2073a7){const _0x51b56e=_0x517732,_0x1fa052=this['_extensions'][_0x22d79e['extensionName']];let _0x34838b=_0x12e9f4[_0x51b56e(0x16a)]?0x2:0x1,_0x504135=_0x12e9f4['compress'],_0x38b256,_0x3ec0bd;typeof _0x44b3d7==_0x51b56e(0x137)?(_0x38b256=Buffer['byteLength'](_0x44b3d7),_0x3ec0bd=!0x1):_0x380a41(_0x44b3d7)?(_0x38b256=_0x44b3d7[_0x51b56e(0x147)],_0x3ec0bd=!0x1):(_0x44b3d7=_0x3ebc10(_0x44b3d7),_0x38b256=_0x44b3d7[_0x51b56e(0x112)],_0x3ec0bd=_0x3ebc10[_0x51b56e(0x1f5)]),this[_0x51b56e(0x18b)]?(this[_0x51b56e(0x18b)]=!0x1,_0x504135&&_0x1fa052&&_0x1fa052[_0x51b56e(0x12e)][_0x1fa052[_0x51b56e(0xd7)]?_0x51b56e(0x260):_0x51b56e(0xfb)]&&(_0x504135=_0x38b256>=_0x1fa052[_0x51b56e(0x193)]),this[_0x51b56e(0x177)]=_0x504135):(_0x504135=!0x1,_0x34838b=0x0),_0x12e9f4[_0x51b56e(0x138)]&&(this[_0x51b56e(0x18b)]=!0x0);const _0x4ff815={[_0x1c96d0]:_0x38b256,'fin':_0x12e9f4['fin'],'generateMask':this[_0x51b56e(0x100)],'mask':_0x12e9f4[_0x51b56e(0x132)],'maskBuffer':this[_0x51b56e(0x1b3)],'opcode':_0x34838b,'readOnly':_0x3ec0bd,'rsv1':_0x504135};_0x380a41(_0x44b3d7)?this['_state']!==_0x479bee?this['enqueue']([this[_0x51b56e(0x25f)],_0x44b3d7,this[_0x51b56e(0x177)],_0x4ff815,_0x2073a7]):this['getBlobData'](_0x44b3d7,this['_compress'],_0x4ff815,_0x2073a7):this[_0x51b56e(0x11e)]!==_0x479bee?this[_0x51b56e(0xbb)]([this[_0x51b56e(0xeb)],_0x44b3d7,this['_compress'],_0x4ff815,_0x2073a7]):this[_0x51b56e(0xeb)](_0x44b3d7,this[_0x51b56e(0x177)],_0x4ff815,_0x2073a7);}[_0x517732(0x25f)](_0x27d11e,_0x5965f0,_0x3d67d4,_0x4e1d48){const _0x69eab5=_0x517732;this['_bufferedBytes']+=_0x3d67d4[_0x1c96d0],this[_0x69eab5(0x11e)]=_0x4ec5e3,_0x27d11e[_0x69eab5(0x199)]()[_0x69eab5(0x1b0)](_0x380f0e=>{const _0x4c9bf9=_0x69eab5;if(this[_0x4c9bf9(0x159)][_0x4c9bf9(0x148)]){const _0x54b557=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x4c9bf9(0x26a)](_0x1e8616,this,_0x54b557,_0x4e1d48);return;}this[_0x4c9bf9(0xd9)]-=_0x3d67d4[_0x1c96d0];const _0x4a60c7=_0x3ebc10(_0x380f0e);_0x5965f0?this[_0x4c9bf9(0xeb)](_0x4a60c7,_0x5965f0,_0x3d67d4,_0x4e1d48):(this[_0x4c9bf9(0x11e)]=_0x479bee,this[_0x4c9bf9(0x176)](_0x17a16d[_0x4c9bf9(0x107)](_0x4a60c7,_0x3d67d4),_0x4e1d48),this['dequeue']());})[_0x69eab5(0x1e4)](_0x354ed9=>{process['nextTick'](_0x4d9552,this,_0x354ed9,_0x4e1d48);});}['dispatch'](_0x1814be,_0x5750bc,_0x4e61b5,_0x238c27){const _0x54c0a1=_0x517732;if(!_0x5750bc){this[_0x54c0a1(0x176)](_0x17a16d['frame'](_0x1814be,_0x4e61b5),_0x238c27);return;}const _0x468fa0=this[_0x54c0a1(0x237)][_0x22d79e[_0x54c0a1(0xb6)]];this['_bufferedBytes']+=_0x4e61b5[_0x1c96d0],this[_0x54c0a1(0x11e)]=_0x54f558,_0x468fa0[_0x54c0a1(0x267)](_0x1814be,_0x4e61b5['fin'],(_0x41617c,_0x2c9f61)=>{const _0x22024=_0x54c0a1;if(this[_0x22024(0x159)][_0x22024(0x148)]){const _0xdd7cb5=new Error(_0x22024(0x206));_0x1e8616(this,_0xdd7cb5,_0x238c27);return;}this[_0x22024(0xd9)]-=_0x4e61b5[_0x1c96d0],this['_state']=_0x479bee,_0x4e61b5[_0x22024(0x1f5)]=!0x1,this[_0x22024(0x176)](_0x17a16d[_0x22024(0x107)](_0x2c9f61,_0x4e61b5),_0x238c27),this['dequeue']();});}[_0x517732(0xca)](){const _0x567e83=_0x517732;for(;this['_state']===_0x479bee&&this[_0x567e83(0x217)][_0x567e83(0x112)];){const _0x337f45=this[_0x567e83(0x217)]['shift']();this[_0x567e83(0xd9)]-=_0x337f45[0x3][_0x1c96d0],Reflect['apply'](_0x337f45[0x0],this,_0x337f45[_0x567e83(0x127)](0x1));}}[_0x517732(0xbb)](_0x43685a){const _0xc02b19=_0x517732;this['_bufferedBytes']+=_0x43685a[0x3][_0x1c96d0],this[_0xc02b19(0x217)][_0xc02b19(0x234)](_0x43685a);}['sendFrame'](_0x159b67,_0x1eb165){const _0x497a11=_0x517732;_0x159b67['length']===0x2?(this[_0x497a11(0x159)][_0x497a11(0x1be)](),this[_0x497a11(0x159)][_0x497a11(0x13c)](_0x159b67[0x0]),this[_0x497a11(0x159)][_0x497a11(0x13c)](_0x159b67[0x1],_0x1eb165),this['_socket'][_0x497a11(0x139)]()):this[_0x497a11(0x159)][_0x497a11(0x13c)](_0x159b67[0x0],_0x1eb165);}}Ee=_0x17a16d;function _0x1e8616(_0xf101f2,_0x394b3f,_0x361c0e){const _0x2fed6a=_0x517732;typeof _0x361c0e==_0x2fed6a(0x170)&&_0x361c0e(_0x394b3f);for(let _0x871b2a=0x0;_0x871b2a<_0xf101f2[_0x2fed6a(0x217)][_0x2fed6a(0x112)];_0x871b2a++){const _0x387bfa=_0xf101f2[_0x2fed6a(0x217)][_0x871b2a],_0x4c2d24=_0x387bfa[_0x387bfa[_0x2fed6a(0x112)]-0x1];typeof _0x4c2d24==_0x2fed6a(0x170)&&_0x4c2d24(_0x394b3f);}}function _0x4d9552(_0x323fb8,_0x367f71,_0x1f34fe){const _0x17458b=_0x517732;_0x1e8616(_0x323fb8,_0x367f71,_0x1f34fe),_0x323fb8[_0x17458b(0x23e)](_0x367f71);}return Ee;}var xe,tt;function Kt(){const _0x4a6860=_0x195511;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x52dfa4,kListener:_0x42c0fc}=V(),_0xe80f93=Symbol(_0x4a6860(0xf3)),_0x3bc87b=Symbol(_0x4a6860(0x21b)),_0x5e8cca=Symbol(_0x4a6860(0x24e)),_0x18c6e6=Symbol('kMessage'),_0x1f4e18=Symbol(_0x4a6860(0xbe)),_0x3743fe=Symbol(_0x4a6860(0x1da)),_0x2501f1=Symbol('kType'),_0x574184=Symbol('kWasClean');class _0x155489{constructor(_0x167ba4){this[_0x3743fe]=null,this[_0x2501f1]=_0x167ba4;}get[_0x4a6860(0x189)](){return this[_0x3743fe];}get[_0x4a6860(0x191)](){return this[_0x2501f1];}}Object[_0x4a6860(0x16e)](_0x155489[_0x4a6860(0x15a)],_0x4a6860(0x189),{'enumerable':!0x0}),Object[_0x4a6860(0x16e)](_0x155489[_0x4a6860(0x15a)],_0x4a6860(0x191),{'enumerable':!0x0});class _0x54191e extends _0x155489{constructor(_0x4e5e2c,_0x3924a4={}){const _0xb2d88c=_0x4a6860;super(_0x4e5e2c),this[_0xe80f93]=_0x3924a4[_0xb2d88c(0x152)]===void 0x0?0x0:_0x3924a4[_0xb2d88c(0x152)],this[_0x1f4e18]=_0x3924a4['reason']===void 0x0?'':_0x3924a4[_0xb2d88c(0x229)],this[_0x574184]=_0x3924a4['wasClean']===void 0x0?!0x1:_0x3924a4[_0xb2d88c(0x1b8)];}get[_0x4a6860(0x152)](){return this[_0xe80f93];}get[_0x4a6860(0x229)](){return this[_0x1f4e18];}get[_0x4a6860(0x1b8)](){return this[_0x574184];}}Object['defineProperty'](_0x54191e[_0x4a6860(0x15a)],_0x4a6860(0x152),{'enumerable':!0x0}),Object[_0x4a6860(0x16e)](_0x54191e[_0x4a6860(0x15a)],_0x4a6860(0x229),{'enumerable':!0x0}),Object['defineProperty'](_0x54191e[_0x4a6860(0x15a)],_0x4a6860(0x1b8),{'enumerable':!0x0});class _0x393bdb extends _0x155489{constructor(_0x1744b0,_0x180c70={}){const _0x12c585=_0x4a6860;super(_0x1744b0),this[_0x5e8cca]=_0x180c70[_0x12c585(0x221)]===void 0x0?null:_0x180c70[_0x12c585(0x221)],this[_0x18c6e6]=_0x180c70[_0x12c585(0x150)]===void 0x0?'':_0x180c70[_0x12c585(0x150)];}get['error'](){return this[_0x5e8cca];}get[_0x4a6860(0x150)](){return this[_0x18c6e6];}}Object[_0x4a6860(0x16e)](_0x393bdb[_0x4a6860(0x15a)],_0x4a6860(0x221),{'enumerable':!0x0}),Object[_0x4a6860(0x16e)](_0x393bdb[_0x4a6860(0x15a)],_0x4a6860(0x150),{'enumerable':!0x0});class _0x1230a2 extends _0x155489{constructor(_0x278e9f,_0xb056c7={}){const _0x4753ba=_0x4a6860;super(_0x278e9f),this[_0x3bc87b]=_0xb056c7[_0x4753ba(0x22d)]===void 0x0?null:_0xb056c7[_0x4753ba(0x22d)];}get[_0x4a6860(0x22d)](){return this[_0x3bc87b];}}Object[_0x4a6860(0x16e)](_0x1230a2['prototype'],_0x4a6860(0x22d),{'enumerable':!0x0}),xe={'CloseEvent':_0x54191e,'ErrorEvent':_0x393bdb,'Event':_0x155489,'EventTarget':{'addEventListener'(_0x5818af,_0x30b5e3,_0x368b9f={}){const _0x3d646d=_0x4a6860;for(const _0xd39c9a of this[_0x3d646d(0x1ca)](_0x5818af))if(!_0x368b9f[_0x52dfa4]&&_0xd39c9a[_0x42c0fc]===_0x30b5e3&&!_0xd39c9a[_0x52dfa4])return;let _0x49609d;if(_0x5818af===_0x3d646d(0x150))_0x49609d=function(_0x4e43c3,_0x10d581){const _0x1187c7=_0x3d646d,_0x10124=new _0x1230a2(_0x1187c7(0x150),{'data':_0x10d581?_0x4e43c3:_0x4e43c3[_0x1187c7(0x22f)]()});_0x10124[_0x3743fe]=this,_0x2ee8e6(_0x30b5e3,this,_0x10124);};else{if(_0x5818af===_0x3d646d(0x18a))_0x49609d=function(_0xb76e5b,_0x5a52ac){const _0x2a893b=_0x3d646d,_0x48d12d=new _0x54191e('close',{'code':_0xb76e5b,'reason':_0x5a52ac[_0x2a893b(0x22f)](),'wasClean':this[_0x2a893b(0x202)]&&this[_0x2a893b(0x208)]});_0x48d12d[_0x3743fe]=this,_0x2ee8e6(_0x30b5e3,this,_0x48d12d);};else{if(_0x5818af==='error')_0x49609d=function(_0x3012b9){const _0x3eb83c=_0x3d646d,_0x3e2661=new _0x393bdb(_0x3eb83c(0x221),{'error':_0x3012b9,'message':_0x3012b9[_0x3eb83c(0x150)]});_0x3e2661[_0x3743fe]=this,_0x2ee8e6(_0x30b5e3,this,_0x3e2661);};else{if(_0x5818af===_0x3d646d(0x1a6))_0x49609d=function(){const _0x21e481=_0x3d646d,_0x40690e=new _0x155489(_0x21e481(0x1a6));_0x40690e[_0x3743fe]=this,_0x2ee8e6(_0x30b5e3,this,_0x40690e);};else return;}}}_0x49609d[_0x52dfa4]=!!_0x368b9f[_0x52dfa4],_0x49609d[_0x42c0fc]=_0x30b5e3,_0x368b9f[_0x3d646d(0x26b)]?this[_0x3d646d(0x26b)](_0x5818af,_0x49609d):this['on'](_0x5818af,_0x49609d);},'removeEventListener'(_0x164cd6,_0x1f4393){const _0x1e2a69=_0x4a6860;for(const _0x3834fa of this['listeners'](_0x164cd6))if(_0x3834fa[_0x42c0fc]===_0x1f4393&&!_0x3834fa[_0x52dfa4]){this[_0x1e2a69(0x1bb)](_0x164cd6,_0x3834fa);break;}}},'MessageEvent':_0x1230a2};function _0x2ee8e6(_0x3f76c8,_0x24dde9,_0x20f8d1){const _0x1b35d0=_0x4a6860;typeof _0x3f76c8==_0x1b35d0(0x115)&&_0x3f76c8[_0x1b35d0(0x23b)]?_0x3f76c8[_0x1b35d0(0x23b)]['call'](_0x3f76c8,_0x20f8d1):_0x3f76c8[_0x1b35d0(0x15e)](_0x24dde9,_0x20f8d1);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x48f5b6}=ne();function _0x390e90(_0x11c8d0,_0x230ed4,_0x3df1ed){const _0x48d04d=_0x505a;_0x11c8d0[_0x230ed4]===void 0x0?_0x11c8d0[_0x230ed4]=[_0x3df1ed]:_0x11c8d0[_0x230ed4][_0x48d04d(0x234)](_0x3df1ed);}function _0x517cf4(_0x2639cf){const _0x1219bb=_0x505a,_0x568463=Object[_0x1219bb(0x174)](null);let _0x4a1f50=Object['create'](null),_0x1923df=!0x1,_0x1a9561=!0x1,_0x325150=!0x1,_0x34b9f2,_0x2876a5,_0x5b90f7=-0x1,_0x146e83=-0x1,_0x43fd81=-0x1,_0x9f23bb=0x0;for(;_0x9f23bb<_0x2639cf[_0x1219bb(0x112)];_0x9f23bb++)if(_0x146e83=_0x2639cf[_0x1219bb(0x235)](_0x9f23bb),_0x34b9f2===void 0x0){if(_0x43fd81===-0x1&&_0x48f5b6[_0x146e83]===0x1)_0x5b90f7===-0x1&&(_0x5b90f7=_0x9f23bb);else{if(_0x9f23bb!==0x0&&(_0x146e83===0x20||_0x146e83===0x9))_0x43fd81===-0x1&&_0x5b90f7!==-0x1&&(_0x43fd81=_0x9f23bb);else{if(_0x146e83===0x3b||_0x146e83===0x2c){if(_0x5b90f7===-0x1)throw new SyntaxError(_0x1219bb(0x25c)+_0x9f23bb);_0x43fd81===-0x1&&(_0x43fd81=_0x9f23bb);const _0x283eba=_0x2639cf[_0x1219bb(0x127)](_0x5b90f7,_0x43fd81);_0x146e83===0x2c?(_0x390e90(_0x568463,_0x283eba,_0x4a1f50),_0x4a1f50=Object[_0x1219bb(0x174)](null)):_0x34b9f2=_0x283eba,_0x5b90f7=_0x43fd81=-0x1;}else throw new SyntaxError(_0x1219bb(0x25c)+_0x9f23bb);}}}else{if(_0x2876a5===void 0x0){if(_0x43fd81===-0x1&&_0x48f5b6[_0x146e83]===0x1)_0x5b90f7===-0x1&&(_0x5b90f7=_0x9f23bb);else{if(_0x146e83===0x20||_0x146e83===0x9)_0x43fd81===-0x1&&_0x5b90f7!==-0x1&&(_0x43fd81=_0x9f23bb);else{if(_0x146e83===0x3b||_0x146e83===0x2c){if(_0x5b90f7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x9f23bb);_0x43fd81===-0x1&&(_0x43fd81=_0x9f23bb),_0x390e90(_0x4a1f50,_0x2639cf[_0x1219bb(0x127)](_0x5b90f7,_0x43fd81),!0x0),_0x146e83===0x2c&&(_0x390e90(_0x568463,_0x34b9f2,_0x4a1f50),_0x4a1f50=Object[_0x1219bb(0x174)](null),_0x34b9f2=void 0x0),_0x5b90f7=_0x43fd81=-0x1;}else{if(_0x146e83===0x3d&&_0x5b90f7!==-0x1&&_0x43fd81===-0x1)_0x2876a5=_0x2639cf[_0x1219bb(0x127)](_0x5b90f7,_0x9f23bb),_0x5b90f7=_0x43fd81=-0x1;else throw new SyntaxError(_0x1219bb(0x25c)+_0x9f23bb);}}}}else{if(_0x1a9561){if(_0x48f5b6[_0x146e83]!==0x1)throw new SyntaxError(_0x1219bb(0x25c)+_0x9f23bb);_0x5b90f7===-0x1?_0x5b90f7=_0x9f23bb:_0x1923df||(_0x1923df=!0x0),_0x1a9561=!0x1;}else{if(_0x325150){if(_0x48f5b6[_0x146e83]===0x1)_0x5b90f7===-0x1&&(_0x5b90f7=_0x9f23bb);else{if(_0x146e83===0x22&&_0x5b90f7!==-0x1)_0x325150=!0x1,_0x43fd81=_0x9f23bb;else{if(_0x146e83===0x5c)_0x1a9561=!0x0;else throw new SyntaxError(_0x1219bb(0x25c)+_0x9f23bb);}}}else{if(_0x146e83===0x22&&_0x2639cf['charCodeAt'](_0x9f23bb-0x1)===0x3d)_0x325150=!0x0;else{if(_0x43fd81===-0x1&&_0x48f5b6[_0x146e83]===0x1)_0x5b90f7===-0x1&&(_0x5b90f7=_0x9f23bb);else{if(_0x5b90f7!==-0x1&&(_0x146e83===0x20||_0x146e83===0x9))_0x43fd81===-0x1&&(_0x43fd81=_0x9f23bb);else{if(_0x146e83===0x3b||_0x146e83===0x2c){if(_0x5b90f7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x9f23bb);_0x43fd81===-0x1&&(_0x43fd81=_0x9f23bb);let _0x19fb59=_0x2639cf[_0x1219bb(0x127)](_0x5b90f7,_0x43fd81);_0x1923df&&(_0x19fb59=_0x19fb59[_0x1219bb(0x1a1)](/\\/g,''),_0x1923df=!0x1),_0x390e90(_0x4a1f50,_0x2876a5,_0x19fb59),_0x146e83===0x2c&&(_0x390e90(_0x568463,_0x34b9f2,_0x4a1f50),_0x4a1f50=Object[_0x1219bb(0x174)](null),_0x34b9f2=void 0x0),_0x2876a5=void 0x0,_0x5b90f7=_0x43fd81=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x9f23bb);}}}}}}}if(_0x5b90f7===-0x1||_0x325150||_0x146e83===0x20||_0x146e83===0x9)throw new SyntaxError(_0x1219bb(0x1cf));_0x43fd81===-0x1&&(_0x43fd81=_0x9f23bb);const _0x3ee2ea=_0x2639cf[_0x1219bb(0x127)](_0x5b90f7,_0x43fd81);return _0x34b9f2===void 0x0?_0x390e90(_0x568463,_0x3ee2ea,_0x4a1f50):(_0x2876a5===void 0x0?_0x390e90(_0x4a1f50,_0x3ee2ea,!0x0):_0x1923df?_0x390e90(_0x4a1f50,_0x2876a5,_0x3ee2ea[_0x1219bb(0x1a1)](/\\/g,'')):_0x390e90(_0x4a1f50,_0x2876a5,_0x3ee2ea),_0x390e90(_0x568463,_0x34b9f2,_0x4a1f50)),_0x568463;}function _0x2ca14d(_0x14f484){const _0x4faabd=_0x505a;return Object[_0x4faabd(0x1d1)](_0x14f484)[_0x4faabd(0x25e)](_0x8541de=>{const _0x541ef6=_0x4faabd;let _0x252fd8=_0x14f484[_0x8541de];return Array[_0x541ef6(0x1e6)](_0x252fd8)||(_0x252fd8=[_0x252fd8]),_0x252fd8['map'](_0x50e636=>[_0x8541de]['concat'](Object[_0x541ef6(0x1d1)](_0x50e636)[_0x541ef6(0x25e)](_0x403756=>{let _0x345515=_0x50e636[_0x403756];return Array['isArray'](_0x345515)||(_0x345515=[_0x345515]),_0x345515['map'](_0x4e7583=>_0x4e7583===!0x0?_0x403756:_0x403756+'='+_0x4e7583)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x4faabd(0x238)](',\x20');}return be={'format':_0x2ca14d,'parse':_0x517cf4},be;}var we,st;function Ie(){const _0x1ee7fc=_0x195511;if(st)return we;st=0x1;const _0x52875c=_0x4c7a29,_0x469777=_0x26a24d,_0x1c458e=_0x34f1df,_0x2ac7b8=_0x33b3b4,_0x9e3698=_0x9d0476,{randomBytes:_0x40d379,createHash:_0x49a563}=_0x11db56,{Duplex:_0x42d7c9,Readable:_0x172111}=_0x4c9b34,{URL:_0x3da8cf}=_0x3c195a,_0x3f8234=he(),_0x22afd9=dt(),_0x2a2d0b=_t(),{isBlob:_0x191ece}=ne(),{BINARY_TYPES:_0x510a34,EMPTY_BUFFER:_0x5ac258,GUID:_0x7e08ba,kForOnEventAttribute:_0x373123,kListener:_0x1246c1,kStatusCode:_0x41de5a,kWebSocket:_0x45e539,NOOP:_0x543ac0}=V(),{EventTarget:{addEventListener:_0x1899e3,removeEventListener:_0x1e8405}}=Kt(),{format:_0x26b582,parse:_0x2317ef}=pt(),{toBuffer:_0x3fc83f}=ce(),_0x304565=0x1e*0x3e8,_0x5be620=Symbol(_0x1ee7fc(0x187)),_0x282542=[0x8,0xd],_0x53f31c=[_0x1ee7fc(0x17c),_0x1ee7fc(0x12b),_0x1ee7fc(0x19d),'CLOSED'],_0x50498a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x89ab8b extends _0x52875c{constructor(_0x56b73c,_0xfad34d,_0x2e0bb9){const _0x435551=_0x1ee7fc;super(),this['_binaryType']=_0x510a34[0x0],this['_closeCode']=0x3ee,this[_0x435551(0x202)]=!0x1,this[_0x435551(0x208)]=!0x1,this[_0x435551(0xe0)]=_0x5ac258,this[_0x435551(0x1a2)]=null,this[_0x435551(0xd3)]=!0x1,this[_0x435551(0x237)]={},this[_0x435551(0x263)]=!0x1,this[_0x435551(0x246)]='',this[_0x435551(0x1cc)]=_0x89ab8b[_0x435551(0x17c)],this[_0x435551(0x121)]=null,this['_sender']=null,this[_0x435551(0x159)]=null,_0x56b73c!==null?(this[_0x435551(0x258)]=0x0,this[_0x435551(0xd7)]=!0x1,this['_redirects']=0x0,_0xfad34d===void 0x0?_0xfad34d=[]:Array[_0x435551(0x1e6)](_0xfad34d)||(typeof _0xfad34d==_0x435551(0x115)&&_0xfad34d!==null?(_0x2e0bb9=_0xfad34d,_0xfad34d=[]):_0xfad34d=[_0xfad34d]),_0x3e04fb(this,_0x56b73c,_0xfad34d,_0x2e0bb9)):(this[_0x435551(0x160)]=_0x2e0bb9['autoPong'],this[_0x435551(0xd7)]=!0x0);}get['binaryType'](){const _0x40ceae=_0x1ee7fc;return this[_0x40ceae(0x164)];}set[_0x1ee7fc(0xd5)](_0x3ce027){const _0x4fbe73=_0x1ee7fc;_0x510a34['includes'](_0x3ce027)&&(this[_0x4fbe73(0x164)]=_0x3ce027,this[_0x4fbe73(0x121)]&&(this['_receiver'][_0x4fbe73(0x164)]=_0x3ce027));}get[_0x1ee7fc(0x1c7)](){const _0x5021d7=_0x1ee7fc;return this['_socket']?this[_0x5021d7(0x159)]['_writableState'][_0x5021d7(0x112)]+this[_0x5021d7(0x19f)][_0x5021d7(0xd9)]:this[_0x5021d7(0x258)];}get[_0x1ee7fc(0x233)](){const _0x5aa1f9=_0x1ee7fc;return Object['keys'](this[_0x5aa1f9(0x237)])[_0x5aa1f9(0x238)]();}get[_0x1ee7fc(0x1d3)](){const _0x353142=_0x1ee7fc;return this[_0x353142(0x263)];}get[_0x1ee7fc(0x1ff)](){return null;}get[_0x1ee7fc(0x23e)](){return null;}get['onopen'](){return null;}get[_0x1ee7fc(0x240)](){return null;}get[_0x1ee7fc(0xd4)](){const _0x487b99=_0x1ee7fc;return this[_0x487b99(0x246)];}get[_0x1ee7fc(0x1e1)](){const _0xbad0e1=_0x1ee7fc;return this[_0xbad0e1(0x1cc)];}get[_0x1ee7fc(0x15d)](){const _0x6c5945=_0x1ee7fc;return this[_0x6c5945(0x1e0)];}[_0x1ee7fc(0x223)](_0x35e3d5,_0xc2c810,_0x14bfd7){const _0x5a4b2e=_0x1ee7fc,_0x5a6119=new _0x22afd9({'allowSynchronousEvents':_0x14bfd7['allowSynchronousEvents'],'binaryType':this[_0x5a4b2e(0xd5)],'extensions':this[_0x5a4b2e(0x237)],'isServer':this[_0x5a4b2e(0xd7)],'maxPayload':_0x14bfd7[_0x5a4b2e(0x169)],'skipUTF8Validation':_0x14bfd7[_0x5a4b2e(0xcb)]}),_0x474dd7=new _0x2a2d0b(_0x35e3d5,this[_0x5a4b2e(0x237)],_0x14bfd7['generateMask']);this[_0x5a4b2e(0x121)]=_0x5a6119,this[_0x5a4b2e(0x19f)]=_0x474dd7,this[_0x5a4b2e(0x159)]=_0x35e3d5,_0x5a6119[_0x45e539]=this,_0x474dd7[_0x45e539]=this,_0x35e3d5[_0x45e539]=this,_0x5a6119['on'](_0x5a4b2e(0x11b),_0x16b311),_0x5a6119['on'](_0x5a4b2e(0xd2),_0x359dd2),_0x5a6119['on'](_0x5a4b2e(0x221),_0x3fb582),_0x5a6119['on'](_0x5a4b2e(0x150),_0x48070f),_0x5a6119['on']('ping',_0x479c75),_0x5a6119['on'](_0x5a4b2e(0x23a),_0x5535eb),_0x474dd7[_0x5a4b2e(0x23e)]=_0x133a16,_0x35e3d5['setTimeout']&&_0x35e3d5[_0x5a4b2e(0x16f)](0x0),_0x35e3d5[_0x5a4b2e(0x1f1)]&&_0x35e3d5[_0x5a4b2e(0x1f1)](),_0xc2c810[_0x5a4b2e(0x112)]>0x0&&_0x35e3d5['unshift'](_0xc2c810),_0x35e3d5['on']('close',_0x434f5e),_0x35e3d5['on'](_0x5a4b2e(0x22d),_0x446294),_0x35e3d5['on']('end',_0x1d3e3a),_0x35e3d5['on'](_0x5a4b2e(0x221),_0x4f86de),this['_readyState']=_0x89ab8b[_0x5a4b2e(0x12b)],this['emit'](_0x5a4b2e(0x1a6));}[_0x1ee7fc(0x1b1)](){const _0x3a28d4=_0x1ee7fc;if(!this['_socket']){this['_readyState']=_0x89ab8b[_0x3a28d4(0xcf)],this[_0x3a28d4(0x1e2)](_0x3a28d4(0x18a),this['_closeCode'],this[_0x3a28d4(0xe0)]);return;}this['_extensions'][_0x3f8234[_0x3a28d4(0xb6)]]&&this[_0x3a28d4(0x237)][_0x3f8234[_0x3a28d4(0xb6)]]['cleanup'](),this[_0x3a28d4(0x121)][_0x3a28d4(0x179)](),this[_0x3a28d4(0x1cc)]=_0x89ab8b[_0x3a28d4(0xcf)],this[_0x3a28d4(0x1e2)](_0x3a28d4(0x18a),this[_0x3a28d4(0x1ed)],this['_closeMessage']);}[_0x1ee7fc(0x18a)](_0xc188fc,_0xecfef0){const _0xefb5d4=_0x1ee7fc;if(this[_0xefb5d4(0x1e1)]!==_0x89ab8b['CLOSED']){if(this['readyState']===_0x89ab8b['CONNECTING']){_0x38b8ea(this,this[_0xefb5d4(0x151)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xefb5d4(0x1e1)]===_0x89ab8b[_0xefb5d4(0x19d)]){this['_closeFrameSent']&&(this[_0xefb5d4(0x202)]||this[_0xefb5d4(0x121)][_0xefb5d4(0x11a)][_0xefb5d4(0x1c5)])&&this['_socket'][_0xefb5d4(0x188)]();return;}this['_readyState']=_0x89ab8b[_0xefb5d4(0x19d)],this[_0xefb5d4(0x19f)][_0xefb5d4(0x18a)](_0xc188fc,_0xecfef0,!this[_0xefb5d4(0xd7)],_0x1bd255=>{const _0x34b42f=_0xefb5d4;_0x1bd255||(this[_0x34b42f(0x208)]=!0x0,(this[_0x34b42f(0x202)]||this[_0x34b42f(0x121)][_0x34b42f(0x11a)][_0x34b42f(0x1c5)])&&this['_socket'][_0x34b42f(0x188)]());}),_0x4c0d9e(this);}}[_0x1ee7fc(0xdb)](){const _0x5341ff=_0x1ee7fc;this[_0x5341ff(0x1e1)]===_0x89ab8b[_0x5341ff(0x17c)]||this[_0x5341ff(0x1e1)]===_0x89ab8b[_0x5341ff(0xcf)]||(this[_0x5341ff(0x263)]=!0x0,this['_socket']['pause']());}[_0x1ee7fc(0x1ba)](_0x1383b1,_0x1efff3,_0x257513){const _0x59d9c3=_0x1ee7fc;if(this[_0x59d9c3(0x1e1)]===_0x89ab8b['CONNECTING'])throw new Error(_0x59d9c3(0x23d));if(typeof _0x1383b1=='function'?(_0x257513=_0x1383b1,_0x1383b1=_0x1efff3=void 0x0):typeof _0x1efff3==_0x59d9c3(0x170)&&(_0x257513=_0x1efff3,_0x1efff3=void 0x0),typeof _0x1383b1==_0x59d9c3(0x20a)&&(_0x1383b1=_0x1383b1[_0x59d9c3(0x22f)]()),this[_0x59d9c3(0x1e1)]!==_0x89ab8b[_0x59d9c3(0x12b)]){_0x3f7688(this,_0x1383b1,_0x257513);return;}_0x1efff3===void 0x0&&(_0x1efff3=!this[_0x59d9c3(0xd7)]),this[_0x59d9c3(0x19f)]['ping'](_0x1383b1||_0x5ac258,_0x1efff3,_0x257513);}[_0x1ee7fc(0x23a)](_0x3bb091,_0xe49dca,_0x39266c){const _0x51dcd8=_0x1ee7fc;if(this[_0x51dcd8(0x1e1)]===_0x89ab8b[_0x51dcd8(0x17c)])throw new Error(_0x51dcd8(0x23d));if(typeof _0x3bb091==_0x51dcd8(0x170)?(_0x39266c=_0x3bb091,_0x3bb091=_0xe49dca=void 0x0):typeof _0xe49dca==_0x51dcd8(0x170)&&(_0x39266c=_0xe49dca,_0xe49dca=void 0x0),typeof _0x3bb091==_0x51dcd8(0x20a)&&(_0x3bb091=_0x3bb091['toString']()),this[_0x51dcd8(0x1e1)]!==_0x89ab8b[_0x51dcd8(0x12b)]){_0x3f7688(this,_0x3bb091,_0x39266c);return;}_0xe49dca===void 0x0&&(_0xe49dca=!this['_isServer']),this[_0x51dcd8(0x19f)]['pong'](_0x3bb091||_0x5ac258,_0xe49dca,_0x39266c);}['resume'](){const _0x527f21=_0x1ee7fc;this['readyState']===_0x89ab8b['CONNECTING']||this['readyState']===_0x89ab8b[_0x527f21(0xcf)]||(this['_paused']=!0x1,this['_receiver'][_0x527f21(0x11a)]['needDrain']||this[_0x527f21(0x159)][_0x527f21(0x1cd)]());}[_0x1ee7fc(0x165)](_0x22aae6,_0x4a56d6,_0x1c5736){const _0x255cc9=_0x1ee7fc;if(this[_0x255cc9(0x1e1)]===_0x89ab8b[_0x255cc9(0x17c)])throw new Error(_0x255cc9(0x23d));if(typeof _0x4a56d6=='function'&&(_0x1c5736=_0x4a56d6,_0x4a56d6={}),typeof _0x22aae6=='number'&&(_0x22aae6=_0x22aae6[_0x255cc9(0x22f)]()),this[_0x255cc9(0x1e1)]!==_0x89ab8b[_0x255cc9(0x12b)]){_0x3f7688(this,_0x22aae6,_0x1c5736);return;}const _0x1e6f90={'binary':typeof _0x22aae6!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4a56d6};this[_0x255cc9(0x237)][_0x3f8234['extensionName']]||(_0x1e6f90[_0x255cc9(0x267)]=!0x1),this[_0x255cc9(0x19f)][_0x255cc9(0x165)](_0x22aae6||_0x5ac258,_0x1e6f90,_0x1c5736);}[_0x1ee7fc(0x1b5)](){const _0x1d01e9=_0x1ee7fc;if(this[_0x1d01e9(0x1e1)]!==_0x89ab8b[_0x1d01e9(0xcf)]){if(this['readyState']===_0x89ab8b['CONNECTING']){_0x38b8ea(this,this[_0x1d01e9(0x151)],_0x1d01e9(0x17b));return;}this['_socket']&&(this[_0x1d01e9(0x1cc)]=_0x89ab8b['CLOSING'],this[_0x1d01e9(0x159)][_0x1d01e9(0x110)]());}}}Object[_0x1ee7fc(0x16e)](_0x89ab8b,_0x1ee7fc(0x17c),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)]('CONNECTING')}),Object[_0x1ee7fc(0x16e)](_0x89ab8b[_0x1ee7fc(0x15a)],_0x1ee7fc(0x17c),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)](_0x1ee7fc(0x17c))}),Object[_0x1ee7fc(0x16e)](_0x89ab8b,_0x1ee7fc(0x12b),{'enumerable':!0x0,'value':_0x53f31c['indexOf'](_0x1ee7fc(0x12b))}),Object[_0x1ee7fc(0x16e)](_0x89ab8b[_0x1ee7fc(0x15a)],'OPEN',{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)](_0x1ee7fc(0x12b))}),Object[_0x1ee7fc(0x16e)](_0x89ab8b,_0x1ee7fc(0x19d),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)]('CLOSING')}),Object['defineProperty'](_0x89ab8b[_0x1ee7fc(0x15a)],_0x1ee7fc(0x19d),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)](_0x1ee7fc(0x19d))}),Object['defineProperty'](_0x89ab8b,_0x1ee7fc(0xcf),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)](_0x1ee7fc(0xcf))}),Object['defineProperty'](_0x89ab8b[_0x1ee7fc(0x15a)],_0x1ee7fc(0xcf),{'enumerable':!0x0,'value':_0x53f31c[_0x1ee7fc(0x125)]('CLOSED')}),[_0x1ee7fc(0xd5),_0x1ee7fc(0x1c7),_0x1ee7fc(0x233),'isPaused','protocol',_0x1ee7fc(0x1e1),'url'][_0x1ee7fc(0x10e)](_0x1feab0=>{const _0x4ea900=_0x1ee7fc;Object[_0x4ea900(0x16e)](_0x89ab8b[_0x4ea900(0x15a)],_0x1feab0,{'enumerable':!0x0});}),[_0x1ee7fc(0x1a6),_0x1ee7fc(0x221),_0x1ee7fc(0x18a),_0x1ee7fc(0x150)][_0x1ee7fc(0x10e)](_0x31bbd5=>{const _0x4f4f15=_0x1ee7fc;Object[_0x4f4f15(0x16e)](_0x89ab8b['prototype'],'on'+_0x31bbd5,{'enumerable':!0x0,'get'(){for(const _0x141f65 of this['listeners'](_0x31bbd5))if(_0x141f65[_0x373123])return _0x141f65[_0x1246c1];return null;},'set'(_0x3fdfe8){const _0x1f1495=_0x4f4f15;for(const _0x128f08 of this['listeners'](_0x31bbd5))if(_0x128f08[_0x373123]){this[_0x1f1495(0x1bb)](_0x31bbd5,_0x128f08);break;}typeof _0x3fdfe8==_0x1f1495(0x170)&&this[_0x1f1495(0x24d)](_0x31bbd5,_0x3fdfe8,{[_0x373123]:!0x0});}});}),_0x89ab8b[_0x1ee7fc(0x15a)]['addEventListener']=_0x1899e3,_0x89ab8b[_0x1ee7fc(0x15a)]['removeEventListener']=_0x1e8405,we=_0x89ab8b;function _0x3e04fb(_0x59eff9,_0x112f36,_0x8e01b,_0x36ef7d){const _0x5e5ce6=_0x1ee7fc,_0x45c482={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x282542[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x36ef7d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5e5ce6(0x1a7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x59eff9[_0x5e5ce6(0x160)]=_0x45c482[_0x5e5ce6(0x268)],!_0x282542['includes'](_0x45c482[_0x5e5ce6(0x215)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x45c482['protocolVersion']+_0x5e5ce6(0xc5)+_0x282542[_0x5e5ce6(0x238)](',\x20')+')');let _0x58b579;if(_0x112f36 instanceof _0x3da8cf)_0x58b579=_0x112f36;else try{_0x58b579=new _0x3da8cf(_0x112f36);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x112f36);}_0x58b579[_0x5e5ce6(0xd4)]===_0x5e5ce6(0x196)?_0x58b579[_0x5e5ce6(0xd4)]=_0x5e5ce6(0x173):_0x58b579[_0x5e5ce6(0xd4)]==='https:'&&(_0x58b579[_0x5e5ce6(0xd4)]=_0x5e5ce6(0x243)),_0x59eff9['_url']=_0x58b579[_0x5e5ce6(0x11f)];const _0x2e2ce8=_0x58b579[_0x5e5ce6(0xd4)]==='wss:',_0x4ed4d1=_0x58b579[_0x5e5ce6(0xd4)]==='ws+unix:';let _0x29fee6;if(_0x58b579[_0x5e5ce6(0xd4)]!==_0x5e5ce6(0x173)&&!_0x2e2ce8&&!_0x4ed4d1?_0x29fee6='The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22':_0x4ed4d1&&!_0x58b579['pathname']?_0x29fee6='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x58b579[_0x5e5ce6(0x25b)]&&(_0x29fee6=_0x5e5ce6(0x161)),_0x29fee6){const _0x4ebeb3=new SyntaxError(_0x29fee6);if(_0x59eff9['_redirects']===0x0)throw _0x4ebeb3;_0x1ebf8b(_0x59eff9,_0x4ebeb3);return;}const _0x296276=_0x2e2ce8?0x1bb:0x50,_0x1613be=_0x40d379(0x10)['toString'](_0x5e5ce6(0x224)),_0x6b1a7d=_0x2e2ce8?_0x469777[_0x5e5ce6(0x24c)]:_0x1c458e['request'],_0xd3ff2b=new Set();let _0x3d8a68;if(_0x45c482['createConnection']=_0x45c482[_0x5e5ce6(0xcc)]||(_0x2e2ce8?_0x5061dc:_0x24f61a),_0x45c482[_0x5e5ce6(0x22b)]=_0x45c482[_0x5e5ce6(0x22b)]||_0x296276,_0x45c482[_0x5e5ce6(0x113)]=_0x58b579[_0x5e5ce6(0x113)]||_0x296276,_0x45c482[_0x5e5ce6(0x120)]=_0x58b579[_0x5e5ce6(0xff)][_0x5e5ce6(0x24f)]('[')?_0x58b579['hostname']['slice'](0x1,-0x1):_0x58b579['hostname'],_0x45c482[_0x5e5ce6(0x231)]={..._0x45c482[_0x5e5ce6(0x231)],'Sec-WebSocket-Version':_0x45c482[_0x5e5ce6(0x215)],'Sec-WebSocket-Key':_0x1613be,'Connection':_0x5e5ce6(0x171),'Upgrade':'websocket'},_0x45c482['path']=_0x58b579['pathname']+_0x58b579[_0x5e5ce6(0x1ef)],_0x45c482[_0x5e5ce6(0x114)]=_0x45c482[_0x5e5ce6(0x244)],_0x45c482[_0x5e5ce6(0xe1)]&&(_0x3d8a68=new _0x3f8234(_0x45c482[_0x5e5ce6(0xe1)]!==!0x0?_0x45c482['perMessageDeflate']:{},!0x1,_0x45c482['maxPayload']),_0x45c482[_0x5e5ce6(0x231)][_0x5e5ce6(0x1fd)]=_0x26b582({[_0x3f8234[_0x5e5ce6(0xb6)]]:_0x3d8a68[_0x5e5ce6(0xe9)]()})),_0x8e01b[_0x5e5ce6(0x112)]){for(const _0x4cee11 of _0x8e01b){if(typeof _0x4cee11!=_0x5e5ce6(0x137)||!_0x50498a[_0x5e5ce6(0xf8)](_0x4cee11)||_0xd3ff2b['has'](_0x4cee11))throw new SyntaxError(_0x5e5ce6(0x194));_0xd3ff2b[_0x5e5ce6(0xbc)](_0x4cee11);}_0x45c482[_0x5e5ce6(0x231)][_0x5e5ce6(0xe8)]=_0x8e01b[_0x5e5ce6(0x238)](',');}if(_0x45c482[_0x5e5ce6(0xf5)]&&(_0x45c482[_0x5e5ce6(0x215)]<0xd?_0x45c482[_0x5e5ce6(0x231)][_0x5e5ce6(0x1df)]=_0x45c482[_0x5e5ce6(0xf5)]:_0x45c482['headers'][_0x5e5ce6(0x1fc)]=_0x45c482[_0x5e5ce6(0xf5)]),(_0x58b579['username']||_0x58b579['password'])&&(_0x45c482[_0x5e5ce6(0x162)]=_0x58b579[_0x5e5ce6(0x172)]+':'+_0x58b579['password']),_0x4ed4d1){const _0x29b4ce=_0x45c482[_0x5e5ce6(0x225)][_0x5e5ce6(0x218)](':');_0x45c482[_0x5e5ce6(0xee)]=_0x29b4ce[0x0],_0x45c482[_0x5e5ce6(0x225)]=_0x29b4ce[0x1];}let _0x22da5b;if(_0x45c482[_0x5e5ce6(0x250)]){if(_0x59eff9[_0x5e5ce6(0xea)]===0x0){_0x59eff9['_originalIpc']=_0x4ed4d1,_0x59eff9[_0x5e5ce6(0x227)]=_0x2e2ce8,_0x59eff9['_originalHostOrSocketPath']=_0x4ed4d1?_0x45c482['socketPath']:_0x58b579['host'];const _0x338084=_0x36ef7d&&_0x36ef7d['headers'];if(_0x36ef7d={..._0x36ef7d,'headers':{}},_0x338084){for(const [_0x2d1b26,_0x24899f]of Object[_0x5e5ce6(0x1b2)](_0x338084))_0x36ef7d[_0x5e5ce6(0x231)][_0x2d1b26[_0x5e5ce6(0x21a)]()]=_0x24899f;}}else{if(_0x59eff9['listenerCount'](_0x5e5ce6(0x105))===0x0){const _0x118290=_0x4ed4d1?_0x59eff9['_originalIpc']?_0x45c482[_0x5e5ce6(0xee)]===_0x59eff9['_originalHostOrSocketPath']:!0x1:_0x59eff9[_0x5e5ce6(0x205)]?!0x1:_0x58b579[_0x5e5ce6(0x120)]===_0x59eff9['_originalHostOrSocketPath'];(!_0x118290||_0x59eff9[_0x5e5ce6(0x227)]&&!_0x2e2ce8)&&(delete _0x45c482['headers'][_0x5e5ce6(0xb9)],delete _0x45c482[_0x5e5ce6(0x231)][_0x5e5ce6(0x131)],_0x118290||delete _0x45c482[_0x5e5ce6(0x231)][_0x5e5ce6(0x120)],_0x45c482[_0x5e5ce6(0x162)]=void 0x0);}}_0x45c482['auth']&&!_0x36ef7d[_0x5e5ce6(0x231)][_0x5e5ce6(0xb9)]&&(_0x36ef7d[_0x5e5ce6(0x231)][_0x5e5ce6(0xb9)]=_0x5e5ce6(0x180)+Buffer['from'](_0x45c482['auth'])[_0x5e5ce6(0x22f)](_0x5e5ce6(0x224))),_0x22da5b=_0x59eff9['_req']=_0x6b1a7d(_0x45c482),_0x59eff9['_redirects']&&_0x59eff9[_0x5e5ce6(0x1e2)](_0x5e5ce6(0x105),_0x59eff9['url'],_0x22da5b);}else _0x22da5b=_0x59eff9[_0x5e5ce6(0x151)]=_0x6b1a7d(_0x45c482);_0x45c482['timeout']&&_0x22da5b['on'](_0x5e5ce6(0x114),()=>{const _0x165a53=_0x5e5ce6;_0x38b8ea(_0x59eff9,_0x22da5b,_0x165a53(0x146));}),_0x22da5b['on'](_0x5e5ce6(0x221),_0x1824b8=>{const _0x166be6=_0x5e5ce6;_0x22da5b===null||_0x22da5b[_0x5be620]||(_0x22da5b=_0x59eff9[_0x166be6(0x151)]=null,_0x1ebf8b(_0x59eff9,_0x1824b8));}),_0x22da5b['on'](_0x5e5ce6(0x1e7),_0x14a685=>{const _0x221ee6=_0x5e5ce6,_0x30617a=_0x14a685[_0x221ee6(0x231)][_0x221ee6(0x22a)],_0x482a1e=_0x14a685[_0x221ee6(0x12a)];if(_0x30617a&&_0x45c482[_0x221ee6(0x250)]&&_0x482a1e>=0x12c&&_0x482a1e<0x190){if(++_0x59eff9['_redirects']>_0x45c482[_0x221ee6(0x184)]){_0x38b8ea(_0x59eff9,_0x22da5b,'Maximum\x20redirects\x20exceeded');return;}_0x22da5b[_0x221ee6(0x1b9)]();let _0x275bf1;try{_0x275bf1=new _0x3da8cf(_0x30617a,_0x112f36);}catch{const _0x14ecd8=new SyntaxError(_0x221ee6(0xc1)+_0x30617a);_0x1ebf8b(_0x59eff9,_0x14ecd8);return;}_0x3e04fb(_0x59eff9,_0x275bf1,_0x8e01b,_0x36ef7d);}else _0x59eff9[_0x221ee6(0x1e2)]('unexpected-response',_0x22da5b,_0x14a685)||_0x38b8ea(_0x59eff9,_0x22da5b,_0x221ee6(0x236)+_0x14a685[_0x221ee6(0x12a)]);}),_0x22da5b['on']('upgrade',(_0xd4c8b9,_0x3854b2,_0x182bfa)=>{const _0x1f3437=_0x5e5ce6;if(_0x59eff9[_0x1f3437(0x1e2)](_0x1f3437(0xf4),_0xd4c8b9),_0x59eff9['readyState']!==_0x89ab8b['CONNECTING'])return;_0x22da5b=_0x59eff9[_0x1f3437(0x151)]=null;const _0x5612c6=_0xd4c8b9[_0x1f3437(0x231)][_0x1f3437(0xf4)];if(_0x5612c6===void 0x0||_0x5612c6[_0x1f3437(0x21a)]()!==_0x1f3437(0x203)){_0x38b8ea(_0x59eff9,_0x3854b2,_0x1f3437(0x156));return;}const _0x470378=_0x49a563(_0x1f3437(0xf1))[_0x1f3437(0x192)](_0x1613be+_0x7e08ba)[_0x1f3437(0x102)](_0x1f3437(0x224));if(_0xd4c8b9['headers'][_0x1f3437(0x1ec)]!==_0x470378){_0x38b8ea(_0x59eff9,_0x3854b2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x57dddd=_0xd4c8b9[_0x1f3437(0x231)][_0x1f3437(0x157)];let _0x40feb4;if(_0x57dddd!==void 0x0?_0xd3ff2b[_0x1f3437(0x147)]?_0xd3ff2b[_0x1f3437(0x1bf)](_0x57dddd)||(_0x40feb4=_0x1f3437(0xc6)):_0x40feb4=_0x1f3437(0x111):_0xd3ff2b['size']&&(_0x40feb4=_0x1f3437(0x210)),_0x40feb4){_0x38b8ea(_0x59eff9,_0x3854b2,_0x40feb4);return;}_0x57dddd&&(_0x59eff9[_0x1f3437(0x246)]=_0x57dddd);const _0x331079=_0xd4c8b9[_0x1f3437(0x231)][_0x1f3437(0x230)];if(_0x331079!==void 0x0){if(!_0x3d8a68){_0x38b8ea(_0x59eff9,_0x3854b2,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x159c31;try{_0x159c31=_0x2317ef(_0x331079);}catch{_0x38b8ea(_0x59eff9,_0x3854b2,_0x1f3437(0x212));return;}const _0x263a23=Object['keys'](_0x159c31);if(_0x263a23['length']!==0x1||_0x263a23[0x0]!==_0x3f8234[_0x1f3437(0xb6)]){_0x38b8ea(_0x59eff9,_0x3854b2,_0x1f3437(0x25a));return;}try{_0x3d8a68[_0x1f3437(0x104)](_0x159c31[_0x3f8234[_0x1f3437(0xb6)]]);}catch{_0x38b8ea(_0x59eff9,_0x3854b2,_0x1f3437(0x212));return;}_0x59eff9[_0x1f3437(0x237)][_0x3f8234[_0x1f3437(0xb6)]]=_0x3d8a68;}_0x59eff9[_0x1f3437(0x223)](_0x3854b2,_0x182bfa,{'allowSynchronousEvents':_0x45c482[_0x1f3437(0x226)],'generateMask':_0x45c482[_0x1f3437(0x1db)],'maxPayload':_0x45c482[_0x1f3437(0x169)],'skipUTF8Validation':_0x45c482[_0x1f3437(0xcb)]});}),_0x45c482['finishRequest']?_0x45c482[_0x5e5ce6(0x1a9)](_0x22da5b,_0x59eff9):_0x22da5b[_0x5e5ce6(0x188)]();}function _0x1ebf8b(_0x44c6b1,_0x91173){const _0x3929bd=_0x1ee7fc;_0x44c6b1[_0x3929bd(0x1cc)]=_0x89ab8b[_0x3929bd(0x19d)],_0x44c6b1['_errorEmitted']=!0x0,_0x44c6b1['emit'](_0x3929bd(0x221),_0x91173),_0x44c6b1[_0x3929bd(0x1b1)]();}function _0x24f61a(_0x271519){const _0x3d9143=_0x1ee7fc;return _0x271519[_0x3d9143(0x225)]=_0x271519[_0x3d9143(0xee)],_0x2ac7b8['connect'](_0x271519);}function _0x5061dc(_0x20d127){const _0x33a80d=_0x1ee7fc;return _0x20d127[_0x33a80d(0x225)]=void 0x0,!_0x20d127['servername']&&_0x20d127[_0x33a80d(0xb5)]!==''&&(_0x20d127[_0x33a80d(0xb5)]=_0x2ac7b8[_0x33a80d(0x19c)](_0x20d127['host'])?'':_0x20d127[_0x33a80d(0x120)]),_0x9e3698[_0x33a80d(0xc8)](_0x20d127);}function _0x38b8ea(_0x4fdb09,_0x2e55a0,_0x519838){const _0x38c186=_0x1ee7fc;_0x4fdb09[_0x38c186(0x1cc)]=_0x89ab8b['CLOSING'];const _0x39edad=new Error(_0x519838);Error[_0x38c186(0x1f4)](_0x39edad,_0x38b8ea),_0x2e55a0[_0x38c186(0x1bd)]?(_0x2e55a0[_0x5be620]=!0x0,_0x2e55a0[_0x38c186(0x1b9)](),_0x2e55a0['socket']&&!_0x2e55a0[_0x38c186(0xdf)][_0x38c186(0x148)]&&_0x2e55a0[_0x38c186(0xdf)][_0x38c186(0x110)](),process[_0x38c186(0x26a)](_0x1ebf8b,_0x4fdb09,_0x39edad)):(_0x2e55a0[_0x38c186(0x110)](_0x39edad),_0x2e55a0['once']('error',_0x4fdb09[_0x38c186(0x1e2)][_0x38c186(0xdc)](_0x4fdb09,_0x38c186(0x221))),_0x2e55a0[_0x38c186(0x26b)](_0x38c186(0x18a),_0x4fdb09['emitClose'][_0x38c186(0xdc)](_0x4fdb09)));}function _0x3f7688(_0x1c61d8,_0x3c6b0d,_0x932633){const _0x3eb613=_0x1ee7fc;if(_0x3c6b0d){const _0x54545d=_0x191ece(_0x3c6b0d)?_0x3c6b0d['size']:_0x3fc83f(_0x3c6b0d)[_0x3eb613(0x112)];_0x1c61d8['_socket']?_0x1c61d8[_0x3eb613(0x19f)][_0x3eb613(0xd9)]+=_0x54545d:_0x1c61d8[_0x3eb613(0x258)]+=_0x54545d;}if(_0x932633){const _0x186d4a=new Error(_0x3eb613(0x209)+_0x1c61d8[_0x3eb613(0x1e1)]+'\x20('+_0x53f31c[_0x1c61d8['readyState']]+')');process[_0x3eb613(0x26a)](_0x932633,_0x186d4a);}}function _0x16b311(_0xe4b7cd,_0xaa9d23){const _0xa29c40=_0x1ee7fc,_0x3eab1f=this[_0x45e539];_0x3eab1f[_0xa29c40(0x202)]=!0x0,_0x3eab1f[_0xa29c40(0xe0)]=_0xaa9d23,_0x3eab1f[_0xa29c40(0x1ed)]=_0xe4b7cd,_0x3eab1f['_socket'][_0x45e539]!==void 0x0&&(_0x3eab1f[_0xa29c40(0x159)][_0xa29c40(0x1bb)](_0xa29c40(0x22d),_0x446294),process[_0xa29c40(0x26a)](_0x10c850,_0x3eab1f[_0xa29c40(0x159)]),_0xe4b7cd===0x3ed?_0x3eab1f['close']():_0x3eab1f[_0xa29c40(0x18a)](_0xe4b7cd,_0xaa9d23));}function _0x359dd2(){const _0x1489f6=_0x1ee7fc,_0x1a648e=this[_0x45e539];_0x1a648e['isPaused']||_0x1a648e[_0x1489f6(0x159)]['resume']();}function _0x3fb582(_0x4510b8){const _0x3ad87d=_0x1ee7fc,_0x5e2026=this[_0x45e539];_0x5e2026[_0x3ad87d(0x159)][_0x45e539]!==void 0x0&&(_0x5e2026['_socket'][_0x3ad87d(0x1bb)](_0x3ad87d(0x22d),_0x446294),process[_0x3ad87d(0x26a)](_0x10c850,_0x5e2026[_0x3ad87d(0x159)]),_0x5e2026[_0x3ad87d(0x18a)](_0x4510b8[_0x41de5a])),_0x5e2026[_0x3ad87d(0xd3)]||(_0x5e2026[_0x3ad87d(0xd3)]=!0x0,_0x5e2026[_0x3ad87d(0x1e2)](_0x3ad87d(0x221),_0x4510b8));}function _0x36db09(){const _0x1246b5=_0x1ee7fc;this[_0x45e539][_0x1246b5(0x1b1)]();}function _0x48070f(_0x4717c8,_0x282fcb){const _0x545946=_0x1ee7fc;this[_0x45e539][_0x545946(0x1e2)](_0x545946(0x150),_0x4717c8,_0x282fcb);}function _0x479c75(_0x16e6cf){const _0x59b3bc=_0x1ee7fc,_0x4bf13f=this[_0x45e539];_0x4bf13f[_0x59b3bc(0x160)]&&_0x4bf13f['pong'](_0x16e6cf,!this[_0x59b3bc(0xd7)],_0x543ac0),_0x4bf13f[_0x59b3bc(0x1e2)]('ping',_0x16e6cf);}function _0x5535eb(_0x1ea2a3){const _0x1ce770=_0x1ee7fc;this[_0x45e539][_0x1ce770(0x1e2)](_0x1ce770(0x23a),_0x1ea2a3);}function _0x10c850(_0x57b0d6){_0x57b0d6['resume']();}function _0x133a16(_0x2f32ef){const _0x29fb7f=_0x1ee7fc,_0x583523=this[_0x45e539];_0x583523[_0x29fb7f(0x1e1)]!==_0x89ab8b['CLOSED']&&(_0x583523[_0x29fb7f(0x1e1)]===_0x89ab8b['OPEN']&&(_0x583523[_0x29fb7f(0x1cc)]=_0x89ab8b[_0x29fb7f(0x19d)],_0x4c0d9e(_0x583523)),this[_0x29fb7f(0x159)][_0x29fb7f(0x188)](),_0x583523[_0x29fb7f(0xd3)]||(_0x583523['_errorEmitted']=!0x0,_0x583523['emit'](_0x29fb7f(0x221),_0x2f32ef)));}function _0x4c0d9e(_0x56fe11){const _0x58c943=_0x1ee7fc;_0x56fe11['_closeTimer']=setTimeout(_0x56fe11['_socket'][_0x58c943(0x110)][_0x58c943(0xdc)](_0x56fe11['_socket']),_0x304565);}function _0x434f5e(){const _0x58184a=_0x1ee7fc,_0x56bcb4=this[_0x45e539];this[_0x58184a(0x1bb)](_0x58184a(0x18a),_0x434f5e),this[_0x58184a(0x1bb)](_0x58184a(0x22d),_0x446294),this[_0x58184a(0x1bb)](_0x58184a(0x188),_0x1d3e3a),_0x56bcb4[_0x58184a(0x1cc)]=_0x89ab8b[_0x58184a(0x19d)];let _0x538f5f;!this[_0x58184a(0x1c9)][_0x58184a(0x1c6)]&&!_0x56bcb4['_closeFrameReceived']&&!_0x56bcb4[_0x58184a(0x121)][_0x58184a(0x11a)][_0x58184a(0x1c5)]&&(_0x538f5f=_0x56bcb4[_0x58184a(0x159)][_0x58184a(0x1f3)]())!==null&&_0x56bcb4[_0x58184a(0x121)]['write'](_0x538f5f),_0x56bcb4[_0x58184a(0x121)][_0x58184a(0x188)](),this[_0x45e539]=void 0x0,clearTimeout(_0x56bcb4[_0x58184a(0x1a2)]),_0x56bcb4[_0x58184a(0x121)]['_writableState'][_0x58184a(0x13a)]||_0x56bcb4[_0x58184a(0x121)][_0x58184a(0x11a)]['errorEmitted']?_0x56bcb4[_0x58184a(0x1b1)]():(_0x56bcb4[_0x58184a(0x121)]['on'](_0x58184a(0x221),_0x36db09),_0x56bcb4['_receiver']['on'](_0x58184a(0xef),_0x36db09));}function _0x446294(_0x3211fb){const _0x471404=_0x1ee7fc;this[_0x45e539][_0x471404(0x121)]['write'](_0x3211fb)||this[_0x471404(0xdb)]();}function _0x1d3e3a(){const _0x36780c=_0x1ee7fc,_0x3f3349=this[_0x45e539];_0x3f3349[_0x36780c(0x1cc)]=_0x89ab8b['CLOSING'],_0x3f3349[_0x36780c(0x121)][_0x36780c(0x188)](),this['end']();}function _0x4f86de(){const _0x831ade=_0x1ee7fc,_0x35f2df=this[_0x45e539];this['removeListener'](_0x831ade(0x221),_0x4f86de),this['on']('error',_0x543ac0),_0x35f2df&&(_0x35f2df[_0x831ade(0x1cc)]=_0x89ab8b[_0x831ade(0x19d)],this[_0x831ade(0x110)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x17a37f}=_0x4c9b34;function _0x1e71ec(_0xfe4096){const _0x2a2000=_0x505a;_0xfe4096[_0x2a2000(0x1e2)]('close');}function _0x572c6b(){const _0x2b3d79=_0x505a;!this[_0x2b3d79(0x148)]&&this[_0x2b3d79(0x11a)]['finished']&&this[_0x2b3d79(0x110)]();}function _0x4d91ea(_0x4aed0e){const _0x564c6b=_0x505a;this[_0x564c6b(0x1bb)](_0x564c6b(0x221),_0x4d91ea),this[_0x564c6b(0x110)](),this[_0x564c6b(0x14d)]('error')===0x0&&this['emit'](_0x564c6b(0x221),_0x4aed0e);}function _0x16b3d1(_0x1f4f72,_0x26a02c){const _0x47f538=_0x505a;let _0x139866=!0x0;const _0x8fad32=new _0x17a37f({..._0x26a02c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f4f72['on'](_0x47f538(0x150),function(_0x540e03,_0x5f55fd){const _0x3d87a3=_0x47f538,_0x32a940=!_0x5f55fd&&_0x8fad32[_0x3d87a3(0x1c9)][_0x3d87a3(0xf0)]?_0x540e03['toString']():_0x540e03;_0x8fad32[_0x3d87a3(0x234)](_0x32a940)||_0x1f4f72[_0x3d87a3(0xdb)]();}),_0x1f4f72[_0x47f538(0x26b)](_0x47f538(0x221),function(_0x1987b0){const _0x3039b4=_0x47f538;_0x8fad32['destroyed']||(_0x139866=!0x1,_0x8fad32[_0x3039b4(0x110)](_0x1987b0));}),_0x1f4f72[_0x47f538(0x26b)](_0x47f538(0x18a),function(){const _0x270429=_0x47f538;_0x8fad32[_0x270429(0x148)]||_0x8fad32[_0x270429(0x234)](null);}),_0x8fad32[_0x47f538(0x145)]=function(_0x464eea,_0x5c4f8b){const _0x22c07d=_0x47f538;if(_0x1f4f72[_0x22c07d(0x1e1)]===_0x1f4f72[_0x22c07d(0xcf)]){_0x5c4f8b(_0x464eea),process[_0x22c07d(0x26a)](_0x1e71ec,_0x8fad32);return;}let _0x192bca=!0x1;_0x1f4f72[_0x22c07d(0x26b)](_0x22c07d(0x221),function(_0x1b28f6){_0x192bca=!0x0,_0x5c4f8b(_0x1b28f6);}),_0x1f4f72[_0x22c07d(0x26b)]('close',function(){const _0x477618=_0x22c07d;_0x192bca||_0x5c4f8b(_0x464eea),process[_0x477618(0x26a)](_0x1e71ec,_0x8fad32);}),_0x139866&&_0x1f4f72[_0x22c07d(0x1b5)]();},_0x8fad32[_0x47f538(0x1ce)]=function(_0x36609e){const _0x73d835=_0x47f538;if(_0x1f4f72[_0x73d835(0x1e1)]===_0x1f4f72[_0x73d835(0x17c)]){_0x1f4f72[_0x73d835(0x26b)](_0x73d835(0x1a6),function(){const _0x39dcd0=_0x73d835;_0x8fad32[_0x39dcd0(0x1ce)](_0x36609e);});return;}_0x1f4f72[_0x73d835(0x159)]!==null&&(_0x1f4f72[_0x73d835(0x159)]['_writableState']['finished']?(_0x36609e(),_0x8fad32[_0x73d835(0x1c9)][_0x73d835(0x1c6)]&&_0x8fad32[_0x73d835(0x110)]()):(_0x1f4f72[_0x73d835(0x159)][_0x73d835(0x26b)](_0x73d835(0xef),function(){_0x36609e();}),_0x1f4f72['close']()));},_0x8fad32['_read']=function(){const _0x515f10=_0x47f538;_0x1f4f72[_0x515f10(0x1d3)]&&_0x1f4f72[_0x515f10(0x1cd)]();},_0x8fad32['_write']=function(_0x1b98ce,_0x3ef619,_0x32b579){const _0x4d6b99=_0x47f538;if(_0x1f4f72[_0x4d6b99(0x1e1)]===_0x1f4f72[_0x4d6b99(0x17c)]){_0x1f4f72['once'](_0x4d6b99(0x1a6),function(){_0x8fad32['_write'](_0x1b98ce,_0x3ef619,_0x32b579);});return;}_0x1f4f72[_0x4d6b99(0x165)](_0x1b98ce,_0x32b579);},_0x8fad32['on'](_0x47f538(0x188),_0x572c6b),_0x8fad32['on']('error',_0x4d91ea),_0x8fad32;}return Oe=_0x16b3d1,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1bf94f}=ne();function _0x16a081(_0x13c518){const _0x5f21ed=_0x505a,_0x46dfcf=new Set();let _0x443932=-0x1,_0x372563=-0x1,_0x33dc22=0x0;for(_0x33dc22;_0x33dc22<_0x13c518[_0x5f21ed(0x112)];_0x33dc22++){const _0x344f08=_0x13c518[_0x5f21ed(0x235)](_0x33dc22);if(_0x372563===-0x1&&_0x1bf94f[_0x344f08]===0x1)_0x443932===-0x1&&(_0x443932=_0x33dc22);else{if(_0x33dc22!==0x0&&(_0x344f08===0x20||_0x344f08===0x9))_0x372563===-0x1&&_0x443932!==-0x1&&(_0x372563=_0x33dc22);else{if(_0x344f08===0x2c){if(_0x443932===-0x1)throw new SyntaxError(_0x5f21ed(0x25c)+_0x33dc22);_0x372563===-0x1&&(_0x372563=_0x33dc22);const _0x569c8d=_0x13c518[_0x5f21ed(0x127)](_0x443932,_0x372563);if(_0x46dfcf[_0x5f21ed(0x1bf)](_0x569c8d))throw new SyntaxError(_0x5f21ed(0x1d5)+_0x569c8d+_0x5f21ed(0x18e));_0x46dfcf['add'](_0x569c8d),_0x443932=_0x372563=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33dc22);}}}if(_0x443932===-0x1||_0x372563!==-0x1)throw new SyntaxError(_0x5f21ed(0x1cf));const _0x1430bf=_0x13c518[_0x5f21ed(0x127)](_0x443932,_0x33dc22);if(_0x46dfcf['has'](_0x1430bf))throw new SyntaxError(_0x5f21ed(0x1d5)+_0x1430bf+_0x5f21ed(0x18e));return _0x46dfcf[_0x5f21ed(0xbc)](_0x1430bf),_0x46dfcf;}return Ce={'parse':_0x16a081},Ce;}var Te,ot;function er(){const _0xbdee9e=_0x195511;if(ot)return Te;ot=0x1;const _0x476b75=_0x4c7a29,_0x5e98fd=_0x34f1df,{Duplex:_0x36c8c0}=_0x4c9b34,{createHash:_0x538db3}=_0x11db56,_0x24aadc=pt(),_0x1e466e=he(),_0x2a4659=Jt(),_0x30bdac=Ie(),{GUID:_0x1e981b,kWebSocket:_0x51d06a}=V(),_0x3ffff9=/^[+/0-9A-Za-z]{22}==$/,_0xe91fb9=0x0,_0xaf059e=0x1,_0x39c5da=0x2;class _0x428ebe extends _0x476b75{constructor(_0x27b109,_0x5ce387){const _0x33c409=_0x505a;if(super(),_0x27b109={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x30bdac,..._0x27b109},_0x27b109[_0x33c409(0x113)]==null&&!_0x27b109['server']&&!_0x27b109[_0x33c409(0xc3)]||_0x27b109[_0x33c409(0x113)]!=null&&(_0x27b109['server']||_0x27b109[_0x33c409(0xc3)])||_0x27b109[_0x33c409(0x26e)]&&_0x27b109[_0x33c409(0xc3)])throw new TypeError(_0x33c409(0x222));if(_0x27b109['port']!=null?(this['_server']=_0x5e98fd[_0x33c409(0x252)]((_0x381f63,_0x4e35fb)=>{const _0x266251=_0x33c409,_0x3e1bd6=_0x5e98fd[_0x266251(0x251)][0x1aa];_0x4e35fb[_0x266251(0x20f)](0x1aa,{'Content-Length':_0x3e1bd6[_0x266251(0x112)],'Content-Type':'text/plain'}),_0x4e35fb[_0x266251(0x188)](_0x3e1bd6);}),this[_0x33c409(0xb8)][_0x33c409(0x13f)](_0x27b109[_0x33c409(0x113)],_0x27b109[_0x33c409(0x120)],_0x27b109[_0x33c409(0xde)],_0x5ce387)):_0x27b109[_0x33c409(0x26e)]&&(this[_0x33c409(0xb8)]=_0x27b109[_0x33c409(0x26e)]),this[_0x33c409(0xb8)]){const _0x51a2a2=this[_0x33c409(0x1e2)]['bind'](this,'connection');this['_removeListeners']=_0xae4d95(this[_0x33c409(0xb8)],{'listening':this['emit'][_0x33c409(0xdc)](this,_0x33c409(0x21f)),'error':this[_0x33c409(0x1e2)][_0x33c409(0xdc)](this,_0x33c409(0x221)),'upgrade':(_0x202409,_0x1dc1d4,_0x567ad0)=>{const _0x124232=_0x33c409;this[_0x124232(0xbd)](_0x202409,_0x1dc1d4,_0x567ad0,_0x51a2a2);}});}_0x27b109[_0x33c409(0xe1)]===!0x0&&(_0x27b109['perMessageDeflate']={}),_0x27b109[_0x33c409(0x23f)]&&(this['clients']=new Set(),this[_0x33c409(0x255)]=!0x1),this[_0x33c409(0x1ea)]=_0x27b109,this[_0x33c409(0x11e)]=_0xe91fb9;}[_0xbdee9e(0x14e)](){const _0x387787=_0xbdee9e;if(this['options'][_0x387787(0xc3)])throw new Error(_0x387787(0x16c));return this[_0x387787(0xb8)]?this[_0x387787(0xb8)]['address']():null;}[_0xbdee9e(0x18a)](_0x24f1c9){const _0x5ac9a9=_0xbdee9e;if(this['_state']===_0x39c5da){_0x24f1c9&&this['once'](_0x5ac9a9(0x18a),()=>{const _0x52b1a7=_0x5ac9a9;_0x24f1c9(new Error(_0x52b1a7(0x155)));}),process[_0x5ac9a9(0x26a)](_0x3af091,this);return;}if(_0x24f1c9&&this['once'](_0x5ac9a9(0x18a),_0x24f1c9),this['_state']!==_0xaf059e){if(this[_0x5ac9a9(0x11e)]=_0xaf059e,this['options'][_0x5ac9a9(0xc3)]||this[_0x5ac9a9(0x1ea)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x5ac9a9(0xb3)]=this['_server']=null),this[_0x5ac9a9(0x264)]?this[_0x5ac9a9(0x264)]['size']?this[_0x5ac9a9(0x255)]=!0x0:process[_0x5ac9a9(0x26a)](_0x3af091,this):process[_0x5ac9a9(0x26a)](_0x3af091,this);else{const _0x49689e=this[_0x5ac9a9(0xb8)];this['_removeListeners'](),this[_0x5ac9a9(0xb3)]=this[_0x5ac9a9(0xb8)]=null,_0x49689e[_0x5ac9a9(0x18a)](()=>{_0x3af091(this);});}}}[_0xbdee9e(0xe2)](_0x3599f2){const _0xc4a101=_0xbdee9e;if(this[_0xc4a101(0x1ea)][_0xc4a101(0x225)]){const _0x2e9789=_0x3599f2[_0xc4a101(0x15d)]['indexOf']('?');if((_0x2e9789!==-0x1?_0x3599f2['url']['slice'](0x0,_0x2e9789):_0x3599f2[_0xc4a101(0x15d)])!==this[_0xc4a101(0x1ea)][_0xc4a101(0x225)])return!0x1;}return!0x0;}[_0xbdee9e(0xbd)](_0x14ff85,_0x99debf,_0x396dba,_0x46fecc){const _0x30286d=_0xbdee9e;_0x99debf['on'](_0x30286d(0x221),_0x497fe3);const _0x21e36b=_0x14ff85[_0x30286d(0x231)][_0x30286d(0x16b)],_0x4794c8=_0x14ff85[_0x30286d(0x231)][_0x30286d(0xf4)],_0x3a090c=+_0x14ff85[_0x30286d(0x231)][_0x30286d(0xf6)];if(_0x14ff85[_0x30286d(0xe7)]!==_0x30286d(0x1a7)){_0x43bcc3(this,_0x14ff85,_0x99debf,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4794c8===void 0x0||_0x4794c8['toLowerCase']()!==_0x30286d(0x203)){_0x43bcc3(this,_0x14ff85,_0x99debf,0x190,_0x30286d(0x156));return;}if(_0x21e36b===void 0x0||!_0x3ffff9[_0x30286d(0xf8)](_0x21e36b)){_0x43bcc3(this,_0x14ff85,_0x99debf,0x190,_0x30286d(0x248));return;}if(_0x3a090c!==0x8&&_0x3a090c!==0xd){_0x43bcc3(this,_0x14ff85,_0x99debf,0x190,_0x30286d(0x24b));return;}if(!this[_0x30286d(0xe2)](_0x14ff85)){_0x41eed6(_0x99debf,0x190);return;}const _0x58db9f=_0x14ff85[_0x30286d(0x231)][_0x30286d(0x157)];let _0xbc26cb=new Set();if(_0x58db9f!==void 0x0)try{_0xbc26cb=_0x2a4659[_0x30286d(0x1af)](_0x58db9f);}catch{_0x43bcc3(this,_0x14ff85,_0x99debf,0x190,_0x30286d(0x128));return;}const _0x33f4a9=_0x14ff85[_0x30286d(0x231)][_0x30286d(0x230)],_0x49f0ec={};if(this[_0x30286d(0x1ea)]['perMessageDeflate']&&_0x33f4a9!==void 0x0){const _0x1b4239=new _0x1e466e(this['options']['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x53d570=_0x24aadc[_0x30286d(0x1af)](_0x33f4a9);_0x53d570[_0x1e466e['extensionName']]&&(_0x1b4239[_0x30286d(0x104)](_0x53d570[_0x1e466e[_0x30286d(0xb6)]]),_0x49f0ec[_0x1e466e['extensionName']]=_0x1b4239);}catch{_0x43bcc3(this,_0x14ff85,_0x99debf,0x190,_0x30286d(0x1a3));return;}}if(this[_0x30286d(0x1ea)][_0x30286d(0x16d)]){const _0x23911e={'origin':_0x14ff85[_0x30286d(0x231)][''+(_0x3a090c===0x8?_0x30286d(0xe6):_0x30286d(0xf5))],'secure':!!(_0x14ff85[_0x30286d(0xdf)][_0x30286d(0x219)]||_0x14ff85[_0x30286d(0xdf)]['encrypted']),'req':_0x14ff85};if(this[_0x30286d(0x1ea)][_0x30286d(0x16d)][_0x30286d(0x112)]===0x2){this[_0x30286d(0x1ea)][_0x30286d(0x16d)](_0x23911e,(_0x34a9e0,_0x471918,_0x556c78,_0x30116c)=>{if(!_0x34a9e0)return _0x41eed6(_0x99debf,_0x471918||0x191,_0x556c78,_0x30116c);this['completeUpgrade'](_0x49f0ec,_0x21e36b,_0xbc26cb,_0x14ff85,_0x99debf,_0x396dba,_0x46fecc);});return;}if(!this[_0x30286d(0x1ea)]['verifyClient'](_0x23911e))return _0x41eed6(_0x99debf,0x191);}this[_0x30286d(0xd0)](_0x49f0ec,_0x21e36b,_0xbc26cb,_0x14ff85,_0x99debf,_0x396dba,_0x46fecc);}[_0xbdee9e(0xd0)](_0x3570a3,_0x510df5,_0x699166,_0x250ff9,_0x506fac,_0x10f1b0,_0x47c1aa){const _0xfaf5ae=_0xbdee9e;if(!_0x506fac[_0xfaf5ae(0x1e8)]||!_0x506fac[_0xfaf5ae(0x24a)])return _0x506fac[_0xfaf5ae(0x110)]();if(_0x506fac[_0x51d06a])throw new Error(_0xfaf5ae(0x17a));if(this[_0xfaf5ae(0x11e)]>_0xe91fb9)return _0x41eed6(_0x506fac,0x1f7);const _0x409829=[_0xfaf5ae(0xf2),_0xfaf5ae(0x140),_0xfaf5ae(0x14b),_0xfaf5ae(0x154)+_0x538db3(_0xfaf5ae(0xf1))[_0xfaf5ae(0x192)](_0x510df5+_0x1e981b)[_0xfaf5ae(0x102)](_0xfaf5ae(0x224))],_0x5de3fb=new this['options'][(_0xfaf5ae(0x1a5))](null,void 0x0,this[_0xfaf5ae(0x1ea)]);if(_0x699166['size']){const _0x40990c=this[_0xfaf5ae(0x1ea)]['handleProtocols']?this[_0xfaf5ae(0x1ea)]['handleProtocols'](_0x699166,_0x250ff9):_0x699166[_0xfaf5ae(0x143)]()[_0xfaf5ae(0x10f)]()[_0xfaf5ae(0xb7)];_0x40990c&&(_0x409829[_0xfaf5ae(0x234)](_0xfaf5ae(0x1cb)+_0x40990c),_0x5de3fb['_protocol']=_0x40990c);}if(_0x3570a3[_0x1e466e[_0xfaf5ae(0xb6)]]){const _0x3d9638=_0x3570a3[_0x1e466e[_0xfaf5ae(0xb6)]][_0xfaf5ae(0x12e)],_0x1527a4=_0x24aadc[_0xfaf5ae(0x1ac)]({[_0x1e466e[_0xfaf5ae(0xb6)]]:[_0x3d9638]});_0x409829['push'](_0xfaf5ae(0x163)+_0x1527a4),_0x5de3fb['_extensions']=_0x3570a3;}this['emit'](_0xfaf5ae(0x231),_0x409829,_0x250ff9),_0x506fac[_0xfaf5ae(0x13c)](_0x409829[_0xfaf5ae(0x1f6)]('\x0d\x0a')[_0xfaf5ae(0x238)]('\x0d\x0a')),_0x506fac[_0xfaf5ae(0x1bb)]('error',_0x497fe3),_0x5de3fb[_0xfaf5ae(0x223)](_0x506fac,_0x10f1b0,{'allowSynchronousEvents':this[_0xfaf5ae(0x1ea)][_0xfaf5ae(0x226)],'maxPayload':this['options'][_0xfaf5ae(0x169)],'skipUTF8Validation':this[_0xfaf5ae(0x1ea)][_0xfaf5ae(0xcb)]}),this['clients']&&(this[_0xfaf5ae(0x264)][_0xfaf5ae(0xbc)](_0x5de3fb),_0x5de3fb['on'](_0xfaf5ae(0x18a),()=>{const _0x3ec080=_0xfaf5ae;this['clients'][_0x3ec080(0x214)](_0x5de3fb),this[_0x3ec080(0x255)]&&!this['clients'][_0x3ec080(0x147)]&&process[_0x3ec080(0x26a)](_0x3af091,this);})),_0x47c1aa(_0x5de3fb,_0x250ff9);}}Te=_0x428ebe;function _0xae4d95(_0x1a0fd8,_0x2e40ae){const _0xec3548=_0xbdee9e;for(const _0x47cd90 of Object[_0xec3548(0x1d1)](_0x2e40ae))_0x1a0fd8['on'](_0x47cd90,_0x2e40ae[_0x47cd90]);return function(){const _0x587569=_0xec3548;for(const _0x516681 of Object['keys'](_0x2e40ae))_0x1a0fd8[_0x587569(0x1bb)](_0x516681,_0x2e40ae[_0x516681]);};}function _0x3af091(_0x599993){const _0xf07d6d=_0xbdee9e;_0x599993['_state']=_0x39c5da,_0x599993[_0xf07d6d(0x1e2)](_0xf07d6d(0x18a));}function _0x497fe3(){const _0x87a5e1=_0xbdee9e;this[_0x87a5e1(0x110)]();}function _0x41eed6(_0x1ab225,_0x37c69b,_0x34ae1b,_0x53768c){const _0x579dac=_0xbdee9e;_0x34ae1b=_0x34ae1b||_0x5e98fd['STATUS_CODES'][_0x37c69b],_0x53768c={'Connection':_0x579dac(0x18a),'Content-Type':_0x579dac(0x10b),'Content-Length':Buffer[_0x579dac(0x18d)](_0x34ae1b),..._0x53768c},_0x1ab225[_0x579dac(0x26b)]('finish',_0x1ab225[_0x579dac(0x110)]),_0x1ab225[_0x579dac(0x188)]('HTTP/1.1\x20'+_0x37c69b+'\x20'+_0x5e98fd[_0x579dac(0x251)][_0x37c69b]+'\x0d\x0a'+Object['keys'](_0x53768c)[_0x579dac(0x25e)](_0x5e8a2b=>_0x5e8a2b+':\x20'+_0x53768c[_0x5e8a2b])[_0x579dac(0x238)]('\x0d\x0a')+_0x579dac(0x185)+_0x34ae1b);}function _0x43bcc3(_0x1b7602,_0x5b736c,_0x158c9d,_0x36392f,_0x5689d3){const _0x5acfe8=_0xbdee9e;if(_0x1b7602[_0x5acfe8(0x14d)](_0x5acfe8(0x262))){const _0x56ff41=new Error(_0x5689d3);Error[_0x5acfe8(0x1f4)](_0x56ff41,_0x43bcc3),_0x1b7602['emit'](_0x5acfe8(0x262),_0x56ff41,_0x158c9d,_0x5b736c);}else _0x41eed6(_0x158c9d,_0x36392f,_0x5689d3);}return Te;}er();var tr=Object[_0x195511(0x241)],rr=(_0xc020ba,_0x7c0bd8,_0x11e6a6,_0x5d541d)=>{const _0x4a2a32=_0x195511;for(var _0x5e2926=_0x5d541d>0x1?void 0x0:_0x5d541d?tr(_0x7c0bd8,_0x11e6a6):_0x7c0bd8,_0x4b8453=_0xc020ba[_0x4a2a32(0x112)]-0x1,_0x40220c;_0x4b8453>=0x0;_0x4b8453--)(_0x40220c=_0xc020ba[_0x4b8453])&&(_0x5e2926=_0x40220c(_0x5e2926)||_0x5e2926);return _0x5e2926;},sr=(_0x436139,_0x28ac02)=>(_0x222b26,_0x2c0e62)=>_0x28ac02(_0x222b26,_0x2c0e62,_0x436139);let Ne=class extends _0x475bf6{constructor(_0xc8571a){const _0x38cfa0=_0x195511;super(),this[_0x38cfa0(0x1bc)]=_0xc8571a;}[_0x195511(0x245)](_0x412461){const _0x89ff2f=_0x195511;var _0x5eb7f5;const _0x186ace=(_0x5eb7f5=this[_0x89ff2f(0x1bc)][_0x89ff2f(0x265)](Be))==null?void 0x0:_0x5eb7f5['customHeaders'];try{const _0x465b5c=new Qt(_0x412461,{'headers':{..._0x186ace}}),_0x4a3671=new _0x4d361b();return{'URL':_0x412461,'close':(_0x3bf4ed,_0x1ec6f5)=>{const _0x5183a6=_0x89ff2f;_0x465b5c['close'](_0x3bf4ed,_0x1ec6f5),_0x4a3671[_0x5183a6(0x1eb)]();},'send':_0x1bf420=>{_0x465b5c['send'](_0x1bf420);},'open$':new _0x5908b2(_0x3599e5=>{const _0x3f64ef=_0x89ff2f,_0x55428d=_0x307710=>_0x3599e5['next'](_0x307710);_0x465b5c[_0x3f64ef(0x24d)](_0x3f64ef(0x1a6),_0x55428d),_0x4a3671[_0x3f64ef(0xbc)](_0x3a6941(()=>_0x465b5c[_0x3f64ef(0x1d6)](_0x3f64ef(0x1a6),_0x55428d)));})[_0x89ff2f(0xfa)](_0x375b76()),'close$':new _0x5908b2(_0x5d228d=>{const _0x4d1a46=_0x89ff2f,_0x517859=_0x3f041e=>_0x5d228d[_0x4d1a46(0x10f)](_0x3f041e);_0x465b5c[_0x4d1a46(0x24d)](_0x4d1a46(0x18a),_0x517859),_0x4a3671['add'](_0x3a6941(()=>_0x465b5c[_0x4d1a46(0x1d6)]('close',_0x517859)));})[_0x89ff2f(0xfa)](_0x375b76()),'error$':new _0x5908b2(_0x211711=>{const _0x328401=_0x89ff2f,_0x4fcc52=_0x3426dd=>_0x211711[_0x328401(0x10f)](_0x3426dd);_0x465b5c[_0x328401(0x24d)](_0x328401(0x221),_0x4fcc52),_0x4a3671['add'](_0x3a6941(()=>_0x465b5c[_0x328401(0x1d6)](_0x328401(0x221),_0x4fcc52)));})[_0x89ff2f(0xfa)](_0x375b76()),'message$':new _0x5908b2(_0x35a51f=>{const _0x628092=_0x89ff2f,_0x284c2a=_0x21076f=>_0x35a51f[_0x628092(0x10f)](_0x21076f);_0x465b5c[_0x628092(0x24d)]('message',_0x284c2a),_0x4a3671[_0x628092(0xbc)](_0x3a6941(()=>_0x465b5c[_0x628092(0x1d6)](_0x628092(0x150),_0x284c2a)));})['pipe'](_0x375b76())};}catch(_0x4a171c){return console['error'](_0x4a171c),null;}}};Ne=rr([sr(0x0,_0x5972e5)],Ne);var ir=Object[_0x195511(0x16e)],nr=Object[_0x195511(0x241)],or=(_0x18dd2a,_0x1b234d,_0x4132d1)=>_0x1b234d in _0x18dd2a?ir(_0x18dd2a,_0x1b234d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4132d1}):_0x18dd2a[_0x1b234d]=_0x4132d1,ar=(_0x557e6b,_0x48bccc,_0x5b779b,_0x5bf4ab)=>{const _0x3c70aa=_0x195511;for(var _0x1cb150=_0x5bf4ab>0x1?void 0x0:_0x5bf4ab?nr(_0x48bccc,_0x5b779b):_0x48bccc,_0x2a2823=_0x557e6b[_0x3c70aa(0x112)]-0x1,_0x111b0a;_0x2a2823>=0x0;_0x2a2823--)(_0x111b0a=_0x557e6b[_0x2a2823])&&(_0x1cb150=_0x111b0a(_0x1cb150)||_0x1cb150);return _0x1cb150;},ke=(_0xe96fa3,_0x24b640)=>(_0x18cdda,_0x1af7e7)=>_0x24b640(_0x18cdda,_0x1af7e7,_0xe96fa3),lr=(_0x29eeb0,_0x82be41,_0x475ad2)=>or(_0x29eeb0,_0x82be41+'',_0x475ad2);let Pe=class extends _0x54b15a{constructor(_0x54e819=Ft,_0x5b36b9,_0xa455d,_0x1c73c1){const _0x3dc8ab=_0x195511;_0x54e819[_0x3dc8ab(0x249)]||_0x5b36b9[_0x3dc8ab(0x1ad)](_0x3dc8ab(0x1e9)),super(),this[_0x3dc8ab(0x1bc)]=_0xa455d,this[_0x3dc8ab(0x195)]=_0x1c73c1,this[_0x3dc8ab(0x1bc)][_0x3dc8ab(0x22c)](Be,_0x54e819);}[_0x195511(0x1dd)](){const _0xc3414b=_0x195511;this[_0xc3414b(0xc9)]();}['_registerDependencies'](){const _0x4aa89a=_0x195511;_0x374283(this[_0x4aa89a(0x195)],[[_0x1cb239,{'useClass':Ne}]]);}};lr(Pe,_0x195511(0x13e),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x5deaf8(_0x589fe1),ke(0x1,_0x56ab78),ke(0x2,_0x5972e5),ke(0x3,_0x59a817(_0x5780f6))],Pe);var fr=Object[_0x195511(0x241)],cr=(_0x5bad3b,_0x44f1b8,_0x467e61,_0x142642)=>{const _0x2c40f1=_0x195511;for(var _0x1d9d3b=_0x142642>0x1?void 0x0:_0x142642?fr(_0x44f1b8,_0x467e61):_0x44f1b8,_0x3c7a6a=_0x5bad3b[_0x2c40f1(0x112)]-0x1,_0x46d00d;_0x3c7a6a>=0x0;_0x3c7a6a--)(_0x46d00d=_0x5bad3b[_0x3c7a6a])&&(_0x1d9d3b=_0x46d00d(_0x1d9d3b)||_0x1d9d3b);return _0x1d9d3b;},se=(_0x2ff233,_0x57dc1f)=>(_0x25bdee,_0x21d41b)=>_0x57dc1f(_0x25bdee,_0x21d41b,_0x2ff233);let at=class extends _0x412068{constructor(_0x5ba09d,_0x249617,_0x5ef794,_0x415e87,_0x5c159b){const _0x29ea0d=_0x195511;super(_0x5ba09d,_0x249617,_0x5ef794,_0x415e87,_0x5c159b);const _0x373e15=this[_0x29ea0d(0x1bc)][_0x29ea0d(0x265)](Be);this[_0x29ea0d(0x1a4)][_0x29ea0d(0x1b6)]({'interceptor':(_0x12377e,_0x13191b)=>{const _0x197d63=_0x29ea0d;var _0x324151;const _0x229690=_0x12377e['headers'];return(_0x324151=_0x373e15==null?void 0x0:_0x373e15[_0x197d63(0x249)])!=null&&_0x324151[_0x197d63(0x131)]&&_0x229690[_0x197d63(0x1ae)](_0x197d63(0x20e),_0x373e15[_0x197d63(0x249)][_0x197d63(0x131)]),_0x13191b(_0x12377e);}});}async[_0x195511(0x245)](_0x355b58){const _0x5eb0f8=_0x195511;return this[_0x5eb0f8(0x254)](_0x355b58);}};at=cr([se(0x0,_0x59a817(_0x5780f6)),se(0x1,_0x59a817(_0x18446d)),se(0x2,_0x5972e5),se(0x3,_0x56ab78),se(0x4,_0x2676b6)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x3e7491=_0x1da9;(function(_0x4744a7,_0xd88314){const _0x4e831b=_0x1da9,_0x41df16=_0x4744a7();while(!![]){try{const _0x53e1a0=-parseInt(_0x4e831b(0x19c))/0x1*(parseInt(_0x4e831b(0x282))/0x2)+parseInt(_0x4e831b(0x1c5))/0x3*(parseInt(_0x4e831b(0x18b))/0x4)+-parseInt(_0x4e831b(0x268))/0x5*(-parseInt(_0x4e831b(0x18c))/0x6)+parseInt(_0x4e831b(0x156))/0x7+-parseInt(_0x4e831b(0x194))/0x8*(parseInt(_0x4e831b(0x2d0))/0x9)+-parseInt(_0x4e831b(0x1e2))/0xa+-parseInt(_0x4e831b(0x15d))/0xb;if(_0x53e1a0===_0xd88314)break;else _0x41df16['push'](_0x41df16['shift']());}catch(_0x3189a7){_0x41df16['push'](_0x41df16['shift']());}}}(_0x1b91,0x29652));import{UniverCollaborationClientPlugin as _0x458eeb,CollaborationSocketService as _0x1437de}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2737f7,DisposableCollection as _0x3784bb,toDisposable as _0x230175,IConfigService as _0x46c521,DependentOn as _0x1da448,ILogService as _0x3bb979,Inject as _0x14a135,Injector as _0x413cf1,Plugin as _0x51ff04,registerDependencies as _0xf9db87}from'@univerjs/core';import{ISocketService as _0x1313b6,HTTPService as _0x564d5f}from'@univerjs/network';import{Observable as _0x1584bb,share as _0x1e5cb8}from'rxjs';import _0x30fedc from'events';import _0x1d190d from'https';import _0x5ce828 from'http';import _0x9ff531 from'net';import _0x1a6001 from'tls';import _0x245205 from'crypto';import _0x18c39f from'stream';import _0xe7a915 from'url';import _0xa96d58 from'zlib';import _0x9a1ca6 from'buffer';import{ISnapshotServerService as _0x3df8ef}from'@univerjs-pro/collaboration';const Be=_0x3e7491(0x195),Ft={'customHeaders':{}};function jt(_0x41cf9e){const _0x1e954f=_0x3e7491;return _0x41cf9e&&_0x41cf9e['__esModule']&&Object['prototype'][_0x1e954f(0x1ab)][_0x1e954f(0x178)](_0x41cf9e,_0x1e954f(0x2c6))?_0x41cf9e[_0x1e954f(0x2c6)]:_0x41cf9e;}function ut(_0xa981eb){const _0x59f71c=_0x3e7491;if(Object[_0x59f71c(0x271)][_0x59f71c(0x1ab)][_0x59f71c(0x178)](_0xa981eb,'__esModule'))return _0xa981eb;var _0x116d78=_0xa981eb[_0x59f71c(0x2c6)];if(typeof _0x116d78==_0x59f71c(0x130)){var _0x4c9e14=function _0x1d2df7(){const _0x5648b=_0x59f71c;var _0x22a164=!0x1;try{_0x22a164=this instanceof _0x1d2df7;}catch{}return _0x22a164?Reflect[_0x5648b(0x16d)](_0x116d78,arguments,this[_0x5648b(0x204)]):_0x116d78[_0x5648b(0x17f)](this,arguments);};_0x4c9e14[_0x59f71c(0x271)]=_0x116d78[_0x59f71c(0x271)];}else _0x4c9e14={};return Object[_0x59f71c(0x1c6)](_0x4c9e14,_0x59f71c(0x25d),{'value':!0x0}),Object[_0x59f71c(0x149)](_0xa981eb)[_0x59f71c(0x209)](function(_0xd3e2d7){const _0x54df5c=_0x59f71c;var _0x57dc01=Object[_0x54df5c(0x1e7)](_0xa981eb,_0xd3e2d7);Object['defineProperty'](_0x4c9e14,_0xd3e2d7,_0x57dc01['get']?_0x57dc01:{'enumerable':!0x0,'get':function(){return _0xa981eb[_0xd3e2d7];}});}),_0x4c9e14;}var te={'exports':{}},ge,Ye;function V(){const _0x29b1b2=_0x3e7491;if(Ye)return ge;Ye=0x1;const _0x533acf=[_0x29b1b2(0x2ad),_0x29b1b2(0x171),'fragments'],_0x44648c=typeof Blob<'u';return _0x44648c&&_0x533acf[_0x29b1b2(0x22f)](_0x29b1b2(0x1ea)),ge={'BINARY_TYPES':_0x533acf,'EMPTY_BUFFER':Buffer[_0x29b1b2(0x28a)](0x0),'GUID':_0x29b1b2(0x260),'hasBlob':_0x44648c,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x1b91(){const _0x50598b=['_skipUTF8Validation','auth','object','startLoop','hasOwnProperty','buffer','onStarting','callback','redirect','shouldHandle','port','_fin','server_no_context_takeover','_readableState','location','once','client_no_context_takeover','length','write','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','Module','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','target','clients','FIN\x20must\x20be\x20set','haveLength','readable','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','charCodeAt','nextTick','1446trpfll','defineProperty','dequeue','skipUTF8Validation','readUInt32BE','errorEmitted','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','decompress','_compressed','includes','WS_ERR_INVALID_CLOSE_CODE','customHeaders','verifyClient','toStringTag','_sender','frame','setTimeout','_server','maxRedirects','statusCode','STATUS_CODES','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listenerCount','Unsupported\x20protocol\x20version:\x20','normalizeParams','_req','_httpService','Z_DEFAULT_WINDOWBITS','18260iBofCU','indexOf','ws+unix:','acceptAsClient','species','getOwnPropertyDescriptor','bind','kReason','blob','cleanup','ws:','set','path','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','consume','_read','_messageLength','listeners','sec-websocket-origin','backlog','endEmitted','invalid\x20UTF-8\x20sequence','_paused','headers','Sec-WebSocket-Protocol','_firstFragment','_options','\x0d\x0a\x0d\x0a','serverNoContextTakeover','pause','_autoPong','onmessage','_closeFrameSent','server','constructor','writeUInt16BE','generateMask','WS_ERR_INVALID_OPCODE','addEventListener','forEach','Unexpected\x20end\x20of\x20input','arrayBuffer','_originalSecure','Sec-WebSocket-Accept:\x20','_loop','string','sendFrame','isServer','_destroy','Server\x20sent\x20an\x20invalid\x20subprotocol','_write','GET','enqueue','WS_NO_BUFFER_UTIL','CLOSING','isValidUTF8','authorized','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','host','kCode','setHeader','reset','Invalid\x20HTTP\x20method','sec-websocket-protocol','slice','pong','replace','data','freeze','server_max_window_bits','registerHTTPInterceptor','isBuffer','_fragmented','\x22:\x20','_deflate','test','base64','push','WS_ERR_EXPECTED_FIN','exports','offer','mask','completeUpgrade','number','setSocket','acceptAsServer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','removeAllListeners','createSocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unknown\x20parameter\x20\x22','byteOffset','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','setNoDelay','captureStackTrace','threshold','isPaused','WS_ERR_INVALID_UTF8','dispatch','finished','env','extensionName','followRedirects','timeout','create','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','find','perMessageDeflate','kTarget','_decompress','Connection:\x20Upgrade','from','createConnection','_compress','then','_max_window_bits','_generateMask','buffers','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','Server\x20sent\x20no\x20subprotocol','map','Invalid\x20URL:\x20','__esModule','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_totalPayloadLength','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','extensions','cork','_removeListeners','noServer','destroy','isInteger','websocket','20FVHXKs','binaryType','_url','WS_ERR_UNEXPECTED_MASK','pathname','controlMessage','_inflate','_threshold','pipe','prototype','_doCreateSocket','Invalid\x20Sec-WebSocket-Protocol\x20header','drain','invalid\x20payload\x20length\x20','Invalid\x20WebSocket\x20frame:\x20','opcode','objectMode','_closeCode','send','The\x20server\x20is\x20not\x20running','_mask','Origin','_masked','client_max_window_bits','getBlobData','compress','6ZDaBhR','allocUnsafe','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','bufferedAmount','Max\x20payload\x20size\x20exceeded','hostname','text/html','_fragments','alloc','binary','href','concat','invalid\x20opcode\x20','The\x20\x22','digest','serverMaxWindowBits','code','end','client','_opcode','entries','HTTP/1.1\x20101\x20Switching\x20Protocols','_configService','_closeTimer','hash','upgrade','getPayloadLength64','finish','parse','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','wss:','getMask','ping','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','size','Parameter\x20\x22','total-length','Upgrade:\x20websocket','readOnly','getPayloadLength16','authorization','Basic\x20','socketPath','nodebuffer','cookie','handshakeTimeout','_originalIpc','uncork','handleEvent','Unexpected\x20character\x20at\x20index\x20','stream','kError','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','concurrencyLimit','readyState','open','jobs','HTTP/1.1\x20','_originalHostOrSocketPath','shift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientNoContextTakeover','MASK\x20must\x20be\x20set','origin','onerror','abort','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','clientMaxWindowBits','default','password','emitClose','CONNECTING','_socket','clientTracking','pow','Sec-WebSocket-Protocol:\x20','createError','toLowerCase','2372121aRSkpO','fin','zlibInflateOptions','flush','url','Opening\x20handshake\x20has\x20timed\x20out','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','close','File','_errored','wsClientError','_state','servername','search','add','resume','_registerDependencies','function','_protocol','WS_ERR_EXPECTED_MASK','_errorEmitted','_injector','_payloadLength','kByteLength','request','update','unexpected-response','removeListener','kWasClean','protocolVersion','createDeflateRaw','_queue','writeHead','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Unexpected\x20server\x20response:\x20','username','wasClean','getInfo','_shouldEmitClose','createInflateRaw','keys','type','writeUIntBE','sha1','WS_ERR_UNEXPECTED_RSV_1','unshift','setConfig','protocol','byteLength','readUInt16BE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_extensions','connection','1913268oTHJRt','Invalid\x20Upgrade\x20header','destroyed','isArray','encrypted','_allowSynchronousEvents','conclude','780318SpiOac','onopen','_bufferedBytes','\x22\x20must\x20have\x20only\x20a\x20single\x20value','zlibDeflateOptions','CLOSED','has','finishRequest','Sec-WebSocket-Origin','split','defaultPort','_no_context_takeover','warn','getConfig','sec-websocket-version','sec-websocket-extensions','construct','removeEventListener','format','emit','arraybuffer','response','next','join','pluginName','autoPong','allowSynchronousEvents','call','_redirects','unmask','_maxPayload','terminate','dispose','concurrency','apply','error','_isServer','params','handleUpgrade','_maskBuffer','maxPayload','message','OPEN','RSV1\x20must\x20be\x20clear','dataMessage','WS_NO_UTF_8_VALIDATE','964yaYiZj','334122znQeEn','Upgrade','pending','\x22\x20subprotocol\x20is\x20duplicated','Invalid\x20value\x20for\x20parameter\x20\x22','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','socket','connect','8tfvXQB','collaboration-client-node.config','_writableState','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toString','_binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','options','35449xZYtwP','Blob','needDrain','_closeMessage','read','handleProtocols','kData','accept','_closeFrameReceived','_receiver','_readyState'];_0x1b91=function(){return _0x50598b;};return _0x1b91();}const Wt={},Gt=Object['freeze'](Object[_0x3e7491(0x1c6)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x3e7491(0x1bb)})),Vt=ut(Gt);var Ke;function ce(){const _0x12e1dc=_0x3e7491;if(Ke)return te[_0x12e1dc(0x231)];Ke=0x1;const {EMPTY_BUFFER:_0x413e3b}=V(),_0x1598ff=Buffer[Symbol[_0x12e1dc(0x1e6)]];function _0x63bd01(_0xfb249,_0x540181){const _0x555eb1=_0x12e1dc;if(_0xfb249['length']===0x0)return _0x413e3b;if(_0xfb249['length']===0x1)return _0xfb249[0x0];const _0x1b6cfd=Buffer[_0x555eb1(0x283)](_0x540181);let _0x2fdc18=0x0;for(let _0x2c1241=0x0;_0x2c1241<_0xfb249[_0x555eb1(0x1b8)];_0x2c1241++){const _0x18a8e9=_0xfb249[_0x2c1241];_0x1b6cfd[_0x555eb1(0x1ed)](_0x18a8e9,_0x2fdc18),_0x2fdc18+=_0x18a8e9[_0x555eb1(0x1b8)];}return _0x2fdc18<_0x540181?new _0x1598ff(_0x1b6cfd[_0x555eb1(0x1ac)],_0x1b6cfd[_0x555eb1(0x23d)],_0x2fdc18):_0x1b6cfd;}function _0x4d951b(_0x27414c,_0x28a167,_0x3ae4f3,_0x17167a,_0x238fcd){for(let _0x57b756=0x0;_0x57b756<_0x238fcd;_0x57b756++)_0x3ae4f3[_0x17167a+_0x57b756]=_0x27414c[_0x57b756]^_0x28a167[_0x57b756&0x3];}function _0x3c83ec(_0x3394be,_0x55b26f){const _0x485aba=_0x12e1dc;for(let _0x583d66=0x0;_0x583d66<_0x3394be[_0x485aba(0x1b8)];_0x583d66++)_0x3394be[_0x583d66]^=_0x55b26f[_0x583d66&0x3];}function _0x23c924(_0xe1e795){const _0x1d97c2=_0x12e1dc;return _0xe1e795['length']===_0xe1e795[_0x1d97c2(0x1ac)]['byteLength']?_0xe1e795[_0x1d97c2(0x1ac)]:_0xe1e795['buffer'][_0x1d97c2(0x222)](_0xe1e795['byteOffset'],_0xe1e795[_0x1d97c2(0x23d)]+_0xe1e795[_0x1d97c2(0x1b8)]);}function _0xe11076(_0x1fce6b){const _0x52315d=_0x12e1dc;if(_0xe11076[_0x52315d(0x2a8)]=!0x0,Buffer[_0x52315d(0x229)](_0x1fce6b))return _0x1fce6b;let _0x33325;return _0x1fce6b instanceof ArrayBuffer?_0x33325=new _0x1598ff(_0x1fce6b):ArrayBuffer['isView'](_0x1fce6b)?_0x33325=new _0x1598ff(_0x1fce6b[_0x52315d(0x1ac)],_0x1fce6b[_0x52315d(0x23d)],_0x1fce6b[_0x52315d(0x151)]):(_0x33325=Buffer['from'](_0x1fce6b),_0xe11076['readOnly']=!0x1),_0x33325;}if(te[_0x12e1dc(0x231)]={'concat':_0x63bd01,'mask':_0x4d951b,'toArrayBuffer':_0x23c924,'toBuffer':_0xe11076,'unmask':_0x3c83ec},!process[_0x12e1dc(0x246)][_0x12e1dc(0x217)])try{const _0x267929=Vt;te[_0x12e1dc(0x231)][_0x12e1dc(0x233)]=function(_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760){const _0x26aaad=_0x12e1dc;_0x39a760<0x30?_0x4d951b(_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760):_0x267929[_0x26aaad(0x233)](_0x5cf931,_0x5ca61d,_0x3642d7,_0x9f6513,_0x39a760);},te[_0x12e1dc(0x231)][_0x12e1dc(0x17a)]=function(_0x2190b4,_0xc0cf63){const _0x2c7038=_0x12e1dc;_0x2190b4[_0x2c7038(0x1b8)]<0x20?_0x3c83ec(_0x2190b4,_0xc0cf63):_0x267929[_0x2c7038(0x17a)](_0x2190b4,_0xc0cf63);};}catch{}return te[_0x12e1dc(0x231)];}var ye,Xe;function qt(){if(Xe)return ye;Xe=0x1;const _0x1a34b6=Symbol('kDone'),_0x1e695c=Symbol('kRun');class _0xb23d7d{constructor(_0x1c5f8a){const _0x306bb9=_0x1da9;this[_0x1a34b6]=()=>{const _0x33ecbd=_0x1da9;this[_0x33ecbd(0x18e)]--,this[_0x1e695c]();},this[_0x306bb9(0x17e)]=_0x1c5f8a||0x1/0x0,this[_0x306bb9(0x2ba)]=[],this[_0x306bb9(0x18e)]=0x0;}['add'](_0x4d9e8d){const _0x32fa23=_0x1da9;this['jobs'][_0x32fa23(0x22f)](_0x4d9e8d),this[_0x1e695c]();}[_0x1e695c](){const _0x4b09b5=_0x1da9;if(this[_0x4b09b5(0x18e)]!==this[_0x4b09b5(0x17e)]&&this[_0x4b09b5(0x2ba)][_0x4b09b5(0x1b8)]){const _0x5ccd02=this[_0x4b09b5(0x2ba)][_0x4b09b5(0x2bd)]();this[_0x4b09b5(0x18e)]++,_0x5ccd02(this[_0x1a34b6]);}}}return ye=_0xb23d7d,ye;}var ve,Ze;function he(){const _0x323bbd=_0x3e7491;if(Ze)return ve;Ze=0x1;const _0x48b710=_0xa96d58,_0x30e709=ce(),_0x909935=qt(),{kStatusCode:_0x55be70}=V(),_0x1dce26=Buffer[Symbol[_0x323bbd(0x1e6)]],_0xa91923=Buffer[_0x323bbd(0x251)]([0x0,0x0,0xff,0xff]),_0x2c2dcc=Symbol('permessage-deflate'),_0x38d853=Symbol(_0x323bbd(0x2a6)),_0x4f9364=Symbol(_0x323bbd(0x1ae)),_0x5ef659=Symbol(_0x323bbd(0x257)),_0x1a671b=Symbol(_0x323bbd(0x180));let _0x3888cc;class _0x3d30d3{constructor(_0x4b7b57,_0x2b38fc,_0x5f2832){const _0x5f1b7f=_0x323bbd;if(this[_0x5f1b7f(0x17b)]=_0x5f2832|0x0,this[_0x5f1b7f(0x1fc)]=_0x4b7b57||{},this[_0x5f1b7f(0x26f)]=this['_options'][_0x5f1b7f(0x241)]!==void 0x0?this[_0x5f1b7f(0x1fc)][_0x5f1b7f(0x241)]:0x400,this[_0x5f1b7f(0x181)]=!!_0x2b38fc,this[_0x5f1b7f(0x22c)]=null,this['_inflate']=null,this[_0x5f1b7f(0x182)]=null,!_0x3888cc){const _0x47fb6a=this['_options'][_0x5f1b7f(0x2b7)]!==void 0x0?this['_options'][_0x5f1b7f(0x2b7)]:0xa;_0x3888cc=new _0x909935(_0x47fb6a);}}static get[_0x323bbd(0x247)](){return'permessage-deflate';}[_0x323bbd(0x232)](){const _0x5c6235=_0x323bbd,_0x2f32ff={};return this['_options'][_0x5c6235(0x1fe)]&&(_0x2f32ff[_0x5c6235(0x1b3)]=!0x0),this[_0x5c6235(0x1fc)][_0x5c6235(0x2bf)]&&(_0x2f32ff[_0x5c6235(0x1b7)]=!0x0),this['_options'][_0x5c6235(0x291)]&&(_0x2f32ff[_0x5c6235(0x227)]=this[_0x5c6235(0x1fc)][_0x5c6235(0x291)]),this[_0x5c6235(0x1fc)][_0x5c6235(0x2c5)]?_0x2f32ff[_0x5c6235(0x27f)]=this[_0x5c6235(0x1fc)][_0x5c6235(0x2c5)]:this['_options'][_0x5c6235(0x2c5)]==null&&(_0x2f32ff[_0x5c6235(0x27f)]=!0x0),_0x2f32ff;}[_0x323bbd(0x1a3)](_0x6cf20){const _0x5bbb66=_0x323bbd;return _0x6cf20=this[_0x5bbb66(0x1de)](_0x6cf20),this[_0x5bbb66(0x182)]=this['_isServer']?this[_0x5bbb66(0x237)](_0x6cf20):this['acceptAsClient'](_0x6cf20),this[_0x5bbb66(0x182)];}[_0x323bbd(0x1eb)](){const _0x2731e8=_0x323bbd;if(this[_0x2731e8(0x26e)]&&(this['_inflate'][_0x2731e8(0x2d7)](),this['_inflate']=null),this[_0x2731e8(0x22c)]){const _0x4628b6=this[_0x2731e8(0x22c)][_0x4f9364];this[_0x2731e8(0x22c)]['close'](),this[_0x2731e8(0x22c)]=null,_0x4628b6&&_0x4628b6(new Error(_0x2731e8(0x1cb)));}}[_0x323bbd(0x237)](_0x54f8a8){const _0x4a82d0=_0x323bbd,_0x44cfba=this[_0x4a82d0(0x1fc)],_0x360e9a=_0x54f8a8[_0x4a82d0(0x24c)](_0x3d8d5b=>!(_0x44cfba[_0x4a82d0(0x1fe)]===!0x1&&_0x3d8d5b[_0x4a82d0(0x1b3)]||_0x3d8d5b['server_max_window_bits']&&(_0x44cfba[_0x4a82d0(0x291)]===!0x1||typeof _0x44cfba['serverMaxWindowBits']==_0x4a82d0(0x235)&&_0x44cfba[_0x4a82d0(0x291)]>_0x3d8d5b[_0x4a82d0(0x227)])||typeof _0x44cfba['clientMaxWindowBits']==_0x4a82d0(0x235)&&!_0x3d8d5b['client_max_window_bits']));if(!_0x360e9a)throw new Error(_0x4a82d0(0x25e));return _0x44cfba[_0x4a82d0(0x1fe)]&&(_0x360e9a[_0x4a82d0(0x1b3)]=!0x0),_0x44cfba['clientNoContextTakeover']&&(_0x360e9a[_0x4a82d0(0x1b7)]=!0x0),typeof _0x44cfba['serverMaxWindowBits']==_0x4a82d0(0x235)&&(_0x360e9a[_0x4a82d0(0x227)]=_0x44cfba[_0x4a82d0(0x291)]),typeof _0x44cfba['clientMaxWindowBits']==_0x4a82d0(0x235)?_0x360e9a[_0x4a82d0(0x27f)]=_0x44cfba['clientMaxWindowBits']:(_0x360e9a['client_max_window_bits']===!0x0||_0x44cfba['clientMaxWindowBits']===!0x1)&&delete _0x360e9a['client_max_window_bits'],_0x360e9a;}[_0x323bbd(0x1e5)](_0xb3e22b){const _0x5a14f2=_0x323bbd,_0xd9349d=_0xb3e22b[0x0];if(this['_options'][_0x5a14f2(0x2bf)]===!0x1&&_0xd9349d[_0x5a14f2(0x1b7)])throw new Error(_0x5a14f2(0x2d6));if(!_0xd9349d[_0x5a14f2(0x27f)])typeof this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)]=='number'&&(_0xd9349d[_0x5a14f2(0x27f)]=this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)]);else{if(this['_options'][_0x5a14f2(0x2c5)]===!0x1||typeof this['_options'][_0x5a14f2(0x2c5)]==_0x5a14f2(0x235)&&_0xd9349d[_0x5a14f2(0x27f)]>this[_0x5a14f2(0x1fc)][_0x5a14f2(0x2c5)])throw new Error(_0x5a14f2(0x29f));}return _0xd9349d;}[_0x323bbd(0x1de)](_0x5bce6c){return _0x5bce6c['forEach'](_0x44e65b=>{const _0x5abb34=_0x1da9;Object[_0x5abb34(0x149)](_0x44e65b)[_0x5abb34(0x209)](_0x25f805=>{const _0x6eb0c3=_0x5abb34;let _0x1fc353=_0x44e65b[_0x25f805];if(_0x1fc353['length']>0x1)throw new Error(_0x6eb0c3(0x2a5)+_0x25f805+_0x6eb0c3(0x160));if(_0x1fc353=_0x1fc353[0x0],_0x25f805==='client_max_window_bits'){if(_0x1fc353!==!0x0){const _0x3e45eb=+_0x1fc353;if(!Number[_0x6eb0c3(0x266)](_0x3e45eb)||_0x3e45eb<0x8||_0x3e45eb>0xf)throw new TypeError(_0x6eb0c3(0x190)+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);_0x1fc353=_0x3e45eb;}else{if(!this[_0x6eb0c3(0x181)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);}}else{if(_0x25f805===_0x6eb0c3(0x227)){const _0x5e9579=+_0x1fc353;if(!Number['isInteger'](_0x5e9579)||_0x5e9579<0x8||_0x5e9579>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);_0x1fc353=_0x5e9579;}else{if(_0x25f805===_0x6eb0c3(0x1b7)||_0x25f805===_0x6eb0c3(0x1b3)){if(_0x1fc353!==!0x0)throw new TypeError(_0x6eb0c3(0x190)+_0x25f805+_0x6eb0c3(0x22b)+_0x1fc353);}else throw new Error(_0x6eb0c3(0x23c)+_0x25f805+'\x22');}}_0x44e65b[_0x25f805]=_0x1fc353;});}),_0x5bce6c;}[_0x323bbd(0x1cc)](_0x1c283d,_0x5db200,_0x56091b){const _0x1b9995=_0x323bbd;_0x3888cc[_0x1b9995(0x2de)](_0x3b9705=>{this['_decompress'](_0x1c283d,_0x5db200,(_0x1f9222,_0x4d60f4)=>{_0x3b9705(),_0x56091b(_0x1f9222,_0x4d60f4);});});}[_0x323bbd(0x281)](_0x212683,_0x4c275b,_0x28bf7a){_0x3888cc['add'](_0x5eda2=>{const _0x42178a=_0x1da9;this[_0x42178a(0x253)](_0x212683,_0x4c275b,(_0x2f7418,_0x2a0c2b)=>{_0x5eda2(),_0x28bf7a(_0x2f7418,_0x2a0c2b);});});}[_0x323bbd(0x24f)](_0x5a75e8,_0x189b48,_0x308724){const _0x340739=_0x323bbd,_0x5b4c37=this[_0x340739(0x181)]?'client':_0x340739(0x203);if(!this['_inflate']){const _0x20d620=_0x5b4c37+_0x340739(0x255),_0x4ce599=typeof this[_0x340739(0x182)][_0x20d620]!=_0x340739(0x235)?_0x48b710[_0x340739(0x1e1)]:this['params'][_0x20d620];this[_0x340739(0x26e)]=_0x48b710[_0x340739(0x148)]({...this[_0x340739(0x1fc)][_0x340739(0x2d2)],'windowBits':_0x4ce599}),this[_0x340739(0x26e)][_0x2c2dcc]=this,this[_0x340739(0x26e)][_0x38d853]=0x0,this['_inflate'][_0x5ef659]=[],this[_0x340739(0x26e)]['on'](_0x340739(0x180),_0x56ec04),this[_0x340739(0x26e)]['on'](_0x340739(0x225),_0x29c13a);}this['_inflate'][_0x4f9364]=_0x308724,this[_0x340739(0x26e)]['write'](_0x5a75e8),_0x189b48&&this[_0x340739(0x26e)]['write'](_0xa91923),this[_0x340739(0x26e)][_0x340739(0x2d3)](()=>{const _0xc7616a=_0x340739,_0x57900f=this['_inflate'][_0x1a671b];if(_0x57900f){this[_0xc7616a(0x26e)][_0xc7616a(0x2d7)](),this[_0xc7616a(0x26e)]=null,_0x308724(_0x57900f);return;}const _0x4ab976=_0x30e709[_0xc7616a(0x28d)](this[_0xc7616a(0x26e)][_0x5ef659],this['_inflate'][_0x38d853]);this[_0xc7616a(0x26e)]['_readableState']['endEmitted']?(this[_0xc7616a(0x26e)][_0xc7616a(0x2d7)](),this[_0xc7616a(0x26e)]=null):(this[_0xc7616a(0x26e)][_0x38d853]=0x0,this[_0xc7616a(0x26e)][_0x5ef659]=[],_0x189b48&&this[_0xc7616a(0x182)][_0x5b4c37+_0xc7616a(0x168)]&&this[_0xc7616a(0x26e)]['reset']()),_0x308724(null,_0x4ab976);});}['_compress'](_0x1a9b61,_0x111b54,_0x24bf89){const _0x3ce2d8=_0x323bbd,_0x1c0f87=this[_0x3ce2d8(0x181)]?_0x3ce2d8(0x203):_0x3ce2d8(0x294);if(!this['_deflate']){const _0x12f4f6=_0x1c0f87+'_max_window_bits',_0x4b7672=typeof this[_0x3ce2d8(0x182)][_0x12f4f6]!=_0x3ce2d8(0x235)?_0x48b710[_0x3ce2d8(0x1e1)]:this[_0x3ce2d8(0x182)][_0x12f4f6];this[_0x3ce2d8(0x22c)]=_0x48b710[_0x3ce2d8(0x13d)]({...this['_options'][_0x3ce2d8(0x161)],'windowBits':_0x4b7672}),this[_0x3ce2d8(0x22c)][_0x38d853]=0x0,this[_0x3ce2d8(0x22c)][_0x5ef659]=[],this['_deflate']['on']('data',_0x5e2ac3);}this['_deflate'][_0x4f9364]=_0x24bf89,this[_0x3ce2d8(0x22c)][_0x3ce2d8(0x1b9)](_0x1a9b61),this[_0x3ce2d8(0x22c)][_0x3ce2d8(0x2d3)](_0x48b710['Z_SYNC_FLUSH'],()=>{const _0x31ba25=_0x3ce2d8;if(!this[_0x31ba25(0x22c)])return;let _0x28cc8c=_0x30e709['concat'](this[_0x31ba25(0x22c)][_0x5ef659],this[_0x31ba25(0x22c)][_0x38d853]);_0x111b54&&(_0x28cc8c=new _0x1dce26(_0x28cc8c[_0x31ba25(0x1ac)],_0x28cc8c['byteOffset'],_0x28cc8c['length']-0x4)),this['_deflate'][_0x4f9364]=null,this[_0x31ba25(0x22c)][_0x38d853]=0x0,this[_0x31ba25(0x22c)][_0x5ef659]=[],_0x111b54&&this[_0x31ba25(0x182)][_0x1c0f87+_0x31ba25(0x168)]&&this[_0x31ba25(0x22c)][_0x31ba25(0x21f)](),_0x24bf89(null,_0x28cc8c);});}}ve=_0x3d30d3;function _0x5e2ac3(_0x8592b1){const _0x1310bb=_0x323bbd;this[_0x5ef659][_0x1310bb(0x22f)](_0x8592b1),this[_0x38d853]+=_0x8592b1['length'];}function _0x29c13a(_0x4bf317){const _0xef7fb=_0x323bbd;if(this[_0x38d853]+=_0x4bf317[_0xef7fb(0x1b8)],this[_0x2c2dcc][_0xef7fb(0x17b)]<0x1||this[_0x38d853]<=this[_0x2c2dcc][_0xef7fb(0x17b)]){this[_0x5ef659][_0xef7fb(0x22f)](_0x4bf317);return;}this[_0x1a671b]=new RangeError(_0xef7fb(0x286)),this[_0x1a671b][_0xef7fb(0x292)]=_0xef7fb(0x191),this[_0x1a671b][_0x55be70]=0x3f1,this[_0xef7fb(0x13a)](_0xef7fb(0x225),_0x29c13a),this[_0xef7fb(0x21f)]();}function _0x56ec04(_0x1a479e){if(this[_0x2c2dcc]['_inflate']=null,this[_0x1a671b]){this[_0x4f9364](this[_0x1a671b]);return;}_0x1a479e[_0x55be70]=0x3ef,this[_0x4f9364](_0x1a479e);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3e7491(0x226)](Object[_0x3e7491(0x1c6)]({'__proto__':null,'default':Ht},Symbol[_0x3e7491(0x1d2)],{'value':_0x3e7491(0x1bb)})),Yt=ut(zt);var Qe;function ne(){const _0xb02d10=_0x3e7491;if(Qe)return re[_0xb02d10(0x231)];Qe=0x1;const {isUtf8:_0x217ea3}=_0x9a1ca6,{hasBlob:_0x3d5786}=V(),_0x507c04=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x3b6e86(_0x4ca272){return _0x4ca272>=0x3e8&&_0x4ca272<=0x3f6&&_0x4ca272!==0x3ec&&_0x4ca272!==0x3ed&&_0x4ca272!==0x3ee||_0x4ca272>=0xbb8&&_0x4ca272<=0x1387;}function _0x107991(_0x9ce985){const _0x4586d2=_0x9ce985['length'];let _0x2877a6=0x0;for(;_0x2877a6<_0x4586d2;)if((_0x9ce985[_0x2877a6]&0x80)===0x0)_0x2877a6++;else{if((_0x9ce985[_0x2877a6]&0xe0)===0xc0){if(_0x2877a6+0x1===_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6]&0xfe)===0xc0)return!0x1;_0x2877a6+=0x2;}else{if((_0x9ce985[_0x2877a6]&0xf0)===0xe0){if(_0x2877a6+0x2>=_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x2]&0xc0)!==0x80||_0x9ce985[_0x2877a6]===0xe0&&(_0x9ce985[_0x2877a6+0x1]&0xe0)===0x80||_0x9ce985[_0x2877a6]===0xed&&(_0x9ce985[_0x2877a6+0x1]&0xe0)===0xa0)return!0x1;_0x2877a6+=0x3;}else{if((_0x9ce985[_0x2877a6]&0xf8)===0xf0){if(_0x2877a6+0x3>=_0x4586d2||(_0x9ce985[_0x2877a6+0x1]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x2]&0xc0)!==0x80||(_0x9ce985[_0x2877a6+0x3]&0xc0)!==0x80||_0x9ce985[_0x2877a6]===0xf0&&(_0x9ce985[_0x2877a6+0x1]&0xf0)===0x80||_0x9ce985[_0x2877a6]===0xf4&&_0x9ce985[_0x2877a6+0x1]>0x8f||_0x9ce985[_0x2877a6]>0xf4)return!0x1;_0x2877a6+=0x4;}else return!0x1;}}}return!0x0;}function _0x7860b5(_0x50099f){const _0x2a85ee=_0xb02d10;return _0x3d5786&&typeof _0x50099f==_0x2a85ee(0x1a9)&&typeof _0x50099f[_0x2a85ee(0x20b)]==_0x2a85ee(0x130)&&typeof _0x50099f[_0x2a85ee(0x14a)]==_0x2a85ee(0x20f)&&typeof _0x50099f[_0x2a85ee(0x2b4)]==_0x2a85ee(0x130)&&(_0x50099f[Symbol[_0x2a85ee(0x1d2)]]===_0x2a85ee(0x19d)||_0x50099f[Symbol['toStringTag']]===_0x2a85ee(0x2d8));}if(re[_0xb02d10(0x231)]={'isBlob':_0x7860b5,'isValidStatusCode':_0x3b6e86,'isValidUTF8':_0x107991,'tokenChars':_0x507c04},_0x217ea3)re[_0xb02d10(0x231)][_0xb02d10(0x219)]=function(_0x2b1bf7){const _0xaba5cf=_0xb02d10;return _0x2b1bf7[_0xaba5cf(0x1b8)]<0x18?_0x107991(_0x2b1bf7):_0x217ea3(_0x2b1bf7);};else{if(!process[_0xb02d10(0x246)][_0xb02d10(0x18a)])try{const _0x4b4523=Yt;re[_0xb02d10(0x231)]['isValidUTF8']=function(_0x42e030){const _0x2d0b59=_0xb02d10;return _0x42e030[_0x2d0b59(0x1b8)]<0x20?_0x107991(_0x42e030):_0x4b4523(_0x42e030);};}catch{}}return re[_0xb02d10(0x231)];}var Se,Je;function dt(){const _0x242ef0=_0x3e7491;if(Je)return Se;Je=0x1;const {Writable:_0x1f4e49}=_0x18c39f,_0x54e617=he(),{BINARY_TYPES:_0x4d2e9d,EMPTY_BUFFER:_0x6e4354,kStatusCode:_0x47b9a6,kWebSocket:_0x4e9eaa}=V(),{concat:_0x37c746,toArrayBuffer:_0x29b7aa,unmask:_0x39888b}=ce(),{isValidStatusCode:_0x277df8,isValidUTF8:_0x231fe5}=ne(),_0x6ec96a=Buffer[Symbol[_0x242ef0(0x1e6)]],_0x3e2080=0x0,_0x2b91f0=0x1,_0x1dacf9=0x2,_0x3f567b=0x3,_0x483738=0x4,_0x15fa72=0x5,_0xd73e57=0x6;class _0x4994db extends _0x1f4e49{constructor(_0x16cb44={}){const _0x552200=_0x242ef0;super(),this[_0x552200(0x15b)]=_0x16cb44[_0x552200(0x177)]!==void 0x0?_0x16cb44[_0x552200(0x177)]:!0x0,this[_0x552200(0x199)]=_0x16cb44[_0x552200(0x269)]||_0x4d2e9d[0x0],this[_0x552200(0x154)]=_0x16cb44['extensions']||{},this[_0x552200(0x181)]=!!_0x16cb44[_0x552200(0x211)],this['_maxPayload']=_0x16cb44[_0x552200(0x185)]|0x0,this[_0x552200(0x1a7)]=!!_0x16cb44['skipUTF8Validation'],this[_0x4e9eaa]=void 0x0,this['_bufferedBytes']=0x0,this[_0x552200(0x1da)]=[],this[_0x552200(0x1cd)]=!0x1,this[_0x552200(0x135)]=0x0,this[_0x552200(0x27c)]=void 0x0,this[_0x552200(0x22a)]=0x0,this[_0x552200(0x27e)]=!0x1,this['_fin']=!0x1,this[_0x552200(0x295)]=0x0,this['_totalPayloadLength']=0x0,this[_0x552200(0x1f2)]=0x0,this[_0x552200(0x289)]=[],this['_errored']=!0x1,this[_0x552200(0x20e)]=!0x1,this[_0x552200(0x2db)]=_0x3e2080;}['_write'](_0x5d81cc,_0x5916e3,_0x4d9038){const _0x2951ad=_0x242ef0;if(this[_0x2951ad(0x295)]===0x8&&this[_0x2951ad(0x2db)]==_0x3e2080)return _0x4d9038();this[_0x2951ad(0x15f)]+=_0x5d81cc[_0x2951ad(0x1b8)],this[_0x2951ad(0x1da)][_0x2951ad(0x22f)](_0x5d81cc),this[_0x2951ad(0x1aa)](_0x4d9038);}['consume'](_0x141561){const _0x210049=_0x242ef0;if(this[_0x210049(0x15f)]-=_0x141561,_0x141561===this[_0x210049(0x1da)][0x0]['length'])return this[_0x210049(0x1da)]['shift']();if(_0x141561<this['_buffers'][0x0][_0x210049(0x1b8)]){const _0x5b4e86=this['_buffers'][0x0];return this[_0x210049(0x1da)][0x0]=new _0x6ec96a(_0x5b4e86['buffer'],_0x5b4e86[_0x210049(0x23d)]+_0x141561,_0x5b4e86['length']-_0x141561),new _0x6ec96a(_0x5b4e86['buffer'],_0x5b4e86['byteOffset'],_0x141561);}const _0x4e877d=Buffer[_0x210049(0x283)](_0x141561);do{const _0x58ac22=this[_0x210049(0x1da)][0x0],_0x311fc6=_0x4e877d[_0x210049(0x1b8)]-_0x141561;_0x141561>=_0x58ac22['length']?_0x4e877d[_0x210049(0x1ed)](this[_0x210049(0x1da)][_0x210049(0x2bd)](),_0x311fc6):(_0x4e877d[_0x210049(0x1ed)](new Uint8Array(_0x58ac22[_0x210049(0x1ac)],_0x58ac22[_0x210049(0x23d)],_0x141561),_0x311fc6),this[_0x210049(0x1da)][0x0]=new _0x6ec96a(_0x58ac22[_0x210049(0x1ac)],_0x58ac22[_0x210049(0x23d)]+_0x141561,_0x58ac22[_0x210049(0x1b8)]-_0x141561)),_0x141561-=_0x58ac22[_0x210049(0x1b8)];}while(_0x141561>0x0);return _0x4e877d;}[_0x242ef0(0x1aa)](_0xbc9394){const _0x45056b=_0x242ef0;this[_0x45056b(0x20e)]=!0x0;do switch(this[_0x45056b(0x2db)]){case _0x3e2080:this[_0x45056b(0x146)](_0xbc9394);break;case _0x2b91f0:this[_0x45056b(0x2a9)](_0xbc9394);break;case _0x1dacf9:this[_0x45056b(0x29c)](_0xbc9394);break;case _0x3f567b:this[_0x45056b(0x2a1)]();break;case _0x483738:this['getData'](_0xbc9394);break;case _0x15fa72:case _0xd73e57:this[_0x45056b(0x20e)]=!0x1;return;}while(this['_loop']);this[_0x45056b(0x2d9)]||_0xbc9394();}[_0x242ef0(0x146)](_0xcd4cec){const _0x37cf03=_0x242ef0;if(this[_0x37cf03(0x15f)]<0x2){this[_0x37cf03(0x20e)]=!0x1;return;}const _0x20d4fc=this[_0x37cf03(0x1f0)](0x2);if((_0x20d4fc[0x0]&0x30)!==0x0){const _0xbf0c37=this[_0x37cf03(0x2ce)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xcd4cec(_0xbf0c37);return;}const _0x5a9d83=(_0x20d4fc[0x0]&0x40)===0x40;if(_0x5a9d83&&!this[_0x37cf03(0x154)][_0x54e617[_0x37cf03(0x247)]]){const _0x125944=this['createError'](RangeError,_0x37cf03(0x188),!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x125944);return;}if(this[_0x37cf03(0x1b2)]=(_0x20d4fc[0x0]&0x80)===0x80,this['_opcode']=_0x20d4fc[0x0]&0xf,this[_0x37cf03(0x135)]=_0x20d4fc[0x1]&0x7f,this['_opcode']===0x0){if(_0x5a9d83){const _0x150769=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x188),!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x150769);return;}if(!this[_0x37cf03(0x22a)]){const _0x937aa5=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x937aa5);return;}this[_0x37cf03(0x295)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x37cf03(0x295)]===0x2){if(this[_0x37cf03(0x22a)]){const _0x21a08a=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x28e)+this['_opcode'],!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x21a08a);return;}this['_compressed']=_0x5a9d83;}else{if(this[_0x37cf03(0x295)]>0x7&&this['_opcode']<0xb){if(!this[_0x37cf03(0x1b2)]){const _0x21b91b=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x1bf),!0x0,0x3ea,_0x37cf03(0x230));_0xcd4cec(_0x21b91b);return;}if(_0x5a9d83){const _0x3d4a8b=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37cf03(0x14d));_0xcd4cec(_0x3d4a8b);return;}if(this[_0x37cf03(0x135)]>0x7d||this['_opcode']===0x8&&this[_0x37cf03(0x135)]===0x1){const _0x3e7afe=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x275)+this['_payloadLength'],!0x0,0x3ea,_0x37cf03(0x2be));_0xcd4cec(_0x3e7afe);return;}}else{const _0x5dd849=this[_0x37cf03(0x2ce)](RangeError,'invalid\x20opcode\x20'+this[_0x37cf03(0x295)],!0x0,0x3ea,_0x37cf03(0x207));_0xcd4cec(_0x5dd849);return;}}}if(!this[_0x37cf03(0x1b2)]&&!this['_fragmented']&&(this[_0x37cf03(0x22a)]=this[_0x37cf03(0x295)]),this['_masked']=(_0x20d4fc[0x1]&0x80)===0x80,this[_0x37cf03(0x181)]){if(!this[_0x37cf03(0x27e)]){const _0x14dd31=this[_0x37cf03(0x2ce)](RangeError,_0x37cf03(0x2c0),!0x0,0x3ea,_0x37cf03(0x132));_0xcd4cec(_0x14dd31);return;}}else{if(this['_masked']){const _0x361bea=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x37cf03(0x26b));_0xcd4cec(_0x361bea);return;}}this[_0x37cf03(0x135)]===0x7e?this['_state']=_0x2b91f0:this[_0x37cf03(0x135)]===0x7f?this['_state']=_0x1dacf9:this[_0x37cf03(0x1c0)](_0xcd4cec);}[_0x242ef0(0x2a9)](_0x27326b){const _0x1864f7=_0x242ef0;if(this[_0x1864f7(0x15f)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x1864f7(0x1f0)](0x2)[_0x1864f7(0x152)](0x0),this['haveLength'](_0x27326b);}[_0x242ef0(0x29c)](_0x2278bf){const _0x5a7de2=_0x242ef0;if(this[_0x5a7de2(0x15f)]<0x8){this[_0x5a7de2(0x20e)]=!0x1;return;}const _0x4b82c4=this[_0x5a7de2(0x1f0)](0x8),_0x55c84a=_0x4b82c4[_0x5a7de2(0x1c9)](0x0);if(_0x55c84a>Math[_0x5a7de2(0x2cc)](0x2,0x15)-0x1){const _0x30f509=this[_0x5a7de2(0x2ce)](RangeError,_0x5a7de2(0x140),!0x1,0x3f1,_0x5a7de2(0x258));_0x2278bf(_0x30f509);return;}this[_0x5a7de2(0x135)]=_0x55c84a*Math[_0x5a7de2(0x2cc)](0x2,0x20)+_0x4b82c4[_0x5a7de2(0x1c9)](0x4),this['haveLength'](_0x2278bf);}[_0x242ef0(0x1c0)](_0x4e1a8b){const _0xe4aff2=_0x242ef0;if(this[_0xe4aff2(0x135)]&&this[_0xe4aff2(0x295)]<0x8&&(this['_totalPayloadLength']+=this[_0xe4aff2(0x135)],this[_0xe4aff2(0x25f)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x308fb1=this[_0xe4aff2(0x2ce)](RangeError,_0xe4aff2(0x286),!0x1,0x3f1,_0xe4aff2(0x191));_0x4e1a8b(_0x308fb1);return;}this[_0xe4aff2(0x27e)]?this['_state']=_0x3f567b:this[_0xe4aff2(0x2db)]=_0x483738;}[_0x242ef0(0x2a1)](){const _0x491347=_0x242ef0;if(this[_0x491347(0x15f)]<0x4){this['_loop']=!0x1;return;}this[_0x491347(0x27c)]=this[_0x491347(0x1f0)](0x4),this[_0x491347(0x2db)]=_0x483738;}['getData'](_0x3db27e){const _0x5d4ad9=_0x242ef0;let _0x103dfa=_0x6e4354;if(this[_0x5d4ad9(0x135)]){if(this[_0x5d4ad9(0x15f)]<this[_0x5d4ad9(0x135)]){this['_loop']=!0x1;return;}_0x103dfa=this[_0x5d4ad9(0x1f0)](this[_0x5d4ad9(0x135)]),this['_masked']&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5d4ad9(0x27c)][0x2]|this['_mask'][0x3])!==0x0&&_0x39888b(_0x103dfa,this[_0x5d4ad9(0x27c)]);}if(this['_opcode']>0x7){this[_0x5d4ad9(0x26d)](_0x103dfa,_0x3db27e);return;}if(this[_0x5d4ad9(0x1cd)]){this[_0x5d4ad9(0x2db)]=_0x15fa72,this[_0x5d4ad9(0x1cc)](_0x103dfa,_0x3db27e);return;}_0x103dfa[_0x5d4ad9(0x1b8)]&&(this[_0x5d4ad9(0x1f2)]=this[_0x5d4ad9(0x25f)],this[_0x5d4ad9(0x289)][_0x5d4ad9(0x22f)](_0x103dfa)),this[_0x5d4ad9(0x189)](_0x3db27e);}[_0x242ef0(0x1cc)](_0x28c31b,_0xac8db8){const _0x278ddb=_0x242ef0;this[_0x278ddb(0x154)][_0x54e617[_0x278ddb(0x247)]][_0x278ddb(0x1cc)](_0x28c31b,this[_0x278ddb(0x1b2)],(_0x316f17,_0x3481cf)=>{const _0x156bf0=_0x278ddb;if(_0x316f17)return _0xac8db8(_0x316f17);if(_0x3481cf[_0x156bf0(0x1b8)]){if(this[_0x156bf0(0x1f2)]+=_0x3481cf[_0x156bf0(0x1b8)],this[_0x156bf0(0x1f2)]>this[_0x156bf0(0x17b)]&&this['_maxPayload']>0x0){const _0x16da1e=this['createError'](RangeError,_0x156bf0(0x286),!0x1,0x3f1,_0x156bf0(0x191));_0xac8db8(_0x16da1e);return;}this[_0x156bf0(0x289)][_0x156bf0(0x22f)](_0x3481cf);}this['dataMessage'](_0xac8db8),this['_state']===_0x3e2080&&this[_0x156bf0(0x1aa)](_0xac8db8);});}[_0x242ef0(0x189)](_0x249d76){const _0x2abf85=_0x242ef0;if(!this[_0x2abf85(0x1b2)]){this['_state']=_0x3e2080;return;}const _0x8d8621=this[_0x2abf85(0x1f2)],_0x2e2469=this[_0x2abf85(0x289)];if(this[_0x2abf85(0x25f)]=0x0,this[_0x2abf85(0x1f2)]=0x0,this[_0x2abf85(0x22a)]=0x0,this[_0x2abf85(0x289)]=[],this['_opcode']===0x2){let _0x9c1b33;this['_binaryType']===_0x2abf85(0x2ad)?_0x9c1b33=_0x37c746(_0x2e2469,_0x8d8621):this[_0x2abf85(0x199)]===_0x2abf85(0x171)?_0x9c1b33=_0x29b7aa(_0x37c746(_0x2e2469,_0x8d8621)):this[_0x2abf85(0x199)]===_0x2abf85(0x1ea)?_0x9c1b33=new Blob(_0x2e2469):_0x9c1b33=_0x2e2469,this[_0x2abf85(0x15b)]?(this[_0x2abf85(0x170)]('message',_0x9c1b33,!0x0),this[_0x2abf85(0x2db)]=_0x3e2080):(this[_0x2abf85(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x16ea9f=_0x2abf85;this[_0x16ea9f(0x170)]('message',_0x9c1b33,!0x0),this[_0x16ea9f(0x2db)]=_0x3e2080,this[_0x16ea9f(0x1aa)](_0x249d76);}));}else{const _0xc650f0=_0x37c746(_0x2e2469,_0x8d8621);if(!this[_0x2abf85(0x1a7)]&&!_0x231fe5(_0xc650f0)){const _0x312b78=this[_0x2abf85(0x2ce)](Error,_0x2abf85(0x1f7),!0x0,0x3ef,_0x2abf85(0x243));_0x249d76(_0x312b78);return;}this[_0x2abf85(0x2db)]===_0x15fa72||this['_allowSynchronousEvents']?(this['emit'](_0x2abf85(0x186),_0xc650f0,!0x1),this[_0x2abf85(0x2db)]=_0x3e2080):(this[_0x2abf85(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x45cb7b=_0x2abf85;this[_0x45cb7b(0x170)]('message',_0xc650f0,!0x1),this[_0x45cb7b(0x2db)]=_0x3e2080,this[_0x45cb7b(0x1aa)](_0x249d76);}));}}[_0x242ef0(0x26d)](_0x192c54,_0x3affcf){const _0xa0627e=_0x242ef0;if(this[_0xa0627e(0x295)]===0x8){if(_0x192c54[_0xa0627e(0x1b8)]===0x0)this['_loop']=!0x1,this[_0xa0627e(0x170)](_0xa0627e(0x15c),0x3ed,_0x6e4354),this[_0xa0627e(0x293)]();else{const _0x131118=_0x192c54[_0xa0627e(0x152)](0x0);if(!_0x277df8(_0x131118)){const _0x4eb28a=this[_0xa0627e(0x2ce)](RangeError,'invalid\x20status\x20code\x20'+_0x131118,!0x0,0x3ea,_0xa0627e(0x1cf));_0x3affcf(_0x4eb28a);return;}const _0xe39c40=new _0x6ec96a(_0x192c54[_0xa0627e(0x1ac)],_0x192c54['byteOffset']+0x2,_0x192c54[_0xa0627e(0x1b8)]-0x2);if(!this[_0xa0627e(0x1a7)]&&!_0x231fe5(_0xe39c40)){const _0x24ca60=this['createError'](Error,_0xa0627e(0x1f7),!0x0,0x3ef,_0xa0627e(0x243));_0x3affcf(_0x24ca60);return;}this[_0xa0627e(0x20e)]=!0x1,this[_0xa0627e(0x170)](_0xa0627e(0x15c),_0x131118,_0xe39c40),this[_0xa0627e(0x293)]();}this[_0xa0627e(0x2db)]=_0x3e2080;return;}this['_allowSynchronousEvents']?(this[_0xa0627e(0x170)](this[_0xa0627e(0x295)]===0x9?_0xa0627e(0x2a2):_0xa0627e(0x223),_0x192c54),this[_0xa0627e(0x2db)]=_0x3e2080):(this[_0xa0627e(0x2db)]=_0xd73e57,setImmediate(()=>{const _0x43debd=_0xa0627e;this[_0x43debd(0x170)](this[_0x43debd(0x295)]===0x9?_0x43debd(0x2a2):_0x43debd(0x223),_0x192c54),this['_state']=_0x3e2080,this[_0x43debd(0x1aa)](_0x3affcf);}));}[_0x242ef0(0x2ce)](_0x121735,_0x2251fe,_0x226274,_0x4f984a,_0x2ba9d0){const _0x58b743=_0x242ef0;this['_loop']=!0x1,this[_0x58b743(0x2d9)]=!0x0;const _0x58dc1c=new _0x121735(_0x226274?_0x58b743(0x276)+_0x2251fe:_0x2251fe);return Error[_0x58b743(0x240)](_0x58dc1c,this[_0x58b743(0x2ce)]),_0x58dc1c[_0x58b743(0x292)]=_0x2ba9d0,_0x58dc1c[_0x47b9a6]=_0x4f984a,_0x58dc1c;}}return Se=_0x4994db,Se;}var Ee,et;function _t(){const _0xa83917=_0x3e7491;if(et)return Ee;et=0x1;const {Duplex:_0x537830}=_0x18c39f,{randomFillSync:_0x132cb8}=_0x245205,_0x566746=he(),{EMPTY_BUFFER:_0x3ad2cf,kWebSocket:_0x684511,NOOP:_0x31e668}=V(),{isBlob:_0x1a4998,isValidStatusCode:_0x3d5d68}=ne(),{mask:_0x3d3241,toBuffer:_0x2e7746}=ce(),_0x3ae124=Symbol(_0xa83917(0x136)),_0x59ec3b=Buffer[_0xa83917(0x28a)](0x4),_0x134db0=0x8*0x400;let _0x3dd2c4,_0x431dea=_0x134db0;const _0x490bdd=0x0,_0x10d611=0x1,_0x2d4677=0x2;class _0x4c2616{constructor(_0x2a2f08,_0x3e5d9a,_0x810f32){const _0x47e850=_0xa83917;this[_0x47e850(0x154)]=_0x3e5d9a||{},_0x810f32&&(this[_0x47e850(0x256)]=_0x810f32,this[_0x47e850(0x184)]=Buffer[_0x47e850(0x28a)](0x4)),this[_0x47e850(0x2ca)]=_0x2a2f08,this[_0x47e850(0x1fb)]=!0x0,this['_compress']=!0x1,this[_0x47e850(0x15f)]=0x0,this[_0x47e850(0x13e)]=[],this[_0x47e850(0x2db)]=_0x490bdd,this[_0x47e850(0x2c2)]=_0x31e668,this[_0x684511]=void 0x0;}static['frame'](_0x42dd8a,_0x2df46){const _0x4ac511=_0xa83917;let _0x143ecc,_0x553a32=!0x1,_0x31049d=0x2,_0x131940=!0x1;_0x2df46[_0x4ac511(0x233)]&&(_0x143ecc=_0x2df46['maskBuffer']||_0x59ec3b,_0x2df46[_0x4ac511(0x206)]?_0x2df46[_0x4ac511(0x206)](_0x143ecc):(_0x431dea===_0x134db0&&(_0x3dd2c4===void 0x0&&(_0x3dd2c4=Buffer['alloc'](_0x134db0)),_0x132cb8(_0x3dd2c4,0x0,_0x134db0),_0x431dea=0x0),_0x143ecc[0x0]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x1]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x2]=_0x3dd2c4[_0x431dea++],_0x143ecc[0x3]=_0x3dd2c4[_0x431dea++]),_0x131940=(_0x143ecc[0x0]|_0x143ecc[0x1]|_0x143ecc[0x2]|_0x143ecc[0x3])===0x0,_0x31049d=0x6);let _0x3bd8be;typeof _0x42dd8a=='string'?(!_0x2df46[_0x4ac511(0x233)]||_0x131940)&&_0x2df46[_0x3ae124]!==void 0x0?_0x3bd8be=_0x2df46[_0x3ae124]:(_0x42dd8a=Buffer[_0x4ac511(0x251)](_0x42dd8a),_0x3bd8be=_0x42dd8a[_0x4ac511(0x1b8)]):(_0x3bd8be=_0x42dd8a[_0x4ac511(0x1b8)],_0x553a32=_0x2df46['mask']&&_0x2df46[_0x4ac511(0x2a8)]&&!_0x131940);let _0x48ea12=_0x3bd8be;_0x3bd8be>=0x10000?(_0x31049d+=0x8,_0x48ea12=0x7f):_0x3bd8be>0x7d&&(_0x31049d+=0x2,_0x48ea12=0x7e);const _0x52624f=Buffer[_0x4ac511(0x283)](_0x553a32?_0x3bd8be+_0x31049d:_0x31049d);return _0x52624f[0x0]=_0x2df46[_0x4ac511(0x2d1)]?_0x2df46['opcode']|0x80:_0x2df46[_0x4ac511(0x277)],_0x2df46['rsv1']&&(_0x52624f[0x0]|=0x40),_0x52624f[0x1]=_0x48ea12,_0x48ea12===0x7e?_0x52624f[_0x4ac511(0x205)](_0x3bd8be,0x2):_0x48ea12===0x7f&&(_0x52624f[0x2]=_0x52624f[0x3]=0x0,_0x52624f[_0x4ac511(0x14b)](_0x3bd8be,0x4,0x6)),_0x2df46[_0x4ac511(0x233)]?(_0x52624f[0x1]|=0x80,_0x52624f[_0x31049d-0x4]=_0x143ecc[0x0],_0x52624f[_0x31049d-0x3]=_0x143ecc[0x1],_0x52624f[_0x31049d-0x2]=_0x143ecc[0x2],_0x52624f[_0x31049d-0x1]=_0x143ecc[0x3],_0x131940?[_0x52624f,_0x42dd8a]:_0x553a32?(_0x3d3241(_0x42dd8a,_0x143ecc,_0x52624f,_0x31049d,_0x3bd8be),[_0x52624f]):(_0x3d3241(_0x42dd8a,_0x143ecc,_0x42dd8a,0x0,_0x3bd8be),[_0x52624f,_0x42dd8a])):[_0x52624f,_0x42dd8a];}[_0xa83917(0x2d7)](_0x40a980,_0x5cb72d,_0x23b0bb,_0x2b17c9){const _0x38b4ff=_0xa83917;let _0x386683;if(_0x40a980===void 0x0)_0x386683=_0x3ad2cf;else{if(typeof _0x40a980!=_0x38b4ff(0x235)||!_0x3d5d68(_0x40a980))throw new TypeError(_0x38b4ff(0x2a3));if(_0x5cb72d===void 0x0||!_0x5cb72d['length'])_0x386683=Buffer[_0x38b4ff(0x283)](0x2),_0x386683[_0x38b4ff(0x205)](_0x40a980,0x0);else{const _0x4a30a5=Buffer[_0x38b4ff(0x151)](_0x5cb72d);if(_0x4a30a5>0x7b)throw new RangeError(_0x38b4ff(0x2b6));_0x386683=Buffer['allocUnsafe'](0x2+_0x4a30a5),_0x386683[_0x38b4ff(0x205)](_0x40a980,0x0),typeof _0x5cb72d==_0x38b4ff(0x20f)?_0x386683[_0x38b4ff(0x1b9)](_0x5cb72d,0x2):_0x386683[_0x38b4ff(0x1ed)](_0x5cb72d,0x2);}}const _0x1c0ab0={[_0x3ae124]:_0x386683['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x23b0bb,'maskBuffer':this[_0x38b4ff(0x184)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x490bdd?this[_0x38b4ff(0x216)]([this[_0x38b4ff(0x244)],_0x386683,!0x1,_0x1c0ab0,_0x2b17c9]):this['sendFrame'](_0x4c2616[_0x38b4ff(0x1d4)](_0x386683,_0x1c0ab0),_0x2b17c9);}[_0xa83917(0x2a2)](_0xadf9af,_0x2b7f00,_0x376cfd){const _0x290bce=_0xa83917;let _0x2ef06e,_0x426598;if(typeof _0xadf9af==_0x290bce(0x20f)?(_0x2ef06e=Buffer[_0x290bce(0x151)](_0xadf9af),_0x426598=!0x1):_0x1a4998(_0xadf9af)?(_0x2ef06e=_0xadf9af[_0x290bce(0x2a4)],_0x426598=!0x1):(_0xadf9af=_0x2e7746(_0xadf9af),_0x2ef06e=_0xadf9af[_0x290bce(0x1b8)],_0x426598=_0x2e7746[_0x290bce(0x2a8)]),_0x2ef06e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x20bb7b={[_0x3ae124]:_0x2ef06e,'fin':!0x0,'generateMask':this[_0x290bce(0x256)],'mask':_0x2b7f00,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x426598,'rsv1':!0x1};_0x1a4998(_0xadf9af)?this[_0x290bce(0x2db)]!==_0x490bdd?this[_0x290bce(0x216)]([this[_0x290bce(0x280)],_0xadf9af,!0x1,_0x20bb7b,_0x376cfd]):this[_0x290bce(0x280)](_0xadf9af,!0x1,_0x20bb7b,_0x376cfd):this['_state']!==_0x490bdd?this[_0x290bce(0x216)]([this['dispatch'],_0xadf9af,!0x1,_0x20bb7b,_0x376cfd]):this['sendFrame'](_0x4c2616[_0x290bce(0x1d4)](_0xadf9af,_0x20bb7b),_0x376cfd);}[_0xa83917(0x223)](_0x2915f1,_0x5b2819,_0x54db1a){const _0x586893=_0xa83917;let _0x582b74,_0x133870;if(typeof _0x2915f1=='string'?(_0x582b74=Buffer['byteLength'](_0x2915f1),_0x133870=!0x1):_0x1a4998(_0x2915f1)?(_0x582b74=_0x2915f1[_0x586893(0x2a4)],_0x133870=!0x1):(_0x2915f1=_0x2e7746(_0x2915f1),_0x582b74=_0x2915f1[_0x586893(0x1b8)],_0x133870=_0x2e7746[_0x586893(0x2a8)]),_0x582b74>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x44ff26={[_0x3ae124]:_0x582b74,'fin':!0x0,'generateMask':this[_0x586893(0x256)],'mask':_0x5b2819,'maskBuffer':this[_0x586893(0x184)],'opcode':0xa,'readOnly':_0x133870,'rsv1':!0x1};_0x1a4998(_0x2915f1)?this[_0x586893(0x2db)]!==_0x490bdd?this[_0x586893(0x216)]([this[_0x586893(0x280)],_0x2915f1,!0x1,_0x44ff26,_0x54db1a]):this[_0x586893(0x280)](_0x2915f1,!0x1,_0x44ff26,_0x54db1a):this[_0x586893(0x2db)]!==_0x490bdd?this[_0x586893(0x216)]([this['dispatch'],_0x2915f1,!0x1,_0x44ff26,_0x54db1a]):this[_0x586893(0x210)](_0x4c2616[_0x586893(0x1d4)](_0x2915f1,_0x44ff26),_0x54db1a);}['send'](_0x4ed65f,_0x287c86,_0x3eec96){const _0x25a259=_0xa83917,_0x48e154=this[_0x25a259(0x154)][_0x566746[_0x25a259(0x247)]];let _0x2708ff=_0x287c86[_0x25a259(0x28b)]?0x2:0x1,_0xc8328e=_0x287c86[_0x25a259(0x281)],_0x22197f,_0x54ab2b;typeof _0x4ed65f==_0x25a259(0x20f)?(_0x22197f=Buffer[_0x25a259(0x151)](_0x4ed65f),_0x54ab2b=!0x1):_0x1a4998(_0x4ed65f)?(_0x22197f=_0x4ed65f[_0x25a259(0x2a4)],_0x54ab2b=!0x1):(_0x4ed65f=_0x2e7746(_0x4ed65f),_0x22197f=_0x4ed65f['length'],_0x54ab2b=_0x2e7746[_0x25a259(0x2a8)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0xc8328e&&_0x48e154&&_0x48e154[_0x25a259(0x182)][_0x48e154['_isServer']?_0x25a259(0x1b3):'client_no_context_takeover']&&(_0xc8328e=_0x22197f>=_0x48e154[_0x25a259(0x26f)]),this[_0x25a259(0x253)]=_0xc8328e):(_0xc8328e=!0x1,_0x2708ff=0x0),_0x287c86[_0x25a259(0x2d1)]&&(this[_0x25a259(0x1fb)]=!0x0);const _0x2d57b1={[_0x3ae124]:_0x22197f,'fin':_0x287c86[_0x25a259(0x2d1)],'generateMask':this[_0x25a259(0x256)],'mask':_0x287c86[_0x25a259(0x233)],'maskBuffer':this[_0x25a259(0x184)],'opcode':_0x2708ff,'readOnly':_0x54ab2b,'rsv1':_0xc8328e};_0x1a4998(_0x4ed65f)?this[_0x25a259(0x2db)]!==_0x490bdd?this[_0x25a259(0x216)]([this['getBlobData'],_0x4ed65f,this[_0x25a259(0x253)],_0x2d57b1,_0x3eec96]):this['getBlobData'](_0x4ed65f,this[_0x25a259(0x253)],_0x2d57b1,_0x3eec96):this[_0x25a259(0x2db)]!==_0x490bdd?this[_0x25a259(0x216)]([this[_0x25a259(0x244)],_0x4ed65f,this['_compress'],_0x2d57b1,_0x3eec96]):this['dispatch'](_0x4ed65f,this['_compress'],_0x2d57b1,_0x3eec96);}[_0xa83917(0x280)](_0x264cfb,_0x3de0bc,_0x4de73e,_0x31ff37){const _0x5674bb=_0xa83917;this['_bufferedBytes']+=_0x4de73e[_0x3ae124],this[_0x5674bb(0x2db)]=_0x2d4677,_0x264cfb[_0x5674bb(0x20b)]()[_0x5674bb(0x254)](_0x359099=>{const _0x42b1fc=_0x5674bb;if(this[_0x42b1fc(0x2ca)][_0x42b1fc(0x158)]){const _0x47010f=new Error(_0x42b1fc(0x23e));process[_0x42b1fc(0x1c4)](_0x26a853,this,_0x47010f,_0x31ff37);return;}this[_0x42b1fc(0x15f)]-=_0x4de73e[_0x3ae124];const _0x528ae0=_0x2e7746(_0x359099);_0x3de0bc?this['dispatch'](_0x528ae0,_0x3de0bc,_0x4de73e,_0x31ff37):(this[_0x42b1fc(0x2db)]=_0x490bdd,this[_0x42b1fc(0x210)](_0x4c2616[_0x42b1fc(0x1d4)](_0x528ae0,_0x4de73e),_0x31ff37),this[_0x42b1fc(0x1c7)]());})['catch'](_0x1cd0f5=>{const _0x386a2b=_0x5674bb;process[_0x386a2b(0x1c4)](_0x87934d,this,_0x1cd0f5,_0x31ff37);});}[_0xa83917(0x244)](_0x5c3831,_0x3e8436,_0x5f3227,_0x33da89){const _0x266f3b=_0xa83917;if(!_0x3e8436){this['sendFrame'](_0x4c2616[_0x266f3b(0x1d4)](_0x5c3831,_0x5f3227),_0x33da89);return;}const _0x5624ac=this[_0x266f3b(0x154)][_0x566746[_0x266f3b(0x247)]];this[_0x266f3b(0x15f)]+=_0x5f3227[_0x3ae124],this[_0x266f3b(0x2db)]=_0x10d611,_0x5624ac[_0x266f3b(0x281)](_0x5c3831,_0x5f3227['fin'],(_0x3247fe,_0x416938)=>{const _0x45ce66=_0x266f3b;if(this['_socket'][_0x45ce66(0x158)]){const _0x2e3344=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x26a853(this,_0x2e3344,_0x33da89);return;}this[_0x45ce66(0x15f)]-=_0x5f3227[_0x3ae124],this[_0x45ce66(0x2db)]=_0x490bdd,_0x5f3227['readOnly']=!0x1,this[_0x45ce66(0x210)](_0x4c2616[_0x45ce66(0x1d4)](_0x416938,_0x5f3227),_0x33da89),this[_0x45ce66(0x1c7)]();});}[_0xa83917(0x1c7)](){const _0x376818=_0xa83917;for(;this[_0x376818(0x2db)]===_0x490bdd&&this[_0x376818(0x13e)]['length'];){const _0x1244bb=this[_0x376818(0x13e)]['shift']();this[_0x376818(0x15f)]-=_0x1244bb[0x3][_0x3ae124],Reflect['apply'](_0x1244bb[0x0],this,_0x1244bb['slice'](0x1));}}[_0xa83917(0x216)](_0x99d32d){const _0x2d3f1f=_0xa83917;this[_0x2d3f1f(0x15f)]+=_0x99d32d[0x3][_0x3ae124],this[_0x2d3f1f(0x13e)][_0x2d3f1f(0x22f)](_0x99d32d);}[_0xa83917(0x210)](_0x3a7530,_0x416bac){const _0x27cb0f=_0xa83917;_0x3a7530[_0x27cb0f(0x1b8)]===0x2?(this[_0x27cb0f(0x2ca)][_0x27cb0f(0x262)](),this[_0x27cb0f(0x2ca)]['write'](_0x3a7530[0x0]),this['_socket'][_0x27cb0f(0x1b9)](_0x3a7530[0x1],_0x416bac),this[_0x27cb0f(0x2ca)][_0x27cb0f(0x2b1)]()):this[_0x27cb0f(0x2ca)][_0x27cb0f(0x1b9)](_0x3a7530[0x0],_0x416bac);}}Ee=_0x4c2616;function _0x26a853(_0x158161,_0x37ae27,_0x51f3de){const _0x45beab=_0xa83917;typeof _0x51f3de==_0x45beab(0x130)&&_0x51f3de(_0x37ae27);for(let _0x50db62=0x0;_0x50db62<_0x158161[_0x45beab(0x13e)][_0x45beab(0x1b8)];_0x50db62++){const _0x2bf9aa=_0x158161[_0x45beab(0x13e)][_0x50db62],_0x46b4e2=_0x2bf9aa[_0x2bf9aa[_0x45beab(0x1b8)]-0x1];typeof _0x46b4e2=='function'&&_0x46b4e2(_0x37ae27);}}function _0x87934d(_0x201d47,_0x52f8a5,_0x9a8c72){const _0x147da7=_0xa83917;_0x26a853(_0x201d47,_0x52f8a5,_0x9a8c72),_0x201d47[_0x147da7(0x2c2)](_0x52f8a5);}return Ee;}var xe,tt;function Kt(){const _0xf789c7=_0x3e7491;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5c388b,kListener:_0x158d6c}=V(),_0x3cd573=Symbol(_0xf789c7(0x21d)),_0x109748=Symbol(_0xf789c7(0x1a2)),_0x55c3b0=Symbol(_0xf789c7(0x2b5)),_0x79f5b0=Symbol('kMessage'),_0x4fe828=Symbol(_0xf789c7(0x1e9)),_0x4129d2=Symbol(_0xf789c7(0x24e)),_0x14d0fc=Symbol('kType'),_0x33d7ed=Symbol(_0xf789c7(0x13b));class _0x267d72{constructor(_0x3159f8){this[_0x4129d2]=null,this[_0x14d0fc]=_0x3159f8;}get['target'](){return this[_0x4129d2];}get[_0xf789c7(0x14a)](){return this[_0x14d0fc];}}Object[_0xf789c7(0x1c6)](_0x267d72[_0xf789c7(0x271)],_0xf789c7(0x1bd),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x267d72[_0xf789c7(0x271)],_0xf789c7(0x14a),{'enumerable':!0x0});class _0x132300 extends _0x267d72{constructor(_0x19aece,_0x576bc4={}){const _0x2ba23b=_0xf789c7;super(_0x19aece),this[_0x3cd573]=_0x576bc4['code']===void 0x0?0x0:_0x576bc4[_0x2ba23b(0x292)],this[_0x4fe828]=_0x576bc4[_0x2ba23b(0x141)]===void 0x0?'':_0x576bc4[_0x2ba23b(0x141)],this[_0x33d7ed]=_0x576bc4[_0x2ba23b(0x145)]===void 0x0?!0x1:_0x576bc4[_0x2ba23b(0x145)];}get[_0xf789c7(0x292)](){return this[_0x3cd573];}get[_0xf789c7(0x141)](){return this[_0x4fe828];}get['wasClean'](){return this[_0x33d7ed];}}Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x292),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x141),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x132300[_0xf789c7(0x271)],_0xf789c7(0x145),{'enumerable':!0x0});class _0x25aa99 extends _0x267d72{constructor(_0x11fe81,_0x563c50={}){const _0x6107ea=_0xf789c7;super(_0x11fe81),this[_0x55c3b0]=_0x563c50[_0x6107ea(0x180)]===void 0x0?null:_0x563c50[_0x6107ea(0x180)],this[_0x79f5b0]=_0x563c50[_0x6107ea(0x186)]===void 0x0?'':_0x563c50[_0x6107ea(0x186)];}get[_0xf789c7(0x180)](){return this[_0x55c3b0];}get[_0xf789c7(0x186)](){return this[_0x79f5b0];}}Object[_0xf789c7(0x1c6)](_0x25aa99[_0xf789c7(0x271)],_0xf789c7(0x180),{'enumerable':!0x0}),Object[_0xf789c7(0x1c6)](_0x25aa99['prototype'],_0xf789c7(0x186),{'enumerable':!0x0});class _0x1f9159 extends _0x267d72{constructor(_0x4bc5b3,_0x36d825={}){const _0x39a31e=_0xf789c7;super(_0x4bc5b3),this[_0x109748]=_0x36d825[_0x39a31e(0x225)]===void 0x0?null:_0x36d825[_0x39a31e(0x225)];}get[_0xf789c7(0x225)](){return this[_0x109748];}}Object[_0xf789c7(0x1c6)](_0x1f9159[_0xf789c7(0x271)],_0xf789c7(0x225),{'enumerable':!0x0}),xe={'CloseEvent':_0x132300,'ErrorEvent':_0x25aa99,'Event':_0x267d72,'EventTarget':{'addEventListener'(_0x38fbd7,_0x5e123d,_0x38f1aa={}){const _0x5bc49e=_0xf789c7;for(const _0x127cd5 of this[_0x5bc49e(0x1f3)](_0x38fbd7))if(!_0x38f1aa[_0x5c388b]&&_0x127cd5[_0x158d6c]===_0x5e123d&&!_0x127cd5[_0x5c388b])return;let _0x31a7ac;if(_0x38fbd7===_0x5bc49e(0x186))_0x31a7ac=function(_0x1f0a25,_0x37657b){const _0x3c1752=_0x5bc49e,_0x3f6b47=new _0x1f9159(_0x3c1752(0x186),{'data':_0x37657b?_0x1f0a25:_0x1f0a25[_0x3c1752(0x198)]()});_0x3f6b47[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0x3f6b47);};else{if(_0x38fbd7===_0x5bc49e(0x2d7))_0x31a7ac=function(_0x373928,_0x2faf40){const _0x5355c8=_0x5bc49e,_0xe70e09=new _0x132300('close',{'code':_0x373928,'reason':_0x2faf40[_0x5355c8(0x198)](),'wasClean':this['_closeFrameReceived']&&this[_0x5355c8(0x202)]});_0xe70e09[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0xe70e09);};else{if(_0x38fbd7===_0x5bc49e(0x180))_0x31a7ac=function(_0x34a4ac){const _0x2d3d08=_0x5bc49e,_0xb1aef8=new _0x25aa99(_0x2d3d08(0x180),{'error':_0x34a4ac,'message':_0x34a4ac[_0x2d3d08(0x186)]});_0xb1aef8[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0xb1aef8);};else{if(_0x38fbd7===_0x5bc49e(0x2b9))_0x31a7ac=function(){const _0x18564f=_0x5bc49e,_0x34fb6c=new _0x267d72(_0x18564f(0x2b9));_0x34fb6c[_0x4129d2]=this,_0x4490fa(_0x5e123d,this,_0x34fb6c);};else return;}}}_0x31a7ac[_0x5c388b]=!!_0x38f1aa[_0x5c388b],_0x31a7ac[_0x158d6c]=_0x5e123d,_0x38f1aa[_0x5bc49e(0x1b6)]?this[_0x5bc49e(0x1b6)](_0x38fbd7,_0x31a7ac):this['on'](_0x38fbd7,_0x31a7ac);},'removeEventListener'(_0x5c9852,_0x1b29cf){const _0xb95f5=_0xf789c7;for(const _0x39b35b of this[_0xb95f5(0x1f3)](_0x5c9852))if(_0x39b35b[_0x158d6c]===_0x1b29cf&&!_0x39b35b[_0x5c388b]){this[_0xb95f5(0x13a)](_0x5c9852,_0x39b35b);break;}}},'MessageEvent':_0x1f9159};function _0x4490fa(_0x51ae94,_0x23e073,_0x481700){const _0x71e98e=_0xf789c7;typeof _0x51ae94==_0x71e98e(0x1a9)&&_0x51ae94[_0x71e98e(0x2b2)]?_0x51ae94[_0x71e98e(0x2b2)][_0x71e98e(0x178)](_0x51ae94,_0x481700):_0x51ae94[_0x71e98e(0x178)](_0x23e073,_0x481700);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x368743}=ne();function _0x3c071f(_0x1dcbc9,_0x8f3d98,_0x5d0a8f){const _0x19be8d=_0x1da9;_0x1dcbc9[_0x8f3d98]===void 0x0?_0x1dcbc9[_0x8f3d98]=[_0x5d0a8f]:_0x1dcbc9[_0x8f3d98][_0x19be8d(0x22f)](_0x5d0a8f);}function _0x1d4bae(_0x1f3eef){const _0x1f5cc4=_0x1da9,_0x21e28f=Object[_0x1f5cc4(0x24a)](null);let _0x2bb1a2=Object['create'](null),_0x458137=!0x1,_0x2a230d=!0x1,_0x3866b7=!0x1,_0x27ffde,_0x49848a,_0x4fd469=-0x1,_0x27ee34=-0x1,_0xf0139c=-0x1,_0xb2ab0f=0x0;for(;_0xb2ab0f<_0x1f3eef['length'];_0xb2ab0f++)if(_0x27ee34=_0x1f3eef[_0x1f5cc4(0x1c3)](_0xb2ab0f),_0x27ffde===void 0x0){if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0xb2ab0f!==0x0&&(_0x27ee34===0x20||_0x27ee34===0x9))_0xf0139c===-0x1&&_0x4fd469!==-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);const _0x6faf84=_0x1f3eef['slice'](_0x4fd469,_0xf0139c);_0x27ee34===0x2c?(_0x3c071f(_0x21e28f,_0x6faf84,_0x2bb1a2),_0x2bb1a2=Object[_0x1f5cc4(0x24a)](null)):_0x27ffde=_0x6faf84,_0x4fd469=_0xf0139c=-0x1;}else throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);}}}else{if(_0x49848a===void 0x0){if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x27ee34===0x20||_0x27ee34===0x9)_0xf0139c===-0x1&&_0x4fd469!==-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f),_0x3c071f(_0x2bb1a2,_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c),!0x0),_0x27ee34===0x2c&&(_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2),_0x2bb1a2=Object[_0x1f5cc4(0x24a)](null),_0x27ffde=void 0x0),_0x4fd469=_0xf0139c=-0x1;}else{if(_0x27ee34===0x3d&&_0x4fd469!==-0x1&&_0xf0139c===-0x1)_0x49848a=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xb2ab0f),_0x4fd469=_0xf0139c=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);}}}}else{if(_0x2a230d){if(_0x368743[_0x27ee34]!==0x1)throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);_0x4fd469===-0x1?_0x4fd469=_0xb2ab0f:_0x458137||(_0x458137=!0x0),_0x2a230d=!0x1;}else{if(_0x3866b7){if(_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x27ee34===0x22&&_0x4fd469!==-0x1)_0x3866b7=!0x1,_0xf0139c=_0xb2ab0f;else{if(_0x27ee34===0x5c)_0x2a230d=!0x0;else throw new SyntaxError(_0x1f5cc4(0x2b3)+_0xb2ab0f);}}}else{if(_0x27ee34===0x22&&_0x1f3eef[_0x1f5cc4(0x1c3)](_0xb2ab0f-0x1)===0x3d)_0x3866b7=!0x0;else{if(_0xf0139c===-0x1&&_0x368743[_0x27ee34]===0x1)_0x4fd469===-0x1&&(_0x4fd469=_0xb2ab0f);else{if(_0x4fd469!==-0x1&&(_0x27ee34===0x20||_0x27ee34===0x9))_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);else{if(_0x27ee34===0x3b||_0x27ee34===0x2c){if(_0x4fd469===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);let _0x19b46c=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c);_0x458137&&(_0x19b46c=_0x19b46c[_0x1f5cc4(0x224)](/\\/g,''),_0x458137=!0x1),_0x3c071f(_0x2bb1a2,_0x49848a,_0x19b46c),_0x27ee34===0x2c&&(_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2),_0x2bb1a2=Object['create'](null),_0x27ffde=void 0x0),_0x49848a=void 0x0,_0x4fd469=_0xf0139c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xb2ab0f);}}}}}}}if(_0x4fd469===-0x1||_0x3866b7||_0x27ee34===0x20||_0x27ee34===0x9)throw new SyntaxError(_0x1f5cc4(0x20a));_0xf0139c===-0x1&&(_0xf0139c=_0xb2ab0f);const _0x1618ed=_0x1f3eef[_0x1f5cc4(0x222)](_0x4fd469,_0xf0139c);return _0x27ffde===void 0x0?_0x3c071f(_0x21e28f,_0x1618ed,_0x2bb1a2):(_0x49848a===void 0x0?_0x3c071f(_0x2bb1a2,_0x1618ed,!0x0):_0x458137?_0x3c071f(_0x2bb1a2,_0x49848a,_0x1618ed[_0x1f5cc4(0x224)](/\\/g,'')):_0x3c071f(_0x2bb1a2,_0x49848a,_0x1618ed),_0x3c071f(_0x21e28f,_0x27ffde,_0x2bb1a2)),_0x21e28f;}function _0x16f661(_0x431e82){const _0x38b7c4=_0x1da9;return Object['keys'](_0x431e82)[_0x38b7c4(0x25b)](_0x405b9c=>{const _0xa81a73=_0x38b7c4;let _0x5b7b13=_0x431e82[_0x405b9c];return Array[_0xa81a73(0x159)](_0x5b7b13)||(_0x5b7b13=[_0x5b7b13]),_0x5b7b13[_0xa81a73(0x25b)](_0x5d507a=>[_0x405b9c]['concat'](Object[_0xa81a73(0x149)](_0x5d507a)['map'](_0x36bd93=>{const _0x1b3023=_0xa81a73;let _0xd18725=_0x5d507a[_0x36bd93];return Array[_0x1b3023(0x159)](_0xd18725)||(_0xd18725=[_0xd18725]),_0xd18725['map'](_0x3bba2d=>_0x3bba2d===!0x0?_0x36bd93:_0x36bd93+'='+_0x3bba2d)['join'](';\x20');}))[_0xa81a73(0x174)](';\x20'))[_0xa81a73(0x174)](',\x20');})[_0x38b7c4(0x174)](',\x20');}return be={'format':_0x16f661,'parse':_0x1d4bae},be;}var we,st;function Ie(){const _0x5ad5f9=_0x3e7491;if(st)return we;st=0x1;const _0x188227=_0x30fedc,_0x12f155=_0x1d190d,_0x4e0739=_0x5ce828,_0x5c176c=_0x9ff531,_0x9e6add=_0x1a6001,{randomBytes:_0x51404a,createHash:_0x5d9a11}=_0x245205,{Duplex:_0x4569c2,Readable:_0x4c0ecb}=_0x18c39f,{URL:_0x21bc0c}=_0xe7a915,_0x14e1e9=he(),_0x2af6c1=dt(),_0x51539c=_t(),{isBlob:_0x1462a9}=ne(),{BINARY_TYPES:_0x206335,EMPTY_BUFFER:_0x24fe3a,GUID:_0x3f2bdf,kForOnEventAttribute:_0x4a3ee4,kListener:_0x20da57,kStatusCode:_0x3864ba,kWebSocket:_0x2e43ad,NOOP:_0x574680}=V(),{EventTarget:{addEventListener:_0x505ef8,removeEventListener:_0xe9a792}}=Kt(),{format:_0x5406fd,parse:_0x290ecf}=pt(),{toBuffer:_0x5649e5}=ce(),_0x4dde18=0x1e*0x3e8,_0x368751=Symbol('kAborted'),_0x16dd16=[0x8,0xd],_0x497291=['CONNECTING',_0x5ad5f9(0x187),_0x5ad5f9(0x218),_0x5ad5f9(0x162)],_0x3f3d7f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3f7084 extends _0x188227{constructor(_0x5957a3,_0x5414ec,_0x3f4a8c){const _0x352ecf=_0x5ad5f9;super(),this[_0x352ecf(0x199)]=_0x206335[0x0],this[_0x352ecf(0x279)]=0x3ee,this[_0x352ecf(0x1a4)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x352ecf(0x19f)]=_0x24fe3a,this[_0x352ecf(0x299)]=null,this[_0x352ecf(0x133)]=!0x1,this['_extensions']={},this[_0x352ecf(0x1f8)]=!0x1,this[_0x352ecf(0x131)]='',this[_0x352ecf(0x1a6)]=_0x3f7084['CONNECTING'],this[_0x352ecf(0x1a5)]=null,this[_0x352ecf(0x1d3)]=null,this['_socket']=null,_0x5957a3!==null?(this['_bufferedAmount']=0x0,this[_0x352ecf(0x181)]=!0x1,this[_0x352ecf(0x179)]=0x0,_0x5414ec===void 0x0?_0x5414ec=[]:Array[_0x352ecf(0x159)](_0x5414ec)||(typeof _0x5414ec==_0x352ecf(0x1a9)&&_0x5414ec!==null?(_0x3f4a8c=_0x5414ec,_0x5414ec=[]):_0x5414ec=[_0x5414ec]),_0x40fb8a(this,_0x5957a3,_0x5414ec,_0x3f4a8c)):(this[_0x352ecf(0x200)]=_0x3f4a8c[_0x352ecf(0x176)],this[_0x352ecf(0x181)]=!0x0);}get['binaryType'](){const _0x208b09=_0x5ad5f9;return this[_0x208b09(0x199)];}set['binaryType'](_0x5c0b1e){const _0xacd361=_0x5ad5f9;_0x206335[_0xacd361(0x1ce)](_0x5c0b1e)&&(this[_0xacd361(0x199)]=_0x5c0b1e,this[_0xacd361(0x1a5)]&&(this[_0xacd361(0x1a5)][_0xacd361(0x199)]=_0x5c0b1e));}get[_0x5ad5f9(0x285)](){const _0x3dc348=_0x5ad5f9;return this[_0x3dc348(0x2ca)]?this[_0x3dc348(0x2ca)][_0x3dc348(0x196)][_0x3dc348(0x1b8)]+this[_0x3dc348(0x1d3)][_0x3dc348(0x15f)]:this['_bufferedAmount'];}get[_0x5ad5f9(0x261)](){const _0x516ad4=_0x5ad5f9;return Object[_0x516ad4(0x149)](this[_0x516ad4(0x154)])[_0x516ad4(0x174)]();}get[_0x5ad5f9(0x242)](){const _0x4ffaca=_0x5ad5f9;return this[_0x4ffaca(0x1f8)];}get['onclose'](){return null;}get[_0x5ad5f9(0x2c2)](){return null;}get[_0x5ad5f9(0x15e)](){return null;}get[_0x5ad5f9(0x201)](){return null;}get[_0x5ad5f9(0x150)](){const _0x1657dd=_0x5ad5f9;return this[_0x1657dd(0x131)];}get[_0x5ad5f9(0x2b8)](){const _0x5bc377=_0x5ad5f9;return this[_0x5bc377(0x1a6)];}get['url'](){const _0x138f11=_0x5ad5f9;return this[_0x138f11(0x26a)];}[_0x5ad5f9(0x236)](_0x4d381d,_0x2f0a97,_0x466302){const _0x3cef96=_0x5ad5f9,_0x2e4673=new _0x2af6c1({'allowSynchronousEvents':_0x466302['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x3cef96(0x154)],'isServer':this[_0x3cef96(0x181)],'maxPayload':_0x466302[_0x3cef96(0x185)],'skipUTF8Validation':_0x466302[_0x3cef96(0x1c8)]}),_0x352f9a=new _0x51539c(_0x4d381d,this[_0x3cef96(0x154)],_0x466302['generateMask']);this['_receiver']=_0x2e4673,this[_0x3cef96(0x1d3)]=_0x352f9a,this[_0x3cef96(0x2ca)]=_0x4d381d,_0x2e4673[_0x2e43ad]=this,_0x352f9a[_0x2e43ad]=this,_0x4d381d[_0x2e43ad]=this,_0x2e4673['on'](_0x3cef96(0x15c),_0x35ddd6),_0x2e4673['on'](_0x3cef96(0x274),_0x1443fe),_0x2e4673['on'](_0x3cef96(0x180),_0x4d5ad4),_0x2e4673['on'](_0x3cef96(0x186),_0x144dcc),_0x2e4673['on'](_0x3cef96(0x2a2),_0xdf31be),_0x2e4673['on'](_0x3cef96(0x223),_0x596e24),_0x352f9a[_0x3cef96(0x2c2)]=_0x49eb65,_0x4d381d[_0x3cef96(0x1d5)]&&_0x4d381d[_0x3cef96(0x1d5)](0x0),_0x4d381d[_0x3cef96(0x23f)]&&_0x4d381d[_0x3cef96(0x23f)](),_0x2f0a97['length']>0x0&&_0x4d381d[_0x3cef96(0x14e)](_0x2f0a97),_0x4d381d['on']('close',_0x2c1839),_0x4d381d['on'](_0x3cef96(0x225),_0x537887),_0x4d381d['on'](_0x3cef96(0x293),_0x207356),_0x4d381d['on'](_0x3cef96(0x180),_0x6c02c7),this[_0x3cef96(0x1a6)]=_0x3f7084[_0x3cef96(0x187)],this['emit'](_0x3cef96(0x2b9));}[_0x5ad5f9(0x2c8)](){const _0x313879=_0x5ad5f9;if(!this[_0x313879(0x2ca)]){this[_0x313879(0x1a6)]=_0x3f7084['CLOSED'],this[_0x313879(0x170)]('close',this['_closeCode'],this[_0x313879(0x19f)]);return;}this[_0x313879(0x154)][_0x14e1e9['extensionName']]&&this[_0x313879(0x154)][_0x14e1e9[_0x313879(0x247)]][_0x313879(0x1eb)](),this[_0x313879(0x1a5)][_0x313879(0x239)](),this['_readyState']=_0x3f7084['CLOSED'],this['emit'](_0x313879(0x2d7),this[_0x313879(0x279)],this[_0x313879(0x19f)]);}[_0x5ad5f9(0x2d7)](_0x133814,_0x506162){const _0x57ab9d=_0x5ad5f9;if(this[_0x57ab9d(0x2b8)]!==_0x3f7084[_0x57ab9d(0x162)]){if(this[_0x57ab9d(0x2b8)]===_0x3f7084['CONNECTING']){_0x341e5d(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x57ab9d(0x2b8)]===_0x3f7084[_0x57ab9d(0x218)]){this[_0x57ab9d(0x202)]&&(this[_0x57ab9d(0x1a4)]||this[_0x57ab9d(0x1a5)][_0x57ab9d(0x196)][_0x57ab9d(0x1ca)])&&this[_0x57ab9d(0x2ca)]['end']();return;}this[_0x57ab9d(0x1a6)]=_0x3f7084[_0x57ab9d(0x218)],this[_0x57ab9d(0x1d3)][_0x57ab9d(0x2d7)](_0x133814,_0x506162,!this[_0x57ab9d(0x181)],_0x37a710=>{const _0x47b19f=_0x57ab9d;_0x37a710||(this[_0x47b19f(0x202)]=!0x0,(this[_0x47b19f(0x1a4)]||this[_0x47b19f(0x1a5)][_0x47b19f(0x196)][_0x47b19f(0x1ca)])&&this[_0x47b19f(0x2ca)][_0x47b19f(0x293)]());}),_0x550431(this);}}[_0x5ad5f9(0x1ff)](){const _0x169cd8=_0x5ad5f9;this['readyState']===_0x3f7084[_0x169cd8(0x2c9)]||this[_0x169cd8(0x2b8)]===_0x3f7084[_0x169cd8(0x162)]||(this[_0x169cd8(0x1f8)]=!0x0,this[_0x169cd8(0x2ca)][_0x169cd8(0x1ff)]());}[_0x5ad5f9(0x2a2)](_0x549d99,_0x3e502d,_0x16e852){const _0x4f158d=_0x5ad5f9;if(this['readyState']===_0x3f7084[_0x4f158d(0x2c9)])throw new Error(_0x4f158d(0x1ef));if(typeof _0x549d99=='function'?(_0x16e852=_0x549d99,_0x549d99=_0x3e502d=void 0x0):typeof _0x3e502d=='function'&&(_0x16e852=_0x3e502d,_0x3e502d=void 0x0),typeof _0x549d99==_0x4f158d(0x235)&&(_0x549d99=_0x549d99[_0x4f158d(0x198)]()),this[_0x4f158d(0x2b8)]!==_0x3f7084[_0x4f158d(0x187)]){_0x5af7a1(this,_0x549d99,_0x16e852);return;}_0x3e502d===void 0x0&&(_0x3e502d=!this[_0x4f158d(0x181)]),this[_0x4f158d(0x1d3)][_0x4f158d(0x2a2)](_0x549d99||_0x24fe3a,_0x3e502d,_0x16e852);}[_0x5ad5f9(0x223)](_0x1b5c81,_0x20a934,_0x4e1806){const _0x4df0ad=_0x5ad5f9;if(this[_0x4df0ad(0x2b8)]===_0x3f7084[_0x4df0ad(0x2c9)])throw new Error(_0x4df0ad(0x1ef));if(typeof _0x1b5c81==_0x4df0ad(0x130)?(_0x4e1806=_0x1b5c81,_0x1b5c81=_0x20a934=void 0x0):typeof _0x20a934==_0x4df0ad(0x130)&&(_0x4e1806=_0x20a934,_0x20a934=void 0x0),typeof _0x1b5c81==_0x4df0ad(0x235)&&(_0x1b5c81=_0x1b5c81[_0x4df0ad(0x198)]()),this[_0x4df0ad(0x2b8)]!==_0x3f7084['OPEN']){_0x5af7a1(this,_0x1b5c81,_0x4e1806);return;}_0x20a934===void 0x0&&(_0x20a934=!this['_isServer']),this[_0x4df0ad(0x1d3)][_0x4df0ad(0x223)](_0x1b5c81||_0x24fe3a,_0x20a934,_0x4e1806);}[_0x5ad5f9(0x12e)](){const _0x2955b2=_0x5ad5f9;this[_0x2955b2(0x2b8)]===_0x3f7084['CONNECTING']||this[_0x2955b2(0x2b8)]===_0x3f7084['CLOSED']||(this[_0x2955b2(0x1f8)]=!0x1,this[_0x2955b2(0x1a5)]['_writableState'][_0x2955b2(0x19e)]||this[_0x2955b2(0x2ca)][_0x2955b2(0x12e)]());}['send'](_0x7bcccd,_0x404067,_0x127bd5){const _0x175e81=_0x5ad5f9;if(this[_0x175e81(0x2b8)]===_0x3f7084[_0x175e81(0x2c9)])throw new Error(_0x175e81(0x1ef));if(typeof _0x404067=='function'&&(_0x127bd5=_0x404067,_0x404067={}),typeof _0x7bcccd=='number'&&(_0x7bcccd=_0x7bcccd[_0x175e81(0x198)]()),this['readyState']!==_0x3f7084[_0x175e81(0x187)]){_0x5af7a1(this,_0x7bcccd,_0x127bd5);return;}const _0x199931={'binary':typeof _0x7bcccd!=_0x175e81(0x20f),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x404067};this['_extensions'][_0x14e1e9[_0x175e81(0x247)]]||(_0x199931[_0x175e81(0x281)]=!0x1),this[_0x175e81(0x1d3)]['send'](_0x7bcccd||_0x24fe3a,_0x199931,_0x127bd5);}[_0x5ad5f9(0x17c)](){const _0x59e979=_0x5ad5f9;if(this['readyState']!==_0x3f7084['CLOSED']){if(this[_0x59e979(0x2b8)]===_0x3f7084[_0x59e979(0x2c9)]){_0x341e5d(this,this[_0x59e979(0x1df)],_0x59e979(0x1c2));return;}this['_socket']&&(this['_readyState']=_0x3f7084[_0x59e979(0x218)],this[_0x59e979(0x2ca)][_0x59e979(0x265)]());}}}Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x2c9),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x2c9))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],'CONNECTING',{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x2c9))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x187),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x187))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x187),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)]('OPEN')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,'CLOSING',{'enumerable':!0x0,'value':_0x497291['indexOf']('CLOSING')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x218),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x218))}),Object[_0x5ad5f9(0x1c6)](_0x3f7084,_0x5ad5f9(0x162),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)]('CLOSED')}),Object[_0x5ad5f9(0x1c6)](_0x3f7084[_0x5ad5f9(0x271)],_0x5ad5f9(0x162),{'enumerable':!0x0,'value':_0x497291[_0x5ad5f9(0x1e3)](_0x5ad5f9(0x162))}),[_0x5ad5f9(0x269),_0x5ad5f9(0x285),_0x5ad5f9(0x261),_0x5ad5f9(0x242),_0x5ad5f9(0x150),_0x5ad5f9(0x2b8),_0x5ad5f9(0x2d4)][_0x5ad5f9(0x209)](_0x1345ed=>{const _0x41ce47=_0x5ad5f9;Object[_0x41ce47(0x1c6)](_0x3f7084[_0x41ce47(0x271)],_0x1345ed,{'enumerable':!0x0});}),[_0x5ad5f9(0x2b9),_0x5ad5f9(0x180),'close',_0x5ad5f9(0x186)][_0x5ad5f9(0x209)](_0x191c56=>{const _0x296fd2=_0x5ad5f9;Object['defineProperty'](_0x3f7084[_0x296fd2(0x271)],'on'+_0x191c56,{'enumerable':!0x0,'get'(){const _0x2c4b7c=_0x296fd2;for(const _0x45ffb5 of this[_0x2c4b7c(0x1f3)](_0x191c56))if(_0x45ffb5[_0x4a3ee4])return _0x45ffb5[_0x20da57];return null;},'set'(_0x5a3e3a){const _0x1fe02f=_0x296fd2;for(const _0x4162e7 of this[_0x1fe02f(0x1f3)](_0x191c56))if(_0x4162e7[_0x4a3ee4]){this['removeListener'](_0x191c56,_0x4162e7);break;}typeof _0x5a3e3a==_0x1fe02f(0x130)&&this[_0x1fe02f(0x208)](_0x191c56,_0x5a3e3a,{[_0x4a3ee4]:!0x0});}});}),_0x3f7084[_0x5ad5f9(0x271)][_0x5ad5f9(0x208)]=_0x505ef8,_0x3f7084['prototype'][_0x5ad5f9(0x16e)]=_0xe9a792,we=_0x3f7084;function _0x40fb8a(_0x2a07f7,_0x5f528d,_0x36b5bd,_0x2ad15d){const _0x3ea14a=_0x5ad5f9,_0x52acbf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x16dd16[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2ad15d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3ea14a(0x215),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2a07f7['_autoPong']=_0x52acbf[_0x3ea14a(0x176)],!_0x16dd16[_0x3ea14a(0x1ce)](_0x52acbf[_0x3ea14a(0x13c)]))throw new RangeError(_0x3ea14a(0x1dd)+_0x52acbf['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x16dd16['join'](',\x20')+')');let _0x46156d;if(_0x5f528d instanceof _0x21bc0c)_0x46156d=_0x5f528d;else try{_0x46156d=new _0x21bc0c(_0x5f528d);}catch{throw new SyntaxError(_0x3ea14a(0x25c)+_0x5f528d);}_0x46156d[_0x3ea14a(0x150)]==='http:'?_0x46156d[_0x3ea14a(0x150)]=_0x3ea14a(0x1ec):_0x46156d[_0x3ea14a(0x150)]==='https:'&&(_0x46156d[_0x3ea14a(0x150)]='wss:'),_0x2a07f7[_0x3ea14a(0x26a)]=_0x46156d[_0x3ea14a(0x28c)];const _0x2264f8=_0x46156d['protocol']===_0x3ea14a(0x2a0),_0x2faafb=_0x46156d[_0x3ea14a(0x150)]===_0x3ea14a(0x1e4);let _0x2574b0;if(_0x46156d[_0x3ea14a(0x150)]!=='ws:'&&!_0x2264f8&&!_0x2faafb?_0x2574b0=_0x3ea14a(0x1ba):_0x2faafb&&!_0x46156d['pathname']?_0x2574b0='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x46156d[_0x3ea14a(0x29a)]&&(_0x2574b0=_0x3ea14a(0x197)),_0x2574b0){const _0x809c1a=new SyntaxError(_0x2574b0);if(_0x2a07f7[_0x3ea14a(0x179)]===0x0)throw _0x809c1a;_0x162688(_0x2a07f7,_0x809c1a);return;}const _0x3a1792=_0x2264f8?0x1bb:0x50,_0x21b031=_0x51404a(0x10)[_0x3ea14a(0x198)]('base64'),_0x3c9972=_0x2264f8?_0x12f155[_0x3ea14a(0x137)]:_0x4e0739[_0x3ea14a(0x137)],_0x1c88c4=new Set();let _0x7d023c;if(_0x52acbf[_0x3ea14a(0x252)]=_0x52acbf['createConnection']||(_0x2264f8?_0x8e028:_0xc6a99e),_0x52acbf[_0x3ea14a(0x167)]=_0x52acbf[_0x3ea14a(0x167)]||_0x3a1792,_0x52acbf['port']=_0x46156d[_0x3ea14a(0x1b1)]||_0x3a1792,_0x52acbf['host']=_0x46156d[_0x3ea14a(0x287)]['startsWith']('[')?_0x46156d[_0x3ea14a(0x287)][_0x3ea14a(0x222)](0x1,-0x1):_0x46156d['hostname'],_0x52acbf[_0x3ea14a(0x1f9)]={..._0x52acbf['headers'],'Sec-WebSocket-Version':_0x52acbf['protocolVersion'],'Sec-WebSocket-Key':_0x21b031,'Connection':_0x3ea14a(0x18d),'Upgrade':_0x3ea14a(0x267)},_0x52acbf[_0x3ea14a(0x1ee)]=_0x46156d[_0x3ea14a(0x26c)]+_0x46156d[_0x3ea14a(0x2dd)],_0x52acbf[_0x3ea14a(0x249)]=_0x52acbf[_0x3ea14a(0x2af)],_0x52acbf['perMessageDeflate']&&(_0x7d023c=new _0x14e1e9(_0x52acbf[_0x3ea14a(0x24d)]!==!0x0?_0x52acbf[_0x3ea14a(0x24d)]:{},!0x1,_0x52acbf[_0x3ea14a(0x185)]),_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x259)]=_0x5406fd({[_0x14e1e9[_0x3ea14a(0x247)]]:_0x7d023c['offer']()})),_0x36b5bd['length']){for(const _0x5bc3c5 of _0x36b5bd){if(typeof _0x5bc3c5!=_0x3ea14a(0x20f)||!_0x3f3d7f[_0x3ea14a(0x22d)](_0x5bc3c5)||_0x1c88c4[_0x3ea14a(0x163)](_0x5bc3c5))throw new SyntaxError(_0x3ea14a(0x142));_0x1c88c4['add'](_0x5bc3c5);}_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x1fa)]=_0x36b5bd[_0x3ea14a(0x174)](',');}if(_0x52acbf[_0x3ea14a(0x2c1)]&&(_0x52acbf[_0x3ea14a(0x13c)]<0xd?_0x52acbf['headers'][_0x3ea14a(0x165)]=_0x52acbf[_0x3ea14a(0x2c1)]:_0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x27d)]=_0x52acbf[_0x3ea14a(0x2c1)]),(_0x46156d[_0x3ea14a(0x144)]||_0x46156d[_0x3ea14a(0x2c7)])&&(_0x52acbf[_0x3ea14a(0x1a8)]=_0x46156d[_0x3ea14a(0x144)]+':'+_0x46156d[_0x3ea14a(0x2c7)]),_0x2faafb){const _0x747293=_0x52acbf['path'][_0x3ea14a(0x166)](':');_0x52acbf[_0x3ea14a(0x2ac)]=_0x747293[0x0],_0x52acbf['path']=_0x747293[0x1];}let _0x29000b;if(_0x52acbf[_0x3ea14a(0x248)]){if(_0x2a07f7[_0x3ea14a(0x179)]===0x0){_0x2a07f7[_0x3ea14a(0x2b0)]=_0x2faafb,_0x2a07f7[_0x3ea14a(0x20c)]=_0x2264f8,_0x2a07f7[_0x3ea14a(0x2bc)]=_0x2faafb?_0x52acbf[_0x3ea14a(0x2ac)]:_0x46156d[_0x3ea14a(0x21c)];const _0x28068f=_0x2ad15d&&_0x2ad15d[_0x3ea14a(0x1f9)];if(_0x2ad15d={..._0x2ad15d,'headers':{}},_0x28068f){for(const [_0x1b2f25,_0x1a08d8]of Object[_0x3ea14a(0x296)](_0x28068f))_0x2ad15d[_0x3ea14a(0x1f9)][_0x1b2f25[_0x3ea14a(0x2cf)]()]=_0x1a08d8;}}else{if(_0x2a07f7[_0x3ea14a(0x1dc)](_0x3ea14a(0x1af))===0x0){const _0x2cb930=_0x2faafb?_0x2a07f7[_0x3ea14a(0x2b0)]?_0x52acbf[_0x3ea14a(0x2ac)]===_0x2a07f7[_0x3ea14a(0x2bc)]:!0x1:_0x2a07f7['_originalIpc']?!0x1:_0x46156d[_0x3ea14a(0x21c)]===_0x2a07f7[_0x3ea14a(0x2bc)];(!_0x2cb930||_0x2a07f7[_0x3ea14a(0x20c)]&&!_0x2264f8)&&(delete _0x52acbf[_0x3ea14a(0x1f9)]['authorization'],delete _0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x2ae)],_0x2cb930||delete _0x52acbf[_0x3ea14a(0x1f9)][_0x3ea14a(0x21c)],_0x52acbf['auth']=void 0x0);}}_0x52acbf[_0x3ea14a(0x1a8)]&&!_0x2ad15d[_0x3ea14a(0x1f9)][_0x3ea14a(0x2aa)]&&(_0x2ad15d[_0x3ea14a(0x1f9)][_0x3ea14a(0x2aa)]=_0x3ea14a(0x2ab)+Buffer[_0x3ea14a(0x251)](_0x52acbf['auth'])['toString'](_0x3ea14a(0x22e))),_0x29000b=_0x2a07f7[_0x3ea14a(0x1df)]=_0x3c9972(_0x52acbf),_0x2a07f7[_0x3ea14a(0x179)]&&_0x2a07f7['emit'](_0x3ea14a(0x1af),_0x2a07f7[_0x3ea14a(0x2d4)],_0x29000b);}else _0x29000b=_0x2a07f7[_0x3ea14a(0x1df)]=_0x3c9972(_0x52acbf);_0x52acbf['timeout']&&_0x29000b['on']('timeout',()=>{const _0x3d2bc6=_0x3ea14a;_0x341e5d(_0x2a07f7,_0x29000b,_0x3d2bc6(0x2d5));}),_0x29000b['on'](_0x3ea14a(0x180),_0x30f9de=>{const _0x23efda=_0x3ea14a;_0x29000b===null||_0x29000b[_0x368751]||(_0x29000b=_0x2a07f7[_0x23efda(0x1df)]=null,_0x162688(_0x2a07f7,_0x30f9de));}),_0x29000b['on'](_0x3ea14a(0x172),_0x1f8585=>{const _0x597cfb=_0x3ea14a,_0x348307=_0x1f8585[_0x597cfb(0x1f9)][_0x597cfb(0x1b5)],_0x2511a0=_0x1f8585[_0x597cfb(0x1d8)];if(_0x348307&&_0x52acbf['followRedirects']&&_0x2511a0>=0x12c&&_0x2511a0<0x190){if(++_0x2a07f7['_redirects']>_0x52acbf[_0x597cfb(0x1d7)]){_0x341e5d(_0x2a07f7,_0x29000b,'Maximum\x20redirects\x20exceeded');return;}_0x29000b[_0x597cfb(0x2c3)]();let _0x5aff5e;try{_0x5aff5e=new _0x21bc0c(_0x348307,_0x5f528d);}catch{const _0x57b7a6=new SyntaxError('Invalid\x20URL:\x20'+_0x348307);_0x162688(_0x2a07f7,_0x57b7a6);return;}_0x40fb8a(_0x2a07f7,_0x5aff5e,_0x36b5bd,_0x2ad15d);}else _0x2a07f7[_0x597cfb(0x170)](_0x597cfb(0x139),_0x29000b,_0x1f8585)||_0x341e5d(_0x2a07f7,_0x29000b,_0x597cfb(0x143)+_0x1f8585[_0x597cfb(0x1d8)]);}),_0x29000b['on'](_0x3ea14a(0x29b),(_0x1fc15f,_0x1a1fe2,_0xc463a8)=>{const _0x1e7b7c=_0x3ea14a;if(_0x2a07f7[_0x1e7b7c(0x170)](_0x1e7b7c(0x29b),_0x1fc15f),_0x2a07f7['readyState']!==_0x3f7084[_0x1e7b7c(0x2c9)])return;_0x29000b=_0x2a07f7['_req']=null;const _0x11f018=_0x1fc15f['headers'][_0x1e7b7c(0x29b)];if(_0x11f018===void 0x0||_0x11f018[_0x1e7b7c(0x2cf)]()!==_0x1e7b7c(0x267)){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x157));return;}const _0x32302d=_0x5d9a11(_0x1e7b7c(0x14c))[_0x1e7b7c(0x138)](_0x21b031+_0x3f2bdf)[_0x1e7b7c(0x290)]('base64');if(_0x1fc15f[_0x1e7b7c(0x1f9)]['sec-websocket-accept']!==_0x32302d){_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x356561=_0x1fc15f[_0x1e7b7c(0x1f9)][_0x1e7b7c(0x221)];let _0x8c574c;if(_0x356561!==void 0x0?_0x1c88c4[_0x1e7b7c(0x2a4)]?_0x1c88c4['has'](_0x356561)||(_0x8c574c=_0x1e7b7c(0x213)):_0x8c574c=_0x1e7b7c(0x19a):_0x1c88c4[_0x1e7b7c(0x2a4)]&&(_0x8c574c=_0x1e7b7c(0x25a)),_0x8c574c){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x8c574c);return;}_0x356561&&(_0x2a07f7['_protocol']=_0x356561);const _0x597dec=_0x1fc15f[_0x1e7b7c(0x1f9)][_0x1e7b7c(0x16c)];if(_0x597dec!==void 0x0){if(!_0x7d023c){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x284));return;}let _0x3fb514;try{_0x3fb514=_0x290ecf(_0x597dec);}catch{_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x49e970=Object[_0x1e7b7c(0x149)](_0x3fb514);if(_0x49e970['length']!==0x1||_0x49e970[0x0]!==_0x14e1e9[_0x1e7b7c(0x247)]){_0x341e5d(_0x2a07f7,_0x1a1fe2,_0x1e7b7c(0x24b));return;}try{_0x7d023c[_0x1e7b7c(0x1a3)](_0x3fb514[_0x14e1e9[_0x1e7b7c(0x247)]]);}catch{_0x341e5d(_0x2a07f7,_0x1a1fe2,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2a07f7[_0x1e7b7c(0x154)][_0x14e1e9['extensionName']]=_0x7d023c;}_0x2a07f7['setSocket'](_0x1a1fe2,_0xc463a8,{'allowSynchronousEvents':_0x52acbf['allowSynchronousEvents'],'generateMask':_0x52acbf['generateMask'],'maxPayload':_0x52acbf[_0x1e7b7c(0x185)],'skipUTF8Validation':_0x52acbf[_0x1e7b7c(0x1c8)]});}),_0x52acbf['finishRequest']?_0x52acbf[_0x3ea14a(0x164)](_0x29000b,_0x2a07f7):_0x29000b[_0x3ea14a(0x293)]();}function _0x162688(_0x13f282,_0x55827d){const _0xa06e13=_0x5ad5f9;_0x13f282[_0xa06e13(0x1a6)]=_0x3f7084[_0xa06e13(0x218)],_0x13f282[_0xa06e13(0x133)]=!0x0,_0x13f282[_0xa06e13(0x170)](_0xa06e13(0x180),_0x55827d),_0x13f282[_0xa06e13(0x2c8)]();}function _0xc6a99e(_0x1461f6){const _0x842ad2=_0x5ad5f9;return _0x1461f6[_0x842ad2(0x1ee)]=_0x1461f6['socketPath'],_0x5c176c[_0x842ad2(0x193)](_0x1461f6);}function _0x8e028(_0x1e979c){const _0x123673=_0x5ad5f9;return _0x1e979c[_0x123673(0x1ee)]=void 0x0,!_0x1e979c[_0x123673(0x2dc)]&&_0x1e979c[_0x123673(0x2dc)]!==''&&(_0x1e979c[_0x123673(0x2dc)]=_0x5c176c['isIP'](_0x1e979c['host'])?'':_0x1e979c[_0x123673(0x21c)]),_0x9e6add[_0x123673(0x193)](_0x1e979c);}function _0x341e5d(_0x19615a,_0x33e559,_0x2ff217){const _0x40b6b5=_0x5ad5f9;_0x19615a['_readyState']=_0x3f7084['CLOSING'];const _0x2c9459=new Error(_0x2ff217);Error['captureStackTrace'](_0x2c9459,_0x341e5d),_0x33e559[_0x40b6b5(0x21e)]?(_0x33e559[_0x368751]=!0x0,_0x33e559[_0x40b6b5(0x2c3)](),_0x33e559[_0x40b6b5(0x192)]&&!_0x33e559[_0x40b6b5(0x192)][_0x40b6b5(0x158)]&&_0x33e559[_0x40b6b5(0x192)][_0x40b6b5(0x265)](),process[_0x40b6b5(0x1c4)](_0x162688,_0x19615a,_0x2c9459)):(_0x33e559[_0x40b6b5(0x265)](_0x2c9459),_0x33e559['once'](_0x40b6b5(0x180),_0x19615a[_0x40b6b5(0x170)]['bind'](_0x19615a,'error')),_0x33e559[_0x40b6b5(0x1b6)]('close',_0x19615a['emitClose'][_0x40b6b5(0x1e8)](_0x19615a)));}function _0x5af7a1(_0x2f147f,_0x5bf5e0,_0x315a1f){const _0x395cbb=_0x5ad5f9;if(_0x5bf5e0){const _0x1f3102=_0x1462a9(_0x5bf5e0)?_0x5bf5e0['size']:_0x5649e5(_0x5bf5e0)['length'];_0x2f147f[_0x395cbb(0x2ca)]?_0x2f147f[_0x395cbb(0x1d3)][_0x395cbb(0x15f)]+=_0x1f3102:_0x2f147f['_bufferedAmount']+=_0x1f3102;}if(_0x315a1f){const _0x79a841=new Error(_0x395cbb(0x1db)+_0x2f147f[_0x395cbb(0x2b8)]+'\x20('+_0x497291[_0x2f147f[_0x395cbb(0x2b8)]]+')');process['nextTick'](_0x315a1f,_0x79a841);}}function _0x35ddd6(_0x5262ff,_0x461d26){const _0x4e0f96=_0x5ad5f9,_0x3a5192=this[_0x2e43ad];_0x3a5192[_0x4e0f96(0x1a4)]=!0x0,_0x3a5192[_0x4e0f96(0x19f)]=_0x461d26,_0x3a5192[_0x4e0f96(0x279)]=_0x5262ff,_0x3a5192[_0x4e0f96(0x2ca)][_0x2e43ad]!==void 0x0&&(_0x3a5192['_socket']['removeListener'](_0x4e0f96(0x225),_0x537887),process[_0x4e0f96(0x1c4)](_0x2cad36,_0x3a5192[_0x4e0f96(0x2ca)]),_0x5262ff===0x3ed?_0x3a5192[_0x4e0f96(0x2d7)]():_0x3a5192[_0x4e0f96(0x2d7)](_0x5262ff,_0x461d26));}function _0x1443fe(){const _0x2e0e49=_0x5ad5f9,_0x29c03c=this[_0x2e43ad];_0x29c03c[_0x2e0e49(0x242)]||_0x29c03c['_socket'][_0x2e0e49(0x12e)]();}function _0x4d5ad4(_0x39117b){const _0x571312=_0x5ad5f9,_0xcabac=this[_0x2e43ad];_0xcabac[_0x571312(0x2ca)][_0x2e43ad]!==void 0x0&&(_0xcabac[_0x571312(0x2ca)]['removeListener'](_0x571312(0x225),_0x537887),process[_0x571312(0x1c4)](_0x2cad36,_0xcabac[_0x571312(0x2ca)]),_0xcabac[_0x571312(0x2d7)](_0x39117b[_0x3864ba])),_0xcabac[_0x571312(0x133)]||(_0xcabac['_errorEmitted']=!0x0,_0xcabac[_0x571312(0x170)](_0x571312(0x180),_0x39117b));}function _0x979212(){const _0x2d9fa4=_0x5ad5f9;this[_0x2e43ad][_0x2d9fa4(0x2c8)]();}function _0x144dcc(_0x128707,_0x1a8e03){const _0x4692d4=_0x5ad5f9;this[_0x2e43ad][_0x4692d4(0x170)]('message',_0x128707,_0x1a8e03);}function _0xdf31be(_0x3e2d6c){const _0x12d0cb=_0x5ad5f9,_0xe31fd9=this[_0x2e43ad];_0xe31fd9[_0x12d0cb(0x200)]&&_0xe31fd9[_0x12d0cb(0x223)](_0x3e2d6c,!this[_0x12d0cb(0x181)],_0x574680),_0xe31fd9[_0x12d0cb(0x170)](_0x12d0cb(0x2a2),_0x3e2d6c);}function _0x596e24(_0x5df6a3){const _0x3ee570=_0x5ad5f9;this[_0x2e43ad][_0x3ee570(0x170)]('pong',_0x5df6a3);}function _0x2cad36(_0x1e0f2b){const _0x171e5c=_0x5ad5f9;_0x1e0f2b[_0x171e5c(0x12e)]();}function _0x49eb65(_0x1148bd){const _0x913882=_0x5ad5f9,_0x2c4a52=this[_0x2e43ad];_0x2c4a52['readyState']!==_0x3f7084[_0x913882(0x162)]&&(_0x2c4a52[_0x913882(0x2b8)]===_0x3f7084[_0x913882(0x187)]&&(_0x2c4a52[_0x913882(0x1a6)]=_0x3f7084[_0x913882(0x218)],_0x550431(_0x2c4a52)),this['_socket']['end'](),_0x2c4a52[_0x913882(0x133)]||(_0x2c4a52[_0x913882(0x133)]=!0x0,_0x2c4a52[_0x913882(0x170)]('error',_0x1148bd)));}function _0x550431(_0x386426){const _0x3f403c=_0x5ad5f9;_0x386426[_0x3f403c(0x299)]=setTimeout(_0x386426['_socket'][_0x3f403c(0x265)][_0x3f403c(0x1e8)](_0x386426[_0x3f403c(0x2ca)]),_0x4dde18);}function _0x2c1839(){const _0x3cacd5=_0x5ad5f9,_0x1d8e33=this[_0x2e43ad];this[_0x3cacd5(0x13a)]('close',_0x2c1839),this['removeListener'](_0x3cacd5(0x225),_0x537887),this[_0x3cacd5(0x13a)](_0x3cacd5(0x293),_0x207356),_0x1d8e33[_0x3cacd5(0x1a6)]=_0x3f7084[_0x3cacd5(0x218)];let _0x3a521c;!this[_0x3cacd5(0x1b4)][_0x3cacd5(0x1f6)]&&!_0x1d8e33[_0x3cacd5(0x1a4)]&&!_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x1ca)]&&(_0x3a521c=_0x1d8e33['_socket'][_0x3cacd5(0x1a0)]())!==null&&_0x1d8e33['_receiver'][_0x3cacd5(0x1b9)](_0x3a521c),_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x293)](),this[_0x2e43ad]=void 0x0,clearTimeout(_0x1d8e33[_0x3cacd5(0x299)]),_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x245)]||_0x1d8e33[_0x3cacd5(0x1a5)][_0x3cacd5(0x196)][_0x3cacd5(0x1ca)]?_0x1d8e33[_0x3cacd5(0x2c8)]():(_0x1d8e33[_0x3cacd5(0x1a5)]['on'](_0x3cacd5(0x180),_0x979212),_0x1d8e33['_receiver']['on']('finish',_0x979212));}function _0x537887(_0x20497a){const _0x26dd65=_0x5ad5f9;this[_0x2e43ad]['_receiver'][_0x26dd65(0x1b9)](_0x20497a)||this[_0x26dd65(0x1ff)]();}function _0x207356(){const _0x892a72=_0x5ad5f9,_0x33b393=this[_0x2e43ad];_0x33b393[_0x892a72(0x1a6)]=_0x3f7084['CLOSING'],_0x33b393[_0x892a72(0x1a5)][_0x892a72(0x293)](),this[_0x892a72(0x293)]();}function _0x6c02c7(){const _0x5144c4=_0x5ad5f9,_0x3924dd=this[_0x2e43ad];this[_0x5144c4(0x13a)](_0x5144c4(0x180),_0x6c02c7),this['on']('error',_0x574680),_0x3924dd&&(_0x3924dd[_0x5144c4(0x1a6)]=_0x3f7084[_0x5144c4(0x218)],this[_0x5144c4(0x265)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x290603}=_0x18c39f;function _0x3e3581(_0x1a34c5){const _0x510262=_0x1da9;_0x1a34c5['emit'](_0x510262(0x2d7));}function _0x5938ca(){const _0x11a5e3=_0x1da9;!this[_0x11a5e3(0x158)]&&this[_0x11a5e3(0x196)]['finished']&&this[_0x11a5e3(0x265)]();}function _0x4c4b92(_0x5d9e22){const _0x488d0d=_0x1da9;this['removeListener']('error',_0x4c4b92),this[_0x488d0d(0x265)](),this[_0x488d0d(0x1dc)]('error')===0x0&&this['emit']('error',_0x5d9e22);}function _0x378795(_0x36d30a,_0x2fa9d8){const _0x218e38=_0x1da9;let _0x4a9aea=!0x0;const _0x2c3da6=new _0x290603({..._0x2fa9d8,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x36d30a['on'](_0x218e38(0x186),function(_0x1fd4b6,_0x3d2d3d){const _0x29a6ed=_0x218e38,_0x86984f=!_0x3d2d3d&&_0x2c3da6['_readableState'][_0x29a6ed(0x278)]?_0x1fd4b6['toString']():_0x1fd4b6;_0x2c3da6[_0x29a6ed(0x22f)](_0x86984f)||_0x36d30a[_0x29a6ed(0x1ff)]();}),_0x36d30a[_0x218e38(0x1b6)](_0x218e38(0x180),function(_0x2e3cf8){const _0x2e79d7=_0x218e38;_0x2c3da6[_0x2e79d7(0x158)]||(_0x4a9aea=!0x1,_0x2c3da6[_0x2e79d7(0x265)](_0x2e3cf8));}),_0x36d30a[_0x218e38(0x1b6)](_0x218e38(0x2d7),function(){const _0x5359d7=_0x218e38;_0x2c3da6[_0x5359d7(0x158)]||_0x2c3da6[_0x5359d7(0x22f)](null);}),_0x2c3da6[_0x218e38(0x212)]=function(_0x5ee8a7,_0x394127){const _0x1d909a=_0x218e38;if(_0x36d30a[_0x1d909a(0x2b8)]===_0x36d30a['CLOSED']){_0x394127(_0x5ee8a7),process['nextTick'](_0x3e3581,_0x2c3da6);return;}let _0x54f408=!0x1;_0x36d30a[_0x1d909a(0x1b6)](_0x1d909a(0x180),function(_0x401fb6){_0x54f408=!0x0,_0x394127(_0x401fb6);}),_0x36d30a[_0x1d909a(0x1b6)]('close',function(){const _0x479dcd=_0x1d909a;_0x54f408||_0x394127(_0x5ee8a7),process[_0x479dcd(0x1c4)](_0x3e3581,_0x2c3da6);}),_0x4a9aea&&_0x36d30a['terminate']();},_0x2c3da6['_final']=function(_0xffb384){const _0x135a22=_0x218e38;if(_0x36d30a[_0x135a22(0x2b8)]===_0x36d30a[_0x135a22(0x2c9)]){_0x36d30a['once'](_0x135a22(0x2b9),function(){_0x2c3da6['_final'](_0xffb384);});return;}_0x36d30a[_0x135a22(0x2ca)]!==null&&(_0x36d30a[_0x135a22(0x2ca)][_0x135a22(0x196)][_0x135a22(0x245)]?(_0xffb384(),_0x2c3da6[_0x135a22(0x1b4)][_0x135a22(0x1f6)]&&_0x2c3da6[_0x135a22(0x265)]()):(_0x36d30a[_0x135a22(0x2ca)][_0x135a22(0x1b6)](_0x135a22(0x29d),function(){_0xffb384();}),_0x36d30a[_0x135a22(0x2d7)]()));},_0x2c3da6[_0x218e38(0x1f1)]=function(){const _0x3bbe2f=_0x218e38;_0x36d30a[_0x3bbe2f(0x242)]&&_0x36d30a[_0x3bbe2f(0x12e)]();},_0x2c3da6[_0x218e38(0x214)]=function(_0x3b4929,_0x5d81f6,_0x1f98f9){const _0xdf27aa=_0x218e38;if(_0x36d30a['readyState']===_0x36d30a['CONNECTING']){_0x36d30a[_0xdf27aa(0x1b6)](_0xdf27aa(0x2b9),function(){_0x2c3da6['_write'](_0x3b4929,_0x5d81f6,_0x1f98f9);});return;}_0x36d30a[_0xdf27aa(0x27a)](_0x3b4929,_0x1f98f9);},_0x2c3da6['on'](_0x218e38(0x293),_0x5938ca),_0x2c3da6['on']('error',_0x4c4b92),_0x2c3da6;}return Oe=_0x378795,Oe;}Xt(),dt(),_t();function _0x1da9(_0x1cc49b,_0x1d929b){const _0x1b91a5=_0x1b91();return _0x1da9=function(_0x1da977,_0x29a006){_0x1da977=_0x1da977-0x12e;let _0x3f4d82=_0x1b91a5[_0x1da977];return _0x3f4d82;},_0x1da9(_0x1cc49b,_0x1d929b);}var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x243fdd}=ne();function _0x10032d(_0x3296bb){const _0x2b3f02=_0x1da9,_0x133e4d=new Set();let _0x3797ed=-0x1,_0x432e8b=-0x1,_0x3f9148=0x0;for(_0x3f9148;_0x3f9148<_0x3296bb[_0x2b3f02(0x1b8)];_0x3f9148++){const _0x53e7ca=_0x3296bb[_0x2b3f02(0x1c3)](_0x3f9148);if(_0x432e8b===-0x1&&_0x243fdd[_0x53e7ca]===0x1)_0x3797ed===-0x1&&(_0x3797ed=_0x3f9148);else{if(_0x3f9148!==0x0&&(_0x53e7ca===0x20||_0x53e7ca===0x9))_0x432e8b===-0x1&&_0x3797ed!==-0x1&&(_0x432e8b=_0x3f9148);else{if(_0x53e7ca===0x2c){if(_0x3797ed===-0x1)throw new SyntaxError(_0x2b3f02(0x2b3)+_0x3f9148);_0x432e8b===-0x1&&(_0x432e8b=_0x3f9148);const _0x193402=_0x3296bb['slice'](_0x3797ed,_0x432e8b);if(_0x133e4d['has'](_0x193402))throw new SyntaxError(_0x2b3f02(0x28f)+_0x193402+_0x2b3f02(0x18f));_0x133e4d[_0x2b3f02(0x2de)](_0x193402),_0x3797ed=_0x432e8b=-0x1;}else throw new SyntaxError(_0x2b3f02(0x2b3)+_0x3f9148);}}}if(_0x3797ed===-0x1||_0x432e8b!==-0x1)throw new SyntaxError(_0x2b3f02(0x20a));const _0x49e6b6=_0x3296bb[_0x2b3f02(0x222)](_0x3797ed,_0x3f9148);if(_0x133e4d[_0x2b3f02(0x163)](_0x49e6b6))throw new SyntaxError(_0x2b3f02(0x28f)+_0x49e6b6+'\x22\x20subprotocol\x20is\x20duplicated');return _0x133e4d[_0x2b3f02(0x2de)](_0x49e6b6),_0x133e4d;}return Ce={'parse':_0x10032d},Ce;}var Te,ot;function er(){const _0x15b292=_0x3e7491;if(ot)return Te;ot=0x1;const _0x1be351=_0x30fedc,_0xe37cb3=_0x5ce828,{Duplex:_0x201f48}=_0x18c39f,{createHash:_0x405ddf}=_0x245205,_0x19944e=pt(),_0x9ad1ea=he(),_0x187ce2=Jt(),_0x439b3f=Ie(),{GUID:_0x1cda93,kWebSocket:_0x49da98}=V(),_0x289379=/^[+/0-9A-Za-z]{22}==$/,_0x28cdbb=0x0,_0x5f597d=0x1,_0x5239ab=0x2;class _0x4f81df extends _0x1be351{constructor(_0x474214,_0xd6407b){const _0x4ad44f=_0x1da9;if(super(),_0x474214={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x439b3f,..._0x474214},_0x474214[_0x4ad44f(0x1b1)]==null&&!_0x474214[_0x4ad44f(0x203)]&&!_0x474214[_0x4ad44f(0x264)]||_0x474214[_0x4ad44f(0x1b1)]!=null&&(_0x474214[_0x4ad44f(0x203)]||_0x474214[_0x4ad44f(0x264)])||_0x474214[_0x4ad44f(0x203)]&&_0x474214['noServer'])throw new TypeError(_0x4ad44f(0x2c4));if(_0x474214[_0x4ad44f(0x1b1)]!=null?(this[_0x4ad44f(0x1d6)]=_0xe37cb3['createServer']((_0x310859,_0x46b7b5)=>{const _0x452b40=_0x4ad44f,_0xe46bc=_0xe37cb3[_0x452b40(0x1d9)][0x1aa];_0x46b7b5[_0x452b40(0x13f)](0x1aa,{'Content-Length':_0xe46bc[_0x452b40(0x1b8)],'Content-Type':'text/plain'}),_0x46b7b5['end'](_0xe46bc);}),this[_0x4ad44f(0x1d6)]['listen'](_0x474214[_0x4ad44f(0x1b1)],_0x474214[_0x4ad44f(0x21c)],_0x474214[_0x4ad44f(0x1f5)],_0xd6407b)):_0x474214['server']&&(this['_server']=_0x474214['server']),this[_0x4ad44f(0x1d6)]){const _0x4c8700=this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,_0x4ad44f(0x155));this['_removeListeners']=_0x274f01(this[_0x4ad44f(0x1d6)],{'listening':this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,'listening'),'error':this[_0x4ad44f(0x170)][_0x4ad44f(0x1e8)](this,_0x4ad44f(0x180)),'upgrade':(_0x508aac,_0x17378f,_0x5e0aa1)=>{const _0x5b8ce4=_0x4ad44f;this[_0x5b8ce4(0x183)](_0x508aac,_0x17378f,_0x5e0aa1,_0x4c8700);}});}_0x474214[_0x4ad44f(0x24d)]===!0x0&&(_0x474214[_0x4ad44f(0x24d)]={}),_0x474214[_0x4ad44f(0x2cb)]&&(this[_0x4ad44f(0x1be)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x4ad44f(0x19b)]=_0x474214,this[_0x4ad44f(0x2db)]=_0x28cdbb;}['address'](){const _0x2f0fb4=_0x1da9;if(this[_0x2f0fb4(0x19b)]['noServer'])throw new Error(_0x2f0fb4(0x238));return this[_0x2f0fb4(0x1d6)]?this[_0x2f0fb4(0x1d6)]['address']():null;}[_0x15b292(0x2d7)](_0x54c99c){const _0x5a45c5=_0x15b292;if(this[_0x5a45c5(0x2db)]===_0x5239ab){_0x54c99c&&this[_0x5a45c5(0x1b6)]('close',()=>{const _0x5b697a=_0x5a45c5;_0x54c99c(new Error(_0x5b697a(0x27b)));}),process['nextTick'](_0x2baa94,this);return;}if(_0x54c99c&&this[_0x5a45c5(0x1b6)](_0x5a45c5(0x2d7),_0x54c99c),this[_0x5a45c5(0x2db)]!==_0x5f597d){if(this['_state']=_0x5f597d,this['options']['noServer']||this[_0x5a45c5(0x19b)]['server'])this[_0x5a45c5(0x1d6)]&&(this[_0x5a45c5(0x263)](),this[_0x5a45c5(0x263)]=this[_0x5a45c5(0x1d6)]=null),this[_0x5a45c5(0x1be)]?this[_0x5a45c5(0x1be)][_0x5a45c5(0x2a4)]?this[_0x5a45c5(0x147)]=!0x0:process[_0x5a45c5(0x1c4)](_0x2baa94,this):process[_0x5a45c5(0x1c4)](_0x2baa94,this);else{const _0x39e925=this[_0x5a45c5(0x1d6)];this['_removeListeners'](),this[_0x5a45c5(0x263)]=this[_0x5a45c5(0x1d6)]=null,_0x39e925['close'](()=>{_0x2baa94(this);});}}}['shouldHandle'](_0x73573f){const _0xb96df4=_0x15b292;if(this[_0xb96df4(0x19b)][_0xb96df4(0x1ee)]){const _0x3bcaf6=_0x73573f[_0xb96df4(0x2d4)]['indexOf']('?');if((_0x3bcaf6!==-0x1?_0x73573f['url'][_0xb96df4(0x222)](0x0,_0x3bcaf6):_0x73573f[_0xb96df4(0x2d4)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x15b292(0x183)](_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9){const _0x1d4db6=_0x15b292;_0x57985a['on']('error',_0x1ca669);const _0x120259=_0x25d8ba['headers']['sec-websocket-key'],_0x3797a2=_0x25d8ba[_0x1d4db6(0x1f9)][_0x1d4db6(0x29b)],_0x5e5568=+_0x25d8ba[_0x1d4db6(0x1f9)][_0x1d4db6(0x16b)];if(_0x25d8ba['method']!==_0x1d4db6(0x215)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x195,_0x1d4db6(0x220));return;}if(_0x3797a2===void 0x0||_0x3797a2[_0x1d4db6(0x2cf)]()!==_0x1d4db6(0x267)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x157));return;}if(_0x120259===void 0x0||!_0x289379[_0x1d4db6(0x22d)](_0x120259)){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x1bc));return;}if(_0x5e5568!==0x8&&_0x5e5568!==0xd){_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x23b));return;}if(!this[_0x1d4db6(0x1b0)](_0x25d8ba)){_0x5f2194(_0x57985a,0x190);return;}const _0x568b73=_0x25d8ba[_0x1d4db6(0x1f9)]['sec-websocket-protocol'];let _0x149ab3=new Set();if(_0x568b73!==void 0x0)try{_0x149ab3=_0x187ce2[_0x1d4db6(0x29e)](_0x568b73);}catch{_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,_0x1d4db6(0x273));return;}const _0x415892=_0x25d8ba[_0x1d4db6(0x1f9)]['sec-websocket-extensions'],_0x52382d={};if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x24d)]&&_0x415892!==void 0x0){const _0x5d6047=new _0x9ad1ea(this['options']['perMessageDeflate'],!0x0,this[_0x1d4db6(0x19b)][_0x1d4db6(0x185)]);try{const _0x4d0ee7=_0x19944e[_0x1d4db6(0x29e)](_0x415892);_0x4d0ee7[_0x9ad1ea[_0x1d4db6(0x247)]]&&(_0x5d6047[_0x1d4db6(0x1a3)](_0x4d0ee7[_0x9ad1ea[_0x1d4db6(0x247)]]),_0x52382d[_0x9ad1ea[_0x1d4db6(0x247)]]=_0x5d6047);}catch{_0x134e7e(this,_0x25d8ba,_0x57985a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)]){const _0x319a9c={'origin':_0x25d8ba[_0x1d4db6(0x1f9)][''+(_0x5e5568===0x8?_0x1d4db6(0x1f4):_0x1d4db6(0x2c1))],'secure':!!(_0x25d8ba[_0x1d4db6(0x192)][_0x1d4db6(0x21a)]||_0x25d8ba['socket'][_0x1d4db6(0x15a)]),'req':_0x25d8ba};if(this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)][_0x1d4db6(0x1b8)]===0x2){this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)](_0x319a9c,(_0x454c99,_0x507790,_0x56e89f,_0x30de43)=>{const _0x2581a3=_0x1d4db6;if(!_0x454c99)return _0x5f2194(_0x57985a,_0x507790||0x191,_0x56e89f,_0x30de43);this[_0x2581a3(0x234)](_0x52382d,_0x120259,_0x149ab3,_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9);});return;}if(!this[_0x1d4db6(0x19b)][_0x1d4db6(0x1d1)](_0x319a9c))return _0x5f2194(_0x57985a,0x191);}this[_0x1d4db6(0x234)](_0x52382d,_0x120259,_0x149ab3,_0x25d8ba,_0x57985a,_0x32ce51,_0x3f02e9);}['completeUpgrade'](_0x44fb3b,_0x581fdc,_0x27ffc7,_0x20ae8a,_0x4f1391,_0x53feb9,_0x249217){const _0x5a713f=_0x15b292;if(!_0x4f1391[_0x5a713f(0x1c1)]||!_0x4f1391['writable'])return _0x4f1391[_0x5a713f(0x265)]();if(_0x4f1391[_0x49da98])throw new Error(_0x5a713f(0x21b));if(this[_0x5a713f(0x2db)]>_0x28cdbb)return _0x5f2194(_0x4f1391,0x1f7);const _0x597685=[_0x5a713f(0x297),_0x5a713f(0x2a7),_0x5a713f(0x250),_0x5a713f(0x20d)+_0x405ddf(_0x5a713f(0x14c))[_0x5a713f(0x138)](_0x581fdc+_0x1cda93)['digest']('base64')],_0x1fbf6b=new this['options']['WebSocket'](null,void 0x0,this[_0x5a713f(0x19b)]);if(_0x27ffc7[_0x5a713f(0x2a4)]){const _0x7c3a21=this['options'][_0x5a713f(0x1a1)]?this[_0x5a713f(0x19b)][_0x5a713f(0x1a1)](_0x27ffc7,_0x20ae8a):_0x27ffc7['values']()[_0x5a713f(0x173)]()['value'];_0x7c3a21&&(_0x597685['push'](_0x5a713f(0x2cd)+_0x7c3a21),_0x1fbf6b[_0x5a713f(0x131)]=_0x7c3a21);}if(_0x44fb3b[_0x9ad1ea[_0x5a713f(0x247)]]){const _0x223acb=_0x44fb3b[_0x9ad1ea[_0x5a713f(0x247)]][_0x5a713f(0x182)],_0xacd6fa=_0x19944e[_0x5a713f(0x16f)]({[_0x9ad1ea['extensionName']]:[_0x223acb]});_0x597685[_0x5a713f(0x22f)]('Sec-WebSocket-Extensions:\x20'+_0xacd6fa),_0x1fbf6b[_0x5a713f(0x154)]=_0x44fb3b;}this['emit'](_0x5a713f(0x1f9),_0x597685,_0x20ae8a),_0x4f1391[_0x5a713f(0x1b9)](_0x597685[_0x5a713f(0x28d)]('\x0d\x0a')[_0x5a713f(0x174)]('\x0d\x0a')),_0x4f1391[_0x5a713f(0x13a)](_0x5a713f(0x180),_0x1ca669),_0x1fbf6b[_0x5a713f(0x236)](_0x4f1391,_0x53feb9,{'allowSynchronousEvents':this[_0x5a713f(0x19b)][_0x5a713f(0x177)],'maxPayload':this[_0x5a713f(0x19b)]['maxPayload'],'skipUTF8Validation':this[_0x5a713f(0x19b)][_0x5a713f(0x1c8)]}),this[_0x5a713f(0x1be)]&&(this['clients'][_0x5a713f(0x2de)](_0x1fbf6b),_0x1fbf6b['on'](_0x5a713f(0x2d7),()=>{const _0x8e48f0=_0x5a713f;this['clients']['delete'](_0x1fbf6b),this[_0x8e48f0(0x147)]&&!this['clients']['size']&&process['nextTick'](_0x2baa94,this);})),_0x249217(_0x1fbf6b,_0x20ae8a);}}Te=_0x4f81df;function _0x274f01(_0xd33ed0,_0x23cc31){const _0x2b5572=_0x15b292;for(const _0x22185c of Object[_0x2b5572(0x149)](_0x23cc31))_0xd33ed0['on'](_0x22185c,_0x23cc31[_0x22185c]);return function(){const _0x24c823=_0x2b5572;for(const _0x437dd4 of Object[_0x24c823(0x149)](_0x23cc31))_0xd33ed0[_0x24c823(0x13a)](_0x437dd4,_0x23cc31[_0x437dd4]);};}function _0x2baa94(_0xbe224c){const _0x1616fc=_0x15b292;_0xbe224c[_0x1616fc(0x2db)]=_0x5239ab,_0xbe224c['emit']('close');}function _0x1ca669(){this['destroy']();}function _0x5f2194(_0x19f939,_0x57922d,_0x12b7d0,_0x49ab37){const _0x47d07d=_0x15b292;_0x12b7d0=_0x12b7d0||_0xe37cb3[_0x47d07d(0x1d9)][_0x57922d],_0x49ab37={'Connection':'close','Content-Type':_0x47d07d(0x288),'Content-Length':Buffer[_0x47d07d(0x151)](_0x12b7d0),..._0x49ab37},_0x19f939[_0x47d07d(0x1b6)](_0x47d07d(0x29d),_0x19f939[_0x47d07d(0x265)]),_0x19f939[_0x47d07d(0x293)](_0x47d07d(0x2bb)+_0x57922d+'\x20'+_0xe37cb3[_0x47d07d(0x1d9)][_0x57922d]+'\x0d\x0a'+Object[_0x47d07d(0x149)](_0x49ab37)[_0x47d07d(0x25b)](_0x24804b=>_0x24804b+':\x20'+_0x49ab37[_0x24804b])[_0x47d07d(0x174)]('\x0d\x0a')+_0x47d07d(0x1fd)+_0x12b7d0);}function _0x134e7e(_0x2764dd,_0x2593c9,_0x588f35,_0x171091,_0x3761b8){const _0x5ba302=_0x15b292;if(_0x2764dd['listenerCount'](_0x5ba302(0x2da))){const _0x3c7a54=new Error(_0x3761b8);Error[_0x5ba302(0x240)](_0x3c7a54,_0x134e7e),_0x2764dd[_0x5ba302(0x170)](_0x5ba302(0x2da),_0x3c7a54,_0x588f35,_0x2593c9);}else _0x5f2194(_0x588f35,_0x171091,_0x3761b8);}return Te;}er();var tr=Object[_0x3e7491(0x1e7)],rr=(_0x5559e2,_0x49765c,_0x2e98a7,_0x1ec3b4)=>{const _0x15f195=_0x3e7491;for(var _0x2783f3=_0x1ec3b4>0x1?void 0x0:_0x1ec3b4?tr(_0x49765c,_0x2e98a7):_0x49765c,_0x3b4333=_0x5559e2[_0x15f195(0x1b8)]-0x1,_0xf21ce;_0x3b4333>=0x0;_0x3b4333--)(_0xf21ce=_0x5559e2[_0x3b4333])&&(_0x2783f3=_0xf21ce(_0x2783f3)||_0x2783f3);return _0x2783f3;},sr=(_0x4731fb,_0x4d9706)=>(_0x453dff,_0x154dad)=>_0x4d9706(_0x453dff,_0x154dad,_0x4731fb);let Ne=class extends _0x2737f7{constructor(_0x27a2e9){const _0x5571f0=_0x3e7491;super(),this[_0x5571f0(0x298)]=_0x27a2e9;}[_0x3e7491(0x23a)](_0x50549f){const _0x31e1bd=_0x3e7491;var _0x16ff77;const _0x5b6cdc=(_0x16ff77=this['_configService']['getConfig'](Be))==null?void 0x0:_0x16ff77['customHeaders'];try{const _0x21c2b4=new Qt(_0x50549f,{'headers':{..._0x5b6cdc}}),_0x416697=new _0x3784bb();return{'URL':_0x50549f,'close':(_0x3d7bd1,_0x5f38e2)=>{const _0x108f41=_0x1da9;_0x21c2b4[_0x108f41(0x2d7)](_0x3d7bd1,_0x5f38e2),_0x416697[_0x108f41(0x17d)]();},'send':_0x23c477=>{const _0x407f02=_0x1da9;_0x21c2b4[_0x407f02(0x27a)](_0x23c477);},'open$':new _0x1584bb(_0x2e1d77=>{const _0x1744ad=_0x1da9,_0x22d351=_0x36a803=>_0x2e1d77['next'](_0x36a803);_0x21c2b4[_0x1744ad(0x208)](_0x1744ad(0x2b9),_0x22d351),_0x416697[_0x1744ad(0x2de)](_0x230175(()=>_0x21c2b4[_0x1744ad(0x16e)](_0x1744ad(0x2b9),_0x22d351)));})['pipe'](_0x1e5cb8()),'close$':new _0x1584bb(_0x2d3b8d=>{const _0x35c7f3=_0x1da9,_0x2ae2e4=_0x46e735=>_0x2d3b8d[_0x35c7f3(0x173)](_0x46e735);_0x21c2b4[_0x35c7f3(0x208)](_0x35c7f3(0x2d7),_0x2ae2e4),_0x416697[_0x35c7f3(0x2de)](_0x230175(()=>_0x21c2b4[_0x35c7f3(0x16e)](_0x35c7f3(0x2d7),_0x2ae2e4)));})[_0x31e1bd(0x270)](_0x1e5cb8()),'error$':new _0x1584bb(_0x598f3d=>{const _0x23e232=_0x31e1bd,_0x518223=_0x4caa94=>_0x598f3d[_0x23e232(0x173)](_0x4caa94);_0x21c2b4[_0x23e232(0x208)](_0x23e232(0x180),_0x518223),_0x416697['add'](_0x230175(()=>_0x21c2b4[_0x23e232(0x16e)](_0x23e232(0x180),_0x518223)));})[_0x31e1bd(0x270)](_0x1e5cb8()),'message$':new _0x1584bb(_0x340eab=>{const _0x541017=_0x31e1bd,_0x1d1788=_0x2b8941=>_0x340eab['next'](_0x2b8941);_0x21c2b4[_0x541017(0x208)](_0x541017(0x186),_0x1d1788),_0x416697['add'](_0x230175(()=>_0x21c2b4['removeEventListener'](_0x541017(0x186),_0x1d1788)));})[_0x31e1bd(0x270)](_0x1e5cb8())};}catch(_0x599854){return console['error'](_0x599854),null;}}};Ne=rr([sr(0x0,_0x46c521)],Ne);var ir=Object[_0x3e7491(0x1c6)],nr=Object[_0x3e7491(0x1e7)],or=(_0x1f1c34,_0x34c29d,_0x59bdb1)=>_0x34c29d in _0x1f1c34?ir(_0x1f1c34,_0x34c29d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59bdb1}):_0x1f1c34[_0x34c29d]=_0x59bdb1,ar=(_0x3c5ce0,_0x3e7eed,_0x1c000b,_0x5c6d40)=>{const _0x850762=_0x3e7491;for(var _0x4b2a55=_0x5c6d40>0x1?void 0x0:_0x5c6d40?nr(_0x3e7eed,_0x1c000b):_0x3e7eed,_0x18539b=_0x3c5ce0[_0x850762(0x1b8)]-0x1,_0x3fbc63;_0x18539b>=0x0;_0x18539b--)(_0x3fbc63=_0x3c5ce0[_0x18539b])&&(_0x4b2a55=_0x3fbc63(_0x4b2a55)||_0x4b2a55);return _0x4b2a55;},ke=(_0x120018,_0x21d199)=>(_0xad93f8,_0xddb188)=>_0x21d199(_0xad93f8,_0xddb188,_0x120018),lr=(_0x48b983,_0x4e181e,_0x36e2c0)=>or(_0x48b983,_0x4e181e+'',_0x36e2c0);let Pe=class extends _0x51ff04{constructor(_0x2c9890=Ft,_0x3a216e,_0x4d6bd3,_0x291076){const _0x4da11e=_0x3e7491;_0x2c9890[_0x4da11e(0x1d0)]||_0x3a216e[_0x4da11e(0x169)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x4d6bd3,this[_0x4da11e(0x134)]=_0x291076,this[_0x4da11e(0x298)][_0x4da11e(0x14f)](Be,_0x2c9890);}[_0x3e7491(0x1ad)](){const _0x25081a=_0x3e7491;this[_0x25081a(0x12f)]();}[_0x3e7491(0x12f)](){_0xf9db87(this['_injector'],[[_0x1313b6,{'useClass':Ne}]]);}};lr(Pe,_0x3e7491(0x175),_0x3e7491(0x153)),Pe=ar([_0x1da448(_0x458eeb),ke(0x1,_0x3bb979),ke(0x2,_0x46c521),ke(0x3,_0x14a135(_0x413cf1))],Pe);var fr=Object[_0x3e7491(0x1e7)],cr=(_0x5c9cc2,_0x400196,_0x13e92d,_0x1d5e5a)=>{const _0x9d5195=_0x3e7491;for(var _0x509a8e=_0x1d5e5a>0x1?void 0x0:_0x1d5e5a?fr(_0x400196,_0x13e92d):_0x400196,_0x3b07a7=_0x5c9cc2[_0x9d5195(0x1b8)]-0x1,_0x3747a5;_0x3b07a7>=0x0;_0x3b07a7--)(_0x3747a5=_0x5c9cc2[_0x3b07a7])&&(_0x509a8e=_0x3747a5(_0x509a8e)||_0x509a8e);return _0x509a8e;},se=(_0x31efe9,_0x2a943d)=>(_0x161b83,_0x8221cc)=>_0x2a943d(_0x161b83,_0x8221cc,_0x31efe9);let at=class extends _0x1437de{constructor(_0x533714,_0x5d8546,_0x4968b9,_0x392157,_0x3fb05e){const _0x19e7df=_0x3e7491;super(_0x533714,_0x5d8546,_0x4968b9,_0x392157,_0x3fb05e);const _0x18bdcf=this[_0x19e7df(0x298)][_0x19e7df(0x16a)](Be);this[_0x19e7df(0x1e0)][_0x19e7df(0x228)]({'interceptor':(_0x1f2bf8,_0x12f68d)=>{const _0x572621=_0x19e7df;var _0x1d8eee;const _0x15235d=_0x1f2bf8['headers'];return(_0x1d8eee=_0x18bdcf==null?void 0x0:_0x18bdcf[_0x572621(0x1d0)])!=null&&_0x1d8eee['cookie']&&_0x15235d[_0x572621(0x1ed)]('Cookie',_0x18bdcf[_0x572621(0x1d0)]['cookie']),_0x12f68d(_0x1f2bf8);}});}async[_0x3e7491(0x23a)](_0x4ecdc2){const _0x37a8c7=_0x3e7491;return this[_0x37a8c7(0x272)](_0x4ecdc2);}};at=cr([se(0x0,_0x14a135(_0x413cf1)),se(0x1,_0x14a135(_0x564d5f)),se(0x2,_0x46c521),se(0x3,_0x3bb979),se(0x4,_0x3df8ef)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|