@univerjs-pro/collaboration-client-node 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -0
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2be760=_0xd40e;(function(_0x10e61d,_0x3653e4){const _0x8e9eec=_0xd40e,_0x4452c3=_0x10e61d();while(!![]){try{const _0x4a405f=-parseInt(_0x8e9eec(0x183))/0x1*(-parseInt(_0x8e9eec(0x1a0))/0x2)+parseInt(_0x8e9eec(0x190))/0x3*(parseInt(_0x8e9eec(0x1d1))/0x4)+parseInt(_0x8e9eec(0x1a6))/0x5+parseInt(_0x8e9eec(0x220))/0x6+-parseInt(_0x8e9eec(0x2b4))/0x7+parseInt(_0x8e9eec(0x23f))/0x8+-parseInt(_0x8e9eec(0x2ea))/0x9;if(_0x4a405f===_0x3653e4)break;else _0x4452c3['push'](_0x4452c3['shift']());}catch(_0x55ddcf){_0x4452c3['push'](_0x4452c3['shift']());}}}(_0x1aa6,0x6aae4));import{UniverCollaborationClientPlugin as _0x3874b0,CollaborationSocketService as _0x5ededa}from'@univerjs-pro/collaboration-client';import{Disposable as _0x8049fc,DisposableCollection as _0x3f8217,toDisposable as _0x167bb5,IConfigService as _0x564e89,DependentOn as _0x1d2a15,ILogService as _0x3edcea,Inject as _0x32c0bd,Injector as _0x3c9806,Plugin as _0x437e11,registerDependencies as _0x39a857}from'@univerjs/core';import{ISocketService as _0x2cd92e,HTTPService as _0xd764a3}from'@univerjs/network';import{Observable as _0x58fb35,share as _0x4a2ca8}from'rxjs';import _0x425d08 from'events';import _0x3d505 from'https';import _0x3b26bc from'http';import _0x2a7499 from'net';import _0x58a5a6 from'tls';import _0x118541 from'crypto';import _0x19e32e from'stream';import _0xfc2042 from'url';import _0x512b1f from'zlib';import _0x190719 from'buffer';import{ISnapshotServerService as _0x1ca723}from'@univerjs-pro/collaboration';const Be=_0x2be760(0x302),Ft={'customHeaders':{}};function _0xd40e(_0x4a7d0e,_0x20f256){const _0x1aa63a=_0x1aa6();return _0xd40e=function(_0xd40e51,_0x1beba6){_0xd40e51=_0xd40e51-0x163;let _0x2ee4f2=_0x1aa63a[_0xd40e51];return _0x2ee4f2;},_0xd40e(_0x4a7d0e,_0x20f256);}function jt(_0x4f873e){const _0x280dc9=_0x2be760;return _0x4f873e&&_0x4f873e[_0x280dc9(0x196)]&&Object[_0x280dc9(0x208)][_0x280dc9(0x266)][_0x280dc9(0x297)](_0x4f873e,_0x280dc9(0x239))?_0x4f873e['default']:_0x4f873e;}function ut(_0x46d0a1){const _0x13ec28=_0x2be760;if(Object[_0x13ec28(0x208)][_0x13ec28(0x266)][_0x13ec28(0x297)](_0x46d0a1,_0x13ec28(0x196)))return _0x46d0a1;var _0x5bf484=_0x46d0a1[_0x13ec28(0x239)];if(typeof _0x5bf484==_0x13ec28(0x20a)){var _0x3c47b4=function _0x384748(){const _0x4d8a36=_0x13ec28;return this instanceof _0x384748?Reflect['construct'](_0x5bf484,arguments,this[_0x4d8a36(0x249)]):_0x5bf484[_0x4d8a36(0x26a)](this,arguments);};_0x3c47b4[_0x13ec28(0x208)]=_0x5bf484[_0x13ec28(0x208)];}else _0x3c47b4={};return Object[_0x13ec28(0x27f)](_0x3c47b4,_0x13ec28(0x196),{'value':!0x0}),Object[_0x13ec28(0x22e)](_0x46d0a1)[_0x13ec28(0x20f)](function(_0x507c15){const _0xeabfdd=_0x13ec28;var _0x466eee=Object[_0xeabfdd(0x26e)](_0x46d0a1,_0x507c15);Object[_0xeabfdd(0x27f)](_0x3c47b4,_0x507c15,_0x466eee[_0xeabfdd(0x25c)]?_0x466eee:{'enumerable':!0x0,'get':function(){return _0x46d0a1[_0x507c15];}});}),_0x3c47b4;}var te={'exports':{}},ge,Ye;function V(){const _0x59f564=_0x2be760;if(Ye)return ge;Ye=0x1;const _0x5afa99=[_0x59f564(0x1a4),'arraybuffer',_0x59f564(0x1ca)],_0x450379=typeof Blob<'u';return _0x450379&&_0x5afa99[_0x59f564(0x2ae)]('blob'),ge={'BINARY_TYPES':_0x5afa99,'EMPTY_BUFFER':Buffer[_0x59f564(0x197)](0x0),'GUID':_0x59f564(0x30b),'hasBlob':_0x450379,'kForOnEventAttribute':Symbol(_0x59f564(0x177)),'kListener':Symbol(_0x59f564(0x1aa)),'kStatusCode':Symbol(_0x59f564(0x1fe)),'kWebSocket':Symbol(_0x59f564(0x215)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2be760(0x2c8)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x2be760(0x2c9)],{'value':_0x2be760(0x2c1)})),Vt=ut(Gt);function _0x1aa6(){const _0x111e59=['_autoPong','exports','_paused','\x22\x20subprotocol\x20is\x20duplicated','_no_context_takeover','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','createConnection','_bufferedBytes','kWasClean','createDeflateRaw','get','_extensions','Opening\x20handshake\x20has\x20timed\x20out','origin','opcode','_binaryType','_closeFrameReceived','pong','socketPath','_closeTimer','hasOwnProperty','charCodeAt','object','startLoop','apply','add','CLOSED','haveLength','getOwnPropertyDescriptor','serverNoContextTakeover','onStarting','url','finish','number','OPEN','addEventListener','_bufferedAmount','includes','ws+unix:','Invalid\x20URL:\x20','client_no_context_takeover','dataMessage','headers','handleEvent','env','defineProperty','Z_DEFAULT_WINDOWBITS','pluginName','isPaused','startsWith','Sec-WebSocket-Origin','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','indexOf','emit','skipUTF8Validation','extensionName','perMessageDeflate','setSocket','invalid\x20status\x20code\x20','permessage-deflate','replace','_masked','blob','delete','_loop','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','threshold','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_doCreateSocket','call','Parameter\x20\x22','normalizeParams','request','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_firstFragment','create','allocUnsafe','WebSocket','update','data','WS_ERR_EXPECTED_MASK','Sec-WebSocket-Extensions','map','set','emitClose','unmask','values','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','toString','_skipUTF8Validation','offer','size','push','createSocket','nextTick','code','Unexpected\x20character\x20at\x20index\x20','_errored','4432400ExrLrp','zlibInflateOptions','authorization','message','_originalHostOrSocketPath','pause','unshift','pow','_closeCode','sec-websocket-extensions','CLOSING','concurrencyLimit','Connection:\x20Upgrade','Module','createError','listen','value','getConfig','kMessage','_max_window_bits','freeze','toStringTag','error','address','Unexpected\x20end\x20of\x20input','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server_no_context_takeover','generateMask','writeUInt16BE','type','_protocol','removeListener','_totalPayloadLength','authorized','_receiver','write','Server\x20sent\x20an\x20invalid\x20subprotocol','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Unexpected\x20server\x20response:\x20','_readableState','createServer','invalid\x20opcode\x20','_deflate','sec-websocket-protocol','accept','upgrade','_httpService','WS_NO_UTF_8_VALIDATE','length','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','writeHead','kCode','readyState','readUInt16BE','4586229IiMKun','isInteger','_opcode','_socket','username','once','autoPong','Invalid\x20WebSocket\x20frame:\x20','options','_final','servername','_fragmented','dispatch','next','fin','shift','kType','_originalSecure','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Protocol','socket','sendFrame','string','_allowSynchronousEvents','collaboration-client-node.config','reason','Maximum\x20redirects\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','ws:','listeners','resume','enqueue','host','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_messageLength','_shouldEmitClose','slice','has','clientMaxWindowBits','_originalIpc','extensions','allowSynchronousEvents','_redirects','WS_ERR_UNEXPECTED_RSV_2_3','close','_maskBuffer','kData','readable','password','onclose','wsClientError','format','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','onopen','acceptAsServer','Upgrade','join','STATUS_CODES','connection','location','terminate','port','protocolVersion','kIsForOnEventAttribute','removeAllListeners','handleUpgrade','objectMode','Server\x20sent\x20no\x20subprotocol','buffer','concat','Invalid\x20Upgrade\x20header','WS_ERR_UNEXPECTED_MASK','GET','client','_compress','1aMNwnl','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','The\x20server\x20is\x20not\x20running','setConfig','isIP','_sender','kError','backlog','clients','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','ping','arrayBuffer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','603blbhbw','frame','destroyed','digest','jobs','HTTP/1.1\x20101\x20Switching\x20Protocols','__esModule','alloc','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_write','_errorEmitted','consume','kDone','MASK\x20must\x20be\x20set','kTarget','test','563054WcOWks','Max\x20payload\x20size\x20exceeded','mask','noServer','nodebuffer','conclude','1345430RSeJiJ','isView','binary','setHeader','kListener','_fin','_removeListeners','isBuffer','setNoDelay','acceptAsClient','The\x20URL\x20contains\x20a\x20fragment\x20identifier','find','send','handleProtocols','kRun','abort','response','flush','WS_ERR_INVALID_OPCODE','byteOffset','_generateMask','cleanup','auth','isServer','toLowerCase','\x22\x20must\x20have\x20only\x20a\x20single\x20value','defaultPort','_mask','\x22:\x20','wss:','getPayloadLength64','timeout','read','method','clientNoContextTakeover','_payloadLength','fragments','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','drain','catch','readOnly','setTimeout','File','4232aejPhu','pending','finished','shouldHandle','https:','captureStackTrace','_readyState','end','_configService','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','endEmitted','dequeue','_req','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_inflate','WebSocket\x20is\x20not\x20open:\x20readyState\x20','from','removeEventListener','species','dispose','invalid\x20UTF-8\x20sequence','_url','kReason','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','search','parse','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Cookie','_writableState','pathname','maxPayload','Invalid\x20value\x20for\x20parameter\x20\x22','MASK\x20must\x20be\x20clear','hash','sec-websocket-origin','concurrency','getMask','getInfo','_state','server_max_window_bits','byteLength','bufferedAmount','listenerCount','_injector','_registerDependencies','status-code','base64','_options','Sec-WebSocket-Protocol:\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','wasClean','errorEmitted','binaryType','_buffers','WS_ERR_UNEXPECTED_RSV_1','prototype','target','function','_threshold','getPayloadLength16','decompress','protocol','forEach','onerror','_decompress','Invalid\x20Sec-WebSocket-Extensions\x20header','Blob','verifyClient','websocket','bind','open','connect','client_max_window_bits','getData','hostname','The\x20\x22','FIN\x20must\x20be\x20set','warn','unexpected-response','2553708CWoXEZ','_isServer','sec-websocket-accept','_closeFrameSent','sha1','_destroy','RSV1\x20must\x20be\x20clear','_fragments','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Sec-WebSocket-Accept:\x20','getBlobData','params','callback','_maxPayload','keys','Unknown\x20parameter\x20\x22','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','split','finishRequest','completeUpgrade','path','redirect','writable','customHeaders','serverMaxWindowBits','default','href','zlibDeflateOptions','controlMessage','isArray','destroy','3126848indVbO','Unsupported\x20protocol\x20version:\x20','_server','Invalid\x20HTTP\x20method','_closeMessage','_compressed','reset','statusCode','server','total-length','constructor','CONNECTING','text/plain','WS_ERR_INVALID_UTF8','_queue','registerHTTPInterceptor','Upgrade:\x20websocket','pipe','cookie'];_0x1aa6=function(){return _0x111e59;};return _0x1aa6();}var Ke;function ce(){const _0xe54cf1=_0x2be760;if(Ke)return te[_0xe54cf1(0x253)];Ke=0x1;const {EMPTY_BUFFER:_0x2928fc}=V(),_0x5e6ee6=Buffer[Symbol['species']];function _0xc393c4(_0x975a21,_0x1f534c){const _0x326074=_0xe54cf1;if(_0x975a21['length']===0x0)return _0x2928fc;if(_0x975a21[_0x326074(0x2e4)]===0x1)return _0x975a21[0x0];const _0xc303e8=Buffer['allocUnsafe'](_0x1f534c);let _0x1eff3c=0x0;for(let _0x302201=0x0;_0x302201<_0x975a21['length'];_0x302201++){const _0x18df44=_0x975a21[_0x302201];_0xc303e8[_0x326074(0x2a5)](_0x18df44,_0x1eff3c),_0x1eff3c+=_0x18df44[_0x326074(0x2e4)];}return _0x1eff3c<_0x1f534c?new _0x5e6ee6(_0xc303e8[_0x326074(0x17c)],_0xc303e8[_0x326074(0x1b9)],_0x1eff3c):_0xc303e8;}function _0x4feac0(_0x33d369,_0x4136be,_0x34d3f4,_0x176e9a,_0x577b25){for(let _0x3af30f=0x0;_0x3af30f<_0x577b25;_0x3af30f++)_0x34d3f4[_0x176e9a+_0x3af30f]=_0x33d369[_0x3af30f]^_0x4136be[_0x3af30f&0x3];}function _0x55ab3b(_0x8b17fb,_0x5723c8){for(let _0x5c18dd=0x0;_0x5c18dd<_0x8b17fb['length'];_0x5c18dd++)_0x8b17fb[_0x5c18dd]^=_0x5723c8[_0x5c18dd&0x3];}function _0x151405(_0x359731){const _0x5294bc=_0xe54cf1;return _0x359731[_0x5294bc(0x2e4)]===_0x359731['buffer'][_0x5294bc(0x1f9)]?_0x359731[_0x5294bc(0x17c)]:_0x359731[_0x5294bc(0x17c)][_0x5294bc(0x30e)](_0x359731['byteOffset'],_0x359731[_0x5294bc(0x1b9)]+_0x359731['length']);}function _0x579c(_0x26c4dc){const _0x5caa78=_0xe54cf1;if(_0x579c[_0x5caa78(0x1ce)]=!0x0,Buffer[_0x5caa78(0x1ad)](_0x26c4dc))return _0x26c4dc;let _0x398ff3;return _0x26c4dc instanceof ArrayBuffer?_0x398ff3=new _0x5e6ee6(_0x26c4dc):ArrayBuffer[_0x5caa78(0x1a7)](_0x26c4dc)?_0x398ff3=new _0x5e6ee6(_0x26c4dc['buffer'],_0x26c4dc[_0x5caa78(0x1b9)],_0x26c4dc[_0x5caa78(0x1f9)]):(_0x398ff3=Buffer[_0x5caa78(0x1e1)](_0x26c4dc),_0x579c[_0x5caa78(0x1ce)]=!0x1),_0x398ff3;}if(te[_0xe54cf1(0x253)]={'concat':_0xc393c4,'mask':_0x4feac0,'toArrayBuffer':_0x151405,'toBuffer':_0x579c,'unmask':_0x55ab3b},!process[_0xe54cf1(0x27e)]['WS_NO_BUFFER_UTIL'])try{const _0x4cfb57=Vt;te['exports']['mask']=function(_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d){const _0x2cf751=_0xe54cf1;_0x39e36d<0x30?_0x4feac0(_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d):_0x4cfb57[_0x2cf751(0x1a2)](_0x35f055,_0x21e4ad,_0x5b4b2f,_0x337686,_0x39e36d);},te[_0xe54cf1(0x253)]['unmask']=function(_0x5ba236,_0x5650c3){const _0x185c59=_0xe54cf1;_0x5ba236['length']<0x20?_0x55ab3b(_0x5ba236,_0x5650c3):_0x4cfb57[_0x185c59(0x2a7)](_0x5ba236,_0x5650c3);};}catch{}return te[_0xe54cf1(0x253)];}var ye,Xe;function qt(){const _0x1bc060=_0x2be760;if(Xe)return ye;Xe=0x1;const _0x4ff1a3=Symbol(_0x1bc060(0x19c)),_0x50cbb9=Symbol(_0x1bc060(0x1b4));class _0x22042f{constructor(_0x4eb230){const _0x2f3777=_0x1bc060;this[_0x4ff1a3]=()=>{this['pending']--,this[_0x50cbb9]();},this[_0x2f3777(0x1f4)]=_0x4eb230||0x1/0x0,this[_0x2f3777(0x194)]=[],this[_0x2f3777(0x1d2)]=0x0;}[_0x1bc060(0x26b)](_0xe83e5c){const _0x5a41f3=_0x1bc060;this[_0x5a41f3(0x194)][_0x5a41f3(0x2ae)](_0xe83e5c),this[_0x50cbb9]();}[_0x50cbb9](){const _0x26ef25=_0x1bc060;if(this['pending']!==this[_0x26ef25(0x1f4)]&&this[_0x26ef25(0x194)]['length']){const _0x8d547f=this['jobs'][_0x26ef25(0x2f9)]();this[_0x26ef25(0x1d2)]++,_0x8d547f(this[_0x4ff1a3]);}}}return ye=_0x22042f,ye;}var ve,Ze;function he(){const _0xd1d2ca=_0x2be760;if(Ze)return ve;Ze=0x1;const _0x5d4a8f=_0x512b1f,_0x4d327b=ce(),_0xeb2e3d=qt(),{kStatusCode:_0x8ef6ed}=V(),_0x1937d9=Buffer[Symbol[_0xd1d2ca(0x1e3)]],_0x4cfff7=Buffer[_0xd1d2ca(0x1e1)]([0x0,0x0,0xff,0xff]),_0x2be159=Symbol(_0xd1d2ca(0x28d)),_0x377122=Symbol(_0xd1d2ca(0x248)),_0x2dc183=Symbol(_0xd1d2ca(0x22c)),_0x2ebf47=Symbol('buffers'),_0x4c68ae=Symbol(_0xd1d2ca(0x2ca));let _0x4fa2d4;class _0x4b64b9{constructor(_0x18a424,_0x2c518a,_0x414be7){const _0x446829=_0xd1d2ca;if(this[_0x446829(0x22d)]=_0x414be7|0x0,this[_0x446829(0x200)]=_0x18a424||{},this[_0x446829(0x20b)]=this['_options'][_0x446829(0x294)]!==void 0x0?this[_0x446829(0x200)]['threshold']:0x400,this[_0x446829(0x221)]=!!_0x2c518a,this['_deflate']=null,this[_0x446829(0x1df)]=null,this[_0x446829(0x22b)]=null,!_0x4fa2d4){const _0x45caa3=this[_0x446829(0x200)][_0x446829(0x2bf)]!==void 0x0?this['_options'][_0x446829(0x2bf)]:0xa;_0x4fa2d4=new _0xeb2e3d(_0x45caa3);}}static get[_0xd1d2ca(0x289)](){const _0x2fd3ba=_0xd1d2ca;return _0x2fd3ba(0x28d);}[_0xd1d2ca(0x2ac)](){const _0x231057=_0xd1d2ca,_0x24b4bf={};return this[_0x231057(0x200)][_0x231057(0x26f)]&&(_0x24b4bf[_0x231057(0x2ce)]=!0x0),this[_0x231057(0x200)]['clientNoContextTakeover']&&(_0x24b4bf[_0x231057(0x27a)]=!0x0),this['_options'][_0x231057(0x238)]&&(_0x24b4bf[_0x231057(0x1f8)]=this[_0x231057(0x200)][_0x231057(0x238)]),this[_0x231057(0x200)]['clientMaxWindowBits']?_0x24b4bf[_0x231057(0x219)]=this[_0x231057(0x200)][_0x231057(0x310)]:this['_options'][_0x231057(0x310)]==null&&(_0x24b4bf['client_max_window_bits']=!0x0),_0x24b4bf;}['accept'](_0x5aef5a){const _0x406a8a=_0xd1d2ca;return _0x5aef5a=this['normalizeParams'](_0x5aef5a),this[_0x406a8a(0x22b)]=this['_isServer']?this[_0x406a8a(0x16e)](_0x5aef5a):this[_0x406a8a(0x1af)](_0x5aef5a),this[_0x406a8a(0x22b)];}[_0xd1d2ca(0x1bb)](){const _0x4c4f1a=_0xd1d2ca;if(this[_0x4c4f1a(0x1df)]&&(this[_0x4c4f1a(0x1df)]['close'](),this[_0x4c4f1a(0x1df)]=null),this[_0x4c4f1a(0x2de)]){const _0xccb59=this[_0x4c4f1a(0x2de)][_0x2dc183];this['_deflate'][_0x4c4f1a(0x163)](),this['_deflate']=null,_0xccb59&&_0xccb59(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0xd1d2ca(0x16e)](_0xfd5e6e){const _0x5188bb=_0xd1d2ca,_0xfadc89=this['_options'],_0x55650f=_0xfd5e6e[_0x5188bb(0x1b1)](_0x2765fb=>!(_0xfadc89[_0x5188bb(0x26f)]===!0x1&&_0x2765fb[_0x5188bb(0x2ce)]||_0x2765fb[_0x5188bb(0x1f8)]&&(_0xfadc89[_0x5188bb(0x238)]===!0x1||typeof _0xfadc89[_0x5188bb(0x238)]==_0x5188bb(0x273)&&_0xfadc89[_0x5188bb(0x238)]>_0x2765fb[_0x5188bb(0x1f8)])||typeof _0xfadc89['clientMaxWindowBits']==_0x5188bb(0x273)&&!_0x2765fb['client_max_window_bits']));if(!_0x55650f)throw new Error(_0x5188bb(0x16c));return _0xfadc89[_0x5188bb(0x26f)]&&(_0x55650f['server_no_context_takeover']=!0x0),_0xfadc89[_0x5188bb(0x1c8)]&&(_0x55650f['client_no_context_takeover']=!0x0),typeof _0xfadc89['serverMaxWindowBits']==_0x5188bb(0x273)&&(_0x55650f[_0x5188bb(0x1f8)]=_0xfadc89['serverMaxWindowBits']),typeof _0xfadc89['clientMaxWindowBits']==_0x5188bb(0x273)?_0x55650f[_0x5188bb(0x219)]=_0xfadc89[_0x5188bb(0x310)]:(_0x55650f[_0x5188bb(0x219)]===!0x0||_0xfadc89[_0x5188bb(0x310)]===!0x1)&&delete _0x55650f[_0x5188bb(0x219)],_0x55650f;}[_0xd1d2ca(0x1af)](_0x3d98a3){const _0x53b7de=_0xd1d2ca,_0x59759e=_0x3d98a3[0x0];if(this[_0x53b7de(0x200)]['clientNoContextTakeover']===!0x1&&_0x59759e[_0x53b7de(0x27a)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x59759e[_0x53b7de(0x219)])typeof this[_0x53b7de(0x200)][_0x53b7de(0x310)]==_0x53b7de(0x273)&&(_0x59759e['client_max_window_bits']=this[_0x53b7de(0x200)][_0x53b7de(0x310)]);else{if(this[_0x53b7de(0x200)][_0x53b7de(0x310)]===!0x1||typeof this['_options'][_0x53b7de(0x310)]==_0x53b7de(0x273)&&_0x59759e[_0x53b7de(0x219)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x53b7de(0x295));}return _0x59759e;}[_0xd1d2ca(0x299)](_0x41291f){const _0x44fbb9=_0xd1d2ca;return _0x41291f[_0x44fbb9(0x20f)](_0x6ac578=>{const _0x160194=_0x44fbb9;Object['keys'](_0x6ac578)[_0x160194(0x20f)](_0x5195c7=>{const _0x586b5d=_0x160194;let _0x3a40be=_0x6ac578[_0x5195c7];if(_0x3a40be[_0x586b5d(0x2e4)]>0x1)throw new Error(_0x586b5d(0x298)+_0x5195c7+_0x586b5d(0x1bf));if(_0x3a40be=_0x3a40be[0x0],_0x5195c7===_0x586b5d(0x219)){if(_0x3a40be!==!0x0){const _0x1e1a23=+_0x3a40be;if(!Number[_0x586b5d(0x2eb)](_0x1e1a23)||_0x1e1a23<0x8||_0x1e1a23>0xf)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+'\x22:\x20'+_0x3a40be);_0x3a40be=_0x1e1a23;}else{if(!this['_isServer'])throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);}}else{if(_0x5195c7==='server_max_window_bits'){const _0x4d9e38=+_0x3a40be;if(!Number['isInteger'](_0x4d9e38)||_0x4d9e38<0x8||_0x4d9e38>0xf)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);_0x3a40be=_0x4d9e38;}else{if(_0x5195c7===_0x586b5d(0x27a)||_0x5195c7===_0x586b5d(0x2ce)){if(_0x3a40be!==!0x0)throw new TypeError(_0x586b5d(0x1f0)+_0x5195c7+_0x586b5d(0x1c2)+_0x3a40be);}else throw new Error(_0x586b5d(0x22f)+_0x5195c7+'\x22');}}_0x6ac578[_0x5195c7]=_0x3a40be;});}),_0x41291f;}[_0xd1d2ca(0x20d)](_0x28ea40,_0x4b9a44,_0x1cfa08){const _0x4b9677=_0xd1d2ca;_0x4fa2d4[_0x4b9677(0x26b)](_0x15f163=>{const _0x1ef8ef=_0x4b9677;this[_0x1ef8ef(0x211)](_0x28ea40,_0x4b9a44,(_0x1f6b79,_0xe0877c)=>{_0x15f163(),_0x1cfa08(_0x1f6b79,_0xe0877c);});});}['compress'](_0x2ae130,_0x439ee7,_0x3d8ebe){const _0x59d986=_0xd1d2ca;_0x4fa2d4[_0x59d986(0x26b)](_0x5d1bfa=>{const _0x4e9183=_0x59d986;this[_0x4e9183(0x182)](_0x2ae130,_0x439ee7,(_0x4ff0e0,_0x5533c7)=>{_0x5d1bfa(),_0x3d8ebe(_0x4ff0e0,_0x5533c7);});});}[_0xd1d2ca(0x211)](_0x2b8593,_0x1ac661,_0x5a0a3d){const _0x2d8df2=_0xd1d2ca,_0x39a14e=this[_0x2d8df2(0x221)]?_0x2d8df2(0x181):_0x2d8df2(0x247);if(!this['_inflate']){const _0x4595a4=_0x39a14e+_0x2d8df2(0x2c7),_0x3f0f9d=typeof this['params'][_0x4595a4]!=_0x2d8df2(0x273)?_0x5d4a8f[_0x2d8df2(0x280)]:this[_0x2d8df2(0x22b)][_0x4595a4];this['_inflate']=_0x5d4a8f['createInflateRaw']({...this[_0x2d8df2(0x200)][_0x2d8df2(0x2b5)],'windowBits':_0x3f0f9d}),this[_0x2d8df2(0x1df)][_0x2be159]=this,this['_inflate'][_0x377122]=0x0,this[_0x2d8df2(0x1df)][_0x2ebf47]=[],this['_inflate']['on']('error',_0x4c5080),this[_0x2d8df2(0x1df)]['on'](_0x2d8df2(0x2a1),_0x159dff);}this['_inflate'][_0x2dc183]=_0x5a0a3d,this[_0x2d8df2(0x1df)][_0x2d8df2(0x2d7)](_0x2b8593),_0x1ac661&&this['_inflate']['write'](_0x4cfff7),this[_0x2d8df2(0x1df)][_0x2d8df2(0x1b7)](()=>{const _0x9a2ce9=_0x2d8df2,_0x5d5ab2=this['_inflate'][_0x4c68ae];if(_0x5d5ab2){this['_inflate'][_0x9a2ce9(0x163)](),this['_inflate']=null,_0x5a0a3d(_0x5d5ab2);return;}const _0x25fde7=_0x4d327b[_0x9a2ce9(0x17d)](this[_0x9a2ce9(0x1df)][_0x2ebf47],this[_0x9a2ce9(0x1df)][_0x377122]);this[_0x9a2ce9(0x1df)][_0x9a2ce9(0x2db)][_0x9a2ce9(0x1db)]?(this[_0x9a2ce9(0x1df)][_0x9a2ce9(0x163)](),this[_0x9a2ce9(0x1df)]=null):(this['_inflate'][_0x377122]=0x0,this[_0x9a2ce9(0x1df)][_0x2ebf47]=[],_0x1ac661&&this[_0x9a2ce9(0x22b)][_0x39a14e+'_no_context_takeover']&&this['_inflate'][_0x9a2ce9(0x245)]()),_0x5a0a3d(null,_0x25fde7);});}['_compress'](_0x17b43b,_0x152a7f,_0x5c421f){const _0x1de6b5=_0xd1d2ca,_0x5c1c81=this[_0x1de6b5(0x221)]?_0x1de6b5(0x247):_0x1de6b5(0x181);if(!this['_deflate']){const _0x7369eb=_0x5c1c81+_0x1de6b5(0x2c7),_0x1505f7=typeof this[_0x1de6b5(0x22b)][_0x7369eb]!='number'?_0x5d4a8f[_0x1de6b5(0x280)]:this[_0x1de6b5(0x22b)][_0x7369eb];this[_0x1de6b5(0x2de)]=_0x5d4a8f[_0x1de6b5(0x25b)]({...this[_0x1de6b5(0x200)][_0x1de6b5(0x23b)],'windowBits':_0x1505f7}),this[_0x1de6b5(0x2de)][_0x377122]=0x0,this['_deflate'][_0x2ebf47]=[],this[_0x1de6b5(0x2de)]['on'](_0x1de6b5(0x2a1),_0x170517);}this['_deflate'][_0x2dc183]=_0x5c421f,this[_0x1de6b5(0x2de)][_0x1de6b5(0x2d7)](_0x17b43b),this['_deflate']['flush'](_0x5d4a8f['Z_SYNC_FLUSH'],()=>{const _0x23c255=_0x1de6b5;if(!this['_deflate'])return;let _0x2eee8b=_0x4d327b['concat'](this[_0x23c255(0x2de)][_0x2ebf47],this[_0x23c255(0x2de)][_0x377122]);_0x152a7f&&(_0x2eee8b=new _0x1937d9(_0x2eee8b[_0x23c255(0x17c)],_0x2eee8b[_0x23c255(0x1b9)],_0x2eee8b[_0x23c255(0x2e4)]-0x4)),this[_0x23c255(0x2de)][_0x2dc183]=null,this[_0x23c255(0x2de)][_0x377122]=0x0,this[_0x23c255(0x2de)][_0x2ebf47]=[],_0x152a7f&&this[_0x23c255(0x22b)][_0x5c1c81+_0x23c255(0x256)]&&this[_0x23c255(0x2de)]['reset'](),_0x5c421f(null,_0x2eee8b);});}}ve=_0x4b64b9;function _0x170517(_0x4f0cbf){this[_0x2ebf47]['push'](_0x4f0cbf),this[_0x377122]+=_0x4f0cbf['length'];}function _0x159dff(_0x554751){const _0x2e7b83=_0xd1d2ca;if(this[_0x377122]+=_0x554751[_0x2e7b83(0x2e4)],this[_0x2be159][_0x2e7b83(0x22d)]<0x1||this[_0x377122]<=this[_0x2be159][_0x2e7b83(0x22d)]){this[_0x2ebf47][_0x2e7b83(0x2ae)](_0x554751);return;}this[_0x4c68ae]=new RangeError(_0x2e7b83(0x1a1)),this[_0x4c68ae][_0x2e7b83(0x2b1)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x4c68ae][_0x8ef6ed]=0x3f1,this['removeListener'](_0x2e7b83(0x2a1),_0x159dff),this['reset']();}function _0x4c5080(_0x6c16e1){this[_0x2be159]['_inflate']=null,_0x6c16e1[_0x8ef6ed]=0x3ef,this[_0x2dc183](_0x6c16e1);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2be760(0x2c8)](Object[_0x2be760(0x27f)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2be760(0x2c1)})),Yt=ut(zt);var Qe;function ne(){const _0x230bf0=_0x2be760;if(Qe)return re[_0x230bf0(0x253)];Qe=0x1;const {isUtf8:_0x297136}=_0x190719,{hasBlob:_0x281acd}=V(),_0x1d7154=[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 _0x6b614d(_0x466cb1){return _0x466cb1>=0x3e8&&_0x466cb1<=0x3f6&&_0x466cb1!==0x3ec&&_0x466cb1!==0x3ed&&_0x466cb1!==0x3ee||_0x466cb1>=0xbb8&&_0x466cb1<=0x1387;}function _0x4f0ceb(_0x1ab64b){const _0x31c5bc=_0x230bf0,_0x3d72e4=_0x1ab64b[_0x31c5bc(0x2e4)];let _0x15a0cc=0x0;for(;_0x15a0cc<_0x3d72e4;)if((_0x1ab64b[_0x15a0cc]&0x80)===0x0)_0x15a0cc++;else{if((_0x1ab64b[_0x15a0cc]&0xe0)===0xc0){if(_0x15a0cc+0x1===_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc]&0xfe)===0xc0)return!0x1;_0x15a0cc+=0x2;}else{if((_0x1ab64b[_0x15a0cc]&0xf0)===0xe0){if(_0x15a0cc+0x2>=_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x2]&0xc0)!==0x80||_0x1ab64b[_0x15a0cc]===0xe0&&(_0x1ab64b[_0x15a0cc+0x1]&0xe0)===0x80||_0x1ab64b[_0x15a0cc]===0xed&&(_0x1ab64b[_0x15a0cc+0x1]&0xe0)===0xa0)return!0x1;_0x15a0cc+=0x3;}else{if((_0x1ab64b[_0x15a0cc]&0xf8)===0xf0){if(_0x15a0cc+0x3>=_0x3d72e4||(_0x1ab64b[_0x15a0cc+0x1]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x2]&0xc0)!==0x80||(_0x1ab64b[_0x15a0cc+0x3]&0xc0)!==0x80||_0x1ab64b[_0x15a0cc]===0xf0&&(_0x1ab64b[_0x15a0cc+0x1]&0xf0)===0x80||_0x1ab64b[_0x15a0cc]===0xf4&&_0x1ab64b[_0x15a0cc+0x1]>0x8f||_0x1ab64b[_0x15a0cc]>0xf4)return!0x1;_0x15a0cc+=0x4;}else return!0x1;}}}return!0x0;}function _0x4f8f67(_0x5664a7){const _0x322979=_0x230bf0;return _0x281acd&&typeof _0x5664a7=='object'&&typeof _0x5664a7[_0x322979(0x18e)]==_0x322979(0x20a)&&typeof _0x5664a7['type']=='string'&&typeof _0x5664a7['stream']==_0x322979(0x20a)&&(_0x5664a7[Symbol[_0x322979(0x2c9)]]===_0x322979(0x213)||_0x5664a7[Symbol['toStringTag']]===_0x322979(0x1d0));}if(re['exports']={'isBlob':_0x4f8f67,'isValidStatusCode':_0x6b614d,'isValidUTF8':_0x4f0ceb,'tokenChars':_0x1d7154},_0x297136)re['exports']['isValidUTF8']=function(_0x38eddf){return _0x38eddf['length']<0x18?_0x4f0ceb(_0x38eddf):_0x297136(_0x38eddf);};else{if(!process[_0x230bf0(0x27e)][_0x230bf0(0x2e3)])try{const _0x4893e5=Yt;re[_0x230bf0(0x253)]['isValidUTF8']=function(_0x5388dc){const _0x21ae15=_0x230bf0;return _0x5388dc[_0x21ae15(0x2e4)]<0x20?_0x4f0ceb(_0x5388dc):_0x4893e5(_0x5388dc);};}catch{}}return re[_0x230bf0(0x253)];}var Se,Je;function dt(){const _0x35e70a=_0x2be760;if(Je)return Se;Je=0x1;const {Writable:_0x4b27d7}=_0x19e32e,_0xc861f3=he(),{BINARY_TYPES:_0x225b8e,EMPTY_BUFFER:_0x35f7e6,kStatusCode:_0xe04dae,kWebSocket:_0x257197}=V(),{concat:_0x3ff27e,toArrayBuffer:_0x107a0f,unmask:_0x374e76}=ce(),{isValidStatusCode:_0x4697df,isValidUTF8:_0x2139cc}=ne(),_0x4cfcd1=Buffer[Symbol[_0x35e70a(0x1e3)]],_0x258d02=0x0,_0x569c94=0x1,_0x20acf5=0x2,_0x2ab7a2=0x3,_0x50c1c2=0x4,_0x175d29=0x5,_0x116d7d=0x6;class _0x14855b extends _0x4b27d7{constructor(_0xb2e5b0={}){const _0x188c30=_0x35e70a;super(),this[_0x188c30(0x301)]=_0xb2e5b0[_0x188c30(0x313)]!==void 0x0?_0xb2e5b0['allowSynchronousEvents']:!0x0,this[_0x188c30(0x261)]=_0xb2e5b0[_0x188c30(0x205)]||_0x225b8e[0x0],this[_0x188c30(0x25d)]=_0xb2e5b0['extensions']||{},this[_0x188c30(0x221)]=!!_0xb2e5b0[_0x188c30(0x1bd)],this[_0x188c30(0x22d)]=_0xb2e5b0[_0x188c30(0x1ef)]|0x0,this[_0x188c30(0x2ab)]=!!_0xb2e5b0[_0x188c30(0x288)],this[_0x257197]=void 0x0,this['_bufferedBytes']=0x0,this[_0x188c30(0x206)]=[],this[_0x188c30(0x244)]=!0x1,this[_0x188c30(0x1c9)]=0x0,this[_0x188c30(0x1c1)]=void 0x0,this[_0x188c30(0x2f5)]=0x0,this[_0x188c30(0x28f)]=!0x1,this[_0x188c30(0x1ab)]=!0x1,this['_opcode']=0x0,this[_0x188c30(0x2d4)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0x188c30(0x2b3)]=!0x1,this[_0x188c30(0x292)]=!0x1,this[_0x188c30(0x1f7)]=_0x258d02;}[_0x35e70a(0x199)](_0xcd7ac2,_0x1ec4e3,_0x3c9990){const _0x468c10=_0x35e70a;if(this['_opcode']===0x8&&this[_0x468c10(0x1f7)]==_0x258d02)return _0x3c9990();this[_0x468c10(0x259)]+=_0xcd7ac2[_0x468c10(0x2e4)],this['_buffers']['push'](_0xcd7ac2),this[_0x468c10(0x269)](_0x3c9990);}[_0x35e70a(0x19b)](_0x4b478b){const _0x3a0011=_0x35e70a;if(this[_0x3a0011(0x259)]-=_0x4b478b,_0x4b478b===this['_buffers'][0x0][_0x3a0011(0x2e4)])return this['_buffers'][_0x3a0011(0x2f9)]();if(_0x4b478b<this['_buffers'][0x0][_0x3a0011(0x2e4)]){const _0x1f9b22=this[_0x3a0011(0x206)][0x0];return this[_0x3a0011(0x206)][0x0]=new _0x4cfcd1(_0x1f9b22[_0x3a0011(0x17c)],_0x1f9b22[_0x3a0011(0x1b9)]+_0x4b478b,_0x1f9b22[_0x3a0011(0x2e4)]-_0x4b478b),new _0x4cfcd1(_0x1f9b22[_0x3a0011(0x17c)],_0x1f9b22[_0x3a0011(0x1b9)],_0x4b478b);}const _0x26aea8=Buffer['allocUnsafe'](_0x4b478b);do{const _0x4cd18f=this[_0x3a0011(0x206)][0x0],_0x7d0366=_0x26aea8['length']-_0x4b478b;_0x4b478b>=_0x4cd18f[_0x3a0011(0x2e4)]?_0x26aea8['set'](this[_0x3a0011(0x206)]['shift'](),_0x7d0366):(_0x26aea8[_0x3a0011(0x2a5)](new Uint8Array(_0x4cd18f[_0x3a0011(0x17c)],_0x4cd18f[_0x3a0011(0x1b9)],_0x4b478b),_0x7d0366),this[_0x3a0011(0x206)][0x0]=new _0x4cfcd1(_0x4cd18f[_0x3a0011(0x17c)],_0x4cd18f[_0x3a0011(0x1b9)]+_0x4b478b,_0x4cd18f[_0x3a0011(0x2e4)]-_0x4b478b)),_0x4b478b-=_0x4cd18f[_0x3a0011(0x2e4)];}while(_0x4b478b>0x0);return _0x26aea8;}['startLoop'](_0x29b034){const _0x3753e8=_0x35e70a;this[_0x3753e8(0x292)]=!0x0;do switch(this[_0x3753e8(0x1f7)]){case _0x258d02:this[_0x3753e8(0x1f6)](_0x29b034);break;case _0x569c94:this[_0x3753e8(0x20c)](_0x29b034);break;case _0x20acf5:this[_0x3753e8(0x1c4)](_0x29b034);break;case _0x2ab7a2:this[_0x3753e8(0x1f5)]();break;case _0x50c1c2:this[_0x3753e8(0x21a)](_0x29b034);break;case _0x175d29:case _0x116d7d:this[_0x3753e8(0x292)]=!0x1;return;}while(this[_0x3753e8(0x292)]);this['_errored']||_0x29b034();}[_0x35e70a(0x1f6)](_0x1aebf2){const _0x4154ee=_0x35e70a;if(this[_0x4154ee(0x259)]<0x2){this[_0x4154ee(0x292)]=!0x1;return;}const _0x2cc899=this[_0x4154ee(0x19b)](0x2);if((_0x2cc899[0x0]&0x30)!==0x0){const _0x4cf3ad=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x18f),!0x0,0x3ea,_0x4154ee(0x315));_0x1aebf2(_0x4cf3ad);return;}const _0x5975b1=(_0x2cc899[0x0]&0x40)===0x40;if(_0x5975b1&&!this[_0x4154ee(0x25d)][_0xc861f3[_0x4154ee(0x289)]]){const _0x4a2e19=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x4a2e19);return;}if(this['_fin']=(_0x2cc899[0x0]&0x80)===0x80,this['_opcode']=_0x2cc899[0x0]&0xf,this[_0x4154ee(0x1c9)]=_0x2cc899[0x1]&0x7f,this[_0x4154ee(0x2ec)]===0x0){if(_0x5975b1){const _0x322267=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x226),!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x322267);return;}if(!this[_0x4154ee(0x2f5)]){const _0x10583d=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x10583d);return;}this[_0x4154ee(0x2ec)]=this[_0x4154ee(0x2f5)];}else{if(this[_0x4154ee(0x2ec)]===0x1||this[_0x4154ee(0x2ec)]===0x2){if(this[_0x4154ee(0x2f5)]){const _0x1707c5=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x1707c5);return;}this[_0x4154ee(0x244)]=_0x5975b1;}else{if(this[_0x4154ee(0x2ec)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x2ff83d=this['createError'](RangeError,_0x4154ee(0x21d),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1aebf2(_0x2ff83d);return;}if(_0x5975b1){const _0x556c48=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x226),!0x0,0x3ea,_0x4154ee(0x207));_0x1aebf2(_0x556c48);return;}if(this[_0x4154ee(0x1c9)]>0x7d||this[_0x4154ee(0x2ec)]===0x8&&this[_0x4154ee(0x1c9)]===0x1){const _0x9cda91=this[_0x4154ee(0x2c2)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4154ee(0x1c9)],!0x0,0x3ea,_0x4154ee(0x18c));_0x1aebf2(_0x9cda91);return;}}else{const _0x4c1ddf=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x2dd)+this[_0x4154ee(0x2ec)],!0x0,0x3ea,_0x4154ee(0x1b8));_0x1aebf2(_0x4c1ddf);return;}}}if(!this[_0x4154ee(0x1ab)]&&!this[_0x4154ee(0x2f5)]&&(this[_0x4154ee(0x2f5)]=this[_0x4154ee(0x2ec)]),this[_0x4154ee(0x28f)]=(_0x2cc899[0x1]&0x80)===0x80,this[_0x4154ee(0x221)]){if(!this['_masked']){const _0xefe422=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x19d),!0x0,0x3ea,_0x4154ee(0x2a2));_0x1aebf2(_0xefe422);return;}}else{if(this['_masked']){const _0x5ef124=this[_0x4154ee(0x2c2)](RangeError,_0x4154ee(0x1f1),!0x0,0x3ea,_0x4154ee(0x17f));_0x1aebf2(_0x5ef124);return;}}this[_0x4154ee(0x1c9)]===0x7e?this[_0x4154ee(0x1f7)]=_0x569c94:this[_0x4154ee(0x1c9)]===0x7f?this[_0x4154ee(0x1f7)]=_0x20acf5:this[_0x4154ee(0x26d)](_0x1aebf2);}[_0x35e70a(0x20c)](_0x132a1e){const _0x3d7d47=_0x35e70a;if(this[_0x3d7d47(0x259)]<0x2){this[_0x3d7d47(0x292)]=!0x1;return;}this[_0x3d7d47(0x1c9)]=this['consume'](0x2)[_0x3d7d47(0x2e9)](0x0),this['haveLength'](_0x132a1e);}['getPayloadLength64'](_0x1c65fd){const _0x111e37=_0x35e70a;if(this[_0x111e37(0x259)]<0x8){this['_loop']=!0x1;return;}const _0x1c1647=this['consume'](0x8),_0x32f109=_0x1c1647['readUInt32BE'](0x0);if(_0x32f109>Math[_0x111e37(0x2bb)](0x2,0x15)-0x1){const _0x2fae7e=this['createError'](RangeError,_0x111e37(0x1cb),!0x1,0x3f1,_0x111e37(0x230));_0x1c65fd(_0x2fae7e);return;}this[_0x111e37(0x1c9)]=_0x32f109*Math['pow'](0x2,0x20)+_0x1c1647['readUInt32BE'](0x4),this[_0x111e37(0x26d)](_0x1c65fd);}[_0x35e70a(0x26d)](_0xa69904){const _0x54a98b=_0x35e70a;if(this['_payloadLength']&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x54a98b(0x1c9)],this[_0x54a98b(0x2d4)]>this[_0x54a98b(0x22d)]&&this['_maxPayload']>0x0)){const _0x2ba3a6=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xa69904(_0x2ba3a6);return;}this[_0x54a98b(0x28f)]?this[_0x54a98b(0x1f7)]=_0x2ab7a2:this['_state']=_0x50c1c2;}[_0x35e70a(0x1f5)](){const _0x580771=_0x35e70a;if(this['_bufferedBytes']<0x4){this[_0x580771(0x292)]=!0x1;return;}this[_0x580771(0x1c1)]=this[_0x580771(0x19b)](0x4),this['_state']=_0x50c1c2;}[_0x35e70a(0x21a)](_0x59dde9){const _0x4eb7d5=_0x35e70a;let _0x310bf2=_0x35f7e6;if(this[_0x4eb7d5(0x1c9)]){if(this[_0x4eb7d5(0x259)]<this[_0x4eb7d5(0x1c9)]){this[_0x4eb7d5(0x292)]=!0x1;return;}_0x310bf2=this[_0x4eb7d5(0x19b)](this[_0x4eb7d5(0x1c9)]),this[_0x4eb7d5(0x28f)]&&(this[_0x4eb7d5(0x1c1)][0x0]|this[_0x4eb7d5(0x1c1)][0x1]|this[_0x4eb7d5(0x1c1)][0x2]|this[_0x4eb7d5(0x1c1)][0x3])!==0x0&&_0x374e76(_0x310bf2,this['_mask']);}if(this['_opcode']>0x7){this[_0x4eb7d5(0x23c)](_0x310bf2,_0x59dde9);return;}if(this[_0x4eb7d5(0x244)]){this[_0x4eb7d5(0x1f7)]=_0x175d29,this[_0x4eb7d5(0x20d)](_0x310bf2,_0x59dde9);return;}_0x310bf2['length']&&(this[_0x4eb7d5(0x30c)]=this[_0x4eb7d5(0x2d4)],this[_0x4eb7d5(0x227)][_0x4eb7d5(0x2ae)](_0x310bf2)),this[_0x4eb7d5(0x27b)](_0x59dde9);}[_0x35e70a(0x20d)](_0x457254,_0x27a217){const _0x15529e=_0x35e70a;this[_0x15529e(0x25d)][_0xc861f3[_0x15529e(0x289)]][_0x15529e(0x20d)](_0x457254,this['_fin'],(_0x4d02d0,_0x5e7a20)=>{const _0x4d2f61=_0x15529e;if(_0x4d02d0)return _0x27a217(_0x4d02d0);if(_0x5e7a20[_0x4d2f61(0x2e4)]){if(this['_messageLength']+=_0x5e7a20['length'],this[_0x4d2f61(0x30c)]>this[_0x4d2f61(0x22d)]&&this[_0x4d2f61(0x22d)]>0x0){const _0x388d0b=this[_0x4d2f61(0x2c2)](RangeError,_0x4d2f61(0x1a1),!0x1,0x3f1,_0x4d2f61(0x16b));_0x27a217(_0x388d0b);return;}this[_0x4d2f61(0x227)][_0x4d2f61(0x2ae)](_0x5e7a20);}this['dataMessage'](_0x27a217),this[_0x4d2f61(0x1f7)]===_0x258d02&&this[_0x4d2f61(0x269)](_0x27a217);});}[_0x35e70a(0x27b)](_0x32537b){const _0x24cf98=_0x35e70a;if(!this[_0x24cf98(0x1ab)]){this[_0x24cf98(0x1f7)]=_0x258d02;return;}const _0x2c03de=this[_0x24cf98(0x30c)],_0x1f61c2=this[_0x24cf98(0x227)];if(this[_0x24cf98(0x2d4)]=0x0,this[_0x24cf98(0x30c)]=0x0,this['_fragmented']=0x0,this[_0x24cf98(0x227)]=[],this['_opcode']===0x2){let _0x161a27;this[_0x24cf98(0x261)]===_0x24cf98(0x1a4)?_0x161a27=_0x3ff27e(_0x1f61c2,_0x2c03de):this[_0x24cf98(0x261)]==='arraybuffer'?_0x161a27=_0x107a0f(_0x3ff27e(_0x1f61c2,_0x2c03de)):this['_binaryType']===_0x24cf98(0x290)?_0x161a27=new Blob(_0x1f61c2):_0x161a27=_0x1f61c2,this[_0x24cf98(0x301)]?(this[_0x24cf98(0x287)](_0x24cf98(0x2b7),_0x161a27,!0x0),this[_0x24cf98(0x1f7)]=_0x258d02):(this[_0x24cf98(0x1f7)]=_0x116d7d,setImmediate(()=>{const _0x56bdb6=_0x24cf98;this[_0x56bdb6(0x287)](_0x56bdb6(0x2b7),_0x161a27,!0x0),this[_0x56bdb6(0x1f7)]=_0x258d02,this[_0x56bdb6(0x269)](_0x32537b);}));}else{const _0x4ef276=_0x3ff27e(_0x1f61c2,_0x2c03de);if(!this[_0x24cf98(0x2ab)]&&!_0x2139cc(_0x4ef276)){const _0x38f34d=this[_0x24cf98(0x2c2)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x24cf98(0x24c));_0x32537b(_0x38f34d);return;}this['_state']===_0x175d29||this[_0x24cf98(0x301)]?(this[_0x24cf98(0x287)](_0x24cf98(0x2b7),_0x4ef276,!0x1),this['_state']=_0x258d02):(this['_state']=_0x116d7d,setImmediate(()=>{const _0x24bcc5=_0x24cf98;this[_0x24bcc5(0x287)](_0x24bcc5(0x2b7),_0x4ef276,!0x1),this[_0x24bcc5(0x1f7)]=_0x258d02,this['startLoop'](_0x32537b);}));}}['controlMessage'](_0x11ced4,_0xcb1409){const _0x3f44f2=_0x35e70a;if(this[_0x3f44f2(0x2ec)]===0x8){if(_0x11ced4[_0x3f44f2(0x2e4)]===0x0)this[_0x3f44f2(0x292)]=!0x1,this[_0x3f44f2(0x287)](_0x3f44f2(0x1a5),0x3ed,_0x35f7e6),this[_0x3f44f2(0x1d8)]();else{const _0x408956=_0x11ced4[_0x3f44f2(0x2e9)](0x0);if(!_0x4697df(_0x408956)){const _0x160975=this[_0x3f44f2(0x2c2)](RangeError,_0x3f44f2(0x28c)+_0x408956,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xcb1409(_0x160975);return;}const _0xd60b5b=new _0x4cfcd1(_0x11ced4[_0x3f44f2(0x17c)],_0x11ced4[_0x3f44f2(0x1b9)]+0x2,_0x11ced4['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x2139cc(_0xd60b5b)){const _0x2547a3=this[_0x3f44f2(0x2c2)](Error,_0x3f44f2(0x1e5),!0x0,0x3ef,_0x3f44f2(0x24c));_0xcb1409(_0x2547a3);return;}this[_0x3f44f2(0x292)]=!0x1,this[_0x3f44f2(0x287)](_0x3f44f2(0x1a5),_0x408956,_0xd60b5b),this[_0x3f44f2(0x1d8)]();}this[_0x3f44f2(0x1f7)]=_0x258d02;return;}this[_0x3f44f2(0x301)]?(this[_0x3f44f2(0x287)](this[_0x3f44f2(0x2ec)]===0x9?_0x3f44f2(0x18d):_0x3f44f2(0x263),_0x11ced4),this[_0x3f44f2(0x1f7)]=_0x258d02):(this[_0x3f44f2(0x1f7)]=_0x116d7d,setImmediate(()=>{const _0x17ab57=_0x3f44f2;this[_0x17ab57(0x287)](this[_0x17ab57(0x2ec)]===0x9?_0x17ab57(0x18d):'pong',_0x11ced4),this[_0x17ab57(0x1f7)]=_0x258d02,this[_0x17ab57(0x269)](_0xcb1409);}));}[_0x35e70a(0x2c2)](_0x54456b,_0x477e3e,_0x3f1599,_0x1b41b3,_0x2dadf4){const _0x4a718f=_0x35e70a;this[_0x4a718f(0x292)]=!0x1,this[_0x4a718f(0x2b3)]=!0x0;const _0x4205c7=new _0x54456b(_0x3f1599?_0x4a718f(0x2f1)+_0x477e3e:_0x477e3e);return Error[_0x4a718f(0x1d6)](_0x4205c7,this['createError']),_0x4205c7[_0x4a718f(0x2b1)]=_0x2dadf4,_0x4205c7[_0xe04dae]=_0x1b41b3,_0x4205c7;}}return Se=_0x14855b,Se;}var Ee,et;function _t(){const _0x3ca4d3=_0x2be760;if(et)return Ee;et=0x1;const {Duplex:_0x33334a}=_0x19e32e,{randomFillSync:_0x1e2376}=_0x118541,_0x366165=he(),{EMPTY_BUFFER:_0x1fc98b,kWebSocket:_0xc8a080,NOOP:_0xa6acf7}=V(),{isBlob:_0x28cbd6,isValidStatusCode:_0x505241}=ne(),{mask:_0x31e8a4,toBuffer:_0x31c851}=ce(),_0xf76cc0=Symbol('kByteLength'),_0x3e424e=Buffer['alloc'](0x4),_0x572326=0x8*0x400;let _0x5cd548,_0x3e2475=_0x572326;const _0x4701eb=0x0,_0x9c5d89=0x1,_0x18c220=0x2;class _0x529387{constructor(_0x510653,_0xe2794f,_0x406faf){const _0x21f721=_0xd40e;this['_extensions']=_0xe2794f||{},_0x406faf&&(this[_0x21f721(0x1ba)]=_0x406faf,this[_0x21f721(0x164)]=Buffer[_0x21f721(0x197)](0x4)),this['_socket']=_0x510653,this[_0x21f721(0x29c)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x21f721(0x24d)]=[],this[_0x21f721(0x1f7)]=_0x4701eb,this['onerror']=_0xa6acf7,this[_0xc8a080]=void 0x0;}static['frame'](_0x298051,_0x177569){const _0xb76793=_0xd40e;let _0x2fe06c,_0x297b22=!0x1,_0xd1c043=0x2,_0x22652a=!0x1;_0x177569[_0xb76793(0x1a2)]&&(_0x2fe06c=_0x177569['maskBuffer']||_0x3e424e,_0x177569[_0xb76793(0x2cf)]?_0x177569['generateMask'](_0x2fe06c):(_0x3e2475===_0x572326&&(_0x5cd548===void 0x0&&(_0x5cd548=Buffer[_0xb76793(0x197)](_0x572326)),_0x1e2376(_0x5cd548,0x0,_0x572326),_0x3e2475=0x0),_0x2fe06c[0x0]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x1]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x2]=_0x5cd548[_0x3e2475++],_0x2fe06c[0x3]=_0x5cd548[_0x3e2475++]),_0x22652a=(_0x2fe06c[0x0]|_0x2fe06c[0x1]|_0x2fe06c[0x2]|_0x2fe06c[0x3])===0x0,_0xd1c043=0x6);let _0x3741a3;typeof _0x298051==_0xb76793(0x300)?(!_0x177569['mask']||_0x22652a)&&_0x177569[_0xf76cc0]!==void 0x0?_0x3741a3=_0x177569[_0xf76cc0]:(_0x298051=Buffer[_0xb76793(0x1e1)](_0x298051),_0x3741a3=_0x298051[_0xb76793(0x2e4)]):(_0x3741a3=_0x298051['length'],_0x297b22=_0x177569['mask']&&_0x177569[_0xb76793(0x1ce)]&&!_0x22652a);let _0x540cf3=_0x3741a3;_0x3741a3>=0x10000?(_0xd1c043+=0x8,_0x540cf3=0x7f):_0x3741a3>0x7d&&(_0xd1c043+=0x2,_0x540cf3=0x7e);const _0x3819e5=Buffer['allocUnsafe'](_0x297b22?_0x3741a3+_0xd1c043:_0xd1c043);return _0x3819e5[0x0]=_0x177569[_0xb76793(0x2f8)]?_0x177569[_0xb76793(0x260)]|0x80:_0x177569[_0xb76793(0x260)],_0x177569['rsv1']&&(_0x3819e5[0x0]|=0x40),_0x3819e5[0x1]=_0x540cf3,_0x540cf3===0x7e?_0x3819e5[_0xb76793(0x2d0)](_0x3741a3,0x2):_0x540cf3===0x7f&&(_0x3819e5[0x2]=_0x3819e5[0x3]=0x0,_0x3819e5['writeUIntBE'](_0x3741a3,0x4,0x6)),_0x177569[_0xb76793(0x1a2)]?(_0x3819e5[0x1]|=0x80,_0x3819e5[_0xd1c043-0x4]=_0x2fe06c[0x0],_0x3819e5[_0xd1c043-0x3]=_0x2fe06c[0x1],_0x3819e5[_0xd1c043-0x2]=_0x2fe06c[0x2],_0x3819e5[_0xd1c043-0x1]=_0x2fe06c[0x3],_0x22652a?[_0x3819e5,_0x298051]:_0x297b22?(_0x31e8a4(_0x298051,_0x2fe06c,_0x3819e5,_0xd1c043,_0x3741a3),[_0x3819e5]):(_0x31e8a4(_0x298051,_0x2fe06c,_0x298051,0x0,_0x3741a3),[_0x3819e5,_0x298051])):[_0x3819e5,_0x298051];}['close'](_0x3a83ed,_0x342089,_0x210721,_0x40b022){const _0x35de17=_0xd40e;let _0xda4011;if(_0x3a83ed===void 0x0)_0xda4011=_0x1fc98b;else{if(typeof _0x3a83ed!='number'||!_0x505241(_0x3a83ed))throw new TypeError(_0x35de17(0x198));if(_0x342089===void 0x0||!_0x342089[_0x35de17(0x2e4)])_0xda4011=Buffer[_0x35de17(0x29e)](0x2),_0xda4011[_0x35de17(0x2d0)](_0x3a83ed,0x0);else{const _0x5c06e5=Buffer[_0x35de17(0x1f9)](_0x342089);if(_0x5c06e5>0x7b)throw new RangeError(_0x35de17(0x2e5));_0xda4011=Buffer[_0x35de17(0x29e)](0x2+_0x5c06e5),_0xda4011[_0x35de17(0x2d0)](_0x3a83ed,0x0),typeof _0x342089=='string'?_0xda4011[_0x35de17(0x2d7)](_0x342089,0x2):_0xda4011[_0x35de17(0x2a5)](_0x342089,0x2);}}const _0x2a022b={[_0xf76cc0]:_0xda4011[_0x35de17(0x2e4)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x210721,'maskBuffer':this[_0x35de17(0x164)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x35de17(0x1f7)]!==_0x4701eb?this[_0x35de17(0x309)]([this['dispatch'],_0xda4011,!0x1,_0x2a022b,_0x40b022]):this[_0x35de17(0x2ff)](_0x529387['frame'](_0xda4011,_0x2a022b),_0x40b022);}[_0x3ca4d3(0x18d)](_0x51a287,_0x3e183f,_0x5864ce){const _0x2f5d0d=_0x3ca4d3;let _0x137555,_0x27dfa7;if(typeof _0x51a287==_0x2f5d0d(0x300)?(_0x137555=Buffer[_0x2f5d0d(0x1f9)](_0x51a287),_0x27dfa7=!0x1):_0x28cbd6(_0x51a287)?(_0x137555=_0x51a287[_0x2f5d0d(0x2ad)],_0x27dfa7=!0x1):(_0x51a287=_0x31c851(_0x51a287),_0x137555=_0x51a287[_0x2f5d0d(0x2e4)],_0x27dfa7=_0x31c851[_0x2f5d0d(0x1ce)]),_0x137555>0x7d)throw new RangeError(_0x2f5d0d(0x1de));const _0x63c60c={[_0xf76cc0]:_0x137555,'fin':!0x0,'generateMask':this[_0x2f5d0d(0x1ba)],'mask':_0x3e183f,'maskBuffer':this[_0x2f5d0d(0x164)],'opcode':0x9,'readOnly':_0x27dfa7,'rsv1':!0x1};_0x28cbd6(_0x51a287)?this[_0x2f5d0d(0x1f7)]!==_0x4701eb?this['enqueue']([this[_0x2f5d0d(0x22a)],_0x51a287,!0x1,_0x63c60c,_0x5864ce]):this[_0x2f5d0d(0x22a)](_0x51a287,!0x1,_0x63c60c,_0x5864ce):this[_0x2f5d0d(0x1f7)]!==_0x4701eb?this[_0x2f5d0d(0x309)]([this['dispatch'],_0x51a287,!0x1,_0x63c60c,_0x5864ce]):this[_0x2f5d0d(0x2ff)](_0x529387[_0x2f5d0d(0x191)](_0x51a287,_0x63c60c),_0x5864ce);}['pong'](_0x757a03,_0x5b571e,_0x103de3){const _0x45d5f1=_0x3ca4d3;let _0x12a2df,_0xb2855f;if(typeof _0x757a03==_0x45d5f1(0x300)?(_0x12a2df=Buffer[_0x45d5f1(0x1f9)](_0x757a03),_0xb2855f=!0x1):_0x28cbd6(_0x757a03)?(_0x12a2df=_0x757a03[_0x45d5f1(0x2ad)],_0xb2855f=!0x1):(_0x757a03=_0x31c851(_0x757a03),_0x12a2df=_0x757a03[_0x45d5f1(0x2e4)],_0xb2855f=_0x31c851['readOnly']),_0x12a2df>0x7d)throw new RangeError(_0x45d5f1(0x1de));const _0x5d402e={[_0xf76cc0]:_0x12a2df,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5b571e,'maskBuffer':this[_0x45d5f1(0x164)],'opcode':0xa,'readOnly':_0xb2855f,'rsv1':!0x1};_0x28cbd6(_0x757a03)?this[_0x45d5f1(0x1f7)]!==_0x4701eb?this['enqueue']([this[_0x45d5f1(0x22a)],_0x757a03,!0x1,_0x5d402e,_0x103de3]):this[_0x45d5f1(0x22a)](_0x757a03,!0x1,_0x5d402e,_0x103de3):this[_0x45d5f1(0x1f7)]!==_0x4701eb?this[_0x45d5f1(0x309)]([this[_0x45d5f1(0x2f6)],_0x757a03,!0x1,_0x5d402e,_0x103de3]):this[_0x45d5f1(0x2ff)](_0x529387[_0x45d5f1(0x191)](_0x757a03,_0x5d402e),_0x103de3);}[_0x3ca4d3(0x1b2)](_0x30b249,_0x4468c7,_0x6ee22e){const _0x5342a8=_0x3ca4d3,_0xc9265e=this[_0x5342a8(0x25d)][_0x366165['extensionName']];let _0x1d6280=_0x4468c7[_0x5342a8(0x1a8)]?0x2:0x1,_0x74660a=_0x4468c7['compress'],_0x1d3c8b,_0x384f1b;typeof _0x30b249==_0x5342a8(0x300)?(_0x1d3c8b=Buffer[_0x5342a8(0x1f9)](_0x30b249),_0x384f1b=!0x1):_0x28cbd6(_0x30b249)?(_0x1d3c8b=_0x30b249['size'],_0x384f1b=!0x1):(_0x30b249=_0x31c851(_0x30b249),_0x1d3c8b=_0x30b249[_0x5342a8(0x2e4)],_0x384f1b=_0x31c851[_0x5342a8(0x1ce)]),this['_firstFragment']?(this[_0x5342a8(0x29c)]=!0x1,_0x74660a&&_0xc9265e&&_0xc9265e['params'][_0xc9265e[_0x5342a8(0x221)]?_0x5342a8(0x2ce):_0x5342a8(0x27a)]&&(_0x74660a=_0x1d3c8b>=_0xc9265e[_0x5342a8(0x20b)]),this[_0x5342a8(0x182)]=_0x74660a):(_0x74660a=!0x1,_0x1d6280=0x0),_0x4468c7[_0x5342a8(0x2f8)]&&(this[_0x5342a8(0x29c)]=!0x0);const _0x58945f={[_0xf76cc0]:_0x1d3c8b,'fin':_0x4468c7[_0x5342a8(0x2f8)],'generateMask':this[_0x5342a8(0x1ba)],'mask':_0x4468c7[_0x5342a8(0x1a2)],'maskBuffer':this['_maskBuffer'],'opcode':_0x1d6280,'readOnly':_0x384f1b,'rsv1':_0x74660a};_0x28cbd6(_0x30b249)?this[_0x5342a8(0x1f7)]!==_0x4701eb?this[_0x5342a8(0x309)]([this['getBlobData'],_0x30b249,this['_compress'],_0x58945f,_0x6ee22e]):this[_0x5342a8(0x22a)](_0x30b249,this[_0x5342a8(0x182)],_0x58945f,_0x6ee22e):this[_0x5342a8(0x1f7)]!==_0x4701eb?this[_0x5342a8(0x309)]([this[_0x5342a8(0x2f6)],_0x30b249,this['_compress'],_0x58945f,_0x6ee22e]):this[_0x5342a8(0x2f6)](_0x30b249,this[_0x5342a8(0x182)],_0x58945f,_0x6ee22e);}[_0x3ca4d3(0x22a)](_0x16fad2,_0xfa2daa,_0x286862,_0x5c62f6){const _0x1e081a=_0x3ca4d3;this[_0x1e081a(0x259)]+=_0x286862[_0xf76cc0],this[_0x1e081a(0x1f7)]=_0x18c220,_0x16fad2[_0x1e081a(0x18e)]()['then'](_0x59bfb7=>{const _0x100074=_0x1e081a;if(this['_socket'][_0x100074(0x192)]){const _0x2dbedc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x4b2cee,this,_0x2dbedc,_0x5c62f6);return;}this[_0x100074(0x259)]-=_0x286862[_0xf76cc0];const _0x4fc029=_0x31c851(_0x59bfb7);_0xfa2daa?this[_0x100074(0x2f6)](_0x4fc029,_0xfa2daa,_0x286862,_0x5c62f6):(this['_state']=_0x4701eb,this[_0x100074(0x2ff)](_0x529387['frame'](_0x4fc029,_0x286862),_0x5c62f6),this[_0x100074(0x1dc)]());})[_0x1e081a(0x1cd)](_0xea4a1a=>{const _0x17ced4=_0x1e081a;process[_0x17ced4(0x2b0)](_0x5e3cd1,this,_0xea4a1a,_0x5c62f6);});}[_0x3ca4d3(0x2f6)](_0x19681f,_0x585321,_0x2dac56,_0x53dbe2){const _0x494044=_0x3ca4d3;if(!_0x585321){this['sendFrame'](_0x529387[_0x494044(0x191)](_0x19681f,_0x2dac56),_0x53dbe2);return;}const _0x56269c=this[_0x494044(0x25d)][_0x366165[_0x494044(0x289)]];this[_0x494044(0x259)]+=_0x2dac56[_0xf76cc0],this['_state']=_0x9c5d89,_0x56269c['compress'](_0x19681f,_0x2dac56[_0x494044(0x2f8)],(_0x15c8eb,_0x3d8c0b)=>{const _0x3b24c5=_0x494044;if(this[_0x3b24c5(0x2ed)][_0x3b24c5(0x192)]){const _0x9750bc=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4b2cee(this,_0x9750bc,_0x53dbe2);return;}this[_0x3b24c5(0x259)]-=_0x2dac56[_0xf76cc0],this[_0x3b24c5(0x1f7)]=_0x4701eb,_0x2dac56['readOnly']=!0x1,this[_0x3b24c5(0x2ff)](_0x529387[_0x3b24c5(0x191)](_0x3d8c0b,_0x2dac56),_0x53dbe2),this[_0x3b24c5(0x1dc)]();});}[_0x3ca4d3(0x1dc)](){const _0x2cb47b=_0x3ca4d3;for(;this[_0x2cb47b(0x1f7)]===_0x4701eb&&this[_0x2cb47b(0x24d)][_0x2cb47b(0x2e4)];){const _0x400a06=this[_0x2cb47b(0x24d)][_0x2cb47b(0x2f9)]();this[_0x2cb47b(0x259)]-=_0x400a06[0x3][_0xf76cc0],Reflect[_0x2cb47b(0x26a)](_0x400a06[0x0],this,_0x400a06[_0x2cb47b(0x30e)](0x1));}}['enqueue'](_0x43cf41){const _0x2db549=_0x3ca4d3;this[_0x2db549(0x259)]+=_0x43cf41[0x3][_0xf76cc0],this[_0x2db549(0x24d)]['push'](_0x43cf41);}['sendFrame'](_0x6a4f5b,_0x1ad3d5){const _0xaee9f7=_0x3ca4d3;_0x6a4f5b['length']===0x2?(this[_0xaee9f7(0x2ed)]['cork'](),this['_socket'][_0xaee9f7(0x2d7)](_0x6a4f5b[0x0]),this[_0xaee9f7(0x2ed)][_0xaee9f7(0x2d7)](_0x6a4f5b[0x1],_0x1ad3d5),this[_0xaee9f7(0x2ed)]['uncork']()):this['_socket']['write'](_0x6a4f5b[0x0],_0x1ad3d5);}}Ee=_0x529387;function _0x4b2cee(_0x497336,_0x4e40a8,_0x3a3f52){const _0x994545=_0x3ca4d3;typeof _0x3a3f52==_0x994545(0x20a)&&_0x3a3f52(_0x4e40a8);for(let _0x1d37dc=0x0;_0x1d37dc<_0x497336[_0x994545(0x24d)][_0x994545(0x2e4)];_0x1d37dc++){const _0x3d667f=_0x497336[_0x994545(0x24d)][_0x1d37dc],_0x44fc31=_0x3d667f[_0x3d667f[_0x994545(0x2e4)]-0x1];typeof _0x44fc31=='function'&&_0x44fc31(_0x4e40a8);}}function _0x5e3cd1(_0x26fa50,_0x244b20,_0x51c3c0){const _0x555323=_0x3ca4d3;_0x4b2cee(_0x26fa50,_0x244b20,_0x51c3c0),_0x26fa50[_0x555323(0x210)](_0x244b20);}return Ee;}var xe,tt;function Kt(){const _0x19e46d=_0x2be760;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x513f77,kListener:_0x502f43}=V(),_0x5c0295=Symbol(_0x19e46d(0x2e7)),_0x53d162=Symbol(_0x19e46d(0x165)),_0x579150=Symbol(_0x19e46d(0x189)),_0x4ec48c=Symbol(_0x19e46d(0x2c6)),_0x451f36=Symbol(_0x19e46d(0x1e7)),_0x1612a0=Symbol(_0x19e46d(0x19e)),_0xbf8b28=Symbol(_0x19e46d(0x2fa)),_0x502771=Symbol(_0x19e46d(0x25a));class _0x20a36f{constructor(_0x293694){this[_0x1612a0]=null,this[_0xbf8b28]=_0x293694;}get[_0x19e46d(0x209)](){return this[_0x1612a0];}get[_0x19e46d(0x2d1)](){return this[_0xbf8b28];}}Object[_0x19e46d(0x27f)](_0x20a36f[_0x19e46d(0x208)],'target',{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x20a36f[_0x19e46d(0x208)],_0x19e46d(0x2d1),{'enumerable':!0x0});class _0x36f753 extends _0x20a36f{constructor(_0x51f07a,_0x562439={}){const _0x2ad0fa=_0x19e46d;super(_0x51f07a),this[_0x5c0295]=_0x562439[_0x2ad0fa(0x2b1)]===void 0x0?0x0:_0x562439['code'],this[_0x451f36]=_0x562439['reason']===void 0x0?'':_0x562439[_0x2ad0fa(0x303)],this[_0x502771]=_0x562439[_0x2ad0fa(0x203)]===void 0x0?!0x1:_0x562439[_0x2ad0fa(0x203)];}get[_0x19e46d(0x2b1)](){return this[_0x5c0295];}get[_0x19e46d(0x303)](){return this[_0x451f36];}get[_0x19e46d(0x203)](){return this[_0x502771];}}Object[_0x19e46d(0x27f)](_0x36f753[_0x19e46d(0x208)],_0x19e46d(0x2b1),{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x36f753[_0x19e46d(0x208)],_0x19e46d(0x303),{'enumerable':!0x0}),Object['defineProperty'](_0x36f753[_0x19e46d(0x208)],'wasClean',{'enumerable':!0x0});class _0x549a86 extends _0x20a36f{constructor(_0x267cce,_0x5137ed={}){const _0x4252d9=_0x19e46d;super(_0x267cce),this[_0x579150]=_0x5137ed[_0x4252d9(0x2ca)]===void 0x0?null:_0x5137ed[_0x4252d9(0x2ca)],this[_0x4ec48c]=_0x5137ed[_0x4252d9(0x2b7)]===void 0x0?'':_0x5137ed[_0x4252d9(0x2b7)];}get[_0x19e46d(0x2ca)](){return this[_0x579150];}get[_0x19e46d(0x2b7)](){return this[_0x4ec48c];}}Object[_0x19e46d(0x27f)](_0x549a86['prototype'],'error',{'enumerable':!0x0}),Object[_0x19e46d(0x27f)](_0x549a86[_0x19e46d(0x208)],_0x19e46d(0x2b7),{'enumerable':!0x0});class _0x1c1160 extends _0x20a36f{constructor(_0x1e79c3,_0xfc5cd1={}){super(_0x1e79c3),this[_0x53d162]=_0xfc5cd1['data']===void 0x0?null:_0xfc5cd1['data'];}get[_0x19e46d(0x2a1)](){return this[_0x53d162];}}Object[_0x19e46d(0x27f)](_0x1c1160[_0x19e46d(0x208)],_0x19e46d(0x2a1),{'enumerable':!0x0}),xe={'CloseEvent':_0x36f753,'ErrorEvent':_0x549a86,'Event':_0x20a36f,'EventTarget':{'addEventListener'(_0x5747fe,_0x1ac2f6,_0x1c402c={}){const _0x315f8f=_0x19e46d;for(const _0x5438de of this[_0x315f8f(0x307)](_0x5747fe))if(!_0x1c402c[_0x513f77]&&_0x5438de[_0x502f43]===_0x1ac2f6&&!_0x5438de[_0x513f77])return;let _0x57eb9d;if(_0x5747fe===_0x315f8f(0x2b7))_0x57eb9d=function(_0x347429,_0x4d6ee7){const _0x4ed18a=_0x315f8f,_0x397cc9=new _0x1c1160(_0x4ed18a(0x2b7),{'data':_0x4d6ee7?_0x347429:_0x347429['toString']()});_0x397cc9[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x397cc9);};else{if(_0x5747fe===_0x315f8f(0x163))_0x57eb9d=function(_0x1c67d5,_0x3b7da0){const _0x385ce4=_0x315f8f,_0x57f1fc=new _0x36f753(_0x385ce4(0x163),{'code':_0x1c67d5,'reason':_0x3b7da0['toString'](),'wasClean':this[_0x385ce4(0x262)]&&this[_0x385ce4(0x223)]});_0x57f1fc[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x57f1fc);};else{if(_0x5747fe===_0x315f8f(0x2ca))_0x57eb9d=function(_0x32f79d){const _0x1742e6=_0x315f8f,_0x43167c=new _0x549a86(_0x1742e6(0x2ca),{'error':_0x32f79d,'message':_0x32f79d[_0x1742e6(0x2b7)]});_0x43167c[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x43167c);};else{if(_0x5747fe==='open')_0x57eb9d=function(){const _0x496fcb=_0x315f8f,_0x137a54=new _0x20a36f(_0x496fcb(0x217));_0x137a54[_0x1612a0]=this,_0x172f73(_0x1ac2f6,this,_0x137a54);};else return;}}}_0x57eb9d[_0x513f77]=!!_0x1c402c[_0x513f77],_0x57eb9d[_0x502f43]=_0x1ac2f6,_0x1c402c['once']?this[_0x315f8f(0x2ef)](_0x5747fe,_0x57eb9d):this['on'](_0x5747fe,_0x57eb9d);},'removeEventListener'(_0x590663,_0x4e2227){const _0xd649d4=_0x19e46d;for(const _0x2e41d1 of this[_0xd649d4(0x307)](_0x590663))if(_0x2e41d1[_0x502f43]===_0x4e2227&&!_0x2e41d1[_0x513f77]){this[_0xd649d4(0x2d3)](_0x590663,_0x2e41d1);break;}}},'MessageEvent':_0x1c1160};function _0x172f73(_0x375482,_0x2673b3,_0x177789){const _0x5c3496=_0x19e46d;typeof _0x375482==_0x5c3496(0x268)&&_0x375482['handleEvent']?_0x375482[_0x5c3496(0x27d)][_0x5c3496(0x297)](_0x375482,_0x177789):_0x375482[_0x5c3496(0x297)](_0x2673b3,_0x177789);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4fbd86}=ne();function _0x167efa(_0x92193b,_0x3fcd15,_0x22fd83){const _0x4ef22c=_0xd40e;_0x92193b[_0x3fcd15]===void 0x0?_0x92193b[_0x3fcd15]=[_0x22fd83]:_0x92193b[_0x3fcd15][_0x4ef22c(0x2ae)](_0x22fd83);}function _0x2ebf70(_0x3d7862){const _0x305172=_0xd40e,_0x7ae6d7=Object['create'](null);let _0x4094c8=Object[_0x305172(0x29d)](null),_0xfad1aa=!0x1,_0x2d5db0=!0x1,_0x534e2e=!0x1,_0x3a2400,_0x31a169,_0x4eec5b=-0x1,_0x57cf52=-0x1,_0x229a30=-0x1,_0x12bf33=0x0;for(;_0x12bf33<_0x3d7862[_0x305172(0x2e4)];_0x12bf33++)if(_0x57cf52=_0x3d7862[_0x305172(0x267)](_0x12bf33),_0x3a2400===void 0x0){if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x12bf33!==0x0&&(_0x57cf52===0x20||_0x57cf52===0x9))_0x229a30===-0x1&&_0x4eec5b!==-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33);const _0x37228e=_0x3d7862['slice'](_0x4eec5b,_0x229a30);_0x57cf52===0x2c?(_0x167efa(_0x7ae6d7,_0x37228e,_0x4094c8),_0x4094c8=Object['create'](null)):_0x3a2400=_0x37228e,_0x4eec5b=_0x229a30=-0x1;}else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}else{if(_0x31a169===void 0x0){if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x57cf52===0x20||_0x57cf52===0x9)_0x229a30===-0x1&&_0x4eec5b!==-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33),_0x167efa(_0x4094c8,_0x3d7862['slice'](_0x4eec5b,_0x229a30),!0x0),_0x57cf52===0x2c&&(_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8),_0x4094c8=Object[_0x305172(0x29d)](null),_0x3a2400=void 0x0),_0x4eec5b=_0x229a30=-0x1;}else{if(_0x57cf52===0x3d&&_0x4eec5b!==-0x1&&_0x229a30===-0x1)_0x31a169=_0x3d7862[_0x305172(0x30e)](_0x4eec5b,_0x12bf33),_0x4eec5b=_0x229a30=-0x1;else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}}else{if(_0x2d5db0){if(_0x4fbd86[_0x57cf52]!==0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x4eec5b===-0x1?_0x4eec5b=_0x12bf33:_0xfad1aa||(_0xfad1aa=!0x0),_0x2d5db0=!0x1;}else{if(_0x534e2e){if(_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x57cf52===0x22&&_0x4eec5b!==-0x1)_0x534e2e=!0x1,_0x229a30=_0x12bf33;else{if(_0x57cf52===0x5c)_0x2d5db0=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12bf33);}}}else{if(_0x57cf52===0x22&&_0x3d7862[_0x305172(0x267)](_0x12bf33-0x1)===0x3d)_0x534e2e=!0x0;else{if(_0x229a30===-0x1&&_0x4fbd86[_0x57cf52]===0x1)_0x4eec5b===-0x1&&(_0x4eec5b=_0x12bf33);else{if(_0x4eec5b!==-0x1&&(_0x57cf52===0x20||_0x57cf52===0x9))_0x229a30===-0x1&&(_0x229a30=_0x12bf33);else{if(_0x57cf52===0x3b||_0x57cf52===0x2c){if(_0x4eec5b===-0x1)throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);_0x229a30===-0x1&&(_0x229a30=_0x12bf33);let _0x56743b=_0x3d7862['slice'](_0x4eec5b,_0x229a30);_0xfad1aa&&(_0x56743b=_0x56743b['replace'](/\\/g,''),_0xfad1aa=!0x1),_0x167efa(_0x4094c8,_0x31a169,_0x56743b),_0x57cf52===0x2c&&(_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8),_0x4094c8=Object[_0x305172(0x29d)](null),_0x3a2400=void 0x0),_0x31a169=void 0x0,_0x4eec5b=_0x229a30=-0x1;}else throw new SyntaxError(_0x305172(0x2b2)+_0x12bf33);}}}}}}}if(_0x4eec5b===-0x1||_0x534e2e||_0x57cf52===0x20||_0x57cf52===0x9)throw new SyntaxError(_0x305172(0x2cc));_0x229a30===-0x1&&(_0x229a30=_0x12bf33);const _0x517d6c=_0x3d7862['slice'](_0x4eec5b,_0x229a30);return _0x3a2400===void 0x0?_0x167efa(_0x7ae6d7,_0x517d6c,_0x4094c8):(_0x31a169===void 0x0?_0x167efa(_0x4094c8,_0x517d6c,!0x0):_0xfad1aa?_0x167efa(_0x4094c8,_0x31a169,_0x517d6c[_0x305172(0x28e)](/\\/g,'')):_0x167efa(_0x4094c8,_0x31a169,_0x517d6c),_0x167efa(_0x7ae6d7,_0x3a2400,_0x4094c8)),_0x7ae6d7;}function _0x271f05(_0x1c8e7d){const _0x541e5d=_0xd40e;return Object['keys'](_0x1c8e7d)[_0x541e5d(0x2a4)](_0x31c238=>{const _0x5e0c1a=_0x541e5d;let _0x106ba6=_0x1c8e7d[_0x31c238];return Array[_0x5e0c1a(0x23d)](_0x106ba6)||(_0x106ba6=[_0x106ba6]),_0x106ba6[_0x5e0c1a(0x2a4)](_0x19b713=>[_0x31c238][_0x5e0c1a(0x17d)](Object[_0x5e0c1a(0x22e)](_0x19b713)['map'](_0x2bb23a=>{const _0x6cc88a=_0x5e0c1a;let _0x271289=_0x19b713[_0x2bb23a];return Array[_0x6cc88a(0x23d)](_0x271289)||(_0x271289=[_0x271289]),_0x271289['map'](_0x51d968=>_0x51d968===!0x0?_0x2bb23a:_0x2bb23a+'='+_0x51d968)[_0x6cc88a(0x170)](';\x20');}))[_0x5e0c1a(0x170)](';\x20'))[_0x5e0c1a(0x170)](',\x20');})[_0x541e5d(0x170)](',\x20');}return be={'format':_0x271f05,'parse':_0x2ebf70},be;}var we,st;function Ie(){const _0x2367f=_0x2be760;if(st)return we;st=0x1;const _0x561769=_0x425d08,_0x1d1662=_0x3d505,_0x560c78=_0x3b26bc,_0x470fc6=_0x2a7499,_0x2db167=_0x58a5a6,{randomBytes:_0x351efa,createHash:_0x401174}=_0x118541,{Duplex:_0xd8ec9e,Readable:_0x20e1b2}=_0x19e32e,{URL:_0x4e6785}=_0xfc2042,_0x57843c=he(),_0x1cc447=dt(),_0x573d7b=_t(),{isBlob:_0x188524}=ne(),{BINARY_TYPES:_0x3854f0,EMPTY_BUFFER:_0x57fcb2,GUID:_0x5d4ff1,kForOnEventAttribute:_0x1a41e5,kListener:_0x4c4016,kStatusCode:_0x5fb1d3,kWebSocket:_0x3c7f9c,NOOP:_0xc0d57f}=V(),{EventTarget:{addEventListener:_0x441d39,removeEventListener:_0xf5b9c6}}=Kt(),{format:_0x228e1e,parse:_0x256ae8}=pt(),{toBuffer:_0x514936}=ce(),_0x16c5bf=0x1e*0x3e8,_0x3eb56b=Symbol('kAborted'),_0x2ebb1f=[0x8,0xd],_0x3ef35e=[_0x2367f(0x24a),'OPEN',_0x2367f(0x2be),_0x2367f(0x26c)],_0x5c072d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b3fc7 extends _0x561769{constructor(_0x5c298b,_0x115633,_0x35d7d3){const _0x42b2a1=_0x2367f;super(),this['_binaryType']=_0x3854f0[0x0],this[_0x42b2a1(0x2bc)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x42b2a1(0x223)]=!0x1,this[_0x42b2a1(0x243)]=_0x57fcb2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x42b2a1(0x25d)]={},this[_0x42b2a1(0x254)]=!0x1,this['_protocol']='',this[_0x42b2a1(0x1d7)]=_0x3b3fc7[_0x42b2a1(0x24a)],this['_receiver']=null,this[_0x42b2a1(0x188)]=null,this[_0x42b2a1(0x2ed)]=null,_0x5c298b!==null?(this[_0x42b2a1(0x276)]=0x0,this[_0x42b2a1(0x221)]=!0x1,this[_0x42b2a1(0x314)]=0x0,_0x115633===void 0x0?_0x115633=[]:Array['isArray'](_0x115633)||(typeof _0x115633=='object'&&_0x115633!==null?(_0x35d7d3=_0x115633,_0x115633=[]):_0x115633=[_0x115633]),_0x5474e6(this,_0x5c298b,_0x115633,_0x35d7d3)):(this['_autoPong']=_0x35d7d3[_0x42b2a1(0x2f0)],this[_0x42b2a1(0x221)]=!0x0);}get[_0x2367f(0x205)](){return this['_binaryType'];}set[_0x2367f(0x205)](_0x59db79){const _0x1f2519=_0x2367f;_0x3854f0['includes'](_0x59db79)&&(this[_0x1f2519(0x261)]=_0x59db79,this[_0x1f2519(0x2d6)]&&(this['_receiver'][_0x1f2519(0x261)]=_0x59db79));}get['bufferedAmount'](){const _0x2c8a36=_0x2367f;return this[_0x2c8a36(0x2ed)]?this[_0x2c8a36(0x2ed)]['_writableState']['length']+this[_0x2c8a36(0x188)][_0x2c8a36(0x259)]:this[_0x2c8a36(0x276)];}get[_0x2367f(0x312)](){const _0x2f1e24=_0x2367f;return Object[_0x2f1e24(0x22e)](this[_0x2f1e24(0x25d)])[_0x2f1e24(0x170)]();}get['isPaused'](){return this['_paused'];}get[_0x2367f(0x168)](){return null;}get[_0x2367f(0x210)](){return null;}get[_0x2367f(0x16d)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x2367f(0x2e8)](){const _0x445857=_0x2367f;return this[_0x445857(0x1d7)];}get[_0x2367f(0x271)](){const _0x328f80=_0x2367f;return this[_0x328f80(0x1e6)];}[_0x2367f(0x28b)](_0x9ac94e,_0x213fe1,_0x43f0ba){const _0x5c71a1=_0x2367f,_0x53dc59=new _0x1cc447({'allowSynchronousEvents':_0x43f0ba[_0x5c71a1(0x313)],'binaryType':this['binaryType'],'extensions':this['_extensions'],'isServer':this[_0x5c71a1(0x221)],'maxPayload':_0x43f0ba[_0x5c71a1(0x1ef)],'skipUTF8Validation':_0x43f0ba[_0x5c71a1(0x288)]}),_0x16e6cd=new _0x573d7b(_0x9ac94e,this[_0x5c71a1(0x25d)],_0x43f0ba[_0x5c71a1(0x2cf)]);this[_0x5c71a1(0x2d6)]=_0x53dc59,this[_0x5c71a1(0x188)]=_0x16e6cd,this[_0x5c71a1(0x2ed)]=_0x9ac94e,_0x53dc59[_0x3c7f9c]=this,_0x16e6cd[_0x3c7f9c]=this,_0x9ac94e[_0x3c7f9c]=this,_0x53dc59['on'](_0x5c71a1(0x1a5),_0x55891f),_0x53dc59['on'](_0x5c71a1(0x1cc),_0x1b5fb5),_0x53dc59['on'](_0x5c71a1(0x2ca),_0x994c4f),_0x53dc59['on'](_0x5c71a1(0x2b7),_0x531219),_0x53dc59['on']('ping',_0x318c58),_0x53dc59['on'](_0x5c71a1(0x263),_0x4553e2),_0x16e6cd[_0x5c71a1(0x210)]=_0x51a017,_0x9ac94e['setTimeout']&&_0x9ac94e[_0x5c71a1(0x1cf)](0x0),_0x9ac94e['setNoDelay']&&_0x9ac94e[_0x5c71a1(0x1ae)](),_0x213fe1[_0x5c71a1(0x2e4)]>0x0&&_0x9ac94e[_0x5c71a1(0x2ba)](_0x213fe1),_0x9ac94e['on'](_0x5c71a1(0x163),_0x16b066),_0x9ac94e['on'](_0x5c71a1(0x2a1),_0x37dfa9),_0x9ac94e['on'](_0x5c71a1(0x1d8),_0x332ca1),_0x9ac94e['on'](_0x5c71a1(0x2ca),_0x1e72f6),this[_0x5c71a1(0x1d7)]=_0x3b3fc7['OPEN'],this[_0x5c71a1(0x287)](_0x5c71a1(0x217));}[_0x2367f(0x2a6)](){const _0x6cd093=_0x2367f;if(!this[_0x6cd093(0x2ed)]){this[_0x6cd093(0x1d7)]=_0x3b3fc7[_0x6cd093(0x26c)],this[_0x6cd093(0x287)]('close',this['_closeCode'],this[_0x6cd093(0x243)]);return;}this[_0x6cd093(0x25d)][_0x57843c[_0x6cd093(0x289)]]&&this['_extensions'][_0x57843c[_0x6cd093(0x289)]][_0x6cd093(0x1bb)](),this[_0x6cd093(0x2d6)][_0x6cd093(0x178)](),this[_0x6cd093(0x1d7)]=_0x3b3fc7[_0x6cd093(0x26c)],this[_0x6cd093(0x287)](_0x6cd093(0x163),this[_0x6cd093(0x2bc)],this[_0x6cd093(0x243)]);}[_0x2367f(0x163)](_0x38c2df,_0x12636d){const _0x156f0a=_0x2367f;if(this[_0x156f0a(0x2e8)]!==_0x3b3fc7[_0x156f0a(0x26c)]){if(this[_0x156f0a(0x2e8)]===_0x3b3fc7['CONNECTING']){_0x56f50c(this,this[_0x156f0a(0x1dd)],_0x156f0a(0x2cd));return;}if(this[_0x156f0a(0x2e8)]===_0x3b3fc7[_0x156f0a(0x2be)]){this['_closeFrameSent']&&(this[_0x156f0a(0x262)]||this[_0x156f0a(0x2d6)][_0x156f0a(0x1ed)][_0x156f0a(0x204)])&&this[_0x156f0a(0x2ed)][_0x156f0a(0x1d8)]();return;}this['_readyState']=_0x3b3fc7[_0x156f0a(0x2be)],this[_0x156f0a(0x188)][_0x156f0a(0x163)](_0x38c2df,_0x12636d,!this[_0x156f0a(0x221)],_0x588d22=>{const _0x551988=_0x156f0a;_0x588d22||(this['_closeFrameSent']=!0x0,(this[_0x551988(0x262)]||this[_0x551988(0x2d6)][_0x551988(0x1ed)][_0x551988(0x204)])&&this[_0x551988(0x2ed)][_0x551988(0x1d8)]());}),_0xe1934e(this);}}[_0x2367f(0x2b9)](){const _0x4d991e=_0x2367f;this[_0x4d991e(0x2e8)]===_0x3b3fc7[_0x4d991e(0x24a)]||this['readyState']===_0x3b3fc7[_0x4d991e(0x26c)]||(this[_0x4d991e(0x254)]=!0x0,this[_0x4d991e(0x2ed)]['pause']());}[_0x2367f(0x18d)](_0x5e729c,_0x480b5e,_0x352111){const _0xac4c7=_0x2367f;if(this[_0xac4c7(0x2e8)]===_0x3b3fc7['CONNECTING'])throw new Error(_0xac4c7(0x293));if(typeof _0x5e729c=='function'?(_0x352111=_0x5e729c,_0x5e729c=_0x480b5e=void 0x0):typeof _0x480b5e==_0xac4c7(0x20a)&&(_0x352111=_0x480b5e,_0x480b5e=void 0x0),typeof _0x5e729c==_0xac4c7(0x273)&&(_0x5e729c=_0x5e729c['toString']()),this[_0xac4c7(0x2e8)]!==_0x3b3fc7[_0xac4c7(0x274)]){_0x2a2d0f(this,_0x5e729c,_0x352111);return;}_0x480b5e===void 0x0&&(_0x480b5e=!this[_0xac4c7(0x221)]),this['_sender'][_0xac4c7(0x18d)](_0x5e729c||_0x57fcb2,_0x480b5e,_0x352111);}[_0x2367f(0x263)](_0x3ad6df,_0x13b7b0,_0x3abac7){const _0x20367a=_0x2367f;if(this[_0x20367a(0x2e8)]===_0x3b3fc7[_0x20367a(0x24a)])throw new Error(_0x20367a(0x293));if(typeof _0x3ad6df==_0x20367a(0x20a)?(_0x3abac7=_0x3ad6df,_0x3ad6df=_0x13b7b0=void 0x0):typeof _0x13b7b0==_0x20367a(0x20a)&&(_0x3abac7=_0x13b7b0,_0x13b7b0=void 0x0),typeof _0x3ad6df==_0x20367a(0x273)&&(_0x3ad6df=_0x3ad6df[_0x20367a(0x2aa)]()),this[_0x20367a(0x2e8)]!==_0x3b3fc7['OPEN']){_0x2a2d0f(this,_0x3ad6df,_0x3abac7);return;}_0x13b7b0===void 0x0&&(_0x13b7b0=!this[_0x20367a(0x221)]),this[_0x20367a(0x188)][_0x20367a(0x263)](_0x3ad6df||_0x57fcb2,_0x13b7b0,_0x3abac7);}['resume'](){const _0x2156f7=_0x2367f;this['readyState']===_0x3b3fc7[_0x2156f7(0x24a)]||this[_0x2156f7(0x2e8)]===_0x3b3fc7[_0x2156f7(0x26c)]||(this[_0x2156f7(0x254)]=!0x1,this[_0x2156f7(0x2d6)][_0x2156f7(0x1ed)]['needDrain']||this[_0x2156f7(0x2ed)]['resume']());}[_0x2367f(0x1b2)](_0x1f346c,_0x3da7dd,_0x2f9742){const _0x2fede1=_0x2367f;if(this['readyState']===_0x3b3fc7[_0x2fede1(0x24a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3da7dd==_0x2fede1(0x20a)&&(_0x2f9742=_0x3da7dd,_0x3da7dd={}),typeof _0x1f346c==_0x2fede1(0x273)&&(_0x1f346c=_0x1f346c[_0x2fede1(0x2aa)]()),this[_0x2fede1(0x2e8)]!==_0x3b3fc7['OPEN']){_0x2a2d0f(this,_0x1f346c,_0x2f9742);return;}const _0x3b2968={'binary':typeof _0x1f346c!=_0x2fede1(0x300),'mask':!this[_0x2fede1(0x221)],'compress':!0x0,'fin':!0x0,..._0x3da7dd};this[_0x2fede1(0x25d)][_0x57843c['extensionName']]||(_0x3b2968['compress']=!0x1),this[_0x2fede1(0x188)][_0x2fede1(0x1b2)](_0x1f346c||_0x57fcb2,_0x3b2968,_0x2f9742);}[_0x2367f(0x174)](){const _0x14ad41=_0x2367f;if(this[_0x14ad41(0x2e8)]!==_0x3b3fc7['CLOSED']){if(this[_0x14ad41(0x2e8)]===_0x3b3fc7[_0x14ad41(0x24a)]){_0x56f50c(this,this[_0x14ad41(0x1dd)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x14ad41(0x1d7)]=_0x3b3fc7['CLOSING'],this[_0x14ad41(0x2ed)]['destroy']());}}}Object['defineProperty'](_0x3b3fc7,_0x2367f(0x24a),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)]('CONNECTING')}),Object['defineProperty'](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x24a),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x24a))}),Object[_0x2367f(0x27f)](_0x3b3fc7,'OPEN',{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x274))}),Object[_0x2367f(0x27f)](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x274),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x274))}),Object[_0x2367f(0x27f)](_0x3b3fc7,'CLOSING',{'enumerable':!0x0,'value':_0x3ef35e['indexOf'](_0x2367f(0x2be))}),Object[_0x2367f(0x27f)](_0x3b3fc7[_0x2367f(0x208)],_0x2367f(0x2be),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x2be))}),Object[_0x2367f(0x27f)](_0x3b3fc7,_0x2367f(0x26c),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)](_0x2367f(0x26c))}),Object[_0x2367f(0x27f)](_0x3b3fc7['prototype'],_0x2367f(0x26c),{'enumerable':!0x0,'value':_0x3ef35e[_0x2367f(0x286)]('CLOSED')}),['binaryType',_0x2367f(0x1fa),_0x2367f(0x312),_0x2367f(0x282),_0x2367f(0x20e),_0x2367f(0x2e8),'url'][_0x2367f(0x20f)](_0x17113d=>{const _0x518a66=_0x2367f;Object[_0x518a66(0x27f)](_0x3b3fc7[_0x518a66(0x208)],_0x17113d,{'enumerable':!0x0});}),['open','error',_0x2367f(0x163),_0x2367f(0x2b7)][_0x2367f(0x20f)](_0x36a24a=>{const _0x4117f1=_0x2367f;Object[_0x4117f1(0x27f)](_0x3b3fc7[_0x4117f1(0x208)],'on'+_0x36a24a,{'enumerable':!0x0,'get'(){for(const _0x4ef055 of this['listeners'](_0x36a24a))if(_0x4ef055[_0x1a41e5])return _0x4ef055[_0x4c4016];return null;},'set'(_0xed7b2){const _0x9f7019=_0x4117f1;for(const _0x9b5b03 of this[_0x9f7019(0x307)](_0x36a24a))if(_0x9b5b03[_0x1a41e5]){this['removeListener'](_0x36a24a,_0x9b5b03);break;}typeof _0xed7b2==_0x9f7019(0x20a)&&this[_0x9f7019(0x275)](_0x36a24a,_0xed7b2,{[_0x1a41e5]:!0x0});}});}),_0x3b3fc7['prototype'][_0x2367f(0x275)]=_0x441d39,_0x3b3fc7[_0x2367f(0x208)][_0x2367f(0x1e2)]=_0xf5b9c6,we=_0x3b3fc7;function _0x5474e6(_0x2fbff8,_0x22b48f,_0x3d3586,_0x7e8fd9){const _0x1b0587=_0x2367f,_0x2f59b0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ebb1f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x7e8fd9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1b0587(0x180),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2fbff8[_0x1b0587(0x252)]=_0x2f59b0[_0x1b0587(0x2f0)],!_0x2ebb1f[_0x1b0587(0x277)](_0x2f59b0[_0x1b0587(0x176)]))throw new RangeError(_0x1b0587(0x240)+_0x2f59b0[_0x1b0587(0x176)]+'\x20(supported\x20versions:\x20'+_0x2ebb1f[_0x1b0587(0x170)](',\x20')+')');let _0x4e9158;if(_0x22b48f instanceof _0x4e6785)_0x4e9158=_0x22b48f;else try{_0x4e9158=new _0x4e6785(_0x22b48f);}catch{throw new SyntaxError(_0x1b0587(0x279)+_0x22b48f);}_0x4e9158['protocol']==='http:'?_0x4e9158['protocol']=_0x1b0587(0x306):_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x1d5)&&(_0x4e9158['protocol']=_0x1b0587(0x1c3)),_0x2fbff8[_0x1b0587(0x1e6)]=_0x4e9158[_0x1b0587(0x23a)];const _0x36f0e0=_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x1c3),_0x43e5ba=_0x4e9158[_0x1b0587(0x20e)]===_0x1b0587(0x278);let _0xa56d51;if(_0x4e9158['protocol']!=='ws:'&&!_0x36f0e0&&!_0x43e5ba?_0xa56d51=_0x1b0587(0x285):_0x43e5ba&&!_0x4e9158[_0x1b0587(0x1ee)]?_0xa56d51='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x4e9158[_0x1b0587(0x1f2)]&&(_0xa56d51=_0x1b0587(0x1b0)),_0xa56d51){const _0x1e237a=new SyntaxError(_0xa56d51);if(_0x2fbff8[_0x1b0587(0x314)]===0x0)throw _0x1e237a;_0x382752(_0x2fbff8,_0x1e237a);return;}const _0x521c38=_0x36f0e0?0x1bb:0x50,_0x14c047=_0x351efa(0x10)[_0x1b0587(0x2aa)](_0x1b0587(0x1ff)),_0x1fec1a=_0x36f0e0?_0x1d1662[_0x1b0587(0x29a)]:_0x560c78['request'],_0x24fbdc=new Set();let _0x3009c1;if(_0x2f59b0['createConnection']=_0x2f59b0[_0x1b0587(0x258)]||(_0x36f0e0?_0x524ce6:_0x1569f5),_0x2f59b0[_0x1b0587(0x1c0)]=_0x2f59b0[_0x1b0587(0x1c0)]||_0x521c38,_0x2f59b0['port']=_0x4e9158['port']||_0x521c38,_0x2f59b0[_0x1b0587(0x30a)]=_0x4e9158[_0x1b0587(0x21b)][_0x1b0587(0x283)]('[')?_0x4e9158['hostname']['slice'](0x1,-0x1):_0x4e9158[_0x1b0587(0x21b)],_0x2f59b0[_0x1b0587(0x27c)]={..._0x2f59b0[_0x1b0587(0x27c)],'Sec-WebSocket-Version':_0x2f59b0[_0x1b0587(0x176)],'Sec-WebSocket-Key':_0x14c047,'Connection':_0x1b0587(0x16f),'Upgrade':_0x1b0587(0x215)},_0x2f59b0[_0x1b0587(0x234)]=_0x4e9158['pathname']+_0x4e9158[_0x1b0587(0x1e9)],_0x2f59b0['timeout']=_0x2f59b0['handshakeTimeout'],_0x2f59b0[_0x1b0587(0x28a)]&&(_0x3009c1=new _0x57843c(_0x2f59b0[_0x1b0587(0x28a)]!==!0x0?_0x2f59b0[_0x1b0587(0x28a)]:{},!0x1,_0x2f59b0['maxPayload']),_0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x2a3)]=_0x228e1e({[_0x57843c['extensionName']]:_0x3009c1[_0x1b0587(0x2ac)]()})),_0x3d3586[_0x1b0587(0x2e4)]){for(const _0x4b8526 of _0x3d3586){if(typeof _0x4b8526!=_0x1b0587(0x300)||!_0x5c072d[_0x1b0587(0x19f)](_0x4b8526)||_0x24fbdc[_0x1b0587(0x30f)](_0x4b8526))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x24fbdc[_0x1b0587(0x26b)](_0x4b8526);}_0x2f59b0['headers'][_0x1b0587(0x2fd)]=_0x3d3586[_0x1b0587(0x170)](',');}if(_0x2f59b0['origin']&&(_0x2f59b0[_0x1b0587(0x176)]<0xd?_0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x284)]=_0x2f59b0['origin']:_0x2f59b0[_0x1b0587(0x27c)]['Origin']=_0x2f59b0[_0x1b0587(0x25f)]),(_0x4e9158[_0x1b0587(0x2ee)]||_0x4e9158[_0x1b0587(0x167)])&&(_0x2f59b0[_0x1b0587(0x1bc)]=_0x4e9158[_0x1b0587(0x2ee)]+':'+_0x4e9158[_0x1b0587(0x167)]),_0x43e5ba){const _0x5c4f54=_0x2f59b0[_0x1b0587(0x234)][_0x1b0587(0x231)](':');_0x2f59b0[_0x1b0587(0x264)]=_0x5c4f54[0x0],_0x2f59b0[_0x1b0587(0x234)]=_0x5c4f54[0x1];}let _0x321059;if(_0x2f59b0['followRedirects']){if(_0x2fbff8[_0x1b0587(0x314)]===0x0){_0x2fbff8[_0x1b0587(0x311)]=_0x43e5ba,_0x2fbff8[_0x1b0587(0x2fb)]=_0x36f0e0,_0x2fbff8[_0x1b0587(0x2b8)]=_0x43e5ba?_0x2f59b0[_0x1b0587(0x264)]:_0x4e9158[_0x1b0587(0x30a)];const _0x4bce86=_0x7e8fd9&&_0x7e8fd9[_0x1b0587(0x27c)];if(_0x7e8fd9={..._0x7e8fd9,'headers':{}},_0x4bce86){for(const [_0x312aae,_0x4c9c02]of Object['entries'](_0x4bce86))_0x7e8fd9[_0x1b0587(0x27c)][_0x312aae[_0x1b0587(0x1be)]()]=_0x4c9c02;}}else{if(_0x2fbff8[_0x1b0587(0x1fb)](_0x1b0587(0x235))===0x0){const _0x135676=_0x43e5ba?_0x2fbff8[_0x1b0587(0x311)]?_0x2f59b0[_0x1b0587(0x264)]===_0x2fbff8[_0x1b0587(0x2b8)]:!0x1:_0x2fbff8[_0x1b0587(0x311)]?!0x1:_0x4e9158[_0x1b0587(0x30a)]===_0x2fbff8['_originalHostOrSocketPath'];(!_0x135676||_0x2fbff8[_0x1b0587(0x2fb)]&&!_0x36f0e0)&&(delete _0x2f59b0[_0x1b0587(0x27c)]['authorization'],delete _0x2f59b0['headers'][_0x1b0587(0x251)],_0x135676||delete _0x2f59b0[_0x1b0587(0x27c)][_0x1b0587(0x30a)],_0x2f59b0[_0x1b0587(0x1bc)]=void 0x0);}}_0x2f59b0['auth']&&!_0x7e8fd9[_0x1b0587(0x27c)][_0x1b0587(0x2b6)]&&(_0x7e8fd9[_0x1b0587(0x27c)][_0x1b0587(0x2b6)]='Basic\x20'+Buffer[_0x1b0587(0x1e1)](_0x2f59b0[_0x1b0587(0x1bc)])[_0x1b0587(0x2aa)](_0x1b0587(0x1ff))),_0x321059=_0x2fbff8[_0x1b0587(0x1dd)]=_0x1fec1a(_0x2f59b0),_0x2fbff8[_0x1b0587(0x314)]&&_0x2fbff8['emit']('redirect',_0x2fbff8[_0x1b0587(0x271)],_0x321059);}else _0x321059=_0x2fbff8[_0x1b0587(0x1dd)]=_0x1fec1a(_0x2f59b0);_0x2f59b0[_0x1b0587(0x1c5)]&&_0x321059['on']('timeout',()=>{const _0x274fdb=_0x1b0587;_0x56f50c(_0x2fbff8,_0x321059,_0x274fdb(0x25e));}),_0x321059['on'](_0x1b0587(0x2ca),_0xac6a64=>{_0x321059===null||_0x321059[_0x3eb56b]||(_0x321059=_0x2fbff8['_req']=null,_0x382752(_0x2fbff8,_0xac6a64));}),_0x321059['on'](_0x1b0587(0x1b6),_0x2e5266=>{const _0x31fb5b=_0x1b0587,_0x3c76cf=_0x2e5266[_0x31fb5b(0x27c)][_0x31fb5b(0x173)],_0x181ae=_0x2e5266[_0x31fb5b(0x246)];if(_0x3c76cf&&_0x2f59b0['followRedirects']&&_0x181ae>=0x12c&&_0x181ae<0x190){if(++_0x2fbff8[_0x31fb5b(0x314)]>_0x2f59b0['maxRedirects']){_0x56f50c(_0x2fbff8,_0x321059,_0x31fb5b(0x304));return;}_0x321059[_0x31fb5b(0x1b5)]();let _0x52fe70;try{_0x52fe70=new _0x4e6785(_0x3c76cf,_0x22b48f);}catch{const _0x1eba4f=new SyntaxError(_0x31fb5b(0x279)+_0x3c76cf);_0x382752(_0x2fbff8,_0x1eba4f);return;}_0x5474e6(_0x2fbff8,_0x52fe70,_0x3d3586,_0x7e8fd9);}else _0x2fbff8['emit'](_0x31fb5b(0x21f),_0x321059,_0x2e5266)||_0x56f50c(_0x2fbff8,_0x321059,_0x31fb5b(0x2da)+_0x2e5266['statusCode']);}),_0x321059['on'](_0x1b0587(0x2e1),(_0xb8d504,_0x2e9cbc,_0x3ce637)=>{const _0xa4cfc6=_0x1b0587;if(_0x2fbff8[_0xa4cfc6(0x287)](_0xa4cfc6(0x2e1),_0xb8d504),_0x2fbff8[_0xa4cfc6(0x2e8)]!==_0x3b3fc7['CONNECTING'])return;_0x321059=_0x2fbff8[_0xa4cfc6(0x1dd)]=null;const _0x4a1664=_0xb8d504['headers'][_0xa4cfc6(0x2e1)];if(_0x4a1664===void 0x0||_0x4a1664[_0xa4cfc6(0x1be)]()!=='websocket'){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x17e));return;}const _0x5da2f4=_0x401174(_0xa4cfc6(0x224))['update'](_0x14c047+_0x5d4ff1)[_0xa4cfc6(0x193)](_0xa4cfc6(0x1ff));if(_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x222)]!==_0x5da2f4){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x305));return;}const _0x4ecb43=_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x2df)];let _0x575889;if(_0x4ecb43!==void 0x0?_0x24fbdc[_0xa4cfc6(0x2ad)]?_0x24fbdc[_0xa4cfc6(0x30f)](_0x4ecb43)||(_0x575889=_0xa4cfc6(0x2d8)):_0x575889=_0xa4cfc6(0x228):_0x24fbdc['size']&&(_0x575889=_0xa4cfc6(0x17b)),_0x575889){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0x575889);return;}_0x4ecb43&&(_0x2fbff8[_0xa4cfc6(0x2d2)]=_0x4ecb43);const _0x14e117=_0xb8d504[_0xa4cfc6(0x27c)][_0xa4cfc6(0x2bd)];if(_0x14e117!==void 0x0){if(!_0x3009c1){_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x184));return;}let _0x3d7361;try{_0x3d7361=_0x256ae8(_0x14e117);}catch{_0x56f50c(_0x2fbff8,_0x2e9cbc,_0xa4cfc6(0x212));return;}const _0x349e1f=Object[_0xa4cfc6(0x22e)](_0x3d7361);if(_0x349e1f['length']!==0x1||_0x349e1f[0x0]!==_0x57843c[_0xa4cfc6(0x289)]){_0x56f50c(_0x2fbff8,_0x2e9cbc,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3009c1[_0xa4cfc6(0x2e0)](_0x3d7361[_0x57843c['extensionName']]);}catch{_0x56f50c(_0x2fbff8,_0x2e9cbc,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x2fbff8[_0xa4cfc6(0x25d)][_0x57843c[_0xa4cfc6(0x289)]]=_0x3009c1;}_0x2fbff8[_0xa4cfc6(0x28b)](_0x2e9cbc,_0x3ce637,{'allowSynchronousEvents':_0x2f59b0[_0xa4cfc6(0x313)],'generateMask':_0x2f59b0[_0xa4cfc6(0x2cf)],'maxPayload':_0x2f59b0['maxPayload'],'skipUTF8Validation':_0x2f59b0[_0xa4cfc6(0x288)]});}),_0x2f59b0['finishRequest']?_0x2f59b0[_0x1b0587(0x232)](_0x321059,_0x2fbff8):_0x321059[_0x1b0587(0x1d8)]();}function _0x382752(_0x4e010f,_0xbdfd7a){const _0x52b65b=_0x2367f;_0x4e010f[_0x52b65b(0x1d7)]=_0x3b3fc7['CLOSING'],_0x4e010f[_0x52b65b(0x19a)]=!0x0,_0x4e010f['emit'](_0x52b65b(0x2ca),_0xbdfd7a),_0x4e010f[_0x52b65b(0x2a6)]();}function _0x1569f5(_0x2c8a0f){const _0x2e7702=_0x2367f;return _0x2c8a0f[_0x2e7702(0x234)]=_0x2c8a0f['socketPath'],_0x470fc6[_0x2e7702(0x218)](_0x2c8a0f);}function _0x524ce6(_0x415075){const _0x4e3628=_0x2367f;return _0x415075[_0x4e3628(0x234)]=void 0x0,!_0x415075[_0x4e3628(0x2f4)]&&_0x415075[_0x4e3628(0x2f4)]!==''&&(_0x415075[_0x4e3628(0x2f4)]=_0x470fc6[_0x4e3628(0x187)](_0x415075[_0x4e3628(0x30a)])?'':_0x415075[_0x4e3628(0x30a)]),_0x2db167['connect'](_0x415075);}function _0x56f50c(_0x111392,_0x53b225,_0x1b7b52){const _0x4268d5=_0x2367f;_0x111392[_0x4268d5(0x1d7)]=_0x3b3fc7[_0x4268d5(0x2be)];const _0x593425=new Error(_0x1b7b52);Error['captureStackTrace'](_0x593425,_0x56f50c),_0x53b225[_0x4268d5(0x1a9)]?(_0x53b225[_0x3eb56b]=!0x0,_0x53b225[_0x4268d5(0x1b5)](),_0x53b225[_0x4268d5(0x2fe)]&&!_0x53b225[_0x4268d5(0x2fe)][_0x4268d5(0x192)]&&_0x53b225[_0x4268d5(0x2fe)][_0x4268d5(0x23e)](),process[_0x4268d5(0x2b0)](_0x382752,_0x111392,_0x593425)):(_0x53b225[_0x4268d5(0x23e)](_0x593425),_0x53b225[_0x4268d5(0x2ef)](_0x4268d5(0x2ca),_0x111392['emit'][_0x4268d5(0x216)](_0x111392,'error')),_0x53b225[_0x4268d5(0x2ef)]('close',_0x111392[_0x4268d5(0x2a6)]['bind'](_0x111392)));}function _0x2a2d0f(_0x534be2,_0x24df9c,_0x2a400a){const _0x5dcc6c=_0x2367f;if(_0x24df9c){const _0x36f88f=_0x188524(_0x24df9c)?_0x24df9c[_0x5dcc6c(0x2ad)]:_0x514936(_0x24df9c)[_0x5dcc6c(0x2e4)];_0x534be2[_0x5dcc6c(0x2ed)]?_0x534be2[_0x5dcc6c(0x188)][_0x5dcc6c(0x259)]+=_0x36f88f:_0x534be2[_0x5dcc6c(0x276)]+=_0x36f88f;}if(_0x2a400a){const _0x3f2df5=new Error(_0x5dcc6c(0x1e0)+_0x534be2[_0x5dcc6c(0x2e8)]+'\x20('+_0x3ef35e[_0x534be2[_0x5dcc6c(0x2e8)]]+')');process['nextTick'](_0x2a400a,_0x3f2df5);}}function _0x55891f(_0x38bc44,_0x3414bf){const _0xf74724=_0x2367f,_0x5a009f=this[_0x3c7f9c];_0x5a009f[_0xf74724(0x262)]=!0x0,_0x5a009f[_0xf74724(0x243)]=_0x3414bf,_0x5a009f[_0xf74724(0x2bc)]=_0x38bc44,_0x5a009f[_0xf74724(0x2ed)][_0x3c7f9c]!==void 0x0&&(_0x5a009f[_0xf74724(0x2ed)][_0xf74724(0x2d3)](_0xf74724(0x2a1),_0x37dfa9),process[_0xf74724(0x2b0)](_0x2360cc,_0x5a009f[_0xf74724(0x2ed)]),_0x38bc44===0x3ed?_0x5a009f[_0xf74724(0x163)]():_0x5a009f['close'](_0x38bc44,_0x3414bf));}function _0x1b5fb5(){const _0x1b3847=_0x2367f,_0x3b6c7a=this[_0x3c7f9c];_0x3b6c7a['isPaused']||_0x3b6c7a[_0x1b3847(0x2ed)][_0x1b3847(0x308)]();}function _0x994c4f(_0x115f97){const _0x510569=_0x2367f,_0x24e3ad=this[_0x3c7f9c];_0x24e3ad[_0x510569(0x2ed)][_0x3c7f9c]!==void 0x0&&(_0x24e3ad[_0x510569(0x2ed)][_0x510569(0x2d3)]('data',_0x37dfa9),process[_0x510569(0x2b0)](_0x2360cc,_0x24e3ad['_socket']),_0x24e3ad['close'](_0x115f97[_0x5fb1d3])),_0x24e3ad[_0x510569(0x19a)]||(_0x24e3ad[_0x510569(0x19a)]=!0x0,_0x24e3ad[_0x510569(0x287)](_0x510569(0x2ca),_0x115f97));}function _0xf6f873(){this[_0x3c7f9c]['emitClose']();}function _0x531219(_0x5a9e66,_0x7a3723){const _0x46e4e=_0x2367f;this[_0x3c7f9c][_0x46e4e(0x287)]('message',_0x5a9e66,_0x7a3723);}function _0x318c58(_0x574036){const _0x3dac00=_0x2367f,_0x29ebe0=this[_0x3c7f9c];_0x29ebe0[_0x3dac00(0x252)]&&_0x29ebe0[_0x3dac00(0x263)](_0x574036,!this[_0x3dac00(0x221)],_0xc0d57f),_0x29ebe0[_0x3dac00(0x287)](_0x3dac00(0x18d),_0x574036);}function _0x4553e2(_0x2ddb27){const _0x136b41=_0x2367f;this[_0x3c7f9c]['emit'](_0x136b41(0x263),_0x2ddb27);}function _0x2360cc(_0x45c5d8){_0x45c5d8['resume']();}function _0x51a017(_0x5f3e63){const _0x507d66=_0x2367f,_0x2ec8c6=this[_0x3c7f9c];_0x2ec8c6[_0x507d66(0x2e8)]!==_0x3b3fc7[_0x507d66(0x26c)]&&(_0x2ec8c6['readyState']===_0x3b3fc7['OPEN']&&(_0x2ec8c6[_0x507d66(0x1d7)]=_0x3b3fc7[_0x507d66(0x2be)],_0xe1934e(_0x2ec8c6)),this[_0x507d66(0x2ed)][_0x507d66(0x1d8)](),_0x2ec8c6['_errorEmitted']||(_0x2ec8c6[_0x507d66(0x19a)]=!0x0,_0x2ec8c6[_0x507d66(0x287)]('error',_0x5f3e63)));}function _0xe1934e(_0x4e4230){const _0x287d8e=_0x2367f;_0x4e4230['_closeTimer']=setTimeout(_0x4e4230[_0x287d8e(0x2ed)][_0x287d8e(0x23e)]['bind'](_0x4e4230[_0x287d8e(0x2ed)]),_0x16c5bf);}function _0x16b066(){const _0x567b35=_0x2367f,_0x19061f=this[_0x3c7f9c];this['removeListener'](_0x567b35(0x163),_0x16b066),this['removeListener']('data',_0x37dfa9),this['removeListener'](_0x567b35(0x1d8),_0x332ca1),_0x19061f[_0x567b35(0x1d7)]=_0x3b3fc7['CLOSING'];let _0x12cbed;!this[_0x567b35(0x2db)]['endEmitted']&&!_0x19061f[_0x567b35(0x262)]&&!_0x19061f[_0x567b35(0x2d6)][_0x567b35(0x1ed)][_0x567b35(0x204)]&&(_0x12cbed=_0x19061f[_0x567b35(0x2ed)][_0x567b35(0x1c6)]())!==null&&_0x19061f['_receiver'][_0x567b35(0x2d7)](_0x12cbed),_0x19061f[_0x567b35(0x2d6)]['end'](),this[_0x3c7f9c]=void 0x0,clearTimeout(_0x19061f[_0x567b35(0x265)]),_0x19061f[_0x567b35(0x2d6)]['_writableState'][_0x567b35(0x1d3)]||_0x19061f[_0x567b35(0x2d6)][_0x567b35(0x1ed)][_0x567b35(0x204)]?_0x19061f[_0x567b35(0x2a6)]():(_0x19061f[_0x567b35(0x2d6)]['on'](_0x567b35(0x2ca),_0xf6f873),_0x19061f[_0x567b35(0x2d6)]['on'](_0x567b35(0x272),_0xf6f873));}function _0x37dfa9(_0x27d9a8){const _0x21b56c=_0x2367f;this[_0x3c7f9c]['_receiver']['write'](_0x27d9a8)||this[_0x21b56c(0x2b9)]();}function _0x332ca1(){const _0x10675d=_0x2367f,_0xf5e35b=this[_0x3c7f9c];_0xf5e35b[_0x10675d(0x1d7)]=_0x3b3fc7['CLOSING'],_0xf5e35b[_0x10675d(0x2d6)]['end'](),this[_0x10675d(0x1d8)]();}function _0x1e72f6(){const _0x899482=_0x2367f,_0x2bc339=this[_0x3c7f9c];this[_0x899482(0x2d3)](_0x899482(0x2ca),_0x1e72f6),this['on'](_0x899482(0x2ca),_0xc0d57f),_0x2bc339&&(_0x2bc339[_0x899482(0x1d7)]=_0x3b3fc7['CLOSING'],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1fff45}=_0x19e32e;function _0x488ca9(_0x5bf2b0){const _0x2b8076=_0xd40e;_0x5bf2b0[_0x2b8076(0x287)]('close');}function _0x4b8948(){const _0x45e983=_0xd40e;!this[_0x45e983(0x192)]&&this[_0x45e983(0x1ed)]['finished']&&this['destroy']();}function _0x1ab6de(_0x7a3d65){const _0x202e23=_0xd40e;this[_0x202e23(0x2d3)]('error',_0x1ab6de),this[_0x202e23(0x23e)](),this[_0x202e23(0x1fb)]('error')===0x0&&this[_0x202e23(0x287)]('error',_0x7a3d65);}function _0x5d7c4c(_0x2a260d,_0x3d4b10){const _0xf5b114=_0xd40e;let _0x442d95=!0x0;const _0x1f12ac=new _0x1fff45({..._0x3d4b10,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2a260d['on'](_0xf5b114(0x2b7),function(_0x36b487,_0x205fc1){const _0x2f3f08=_0xf5b114,_0x4d325b=!_0x205fc1&&_0x1f12ac['_readableState'][_0x2f3f08(0x17a)]?_0x36b487[_0x2f3f08(0x2aa)]():_0x36b487;_0x1f12ac['push'](_0x4d325b)||_0x2a260d[_0x2f3f08(0x2b9)]();}),_0x2a260d['once'](_0xf5b114(0x2ca),function(_0x1b2a8e){const _0x4750e2=_0xf5b114;_0x1f12ac[_0x4750e2(0x192)]||(_0x442d95=!0x1,_0x1f12ac[_0x4750e2(0x23e)](_0x1b2a8e));}),_0x2a260d[_0xf5b114(0x2ef)](_0xf5b114(0x163),function(){const _0x41ba30=_0xf5b114;_0x1f12ac[_0x41ba30(0x192)]||_0x1f12ac[_0x41ba30(0x2ae)](null);}),_0x1f12ac[_0xf5b114(0x225)]=function(_0x5aa47b,_0x4f3700){const _0x63cae8=_0xf5b114;if(_0x2a260d[_0x63cae8(0x2e8)]===_0x2a260d[_0x63cae8(0x26c)]){_0x4f3700(_0x5aa47b),process[_0x63cae8(0x2b0)](_0x488ca9,_0x1f12ac);return;}let _0x5b312e=!0x1;_0x2a260d[_0x63cae8(0x2ef)](_0x63cae8(0x2ca),function(_0x2a406b){_0x5b312e=!0x0,_0x4f3700(_0x2a406b);}),_0x2a260d['once'](_0x63cae8(0x163),function(){const _0xbf220c=_0x63cae8;_0x5b312e||_0x4f3700(_0x5aa47b),process[_0xbf220c(0x2b0)](_0x488ca9,_0x1f12ac);}),_0x442d95&&_0x2a260d['terminate']();},_0x1f12ac['_final']=function(_0x15f81c){const _0x1fefcb=_0xf5b114;if(_0x2a260d[_0x1fefcb(0x2e8)]===_0x2a260d[_0x1fefcb(0x24a)]){_0x2a260d['once'](_0x1fefcb(0x217),function(){const _0x34956b=_0x1fefcb;_0x1f12ac[_0x34956b(0x2f3)](_0x15f81c);});return;}_0x2a260d['_socket']!==null&&(_0x2a260d['_socket'][_0x1fefcb(0x1ed)][_0x1fefcb(0x1d3)]?(_0x15f81c(),_0x1f12ac[_0x1fefcb(0x2db)]['endEmitted']&&_0x1f12ac['destroy']()):(_0x2a260d[_0x1fefcb(0x2ed)]['once'](_0x1fefcb(0x272),function(){_0x15f81c();}),_0x2a260d[_0x1fefcb(0x163)]()));},_0x1f12ac['_read']=function(){const _0x1f7377=_0xf5b114;_0x2a260d['isPaused']&&_0x2a260d[_0x1f7377(0x308)]();},_0x1f12ac[_0xf5b114(0x199)]=function(_0x311aa6,_0x52bc95,_0x5db135){const _0x3c4d50=_0xf5b114;if(_0x2a260d[_0x3c4d50(0x2e8)]===_0x2a260d[_0x3c4d50(0x24a)]){_0x2a260d[_0x3c4d50(0x2ef)](_0x3c4d50(0x217),function(){const _0x10e132=_0x3c4d50;_0x1f12ac[_0x10e132(0x199)](_0x311aa6,_0x52bc95,_0x5db135);});return;}_0x2a260d['send'](_0x311aa6,_0x5db135);},_0x1f12ac['on'](_0xf5b114(0x1d8),_0x4b8948),_0x1f12ac['on'](_0xf5b114(0x2ca),_0x1ab6de),_0x1f12ac;}return Oe=_0x5d7c4c,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2d97bd}=ne();function _0x186f76(_0x2c9221){const _0x5d0358=_0xd40e,_0x149836=new Set();let _0x5cb98b=-0x1,_0x2ffc6c=-0x1,_0xc80939=0x0;for(_0xc80939;_0xc80939<_0x2c9221[_0x5d0358(0x2e4)];_0xc80939++){const _0x5c8ead=_0x2c9221[_0x5d0358(0x267)](_0xc80939);if(_0x2ffc6c===-0x1&&_0x2d97bd[_0x5c8ead]===0x1)_0x5cb98b===-0x1&&(_0x5cb98b=_0xc80939);else{if(_0xc80939!==0x0&&(_0x5c8ead===0x20||_0x5c8ead===0x9))_0x2ffc6c===-0x1&&_0x5cb98b!==-0x1&&(_0x2ffc6c=_0xc80939);else{if(_0x5c8ead===0x2c){if(_0x5cb98b===-0x1)throw new SyntaxError(_0x5d0358(0x2b2)+_0xc80939);_0x2ffc6c===-0x1&&(_0x2ffc6c=_0xc80939);const _0x56d382=_0x2c9221[_0x5d0358(0x30e)](_0x5cb98b,_0x2ffc6c);if(_0x149836[_0x5d0358(0x30f)](_0x56d382))throw new SyntaxError(_0x5d0358(0x21c)+_0x56d382+_0x5d0358(0x255));_0x149836[_0x5d0358(0x26b)](_0x56d382),_0x5cb98b=_0x2ffc6c=-0x1;}else throw new SyntaxError(_0x5d0358(0x2b2)+_0xc80939);}}}if(_0x5cb98b===-0x1||_0x2ffc6c!==-0x1)throw new SyntaxError(_0x5d0358(0x2cc));const _0x102388=_0x2c9221[_0x5d0358(0x30e)](_0x5cb98b,_0xc80939);if(_0x149836[_0x5d0358(0x30f)](_0x102388))throw new SyntaxError(_0x5d0358(0x21c)+_0x102388+_0x5d0358(0x255));return _0x149836[_0x5d0358(0x26b)](_0x102388),_0x149836;}return Ce={'parse':_0x186f76},Ce;}var Te,ot;function er(){const _0x13c048=_0x2be760;if(ot)return Te;ot=0x1;const _0x9e4133=_0x425d08,_0x30bf1c=_0x3b26bc,{Duplex:_0x364ba8}=_0x19e32e,{createHash:_0x1fe1dd}=_0x118541,_0x26e501=pt(),_0x5c34fa=he(),_0x2562db=Jt(),_0x3630f2=Ie(),{GUID:_0x4fe541,kWebSocket:_0x3df5be}=V(),_0xfff9ba=/^[+/0-9A-Za-z]{22}==$/,_0x3646ee=0x0,_0x4b6dcf=0x1,_0x58b05e=0x2;class _0x3b10db extends _0x9e4133{constructor(_0x50551d,_0x2cb63b){const _0x50f96d=_0xd40e;if(super(),_0x50551d={'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':_0x3630f2,..._0x50551d},_0x50551d[_0x50f96d(0x175)]==null&&!_0x50551d[_0x50f96d(0x247)]&&!_0x50551d[_0x50f96d(0x1a3)]||_0x50551d['port']!=null&&(_0x50551d[_0x50f96d(0x247)]||_0x50551d['noServer'])||_0x50551d[_0x50f96d(0x247)]&&_0x50551d['noServer'])throw new TypeError(_0x50f96d(0x29b));if(_0x50551d[_0x50f96d(0x175)]!=null?(this[_0x50f96d(0x241)]=_0x30bf1c[_0x50f96d(0x2dc)]((_0x70aa33,_0x91102d)=>{const _0x26b424=_0x50f96d,_0x2fa1ad=_0x30bf1c['STATUS_CODES'][0x1aa];_0x91102d[_0x26b424(0x2e6)](0x1aa,{'Content-Length':_0x2fa1ad[_0x26b424(0x2e4)],'Content-Type':_0x26b424(0x24b)}),_0x91102d[_0x26b424(0x1d8)](_0x2fa1ad);}),this[_0x50f96d(0x241)][_0x50f96d(0x2c3)](_0x50551d[_0x50f96d(0x175)],_0x50551d[_0x50f96d(0x30a)],_0x50551d[_0x50f96d(0x18a)],_0x2cb63b)):_0x50551d['server']&&(this[_0x50f96d(0x241)]=_0x50551d[_0x50f96d(0x247)]),this[_0x50f96d(0x241)]){const _0x3ab06b=this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,_0x50f96d(0x172));this['_removeListeners']=_0xd74094(this[_0x50f96d(0x241)],{'listening':this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,'listening'),'error':this[_0x50f96d(0x287)][_0x50f96d(0x216)](this,_0x50f96d(0x2ca)),'upgrade':(_0xcc6659,_0x53bd10,_0x1489a2)=>{const _0x4f72bb=_0x50f96d;this[_0x4f72bb(0x179)](_0xcc6659,_0x53bd10,_0x1489a2,_0x3ab06b);}});}_0x50551d[_0x50f96d(0x28a)]===!0x0&&(_0x50551d['perMessageDeflate']={}),_0x50551d['clientTracking']&&(this[_0x50f96d(0x18b)]=new Set(),this[_0x50f96d(0x30d)]=!0x1),this[_0x50f96d(0x2f2)]=_0x50551d,this[_0x50f96d(0x1f7)]=_0x3646ee;}[_0x13c048(0x2cb)](){const _0x637b01=_0x13c048;if(this[_0x637b01(0x2f2)][_0x637b01(0x1a3)])throw new Error(_0x637b01(0x2fc));return this[_0x637b01(0x241)]?this['_server']['address']():null;}[_0x13c048(0x163)](_0x2ec7de){const _0x58365b=_0x13c048;if(this[_0x58365b(0x1f7)]===_0x58b05e){_0x2ec7de&&this[_0x58365b(0x2ef)](_0x58365b(0x163),()=>{const _0xe7d64f=_0x58365b;_0x2ec7de(new Error(_0xe7d64f(0x185)));}),process[_0x58365b(0x2b0)](_0x4906f2,this);return;}if(_0x2ec7de&&this['once']('close',_0x2ec7de),this[_0x58365b(0x1f7)]!==_0x4b6dcf){if(this[_0x58365b(0x1f7)]=_0x4b6dcf,this['options']['noServer']||this[_0x58365b(0x2f2)][_0x58365b(0x247)])this['_server']&&(this['_removeListeners'](),this[_0x58365b(0x1ac)]=this[_0x58365b(0x241)]=null),this[_0x58365b(0x18b)]?this[_0x58365b(0x18b)][_0x58365b(0x2ad)]?this[_0x58365b(0x30d)]=!0x0:process[_0x58365b(0x2b0)](_0x4906f2,this):process[_0x58365b(0x2b0)](_0x4906f2,this);else{const _0x118969=this['_server'];this[_0x58365b(0x1ac)](),this[_0x58365b(0x1ac)]=this[_0x58365b(0x241)]=null,_0x118969[_0x58365b(0x163)](()=>{_0x4906f2(this);});}}}[_0x13c048(0x1d4)](_0xdd82fe){const _0x4116ce=_0x13c048;if(this[_0x4116ce(0x2f2)]['path']){const _0x13478d=_0xdd82fe[_0x4116ce(0x271)][_0x4116ce(0x286)]('?');if((_0x13478d!==-0x1?_0xdd82fe['url'][_0x4116ce(0x30e)](0x0,_0x13478d):_0xdd82fe[_0x4116ce(0x271)])!==this[_0x4116ce(0x2f2)][_0x4116ce(0x234)])return!0x1;}return!0x0;}[_0x13c048(0x179)](_0x58725a,_0x352a06,_0x4c0696,_0x466a56){const _0x43e71d=_0x13c048;_0x352a06['on'](_0x43e71d(0x2ca),_0x4954b0);const _0x1fe510=_0x58725a[_0x43e71d(0x27c)]['sec-websocket-key'],_0x193260=_0x58725a['headers'][_0x43e71d(0x2e1)],_0x4b3012=+_0x58725a[_0x43e71d(0x27c)]['sec-websocket-version'];if(_0x58725a[_0x43e71d(0x1c7)]!==_0x43e71d(0x180)){_0x1f7e53(this,_0x58725a,_0x352a06,0x195,_0x43e71d(0x242));return;}if(_0x193260===void 0x0||_0x193260[_0x43e71d(0x1be)]()!==_0x43e71d(0x215)){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x17e));return;}if(_0x1fe510===void 0x0||!_0xfff9ba[_0x43e71d(0x19f)](_0x1fe510)){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x1eb));return;}if(_0x4b3012!==0x8&&_0x4b3012!==0xd){_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x1e8));return;}if(!this[_0x43e71d(0x1d4)](_0x58725a)){_0x415e7e(_0x352a06,0x190);return;}const _0x5f40c2=_0x58725a[_0x43e71d(0x27c)][_0x43e71d(0x2df)];let _0x47feed=new Set();if(_0x5f40c2!==void 0x0)try{_0x47feed=_0x2562db['parse'](_0x5f40c2);}catch{_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x202));return;}const _0x3d1388=_0x58725a['headers'][_0x43e71d(0x2bd)],_0x470af8={};if(this[_0x43e71d(0x2f2)][_0x43e71d(0x28a)]&&_0x3d1388!==void 0x0){const _0x4e7cf6=new _0x5c34fa(this[_0x43e71d(0x2f2)][_0x43e71d(0x28a)],!0x0,this[_0x43e71d(0x2f2)][_0x43e71d(0x1ef)]);try{const _0x229981=_0x26e501[_0x43e71d(0x1ea)](_0x3d1388);_0x229981[_0x5c34fa['extensionName']]&&(_0x4e7cf6[_0x43e71d(0x2e0)](_0x229981[_0x5c34fa['extensionName']]),_0x470af8[_0x5c34fa[_0x43e71d(0x289)]]=_0x4e7cf6);}catch{_0x1f7e53(this,_0x58725a,_0x352a06,0x190,_0x43e71d(0x2d9));return;}}if(this[_0x43e71d(0x2f2)][_0x43e71d(0x214)]){const _0x53b782={'origin':_0x58725a['headers'][''+(_0x4b3012===0x8?_0x43e71d(0x1f3):_0x43e71d(0x25f))],'secure':!!(_0x58725a[_0x43e71d(0x2fe)][_0x43e71d(0x2d5)]||_0x58725a[_0x43e71d(0x2fe)]['encrypted']),'req':_0x58725a};if(this[_0x43e71d(0x2f2)][_0x43e71d(0x214)][_0x43e71d(0x2e4)]===0x2){this[_0x43e71d(0x2f2)][_0x43e71d(0x214)](_0x53b782,(_0x5e7cdd,_0x2ff8bc,_0x103297,_0x4a7b66)=>{const _0x5c961f=_0x43e71d;if(!_0x5e7cdd)return _0x415e7e(_0x352a06,_0x2ff8bc||0x191,_0x103297,_0x4a7b66);this[_0x5c961f(0x233)](_0x470af8,_0x1fe510,_0x47feed,_0x58725a,_0x352a06,_0x4c0696,_0x466a56);});return;}if(!this[_0x43e71d(0x2f2)][_0x43e71d(0x214)](_0x53b782))return _0x415e7e(_0x352a06,0x191);}this[_0x43e71d(0x233)](_0x470af8,_0x1fe510,_0x47feed,_0x58725a,_0x352a06,_0x4c0696,_0x466a56);}[_0x13c048(0x233)](_0x100c45,_0x152e14,_0x586b92,_0x3977cd,_0x1a7863,_0x267c00,_0x3125e2){const _0x4f951e=_0x13c048;if(!_0x1a7863[_0x4f951e(0x166)]||!_0x1a7863[_0x4f951e(0x236)])return _0x1a7863[_0x4f951e(0x23e)]();if(_0x1a7863[_0x3df5be])throw new Error(_0x4f951e(0x257));if(this[_0x4f951e(0x1f7)]>_0x3646ee)return _0x415e7e(_0x1a7863,0x1f7);const _0x1c8ac3=[_0x4f951e(0x195),_0x4f951e(0x24f),_0x4f951e(0x2c0),_0x4f951e(0x229)+_0x1fe1dd(_0x4f951e(0x224))[_0x4f951e(0x2a0)](_0x152e14+_0x4fe541)[_0x4f951e(0x193)](_0x4f951e(0x1ff))],_0x2c638b=new this['options'][(_0x4f951e(0x29f))](null,void 0x0,this[_0x4f951e(0x2f2)]);if(_0x586b92[_0x4f951e(0x2ad)]){const _0x40550d=this[_0x4f951e(0x2f2)][_0x4f951e(0x1b3)]?this[_0x4f951e(0x2f2)][_0x4f951e(0x1b3)](_0x586b92,_0x3977cd):_0x586b92[_0x4f951e(0x2a8)]()[_0x4f951e(0x2f7)]()[_0x4f951e(0x2c4)];_0x40550d&&(_0x1c8ac3[_0x4f951e(0x2ae)](_0x4f951e(0x201)+_0x40550d),_0x2c638b[_0x4f951e(0x2d2)]=_0x40550d);}if(_0x100c45[_0x5c34fa['extensionName']]){const _0x1c4e4b=_0x100c45[_0x5c34fa[_0x4f951e(0x289)]]['params'],_0x18cff8=_0x26e501[_0x4f951e(0x16a)]({[_0x5c34fa[_0x4f951e(0x289)]]:[_0x1c4e4b]});_0x1c8ac3['push']('Sec-WebSocket-Extensions:\x20'+_0x18cff8),_0x2c638b[_0x4f951e(0x25d)]=_0x100c45;}this[_0x4f951e(0x287)](_0x4f951e(0x27c),_0x1c8ac3,_0x3977cd),_0x1a7863[_0x4f951e(0x2d7)](_0x1c8ac3['concat']('\x0d\x0a')[_0x4f951e(0x170)]('\x0d\x0a')),_0x1a7863[_0x4f951e(0x2d3)](_0x4f951e(0x2ca),_0x4954b0),_0x2c638b['setSocket'](_0x1a7863,_0x267c00,{'allowSynchronousEvents':this[_0x4f951e(0x2f2)]['allowSynchronousEvents'],'maxPayload':this[_0x4f951e(0x2f2)]['maxPayload'],'skipUTF8Validation':this['options'][_0x4f951e(0x288)]}),this[_0x4f951e(0x18b)]&&(this[_0x4f951e(0x18b)][_0x4f951e(0x26b)](_0x2c638b),_0x2c638b['on']('close',()=>{const _0x1c8fe1=_0x4f951e;this[_0x1c8fe1(0x18b)][_0x1c8fe1(0x291)](_0x2c638b),this['_shouldEmitClose']&&!this[_0x1c8fe1(0x18b)][_0x1c8fe1(0x2ad)]&&process[_0x1c8fe1(0x2b0)](_0x4906f2,this);})),_0x3125e2(_0x2c638b,_0x3977cd);}}Te=_0x3b10db;function _0xd74094(_0x14e2b6,_0x2fa767){for(const _0x569611 of Object['keys'](_0x2fa767))_0x14e2b6['on'](_0x569611,_0x2fa767[_0x569611]);return function(){const _0xeed71f=_0xd40e;for(const _0x258adf of Object['keys'](_0x2fa767))_0x14e2b6[_0xeed71f(0x2d3)](_0x258adf,_0x2fa767[_0x258adf]);};}function _0x4906f2(_0xed750){const _0x52f1f9=_0x13c048;_0xed750[_0x52f1f9(0x1f7)]=_0x58b05e,_0xed750[_0x52f1f9(0x287)](_0x52f1f9(0x163));}function _0x4954b0(){const _0x213a7d=_0x13c048;this[_0x213a7d(0x23e)]();}function _0x415e7e(_0x35647f,_0x31cedb,_0x4f4d25,_0x1deba5){const _0x3230f7=_0x13c048;_0x4f4d25=_0x4f4d25||_0x30bf1c[_0x3230f7(0x171)][_0x31cedb],_0x1deba5={'Connection':_0x3230f7(0x163),'Content-Type':'text/html','Content-Length':Buffer[_0x3230f7(0x1f9)](_0x4f4d25),..._0x1deba5},_0x35647f[_0x3230f7(0x2ef)](_0x3230f7(0x272),_0x35647f[_0x3230f7(0x23e)]),_0x35647f['end']('HTTP/1.1\x20'+_0x31cedb+'\x20'+_0x30bf1c[_0x3230f7(0x171)][_0x31cedb]+'\x0d\x0a'+Object[_0x3230f7(0x22e)](_0x1deba5)['map'](_0x4d1ad7=>_0x4d1ad7+':\x20'+_0x1deba5[_0x4d1ad7])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4f4d25);}function _0x1f7e53(_0x2c84df,_0x91c13c,_0xcb595a,_0x2a3519,_0x3575d8){const _0x5b6b45=_0x13c048;if(_0x2c84df[_0x5b6b45(0x1fb)](_0x5b6b45(0x169))){const _0x5d0ff0=new Error(_0x3575d8);Error[_0x5b6b45(0x1d6)](_0x5d0ff0,_0x1f7e53),_0x2c84df['emit'](_0x5b6b45(0x169),_0x5d0ff0,_0xcb595a,_0x91c13c);}else _0x415e7e(_0xcb595a,_0x2a3519,_0x3575d8);}return Te;}er();var tr=Object[_0x2be760(0x26e)],rr=(_0x428087,_0x12236c,_0x665fda,_0x5d2189)=>{for(var _0xe22dd1=_0x5d2189>0x1?void 0x0:_0x5d2189?tr(_0x12236c,_0x665fda):_0x12236c,_0x15f501=_0x428087['length']-0x1,_0x758ecd;_0x15f501>=0x0;_0x15f501--)(_0x758ecd=_0x428087[_0x15f501])&&(_0xe22dd1=_0x758ecd(_0xe22dd1)||_0xe22dd1);return _0xe22dd1;},sr=(_0x52845b,_0x10efb3)=>(_0x1f0ca5,_0x17dffd)=>_0x10efb3(_0x1f0ca5,_0x17dffd,_0x52845b);let Ne=class extends _0x8049fc{constructor(_0x49551b){const _0x225531=_0x2be760;super(),this[_0x225531(0x1d9)]=_0x49551b;}[_0x2be760(0x2af)](_0x121a3a){const _0x4c9a79=_0x2be760;var _0x15eb76;const _0x1226db=(_0x15eb76=this['_configService'][_0x4c9a79(0x2c5)](Be))==null?void 0x0:_0x15eb76['customHeaders'];try{const _0x497c29=new Qt(_0x121a3a,{'headers':{..._0x1226db}}),_0x483748=new _0x3f8217();return{'URL':_0x121a3a,'close':(_0x1c3505,_0x199bf6)=>{const _0x1065d8=_0x4c9a79;_0x497c29[_0x1065d8(0x163)](_0x1c3505,_0x199bf6),_0x483748[_0x1065d8(0x1e4)]();},'send':_0x4156dd=>{_0x497c29['send'](_0x4156dd);},'open$':new _0x58fb35(_0x3e7034=>{const _0x536e38=_0x4c9a79,_0x5e7c9d=_0x48281b=>_0x3e7034[_0x536e38(0x2f7)](_0x48281b);_0x497c29['addEventListener'](_0x536e38(0x217),_0x5e7c9d),_0x483748[_0x536e38(0x26b)](_0x167bb5(()=>_0x497c29[_0x536e38(0x1e2)]('open',_0x5e7c9d)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'close$':new _0x58fb35(_0x5d9f2f=>{const _0x3c6ff3=_0x4c9a79,_0x1d457d=_0x37787d=>_0x5d9f2f['next'](_0x37787d);_0x497c29[_0x3c6ff3(0x275)](_0x3c6ff3(0x163),_0x1d457d),_0x483748[_0x3c6ff3(0x26b)](_0x167bb5(()=>_0x497c29[_0x3c6ff3(0x1e2)]('close',_0x1d457d)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'error$':new _0x58fb35(_0x149094=>{const _0x3c6bea=_0x4c9a79,_0x752647=_0x21a89c=>_0x149094[_0x3c6bea(0x2f7)](_0x21a89c);_0x497c29[_0x3c6bea(0x275)](_0x3c6bea(0x2ca),_0x752647),_0x483748[_0x3c6bea(0x26b)](_0x167bb5(()=>_0x497c29[_0x3c6bea(0x1e2)]('error',_0x752647)));})[_0x4c9a79(0x250)](_0x4a2ca8()),'message$':new _0x58fb35(_0xfab73a=>{const _0x2c5cb5=_0x4c9a79,_0x4602cc=_0x31a05d=>_0xfab73a['next'](_0x31a05d);_0x497c29[_0x2c5cb5(0x275)](_0x2c5cb5(0x2b7),_0x4602cc),_0x483748[_0x2c5cb5(0x26b)](_0x167bb5(()=>_0x497c29[_0x2c5cb5(0x1e2)](_0x2c5cb5(0x2b7),_0x4602cc)));})[_0x4c9a79(0x250)](_0x4a2ca8())};}catch(_0x505158){return console['error'](_0x505158),null;}}};Ne=rr([sr(0x0,_0x564e89)],Ne);var ir=Object[_0x2be760(0x27f)],nr=Object[_0x2be760(0x26e)],or=(_0x32c456,_0x45f696,_0x4492d7)=>_0x45f696 in _0x32c456?ir(_0x32c456,_0x45f696,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4492d7}):_0x32c456[_0x45f696]=_0x4492d7,ar=(_0x830378,_0x4ce193,_0x435028,_0x2e6022)=>{const _0x26f25e=_0x2be760;for(var _0x5bf538=_0x2e6022>0x1?void 0x0:_0x2e6022?nr(_0x4ce193,_0x435028):_0x4ce193,_0x33d4a5=_0x830378[_0x26f25e(0x2e4)]-0x1,_0xdd348c;_0x33d4a5>=0x0;_0x33d4a5--)(_0xdd348c=_0x830378[_0x33d4a5])&&(_0x5bf538=_0xdd348c(_0x5bf538)||_0x5bf538);return _0x5bf538;},ke=(_0x560c94,_0xdcf64d)=>(_0x54c319,_0x3a6a0c)=>_0xdcf64d(_0x54c319,_0x3a6a0c,_0x560c94),lr=(_0x4589fb,_0x38ee4a,_0x23b3e2)=>or(_0x4589fb,_0x38ee4a+'',_0x23b3e2);let Pe=class extends _0x437e11{constructor(_0x2b1533=Ft,_0x1275a3,_0x40e2b5,_0x3738e3){const _0x5f2941=_0x2be760;_0x2b1533[_0x5f2941(0x237)]||_0x1275a3[_0x5f2941(0x21e)](_0x5f2941(0x1da)),super(),this['_configService']=_0x40e2b5,this[_0x5f2941(0x1fc)]=_0x3738e3,this[_0x5f2941(0x1d9)][_0x5f2941(0x186)](Be,_0x2b1533);}[_0x2be760(0x270)](){const _0x27964e=_0x2be760;this[_0x27964e(0x1fd)]();}[_0x2be760(0x1fd)](){const _0x17cdd2=_0x2be760;_0x39a857(this[_0x17cdd2(0x1fc)],[[_0x2cd92e,{'useClass':Ne}]]);}};lr(Pe,_0x2be760(0x281),_0x2be760(0x2a9)),Pe=ar([_0x1d2a15(_0x3874b0),ke(0x1,_0x3edcea),ke(0x2,_0x564e89),ke(0x3,_0x32c0bd(_0x3c9806))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x3b2651,_0xa4e63a,_0x5a2685,_0x4ca73d)=>{const _0x2c7e0d=_0x2be760;for(var _0x4811b9=_0x4ca73d>0x1?void 0x0:_0x4ca73d?fr(_0xa4e63a,_0x5a2685):_0xa4e63a,_0x3af09d=_0x3b2651[_0x2c7e0d(0x2e4)]-0x1,_0x36461a;_0x3af09d>=0x0;_0x3af09d--)(_0x36461a=_0x3b2651[_0x3af09d])&&(_0x4811b9=_0x36461a(_0x4811b9)||_0x4811b9);return _0x4811b9;},se=(_0xb799c1,_0x51623e)=>(_0x41916d,_0xdf3342)=>_0x51623e(_0x41916d,_0xdf3342,_0xb799c1);let at=class extends _0x5ededa{constructor(_0x4329e0,_0xaa3f8b,_0x3298f9,_0xed1499,_0x534b68){const _0x4f70d8=_0x2be760;super(_0x4329e0,_0xaa3f8b,_0x3298f9,_0xed1499,_0x534b68);const _0x2dbf21=this['_configService'][_0x4f70d8(0x2c5)](Be);this[_0x4f70d8(0x2e2)][_0x4f70d8(0x24e)]({'interceptor':(_0x385699,_0x1b4d5a)=>{const _0x412834=_0x4f70d8;var _0x16c02e;const _0x9dfdc0=_0x385699['headers'];return(_0x16c02e=_0x2dbf21==null?void 0x0:_0x2dbf21[_0x412834(0x237)])!=null&&_0x16c02e[_0x412834(0x251)]&&_0x9dfdc0[_0x412834(0x2a5)](_0x412834(0x1ec),_0x2dbf21[_0x412834(0x237)][_0x412834(0x251)]),_0x1b4d5a(_0x385699);}});}async[_0x2be760(0x2af)](_0x279691){const _0x4e36fb=_0x2be760;return this[_0x4e36fb(0x296)](_0x279691);}};at=cr([se(0x0,_0x32c0bd(_0x3c9806)),se(0x1,_0x32c0bd(_0xd764a3)),se(0x2,_0x564e89),se(0x3,_0x3edcea),se(0x4,_0x1ca723)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x3d72a4=_0x1936;(function(_0x2d622f,_0x3df8d6){const _0x3076b5=_0x1936,_0x300506=_0x2d622f();while(!![]){try{const _0x13bd00=-parseInt(_0x3076b5(0x113))/0x1+-parseInt(_0x3076b5(0x295))/0x2*(parseInt(_0x3076b5(0x1ce))/0x3)+-parseInt(_0x3076b5(0x1d1))/0x4+parseInt(_0x3076b5(0x256))/0x5+-parseInt(_0x3076b5(0x231))/0x6+parseInt(_0x3076b5(0x19d))/0x7*(parseInt(_0x3076b5(0x289))/0x8)+-parseInt(_0x3076b5(0x142))/0x9*(-parseInt(_0x3076b5(0x20d))/0xa);if(_0x13bd00===_0x3df8d6)break;else _0x300506['push'](_0x300506['shift']());}catch(_0x4e46ee){_0x300506['push'](_0x300506['shift']());}}}(_0x9d89,0xac227));import{UniverCollaborationClientPlugin as _0x60d295,CollaborationSocketService as _0x4cda74}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2eea3c,DisposableCollection as _0x51fa6b,toDisposable as _0x291a13,IConfigService as _0x16db79,DependentOn as _0x1adaff,ILogService as _0x1d04d4,Inject as _0x302347,Injector as _0x3595c3,Plugin as _0x2ca593,registerDependencies as _0x34b9fc}from'@univerjs/core';import{ISocketService as _0x44f3db,HTTPService as _0x48bd27}from'@univerjs/network';function _0x9d89(){const _0x2d42ba=['UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_masked','Sec-WebSocket-Extensions:\x20','WS_NO_BUFFER_UTIL','HTTP/1.1\x20101\x20Switching\x20Protocols','Unsupported\x20protocol\x20version:\x20','error','invalid\x20opcode\x20','_socket','reason','defineProperty','_compressed','_removeListeners','listening','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dispose','map','normalizeParams','Unexpected\x20server\x20response:\x20','_closeCode','authorization','servername','Upgrade','_allowSynchronousEvents','https:','_bufferedBytes','size','endEmitted','arraybuffer','update','send','Sec-WebSocket-Accept:\x20','string','consume','abort','serverMaxWindowBits','createError','getConfig','emitClose','customHeaders','kError','followRedirects','kTarget','wss:','nextTick','total-length','backlog','sec-websocket-protocol','7dWjSGK','Sec-WebSocket-Protocol','object','Unexpected\x20end\x20of\x20input','_final','env','_writableState','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','\x0d\x0a\x0d\x0a','getMask','sec-websocket-origin','removeEventListener','WebSocket','handshakeTimeout','skipUTF8Validation','readyState','hasOwnProperty','get','_originalIpc','_totalPayloadLength','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_readyState','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','toString','clientNoContextTakeover','_opcode','_fragments','_registerDependencies','_injector','isPaused','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_messageLength','indexOf','unmask','concat','kWasClean','finish','_doCreateSocket','default','The\x20\x22','_fin','dataMessage','defaultPort','conclude','invalid\x20status\x20code\x20','_url','socket','WS_ERR_INVALID_OPCODE','compress','27DcKrYp','OPEN','allowSynchronousEvents','3801348lUftOV','number','Z_DEFAULT_WINDOWBITS','WS_ERR_INVALID_UTF8','upgrade','sec-websocket-key','Opening\x20handshake\x20has\x20timed\x20out','listen','byteOffset','hostname','onerror','href','kRun','apply','write','freeze','add','File','entries','zlibDeflateOptions','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_options','Unknown\x20parameter\x20\x22','setNoDelay','controlMessage','setTimeout','readUInt16BE','fin','alloc','verifyClient','unshift','Module','Parameter\x20\x22','protocol','_payloadLength','split','_state','parse','getData','http:','hash','keys','Maximum\x20redirects\x20exceeded','join','binaryType','mask','clients','response','open','getOwnPropertyDescriptor','websocket','arrayBuffer','accept','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','wsClientError','onopen','pong','wasClean','encrypted','_binaryType','60ZfNmLF','has','server_no_context_takeover','statusCode','FIN\x20must\x20be\x20set','from','bind','WS_ERR_UNEXPECTED_RSV_1','concurrencyLimit','serverNoContextTakeover','blob','WS_ERR_UNEXPECTED_RSV_2_3','_mask','offer','onStarting','createConnection','pluginName','Invalid\x20HTTP\x20method','needDrain','buffer','Sec-WebSocket-Origin','isIP','redirect','_decompress','isArray','_read','request','_firstFragment','Upgrade:\x20websocket','Sec-WebSocket-Protocol:\x20','readUInt32BE','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_INVALID_CLOSE_CODE','enqueue','maskBuffer','_req','990258jioUKy','rsv1','create','handleProtocols','toLowerCase','WS_ERR_EXPECTED_MASK','handleEvent','destroy','kType','data','buffers','errorEmitted','Connection:\x20Upgrade','shift','finished','species','isValidUTF8','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','writeUInt16BE','clientTracking','Cookie','_shouldEmitClose','onmessage','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','password','_deflate','_fragmented','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','base64','text/plain','sha1','startsWith','perMessageDeflate','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','exports','emit','_maxPayload','6833120AmenPP','startLoop','isServer','threshold','createInflateRaw','readable','charCodeAt','haveLength','_generateMask','timeout','sec-websocket-version','_queue','_max_window_bits','Invalid\x20URL:\x20','authorized','includes','_inflate','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','HTTP/1.1\x20','cleanup','setSocket','port','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_skipUTF8Validation','drain','extensions','nodebuffer','concurrency','kByteLength','frame','CONNECTING','_receiver','length','writeHead','once','invalid\x20UTF-8\x20sequence','_compress','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','resume','options','shouldHandle','_closeMessage','destroyed','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','readOnly','_no_context_takeover','reset','generateMask','GET','CLOSING','ws:','9160720ZklDTg','sec-websocket-accept','Server\x20sent\x20an\x20invalid\x20subprotocol','construct','close','constructor','socketPath','acceptAsServer','_extensions','kIsForOnEventAttribute','then','end','256556wLLNZx','decompress','WS_ERR_EXPECTED_FIN','host','_write','function','permessage-deflate','CLOSED','\x20(supported\x20versions:\x20','uncork','server_max_window_bits','removeListener','find','_originalHostOrSocketPath','extensionName','_loop','_bufferedAmount','Z_SYNC_FLUSH','pending','listeners','_sender','collaboration-client-node.config','Invalid\x20value\x20for\x20parameter\x20\x22','opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_autoPong','__esModule','completeUpgrade','toStringTag','type','addEventListener','fragments','autoPong','ping','test','params','\x22\x20subprotocol\x20is\x20duplicated','_paused','MASK\x20must\x20be\x20clear','listenerCount','flush','createSocket','WS_ERR_UNEXPECTED_MASK','finishRequest','_maskBuffer','_closeFrameSent','byteLength','registerHTTPInterceptor','Invalid\x20Sec-WebSocket-Accept\x20header','688439ZIAodF','isInteger','cookie','terminate','noServer','MASK\x20must\x20be\x20set','sec-websocket-extensions','catch','STATUS_CODES','_errorEmitted','client','_protocol','_closeFrameReceived','getBlobData','connect','RSV1\x20must\x20be\x20clear','kMessage','pow','allocUnsafe','callback','dequeue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','connection','Sec-WebSocket-Extensions','sendFrame','pathname','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','next','headers','jobs','delete','push','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','digest','forEach','client_max_window_bits','_threshold','objectMode','server','kCode','onclose','_buffers','kReason','username','bufferedAmount','WS_NO_UTF_8_VALIDATE','_server','1727505MvJvaY','_configService','getInfo','auth','set','code','createDeflateRaw','format','Max\x20payload\x20size\x20exceeded','acceptAsClient','_redirects','client_no_context_takeover','handleUpgrade','prototype','pause','Invalid\x20Sec-WebSocket-Extensions\x20header','getPayloadLength16','Unexpected\x20character\x20at\x20index\x20','slice','call','_destroy','cork','_errored','_isServer','Invalid\x20Upgrade\x20header','_closeTimer','dispatch','url','pipe','origin','address','protocolVersion','maxRedirects','path','clientMaxWindowBits','Invalid\x20Sec-WebSocket-Protocol\x20header','setConfig','value','\x22:\x20','maxPayload','message'];_0x9d89=function(){return _0x2d42ba;};return _0x9d89();}import{Observable as _0x556061,share as _0x4fe541}from'rxjs';import _0x268bbd from'events';import _0x3d52ba from'https';import _0x3896f7 from'http';import _0x123a29 from'net';import _0x132984 from'tls';import _0x4426fe from'crypto';import _0x148c11 from'stream';import _0x3435c0 from'url';import _0x4c125b from'zlib';import _0x485b16 from'buffer';import{ISnapshotServerService as _0x17190c}from'@univerjs-pro/collaboration';const Be=_0x3d72a4(0xf7),Ft={'customHeaders':{}};function jt(_0x28e17a){const _0x211b2c=_0x3d72a4;return _0x28e17a&&_0x28e17a['__esModule']&&Object[_0x211b2c(0x14f)][_0x211b2c(0x1ad)][_0x211b2c(0x155)](_0x28e17a,'default')?_0x28e17a['default']:_0x28e17a;}function ut(_0x5d2802){const _0x3d205f=_0x3d72a4;if(Object[_0x3d205f(0x14f)][_0x3d205f(0x1ad)][_0x3d205f(0x155)](_0x5d2802,_0x3d205f(0xfc)))return _0x5d2802;var _0x1fbbdf=_0x5d2802[_0x3d205f(0x1c3)];if(typeof _0x1fbbdf==_0x3d205f(0x29a)){var _0x22028a=function _0x5b85bf(){const _0x1542e6=_0x3d205f;return this instanceof _0x5b85bf?Reflect[_0x1542e6(0x28c)](_0x1fbbdf,arguments,this[_0x1542e6(0x28e)]):_0x1fbbdf[_0x1542e6(0x1de)](this,arguments);};_0x22028a[_0x3d205f(0x14f)]=_0x1fbbdf['prototype'];}else _0x22028a={};return Object[_0x3d205f(0x175)](_0x22028a,_0x3d205f(0xfc),{'value':!0x0}),Object[_0x3d205f(0x1fa)](_0x5d2802)[_0x3d205f(0x135)](function(_0x40ab3e){const _0x3fb14f=_0x3d205f;var _0x26e923=Object[_0x3fb14f(0x202)](_0x5d2802,_0x40ab3e);Object['defineProperty'](_0x22028a,_0x40ab3e,_0x26e923[_0x3fb14f(0x1ae)]?_0x26e923:{'enumerable':!0x0,'get':function(){return _0x5d2802[_0x40ab3e];}});}),_0x22028a;}var te={'exports':{}},ge,Ye;function V(){const _0x2c62b0=_0x3d72a4;if(Ye)return ge;Ye=0x1;const _0xfa419a=[_0x2c62b0(0x270),'arraybuffer',_0x2c62b0(0x101)],_0x2c4285=typeof Blob<'u';return _0x2c4285&&_0xfa419a[_0x2c62b0(0x132)]('blob'),ge={'BINARY_TYPES':_0xfa419a,'EMPTY_BUFFER':Buffer[_0x2c62b0(0x1ed)](0x0),'GUID':_0x2c62b0(0x248),'hasBlob':_0x2c4285,'kForOnEventAttribute':Symbol(_0x2c62b0(0x292)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x3d72a4(0x1e0)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x3d72a4(0xfe)],{'value':_0x3d72a4(0x1f0)})),Vt=ut(Gt);var Ke;function ce(){const _0x2c473f=_0x3d72a4;if(Ke)return te[_0x2c473f(0x253)];Ke=0x1;const {EMPTY_BUFFER:_0x5078b1}=V(),_0x301450=Buffer[Symbol[_0x2c473f(0x240)]];function _0x20034f(_0x15f6d0,_0x2b4676){const _0x569621=_0x2c473f;if(_0x15f6d0[_0x569621(0x276)]===0x0)return _0x5078b1;if(_0x15f6d0['length']===0x1)return _0x15f6d0[0x0];const _0x4efd69=Buffer[_0x569621(0x125)](_0x2b4676);let _0x19b75c=0x0;for(let _0x43f09b=0x0;_0x43f09b<_0x15f6d0[_0x569621(0x276)];_0x43f09b++){const _0x11c561=_0x15f6d0[_0x43f09b];_0x4efd69[_0x569621(0x146)](_0x11c561,_0x19b75c),_0x19b75c+=_0x11c561[_0x569621(0x276)];}return _0x19b75c<_0x2b4676?new _0x301450(_0x4efd69[_0x569621(0x220)],_0x4efd69[_0x569621(0x1d9)],_0x19b75c):_0x4efd69;}function _0x3d90c3(_0xc6f31d,_0x1d5c50,_0x3fd7e2,_0x4179e8,_0x15002b){for(let _0x2feb86=0x0;_0x2feb86<_0x15002b;_0x2feb86++)_0x3fd7e2[_0x4179e8+_0x2feb86]=_0xc6f31d[_0x2feb86]^_0x1d5c50[_0x2feb86&0x3];}function _0x5bee83(_0x14163d,_0x1af556){const _0x5ab6eb=_0x2c473f;for(let _0x253dd2=0x0;_0x253dd2<_0x14163d[_0x5ab6eb(0x276)];_0x253dd2++)_0x14163d[_0x253dd2]^=_0x1af556[_0x253dd2&0x3];}function _0x285fcb(_0x319438){const _0x4657aa=_0x2c473f;return _0x319438[_0x4657aa(0x276)]===_0x319438[_0x4657aa(0x220)][_0x4657aa(0x110)]?_0x319438['buffer']:_0x319438[_0x4657aa(0x220)][_0x4657aa(0x154)](_0x319438[_0x4657aa(0x1d9)],_0x319438[_0x4657aa(0x1d9)]+_0x319438['length']);}function _0x551ca4(_0x48e4de){const _0x202ad2=_0x2c473f;if(_0x551ca4[_0x202ad2(0x282)]=!0x0,Buffer['isBuffer'](_0x48e4de))return _0x48e4de;let _0x575c8c;return _0x48e4de instanceof ArrayBuffer?_0x575c8c=new _0x301450(_0x48e4de):ArrayBuffer['isView'](_0x48e4de)?_0x575c8c=new _0x301450(_0x48e4de[_0x202ad2(0x220)],_0x48e4de[_0x202ad2(0x1d9)],_0x48e4de[_0x202ad2(0x110)]):(_0x575c8c=Buffer[_0x202ad2(0x212)](_0x48e4de),_0x551ca4['readOnly']=!0x1),_0x575c8c;}if(te['exports']={'concat':_0x20034f,'mask':_0x3d90c3,'toArrayBuffer':_0x285fcb,'toBuffer':_0x551ca4,'unmask':_0x5bee83},!process['env'][_0x2c473f(0x16e)])try{const _0x2423d1=Vt;te['exports'][_0x2c473f(0x1fe)]=function(_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f){_0x28b59f<0x30?_0x3d90c3(_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f):_0x2423d1['mask'](_0x4b339f,_0x224dc9,_0x48b90c,_0xdd3360,_0x28b59f);},te[_0x2c473f(0x253)]['unmask']=function(_0x37cdbe,_0x12a578){const _0x324b61=_0x2c473f;_0x37cdbe[_0x324b61(0x276)]<0x20?_0x5bee83(_0x37cdbe,_0x12a578):_0x2423d1[_0x324b61(0x1be)](_0x37cdbe,_0x12a578);};}catch{}return te[_0x2c473f(0x253)];}var ye,Xe;function qt(){const _0x4e11f2=_0x3d72a4;if(Xe)return ye;Xe=0x1;const _0x587c23=Symbol('kDone'),_0x594e8f=Symbol(_0x4e11f2(0x1dd));class _0x373e2c{constructor(_0xb46def){const _0x5d3248=_0x4e11f2;this[_0x587c23]=()=>{const _0x423fe0=_0x1936;this[_0x423fe0(0xf4)]--,this[_0x594e8f]();},this[_0x5d3248(0x271)]=_0xb46def||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x4e11f2(0x1e1)](_0x18b56e){const _0x1f7216=_0x4e11f2;this[_0x1f7216(0x130)][_0x1f7216(0x132)](_0x18b56e),this[_0x594e8f]();}[_0x594e8f](){const _0x1b33b1=_0x4e11f2;if(this[_0x1b33b1(0xf4)]!==this['concurrency']&&this[_0x1b33b1(0x130)]['length']){const _0x1432f9=this[_0x1b33b1(0x130)][_0x1b33b1(0x23e)]();this[_0x1b33b1(0xf4)]++,_0x1432f9(this[_0x587c23]);}}}return ye=_0x373e2c,ye;}var ve,Ze;function he(){const _0x16f592=_0x3d72a4;if(Ze)return ve;Ze=0x1;const _0x18b9e4=_0x4c125b,_0x49e1d4=ce(),_0xc5d45c=qt(),{kStatusCode:_0x512788}=V(),_0x14229b=Buffer[Symbol[_0x16f592(0x240)]],_0x2e4d5f=Buffer[_0x16f592(0x212)]([0x0,0x0,0xff,0xff]),_0x23be80=Symbol(_0x16f592(0x29b)),_0x5721ab=Symbol(_0x16f592(0x19a)),_0x1d583d=Symbol(_0x16f592(0x126)),_0x2ce54e=Symbol(_0x16f592(0x23b)),_0x59ef1a=Symbol(_0x16f592(0x171));let _0x5ccc5f;class _0x5458be{constructor(_0x307d6f,_0x1bcc5f,_0x504e0b){const _0x599c7c=_0x16f592;if(this[_0x599c7c(0x255)]=_0x504e0b|0x0,this[_0x599c7c(0x1e6)]=_0x307d6f||{},this[_0x599c7c(0x137)]=this[_0x599c7c(0x1e6)]['threshold']!==void 0x0?this['_options'][_0x599c7c(0x259)]:0x400,this[_0x599c7c(0x159)]=!!_0x1bcc5f,this[_0x599c7c(0x24a)]=null,this['_inflate']=null,this[_0x599c7c(0x105)]=null,!_0x5ccc5f){const _0x5465af=this[_0x599c7c(0x1e6)][_0x599c7c(0x215)]!==void 0x0?this[_0x599c7c(0x1e6)][_0x599c7c(0x215)]:0xa;_0x5ccc5f=new _0xc5d45c(_0x5465af);}}static get[_0x16f592(0x2a3)](){const _0x512c8e=_0x16f592;return _0x512c8e(0x29b);}[_0x16f592(0x21a)](){const _0x130da3=_0x16f592,_0x1051a0={};return this['_options']['serverNoContextTakeover']&&(_0x1051a0[_0x130da3(0x20f)]=!0x0),this['_options'][_0x130da3(0x1b5)]&&(_0x1051a0[_0x130da3(0x14d)]=!0x0),this[_0x130da3(0x1e6)][_0x130da3(0x190)]&&(_0x1051a0[_0x130da3(0x29f)]=this[_0x130da3(0x1e6)][_0x130da3(0x190)]),this[_0x130da3(0x1e6)][_0x130da3(0x164)]?_0x1051a0[_0x130da3(0x136)]=this[_0x130da3(0x1e6)][_0x130da3(0x164)]:this[_0x130da3(0x1e6)][_0x130da3(0x164)]==null&&(_0x1051a0['client_max_window_bits']=!0x0),_0x1051a0;}[_0x16f592(0x205)](_0x2606a5){const _0x2d4dd9=_0x16f592;return _0x2606a5=this[_0x2d4dd9(0x17e)](_0x2606a5),this[_0x2d4dd9(0x105)]=this[_0x2d4dd9(0x159)]?this[_0x2d4dd9(0x290)](_0x2606a5):this['acceptAsClient'](_0x2606a5),this['params'];}[_0x16f592(0x269)](){const _0x3d3dfc=_0x16f592;if(this[_0x3d3dfc(0x266)]&&(this[_0x3d3dfc(0x266)][_0x3d3dfc(0x28d)](),this[_0x3d3dfc(0x266)]=null),this[_0x3d3dfc(0x24a)]){const _0x5acf6b=this[_0x3d3dfc(0x24a)][_0x1d583d];this[_0x3d3dfc(0x24a)][_0x3d3dfc(0x28d)](),this[_0x3d3dfc(0x24a)]=null,_0x5acf6b&&_0x5acf6b(new Error(_0x3d3dfc(0x1b1)));}}[_0x16f592(0x290)](_0x55adf2){const _0x21c2f4=_0x16f592,_0x4faaa0=this[_0x21c2f4(0x1e6)],_0x3fdced=_0x55adf2[_0x21c2f4(0x2a1)](_0x3864c8=>!(_0x4faaa0[_0x21c2f4(0x216)]===!0x1&&_0x3864c8['server_no_context_takeover']||_0x3864c8[_0x21c2f4(0x29f)]&&(_0x4faaa0[_0x21c2f4(0x190)]===!0x1||typeof _0x4faaa0[_0x21c2f4(0x190)]==_0x21c2f4(0x1d2)&&_0x4faaa0[_0x21c2f4(0x190)]>_0x3864c8[_0x21c2f4(0x29f)])||typeof _0x4faaa0[_0x21c2f4(0x164)]==_0x21c2f4(0x1d2)&&!_0x3864c8[_0x21c2f4(0x136)]));if(!_0x3fdced)throw new Error(_0x21c2f4(0x1b3));return _0x4faaa0[_0x21c2f4(0x216)]&&(_0x3fdced[_0x21c2f4(0x20f)]=!0x0),_0x4faaa0[_0x21c2f4(0x1b5)]&&(_0x3fdced[_0x21c2f4(0x14d)]=!0x0),typeof _0x4faaa0[_0x21c2f4(0x190)]==_0x21c2f4(0x1d2)&&(_0x3fdced[_0x21c2f4(0x29f)]=_0x4faaa0[_0x21c2f4(0x190)]),typeof _0x4faaa0[_0x21c2f4(0x164)]==_0x21c2f4(0x1d2)?_0x3fdced[_0x21c2f4(0x136)]=_0x4faaa0[_0x21c2f4(0x164)]:(_0x3fdced['client_max_window_bits']===!0x0||_0x4faaa0[_0x21c2f4(0x164)]===!0x1)&&delete _0x3fdced[_0x21c2f4(0x136)],_0x3fdced;}[_0x16f592(0x14b)](_0x571c1b){const _0x273082=_0x16f592,_0x38239a=_0x571c1b[0x0];if(this[_0x273082(0x1e6)][_0x273082(0x1b5)]===!0x1&&_0x38239a['client_no_context_takeover'])throw new Error(_0x273082(0x242));if(!_0x38239a[_0x273082(0x136)])typeof this[_0x273082(0x1e6)][_0x273082(0x164)]==_0x273082(0x1d2)&&(_0x38239a[_0x273082(0x136)]=this[_0x273082(0x1e6)][_0x273082(0x164)]);else{if(this[_0x273082(0x1e6)]['clientMaxWindowBits']===!0x1||typeof this[_0x273082(0x1e6)][_0x273082(0x164)]==_0x273082(0x1d2)&&_0x38239a[_0x273082(0x136)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x38239a;}['normalizeParams'](_0x179f85){const _0x191a2d=_0x16f592;return _0x179f85[_0x191a2d(0x135)](_0x49df66=>{const _0x38d637=_0x191a2d;Object[_0x38d637(0x1fa)](_0x49df66)[_0x38d637(0x135)](_0xd48377=>{const _0x288796=_0x38d637;let _0x4e0fc4=_0x49df66[_0xd48377];if(_0x4e0fc4[_0x288796(0x276)]>0x1)throw new Error(_0x288796(0x1f1)+_0xd48377+_0x288796(0x128));if(_0x4e0fc4=_0x4e0fc4[0x0],_0xd48377===_0x288796(0x136)){if(_0x4e0fc4!==!0x0){const _0x37f81b=+_0x4e0fc4;if(!Number[_0x288796(0x114)](_0x37f81b)||_0x37f81b<0x8||_0x37f81b>0xf)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);_0x4e0fc4=_0x37f81b;}else{if(!this[_0x288796(0x159)])throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);}}else{if(_0xd48377===_0x288796(0x29f)){const _0x24cab4=+_0x4e0fc4;if(!Number['isInteger'](_0x24cab4)||_0x24cab4<0x8||_0x24cab4>0xf)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);_0x4e0fc4=_0x24cab4;}else{if(_0xd48377==='client_no_context_takeover'||_0xd48377===_0x288796(0x20f)){if(_0x4e0fc4!==!0x0)throw new TypeError(_0x288796(0xf8)+_0xd48377+_0x288796(0x168)+_0x4e0fc4);}else throw new Error(_0x288796(0x1e7)+_0xd48377+'\x22');}}_0x49df66[_0xd48377]=_0x4e0fc4;});}),_0x179f85;}[_0x16f592(0x296)](_0x401b1a,_0x39da6f,_0x255691){const _0x3355e4=_0x16f592;_0x5ccc5f[_0x3355e4(0x1e1)](_0x103dd3=>{const _0x47c519=_0x3355e4;this[_0x47c519(0x224)](_0x401b1a,_0x39da6f,(_0x364940,_0x56c706)=>{_0x103dd3(),_0x255691(_0x364940,_0x56c706);});});}['compress'](_0x588b72,_0x51b29d,_0x5b44fa){const _0xd210a5=_0x16f592;_0x5ccc5f[_0xd210a5(0x1e1)](_0x5936ed=>{const _0x12a8b8=_0xd210a5;this[_0x12a8b8(0x27a)](_0x588b72,_0x51b29d,(_0x4139b1,_0x3a9271)=>{_0x5936ed(),_0x5b44fa(_0x4139b1,_0x3a9271);});});}[_0x16f592(0x224)](_0x58e1ab,_0xad6b4,_0x57ba1f){const _0xbf60a2=_0x16f592,_0x1c9300=this[_0xbf60a2(0x159)]?_0xbf60a2(0x11d):_0xbf60a2(0x139);if(!this[_0xbf60a2(0x266)]){const _0x2dcc0b=_0x1c9300+'_max_window_bits',_0x4919c5=typeof this[_0xbf60a2(0x105)][_0x2dcc0b]!=_0xbf60a2(0x1d2)?_0x18b9e4[_0xbf60a2(0x1d3)]:this[_0xbf60a2(0x105)][_0x2dcc0b];this[_0xbf60a2(0x266)]=_0x18b9e4[_0xbf60a2(0x25a)]({...this[_0xbf60a2(0x1e6)]['zlibInflateOptions'],'windowBits':_0x4919c5}),this[_0xbf60a2(0x266)][_0x23be80]=this,this['_inflate'][_0x5721ab]=0x0,this[_0xbf60a2(0x266)][_0x2ce54e]=[],this[_0xbf60a2(0x266)]['on'](_0xbf60a2(0x171),_0x5f2455),this[_0xbf60a2(0x266)]['on'](_0xbf60a2(0x23a),_0x51d2c8);}this[_0xbf60a2(0x266)][_0x1d583d]=_0x57ba1f,this['_inflate']['write'](_0x58e1ab),_0xad6b4&&this[_0xbf60a2(0x266)][_0xbf60a2(0x1df)](_0x2e4d5f),this['_inflate'][_0xbf60a2(0x10a)](()=>{const _0x1a0bb0=_0xbf60a2,_0x35385c=this[_0x1a0bb0(0x266)][_0x59ef1a];if(_0x35385c){this[_0x1a0bb0(0x266)][_0x1a0bb0(0x28d)](),this[_0x1a0bb0(0x266)]=null,_0x57ba1f(_0x35385c);return;}const _0x1b0459=_0x49e1d4[_0x1a0bb0(0x1bf)](this[_0x1a0bb0(0x266)][_0x2ce54e],this[_0x1a0bb0(0x266)][_0x5721ab]);this['_inflate'][_0x1a0bb0(0x17a)][_0x1a0bb0(0x188)]?(this['_inflate']['close'](),this[_0x1a0bb0(0x266)]=null):(this[_0x1a0bb0(0x266)][_0x5721ab]=0x0,this[_0x1a0bb0(0x266)][_0x2ce54e]=[],_0xad6b4&&this[_0x1a0bb0(0x105)][_0x1c9300+_0x1a0bb0(0x283)]&&this['_inflate'][_0x1a0bb0(0x284)]()),_0x57ba1f(null,_0x1b0459);});}[_0x16f592(0x27a)](_0xf10ed7,_0x337dd0,_0x52df7c){const _0x1b66a6=_0x16f592,_0xd9ea38=this[_0x1b66a6(0x159)]?_0x1b66a6(0x139):_0x1b66a6(0x11d);if(!this[_0x1b66a6(0x24a)]){const _0x615d51=_0xd9ea38+_0x1b66a6(0x262),_0x3b73bf=typeof this[_0x1b66a6(0x105)][_0x615d51]!=_0x1b66a6(0x1d2)?_0x18b9e4['Z_DEFAULT_WINDOWBITS']:this[_0x1b66a6(0x105)][_0x615d51];this['_deflate']=_0x18b9e4[_0x1b66a6(0x148)]({...this[_0x1b66a6(0x1e6)][_0x1b66a6(0x1e4)],'windowBits':_0x3b73bf}),this[_0x1b66a6(0x24a)][_0x5721ab]=0x0,this[_0x1b66a6(0x24a)][_0x2ce54e]=[],this[_0x1b66a6(0x24a)]['on']('data',_0x53d5be);}this[_0x1b66a6(0x24a)][_0x1d583d]=_0x52df7c,this[_0x1b66a6(0x24a)]['write'](_0xf10ed7),this['_deflate'][_0x1b66a6(0x10a)](_0x18b9e4[_0x1b66a6(0xf3)],()=>{const _0x3b349b=_0x1b66a6;if(!this[_0x3b349b(0x24a)])return;let _0x1b7c84=_0x49e1d4[_0x3b349b(0x1bf)](this[_0x3b349b(0x24a)][_0x2ce54e],this[_0x3b349b(0x24a)][_0x5721ab]);_0x337dd0&&(_0x1b7c84=new _0x14229b(_0x1b7c84[_0x3b349b(0x220)],_0x1b7c84['byteOffset'],_0x1b7c84[_0x3b349b(0x276)]-0x4)),this[_0x3b349b(0x24a)][_0x1d583d]=null,this['_deflate'][_0x5721ab]=0x0,this['_deflate'][_0x2ce54e]=[],_0x337dd0&&this[_0x3b349b(0x105)][_0xd9ea38+'_no_context_takeover']&&this[_0x3b349b(0x24a)][_0x3b349b(0x284)](),_0x52df7c(null,_0x1b7c84);});}}ve=_0x5458be;function _0x53d5be(_0x2d19cd){const _0x489f35=_0x16f592;this[_0x2ce54e]['push'](_0x2d19cd),this[_0x5721ab]+=_0x2d19cd[_0x489f35(0x276)];}function _0x51d2c8(_0x522e79){const _0x10cb95=_0x16f592;if(this[_0x5721ab]+=_0x522e79['length'],this[_0x23be80][_0x10cb95(0x255)]<0x1||this[_0x5721ab]<=this[_0x23be80]['_maxPayload']){this[_0x2ce54e][_0x10cb95(0x132)](_0x522e79);return;}this[_0x59ef1a]=new RangeError(_0x10cb95(0x14a)),this[_0x59ef1a][_0x10cb95(0x147)]=_0x10cb95(0x179),this[_0x59ef1a][_0x512788]=0x3f1,this['removeListener'](_0x10cb95(0x23a),_0x51d2c8),this[_0x10cb95(0x284)]();}function _0x5f2455(_0x57e6e0){const _0x59d16b=_0x16f592;this[_0x23be80][_0x59d16b(0x266)]=null,_0x57e6e0[_0x512788]=0x3ef,this[_0x1d583d](_0x57e6e0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3d72a4(0x1e0)](Object[_0x3d72a4(0x175)]({'__proto__':null,'default':Ht},Symbol[_0x3d72a4(0xfe)],{'value':_0x3d72a4(0x1f0)})),Yt=ut(zt);var Qe;function _0x1936(_0x353f62,_0x29617a){const _0x9d895c=_0x9d89();return _0x1936=function(_0x1936ed,_0x3bb85b){_0x1936ed=_0x1936ed-0xf2;let _0x2fd340=_0x9d895c[_0x1936ed];return _0x2fd340;},_0x1936(_0x353f62,_0x29617a);}function ne(){const _0x2c7a11=_0x3d72a4;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x576056}=_0x485b16,{hasBlob:_0x543c95}=V(),_0x3f11ca=[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 _0xa8fee8(_0x591282){return _0x591282>=0x3e8&&_0x591282<=0x3f6&&_0x591282!==0x3ec&&_0x591282!==0x3ed&&_0x591282!==0x3ee||_0x591282>=0xbb8&&_0x591282<=0x1387;}function _0x464f15(_0x137167){const _0x42e867=_0x1936,_0x102ec3=_0x137167[_0x42e867(0x276)];let _0x41a8ba=0x0;for(;_0x41a8ba<_0x102ec3;)if((_0x137167[_0x41a8ba]&0x80)===0x0)_0x41a8ba++;else{if((_0x137167[_0x41a8ba]&0xe0)===0xc0){if(_0x41a8ba+0x1===_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba]&0xfe)===0xc0)return!0x1;_0x41a8ba+=0x2;}else{if((_0x137167[_0x41a8ba]&0xf0)===0xe0){if(_0x41a8ba+0x2>=_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x2]&0xc0)!==0x80||_0x137167[_0x41a8ba]===0xe0&&(_0x137167[_0x41a8ba+0x1]&0xe0)===0x80||_0x137167[_0x41a8ba]===0xed&&(_0x137167[_0x41a8ba+0x1]&0xe0)===0xa0)return!0x1;_0x41a8ba+=0x3;}else{if((_0x137167[_0x41a8ba]&0xf8)===0xf0){if(_0x41a8ba+0x3>=_0x102ec3||(_0x137167[_0x41a8ba+0x1]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x2]&0xc0)!==0x80||(_0x137167[_0x41a8ba+0x3]&0xc0)!==0x80||_0x137167[_0x41a8ba]===0xf0&&(_0x137167[_0x41a8ba+0x1]&0xf0)===0x80||_0x137167[_0x41a8ba]===0xf4&&_0x137167[_0x41a8ba+0x1]>0x8f||_0x137167[_0x41a8ba]>0xf4)return!0x1;_0x41a8ba+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a8f25(_0x184182){const _0x28681c=_0x1936;return _0x543c95&&typeof _0x184182=='object'&&typeof _0x184182['arrayBuffer']=='function'&&typeof _0x184182[_0x28681c(0xff)]==_0x28681c(0x18d)&&typeof _0x184182['stream']==_0x28681c(0x29a)&&(_0x184182[Symbol[_0x28681c(0xfe)]]==='Blob'||_0x184182[Symbol[_0x28681c(0xfe)]]===_0x28681c(0x1e2));}if(re['exports']={'isBlob':_0x1a8f25,'isValidStatusCode':_0xa8fee8,'isValidUTF8':_0x464f15,'tokenChars':_0x3f11ca},_0x576056)re[_0x2c7a11(0x253)]['isValidUTF8']=function(_0x29af90){const _0x3bf881=_0x2c7a11;return _0x29af90[_0x3bf881(0x276)]<0x18?_0x464f15(_0x29af90):_0x576056(_0x29af90);};else{if(!process[_0x2c7a11(0x1a2)][_0x2c7a11(0x140)])try{const _0x18b61f=Yt;re[_0x2c7a11(0x253)][_0x2c7a11(0x241)]=function(_0xa49b5e){const _0x14937a=_0x2c7a11;return _0xa49b5e[_0x14937a(0x276)]<0x20?_0x464f15(_0xa49b5e):_0x18b61f(_0xa49b5e);};}catch{}}return re[_0x2c7a11(0x253)];}var Se,Je;function dt(){const _0x22bd18=_0x3d72a4;if(Je)return Se;Je=0x1;const {Writable:_0x248e0a}=_0x148c11,_0x45e423=he(),{BINARY_TYPES:_0x2f33b8,EMPTY_BUFFER:_0x4a53be,kStatusCode:_0x79685e,kWebSocket:_0x286900}=V(),{concat:_0x44e4f0,toArrayBuffer:_0x3729ad,unmask:_0xbafc00}=ce(),{isValidStatusCode:_0x5cc707,isValidUTF8:_0x34654b}=ne(),_0x3a7daa=Buffer[Symbol[_0x22bd18(0x240)]],_0x424152=0x0,_0x4ab9a7=0x1,_0x400bfb=0x2,_0x20cdce=0x3,_0x22df11=0x4,_0x4d1816=0x5,_0x33e106=0x6;class _0x41b8ca extends _0x248e0a{constructor(_0x8d9760={}){const _0x3d90f7=_0x22bd18;super(),this[_0x3d90f7(0x184)]=_0x8d9760[_0x3d90f7(0x1d0)]!==void 0x0?_0x8d9760[_0x3d90f7(0x1d0)]:!0x0,this[_0x3d90f7(0x20c)]=_0x8d9760[_0x3d90f7(0x1fd)]||_0x2f33b8[0x0],this[_0x3d90f7(0x291)]=_0x8d9760[_0x3d90f7(0x26f)]||{},this[_0x3d90f7(0x159)]=!!_0x8d9760[_0x3d90f7(0x258)],this[_0x3d90f7(0x255)]=_0x8d9760[_0x3d90f7(0x169)]|0x0,this['_skipUTF8Validation']=!!_0x8d9760['skipUTF8Validation'],this[_0x286900]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x3d90f7(0x1f3)]=0x0,this[_0x3d90f7(0x219)]=void 0x0,this[_0x3d90f7(0x24b)]=0x0,this[_0x3d90f7(0x16c)]=!0x1,this['_fin']=!0x1,this[_0x3d90f7(0x1b6)]=0x0,this[_0x3d90f7(0x1b0)]=0x0,this[_0x3d90f7(0x1bc)]=0x0,this[_0x3d90f7(0x1b7)]=[],this[_0x3d90f7(0x158)]=!0x1,this['_loop']=!0x1,this['_state']=_0x424152;}['_write'](_0x41737c,_0x28396b,_0x25bdf5){const _0x4c7ed3=_0x22bd18;if(this[_0x4c7ed3(0x1b6)]===0x8&&this[_0x4c7ed3(0x1f5)]==_0x424152)return _0x25bdf5();this[_0x4c7ed3(0x186)]+=_0x41737c[_0x4c7ed3(0x276)],this[_0x4c7ed3(0x13c)][_0x4c7ed3(0x132)](_0x41737c),this[_0x4c7ed3(0x257)](_0x25bdf5);}[_0x22bd18(0x18e)](_0x5d7d65){const _0x1c1db1=_0x22bd18;if(this[_0x1c1db1(0x186)]-=_0x5d7d65,_0x5d7d65===this[_0x1c1db1(0x13c)][0x0][_0x1c1db1(0x276)])return this[_0x1c1db1(0x13c)]['shift']();if(_0x5d7d65<this[_0x1c1db1(0x13c)][0x0][_0x1c1db1(0x276)]){const _0x48c54a=this['_buffers'][0x0];return this[_0x1c1db1(0x13c)][0x0]=new _0x3a7daa(_0x48c54a[_0x1c1db1(0x220)],_0x48c54a['byteOffset']+_0x5d7d65,_0x48c54a[_0x1c1db1(0x276)]-_0x5d7d65),new _0x3a7daa(_0x48c54a['buffer'],_0x48c54a[_0x1c1db1(0x1d9)],_0x5d7d65);}const _0x564099=Buffer[_0x1c1db1(0x125)](_0x5d7d65);do{const _0x36b485=this[_0x1c1db1(0x13c)][0x0],_0x53a045=_0x564099[_0x1c1db1(0x276)]-_0x5d7d65;_0x5d7d65>=_0x36b485['length']?_0x564099['set'](this['_buffers'][_0x1c1db1(0x23e)](),_0x53a045):(_0x564099[_0x1c1db1(0x146)](new Uint8Array(_0x36b485[_0x1c1db1(0x220)],_0x36b485[_0x1c1db1(0x1d9)],_0x5d7d65),_0x53a045),this['_buffers'][0x0]=new _0x3a7daa(_0x36b485['buffer'],_0x36b485['byteOffset']+_0x5d7d65,_0x36b485[_0x1c1db1(0x276)]-_0x5d7d65)),_0x5d7d65-=_0x36b485[_0x1c1db1(0x276)];}while(_0x5d7d65>0x0);return _0x564099;}[_0x22bd18(0x257)](_0x159b17){const _0xf7bfdf=_0x22bd18;this[_0xf7bfdf(0x2a4)]=!0x0;do switch(this[_0xf7bfdf(0x1f5)]){case _0x424152:this['getInfo'](_0x159b17);break;case _0x4ab9a7:this[_0xf7bfdf(0x152)](_0x159b17);break;case _0x400bfb:this['getPayloadLength64'](_0x159b17);break;case _0x20cdce:this['getMask']();break;case _0x22df11:this[_0xf7bfdf(0x1f7)](_0x159b17);break;case _0x4d1816:case _0x33e106:this[_0xf7bfdf(0x2a4)]=!0x1;return;}while(this[_0xf7bfdf(0x2a4)]);this['_errored']||_0x159b17();}[_0x22bd18(0x144)](_0x207dec){const _0x5d02a9=_0x22bd18;if(this[_0x5d02a9(0x186)]<0x2){this[_0x5d02a9(0x2a4)]=!0x1;return;}const _0x20ba37=this[_0x5d02a9(0x18e)](0x2);if((_0x20ba37[0x0]&0x30)!==0x0){const _0x5a37bb=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x133),!0x0,0x3ea,_0x5d02a9(0x218));_0x207dec(_0x5a37bb);return;}const _0x393809=(_0x20ba37[0x0]&0x40)===0x40;if(_0x393809&&!this[_0x5d02a9(0x291)][_0x45e423[_0x5d02a9(0x2a3)]]){const _0x3eab7a=this[_0x5d02a9(0x191)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x207dec(_0x3eab7a);return;}if(this[_0x5d02a9(0x1c5)]=(_0x20ba37[0x0]&0x80)===0x80,this[_0x5d02a9(0x1b6)]=_0x20ba37[0x0]&0xf,this[_0x5d02a9(0x1f3)]=_0x20ba37[0x1]&0x7f,this['_opcode']===0x0){if(_0x393809){const _0xa18c93=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x122),!0x0,0x3ea,_0x5d02a9(0x214));_0x207dec(_0xa18c93);return;}if(!this[_0x5d02a9(0x24b)]){const _0x1b6ae3=this[_0x5d02a9(0x191)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x5d02a9(0x1cc));_0x207dec(_0x1b6ae3);return;}this[_0x5d02a9(0x1b6)]=this['_fragmented'];}else{if(this[_0x5d02a9(0x1b6)]===0x1||this[_0x5d02a9(0x1b6)]===0x2){if(this[_0x5d02a9(0x24b)]){const _0x12e2f4=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x172)+this['_opcode'],!0x0,0x3ea,_0x5d02a9(0x1cc));_0x207dec(_0x12e2f4);return;}this[_0x5d02a9(0x176)]=_0x393809;}else{if(this[_0x5d02a9(0x1b6)]>0x7&&this[_0x5d02a9(0x1b6)]<0xb){if(!this[_0x5d02a9(0x1c5)]){const _0x3f5058=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x211),!0x0,0x3ea,_0x5d02a9(0x297));_0x207dec(_0x3f5058);return;}if(_0x393809){const _0x154a94=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x122),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x207dec(_0x154a94);return;}if(this['_payloadLength']>0x7d||this[_0x5d02a9(0x1b6)]===0x8&&this[_0x5d02a9(0x1f3)]===0x1){const _0x5a5f48=this[_0x5d02a9(0x191)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x5d02a9(0x252));_0x207dec(_0x5a5f48);return;}}else{const _0x4282e0=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x172)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x207dec(_0x4282e0);return;}}}if(!this[_0x5d02a9(0x1c5)]&&!this['_fragmented']&&(this[_0x5d02a9(0x24b)]=this['_opcode']),this[_0x5d02a9(0x16c)]=(_0x20ba37[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5d02a9(0x16c)]){const _0x2501b6=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x118),!0x0,0x3ea,_0x5d02a9(0x236));_0x207dec(_0x2501b6);return;}}else{if(this['_masked']){const _0x140e4a=this[_0x5d02a9(0x191)](RangeError,_0x5d02a9(0x108),!0x0,0x3ea,_0x5d02a9(0x10c));_0x207dec(_0x140e4a);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4ab9a7:this[_0x5d02a9(0x1f3)]===0x7f?this[_0x5d02a9(0x1f5)]=_0x400bfb:this['haveLength'](_0x207dec);}[_0x22bd18(0x152)](_0x2bfec7){const _0x4c229b=_0x22bd18;if(this[_0x4c229b(0x186)]<0x2){this[_0x4c229b(0x2a4)]=!0x1;return;}this[_0x4c229b(0x1f3)]=this[_0x4c229b(0x18e)](0x2)[_0x4c229b(0x1eb)](0x0),this[_0x4c229b(0x25d)](_0x2bfec7);}['getPayloadLength64'](_0x337d60){const _0x152407=_0x22bd18;if(this[_0x152407(0x186)]<0x8){this['_loop']=!0x1;return;}const _0x1b7d5a=this[_0x152407(0x18e)](0x8),_0x2884c3=_0x1b7d5a[_0x152407(0x22b)](0x0);if(_0x2884c3>Math[_0x152407(0x124)](0x2,0x15)-0x1){const _0x58217e=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x337d60(_0x58217e);return;}this[_0x152407(0x1f3)]=_0x2884c3*Math[_0x152407(0x124)](0x2,0x20)+_0x1b7d5a[_0x152407(0x22b)](0x4),this['haveLength'](_0x337d60);}[_0x22bd18(0x25d)](_0x1e621e){const _0xa69baf=_0x22bd18;if(this[_0xa69baf(0x1f3)]&&this[_0xa69baf(0x1b6)]<0x8&&(this['_totalPayloadLength']+=this[_0xa69baf(0x1f3)],this[_0xa69baf(0x1b0)]>this[_0xa69baf(0x255)]&&this[_0xa69baf(0x255)]>0x0)){const _0x44a4b6=this[_0xa69baf(0x191)](RangeError,_0xa69baf(0x14a),!0x1,0x3f1,_0xa69baf(0x179));_0x1e621e(_0x44a4b6);return;}this[_0xa69baf(0x16c)]?this['_state']=_0x20cdce:this[_0xa69baf(0x1f5)]=_0x22df11;}[_0x22bd18(0x1a6)](){const _0x23ba4d=_0x22bd18;if(this[_0x23ba4d(0x186)]<0x4){this[_0x23ba4d(0x2a4)]=!0x1;return;}this['_mask']=this[_0x23ba4d(0x18e)](0x4),this[_0x23ba4d(0x1f5)]=_0x22df11;}[_0x22bd18(0x1f7)](_0x93598f){const _0x5cb97b=_0x22bd18;let _0x22c254=_0x4a53be;if(this[_0x5cb97b(0x1f3)]){if(this[_0x5cb97b(0x186)]<this[_0x5cb97b(0x1f3)]){this['_loop']=!0x1;return;}_0x22c254=this[_0x5cb97b(0x18e)](this[_0x5cb97b(0x1f3)]),this[_0x5cb97b(0x16c)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x5cb97b(0x219)][0x2]|this[_0x5cb97b(0x219)][0x3])!==0x0&&_0xbafc00(_0x22c254,this[_0x5cb97b(0x219)]);}if(this[_0x5cb97b(0x1b6)]>0x7){this[_0x5cb97b(0x1e9)](_0x22c254,_0x93598f);return;}if(this[_0x5cb97b(0x176)]){this[_0x5cb97b(0x1f5)]=_0x4d1816,this[_0x5cb97b(0x296)](_0x22c254,_0x93598f);return;}_0x22c254[_0x5cb97b(0x276)]&&(this[_0x5cb97b(0x1bc)]=this[_0x5cb97b(0x1b0)],this[_0x5cb97b(0x1b7)][_0x5cb97b(0x132)](_0x22c254)),this['dataMessage'](_0x93598f);}[_0x22bd18(0x296)](_0x257aa1,_0xc67d57){const _0x50f44f=_0x22bd18;this[_0x50f44f(0x291)][_0x45e423[_0x50f44f(0x2a3)]][_0x50f44f(0x296)](_0x257aa1,this[_0x50f44f(0x1c5)],(_0x2a59c6,_0x16f1ea)=>{const _0x5f43c7=_0x50f44f;if(_0x2a59c6)return _0xc67d57(_0x2a59c6);if(_0x16f1ea[_0x5f43c7(0x276)]){if(this['_messageLength']+=_0x16f1ea[_0x5f43c7(0x276)],this['_messageLength']>this[_0x5f43c7(0x255)]&&this[_0x5f43c7(0x255)]>0x0){const _0x14d2d7=this[_0x5f43c7(0x191)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5f43c7(0x179));_0xc67d57(_0x14d2d7);return;}this[_0x5f43c7(0x1b7)][_0x5f43c7(0x132)](_0x16f1ea);}this[_0x5f43c7(0x1c6)](_0xc67d57),this['_state']===_0x424152&&this['startLoop'](_0xc67d57);});}[_0x22bd18(0x1c6)](_0x2f696d){const _0x516f33=_0x22bd18;if(!this[_0x516f33(0x1c5)]){this['_state']=_0x424152;return;}const _0x4f2835=this['_messageLength'],_0x27df0a=this[_0x516f33(0x1b7)];if(this['_totalPayloadLength']=0x0,this[_0x516f33(0x1bc)]=0x0,this[_0x516f33(0x24b)]=0x0,this['_fragments']=[],this[_0x516f33(0x1b6)]===0x2){let _0x3eb325;this[_0x516f33(0x20c)]===_0x516f33(0x270)?_0x3eb325=_0x44e4f0(_0x27df0a,_0x4f2835):this[_0x516f33(0x20c)]===_0x516f33(0x189)?_0x3eb325=_0x3729ad(_0x44e4f0(_0x27df0a,_0x4f2835)):this[_0x516f33(0x20c)]===_0x516f33(0x217)?_0x3eb325=new Blob(_0x27df0a):_0x3eb325=_0x27df0a,this[_0x516f33(0x184)]?(this['emit']('message',_0x3eb325,!0x0),this[_0x516f33(0x1f5)]=_0x424152):(this[_0x516f33(0x1f5)]=_0x33e106,setImmediate(()=>{const _0x1c1419=_0x516f33;this['emit'](_0x1c1419(0x16a),_0x3eb325,!0x0),this[_0x1c1419(0x1f5)]=_0x424152,this['startLoop'](_0x2f696d);}));}else{const _0x56b5a2=_0x44e4f0(_0x27df0a,_0x4f2835);if(!this[_0x516f33(0x26d)]&&!_0x34654b(_0x56b5a2)){const _0x1e4c04=this[_0x516f33(0x191)](Error,_0x516f33(0x279),!0x0,0x3ef,_0x516f33(0x1d4));_0x2f696d(_0x1e4c04);return;}this[_0x516f33(0x1f5)]===_0x4d1816||this[_0x516f33(0x184)]?(this[_0x516f33(0x254)](_0x516f33(0x16a),_0x56b5a2,!0x1),this[_0x516f33(0x1f5)]=_0x424152):(this['_state']=_0x33e106,setImmediate(()=>{const _0x130a2e=_0x516f33;this[_0x130a2e(0x254)](_0x130a2e(0x16a),_0x56b5a2,!0x1),this[_0x130a2e(0x1f5)]=_0x424152,this[_0x130a2e(0x257)](_0x2f696d);}));}}['controlMessage'](_0x1c69da,_0x553af7){const _0x44ca68=_0x22bd18;if(this[_0x44ca68(0x1b6)]===0x8){if(_0x1c69da[_0x44ca68(0x276)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x4a53be),this[_0x44ca68(0x294)]();else{const _0x83b82c=_0x1c69da['readUInt16BE'](0x0);if(!_0x5cc707(_0x83b82c)){const _0x5d3b2b=this[_0x44ca68(0x191)](RangeError,_0x44ca68(0x1c9)+_0x83b82c,!0x0,0x3ea,_0x44ca68(0x22d));_0x553af7(_0x5d3b2b);return;}const _0x938fd2=new _0x3a7daa(_0x1c69da[_0x44ca68(0x220)],_0x1c69da[_0x44ca68(0x1d9)]+0x2,_0x1c69da[_0x44ca68(0x276)]-0x2);if(!this[_0x44ca68(0x26d)]&&!_0x34654b(_0x938fd2)){const _0x34bbdb=this[_0x44ca68(0x191)](Error,_0x44ca68(0x279),!0x0,0x3ef,_0x44ca68(0x1d4));_0x553af7(_0x34bbdb);return;}this[_0x44ca68(0x2a4)]=!0x1,this[_0x44ca68(0x254)]('conclude',_0x83b82c,_0x938fd2),this[_0x44ca68(0x294)]();}this['_state']=_0x424152;return;}this[_0x44ca68(0x184)]?(this[_0x44ca68(0x254)](this[_0x44ca68(0x1b6)]===0x9?_0x44ca68(0x103):'pong',_0x1c69da),this[_0x44ca68(0x1f5)]=_0x424152):(this[_0x44ca68(0x1f5)]=_0x33e106,setImmediate(()=>{const _0x53fcf3=_0x44ca68;this['emit'](this['_opcode']===0x9?'ping':_0x53fcf3(0x209),_0x1c69da),this[_0x53fcf3(0x1f5)]=_0x424152,this['startLoop'](_0x553af7);}));}['createError'](_0x48bb76,_0x7e480d,_0x5d824d,_0x2f7c42,_0x308afa){const _0x583cf9=_0x22bd18;this[_0x583cf9(0x2a4)]=!0x1,this[_0x583cf9(0x158)]=!0x0;const _0x487030=new _0x48bb76(_0x5d824d?'Invalid\x20WebSocket\x20frame:\x20'+_0x7e480d:_0x7e480d);return Error['captureStackTrace'](_0x487030,this['createError']),_0x487030['code']=_0x308afa,_0x487030[_0x79685e]=_0x2f7c42,_0x487030;}}return Se=_0x41b8ca,Se;}var Ee,et;function _t(){const _0x92ce01=_0x3d72a4;if(et)return Ee;et=0x1;const {Duplex:_0x17064a}=_0x148c11,{randomFillSync:_0x348c5c}=_0x4426fe,_0x399856=he(),{EMPTY_BUFFER:_0x12beca,kWebSocket:_0x230bd7,NOOP:_0x55e0e1}=V(),{isBlob:_0x50cb7d,isValidStatusCode:_0x1f2b59}=ne(),{mask:_0x2d4923,toBuffer:_0x57ef3}=ce(),_0x17663b=Symbol(_0x92ce01(0x272)),_0x15fc66=Buffer['alloc'](0x4),_0x355c19=0x8*0x400;let _0x518011,_0x59dfd1=_0x355c19;const _0x5ec423=0x0,_0x5d027e=0x1,_0xd325d9=0x2;class _0x4a970a{constructor(_0x147b59,_0x2fdb83,_0x489ee2){const _0x57a082=_0x92ce01;this[_0x57a082(0x291)]=_0x2fdb83||{},_0x489ee2&&(this[_0x57a082(0x25e)]=_0x489ee2,this[_0x57a082(0x10e)]=Buffer[_0x57a082(0x1ed)](0x4)),this[_0x57a082(0x173)]=_0x147b59,this[_0x57a082(0x228)]=!0x0,this[_0x57a082(0x27a)]=!0x1,this[_0x57a082(0x186)]=0x0,this[_0x57a082(0x261)]=[],this[_0x57a082(0x1f5)]=_0x5ec423,this[_0x57a082(0x1db)]=_0x55e0e1,this[_0x230bd7]=void 0x0;}static[_0x92ce01(0x273)](_0x100401,_0x5b266d){const _0x1a9c24=_0x92ce01;let _0x4db4c6,_0x3562c8=!0x1,_0x457b03=0x2,_0x3753a5=!0x1;_0x5b266d['mask']&&(_0x4db4c6=_0x5b266d[_0x1a9c24(0x22f)]||_0x15fc66,_0x5b266d['generateMask']?_0x5b266d[_0x1a9c24(0x285)](_0x4db4c6):(_0x59dfd1===_0x355c19&&(_0x518011===void 0x0&&(_0x518011=Buffer[_0x1a9c24(0x1ed)](_0x355c19)),_0x348c5c(_0x518011,0x0,_0x355c19),_0x59dfd1=0x0),_0x4db4c6[0x0]=_0x518011[_0x59dfd1++],_0x4db4c6[0x1]=_0x518011[_0x59dfd1++],_0x4db4c6[0x2]=_0x518011[_0x59dfd1++],_0x4db4c6[0x3]=_0x518011[_0x59dfd1++]),_0x3753a5=(_0x4db4c6[0x0]|_0x4db4c6[0x1]|_0x4db4c6[0x2]|_0x4db4c6[0x3])===0x0,_0x457b03=0x6);let _0x15c944;typeof _0x100401=='string'?(!_0x5b266d['mask']||_0x3753a5)&&_0x5b266d[_0x17663b]!==void 0x0?_0x15c944=_0x5b266d[_0x17663b]:(_0x100401=Buffer[_0x1a9c24(0x212)](_0x100401),_0x15c944=_0x100401[_0x1a9c24(0x276)]):(_0x15c944=_0x100401[_0x1a9c24(0x276)],_0x3562c8=_0x5b266d[_0x1a9c24(0x1fe)]&&_0x5b266d[_0x1a9c24(0x282)]&&!_0x3753a5);let _0x516f4f=_0x15c944;_0x15c944>=0x10000?(_0x457b03+=0x8,_0x516f4f=0x7f):_0x15c944>0x7d&&(_0x457b03+=0x2,_0x516f4f=0x7e);const _0x3e44ca=Buffer[_0x1a9c24(0x125)](_0x3562c8?_0x15c944+_0x457b03:_0x457b03);return _0x3e44ca[0x0]=_0x5b266d[_0x1a9c24(0x1ec)]?_0x5b266d[_0x1a9c24(0xf9)]|0x80:_0x5b266d[_0x1a9c24(0xf9)],_0x5b266d[_0x1a9c24(0x232)]&&(_0x3e44ca[0x0]|=0x40),_0x3e44ca[0x1]=_0x516f4f,_0x516f4f===0x7e?_0x3e44ca[_0x1a9c24(0x243)](_0x15c944,0x2):_0x516f4f===0x7f&&(_0x3e44ca[0x2]=_0x3e44ca[0x3]=0x0,_0x3e44ca['writeUIntBE'](_0x15c944,0x4,0x6)),_0x5b266d[_0x1a9c24(0x1fe)]?(_0x3e44ca[0x1]|=0x80,_0x3e44ca[_0x457b03-0x4]=_0x4db4c6[0x0],_0x3e44ca[_0x457b03-0x3]=_0x4db4c6[0x1],_0x3e44ca[_0x457b03-0x2]=_0x4db4c6[0x2],_0x3e44ca[_0x457b03-0x1]=_0x4db4c6[0x3],_0x3753a5?[_0x3e44ca,_0x100401]:_0x3562c8?(_0x2d4923(_0x100401,_0x4db4c6,_0x3e44ca,_0x457b03,_0x15c944),[_0x3e44ca]):(_0x2d4923(_0x100401,_0x4db4c6,_0x100401,0x0,_0x15c944),[_0x3e44ca,_0x100401])):[_0x3e44ca,_0x100401];}[_0x92ce01(0x28d)](_0x555771,_0x3be91b,_0x52a755,_0xc69424){const _0x1cddd5=_0x92ce01;let _0x186060;if(_0x555771===void 0x0)_0x186060=_0x12beca;else{if(typeof _0x555771!='number'||!_0x1f2b59(_0x555771))throw new TypeError(_0x1cddd5(0x27b));if(_0x3be91b===void 0x0||!_0x3be91b[_0x1cddd5(0x276)])_0x186060=Buffer[_0x1cddd5(0x125)](0x2),_0x186060[_0x1cddd5(0x243)](_0x555771,0x0);else{const _0x8d8c43=Buffer[_0x1cddd5(0x110)](_0x3be91b);if(_0x8d8c43>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x186060=Buffer[_0x1cddd5(0x125)](0x2+_0x8d8c43),_0x186060[_0x1cddd5(0x243)](_0x555771,0x0),typeof _0x3be91b==_0x1cddd5(0x18d)?_0x186060[_0x1cddd5(0x1df)](_0x3be91b,0x2):_0x186060[_0x1cddd5(0x146)](_0x3be91b,0x2);}}const _0x571dd3={[_0x17663b]:_0x186060[_0x1cddd5(0x276)],'fin':!0x0,'generateMask':this[_0x1cddd5(0x25e)],'mask':_0x52a755,'maskBuffer':this[_0x1cddd5(0x10e)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1cddd5(0x1f5)]!==_0x5ec423?this[_0x1cddd5(0x22e)]([this[_0x1cddd5(0x15c)],_0x186060,!0x1,_0x571dd3,_0xc69424]):this[_0x1cddd5(0x12b)](_0x4a970a['frame'](_0x186060,_0x571dd3),_0xc69424);}[_0x92ce01(0x103)](_0x437df7,_0x2c5873,_0x1fa6c2){const _0x248158=_0x92ce01;let _0x385672,_0x4a6542;if(typeof _0x437df7=='string'?(_0x385672=Buffer['byteLength'](_0x437df7),_0x4a6542=!0x1):_0x50cb7d(_0x437df7)?(_0x385672=_0x437df7[_0x248158(0x187)],_0x4a6542=!0x1):(_0x437df7=_0x57ef3(_0x437df7),_0x385672=_0x437df7[_0x248158(0x276)],_0x4a6542=_0x57ef3['readOnly']),_0x385672>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x892d59={[_0x17663b]:_0x385672,'fin':!0x0,'generateMask':this[_0x248158(0x25e)],'mask':_0x2c5873,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4a6542,'rsv1':!0x1};_0x50cb7d(_0x437df7)?this[_0x248158(0x1f5)]!==_0x5ec423?this['enqueue']([this[_0x248158(0x120)],_0x437df7,!0x1,_0x892d59,_0x1fa6c2]):this[_0x248158(0x120)](_0x437df7,!0x1,_0x892d59,_0x1fa6c2):this[_0x248158(0x1f5)]!==_0x5ec423?this[_0x248158(0x22e)]([this[_0x248158(0x15c)],_0x437df7,!0x1,_0x892d59,_0x1fa6c2]):this[_0x248158(0x12b)](_0x4a970a[_0x248158(0x273)](_0x437df7,_0x892d59),_0x1fa6c2);}[_0x92ce01(0x209)](_0x2f3954,_0x35cf5a,_0x1c0088){const _0x27dd81=_0x92ce01;let _0x2e9710,_0x445ecf;if(typeof _0x2f3954==_0x27dd81(0x18d)?(_0x2e9710=Buffer[_0x27dd81(0x110)](_0x2f3954),_0x445ecf=!0x1):_0x50cb7d(_0x2f3954)?(_0x2e9710=_0x2f3954['size'],_0x445ecf=!0x1):(_0x2f3954=_0x57ef3(_0x2f3954),_0x2e9710=_0x2f3954[_0x27dd81(0x276)],_0x445ecf=_0x57ef3['readOnly']),_0x2e9710>0x7d)throw new RangeError(_0x27dd81(0x22c));const _0x3c5929={[_0x17663b]:_0x2e9710,'fin':!0x0,'generateMask':this[_0x27dd81(0x25e)],'mask':_0x35cf5a,'maskBuffer':this[_0x27dd81(0x10e)],'opcode':0xa,'readOnly':_0x445ecf,'rsv1':!0x1};_0x50cb7d(_0x2f3954)?this[_0x27dd81(0x1f5)]!==_0x5ec423?this['enqueue']([this[_0x27dd81(0x120)],_0x2f3954,!0x1,_0x3c5929,_0x1c0088]):this[_0x27dd81(0x120)](_0x2f3954,!0x1,_0x3c5929,_0x1c0088):this['_state']!==_0x5ec423?this[_0x27dd81(0x22e)]([this['dispatch'],_0x2f3954,!0x1,_0x3c5929,_0x1c0088]):this[_0x27dd81(0x12b)](_0x4a970a['frame'](_0x2f3954,_0x3c5929),_0x1c0088);}[_0x92ce01(0x18b)](_0x5f519c,_0x1e384d,_0x178015){const _0x5429a4=_0x92ce01,_0x181358=this[_0x5429a4(0x291)][_0x399856[_0x5429a4(0x2a3)]];let _0x276fd8=_0x1e384d['binary']?0x2:0x1,_0xb7ec36=_0x1e384d['compress'],_0x5f01c1,_0x4fe2e3;typeof _0x5f519c=='string'?(_0x5f01c1=Buffer[_0x5429a4(0x110)](_0x5f519c),_0x4fe2e3=!0x1):_0x50cb7d(_0x5f519c)?(_0x5f01c1=_0x5f519c['size'],_0x4fe2e3=!0x1):(_0x5f519c=_0x57ef3(_0x5f519c),_0x5f01c1=_0x5f519c[_0x5429a4(0x276)],_0x4fe2e3=_0x57ef3[_0x5429a4(0x282)]),this[_0x5429a4(0x228)]?(this['_firstFragment']=!0x1,_0xb7ec36&&_0x181358&&_0x181358[_0x5429a4(0x105)][_0x181358['_isServer']?_0x5429a4(0x20f):'client_no_context_takeover']&&(_0xb7ec36=_0x5f01c1>=_0x181358[_0x5429a4(0x137)]),this[_0x5429a4(0x27a)]=_0xb7ec36):(_0xb7ec36=!0x1,_0x276fd8=0x0),_0x1e384d[_0x5429a4(0x1ec)]&&(this['_firstFragment']=!0x0);const _0xa94006={[_0x17663b]:_0x5f01c1,'fin':_0x1e384d['fin'],'generateMask':this[_0x5429a4(0x25e)],'mask':_0x1e384d['mask'],'maskBuffer':this[_0x5429a4(0x10e)],'opcode':_0x276fd8,'readOnly':_0x4fe2e3,'rsv1':_0xb7ec36};_0x50cb7d(_0x5f519c)?this[_0x5429a4(0x1f5)]!==_0x5ec423?this[_0x5429a4(0x22e)]([this[_0x5429a4(0x120)],_0x5f519c,this[_0x5429a4(0x27a)],_0xa94006,_0x178015]):this[_0x5429a4(0x120)](_0x5f519c,this[_0x5429a4(0x27a)],_0xa94006,_0x178015):this[_0x5429a4(0x1f5)]!==_0x5ec423?this[_0x5429a4(0x22e)]([this['dispatch'],_0x5f519c,this['_compress'],_0xa94006,_0x178015]):this[_0x5429a4(0x15c)](_0x5f519c,this['_compress'],_0xa94006,_0x178015);}['getBlobData'](_0x57722b,_0x4dd774,_0x280425,_0xb3e875){const _0x22b0c3=_0x92ce01;this[_0x22b0c3(0x186)]+=_0x280425[_0x17663b],this[_0x22b0c3(0x1f5)]=_0xd325d9,_0x57722b[_0x22b0c3(0x204)]()[_0x22b0c3(0x293)](_0x698e86=>{const _0x227eb6=_0x22b0c3;if(this['_socket']['destroyed']){const _0x319420=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x227eb6(0x199)](_0x317235,this,_0x319420,_0xb3e875);return;}this[_0x227eb6(0x186)]-=_0x280425[_0x17663b];const _0x2a7359=_0x57ef3(_0x698e86);_0x4dd774?this['dispatch'](_0x2a7359,_0x4dd774,_0x280425,_0xb3e875):(this['_state']=_0x5ec423,this['sendFrame'](_0x4a970a['frame'](_0x2a7359,_0x280425),_0xb3e875),this[_0x227eb6(0x127)]());})[_0x22b0c3(0x11a)](_0x295a03=>{process['nextTick'](_0x398c3c,this,_0x295a03,_0xb3e875);});}[_0x92ce01(0x15c)](_0x4543c5,_0x4746c3,_0x58166a,_0x1009d2){const _0x4f53e4=_0x92ce01;if(!_0x4746c3){this['sendFrame'](_0x4a970a[_0x4f53e4(0x273)](_0x4543c5,_0x58166a),_0x1009d2);return;}const _0x51f7ea=this[_0x4f53e4(0x291)][_0x399856[_0x4f53e4(0x2a3)]];this['_bufferedBytes']+=_0x58166a[_0x17663b],this['_state']=_0x5d027e,_0x51f7ea[_0x4f53e4(0x1cd)](_0x4543c5,_0x58166a[_0x4f53e4(0x1ec)],(_0x41626a,_0x3196ce)=>{const _0x56a5e7=_0x4f53e4;if(this[_0x56a5e7(0x173)][_0x56a5e7(0x280)]){const _0x576a49=new Error(_0x56a5e7(0x1e5));_0x317235(this,_0x576a49,_0x1009d2);return;}this[_0x56a5e7(0x186)]-=_0x58166a[_0x17663b],this['_state']=_0x5ec423,_0x58166a[_0x56a5e7(0x282)]=!0x1,this[_0x56a5e7(0x12b)](_0x4a970a[_0x56a5e7(0x273)](_0x3196ce,_0x58166a),_0x1009d2),this['dequeue']();});}['dequeue'](){const _0x3f26f3=_0x92ce01;for(;this[_0x3f26f3(0x1f5)]===_0x5ec423&&this[_0x3f26f3(0x261)][_0x3f26f3(0x276)];){const _0x7c92f8=this['_queue']['shift']();this['_bufferedBytes']-=_0x7c92f8[0x3][_0x17663b],Reflect['apply'](_0x7c92f8[0x0],this,_0x7c92f8[_0x3f26f3(0x154)](0x1));}}[_0x92ce01(0x22e)](_0xddece1){const _0x57bc0d=_0x92ce01;this[_0x57bc0d(0x186)]+=_0xddece1[0x3][_0x17663b],this['_queue'][_0x57bc0d(0x132)](_0xddece1);}['sendFrame'](_0x35e4aa,_0x5538ef){const _0x3e47a7=_0x92ce01;_0x35e4aa['length']===0x2?(this[_0x3e47a7(0x173)][_0x3e47a7(0x157)](),this['_socket']['write'](_0x35e4aa[0x0]),this[_0x3e47a7(0x173)]['write'](_0x35e4aa[0x1],_0x5538ef),this[_0x3e47a7(0x173)][_0x3e47a7(0x29e)]()):this['_socket'][_0x3e47a7(0x1df)](_0x35e4aa[0x0],_0x5538ef);}}Ee=_0x4a970a;function _0x317235(_0x24f615,_0xd94a38,_0x49e076){const _0x1b07e2=_0x92ce01;typeof _0x49e076==_0x1b07e2(0x29a)&&_0x49e076(_0xd94a38);for(let _0x4aec7f=0x0;_0x4aec7f<_0x24f615['_queue'][_0x1b07e2(0x276)];_0x4aec7f++){const _0x5d7208=_0x24f615[_0x1b07e2(0x261)][_0x4aec7f],_0x1b540c=_0x5d7208[_0x5d7208[_0x1b07e2(0x276)]-0x1];typeof _0x1b540c==_0x1b07e2(0x29a)&&_0x1b540c(_0xd94a38);}}function _0x398c3c(_0x521f97,_0x315278,_0x25a75e){const _0x1d6f09=_0x92ce01;_0x317235(_0x521f97,_0x315278,_0x25a75e),_0x521f97[_0x1d6f09(0x1db)](_0x315278);}return Ee;}var xe,tt;function Kt(){const _0x258787=_0x3d72a4;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x337ad7,kListener:_0x5c0b76}=V(),_0x264acb=Symbol(_0x258787(0x13a)),_0x61e7b2=Symbol('kData'),_0xd823cb=Symbol(_0x258787(0x195)),_0xf6c131=Symbol(_0x258787(0x123)),_0x50e086=Symbol(_0x258787(0x13d)),_0x90e5c8=Symbol(_0x258787(0x197)),_0x389e8d=Symbol(_0x258787(0x239)),_0x6b4339=Symbol(_0x258787(0x1c0));class _0x46b288{constructor(_0xb5c77a){this[_0x90e5c8]=null,this[_0x389e8d]=_0xb5c77a;}get['target'](){return this[_0x90e5c8];}get['type'](){return this[_0x389e8d];}}Object[_0x258787(0x175)](_0x46b288['prototype'],'target',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0x46b288['prototype'],'type',{'enumerable':!0x0});class _0xd62125 extends _0x46b288{constructor(_0x593591,_0x2f54b1={}){const _0x3a7a2a=_0x258787;super(_0x593591),this[_0x264acb]=_0x2f54b1[_0x3a7a2a(0x147)]===void 0x0?0x0:_0x2f54b1[_0x3a7a2a(0x147)],this[_0x50e086]=_0x2f54b1[_0x3a7a2a(0x174)]===void 0x0?'':_0x2f54b1[_0x3a7a2a(0x174)],this[_0x6b4339]=_0x2f54b1[_0x3a7a2a(0x20a)]===void 0x0?!0x1:_0x2f54b1[_0x3a7a2a(0x20a)];}get['code'](){return this[_0x264acb];}get[_0x258787(0x174)](){return this[_0x50e086];}get[_0x258787(0x20a)](){return this[_0x6b4339];}}Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],'code',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],'reason',{'enumerable':!0x0}),Object[_0x258787(0x175)](_0xd62125[_0x258787(0x14f)],_0x258787(0x20a),{'enumerable':!0x0});class _0x334b8a extends _0x46b288{constructor(_0x263958,_0x4434c2={}){const _0x36841f=_0x258787;super(_0x263958),this[_0xd823cb]=_0x4434c2[_0x36841f(0x171)]===void 0x0?null:_0x4434c2[_0x36841f(0x171)],this[_0xf6c131]=_0x4434c2[_0x36841f(0x16a)]===void 0x0?'':_0x4434c2[_0x36841f(0x16a)];}get[_0x258787(0x171)](){return this[_0xd823cb];}get['message'](){return this[_0xf6c131];}}Object[_0x258787(0x175)](_0x334b8a[_0x258787(0x14f)],_0x258787(0x171),{'enumerable':!0x0}),Object[_0x258787(0x175)](_0x334b8a[_0x258787(0x14f)],_0x258787(0x16a),{'enumerable':!0x0});class _0x259cc6 extends _0x46b288{constructor(_0x590b37,_0x3ddc00={}){const _0x4035b3=_0x258787;super(_0x590b37),this[_0x61e7b2]=_0x3ddc00[_0x4035b3(0x23a)]===void 0x0?null:_0x3ddc00['data'];}get[_0x258787(0x23a)](){return this[_0x61e7b2];}}Object['defineProperty'](_0x259cc6[_0x258787(0x14f)],_0x258787(0x23a),{'enumerable':!0x0}),xe={'CloseEvent':_0xd62125,'ErrorEvent':_0x334b8a,'Event':_0x46b288,'EventTarget':{'addEventListener'(_0x57d673,_0xc5c5d2,_0x3d33e0={}){const _0x15aa5f=_0x258787;for(const _0x35a89a of this[_0x15aa5f(0xf5)](_0x57d673))if(!_0x3d33e0[_0x337ad7]&&_0x35a89a[_0x5c0b76]===_0xc5c5d2&&!_0x35a89a[_0x337ad7])return;let _0x5af852;if(_0x57d673==='message')_0x5af852=function(_0x5995d5,_0x267079){const _0x52c809=_0x15aa5f,_0x746e9f=new _0x259cc6(_0x52c809(0x16a),{'data':_0x267079?_0x5995d5:_0x5995d5['toString']()});_0x746e9f[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x746e9f);};else{if(_0x57d673===_0x15aa5f(0x28d))_0x5af852=function(_0x299128,_0x44c13b){const _0x3746e9=_0x15aa5f,_0x220408=new _0xd62125(_0x3746e9(0x28d),{'code':_0x299128,'reason':_0x44c13b[_0x3746e9(0x1b4)](),'wasClean':this[_0x3746e9(0x11f)]&&this['_closeFrameSent']});_0x220408[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x220408);};else{if(_0x57d673==='error')_0x5af852=function(_0x227ef6){const _0x316f21=_0x15aa5f,_0x4632c3=new _0x334b8a(_0x316f21(0x171),{'error':_0x227ef6,'message':_0x227ef6[_0x316f21(0x16a)]});_0x4632c3[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x4632c3);};else{if(_0x57d673===_0x15aa5f(0x201))_0x5af852=function(){const _0x4df49a=new _0x46b288('open');_0x4df49a[_0x90e5c8]=this,_0xc19823(_0xc5c5d2,this,_0x4df49a);};else return;}}}_0x5af852[_0x337ad7]=!!_0x3d33e0[_0x337ad7],_0x5af852[_0x5c0b76]=_0xc5c5d2,_0x3d33e0[_0x15aa5f(0x278)]?this[_0x15aa5f(0x278)](_0x57d673,_0x5af852):this['on'](_0x57d673,_0x5af852);},'removeEventListener'(_0x4e942c,_0x16e9fb){const _0x30c5fe=_0x258787;for(const _0x4c350e of this[_0x30c5fe(0xf5)](_0x4e942c))if(_0x4c350e[_0x5c0b76]===_0x16e9fb&&!_0x4c350e[_0x337ad7]){this[_0x30c5fe(0x2a0)](_0x4e942c,_0x4c350e);break;}}},'MessageEvent':_0x259cc6};function _0xc19823(_0xdaab3c,_0x2824f0,_0x5b0a14){const _0x4631f4=_0x258787;typeof _0xdaab3c=='object'&&_0xdaab3c['handleEvent']?_0xdaab3c[_0x4631f4(0x237)]['call'](_0xdaab3c,_0x5b0a14):_0xdaab3c['call'](_0x2824f0,_0x5b0a14);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4dc3ac}=ne();function _0x1009d1(_0x52503a,_0x4ea7a8,_0x51a35e){const _0x53b2e0=_0x1936;_0x52503a[_0x4ea7a8]===void 0x0?_0x52503a[_0x4ea7a8]=[_0x51a35e]:_0x52503a[_0x4ea7a8][_0x53b2e0(0x132)](_0x51a35e);}function _0x216554(_0x2e54aa){const _0x9bc807=_0x1936,_0x3f13c5=Object[_0x9bc807(0x233)](null);let _0x3abe53=Object[_0x9bc807(0x233)](null),_0x26992d=!0x1,_0x486a17=!0x1,_0x433442=!0x1,_0x575b11,_0xa532d,_0x9e2d42=-0x1,_0x28ffef=-0x1,_0x5ce55b=-0x1,_0x4a74d4=0x0;for(;_0x4a74d4<_0x2e54aa[_0x9bc807(0x276)];_0x4a74d4++)if(_0x28ffef=_0x2e54aa[_0x9bc807(0x25c)](_0x4a74d4),_0x575b11===void 0x0){if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x4a74d4!==0x0&&(_0x28ffef===0x20||_0x28ffef===0x9))_0x5ce55b===-0x1&&_0x9e2d42!==-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);const _0x251341=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x5ce55b);_0x28ffef===0x2c?(_0x1009d1(_0x3f13c5,_0x251341,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null)):_0x575b11=_0x251341,_0x9e2d42=_0x5ce55b=-0x1;}else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}else{if(_0xa532d===void 0x0){if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x28ffef===0x20||_0x28ffef===0x9)_0x5ce55b===-0x1&&_0x9e2d42!==-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4),_0x1009d1(_0x3abe53,_0x2e54aa['slice'](_0x9e2d42,_0x5ce55b),!0x0),_0x28ffef===0x2c&&(_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null),_0x575b11=void 0x0),_0x9e2d42=_0x5ce55b=-0x1;}else{if(_0x28ffef===0x3d&&_0x9e2d42!==-0x1&&_0x5ce55b===-0x1)_0xa532d=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x4a74d4),_0x9e2d42=_0x5ce55b=-0x1;else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}}else{if(_0x486a17){if(_0x4dc3ac[_0x28ffef]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4a74d4);_0x9e2d42===-0x1?_0x9e2d42=_0x4a74d4:_0x26992d||(_0x26992d=!0x0),_0x486a17=!0x1;}else{if(_0x433442){if(_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x28ffef===0x22&&_0x9e2d42!==-0x1)_0x433442=!0x1,_0x5ce55b=_0x4a74d4;else{if(_0x28ffef===0x5c)_0x486a17=!0x0;else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}else{if(_0x28ffef===0x22&&_0x2e54aa[_0x9bc807(0x25c)](_0x4a74d4-0x1)===0x3d)_0x433442=!0x0;else{if(_0x5ce55b===-0x1&&_0x4dc3ac[_0x28ffef]===0x1)_0x9e2d42===-0x1&&(_0x9e2d42=_0x4a74d4);else{if(_0x9e2d42!==-0x1&&(_0x28ffef===0x20||_0x28ffef===0x9))_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);else{if(_0x28ffef===0x3b||_0x28ffef===0x2c){if(_0x9e2d42===-0x1)throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);let _0x121c3f=_0x2e54aa[_0x9bc807(0x154)](_0x9e2d42,_0x5ce55b);_0x26992d&&(_0x121c3f=_0x121c3f['replace'](/\\/g,''),_0x26992d=!0x1),_0x1009d1(_0x3abe53,_0xa532d,_0x121c3f),_0x28ffef===0x2c&&(_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53),_0x3abe53=Object[_0x9bc807(0x233)](null),_0x575b11=void 0x0),_0xa532d=void 0x0,_0x9e2d42=_0x5ce55b=-0x1;}else throw new SyntaxError(_0x9bc807(0x153)+_0x4a74d4);}}}}}}}if(_0x9e2d42===-0x1||_0x433442||_0x28ffef===0x20||_0x28ffef===0x9)throw new SyntaxError(_0x9bc807(0x1a0));_0x5ce55b===-0x1&&(_0x5ce55b=_0x4a74d4);const _0x2d60c9=_0x2e54aa['slice'](_0x9e2d42,_0x5ce55b);return _0x575b11===void 0x0?_0x1009d1(_0x3f13c5,_0x2d60c9,_0x3abe53):(_0xa532d===void 0x0?_0x1009d1(_0x3abe53,_0x2d60c9,!0x0):_0x26992d?_0x1009d1(_0x3abe53,_0xa532d,_0x2d60c9['replace'](/\\/g,'')):_0x1009d1(_0x3abe53,_0xa532d,_0x2d60c9),_0x1009d1(_0x3f13c5,_0x575b11,_0x3abe53)),_0x3f13c5;}function _0x4fee05(_0x1f7d92){const _0x428fa1=_0x1936;return Object[_0x428fa1(0x1fa)](_0x1f7d92)[_0x428fa1(0x17d)](_0x5cf690=>{const _0x38b1db=_0x428fa1;let _0x42c3f3=_0x1f7d92[_0x5cf690];return Array[_0x38b1db(0x225)](_0x42c3f3)||(_0x42c3f3=[_0x42c3f3]),_0x42c3f3['map'](_0x4d293e=>[_0x5cf690][_0x38b1db(0x1bf)](Object['keys'](_0x4d293e)[_0x38b1db(0x17d)](_0x38e569=>{const _0x22fa42=_0x38b1db;let _0x115fc6=_0x4d293e[_0x38e569];return Array[_0x22fa42(0x225)](_0x115fc6)||(_0x115fc6=[_0x115fc6]),_0x115fc6[_0x22fa42(0x17d)](_0x4e406c=>_0x4e406c===!0x0?_0x38e569:_0x38e569+'='+_0x4e406c)[_0x22fa42(0x1fc)](';\x20');}))[_0x38b1db(0x1fc)](';\x20'))[_0x38b1db(0x1fc)](',\x20');})['join'](',\x20');}return be={'format':_0x4fee05,'parse':_0x216554},be;}var we,st;function Ie(){const _0x268043=_0x3d72a4;if(st)return we;st=0x1;const _0x261b3a=_0x268bbd,_0x5a0a92=_0x3d52ba,_0x3629f8=_0x3896f7,_0x730561=_0x123a29,_0x194af6=_0x132984,{randomBytes:_0x442d99,createHash:_0x9b1b11}=_0x4426fe,{Duplex:_0x515267,Readable:_0x2be6ae}=_0x148c11,{URL:_0x383144}=_0x3435c0,_0x151b4d=he(),_0x3280de=dt(),_0x5a43d9=_t(),{isBlob:_0x5417e5}=ne(),{BINARY_TYPES:_0x491ab9,EMPTY_BUFFER:_0x8b3c68,GUID:_0x44a1c2,kForOnEventAttribute:_0x3c8e4e,kListener:_0x2ab286,kStatusCode:_0x3041d3,kWebSocket:_0x505062,NOOP:_0x5ce3e3}=V(),{EventTarget:{addEventListener:_0x3090b6,removeEventListener:_0x4e7476}}=Kt(),{format:_0x56dd86,parse:_0x42aeb9}=pt(),{toBuffer:_0x4d2555}=ce(),_0x2d60f8=0x1e*0x3e8,_0xd0019c=Symbol('kAborted'),_0x2837a7=[0x8,0xd],_0x253407=['CONNECTING','OPEN',_0x268043(0x287),_0x268043(0x29c)],_0x45157d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f79c3 extends _0x261b3a{constructor(_0x4ea7f3,_0x551b9f,_0x123a65){const _0xf3aba6=_0x268043;super(),this[_0xf3aba6(0x20c)]=_0x491ab9[0x0],this[_0xf3aba6(0x180)]=0x3ee,this[_0xf3aba6(0x11f)]=!0x1,this[_0xf3aba6(0x10f)]=!0x1,this[_0xf3aba6(0x27f)]=_0x8b3c68,this['_closeTimer']=null,this[_0xf3aba6(0x11c)]=!0x1,this[_0xf3aba6(0x291)]={},this['_paused']=!0x1,this[_0xf3aba6(0x11e)]='',this[_0xf3aba6(0x1b2)]=_0x1f79c3[_0xf3aba6(0x274)],this[_0xf3aba6(0x275)]=null,this[_0xf3aba6(0xf6)]=null,this['_socket']=null,_0x4ea7f3!==null?(this[_0xf3aba6(0xf2)]=0x0,this[_0xf3aba6(0x159)]=!0x1,this[_0xf3aba6(0x14c)]=0x0,_0x551b9f===void 0x0?_0x551b9f=[]:Array[_0xf3aba6(0x225)](_0x551b9f)||(typeof _0x551b9f==_0xf3aba6(0x19f)&&_0x551b9f!==null?(_0x123a65=_0x551b9f,_0x551b9f=[]):_0x551b9f=[_0x551b9f]),_0x2938f0(this,_0x4ea7f3,_0x551b9f,_0x123a65)):(this[_0xf3aba6(0xfb)]=_0x123a65[_0xf3aba6(0x102)],this[_0xf3aba6(0x159)]=!0x0);}get[_0x268043(0x1fd)](){const _0x507f4f=_0x268043;return this[_0x507f4f(0x20c)];}set[_0x268043(0x1fd)](_0x584fd1){const _0x4ed94e=_0x268043;_0x491ab9[_0x4ed94e(0x265)](_0x584fd1)&&(this[_0x4ed94e(0x20c)]=_0x584fd1,this[_0x4ed94e(0x275)]&&(this['_receiver'][_0x4ed94e(0x20c)]=_0x584fd1));}get['bufferedAmount'](){const _0x3267fd=_0x268043;return this[_0x3267fd(0x173)]?this[_0x3267fd(0x173)][_0x3267fd(0x1a3)][_0x3267fd(0x276)]+this[_0x3267fd(0xf6)][_0x3267fd(0x186)]:this[_0x3267fd(0xf2)];}get[_0x268043(0x26f)](){const _0x2f0ed9=_0x268043;return Object['keys'](this[_0x2f0ed9(0x291)])[_0x2f0ed9(0x1fc)]();}get['isPaused'](){const _0x1f290e=_0x268043;return this[_0x1f290e(0x107)];}get[_0x268043(0x13b)](){return null;}get[_0x268043(0x1db)](){return null;}get[_0x268043(0x208)](){return null;}get[_0x268043(0x247)](){return null;}get[_0x268043(0x1f2)](){const _0x1cf660=_0x268043;return this[_0x1cf660(0x11e)];}get[_0x268043(0x1ac)](){const _0x1c9c55=_0x268043;return this[_0x1c9c55(0x1b2)];}get[_0x268043(0x15d)](){const _0x36febe=_0x268043;return this[_0x36febe(0x1ca)];}[_0x268043(0x26a)](_0x232216,_0x1c6ad2,_0x562266){const _0x29adfc=_0x268043,_0x1c8894=new _0x3280de({'allowSynchronousEvents':_0x562266[_0x29adfc(0x1d0)],'binaryType':this[_0x29adfc(0x1fd)],'extensions':this[_0x29adfc(0x291)],'isServer':this['_isServer'],'maxPayload':_0x562266[_0x29adfc(0x169)],'skipUTF8Validation':_0x562266[_0x29adfc(0x1ab)]}),_0x383134=new _0x5a43d9(_0x232216,this['_extensions'],_0x562266[_0x29adfc(0x285)]);this[_0x29adfc(0x275)]=_0x1c8894,this[_0x29adfc(0xf6)]=_0x383134,this[_0x29adfc(0x173)]=_0x232216,_0x1c8894[_0x505062]=this,_0x383134[_0x505062]=this,_0x232216[_0x505062]=this,_0x1c8894['on'](_0x29adfc(0x1c8),_0x20fd77),_0x1c8894['on'](_0x29adfc(0x26e),_0x2c543a),_0x1c8894['on'](_0x29adfc(0x171),_0xbac3fb),_0x1c8894['on'](_0x29adfc(0x16a),_0xe7a077),_0x1c8894['on'](_0x29adfc(0x103),_0x2446ac),_0x1c8894['on'](_0x29adfc(0x209),_0x560453),_0x383134[_0x29adfc(0x1db)]=_0x10a80e,_0x232216['setTimeout']&&_0x232216[_0x29adfc(0x1ea)](0x0),_0x232216[_0x29adfc(0x1e8)]&&_0x232216[_0x29adfc(0x1e8)](),_0x1c6ad2['length']>0x0&&_0x232216[_0x29adfc(0x1ef)](_0x1c6ad2),_0x232216['on'](_0x29adfc(0x28d),_0x4487c4),_0x232216['on']('data',_0x2d46e0),_0x232216['on'](_0x29adfc(0x294),_0x485510),_0x232216['on'](_0x29adfc(0x171),_0x4f5ba6),this['_readyState']=_0x1f79c3['OPEN'],this['emit']('open');}[_0x268043(0x193)](){const _0x1c0e85=_0x268043;if(!this[_0x1c0e85(0x173)]){this[_0x1c0e85(0x1b2)]=_0x1f79c3['CLOSED'],this[_0x1c0e85(0x254)]('close',this['_closeCode'],this[_0x1c0e85(0x27f)]);return;}this[_0x1c0e85(0x291)][_0x151b4d[_0x1c0e85(0x2a3)]]&&this[_0x1c0e85(0x291)][_0x151b4d[_0x1c0e85(0x2a3)]][_0x1c0e85(0x269)](),this[_0x1c0e85(0x275)]['removeAllListeners'](),this[_0x1c0e85(0x1b2)]=_0x1f79c3[_0x1c0e85(0x29c)],this[_0x1c0e85(0x254)](_0x1c0e85(0x28d),this[_0x1c0e85(0x180)],this['_closeMessage']);}[_0x268043(0x28d)](_0x27bde2,_0x31db89){const _0x1e769c=_0x268043;if(this[_0x1e769c(0x1ac)]!==_0x1f79c3[_0x1e769c(0x29c)]){if(this[_0x1e769c(0x1ac)]===_0x1f79c3[_0x1e769c(0x274)]){_0x1cb01f(this,this[_0x1e769c(0x230)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x1f79c3[_0x1e769c(0x287)]){this[_0x1e769c(0x10f)]&&(this[_0x1e769c(0x11f)]||this['_receiver'][_0x1e769c(0x1a3)]['errorEmitted'])&&this[_0x1e769c(0x173)][_0x1e769c(0x294)]();return;}this['_readyState']=_0x1f79c3['CLOSING'],this[_0x1e769c(0xf6)][_0x1e769c(0x28d)](_0x27bde2,_0x31db89,!this[_0x1e769c(0x159)],_0x1e7e9b=>{const _0x28bd7d=_0x1e769c;_0x1e7e9b||(this['_closeFrameSent']=!0x0,(this[_0x28bd7d(0x11f)]||this[_0x28bd7d(0x275)]['_writableState'][_0x28bd7d(0x23c)])&&this[_0x28bd7d(0x173)][_0x28bd7d(0x294)]());}),_0x13785b(this);}}[_0x268043(0x150)](){const _0x7c8590=_0x268043;this['readyState']===_0x1f79c3[_0x7c8590(0x274)]||this[_0x7c8590(0x1ac)]===_0x1f79c3[_0x7c8590(0x29c)]||(this[_0x7c8590(0x107)]=!0x0,this[_0x7c8590(0x173)][_0x7c8590(0x150)]());}['ping'](_0x1886da,_0x52a353,_0x29fc65){const _0x1ae346=_0x268043;if(this['readyState']===_0x1f79c3[_0x1ae346(0x274)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1886da==_0x1ae346(0x29a)?(_0x29fc65=_0x1886da,_0x1886da=_0x52a353=void 0x0):typeof _0x52a353==_0x1ae346(0x29a)&&(_0x29fc65=_0x52a353,_0x52a353=void 0x0),typeof _0x1886da==_0x1ae346(0x1d2)&&(_0x1886da=_0x1886da['toString']()),this[_0x1ae346(0x1ac)]!==_0x1f79c3[_0x1ae346(0x1cf)]){_0x20293a(this,_0x1886da,_0x29fc65);return;}_0x52a353===void 0x0&&(_0x52a353=!this[_0x1ae346(0x159)]),this[_0x1ae346(0xf6)][_0x1ae346(0x103)](_0x1886da||_0x8b3c68,_0x52a353,_0x29fc65);}[_0x268043(0x209)](_0x1786a9,_0x580a17,_0x401bc4){const _0x230aa3=_0x268043;if(this[_0x230aa3(0x1ac)]===_0x1f79c3['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1786a9==_0x230aa3(0x29a)?(_0x401bc4=_0x1786a9,_0x1786a9=_0x580a17=void 0x0):typeof _0x580a17=='function'&&(_0x401bc4=_0x580a17,_0x580a17=void 0x0),typeof _0x1786a9=='number'&&(_0x1786a9=_0x1786a9[_0x230aa3(0x1b4)]()),this[_0x230aa3(0x1ac)]!==_0x1f79c3['OPEN']){_0x20293a(this,_0x1786a9,_0x401bc4);return;}_0x580a17===void 0x0&&(_0x580a17=!this['_isServer']),this[_0x230aa3(0xf6)][_0x230aa3(0x209)](_0x1786a9||_0x8b3c68,_0x580a17,_0x401bc4);}['resume'](){const _0x14f819=_0x268043;this[_0x14f819(0x1ac)]===_0x1f79c3[_0x14f819(0x274)]||this[_0x14f819(0x1ac)]===_0x1f79c3[_0x14f819(0x29c)]||(this[_0x14f819(0x107)]=!0x1,this[_0x14f819(0x275)]['_writableState'][_0x14f819(0x21f)]||this['_socket'][_0x14f819(0x27c)]());}['send'](_0x564d2a,_0x350a5e,_0xc24677){const _0x25faf9=_0x268043;if(this[_0x25faf9(0x1ac)]===_0x1f79c3[_0x25faf9(0x274)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x350a5e==_0x25faf9(0x29a)&&(_0xc24677=_0x350a5e,_0x350a5e={}),typeof _0x564d2a==_0x25faf9(0x1d2)&&(_0x564d2a=_0x564d2a[_0x25faf9(0x1b4)]()),this['readyState']!==_0x1f79c3[_0x25faf9(0x1cf)]){_0x20293a(this,_0x564d2a,_0xc24677);return;}const _0x48acbd={'binary':typeof _0x564d2a!='string','mask':!this[_0x25faf9(0x159)],'compress':!0x0,'fin':!0x0,..._0x350a5e};this[_0x25faf9(0x291)][_0x151b4d[_0x25faf9(0x2a3)]]||(_0x48acbd[_0x25faf9(0x1cd)]=!0x1),this['_sender'][_0x25faf9(0x18b)](_0x564d2a||_0x8b3c68,_0x48acbd,_0xc24677);}[_0x268043(0x116)](){const _0x3b0fd0=_0x268043;if(this[_0x3b0fd0(0x1ac)]!==_0x1f79c3['CLOSED']){if(this[_0x3b0fd0(0x1ac)]===_0x1f79c3['CONNECTING']){_0x1cb01f(this,this['_req'],_0x3b0fd0(0x12d));return;}this['_socket']&&(this[_0x3b0fd0(0x1b2)]=_0x1f79c3['CLOSING'],this[_0x3b0fd0(0x173)][_0x3b0fd0(0x238)]());}}}Object['defineProperty'](_0x1f79c3,_0x268043(0x274),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)]('CONNECTING')}),Object[_0x268043(0x175)](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x274),{'enumerable':!0x0,'value':_0x253407['indexOf'](_0x268043(0x274))}),Object[_0x268043(0x175)](_0x1f79c3,'OPEN',{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x1cf))}),Object[_0x268043(0x175)](_0x1f79c3['prototype'],_0x268043(0x1cf),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x1cf))}),Object[_0x268043(0x175)](_0x1f79c3,_0x268043(0x287),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x287))}),Object['defineProperty'](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x287),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x287))}),Object[_0x268043(0x175)](_0x1f79c3,_0x268043(0x29c),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x29c))}),Object[_0x268043(0x175)](_0x1f79c3[_0x268043(0x14f)],_0x268043(0x29c),{'enumerable':!0x0,'value':_0x253407[_0x268043(0x1bd)](_0x268043(0x29c))}),[_0x268043(0x1fd),_0x268043(0x13f),_0x268043(0x26f),_0x268043(0x1ba),'protocol',_0x268043(0x1ac),'url']['forEach'](_0x5cae70=>{const _0xd9ed98=_0x268043;Object[_0xd9ed98(0x175)](_0x1f79c3['prototype'],_0x5cae70,{'enumerable':!0x0});}),[_0x268043(0x201),'error',_0x268043(0x28d),'message'][_0x268043(0x135)](_0x2f0349=>{const _0x19afd7=_0x268043;Object['defineProperty'](_0x1f79c3[_0x19afd7(0x14f)],'on'+_0x2f0349,{'enumerable':!0x0,'get'(){for(const _0x5c09e3 of this['listeners'](_0x2f0349))if(_0x5c09e3[_0x3c8e4e])return _0x5c09e3[_0x2ab286];return null;},'set'(_0x4b3402){const _0x31f987=_0x19afd7;for(const _0x35c532 of this[_0x31f987(0xf5)](_0x2f0349))if(_0x35c532[_0x3c8e4e]){this[_0x31f987(0x2a0)](_0x2f0349,_0x35c532);break;}typeof _0x4b3402=='function'&&this[_0x31f987(0x100)](_0x2f0349,_0x4b3402,{[_0x3c8e4e]:!0x0});}});}),_0x1f79c3[_0x268043(0x14f)][_0x268043(0x100)]=_0x3090b6,_0x1f79c3[_0x268043(0x14f)]['removeEventListener']=_0x4e7476,we=_0x1f79c3;function _0x2938f0(_0x3e46e3,_0x384a05,_0x58526f,_0x3bf62d){const _0x1b47f9=_0x268043,_0x5b6bf6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2837a7[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3bf62d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3e46e3[_0x1b47f9(0xfb)]=_0x5b6bf6[_0x1b47f9(0x102)],!_0x2837a7[_0x1b47f9(0x265)](_0x5b6bf6[_0x1b47f9(0x161)]))throw new RangeError(_0x1b47f9(0x170)+_0x5b6bf6['protocolVersion']+_0x1b47f9(0x29d)+_0x2837a7[_0x1b47f9(0x1fc)](',\x20')+')');let _0x58fb62;if(_0x384a05 instanceof _0x383144)_0x58fb62=_0x384a05;else try{_0x58fb62=new _0x383144(_0x384a05);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x384a05);}_0x58fb62[_0x1b47f9(0x1f2)]===_0x1b47f9(0x1f8)?_0x58fb62['protocol']=_0x1b47f9(0x288):_0x58fb62['protocol']===_0x1b47f9(0x185)&&(_0x58fb62[_0x1b47f9(0x1f2)]=_0x1b47f9(0x198)),_0x3e46e3['_url']=_0x58fb62[_0x1b47f9(0x1dc)];const _0xfbe7a6=_0x58fb62['protocol']===_0x1b47f9(0x198),_0x2e7c38=_0x58fb62['protocol']==='ws+unix:';let _0x104ccf;if(_0x58fb62['protocol']!==_0x1b47f9(0x288)&&!_0xfbe7a6&&!_0x2e7c38?_0x104ccf='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':_0x2e7c38&&!_0x58fb62[_0x1b47f9(0x12c)]?_0x104ccf='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x58fb62[_0x1b47f9(0x1f9)]&&(_0x104ccf='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x104ccf){const _0x574c45=new SyntaxError(_0x104ccf);if(_0x3e46e3[_0x1b47f9(0x14c)]===0x0)throw _0x574c45;_0x2470f3(_0x3e46e3,_0x574c45);return;}const _0x402d7a=_0xfbe7a6?0x1bb:0x50,_0x46c1c0=_0x442d99(0x10)[_0x1b47f9(0x1b4)](_0x1b47f9(0x24d)),_0x33d326=_0xfbe7a6?_0x5a0a92[_0x1b47f9(0x227)]:_0x3629f8[_0x1b47f9(0x227)],_0x4d6709=new Set();let _0xabd5cc;if(_0x5b6bf6['createConnection']=_0x5b6bf6[_0x1b47f9(0x21c)]||(_0xfbe7a6?_0x236f54:_0x52857a),_0x5b6bf6[_0x1b47f9(0x1c7)]=_0x5b6bf6[_0x1b47f9(0x1c7)]||_0x402d7a,_0x5b6bf6['port']=_0x58fb62[_0x1b47f9(0x26b)]||_0x402d7a,_0x5b6bf6[_0x1b47f9(0x298)]=_0x58fb62[_0x1b47f9(0x1da)][_0x1b47f9(0x250)]('[')?_0x58fb62[_0x1b47f9(0x1da)][_0x1b47f9(0x154)](0x1,-0x1):_0x58fb62[_0x1b47f9(0x1da)],_0x5b6bf6[_0x1b47f9(0x12f)]={..._0x5b6bf6['headers'],'Sec-WebSocket-Version':_0x5b6bf6['protocolVersion'],'Sec-WebSocket-Key':_0x46c1c0,'Connection':_0x1b47f9(0x183),'Upgrade':_0x1b47f9(0x203)},_0x5b6bf6['path']=_0x58fb62[_0x1b47f9(0x12c)]+_0x58fb62['search'],_0x5b6bf6[_0x1b47f9(0x25f)]=_0x5b6bf6[_0x1b47f9(0x1aa)],_0x5b6bf6[_0x1b47f9(0x251)]&&(_0xabd5cc=new _0x151b4d(_0x5b6bf6[_0x1b47f9(0x251)]!==!0x0?_0x5b6bf6[_0x1b47f9(0x251)]:{},!0x1,_0x5b6bf6['maxPayload']),_0x5b6bf6['headers'][_0x1b47f9(0x12a)]=_0x56dd86({[_0x151b4d['extensionName']]:_0xabd5cc['offer']()})),_0x58526f['length']){for(const _0x569614 of _0x58526f){if(typeof _0x569614!='string'||!_0x45157d[_0x1b47f9(0x104)](_0x569614)||_0x4d6709['has'](_0x569614))throw new SyntaxError(_0x1b47f9(0x281));_0x4d6709[_0x1b47f9(0x1e1)](_0x569614);}_0x5b6bf6['headers'][_0x1b47f9(0x19e)]=_0x58526f[_0x1b47f9(0x1fc)](',');}if(_0x5b6bf6[_0x1b47f9(0x15f)]&&(_0x5b6bf6[_0x1b47f9(0x161)]<0xd?_0x5b6bf6['headers'][_0x1b47f9(0x221)]=_0x5b6bf6['origin']:_0x5b6bf6[_0x1b47f9(0x12f)]['Origin']=_0x5b6bf6[_0x1b47f9(0x15f)]),(_0x58fb62['username']||_0x58fb62[_0x1b47f9(0x249)])&&(_0x5b6bf6[_0x1b47f9(0x145)]=_0x58fb62[_0x1b47f9(0x13e)]+':'+_0x58fb62[_0x1b47f9(0x249)]),_0x2e7c38){const _0x117e49=_0x5b6bf6[_0x1b47f9(0x163)][_0x1b47f9(0x1f4)](':');_0x5b6bf6[_0x1b47f9(0x28f)]=_0x117e49[0x0],_0x5b6bf6[_0x1b47f9(0x163)]=_0x117e49[0x1];}let _0x4ef6a4;if(_0x5b6bf6[_0x1b47f9(0x196)]){if(_0x3e46e3['_redirects']===0x0){_0x3e46e3[_0x1b47f9(0x1af)]=_0x2e7c38,_0x3e46e3['_originalSecure']=_0xfbe7a6,_0x3e46e3[_0x1b47f9(0x2a2)]=_0x2e7c38?_0x5b6bf6['socketPath']:_0x58fb62[_0x1b47f9(0x298)];const _0x2a1878=_0x3bf62d&&_0x3bf62d[_0x1b47f9(0x12f)];if(_0x3bf62d={..._0x3bf62d,'headers':{}},_0x2a1878){for(const [_0x35f412,_0x3c41f2]of Object[_0x1b47f9(0x1e3)](_0x2a1878))_0x3bf62d[_0x1b47f9(0x12f)][_0x35f412[_0x1b47f9(0x235)]()]=_0x3c41f2;}}else{if(_0x3e46e3['listenerCount'](_0x1b47f9(0x223))===0x0){const _0x1d811c=_0x2e7c38?_0x3e46e3[_0x1b47f9(0x1af)]?_0x5b6bf6['socketPath']===_0x3e46e3[_0x1b47f9(0x2a2)]:!0x1:_0x3e46e3[_0x1b47f9(0x1af)]?!0x1:_0x58fb62['host']===_0x3e46e3[_0x1b47f9(0x2a2)];(!_0x1d811c||_0x3e46e3['_originalSecure']&&!_0xfbe7a6)&&(delete _0x5b6bf6[_0x1b47f9(0x12f)]['authorization'],delete _0x5b6bf6[_0x1b47f9(0x12f)][_0x1b47f9(0x115)],_0x1d811c||delete _0x5b6bf6[_0x1b47f9(0x12f)][_0x1b47f9(0x298)],_0x5b6bf6[_0x1b47f9(0x145)]=void 0x0);}}_0x5b6bf6['auth']&&!_0x3bf62d[_0x1b47f9(0x12f)][_0x1b47f9(0x181)]&&(_0x3bf62d['headers'][_0x1b47f9(0x181)]='Basic\x20'+Buffer[_0x1b47f9(0x212)](_0x5b6bf6[_0x1b47f9(0x145)])[_0x1b47f9(0x1b4)](_0x1b47f9(0x24d))),_0x4ef6a4=_0x3e46e3[_0x1b47f9(0x230)]=_0x33d326(_0x5b6bf6),_0x3e46e3[_0x1b47f9(0x14c)]&&_0x3e46e3[_0x1b47f9(0x254)]('redirect',_0x3e46e3[_0x1b47f9(0x15d)],_0x4ef6a4);}else _0x4ef6a4=_0x3e46e3[_0x1b47f9(0x230)]=_0x33d326(_0x5b6bf6);_0x5b6bf6[_0x1b47f9(0x25f)]&&_0x4ef6a4['on'](_0x1b47f9(0x25f),()=>{const _0x1bf140=_0x1b47f9;_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x1bf140(0x1d7));}),_0x4ef6a4['on']('error',_0x32e0d0=>{_0x4ef6a4===null||_0x4ef6a4[_0xd0019c]||(_0x4ef6a4=_0x3e46e3['_req']=null,_0x2470f3(_0x3e46e3,_0x32e0d0));}),_0x4ef6a4['on'](_0x1b47f9(0x200),_0x30131b=>{const _0x370b1a=_0x1b47f9,_0x38de2c=_0x30131b['headers']['location'],_0x55c2a5=_0x30131b[_0x370b1a(0x210)];if(_0x38de2c&&_0x5b6bf6[_0x370b1a(0x196)]&&_0x55c2a5>=0x12c&&_0x55c2a5<0x190){if(++_0x3e46e3[_0x370b1a(0x14c)]>_0x5b6bf6[_0x370b1a(0x162)]){_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x370b1a(0x1fb));return;}_0x4ef6a4['abort']();let _0x1dc28a;try{_0x1dc28a=new _0x383144(_0x38de2c,_0x384a05);}catch{const _0x1762ad=new SyntaxError(_0x370b1a(0x263)+_0x38de2c);_0x2470f3(_0x3e46e3,_0x1762ad);return;}_0x2938f0(_0x3e46e3,_0x1dc28a,_0x58526f,_0x3bf62d);}else _0x3e46e3['emit']('unexpected-response',_0x4ef6a4,_0x30131b)||_0x1cb01f(_0x3e46e3,_0x4ef6a4,_0x370b1a(0x17f)+_0x30131b[_0x370b1a(0x210)]);}),_0x4ef6a4['on'](_0x1b47f9(0x1d5),(_0x895789,_0xba73c3,_0x565bdb)=>{const _0x48a85e=_0x1b47f9;if(_0x3e46e3[_0x48a85e(0x254)](_0x48a85e(0x1d5),_0x895789),_0x3e46e3[_0x48a85e(0x1ac)]!==_0x1f79c3['CONNECTING'])return;_0x4ef6a4=_0x3e46e3[_0x48a85e(0x230)]=null;const _0x4ebf1e=_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x1d5)];if(_0x4ebf1e===void 0x0||_0x4ebf1e[_0x48a85e(0x235)]()!==_0x48a85e(0x203)){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x15a));return;}const _0x2d2edc=_0x9b1b11('sha1')[_0x48a85e(0x18a)](_0x46c1c0+_0x44a1c2)[_0x48a85e(0x134)](_0x48a85e(0x24d));if(_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x28a)]!==_0x2d2edc){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x112));return;}const _0x2fc567=_0x895789['headers'][_0x48a85e(0x19c)];let _0x489dbd;if(_0x2fc567!==void 0x0?_0x4d6709[_0x48a85e(0x187)]?_0x4d6709[_0x48a85e(0x20e)](_0x2fc567)||(_0x489dbd=_0x48a85e(0x28b)):_0x489dbd='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4d6709[_0x48a85e(0x187)]&&(_0x489dbd='Server\x20sent\x20no\x20subprotocol'),_0x489dbd){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x489dbd);return;}_0x2fc567&&(_0x3e46e3[_0x48a85e(0x11e)]=_0x2fc567);const _0x13aa3c=_0x895789[_0x48a85e(0x12f)][_0x48a85e(0x119)];if(_0x13aa3c!==void 0x0){if(!_0xabd5cc){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x267));return;}let _0x5bf4cd;try{_0x5bf4cd=_0x42aeb9(_0x13aa3c);}catch{_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x151));return;}const _0x3b27b1=Object[_0x48a85e(0x1fa)](_0x5bf4cd);if(_0x3b27b1['length']!==0x1||_0x3b27b1[0x0]!==_0x151b4d[_0x48a85e(0x2a3)]){_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x24c));return;}try{_0xabd5cc[_0x48a85e(0x205)](_0x5bf4cd[_0x151b4d[_0x48a85e(0x2a3)]]);}catch{_0x1cb01f(_0x3e46e3,_0xba73c3,_0x48a85e(0x151));return;}_0x3e46e3[_0x48a85e(0x291)][_0x151b4d[_0x48a85e(0x2a3)]]=_0xabd5cc;}_0x3e46e3[_0x48a85e(0x26a)](_0xba73c3,_0x565bdb,{'allowSynchronousEvents':_0x5b6bf6[_0x48a85e(0x1d0)],'generateMask':_0x5b6bf6['generateMask'],'maxPayload':_0x5b6bf6[_0x48a85e(0x169)],'skipUTF8Validation':_0x5b6bf6['skipUTF8Validation']});}),_0x5b6bf6[_0x1b47f9(0x10d)]?_0x5b6bf6[_0x1b47f9(0x10d)](_0x4ef6a4,_0x3e46e3):_0x4ef6a4[_0x1b47f9(0x294)]();}function _0x2470f3(_0x4f8a4d,_0x4ac4f1){const _0x407f2d=_0x268043;_0x4f8a4d[_0x407f2d(0x1b2)]=_0x1f79c3[_0x407f2d(0x287)],_0x4f8a4d[_0x407f2d(0x11c)]=!0x0,_0x4f8a4d[_0x407f2d(0x254)](_0x407f2d(0x171),_0x4ac4f1),_0x4f8a4d[_0x407f2d(0x193)]();}function _0x52857a(_0x5c7ccf){const _0x307567=_0x268043;return _0x5c7ccf[_0x307567(0x163)]=_0x5c7ccf['socketPath'],_0x730561[_0x307567(0x121)](_0x5c7ccf);}function _0x236f54(_0x4ba0ea){const _0x1c8569=_0x268043;return _0x4ba0ea['path']=void 0x0,!_0x4ba0ea[_0x1c8569(0x182)]&&_0x4ba0ea[_0x1c8569(0x182)]!==''&&(_0x4ba0ea[_0x1c8569(0x182)]=_0x730561[_0x1c8569(0x222)](_0x4ba0ea[_0x1c8569(0x298)])?'':_0x4ba0ea[_0x1c8569(0x298)]),_0x194af6[_0x1c8569(0x121)](_0x4ba0ea);}function _0x1cb01f(_0x5577d3,_0x3f5744,_0x39ce40){const _0x30b3f3=_0x268043;_0x5577d3[_0x30b3f3(0x1b2)]=_0x1f79c3[_0x30b3f3(0x287)];const _0x2c9d44=new Error(_0x39ce40);Error['captureStackTrace'](_0x2c9d44,_0x1cb01f),_0x3f5744['setHeader']?(_0x3f5744[_0xd0019c]=!0x0,_0x3f5744[_0x30b3f3(0x18f)](),_0x3f5744[_0x30b3f3(0x1cb)]&&!_0x3f5744['socket'][_0x30b3f3(0x280)]&&_0x3f5744[_0x30b3f3(0x1cb)][_0x30b3f3(0x238)](),process[_0x30b3f3(0x199)](_0x2470f3,_0x5577d3,_0x2c9d44)):(_0x3f5744[_0x30b3f3(0x238)](_0x2c9d44),_0x3f5744[_0x30b3f3(0x278)](_0x30b3f3(0x171),_0x5577d3[_0x30b3f3(0x254)][_0x30b3f3(0x213)](_0x5577d3,_0x30b3f3(0x171))),_0x3f5744[_0x30b3f3(0x278)](_0x30b3f3(0x28d),_0x5577d3['emitClose']['bind'](_0x5577d3)));}function _0x20293a(_0x1cc922,_0xb13780,_0x4f6db7){const _0x5442c2=_0x268043;if(_0xb13780){const _0x675294=_0x5417e5(_0xb13780)?_0xb13780[_0x5442c2(0x187)]:_0x4d2555(_0xb13780)[_0x5442c2(0x276)];_0x1cc922[_0x5442c2(0x173)]?_0x1cc922[_0x5442c2(0xf6)]['_bufferedBytes']+=_0x675294:_0x1cc922[_0x5442c2(0xf2)]+=_0x675294;}if(_0x4f6db7){const _0x23919a=new Error(_0x5442c2(0xfa)+_0x1cc922['readyState']+'\x20('+_0x253407[_0x1cc922['readyState']]+')');process[_0x5442c2(0x199)](_0x4f6db7,_0x23919a);}}function _0x20fd77(_0x1dad99,_0x108cec){const _0x59964a=_0x268043,_0x5d5c9d=this[_0x505062];_0x5d5c9d[_0x59964a(0x11f)]=!0x0,_0x5d5c9d['_closeMessage']=_0x108cec,_0x5d5c9d[_0x59964a(0x180)]=_0x1dad99,_0x5d5c9d[_0x59964a(0x173)][_0x505062]!==void 0x0&&(_0x5d5c9d[_0x59964a(0x173)]['removeListener'](_0x59964a(0x23a),_0x2d46e0),process[_0x59964a(0x199)](_0x4a104b,_0x5d5c9d[_0x59964a(0x173)]),_0x1dad99===0x3ed?_0x5d5c9d[_0x59964a(0x28d)]():_0x5d5c9d[_0x59964a(0x28d)](_0x1dad99,_0x108cec));}function _0x2c543a(){const _0x2461d2=_0x268043,_0x4ecda9=this[_0x505062];_0x4ecda9['isPaused']||_0x4ecda9['_socket'][_0x2461d2(0x27c)]();}function _0xbac3fb(_0x2aa43a){const _0x3b3e33=_0x268043,_0x163d4e=this[_0x505062];_0x163d4e['_socket'][_0x505062]!==void 0x0&&(_0x163d4e[_0x3b3e33(0x173)][_0x3b3e33(0x2a0)]('data',_0x2d46e0),process['nextTick'](_0x4a104b,_0x163d4e[_0x3b3e33(0x173)]),_0x163d4e['close'](_0x2aa43a[_0x3041d3])),_0x163d4e['_errorEmitted']||(_0x163d4e[_0x3b3e33(0x11c)]=!0x0,_0x163d4e[_0x3b3e33(0x254)]('error',_0x2aa43a));}function _0x4514d5(){const _0x1e1607=_0x268043;this[_0x505062][_0x1e1607(0x193)]();}function _0xe7a077(_0x5abc7f,_0x298abf){const _0x52c8a2=_0x268043;this[_0x505062][_0x52c8a2(0x254)](_0x52c8a2(0x16a),_0x5abc7f,_0x298abf);}function _0x2446ac(_0x178521){const _0x597d6e=_0x268043,_0x2cf755=this[_0x505062];_0x2cf755[_0x597d6e(0xfb)]&&_0x2cf755[_0x597d6e(0x209)](_0x178521,!this[_0x597d6e(0x159)],_0x5ce3e3),_0x2cf755[_0x597d6e(0x254)](_0x597d6e(0x103),_0x178521);}function _0x560453(_0xed9b26){this[_0x505062]['emit']('pong',_0xed9b26);}function _0x4a104b(_0x1bbf69){const _0x343e41=_0x268043;_0x1bbf69[_0x343e41(0x27c)]();}function _0x10a80e(_0x5321db){const _0x2b00b5=_0x268043,_0x34d904=this[_0x505062];_0x34d904['readyState']!==_0x1f79c3[_0x2b00b5(0x29c)]&&(_0x34d904['readyState']===_0x1f79c3[_0x2b00b5(0x1cf)]&&(_0x34d904[_0x2b00b5(0x1b2)]=_0x1f79c3['CLOSING'],_0x13785b(_0x34d904)),this[_0x2b00b5(0x173)][_0x2b00b5(0x294)](),_0x34d904[_0x2b00b5(0x11c)]||(_0x34d904[_0x2b00b5(0x11c)]=!0x0,_0x34d904['emit'](_0x2b00b5(0x171),_0x5321db)));}function _0x13785b(_0x524381){const _0x1ea957=_0x268043;_0x524381[_0x1ea957(0x15b)]=setTimeout(_0x524381[_0x1ea957(0x173)][_0x1ea957(0x238)][_0x1ea957(0x213)](_0x524381[_0x1ea957(0x173)]),_0x2d60f8);}function _0x4487c4(){const _0x53be25=_0x268043,_0x4965da=this[_0x505062];this[_0x53be25(0x2a0)](_0x53be25(0x28d),_0x4487c4),this[_0x53be25(0x2a0)]('data',_0x2d46e0),this[_0x53be25(0x2a0)](_0x53be25(0x294),_0x485510),_0x4965da[_0x53be25(0x1b2)]=_0x1f79c3['CLOSING'];let _0x128ac3;!this[_0x53be25(0x17a)][_0x53be25(0x188)]&&!_0x4965da[_0x53be25(0x11f)]&&!_0x4965da['_receiver']['_writableState'][_0x53be25(0x23c)]&&(_0x128ac3=_0x4965da['_socket']['read']())!==null&&_0x4965da['_receiver'][_0x53be25(0x1df)](_0x128ac3),_0x4965da['_receiver'][_0x53be25(0x294)](),this[_0x505062]=void 0x0,clearTimeout(_0x4965da[_0x53be25(0x15b)]),_0x4965da[_0x53be25(0x275)]['_writableState'][_0x53be25(0x23f)]||_0x4965da['_receiver'][_0x53be25(0x1a3)]['errorEmitted']?_0x4965da[_0x53be25(0x193)]():(_0x4965da[_0x53be25(0x275)]['on']('error',_0x4514d5),_0x4965da[_0x53be25(0x275)]['on']('finish',_0x4514d5));}function _0x2d46e0(_0x4d6f10){const _0x1642a9=_0x268043;this[_0x505062]['_receiver'][_0x1642a9(0x1df)](_0x4d6f10)||this[_0x1642a9(0x150)]();}function _0x485510(){const _0x3481a6=_0x268043,_0xcf5c39=this[_0x505062];_0xcf5c39[_0x3481a6(0x1b2)]=_0x1f79c3['CLOSING'],_0xcf5c39[_0x3481a6(0x275)]['end'](),this[_0x3481a6(0x294)]();}function _0x4f5ba6(){const _0x18617c=_0x268043,_0x2865a6=this[_0x505062];this[_0x18617c(0x2a0)]('error',_0x4f5ba6),this['on'](_0x18617c(0x171),_0x5ce3e3),_0x2865a6&&(_0x2865a6['_readyState']=_0x1f79c3[_0x18617c(0x287)],this[_0x18617c(0x238)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x5590b4}=_0x148c11;function _0xee391f(_0xad1112){const _0x567d5a=_0x1936;_0xad1112[_0x567d5a(0x254)](_0x567d5a(0x28d));}function _0x510976(){const _0x301e4d=_0x1936;!this['destroyed']&&this['_writableState'][_0x301e4d(0x23f)]&&this[_0x301e4d(0x238)]();}function _0x124a02(_0xf8c8b4){const _0x387d44=_0x1936;this['removeListener'](_0x387d44(0x171),_0x124a02),this[_0x387d44(0x238)](),this[_0x387d44(0x109)](_0x387d44(0x171))===0x0&&this[_0x387d44(0x254)]('error',_0xf8c8b4);}function _0x1244c6(_0xe4deba,_0x34a103){const _0x1250fb=_0x1936;let _0x1cf5ab=!0x0;const _0x5457c5=new _0x5590b4({..._0x34a103,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xe4deba['on']('message',function(_0x51dd14,_0x3c1a7){const _0x2e45ac=_0x1936,_0x450290=!_0x3c1a7&&_0x5457c5[_0x2e45ac(0x17a)][_0x2e45ac(0x138)]?_0x51dd14[_0x2e45ac(0x1b4)]():_0x51dd14;_0x5457c5[_0x2e45ac(0x132)](_0x450290)||_0xe4deba['pause']();}),_0xe4deba[_0x1250fb(0x278)](_0x1250fb(0x171),function(_0x4a5ec3){const _0x164402=_0x1250fb;_0x5457c5['destroyed']||(_0x1cf5ab=!0x1,_0x5457c5[_0x164402(0x238)](_0x4a5ec3));}),_0xe4deba[_0x1250fb(0x278)](_0x1250fb(0x28d),function(){_0x5457c5['destroyed']||_0x5457c5['push'](null);}),_0x5457c5[_0x1250fb(0x156)]=function(_0x4c4af6,_0x323615){const _0x121286=_0x1250fb;if(_0xe4deba[_0x121286(0x1ac)]===_0xe4deba[_0x121286(0x29c)]){_0x323615(_0x4c4af6),process['nextTick'](_0xee391f,_0x5457c5);return;}let _0x59c0d5=!0x1;_0xe4deba['once'](_0x121286(0x171),function(_0x1d1ce4){_0x59c0d5=!0x0,_0x323615(_0x1d1ce4);}),_0xe4deba[_0x121286(0x278)]('close',function(){const _0x5e02a9=_0x121286;_0x59c0d5||_0x323615(_0x4c4af6),process[_0x5e02a9(0x199)](_0xee391f,_0x5457c5);}),_0x1cf5ab&&_0xe4deba[_0x121286(0x116)]();},_0x5457c5[_0x1250fb(0x1a1)]=function(_0xae4c60){const _0x2002f9=_0x1250fb;if(_0xe4deba[_0x2002f9(0x1ac)]===_0xe4deba['CONNECTING']){_0xe4deba[_0x2002f9(0x278)]('open',function(){_0x5457c5['_final'](_0xae4c60);});return;}_0xe4deba[_0x2002f9(0x173)]!==null&&(_0xe4deba[_0x2002f9(0x173)][_0x2002f9(0x1a3)]['finished']?(_0xae4c60(),_0x5457c5[_0x2002f9(0x17a)][_0x2002f9(0x188)]&&_0x5457c5[_0x2002f9(0x238)]()):(_0xe4deba['_socket']['once'](_0x2002f9(0x1c1),function(){_0xae4c60();}),_0xe4deba[_0x2002f9(0x28d)]()));},_0x5457c5[_0x1250fb(0x226)]=function(){const _0x46810d=_0x1250fb;_0xe4deba['isPaused']&&_0xe4deba[_0x46810d(0x27c)]();},_0x5457c5[_0x1250fb(0x299)]=function(_0x1042e0,_0x26ffde,_0x19bf8b){const _0x4051f0=_0x1250fb;if(_0xe4deba[_0x4051f0(0x1ac)]===_0xe4deba[_0x4051f0(0x274)]){_0xe4deba[_0x4051f0(0x278)](_0x4051f0(0x201),function(){const _0x1ab111=_0x4051f0;_0x5457c5[_0x1ab111(0x299)](_0x1042e0,_0x26ffde,_0x19bf8b);});return;}_0xe4deba[_0x4051f0(0x18b)](_0x1042e0,_0x19bf8b);},_0x5457c5['on']('end',_0x510976),_0x5457c5['on']('error',_0x124a02),_0x5457c5;}return Oe=_0x1244c6,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1ca11f}=ne();function _0x4edfbc(_0x5afd30){const _0x17f703=_0x1936,_0x20e8c2=new Set();let _0x106548=-0x1,_0x407ffb=-0x1,_0x1f798c=0x0;for(_0x1f798c;_0x1f798c<_0x5afd30['length'];_0x1f798c++){const _0x254756=_0x5afd30[_0x17f703(0x25c)](_0x1f798c);if(_0x407ffb===-0x1&&_0x1ca11f[_0x254756]===0x1)_0x106548===-0x1&&(_0x106548=_0x1f798c);else{if(_0x1f798c!==0x0&&(_0x254756===0x20||_0x254756===0x9))_0x407ffb===-0x1&&_0x106548!==-0x1&&(_0x407ffb=_0x1f798c);else{if(_0x254756===0x2c){if(_0x106548===-0x1)throw new SyntaxError(_0x17f703(0x153)+_0x1f798c);_0x407ffb===-0x1&&(_0x407ffb=_0x1f798c);const _0x45a517=_0x5afd30[_0x17f703(0x154)](_0x106548,_0x407ffb);if(_0x20e8c2[_0x17f703(0x20e)](_0x45a517))throw new SyntaxError(_0x17f703(0x1c4)+_0x45a517+_0x17f703(0x106));_0x20e8c2[_0x17f703(0x1e1)](_0x45a517),_0x106548=_0x407ffb=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f798c);}}}if(_0x106548===-0x1||_0x407ffb!==-0x1)throw new SyntaxError(_0x17f703(0x1a0));const _0x520cec=_0x5afd30[_0x17f703(0x154)](_0x106548,_0x1f798c);if(_0x20e8c2[_0x17f703(0x20e)](_0x520cec))throw new SyntaxError(_0x17f703(0x1c4)+_0x520cec+_0x17f703(0x106));return _0x20e8c2[_0x17f703(0x1e1)](_0x520cec),_0x20e8c2;}return Ce={'parse':_0x4edfbc},Ce;}var Te,ot;function er(){const _0x4c2171=_0x3d72a4;if(ot)return Te;ot=0x1;const _0x2bf2dc=_0x268bbd,_0x542cbb=_0x3896f7,{Duplex:_0x523ab5}=_0x148c11,{createHash:_0x1c0362}=_0x4426fe,_0xd2cd2c=pt(),_0xc5ab=he(),_0x335281=Jt(),_0x404128=Ie(),{GUID:_0x3cbe59,kWebSocket:_0x5a8f8c}=V(),_0x3ce59f=/^[+/0-9A-Za-z]{22}==$/,_0x3bc4d7=0x0,_0x69b136=0x1,_0x33f596=0x2;class _0x3e8c69 extends _0x2bf2dc{constructor(_0x5bdcf8,_0x506072){const _0x28ca1b=_0x1936;if(super(),_0x5bdcf8={'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':_0x404128,..._0x5bdcf8},_0x5bdcf8[_0x28ca1b(0x26b)]==null&&!_0x5bdcf8[_0x28ca1b(0x139)]&&!_0x5bdcf8['noServer']||_0x5bdcf8[_0x28ca1b(0x26b)]!=null&&(_0x5bdcf8[_0x28ca1b(0x139)]||_0x5bdcf8[_0x28ca1b(0x117)])||_0x5bdcf8[_0x28ca1b(0x139)]&&_0x5bdcf8[_0x28ca1b(0x117)])throw new TypeError(_0x28ca1b(0x1bb));if(_0x5bdcf8['port']!=null?(this[_0x28ca1b(0x141)]=_0x542cbb['createServer']((_0x55fbbc,_0x4131f1)=>{const _0x5a3322=_0x28ca1b,_0x18407e=_0x542cbb['STATUS_CODES'][0x1aa];_0x4131f1[_0x5a3322(0x277)](0x1aa,{'Content-Length':_0x18407e['length'],'Content-Type':_0x5a3322(0x24e)}),_0x4131f1[_0x5a3322(0x294)](_0x18407e);}),this['_server'][_0x28ca1b(0x1d8)](_0x5bdcf8[_0x28ca1b(0x26b)],_0x5bdcf8[_0x28ca1b(0x298)],_0x5bdcf8[_0x28ca1b(0x19b)],_0x506072)):_0x5bdcf8[_0x28ca1b(0x139)]&&(this['_server']=_0x5bdcf8[_0x28ca1b(0x139)]),this['_server']){const _0x570501=this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x129));this['_removeListeners']=_0x303e0f(this[_0x28ca1b(0x141)],{'listening':this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x178)),'error':this[_0x28ca1b(0x254)][_0x28ca1b(0x213)](this,_0x28ca1b(0x171)),'upgrade':(_0x506c6f,_0x2ed208,_0x228c33)=>{this['handleUpgrade'](_0x506c6f,_0x2ed208,_0x228c33,_0x570501);}});}_0x5bdcf8[_0x28ca1b(0x251)]===!0x0&&(_0x5bdcf8[_0x28ca1b(0x251)]={}),_0x5bdcf8[_0x28ca1b(0x244)]&&(this[_0x28ca1b(0x1ff)]=new Set(),this[_0x28ca1b(0x246)]=!0x1),this['options']=_0x5bdcf8,this[_0x28ca1b(0x1f5)]=_0x3bc4d7;}[_0x4c2171(0x160)](){const _0x497fbf=_0x4c2171;if(this[_0x497fbf(0x27d)][_0x497fbf(0x117)])throw new Error(_0x497fbf(0x1a4));return this['_server']?this[_0x497fbf(0x141)][_0x497fbf(0x160)]():null;}[_0x4c2171(0x28d)](_0x4771f4){const _0x10217f=_0x4c2171;if(this['_state']===_0x33f596){_0x4771f4&&this[_0x10217f(0x278)](_0x10217f(0x28d),()=>{_0x4771f4(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x10217f(0x199)](_0x3c8f02,this);return;}if(_0x4771f4&&this['once']('close',_0x4771f4),this[_0x10217f(0x1f5)]!==_0x69b136){if(this[_0x10217f(0x1f5)]=_0x69b136,this[_0x10217f(0x27d)][_0x10217f(0x117)]||this[_0x10217f(0x27d)][_0x10217f(0x139)])this[_0x10217f(0x141)]&&(this[_0x10217f(0x177)](),this[_0x10217f(0x177)]=this[_0x10217f(0x141)]=null),this[_0x10217f(0x1ff)]?this[_0x10217f(0x1ff)][_0x10217f(0x187)]?this[_0x10217f(0x246)]=!0x0:process['nextTick'](_0x3c8f02,this):process[_0x10217f(0x199)](_0x3c8f02,this);else{const _0x3de5dc=this[_0x10217f(0x141)];this[_0x10217f(0x177)](),this[_0x10217f(0x177)]=this['_server']=null,_0x3de5dc[_0x10217f(0x28d)](()=>{_0x3c8f02(this);});}}}[_0x4c2171(0x27e)](_0x988cc5){const _0x40dd7e=_0x4c2171;if(this[_0x40dd7e(0x27d)][_0x40dd7e(0x163)]){const _0x28f44d=_0x988cc5[_0x40dd7e(0x15d)][_0x40dd7e(0x1bd)]('?');if((_0x28f44d!==-0x1?_0x988cc5[_0x40dd7e(0x15d)][_0x40dd7e(0x154)](0x0,_0x28f44d):_0x988cc5[_0x40dd7e(0x15d)])!==this[_0x40dd7e(0x27d)]['path'])return!0x1;}return!0x0;}[_0x4c2171(0x14e)](_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4){const _0xd591cf=_0x4c2171;_0x19fe7a['on'](_0xd591cf(0x171),_0x33b836);const _0x2ef312=_0xfc18a1['headers'][_0xd591cf(0x1d6)],_0xb73182=_0xfc18a1['headers']['upgrade'],_0x40f472=+_0xfc18a1[_0xd591cf(0x12f)][_0xd591cf(0x260)];if(_0xfc18a1['method']!==_0xd591cf(0x286)){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x195,_0xd591cf(0x21e));return;}if(_0xb73182===void 0x0||_0xb73182[_0xd591cf(0x235)]()!=='websocket'){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2ef312===void 0x0||!_0x3ce59f[_0xd591cf(0x104)](_0x2ef312)){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,_0xd591cf(0x26c));return;}if(_0x40f472!==0x8&&_0x40f472!==0xd){_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xd591cf(0x27e)](_0xfc18a1)){_0x2be19(_0x19fe7a,0x190);return;}const _0x347f58=_0xfc18a1[_0xd591cf(0x12f)][_0xd591cf(0x19c)];let _0x7a84bb=new Set();if(_0x347f58!==void 0x0)try{_0x7a84bb=_0x335281[_0xd591cf(0x1f6)](_0x347f58);}catch{_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,_0xd591cf(0x165));return;}const _0x3441c2=_0xfc18a1[_0xd591cf(0x12f)]['sec-websocket-extensions'],_0x1a56ea={};if(this[_0xd591cf(0x27d)][_0xd591cf(0x251)]&&_0x3441c2!==void 0x0){const _0x51b979=new _0xc5ab(this['options'][_0xd591cf(0x251)],!0x0,this[_0xd591cf(0x27d)][_0xd591cf(0x169)]);try{const _0x312b74=_0xd2cd2c[_0xd591cf(0x1f6)](_0x3441c2);_0x312b74[_0xc5ab[_0xd591cf(0x2a3)]]&&(_0x51b979[_0xd591cf(0x205)](_0x312b74[_0xc5ab[_0xd591cf(0x2a3)]]),_0x1a56ea[_0xc5ab[_0xd591cf(0x2a3)]]=_0x51b979);}catch{_0x241cee(this,_0xfc18a1,_0x19fe7a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xd591cf(0x27d)]['verifyClient']){const _0x407577={'origin':_0xfc18a1[_0xd591cf(0x12f)][''+(_0x40f472===0x8?_0xd591cf(0x1a7):_0xd591cf(0x15f))],'secure':!!(_0xfc18a1[_0xd591cf(0x1cb)][_0xd591cf(0x264)]||_0xfc18a1['socket'][_0xd591cf(0x20b)]),'req':_0xfc18a1};if(this[_0xd591cf(0x27d)][_0xd591cf(0x1ee)][_0xd591cf(0x276)]===0x2){this[_0xd591cf(0x27d)][_0xd591cf(0x1ee)](_0x407577,(_0x20cdec,_0x222229,_0x2a4113,_0x456f54)=>{if(!_0x20cdec)return _0x2be19(_0x19fe7a,_0x222229||0x191,_0x2a4113,_0x456f54);this['completeUpgrade'](_0x1a56ea,_0x2ef312,_0x7a84bb,_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4);});return;}if(!this['options'][_0xd591cf(0x1ee)](_0x407577))return _0x2be19(_0x19fe7a,0x191);}this[_0xd591cf(0xfd)](_0x1a56ea,_0x2ef312,_0x7a84bb,_0xfc18a1,_0x19fe7a,_0x10c502,_0x29b9f4);}['completeUpgrade'](_0x2747e4,_0x11c26d,_0x52d24f,_0x36d169,_0x55358e,_0x1c3bb7,_0x198f7f){const _0x54941d=_0x4c2171;if(!_0x55358e[_0x54941d(0x25b)]||!_0x55358e['writable'])return _0x55358e[_0x54941d(0x238)]();if(_0x55358e[_0x5a8f8c])throw new Error(_0x54941d(0x206));if(this[_0x54941d(0x1f5)]>_0x3bc4d7)return _0x2be19(_0x55358e,0x1f7);const _0x5f264e=[_0x54941d(0x16f),_0x54941d(0x229),_0x54941d(0x23d),_0x54941d(0x18c)+_0x1c0362(_0x54941d(0x24f))['update'](_0x11c26d+_0x3cbe59)[_0x54941d(0x134)]('base64')],_0x2e8082=new this['options'][(_0x54941d(0x1a9))](null,void 0x0,this[_0x54941d(0x27d)]);if(_0x52d24f[_0x54941d(0x187)]){const _0x534b95=this['options'][_0x54941d(0x234)]?this[_0x54941d(0x27d)][_0x54941d(0x234)](_0x52d24f,_0x36d169):_0x52d24f['values']()['next']()[_0x54941d(0x167)];_0x534b95&&(_0x5f264e[_0x54941d(0x132)](_0x54941d(0x22a)+_0x534b95),_0x2e8082[_0x54941d(0x11e)]=_0x534b95);}if(_0x2747e4[_0xc5ab[_0x54941d(0x2a3)]]){const _0x447062=_0x2747e4[_0xc5ab[_0x54941d(0x2a3)]][_0x54941d(0x105)],_0x509734=_0xd2cd2c[_0x54941d(0x149)]({[_0xc5ab[_0x54941d(0x2a3)]]:[_0x447062]});_0x5f264e['push'](_0x54941d(0x16d)+_0x509734),_0x2e8082[_0x54941d(0x291)]=_0x2747e4;}this[_0x54941d(0x254)](_0x54941d(0x12f),_0x5f264e,_0x36d169),_0x55358e[_0x54941d(0x1df)](_0x5f264e[_0x54941d(0x1bf)]('\x0d\x0a')['join']('\x0d\x0a')),_0x55358e[_0x54941d(0x2a0)](_0x54941d(0x171),_0x33b836),_0x2e8082[_0x54941d(0x26a)](_0x55358e,_0x1c3bb7,{'allowSynchronousEvents':this[_0x54941d(0x27d)][_0x54941d(0x1d0)],'maxPayload':this['options'][_0x54941d(0x169)],'skipUTF8Validation':this['options'][_0x54941d(0x1ab)]}),this['clients']&&(this[_0x54941d(0x1ff)]['add'](_0x2e8082),_0x2e8082['on'](_0x54941d(0x28d),()=>{const _0x2dbb27=_0x54941d;this[_0x2dbb27(0x1ff)][_0x2dbb27(0x131)](_0x2e8082),this[_0x2dbb27(0x246)]&&!this[_0x2dbb27(0x1ff)][_0x2dbb27(0x187)]&&process[_0x2dbb27(0x199)](_0x3c8f02,this);})),_0x198f7f(_0x2e8082,_0x36d169);}}Te=_0x3e8c69;function _0x303e0f(_0x5f0ce2,_0x15e412){const _0x306f3d=_0x4c2171;for(const _0x59c30a of Object[_0x306f3d(0x1fa)](_0x15e412))_0x5f0ce2['on'](_0x59c30a,_0x15e412[_0x59c30a]);return function(){const _0x53e2dd=_0x306f3d;for(const _0x2b7320 of Object[_0x53e2dd(0x1fa)](_0x15e412))_0x5f0ce2[_0x53e2dd(0x2a0)](_0x2b7320,_0x15e412[_0x2b7320]);};}function _0x3c8f02(_0xfdaadc){const _0x4552ea=_0x4c2171;_0xfdaadc[_0x4552ea(0x1f5)]=_0x33f596,_0xfdaadc[_0x4552ea(0x254)](_0x4552ea(0x28d));}function _0x33b836(){const _0x53d6bd=_0x4c2171;this[_0x53d6bd(0x238)]();}function _0x2be19(_0x2e616c,_0x1663a3,_0xfa5315,_0x41db93){const _0x2edf42=_0x4c2171;_0xfa5315=_0xfa5315||_0x542cbb[_0x2edf42(0x11b)][_0x1663a3],_0x41db93={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x2edf42(0x110)](_0xfa5315),..._0x41db93},_0x2e616c[_0x2edf42(0x278)](_0x2edf42(0x1c1),_0x2e616c[_0x2edf42(0x238)]),_0x2e616c['end'](_0x2edf42(0x268)+_0x1663a3+'\x20'+_0x542cbb['STATUS_CODES'][_0x1663a3]+'\x0d\x0a'+Object[_0x2edf42(0x1fa)](_0x41db93)[_0x2edf42(0x17d)](_0x15fc8a=>_0x15fc8a+':\x20'+_0x41db93[_0x15fc8a])[_0x2edf42(0x1fc)]('\x0d\x0a')+_0x2edf42(0x1a5)+_0xfa5315);}function _0x241cee(_0x4cd0d5,_0x32d7c8,_0x298756,_0x398ebf,_0x2559e8){const _0x6e7b15=_0x4c2171;if(_0x4cd0d5['listenerCount'](_0x6e7b15(0x207))){const _0x3348ee=new Error(_0x2559e8);Error['captureStackTrace'](_0x3348ee,_0x241cee),_0x4cd0d5[_0x6e7b15(0x254)](_0x6e7b15(0x207),_0x3348ee,_0x298756,_0x32d7c8);}else _0x2be19(_0x298756,_0x398ebf,_0x2559e8);}return Te;}er();var tr=Object[_0x3d72a4(0x202)],rr=(_0x5ad562,_0x2698eb,_0x2e2033,_0x2c4dfa)=>{const _0x54bd2a=_0x3d72a4;for(var _0x1bed8e=_0x2c4dfa>0x1?void 0x0:_0x2c4dfa?tr(_0x2698eb,_0x2e2033):_0x2698eb,_0x351f13=_0x5ad562[_0x54bd2a(0x276)]-0x1,_0x4ba0e9;_0x351f13>=0x0;_0x351f13--)(_0x4ba0e9=_0x5ad562[_0x351f13])&&(_0x1bed8e=_0x4ba0e9(_0x1bed8e)||_0x1bed8e);return _0x1bed8e;},sr=(_0x4d09b2,_0x8dcce5)=>(_0x3d2d78,_0x31f189)=>_0x8dcce5(_0x3d2d78,_0x31f189,_0x4d09b2);let Ne=class extends _0x2eea3c{constructor(_0x1be274){super(),this['_configService']=_0x1be274;}[_0x3d72a4(0x10b)](_0x113d6e){const _0x40e9a5=_0x3d72a4;var _0x44ecb7;const _0x5cdd1d=(_0x44ecb7=this[_0x40e9a5(0x143)][_0x40e9a5(0x192)](Be))==null?void 0x0:_0x44ecb7[_0x40e9a5(0x194)];try{const _0x215c8d=new Qt(_0x113d6e,{'headers':{..._0x5cdd1d}}),_0x40b576=new _0x51fa6b();return{'URL':_0x113d6e,'close':(_0x481e08,_0x5202f8)=>{const _0xc1866=_0x40e9a5;_0x215c8d['close'](_0x481e08,_0x5202f8),_0x40b576[_0xc1866(0x17c)]();},'send':_0x2680d2=>{const _0x581e3b=_0x40e9a5;_0x215c8d[_0x581e3b(0x18b)](_0x2680d2);},'open$':new _0x556061(_0x4defea=>{const _0x2cbc2e=_0x40e9a5,_0x50356e=_0x3ea41b=>_0x4defea[_0x2cbc2e(0x12e)](_0x3ea41b);_0x215c8d[_0x2cbc2e(0x100)](_0x2cbc2e(0x201),_0x50356e),_0x40b576['add'](_0x291a13(()=>_0x215c8d[_0x2cbc2e(0x1a8)]('open',_0x50356e)));})['pipe'](_0x4fe541()),'close$':new _0x556061(_0x39a9e7=>{const _0x44daba=_0x40e9a5,_0x547d5a=_0x51448b=>_0x39a9e7[_0x44daba(0x12e)](_0x51448b);_0x215c8d[_0x44daba(0x100)]('close',_0x547d5a),_0x40b576[_0x44daba(0x1e1)](_0x291a13(()=>_0x215c8d[_0x44daba(0x1a8)](_0x44daba(0x28d),_0x547d5a)));})[_0x40e9a5(0x15e)](_0x4fe541()),'error$':new _0x556061(_0x469cac=>{const _0x1e76c9=_0x40e9a5,_0x10667c=_0x209a57=>_0x469cac[_0x1e76c9(0x12e)](_0x209a57);_0x215c8d['addEventListener'](_0x1e76c9(0x171),_0x10667c),_0x40b576[_0x1e76c9(0x1e1)](_0x291a13(()=>_0x215c8d[_0x1e76c9(0x1a8)](_0x1e76c9(0x171),_0x10667c)));})[_0x40e9a5(0x15e)](_0x4fe541()),'message$':new _0x556061(_0x1e69c0=>{const _0x97b0d4=_0x40e9a5,_0x47a573=_0x559065=>_0x1e69c0[_0x97b0d4(0x12e)](_0x559065);_0x215c8d[_0x97b0d4(0x100)]('message',_0x47a573),_0x40b576[_0x97b0d4(0x1e1)](_0x291a13(()=>_0x215c8d[_0x97b0d4(0x1a8)](_0x97b0d4(0x16a),_0x47a573)));})['pipe'](_0x4fe541())};}catch(_0x3ff720){return console[_0x40e9a5(0x171)](_0x3ff720),null;}}};Ne=rr([sr(0x0,_0x16db79)],Ne);var ir=Object[_0x3d72a4(0x175)],nr=Object[_0x3d72a4(0x202)],or=(_0x1bff38,_0xd4555e,_0x4e4912)=>_0xd4555e in _0x1bff38?ir(_0x1bff38,_0xd4555e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e4912}):_0x1bff38[_0xd4555e]=_0x4e4912,ar=(_0x387638,_0x296762,_0x4fa7c4,_0x31c04d)=>{for(var _0x50706e=_0x31c04d>0x1?void 0x0:_0x31c04d?nr(_0x296762,_0x4fa7c4):_0x296762,_0x1f5397=_0x387638['length']-0x1,_0x2468b3;_0x1f5397>=0x0;_0x1f5397--)(_0x2468b3=_0x387638[_0x1f5397])&&(_0x50706e=_0x2468b3(_0x50706e)||_0x50706e);return _0x50706e;},ke=(_0x33a1c7,_0x289cac)=>(_0xf9a52c,_0x155c8a)=>_0x289cac(_0xf9a52c,_0x155c8a,_0x33a1c7),lr=(_0x4ad999,_0x163c25,_0x3d7974)=>or(_0x4ad999,_0x163c25+'',_0x3d7974);let Pe=class extends _0x2ca593{constructor(_0x41e5d1=Ft,_0x147b94,_0x5784c4,_0x401b36){const _0x4aba06=_0x3d72a4;_0x41e5d1[_0x4aba06(0x194)]||_0x147b94['warn'](_0x4aba06(0x17b)),super(),this['_configService']=_0x5784c4,this['_injector']=_0x401b36,this[_0x4aba06(0x143)][_0x4aba06(0x166)](Be,_0x41e5d1);}[_0x3d72a4(0x21b)](){const _0x2b7f0a=_0x3d72a4;this[_0x2b7f0a(0x1b8)]();}[_0x3d72a4(0x1b8)](){const _0x2be493=_0x3d72a4;_0x34b9fc(this[_0x2be493(0x1b9)],[[_0x44f3db,{'useClass':Ne}]]);}};lr(Pe,_0x3d72a4(0x21d),_0x3d72a4(0x16b)),Pe=ar([_0x1adaff(_0x60d295),ke(0x1,_0x1d04d4),ke(0x2,_0x16db79),ke(0x3,_0x302347(_0x3595c3))],Pe);var fr=Object[_0x3d72a4(0x202)],cr=(_0xd9ae0d,_0x300f8a,_0xb03e34,_0x31075d)=>{const _0x167dbe=_0x3d72a4;for(var _0x165ad1=_0x31075d>0x1?void 0x0:_0x31075d?fr(_0x300f8a,_0xb03e34):_0x300f8a,_0x5dcbc2=_0xd9ae0d[_0x167dbe(0x276)]-0x1,_0x2d6194;_0x5dcbc2>=0x0;_0x5dcbc2--)(_0x2d6194=_0xd9ae0d[_0x5dcbc2])&&(_0x165ad1=_0x2d6194(_0x165ad1)||_0x165ad1);return _0x165ad1;},se=(_0x192172,_0xabd0f4)=>(_0x226f3b,_0x26245c)=>_0xabd0f4(_0x226f3b,_0x26245c,_0x192172);let at=class extends _0x4cda74{constructor(_0x5cb120,_0x16dafa,_0x168ed5,_0x3e432d,_0x14d2b3){const _0x3a5abd=_0x3d72a4;super(_0x5cb120,_0x16dafa,_0x168ed5,_0x3e432d,_0x14d2b3);const _0xc11748=this[_0x3a5abd(0x143)]['getConfig'](Be);this['_httpService'][_0x3a5abd(0x111)]({'interceptor':(_0x1ec7c3,_0x533e48)=>{const _0x12aa68=_0x3a5abd;var _0x4d2d0a;const _0x4e7746=_0x1ec7c3[_0x12aa68(0x12f)];return(_0x4d2d0a=_0xc11748==null?void 0x0:_0xc11748[_0x12aa68(0x194)])!=null&&_0x4d2d0a[_0x12aa68(0x115)]&&_0x4e7746['set'](_0x12aa68(0x245),_0xc11748[_0x12aa68(0x194)][_0x12aa68(0x115)]),_0x533e48(_0x1ec7c3);}});}async[_0x3d72a4(0x10b)](_0x2a209e){const _0xc82e87=_0x3d72a4;return this[_0xc82e87(0x1c2)](_0x2a209e);}};at=cr([se(0x0,_0x302347(_0x3595c3)),se(0x1,_0x302347(_0x48bd27)),se(0x2,_0x16db79),se(0x3,_0x1d04d4),se(0x4,_0x17190c)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|