@univerjs-pro/collaboration-client-node 0.10.11-nightly.202510220308 → 0.10.12-nightly.202510221114
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 _0x1fe17d=_0x2595;(function(_0x36bc3d,_0x4b40d7){const _0x2d0a39=_0x2595,_0x48e21b=_0x36bc3d();while(!![]){try{const _0x1c6ed4=parseInt(_0x2d0a39(0x29f))/0x1*(-parseInt(_0x2d0a39(0x2a3))/0x2)+parseInt(_0x2d0a39(0x26c))/0x3+-parseInt(_0x2d0a39(0x277))/0x4*(-parseInt(_0x2d0a39(0x180))/0x5)+-parseInt(_0x2d0a39(0x197))/0x6+parseInt(_0x2d0a39(0x2de))/0x7+parseInt(_0x2d0a39(0x176))/0x8*(-parseInt(_0x2d0a39(0x1ba))/0x9)+parseInt(_0x2d0a39(0x28b))/0xa;if(_0x1c6ed4===_0x4b40d7)break;else _0x48e21b['push'](_0x48e21b['shift']());}catch(_0x5a01ff){_0x48e21b['push'](_0x48e21b['shift']());}}}(_0x3207,0xb698e));import{UniverCollaborationClientPlugin as _0x4840a6,CollaborationSocketService as _0x56e87c}from'@univerjs-pro/collaboration-client';import{Disposable as _0x30c579,DisposableCollection as _0x544af9,toDisposable as _0x37ad3d,IConfigService as _0x202320,DependentOn as _0x1e9181,ILogService as _0x3eb4ec,Inject as _0x3f5b54,Injector as _0x23012d,Plugin as _0x1a826d,registerDependencies as _0x6159e2}from'@univerjs/core';import{ISocketService as _0x4523e5,HTTPService as _0x12da3d}from'@univerjs/network';import{Observable as _0x4ffd49,share as _0x2a2a9c}from'rxjs';import _0x57a0fe from'events';import _0xaa1092 from'https';import _0x146c13 from'http';import _0x5dfae6 from'net';import _0xe9d4d2 from'tls';import _0x516edb from'crypto';import _0x56778d from'stream';import _0x5a19bc from'url';import _0x3dedc4 from'zlib';import _0x4e5adf from'buffer';import{ISnapshotServerService as _0x163ae8}from'@univerjs-pro/collaboration';const Be=_0x1fe17d(0x2e8),Ft={'customHeaders':{}};function Wt(_0x1d11d3){const _0x4e7b13=_0x1fe17d;return _0x1d11d3&&_0x1d11d3[_0x4e7b13(0x2f9)]&&Object[_0x4e7b13(0x218)][_0x4e7b13(0x24e)][_0x4e7b13(0x2ad)](_0x1d11d3,'default')?_0x1d11d3[_0x4e7b13(0x2fd)]:_0x1d11d3;}function ut(_0x3489db){const _0x249d49=_0x1fe17d;if(Object[_0x249d49(0x218)]['hasOwnProperty'][_0x249d49(0x2ad)](_0x3489db,'__esModule'))return _0x3489db;var _0x5e5ecf=_0x3489db[_0x249d49(0x2fd)];if(typeof _0x5e5ecf==_0x249d49(0x29b)){var _0x296294=function _0x476dba(){const _0x5221b9=_0x249d49;var _0x47f9be=!0x1;try{_0x47f9be=this instanceof _0x476dba;}catch{}return _0x47f9be?Reflect['construct'](_0x5e5ecf,arguments,this[_0x5221b9(0x287)]):_0x5e5ecf[_0x5221b9(0x2b0)](this,arguments);};_0x296294[_0x249d49(0x218)]=_0x5e5ecf[_0x249d49(0x218)];}else _0x296294={};return Object[_0x249d49(0x16e)](_0x296294,_0x249d49(0x2f9),{'value':!0x0}),Object[_0x249d49(0x205)](_0x3489db)['forEach'](function(_0x3c86cd){const _0xbfb664=_0x249d49;var _0x1216e9=Object[_0xbfb664(0x257)](_0x3489db,_0x3c86cd);Object[_0xbfb664(0x16e)](_0x296294,_0x3c86cd,_0x1216e9[_0xbfb664(0x173)]?_0x1216e9:{'enumerable':!0x0,'get':function(){return _0x3489db[_0x3c86cd];}});}),_0x296294;}var te={'exports':{}},ge,Ye;function V(){const _0x35ef83=_0x1fe17d;if(Ye)return ge;Ye=0x1;const _0x40f149=[_0x35ef83(0x2eb),_0x35ef83(0x269),_0x35ef83(0x243)],_0x49f96d=typeof Blob<'u';return _0x49f96d&&_0x40f149[_0x35ef83(0x1ec)](_0x35ef83(0x162)),ge={'BINARY_TYPES':_0x40f149,'EMPTY_BUFFER':Buffer[_0x35ef83(0x2cd)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x49f96d,'kForOnEventAttribute':Symbol(_0x35ef83(0x1b4)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x35ef83(0x1bf)),'kWebSocket':Symbol(_0x35ef83(0x2b2)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x1fe17d(0x16e)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x1fe17d(0x1b2)})),Vt=ut(Gt);var Ke;function ce(){const _0x4bc7c7=_0x1fe17d;if(Ke)return te[_0x4bc7c7(0x2df)];Ke=0x1;const {EMPTY_BUFFER:_0x2d5fe4}=V(),_0x543886=Buffer[Symbol[_0x4bc7c7(0x290)]];function _0x4c786a(_0x3c5b5e,_0x3a1024){const _0x1204d2=_0x4bc7c7;if(_0x3c5b5e[_0x1204d2(0x251)]===0x0)return _0x2d5fe4;if(_0x3c5b5e[_0x1204d2(0x251)]===0x1)return _0x3c5b5e[0x0];const _0x5eeffb=Buffer[_0x1204d2(0x1d9)](_0x3a1024);let _0x50f552=0x0;for(let _0xa19a24=0x0;_0xa19a24<_0x3c5b5e[_0x1204d2(0x251)];_0xa19a24++){const _0x34af3c=_0x3c5b5e[_0xa19a24];_0x5eeffb[_0x1204d2(0x1f8)](_0x34af3c,_0x50f552),_0x50f552+=_0x34af3c[_0x1204d2(0x251)];}return _0x50f552<_0x3a1024?new _0x543886(_0x5eeffb[_0x1204d2(0x228)],_0x5eeffb[_0x1204d2(0x256)],_0x50f552):_0x5eeffb;}function _0x46e28e(_0x4356ee,_0x6f2718,_0xae83f4,_0x3c9ab8,_0x2d70c2){for(let _0x3df583=0x0;_0x3df583<_0x2d70c2;_0x3df583++)_0xae83f4[_0x3c9ab8+_0x3df583]=_0x4356ee[_0x3df583]^_0x6f2718[_0x3df583&0x3];}function _0x5ba90c(_0xcba923,_0x363065){const _0x4098e1=_0x4bc7c7;for(let _0x3c1b70=0x0;_0x3c1b70<_0xcba923[_0x4098e1(0x251)];_0x3c1b70++)_0xcba923[_0x3c1b70]^=_0x363065[_0x3c1b70&0x3];}function _0xfde776(_0x43528a){const _0x3c053a=_0x4bc7c7;return _0x43528a['length']===_0x43528a[_0x3c053a(0x228)][_0x3c053a(0x1fa)]?_0x43528a[_0x3c053a(0x228)]:_0x43528a[_0x3c053a(0x228)][_0x3c053a(0x15d)](_0x43528a[_0x3c053a(0x256)],_0x43528a[_0x3c053a(0x256)]+_0x43528a[_0x3c053a(0x251)]);}function _0x158809(_0x3b22d9){const _0x28ac6b=_0x4bc7c7;if(_0x158809[_0x28ac6b(0x28c)]=!0x0,Buffer[_0x28ac6b(0x200)](_0x3b22d9))return _0x3b22d9;let _0x1f6bc7;return _0x3b22d9 instanceof ArrayBuffer?_0x1f6bc7=new _0x543886(_0x3b22d9):ArrayBuffer[_0x28ac6b(0x26b)](_0x3b22d9)?_0x1f6bc7=new _0x543886(_0x3b22d9[_0x28ac6b(0x228)],_0x3b22d9[_0x28ac6b(0x256)],_0x3b22d9[_0x28ac6b(0x1fa)]):(_0x1f6bc7=Buffer[_0x28ac6b(0x1e5)](_0x3b22d9),_0x158809[_0x28ac6b(0x28c)]=!0x1),_0x1f6bc7;}if(te[_0x4bc7c7(0x2df)]={'concat':_0x4c786a,'mask':_0x46e28e,'toArrayBuffer':_0xfde776,'toBuffer':_0x158809,'unmask':_0x5ba90c},!process[_0x4bc7c7(0x284)][_0x4bc7c7(0x2d0)])try{const _0x243844=Vt;te[_0x4bc7c7(0x2df)][_0x4bc7c7(0x2ab)]=function(_0x154928,_0x7bca5e,_0x357bdb,_0x311ee3,_0x1d7c98){const _0x15896c=_0x4bc7c7;_0x1d7c98<0x30?_0x46e28e(_0x154928,_0x7bca5e,_0x357bdb,_0x311ee3,_0x1d7c98):_0x243844[_0x15896c(0x2ab)](_0x154928,_0x7bca5e,_0x357bdb,_0x311ee3,_0x1d7c98);},te['exports'][_0x4bc7c7(0x303)]=function(_0x47d2bd,_0x11fe6a){const _0x40040e=_0x4bc7c7;_0x47d2bd[_0x40040e(0x251)]<0x20?_0x5ba90c(_0x47d2bd,_0x11fe6a):_0x243844['unmask'](_0x47d2bd,_0x11fe6a);};}catch{}return te[_0x4bc7c7(0x2df)];}var ye,Xe;function qt(){const _0x5e92b8=_0x1fe17d;if(Xe)return ye;Xe=0x1;const _0xf2a84d=Symbol(_0x5e92b8(0x2c8)),_0x4a2160=Symbol(_0x5e92b8(0x2d9));class _0x3f1ee6{constructor(_0x915780){const _0x40a95d=_0x5e92b8;this[_0xf2a84d]=()=>{const _0x2e76db=_0x2595;this[_0x2e76db(0x293)]--,this[_0x4a2160]();},this[_0x40a95d(0x2ef)]=_0x915780||0x1/0x0,this[_0x40a95d(0x214)]=[],this[_0x40a95d(0x293)]=0x0;}[_0x5e92b8(0x22e)](_0xa31e2a){const _0x562d2b=_0x5e92b8;this['jobs'][_0x562d2b(0x1ec)](_0xa31e2a),this[_0x4a2160]();}[_0x4a2160](){const _0x4caa9c=_0x5e92b8;if(this[_0x4caa9c(0x293)]!==this[_0x4caa9c(0x2ef)]&&this['jobs']['length']){const _0x45ee44=this[_0x4caa9c(0x214)]['shift']();this[_0x4caa9c(0x293)]++,_0x45ee44(this[_0xf2a84d]);}}}return ye=_0x3f1ee6,ye;}var ve,Ze;function _0x2595(_0x4eff5b,_0x3bb426){const _0x3207c1=_0x3207();return _0x2595=function(_0x25954b,_0x16dea8){_0x25954b=_0x25954b-0x150;let _0x59f7b4=_0x3207c1[_0x25954b];return _0x59f7b4;},_0x2595(_0x4eff5b,_0x3bb426);}function he(){const _0xfcada0=_0x1fe17d;if(Ze)return ve;Ze=0x1;const _0x22c7cb=_0x3dedc4,_0x438ed3=ce(),_0x48aaf8=qt(),{kStatusCode:_0x2302cd}=V(),_0x4a81c0=Buffer[Symbol[_0xfcada0(0x290)]],_0x4658aa=Buffer[_0xfcada0(0x1e5)]([0x0,0x0,0xff,0xff]),_0x3c5763=Symbol(_0xfcada0(0x225)),_0x5247e2=Symbol(_0xfcada0(0x2aa)),_0x589cc1=Symbol('callback'),_0x420ef3=Symbol(_0xfcada0(0x279)),_0x249440=Symbol('error');let _0xf24eaf;class _0x48bb3c{constructor(_0x1af170,_0xb96436,_0x49f82a){const _0x2bdb7a=_0xfcada0;if(this[_0x2bdb7a(0x2ee)]=_0x49f82a|0x0,this[_0x2bdb7a(0x30b)]=_0x1af170||{},this[_0x2bdb7a(0x275)]=this[_0x2bdb7a(0x30b)][_0x2bdb7a(0x192)]!==void 0x0?this['_options'][_0x2bdb7a(0x192)]:0x400,this[_0x2bdb7a(0x300)]=!!_0xb96436,this['_deflate']=null,this[_0x2bdb7a(0x294)]=null,this[_0x2bdb7a(0x24b)]=null,!_0xf24eaf){const _0xdfba10=this[_0x2bdb7a(0x30b)][_0x2bdb7a(0x230)]!==void 0x0?this[_0x2bdb7a(0x30b)]['concurrencyLimit']:0xa;_0xf24eaf=new _0x48aaf8(_0xdfba10);}}static get[_0xfcada0(0x1e1)](){const _0xab0802=_0xfcada0;return _0xab0802(0x225);}[_0xfcada0(0x23c)](){const _0x53294d=_0xfcada0,_0x199e41={};return this['_options'][_0x53294d(0x193)]&&(_0x199e41[_0x53294d(0x1e2)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x199e41[_0x53294d(0x1ca)]=!0x0),this[_0x53294d(0x30b)]['serverMaxWindowBits']&&(_0x199e41[_0x53294d(0x1c6)]=this[_0x53294d(0x30b)][_0x53294d(0x172)]),this[_0x53294d(0x30b)]['clientMaxWindowBits']?_0x199e41[_0x53294d(0x155)]=this[_0x53294d(0x30b)]['clientMaxWindowBits']:this[_0x53294d(0x30b)]['clientMaxWindowBits']==null&&(_0x199e41[_0x53294d(0x155)]=!0x0),_0x199e41;}[_0xfcada0(0x219)](_0x4769a6){const _0x468448=_0xfcada0;return _0x4769a6=this[_0x468448(0x15a)](_0x4769a6),this[_0x468448(0x24b)]=this[_0x468448(0x300)]?this['acceptAsServer'](_0x4769a6):this[_0x468448(0x291)](_0x4769a6),this[_0x468448(0x24b)];}[_0xfcada0(0x150)](){const _0x54eacb=_0xfcada0;if(this[_0x54eacb(0x294)]&&(this[_0x54eacb(0x294)][_0x54eacb(0x274)](),this[_0x54eacb(0x294)]=null),this[_0x54eacb(0x264)]){const _0x16ff27=this[_0x54eacb(0x264)][_0x589cc1];this[_0x54eacb(0x264)][_0x54eacb(0x274)](),this[_0x54eacb(0x264)]=null,_0x16ff27&&_0x16ff27(new Error(_0x54eacb(0x24f)));}}[_0xfcada0(0x208)](_0x977f79){const _0x152fc1=_0xfcada0,_0x2fa892=this[_0x152fc1(0x30b)],_0xb1a864=_0x977f79[_0x152fc1(0x263)](_0x210e94=>!(_0x2fa892[_0x152fc1(0x193)]===!0x1&&_0x210e94[_0x152fc1(0x1e2)]||_0x210e94[_0x152fc1(0x1c6)]&&(_0x2fa892[_0x152fc1(0x172)]===!0x1||typeof _0x2fa892[_0x152fc1(0x172)]==_0x152fc1(0x183)&&_0x2fa892['serverMaxWindowBits']>_0x210e94[_0x152fc1(0x1c6)])||typeof _0x2fa892[_0x152fc1(0x26e)]==_0x152fc1(0x183)&&!_0x210e94[_0x152fc1(0x155)]));if(!_0xb1a864)throw new Error(_0x152fc1(0x159));return _0x2fa892[_0x152fc1(0x193)]&&(_0xb1a864[_0x152fc1(0x1e2)]=!0x0),_0x2fa892[_0x152fc1(0x1a3)]&&(_0xb1a864[_0x152fc1(0x1ca)]=!0x0),typeof _0x2fa892[_0x152fc1(0x172)]==_0x152fc1(0x183)&&(_0xb1a864[_0x152fc1(0x1c6)]=_0x2fa892[_0x152fc1(0x172)]),typeof _0x2fa892[_0x152fc1(0x26e)]==_0x152fc1(0x183)?_0xb1a864[_0x152fc1(0x155)]=_0x2fa892['clientMaxWindowBits']:(_0xb1a864[_0x152fc1(0x155)]===!0x0||_0x2fa892[_0x152fc1(0x26e)]===!0x1)&&delete _0xb1a864[_0x152fc1(0x155)],_0xb1a864;}[_0xfcada0(0x291)](_0x46239f){const _0xddc38=_0xfcada0,_0x8b5d39=_0x46239f[0x0];if(this[_0xddc38(0x30b)][_0xddc38(0x1a3)]===!0x1&&_0x8b5d39[_0xddc38(0x1ca)])throw new Error(_0xddc38(0x23b));if(!_0x8b5d39[_0xddc38(0x155)])typeof this[_0xddc38(0x30b)][_0xddc38(0x26e)]==_0xddc38(0x183)&&(_0x8b5d39['client_max_window_bits']=this[_0xddc38(0x30b)]['clientMaxWindowBits']);else{if(this['_options'][_0xddc38(0x26e)]===!0x1||typeof this['_options'][_0xddc38(0x26e)]==_0xddc38(0x183)&&_0x8b5d39[_0xddc38(0x155)]>this[_0xddc38(0x30b)][_0xddc38(0x26e)])throw new Error(_0xddc38(0x245));}return _0x8b5d39;}[_0xfcada0(0x15a)](_0x4eaa28){const _0x28ff78=_0xfcada0;return _0x4eaa28[_0x28ff78(0x17d)](_0x51438e=>{const _0x4bf546=_0x28ff78;Object[_0x4bf546(0x205)](_0x51438e)['forEach'](_0x54cb77=>{const _0x2b9684=_0x4bf546;let _0x11b301=_0x51438e[_0x54cb77];if(_0x11b301[_0x2b9684(0x251)]>0x1)throw new Error('Parameter\x20\x22'+_0x54cb77+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x11b301=_0x11b301[0x0],_0x54cb77===_0x2b9684(0x155)){if(_0x11b301!==!0x0){const _0x12d40e=+_0x11b301;if(!Number[_0x2b9684(0x29a)](_0x12d40e)||_0x12d40e<0x8||_0x12d40e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x54cb77+'\x22:\x20'+_0x11b301);_0x11b301=_0x12d40e;}else{if(!this[_0x2b9684(0x300)])throw new TypeError(_0x2b9684(0x2bf)+_0x54cb77+_0x2b9684(0x308)+_0x11b301);}}else{if(_0x54cb77===_0x2b9684(0x1c6)){const _0xaee5a0=+_0x11b301;if(!Number[_0x2b9684(0x29a)](_0xaee5a0)||_0xaee5a0<0x8||_0xaee5a0>0xf)throw new TypeError(_0x2b9684(0x2bf)+_0x54cb77+_0x2b9684(0x308)+_0x11b301);_0x11b301=_0xaee5a0;}else{if(_0x54cb77===_0x2b9684(0x1ca)||_0x54cb77==='server_no_context_takeover'){if(_0x11b301!==!0x0)throw new TypeError(_0x2b9684(0x2bf)+_0x54cb77+'\x22:\x20'+_0x11b301);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x54cb77+'\x22');}}_0x51438e[_0x54cb77]=_0x11b301;});}),_0x4eaa28;}[_0xfcada0(0x246)](_0x256628,_0x4aef5d,_0x6f566f){const _0x572706=_0xfcada0;_0xf24eaf[_0x572706(0x22e)](_0x476c98=>{const _0x2722ca=_0x572706;this[_0x2722ca(0x2ed)](_0x256628,_0x4aef5d,(_0x2427f7,_0x343407)=>{_0x476c98(),_0x6f566f(_0x2427f7,_0x343407);});});}[_0xfcada0(0x18b)](_0x4d3178,_0x1d9771,_0x3c445c){const _0x4c6de0=_0xfcada0;_0xf24eaf[_0x4c6de0(0x22e)](_0x581bc8=>{const _0x413d55=_0x4c6de0;this[_0x413d55(0x1e9)](_0x4d3178,_0x1d9771,(_0x49a348,_0x5a597d)=>{_0x581bc8(),_0x3c445c(_0x49a348,_0x5a597d);});});}[_0xfcada0(0x2ed)](_0x1cc197,_0x4fd751,_0x57d5f4){const _0x455e87=_0xfcada0,_0x4a1db2=this[_0x455e87(0x300)]?'client':_0x455e87(0x2e6);if(!this[_0x455e87(0x294)]){const _0x955692=_0x4a1db2+'_max_window_bits',_0x465544=typeof this[_0x455e87(0x24b)][_0x955692]!='number'?_0x22c7cb[_0x455e87(0x22a)]:this['params'][_0x955692];this[_0x455e87(0x294)]=_0x22c7cb[_0x455e87(0x254)]({...this['_options'][_0x455e87(0x25c)],'windowBits':_0x465544}),this['_inflate'][_0x3c5763]=this,this[_0x455e87(0x294)][_0x5247e2]=0x0,this[_0x455e87(0x294)][_0x420ef3]=[],this[_0x455e87(0x294)]['on'](_0x455e87(0x1fe),_0x58f54c),this[_0x455e87(0x294)]['on'](_0x455e87(0x276),_0x399e4c);}this[_0x455e87(0x294)][_0x589cc1]=_0x57d5f4,this[_0x455e87(0x294)][_0x455e87(0x1eb)](_0x1cc197),_0x4fd751&&this['_inflate'][_0x455e87(0x1eb)](_0x4658aa),this[_0x455e87(0x294)][_0x455e87(0x179)](()=>{const _0x1f1766=_0x455e87,_0x15de65=this[_0x1f1766(0x294)][_0x249440];if(_0x15de65){this[_0x1f1766(0x294)][_0x1f1766(0x274)](),this['_inflate']=null,_0x57d5f4(_0x15de65);return;}const _0x890b13=_0x438ed3['concat'](this[_0x1f1766(0x294)][_0x420ef3],this[_0x1f1766(0x294)][_0x5247e2]);this['_inflate'][_0x1f1766(0x152)][_0x1f1766(0x249)]?(this[_0x1f1766(0x294)][_0x1f1766(0x274)](),this[_0x1f1766(0x294)]=null):(this[_0x1f1766(0x294)][_0x5247e2]=0x0,this[_0x1f1766(0x294)][_0x420ef3]=[],_0x4fd751&&this[_0x1f1766(0x24b)][_0x4a1db2+_0x1f1766(0x30a)]&&this['_inflate'][_0x1f1766(0x298)]()),_0x57d5f4(null,_0x890b13);});}[_0xfcada0(0x1e9)](_0x39b57e,_0x40367b,_0x632b6d){const _0x21e03d=_0xfcada0,_0x57c7ec=this[_0x21e03d(0x300)]?_0x21e03d(0x2e6):_0x21e03d(0x1e0);if(!this[_0x21e03d(0x264)]){const _0xc473ac=_0x57c7ec+_0x21e03d(0x309),_0x1ffbba=typeof this[_0x21e03d(0x24b)][_0xc473ac]!='number'?_0x22c7cb[_0x21e03d(0x22a)]:this[_0x21e03d(0x24b)][_0xc473ac];this[_0x21e03d(0x264)]=_0x22c7cb[_0x21e03d(0x2cf)]({...this[_0x21e03d(0x30b)][_0x21e03d(0x282)],'windowBits':_0x1ffbba}),this[_0x21e03d(0x264)][_0x5247e2]=0x0,this[_0x21e03d(0x264)][_0x420ef3]=[],this[_0x21e03d(0x264)]['on'](_0x21e03d(0x276),_0x33e960);}this[_0x21e03d(0x264)][_0x589cc1]=_0x632b6d,this[_0x21e03d(0x264)][_0x21e03d(0x1eb)](_0x39b57e),this[_0x21e03d(0x264)][_0x21e03d(0x179)](_0x22c7cb[_0x21e03d(0x1fc)],()=>{const _0x1957b7=_0x21e03d;if(!this[_0x1957b7(0x264)])return;let _0x101692=_0x438ed3['concat'](this['_deflate'][_0x420ef3],this[_0x1957b7(0x264)][_0x5247e2]);_0x40367b&&(_0x101692=new _0x4a81c0(_0x101692[_0x1957b7(0x228)],_0x101692[_0x1957b7(0x256)],_0x101692['length']-0x4)),this['_deflate'][_0x589cc1]=null,this[_0x1957b7(0x264)][_0x5247e2]=0x0,this[_0x1957b7(0x264)][_0x420ef3]=[],_0x40367b&&this[_0x1957b7(0x24b)][_0x57c7ec+_0x1957b7(0x30a)]&&this['_deflate'][_0x1957b7(0x298)](),_0x632b6d(null,_0x101692);});}}ve=_0x48bb3c;function _0x33e960(_0x3db89f){const _0x28cbf9=_0xfcada0;this[_0x420ef3][_0x28cbf9(0x1ec)](_0x3db89f),this[_0x5247e2]+=_0x3db89f[_0x28cbf9(0x251)];}function _0x399e4c(_0x30d401){const _0x5c5d1e=_0xfcada0;if(this[_0x5247e2]+=_0x30d401['length'],this[_0x3c5763][_0x5c5d1e(0x2ee)]<0x1||this[_0x5247e2]<=this[_0x3c5763]['_maxPayload']){this[_0x420ef3][_0x5c5d1e(0x1ec)](_0x30d401);return;}this[_0x249440]=new RangeError(_0x5c5d1e(0x26f)),this[_0x249440][_0x5c5d1e(0x26a)]=_0x5c5d1e(0x1a4),this[_0x249440][_0x2302cd]=0x3f1,this['removeListener'](_0x5c5d1e(0x276),_0x399e4c),this[_0x5c5d1e(0x298)]();}function _0x58f54c(_0xbf63f0){const _0x46aa14=_0xfcada0;if(this[_0x3c5763][_0x46aa14(0x294)]=null,this[_0x249440]){this[_0x589cc1](this[_0x249440]);return;}_0xbf63f0[_0x2302cd]=0x3ef,this[_0x589cc1](_0xbf63f0);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x1fe17d(0x16e)]({'__proto__':null,'default':Ht},Symbol[_0x1fe17d(0x281)],{'value':_0x1fe17d(0x1b2)})),Yt=ut(zt);var Qe;function ne(){const _0x4dd220=_0x1fe17d;if(Qe)return re[_0x4dd220(0x2df)];Qe=0x1;const {isUtf8:_0x43a650}=_0x4e5adf,{hasBlob:_0xc590fd}=V(),_0x2070d9=[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 _0x4ea831(_0x439d0b){return _0x439d0b>=0x3e8&&_0x439d0b<=0x3f6&&_0x439d0b!==0x3ec&&_0x439d0b!==0x3ed&&_0x439d0b!==0x3ee||_0x439d0b>=0xbb8&&_0x439d0b<=0x1387;}function _0x3061cc(_0x3129d6){const _0x4f1485=_0x3129d6['length'];let _0x2c06e4=0x0;for(;_0x2c06e4<_0x4f1485;)if((_0x3129d6[_0x2c06e4]&0x80)===0x0)_0x2c06e4++;else{if((_0x3129d6[_0x2c06e4]&0xe0)===0xc0){if(_0x2c06e4+0x1===_0x4f1485||(_0x3129d6[_0x2c06e4+0x1]&0xc0)!==0x80||(_0x3129d6[_0x2c06e4]&0xfe)===0xc0)return!0x1;_0x2c06e4+=0x2;}else{if((_0x3129d6[_0x2c06e4]&0xf0)===0xe0){if(_0x2c06e4+0x2>=_0x4f1485||(_0x3129d6[_0x2c06e4+0x1]&0xc0)!==0x80||(_0x3129d6[_0x2c06e4+0x2]&0xc0)!==0x80||_0x3129d6[_0x2c06e4]===0xe0&&(_0x3129d6[_0x2c06e4+0x1]&0xe0)===0x80||_0x3129d6[_0x2c06e4]===0xed&&(_0x3129d6[_0x2c06e4+0x1]&0xe0)===0xa0)return!0x1;_0x2c06e4+=0x3;}else{if((_0x3129d6[_0x2c06e4]&0xf8)===0xf0){if(_0x2c06e4+0x3>=_0x4f1485||(_0x3129d6[_0x2c06e4+0x1]&0xc0)!==0x80||(_0x3129d6[_0x2c06e4+0x2]&0xc0)!==0x80||(_0x3129d6[_0x2c06e4+0x3]&0xc0)!==0x80||_0x3129d6[_0x2c06e4]===0xf0&&(_0x3129d6[_0x2c06e4+0x1]&0xf0)===0x80||_0x3129d6[_0x2c06e4]===0xf4&&_0x3129d6[_0x2c06e4+0x1]>0x8f||_0x3129d6[_0x2c06e4]>0xf4)return!0x1;_0x2c06e4+=0x4;}else return!0x1;}}}return!0x0;}function _0x4b015f(_0x379b2c){const _0x4fa50e=_0x4dd220;return _0xc590fd&&typeof _0x379b2c==_0x4fa50e(0x2c6)&&typeof _0x379b2c[_0x4fa50e(0x1af)]==_0x4fa50e(0x29b)&&typeof _0x379b2c[_0x4fa50e(0x2a8)]==_0x4fa50e(0x232)&&typeof _0x379b2c[_0x4fa50e(0x29d)]==_0x4fa50e(0x29b)&&(_0x379b2c[Symbol[_0x4fa50e(0x281)]]===_0x4fa50e(0x158)||_0x379b2c[Symbol[_0x4fa50e(0x281)]]===_0x4fa50e(0x199));}if(re[_0x4dd220(0x2df)]={'isBlob':_0x4b015f,'isValidStatusCode':_0x4ea831,'isValidUTF8':_0x3061cc,'tokenChars':_0x2070d9},_0x43a650)re['exports'][_0x4dd220(0x262)]=function(_0x27dcec){const _0xae5a37=_0x4dd220;return _0x27dcec[_0xae5a37(0x251)]<0x18?_0x3061cc(_0x27dcec):_0x43a650(_0x27dcec);};else{if(!process[_0x4dd220(0x284)][_0x4dd220(0x1b6)])try{const _0x366105=Yt;re[_0x4dd220(0x2df)][_0x4dd220(0x262)]=function(_0x5c0b9f){const _0x4c23a2=_0x4dd220;return _0x5c0b9f[_0x4c23a2(0x251)]<0x20?_0x3061cc(_0x5c0b9f):_0x366105(_0x5c0b9f);};}catch{}}return re[_0x4dd220(0x2df)];}var Se,Je;function dt(){const _0x2ff037=_0x1fe17d;if(Je)return Se;Je=0x1;const {Writable:_0x984040}=_0x56778d,_0x1b196e=he(),{BINARY_TYPES:_0xd670fc,EMPTY_BUFFER:_0x323fd4,kStatusCode:_0x412ccc,kWebSocket:_0x15bedb}=V(),{concat:_0x4165e6,toArrayBuffer:_0x149a1c,unmask:_0x16e30f}=ce(),{isValidStatusCode:_0x32ef6e,isValidUTF8:_0x21b784}=ne(),_0x838aca=Buffer[Symbol[_0x2ff037(0x290)]],_0x45af3f=0x0,_0x5f01eb=0x1,_0x4b3c3c=0x2,_0x3abd96=0x3,_0x56d6f5=0x4,_0x1272fb=0x5,_0x4626d0=0x6;class _0x10df48 extends _0x984040{constructor(_0x44b1fe={}){const _0x31d755=_0x2ff037;super(),this[_0x31d755(0x1c0)]=_0x44b1fe['allowSynchronousEvents']!==void 0x0?_0x44b1fe[_0x31d755(0x22d)]:!0x0,this['_binaryType']=_0x44b1fe[_0x31d755(0x25d)]||_0xd670fc[0x0],this[_0x31d755(0x187)]=_0x44b1fe[_0x31d755(0x260)]||{},this[_0x31d755(0x300)]=!!_0x44b1fe[_0x31d755(0x169)],this[_0x31d755(0x2ee)]=_0x44b1fe[_0x31d755(0x185)]|0x0,this[_0x31d755(0x2c4)]=!!_0x44b1fe['skipUTF8Validation'],this[_0x15bedb]=void 0x0,this[_0x31d755(0x231)]=0x0,this[_0x31d755(0x306)]=[],this[_0x31d755(0x227)]=!0x1,this[_0x31d755(0x271)]=0x0,this[_0x31d755(0x2f1)]=void 0x0,this[_0x31d755(0x167)]=0x0,this[_0x31d755(0x2dd)]=!0x1,this[_0x31d755(0x166)]=!0x1,this[_0x31d755(0x2d4)]=0x0,this[_0x31d755(0x215)]=0x0,this[_0x31d755(0x1e6)]=0x0,this[_0x31d755(0x24c)]=[],this[_0x31d755(0x1b5)]=!0x1,this[_0x31d755(0x2f0)]=!0x1,this[_0x31d755(0x161)]=_0x45af3f;}[_0x2ff037(0x2e5)](_0x5c32ca,_0x547b2e,_0x3f8ddc){const _0x5d0a3e=_0x2ff037;if(this[_0x5d0a3e(0x2d4)]===0x8&&this[_0x5d0a3e(0x161)]==_0x45af3f)return _0x3f8ddc();this[_0x5d0a3e(0x231)]+=_0x5c32ca[_0x5d0a3e(0x251)],this[_0x5d0a3e(0x306)][_0x5d0a3e(0x1ec)](_0x5c32ca),this[_0x5d0a3e(0x21e)](_0x3f8ddc);}[_0x2ff037(0x20a)](_0x34cf8b){const _0x5344f3=_0x2ff037;if(this[_0x5344f3(0x231)]-=_0x34cf8b,_0x34cf8b===this[_0x5344f3(0x306)][0x0]['length'])return this[_0x5344f3(0x306)][_0x5344f3(0x1e4)]();if(_0x34cf8b<this[_0x5344f3(0x306)][0x0][_0x5344f3(0x251)]){const _0x10b431=this[_0x5344f3(0x306)][0x0];return this[_0x5344f3(0x306)][0x0]=new _0x838aca(_0x10b431[_0x5344f3(0x228)],_0x10b431[_0x5344f3(0x256)]+_0x34cf8b,_0x10b431[_0x5344f3(0x251)]-_0x34cf8b),new _0x838aca(_0x10b431[_0x5344f3(0x228)],_0x10b431['byteOffset'],_0x34cf8b);}const _0x179aa0=Buffer[_0x5344f3(0x1d9)](_0x34cf8b);do{const _0x3643ce=this[_0x5344f3(0x306)][0x0],_0x5d240d=_0x179aa0[_0x5344f3(0x251)]-_0x34cf8b;_0x34cf8b>=_0x3643ce['length']?_0x179aa0[_0x5344f3(0x1f8)](this[_0x5344f3(0x306)]['shift'](),_0x5d240d):(_0x179aa0[_0x5344f3(0x1f8)](new Uint8Array(_0x3643ce['buffer'],_0x3643ce['byteOffset'],_0x34cf8b),_0x5d240d),this[_0x5344f3(0x306)][0x0]=new _0x838aca(_0x3643ce[_0x5344f3(0x228)],_0x3643ce[_0x5344f3(0x256)]+_0x34cf8b,_0x3643ce[_0x5344f3(0x251)]-_0x34cf8b)),_0x34cf8b-=_0x3643ce[_0x5344f3(0x251)];}while(_0x34cf8b>0x0);return _0x179aa0;}[_0x2ff037(0x21e)](_0x34038b){const _0x3df4fc=_0x2ff037;this[_0x3df4fc(0x2f0)]=!0x0;do switch(this[_0x3df4fc(0x161)]){case _0x45af3f:this['getInfo'](_0x34038b);break;case _0x5f01eb:this[_0x3df4fc(0x18f)](_0x34038b);break;case _0x4b3c3c:this[_0x3df4fc(0x1ac)](_0x34038b);break;case _0x3abd96:this[_0x3df4fc(0x2ff)]();break;case _0x56d6f5:this[_0x3df4fc(0x17c)](_0x34038b);break;case _0x1272fb:case _0x4626d0:this[_0x3df4fc(0x2f0)]=!0x1;return;}while(this[_0x3df4fc(0x2f0)]);this[_0x3df4fc(0x1b5)]||_0x34038b();}[_0x2ff037(0x2f6)](_0x3e086c){const _0x50f340=_0x2ff037;if(this[_0x50f340(0x231)]<0x2){this[_0x50f340(0x2f0)]=!0x1;return;}const _0x43e59a=this[_0x50f340(0x20a)](0x2);if((_0x43e59a[0x0]&0x30)!==0x0){const _0x44e916=this[_0x50f340(0x259)](RangeError,_0x50f340(0x1b0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3e086c(_0x44e916);return;}const _0x3c1c74=(_0x43e59a[0x0]&0x40)===0x40;if(_0x3c1c74&&!this[_0x50f340(0x187)][_0x1b196e[_0x50f340(0x1e1)]]){const _0x3f4ed2=this[_0x50f340(0x259)](RangeError,_0x50f340(0x2e0),!0x0,0x3ea,_0x50f340(0x2f3));_0x3e086c(_0x3f4ed2);return;}if(this[_0x50f340(0x166)]=(_0x43e59a[0x0]&0x80)===0x80,this[_0x50f340(0x2d4)]=_0x43e59a[0x0]&0xf,this[_0x50f340(0x271)]=_0x43e59a[0x1]&0x7f,this['_opcode']===0x0){if(_0x3c1c74){const _0x3f0dbc=this[_0x50f340(0x259)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x50f340(0x2f3));_0x3e086c(_0x3f0dbc);return;}if(!this[_0x50f340(0x167)]){const _0x120cba=this[_0x50f340(0x259)](RangeError,_0x50f340(0x25e),!0x0,0x3ea,_0x50f340(0x24a));_0x3e086c(_0x120cba);return;}this['_opcode']=this[_0x50f340(0x167)];}else{if(this['_opcode']===0x1||this[_0x50f340(0x2d4)]===0x2){if(this[_0x50f340(0x167)]){const _0x50f5df=this[_0x50f340(0x259)](RangeError,_0x50f340(0x210)+this[_0x50f340(0x2d4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3e086c(_0x50f5df);return;}this[_0x50f340(0x227)]=_0x3c1c74;}else{if(this['_opcode']>0x7&&this[_0x50f340(0x2d4)]<0xb){if(!this['_fin']){const _0x123a28=this[_0x50f340(0x259)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x50f340(0x2e9));_0x3e086c(_0x123a28);return;}if(_0x3c1c74){const _0x13665b=this['createError'](RangeError,_0x50f340(0x2e0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3e086c(_0x13665b);return;}if(this[_0x50f340(0x271)]>0x7d||this[_0x50f340(0x2d4)]===0x8&&this[_0x50f340(0x271)]===0x1){const _0x5003c=this[_0x50f340(0x259)](RangeError,_0x50f340(0x20d)+this[_0x50f340(0x271)],!0x0,0x3ea,_0x50f340(0x2c9));_0x3e086c(_0x5003c);return;}}else{const _0x153008=this[_0x50f340(0x259)](RangeError,_0x50f340(0x210)+this[_0x50f340(0x2d4)],!0x0,0x3ea,_0x50f340(0x24a));_0x3e086c(_0x153008);return;}}}if(!this['_fin']&&!this[_0x50f340(0x167)]&&(this[_0x50f340(0x167)]=this[_0x50f340(0x2d4)]),this[_0x50f340(0x2dd)]=(_0x43e59a[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x50f340(0x2dd)]){const _0x208aed=this[_0x50f340(0x259)](RangeError,_0x50f340(0x198),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3e086c(_0x208aed);return;}}else{if(this[_0x50f340(0x2dd)]){const _0x1ef73a=this['createError'](RangeError,_0x50f340(0x2a4),!0x0,0x3ea,_0x50f340(0x1f9));_0x3e086c(_0x1ef73a);return;}}this[_0x50f340(0x271)]===0x7e?this[_0x50f340(0x161)]=_0x5f01eb:this[_0x50f340(0x271)]===0x7f?this['_state']=_0x4b3c3c:this[_0x50f340(0x1ef)](_0x3e086c);}[_0x2ff037(0x18f)](_0x3ff9bd){const _0x50e3ca=_0x2ff037;if(this[_0x50e3ca(0x231)]<0x2){this[_0x50e3ca(0x2f0)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x50e3ca(0x2f4)](0x0),this[_0x50e3ca(0x1ef)](_0x3ff9bd);}['getPayloadLength64'](_0x1f6c39){const _0xcd1462=_0x2ff037;if(this[_0xcd1462(0x231)]<0x8){this[_0xcd1462(0x2f0)]=!0x1;return;}const _0x1ebdaf=this[_0xcd1462(0x20a)](0x8),_0x19fcbc=_0x1ebdaf[_0xcd1462(0x1fb)](0x0);if(_0x19fcbc>Math[_0xcd1462(0x29e)](0x2,0x15)-0x1){const _0x330c2a=this[_0xcd1462(0x259)](RangeError,_0xcd1462(0x1a9),!0x1,0x3f1,_0xcd1462(0x21f));_0x1f6c39(_0x330c2a);return;}this['_payloadLength']=_0x19fcbc*Math[_0xcd1462(0x29e)](0x2,0x20)+_0x1ebdaf['readUInt32BE'](0x4),this[_0xcd1462(0x1ef)](_0x1f6c39);}[_0x2ff037(0x1ef)](_0x29c36f){const _0x4847fc=_0x2ff037;if(this[_0x4847fc(0x271)]&&this[_0x4847fc(0x2d4)]<0x8&&(this[_0x4847fc(0x215)]+=this[_0x4847fc(0x271)],this[_0x4847fc(0x215)]>this[_0x4847fc(0x2ee)]&&this[_0x4847fc(0x2ee)]>0x0)){const _0x3e2ae7=this['createError'](RangeError,_0x4847fc(0x26f),!0x1,0x3f1,_0x4847fc(0x1a4));_0x29c36f(_0x3e2ae7);return;}this[_0x4847fc(0x2dd)]?this[_0x4847fc(0x161)]=_0x3abd96:this[_0x4847fc(0x161)]=_0x56d6f5;}[_0x2ff037(0x2ff)](){const _0x149e95=_0x2ff037;if(this['_bufferedBytes']<0x4){this[_0x149e95(0x2f0)]=!0x1;return;}this[_0x149e95(0x2f1)]=this[_0x149e95(0x20a)](0x4),this[_0x149e95(0x161)]=_0x56d6f5;}[_0x2ff037(0x17c)](_0xaff5df){const _0x51b7e0=_0x2ff037;let _0xdb5fd8=_0x323fd4;if(this[_0x51b7e0(0x271)]){if(this[_0x51b7e0(0x231)]<this[_0x51b7e0(0x271)]){this['_loop']=!0x1;return;}_0xdb5fd8=this['consume'](this[_0x51b7e0(0x271)]),this[_0x51b7e0(0x2dd)]&&(this['_mask'][0x0]|this[_0x51b7e0(0x2f1)][0x1]|this[_0x51b7e0(0x2f1)][0x2]|this[_0x51b7e0(0x2f1)][0x3])!==0x0&&_0x16e30f(_0xdb5fd8,this[_0x51b7e0(0x2f1)]);}if(this[_0x51b7e0(0x2d4)]>0x7){this[_0x51b7e0(0x1a0)](_0xdb5fd8,_0xaff5df);return;}if(this[_0x51b7e0(0x227)]){this[_0x51b7e0(0x161)]=_0x1272fb,this[_0x51b7e0(0x246)](_0xdb5fd8,_0xaff5df);return;}_0xdb5fd8[_0x51b7e0(0x251)]&&(this['_messageLength']=this[_0x51b7e0(0x215)],this[_0x51b7e0(0x24c)][_0x51b7e0(0x1ec)](_0xdb5fd8)),this['dataMessage'](_0xaff5df);}[_0x2ff037(0x246)](_0x22285b,_0x4963fc){const _0xea1a04=_0x2ff037;this['_extensions'][_0x1b196e[_0xea1a04(0x1e1)]][_0xea1a04(0x246)](_0x22285b,this[_0xea1a04(0x166)],(_0x2cc652,_0x5a6a05)=>{const _0x49bc8c=_0xea1a04;if(_0x2cc652)return _0x4963fc(_0x2cc652);if(_0x5a6a05[_0x49bc8c(0x251)]){if(this[_0x49bc8c(0x1e6)]+=_0x5a6a05[_0x49bc8c(0x251)],this[_0x49bc8c(0x1e6)]>this[_0x49bc8c(0x2ee)]&&this[_0x49bc8c(0x2ee)]>0x0){const _0x116a15=this[_0x49bc8c(0x259)](RangeError,_0x49bc8c(0x26f),!0x1,0x3f1,_0x49bc8c(0x1a4));_0x4963fc(_0x116a15);return;}this[_0x49bc8c(0x24c)][_0x49bc8c(0x1ec)](_0x5a6a05);}this[_0x49bc8c(0x1dd)](_0x4963fc),this['_state']===_0x45af3f&&this[_0x49bc8c(0x21e)](_0x4963fc);});}[_0x2ff037(0x1dd)](_0x349d38){const _0x17c061=_0x2ff037;if(!this['_fin']){this[_0x17c061(0x161)]=_0x45af3f;return;}const _0x3037c4=this[_0x17c061(0x1e6)],_0x9bdd05=this[_0x17c061(0x24c)];if(this[_0x17c061(0x215)]=0x0,this[_0x17c061(0x1e6)]=0x0,this[_0x17c061(0x167)]=0x0,this[_0x17c061(0x24c)]=[],this[_0x17c061(0x2d4)]===0x2){let _0x2008af;this['_binaryType']===_0x17c061(0x2eb)?_0x2008af=_0x4165e6(_0x9bdd05,_0x3037c4):this[_0x17c061(0x194)]===_0x17c061(0x269)?_0x2008af=_0x149a1c(_0x4165e6(_0x9bdd05,_0x3037c4)):this[_0x17c061(0x194)]===_0x17c061(0x162)?_0x2008af=new Blob(_0x9bdd05):_0x2008af=_0x9bdd05,this[_0x17c061(0x1c0)]?(this[_0x17c061(0x1f4)](_0x17c061(0x250),_0x2008af,!0x0),this[_0x17c061(0x161)]=_0x45af3f):(this['_state']=_0x4626d0,setImmediate(()=>{const _0x483670=_0x17c061;this[_0x483670(0x1f4)](_0x483670(0x250),_0x2008af,!0x0),this[_0x483670(0x161)]=_0x45af3f,this[_0x483670(0x21e)](_0x349d38);}));}else{const _0x42addd=_0x4165e6(_0x9bdd05,_0x3037c4);if(!this[_0x17c061(0x2c4)]&&!_0x21b784(_0x42addd)){const _0x6aa1f1=this[_0x17c061(0x259)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x17c061(0x236));_0x349d38(_0x6aa1f1);return;}this[_0x17c061(0x161)]===_0x1272fb||this['_allowSynchronousEvents']?(this[_0x17c061(0x1f4)](_0x17c061(0x250),_0x42addd,!0x1),this[_0x17c061(0x161)]=_0x45af3f):(this['_state']=_0x4626d0,setImmediate(()=>{const _0x2ccd6e=_0x17c061;this[_0x2ccd6e(0x1f4)](_0x2ccd6e(0x250),_0x42addd,!0x1),this['_state']=_0x45af3f,this[_0x2ccd6e(0x21e)](_0x349d38);}));}}[_0x2ff037(0x1a0)](_0x2b4823,_0xe16535){const _0x8bc13c=_0x2ff037;if(this['_opcode']===0x8){if(_0x2b4823[_0x8bc13c(0x251)]===0x0)this[_0x8bc13c(0x2f0)]=!0x1,this[_0x8bc13c(0x1f4)](_0x8bc13c(0x238),0x3ed,_0x323fd4),this[_0x8bc13c(0x160)]();else{const _0x4284d9=_0x2b4823[_0x8bc13c(0x2f4)](0x0);if(!_0x32ef6e(_0x4284d9)){const _0x5aa141=this[_0x8bc13c(0x259)](RangeError,_0x8bc13c(0x207)+_0x4284d9,!0x0,0x3ea,_0x8bc13c(0x1cf));_0xe16535(_0x5aa141);return;}const _0x4e11f8=new _0x838aca(_0x2b4823[_0x8bc13c(0x228)],_0x2b4823[_0x8bc13c(0x256)]+0x2,_0x2b4823[_0x8bc13c(0x251)]-0x2);if(!this['_skipUTF8Validation']&&!_0x21b784(_0x4e11f8)){const _0x59fe3d=this[_0x8bc13c(0x259)](Error,_0x8bc13c(0x2f2),!0x0,0x3ef,_0x8bc13c(0x236));_0xe16535(_0x59fe3d);return;}this[_0x8bc13c(0x2f0)]=!0x1,this['emit'](_0x8bc13c(0x238),_0x4284d9,_0x4e11f8),this[_0x8bc13c(0x160)]();}this['_state']=_0x45af3f;return;}this[_0x8bc13c(0x1c0)]?(this[_0x8bc13c(0x1f4)](this[_0x8bc13c(0x2d4)]===0x9?_0x8bc13c(0x2ba):_0x8bc13c(0x190),_0x2b4823),this['_state']=_0x45af3f):(this[_0x8bc13c(0x161)]=_0x4626d0,setImmediate(()=>{const _0x3c50a8=_0x8bc13c;this[_0x3c50a8(0x1f4)](this[_0x3c50a8(0x2d4)]===0x9?_0x3c50a8(0x2ba):_0x3c50a8(0x190),_0x2b4823),this[_0x3c50a8(0x161)]=_0x45af3f,this['startLoop'](_0xe16535);}));}[_0x2ff037(0x259)](_0x5189c3,_0x2cf40f,_0x43f6bc,_0x1228a8,_0x869063){const _0x4d0bf7=_0x2ff037;this[_0x4d0bf7(0x2f0)]=!0x1,this['_errored']=!0x0;const _0x423372=new _0x5189c3(_0x43f6bc?_0x4d0bf7(0x1f5)+_0x2cf40f:_0x2cf40f);return Error[_0x4d0bf7(0x2ac)](_0x423372,this['createError']),_0x423372[_0x4d0bf7(0x26a)]=_0x869063,_0x423372[_0x412ccc]=_0x1228a8,_0x423372;}}return Se=_0x10df48,Se;}var Ee,et;function _t(){const _0x3d90f5=_0x1fe17d;if(et)return Ee;et=0x1;const {Duplex:_0x5284d1}=_0x56778d,{randomFillSync:_0x193d0f}=_0x516edb,_0x4cc3ce=he(),{EMPTY_BUFFER:_0x8f32ce,kWebSocket:_0xf8990a,NOOP:_0x1a4a17}=V(),{isBlob:_0xe96c04,isValidStatusCode:_0xec540c}=ne(),{mask:_0x4ca3fb,toBuffer:_0x4ec6fd}=ce(),_0x33f896=Symbol(_0x3d90f5(0x2cc)),_0x17d5f8=Buffer['alloc'](0x4),_0x31eaf5=0x8*0x400;let _0x3b1c6c,_0xa3933a=_0x31eaf5;const _0x1653fa=0x0,_0x55159f=0x1,_0x21aa03=0x2;class _0xf001a0{constructor(_0x1453fb,_0x225200,_0x353c2b){const _0x2dab7a=_0x3d90f5;this[_0x2dab7a(0x187)]=_0x225200||{},_0x353c2b&&(this[_0x2dab7a(0x255)]=_0x353c2b,this[_0x2dab7a(0x222)]=Buffer[_0x2dab7a(0x2cd)](0x4)),this[_0x2dab7a(0x296)]=_0x1453fb,this[_0x2dab7a(0x221)]=!0x0,this[_0x2dab7a(0x1e9)]=!0x1,this[_0x2dab7a(0x231)]=0x0,this['_queue']=[],this[_0x2dab7a(0x161)]=_0x1653fa,this['onerror']=_0x1a4a17,this[_0xf8990a]=void 0x0;}static['frame'](_0x17ef9c,_0x233caa){const _0x429c72=_0x3d90f5;let _0x3825c8,_0x56ee32=!0x1,_0x4d8fe4=0x2,_0x38132e=!0x1;_0x233caa[_0x429c72(0x2ab)]&&(_0x3825c8=_0x233caa['maskBuffer']||_0x17d5f8,_0x233caa[_0x429c72(0x16a)]?_0x233caa['generateMask'](_0x3825c8):(_0xa3933a===_0x31eaf5&&(_0x3b1c6c===void 0x0&&(_0x3b1c6c=Buffer[_0x429c72(0x2cd)](_0x31eaf5)),_0x193d0f(_0x3b1c6c,0x0,_0x31eaf5),_0xa3933a=0x0),_0x3825c8[0x0]=_0x3b1c6c[_0xa3933a++],_0x3825c8[0x1]=_0x3b1c6c[_0xa3933a++],_0x3825c8[0x2]=_0x3b1c6c[_0xa3933a++],_0x3825c8[0x3]=_0x3b1c6c[_0xa3933a++]),_0x38132e=(_0x3825c8[0x0]|_0x3825c8[0x1]|_0x3825c8[0x2]|_0x3825c8[0x3])===0x0,_0x4d8fe4=0x6);let _0x4a50bd;typeof _0x17ef9c==_0x429c72(0x232)?(!_0x233caa[_0x429c72(0x2ab)]||_0x38132e)&&_0x233caa[_0x33f896]!==void 0x0?_0x4a50bd=_0x233caa[_0x33f896]:(_0x17ef9c=Buffer[_0x429c72(0x1e5)](_0x17ef9c),_0x4a50bd=_0x17ef9c[_0x429c72(0x251)]):(_0x4a50bd=_0x17ef9c[_0x429c72(0x251)],_0x56ee32=_0x233caa[_0x429c72(0x2ab)]&&_0x233caa[_0x429c72(0x28c)]&&!_0x38132e);let _0x52e698=_0x4a50bd;_0x4a50bd>=0x10000?(_0x4d8fe4+=0x8,_0x52e698=0x7f):_0x4a50bd>0x7d&&(_0x4d8fe4+=0x2,_0x52e698=0x7e);const _0x1e669b=Buffer[_0x429c72(0x1d9)](_0x56ee32?_0x4a50bd+_0x4d8fe4:_0x4d8fe4);return _0x1e669b[0x0]=_0x233caa[_0x429c72(0x2d5)]?_0x233caa[_0x429c72(0x2c3)]|0x80:_0x233caa[_0x429c72(0x2c3)],_0x233caa[_0x429c72(0x2dc)]&&(_0x1e669b[0x0]|=0x40),_0x1e669b[0x1]=_0x52e698,_0x52e698===0x7e?_0x1e669b[_0x429c72(0x1e3)](_0x4a50bd,0x2):_0x52e698===0x7f&&(_0x1e669b[0x2]=_0x1e669b[0x3]=0x0,_0x1e669b[_0x429c72(0x242)](_0x4a50bd,0x4,0x6)),_0x233caa['mask']?(_0x1e669b[0x1]|=0x80,_0x1e669b[_0x4d8fe4-0x4]=_0x3825c8[0x0],_0x1e669b[_0x4d8fe4-0x3]=_0x3825c8[0x1],_0x1e669b[_0x4d8fe4-0x2]=_0x3825c8[0x2],_0x1e669b[_0x4d8fe4-0x1]=_0x3825c8[0x3],_0x38132e?[_0x1e669b,_0x17ef9c]:_0x56ee32?(_0x4ca3fb(_0x17ef9c,_0x3825c8,_0x1e669b,_0x4d8fe4,_0x4a50bd),[_0x1e669b]):(_0x4ca3fb(_0x17ef9c,_0x3825c8,_0x17ef9c,0x0,_0x4a50bd),[_0x1e669b,_0x17ef9c])):[_0x1e669b,_0x17ef9c];}[_0x3d90f5(0x274)](_0x344544,_0x5c3837,_0x5536be,_0x160934){const _0x49db30=_0x3d90f5;let _0x2f20d8;if(_0x344544===void 0x0)_0x2f20d8=_0x8f32ce;else{if(typeof _0x344544!=_0x49db30(0x183)||!_0xec540c(_0x344544))throw new TypeError(_0x49db30(0x2a2));if(_0x5c3837===void 0x0||!_0x5c3837[_0x49db30(0x251)])_0x2f20d8=Buffer[_0x49db30(0x1d9)](0x2),_0x2f20d8[_0x49db30(0x1e3)](_0x344544,0x0);else{const _0x443099=Buffer[_0x49db30(0x1fa)](_0x5c3837);if(_0x443099>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2f20d8=Buffer[_0x49db30(0x1d9)](0x2+_0x443099),_0x2f20d8[_0x49db30(0x1e3)](_0x344544,0x0),typeof _0x5c3837==_0x49db30(0x232)?_0x2f20d8['write'](_0x5c3837,0x2):_0x2f20d8[_0x49db30(0x1f8)](_0x5c3837,0x2);}}const _0xf85009={[_0x33f896]:_0x2f20d8[_0x49db30(0x251)],'fin':!0x0,'generateMask':this[_0x49db30(0x255)],'mask':_0x5536be,'maskBuffer':this[_0x49db30(0x222)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x49db30(0x161)]!==_0x1653fa?this[_0x49db30(0x2af)]([this[_0x49db30(0x21b)],_0x2f20d8,!0x1,_0xf85009,_0x160934]):this['sendFrame'](_0xf001a0[_0x49db30(0x240)](_0x2f20d8,_0xf85009),_0x160934);}['ping'](_0x53ed1d,_0x347fdf,_0x12bb4e){const _0x5238a7=_0x3d90f5;let _0x53e2a1,_0x30d628;if(typeof _0x53ed1d==_0x5238a7(0x232)?(_0x53e2a1=Buffer['byteLength'](_0x53ed1d),_0x30d628=!0x1):_0xe96c04(_0x53ed1d)?(_0x53e2a1=_0x53ed1d[_0x5238a7(0x20c)],_0x30d628=!0x1):(_0x53ed1d=_0x4ec6fd(_0x53ed1d),_0x53e2a1=_0x53ed1d[_0x5238a7(0x251)],_0x30d628=_0x4ec6fd[_0x5238a7(0x28c)]),_0x53e2a1>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1ec443={[_0x33f896]:_0x53e2a1,'fin':!0x0,'generateMask':this[_0x5238a7(0x255)],'mask':_0x347fdf,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x30d628,'rsv1':!0x1};_0xe96c04(_0x53ed1d)?this['_state']!==_0x1653fa?this['enqueue']([this[_0x5238a7(0x229)],_0x53ed1d,!0x1,_0x1ec443,_0x12bb4e]):this[_0x5238a7(0x229)](_0x53ed1d,!0x1,_0x1ec443,_0x12bb4e):this[_0x5238a7(0x161)]!==_0x1653fa?this[_0x5238a7(0x2af)]([this[_0x5238a7(0x21b)],_0x53ed1d,!0x1,_0x1ec443,_0x12bb4e]):this['sendFrame'](_0xf001a0[_0x5238a7(0x240)](_0x53ed1d,_0x1ec443),_0x12bb4e);}[_0x3d90f5(0x190)](_0x1da87c,_0x2c16ee,_0x2e2dc0){const _0x7b3f08=_0x3d90f5;let _0x16acd0,_0x50177e;if(typeof _0x1da87c==_0x7b3f08(0x232)?(_0x16acd0=Buffer[_0x7b3f08(0x1fa)](_0x1da87c),_0x50177e=!0x1):_0xe96c04(_0x1da87c)?(_0x16acd0=_0x1da87c['size'],_0x50177e=!0x1):(_0x1da87c=_0x4ec6fd(_0x1da87c),_0x16acd0=_0x1da87c[_0x7b3f08(0x251)],_0x50177e=_0x4ec6fd[_0x7b3f08(0x28c)]),_0x16acd0>0x7d)throw new RangeError(_0x7b3f08(0x2bd));const _0x4bf0f1={[_0x33f896]:_0x16acd0,'fin':!0x0,'generateMask':this[_0x7b3f08(0x255)],'mask':_0x2c16ee,'maskBuffer':this[_0x7b3f08(0x222)],'opcode':0xa,'readOnly':_0x50177e,'rsv1':!0x1};_0xe96c04(_0x1da87c)?this[_0x7b3f08(0x161)]!==_0x1653fa?this[_0x7b3f08(0x2af)]([this['getBlobData'],_0x1da87c,!0x1,_0x4bf0f1,_0x2e2dc0]):this[_0x7b3f08(0x229)](_0x1da87c,!0x1,_0x4bf0f1,_0x2e2dc0):this[_0x7b3f08(0x161)]!==_0x1653fa?this[_0x7b3f08(0x2af)]([this[_0x7b3f08(0x21b)],_0x1da87c,!0x1,_0x4bf0f1,_0x2e2dc0]):this[_0x7b3f08(0x27a)](_0xf001a0['frame'](_0x1da87c,_0x4bf0f1),_0x2e2dc0);}[_0x3d90f5(0x209)](_0x23c818,_0x5c0457,_0x325a67){const _0x5bbb0b=_0x3d90f5,_0x55b605=this[_0x5bbb0b(0x187)][_0x4cc3ce[_0x5bbb0b(0x1e1)]];let _0x388fa1=_0x5c0457[_0x5bbb0b(0x2d1)]?0x2:0x1,_0x345091=_0x5c0457[_0x5bbb0b(0x18b)],_0x28d730,_0x1b03fe;typeof _0x23c818==_0x5bbb0b(0x232)?(_0x28d730=Buffer[_0x5bbb0b(0x1fa)](_0x23c818),_0x1b03fe=!0x1):_0xe96c04(_0x23c818)?(_0x28d730=_0x23c818[_0x5bbb0b(0x20c)],_0x1b03fe=!0x1):(_0x23c818=_0x4ec6fd(_0x23c818),_0x28d730=_0x23c818[_0x5bbb0b(0x251)],_0x1b03fe=_0x4ec6fd['readOnly']),this[_0x5bbb0b(0x221)]?(this['_firstFragment']=!0x1,_0x345091&&_0x55b605&&_0x55b605[_0x5bbb0b(0x24b)][_0x55b605['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x345091=_0x28d730>=_0x55b605['_threshold']),this[_0x5bbb0b(0x1e9)]=_0x345091):(_0x345091=!0x1,_0x388fa1=0x0),_0x5c0457[_0x5bbb0b(0x2d5)]&&(this[_0x5bbb0b(0x221)]=!0x0);const _0x5f16ab={[_0x33f896]:_0x28d730,'fin':_0x5c0457[_0x5bbb0b(0x2d5)],'generateMask':this['_generateMask'],'mask':_0x5c0457[_0x5bbb0b(0x2ab)],'maskBuffer':this[_0x5bbb0b(0x222)],'opcode':_0x388fa1,'readOnly':_0x1b03fe,'rsv1':_0x345091};_0xe96c04(_0x23c818)?this[_0x5bbb0b(0x161)]!==_0x1653fa?this['enqueue']([this[_0x5bbb0b(0x229)],_0x23c818,this[_0x5bbb0b(0x1e9)],_0x5f16ab,_0x325a67]):this[_0x5bbb0b(0x229)](_0x23c818,this[_0x5bbb0b(0x1e9)],_0x5f16ab,_0x325a67):this['_state']!==_0x1653fa?this[_0x5bbb0b(0x2af)]([this['dispatch'],_0x23c818,this[_0x5bbb0b(0x1e9)],_0x5f16ab,_0x325a67]):this[_0x5bbb0b(0x21b)](_0x23c818,this[_0x5bbb0b(0x1e9)],_0x5f16ab,_0x325a67);}['getBlobData'](_0x478122,_0x1b0985,_0x78e21,_0x1252cd){const _0x3f624a=_0x3d90f5;this['_bufferedBytes']+=_0x78e21[_0x33f896],this[_0x3f624a(0x161)]=_0x21aa03,_0x478122[_0x3f624a(0x1af)]()[_0x3f624a(0x168)](_0x2e3a9f=>{const _0x13fb8a=_0x3f624a;if(this[_0x13fb8a(0x296)][_0x13fb8a(0x1a5)]){const _0x31c899=new Error(_0x13fb8a(0x202));process[_0x13fb8a(0x1f7)](_0x463461,this,_0x31c899,_0x1252cd);return;}this['_bufferedBytes']-=_0x78e21[_0x33f896];const _0x3b4c09=_0x4ec6fd(_0x2e3a9f);_0x1b0985?this[_0x13fb8a(0x21b)](_0x3b4c09,_0x1b0985,_0x78e21,_0x1252cd):(this[_0x13fb8a(0x161)]=_0x1653fa,this['sendFrame'](_0xf001a0[_0x13fb8a(0x240)](_0x3b4c09,_0x78e21),_0x1252cd),this[_0x13fb8a(0x1b3)]());})['catch'](_0x5041bd=>{const _0x551171=_0x3f624a;process[_0x551171(0x1f7)](_0x1772a8,this,_0x5041bd,_0x1252cd);});}[_0x3d90f5(0x21b)](_0xcfe06d,_0x46ae5b,_0x51860b,_0x5047cf){const _0x3d4dd0=_0x3d90f5;if(!_0x46ae5b){this[_0x3d4dd0(0x27a)](_0xf001a0[_0x3d4dd0(0x240)](_0xcfe06d,_0x51860b),_0x5047cf);return;}const _0x27a29f=this[_0x3d4dd0(0x187)][_0x4cc3ce['extensionName']];this['_bufferedBytes']+=_0x51860b[_0x33f896],this[_0x3d4dd0(0x161)]=_0x55159f,_0x27a29f[_0x3d4dd0(0x18b)](_0xcfe06d,_0x51860b['fin'],(_0x1bf3cb,_0x5a47ef)=>{const _0x569291=_0x3d4dd0;if(this[_0x569291(0x296)]['destroyed']){const _0x49c397=new Error(_0x569291(0x2ae));_0x463461(this,_0x49c397,_0x5047cf);return;}this[_0x569291(0x231)]-=_0x51860b[_0x33f896],this[_0x569291(0x161)]=_0x1653fa,_0x51860b[_0x569291(0x28c)]=!0x1,this[_0x569291(0x27a)](_0xf001a0[_0x569291(0x240)](_0x5a47ef,_0x51860b),_0x5047cf),this['dequeue']();});}[_0x3d90f5(0x1b3)](){const _0x45d772=_0x3d90f5;for(;this['_state']===_0x1653fa&&this[_0x45d772(0x156)]['length'];){const _0x2fc0ab=this[_0x45d772(0x156)][_0x45d772(0x1e4)]();this[_0x45d772(0x231)]-=_0x2fc0ab[0x3][_0x33f896],Reflect[_0x45d772(0x2b0)](_0x2fc0ab[0x0],this,_0x2fc0ab[_0x45d772(0x15d)](0x1));}}[_0x3d90f5(0x2af)](_0x164fda){const _0x5833d5=_0x3d90f5;this[_0x5833d5(0x231)]+=_0x164fda[0x3][_0x33f896],this[_0x5833d5(0x156)][_0x5833d5(0x1ec)](_0x164fda);}[_0x3d90f5(0x27a)](_0x31b7d2,_0x2fb6bd){const _0xb42e43=_0x3d90f5;_0x31b7d2[_0xb42e43(0x251)]===0x2?(this['_socket'][_0xb42e43(0x184)](),this['_socket']['write'](_0x31b7d2[0x0]),this['_socket'][_0xb42e43(0x1eb)](_0x31b7d2[0x1],_0x2fb6bd),this['_socket']['uncork']()):this[_0xb42e43(0x296)][_0xb42e43(0x1eb)](_0x31b7d2[0x0],_0x2fb6bd);}}Ee=_0xf001a0;function _0x463461(_0x2e2bae,_0x1575b3,_0x5ae142){const _0x4d078d=_0x3d90f5;typeof _0x5ae142==_0x4d078d(0x29b)&&_0x5ae142(_0x1575b3);for(let _0x2627cc=0x0;_0x2627cc<_0x2e2bae['_queue']['length'];_0x2627cc++){const _0x1fd6b1=_0x2e2bae[_0x4d078d(0x156)][_0x2627cc],_0x5dd895=_0x1fd6b1[_0x1fd6b1[_0x4d078d(0x251)]-0x1];typeof _0x5dd895==_0x4d078d(0x29b)&&_0x5dd895(_0x1575b3);}}function _0x1772a8(_0x424a3f,_0x2a2a7f,_0x2775aa){const _0x347f4f=_0x3d90f5;_0x463461(_0x424a3f,_0x2a2a7f,_0x2775aa),_0x424a3f[_0x347f4f(0x1a2)](_0x2a2a7f);}return Ee;}var xe,tt;function Kt(){const _0x45dc9e=_0x1fe17d;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e73cf,kListener:_0x14629e}=V(),_0x432890=Symbol(_0x45dc9e(0x248)),_0x30ee6d=Symbol(_0x45dc9e(0x234)),_0x2d2322=Symbol(_0x45dc9e(0x1ee)),_0x11e145=Symbol(_0x45dc9e(0x24d)),_0x1756a3=Symbol(_0x45dc9e(0x18e)),_0x23029c=Symbol('kTarget'),_0x3db2d8=Symbol(_0x45dc9e(0x2c1)),_0x41aa73=Symbol(_0x45dc9e(0x270));class _0x3429ca{constructor(_0x3554de){this[_0x23029c]=null,this[_0x3db2d8]=_0x3554de;}get['target'](){return this[_0x23029c];}get[_0x45dc9e(0x2a8)](){return this[_0x3db2d8];}}Object[_0x45dc9e(0x16e)](_0x3429ca['prototype'],'target',{'enumerable':!0x0}),Object[_0x45dc9e(0x16e)](_0x3429ca['prototype'],'type',{'enumerable':!0x0});class _0x5e23dc extends _0x3429ca{constructor(_0x5c4083,_0x12a5b9={}){const _0x44b067=_0x45dc9e;super(_0x5c4083),this[_0x432890]=_0x12a5b9[_0x44b067(0x26a)]===void 0x0?0x0:_0x12a5b9['code'],this[_0x1756a3]=_0x12a5b9['reason']===void 0x0?'':_0x12a5b9['reason'],this[_0x41aa73]=_0x12a5b9[_0x44b067(0x286)]===void 0x0?!0x1:_0x12a5b9[_0x44b067(0x286)];}get[_0x45dc9e(0x26a)](){return this[_0x432890];}get['reason'](){return this[_0x1756a3];}get[_0x45dc9e(0x286)](){return this[_0x41aa73];}}Object[_0x45dc9e(0x16e)](_0x5e23dc[_0x45dc9e(0x218)],_0x45dc9e(0x26a),{'enumerable':!0x0}),Object[_0x45dc9e(0x16e)](_0x5e23dc[_0x45dc9e(0x218)],_0x45dc9e(0x1c1),{'enumerable':!0x0}),Object[_0x45dc9e(0x16e)](_0x5e23dc[_0x45dc9e(0x218)],_0x45dc9e(0x286),{'enumerable':!0x0});class _0x1b1236 extends _0x3429ca{constructor(_0x1223c5,_0x165760={}){const _0x5c835b=_0x45dc9e;super(_0x1223c5),this[_0x2d2322]=_0x165760['error']===void 0x0?null:_0x165760[_0x5c835b(0x1fe)],this[_0x11e145]=_0x165760[_0x5c835b(0x250)]===void 0x0?'':_0x165760['message'];}get[_0x45dc9e(0x1fe)](){return this[_0x2d2322];}get[_0x45dc9e(0x250)](){return this[_0x11e145];}}Object[_0x45dc9e(0x16e)](_0x1b1236[_0x45dc9e(0x218)],'error',{'enumerable':!0x0}),Object[_0x45dc9e(0x16e)](_0x1b1236[_0x45dc9e(0x218)],'message',{'enumerable':!0x0});class _0x187cc2 extends _0x3429ca{constructor(_0x31b071,_0x39f12e={}){const _0xd07403=_0x45dc9e;super(_0x31b071),this[_0x30ee6d]=_0x39f12e[_0xd07403(0x276)]===void 0x0?null:_0x39f12e['data'];}get['data'](){return this[_0x30ee6d];}}Object[_0x45dc9e(0x16e)](_0x187cc2['prototype'],_0x45dc9e(0x276),{'enumerable':!0x0}),xe={'CloseEvent':_0x5e23dc,'ErrorEvent':_0x1b1236,'Event':_0x3429ca,'EventTarget':{'addEventListener'(_0x309c69,_0x65c96f,_0x21bf41={}){const _0x3e1468=_0x45dc9e;for(const _0x26daa3 of this['listeners'](_0x309c69))if(!_0x21bf41[_0x2e73cf]&&_0x26daa3[_0x14629e]===_0x65c96f&&!_0x26daa3[_0x2e73cf])return;let _0x1933dc;if(_0x309c69==='message')_0x1933dc=function(_0x4b839a,_0x274946){const _0x2c6738=_0x2595,_0x3afd6f=new _0x187cc2('message',{'data':_0x274946?_0x4b839a:_0x4b839a[_0x2c6738(0x297)]()});_0x3afd6f[_0x23029c]=this,_0x12c17c(_0x65c96f,this,_0x3afd6f);};else{if(_0x309c69===_0x3e1468(0x274))_0x1933dc=function(_0x5b379f,_0x204c6c){const _0x13d011=_0x3e1468,_0x581d11=new _0x5e23dc('close',{'code':_0x5b379f,'reason':_0x204c6c[_0x13d011(0x297)](),'wasClean':this['_closeFrameReceived']&&this[_0x13d011(0x216)]});_0x581d11[_0x23029c]=this,_0x12c17c(_0x65c96f,this,_0x581d11);};else{if(_0x309c69===_0x3e1468(0x1fe))_0x1933dc=function(_0x1e7c2b){const _0x3c4537=_0x3e1468,_0x1070bf=new _0x1b1236('error',{'error':_0x1e7c2b,'message':_0x1e7c2b[_0x3c4537(0x250)]});_0x1070bf[_0x23029c]=this,_0x12c17c(_0x65c96f,this,_0x1070bf);};else{if(_0x309c69==='open')_0x1933dc=function(){const _0x2beb55=_0x3e1468,_0x39fc00=new _0x3429ca(_0x2beb55(0x2a5));_0x39fc00[_0x23029c]=this,_0x12c17c(_0x65c96f,this,_0x39fc00);};else return;}}}_0x1933dc[_0x2e73cf]=!!_0x21bf41[_0x2e73cf],_0x1933dc[_0x14629e]=_0x65c96f,_0x21bf41[_0x3e1468(0x1b7)]?this[_0x3e1468(0x1b7)](_0x309c69,_0x1933dc):this['on'](_0x309c69,_0x1933dc);},'removeEventListener'(_0x6bdb61,_0x2d9151){const _0x296c40=_0x45dc9e;for(const _0x4e6cae of this[_0x296c40(0x1aa)](_0x6bdb61))if(_0x4e6cae[_0x14629e]===_0x2d9151&&!_0x4e6cae[_0x2e73cf]){this[_0x296c40(0x247)](_0x6bdb61,_0x4e6cae);break;}}},'MessageEvent':_0x187cc2};function _0x12c17c(_0x28b958,_0x2369c6,_0x45790d){const _0x3e9b9d=_0x45dc9e;typeof _0x28b958=='object'&&_0x28b958['handleEvent']?_0x28b958[_0x3e9b9d(0x15e)][_0x3e9b9d(0x2ad)](_0x28b958,_0x45790d):_0x28b958[_0x3e9b9d(0x2ad)](_0x2369c6,_0x45790d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xf5c896}=ne();function _0x48aaa8(_0x4444f3,_0x45bab1,_0x4b6b44){const _0xd8058=_0x2595;_0x4444f3[_0x45bab1]===void 0x0?_0x4444f3[_0x45bab1]=[_0x4b6b44]:_0x4444f3[_0x45bab1][_0xd8058(0x1ec)](_0x4b6b44);}function _0x147613(_0x29546b){const _0x3c0cec=_0x2595,_0x4cd910=Object[_0x3c0cec(0x2da)](null);let _0x16bac7=Object[_0x3c0cec(0x2da)](null),_0x567c52=!0x1,_0x4e48e9=!0x1,_0x535f96=!0x1,_0x5e32a0,_0x2cb15a,_0xd9e56e=-0x1,_0x119e22=-0x1,_0x200a2f=-0x1,_0x214213=0x0;for(;_0x214213<_0x29546b[_0x3c0cec(0x251)];_0x214213++)if(_0x119e22=_0x29546b['charCodeAt'](_0x214213),_0x5e32a0===void 0x0){if(_0x200a2f===-0x1&&_0xf5c896[_0x119e22]===0x1)_0xd9e56e===-0x1&&(_0xd9e56e=_0x214213);else{if(_0x214213!==0x0&&(_0x119e22===0x20||_0x119e22===0x9))_0x200a2f===-0x1&&_0xd9e56e!==-0x1&&(_0x200a2f=_0x214213);else{if(_0x119e22===0x3b||_0x119e22===0x2c){if(_0xd9e56e===-0x1)throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);_0x200a2f===-0x1&&(_0x200a2f=_0x214213);const _0xfe7526=_0x29546b[_0x3c0cec(0x15d)](_0xd9e56e,_0x200a2f);_0x119e22===0x2c?(_0x48aaa8(_0x4cd910,_0xfe7526,_0x16bac7),_0x16bac7=Object[_0x3c0cec(0x2da)](null)):_0x5e32a0=_0xfe7526,_0xd9e56e=_0x200a2f=-0x1;}else throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);}}}else{if(_0x2cb15a===void 0x0){if(_0x200a2f===-0x1&&_0xf5c896[_0x119e22]===0x1)_0xd9e56e===-0x1&&(_0xd9e56e=_0x214213);else{if(_0x119e22===0x20||_0x119e22===0x9)_0x200a2f===-0x1&&_0xd9e56e!==-0x1&&(_0x200a2f=_0x214213);else{if(_0x119e22===0x3b||_0x119e22===0x2c){if(_0xd9e56e===-0x1)throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);_0x200a2f===-0x1&&(_0x200a2f=_0x214213),_0x48aaa8(_0x16bac7,_0x29546b[_0x3c0cec(0x15d)](_0xd9e56e,_0x200a2f),!0x0),_0x119e22===0x2c&&(_0x48aaa8(_0x4cd910,_0x5e32a0,_0x16bac7),_0x16bac7=Object[_0x3c0cec(0x2da)](null),_0x5e32a0=void 0x0),_0xd9e56e=_0x200a2f=-0x1;}else{if(_0x119e22===0x3d&&_0xd9e56e!==-0x1&&_0x200a2f===-0x1)_0x2cb15a=_0x29546b[_0x3c0cec(0x15d)](_0xd9e56e,_0x214213),_0xd9e56e=_0x200a2f=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x214213);}}}}else{if(_0x4e48e9){if(_0xf5c896[_0x119e22]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x214213);_0xd9e56e===-0x1?_0xd9e56e=_0x214213:_0x567c52||(_0x567c52=!0x0),_0x4e48e9=!0x1;}else{if(_0x535f96){if(_0xf5c896[_0x119e22]===0x1)_0xd9e56e===-0x1&&(_0xd9e56e=_0x214213);else{if(_0x119e22===0x22&&_0xd9e56e!==-0x1)_0x535f96=!0x1,_0x200a2f=_0x214213;else{if(_0x119e22===0x5c)_0x4e48e9=!0x0;else throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);}}}else{if(_0x119e22===0x22&&_0x29546b[_0x3c0cec(0x27f)](_0x214213-0x1)===0x3d)_0x535f96=!0x0;else{if(_0x200a2f===-0x1&&_0xf5c896[_0x119e22]===0x1)_0xd9e56e===-0x1&&(_0xd9e56e=_0x214213);else{if(_0xd9e56e!==-0x1&&(_0x119e22===0x20||_0x119e22===0x9))_0x200a2f===-0x1&&(_0x200a2f=_0x214213);else{if(_0x119e22===0x3b||_0x119e22===0x2c){if(_0xd9e56e===-0x1)throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);_0x200a2f===-0x1&&(_0x200a2f=_0x214213);let _0x4f7f25=_0x29546b[_0x3c0cec(0x15d)](_0xd9e56e,_0x200a2f);_0x567c52&&(_0x4f7f25=_0x4f7f25[_0x3c0cec(0x19c)](/\\/g,''),_0x567c52=!0x1),_0x48aaa8(_0x16bac7,_0x2cb15a,_0x4f7f25),_0x119e22===0x2c&&(_0x48aaa8(_0x4cd910,_0x5e32a0,_0x16bac7),_0x16bac7=Object[_0x3c0cec(0x2da)](null),_0x5e32a0=void 0x0),_0x2cb15a=void 0x0,_0xd9e56e=_0x200a2f=-0x1;}else throw new SyntaxError(_0x3c0cec(0x1bb)+_0x214213);}}}}}}}if(_0xd9e56e===-0x1||_0x535f96||_0x119e22===0x20||_0x119e22===0x9)throw new SyntaxError(_0x3c0cec(0x16d));_0x200a2f===-0x1&&(_0x200a2f=_0x214213);const _0x313afe=_0x29546b['slice'](_0xd9e56e,_0x200a2f);return _0x5e32a0===void 0x0?_0x48aaa8(_0x4cd910,_0x313afe,_0x16bac7):(_0x2cb15a===void 0x0?_0x48aaa8(_0x16bac7,_0x313afe,!0x0):_0x567c52?_0x48aaa8(_0x16bac7,_0x2cb15a,_0x313afe[_0x3c0cec(0x19c)](/\\/g,'')):_0x48aaa8(_0x16bac7,_0x2cb15a,_0x313afe),_0x48aaa8(_0x4cd910,_0x5e32a0,_0x16bac7)),_0x4cd910;}function _0x2fb3c3(_0x39bea4){const _0x5d9168=_0x2595;return Object['keys'](_0x39bea4)[_0x5d9168(0x1b1)](_0x379389=>{const _0x484906=_0x5d9168;let _0x59485f=_0x39bea4[_0x379389];return Array[_0x484906(0x1a1)](_0x59485f)||(_0x59485f=[_0x59485f]),_0x59485f[_0x484906(0x1b1)](_0xec8fb9=>[_0x379389]['concat'](Object[_0x484906(0x205)](_0xec8fb9)[_0x484906(0x1b1)](_0x5b3a08=>{const _0x46b48c=_0x484906;let _0x29e5a0=_0xec8fb9[_0x5b3a08];return Array[_0x46b48c(0x1a1)](_0x29e5a0)||(_0x29e5a0=[_0x29e5a0]),_0x29e5a0['map'](_0x52f9e7=>_0x52f9e7===!0x0?_0x5b3a08:_0x5b3a08+'='+_0x52f9e7)[_0x46b48c(0x1be)](';\x20');}))[_0x484906(0x1be)](';\x20'))[_0x484906(0x1be)](',\x20');})[_0x5d9168(0x1be)](',\x20');}return be={'format':_0x2fb3c3,'parse':_0x147613},be;}var we,st;function Ie(){const _0x449112=_0x1fe17d;if(st)return we;st=0x1;const _0x108fe3=_0x57a0fe,_0x21a98a=_0xaa1092,_0x35f660=_0x146c13,_0x2888c5=_0x5dfae6,_0x237652=_0xe9d4d2,{randomBytes:_0x5e4688,createHash:_0x2c12a7}=_0x516edb,{Duplex:_0x3f1d72,Readable:_0x31bbbd}=_0x56778d,{URL:_0x514e1b}=_0x5a19bc,_0x1dc5c5=he(),_0x4176ea=dt(),_0x58ae4f=_t(),{isBlob:_0x390189}=ne(),{BINARY_TYPES:_0x562f47,EMPTY_BUFFER:_0x2e27a3,GUID:_0x5af9a8,kForOnEventAttribute:_0x15a6d5,kListener:_0x19c59e,kStatusCode:_0x327073,kWebSocket:_0x56f358,NOOP:_0x24b4fd}=V(),{EventTarget:{addEventListener:_0x2d2241,removeEventListener:_0x314a40}}=Kt(),{format:_0x55aae1,parse:_0x4f3f12}=pt(),{toBuffer:_0x31539d}=ce(),_0xe7cb46=0x1e*0x3e8,_0x3d0ac9=Symbol(_0x449112(0x304)),_0x5c3700=[0x8,0xd],_0x464d1a=[_0x449112(0x2fc),_0x449112(0x16f),_0x449112(0x17f),_0x449112(0x2a0)],_0x4e305d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x21622b extends _0x108fe3{constructor(_0x4f4623,_0x4c5d62,_0x2307b7){const _0xcf4fa8=_0x449112;super(),this[_0xcf4fa8(0x194)]=_0x562f47[0x0],this[_0xcf4fa8(0x2be)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0xcf4fa8(0x216)]=!0x1,this[_0xcf4fa8(0x1d5)]=_0x2e27a3,this[_0xcf4fa8(0x177)]=null,this['_errorEmitted']=!0x1,this[_0xcf4fa8(0x187)]={},this['_paused']=!0x1,this['_protocol']='',this['_readyState']=_0x21622b[_0xcf4fa8(0x2fc)],this[_0xcf4fa8(0x186)]=null,this['_sender']=null,this[_0xcf4fa8(0x296)]=null,_0x4f4623!==null?(this['_bufferedAmount']=0x0,this[_0xcf4fa8(0x300)]=!0x1,this[_0xcf4fa8(0x1f0)]=0x0,_0x4c5d62===void 0x0?_0x4c5d62=[]:Array[_0xcf4fa8(0x1a1)](_0x4c5d62)||(typeof _0x4c5d62==_0xcf4fa8(0x2c6)&&_0x4c5d62!==null?(_0x2307b7=_0x4c5d62,_0x4c5d62=[]):_0x4c5d62=[_0x4c5d62]),_0x182fd9(this,_0x4f4623,_0x4c5d62,_0x2307b7)):(this['_autoPong']=_0x2307b7[_0xcf4fa8(0x1fd)],this[_0xcf4fa8(0x300)]=!0x0);}get[_0x449112(0x25d)](){const _0x5f2904=_0x449112;return this[_0x5f2904(0x194)];}set['binaryType'](_0x56fa4c){const _0x2f1abe=_0x449112;_0x562f47[_0x2f1abe(0x2a1)](_0x56fa4c)&&(this[_0x2f1abe(0x194)]=_0x56fa4c,this[_0x2f1abe(0x186)]&&(this[_0x2f1abe(0x186)][_0x2f1abe(0x194)]=_0x56fa4c));}get[_0x449112(0x212)](){const _0x3cd177=_0x449112;return this[_0x3cd177(0x296)]?this[_0x3cd177(0x296)][_0x3cd177(0x2a9)][_0x3cd177(0x251)]+this[_0x3cd177(0x1cd)][_0x3cd177(0x231)]:this[_0x3cd177(0x203)];}get[_0x449112(0x260)](){const _0x35d62e=_0x449112;return Object['keys'](this[_0x35d62e(0x187)])['join']();}get[_0x449112(0x2d6)](){const _0x1802af=_0x449112;return this[_0x1802af(0x217)];}get[_0x449112(0x1ce)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x449112(0x19d)](){const _0x1150dc=_0x449112;return this[_0x1150dc(0x2b7)];}get['readyState'](){const _0x5ad0ee=_0x449112;return this[_0x5ad0ee(0x2b6)];}get[_0x449112(0x19f)](){const _0x546550=_0x449112;return this[_0x546550(0x1bd)];}[_0x449112(0x224)](_0x27ff7e,_0x34f1fe,_0x990418){const _0x30e96a=_0x449112,_0x465050=new _0x4176ea({'allowSynchronousEvents':_0x990418[_0x30e96a(0x22d)],'binaryType':this['binaryType'],'extensions':this[_0x30e96a(0x187)],'isServer':this[_0x30e96a(0x300)],'maxPayload':_0x990418[_0x30e96a(0x185)],'skipUTF8Validation':_0x990418[_0x30e96a(0x23d)]}),_0x26b08f=new _0x58ae4f(_0x27ff7e,this[_0x30e96a(0x187)],_0x990418[_0x30e96a(0x16a)]);this[_0x30e96a(0x186)]=_0x465050,this[_0x30e96a(0x1cd)]=_0x26b08f,this[_0x30e96a(0x296)]=_0x27ff7e,_0x465050[_0x56f358]=this,_0x26b08f[_0x56f358]=this,_0x27ff7e[_0x56f358]=this,_0x465050['on']('conclude',_0x24435b),_0x465050['on'](_0x30e96a(0x196),_0x4314f7),_0x465050['on'](_0x30e96a(0x1fe),_0x337985),_0x465050['on']('message',_0x4468a5),_0x465050['on'](_0x30e96a(0x2ba),_0x189463),_0x465050['on']('pong',_0x4bac68),_0x26b08f[_0x30e96a(0x1a2)]=_0x39cbe7,_0x27ff7e['setTimeout']&&_0x27ff7e['setTimeout'](0x0),_0x27ff7e[_0x30e96a(0x21c)]&&_0x27ff7e['setNoDelay'](),_0x34f1fe[_0x30e96a(0x251)]>0x0&&_0x27ff7e[_0x30e96a(0x285)](_0x34f1fe),_0x27ff7e['on'](_0x30e96a(0x274),_0x97214b),_0x27ff7e['on']('data',_0x24ba55),_0x27ff7e['on'](_0x30e96a(0x160),_0xd0f7e),_0x27ff7e['on'](_0x30e96a(0x1fe),_0x30056a),this[_0x30e96a(0x2b6)]=_0x21622b['OPEN'],this[_0x30e96a(0x1f4)](_0x30e96a(0x2a5));}[_0x449112(0x27e)](){const _0xf25c0a=_0x449112;if(!this['_socket']){this[_0xf25c0a(0x2b6)]=_0x21622b[_0xf25c0a(0x2a0)],this[_0xf25c0a(0x1f4)](_0xf25c0a(0x274),this[_0xf25c0a(0x2be)],this['_closeMessage']);return;}this[_0xf25c0a(0x187)][_0x1dc5c5['extensionName']]&&this[_0xf25c0a(0x187)][_0x1dc5c5['extensionName']]['cleanup'](),this['_receiver'][_0xf25c0a(0x154)](),this[_0xf25c0a(0x2b6)]=_0x21622b[_0xf25c0a(0x2a0)],this[_0xf25c0a(0x1f4)](_0xf25c0a(0x274),this[_0xf25c0a(0x2be)],this[_0xf25c0a(0x1d5)]);}[_0x449112(0x274)](_0x295ccf,_0x55ca07){const _0x5efc8b=_0x449112;if(this['readyState']!==_0x21622b['CLOSED']){if(this['readyState']===_0x21622b['CONNECTING']){_0x2e10b5(this,this[_0x5efc8b(0x2c2)],_0x5efc8b(0x272));return;}if(this['readyState']===_0x21622b['CLOSING']){this[_0x5efc8b(0x216)]&&(this[_0x5efc8b(0x23e)]||this['_receiver'][_0x5efc8b(0x2a9)][_0x5efc8b(0x18d)])&&this[_0x5efc8b(0x296)][_0x5efc8b(0x160)]();return;}this[_0x5efc8b(0x2b6)]=_0x21622b[_0x5efc8b(0x17f)],this['_sender'][_0x5efc8b(0x274)](_0x295ccf,_0x55ca07,!this[_0x5efc8b(0x300)],_0x5b2b5e=>{const _0xbe8709=_0x5efc8b;_0x5b2b5e||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0xbe8709(0x186)]['_writableState'][_0xbe8709(0x18d)])&&this[_0xbe8709(0x296)]['end']());}),_0x5bb5be(this);}}[_0x449112(0x182)](){const _0x299a9c=_0x449112;this[_0x299a9c(0x201)]===_0x21622b[_0x299a9c(0x2fc)]||this[_0x299a9c(0x201)]===_0x21622b['CLOSED']||(this[_0x299a9c(0x217)]=!0x0,this[_0x299a9c(0x296)][_0x299a9c(0x182)]());}[_0x449112(0x2ba)](_0x63e015,_0x339b67,_0x21ae02){const _0x47476b=_0x449112;if(this[_0x47476b(0x201)]===_0x21622b[_0x47476b(0x2fc)])throw new Error(_0x47476b(0x1a7));if(typeof _0x63e015==_0x47476b(0x29b)?(_0x21ae02=_0x63e015,_0x63e015=_0x339b67=void 0x0):typeof _0x339b67==_0x47476b(0x29b)&&(_0x21ae02=_0x339b67,_0x339b67=void 0x0),typeof _0x63e015=='number'&&(_0x63e015=_0x63e015['toString']()),this[_0x47476b(0x201)]!==_0x21622b[_0x47476b(0x16f)]){_0x7c36ae(this,_0x63e015,_0x21ae02);return;}_0x339b67===void 0x0&&(_0x339b67=!this[_0x47476b(0x300)]),this[_0x47476b(0x1cd)][_0x47476b(0x2ba)](_0x63e015||_0x2e27a3,_0x339b67,_0x21ae02);}[_0x449112(0x190)](_0x1c6e88,_0x27cf28,_0x55e7ef){const _0x4d8478=_0x449112;if(this['readyState']===_0x21622b[_0x4d8478(0x2fc)])throw new Error(_0x4d8478(0x1a7));if(typeof _0x1c6e88==_0x4d8478(0x29b)?(_0x55e7ef=_0x1c6e88,_0x1c6e88=_0x27cf28=void 0x0):typeof _0x27cf28==_0x4d8478(0x29b)&&(_0x55e7ef=_0x27cf28,_0x27cf28=void 0x0),typeof _0x1c6e88=='number'&&(_0x1c6e88=_0x1c6e88[_0x4d8478(0x297)]()),this[_0x4d8478(0x201)]!==_0x21622b[_0x4d8478(0x16f)]){_0x7c36ae(this,_0x1c6e88,_0x55e7ef);return;}_0x27cf28===void 0x0&&(_0x27cf28=!this[_0x4d8478(0x300)]),this[_0x4d8478(0x1cd)][_0x4d8478(0x190)](_0x1c6e88||_0x2e27a3,_0x27cf28,_0x55e7ef);}['resume'](){const _0x5b610a=_0x449112;this[_0x5b610a(0x201)]===_0x21622b[_0x5b610a(0x2fc)]||this[_0x5b610a(0x201)]===_0x21622b[_0x5b610a(0x2a0)]||(this['_paused']=!0x1,this[_0x5b610a(0x186)][_0x5b610a(0x2a9)][_0x5b610a(0x163)]||this[_0x5b610a(0x296)]['resume']());}[_0x449112(0x209)](_0x4ec353,_0x17fada,_0x2fbe68){const _0x525e8a=_0x449112;if(this[_0x525e8a(0x201)]===_0x21622b['CONNECTING'])throw new Error(_0x525e8a(0x1a7));if(typeof _0x17fada==_0x525e8a(0x29b)&&(_0x2fbe68=_0x17fada,_0x17fada={}),typeof _0x4ec353==_0x525e8a(0x183)&&(_0x4ec353=_0x4ec353[_0x525e8a(0x297)]()),this[_0x525e8a(0x201)]!==_0x21622b['OPEN']){_0x7c36ae(this,_0x4ec353,_0x2fbe68);return;}const _0x7a6d22={'binary':typeof _0x4ec353!=_0x525e8a(0x232),'mask':!this[_0x525e8a(0x300)],'compress':!0x0,'fin':!0x0,..._0x17fada};this['_extensions'][_0x1dc5c5[_0x525e8a(0x1e1)]]||(_0x7a6d22[_0x525e8a(0x18b)]=!0x1),this['_sender'][_0x525e8a(0x209)](_0x4ec353||_0x2e27a3,_0x7a6d22,_0x2fbe68);}['terminate'](){const _0xf302a8=_0x449112;if(this['readyState']!==_0x21622b[_0xf302a8(0x2a0)]){if(this['readyState']===_0x21622b[_0xf302a8(0x2fc)]){_0x2e10b5(this,this[_0xf302a8(0x2c2)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xf302a8(0x296)]&&(this[_0xf302a8(0x2b6)]=_0x21622b[_0xf302a8(0x17f)],this[_0xf302a8(0x296)][_0xf302a8(0x307)]());}}}Object[_0x449112(0x16e)](_0x21622b,_0x449112(0x2fc),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)](_0x449112(0x2fc))}),Object['defineProperty'](_0x21622b[_0x449112(0x218)],_0x449112(0x2fc),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)](_0x449112(0x2fc))}),Object[_0x449112(0x16e)](_0x21622b,_0x449112(0x16f),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)]('OPEN')}),Object[_0x449112(0x16e)](_0x21622b[_0x449112(0x218)],_0x449112(0x16f),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)](_0x449112(0x16f))}),Object[_0x449112(0x16e)](_0x21622b,'CLOSING',{'enumerable':!0x0,'value':_0x464d1a['indexOf'](_0x449112(0x17f))}),Object[_0x449112(0x16e)](_0x21622b[_0x449112(0x218)],_0x449112(0x17f),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)](_0x449112(0x17f))}),Object['defineProperty'](_0x21622b,_0x449112(0x2a0),{'enumerable':!0x0,'value':_0x464d1a[_0x449112(0x244)](_0x449112(0x2a0))}),Object[_0x449112(0x16e)](_0x21622b['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x464d1a['indexOf']('CLOSED')}),[_0x449112(0x25d),_0x449112(0x212),'extensions','isPaused',_0x449112(0x19d),_0x449112(0x201),_0x449112(0x19f)][_0x449112(0x17d)](_0x34b85b=>{const _0x434c24=_0x449112;Object[_0x434c24(0x16e)](_0x21622b[_0x434c24(0x218)],_0x34b85b,{'enumerable':!0x0});}),[_0x449112(0x2a5),'error',_0x449112(0x274),_0x449112(0x250)][_0x449112(0x17d)](_0x2db62e=>{const _0x3e6457=_0x449112;Object[_0x3e6457(0x16e)](_0x21622b['prototype'],'on'+_0x2db62e,{'enumerable':!0x0,'get'(){const _0x208845=_0x3e6457;for(const _0x50cead of this[_0x208845(0x1aa)](_0x2db62e))if(_0x50cead[_0x15a6d5])return _0x50cead[_0x19c59e];return null;},'set'(_0x20e856){const _0x2ce3e4=_0x3e6457;for(const _0x38600b of this[_0x2ce3e4(0x1aa)](_0x2db62e))if(_0x38600b[_0x15a6d5]){this['removeListener'](_0x2db62e,_0x38600b);break;}typeof _0x20e856==_0x2ce3e4(0x29b)&&this[_0x2ce3e4(0x171)](_0x2db62e,_0x20e856,{[_0x15a6d5]:!0x0});}});}),_0x21622b['prototype'][_0x449112(0x171)]=_0x2d2241,_0x21622b[_0x449112(0x218)]['removeEventListener']=_0x314a40,we=_0x21622b;function _0x182fd9(_0x569ee7,_0x25a1a7,_0x393896,_0x293156){const _0x523315=_0x449112,_0x2d0e2c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5c3700[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x293156,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x523315(0x1c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x569ee7['_autoPong']=_0x2d0e2c[_0x523315(0x1fd)],!_0x5c3700['includes'](_0x2d0e2c[_0x523315(0x18c)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2d0e2c['protocolVersion']+_0x523315(0x213)+_0x5c3700['join'](',\x20')+')');let _0x3b35e7;if(_0x25a1a7 instanceof _0x514e1b)_0x3b35e7=_0x25a1a7;else try{_0x3b35e7=new _0x514e1b(_0x25a1a7);}catch{throw new SyntaxError(_0x523315(0x15c)+_0x25a1a7);}_0x3b35e7[_0x523315(0x19d)]===_0x523315(0x22b)?_0x3b35e7['protocol']=_0x523315(0x1c5):_0x3b35e7[_0x523315(0x19d)]==='https:'&&(_0x3b35e7[_0x523315(0x19d)]=_0x523315(0x2b5)),_0x569ee7[_0x523315(0x1bd)]=_0x3b35e7[_0x523315(0x26d)];const _0x4c17c1=_0x3b35e7['protocol']===_0x523315(0x2b5),_0x2ab1e1=_0x3b35e7[_0x523315(0x19d)]===_0x523315(0x19b);let _0x27c406;if(_0x3b35e7[_0x523315(0x19d)]!==_0x523315(0x1c5)&&!_0x4c17c1&&!_0x2ab1e1?_0x27c406=_0x523315(0x2db):_0x2ab1e1&&!_0x3b35e7['pathname']?_0x27c406=_0x523315(0x204):_0x3b35e7[_0x523315(0x2ec)]&&(_0x27c406=_0x523315(0x27c)),_0x27c406){const _0xb73548=new SyntaxError(_0x27c406);if(_0x569ee7['_redirects']===0x0)throw _0xb73548;_0x21f5dc(_0x569ee7,_0xb73548);return;}const _0x4fb1ee=_0x4c17c1?0x1bb:0x50,_0x21f635=_0x5e4688(0x10)[_0x523315(0x297)]('base64'),_0x4be132=_0x4c17c1?_0x21a98a[_0x523315(0x15b)]:_0x35f660['request'],_0x1419fc=new Set();let _0x40578b;if(_0x2d0e2c['createConnection']=_0x2d0e2c[_0x523315(0x175)]||(_0x4c17c1?_0x5c8770:_0x57d472),_0x2d0e2c[_0x523315(0x2f8)]=_0x2d0e2c['defaultPort']||_0x4fb1ee,_0x2d0e2c[_0x523315(0x27b)]=_0x3b35e7[_0x523315(0x27b)]||_0x4fb1ee,_0x2d0e2c[_0x523315(0x2ca)]=_0x3b35e7[_0x523315(0x17a)]['startsWith']('[')?_0x3b35e7[_0x523315(0x17a)][_0x523315(0x15d)](0x1,-0x1):_0x3b35e7[_0x523315(0x17a)],_0x2d0e2c[_0x523315(0x1da)]={..._0x2d0e2c['headers'],'Sec-WebSocket-Version':_0x2d0e2c[_0x523315(0x18c)],'Sec-WebSocket-Key':_0x21f635,'Connection':'Upgrade','Upgrade':_0x523315(0x2b2)},_0x2d0e2c['path']=_0x3b35e7[_0x523315(0x1c9)]+_0x3b35e7[_0x523315(0x289)],_0x2d0e2c[_0x523315(0x1c8)]=_0x2d0e2c[_0x523315(0x2cb)],_0x2d0e2c[_0x523315(0x20e)]&&(_0x40578b=new _0x1dc5c5(_0x2d0e2c[_0x523315(0x20e)]!==!0x0?_0x2d0e2c[_0x523315(0x20e)]:{},!0x1,_0x2d0e2c['maxPayload']),_0x2d0e2c[_0x523315(0x1da)][_0x523315(0x2e4)]=_0x55aae1({[_0x1dc5c5[_0x523315(0x1e1)]]:_0x40578b[_0x523315(0x23c)]()})),_0x393896[_0x523315(0x251)]){for(const _0x5ba232 of _0x393896){if(typeof _0x5ba232!=_0x523315(0x232)||!_0x4e305d[_0x523315(0x2e1)](_0x5ba232)||_0x1419fc[_0x523315(0x278)](_0x5ba232))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x1419fc[_0x523315(0x22e)](_0x5ba232);}_0x2d0e2c['headers']['Sec-WebSocket-Protocol']=_0x393896[_0x523315(0x1be)](',');}if(_0x2d0e2c[_0x523315(0x1db)]&&(_0x2d0e2c[_0x523315(0x18c)]<0xd?_0x2d0e2c[_0x523315(0x1da)][_0x523315(0x211)]=_0x2d0e2c[_0x523315(0x1db)]:_0x2d0e2c['headers'][_0x523315(0x23a)]=_0x2d0e2c['origin']),(_0x3b35e7['username']||_0x3b35e7[_0x523315(0x1dc)])&&(_0x2d0e2c[_0x523315(0x25f)]=_0x3b35e7[_0x523315(0x157)]+':'+_0x3b35e7[_0x523315(0x1dc)]),_0x2ab1e1){const _0x17dfac=_0x2d0e2c[_0x523315(0x1ed)][_0x523315(0x2e7)](':');_0x2d0e2c[_0x523315(0x1d2)]=_0x17dfac[0x0],_0x2d0e2c['path']=_0x17dfac[0x1];}let _0x332ddb;if(_0x2d0e2c[_0x523315(0x283)]){if(_0x569ee7[_0x523315(0x1f0)]===0x0){_0x569ee7['_originalIpc']=_0x2ab1e1,_0x569ee7['_originalSecure']=_0x4c17c1,_0x569ee7[_0x523315(0x2b4)]=_0x2ab1e1?_0x2d0e2c['socketPath']:_0x3b35e7[_0x523315(0x2ca)];const _0x112254=_0x293156&&_0x293156[_0x523315(0x1da)];if(_0x293156={..._0x293156,'headers':{}},_0x112254){for(const [_0x474bf0,_0x190d5d]of Object[_0x523315(0x19e)](_0x112254))_0x293156[_0x523315(0x1da)][_0x474bf0['toLowerCase']()]=_0x190d5d;}}else{if(_0x569ee7[_0x523315(0x241)](_0x523315(0x265))===0x0){const _0x516fa1=_0x2ab1e1?_0x569ee7[_0x523315(0x2ea)]?_0x2d0e2c[_0x523315(0x1d2)]===_0x569ee7['_originalHostOrSocketPath']:!0x1:_0x569ee7[_0x523315(0x2ea)]?!0x1:_0x3b35e7[_0x523315(0x2ca)]===_0x569ee7[_0x523315(0x2b4)];(!_0x516fa1||_0x569ee7['_originalSecure']&&!_0x4c17c1)&&(delete _0x2d0e2c['headers'][_0x523315(0x220)],delete _0x2d0e2c[_0x523315(0x1da)][_0x523315(0x2a6)],_0x516fa1||delete _0x2d0e2c['headers'][_0x523315(0x2ca)],_0x2d0e2c[_0x523315(0x25f)]=void 0x0);}}_0x2d0e2c[_0x523315(0x25f)]&&!_0x293156['headers'][_0x523315(0x220)]&&(_0x293156['headers']['authorization']=_0x523315(0x266)+Buffer['from'](_0x2d0e2c[_0x523315(0x25f)])[_0x523315(0x297)]('base64')),_0x332ddb=_0x569ee7[_0x523315(0x2c2)]=_0x4be132(_0x2d0e2c),_0x569ee7[_0x523315(0x1f0)]&&_0x569ee7[_0x523315(0x1f4)](_0x523315(0x265),_0x569ee7['url'],_0x332ddb);}else _0x332ddb=_0x569ee7['_req']=_0x4be132(_0x2d0e2c);_0x2d0e2c[_0x523315(0x1c8)]&&_0x332ddb['on'](_0x523315(0x1c8),()=>{const _0xc9a25c=_0x523315;_0x2e10b5(_0x569ee7,_0x332ddb,_0xc9a25c(0x16b));}),_0x332ddb['on'](_0x523315(0x1fe),_0x1a7953=>{const _0x3b65e9=_0x523315;_0x332ddb===null||_0x332ddb[_0x3d0ac9]||(_0x332ddb=_0x569ee7[_0x3b65e9(0x2c2)]=null,_0x21f5dc(_0x569ee7,_0x1a7953));}),_0x332ddb['on'](_0x523315(0x226),_0xeb8b58=>{const _0x51e672=_0x523315,_0x5365e0=_0xeb8b58[_0x51e672(0x1da)][_0x51e672(0x2fa)],_0x8fe159=_0xeb8b58[_0x51e672(0x261)];if(_0x5365e0&&_0x2d0e2c[_0x51e672(0x283)]&&_0x8fe159>=0x12c&&_0x8fe159<0x190){if(++_0x569ee7[_0x51e672(0x1f0)]>_0x2d0e2c[_0x51e672(0x1ae)]){_0x2e10b5(_0x569ee7,_0x332ddb,_0x51e672(0x2b1));return;}_0x332ddb[_0x51e672(0x258)]();let _0x3ad9fc;try{_0x3ad9fc=new _0x514e1b(_0x5365e0,_0x25a1a7);}catch{const _0x136bc2=new SyntaxError(_0x51e672(0x15c)+_0x5365e0);_0x21f5dc(_0x569ee7,_0x136bc2);return;}_0x182fd9(_0x569ee7,_0x3ad9fc,_0x393896,_0x293156);}else _0x569ee7[_0x51e672(0x1f4)](_0x51e672(0x153),_0x332ddb,_0xeb8b58)||_0x2e10b5(_0x569ee7,_0x332ddb,'Unexpected\x20server\x20response:\x20'+_0xeb8b58[_0x51e672(0x261)]);}),_0x332ddb['on'](_0x523315(0x19a),(_0x8c011c,_0xc9c1f2,_0x703c66)=>{const _0x9ebc8f=_0x523315;if(_0x569ee7['emit'](_0x9ebc8f(0x19a),_0x8c011c),_0x569ee7[_0x9ebc8f(0x201)]!==_0x21622b[_0x9ebc8f(0x2fc)])return;_0x332ddb=_0x569ee7[_0x9ebc8f(0x2c2)]=null;const _0x4559bf=_0x8c011c[_0x9ebc8f(0x1da)]['upgrade'];if(_0x4559bf===void 0x0||_0x4559bf[_0x9ebc8f(0x223)]()!==_0x9ebc8f(0x2b2)){_0x2e10b5(_0x569ee7,_0xc9c1f2,'Invalid\x20Upgrade\x20header');return;}const _0x3b2dc3=_0x2c12a7('sha1')[_0x9ebc8f(0x1c2)](_0x21f635+_0x5af9a8)[_0x9ebc8f(0x17e)](_0x9ebc8f(0x151));if(_0x8c011c[_0x9ebc8f(0x1da)][_0x9ebc8f(0x189)]!==_0x3b2dc3){_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x9ebc8f(0x1d6));return;}const _0x280f1a=_0x8c011c[_0x9ebc8f(0x1da)][_0x9ebc8f(0x1a6)];let _0x13947e;if(_0x280f1a!==void 0x0?_0x1419fc[_0x9ebc8f(0x20c)]?_0x1419fc['has'](_0x280f1a)||(_0x13947e=_0x9ebc8f(0x2d3)):_0x13947e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1419fc[_0x9ebc8f(0x20c)]&&(_0x13947e=_0x9ebc8f(0x2d7)),_0x13947e){_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x13947e);return;}_0x280f1a&&(_0x569ee7[_0x9ebc8f(0x2b7)]=_0x280f1a);const _0x3f9516=_0x8c011c['headers'][_0x9ebc8f(0x1ea)];if(_0x3f9516!==void 0x0){if(!_0x40578b){_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x9ebc8f(0x301));return;}let _0x19a58a;try{_0x19a58a=_0x4f3f12(_0x3f9516);}catch{_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x9ebc8f(0x25a));return;}const _0x3cef88=Object[_0x9ebc8f(0x205)](_0x19a58a);if(_0x3cef88['length']!==0x1||_0x3cef88[0x0]!==_0x1dc5c5[_0x9ebc8f(0x1e1)]){_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x9ebc8f(0x1df));return;}try{_0x40578b[_0x9ebc8f(0x219)](_0x19a58a[_0x1dc5c5[_0x9ebc8f(0x1e1)]]);}catch{_0x2e10b5(_0x569ee7,_0xc9c1f2,_0x9ebc8f(0x25a));return;}_0x569ee7[_0x9ebc8f(0x187)][_0x1dc5c5[_0x9ebc8f(0x1e1)]]=_0x40578b;}_0x569ee7['setSocket'](_0xc9c1f2,_0x703c66,{'allowSynchronousEvents':_0x2d0e2c[_0x9ebc8f(0x22d)],'generateMask':_0x2d0e2c[_0x9ebc8f(0x16a)],'maxPayload':_0x2d0e2c[_0x9ebc8f(0x185)],'skipUTF8Validation':_0x2d0e2c[_0x9ebc8f(0x23d)]});}),_0x2d0e2c['finishRequest']?_0x2d0e2c[_0x523315(0x2c7)](_0x332ddb,_0x569ee7):_0x332ddb['end']();}function _0x21f5dc(_0x2be7a3,_0x4bf5af){const _0x23b10c=_0x449112;_0x2be7a3[_0x23b10c(0x2b6)]=_0x21622b[_0x23b10c(0x17f)],_0x2be7a3[_0x23b10c(0x1b8)]=!0x0,_0x2be7a3[_0x23b10c(0x1f4)]('error',_0x4bf5af),_0x2be7a3[_0x23b10c(0x27e)]();}function _0x57d472(_0x54448e){const _0x59137c=_0x449112;return _0x54448e[_0x59137c(0x1ed)]=_0x54448e[_0x59137c(0x1d2)],_0x2888c5[_0x59137c(0x1cb)](_0x54448e);}function _0x5c8770(_0x58722f){const _0x4674e8=_0x449112;return _0x58722f[_0x4674e8(0x1ed)]=void 0x0,!_0x58722f['servername']&&_0x58722f['servername']!==''&&(_0x58722f[_0x4674e8(0x1d0)]=_0x2888c5[_0x4674e8(0x273)](_0x58722f[_0x4674e8(0x2ca)])?'':_0x58722f['host']),_0x237652[_0x4674e8(0x1cb)](_0x58722f);}function _0x2e10b5(_0x1b6b13,_0x552105,_0x295ac3){const _0x2c59f5=_0x449112;_0x1b6b13['_readyState']=_0x21622b[_0x2c59f5(0x17f)];const _0x1a8b6e=new Error(_0x295ac3);Error['captureStackTrace'](_0x1a8b6e,_0x2e10b5),_0x552105[_0x2c59f5(0x1d8)]?(_0x552105[_0x3d0ac9]=!0x0,_0x552105[_0x2c59f5(0x258)](),_0x552105['socket']&&!_0x552105[_0x2c59f5(0x302)][_0x2c59f5(0x1a5)]&&_0x552105[_0x2c59f5(0x302)][_0x2c59f5(0x307)](),process[_0x2c59f5(0x1f7)](_0x21f5dc,_0x1b6b13,_0x1a8b6e)):(_0x552105['destroy'](_0x1a8b6e),_0x552105['once'](_0x2c59f5(0x1fe),_0x1b6b13['emit'][_0x2c59f5(0x2d8)](_0x1b6b13,_0x2c59f5(0x1fe))),_0x552105[_0x2c59f5(0x1b7)](_0x2c59f5(0x274),_0x1b6b13[_0x2c59f5(0x27e)]['bind'](_0x1b6b13)));}function _0x7c36ae(_0x314e14,_0x3c8398,_0x71161d){const _0x390e5e=_0x449112;if(_0x3c8398){const _0x538cd0=_0x390189(_0x3c8398)?_0x3c8398[_0x390e5e(0x20c)]:_0x31539d(_0x3c8398)[_0x390e5e(0x251)];_0x314e14[_0x390e5e(0x296)]?_0x314e14[_0x390e5e(0x1cd)][_0x390e5e(0x231)]+=_0x538cd0:_0x314e14['_bufferedAmount']+=_0x538cd0;}if(_0x71161d){const _0x421116=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x314e14[_0x390e5e(0x201)]+'\x20('+_0x464d1a[_0x314e14[_0x390e5e(0x201)]]+')');process['nextTick'](_0x71161d,_0x421116);}}function _0x24435b(_0x4b7dff,_0x555c24){const _0x26a7ce=_0x449112,_0x5f4645=this[_0x56f358];_0x5f4645['_closeFrameReceived']=!0x0,_0x5f4645[_0x26a7ce(0x1d5)]=_0x555c24,_0x5f4645[_0x26a7ce(0x2be)]=_0x4b7dff,_0x5f4645['_socket'][_0x56f358]!==void 0x0&&(_0x5f4645[_0x26a7ce(0x296)][_0x26a7ce(0x247)](_0x26a7ce(0x276),_0x24ba55),process[_0x26a7ce(0x1f7)](_0x528d37,_0x5f4645[_0x26a7ce(0x296)]),_0x4b7dff===0x3ed?_0x5f4645[_0x26a7ce(0x274)]():_0x5f4645[_0x26a7ce(0x274)](_0x4b7dff,_0x555c24));}function _0x4314f7(){const _0x492454=_0x449112,_0x44160a=this[_0x56f358];_0x44160a[_0x492454(0x2d6)]||_0x44160a['_socket'][_0x492454(0x299)]();}function _0x337985(_0x5c0dde){const _0x5508ab=_0x449112,_0x1d1419=this[_0x56f358];_0x1d1419[_0x5508ab(0x296)][_0x56f358]!==void 0x0&&(_0x1d1419[_0x5508ab(0x296)][_0x5508ab(0x247)]('data',_0x24ba55),process[_0x5508ab(0x1f7)](_0x528d37,_0x1d1419['_socket']),_0x1d1419[_0x5508ab(0x274)](_0x5c0dde[_0x327073])),_0x1d1419['_errorEmitted']||(_0x1d1419[_0x5508ab(0x1b8)]=!0x0,_0x1d1419[_0x5508ab(0x1f4)]('error',_0x5c0dde));}function _0x2e6c3a(){this[_0x56f358]['emitClose']();}function _0x4468a5(_0x31be2c,_0x4c3122){const _0x5c65f4=_0x449112;this[_0x56f358][_0x5c65f4(0x1f4)](_0x5c65f4(0x250),_0x31be2c,_0x4c3122);}function _0x189463(_0x5c3cd1){const _0xb8f93c=_0x449112,_0x3cc5ab=this[_0x56f358];_0x3cc5ab['_autoPong']&&_0x3cc5ab[_0xb8f93c(0x190)](_0x5c3cd1,!this[_0xb8f93c(0x300)],_0x24b4fd),_0x3cc5ab[_0xb8f93c(0x1f4)](_0xb8f93c(0x2ba),_0x5c3cd1);}function _0x4bac68(_0x4e687d){const _0x5bcf7f=_0x449112;this[_0x56f358][_0x5bcf7f(0x1f4)](_0x5bcf7f(0x190),_0x4e687d);}function _0x528d37(_0x187062){const _0x56d593=_0x449112;_0x187062[_0x56d593(0x299)]();}function _0x39cbe7(_0x3e7d15){const _0x3db77a=_0x449112,_0x269646=this[_0x56f358];_0x269646[_0x3db77a(0x201)]!==_0x21622b[_0x3db77a(0x2a0)]&&(_0x269646[_0x3db77a(0x201)]===_0x21622b[_0x3db77a(0x16f)]&&(_0x269646[_0x3db77a(0x2b6)]=_0x21622b['CLOSING'],_0x5bb5be(_0x269646)),this[_0x3db77a(0x296)][_0x3db77a(0x160)](),_0x269646['_errorEmitted']||(_0x269646[_0x3db77a(0x1b8)]=!0x0,_0x269646['emit'](_0x3db77a(0x1fe),_0x3e7d15)));}function _0x5bb5be(_0x20aa32){const _0x2b93af=_0x449112;_0x20aa32[_0x2b93af(0x177)]=setTimeout(_0x20aa32[_0x2b93af(0x296)]['destroy'][_0x2b93af(0x2d8)](_0x20aa32['_socket']),_0xe7cb46);}function _0x97214b(){const _0x287421=_0x449112,_0x168d9d=this[_0x56f358];this[_0x287421(0x247)](_0x287421(0x274),_0x97214b),this[_0x287421(0x247)](_0x287421(0x276),_0x24ba55),this['removeListener'](_0x287421(0x160),_0xd0f7e),_0x168d9d[_0x287421(0x2b6)]=_0x21622b[_0x287421(0x17f)];let _0x2b320f;!this[_0x287421(0x152)][_0x287421(0x249)]&&!_0x168d9d[_0x287421(0x23e)]&&!_0x168d9d[_0x287421(0x186)][_0x287421(0x2a9)]['errorEmitted']&&(_0x2b320f=_0x168d9d[_0x287421(0x296)]['read']())!==null&&_0x168d9d['_receiver'][_0x287421(0x1eb)](_0x2b320f),_0x168d9d['_receiver'][_0x287421(0x160)](),this[_0x56f358]=void 0x0,clearTimeout(_0x168d9d[_0x287421(0x177)]),_0x168d9d[_0x287421(0x186)][_0x287421(0x2a9)]['finished']||_0x168d9d[_0x287421(0x186)][_0x287421(0x2a9)][_0x287421(0x18d)]?_0x168d9d[_0x287421(0x27e)]():(_0x168d9d[_0x287421(0x186)]['on'](_0x287421(0x1fe),_0x2e6c3a),_0x168d9d['_receiver']['on']('finish',_0x2e6c3a));}function _0x24ba55(_0x74eb4d){const _0x33392c=_0x449112;this[_0x56f358][_0x33392c(0x186)][_0x33392c(0x1eb)](_0x74eb4d)||this['pause']();}function _0xd0f7e(){const _0xbab927=_0x449112,_0x55d142=this[_0x56f358];_0x55d142[_0xbab927(0x2b6)]=_0x21622b['CLOSING'],_0x55d142[_0xbab927(0x186)][_0xbab927(0x160)](),this[_0xbab927(0x160)]();}function _0x30056a(){const _0xc49e28=_0x449112,_0x4b6645=this[_0x56f358];this[_0xc49e28(0x247)](_0xc49e28(0x1fe),_0x30056a),this['on']('error',_0x24b4fd),_0x4b6645&&(_0x4b6645['_readyState']=_0x21622b[_0xc49e28(0x17f)],this[_0xc49e28(0x307)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5bb5b5}=_0x56778d;function _0x5622d1(_0x11c1c8){const _0x95f5d3=_0x2595;_0x11c1c8[_0x95f5d3(0x1f4)](_0x95f5d3(0x274));}function _0x5f3166(){const _0x20e542=_0x2595;!this[_0x20e542(0x1a5)]&&this[_0x20e542(0x2a9)][_0x20e542(0x1cc)]&&this[_0x20e542(0x307)]();}function _0x52a79c(_0x22bc7e){const _0x4f7856=_0x2595;this[_0x4f7856(0x247)](_0x4f7856(0x1fe),_0x52a79c),this[_0x4f7856(0x307)](),this['listenerCount'](_0x4f7856(0x1fe))===0x0&&this[_0x4f7856(0x1f4)](_0x4f7856(0x1fe),_0x22bc7e);}function _0x1c9895(_0x586b71,_0xca4158){const _0x5e1bec=_0x2595;let _0xed4f62=!0x0;const _0x484e93=new _0x5bb5b5({..._0xca4158,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x586b71['on'](_0x5e1bec(0x250),function(_0x5e2f6d,_0x4b0cba){const _0x3eb606=_0x5e1bec,_0xc5085=!_0x4b0cba&&_0x484e93[_0x3eb606(0x152)][_0x3eb606(0x1de)]?_0x5e2f6d[_0x3eb606(0x297)]():_0x5e2f6d;_0x484e93[_0x3eb606(0x1ec)](_0xc5085)||_0x586b71['pause']();}),_0x586b71[_0x5e1bec(0x1b7)]('error',function(_0xe4b712){const _0xe997a1=_0x5e1bec;_0x484e93[_0xe997a1(0x1a5)]||(_0xed4f62=!0x1,_0x484e93[_0xe997a1(0x307)](_0xe4b712));}),_0x586b71['once'](_0x5e1bec(0x274),function(){_0x484e93['destroyed']||_0x484e93['push'](null);}),_0x484e93[_0x5e1bec(0x1ad)]=function(_0xacd804,_0x3d131c){const _0x36f1a9=_0x5e1bec;if(_0x586b71['readyState']===_0x586b71[_0x36f1a9(0x2a0)]){_0x3d131c(_0xacd804),process[_0x36f1a9(0x1f7)](_0x5622d1,_0x484e93);return;}let _0x223c48=!0x1;_0x586b71[_0x36f1a9(0x1b7)](_0x36f1a9(0x1fe),function(_0x71d9d){_0x223c48=!0x0,_0x3d131c(_0x71d9d);}),_0x586b71[_0x36f1a9(0x1b7)](_0x36f1a9(0x274),function(){const _0xb93724=_0x36f1a9;_0x223c48||_0x3d131c(_0xacd804),process[_0xb93724(0x1f7)](_0x5622d1,_0x484e93);}),_0xed4f62&&_0x586b71[_0x36f1a9(0x21a)]();},_0x484e93[_0x5e1bec(0x27d)]=function(_0x15c7bc){const _0x2e5cbe=_0x5e1bec;if(_0x586b71[_0x2e5cbe(0x201)]===_0x586b71[_0x2e5cbe(0x2fc)]){_0x586b71['once'](_0x2e5cbe(0x2a5),function(){const _0x3d85a2=_0x2e5cbe;_0x484e93[_0x3d85a2(0x27d)](_0x15c7bc);});return;}_0x586b71['_socket']!==null&&(_0x586b71['_socket']['_writableState'][_0x2e5cbe(0x1cc)]?(_0x15c7bc(),_0x484e93['_readableState'][_0x2e5cbe(0x249)]&&_0x484e93[_0x2e5cbe(0x307)]()):(_0x586b71['_socket']['once'](_0x2e5cbe(0x206),function(){_0x15c7bc();}),_0x586b71[_0x2e5cbe(0x274)]()));},_0x484e93['_read']=function(){const _0x49340f=_0x5e1bec;_0x586b71[_0x49340f(0x2d6)]&&_0x586b71[_0x49340f(0x299)]();},_0x484e93['_write']=function(_0x95146f,_0x5137c3,_0x209fc6){const _0x3ecbb0=_0x5e1bec;if(_0x586b71[_0x3ecbb0(0x201)]===_0x586b71[_0x3ecbb0(0x2fc)]){_0x586b71[_0x3ecbb0(0x1b7)](_0x3ecbb0(0x2a5),function(){const _0x58138e=_0x3ecbb0;_0x484e93[_0x58138e(0x2e5)](_0x95146f,_0x5137c3,_0x209fc6);});return;}_0x586b71[_0x3ecbb0(0x209)](_0x95146f,_0x209fc6);},_0x484e93['on'](_0x5e1bec(0x160),_0x5f3166),_0x484e93['on'](_0x5e1bec(0x1fe),_0x52a79c),_0x484e93;}return Oe=_0x1c9895,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x32e06c}=ne();function _0x3761d4(_0x2b66cd){const _0x19c937=_0x2595,_0x1bd370=new Set();let _0x497288=-0x1,_0x2be7d1=-0x1,_0x22d041=0x0;for(_0x22d041;_0x22d041<_0x2b66cd[_0x19c937(0x251)];_0x22d041++){const _0x3832a5=_0x2b66cd['charCodeAt'](_0x22d041);if(_0x2be7d1===-0x1&&_0x32e06c[_0x3832a5]===0x1)_0x497288===-0x1&&(_0x497288=_0x22d041);else{if(_0x22d041!==0x0&&(_0x3832a5===0x20||_0x3832a5===0x9))_0x2be7d1===-0x1&&_0x497288!==-0x1&&(_0x2be7d1=_0x22d041);else{if(_0x3832a5===0x2c){if(_0x497288===-0x1)throw new SyntaxError(_0x19c937(0x1bb)+_0x22d041);_0x2be7d1===-0x1&&(_0x2be7d1=_0x22d041);const _0xb91133=_0x2b66cd[_0x19c937(0x15d)](_0x497288,_0x2be7d1);if(_0x1bd370[_0x19c937(0x278)](_0xb91133))throw new SyntaxError(_0x19c937(0x2e3)+_0xb91133+'\x22\x20subprotocol\x20is\x20duplicated');_0x1bd370[_0x19c937(0x22e)](_0xb91133),_0x497288=_0x2be7d1=-0x1;}else throw new SyntaxError(_0x19c937(0x1bb)+_0x22d041);}}}if(_0x497288===-0x1||_0x2be7d1!==-0x1)throw new SyntaxError(_0x19c937(0x16d));const _0x45517d=_0x2b66cd[_0x19c937(0x15d)](_0x497288,_0x22d041);if(_0x1bd370[_0x19c937(0x278)](_0x45517d))throw new SyntaxError(_0x19c937(0x2e3)+_0x45517d+_0x19c937(0x15f));return _0x1bd370[_0x19c937(0x22e)](_0x45517d),_0x1bd370;}return Ce={'parse':_0x3761d4},Ce;}var Te,ot;function er(){const _0x195524=_0x1fe17d;if(ot)return Te;ot=0x1;const _0x543339=_0x57a0fe,_0x59aa19=_0x146c13,{Duplex:_0x221e3c}=_0x56778d,{createHash:_0x11f82f}=_0x516edb,_0xf73617=pt(),_0x26ebeb=he(),_0xbdba22=Jt(),_0x5eec26=Ie(),{GUID:_0x2e4fb7,kWebSocket:_0x536606}=V(),_0xfeb05=/^[+/0-9A-Za-z]{22}==$/,_0x57555e=0x0,_0x990528=0x1,_0x29912a=0x2;class _0x3f8daf extends _0x543339{constructor(_0x130b31,_0x55161d){const _0x4e2a02=_0x2595;if(super(),_0x130b31={'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':_0x5eec26,..._0x130b31},_0x130b31['port']==null&&!_0x130b31['server']&&!_0x130b31[_0x4e2a02(0x280)]||_0x130b31[_0x4e2a02(0x27b)]!=null&&(_0x130b31[_0x4e2a02(0x2e6)]||_0x130b31[_0x4e2a02(0x280)])||_0x130b31[_0x4e2a02(0x2e6)]&&_0x130b31[_0x4e2a02(0x280)])throw new TypeError(_0x4e2a02(0x28f));if(_0x130b31[_0x4e2a02(0x27b)]!=null?(this[_0x4e2a02(0x1d1)]=_0x59aa19[_0x4e2a02(0x165)]((_0x45fa47,_0x2f84de)=>{const _0x3aa1fa=_0x4e2a02,_0x24e6d4=_0x59aa19[_0x3aa1fa(0x2c0)][0x1aa];_0x2f84de[_0x3aa1fa(0x2c5)](0x1aa,{'Content-Length':_0x24e6d4[_0x3aa1fa(0x251)],'Content-Type':_0x3aa1fa(0x2b9)}),_0x2f84de[_0x3aa1fa(0x160)](_0x24e6d4);}),this[_0x4e2a02(0x1d1)][_0x4e2a02(0x1d4)](_0x130b31[_0x4e2a02(0x27b)],_0x130b31[_0x4e2a02(0x2ca)],_0x130b31[_0x4e2a02(0x174)],_0x55161d)):_0x130b31['server']&&(this[_0x4e2a02(0x1d1)]=_0x130b31['server']),this[_0x4e2a02(0x1d1)]){const _0x1184fe=this[_0x4e2a02(0x1f4)][_0x4e2a02(0x2d8)](this,_0x4e2a02(0x233));this['_removeListeners']=_0x4fb0e4(this[_0x4e2a02(0x1d1)],{'listening':this[_0x4e2a02(0x1f4)][_0x4e2a02(0x2d8)](this,_0x4e2a02(0x2bb)),'error':this[_0x4e2a02(0x1f4)][_0x4e2a02(0x2d8)](this,'error'),'upgrade':(_0xb4b875,_0x5e5c3d,_0x37eb78)=>{const _0x481ff8=_0x4e2a02;this[_0x481ff8(0x17b)](_0xb4b875,_0x5e5c3d,_0x37eb78,_0x1184fe);}});}_0x130b31[_0x4e2a02(0x20e)]===!0x0&&(_0x130b31[_0x4e2a02(0x20e)]={}),_0x130b31['clientTracking']&&(this[_0x4e2a02(0x28a)]=new Set(),this[_0x4e2a02(0x268)]=!0x1),this[_0x4e2a02(0x2bc)]=_0x130b31,this[_0x4e2a02(0x161)]=_0x57555e;}['address'](){const _0x482808=_0x2595;if(this[_0x482808(0x2bc)][_0x482808(0x280)])throw new Error(_0x482808(0x22f));return this[_0x482808(0x1d1)]?this[_0x482808(0x1d1)][_0x482808(0x21d)]():null;}['close'](_0x27c005){const _0x2f67ae=_0x2595;if(this[_0x2f67ae(0x161)]===_0x29912a){_0x27c005&&this['once'](_0x2f67ae(0x274),()=>{const _0x5debe8=_0x2f67ae;_0x27c005(new Error(_0x5debe8(0x20f)));}),process[_0x2f67ae(0x1f7)](_0x37601c,this);return;}if(_0x27c005&&this[_0x2f67ae(0x1b7)](_0x2f67ae(0x274),_0x27c005),this[_0x2f67ae(0x161)]!==_0x990528){if(this[_0x2f67ae(0x161)]=_0x990528,this['options'][_0x2f67ae(0x280)]||this[_0x2f67ae(0x2bc)][_0x2f67ae(0x2e6)])this['_server']&&(this[_0x2f67ae(0x305)](),this[_0x2f67ae(0x305)]=this[_0x2f67ae(0x1d1)]=null),this[_0x2f67ae(0x28a)]?this['clients']['size']?this[_0x2f67ae(0x268)]=!0x0:process[_0x2f67ae(0x1f7)](_0x37601c,this):process[_0x2f67ae(0x1f7)](_0x37601c,this);else{const _0x33eed6=this[_0x2f67ae(0x1d1)];this['_removeListeners'](),this[_0x2f67ae(0x305)]=this[_0x2f67ae(0x1d1)]=null,_0x33eed6[_0x2f67ae(0x274)](()=>{_0x37601c(this);});}}}[_0x195524(0x1f6)](_0x1698fe){const _0x118c1c=_0x195524;if(this['options'][_0x118c1c(0x1ed)]){const _0x30f199=_0x1698fe[_0x118c1c(0x19f)][_0x118c1c(0x244)]('?');if((_0x30f199!==-0x1?_0x1698fe[_0x118c1c(0x19f)]['slice'](0x0,_0x30f199):_0x1698fe[_0x118c1c(0x19f)])!==this[_0x118c1c(0x2bc)][_0x118c1c(0x1ed)])return!0x1;}return!0x0;}[_0x195524(0x17b)](_0x3f23fb,_0x2f412c,_0x588fdd,_0x396c46){const _0x42e3e1=_0x195524;_0x2f412c['on']('error',_0x4a9d80);const _0xe19769=_0x3f23fb[_0x42e3e1(0x1da)][_0x42e3e1(0x1c4)],_0x39a52a=_0x3f23fb['headers'][_0x42e3e1(0x19a)],_0x296c23=+_0x3f23fb[_0x42e3e1(0x1da)][_0x42e3e1(0x252)];if(_0x3f23fb['method']!==_0x42e3e1(0x1c7)){_0x4e746e(this,_0x3f23fb,_0x2f412c,0x195,_0x42e3e1(0x2f7));return;}if(_0x39a52a===void 0x0||_0x39a52a[_0x42e3e1(0x223)]()!==_0x42e3e1(0x2b2)){_0x4e746e(this,_0x3f23fb,_0x2f412c,0x190,_0x42e3e1(0x1f1));return;}if(_0xe19769===void 0x0||!_0xfeb05[_0x42e3e1(0x2e1)](_0xe19769)){_0x4e746e(this,_0x3f23fb,_0x2f412c,0x190,_0x42e3e1(0x1bc));return;}if(_0x296c23!==0xd&&_0x296c23!==0x8){_0x4e746e(this,_0x3f23fb,_0x2f412c,0x190,_0x42e3e1(0x1c3),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x42e3e1(0x1f6)](_0x3f23fb)){_0x516536(_0x2f412c,0x190);return;}const _0x5dd608=_0x3f23fb[_0x42e3e1(0x1da)][_0x42e3e1(0x1a6)];let _0x507298=new Set();if(_0x5dd608!==void 0x0)try{_0x507298=_0xbdba22[_0x42e3e1(0x2a7)](_0x5dd608);}catch{_0x4e746e(this,_0x3f23fb,_0x2f412c,0x190,_0x42e3e1(0x20b));return;}const _0x119ad2=_0x3f23fb['headers'][_0x42e3e1(0x1ea)],_0x27e1b3={};if(this[_0x42e3e1(0x2bc)]['perMessageDeflate']&&_0x119ad2!==void 0x0){const _0x1c55ff=new _0x26ebeb(this[_0x42e3e1(0x2bc)]['perMessageDeflate'],!0x0,this[_0x42e3e1(0x2bc)][_0x42e3e1(0x185)]);try{const _0xac17d0=_0xf73617[_0x42e3e1(0x2a7)](_0x119ad2);_0xac17d0[_0x26ebeb['extensionName']]&&(_0x1c55ff['accept'](_0xac17d0[_0x26ebeb[_0x42e3e1(0x1e1)]]),_0x27e1b3[_0x26ebeb[_0x42e3e1(0x1e1)]]=_0x1c55ff);}catch{_0x4e746e(this,_0x3f23fb,_0x2f412c,0x190,_0x42e3e1(0x29c));return;}}if(this[_0x42e3e1(0x2bc)][_0x42e3e1(0x164)]){const _0x3e5792={'origin':_0x3f23fb[_0x42e3e1(0x1da)][''+(_0x296c23===0x8?_0x42e3e1(0x1d7):_0x42e3e1(0x1db))],'secure':!!(_0x3f23fb[_0x42e3e1(0x302)][_0x42e3e1(0x267)]||_0x3f23fb[_0x42e3e1(0x302)][_0x42e3e1(0x2d2)]),'req':_0x3f23fb};if(this[_0x42e3e1(0x2bc)][_0x42e3e1(0x164)]['length']===0x2){this[_0x42e3e1(0x2bc)][_0x42e3e1(0x164)](_0x3e5792,(_0x52b412,_0x6a1b8d,_0x1cdc50,_0x237659)=>{const _0x3d142a=_0x42e3e1;if(!_0x52b412)return _0x516536(_0x2f412c,_0x6a1b8d||0x191,_0x1cdc50,_0x237659);this[_0x3d142a(0x25b)](_0x27e1b3,_0xe19769,_0x507298,_0x3f23fb,_0x2f412c,_0x588fdd,_0x396c46);});return;}if(!this['options'][_0x42e3e1(0x164)](_0x3e5792))return _0x516536(_0x2f412c,0x191);}this[_0x42e3e1(0x25b)](_0x27e1b3,_0xe19769,_0x507298,_0x3f23fb,_0x2f412c,_0x588fdd,_0x396c46);}[_0x195524(0x25b)](_0x192e28,_0x2e0a8c,_0x5db44c,_0x80c253,_0xae801c,_0x103e10,_0x4f901c){const _0x2f5750=_0x195524;if(!_0xae801c[_0x2f5750(0x1e7)]||!_0xae801c[_0x2f5750(0x288)])return _0xae801c[_0x2f5750(0x307)]();if(_0xae801c[_0x536606])throw new Error(_0x2f5750(0x2f5));if(this['_state']>_0x57555e)return _0x516536(_0xae801c,0x1f7);const _0x38afc8=[_0x2f5750(0x28e),_0x2f5750(0x23f),_0x2f5750(0x2b3),'Sec-WebSocket-Accept:\x20'+_0x11f82f(_0x2f5750(0x178))['update'](_0x2e0a8c+_0x2e4fb7)[_0x2f5750(0x17e)](_0x2f5750(0x151))],_0xa1008d=new this[(_0x2f5750(0x2bc))][(_0x2f5750(0x295))](null,void 0x0,this[_0x2f5750(0x2bc)]);if(_0x5db44c[_0x2f5750(0x20c)]){const _0x5a086e=this[_0x2f5750(0x2bc)][_0x2f5750(0x191)]?this[_0x2f5750(0x2bc)][_0x2f5750(0x191)](_0x5db44c,_0x80c253):_0x5db44c[_0x2f5750(0x235)]()['next']()[_0x2f5750(0x253)];_0x5a086e&&(_0x38afc8[_0x2f5750(0x1ec)](_0x2f5750(0x1b9)+_0x5a086e),_0xa1008d[_0x2f5750(0x2b7)]=_0x5a086e);}if(_0x192e28[_0x26ebeb[_0x2f5750(0x1e1)]]){const _0x111c0c=_0x192e28[_0x26ebeb[_0x2f5750(0x1e1)]][_0x2f5750(0x24b)],_0x530ec1=_0xf73617[_0x2f5750(0x1d3)]({[_0x26ebeb[_0x2f5750(0x1e1)]]:[_0x111c0c]});_0x38afc8[_0x2f5750(0x1ec)](_0x2f5750(0x18a)+_0x530ec1),_0xa1008d[_0x2f5750(0x187)]=_0x192e28;}this[_0x2f5750(0x1f4)](_0x2f5750(0x1da),_0x38afc8,_0x80c253),_0xae801c[_0x2f5750(0x1eb)](_0x38afc8[_0x2f5750(0x2e2)]('\x0d\x0a')['join']('\x0d\x0a')),_0xae801c[_0x2f5750(0x247)](_0x2f5750(0x1fe),_0x4a9d80),_0xa1008d[_0x2f5750(0x224)](_0xae801c,_0x103e10,{'allowSynchronousEvents':this['options'][_0x2f5750(0x22d)],'maxPayload':this[_0x2f5750(0x2bc)][_0x2f5750(0x185)],'skipUTF8Validation':this[_0x2f5750(0x2bc)]['skipUTF8Validation']}),this[_0x2f5750(0x28a)]&&(this[_0x2f5750(0x28a)][_0x2f5750(0x22e)](_0xa1008d),_0xa1008d['on'](_0x2f5750(0x274),()=>{const _0x57a99d=_0x2f5750;this[_0x57a99d(0x28a)]['delete'](_0xa1008d),this[_0x57a99d(0x268)]&&!this[_0x57a99d(0x28a)][_0x57a99d(0x20c)]&&process[_0x57a99d(0x1f7)](_0x37601c,this);})),_0x4f901c(_0xa1008d,_0x80c253);}}Te=_0x3f8daf;function _0x4fb0e4(_0x4921bb,_0x2fc5b3){const _0x18ab55=_0x195524;for(const _0x2db2f3 of Object[_0x18ab55(0x205)](_0x2fc5b3))_0x4921bb['on'](_0x2db2f3,_0x2fc5b3[_0x2db2f3]);return function(){const _0x4b68ae=_0x18ab55;for(const _0x551628 of Object[_0x4b68ae(0x205)](_0x2fc5b3))_0x4921bb[_0x4b68ae(0x247)](_0x551628,_0x2fc5b3[_0x551628]);};}function _0x37601c(_0x10f486){const _0x277fd3=_0x195524;_0x10f486[_0x277fd3(0x161)]=_0x29912a,_0x10f486[_0x277fd3(0x1f4)](_0x277fd3(0x274));}function _0x4a9d80(){const _0x1efc24=_0x195524;this[_0x1efc24(0x307)]();}function _0x516536(_0x1ea67c,_0xf3a0eb,_0x5662ad,_0x15d90a){const _0x18bfcf=_0x195524;_0x5662ad=_0x5662ad||_0x59aa19[_0x18bfcf(0x2c0)][_0xf3a0eb],_0x15d90a={'Connection':_0x18bfcf(0x274),'Content-Type':_0x18bfcf(0x181),'Content-Length':Buffer[_0x18bfcf(0x1fa)](_0x5662ad),..._0x15d90a},_0x1ea67c['once'](_0x18bfcf(0x206),_0x1ea67c[_0x18bfcf(0x307)]),_0x1ea67c[_0x18bfcf(0x160)](_0x18bfcf(0x1f3)+_0xf3a0eb+'\x20'+_0x59aa19[_0x18bfcf(0x2c0)][_0xf3a0eb]+'\x0d\x0a'+Object['keys'](_0x15d90a)['map'](_0xcd294c=>_0xcd294c+':\x20'+_0x15d90a[_0xcd294c])[_0x18bfcf(0x1be)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x5662ad);}function _0x4e746e(_0x2a89b,_0x58f098,_0x415600,_0x157398,_0x4708af,_0x2f100d){const _0x25a36e=_0x195524;if(_0x2a89b[_0x25a36e(0x241)](_0x25a36e(0x1ab))){const _0x48732c=new Error(_0x4708af);Error[_0x25a36e(0x2ac)](_0x48732c,_0x4e746e),_0x2a89b[_0x25a36e(0x1f4)]('wsClientError',_0x48732c,_0x415600,_0x58f098);}else _0x516536(_0x415600,_0x157398,_0x4708af,_0x2f100d);}return Te;}function _0x3207(){const _0x5a6920=['kWasClean','_payloadLength','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isIP','close','_threshold','data','230332LndFtb','has','buffers','sendFrame','port','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_final','emitClose','charCodeAt','noServer','toStringTag','zlibDeflateOptions','followRedirects','env','unshift','wasClean','constructor','writable','search','clients','15479210drbxdh','readOnly','next','HTTP/1.1\x20101\x20Switching\x20Protocols','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','species','acceptAsClient','_doCreateSocket','pending','_inflate','WebSocket','_socket','toString','reset','resume','isInteger','function','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','stream','pow','3vgDxln','CLOSED','includes','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','374558GqmQYT','MASK\x20must\x20be\x20clear','open','cookie','parse','type','_writableState','total-length','mask','captureStackTrace','call','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','enqueue','apply','Maximum\x20redirects\x20exceeded','websocket','Connection:\x20Upgrade','_originalHostOrSocketPath','wss:','_readyState','_protocol','pipe','text/plain','ping','listening','options','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_closeCode','Invalid\x20value\x20for\x20parameter\x20\x22','STATUS_CODES','kType','_req','opcode','_skipUTF8Validation','writeHead','object','finishRequest','kDone','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','host','handshakeTimeout','kByteLength','alloc','_registerDependencies','createDeflateRaw','WS_NO_BUFFER_UTIL','binary','encrypted','Server\x20sent\x20an\x20invalid\x20subprotocol','_opcode','fin','isPaused','Server\x20sent\x20no\x20subprotocol','bind','kRun','create','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','rsv1','_masked','2528743dKyylp','exports','RSV1\x20must\x20be\x20clear','test','concat','The\x20\x22','Sec-WebSocket-Extensions','_write','server','split','collaboration-client-node.config','WS_ERR_EXPECTED_FIN','_originalIpc','nodebuffer','hash','_decompress','_maxPayload','concurrency','_loop','_mask','invalid\x20UTF-8\x20sequence','WS_ERR_UNEXPECTED_RSV_1','readUInt16BE','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getInfo','Invalid\x20HTTP\x20method','defaultPort','__esModule','location','_configService','CONNECTING','default','_injector','getMask','_isServer','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','socket','unmask','kAborted','_removeListeners','_buffers','destroy','\x22:\x20','_max_window_bits','_no_context_takeover','_options','cleanup','base64','_readableState','unexpected-response','removeAllListeners','client_max_window_bits','_queue','username','Blob','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','normalizeParams','request','Invalid\x20URL:\x20','slice','handleEvent','\x22\x20subprotocol\x20is\x20duplicated','end','_state','blob','needDrain','verifyClient','createServer','_fin','_fragmented','then','isServer','generateMask','Opening\x20handshake\x20has\x20timed\x20out','pluginName','Unexpected\x20end\x20of\x20input','defineProperty','OPEN','dispose','addEventListener','serverMaxWindowBits','get','backlog','createConnection','6376qfQSRw','_closeTimer','sha1','flush','hostname','handleUpgrade','getData','forEach','digest','CLOSING','55ITEgxP','text/html','pause','number','cork','maxPayload','_receiver','_extensions','createSocket','sec-websocket-accept','Sec-WebSocket-Extensions:\x20','compress','protocolVersion','errorEmitted','kReason','getPayloadLength16','pong','handleProtocols','threshold','serverNoContextTakeover','_binaryType','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','drain','7168464RQfotb','MASK\x20must\x20be\x20set','File','upgrade','ws+unix:','replace','protocol','entries','url','controlMessage','isArray','onerror','clientNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','destroyed','sec-websocket-protocol','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeEventListener','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','listeners','wsClientError','getPayloadLength64','_destroy','maxRedirects','arrayBuffer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','map','Module','dequeue','kIsForOnEventAttribute','_errored','WS_NO_UTF_8_VALIDATE','once','_errorEmitted','Sec-WebSocket-Protocol:\x20','14922HJIKVY','Unexpected\x20character\x20at\x20index\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_url','join','status-code','_allowSynchronousEvents','reason','update','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','sec-websocket-key','ws:','server_max_window_bits','GET','timeout','pathname','client_no_context_takeover','connect','finished','_sender','onclose','WS_ERR_INVALID_CLOSE_CODE','servername','_server','socketPath','format','listen','_closeMessage','Invalid\x20Sec-WebSocket-Accept\x20header','sec-websocket-origin','setHeader','allocUnsafe','headers','origin','password','dataMessage','objectMode','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','client','extensionName','server_no_context_takeover','writeUInt16BE','shift','from','_messageLength','readable','customHeaders','_compress','sec-websocket-extensions','write','push','path','kError','haveLength','_redirects','Invalid\x20Upgrade\x20header','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','HTTP/1.1\x20','emit','Invalid\x20WebSocket\x20frame:\x20','shouldHandle','nextTick','set','WS_ERR_UNEXPECTED_MASK','byteLength','readUInt32BE','Z_SYNC_FLUSH','autoPong','error','_httpService','isBuffer','readyState','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_bufferedAmount','The\x20URL\x27s\x20pathname\x20is\x20empty','keys','finish','invalid\x20status\x20code\x20','acceptAsServer','send','consume','Invalid\x20Sec-WebSocket-Protocol\x20header','size','invalid\x20payload\x20length\x20','perMessageDeflate','The\x20server\x20is\x20not\x20running','invalid\x20opcode\x20','Sec-WebSocket-Origin','bufferedAmount','\x20(supported\x20versions:\x20','jobs','_totalPayloadLength','_closeFrameSent','_paused','prototype','accept','terminate','dispatch','setNoDelay','address','startLoop','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','authorization','_firstFragment','_maskBuffer','toLowerCase','setSocket','permessage-deflate','response','_compressed','buffer','getBlobData','Z_DEFAULT_WINDOWBITS','http:','getConfig','allowSynchronousEvents','add','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','concurrencyLimit','_bufferedBytes','string','connection','kData','values','WS_ERR_INVALID_UTF8','setConfig','conclude','Cookie','Origin','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','offer','skipUTF8Validation','_closeFrameReceived','Upgrade:\x20websocket','frame','listenerCount','writeUIntBE','fragments','indexOf','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','decompress','removeListener','kCode','endEmitted','WS_ERR_INVALID_OPCODE','params','_fragments','kMessage','hasOwnProperty','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','message','length','sec-websocket-version','value','createInflateRaw','_generateMask','byteOffset','getOwnPropertyDescriptor','abort','createError','Invalid\x20Sec-WebSocket-Extensions\x20header','completeUpgrade','zlibInflateOptions','binaryType','invalid\x20opcode\x200','auth','extensions','statusCode','isValidUTF8','find','_deflate','redirect','Basic\x20','authorized','_shouldEmitClose','arraybuffer','code','isView','3850026FIhuEm','href','clientMaxWindowBits','Max\x20payload\x20size\x20exceeded'];_0x3207=function(){return _0x5a6920;};return _0x3207();}er();var tr=Object[_0x1fe17d(0x257)],rr=(_0x19ccc1,_0x1615d2,_0x17cecc,_0x32ccfe)=>{const _0x2abcd3=_0x1fe17d;for(var _0x2702a8=_0x32ccfe>0x1?void 0x0:_0x32ccfe?tr(_0x1615d2,_0x17cecc):_0x1615d2,_0x52292b=_0x19ccc1[_0x2abcd3(0x251)]-0x1,_0x3d3123;_0x52292b>=0x0;_0x52292b--)(_0x3d3123=_0x19ccc1[_0x52292b])&&(_0x2702a8=_0x3d3123(_0x2702a8)||_0x2702a8);return _0x2702a8;},sr=(_0x464b2c,_0x487c3f)=>(_0x298c8f,_0x8f7d01)=>_0x487c3f(_0x298c8f,_0x8f7d01,_0x464b2c);let Ne=class extends _0x30c579{constructor(_0x42edb0){const _0x5742b3=_0x1fe17d;super(),this[_0x5742b3(0x2fb)]=_0x42edb0;}[_0x1fe17d(0x188)](_0x449c60){const _0x521fbd=_0x1fe17d;var _0x1cd236;const _0x448038=(_0x1cd236=this[_0x521fbd(0x2fb)][_0x521fbd(0x22c)](Be))==null?void 0x0:_0x1cd236[_0x521fbd(0x1e8)];try{const _0x4f0a1a=new Qt(_0x449c60,{'headers':{..._0x448038}}),_0x237c9e=new _0x544af9();return{'URL':_0x449c60,'close':(_0x375870,_0xfdb2f3)=>{const _0x2ee8fc=_0x521fbd;_0x4f0a1a[_0x2ee8fc(0x274)](_0x375870,_0xfdb2f3),_0x237c9e[_0x2ee8fc(0x170)]();},'send':_0xa5f0b0=>{const _0x2b92a1=_0x521fbd;_0x4f0a1a[_0x2b92a1(0x209)](_0xa5f0b0);},'open$':new _0x4ffd49(_0x5523cd=>{const _0x17dc52=_0x521fbd,_0xffb5d4=_0x2b2e68=>_0x5523cd[_0x17dc52(0x28d)](_0x2b2e68);_0x4f0a1a['addEventListener']('open',_0xffb5d4),_0x237c9e[_0x17dc52(0x22e)](_0x37ad3d(()=>_0x4f0a1a['removeEventListener'](_0x17dc52(0x2a5),_0xffb5d4)));})[_0x521fbd(0x2b8)](_0x2a2a9c()),'close$':new _0x4ffd49(_0x901494=>{const _0x3c223e=_0x521fbd,_0x17366d=_0x2fccc9=>_0x901494[_0x3c223e(0x28d)](_0x2fccc9);_0x4f0a1a[_0x3c223e(0x171)](_0x3c223e(0x274),_0x17366d),_0x237c9e[_0x3c223e(0x22e)](_0x37ad3d(()=>_0x4f0a1a[_0x3c223e(0x1a8)](_0x3c223e(0x274),_0x17366d)));})['pipe'](_0x2a2a9c()),'error$':new _0x4ffd49(_0x165b69=>{const _0x3e5180=_0x521fbd,_0x361cb9=_0x1f457f=>_0x165b69[_0x3e5180(0x28d)](_0x1f457f);_0x4f0a1a['addEventListener']('error',_0x361cb9),_0x237c9e[_0x3e5180(0x22e)](_0x37ad3d(()=>_0x4f0a1a[_0x3e5180(0x1a8)]('error',_0x361cb9)));})['pipe'](_0x2a2a9c()),'message$':new _0x4ffd49(_0x515a64=>{const _0x251f1d=_0x521fbd,_0x4ad73d=_0x2cd581=>_0x515a64[_0x251f1d(0x28d)](_0x2cd581);_0x4f0a1a['addEventListener'](_0x251f1d(0x250),_0x4ad73d),_0x237c9e[_0x251f1d(0x22e)](_0x37ad3d(()=>_0x4f0a1a[_0x251f1d(0x1a8)](_0x251f1d(0x250),_0x4ad73d)));})[_0x521fbd(0x2b8)](_0x2a2a9c())};}catch(_0x4eb96c){return console[_0x521fbd(0x1fe)](_0x4eb96c),null;}}};Ne=rr([sr(0x0,_0x202320)],Ne);var ir=Object[_0x1fe17d(0x16e)],nr=Object[_0x1fe17d(0x257)],or=(_0x44f329,_0x1d5949,_0x1d9636)=>_0x1d5949 in _0x44f329?ir(_0x44f329,_0x1d5949,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d9636}):_0x44f329[_0x1d5949]=_0x1d9636,ar=(_0x1d30af,_0x31ae70,_0x4e71e6,_0x240493)=>{const _0x1583b1=_0x1fe17d;for(var _0x1f8358=_0x240493>0x1?void 0x0:_0x240493?nr(_0x31ae70,_0x4e71e6):_0x31ae70,_0x10fe20=_0x1d30af[_0x1583b1(0x251)]-0x1,_0x1bd2c5;_0x10fe20>=0x0;_0x10fe20--)(_0x1bd2c5=_0x1d30af[_0x10fe20])&&(_0x1f8358=_0x1bd2c5(_0x1f8358)||_0x1f8358);return _0x1f8358;},ke=(_0x7abac2,_0x4786be)=>(_0x21ed76,_0x2379ba)=>_0x4786be(_0x21ed76,_0x2379ba,_0x7abac2),lr=(_0x575f71,_0x1b6adc,_0x4b5724)=>or(_0x575f71,_0x1b6adc+'',_0x4b5724);let Pe=class extends _0x1a826d{constructor(_0x5ef301=Ft,_0x52565d,_0x5b9e7d,_0xcca5fd){const _0x36879b=_0x1fe17d;_0x5ef301['customHeaders']||_0x52565d['warn'](_0x36879b(0x195)),super(),this['_configService']=_0x5b9e7d,this[_0x36879b(0x2fe)]=_0xcca5fd,this['_configService'][_0x36879b(0x237)](Be,_0x5ef301);}['onStarting'](){const _0x5b412b=_0x1fe17d;this[_0x5b412b(0x2ce)]();}[_0x1fe17d(0x2ce)](){const _0x3f80fa=_0x1fe17d;_0x6159e2(this[_0x3f80fa(0x2fe)],[[_0x4523e5,{'useClass':Ne}]]);}};lr(Pe,_0x1fe17d(0x16c),_0x1fe17d(0x1f2)),Pe=ar([_0x1e9181(_0x4840a6),ke(0x1,_0x3eb4ec),ke(0x2,_0x202320),ke(0x3,_0x3f5b54(_0x23012d))],Pe);var fr=Object[_0x1fe17d(0x257)],cr=(_0x64dd53,_0x4a459e,_0x5f18ad,_0x1d9915)=>{const _0x24a1bc=_0x1fe17d;for(var _0x4cb6c8=_0x1d9915>0x1?void 0x0:_0x1d9915?fr(_0x4a459e,_0x5f18ad):_0x4a459e,_0x578478=_0x64dd53[_0x24a1bc(0x251)]-0x1,_0x5f2c86;_0x578478>=0x0;_0x578478--)(_0x5f2c86=_0x64dd53[_0x578478])&&(_0x4cb6c8=_0x5f2c86(_0x4cb6c8)||_0x4cb6c8);return _0x4cb6c8;},se=(_0x295122,_0x4f716d)=>(_0x4407a7,_0x220b0a)=>_0x4f716d(_0x4407a7,_0x220b0a,_0x295122);let at=class extends _0x56e87c{constructor(_0x52c2a6,_0x7c6d2f,_0x186fd5,_0x2c0d20,_0x5d41af){const _0x261a24=_0x1fe17d;super(_0x52c2a6,_0x7c6d2f,_0x186fd5,_0x2c0d20,_0x5d41af);const _0x2969e2=this[_0x261a24(0x2fb)][_0x261a24(0x22c)](Be);this[_0x261a24(0x1ff)]['registerHTTPInterceptor']({'interceptor':(_0x43f131,_0x63e994)=>{const _0x4cf705=_0x261a24;var _0x56c8cf;const _0x3b33c3=_0x43f131[_0x4cf705(0x1da)];return(_0x56c8cf=_0x2969e2==null?void 0x0:_0x2969e2[_0x4cf705(0x1e8)])!=null&&_0x56c8cf['cookie']&&_0x3b33c3[_0x4cf705(0x1f8)](_0x4cf705(0x239),_0x2969e2[_0x4cf705(0x1e8)][_0x4cf705(0x2a6)]),_0x63e994(_0x43f131);}});}async[_0x1fe17d(0x188)](_0x2437b6){const _0x215464=_0x1fe17d;return this[_0x215464(0x292)](_0x2437b6);}};at=cr([se(0x0,_0x3f5b54(_0x23012d)),se(0x1,_0x3f5b54(_0x12da3d)),se(0x2,_0x202320),se(0x3,_0x3eb4ec),se(0x4,_0x163ae8)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x5c7db0=_0x5161;(function(_0x34a598,_0x902df9){const _0x5a34ae=_0x5161,_0x111c5e=_0x34a598();while(!![]){try{const _0x4c9e5f=parseInt(_0x5a34ae(0x255))/0x1+-parseInt(_0x5a34ae(0x2a8))/0x2*(parseInt(_0x5a34ae(0x1bd))/0x3)+-parseInt(_0x5a34ae(0x307))/0x4+-parseInt(_0x5a34ae(0x20c))/0x5*(parseInt(_0x5a34ae(0x2fc))/0x6)+parseInt(_0x5a34ae(0x26c))/0x7*(-parseInt(_0x5a34ae(0x1d6))/0x8)+parseInt(_0x5a34ae(0x1fd))/0x9*(-parseInt(_0x5a34ae(0x1e1))/0xa)+parseInt(_0x5a34ae(0x204))/0xb;if(_0x4c9e5f===_0x902df9)break;else _0x111c5e['push'](_0x111c5e['shift']());}catch(_0x498cff){_0x111c5e['push'](_0x111c5e['shift']());}}}(_0x42e2,0xa0b9e));import{UniverCollaborationClientPlugin as _0x5d1851,CollaborationSocketService as _0x4c2323}from'@univerjs-pro/collaboration-client';import{Disposable as _0x32c81a,DisposableCollection as _0x5310f5,toDisposable as _0x234781,IConfigService as _0x4d6366,DependentOn as _0x5819a7,ILogService as _0x31921c,Inject as _0x5a533e,Injector as _0x3337e3,Plugin as _0x1cc9e9,registerDependencies as _0x3af243}from'@univerjs/core';import{ISocketService as _0x470a21,HTTPService as _0x17396e}from'@univerjs/network';import{Observable as _0x516bea,share as _0x481e54}from'rxjs';import _0x460d20 from'events';import _0x3f53a6 from'https';import _0x123ba3 from'http';function _0x5161(_0x57f12a,_0x14f16d){const _0x42e2d4=_0x42e2();return _0x5161=function(_0x5161b7,_0x45b833){_0x5161b7=_0x5161b7-0x16d;let _0x3868ca=_0x42e2d4[_0x5161b7];return _0x3868ca;},_0x5161(_0x57f12a,_0x14f16d);}import _0x4be752 from'net';import _0x1b75ba from'tls';import _0x5ac424 from'crypto';import _0x4d2870 from'stream';function _0x42e2(){const _0x12cd13=['next','conclude','timeout','invalid\x20opcode\x20','_final','error','object','binaryType','client','727528GIaTbm','finish','username','endEmitted','unshift','includes','https:','jobs','_url','generateMask','consume','value','from','port','arrayBuffer','response','pause','server_max_window_bits','_shouldEmitClose','getOwnPropertyDescriptor','stream','maxRedirects','destroyed','dispose','hasOwnProperty','clientMaxWindowBits','writeHead','connection','WS_NO_UTF_8_VALIDATE','host','readUInt16BE','_write','path','getPayloadLength64','kByteLength','createServer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','protocolVersion','autoPong','objectMode','kReason','add','noServer','Unexpected\x20end\x20of\x20input','readUInt32BE','Server\x20sent\x20an\x20invalid\x20subprotocol','_binaryType','status-code','_buffers','_originalHostOrSocketPath','WS_ERR_INVALID_OPCODE','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_skipUTF8Validation','pluginName','unmask','kError','create','offer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_redirects','_inflate','HTTP/1.1\x20','pow','_generateMask','password','controlMessage','skipUTF8Validation','callback','wasClean','toString','opcode','Module','byteLength','pathname','startsWith','finished','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','normalizeParams','values','server','emitClose','addEventListener','_extensions','forEach','_max_window_bits','Max\x20payload\x20size\x20exceeded','_closeMessage','pong','listenerCount','FIN\x20must\x20be\x20set','constructor','call','params','zlibDeflateOptions','client_no_context_takeover','_masked','test','customHeaders','_isServer','_loop','_closeFrameReceived','Sec-WebSocket-Protocol:\x20','ping','handleUpgrade','Maximum\x20redirects\x20exceeded','origin','text/plain','WebSocket','finishRequest','maskBuffer','map','function','createError','_readableState','has','onStarting','551040aMYGUJ','_doCreateSocket','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','apply','socketPath','WS_ERR_INVALID_UTF8','defaultPort','_closeTimer','acceptAsServer','nextTick','Invalid\x20value\x20for\x20parameter\x20\x22','isView','construct','_payloadLength','toStringTag','\x22\x20subprotocol\x20is\x20duplicated','_originalSecure','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','allocUnsafe','Invalid\x20WebSocket\x20frame:\x20','_options','_threshold','threshold','_bufferedAmount','_closeCode','25248WljmcE','_autoPong','_mask','createInflateRaw','kRun','clients','sec-websocket-extensions','keys','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Blob','63790pbmwmb','_maskBuffer','serverMaxWindowBits','writeUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','base64','sec-websocket-origin','data','extensionName','The\x20URL\x27s\x20pathname\x20is\x20empty','code','_deflate','verifyClient','_allowSynchronousEvents','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','reset','Upgrade','rsv1','Z_DEFAULT_WINDOWBITS','\x22:\x20','flush','string','Sec-WebSocket-Origin','sec-websocket-key','charCodeAt','listening','666kDtVoD','end','freeze','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','invalid\x20payload\x20length\x20','_messageLength','startLoop','39484588ypkloP','species','Invalid\x20HTTP\x20method','digest','fin','replace','maxPayload','writeUIntBE','693960ePhULt','toLowerCase','createConnection','getMask','concat','shift','_server','GET','authorized','address','enqueue','isValidUTF8','getBlobData','prototype','onclose','server_no_context_takeover','getInfo','listen','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','onopen','_configService','request','removeListener','extensions','WS_ERR_EXPECTED_MASK','_maxPayload','slice','defineProperty','Invalid\x20URL:\x20','sec-websocket-accept','emit','length','MASK\x20must\x20be\x20clear','websocket','_socket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','compress','_receiver','search','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_firstFragment','message','readyState','haveLength','_opcode','join','_closeFrameSent','wsClientError','setNoDelay','handleEvent','HTTP/1.1\x20101\x20Switching\x20Protocols','terminate','_injector','_compress','binary','indexOf','_compressed','nodebuffer','OPEN','close','CONNECTING','kMessage','getConfig','setConfig','buffer','invalid\x20UTF-8\x20sequence','Origin','_readyState','_fin','errorEmitted','createDeflateRaw','invalid\x20status\x20code\x20','_decompress','1056254aRHrbh','arraybuffer','_req','WS_ERR_UNEXPECTED_RSV_1','text/html','frame','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','completeUpgrade','authorization','href','resume','Basic\x20','needDrain','WS_ERR_UNEXPECTED_MASK','shouldHandle','drain','setTimeout','Sec-WebSocket-Extensions:\x20','send','decompress','dataMessage','size','_destroy','2387nxXfDR','sendFrame','exports','ws:','Unexpected\x20character\x20at\x20index\x20','catch','\x0d\x0a\x0d\x0a','concurrency','hash','wss:','clientTracking','then','kAborted','cookie','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','isArray','setSocket','cork','_totalPayloadLength','upgrade','isPaused','destroy','bufferedAmount','onerror','readOnly','target','number','_bufferedBytes','clientNoContextTakeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','protocol','open','The\x20server\x20is\x20not\x20running','parse','alloc','serverNoContextTakeover','headers','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','write','Opening\x20handshake\x20has\x20timed\x20out','_sender','kCode','client_max_window_bits','captureStackTrace','Server\x20sent\x20no\x20subprotocol','getPayloadLength16','abort','split','WebSocket\x20is\x20not\x20open:\x20readyState\x20','cleanup','_writableState','ws+unix:','_httpService','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','statusCode','handleProtocols','_removeListeners','The\x20\x22','connect','handshakeTimeout','14BcTVtV','unexpected-response','removeEventListener','dispatch','auth','kData','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','once','delete','onmessage','invalid\x20opcode\x200','http:','followRedirects','WS_ERR_INVALID_CLOSE_CODE','kType','_errorEmitted','update','Upgrade:\x20websocket','Unexpected\x20server\x20response:\x20','socket','Unsupported\x20protocol\x20version:\x20','_fragments','permessage-deflate','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getData','_no_context_takeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_originalIpc','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','type','backlog','createSocket','_queue','CLOSED','set','method','uncork','read','registerHTTPInterceptor','encrypted','_paused','redirect','entries','mask','removeAllListeners','reason','STATUS_CODES','pending','readable','sec-websocket-version','fragments','bind','blob','Sec-WebSocket-Protocol','CLOSING','push','Sec-WebSocket-Extensions','listeners','_registerDependencies','pipe','_fragmented','dequeue','default','_errored','url','allowSynchronousEvents','_state','RSV1\x20must\x20be\x20clear','accept','__esModule','isInteger','sha1','_protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','byteOffset','servername','perMessageDeflate','Invalid\x20Upgrade\x20header','options','acceptAsClient','kIsForOnEventAttribute','hostname','WS_ERR_EXPECTED_FIN','Invalid\x20Sec-WebSocket-Protocol\x20header','42BNwiDc','Cookie'];_0x42e2=function(){return _0x12cd13;};return _0x42e2();}import _0x94c963 from'url';import _0x75889e from'zlib';import _0x3bf584 from'buffer';import{ISnapshotServerService as _0x8fa9ac}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x39d66f){const _0x198a5a=_0x5161;return _0x39d66f&&_0x39d66f[_0x198a5a(0x2ed)]&&Object[_0x198a5a(0x219)][_0x198a5a(0x31f)]['call'](_0x39d66f,'default')?_0x39d66f['default']:_0x39d66f;}function ut(_0x2b720f){const _0x9fe6b5=_0x5161;if(Object[_0x9fe6b5(0x219)]['hasOwnProperty'][_0x9fe6b5(0x1a4)](_0x2b720f,'__esModule'))return _0x2b720f;var _0x34326e=_0x2b720f[_0x9fe6b5(0x2e6)];if(typeof _0x34326e==_0x9fe6b5(0x1b8)){var _0x3e2843=function _0x56b2e3(){const _0x2ff00b=_0x9fe6b5;var _0x1e541d=!0x1;try{_0x1e541d=this instanceof _0x56b2e3;}catch{}return _0x1e541d?Reflect[_0x2ff00b(0x1c9)](_0x34326e,arguments,this[_0x2ff00b(0x1a3)]):_0x34326e['apply'](this,arguments);};_0x3e2843['prototype']=_0x34326e[_0x9fe6b5(0x219)];}else _0x3e2843={};return Object['defineProperty'](_0x3e2843,_0x9fe6b5(0x2ed),{'value':!0x0}),Object[_0x9fe6b5(0x1dd)](_0x2b720f)[_0x9fe6b5(0x19c)](function(_0x11329e){const _0x1b104b=_0x9fe6b5;var _0x53e952=Object[_0x1b104b(0x31a)](_0x2b720f,_0x11329e);Object[_0x1b104b(0x227)](_0x3e2843,_0x11329e,_0x53e952['get']?_0x53e952:{'enumerable':!0x0,'get':function(){return _0x2b720f[_0x11329e];}});}),_0x3e2843;}var te={'exports':{}},ge,Ye;function V(){const _0x4a36e8=_0x5161;if(Ye)return ge;Ye=0x1;const _0x24a73d=[_0x4a36e8(0x245),_0x4a36e8(0x256),_0x4a36e8(0x2da)],_0x46e5d5=typeof Blob<'u';return _0x46e5d5&&_0x24a73d[_0x4a36e8(0x2df)](_0x4a36e8(0x2dc)),ge={'BINARY_TYPES':_0x24a73d,'EMPTY_BUFFER':Buffer[_0x4a36e8(0x28e)](0x0),'GUID':_0x4a36e8(0x291),'hasBlob':_0x46e5d5,'kForOnEventAttribute':Symbol(_0x4a36e8(0x2f8)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4a36e8(0x178)),'kWebSocket':Symbol(_0x4a36e8(0x22d)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x5c7db0(0x1ff)](Object[_0x5c7db0(0x227)]({'__proto__':null,'default':jt},Symbol[_0x5c7db0(0x1cb)],{'value':_0x5c7db0(0x190)})),Vt=ut(Gt);var Ke;function ce(){const _0x144496=_0x5c7db0;if(Ke)return te[_0x144496(0x26e)];Ke=0x1;const {EMPTY_BUFFER:_0x4bc655}=V(),_0x1c47a0=Buffer[Symbol[_0x144496(0x205)]];function _0x3df68b(_0x5e36f1,_0x265279){const _0x37e39d=_0x144496;if(_0x5e36f1[_0x37e39d(0x22b)]===0x0)return _0x4bc655;if(_0x5e36f1['length']===0x1)return _0x5e36f1[0x0];const _0x27959d=Buffer[_0x37e39d(0x1cf)](_0x265279);let _0x376717=0x0;for(let _0x45bf9a=0x0;_0x45bf9a<_0x5e36f1[_0x37e39d(0x22b)];_0x45bf9a++){const _0x14eacd=_0x5e36f1[_0x45bf9a];_0x27959d[_0x37e39d(0x2ca)](_0x14eacd,_0x376717),_0x376717+=_0x14eacd[_0x37e39d(0x22b)];}return _0x376717<_0x265279?new _0x1c47a0(_0x27959d[_0x37e39d(0x24c)],_0x27959d[_0x37e39d(0x2f2)],_0x376717):_0x27959d;}function _0x17e5fc(_0xb5da9d,_0x5af392,_0x1787e0,_0xd0367d,_0x4501a0){for(let _0x57ce9d=0x0;_0x57ce9d<_0x4501a0;_0x57ce9d++)_0x1787e0[_0xd0367d+_0x57ce9d]=_0xb5da9d[_0x57ce9d]^_0x5af392[_0x57ce9d&0x3];}function _0xa29008(_0x210309,_0xb2032f){const _0x15d782=_0x144496;for(let _0x57fe16=0x0;_0x57fe16<_0x210309[_0x15d782(0x22b)];_0x57fe16++)_0x210309[_0x57fe16]^=_0xb2032f[_0x57fe16&0x3];}function _0x3a1428(_0x1f4562){const _0x5a60cc=_0x144496;return _0x1f4562['length']===_0x1f4562[_0x5a60cc(0x24c)][_0x5a60cc(0x191)]?_0x1f4562[_0x5a60cc(0x24c)]:_0x1f4562['buffer']['slice'](_0x1f4562['byteOffset'],_0x1f4562[_0x5a60cc(0x2f2)]+_0x1f4562[_0x5a60cc(0x22b)]);}function _0x3fa480(_0x31f068){const _0x4f6f85=_0x144496;if(_0x3fa480['readOnly']=!0x0,Buffer['isBuffer'](_0x31f068))return _0x31f068;let _0x22b4f2;return _0x31f068 instanceof ArrayBuffer?_0x22b4f2=new _0x1c47a0(_0x31f068):ArrayBuffer[_0x4f6f85(0x1c8)](_0x31f068)?_0x22b4f2=new _0x1c47a0(_0x31f068[_0x4f6f85(0x24c)],_0x31f068[_0x4f6f85(0x2f2)],_0x31f068[_0x4f6f85(0x191)]):(_0x22b4f2=Buffer[_0x4f6f85(0x313)](_0x31f068),_0x3fa480[_0x4f6f85(0x284)]=!0x1),_0x22b4f2;}if(te[_0x144496(0x26e)]={'concat':_0x3df68b,'mask':_0x17e5fc,'toArrayBuffer':_0x3a1428,'toBuffer':_0x3fa480,'unmask':_0xa29008},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x589e19=Vt;te[_0x144496(0x26e)][_0x144496(0x2d3)]=function(_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0){const _0x2808ad=_0x144496;_0x2fbba0<0x30?_0x17e5fc(_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0):_0x589e19[_0x2808ad(0x2d3)](_0xe39d1c,_0x460950,_0x5df087,_0x5eb59f,_0x2fbba0);},te[_0x144496(0x26e)][_0x144496(0x17f)]=function(_0x169fbe,_0x29d748){const _0x421c87=_0x144496;_0x169fbe['length']<0x20?_0xa29008(_0x169fbe,_0x29d748):_0x589e19[_0x421c87(0x17f)](_0x169fbe,_0x29d748);};}catch{}return te[_0x144496(0x26e)];}var ye,Xe;function qt(){const _0x35fe2b=_0x5c7db0;if(Xe)return ye;Xe=0x1;const _0x14ceda=Symbol('kDone'),_0x3cca7a=Symbol(_0x35fe2b(0x1da));class _0x409eae{constructor(_0x51fec7){const _0x2492e3=_0x35fe2b;this[_0x14ceda]=()=>{const _0x16597e=_0x5161;this[_0x16597e(0x2d7)]--,this[_0x3cca7a]();},this[_0x2492e3(0x273)]=_0x51fec7||0x1/0x0,this['jobs']=[],this[_0x2492e3(0x2d7)]=0x0;}[_0x35fe2b(0x172)](_0x1340cc){const _0x342939=_0x35fe2b;this[_0x342939(0x30e)][_0x342939(0x2df)](_0x1340cc),this[_0x3cca7a]();}[_0x3cca7a](){const _0x4e68df=_0x35fe2b;if(this[_0x4e68df(0x2d7)]!==this[_0x4e68df(0x273)]&&this[_0x4e68df(0x30e)]['length']){const _0x50056f=this['jobs']['shift']();this[_0x4e68df(0x2d7)]++,_0x50056f(this[_0x14ceda]);}}}return ye=_0x409eae,ye;}var ve,Ze;function he(){const _0x59af9d=_0x5c7db0;if(Ze)return ve;Ze=0x1;const _0x1c5420=_0x75889e,_0x5e4e61=ce(),_0xf56485=qt(),{kStatusCode:_0x51e2f3}=V(),_0x35ef98=Buffer[Symbol[_0x59af9d(0x205)]],_0xad1773=Buffer['from']([0x0,0x0,0xff,0xff]),_0x21f4a9=Symbol('permessage-deflate'),_0x2d2a5f=Symbol('total-length'),_0x4cc759=Symbol(_0x59af9d(0x18c)),_0x788c23=Symbol('buffers'),_0x3e6bff=Symbol('error');let _0x4cafc7;class _0x7a0812{constructor(_0x5e92eb,_0x1be80d,_0x287ac5){const _0x4d2925=_0x59af9d;if(this[_0x4d2925(0x225)]=_0x287ac5|0x0,this[_0x4d2925(0x1d1)]=_0x5e92eb||{},this[_0x4d2925(0x1d2)]=this[_0x4d2925(0x1d1)][_0x4d2925(0x1d3)]!==void 0x0?this[_0x4d2925(0x1d1)]['threshold']:0x400,this['_isServer']=!!_0x1be80d,this[_0x4d2925(0x1ec)]=null,this[_0x4d2925(0x185)]=null,this[_0x4d2925(0x1a5)]=null,!_0x4cafc7){const _0x3c9833=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x4cafc7=new _0xf56485(_0x3c9833);}}static get[_0x59af9d(0x1e9)](){const _0x954624=_0x59af9d;return _0x954624(0x2be);}[_0x59af9d(0x182)](){const _0x41e1d8=_0x59af9d,_0xea7ae8={};return this[_0x41e1d8(0x1d1)][_0x41e1d8(0x28f)]&&(_0xea7ae8[_0x41e1d8(0x21b)]=!0x0),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x288)]&&(_0xea7ae8[_0x41e1d8(0x1a7)]=!0x0),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x1e3)]&&(_0xea7ae8[_0x41e1d8(0x318)]=this['_options'][_0x41e1d8(0x1e3)]),this[_0x41e1d8(0x1d1)][_0x41e1d8(0x320)]?_0xea7ae8[_0x41e1d8(0x296)]=this[_0x41e1d8(0x1d1)]['clientMaxWindowBits']:this[_0x41e1d8(0x1d1)][_0x41e1d8(0x320)]==null&&(_0xea7ae8[_0x41e1d8(0x296)]=!0x0),_0xea7ae8;}[_0x59af9d(0x2ec)](_0x3ed657){const _0x303c02=_0x59af9d;return _0x3ed657=this[_0x303c02(0x196)](_0x3ed657),this[_0x303c02(0x1a5)]=this['_isServer']?this[_0x303c02(0x1c5)](_0x3ed657):this[_0x303c02(0x2f7)](_0x3ed657),this[_0x303c02(0x1a5)];}[_0x59af9d(0x29d)](){const _0x183705=_0x59af9d;if(this[_0x183705(0x185)]&&(this[_0x183705(0x185)][_0x183705(0x247)](),this[_0x183705(0x185)]=null),this['_deflate']){const _0x4e86bf=this[_0x183705(0x1ec)][_0x4cc759];this['_deflate'][_0x183705(0x247)](),this['_deflate']=null,_0x4e86bf&&_0x4e86bf(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x335970){const _0x12703a=_0x59af9d,_0x2ecd6b=this['_options'],_0x3a2eaa=_0x335970['find'](_0x166edd=>!(_0x2ecd6b[_0x12703a(0x28f)]===!0x1&&_0x166edd[_0x12703a(0x21b)]||_0x166edd[_0x12703a(0x318)]&&(_0x2ecd6b['serverMaxWindowBits']===!0x1||typeof _0x2ecd6b[_0x12703a(0x1e3)]=='number'&&_0x2ecd6b[_0x12703a(0x1e3)]>_0x166edd[_0x12703a(0x318)])||typeof _0x2ecd6b[_0x12703a(0x320)]==_0x12703a(0x286)&&!_0x166edd[_0x12703a(0x296)]));if(!_0x3a2eaa)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2ecd6b['serverNoContextTakeover']&&(_0x3a2eaa[_0x12703a(0x21b)]=!0x0),_0x2ecd6b['clientNoContextTakeover']&&(_0x3a2eaa[_0x12703a(0x1a7)]=!0x0),typeof _0x2ecd6b[_0x12703a(0x1e3)]==_0x12703a(0x286)&&(_0x3a2eaa['server_max_window_bits']=_0x2ecd6b['serverMaxWindowBits']),typeof _0x2ecd6b[_0x12703a(0x320)]==_0x12703a(0x286)?_0x3a2eaa[_0x12703a(0x296)]=_0x2ecd6b[_0x12703a(0x320)]:(_0x3a2eaa[_0x12703a(0x296)]===!0x0||_0x2ecd6b[_0x12703a(0x320)]===!0x1)&&delete _0x3a2eaa[_0x12703a(0x296)],_0x3a2eaa;}[_0x59af9d(0x2f7)](_0x221b9d){const _0x1d3c29=_0x59af9d,_0x16d617=_0x221b9d[0x0];if(this['_options'][_0x1d3c29(0x288)]===!0x1&&_0x16d617[_0x1d3c29(0x1a7)])throw new Error(_0x1d3c29(0x1ef));if(!_0x16d617[_0x1d3c29(0x296)])typeof this['_options'][_0x1d3c29(0x320)]==_0x1d3c29(0x286)&&(_0x16d617[_0x1d3c29(0x296)]=this['_options']['clientMaxWindowBits']);else{if(this['_options'][_0x1d3c29(0x320)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x1d3c29(0x286)&&_0x16d617[_0x1d3c29(0x296)]>this[_0x1d3c29(0x1d1)][_0x1d3c29(0x320)])throw new Error(_0x1d3c29(0x233));}return _0x16d617;}[_0x59af9d(0x196)](_0x19724a){return _0x19724a['forEach'](_0x48cb71=>{const _0x5824fa=_0x5161;Object['keys'](_0x48cb71)[_0x5824fa(0x19c)](_0x419340=>{const _0x4bf7fb=_0x5824fa;let _0x1caabf=_0x48cb71[_0x419340];if(_0x1caabf['length']>0x1)throw new Error('Parameter\x20\x22'+_0x419340+_0x4bf7fb(0x16d));if(_0x1caabf=_0x1caabf[0x0],_0x419340===_0x4bf7fb(0x296)){if(_0x1caabf!==!0x0){const _0x96d37d=+_0x1caabf;if(!Number[_0x4bf7fb(0x2ee)](_0x96d37d)||_0x96d37d<0x8||_0x96d37d>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);_0x1caabf=_0x96d37d;}else{if(!this[_0x4bf7fb(0x1ab)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);}}else{if(_0x419340===_0x4bf7fb(0x318)){const _0x5f33c9=+_0x1caabf;if(!Number[_0x4bf7fb(0x2ee)](_0x5f33c9)||_0x5f33c9<0x8||_0x5f33c9>0xf)throw new TypeError(_0x4bf7fb(0x1c7)+_0x419340+_0x4bf7fb(0x1f6)+_0x1caabf);_0x1caabf=_0x5f33c9;}else{if(_0x419340===_0x4bf7fb(0x1a7)||_0x419340===_0x4bf7fb(0x21b)){if(_0x1caabf!==!0x0)throw new TypeError(_0x4bf7fb(0x1c7)+_0x419340+'\x22:\x20'+_0x1caabf);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x419340+'\x22');}}_0x48cb71[_0x419340]=_0x1caabf;});}),_0x19724a;}[_0x59af9d(0x268)](_0x427949,_0x41a896,_0x3828c6){_0x4cafc7['add'](_0x46e39a=>{this['_decompress'](_0x427949,_0x41a896,(_0x2f1992,_0x267c7e)=>{_0x46e39a(),_0x3828c6(_0x2f1992,_0x267c7e);});});}[_0x59af9d(0x230)](_0x32bb22,_0x5cfcce,_0x223cd9){const _0x4b723e=_0x59af9d;_0x4cafc7[_0x4b723e(0x172)](_0x57c787=>{const _0x4942b3=_0x4b723e;this[_0x4942b3(0x241)](_0x32bb22,_0x5cfcce,(_0x538c54,_0x24b505)=>{_0x57c787(),_0x223cd9(_0x538c54,_0x24b505);});});}[_0x59af9d(0x254)](_0x5b8735,_0x1cf7c2,_0x13b521){const _0x39bee1=_0x59af9d,_0x16b9b5=this['_isServer']?_0x39bee1(0x306):_0x39bee1(0x198);if(!this[_0x39bee1(0x185)]){const _0x5ac89a=_0x16b9b5+_0x39bee1(0x19d),_0xd0ead9=typeof this['params'][_0x5ac89a]!=_0x39bee1(0x286)?_0x1c5420['Z_DEFAULT_WINDOWBITS']:this[_0x39bee1(0x1a5)][_0x5ac89a];this[_0x39bee1(0x185)]=_0x1c5420[_0x39bee1(0x1d9)]({...this[_0x39bee1(0x1d1)]['zlibInflateOptions'],'windowBits':_0xd0ead9}),this[_0x39bee1(0x185)][_0x21f4a9]=this,this[_0x39bee1(0x185)][_0x2d2a5f]=0x0,this[_0x39bee1(0x185)][_0x788c23]=[],this[_0x39bee1(0x185)]['on'](_0x39bee1(0x303),_0x54e33d),this[_0x39bee1(0x185)]['on'](_0x39bee1(0x1e8),_0x1da696);}this[_0x39bee1(0x185)][_0x4cc759]=_0x13b521,this[_0x39bee1(0x185)][_0x39bee1(0x292)](_0x5b8735),_0x1cf7c2&&this[_0x39bee1(0x185)][_0x39bee1(0x292)](_0xad1773),this[_0x39bee1(0x185)][_0x39bee1(0x1f7)](()=>{const _0x263514=_0x39bee1,_0x2860f2=this['_inflate'][_0x3e6bff];if(_0x2860f2){this['_inflate'][_0x263514(0x247)](),this[_0x263514(0x185)]=null,_0x13b521(_0x2860f2);return;}const _0x25a0de=_0x5e4e61['concat'](this[_0x263514(0x185)][_0x788c23],this[_0x263514(0x185)][_0x2d2a5f]);this[_0x263514(0x185)][_0x263514(0x1ba)][_0x263514(0x30a)]?(this[_0x263514(0x185)][_0x263514(0x247)](),this['_inflate']=null):(this['_inflate'][_0x2d2a5f]=0x0,this[_0x263514(0x185)][_0x788c23]=[],_0x1cf7c2&&this[_0x263514(0x1a5)][_0x16b9b5+_0x263514(0x2c1)]&&this[_0x263514(0x185)][_0x263514(0x1f2)]()),_0x13b521(null,_0x25a0de);});}[_0x59af9d(0x241)](_0x36b673,_0x32f48e,_0x35c998){const _0x2f1940=_0x59af9d,_0x4b22be=this[_0x2f1940(0x1ab)]?_0x2f1940(0x198):_0x2f1940(0x306);if(!this['_deflate']){const _0x1332c1=_0x4b22be+_0x2f1940(0x19d),_0x1b788b=typeof this[_0x2f1940(0x1a5)][_0x1332c1]!=_0x2f1940(0x286)?_0x1c5420[_0x2f1940(0x1f5)]:this['params'][_0x1332c1];this[_0x2f1940(0x1ec)]=_0x1c5420[_0x2f1940(0x252)]({...this[_0x2f1940(0x1d1)][_0x2f1940(0x1a6)],'windowBits':_0x1b788b}),this[_0x2f1940(0x1ec)][_0x2d2a5f]=0x0,this[_0x2f1940(0x1ec)][_0x788c23]=[],this[_0x2f1940(0x1ec)]['on']('data',_0x19a82d);}this[_0x2f1940(0x1ec)][_0x4cc759]=_0x35c998,this[_0x2f1940(0x1ec)][_0x2f1940(0x292)](_0x36b673),this['_deflate'][_0x2f1940(0x1f7)](_0x1c5420['Z_SYNC_FLUSH'],()=>{const _0x3edcec=_0x2f1940;if(!this['_deflate'])return;let _0x4ee07f=_0x5e4e61['concat'](this[_0x3edcec(0x1ec)][_0x788c23],this[_0x3edcec(0x1ec)][_0x2d2a5f]);_0x32f48e&&(_0x4ee07f=new _0x35ef98(_0x4ee07f[_0x3edcec(0x24c)],_0x4ee07f['byteOffset'],_0x4ee07f[_0x3edcec(0x22b)]-0x4)),this['_deflate'][_0x4cc759]=null,this[_0x3edcec(0x1ec)][_0x2d2a5f]=0x0,this[_0x3edcec(0x1ec)][_0x788c23]=[],_0x32f48e&&this[_0x3edcec(0x1a5)][_0x4b22be+_0x3edcec(0x2c1)]&&this[_0x3edcec(0x1ec)][_0x3edcec(0x1f2)](),_0x35c998(null,_0x4ee07f);});}}ve=_0x7a0812;function _0x19a82d(_0x24ffd8){const _0x3613c5=_0x59af9d;this[_0x788c23][_0x3613c5(0x2df)](_0x24ffd8),this[_0x2d2a5f]+=_0x24ffd8[_0x3613c5(0x22b)];}function _0x1da696(_0x2aaa7b){const _0x1bafd2=_0x59af9d;if(this[_0x2d2a5f]+=_0x2aaa7b[_0x1bafd2(0x22b)],this[_0x21f4a9][_0x1bafd2(0x225)]<0x1||this[_0x2d2a5f]<=this[_0x21f4a9][_0x1bafd2(0x225)]){this[_0x788c23]['push'](_0x2aaa7b);return;}this[_0x3e6bff]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3e6bff]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3e6bff][_0x51e2f3]=0x3f1,this[_0x1bafd2(0x222)](_0x1bafd2(0x1e8),_0x1da696),this[_0x1bafd2(0x1f2)]();}function _0x54e33d(_0x5eeacb){if(this[_0x21f4a9]['_inflate']=null,this[_0x3e6bff]){this[_0x4cc759](this[_0x3e6bff]);return;}_0x5eeacb[_0x51e2f3]=0x3ef,this[_0x4cc759](_0x5eeacb);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5c7db0(0x1ff)](Object[_0x5c7db0(0x227)]({'__proto__':null,'default':Ht},Symbol[_0x5c7db0(0x1cb)],{'value':_0x5c7db0(0x190)})),Yt=ut(zt);var Qe;function ne(){const _0x161461=_0x5c7db0;if(Qe)return re[_0x161461(0x26e)];Qe=0x1;const {isUtf8:_0x456fc6}=_0x3bf584,{hasBlob:_0x51b620}=V(),_0x3b8809=[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 _0x5b81f5(_0x291d89){return _0x291d89>=0x3e8&&_0x291d89<=0x3f6&&_0x291d89!==0x3ec&&_0x291d89!==0x3ed&&_0x291d89!==0x3ee||_0x291d89>=0xbb8&&_0x291d89<=0x1387;}function _0x1ae0ac(_0x113dba){const _0x385f4f=_0x161461,_0x1eb8c3=_0x113dba[_0x385f4f(0x22b)];let _0x4a4a52=0x0;for(;_0x4a4a52<_0x1eb8c3;)if((_0x113dba[_0x4a4a52]&0x80)===0x0)_0x4a4a52++;else{if((_0x113dba[_0x4a4a52]&0xe0)===0xc0){if(_0x4a4a52+0x1===_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52]&0xfe)===0xc0)return!0x1;_0x4a4a52+=0x2;}else{if((_0x113dba[_0x4a4a52]&0xf0)===0xe0){if(_0x4a4a52+0x2>=_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x2]&0xc0)!==0x80||_0x113dba[_0x4a4a52]===0xe0&&(_0x113dba[_0x4a4a52+0x1]&0xe0)===0x80||_0x113dba[_0x4a4a52]===0xed&&(_0x113dba[_0x4a4a52+0x1]&0xe0)===0xa0)return!0x1;_0x4a4a52+=0x3;}else{if((_0x113dba[_0x4a4a52]&0xf8)===0xf0){if(_0x4a4a52+0x3>=_0x1eb8c3||(_0x113dba[_0x4a4a52+0x1]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x2]&0xc0)!==0x80||(_0x113dba[_0x4a4a52+0x3]&0xc0)!==0x80||_0x113dba[_0x4a4a52]===0xf0&&(_0x113dba[_0x4a4a52+0x1]&0xf0)===0x80||_0x113dba[_0x4a4a52]===0xf4&&_0x113dba[_0x4a4a52+0x1]>0x8f||_0x113dba[_0x4a4a52]>0xf4)return!0x1;_0x4a4a52+=0x4;}else return!0x1;}}}return!0x0;}function _0x2909be(_0xcc9fbd){const _0x21414d=_0x161461;return _0x51b620&&typeof _0xcc9fbd==_0x21414d(0x304)&&typeof _0xcc9fbd[_0x21414d(0x315)]==_0x21414d(0x1b8)&&typeof _0xcc9fbd[_0x21414d(0x2c5)]==_0x21414d(0x1f8)&&typeof _0xcc9fbd[_0x21414d(0x31b)]==_0x21414d(0x1b8)&&(_0xcc9fbd[Symbol[_0x21414d(0x1cb)]]===_0x21414d(0x1e0)||_0xcc9fbd[Symbol[_0x21414d(0x1cb)]]==='File');}if(re[_0x161461(0x26e)]={'isBlob':_0x2909be,'isValidStatusCode':_0x5b81f5,'isValidUTF8':_0x1ae0ac,'tokenChars':_0x3b8809},_0x456fc6)re[_0x161461(0x26e)][_0x161461(0x217)]=function(_0x348549){const _0x313767=_0x161461;return _0x348549[_0x313767(0x22b)]<0x18?_0x1ae0ac(_0x348549):_0x456fc6(_0x348549);};else{if(!process['env'][_0x161461(0x323)])try{const _0x329f65=Yt;re[_0x161461(0x26e)][_0x161461(0x217)]=function(_0x1d111d){return _0x1d111d['length']<0x20?_0x1ae0ac(_0x1d111d):_0x329f65(_0x1d111d);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x154512=_0x5c7db0;if(Je)return Se;Je=0x1;const {Writable:_0x300bb7}=_0x4d2870,_0xee5073=he(),{BINARY_TYPES:_0x3b4357,EMPTY_BUFFER:_0x2c579c,kStatusCode:_0x1afd53,kWebSocket:_0x5aeda0}=V(),{concat:_0x4ddc8,toArrayBuffer:_0x199f03,unmask:_0x3a7982}=ce(),{isValidStatusCode:_0x1b1f89,isValidUTF8:_0x9ab3cb}=ne(),_0x5f0d69=Buffer[Symbol[_0x154512(0x205)]],_0xdc1b59=0x0,_0x116ab0=0x1,_0x507804=0x2,_0x55978d=0x3,_0x244f6b=0x4,_0x400af2=0x5,_0x2d76af=0x6;class _0x1ac911 extends _0x300bb7{constructor(_0xf5acc8={}){const _0x380b3c=_0x154512;super(),this[_0x380b3c(0x1ee)]=_0xf5acc8[_0x380b3c(0x2e9)]!==void 0x0?_0xf5acc8[_0x380b3c(0x2e9)]:!0x0,this[_0x380b3c(0x177)]=_0xf5acc8[_0x380b3c(0x305)]||_0x3b4357[0x0],this[_0x380b3c(0x19b)]=_0xf5acc8['extensions']||{},this[_0x380b3c(0x1ab)]=!!_0xf5acc8['isServer'],this[_0x380b3c(0x225)]=_0xf5acc8[_0x380b3c(0x20a)]|0x0,this[_0x380b3c(0x17d)]=!!_0xf5acc8[_0x380b3c(0x18b)],this[_0x5aeda0]=void 0x0,this[_0x380b3c(0x287)]=0x0,this[_0x380b3c(0x179)]=[],this['_compressed']=!0x1,this[_0x380b3c(0x1ca)]=0x0,this[_0x380b3c(0x1d8)]=void 0x0,this[_0x380b3c(0x2e4)]=0x0,this['_masked']=!0x1,this[_0x380b3c(0x250)]=!0x1,this['_opcode']=0x0,this[_0x380b3c(0x27e)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x380b3c(0x2e7)]=!0x1,this[_0x380b3c(0x1ac)]=!0x1,this['_state']=_0xdc1b59;}['_write'](_0x78e0ec,_0x3bf50f,_0x1785d6){const _0x5c88bf=_0x154512;if(this[_0x5c88bf(0x238)]===0x8&&this[_0x5c88bf(0x2ea)]==_0xdc1b59)return _0x1785d6();this['_bufferedBytes']+=_0x78e0ec[_0x5c88bf(0x22b)],this[_0x5c88bf(0x179)]['push'](_0x78e0ec),this[_0x5c88bf(0x203)](_0x1785d6);}[_0x154512(0x311)](_0x22e9d3){const _0x2d2d27=_0x154512;if(this[_0x2d2d27(0x287)]-=_0x22e9d3,_0x22e9d3===this[_0x2d2d27(0x179)][0x0][_0x2d2d27(0x22b)])return this['_buffers']['shift']();if(_0x22e9d3<this[_0x2d2d27(0x179)][0x0][_0x2d2d27(0x22b)]){const _0x1b09b6=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x5f0d69(_0x1b09b6[_0x2d2d27(0x24c)],_0x1b09b6[_0x2d2d27(0x2f2)]+_0x22e9d3,_0x1b09b6['length']-_0x22e9d3),new _0x5f0d69(_0x1b09b6[_0x2d2d27(0x24c)],_0x1b09b6[_0x2d2d27(0x2f2)],_0x22e9d3);}const _0x4bac1e=Buffer[_0x2d2d27(0x1cf)](_0x22e9d3);do{const _0x48f365=this['_buffers'][0x0],_0x3172aa=_0x4bac1e[_0x2d2d27(0x22b)]-_0x22e9d3;_0x22e9d3>=_0x48f365['length']?_0x4bac1e[_0x2d2d27(0x2ca)](this[_0x2d2d27(0x179)][_0x2d2d27(0x211)](),_0x3172aa):(_0x4bac1e[_0x2d2d27(0x2ca)](new Uint8Array(_0x48f365[_0x2d2d27(0x24c)],_0x48f365[_0x2d2d27(0x2f2)],_0x22e9d3),_0x3172aa),this[_0x2d2d27(0x179)][0x0]=new _0x5f0d69(_0x48f365[_0x2d2d27(0x24c)],_0x48f365[_0x2d2d27(0x2f2)]+_0x22e9d3,_0x48f365['length']-_0x22e9d3)),_0x22e9d3-=_0x48f365[_0x2d2d27(0x22b)];}while(_0x22e9d3>0x0);return _0x4bac1e;}[_0x154512(0x203)](_0x421fc2){const _0x5d5552=_0x154512;this[_0x5d5552(0x1ac)]=!0x0;do switch(this[_0x5d5552(0x2ea)]){case _0xdc1b59:this[_0x5d5552(0x21c)](_0x421fc2);break;case _0x116ab0:this[_0x5d5552(0x299)](_0x421fc2);break;case _0x507804:this[_0x5d5552(0x328)](_0x421fc2);break;case _0x55978d:this['getMask']();break;case _0x244f6b:this[_0x5d5552(0x2c0)](_0x421fc2);break;case _0x400af2:case _0x2d76af:this['_loop']=!0x1;return;}while(this[_0x5d5552(0x1ac)]);this[_0x5d5552(0x2e7)]||_0x421fc2();}[_0x154512(0x21c)](_0x4a43eb){const _0x211c49=_0x154512;if(this[_0x211c49(0x287)]<0x2){this[_0x211c49(0x1ac)]=!0x1;return;}const _0x469b7d=this[_0x211c49(0x311)](0x2);if((_0x469b7d[0x0]&0x30)!==0x0){const _0x4421ed=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x17c),!0x0,0x3ea,_0x211c49(0x1e5));_0x4a43eb(_0x4421ed);return;}const _0x2a2a82=(_0x469b7d[0x0]&0x40)===0x40;if(_0x2a2a82&&!this[_0x211c49(0x19b)][_0xee5073['extensionName']]){const _0x31d0ab=this[_0x211c49(0x1b9)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4a43eb(_0x31d0ab);return;}if(this[_0x211c49(0x250)]=(_0x469b7d[0x0]&0x80)===0x80,this[_0x211c49(0x238)]=_0x469b7d[0x0]&0xf,this['_payloadLength']=_0x469b7d[0x1]&0x7f,this[_0x211c49(0x238)]===0x0){if(_0x2a2a82){const _0x5a172b=this['createError'](RangeError,_0x211c49(0x2eb),!0x0,0x3ea,_0x211c49(0x258));_0x4a43eb(_0x5a172b);return;}if(!this[_0x211c49(0x2e4)]){const _0x5e8744=this['createError'](RangeError,_0x211c49(0x2b2),!0x0,0x3ea,_0x211c49(0x17b));_0x4a43eb(_0x5e8744);return;}this['_opcode']=this[_0x211c49(0x2e4)];}else{if(this[_0x211c49(0x238)]===0x1||this[_0x211c49(0x238)]===0x2){if(this[_0x211c49(0x2e4)]){const _0x1cb0a7=this['createError'](RangeError,_0x211c49(0x301)+this[_0x211c49(0x238)],!0x0,0x3ea,_0x211c49(0x17b));_0x4a43eb(_0x1cb0a7);return;}this[_0x211c49(0x244)]=_0x2a2a82;}else{if(this[_0x211c49(0x238)]>0x7&&this[_0x211c49(0x238)]<0xb){if(!this[_0x211c49(0x250)]){const _0x1860d4=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x1a2),!0x0,0x3ea,_0x211c49(0x2fa));_0x4a43eb(_0x1860d4);return;}if(_0x2a2a82){const _0x2290bf=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x2eb),!0x0,0x3ea,_0x211c49(0x258));_0x4a43eb(_0x2290bf);return;}if(this['_payloadLength']>0x7d||this[_0x211c49(0x238)]===0x8&&this[_0x211c49(0x1ca)]===0x1){const _0x2c3924=this[_0x211c49(0x1b9)](RangeError,_0x211c49(0x201)+this[_0x211c49(0x1ca)],!0x0,0x3ea,_0x211c49(0x22f));_0x4a43eb(_0x2c3924);return;}}else{const _0x5a337b=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x211c49(0x238)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4a43eb(_0x5a337b);return;}}}if(!this['_fin']&&!this[_0x211c49(0x2e4)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x469b7d[0x1]&0x80)===0x80,this[_0x211c49(0x1ab)]){if(!this[_0x211c49(0x1a8)]){const _0x577ff0=this[_0x211c49(0x1b9)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x211c49(0x224));_0x4a43eb(_0x577ff0);return;}}else{if(this[_0x211c49(0x1a8)]){const _0x1053b7=this['createError'](RangeError,_0x211c49(0x22c),!0x0,0x3ea,_0x211c49(0x262));_0x4a43eb(_0x1053b7);return;}}this[_0x211c49(0x1ca)]===0x7e?this[_0x211c49(0x2ea)]=_0x116ab0:this[_0x211c49(0x1ca)]===0x7f?this[_0x211c49(0x2ea)]=_0x507804:this[_0x211c49(0x237)](_0x4a43eb);}[_0x154512(0x299)](_0x30c161){const _0xc346bc=_0x154512;if(this[_0xc346bc(0x287)]<0x2){this[_0xc346bc(0x1ac)]=!0x1;return;}this[_0xc346bc(0x1ca)]=this[_0xc346bc(0x311)](0x2)[_0xc346bc(0x325)](0x0),this['haveLength'](_0x30c161);}[_0x154512(0x328)](_0x599848){const _0x1a8e88=_0x154512;if(this['_bufferedBytes']<0x8){this[_0x1a8e88(0x1ac)]=!0x1;return;}const _0x36f795=this[_0x1a8e88(0x311)](0x8),_0x317666=_0x36f795['readUInt32BE'](0x0);if(_0x317666>Math[_0x1a8e88(0x187)](0x2,0x15)-0x1){const _0xd5b075=this[_0x1a8e88(0x1b9)](RangeError,_0x1a8e88(0x2f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x599848(_0xd5b075);return;}this[_0x1a8e88(0x1ca)]=_0x317666*Math[_0x1a8e88(0x187)](0x2,0x20)+_0x36f795[_0x1a8e88(0x175)](0x4),this[_0x1a8e88(0x237)](_0x599848);}['haveLength'](_0x3ae806){const _0x5a3064=_0x154512;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x5a3064(0x27e)]+=this['_payloadLength'],this[_0x5a3064(0x27e)]>this[_0x5a3064(0x225)]&&this[_0x5a3064(0x225)]>0x0)){const _0x45b109=this[_0x5a3064(0x1b9)](RangeError,_0x5a3064(0x19e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3ae806(_0x45b109);return;}this[_0x5a3064(0x1a8)]?this['_state']=_0x55978d:this[_0x5a3064(0x2ea)]=_0x244f6b;}[_0x154512(0x20f)](){const _0xd64a97=_0x154512;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0xd64a97(0x1d8)]=this[_0xd64a97(0x311)](0x4),this['_state']=_0x244f6b;}[_0x154512(0x2c0)](_0x56912f){const _0x34cc6b=_0x154512;let _0xe4efac=_0x2c579c;if(this[_0x34cc6b(0x1ca)]){if(this[_0x34cc6b(0x287)]<this[_0x34cc6b(0x1ca)]){this[_0x34cc6b(0x1ac)]=!0x1;return;}_0xe4efac=this[_0x34cc6b(0x311)](this[_0x34cc6b(0x1ca)]),this[_0x34cc6b(0x1a8)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x34cc6b(0x1d8)][0x2]|this['_mask'][0x3])!==0x0&&_0x3a7982(_0xe4efac,this['_mask']);}if(this[_0x34cc6b(0x238)]>0x7){this[_0x34cc6b(0x18a)](_0xe4efac,_0x56912f);return;}if(this[_0x34cc6b(0x244)]){this[_0x34cc6b(0x2ea)]=_0x400af2,this[_0x34cc6b(0x268)](_0xe4efac,_0x56912f);return;}_0xe4efac[_0x34cc6b(0x22b)]&&(this[_0x34cc6b(0x202)]=this[_0x34cc6b(0x27e)],this[_0x34cc6b(0x2bd)]['push'](_0xe4efac)),this[_0x34cc6b(0x269)](_0x56912f);}[_0x154512(0x268)](_0x5a2a1a,_0x1046dd){const _0x16ea6d=_0x154512;this[_0x16ea6d(0x19b)][_0xee5073[_0x16ea6d(0x1e9)]]['decompress'](_0x5a2a1a,this['_fin'],(_0x1ae9b8,_0x1b2558)=>{const _0x4c428=_0x16ea6d;if(_0x1ae9b8)return _0x1046dd(_0x1ae9b8);if(_0x1b2558['length']){if(this[_0x4c428(0x202)]+=_0x1b2558[_0x4c428(0x22b)],this[_0x4c428(0x202)]>this[_0x4c428(0x225)]&&this[_0x4c428(0x225)]>0x0){const _0x4b0f41=this[_0x4c428(0x1b9)](RangeError,_0x4c428(0x19e),!0x1,0x3f1,_0x4c428(0x2c2));_0x1046dd(_0x4b0f41);return;}this[_0x4c428(0x2bd)]['push'](_0x1b2558);}this['dataMessage'](_0x1046dd),this['_state']===_0xdc1b59&&this[_0x4c428(0x203)](_0x1046dd);});}[_0x154512(0x269)](_0x5ecbfc){const _0x26f748=_0x154512;if(!this[_0x26f748(0x250)]){this[_0x26f748(0x2ea)]=_0xdc1b59;return;}const _0x5c91be=this[_0x26f748(0x202)],_0x19a436=this[_0x26f748(0x2bd)];if(this[_0x26f748(0x27e)]=0x0,this[_0x26f748(0x202)]=0x0,this[_0x26f748(0x2e4)]=0x0,this[_0x26f748(0x2bd)]=[],this['_opcode']===0x2){let _0x3c2c26;this[_0x26f748(0x177)]===_0x26f748(0x245)?_0x3c2c26=_0x4ddc8(_0x19a436,_0x5c91be):this[_0x26f748(0x177)]==='arraybuffer'?_0x3c2c26=_0x199f03(_0x4ddc8(_0x19a436,_0x5c91be)):this[_0x26f748(0x177)]==='blob'?_0x3c2c26=new Blob(_0x19a436):_0x3c2c26=_0x19a436,this[_0x26f748(0x1ee)]?(this['emit'](_0x26f748(0x235),_0x3c2c26,!0x0),this[_0x26f748(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x56ab6a=_0x26f748;this['emit'](_0x56ab6a(0x235),_0x3c2c26,!0x0),this[_0x56ab6a(0x2ea)]=_0xdc1b59,this[_0x56ab6a(0x203)](_0x5ecbfc);}));}else{const _0x588541=_0x4ddc8(_0x19a436,_0x5c91be);if(!this[_0x26f748(0x17d)]&&!_0x9ab3cb(_0x588541)){const _0x2a20e4=this[_0x26f748(0x1b9)](Error,_0x26f748(0x24d),!0x0,0x3ef,_0x26f748(0x1c2));_0x5ecbfc(_0x2a20e4);return;}this[_0x26f748(0x2ea)]===_0x400af2||this[_0x26f748(0x1ee)]?(this[_0x26f748(0x22a)](_0x26f748(0x235),_0x588541,!0x1),this[_0x26f748(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x243957=_0x26f748;this[_0x243957(0x22a)]('message',_0x588541,!0x1),this[_0x243957(0x2ea)]=_0xdc1b59,this[_0x243957(0x203)](_0x5ecbfc);}));}}[_0x154512(0x18a)](_0x19ab50,_0x1efe60){const _0x28a4c8=_0x154512;if(this[_0x28a4c8(0x238)]===0x8){if(_0x19ab50[_0x28a4c8(0x22b)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x2c579c),this[_0x28a4c8(0x1fe)]();else{const _0x4663b6=_0x19ab50[_0x28a4c8(0x325)](0x0);if(!_0x1b1f89(_0x4663b6)){const _0x2ccbe7=this[_0x28a4c8(0x1b9)](RangeError,_0x28a4c8(0x253)+_0x4663b6,!0x0,0x3ea,_0x28a4c8(0x2b5));_0x1efe60(_0x2ccbe7);return;}const _0x3fd186=new _0x5f0d69(_0x19ab50[_0x28a4c8(0x24c)],_0x19ab50[_0x28a4c8(0x2f2)]+0x2,_0x19ab50[_0x28a4c8(0x22b)]-0x2);if(!this[_0x28a4c8(0x17d)]&&!_0x9ab3cb(_0x3fd186)){const _0x5d826a=this['createError'](Error,_0x28a4c8(0x24d),!0x0,0x3ef,_0x28a4c8(0x1c2));_0x1efe60(_0x5d826a);return;}this[_0x28a4c8(0x1ac)]=!0x1,this[_0x28a4c8(0x22a)](_0x28a4c8(0x2ff),_0x4663b6,_0x3fd186),this[_0x28a4c8(0x1fe)]();}this['_state']=_0xdc1b59;return;}this[_0x28a4c8(0x1ee)]?(this[_0x28a4c8(0x22a)](this[_0x28a4c8(0x238)]===0x9?_0x28a4c8(0x1af):_0x28a4c8(0x1a0),_0x19ab50),this[_0x28a4c8(0x2ea)]=_0xdc1b59):(this['_state']=_0x2d76af,setImmediate(()=>{const _0x1712bb=_0x28a4c8;this['emit'](this[_0x1712bb(0x238)]===0x9?'ping':_0x1712bb(0x1a0),_0x19ab50),this[_0x1712bb(0x2ea)]=_0xdc1b59,this[_0x1712bb(0x203)](_0x1efe60);}));}[_0x154512(0x1b9)](_0x8a1aa2,_0xd64b70,_0x22177c,_0x5323a0,_0x3f7d78){const _0x49fdbe=_0x154512;this['_loop']=!0x1,this[_0x49fdbe(0x2e7)]=!0x0;const _0x2b2274=new _0x8a1aa2(_0x22177c?_0x49fdbe(0x1d0)+_0xd64b70:_0xd64b70);return Error[_0x49fdbe(0x297)](_0x2b2274,this['createError']),_0x2b2274['code']=_0x3f7d78,_0x2b2274[_0x1afd53]=_0x5323a0,_0x2b2274;}}return Se=_0x1ac911,Se;}var Ee,et;function _t(){const _0x28662a=_0x5c7db0;if(et)return Ee;et=0x1;const {Duplex:_0x44969d}=_0x4d2870,{randomFillSync:_0x23eda4}=_0x5ac424,_0x1b92e9=he(),{EMPTY_BUFFER:_0x3f7b7d,kWebSocket:_0x216e14,NOOP:_0x3b42a0}=V(),{isBlob:_0x260b6e,isValidStatusCode:_0x14dc80}=ne(),{mask:_0x3ff5b1,toBuffer:_0x14cb65}=ce(),_0x239b58=Symbol(_0x28662a(0x329)),_0x1e6709=Buffer['alloc'](0x4),_0x9ca2b1=0x8*0x400;let _0x4b8a63,_0x1ce8bd=_0x9ca2b1;const _0x35620e=0x0,_0x3c7ec9=0x1,_0x3fe8f4=0x2;class _0x423bf1{constructor(_0x228324,_0x3cb528,_0x7ac71c){const _0x123232=_0x28662a;this[_0x123232(0x19b)]=_0x3cb528||{},_0x7ac71c&&(this[_0x123232(0x188)]=_0x7ac71c,this[_0x123232(0x1e2)]=Buffer['alloc'](0x4)),this[_0x123232(0x22e)]=_0x228324,this[_0x123232(0x234)]=!0x0,this[_0x123232(0x241)]=!0x1,this[_0x123232(0x287)]=0x0,this[_0x123232(0x2c8)]=[],this[_0x123232(0x2ea)]=_0x35620e,this[_0x123232(0x283)]=_0x3b42a0,this[_0x216e14]=void 0x0;}static[_0x28662a(0x25a)](_0x29ad49,_0x272619){const _0x5a0478=_0x28662a;let _0x42749f,_0x33dced=!0x1,_0x51a63c=0x2,_0x1712a2=!0x1;_0x272619[_0x5a0478(0x2d3)]&&(_0x42749f=_0x272619[_0x5a0478(0x1b6)]||_0x1e6709,_0x272619[_0x5a0478(0x310)]?_0x272619[_0x5a0478(0x310)](_0x42749f):(_0x1ce8bd===_0x9ca2b1&&(_0x4b8a63===void 0x0&&(_0x4b8a63=Buffer[_0x5a0478(0x28e)](_0x9ca2b1)),_0x23eda4(_0x4b8a63,0x0,_0x9ca2b1),_0x1ce8bd=0x0),_0x42749f[0x0]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x1]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x2]=_0x4b8a63[_0x1ce8bd++],_0x42749f[0x3]=_0x4b8a63[_0x1ce8bd++]),_0x1712a2=(_0x42749f[0x0]|_0x42749f[0x1]|_0x42749f[0x2]|_0x42749f[0x3])===0x0,_0x51a63c=0x6);let _0x209861;typeof _0x29ad49=='string'?(!_0x272619[_0x5a0478(0x2d3)]||_0x1712a2)&&_0x272619[_0x239b58]!==void 0x0?_0x209861=_0x272619[_0x239b58]:(_0x29ad49=Buffer[_0x5a0478(0x313)](_0x29ad49),_0x209861=_0x29ad49['length']):(_0x209861=_0x29ad49['length'],_0x33dced=_0x272619[_0x5a0478(0x2d3)]&&_0x272619[_0x5a0478(0x284)]&&!_0x1712a2);let _0x5c0d05=_0x209861;_0x209861>=0x10000?(_0x51a63c+=0x8,_0x5c0d05=0x7f):_0x209861>0x7d&&(_0x51a63c+=0x2,_0x5c0d05=0x7e);const _0x128842=Buffer[_0x5a0478(0x1cf)](_0x33dced?_0x209861+_0x51a63c:_0x51a63c);return _0x128842[0x0]=_0x272619[_0x5a0478(0x208)]?_0x272619[_0x5a0478(0x18f)]|0x80:_0x272619['opcode'],_0x272619[_0x5a0478(0x1f4)]&&(_0x128842[0x0]|=0x40),_0x128842[0x1]=_0x5c0d05,_0x5c0d05===0x7e?_0x128842[_0x5a0478(0x1e4)](_0x209861,0x2):_0x5c0d05===0x7f&&(_0x128842[0x2]=_0x128842[0x3]=0x0,_0x128842[_0x5a0478(0x20b)](_0x209861,0x4,0x6)),_0x272619[_0x5a0478(0x2d3)]?(_0x128842[0x1]|=0x80,_0x128842[_0x51a63c-0x4]=_0x42749f[0x0],_0x128842[_0x51a63c-0x3]=_0x42749f[0x1],_0x128842[_0x51a63c-0x2]=_0x42749f[0x2],_0x128842[_0x51a63c-0x1]=_0x42749f[0x3],_0x1712a2?[_0x128842,_0x29ad49]:_0x33dced?(_0x3ff5b1(_0x29ad49,_0x42749f,_0x128842,_0x51a63c,_0x209861),[_0x128842]):(_0x3ff5b1(_0x29ad49,_0x42749f,_0x29ad49,0x0,_0x209861),[_0x128842,_0x29ad49])):[_0x128842,_0x29ad49];}[_0x28662a(0x247)](_0x5c2758,_0x1f9479,_0x16b2c5,_0x33c140){const _0x5aeef4=_0x28662a;let _0x3b84df;if(_0x5c2758===void 0x0)_0x3b84df=_0x3f7b7d;else{if(typeof _0x5c2758!=_0x5aeef4(0x286)||!_0x14dc80(_0x5c2758))throw new TypeError(_0x5aeef4(0x183));if(_0x1f9479===void 0x0||!_0x1f9479[_0x5aeef4(0x22b)])_0x3b84df=Buffer[_0x5aeef4(0x1cf)](0x2),_0x3b84df[_0x5aeef4(0x1e4)](_0x5c2758,0x0);else{const _0x551bfd=Buffer[_0x5aeef4(0x191)](_0x1f9479);if(_0x551bfd>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3b84df=Buffer[_0x5aeef4(0x1cf)](0x2+_0x551bfd),_0x3b84df[_0x5aeef4(0x1e4)](_0x5c2758,0x0),typeof _0x1f9479==_0x5aeef4(0x1f8)?_0x3b84df['write'](_0x1f9479,0x2):_0x3b84df[_0x5aeef4(0x2ca)](_0x1f9479,0x2);}}const _0x484652={[_0x239b58]:_0x3b84df[_0x5aeef4(0x22b)],'fin':!0x0,'generateMask':this[_0x5aeef4(0x188)],'mask':_0x16b2c5,'maskBuffer':this[_0x5aeef4(0x1e2)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5aeef4(0x2ea)]!==_0x35620e?this[_0x5aeef4(0x216)]([this[_0x5aeef4(0x2ab)],_0x3b84df,!0x1,_0x484652,_0x33c140]):this[_0x5aeef4(0x26d)](_0x423bf1[_0x5aeef4(0x25a)](_0x3b84df,_0x484652),_0x33c140);}[_0x28662a(0x1af)](_0x2ecc80,_0x47c626,_0x3034de){const _0x4063f7=_0x28662a;let _0x2cd6e7,_0x18bc83;if(typeof _0x2ecc80==_0x4063f7(0x1f8)?(_0x2cd6e7=Buffer['byteLength'](_0x2ecc80),_0x18bc83=!0x1):_0x260b6e(_0x2ecc80)?(_0x2cd6e7=_0x2ecc80['size'],_0x18bc83=!0x1):(_0x2ecc80=_0x14cb65(_0x2ecc80),_0x2cd6e7=_0x2ecc80['length'],_0x18bc83=_0x14cb65[_0x4063f7(0x284)]),_0x2cd6e7>0x7d)throw new RangeError(_0x4063f7(0x1de));const _0x1c8317={[_0x239b58]:_0x2cd6e7,'fin':!0x0,'generateMask':this[_0x4063f7(0x188)],'mask':_0x47c626,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x18bc83,'rsv1':!0x1};_0x260b6e(_0x2ecc80)?this[_0x4063f7(0x2ea)]!==_0x35620e?this[_0x4063f7(0x216)]([this[_0x4063f7(0x218)],_0x2ecc80,!0x1,_0x1c8317,_0x3034de]):this[_0x4063f7(0x218)](_0x2ecc80,!0x1,_0x1c8317,_0x3034de):this[_0x4063f7(0x2ea)]!==_0x35620e?this['enqueue']([this[_0x4063f7(0x2ab)],_0x2ecc80,!0x1,_0x1c8317,_0x3034de]):this[_0x4063f7(0x26d)](_0x423bf1['frame'](_0x2ecc80,_0x1c8317),_0x3034de);}[_0x28662a(0x1a0)](_0x4f1759,_0x2400bc,_0x180584){const _0x333c47=_0x28662a;let _0x2dd02b,_0x20198f;if(typeof _0x4f1759==_0x333c47(0x1f8)?(_0x2dd02b=Buffer[_0x333c47(0x191)](_0x4f1759),_0x20198f=!0x1):_0x260b6e(_0x4f1759)?(_0x2dd02b=_0x4f1759['size'],_0x20198f=!0x1):(_0x4f1759=_0x14cb65(_0x4f1759),_0x2dd02b=_0x4f1759[_0x333c47(0x22b)],_0x20198f=_0x14cb65[_0x333c47(0x284)]),_0x2dd02b>0x7d)throw new RangeError(_0x333c47(0x1de));const _0x135721={[_0x239b58]:_0x2dd02b,'fin':!0x0,'generateMask':this[_0x333c47(0x188)],'mask':_0x2400bc,'maskBuffer':this[_0x333c47(0x1e2)],'opcode':0xa,'readOnly':_0x20198f,'rsv1':!0x1};_0x260b6e(_0x4f1759)?this['_state']!==_0x35620e?this[_0x333c47(0x216)]([this[_0x333c47(0x218)],_0x4f1759,!0x1,_0x135721,_0x180584]):this[_0x333c47(0x218)](_0x4f1759,!0x1,_0x135721,_0x180584):this[_0x333c47(0x2ea)]!==_0x35620e?this[_0x333c47(0x216)]([this[_0x333c47(0x2ab)],_0x4f1759,!0x1,_0x135721,_0x180584]):this[_0x333c47(0x26d)](_0x423bf1[_0x333c47(0x25a)](_0x4f1759,_0x135721),_0x180584);}[_0x28662a(0x267)](_0x401f62,_0x18ab65,_0xbc43df){const _0x3af52=_0x28662a,_0x3978cb=this[_0x3af52(0x19b)][_0x1b92e9['extensionName']];let _0x31c92c=_0x18ab65[_0x3af52(0x242)]?0x2:0x1,_0x19168c=_0x18ab65[_0x3af52(0x230)],_0x26838b,_0x420502;typeof _0x401f62=='string'?(_0x26838b=Buffer['byteLength'](_0x401f62),_0x420502=!0x1):_0x260b6e(_0x401f62)?(_0x26838b=_0x401f62[_0x3af52(0x26a)],_0x420502=!0x1):(_0x401f62=_0x14cb65(_0x401f62),_0x26838b=_0x401f62[_0x3af52(0x22b)],_0x420502=_0x14cb65[_0x3af52(0x284)]),this[_0x3af52(0x234)]?(this[_0x3af52(0x234)]=!0x1,_0x19168c&&_0x3978cb&&_0x3978cb[_0x3af52(0x1a5)][_0x3978cb[_0x3af52(0x1ab)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x19168c=_0x26838b>=_0x3978cb[_0x3af52(0x1d2)]),this[_0x3af52(0x241)]=_0x19168c):(_0x19168c=!0x1,_0x31c92c=0x0),_0x18ab65[_0x3af52(0x208)]&&(this[_0x3af52(0x234)]=!0x0);const _0x5ed3d6={[_0x239b58]:_0x26838b,'fin':_0x18ab65[_0x3af52(0x208)],'generateMask':this[_0x3af52(0x188)],'mask':_0x18ab65[_0x3af52(0x2d3)],'maskBuffer':this[_0x3af52(0x1e2)],'opcode':_0x31c92c,'readOnly':_0x420502,'rsv1':_0x19168c};_0x260b6e(_0x401f62)?this[_0x3af52(0x2ea)]!==_0x35620e?this['enqueue']([this[_0x3af52(0x218)],_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df]):this[_0x3af52(0x218)](_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df):this[_0x3af52(0x2ea)]!==_0x35620e?this[_0x3af52(0x216)]([this[_0x3af52(0x2ab)],_0x401f62,this['_compress'],_0x5ed3d6,_0xbc43df]):this[_0x3af52(0x2ab)](_0x401f62,this[_0x3af52(0x241)],_0x5ed3d6,_0xbc43df);}[_0x28662a(0x218)](_0x45f08c,_0x2867f6,_0x51a4a3,_0x51c8c8){const _0xe7ad7b=_0x28662a;this[_0xe7ad7b(0x287)]+=_0x51a4a3[_0x239b58],this[_0xe7ad7b(0x2ea)]=_0x3fe8f4,_0x45f08c['arrayBuffer']()[_0xe7ad7b(0x277)](_0x219133=>{const _0x58bde1=_0xe7ad7b;if(this[_0x58bde1(0x22e)]['destroyed']){const _0x4bf59b=new Error(_0x58bde1(0x1f1));process[_0x58bde1(0x1c6)](_0x5f3c7a,this,_0x4bf59b,_0x51c8c8);return;}this[_0x58bde1(0x287)]-=_0x51a4a3[_0x239b58];const _0x5d7756=_0x14cb65(_0x219133);_0x2867f6?this[_0x58bde1(0x2ab)](_0x5d7756,_0x2867f6,_0x51a4a3,_0x51c8c8):(this[_0x58bde1(0x2ea)]=_0x35620e,this[_0x58bde1(0x26d)](_0x423bf1[_0x58bde1(0x25a)](_0x5d7756,_0x51a4a3),_0x51c8c8),this[_0x58bde1(0x2e5)]());})[_0xe7ad7b(0x271)](_0x34a516=>{const _0x51e2c7=_0xe7ad7b;process[_0x51e2c7(0x1c6)](_0x1c1c09,this,_0x34a516,_0x51c8c8);});}[_0x28662a(0x2ab)](_0x4ebb4d,_0x4f8eef,_0xc3d5b4,_0x5d2af7){const _0x1bd34d=_0x28662a;if(!_0x4f8eef){this[_0x1bd34d(0x26d)](_0x423bf1[_0x1bd34d(0x25a)](_0x4ebb4d,_0xc3d5b4),_0x5d2af7);return;}const _0x37c279=this['_extensions'][_0x1b92e9['extensionName']];this[_0x1bd34d(0x287)]+=_0xc3d5b4[_0x239b58],this[_0x1bd34d(0x2ea)]=_0x3c7ec9,_0x37c279[_0x1bd34d(0x230)](_0x4ebb4d,_0xc3d5b4[_0x1bd34d(0x208)],(_0x48a929,_0x50726a)=>{const _0x590676=_0x1bd34d;if(this[_0x590676(0x22e)][_0x590676(0x31d)]){const _0x40c62e=new Error(_0x590676(0x195));_0x5f3c7a(this,_0x40c62e,_0x5d2af7);return;}this[_0x590676(0x287)]-=_0xc3d5b4[_0x239b58],this[_0x590676(0x2ea)]=_0x35620e,_0xc3d5b4['readOnly']=!0x1,this[_0x590676(0x26d)](_0x423bf1['frame'](_0x50726a,_0xc3d5b4),_0x5d2af7),this['dequeue']();});}[_0x28662a(0x2e5)](){const _0x4f8c47=_0x28662a;for(;this[_0x4f8c47(0x2ea)]===_0x35620e&&this[_0x4f8c47(0x2c8)][_0x4f8c47(0x22b)];){const _0x18e966=this[_0x4f8c47(0x2c8)][_0x4f8c47(0x211)]();this[_0x4f8c47(0x287)]-=_0x18e966[0x3][_0x239b58],Reflect[_0x4f8c47(0x1c0)](_0x18e966[0x0],this,_0x18e966['slice'](0x1));}}[_0x28662a(0x216)](_0x262ed6){const _0x386b46=_0x28662a;this['_bufferedBytes']+=_0x262ed6[0x3][_0x239b58],this[_0x386b46(0x2c8)]['push'](_0x262ed6);}[_0x28662a(0x26d)](_0x3c1b70,_0xcb5cb1){const _0x39f5bb=_0x28662a;_0x3c1b70[_0x39f5bb(0x22b)]===0x2?(this[_0x39f5bb(0x22e)][_0x39f5bb(0x27d)](),this[_0x39f5bb(0x22e)][_0x39f5bb(0x292)](_0x3c1b70[0x0]),this[_0x39f5bb(0x22e)]['write'](_0x3c1b70[0x1],_0xcb5cb1),this[_0x39f5bb(0x22e)][_0x39f5bb(0x2cc)]()):this[_0x39f5bb(0x22e)][_0x39f5bb(0x292)](_0x3c1b70[0x0],_0xcb5cb1);}}Ee=_0x423bf1;function _0x5f3c7a(_0x260dbf,_0x14fc50,_0x3fff28){const _0x406ab3=_0x28662a;typeof _0x3fff28==_0x406ab3(0x1b8)&&_0x3fff28(_0x14fc50);for(let _0xa9b585=0x0;_0xa9b585<_0x260dbf['_queue'][_0x406ab3(0x22b)];_0xa9b585++){const _0x49f796=_0x260dbf[_0x406ab3(0x2c8)][_0xa9b585],_0x27fd93=_0x49f796[_0x49f796[_0x406ab3(0x22b)]-0x1];typeof _0x27fd93==_0x406ab3(0x1b8)&&_0x27fd93(_0x14fc50);}}function _0x1c1c09(_0x361086,_0x592a48,_0x1adb8d){_0x5f3c7a(_0x361086,_0x592a48,_0x1adb8d),_0x361086['onerror'](_0x592a48);}return Ee;}var xe,tt;function Kt(){const _0x530a5b=_0x5c7db0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x18841d,kListener:_0x2ed439}=V(),_0x13a3ec=Symbol(_0x530a5b(0x295)),_0x312e97=Symbol(_0x530a5b(0x2ad)),_0x230080=Symbol(_0x530a5b(0x180)),_0x57abd5=Symbol(_0x530a5b(0x249)),_0x3c68ca=Symbol(_0x530a5b(0x171)),_0xcfbee7=Symbol('kTarget'),_0x4f69d0=Symbol(_0x530a5b(0x2b6)),_0x50205a=Symbol('kWasClean');class _0x3436d4{constructor(_0x2181b5){this[_0xcfbee7]=null,this[_0x4f69d0]=_0x2181b5;}get[_0x530a5b(0x285)](){return this[_0xcfbee7];}get[_0x530a5b(0x2c5)](){return this[_0x4f69d0];}}Object[_0x530a5b(0x227)](_0x3436d4['prototype'],_0x530a5b(0x285),{'enumerable':!0x0}),Object[_0x530a5b(0x227)](_0x3436d4[_0x530a5b(0x219)],_0x530a5b(0x2c5),{'enumerable':!0x0});class _0x5dcf17 extends _0x3436d4{constructor(_0x3259b1,_0x4be0f7={}){const _0x587fd2=_0x530a5b;super(_0x3259b1),this[_0x13a3ec]=_0x4be0f7['code']===void 0x0?0x0:_0x4be0f7[_0x587fd2(0x1eb)],this[_0x3c68ca]=_0x4be0f7['reason']===void 0x0?'':_0x4be0f7['reason'],this[_0x50205a]=_0x4be0f7[_0x587fd2(0x18d)]===void 0x0?!0x1:_0x4be0f7['wasClean'];}get[_0x530a5b(0x1eb)](){return this[_0x13a3ec];}get[_0x530a5b(0x2d5)](){return this[_0x3c68ca];}get[_0x530a5b(0x18d)](){return this[_0x50205a];}}Object['defineProperty'](_0x5dcf17[_0x530a5b(0x219)],_0x530a5b(0x1eb),{'enumerable':!0x0}),Object[_0x530a5b(0x227)](_0x5dcf17[_0x530a5b(0x219)],_0x530a5b(0x2d5),{'enumerable':!0x0}),Object['defineProperty'](_0x5dcf17['prototype'],'wasClean',{'enumerable':!0x0});class _0x5eca33 extends _0x3436d4{constructor(_0x409f36,_0x2a84c1={}){const _0x4f76a8=_0x530a5b;super(_0x409f36),this[_0x230080]=_0x2a84c1['error']===void 0x0?null:_0x2a84c1[_0x4f76a8(0x303)],this[_0x57abd5]=_0x2a84c1[_0x4f76a8(0x235)]===void 0x0?'':_0x2a84c1[_0x4f76a8(0x235)];}get[_0x530a5b(0x303)](){return this[_0x230080];}get['message'](){return this[_0x57abd5];}}Object[_0x530a5b(0x227)](_0x5eca33[_0x530a5b(0x219)],_0x530a5b(0x303),{'enumerable':!0x0}),Object['defineProperty'](_0x5eca33['prototype'],_0x530a5b(0x235),{'enumerable':!0x0});class _0x4027c8 extends _0x3436d4{constructor(_0x3d129a,_0x536fab={}){const _0x17e121=_0x530a5b;super(_0x3d129a),this[_0x312e97]=_0x536fab[_0x17e121(0x1e8)]===void 0x0?null:_0x536fab['data'];}get[_0x530a5b(0x1e8)](){return this[_0x312e97];}}Object['defineProperty'](_0x4027c8[_0x530a5b(0x219)],_0x530a5b(0x1e8),{'enumerable':!0x0}),xe={'CloseEvent':_0x5dcf17,'ErrorEvent':_0x5eca33,'Event':_0x3436d4,'EventTarget':{'addEventListener'(_0x16eb78,_0x27bcb5,_0x10a518={}){const _0x2f5652=_0x530a5b;for(const _0x411805 of this[_0x2f5652(0x2e1)](_0x16eb78))if(!_0x10a518[_0x18841d]&&_0x411805[_0x2ed439]===_0x27bcb5&&!_0x411805[_0x18841d])return;let _0x47fa70;if(_0x16eb78==='message')_0x47fa70=function(_0x30b543,_0x3b65bd){const _0x3f9a94=_0x2f5652,_0x321271=new _0x4027c8('message',{'data':_0x3b65bd?_0x30b543:_0x30b543[_0x3f9a94(0x18e)]()});_0x321271[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x321271);};else{if(_0x16eb78===_0x2f5652(0x247))_0x47fa70=function(_0x38e527,_0x43bad6){const _0x478905=_0x2f5652,_0xb69045=new _0x5dcf17(_0x478905(0x247),{'code':_0x38e527,'reason':_0x43bad6[_0x478905(0x18e)](),'wasClean':this[_0x478905(0x1ad)]&&this[_0x478905(0x23a)]});_0xb69045[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0xb69045);};else{if(_0x16eb78==='error')_0x47fa70=function(_0x537921){const _0x695e2a=_0x2f5652,_0x1bc308=new _0x5eca33(_0x695e2a(0x303),{'error':_0x537921,'message':_0x537921['message']});_0x1bc308[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x1bc308);};else{if(_0x16eb78===_0x2f5652(0x28b))_0x47fa70=function(){const _0x5b9729=_0x2f5652,_0x459a49=new _0x3436d4(_0x5b9729(0x28b));_0x459a49[_0xcfbee7]=this,_0x424adb(_0x27bcb5,this,_0x459a49);};else return;}}}_0x47fa70[_0x18841d]=!!_0x10a518[_0x18841d],_0x47fa70[_0x2ed439]=_0x27bcb5,_0x10a518[_0x2f5652(0x2af)]?this['once'](_0x16eb78,_0x47fa70):this['on'](_0x16eb78,_0x47fa70);},'removeEventListener'(_0x1dbe8e,_0x5eb7a1){const _0x3a3503=_0x530a5b;for(const _0x5057de of this[_0x3a3503(0x2e1)](_0x1dbe8e))if(_0x5057de[_0x2ed439]===_0x5eb7a1&&!_0x5057de[_0x18841d]){this[_0x3a3503(0x222)](_0x1dbe8e,_0x5057de);break;}}},'MessageEvent':_0x4027c8};function _0x424adb(_0x3594a9,_0x244170,_0x56ed53){const _0x339658=_0x530a5b;typeof _0x3594a9==_0x339658(0x304)&&_0x3594a9[_0x339658(0x23d)]?_0x3594a9['handleEvent']['call'](_0x3594a9,_0x56ed53):_0x3594a9[_0x339658(0x1a4)](_0x244170,_0x56ed53);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5e9d47}=ne();function _0x2d874e(_0x58d248,_0x2f3e1c,_0x49539f){const _0x53b031=_0x5161;_0x58d248[_0x2f3e1c]===void 0x0?_0x58d248[_0x2f3e1c]=[_0x49539f]:_0x58d248[_0x2f3e1c][_0x53b031(0x2df)](_0x49539f);}function _0x3bc239(_0x20f9d4){const _0x1e1cf3=_0x5161,_0xf72d9b=Object[_0x1e1cf3(0x181)](null);let _0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x358aef=!0x1,_0x4b6a99=!0x1,_0x2ee7b8=!0x1,_0x63bb18,_0x2bfca8,_0x5ceca2=-0x1,_0x3d7c39=-0x1,_0x2323ca=-0x1,_0xa9543=0x0;for(;_0xa9543<_0x20f9d4[_0x1e1cf3(0x22b)];_0xa9543++)if(_0x3d7c39=_0x20f9d4[_0x1e1cf3(0x1fb)](_0xa9543),_0x63bb18===void 0x0){if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0xa9543!==0x0&&(_0x3d7c39===0x20||_0x3d7c39===0x9))_0x2323ca===-0x1&&_0x5ceca2!==-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);const _0x1802ce=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca);_0x3d7c39===0x2c?(_0x2d874e(_0xf72d9b,_0x1802ce,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null)):_0x63bb18=_0x1802ce,_0x5ceca2=_0x2323ca=-0x1;}else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}else{if(_0x2bfca8===void 0x0){if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x3d7c39===0x20||_0x3d7c39===0x9)_0x2323ca===-0x1&&_0x5ceca2!==-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543),_0x2d874e(_0x302cbb,_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca),!0x0),_0x3d7c39===0x2c&&(_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x63bb18=void 0x0),_0x5ceca2=_0x2323ca=-0x1;}else{if(_0x3d7c39===0x3d&&_0x5ceca2!==-0x1&&_0x2323ca===-0x1)_0x2bfca8=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0xa9543),_0x5ceca2=_0x2323ca=-0x1;else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}}else{if(_0x4b6a99){if(_0x5e9d47[_0x3d7c39]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xa9543);_0x5ceca2===-0x1?_0x5ceca2=_0xa9543:_0x358aef||(_0x358aef=!0x0),_0x4b6a99=!0x1;}else{if(_0x2ee7b8){if(_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x3d7c39===0x22&&_0x5ceca2!==-0x1)_0x2ee7b8=!0x1,_0x2323ca=_0xa9543;else{if(_0x3d7c39===0x5c)_0x4b6a99=!0x0;else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}else{if(_0x3d7c39===0x22&&_0x20f9d4[_0x1e1cf3(0x1fb)](_0xa9543-0x1)===0x3d)_0x2ee7b8=!0x0;else{if(_0x2323ca===-0x1&&_0x5e9d47[_0x3d7c39]===0x1)_0x5ceca2===-0x1&&(_0x5ceca2=_0xa9543);else{if(_0x5ceca2!==-0x1&&(_0x3d7c39===0x20||_0x3d7c39===0x9))_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);else{if(_0x3d7c39===0x3b||_0x3d7c39===0x2c){if(_0x5ceca2===-0x1)throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);let _0x40b6ba=_0x20f9d4['slice'](_0x5ceca2,_0x2323ca);_0x358aef&&(_0x40b6ba=_0x40b6ba[_0x1e1cf3(0x209)](/\\/g,''),_0x358aef=!0x1),_0x2d874e(_0x302cbb,_0x2bfca8,_0x40b6ba),_0x3d7c39===0x2c&&(_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb),_0x302cbb=Object[_0x1e1cf3(0x181)](null),_0x63bb18=void 0x0),_0x2bfca8=void 0x0,_0x5ceca2=_0x2323ca=-0x1;}else throw new SyntaxError(_0x1e1cf3(0x270)+_0xa9543);}}}}}}}if(_0x5ceca2===-0x1||_0x2ee7b8||_0x3d7c39===0x20||_0x3d7c39===0x9)throw new SyntaxError(_0x1e1cf3(0x174));_0x2323ca===-0x1&&(_0x2323ca=_0xa9543);const _0x6d7cfb=_0x20f9d4[_0x1e1cf3(0x226)](_0x5ceca2,_0x2323ca);return _0x63bb18===void 0x0?_0x2d874e(_0xf72d9b,_0x6d7cfb,_0x302cbb):(_0x2bfca8===void 0x0?_0x2d874e(_0x302cbb,_0x6d7cfb,!0x0):_0x358aef?_0x2d874e(_0x302cbb,_0x2bfca8,_0x6d7cfb['replace'](/\\/g,'')):_0x2d874e(_0x302cbb,_0x2bfca8,_0x6d7cfb),_0x2d874e(_0xf72d9b,_0x63bb18,_0x302cbb)),_0xf72d9b;}function _0x3c2d62(_0x3fca6b){const _0xe6f134=_0x5161;return Object[_0xe6f134(0x1dd)](_0x3fca6b)['map'](_0x192faa=>{const _0x228b62=_0xe6f134;let _0x3ee643=_0x3fca6b[_0x192faa];return Array[_0x228b62(0x27b)](_0x3ee643)||(_0x3ee643=[_0x3ee643]),_0x3ee643[_0x228b62(0x1b7)](_0x5b9d65=>[_0x192faa][_0x228b62(0x210)](Object[_0x228b62(0x1dd)](_0x5b9d65)[_0x228b62(0x1b7)](_0x551ba0=>{const _0x6f23b1=_0x228b62;let _0x5af39b=_0x5b9d65[_0x551ba0];return Array[_0x6f23b1(0x27b)](_0x5af39b)||(_0x5af39b=[_0x5af39b]),_0x5af39b['map'](_0x50ead3=>_0x50ead3===!0x0?_0x551ba0:_0x551ba0+'='+_0x50ead3)['join'](';\x20');}))[_0x228b62(0x239)](';\x20'))[_0x228b62(0x239)](',\x20');})[_0xe6f134(0x239)](',\x20');}return be={'format':_0x3c2d62,'parse':_0x3bc239},be;}var we,st;function Ie(){const _0x10fa45=_0x5c7db0;if(st)return we;st=0x1;const _0x2ada53=_0x460d20,_0x5b015c=_0x3f53a6,_0x99ecb=_0x123ba3,_0x384414=_0x4be752,_0x2562d5=_0x1b75ba,{randomBytes:_0x5c45c9,createHash:_0x574e61}=_0x5ac424,{Duplex:_0x3fbd06,Readable:_0x132cae}=_0x4d2870,{URL:_0x4dea04}=_0x94c963,_0x3bc3e7=he(),_0x1e9f88=dt(),_0x20a916=_t(),{isBlob:_0x2ea926}=ne(),{BINARY_TYPES:_0x470051,EMPTY_BUFFER:_0x4225bf,GUID:_0x5c5457,kForOnEventAttribute:_0x1f5abc,kListener:_0x177fbf,kStatusCode:_0xff85ba,kWebSocket:_0x2e4c40,NOOP:_0x358f6d}=V(),{EventTarget:{addEventListener:_0x15d990,removeEventListener:_0x36b97d}}=Kt(),{format:_0x501ec7,parse:_0x2bc0db}=pt(),{toBuffer:_0x47dab3}=ce(),_0x41ccf5=0x1e*0x3e8,_0x374cd5=Symbol(_0x10fa45(0x278)),_0x34b3a7=[0x8,0xd],_0x478cf5=[_0x10fa45(0x248),_0x10fa45(0x246),_0x10fa45(0x2de),_0x10fa45(0x2c9)],_0x46ee90=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4dbf60 extends _0x2ada53{constructor(_0x4caf26,_0x13f718,_0xc2c06){const _0x41f97f=_0x10fa45;super(),this[_0x41f97f(0x177)]=_0x470051[0x0],this['_closeCode']=0x3ee,this[_0x41f97f(0x1ad)]=!0x1,this[_0x41f97f(0x23a)]=!0x1,this['_closeMessage']=_0x4225bf,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x41f97f(0x19b)]={},this[_0x41f97f(0x2d0)]=!0x1,this[_0x41f97f(0x2f0)]='',this[_0x41f97f(0x24f)]=_0x4dbf60['CONNECTING'],this[_0x41f97f(0x231)]=null,this[_0x41f97f(0x294)]=null,this['_socket']=null,_0x4caf26!==null?(this[_0x41f97f(0x1d4)]=0x0,this[_0x41f97f(0x1ab)]=!0x1,this[_0x41f97f(0x184)]=0x0,_0x13f718===void 0x0?_0x13f718=[]:Array[_0x41f97f(0x27b)](_0x13f718)||(typeof _0x13f718=='object'&&_0x13f718!==null?(_0xc2c06=_0x13f718,_0x13f718=[]):_0x13f718=[_0x13f718]),_0xbe7d4d(this,_0x4caf26,_0x13f718,_0xc2c06)):(this[_0x41f97f(0x1d7)]=_0xc2c06['autoPong'],this['_isServer']=!0x0);}get[_0x10fa45(0x305)](){return this['_binaryType'];}set['binaryType'](_0x550abe){const _0x1f9b44=_0x10fa45;_0x470051[_0x1f9b44(0x30c)](_0x550abe)&&(this['_binaryType']=_0x550abe,this[_0x1f9b44(0x231)]&&(this[_0x1f9b44(0x231)][_0x1f9b44(0x177)]=_0x550abe));}get[_0x10fa45(0x282)](){const _0x5a5e79=_0x10fa45;return this[_0x5a5e79(0x22e)]?this[_0x5a5e79(0x22e)][_0x5a5e79(0x29e)][_0x5a5e79(0x22b)]+this[_0x5a5e79(0x294)][_0x5a5e79(0x287)]:this[_0x5a5e79(0x1d4)];}get[_0x10fa45(0x223)](){const _0xf1e30d=_0x10fa45;return Object['keys'](this[_0xf1e30d(0x19b)])[_0xf1e30d(0x239)]();}get[_0x10fa45(0x280)](){return this['_paused'];}get[_0x10fa45(0x21a)](){return null;}get[_0x10fa45(0x283)](){return null;}get[_0x10fa45(0x21f)](){return null;}get[_0x10fa45(0x2b1)](){return null;}get[_0x10fa45(0x28a)](){const _0x39b1c4=_0x10fa45;return this[_0x39b1c4(0x2f0)];}get['readyState'](){return this['_readyState'];}get[_0x10fa45(0x2e8)](){const _0x727e3c=_0x10fa45;return this[_0x727e3c(0x30f)];}[_0x10fa45(0x27c)](_0x312a3f,_0x5d0988,_0x2494d1){const _0x308eec=_0x10fa45,_0x438f84=new _0x1e9f88({'allowSynchronousEvents':_0x2494d1[_0x308eec(0x2e9)],'binaryType':this['binaryType'],'extensions':this[_0x308eec(0x19b)],'isServer':this['_isServer'],'maxPayload':_0x2494d1[_0x308eec(0x20a)],'skipUTF8Validation':_0x2494d1['skipUTF8Validation']}),_0x33477a=new _0x20a916(_0x312a3f,this['_extensions'],_0x2494d1[_0x308eec(0x310)]);this[_0x308eec(0x231)]=_0x438f84,this['_sender']=_0x33477a,this[_0x308eec(0x22e)]=_0x312a3f,_0x438f84[_0x2e4c40]=this,_0x33477a[_0x2e4c40]=this,_0x312a3f[_0x2e4c40]=this,_0x438f84['on'](_0x308eec(0x2ff),_0x112a14),_0x438f84['on'](_0x308eec(0x264),_0x485e8a),_0x438f84['on'](_0x308eec(0x303),_0x5829b8),_0x438f84['on'](_0x308eec(0x235),_0x35a8f2),_0x438f84['on'](_0x308eec(0x1af),_0x4c8f93),_0x438f84['on'](_0x308eec(0x1a0),_0x467421),_0x33477a[_0x308eec(0x283)]=_0x7681a0,_0x312a3f[_0x308eec(0x265)]&&_0x312a3f['setTimeout'](0x0),_0x312a3f[_0x308eec(0x23c)]&&_0x312a3f[_0x308eec(0x23c)](),_0x5d0988[_0x308eec(0x22b)]>0x0&&_0x312a3f[_0x308eec(0x30b)](_0x5d0988),_0x312a3f['on'](_0x308eec(0x247),_0x2bb410),_0x312a3f['on'](_0x308eec(0x1e8),_0x40beb0),_0x312a3f['on'](_0x308eec(0x1fe),_0x2797cf),_0x312a3f['on']('error',_0x82a448),this[_0x308eec(0x24f)]=_0x4dbf60[_0x308eec(0x246)],this[_0x308eec(0x22a)](_0x308eec(0x28b));}[_0x10fa45(0x199)](){const _0x6c9f1=_0x10fa45;if(!this[_0x6c9f1(0x22e)]){this[_0x6c9f1(0x24f)]=_0x4dbf60['CLOSED'],this[_0x6c9f1(0x22a)](_0x6c9f1(0x247),this['_closeCode'],this[_0x6c9f1(0x19f)]);return;}this['_extensions'][_0x3bc3e7['extensionName']]&&this['_extensions'][_0x3bc3e7[_0x6c9f1(0x1e9)]][_0x6c9f1(0x29d)](),this[_0x6c9f1(0x231)][_0x6c9f1(0x2d4)](),this[_0x6c9f1(0x24f)]=_0x4dbf60[_0x6c9f1(0x2c9)],this[_0x6c9f1(0x22a)](_0x6c9f1(0x247),this[_0x6c9f1(0x1d5)],this[_0x6c9f1(0x19f)]);}[_0x10fa45(0x247)](_0x5b47e5,_0x142d9b){const _0x2b9547=_0x10fa45;if(this['readyState']!==_0x4dbf60[_0x2b9547(0x2c9)]){if(this['readyState']===_0x4dbf60[_0x2b9547(0x248)]){_0x46476f(this,this[_0x2b9547(0x257)],_0x2b9547(0x289));return;}if(this[_0x2b9547(0x236)]===_0x4dbf60[_0x2b9547(0x2de)]){this[_0x2b9547(0x23a)]&&(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x2b9547(0x251)])&&this['_socket'][_0x2b9547(0x1fe)]();return;}this['_readyState']=_0x4dbf60[_0x2b9547(0x2de)],this[_0x2b9547(0x294)][_0x2b9547(0x247)](_0x5b47e5,_0x142d9b,!this[_0x2b9547(0x1ab)],_0x1aec2e=>{const _0x14147b=_0x2b9547;_0x1aec2e||(this[_0x14147b(0x23a)]=!0x0,(this[_0x14147b(0x1ad)]||this[_0x14147b(0x231)][_0x14147b(0x29e)]['errorEmitted'])&&this[_0x14147b(0x22e)][_0x14147b(0x1fe)]());}),_0x36e28c(this);}}[_0x10fa45(0x317)](){const _0x1113cc=_0x10fa45;this[_0x1113cc(0x236)]===_0x4dbf60['CONNECTING']||this[_0x1113cc(0x236)]===_0x4dbf60['CLOSED']||(this[_0x1113cc(0x2d0)]=!0x0,this[_0x1113cc(0x22e)][_0x1113cc(0x317)]());}['ping'](_0x24d94b,_0x493227,_0x5097d2){const _0x6554a2=_0x10fa45;if(this['readyState']===_0x4dbf60['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x24d94b==_0x6554a2(0x1b8)?(_0x5097d2=_0x24d94b,_0x24d94b=_0x493227=void 0x0):typeof _0x493227==_0x6554a2(0x1b8)&&(_0x5097d2=_0x493227,_0x493227=void 0x0),typeof _0x24d94b=='number'&&(_0x24d94b=_0x24d94b['toString']()),this[_0x6554a2(0x236)]!==_0x4dbf60[_0x6554a2(0x246)]){_0x561b4f(this,_0x24d94b,_0x5097d2);return;}_0x493227===void 0x0&&(_0x493227=!this[_0x6554a2(0x1ab)]),this[_0x6554a2(0x294)]['ping'](_0x24d94b||_0x4225bf,_0x493227,_0x5097d2);}[_0x10fa45(0x1a0)](_0x8eb732,_0x453086,_0x32ac8b){const _0x27dca3=_0x10fa45;if(this[_0x27dca3(0x236)]===_0x4dbf60['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x8eb732==_0x27dca3(0x1b8)?(_0x32ac8b=_0x8eb732,_0x8eb732=_0x453086=void 0x0):typeof _0x453086==_0x27dca3(0x1b8)&&(_0x32ac8b=_0x453086,_0x453086=void 0x0),typeof _0x8eb732==_0x27dca3(0x286)&&(_0x8eb732=_0x8eb732[_0x27dca3(0x18e)]()),this['readyState']!==_0x4dbf60['OPEN']){_0x561b4f(this,_0x8eb732,_0x32ac8b);return;}_0x453086===void 0x0&&(_0x453086=!this[_0x27dca3(0x1ab)]),this[_0x27dca3(0x294)][_0x27dca3(0x1a0)](_0x8eb732||_0x4225bf,_0x453086,_0x32ac8b);}['resume'](){const _0x1c7d86=_0x10fa45;this['readyState']===_0x4dbf60['CONNECTING']||this[_0x1c7d86(0x236)]===_0x4dbf60[_0x1c7d86(0x2c9)]||(this[_0x1c7d86(0x2d0)]=!0x1,this[_0x1c7d86(0x231)][_0x1c7d86(0x29e)][_0x1c7d86(0x261)]||this[_0x1c7d86(0x22e)]['resume']());}[_0x10fa45(0x267)](_0x555bb2,_0x2a944b,_0x22eb8d){const _0x5ad1f2=_0x10fa45;if(this['readyState']===_0x4dbf60[_0x5ad1f2(0x248)])throw new Error(_0x5ad1f2(0x2c4));if(typeof _0x2a944b==_0x5ad1f2(0x1b8)&&(_0x22eb8d=_0x2a944b,_0x2a944b={}),typeof _0x555bb2=='number'&&(_0x555bb2=_0x555bb2[_0x5ad1f2(0x18e)]()),this[_0x5ad1f2(0x236)]!==_0x4dbf60[_0x5ad1f2(0x246)]){_0x561b4f(this,_0x555bb2,_0x22eb8d);return;}const _0x50247b={'binary':typeof _0x555bb2!=_0x5ad1f2(0x1f8),'mask':!this[_0x5ad1f2(0x1ab)],'compress':!0x0,'fin':!0x0,..._0x2a944b};this[_0x5ad1f2(0x19b)][_0x3bc3e7[_0x5ad1f2(0x1e9)]]||(_0x50247b['compress']=!0x1),this[_0x5ad1f2(0x294)][_0x5ad1f2(0x267)](_0x555bb2||_0x4225bf,_0x50247b,_0x22eb8d);}['terminate'](){const _0x3b013b=_0x10fa45;if(this[_0x3b013b(0x236)]!==_0x4dbf60[_0x3b013b(0x2c9)]){if(this['readyState']===_0x4dbf60[_0x3b013b(0x248)]){_0x46476f(this,this[_0x3b013b(0x257)],_0x3b013b(0x289));return;}this[_0x3b013b(0x22e)]&&(this[_0x3b013b(0x24f)]=_0x4dbf60[_0x3b013b(0x2de)],this[_0x3b013b(0x22e)][_0x3b013b(0x281)]());}}}Object['defineProperty'](_0x4dbf60,_0x10fa45(0x248),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x248))}),Object['defineProperty'](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x248),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x248))}),Object[_0x10fa45(0x227)](_0x4dbf60,_0x10fa45(0x246),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x246))}),Object[_0x10fa45(0x227)](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x246),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x246))}),Object['defineProperty'](_0x4dbf60,'CLOSING',{'enumerable':!0x0,'value':_0x478cf5['indexOf']('CLOSING')}),Object[_0x10fa45(0x227)](_0x4dbf60[_0x10fa45(0x219)],_0x10fa45(0x2de),{'enumerable':!0x0,'value':_0x478cf5['indexOf'](_0x10fa45(0x2de))}),Object[_0x10fa45(0x227)](_0x4dbf60,_0x10fa45(0x2c9),{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x2c9))}),Object['defineProperty'](_0x4dbf60[_0x10fa45(0x219)],'CLOSED',{'enumerable':!0x0,'value':_0x478cf5[_0x10fa45(0x243)](_0x10fa45(0x2c9))}),['binaryType',_0x10fa45(0x282),'extensions',_0x10fa45(0x280),_0x10fa45(0x28a),_0x10fa45(0x236),_0x10fa45(0x2e8)][_0x10fa45(0x19c)](_0x513507=>{const _0xcd0129=_0x10fa45;Object[_0xcd0129(0x227)](_0x4dbf60[_0xcd0129(0x219)],_0x513507,{'enumerable':!0x0});}),[_0x10fa45(0x28b),_0x10fa45(0x303),'close','message'][_0x10fa45(0x19c)](_0x2a63ae=>{const _0x29604c=_0x10fa45;Object[_0x29604c(0x227)](_0x4dbf60[_0x29604c(0x219)],'on'+_0x2a63ae,{'enumerable':!0x0,'get'(){const _0x318cc5=_0x29604c;for(const _0x4f2e71 of this[_0x318cc5(0x2e1)](_0x2a63ae))if(_0x4f2e71[_0x1f5abc])return _0x4f2e71[_0x177fbf];return null;},'set'(_0x410efc){const _0x40de84=_0x29604c;for(const _0x1887b7 of this['listeners'](_0x2a63ae))if(_0x1887b7[_0x1f5abc]){this[_0x40de84(0x222)](_0x2a63ae,_0x1887b7);break;}typeof _0x410efc=='function'&&this['addEventListener'](_0x2a63ae,_0x410efc,{[_0x1f5abc]:!0x0});}});}),_0x4dbf60[_0x10fa45(0x219)][_0x10fa45(0x19a)]=_0x15d990,_0x4dbf60[_0x10fa45(0x219)]['removeEventListener']=_0x36b97d,we=_0x4dbf60;function _0xbe7d4d(_0x401337,_0x506b6d,_0xadfe9f,_0x3065d5){const _0x2ef8d1=_0x10fa45,_0x5bd427={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x34b3a7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3065d5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2ef8d1(0x213),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x401337[_0x2ef8d1(0x1d7)]=_0x5bd427[_0x2ef8d1(0x16f)],!_0x34b3a7[_0x2ef8d1(0x30c)](_0x5bd427[_0x2ef8d1(0x16e)]))throw new RangeError(_0x2ef8d1(0x2bc)+_0x5bd427[_0x2ef8d1(0x16e)]+'\x20(supported\x20versions:\x20'+_0x34b3a7[_0x2ef8d1(0x239)](',\x20')+')');let _0xfbaf6f;if(_0x506b6d instanceof _0x4dea04)_0xfbaf6f=_0x506b6d;else try{_0xfbaf6f=new _0x4dea04(_0x506b6d);}catch{throw new SyntaxError(_0x2ef8d1(0x228)+_0x506b6d);}_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x2b3)?_0xfbaf6f[_0x2ef8d1(0x28a)]=_0x2ef8d1(0x26f):_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x30d)&&(_0xfbaf6f['protocol']=_0x2ef8d1(0x275)),_0x401337[_0x2ef8d1(0x30f)]=_0xfbaf6f[_0x2ef8d1(0x25e)];const _0x1396ab=_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x275),_0x52c700=_0xfbaf6f[_0x2ef8d1(0x28a)]===_0x2ef8d1(0x29f);let _0x7bd662;if(_0xfbaf6f[_0x2ef8d1(0x28a)]!==_0x2ef8d1(0x26f)&&!_0x1396ab&&!_0x52c700?_0x7bd662=_0x2ef8d1(0x2ae):_0x52c700&&!_0xfbaf6f['pathname']?_0x7bd662=_0x2ef8d1(0x1ea):_0xfbaf6f[_0x2ef8d1(0x274)]&&(_0x7bd662=_0x2ef8d1(0x1f0)),_0x7bd662){const _0x498f1c=new SyntaxError(_0x7bd662);if(_0x401337[_0x2ef8d1(0x184)]===0x0)throw _0x498f1c;_0x457584(_0x401337,_0x498f1c);return;}const _0x6ec935=_0x1396ab?0x1bb:0x50,_0x32c28e=_0x5c45c9(0x10)['toString'](_0x2ef8d1(0x1e6)),_0x3a0bc3=_0x1396ab?_0x5b015c[_0x2ef8d1(0x221)]:_0x99ecb['request'],_0x21dcc8=new Set();let _0x261c8b;if(_0x5bd427['createConnection']=_0x5bd427[_0x2ef8d1(0x20e)]||(_0x1396ab?_0x31738e:_0x2eb849),_0x5bd427[_0x2ef8d1(0x1c3)]=_0x5bd427[_0x2ef8d1(0x1c3)]||_0x6ec935,_0x5bd427[_0x2ef8d1(0x314)]=_0xfbaf6f[_0x2ef8d1(0x314)]||_0x6ec935,_0x5bd427[_0x2ef8d1(0x324)]=_0xfbaf6f[_0x2ef8d1(0x2f9)][_0x2ef8d1(0x193)]('[')?_0xfbaf6f[_0x2ef8d1(0x2f9)][_0x2ef8d1(0x226)](0x1,-0x1):_0xfbaf6f[_0x2ef8d1(0x2f9)],_0x5bd427[_0x2ef8d1(0x290)]={..._0x5bd427[_0x2ef8d1(0x290)],'Sec-WebSocket-Version':_0x5bd427[_0x2ef8d1(0x16e)],'Sec-WebSocket-Key':_0x32c28e,'Connection':_0x2ef8d1(0x1f3),'Upgrade':'websocket'},_0x5bd427[_0x2ef8d1(0x327)]=_0xfbaf6f[_0x2ef8d1(0x192)]+_0xfbaf6f[_0x2ef8d1(0x232)],_0x5bd427[_0x2ef8d1(0x300)]=_0x5bd427[_0x2ef8d1(0x2a7)],_0x5bd427[_0x2ef8d1(0x2f4)]&&(_0x261c8b=new _0x3bc3e7(_0x5bd427[_0x2ef8d1(0x2f4)]!==!0x0?_0x5bd427[_0x2ef8d1(0x2f4)]:{},!0x1,_0x5bd427['maxPayload']),_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x2e0)]=_0x501ec7({[_0x3bc3e7[_0x2ef8d1(0x1e9)]]:_0x261c8b[_0x2ef8d1(0x182)]()})),_0xadfe9f['length']){for(const _0x1c738b of _0xadfe9f){if(typeof _0x1c738b!='string'||!_0x46ee90[_0x2ef8d1(0x1a9)](_0x1c738b)||_0x21dcc8[_0x2ef8d1(0x1bb)](_0x1c738b))throw new SyntaxError(_0x2ef8d1(0x1df));_0x21dcc8[_0x2ef8d1(0x172)](_0x1c738b);}_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x2dd)]=_0xadfe9f[_0x2ef8d1(0x239)](',');}if(_0x5bd427[_0x2ef8d1(0x1b2)]&&(_0x5bd427[_0x2ef8d1(0x16e)]<0xd?_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x1f9)]=_0x5bd427['origin']:_0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x24e)]=_0x5bd427['origin']),(_0xfbaf6f[_0x2ef8d1(0x309)]||_0xfbaf6f[_0x2ef8d1(0x189)])&&(_0x5bd427[_0x2ef8d1(0x2ac)]=_0xfbaf6f['username']+':'+_0xfbaf6f[_0x2ef8d1(0x189)]),_0x52c700){const _0x4d17df=_0x5bd427[_0x2ef8d1(0x327)][_0x2ef8d1(0x29b)](':');_0x5bd427[_0x2ef8d1(0x1c1)]=_0x4d17df[0x0],_0x5bd427['path']=_0x4d17df[0x1];}let _0x534fa3;if(_0x5bd427[_0x2ef8d1(0x2b4)]){if(_0x401337[_0x2ef8d1(0x184)]===0x0){_0x401337[_0x2ef8d1(0x2c3)]=_0x52c700,_0x401337[_0x2ef8d1(0x1cd)]=_0x1396ab,_0x401337[_0x2ef8d1(0x17a)]=_0x52c700?_0x5bd427[_0x2ef8d1(0x1c1)]:_0xfbaf6f[_0x2ef8d1(0x324)];const _0x146f92=_0x3065d5&&_0x3065d5[_0x2ef8d1(0x290)];if(_0x3065d5={..._0x3065d5,'headers':{}},_0x146f92){for(const [_0x193594,_0x43740e]of Object[_0x2ef8d1(0x2d2)](_0x146f92))_0x3065d5[_0x2ef8d1(0x290)][_0x193594[_0x2ef8d1(0x20d)]()]=_0x43740e;}}else{if(_0x401337['listenerCount'](_0x2ef8d1(0x2d1))===0x0){const _0x4a6ad0=_0x52c700?_0x401337[_0x2ef8d1(0x2c3)]?_0x5bd427[_0x2ef8d1(0x1c1)]===_0x401337[_0x2ef8d1(0x17a)]:!0x1:_0x401337[_0x2ef8d1(0x2c3)]?!0x1:_0xfbaf6f[_0x2ef8d1(0x324)]===_0x401337[_0x2ef8d1(0x17a)];(!_0x4a6ad0||_0x401337[_0x2ef8d1(0x1cd)]&&!_0x1396ab)&&(delete _0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)],delete _0x5bd427[_0x2ef8d1(0x290)][_0x2ef8d1(0x279)],_0x4a6ad0||delete _0x5bd427['headers'][_0x2ef8d1(0x324)],_0x5bd427[_0x2ef8d1(0x2ac)]=void 0x0);}}_0x5bd427[_0x2ef8d1(0x2ac)]&&!_0x3065d5[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)]&&(_0x3065d5[_0x2ef8d1(0x290)][_0x2ef8d1(0x25d)]=_0x2ef8d1(0x260)+Buffer['from'](_0x5bd427[_0x2ef8d1(0x2ac)])[_0x2ef8d1(0x18e)](_0x2ef8d1(0x1e6))),_0x534fa3=_0x401337[_0x2ef8d1(0x257)]=_0x3a0bc3(_0x5bd427),_0x401337[_0x2ef8d1(0x184)]&&_0x401337[_0x2ef8d1(0x22a)]('redirect',_0x401337['url'],_0x534fa3);}else _0x534fa3=_0x401337[_0x2ef8d1(0x257)]=_0x3a0bc3(_0x5bd427);_0x5bd427['timeout']&&_0x534fa3['on'](_0x2ef8d1(0x300),()=>{const _0x4b5e85=_0x2ef8d1;_0x46476f(_0x401337,_0x534fa3,_0x4b5e85(0x293));}),_0x534fa3['on']('error',_0x3ba865=>{const _0xa44a4a=_0x2ef8d1;_0x534fa3===null||_0x534fa3[_0x374cd5]||(_0x534fa3=_0x401337[_0xa44a4a(0x257)]=null,_0x457584(_0x401337,_0x3ba865));}),_0x534fa3['on'](_0x2ef8d1(0x316),_0x4122a0=>{const _0x27c1f5=_0x2ef8d1,_0x2f7a1f=_0x4122a0['headers']['location'],_0x45fd9d=_0x4122a0['statusCode'];if(_0x2f7a1f&&_0x5bd427[_0x27c1f5(0x2b4)]&&_0x45fd9d>=0x12c&&_0x45fd9d<0x190){if(++_0x401337['_redirects']>_0x5bd427[_0x27c1f5(0x31c)]){_0x46476f(_0x401337,_0x534fa3,_0x27c1f5(0x1b1));return;}_0x534fa3[_0x27c1f5(0x29a)]();let _0x5dda19;try{_0x5dda19=new _0x4dea04(_0x2f7a1f,_0x506b6d);}catch{const _0x214a3b=new SyntaxError(_0x27c1f5(0x228)+_0x2f7a1f);_0x457584(_0x401337,_0x214a3b);return;}_0xbe7d4d(_0x401337,_0x5dda19,_0xadfe9f,_0x3065d5);}else _0x401337['emit'](_0x27c1f5(0x2a9),_0x534fa3,_0x4122a0)||_0x46476f(_0x401337,_0x534fa3,_0x27c1f5(0x2ba)+_0x4122a0[_0x27c1f5(0x2a2)]);}),_0x534fa3['on'](_0x2ef8d1(0x27f),(_0x330182,_0x1ac516,_0x18287b)=>{const _0x50acde=_0x2ef8d1;if(_0x401337['emit']('upgrade',_0x330182),_0x401337[_0x50acde(0x236)]!==_0x4dbf60['CONNECTING'])return;_0x534fa3=_0x401337[_0x50acde(0x257)]=null;const _0x520362=_0x330182[_0x50acde(0x290)][_0x50acde(0x27f)];if(_0x520362===void 0x0||_0x520362[_0x50acde(0x20d)]()!==_0x50acde(0x22d)){_0x46476f(_0x401337,_0x1ac516,_0x50acde(0x2f5));return;}const _0x53cb8f=_0x574e61(_0x50acde(0x2ef))[_0x50acde(0x2b8)](_0x32c28e+_0x5c5457)[_0x50acde(0x207)](_0x50acde(0x1e6));if(_0x330182['headers'][_0x50acde(0x229)]!==_0x53cb8f){_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x4248cd=_0x330182[_0x50acde(0x290)]['sec-websocket-protocol'];let _0x57e254;if(_0x4248cd!==void 0x0?_0x21dcc8[_0x50acde(0x26a)]?_0x21dcc8[_0x50acde(0x1bb)](_0x4248cd)||(_0x57e254=_0x50acde(0x176)):_0x57e254=_0x50acde(0x2bf):_0x21dcc8[_0x50acde(0x26a)]&&(_0x57e254=_0x50acde(0x298)),_0x57e254){_0x46476f(_0x401337,_0x1ac516,_0x57e254);return;}_0x4248cd&&(_0x401337[_0x50acde(0x2f0)]=_0x4248cd);const _0x3e5da5=_0x330182[_0x50acde(0x290)][_0x50acde(0x1dc)];if(_0x3e5da5!==void 0x0){if(!_0x261c8b){_0x46476f(_0x401337,_0x1ac516,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x5dabb6;try{_0x5dabb6=_0x2bc0db(_0x3e5da5);}catch{_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xa10e7d=Object['keys'](_0x5dabb6);if(_0xa10e7d[_0x50acde(0x22b)]!==0x1||_0xa10e7d[0x0]!==_0x3bc3e7[_0x50acde(0x1e9)]){_0x46476f(_0x401337,_0x1ac516,_0x50acde(0x2a1));return;}try{_0x261c8b[_0x50acde(0x2ec)](_0x5dabb6[_0x3bc3e7[_0x50acde(0x1e9)]]);}catch{_0x46476f(_0x401337,_0x1ac516,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x401337[_0x50acde(0x19b)][_0x3bc3e7['extensionName']]=_0x261c8b;}_0x401337[_0x50acde(0x27c)](_0x1ac516,_0x18287b,{'allowSynchronousEvents':_0x5bd427[_0x50acde(0x2e9)],'generateMask':_0x5bd427[_0x50acde(0x310)],'maxPayload':_0x5bd427[_0x50acde(0x20a)],'skipUTF8Validation':_0x5bd427['skipUTF8Validation']});}),_0x5bd427[_0x2ef8d1(0x1b5)]?_0x5bd427['finishRequest'](_0x534fa3,_0x401337):_0x534fa3[_0x2ef8d1(0x1fe)]();}function _0x457584(_0x37ac00,_0x15b28d){const _0xe8720c=_0x10fa45;_0x37ac00['_readyState']=_0x4dbf60[_0xe8720c(0x2de)],_0x37ac00[_0xe8720c(0x2b7)]=!0x0,_0x37ac00['emit'](_0xe8720c(0x303),_0x15b28d),_0x37ac00[_0xe8720c(0x199)]();}function _0x2eb849(_0xc7f553){const _0x20a480=_0x10fa45;return _0xc7f553[_0x20a480(0x327)]=_0xc7f553[_0x20a480(0x1c1)],_0x384414['connect'](_0xc7f553);}function _0x31738e(_0x5416a4){const _0x29e51e=_0x10fa45;return _0x5416a4['path']=void 0x0,!_0x5416a4[_0x29e51e(0x2f3)]&&_0x5416a4[_0x29e51e(0x2f3)]!==''&&(_0x5416a4[_0x29e51e(0x2f3)]=_0x384414['isIP'](_0x5416a4['host'])?'':_0x5416a4[_0x29e51e(0x324)]),_0x2562d5[_0x29e51e(0x2a6)](_0x5416a4);}function _0x46476f(_0x16d538,_0x2a7d5f,_0x2792bc){const _0x49e823=_0x10fa45;_0x16d538['_readyState']=_0x4dbf60['CLOSING'];const _0x598e7a=new Error(_0x2792bc);Error[_0x49e823(0x297)](_0x598e7a,_0x46476f),_0x2a7d5f['setHeader']?(_0x2a7d5f[_0x374cd5]=!0x0,_0x2a7d5f[_0x49e823(0x29a)](),_0x2a7d5f['socket']&&!_0x2a7d5f['socket'][_0x49e823(0x31d)]&&_0x2a7d5f['socket'][_0x49e823(0x281)](),process[_0x49e823(0x1c6)](_0x457584,_0x16d538,_0x598e7a)):(_0x2a7d5f[_0x49e823(0x281)](_0x598e7a),_0x2a7d5f[_0x49e823(0x2af)](_0x49e823(0x303),_0x16d538[_0x49e823(0x22a)][_0x49e823(0x2db)](_0x16d538,'error')),_0x2a7d5f[_0x49e823(0x2af)](_0x49e823(0x247),_0x16d538[_0x49e823(0x199)][_0x49e823(0x2db)](_0x16d538)));}function _0x561b4f(_0xddaad2,_0x55a876,_0x59540a){const _0x3eb762=_0x10fa45;if(_0x55a876){const _0x33a42f=_0x2ea926(_0x55a876)?_0x55a876[_0x3eb762(0x26a)]:_0x47dab3(_0x55a876)[_0x3eb762(0x22b)];_0xddaad2[_0x3eb762(0x22e)]?_0xddaad2[_0x3eb762(0x294)][_0x3eb762(0x287)]+=_0x33a42f:_0xddaad2['_bufferedAmount']+=_0x33a42f;}if(_0x59540a){const _0x178a00=new Error(_0x3eb762(0x29c)+_0xddaad2[_0x3eb762(0x236)]+'\x20('+_0x478cf5[_0xddaad2[_0x3eb762(0x236)]]+')');process[_0x3eb762(0x1c6)](_0x59540a,_0x178a00);}}function _0x112a14(_0x2bc80b,_0x33c733){const _0x90ffc1=_0x10fa45,_0xb3963=this[_0x2e4c40];_0xb3963[_0x90ffc1(0x1ad)]=!0x0,_0xb3963['_closeMessage']=_0x33c733,_0xb3963[_0x90ffc1(0x1d5)]=_0x2bc80b,_0xb3963[_0x90ffc1(0x22e)][_0x2e4c40]!==void 0x0&&(_0xb3963[_0x90ffc1(0x22e)][_0x90ffc1(0x222)](_0x90ffc1(0x1e8),_0x40beb0),process[_0x90ffc1(0x1c6)](_0x526454,_0xb3963[_0x90ffc1(0x22e)]),_0x2bc80b===0x3ed?_0xb3963[_0x90ffc1(0x247)]():_0xb3963[_0x90ffc1(0x247)](_0x2bc80b,_0x33c733));}function _0x485e8a(){const _0x43622a=_0x10fa45,_0x356c78=this[_0x2e4c40];_0x356c78['isPaused']||_0x356c78[_0x43622a(0x22e)][_0x43622a(0x25f)]();}function _0x5829b8(_0x2d582b){const _0xb46ae1=_0x10fa45,_0x4da7f8=this[_0x2e4c40];_0x4da7f8[_0xb46ae1(0x22e)][_0x2e4c40]!==void 0x0&&(_0x4da7f8[_0xb46ae1(0x22e)][_0xb46ae1(0x222)](_0xb46ae1(0x1e8),_0x40beb0),process['nextTick'](_0x526454,_0x4da7f8[_0xb46ae1(0x22e)]),_0x4da7f8[_0xb46ae1(0x247)](_0x2d582b[_0xff85ba])),_0x4da7f8[_0xb46ae1(0x2b7)]||(_0x4da7f8[_0xb46ae1(0x2b7)]=!0x0,_0x4da7f8[_0xb46ae1(0x22a)](_0xb46ae1(0x303),_0x2d582b));}function _0x379555(){this[_0x2e4c40]['emitClose']();}function _0x35a8f2(_0x48ebfb,_0x24bd15){const _0xf117e8=_0x10fa45;this[_0x2e4c40][_0xf117e8(0x22a)]('message',_0x48ebfb,_0x24bd15);}function _0x4c8f93(_0xc9e281){const _0x1a542b=_0x10fa45,_0x2b474c=this[_0x2e4c40];_0x2b474c[_0x1a542b(0x1d7)]&&_0x2b474c['pong'](_0xc9e281,!this[_0x1a542b(0x1ab)],_0x358f6d),_0x2b474c[_0x1a542b(0x22a)](_0x1a542b(0x1af),_0xc9e281);}function _0x467421(_0x411cb8){const _0x108465=_0x10fa45;this[_0x2e4c40]['emit'](_0x108465(0x1a0),_0x411cb8);}function _0x526454(_0x5a9842){const _0x504bc3=_0x10fa45;_0x5a9842[_0x504bc3(0x25f)]();}function _0x7681a0(_0x357cc9){const _0x57c5d3=_0x10fa45,_0x10a1d3=this[_0x2e4c40];_0x10a1d3[_0x57c5d3(0x236)]!==_0x4dbf60[_0x57c5d3(0x2c9)]&&(_0x10a1d3[_0x57c5d3(0x236)]===_0x4dbf60[_0x57c5d3(0x246)]&&(_0x10a1d3[_0x57c5d3(0x24f)]=_0x4dbf60[_0x57c5d3(0x2de)],_0x36e28c(_0x10a1d3)),this[_0x57c5d3(0x22e)][_0x57c5d3(0x1fe)](),_0x10a1d3[_0x57c5d3(0x2b7)]||(_0x10a1d3[_0x57c5d3(0x2b7)]=!0x0,_0x10a1d3['emit']('error',_0x357cc9)));}function _0x36e28c(_0x595cfc){const _0x3a285a=_0x10fa45;_0x595cfc[_0x3a285a(0x1c4)]=setTimeout(_0x595cfc[_0x3a285a(0x22e)]['destroy'][_0x3a285a(0x2db)](_0x595cfc[_0x3a285a(0x22e)]),_0x41ccf5);}function _0x2bb410(){const _0x15946b=_0x10fa45,_0x54d757=this[_0x2e4c40];this[_0x15946b(0x222)](_0x15946b(0x247),_0x2bb410),this[_0x15946b(0x222)](_0x15946b(0x1e8),_0x40beb0),this[_0x15946b(0x222)](_0x15946b(0x1fe),_0x2797cf),_0x54d757[_0x15946b(0x24f)]=_0x4dbf60['CLOSING'];let _0xa103df;!this[_0x15946b(0x1ba)][_0x15946b(0x30a)]&&!_0x54d757[_0x15946b(0x1ad)]&&!_0x54d757[_0x15946b(0x231)]['_writableState'][_0x15946b(0x251)]&&(_0xa103df=_0x54d757[_0x15946b(0x22e)][_0x15946b(0x2cd)]())!==null&&_0x54d757[_0x15946b(0x231)][_0x15946b(0x292)](_0xa103df),_0x54d757[_0x15946b(0x231)][_0x15946b(0x1fe)](),this[_0x2e4c40]=void 0x0,clearTimeout(_0x54d757[_0x15946b(0x1c4)]),_0x54d757['_receiver'][_0x15946b(0x29e)][_0x15946b(0x194)]||_0x54d757['_receiver']['_writableState'][_0x15946b(0x251)]?_0x54d757[_0x15946b(0x199)]():(_0x54d757[_0x15946b(0x231)]['on'](_0x15946b(0x303),_0x379555),_0x54d757['_receiver']['on']('finish',_0x379555));}function _0x40beb0(_0x2fadc3){const _0x3c9b9f=_0x10fa45;this[_0x2e4c40]['_receiver'][_0x3c9b9f(0x292)](_0x2fadc3)||this[_0x3c9b9f(0x317)]();}function _0x2797cf(){const _0x50d320=_0x10fa45,_0x811e00=this[_0x2e4c40];_0x811e00['_readyState']=_0x4dbf60[_0x50d320(0x2de)],_0x811e00[_0x50d320(0x231)][_0x50d320(0x1fe)](),this[_0x50d320(0x1fe)]();}function _0x82a448(){const _0x33276b=_0x10fa45,_0x44804e=this[_0x2e4c40];this['removeListener'](_0x33276b(0x303),_0x82a448),this['on'](_0x33276b(0x303),_0x358f6d),_0x44804e&&(_0x44804e[_0x33276b(0x24f)]=_0x4dbf60[_0x33276b(0x2de)],this[_0x33276b(0x281)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x89f805}=_0x4d2870;function _0x472adb(_0x3794c4){const _0x17365c=_0x5161;_0x3794c4[_0x17365c(0x22a)](_0x17365c(0x247));}function _0xa5c889(){const _0x139e58=_0x5161;!this[_0x139e58(0x31d)]&&this[_0x139e58(0x29e)][_0x139e58(0x194)]&&this[_0x139e58(0x281)]();}function _0x4b41fd(_0xe7fe8d){const _0x505bbf=_0x5161;this[_0x505bbf(0x222)](_0x505bbf(0x303),_0x4b41fd),this[_0x505bbf(0x281)](),this['listenerCount'](_0x505bbf(0x303))===0x0&&this['emit'](_0x505bbf(0x303),_0xe7fe8d);}function _0x2ad6bd(_0x5ecce7,_0x3864c5){const _0x899128=_0x5161;let _0x2b007c=!0x0;const _0x1697ef=new _0x89f805({..._0x3864c5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ecce7['on'](_0x899128(0x235),function(_0xcae88e,_0x3d4904){const _0x223f95=_0x899128,_0xc80f87=!_0x3d4904&&_0x1697ef['_readableState'][_0x223f95(0x170)]?_0xcae88e['toString']():_0xcae88e;_0x1697ef['push'](_0xc80f87)||_0x5ecce7['pause']();}),_0x5ecce7[_0x899128(0x2af)](_0x899128(0x303),function(_0x3c80ba){_0x1697ef['destroyed']||(_0x2b007c=!0x1,_0x1697ef['destroy'](_0x3c80ba));}),_0x5ecce7[_0x899128(0x2af)](_0x899128(0x247),function(){const _0x31b899=_0x899128;_0x1697ef[_0x31b899(0x31d)]||_0x1697ef[_0x31b899(0x2df)](null);}),_0x1697ef[_0x899128(0x26b)]=function(_0x179df6,_0x29cbdf){const _0x2676da=_0x899128;if(_0x5ecce7[_0x2676da(0x236)]===_0x5ecce7['CLOSED']){_0x29cbdf(_0x179df6),process[_0x2676da(0x1c6)](_0x472adb,_0x1697ef);return;}let _0x548e23=!0x1;_0x5ecce7[_0x2676da(0x2af)]('error',function(_0x345384){_0x548e23=!0x0,_0x29cbdf(_0x345384);}),_0x5ecce7['once'](_0x2676da(0x247),function(){const _0xc2abe1=_0x2676da;_0x548e23||_0x29cbdf(_0x179df6),process[_0xc2abe1(0x1c6)](_0x472adb,_0x1697ef);}),_0x2b007c&&_0x5ecce7[_0x2676da(0x23f)]();},_0x1697ef[_0x899128(0x302)]=function(_0xfd6288){const _0xf5448a=_0x899128;if(_0x5ecce7[_0xf5448a(0x236)]===_0x5ecce7[_0xf5448a(0x248)]){_0x5ecce7[_0xf5448a(0x2af)]('open',function(){_0x1697ef['_final'](_0xfd6288);});return;}_0x5ecce7[_0xf5448a(0x22e)]!==null&&(_0x5ecce7[_0xf5448a(0x22e)][_0xf5448a(0x29e)]['finished']?(_0xfd6288(),_0x1697ef[_0xf5448a(0x1ba)][_0xf5448a(0x30a)]&&_0x1697ef[_0xf5448a(0x281)]()):(_0x5ecce7[_0xf5448a(0x22e)][_0xf5448a(0x2af)](_0xf5448a(0x308),function(){_0xfd6288();}),_0x5ecce7['close']()));},_0x1697ef['_read']=function(){const _0x4c278a=_0x899128;_0x5ecce7[_0x4c278a(0x280)]&&_0x5ecce7[_0x4c278a(0x25f)]();},_0x1697ef[_0x899128(0x326)]=function(_0x56443e,_0x39f06d,_0x40a8dd){const _0x15147a=_0x899128;if(_0x5ecce7[_0x15147a(0x236)]===_0x5ecce7[_0x15147a(0x248)]){_0x5ecce7[_0x15147a(0x2af)]('open',function(){const _0x5c17d8=_0x15147a;_0x1697ef[_0x5c17d8(0x326)](_0x56443e,_0x39f06d,_0x40a8dd);});return;}_0x5ecce7[_0x15147a(0x267)](_0x56443e,_0x40a8dd);},_0x1697ef['on']('end',_0xa5c889),_0x1697ef['on'](_0x899128(0x303),_0x4b41fd),_0x1697ef;}return Oe=_0x2ad6bd,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x77295a}=ne();function _0x3c8ae6(_0x2c1f4c){const _0x1ae0f6=_0x5161,_0x3d03e1=new Set();let _0x4d914f=-0x1,_0x7912b6=-0x1,_0x3442c8=0x0;for(_0x3442c8;_0x3442c8<_0x2c1f4c[_0x1ae0f6(0x22b)];_0x3442c8++){const _0x45f8f9=_0x2c1f4c[_0x1ae0f6(0x1fb)](_0x3442c8);if(_0x7912b6===-0x1&&_0x77295a[_0x45f8f9]===0x1)_0x4d914f===-0x1&&(_0x4d914f=_0x3442c8);else{if(_0x3442c8!==0x0&&(_0x45f8f9===0x20||_0x45f8f9===0x9))_0x7912b6===-0x1&&_0x4d914f!==-0x1&&(_0x7912b6=_0x3442c8);else{if(_0x45f8f9===0x2c){if(_0x4d914f===-0x1)throw new SyntaxError(_0x1ae0f6(0x270)+_0x3442c8);_0x7912b6===-0x1&&(_0x7912b6=_0x3442c8);const _0x4f929f=_0x2c1f4c[_0x1ae0f6(0x226)](_0x4d914f,_0x7912b6);if(_0x3d03e1[_0x1ae0f6(0x1bb)](_0x4f929f))throw new SyntaxError(_0x1ae0f6(0x2a5)+_0x4f929f+_0x1ae0f6(0x1cc));_0x3d03e1[_0x1ae0f6(0x172)](_0x4f929f),_0x4d914f=_0x7912b6=-0x1;}else throw new SyntaxError(_0x1ae0f6(0x270)+_0x3442c8);}}}if(_0x4d914f===-0x1||_0x7912b6!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x50d744=_0x2c1f4c[_0x1ae0f6(0x226)](_0x4d914f,_0x3442c8);if(_0x3d03e1[_0x1ae0f6(0x1bb)](_0x50d744))throw new SyntaxError('The\x20\x22'+_0x50d744+_0x1ae0f6(0x1cc));return _0x3d03e1[_0x1ae0f6(0x172)](_0x50d744),_0x3d03e1;}return Ce={'parse':_0x3c8ae6},Ce;}var Te,ot;function er(){const _0x3bdda5=_0x5c7db0;if(ot)return Te;ot=0x1;const _0x23b580=_0x460d20,_0x518a51=_0x123ba3,{Duplex:_0x3509f5}=_0x4d2870,{createHash:_0x21715e}=_0x5ac424,_0x140bff=pt(),_0x44766e=he(),_0x2546af=Jt(),_0x24ba8d=Ie(),{GUID:_0x162011,kWebSocket:_0x433684}=V(),_0x9d9032=/^[+/0-9A-Za-z]{22}==$/,_0x370168=0x0,_0x53a375=0x1,_0x242b34=0x2;class _0x1415e2 extends _0x23b580{constructor(_0x2f7870,_0xe6a460){const _0xff0a5a=_0x5161;if(super(),_0x2f7870={'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':_0x24ba8d,..._0x2f7870},_0x2f7870[_0xff0a5a(0x314)]==null&&!_0x2f7870['server']&&!_0x2f7870[_0xff0a5a(0x173)]||_0x2f7870[_0xff0a5a(0x314)]!=null&&(_0x2f7870[_0xff0a5a(0x198)]||_0x2f7870['noServer'])||_0x2f7870[_0xff0a5a(0x198)]&&_0x2f7870[_0xff0a5a(0x173)])throw new TypeError(_0xff0a5a(0x25b));if(_0x2f7870[_0xff0a5a(0x314)]!=null?(this[_0xff0a5a(0x212)]=_0x518a51[_0xff0a5a(0x32a)]((_0x5c36ab,_0x9403d8)=>{const _0x1923e8=_0xff0a5a,_0xddcf04=_0x518a51[_0x1923e8(0x2d6)][0x1aa];_0x9403d8[_0x1923e8(0x321)](0x1aa,{'Content-Length':_0xddcf04[_0x1923e8(0x22b)],'Content-Type':_0x1923e8(0x1b3)}),_0x9403d8[_0x1923e8(0x1fe)](_0xddcf04);}),this['_server'][_0xff0a5a(0x21d)](_0x2f7870[_0xff0a5a(0x314)],_0x2f7870['host'],_0x2f7870[_0xff0a5a(0x2c6)],_0xe6a460)):_0x2f7870[_0xff0a5a(0x198)]&&(this['_server']=_0x2f7870['server']),this[_0xff0a5a(0x212)]){const _0x1c2056=this[_0xff0a5a(0x22a)]['bind'](this,_0xff0a5a(0x322));this[_0xff0a5a(0x2a4)]=_0x56acbc(this[_0xff0a5a(0x212)],{'listening':this['emit'][_0xff0a5a(0x2db)](this,_0xff0a5a(0x1fc)),'error':this[_0xff0a5a(0x22a)]['bind'](this,_0xff0a5a(0x303)),'upgrade':(_0x19e497,_0x2195ca,_0x3c6048)=>{const _0x57bb03=_0xff0a5a;this[_0x57bb03(0x1b0)](_0x19e497,_0x2195ca,_0x3c6048,_0x1c2056);}});}_0x2f7870[_0xff0a5a(0x2f4)]===!0x0&&(_0x2f7870[_0xff0a5a(0x2f4)]={}),_0x2f7870[_0xff0a5a(0x276)]&&(this[_0xff0a5a(0x1db)]=new Set(),this[_0xff0a5a(0x319)]=!0x1),this['options']=_0x2f7870,this[_0xff0a5a(0x2ea)]=_0x370168;}[_0x3bdda5(0x215)](){const _0x166610=_0x3bdda5;if(this[_0x166610(0x2f6)][_0x166610(0x173)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x166610(0x212)]?this[_0x166610(0x212)][_0x166610(0x215)]():null;}[_0x3bdda5(0x247)](_0x51bc17){const _0x25bbe8=_0x3bdda5;if(this['_state']===_0x242b34){_0x51bc17&&this['once'](_0x25bbe8(0x247),()=>{const _0x55ed9a=_0x25bbe8;_0x51bc17(new Error(_0x55ed9a(0x28c)));}),process[_0x25bbe8(0x1c6)](_0x15967a,this);return;}if(_0x51bc17&&this[_0x25bbe8(0x2af)](_0x25bbe8(0x247),_0x51bc17),this[_0x25bbe8(0x2ea)]!==_0x53a375){if(this['_state']=_0x53a375,this[_0x25bbe8(0x2f6)]['noServer']||this[_0x25bbe8(0x2f6)][_0x25bbe8(0x198)])this[_0x25bbe8(0x212)]&&(this[_0x25bbe8(0x2a4)](),this[_0x25bbe8(0x2a4)]=this['_server']=null),this['clients']?this['clients'][_0x25bbe8(0x26a)]?this[_0x25bbe8(0x319)]=!0x0:process[_0x25bbe8(0x1c6)](_0x15967a,this):process[_0x25bbe8(0x1c6)](_0x15967a,this);else{const _0x420f46=this['_server'];this['_removeListeners'](),this[_0x25bbe8(0x2a4)]=this[_0x25bbe8(0x212)]=null,_0x420f46[_0x25bbe8(0x247)](()=>{_0x15967a(this);});}}}[_0x3bdda5(0x263)](_0x43c9b1){const _0x1ba5ef=_0x3bdda5;if(this[_0x1ba5ef(0x2f6)]['path']){const _0x1210f1=_0x43c9b1[_0x1ba5ef(0x2e8)][_0x1ba5ef(0x243)]('?');if((_0x1210f1!==-0x1?_0x43c9b1[_0x1ba5ef(0x2e8)][_0x1ba5ef(0x226)](0x0,_0x1210f1):_0x43c9b1[_0x1ba5ef(0x2e8)])!==this[_0x1ba5ef(0x2f6)][_0x1ba5ef(0x327)])return!0x1;}return!0x0;}[_0x3bdda5(0x1b0)](_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879){const _0x2df4cb=_0x3bdda5;_0xa7020d['on'](_0x2df4cb(0x303),_0x33b42e);const _0xf178fc=_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x1fa)],_0x523c4f=_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x27f)],_0x171cad=+_0x25a912[_0x2df4cb(0x290)][_0x2df4cb(0x2d9)];if(_0x25a912[_0x2df4cb(0x2cb)]!==_0x2df4cb(0x213)){_0x598a86(this,_0x25a912,_0xa7020d,0x195,_0x2df4cb(0x206));return;}if(_0x523c4f===void 0x0||_0x523c4f[_0x2df4cb(0x20d)]()!==_0x2df4cb(0x22d)){_0x598a86(this,_0x25a912,_0xa7020d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0xf178fc===void 0x0||!_0x9d9032['test'](_0xf178fc)){_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x1bf));return;}if(_0x171cad!==0xd&&_0x171cad!==0x8){_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x1ce),{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2df4cb(0x263)](_0x25a912)){_0x40255d(_0xa7020d,0x190);return;}const _0x4a606f=_0x25a912[_0x2df4cb(0x290)]['sec-websocket-protocol'];let _0x199869=new Set();if(_0x4a606f!==void 0x0)try{_0x199869=_0x2546af[_0x2df4cb(0x28d)](_0x4a606f);}catch{_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x2fb));return;}const _0x19d053=_0x25a912[_0x2df4cb(0x290)]['sec-websocket-extensions'],_0x13e104={};if(this[_0x2df4cb(0x2f6)]['perMessageDeflate']&&_0x19d053!==void 0x0){const _0x24d6a5=new _0x44766e(this[_0x2df4cb(0x2f6)][_0x2df4cb(0x2f4)],!0x0,this[_0x2df4cb(0x2f6)][_0x2df4cb(0x20a)]);try{const _0x43d7ec=_0x140bff[_0x2df4cb(0x28d)](_0x19d053);_0x43d7ec[_0x44766e['extensionName']]&&(_0x24d6a5[_0x2df4cb(0x2ec)](_0x43d7ec[_0x44766e['extensionName']]),_0x13e104[_0x44766e[_0x2df4cb(0x1e9)]]=_0x24d6a5);}catch{_0x598a86(this,_0x25a912,_0xa7020d,0x190,_0x2df4cb(0x21e));return;}}if(this[_0x2df4cb(0x2f6)][_0x2df4cb(0x1ed)]){const _0x155d7c={'origin':_0x25a912[_0x2df4cb(0x290)][''+(_0x171cad===0x8?_0x2df4cb(0x1e7):_0x2df4cb(0x1b2))],'secure':!!(_0x25a912[_0x2df4cb(0x2bb)][_0x2df4cb(0x214)]||_0x25a912[_0x2df4cb(0x2bb)][_0x2df4cb(0x2cf)]),'req':_0x25a912};if(this[_0x2df4cb(0x2f6)]['verifyClient']['length']===0x2){this['options']['verifyClient'](_0x155d7c,(_0x1ad664,_0x1d1972,_0x3c9ceb,_0x18bfdf)=>{const _0x38bd64=_0x2df4cb;if(!_0x1ad664)return _0x40255d(_0xa7020d,_0x1d1972||0x191,_0x3c9ceb,_0x18bfdf);this[_0x38bd64(0x25c)](_0x13e104,_0xf178fc,_0x199869,_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879);});return;}if(!this[_0x2df4cb(0x2f6)][_0x2df4cb(0x1ed)](_0x155d7c))return _0x40255d(_0xa7020d,0x191);}this[_0x2df4cb(0x25c)](_0x13e104,_0xf178fc,_0x199869,_0x25a912,_0xa7020d,_0x1ebc91,_0x5cd879);}[_0x3bdda5(0x25c)](_0x3bee98,_0x32241b,_0x55f17e,_0x473da3,_0x2fda8c,_0x37c4af,_0x1fba21){const _0x5317d3=_0x3bdda5;if(!_0x2fda8c[_0x5317d3(0x2d8)]||!_0x2fda8c['writable'])return _0x2fda8c[_0x5317d3(0x281)]();if(_0x2fda8c[_0x433684])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x5317d3(0x2ea)]>_0x370168)return _0x40255d(_0x2fda8c,0x1f7);const _0x37f68b=[_0x5317d3(0x23e),_0x5317d3(0x2b9),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x21715e(_0x5317d3(0x2ef))['update'](_0x32241b+_0x162011)['digest']('base64')],_0x477e98=new this['options'][(_0x5317d3(0x1b4))](null,void 0x0,this['options']);if(_0x55f17e['size']){const _0x3033ec=this['options'][_0x5317d3(0x2a3)]?this[_0x5317d3(0x2f6)][_0x5317d3(0x2a3)](_0x55f17e,_0x473da3):_0x55f17e[_0x5317d3(0x197)]()[_0x5317d3(0x2fe)]()[_0x5317d3(0x312)];_0x3033ec&&(_0x37f68b[_0x5317d3(0x2df)](_0x5317d3(0x1ae)+_0x3033ec),_0x477e98[_0x5317d3(0x2f0)]=_0x3033ec);}if(_0x3bee98[_0x44766e['extensionName']]){const _0x28909f=_0x3bee98[_0x44766e['extensionName']][_0x5317d3(0x1a5)],_0x120ecf=_0x140bff['format']({[_0x44766e[_0x5317d3(0x1e9)]]:[_0x28909f]});_0x37f68b[_0x5317d3(0x2df)](_0x5317d3(0x266)+_0x120ecf),_0x477e98[_0x5317d3(0x19b)]=_0x3bee98;}this[_0x5317d3(0x22a)](_0x5317d3(0x290),_0x37f68b,_0x473da3),_0x2fda8c[_0x5317d3(0x292)](_0x37f68b[_0x5317d3(0x210)]('\x0d\x0a')[_0x5317d3(0x239)]('\x0d\x0a')),_0x2fda8c['removeListener'](_0x5317d3(0x303),_0x33b42e),_0x477e98[_0x5317d3(0x27c)](_0x2fda8c,_0x37c4af,{'allowSynchronousEvents':this['options'][_0x5317d3(0x2e9)],'maxPayload':this[_0x5317d3(0x2f6)]['maxPayload'],'skipUTF8Validation':this[_0x5317d3(0x2f6)]['skipUTF8Validation']}),this['clients']&&(this['clients']['add'](_0x477e98),_0x477e98['on']('close',()=>{const _0x4de663=_0x5317d3;this[_0x4de663(0x1db)][_0x4de663(0x2b0)](_0x477e98),this[_0x4de663(0x319)]&&!this[_0x4de663(0x1db)]['size']&&process[_0x4de663(0x1c6)](_0x15967a,this);})),_0x1fba21(_0x477e98,_0x473da3);}}Te=_0x1415e2;function _0x56acbc(_0x3901c2,_0x5c81f9){const _0x341fba=_0x3bdda5;for(const _0x19a40e of Object[_0x341fba(0x1dd)](_0x5c81f9))_0x3901c2['on'](_0x19a40e,_0x5c81f9[_0x19a40e]);return function(){const _0x3f8eda=_0x341fba;for(const _0x424b41 of Object[_0x3f8eda(0x1dd)](_0x5c81f9))_0x3901c2[_0x3f8eda(0x222)](_0x424b41,_0x5c81f9[_0x424b41]);};}function _0x15967a(_0x200d12){const _0xbfa10d=_0x3bdda5;_0x200d12[_0xbfa10d(0x2ea)]=_0x242b34,_0x200d12['emit']('close');}function _0x33b42e(){this['destroy']();}function _0x40255d(_0x15fe02,_0xc3ea8c,_0x8b3dc9,_0x2e8465){const _0xe9db01=_0x3bdda5;_0x8b3dc9=_0x8b3dc9||_0x518a51[_0xe9db01(0x2d6)][_0xc3ea8c],_0x2e8465={'Connection':_0xe9db01(0x247),'Content-Type':_0xe9db01(0x259),'Content-Length':Buffer['byteLength'](_0x8b3dc9),..._0x2e8465},_0x15fe02[_0xe9db01(0x2af)](_0xe9db01(0x308),_0x15fe02[_0xe9db01(0x281)]),_0x15fe02[_0xe9db01(0x1fe)](_0xe9db01(0x186)+_0xc3ea8c+'\x20'+_0x518a51[_0xe9db01(0x2d6)][_0xc3ea8c]+'\x0d\x0a'+Object[_0xe9db01(0x1dd)](_0x2e8465)['map'](_0x5debcc=>_0x5debcc+':\x20'+_0x2e8465[_0x5debcc])[_0xe9db01(0x239)]('\x0d\x0a')+_0xe9db01(0x272)+_0x8b3dc9);}function _0x598a86(_0x398e4f,_0x2b3d4c,_0x2a75f6,_0x40797b,_0x5ca16c,_0x5e5a70){const _0x428b1a=_0x3bdda5;if(_0x398e4f[_0x428b1a(0x1a1)](_0x428b1a(0x23b))){const _0x363cbd=new Error(_0x5ca16c);Error['captureStackTrace'](_0x363cbd,_0x598a86),_0x398e4f['emit'](_0x428b1a(0x23b),_0x363cbd,_0x2a75f6,_0x2b3d4c);}else _0x40255d(_0x2a75f6,_0x40797b,_0x5ca16c,_0x5e5a70);}return Te;}er();var tr=Object[_0x5c7db0(0x31a)],rr=(_0x486ac2,_0x53a2f4,_0x330ff7,_0x1d3617)=>{const _0x4b0364=_0x5c7db0;for(var _0x3a1fa0=_0x1d3617>0x1?void 0x0:_0x1d3617?tr(_0x53a2f4,_0x330ff7):_0x53a2f4,_0xca866f=_0x486ac2[_0x4b0364(0x22b)]-0x1,_0x91665b;_0xca866f>=0x0;_0xca866f--)(_0x91665b=_0x486ac2[_0xca866f])&&(_0x3a1fa0=_0x91665b(_0x3a1fa0)||_0x3a1fa0);return _0x3a1fa0;},sr=(_0x4ad8ba,_0x577eb1)=>(_0x409097,_0x2350b9)=>_0x577eb1(_0x409097,_0x2350b9,_0x4ad8ba);let Ne=class extends _0x32c81a{constructor(_0x4af86b){const _0x5e2a99=_0x5c7db0;super(),this[_0x5e2a99(0x220)]=_0x4af86b;}[_0x5c7db0(0x2c7)](_0x4d3c83){const _0x4d66aa=_0x5c7db0;var _0x1388f9;const _0x18809c=(_0x1388f9=this[_0x4d66aa(0x220)][_0x4d66aa(0x24a)](Be))==null?void 0x0:_0x1388f9[_0x4d66aa(0x1aa)];try{const _0x5eecf1=new Qt(_0x4d3c83,{'headers':{..._0x18809c}}),_0x139bbf=new _0x5310f5();return{'URL':_0x4d3c83,'close':(_0x59c6af,_0x51132d)=>{const _0x3919c9=_0x4d66aa;_0x5eecf1['close'](_0x59c6af,_0x51132d),_0x139bbf[_0x3919c9(0x31e)]();},'send':_0x3e7f1a=>{const _0x2d97e8=_0x4d66aa;_0x5eecf1[_0x2d97e8(0x267)](_0x3e7f1a);},'open$':new _0x516bea(_0x145853=>{const _0x15a12b=_0x4d66aa,_0x5c6a83=_0x16aaf2=>_0x145853[_0x15a12b(0x2fe)](_0x16aaf2);_0x5eecf1[_0x15a12b(0x19a)](_0x15a12b(0x28b),_0x5c6a83),_0x139bbf['add'](_0x234781(()=>_0x5eecf1[_0x15a12b(0x2aa)](_0x15a12b(0x28b),_0x5c6a83)));})[_0x4d66aa(0x2e3)](_0x481e54()),'close$':new _0x516bea(_0x48a492=>{const _0x11f854=_0x4d66aa,_0x376bf9=_0x5bf166=>_0x48a492[_0x11f854(0x2fe)](_0x5bf166);_0x5eecf1['addEventListener'](_0x11f854(0x247),_0x376bf9),_0x139bbf[_0x11f854(0x172)](_0x234781(()=>_0x5eecf1[_0x11f854(0x2aa)](_0x11f854(0x247),_0x376bf9)));})[_0x4d66aa(0x2e3)](_0x481e54()),'error$':new _0x516bea(_0x3a9cc8=>{const _0x14f901=_0x4d66aa,_0x429a45=_0x55bb9b=>_0x3a9cc8[_0x14f901(0x2fe)](_0x55bb9b);_0x5eecf1['addEventListener']('error',_0x429a45),_0x139bbf[_0x14f901(0x172)](_0x234781(()=>_0x5eecf1[_0x14f901(0x2aa)](_0x14f901(0x303),_0x429a45)));})['pipe'](_0x481e54()),'message$':new _0x516bea(_0x21db61=>{const _0x360a12=_0x4d66aa,_0x3aeddc=_0x2ac687=>_0x21db61[_0x360a12(0x2fe)](_0x2ac687);_0x5eecf1['addEventListener'](_0x360a12(0x235),_0x3aeddc),_0x139bbf[_0x360a12(0x172)](_0x234781(()=>_0x5eecf1['removeEventListener'](_0x360a12(0x235),_0x3aeddc)));})[_0x4d66aa(0x2e3)](_0x481e54())};}catch(_0x43f190){return console[_0x4d66aa(0x303)](_0x43f190),null;}}};Ne=rr([sr(0x0,_0x4d6366)],Ne);var ir=Object[_0x5c7db0(0x227)],nr=Object[_0x5c7db0(0x31a)],or=(_0x337ffe,_0xdfd87c,_0x393763)=>_0xdfd87c in _0x337ffe?ir(_0x337ffe,_0xdfd87c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x393763}):_0x337ffe[_0xdfd87c]=_0x393763,ar=(_0xc259cf,_0x576144,_0x36b82d,_0x3d1455)=>{const _0x2d3e80=_0x5c7db0;for(var _0x21c6bb=_0x3d1455>0x1?void 0x0:_0x3d1455?nr(_0x576144,_0x36b82d):_0x576144,_0x52cb40=_0xc259cf[_0x2d3e80(0x22b)]-0x1,_0x3d8ef6;_0x52cb40>=0x0;_0x52cb40--)(_0x3d8ef6=_0xc259cf[_0x52cb40])&&(_0x21c6bb=_0x3d8ef6(_0x21c6bb)||_0x21c6bb);return _0x21c6bb;},ke=(_0x140ee3,_0x35c548)=>(_0x2b04af,_0x397a7c)=>_0x35c548(_0x2b04af,_0x397a7c,_0x140ee3),lr=(_0x2b40db,_0x29a780,_0x26cf7d)=>or(_0x2b40db,_0x29a780+'',_0x26cf7d);let Pe=class extends _0x1cc9e9{constructor(_0x284cc9=Ft,_0x4ae731,_0x183ac3,_0x17e336){const _0x57760b=_0x5c7db0;_0x284cc9[_0x57760b(0x1aa)]||_0x4ae731['warn'](_0x57760b(0x200)),super(),this[_0x57760b(0x220)]=_0x183ac3,this[_0x57760b(0x240)]=_0x17e336,this[_0x57760b(0x220)][_0x57760b(0x24b)](Be,_0x284cc9);}[_0x5c7db0(0x1bc)](){this['_registerDependencies']();}[_0x5c7db0(0x2e2)](){const _0x56c2af=_0x5c7db0;_0x3af243(this[_0x56c2af(0x240)],[[_0x470a21,{'useClass':Ne}]]);}};lr(Pe,_0x5c7db0(0x17e),_0x5c7db0(0x27a)),Pe=ar([_0x5819a7(_0x5d1851),ke(0x1,_0x31921c),ke(0x2,_0x4d6366),ke(0x3,_0x5a533e(_0x3337e3))],Pe);var fr=Object[_0x5c7db0(0x31a)],cr=(_0x599fb2,_0x162b55,_0x15b09d,_0x8cc09f)=>{const _0xe4fc15=_0x5c7db0;for(var _0x392f8f=_0x8cc09f>0x1?void 0x0:_0x8cc09f?fr(_0x162b55,_0x15b09d):_0x162b55,_0x31fc95=_0x599fb2[_0xe4fc15(0x22b)]-0x1,_0x59d995;_0x31fc95>=0x0;_0x31fc95--)(_0x59d995=_0x599fb2[_0x31fc95])&&(_0x392f8f=_0x59d995(_0x392f8f)||_0x392f8f);return _0x392f8f;},se=(_0x33c2d1,_0xb790d7)=>(_0xb7e84b,_0x2b0d85)=>_0xb790d7(_0xb7e84b,_0x2b0d85,_0x33c2d1);let at=class extends _0x4c2323{constructor(_0x3bac09,_0xf59096,_0x21713a,_0x362527,_0x4969ae){const _0x5e5046=_0x5c7db0;super(_0x3bac09,_0xf59096,_0x21713a,_0x362527,_0x4969ae);const _0x4b2c4f=this['_configService']['getConfig'](Be);this[_0x5e5046(0x2a0)][_0x5e5046(0x2ce)]({'interceptor':(_0xe71c80,_0x1a2789)=>{const _0x494e35=_0x5e5046;var _0x1b5835;const _0x18cfd8=_0xe71c80[_0x494e35(0x290)];return(_0x1b5835=_0x4b2c4f==null?void 0x0:_0x4b2c4f[_0x494e35(0x1aa)])!=null&&_0x1b5835[_0x494e35(0x279)]&&_0x18cfd8['set'](_0x494e35(0x2fd),_0x4b2c4f['customHeaders'][_0x494e35(0x279)]),_0x1a2789(_0xe71c80);}});}async[_0x5c7db0(0x2c7)](_0x4574e2){const _0x110dfc=_0x5c7db0;return this[_0x110dfc(0x1be)](_0x4574e2);}};at=cr([se(0x0,_0x5a533e(_0x3337e3)),se(0x1,_0x5a533e(_0x17396e)),se(0x2,_0x4d6366),se(0x3,_0x31921c),se(0x4,_0x8fa9ac)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|