@univerjs-pro/collaboration-client-node 0.10.10-experimental.20251010-3f807c5 → 0.10.10-experimental.20251016-33b0941

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x374957=_0x2f80;(function(_0x462509,_0x3d8245){const _0x42dac6=_0x2f80,_0x5614e6=_0x462509();while(!![]){try{const _0x3d282f=-parseInt(_0x42dac6(0x249))/0x1+-parseInt(_0x42dac6(0x2e9))/0x2+parseInt(_0x42dac6(0x37e))/0x3+parseInt(_0x42dac6(0x2a4))/0x4*(-parseInt(_0x42dac6(0x20f))/0x5)+-parseInt(_0x42dac6(0x276))/0x6*(parseInt(_0x42dac6(0x2ff))/0x7)+parseInt(_0x42dac6(0x31f))/0x8+parseInt(_0x42dac6(0x397))/0x9;if(_0x3d282f===_0x3d8245)break;else _0x5614e6['push'](_0x5614e6['shift']());}catch(_0x8ed020){_0x5614e6['push'](_0x5614e6['shift']());}}}(_0x41f4,0x3f687));import{UniverCollaborationClientPlugin as _0x94a5cf,CollaborationSocketService as _0x595e77}from'@univerjs-pro/collaboration-client';import{Disposable as _0x529da3,DisposableCollection as _0x14d140,toDisposable as _0x51f2a3,IConfigService as _0x1b1d96,DependentOn as _0x2ad880,ILogService as _0x21463b,Inject as _0x233579,Injector as _0x41e164,Plugin as _0x3d7a1f,registerDependencies as _0x474173}from'@univerjs/core';import{ISocketService as _0x315535,HTTPService as _0x5b756c}from'@univerjs/network';import{Observable as _0x33871b,share as _0x186291}from'rxjs';import _0x74a247 from'events';function _0x2f80(_0x1cc9d9,_0x5831e0){const _0x41f442=_0x41f4();return _0x2f80=function(_0x2f8057,_0x130dbd){_0x2f8057=_0x2f8057-0x1f4;let _0x42d578=_0x41f442[_0x2f8057];return _0x42d578;},_0x2f80(_0x1cc9d9,_0x5831e0);}import _0x586745 from'https';import _0x42d105 from'http';import _0x2457fe from'net';function _0x41f4(){const _0x4ce810=['socketPath','_removeListeners','base64','options','username','read','Server\x20sent\x20an\x20invalid\x20subprotocol','update','call','type','657552SRdQOq','get','_socket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_configService','invalid\x20payload\x20length\x20','wsClientError','Module','_closeMessage','concurrency','OPEN','Invalid\x20URL:\x20','_deflate','serverMaxWindowBits','Z_DEFAULT_WINDOWBITS','server_no_context_takeover','open','end','decompress','https:','then','construct','_skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_2_3','hasOwnProperty','resume','length','WebSocket','auth','removeAllListeners','HTTP/1.1\x20101\x20Switching\x20Protocols','_shouldEmitClose','frame','nextTick','handleEvent','kError','getInfo','removeListener','onerror','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_paused','_fin','handleUpgrade','protocolVersion','_req','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','perMessageDeflate','extensionName','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','defaultPort','nodebuffer','text/plain','unexpected-response','byteLength','map','hostname','concurrencyLimit','url','_maxPayload','unmask','WS_NO_UTF_8_VALIDATE','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_ERR_INVALID_OPCODE','drain','emit','sec-websocket-extensions','sha1','allocUnsafe','_fragments','number','kAborted','\x22\x20subprotocol\x20is\x20duplicated','_doCreateSocket','value','_closeCode','Blob','socket','forEach','pong','string','Invalid\x20Upgrade\x20header','WS_ERR_EXPECTED_FIN','removeEventListener','isServer','_write','_errored','address','startsWith','\x22\x20must\x20have\x20only\x20a\x20single\x20value','createConnection','Invalid\x20Sec-WebSocket-Accept\x20header','_errorEmitted','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','captureStackTrace','accept','1088496UJCAro','text/html','next','invalid\x20opcode\x200','objectMode','websocket','zlibInflateOptions','handshakeTimeout','_closeTimer','cork','_loop','pause','ping','port','Sec-WebSocket-Protocol','invalid\x20opcode\x20','delete','opcode','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_closeFrameSent','kWasClean','authorized','alloc','_totalPayloadLength','finished','2211507idnGdp','Parameter\x20\x22','acceptAsServer','\x0d\x0a\x0d\x0a','parse','Sec-WebSocket-Accept:\x20','_sender','readOnly','Sec-WebSocket-Origin','server','catch','completeUpgrade','terminate','_injector','_bufferedAmount','startLoop','Invalid\x20value\x20for\x20parameter\x20\x22','\x22:\x20','haveLength','wasClean','timeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','kCode','byteOffset','servername','_fragmented','controlMessage','binaryType','finish','_writableState','indexOf','_opcode','stream','clientMaxWindowBits','WS_NO_BUFFER_UTIL','_decompress','_originalSecure','readUInt32BE','Opening\x20handshake\x20has\x20timed\x20out','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','849835jmgJMX','Unsupported\x20protocol\x20version:\x20','_mask','WS_ERR_UNEXPECTED_RSV_1','freeze','Sec-WebSocket-Extensions:\x20','pow','once','_originalHostOrSocketPath','host','skipUTF8Validation','arraybuffer','flush','target','pipe','_originalIpc','onopen','writeHead','warn','getBlobData','has','password','The\x20\x22','sec-websocket-origin','create','charCodeAt','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','method','_messageLength','listeners','exports','createInflateRaw','getMask','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','default','sec-websocket-version','readUInt16BE','dequeue','location','species','kType','cookie','_extensions','_maskBuffer','WS_ERR_INVALID_UTF8','extensions','autoPong','search','Server\x20sent\x20no\x20subprotocol','WS_ERR_INVALID_CLOSE_CODE','client','_readableState','isArray','enqueue','getOwnPropertyDescriptor','href','consume','_bufferedBytes','106055ldzWXl','invalid\x20UTF-8\x20sequence','sendFrame','getConfig','kData','CONNECTING','entries','clientNoContextTakeover','buffer','createError','includes','_queue','Unknown\x20parameter\x20\x22','isBuffer','find','origin','_readyState','listen','_compressed','The\x20URL\x20contains\x20a\x20fragment\x20identifier','compress','arrayBuffer','endEmitted','defineProperty','protocol','setTimeout','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','request','abort','push','CLOSING','code','ws+unix:','listenerCount','followRedirects','pathname','WS_ERR_EXPECTED_MASK','bind','onStarting','_buffers','kRun','_isServer','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','mask','_binaryType','516zSikCW','_max_window_bits','addEventListener','_protocol','readable','headers','handleProtocols','Unexpected\x20character\x20at\x20index\x20','createSocket','CLOSED','Origin','onmessage','http:','shift','getPayloadLength64','_server','reason','data','offer','_no_context_takeover','invalid\x20status\x20code\x20','setHeader','sec-websocket-accept','_payloadLength','slice','Unexpected\x20end\x20of\x20input','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','digest','writeUInt16BE','RSV1\x20must\x20be\x20clear','clientTracking','pluginName','blob','error','serverNoContextTakeover','from','emitClose','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','join','_masked','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','params','close','isValidUTF8','backlog','client_max_window_bits','4vVrBMt','permessage-deflate','message','Unexpected\x20server\x20response:\x20','__esModule','client_no_context_takeover','concat','errorEmitted','shouldHandle','getPayloadLength16','_allowSynchronousEvents','Sec-WebSocket-Extensions','unshift','GET','_destroy','jobs','STATUS_CODES','readyState','dispatch','add','set','connect','destroyed','toStringTag','kDone','upgrade','kMessage','_receiver','generateMask','onclose','Max\x20payload\x20size\x20exceeded','clients','customHeaders','isView','dataMessage','maxPayload','object','redirect','destroy','Invalid\x20Sec-WebSocket-Extensions\x20header','total-length','createServer','_firstFragment','function','kByteLength','verifyClient','encrypted','Upgrade','finishRequest','acceptAsClient','_closeFrameReceived','env','_httpService','write','_threshold','size','writable','connection','WS_ERR_UNEXPECTED_MASK','server_max_window_bits','fin','_inflate','_options','MASK\x20must\x20be\x20clear','getData','wss:','_compress','Invalid\x20Sec-WebSocket-Protocol\x20header','HTTP/1.1\x20','307092OGCbjD','Invalid\x20WebSocket\x20frame:\x20','callback','threshold','maskBuffer','statusCode','13,\x208','cleanup','setNoDelay','response','conclude','bufferedAmount','keys','path','maxRedirects','Basic\x20','kListener','test','reset','The\x20server\x20is\x20not\x20running','toLowerCase','_redirects','119iFzDQP','isInteger','_generateMask','_state','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-key','allowSynchronousEvents','send','pending','File','Upgrade:\x20websocket','toString','setSocket','sec-websocket-protocol','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isPaused','noServer','replace','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','prototype','format','_url'];_0x41f4=function(){return _0x4ce810;};return _0x41f4();}import _0x5a29df from'tls';import _0x4d189e from'crypto';import _0x3d2ecc from'stream';import _0x5f2f41 from'url';import _0x31b263 from'zlib';import _0x2cfa2a from'buffer';import{ISnapshotServerService as _0x428826}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function Wt(_0x533cf9){const _0x36c681=_0x2f80;return _0x533cf9&&_0x533cf9[_0x36c681(0x2a8)]&&Object[_0x36c681(0x312)][_0x36c681(0x337)][_0x36c681(0x31d)](_0x533cf9,_0x36c681(0x231))?_0x533cf9[_0x36c681(0x231)]:_0x533cf9;}function ut(_0x1c6d5f){const _0x57695d=_0x2f80;if(Object[_0x57695d(0x312)][_0x57695d(0x337)][_0x57695d(0x31d)](_0x1c6d5f,'__esModule'))return _0x1c6d5f;var _0x5878ef=_0x1c6d5f[_0x57695d(0x231)];if(typeof _0x5878ef=='function'){var _0x4ed6f7=function _0x47ed38(){const _0x5e3252=_0x57695d;var _0x34d807=!0x1;try{_0x34d807=this instanceof _0x47ed38;}catch{}return _0x34d807?Reflect[_0x5e3252(0x334)](_0x5878ef,arguments,this['constructor']):_0x5878ef['apply'](this,arguments);};_0x4ed6f7[_0x57695d(0x312)]=_0x5878ef[_0x57695d(0x312)];}else _0x4ed6f7={};return Object[_0x57695d(0x260)](_0x4ed6f7,_0x57695d(0x2a8),{'value':!0x0}),Object['keys'](_0x1c6d5f)[_0x57695d(0x36c)](function(_0x6ca4e7){const _0x50808b=_0x57695d;var _0x333961=Object[_0x50808b(0x245)](_0x1c6d5f,_0x6ca4e7);Object[_0x50808b(0x260)](_0x4ed6f7,_0x6ca4e7,_0x333961[_0x50808b(0x320)]?_0x333961:{'enumerable':!0x0,'get':function(){return _0x1c6d5f[_0x6ca4e7];}});}),_0x4ed6f7;}var te={'exports':{}},ge,Ye;function V(){const _0x49412b=_0x2f80;if(Ye)return ge;Ye=0x1;const _0x538027=[_0x49412b(0x351),_0x49412b(0x21a),'fragments'],_0x36ef60=typeof Blob<'u';return _0x36ef60&&_0x538027[_0x49412b(0x266)](_0x49412b(0x296)),ge={'BINARY_TYPES':_0x538027,'EMPTY_BUFFER':Buffer[_0x49412b(0x394)](0x0),'GUID':_0x49412b(0x322),'hasBlob':_0x36ef60,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x49412b(0x2f9)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x49412b(0x383)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x374957(0x213)](Object[_0x374957(0x260)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':_0x374957(0x326)})),Vt=ut(Gt);var Ke;function ce(){const _0xfaae2=_0x374957;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x36117e}=V(),_0x52e280=Buffer[Symbol[_0xfaae2(0x236)]];function _0x266c8d(_0xc79dc7,_0x308b39){const _0xa5e5ee=_0xfaae2;if(_0xc79dc7['length']===0x0)return _0x36117e;if(_0xc79dc7[_0xa5e5ee(0x339)]===0x1)return _0xc79dc7[0x0];const _0x231f0d=Buffer[_0xa5e5ee(0x362)](_0x308b39);let _0x5f442d=0x0;for(let _0x39b102=0x0;_0x39b102<_0xc79dc7[_0xa5e5ee(0x339)];_0x39b102++){const _0x1ab624=_0xc79dc7[_0x39b102];_0x231f0d[_0xa5e5ee(0x2b8)](_0x1ab624,_0x5f442d),_0x5f442d+=_0x1ab624[_0xa5e5ee(0x339)];}return _0x5f442d<_0x308b39?new _0x52e280(_0x231f0d[_0xa5e5ee(0x251)],_0x231f0d[_0xa5e5ee(0x1fe)],_0x5f442d):_0x231f0d;}function _0x12a54d(_0x45edda,_0x8092e6,_0x4a1c9f,_0x5d2872,_0x2b8adb){for(let _0x68e015=0x0;_0x68e015<_0x2b8adb;_0x68e015++)_0x4a1c9f[_0x5d2872+_0x68e015]=_0x45edda[_0x68e015]^_0x8092e6[_0x68e015&0x3];}function _0x38d8d4(_0x1d030f,_0x1497e8){const _0x23197e=_0xfaae2;for(let _0x58ca09=0x0;_0x58ca09<_0x1d030f[_0x23197e(0x339)];_0x58ca09++)_0x1d030f[_0x58ca09]^=_0x1497e8[_0x58ca09&0x3];}function _0x4e312a(_0x17bfa0){const _0xac23db=_0xfaae2;return _0x17bfa0[_0xac23db(0x339)]===_0x17bfa0[_0xac23db(0x251)][_0xac23db(0x354)]?_0x17bfa0[_0xac23db(0x251)]:_0x17bfa0['buffer'][_0xac23db(0x28e)](_0x17bfa0[_0xac23db(0x1fe)],_0x17bfa0[_0xac23db(0x1fe)]+_0x17bfa0[_0xac23db(0x339)]);}function _0x277934(_0xbc9490){const _0x9aa548=_0xfaae2;if(_0x277934[_0x9aa548(0x39e)]=!0x0,Buffer[_0x9aa548(0x256)](_0xbc9490))return _0xbc9490;let _0x47f947;return _0xbc9490 instanceof ArrayBuffer?_0x47f947=new _0x52e280(_0xbc9490):ArrayBuffer[_0x9aa548(0x2c5)](_0xbc9490)?_0x47f947=new _0x52e280(_0xbc9490[_0x9aa548(0x251)],_0xbc9490[_0x9aa548(0x1fe)],_0xbc9490['byteLength']):(_0x47f947=Buffer[_0x9aa548(0x299)](_0xbc9490),_0x277934[_0x9aa548(0x39e)]=!0x1),_0x47f947;}if(te[_0xfaae2(0x22d)]={'concat':_0x266c8d,'mask':_0x12a54d,'toArrayBuffer':_0x4e312a,'toBuffer':_0x277934,'unmask':_0x38d8d4},!process[_0xfaae2(0x2d7)][_0xfaae2(0x209)])try{const _0xe90bea=Vt;te[_0xfaae2(0x22d)]['mask']=function(_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd){const _0x13d5a7=_0xfaae2;_0x2f33cd<0x30?_0x12a54d(_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd):_0xe90bea[_0x13d5a7(0x274)](_0xa2c5c1,_0x202412,_0x526d6b,_0x52c331,_0x2f33cd);},te[_0xfaae2(0x22d)]['unmask']=function(_0x36758c,_0x31a1dc){const _0xa295a5=_0xfaae2;_0x36758c['length']<0x20?_0x38d8d4(_0x36758c,_0x31a1dc):_0xe90bea[_0xa295a5(0x35a)](_0x36758c,_0x31a1dc);};}catch{}return te[_0xfaae2(0x22d)];}var ye,Xe;function qt(){const _0x4b4fcb=_0x374957;if(Xe)return ye;Xe=0x1;const _0x17e63c=Symbol(_0x4b4fcb(0x2bc)),_0x840d89=Symbol(_0x4b4fcb(0x271));class _0x501778{constructor(_0x3ee7c7){const _0x528054=_0x4b4fcb;this[_0x17e63c]=()=>{const _0x35b0ce=_0x2f80;this[_0x35b0ce(0x307)]--,this[_0x840d89]();},this[_0x528054(0x328)]=_0x3ee7c7||0x1/0x0,this[_0x528054(0x2b3)]=[],this[_0x528054(0x307)]=0x0;}['add'](_0x16e299){const _0x2f864f=_0x4b4fcb;this[_0x2f864f(0x2b3)][_0x2f864f(0x266)](_0x16e299),this[_0x840d89]();}[_0x840d89](){const _0x1b5bb3=_0x4b4fcb;if(this[_0x1b5bb3(0x307)]!==this[_0x1b5bb3(0x328)]&&this[_0x1b5bb3(0x2b3)][_0x1b5bb3(0x339)]){const _0x27db42=this[_0x1b5bb3(0x2b3)][_0x1b5bb3(0x283)]();this[_0x1b5bb3(0x307)]++,_0x27db42(this[_0x17e63c]);}}}return ye=_0x501778,ye;}var ve,Ze;function he(){const _0x322e01=_0x374957;if(Ze)return ve;Ze=0x1;const _0x4f8aa6=_0x31b263,_0x22f317=ce(),_0x52681b=qt(),{kStatusCode:_0xa4a28f}=V(),_0x5e2ac1=Buffer[Symbol[_0x322e01(0x236)]],_0x559d8b=Buffer[_0x322e01(0x299)]([0x0,0x0,0xff,0xff]),_0x3c66c7=Symbol(_0x322e01(0x2a5)),_0x1fa3fe=Symbol(_0x322e01(0x2cc)),_0x2d16ed=Symbol(_0x322e01(0x2eb)),_0x5375b8=Symbol('buffers'),_0x4b3032=Symbol('error');let _0xc1d14a;class _0x551e72{constructor(_0x5bf3f9,_0x319a83,_0x36fac5){const _0x260926=_0x322e01;if(this[_0x260926(0x359)]=_0x36fac5|0x0,this[_0x260926(0x2e2)]=_0x5bf3f9||{},this[_0x260926(0x2da)]=this['_options'][_0x260926(0x2ec)]!==void 0x0?this[_0x260926(0x2e2)][_0x260926(0x2ec)]:0x400,this[_0x260926(0x272)]=!!_0x319a83,this[_0x260926(0x32b)]=null,this['_inflate']=null,this[_0x260926(0x29f)]=null,!_0xc1d14a){const _0x212a3c=this[_0x260926(0x2e2)][_0x260926(0x357)]!==void 0x0?this[_0x260926(0x2e2)]['concurrencyLimit']:0xa;_0xc1d14a=new _0x52681b(_0x212a3c);}}static get[_0x322e01(0x34e)](){const _0x52830e=_0x322e01;return _0x52830e(0x2a5);}[_0x322e01(0x288)](){const _0x1c860c=_0x322e01,_0x3d240b={};return this[_0x1c860c(0x2e2)]['serverNoContextTakeover']&&(_0x3d240b[_0x1c860c(0x32e)]=!0x0),this[_0x1c860c(0x2e2)][_0x1c860c(0x250)]&&(_0x3d240b[_0x1c860c(0x2a9)]=!0x0),this[_0x1c860c(0x2e2)][_0x1c860c(0x32c)]&&(_0x3d240b[_0x1c860c(0x2df)]=this[_0x1c860c(0x2e2)][_0x1c860c(0x32c)]),this[_0x1c860c(0x2e2)][_0x1c860c(0x208)]?_0x3d240b['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x1c860c(0x2e2)][_0x1c860c(0x208)]==null&&(_0x3d240b['client_max_window_bits']=!0x0),_0x3d240b;}[_0x322e01(0x37d)](_0x1de88e){const _0x54d082=_0x322e01;return _0x1de88e=this['normalizeParams'](_0x1de88e),this[_0x54d082(0x29f)]=this[_0x54d082(0x272)]?this[_0x54d082(0x399)](_0x1de88e):this[_0x54d082(0x2d5)](_0x1de88e),this[_0x54d082(0x29f)];}[_0x322e01(0x2f0)](){const _0x5aa9eb=_0x322e01;if(this[_0x5aa9eb(0x2e1)]&&(this['_inflate'][_0x5aa9eb(0x2a0)](),this[_0x5aa9eb(0x2e1)]=null),this[_0x5aa9eb(0x32b)]){const _0x205022=this[_0x5aa9eb(0x32b)][_0x2d16ed];this[_0x5aa9eb(0x32b)][_0x5aa9eb(0x2a0)](),this['_deflate']=null,_0x205022&&_0x205022(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x322e01(0x399)](_0x3c70c0){const _0x4dd72b=_0x322e01,_0x14738b=this[_0x4dd72b(0x2e2)],_0x5726c6=_0x3c70c0[_0x4dd72b(0x257)](_0x4a2fd7=>!(_0x14738b[_0x4dd72b(0x298)]===!0x1&&_0x4a2fd7[_0x4dd72b(0x32e)]||_0x4a2fd7['server_max_window_bits']&&(_0x14738b[_0x4dd72b(0x32c)]===!0x1||typeof _0x14738b[_0x4dd72b(0x32c)]==_0x4dd72b(0x364)&&_0x14738b[_0x4dd72b(0x32c)]>_0x4a2fd7[_0x4dd72b(0x2df)])||typeof _0x14738b['clientMaxWindowBits']=='number'&&!_0x4a2fd7['client_max_window_bits']));if(!_0x5726c6)throw new Error(_0x4dd72b(0x34c));return _0x14738b[_0x4dd72b(0x298)]&&(_0x5726c6[_0x4dd72b(0x32e)]=!0x0),_0x14738b[_0x4dd72b(0x250)]&&(_0x5726c6[_0x4dd72b(0x2a9)]=!0x0),typeof _0x14738b['serverMaxWindowBits']=='number'&&(_0x5726c6[_0x4dd72b(0x2df)]=_0x14738b['serverMaxWindowBits']),typeof _0x14738b[_0x4dd72b(0x208)]=='number'?_0x5726c6['client_max_window_bits']=_0x14738b['clientMaxWindowBits']:(_0x5726c6[_0x4dd72b(0x2a3)]===!0x0||_0x14738b['clientMaxWindowBits']===!0x1)&&delete _0x5726c6[_0x4dd72b(0x2a3)],_0x5726c6;}[_0x322e01(0x2d5)](_0x42fa23){const _0x2aaae4=_0x322e01,_0x5318ea=_0x42fa23[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x5318ea[_0x2aaae4(0x2a9)])throw new Error(_0x2aaae4(0x229));if(!_0x5318ea[_0x2aaae4(0x2a3)])typeof this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)]==_0x2aaae4(0x364)&&(_0x5318ea[_0x2aaae4(0x2a3)]=this['_options'][_0x2aaae4(0x208)]);else{if(this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)]===!0x1||typeof this['_options'][_0x2aaae4(0x208)]==_0x2aaae4(0x364)&&_0x5318ea[_0x2aaae4(0x2a3)]>this[_0x2aaae4(0x2e2)][_0x2aaae4(0x208)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x5318ea;}['normalizeParams'](_0x51f283){const _0x5163cf=_0x322e01;return _0x51f283[_0x5163cf(0x36c)](_0x59c776=>{const _0x57c1ea=_0x5163cf;Object[_0x57c1ea(0x2f5)](_0x59c776)[_0x57c1ea(0x36c)](_0x33969f=>{const _0x36564d=_0x57c1ea;let _0x59654d=_0x59c776[_0x33969f];if(_0x59654d['length']>0x1)throw new Error(_0x36564d(0x398)+_0x33969f+_0x36564d(0x377));if(_0x59654d=_0x59654d[0x0],_0x33969f===_0x36564d(0x2a3)){if(_0x59654d!==!0x0){const _0x3da8a6=+_0x59654d;if(!Number['isInteger'](_0x3da8a6)||_0x3da8a6<0x8||_0x3da8a6>0xf)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+_0x36564d(0x1f8)+_0x59654d);_0x59654d=_0x3da8a6;}else{if(!this[_0x36564d(0x272)])throw new TypeError(_0x36564d(0x1f7)+_0x33969f+'\x22:\x20'+_0x59654d);}}else{if(_0x33969f===_0x36564d(0x2df)){const _0x14565e=+_0x59654d;if(!Number[_0x36564d(0x300)](_0x14565e)||_0x14565e<0x8||_0x14565e>0xf)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+'\x22:\x20'+_0x59654d);_0x59654d=_0x14565e;}else{if(_0x33969f===_0x36564d(0x2a9)||_0x33969f==='server_no_context_takeover'){if(_0x59654d!==!0x0)throw new TypeError(_0x36564d(0x1f7)+_0x33969f+_0x36564d(0x1f8)+_0x59654d);}else throw new Error(_0x36564d(0x255)+_0x33969f+'\x22');}}_0x59c776[_0x33969f]=_0x59654d;});}),_0x51f283;}[_0x322e01(0x331)](_0x16a52b,_0xc9f1e7,_0x4b2658){const _0x56b409=_0x322e01;_0xc1d14a[_0x56b409(0x2b7)](_0x3f2952=>{this['_decompress'](_0x16a52b,_0xc9f1e7,(_0x12269a,_0x38789c)=>{_0x3f2952(),_0x4b2658(_0x12269a,_0x38789c);});});}[_0x322e01(0x25d)](_0x23020f,_0x2bd568,_0x264924){_0xc1d14a['add'](_0x2ec233=>{const _0x50e712=_0x2f80;this[_0x50e712(0x2e6)](_0x23020f,_0x2bd568,(_0x2c82fe,_0x687f93)=>{_0x2ec233(),_0x264924(_0x2c82fe,_0x687f93);});});}[_0x322e01(0x20a)](_0xbc31b7,_0x1f30ca,_0x2368d5){const _0x3ed2d7=_0x322e01,_0x193d9b=this[_0x3ed2d7(0x272)]?_0x3ed2d7(0x241):'server';if(!this[_0x3ed2d7(0x2e1)]){const _0x3099aa=_0x193d9b+_0x3ed2d7(0x277),_0x5bc1cf=typeof this[_0x3ed2d7(0x29f)][_0x3099aa]!='number'?_0x4f8aa6[_0x3ed2d7(0x32d)]:this[_0x3ed2d7(0x29f)][_0x3099aa];this[_0x3ed2d7(0x2e1)]=_0x4f8aa6[_0x3ed2d7(0x22e)]({...this['_options'][_0x3ed2d7(0x384)],'windowBits':_0x5bc1cf}),this[_0x3ed2d7(0x2e1)][_0x3c66c7]=this,this[_0x3ed2d7(0x2e1)][_0x1fa3fe]=0x0,this[_0x3ed2d7(0x2e1)][_0x5375b8]=[],this[_0x3ed2d7(0x2e1)]['on']('error',_0x2fa626),this['_inflate']['on'](_0x3ed2d7(0x287),_0x418ec9);}this[_0x3ed2d7(0x2e1)][_0x2d16ed]=_0x2368d5,this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x2d9)](_0xbc31b7),_0x1f30ca&&this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x2d9)](_0x559d8b),this[_0x3ed2d7(0x2e1)][_0x3ed2d7(0x21b)](()=>{const _0x1f1570=_0x3ed2d7,_0x44dc6a=this['_inflate'][_0x4b3032];if(_0x44dc6a){this['_inflate'][_0x1f1570(0x2a0)](),this['_inflate']=null,_0x2368d5(_0x44dc6a);return;}const _0x3e8eca=_0x22f317['concat'](this[_0x1f1570(0x2e1)][_0x5375b8],this[_0x1f1570(0x2e1)][_0x1fa3fe]);this[_0x1f1570(0x2e1)][_0x1f1570(0x242)]['endEmitted']?(this['_inflate'][_0x1f1570(0x2a0)](),this[_0x1f1570(0x2e1)]=null):(this[_0x1f1570(0x2e1)][_0x1fa3fe]=0x0,this[_0x1f1570(0x2e1)][_0x5375b8]=[],_0x1f30ca&&this['params'][_0x193d9b+_0x1f1570(0x289)]&&this['_inflate']['reset']()),_0x2368d5(null,_0x3e8eca);});}['_compress'](_0x31f6d9,_0x275642,_0x367714){const _0x3c6e2c=_0x322e01,_0x5022d8=this[_0x3c6e2c(0x272)]?_0x3c6e2c(0x3a0):'client';if(!this[_0x3c6e2c(0x32b)]){const _0x1fd601=_0x5022d8+_0x3c6e2c(0x277),_0x500acc=typeof this[_0x3c6e2c(0x29f)][_0x1fd601]!=_0x3c6e2c(0x364)?_0x4f8aa6[_0x3c6e2c(0x32d)]:this[_0x3c6e2c(0x29f)][_0x1fd601];this[_0x3c6e2c(0x32b)]=_0x4f8aa6['createDeflateRaw']({...this[_0x3c6e2c(0x2e2)]['zlibDeflateOptions'],'windowBits':_0x500acc}),this['_deflate'][_0x1fa3fe]=0x0,this[_0x3c6e2c(0x32b)][_0x5375b8]=[],this[_0x3c6e2c(0x32b)]['on'](_0x3c6e2c(0x287),_0x3a2946);}this[_0x3c6e2c(0x32b)][_0x2d16ed]=_0x367714,this['_deflate']['write'](_0x31f6d9),this[_0x3c6e2c(0x32b)]['flush'](_0x4f8aa6['Z_SYNC_FLUSH'],()=>{const _0x2ac96d=_0x3c6e2c;if(!this[_0x2ac96d(0x32b)])return;let _0x3327ab=_0x22f317[_0x2ac96d(0x2aa)](this['_deflate'][_0x5375b8],this[_0x2ac96d(0x32b)][_0x1fa3fe]);_0x275642&&(_0x3327ab=new _0x5e2ac1(_0x3327ab['buffer'],_0x3327ab[_0x2ac96d(0x1fe)],_0x3327ab['length']-0x4)),this[_0x2ac96d(0x32b)][_0x2d16ed]=null,this[_0x2ac96d(0x32b)][_0x1fa3fe]=0x0,this[_0x2ac96d(0x32b)][_0x5375b8]=[],_0x275642&&this[_0x2ac96d(0x29f)][_0x5022d8+'_no_context_takeover']&&this[_0x2ac96d(0x32b)][_0x2ac96d(0x2fb)](),_0x367714(null,_0x3327ab);});}}ve=_0x551e72;function _0x3a2946(_0x116597){const _0x1551b2=_0x322e01;this[_0x5375b8]['push'](_0x116597),this[_0x1fa3fe]+=_0x116597[_0x1551b2(0x339)];}function _0x418ec9(_0x24137e){const _0x5b0555=_0x322e01;if(this[_0x1fa3fe]+=_0x24137e[_0x5b0555(0x339)],this[_0x3c66c7][_0x5b0555(0x359)]<0x1||this[_0x1fa3fe]<=this[_0x3c66c7][_0x5b0555(0x359)]){this[_0x5375b8][_0x5b0555(0x266)](_0x24137e);return;}this[_0x4b3032]=new RangeError(_0x5b0555(0x2c2)),this[_0x4b3032][_0x5b0555(0x268)]=_0x5b0555(0x35c),this[_0x4b3032][_0xa4a28f]=0x3f1,this['removeListener'](_0x5b0555(0x287),_0x418ec9),this['reset']();}function _0x2fa626(_0x1034ab){if(this[_0x3c66c7]['_inflate']=null,this[_0x4b3032]){this[_0x2d16ed](this[_0x4b3032]);return;}_0x1034ab[_0xa4a28f]=0x3ef,this[_0x2d16ed](_0x1034ab);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x374957(0x2bb)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x311948=_0x374957;if(Qe)return re[_0x311948(0x22d)];Qe=0x1;const {isUtf8:_0x1da320}=_0x2cfa2a,{hasBlob:_0x31d723}=V(),_0x449c99=[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 _0x423914(_0x40494b){return _0x40494b>=0x3e8&&_0x40494b<=0x3f6&&_0x40494b!==0x3ec&&_0x40494b!==0x3ed&&_0x40494b!==0x3ee||_0x40494b>=0xbb8&&_0x40494b<=0x1387;}function _0x6fc218(_0x2bb385){const _0x4a2173=_0x2bb385['length'];let _0x30fd5e=0x0;for(;_0x30fd5e<_0x4a2173;)if((_0x2bb385[_0x30fd5e]&0x80)===0x0)_0x30fd5e++;else{if((_0x2bb385[_0x30fd5e]&0xe0)===0xc0){if(_0x30fd5e+0x1===_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e]&0xfe)===0xc0)return!0x1;_0x30fd5e+=0x2;}else{if((_0x2bb385[_0x30fd5e]&0xf0)===0xe0){if(_0x30fd5e+0x2>=_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x2]&0xc0)!==0x80||_0x2bb385[_0x30fd5e]===0xe0&&(_0x2bb385[_0x30fd5e+0x1]&0xe0)===0x80||_0x2bb385[_0x30fd5e]===0xed&&(_0x2bb385[_0x30fd5e+0x1]&0xe0)===0xa0)return!0x1;_0x30fd5e+=0x3;}else{if((_0x2bb385[_0x30fd5e]&0xf8)===0xf0){if(_0x30fd5e+0x3>=_0x4a2173||(_0x2bb385[_0x30fd5e+0x1]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x2]&0xc0)!==0x80||(_0x2bb385[_0x30fd5e+0x3]&0xc0)!==0x80||_0x2bb385[_0x30fd5e]===0xf0&&(_0x2bb385[_0x30fd5e+0x1]&0xf0)===0x80||_0x2bb385[_0x30fd5e]===0xf4&&_0x2bb385[_0x30fd5e+0x1]>0x8f||_0x2bb385[_0x30fd5e]>0xf4)return!0x1;_0x30fd5e+=0x4;}else return!0x1;}}}return!0x0;}function _0x5579d0(_0x4a1568){const _0x8369b7=_0x311948;return _0x31d723&&typeof _0x4a1568=='object'&&typeof _0x4a1568[_0x8369b7(0x25e)]==_0x8369b7(0x2cf)&&typeof _0x4a1568[_0x8369b7(0x31e)]==_0x8369b7(0x36e)&&typeof _0x4a1568[_0x8369b7(0x207)]==_0x8369b7(0x2cf)&&(_0x4a1568[Symbol[_0x8369b7(0x2bb)]]===_0x8369b7(0x36a)||_0x4a1568[Symbol[_0x8369b7(0x2bb)]]===_0x8369b7(0x308));}if(re[_0x311948(0x22d)]={'isBlob':_0x5579d0,'isValidStatusCode':_0x423914,'isValidUTF8':_0x6fc218,'tokenChars':_0x449c99},_0x1da320)re[_0x311948(0x22d)][_0x311948(0x2a1)]=function(_0x5df2d5){const _0x3e8909=_0x311948;return _0x5df2d5[_0x3e8909(0x339)]<0x18?_0x6fc218(_0x5df2d5):_0x1da320(_0x5df2d5);};else{if(!process['env'][_0x311948(0x35b)])try{const _0x5afd67=Yt;re[_0x311948(0x22d)][_0x311948(0x2a1)]=function(_0x32650c){const _0xa908d=_0x311948;return _0x32650c[_0xa908d(0x339)]<0x20?_0x6fc218(_0x32650c):_0x5afd67(_0x32650c);};}catch{}}return re[_0x311948(0x22d)];}var Se,Je;function dt(){const _0x560e36=_0x374957;if(Je)return Se;Je=0x1;const {Writable:_0xac6d56}=_0x3d2ecc,_0x5d276d=he(),{BINARY_TYPES:_0x22c7da,EMPTY_BUFFER:_0x4e8f1b,kStatusCode:_0x38018f,kWebSocket:_0x445fc8}=V(),{concat:_0x3306ff,toArrayBuffer:_0x1d0b7b,unmask:_0x33ac9b}=ce(),{isValidStatusCode:_0x1f4791,isValidUTF8:_0x210b10}=ne(),_0x2c40d2=Buffer[Symbol['species']],_0x80f9e1=0x0,_0xf065ee=0x1,_0x5cc680=0x2,_0x14e9f4=0x3,_0x979456=0x4,_0x4babeb=0x5,_0x4b1816=0x6;class _0x161f81 extends _0xac6d56{constructor(_0x13a73a={}){const _0xcc621f=_0x2f80;super(),this[_0xcc621f(0x2ae)]=_0x13a73a[_0xcc621f(0x305)]!==void 0x0?_0x13a73a['allowSynchronousEvents']:!0x0,this[_0xcc621f(0x275)]=_0x13a73a['binaryType']||_0x22c7da[0x0],this[_0xcc621f(0x239)]=_0x13a73a[_0xcc621f(0x23c)]||{},this[_0xcc621f(0x272)]=!!_0x13a73a[_0xcc621f(0x372)],this[_0xcc621f(0x359)]=_0x13a73a[_0xcc621f(0x2c7)]|0x0,this[_0xcc621f(0x335)]=!!_0x13a73a[_0xcc621f(0x219)],this[_0x445fc8]=void 0x0,this[_0xcc621f(0x248)]=0x0,this[_0xcc621f(0x270)]=[],this[_0xcc621f(0x25b)]=!0x1,this[_0xcc621f(0x28d)]=0x0,this[_0xcc621f(0x211)]=void 0x0,this[_0xcc621f(0x200)]=0x0,this[_0xcc621f(0x29d)]=!0x1,this[_0xcc621f(0x348)]=!0x1,this[_0xcc621f(0x206)]=0x0,this[_0xcc621f(0x395)]=0x0,this[_0xcc621f(0x22b)]=0x0,this[_0xcc621f(0x363)]=[],this[_0xcc621f(0x374)]=!0x1,this[_0xcc621f(0x388)]=!0x1,this[_0xcc621f(0x302)]=_0x80f9e1;}['_write'](_0x3a5307,_0x436d4d,_0x4074c3){const _0x5251eb=_0x2f80;if(this[_0x5251eb(0x206)]===0x8&&this[_0x5251eb(0x302)]==_0x80f9e1)return _0x4074c3();this['_bufferedBytes']+=_0x3a5307['length'],this[_0x5251eb(0x270)][_0x5251eb(0x266)](_0x3a5307),this[_0x5251eb(0x1f6)](_0x4074c3);}[_0x560e36(0x247)](_0x2494a2){const _0x1651c1=_0x560e36;if(this[_0x1651c1(0x248)]-=_0x2494a2,_0x2494a2===this[_0x1651c1(0x270)][0x0]['length'])return this['_buffers'][_0x1651c1(0x283)]();if(_0x2494a2<this['_buffers'][0x0][_0x1651c1(0x339)]){const _0x841fdc=this['_buffers'][0x0];return this[_0x1651c1(0x270)][0x0]=new _0x2c40d2(_0x841fdc[_0x1651c1(0x251)],_0x841fdc[_0x1651c1(0x1fe)]+_0x2494a2,_0x841fdc['length']-_0x2494a2),new _0x2c40d2(_0x841fdc[_0x1651c1(0x251)],_0x841fdc['byteOffset'],_0x2494a2);}const _0x279d86=Buffer[_0x1651c1(0x362)](_0x2494a2);do{const _0x186d3a=this[_0x1651c1(0x270)][0x0],_0x3bc6d2=_0x279d86['length']-_0x2494a2;_0x2494a2>=_0x186d3a[_0x1651c1(0x339)]?_0x279d86['set'](this[_0x1651c1(0x270)][_0x1651c1(0x283)](),_0x3bc6d2):(_0x279d86[_0x1651c1(0x2b8)](new Uint8Array(_0x186d3a[_0x1651c1(0x251)],_0x186d3a['byteOffset'],_0x2494a2),_0x3bc6d2),this[_0x1651c1(0x270)][0x0]=new _0x2c40d2(_0x186d3a[_0x1651c1(0x251)],_0x186d3a[_0x1651c1(0x1fe)]+_0x2494a2,_0x186d3a['length']-_0x2494a2)),_0x2494a2-=_0x186d3a['length'];}while(_0x2494a2>0x0);return _0x279d86;}[_0x560e36(0x1f6)](_0x352de0){const _0x35606b=_0x560e36;this[_0x35606b(0x388)]=!0x0;do switch(this[_0x35606b(0x302)]){case _0x80f9e1:this[_0x35606b(0x343)](_0x352de0);break;case _0xf065ee:this[_0x35606b(0x2ad)](_0x352de0);break;case _0x5cc680:this[_0x35606b(0x284)](_0x352de0);break;case _0x14e9f4:this[_0x35606b(0x22f)]();break;case _0x979456:this['getData'](_0x352de0);break;case _0x4babeb:case _0x4b1816:this[_0x35606b(0x388)]=!0x1;return;}while(this[_0x35606b(0x388)]);this[_0x35606b(0x374)]||_0x352de0();}[_0x560e36(0x343)](_0x33872e){const _0x50e783=_0x560e36;if(this[_0x50e783(0x248)]<0x2){this[_0x50e783(0x388)]=!0x1;return;}const _0x5405ec=this['consume'](0x2);if((_0x5405ec[0x0]&0x30)!==0x0){const _0x2165bf=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x50e783(0x336));_0x33872e(_0x2165bf);return;}const _0x55a3fc=(_0x5405ec[0x0]&0x40)===0x40;if(_0x55a3fc&&!this[_0x50e783(0x239)][_0x5d276d[_0x50e783(0x34e)]]){const _0x2073f0=this[_0x50e783(0x252)](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x2073f0);return;}if(this[_0x50e783(0x348)]=(_0x5405ec[0x0]&0x80)===0x80,this[_0x50e783(0x206)]=_0x5405ec[0x0]&0xf,this[_0x50e783(0x28d)]=_0x5405ec[0x1]&0x7f,this[_0x50e783(0x206)]===0x0){if(_0x55a3fc){const _0x37d895=this['createError'](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x37d895);return;}if(!this[_0x50e783(0x200)]){const _0x248884=this['createError'](RangeError,_0x50e783(0x381),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x33872e(_0x248884);return;}this[_0x50e783(0x206)]=this[_0x50e783(0x200)];}else{if(this[_0x50e783(0x206)]===0x1||this['_opcode']===0x2){if(this[_0x50e783(0x200)]){const _0xeede8a=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x50e783(0x206)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x33872e(_0xeede8a);return;}this[_0x50e783(0x25b)]=_0x55a3fc;}else{if(this[_0x50e783(0x206)]>0x7&&this[_0x50e783(0x206)]<0xb){if(!this[_0x50e783(0x348)]){const _0x122597=this[_0x50e783(0x252)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x50e783(0x370));_0x33872e(_0x122597);return;}if(_0x55a3fc){const _0x21690f=this['createError'](RangeError,_0x50e783(0x293),!0x0,0x3ea,_0x50e783(0x212));_0x33872e(_0x21690f);return;}if(this[_0x50e783(0x28d)]>0x7d||this[_0x50e783(0x206)]===0x8&&this[_0x50e783(0x28d)]===0x1){const _0x36c778=this[_0x50e783(0x252)](RangeError,_0x50e783(0x324)+this[_0x50e783(0x28d)],!0x0,0x3ea,_0x50e783(0x311));_0x33872e(_0x36c778);return;}}else{const _0x346873=this['createError'](RangeError,_0x50e783(0x38d)+this[_0x50e783(0x206)],!0x0,0x3ea,_0x50e783(0x35d));_0x33872e(_0x346873);return;}}}if(!this[_0x50e783(0x348)]&&!this[_0x50e783(0x200)]&&(this[_0x50e783(0x200)]=this[_0x50e783(0x206)]),this[_0x50e783(0x29d)]=(_0x5405ec[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x50e783(0x29d)]){const _0x1fdb0d=this[_0x50e783(0x252)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x50e783(0x26d));_0x33872e(_0x1fdb0d);return;}}else{if(this[_0x50e783(0x29d)]){const _0x52c2de=this[_0x50e783(0x252)](RangeError,_0x50e783(0x2e3),!0x0,0x3ea,_0x50e783(0x2de));_0x33872e(_0x52c2de);return;}}this['_payloadLength']===0x7e?this['_state']=_0xf065ee:this[_0x50e783(0x28d)]===0x7f?this['_state']=_0x5cc680:this['haveLength'](_0x33872e);}[_0x560e36(0x2ad)](_0x2c914c){const _0x12f72d=_0x560e36;if(this[_0x12f72d(0x248)]<0x2){this[_0x12f72d(0x388)]=!0x1;return;}this['_payloadLength']=this[_0x12f72d(0x247)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x2c914c);}[_0x560e36(0x284)](_0x27852e){const _0x2de03a=_0x560e36;if(this[_0x2de03a(0x248)]<0x8){this[_0x2de03a(0x388)]=!0x1;return;}const _0x2c0aae=this[_0x2de03a(0x247)](0x8),_0x43d762=_0x2c0aae[_0x2de03a(0x20c)](0x0);if(_0x43d762>Math[_0x2de03a(0x215)](0x2,0x15)-0x1){const _0x589848=this[_0x2de03a(0x252)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x27852e(_0x589848);return;}this[_0x2de03a(0x28d)]=_0x43d762*Math[_0x2de03a(0x215)](0x2,0x20)+_0x2c0aae[_0x2de03a(0x20c)](0x4),this[_0x2de03a(0x1f9)](_0x27852e);}[_0x560e36(0x1f9)](_0x3a7003){const _0x279ff9=_0x560e36;if(this[_0x279ff9(0x28d)]&&this[_0x279ff9(0x206)]<0x8&&(this[_0x279ff9(0x395)]+=this[_0x279ff9(0x28d)],this[_0x279ff9(0x395)]>this['_maxPayload']&&this[_0x279ff9(0x359)]>0x0)){const _0x262c66=this['createError'](RangeError,_0x279ff9(0x2c2),!0x1,0x3f1,_0x279ff9(0x35c));_0x3a7003(_0x262c66);return;}this[_0x279ff9(0x29d)]?this['_state']=_0x14e9f4:this[_0x279ff9(0x302)]=_0x979456;}['getMask'](){const _0x177847=_0x560e36;if(this[_0x177847(0x248)]<0x4){this[_0x177847(0x388)]=!0x1;return;}this[_0x177847(0x211)]=this['consume'](0x4),this[_0x177847(0x302)]=_0x979456;}[_0x560e36(0x2e4)](_0x2c8a46){const _0x4edbd9=_0x560e36;let _0x7671c=_0x4e8f1b;if(this['_payloadLength']){if(this[_0x4edbd9(0x248)]<this['_payloadLength']){this[_0x4edbd9(0x388)]=!0x1;return;}_0x7671c=this['consume'](this[_0x4edbd9(0x28d)]),this['_masked']&&(this['_mask'][0x0]|this[_0x4edbd9(0x211)][0x1]|this[_0x4edbd9(0x211)][0x2]|this[_0x4edbd9(0x211)][0x3])!==0x0&&_0x33ac9b(_0x7671c,this[_0x4edbd9(0x211)]);}if(this['_opcode']>0x7){this[_0x4edbd9(0x201)](_0x7671c,_0x2c8a46);return;}if(this[_0x4edbd9(0x25b)]){this[_0x4edbd9(0x302)]=_0x4babeb,this[_0x4edbd9(0x331)](_0x7671c,_0x2c8a46);return;}_0x7671c[_0x4edbd9(0x339)]&&(this[_0x4edbd9(0x22b)]=this[_0x4edbd9(0x395)],this['_fragments'][_0x4edbd9(0x266)](_0x7671c)),this[_0x4edbd9(0x2c6)](_0x2c8a46);}['decompress'](_0x44a5ef,_0x55838f){const _0x2ef333=_0x560e36;this[_0x2ef333(0x239)][_0x5d276d[_0x2ef333(0x34e)]][_0x2ef333(0x331)](_0x44a5ef,this[_0x2ef333(0x348)],(_0x596ba7,_0x522770)=>{const _0x1bc614=_0x2ef333;if(_0x596ba7)return _0x55838f(_0x596ba7);if(_0x522770[_0x1bc614(0x339)]){if(this[_0x1bc614(0x22b)]+=_0x522770[_0x1bc614(0x339)],this[_0x1bc614(0x22b)]>this['_maxPayload']&&this[_0x1bc614(0x359)]>0x0){const _0x5c4607=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1bc614(0x35c));_0x55838f(_0x5c4607);return;}this[_0x1bc614(0x363)]['push'](_0x522770);}this[_0x1bc614(0x2c6)](_0x55838f),this[_0x1bc614(0x302)]===_0x80f9e1&&this[_0x1bc614(0x1f6)](_0x55838f);});}['dataMessage'](_0x2c84a3){const _0x45e2d3=_0x560e36;if(!this['_fin']){this[_0x45e2d3(0x302)]=_0x80f9e1;return;}const _0x53af53=this[_0x45e2d3(0x22b)],_0x4f16cf=this[_0x45e2d3(0x363)];if(this[_0x45e2d3(0x395)]=0x0,this[_0x45e2d3(0x22b)]=0x0,this[_0x45e2d3(0x200)]=0x0,this['_fragments']=[],this[_0x45e2d3(0x206)]===0x2){let _0x19c35b;this[_0x45e2d3(0x275)]===_0x45e2d3(0x351)?_0x19c35b=_0x3306ff(_0x4f16cf,_0x53af53):this[_0x45e2d3(0x275)]===_0x45e2d3(0x21a)?_0x19c35b=_0x1d0b7b(_0x3306ff(_0x4f16cf,_0x53af53)):this[_0x45e2d3(0x275)]===_0x45e2d3(0x296)?_0x19c35b=new Blob(_0x4f16cf):_0x19c35b=_0x4f16cf,this[_0x45e2d3(0x2ae)]?(this[_0x45e2d3(0x35f)](_0x45e2d3(0x2a6),_0x19c35b,!0x0),this[_0x45e2d3(0x302)]=_0x80f9e1):(this[_0x45e2d3(0x302)]=_0x4b1816,setImmediate(()=>{const _0x1b4cb7=_0x45e2d3;this['emit'](_0x1b4cb7(0x2a6),_0x19c35b,!0x0),this[_0x1b4cb7(0x302)]=_0x80f9e1,this['startLoop'](_0x2c84a3);}));}else{const _0x3daece=_0x3306ff(_0x4f16cf,_0x53af53);if(!this[_0x45e2d3(0x335)]&&!_0x210b10(_0x3daece)){const _0x7ee105=this[_0x45e2d3(0x252)](Error,_0x45e2d3(0x24a),!0x0,0x3ef,_0x45e2d3(0x23b));_0x2c84a3(_0x7ee105);return;}this[_0x45e2d3(0x302)]===_0x4babeb||this[_0x45e2d3(0x2ae)]?(this[_0x45e2d3(0x35f)]('message',_0x3daece,!0x1),this[_0x45e2d3(0x302)]=_0x80f9e1):(this['_state']=_0x4b1816,setImmediate(()=>{const _0x2a0e4a=_0x45e2d3;this[_0x2a0e4a(0x35f)]('message',_0x3daece,!0x1),this[_0x2a0e4a(0x302)]=_0x80f9e1,this[_0x2a0e4a(0x1f6)](_0x2c84a3);}));}}['controlMessage'](_0x1c5e13,_0x297094){const _0x3a7a7a=_0x560e36;if(this['_opcode']===0x8){if(_0x1c5e13['length']===0x0)this[_0x3a7a7a(0x388)]=!0x1,this[_0x3a7a7a(0x35f)](_0x3a7a7a(0x2f3),0x3ed,_0x4e8f1b),this[_0x3a7a7a(0x330)]();else{const _0x18a109=_0x1c5e13[_0x3a7a7a(0x233)](0x0);if(!_0x1f4791(_0x18a109)){const _0x1e1092=this[_0x3a7a7a(0x252)](RangeError,_0x3a7a7a(0x28a)+_0x18a109,!0x0,0x3ea,_0x3a7a7a(0x240));_0x297094(_0x1e1092);return;}const _0x1ae2c2=new _0x2c40d2(_0x1c5e13[_0x3a7a7a(0x251)],_0x1c5e13['byteOffset']+0x2,_0x1c5e13['length']-0x2);if(!this[_0x3a7a7a(0x335)]&&!_0x210b10(_0x1ae2c2)){const _0x5b3182=this[_0x3a7a7a(0x252)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3a7a7a(0x23b));_0x297094(_0x5b3182);return;}this[_0x3a7a7a(0x388)]=!0x1,this['emit']('conclude',_0x18a109,_0x1ae2c2),this[_0x3a7a7a(0x330)]();}this[_0x3a7a7a(0x302)]=_0x80f9e1;return;}this['_allowSynchronousEvents']?(this[_0x3a7a7a(0x35f)](this[_0x3a7a7a(0x206)]===0x9?_0x3a7a7a(0x38a):'pong',_0x1c5e13),this[_0x3a7a7a(0x302)]=_0x80f9e1):(this[_0x3a7a7a(0x302)]=_0x4b1816,setImmediate(()=>{const _0x2a4430=_0x3a7a7a;this[_0x2a4430(0x35f)](this['_opcode']===0x9?'ping':_0x2a4430(0x36d),_0x1c5e13),this[_0x2a4430(0x302)]=_0x80f9e1,this[_0x2a4430(0x1f6)](_0x297094);}));}[_0x560e36(0x252)](_0x5362b8,_0x169303,_0x11be59,_0x582c1c,_0x3a9c7f){const _0xbb4355=_0x560e36;this[_0xbb4355(0x388)]=!0x1,this[_0xbb4355(0x374)]=!0x0;const _0x197fae=new _0x5362b8(_0x11be59?_0xbb4355(0x2ea)+_0x169303:_0x169303);return Error[_0xbb4355(0x37c)](_0x197fae,this[_0xbb4355(0x252)]),_0x197fae[_0xbb4355(0x268)]=_0x3a9c7f,_0x197fae[_0x38018f]=_0x582c1c,_0x197fae;}}return Se=_0x161f81,Se;}var Ee,et;function _t(){const _0xdf2b74=_0x374957;if(et)return Ee;et=0x1;const {Duplex:_0x5d5e27}=_0x3d2ecc,{randomFillSync:_0x25ade2}=_0x4d189e,_0x3f8247=he(),{EMPTY_BUFFER:_0x59ea62,kWebSocket:_0x3098ee,NOOP:_0x24d866}=V(),{isBlob:_0x570fb1,isValidStatusCode:_0x513e77}=ne(),{mask:_0x4f6521,toBuffer:_0x398c35}=ce(),_0x70693f=Symbol(_0xdf2b74(0x2d0)),_0x52b22a=Buffer[_0xdf2b74(0x394)](0x4),_0x2c57c2=0x8*0x400;let _0x5693d3,_0x44e9c3=_0x2c57c2;const _0x253446=0x0,_0x498274=0x1,_0x58031c=0x2;class _0x80a036{constructor(_0x540e24,_0x5b9305,_0x3036a4){const _0x93f699=_0xdf2b74;this[_0x93f699(0x239)]=_0x5b9305||{},_0x3036a4&&(this[_0x93f699(0x301)]=_0x3036a4,this[_0x93f699(0x23a)]=Buffer[_0x93f699(0x394)](0x4)),this[_0x93f699(0x321)]=_0x540e24,this[_0x93f699(0x2ce)]=!0x0,this[_0x93f699(0x2e6)]=!0x1,this['_bufferedBytes']=0x0,this[_0x93f699(0x254)]=[],this['_state']=_0x253446,this[_0x93f699(0x345)]=_0x24d866,this[_0x3098ee]=void 0x0;}static['frame'](_0xca708e,_0x1b5bdc){const _0x1e426e=_0xdf2b74;let _0x55367f,_0x6732b7=!0x1,_0x23fe1e=0x2,_0x49fab6=!0x1;_0x1b5bdc[_0x1e426e(0x274)]&&(_0x55367f=_0x1b5bdc[_0x1e426e(0x2ed)]||_0x52b22a,_0x1b5bdc[_0x1e426e(0x2c0)]?_0x1b5bdc[_0x1e426e(0x2c0)](_0x55367f):(_0x44e9c3===_0x2c57c2&&(_0x5693d3===void 0x0&&(_0x5693d3=Buffer[_0x1e426e(0x394)](_0x2c57c2)),_0x25ade2(_0x5693d3,0x0,_0x2c57c2),_0x44e9c3=0x0),_0x55367f[0x0]=_0x5693d3[_0x44e9c3++],_0x55367f[0x1]=_0x5693d3[_0x44e9c3++],_0x55367f[0x2]=_0x5693d3[_0x44e9c3++],_0x55367f[0x3]=_0x5693d3[_0x44e9c3++]),_0x49fab6=(_0x55367f[0x0]|_0x55367f[0x1]|_0x55367f[0x2]|_0x55367f[0x3])===0x0,_0x23fe1e=0x6);let _0x11d444;typeof _0xca708e==_0x1e426e(0x36e)?(!_0x1b5bdc[_0x1e426e(0x274)]||_0x49fab6)&&_0x1b5bdc[_0x70693f]!==void 0x0?_0x11d444=_0x1b5bdc[_0x70693f]:(_0xca708e=Buffer[_0x1e426e(0x299)](_0xca708e),_0x11d444=_0xca708e['length']):(_0x11d444=_0xca708e[_0x1e426e(0x339)],_0x6732b7=_0x1b5bdc['mask']&&_0x1b5bdc[_0x1e426e(0x39e)]&&!_0x49fab6);let _0x1f2468=_0x11d444;_0x11d444>=0x10000?(_0x23fe1e+=0x8,_0x1f2468=0x7f):_0x11d444>0x7d&&(_0x23fe1e+=0x2,_0x1f2468=0x7e);const _0x3e474b=Buffer['allocUnsafe'](_0x6732b7?_0x11d444+_0x23fe1e:_0x23fe1e);return _0x3e474b[0x0]=_0x1b5bdc[_0x1e426e(0x2e0)]?_0x1b5bdc[_0x1e426e(0x38f)]|0x80:_0x1b5bdc[_0x1e426e(0x38f)],_0x1b5bdc['rsv1']&&(_0x3e474b[0x0]|=0x40),_0x3e474b[0x1]=_0x1f2468,_0x1f2468===0x7e?_0x3e474b[_0x1e426e(0x292)](_0x11d444,0x2):_0x1f2468===0x7f&&(_0x3e474b[0x2]=_0x3e474b[0x3]=0x0,_0x3e474b['writeUIntBE'](_0x11d444,0x4,0x6)),_0x1b5bdc[_0x1e426e(0x274)]?(_0x3e474b[0x1]|=0x80,_0x3e474b[_0x23fe1e-0x4]=_0x55367f[0x0],_0x3e474b[_0x23fe1e-0x3]=_0x55367f[0x1],_0x3e474b[_0x23fe1e-0x2]=_0x55367f[0x2],_0x3e474b[_0x23fe1e-0x1]=_0x55367f[0x3],_0x49fab6?[_0x3e474b,_0xca708e]:_0x6732b7?(_0x4f6521(_0xca708e,_0x55367f,_0x3e474b,_0x23fe1e,_0x11d444),[_0x3e474b]):(_0x4f6521(_0xca708e,_0x55367f,_0xca708e,0x0,_0x11d444),[_0x3e474b,_0xca708e])):[_0x3e474b,_0xca708e];}[_0xdf2b74(0x2a0)](_0x5b7bdb,_0x53acad,_0xb42db5,_0x1c462c){const _0xc781fa=_0xdf2b74;let _0x211fe3;if(_0x5b7bdb===void 0x0)_0x211fe3=_0x59ea62;else{if(typeof _0x5b7bdb!=_0xc781fa(0x364)||!_0x513e77(_0x5b7bdb))throw new TypeError(_0xc781fa(0x30d));if(_0x53acad===void 0x0||!_0x53acad[_0xc781fa(0x339)])_0x211fe3=Buffer[_0xc781fa(0x362)](0x2),_0x211fe3[_0xc781fa(0x292)](_0x5b7bdb,0x0);else{const _0x46d836=Buffer['byteLength'](_0x53acad);if(_0x46d836>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x211fe3=Buffer[_0xc781fa(0x362)](0x2+_0x46d836),_0x211fe3[_0xc781fa(0x292)](_0x5b7bdb,0x0),typeof _0x53acad==_0xc781fa(0x36e)?_0x211fe3[_0xc781fa(0x2d9)](_0x53acad,0x2):_0x211fe3[_0xc781fa(0x2b8)](_0x53acad,0x2);}}const _0x544c10={[_0x70693f]:_0x211fe3[_0xc781fa(0x339)],'fin':!0x0,'generateMask':this[_0xc781fa(0x301)],'mask':_0xb42db5,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x253446?this[_0xc781fa(0x244)]([this[_0xc781fa(0x2b6)],_0x211fe3,!0x1,_0x544c10,_0x1c462c]):this[_0xc781fa(0x24b)](_0x80a036[_0xc781fa(0x33f)](_0x211fe3,_0x544c10),_0x1c462c);}[_0xdf2b74(0x38a)](_0x36ec32,_0x2865e6,_0x2bb02c){const _0x681a2c=_0xdf2b74;let _0x48fa7f,_0x28d50f;if(typeof _0x36ec32==_0x681a2c(0x36e)?(_0x48fa7f=Buffer[_0x681a2c(0x354)](_0x36ec32),_0x28d50f=!0x1):_0x570fb1(_0x36ec32)?(_0x48fa7f=_0x36ec32['size'],_0x28d50f=!0x1):(_0x36ec32=_0x398c35(_0x36ec32),_0x48fa7f=_0x36ec32['length'],_0x28d50f=_0x398c35[_0x681a2c(0x39e)]),_0x48fa7f>0x7d)throw new RangeError(_0x681a2c(0x346));const _0x28e7c5={[_0x70693f]:_0x48fa7f,'fin':!0x0,'generateMask':this[_0x681a2c(0x301)],'mask':_0x2865e6,'maskBuffer':this[_0x681a2c(0x23a)],'opcode':0x9,'readOnly':_0x28d50f,'rsv1':!0x1};_0x570fb1(_0x36ec32)?this[_0x681a2c(0x302)]!==_0x253446?this[_0x681a2c(0x244)]([this[_0x681a2c(0x222)],_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c]):this[_0x681a2c(0x222)](_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c):this['_state']!==_0x253446?this['enqueue']([this['dispatch'],_0x36ec32,!0x1,_0x28e7c5,_0x2bb02c]):this[_0x681a2c(0x24b)](_0x80a036['frame'](_0x36ec32,_0x28e7c5),_0x2bb02c);}[_0xdf2b74(0x36d)](_0x235ee5,_0x1efb54,_0x36781e){const _0x2c1253=_0xdf2b74;let _0x87d2a5,_0x32d9ec;if(typeof _0x235ee5=='string'?(_0x87d2a5=Buffer[_0x2c1253(0x354)](_0x235ee5),_0x32d9ec=!0x1):_0x570fb1(_0x235ee5)?(_0x87d2a5=_0x235ee5[_0x2c1253(0x2db)],_0x32d9ec=!0x1):(_0x235ee5=_0x398c35(_0x235ee5),_0x87d2a5=_0x235ee5['length'],_0x32d9ec=_0x398c35['readOnly']),_0x87d2a5>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1e7e40={[_0x70693f]:_0x87d2a5,'fin':!0x0,'generateMask':this[_0x2c1253(0x301)],'mask':_0x1efb54,'maskBuffer':this[_0x2c1253(0x23a)],'opcode':0xa,'readOnly':_0x32d9ec,'rsv1':!0x1};_0x570fb1(_0x235ee5)?this[_0x2c1253(0x302)]!==_0x253446?this[_0x2c1253(0x244)]([this[_0x2c1253(0x222)],_0x235ee5,!0x1,_0x1e7e40,_0x36781e]):this[_0x2c1253(0x222)](_0x235ee5,!0x1,_0x1e7e40,_0x36781e):this[_0x2c1253(0x302)]!==_0x253446?this[_0x2c1253(0x244)]([this[_0x2c1253(0x2b6)],_0x235ee5,!0x1,_0x1e7e40,_0x36781e]):this['sendFrame'](_0x80a036[_0x2c1253(0x33f)](_0x235ee5,_0x1e7e40),_0x36781e);}['send'](_0x22cacd,_0xabe2b8,_0x588bea){const _0x37c0a2=_0xdf2b74,_0x2921cb=this[_0x37c0a2(0x239)][_0x3f8247['extensionName']];let _0x5536a2=_0xabe2b8['binary']?0x2:0x1,_0x5b73ce=_0xabe2b8[_0x37c0a2(0x25d)],_0x4213d8,_0x58f242;typeof _0x22cacd==_0x37c0a2(0x36e)?(_0x4213d8=Buffer['byteLength'](_0x22cacd),_0x58f242=!0x1):_0x570fb1(_0x22cacd)?(_0x4213d8=_0x22cacd[_0x37c0a2(0x2db)],_0x58f242=!0x1):(_0x22cacd=_0x398c35(_0x22cacd),_0x4213d8=_0x22cacd[_0x37c0a2(0x339)],_0x58f242=_0x398c35[_0x37c0a2(0x39e)]),this[_0x37c0a2(0x2ce)]?(this[_0x37c0a2(0x2ce)]=!0x1,_0x5b73ce&&_0x2921cb&&_0x2921cb['params'][_0x2921cb[_0x37c0a2(0x272)]?_0x37c0a2(0x32e):_0x37c0a2(0x2a9)]&&(_0x5b73ce=_0x4213d8>=_0x2921cb[_0x37c0a2(0x2da)]),this[_0x37c0a2(0x2e6)]=_0x5b73ce):(_0x5b73ce=!0x1,_0x5536a2=0x0),_0xabe2b8['fin']&&(this[_0x37c0a2(0x2ce)]=!0x0);const _0x41cb75={[_0x70693f]:_0x4213d8,'fin':_0xabe2b8['fin'],'generateMask':this[_0x37c0a2(0x301)],'mask':_0xabe2b8[_0x37c0a2(0x274)],'maskBuffer':this[_0x37c0a2(0x23a)],'opcode':_0x5536a2,'readOnly':_0x58f242,'rsv1':_0x5b73ce};_0x570fb1(_0x22cacd)?this['_state']!==_0x253446?this[_0x37c0a2(0x244)]([this[_0x37c0a2(0x222)],_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea]):this[_0x37c0a2(0x222)](_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea):this[_0x37c0a2(0x302)]!==_0x253446?this[_0x37c0a2(0x244)]([this[_0x37c0a2(0x2b6)],_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea]):this[_0x37c0a2(0x2b6)](_0x22cacd,this[_0x37c0a2(0x2e6)],_0x41cb75,_0x588bea);}[_0xdf2b74(0x222)](_0x3a8e91,_0x4166e5,_0x485ead,_0x1fd556){const _0x2bb015=_0xdf2b74;this[_0x2bb015(0x248)]+=_0x485ead[_0x70693f],this[_0x2bb015(0x302)]=_0x58031c,_0x3a8e91['arrayBuffer']()[_0x2bb015(0x333)](_0x19b739=>{const _0x4a3cb9=_0x2bb015;if(this[_0x4a3cb9(0x321)][_0x4a3cb9(0x2ba)]){const _0x54478f=new Error(_0x4a3cb9(0x230));process[_0x4a3cb9(0x340)](_0x52bcb7,this,_0x54478f,_0x1fd556);return;}this[_0x4a3cb9(0x248)]-=_0x485ead[_0x70693f];const _0x4a2b9a=_0x398c35(_0x19b739);_0x4166e5?this[_0x4a3cb9(0x2b6)](_0x4a2b9a,_0x4166e5,_0x485ead,_0x1fd556):(this['_state']=_0x253446,this[_0x4a3cb9(0x24b)](_0x80a036[_0x4a3cb9(0x33f)](_0x4a2b9a,_0x485ead),_0x1fd556),this[_0x4a3cb9(0x234)]());})[_0x2bb015(0x3a1)](_0x557def=>{const _0x553116=_0x2bb015;process[_0x553116(0x340)](_0x2e719b,this,_0x557def,_0x1fd556);});}[_0xdf2b74(0x2b6)](_0x43f32f,_0x5b1bdd,_0x45eeb6,_0x30e663){const _0x407ffc=_0xdf2b74;if(!_0x5b1bdd){this[_0x407ffc(0x24b)](_0x80a036[_0x407ffc(0x33f)](_0x43f32f,_0x45eeb6),_0x30e663);return;}const _0x165641=this[_0x407ffc(0x239)][_0x3f8247[_0x407ffc(0x34e)]];this['_bufferedBytes']+=_0x45eeb6[_0x70693f],this[_0x407ffc(0x302)]=_0x498274,_0x165641[_0x407ffc(0x25d)](_0x43f32f,_0x45eeb6['fin'],(_0x55708b,_0x39a6e2)=>{const _0x291175=_0x407ffc;if(this[_0x291175(0x321)][_0x291175(0x2ba)]){const _0x42ea7a=new Error(_0x291175(0x29e));_0x52bcb7(this,_0x42ea7a,_0x30e663);return;}this[_0x291175(0x248)]-=_0x45eeb6[_0x70693f],this[_0x291175(0x302)]=_0x253446,_0x45eeb6[_0x291175(0x39e)]=!0x1,this[_0x291175(0x24b)](_0x80a036[_0x291175(0x33f)](_0x39a6e2,_0x45eeb6),_0x30e663),this[_0x291175(0x234)]();});}[_0xdf2b74(0x234)](){const _0x5b5a51=_0xdf2b74;for(;this[_0x5b5a51(0x302)]===_0x253446&&this[_0x5b5a51(0x254)][_0x5b5a51(0x339)];){const _0x4ffec6=this[_0x5b5a51(0x254)][_0x5b5a51(0x283)]();this['_bufferedBytes']-=_0x4ffec6[0x3][_0x70693f],Reflect['apply'](_0x4ffec6[0x0],this,_0x4ffec6[_0x5b5a51(0x28e)](0x1));}}[_0xdf2b74(0x244)](_0x56581d){const _0x51d3fb=_0xdf2b74;this['_bufferedBytes']+=_0x56581d[0x3][_0x70693f],this[_0x51d3fb(0x254)][_0x51d3fb(0x266)](_0x56581d);}[_0xdf2b74(0x24b)](_0x15c3dc,_0x5f1ca0){const _0x21c724=_0xdf2b74;_0x15c3dc[_0x21c724(0x339)]===0x2?(this[_0x21c724(0x321)][_0x21c724(0x387)](),this[_0x21c724(0x321)][_0x21c724(0x2d9)](_0x15c3dc[0x0]),this['_socket'][_0x21c724(0x2d9)](_0x15c3dc[0x1],_0x5f1ca0),this[_0x21c724(0x321)]['uncork']()):this['_socket']['write'](_0x15c3dc[0x0],_0x5f1ca0);}}Ee=_0x80a036;function _0x52bcb7(_0x461768,_0x2b04ec,_0x228281){const _0x594a56=_0xdf2b74;typeof _0x228281=='function'&&_0x228281(_0x2b04ec);for(let _0xbf80d=0x0;_0xbf80d<_0x461768['_queue'][_0x594a56(0x339)];_0xbf80d++){const _0x4e3858=_0x461768[_0x594a56(0x254)][_0xbf80d],_0x52fe1e=_0x4e3858[_0x4e3858['length']-0x1];typeof _0x52fe1e=='function'&&_0x52fe1e(_0x2b04ec);}}function _0x2e719b(_0x31b4a6,_0x1f722c,_0x5f2103){const _0x11fb98=_0xdf2b74;_0x52bcb7(_0x31b4a6,_0x1f722c,_0x5f2103),_0x31b4a6[_0x11fb98(0x345)](_0x1f722c);}return Ee;}var xe,tt;function Kt(){const _0x3e2990=_0x374957;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5bd4dd,kListener:_0x27ad9f}=V(),_0x4d80a0=Symbol(_0x3e2990(0x1fd)),_0x270601=Symbol(_0x3e2990(0x24d)),_0x331714=Symbol(_0x3e2990(0x342)),_0x2f9835=Symbol(_0x3e2990(0x2be)),_0x33ac79=Symbol('kReason'),_0x1e6848=Symbol('kTarget'),_0x5c0309=Symbol(_0x3e2990(0x237)),_0x4235d9=Symbol(_0x3e2990(0x392));class _0x234e1d{constructor(_0x1fd964){this[_0x1e6848]=null,this[_0x5c0309]=_0x1fd964;}get[_0x3e2990(0x21c)](){return this[_0x1e6848];}get[_0x3e2990(0x31e)](){return this[_0x5c0309];}}Object[_0x3e2990(0x260)](_0x234e1d[_0x3e2990(0x312)],'target',{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x234e1d['prototype'],_0x3e2990(0x31e),{'enumerable':!0x0});class _0x58a331 extends _0x234e1d{constructor(_0x2c3279,_0x1c8343={}){const _0xdfcb0e=_0x3e2990;super(_0x2c3279),this[_0x4d80a0]=_0x1c8343[_0xdfcb0e(0x268)]===void 0x0?0x0:_0x1c8343[_0xdfcb0e(0x268)],this[_0x33ac79]=_0x1c8343[_0xdfcb0e(0x286)]===void 0x0?'':_0x1c8343[_0xdfcb0e(0x286)],this[_0x4235d9]=_0x1c8343[_0xdfcb0e(0x1fa)]===void 0x0?!0x1:_0x1c8343[_0xdfcb0e(0x1fa)];}get[_0x3e2990(0x268)](){return this[_0x4d80a0];}get['reason'](){return this[_0x33ac79];}get[_0x3e2990(0x1fa)](){return this[_0x4235d9];}}Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x268),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x286),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x58a331[_0x3e2990(0x312)],_0x3e2990(0x1fa),{'enumerable':!0x0});class _0x14dab8 extends _0x234e1d{constructor(_0x3a4b07,_0x597a1a={}){const _0x101b57=_0x3e2990;super(_0x3a4b07),this[_0x331714]=_0x597a1a['error']===void 0x0?null:_0x597a1a[_0x101b57(0x297)],this[_0x2f9835]=_0x597a1a[_0x101b57(0x2a6)]===void 0x0?'':_0x597a1a[_0x101b57(0x2a6)];}get[_0x3e2990(0x297)](){return this[_0x331714];}get[_0x3e2990(0x2a6)](){return this[_0x2f9835];}}Object['defineProperty'](_0x14dab8[_0x3e2990(0x312)],_0x3e2990(0x297),{'enumerable':!0x0}),Object[_0x3e2990(0x260)](_0x14dab8['prototype'],_0x3e2990(0x2a6),{'enumerable':!0x0});class _0x5747d8 extends _0x234e1d{constructor(_0x52dee4,_0x298565={}){const _0xaec33d=_0x3e2990;super(_0x52dee4),this[_0x270601]=_0x298565[_0xaec33d(0x287)]===void 0x0?null:_0x298565[_0xaec33d(0x287)];}get[_0x3e2990(0x287)](){return this[_0x270601];}}Object['defineProperty'](_0x5747d8[_0x3e2990(0x312)],_0x3e2990(0x287),{'enumerable':!0x0}),xe={'CloseEvent':_0x58a331,'ErrorEvent':_0x14dab8,'Event':_0x234e1d,'EventTarget':{'addEventListener'(_0x42673b,_0x118fc0,_0xacf244={}){const _0x52826b=_0x3e2990;for(const _0x44db1a of this[_0x52826b(0x22c)](_0x42673b))if(!_0xacf244[_0x5bd4dd]&&_0x44db1a[_0x27ad9f]===_0x118fc0&&!_0x44db1a[_0x5bd4dd])return;let _0x24f0f5;if(_0x42673b===_0x52826b(0x2a6))_0x24f0f5=function(_0x4f1681,_0x1b26aa){const _0xb35018=_0x52826b,_0x365711=new _0x5747d8(_0xb35018(0x2a6),{'data':_0x1b26aa?_0x4f1681:_0x4f1681['toString']()});_0x365711[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x365711);};else{if(_0x42673b===_0x52826b(0x2a0))_0x24f0f5=function(_0xdb2e1a,_0x5ad9f6){const _0x589b14=_0x52826b,_0x4defb9=new _0x58a331(_0x589b14(0x2a0),{'code':_0xdb2e1a,'reason':_0x5ad9f6[_0x589b14(0x30a)](),'wasClean':this[_0x589b14(0x2d6)]&&this[_0x589b14(0x391)]});_0x4defb9[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x4defb9);};else{if(_0x42673b==='error')_0x24f0f5=function(_0x2be003){const _0x4390dc=_0x52826b,_0xbb5668=new _0x14dab8(_0x4390dc(0x297),{'error':_0x2be003,'message':_0x2be003[_0x4390dc(0x2a6)]});_0xbb5668[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0xbb5668);};else{if(_0x42673b===_0x52826b(0x32f))_0x24f0f5=function(){const _0x8fcb71=_0x52826b,_0x408d7a=new _0x234e1d(_0x8fcb71(0x32f));_0x408d7a[_0x1e6848]=this,_0x3234e8(_0x118fc0,this,_0x408d7a);};else return;}}}_0x24f0f5[_0x5bd4dd]=!!_0xacf244[_0x5bd4dd],_0x24f0f5[_0x27ad9f]=_0x118fc0,_0xacf244[_0x52826b(0x216)]?this[_0x52826b(0x216)](_0x42673b,_0x24f0f5):this['on'](_0x42673b,_0x24f0f5);},'removeEventListener'(_0x27243e,_0x10f38b){const _0x31e10a=_0x3e2990;for(const _0x2ea31a of this[_0x31e10a(0x22c)](_0x27243e))if(_0x2ea31a[_0x27ad9f]===_0x10f38b&&!_0x2ea31a[_0x5bd4dd]){this['removeListener'](_0x27243e,_0x2ea31a);break;}}},'MessageEvent':_0x5747d8};function _0x3234e8(_0xe6e62e,_0x10893a,_0x594be3){const _0x41b8f4=_0x3e2990;typeof _0xe6e62e==_0x41b8f4(0x2c8)&&_0xe6e62e[_0x41b8f4(0x341)]?_0xe6e62e[_0x41b8f4(0x341)]['call'](_0xe6e62e,_0x594be3):_0xe6e62e[_0x41b8f4(0x31d)](_0x10893a,_0x594be3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xbb22b8}=ne();function _0x122b0c(_0x2c6beb,_0x10da5d,_0x5b11c6){const _0xf3a149=_0x2f80;_0x2c6beb[_0x10da5d]===void 0x0?_0x2c6beb[_0x10da5d]=[_0x5b11c6]:_0x2c6beb[_0x10da5d][_0xf3a149(0x266)](_0x5b11c6);}function _0x4d335b(_0x2c9bd9){const _0xf8d254=_0x2f80,_0x8f326a=Object[_0xf8d254(0x227)](null);let _0x41977f=Object[_0xf8d254(0x227)](null),_0x107c65=!0x1,_0x639266=!0x1,_0x57526d=!0x1,_0x457704,_0x7acc39,_0x3fdc65=-0x1,_0x1f1792=-0x1,_0x3bed46=-0x1,_0x246762=0x0;for(;_0x246762<_0x2c9bd9[_0xf8d254(0x339)];_0x246762++)if(_0x1f1792=_0x2c9bd9[_0xf8d254(0x228)](_0x246762),_0x457704===void 0x0){if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x246762!==0x0&&(_0x1f1792===0x20||_0x1f1792===0x9))_0x3bed46===-0x1&&_0x3fdc65!==-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762);const _0x6586ab=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x3bed46);_0x1f1792===0x2c?(_0x122b0c(_0x8f326a,_0x6586ab,_0x41977f),_0x41977f=Object[_0xf8d254(0x227)](null)):_0x457704=_0x6586ab,_0x3fdc65=_0x3bed46=-0x1;}else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}else{if(_0x7acc39===void 0x0){if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x1f1792===0x20||_0x1f1792===0x9)_0x3bed46===-0x1&&_0x3fdc65!==-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762),_0x122b0c(_0x41977f,_0x2c9bd9['slice'](_0x3fdc65,_0x3bed46),!0x0),_0x1f1792===0x2c&&(_0x122b0c(_0x8f326a,_0x457704,_0x41977f),_0x41977f=Object['create'](null),_0x457704=void 0x0),_0x3fdc65=_0x3bed46=-0x1;}else{if(_0x1f1792===0x3d&&_0x3fdc65!==-0x1&&_0x3bed46===-0x1)_0x7acc39=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x246762),_0x3fdc65=_0x3bed46=-0x1;else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}}else{if(_0x639266){if(_0xbb22b8[_0x1f1792]!==0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3fdc65===-0x1?_0x3fdc65=_0x246762:_0x107c65||(_0x107c65=!0x0),_0x639266=!0x1;}else{if(_0x57526d){if(_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x1f1792===0x22&&_0x3fdc65!==-0x1)_0x57526d=!0x1,_0x3bed46=_0x246762;else{if(_0x1f1792===0x5c)_0x639266=!0x0;else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}else{if(_0x1f1792===0x22&&_0x2c9bd9[_0xf8d254(0x228)](_0x246762-0x1)===0x3d)_0x57526d=!0x0;else{if(_0x3bed46===-0x1&&_0xbb22b8[_0x1f1792]===0x1)_0x3fdc65===-0x1&&(_0x3fdc65=_0x246762);else{if(_0x3fdc65!==-0x1&&(_0x1f1792===0x20||_0x1f1792===0x9))_0x3bed46===-0x1&&(_0x3bed46=_0x246762);else{if(_0x1f1792===0x3b||_0x1f1792===0x2c){if(_0x3fdc65===-0x1)throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);_0x3bed46===-0x1&&(_0x3bed46=_0x246762);let _0x5a191e=_0x2c9bd9['slice'](_0x3fdc65,_0x3bed46);_0x107c65&&(_0x5a191e=_0x5a191e[_0xf8d254(0x310)](/\\/g,''),_0x107c65=!0x1),_0x122b0c(_0x41977f,_0x7acc39,_0x5a191e),_0x1f1792===0x2c&&(_0x122b0c(_0x8f326a,_0x457704,_0x41977f),_0x41977f=Object[_0xf8d254(0x227)](null),_0x457704=void 0x0),_0x7acc39=void 0x0,_0x3fdc65=_0x3bed46=-0x1;}else throw new SyntaxError(_0xf8d254(0x27d)+_0x246762);}}}}}}}if(_0x3fdc65===-0x1||_0x57526d||_0x1f1792===0x20||_0x1f1792===0x9)throw new SyntaxError(_0xf8d254(0x28f));_0x3bed46===-0x1&&(_0x3bed46=_0x246762);const _0x5435dc=_0x2c9bd9[_0xf8d254(0x28e)](_0x3fdc65,_0x3bed46);return _0x457704===void 0x0?_0x122b0c(_0x8f326a,_0x5435dc,_0x41977f):(_0x7acc39===void 0x0?_0x122b0c(_0x41977f,_0x5435dc,!0x0):_0x107c65?_0x122b0c(_0x41977f,_0x7acc39,_0x5435dc[_0xf8d254(0x310)](/\\/g,'')):_0x122b0c(_0x41977f,_0x7acc39,_0x5435dc),_0x122b0c(_0x8f326a,_0x457704,_0x41977f)),_0x8f326a;}function _0xc7cca1(_0x14af56){const _0x26b47d=_0x2f80;return Object[_0x26b47d(0x2f5)](_0x14af56)[_0x26b47d(0x355)](_0x1c9c52=>{const _0x456e02=_0x26b47d;let _0x412b91=_0x14af56[_0x1c9c52];return Array[_0x456e02(0x243)](_0x412b91)||(_0x412b91=[_0x412b91]),_0x412b91[_0x456e02(0x355)](_0x2b3e75=>[_0x1c9c52][_0x456e02(0x2aa)](Object['keys'](_0x2b3e75)[_0x456e02(0x355)](_0x3df4dc=>{const _0x1cd694=_0x456e02;let _0x4cb234=_0x2b3e75[_0x3df4dc];return Array['isArray'](_0x4cb234)||(_0x4cb234=[_0x4cb234]),_0x4cb234[_0x1cd694(0x355)](_0x4cb830=>_0x4cb830===!0x0?_0x3df4dc:_0x3df4dc+'='+_0x4cb830)[_0x1cd694(0x29c)](';\x20');}))[_0x456e02(0x29c)](';\x20'))[_0x456e02(0x29c)](',\x20');})[_0x26b47d(0x29c)](',\x20');}return be={'format':_0xc7cca1,'parse':_0x4d335b},be;}var we,st;function Ie(){const _0x7c04ae=_0x374957;if(st)return we;st=0x1;const _0x4ba8e2=_0x74a247,_0x5b80d6=_0x586745,_0x3e72f7=_0x42d105,_0x39df7c=_0x2457fe,_0x29bf0b=_0x5a29df,{randomBytes:_0x579dfa,createHash:_0x2b2fb7}=_0x4d189e,{Duplex:_0x2c6656,Readable:_0x102efb}=_0x3d2ecc,{URL:_0x2c2f7c}=_0x5f2f41,_0x3bc325=he(),_0x2d283e=dt(),_0x1e953e=_t(),{isBlob:_0x463777}=ne(),{BINARY_TYPES:_0x18c814,EMPTY_BUFFER:_0x1a1317,GUID:_0x1c65f8,kForOnEventAttribute:_0x29a6a6,kListener:_0x3f9862,kStatusCode:_0x17317b,kWebSocket:_0x59de15,NOOP:_0x26aeef}=V(),{EventTarget:{addEventListener:_0x593a25,removeEventListener:_0xe81425}}=Kt(),{format:_0x31bfce,parse:_0x1fd58c}=pt(),{toBuffer:_0x33b4e6}=ce(),_0x2c21a5=0x1e*0x3e8,_0x62b67c=Symbol(_0x7c04ae(0x365)),_0x50b7f6=[0x8,0xd],_0x1b8231=[_0x7c04ae(0x24e),'OPEN',_0x7c04ae(0x267),_0x7c04ae(0x27f)],_0x4c279f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5647d0 extends _0x4ba8e2{constructor(_0x33da9d,_0xc9f830,_0x496fb5){const _0xdcbc28=_0x7c04ae;super(),this[_0xdcbc28(0x275)]=_0x18c814[0x0],this['_closeCode']=0x3ee,this[_0xdcbc28(0x2d6)]=!0x1,this[_0xdcbc28(0x391)]=!0x1,this['_closeMessage']=_0x1a1317,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0xdcbc28(0x239)]={},this[_0xdcbc28(0x347)]=!0x1,this[_0xdcbc28(0x279)]='',this[_0xdcbc28(0x259)]=_0x5647d0[_0xdcbc28(0x24e)],this[_0xdcbc28(0x2bf)]=null,this[_0xdcbc28(0x39d)]=null,this[_0xdcbc28(0x321)]=null,_0x33da9d!==null?(this[_0xdcbc28(0x1f5)]=0x0,this[_0xdcbc28(0x272)]=!0x1,this['_redirects']=0x0,_0xc9f830===void 0x0?_0xc9f830=[]:Array[_0xdcbc28(0x243)](_0xc9f830)||(typeof _0xc9f830==_0xdcbc28(0x2c8)&&_0xc9f830!==null?(_0x496fb5=_0xc9f830,_0xc9f830=[]):_0xc9f830=[_0xc9f830]),_0x5ebc4c(this,_0x33da9d,_0xc9f830,_0x496fb5)):(this['_autoPong']=_0x496fb5['autoPong'],this[_0xdcbc28(0x272)]=!0x0);}get[_0x7c04ae(0x202)](){const _0x394ea7=_0x7c04ae;return this[_0x394ea7(0x275)];}set[_0x7c04ae(0x202)](_0x4113de){const _0x4ac6af=_0x7c04ae;_0x18c814[_0x4ac6af(0x253)](_0x4113de)&&(this[_0x4ac6af(0x275)]=_0x4113de,this['_receiver']&&(this['_receiver'][_0x4ac6af(0x275)]=_0x4113de));}get[_0x7c04ae(0x2f4)](){const _0x22a089=_0x7c04ae;return this[_0x22a089(0x321)]?this[_0x22a089(0x321)]['_writableState'][_0x22a089(0x339)]+this[_0x22a089(0x39d)][_0x22a089(0x248)]:this[_0x22a089(0x1f5)];}get['extensions'](){const _0x115013=_0x7c04ae;return Object['keys'](this[_0x115013(0x239)])['join']();}get['isPaused'](){return this['_paused'];}get[_0x7c04ae(0x2c1)](){return null;}get[_0x7c04ae(0x345)](){return null;}get[_0x7c04ae(0x21f)](){return null;}get[_0x7c04ae(0x281)](){return null;}get[_0x7c04ae(0x261)](){const _0x1891c0=_0x7c04ae;return this[_0x1891c0(0x279)];}get[_0x7c04ae(0x2b5)](){return this['_readyState'];}get[_0x7c04ae(0x358)](){const _0xbbcc65=_0x7c04ae;return this[_0xbbcc65(0x314)];}[_0x7c04ae(0x30b)](_0x3b80c8,_0x25bf69,_0x4c9255){const _0x465af4=_0x7c04ae,_0x5eb3d6=new _0x2d283e({'allowSynchronousEvents':_0x4c9255['allowSynchronousEvents'],'binaryType':this[_0x465af4(0x202)],'extensions':this[_0x465af4(0x239)],'isServer':this['_isServer'],'maxPayload':_0x4c9255['maxPayload'],'skipUTF8Validation':_0x4c9255['skipUTF8Validation']}),_0x3307cb=new _0x1e953e(_0x3b80c8,this[_0x465af4(0x239)],_0x4c9255[_0x465af4(0x2c0)]);this[_0x465af4(0x2bf)]=_0x5eb3d6,this[_0x465af4(0x39d)]=_0x3307cb,this[_0x465af4(0x321)]=_0x3b80c8,_0x5eb3d6[_0x59de15]=this,_0x3307cb[_0x59de15]=this,_0x3b80c8[_0x59de15]=this,_0x5eb3d6['on'](_0x465af4(0x2f3),_0x31c9d3),_0x5eb3d6['on'](_0x465af4(0x35e),_0x3710b2),_0x5eb3d6['on']('error',_0x580f1a),_0x5eb3d6['on'](_0x465af4(0x2a6),_0x1fa059),_0x5eb3d6['on'](_0x465af4(0x38a),_0x3abda4),_0x5eb3d6['on']('pong',_0x3d1315),_0x3307cb[_0x465af4(0x345)]=_0x1db18a,_0x3b80c8[_0x465af4(0x262)]&&_0x3b80c8['setTimeout'](0x0),_0x3b80c8['setNoDelay']&&_0x3b80c8[_0x465af4(0x2f1)](),_0x25bf69[_0x465af4(0x339)]>0x0&&_0x3b80c8[_0x465af4(0x2b0)](_0x25bf69),_0x3b80c8['on']('close',_0x32ce2a),_0x3b80c8['on']('data',_0x395490),_0x3b80c8['on']('end',_0x1a7d8e),_0x3b80c8['on'](_0x465af4(0x297),_0x2cc2c6),this[_0x465af4(0x259)]=_0x5647d0[_0x465af4(0x329)],this[_0x465af4(0x35f)]('open');}[_0x7c04ae(0x29a)](){const _0x2f8ece=_0x7c04ae;if(!this[_0x2f8ece(0x321)]){this[_0x2f8ece(0x259)]=_0x5647d0[_0x2f8ece(0x27f)],this['emit'](_0x2f8ece(0x2a0),this[_0x2f8ece(0x369)],this[_0x2f8ece(0x327)]);return;}this[_0x2f8ece(0x239)][_0x3bc325[_0x2f8ece(0x34e)]]&&this[_0x2f8ece(0x239)][_0x3bc325[_0x2f8ece(0x34e)]][_0x2f8ece(0x2f0)](),this[_0x2f8ece(0x2bf)][_0x2f8ece(0x33c)](),this[_0x2f8ece(0x259)]=_0x5647d0[_0x2f8ece(0x27f)],this[_0x2f8ece(0x35f)](_0x2f8ece(0x2a0),this[_0x2f8ece(0x369)],this[_0x2f8ece(0x327)]);}[_0x7c04ae(0x2a0)](_0x3dccf6,_0x51847d){const _0x229f7a=_0x7c04ae;if(this[_0x229f7a(0x2b5)]!==_0x5647d0[_0x229f7a(0x27f)]){if(this[_0x229f7a(0x2b5)]===_0x5647d0['CONNECTING']){_0x40028e(this,this[_0x229f7a(0x34b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x5647d0['CLOSING']){this[_0x229f7a(0x391)]&&(this[_0x229f7a(0x2d6)]||this[_0x229f7a(0x2bf)][_0x229f7a(0x204)][_0x229f7a(0x2ab)])&&this[_0x229f7a(0x321)][_0x229f7a(0x330)]();return;}this[_0x229f7a(0x259)]=_0x5647d0[_0x229f7a(0x267)],this[_0x229f7a(0x39d)][_0x229f7a(0x2a0)](_0x3dccf6,_0x51847d,!this['_isServer'],_0x54bd33=>{const _0x3b33b1=_0x229f7a;_0x54bd33||(this[_0x3b33b1(0x391)]=!0x0,(this['_closeFrameReceived']||this[_0x3b33b1(0x2bf)][_0x3b33b1(0x204)]['errorEmitted'])&&this[_0x3b33b1(0x321)]['end']());}),_0x58086a(this);}}['pause'](){const _0x5e9416=_0x7c04ae;this[_0x5e9416(0x2b5)]===_0x5647d0[_0x5e9416(0x24e)]||this[_0x5e9416(0x2b5)]===_0x5647d0[_0x5e9416(0x27f)]||(this[_0x5e9416(0x347)]=!0x0,this[_0x5e9416(0x321)][_0x5e9416(0x389)]());}[_0x7c04ae(0x38a)](_0x295323,_0x49c27c,_0x4b8288){const _0x38983e=_0x7c04ae;if(this[_0x38983e(0x2b5)]===_0x5647d0[_0x38983e(0x24e)])throw new Error(_0x38983e(0x37b));if(typeof _0x295323=='function'?(_0x4b8288=_0x295323,_0x295323=_0x49c27c=void 0x0):typeof _0x49c27c=='function'&&(_0x4b8288=_0x49c27c,_0x49c27c=void 0x0),typeof _0x295323==_0x38983e(0x364)&&(_0x295323=_0x295323[_0x38983e(0x30a)]()),this[_0x38983e(0x2b5)]!==_0x5647d0[_0x38983e(0x329)]){_0x64df44(this,_0x295323,_0x4b8288);return;}_0x49c27c===void 0x0&&(_0x49c27c=!this[_0x38983e(0x272)]),this[_0x38983e(0x39d)]['ping'](_0x295323||_0x1a1317,_0x49c27c,_0x4b8288);}[_0x7c04ae(0x36d)](_0x570d33,_0x434396,_0x4b30ae){const _0x2ceab8=_0x7c04ae;if(this[_0x2ceab8(0x2b5)]===_0x5647d0['CONNECTING'])throw new Error(_0x2ceab8(0x37b));if(typeof _0x570d33==_0x2ceab8(0x2cf)?(_0x4b30ae=_0x570d33,_0x570d33=_0x434396=void 0x0):typeof _0x434396==_0x2ceab8(0x2cf)&&(_0x4b30ae=_0x434396,_0x434396=void 0x0),typeof _0x570d33==_0x2ceab8(0x364)&&(_0x570d33=_0x570d33[_0x2ceab8(0x30a)]()),this[_0x2ceab8(0x2b5)]!==_0x5647d0[_0x2ceab8(0x329)]){_0x64df44(this,_0x570d33,_0x4b30ae);return;}_0x434396===void 0x0&&(_0x434396=!this[_0x2ceab8(0x272)]),this[_0x2ceab8(0x39d)][_0x2ceab8(0x36d)](_0x570d33||_0x1a1317,_0x434396,_0x4b30ae);}[_0x7c04ae(0x338)](){const _0x139412=_0x7c04ae;this[_0x139412(0x2b5)]===_0x5647d0[_0x139412(0x24e)]||this['readyState']===_0x5647d0[_0x139412(0x27f)]||(this[_0x139412(0x347)]=!0x1,this[_0x139412(0x2bf)]['_writableState']['needDrain']||this[_0x139412(0x321)][_0x139412(0x338)]());}[_0x7c04ae(0x306)](_0x1aefdd,_0x406777,_0x17657c){const _0xde4e90=_0x7c04ae;if(this[_0xde4e90(0x2b5)]===_0x5647d0[_0xde4e90(0x24e)])throw new Error(_0xde4e90(0x37b));if(typeof _0x406777==_0xde4e90(0x2cf)&&(_0x17657c=_0x406777,_0x406777={}),typeof _0x1aefdd==_0xde4e90(0x364)&&(_0x1aefdd=_0x1aefdd[_0xde4e90(0x30a)]()),this[_0xde4e90(0x2b5)]!==_0x5647d0[_0xde4e90(0x329)]){_0x64df44(this,_0x1aefdd,_0x17657c);return;}const _0xc4f01e={'binary':typeof _0x1aefdd!=_0xde4e90(0x36e),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x406777};this['_extensions'][_0x3bc325['extensionName']]||(_0xc4f01e[_0xde4e90(0x25d)]=!0x1),this[_0xde4e90(0x39d)][_0xde4e90(0x306)](_0x1aefdd||_0x1a1317,_0xc4f01e,_0x17657c);}[_0x7c04ae(0x3a3)](){const _0x5e9623=_0x7c04ae;if(this[_0x5e9623(0x2b5)]!==_0x5647d0['CLOSED']){if(this['readyState']===_0x5647d0[_0x5e9623(0x24e)]){_0x40028e(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5e9623(0x321)]&&(this['_readyState']=_0x5647d0[_0x5e9623(0x267)],this[_0x5e9623(0x321)]['destroy']());}}}Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x24e),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)]('CONNECTING')}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x24e),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x24e))}),Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x329),{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x329))}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x329),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x329))}),Object[_0x7c04ae(0x260)](_0x5647d0,'CLOSING',{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x267))}),Object[_0x7c04ae(0x260)](_0x5647d0[_0x7c04ae(0x312)],_0x7c04ae(0x267),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x267))}),Object[_0x7c04ae(0x260)](_0x5647d0,_0x7c04ae(0x27f),{'enumerable':!0x0,'value':_0x1b8231['indexOf'](_0x7c04ae(0x27f))}),Object[_0x7c04ae(0x260)](_0x5647d0['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x1b8231[_0x7c04ae(0x205)](_0x7c04ae(0x27f))}),[_0x7c04ae(0x202),_0x7c04ae(0x2f4),_0x7c04ae(0x23c),'isPaused','protocol',_0x7c04ae(0x2b5),_0x7c04ae(0x358)][_0x7c04ae(0x36c)](_0x23fdd8=>{const _0x1db649=_0x7c04ae;Object[_0x1db649(0x260)](_0x5647d0[_0x1db649(0x312)],_0x23fdd8,{'enumerable':!0x0});}),['open',_0x7c04ae(0x297),'close',_0x7c04ae(0x2a6)][_0x7c04ae(0x36c)](_0x130482=>{const _0x56063c=_0x7c04ae;Object[_0x56063c(0x260)](_0x5647d0['prototype'],'on'+_0x130482,{'enumerable':!0x0,'get'(){const _0x44771d=_0x56063c;for(const _0x4aba21 of this[_0x44771d(0x22c)](_0x130482))if(_0x4aba21[_0x29a6a6])return _0x4aba21[_0x3f9862];return null;},'set'(_0x499848){const _0x3c92c0=_0x56063c;for(const _0x16f6f9 of this[_0x3c92c0(0x22c)](_0x130482))if(_0x16f6f9[_0x29a6a6]){this[_0x3c92c0(0x344)](_0x130482,_0x16f6f9);break;}typeof _0x499848==_0x3c92c0(0x2cf)&&this[_0x3c92c0(0x278)](_0x130482,_0x499848,{[_0x29a6a6]:!0x0});}});}),_0x5647d0[_0x7c04ae(0x312)][_0x7c04ae(0x278)]=_0x593a25,_0x5647d0[_0x7c04ae(0x312)][_0x7c04ae(0x371)]=_0xe81425,we=_0x5647d0;function _0x5ebc4c(_0x2435cf,_0x493018,_0x28dd80,_0x177c04){const _0x4a4cea=_0x7c04ae,_0x15ff09={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x50b7f6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x177c04,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2435cf['_autoPong']=_0x15ff09[_0x4a4cea(0x23d)],!_0x50b7f6[_0x4a4cea(0x253)](_0x15ff09[_0x4a4cea(0x34a)]))throw new RangeError(_0x4a4cea(0x210)+_0x15ff09[_0x4a4cea(0x34a)]+'\x20(supported\x20versions:\x20'+_0x50b7f6[_0x4a4cea(0x29c)](',\x20')+')');let _0x40ea0e;if(_0x493018 instanceof _0x2c2f7c)_0x40ea0e=_0x493018;else try{_0x40ea0e=new _0x2c2f7c(_0x493018);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x493018);}_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x282)?_0x40ea0e[_0x4a4cea(0x261)]='ws:':_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x332)&&(_0x40ea0e[_0x4a4cea(0x261)]=_0x4a4cea(0x2e5)),_0x2435cf[_0x4a4cea(0x314)]=_0x40ea0e[_0x4a4cea(0x246)];const _0xe8cfb8=_0x40ea0e[_0x4a4cea(0x261)]===_0x4a4cea(0x2e5),_0xc9debc=_0x40ea0e['protocol']===_0x4a4cea(0x269);let _0x2cf21a;if(_0x40ea0e[_0x4a4cea(0x261)]!=='ws:'&&!_0xe8cfb8&&!_0xc9debc?_0x2cf21a=_0x4a4cea(0x34f):_0xc9debc&&!_0x40ea0e[_0x4a4cea(0x26c)]?_0x2cf21a='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x40ea0e['hash']&&(_0x2cf21a=_0x4a4cea(0x25c)),_0x2cf21a){const _0x56db8e=new SyntaxError(_0x2cf21a);if(_0x2435cf[_0x4a4cea(0x2fe)]===0x0)throw _0x56db8e;_0x4b42a4(_0x2435cf,_0x56db8e);return;}const _0x1c932a=_0xe8cfb8?0x1bb:0x50,_0x42d9bb=_0x579dfa(0x10)[_0x4a4cea(0x30a)](_0x4a4cea(0x317)),_0x4a1bd5=_0xe8cfb8?_0x5b80d6[_0x4a4cea(0x264)]:_0x3e72f7[_0x4a4cea(0x264)],_0x1b5552=new Set();let _0x52be86;if(_0x15ff09[_0x4a4cea(0x378)]=_0x15ff09[_0x4a4cea(0x378)]||(_0xe8cfb8?_0x3577b2:_0x47d592),_0x15ff09[_0x4a4cea(0x350)]=_0x15ff09[_0x4a4cea(0x350)]||_0x1c932a,_0x15ff09[_0x4a4cea(0x38b)]=_0x40ea0e['port']||_0x1c932a,_0x15ff09[_0x4a4cea(0x218)]=_0x40ea0e['hostname'][_0x4a4cea(0x376)]('[')?_0x40ea0e[_0x4a4cea(0x356)]['slice'](0x1,-0x1):_0x40ea0e['hostname'],_0x15ff09[_0x4a4cea(0x27b)]={..._0x15ff09['headers'],'Sec-WebSocket-Version':_0x15ff09['protocolVersion'],'Sec-WebSocket-Key':_0x42d9bb,'Connection':_0x4a4cea(0x2d3),'Upgrade':_0x4a4cea(0x383)},_0x15ff09[_0x4a4cea(0x2f6)]=_0x40ea0e['pathname']+_0x40ea0e[_0x4a4cea(0x23e)],_0x15ff09['timeout']=_0x15ff09[_0x4a4cea(0x385)],_0x15ff09['perMessageDeflate']&&(_0x52be86=new _0x3bc325(_0x15ff09[_0x4a4cea(0x34d)]!==!0x0?_0x15ff09[_0x4a4cea(0x34d)]:{},!0x1,_0x15ff09[_0x4a4cea(0x2c7)]),_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x2af)]=_0x31bfce({[_0x3bc325[_0x4a4cea(0x34e)]]:_0x52be86['offer']()})),_0x28dd80[_0x4a4cea(0x339)]){for(const _0x924d1f of _0x28dd80){if(typeof _0x924d1f!=_0x4a4cea(0x36e)||!_0x4c279f[_0x4a4cea(0x2fa)](_0x924d1f)||_0x1b5552[_0x4a4cea(0x223)](_0x924d1f))throw new SyntaxError(_0x4a4cea(0x20e));_0x1b5552['add'](_0x924d1f);}_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x38c)]=_0x28dd80['join'](',');}if(_0x15ff09[_0x4a4cea(0x258)]&&(_0x15ff09[_0x4a4cea(0x34a)]<0xd?_0x15ff09['headers'][_0x4a4cea(0x39f)]=_0x15ff09[_0x4a4cea(0x258)]:_0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x280)]=_0x15ff09['origin']),(_0x40ea0e[_0x4a4cea(0x319)]||_0x40ea0e[_0x4a4cea(0x224)])&&(_0x15ff09['auth']=_0x40ea0e['username']+':'+_0x40ea0e['password']),_0xc9debc){const _0x1e174b=_0x15ff09[_0x4a4cea(0x2f6)]['split'](':');_0x15ff09['socketPath']=_0x1e174b[0x0],_0x15ff09[_0x4a4cea(0x2f6)]=_0x1e174b[0x1];}let _0x17a633;if(_0x15ff09[_0x4a4cea(0x26b)]){if(_0x2435cf['_redirects']===0x0){_0x2435cf[_0x4a4cea(0x21e)]=_0xc9debc,_0x2435cf[_0x4a4cea(0x20b)]=_0xe8cfb8,_0x2435cf['_originalHostOrSocketPath']=_0xc9debc?_0x15ff09[_0x4a4cea(0x315)]:_0x40ea0e[_0x4a4cea(0x218)];const _0x773266=_0x177c04&&_0x177c04['headers'];if(_0x177c04={..._0x177c04,'headers':{}},_0x773266){for(const [_0x3ff7a2,_0x3609d3]of Object[_0x4a4cea(0x24f)](_0x773266))_0x177c04[_0x4a4cea(0x27b)][_0x3ff7a2[_0x4a4cea(0x2fd)]()]=_0x3609d3;}}else{if(_0x2435cf[_0x4a4cea(0x26a)]('redirect')===0x0){const _0x3af1d5=_0xc9debc?_0x2435cf[_0x4a4cea(0x21e)]?_0x15ff09[_0x4a4cea(0x315)]===_0x2435cf[_0x4a4cea(0x217)]:!0x1:_0x2435cf['_originalIpc']?!0x1:_0x40ea0e[_0x4a4cea(0x218)]===_0x2435cf[_0x4a4cea(0x217)];(!_0x3af1d5||_0x2435cf[_0x4a4cea(0x20b)]&&!_0xe8cfb8)&&(delete _0x15ff09[_0x4a4cea(0x27b)]['authorization'],delete _0x15ff09[_0x4a4cea(0x27b)][_0x4a4cea(0x238)],_0x3af1d5||delete _0x15ff09[_0x4a4cea(0x27b)]['host'],_0x15ff09[_0x4a4cea(0x33b)]=void 0x0);}}_0x15ff09[_0x4a4cea(0x33b)]&&!_0x177c04[_0x4a4cea(0x27b)]['authorization']&&(_0x177c04[_0x4a4cea(0x27b)]['authorization']=_0x4a4cea(0x2f8)+Buffer[_0x4a4cea(0x299)](_0x15ff09[_0x4a4cea(0x33b)])['toString'](_0x4a4cea(0x317))),_0x17a633=_0x2435cf[_0x4a4cea(0x34b)]=_0x4a1bd5(_0x15ff09),_0x2435cf[_0x4a4cea(0x2fe)]&&_0x2435cf['emit'](_0x4a4cea(0x2c9),_0x2435cf[_0x4a4cea(0x358)],_0x17a633);}else _0x17a633=_0x2435cf['_req']=_0x4a1bd5(_0x15ff09);_0x15ff09['timeout']&&_0x17a633['on'](_0x4a4cea(0x1fb),()=>{const _0x316361=_0x4a4cea;_0x40028e(_0x2435cf,_0x17a633,_0x316361(0x20d));}),_0x17a633['on']('error',_0x5eccc3=>{const _0x2d0500=_0x4a4cea;_0x17a633===null||_0x17a633[_0x62b67c]||(_0x17a633=_0x2435cf[_0x2d0500(0x34b)]=null,_0x4b42a4(_0x2435cf,_0x5eccc3));}),_0x17a633['on'](_0x4a4cea(0x2f2),_0x4bb22b=>{const _0x254bfb=_0x4a4cea,_0x39ebf2=_0x4bb22b[_0x254bfb(0x27b)][_0x254bfb(0x235)],_0x557ff4=_0x4bb22b['statusCode'];if(_0x39ebf2&&_0x15ff09[_0x254bfb(0x26b)]&&_0x557ff4>=0x12c&&_0x557ff4<0x190){if(++_0x2435cf[_0x254bfb(0x2fe)]>_0x15ff09[_0x254bfb(0x2f7)]){_0x40028e(_0x2435cf,_0x17a633,'Maximum\x20redirects\x20exceeded');return;}_0x17a633['abort']();let _0x1e4d9f;try{_0x1e4d9f=new _0x2c2f7c(_0x39ebf2,_0x493018);}catch{const _0x20c8c4=new SyntaxError(_0x254bfb(0x32a)+_0x39ebf2);_0x4b42a4(_0x2435cf,_0x20c8c4);return;}_0x5ebc4c(_0x2435cf,_0x1e4d9f,_0x28dd80,_0x177c04);}else _0x2435cf[_0x254bfb(0x35f)](_0x254bfb(0x353),_0x17a633,_0x4bb22b)||_0x40028e(_0x2435cf,_0x17a633,_0x254bfb(0x2a7)+_0x4bb22b[_0x254bfb(0x2ee)]);}),_0x17a633['on'](_0x4a4cea(0x2bd),(_0x3bc7d5,_0x5538b2,_0x521675)=>{const _0x3f5862=_0x4a4cea;if(_0x2435cf[_0x3f5862(0x35f)](_0x3f5862(0x2bd),_0x3bc7d5),_0x2435cf[_0x3f5862(0x2b5)]!==_0x5647d0[_0x3f5862(0x24e)])return;_0x17a633=_0x2435cf[_0x3f5862(0x34b)]=null;const _0x552ad6=_0x3bc7d5['headers'][_0x3f5862(0x2bd)];if(_0x552ad6===void 0x0||_0x552ad6[_0x3f5862(0x2fd)]()!==_0x3f5862(0x383)){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x36f));return;}const _0x677634=_0x2b2fb7(_0x3f5862(0x361))[_0x3f5862(0x31c)](_0x42d9bb+_0x1c65f8)['digest']('base64');if(_0x3bc7d5[_0x3f5862(0x27b)][_0x3f5862(0x28c)]!==_0x677634){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x379));return;}const _0x5b1176=_0x3bc7d5[_0x3f5862(0x27b)][_0x3f5862(0x30c)];let _0x2950e9;if(_0x5b1176!==void 0x0?_0x1b5552['size']?_0x1b5552[_0x3f5862(0x223)](_0x5b1176)||(_0x2950e9=_0x3f5862(0x31b)):_0x2950e9=_0x3f5862(0x303):_0x1b5552[_0x3f5862(0x2db)]&&(_0x2950e9=_0x3f5862(0x23f)),_0x2950e9){_0x40028e(_0x2435cf,_0x5538b2,_0x2950e9);return;}_0x5b1176&&(_0x2435cf['_protocol']=_0x5b1176);const _0x4bfcee=_0x3bc7d5['headers'][_0x3f5862(0x360)];if(_0x4bfcee!==void 0x0){if(!_0x52be86){_0x40028e(_0x2435cf,_0x5538b2,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2c6af3;try{_0x2c6af3=_0x1fd58c(_0x4bfcee);}catch{_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x2cb));return;}const _0x3929c2=Object['keys'](_0x2c6af3);if(_0x3929c2['length']!==0x1||_0x3929c2[0x0]!==_0x3bc325[_0x3f5862(0x34e)]){_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x390));return;}try{_0x52be86[_0x3f5862(0x37d)](_0x2c6af3[_0x3bc325[_0x3f5862(0x34e)]]);}catch{_0x40028e(_0x2435cf,_0x5538b2,_0x3f5862(0x2cb));return;}_0x2435cf['_extensions'][_0x3bc325['extensionName']]=_0x52be86;}_0x2435cf['setSocket'](_0x5538b2,_0x521675,{'allowSynchronousEvents':_0x15ff09[_0x3f5862(0x305)],'generateMask':_0x15ff09[_0x3f5862(0x2c0)],'maxPayload':_0x15ff09[_0x3f5862(0x2c7)],'skipUTF8Validation':_0x15ff09['skipUTF8Validation']});}),_0x15ff09[_0x4a4cea(0x2d4)]?_0x15ff09['finishRequest'](_0x17a633,_0x2435cf):_0x17a633[_0x4a4cea(0x330)]();}function _0x4b42a4(_0x20c627,_0x2a0072){const _0xf35923=_0x7c04ae;_0x20c627[_0xf35923(0x259)]=_0x5647d0['CLOSING'],_0x20c627[_0xf35923(0x37a)]=!0x0,_0x20c627['emit'](_0xf35923(0x297),_0x2a0072),_0x20c627[_0xf35923(0x29a)]();}function _0x47d592(_0x26d8aa){const _0x1a7260=_0x7c04ae;return _0x26d8aa[_0x1a7260(0x2f6)]=_0x26d8aa[_0x1a7260(0x315)],_0x39df7c['connect'](_0x26d8aa);}function _0x3577b2(_0x4ba0a2){const _0x1783cd=_0x7c04ae;return _0x4ba0a2['path']=void 0x0,!_0x4ba0a2[_0x1783cd(0x1ff)]&&_0x4ba0a2[_0x1783cd(0x1ff)]!==''&&(_0x4ba0a2[_0x1783cd(0x1ff)]=_0x39df7c['isIP'](_0x4ba0a2['host'])?'':_0x4ba0a2['host']),_0x29bf0b[_0x1783cd(0x2b9)](_0x4ba0a2);}function _0x40028e(_0x99010c,_0x1f3d01,_0x22a9be){const _0x301e24=_0x7c04ae;_0x99010c[_0x301e24(0x259)]=_0x5647d0[_0x301e24(0x267)];const _0x166f6f=new Error(_0x22a9be);Error['captureStackTrace'](_0x166f6f,_0x40028e),_0x1f3d01[_0x301e24(0x28b)]?(_0x1f3d01[_0x62b67c]=!0x0,_0x1f3d01[_0x301e24(0x265)](),_0x1f3d01[_0x301e24(0x36b)]&&!_0x1f3d01[_0x301e24(0x36b)]['destroyed']&&_0x1f3d01[_0x301e24(0x36b)]['destroy'](),process['nextTick'](_0x4b42a4,_0x99010c,_0x166f6f)):(_0x1f3d01[_0x301e24(0x2ca)](_0x166f6f),_0x1f3d01[_0x301e24(0x216)](_0x301e24(0x297),_0x99010c['emit']['bind'](_0x99010c,_0x301e24(0x297))),_0x1f3d01[_0x301e24(0x216)]('close',_0x99010c[_0x301e24(0x29a)][_0x301e24(0x26e)](_0x99010c)));}function _0x64df44(_0x11d8bf,_0x405171,_0x4e0bc1){const _0x36a176=_0x7c04ae;if(_0x405171){const _0x364ba6=_0x463777(_0x405171)?_0x405171[_0x36a176(0x2db)]:_0x33b4e6(_0x405171)[_0x36a176(0x339)];_0x11d8bf['_socket']?_0x11d8bf[_0x36a176(0x39d)][_0x36a176(0x248)]+=_0x364ba6:_0x11d8bf[_0x36a176(0x1f5)]+=_0x364ba6;}if(_0x4e0bc1){const _0x3387d1=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x11d8bf[_0x36a176(0x2b5)]+'\x20('+_0x1b8231[_0x11d8bf[_0x36a176(0x2b5)]]+')');process[_0x36a176(0x340)](_0x4e0bc1,_0x3387d1);}}function _0x31c9d3(_0x2d836e,_0x5716f3){const _0x36af3e=_0x7c04ae,_0x30d6a5=this[_0x59de15];_0x30d6a5[_0x36af3e(0x2d6)]=!0x0,_0x30d6a5[_0x36af3e(0x327)]=_0x5716f3,_0x30d6a5[_0x36af3e(0x369)]=_0x2d836e,_0x30d6a5[_0x36af3e(0x321)][_0x59de15]!==void 0x0&&(_0x30d6a5[_0x36af3e(0x321)][_0x36af3e(0x344)](_0x36af3e(0x287),_0x395490),process[_0x36af3e(0x340)](_0x4c4f92,_0x30d6a5[_0x36af3e(0x321)]),_0x2d836e===0x3ed?_0x30d6a5[_0x36af3e(0x2a0)]():_0x30d6a5[_0x36af3e(0x2a0)](_0x2d836e,_0x5716f3));}function _0x3710b2(){const _0x42b3f9=_0x7c04ae,_0x288bc4=this[_0x59de15];_0x288bc4['isPaused']||_0x288bc4[_0x42b3f9(0x321)][_0x42b3f9(0x338)]();}function _0x580f1a(_0x57097e){const _0x3a2309=_0x7c04ae,_0x43e040=this[_0x59de15];_0x43e040[_0x3a2309(0x321)][_0x59de15]!==void 0x0&&(_0x43e040[_0x3a2309(0x321)][_0x3a2309(0x344)](_0x3a2309(0x287),_0x395490),process[_0x3a2309(0x340)](_0x4c4f92,_0x43e040[_0x3a2309(0x321)]),_0x43e040[_0x3a2309(0x2a0)](_0x57097e[_0x17317b])),_0x43e040[_0x3a2309(0x37a)]||(_0x43e040[_0x3a2309(0x37a)]=!0x0,_0x43e040[_0x3a2309(0x35f)](_0x3a2309(0x297),_0x57097e));}function _0x4af42d(){this[_0x59de15]['emitClose']();}function _0x1fa059(_0x3aeaf0,_0x13b7f6){const _0x183713=_0x7c04ae;this[_0x59de15][_0x183713(0x35f)](_0x183713(0x2a6),_0x3aeaf0,_0x13b7f6);}function _0x3abda4(_0xbd3c77){const _0x1e7ca4=_0x7c04ae,_0x415437=this[_0x59de15];_0x415437['_autoPong']&&_0x415437[_0x1e7ca4(0x36d)](_0xbd3c77,!this[_0x1e7ca4(0x272)],_0x26aeef),_0x415437[_0x1e7ca4(0x35f)](_0x1e7ca4(0x38a),_0xbd3c77);}function _0x3d1315(_0x4b54ea){const _0x3fe226=_0x7c04ae;this[_0x59de15][_0x3fe226(0x35f)](_0x3fe226(0x36d),_0x4b54ea);}function _0x4c4f92(_0x21ba24){_0x21ba24['resume']();}function _0x1db18a(_0x4c27d6){const _0xadeb20=_0x7c04ae,_0x1fb99c=this[_0x59de15];_0x1fb99c['readyState']!==_0x5647d0[_0xadeb20(0x27f)]&&(_0x1fb99c[_0xadeb20(0x2b5)]===_0x5647d0[_0xadeb20(0x329)]&&(_0x1fb99c[_0xadeb20(0x259)]=_0x5647d0['CLOSING'],_0x58086a(_0x1fb99c)),this['_socket'][_0xadeb20(0x330)](),_0x1fb99c[_0xadeb20(0x37a)]||(_0x1fb99c[_0xadeb20(0x37a)]=!0x0,_0x1fb99c[_0xadeb20(0x35f)](_0xadeb20(0x297),_0x4c27d6)));}function _0x58086a(_0x30ebc1){const _0x4e6db5=_0x7c04ae;_0x30ebc1['_closeTimer']=setTimeout(_0x30ebc1[_0x4e6db5(0x321)]['destroy']['bind'](_0x30ebc1['_socket']),_0x2c21a5);}function _0x32ce2a(){const _0x80aa73=_0x7c04ae,_0x30fb46=this[_0x59de15];this[_0x80aa73(0x344)]('close',_0x32ce2a),this[_0x80aa73(0x344)](_0x80aa73(0x287),_0x395490),this['removeListener'](_0x80aa73(0x330),_0x1a7d8e),_0x30fb46['_readyState']=_0x5647d0[_0x80aa73(0x267)];let _0x501ae8;!this['_readableState']['endEmitted']&&!_0x30fb46['_closeFrameReceived']&&!_0x30fb46[_0x80aa73(0x2bf)][_0x80aa73(0x204)][_0x80aa73(0x2ab)]&&(_0x501ae8=_0x30fb46[_0x80aa73(0x321)][_0x80aa73(0x31a)]())!==null&&_0x30fb46[_0x80aa73(0x2bf)][_0x80aa73(0x2d9)](_0x501ae8),_0x30fb46['_receiver'][_0x80aa73(0x330)](),this[_0x59de15]=void 0x0,clearTimeout(_0x30fb46[_0x80aa73(0x386)]),_0x30fb46['_receiver'][_0x80aa73(0x204)][_0x80aa73(0x396)]||_0x30fb46[_0x80aa73(0x2bf)]['_writableState'][_0x80aa73(0x2ab)]?_0x30fb46[_0x80aa73(0x29a)]():(_0x30fb46[_0x80aa73(0x2bf)]['on'](_0x80aa73(0x297),_0x4af42d),_0x30fb46[_0x80aa73(0x2bf)]['on'](_0x80aa73(0x203),_0x4af42d));}function _0x395490(_0x2740a4){const _0x5cde82=_0x7c04ae;this[_0x59de15][_0x5cde82(0x2bf)]['write'](_0x2740a4)||this[_0x5cde82(0x389)]();}function _0x1a7d8e(){const _0x394962=_0x7c04ae,_0x32a802=this[_0x59de15];_0x32a802[_0x394962(0x259)]=_0x5647d0['CLOSING'],_0x32a802[_0x394962(0x2bf)]['end'](),this[_0x394962(0x330)]();}function _0x2cc2c6(){const _0x2c9e67=_0x7c04ae,_0x32db67=this[_0x59de15];this[_0x2c9e67(0x344)]('error',_0x2cc2c6),this['on'](_0x2c9e67(0x297),_0x26aeef),_0x32db67&&(_0x32db67['_readyState']=_0x5647d0[_0x2c9e67(0x267)],this[_0x2c9e67(0x2ca)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x286f84}=_0x3d2ecc;function _0x3edafa(_0x4f0ede){const _0x37ad8c=_0x2f80;_0x4f0ede[_0x37ad8c(0x35f)](_0x37ad8c(0x2a0));}function _0x292e9a(){const _0x153085=_0x2f80;!this[_0x153085(0x2ba)]&&this[_0x153085(0x204)][_0x153085(0x396)]&&this[_0x153085(0x2ca)]();}function _0x5747a7(_0x472b67){const _0x4caf6f=_0x2f80;this[_0x4caf6f(0x344)](_0x4caf6f(0x297),_0x5747a7),this[_0x4caf6f(0x2ca)](),this[_0x4caf6f(0x26a)](_0x4caf6f(0x297))===0x0&&this['emit'](_0x4caf6f(0x297),_0x472b67);}function _0x385ae6(_0x54a153,_0x5696f0){const _0x5e643c=_0x2f80;let _0x53a6eb=!0x0;const _0x2e68d7=new _0x286f84({..._0x5696f0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54a153['on'](_0x5e643c(0x2a6),function(_0x3dc6d6,_0x1f1b0f){const _0x405560=_0x5e643c,_0x4b0b1d=!_0x1f1b0f&&_0x2e68d7['_readableState'][_0x405560(0x382)]?_0x3dc6d6[_0x405560(0x30a)]():_0x3dc6d6;_0x2e68d7[_0x405560(0x266)](_0x4b0b1d)||_0x54a153[_0x405560(0x389)]();}),_0x54a153[_0x5e643c(0x216)]('error',function(_0x1c1f8f){const _0x1dcefd=_0x5e643c;_0x2e68d7['destroyed']||(_0x53a6eb=!0x1,_0x2e68d7[_0x1dcefd(0x2ca)](_0x1c1f8f));}),_0x54a153[_0x5e643c(0x216)](_0x5e643c(0x2a0),function(){const _0x3e18a6=_0x5e643c;_0x2e68d7['destroyed']||_0x2e68d7[_0x3e18a6(0x266)](null);}),_0x2e68d7[_0x5e643c(0x2b2)]=function(_0x53b7e4,_0x59c256){const _0x5316c2=_0x5e643c;if(_0x54a153[_0x5316c2(0x2b5)]===_0x54a153[_0x5316c2(0x27f)]){_0x59c256(_0x53b7e4),process[_0x5316c2(0x340)](_0x3edafa,_0x2e68d7);return;}let _0x323604=!0x1;_0x54a153[_0x5316c2(0x216)]('error',function(_0x53f2c0){_0x323604=!0x0,_0x59c256(_0x53f2c0);}),_0x54a153[_0x5316c2(0x216)](_0x5316c2(0x2a0),function(){const _0x27db35=_0x5316c2;_0x323604||_0x59c256(_0x53b7e4),process[_0x27db35(0x340)](_0x3edafa,_0x2e68d7);}),_0x53a6eb&&_0x54a153[_0x5316c2(0x3a3)]();},_0x2e68d7['_final']=function(_0x1c80de){const _0x4ed0c7=_0x5e643c;if(_0x54a153[_0x4ed0c7(0x2b5)]===_0x54a153[_0x4ed0c7(0x24e)]){_0x54a153[_0x4ed0c7(0x216)]('open',function(){_0x2e68d7['_final'](_0x1c80de);});return;}_0x54a153[_0x4ed0c7(0x321)]!==null&&(_0x54a153['_socket'][_0x4ed0c7(0x204)]['finished']?(_0x1c80de(),_0x2e68d7[_0x4ed0c7(0x242)][_0x4ed0c7(0x25f)]&&_0x2e68d7[_0x4ed0c7(0x2ca)]()):(_0x54a153[_0x4ed0c7(0x321)][_0x4ed0c7(0x216)](_0x4ed0c7(0x203),function(){_0x1c80de();}),_0x54a153['close']()));},_0x2e68d7['_read']=function(){const _0x3fde2e=_0x5e643c;_0x54a153[_0x3fde2e(0x30e)]&&_0x54a153[_0x3fde2e(0x338)]();},_0x2e68d7[_0x5e643c(0x373)]=function(_0x5e2087,_0x3ff47c,_0x5d0963){const _0xcd24b=_0x5e643c;if(_0x54a153[_0xcd24b(0x2b5)]===_0x54a153[_0xcd24b(0x24e)]){_0x54a153['once'](_0xcd24b(0x32f),function(){_0x2e68d7['_write'](_0x5e2087,_0x3ff47c,_0x5d0963);});return;}_0x54a153[_0xcd24b(0x306)](_0x5e2087,_0x5d0963);},_0x2e68d7['on'](_0x5e643c(0x330),_0x292e9a),_0x2e68d7['on'](_0x5e643c(0x297),_0x5747a7),_0x2e68d7;}return Oe=_0x385ae6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1b49e0}=ne();function _0x26dace(_0x111a81){const _0x3ecba8=_0x2f80,_0x56337d=new Set();let _0x344f23=-0x1,_0x35bee5=-0x1,_0x11f68e=0x0;for(_0x11f68e;_0x11f68e<_0x111a81[_0x3ecba8(0x339)];_0x11f68e++){const _0x7d257a=_0x111a81[_0x3ecba8(0x228)](_0x11f68e);if(_0x35bee5===-0x1&&_0x1b49e0[_0x7d257a]===0x1)_0x344f23===-0x1&&(_0x344f23=_0x11f68e);else{if(_0x11f68e!==0x0&&(_0x7d257a===0x20||_0x7d257a===0x9))_0x35bee5===-0x1&&_0x344f23!==-0x1&&(_0x35bee5=_0x11f68e);else{if(_0x7d257a===0x2c){if(_0x344f23===-0x1)throw new SyntaxError(_0x3ecba8(0x27d)+_0x11f68e);_0x35bee5===-0x1&&(_0x35bee5=_0x11f68e);const _0x3631ec=_0x111a81[_0x3ecba8(0x28e)](_0x344f23,_0x35bee5);if(_0x56337d[_0x3ecba8(0x223)](_0x3631ec))throw new SyntaxError('The\x20\x22'+_0x3631ec+_0x3ecba8(0x366));_0x56337d[_0x3ecba8(0x2b7)](_0x3631ec),_0x344f23=_0x35bee5=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x11f68e);}}}if(_0x344f23===-0x1||_0x35bee5!==-0x1)throw new SyntaxError(_0x3ecba8(0x28f));const _0x4b3f8e=_0x111a81[_0x3ecba8(0x28e)](_0x344f23,_0x11f68e);if(_0x56337d[_0x3ecba8(0x223)](_0x4b3f8e))throw new SyntaxError(_0x3ecba8(0x225)+_0x4b3f8e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x56337d['add'](_0x4b3f8e),_0x56337d;}return Ce={'parse':_0x26dace},Ce;}var Te,ot;function er(){const _0x37b779=_0x374957;if(ot)return Te;ot=0x1;const _0x5f19a2=_0x74a247,_0x5b61f7=_0x42d105,{Duplex:_0x903f56}=_0x3d2ecc,{createHash:_0x1c5f83}=_0x4d189e,_0x50d3bf=pt(),_0x540b77=he(),_0x480682=Jt(),_0x3c7191=Ie(),{GUID:_0x486c4b,kWebSocket:_0x152c2c}=V(),_0x50fb13=/^[+/0-9A-Za-z]{22}==$/,_0x36ef49=0x0,_0x5f4b45=0x1,_0x352c45=0x2;class _0x3822eb extends _0x5f19a2{constructor(_0x125dcd,_0xcfbd01){const _0x13b9f9=_0x2f80;if(super(),_0x125dcd={'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':_0x3c7191,..._0x125dcd},_0x125dcd[_0x13b9f9(0x38b)]==null&&!_0x125dcd[_0x13b9f9(0x3a0)]&&!_0x125dcd['noServer']||_0x125dcd[_0x13b9f9(0x38b)]!=null&&(_0x125dcd[_0x13b9f9(0x3a0)]||_0x125dcd[_0x13b9f9(0x30f)])||_0x125dcd['server']&&_0x125dcd[_0x13b9f9(0x30f)])throw new TypeError(_0x13b9f9(0x273));if(_0x125dcd['port']!=null?(this[_0x13b9f9(0x285)]=_0x5b61f7[_0x13b9f9(0x2cd)]((_0x4a804f,_0xf37ffe)=>{const _0x20db36=_0x13b9f9,_0x43d05f=_0x5b61f7['STATUS_CODES'][0x1aa];_0xf37ffe[_0x20db36(0x220)](0x1aa,{'Content-Length':_0x43d05f[_0x20db36(0x339)],'Content-Type':_0x20db36(0x352)}),_0xf37ffe[_0x20db36(0x330)](_0x43d05f);}),this[_0x13b9f9(0x285)][_0x13b9f9(0x25a)](_0x125dcd[_0x13b9f9(0x38b)],_0x125dcd[_0x13b9f9(0x218)],_0x125dcd[_0x13b9f9(0x2a2)],_0xcfbd01)):_0x125dcd[_0x13b9f9(0x3a0)]&&(this[_0x13b9f9(0x285)]=_0x125dcd['server']),this[_0x13b9f9(0x285)]){const _0x25e375=this[_0x13b9f9(0x35f)][_0x13b9f9(0x26e)](this,_0x13b9f9(0x2dd));this[_0x13b9f9(0x316)]=_0x4a7edc(this[_0x13b9f9(0x285)],{'listening':this[_0x13b9f9(0x35f)][_0x13b9f9(0x26e)](this,'listening'),'error':this['emit'][_0x13b9f9(0x26e)](this,_0x13b9f9(0x297)),'upgrade':(_0x4421f4,_0x2f2071,_0x1923db)=>{const _0x236a6c=_0x13b9f9;this[_0x236a6c(0x349)](_0x4421f4,_0x2f2071,_0x1923db,_0x25e375);}});}_0x125dcd['perMessageDeflate']===!0x0&&(_0x125dcd[_0x13b9f9(0x34d)]={}),_0x125dcd[_0x13b9f9(0x294)]&&(this[_0x13b9f9(0x2c3)]=new Set(),this[_0x13b9f9(0x33e)]=!0x1),this[_0x13b9f9(0x318)]=_0x125dcd,this['_state']=_0x36ef49;}[_0x37b779(0x375)](){const _0x575414=_0x37b779;if(this[_0x575414(0x318)][_0x575414(0x30f)])throw new Error(_0x575414(0x263));return this[_0x575414(0x285)]?this['_server']['address']():null;}[_0x37b779(0x2a0)](_0x5b9d52){const _0x52388a=_0x37b779;if(this[_0x52388a(0x302)]===_0x352c45){_0x5b9d52&&this[_0x52388a(0x216)](_0x52388a(0x2a0),()=>{const _0x108ba6=_0x52388a;_0x5b9d52(new Error(_0x108ba6(0x2fc)));}),process[_0x52388a(0x340)](_0x51e21a,this);return;}if(_0x5b9d52&&this[_0x52388a(0x216)](_0x52388a(0x2a0),_0x5b9d52),this['_state']!==_0x5f4b45){if(this[_0x52388a(0x302)]=_0x5f4b45,this['options'][_0x52388a(0x30f)]||this[_0x52388a(0x318)][_0x52388a(0x3a0)])this[_0x52388a(0x285)]&&(this[_0x52388a(0x316)](),this['_removeListeners']=this['_server']=null),this[_0x52388a(0x2c3)]?this['clients'][_0x52388a(0x2db)]?this[_0x52388a(0x33e)]=!0x0:process[_0x52388a(0x340)](_0x51e21a,this):process[_0x52388a(0x340)](_0x51e21a,this);else{const _0x844d33=this[_0x52388a(0x285)];this['_removeListeners'](),this[_0x52388a(0x316)]=this[_0x52388a(0x285)]=null,_0x844d33[_0x52388a(0x2a0)](()=>{_0x51e21a(this);});}}}[_0x37b779(0x2ac)](_0x201630){const _0x16b0e9=_0x37b779;if(this[_0x16b0e9(0x318)][_0x16b0e9(0x2f6)]){const _0x3f5261=_0x201630[_0x16b0e9(0x358)][_0x16b0e9(0x205)]('?');if((_0x3f5261!==-0x1?_0x201630[_0x16b0e9(0x358)][_0x16b0e9(0x28e)](0x0,_0x3f5261):_0x201630[_0x16b0e9(0x358)])!==this[_0x16b0e9(0x318)][_0x16b0e9(0x2f6)])return!0x1;}return!0x0;}[_0x37b779(0x349)](_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256){const _0x63b3f1=_0x37b779;_0xfef0d3['on'](_0x63b3f1(0x297),_0x52470e);const _0x29b79d=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x304)],_0x3fcb2e=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x2bd)],_0x5269db=+_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x232)];if(_0x2c375c[_0x63b3f1(0x22a)]!==_0x63b3f1(0x2b1)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x3fcb2e===void 0x0||_0x3fcb2e[_0x63b3f1(0x2fd)]()!==_0x63b3f1(0x383)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x29b79d===void 0x0||!_0x50fb13[_0x63b3f1(0x2fa)](_0x29b79d)){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5269db!==0xd&&_0x5269db!==0x8){_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x1fc),{'Sec-WebSocket-Version':_0x63b3f1(0x2ef)});return;}if(!this[_0x63b3f1(0x2ac)](_0x2c375c)){_0x112520(_0xfef0d3,0x190);return;}const _0x364e53=_0x2c375c[_0x63b3f1(0x27b)][_0x63b3f1(0x30c)];let _0xb42218=new Set();if(_0x364e53!==void 0x0)try{_0xb42218=_0x480682[_0x63b3f1(0x39b)](_0x364e53);}catch{_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x2e7));return;}const _0x4620a1=_0x2c375c['headers']['sec-websocket-extensions'],_0x3dd1a1={};if(this[_0x63b3f1(0x318)][_0x63b3f1(0x34d)]&&_0x4620a1!==void 0x0){const _0x4fb238=new _0x540b77(this[_0x63b3f1(0x318)][_0x63b3f1(0x34d)],!0x0,this[_0x63b3f1(0x318)][_0x63b3f1(0x2c7)]);try{const _0x2da125=_0x50d3bf[_0x63b3f1(0x39b)](_0x4620a1);_0x2da125[_0x540b77[_0x63b3f1(0x34e)]]&&(_0x4fb238[_0x63b3f1(0x37d)](_0x2da125[_0x540b77[_0x63b3f1(0x34e)]]),_0x3dd1a1[_0x540b77[_0x63b3f1(0x34e)]]=_0x4fb238);}catch{_0x3ebc85(this,_0x2c375c,_0xfef0d3,0x190,_0x63b3f1(0x290));return;}}if(this[_0x63b3f1(0x318)]['verifyClient']){const _0x2c52b4={'origin':_0x2c375c[_0x63b3f1(0x27b)][''+(_0x5269db===0x8?_0x63b3f1(0x226):_0x63b3f1(0x258))],'secure':!!(_0x2c375c[_0x63b3f1(0x36b)][_0x63b3f1(0x393)]||_0x2c375c[_0x63b3f1(0x36b)][_0x63b3f1(0x2d2)]),'req':_0x2c375c};if(this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)]['length']===0x2){this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)](_0x2c52b4,(_0x29ff25,_0x19f6e3,_0x2bbf1,_0x36df9e)=>{const _0x354844=_0x63b3f1;if(!_0x29ff25)return _0x112520(_0xfef0d3,_0x19f6e3||0x191,_0x2bbf1,_0x36df9e);this[_0x354844(0x3a2)](_0x3dd1a1,_0x29b79d,_0xb42218,_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256);});return;}if(!this[_0x63b3f1(0x318)][_0x63b3f1(0x2d1)](_0x2c52b4))return _0x112520(_0xfef0d3,0x191);}this[_0x63b3f1(0x3a2)](_0x3dd1a1,_0x29b79d,_0xb42218,_0x2c375c,_0xfef0d3,_0x3cb1b0,_0x5dd256);}[_0x37b779(0x3a2)](_0x5c3b6a,_0x45593b,_0xdce59a,_0x4bc37c,_0x1de5e5,_0x3cc9cb,_0x1fd9fa){const _0x3044b2=_0x37b779;if(!_0x1de5e5[_0x3044b2(0x27a)]||!_0x1de5e5[_0x3044b2(0x2dc)])return _0x1de5e5['destroy']();if(_0x1de5e5[_0x152c2c])throw new Error(_0x3044b2(0x29b));if(this['_state']>_0x36ef49)return _0x112520(_0x1de5e5,0x1f7);const _0x266bb3=[_0x3044b2(0x33d),_0x3044b2(0x309),'Connection:\x20Upgrade',_0x3044b2(0x39c)+_0x1c5f83(_0x3044b2(0x361))[_0x3044b2(0x31c)](_0x45593b+_0x486c4b)[_0x3044b2(0x291)](_0x3044b2(0x317))],_0x24415a=new this[(_0x3044b2(0x318))][(_0x3044b2(0x33a))](null,void 0x0,this[_0x3044b2(0x318)]);if(_0xdce59a['size']){const _0x37cf5e=this[_0x3044b2(0x318)][_0x3044b2(0x27c)]?this[_0x3044b2(0x318)][_0x3044b2(0x27c)](_0xdce59a,_0x4bc37c):_0xdce59a['values']()['next']()[_0x3044b2(0x368)];_0x37cf5e&&(_0x266bb3[_0x3044b2(0x266)]('Sec-WebSocket-Protocol:\x20'+_0x37cf5e),_0x24415a[_0x3044b2(0x279)]=_0x37cf5e);}if(_0x5c3b6a[_0x540b77[_0x3044b2(0x34e)]]){const _0x3dd4d0=_0x5c3b6a[_0x540b77[_0x3044b2(0x34e)]][_0x3044b2(0x29f)],_0x249ddd=_0x50d3bf[_0x3044b2(0x313)]({[_0x540b77['extensionName']]:[_0x3dd4d0]});_0x266bb3[_0x3044b2(0x266)](_0x3044b2(0x214)+_0x249ddd),_0x24415a['_extensions']=_0x5c3b6a;}this[_0x3044b2(0x35f)](_0x3044b2(0x27b),_0x266bb3,_0x4bc37c),_0x1de5e5[_0x3044b2(0x2d9)](_0x266bb3[_0x3044b2(0x2aa)]('\x0d\x0a')[_0x3044b2(0x29c)]('\x0d\x0a')),_0x1de5e5[_0x3044b2(0x344)](_0x3044b2(0x297),_0x52470e),_0x24415a[_0x3044b2(0x30b)](_0x1de5e5,_0x3cc9cb,{'allowSynchronousEvents':this[_0x3044b2(0x318)]['allowSynchronousEvents'],'maxPayload':this[_0x3044b2(0x318)][_0x3044b2(0x2c7)],'skipUTF8Validation':this[_0x3044b2(0x318)][_0x3044b2(0x219)]}),this[_0x3044b2(0x2c3)]&&(this[_0x3044b2(0x2c3)][_0x3044b2(0x2b7)](_0x24415a),_0x24415a['on'](_0x3044b2(0x2a0),()=>{const _0x2f87ad=_0x3044b2;this[_0x2f87ad(0x2c3)][_0x2f87ad(0x38e)](_0x24415a),this[_0x2f87ad(0x33e)]&&!this[_0x2f87ad(0x2c3)][_0x2f87ad(0x2db)]&&process['nextTick'](_0x51e21a,this);})),_0x1fd9fa(_0x24415a,_0x4bc37c);}}Te=_0x3822eb;function _0x4a7edc(_0x17127b,_0x5b4615){const _0x848a15=_0x37b779;for(const _0x1533ae of Object[_0x848a15(0x2f5)](_0x5b4615))_0x17127b['on'](_0x1533ae,_0x5b4615[_0x1533ae]);return function(){for(const _0x1f8d96 of Object['keys'](_0x5b4615))_0x17127b['removeListener'](_0x1f8d96,_0x5b4615[_0x1f8d96]);};}function _0x51e21a(_0x53d13c){const _0xa7d473=_0x37b779;_0x53d13c[_0xa7d473(0x302)]=_0x352c45,_0x53d13c['emit'](_0xa7d473(0x2a0));}function _0x52470e(){this['destroy']();}function _0x112520(_0x4edd8c,_0x1113de,_0xf04c0d,_0x1bb20b){const _0x1eb9c4=_0x37b779;_0xf04c0d=_0xf04c0d||_0x5b61f7['STATUS_CODES'][_0x1113de],_0x1bb20b={'Connection':_0x1eb9c4(0x2a0),'Content-Type':_0x1eb9c4(0x37f),'Content-Length':Buffer[_0x1eb9c4(0x354)](_0xf04c0d),..._0x1bb20b},_0x4edd8c[_0x1eb9c4(0x216)](_0x1eb9c4(0x203),_0x4edd8c['destroy']),_0x4edd8c[_0x1eb9c4(0x330)](_0x1eb9c4(0x2e8)+_0x1113de+'\x20'+_0x5b61f7[_0x1eb9c4(0x2b4)][_0x1113de]+'\x0d\x0a'+Object['keys'](_0x1bb20b)[_0x1eb9c4(0x355)](_0x4eb320=>_0x4eb320+':\x20'+_0x1bb20b[_0x4eb320])[_0x1eb9c4(0x29c)]('\x0d\x0a')+_0x1eb9c4(0x39a)+_0xf04c0d);}function _0x3ebc85(_0x4ac31c,_0x3e7740,_0x38c42e,_0x127874,_0x932aba,_0x2fcff5){const _0x2804c5=_0x37b779;if(_0x4ac31c[_0x2804c5(0x26a)](_0x2804c5(0x325))){const _0x1fada7=new Error(_0x932aba);Error[_0x2804c5(0x37c)](_0x1fada7,_0x3ebc85),_0x4ac31c[_0x2804c5(0x35f)]('wsClientError',_0x1fada7,_0x38c42e,_0x3e7740);}else _0x112520(_0x38c42e,_0x127874,_0x932aba,_0x2fcff5);}return Te;}er();var tr=Object[_0x374957(0x245)],rr=(_0x27cb7e,_0x2b455b,_0x61ed23,_0x5982f0)=>{const _0x57ecb8=_0x374957;for(var _0x25f400=_0x5982f0>0x1?void 0x0:_0x5982f0?tr(_0x2b455b,_0x61ed23):_0x2b455b,_0xdb3000=_0x27cb7e[_0x57ecb8(0x339)]-0x1,_0x5f5bbf;_0xdb3000>=0x0;_0xdb3000--)(_0x5f5bbf=_0x27cb7e[_0xdb3000])&&(_0x25f400=_0x5f5bbf(_0x25f400)||_0x25f400);return _0x25f400;},sr=(_0x1883c7,_0x115c3b)=>(_0x5707a7,_0x14415f)=>_0x115c3b(_0x5707a7,_0x14415f,_0x1883c7);let Ne=class extends _0x529da3{constructor(_0xcd81f8){const _0x53d8fa=_0x374957;super(),this[_0x53d8fa(0x323)]=_0xcd81f8;}[_0x374957(0x27e)](_0x24ce3b){const _0x118556=_0x374957;var _0x240622;const _0x8cc398=(_0x240622=this[_0x118556(0x323)][_0x118556(0x24c)](Be))==null?void 0x0:_0x240622['customHeaders'];try{const _0x191e57=new Qt(_0x24ce3b,{'headers':{..._0x8cc398}}),_0x57eb13=new _0x14d140();return{'URL':_0x24ce3b,'close':(_0x44a983,_0x51f26d)=>{const _0x50e7f2=_0x118556;_0x191e57[_0x50e7f2(0x2a0)](_0x44a983,_0x51f26d),_0x57eb13['dispose']();},'send':_0x3494f6=>{const _0x4ed4c2=_0x118556;_0x191e57[_0x4ed4c2(0x306)](_0x3494f6);},'open$':new _0x33871b(_0x42f6d0=>{const _0x1894f6=_0x118556,_0x1ce48e=_0xb5943a=>_0x42f6d0[_0x1894f6(0x380)](_0xb5943a);_0x191e57[_0x1894f6(0x278)](_0x1894f6(0x32f),_0x1ce48e),_0x57eb13[_0x1894f6(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x1894f6(0x371)]('open',_0x1ce48e)));})[_0x118556(0x21d)](_0x186291()),'close$':new _0x33871b(_0x904105=>{const _0x134ba2=_0x118556,_0x451bb1=_0x2952c9=>_0x904105[_0x134ba2(0x380)](_0x2952c9);_0x191e57[_0x134ba2(0x278)](_0x134ba2(0x2a0),_0x451bb1),_0x57eb13[_0x134ba2(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x134ba2(0x371)](_0x134ba2(0x2a0),_0x451bb1)));})['pipe'](_0x186291()),'error$':new _0x33871b(_0x7332ca=>{const _0x4d7d3a=_0x118556,_0x3d408b=_0x58386c=>_0x7332ca['next'](_0x58386c);_0x191e57[_0x4d7d3a(0x278)]('error',_0x3d408b),_0x57eb13[_0x4d7d3a(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x4d7d3a(0x371)](_0x4d7d3a(0x297),_0x3d408b)));})[_0x118556(0x21d)](_0x186291()),'message$':new _0x33871b(_0x3973eb=>{const _0x22c153=_0x118556,_0x4e35d9=_0x4be2cf=>_0x3973eb[_0x22c153(0x380)](_0x4be2cf);_0x191e57[_0x22c153(0x278)](_0x22c153(0x2a6),_0x4e35d9),_0x57eb13[_0x22c153(0x2b7)](_0x51f2a3(()=>_0x191e57[_0x22c153(0x371)](_0x22c153(0x2a6),_0x4e35d9)));})[_0x118556(0x21d)](_0x186291())};}catch(_0x3076e9){return console['error'](_0x3076e9),null;}}};Ne=rr([sr(0x0,_0x1b1d96)],Ne);var ir=Object['defineProperty'],nr=Object['getOwnPropertyDescriptor'],or=(_0x102c0a,_0x5d1fd6,_0x36d5b2)=>_0x5d1fd6 in _0x102c0a?ir(_0x102c0a,_0x5d1fd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36d5b2}):_0x102c0a[_0x5d1fd6]=_0x36d5b2,ar=(_0x4e62a5,_0x364fd5,_0x26dcd0,_0x3d80c5)=>{const _0x342924=_0x374957;for(var _0x58fb4f=_0x3d80c5>0x1?void 0x0:_0x3d80c5?nr(_0x364fd5,_0x26dcd0):_0x364fd5,_0x2c4ea7=_0x4e62a5[_0x342924(0x339)]-0x1,_0x45a4a7;_0x2c4ea7>=0x0;_0x2c4ea7--)(_0x45a4a7=_0x4e62a5[_0x2c4ea7])&&(_0x58fb4f=_0x45a4a7(_0x58fb4f)||_0x58fb4f);return _0x58fb4f;},ke=(_0x38b06e,_0x516db3)=>(_0x2de233,_0x514d38)=>_0x516db3(_0x2de233,_0x514d38,_0x38b06e),lr=(_0x36ba48,_0x4b7a45,_0xfb3fe)=>or(_0x36ba48,_0x4b7a45+'',_0xfb3fe);let Pe=class extends _0x3d7a1f{constructor(_0x5a12fa=Ft,_0x3d0a29,_0x5b1413,_0x1a9f8e){const _0x53e31a=_0x374957;_0x5a12fa[_0x53e31a(0x2c4)]||_0x3d0a29[_0x53e31a(0x221)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x53e31a(0x323)]=_0x5b1413,this[_0x53e31a(0x1f4)]=_0x1a9f8e,this[_0x53e31a(0x323)]['setConfig'](Be,_0x5a12fa);}[_0x374957(0x26f)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x1d2f1f=_0x374957;_0x474173(this[_0x1d2f1f(0x1f4)],[[_0x315535,{'useClass':Ne}]]);}};lr(Pe,_0x374957(0x295),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2ad880(_0x94a5cf),ke(0x1,_0x21463b),ke(0x2,_0x1b1d96),ke(0x3,_0x233579(_0x41e164))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x341b6,_0x4c3b14,_0x61ebd,_0x44595f)=>{for(var _0x5eddd0=_0x44595f>0x1?void 0x0:_0x44595f?fr(_0x4c3b14,_0x61ebd):_0x4c3b14,_0x35e09b=_0x341b6['length']-0x1,_0xfb3f6a;_0x35e09b>=0x0;_0x35e09b--)(_0xfb3f6a=_0x341b6[_0x35e09b])&&(_0x5eddd0=_0xfb3f6a(_0x5eddd0)||_0x5eddd0);return _0x5eddd0;},se=(_0x2049d1,_0x337c9b)=>(_0x2b1c2f,_0x54db53)=>_0x337c9b(_0x2b1c2f,_0x54db53,_0x2049d1);let at=class extends _0x595e77{constructor(_0x5827d9,_0x26b7be,_0x4f5301,_0x19d9e4,_0x40d1d1){const _0x46ad14=_0x374957;super(_0x5827d9,_0x26b7be,_0x4f5301,_0x19d9e4,_0x40d1d1);const _0x1cd278=this[_0x46ad14(0x323)]['getConfig'](Be);this[_0x46ad14(0x2d8)]['registerHTTPInterceptor']({'interceptor':(_0x2e7709,_0x2178ee)=>{const _0x7d01bf=_0x46ad14;var _0x560cf9;const _0x314aca=_0x2e7709[_0x7d01bf(0x27b)];return(_0x560cf9=_0x1cd278==null?void 0x0:_0x1cd278[_0x7d01bf(0x2c4)])!=null&&_0x560cf9['cookie']&&_0x314aca[_0x7d01bf(0x2b8)]('Cookie',_0x1cd278[_0x7d01bf(0x2c4)][_0x7d01bf(0x238)]),_0x2178ee(_0x2e7709);}});}async['createSocket'](_0xfe66af){const _0x3d798d=_0x374957;return this[_0x3d798d(0x367)](_0xfe66af);}};at=cr([se(0x0,_0x233579(_0x41e164)),se(0x1,_0x233579(_0x5b756c)),se(0x2,_0x1b1d96),se(0x3,_0x21463b),se(0x4,_0x428826)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x5b728b=_0x4100;(function(_0x48533a,_0x2a426e){const _0x4d8a5d=_0x4100,_0x17da10=_0x48533a();while(!![]){try{const _0x28ad28=parseInt(_0x4d8a5d(0x195))/0x1*(parseInt(_0x4d8a5d(0x1ce))/0x2)+parseInt(_0x4d8a5d(0x166))/0x3*(-parseInt(_0x4d8a5d(0x22a))/0x4)+parseInt(_0x4d8a5d(0x189))/0x5+-parseInt(_0x4d8a5d(0x213))/0x6+-parseInt(_0x4d8a5d(0x176))/0x7+parseInt(_0x4d8a5d(0x196))/0x8*(-parseInt(_0x4d8a5d(0x2b5))/0x9)+-parseInt(_0x4d8a5d(0x143))/0xa*(-parseInt(_0x4d8a5d(0x21b))/0xb);if(_0x28ad28===_0x2a426e)break;else _0x17da10['push'](_0x17da10['shift']());}catch(_0xd01fb5){_0x17da10['push'](_0x17da10['shift']());}}}(_0x3715,0x8ef4a));import{UniverCollaborationClientPlugin as _0xa8514a,CollaborationSocketService as _0x1b1864}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4b1b9e,DisposableCollection as _0x1d42ea,toDisposable as _0x6542e1,IConfigService as _0x384188,DependentOn as _0x215725,ILogService as _0x221c24,Inject as _0x2c5d81,Injector as _0x2a4fdc,Plugin as _0x310afa,registerDependencies as _0x44617f}from'@univerjs/core';import{ISocketService as _0x396340,HTTPService as _0x1a9112}from'@univerjs/network';import{Observable as _0x3bf40d,share as _0x494739}from'rxjs';import _0x26b4d0 from'events';import _0x1e9eb from'https';import _0x480143 from'http';import _0x3e7207 from'net';import _0x22978d from'tls';import _0xa82a62 from'crypto';import _0x423274 from'stream';import _0x468647 from'url';import _0x46dace from'zlib';import _0x52885b from'buffer';import{ISnapshotServerService as _0x51a01f}from'@univerjs-pro/collaboration';const Be=_0x5b728b(0x1ef),Ft={'customHeaders':{}};function Wt(_0x2f2567){const _0x5a0a84=_0x5b728b;return _0x2f2567&&_0x2f2567[_0x5a0a84(0x2dc)]&&Object['prototype'][_0x5a0a84(0x1a7)][_0x5a0a84(0x262)](_0x2f2567,_0x5a0a84(0x2b9))?_0x2f2567[_0x5a0a84(0x2b9)]:_0x2f2567;}function ut(_0x1df971){const _0x78eb02=_0x5b728b;if(Object['prototype'][_0x78eb02(0x1a7)][_0x78eb02(0x262)](_0x1df971,'__esModule'))return _0x1df971;var _0x1443bb=_0x1df971[_0x78eb02(0x2b9)];if(typeof _0x1443bb==_0x78eb02(0x1b5)){var _0x7a7412=function _0x1c38b6(){const _0x483a38=_0x78eb02;var _0x1ada5d=!0x1;try{_0x1ada5d=this instanceof _0x1c38b6;}catch{}return _0x1ada5d?Reflect[_0x483a38(0x202)](_0x1443bb,arguments,this['constructor']):_0x1443bb[_0x483a38(0x246)](this,arguments);};_0x7a7412[_0x78eb02(0x199)]=_0x1443bb[_0x78eb02(0x199)];}else _0x7a7412={};return Object[_0x78eb02(0x218)](_0x7a7412,_0x78eb02(0x2dc),{'value':!0x0}),Object[_0x78eb02(0x1bb)](_0x1df971)[_0x78eb02(0x1d8)](function(_0x2b20ec){const _0x411844=_0x78eb02;var _0x477ad7=Object[_0x411844(0x298)](_0x1df971,_0x2b20ec);Object[_0x411844(0x218)](_0x7a7412,_0x2b20ec,_0x477ad7[_0x411844(0x1af)]?_0x477ad7:{'enumerable':!0x0,'get':function(){return _0x1df971[_0x2b20ec];}});}),_0x7a7412;}function _0x3715(){const _0x1a5e47=['toLowerCase','charCodeAt','client','The\x20server\x20is\x20not\x20running','enqueue','serverMaxWindowBits','kAborted','port','digest','sec-websocket-extensions','address','_injector','drain','_bufferedAmount','callback','setSocket','_isServer','HTTP/1.1\x20101\x20Switching\x20Protocols','createSocket','finished','__esModule','serverNoContextTakeover','setHeader','\x22:\x20','completeUpgrade','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','url','onerror','value','handleUpgrade','buffer','byteLength','_errorEmitted','Maximum\x20redirects\x20exceeded','toStringTag','nodebuffer','resume','createConnection','then','ws+unix:','cork','Invalid\x20URL:\x20','exports','kMessage','70MBGldA','conclude','writeUIntBE','removeListener','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x20','stream','dataMessage','method','defaultPort','Unexpected\x20end\x20of\x20input','errorEmitted','_deflate','client_max_window_bits','startLoop','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','GET','isPaused','invalid\x20opcode\x200','includes','target','replace','code','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kTarget','getBlobData','Unexpected\x20character\x20at\x20index\x20','Parameter\x20\x22','unexpected-response','_registerDependencies','headers','_writableState','isInteger','zlibDeflateOptions','kDone','1493835lmydUF','WS_NO_UTF_8_VALIDATE','_server','extensionName','isIP','onmessage','request','text/html','Connection:\x20Upgrade','WS_ERR_INVALID_UTF8','13,\x208','_max_window_bits','destroyed','_originalHostOrSocketPath','getPayloadLength64','arraybuffer','7977865FuuOkb','_loop','pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','create','server_no_context_takeover','readUInt32BE','cookie','open','_closeCode','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_firstFragment','indexOf','sec-websocket-key','fragments','has','autoPong','data','pathname','989995KvEJSC','_totalPayloadLength','options','getPayloadLength16','_url','byteOffset','clientTracking','concurrencyLimit','servername','invalid\x20payload\x20length\x20','maxRedirects','_configService','1153009SpWNUg','3328UhvLWy','_opcode','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','prototype','objectMode','Sec-WebSocket-Origin','removeAllListeners','getInfo','invalid\x20opcode\x20','Invalid\x20HTTP\x20method','redirect','_extensions','write','test','concurrency','getData','kRun','hasOwnProperty','_decompress','handleProtocols','registerHTTPInterceptor','split','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','listeners','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','get','socketPath','_closeFrameReceived','clientNoContextTakeover','_shouldEmitClose','_payloadLength','function','push','sha1','nextTick','rsv1','binary','keys','Sec-WebSocket-Protocol','pow','entries','_messageLength','CLOSING','_receiver','total-length','_buffers','compress','flush','kType','freeze','threshold','path','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','base64','WS_ERR_EXPECTED_FIN','_state','2lOZbZM','_closeFrameSent','createInflateRaw','clientMaxWindowBits','length','send','isValidUTF8','OPEN','join','statusCode','forEach','binaryType','WS_NO_BUFFER_UTIL','password','dispatch','invalid\x20status\x20code\x20','allocUnsafe','_sender','once','createError','HTTP/1.1\x20','MASK\x20must\x20be\x20clear','readOnly','socket','_compress','handshakeTimeout','skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','bind','end','_fragmented','_allowSynchronousEvents','acceptAsClient','collaboration-client-node.config','destroy','origin','unshift','protocolVersion','next','endEmitted','type','_req','websocket','kIsForOnEventAttribute','clients','update','_skipUTF8Validation','opcode','ws:','auth','Sec-WebSocket-Protocol:\x20','alloc','construct','backlog','size','slice','server','Module','\x20(supported\x20versions:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','species','unmask','WS_ERR_INVALID_OPCODE','pong','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','find','_bufferedBytes','setTimeout','Z_SYNC_FLUSH','3608490IazLef','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sec-websocket-origin','_originalIpc','onStarting','defineProperty','ping','protocol','3274645rkEfvS','The\x20\x22','CONNECTING','_fragments','setNoDelay','allowSynchronousEvents','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','username','_httpService','WebSocket','STATUS_CODES','RSV1\x20must\x20be\x20clear','kError','sendFrame','env','4SvVhDI','buffers','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_removeListeners','accept','kReason','CLOSED','abort','_no_context_takeover','followRedirects','frame','noServer','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wsClientError','\x22\x20subprotocol\x20is\x20duplicated','error','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','href','Sec-WebSocket-Accept:\x20','reason','cleanup','sec-websocket-protocol','Origin','client_no_context_takeover','_autoPong','customHeaders','createDeflateRaw','pipe','apply','message','Invalid\x20Sec-WebSocket-Accept\x20header','mask','_closeTimer','text/plain','_redirects','_mask','_masked','normalizeParams','from','hash','bufferedAmount','shift','WS_ERR_UNEXPECTED_RSV_1','_options','sec-websocket-accept','server_max_window_bits','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','readyState','authorization','read','Max\x20payload\x20size\x20exceeded','listen','_generateMask','host','emit','https:','call','haveLength','_binaryType','_inflate','isArray','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','wasClean','kData','parse','uncork','removeEventListener','response','reset','acceptAsServer','add','consume','Invalid\x20Upgrade\x20header','_errored','string','getConfig','WS_ERR_UNEXPECTED_RSV_2_3','_socket','onclose','fin','wss:','dequeue','timeout','values','upgrade','invalid\x20UTF-8\x20sequence','\x0d\x0a\x0d\x0a','startsWith','emitClose','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','blob','finishRequest','_queue','controlMessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_closeMessage','object','_doCreateSocket','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','catch','_maxPayload','shouldHandle','maxPayload','File','kByteLength','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','decompress','The\x20URL\x20contains\x20a\x20fragment\x20identifier','captureStackTrace','getOwnPropertyDescriptor','Invalid\x20Sec-WebSocket-Extensions\x20header','map','_read','_threshold','getMask','Invalid\x20Sec-WebSocket-Protocol\x20header','needDrain','params','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','verifyClient','onopen','\x22\x20must\x20have\x20only\x20a\x20single\x20value','extensions','_paused','pending','sec-websocket-version','concat','writeUInt16BE','_fin','maskBuffer','MASK\x20must\x20be\x20set','pause','jobs','toString','readUInt16BE','set','listenerCount','offer','13203fCxfva','_final','perMessageDeflate','hostname','default','close','permessage-deflate','Invalid\x20value\x20for\x20parameter\x20\x22','connection','_destroy','Unexpected\x20server\x20response:\x20','number','Invalid\x20WebSocket\x20frame:\x20','_write','_readyState','_maskBuffer','Upgrade:\x20websocket','generateMask','addEventListener'];_0x3715=function(){return _0x1a5e47;};return _0x3715();}var te={'exports':{}},ge,Ye;function V(){const _0x3057af=_0x5b728b;if(Ye)return ge;Ye=0x1;const _0x404fe1=[_0x3057af(0x2eb),_0x3057af(0x175),_0x3057af(0x184)],_0x4dff21=typeof Blob<'u';return _0x4dff21&&_0x404fe1[_0x3057af(0x1b6)]('blob'),ge={'BINARY_TYPES':_0x404fe1,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x3057af(0x1ac),'hasBlob':_0x4dff21,'kForOnEventAttribute':Symbol(_0x3057af(0x1f9)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x3057af(0x1f8)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x5b728b(0x2ea)],{'value':_0x5b728b(0x207)})),Vt=ut(Gt);var Ke;function ce(){const _0x1cd62d=_0x5b728b;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x22a3bf}=V(),_0x6c7aa8=Buffer[Symbol[_0x1cd62d(0x20a)]];function _0x53d221(_0x229be5,_0x271b96){const _0x178b27=_0x1cd62d;if(_0x229be5[_0x178b27(0x1d2)]===0x0)return _0x22a3bf;if(_0x229be5[_0x178b27(0x1d2)]===0x1)return _0x229be5[0x0];const _0x5e7359=Buffer[_0x178b27(0x1de)](_0x271b96);let _0x49fa59=0x0;for(let _0x356557=0x0;_0x356557<_0x229be5[_0x178b27(0x1d2)];_0x356557++){const _0x4ff9ca=_0x229be5[_0x356557];_0x5e7359['set'](_0x4ff9ca,_0x49fa59),_0x49fa59+=_0x4ff9ca[_0x178b27(0x1d2)];}return _0x49fa59<_0x271b96?new _0x6c7aa8(_0x5e7359[_0x178b27(0x2e6)],_0x5e7359[_0x178b27(0x18e)],_0x49fa59):_0x5e7359;}function _0x4fbec2(_0x36efcc,_0x2bbd2c,_0x4894ef,_0x1ea942,_0x5c6021){for(let _0x5b1de6=0x0;_0x5b1de6<_0x5c6021;_0x5b1de6++)_0x4894ef[_0x1ea942+_0x5b1de6]=_0x36efcc[_0x5b1de6]^_0x2bbd2c[_0x5b1de6&0x3];}function _0x54f9da(_0x537689,_0x5ea407){for(let _0x5e2c8f=0x0;_0x5e2c8f<_0x537689['length'];_0x5e2c8f++)_0x537689[_0x5e2c8f]^=_0x5ea407[_0x5e2c8f&0x3];}function _0x50a603(_0x2b1d6f){const _0x2538d2=_0x1cd62d;return _0x2b1d6f['length']===_0x2b1d6f[_0x2538d2(0x2e6)][_0x2538d2(0x2e7)]?_0x2b1d6f[_0x2538d2(0x2e6)]:_0x2b1d6f[_0x2538d2(0x2e6)][_0x2538d2(0x205)](_0x2b1d6f[_0x2538d2(0x18e)],_0x2b1d6f[_0x2538d2(0x18e)]+_0x2b1d6f[_0x2538d2(0x1d2)]);}function _0x4994d3(_0x22773b){const _0x104941=_0x1cd62d;if(_0x4994d3['readOnly']=!0x0,Buffer['isBuffer'](_0x22773b))return _0x22773b;let _0x23a7b5;return _0x22773b instanceof ArrayBuffer?_0x23a7b5=new _0x6c7aa8(_0x22773b):ArrayBuffer['isView'](_0x22773b)?_0x23a7b5=new _0x6c7aa8(_0x22773b[_0x104941(0x2e6)],_0x22773b['byteOffset'],_0x22773b[_0x104941(0x2e7)]):(_0x23a7b5=Buffer[_0x104941(0x250)](_0x22773b),_0x4994d3['readOnly']=!0x1),_0x23a7b5;}if(te['exports']={'concat':_0x53d221,'mask':_0x4fbec2,'toArrayBuffer':_0x50a603,'toBuffer':_0x4994d3,'unmask':_0x54f9da},!process[_0x1cd62d(0x229)][_0x1cd62d(0x1da)])try{const _0x5ac76b=Vt;te[_0x1cd62d(0x141)][_0x1cd62d(0x249)]=function(_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde){const _0x2e7ad7=_0x1cd62d;_0x4a9dde<0x30?_0x4fbec2(_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde):_0x5ac76b[_0x2e7ad7(0x249)](_0x3a7987,_0x2d8713,_0x389e5b,_0x3b3d1a,_0x4a9dde);},te['exports'][_0x1cd62d(0x20b)]=function(_0x1267af,_0xb23f0d){const _0x1a0129=_0x1cd62d;_0x1267af[_0x1a0129(0x1d2)]<0x20?_0x54f9da(_0x1267af,_0xb23f0d):_0x5ac76b[_0x1a0129(0x20b)](_0x1267af,_0xb23f0d);};}catch{}return te[_0x1cd62d(0x141)];}var ye,Xe;function qt(){const _0x4849ff=_0x5b728b;if(Xe)return ye;Xe=0x1;const _0x516bd9=Symbol(_0x4849ff(0x165)),_0x57a60e=Symbol(_0x4849ff(0x1a6));class _0x5b43ea{constructor(_0x10262b){const _0x4f75f3=_0x4849ff;this[_0x516bd9]=()=>{this['pending']--,this[_0x57a60e]();},this[_0x4f75f3(0x1a4)]=_0x10262b||0x1/0x0,this['jobs']=[],this[_0x4f75f3(0x2a7)]=0x0;}[_0x4849ff(0x270)](_0x3f12b8){const _0x17aec5=_0x4849ff;this[_0x17aec5(0x2af)][_0x17aec5(0x1b6)](_0x3f12b8),this[_0x57a60e]();}[_0x57a60e](){const _0x10fc23=_0x4849ff;if(this[_0x10fc23(0x2a7)]!==this['concurrency']&&this['jobs'][_0x10fc23(0x1d2)]){const _0xf9a6a8=this[_0x10fc23(0x2af)][_0x10fc23(0x253)]();this[_0x10fc23(0x2a7)]++,_0xf9a6a8(this[_0x516bd9]);}}}return ye=_0x5b43ea,ye;}var ve,Ze;function he(){const _0x156372=_0x5b728b;if(Ze)return ve;Ze=0x1;const _0x8ee41f=_0x46dace,_0x83e01a=ce(),_0x594ee4=qt(),{kStatusCode:_0x10ab46}=V(),_0xb6c6cb=Buffer[Symbol[_0x156372(0x20a)]],_0x1790f8=Buffer[_0x156372(0x250)]([0x0,0x0,0xff,0xff]),_0x3feac6=Symbol('permessage-deflate'),_0x193299=Symbol(_0x156372(0x1c2)),_0xaa5f9d=Symbol(_0x156372(0x2d6)),_0x16eb4f=Symbol(_0x156372(0x22b)),_0x460428=Symbol(_0x156372(0x239));let _0xba15dc;class _0x33b93a{constructor(_0xaed6ac,_0x2eff7c,_0x493800){const _0x26121e=_0x156372;if(this[_0x26121e(0x28f)]=_0x493800|0x0,this['_options']=_0xaed6ac||{},this[_0x26121e(0x29c)]=this[_0x26121e(0x255)][_0x26121e(0x1c8)]!==void 0x0?this[_0x26121e(0x255)][_0x26121e(0x1c8)]:0x400,this[_0x26121e(0x2d8)]=!!_0x2eff7c,this[_0x26121e(0x14f)]=null,this[_0x26121e(0x265)]=null,this[_0x26121e(0x2a0)]=null,!_0xba15dc){const _0x4f07fe=this[_0x26121e(0x255)][_0x26121e(0x190)]!==void 0x0?this[_0x26121e(0x255)][_0x26121e(0x190)]:0xa;_0xba15dc=new _0x594ee4(_0x4f07fe);}}static get[_0x156372(0x169)](){const _0xdb61b=_0x156372;return _0xdb61b(0x2bb);}[_0x156372(0x2b4)](){const _0x51abbe=_0x156372,_0x2b7107={};return this[_0x51abbe(0x255)][_0x51abbe(0x2dd)]&&(_0x2b7107[_0x51abbe(0x17b)]=!0x0),this['_options'][_0x51abbe(0x1b2)]&&(_0x2b7107['client_no_context_takeover']=!0x0),this[_0x51abbe(0x255)]['serverMaxWindowBits']&&(_0x2b7107[_0x51abbe(0x257)]=this['_options'][_0x51abbe(0x2cd)]),this[_0x51abbe(0x255)]['clientMaxWindowBits']?_0x2b7107[_0x51abbe(0x150)]=this['_options'][_0x51abbe(0x1d1)]:this[_0x51abbe(0x255)]['clientMaxWindowBits']==null&&(_0x2b7107[_0x51abbe(0x150)]=!0x0),_0x2b7107;}['accept'](_0x589b06){const _0x100616=_0x156372;return _0x589b06=this[_0x100616(0x24f)](_0x589b06),this[_0x100616(0x2a0)]=this[_0x100616(0x2d8)]?this[_0x100616(0x26f)](_0x589b06):this[_0x100616(0x1ee)](_0x589b06),this['params'];}[_0x156372(0x23e)](){const _0x1c8fa1=_0x156372;if(this[_0x1c8fa1(0x265)]&&(this[_0x1c8fa1(0x265)][_0x1c8fa1(0x2ba)](),this['_inflate']=null),this[_0x1c8fa1(0x14f)]){const _0x2313d3=this[_0x1c8fa1(0x14f)][_0xaa5f9d];this[_0x1c8fa1(0x14f)][_0x1c8fa1(0x2ba)](),this[_0x1c8fa1(0x14f)]=null,_0x2313d3&&_0x2313d3(new Error(_0x1c8fa1(0x267)));}}[_0x156372(0x26f)](_0x50da3d){const _0x5abb53=_0x156372,_0x123ab5=this[_0x5abb53(0x255)],_0x4222c0=_0x50da3d[_0x5abb53(0x20f)](_0x1de119=>!(_0x123ab5[_0x5abb53(0x2dd)]===!0x1&&_0x1de119[_0x5abb53(0x17b)]||_0x1de119[_0x5abb53(0x257)]&&(_0x123ab5[_0x5abb53(0x2cd)]===!0x1||typeof _0x123ab5[_0x5abb53(0x2cd)]=='number'&&_0x123ab5['serverMaxWindowBits']>_0x1de119['server_max_window_bits'])||typeof _0x123ab5[_0x5abb53(0x1d1)]==_0x5abb53(0x2c0)&&!_0x1de119['client_max_window_bits']));if(!_0x4222c0)throw new Error(_0x5abb53(0x236));return _0x123ab5[_0x5abb53(0x2dd)]&&(_0x4222c0['server_no_context_takeover']=!0x0),_0x123ab5[_0x5abb53(0x1b2)]&&(_0x4222c0[_0x5abb53(0x241)]=!0x0),typeof _0x123ab5[_0x5abb53(0x2cd)]==_0x5abb53(0x2c0)&&(_0x4222c0[_0x5abb53(0x257)]=_0x123ab5[_0x5abb53(0x2cd)]),typeof _0x123ab5[_0x5abb53(0x1d1)]=='number'?_0x4222c0['client_max_window_bits']=_0x123ab5[_0x5abb53(0x1d1)]:(_0x4222c0['client_max_window_bits']===!0x0||_0x123ab5['clientMaxWindowBits']===!0x1)&&delete _0x4222c0[_0x5abb53(0x150)],_0x4222c0;}[_0x156372(0x1ee)](_0x3cd1a8){const _0xddb22b=_0x156372,_0x17d317=_0x3cd1a8[0x0];if(this['_options'][_0xddb22b(0x1b2)]===!0x1&&_0x17d317['client_no_context_takeover'])throw new Error(_0xddb22b(0x221));if(!_0x17d317['client_max_window_bits'])typeof this['_options'][_0xddb22b(0x1d1)]==_0xddb22b(0x2c0)&&(_0x17d317[_0xddb22b(0x150)]=this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]);else{if(this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]===!0x1||typeof this[_0xddb22b(0x255)][_0xddb22b(0x1d1)]==_0xddb22b(0x2c0)&&_0x17d317['client_max_window_bits']>this[_0xddb22b(0x255)][_0xddb22b(0x1d1)])throw new Error(_0xddb22b(0x22c));}return _0x17d317;}[_0x156372(0x24f)](_0x4aee1f){const _0x4cdbca=_0x156372;return _0x4aee1f[_0x4cdbca(0x1d8)](_0x305442=>{const _0x26a84e=_0x4cdbca;Object[_0x26a84e(0x1bb)](_0x305442)[_0x26a84e(0x1d8)](_0x532e24=>{const _0x3d902a=_0x26a84e;let _0x5029b9=_0x305442[_0x532e24];if(_0x5029b9[_0x3d902a(0x1d2)]>0x1)throw new Error(_0x3d902a(0x15e)+_0x532e24+_0x3d902a(0x2a4));if(_0x5029b9=_0x5029b9[0x0],_0x532e24===_0x3d902a(0x150)){if(_0x5029b9!==!0x0){const _0x2de634=+_0x5029b9;if(!Number['isInteger'](_0x2de634)||_0x2de634<0x8||_0x2de634>0xf)throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+_0x3d902a(0x2df)+_0x5029b9);_0x5029b9=_0x2de634;}else{if(!this['_isServer'])throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+'\x22:\x20'+_0x5029b9);}}else{if(_0x532e24==='server_max_window_bits'){const _0x5874fe=+_0x5029b9;if(!Number[_0x3d902a(0x163)](_0x5874fe)||_0x5874fe<0x8||_0x5874fe>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x532e24+_0x3d902a(0x2df)+_0x5029b9);_0x5029b9=_0x5874fe;}else{if(_0x532e24===_0x3d902a(0x241)||_0x532e24===_0x3d902a(0x17b)){if(_0x5029b9!==!0x0)throw new TypeError(_0x3d902a(0x2bc)+_0x532e24+'\x22:\x20'+_0x5029b9);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x532e24+'\x22');}}_0x305442[_0x532e24]=_0x5029b9;});}),_0x4aee1f;}[_0x156372(0x295)](_0x1b5601,_0x167b87,_0xe7dfb8){const _0x5a9cfa=_0x156372;_0xba15dc[_0x5a9cfa(0x270)](_0x1297bf=>{this['_decompress'](_0x1b5601,_0x167b87,(_0x3a0cb6,_0x154e99)=>{_0x1297bf(),_0xe7dfb8(_0x3a0cb6,_0x154e99);});});}[_0x156372(0x1c4)](_0x57c194,_0x20cb44,_0x2e9539){_0xba15dc['add'](_0xce4d78=>{const _0x1a70bf=_0x4100;this[_0x1a70bf(0x1e6)](_0x57c194,_0x20cb44,(_0x341fcb,_0x248593)=>{_0xce4d78(),_0x2e9539(_0x341fcb,_0x248593);});});}[_0x156372(0x1a8)](_0x346d3f,_0x4df15d,_0x21f145){const _0x52c62d=_0x156372,_0x2b3f2c=this[_0x52c62d(0x2d8)]?_0x52c62d(0x2ca):'server';if(!this[_0x52c62d(0x265)]){const _0x2b2f30=_0x2b3f2c+'_max_window_bits',_0x2ac0f6=typeof this[_0x52c62d(0x2a0)][_0x2b2f30]!=_0x52c62d(0x2c0)?_0x8ee41f['Z_DEFAULT_WINDOWBITS']:this[_0x52c62d(0x2a0)][_0x2b2f30];this['_inflate']=_0x8ee41f[_0x52c62d(0x1d0)]({...this[_0x52c62d(0x255)]['zlibInflateOptions'],'windowBits':_0x2ac0f6}),this[_0x52c62d(0x265)][_0x3feac6]=this,this[_0x52c62d(0x265)][_0x193299]=0x0,this[_0x52c62d(0x265)][_0x16eb4f]=[],this[_0x52c62d(0x265)]['on']('error',_0x1cb6e7),this[_0x52c62d(0x265)]['on']('data',_0x3f0447);}this['_inflate'][_0xaa5f9d]=_0x21f145,this['_inflate'][_0x52c62d(0x1a2)](_0x346d3f),_0x4df15d&&this[_0x52c62d(0x265)][_0x52c62d(0x1a2)](_0x1790f8),this['_inflate']['flush'](()=>{const _0x40110f=_0x52c62d,_0xc80957=this[_0x40110f(0x265)][_0x460428];if(_0xc80957){this[_0x40110f(0x265)]['close'](),this['_inflate']=null,_0x21f145(_0xc80957);return;}const _0x381859=_0x83e01a['concat'](this[_0x40110f(0x265)][_0x16eb4f],this[_0x40110f(0x265)][_0x193299]);this['_inflate'][_0x40110f(0x283)][_0x40110f(0x1f5)]?(this[_0x40110f(0x265)][_0x40110f(0x2ba)](),this[_0x40110f(0x265)]=null):(this['_inflate'][_0x193299]=0x0,this[_0x40110f(0x265)][_0x16eb4f]=[],_0x4df15d&&this[_0x40110f(0x2a0)][_0x2b3f2c+_0x40110f(0x232)]&&this[_0x40110f(0x265)][_0x40110f(0x26e)]()),_0x21f145(null,_0x381859);});}['_compress'](_0x58dd7f,_0x267e81,_0x2463e3){const _0x4acfb6=_0x156372,_0x563368=this[_0x4acfb6(0x2d8)]?'server':_0x4acfb6(0x2ca);if(!this[_0x4acfb6(0x14f)]){const _0x588bea=_0x563368+_0x4acfb6(0x171),_0x2f99=typeof this[_0x4acfb6(0x2a0)][_0x588bea]!=_0x4acfb6(0x2c0)?_0x8ee41f['Z_DEFAULT_WINDOWBITS']:this[_0x4acfb6(0x2a0)][_0x588bea];this['_deflate']=_0x8ee41f[_0x4acfb6(0x244)]({...this['_options'][_0x4acfb6(0x164)],'windowBits':_0x2f99}),this['_deflate'][_0x193299]=0x0,this[_0x4acfb6(0x14f)][_0x16eb4f]=[],this['_deflate']['on'](_0x4acfb6(0x187),_0x57b871);}this[_0x4acfb6(0x14f)][_0xaa5f9d]=_0x2463e3,this['_deflate'][_0x4acfb6(0x1a2)](_0x58dd7f),this[_0x4acfb6(0x14f)][_0x4acfb6(0x1c5)](_0x8ee41f[_0x4acfb6(0x212)],()=>{const _0x23e3f3=_0x4acfb6;if(!this[_0x23e3f3(0x14f)])return;let _0x368007=_0x83e01a[_0x23e3f3(0x2a9)](this[_0x23e3f3(0x14f)][_0x16eb4f],this[_0x23e3f3(0x14f)][_0x193299]);_0x267e81&&(_0x368007=new _0xb6c6cb(_0x368007[_0x23e3f3(0x2e6)],_0x368007[_0x23e3f3(0x18e)],_0x368007['length']-0x4)),this['_deflate'][_0xaa5f9d]=null,this[_0x23e3f3(0x14f)][_0x193299]=0x0,this[_0x23e3f3(0x14f)][_0x16eb4f]=[],_0x267e81&&this[_0x23e3f3(0x2a0)][_0x563368+_0x23e3f3(0x232)]&&this[_0x23e3f3(0x14f)]['reset'](),_0x2463e3(null,_0x368007);});}}ve=_0x33b93a;function _0x57b871(_0x349d32){const _0x360566=_0x156372;this[_0x16eb4f]['push'](_0x349d32),this[_0x193299]+=_0x349d32[_0x360566(0x1d2)];}function _0x3f0447(_0x3720dc){const _0x2b5073=_0x156372;if(this[_0x193299]+=_0x3720dc[_0x2b5073(0x1d2)],this[_0x3feac6]['_maxPayload']<0x1||this[_0x193299]<=this[_0x3feac6]['_maxPayload']){this[_0x16eb4f][_0x2b5073(0x1b6)](_0x3720dc);return;}this[_0x460428]=new RangeError(_0x2b5073(0x25c)),this[_0x460428][_0x2b5073(0x159)]=_0x2b5073(0x289),this[_0x460428][_0x10ab46]=0x3f1,this[_0x2b5073(0x146)](_0x2b5073(0x187),_0x3f0447),this['reset']();}function _0x1cb6e7(_0x166350){const _0x5eaeea=_0x156372;if(this[_0x3feac6][_0x5eaeea(0x265)]=null,this[_0x460428]){this[_0xaa5f9d](this[_0x460428]);return;}_0x166350[_0x10ab46]=0x3ef,this[_0xaa5f9d](_0x166350);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5b728b(0x1c7)](Object[_0x5b728b(0x218)]({'__proto__':null,'default':Ht},Symbol[_0x5b728b(0x2ea)],{'value':_0x5b728b(0x207)})),Yt=ut(zt);var Qe;function ne(){const _0x1dc946=_0x5b728b;if(Qe)return re[_0x1dc946(0x141)];Qe=0x1;const {isUtf8:_0x278664}=_0x52885b,{hasBlob:_0x45f0ad}=V(),_0x163272=[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 _0x1a36d2(_0x129972){return _0x129972>=0x3e8&&_0x129972<=0x3f6&&_0x129972!==0x3ec&&_0x129972!==0x3ed&&_0x129972!==0x3ee||_0x129972>=0xbb8&&_0x129972<=0x1387;}function _0x407674(_0xe78b6b){const _0x4a0092=_0x1dc946,_0x2bb66c=_0xe78b6b[_0x4a0092(0x1d2)];let _0x3f0f93=0x0;for(;_0x3f0f93<_0x2bb66c;)if((_0xe78b6b[_0x3f0f93]&0x80)===0x0)_0x3f0f93++;else{if((_0xe78b6b[_0x3f0f93]&0xe0)===0xc0){if(_0x3f0f93+0x1===_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93]&0xfe)===0xc0)return!0x1;_0x3f0f93+=0x2;}else{if((_0xe78b6b[_0x3f0f93]&0xf0)===0xe0){if(_0x3f0f93+0x2>=_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x2]&0xc0)!==0x80||_0xe78b6b[_0x3f0f93]===0xe0&&(_0xe78b6b[_0x3f0f93+0x1]&0xe0)===0x80||_0xe78b6b[_0x3f0f93]===0xed&&(_0xe78b6b[_0x3f0f93+0x1]&0xe0)===0xa0)return!0x1;_0x3f0f93+=0x3;}else{if((_0xe78b6b[_0x3f0f93]&0xf8)===0xf0){if(_0x3f0f93+0x3>=_0x2bb66c||(_0xe78b6b[_0x3f0f93+0x1]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x2]&0xc0)!==0x80||(_0xe78b6b[_0x3f0f93+0x3]&0xc0)!==0x80||_0xe78b6b[_0x3f0f93]===0xf0&&(_0xe78b6b[_0x3f0f93+0x1]&0xf0)===0x80||_0xe78b6b[_0x3f0f93]===0xf4&&_0xe78b6b[_0x3f0f93+0x1]>0x8f||_0xe78b6b[_0x3f0f93]>0xf4)return!0x1;_0x3f0f93+=0x4;}else return!0x1;}}}return!0x0;}function _0x5b8d8b(_0x484429){const _0x1d4b60=_0x1dc946;return _0x45f0ad&&typeof _0x484429==_0x1d4b60(0x28b)&&typeof _0x484429['arrayBuffer']==_0x1d4b60(0x1b5)&&typeof _0x484429[_0x1d4b60(0x1f6)]==_0x1d4b60(0x274)&&typeof _0x484429[_0x1d4b60(0x149)]==_0x1d4b60(0x1b5)&&(_0x484429[Symbol[_0x1d4b60(0x2ea)]]==='Blob'||_0x484429[Symbol[_0x1d4b60(0x2ea)]]===_0x1d4b60(0x292));}if(re['exports']={'isBlob':_0x5b8d8b,'isValidStatusCode':_0x1a36d2,'isValidUTF8':_0x407674,'tokenChars':_0x163272},_0x278664)re['exports']['isValidUTF8']=function(_0x2c91f7){const _0x53e5cf=_0x1dc946;return _0x2c91f7[_0x53e5cf(0x1d2)]<0x18?_0x407674(_0x2c91f7):_0x278664(_0x2c91f7);};else{if(!process[_0x1dc946(0x229)][_0x1dc946(0x167)])try{const _0x4b3954=Yt;re[_0x1dc946(0x141)][_0x1dc946(0x1d4)]=function(_0x3826b7){const _0x3bed71=_0x1dc946;return _0x3826b7[_0x3bed71(0x1d2)]<0x20?_0x407674(_0x3826b7):_0x4b3954(_0x3826b7);};}catch{}}return re[_0x1dc946(0x141)];}var Se,Je;function dt(){const _0x3228af=_0x5b728b;if(Je)return Se;Je=0x1;const {Writable:_0x5b9d27}=_0x423274,_0xc0dbb9=he(),{BINARY_TYPES:_0x28ec32,EMPTY_BUFFER:_0x34bc4e,kStatusCode:_0x36499a,kWebSocket:_0x317fa2}=V(),{concat:_0x201896,toArrayBuffer:_0xaff609,unmask:_0xce733a}=ce(),{isValidStatusCode:_0x3cb6a5,isValidUTF8:_0x40796d}=ne(),_0x2ff7a5=Buffer[Symbol['species']],_0x3effc8=0x0,_0x4bf919=0x1,_0x387ebe=0x2,_0x4747af=0x3,_0x5550af=0x4,_0x20610e=0x5,_0x72097d=0x6;class _0x46c81e extends _0x5b9d27{constructor(_0x21dcc9={}){const _0x5c1851=_0x4100;super(),this[_0x5c1851(0x1ed)]=_0x21dcc9['allowSynchronousEvents']!==void 0x0?_0x21dcc9[_0x5c1851(0x220)]:!0x0,this['_binaryType']=_0x21dcc9[_0x5c1851(0x1d9)]||_0x28ec32[0x0],this[_0x5c1851(0x1a1)]=_0x21dcc9['extensions']||{},this[_0x5c1851(0x2d8)]=!!_0x21dcc9['isServer'],this[_0x5c1851(0x28f)]=_0x21dcc9['maxPayload']|0x0,this[_0x5c1851(0x1fc)]=!!_0x21dcc9[_0x5c1851(0x1e8)],this[_0x317fa2]=void 0x0,this[_0x5c1851(0x210)]=0x0,this[_0x5c1851(0x1c3)]=[],this['_compressed']=!0x1,this[_0x5c1851(0x1b4)]=0x0,this[_0x5c1851(0x24d)]=void 0x0,this[_0x5c1851(0x1ec)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x5c1851(0x197)]=0x0,this[_0x5c1851(0x18a)]=0x0,this[_0x5c1851(0x1bf)]=0x0,this[_0x5c1851(0x21e)]=[],this[_0x5c1851(0x273)]=!0x1,this['_loop']=!0x1,this['_state']=_0x3effc8;}[_0x3228af(0x2c2)](_0x4081df,_0x595329,_0xae0157){const _0x59037d=_0x3228af;if(this[_0x59037d(0x197)]===0x8&&this[_0x59037d(0x1cd)]==_0x3effc8)return _0xae0157();this['_bufferedBytes']+=_0x4081df[_0x59037d(0x1d2)],this[_0x59037d(0x1c3)][_0x59037d(0x1b6)](_0x4081df),this[_0x59037d(0x151)](_0xae0157);}[_0x3228af(0x271)](_0x2156c3){const _0x30a7d1=_0x3228af;if(this[_0x30a7d1(0x210)]-=_0x2156c3,_0x2156c3===this[_0x30a7d1(0x1c3)][0x0][_0x30a7d1(0x1d2)])return this[_0x30a7d1(0x1c3)][_0x30a7d1(0x253)]();if(_0x2156c3<this[_0x30a7d1(0x1c3)][0x0][_0x30a7d1(0x1d2)]){const _0x161c6b=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x2ff7a5(_0x161c6b[_0x30a7d1(0x2e6)],_0x161c6b['byteOffset']+_0x2156c3,_0x161c6b[_0x30a7d1(0x1d2)]-_0x2156c3),new _0x2ff7a5(_0x161c6b[_0x30a7d1(0x2e6)],_0x161c6b[_0x30a7d1(0x18e)],_0x2156c3);}const _0x2553ef=Buffer[_0x30a7d1(0x1de)](_0x2156c3);do{const _0x716dd6=this['_buffers'][0x0],_0x2ea81f=_0x2553ef[_0x30a7d1(0x1d2)]-_0x2156c3;_0x2156c3>=_0x716dd6[_0x30a7d1(0x1d2)]?_0x2553ef[_0x30a7d1(0x2b2)](this[_0x30a7d1(0x1c3)]['shift'](),_0x2ea81f):(_0x2553ef[_0x30a7d1(0x2b2)](new Uint8Array(_0x716dd6[_0x30a7d1(0x2e6)],_0x716dd6[_0x30a7d1(0x18e)],_0x2156c3),_0x2ea81f),this[_0x30a7d1(0x1c3)][0x0]=new _0x2ff7a5(_0x716dd6['buffer'],_0x716dd6[_0x30a7d1(0x18e)]+_0x2156c3,_0x716dd6[_0x30a7d1(0x1d2)]-_0x2156c3)),_0x2156c3-=_0x716dd6[_0x30a7d1(0x1d2)];}while(_0x2156c3>0x0);return _0x2553ef;}['startLoop'](_0x5d4a5d){const _0x232887=_0x3228af;this['_loop']=!0x0;do switch(this[_0x232887(0x1cd)]){case _0x3effc8:this[_0x232887(0x19d)](_0x5d4a5d);break;case _0x4bf919:this[_0x232887(0x18c)](_0x5d4a5d);break;case _0x387ebe:this['getPayloadLength64'](_0x5d4a5d);break;case _0x4747af:this[_0x232887(0x29d)]();break;case _0x5550af:this[_0x232887(0x1a5)](_0x5d4a5d);break;case _0x20610e:case _0x72097d:this[_0x232887(0x177)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x5d4a5d();}['getInfo'](_0x5be43a){const _0x1d82f0=_0x3228af;if(this[_0x1d82f0(0x210)]<0x2){this['_loop']=!0x1;return;}const _0x4e9f68=this[_0x1d82f0(0x271)](0x2);if((_0x4e9f68[0x0]&0x30)!==0x0){const _0x999b95=this['createError'](RangeError,_0x1d82f0(0x1ca),!0x0,0x3ea,_0x1d82f0(0x276));_0x5be43a(_0x999b95);return;}const _0x580a5c=(_0x4e9f68[0x0]&0x40)===0x40;if(_0x580a5c&&!this[_0x1d82f0(0x1a1)][_0xc0dbb9['extensionName']]){const _0xefb25e=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x226),!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0xefb25e);return;}if(this['_fin']=(_0x4e9f68[0x0]&0x80)===0x80,this[_0x1d82f0(0x197)]=_0x4e9f68[0x0]&0xf,this[_0x1d82f0(0x1b4)]=_0x4e9f68[0x1]&0x7f,this[_0x1d82f0(0x197)]===0x0){if(_0x580a5c){const _0x44c4b1=this[_0x1d82f0(0x1e1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0x44c4b1);return;}if(!this[_0x1d82f0(0x1ec)]){const _0x260346=this['createError'](RangeError,_0x1d82f0(0x155),!0x0,0x3ea,_0x1d82f0(0x20c));_0x5be43a(_0x260346);return;}this['_opcode']=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x1d82f0(0x197)]===0x2){if(this[_0x1d82f0(0x1ec)]){const _0x53fac2=this['createError'](RangeError,_0x1d82f0(0x19e)+this[_0x1d82f0(0x197)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5be43a(_0x53fac2);return;}this['_compressed']=_0x580a5c;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x1d82f0(0x2ab)]){const _0x380b34=this[_0x1d82f0(0x1e1)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1d82f0(0x1cc));_0x5be43a(_0x380b34);return;}if(_0x580a5c){const _0x48bc56=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x226),!0x0,0x3ea,_0x1d82f0(0x254));_0x5be43a(_0x48bc56);return;}if(this[_0x1d82f0(0x1b4)]>0x7d||this[_0x1d82f0(0x197)]===0x8&&this[_0x1d82f0(0x1b4)]===0x1){const _0x241214=this['createError'](RangeError,_0x1d82f0(0x192)+this[_0x1d82f0(0x1b4)],!0x0,0x3ea,_0x1d82f0(0x1ae));_0x5be43a(_0x241214);return;}}else{const _0x104cd3=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x19e)+this['_opcode'],!0x0,0x3ea,_0x1d82f0(0x20c));_0x5be43a(_0x104cd3);return;}}}if(!this[_0x1d82f0(0x2ab)]&&!this['_fragmented']&&(this[_0x1d82f0(0x1ec)]=this[_0x1d82f0(0x197)]),this[_0x1d82f0(0x24e)]=(_0x4e9f68[0x1]&0x80)===0x80,this[_0x1d82f0(0x2d8)]){if(!this['_masked']){const _0x277eda=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x2ad),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x5be43a(_0x277eda);return;}}else{if(this[_0x1d82f0(0x24e)]){const _0x260fbe=this[_0x1d82f0(0x1e1)](RangeError,_0x1d82f0(0x1e3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5be43a(_0x260fbe);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4bf919:this[_0x1d82f0(0x1b4)]===0x7f?this['_state']=_0x387ebe:this['haveLength'](_0x5be43a);}[_0x3228af(0x18c)](_0x141492){const _0x46b285=_0x3228af;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x46b285(0x1b4)]=this[_0x46b285(0x271)](0x2)[_0x46b285(0x2b1)](0x0),this['haveLength'](_0x141492);}[_0x3228af(0x174)](_0x2b4954){const _0x504a52=_0x3228af;if(this[_0x504a52(0x210)]<0x8){this[_0x504a52(0x177)]=!0x1;return;}const _0x1a9416=this[_0x504a52(0x271)](0x8),_0x2acb0f=_0x1a9416['readUInt32BE'](0x0);if(_0x2acb0f>Math[_0x504a52(0x1bd)](0x2,0x15)-0x1){const _0x4f0e3c=this[_0x504a52(0x1e1)](RangeError,_0x504a52(0x20e),!0x1,0x3f1,_0x504a52(0x23a));_0x2b4954(_0x4f0e3c);return;}this['_payloadLength']=_0x2acb0f*Math[_0x504a52(0x1bd)](0x2,0x20)+_0x1a9416[_0x504a52(0x17c)](0x4),this['haveLength'](_0x2b4954);}[_0x3228af(0x263)](_0x5edb04){const _0x45c7fa=_0x3228af;if(this['_payloadLength']&&this[_0x45c7fa(0x197)]<0x8&&(this['_totalPayloadLength']+=this[_0x45c7fa(0x1b4)],this[_0x45c7fa(0x18a)]>this[_0x45c7fa(0x28f)]&&this[_0x45c7fa(0x28f)]>0x0)){const _0x44e9b4=this[_0x45c7fa(0x1e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5edb04(_0x44e9b4);return;}this['_masked']?this[_0x45c7fa(0x1cd)]=_0x4747af:this[_0x45c7fa(0x1cd)]=_0x5550af;}[_0x3228af(0x29d)](){const _0x537919=_0x3228af;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x537919(0x24d)]=this['consume'](0x4),this[_0x537919(0x1cd)]=_0x5550af;}['getData'](_0x3fdc7f){const _0x2f660c=_0x3228af;let _0x3b6023=_0x34bc4e;if(this[_0x2f660c(0x1b4)]){if(this[_0x2f660c(0x210)]<this[_0x2f660c(0x1b4)]){this[_0x2f660c(0x177)]=!0x1;return;}_0x3b6023=this[_0x2f660c(0x271)](this[_0x2f660c(0x1b4)]),this[_0x2f660c(0x24e)]&&(this[_0x2f660c(0x24d)][0x0]|this[_0x2f660c(0x24d)][0x1]|this[_0x2f660c(0x24d)][0x2]|this['_mask'][0x3])!==0x0&&_0xce733a(_0x3b6023,this['_mask']);}if(this['_opcode']>0x7){this[_0x2f660c(0x288)](_0x3b6023,_0x3fdc7f);return;}if(this['_compressed']){this[_0x2f660c(0x1cd)]=_0x20610e,this[_0x2f660c(0x295)](_0x3b6023,_0x3fdc7f);return;}_0x3b6023[_0x2f660c(0x1d2)]&&(this['_messageLength']=this[_0x2f660c(0x18a)],this[_0x2f660c(0x21e)][_0x2f660c(0x1b6)](_0x3b6023)),this['dataMessage'](_0x3fdc7f);}['decompress'](_0x2fdb8a,_0x3654ab){const _0x30b8ad=_0x3228af;this[_0x30b8ad(0x1a1)][_0xc0dbb9['extensionName']]['decompress'](_0x2fdb8a,this[_0x30b8ad(0x2ab)],(_0x56376a,_0x197e4a)=>{const _0x22bfcb=_0x30b8ad;if(_0x56376a)return _0x3654ab(_0x56376a);if(_0x197e4a[_0x22bfcb(0x1d2)]){if(this[_0x22bfcb(0x1bf)]+=_0x197e4a['length'],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x2f446c=this[_0x22bfcb(0x1e1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x22bfcb(0x289));_0x3654ab(_0x2f446c);return;}this[_0x22bfcb(0x21e)][_0x22bfcb(0x1b6)](_0x197e4a);}this[_0x22bfcb(0x14a)](_0x3654ab),this[_0x22bfcb(0x1cd)]===_0x3effc8&&this['startLoop'](_0x3654ab);});}[_0x3228af(0x14a)](_0x507733){const _0xf07fc0=_0x3228af;if(!this[_0xf07fc0(0x2ab)]){this[_0xf07fc0(0x1cd)]=_0x3effc8;return;}const _0x3f0028=this['_messageLength'],_0x59507b=this[_0xf07fc0(0x21e)];if(this[_0xf07fc0(0x18a)]=0x0,this[_0xf07fc0(0x1bf)]=0x0,this[_0xf07fc0(0x1ec)]=0x0,this['_fragments']=[],this[_0xf07fc0(0x197)]===0x2){let _0x1d7e0b;this[_0xf07fc0(0x264)]===_0xf07fc0(0x2eb)?_0x1d7e0b=_0x201896(_0x59507b,_0x3f0028):this['_binaryType']===_0xf07fc0(0x175)?_0x1d7e0b=_0xaff609(_0x201896(_0x59507b,_0x3f0028)):this['_binaryType']===_0xf07fc0(0x285)?_0x1d7e0b=new Blob(_0x59507b):_0x1d7e0b=_0x59507b,this['_allowSynchronousEvents']?(this['emit'](_0xf07fc0(0x247),_0x1d7e0b,!0x0),this[_0xf07fc0(0x1cd)]=_0x3effc8):(this[_0xf07fc0(0x1cd)]=_0x72097d,setImmediate(()=>{const _0x3a68c8=_0xf07fc0;this[_0x3a68c8(0x260)]('message',_0x1d7e0b,!0x0),this[_0x3a68c8(0x1cd)]=_0x3effc8,this['startLoop'](_0x507733);}));}else{const _0x556273=_0x201896(_0x59507b,_0x3f0028);if(!this[_0xf07fc0(0x1fc)]&&!_0x40796d(_0x556273)){const _0x4ab3b5=this[_0xf07fc0(0x1e1)](Error,_0xf07fc0(0x27f),!0x0,0x3ef,_0xf07fc0(0x16f));_0x507733(_0x4ab3b5);return;}this['_state']===_0x20610e||this[_0xf07fc0(0x1ed)]?(this[_0xf07fc0(0x260)]('message',_0x556273,!0x1),this[_0xf07fc0(0x1cd)]=_0x3effc8):(this[_0xf07fc0(0x1cd)]=_0x72097d,setImmediate(()=>{this['emit']('message',_0x556273,!0x1),this['_state']=_0x3effc8,this['startLoop'](_0x507733);}));}}[_0x3228af(0x288)](_0x450566,_0x2efac8){const _0x4f4be9=_0x3228af;if(this[_0x4f4be9(0x197)]===0x8){if(_0x450566['length']===0x0)this[_0x4f4be9(0x177)]=!0x1,this[_0x4f4be9(0x260)](_0x4f4be9(0x144),0x3ed,_0x34bc4e),this[_0x4f4be9(0x1eb)]();else{const _0x23130e=_0x450566[_0x4f4be9(0x2b1)](0x0);if(!_0x3cb6a5(_0x23130e)){const _0x229f87=this[_0x4f4be9(0x1e1)](RangeError,_0x4f4be9(0x1dd)+_0x23130e,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2efac8(_0x229f87);return;}const _0x4fa4b9=new _0x2ff7a5(_0x450566[_0x4f4be9(0x2e6)],_0x450566[_0x4f4be9(0x18e)]+0x2,_0x450566[_0x4f4be9(0x1d2)]-0x2);if(!this[_0x4f4be9(0x1fc)]&&!_0x40796d(_0x4fa4b9)){const _0x21f169=this[_0x4f4be9(0x1e1)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4f4be9(0x16f));_0x2efac8(_0x21f169);return;}this[_0x4f4be9(0x177)]=!0x1,this['emit'](_0x4f4be9(0x144),_0x23130e,_0x4fa4b9),this[_0x4f4be9(0x1eb)]();}this[_0x4f4be9(0x1cd)]=_0x3effc8;return;}this[_0x4f4be9(0x1ed)]?(this[_0x4f4be9(0x260)](this[_0x4f4be9(0x197)]===0x9?'ping':_0x4f4be9(0x20d),_0x450566),this[_0x4f4be9(0x1cd)]=_0x3effc8):(this['_state']=_0x72097d,setImmediate(()=>{const _0x433c8c=_0x4f4be9;this['emit'](this['_opcode']===0x9?_0x433c8c(0x219):_0x433c8c(0x20d),_0x450566),this[_0x433c8c(0x1cd)]=_0x3effc8,this[_0x433c8c(0x151)](_0x2efac8);}));}[_0x3228af(0x1e1)](_0x3f98fe,_0x576776,_0x3d7916,_0x1a6420,_0x1b764e){const _0x4907d4=_0x3228af;this[_0x4907d4(0x177)]=!0x1,this['_errored']=!0x0;const _0x377d98=new _0x3f98fe(_0x3d7916?_0x4907d4(0x2c1)+_0x576776:_0x576776);return Error[_0x4907d4(0x297)](_0x377d98,this[_0x4907d4(0x1e1)]),_0x377d98[_0x4907d4(0x159)]=_0x1b764e,_0x377d98[_0x36499a]=_0x1a6420,_0x377d98;}}return Se=_0x46c81e,Se;}var Ee,et;function _t(){const _0x5334a6=_0x5b728b;if(et)return Ee;et=0x1;const {Duplex:_0x106b57}=_0x423274,{randomFillSync:_0x4d4e83}=_0xa82a62,_0xf781ba=he(),{EMPTY_BUFFER:_0x5ab23,kWebSocket:_0xa00312,NOOP:_0x463da1}=V(),{isBlob:_0x17c0d3,isValidStatusCode:_0x23bfd4}=ne(),{mask:_0x543629,toBuffer:_0x1b0017}=ce(),_0x7b0c92=Symbol(_0x5334a6(0x293)),_0x5c3dfd=Buffer[_0x5334a6(0x201)](0x4),_0x5d341a=0x8*0x400;let _0x45941d,_0x28e6df=_0x5d341a;const _0x3789de=0x0,_0x2d6f66=0x1,_0x4c40d0=0x2;class _0x6a8e89{constructor(_0x536a5e,_0x551004,_0x17f18d){const _0x3bba42=_0x5334a6;this['_extensions']=_0x551004||{},_0x17f18d&&(this[_0x3bba42(0x25e)]=_0x17f18d,this[_0x3bba42(0x2c4)]=Buffer[_0x3bba42(0x201)](0x4)),this[_0x3bba42(0x277)]=_0x536a5e,this[_0x3bba42(0x181)]=!0x0,this[_0x3bba42(0x1e6)]=!0x1,this[_0x3bba42(0x210)]=0x0,this[_0x3bba42(0x287)]=[],this[_0x3bba42(0x1cd)]=_0x3789de,this[_0x3bba42(0x2e3)]=_0x463da1,this[_0xa00312]=void 0x0;}static[_0x5334a6(0x234)](_0x7643bd,_0x2b6173){const _0x5b6225=_0x5334a6;let _0xcf6242,_0x2a4940=!0x1,_0x19c8c3=0x2,_0x4bc7be=!0x1;_0x2b6173[_0x5b6225(0x249)]&&(_0xcf6242=_0x2b6173[_0x5b6225(0x2ac)]||_0x5c3dfd,_0x2b6173[_0x5b6225(0x2c6)]?_0x2b6173[_0x5b6225(0x2c6)](_0xcf6242):(_0x28e6df===_0x5d341a&&(_0x45941d===void 0x0&&(_0x45941d=Buffer['alloc'](_0x5d341a)),_0x4d4e83(_0x45941d,0x0,_0x5d341a),_0x28e6df=0x0),_0xcf6242[0x0]=_0x45941d[_0x28e6df++],_0xcf6242[0x1]=_0x45941d[_0x28e6df++],_0xcf6242[0x2]=_0x45941d[_0x28e6df++],_0xcf6242[0x3]=_0x45941d[_0x28e6df++]),_0x4bc7be=(_0xcf6242[0x0]|_0xcf6242[0x1]|_0xcf6242[0x2]|_0xcf6242[0x3])===0x0,_0x19c8c3=0x6);let _0x6f5d46;typeof _0x7643bd==_0x5b6225(0x274)?(!_0x2b6173[_0x5b6225(0x249)]||_0x4bc7be)&&_0x2b6173[_0x7b0c92]!==void 0x0?_0x6f5d46=_0x2b6173[_0x7b0c92]:(_0x7643bd=Buffer[_0x5b6225(0x250)](_0x7643bd),_0x6f5d46=_0x7643bd[_0x5b6225(0x1d2)]):(_0x6f5d46=_0x7643bd[_0x5b6225(0x1d2)],_0x2a4940=_0x2b6173[_0x5b6225(0x249)]&&_0x2b6173[_0x5b6225(0x1e4)]&&!_0x4bc7be);let _0x205a08=_0x6f5d46;_0x6f5d46>=0x10000?(_0x19c8c3+=0x8,_0x205a08=0x7f):_0x6f5d46>0x7d&&(_0x19c8c3+=0x2,_0x205a08=0x7e);const _0x1a2806=Buffer[_0x5b6225(0x1de)](_0x2a4940?_0x6f5d46+_0x19c8c3:_0x19c8c3);return _0x1a2806[0x0]=_0x2b6173['fin']?_0x2b6173[_0x5b6225(0x1fd)]|0x80:_0x2b6173[_0x5b6225(0x1fd)],_0x2b6173[_0x5b6225(0x1b9)]&&(_0x1a2806[0x0]|=0x40),_0x1a2806[0x1]=_0x205a08,_0x205a08===0x7e?_0x1a2806[_0x5b6225(0x2aa)](_0x6f5d46,0x2):_0x205a08===0x7f&&(_0x1a2806[0x2]=_0x1a2806[0x3]=0x0,_0x1a2806[_0x5b6225(0x145)](_0x6f5d46,0x4,0x6)),_0x2b6173['mask']?(_0x1a2806[0x1]|=0x80,_0x1a2806[_0x19c8c3-0x4]=_0xcf6242[0x0],_0x1a2806[_0x19c8c3-0x3]=_0xcf6242[0x1],_0x1a2806[_0x19c8c3-0x2]=_0xcf6242[0x2],_0x1a2806[_0x19c8c3-0x1]=_0xcf6242[0x3],_0x4bc7be?[_0x1a2806,_0x7643bd]:_0x2a4940?(_0x543629(_0x7643bd,_0xcf6242,_0x1a2806,_0x19c8c3,_0x6f5d46),[_0x1a2806]):(_0x543629(_0x7643bd,_0xcf6242,_0x7643bd,0x0,_0x6f5d46),[_0x1a2806,_0x7643bd])):[_0x1a2806,_0x7643bd];}['close'](_0x363060,_0x1286cb,_0xfc1553,_0x299d27){const _0xf961e4=_0x5334a6;let _0x423ebd;if(_0x363060===void 0x0)_0x423ebd=_0x5ab23;else{if(typeof _0x363060!=_0xf961e4(0x2c0)||!_0x23bfd4(_0x363060))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1286cb===void 0x0||!_0x1286cb[_0xf961e4(0x1d2)])_0x423ebd=Buffer[_0xf961e4(0x1de)](0x2),_0x423ebd[_0xf961e4(0x2aa)](_0x363060,0x0);else{const _0x1d95cb=Buffer[_0xf961e4(0x2e7)](_0x1286cb);if(_0x1d95cb>0x7b)throw new RangeError(_0xf961e4(0x294));_0x423ebd=Buffer[_0xf961e4(0x1de)](0x2+_0x1d95cb),_0x423ebd[_0xf961e4(0x2aa)](_0x363060,0x0),typeof _0x1286cb==_0xf961e4(0x274)?_0x423ebd[_0xf961e4(0x1a2)](_0x1286cb,0x2):_0x423ebd[_0xf961e4(0x2b2)](_0x1286cb,0x2);}}const _0xb9bb1c={[_0x7b0c92]:_0x423ebd[_0xf961e4(0x1d2)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xfc1553,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xf961e4(0x1cd)]!==_0x3789de?this[_0xf961e4(0x2cc)]([this[_0xf961e4(0x1dc)],_0x423ebd,!0x1,_0xb9bb1c,_0x299d27]):this['sendFrame'](_0x6a8e89['frame'](_0x423ebd,_0xb9bb1c),_0x299d27);}[_0x5334a6(0x219)](_0x2a3ddf,_0x20ccb1,_0x494e24){const _0x5c1fec=_0x5334a6;let _0x9a53cc,_0x42f3e0;if(typeof _0x2a3ddf=='string'?(_0x9a53cc=Buffer[_0x5c1fec(0x2e7)](_0x2a3ddf),_0x42f3e0=!0x1):_0x17c0d3(_0x2a3ddf)?(_0x9a53cc=_0x2a3ddf[_0x5c1fec(0x204)],_0x42f3e0=!0x1):(_0x2a3ddf=_0x1b0017(_0x2a3ddf),_0x9a53cc=_0x2a3ddf['length'],_0x42f3e0=_0x1b0017[_0x5c1fec(0x1e4)]),_0x9a53cc>0x7d)throw new RangeError(_0x5c1fec(0x2e1));const _0x16f1ab={[_0x7b0c92]:_0x9a53cc,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x20ccb1,'maskBuffer':this[_0x5c1fec(0x2c4)],'opcode':0x9,'readOnly':_0x42f3e0,'rsv1':!0x1};_0x17c0d3(_0x2a3ddf)?this['_state']!==_0x3789de?this[_0x5c1fec(0x2cc)]([this[_0x5c1fec(0x15c)],_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24]):this[_0x5c1fec(0x15c)](_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24):this[_0x5c1fec(0x1cd)]!==_0x3789de?this['enqueue']([this[_0x5c1fec(0x1dc)],_0x2a3ddf,!0x1,_0x16f1ab,_0x494e24]):this[_0x5c1fec(0x228)](_0x6a8e89[_0x5c1fec(0x234)](_0x2a3ddf,_0x16f1ab),_0x494e24);}[_0x5334a6(0x20d)](_0xc30701,_0x395546,_0x42c04d){const _0x1ae483=_0x5334a6;let _0x2030e6,_0x397205;if(typeof _0xc30701==_0x1ae483(0x274)?(_0x2030e6=Buffer[_0x1ae483(0x2e7)](_0xc30701),_0x397205=!0x1):_0x17c0d3(_0xc30701)?(_0x2030e6=_0xc30701[_0x1ae483(0x204)],_0x397205=!0x1):(_0xc30701=_0x1b0017(_0xc30701),_0x2030e6=_0xc30701['length'],_0x397205=_0x1b0017[_0x1ae483(0x1e4)]),_0x2030e6>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x26b312={[_0x7b0c92]:_0x2030e6,'fin':!0x0,'generateMask':this[_0x1ae483(0x25e)],'mask':_0x395546,'maskBuffer':this[_0x1ae483(0x2c4)],'opcode':0xa,'readOnly':_0x397205,'rsv1':!0x1};_0x17c0d3(_0xc30701)?this[_0x1ae483(0x1cd)]!==_0x3789de?this['enqueue']([this[_0x1ae483(0x15c)],_0xc30701,!0x1,_0x26b312,_0x42c04d]):this['getBlobData'](_0xc30701,!0x1,_0x26b312,_0x42c04d):this[_0x1ae483(0x1cd)]!==_0x3789de?this[_0x1ae483(0x2cc)]([this[_0x1ae483(0x1dc)],_0xc30701,!0x1,_0x26b312,_0x42c04d]):this[_0x1ae483(0x228)](_0x6a8e89[_0x1ae483(0x234)](_0xc30701,_0x26b312),_0x42c04d);}[_0x5334a6(0x1d3)](_0x5679b4,_0x4f9a7d,_0x5c5b61){const _0x1a693f=_0x5334a6,_0x1f137d=this[_0x1a693f(0x1a1)][_0xf781ba[_0x1a693f(0x169)]];let _0x27bdfc=_0x4f9a7d[_0x1a693f(0x1ba)]?0x2:0x1,_0x21a407=_0x4f9a7d[_0x1a693f(0x1c4)],_0x732233,_0x444ee1;typeof _0x5679b4==_0x1a693f(0x274)?(_0x732233=Buffer[_0x1a693f(0x2e7)](_0x5679b4),_0x444ee1=!0x1):_0x17c0d3(_0x5679b4)?(_0x732233=_0x5679b4[_0x1a693f(0x204)],_0x444ee1=!0x1):(_0x5679b4=_0x1b0017(_0x5679b4),_0x732233=_0x5679b4[_0x1a693f(0x1d2)],_0x444ee1=_0x1b0017[_0x1a693f(0x1e4)]),this[_0x1a693f(0x181)]?(this[_0x1a693f(0x181)]=!0x1,_0x21a407&&_0x1f137d&&_0x1f137d[_0x1a693f(0x2a0)][_0x1f137d[_0x1a693f(0x2d8)]?_0x1a693f(0x17b):_0x1a693f(0x241)]&&(_0x21a407=_0x732233>=_0x1f137d[_0x1a693f(0x29c)]),this['_compress']=_0x21a407):(_0x21a407=!0x1,_0x27bdfc=0x0),_0x4f9a7d[_0x1a693f(0x279)]&&(this[_0x1a693f(0x181)]=!0x0);const _0x1746b1={[_0x7b0c92]:_0x732233,'fin':_0x4f9a7d[_0x1a693f(0x279)],'generateMask':this['_generateMask'],'mask':_0x4f9a7d[_0x1a693f(0x249)],'maskBuffer':this[_0x1a693f(0x2c4)],'opcode':_0x27bdfc,'readOnly':_0x444ee1,'rsv1':_0x21a407};_0x17c0d3(_0x5679b4)?this[_0x1a693f(0x1cd)]!==_0x3789de?this[_0x1a693f(0x2cc)]([this[_0x1a693f(0x15c)],_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61]):this['getBlobData'](_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61):this[_0x1a693f(0x1cd)]!==_0x3789de?this[_0x1a693f(0x2cc)]([this['dispatch'],_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61]):this[_0x1a693f(0x1dc)](_0x5679b4,this[_0x1a693f(0x1e6)],_0x1746b1,_0x5c5b61);}[_0x5334a6(0x15c)](_0x5890d1,_0x3db2d1,_0x35b0b1,_0x35955f){const _0x5b911c=_0x5334a6;this[_0x5b911c(0x210)]+=_0x35b0b1[_0x7b0c92],this[_0x5b911c(0x1cd)]=_0x4c40d0,_0x5890d1['arrayBuffer']()[_0x5b911c(0x13d)](_0x5e1f6a=>{const _0x18ecca=_0x5b911c;if(this[_0x18ecca(0x277)][_0x18ecca(0x172)]){const _0x5a921a=new Error(_0x18ecca(0x15a));process['nextTick'](_0x4acb81,this,_0x5a921a,_0x35955f);return;}this['_bufferedBytes']-=_0x35b0b1[_0x7b0c92];const _0xaf807d=_0x1b0017(_0x5e1f6a);_0x3db2d1?this['dispatch'](_0xaf807d,_0x3db2d1,_0x35b0b1,_0x35955f):(this['_state']=_0x3789de,this[_0x18ecca(0x228)](_0x6a8e89[_0x18ecca(0x234)](_0xaf807d,_0x35b0b1),_0x35955f),this['dequeue']());})[_0x5b911c(0x28e)](_0x1abb73=>{const _0x370903=_0x5b911c;process[_0x370903(0x1b8)](_0x2daef3,this,_0x1abb73,_0x35955f);});}['dispatch'](_0x2fd6af,_0x4390a6,_0x29308a,_0x4ddab2){const _0x454d19=_0x5334a6;if(!_0x4390a6){this['sendFrame'](_0x6a8e89[_0x454d19(0x234)](_0x2fd6af,_0x29308a),_0x4ddab2);return;}const _0x2b37a3=this[_0x454d19(0x1a1)][_0xf781ba[_0x454d19(0x169)]];this[_0x454d19(0x210)]+=_0x29308a[_0x7b0c92],this['_state']=_0x2d6f66,_0x2b37a3['compress'](_0x2fd6af,_0x29308a[_0x454d19(0x279)],(_0x47430,_0x59fd13)=>{const _0x20b01b=_0x454d19;if(this[_0x20b01b(0x277)][_0x20b01b(0x172)]){const _0x233d92=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4acb81(this,_0x233d92,_0x4ddab2);return;}this['_bufferedBytes']-=_0x29308a[_0x7b0c92],this[_0x20b01b(0x1cd)]=_0x3789de,_0x29308a[_0x20b01b(0x1e4)]=!0x1,this[_0x20b01b(0x228)](_0x6a8e89[_0x20b01b(0x234)](_0x59fd13,_0x29308a),_0x4ddab2),this[_0x20b01b(0x27b)]();});}[_0x5334a6(0x27b)](){const _0x5018f7=_0x5334a6;for(;this[_0x5018f7(0x1cd)]===_0x3789de&&this[_0x5018f7(0x287)][_0x5018f7(0x1d2)];){const _0x493822=this[_0x5018f7(0x287)][_0x5018f7(0x253)]();this[_0x5018f7(0x210)]-=_0x493822[0x3][_0x7b0c92],Reflect[_0x5018f7(0x246)](_0x493822[0x0],this,_0x493822[_0x5018f7(0x205)](0x1));}}[_0x5334a6(0x2cc)](_0x53a287){this['_bufferedBytes']+=_0x53a287[0x3][_0x7b0c92],this['_queue']['push'](_0x53a287);}['sendFrame'](_0x16ad7f,_0x16dd18){const _0x2f0fb6=_0x5334a6;_0x16ad7f[_0x2f0fb6(0x1d2)]===0x2?(this['_socket'][_0x2f0fb6(0x13f)](),this['_socket']['write'](_0x16ad7f[0x0]),this[_0x2f0fb6(0x277)][_0x2f0fb6(0x1a2)](_0x16ad7f[0x1],_0x16dd18),this[_0x2f0fb6(0x277)][_0x2f0fb6(0x26b)]()):this[_0x2f0fb6(0x277)][_0x2f0fb6(0x1a2)](_0x16ad7f[0x0],_0x16dd18);}}Ee=_0x6a8e89;function _0x4acb81(_0x2af3b6,_0x8a0dee,_0x215c50){const _0x1485c6=_0x5334a6;typeof _0x215c50==_0x1485c6(0x1b5)&&_0x215c50(_0x8a0dee);for(let _0x5305cc=0x0;_0x5305cc<_0x2af3b6[_0x1485c6(0x287)][_0x1485c6(0x1d2)];_0x5305cc++){const _0x493c35=_0x2af3b6['_queue'][_0x5305cc],_0x3d5e2=_0x493c35[_0x493c35[_0x1485c6(0x1d2)]-0x1];typeof _0x3d5e2=='function'&&_0x3d5e2(_0x8a0dee);}}function _0x2daef3(_0x435baf,_0x418593,_0x2ef132){_0x4acb81(_0x435baf,_0x418593,_0x2ef132),_0x435baf['onerror'](_0x418593);}return Ee;}var xe,tt;function Kt(){const _0x15fc3b=_0x5b728b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x125b0a,kListener:_0x1ab8f4}=V(),_0xb8f989=Symbol('kCode'),_0x223ffb=Symbol(_0x15fc3b(0x269)),_0xc313f3=Symbol(_0x15fc3b(0x227)),_0x71341c=Symbol(_0x15fc3b(0x142)),_0x3148a3=Symbol(_0x15fc3b(0x22f)),_0x2b596e=Symbol(_0x15fc3b(0x15b)),_0x3921f9=Symbol(_0x15fc3b(0x1c6)),_0x32aa48=Symbol('kWasClean');class _0x1592ca{constructor(_0x1a389d){this[_0x2b596e]=null,this[_0x3921f9]=_0x1a389d;}get[_0x15fc3b(0x157)](){return this[_0x2b596e];}get[_0x15fc3b(0x1f6)](){return this[_0x3921f9];}}Object[_0x15fc3b(0x218)](_0x1592ca[_0x15fc3b(0x199)],_0x15fc3b(0x157),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x1592ca[_0x15fc3b(0x199)],_0x15fc3b(0x1f6),{'enumerable':!0x0});class _0x4ca041 extends _0x1592ca{constructor(_0xb9f2d9,_0x45b0e1={}){const _0x55a660=_0x15fc3b;super(_0xb9f2d9),this[_0xb8f989]=_0x45b0e1[_0x55a660(0x159)]===void 0x0?0x0:_0x45b0e1[_0x55a660(0x159)],this[_0x3148a3]=_0x45b0e1[_0x55a660(0x23d)]===void 0x0?'':_0x45b0e1[_0x55a660(0x23d)],this[_0x32aa48]=_0x45b0e1[_0x55a660(0x268)]===void 0x0?!0x1:_0x45b0e1[_0x55a660(0x268)];}get[_0x15fc3b(0x159)](){return this[_0xb8f989];}get[_0x15fc3b(0x23d)](){return this[_0x3148a3];}get[_0x15fc3b(0x268)](){return this[_0x32aa48];}}Object['defineProperty'](_0x4ca041[_0x15fc3b(0x199)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x4ca041[_0x15fc3b(0x199)],_0x15fc3b(0x23d),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x4ca041['prototype'],'wasClean',{'enumerable':!0x0});class _0x5e4771 extends _0x1592ca{constructor(_0x29f4e8,_0x1c917c={}){const _0x40aad7=_0x15fc3b;super(_0x29f4e8),this[_0xc313f3]=_0x1c917c[_0x40aad7(0x239)]===void 0x0?null:_0x1c917c[_0x40aad7(0x239)],this[_0x71341c]=_0x1c917c[_0x40aad7(0x247)]===void 0x0?'':_0x1c917c[_0x40aad7(0x247)];}get[_0x15fc3b(0x239)](){return this[_0xc313f3];}get[_0x15fc3b(0x247)](){return this[_0x71341c];}}Object['defineProperty'](_0x5e4771[_0x15fc3b(0x199)],_0x15fc3b(0x239),{'enumerable':!0x0}),Object[_0x15fc3b(0x218)](_0x5e4771['prototype'],_0x15fc3b(0x247),{'enumerable':!0x0});class _0x195e89 extends _0x1592ca{constructor(_0x574804,_0x12526b={}){const _0x3cdd59=_0x15fc3b;super(_0x574804),this[_0x223ffb]=_0x12526b[_0x3cdd59(0x187)]===void 0x0?null:_0x12526b[_0x3cdd59(0x187)];}get[_0x15fc3b(0x187)](){return this[_0x223ffb];}}Object[_0x15fc3b(0x218)](_0x195e89['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4ca041,'ErrorEvent':_0x5e4771,'Event':_0x1592ca,'EventTarget':{'addEventListener'(_0x3a7e20,_0x1957f1,_0x4ba946={}){const _0xe8254d=_0x15fc3b;for(const _0x5a5298 of this[_0xe8254d(0x1ad)](_0x3a7e20))if(!_0x4ba946[_0x125b0a]&&_0x5a5298[_0x1ab8f4]===_0x1957f1&&!_0x5a5298[_0x125b0a])return;let _0x1c75a7;if(_0x3a7e20==='message')_0x1c75a7=function(_0xd20833,_0x450b46){const _0x4abe6a=_0xe8254d,_0xdf4db2=new _0x195e89(_0x4abe6a(0x247),{'data':_0x450b46?_0xd20833:_0xd20833[_0x4abe6a(0x2b0)]()});_0xdf4db2[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0xdf4db2);};else{if(_0x3a7e20===_0xe8254d(0x2ba))_0x1c75a7=function(_0x48dbfd,_0x502a96){const _0xc14f9d=_0xe8254d,_0x2400bb=new _0x4ca041(_0xc14f9d(0x2ba),{'code':_0x48dbfd,'reason':_0x502a96['toString'](),'wasClean':this[_0xc14f9d(0x1b1)]&&this[_0xc14f9d(0x1cf)]});_0x2400bb[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x2400bb);};else{if(_0x3a7e20===_0xe8254d(0x239))_0x1c75a7=function(_0x47e053){const _0x3c2504=_0xe8254d,_0x40e1ff=new _0x5e4771(_0x3c2504(0x239),{'error':_0x47e053,'message':_0x47e053[_0x3c2504(0x247)]});_0x40e1ff[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x40e1ff);};else{if(_0x3a7e20===_0xe8254d(0x17e))_0x1c75a7=function(){const _0x4e5bd4=new _0x1592ca('open');_0x4e5bd4[_0x2b596e]=this,_0x446b0f(_0x1957f1,this,_0x4e5bd4);};else return;}}}_0x1c75a7[_0x125b0a]=!!_0x4ba946[_0x125b0a],_0x1c75a7[_0x1ab8f4]=_0x1957f1,_0x4ba946[_0xe8254d(0x1e0)]?this[_0xe8254d(0x1e0)](_0x3a7e20,_0x1c75a7):this['on'](_0x3a7e20,_0x1c75a7);},'removeEventListener'(_0x47e8d3,_0x381a6d){const _0x2fdde5=_0x15fc3b;for(const _0x3c88b6 of this[_0x2fdde5(0x1ad)](_0x47e8d3))if(_0x3c88b6[_0x1ab8f4]===_0x381a6d&&!_0x3c88b6[_0x125b0a]){this[_0x2fdde5(0x146)](_0x47e8d3,_0x3c88b6);break;}}},'MessageEvent':_0x195e89};function _0x446b0f(_0x41bdcb,_0xcc3f85,_0x4b0a11){const _0x2ad077=_0x15fc3b;typeof _0x41bdcb==_0x2ad077(0x28b)&&_0x41bdcb['handleEvent']?_0x41bdcb['handleEvent'][_0x2ad077(0x262)](_0x41bdcb,_0x4b0a11):_0x41bdcb['call'](_0xcc3f85,_0x4b0a11);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x512420}=ne();function _0x4aebf3(_0x391c5c,_0xd4e3ae,_0x2766ea){const _0x781b97=_0x4100;_0x391c5c[_0xd4e3ae]===void 0x0?_0x391c5c[_0xd4e3ae]=[_0x2766ea]:_0x391c5c[_0xd4e3ae][_0x781b97(0x1b6)](_0x2766ea);}function _0x4154a3(_0x57f13a){const _0x36ea39=_0x4100,_0x262927=Object[_0x36ea39(0x17a)](null);let _0x424193=Object[_0x36ea39(0x17a)](null),_0x503f7e=!0x1,_0x50e29b=!0x1,_0x3f4f13=!0x1,_0x59cf7a,_0x1da08c,_0x426871=-0x1,_0x5733d4=-0x1,_0x2c8470=-0x1,_0x2db708=0x0;for(;_0x2db708<_0x57f13a[_0x36ea39(0x1d2)];_0x2db708++)if(_0x5733d4=_0x57f13a[_0x36ea39(0x2c9)](_0x2db708),_0x59cf7a===void 0x0){if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x2db708!==0x0&&(_0x5733d4===0x20||_0x5733d4===0x9))_0x2c8470===-0x1&&_0x426871!==-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);const _0x261084=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470);_0x5733d4===0x2c?(_0x4aebf3(_0x262927,_0x261084,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null)):_0x59cf7a=_0x261084,_0x426871=_0x2c8470=-0x1;}else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}else{if(_0x1da08c===void 0x0){if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x5733d4===0x20||_0x5733d4===0x9)_0x2c8470===-0x1&&_0x426871!==-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708),_0x4aebf3(_0x424193,_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470),!0x0),_0x5733d4===0x2c&&(_0x4aebf3(_0x262927,_0x59cf7a,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null),_0x59cf7a=void 0x0),_0x426871=_0x2c8470=-0x1;}else{if(_0x5733d4===0x3d&&_0x426871!==-0x1&&_0x2c8470===-0x1)_0x1da08c=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2db708),_0x426871=_0x2c8470=-0x1;else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}}else{if(_0x50e29b){if(_0x512420[_0x5733d4]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2db708);_0x426871===-0x1?_0x426871=_0x2db708:_0x503f7e||(_0x503f7e=!0x0),_0x50e29b=!0x1;}else{if(_0x3f4f13){if(_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x5733d4===0x22&&_0x426871!==-0x1)_0x3f4f13=!0x1,_0x2c8470=_0x2db708;else{if(_0x5733d4===0x5c)_0x50e29b=!0x0;else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}else{if(_0x5733d4===0x22&&_0x57f13a['charCodeAt'](_0x2db708-0x1)===0x3d)_0x3f4f13=!0x0;else{if(_0x2c8470===-0x1&&_0x512420[_0x5733d4]===0x1)_0x426871===-0x1&&(_0x426871=_0x2db708);else{if(_0x426871!==-0x1&&(_0x5733d4===0x20||_0x5733d4===0x9))_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);else{if(_0x5733d4===0x3b||_0x5733d4===0x2c){if(_0x426871===-0x1)throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);let _0x205089=_0x57f13a[_0x36ea39(0x205)](_0x426871,_0x2c8470);_0x503f7e&&(_0x205089=_0x205089['replace'](/\\/g,''),_0x503f7e=!0x1),_0x4aebf3(_0x424193,_0x1da08c,_0x205089),_0x5733d4===0x2c&&(_0x4aebf3(_0x262927,_0x59cf7a,_0x424193),_0x424193=Object[_0x36ea39(0x17a)](null),_0x59cf7a=void 0x0),_0x1da08c=void 0x0,_0x426871=_0x2c8470=-0x1;}else throw new SyntaxError(_0x36ea39(0x15d)+_0x2db708);}}}}}}}if(_0x426871===-0x1||_0x3f4f13||_0x5733d4===0x20||_0x5733d4===0x9)throw new SyntaxError(_0x36ea39(0x14d));_0x2c8470===-0x1&&(_0x2c8470=_0x2db708);const _0x54ee02=_0x57f13a['slice'](_0x426871,_0x2c8470);return _0x59cf7a===void 0x0?_0x4aebf3(_0x262927,_0x54ee02,_0x424193):(_0x1da08c===void 0x0?_0x4aebf3(_0x424193,_0x54ee02,!0x0):_0x503f7e?_0x4aebf3(_0x424193,_0x1da08c,_0x54ee02[_0x36ea39(0x158)](/\\/g,'')):_0x4aebf3(_0x424193,_0x1da08c,_0x54ee02),_0x4aebf3(_0x262927,_0x59cf7a,_0x424193)),_0x262927;}function _0x4b8908(_0x58a1d4){const _0x5d8727=_0x4100;return Object['keys'](_0x58a1d4)[_0x5d8727(0x29a)](_0x593ca5=>{const _0x18eb75=_0x5d8727;let _0x8b140b=_0x58a1d4[_0x593ca5];return Array[_0x18eb75(0x266)](_0x8b140b)||(_0x8b140b=[_0x8b140b]),_0x8b140b[_0x18eb75(0x29a)](_0x139bc6=>[_0x593ca5]['concat'](Object[_0x18eb75(0x1bb)](_0x139bc6)[_0x18eb75(0x29a)](_0x2a3e35=>{const _0x2df989=_0x18eb75;let _0x5a5286=_0x139bc6[_0x2a3e35];return Array[_0x2df989(0x266)](_0x5a5286)||(_0x5a5286=[_0x5a5286]),_0x5a5286[_0x2df989(0x29a)](_0x5bae79=>_0x5bae79===!0x0?_0x2a3e35:_0x2a3e35+'='+_0x5bae79)[_0x2df989(0x1d6)](';\x20');}))[_0x18eb75(0x1d6)](';\x20'))[_0x18eb75(0x1d6)](',\x20');})[_0x5d8727(0x1d6)](',\x20');}return be={'format':_0x4b8908,'parse':_0x4154a3},be;}function _0x4100(_0x3152c4,_0x58098f){const _0x37151a=_0x3715();return _0x4100=function(_0x4100e4,_0x112852){_0x4100e4=_0x4100e4-0x13c;let _0x37a806=_0x37151a[_0x4100e4];return _0x37a806;},_0x4100(_0x3152c4,_0x58098f);}var we,st;function Ie(){const _0x4a4f21=_0x5b728b;if(st)return we;st=0x1;const _0x485197=_0x26b4d0,_0x409980=_0x1e9eb,_0x307d3b=_0x480143,_0x3c2c92=_0x3e7207,_0x26f85d=_0x22978d,{randomBytes:_0x42bc2b,createHash:_0x25a82c}=_0xa82a62,{Duplex:_0x4de349,Readable:_0x74ad99}=_0x423274,{URL:_0x119c95}=_0x468647,_0x428ee8=he(),_0x3ebe39=dt(),_0x579b0f=_t(),{isBlob:_0x37b801}=ne(),{BINARY_TYPES:_0x562734,EMPTY_BUFFER:_0x598565,GUID:_0x8aee6d,kForOnEventAttribute:_0x406aa3,kListener:_0x238c05,kStatusCode:_0xac7958,kWebSocket:_0x2f566c,NOOP:_0x3dd1c2}=V(),{EventTarget:{addEventListener:_0x4fb8dc,removeEventListener:_0x392308}}=Kt(),{format:_0x4ed91d,parse:_0x40d006}=pt(),{toBuffer:_0xd92f33}=ce(),_0x4b7ff0=0x1e*0x3e8,_0x56e172=Symbol(_0x4a4f21(0x2ce)),_0x4fff30=[0x8,0xd],_0x233f55=['CONNECTING',_0x4a4f21(0x1d5),_0x4a4f21(0x1c0),'CLOSED'],_0x1bfb0e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x54ddba extends _0x485197{constructor(_0x4641fa,_0x225cb7,_0x1d601e){const _0x50cfa7=_0x4a4f21;super(),this[_0x50cfa7(0x264)]=_0x562734[0x0],this[_0x50cfa7(0x17f)]=0x3ee,this[_0x50cfa7(0x1b1)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x50cfa7(0x28a)]=_0x598565,this[_0x50cfa7(0x24a)]=null,this['_errorEmitted']=!0x1,this[_0x50cfa7(0x1a1)]={},this[_0x50cfa7(0x2a6)]=!0x1,this['_protocol']='',this['_readyState']=_0x54ddba['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x50cfa7(0x277)]=null,_0x4641fa!==null?(this[_0x50cfa7(0x2d5)]=0x0,this['_isServer']=!0x1,this[_0x50cfa7(0x24c)]=0x0,_0x225cb7===void 0x0?_0x225cb7=[]:Array['isArray'](_0x225cb7)||(typeof _0x225cb7==_0x50cfa7(0x28b)&&_0x225cb7!==null?(_0x1d601e=_0x225cb7,_0x225cb7=[]):_0x225cb7=[_0x225cb7]),_0x11eaec(this,_0x4641fa,_0x225cb7,_0x1d601e)):(this[_0x50cfa7(0x242)]=_0x1d601e[_0x50cfa7(0x186)],this['_isServer']=!0x0);}get[_0x4a4f21(0x1d9)](){const _0xb6ea2f=_0x4a4f21;return this[_0xb6ea2f(0x264)];}set[_0x4a4f21(0x1d9)](_0x5153b2){const _0xb0a284=_0x4a4f21;_0x562734[_0xb0a284(0x156)](_0x5153b2)&&(this['_binaryType']=_0x5153b2,this[_0xb0a284(0x1c1)]&&(this['_receiver']['_binaryType']=_0x5153b2));}get[_0x4a4f21(0x252)](){const _0x5469bc=_0x4a4f21;return this[_0x5469bc(0x277)]?this['_socket'][_0x5469bc(0x162)][_0x5469bc(0x1d2)]+this[_0x5469bc(0x1df)][_0x5469bc(0x210)]:this[_0x5469bc(0x2d5)];}get[_0x4a4f21(0x2a5)](){const _0x511aa9=_0x4a4f21;return Object['keys'](this[_0x511aa9(0x1a1)])['join']();}get[_0x4a4f21(0x154)](){const _0xea8d19=_0x4a4f21;return this[_0xea8d19(0x2a6)];}get[_0x4a4f21(0x278)](){return null;}get[_0x4a4f21(0x2e3)](){return null;}get[_0x4a4f21(0x2a3)](){return null;}get[_0x4a4f21(0x16b)](){return null;}get[_0x4a4f21(0x21a)](){return this['_protocol'];}get[_0x4a4f21(0x259)](){const _0xa056ec=_0x4a4f21;return this[_0xa056ec(0x2c3)];}get[_0x4a4f21(0x2e2)](){const _0x278f19=_0x4a4f21;return this[_0x278f19(0x18d)];}[_0x4a4f21(0x2d7)](_0x56b091,_0x175065,_0x12ed32){const _0x440828=_0x4a4f21,_0x1ffc26=new _0x3ebe39({'allowSynchronousEvents':_0x12ed32[_0x440828(0x220)],'binaryType':this[_0x440828(0x1d9)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x12ed32[_0x440828(0x291)],'skipUTF8Validation':_0x12ed32[_0x440828(0x1e8)]}),_0x50dc8c=new _0x579b0f(_0x56b091,this[_0x440828(0x1a1)],_0x12ed32[_0x440828(0x2c6)]);this[_0x440828(0x1c1)]=_0x1ffc26,this['_sender']=_0x50dc8c,this[_0x440828(0x277)]=_0x56b091,_0x1ffc26[_0x2f566c]=this,_0x50dc8c[_0x2f566c]=this,_0x56b091[_0x2f566c]=this,_0x1ffc26['on'](_0x440828(0x144),_0x428595),_0x1ffc26['on'](_0x440828(0x2d4),_0x4b2f41),_0x1ffc26['on'](_0x440828(0x239),_0x3bee18),_0x1ffc26['on'](_0x440828(0x247),_0x413eaf),_0x1ffc26['on'](_0x440828(0x219),_0x3e3540),_0x1ffc26['on'](_0x440828(0x20d),_0x54a21d),_0x50dc8c[_0x440828(0x2e3)]=_0x7f7b63,_0x56b091[_0x440828(0x211)]&&_0x56b091[_0x440828(0x211)](0x0),_0x56b091[_0x440828(0x21f)]&&_0x56b091[_0x440828(0x21f)](),_0x175065[_0x440828(0x1d2)]>0x0&&_0x56b091[_0x440828(0x1f2)](_0x175065),_0x56b091['on'](_0x440828(0x2ba),_0x1b2dd5),_0x56b091['on'](_0x440828(0x187),_0x3ea333),_0x56b091['on']('end',_0x11ac24),_0x56b091['on'](_0x440828(0x239),_0x3f8497),this[_0x440828(0x2c3)]=_0x54ddba[_0x440828(0x1d5)],this[_0x440828(0x260)](_0x440828(0x17e));}[_0x4a4f21(0x282)](){const _0x40af0d=_0x4a4f21;if(!this[_0x40af0d(0x277)]){this['_readyState']=_0x54ddba[_0x40af0d(0x230)],this[_0x40af0d(0x260)](_0x40af0d(0x2ba),this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x428ee8[_0x40af0d(0x169)]]&&this[_0x40af0d(0x1a1)][_0x428ee8[_0x40af0d(0x169)]][_0x40af0d(0x23e)](),this[_0x40af0d(0x1c1)][_0x40af0d(0x19c)](),this[_0x40af0d(0x2c3)]=_0x54ddba[_0x40af0d(0x230)],this[_0x40af0d(0x260)]('close',this['_closeCode'],this[_0x40af0d(0x28a)]);}[_0x4a4f21(0x2ba)](_0x578c8a,_0x206aa5){const _0x1ed872=_0x4a4f21;if(this[_0x1ed872(0x259)]!==_0x54ddba[_0x1ed872(0x230)]){if(this[_0x1ed872(0x259)]===_0x54ddba[_0x1ed872(0x21d)]){_0x13755a(this,this[_0x1ed872(0x1f7)],_0x1ed872(0x152));return;}if(this['readyState']===_0x54ddba['CLOSING']){this[_0x1ed872(0x1cf)]&&(this['_closeFrameReceived']||this[_0x1ed872(0x1c1)][_0x1ed872(0x162)][_0x1ed872(0x14e)])&&this[_0x1ed872(0x277)][_0x1ed872(0x1eb)]();return;}this[_0x1ed872(0x2c3)]=_0x54ddba['CLOSING'],this[_0x1ed872(0x1df)][_0x1ed872(0x2ba)](_0x578c8a,_0x206aa5,!this[_0x1ed872(0x2d8)],_0xa61b0f=>{const _0x27a2d7=_0x1ed872;_0xa61b0f||(this[_0x27a2d7(0x1cf)]=!0x0,(this['_closeFrameReceived']||this[_0x27a2d7(0x1c1)][_0x27a2d7(0x162)]['errorEmitted'])&&this[_0x27a2d7(0x277)][_0x27a2d7(0x1eb)]());}),_0x577ec0(this);}}['pause'](){const _0x25af88=_0x4a4f21;this['readyState']===_0x54ddba['CONNECTING']||this['readyState']===_0x54ddba[_0x25af88(0x230)]||(this['_paused']=!0x0,this['_socket'][_0x25af88(0x2ae)]());}[_0x4a4f21(0x219)](_0x5b6251,_0x15ef9c,_0x3073f7){const _0x323e2f=_0x4a4f21;if(this[_0x323e2f(0x259)]===_0x54ddba[_0x323e2f(0x21d)])throw new Error(_0x323e2f(0x2a1));if(typeof _0x5b6251==_0x323e2f(0x1b5)?(_0x3073f7=_0x5b6251,_0x5b6251=_0x15ef9c=void 0x0):typeof _0x15ef9c=='function'&&(_0x3073f7=_0x15ef9c,_0x15ef9c=void 0x0),typeof _0x5b6251==_0x323e2f(0x2c0)&&(_0x5b6251=_0x5b6251['toString']()),this['readyState']!==_0x54ddba[_0x323e2f(0x1d5)]){_0x42f48d(this,_0x5b6251,_0x3073f7);return;}_0x15ef9c===void 0x0&&(_0x15ef9c=!this['_isServer']),this[_0x323e2f(0x1df)][_0x323e2f(0x219)](_0x5b6251||_0x598565,_0x15ef9c,_0x3073f7);}[_0x4a4f21(0x20d)](_0x568140,_0x19ff44,_0x562838){const _0x2d4c5b=_0x4a4f21;if(this[_0x2d4c5b(0x259)]===_0x54ddba[_0x2d4c5b(0x21d)])throw new Error(_0x2d4c5b(0x2a1));if(typeof _0x568140==_0x2d4c5b(0x1b5)?(_0x562838=_0x568140,_0x568140=_0x19ff44=void 0x0):typeof _0x19ff44==_0x2d4c5b(0x1b5)&&(_0x562838=_0x19ff44,_0x19ff44=void 0x0),typeof _0x568140==_0x2d4c5b(0x2c0)&&(_0x568140=_0x568140[_0x2d4c5b(0x2b0)]()),this['readyState']!==_0x54ddba['OPEN']){_0x42f48d(this,_0x568140,_0x562838);return;}_0x19ff44===void 0x0&&(_0x19ff44=!this[_0x2d4c5b(0x2d8)]),this[_0x2d4c5b(0x1df)][_0x2d4c5b(0x20d)](_0x568140||_0x598565,_0x19ff44,_0x562838);}[_0x4a4f21(0x2ec)](){const _0x10783f=_0x4a4f21;this[_0x10783f(0x259)]===_0x54ddba[_0x10783f(0x21d)]||this['readyState']===_0x54ddba[_0x10783f(0x230)]||(this[_0x10783f(0x2a6)]=!0x1,this[_0x10783f(0x1c1)][_0x10783f(0x162)][_0x10783f(0x29f)]||this[_0x10783f(0x277)]['resume']());}[_0x4a4f21(0x1d3)](_0x57de71,_0x13054b,_0x4904fe){const _0x231be5=_0x4a4f21;if(this['readyState']===_0x54ddba[_0x231be5(0x21d)])throw new Error(_0x231be5(0x2a1));if(typeof _0x13054b==_0x231be5(0x1b5)&&(_0x4904fe=_0x13054b,_0x13054b={}),typeof _0x57de71==_0x231be5(0x2c0)&&(_0x57de71=_0x57de71[_0x231be5(0x2b0)]()),this[_0x231be5(0x259)]!==_0x54ddba['OPEN']){_0x42f48d(this,_0x57de71,_0x4904fe);return;}const _0x16c6c3={'binary':typeof _0x57de71!=_0x231be5(0x274),'mask':!this[_0x231be5(0x2d8)],'compress':!0x0,'fin':!0x0,..._0x13054b};this[_0x231be5(0x1a1)][_0x428ee8['extensionName']]||(_0x16c6c3[_0x231be5(0x1c4)]=!0x1),this[_0x231be5(0x1df)][_0x231be5(0x1d3)](_0x57de71||_0x598565,_0x16c6c3,_0x4904fe);}['terminate'](){const _0x4eccd3=_0x4a4f21;if(this['readyState']!==_0x54ddba['CLOSED']){if(this[_0x4eccd3(0x259)]===_0x54ddba[_0x4eccd3(0x21d)]){_0x13755a(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x4eccd3(0x277)]&&(this[_0x4eccd3(0x2c3)]=_0x54ddba[_0x4eccd3(0x1c0)],this['_socket'][_0x4eccd3(0x1f0)]());}}}Object['defineProperty'](_0x54ddba,_0x4a4f21(0x21d),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x21d))}),Object['defineProperty'](_0x54ddba[_0x4a4f21(0x199)],'CONNECTING',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x21d))}),Object['defineProperty'](_0x54ddba,'OPEN',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1d5))}),Object[_0x4a4f21(0x218)](_0x54ddba[_0x4a4f21(0x199)],'OPEN',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)]('OPEN')}),Object[_0x4a4f21(0x218)](_0x54ddba,_0x4a4f21(0x1c0),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1c0))}),Object[_0x4a4f21(0x218)](_0x54ddba[_0x4a4f21(0x199)],_0x4a4f21(0x1c0),{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)](_0x4a4f21(0x1c0))}),Object['defineProperty'](_0x54ddba,'CLOSED',{'enumerable':!0x0,'value':_0x233f55[_0x4a4f21(0x182)]('CLOSED')}),Object[_0x4a4f21(0x218)](_0x54ddba['prototype'],_0x4a4f21(0x230),{'enumerable':!0x0,'value':_0x233f55['indexOf'](_0x4a4f21(0x230))}),[_0x4a4f21(0x1d9),_0x4a4f21(0x252),_0x4a4f21(0x2a5),'isPaused','protocol',_0x4a4f21(0x259),_0x4a4f21(0x2e2)][_0x4a4f21(0x1d8)](_0x17712b=>{const _0x28592f=_0x4a4f21;Object[_0x28592f(0x218)](_0x54ddba['prototype'],_0x17712b,{'enumerable':!0x0});}),[_0x4a4f21(0x17e),_0x4a4f21(0x239),_0x4a4f21(0x2ba),'message'][_0x4a4f21(0x1d8)](_0x418a53=>{const _0x301dcc=_0x4a4f21;Object[_0x301dcc(0x218)](_0x54ddba[_0x301dcc(0x199)],'on'+_0x418a53,{'enumerable':!0x0,'get'(){for(const _0xaf63cd of this['listeners'](_0x418a53))if(_0xaf63cd[_0x406aa3])return _0xaf63cd[_0x238c05];return null;},'set'(_0x24201b){const _0x2665f2=_0x301dcc;for(const _0x563e01 of this[_0x2665f2(0x1ad)](_0x418a53))if(_0x563e01[_0x406aa3]){this[_0x2665f2(0x146)](_0x418a53,_0x563e01);break;}typeof _0x24201b=='function'&&this[_0x2665f2(0x2c7)](_0x418a53,_0x24201b,{[_0x406aa3]:!0x0});}});}),_0x54ddba[_0x4a4f21(0x199)][_0x4a4f21(0x2c7)]=_0x4fb8dc,_0x54ddba[_0x4a4f21(0x199)][_0x4a4f21(0x26c)]=_0x392308,we=_0x54ddba;function _0x11eaec(_0xde6504,_0x139098,_0x1f3c17,_0x27ab68){const _0x206303=_0x4a4f21,_0x4c50c9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4fff30[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x27ab68,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x206303(0x153),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xde6504[_0x206303(0x242)]=_0x4c50c9[_0x206303(0x186)],!_0x4fff30[_0x206303(0x156)](_0x4c50c9[_0x206303(0x1f3)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4c50c9[_0x206303(0x1f3)]+_0x206303(0x208)+_0x4fff30['join'](',\x20')+')');let _0x55a0f2;if(_0x139098 instanceof _0x119c95)_0x55a0f2=_0x139098;else try{_0x55a0f2=new _0x119c95(_0x139098);}catch{throw new SyntaxError(_0x206303(0x140)+_0x139098);}_0x55a0f2[_0x206303(0x21a)]==='http:'?_0x55a0f2[_0x206303(0x21a)]=_0x206303(0x1fe):_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x261)&&(_0x55a0f2['protocol']=_0x206303(0x27a)),_0xde6504[_0x206303(0x18d)]=_0x55a0f2[_0x206303(0x23b)];const _0x2cda95=_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x27a),_0x5a2927=_0x55a0f2[_0x206303(0x21a)]===_0x206303(0x13e);let _0x4f277c;if(_0x55a0f2[_0x206303(0x21a)]!==_0x206303(0x1fe)&&!_0x2cda95&&!_0x5a2927?_0x4f277c=_0x206303(0x258):_0x5a2927&&!_0x55a0f2[_0x206303(0x188)]?_0x4f277c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x55a0f2[_0x206303(0x251)]&&(_0x4f277c=_0x206303(0x296)),_0x4f277c){const _0x3a164f=new SyntaxError(_0x4f277c);if(_0xde6504[_0x206303(0x24c)]===0x0)throw _0x3a164f;_0x50ee14(_0xde6504,_0x3a164f);return;}const _0x51b244=_0x2cda95?0x1bb:0x50,_0x20672e=_0x42bc2b(0x10)[_0x206303(0x2b0)](_0x206303(0x1cb)),_0x238bba=_0x2cda95?_0x409980[_0x206303(0x16c)]:_0x307d3b[_0x206303(0x16c)],_0x5b8e0f=new Set();let _0x42914d;if(_0x4c50c9['createConnection']=_0x4c50c9[_0x206303(0x13c)]||(_0x2cda95?_0x580675:_0x229076),_0x4c50c9['defaultPort']=_0x4c50c9[_0x206303(0x14c)]||_0x51b244,_0x4c50c9['port']=_0x55a0f2[_0x206303(0x2cf)]||_0x51b244,_0x4c50c9['host']=_0x55a0f2['hostname'][_0x206303(0x281)]('[')?_0x55a0f2[_0x206303(0x2b8)][_0x206303(0x205)](0x1,-0x1):_0x55a0f2['hostname'],_0x4c50c9[_0x206303(0x161)]={..._0x4c50c9[_0x206303(0x161)],'Sec-WebSocket-Version':_0x4c50c9[_0x206303(0x1f3)],'Sec-WebSocket-Key':_0x20672e,'Connection':'Upgrade','Upgrade':'websocket'},_0x4c50c9[_0x206303(0x1c9)]=_0x55a0f2[_0x206303(0x188)]+_0x55a0f2['search'],_0x4c50c9[_0x206303(0x27c)]=_0x4c50c9[_0x206303(0x1e7)],_0x4c50c9[_0x206303(0x2b7)]&&(_0x42914d=new _0x428ee8(_0x4c50c9[_0x206303(0x2b7)]!==!0x0?_0x4c50c9[_0x206303(0x2b7)]:{},!0x1,_0x4c50c9['maxPayload']),_0x4c50c9['headers']['Sec-WebSocket-Extensions']=_0x4ed91d({[_0x428ee8[_0x206303(0x169)]]:_0x42914d[_0x206303(0x2b4)]()})),_0x1f3c17[_0x206303(0x1d2)]){for(const _0x2d6b98 of _0x1f3c17){if(typeof _0x2d6b98!='string'||!_0x1bfb0e[_0x206303(0x1a3)](_0x2d6b98)||_0x5b8e0f['has'](_0x2d6b98))throw new SyntaxError(_0x206303(0x147));_0x5b8e0f[_0x206303(0x270)](_0x2d6b98);}_0x4c50c9[_0x206303(0x161)][_0x206303(0x1bc)]=_0x1f3c17[_0x206303(0x1d6)](',');}if(_0x4c50c9['origin']&&(_0x4c50c9[_0x206303(0x1f3)]<0xd?_0x4c50c9[_0x206303(0x161)][_0x206303(0x19b)]=_0x4c50c9[_0x206303(0x1f1)]:_0x4c50c9[_0x206303(0x161)][_0x206303(0x240)]=_0x4c50c9[_0x206303(0x1f1)]),(_0x55a0f2['username']||_0x55a0f2['password'])&&(_0x4c50c9[_0x206303(0x1ff)]=_0x55a0f2[_0x206303(0x222)]+':'+_0x55a0f2[_0x206303(0x1db)]),_0x5a2927){const _0x501e95=_0x4c50c9[_0x206303(0x1c9)][_0x206303(0x1ab)](':');_0x4c50c9['socketPath']=_0x501e95[0x0],_0x4c50c9[_0x206303(0x1c9)]=_0x501e95[0x1];}let _0x545b2e;if(_0x4c50c9[_0x206303(0x233)]){if(_0xde6504[_0x206303(0x24c)]===0x0){_0xde6504[_0x206303(0x216)]=_0x5a2927,_0xde6504['_originalSecure']=_0x2cda95,_0xde6504[_0x206303(0x173)]=_0x5a2927?_0x4c50c9[_0x206303(0x1b0)]:_0x55a0f2[_0x206303(0x25f)];const _0x4faa5c=_0x27ab68&&_0x27ab68[_0x206303(0x161)];if(_0x27ab68={..._0x27ab68,'headers':{}},_0x4faa5c){for(const [_0x5524e0,_0x44cab3]of Object[_0x206303(0x1be)](_0x4faa5c))_0x27ab68[_0x206303(0x161)][_0x5524e0[_0x206303(0x2c8)]()]=_0x44cab3;}}else{if(_0xde6504[_0x206303(0x2b3)](_0x206303(0x1a0))===0x0){const _0xa0ffa=_0x5a2927?_0xde6504[_0x206303(0x216)]?_0x4c50c9['socketPath']===_0xde6504[_0x206303(0x173)]:!0x1:_0xde6504[_0x206303(0x216)]?!0x1:_0x55a0f2[_0x206303(0x25f)]===_0xde6504['_originalHostOrSocketPath'];(!_0xa0ffa||_0xde6504['_originalSecure']&&!_0x2cda95)&&(delete _0x4c50c9[_0x206303(0x161)][_0x206303(0x25a)],delete _0x4c50c9[_0x206303(0x161)][_0x206303(0x17d)],_0xa0ffa||delete _0x4c50c9[_0x206303(0x161)]['host'],_0x4c50c9[_0x206303(0x1ff)]=void 0x0);}}_0x4c50c9[_0x206303(0x1ff)]&&!_0x27ab68[_0x206303(0x161)][_0x206303(0x25a)]&&(_0x27ab68[_0x206303(0x161)][_0x206303(0x25a)]='Basic\x20'+Buffer['from'](_0x4c50c9[_0x206303(0x1ff)])['toString'](_0x206303(0x1cb))),_0x545b2e=_0xde6504[_0x206303(0x1f7)]=_0x238bba(_0x4c50c9),_0xde6504[_0x206303(0x24c)]&&_0xde6504[_0x206303(0x260)](_0x206303(0x1a0),_0xde6504['url'],_0x545b2e);}else _0x545b2e=_0xde6504[_0x206303(0x1f7)]=_0x238bba(_0x4c50c9);_0x4c50c9[_0x206303(0x27c)]&&_0x545b2e['on'](_0x206303(0x27c),()=>{_0x13755a(_0xde6504,_0x545b2e,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x545b2e['on'](_0x206303(0x239),_0x19a367=>{const _0x405104=_0x206303;_0x545b2e===null||_0x545b2e[_0x56e172]||(_0x545b2e=_0xde6504[_0x405104(0x1f7)]=null,_0x50ee14(_0xde6504,_0x19a367));}),_0x545b2e['on'](_0x206303(0x26d),_0xac2ce4=>{const _0x17d58a=_0x206303,_0x3c8f1e=_0xac2ce4[_0x17d58a(0x161)]['location'],_0x1a19d1=_0xac2ce4['statusCode'];if(_0x3c8f1e&&_0x4c50c9['followRedirects']&&_0x1a19d1>=0x12c&&_0x1a19d1<0x190){if(++_0xde6504[_0x17d58a(0x24c)]>_0x4c50c9[_0x17d58a(0x193)]){_0x13755a(_0xde6504,_0x545b2e,_0x17d58a(0x2e9));return;}_0x545b2e[_0x17d58a(0x231)]();let _0x3b8c6a;try{_0x3b8c6a=new _0x119c95(_0x3c8f1e,_0x139098);}catch{const _0x5acc08=new SyntaxError(_0x17d58a(0x140)+_0x3c8f1e);_0x50ee14(_0xde6504,_0x5acc08);return;}_0x11eaec(_0xde6504,_0x3b8c6a,_0x1f3c17,_0x27ab68);}else _0xde6504[_0x17d58a(0x260)](_0x17d58a(0x15f),_0x545b2e,_0xac2ce4)||_0x13755a(_0xde6504,_0x545b2e,_0x17d58a(0x2bf)+_0xac2ce4[_0x17d58a(0x1d7)]);}),_0x545b2e['on'](_0x206303(0x27e),(_0x3856f1,_0x460eb8,_0x130367)=>{const _0xe7a32b=_0x206303;if(_0xde6504[_0xe7a32b(0x260)](_0xe7a32b(0x27e),_0x3856f1),_0xde6504[_0xe7a32b(0x259)]!==_0x54ddba['CONNECTING'])return;_0x545b2e=_0xde6504[_0xe7a32b(0x1f7)]=null;const _0x1c1fa3=_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x27e)];if(_0x1c1fa3===void 0x0||_0x1c1fa3['toLowerCase']()!=='websocket'){_0x13755a(_0xde6504,_0x460eb8,'Invalid\x20Upgrade\x20header');return;}const _0x1ac1bb=_0x25a82c(_0xe7a32b(0x1b7))[_0xe7a32b(0x1fb)](_0x20672e+_0x8aee6d)[_0xe7a32b(0x2d0)](_0xe7a32b(0x1cb));if(_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x256)]!==_0x1ac1bb){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x248));return;}const _0x41300a=_0x3856f1[_0xe7a32b(0x161)][_0xe7a32b(0x23f)];let _0xb6d000;if(_0x41300a!==void 0x0?_0x5b8e0f[_0xe7a32b(0x204)]?_0x5b8e0f[_0xe7a32b(0x185)](_0x41300a)||(_0xb6d000=_0xe7a32b(0x1e9)):_0xb6d000=_0xe7a32b(0x28d):_0x5b8e0f['size']&&(_0xb6d000='Server\x20sent\x20no\x20subprotocol'),_0xb6d000){_0x13755a(_0xde6504,_0x460eb8,_0xb6d000);return;}_0x41300a&&(_0xde6504['_protocol']=_0x41300a);const _0x3a8831=_0x3856f1[_0xe7a32b(0x161)]['sec-websocket-extensions'];if(_0x3a8831!==void 0x0){if(!_0x42914d){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x198));return;}let _0xd5094e;try{_0xd5094e=_0x40d006(_0x3a8831);}catch{_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x299));return;}const _0x505d92=Object[_0xe7a32b(0x1bb)](_0xd5094e);if(_0x505d92[_0xe7a32b(0x1d2)]!==0x1||_0x505d92[0x0]!==_0x428ee8[_0xe7a32b(0x169)]){_0x13755a(_0xde6504,_0x460eb8,_0xe7a32b(0x209));return;}try{_0x42914d[_0xe7a32b(0x22e)](_0xd5094e[_0x428ee8[_0xe7a32b(0x169)]]);}catch{_0x13755a(_0xde6504,_0x460eb8,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xde6504['_extensions'][_0x428ee8[_0xe7a32b(0x169)]]=_0x42914d;}_0xde6504[_0xe7a32b(0x2d7)](_0x460eb8,_0x130367,{'allowSynchronousEvents':_0x4c50c9[_0xe7a32b(0x220)],'generateMask':_0x4c50c9[_0xe7a32b(0x2c6)],'maxPayload':_0x4c50c9[_0xe7a32b(0x291)],'skipUTF8Validation':_0x4c50c9[_0xe7a32b(0x1e8)]});}),_0x4c50c9[_0x206303(0x286)]?_0x4c50c9[_0x206303(0x286)](_0x545b2e,_0xde6504):_0x545b2e['end']();}function _0x50ee14(_0x5dffff,_0x132eba){const _0x56085f=_0x4a4f21;_0x5dffff[_0x56085f(0x2c3)]=_0x54ddba[_0x56085f(0x1c0)],_0x5dffff[_0x56085f(0x2e8)]=!0x0,_0x5dffff['emit'](_0x56085f(0x239),_0x132eba),_0x5dffff[_0x56085f(0x282)]();}function _0x229076(_0x1a764c){const _0x179da7=_0x4a4f21;return _0x1a764c[_0x179da7(0x1c9)]=_0x1a764c[_0x179da7(0x1b0)],_0x3c2c92['connect'](_0x1a764c);}function _0x580675(_0x593529){const _0x661057=_0x4a4f21;return _0x593529[_0x661057(0x1c9)]=void 0x0,!_0x593529['servername']&&_0x593529['servername']!==''&&(_0x593529[_0x661057(0x191)]=_0x3c2c92[_0x661057(0x16a)](_0x593529['host'])?'':_0x593529[_0x661057(0x25f)]),_0x26f85d['connect'](_0x593529);}function _0x13755a(_0x355fbb,_0x226cd6,_0x593a08){const _0x1f5c12=_0x4a4f21;_0x355fbb['_readyState']=_0x54ddba['CLOSING'];const _0x45209d=new Error(_0x593a08);Error[_0x1f5c12(0x297)](_0x45209d,_0x13755a),_0x226cd6[_0x1f5c12(0x2de)]?(_0x226cd6[_0x56e172]=!0x0,_0x226cd6['abort'](),_0x226cd6[_0x1f5c12(0x1e5)]&&!_0x226cd6['socket']['destroyed']&&_0x226cd6[_0x1f5c12(0x1e5)][_0x1f5c12(0x1f0)](),process[_0x1f5c12(0x1b8)](_0x50ee14,_0x355fbb,_0x45209d)):(_0x226cd6['destroy'](_0x45209d),_0x226cd6[_0x1f5c12(0x1e0)](_0x1f5c12(0x239),_0x355fbb['emit'][_0x1f5c12(0x1ea)](_0x355fbb,'error')),_0x226cd6[_0x1f5c12(0x1e0)](_0x1f5c12(0x2ba),_0x355fbb[_0x1f5c12(0x282)]['bind'](_0x355fbb)));}function _0x42f48d(_0x7e786f,_0xdcad2d,_0x569b21){const _0x10e916=_0x4a4f21;if(_0xdcad2d){const _0x2d670c=_0x37b801(_0xdcad2d)?_0xdcad2d[_0x10e916(0x204)]:_0xd92f33(_0xdcad2d)[_0x10e916(0x1d2)];_0x7e786f['_socket']?_0x7e786f[_0x10e916(0x1df)][_0x10e916(0x210)]+=_0x2d670c:_0x7e786f[_0x10e916(0x2d5)]+=_0x2d670c;}if(_0x569b21){const _0x12c61a=new Error(_0x10e916(0x148)+_0x7e786f['readyState']+'\x20('+_0x233f55[_0x7e786f[_0x10e916(0x259)]]+')');process[_0x10e916(0x1b8)](_0x569b21,_0x12c61a);}}function _0x428595(_0x2a00b0,_0x56e173){const _0x1c7988=_0x4a4f21,_0x4ce7e9=this[_0x2f566c];_0x4ce7e9['_closeFrameReceived']=!0x0,_0x4ce7e9['_closeMessage']=_0x56e173,_0x4ce7e9[_0x1c7988(0x17f)]=_0x2a00b0,_0x4ce7e9[_0x1c7988(0x277)][_0x2f566c]!==void 0x0&&(_0x4ce7e9[_0x1c7988(0x277)][_0x1c7988(0x146)](_0x1c7988(0x187),_0x3ea333),process['nextTick'](_0x280f19,_0x4ce7e9[_0x1c7988(0x277)]),_0x2a00b0===0x3ed?_0x4ce7e9[_0x1c7988(0x2ba)]():_0x4ce7e9['close'](_0x2a00b0,_0x56e173));}function _0x4b2f41(){const _0x1d4f57=_0x4a4f21,_0x269cf2=this[_0x2f566c];_0x269cf2[_0x1d4f57(0x154)]||_0x269cf2['_socket']['resume']();}function _0x3bee18(_0x3e6b89){const _0x25f1cf=_0x4a4f21,_0x5625d5=this[_0x2f566c];_0x5625d5[_0x25f1cf(0x277)][_0x2f566c]!==void 0x0&&(_0x5625d5[_0x25f1cf(0x277)][_0x25f1cf(0x146)](_0x25f1cf(0x187),_0x3ea333),process[_0x25f1cf(0x1b8)](_0x280f19,_0x5625d5[_0x25f1cf(0x277)]),_0x5625d5[_0x25f1cf(0x2ba)](_0x3e6b89[_0xac7958])),_0x5625d5[_0x25f1cf(0x2e8)]||(_0x5625d5[_0x25f1cf(0x2e8)]=!0x0,_0x5625d5[_0x25f1cf(0x260)]('error',_0x3e6b89));}function _0x3ed65d(){this[_0x2f566c]['emitClose']();}function _0x413eaf(_0x5aa854,_0x3af0ab){const _0x202984=_0x4a4f21;this[_0x2f566c][_0x202984(0x260)](_0x202984(0x247),_0x5aa854,_0x3af0ab);}function _0x3e3540(_0x3331dc){const _0x56e231=_0x4a4f21,_0x2b31ef=this[_0x2f566c];_0x2b31ef['_autoPong']&&_0x2b31ef[_0x56e231(0x20d)](_0x3331dc,!this['_isServer'],_0x3dd1c2),_0x2b31ef[_0x56e231(0x260)](_0x56e231(0x219),_0x3331dc);}function _0x54a21d(_0xf0ee78){const _0x23454e=_0x4a4f21;this[_0x2f566c][_0x23454e(0x260)](_0x23454e(0x20d),_0xf0ee78);}function _0x280f19(_0x3fe3eb){const _0x304cae=_0x4a4f21;_0x3fe3eb[_0x304cae(0x2ec)]();}function _0x7f7b63(_0x51f295){const _0x247f3a=_0x4a4f21,_0x42ff9a=this[_0x2f566c];_0x42ff9a[_0x247f3a(0x259)]!==_0x54ddba[_0x247f3a(0x230)]&&(_0x42ff9a[_0x247f3a(0x259)]===_0x54ddba[_0x247f3a(0x1d5)]&&(_0x42ff9a[_0x247f3a(0x2c3)]=_0x54ddba[_0x247f3a(0x1c0)],_0x577ec0(_0x42ff9a)),this[_0x247f3a(0x277)][_0x247f3a(0x1eb)](),_0x42ff9a['_errorEmitted']||(_0x42ff9a[_0x247f3a(0x2e8)]=!0x0,_0x42ff9a[_0x247f3a(0x260)](_0x247f3a(0x239),_0x51f295)));}function _0x577ec0(_0x5bbe88){const _0x274ab4=_0x4a4f21;_0x5bbe88[_0x274ab4(0x24a)]=setTimeout(_0x5bbe88[_0x274ab4(0x277)]['destroy']['bind'](_0x5bbe88['_socket']),_0x4b7ff0);}function _0x1b2dd5(){const _0x4c8734=_0x4a4f21,_0x2e1fef=this[_0x2f566c];this['removeListener'](_0x4c8734(0x2ba),_0x1b2dd5),this[_0x4c8734(0x146)]('data',_0x3ea333),this['removeListener']('end',_0x11ac24),_0x2e1fef[_0x4c8734(0x2c3)]=_0x54ddba['CLOSING'];let _0x100407;!this[_0x4c8734(0x283)][_0x4c8734(0x1f5)]&&!_0x2e1fef[_0x4c8734(0x1b1)]&&!_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x14e)]&&(_0x100407=_0x2e1fef[_0x4c8734(0x277)][_0x4c8734(0x25b)]())!==null&&_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x1a2)](_0x100407),_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x1eb)](),this[_0x2f566c]=void 0x0,clearTimeout(_0x2e1fef[_0x4c8734(0x24a)]),_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x2db)]||_0x2e1fef[_0x4c8734(0x1c1)][_0x4c8734(0x162)][_0x4c8734(0x14e)]?_0x2e1fef[_0x4c8734(0x282)]():(_0x2e1fef[_0x4c8734(0x1c1)]['on'](_0x4c8734(0x239),_0x3ed65d),_0x2e1fef[_0x4c8734(0x1c1)]['on']('finish',_0x3ed65d));}function _0x3ea333(_0xbe713b){const _0x6cc31=_0x4a4f21;this[_0x2f566c][_0x6cc31(0x1c1)][_0x6cc31(0x1a2)](_0xbe713b)||this[_0x6cc31(0x2ae)]();}function _0x11ac24(){const _0x3660b7=_0x4a4f21,_0x1a80c2=this[_0x2f566c];_0x1a80c2[_0x3660b7(0x2c3)]=_0x54ddba[_0x3660b7(0x1c0)],_0x1a80c2[_0x3660b7(0x1c1)]['end'](),this[_0x3660b7(0x1eb)]();}function _0x3f8497(){const _0x309395=_0x4a4f21,_0x55a4d3=this[_0x2f566c];this['removeListener']('error',_0x3f8497),this['on'](_0x309395(0x239),_0x3dd1c2),_0x55a4d3&&(_0x55a4d3['_readyState']=_0x54ddba['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x14f97a}=_0x423274;function _0x59d4e2(_0x384fed){const _0x36111b=_0x4100;_0x384fed[_0x36111b(0x260)](_0x36111b(0x2ba));}function _0x567475(){const _0x35a7f0=_0x4100;!this[_0x35a7f0(0x172)]&&this['_writableState']['finished']&&this[_0x35a7f0(0x1f0)]();}function _0x4adf0f(_0x5ce898){const _0x2d2aa7=_0x4100;this[_0x2d2aa7(0x146)]('error',_0x4adf0f),this['destroy'](),this[_0x2d2aa7(0x2b3)](_0x2d2aa7(0x239))===0x0&&this[_0x2d2aa7(0x260)](_0x2d2aa7(0x239),_0x5ce898);}function _0x2dbc46(_0x4ca842,_0x2cbfd2){const _0x4e8701=_0x4100;let _0x95c6f3=!0x0;const _0xf8b0d3=new _0x14f97a({..._0x2cbfd2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4ca842['on']('message',function(_0x27e506,_0x3ef6aa){const _0x424af0=_0x4100,_0x20b73a=!_0x3ef6aa&&_0xf8b0d3['_readableState'][_0x424af0(0x19a)]?_0x27e506[_0x424af0(0x2b0)]():_0x27e506;_0xf8b0d3[_0x424af0(0x1b6)](_0x20b73a)||_0x4ca842['pause']();}),_0x4ca842[_0x4e8701(0x1e0)](_0x4e8701(0x239),function(_0x547855){const _0x13bd15=_0x4e8701;_0xf8b0d3[_0x13bd15(0x172)]||(_0x95c6f3=!0x1,_0xf8b0d3[_0x13bd15(0x1f0)](_0x547855));}),_0x4ca842['once'](_0x4e8701(0x2ba),function(){const _0x33d60c=_0x4e8701;_0xf8b0d3[_0x33d60c(0x172)]||_0xf8b0d3[_0x33d60c(0x1b6)](null);}),_0xf8b0d3[_0x4e8701(0x2be)]=function(_0x2558e4,_0x3346af){const _0x557d77=_0x4e8701;if(_0x4ca842[_0x557d77(0x259)]===_0x4ca842[_0x557d77(0x230)]){_0x3346af(_0x2558e4),process[_0x557d77(0x1b8)](_0x59d4e2,_0xf8b0d3);return;}let _0x364d62=!0x1;_0x4ca842[_0x557d77(0x1e0)](_0x557d77(0x239),function(_0x370f83){_0x364d62=!0x0,_0x3346af(_0x370f83);}),_0x4ca842[_0x557d77(0x1e0)](_0x557d77(0x2ba),function(){const _0x50ca83=_0x557d77;_0x364d62||_0x3346af(_0x2558e4),process[_0x50ca83(0x1b8)](_0x59d4e2,_0xf8b0d3);}),_0x95c6f3&&_0x4ca842['terminate']();},_0xf8b0d3[_0x4e8701(0x2b6)]=function(_0x2e949c){const _0x3a35bf=_0x4e8701;if(_0x4ca842[_0x3a35bf(0x259)]===_0x4ca842['CONNECTING']){_0x4ca842[_0x3a35bf(0x1e0)](_0x3a35bf(0x17e),function(){_0xf8b0d3['_final'](_0x2e949c);});return;}_0x4ca842['_socket']!==null&&(_0x4ca842[_0x3a35bf(0x277)][_0x3a35bf(0x162)][_0x3a35bf(0x2db)]?(_0x2e949c(),_0xf8b0d3[_0x3a35bf(0x283)]['endEmitted']&&_0xf8b0d3['destroy']()):(_0x4ca842['_socket'][_0x3a35bf(0x1e0)]('finish',function(){_0x2e949c();}),_0x4ca842[_0x3a35bf(0x2ba)]()));},_0xf8b0d3[_0x4e8701(0x29b)]=function(){const _0xba13b9=_0x4e8701;_0x4ca842[_0xba13b9(0x154)]&&_0x4ca842['resume']();},_0xf8b0d3['_write']=function(_0x55a1d5,_0x12ce9,_0x5d8bf0){const _0x1a0451=_0x4e8701;if(_0x4ca842['readyState']===_0x4ca842[_0x1a0451(0x21d)]){_0x4ca842[_0x1a0451(0x1e0)](_0x1a0451(0x17e),function(){const _0x5d4939=_0x1a0451;_0xf8b0d3[_0x5d4939(0x2c2)](_0x55a1d5,_0x12ce9,_0x5d8bf0);});return;}_0x4ca842['send'](_0x55a1d5,_0x5d8bf0);},_0xf8b0d3['on'](_0x4e8701(0x1eb),_0x567475),_0xf8b0d3['on'](_0x4e8701(0x239),_0x4adf0f),_0xf8b0d3;}return Oe=_0x2dbc46,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x151f54}=ne();function _0x14e87a(_0x2276ee){const _0x1857d9=_0x4100,_0x306819=new Set();let _0xade97b=-0x1,_0x7db9cd=-0x1,_0x490f3b=0x0;for(_0x490f3b;_0x490f3b<_0x2276ee[_0x1857d9(0x1d2)];_0x490f3b++){const _0x53d705=_0x2276ee[_0x1857d9(0x2c9)](_0x490f3b);if(_0x7db9cd===-0x1&&_0x151f54[_0x53d705]===0x1)_0xade97b===-0x1&&(_0xade97b=_0x490f3b);else{if(_0x490f3b!==0x0&&(_0x53d705===0x20||_0x53d705===0x9))_0x7db9cd===-0x1&&_0xade97b!==-0x1&&(_0x7db9cd=_0x490f3b);else{if(_0x53d705===0x2c){if(_0xade97b===-0x1)throw new SyntaxError(_0x1857d9(0x15d)+_0x490f3b);_0x7db9cd===-0x1&&(_0x7db9cd=_0x490f3b);const _0x6aaeb9=_0x2276ee[_0x1857d9(0x205)](_0xade97b,_0x7db9cd);if(_0x306819['has'](_0x6aaeb9))throw new SyntaxError(_0x1857d9(0x21c)+_0x6aaeb9+_0x1857d9(0x238));_0x306819[_0x1857d9(0x270)](_0x6aaeb9),_0xade97b=_0x7db9cd=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x490f3b);}}}if(_0xade97b===-0x1||_0x7db9cd!==-0x1)throw new SyntaxError(_0x1857d9(0x14d));const _0x44df52=_0x2276ee[_0x1857d9(0x205)](_0xade97b,_0x490f3b);if(_0x306819[_0x1857d9(0x185)](_0x44df52))throw new SyntaxError(_0x1857d9(0x21c)+_0x44df52+_0x1857d9(0x238));return _0x306819['add'](_0x44df52),_0x306819;}return Ce={'parse':_0x14e87a},Ce;}var Te,ot;function er(){const _0x596868=_0x5b728b;if(ot)return Te;ot=0x1;const _0x4c33d7=_0x26b4d0,_0x57534a=_0x480143,{Duplex:_0x4ba047}=_0x423274,{createHash:_0x148ca3}=_0xa82a62,_0xa3de9a=pt(),_0x43cd8d=he(),_0x4a06b4=Jt(),_0x325876=Ie(),{GUID:_0x33ef88,kWebSocket:_0x195c0b}=V(),_0xfb4484=/^[+/0-9A-Za-z]{22}==$/,_0x4aa6a=0x0,_0x3f5463=0x1,_0x365d3d=0x2;class _0x42bba1 extends _0x4c33d7{constructor(_0x424b4a,_0x175125){const _0x2efd8f=_0x4100;if(super(),_0x424b4a={'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':_0x325876,..._0x424b4a},_0x424b4a[_0x2efd8f(0x2cf)]==null&&!_0x424b4a[_0x2efd8f(0x206)]&&!_0x424b4a['noServer']||_0x424b4a['port']!=null&&(_0x424b4a[_0x2efd8f(0x206)]||_0x424b4a[_0x2efd8f(0x235)])||_0x424b4a['server']&&_0x424b4a[_0x2efd8f(0x235)])throw new TypeError(_0x2efd8f(0x214));if(_0x424b4a[_0x2efd8f(0x2cf)]!=null?(this[_0x2efd8f(0x168)]=_0x57534a['createServer']((_0x52f2c7,_0x93ccf)=>{const _0xbb162f=_0x2efd8f,_0x5bad1=_0x57534a[_0xbb162f(0x225)][0x1aa];_0x93ccf['writeHead'](0x1aa,{'Content-Length':_0x5bad1[_0xbb162f(0x1d2)],'Content-Type':_0xbb162f(0x24b)}),_0x93ccf[_0xbb162f(0x1eb)](_0x5bad1);}),this[_0x2efd8f(0x168)][_0x2efd8f(0x25d)](_0x424b4a['port'],_0x424b4a['host'],_0x424b4a[_0x2efd8f(0x203)],_0x175125)):_0x424b4a[_0x2efd8f(0x206)]&&(this[_0x2efd8f(0x168)]=_0x424b4a[_0x2efd8f(0x206)]),this[_0x2efd8f(0x168)]){const _0x541dec=this[_0x2efd8f(0x260)]['bind'](this,_0x2efd8f(0x2bd));this[_0x2efd8f(0x22d)]=_0x28ca41(this['_server'],{'listening':this['emit']['bind'](this,'listening'),'error':this[_0x2efd8f(0x260)][_0x2efd8f(0x1ea)](this,_0x2efd8f(0x239)),'upgrade':(_0x1db30b,_0x1a5043,_0x4250f5)=>{this['handleUpgrade'](_0x1db30b,_0x1a5043,_0x4250f5,_0x541dec);}});}_0x424b4a['perMessageDeflate']===!0x0&&(_0x424b4a[_0x2efd8f(0x2b7)]={}),_0x424b4a[_0x2efd8f(0x18f)]&&(this[_0x2efd8f(0x1fa)]=new Set(),this[_0x2efd8f(0x1b3)]=!0x1),this[_0x2efd8f(0x18b)]=_0x424b4a,this[_0x2efd8f(0x1cd)]=_0x4aa6a;}[_0x596868(0x2d2)](){const _0x426f83=_0x596868;if(this[_0x426f83(0x18b)][_0x426f83(0x235)])throw new Error(_0x426f83(0x180));return this[_0x426f83(0x168)]?this[_0x426f83(0x168)][_0x426f83(0x2d2)]():null;}[_0x596868(0x2ba)](_0x49add6){const _0x205f80=_0x596868;if(this['_state']===_0x365d3d){_0x49add6&&this[_0x205f80(0x1e0)](_0x205f80(0x2ba),()=>{const _0x2248a8=_0x205f80;_0x49add6(new Error(_0x2248a8(0x2cb)));}),process[_0x205f80(0x1b8)](_0x5b1ae9,this);return;}if(_0x49add6&&this[_0x205f80(0x1e0)](_0x205f80(0x2ba),_0x49add6),this[_0x205f80(0x1cd)]!==_0x3f5463){if(this[_0x205f80(0x1cd)]=_0x3f5463,this[_0x205f80(0x18b)][_0x205f80(0x235)]||this[_0x205f80(0x18b)]['server'])this[_0x205f80(0x168)]&&(this[_0x205f80(0x22d)](),this[_0x205f80(0x22d)]=this['_server']=null),this[_0x205f80(0x1fa)]?this[_0x205f80(0x1fa)][_0x205f80(0x204)]?this[_0x205f80(0x1b3)]=!0x0:process['nextTick'](_0x5b1ae9,this):process['nextTick'](_0x5b1ae9,this);else{const _0x353a1b=this['_server'];this[_0x205f80(0x22d)](),this[_0x205f80(0x22d)]=this[_0x205f80(0x168)]=null,_0x353a1b[_0x205f80(0x2ba)](()=>{_0x5b1ae9(this);});}}}[_0x596868(0x290)](_0x1cd596){const _0x5b066a=_0x596868;if(this[_0x5b066a(0x18b)][_0x5b066a(0x1c9)]){const _0x3ee19b=_0x1cd596[_0x5b066a(0x2e2)][_0x5b066a(0x182)]('?');if((_0x3ee19b!==-0x1?_0x1cd596[_0x5b066a(0x2e2)][_0x5b066a(0x205)](0x0,_0x3ee19b):_0x1cd596[_0x5b066a(0x2e2)])!==this[_0x5b066a(0x18b)][_0x5b066a(0x1c9)])return!0x1;}return!0x0;}[_0x596868(0x2e5)](_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4){const _0x1413fb=_0x596868;_0x5ee18f['on']('error',_0x38c4a5);const _0x14ff5d=_0x3b1a92['headers'][_0x1413fb(0x183)],_0x14a32c=_0x3b1a92[_0x1413fb(0x161)]['upgrade'],_0x368624=+_0x3b1a92[_0x1413fb(0x161)][_0x1413fb(0x2a8)];if(_0x3b1a92[_0x1413fb(0x14b)]!==_0x1413fb(0x153)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x195,_0x1413fb(0x19f));return;}if(_0x14a32c===void 0x0||_0x14a32c[_0x1413fb(0x2c8)]()!==_0x1413fb(0x1f8)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,_0x1413fb(0x272));return;}if(_0x14ff5d===void 0x0||!_0xfb4484[_0x1413fb(0x1a3)](_0x14ff5d)){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x368624!==0xd&&_0x368624!==0x8){_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x1413fb(0x170)});return;}if(!this[_0x1413fb(0x290)](_0x3b1a92)){_0xbf163(_0x5ee18f,0x190);return;}const _0x480193=_0x3b1a92[_0x1413fb(0x161)]['sec-websocket-protocol'];let _0x8fc789=new Set();if(_0x480193!==void 0x0)try{_0x8fc789=_0x4a06b4[_0x1413fb(0x26a)](_0x480193);}catch{_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,_0x1413fb(0x29e));return;}const _0x4adead=_0x3b1a92[_0x1413fb(0x161)][_0x1413fb(0x2d1)],_0x3e76f9={};if(this[_0x1413fb(0x18b)]['perMessageDeflate']&&_0x4adead!==void 0x0){const _0x3d3442=new _0x43cd8d(this[_0x1413fb(0x18b)][_0x1413fb(0x2b7)],!0x0,this[_0x1413fb(0x18b)]['maxPayload']);try{const _0x4d003f=_0xa3de9a[_0x1413fb(0x26a)](_0x4adead);_0x4d003f[_0x43cd8d['extensionName']]&&(_0x3d3442['accept'](_0x4d003f[_0x43cd8d[_0x1413fb(0x169)]]),_0x3e76f9[_0x43cd8d[_0x1413fb(0x169)]]=_0x3d3442);}catch{_0x478b4c(this,_0x3b1a92,_0x5ee18f,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x1413fb(0x2a2)]){const _0x41ecd7={'origin':_0x3b1a92[_0x1413fb(0x161)][''+(_0x368624===0x8?_0x1413fb(0x215):_0x1413fb(0x1f1))],'secure':!!(_0x3b1a92[_0x1413fb(0x1e5)]['authorized']||_0x3b1a92[_0x1413fb(0x1e5)]['encrypted']),'req':_0x3b1a92};if(this[_0x1413fb(0x18b)][_0x1413fb(0x2a2)][_0x1413fb(0x1d2)]===0x2){this[_0x1413fb(0x18b)]['verifyClient'](_0x41ecd7,(_0x385c96,_0x5cdc5a,_0x4e746b,_0x21e179)=>{const _0x5e6a38=_0x1413fb;if(!_0x385c96)return _0xbf163(_0x5ee18f,_0x5cdc5a||0x191,_0x4e746b,_0x21e179);this[_0x5e6a38(0x2e0)](_0x3e76f9,_0x14ff5d,_0x8fc789,_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4);});return;}if(!this[_0x1413fb(0x18b)][_0x1413fb(0x2a2)](_0x41ecd7))return _0xbf163(_0x5ee18f,0x191);}this[_0x1413fb(0x2e0)](_0x3e76f9,_0x14ff5d,_0x8fc789,_0x3b1a92,_0x5ee18f,_0x160ae0,_0x1e77e4);}[_0x596868(0x2e0)](_0x3afa4f,_0x54b87a,_0x29c38b,_0x56f97b,_0x517b98,_0x5510a3,_0x62b2b8){const _0x250167=_0x596868;if(!_0x517b98['readable']||!_0x517b98['writable'])return _0x517b98['destroy']();if(_0x517b98[_0x195c0b])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x250167(0x1cd)]>_0x4aa6a)return _0xbf163(_0x517b98,0x1f7);const _0x5dfc9f=[_0x250167(0x2d9),_0x250167(0x2c5),_0x250167(0x16e),_0x250167(0x23c)+_0x148ca3('sha1')[_0x250167(0x1fb)](_0x54b87a+_0x33ef88)[_0x250167(0x2d0)](_0x250167(0x1cb))],_0x4fad3b=new this['options'][(_0x250167(0x224))](null,void 0x0,this[_0x250167(0x18b)]);if(_0x29c38b[_0x250167(0x204)]){const _0x5caf90=this[_0x250167(0x18b)][_0x250167(0x1a9)]?this[_0x250167(0x18b)][_0x250167(0x1a9)](_0x29c38b,_0x56f97b):_0x29c38b[_0x250167(0x27d)]()['next']()[_0x250167(0x2e4)];_0x5caf90&&(_0x5dfc9f[_0x250167(0x1b6)](_0x250167(0x200)+_0x5caf90),_0x4fad3b['_protocol']=_0x5caf90);}if(_0x3afa4f[_0x43cd8d[_0x250167(0x169)]]){const _0x5522a8=_0x3afa4f[_0x43cd8d['extensionName']][_0x250167(0x2a0)],_0x4278a3=_0xa3de9a['format']({[_0x43cd8d[_0x250167(0x169)]]:[_0x5522a8]});_0x5dfc9f[_0x250167(0x1b6)]('Sec-WebSocket-Extensions:\x20'+_0x4278a3),_0x4fad3b['_extensions']=_0x3afa4f;}this[_0x250167(0x260)](_0x250167(0x161),_0x5dfc9f,_0x56f97b),_0x517b98[_0x250167(0x1a2)](_0x5dfc9f[_0x250167(0x2a9)]('\x0d\x0a')[_0x250167(0x1d6)]('\x0d\x0a')),_0x517b98[_0x250167(0x146)](_0x250167(0x239),_0x38c4a5),_0x4fad3b[_0x250167(0x2d7)](_0x517b98,_0x5510a3,{'allowSynchronousEvents':this[_0x250167(0x18b)][_0x250167(0x220)],'maxPayload':this[_0x250167(0x18b)][_0x250167(0x291)],'skipUTF8Validation':this[_0x250167(0x18b)][_0x250167(0x1e8)]}),this['clients']&&(this[_0x250167(0x1fa)][_0x250167(0x270)](_0x4fad3b),_0x4fad3b['on'](_0x250167(0x2ba),()=>{const _0x4c9b0e=_0x250167;this[_0x4c9b0e(0x1fa)]['delete'](_0x4fad3b),this[_0x4c9b0e(0x1b3)]&&!this[_0x4c9b0e(0x1fa)][_0x4c9b0e(0x204)]&&process[_0x4c9b0e(0x1b8)](_0x5b1ae9,this);})),_0x62b2b8(_0x4fad3b,_0x56f97b);}}Te=_0x42bba1;function _0x28ca41(_0x40ec58,_0x4962ba){for(const _0x6366a5 of Object['keys'](_0x4962ba))_0x40ec58['on'](_0x6366a5,_0x4962ba[_0x6366a5]);return function(){const _0x54cfad=_0x4100;for(const _0x301ed1 of Object[_0x54cfad(0x1bb)](_0x4962ba))_0x40ec58[_0x54cfad(0x146)](_0x301ed1,_0x4962ba[_0x301ed1]);};}function _0x5b1ae9(_0x695f5b){const _0x569365=_0x596868;_0x695f5b[_0x569365(0x1cd)]=_0x365d3d,_0x695f5b['emit'](_0x569365(0x2ba));}function _0x38c4a5(){const _0x49ac47=_0x596868;this[_0x49ac47(0x1f0)]();}function _0xbf163(_0x59dc37,_0xf2a0e4,_0x21d845,_0x1b0238){const _0x55007a=_0x596868;_0x21d845=_0x21d845||_0x57534a[_0x55007a(0x225)][_0xf2a0e4],_0x1b0238={'Connection':_0x55007a(0x2ba),'Content-Type':_0x55007a(0x16d),'Content-Length':Buffer[_0x55007a(0x2e7)](_0x21d845),..._0x1b0238},_0x59dc37[_0x55007a(0x1e0)]('finish',_0x59dc37[_0x55007a(0x1f0)]),_0x59dc37[_0x55007a(0x1eb)](_0x55007a(0x1e2)+_0xf2a0e4+'\x20'+_0x57534a[_0x55007a(0x225)][_0xf2a0e4]+'\x0d\x0a'+Object[_0x55007a(0x1bb)](_0x1b0238)[_0x55007a(0x29a)](_0xfdd0a2=>_0xfdd0a2+':\x20'+_0x1b0238[_0xfdd0a2])[_0x55007a(0x1d6)]('\x0d\x0a')+_0x55007a(0x280)+_0x21d845);}function _0x478b4c(_0x4506c6,_0x129437,_0x55cda5,_0x575bc6,_0x3cd0ac,_0x1afdb8){const _0x1b3e15=_0x596868;if(_0x4506c6['listenerCount'](_0x1b3e15(0x237))){const _0x4567a9=new Error(_0x3cd0ac);Error[_0x1b3e15(0x297)](_0x4567a9,_0x478b4c),_0x4506c6[_0x1b3e15(0x260)]('wsClientError',_0x4567a9,_0x55cda5,_0x129437);}else _0xbf163(_0x55cda5,_0x575bc6,_0x3cd0ac,_0x1afdb8);}return Te;}er();var tr=Object[_0x5b728b(0x298)],rr=(_0x53a5db,_0x5012c2,_0xdbbd31,_0x535823)=>{const _0x901b87=_0x5b728b;for(var _0x1e84f4=_0x535823>0x1?void 0x0:_0x535823?tr(_0x5012c2,_0xdbbd31):_0x5012c2,_0x1c6ce5=_0x53a5db[_0x901b87(0x1d2)]-0x1,_0xcb114c;_0x1c6ce5>=0x0;_0x1c6ce5--)(_0xcb114c=_0x53a5db[_0x1c6ce5])&&(_0x1e84f4=_0xcb114c(_0x1e84f4)||_0x1e84f4);return _0x1e84f4;},sr=(_0x5264f1,_0x4dc513)=>(_0x32f3f5,_0x201113)=>_0x4dc513(_0x32f3f5,_0x201113,_0x5264f1);let Ne=class extends _0x4b1b9e{constructor(_0x44da35){const _0x17f3f2=_0x5b728b;super(),this[_0x17f3f2(0x194)]=_0x44da35;}[_0x5b728b(0x2da)](_0xabb071){const _0x296c67=_0x5b728b;var _0x4ff86e;const _0x2e3f98=(_0x4ff86e=this['_configService'][_0x296c67(0x275)](Be))==null?void 0x0:_0x4ff86e[_0x296c67(0x243)];try{const _0x5b6d67=new Qt(_0xabb071,{'headers':{..._0x2e3f98}}),_0x42d829=new _0x1d42ea();return{'URL':_0xabb071,'close':(_0x93bf98,_0x215adc)=>{const _0x55978e=_0x296c67;_0x5b6d67[_0x55978e(0x2ba)](_0x93bf98,_0x215adc),_0x42d829['dispose']();},'send':_0x2aba04=>{const _0x5d8f25=_0x296c67;_0x5b6d67[_0x5d8f25(0x1d3)](_0x2aba04);},'open$':new _0x3bf40d(_0x476ab5=>{const _0x12d522=_0x296c67,_0x1241db=_0x42e776=>_0x476ab5[_0x12d522(0x1f4)](_0x42e776);_0x5b6d67[_0x12d522(0x2c7)](_0x12d522(0x17e),_0x1241db),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67['removeEventListener'](_0x12d522(0x17e),_0x1241db)));})[_0x296c67(0x245)](_0x494739()),'close$':new _0x3bf40d(_0x46d3f6=>{const _0x3599cf=_0x296c67,_0x2e7667=_0x599dfd=>_0x46d3f6[_0x3599cf(0x1f4)](_0x599dfd);_0x5b6d67[_0x3599cf(0x2c7)](_0x3599cf(0x2ba),_0x2e7667),_0x42d829[_0x3599cf(0x270)](_0x6542e1(()=>_0x5b6d67[_0x3599cf(0x26c)](_0x3599cf(0x2ba),_0x2e7667)));})[_0x296c67(0x245)](_0x494739()),'error$':new _0x3bf40d(_0x5dd65c=>{const _0x2ecd7b=_0x296c67,_0x287815=_0x11052b=>_0x5dd65c[_0x2ecd7b(0x1f4)](_0x11052b);_0x5b6d67[_0x2ecd7b(0x2c7)](_0x2ecd7b(0x239),_0x287815),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67['removeEventListener']('error',_0x287815)));})[_0x296c67(0x245)](_0x494739()),'message$':new _0x3bf40d(_0x1ebb92=>{const _0x1a3423=_0x296c67,_0xaa40f5=_0x27b468=>_0x1ebb92[_0x1a3423(0x1f4)](_0x27b468);_0x5b6d67[_0x1a3423(0x2c7)](_0x1a3423(0x247),_0xaa40f5),_0x42d829['add'](_0x6542e1(()=>_0x5b6d67[_0x1a3423(0x26c)](_0x1a3423(0x247),_0xaa40f5)));})[_0x296c67(0x245)](_0x494739())};}catch(_0x1725a4){return console['error'](_0x1725a4),null;}}};Ne=rr([sr(0x0,_0x384188)],Ne);var ir=Object[_0x5b728b(0x218)],nr=Object[_0x5b728b(0x298)],or=(_0x3b6aaf,_0x59a16b,_0x384699)=>_0x59a16b in _0x3b6aaf?ir(_0x3b6aaf,_0x59a16b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384699}):_0x3b6aaf[_0x59a16b]=_0x384699,ar=(_0x47b39f,_0x9b5c1a,_0x26239f,_0x36822e)=>{const _0x57857e=_0x5b728b;for(var _0x2774df=_0x36822e>0x1?void 0x0:_0x36822e?nr(_0x9b5c1a,_0x26239f):_0x9b5c1a,_0x115730=_0x47b39f[_0x57857e(0x1d2)]-0x1,_0x3dea0f;_0x115730>=0x0;_0x115730--)(_0x3dea0f=_0x47b39f[_0x115730])&&(_0x2774df=_0x3dea0f(_0x2774df)||_0x2774df);return _0x2774df;},ke=(_0x17a5ce,_0x24f63e)=>(_0x2ce19c,_0x1fb1db)=>_0x24f63e(_0x2ce19c,_0x1fb1db,_0x17a5ce),lr=(_0x396f31,_0x2e4a45,_0x569d54)=>or(_0x396f31,_0x2e4a45+'',_0x569d54);let Pe=class extends _0x310afa{constructor(_0xf2c1fb=Ft,_0x1b2b35,_0x280eac,_0x309b11){const _0x1bd013=_0x5b728b;_0xf2c1fb['customHeaders']||_0x1b2b35['warn'](_0x1bd013(0x284)),super(),this[_0x1bd013(0x194)]=_0x280eac,this[_0x1bd013(0x2d3)]=_0x309b11,this[_0x1bd013(0x194)]['setConfig'](Be,_0xf2c1fb);}[_0x5b728b(0x217)](){const _0x2b8611=_0x5b728b;this[_0x2b8611(0x160)]();}[_0x5b728b(0x160)](){const _0xc40cb3=_0x5b728b;_0x44617f(this[_0xc40cb3(0x2d3)],[[_0x396340,{'useClass':Ne}]]);}};lr(Pe,_0x5b728b(0x178),_0x5b728b(0x179)),Pe=ar([_0x215725(_0xa8514a),ke(0x1,_0x221c24),ke(0x2,_0x384188),ke(0x3,_0x2c5d81(_0x2a4fdc))],Pe);var fr=Object[_0x5b728b(0x298)],cr=(_0x169d33,_0x4a9a20,_0x59db6a,_0x311928)=>{for(var _0x1fe740=_0x311928>0x1?void 0x0:_0x311928?fr(_0x4a9a20,_0x59db6a):_0x4a9a20,_0x5b0c91=_0x169d33['length']-0x1,_0x1e8e4b;_0x5b0c91>=0x0;_0x5b0c91--)(_0x1e8e4b=_0x169d33[_0x5b0c91])&&(_0x1fe740=_0x1e8e4b(_0x1fe740)||_0x1fe740);return _0x1fe740;},se=(_0x4c75d3,_0x26c73b)=>(_0x54d449,_0x222111)=>_0x26c73b(_0x54d449,_0x222111,_0x4c75d3);let at=class extends _0x1b1864{constructor(_0x4dbcd1,_0x86aaa5,_0x2a4ce1,_0x421180,_0x53fed3){const _0x5ee14a=_0x5b728b;super(_0x4dbcd1,_0x86aaa5,_0x2a4ce1,_0x421180,_0x53fed3);const _0x2798a=this[_0x5ee14a(0x194)][_0x5ee14a(0x275)](Be);this[_0x5ee14a(0x223)][_0x5ee14a(0x1aa)]({'interceptor':(_0x33d99d,_0xa325d2)=>{const _0x2bb5e6=_0x5ee14a;var _0x2325ee;const _0x5b2152=_0x33d99d[_0x2bb5e6(0x161)];return(_0x2325ee=_0x2798a==null?void 0x0:_0x2798a['customHeaders'])!=null&&_0x2325ee[_0x2bb5e6(0x17d)]&&_0x5b2152[_0x2bb5e6(0x2b2)]('Cookie',_0x2798a['customHeaders'][_0x2bb5e6(0x17d)]),_0xa325d2(_0x33d99d);}});}async[_0x5b728b(0x2da)](_0x203ec0){const _0x3d85d9=_0x5b728b;return this[_0x3d85d9(0x28c)](_0x203ec0);}};at=cr([se(0x0,_0x2c5d81(_0x2a4fdc)),se(0x1,_0x2c5d81(_0x1a9112)),se(0x2,_0x384188),se(0x3,_0x221c24),se(0x4,_0x51a01f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};