@univerjs-pro/collaboration-client-node 0.10.7-nightly.202509080357 → 0.10.7-nightly.202509130618
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 +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xcc8efe=_0x35f4;(function(_0x3c754c,_0xab55b2){const _0x30a176=_0x35f4,_0x5e11e3=_0x3c754c();while(!![]){try{const _0x17d354=parseInt(_0x30a176(0x1eb))/0x1*(-parseInt(_0x30a176(0x1e3))/0x2)+-parseInt(_0x30a176(0xda))/0x3*(-parseInt(_0x30a176(0x229))/0x4)+-parseInt(_0x30a176(0x1e1))/0x5+parseInt(_0x30a176(0x129))/0x6*(-parseInt(_0x30a176(0x223))/0x7)+parseInt(_0x30a176(0x20f))/0x8+-parseInt(_0x30a176(0x213))/0x9*(-parseInt(_0x30a176(0x201))/0xa)+parseInt(_0x30a176(0x93))/0xb;if(_0x17d354===_0xab55b2)break;else _0x5e11e3['push'](_0x5e11e3['shift']());}catch(_0x4bef8a){_0x5e11e3['push'](_0x5e11e3['shift']());}}}(_0x5d40,0xa1f09));import{UniverCollaborationClientPlugin as _0x5a1aa7,CollaborationSocketService as _0x6f9046}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3b16e0,DisposableCollection as _0x3ae965,toDisposable as _0x5b17c8,IConfigService as _0x16f89b,DependentOn as _0x4ef3c2,ILogService as _0x3cdab6,Inject as _0x4857b1,Injector as _0x45764d,Plugin as _0x9942f0,registerDependencies as _0x4379ae}from'@univerjs/core';import{ISocketService as _0x42f225,HTTPService as _0x10ddf5}from'@univerjs/network';import{Observable as _0x1c4acd,share as _0x33be26}from'rxjs';import _0xfd2e2c from'events';import _0x1039a3 from'https';import _0x4b84c from'http';import _0x58fb86 from'net';import _0x58bf04 from'tls';import _0xcdc505 from'crypto';import _0x4726f2 from'stream';import _0x2f4072 from'url';function _0x35f4(_0xbe838b,_0x5c3bbd){const _0x5d404a=_0x5d40();return _0x35f4=function(_0x35f4c1,_0x5ebfbe){_0x35f4c1=_0x35f4c1-0x91;let _0x177bd0=_0x5d404a[_0x35f4c1];return _0x177bd0;},_0x35f4(_0xbe838b,_0x5c3bbd);}import _0x1fe0e9 from'zlib';import _0x46f6de from'buffer';import{ISnapshotServerService as _0x5f4535}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x5635a2){const _0x2cb5a1=_0x35f4;return _0x5635a2&&_0x5635a2[_0x2cb5a1(0x11d)]&&Object['prototype']['hasOwnProperty']['call'](_0x5635a2,'default')?_0x5635a2['default']:_0x5635a2;}function ut(_0x14f677){const _0x38be8b=_0x35f4;if(Object[_0x38be8b(0x1d0)]['hasOwnProperty'][_0x38be8b(0x1c6)](_0x14f677,_0x38be8b(0x11d)))return _0x14f677;var _0x95d95=_0x14f677['default'];if(typeof _0x95d95==_0x38be8b(0x227)){var _0x27e0f8=function _0xcd5c27(){const _0x5215f4=_0x38be8b;var _0x4852b4=!0x1;try{_0x4852b4=this instanceof _0xcd5c27;}catch{}return _0x4852b4?Reflect[_0x5215f4(0x183)](_0x95d95,arguments,this[_0x5215f4(0x13c)]):_0x95d95[_0x5215f4(0x1aa)](this,arguments);};_0x27e0f8['prototype']=_0x95d95[_0x38be8b(0x1d0)];}else _0x27e0f8={};return Object[_0x38be8b(0xf2)](_0x27e0f8,_0x38be8b(0x11d),{'value':!0x0}),Object['keys'](_0x14f677)[_0x38be8b(0x197)](function(_0xf94b90){const _0x4e37f0=_0x38be8b;var _0x52e50b=Object[_0x4e37f0(0x16e)](_0x14f677,_0xf94b90);Object[_0x4e37f0(0xf2)](_0x27e0f8,_0xf94b90,_0x52e50b['get']?_0x52e50b:{'enumerable':!0x0,'get':function(){return _0x14f677[_0xf94b90];}});}),_0x27e0f8;}var te={'exports':{}},ge,Ye;function V(){const _0x208fd4=_0x35f4;if(Ye)return ge;Ye=0x1;const _0x4e1b62=[_0x208fd4(0x1b2),'arraybuffer',_0x208fd4(0x21b)],_0x25d8fd=typeof Blob<'u';return _0x25d8fd&&_0x4e1b62['push'](_0x208fd4(0x1a9)),ge={'BINARY_TYPES':_0x4e1b62,'EMPTY_BUFFER':Buffer[_0x208fd4(0x98)](0x0),'GUID':_0x208fd4(0x13b),'hasBlob':_0x25d8fd,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x208fd4(0xc9)),'kWebSocket':Symbol(_0x208fd4(0x1b5)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0xcc8efe(0xf2)]({'__proto__':null,'default':jt},Symbol[_0xcc8efe(0x9f)],{'value':_0xcc8efe(0x1c8)})),Vt=ut(Gt);var Ke;function ce(){const _0x552f99=_0xcc8efe;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x22bcd2}=V(),_0x36488e=Buffer[Symbol[_0x552f99(0x1e5)]];function _0x45ef64(_0x84fcdc,_0x1bd8bc){const _0x19dbb3=_0x552f99;if(_0x84fcdc[_0x19dbb3(0x18a)]===0x0)return _0x22bcd2;if(_0x84fcdc[_0x19dbb3(0x18a)]===0x1)return _0x84fcdc[0x0];const _0xe13da6=Buffer[_0x19dbb3(0x152)](_0x1bd8bc);let _0x2d7349=0x0;for(let _0x46889a=0x0;_0x46889a<_0x84fcdc['length'];_0x46889a++){const _0x725e6d=_0x84fcdc[_0x46889a];_0xe13da6[_0x19dbb3(0xcf)](_0x725e6d,_0x2d7349),_0x2d7349+=_0x725e6d[_0x19dbb3(0x18a)];}return _0x2d7349<_0x1bd8bc?new _0x36488e(_0xe13da6[_0x19dbb3(0x160)],_0xe13da6[_0x19dbb3(0x216)],_0x2d7349):_0xe13da6;}function _0x53c9e5(_0x1deaf8,_0x5249cf,_0x24d01d,_0x5cdd5a,_0x5c0a25){for(let _0x49e953=0x0;_0x49e953<_0x5c0a25;_0x49e953++)_0x24d01d[_0x5cdd5a+_0x49e953]=_0x1deaf8[_0x49e953]^_0x5249cf[_0x49e953&0x3];}function _0x5ec716(_0x39d273,_0xf08ec0){const _0x5ee72b=_0x552f99;for(let _0x394574=0x0;_0x394574<_0x39d273[_0x5ee72b(0x18a)];_0x394574++)_0x39d273[_0x394574]^=_0xf08ec0[_0x394574&0x3];}function _0xa493fa(_0x3ca93f){const _0x2a0784=_0x552f99;return _0x3ca93f[_0x2a0784(0x18a)]===_0x3ca93f['buffer'][_0x2a0784(0x169)]?_0x3ca93f[_0x2a0784(0x160)]:_0x3ca93f[_0x2a0784(0x160)][_0x2a0784(0xee)](_0x3ca93f[_0x2a0784(0x216)],_0x3ca93f['byteOffset']+_0x3ca93f[_0x2a0784(0x18a)]);}function _0x338d14(_0x1ea2e0){const _0x52a293=_0x552f99;if(_0x338d14[_0x52a293(0x153)]=!0x0,Buffer['isBuffer'](_0x1ea2e0))return _0x1ea2e0;let _0x4aa618;return _0x1ea2e0 instanceof ArrayBuffer?_0x4aa618=new _0x36488e(_0x1ea2e0):ArrayBuffer[_0x52a293(0x214)](_0x1ea2e0)?_0x4aa618=new _0x36488e(_0x1ea2e0[_0x52a293(0x160)],_0x1ea2e0[_0x52a293(0x216)],_0x1ea2e0[_0x52a293(0x169)]):(_0x4aa618=Buffer[_0x52a293(0x17b)](_0x1ea2e0),_0x338d14['readOnly']=!0x1),_0x4aa618;}if(te['exports']={'concat':_0x45ef64,'mask':_0x53c9e5,'toArrayBuffer':_0xa493fa,'toBuffer':_0x338d14,'unmask':_0x5ec716},!process[_0x552f99(0x145)][_0x552f99(0x20c)])try{const _0x4398f1=Vt;te[_0x552f99(0x1d2)][_0x552f99(0xd9)]=function(_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050){_0x120050<0x30?_0x53c9e5(_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050):_0x4398f1['mask'](_0x25db20,_0x58b450,_0x5b4d9a,_0x386a61,_0x120050);},te[_0x552f99(0x1d2)][_0x552f99(0x173)]=function(_0x5edb89,_0x5a1e65){const _0x1dd489=_0x552f99;_0x5edb89[_0x1dd489(0x18a)]<0x20?_0x5ec716(_0x5edb89,_0x5a1e65):_0x4398f1['unmask'](_0x5edb89,_0x5a1e65);};}catch{}return te[_0x552f99(0x1d2)];}var ye,Xe;function qt(){const _0x8be5c5=_0xcc8efe;if(Xe)return ye;Xe=0x1;const _0x54248a=Symbol(_0x8be5c5(0x1ed)),_0x4d3278=Symbol(_0x8be5c5(0x156));class _0x5b5c3e{constructor(_0x335657){const _0x27d144=_0x8be5c5;this[_0x54248a]=()=>{const _0x2ca794=_0x35f4;this[_0x2ca794(0x207)]--,this[_0x4d3278]();},this[_0x27d144(0x168)]=_0x335657||0x1/0x0,this[_0x27d144(0xd3)]=[],this['pending']=0x0;}[_0x8be5c5(0x1bd)](_0x29e8b1){const _0x2e8db5=_0x8be5c5;this[_0x2e8db5(0xd3)]['push'](_0x29e8b1),this[_0x4d3278]();}[_0x4d3278](){const _0x51daff=_0x8be5c5;if(this[_0x51daff(0x207)]!==this[_0x51daff(0x168)]&&this['jobs']['length']){const _0x3d1d3a=this[_0x51daff(0xd3)][_0x51daff(0xba)]();this[_0x51daff(0x207)]++,_0x3d1d3a(this[_0x54248a]);}}}return ye=_0x5b5c3e,ye;}var ve,Ze;function he(){const _0x2c758e=_0xcc8efe;if(Ze)return ve;Ze=0x1;const _0x495415=_0x1fe0e9,_0x9655f3=ce(),_0x5f56e1=qt(),{kStatusCode:_0x2e030d}=V(),_0x4fae07=Buffer[Symbol[_0x2c758e(0x1e5)]],_0x132b1f=Buffer['from']([0x0,0x0,0xff,0xff]),_0x36f2d8=Symbol(_0x2c758e(0x210)),_0x194694=Symbol('total-length'),_0x511dc4=Symbol(_0x2c758e(0x18d)),_0x521919=Symbol('buffers'),_0x143533=Symbol(_0x2c758e(0x199));let _0x1bead6;class _0x225300{constructor(_0x36e398,_0x2e049d,_0x30d456){const _0x68fc=_0x2c758e;if(this['_maxPayload']=_0x30d456|0x0,this[_0x68fc(0x1f6)]=_0x36e398||{},this[_0x68fc(0x209)]=this[_0x68fc(0x1f6)]['threshold']!==void 0x0?this[_0x68fc(0x1f6)][_0x68fc(0x116)]:0x400,this[_0x68fc(0x11e)]=!!_0x2e049d,this[_0x68fc(0x1bc)]=null,this[_0x68fc(0x1b8)]=null,this['params']=null,!_0x1bead6){const _0x472a66=this[_0x68fc(0x1f6)][_0x68fc(0x1b9)]!==void 0x0?this[_0x68fc(0x1f6)][_0x68fc(0x1b9)]:0xa;_0x1bead6=new _0x5f56e1(_0x472a66);}}static get['extensionName'](){return'permessage-deflate';}[_0x2c758e(0xce)](){const _0x4ca70a=_0x2c758e,_0x9af021={};return this[_0x4ca70a(0x1f6)]['serverNoContextTakeover']&&(_0x9af021[_0x4ca70a(0x10e)]=!0x0),this[_0x4ca70a(0x1f6)][_0x4ca70a(0x230)]&&(_0x9af021[_0x4ca70a(0xf1)]=!0x0),this['_options'][_0x4ca70a(0x9d)]&&(_0x9af021['server_max_window_bits']=this['_options'][_0x4ca70a(0x9d)]),this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]?_0x9af021[_0x4ca70a(0xdd)]=this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]:this[_0x4ca70a(0x1f6)][_0x4ca70a(0x179)]==null&&(_0x9af021[_0x4ca70a(0xdd)]=!0x0),_0x9af021;}[_0x2c758e(0xae)](_0x7307b5){const _0x5af485=_0x2c758e;return _0x7307b5=this[_0x5af485(0x1df)](_0x7307b5),this[_0x5af485(0xd8)]=this[_0x5af485(0x11e)]?this['acceptAsServer'](_0x7307b5):this['acceptAsClient'](_0x7307b5),this[_0x5af485(0xd8)];}[_0x2c758e(0xff)](){const _0x1676cb=_0x2c758e;if(this[_0x1676cb(0x1b8)]&&(this['_inflate'][_0x1676cb(0x16c)](),this['_inflate']=null),this[_0x1676cb(0x1bc)]){const _0x187637=this['_deflate'][_0x511dc4];this[_0x1676cb(0x1bc)][_0x1676cb(0x16c)](),this[_0x1676cb(0x1bc)]=null,_0x187637&&_0x187637(new Error(_0x1676cb(0x142)));}}[_0x2c758e(0xc5)](_0x308dfd){const _0x16d89c=_0x2c758e,_0x29d017=this['_options'],_0x5a8949=_0x308dfd['find'](_0xe87bcb=>!(_0x29d017['serverNoContextTakeover']===!0x1&&_0xe87bcb[_0x16d89c(0x10e)]||_0xe87bcb['server_max_window_bits']&&(_0x29d017[_0x16d89c(0x9d)]===!0x1||typeof _0x29d017['serverMaxWindowBits']==_0x16d89c(0x14e)&&_0x29d017[_0x16d89c(0x9d)]>_0xe87bcb[_0x16d89c(0xf6)])||typeof _0x29d017['clientMaxWindowBits']==_0x16d89c(0x14e)&&!_0xe87bcb[_0x16d89c(0xdd)]));if(!_0x5a8949)throw new Error(_0x16d89c(0x17a));return _0x29d017['serverNoContextTakeover']&&(_0x5a8949[_0x16d89c(0x10e)]=!0x0),_0x29d017[_0x16d89c(0x230)]&&(_0x5a8949['client_no_context_takeover']=!0x0),typeof _0x29d017['serverMaxWindowBits']==_0x16d89c(0x14e)&&(_0x5a8949[_0x16d89c(0xf6)]=_0x29d017[_0x16d89c(0x9d)]),typeof _0x29d017[_0x16d89c(0x179)]==_0x16d89c(0x14e)?_0x5a8949['client_max_window_bits']=_0x29d017[_0x16d89c(0x179)]:(_0x5a8949[_0x16d89c(0xdd)]===!0x0||_0x29d017[_0x16d89c(0x179)]===!0x1)&&delete _0x5a8949[_0x16d89c(0xdd)],_0x5a8949;}[_0x2c758e(0x121)](_0x38e139){const _0x3e4f11=_0x2c758e,_0x5aeda2=_0x38e139[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x5aeda2['client_no_context_takeover'])throw new Error(_0x3e4f11(0xc6));if(!_0x5aeda2[_0x3e4f11(0xdd)])typeof this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]==_0x3e4f11(0x14e)&&(_0x5aeda2['client_max_window_bits']=this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]);else{if(this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]===!0x1||typeof this[_0x3e4f11(0x1f6)][_0x3e4f11(0x179)]=='number'&&_0x5aeda2['client_max_window_bits']>this['_options'][_0x3e4f11(0x179)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5aeda2;}[_0x2c758e(0x1df)](_0x5d68e0){const _0x5cd673=_0x2c758e;return _0x5d68e0[_0x5cd673(0x197)](_0x29aac4=>{const _0x547849=_0x5cd673;Object['keys'](_0x29aac4)[_0x547849(0x197)](_0x5b6f82=>{const _0x3fc8af=_0x547849;let _0x139331=_0x29aac4[_0x5b6f82];if(_0x139331[_0x3fc8af(0x18a)]>0x1)throw new Error(_0x3fc8af(0xcc)+_0x5b6f82+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x139331=_0x139331[0x0],_0x5b6f82===_0x3fc8af(0xdd)){if(_0x139331!==!0x0){const _0x11ea58=+_0x139331;if(!Number[_0x3fc8af(0xc8)](_0x11ea58)||_0x11ea58<0x8||_0x11ea58>0xf)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);_0x139331=_0x11ea58;}else{if(!this[_0x3fc8af(0x11e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);}}else{if(_0x5b6f82==='server_max_window_bits'){const _0x11335e=+_0x139331;if(!Number['isInteger'](_0x11335e)||_0x11335e<0x8||_0x11335e>0xf)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+'\x22:\x20'+_0x139331);_0x139331=_0x11335e;}else{if(_0x5b6f82===_0x3fc8af(0xf1)||_0x5b6f82===_0x3fc8af(0x10e)){if(_0x139331!==!0x0)throw new TypeError(_0x3fc8af(0x138)+_0x5b6f82+_0x3fc8af(0x1a6)+_0x139331);}else throw new Error(_0x3fc8af(0xa9)+_0x5b6f82+'\x22');}}_0x29aac4[_0x5b6f82]=_0x139331;});}),_0x5d68e0;}[_0x2c758e(0x1f2)](_0x3be923,_0x1aa9d4,_0x3588ff){const _0x3d6348=_0x2c758e;_0x1bead6[_0x3d6348(0x1bd)](_0x58fa27=>{this['_decompress'](_0x3be923,_0x1aa9d4,(_0x58e864,_0x54c5ba)=>{_0x58fa27(),_0x3588ff(_0x58e864,_0x54c5ba);});});}['compress'](_0x26e135,_0x242f55,_0x3b2fd4){const _0x7e8b03=_0x2c758e;_0x1bead6[_0x7e8b03(0x1bd)](_0x8d87d8=>{const _0x5e3f8b=_0x7e8b03;this[_0x5e3f8b(0xb1)](_0x26e135,_0x242f55,(_0x3c3467,_0x5d1490)=>{_0x8d87d8(),_0x3b2fd4(_0x3c3467,_0x5d1490);});});}[_0x2c758e(0x17c)](_0x3052e0,_0x384592,_0x1347b3){const _0x196401=_0x2c758e,_0x4d10c1=this['_isServer']?'client':_0x196401(0x146);if(!this[_0x196401(0x1b8)]){const _0x3f8106=_0x4d10c1+'_max_window_bits',_0x25ad3b=typeof this[_0x196401(0xd8)][_0x3f8106]!='number'?_0x495415[_0x196401(0x22b)]:this[_0x196401(0xd8)][_0x3f8106];this[_0x196401(0x1b8)]=_0x495415[_0x196401(0x1bf)]({...this[_0x196401(0x1f6)]['zlibInflateOptions'],'windowBits':_0x25ad3b}),this[_0x196401(0x1b8)][_0x36f2d8]=this,this[_0x196401(0x1b8)][_0x194694]=0x0,this[_0x196401(0x1b8)][_0x521919]=[],this['_inflate']['on'](_0x196401(0x199),_0x2b462e),this['_inflate']['on']('data',_0x48fae9);}this[_0x196401(0x1b8)][_0x511dc4]=_0x1347b3,this[_0x196401(0x1b8)][_0x196401(0x22f)](_0x3052e0),_0x384592&&this[_0x196401(0x1b8)]['write'](_0x132b1f),this[_0x196401(0x1b8)][_0x196401(0x1ee)](()=>{const _0x41d912=_0x196401,_0x57018a=this['_inflate'][_0x143533];if(_0x57018a){this[_0x41d912(0x1b8)]['close'](),this[_0x41d912(0x1b8)]=null,_0x1347b3(_0x57018a);return;}const _0x3e0b62=_0x9655f3[_0x41d912(0x1dc)](this[_0x41d912(0x1b8)][_0x521919],this[_0x41d912(0x1b8)][_0x194694]);this[_0x41d912(0x1b8)][_0x41d912(0x1a7)][_0x41d912(0x1ad)]?(this[_0x41d912(0x1b8)][_0x41d912(0x16c)](),this[_0x41d912(0x1b8)]=null):(this[_0x41d912(0x1b8)][_0x194694]=0x0,this[_0x41d912(0x1b8)][_0x521919]=[],_0x384592&&this[_0x41d912(0xd8)][_0x4d10c1+_0x41d912(0x1f8)]&&this[_0x41d912(0x1b8)][_0x41d912(0x191)]()),_0x1347b3(null,_0x3e0b62);});}['_compress'](_0x37563a,_0xeafdd1,_0x242fe9){const _0x4e20a8=_0x2c758e,_0x1ae2fe=this['_isServer']?_0x4e20a8(0x146):_0x4e20a8(0xea);if(!this[_0x4e20a8(0x1bc)]){const _0x1951b5=_0x1ae2fe+_0x4e20a8(0x1a8),_0x2f1f89=typeof this[_0x4e20a8(0xd8)][_0x1951b5]!=_0x4e20a8(0x14e)?_0x495415[_0x4e20a8(0x22b)]:this[_0x4e20a8(0xd8)][_0x1951b5];this[_0x4e20a8(0x1bc)]=_0x495415[_0x4e20a8(0x1c3)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x2f1f89}),this['_deflate'][_0x194694]=0x0,this[_0x4e20a8(0x1bc)][_0x521919]=[],this[_0x4e20a8(0x1bc)]['on'](_0x4e20a8(0x21a),_0x316a3b);}this['_deflate'][_0x511dc4]=_0x242fe9,this[_0x4e20a8(0x1bc)][_0x4e20a8(0x22f)](_0x37563a),this[_0x4e20a8(0x1bc)][_0x4e20a8(0x1ee)](_0x495415[_0x4e20a8(0x225)],()=>{const _0x2b3c77=_0x4e20a8;if(!this[_0x2b3c77(0x1bc)])return;let _0x54f932=_0x9655f3[_0x2b3c77(0x1dc)](this[_0x2b3c77(0x1bc)][_0x521919],this[_0x2b3c77(0x1bc)][_0x194694]);_0xeafdd1&&(_0x54f932=new _0x4fae07(_0x54f932[_0x2b3c77(0x160)],_0x54f932['byteOffset'],_0x54f932[_0x2b3c77(0x18a)]-0x4)),this[_0x2b3c77(0x1bc)][_0x511dc4]=null,this[_0x2b3c77(0x1bc)][_0x194694]=0x0,this[_0x2b3c77(0x1bc)][_0x521919]=[],_0xeafdd1&&this[_0x2b3c77(0xd8)][_0x1ae2fe+_0x2b3c77(0x1f8)]&&this['_deflate'][_0x2b3c77(0x191)](),_0x242fe9(null,_0x54f932);});}}ve=_0x225300;function _0x316a3b(_0x237254){const _0xb39ee7=_0x2c758e;this[_0x521919][_0xb39ee7(0x1b4)](_0x237254),this[_0x194694]+=_0x237254[_0xb39ee7(0x18a)];}function _0x48fae9(_0x3e9c8a){const _0x24d566=_0x2c758e;if(this[_0x194694]+=_0x3e9c8a[_0x24d566(0x18a)],this[_0x36f2d8][_0x24d566(0x16a)]<0x1||this[_0x194694]<=this[_0x36f2d8][_0x24d566(0x16a)]){this[_0x521919][_0x24d566(0x1b4)](_0x3e9c8a);return;}this[_0x143533]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x143533][_0x24d566(0x135)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x143533][_0x2e030d]=0x3f1,this[_0x24d566(0x1bb)](_0x24d566(0x21a),_0x48fae9),this[_0x24d566(0x191)]();}function _0x2b462e(_0x3cbbe4){const _0x5550bc=_0x2c758e;if(this[_0x36f2d8][_0x5550bc(0x1b8)]=null,this[_0x143533]){this[_0x511dc4](this[_0x143533]);return;}_0x3cbbe4[_0x2e030d]=0x3ef,this[_0x511dc4](_0x3cbbe4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xcc8efe(0xcb)](Object[_0xcc8efe(0xf2)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0xcc8efe(0x1c8)})),Yt=ut(zt);var Qe;function _0x5d40(){const _0x53aa99=['MASK\x20must\x20be\x20set','ping','1153341hSWMEE','isView','_opcode','byteOffset','redirect','_doCreateSocket','kData','data','fragments','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeFrameReceived','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','delete','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_closeMessage','_autoPong','14mvZwTx','_maskBuffer','Z_SYNC_FLUSH','next','function','Unexpected\x20end\x20of\x20input','1024AuJyEv','addEventListener','Z_DEFAULT_WINDOWBITS','text/plain','File','binaryType','write','clientNoContextTakeover','_fragments','The\x20URL\x27s\x20pathname\x20is\x20empty','address','15172487yUojua','create','servername','setSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','alloc','writeHead','base64','enqueue','clients','serverMaxWindowBits','WS_ERR_UNEXPECTED_RSV_2_3','toStringTag','_bufferedBytes','_extensions','kMessage','isServer','onerror','CLOSED','readyState','update','finished','Unknown\x20parameter\x20\x22','_skipUTF8Validation','once','fin','hostname','accept','catch','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_compress','listenerCount','_generateMask','WS_ERR_UNEXPECTED_RSV_1','toLowerCase','https:','_binaryType','_sender','cork','shift','binary','OPEN','end','onopen','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','generateMask','emitClose','handleProtocols','_shouldEmitClose','_redirects','acceptAsServer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_writableState','isInteger','status-code','host','freeze','Parameter\x20\x22','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','offer','set','method','sec-websocket-extensions','_receiver','jobs','invalid\x20payload\x20length\x20','Basic\x20','_buffers','getConfig','params','mask','6501ULRjjJ','CONNECTING','extensionName','client_max_window_bits','options','Sec-WebSocket-Extensions','charCodeAt','message','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_write','WS_NO_UTF_8_VALIDATE','destroy','text/html','Invalid\x20Sec-WebSocket-Protocol\x20header','RSV1\x20must\x20be\x20clear','Opening\x20handshake\x20has\x20timed\x20out','client','\x22\x20subprotocol\x20is\x20duplicated','password','statusCode','slice','GET','values','client_no_context_takeover','defineProperty','WS_ERR_INVALID_OPCODE','Invalid\x20HTTP\x20method','_removeListeners','server_max_window_bits','writable','replace','_masked','Server\x20sent\x20an\x20invalid\x20subprotocol','_read','completeUpgrade','getData','startLoop','cleanup','Connection:\x20Upgrade','_originalHostOrSocketPath','resume','location','errorEmitted','STATUS_CODES','_allowSynchronousEvents','_queue','_mask','split','_loop','WS_ERR_EXPECTED_FIN','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','The\x20server\x20is\x20not\x20running','server_no_context_takeover','isValidUTF8','http:','_protocol','onStarting','_totalPayloadLength','destroyed','_firstFragment','threshold','connect','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','captureStackTrace','protocolVersion','dispatch','path','__esModule','_isServer','handshakeTimeout','keys','acceptAsClient','object','finishRequest','kTarget','send','_closeTimer','invalid\x20opcode\x20','readUInt16BE','467526xbMdLb','Server\x20sent\x20no\x20subprotocol','target','setTimeout','digest','_state','headers','wsClientError','getPayloadLength64','username','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_server','code','type','Invalid\x20Upgrade\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','_socket','kReason','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','constructor','needDrain','read','pathname','registerHTTPInterceptor','string','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','dequeue','_req','env','server','handleUpgrade','_closeCode','bind','_compressed','protocol','pipe','indexOf','number','_fin','skipUTF8Validation','size','allocUnsafe','readOnly','_final','Sec-WebSocket-Extensions:\x20','kRun','Upgrade:\x20websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','authorization','Unexpected\x20character\x20at\x20index\x20','Sec-WebSocket-Origin','removeAllListeners','terminate','origin','sha1','buffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isIP','verifyClient','wasClean','dataMessage','consume','parse','concurrency','byteLength','_maxPayload','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','close','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getOwnPropertyDescriptor','search','value','\x0d\x0a\x0d\x0a','uncork','unmask','_bufferedAmount','readable','sendFrame','pluginName','has','clientMaxWindowBits','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','from','_decompress','HTTP/1.1\x20','socketPath','Sec-WebSocket-Protocol','WS_ERR_EXPECTED_MASK','pause','setConfig','construct','allowSynchronousEvents','setHeader','invalid\x20opcode\x200','_injector','_url','CLOSING','length','wss:','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','callback','unshift','socket','invalid\x20UTF-8\x20sequence','reset','Max\x20payload\x20size\x20exceeded','listen','customHeaders','auth','_originalSecure','forEach','pong','error','createConnection','_fragmented','upgrade','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_closeFrameSent','cookie','join','getBlobData','conclude','writeUIntBE','\x22:\x20','_readableState','_max_window_bits','blob','apply','frame','entries','endEmitted','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_originalIpc','WS_ERR_UNEXPECTED_MASK','port','nodebuffer','extensions','push','websocket','Unsupported\x20protocol\x20version:\x20','includes','_inflate','concurrencyLimit','backlog','removeListener','_deflate','add','maxPayload','createInflateRaw','_httpService','listeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','createDeflateRaw','stream','writeUInt16BE','call','Invalid\x20Sec-WebSocket-Accept\x20header','Module','bufferedAmount','createSocket','request','Sec-WebSocket-Protocol:\x20','defaultPort','haveLength','objectMode','prototype','The\x20\x22','exports','_registerDependencies','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_destroy','_paused','arrayBuffer','finish','Maximum\x20redirects\x20exceeded','toString','format','concat','removeEventListener','reason','normalizeParams','timeout','4719890cOpdue','Blob','4cSqIxx','isArray','species','invalid\x20status\x20code\x20','perMessageDeflate','map','readUInt32BE','nextTick','417227StaFgr','getPayloadLength16','kDone','flush','setNoDelay','noServer','sec-websocket-version','decompress','_messageLength','_readyState','kError','_options','listening','_no_context_takeover','connection','ws:','_configService','opcode','encrypted','emit','compress','url','20CDomZU','_errorEmitted','WS_ERR_INVALID_CLOSE_CODE','sec-websocket-protocol','open','_payloadLength','pending','isPaused','_threshold','Origin','_errored','WS_NO_BUFFER_UTIL','unexpected-response','createError','3257696thXxOo','permessage-deflate'];_0x5d40=function(){return _0x53aa99;};return _0x5d40();}function ne(){const _0x38e5a3=_0xcc8efe;if(Qe)return re[_0x38e5a3(0x1d2)];Qe=0x1;const {isUtf8:_0x1c1171}=_0x46f6de,{hasBlob:_0x3a6bc0}=V(),_0x115141=[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 _0x3fe4cb(_0x21c4f0){return _0x21c4f0>=0x3e8&&_0x21c4f0<=0x3f6&&_0x21c4f0!==0x3ec&&_0x21c4f0!==0x3ed&&_0x21c4f0!==0x3ee||_0x21c4f0>=0xbb8&&_0x21c4f0<=0x1387;}function _0xd9254(_0x45c7d8){const _0x2c8975=_0x38e5a3,_0x465daf=_0x45c7d8[_0x2c8975(0x18a)];let _0x80fbc7=0x0;for(;_0x80fbc7<_0x465daf;)if((_0x45c7d8[_0x80fbc7]&0x80)===0x0)_0x80fbc7++;else{if((_0x45c7d8[_0x80fbc7]&0xe0)===0xc0){if(_0x80fbc7+0x1===_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7]&0xfe)===0xc0)return!0x1;_0x80fbc7+=0x2;}else{if((_0x45c7d8[_0x80fbc7]&0xf0)===0xe0){if(_0x80fbc7+0x2>=_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x2]&0xc0)!==0x80||_0x45c7d8[_0x80fbc7]===0xe0&&(_0x45c7d8[_0x80fbc7+0x1]&0xe0)===0x80||_0x45c7d8[_0x80fbc7]===0xed&&(_0x45c7d8[_0x80fbc7+0x1]&0xe0)===0xa0)return!0x1;_0x80fbc7+=0x3;}else{if((_0x45c7d8[_0x80fbc7]&0xf8)===0xf0){if(_0x80fbc7+0x3>=_0x465daf||(_0x45c7d8[_0x80fbc7+0x1]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x2]&0xc0)!==0x80||(_0x45c7d8[_0x80fbc7+0x3]&0xc0)!==0x80||_0x45c7d8[_0x80fbc7]===0xf0&&(_0x45c7d8[_0x80fbc7+0x1]&0xf0)===0x80||_0x45c7d8[_0x80fbc7]===0xf4&&_0x45c7d8[_0x80fbc7+0x1]>0x8f||_0x45c7d8[_0x80fbc7]>0xf4)return!0x1;_0x80fbc7+=0x4;}else return!0x1;}}}return!0x0;}function _0x54982d(_0x2dbf7d){const _0x2402dd=_0x38e5a3;return _0x3a6bc0&&typeof _0x2dbf7d==_0x2402dd(0x122)&&typeof _0x2dbf7d[_0x2402dd(0x1d7)]==_0x2402dd(0x227)&&typeof _0x2dbf7d[_0x2402dd(0x136)]==_0x2402dd(0x141)&&typeof _0x2dbf7d[_0x2402dd(0x1c4)]=='function'&&(_0x2dbf7d[Symbol[_0x2402dd(0x9f)]]===_0x2402dd(0x1e2)||_0x2dbf7d[Symbol[_0x2402dd(0x9f)]]===_0x2402dd(0x22d));}if(re[_0x38e5a3(0x1d2)]={'isBlob':_0x54982d,'isValidStatusCode':_0x3fe4cb,'isValidUTF8':_0xd9254,'tokenChars':_0x115141},_0x1c1171)re['exports'][_0x38e5a3(0x10f)]=function(_0x1f5546){const _0x5ac1be=_0x38e5a3;return _0x1f5546[_0x5ac1be(0x18a)]<0x18?_0xd9254(_0x1f5546):_0x1c1171(_0x1f5546);};else{if(!process[_0x38e5a3(0x145)][_0x38e5a3(0xe4)])try{const _0x57ecc8=Yt;re['exports'][_0x38e5a3(0x10f)]=function(_0x3a5858){return _0x3a5858['length']<0x20?_0xd9254(_0x3a5858):_0x57ecc8(_0x3a5858);};}catch{}}return re[_0x38e5a3(0x1d2)];}var Se,Je;function dt(){const _0xd51e52=_0xcc8efe;if(Je)return Se;Je=0x1;const {Writable:_0x31611d}=_0x4726f2,_0x1433b4=he(),{BINARY_TYPES:_0x3db670,EMPTY_BUFFER:_0x1c62df,kStatusCode:_0x2c69a4,kWebSocket:_0x36a91f}=V(),{concat:_0x3fa311,toArrayBuffer:_0x313744,unmask:_0x27ecd0}=ce(),{isValidStatusCode:_0x392dde,isValidUTF8:_0x4ece44}=ne(),_0xce8f0a=Buffer[Symbol[_0xd51e52(0x1e5)]],_0x2dbfef=0x0,_0x31bfb9=0x1,_0x100615=0x2,_0x16760a=0x3,_0x2c4b1e=0x4,_0x1e77aa=0x5,_0x211f20=0x6;class _0x1664f5 extends _0x31611d{constructor(_0x1dae76={}){const _0x453fad=_0xd51e52;super(),this[_0x453fad(0x106)]=_0x1dae76[_0x453fad(0x184)]!==void 0x0?_0x1dae76[_0x453fad(0x184)]:!0x0,this[_0x453fad(0xb7)]=_0x1dae76['binaryType']||_0x3db670[0x0],this[_0x453fad(0xa1)]=_0x1dae76[_0x453fad(0x1b3)]||{},this[_0x453fad(0x11e)]=!!_0x1dae76[_0x453fad(0xa3)],this[_0x453fad(0x16a)]=_0x1dae76[_0x453fad(0x1be)]|0x0,this[_0x453fad(0xaa)]=!!_0x1dae76[_0x453fad(0x150)],this[_0x36a91f]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x453fad(0x14a)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x453fad(0x19b)]=0x0,this[_0x453fad(0xf9)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x453fad(0x113)]=0x0,this[_0x453fad(0x1f3)]=0x0,this[_0x453fad(0x231)]=[],this['_errored']=!0x1,this[_0x453fad(0x10a)]=!0x1,this['_state']=_0x2dbfef;}[_0xd51e52(0xe3)](_0x2d9af1,_0x36a762,_0x2c83b8){const _0x33dd6b=_0xd51e52;if(this['_opcode']===0x8&&this[_0x33dd6b(0x12e)]==_0x2dbfef)return _0x2c83b8();this[_0x33dd6b(0xa0)]+=_0x2d9af1[_0x33dd6b(0x18a)],this['_buffers']['push'](_0x2d9af1),this[_0x33dd6b(0xfe)](_0x2c83b8);}[_0xd51e52(0x166)](_0x4c988b){const _0x301956=_0xd51e52;if(this['_bufferedBytes']-=_0x4c988b,_0x4c988b===this['_buffers'][0x0][_0x301956(0x18a)])return this[_0x301956(0xd6)][_0x301956(0xba)]();if(_0x4c988b<this[_0x301956(0xd6)][0x0][_0x301956(0x18a)]){const _0xb0eb17=this['_buffers'][0x0];return this[_0x301956(0xd6)][0x0]=new _0xce8f0a(_0xb0eb17[_0x301956(0x160)],_0xb0eb17['byteOffset']+_0x4c988b,_0xb0eb17['length']-_0x4c988b),new _0xce8f0a(_0xb0eb17[_0x301956(0x160)],_0xb0eb17[_0x301956(0x216)],_0x4c988b);}const _0x322de3=Buffer[_0x301956(0x152)](_0x4c988b);do{const _0x52fb83=this['_buffers'][0x0],_0x4aa989=_0x322de3[_0x301956(0x18a)]-_0x4c988b;_0x4c988b>=_0x52fb83[_0x301956(0x18a)]?_0x322de3[_0x301956(0xcf)](this[_0x301956(0xd6)]['shift'](),_0x4aa989):(_0x322de3[_0x301956(0xcf)](new Uint8Array(_0x52fb83[_0x301956(0x160)],_0x52fb83['byteOffset'],_0x4c988b),_0x4aa989),this[_0x301956(0xd6)][0x0]=new _0xce8f0a(_0x52fb83[_0x301956(0x160)],_0x52fb83[_0x301956(0x216)]+_0x4c988b,_0x52fb83[_0x301956(0x18a)]-_0x4c988b)),_0x4c988b-=_0x52fb83[_0x301956(0x18a)];}while(_0x4c988b>0x0);return _0x322de3;}[_0xd51e52(0xfe)](_0x4f3c8e){const _0x5ee52a=_0xd51e52;this[_0x5ee52a(0x10a)]=!0x0;do switch(this[_0x5ee52a(0x12e)]){case _0x2dbfef:this['getInfo'](_0x4f3c8e);break;case _0x31bfb9:this[_0x5ee52a(0x1ec)](_0x4f3c8e);break;case _0x100615:this[_0x5ee52a(0x131)](_0x4f3c8e);break;case _0x16760a:this['getMask']();break;case _0x2c4b1e:this[_0x5ee52a(0xfd)](_0x4f3c8e);break;case _0x1e77aa:case _0x211f20:this[_0x5ee52a(0x10a)]=!0x1;return;}while(this[_0x5ee52a(0x10a)]);this[_0x5ee52a(0x20b)]||_0x4f3c8e();}['getInfo'](_0x5270f5){const _0x1f50f4=_0xd51e52;if(this[_0x1f50f4(0xa0)]<0x2){this[_0x1f50f4(0x10a)]=!0x1;return;}const _0x2f3ba4=this[_0x1f50f4(0x166)](0x2);if((_0x2f3ba4[0x0]&0x30)!==0x0){const _0x12a43d=this[_0x1f50f4(0x20e)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0x9e));_0x5270f5(_0x12a43d);return;}const _0x34d5f7=(_0x2f3ba4[0x0]&0x40)===0x40;if(_0x34d5f7&&!this['_extensions'][_0x1433b4[_0x1f50f4(0xdc)]]){const _0x17d260=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0xe8),!0x0,0x3ea,_0x1f50f4(0xb4));_0x5270f5(_0x17d260);return;}if(this[_0x1f50f4(0x14f)]=(_0x2f3ba4[0x0]&0x80)===0x80,this[_0x1f50f4(0x215)]=_0x2f3ba4[0x0]&0xf,this['_payloadLength']=_0x2f3ba4[0x1]&0x7f,this[_0x1f50f4(0x215)]===0x0){if(_0x34d5f7){const _0x81349e=this['createError'](RangeError,_0x1f50f4(0xe8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5270f5(_0x81349e);return;}if(!this[_0x1f50f4(0x19b)]){const _0x43a9bf=this['createError'](RangeError,_0x1f50f4(0x186),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5270f5(_0x43a9bf);return;}this[_0x1f50f4(0x215)]=this[_0x1f50f4(0x19b)];}else{if(this['_opcode']===0x1||this[_0x1f50f4(0x215)]===0x2){if(this[_0x1f50f4(0x19b)]){const _0x405a67=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x127)+this[_0x1f50f4(0x215)],!0x0,0x3ea,_0x1f50f4(0xf3));_0x5270f5(_0x405a67);return;}this[_0x1f50f4(0x14a)]=_0x34d5f7;}else{if(this[_0x1f50f4(0x215)]>0x7&&this[_0x1f50f4(0x215)]<0xb){if(!this['_fin']){const _0x26d684=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1f50f4(0x10b));_0x5270f5(_0x26d684);return;}if(_0x34d5f7){const _0x364ce8=this[_0x1f50f4(0x20e)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0xb4));_0x5270f5(_0x364ce8);return;}if(this[_0x1f50f4(0x206)]>0x7d||this['_opcode']===0x8&&this[_0x1f50f4(0x206)]===0x1){const _0x2e9b96=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0xd4)+this['_payloadLength'],!0x0,0x3ea,_0x1f50f4(0x19f));_0x5270f5(_0x2e9b96);return;}}else{const _0x706648=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x127)+this[_0x1f50f4(0x215)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5270f5(_0x706648);return;}}}if(!this[_0x1f50f4(0x14f)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x1f50f4(0x215)]),this['_masked']=(_0x2f3ba4[0x1]&0x80)===0x80,this[_0x1f50f4(0x11e)]){if(!this[_0x1f50f4(0xf9)]){const _0x1f2b30=this[_0x1f50f4(0x20e)](RangeError,_0x1f50f4(0x211),!0x0,0x3ea,_0x1f50f4(0x180));_0x5270f5(_0x1f2b30);return;}}else{if(this[_0x1f50f4(0xf9)]){const _0x600990=this[_0x1f50f4(0x20e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x1f50f4(0x1b0));_0x5270f5(_0x600990);return;}}this[_0x1f50f4(0x206)]===0x7e?this[_0x1f50f4(0x12e)]=_0x31bfb9:this['_payloadLength']===0x7f?this[_0x1f50f4(0x12e)]=_0x100615:this['haveLength'](_0x5270f5);}[_0xd51e52(0x1ec)](_0x295df2){const _0x4ae8b8=_0xd51e52;if(this['_bufferedBytes']<0x2){this[_0x4ae8b8(0x10a)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x4ae8b8(0x128)](0x0),this[_0x4ae8b8(0x1ce)](_0x295df2);}[_0xd51e52(0x131)](_0x28040b){const _0x172fca=_0xd51e52;if(this['_bufferedBytes']<0x8){this[_0x172fca(0x10a)]=!0x1;return;}const _0x48df8f=this[_0x172fca(0x166)](0x8),_0x37d9a5=_0x48df8f[_0x172fca(0x1e9)](0x0);if(_0x37d9a5>Math['pow'](0x2,0x15)-0x1){const _0x144333=this[_0x172fca(0x20e)](RangeError,_0x172fca(0x18c),!0x1,0x3f1,_0x172fca(0x161));_0x28040b(_0x144333);return;}this[_0x172fca(0x206)]=_0x37d9a5*Math['pow'](0x2,0x20)+_0x48df8f['readUInt32BE'](0x4),this[_0x172fca(0x1ce)](_0x28040b);}['haveLength'](_0x3025aa){const _0x5dbdb2=_0xd51e52;if(this[_0x5dbdb2(0x206)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5dbdb2(0x16a)]>0x0)){const _0xa93601=this[_0x5dbdb2(0x20e)](RangeError,_0x5dbdb2(0x192),!0x1,0x3f1,_0x5dbdb2(0xb0));_0x3025aa(_0xa93601);return;}this[_0x5dbdb2(0xf9)]?this['_state']=_0x16760a:this[_0x5dbdb2(0x12e)]=_0x2c4b1e;}['getMask'](){const _0x48a6b6=_0xd51e52;if(this[_0x48a6b6(0xa0)]<0x4){this[_0x48a6b6(0x10a)]=!0x1;return;}this[_0x48a6b6(0x108)]=this['consume'](0x4),this[_0x48a6b6(0x12e)]=_0x2c4b1e;}[_0xd51e52(0xfd)](_0x47664f){const _0x77afbd=_0xd51e52;let _0x5df77d=_0x1c62df;if(this[_0x77afbd(0x206)]){if(this[_0x77afbd(0xa0)]<this[_0x77afbd(0x206)]){this[_0x77afbd(0x10a)]=!0x1;return;}_0x5df77d=this[_0x77afbd(0x166)](this['_payloadLength']),this[_0x77afbd(0xf9)]&&(this[_0x77afbd(0x108)][0x0]|this['_mask'][0x1]|this[_0x77afbd(0x108)][0x2]|this[_0x77afbd(0x108)][0x3])!==0x0&&_0x27ecd0(_0x5df77d,this[_0x77afbd(0x108)]);}if(this[_0x77afbd(0x215)]>0x7){this['controlMessage'](_0x5df77d,_0x47664f);return;}if(this['_compressed']){this[_0x77afbd(0x12e)]=_0x1e77aa,this[_0x77afbd(0x1f2)](_0x5df77d,_0x47664f);return;}_0x5df77d['length']&&(this[_0x77afbd(0x1f3)]=this[_0x77afbd(0x113)],this[_0x77afbd(0x231)][_0x77afbd(0x1b4)](_0x5df77d)),this['dataMessage'](_0x47664f);}[_0xd51e52(0x1f2)](_0x50c493,_0x3b5ef5){const _0x584061=_0xd51e52;this[_0x584061(0xa1)][_0x1433b4[_0x584061(0xdc)]][_0x584061(0x1f2)](_0x50c493,this[_0x584061(0x14f)],(_0x151c4c,_0xa37da2)=>{const _0x3df639=_0x584061;if(_0x151c4c)return _0x3b5ef5(_0x151c4c);if(_0xa37da2[_0x3df639(0x18a)]){if(this[_0x3df639(0x1f3)]+=_0xa37da2['length'],this['_messageLength']>this[_0x3df639(0x16a)]&&this['_maxPayload']>0x0){const _0x45b944=this[_0x3df639(0x20e)](RangeError,_0x3df639(0x192),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3b5ef5(_0x45b944);return;}this[_0x3df639(0x231)][_0x3df639(0x1b4)](_0xa37da2);}this[_0x3df639(0x165)](_0x3b5ef5),this[_0x3df639(0x12e)]===_0x2dbfef&&this['startLoop'](_0x3b5ef5);});}[_0xd51e52(0x165)](_0x1601b7){const _0x10faeb=_0xd51e52;if(!this['_fin']){this[_0x10faeb(0x12e)]=_0x2dbfef;return;}const _0x34e86c=this[_0x10faeb(0x1f3)],_0xa5ffdd=this['_fragments'];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x10faeb(0x19b)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4603da;this[_0x10faeb(0xb7)]===_0x10faeb(0x1b2)?_0x4603da=_0x3fa311(_0xa5ffdd,_0x34e86c):this[_0x10faeb(0xb7)]==='arraybuffer'?_0x4603da=_0x313744(_0x3fa311(_0xa5ffdd,_0x34e86c)):this[_0x10faeb(0xb7)]==='blob'?_0x4603da=new Blob(_0xa5ffdd):_0x4603da=_0xa5ffdd,this[_0x10faeb(0x106)]?(this[_0x10faeb(0x1fe)](_0x10faeb(0xe1),_0x4603da,!0x0),this[_0x10faeb(0x12e)]=_0x2dbfef):(this[_0x10faeb(0x12e)]=_0x211f20,setImmediate(()=>{const _0x336411=_0x10faeb;this[_0x336411(0x1fe)](_0x336411(0xe1),_0x4603da,!0x0),this['_state']=_0x2dbfef,this[_0x336411(0xfe)](_0x1601b7);}));}else{const _0x1dda48=_0x3fa311(_0xa5ffdd,_0x34e86c);if(!this['_skipUTF8Validation']&&!_0x4ece44(_0x1dda48)){const _0xecb92a=this[_0x10faeb(0x20e)](Error,_0x10faeb(0x190),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1601b7(_0xecb92a);return;}this[_0x10faeb(0x12e)]===_0x1e77aa||this[_0x10faeb(0x106)]?(this[_0x10faeb(0x1fe)](_0x10faeb(0xe1),_0x1dda48,!0x1),this['_state']=_0x2dbfef):(this[_0x10faeb(0x12e)]=_0x211f20,setImmediate(()=>{const _0x13fb28=_0x10faeb;this[_0x13fb28(0x1fe)](_0x13fb28(0xe1),_0x1dda48,!0x1),this[_0x13fb28(0x12e)]=_0x2dbfef,this[_0x13fb28(0xfe)](_0x1601b7);}));}}['controlMessage'](_0x1c2567,_0x476e2f){const _0x565329=_0xd51e52;if(this[_0x565329(0x215)]===0x8){if(_0x1c2567['length']===0x0)this[_0x565329(0x10a)]=!0x1,this[_0x565329(0x1fe)](_0x565329(0x1a4),0x3ed,_0x1c62df),this['end']();else{const _0x40eab9=_0x1c2567['readUInt16BE'](0x0);if(!_0x392dde(_0x40eab9)){const _0x296c6f=this[_0x565329(0x20e)](RangeError,_0x565329(0x1e6)+_0x40eab9,!0x0,0x3ea,_0x565329(0x203));_0x476e2f(_0x296c6f);return;}const _0x526aac=new _0xce8f0a(_0x1c2567[_0x565329(0x160)],_0x1c2567[_0x565329(0x216)]+0x2,_0x1c2567['length']-0x2);if(!this[_0x565329(0xaa)]&&!_0x4ece44(_0x526aac)){const _0x4fb7ae=this[_0x565329(0x20e)](Error,_0x565329(0x190),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x476e2f(_0x4fb7ae);return;}this[_0x565329(0x10a)]=!0x1,this[_0x565329(0x1fe)](_0x565329(0x1a4),_0x40eab9,_0x526aac),this[_0x565329(0xbd)]();}this[_0x565329(0x12e)]=_0x2dbfef;return;}this[_0x565329(0x106)]?(this[_0x565329(0x1fe)](this[_0x565329(0x215)]===0x9?_0x565329(0x212):_0x565329(0x198),_0x1c2567),this['_state']=_0x2dbfef):(this[_0x565329(0x12e)]=_0x211f20,setImmediate(()=>{const _0x5bca28=_0x565329;this['emit'](this[_0x5bca28(0x215)]===0x9?_0x5bca28(0x212):_0x5bca28(0x198),_0x1c2567),this['_state']=_0x2dbfef,this[_0x5bca28(0xfe)](_0x476e2f);}));}[_0xd51e52(0x20e)](_0x1402f6,_0x3bb517,_0x56fbc8,_0x3da8f4,_0x2ce4e5){const _0x5ac881=_0xd51e52;this[_0x5ac881(0x10a)]=!0x1,this[_0x5ac881(0x20b)]=!0x0;const _0x5d82b1=new _0x1402f6(_0x56fbc8?'Invalid\x20WebSocket\x20frame:\x20'+_0x3bb517:_0x3bb517);return Error[_0x5ac881(0x119)](_0x5d82b1,this[_0x5ac881(0x20e)]),_0x5d82b1[_0x5ac881(0x135)]=_0x2ce4e5,_0x5d82b1[_0x2c69a4]=_0x3da8f4,_0x5d82b1;}}return Se=_0x1664f5,Se;}var Ee,et;function _t(){const _0x26ad8c=_0xcc8efe;if(et)return Ee;et=0x1;const {Duplex:_0xc802cf}=_0x4726f2,{randomFillSync:_0x2c89c2}=_0xcdc505,_0x2fa2f2=he(),{EMPTY_BUFFER:_0x2c2cb9,kWebSocket:_0x5ce5aa,NOOP:_0x456b6c}=V(),{isBlob:_0x262886,isValidStatusCode:_0x5627c1}=ne(),{mask:_0x3bedc0,toBuffer:_0x3e1b84}=ce(),_0x576efc=Symbol('kByteLength'),_0x3a5f6f=Buffer[_0x26ad8c(0x98)](0x4),_0x1ecbb1=0x8*0x400;let _0x5b9960,_0x167ab0=_0x1ecbb1;const _0x4ce78c=0x0,_0xd2177=0x1,_0x22f9ff=0x2;class _0x49d8a2{constructor(_0x33d552,_0x261d51,_0x5761d3){const _0x4f93b5=_0x26ad8c;this[_0x4f93b5(0xa1)]=_0x261d51||{},_0x5761d3&&(this[_0x4f93b5(0xb3)]=_0x5761d3,this[_0x4f93b5(0x224)]=Buffer[_0x4f93b5(0x98)](0x4)),this[_0x4f93b5(0x139)]=_0x33d552,this[_0x4f93b5(0x115)]=!0x0,this[_0x4f93b5(0xb1)]=!0x1,this[_0x4f93b5(0xa0)]=0x0,this['_queue']=[],this['_state']=_0x4ce78c,this[_0x4f93b5(0xa4)]=_0x456b6c,this[_0x5ce5aa]=void 0x0;}static[_0x26ad8c(0x1ab)](_0x17bcae,_0x322a2d){const _0x344f79=_0x26ad8c;let _0x59112e,_0x4b62dc=!0x1,_0x5dafd4=0x2,_0xbbc3bf=!0x1;_0x322a2d[_0x344f79(0xd9)]&&(_0x59112e=_0x322a2d['maskBuffer']||_0x3a5f6f,_0x322a2d[_0x344f79(0xc0)]?_0x322a2d[_0x344f79(0xc0)](_0x59112e):(_0x167ab0===_0x1ecbb1&&(_0x5b9960===void 0x0&&(_0x5b9960=Buffer[_0x344f79(0x98)](_0x1ecbb1)),_0x2c89c2(_0x5b9960,0x0,_0x1ecbb1),_0x167ab0=0x0),_0x59112e[0x0]=_0x5b9960[_0x167ab0++],_0x59112e[0x1]=_0x5b9960[_0x167ab0++],_0x59112e[0x2]=_0x5b9960[_0x167ab0++],_0x59112e[0x3]=_0x5b9960[_0x167ab0++]),_0xbbc3bf=(_0x59112e[0x0]|_0x59112e[0x1]|_0x59112e[0x2]|_0x59112e[0x3])===0x0,_0x5dafd4=0x6);let _0x3a739a;typeof _0x17bcae==_0x344f79(0x141)?(!_0x322a2d[_0x344f79(0xd9)]||_0xbbc3bf)&&_0x322a2d[_0x576efc]!==void 0x0?_0x3a739a=_0x322a2d[_0x576efc]:(_0x17bcae=Buffer['from'](_0x17bcae),_0x3a739a=_0x17bcae[_0x344f79(0x18a)]):(_0x3a739a=_0x17bcae['length'],_0x4b62dc=_0x322a2d[_0x344f79(0xd9)]&&_0x322a2d[_0x344f79(0x153)]&&!_0xbbc3bf);let _0x1fed67=_0x3a739a;_0x3a739a>=0x10000?(_0x5dafd4+=0x8,_0x1fed67=0x7f):_0x3a739a>0x7d&&(_0x5dafd4+=0x2,_0x1fed67=0x7e);const _0x4189b2=Buffer['allocUnsafe'](_0x4b62dc?_0x3a739a+_0x5dafd4:_0x5dafd4);return _0x4189b2[0x0]=_0x322a2d[_0x344f79(0xac)]?_0x322a2d[_0x344f79(0x1fc)]|0x80:_0x322a2d['opcode'],_0x322a2d['rsv1']&&(_0x4189b2[0x0]|=0x40),_0x4189b2[0x1]=_0x1fed67,_0x1fed67===0x7e?_0x4189b2[_0x344f79(0x1c5)](_0x3a739a,0x2):_0x1fed67===0x7f&&(_0x4189b2[0x2]=_0x4189b2[0x3]=0x0,_0x4189b2[_0x344f79(0x1a5)](_0x3a739a,0x4,0x6)),_0x322a2d[_0x344f79(0xd9)]?(_0x4189b2[0x1]|=0x80,_0x4189b2[_0x5dafd4-0x4]=_0x59112e[0x0],_0x4189b2[_0x5dafd4-0x3]=_0x59112e[0x1],_0x4189b2[_0x5dafd4-0x2]=_0x59112e[0x2],_0x4189b2[_0x5dafd4-0x1]=_0x59112e[0x3],_0xbbc3bf?[_0x4189b2,_0x17bcae]:_0x4b62dc?(_0x3bedc0(_0x17bcae,_0x59112e,_0x4189b2,_0x5dafd4,_0x3a739a),[_0x4189b2]):(_0x3bedc0(_0x17bcae,_0x59112e,_0x17bcae,0x0,_0x3a739a),[_0x4189b2,_0x17bcae])):[_0x4189b2,_0x17bcae];}['close'](_0x26c27d,_0x111eeb,_0x18b9cd,_0x4e0617){const _0x465ea4=_0x26ad8c;let _0x4e2653;if(_0x26c27d===void 0x0)_0x4e2653=_0x2c2cb9;else{if(typeof _0x26c27d!=_0x465ea4(0x14e)||!_0x5627c1(_0x26c27d))throw new TypeError(_0x465ea4(0x16b));if(_0x111eeb===void 0x0||!_0x111eeb[_0x465ea4(0x18a)])_0x4e2653=Buffer['allocUnsafe'](0x2),_0x4e2653[_0x465ea4(0x1c5)](_0x26c27d,0x0);else{const _0x3a6b34=Buffer['byteLength'](_0x111eeb);if(_0x3a6b34>0x7b)throw new RangeError(_0x465ea4(0x1d4));_0x4e2653=Buffer[_0x465ea4(0x152)](0x2+_0x3a6b34),_0x4e2653[_0x465ea4(0x1c5)](_0x26c27d,0x0),typeof _0x111eeb==_0x465ea4(0x141)?_0x4e2653['write'](_0x111eeb,0x2):_0x4e2653[_0x465ea4(0xcf)](_0x111eeb,0x2);}}const _0x387851={[_0x576efc]:_0x4e2653[_0x465ea4(0x18a)],'fin':!0x0,'generateMask':this[_0x465ea4(0xb3)],'mask':_0x18b9cd,'maskBuffer':this[_0x465ea4(0x224)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x4ce78c?this['enqueue']([this['dispatch'],_0x4e2653,!0x1,_0x387851,_0x4e0617]):this['sendFrame'](_0x49d8a2[_0x465ea4(0x1ab)](_0x4e2653,_0x387851),_0x4e0617);}[_0x26ad8c(0x212)](_0x477aa9,_0x4d6e77,_0x25b4c5){const _0x3b0949=_0x26ad8c;let _0x523166,_0xe40563;if(typeof _0x477aa9==_0x3b0949(0x141)?(_0x523166=Buffer[_0x3b0949(0x169)](_0x477aa9),_0xe40563=!0x1):_0x262886(_0x477aa9)?(_0x523166=_0x477aa9[_0x3b0949(0x151)],_0xe40563=!0x1):(_0x477aa9=_0x3e1b84(_0x477aa9),_0x523166=_0x477aa9[_0x3b0949(0x18a)],_0xe40563=_0x3e1b84[_0x3b0949(0x153)]),_0x523166>0x7d)throw new RangeError(_0x3b0949(0xe2));const _0xd9b5b6={[_0x576efc]:_0x523166,'fin':!0x0,'generateMask':this[_0x3b0949(0xb3)],'mask':_0x4d6e77,'maskBuffer':this[_0x3b0949(0x224)],'opcode':0x9,'readOnly':_0xe40563,'rsv1':!0x1};_0x262886(_0x477aa9)?this['_state']!==_0x4ce78c?this[_0x3b0949(0x9b)]([this[_0x3b0949(0x1a3)],_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5]):this['getBlobData'](_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5):this[_0x3b0949(0x12e)]!==_0x4ce78c?this[_0x3b0949(0x9b)]([this[_0x3b0949(0x11b)],_0x477aa9,!0x1,_0xd9b5b6,_0x25b4c5]):this[_0x3b0949(0x176)](_0x49d8a2['frame'](_0x477aa9,_0xd9b5b6),_0x25b4c5);}[_0x26ad8c(0x198)](_0x4d938d,_0x4f3209,_0xb185a1){const _0x388260=_0x26ad8c;let _0x37e59c,_0x394184;if(typeof _0x4d938d=='string'?(_0x37e59c=Buffer['byteLength'](_0x4d938d),_0x394184=!0x1):_0x262886(_0x4d938d)?(_0x37e59c=_0x4d938d['size'],_0x394184=!0x1):(_0x4d938d=_0x3e1b84(_0x4d938d),_0x37e59c=_0x4d938d['length'],_0x394184=_0x3e1b84[_0x388260(0x153)]),_0x37e59c>0x7d)throw new RangeError(_0x388260(0xe2));const _0xb8c15b={[_0x576efc]:_0x37e59c,'fin':!0x0,'generateMask':this[_0x388260(0xb3)],'mask':_0x4f3209,'maskBuffer':this[_0x388260(0x224)],'opcode':0xa,'readOnly':_0x394184,'rsv1':!0x1};_0x262886(_0x4d938d)?this[_0x388260(0x12e)]!==_0x4ce78c?this[_0x388260(0x9b)]([this[_0x388260(0x1a3)],_0x4d938d,!0x1,_0xb8c15b,_0xb185a1]):this[_0x388260(0x1a3)](_0x4d938d,!0x1,_0xb8c15b,_0xb185a1):this[_0x388260(0x12e)]!==_0x4ce78c?this[_0x388260(0x9b)]([this['dispatch'],_0x4d938d,!0x1,_0xb8c15b,_0xb185a1]):this['sendFrame'](_0x49d8a2[_0x388260(0x1ab)](_0x4d938d,_0xb8c15b),_0xb185a1);}[_0x26ad8c(0x125)](_0x42fbed,_0x405397,_0x27e935){const _0x5739b4=_0x26ad8c,_0x40c599=this[_0x5739b4(0xa1)][_0x2fa2f2['extensionName']];let _0x5e5826=_0x405397[_0x5739b4(0xbb)]?0x2:0x1,_0x32db7f=_0x405397['compress'],_0x580948,_0xdfcd7e;typeof _0x42fbed==_0x5739b4(0x141)?(_0x580948=Buffer[_0x5739b4(0x169)](_0x42fbed),_0xdfcd7e=!0x1):_0x262886(_0x42fbed)?(_0x580948=_0x42fbed[_0x5739b4(0x151)],_0xdfcd7e=!0x1):(_0x42fbed=_0x3e1b84(_0x42fbed),_0x580948=_0x42fbed[_0x5739b4(0x18a)],_0xdfcd7e=_0x3e1b84[_0x5739b4(0x153)]),this[_0x5739b4(0x115)]?(this['_firstFragment']=!0x1,_0x32db7f&&_0x40c599&&_0x40c599[_0x5739b4(0xd8)][_0x40c599[_0x5739b4(0x11e)]?_0x5739b4(0x10e):_0x5739b4(0xf1)]&&(_0x32db7f=_0x580948>=_0x40c599['_threshold']),this[_0x5739b4(0xb1)]=_0x32db7f):(_0x32db7f=!0x1,_0x5e5826=0x0),_0x405397['fin']&&(this[_0x5739b4(0x115)]=!0x0);const _0x410cf1={[_0x576efc]:_0x580948,'fin':_0x405397['fin'],'generateMask':this['_generateMask'],'mask':_0x405397[_0x5739b4(0xd9)],'maskBuffer':this['_maskBuffer'],'opcode':_0x5e5826,'readOnly':_0xdfcd7e,'rsv1':_0x32db7f};_0x262886(_0x42fbed)?this['_state']!==_0x4ce78c?this['enqueue']([this[_0x5739b4(0x1a3)],_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935]):this[_0x5739b4(0x1a3)](_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935):this['_state']!==_0x4ce78c?this[_0x5739b4(0x9b)]([this['dispatch'],_0x42fbed,this['_compress'],_0x410cf1,_0x27e935]):this['dispatch'](_0x42fbed,this[_0x5739b4(0xb1)],_0x410cf1,_0x27e935);}[_0x26ad8c(0x1a3)](_0x49595a,_0x13ba2c,_0x40623b,_0x403dd1){const _0x3ea0fe=_0x26ad8c;this[_0x3ea0fe(0xa0)]+=_0x40623b[_0x576efc],this[_0x3ea0fe(0x12e)]=_0x22f9ff,_0x49595a[_0x3ea0fe(0x1d7)]()['then'](_0x38648a=>{const _0x53382c=_0x3ea0fe;if(this['_socket'][_0x53382c(0x114)]){const _0x4525a3=new Error(_0x53382c(0x1ae));process['nextTick'](_0x297a78,this,_0x4525a3,_0x403dd1);return;}this[_0x53382c(0xa0)]-=_0x40623b[_0x576efc];const _0x4aed0b=_0x3e1b84(_0x38648a);_0x13ba2c?this[_0x53382c(0x11b)](_0x4aed0b,_0x13ba2c,_0x40623b,_0x403dd1):(this[_0x53382c(0x12e)]=_0x4ce78c,this[_0x53382c(0x176)](_0x49d8a2['frame'](_0x4aed0b,_0x40623b),_0x403dd1),this[_0x53382c(0x143)]());})[_0x3ea0fe(0xaf)](_0x50ff5a=>{const _0x1f229d=_0x3ea0fe;process[_0x1f229d(0x1ea)](_0x3bff09,this,_0x50ff5a,_0x403dd1);});}[_0x26ad8c(0x11b)](_0x470ae9,_0x5414c8,_0x439a70,_0x4020b8){const _0x221cb4=_0x26ad8c;if(!_0x5414c8){this[_0x221cb4(0x176)](_0x49d8a2[_0x221cb4(0x1ab)](_0x470ae9,_0x439a70),_0x4020b8);return;}const _0x2ac64=this['_extensions'][_0x2fa2f2[_0x221cb4(0xdc)]];this[_0x221cb4(0xa0)]+=_0x439a70[_0x576efc],this[_0x221cb4(0x12e)]=_0xd2177,_0x2ac64[_0x221cb4(0x1ff)](_0x470ae9,_0x439a70[_0x221cb4(0xac)],(_0x4ef329,_0x35d18c)=>{const _0x578a2a=_0x221cb4;if(this[_0x578a2a(0x139)][_0x578a2a(0x114)]){const _0x2f1f32=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x297a78(this,_0x2f1f32,_0x4020b8);return;}this[_0x578a2a(0xa0)]-=_0x439a70[_0x576efc],this[_0x578a2a(0x12e)]=_0x4ce78c,_0x439a70[_0x578a2a(0x153)]=!0x1,this['sendFrame'](_0x49d8a2['frame'](_0x35d18c,_0x439a70),_0x4020b8),this[_0x578a2a(0x143)]();});}[_0x26ad8c(0x143)](){const _0x327ff9=_0x26ad8c;for(;this['_state']===_0x4ce78c&&this[_0x327ff9(0x107)][_0x327ff9(0x18a)];){const _0x261b6a=this[_0x327ff9(0x107)][_0x327ff9(0xba)]();this['_bufferedBytes']-=_0x261b6a[0x3][_0x576efc],Reflect[_0x327ff9(0x1aa)](_0x261b6a[0x0],this,_0x261b6a['slice'](0x1));}}[_0x26ad8c(0x9b)](_0x49ca5d){const _0x336732=_0x26ad8c;this[_0x336732(0xa0)]+=_0x49ca5d[0x3][_0x576efc],this[_0x336732(0x107)]['push'](_0x49ca5d);}[_0x26ad8c(0x176)](_0x299b0b,_0x3f6da1){const _0x5a4406=_0x26ad8c;_0x299b0b['length']===0x2?(this[_0x5a4406(0x139)][_0x5a4406(0xb9)](),this[_0x5a4406(0x139)]['write'](_0x299b0b[0x0]),this[_0x5a4406(0x139)][_0x5a4406(0x22f)](_0x299b0b[0x1],_0x3f6da1),this[_0x5a4406(0x139)][_0x5a4406(0x172)]()):this[_0x5a4406(0x139)]['write'](_0x299b0b[0x0],_0x3f6da1);}}Ee=_0x49d8a2;function _0x297a78(_0xd13ac7,_0x43cc3d,_0x4ed267){const _0x1824e8=_0x26ad8c;typeof _0x4ed267==_0x1824e8(0x227)&&_0x4ed267(_0x43cc3d);for(let _0x2f8285=0x0;_0x2f8285<_0xd13ac7[_0x1824e8(0x107)][_0x1824e8(0x18a)];_0x2f8285++){const _0x5418c3=_0xd13ac7[_0x1824e8(0x107)][_0x2f8285],_0x299982=_0x5418c3[_0x5418c3[_0x1824e8(0x18a)]-0x1];typeof _0x299982==_0x1824e8(0x227)&&_0x299982(_0x43cc3d);}}function _0x3bff09(_0x2fd978,_0x33dcbb,_0x14f369){const _0x127ece=_0x26ad8c;_0x297a78(_0x2fd978,_0x33dcbb,_0x14f369),_0x2fd978[_0x127ece(0xa4)](_0x33dcbb);}return Ee;}var xe,tt;function Kt(){const _0x35dc32=_0xcc8efe;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x545b0a,kListener:_0x1c93bb}=V(),_0x1a6a72=Symbol('kCode'),_0x54d300=Symbol(_0x35dc32(0x219)),_0x468f5c=Symbol(_0x35dc32(0x1f5)),_0x1e53f9=Symbol(_0x35dc32(0xa2)),_0x5a1efc=Symbol(_0x35dc32(0x13a)),_0x129b25=Symbol(_0x35dc32(0x124)),_0xf5de53=Symbol('kType'),_0x3489ec=Symbol('kWasClean');class _0x329edb{constructor(_0x31c053){this[_0x129b25]=null,this[_0xf5de53]=_0x31c053;}get[_0x35dc32(0x12b)](){return this[_0x129b25];}get['type'](){return this[_0xf5de53];}}Object[_0x35dc32(0xf2)](_0x329edb[_0x35dc32(0x1d0)],'target',{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x329edb[_0x35dc32(0x1d0)],_0x35dc32(0x136),{'enumerable':!0x0});class _0x160733 extends _0x329edb{constructor(_0x4875de,_0x33dc9f={}){const _0x50d4e8=_0x35dc32;super(_0x4875de),this[_0x1a6a72]=_0x33dc9f[_0x50d4e8(0x135)]===void 0x0?0x0:_0x33dc9f[_0x50d4e8(0x135)],this[_0x5a1efc]=_0x33dc9f['reason']===void 0x0?'':_0x33dc9f['reason'],this[_0x3489ec]=_0x33dc9f[_0x50d4e8(0x164)]===void 0x0?!0x1:_0x33dc9f[_0x50d4e8(0x164)];}get[_0x35dc32(0x135)](){return this[_0x1a6a72];}get[_0x35dc32(0x1de)](){return this[_0x5a1efc];}get[_0x35dc32(0x164)](){return this[_0x3489ec];}}Object[_0x35dc32(0xf2)](_0x160733['prototype'],_0x35dc32(0x135),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x160733[_0x35dc32(0x1d0)],_0x35dc32(0x1de),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x160733[_0x35dc32(0x1d0)],_0x35dc32(0x164),{'enumerable':!0x0});class _0x3f0970 extends _0x329edb{constructor(_0x14ed35,_0x2b2396={}){const _0x464fbc=_0x35dc32;super(_0x14ed35),this[_0x468f5c]=_0x2b2396[_0x464fbc(0x199)]===void 0x0?null:_0x2b2396[_0x464fbc(0x199)],this[_0x1e53f9]=_0x2b2396[_0x464fbc(0xe1)]===void 0x0?'':_0x2b2396[_0x464fbc(0xe1)];}get['error'](){return this[_0x468f5c];}get[_0x35dc32(0xe1)](){return this[_0x1e53f9];}}Object[_0x35dc32(0xf2)](_0x3f0970[_0x35dc32(0x1d0)],_0x35dc32(0x199),{'enumerable':!0x0}),Object[_0x35dc32(0xf2)](_0x3f0970[_0x35dc32(0x1d0)],_0x35dc32(0xe1),{'enumerable':!0x0});class _0x3ea042 extends _0x329edb{constructor(_0x4e6752,_0x1badae={}){const _0x3a0b46=_0x35dc32;super(_0x4e6752),this[_0x54d300]=_0x1badae[_0x3a0b46(0x21a)]===void 0x0?null:_0x1badae[_0x3a0b46(0x21a)];}get[_0x35dc32(0x21a)](){return this[_0x54d300];}}Object[_0x35dc32(0xf2)](_0x3ea042[_0x35dc32(0x1d0)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x160733,'ErrorEvent':_0x3f0970,'Event':_0x329edb,'EventTarget':{'addEventListener'(_0x333788,_0x78203c,_0x34c6ab={}){const _0x41f55a=_0x35dc32;for(const _0x41b49a of this[_0x41f55a(0x1c1)](_0x333788))if(!_0x34c6ab[_0x545b0a]&&_0x41b49a[_0x1c93bb]===_0x78203c&&!_0x41b49a[_0x545b0a])return;let _0x3190a0;if(_0x333788===_0x41f55a(0xe1))_0x3190a0=function(_0x26499d,_0x166ebd){const _0x238df6=_0x41f55a,_0x2458d5=new _0x3ea042(_0x238df6(0xe1),{'data':_0x166ebd?_0x26499d:_0x26499d[_0x238df6(0x1da)]()});_0x2458d5[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x2458d5);};else{if(_0x333788===_0x41f55a(0x16c))_0x3190a0=function(_0x3cd9f5,_0x59ede9){const _0x10e59b=_0x41f55a,_0x321c92=new _0x160733(_0x10e59b(0x16c),{'code':_0x3cd9f5,'reason':_0x59ede9[_0x10e59b(0x1da)](),'wasClean':this[_0x10e59b(0x21d)]&&this[_0x10e59b(0x1a0)]});_0x321c92[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x321c92);};else{if(_0x333788===_0x41f55a(0x199))_0x3190a0=function(_0x513bfa){const _0x2daf0e=new _0x3f0970('error',{'error':_0x513bfa,'message':_0x513bfa['message']});_0x2daf0e[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x2daf0e);};else{if(_0x333788==='open')_0x3190a0=function(){const _0x5cf32e=_0x41f55a,_0x5b2a6b=new _0x329edb(_0x5cf32e(0x205));_0x5b2a6b[_0x129b25]=this,_0x4d1c4b(_0x78203c,this,_0x5b2a6b);};else return;}}}_0x3190a0[_0x545b0a]=!!_0x34c6ab[_0x545b0a],_0x3190a0[_0x1c93bb]=_0x78203c,_0x34c6ab[_0x41f55a(0xab)]?this[_0x41f55a(0xab)](_0x333788,_0x3190a0):this['on'](_0x333788,_0x3190a0);},'removeEventListener'(_0x215830,_0xce6bfa){const _0x19835b=_0x35dc32;for(const _0x58ed42 of this[_0x19835b(0x1c1)](_0x215830))if(_0x58ed42[_0x1c93bb]===_0xce6bfa&&!_0x58ed42[_0x545b0a]){this['removeListener'](_0x215830,_0x58ed42);break;}}},'MessageEvent':_0x3ea042};function _0x4d1c4b(_0x415adc,_0x486dda,_0x1960f5){typeof _0x415adc=='object'&&_0x415adc['handleEvent']?_0x415adc['handleEvent']['call'](_0x415adc,_0x1960f5):_0x415adc['call'](_0x486dda,_0x1960f5);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x7cb0e}=ne();function _0x4f888b(_0x45f504,_0x14290a,_0x579fea){const _0x1a01fe=_0x35f4;_0x45f504[_0x14290a]===void 0x0?_0x45f504[_0x14290a]=[_0x579fea]:_0x45f504[_0x14290a][_0x1a01fe(0x1b4)](_0x579fea);}function _0x30b257(_0x15a180){const _0x25b42a=_0x35f4,_0x5dca49=Object[_0x25b42a(0x94)](null);let _0x1c328c=Object['create'](null),_0xd3862d=!0x1,_0x4a319e=!0x1,_0x5cabda=!0x1,_0x5ea39c,_0x57b6e8,_0x9d67b8=-0x1,_0x1f9c2f=-0x1,_0x177515=-0x1,_0x514861=0x0;for(;_0x514861<_0x15a180[_0x25b42a(0x18a)];_0x514861++)if(_0x1f9c2f=_0x15a180[_0x25b42a(0xe0)](_0x514861),_0x5ea39c===void 0x0){if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x514861!==0x0&&(_0x1f9c2f===0x20||_0x1f9c2f===0x9))_0x177515===-0x1&&_0x9d67b8!==-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861);const _0x146f30=_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515);_0x1f9c2f===0x2c?(_0x4f888b(_0x5dca49,_0x146f30,_0x1c328c),_0x1c328c=Object['create'](null)):_0x5ea39c=_0x146f30,_0x9d67b8=_0x177515=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x514861);}}}else{if(_0x57b6e8===void 0x0){if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x1f9c2f===0x20||_0x1f9c2f===0x9)_0x177515===-0x1&&_0x9d67b8!==-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861),_0x4f888b(_0x1c328c,_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515),!0x0),_0x1f9c2f===0x2c&&(_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c),_0x1c328c=Object['create'](null),_0x5ea39c=void 0x0),_0x9d67b8=_0x177515=-0x1;}else{if(_0x1f9c2f===0x3d&&_0x9d67b8!==-0x1&&_0x177515===-0x1)_0x57b6e8=_0x15a180['slice'](_0x9d67b8,_0x514861),_0x9d67b8=_0x177515=-0x1;else throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);}}}}else{if(_0x4a319e){if(_0x7cb0e[_0x1f9c2f]!==0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x9d67b8===-0x1?_0x9d67b8=_0x514861:_0xd3862d||(_0xd3862d=!0x0),_0x4a319e=!0x1;}else{if(_0x5cabda){if(_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x1f9c2f===0x22&&_0x9d67b8!==-0x1)_0x5cabda=!0x1,_0x177515=_0x514861;else{if(_0x1f9c2f===0x5c)_0x4a319e=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x514861);}}}else{if(_0x1f9c2f===0x22&&_0x15a180[_0x25b42a(0xe0)](_0x514861-0x1)===0x3d)_0x5cabda=!0x0;else{if(_0x177515===-0x1&&_0x7cb0e[_0x1f9c2f]===0x1)_0x9d67b8===-0x1&&(_0x9d67b8=_0x514861);else{if(_0x9d67b8!==-0x1&&(_0x1f9c2f===0x20||_0x1f9c2f===0x9))_0x177515===-0x1&&(_0x177515=_0x514861);else{if(_0x1f9c2f===0x3b||_0x1f9c2f===0x2c){if(_0x9d67b8===-0x1)throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);_0x177515===-0x1&&(_0x177515=_0x514861);let _0xaf913b=_0x15a180[_0x25b42a(0xee)](_0x9d67b8,_0x177515);_0xd3862d&&(_0xaf913b=_0xaf913b[_0x25b42a(0xf8)](/\\/g,''),_0xd3862d=!0x1),_0x4f888b(_0x1c328c,_0x57b6e8,_0xaf913b),_0x1f9c2f===0x2c&&(_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c),_0x1c328c=Object['create'](null),_0x5ea39c=void 0x0),_0x57b6e8=void 0x0,_0x9d67b8=_0x177515=-0x1;}else throw new SyntaxError(_0x25b42a(0x15a)+_0x514861);}}}}}}}if(_0x9d67b8===-0x1||_0x5cabda||_0x1f9c2f===0x20||_0x1f9c2f===0x9)throw new SyntaxError(_0x25b42a(0x228));_0x177515===-0x1&&(_0x177515=_0x514861);const _0x122c93=_0x15a180['slice'](_0x9d67b8,_0x177515);return _0x5ea39c===void 0x0?_0x4f888b(_0x5dca49,_0x122c93,_0x1c328c):(_0x57b6e8===void 0x0?_0x4f888b(_0x1c328c,_0x122c93,!0x0):_0xd3862d?_0x4f888b(_0x1c328c,_0x57b6e8,_0x122c93['replace'](/\\/g,'')):_0x4f888b(_0x1c328c,_0x57b6e8,_0x122c93),_0x4f888b(_0x5dca49,_0x5ea39c,_0x1c328c)),_0x5dca49;}function _0x328408(_0x52420d){const _0x4a0bba=_0x35f4;return Object[_0x4a0bba(0x120)](_0x52420d)['map'](_0x144359=>{const _0x17f9e9=_0x4a0bba;let _0x158650=_0x52420d[_0x144359];return Array['isArray'](_0x158650)||(_0x158650=[_0x158650]),_0x158650['map'](_0x2ce710=>[_0x144359][_0x17f9e9(0x1dc)](Object[_0x17f9e9(0x120)](_0x2ce710)[_0x17f9e9(0x1e8)](_0x285cc8=>{const _0x150b53=_0x17f9e9;let _0x1a721e=_0x2ce710[_0x285cc8];return Array[_0x150b53(0x1e4)](_0x1a721e)||(_0x1a721e=[_0x1a721e]),_0x1a721e['map'](_0x594f1b=>_0x594f1b===!0x0?_0x285cc8:_0x285cc8+'='+_0x594f1b)[_0x150b53(0x1a2)](';\x20');}))[_0x17f9e9(0x1a2)](';\x20'))['join'](',\x20');})[_0x4a0bba(0x1a2)](',\x20');}return be={'format':_0x328408,'parse':_0x30b257},be;}var we,st;function Ie(){const _0x3576d9=_0xcc8efe;if(st)return we;st=0x1;const _0xefa373=_0xfd2e2c,_0x703549=_0x1039a3,_0x156d41=_0x4b84c,_0x2dfb4a=_0x58fb86,_0x532a12=_0x58bf04,{randomBytes:_0x3df4d7,createHash:_0x5366c4}=_0xcdc505,{Duplex:_0x225522,Readable:_0x23153e}=_0x4726f2,{URL:_0x4a0d4c}=_0x2f4072,_0x1e220f=he(),_0x27a6a3=dt(),_0x4c84bd=_t(),{isBlob:_0x2dd223}=ne(),{BINARY_TYPES:_0x67f28d,EMPTY_BUFFER:_0x3e51e8,GUID:_0x133a69,kForOnEventAttribute:_0x30b20a,kListener:_0x29a2dc,kStatusCode:_0x277386,kWebSocket:_0x36116a,NOOP:_0x539a0c}=V(),{EventTarget:{addEventListener:_0x4d474e,removeEventListener:_0x3f4486}}=Kt(),{format:_0x55cef0,parse:_0x1f65b6}=pt(),{toBuffer:_0x4afbac}=ce(),_0x571da7=0x1e*0x3e8,_0x5b89b6=Symbol('kAborted'),_0x425d20=[0x8,0xd],_0x3fd6be=['CONNECTING',_0x3576d9(0xbc),_0x3576d9(0x189),_0x3576d9(0xa5)],_0x45a0e5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x531b95 extends _0xefa373{constructor(_0xb75cc9,_0x432bcb,_0x6a9ea0){const _0x2c8113=_0x3576d9;super(),this['_binaryType']=_0x67f28d[0x0],this[_0x2c8113(0x148)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2c8113(0x1a0)]=!0x1,this[_0x2c8113(0x221)]=_0x3e51e8,this[_0x2c8113(0x126)]=null,this[_0x2c8113(0x202)]=!0x1,this['_extensions']={},this[_0x2c8113(0x1d6)]=!0x1,this[_0x2c8113(0x111)]='',this['_readyState']=_0x531b95['CONNECTING'],this[_0x2c8113(0xd2)]=null,this[_0x2c8113(0xb8)]=null,this[_0x2c8113(0x139)]=null,_0xb75cc9!==null?(this[_0x2c8113(0x174)]=0x0,this[_0x2c8113(0x11e)]=!0x1,this[_0x2c8113(0xc4)]=0x0,_0x432bcb===void 0x0?_0x432bcb=[]:Array['isArray'](_0x432bcb)||(typeof _0x432bcb==_0x2c8113(0x122)&&_0x432bcb!==null?(_0x6a9ea0=_0x432bcb,_0x432bcb=[]):_0x432bcb=[_0x432bcb]),_0x3c4277(this,_0xb75cc9,_0x432bcb,_0x6a9ea0)):(this[_0x2c8113(0x222)]=_0x6a9ea0['autoPong'],this[_0x2c8113(0x11e)]=!0x0);}get[_0x3576d9(0x22e)](){const _0x440337=_0x3576d9;return this[_0x440337(0xb7)];}set['binaryType'](_0x3ad125){const _0x286060=_0x3576d9;_0x67f28d[_0x286060(0x1b7)](_0x3ad125)&&(this['_binaryType']=_0x3ad125,this['_receiver']&&(this[_0x286060(0xd2)]['_binaryType']=_0x3ad125));}get[_0x3576d9(0x1c9)](){const _0x4064b2=_0x3576d9;return this[_0x4064b2(0x139)]?this[_0x4064b2(0x139)][_0x4064b2(0xc7)][_0x4064b2(0x18a)]+this[_0x4064b2(0xb8)][_0x4064b2(0xa0)]:this[_0x4064b2(0x174)];}get[_0x3576d9(0x1b3)](){const _0x43fa06=_0x3576d9;return Object['keys'](this[_0x43fa06(0xa1)])[_0x43fa06(0x1a2)]();}get[_0x3576d9(0x208)](){const _0x29a8d8=_0x3576d9;return this[_0x29a8d8(0x1d6)];}get['onclose'](){return null;}get[_0x3576d9(0xa4)](){return null;}get[_0x3576d9(0xbe)](){return null;}get['onmessage'](){return null;}get[_0x3576d9(0x14b)](){const _0x28d708=_0x3576d9;return this[_0x28d708(0x111)];}get[_0x3576d9(0xa6)](){const _0x5e92f3=_0x3576d9;return this[_0x5e92f3(0x1f4)];}get[_0x3576d9(0x200)](){const _0x1bad81=_0x3576d9;return this[_0x1bad81(0x188)];}[_0x3576d9(0x96)](_0x550833,_0x36a7f0,_0x566860){const _0x2d7c84=_0x3576d9,_0x2e92c5=new _0x27a6a3({'allowSynchronousEvents':_0x566860[_0x2d7c84(0x184)],'binaryType':this['binaryType'],'extensions':this[_0x2d7c84(0xa1)],'isServer':this['_isServer'],'maxPayload':_0x566860[_0x2d7c84(0x1be)],'skipUTF8Validation':_0x566860['skipUTF8Validation']}),_0x46dcf4=new _0x4c84bd(_0x550833,this[_0x2d7c84(0xa1)],_0x566860['generateMask']);this[_0x2d7c84(0xd2)]=_0x2e92c5,this['_sender']=_0x46dcf4,this['_socket']=_0x550833,_0x2e92c5[_0x36116a]=this,_0x46dcf4[_0x36116a]=this,_0x550833[_0x36116a]=this,_0x2e92c5['on'](_0x2d7c84(0x1a4),_0x126c4f),_0x2e92c5['on']('drain',_0x2a6b1c),_0x2e92c5['on'](_0x2d7c84(0x199),_0x11f7cf),_0x2e92c5['on']('message',_0x2bdd45),_0x2e92c5['on']('ping',_0x4b4411),_0x2e92c5['on'](_0x2d7c84(0x198),_0x30d9ce),_0x46dcf4[_0x2d7c84(0xa4)]=_0x5d7274,_0x550833[_0x2d7c84(0x12c)]&&_0x550833[_0x2d7c84(0x12c)](0x0),_0x550833['setNoDelay']&&_0x550833[_0x2d7c84(0x1ef)](),_0x36a7f0[_0x2d7c84(0x18a)]>0x0&&_0x550833[_0x2d7c84(0x18e)](_0x36a7f0),_0x550833['on']('close',_0x2b2f40),_0x550833['on'](_0x2d7c84(0x21a),_0x59c64c),_0x550833['on']('end',_0x94ff74),_0x550833['on'](_0x2d7c84(0x199),_0x1fbd24),this[_0x2d7c84(0x1f4)]=_0x531b95[_0x2d7c84(0xbc)],this['emit']('open');}[_0x3576d9(0xc1)](){const _0x41a3be=_0x3576d9;if(!this['_socket']){this['_readyState']=_0x531b95[_0x41a3be(0xa5)],this[_0x41a3be(0x1fe)]('close',this[_0x41a3be(0x148)],this['_closeMessage']);return;}this['_extensions'][_0x1e220f[_0x41a3be(0xdc)]]&&this['_extensions'][_0x1e220f[_0x41a3be(0xdc)]][_0x41a3be(0xff)](),this[_0x41a3be(0xd2)][_0x41a3be(0x15c)](),this[_0x41a3be(0x1f4)]=_0x531b95['CLOSED'],this[_0x41a3be(0x1fe)](_0x41a3be(0x16c),this[_0x41a3be(0x148)],this[_0x41a3be(0x221)]);}[_0x3576d9(0x16c)](_0x26eebd,_0x23c005){const _0x36511a=_0x3576d9;if(this['readyState']!==_0x531b95[_0x36511a(0xa5)]){if(this[_0x36511a(0xa6)]===_0x531b95[_0x36511a(0xdb)]){_0x55fb5c(this,this[_0x36511a(0x144)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x36511a(0xa6)]===_0x531b95[_0x36511a(0x189)]){this[_0x36511a(0x1a0)]&&(this[_0x36511a(0x21d)]||this[_0x36511a(0xd2)][_0x36511a(0xc7)][_0x36511a(0x104)])&&this[_0x36511a(0x139)][_0x36511a(0xbd)]();return;}this[_0x36511a(0x1f4)]=_0x531b95[_0x36511a(0x189)],this['_sender'][_0x36511a(0x16c)](_0x26eebd,_0x23c005,!this[_0x36511a(0x11e)],_0x4df26a=>{const _0x1e0024=_0x36511a;_0x4df26a||(this[_0x1e0024(0x1a0)]=!0x0,(this[_0x1e0024(0x21d)]||this[_0x1e0024(0xd2)][_0x1e0024(0xc7)][_0x1e0024(0x104)])&&this['_socket'][_0x1e0024(0xbd)]());}),_0x32b965(this);}}[_0x3576d9(0x181)](){const _0x28b985=_0x3576d9;this['readyState']===_0x531b95['CONNECTING']||this[_0x28b985(0xa6)]===_0x531b95[_0x28b985(0xa5)]||(this[_0x28b985(0x1d6)]=!0x0,this[_0x28b985(0x139)]['pause']());}['ping'](_0x2d4217,_0x12c22,_0xdd4a3c){const _0x414555=_0x3576d9;if(this['readyState']===_0x531b95['CONNECTING'])throw new Error(_0x414555(0x158));if(typeof _0x2d4217==_0x414555(0x227)?(_0xdd4a3c=_0x2d4217,_0x2d4217=_0x12c22=void 0x0):typeof _0x12c22==_0x414555(0x227)&&(_0xdd4a3c=_0x12c22,_0x12c22=void 0x0),typeof _0x2d4217==_0x414555(0x14e)&&(_0x2d4217=_0x2d4217['toString']()),this[_0x414555(0xa6)]!==_0x531b95[_0x414555(0xbc)]){_0x3e39f0(this,_0x2d4217,_0xdd4a3c);return;}_0x12c22===void 0x0&&(_0x12c22=!this[_0x414555(0x11e)]),this[_0x414555(0xb8)][_0x414555(0x212)](_0x2d4217||_0x3e51e8,_0x12c22,_0xdd4a3c);}[_0x3576d9(0x198)](_0x4d3bfb,_0x430364,_0x599072){const _0x3bdbab=_0x3576d9;if(this['readyState']===_0x531b95['CONNECTING'])throw new Error(_0x3bdbab(0x158));if(typeof _0x4d3bfb=='function'?(_0x599072=_0x4d3bfb,_0x4d3bfb=_0x430364=void 0x0):typeof _0x430364=='function'&&(_0x599072=_0x430364,_0x430364=void 0x0),typeof _0x4d3bfb==_0x3bdbab(0x14e)&&(_0x4d3bfb=_0x4d3bfb[_0x3bdbab(0x1da)]()),this[_0x3bdbab(0xa6)]!==_0x531b95[_0x3bdbab(0xbc)]){_0x3e39f0(this,_0x4d3bfb,_0x599072);return;}_0x430364===void 0x0&&(_0x430364=!this['_isServer']),this[_0x3bdbab(0xb8)][_0x3bdbab(0x198)](_0x4d3bfb||_0x3e51e8,_0x430364,_0x599072);}[_0x3576d9(0x102)](){const _0x162814=_0x3576d9;this[_0x162814(0xa6)]===_0x531b95[_0x162814(0xdb)]||this[_0x162814(0xa6)]===_0x531b95[_0x162814(0xa5)]||(this[_0x162814(0x1d6)]=!0x1,this['_receiver'][_0x162814(0xc7)][_0x162814(0x13d)]||this[_0x162814(0x139)]['resume']());}['send'](_0x3bae8a,_0x2c7ced,_0x5a6997){const _0x1e24e5=_0x3576d9;if(this['readyState']===_0x531b95[_0x1e24e5(0xdb)])throw new Error(_0x1e24e5(0x158));if(typeof _0x2c7ced=='function'&&(_0x5a6997=_0x2c7ced,_0x2c7ced={}),typeof _0x3bae8a==_0x1e24e5(0x14e)&&(_0x3bae8a=_0x3bae8a['toString']()),this[_0x1e24e5(0xa6)]!==_0x531b95['OPEN']){_0x3e39f0(this,_0x3bae8a,_0x5a6997);return;}const _0x2db474={'binary':typeof _0x3bae8a!=_0x1e24e5(0x141),'mask':!this[_0x1e24e5(0x11e)],'compress':!0x0,'fin':!0x0,..._0x2c7ced};this[_0x1e24e5(0xa1)][_0x1e220f[_0x1e24e5(0xdc)]]||(_0x2db474['compress']=!0x1),this['_sender'][_0x1e24e5(0x125)](_0x3bae8a||_0x3e51e8,_0x2db474,_0x5a6997);}['terminate'](){const _0x133a6e=_0x3576d9;if(this[_0x133a6e(0xa6)]!==_0x531b95['CLOSED']){if(this[_0x133a6e(0xa6)]===_0x531b95[_0x133a6e(0xdb)]){_0x55fb5c(this,this[_0x133a6e(0x144)],_0x133a6e(0x97));return;}this[_0x133a6e(0x139)]&&(this['_readyState']=_0x531b95['CLOSING'],this[_0x133a6e(0x139)][_0x133a6e(0xe5)]());}}}Object[_0x3576d9(0xf2)](_0x531b95,_0x3576d9(0xdb),{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xdb))}),Object['defineProperty'](_0x531b95[_0x3576d9(0x1d0)],_0x3576d9(0xdb),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xdb))}),Object[_0x3576d9(0xf2)](_0x531b95,_0x3576d9(0xbc),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xbc))}),Object[_0x3576d9(0xf2)](_0x531b95['prototype'],_0x3576d9(0xbc),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0xbc))}),Object[_0x3576d9(0xf2)](_0x531b95,'CLOSING',{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0x189))}),Object[_0x3576d9(0xf2)](_0x531b95['prototype'],_0x3576d9(0x189),{'enumerable':!0x0,'value':_0x3fd6be[_0x3576d9(0x14d)](_0x3576d9(0x189))}),Object[_0x3576d9(0xf2)](_0x531b95,'CLOSED',{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xa5))}),Object[_0x3576d9(0xf2)](_0x531b95[_0x3576d9(0x1d0)],_0x3576d9(0xa5),{'enumerable':!0x0,'value':_0x3fd6be['indexOf'](_0x3576d9(0xa5))}),[_0x3576d9(0x22e),_0x3576d9(0x1c9),_0x3576d9(0x1b3),'isPaused',_0x3576d9(0x14b),'readyState','url'][_0x3576d9(0x197)](_0x54a3de=>{const _0x29b469=_0x3576d9;Object[_0x29b469(0xf2)](_0x531b95[_0x29b469(0x1d0)],_0x54a3de,{'enumerable':!0x0});}),[_0x3576d9(0x205),_0x3576d9(0x199),_0x3576d9(0x16c),_0x3576d9(0xe1)][_0x3576d9(0x197)](_0x5c50d7=>{const _0x1499ee=_0x3576d9;Object[_0x1499ee(0xf2)](_0x531b95[_0x1499ee(0x1d0)],'on'+_0x5c50d7,{'enumerable':!0x0,'get'(){for(const _0xfa3356 of this['listeners'](_0x5c50d7))if(_0xfa3356[_0x30b20a])return _0xfa3356[_0x29a2dc];return null;},'set'(_0x4fce60){const _0x2115dd=_0x1499ee;for(const _0x311ada of this['listeners'](_0x5c50d7))if(_0x311ada[_0x30b20a]){this[_0x2115dd(0x1bb)](_0x5c50d7,_0x311ada);break;}typeof _0x4fce60==_0x2115dd(0x227)&&this[_0x2115dd(0x22a)](_0x5c50d7,_0x4fce60,{[_0x30b20a]:!0x0});}});}),_0x531b95[_0x3576d9(0x1d0)][_0x3576d9(0x22a)]=_0x4d474e,_0x531b95[_0x3576d9(0x1d0)][_0x3576d9(0x1dd)]=_0x3f4486,we=_0x531b95;function _0x3c4277(_0x38baaa,_0x30802d,_0x6d5a97,_0x14a753){const _0xe08a11=_0x3576d9,_0x2b6827={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x425d20[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x14a753,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xe08a11(0xef),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x38baaa['_autoPong']=_0x2b6827['autoPong'],!_0x425d20['includes'](_0x2b6827[_0xe08a11(0x11a)]))throw new RangeError(_0xe08a11(0x1b6)+_0x2b6827[_0xe08a11(0x11a)]+'\x20(supported\x20versions:\x20'+_0x425d20[_0xe08a11(0x1a2)](',\x20')+')');let _0x29ce55;if(_0x30802d instanceof _0x4a0d4c)_0x29ce55=_0x30802d;else try{_0x29ce55=new _0x4a0d4c(_0x30802d);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x30802d);}_0x29ce55[_0xe08a11(0x14b)]===_0xe08a11(0x110)?_0x29ce55[_0xe08a11(0x14b)]=_0xe08a11(0x1fa):_0x29ce55[_0xe08a11(0x14b)]===_0xe08a11(0xb6)&&(_0x29ce55['protocol']=_0xe08a11(0x18b)),_0x38baaa[_0xe08a11(0x188)]=_0x29ce55['href'];const _0x4d8476=_0x29ce55[_0xe08a11(0x14b)]==='wss:',_0x48baef=_0x29ce55[_0xe08a11(0x14b)]==='ws+unix:';let _0x5e3c27;if(_0x29ce55[_0xe08a11(0x14b)]!==_0xe08a11(0x1fa)&&!_0x4d8476&&!_0x48baef?_0x5e3c27=_0xe08a11(0x10c):_0x48baef&&!_0x29ce55[_0xe08a11(0x13f)]?_0x5e3c27=_0xe08a11(0x91):_0x29ce55['hash']&&(_0x5e3c27='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x5e3c27){const _0x594b74=new SyntaxError(_0x5e3c27);if(_0x38baaa[_0xe08a11(0xc4)]===0x0)throw _0x594b74;_0x381998(_0x38baaa,_0x594b74);return;}const _0x3d384e=_0x4d8476?0x1bb:0x50,_0x248a76=_0x3df4d7(0x10)['toString'](_0xe08a11(0x9a)),_0x535187=_0x4d8476?_0x703549[_0xe08a11(0x1cb)]:_0x156d41['request'],_0x2e3562=new Set();let _0x3267de;if(_0x2b6827[_0xe08a11(0x19a)]=_0x2b6827[_0xe08a11(0x19a)]||(_0x4d8476?_0xfaf77a:_0xb0e0ea),_0x2b6827['defaultPort']=_0x2b6827[_0xe08a11(0x1cd)]||_0x3d384e,_0x2b6827[_0xe08a11(0x1b1)]=_0x29ce55['port']||_0x3d384e,_0x2b6827['host']=_0x29ce55[_0xe08a11(0xad)]['startsWith']('[')?_0x29ce55[_0xe08a11(0xad)][_0xe08a11(0xee)](0x1,-0x1):_0x29ce55[_0xe08a11(0xad)],_0x2b6827[_0xe08a11(0x12f)]={..._0x2b6827[_0xe08a11(0x12f)],'Sec-WebSocket-Version':_0x2b6827[_0xe08a11(0x11a)],'Sec-WebSocket-Key':_0x248a76,'Connection':'Upgrade','Upgrade':_0xe08a11(0x1b5)},_0x2b6827['path']=_0x29ce55['pathname']+_0x29ce55[_0xe08a11(0x16f)],_0x2b6827[_0xe08a11(0x1e0)]=_0x2b6827[_0xe08a11(0x11f)],_0x2b6827[_0xe08a11(0x1e7)]&&(_0x3267de=new _0x1e220f(_0x2b6827[_0xe08a11(0x1e7)]!==!0x0?_0x2b6827[_0xe08a11(0x1e7)]:{},!0x1,_0x2b6827[_0xe08a11(0x1be)]),_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0xdf)]=_0x55cef0({[_0x1e220f['extensionName']]:_0x3267de[_0xe08a11(0xce)]()})),_0x6d5a97[_0xe08a11(0x18a)]){for(const _0x39c1a1 of _0x6d5a97){if(typeof _0x39c1a1!=_0xe08a11(0x141)||!_0x45a0e5['test'](_0x39c1a1)||_0x2e3562[_0xe08a11(0x178)](_0x39c1a1))throw new SyntaxError(_0xe08a11(0x19e));_0x2e3562[_0xe08a11(0x1bd)](_0x39c1a1);}_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x17f)]=_0x6d5a97['join'](',');}if(_0x2b6827[_0xe08a11(0x15e)]&&(_0x2b6827[_0xe08a11(0x11a)]<0xd?_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x15b)]=_0x2b6827[_0xe08a11(0x15e)]:_0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x20a)]=_0x2b6827['origin']),(_0x29ce55['username']||_0x29ce55[_0xe08a11(0xec)])&&(_0x2b6827[_0xe08a11(0x195)]=_0x29ce55[_0xe08a11(0x132)]+':'+_0x29ce55[_0xe08a11(0xec)]),_0x48baef){const _0x37f86a=_0x2b6827[_0xe08a11(0x11c)][_0xe08a11(0x109)](':');_0x2b6827['socketPath']=_0x37f86a[0x0],_0x2b6827[_0xe08a11(0x11c)]=_0x37f86a[0x1];}let _0x1005d7;if(_0x2b6827['followRedirects']){if(_0x38baaa[_0xe08a11(0xc4)]===0x0){_0x38baaa[_0xe08a11(0x1af)]=_0x48baef,_0x38baaa[_0xe08a11(0x196)]=_0x4d8476,_0x38baaa[_0xe08a11(0x101)]=_0x48baef?_0x2b6827[_0xe08a11(0x17e)]:_0x29ce55[_0xe08a11(0xca)];const _0x8330cc=_0x14a753&&_0x14a753[_0xe08a11(0x12f)];if(_0x14a753={..._0x14a753,'headers':{}},_0x8330cc){for(const [_0x56a24f,_0x3d6a5e]of Object[_0xe08a11(0x1ac)](_0x8330cc))_0x14a753['headers'][_0x56a24f[_0xe08a11(0xb5)]()]=_0x3d6a5e;}}else{if(_0x38baaa['listenerCount'](_0xe08a11(0x217))===0x0){const _0x1d5a6c=_0x48baef?_0x38baaa[_0xe08a11(0x1af)]?_0x2b6827[_0xe08a11(0x17e)]===_0x38baaa[_0xe08a11(0x101)]:!0x1:_0x38baaa['_originalIpc']?!0x1:_0x29ce55[_0xe08a11(0xca)]===_0x38baaa[_0xe08a11(0x101)];(!_0x1d5a6c||_0x38baaa[_0xe08a11(0x196)]&&!_0x4d8476)&&(delete _0x2b6827[_0xe08a11(0x12f)][_0xe08a11(0x159)],delete _0x2b6827['headers'][_0xe08a11(0x1a1)],_0x1d5a6c||delete _0x2b6827[_0xe08a11(0x12f)]['host'],_0x2b6827[_0xe08a11(0x195)]=void 0x0);}}_0x2b6827[_0xe08a11(0x195)]&&!_0x14a753[_0xe08a11(0x12f)][_0xe08a11(0x159)]&&(_0x14a753[_0xe08a11(0x12f)]['authorization']=_0xe08a11(0xd5)+Buffer[_0xe08a11(0x17b)](_0x2b6827[_0xe08a11(0x195)])['toString'](_0xe08a11(0x9a))),_0x1005d7=_0x38baaa['_req']=_0x535187(_0x2b6827),_0x38baaa[_0xe08a11(0xc4)]&&_0x38baaa['emit'](_0xe08a11(0x217),_0x38baaa[_0xe08a11(0x200)],_0x1005d7);}else _0x1005d7=_0x38baaa[_0xe08a11(0x144)]=_0x535187(_0x2b6827);_0x2b6827[_0xe08a11(0x1e0)]&&_0x1005d7['on'](_0xe08a11(0x1e0),()=>{const _0x3a4dd2=_0xe08a11;_0x55fb5c(_0x38baaa,_0x1005d7,_0x3a4dd2(0xe9));}),_0x1005d7['on']('error',_0x254995=>{const _0x2a33b2=_0xe08a11;_0x1005d7===null||_0x1005d7[_0x5b89b6]||(_0x1005d7=_0x38baaa[_0x2a33b2(0x144)]=null,_0x381998(_0x38baaa,_0x254995));}),_0x1005d7['on']('response',_0x279638=>{const _0x1e5bd4=_0xe08a11,_0x44a3d0=_0x279638[_0x1e5bd4(0x12f)][_0x1e5bd4(0x103)],_0x69819c=_0x279638['statusCode'];if(_0x44a3d0&&_0x2b6827['followRedirects']&&_0x69819c>=0x12c&&_0x69819c<0x190){if(++_0x38baaa[_0x1e5bd4(0xc4)]>_0x2b6827['maxRedirects']){_0x55fb5c(_0x38baaa,_0x1005d7,_0x1e5bd4(0x1d9));return;}_0x1005d7['abort']();let _0x1caa29;try{_0x1caa29=new _0x4a0d4c(_0x44a3d0,_0x30802d);}catch{const _0x414c73=new SyntaxError('Invalid\x20URL:\x20'+_0x44a3d0);_0x381998(_0x38baaa,_0x414c73);return;}_0x3c4277(_0x38baaa,_0x1caa29,_0x6d5a97,_0x14a753);}else _0x38baaa['emit'](_0x1e5bd4(0x20d),_0x1005d7,_0x279638)||_0x55fb5c(_0x38baaa,_0x1005d7,'Unexpected\x20server\x20response:\x20'+_0x279638[_0x1e5bd4(0xed)]);}),_0x1005d7['on']('upgrade',(_0x1b0f5e,_0x34390f,_0x10e868)=>{const _0x326cb2=_0xe08a11;if(_0x38baaa['emit'](_0x326cb2(0x19c),_0x1b0f5e),_0x38baaa[_0x326cb2(0xa6)]!==_0x531b95[_0x326cb2(0xdb)])return;_0x1005d7=_0x38baaa['_req']=null;const _0x2ea2d8=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0x19c)];if(_0x2ea2d8===void 0x0||_0x2ea2d8[_0x326cb2(0xb5)]()!==_0x326cb2(0x1b5)){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x137));return;}const _0xdd9575=_0x5366c4(_0x326cb2(0x15f))[_0x326cb2(0xa7)](_0x248a76+_0x133a69)[_0x326cb2(0x12d)]('base64');if(_0x1b0f5e[_0x326cb2(0x12f)]['sec-websocket-accept']!==_0xdd9575){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x1c7));return;}const _0x5501ed=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0x204)];let _0x21a4ad;if(_0x5501ed!==void 0x0?_0x2e3562[_0x326cb2(0x151)]?_0x2e3562[_0x326cb2(0x178)](_0x5501ed)||(_0x21a4ad=_0x326cb2(0xfa)):_0x21a4ad=_0x326cb2(0x16d):_0x2e3562[_0x326cb2(0x151)]&&(_0x21a4ad=_0x326cb2(0x12a)),_0x21a4ad){_0x55fb5c(_0x38baaa,_0x34390f,_0x21a4ad);return;}_0x5501ed&&(_0x38baaa[_0x326cb2(0x111)]=_0x5501ed);const _0x5268a7=_0x1b0f5e[_0x326cb2(0x12f)][_0x326cb2(0xd1)];if(_0x5268a7!==void 0x0){if(!_0x3267de){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x1c2));return;}let _0x418cc0;try{_0x418cc0=_0x1f65b6(_0x5268a7);}catch{_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x21c));return;}const _0x420904=Object[_0x326cb2(0x120)](_0x418cc0);if(_0x420904[_0x326cb2(0x18a)]!==0x1||_0x420904[0x0]!==_0x1e220f['extensionName']){_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0xbf));return;}try{_0x3267de[_0x326cb2(0xae)](_0x418cc0[_0x1e220f['extensionName']]);}catch{_0x55fb5c(_0x38baaa,_0x34390f,_0x326cb2(0x21c));return;}_0x38baaa[_0x326cb2(0xa1)][_0x1e220f[_0x326cb2(0xdc)]]=_0x3267de;}_0x38baaa[_0x326cb2(0x96)](_0x34390f,_0x10e868,{'allowSynchronousEvents':_0x2b6827[_0x326cb2(0x184)],'generateMask':_0x2b6827[_0x326cb2(0xc0)],'maxPayload':_0x2b6827[_0x326cb2(0x1be)],'skipUTF8Validation':_0x2b6827['skipUTF8Validation']});}),_0x2b6827['finishRequest']?_0x2b6827[_0xe08a11(0x123)](_0x1005d7,_0x38baaa):_0x1005d7[_0xe08a11(0xbd)]();}function _0x381998(_0x14beaa,_0x5bafd3){const _0x15d11c=_0x3576d9;_0x14beaa[_0x15d11c(0x1f4)]=_0x531b95[_0x15d11c(0x189)],_0x14beaa[_0x15d11c(0x202)]=!0x0,_0x14beaa[_0x15d11c(0x1fe)](_0x15d11c(0x199),_0x5bafd3),_0x14beaa['emitClose']();}function _0xb0e0ea(_0x59bcfd){const _0x3f108b=_0x3576d9;return _0x59bcfd[_0x3f108b(0x11c)]=_0x59bcfd[_0x3f108b(0x17e)],_0x2dfb4a[_0x3f108b(0x117)](_0x59bcfd);}function _0xfaf77a(_0x42a049){const _0x460934=_0x3576d9;return _0x42a049[_0x460934(0x11c)]=void 0x0,!_0x42a049[_0x460934(0x95)]&&_0x42a049['servername']!==''&&(_0x42a049[_0x460934(0x95)]=_0x2dfb4a[_0x460934(0x162)](_0x42a049[_0x460934(0xca)])?'':_0x42a049['host']),_0x532a12[_0x460934(0x117)](_0x42a049);}function _0x55fb5c(_0x2b8c88,_0xc00b1c,_0x2d068d){const _0x28ff2f=_0x3576d9;_0x2b8c88['_readyState']=_0x531b95[_0x28ff2f(0x189)];const _0x2ef199=new Error(_0x2d068d);Error[_0x28ff2f(0x119)](_0x2ef199,_0x55fb5c),_0xc00b1c[_0x28ff2f(0x185)]?(_0xc00b1c[_0x5b89b6]=!0x0,_0xc00b1c['abort'](),_0xc00b1c[_0x28ff2f(0x18f)]&&!_0xc00b1c[_0x28ff2f(0x18f)]['destroyed']&&_0xc00b1c[_0x28ff2f(0x18f)][_0x28ff2f(0xe5)](),process[_0x28ff2f(0x1ea)](_0x381998,_0x2b8c88,_0x2ef199)):(_0xc00b1c['destroy'](_0x2ef199),_0xc00b1c[_0x28ff2f(0xab)]('error',_0x2b8c88['emit']['bind'](_0x2b8c88,_0x28ff2f(0x199))),_0xc00b1c[_0x28ff2f(0xab)](_0x28ff2f(0x16c),_0x2b8c88[_0x28ff2f(0xc1)][_0x28ff2f(0x149)](_0x2b8c88)));}function _0x3e39f0(_0x25065a,_0x3dbe04,_0x162607){const _0x393b53=_0x3576d9;if(_0x3dbe04){const _0x1b95c3=_0x2dd223(_0x3dbe04)?_0x3dbe04[_0x393b53(0x151)]:_0x4afbac(_0x3dbe04)[_0x393b53(0x18a)];_0x25065a[_0x393b53(0x139)]?_0x25065a[_0x393b53(0xb8)]['_bufferedBytes']+=_0x1b95c3:_0x25065a[_0x393b53(0x174)]+=_0x1b95c3;}if(_0x162607){const _0x2feaf3=new Error(_0x393b53(0x133)+_0x25065a['readyState']+'\x20('+_0x3fd6be[_0x25065a['readyState']]+')');process[_0x393b53(0x1ea)](_0x162607,_0x2feaf3);}}function _0x126c4f(_0x5e80de,_0x2036c3){const _0x11f067=_0x3576d9,_0x2634b5=this[_0x36116a];_0x2634b5[_0x11f067(0x21d)]=!0x0,_0x2634b5[_0x11f067(0x221)]=_0x2036c3,_0x2634b5['_closeCode']=_0x5e80de,_0x2634b5[_0x11f067(0x139)][_0x36116a]!==void 0x0&&(_0x2634b5[_0x11f067(0x139)][_0x11f067(0x1bb)](_0x11f067(0x21a),_0x59c64c),process['nextTick'](_0x148660,_0x2634b5[_0x11f067(0x139)]),_0x5e80de===0x3ed?_0x2634b5[_0x11f067(0x16c)]():_0x2634b5[_0x11f067(0x16c)](_0x5e80de,_0x2036c3));}function _0x2a6b1c(){const _0xb9cf83=_0x3576d9,_0x272728=this[_0x36116a];_0x272728['isPaused']||_0x272728[_0xb9cf83(0x139)][_0xb9cf83(0x102)]();}function _0x11f7cf(_0x4825da){const _0x795f4=_0x3576d9,_0x3d0753=this[_0x36116a];_0x3d0753[_0x795f4(0x139)][_0x36116a]!==void 0x0&&(_0x3d0753[_0x795f4(0x139)][_0x795f4(0x1bb)](_0x795f4(0x21a),_0x59c64c),process[_0x795f4(0x1ea)](_0x148660,_0x3d0753[_0x795f4(0x139)]),_0x3d0753[_0x795f4(0x16c)](_0x4825da[_0x277386])),_0x3d0753['_errorEmitted']||(_0x3d0753[_0x795f4(0x202)]=!0x0,_0x3d0753[_0x795f4(0x1fe)](_0x795f4(0x199),_0x4825da));}function _0x277cb5(){const _0x2e5bcf=_0x3576d9;this[_0x36116a][_0x2e5bcf(0xc1)]();}function _0x2bdd45(_0x275a6c,_0x23f354){const _0x5e8557=_0x3576d9;this[_0x36116a][_0x5e8557(0x1fe)]('message',_0x275a6c,_0x23f354);}function _0x4b4411(_0x1a1694){const _0x2f71a9=_0x3576d9,_0x4c5ad4=this[_0x36116a];_0x4c5ad4['_autoPong']&&_0x4c5ad4[_0x2f71a9(0x198)](_0x1a1694,!this[_0x2f71a9(0x11e)],_0x539a0c),_0x4c5ad4[_0x2f71a9(0x1fe)](_0x2f71a9(0x212),_0x1a1694);}function _0x30d9ce(_0x19c8eb){const _0x4b4dd7=_0x3576d9;this[_0x36116a]['emit'](_0x4b4dd7(0x198),_0x19c8eb);}function _0x148660(_0x4b0024){const _0x2cbff9=_0x3576d9;_0x4b0024[_0x2cbff9(0x102)]();}function _0x5d7274(_0x1bc831){const _0x235f20=_0x3576d9,_0x2f62ce=this[_0x36116a];_0x2f62ce[_0x235f20(0xa6)]!==_0x531b95['CLOSED']&&(_0x2f62ce[_0x235f20(0xa6)]===_0x531b95[_0x235f20(0xbc)]&&(_0x2f62ce[_0x235f20(0x1f4)]=_0x531b95['CLOSING'],_0x32b965(_0x2f62ce)),this[_0x235f20(0x139)][_0x235f20(0xbd)](),_0x2f62ce[_0x235f20(0x202)]||(_0x2f62ce['_errorEmitted']=!0x0,_0x2f62ce[_0x235f20(0x1fe)]('error',_0x1bc831)));}function _0x32b965(_0x50829b){const _0x75cd6e=_0x3576d9;_0x50829b[_0x75cd6e(0x126)]=setTimeout(_0x50829b[_0x75cd6e(0x139)][_0x75cd6e(0xe5)][_0x75cd6e(0x149)](_0x50829b[_0x75cd6e(0x139)]),_0x571da7);}function _0x2b2f40(){const _0x259786=_0x3576d9,_0x4f3cec=this[_0x36116a];this[_0x259786(0x1bb)](_0x259786(0x16c),_0x2b2f40),this[_0x259786(0x1bb)](_0x259786(0x21a),_0x59c64c),this[_0x259786(0x1bb)](_0x259786(0xbd),_0x94ff74),_0x4f3cec['_readyState']=_0x531b95[_0x259786(0x189)];let _0x4734e6;!this[_0x259786(0x1a7)][_0x259786(0x1ad)]&&!_0x4f3cec[_0x259786(0x21d)]&&!_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)][_0x259786(0x104)]&&(_0x4734e6=_0x4f3cec[_0x259786(0x139)][_0x259786(0x13e)]())!==null&&_0x4f3cec[_0x259786(0xd2)][_0x259786(0x22f)](_0x4734e6),_0x4f3cec['_receiver'][_0x259786(0xbd)](),this[_0x36116a]=void 0x0,clearTimeout(_0x4f3cec[_0x259786(0x126)]),_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)][_0x259786(0xa8)]||_0x4f3cec[_0x259786(0xd2)][_0x259786(0xc7)]['errorEmitted']?_0x4f3cec[_0x259786(0xc1)]():(_0x4f3cec[_0x259786(0xd2)]['on'](_0x259786(0x199),_0x277cb5),_0x4f3cec[_0x259786(0xd2)]['on']('finish',_0x277cb5));}function _0x59c64c(_0x3f692a){const _0xef1898=_0x3576d9;this[_0x36116a]['_receiver']['write'](_0x3f692a)||this[_0xef1898(0x181)]();}function _0x94ff74(){const _0xe71f14=_0x3576d9,_0x4f3511=this[_0x36116a];_0x4f3511['_readyState']=_0x531b95['CLOSING'],_0x4f3511[_0xe71f14(0xd2)][_0xe71f14(0xbd)](),this[_0xe71f14(0xbd)]();}function _0x1fbd24(){const _0x4ebdc9=_0x3576d9,_0x1e0a90=this[_0x36116a];this[_0x4ebdc9(0x1bb)](_0x4ebdc9(0x199),_0x1fbd24),this['on'](_0x4ebdc9(0x199),_0x539a0c),_0x1e0a90&&(_0x1e0a90[_0x4ebdc9(0x1f4)]=_0x531b95['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4bbc78}=_0x4726f2;function _0x311831(_0x267f47){const _0x51623c=_0x35f4;_0x267f47[_0x51623c(0x1fe)](_0x51623c(0x16c));}function _0x3f8f57(){const _0x31465c=_0x35f4;!this[_0x31465c(0x114)]&&this[_0x31465c(0xc7)]['finished']&&this[_0x31465c(0xe5)]();}function _0x1d0bc8(_0xe3cb6d){const _0x2b7462=_0x35f4;this['removeListener']('error',_0x1d0bc8),this[_0x2b7462(0xe5)](),this['listenerCount'](_0x2b7462(0x199))===0x0&&this['emit'](_0x2b7462(0x199),_0xe3cb6d);}function _0x58c780(_0x2e43a4,_0x11f00f){const _0x39dece=_0x35f4;let _0x135e8a=!0x0;const _0x15f44e=new _0x4bbc78({..._0x11f00f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2e43a4['on'](_0x39dece(0xe1),function(_0x4dc3f2,_0x4ae71b){const _0x26f286=_0x39dece,_0x30cff2=!_0x4ae71b&&_0x15f44e[_0x26f286(0x1a7)][_0x26f286(0x1cf)]?_0x4dc3f2['toString']():_0x4dc3f2;_0x15f44e[_0x26f286(0x1b4)](_0x30cff2)||_0x2e43a4[_0x26f286(0x181)]();}),_0x2e43a4[_0x39dece(0xab)](_0x39dece(0x199),function(_0x49b1bb){const _0x3b2dec=_0x39dece;_0x15f44e['destroyed']||(_0x135e8a=!0x1,_0x15f44e[_0x3b2dec(0xe5)](_0x49b1bb));}),_0x2e43a4['once']('close',function(){const _0x204e6d=_0x39dece;_0x15f44e[_0x204e6d(0x114)]||_0x15f44e[_0x204e6d(0x1b4)](null);}),_0x15f44e[_0x39dece(0x1d5)]=function(_0x56762f,_0x5ec892){const _0x2bf7dc=_0x39dece;if(_0x2e43a4[_0x2bf7dc(0xa6)]===_0x2e43a4[_0x2bf7dc(0xa5)]){_0x5ec892(_0x56762f),process[_0x2bf7dc(0x1ea)](_0x311831,_0x15f44e);return;}let _0x5626ca=!0x1;_0x2e43a4[_0x2bf7dc(0xab)](_0x2bf7dc(0x199),function(_0x1e927b){_0x5626ca=!0x0,_0x5ec892(_0x1e927b);}),_0x2e43a4['once'](_0x2bf7dc(0x16c),function(){_0x5626ca||_0x5ec892(_0x56762f),process['nextTick'](_0x311831,_0x15f44e);}),_0x135e8a&&_0x2e43a4[_0x2bf7dc(0x15d)]();},_0x15f44e[_0x39dece(0x154)]=function(_0x57d69b){const _0x113f51=_0x39dece;if(_0x2e43a4[_0x113f51(0xa6)]===_0x2e43a4[_0x113f51(0xdb)]){_0x2e43a4['once'](_0x113f51(0x205),function(){const _0x7bde9b=_0x113f51;_0x15f44e[_0x7bde9b(0x154)](_0x57d69b);});return;}_0x2e43a4[_0x113f51(0x139)]!==null&&(_0x2e43a4[_0x113f51(0x139)][_0x113f51(0xc7)][_0x113f51(0xa8)]?(_0x57d69b(),_0x15f44e[_0x113f51(0x1a7)][_0x113f51(0x1ad)]&&_0x15f44e['destroy']()):(_0x2e43a4[_0x113f51(0x139)]['once'](_0x113f51(0x1d8),function(){_0x57d69b();}),_0x2e43a4[_0x113f51(0x16c)]()));},_0x15f44e[_0x39dece(0xfb)]=function(){const _0xb3198d=_0x39dece;_0x2e43a4[_0xb3198d(0x208)]&&_0x2e43a4['resume']();},_0x15f44e[_0x39dece(0xe3)]=function(_0x3fe010,_0x12cc30,_0x651cc0){const _0x7ae781=_0x39dece;if(_0x2e43a4['readyState']===_0x2e43a4[_0x7ae781(0xdb)]){_0x2e43a4[_0x7ae781(0xab)](_0x7ae781(0x205),function(){const _0x358120=_0x7ae781;_0x15f44e[_0x358120(0xe3)](_0x3fe010,_0x12cc30,_0x651cc0);});return;}_0x2e43a4[_0x7ae781(0x125)](_0x3fe010,_0x651cc0);},_0x15f44e['on'](_0x39dece(0xbd),_0x3f8f57),_0x15f44e['on'](_0x39dece(0x199),_0x1d0bc8),_0x15f44e;}return Oe=_0x58c780,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x56ef44}=ne();function _0xb2fc7f(_0x51a987){const _0x224dcf=_0x35f4,_0x23f28f=new Set();let _0x41195a=-0x1,_0x7259b5=-0x1,_0xb9a60e=0x0;for(_0xb9a60e;_0xb9a60e<_0x51a987[_0x224dcf(0x18a)];_0xb9a60e++){const _0x93c069=_0x51a987[_0x224dcf(0xe0)](_0xb9a60e);if(_0x7259b5===-0x1&&_0x56ef44[_0x93c069]===0x1)_0x41195a===-0x1&&(_0x41195a=_0xb9a60e);else{if(_0xb9a60e!==0x0&&(_0x93c069===0x20||_0x93c069===0x9))_0x7259b5===-0x1&&_0x41195a!==-0x1&&(_0x7259b5=_0xb9a60e);else{if(_0x93c069===0x2c){if(_0x41195a===-0x1)throw new SyntaxError(_0x224dcf(0x15a)+_0xb9a60e);_0x7259b5===-0x1&&(_0x7259b5=_0xb9a60e);const _0x3e7e65=_0x51a987['slice'](_0x41195a,_0x7259b5);if(_0x23f28f[_0x224dcf(0x178)](_0x3e7e65))throw new SyntaxError(_0x224dcf(0x1d1)+_0x3e7e65+_0x224dcf(0xeb));_0x23f28f[_0x224dcf(0x1bd)](_0x3e7e65),_0x41195a=_0x7259b5=-0x1;}else throw new SyntaxError(_0x224dcf(0x15a)+_0xb9a60e);}}}if(_0x41195a===-0x1||_0x7259b5!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x16b9f2=_0x51a987[_0x224dcf(0xee)](_0x41195a,_0xb9a60e);if(_0x23f28f[_0x224dcf(0x178)](_0x16b9f2))throw new SyntaxError('The\x20\x22'+_0x16b9f2+_0x224dcf(0xeb));return _0x23f28f[_0x224dcf(0x1bd)](_0x16b9f2),_0x23f28f;}return Ce={'parse':_0xb2fc7f},Ce;}var Te,ot;function er(){const _0x421e4d=_0xcc8efe;if(ot)return Te;ot=0x1;const _0x99afbd=_0xfd2e2c,_0x1303da=_0x4b84c,{Duplex:_0x3cd43e}=_0x4726f2,{createHash:_0x54d620}=_0xcdc505,_0x4a6c27=pt(),_0x226213=he(),_0x2064cd=Jt(),_0x4c07a7=Ie(),{GUID:_0x42e777,kWebSocket:_0x1356db}=V(),_0x38bf20=/^[+/0-9A-Za-z]{22}==$/,_0x1c0594=0x0,_0x3626a8=0x1,_0x38668d=0x2;class _0x3c9729 extends _0x99afbd{constructor(_0x36ead1,_0x10589f){const _0x766e6=_0x35f4;if(super(),_0x36ead1={'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':_0x4c07a7,..._0x36ead1},_0x36ead1[_0x766e6(0x1b1)]==null&&!_0x36ead1[_0x766e6(0x146)]&&!_0x36ead1[_0x766e6(0x1f0)]||_0x36ead1['port']!=null&&(_0x36ead1[_0x766e6(0x146)]||_0x36ead1['noServer'])||_0x36ead1[_0x766e6(0x146)]&&_0x36ead1[_0x766e6(0x1f0)])throw new TypeError(_0x766e6(0x118));if(_0x36ead1['port']!=null?(this[_0x766e6(0x134)]=_0x1303da[_0x766e6(0x19d)]((_0x324e7a,_0x38a308)=>{const _0x9d11f8=_0x766e6,_0x53fdbf=_0x1303da[_0x9d11f8(0x105)][0x1aa];_0x38a308[_0x9d11f8(0x99)](0x1aa,{'Content-Length':_0x53fdbf['length'],'Content-Type':_0x9d11f8(0x22c)}),_0x38a308['end'](_0x53fdbf);}),this[_0x766e6(0x134)][_0x766e6(0x193)](_0x36ead1[_0x766e6(0x1b1)],_0x36ead1['host'],_0x36ead1[_0x766e6(0x1ba)],_0x10589f)):_0x36ead1[_0x766e6(0x146)]&&(this['_server']=_0x36ead1[_0x766e6(0x146)]),this['_server']){const _0xbf9bda=this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x1f9));this[_0x766e6(0xf5)]=_0x313c74(this['_server'],{'listening':this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x1f7)),'error':this[_0x766e6(0x1fe)][_0x766e6(0x149)](this,_0x766e6(0x199)),'upgrade':(_0xe689d4,_0x5eb8d9,_0x3c7e30)=>{const _0xd72a3a=_0x766e6;this[_0xd72a3a(0x147)](_0xe689d4,_0x5eb8d9,_0x3c7e30,_0xbf9bda);}});}_0x36ead1[_0x766e6(0x1e7)]===!0x0&&(_0x36ead1['perMessageDeflate']={}),_0x36ead1['clientTracking']&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x766e6(0xde)]=_0x36ead1,this[_0x766e6(0x12e)]=_0x1c0594;}['address'](){const _0x338d32=_0x35f4;if(this[_0x338d32(0xde)][_0x338d32(0x1f0)])throw new Error(_0x338d32(0x21e));return this[_0x338d32(0x134)]?this[_0x338d32(0x134)][_0x338d32(0x92)]():null;}[_0x421e4d(0x16c)](_0x5e4973){const _0x372014=_0x421e4d;if(this[_0x372014(0x12e)]===_0x38668d){_0x5e4973&&this[_0x372014(0xab)](_0x372014(0x16c),()=>{const _0x421aa0=_0x372014;_0x5e4973(new Error(_0x421aa0(0x10d)));}),process[_0x372014(0x1ea)](_0x57a5f2,this);return;}if(_0x5e4973&&this[_0x372014(0xab)]('close',_0x5e4973),this['_state']!==_0x3626a8){if(this['_state']=_0x3626a8,this[_0x372014(0xde)]['noServer']||this['options'][_0x372014(0x146)])this['_server']&&(this['_removeListeners'](),this[_0x372014(0xf5)]=this[_0x372014(0x134)]=null),this[_0x372014(0x9c)]?this[_0x372014(0x9c)][_0x372014(0x151)]?this[_0x372014(0xc3)]=!0x0:process['nextTick'](_0x57a5f2,this):process[_0x372014(0x1ea)](_0x57a5f2,this);else{const _0x22e086=this[_0x372014(0x134)];this['_removeListeners'](),this[_0x372014(0xf5)]=this[_0x372014(0x134)]=null,_0x22e086[_0x372014(0x16c)](()=>{_0x57a5f2(this);});}}}['shouldHandle'](_0x3e79eb){const _0x3fbc0e=_0x421e4d;if(this[_0x3fbc0e(0xde)][_0x3fbc0e(0x11c)]){const _0x459251=_0x3e79eb[_0x3fbc0e(0x200)]['indexOf']('?');if((_0x459251!==-0x1?_0x3e79eb[_0x3fbc0e(0x200)][_0x3fbc0e(0xee)](0x0,_0x459251):_0x3e79eb[_0x3fbc0e(0x200)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x421e4d(0x147)](_0x5141a5,_0x2f0fcf,_0x318105,_0x551246){const _0x2594df=_0x421e4d;_0x2f0fcf['on'](_0x2594df(0x199),_0xb16a37);const _0x111e7a=_0x5141a5['headers']['sec-websocket-key'],_0xdde2d2=_0x5141a5['headers'][_0x2594df(0x19c)],_0x271cbf=+_0x5141a5[_0x2594df(0x12f)][_0x2594df(0x1f1)];if(_0x5141a5[_0x2594df(0xd0)]!==_0x2594df(0xef)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x195,_0x2594df(0xf4));return;}if(_0xdde2d2===void 0x0||_0xdde2d2[_0x2594df(0xb5)]()!==_0x2594df(0x1b5)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0x137));return;}if(_0x111e7a===void 0x0||!_0x38bf20['test'](_0x111e7a)){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x271cbf!==0xd&&_0x271cbf!==0x8){_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this['shouldHandle'](_0x5141a5)){_0x3a0e5e(_0x2f0fcf,0x190);return;}const _0x53ecde=_0x5141a5['headers']['sec-websocket-protocol'];let _0x4a91e3=new Set();if(_0x53ecde!==void 0x0)try{_0x4a91e3=_0x2064cd[_0x2594df(0x167)](_0x53ecde);}catch{_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0xe7));return;}const _0x8a7377=_0x5141a5[_0x2594df(0x12f)]['sec-websocket-extensions'],_0x42a81a={};if(this[_0x2594df(0xde)][_0x2594df(0x1e7)]&&_0x8a7377!==void 0x0){const _0x1b056d=new _0x226213(this[_0x2594df(0xde)]['perMessageDeflate'],!0x0,this[_0x2594df(0xde)]['maxPayload']);try{const _0x4f84e7=_0x4a6c27[_0x2594df(0x167)](_0x8a7377);_0x4f84e7[_0x226213['extensionName']]&&(_0x1b056d[_0x2594df(0xae)](_0x4f84e7[_0x226213[_0x2594df(0xdc)]]),_0x42a81a[_0x226213['extensionName']]=_0x1b056d);}catch{_0x5a699d(this,_0x5141a5,_0x2f0fcf,0x190,_0x2594df(0xcd));return;}}if(this[_0x2594df(0xde)]['verifyClient']){const _0x57d2dc={'origin':_0x5141a5['headers'][''+(_0x271cbf===0x8?'sec-websocket-origin':_0x2594df(0x15e))],'secure':!!(_0x5141a5[_0x2594df(0x18f)]['authorized']||_0x5141a5[_0x2594df(0x18f)][_0x2594df(0x1fd)]),'req':_0x5141a5};if(this['options'][_0x2594df(0x163)][_0x2594df(0x18a)]===0x2){this[_0x2594df(0xde)][_0x2594df(0x163)](_0x57d2dc,(_0x2426b7,_0x5fa7f2,_0x1f6a90,_0x4b71d5)=>{const _0x144985=_0x2594df;if(!_0x2426b7)return _0x3a0e5e(_0x2f0fcf,_0x5fa7f2||0x191,_0x1f6a90,_0x4b71d5);this[_0x144985(0xfc)](_0x42a81a,_0x111e7a,_0x4a91e3,_0x5141a5,_0x2f0fcf,_0x318105,_0x551246);});return;}if(!this[_0x2594df(0xde)][_0x2594df(0x163)](_0x57d2dc))return _0x3a0e5e(_0x2f0fcf,0x191);}this[_0x2594df(0xfc)](_0x42a81a,_0x111e7a,_0x4a91e3,_0x5141a5,_0x2f0fcf,_0x318105,_0x551246);}[_0x421e4d(0xfc)](_0x5aeb6d,_0xf447af,_0xb6cdb5,_0x4a7aba,_0x90ac74,_0x176d71,_0x5afc72){const _0x3a7046=_0x421e4d;if(!_0x90ac74[_0x3a7046(0x175)]||!_0x90ac74[_0x3a7046(0xf7)])return _0x90ac74[_0x3a7046(0xe5)]();if(_0x90ac74[_0x1356db])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x1c0594)return _0x3a0e5e(_0x90ac74,0x1f7);const _0x24ff3a=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3a7046(0x157),_0x3a7046(0x100),'Sec-WebSocket-Accept:\x20'+_0x54d620(_0x3a7046(0x15f))[_0x3a7046(0xa7)](_0xf447af+_0x42e777)[_0x3a7046(0x12d)](_0x3a7046(0x9a))],_0x136976=new this[(_0x3a7046(0xde))]['WebSocket'](null,void 0x0,this[_0x3a7046(0xde)]);if(_0xb6cdb5[_0x3a7046(0x151)]){const _0x206aae=this[_0x3a7046(0xde)][_0x3a7046(0xc2)]?this['options'][_0x3a7046(0xc2)](_0xb6cdb5,_0x4a7aba):_0xb6cdb5[_0x3a7046(0xf0)]()[_0x3a7046(0x226)]()[_0x3a7046(0x170)];_0x206aae&&(_0x24ff3a['push'](_0x3a7046(0x1cc)+_0x206aae),_0x136976[_0x3a7046(0x111)]=_0x206aae);}if(_0x5aeb6d[_0x226213['extensionName']]){const _0x1e0f32=_0x5aeb6d[_0x226213[_0x3a7046(0xdc)]]['params'],_0x5567e9=_0x4a6c27[_0x3a7046(0x1db)]({[_0x226213[_0x3a7046(0xdc)]]:[_0x1e0f32]});_0x24ff3a[_0x3a7046(0x1b4)](_0x3a7046(0x155)+_0x5567e9),_0x136976[_0x3a7046(0xa1)]=_0x5aeb6d;}this['emit'](_0x3a7046(0x12f),_0x24ff3a,_0x4a7aba),_0x90ac74['write'](_0x24ff3a['concat']('\x0d\x0a')['join']('\x0d\x0a')),_0x90ac74[_0x3a7046(0x1bb)]('error',_0xb16a37),_0x136976['setSocket'](_0x90ac74,_0x176d71,{'allowSynchronousEvents':this[_0x3a7046(0xde)][_0x3a7046(0x184)],'maxPayload':this[_0x3a7046(0xde)][_0x3a7046(0x1be)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x3a7046(0x9c)]&&(this[_0x3a7046(0x9c)][_0x3a7046(0x1bd)](_0x136976),_0x136976['on'](_0x3a7046(0x16c),()=>{const _0x25b2d4=_0x3a7046;this[_0x25b2d4(0x9c)][_0x25b2d4(0x21f)](_0x136976),this[_0x25b2d4(0xc3)]&&!this[_0x25b2d4(0x9c)]['size']&&process[_0x25b2d4(0x1ea)](_0x57a5f2,this);})),_0x5afc72(_0x136976,_0x4a7aba);}}Te=_0x3c9729;function _0x313c74(_0x490859,_0x304e04){for(const _0x18e809 of Object['keys'](_0x304e04))_0x490859['on'](_0x18e809,_0x304e04[_0x18e809]);return function(){const _0x2b4bd1=_0x35f4;for(const _0xd54ad7 of Object[_0x2b4bd1(0x120)](_0x304e04))_0x490859[_0x2b4bd1(0x1bb)](_0xd54ad7,_0x304e04[_0xd54ad7]);};}function _0x57a5f2(_0x51bbcb){const _0x10b41e=_0x421e4d;_0x51bbcb[_0x10b41e(0x12e)]=_0x38668d,_0x51bbcb['emit'](_0x10b41e(0x16c));}function _0xb16a37(){const _0x14c14b=_0x421e4d;this[_0x14c14b(0xe5)]();}function _0x3a0e5e(_0x2a485e,_0x1f7b9c,_0x1111d9,_0x661d77){const _0x3cd11c=_0x421e4d;_0x1111d9=_0x1111d9||_0x1303da['STATUS_CODES'][_0x1f7b9c],_0x661d77={'Connection':_0x3cd11c(0x16c),'Content-Type':_0x3cd11c(0xe6),'Content-Length':Buffer[_0x3cd11c(0x169)](_0x1111d9),..._0x661d77},_0x2a485e[_0x3cd11c(0xab)](_0x3cd11c(0x1d8),_0x2a485e[_0x3cd11c(0xe5)]),_0x2a485e[_0x3cd11c(0xbd)](_0x3cd11c(0x17d)+_0x1f7b9c+'\x20'+_0x1303da[_0x3cd11c(0x105)][_0x1f7b9c]+'\x0d\x0a'+Object[_0x3cd11c(0x120)](_0x661d77)[_0x3cd11c(0x1e8)](_0x14cf95=>_0x14cf95+':\x20'+_0x661d77[_0x14cf95])[_0x3cd11c(0x1a2)]('\x0d\x0a')+_0x3cd11c(0x171)+_0x1111d9);}function _0x5a699d(_0x28c25a,_0x8ce638,_0x10cba3,_0x21059b,_0x337d91,_0x158dea){const _0x4a502e=_0x421e4d;if(_0x28c25a[_0x4a502e(0xb2)](_0x4a502e(0x130))){const _0x3ab54c=new Error(_0x337d91);Error[_0x4a502e(0x119)](_0x3ab54c,_0x5a699d),_0x28c25a[_0x4a502e(0x1fe)](_0x4a502e(0x130),_0x3ab54c,_0x10cba3,_0x8ce638);}else _0x3a0e5e(_0x10cba3,_0x21059b,_0x337d91,_0x158dea);}return Te;}er();var tr=Object[_0xcc8efe(0x16e)],rr=(_0x1a1bb9,_0x2a7752,_0x28bf02,_0x3ee85f)=>{const _0x257413=_0xcc8efe;for(var _0x14a845=_0x3ee85f>0x1?void 0x0:_0x3ee85f?tr(_0x2a7752,_0x28bf02):_0x2a7752,_0x2ac956=_0x1a1bb9[_0x257413(0x18a)]-0x1,_0x3e95ca;_0x2ac956>=0x0;_0x2ac956--)(_0x3e95ca=_0x1a1bb9[_0x2ac956])&&(_0x14a845=_0x3e95ca(_0x14a845)||_0x14a845);return _0x14a845;},sr=(_0x3532b2,_0x2a9537)=>(_0x55a310,_0x333404)=>_0x2a9537(_0x55a310,_0x333404,_0x3532b2);let Ne=class extends _0x3b16e0{constructor(_0x33de4b){super(),this['_configService']=_0x33de4b;}[_0xcc8efe(0x1ca)](_0x1e7387){const _0x4f5af5=_0xcc8efe;var _0x50a737;const _0x4e1af9=(_0x50a737=this['_configService'][_0x4f5af5(0xd7)](Be))==null?void 0x0:_0x50a737[_0x4f5af5(0x194)];try{const _0xf5e14f=new Qt(_0x1e7387,{'headers':{..._0x4e1af9}}),_0x286752=new _0x3ae965();return{'URL':_0x1e7387,'close':(_0x19f206,_0xace8cb)=>{_0xf5e14f['close'](_0x19f206,_0xace8cb),_0x286752['dispose']();},'send':_0x1ae5c9=>{const _0x2746c1=_0x4f5af5;_0xf5e14f[_0x2746c1(0x125)](_0x1ae5c9);},'open$':new _0x1c4acd(_0x3a4bd9=>{const _0x584671=_0x4f5af5,_0x2307cd=_0x58168e=>_0x3a4bd9[_0x584671(0x226)](_0x58168e);_0xf5e14f[_0x584671(0x22a)](_0x584671(0x205),_0x2307cd),_0x286752['add'](_0x5b17c8(()=>_0xf5e14f[_0x584671(0x1dd)](_0x584671(0x205),_0x2307cd)));})[_0x4f5af5(0x14c)](_0x33be26()),'close$':new _0x1c4acd(_0x399f30=>{const _0x204398=_0x4f5af5,_0xcc3e61=_0x193658=>_0x399f30['next'](_0x193658);_0xf5e14f[_0x204398(0x22a)]('close',_0xcc3e61),_0x286752[_0x204398(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x204398(0x1dd)](_0x204398(0x16c),_0xcc3e61)));})['pipe'](_0x33be26()),'error$':new _0x1c4acd(_0x14a72c=>{const _0x39d35a=_0x4f5af5,_0x3c6f9b=_0x5cd870=>_0x14a72c['next'](_0x5cd870);_0xf5e14f[_0x39d35a(0x22a)](_0x39d35a(0x199),_0x3c6f9b),_0x286752[_0x39d35a(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x39d35a(0x1dd)](_0x39d35a(0x199),_0x3c6f9b)));})[_0x4f5af5(0x14c)](_0x33be26()),'message$':new _0x1c4acd(_0x4cd527=>{const _0x5f48e7=_0x4f5af5,_0x149338=_0x5d6d88=>_0x4cd527[_0x5f48e7(0x226)](_0x5d6d88);_0xf5e14f[_0x5f48e7(0x22a)](_0x5f48e7(0xe1),_0x149338),_0x286752[_0x5f48e7(0x1bd)](_0x5b17c8(()=>_0xf5e14f[_0x5f48e7(0x1dd)]('message',_0x149338)));})[_0x4f5af5(0x14c)](_0x33be26())};}catch(_0x49bc06){return console[_0x4f5af5(0x199)](_0x49bc06),null;}}};Ne=rr([sr(0x0,_0x16f89b)],Ne);var ir=Object[_0xcc8efe(0xf2)],nr=Object['getOwnPropertyDescriptor'],or=(_0x278c14,_0x412f5d,_0x44d56e)=>_0x412f5d in _0x278c14?ir(_0x278c14,_0x412f5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44d56e}):_0x278c14[_0x412f5d]=_0x44d56e,ar=(_0x619466,_0x3a0fa2,_0x570ebe,_0x4d29e8)=>{const _0x49ab83=_0xcc8efe;for(var _0x53ad9e=_0x4d29e8>0x1?void 0x0:_0x4d29e8?nr(_0x3a0fa2,_0x570ebe):_0x3a0fa2,_0x4ac629=_0x619466[_0x49ab83(0x18a)]-0x1,_0x5c4752;_0x4ac629>=0x0;_0x4ac629--)(_0x5c4752=_0x619466[_0x4ac629])&&(_0x53ad9e=_0x5c4752(_0x53ad9e)||_0x53ad9e);return _0x53ad9e;},ke=(_0x8101c7,_0x3ede5c)=>(_0x41880a,_0x185d99)=>_0x3ede5c(_0x41880a,_0x185d99,_0x8101c7),lr=(_0x46ea3b,_0x2efa4a,_0x34d7dd)=>or(_0x46ea3b,_0x2efa4a+'',_0x34d7dd);let Pe=class extends _0x9942f0{constructor(_0x48ce80=Ft,_0x563fe0,_0x70c46a,_0xee197d){const _0x52fede=_0xcc8efe;_0x48ce80[_0x52fede(0x194)]||_0x563fe0['warn'](_0x52fede(0x220)),super(),this[_0x52fede(0x1fb)]=_0x70c46a,this[_0x52fede(0x187)]=_0xee197d,this[_0x52fede(0x1fb)][_0x52fede(0x182)](Be,_0x48ce80);}[_0xcc8efe(0x112)](){this['_registerDependencies']();}[_0xcc8efe(0x1d3)](){const _0x351871=_0xcc8efe;_0x4379ae(this[_0x351871(0x187)],[[_0x42f225,{'useClass':Ne}]]);}};lr(Pe,_0xcc8efe(0x177),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x4ef3c2(_0x5a1aa7),ke(0x1,_0x3cdab6),ke(0x2,_0x16f89b),ke(0x3,_0x4857b1(_0x45764d))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x1299da,_0x5266bd,_0x4c0370,_0xc9428)=>{const _0x3e7422=_0xcc8efe;for(var _0x5c4c53=_0xc9428>0x1?void 0x0:_0xc9428?fr(_0x5266bd,_0x4c0370):_0x5266bd,_0x2672d0=_0x1299da[_0x3e7422(0x18a)]-0x1,_0x35c6dd;_0x2672d0>=0x0;_0x2672d0--)(_0x35c6dd=_0x1299da[_0x2672d0])&&(_0x5c4c53=_0x35c6dd(_0x5c4c53)||_0x5c4c53);return _0x5c4c53;},se=(_0x15b13b,_0x5b3918)=>(_0x1f2401,_0x104720)=>_0x5b3918(_0x1f2401,_0x104720,_0x15b13b);let at=class extends _0x6f9046{constructor(_0x18e47e,_0x379d55,_0x5877ec,_0xf6f50d,_0x2bd6e8){const _0x87091d=_0xcc8efe;super(_0x18e47e,_0x379d55,_0x5877ec,_0xf6f50d,_0x2bd6e8);const _0x5c7ae5=this[_0x87091d(0x1fb)][_0x87091d(0xd7)](Be);this[_0x87091d(0x1c0)][_0x87091d(0x140)]({'interceptor':(_0x3f01c7,_0x51c5ab)=>{const _0x3f6d5e=_0x87091d;var _0x149dea;const _0xa9e951=_0x3f01c7[_0x3f6d5e(0x12f)];return(_0x149dea=_0x5c7ae5==null?void 0x0:_0x5c7ae5[_0x3f6d5e(0x194)])!=null&&_0x149dea[_0x3f6d5e(0x1a1)]&&_0xa9e951['set']('Cookie',_0x5c7ae5['customHeaders'][_0x3f6d5e(0x1a1)]),_0x51c5ab(_0x3f01c7);}});}async[_0xcc8efe(0x1ca)](_0xb1c6b9){const _0x5802e3=_0xcc8efe;return this[_0x5802e3(0x218)](_0xb1c6b9);}};at=cr([se(0x0,_0x4857b1(_0x45764d)),se(0x1,_0x4857b1(_0x10ddf5)),se(0x2,_0x16f89b),se(0x3,_0x3cdab6),se(0x4,_0x5f4535)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x4f9298=_0x3288;(function(_0x1be049,_0x19b50b){const _0x50ee69=_0x3288,_0x38f08b=_0x1be049();while(!![]){try{const _0xc7810b=parseInt(_0x50ee69(0x1fd))/0x1+-parseInt(_0x50ee69(0x271))/0x2+parseInt(_0x50ee69(0x29b))/0x3*(-parseInt(_0x50ee69(0x219))/0x4)+-parseInt(_0x50ee69(0x26f))/0x5+parseInt(_0x50ee69(0x1fc))/0x6+-parseInt(_0x50ee69(0x1c5))/0x7+-parseInt(_0x50ee69(0x23f))/0x8*(-parseInt(_0x50ee69(0x1fe))/0x9);if(_0xc7810b===_0x19b50b)break;else _0x38f08b['push'](_0x38f08b['shift']());}catch(_0x5758c7){_0x38f08b['push'](_0x38f08b['shift']());}}}(_0x52e2,0x4f522));import{UniverCollaborationClientPlugin as _0x554f19,CollaborationSocketService as _0x374091}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8924c,DisposableCollection as _0x23dc54,toDisposable as _0x550483,IConfigService as _0x134320,DependentOn as _0x333582,ILogService as _0x3e32c0,Inject as _0x16e21f,Injector as _0x107d18,Plugin as _0x31a6de,registerDependencies as _0x4ffcc3}from'@univerjs/core';function _0x52e2(){const _0x3c9567=['set','The\x20server\x20is\x20not\x20running','request','WebSocket','dispose','writable','_injector','_socket','options','_originalIpc','_options','_mask','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','auth','conclude','finishRequest','_shouldEmitClose','kWasClean','listening','callback','controlMessage','port','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ping','noServer','RSV1\x20must\x20be\x20clear','compress','nodebuffer','invalid\x20opcode\x200','onmessage','nextTick','pending','data','HTTP/1.1\x20','_compressed','_readableState','WS_ERR_EXPECTED_MASK','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isArray','_buffers','_closeMessage','clientNoContextTakeover','WS_NO_BUFFER_UTIL','sec-websocket-protocol','split','_queue','connection','charCodeAt','_fragmented','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setNoDelay','digest','_state','setSocket','finished','ws+unix:','acceptAsClient','getConfig','_maxPayload','_opcode','clientTracking','The\x20\x22','_configService','add','normalizeParams','captureStackTrace','_originalSecure','fin','Max\x20payload\x20size\x20exceeded','_decompress','path','completeUpgrade','unmask','needDrain','_protocol','replace','apply','keys','readUInt16BE','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kListener','createError','_removeListeners','accept','_final','WebSocket\x20is\x20not\x20open:\x20readyState\x20','unexpected-response','OPEN','Invalid\x20Sec-WebSocket-Extensions\x20header','__esModule','getPayloadLength16','Parameter\x20\x22','arraybuffer','removeEventListener','hostname','WS_ERR_EXPECTED_FIN','object','cookie','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','dispatch','listen','consume','objectMode','headers','getBlobData','warn','destroyed','writeUIntBE','Invalid\x20HTTP\x20method','collaboration-client-node.config','string','_generateMask','blob','client','shouldHandle','text/plain','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeFrameReceived','origin','location','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_no_context_takeover','removeListener','call','CLOSED','\x22:\x20','_redirects','websocket','WS_NO_UTF_8_VALIDATE','close','client_max_window_bits','Sec-WebSocket-Protocol','Server\x20sent\x20an\x20invalid\x20subprotocol','Sec-WebSocket-Accept:\x20','wss:','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','getPayloadLength64','byteOffset','sec-websocket-origin','_autoPong','status-code','threshold','onopen','maskBuffer','Basic\x20','extensions','resume','clients','target','readOnly','rsv1','_receiver','_errored','destroy','cleanup','Cookie','_inflate','size','haveLength','isBuffer','protocolVersion','wasClean','update','offer','_allowSynchronousEvents','once','stream','byteLength','forEach','finish','values','verifyClient','_destroy','terminate','readyState','env','Unknown\x20parameter\x20\x22','flush','from','statusCode','_skipUTF8Validation','decompress','total-length','enqueue','frame','isIP','socket','Invalid\x20WebSocket\x20frame:\x20','abort','listeners','13,\x208','_closeFrameSent','alloc','Opening\x20handshake\x20has\x20timed\x20out','CLOSING','Module','kTarget','servername','_binaryType','4353314MSIsbX','Origin','onStarting','hash','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kIsForOnEventAttribute','server','readUInt32BE','\x0d\x0a\x0d\x0a','dataMessage','password','_url','_server','error','_writableState','_fin','registerHTTPInterceptor','handleUpgrade','timeout','defaultPort','zlibDeflateOptions','sha1','uncork','getData','STATUS_CODES','\x20(supported\x20versions:\x20','join','_readyState','CONNECTING','arrayBuffer','kMessage','base64','includes','buffer','_bufferedBytes','find','wsClientError','species','buffers','construct','isValidUTF8','Unexpected\x20end\x20of\x20input','_deflate','_errorEmitted','Blob','_doCreateSocket','entries','concurrencyLimit','drain','FIN\x20must\x20be\x20set','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','message','Z_DEFAULT_WINDOWBITS','end','encrypted','2815986plvnJY','56106XxeVCv','9WNvEgd','Upgrade:\x20websocket','emit','response','concat','handshakeTimeout','unshift','isPaused','autoPong','invalid\x20opcode\x20','send','sendFrame','map','getMask','_registerDependencies','invalid\x20UTF-8\x20sequence','isInteger','format','endEmitted','kType','indexOf','Invalid\x20Sec-WebSocket-Accept\x20header','concurrency','_extensions','Unexpected\x20character\x20at\x20index\x20','test','create','2196944soLohj','protocol','address','pause','Invalid\x20URL:\x20','fragments','open','emitClose','invalid\x20payload\x20length\x20','sec-websocket-accept','Unexpected\x20server\x20response:\x20','_read','next','reset','_firstFragment','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','bufferedAmount','has','exports','_closeCode','_bufferedAmount','defineProperty','pow','clientMaxWindowBits','url','_compress','redirect','jobs','kDone','extensionName','_loop','getInfo','mask','_maskBuffer','server_max_window_bits','reason','Invalid\x20value\x20for\x20parameter\x20\x22','13052816MmpMTm','maxPayload','listenerCount','customHeaders','shift','\x22\x20must\x20have\x20only\x20a\x20single\x20value','startLoop','_max_window_bits','username','params','skipUTF8Validation','serverMaxWindowBits','MASK\x20must\x20be\x20clear','writeUInt16BE','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','upgrade','followRedirects','number','sec-websocket-extensions','opcode','serverNoContextTakeover','connect','bind','onerror','Invalid\x20Upgrade\x20header','generateMask','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server_no_context_takeover','type','socketPath','setConfig','_paused','_write','authorized','WS_ERR_UNEXPECTED_RSV_1','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_payloadLength','setTimeout','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','push','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','allowSynchronousEvents','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','prototype','_originalHostOrSocketPath','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','href','createConnection','3203975ufumoL','host','40416tmaKuu','ws:','permessage-deflate','_closeTimer','toLowerCase','Sec-WebSocket-Extensions','handleEvent','errorEmitted','addEventListener','pipe','_masked','_sender','sec-websocket-key','kAborted','kError','code','kByteLength','sec-websocket-version','perMessageDeflate','toString','kCode','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','https:','function','get','parse','_totalPayloadLength','binaryType','pathname','_isServer','WS_ERR_INVALID_OPCODE','client_no_context_takeover','createSocket','default','slice','Server\x20sent\x20no\x20subprotocol','pong','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','authorization','Connection:\x20Upgrade','search','_httpService','3uaxaKk','GET','onclose','isServer','Sec-WebSocket-Extensions:\x20','method','constructor','Upgrade','freeze','_req','allocUnsafe','length','text/html','WS_ERR_INVALID_UTF8','write','_messageLength','_fragments','toStringTag'];_0x52e2=function(){return _0x3c9567;};return _0x52e2();}import{ISocketService as _0x15b46e,HTTPService as _0x1c37c7}from'@univerjs/network';import{Observable as _0x14354a,share as _0x4b8ead}from'rxjs';import _0x58fb53 from'events';import _0xd4e2d from'https';import _0x359bc0 from'http';import _0x1a02d9 from'net';import _0x1e4621 from'tls';import _0x5ef917 from'crypto';import _0x4a4f82 from'stream';import _0x2c14ee from'url';import _0x18fe1e from'zlib';import _0x518b34 from'buffer';import{ISnapshotServerService as _0x3f00fe}from'@univerjs-pro/collaboration';const Be=_0x4f9298(0x31a),Ft={'customHeaders':{}};function Wt(_0x37bdb3){const _0x351545=_0x4f9298;return _0x37bdb3&&_0x37bdb3[_0x351545(0x306)]&&Object[_0x351545(0x26a)]['hasOwnProperty'][_0x351545(0x328)](_0x37bdb3,'default')?_0x37bdb3[_0x351545(0x292)]:_0x37bdb3;}function ut(_0x186d2e){const _0x31b42a=_0x4f9298;if(Object[_0x31b42a(0x26a)]['hasOwnProperty']['call'](_0x186d2e,_0x31b42a(0x306)))return _0x186d2e;var _0x646c96=_0x186d2e['default'];if(typeof _0x646c96=='function'){var _0x5b3d81=function _0x4219c6(){const _0x2f1370=_0x31b42a;var _0x493f2a=!0x1;try{_0x493f2a=this instanceof _0x4219c6;}catch{}return _0x493f2a?Reflect[_0x2f1370(0x1ec)](_0x646c96,arguments,this[_0x2f1370(0x2a1)]):_0x646c96[_0x2f1370(0x2f9)](this,arguments);};_0x5b3d81['prototype']=_0x646c96['prototype'];}else _0x5b3d81={};return Object[_0x31b42a(0x22f)](_0x5b3d81,'__esModule',{'value':!0x0}),Object['keys'](_0x186d2e)[_0x31b42a(0x1a6)](function(_0x2d1103){const _0x52c331=_0x31b42a;var _0x2f9ccd=Object['getOwnPropertyDescriptor'](_0x186d2e,_0x2d1103);Object[_0x52c331(0x22f)](_0x5b3d81,_0x2d1103,_0x2f9ccd[_0x52c331(0x289)]?_0x2f9ccd:{'enumerable':!0x0,'get':function(){return _0x186d2e[_0x2d1103];}});}),_0x5b3d81;}var te={'exports':{}},ge,Ye;function V(){const _0x3f6ec2=_0x4f9298;if(Ye)return ge;Ye=0x1;const _0x2b2b7c=[_0x3f6ec2(0x2c8),_0x3f6ec2(0x309),_0x3f6ec2(0x21e)],_0x5a0015=typeof Blob<'u';return _0x5a0015&&_0x2b2b7c[_0x3f6ec2(0x266)]('blob'),ge={'BINARY_TYPES':_0x2b2b7c,'EMPTY_BUFFER':Buffer[_0x3f6ec2(0x1be)](0x0),'GUID':_0x3f6ec2(0x2fc),'hasBlob':_0x5a0015,'kForOnEventAttribute':Symbol(_0x3f6ec2(0x1ca)),'kListener':Symbol(_0x3f6ec2(0x2fd)),'kStatusCode':Symbol(_0x3f6ec2(0x339)),'kWebSocket':Symbol(_0x3f6ec2(0x32c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':jt},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Vt=ut(Gt);var Ke;function ce(){const _0x48c2d7=_0x4f9298;if(Ke)return te[_0x48c2d7(0x22c)];Ke=0x1;const {EMPTY_BUFFER:_0x7c4d16}=V(),_0x5a9a49=Buffer[Symbol['species']];function _0x59ae6d(_0x37cfee,_0x1936f2){const _0x57f2e6=_0x48c2d7;if(_0x37cfee['length']===0x0)return _0x7c4d16;if(_0x37cfee[_0x57f2e6(0x2a6)]===0x1)return _0x37cfee[0x0];const _0x33baef=Buffer[_0x57f2e6(0x2a5)](_0x1936f2);let _0x40cc1a=0x0;for(let _0x48744d=0x0;_0x48744d<_0x37cfee['length'];_0x48744d++){const _0x3997c5=_0x37cfee[_0x48744d];_0x33baef[_0x57f2e6(0x2ad)](_0x3997c5,_0x40cc1a),_0x40cc1a+=_0x3997c5[_0x57f2e6(0x2a6)];}return _0x40cc1a<_0x1936f2?new _0x5a9a49(_0x33baef[_0x57f2e6(0x1e6)],_0x33baef[_0x57f2e6(0x336)],_0x40cc1a):_0x33baef;}function _0x3b2e(_0x3ab007,_0x18338b,_0x30cfd7,_0x4e3cb3,_0x164777){for(let _0x5c8495=0x0;_0x5c8495<_0x164777;_0x5c8495++)_0x30cfd7[_0x4e3cb3+_0x5c8495]=_0x3ab007[_0x5c8495]^_0x18338b[_0x5c8495&0x3];}function _0x2ba350(_0x51a89e,_0x59de66){const _0x3aa550=_0x48c2d7;for(let _0x83c3ab=0x0;_0x83c3ab<_0x51a89e[_0x3aa550(0x2a6)];_0x83c3ab++)_0x51a89e[_0x83c3ab]^=_0x59de66[_0x83c3ab&0x3];}function _0x1ade9b(_0x5497d2){const _0x53d653=_0x48c2d7;return _0x5497d2['length']===_0x5497d2[_0x53d653(0x1e6)]['byteLength']?_0x5497d2[_0x53d653(0x1e6)]:_0x5497d2[_0x53d653(0x1e6)][_0x53d653(0x293)](_0x5497d2[_0x53d653(0x336)],_0x5497d2[_0x53d653(0x336)]+_0x5497d2[_0x53d653(0x2a6)]);}function _0x430446(_0x1f904b){const _0x32a148=_0x48c2d7;if(_0x430446['readOnly']=!0x0,Buffer[_0x32a148(0x19d)](_0x1f904b))return _0x1f904b;let _0x3dcc89;return _0x1f904b instanceof ArrayBuffer?_0x3dcc89=new _0x5a9a49(_0x1f904b):ArrayBuffer['isView'](_0x1f904b)?_0x3dcc89=new _0x5a9a49(_0x1f904b[_0x32a148(0x1e6)],_0x1f904b[_0x32a148(0x336)],_0x1f904b[_0x32a148(0x1a5)]):(_0x3dcc89=Buffer[_0x32a148(0x1b0)](_0x1f904b),_0x430446[_0x32a148(0x193)]=!0x1),_0x3dcc89;}if(te[_0x48c2d7(0x22c)]={'concat':_0x59ae6d,'mask':_0x3b2e,'toArrayBuffer':_0x1ade9b,'toBuffer':_0x430446,'unmask':_0x2ba350},!process['env'][_0x48c2d7(0x2d7)])try{const _0x3bed0d=Vt;te['exports'][_0x48c2d7(0x23a)]=function(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba){const _0x18968a=_0x48c2d7;_0x56e2ba<0x30?_0x3b2e(_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba):_0x3bed0d[_0x18968a(0x23a)](_0x33eb7e,_0x2658e6,_0x58fdac,_0x41c807,_0x56e2ba);},te['exports'][_0x48c2d7(0x2f5)]=function(_0x30b539,_0x44fb9b){const _0x36e321=_0x48c2d7;_0x30b539[_0x36e321(0x2a6)]<0x20?_0x2ba350(_0x30b539,_0x44fb9b):_0x3bed0d[_0x36e321(0x2f5)](_0x30b539,_0x44fb9b);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x5059f1=_0x4f9298;if(Xe)return ye;Xe=0x1;const _0x1c5723=Symbol(_0x5059f1(0x236)),_0x3733e7=Symbol('kRun');class _0x2e17bf{constructor(_0x1091b2){const _0x1b062d=_0x5059f1;this[_0x1c5723]=()=>{const _0x474be7=_0x3288;this[_0x474be7(0x2cc)]--,this[_0x3733e7]();},this[_0x1b062d(0x214)]=_0x1091b2||0x1/0x0,this[_0x1b062d(0x235)]=[],this[_0x1b062d(0x2cc)]=0x0;}[_0x5059f1(0x2ec)](_0x4e2ae1){const _0x23bc2e=_0x5059f1;this[_0x23bc2e(0x235)][_0x23bc2e(0x266)](_0x4e2ae1),this[_0x3733e7]();}[_0x3733e7](){const _0x33f33d=_0x5059f1;if(this['pending']!==this[_0x33f33d(0x214)]&&this[_0x33f33d(0x235)][_0x33f33d(0x2a6)]){const _0x1cd061=this['jobs']['shift']();this['pending']++,_0x1cd061(this[_0x1c5723]);}}}return ye=_0x2e17bf,ye;}var ve,Ze;function he(){const _0x281ea9=_0x4f9298;if(Ze)return ve;Ze=0x1;const _0x17e53a=_0x18fe1e,_0x3cbbc1=ce(),_0x46b725=qt(),{kStatusCode:_0x3fbc38}=V(),_0x27ce99=Buffer[Symbol[_0x281ea9(0x1ea)]],_0x466d6d=Buffer['from']([0x0,0x0,0xff,0xff]),_0x244611=Symbol(_0x281ea9(0x273)),_0x41cb36=Symbol(_0x281ea9(0x1b4)),_0x9d11a1=Symbol(_0x281ea9(0x2c0)),_0x386e32=Symbol(_0x281ea9(0x1eb)),_0x107642=Symbol(_0x281ea9(0x1d2));let _0x29e573;class _0x4abd04{constructor(_0x1bf6d5,_0x338327,_0x438708){const _0x569050=_0x281ea9;if(this['_maxPayload']=_0x438708|0x0,this[_0x569050(0x2b7)]=_0x1bf6d5||{},this['_threshold']=this['_options'][_0x569050(0x33a)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x33a)]:0x400,this[_0x569050(0x28e)]=!!_0x338327,this[_0x569050(0x1ef)]=null,this[_0x569050(0x19a)]=null,this[_0x569050(0x248)]=null,!_0x29e573){const _0x215938=this[_0x569050(0x2b7)][_0x569050(0x1f4)]!==void 0x0?this[_0x569050(0x2b7)][_0x569050(0x1f4)]:0xa;_0x29e573=new _0x46b725(_0x215938);}}static get[_0x281ea9(0x237)](){return'permessage-deflate';}[_0x281ea9(0x1a1)](){const _0x260519=_0x281ea9,_0x20016c={};return this['_options']['serverNoContextTakeover']&&(_0x20016c[_0x260519(0x25a)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x2d6)]&&(_0x20016c[_0x260519(0x290)]=!0x0),this[_0x260519(0x2b7)][_0x260519(0x24a)]&&(_0x20016c[_0x260519(0x23c)]=this['_options'][_0x260519(0x24a)]),this[_0x260519(0x2b7)]['clientMaxWindowBits']?_0x20016c[_0x260519(0x32f)]=this['_options'][_0x260519(0x231)]:this[_0x260519(0x2b7)][_0x260519(0x231)]==null&&(_0x20016c[_0x260519(0x32f)]=!0x0),_0x20016c;}[_0x281ea9(0x300)](_0x18c395){const _0x52df1c=_0x281ea9;return _0x18c395=this[_0x52df1c(0x2ed)](_0x18c395),this[_0x52df1c(0x248)]=this['_isServer']?this['acceptAsServer'](_0x18c395):this[_0x52df1c(0x2e5)](_0x18c395),this[_0x52df1c(0x248)];}['cleanup'](){const _0x3fefc6=_0x281ea9;if(this[_0x3fefc6(0x19a)]&&(this[_0x3fefc6(0x19a)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x19a)]=null),this[_0x3fefc6(0x1ef)]){const _0x2b894e=this[_0x3fefc6(0x1ef)][_0x9d11a1];this[_0x3fefc6(0x1ef)][_0x3fefc6(0x32e)](),this[_0x3fefc6(0x1ef)]=null,_0x2b894e&&_0x2b894e(new Error(_0x3fefc6(0x262)));}}['acceptAsServer'](_0x577f4e){const _0x35530a=_0x281ea9,_0x50cf98=this[_0x35530a(0x2b7)],_0x19d879=_0x577f4e[_0x35530a(0x1e8)](_0x378ef3=>!(_0x50cf98[_0x35530a(0x253)]===!0x1&&_0x378ef3['server_no_context_takeover']||_0x378ef3[_0x35530a(0x23c)]&&(_0x50cf98[_0x35530a(0x24a)]===!0x1||typeof _0x50cf98['serverMaxWindowBits']=='number'&&_0x50cf98[_0x35530a(0x24a)]>_0x378ef3[_0x35530a(0x23c)])||typeof _0x50cf98[_0x35530a(0x231)]==_0x35530a(0x250)&&!_0x378ef3[_0x35530a(0x32f)]));if(!_0x19d879)throw new Error(_0x35530a(0x325));return _0x50cf98[_0x35530a(0x253)]&&(_0x19d879[_0x35530a(0x25a)]=!0x0),_0x50cf98[_0x35530a(0x2d6)]&&(_0x19d879['client_no_context_takeover']=!0x0),typeof _0x50cf98['serverMaxWindowBits']==_0x35530a(0x250)&&(_0x19d879[_0x35530a(0x23c)]=_0x50cf98[_0x35530a(0x24a)]),typeof _0x50cf98['clientMaxWindowBits']==_0x35530a(0x250)?_0x19d879[_0x35530a(0x32f)]=_0x50cf98[_0x35530a(0x231)]:(_0x19d879[_0x35530a(0x32f)]===!0x0||_0x50cf98[_0x35530a(0x231)]===!0x1)&&delete _0x19d879[_0x35530a(0x32f)],_0x19d879;}[_0x281ea9(0x2e5)](_0x3273f2){const _0xd6a1b3=_0x281ea9,_0x2f702a=_0x3273f2[0x0];if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x2d6)]===!0x1&&_0x2f702a['client_no_context_takeover'])throw new Error(_0xd6a1b3(0x229));if(!_0x2f702a[_0xd6a1b3(0x32f)])typeof this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']==_0xd6a1b3(0x250)&&(_0x2f702a[_0xd6a1b3(0x32f)]=this[_0xd6a1b3(0x2b7)]['clientMaxWindowBits']);else{if(this[_0xd6a1b3(0x2b7)][_0xd6a1b3(0x231)]===!0x1||typeof this['_options'][_0xd6a1b3(0x231)]=='number'&&_0x2f702a[_0xd6a1b3(0x32f)]>this['_options'][_0xd6a1b3(0x231)])throw new Error(_0xd6a1b3(0x321));}return _0x2f702a;}['normalizeParams'](_0x1919c3){const _0x3f8f39=_0x281ea9;return _0x1919c3[_0x3f8f39(0x1a6)](_0x48a74f=>{const _0x56664a=_0x3f8f39;Object[_0x56664a(0x2fa)](_0x48a74f)[_0x56664a(0x1a6)](_0x26986e=>{const _0x694b16=_0x56664a;let _0x5f44e2=_0x48a74f[_0x26986e];if(_0x5f44e2[_0x694b16(0x2a6)]>0x1)throw new Error(_0x694b16(0x308)+_0x26986e+_0x694b16(0x244));if(_0x5f44e2=_0x5f44e2[0x0],_0x26986e===_0x694b16(0x32f)){if(_0x5f44e2!==!0x0){const _0x179262=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0x179262)||_0x179262<0x8||_0x179262>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0x179262;}else{if(!this[_0x694b16(0x28e)])throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);}}else{if(_0x26986e===_0x694b16(0x23c)){const _0xa553c8=+_0x5f44e2;if(!Number[_0x694b16(0x20e)](_0xa553c8)||_0xa553c8<0x8||_0xa553c8>0xf)throw new TypeError(_0x694b16(0x23e)+_0x26986e+_0x694b16(0x32a)+_0x5f44e2);_0x5f44e2=_0xa553c8;}else{if(_0x26986e===_0x694b16(0x290)||_0x26986e==='server_no_context_takeover'){if(_0x5f44e2!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x26986e+'\x22:\x20'+_0x5f44e2);}else throw new Error(_0x694b16(0x1ae)+_0x26986e+'\x22');}}_0x48a74f[_0x26986e]=_0x5f44e2;});}),_0x1919c3;}['decompress'](_0x32528c,_0x474676,_0x4e9354){const _0x23707c=_0x281ea9;_0x29e573[_0x23707c(0x2ec)](_0x17e7fb=>{const _0x12857d=_0x23707c;this[_0x12857d(0x2f2)](_0x32528c,_0x474676,(_0xdea703,_0x216658)=>{_0x17e7fb(),_0x4e9354(_0xdea703,_0x216658);});});}[_0x281ea9(0x2c7)](_0x4a69c4,_0x4cd4be,_0x18840a){const _0x18d183=_0x281ea9;_0x29e573[_0x18d183(0x2ec)](_0x25aea5=>{const _0x235a0c=_0x18d183;this[_0x235a0c(0x233)](_0x4a69c4,_0x4cd4be,(_0x445ca4,_0x419291)=>{_0x25aea5(),_0x18840a(_0x445ca4,_0x419291);});});}[_0x281ea9(0x2f2)](_0x203198,_0x496e34,_0x5d4144){const _0x4680c2=_0x281ea9,_0x4cef7c=this['_isServer']?'client':_0x4680c2(0x1cb);if(!this[_0x4680c2(0x19a)]){const _0x46a1ca=_0x4cef7c+_0x4680c2(0x246),_0x14cfd0=typeof this['params'][_0x46a1ca]!=_0x4680c2(0x250)?_0x17e53a[_0x4680c2(0x1f9)]:this[_0x4680c2(0x248)][_0x46a1ca];this[_0x4680c2(0x19a)]=_0x17e53a['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x14cfd0}),this[_0x4680c2(0x19a)][_0x244611]=this,this['_inflate'][_0x41cb36]=0x0,this[_0x4680c2(0x19a)][_0x386e32]=[],this[_0x4680c2(0x19a)]['on'](_0x4680c2(0x1d2),_0x53f6ef),this['_inflate']['on'](_0x4680c2(0x2cd),_0x2597be);}this[_0x4680c2(0x19a)][_0x9d11a1]=_0x5d4144,this[_0x4680c2(0x19a)][_0x4680c2(0x2a9)](_0x203198),_0x496e34&&this['_inflate'][_0x4680c2(0x2a9)](_0x466d6d),this[_0x4680c2(0x19a)][_0x4680c2(0x1af)](()=>{const _0x59ea5d=_0x4680c2,_0x3327e7=this[_0x59ea5d(0x19a)][_0x107642];if(_0x3327e7){this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null,_0x5d4144(_0x3327e7);return;}const _0x53516b=_0x3cbbc1['concat'](this[_0x59ea5d(0x19a)][_0x386e32],this['_inflate'][_0x41cb36]);this[_0x59ea5d(0x19a)][_0x59ea5d(0x2d0)][_0x59ea5d(0x210)]?(this[_0x59ea5d(0x19a)][_0x59ea5d(0x32e)](),this[_0x59ea5d(0x19a)]=null):(this['_inflate'][_0x41cb36]=0x0,this[_0x59ea5d(0x19a)][_0x386e32]=[],_0x496e34&&this[_0x59ea5d(0x248)][_0x4cef7c+'_no_context_takeover']&&this[_0x59ea5d(0x19a)][_0x59ea5d(0x226)]()),_0x5d4144(null,_0x53516b);});}['_compress'](_0x5c05c6,_0x304f82,_0x565e31){const _0x1ca078=_0x281ea9,_0xe5fb95=this[_0x1ca078(0x28e)]?_0x1ca078(0x1cb):_0x1ca078(0x31e);if(!this[_0x1ca078(0x1ef)]){const _0x24c81e=_0xe5fb95+_0x1ca078(0x246),_0x392f33=typeof this[_0x1ca078(0x248)][_0x24c81e]!=_0x1ca078(0x250)?_0x17e53a[_0x1ca078(0x1f9)]:this[_0x1ca078(0x248)][_0x24c81e];this[_0x1ca078(0x1ef)]=_0x17e53a['createDeflateRaw']({...this['_options'][_0x1ca078(0x1d9)],'windowBits':_0x392f33}),this[_0x1ca078(0x1ef)][_0x41cb36]=0x0,this[_0x1ca078(0x1ef)][_0x386e32]=[],this[_0x1ca078(0x1ef)]['on'](_0x1ca078(0x2cd),_0x47445e);}this[_0x1ca078(0x1ef)][_0x9d11a1]=_0x565e31,this['_deflate'][_0x1ca078(0x2a9)](_0x5c05c6),this['_deflate'][_0x1ca078(0x1af)](_0x17e53a['Z_SYNC_FLUSH'],()=>{const _0x22a732=_0x1ca078;if(!this['_deflate'])return;let _0x4e32d2=_0x3cbbc1[_0x22a732(0x202)](this['_deflate'][_0x386e32],this[_0x22a732(0x1ef)][_0x41cb36]);_0x304f82&&(_0x4e32d2=new _0x27ce99(_0x4e32d2[_0x22a732(0x1e6)],_0x4e32d2[_0x22a732(0x336)],_0x4e32d2[_0x22a732(0x2a6)]-0x4)),this[_0x22a732(0x1ef)][_0x9d11a1]=null,this[_0x22a732(0x1ef)][_0x41cb36]=0x0,this[_0x22a732(0x1ef)][_0x386e32]=[],_0x304f82&&this[_0x22a732(0x248)][_0xe5fb95+_0x22a732(0x326)]&&this[_0x22a732(0x1ef)]['reset'](),_0x565e31(null,_0x4e32d2);});}}ve=_0x4abd04;function _0x47445e(_0x210fde){const _0x51dcf7=_0x281ea9;this[_0x386e32][_0x51dcf7(0x266)](_0x210fde),this[_0x41cb36]+=_0x210fde[_0x51dcf7(0x2a6)];}function _0x2597be(_0x1edec5){const _0x5e0dd6=_0x281ea9;if(this[_0x41cb36]+=_0x1edec5[_0x5e0dd6(0x2a6)],this[_0x244611]['_maxPayload']<0x1||this[_0x41cb36]<=this[_0x244611][_0x5e0dd6(0x2e7)]){this[_0x386e32]['push'](_0x1edec5);return;}this[_0x107642]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x107642]['code']=_0x5e0dd6(0x259),this[_0x107642][_0x3fbc38]=0x3f1,this[_0x5e0dd6(0x327)](_0x5e0dd6(0x2cd),_0x2597be),this[_0x5e0dd6(0x226)]();}function _0x53f6ef(_0x95c80b){const _0x1581eb=_0x281ea9;if(this[_0x244611][_0x1581eb(0x19a)]=null,this[_0x107642]){this[_0x9d11a1](this[_0x107642]);return;}_0x95c80b[_0x3fbc38]=0x3ef,this[_0x9d11a1](_0x95c80b);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4f9298(0x2a3)](Object[_0x4f9298(0x22f)]({'__proto__':null,'default':Ht},Symbol[_0x4f9298(0x2ac)],{'value':_0x4f9298(0x1c1)})),Yt=ut(zt);var Qe;function ne(){const _0x421666=_0x4f9298;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0xc2b5b}=_0x518b34,{hasBlob:_0x4b1df8}=V(),_0xebc762=[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 _0x1922ed(_0xc77f37){return _0xc77f37>=0x3e8&&_0xc77f37<=0x3f6&&_0xc77f37!==0x3ec&&_0xc77f37!==0x3ed&&_0xc77f37!==0x3ee||_0xc77f37>=0xbb8&&_0xc77f37<=0x1387;}function _0x123c6c(_0x244216){const _0x3243e5=_0x3288,_0x5208d1=_0x244216[_0x3243e5(0x2a6)];let _0x1d0447=0x0;for(;_0x1d0447<_0x5208d1;)if((_0x244216[_0x1d0447]&0x80)===0x0)_0x1d0447++;else{if((_0x244216[_0x1d0447]&0xe0)===0xc0){if(_0x1d0447+0x1===_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447]&0xfe)===0xc0)return!0x1;_0x1d0447+=0x2;}else{if((_0x244216[_0x1d0447]&0xf0)===0xe0){if(_0x1d0447+0x2>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xe0&&(_0x244216[_0x1d0447+0x1]&0xe0)===0x80||_0x244216[_0x1d0447]===0xed&&(_0x244216[_0x1d0447+0x1]&0xe0)===0xa0)return!0x1;_0x1d0447+=0x3;}else{if((_0x244216[_0x1d0447]&0xf8)===0xf0){if(_0x1d0447+0x3>=_0x5208d1||(_0x244216[_0x1d0447+0x1]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x2]&0xc0)!==0x80||(_0x244216[_0x1d0447+0x3]&0xc0)!==0x80||_0x244216[_0x1d0447]===0xf0&&(_0x244216[_0x1d0447+0x1]&0xf0)===0x80||_0x244216[_0x1d0447]===0xf4&&_0x244216[_0x1d0447+0x1]>0x8f||_0x244216[_0x1d0447]>0xf4)return!0x1;_0x1d0447+=0x4;}else return!0x1;}}}return!0x0;}function _0x4781f9(_0x38f613){const _0x20f2f5=_0x3288;return _0x4b1df8&&typeof _0x38f613==_0x20f2f5(0x30d)&&typeof _0x38f613[_0x20f2f5(0x1e2)]==_0x20f2f5(0x288)&&typeof _0x38f613[_0x20f2f5(0x25b)]==_0x20f2f5(0x31b)&&typeof _0x38f613[_0x20f2f5(0x1a4)]=='function'&&(_0x38f613[Symbol['toStringTag']]===_0x20f2f5(0x1f1)||_0x38f613[Symbol[_0x20f2f5(0x2ac)]]==='File');}if(re[_0x421666(0x22c)]={'isBlob':_0x4781f9,'isValidStatusCode':_0x1922ed,'isValidUTF8':_0x123c6c,'tokenChars':_0xebc762},_0xc2b5b)re[_0x421666(0x22c)][_0x421666(0x1ed)]=function(_0x44d4cc){return _0x44d4cc['length']<0x18?_0x123c6c(_0x44d4cc):_0xc2b5b(_0x44d4cc);};else{if(!process[_0x421666(0x1ad)][_0x421666(0x32d)])try{const _0x37fbf4=Yt;re['exports'][_0x421666(0x1ed)]=function(_0x52afeb){const _0x2f68fc=_0x421666;return _0x52afeb[_0x2f68fc(0x2a6)]<0x20?_0x123c6c(_0x52afeb):_0x37fbf4(_0x52afeb);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x3ce12e=_0x4f9298;if(Je)return Se;Je=0x1;const {Writable:_0x5d97bf}=_0x4a4f82,_0x1348ad=he(),{BINARY_TYPES:_0xb7627f,EMPTY_BUFFER:_0x3ae7df,kStatusCode:_0x409c77,kWebSocket:_0x4db281}=V(),{concat:_0x34fd97,toArrayBuffer:_0x3c0e20,unmask:_0xed6d9}=ce(),{isValidStatusCode:_0x2de8b0,isValidUTF8:_0x1431c2}=ne(),_0x4cb0c6=Buffer[Symbol['species']],_0x1dca92=0x0,_0x3caec9=0x1,_0x554efa=0x2,_0x3fc7af=0x3,_0x470445=0x4,_0x261070=0x5,_0x5795a6=0x6;class _0x54eb73 extends _0x5d97bf{constructor(_0x422305={}){const _0x4eb22a=_0x3288;super(),this['_allowSynchronousEvents']=_0x422305[_0x4eb22a(0x268)]!==void 0x0?_0x422305[_0x4eb22a(0x268)]:!0x0,this['_binaryType']=_0x422305[_0x4eb22a(0x28c)]||_0xb7627f[0x0],this[_0x4eb22a(0x215)]=_0x422305[_0x4eb22a(0x33e)]||{},this['_isServer']=!!_0x422305[_0x4eb22a(0x29e)],this[_0x4eb22a(0x2e7)]=_0x422305[_0x4eb22a(0x240)]|0x0,this[_0x4eb22a(0x1b2)]=!!_0x422305[_0x4eb22a(0x249)],this[_0x4db281]=void 0x0,this[_0x4eb22a(0x1e7)]=0x0,this['_buffers']=[],this[_0x4eb22a(0x2cf)]=!0x1,this[_0x4eb22a(0x263)]=0x0,this[_0x4eb22a(0x2b8)]=void 0x0,this[_0x4eb22a(0x2dd)]=0x0,this[_0x4eb22a(0x27b)]=!0x1,this[_0x4eb22a(0x1d4)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x4eb22a(0x2aa)]=0x0,this['_fragments']=[],this[_0x4eb22a(0x196)]=!0x1,this[_0x4eb22a(0x238)]=!0x1,this[_0x4eb22a(0x2e1)]=_0x1dca92;}[_0x3ce12e(0x25f)](_0x29c269,_0x4b7eaf,_0x2fa0ab){const _0x134beb=_0x3ce12e;if(this[_0x134beb(0x2e8)]===0x8&&this[_0x134beb(0x2e1)]==_0x1dca92)return _0x2fa0ab();this['_bufferedBytes']+=_0x29c269[_0x134beb(0x2a6)],this[_0x134beb(0x2d4)][_0x134beb(0x266)](_0x29c269),this[_0x134beb(0x245)](_0x2fa0ab);}['consume'](_0x6d1042){const _0x4f52be=_0x3ce12e;if(this[_0x4f52be(0x1e7)]-=_0x6d1042,_0x6d1042===this['_buffers'][0x0][_0x4f52be(0x2a6)])return this[_0x4f52be(0x2d4)][_0x4f52be(0x243)]();if(_0x6d1042<this[_0x4f52be(0x2d4)][0x0]['length']){const _0x1d9a07=this[_0x4f52be(0x2d4)][0x0];return this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)]+_0x6d1042,_0x1d9a07['length']-_0x6d1042),new _0x4cb0c6(_0x1d9a07[_0x4f52be(0x1e6)],_0x1d9a07[_0x4f52be(0x336)],_0x6d1042);}const _0x17c879=Buffer[_0x4f52be(0x2a5)](_0x6d1042);do{const _0x13e5e6=this[_0x4f52be(0x2d4)][0x0],_0x3458c7=_0x17c879[_0x4f52be(0x2a6)]-_0x6d1042;_0x6d1042>=_0x13e5e6[_0x4f52be(0x2a6)]?_0x17c879[_0x4f52be(0x2ad)](this[_0x4f52be(0x2d4)][_0x4f52be(0x243)](),_0x3458c7):(_0x17c879['set'](new Uint8Array(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6[_0x4f52be(0x336)],_0x6d1042),_0x3458c7),this[_0x4f52be(0x2d4)][0x0]=new _0x4cb0c6(_0x13e5e6[_0x4f52be(0x1e6)],_0x13e5e6['byteOffset']+_0x6d1042,_0x13e5e6[_0x4f52be(0x2a6)]-_0x6d1042)),_0x6d1042-=_0x13e5e6[_0x4f52be(0x2a6)];}while(_0x6d1042>0x0);return _0x17c879;}[_0x3ce12e(0x245)](_0x41fb73){const _0x7176e2=_0x3ce12e;this['_loop']=!0x0;do switch(this[_0x7176e2(0x2e1)]){case _0x1dca92:this[_0x7176e2(0x239)](_0x41fb73);break;case _0x3caec9:this['getPayloadLength16'](_0x41fb73);break;case _0x554efa:this[_0x7176e2(0x335)](_0x41fb73);break;case _0x3fc7af:this['getMask']();break;case _0x470445:this[_0x7176e2(0x1dc)](_0x41fb73);break;case _0x261070:case _0x5795a6:this[_0x7176e2(0x238)]=!0x1;return;}while(this['_loop']);this[_0x7176e2(0x196)]||_0x41fb73();}['getInfo'](_0x47611){const _0x37e294=_0x3ce12e;if(this[_0x37e294(0x1e7)]<0x2){this[_0x37e294(0x238)]=!0x1;return;}const _0x356c62=this[_0x37e294(0x312)](0x2);if((_0x356c62[0x0]&0x30)!==0x0){const _0x6fd650=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x267),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x47611(_0x6fd650);return;}const _0x130c43=(_0x356c62[0x0]&0x40)===0x40;if(_0x130c43&&!this[_0x37e294(0x215)][_0x1348ad[_0x37e294(0x237)]]){const _0xc75316=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0xc75316);return;}if(this['_fin']=(_0x356c62[0x0]&0x80)===0x80,this['_opcode']=_0x356c62[0x0]&0xf,this[_0x37e294(0x263)]=_0x356c62[0x1]&0x7f,this['_opcode']===0x0){if(_0x130c43){const _0x3e3f9a=this[_0x37e294(0x2fe)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x3e3f9a);return;}if(!this[_0x37e294(0x2dd)]){const _0xea7c45=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c9),!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0xea7c45);return;}this[_0x37e294(0x2e8)]=this[_0x37e294(0x2dd)];}else{if(this[_0x37e294(0x2e8)]===0x1||this['_opcode']===0x2){if(this[_0x37e294(0x2dd)]){const _0x34d583=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x47611(_0x34d583);return;}this['_compressed']=_0x130c43;}else{if(this[_0x37e294(0x2e8)]>0x7&&this[_0x37e294(0x2e8)]<0xb){if(!this[_0x37e294(0x1d4)]){const _0xaa49c3=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x1f6),!0x0,0x3ea,_0x37e294(0x30c));_0x47611(_0xaa49c3);return;}if(_0x130c43){const _0x58a139=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x2c6),!0x0,0x3ea,_0x37e294(0x261));_0x47611(_0x58a139);return;}if(this[_0x37e294(0x263)]>0x7d||this[_0x37e294(0x2e8)]===0x8&&this[_0x37e294(0x263)]===0x1){const _0x47ff2f=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x221)+this['_payloadLength'],!0x0,0x3ea,_0x37e294(0x296));_0x47611(_0x47ff2f);return;}}else{const _0x4b4b59=this['createError'](RangeError,_0x37e294(0x207)+this[_0x37e294(0x2e8)],!0x0,0x3ea,_0x37e294(0x28f));_0x47611(_0x4b4b59);return;}}}if(!this[_0x37e294(0x1d4)]&&!this['_fragmented']&&(this[_0x37e294(0x2dd)]=this['_opcode']),this[_0x37e294(0x27b)]=(_0x356c62[0x1]&0x80)===0x80,this[_0x37e294(0x28e)]){if(!this[_0x37e294(0x27b)]){const _0x50e082=this[_0x37e294(0x2fe)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x37e294(0x2d1));_0x47611(_0x50e082);return;}}else{if(this[_0x37e294(0x27b)]){const _0x35c02e=this[_0x37e294(0x2fe)](RangeError,_0x37e294(0x24b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x47611(_0x35c02e);return;}}this['_payloadLength']===0x7e?this[_0x37e294(0x2e1)]=_0x3caec9:this[_0x37e294(0x263)]===0x7f?this['_state']=_0x554efa:this[_0x37e294(0x19c)](_0x47611);}[_0x3ce12e(0x307)](_0x3a41c9){const _0x5033bb=_0x3ce12e;if(this[_0x5033bb(0x1e7)]<0x2){this[_0x5033bb(0x238)]=!0x1;return;}this[_0x5033bb(0x263)]=this[_0x5033bb(0x312)](0x2)[_0x5033bb(0x2fb)](0x0),this[_0x5033bb(0x19c)](_0x3a41c9);}[_0x3ce12e(0x335)](_0x866d41){const _0x36de19=_0x3ce12e;if(this[_0x36de19(0x1e7)]<0x8){this['_loop']=!0x1;return;}const _0x535ebf=this['consume'](0x8),_0x37ec55=_0x535ebf['readUInt32BE'](0x0);if(_0x37ec55>Math['pow'](0x2,0x15)-0x1){const _0xf7037c=this[_0x36de19(0x2fe)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x36de19(0x2d2));_0x866d41(_0xf7037c);return;}this[_0x36de19(0x263)]=_0x37ec55*Math[_0x36de19(0x230)](0x2,0x20)+_0x535ebf[_0x36de19(0x1cc)](0x4),this[_0x36de19(0x19c)](_0x866d41);}[_0x3ce12e(0x19c)](_0x322906){const _0x58a7b6=_0x3ce12e;if(this[_0x58a7b6(0x263)]&&this[_0x58a7b6(0x2e8)]<0x8&&(this['_totalPayloadLength']+=this[_0x58a7b6(0x263)],this[_0x58a7b6(0x28b)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x39e5ab=this[_0x58a7b6(0x2fe)](RangeError,_0x58a7b6(0x2f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x322906(_0x39e5ab);return;}this['_masked']?this[_0x58a7b6(0x2e1)]=_0x3fc7af:this[_0x58a7b6(0x2e1)]=_0x470445;}[_0x3ce12e(0x20b)](){const _0x36c9d3=_0x3ce12e;if(this[_0x36c9d3(0x1e7)]<0x4){this[_0x36c9d3(0x238)]=!0x1;return;}this['_mask']=this[_0x36c9d3(0x312)](0x4),this['_state']=_0x470445;}[_0x3ce12e(0x1dc)](_0x290fed){const _0x361eb2=_0x3ce12e;let _0x13952e=_0x3ae7df;if(this[_0x361eb2(0x263)]){if(this[_0x361eb2(0x1e7)]<this[_0x361eb2(0x263)]){this['_loop']=!0x1;return;}_0x13952e=this[_0x361eb2(0x312)](this[_0x361eb2(0x263)]),this[_0x361eb2(0x27b)]&&(this[_0x361eb2(0x2b8)][0x0]|this[_0x361eb2(0x2b8)][0x1]|this[_0x361eb2(0x2b8)][0x2]|this[_0x361eb2(0x2b8)][0x3])!==0x0&&_0xed6d9(_0x13952e,this[_0x361eb2(0x2b8)]);}if(this[_0x361eb2(0x2e8)]>0x7){this['controlMessage'](_0x13952e,_0x290fed);return;}if(this[_0x361eb2(0x2cf)]){this[_0x361eb2(0x2e1)]=_0x261070,this[_0x361eb2(0x1b3)](_0x13952e,_0x290fed);return;}_0x13952e['length']&&(this[_0x361eb2(0x2aa)]=this[_0x361eb2(0x28b)],this[_0x361eb2(0x2ab)][_0x361eb2(0x266)](_0x13952e)),this[_0x361eb2(0x1ce)](_0x290fed);}['decompress'](_0x3a9c86,_0x3140f9){const _0x47b3e3=_0x3ce12e;this[_0x47b3e3(0x215)][_0x1348ad[_0x47b3e3(0x237)]][_0x47b3e3(0x1b3)](_0x3a9c86,this[_0x47b3e3(0x1d4)],(_0x221091,_0x3e6917)=>{const _0x4fb4af=_0x47b3e3;if(_0x221091)return _0x3140f9(_0x221091);if(_0x3e6917[_0x4fb4af(0x2a6)]){if(this[_0x4fb4af(0x2aa)]+=_0x3e6917[_0x4fb4af(0x2a6)],this['_messageLength']>this[_0x4fb4af(0x2e7)]&&this[_0x4fb4af(0x2e7)]>0x0){const _0x36da38=this[_0x4fb4af(0x2fe)](RangeError,_0x4fb4af(0x2f1),!0x1,0x3f1,_0x4fb4af(0x259));_0x3140f9(_0x36da38);return;}this[_0x4fb4af(0x2ab)][_0x4fb4af(0x266)](_0x3e6917);}this[_0x4fb4af(0x1ce)](_0x3140f9),this[_0x4fb4af(0x2e1)]===_0x1dca92&&this[_0x4fb4af(0x245)](_0x3140f9);});}[_0x3ce12e(0x1ce)](_0x4a6f59){const _0x5e2bbc=_0x3ce12e;if(!this[_0x5e2bbc(0x1d4)]){this[_0x5e2bbc(0x2e1)]=_0x1dca92;return;}const _0x2f5909=this['_messageLength'],_0x5c0ad9=this[_0x5e2bbc(0x2ab)];if(this[_0x5e2bbc(0x28b)]=0x0,this[_0x5e2bbc(0x2aa)]=0x0,this[_0x5e2bbc(0x2dd)]=0x0,this[_0x5e2bbc(0x2ab)]=[],this[_0x5e2bbc(0x2e8)]===0x2){let _0x393d58;this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x2c8)?_0x393d58=_0x34fd97(_0x5c0ad9,_0x2f5909):this[_0x5e2bbc(0x1c4)]===_0x5e2bbc(0x309)?_0x393d58=_0x3c0e20(_0x34fd97(_0x5c0ad9,_0x2f5909)):this['_binaryType']===_0x5e2bbc(0x31d)?_0x393d58=new Blob(_0x5c0ad9):_0x393d58=_0x5c0ad9,this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x393d58,!0x0),this['_state']=_0x1dca92):(this[_0x5e2bbc(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x342abf=_0x5e2bbc;this[_0x342abf(0x200)](_0x342abf(0x1f8),_0x393d58,!0x0),this[_0x342abf(0x2e1)]=_0x1dca92,this[_0x342abf(0x245)](_0x4a6f59);}));}else{const _0x4154df=_0x34fd97(_0x5c0ad9,_0x2f5909);if(!this['_skipUTF8Validation']&&!_0x1431c2(_0x4154df)){const _0x400861=this[_0x5e2bbc(0x2fe)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x5e2bbc(0x2a8));_0x4a6f59(_0x400861);return;}this[_0x5e2bbc(0x2e1)]===_0x261070||this[_0x5e2bbc(0x1a2)]?(this[_0x5e2bbc(0x200)](_0x5e2bbc(0x1f8),_0x4154df,!0x1),this[_0x5e2bbc(0x2e1)]=_0x1dca92):(this['_state']=_0x5795a6,setImmediate(()=>{const _0x3a4779=_0x5e2bbc;this[_0x3a4779(0x200)](_0x3a4779(0x1f8),_0x4154df,!0x1),this[_0x3a4779(0x2e1)]=_0x1dca92,this['startLoop'](_0x4a6f59);}));}}[_0x3ce12e(0x2c1)](_0x209e3c,_0x59cd7){const _0x4c811d=_0x3ce12e;if(this[_0x4c811d(0x2e8)]===0x8){if(_0x209e3c[_0x4c811d(0x2a6)]===0x0)this[_0x4c811d(0x238)]=!0x1,this['emit']('conclude',0x3ed,_0x3ae7df),this['end']();else{const _0xa53632=_0x209e3c[_0x4c811d(0x2fb)](0x0);if(!_0x2de8b0(_0xa53632)){const _0x1aef27=this[_0x4c811d(0x2fe)](RangeError,'invalid\x20status\x20code\x20'+_0xa53632,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x59cd7(_0x1aef27);return;}const _0x40b949=new _0x4cb0c6(_0x209e3c[_0x4c811d(0x1e6)],_0x209e3c[_0x4c811d(0x336)]+0x2,_0x209e3c[_0x4c811d(0x2a6)]-0x2);if(!this[_0x4c811d(0x1b2)]&&!_0x1431c2(_0x40b949)){const _0x2f774f=this[_0x4c811d(0x2fe)](Error,_0x4c811d(0x20d),!0x0,0x3ef,_0x4c811d(0x2a8));_0x59cd7(_0x2f774f);return;}this['_loop']=!0x1,this['emit']('conclude',_0xa53632,_0x40b949),this['end']();}this[_0x4c811d(0x2e1)]=_0x1dca92;return;}this[_0x4c811d(0x1a2)]?(this[_0x4c811d(0x200)](this[_0x4c811d(0x2e8)]===0x9?'ping':_0x4c811d(0x295),_0x209e3c),this[_0x4c811d(0x2e1)]=_0x1dca92):(this[_0x4c811d(0x2e1)]=_0x5795a6,setImmediate(()=>{const _0x398236=_0x4c811d;this[_0x398236(0x200)](this['_opcode']===0x9?_0x398236(0x2c4):_0x398236(0x295),_0x209e3c),this['_state']=_0x1dca92,this[_0x398236(0x245)](_0x59cd7);}));}[_0x3ce12e(0x2fe)](_0x2938e1,_0x25c20a,_0x3bb16b,_0x8bf8ea,_0x332fd1){const _0x4876c8=_0x3ce12e;this[_0x4876c8(0x238)]=!0x1,this[_0x4876c8(0x196)]=!0x0;const _0x18ab47=new _0x2938e1(_0x3bb16b?_0x4876c8(0x1b9)+_0x25c20a:_0x25c20a);return Error[_0x4876c8(0x2ee)](_0x18ab47,this[_0x4876c8(0x2fe)]),_0x18ab47['code']=_0x332fd1,_0x18ab47[_0x409c77]=_0x8bf8ea,_0x18ab47;}}return Se=_0x54eb73,Se;}var Ee,et;function _t(){const _0x45ff3e=_0x4f9298;if(et)return Ee;et=0x1;const {Duplex:_0xf64743}=_0x4a4f82,{randomFillSync:_0x6531e4}=_0x5ef917,_0x519c28=he(),{EMPTY_BUFFER:_0x5bab29,kWebSocket:_0x3441bb,NOOP:_0x11188b}=V(),{isBlob:_0x562f3b,isValidStatusCode:_0x55a642}=ne(),{mask:_0x467a16,toBuffer:_0x37c0da}=ce(),_0x50e220=Symbol(_0x45ff3e(0x281)),_0x1db0a4=Buffer[_0x45ff3e(0x1be)](0x4),_0xac6bc1=0x8*0x400;let _0x12134e,_0x2f7b6e=_0xac6bc1;const _0x504ef7=0x0,_0x4da3f8=0x1,_0x3dfd72=0x2;class _0x1c9fd9{constructor(_0x46c418,_0x3a48c1,_0x54b428){const _0x30a7fe=_0x45ff3e;this[_0x30a7fe(0x215)]=_0x3a48c1||{},_0x54b428&&(this[_0x30a7fe(0x31c)]=_0x54b428,this['_maskBuffer']=Buffer[_0x30a7fe(0x1be)](0x4)),this[_0x30a7fe(0x2b4)]=_0x46c418,this[_0x30a7fe(0x227)]=!0x0,this['_compress']=!0x1,this[_0x30a7fe(0x1e7)]=0x0,this['_queue']=[],this[_0x30a7fe(0x2e1)]=_0x504ef7,this[_0x30a7fe(0x256)]=_0x11188b,this[_0x3441bb]=void 0x0;}static[_0x45ff3e(0x1b6)](_0x417671,_0x426811){const _0x16b493=_0x45ff3e;let _0x447054,_0x57b665=!0x1,_0x3578db=0x2,_0xe4bd7b=!0x1;_0x426811[_0x16b493(0x23a)]&&(_0x447054=_0x426811[_0x16b493(0x33c)]||_0x1db0a4,_0x426811[_0x16b493(0x258)]?_0x426811[_0x16b493(0x258)](_0x447054):(_0x2f7b6e===_0xac6bc1&&(_0x12134e===void 0x0&&(_0x12134e=Buffer[_0x16b493(0x1be)](_0xac6bc1)),_0x6531e4(_0x12134e,0x0,_0xac6bc1),_0x2f7b6e=0x0),_0x447054[0x0]=_0x12134e[_0x2f7b6e++],_0x447054[0x1]=_0x12134e[_0x2f7b6e++],_0x447054[0x2]=_0x12134e[_0x2f7b6e++],_0x447054[0x3]=_0x12134e[_0x2f7b6e++]),_0xe4bd7b=(_0x447054[0x0]|_0x447054[0x1]|_0x447054[0x2]|_0x447054[0x3])===0x0,_0x3578db=0x6);let _0x116830;typeof _0x417671==_0x16b493(0x31b)?(!_0x426811[_0x16b493(0x23a)]||_0xe4bd7b)&&_0x426811[_0x50e220]!==void 0x0?_0x116830=_0x426811[_0x50e220]:(_0x417671=Buffer['from'](_0x417671),_0x116830=_0x417671[_0x16b493(0x2a6)]):(_0x116830=_0x417671[_0x16b493(0x2a6)],_0x57b665=_0x426811[_0x16b493(0x23a)]&&_0x426811['readOnly']&&!_0xe4bd7b);let _0x3751d7=_0x116830;_0x116830>=0x10000?(_0x3578db+=0x8,_0x3751d7=0x7f):_0x116830>0x7d&&(_0x3578db+=0x2,_0x3751d7=0x7e);const _0x516140=Buffer['allocUnsafe'](_0x57b665?_0x116830+_0x3578db:_0x3578db);return _0x516140[0x0]=_0x426811[_0x16b493(0x2f0)]?_0x426811[_0x16b493(0x252)]|0x80:_0x426811[_0x16b493(0x252)],_0x426811[_0x16b493(0x194)]&&(_0x516140[0x0]|=0x40),_0x516140[0x1]=_0x3751d7,_0x3751d7===0x7e?_0x516140['writeUInt16BE'](_0x116830,0x2):_0x3751d7===0x7f&&(_0x516140[0x2]=_0x516140[0x3]=0x0,_0x516140[_0x16b493(0x318)](_0x116830,0x4,0x6)),_0x426811['mask']?(_0x516140[0x1]|=0x80,_0x516140[_0x3578db-0x4]=_0x447054[0x0],_0x516140[_0x3578db-0x3]=_0x447054[0x1],_0x516140[_0x3578db-0x2]=_0x447054[0x2],_0x516140[_0x3578db-0x1]=_0x447054[0x3],_0xe4bd7b?[_0x516140,_0x417671]:_0x57b665?(_0x467a16(_0x417671,_0x447054,_0x516140,_0x3578db,_0x116830),[_0x516140]):(_0x467a16(_0x417671,_0x447054,_0x417671,0x0,_0x116830),[_0x516140,_0x417671])):[_0x516140,_0x417671];}['close'](_0x2a0577,_0x24ccd2,_0x310bf6,_0x554958){const _0x32498c=_0x45ff3e;let _0x195686;if(_0x2a0577===void 0x0)_0x195686=_0x5bab29;else{if(typeof _0x2a0577!=_0x32498c(0x250)||!_0x55a642(_0x2a0577))throw new TypeError(_0x32498c(0x2de));if(_0x24ccd2===void 0x0||!_0x24ccd2['length'])_0x195686=Buffer[_0x32498c(0x2a5)](0x2),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0);else{const _0x41dc74=Buffer['byteLength'](_0x24ccd2);if(_0x41dc74>0x7b)throw new RangeError(_0x32498c(0x286));_0x195686=Buffer['allocUnsafe'](0x2+_0x41dc74),_0x195686[_0x32498c(0x24c)](_0x2a0577,0x0),typeof _0x24ccd2==_0x32498c(0x31b)?_0x195686[_0x32498c(0x2a9)](_0x24ccd2,0x2):_0x195686[_0x32498c(0x2ad)](_0x24ccd2,0x2);}}const _0x22a6ed={[_0x50e220]:_0x195686[_0x32498c(0x2a6)],'fin':!0x0,'generateMask':this[_0x32498c(0x31c)],'mask':_0x310bf6,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x504ef7?this[_0x32498c(0x1b5)]([this['dispatch'],_0x195686,!0x1,_0x22a6ed,_0x554958]):this[_0x32498c(0x209)](_0x1c9fd9[_0x32498c(0x1b6)](_0x195686,_0x22a6ed),_0x554958);}[_0x45ff3e(0x2c4)](_0x43e30e,_0x2fc3db,_0x32013e){const _0x106413=_0x45ff3e;let _0x1dd6c1,_0x1b089b;if(typeof _0x43e30e==_0x106413(0x31b)?(_0x1dd6c1=Buffer[_0x106413(0x1a5)](_0x43e30e),_0x1b089b=!0x1):_0x562f3b(_0x43e30e)?(_0x1dd6c1=_0x43e30e[_0x106413(0x19b)],_0x1b089b=!0x1):(_0x43e30e=_0x37c0da(_0x43e30e),_0x1dd6c1=_0x43e30e['length'],_0x1b089b=_0x37c0da[_0x106413(0x193)]),_0x1dd6c1>0x7d)throw new RangeError(_0x106413(0x1f7));const _0x38d8c7={[_0x50e220]:_0x1dd6c1,'fin':!0x0,'generateMask':this[_0x106413(0x31c)],'mask':_0x2fc3db,'maskBuffer':this[_0x106413(0x23b)],'opcode':0x9,'readOnly':_0x1b089b,'rsv1':!0x1};_0x562f3b(_0x43e30e)?this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x315)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['getBlobData'](_0x43e30e,!0x1,_0x38d8c7,_0x32013e):this[_0x106413(0x2e1)]!==_0x504ef7?this[_0x106413(0x1b5)]([this[_0x106413(0x310)],_0x43e30e,!0x1,_0x38d8c7,_0x32013e]):this['sendFrame'](_0x1c9fd9[_0x106413(0x1b6)](_0x43e30e,_0x38d8c7),_0x32013e);}[_0x45ff3e(0x295)](_0x2c4b1d,_0x370e18,_0x35c4b6){const _0x4bd576=_0x45ff3e;let _0x574ffb,_0x13b60e;if(typeof _0x2c4b1d=='string'?(_0x574ffb=Buffer['byteLength'](_0x2c4b1d),_0x13b60e=!0x1):_0x562f3b(_0x2c4b1d)?(_0x574ffb=_0x2c4b1d[_0x4bd576(0x19b)],_0x13b60e=!0x1):(_0x2c4b1d=_0x37c0da(_0x2c4b1d),_0x574ffb=_0x2c4b1d[_0x4bd576(0x2a6)],_0x13b60e=_0x37c0da[_0x4bd576(0x193)]),_0x574ffb>0x7d)throw new RangeError(_0x4bd576(0x1f7));const _0x5bc65e={[_0x50e220]:_0x574ffb,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x370e18,'maskBuffer':this[_0x4bd576(0x23b)],'opcode':0xa,'readOnly':_0x13b60e,'rsv1':!0x1};_0x562f3b(_0x2c4b1d)?this[_0x4bd576(0x2e1)]!==_0x504ef7?this[_0x4bd576(0x1b5)]([this[_0x4bd576(0x315)],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x315)](_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6):this['_state']!==_0x504ef7?this[_0x4bd576(0x1b5)]([this['dispatch'],_0x2c4b1d,!0x1,_0x5bc65e,_0x35c4b6]):this[_0x4bd576(0x209)](_0x1c9fd9[_0x4bd576(0x1b6)](_0x2c4b1d,_0x5bc65e),_0x35c4b6);}[_0x45ff3e(0x208)](_0x28c27a,_0x46c28a,_0xbd3497){const _0x49768f=_0x45ff3e,_0x1d9c3b=this[_0x49768f(0x215)][_0x519c28[_0x49768f(0x237)]];let _0x2e156a=_0x46c28a['binary']?0x2:0x1,_0x2a0145=_0x46c28a[_0x49768f(0x2c7)],_0x3a41d2,_0x2e8281;typeof _0x28c27a=='string'?(_0x3a41d2=Buffer[_0x49768f(0x1a5)](_0x28c27a),_0x2e8281=!0x1):_0x562f3b(_0x28c27a)?(_0x3a41d2=_0x28c27a['size'],_0x2e8281=!0x1):(_0x28c27a=_0x37c0da(_0x28c27a),_0x3a41d2=_0x28c27a['length'],_0x2e8281=_0x37c0da['readOnly']),this[_0x49768f(0x227)]?(this[_0x49768f(0x227)]=!0x1,_0x2a0145&&_0x1d9c3b&&_0x1d9c3b['params'][_0x1d9c3b['_isServer']?_0x49768f(0x25a):_0x49768f(0x290)]&&(_0x2a0145=_0x3a41d2>=_0x1d9c3b['_threshold']),this[_0x49768f(0x233)]=_0x2a0145):(_0x2a0145=!0x1,_0x2e156a=0x0),_0x46c28a['fin']&&(this[_0x49768f(0x227)]=!0x0);const _0x522789={[_0x50e220]:_0x3a41d2,'fin':_0x46c28a['fin'],'generateMask':this[_0x49768f(0x31c)],'mask':_0x46c28a[_0x49768f(0x23a)],'maskBuffer':this[_0x49768f(0x23b)],'opcode':_0x2e156a,'readOnly':_0x2e8281,'rsv1':_0x2a0145};_0x562f3b(_0x28c27a)?this[_0x49768f(0x2e1)]!==_0x504ef7?this['enqueue']([this[_0x49768f(0x315)],_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497]):this['getBlobData'](_0x28c27a,this['_compress'],_0x522789,_0xbd3497):this['_state']!==_0x504ef7?this[_0x49768f(0x1b5)]([this[_0x49768f(0x310)],_0x28c27a,this['_compress'],_0x522789,_0xbd3497]):this[_0x49768f(0x310)](_0x28c27a,this[_0x49768f(0x233)],_0x522789,_0xbd3497);}[_0x45ff3e(0x315)](_0x37b8f8,_0xfb1ad4,_0x248128,_0xa0ef4e){const _0x414c6d=_0x45ff3e;this['_bufferedBytes']+=_0x248128[_0x50e220],this[_0x414c6d(0x2e1)]=_0x3dfd72,_0x37b8f8[_0x414c6d(0x1e2)]()['then'](_0x3c11cf=>{const _0x54e4b0=_0x414c6d;if(this['_socket']['destroyed']){const _0x56810f=new Error(_0x54e4b0(0x265));process[_0x54e4b0(0x2cb)](_0x4324d2,this,_0x56810f,_0xa0ef4e);return;}this['_bufferedBytes']-=_0x248128[_0x50e220];const _0x5ac6b6=_0x37c0da(_0x3c11cf);_0xfb1ad4?this[_0x54e4b0(0x310)](_0x5ac6b6,_0xfb1ad4,_0x248128,_0xa0ef4e):(this[_0x54e4b0(0x2e1)]=_0x504ef7,this[_0x54e4b0(0x209)](_0x1c9fd9[_0x54e4b0(0x1b6)](_0x5ac6b6,_0x248128),_0xa0ef4e),this['dequeue']());})['catch'](_0xe134ac=>{const _0xc974e1=_0x414c6d;process[_0xc974e1(0x2cb)](_0x2f8ef5,this,_0xe134ac,_0xa0ef4e);});}['dispatch'](_0x12352f,_0x5255f1,_0x4358f7,_0x1ceb5e){const _0xbea58f=_0x45ff3e;if(!_0x5255f1){this[_0xbea58f(0x209)](_0x1c9fd9[_0xbea58f(0x1b6)](_0x12352f,_0x4358f7),_0x1ceb5e);return;}const _0x26e12d=this[_0xbea58f(0x215)][_0x519c28[_0xbea58f(0x237)]];this[_0xbea58f(0x1e7)]+=_0x4358f7[_0x50e220],this[_0xbea58f(0x2e1)]=_0x4da3f8,_0x26e12d[_0xbea58f(0x2c7)](_0x12352f,_0x4358f7[_0xbea58f(0x2f0)],(_0x45c917,_0x1d5911)=>{const _0x26d3e0=_0xbea58f;if(this['_socket'][_0x26d3e0(0x317)]){const _0x27076e=new Error(_0x26d3e0(0x2c3));_0x4324d2(this,_0x27076e,_0x1ceb5e);return;}this[_0x26d3e0(0x1e7)]-=_0x4358f7[_0x50e220],this[_0x26d3e0(0x2e1)]=_0x504ef7,_0x4358f7['readOnly']=!0x1,this['sendFrame'](_0x1c9fd9[_0x26d3e0(0x1b6)](_0x1d5911,_0x4358f7),_0x1ceb5e),this['dequeue']();});}['dequeue'](){const _0x39d72e=_0x45ff3e;for(;this[_0x39d72e(0x2e1)]===_0x504ef7&&this[_0x39d72e(0x2da)][_0x39d72e(0x2a6)];){const _0x357445=this[_0x39d72e(0x2da)][_0x39d72e(0x243)]();this[_0x39d72e(0x1e7)]-=_0x357445[0x3][_0x50e220],Reflect['apply'](_0x357445[0x0],this,_0x357445[_0x39d72e(0x293)](0x1));}}[_0x45ff3e(0x1b5)](_0x596366){const _0x10e544=_0x45ff3e;this[_0x10e544(0x1e7)]+=_0x596366[0x3][_0x50e220],this['_queue']['push'](_0x596366);}[_0x45ff3e(0x209)](_0x2d29f0,_0xd35db9){const _0x2a6d63=_0x45ff3e;_0x2d29f0['length']===0x2?(this['_socket']['cork'](),this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0]),this['_socket']['write'](_0x2d29f0[0x1],_0xd35db9),this['_socket'][_0x2a6d63(0x1db)]()):this[_0x2a6d63(0x2b4)][_0x2a6d63(0x2a9)](_0x2d29f0[0x0],_0xd35db9);}}Ee=_0x1c9fd9;function _0x4324d2(_0xa4685f,_0x2ea842,_0x25db1f){const _0x25feba=_0x45ff3e;typeof _0x25db1f==_0x25feba(0x288)&&_0x25db1f(_0x2ea842);for(let _0x33d770=0x0;_0x33d770<_0xa4685f[_0x25feba(0x2da)][_0x25feba(0x2a6)];_0x33d770++){const _0x11b9f6=_0xa4685f[_0x25feba(0x2da)][_0x33d770],_0x47aab9=_0x11b9f6[_0x11b9f6[_0x25feba(0x2a6)]-0x1];typeof _0x47aab9==_0x25feba(0x288)&&_0x47aab9(_0x2ea842);}}function _0x2f8ef5(_0x1b5242,_0x339d8d,_0x3e16b2){const _0x26a148=_0x45ff3e;_0x4324d2(_0x1b5242,_0x339d8d,_0x3e16b2),_0x1b5242[_0x26a148(0x256)](_0x339d8d);}return Ee;}var xe,tt;function Kt(){const _0x52c472=_0x4f9298;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x980093,kListener:_0x37c498}=V(),_0x1327b2=Symbol(_0x52c472(0x285)),_0x537c4f=Symbol('kData'),_0x2ab1f1=Symbol(_0x52c472(0x27f)),_0x389adf=Symbol(_0x52c472(0x1e3)),_0x1765af=Symbol('kReason'),_0x47b12d=Symbol(_0x52c472(0x1c2)),_0x5651c7=Symbol(_0x52c472(0x211)),_0x5da419=Symbol(_0x52c472(0x2be));class _0x5f4c78{constructor(_0x5eb1d6){this[_0x47b12d]=null,this[_0x5651c7]=_0x5eb1d6;}get[_0x52c472(0x192)](){return this[_0x47b12d];}get[_0x52c472(0x25b)](){return this[_0x5651c7];}}Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],_0x52c472(0x192),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x5f4c78[_0x52c472(0x26a)],'type',{'enumerable':!0x0});class _0x4547f0 extends _0x5f4c78{constructor(_0x2a3908,_0x561a0c={}){const _0x3747c9=_0x52c472;super(_0x2a3908),this[_0x1327b2]=_0x561a0c[_0x3747c9(0x280)]===void 0x0?0x0:_0x561a0c[_0x3747c9(0x280)],this[_0x1765af]=_0x561a0c[_0x3747c9(0x23d)]===void 0x0?'':_0x561a0c[_0x3747c9(0x23d)],this[_0x5da419]=_0x561a0c[_0x3747c9(0x19f)]===void 0x0?!0x1:_0x561a0c['wasClean'];}get[_0x52c472(0x280)](){return this[_0x1327b2];}get['reason'](){return this[_0x1765af];}get[_0x52c472(0x19f)](){return this[_0x5da419];}}Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x280),{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x23d),{'enumerable':!0x0}),Object['defineProperty'](_0x4547f0[_0x52c472(0x26a)],_0x52c472(0x19f),{'enumerable':!0x0});class _0x4ab5d5 extends _0x5f4c78{constructor(_0x317979,_0xe6ad5c={}){const _0x8e1c9b=_0x52c472;super(_0x317979),this[_0x2ab1f1]=_0xe6ad5c[_0x8e1c9b(0x1d2)]===void 0x0?null:_0xe6ad5c[_0x8e1c9b(0x1d2)],this[_0x389adf]=_0xe6ad5c['message']===void 0x0?'':_0xe6ad5c[_0x8e1c9b(0x1f8)];}get['error'](){return this[_0x2ab1f1];}get[_0x52c472(0x1f8)](){return this[_0x389adf];}}Object['defineProperty'](_0x4ab5d5['prototype'],'error',{'enumerable':!0x0}),Object[_0x52c472(0x22f)](_0x4ab5d5['prototype'],_0x52c472(0x1f8),{'enumerable':!0x0});class _0x5856c6 extends _0x5f4c78{constructor(_0x107aeb,_0x7d11aa={}){const _0x5b40cf=_0x52c472;super(_0x107aeb),this[_0x537c4f]=_0x7d11aa[_0x5b40cf(0x2cd)]===void 0x0?null:_0x7d11aa[_0x5b40cf(0x2cd)];}get['data'](){return this[_0x537c4f];}}Object[_0x52c472(0x22f)](_0x5856c6['prototype'],_0x52c472(0x2cd),{'enumerable':!0x0}),xe={'CloseEvent':_0x4547f0,'ErrorEvent':_0x4ab5d5,'Event':_0x5f4c78,'EventTarget':{'addEventListener'(_0x5cb82c,_0x1b2701,_0x872256={}){const _0x49e945=_0x52c472;for(const _0x1ee40d of this[_0x49e945(0x1bb)](_0x5cb82c))if(!_0x872256[_0x980093]&&_0x1ee40d[_0x37c498]===_0x1b2701&&!_0x1ee40d[_0x980093])return;let _0x1ebc98;if(_0x5cb82c===_0x49e945(0x1f8))_0x1ebc98=function(_0x26af16,_0x1192e8){const _0x355273=_0x49e945,_0x2a334e=new _0x5856c6(_0x355273(0x1f8),{'data':_0x1192e8?_0x26af16:_0x26af16[_0x355273(0x284)]()});_0x2a334e[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x2a334e);};else{if(_0x5cb82c===_0x49e945(0x32e))_0x1ebc98=function(_0x19c743,_0x5d3d13){const _0x2cfd13=_0x49e945,_0x429ffd=new _0x4547f0('close',{'code':_0x19c743,'reason':_0x5d3d13[_0x2cfd13(0x284)](),'wasClean':this[_0x2cfd13(0x322)]&&this['_closeFrameSent']});_0x429ffd[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x429ffd);};else{if(_0x5cb82c==='error')_0x1ebc98=function(_0x69fb8c){const _0x5eac83=_0x49e945,_0x30306a=new _0x4ab5d5('error',{'error':_0x69fb8c,'message':_0x69fb8c[_0x5eac83(0x1f8)]});_0x30306a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x30306a);};else{if(_0x5cb82c===_0x49e945(0x21f))_0x1ebc98=function(){const _0x5dcb2a=new _0x5f4c78('open');_0x5dcb2a[_0x47b12d]=this,_0x1ca414(_0x1b2701,this,_0x5dcb2a);};else return;}}}_0x1ebc98[_0x980093]=!!_0x872256[_0x980093],_0x1ebc98[_0x37c498]=_0x1b2701,_0x872256[_0x49e945(0x1a3)]?this[_0x49e945(0x1a3)](_0x5cb82c,_0x1ebc98):this['on'](_0x5cb82c,_0x1ebc98);},'removeEventListener'(_0x41bdee,_0x65a70a){const _0x2d5212=_0x52c472;for(const _0x296d55 of this[_0x2d5212(0x1bb)](_0x41bdee))if(_0x296d55[_0x37c498]===_0x65a70a&&!_0x296d55[_0x980093]){this['removeListener'](_0x41bdee,_0x296d55);break;}}},'MessageEvent':_0x5856c6};function _0x1ca414(_0x1d10ec,_0x1a720e,_0x119b29){const _0x160d10=_0x52c472;typeof _0x1d10ec==_0x160d10(0x30d)&&_0x1d10ec['handleEvent']?_0x1d10ec[_0x160d10(0x277)]['call'](_0x1d10ec,_0x119b29):_0x1d10ec['call'](_0x1a720e,_0x119b29);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x279b73}=ne();function _0x29880b(_0x362ce,_0x3c5eb2,_0x506f9b){const _0x33f98d=_0x3288;_0x362ce[_0x3c5eb2]===void 0x0?_0x362ce[_0x3c5eb2]=[_0x506f9b]:_0x362ce[_0x3c5eb2][_0x33f98d(0x266)](_0x506f9b);}function _0x384a4c(_0x48ed00){const _0x3360ad=_0x3288,_0x6bc51f=Object[_0x3360ad(0x218)](null);let _0x330eaa=Object[_0x3360ad(0x218)](null),_0x3a4fdb=!0x1,_0x5d5491=!0x1,_0x503420=!0x1,_0x4de3f2,_0x56a70a,_0x318977=-0x1,_0x3c996b=-0x1,_0x30b73a=-0x1,_0x484f95=0x0;for(;_0x484f95<_0x48ed00[_0x3360ad(0x2a6)];_0x484f95++)if(_0x3c996b=_0x48ed00[_0x3360ad(0x2dc)](_0x484f95),_0x4de3f2===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x484f95!==0x0&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2dfeb6=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3c996b===0x2c?(_0x29880b(_0x6bc51f,_0x2dfeb6,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null)):_0x4de3f2=_0x2dfeb6,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}else{if(_0x56a70a===void 0x0){if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x20||_0x3c996b===0x9)_0x30b73a===-0x1&&_0x318977!==-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95),_0x29880b(_0x330eaa,_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a),!0x0),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x318977=_0x30b73a=-0x1;}else{if(_0x3c996b===0x3d&&_0x318977!==-0x1&&_0x30b73a===-0x1)_0x56a70a=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x484f95),_0x318977=_0x30b73a=-0x1;else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}else{if(_0x5d5491){if(_0x279b73[_0x3c996b]!==0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x318977===-0x1?_0x318977=_0x484f95:_0x3a4fdb||(_0x3a4fdb=!0x0),_0x5d5491=!0x1;}else{if(_0x503420){if(_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x3c996b===0x22&&_0x318977!==-0x1)_0x503420=!0x1,_0x30b73a=_0x484f95;else{if(_0x3c996b===0x5c)_0x5d5491=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x484f95);}}}else{if(_0x3c996b===0x22&&_0x48ed00['charCodeAt'](_0x484f95-0x1)===0x3d)_0x503420=!0x0;else{if(_0x30b73a===-0x1&&_0x279b73[_0x3c996b]===0x1)_0x318977===-0x1&&(_0x318977=_0x484f95);else{if(_0x318977!==-0x1&&(_0x3c996b===0x20||_0x3c996b===0x9))_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);else{if(_0x3c996b===0x3b||_0x3c996b===0x2c){if(_0x318977===-0x1)throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);let _0x4bb506=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);_0x3a4fdb&&(_0x4bb506=_0x4bb506[_0x3360ad(0x2f8)](/\\/g,''),_0x3a4fdb=!0x1),_0x29880b(_0x330eaa,_0x56a70a,_0x4bb506),_0x3c996b===0x2c&&(_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa),_0x330eaa=Object[_0x3360ad(0x218)](null),_0x4de3f2=void 0x0),_0x56a70a=void 0x0,_0x318977=_0x30b73a=-0x1;}else throw new SyntaxError(_0x3360ad(0x216)+_0x484f95);}}}}}}}if(_0x318977===-0x1||_0x503420||_0x3c996b===0x20||_0x3c996b===0x9)throw new SyntaxError(_0x3360ad(0x1ee));_0x30b73a===-0x1&&(_0x30b73a=_0x484f95);const _0x2cef7e=_0x48ed00[_0x3360ad(0x293)](_0x318977,_0x30b73a);return _0x4de3f2===void 0x0?_0x29880b(_0x6bc51f,_0x2cef7e,_0x330eaa):(_0x56a70a===void 0x0?_0x29880b(_0x330eaa,_0x2cef7e,!0x0):_0x3a4fdb?_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e['replace'](/\\/g,'')):_0x29880b(_0x330eaa,_0x56a70a,_0x2cef7e),_0x29880b(_0x6bc51f,_0x4de3f2,_0x330eaa)),_0x6bc51f;}function _0x5af6b6(_0xd68c93){const _0x5e759b=_0x3288;return Object[_0x5e759b(0x2fa)](_0xd68c93)['map'](_0xd01155=>{const _0x36b407=_0x5e759b;let _0x5c24b3=_0xd68c93[_0xd01155];return Array[_0x36b407(0x2d3)](_0x5c24b3)||(_0x5c24b3=[_0x5c24b3]),_0x5c24b3[_0x36b407(0x20a)](_0x2b584e=>[_0xd01155][_0x36b407(0x202)](Object['keys'](_0x2b584e)[_0x36b407(0x20a)](_0x1887f3=>{const _0x396a8b=_0x36b407;let _0x43bba0=_0x2b584e[_0x1887f3];return Array['isArray'](_0x43bba0)||(_0x43bba0=[_0x43bba0]),_0x43bba0[_0x396a8b(0x20a)](_0x48127d=>_0x48127d===!0x0?_0x1887f3:_0x1887f3+'='+_0x48127d)[_0x396a8b(0x1df)](';\x20');}))[_0x36b407(0x1df)](';\x20'))[_0x36b407(0x1df)](',\x20');})['join'](',\x20');}return be={'format':_0x5af6b6,'parse':_0x384a4c},be;}function _0x3288(_0x229842,_0x325af2){const _0x52e207=_0x52e2();return _0x3288=function(_0x32885a,_0x1b5935){_0x32885a=_0x32885a-0x192;let _0x3fe67b=_0x52e207[_0x32885a];return _0x3fe67b;},_0x3288(_0x229842,_0x325af2);}var we,st;function Ie(){const _0x59d71a=_0x4f9298;if(st)return we;st=0x1;const _0x2b9a6f=_0x58fb53,_0x5a8280=_0xd4e2d,_0x4c3acf=_0x359bc0,_0x576fbe=_0x1a02d9,_0x181c0e=_0x1e4621,{randomBytes:_0x34f1c3,createHash:_0x385456}=_0x5ef917,{Duplex:_0x453ddb,Readable:_0x410f37}=_0x4a4f82,{URL:_0x4d210a}=_0x2c14ee,_0xeb4d69=he(),_0x4a92f0=dt(),_0x2b9daa=_t(),{isBlob:_0x28071e}=ne(),{BINARY_TYPES:_0x209692,EMPTY_BUFFER:_0x1cf21d,GUID:_0x44eaaf,kForOnEventAttribute:_0x16ab06,kListener:_0xea8424,kStatusCode:_0x6e0f71,kWebSocket:_0x22520d,NOOP:_0x4c581f}=V(),{EventTarget:{addEventListener:_0x1fb6bb,removeEventListener:_0x31cfa0}}=Kt(),{format:_0x4d658f,parse:_0x592df6}=pt(),{toBuffer:_0x3e7227}=ce(),_0xc499f1=0x1e*0x3e8,_0x862ecc=Symbol(_0x59d71a(0x27e)),_0x2d0836=[0x8,0xd],_0x4c161d=[_0x59d71a(0x1e1),_0x59d71a(0x304),_0x59d71a(0x1c0),'CLOSED'],_0x5b7210=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xeb4049 extends _0x2b9a6f{constructor(_0x1ee61d,_0x1235f0,_0x3302c1){const _0x24c20b=_0x59d71a;super(),this['_binaryType']=_0x209692[0x0],this['_closeCode']=0x3ee,this[_0x24c20b(0x322)]=!0x1,this[_0x24c20b(0x1bd)]=!0x1,this[_0x24c20b(0x2d5)]=_0x1cf21d,this[_0x24c20b(0x274)]=null,this[_0x24c20b(0x1f0)]=!0x1,this[_0x24c20b(0x215)]={},this[_0x24c20b(0x25e)]=!0x1,this['_protocol']='',this[_0x24c20b(0x1e0)]=_0xeb4049[_0x24c20b(0x1e1)],this[_0x24c20b(0x195)]=null,this['_sender']=null,this[_0x24c20b(0x2b4)]=null,_0x1ee61d!==null?(this[_0x24c20b(0x22e)]=0x0,this[_0x24c20b(0x28e)]=!0x1,this[_0x24c20b(0x32b)]=0x0,_0x1235f0===void 0x0?_0x1235f0=[]:Array['isArray'](_0x1235f0)||(typeof _0x1235f0=='object'&&_0x1235f0!==null?(_0x3302c1=_0x1235f0,_0x1235f0=[]):_0x1235f0=[_0x1235f0]),_0x54b145(this,_0x1ee61d,_0x1235f0,_0x3302c1)):(this[_0x24c20b(0x338)]=_0x3302c1['autoPong'],this['_isServer']=!0x0);}get[_0x59d71a(0x28c)](){const _0xbce555=_0x59d71a;return this[_0xbce555(0x1c4)];}set[_0x59d71a(0x28c)](_0x55faeb){const _0x29d89e=_0x59d71a;_0x209692[_0x29d89e(0x1e5)](_0x55faeb)&&(this[_0x29d89e(0x1c4)]=_0x55faeb,this['_receiver']&&(this['_receiver'][_0x29d89e(0x1c4)]=_0x55faeb));}get[_0x59d71a(0x22a)](){const _0x40c99d=_0x59d71a;return this['_socket']?this['_socket'][_0x40c99d(0x1d3)][_0x40c99d(0x2a6)]+this[_0x40c99d(0x27c)][_0x40c99d(0x1e7)]:this[_0x40c99d(0x22e)];}get[_0x59d71a(0x33e)](){const _0x31a48b=_0x59d71a;return Object[_0x31a48b(0x2fa)](this[_0x31a48b(0x215)])[_0x31a48b(0x1df)]();}get['isPaused'](){const _0xeaaa94=_0x59d71a;return this[_0xeaaa94(0x25e)];}get[_0x59d71a(0x29d)](){return null;}get[_0x59d71a(0x256)](){return null;}get[_0x59d71a(0x33b)](){return null;}get[_0x59d71a(0x2ca)](){return null;}get[_0x59d71a(0x21a)](){const _0x51974a=_0x59d71a;return this[_0x51974a(0x2f7)];}get['readyState'](){const _0x4c540b=_0x59d71a;return this[_0x4c540b(0x1e0)];}get[_0x59d71a(0x232)](){const _0x2febff=_0x59d71a;return this[_0x2febff(0x1d0)];}[_0x59d71a(0x2e2)](_0x505c23,_0x32e455,_0x34acbb){const _0x4bd53f=_0x59d71a,_0x786888=new _0x4a92f0({'allowSynchronousEvents':_0x34acbb[_0x4bd53f(0x268)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x34acbb[_0x4bd53f(0x240)],'skipUTF8Validation':_0x34acbb['skipUTF8Validation']}),_0x41238e=new _0x2b9daa(_0x505c23,this[_0x4bd53f(0x215)],_0x34acbb[_0x4bd53f(0x258)]);this[_0x4bd53f(0x195)]=_0x786888,this[_0x4bd53f(0x27c)]=_0x41238e,this['_socket']=_0x505c23,_0x786888[_0x22520d]=this,_0x41238e[_0x22520d]=this,_0x505c23[_0x22520d]=this,_0x786888['on'](_0x4bd53f(0x2bb),_0x20abad),_0x786888['on'](_0x4bd53f(0x1f5),_0x3d6071),_0x786888['on'](_0x4bd53f(0x1d2),_0x56d5da),_0x786888['on'](_0x4bd53f(0x1f8),_0x3e0613),_0x786888['on'](_0x4bd53f(0x2c4),_0x3fd9a0),_0x786888['on']('pong',_0x3a5c8a),_0x41238e[_0x4bd53f(0x256)]=_0x3da0e4,_0x505c23[_0x4bd53f(0x264)]&&_0x505c23[_0x4bd53f(0x264)](0x0),_0x505c23[_0x4bd53f(0x2df)]&&_0x505c23[_0x4bd53f(0x2df)](),_0x32e455[_0x4bd53f(0x2a6)]>0x0&&_0x505c23[_0x4bd53f(0x204)](_0x32e455),_0x505c23['on'](_0x4bd53f(0x32e),_0x332615),_0x505c23['on'](_0x4bd53f(0x2cd),_0x553de3),_0x505c23['on']('end',_0x3b94ef),_0x505c23['on'](_0x4bd53f(0x1d2),_0x1b820e),this['_readyState']=_0xeb4049[_0x4bd53f(0x304)],this[_0x4bd53f(0x200)](_0x4bd53f(0x21f));}[_0x59d71a(0x220)](){const _0x748d82=_0x59d71a;if(!this[_0x748d82(0x2b4)]){this['_readyState']=_0xeb4049['CLOSED'],this['emit'](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);return;}this['_extensions'][_0xeb4d69[_0x748d82(0x237)]]&&this[_0x748d82(0x215)][_0xeb4d69[_0x748d82(0x237)]][_0x748d82(0x198)](),this[_0x748d82(0x195)]['removeAllListeners'](),this[_0x748d82(0x1e0)]=_0xeb4049[_0x748d82(0x329)],this[_0x748d82(0x200)](_0x748d82(0x32e),this[_0x748d82(0x22d)],this[_0x748d82(0x2d5)]);}[_0x59d71a(0x32e)](_0x37323f,_0x4ce303){const _0x5b143b=_0x59d71a;if(this[_0x5b143b(0x1ac)]!==_0xeb4049[_0x5b143b(0x329)]){if(this['readyState']===_0xeb4049[_0x5b143b(0x1e1)]){_0x15348b(this,this[_0x5b143b(0x2a4)],_0x5b143b(0x26c));return;}if(this[_0x5b143b(0x1ac)]===_0xeb4049[_0x5b143b(0x1c0)]){this[_0x5b143b(0x1bd)]&&(this[_0x5b143b(0x322)]||this[_0x5b143b(0x195)][_0x5b143b(0x1d3)][_0x5b143b(0x278)])&&this['_socket'][_0x5b143b(0x1fa)]();return;}this['_readyState']=_0xeb4049[_0x5b143b(0x1c0)],this['_sender'][_0x5b143b(0x32e)](_0x37323f,_0x4ce303,!this[_0x5b143b(0x28e)],_0x2af273=>{const _0x30cec5=_0x5b143b;_0x2af273||(this[_0x30cec5(0x1bd)]=!0x0,(this[_0x30cec5(0x322)]||this[_0x30cec5(0x195)][_0x30cec5(0x1d3)][_0x30cec5(0x278)])&&this['_socket'][_0x30cec5(0x1fa)]());}),_0x58b6ac(this);}}['pause'](){const _0x1e805e=_0x59d71a;this[_0x1e805e(0x1ac)]===_0xeb4049['CONNECTING']||this[_0x1e805e(0x1ac)]===_0xeb4049['CLOSED']||(this['_paused']=!0x0,this[_0x1e805e(0x2b4)][_0x1e805e(0x21c)]());}[_0x59d71a(0x2c4)](_0xbf8b,_0x1f6b0c,_0x1af2f0){const _0x80f196=_0x59d71a;if(this[_0x80f196(0x1ac)]===_0xeb4049[_0x80f196(0x1e1)])throw new Error(_0x80f196(0x24d));if(typeof _0xbf8b=='function'?(_0x1af2f0=_0xbf8b,_0xbf8b=_0x1f6b0c=void 0x0):typeof _0x1f6b0c==_0x80f196(0x288)&&(_0x1af2f0=_0x1f6b0c,_0x1f6b0c=void 0x0),typeof _0xbf8b==_0x80f196(0x250)&&(_0xbf8b=_0xbf8b[_0x80f196(0x284)]()),this[_0x80f196(0x1ac)]!==_0xeb4049[_0x80f196(0x304)]){_0x32b388(this,_0xbf8b,_0x1af2f0);return;}_0x1f6b0c===void 0x0&&(_0x1f6b0c=!this[_0x80f196(0x28e)]),this['_sender']['ping'](_0xbf8b||_0x1cf21d,_0x1f6b0c,_0x1af2f0);}[_0x59d71a(0x295)](_0x2617e0,_0x492e94,_0xe1dbd1){const _0x54c1a6=_0x59d71a;if(this[_0x54c1a6(0x1ac)]===_0xeb4049[_0x54c1a6(0x1e1)])throw new Error(_0x54c1a6(0x24d));if(typeof _0x2617e0=='function'?(_0xe1dbd1=_0x2617e0,_0x2617e0=_0x492e94=void 0x0):typeof _0x492e94==_0x54c1a6(0x288)&&(_0xe1dbd1=_0x492e94,_0x492e94=void 0x0),typeof _0x2617e0==_0x54c1a6(0x250)&&(_0x2617e0=_0x2617e0[_0x54c1a6(0x284)]()),this[_0x54c1a6(0x1ac)]!==_0xeb4049[_0x54c1a6(0x304)]){_0x32b388(this,_0x2617e0,_0xe1dbd1);return;}_0x492e94===void 0x0&&(_0x492e94=!this[_0x54c1a6(0x28e)]),this['_sender'][_0x54c1a6(0x295)](_0x2617e0||_0x1cf21d,_0x492e94,_0xe1dbd1);}[_0x59d71a(0x33f)](){const _0x157ad6=_0x59d71a;this['readyState']===_0xeb4049['CONNECTING']||this[_0x157ad6(0x1ac)]===_0xeb4049[_0x157ad6(0x329)]||(this[_0x157ad6(0x25e)]=!0x1,this[_0x157ad6(0x195)][_0x157ad6(0x1d3)][_0x157ad6(0x2f6)]||this[_0x157ad6(0x2b4)][_0x157ad6(0x33f)]());}[_0x59d71a(0x208)](_0x1c329e,_0x52c8c2,_0x29e5ab){const _0x1f19c1=_0x59d71a;if(this['readyState']===_0xeb4049[_0x1f19c1(0x1e1)])throw new Error(_0x1f19c1(0x24d));if(typeof _0x52c8c2==_0x1f19c1(0x288)&&(_0x29e5ab=_0x52c8c2,_0x52c8c2={}),typeof _0x1c329e=='number'&&(_0x1c329e=_0x1c329e[_0x1f19c1(0x284)]()),this['readyState']!==_0xeb4049['OPEN']){_0x32b388(this,_0x1c329e,_0x29e5ab);return;}const _0x5d075e={'binary':typeof _0x1c329e!=_0x1f19c1(0x31b),'mask':!this[_0x1f19c1(0x28e)],'compress':!0x0,'fin':!0x0,..._0x52c8c2};this['_extensions'][_0xeb4d69[_0x1f19c1(0x237)]]||(_0x5d075e['compress']=!0x1),this[_0x1f19c1(0x27c)]['send'](_0x1c329e||_0x1cf21d,_0x5d075e,_0x29e5ab);}[_0x59d71a(0x1ab)](){const _0x8918e1=_0x59d71a;if(this[_0x8918e1(0x1ac)]!==_0xeb4049['CLOSED']){if(this[_0x8918e1(0x1ac)]===_0xeb4049['CONNECTING']){_0x15348b(this,this[_0x8918e1(0x2a4)],_0x8918e1(0x26c));return;}this[_0x8918e1(0x2b4)]&&(this['_readyState']=_0xeb4049[_0x8918e1(0x1c0)],this[_0x8918e1(0x2b4)][_0x8918e1(0x197)]());}}}Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d['indexOf']('CONNECTING')}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1e1),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CONNECTING')}),Object['defineProperty'](_0xeb4049,_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d['indexOf'](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x304),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x304))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x1c0),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x1c0))}),Object[_0x59d71a(0x22f)](_0xeb4049,_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)](_0x59d71a(0x329))}),Object[_0x59d71a(0x22f)](_0xeb4049[_0x59d71a(0x26a)],_0x59d71a(0x329),{'enumerable':!0x0,'value':_0x4c161d[_0x59d71a(0x212)]('CLOSED')}),['binaryType',_0x59d71a(0x22a),_0x59d71a(0x33e),_0x59d71a(0x205),_0x59d71a(0x21a),_0x59d71a(0x1ac),'url']['forEach'](_0x36f71a=>{const _0x362ffe=_0x59d71a;Object[_0x362ffe(0x22f)](_0xeb4049[_0x362ffe(0x26a)],_0x36f71a,{'enumerable':!0x0});}),[_0x59d71a(0x21f),_0x59d71a(0x1d2),_0x59d71a(0x32e),'message'][_0x59d71a(0x1a6)](_0x54234d=>{const _0x2600b0=_0x59d71a;Object[_0x2600b0(0x22f)](_0xeb4049[_0x2600b0(0x26a)],'on'+_0x54234d,{'enumerable':!0x0,'get'(){const _0x300098=_0x2600b0;for(const _0x49274d of this[_0x300098(0x1bb)](_0x54234d))if(_0x49274d[_0x16ab06])return _0x49274d[_0xea8424];return null;},'set'(_0x675f12){const _0x4faf92=_0x2600b0;for(const _0xf4523 of this[_0x4faf92(0x1bb)](_0x54234d))if(_0xf4523[_0x16ab06]){this['removeListener'](_0x54234d,_0xf4523);break;}typeof _0x675f12==_0x4faf92(0x288)&&this['addEventListener'](_0x54234d,_0x675f12,{[_0x16ab06]:!0x0});}});}),_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x279)]=_0x1fb6bb,_0xeb4049[_0x59d71a(0x26a)][_0x59d71a(0x30a)]=_0x31cfa0,we=_0xeb4049;function _0x54b145(_0x4358b7,_0x5b32ad,_0x3eea0f,_0x3384a3){const _0x1e9de6=_0x59d71a,_0x122869={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2d0836[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3384a3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4358b7['_autoPong']=_0x122869[_0x1e9de6(0x206)],!_0x2d0836[_0x1e9de6(0x1e5)](_0x122869[_0x1e9de6(0x19e)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x122869[_0x1e9de6(0x19e)]+_0x1e9de6(0x1de)+_0x2d0836['join'](',\x20')+')');let _0x57cecf;if(_0x5b32ad instanceof _0x4d210a)_0x57cecf=_0x5b32ad;else try{_0x57cecf=new _0x4d210a(_0x5b32ad);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x5b32ad);}_0x57cecf[_0x1e9de6(0x21a)]==='http:'?_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x272):_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x287)&&(_0x57cecf[_0x1e9de6(0x21a)]=_0x1e9de6(0x333)),_0x4358b7[_0x1e9de6(0x1d0)]=_0x57cecf[_0x1e9de6(0x26d)];const _0x5ab22e=_0x57cecf['protocol']===_0x1e9de6(0x333),_0x54f766=_0x57cecf[_0x1e9de6(0x21a)]===_0x1e9de6(0x2e4);let _0x3f317c;if(_0x57cecf['protocol']!==_0x1e9de6(0x272)&&!_0x5ab22e&&!_0x54f766?_0x3f317c=_0x1e9de6(0x2b9):_0x54f766&&!_0x57cecf[_0x1e9de6(0x28d)]?_0x3f317c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x57cecf[_0x1e9de6(0x1c8)]&&(_0x3f317c='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3f317c){const _0x2cefdf=new SyntaxError(_0x3f317c);if(_0x4358b7[_0x1e9de6(0x32b)]===0x0)throw _0x2cefdf;_0x419986(_0x4358b7,_0x2cefdf);return;}const _0x57f827=_0x5ab22e?0x1bb:0x50,_0x44e448=_0x34f1c3(0x10)[_0x1e9de6(0x284)]('base64'),_0x24ec74=_0x5ab22e?_0x5a8280[_0x1e9de6(0x2af)]:_0x4c3acf[_0x1e9de6(0x2af)],_0x3fd68d=new Set();let _0x3f7f8f;if(_0x122869[_0x1e9de6(0x26e)]=_0x122869[_0x1e9de6(0x26e)]||(_0x5ab22e?_0x591556:_0x43ba29),_0x122869[_0x1e9de6(0x1d8)]=_0x122869[_0x1e9de6(0x1d8)]||_0x57f827,_0x122869[_0x1e9de6(0x2c2)]=_0x57cecf['port']||_0x57f827,_0x122869[_0x1e9de6(0x270)]=_0x57cecf['hostname']['startsWith']('[')?_0x57cecf[_0x1e9de6(0x30b)][_0x1e9de6(0x293)](0x1,-0x1):_0x57cecf[_0x1e9de6(0x30b)],_0x122869[_0x1e9de6(0x314)]={..._0x122869[_0x1e9de6(0x314)],'Sec-WebSocket-Version':_0x122869[_0x1e9de6(0x19e)],'Sec-WebSocket-Key':_0x44e448,'Connection':_0x1e9de6(0x2a2),'Upgrade':'websocket'},_0x122869['path']=_0x57cecf[_0x1e9de6(0x28d)]+_0x57cecf[_0x1e9de6(0x299)],_0x122869['timeout']=_0x122869[_0x1e9de6(0x203)],_0x122869[_0x1e9de6(0x283)]&&(_0x3f7f8f=new _0xeb4d69(_0x122869['perMessageDeflate']!==!0x0?_0x122869[_0x1e9de6(0x283)]:{},!0x1,_0x122869[_0x1e9de6(0x240)]),_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x276)]=_0x4d658f({[_0xeb4d69[_0x1e9de6(0x237)]]:_0x3f7f8f['offer']()})),_0x3eea0f[_0x1e9de6(0x2a6)]){for(const _0x4f6317 of _0x3eea0f){if(typeof _0x4f6317!=_0x1e9de6(0x31b)||!_0x5b7210[_0x1e9de6(0x217)](_0x4f6317)||_0x3fd68d[_0x1e9de6(0x22b)](_0x4f6317))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3fd68d['add'](_0x4f6317);}_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x330)]=_0x3eea0f['join'](',');}if(_0x122869[_0x1e9de6(0x323)]&&(_0x122869['protocolVersion']<0xd?_0x122869[_0x1e9de6(0x314)]['Sec-WebSocket-Origin']=_0x122869['origin']:_0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x1c6)]=_0x122869[_0x1e9de6(0x323)]),(_0x57cecf[_0x1e9de6(0x247)]||_0x57cecf[_0x1e9de6(0x1cf)])&&(_0x122869[_0x1e9de6(0x2ba)]=_0x57cecf['username']+':'+_0x57cecf[_0x1e9de6(0x1cf)]),_0x54f766){const _0x36efcb=_0x122869[_0x1e9de6(0x2f3)][_0x1e9de6(0x2d9)](':');_0x122869['socketPath']=_0x36efcb[0x0],_0x122869[_0x1e9de6(0x2f3)]=_0x36efcb[0x1];}let _0xd690cd;if(_0x122869[_0x1e9de6(0x24f)]){if(_0x4358b7[_0x1e9de6(0x32b)]===0x0){_0x4358b7[_0x1e9de6(0x2b6)]=_0x54f766,_0x4358b7['_originalSecure']=_0x5ab22e,_0x4358b7['_originalHostOrSocketPath']=_0x54f766?_0x122869['socketPath']:_0x57cecf[_0x1e9de6(0x270)];const _0x26e9b3=_0x3384a3&&_0x3384a3[_0x1e9de6(0x314)];if(_0x3384a3={..._0x3384a3,'headers':{}},_0x26e9b3){for(const [_0x5a7e32,_0xbe0838]of Object[_0x1e9de6(0x1f3)](_0x26e9b3))_0x3384a3[_0x1e9de6(0x314)][_0x5a7e32[_0x1e9de6(0x275)]()]=_0xbe0838;}}else{if(_0x4358b7['listenerCount'](_0x1e9de6(0x234))===0x0){const _0x3c4aa6=_0x54f766?_0x4358b7[_0x1e9de6(0x2b6)]?_0x122869[_0x1e9de6(0x25c)]===_0x4358b7[_0x1e9de6(0x26b)]:!0x1:_0x4358b7[_0x1e9de6(0x2b6)]?!0x1:_0x57cecf['host']===_0x4358b7['_originalHostOrSocketPath'];(!_0x3c4aa6||_0x4358b7[_0x1e9de6(0x2ef)]&&!_0x5ab22e)&&(delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x297)],delete _0x122869[_0x1e9de6(0x314)][_0x1e9de6(0x30e)],_0x3c4aa6||delete _0x122869[_0x1e9de6(0x314)]['host'],_0x122869[_0x1e9de6(0x2ba)]=void 0x0);}}_0x122869[_0x1e9de6(0x2ba)]&&!_0x3384a3['headers'][_0x1e9de6(0x297)]&&(_0x3384a3[_0x1e9de6(0x314)]['authorization']=_0x1e9de6(0x33d)+Buffer[_0x1e9de6(0x1b0)](_0x122869['auth'])[_0x1e9de6(0x284)](_0x1e9de6(0x1e4))),_0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869),_0x4358b7[_0x1e9de6(0x32b)]&&_0x4358b7[_0x1e9de6(0x200)](_0x1e9de6(0x234),_0x4358b7['url'],_0xd690cd);}else _0xd690cd=_0x4358b7[_0x1e9de6(0x2a4)]=_0x24ec74(_0x122869);_0x122869['timeout']&&_0xd690cd['on'](_0x1e9de6(0x1d7),()=>{const _0x5caf20=_0x1e9de6;_0x15348b(_0x4358b7,_0xd690cd,_0x5caf20(0x1bf));}),_0xd690cd['on'](_0x1e9de6(0x1d2),_0xd605b2=>{_0xd690cd===null||_0xd690cd[_0x862ecc]||(_0xd690cd=_0x4358b7['_req']=null,_0x419986(_0x4358b7,_0xd605b2));}),_0xd690cd['on'](_0x1e9de6(0x201),_0x248b6c=>{const _0x4baafe=_0x1e9de6,_0x331826=_0x248b6c[_0x4baafe(0x314)][_0x4baafe(0x324)],_0x4aa473=_0x248b6c[_0x4baafe(0x1b1)];if(_0x331826&&_0x122869[_0x4baafe(0x24f)]&&_0x4aa473>=0x12c&&_0x4aa473<0x190){if(++_0x4358b7[_0x4baafe(0x32b)]>_0x122869['maxRedirects']){_0x15348b(_0x4358b7,_0xd690cd,'Maximum\x20redirects\x20exceeded');return;}_0xd690cd['abort']();let _0x557d80;try{_0x557d80=new _0x4d210a(_0x331826,_0x5b32ad);}catch{const _0x12184f=new SyntaxError(_0x4baafe(0x21d)+_0x331826);_0x419986(_0x4358b7,_0x12184f);return;}_0x54b145(_0x4358b7,_0x557d80,_0x3eea0f,_0x3384a3);}else _0x4358b7[_0x4baafe(0x200)](_0x4baafe(0x303),_0xd690cd,_0x248b6c)||_0x15348b(_0x4358b7,_0xd690cd,_0x4baafe(0x223)+_0x248b6c[_0x4baafe(0x1b1)]);}),_0xd690cd['on'](_0x1e9de6(0x24e),(_0x52ab5d,_0x15014a,_0x2369d5)=>{const _0x48008b=_0x1e9de6;if(_0x4358b7['emit']('upgrade',_0x52ab5d),_0x4358b7[_0x48008b(0x1ac)]!==_0xeb4049[_0x48008b(0x1e1)])return;_0xd690cd=_0x4358b7[_0x48008b(0x2a4)]=null;const _0x35e6e8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x24e)];if(_0x35e6e8===void 0x0||_0x35e6e8[_0x48008b(0x275)]()!=='websocket'){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x257));return;}const _0x1bd3d6=_0x385456(_0x48008b(0x1da))[_0x48008b(0x1a0)](_0x44e448+_0x44eaaf)[_0x48008b(0x2e0)](_0x48008b(0x1e4));if(_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x222)]!==_0x1bd3d6){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x213));return;}const _0x3df8b8=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x2d8)];let _0x277c77;if(_0x3df8b8!==void 0x0?_0x3fd68d[_0x48008b(0x19b)]?_0x3fd68d[_0x48008b(0x22b)](_0x3df8b8)||(_0x277c77=_0x48008b(0x331)):_0x277c77='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3fd68d[_0x48008b(0x19b)]&&(_0x277c77=_0x48008b(0x294)),_0x277c77){_0x15348b(_0x4358b7,_0x15014a,_0x277c77);return;}_0x3df8b8&&(_0x4358b7[_0x48008b(0x2f7)]=_0x3df8b8);const _0x531c16=_0x52ab5d[_0x48008b(0x314)][_0x48008b(0x251)];if(_0x531c16!==void 0x0){if(!_0x3f7f8f){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x30f));return;}let _0x259da3;try{_0x259da3=_0x592df6(_0x531c16);}catch{_0x15348b(_0x4358b7,_0x15014a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xd57795=Object[_0x48008b(0x2fa)](_0x259da3);if(_0xd57795[_0x48008b(0x2a6)]!==0x1||_0xd57795[0x0]!==_0xeb4d69['extensionName']){_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x269));return;}try{_0x3f7f8f[_0x48008b(0x300)](_0x259da3[_0xeb4d69['extensionName']]);}catch{_0x15348b(_0x4358b7,_0x15014a,_0x48008b(0x305));return;}_0x4358b7[_0x48008b(0x215)][_0xeb4d69[_0x48008b(0x237)]]=_0x3f7f8f;}_0x4358b7[_0x48008b(0x2e2)](_0x15014a,_0x2369d5,{'allowSynchronousEvents':_0x122869['allowSynchronousEvents'],'generateMask':_0x122869['generateMask'],'maxPayload':_0x122869[_0x48008b(0x240)],'skipUTF8Validation':_0x122869[_0x48008b(0x249)]});}),_0x122869[_0x1e9de6(0x2bc)]?_0x122869[_0x1e9de6(0x2bc)](_0xd690cd,_0x4358b7):_0xd690cd[_0x1e9de6(0x1fa)]();}function _0x419986(_0x363665,_0x3e011b){const _0x183dc2=_0x59d71a;_0x363665[_0x183dc2(0x1e0)]=_0xeb4049['CLOSING'],_0x363665[_0x183dc2(0x1f0)]=!0x0,_0x363665[_0x183dc2(0x200)](_0x183dc2(0x1d2),_0x3e011b),_0x363665[_0x183dc2(0x220)]();}function _0x43ba29(_0x2f3432){const _0x305c46=_0x59d71a;return _0x2f3432['path']=_0x2f3432[_0x305c46(0x25c)],_0x576fbe[_0x305c46(0x254)](_0x2f3432);}function _0x591556(_0x540d8d){const _0x370c03=_0x59d71a;return _0x540d8d[_0x370c03(0x2f3)]=void 0x0,!_0x540d8d[_0x370c03(0x1c3)]&&_0x540d8d[_0x370c03(0x1c3)]!==''&&(_0x540d8d['servername']=_0x576fbe[_0x370c03(0x1b7)](_0x540d8d[_0x370c03(0x270)])?'':_0x540d8d[_0x370c03(0x270)]),_0x181c0e[_0x370c03(0x254)](_0x540d8d);}function _0x15348b(_0x46476a,_0x16e3d2,_0x4a3e02){const _0x313842=_0x59d71a;_0x46476a[_0x313842(0x1e0)]=_0xeb4049[_0x313842(0x1c0)];const _0x104001=new Error(_0x4a3e02);Error[_0x313842(0x2ee)](_0x104001,_0x15348b),_0x16e3d2['setHeader']?(_0x16e3d2[_0x862ecc]=!0x0,_0x16e3d2[_0x313842(0x1ba)](),_0x16e3d2[_0x313842(0x1b8)]&&!_0x16e3d2[_0x313842(0x1b8)][_0x313842(0x317)]&&_0x16e3d2['socket']['destroy'](),process['nextTick'](_0x419986,_0x46476a,_0x104001)):(_0x16e3d2[_0x313842(0x197)](_0x104001),_0x16e3d2[_0x313842(0x1a3)](_0x313842(0x1d2),_0x46476a[_0x313842(0x200)]['bind'](_0x46476a,_0x313842(0x1d2))),_0x16e3d2[_0x313842(0x1a3)]('close',_0x46476a[_0x313842(0x220)][_0x313842(0x255)](_0x46476a)));}function _0x32b388(_0x43efa1,_0x3aa95a,_0x3a982d){const _0x19d5a3=_0x59d71a;if(_0x3aa95a){const _0x1cc576=_0x28071e(_0x3aa95a)?_0x3aa95a[_0x19d5a3(0x19b)]:_0x3e7227(_0x3aa95a)['length'];_0x43efa1['_socket']?_0x43efa1[_0x19d5a3(0x27c)]['_bufferedBytes']+=_0x1cc576:_0x43efa1['_bufferedAmount']+=_0x1cc576;}if(_0x3a982d){const _0x5ccb0e=new Error(_0x19d5a3(0x302)+_0x43efa1[_0x19d5a3(0x1ac)]+'\x20('+_0x4c161d[_0x43efa1[_0x19d5a3(0x1ac)]]+')');process[_0x19d5a3(0x2cb)](_0x3a982d,_0x5ccb0e);}}function _0x20abad(_0x2bc28d,_0x1c6f9d){const _0x7b4ff9=_0x59d71a,_0x15ed29=this[_0x22520d];_0x15ed29[_0x7b4ff9(0x322)]=!0x0,_0x15ed29[_0x7b4ff9(0x2d5)]=_0x1c6f9d,_0x15ed29[_0x7b4ff9(0x22d)]=_0x2bc28d,_0x15ed29[_0x7b4ff9(0x2b4)][_0x22520d]!==void 0x0&&(_0x15ed29[_0x7b4ff9(0x2b4)]['removeListener'](_0x7b4ff9(0x2cd),_0x553de3),process[_0x7b4ff9(0x2cb)](_0x5e084a,_0x15ed29[_0x7b4ff9(0x2b4)]),_0x2bc28d===0x3ed?_0x15ed29[_0x7b4ff9(0x32e)]():_0x15ed29[_0x7b4ff9(0x32e)](_0x2bc28d,_0x1c6f9d));}function _0x3d6071(){const _0x3229af=_0x59d71a,_0x2ef51a=this[_0x22520d];_0x2ef51a[_0x3229af(0x205)]||_0x2ef51a[_0x3229af(0x2b4)][_0x3229af(0x33f)]();}function _0x56d5da(_0x36a9bf){const _0x4339c3=_0x59d71a,_0x2f9624=this[_0x22520d];_0x2f9624[_0x4339c3(0x2b4)][_0x22520d]!==void 0x0&&(_0x2f9624[_0x4339c3(0x2b4)]['removeListener']('data',_0x553de3),process[_0x4339c3(0x2cb)](_0x5e084a,_0x2f9624[_0x4339c3(0x2b4)]),_0x2f9624[_0x4339c3(0x32e)](_0x36a9bf[_0x6e0f71])),_0x2f9624[_0x4339c3(0x1f0)]||(_0x2f9624['_errorEmitted']=!0x0,_0x2f9624[_0x4339c3(0x200)](_0x4339c3(0x1d2),_0x36a9bf));}function _0x3e19c4(){const _0x2368c3=_0x59d71a;this[_0x22520d][_0x2368c3(0x220)]();}function _0x3e0613(_0x49fee9,_0x4dfdbf){const _0x50657f=_0x59d71a;this[_0x22520d][_0x50657f(0x200)](_0x50657f(0x1f8),_0x49fee9,_0x4dfdbf);}function _0x3fd9a0(_0x27a3be){const _0xaf886e=_0x59d71a,_0x2c921e=this[_0x22520d];_0x2c921e[_0xaf886e(0x338)]&&_0x2c921e[_0xaf886e(0x295)](_0x27a3be,!this['_isServer'],_0x4c581f),_0x2c921e[_0xaf886e(0x200)]('ping',_0x27a3be);}function _0x3a5c8a(_0x4ae515){const _0x343d4b=_0x59d71a;this[_0x22520d]['emit'](_0x343d4b(0x295),_0x4ae515);}function _0x5e084a(_0x22c54d){const _0x4ec26b=_0x59d71a;_0x22c54d[_0x4ec26b(0x33f)]();}function _0x3da0e4(_0x55b898){const _0x31d4d9=_0x59d71a,_0x6ede01=this[_0x22520d];_0x6ede01[_0x31d4d9(0x1ac)]!==_0xeb4049[_0x31d4d9(0x329)]&&(_0x6ede01[_0x31d4d9(0x1ac)]===_0xeb4049[_0x31d4d9(0x304)]&&(_0x6ede01[_0x31d4d9(0x1e0)]=_0xeb4049[_0x31d4d9(0x1c0)],_0x58b6ac(_0x6ede01)),this[_0x31d4d9(0x2b4)][_0x31d4d9(0x1fa)](),_0x6ede01[_0x31d4d9(0x1f0)]||(_0x6ede01[_0x31d4d9(0x1f0)]=!0x0,_0x6ede01[_0x31d4d9(0x200)]('error',_0x55b898)));}function _0x58b6ac(_0x357c09){const _0x125515=_0x59d71a;_0x357c09[_0x125515(0x274)]=setTimeout(_0x357c09['_socket'][_0x125515(0x197)][_0x125515(0x255)](_0x357c09[_0x125515(0x2b4)]),_0xc499f1);}function _0x332615(){const _0xa3296a=_0x59d71a,_0x3e52bd=this[_0x22520d];this[_0xa3296a(0x327)](_0xa3296a(0x32e),_0x332615),this[_0xa3296a(0x327)](_0xa3296a(0x2cd),_0x553de3),this[_0xa3296a(0x327)]('end',_0x3b94ef),_0x3e52bd[_0xa3296a(0x1e0)]=_0xeb4049[_0xa3296a(0x1c0)];let _0x53730d;!this[_0xa3296a(0x2d0)][_0xa3296a(0x210)]&&!_0x3e52bd[_0xa3296a(0x322)]&&!_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]&&(_0x53730d=_0x3e52bd[_0xa3296a(0x2b4)]['read']())!==null&&_0x3e52bd[_0xa3296a(0x195)][_0xa3296a(0x2a9)](_0x53730d),_0x3e52bd['_receiver']['end'](),this[_0x22520d]=void 0x0,clearTimeout(_0x3e52bd[_0xa3296a(0x274)]),_0x3e52bd[_0xa3296a(0x195)]['_writableState']['finished']||_0x3e52bd[_0xa3296a(0x195)]['_writableState'][_0xa3296a(0x278)]?_0x3e52bd['emitClose']():(_0x3e52bd['_receiver']['on'](_0xa3296a(0x1d2),_0x3e19c4),_0x3e52bd[_0xa3296a(0x195)]['on'](_0xa3296a(0x1a7),_0x3e19c4));}function _0x553de3(_0x671453){const _0x1fc952=_0x59d71a;this[_0x22520d][_0x1fc952(0x195)][_0x1fc952(0x2a9)](_0x671453)||this['pause']();}function _0x3b94ef(){const _0x19b160=_0x59d71a,_0x19144a=this[_0x22520d];_0x19144a[_0x19b160(0x1e0)]=_0xeb4049[_0x19b160(0x1c0)],_0x19144a[_0x19b160(0x195)][_0x19b160(0x1fa)](),this['end']();}function _0x1b820e(){const _0x527ca6=_0x59d71a,_0x1c40a4=this[_0x22520d];this['removeListener'](_0x527ca6(0x1d2),_0x1b820e),this['on'](_0x527ca6(0x1d2),_0x4c581f),_0x1c40a4&&(_0x1c40a4[_0x527ca6(0x1e0)]=_0xeb4049[_0x527ca6(0x1c0)],this[_0x527ca6(0x197)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4138a9}=_0x4a4f82;function _0x17080b(_0x37d3d2){const _0x37b7f9=_0x3288;_0x37d3d2['emit'](_0x37b7f9(0x32e));}function _0x3ae5f6(){const _0x119fd2=_0x3288;!this[_0x119fd2(0x317)]&&this[_0x119fd2(0x1d3)][_0x119fd2(0x2e3)]&&this['destroy']();}function _0xfaf2b3(_0x384def){const _0x46dd75=_0x3288;this[_0x46dd75(0x327)](_0x46dd75(0x1d2),_0xfaf2b3),this[_0x46dd75(0x197)](),this[_0x46dd75(0x241)]('error')===0x0&&this[_0x46dd75(0x200)](_0x46dd75(0x1d2),_0x384def);}function _0xf3792f(_0x417065,_0x28e388){const _0xba2805=_0x3288;let _0x81427d=!0x0;const _0x56830d=new _0x4138a9({..._0x28e388,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x417065['on'](_0xba2805(0x1f8),function(_0x57b70e,_0x3863e8){const _0x1d6be2=_0xba2805,_0x5b20f2=!_0x3863e8&&_0x56830d[_0x1d6be2(0x2d0)][_0x1d6be2(0x313)]?_0x57b70e[_0x1d6be2(0x284)]():_0x57b70e;_0x56830d[_0x1d6be2(0x266)](_0x5b20f2)||_0x417065[_0x1d6be2(0x21c)]();}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x1d2),function(_0x4754ef){const _0x2abfdb=_0xba2805;_0x56830d[_0x2abfdb(0x317)]||(_0x81427d=!0x1,_0x56830d['destroy'](_0x4754ef));}),_0x417065[_0xba2805(0x1a3)](_0xba2805(0x32e),function(){const _0x534203=_0xba2805;_0x56830d[_0x534203(0x317)]||_0x56830d[_0x534203(0x266)](null);}),_0x56830d[_0xba2805(0x1aa)]=function(_0x484c1e,_0x1a1903){const _0x4156af=_0xba2805;if(_0x417065['readyState']===_0x417065[_0x4156af(0x329)]){_0x1a1903(_0x484c1e),process[_0x4156af(0x2cb)](_0x17080b,_0x56830d);return;}let _0x2500d6=!0x1;_0x417065[_0x4156af(0x1a3)](_0x4156af(0x1d2),function(_0x560c9c){_0x2500d6=!0x0,_0x1a1903(_0x560c9c);}),_0x417065['once'](_0x4156af(0x32e),function(){const _0xb496a7=_0x4156af;_0x2500d6||_0x1a1903(_0x484c1e),process[_0xb496a7(0x2cb)](_0x17080b,_0x56830d);}),_0x81427d&&_0x417065[_0x4156af(0x1ab)]();},_0x56830d[_0xba2805(0x301)]=function(_0x428237){const _0xa42d0d=_0xba2805;if(_0x417065[_0xa42d0d(0x1ac)]===_0x417065['CONNECTING']){_0x417065[_0xa42d0d(0x1a3)](_0xa42d0d(0x21f),function(){const _0x17e3a3=_0xa42d0d;_0x56830d[_0x17e3a3(0x301)](_0x428237);});return;}_0x417065[_0xa42d0d(0x2b4)]!==null&&(_0x417065[_0xa42d0d(0x2b4)][_0xa42d0d(0x1d3)][_0xa42d0d(0x2e3)]?(_0x428237(),_0x56830d['_readableState'][_0xa42d0d(0x210)]&&_0x56830d[_0xa42d0d(0x197)]()):(_0x417065[_0xa42d0d(0x2b4)]['once'](_0xa42d0d(0x1a7),function(){_0x428237();}),_0x417065[_0xa42d0d(0x32e)]()));},_0x56830d[_0xba2805(0x224)]=function(){const _0x2bb7cb=_0xba2805;_0x417065[_0x2bb7cb(0x205)]&&_0x417065[_0x2bb7cb(0x33f)]();},_0x56830d[_0xba2805(0x25f)]=function(_0x5b27a1,_0xc2fae4,_0x11d946){const _0x4b6e70=_0xba2805;if(_0x417065[_0x4b6e70(0x1ac)]===_0x417065[_0x4b6e70(0x1e1)]){_0x417065[_0x4b6e70(0x1a3)]('open',function(){const _0x5a9968=_0x4b6e70;_0x56830d[_0x5a9968(0x25f)](_0x5b27a1,_0xc2fae4,_0x11d946);});return;}_0x417065[_0x4b6e70(0x208)](_0x5b27a1,_0x11d946);},_0x56830d['on'](_0xba2805(0x1fa),_0x3ae5f6),_0x56830d['on'](_0xba2805(0x1d2),_0xfaf2b3),_0x56830d;}return Oe=_0xf3792f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x3081bc}=ne();function _0x9b6e19(_0x4b86be){const _0x2dd34c=_0x3288,_0x499d71=new Set();let _0x3fbee2=-0x1,_0x5992ec=-0x1,_0x5cd4c8=0x0;for(_0x5cd4c8;_0x5cd4c8<_0x4b86be[_0x2dd34c(0x2a6)];_0x5cd4c8++){const _0x2ac45f=_0x4b86be[_0x2dd34c(0x2dc)](_0x5cd4c8);if(_0x5992ec===-0x1&&_0x3081bc[_0x2ac45f]===0x1)_0x3fbee2===-0x1&&(_0x3fbee2=_0x5cd4c8);else{if(_0x5cd4c8!==0x0&&(_0x2ac45f===0x20||_0x2ac45f===0x9))_0x5992ec===-0x1&&_0x3fbee2!==-0x1&&(_0x5992ec=_0x5cd4c8);else{if(_0x2ac45f===0x2c){if(_0x3fbee2===-0x1)throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);_0x5992ec===-0x1&&(_0x5992ec=_0x5cd4c8);const _0x43568c=_0x4b86be[_0x2dd34c(0x293)](_0x3fbee2,_0x5992ec);if(_0x499d71['has'](_0x43568c))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x43568c+'\x22\x20subprotocol\x20is\x20duplicated');_0x499d71[_0x2dd34c(0x2ec)](_0x43568c),_0x3fbee2=_0x5992ec=-0x1;}else throw new SyntaxError(_0x2dd34c(0x216)+_0x5cd4c8);}}}if(_0x3fbee2===-0x1||_0x5992ec!==-0x1)throw new SyntaxError(_0x2dd34c(0x1ee));const _0x527266=_0x4b86be['slice'](_0x3fbee2,_0x5cd4c8);if(_0x499d71[_0x2dd34c(0x22b)](_0x527266))throw new SyntaxError(_0x2dd34c(0x2ea)+_0x527266+'\x22\x20subprotocol\x20is\x20duplicated');return _0x499d71[_0x2dd34c(0x2ec)](_0x527266),_0x499d71;}return Ce={'parse':_0x9b6e19},Ce;}var Te,ot;function er(){const _0x9220ea=_0x4f9298;if(ot)return Te;ot=0x1;const _0x1f257d=_0x58fb53,_0x204368=_0x359bc0,{Duplex:_0x590ae7}=_0x4a4f82,{createHash:_0x3b8add}=_0x5ef917,_0x2cefa3=pt(),_0x24c818=he(),_0x19c9d0=Jt(),_0x3994c5=Ie(),{GUID:_0x42120c,kWebSocket:_0x330bc8}=V(),_0x3a3324=/^[+/0-9A-Za-z]{22}==$/,_0x5188ac=0x0,_0x58d550=0x1,_0x1a388e=0x2;class _0xaedfa4 extends _0x1f257d{constructor(_0x44ebf5,_0x5b9829){const _0x3af0a7=_0x3288;if(super(),_0x44ebf5={'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':_0x3994c5,..._0x44ebf5},_0x44ebf5[_0x3af0a7(0x2c2)]==null&&!_0x44ebf5[_0x3af0a7(0x1cb)]&&!_0x44ebf5[_0x3af0a7(0x2c5)]||_0x44ebf5[_0x3af0a7(0x2c2)]!=null&&(_0x44ebf5['server']||_0x44ebf5[_0x3af0a7(0x2c5)])||_0x44ebf5[_0x3af0a7(0x1cb)]&&_0x44ebf5[_0x3af0a7(0x2c5)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x44ebf5['port']!=null?(this[_0x3af0a7(0x1d1)]=_0x204368['createServer']((_0xa72de2,_0x56b596)=>{const _0x4a06f6=_0x3af0a7,_0x583b65=_0x204368[_0x4a06f6(0x1dd)][0x1aa];_0x56b596['writeHead'](0x1aa,{'Content-Length':_0x583b65['length'],'Content-Type':_0x4a06f6(0x320)}),_0x56b596['end'](_0x583b65);}),this[_0x3af0a7(0x1d1)][_0x3af0a7(0x311)](_0x44ebf5[_0x3af0a7(0x2c2)],_0x44ebf5[_0x3af0a7(0x270)],_0x44ebf5['backlog'],_0x5b9829)):_0x44ebf5['server']&&(this['_server']=_0x44ebf5[_0x3af0a7(0x1cb)]),this['_server']){const _0x3d14dd=this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2db));this[_0x3af0a7(0x2ff)]=_0x3aaaa7(this[_0x3af0a7(0x1d1)],{'listening':this[_0x3af0a7(0x200)][_0x3af0a7(0x255)](this,_0x3af0a7(0x2bf)),'error':this[_0x3af0a7(0x200)]['bind'](this,_0x3af0a7(0x1d2)),'upgrade':(_0x4682ce,_0x5a7e91,_0x374d86)=>{const _0x5570eb=_0x3af0a7;this[_0x5570eb(0x1d6)](_0x4682ce,_0x5a7e91,_0x374d86,_0x3d14dd);}});}_0x44ebf5[_0x3af0a7(0x283)]===!0x0&&(_0x44ebf5[_0x3af0a7(0x283)]={}),_0x44ebf5[_0x3af0a7(0x2e9)]&&(this[_0x3af0a7(0x340)]=new Set(),this[_0x3af0a7(0x2bd)]=!0x1),this[_0x3af0a7(0x2b5)]=_0x44ebf5,this['_state']=_0x5188ac;}['address'](){const _0x575c91=_0x3288;if(this['options'][_0x575c91(0x2c5)])throw new Error(_0x575c91(0x228));return this['_server']?this[_0x575c91(0x1d1)][_0x575c91(0x21b)]():null;}[_0x9220ea(0x32e)](_0x295a8c){const _0x4fcbad=_0x9220ea;if(this[_0x4fcbad(0x2e1)]===_0x1a388e){_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),()=>{const _0x468000=_0x4fcbad;_0x295a8c(new Error(_0x468000(0x2ae)));}),process[_0x4fcbad(0x2cb)](_0x4b9159,this);return;}if(_0x295a8c&&this[_0x4fcbad(0x1a3)](_0x4fcbad(0x32e),_0x295a8c),this[_0x4fcbad(0x2e1)]!==_0x58d550){if(this[_0x4fcbad(0x2e1)]=_0x58d550,this[_0x4fcbad(0x2b5)]['noServer']||this['options']['server'])this['_server']&&(this['_removeListeners'](),this[_0x4fcbad(0x2ff)]=this['_server']=null),this['clients']?this[_0x4fcbad(0x340)][_0x4fcbad(0x19b)]?this[_0x4fcbad(0x2bd)]=!0x0:process[_0x4fcbad(0x2cb)](_0x4b9159,this):process[_0x4fcbad(0x2cb)](_0x4b9159,this);else{const _0x32f645=this[_0x4fcbad(0x1d1)];this[_0x4fcbad(0x2ff)](),this[_0x4fcbad(0x2ff)]=this[_0x4fcbad(0x1d1)]=null,_0x32f645[_0x4fcbad(0x32e)](()=>{_0x4b9159(this);});}}}[_0x9220ea(0x31f)](_0x481f95){const _0x12454c=_0x9220ea;if(this[_0x12454c(0x2b5)][_0x12454c(0x2f3)]){const _0x5523a9=_0x481f95[_0x12454c(0x232)][_0x12454c(0x212)]('?');if((_0x5523a9!==-0x1?_0x481f95[_0x12454c(0x232)][_0x12454c(0x293)](0x0,_0x5523a9):_0x481f95[_0x12454c(0x232)])!==this[_0x12454c(0x2b5)][_0x12454c(0x2f3)])return!0x1;}return!0x0;}[_0x9220ea(0x1d6)](_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8){const _0x85411=_0x9220ea;_0x4658d3['on'](_0x85411(0x1d2),_0x39ce3f);const _0x4bcd07=_0x1a171b[_0x85411(0x314)][_0x85411(0x27d)],_0x30065a=_0x1a171b[_0x85411(0x314)][_0x85411(0x24e)],_0x3857bd=+_0x1a171b[_0x85411(0x314)][_0x85411(0x282)];if(_0x1a171b[_0x85411(0x2a0)]!==_0x85411(0x29c)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x195,_0x85411(0x319));return;}if(_0x30065a===void 0x0||_0x30065a[_0x85411(0x275)]()!=='websocket'){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x257));return;}if(_0x4bcd07===void 0x0||!_0x3a3324[_0x85411(0x217)](_0x4bcd07)){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x3857bd!==0xd&&_0x3857bd!==0x8){_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,_0x85411(0x1c9),{'Sec-WebSocket-Version':_0x85411(0x1bc)});return;}if(!this[_0x85411(0x31f)](_0x1a171b)){_0x4eb348(_0x4658d3,0x190);return;}const _0x7dcd6a=_0x1a171b['headers'][_0x85411(0x2d8)];let _0x1ee95d=new Set();if(_0x7dcd6a!==void 0x0)try{_0x1ee95d=_0x19c9d0[_0x85411(0x28a)](_0x7dcd6a);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5b48df=_0x1a171b[_0x85411(0x314)]['sec-websocket-extensions'],_0x3d827b={};if(this[_0x85411(0x2b5)][_0x85411(0x283)]&&_0x5b48df!==void 0x0){const _0xc6e99b=new _0x24c818(this[_0x85411(0x2b5)]['perMessageDeflate'],!0x0,this['options'][_0x85411(0x240)]);try{const _0x193c55=_0x2cefa3[_0x85411(0x28a)](_0x5b48df);_0x193c55[_0x24c818[_0x85411(0x237)]]&&(_0xc6e99b[_0x85411(0x300)](_0x193c55[_0x24c818[_0x85411(0x237)]]),_0x3d827b[_0x24c818[_0x85411(0x237)]]=_0xc6e99b);}catch{_0x2117c3(this,_0x1a171b,_0x4658d3,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x85411(0x2b5)][_0x85411(0x1a9)]){const _0x1f2492={'origin':_0x1a171b[_0x85411(0x314)][''+(_0x3857bd===0x8?_0x85411(0x337):_0x85411(0x323))],'secure':!!(_0x1a171b[_0x85411(0x1b8)][_0x85411(0x260)]||_0x1a171b[_0x85411(0x1b8)][_0x85411(0x1fb)]),'req':_0x1a171b};if(this['options'][_0x85411(0x1a9)]['length']===0x2){this[_0x85411(0x2b5)][_0x85411(0x1a9)](_0x1f2492,(_0x3fad37,_0x3c02d6,_0x133174,_0x2aaabd)=>{const _0x4f4b95=_0x85411;if(!_0x3fad37)return _0x4eb348(_0x4658d3,_0x3c02d6||0x191,_0x133174,_0x2aaabd);this[_0x4f4b95(0x2f4)](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);});return;}if(!this[_0x85411(0x2b5)]['verifyClient'](_0x1f2492))return _0x4eb348(_0x4658d3,0x191);}this['completeUpgrade'](_0x3d827b,_0x4bcd07,_0x1ee95d,_0x1a171b,_0x4658d3,_0x560f2c,_0x18bbd8);}[_0x9220ea(0x2f4)](_0x68204e,_0x1b3fae,_0x1786c0,_0x56f02c,_0x4da62b,_0x1c22d4,_0xd13300){const _0x1ba5b3=_0x9220ea;if(!_0x4da62b['readable']||!_0x4da62b[_0x1ba5b3(0x2b2)])return _0x4da62b['destroy']();if(_0x4da62b[_0x330bc8])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x1ba5b3(0x2e1)]>_0x5188ac)return _0x4eb348(_0x4da62b,0x1f7);const _0x49650d=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1ba5b3(0x1ff),_0x1ba5b3(0x298),_0x1ba5b3(0x332)+_0x3b8add(_0x1ba5b3(0x1da))[_0x1ba5b3(0x1a0)](_0x1b3fae+_0x42120c)['digest'](_0x1ba5b3(0x1e4))],_0x5e0b30=new this[(_0x1ba5b3(0x2b5))][(_0x1ba5b3(0x2b0))](null,void 0x0,this['options']);if(_0x1786c0[_0x1ba5b3(0x19b)]){const _0x51880f=this[_0x1ba5b3(0x2b5)]['handleProtocols']?this[_0x1ba5b3(0x2b5)]['handleProtocols'](_0x1786c0,_0x56f02c):_0x1786c0[_0x1ba5b3(0x1a8)]()[_0x1ba5b3(0x225)]()['value'];_0x51880f&&(_0x49650d[_0x1ba5b3(0x266)]('Sec-WebSocket-Protocol:\x20'+_0x51880f),_0x5e0b30[_0x1ba5b3(0x2f7)]=_0x51880f);}if(_0x68204e[_0x24c818[_0x1ba5b3(0x237)]]){const _0x349c85=_0x68204e[_0x24c818[_0x1ba5b3(0x237)]][_0x1ba5b3(0x248)],_0x573361=_0x2cefa3[_0x1ba5b3(0x20f)]({[_0x24c818[_0x1ba5b3(0x237)]]:[_0x349c85]});_0x49650d[_0x1ba5b3(0x266)](_0x1ba5b3(0x29f)+_0x573361),_0x5e0b30['_extensions']=_0x68204e;}this['emit'](_0x1ba5b3(0x314),_0x49650d,_0x56f02c),_0x4da62b['write'](_0x49650d['concat']('\x0d\x0a')[_0x1ba5b3(0x1df)]('\x0d\x0a')),_0x4da62b[_0x1ba5b3(0x327)](_0x1ba5b3(0x1d2),_0x39ce3f),_0x5e0b30['setSocket'](_0x4da62b,_0x1c22d4,{'allowSynchronousEvents':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x268)],'maxPayload':this[_0x1ba5b3(0x2b5)]['maxPayload'],'skipUTF8Validation':this[_0x1ba5b3(0x2b5)][_0x1ba5b3(0x249)]}),this[_0x1ba5b3(0x340)]&&(this[_0x1ba5b3(0x340)][_0x1ba5b3(0x2ec)](_0x5e0b30),_0x5e0b30['on'](_0x1ba5b3(0x32e),()=>{const _0x327dcd=_0x1ba5b3;this['clients']['delete'](_0x5e0b30),this[_0x327dcd(0x2bd)]&&!this[_0x327dcd(0x340)][_0x327dcd(0x19b)]&&process[_0x327dcd(0x2cb)](_0x4b9159,this);})),_0xd13300(_0x5e0b30,_0x56f02c);}}Te=_0xaedfa4;function _0x3aaaa7(_0x102775,_0x523e58){const _0x1aec14=_0x9220ea;for(const _0x5255a6 of Object[_0x1aec14(0x2fa)](_0x523e58))_0x102775['on'](_0x5255a6,_0x523e58[_0x5255a6]);return function(){const _0x5b9987=_0x1aec14;for(const _0xf15e8b of Object[_0x5b9987(0x2fa)](_0x523e58))_0x102775[_0x5b9987(0x327)](_0xf15e8b,_0x523e58[_0xf15e8b]);};}function _0x4b9159(_0x10015d){const _0x13ef4e=_0x9220ea;_0x10015d[_0x13ef4e(0x2e1)]=_0x1a388e,_0x10015d[_0x13ef4e(0x200)](_0x13ef4e(0x32e));}function _0x39ce3f(){this['destroy']();}function _0x4eb348(_0x1ec401,_0x223f0e,_0x111167,_0x247733){const _0x428c94=_0x9220ea;_0x111167=_0x111167||_0x204368[_0x428c94(0x1dd)][_0x223f0e],_0x247733={'Connection':_0x428c94(0x32e),'Content-Type':_0x428c94(0x2a7),'Content-Length':Buffer[_0x428c94(0x1a5)](_0x111167),..._0x247733},_0x1ec401['once'](_0x428c94(0x1a7),_0x1ec401[_0x428c94(0x197)]),_0x1ec401[_0x428c94(0x1fa)](_0x428c94(0x2ce)+_0x223f0e+'\x20'+_0x204368[_0x428c94(0x1dd)][_0x223f0e]+'\x0d\x0a'+Object[_0x428c94(0x2fa)](_0x247733)['map'](_0xf0aa2e=>_0xf0aa2e+':\x20'+_0x247733[_0xf0aa2e])[_0x428c94(0x1df)]('\x0d\x0a')+_0x428c94(0x1cd)+_0x111167);}function _0x2117c3(_0x1f1e54,_0x16d2f5,_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f){const _0xeee378=_0x9220ea;if(_0x1f1e54[_0xeee378(0x241)](_0xeee378(0x1e9))){const _0x4c9487=new Error(_0x49c071);Error['captureStackTrace'](_0x4c9487,_0x2117c3),_0x1f1e54['emit'](_0xeee378(0x1e9),_0x4c9487,_0x1645b0,_0x16d2f5);}else _0x4eb348(_0x1645b0,_0x4a12e0,_0x49c071,_0xc7f12f);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x17c7b2,_0xf7794b,_0x4c4b07,_0x1b3e88)=>{const _0x1e0ad9=_0x4f9298;for(var _0x52be63=_0x1b3e88>0x1?void 0x0:_0x1b3e88?tr(_0xf7794b,_0x4c4b07):_0xf7794b,_0xbd2443=_0x17c7b2[_0x1e0ad9(0x2a6)]-0x1,_0x5e7062;_0xbd2443>=0x0;_0xbd2443--)(_0x5e7062=_0x17c7b2[_0xbd2443])&&(_0x52be63=_0x5e7062(_0x52be63)||_0x52be63);return _0x52be63;},sr=(_0x2e30e9,_0x25d6b4)=>(_0x185c3b,_0x39834d)=>_0x25d6b4(_0x185c3b,_0x39834d,_0x2e30e9);let Ne=class extends _0x8924c{constructor(_0x5beba6){const _0x51fbfc=_0x4f9298;super(),this[_0x51fbfc(0x2eb)]=_0x5beba6;}[_0x4f9298(0x291)](_0x2b39f5){const _0x459589=_0x4f9298;var _0x2aa397;const _0x3a3a59=(_0x2aa397=this['_configService']['getConfig'](Be))==null?void 0x0:_0x2aa397[_0x459589(0x242)];try{const _0x3a3147=new Qt(_0x2b39f5,{'headers':{..._0x3a3a59}}),_0x5b774e=new _0x23dc54();return{'URL':_0x2b39f5,'close':(_0x94f7c7,_0x1b7eb3)=>{const _0x38fe1e=_0x459589;_0x3a3147[_0x38fe1e(0x32e)](_0x94f7c7,_0x1b7eb3),_0x5b774e[_0x38fe1e(0x2b1)]();},'send':_0xfe7e5a=>{_0x3a3147['send'](_0xfe7e5a);},'open$':new _0x14354a(_0x5f2f2e=>{const _0x9bf60=_0x459589,_0x2827d9=_0x2134f5=>_0x5f2f2e[_0x9bf60(0x225)](_0x2134f5);_0x3a3147['addEventListener'](_0x9bf60(0x21f),_0x2827d9),_0x5b774e[_0x9bf60(0x2ec)](_0x550483(()=>_0x3a3147[_0x9bf60(0x30a)](_0x9bf60(0x21f),_0x2827d9)));})[_0x459589(0x27a)](_0x4b8ead()),'close$':new _0x14354a(_0x4b6c1d=>{const _0x5f087a=_0x459589,_0x263315=_0x14d033=>_0x4b6c1d[_0x5f087a(0x225)](_0x14d033);_0x3a3147[_0x5f087a(0x279)](_0x5f087a(0x32e),_0x263315),_0x5b774e[_0x5f087a(0x2ec)](_0x550483(()=>_0x3a3147['removeEventListener'](_0x5f087a(0x32e),_0x263315)));})['pipe'](_0x4b8ead()),'error$':new _0x14354a(_0x3e7672=>{const _0x1dfe78=_0x459589,_0x262e5f=_0x230347=>_0x3e7672[_0x1dfe78(0x225)](_0x230347);_0x3a3147[_0x1dfe78(0x279)](_0x1dfe78(0x1d2),_0x262e5f),_0x5b774e['add'](_0x550483(()=>_0x3a3147['removeEventListener'](_0x1dfe78(0x1d2),_0x262e5f)));})[_0x459589(0x27a)](_0x4b8ead()),'message$':new _0x14354a(_0x27e3a3=>{const _0x395d26=_0x459589,_0x1c1cb0=_0x3f5a75=>_0x27e3a3[_0x395d26(0x225)](_0x3f5a75);_0x3a3147['addEventListener'](_0x395d26(0x1f8),_0x1c1cb0),_0x5b774e[_0x395d26(0x2ec)](_0x550483(()=>_0x3a3147[_0x395d26(0x30a)](_0x395d26(0x1f8),_0x1c1cb0)));})['pipe'](_0x4b8ead())};}catch(_0x23a325){return console[_0x459589(0x1d2)](_0x23a325),null;}}};Ne=rr([sr(0x0,_0x134320)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x3a2d8a,_0x2c3587,_0x55037f)=>_0x2c3587 in _0x3a2d8a?ir(_0x3a2d8a,_0x2c3587,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55037f}):_0x3a2d8a[_0x2c3587]=_0x55037f,ar=(_0x4254e1,_0x55ebe6,_0x41204d,_0x15da26)=>{const _0xcfcafb=_0x4f9298;for(var _0x57b19a=_0x15da26>0x1?void 0x0:_0x15da26?nr(_0x55ebe6,_0x41204d):_0x55ebe6,_0x24332e=_0x4254e1[_0xcfcafb(0x2a6)]-0x1,_0x318ef9;_0x24332e>=0x0;_0x24332e--)(_0x318ef9=_0x4254e1[_0x24332e])&&(_0x57b19a=_0x318ef9(_0x57b19a)||_0x57b19a);return _0x57b19a;},ke=(_0x4ad09f,_0x34be5e)=>(_0x41f3b8,_0xb395a1)=>_0x34be5e(_0x41f3b8,_0xb395a1,_0x4ad09f),lr=(_0x1a359b,_0x1c74db,_0x497349)=>or(_0x1a359b,_0x1c74db+'',_0x497349);let Pe=class extends _0x31a6de{constructor(_0x2ce58a=Ft,_0x3168c8,_0x3645f2,_0x5d2754){const _0xef4ac8=_0x4f9298;_0x2ce58a['customHeaders']||_0x3168c8[_0xef4ac8(0x316)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0xef4ac8(0x2eb)]=_0x3645f2,this[_0xef4ac8(0x2b3)]=_0x5d2754,this['_configService'][_0xef4ac8(0x25d)](Be,_0x2ce58a);}[_0x4f9298(0x1c7)](){const _0x1b5568=_0x4f9298;this[_0x1b5568(0x20c)]();}[_0x4f9298(0x20c)](){const _0x218c74=_0x4f9298;_0x4ffcc3(this[_0x218c74(0x2b3)],[[_0x15b46e,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4f9298(0x334)),Pe=ar([_0x333582(_0x554f19),ke(0x1,_0x3e32c0),ke(0x2,_0x134320),ke(0x3,_0x16e21f(_0x107d18))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0xf68de5,_0x310eda,_0x553505,_0x15ac08)=>{for(var _0x247677=_0x15ac08>0x1?void 0x0:_0x15ac08?fr(_0x310eda,_0x553505):_0x310eda,_0x51654b=_0xf68de5['length']-0x1,_0x2fbdb7;_0x51654b>=0x0;_0x51654b--)(_0x2fbdb7=_0xf68de5[_0x51654b])&&(_0x247677=_0x2fbdb7(_0x247677)||_0x247677);return _0x247677;},se=(_0x2df002,_0x95149b)=>(_0x49ce30,_0x2deb5c)=>_0x95149b(_0x49ce30,_0x2deb5c,_0x2df002);let at=class extends _0x374091{constructor(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a){const _0x377225=_0x4f9298;super(_0x4473e5,_0x1d9838,_0x3052c0,_0x1ee6e7,_0x1fa28a);const _0x526a51=this[_0x377225(0x2eb)][_0x377225(0x2e6)](Be);this[_0x377225(0x29a)][_0x377225(0x1d5)]({'interceptor':(_0x15c776,_0x4cc04f)=>{const _0x27e3fc=_0x377225;var _0x2d0937;const _0x3e5ef2=_0x15c776[_0x27e3fc(0x314)];return(_0x2d0937=_0x526a51==null?void 0x0:_0x526a51[_0x27e3fc(0x242)])!=null&&_0x2d0937[_0x27e3fc(0x30e)]&&_0x3e5ef2[_0x27e3fc(0x2ad)](_0x27e3fc(0x199),_0x526a51[_0x27e3fc(0x242)]['cookie']),_0x4cc04f(_0x15c776);}});}async['createSocket'](_0x4b1274){const _0x49056a=_0x4f9298;return this[_0x49056a(0x1f2)](_0x4b1274);}};at=cr([se(0x0,_0x16e21f(_0x107d18)),se(0x1,_0x16e21f(_0x1c37c7)),se(0x2,_0x134320),se(0x3,_0x3e32c0),se(0x4,_0x3f00fe)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|