@univerjs-pro/collaboration-client-node 0.8.0-beta.0 → 0.8.0-nightly.202505271607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x15f6c9=_0x840b;(function(_0x28297a,_0x1fe71d){const _0x50bd3f=_0x840b,_0x126a32=_0x28297a();while(!![]){try{const _0x38152f=-parseInt(_0x50bd3f(0x1d6))/0x1*(parseInt(_0x50bd3f(0x193))/0x2)+parseInt(_0x50bd3f(0x173))/0x3+-parseInt(_0x50bd3f(0x120))/0x4+-parseInt(_0x50bd3f(0x16c))/0x5*(parseInt(_0x50bd3f(0x185))/0x6)+parseInt(_0x50bd3f(0x12b))/0x7+parseInt(_0x50bd3f(0x1f0))/0x8+-parseInt(_0x50bd3f(0x2b3))/0x9*(-parseInt(_0x50bd3f(0x27c))/0xa);if(_0x38152f===_0x1fe71d)break;else _0x126a32['push'](_0x126a32['shift']());}catch(_0xa4b08f){_0x126a32['push'](_0x126a32['shift']());}}}(_0x369a,0xd3349));import{UniverCollaborationClientPlugin as _0x1712f2,CollaborationSocketService as _0x30ece4}from'@univerjs-pro/collaboration-client';import{Disposable as _0x377e5d,DisposableCollection as _0x52c841,toDisposable as _0x9e3fe0,IConfigService as _0xb0deab,DependentOn as _0x3187a9,ILogService as _0x370bee,Inject as _0x23c7d9,Injector as _0x1d83c4,Plugin as _0x2f7cb9,registerDependencies as _0xf1aaa0}from'@univerjs/core';import{ISocketService as _0x22df9f,HTTPService as _0x492b06}from'@univerjs/network';import{Observable as _0x156a86,share as _0x36a070}from'rxjs';import _0x144219 from'events';import _0x188795 from'https';import _0x2a0443 from'http';import _0x5756bb from'net';import _0x8dffe6 from'tls';import _0x8b2df3 from'crypto';function _0x369a(){const _0x45232b=['byteOffset','_bufferedBytes','kDone','serverMaxWindowBits','_fragments','_originalHostOrSocketPath','_injector','_mask','_url','method','values','auth','blob','Invalid\x20WebSocket\x20frame:\x20','haveLength','readUInt32BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_errorEmitted','emitClose','WebSocket\x20is\x20not\x20open:\x20readyState\x20','server','pause','prototype','_compress','pathname','protocol','websocket','_decompress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','removeAllListeners','isArray','_destroy','_writableState','createInflateRaw','https:','WS_ERR_INVALID_UTF8','createError','zlibDeflateOptions','url','concurrency','message','address','listening','customHeaders','_bufferedAmount','_req','ws+unix:','CLOSING','toLowerCase','binaryType','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','__esModule','157869eJjMaI','kMessage','hasOwnProperty','_readyState','kByteLength','flush','toString','shift','createSocket','location','apply','ws:','isValidUTF8','bind','_opcode','unexpected-response','listeners','get','_receiver','slice','decompress','once','onerror','_queue','clientMaxWindowBits','onopen','1710464dtnejS','warn','endEmitted','File','dispose','getBlobData','authorized','stream','freeze','reset','onStarting','handleEvent','The\x20URL\x27s\x20pathname\x20is\x20empty','controlMessage','cleanup','WS_ERR_INVALID_CLOSE_CODE','Invalid\x20value\x20for\x20parameter\x20\x22','_closeMessage','sec-websocket-origin','_autoPong','jobs','rsv1','MASK\x20must\x20be\x20set','sec-websocket-key','dataMessage','test','fin','encrypted','add','_socket','destroy','finished','Invalid\x20Upgrade\x20header','split','write','collaboration-client-node.config','arraybuffer','emit','constructor','number','_inflate','kListener','dispatch','destroyed','_masked','Unexpected\x20character\x20at\x20index\x20','_sender','completeUpgrade','target','Sec-WebSocket-Protocol','socketPath','error','getOwnPropertyDescriptor','addEventListener','_isServer','unshift','conclude','port','Sec-WebSocket-Origin','drain','join','_fin','pluginName','pipe','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','concat','opcode','unmask','digest','WS_ERR_INVALID_OPCODE','hash','noServer','socket','_closeTimer','username','normalizeParams','onclose','Z_DEFAULT_WINDOWBITS','species','skipUTF8Validation','\x22\x20subprotocol\x20is\x20duplicated','_totalPayloadLength','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','redirect','base64','Invalid\x20URL:\x20','construct','_fragmented','startsWith','close','connect','from','extensions','frame','request','Invalid\x20Sec-WebSocket-Extensions\x20header','permessage-deflate','setHeader','STATUS_CODES','getMask','setConfig','pow','invalid\x20opcode\x20','allocUnsafe','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','call','invalid\x20opcode\x200','callback','keys','shouldHandle','_originalIpc','then','accept','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_NO_BUFFER_UTIL','upgrade','map','defineProperty','OPEN','Opening\x20handshake\x20has\x20timed\x20out','maxPayload','finish','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','charCodeAt','Blob','_extensions','next','end','cork','_allowSynchronousEvents','kError','kTarget','kIsForOnEventAttribute','writeHead','_skipUTF8Validation','resume','clientTracking','buffer','_paused','3350BsROjm','bufferedAmount','createConnection','listenerCount','onmessage','_deflate','Invalid\x20HTTP\x20method','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','wsClientError','arrayBuffer','RSV1\x20must\x20be\x20clear','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','abort','create','serverNoContextTakeover','setSocket','acceptAsServer','params','response','CLOSED','Unexpected\x20server\x20response:\x20','Sec-WebSocket-Extensions','FIN\x20must\x20be\x20set','The\x20\x22','text/html','_write','handleProtocols','_payloadLength','headers','length','_state','_removeListeners','statusCode','\x22:\x20','_options','allowSynchronousEvents','backlog','server_no_context_takeover','autoPong','errorEmitted','isView','function','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unknown\x20parameter\x20\x22','Connection:\x20Upgrade','Unexpected\x20end\x20of\x20input','_maskBuffer','_shouldEmitClose','Invalid\x20Sec-WebSocket-Accept\x20header','parse','pong','kData','_registerDependencies','Sec-WebSocket-Accept:\x20','Cookie','79218VWTrqM','readUInt16BE','needDrain','WebSocket','maxRedirects','cookie','path','followRedirects','objectMode','WS_ERR_UNEXPECTED_MASK','exports','perMessageDeflate','Parameter\x20\x22','_binaryType','sec-websocket-extensions','HTTP/1.1\x20','reason','writeUInt16BE','timeout','code','GET','status-code','readyState','size','_configService','_httpService','origin','_no_context_takeover','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','ping','4767868upcOBq','_closeFrameSent','acceptAsClient','client','protocolVersion','createServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','finishRequest','WS_ERR_EXPECTED_FIN','set','open','4970189BvpTLC','data','host','verifyClient','threshold','captureStackTrace','setNoDelay','sha1','_protocol','has','nextTick','isIP','Unsupported\x20protocol\x20version:\x20','extensionName','_readableState','getPayloadLength16','total-length','read','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Max\x20payload\x20size\x20exceeded','CONNECTING','nodebuffer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kWasClean','Module','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kCode','isInteger','getData','clients','defaultPort','removeListener','wasClean','hostname','catch','_threshold','_closeCode','registerHTTPInterceptor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','env','string','sendFrame','servername','_loop','concurrencyLimit','Server\x20sent\x20an\x20invalid\x20subprotocol','_doCreateSocket','byteLength','_closeFrameReceived','getPayloadLength64','clientNoContextTakeover','getInfo','wss:','client_no_context_takeover','_redirects','_buffers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_compressed','alloc','type','createDeflateRaw','href','indexOf','_firstFragment','_read','3799745Uatjze','push','buffers','_errored','delete','Z_SYNC_FLUSH','consume','148773PJeSLM','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','mask','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','compress','object','forEach','_generateMask','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','replace','sec-websocket-accept','authorization','binary','terminate','readOnly','invalid\x20UTF-8\x20sequence','dequeue','password','6JuzLEs','server_max_window_bits','find','WS_ERR_UNEXPECTED_RSV_1','default','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_messageLength','generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_max_window_bits','WS_ERR_UNEXPECTED_RSV_2_3','update','client_max_window_bits','14rsrWTe','setTimeout','enqueue','toStringTag','_maxPayload','getConfig','removeEventListener','isPaused','search','startLoop','options','_server','isBuffer','send','format'];_0x369a=function(){return _0x45232b;};return _0x369a();}import _0x107dc6 from'stream';import _0x4ea5de from'url';import _0x7c67fc from'zlib';import _0x4d5e5e from'buffer';import{ISnapshotServerService as _0x42dd48}from'@univerjs-pro/collaboration';const Be=_0x15f6c9(0x213),Ft={'customHeaders':{}};function jt(_0x1fcd44){const _0x48939e=_0x15f6c9;return _0x1fcd44&&_0x1fcd44[_0x48939e(0x1d5)]&&Object[_0x48939e(0x1b8)][_0x48939e(0x1d8)][_0x48939e(0x259)](_0x1fcd44,_0x48939e(0x189))?_0x1fcd44[_0x48939e(0x189)]:_0x1fcd44;}function ut(_0x19c322){const _0x51a7f5=_0x15f6c9;if(Object[_0x51a7f5(0x1b8)][_0x51a7f5(0x1d8)][_0x51a7f5(0x259)](_0x19c322,_0x51a7f5(0x1d5)))return _0x19c322;var _0x560eb4=_0x19c322[_0x51a7f5(0x189)];if(typeof _0x560eb4==_0x51a7f5(0x2a5)){var _0x346ebb=function _0x8087d2(){const _0x26a0f5=_0x51a7f5;return this instanceof _0x8087d2?Reflect[_0x26a0f5(0x246)](_0x560eb4,arguments,this[_0x26a0f5(0x216)]):_0x560eb4[_0x26a0f5(0x1e0)](this,arguments);};_0x346ebb[_0x51a7f5(0x1b8)]=_0x560eb4[_0x51a7f5(0x1b8)];}else _0x346ebb={};return Object['defineProperty'](_0x346ebb,_0x51a7f5(0x1d5),{'value':!0x0}),Object['keys'](_0x19c322)[_0x51a7f5(0x179)](function(_0x4da45b){const _0x5ce199=_0x51a7f5;var _0x3ae040=Object['getOwnPropertyDescriptor'](_0x19c322,_0x4da45b);Object[_0x5ce199(0x265)](_0x346ebb,_0x4da45b,_0x3ae040[_0x5ce199(0x1e7)]?_0x3ae040:{'enumerable':!0x0,'get':function(){return _0x19c322[_0x4da45b];}});}),_0x346ebb;}var te={'exports':{}},ge,Ye;function V(){const _0x4c9dcd=_0x15f6c9;if(Ye)return ge;Ye=0x1;const _0x42c07d=['nodebuffer',_0x4c9dcd(0x214),'fragments'],_0x3dc588=typeof Blob<'u';return _0x3dc588&&_0x42c07d[_0x4c9dcd(0x16d)](_0x4c9dcd(0x1ae)),ge={'BINARY_TYPES':_0x42c07d,'EMPTY_BUFFER':Buffer[_0x4c9dcd(0x165)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3dc588,'kForOnEventAttribute':Symbol(_0x4c9dcd(0x275)),'kListener':Symbol(_0x4c9dcd(0x219)),'kStatusCode':Symbol(_0x4c9dcd(0x2c8)),'kWebSocket':Symbol(_0x4c9dcd(0x1bc)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x15f6c9(0x1f8)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x15f6c9(0x196)],{'value':_0x15f6c9(0x143)})),Vt=ut(Gt);var Ke;function ce(){const _0x28d0a0=_0x15f6c9;if(Ke)return te[_0x28d0a0(0x2bd)];Ke=0x1;const {EMPTY_BUFFER:_0x1b89b2}=V(),_0x1de9ff=Buffer[Symbol['species']];function _0x3de9a8(_0x4fa359,_0x2e3084){const _0x3a9cfb=_0x28d0a0;if(_0x4fa359['length']===0x0)return _0x1b89b2;if(_0x4fa359['length']===0x1)return _0x4fa359[0x0];const _0x40f1a2=Buffer['allocUnsafe'](_0x2e3084);let _0x37e6c8=0x0;for(let _0x5c2edb=0x0;_0x5c2edb<_0x4fa359[_0x3a9cfb(0x299)];_0x5c2edb++){const _0x4b3114=_0x4fa359[_0x5c2edb];_0x40f1a2['set'](_0x4b3114,_0x37e6c8),_0x37e6c8+=_0x4b3114[_0x3a9cfb(0x299)];}return _0x37e6c8<_0x2e3084?new _0x1de9ff(_0x40f1a2[_0x3a9cfb(0x27a)],_0x40f1a2[_0x3a9cfb(0x1a2)],_0x37e6c8):_0x40f1a2;}function _0x46fc47(_0xd079a5,_0x278cc1,_0x291dda,_0x53a1f0,_0x5b35a7){for(let _0x5bc991=0x0;_0x5bc991<_0x5b35a7;_0x5bc991++)_0x291dda[_0x53a1f0+_0x5bc991]=_0xd079a5[_0x5bc991]^_0x278cc1[_0x5bc991&0x3];}function _0x1bce76(_0x56c858,_0x49bb7c){const _0xe5a3fb=_0x28d0a0;for(let _0x370e7c=0x0;_0x370e7c<_0x56c858[_0xe5a3fb(0x299)];_0x370e7c++)_0x56c858[_0x370e7c]^=_0x49bb7c[_0x370e7c&0x3];}function _0x82b408(_0x401a95){const _0x4f2115=_0x28d0a0;return _0x401a95[_0x4f2115(0x299)]===_0x401a95[_0x4f2115(0x27a)][_0x4f2115(0x15a)]?_0x401a95[_0x4f2115(0x27a)]:_0x401a95['buffer']['slice'](_0x401a95[_0x4f2115(0x1a2)],_0x401a95['byteOffset']+_0x401a95[_0x4f2115(0x299)]);}function _0x552d1f(_0xf8f14){const _0x357c0e=_0x28d0a0;if(_0x552d1f['readOnly']=!0x0,Buffer[_0x357c0e(0x19f)](_0xf8f14))return _0xf8f14;let _0xc4ffcb;return _0xf8f14 instanceof ArrayBuffer?_0xc4ffcb=new _0x1de9ff(_0xf8f14):ArrayBuffer[_0x357c0e(0x2a4)](_0xf8f14)?_0xc4ffcb=new _0x1de9ff(_0xf8f14[_0x357c0e(0x27a)],_0xf8f14[_0x357c0e(0x1a2)],_0xf8f14[_0x357c0e(0x15a)]):(_0xc4ffcb=Buffer[_0x357c0e(0x24b)](_0xf8f14),_0x552d1f['readOnly']=!0x1),_0xc4ffcb;}if(te[_0x28d0a0(0x2bd)]={'concat':_0x3de9a8,'mask':_0x46fc47,'toArrayBuffer':_0x82b408,'toBuffer':_0x552d1f,'unmask':_0x1bce76},!process[_0x28d0a0(0x152)][_0x28d0a0(0x262)])try{const _0x3f775f=Vt;te['exports'][_0x28d0a0(0x175)]=function(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4){const _0x3f1510=_0x28d0a0;_0x1d08d4<0x30?_0x46fc47(_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4):_0x3f775f[_0x3f1510(0x175)](_0xc1a0c0,_0x3d1ef9,_0x34668a,_0x1b88c1,_0x1d08d4);},te[_0x28d0a0(0x2bd)][_0x28d0a0(0x233)]=function(_0x10b614,_0xc4833){const _0xaa8580=_0x28d0a0;_0x10b614[_0xaa8580(0x299)]<0x20?_0x1bce76(_0x10b614,_0xc4833):_0x3f775f['unmask'](_0x10b614,_0xc4833);};}catch{}return te[_0x28d0a0(0x2bd)];}var ye,Xe;function qt(){const _0x51cdfb=_0x15f6c9;if(Xe)return ye;Xe=0x1;const _0x5751e5=Symbol(_0x51cdfb(0x1a4)),_0x21a759=Symbol('kRun');class _0x1a9978{constructor(_0x57c821){const _0x46a705=_0x51cdfb;this[_0x5751e5]=()=>{const _0xe179c=_0x840b;this[_0xe179c(0x26b)]--,this[_0x21a759]();},this[_0x46a705(0x1c9)]=_0x57c821||0x1/0x0,this[_0x46a705(0x204)]=[],this[_0x46a705(0x26b)]=0x0;}[_0x51cdfb(0x20c)](_0xdf8704){const _0x25fd76=_0x51cdfb;this[_0x25fd76(0x204)][_0x25fd76(0x16d)](_0xdf8704),this[_0x21a759]();}[_0x21a759](){const _0x1fa17a=_0x51cdfb;if(this[_0x1fa17a(0x26b)]!==this[_0x1fa17a(0x1c9)]&&this['jobs'][_0x1fa17a(0x299)]){const _0x3bbd31=this['jobs'][_0x1fa17a(0x1dd)]();this[_0x1fa17a(0x26b)]++,_0x3bbd31(this[_0x5751e5]);}}}return ye=_0x1a9978,ye;}var ve,Ze;function he(){const _0x1f7258=_0x15f6c9;if(Ze)return ve;Ze=0x1;const _0x28b72a=_0x7c67fc,_0x169e42=ce(),_0x365ada=qt(),{kStatusCode:_0x5764b6}=V(),_0x2b3cc6=Buffer[Symbol['species']],_0x1120a6=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2fa2e5=Symbol(_0x1f7258(0x250)),_0x331910=Symbol(_0x1f7258(0x13b)),_0x224bec=Symbol(_0x1f7258(0x25b)),_0x597e91=Symbol(_0x1f7258(0x16e)),_0x24bd93=Symbol(_0x1f7258(0x223));let _0x2d21da;class _0x5b2f8f{constructor(_0x7baaab,_0x318eb4,_0x551b2f){const _0x345aa9=_0x1f7258;if(this['_maxPayload']=_0x551b2f|0x0,this['_options']=_0x7baaab||{},this[_0x345aa9(0x14e)]=this[_0x345aa9(0x29e)]['threshold']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x12f)]:0x400,this['_isServer']=!!_0x318eb4,this[_0x345aa9(0x281)]=null,this[_0x345aa9(0x218)]=null,this[_0x345aa9(0x28d)]=null,!_0x2d21da){const _0x39ecfd=this[_0x345aa9(0x29e)]['concurrencyLimit']!==void 0x0?this[_0x345aa9(0x29e)][_0x345aa9(0x157)]:0xa;_0x2d21da=new _0x365ada(_0x39ecfd);}}static get['extensionName'](){const _0x160d86=_0x1f7258;return _0x160d86(0x250);}['offer'](){const _0x586b32=_0x1f7258,_0x21def2={};return this[_0x586b32(0x29e)]['serverNoContextTakeover']&&(_0x21def2[_0x586b32(0x2a1)]=!0x0),this[_0x586b32(0x29e)][_0x586b32(0x15d)]&&(_0x21def2[_0x586b32(0x160)]=!0x0),this['_options'][_0x586b32(0x1a5)]&&(_0x21def2[_0x586b32(0x186)]=this['_options'][_0x586b32(0x1a5)]),this[_0x586b32(0x29e)][_0x586b32(0x1ee)]?_0x21def2[_0x586b32(0x192)]=this[_0x586b32(0x29e)][_0x586b32(0x1ee)]:this['_options'][_0x586b32(0x1ee)]==null&&(_0x21def2[_0x586b32(0x192)]=!0x0),_0x21def2;}[_0x1f7258(0x260)](_0x26f236){const _0x5eb458=_0x1f7258;return _0x26f236=this['normalizeParams'](_0x26f236),this[_0x5eb458(0x28d)]=this[_0x5eb458(0x226)]?this['acceptAsServer'](_0x26f236):this['acceptAsClient'](_0x26f236),this[_0x5eb458(0x28d)];}['cleanup'](){const _0x3e1d1c=_0x1f7258;if(this[_0x3e1d1c(0x218)]&&(this[_0x3e1d1c(0x218)][_0x3e1d1c(0x249)](),this[_0x3e1d1c(0x218)]=null),this[_0x3e1d1c(0x281)]){const _0x506c2e=this['_deflate'][_0x224bec];this[_0x3e1d1c(0x281)]['close'](),this[_0x3e1d1c(0x281)]=null,_0x506c2e&&_0x506c2e(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1f7258(0x28c)](_0x116715){const _0xd7a6b3=_0x1f7258,_0x283e1d=this[_0xd7a6b3(0x29e)],_0x4aa0bd=_0x116715[_0xd7a6b3(0x187)](_0x51ad85=>!(_0x283e1d['serverNoContextTakeover']===!0x1&&_0x51ad85[_0xd7a6b3(0x2a1)]||_0x51ad85[_0xd7a6b3(0x186)]&&(_0x283e1d['serverMaxWindowBits']===!0x1||typeof _0x283e1d['serverMaxWindowBits']==_0xd7a6b3(0x217)&&_0x283e1d['serverMaxWindowBits']>_0x51ad85[_0xd7a6b3(0x186)])||typeof _0x283e1d[_0xd7a6b3(0x1ee)]==_0xd7a6b3(0x217)&&!_0x51ad85[_0xd7a6b3(0x192)]));if(!_0x4aa0bd)throw new Error(_0xd7a6b3(0x1be));return _0x283e1d[_0xd7a6b3(0x28a)]&&(_0x4aa0bd[_0xd7a6b3(0x2a1)]=!0x0),_0x283e1d[_0xd7a6b3(0x15d)]&&(_0x4aa0bd[_0xd7a6b3(0x160)]=!0x0),typeof _0x283e1d[_0xd7a6b3(0x1a5)]==_0xd7a6b3(0x217)&&(_0x4aa0bd[_0xd7a6b3(0x186)]=_0x283e1d[_0xd7a6b3(0x1a5)]),typeof _0x283e1d['clientMaxWindowBits']=='number'?_0x4aa0bd[_0xd7a6b3(0x192)]=_0x283e1d[_0xd7a6b3(0x1ee)]:(_0x4aa0bd[_0xd7a6b3(0x192)]===!0x0||_0x283e1d['clientMaxWindowBits']===!0x1)&&delete _0x4aa0bd[_0xd7a6b3(0x192)],_0x4aa0bd;}[_0x1f7258(0x122)](_0x107359){const _0x47ced1=_0x1f7258,_0xd543c9=_0x107359[0x0];if(this['_options'][_0x47ced1(0x15d)]===!0x1&&_0xd543c9[_0x47ced1(0x160)])throw new Error(_0x47ced1(0x13d));if(!_0xd543c9[_0x47ced1(0x192)])typeof this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&(_0xd543c9[_0x47ced1(0x192)]=this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]);else{if(this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)]===!0x1||typeof this['_options'][_0x47ced1(0x1ee)]==_0x47ced1(0x217)&&_0xd543c9[_0x47ced1(0x192)]>this[_0x47ced1(0x29e)][_0x47ced1(0x1ee)])throw new Error(_0x47ced1(0x151));}return _0xd543c9;}[_0x1f7258(0x23b)](_0xd14668){return _0xd14668['forEach'](_0x4391ec=>{const _0x211d67=_0x840b;Object[_0x211d67(0x25c)](_0x4391ec)[_0x211d67(0x179)](_0x1bfb2c=>{const _0x1dcc8b=_0x211d67;let _0x302a9d=_0x4391ec[_0x1bfb2c];if(_0x302a9d[_0x1dcc8b(0x299)]>0x1)throw new Error(_0x1dcc8b(0x2bf)+_0x1bfb2c+_0x1dcc8b(0x163));if(_0x302a9d=_0x302a9d[0x0],_0x1bfb2c==='client_max_window_bits'){if(_0x302a9d!==!0x0){const _0x51f958=+_0x302a9d;if(!Number[_0x1dcc8b(0x146)](_0x51f958)||_0x51f958<0x8||_0x51f958>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);_0x302a9d=_0x51f958;}else{if(!this['_isServer'])throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}}else{if(_0x1bfb2c==='server_max_window_bits'){const _0x45d4d0=+_0x302a9d;if(!Number['isInteger'](_0x45d4d0)||_0x45d4d0<0x8||_0x45d4d0>0xf)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+'\x22:\x20'+_0x302a9d);_0x302a9d=_0x45d4d0;}else{if(_0x1bfb2c==='client_no_context_takeover'||_0x1bfb2c===_0x1dcc8b(0x2a1)){if(_0x302a9d!==!0x0)throw new TypeError(_0x1dcc8b(0x200)+_0x1bfb2c+_0x1dcc8b(0x29d)+_0x302a9d);}else throw new Error(_0x1dcc8b(0x2a7)+_0x1bfb2c+'\x22');}}_0x4391ec[_0x1bfb2c]=_0x302a9d;});}),_0xd14668;}['decompress'](_0x3d3067,_0x9115bc,_0x4b9ae6){const _0x3e8454=_0x1f7258;_0x2d21da[_0x3e8454(0x20c)](_0x237351=>{this['_decompress'](_0x3d3067,_0x9115bc,(_0x38bf4b,_0x48d3df)=>{_0x237351(),_0x4b9ae6(_0x38bf4b,_0x48d3df);});});}[_0x1f7258(0x177)](_0x53894c,_0x2b6de6,_0x537f5e){_0x2d21da['add'](_0x25adcd=>{const _0x54e376=_0x840b;this[_0x54e376(0x1b9)](_0x53894c,_0x2b6de6,(_0x3b42c5,_0x3bea63)=>{_0x25adcd(),_0x537f5e(_0x3b42c5,_0x3bea63);});});}[_0x1f7258(0x1bd)](_0xd02df1,_0xd51c0e,_0x561657){const _0x54e954=_0x1f7258,_0x2ef4ab=this[_0x54e954(0x226)]?_0x54e954(0x123):_0x54e954(0x1b6);if(!this['_inflate']){const _0x1c24e3=_0x2ef4ab+_0x54e954(0x18f),_0xce2e1f=typeof this['params'][_0x1c24e3]!=_0x54e954(0x217)?_0x28b72a[_0x54e954(0x23d)]:this[_0x54e954(0x28d)][_0x1c24e3];this['_inflate']=_0x28b72a[_0x54e954(0x1c3)]({...this[_0x54e954(0x29e)]['zlibInflateOptions'],'windowBits':_0xce2e1f}),this['_inflate'][_0x2fa2e5]=this,this[_0x54e954(0x218)][_0x331910]=0x0,this[_0x54e954(0x218)][_0x597e91]=[],this[_0x54e954(0x218)]['on'](_0x54e954(0x223),_0x23632d),this[_0x54e954(0x218)]['on'](_0x54e954(0x12c),_0x3c1c3d);}this[_0x54e954(0x218)][_0x224bec]=_0x561657,this[_0x54e954(0x218)][_0x54e954(0x212)](_0xd02df1),_0xd51c0e&&this[_0x54e954(0x218)][_0x54e954(0x212)](_0x1120a6),this[_0x54e954(0x218)]['flush'](()=>{const _0x46ad07=_0x54e954,_0x1015c4=this[_0x46ad07(0x218)][_0x24bd93];if(_0x1015c4){this['_inflate']['close'](),this[_0x46ad07(0x218)]=null,_0x561657(_0x1015c4);return;}const _0x53423d=_0x169e42['concat'](this[_0x46ad07(0x218)][_0x597e91],this['_inflate'][_0x331910]);this[_0x46ad07(0x218)][_0x46ad07(0x139)][_0x46ad07(0x1f2)]?(this[_0x46ad07(0x218)]['close'](),this[_0x46ad07(0x218)]=null):(this['_inflate'][_0x331910]=0x0,this[_0x46ad07(0x218)][_0x597e91]=[],_0xd51c0e&&this[_0x46ad07(0x28d)][_0x2ef4ab+_0x46ad07(0x11d)]&&this[_0x46ad07(0x218)][_0x46ad07(0x1f9)]()),_0x561657(null,_0x53423d);});}[_0x1f7258(0x1b9)](_0x184bbf,_0x5adb4e,_0x4e8810){const _0x234870=_0x1f7258,_0x492806=this['_isServer']?_0x234870(0x1b6):_0x234870(0x123);if(!this[_0x234870(0x281)]){const _0x3eaded=_0x492806+'_max_window_bits',_0x37fda3=typeof this[_0x234870(0x28d)][_0x3eaded]!=_0x234870(0x217)?_0x28b72a['Z_DEFAULT_WINDOWBITS']:this[_0x234870(0x28d)][_0x3eaded];this[_0x234870(0x281)]=_0x28b72a[_0x234870(0x167)]({...this[_0x234870(0x29e)][_0x234870(0x1c7)],'windowBits':_0x37fda3}),this[_0x234870(0x281)][_0x331910]=0x0,this[_0x234870(0x281)][_0x597e91]=[],this[_0x234870(0x281)]['on'](_0x234870(0x12c),_0x182067);}this['_deflate'][_0x224bec]=_0x4e8810,this[_0x234870(0x281)][_0x234870(0x212)](_0x184bbf),this[_0x234870(0x281)][_0x234870(0x1db)](_0x28b72a[_0x234870(0x171)],()=>{const _0x39fa31=_0x234870;if(!this[_0x39fa31(0x281)])return;let _0x120ff9=_0x169e42[_0x39fa31(0x231)](this['_deflate'][_0x597e91],this[_0x39fa31(0x281)][_0x331910]);_0x5adb4e&&(_0x120ff9=new _0x2b3cc6(_0x120ff9[_0x39fa31(0x27a)],_0x120ff9['byteOffset'],_0x120ff9[_0x39fa31(0x299)]-0x4)),this[_0x39fa31(0x281)][_0x224bec]=null,this[_0x39fa31(0x281)][_0x331910]=0x0,this[_0x39fa31(0x281)][_0x597e91]=[],_0x5adb4e&&this['params'][_0x492806+'_no_context_takeover']&&this[_0x39fa31(0x281)][_0x39fa31(0x1f9)](),_0x4e8810(null,_0x120ff9);});}}ve=_0x5b2f8f;function _0x182067(_0x2cc201){const _0x32af18=_0x1f7258;this[_0x597e91][_0x32af18(0x16d)](_0x2cc201),this[_0x331910]+=_0x2cc201[_0x32af18(0x299)];}function _0x3c1c3d(_0x4fb83d){const _0x3ed82c=_0x1f7258;if(this[_0x331910]+=_0x4fb83d[_0x3ed82c(0x299)],this[_0x2fa2e5][_0x3ed82c(0x197)]<0x1||this[_0x331910]<=this[_0x2fa2e5]['_maxPayload']){this[_0x597e91]['push'](_0x4fb83d);return;}this[_0x24bd93]=new RangeError(_0x3ed82c(0x13e)),this[_0x24bd93][_0x3ed82c(0x2c6)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x24bd93][_0x5764b6]=0x3f1,this['removeListener'](_0x3ed82c(0x12c),_0x3c1c3d),this['reset']();}function _0x23632d(_0x13cbf0){const _0x1a46b9=_0x1f7258;if(this[_0x2fa2e5][_0x1a46b9(0x218)]=null,this[_0x24bd93]){this[_0x224bec](this[_0x24bd93]);return;}_0x13cbf0[_0x5764b6]=0x3ef,this[_0x224bec](_0x13cbf0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x15f6c9(0x1f8)](Object[_0x15f6c9(0x265)]({'__proto__':null,'default':Ht},Symbol[_0x15f6c9(0x196)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x529859=_0x15f6c9;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x4a9c5e}=_0x4d5e5e,{hasBlob:_0x427b00}=V(),_0x335516=[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 _0x1acf5f(_0x4ba45e){return _0x4ba45e>=0x3e8&&_0x4ba45e<=0x3f6&&_0x4ba45e!==0x3ec&&_0x4ba45e!==0x3ed&&_0x4ba45e!==0x3ee||_0x4ba45e>=0xbb8&&_0x4ba45e<=0x1387;}function _0x188fdc(_0x35c1ce){const _0x30907=_0x840b,_0x34f4f1=_0x35c1ce[_0x30907(0x299)];let _0x59d9c2=0x0;for(;_0x59d9c2<_0x34f4f1;)if((_0x35c1ce[_0x59d9c2]&0x80)===0x0)_0x59d9c2++;else{if((_0x35c1ce[_0x59d9c2]&0xe0)===0xc0){if(_0x59d9c2+0x1===_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2]&0xfe)===0xc0)return!0x1;_0x59d9c2+=0x2;}else{if((_0x35c1ce[_0x59d9c2]&0xf0)===0xe0){if(_0x59d9c2+0x2>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xe0&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0x80||_0x35c1ce[_0x59d9c2]===0xed&&(_0x35c1ce[_0x59d9c2+0x1]&0xe0)===0xa0)return!0x1;_0x59d9c2+=0x3;}else{if((_0x35c1ce[_0x59d9c2]&0xf8)===0xf0){if(_0x59d9c2+0x3>=_0x34f4f1||(_0x35c1ce[_0x59d9c2+0x1]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x2]&0xc0)!==0x80||(_0x35c1ce[_0x59d9c2+0x3]&0xc0)!==0x80||_0x35c1ce[_0x59d9c2]===0xf0&&(_0x35c1ce[_0x59d9c2+0x1]&0xf0)===0x80||_0x35c1ce[_0x59d9c2]===0xf4&&_0x35c1ce[_0x59d9c2+0x1]>0x8f||_0x35c1ce[_0x59d9c2]>0xf4)return!0x1;_0x59d9c2+=0x4;}else return!0x1;}}}return!0x0;}function _0x1e4ce1(_0x1fd353){const _0x4042f6=_0x840b;return _0x427b00&&typeof _0x1fd353=='object'&&typeof _0x1fd353['arrayBuffer']=='function'&&typeof _0x1fd353['type']==_0x4042f6(0x153)&&typeof _0x1fd353[_0x4042f6(0x1f7)]==_0x4042f6(0x2a5)&&(_0x1fd353[Symbol['toStringTag']]===_0x4042f6(0x26d)||_0x1fd353[Symbol[_0x4042f6(0x196)]]===_0x4042f6(0x1f3));}if(re['exports']={'isBlob':_0x1e4ce1,'isValidStatusCode':_0x1acf5f,'isValidUTF8':_0x188fdc,'tokenChars':_0x335516},_0x4a9c5e)re[_0x529859(0x2bd)]['isValidUTF8']=function(_0x4fbeeb){const _0x170844=_0x529859;return _0x4fbeeb[_0x170844(0x299)]<0x18?_0x188fdc(_0x4fbeeb):_0x4a9c5e(_0x4fbeeb);};else{if(!process[_0x529859(0x152)]['WS_NO_UTF_8_VALIDATE'])try{const _0x351b66=Yt;re[_0x529859(0x2bd)][_0x529859(0x1e2)]=function(_0x11fcc5){return _0x11fcc5['length']<0x20?_0x188fdc(_0x11fcc5):_0x351b66(_0x11fcc5);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x29ffa2=_0x15f6c9;if(Je)return Se;Je=0x1;const {Writable:_0x889685}=_0x107dc6,_0x26eba2=he(),{BINARY_TYPES:_0x1d15e2,EMPTY_BUFFER:_0x1a349d,kStatusCode:_0x39c82b,kWebSocket:_0x1fe0a3}=V(),{concat:_0x4750f6,toArrayBuffer:_0x251b76,unmask:_0x4bb4a8}=ce(),{isValidStatusCode:_0x5def09,isValidUTF8:_0xba7966}=ne(),_0x27926a=Buffer[Symbol[_0x29ffa2(0x23e)]],_0x1f9de2=0x0,_0x357f65=0x1,_0x13fad4=0x2,_0x365869=0x3,_0x1b8271=0x4,_0x1812f1=0x5,_0x146901=0x6;class _0x5c1ef0 extends _0x889685{constructor(_0x5e8cbe={}){const _0x480e81=_0x29ffa2;super(),this['_allowSynchronousEvents']=_0x5e8cbe['allowSynchronousEvents']!==void 0x0?_0x5e8cbe[_0x480e81(0x29f)]:!0x0,this[_0x480e81(0x2c0)]=_0x5e8cbe[_0x480e81(0x1d3)]||_0x1d15e2[0x0],this[_0x480e81(0x26e)]=_0x5e8cbe[_0x480e81(0x24c)]||{},this['_isServer']=!!_0x5e8cbe['isServer'],this[_0x480e81(0x197)]=_0x5e8cbe['maxPayload']|0x0,this[_0x480e81(0x277)]=!!_0x5e8cbe[_0x480e81(0x23f)],this[_0x1fe0a3]=void 0x0,this[_0x480e81(0x1a3)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x480e81(0x297)]=0x0,this[_0x480e81(0x1a9)]=void 0x0,this['_fragmented']=0x0,this[_0x480e81(0x21c)]=!0x1,this[_0x480e81(0x22d)]=!0x1,this[_0x480e81(0x1e4)]=0x0,this[_0x480e81(0x241)]=0x0,this[_0x480e81(0x18c)]=0x0,this[_0x480e81(0x1a6)]=[],this[_0x480e81(0x16f)]=!0x1,this[_0x480e81(0x156)]=!0x1,this['_state']=_0x1f9de2;}['_write'](_0x31ecb1,_0x373c93,_0xfb5248){const _0x3df17f=_0x29ffa2;if(this[_0x3df17f(0x1e4)]===0x8&&this[_0x3df17f(0x29a)]==_0x1f9de2)return _0xfb5248();this[_0x3df17f(0x1a3)]+=_0x31ecb1[_0x3df17f(0x299)],this['_buffers'][_0x3df17f(0x16d)](_0x31ecb1),this[_0x3df17f(0x19c)](_0xfb5248);}['consume'](_0x358a5f){const _0x829b24=_0x29ffa2;if(this[_0x829b24(0x1a3)]-=_0x358a5f,_0x358a5f===this[_0x829b24(0x162)][0x0][_0x829b24(0x299)])return this['_buffers'][_0x829b24(0x1dd)]();if(_0x358a5f<this['_buffers'][0x0]['length']){const _0x424d55=this[_0x829b24(0x162)][0x0];return this['_buffers'][0x0]=new _0x27926a(_0x424d55['buffer'],_0x424d55['byteOffset']+_0x358a5f,_0x424d55[_0x829b24(0x299)]-_0x358a5f),new _0x27926a(_0x424d55['buffer'],_0x424d55[_0x829b24(0x1a2)],_0x358a5f);}const _0x295f34=Buffer[_0x829b24(0x257)](_0x358a5f);do{const _0x3d4a2b=this[_0x829b24(0x162)][0x0],_0x335588=_0x295f34[_0x829b24(0x299)]-_0x358a5f;_0x358a5f>=_0x3d4a2b[_0x829b24(0x299)]?_0x295f34[_0x829b24(0x129)](this[_0x829b24(0x162)][_0x829b24(0x1dd)](),_0x335588):(_0x295f34[_0x829b24(0x129)](new Uint8Array(_0x3d4a2b['buffer'],_0x3d4a2b[_0x829b24(0x1a2)],_0x358a5f),_0x335588),this[_0x829b24(0x162)][0x0]=new _0x27926a(_0x3d4a2b[_0x829b24(0x27a)],_0x3d4a2b[_0x829b24(0x1a2)]+_0x358a5f,_0x3d4a2b[_0x829b24(0x299)]-_0x358a5f)),_0x358a5f-=_0x3d4a2b['length'];}while(_0x358a5f>0x0);return _0x295f34;}[_0x29ffa2(0x19c)](_0x41a07a){const _0x5936e7=_0x29ffa2;this['_loop']=!0x0;do switch(this[_0x5936e7(0x29a)]){case _0x1f9de2:this[_0x5936e7(0x15e)](_0x41a07a);break;case _0x357f65:this[_0x5936e7(0x13a)](_0x41a07a);break;case _0x13fad4:this[_0x5936e7(0x15c)](_0x41a07a);break;case _0x365869:this[_0x5936e7(0x253)]();break;case _0x1b8271:this[_0x5936e7(0x147)](_0x41a07a);break;case _0x1812f1:case _0x146901:this['_loop']=!0x1;return;}while(this['_loop']);this['_errored']||_0x41a07a();}['getInfo'](_0x43c765){const _0x50098d=_0x29ffa2;if(this[_0x50098d(0x1a3)]<0x2){this['_loop']=!0x1;return;}const _0x59af85=this[_0x50098d(0x172)](0x2);if((_0x59af85[0x0]&0x30)!==0x0){const _0x1cf1d2=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x174),!0x0,0x3ea,_0x50098d(0x190));_0x43c765(_0x1cf1d2);return;}const _0x4efd59=(_0x59af85[0x0]&0x40)===0x40;if(_0x4efd59&&!this[_0x50098d(0x26e)][_0x26eba2['extensionName']]){const _0x3dfdf8=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x3dfdf8);return;}if(this[_0x50098d(0x22d)]=(_0x59af85[0x0]&0x80)===0x80,this[_0x50098d(0x1e4)]=_0x59af85[0x0]&0xf,this[_0x50098d(0x297)]=_0x59af85[0x1]&0x7f,this[_0x50098d(0x1e4)]===0x0){if(_0x4efd59){const _0x1c0fbb=this[_0x50098d(0x1c6)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x1c0fbb);return;}if(!this[_0x50098d(0x247)]){const _0x54aa29=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x25a),!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x54aa29);return;}this[_0x50098d(0x1e4)]=this[_0x50098d(0x247)];}else{if(this[_0x50098d(0x1e4)]===0x1||this[_0x50098d(0x1e4)]===0x2){if(this[_0x50098d(0x247)]){const _0x264cc7=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this[_0x50098d(0x1e4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x43c765(_0x264cc7);return;}this[_0x50098d(0x164)]=_0x4efd59;}else{if(this['_opcode']>0x7&&this[_0x50098d(0x1e4)]<0xb){if(!this[_0x50098d(0x22d)]){const _0x355f48=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x292),!0x0,0x3ea,_0x50098d(0x128));_0x43c765(_0x355f48);return;}if(_0x4efd59){const _0x84c8fb=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x286),!0x0,0x3ea,_0x50098d(0x188));_0x43c765(_0x84c8fb);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x50098d(0x297)]===0x1){const _0x55bb1e=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x50098d(0x297)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x43c765(_0x55bb1e);return;}}else{const _0x524e02=this[_0x50098d(0x1c6)](RangeError,_0x50098d(0x256)+this['_opcode'],!0x0,0x3ea,_0x50098d(0x235));_0x43c765(_0x524e02);return;}}}if(!this[_0x50098d(0x22d)]&&!this[_0x50098d(0x247)]&&(this[_0x50098d(0x247)]=this[_0x50098d(0x1e4)]),this[_0x50098d(0x21c)]=(_0x59af85[0x1]&0x80)===0x80,this[_0x50098d(0x226)]){if(!this['_masked']){const _0x3e19fe=this['createError'](RangeError,_0x50098d(0x206),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x43c765(_0x3e19fe);return;}}else{if(this[_0x50098d(0x21c)]){const _0x1cf85d=this[_0x50098d(0x1c6)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x50098d(0x2bc));_0x43c765(_0x1cf85d);return;}}this[_0x50098d(0x297)]===0x7e?this['_state']=_0x357f65:this[_0x50098d(0x297)]===0x7f?this[_0x50098d(0x29a)]=_0x13fad4:this[_0x50098d(0x1b0)](_0x43c765);}[_0x29ffa2(0x13a)](_0x5de6cc){const _0x46c154=_0x29ffa2;if(this[_0x46c154(0x1a3)]<0x2){this[_0x46c154(0x156)]=!0x1;return;}this[_0x46c154(0x297)]=this[_0x46c154(0x172)](0x2)['readUInt16BE'](0x0),this[_0x46c154(0x1b0)](_0x5de6cc);}[_0x29ffa2(0x15c)](_0x201dc4){const _0x426676=_0x29ffa2;if(this[_0x426676(0x1a3)]<0x8){this[_0x426676(0x156)]=!0x1;return;}const _0x13d7ab=this['consume'](0x8),_0x251806=_0x13d7ab[_0x426676(0x1b1)](0x0);if(_0x251806>Math[_0x426676(0x255)](0x2,0x15)-0x1){const _0x15d344=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x426676(0x283));_0x201dc4(_0x15d344);return;}this['_payloadLength']=_0x251806*Math['pow'](0x2,0x20)+_0x13d7ab[_0x426676(0x1b1)](0x4),this['haveLength'](_0x201dc4);}[_0x29ffa2(0x1b0)](_0x31a990){const _0x1918dc=_0x29ffa2;if(this[_0x1918dc(0x297)]&&this[_0x1918dc(0x1e4)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1918dc(0x241)]>this[_0x1918dc(0x197)]&&this[_0x1918dc(0x197)]>0x0)){const _0x460ae1=this[_0x1918dc(0x1c6)](RangeError,_0x1918dc(0x13e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x31a990(_0x460ae1);return;}this['_masked']?this[_0x1918dc(0x29a)]=_0x365869:this[_0x1918dc(0x29a)]=_0x1b8271;}[_0x29ffa2(0x253)](){const _0x73aa0=_0x29ffa2;if(this[_0x73aa0(0x1a3)]<0x4){this[_0x73aa0(0x156)]=!0x1;return;}this[_0x73aa0(0x1a9)]=this['consume'](0x4),this[_0x73aa0(0x29a)]=_0x1b8271;}['getData'](_0x3fc78e){const _0x42dcf1=_0x29ffa2;let _0x47957e=_0x1a349d;if(this[_0x42dcf1(0x297)]){if(this[_0x42dcf1(0x1a3)]<this['_payloadLength']){this[_0x42dcf1(0x156)]=!0x1;return;}_0x47957e=this[_0x42dcf1(0x172)](this['_payloadLength']),this[_0x42dcf1(0x21c)]&&(this[_0x42dcf1(0x1a9)][0x0]|this['_mask'][0x1]|this[_0x42dcf1(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x4bb4a8(_0x47957e,this[_0x42dcf1(0x1a9)]);}if(this['_opcode']>0x7){this[_0x42dcf1(0x1fd)](_0x47957e,_0x3fc78e);return;}if(this[_0x42dcf1(0x164)]){this[_0x42dcf1(0x29a)]=_0x1812f1,this['decompress'](_0x47957e,_0x3fc78e);return;}_0x47957e[_0x42dcf1(0x299)]&&(this['_messageLength']=this[_0x42dcf1(0x241)],this[_0x42dcf1(0x1a6)][_0x42dcf1(0x16d)](_0x47957e)),this[_0x42dcf1(0x208)](_0x3fc78e);}[_0x29ffa2(0x1ea)](_0x4acf54,_0x3298a9){const _0x4bd373=_0x29ffa2;this[_0x4bd373(0x26e)][_0x26eba2[_0x4bd373(0x138)]][_0x4bd373(0x1ea)](_0x4acf54,this['_fin'],(_0xd7fda7,_0x3ec8ed)=>{const _0x1a0f7c=_0x4bd373;if(_0xd7fda7)return _0x3298a9(_0xd7fda7);if(_0x3ec8ed[_0x1a0f7c(0x299)]){if(this[_0x1a0f7c(0x18c)]+=_0x3ec8ed[_0x1a0f7c(0x299)],this[_0x1a0f7c(0x18c)]>this['_maxPayload']&&this[_0x1a0f7c(0x197)]>0x0){const _0x220b28=this[_0x1a0f7c(0x1c6)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1a0f7c(0x18b));_0x3298a9(_0x220b28);return;}this['_fragments']['push'](_0x3ec8ed);}this[_0x1a0f7c(0x208)](_0x3298a9),this[_0x1a0f7c(0x29a)]===_0x1f9de2&&this[_0x1a0f7c(0x19c)](_0x3298a9);});}[_0x29ffa2(0x208)](_0xcb3af0){const _0x3f3499=_0x29ffa2;if(!this[_0x3f3499(0x22d)]){this[_0x3f3499(0x29a)]=_0x1f9de2;return;}const _0x29b767=this[_0x3f3499(0x18c)],_0x2108b8=this[_0x3f3499(0x1a6)];if(this[_0x3f3499(0x241)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x3f3499(0x1a6)]=[],this[_0x3f3499(0x1e4)]===0x2){let _0x466af4;this[_0x3f3499(0x2c0)]===_0x3f3499(0x140)?_0x466af4=_0x4750f6(_0x2108b8,_0x29b767):this[_0x3f3499(0x2c0)]===_0x3f3499(0x214)?_0x466af4=_0x251b76(_0x4750f6(_0x2108b8,_0x29b767)):this['_binaryType']===_0x3f3499(0x1ae)?_0x466af4=new Blob(_0x2108b8):_0x466af4=_0x2108b8,this['_allowSynchronousEvents']?(this['emit'](_0x3f3499(0x1ca),_0x466af4,!0x0),this[_0x3f3499(0x29a)]=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x245645=_0x3f3499;this['emit'](_0x245645(0x1ca),_0x466af4,!0x0),this[_0x245645(0x29a)]=_0x1f9de2,this[_0x245645(0x19c)](_0xcb3af0);}));}else{const _0x1cd598=_0x4750f6(_0x2108b8,_0x29b767);if(!this[_0x3f3499(0x277)]&&!_0xba7966(_0x1cd598)){const _0x5a1471=this[_0x3f3499(0x1c6)](Error,_0x3f3499(0x182),!0x0,0x3ef,_0x3f3499(0x1c5));_0xcb3af0(_0x5a1471);return;}this['_state']===_0x1812f1||this[_0x3f3499(0x272)]?(this[_0x3f3499(0x215)]('message',_0x1cd598,!0x1),this['_state']=_0x1f9de2):(this[_0x3f3499(0x29a)]=_0x146901,setImmediate(()=>{const _0x1bdaa9=_0x3f3499;this[_0x1bdaa9(0x215)]('message',_0x1cd598,!0x1),this[_0x1bdaa9(0x29a)]=_0x1f9de2,this[_0x1bdaa9(0x19c)](_0xcb3af0);}));}}['controlMessage'](_0x3d6759,_0x53a7c8){const _0x4f3bdb=_0x29ffa2;if(this[_0x4f3bdb(0x1e4)]===0x8){if(_0x3d6759['length']===0x0)this['_loop']=!0x1,this[_0x4f3bdb(0x215)]('conclude',0x3ed,_0x1a349d),this[_0x4f3bdb(0x270)]();else{const _0x124d66=_0x3d6759[_0x4f3bdb(0x2b4)](0x0);if(!_0x5def09(_0x124d66)){const _0xc2f748=this[_0x4f3bdb(0x1c6)](RangeError,'invalid\x20status\x20code\x20'+_0x124d66,!0x0,0x3ea,_0x4f3bdb(0x1ff));_0x53a7c8(_0xc2f748);return;}const _0x3e2c5c=new _0x27926a(_0x3d6759[_0x4f3bdb(0x27a)],_0x3d6759['byteOffset']+0x2,_0x3d6759[_0x4f3bdb(0x299)]-0x2);if(!this[_0x4f3bdb(0x277)]&&!_0xba7966(_0x3e2c5c)){const _0x4a7c1d=this['createError'](Error,_0x4f3bdb(0x182),!0x0,0x3ef,_0x4f3bdb(0x1c5));_0x53a7c8(_0x4a7c1d);return;}this['_loop']=!0x1,this[_0x4f3bdb(0x215)](_0x4f3bdb(0x228),_0x124d66,_0x3e2c5c),this['end']();}this[_0x4f3bdb(0x29a)]=_0x1f9de2;return;}this[_0x4f3bdb(0x272)]?(this['emit'](this[_0x4f3bdb(0x1e4)]===0x9?_0x4f3bdb(0x11f):'pong',_0x3d6759),this[_0x4f3bdb(0x29a)]=_0x1f9de2):(this[_0x4f3bdb(0x29a)]=_0x146901,setImmediate(()=>{const _0x53f825=_0x4f3bdb;this['emit'](this[_0x53f825(0x1e4)]===0x9?_0x53f825(0x11f):'pong',_0x3d6759),this[_0x53f825(0x29a)]=_0x1f9de2,this['startLoop'](_0x53a7c8);}));}[_0x29ffa2(0x1c6)](_0x14f640,_0x70be85,_0x181285,_0x133534,_0x5a967b){const _0x408b97=_0x29ffa2;this[_0x408b97(0x156)]=!0x1,this[_0x408b97(0x16f)]=!0x0;const _0x247fac=new _0x14f640(_0x181285?_0x408b97(0x1af)+_0x70be85:_0x70be85);return Error[_0x408b97(0x130)](_0x247fac,this[_0x408b97(0x1c6)]),_0x247fac[_0x408b97(0x2c6)]=_0x5a967b,_0x247fac[_0x39c82b]=_0x133534,_0x247fac;}}return Se=_0x5c1ef0,Se;}var Ee,et;function _t(){const _0x335537=_0x15f6c9;if(et)return Ee;et=0x1;const {Duplex:_0x4ea8d7}=_0x107dc6,{randomFillSync:_0x399bd3}=_0x8b2df3,_0x2953b0=he(),{EMPTY_BUFFER:_0x56d309,kWebSocket:_0x29408e,NOOP:_0x3d686e}=V(),{isBlob:_0x28ab1f,isValidStatusCode:_0x4bd806}=ne(),{mask:_0x2cbe48,toBuffer:_0x2a908f}=ce(),_0x1d69e6=Symbol(_0x335537(0x1da)),_0x13937b=Buffer[_0x335537(0x165)](0x4),_0x5c6df3=0x8*0x400;let _0x5e0fe1,_0x12c7af=_0x5c6df3;const _0xf76636=0x0,_0x2d00fc=0x1,_0x128b09=0x2;class _0x38e05e{constructor(_0x174a64,_0x2caaef,_0x29b6f8){const _0x1fdf6a=_0x335537;this['_extensions']=_0x2caaef||{},_0x29b6f8&&(this[_0x1fdf6a(0x17a)]=_0x29b6f8,this[_0x1fdf6a(0x2aa)]=Buffer[_0x1fdf6a(0x165)](0x4)),this[_0x1fdf6a(0x20d)]=_0x174a64,this[_0x1fdf6a(0x16a)]=!0x0,this[_0x1fdf6a(0x1b9)]=!0x1,this[_0x1fdf6a(0x1a3)]=0x0,this[_0x1fdf6a(0x1ed)]=[],this[_0x1fdf6a(0x29a)]=_0xf76636,this['onerror']=_0x3d686e,this[_0x29408e]=void 0x0;}static['frame'](_0x33c757,_0xa653e2){const _0x596793=_0x335537;let _0x17db35,_0x484610=!0x1,_0x571b59=0x2,_0x4ec77b=!0x1;_0xa653e2['mask']&&(_0x17db35=_0xa653e2['maskBuffer']||_0x13937b,_0xa653e2[_0x596793(0x18d)]?_0xa653e2['generateMask'](_0x17db35):(_0x12c7af===_0x5c6df3&&(_0x5e0fe1===void 0x0&&(_0x5e0fe1=Buffer['alloc'](_0x5c6df3)),_0x399bd3(_0x5e0fe1,0x0,_0x5c6df3),_0x12c7af=0x0),_0x17db35[0x0]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x1]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x2]=_0x5e0fe1[_0x12c7af++],_0x17db35[0x3]=_0x5e0fe1[_0x12c7af++]),_0x4ec77b=(_0x17db35[0x0]|_0x17db35[0x1]|_0x17db35[0x2]|_0x17db35[0x3])===0x0,_0x571b59=0x6);let _0x2f3dd8;typeof _0x33c757==_0x596793(0x153)?(!_0xa653e2[_0x596793(0x175)]||_0x4ec77b)&&_0xa653e2[_0x1d69e6]!==void 0x0?_0x2f3dd8=_0xa653e2[_0x1d69e6]:(_0x33c757=Buffer[_0x596793(0x24b)](_0x33c757),_0x2f3dd8=_0x33c757[_0x596793(0x299)]):(_0x2f3dd8=_0x33c757[_0x596793(0x299)],_0x484610=_0xa653e2[_0x596793(0x175)]&&_0xa653e2[_0x596793(0x181)]&&!_0x4ec77b);let _0x50609a=_0x2f3dd8;_0x2f3dd8>=0x10000?(_0x571b59+=0x8,_0x50609a=0x7f):_0x2f3dd8>0x7d&&(_0x571b59+=0x2,_0x50609a=0x7e);const _0x158df2=Buffer[_0x596793(0x257)](_0x484610?_0x2f3dd8+_0x571b59:_0x571b59);return _0x158df2[0x0]=_0xa653e2['fin']?_0xa653e2['opcode']|0x80:_0xa653e2[_0x596793(0x232)],_0xa653e2[_0x596793(0x205)]&&(_0x158df2[0x0]|=0x40),_0x158df2[0x1]=_0x50609a,_0x50609a===0x7e?_0x158df2[_0x596793(0x2c4)](_0x2f3dd8,0x2):_0x50609a===0x7f&&(_0x158df2[0x2]=_0x158df2[0x3]=0x0,_0x158df2['writeUIntBE'](_0x2f3dd8,0x4,0x6)),_0xa653e2[_0x596793(0x175)]?(_0x158df2[0x1]|=0x80,_0x158df2[_0x571b59-0x4]=_0x17db35[0x0],_0x158df2[_0x571b59-0x3]=_0x17db35[0x1],_0x158df2[_0x571b59-0x2]=_0x17db35[0x2],_0x158df2[_0x571b59-0x1]=_0x17db35[0x3],_0x4ec77b?[_0x158df2,_0x33c757]:_0x484610?(_0x2cbe48(_0x33c757,_0x17db35,_0x158df2,_0x571b59,_0x2f3dd8),[_0x158df2]):(_0x2cbe48(_0x33c757,_0x17db35,_0x33c757,0x0,_0x2f3dd8),[_0x158df2,_0x33c757])):[_0x158df2,_0x33c757];}[_0x335537(0x249)](_0x15ee82,_0x2a1c7a,_0x1c9351,_0x25c314){const _0x513285=_0x335537;let _0x45b444;if(_0x15ee82===void 0x0)_0x45b444=_0x56d309;else{if(typeof _0x15ee82!=_0x513285(0x217)||!_0x4bd806(_0x15ee82))throw new TypeError(_0x513285(0x176));if(_0x2a1c7a===void 0x0||!_0x2a1c7a['length'])_0x45b444=Buffer['allocUnsafe'](0x2),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0);else{const _0x2b2a09=Buffer[_0x513285(0x15a)](_0x2a1c7a);if(_0x2b2a09>0x7b)throw new RangeError(_0x513285(0x26a));_0x45b444=Buffer['allocUnsafe'](0x2+_0x2b2a09),_0x45b444[_0x513285(0x2c4)](_0x15ee82,0x0),typeof _0x2a1c7a==_0x513285(0x153)?_0x45b444[_0x513285(0x212)](_0x2a1c7a,0x2):_0x45b444[_0x513285(0x129)](_0x2a1c7a,0x2);}}const _0x4a0996={[_0x1d69e6]:_0x45b444[_0x513285(0x299)],'fin':!0x0,'generateMask':this[_0x513285(0x17a)],'mask':_0x1c9351,'maskBuffer':this[_0x513285(0x2aa)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x513285(0x29a)]!==_0xf76636?this[_0x513285(0x195)]([this['dispatch'],_0x45b444,!0x1,_0x4a0996,_0x25c314]):this[_0x513285(0x154)](_0x38e05e[_0x513285(0x24d)](_0x45b444,_0x4a0996),_0x25c314);}[_0x335537(0x11f)](_0x4d6c7a,_0x24d35e,_0x110de8){const _0x5686c2=_0x335537;let _0x52d2fc,_0x1c95e9;if(typeof _0x4d6c7a==_0x5686c2(0x153)?(_0x52d2fc=Buffer['byteLength'](_0x4d6c7a),_0x1c95e9=!0x1):_0x28ab1f(_0x4d6c7a)?(_0x52d2fc=_0x4d6c7a[_0x5686c2(0x2ca)],_0x1c95e9=!0x1):(_0x4d6c7a=_0x2a908f(_0x4d6c7a),_0x52d2fc=_0x4d6c7a[_0x5686c2(0x299)],_0x1c95e9=_0x2a908f[_0x5686c2(0x181)]),_0x52d2fc>0x7d)throw new RangeError(_0x5686c2(0x18a));const _0x4d2075={[_0x1d69e6]:_0x52d2fc,'fin':!0x0,'generateMask':this[_0x5686c2(0x17a)],'mask':_0x24d35e,'maskBuffer':this[_0x5686c2(0x2aa)],'opcode':0x9,'readOnly':_0x1c95e9,'rsv1':!0x1};_0x28ab1f(_0x4d6c7a)?this[_0x5686c2(0x29a)]!==_0xf76636?this['enqueue']([this['getBlobData'],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x1f5)](_0x4d6c7a,!0x1,_0x4d2075,_0x110de8):this[_0x5686c2(0x29a)]!==_0xf76636?this[_0x5686c2(0x195)]([this[_0x5686c2(0x21a)],_0x4d6c7a,!0x1,_0x4d2075,_0x110de8]):this[_0x5686c2(0x154)](_0x38e05e['frame'](_0x4d6c7a,_0x4d2075),_0x110de8);}[_0x335537(0x2ae)](_0x87b51,_0x5555cd,_0xaa0f83){const _0x1f4647=_0x335537;let _0x29e6a3,_0x5ec0d7;if(typeof _0x87b51=='string'?(_0x29e6a3=Buffer[_0x1f4647(0x15a)](_0x87b51),_0x5ec0d7=!0x1):_0x28ab1f(_0x87b51)?(_0x29e6a3=_0x87b51[_0x1f4647(0x2ca)],_0x5ec0d7=!0x1):(_0x87b51=_0x2a908f(_0x87b51),_0x29e6a3=_0x87b51[_0x1f4647(0x299)],_0x5ec0d7=_0x2a908f[_0x1f4647(0x181)]),_0x29e6a3>0x7d)throw new RangeError(_0x1f4647(0x18a));const _0x2cfc1a={[_0x1d69e6]:_0x29e6a3,'fin':!0x0,'generateMask':this[_0x1f4647(0x17a)],'mask':_0x5555cd,'maskBuffer':this[_0x1f4647(0x2aa)],'opcode':0xa,'readOnly':_0x5ec0d7,'rsv1':!0x1};_0x28ab1f(_0x87b51)?this['_state']!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x1f5)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this[_0x1f4647(0x1f5)](_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83):this[_0x1f4647(0x29a)]!==_0xf76636?this[_0x1f4647(0x195)]([this[_0x1f4647(0x21a)],_0x87b51,!0x1,_0x2cfc1a,_0xaa0f83]):this['sendFrame'](_0x38e05e[_0x1f4647(0x24d)](_0x87b51,_0x2cfc1a),_0xaa0f83);}[_0x335537(0x1a0)](_0x219f00,_0x529889,_0x25ca50){const _0x3deb1d=_0x335537,_0x59417a=this[_0x3deb1d(0x26e)][_0x2953b0[_0x3deb1d(0x138)]];let _0x48f80a=_0x529889[_0x3deb1d(0x17f)]?0x2:0x1,_0xa1dd3b=_0x529889[_0x3deb1d(0x177)],_0x33bbcf,_0x287f1e;typeof _0x219f00==_0x3deb1d(0x153)?(_0x33bbcf=Buffer[_0x3deb1d(0x15a)](_0x219f00),_0x287f1e=!0x1):_0x28ab1f(_0x219f00)?(_0x33bbcf=_0x219f00['size'],_0x287f1e=!0x1):(_0x219f00=_0x2a908f(_0x219f00),_0x33bbcf=_0x219f00['length'],_0x287f1e=_0x2a908f[_0x3deb1d(0x181)]),this[_0x3deb1d(0x16a)]?(this['_firstFragment']=!0x1,_0xa1dd3b&&_0x59417a&&_0x59417a[_0x3deb1d(0x28d)][_0x59417a[_0x3deb1d(0x226)]?_0x3deb1d(0x2a1):'client_no_context_takeover']&&(_0xa1dd3b=_0x33bbcf>=_0x59417a[_0x3deb1d(0x14e)]),this[_0x3deb1d(0x1b9)]=_0xa1dd3b):(_0xa1dd3b=!0x1,_0x48f80a=0x0),_0x529889['fin']&&(this[_0x3deb1d(0x16a)]=!0x0);const _0x4cbf38={[_0x1d69e6]:_0x33bbcf,'fin':_0x529889['fin'],'generateMask':this[_0x3deb1d(0x17a)],'mask':_0x529889[_0x3deb1d(0x175)],'maskBuffer':this[_0x3deb1d(0x2aa)],'opcode':_0x48f80a,'readOnly':_0x287f1e,'rsv1':_0xa1dd3b};_0x28ab1f(_0x219f00)?this['_state']!==_0xf76636?this[_0x3deb1d(0x195)]([this[_0x3deb1d(0x1f5)],_0x219f00,this['_compress'],_0x4cbf38,_0x25ca50]):this['getBlobData'](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50):this[_0x3deb1d(0x29a)]!==_0xf76636?this['enqueue']([this[_0x3deb1d(0x21a)],_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50]):this[_0x3deb1d(0x21a)](_0x219f00,this[_0x3deb1d(0x1b9)],_0x4cbf38,_0x25ca50);}[_0x335537(0x1f5)](_0x338239,_0xf2e2ce,_0x4546d7,_0x2f028c){const _0x4b6a37=_0x335537;this[_0x4b6a37(0x1a3)]+=_0x4546d7[_0x1d69e6],this[_0x4b6a37(0x29a)]=_0x128b09,_0x338239[_0x4b6a37(0x285)]()[_0x4b6a37(0x25f)](_0x4b17e3=>{const _0xd39fd1=_0x4b6a37;if(this[_0xd39fd1(0x20d)]['destroyed']){const _0x4c64ff=new Error(_0xd39fd1(0x144));process[_0xd39fd1(0x135)](_0x4b324e,this,_0x4c64ff,_0x2f028c);return;}this[_0xd39fd1(0x1a3)]-=_0x4546d7[_0x1d69e6];const _0x308b64=_0x2a908f(_0x4b17e3);_0xf2e2ce?this[_0xd39fd1(0x21a)](_0x308b64,_0xf2e2ce,_0x4546d7,_0x2f028c):(this[_0xd39fd1(0x29a)]=_0xf76636,this[_0xd39fd1(0x154)](_0x38e05e[_0xd39fd1(0x24d)](_0x308b64,_0x4546d7),_0x2f028c),this['dequeue']());})[_0x4b6a37(0x14d)](_0x337997=>{process['nextTick'](_0x680b,this,_0x337997,_0x2f028c);});}[_0x335537(0x21a)](_0x148124,_0x6a4325,_0x853e74,_0x39dc8c){const _0x588957=_0x335537;if(!_0x6a4325){this[_0x588957(0x154)](_0x38e05e[_0x588957(0x24d)](_0x148124,_0x853e74),_0x39dc8c);return;}const _0x5e2cb1=this[_0x588957(0x26e)][_0x2953b0[_0x588957(0x138)]];this['_bufferedBytes']+=_0x853e74[_0x1d69e6],this[_0x588957(0x29a)]=_0x2d00fc,_0x5e2cb1[_0x588957(0x177)](_0x148124,_0x853e74[_0x588957(0x20a)],(_0x59810a,_0x165132)=>{const _0x1d9774=_0x588957;if(this[_0x1d9774(0x20d)][_0x1d9774(0x21b)]){const _0x465f72=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4b324e(this,_0x465f72,_0x39dc8c);return;}this[_0x1d9774(0x1a3)]-=_0x853e74[_0x1d69e6],this[_0x1d9774(0x29a)]=_0xf76636,_0x853e74['readOnly']=!0x1,this[_0x1d9774(0x154)](_0x38e05e['frame'](_0x165132,_0x853e74),_0x39dc8c),this['dequeue']();});}[_0x335537(0x183)](){const _0x2685e5=_0x335537;for(;this[_0x2685e5(0x29a)]===_0xf76636&&this[_0x2685e5(0x1ed)][_0x2685e5(0x299)];){const _0x40c356=this[_0x2685e5(0x1ed)]['shift']();this[_0x2685e5(0x1a3)]-=_0x40c356[0x3][_0x1d69e6],Reflect[_0x2685e5(0x1e0)](_0x40c356[0x0],this,_0x40c356[_0x2685e5(0x1e9)](0x1));}}[_0x335537(0x195)](_0x1bcf2c){const _0x2d2760=_0x335537;this[_0x2d2760(0x1a3)]+=_0x1bcf2c[0x3][_0x1d69e6],this[_0x2d2760(0x1ed)][_0x2d2760(0x16d)](_0x1bcf2c);}[_0x335537(0x154)](_0x5a1c22,_0x142b4f){const _0x146f9c=_0x335537;_0x5a1c22[_0x146f9c(0x299)]===0x2?(this[_0x146f9c(0x20d)][_0x146f9c(0x271)](),this[_0x146f9c(0x20d)]['write'](_0x5a1c22[0x0]),this['_socket'][_0x146f9c(0x212)](_0x5a1c22[0x1],_0x142b4f),this[_0x146f9c(0x20d)]['uncork']()):this[_0x146f9c(0x20d)][_0x146f9c(0x212)](_0x5a1c22[0x0],_0x142b4f);}}Ee=_0x38e05e;function _0x4b324e(_0x56f49e,_0x241fdb,_0x55c78b){const _0x52af4b=_0x335537;typeof _0x55c78b=='function'&&_0x55c78b(_0x241fdb);for(let _0x3a79d6=0x0;_0x3a79d6<_0x56f49e[_0x52af4b(0x1ed)]['length'];_0x3a79d6++){const _0x9dfbf5=_0x56f49e[_0x52af4b(0x1ed)][_0x3a79d6],_0x393110=_0x9dfbf5[_0x9dfbf5[_0x52af4b(0x299)]-0x1];typeof _0x393110==_0x52af4b(0x2a5)&&_0x393110(_0x241fdb);}}function _0x680b(_0x5df17c,_0xf3e573,_0xafb6d2){const _0x5e0af3=_0x335537;_0x4b324e(_0x5df17c,_0xf3e573,_0xafb6d2),_0x5df17c[_0x5e0af3(0x1ec)](_0xf3e573);}return Ee;}var xe,tt;function Kt(){const _0x1a3810=_0x15f6c9;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x31543d,kListener:_0x26a9ef}=V(),_0x3cc983=Symbol(_0x1a3810(0x145)),_0x1b1dc0=Symbol(_0x1a3810(0x2af)),_0x504050=Symbol(_0x1a3810(0x273)),_0x22dde2=Symbol(_0x1a3810(0x1d7)),_0x5d2812=Symbol('kReason'),_0x4b9b03=Symbol(_0x1a3810(0x274)),_0x48c1b8=Symbol('kType'),_0x59ff39=Symbol(_0x1a3810(0x142));class _0x5b89c7{constructor(_0x57600a){this[_0x4b9b03]=null,this[_0x48c1b8]=_0x57600a;}get[_0x1a3810(0x220)](){return this[_0x4b9b03];}get[_0x1a3810(0x166)](){return this[_0x48c1b8];}}Object[_0x1a3810(0x265)](_0x5b89c7['prototype'],_0x1a3810(0x220),{'enumerable':!0x0}),Object['defineProperty'](_0x5b89c7[_0x1a3810(0x1b8)],_0x1a3810(0x166),{'enumerable':!0x0});class _0x5402f0 extends _0x5b89c7{constructor(_0x162a0c,_0x38f1f1={}){const _0x4e5105=_0x1a3810;super(_0x162a0c),this[_0x3cc983]=_0x38f1f1[_0x4e5105(0x2c6)]===void 0x0?0x0:_0x38f1f1[_0x4e5105(0x2c6)],this[_0x5d2812]=_0x38f1f1[_0x4e5105(0x2c3)]===void 0x0?'':_0x38f1f1[_0x4e5105(0x2c3)],this[_0x59ff39]=_0x38f1f1[_0x4e5105(0x14b)]===void 0x0?!0x1:_0x38f1f1[_0x4e5105(0x14b)];}get[_0x1a3810(0x2c6)](){return this[_0x3cc983];}get[_0x1a3810(0x2c3)](){return this[_0x5d2812];}get[_0x1a3810(0x14b)](){return this[_0x59ff39];}}Object[_0x1a3810(0x265)](_0x5402f0['prototype'],_0x1a3810(0x2c6),{'enumerable':!0x0}),Object['defineProperty'](_0x5402f0[_0x1a3810(0x1b8)],_0x1a3810(0x2c3),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x5402f0[_0x1a3810(0x1b8)],'wasClean',{'enumerable':!0x0});class _0x33285f extends _0x5b89c7{constructor(_0x42aaa1,_0x34b4fa={}){const _0x3683cf=_0x1a3810;super(_0x42aaa1),this[_0x504050]=_0x34b4fa[_0x3683cf(0x223)]===void 0x0?null:_0x34b4fa[_0x3683cf(0x223)],this[_0x22dde2]=_0x34b4fa[_0x3683cf(0x1ca)]===void 0x0?'':_0x34b4fa[_0x3683cf(0x1ca)];}get[_0x1a3810(0x223)](){return this[_0x504050];}get[_0x1a3810(0x1ca)](){return this[_0x22dde2];}}Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x223),{'enumerable':!0x0}),Object[_0x1a3810(0x265)](_0x33285f[_0x1a3810(0x1b8)],_0x1a3810(0x1ca),{'enumerable':!0x0});class _0x394b53 extends _0x5b89c7{constructor(_0x19b46d,_0x28fe6a={}){const _0x2185d0=_0x1a3810;super(_0x19b46d),this[_0x1b1dc0]=_0x28fe6a[_0x2185d0(0x12c)]===void 0x0?null:_0x28fe6a[_0x2185d0(0x12c)];}get['data'](){return this[_0x1b1dc0];}}Object['defineProperty'](_0x394b53[_0x1a3810(0x1b8)],_0x1a3810(0x12c),{'enumerable':!0x0}),xe={'CloseEvent':_0x5402f0,'ErrorEvent':_0x33285f,'Event':_0x5b89c7,'EventTarget':{'addEventListener'(_0x545fbb,_0x54b786,_0x2fe672={}){const _0x467a61=_0x1a3810;for(const _0x1260b5 of this[_0x467a61(0x1e6)](_0x545fbb))if(!_0x2fe672[_0x31543d]&&_0x1260b5[_0x26a9ef]===_0x54b786&&!_0x1260b5[_0x31543d])return;let _0x427afc;if(_0x545fbb===_0x467a61(0x1ca))_0x427afc=function(_0x2180df,_0x5d8b47){const _0x1d817e=_0x467a61,_0x11694d=new _0x394b53('message',{'data':_0x5d8b47?_0x2180df:_0x2180df[_0x1d817e(0x1dc)]()});_0x11694d[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x11694d);};else{if(_0x545fbb===_0x467a61(0x249))_0x427afc=function(_0x5820d2,_0x5ba77b){const _0x4c5b81=_0x467a61,_0x15c5f7=new _0x5402f0('close',{'code':_0x5820d2,'reason':_0x5ba77b[_0x4c5b81(0x1dc)](),'wasClean':this[_0x4c5b81(0x15b)]&&this[_0x4c5b81(0x121)]});_0x15c5f7[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x15c5f7);};else{if(_0x545fbb===_0x467a61(0x223))_0x427afc=function(_0x5f1d59){const _0x582cc2=_0x467a61,_0x237085=new _0x33285f('error',{'error':_0x5f1d59,'message':_0x5f1d59[_0x582cc2(0x1ca)]});_0x237085[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x237085);};else{if(_0x545fbb===_0x467a61(0x12a))_0x427afc=function(){const _0x30a196=_0x467a61,_0x4e286a=new _0x5b89c7(_0x30a196(0x12a));_0x4e286a[_0x4b9b03]=this,_0x1e51c2(_0x54b786,this,_0x4e286a);};else return;}}}_0x427afc[_0x31543d]=!!_0x2fe672[_0x31543d],_0x427afc[_0x26a9ef]=_0x54b786,_0x2fe672[_0x467a61(0x1eb)]?this[_0x467a61(0x1eb)](_0x545fbb,_0x427afc):this['on'](_0x545fbb,_0x427afc);},'removeEventListener'(_0x5b16d4,_0x4e8497){for(const _0xabc606 of this['listeners'](_0x5b16d4))if(_0xabc606[_0x26a9ef]===_0x4e8497&&!_0xabc606[_0x31543d]){this['removeListener'](_0x5b16d4,_0xabc606);break;}}},'MessageEvent':_0x394b53};function _0x1e51c2(_0x3d2fde,_0x4de15c,_0x431a2b){const _0x37e2aa=_0x1a3810;typeof _0x3d2fde==_0x37e2aa(0x178)&&_0x3d2fde[_0x37e2aa(0x1fb)]?_0x3d2fde[_0x37e2aa(0x1fb)][_0x37e2aa(0x259)](_0x3d2fde,_0x431a2b):_0x3d2fde[_0x37e2aa(0x259)](_0x4de15c,_0x431a2b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1086f7}=ne();function _0x7d4b76(_0xd12221,_0xfb8947,_0x59ba06){const _0x20d808=_0x840b;_0xd12221[_0xfb8947]===void 0x0?_0xd12221[_0xfb8947]=[_0x59ba06]:_0xd12221[_0xfb8947][_0x20d808(0x16d)](_0x59ba06);}function _0x51daee(_0x7e0f64){const _0x4dc2fe=_0x840b,_0x52eded=Object[_0x4dc2fe(0x289)](null);let _0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3e4c1f=!0x1,_0x9d4b59=!0x1,_0x9acc7a=!0x1,_0x3534f1,_0x4747a7,_0x96ae6a=-0x1,_0x559669=-0x1,_0x1690a0=-0x1,_0x526a29=0x0;for(;_0x526a29<_0x7e0f64[_0x4dc2fe(0x299)];_0x526a29++)if(_0x559669=_0x7e0f64[_0x4dc2fe(0x26c)](_0x526a29),_0x3534f1===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x526a29!==0x0&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x43c5a3=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x559669===0x2c?(_0x7d4b76(_0x52eded,_0x43c5a3,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null)):_0x3534f1=_0x43c5a3,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}else{if(_0x4747a7===void 0x0){if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x20||_0x559669===0x9)_0x1690a0===-0x1&&_0x96ae6a!==-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29),_0x7d4b76(_0x3119c6,_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0),!0x0),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object['create'](null),_0x3534f1=void 0x0),_0x96ae6a=_0x1690a0=-0x1;}else{if(_0x559669===0x3d&&_0x96ae6a!==-0x1&&_0x1690a0===-0x1)_0x4747a7=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x526a29),_0x96ae6a=_0x1690a0=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}else{if(_0x9d4b59){if(_0x1086f7[_0x559669]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);_0x96ae6a===-0x1?_0x96ae6a=_0x526a29:_0x3e4c1f||(_0x3e4c1f=!0x0),_0x9d4b59=!0x1;}else{if(_0x9acc7a){if(_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x559669===0x22&&_0x96ae6a!==-0x1)_0x9acc7a=!0x1,_0x1690a0=_0x526a29;else{if(_0x559669===0x5c)_0x9d4b59=!0x0;else throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);}}}else{if(_0x559669===0x22&&_0x7e0f64['charCodeAt'](_0x526a29-0x1)===0x3d)_0x9acc7a=!0x0;else{if(_0x1690a0===-0x1&&_0x1086f7[_0x559669]===0x1)_0x96ae6a===-0x1&&(_0x96ae6a=_0x526a29);else{if(_0x96ae6a!==-0x1&&(_0x559669===0x20||_0x559669===0x9))_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);else{if(_0x559669===0x3b||_0x559669===0x2c){if(_0x96ae6a===-0x1)throw new SyntaxError(_0x4dc2fe(0x21d)+_0x526a29);_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);let _0x275449=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);_0x3e4c1f&&(_0x275449=_0x275449[_0x4dc2fe(0x17c)](/\\/g,''),_0x3e4c1f=!0x1),_0x7d4b76(_0x3119c6,_0x4747a7,_0x275449),_0x559669===0x2c&&(_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6),_0x3119c6=Object[_0x4dc2fe(0x289)](null),_0x3534f1=void 0x0),_0x4747a7=void 0x0,_0x96ae6a=_0x1690a0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x526a29);}}}}}}}if(_0x96ae6a===-0x1||_0x9acc7a||_0x559669===0x20||_0x559669===0x9)throw new SyntaxError(_0x4dc2fe(0x2a9));_0x1690a0===-0x1&&(_0x1690a0=_0x526a29);const _0x4224b9=_0x7e0f64[_0x4dc2fe(0x1e9)](_0x96ae6a,_0x1690a0);return _0x3534f1===void 0x0?_0x7d4b76(_0x52eded,_0x4224b9,_0x3119c6):(_0x4747a7===void 0x0?_0x7d4b76(_0x3119c6,_0x4224b9,!0x0):_0x3e4c1f?_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9[_0x4dc2fe(0x17c)](/\\/g,'')):_0x7d4b76(_0x3119c6,_0x4747a7,_0x4224b9),_0x7d4b76(_0x52eded,_0x3534f1,_0x3119c6)),_0x52eded;}function _0x6ff5d5(_0x5957ee){const _0x5f4be4=_0x840b;return Object[_0x5f4be4(0x25c)](_0x5957ee)[_0x5f4be4(0x264)](_0x25e279=>{const _0x5941d5=_0x5f4be4;let _0x57cccc=_0x5957ee[_0x25e279];return Array[_0x5941d5(0x1c0)](_0x57cccc)||(_0x57cccc=[_0x57cccc]),_0x57cccc[_0x5941d5(0x264)](_0x2a256b=>[_0x25e279][_0x5941d5(0x231)](Object[_0x5941d5(0x25c)](_0x2a256b)['map'](_0x5878dd=>{const _0x4d65cf=_0x5941d5;let _0x20ebd9=_0x2a256b[_0x5878dd];return Array['isArray'](_0x20ebd9)||(_0x20ebd9=[_0x20ebd9]),_0x20ebd9[_0x4d65cf(0x264)](_0x294f2a=>_0x294f2a===!0x0?_0x5878dd:_0x5878dd+'='+_0x294f2a)['join'](';\x20');}))[_0x5941d5(0x22c)](';\x20'))['join'](',\x20');})[_0x5f4be4(0x22c)](',\x20');}return be={'format':_0x6ff5d5,'parse':_0x51daee},be;}var we,st;function Ie(){const _0x5c2722=_0x15f6c9;if(st)return we;st=0x1;const _0x339018=_0x144219,_0x5d0ca6=_0x188795,_0x25c32a=_0x2a0443,_0x16c06f=_0x5756bb,_0x2f64bd=_0x8dffe6,{randomBytes:_0x1f1582,createHash:_0x51ff47}=_0x8b2df3,{Duplex:_0x1b430c,Readable:_0x3aa13b}=_0x107dc6,{URL:_0x5aadef}=_0x4ea5de,_0x28a835=he(),_0x1f4536=dt(),_0x1e5adc=_t(),{isBlob:_0x4d4480}=ne(),{BINARY_TYPES:_0x11755f,EMPTY_BUFFER:_0x2cd1dd,GUID:_0x5b8e1b,kForOnEventAttribute:_0x2a414a,kListener:_0x4a6917,kStatusCode:_0x59063c,kWebSocket:_0x49e8dc,NOOP:_0xc9ae0}=V(),{EventTarget:{addEventListener:_0x1e39ed,removeEventListener:_0x46dee0}}=Kt(),{format:_0x3e8919,parse:_0x35b248}=pt(),{toBuffer:_0x2b6c56}=ce(),_0x64a9b=0x1e*0x3e8,_0x29770d=Symbol('kAborted'),_0x450062=[0x8,0xd],_0xd2c8af=[_0x5c2722(0x13f),_0x5c2722(0x266),'CLOSING','CLOSED'],_0x19aee7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5e0996 extends _0x339018{constructor(_0x2c7476,_0x562393,_0xee0904){const _0x66b690=_0x5c2722;super(),this[_0x66b690(0x2c0)]=_0x11755f[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x66b690(0x121)]=!0x1,this[_0x66b690(0x201)]=_0x2cd1dd,this[_0x66b690(0x239)]=null,this[_0x66b690(0x1b3)]=!0x1,this[_0x66b690(0x26e)]={},this[_0x66b690(0x27b)]=!0x1,this['_protocol']='',this[_0x66b690(0x1d9)]=_0x5e0996['CONNECTING'],this[_0x66b690(0x1e8)]=null,this['_sender']=null,this[_0x66b690(0x20d)]=null,_0x2c7476!==null?(this[_0x66b690(0x1ce)]=0x0,this[_0x66b690(0x226)]=!0x1,this[_0x66b690(0x161)]=0x0,_0x562393===void 0x0?_0x562393=[]:Array['isArray'](_0x562393)||(typeof _0x562393=='object'&&_0x562393!==null?(_0xee0904=_0x562393,_0x562393=[]):_0x562393=[_0x562393]),_0x1be8cd(this,_0x2c7476,_0x562393,_0xee0904)):(this[_0x66b690(0x203)]=_0xee0904[_0x66b690(0x2a2)],this[_0x66b690(0x226)]=!0x0);}get[_0x5c2722(0x1d3)](){const _0x8abfbe=_0x5c2722;return this[_0x8abfbe(0x2c0)];}set[_0x5c2722(0x1d3)](_0x2dbf2c){const _0x342026=_0x5c2722;_0x11755f['includes'](_0x2dbf2c)&&(this[_0x342026(0x2c0)]=_0x2dbf2c,this[_0x342026(0x1e8)]&&(this[_0x342026(0x1e8)]['_binaryType']=_0x2dbf2c));}get[_0x5c2722(0x27d)](){const _0x569010=_0x5c2722;return this['_socket']?this['_socket'][_0x569010(0x1c2)]['length']+this[_0x569010(0x21e)][_0x569010(0x1a3)]:this[_0x569010(0x1ce)];}get[_0x5c2722(0x24c)](){const _0x2dfaab=_0x5c2722;return Object[_0x2dfaab(0x25c)](this[_0x2dfaab(0x26e)])[_0x2dfaab(0x22c)]();}get[_0x5c2722(0x19a)](){return this['_paused'];}get[_0x5c2722(0x23c)](){return null;}get[_0x5c2722(0x1ec)](){return null;}get[_0x5c2722(0x1ef)](){return null;}get[_0x5c2722(0x280)](){return null;}get[_0x5c2722(0x1bb)](){const _0x1d861f=_0x5c2722;return this[_0x1d861f(0x133)];}get['readyState'](){const _0x17a99d=_0x5c2722;return this[_0x17a99d(0x1d9)];}get['url'](){const _0x32d723=_0x5c2722;return this[_0x32d723(0x1aa)];}['setSocket'](_0x11729f,_0x11d1cd,_0x429619){const _0x113067=_0x5c2722,_0x207b9e=new _0x1f4536({'allowSynchronousEvents':_0x429619[_0x113067(0x29f)],'binaryType':this[_0x113067(0x1d3)],'extensions':this[_0x113067(0x26e)],'isServer':this[_0x113067(0x226)],'maxPayload':_0x429619['maxPayload'],'skipUTF8Validation':_0x429619[_0x113067(0x23f)]}),_0x183369=new _0x1e5adc(_0x11729f,this[_0x113067(0x26e)],_0x429619['generateMask']);this[_0x113067(0x1e8)]=_0x207b9e,this[_0x113067(0x21e)]=_0x183369,this[_0x113067(0x20d)]=_0x11729f,_0x207b9e[_0x49e8dc]=this,_0x183369[_0x49e8dc]=this,_0x11729f[_0x49e8dc]=this,_0x207b9e['on']('conclude',_0x12d353),_0x207b9e['on'](_0x113067(0x22b),_0x31ed92),_0x207b9e['on']('error',_0x3e2c96),_0x207b9e['on']('message',_0x3d1615),_0x207b9e['on']('ping',_0x88067f),_0x207b9e['on'](_0x113067(0x2ae),_0x44ea9f),_0x183369[_0x113067(0x1ec)]=_0xedaa5e,_0x11729f[_0x113067(0x194)]&&_0x11729f[_0x113067(0x194)](0x0),_0x11729f[_0x113067(0x131)]&&_0x11729f['setNoDelay'](),_0x11d1cd[_0x113067(0x299)]>0x0&&_0x11729f[_0x113067(0x227)](_0x11d1cd),_0x11729f['on'](_0x113067(0x249),_0x53550f),_0x11729f['on'](_0x113067(0x12c),_0x300d08),_0x11729f['on']('end',_0xa27bb2),_0x11729f['on']('error',_0x32f0db),this['_readyState']=_0x5e0996['OPEN'],this['emit'](_0x113067(0x12a));}[_0x5c2722(0x1b4)](){const _0xb67e3d=_0x5c2722;if(!this[_0xb67e3d(0x20d)]){this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this['emit'](_0xb67e3d(0x249),this[_0xb67e3d(0x14f)],this[_0xb67e3d(0x201)]);return;}this['_extensions'][_0x28a835['extensionName']]&&this[_0xb67e3d(0x26e)][_0x28a835[_0xb67e3d(0x138)]][_0xb67e3d(0x1fe)](),this[_0xb67e3d(0x1e8)][_0xb67e3d(0x1bf)](),this[_0xb67e3d(0x1d9)]=_0x5e0996[_0xb67e3d(0x28f)],this[_0xb67e3d(0x215)]('close',this[_0xb67e3d(0x14f)],this['_closeMessage']);}[_0x5c2722(0x249)](_0x55e75a,_0x45a931){const _0x516f4=_0x5c2722;if(this[_0x516f4(0x2c9)]!==_0x5e0996[_0x516f4(0x28f)]){if(this[_0x516f4(0x2c9)]===_0x5e0996['CONNECTING']){_0x36d8f7(this,this[_0x516f4(0x1cf)],_0x516f4(0x17b));return;}if(this[_0x516f4(0x2c9)]===_0x5e0996[_0x516f4(0x1d1)]){this[_0x516f4(0x121)]&&(this[_0x516f4(0x15b)]||this['_receiver'][_0x516f4(0x1c2)][_0x516f4(0x2a3)])&&this[_0x516f4(0x20d)][_0x516f4(0x270)]();return;}this[_0x516f4(0x1d9)]=_0x5e0996[_0x516f4(0x1d1)],this[_0x516f4(0x21e)][_0x516f4(0x249)](_0x55e75a,_0x45a931,!this['_isServer'],_0x37f865=>{const _0xdbbb34=_0x516f4;_0x37f865||(this[_0xdbbb34(0x121)]=!0x0,(this[_0xdbbb34(0x15b)]||this[_0xdbbb34(0x1e8)][_0xdbbb34(0x1c2)][_0xdbbb34(0x2a3)])&&this[_0xdbbb34(0x20d)]['end']());}),_0x4ecf7f(this);}}[_0x5c2722(0x1b7)](){const _0x2748dd=_0x5c2722;this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x13f)]||this[_0x2748dd(0x2c9)]===_0x5e0996[_0x2748dd(0x28f)]||(this[_0x2748dd(0x27b)]=!0x0,this['_socket'][_0x2748dd(0x1b7)]());}[_0x5c2722(0x11f)](_0x591fda,_0x4c12f8,_0x393ac9){const _0x811bb8=_0x5c2722;if(this[_0x811bb8(0x2c9)]===_0x5e0996[_0x811bb8(0x13f)])throw new Error(_0x811bb8(0x141));if(typeof _0x591fda=='function'?(_0x393ac9=_0x591fda,_0x591fda=_0x4c12f8=void 0x0):typeof _0x4c12f8==_0x811bb8(0x2a5)&&(_0x393ac9=_0x4c12f8,_0x4c12f8=void 0x0),typeof _0x591fda==_0x811bb8(0x217)&&(_0x591fda=_0x591fda[_0x811bb8(0x1dc)]()),this[_0x811bb8(0x2c9)]!==_0x5e0996[_0x811bb8(0x266)]){_0x284911(this,_0x591fda,_0x393ac9);return;}_0x4c12f8===void 0x0&&(_0x4c12f8=!this['_isServer']),this['_sender']['ping'](_0x591fda||_0x2cd1dd,_0x4c12f8,_0x393ac9);}[_0x5c2722(0x2ae)](_0x315139,_0x296226,_0x943669){const _0x1a7f33=_0x5c2722;if(this[_0x1a7f33(0x2c9)]===_0x5e0996[_0x1a7f33(0x13f)])throw new Error(_0x1a7f33(0x141));if(typeof _0x315139==_0x1a7f33(0x2a5)?(_0x943669=_0x315139,_0x315139=_0x296226=void 0x0):typeof _0x296226=='function'&&(_0x943669=_0x296226,_0x296226=void 0x0),typeof _0x315139==_0x1a7f33(0x217)&&(_0x315139=_0x315139['toString']()),this['readyState']!==_0x5e0996[_0x1a7f33(0x266)]){_0x284911(this,_0x315139,_0x943669);return;}_0x296226===void 0x0&&(_0x296226=!this[_0x1a7f33(0x226)]),this[_0x1a7f33(0x21e)][_0x1a7f33(0x2ae)](_0x315139||_0x2cd1dd,_0x296226,_0x943669);}[_0x5c2722(0x278)](){const _0x2d81ed=_0x5c2722;this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x13f)]||this[_0x2d81ed(0x2c9)]===_0x5e0996[_0x2d81ed(0x28f)]||(this[_0x2d81ed(0x27b)]=!0x1,this[_0x2d81ed(0x1e8)][_0x2d81ed(0x1c2)][_0x2d81ed(0x2b5)]||this['_socket'][_0x2d81ed(0x278)]());}[_0x5c2722(0x1a0)](_0x3f32d7,_0x1bddfd,_0x8ba914){const _0x10012b=_0x5c2722;if(this[_0x10012b(0x2c9)]===_0x5e0996[_0x10012b(0x13f)])throw new Error(_0x10012b(0x141));if(typeof _0x1bddfd==_0x10012b(0x2a5)&&(_0x8ba914=_0x1bddfd,_0x1bddfd={}),typeof _0x3f32d7==_0x10012b(0x217)&&(_0x3f32d7=_0x3f32d7[_0x10012b(0x1dc)]()),this[_0x10012b(0x2c9)]!==_0x5e0996[_0x10012b(0x266)]){_0x284911(this,_0x3f32d7,_0x8ba914);return;}const _0x29ea7c={'binary':typeof _0x3f32d7!=_0x10012b(0x153),'mask':!this[_0x10012b(0x226)],'compress':!0x0,'fin':!0x0,..._0x1bddfd};this[_0x10012b(0x26e)][_0x28a835[_0x10012b(0x138)]]||(_0x29ea7c[_0x10012b(0x177)]=!0x1),this[_0x10012b(0x21e)][_0x10012b(0x1a0)](_0x3f32d7||_0x2cd1dd,_0x29ea7c,_0x8ba914);}[_0x5c2722(0x180)](){const _0x38521a=_0x5c2722;if(this[_0x38521a(0x2c9)]!==_0x5e0996['CLOSED']){if(this[_0x38521a(0x2c9)]===_0x5e0996[_0x38521a(0x13f)]){_0x36d8f7(this,this['_req'],_0x38521a(0x17b));return;}this[_0x38521a(0x20d)]&&(this['_readyState']=_0x5e0996['CLOSING'],this['_socket']['destroy']());}}}Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x13f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x13f))}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x266))}),Object['defineProperty'](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x266),{'enumerable':!0x0,'value':_0xd2c8af['indexOf']('OPEN')}),Object['defineProperty'](_0x5e0996,_0x5c2722(0x1d1),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x1d1))}),Object[_0x5c2722(0x265)](_0x5e0996['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)]('CLOSING')}),Object[_0x5c2722(0x265)](_0x5e0996,_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af['indexOf'](_0x5c2722(0x28f))}),Object[_0x5c2722(0x265)](_0x5e0996[_0x5c2722(0x1b8)],_0x5c2722(0x28f),{'enumerable':!0x0,'value':_0xd2c8af[_0x5c2722(0x169)](_0x5c2722(0x28f))}),[_0x5c2722(0x1d3),'bufferedAmount',_0x5c2722(0x24c),_0x5c2722(0x19a),_0x5c2722(0x1bb),_0x5c2722(0x2c9),_0x5c2722(0x1c8)][_0x5c2722(0x179)](_0x19a640=>{const _0x4fabf4=_0x5c2722;Object['defineProperty'](_0x5e0996[_0x4fabf4(0x1b8)],_0x19a640,{'enumerable':!0x0});}),[_0x5c2722(0x12a),_0x5c2722(0x223),_0x5c2722(0x249),'message']['forEach'](_0x36399b=>{const _0xb39119=_0x5c2722;Object[_0xb39119(0x265)](_0x5e0996[_0xb39119(0x1b8)],'on'+_0x36399b,{'enumerable':!0x0,'get'(){const _0x146702=_0xb39119;for(const _0x1824c0 of this[_0x146702(0x1e6)](_0x36399b))if(_0x1824c0[_0x2a414a])return _0x1824c0[_0x4a6917];return null;},'set'(_0x4c7f5a){const _0x305d33=_0xb39119;for(const _0x31fb09 of this[_0x305d33(0x1e6)](_0x36399b))if(_0x31fb09[_0x2a414a]){this[_0x305d33(0x14a)](_0x36399b,_0x31fb09);break;}typeof _0x4c7f5a==_0x305d33(0x2a5)&&this['addEventListener'](_0x36399b,_0x4c7f5a,{[_0x2a414a]:!0x0});}});}),_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x225)]=_0x1e39ed,_0x5e0996[_0x5c2722(0x1b8)][_0x5c2722(0x199)]=_0x46dee0,we=_0x5e0996;function _0x1be8cd(_0x3ed5f0,_0xc5d47d,_0xdbc503,_0x230db3){const _0x5a3b51=_0x5c2722,_0x316b1c={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x450062[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x230db3,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5a3b51(0x2c7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3ed5f0[_0x5a3b51(0x203)]=_0x316b1c[_0x5a3b51(0x2a2)],!_0x450062['includes'](_0x316b1c[_0x5a3b51(0x124)]))throw new RangeError(_0x5a3b51(0x137)+_0x316b1c['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x450062[_0x5a3b51(0x22c)](',\x20')+')');let _0x22bc7e;if(_0xc5d47d instanceof _0x5aadef)_0x22bc7e=_0xc5d47d;else try{_0x22bc7e=new _0x5aadef(_0xc5d47d);}catch{throw new SyntaxError(_0x5a3b51(0x245)+_0xc5d47d);}_0x22bc7e['protocol']==='http:'?_0x22bc7e[_0x5a3b51(0x1bb)]='ws:':_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x1c4)&&(_0x22bc7e['protocol']=_0x5a3b51(0x15f)),_0x3ed5f0['_url']=_0x22bc7e[_0x5a3b51(0x168)];const _0x3813d3=_0x22bc7e[_0x5a3b51(0x1bb)]===_0x5a3b51(0x15f),_0x45838e=_0x22bc7e['protocol']===_0x5a3b51(0x1d0);let _0x980520;if(_0x22bc7e['protocol']!==_0x5a3b51(0x1e1)&&!_0x3813d3&&!_0x45838e?_0x980520='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':_0x45838e&&!_0x22bc7e['pathname']?_0x980520=_0x5a3b51(0x1fc):_0x22bc7e[_0x5a3b51(0x236)]&&(_0x980520=_0x5a3b51(0x18e)),_0x980520){const _0x115001=new SyntaxError(_0x980520);if(_0x3ed5f0[_0x5a3b51(0x161)]===0x0)throw _0x115001;_0xb42485(_0x3ed5f0,_0x115001);return;}const _0x408efa=_0x3813d3?0x1bb:0x50,_0x55c7a8=_0x1f1582(0x10)['toString'](_0x5a3b51(0x244)),_0xdb5821=_0x3813d3?_0x5d0ca6[_0x5a3b51(0x24e)]:_0x25c32a[_0x5a3b51(0x24e)],_0x1870e8=new Set();let _0x1550ee;if(_0x316b1c[_0x5a3b51(0x27e)]=_0x316b1c['createConnection']||(_0x3813d3?_0x82a5ab:_0x35fbdd),_0x316b1c['defaultPort']=_0x316b1c[_0x5a3b51(0x149)]||_0x408efa,_0x316b1c[_0x5a3b51(0x229)]=_0x22bc7e[_0x5a3b51(0x229)]||_0x408efa,_0x316b1c[_0x5a3b51(0x12d)]=_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x248)]('[')?_0x22bc7e[_0x5a3b51(0x14c)][_0x5a3b51(0x1e9)](0x1,-0x1):_0x22bc7e[_0x5a3b51(0x14c)],_0x316b1c[_0x5a3b51(0x298)]={..._0x316b1c['headers'],'Sec-WebSocket-Version':_0x316b1c[_0x5a3b51(0x124)],'Sec-WebSocket-Key':_0x55c7a8,'Connection':'Upgrade','Upgrade':_0x5a3b51(0x1bc)},_0x316b1c[_0x5a3b51(0x2b9)]=_0x22bc7e[_0x5a3b51(0x1ba)]+_0x22bc7e[_0x5a3b51(0x19b)],_0x316b1c[_0x5a3b51(0x2c5)]=_0x316b1c['handshakeTimeout'],_0x316b1c['perMessageDeflate']&&(_0x1550ee=new _0x28a835(_0x316b1c[_0x5a3b51(0x2be)]!==!0x0?_0x316b1c[_0x5a3b51(0x2be)]:{},!0x1,_0x316b1c[_0x5a3b51(0x268)]),_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x291)]=_0x3e8919({[_0x28a835[_0x5a3b51(0x138)]]:_0x1550ee['offer']()})),_0xdbc503[_0x5a3b51(0x299)]){for(const _0x113e49 of _0xdbc503){if(typeof _0x113e49!=_0x5a3b51(0x153)||!_0x19aee7[_0x5a3b51(0x209)](_0x113e49)||_0x1870e8[_0x5a3b51(0x134)](_0x113e49))throw new SyntaxError(_0x5a3b51(0x126));_0x1870e8[_0x5a3b51(0x20c)](_0x113e49);}_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x221)]=_0xdbc503['join'](',');}if(_0x316b1c['origin']&&(_0x316b1c[_0x5a3b51(0x124)]<0xd?_0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x22a)]=_0x316b1c[_0x5a3b51(0x11c)]:_0x316b1c[_0x5a3b51(0x298)]['Origin']=_0x316b1c['origin']),(_0x22bc7e[_0x5a3b51(0x23a)]||_0x22bc7e[_0x5a3b51(0x184)])&&(_0x316b1c['auth']=_0x22bc7e[_0x5a3b51(0x23a)]+':'+_0x22bc7e[_0x5a3b51(0x184)]),_0x45838e){const _0x41432e=_0x316b1c[_0x5a3b51(0x2b9)][_0x5a3b51(0x211)](':');_0x316b1c[_0x5a3b51(0x222)]=_0x41432e[0x0],_0x316b1c['path']=_0x41432e[0x1];}let _0x10721c;if(_0x316b1c[_0x5a3b51(0x2ba)]){if(_0x3ed5f0['_redirects']===0x0){_0x3ed5f0[_0x5a3b51(0x25e)]=_0x45838e,_0x3ed5f0['_originalSecure']=_0x3813d3,_0x3ed5f0[_0x5a3b51(0x1a7)]=_0x45838e?_0x316b1c['socketPath']:_0x22bc7e[_0x5a3b51(0x12d)];const _0x5b4048=_0x230db3&&_0x230db3['headers'];if(_0x230db3={..._0x230db3,'headers':{}},_0x5b4048){for(const [_0x53eb8f,_0x515022]of Object['entries'](_0x5b4048))_0x230db3['headers'][_0x53eb8f['toLowerCase']()]=_0x515022;}}else{if(_0x3ed5f0[_0x5a3b51(0x27f)](_0x5a3b51(0x243))===0x0){const _0x4a34e8=_0x45838e?_0x3ed5f0[_0x5a3b51(0x25e)]?_0x316b1c[_0x5a3b51(0x222)]===_0x3ed5f0[_0x5a3b51(0x1a7)]:!0x1:_0x3ed5f0[_0x5a3b51(0x25e)]?!0x1:_0x22bc7e[_0x5a3b51(0x12d)]===_0x3ed5f0[_0x5a3b51(0x1a7)];(!_0x4a34e8||_0x3ed5f0['_originalSecure']&&!_0x3813d3)&&(delete _0x316b1c[_0x5a3b51(0x298)][_0x5a3b51(0x17e)],delete _0x316b1c['headers'][_0x5a3b51(0x2b8)],_0x4a34e8||delete _0x316b1c[_0x5a3b51(0x298)]['host'],_0x316b1c[_0x5a3b51(0x1ad)]=void 0x0);}}_0x316b1c[_0x5a3b51(0x1ad)]&&!_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]&&(_0x230db3[_0x5a3b51(0x298)][_0x5a3b51(0x17e)]='Basic\x20'+Buffer[_0x5a3b51(0x24b)](_0x316b1c[_0x5a3b51(0x1ad)])[_0x5a3b51(0x1dc)](_0x5a3b51(0x244))),_0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c),_0x3ed5f0[_0x5a3b51(0x161)]&&_0x3ed5f0[_0x5a3b51(0x215)]('redirect',_0x3ed5f0['url'],_0x10721c);}else _0x10721c=_0x3ed5f0['_req']=_0xdb5821(_0x316b1c);_0x316b1c['timeout']&&_0x10721c['on'](_0x5a3b51(0x2c5),()=>{const _0x3dc4d0=_0x5a3b51;_0x36d8f7(_0x3ed5f0,_0x10721c,_0x3dc4d0(0x267));}),_0x10721c['on']('error',_0x227570=>{const _0x21389a=_0x5a3b51;_0x10721c===null||_0x10721c[_0x29770d]||(_0x10721c=_0x3ed5f0[_0x21389a(0x1cf)]=null,_0xb42485(_0x3ed5f0,_0x227570));}),_0x10721c['on'](_0x5a3b51(0x28e),_0xa0d987=>{const _0x129bc2=_0x5a3b51,_0x5cd0b0=_0xa0d987['headers'][_0x129bc2(0x1df)],_0x212d4c=_0xa0d987[_0x129bc2(0x29c)];if(_0x5cd0b0&&_0x316b1c[_0x129bc2(0x2ba)]&&_0x212d4c>=0x12c&&_0x212d4c<0x190){if(++_0x3ed5f0['_redirects']>_0x316b1c[_0x129bc2(0x2b7)]){_0x36d8f7(_0x3ed5f0,_0x10721c,'Maximum\x20redirects\x20exceeded');return;}_0x10721c[_0x129bc2(0x288)]();let _0x50d2c5;try{_0x50d2c5=new _0x5aadef(_0x5cd0b0,_0xc5d47d);}catch{const _0x5bd078=new SyntaxError('Invalid\x20URL:\x20'+_0x5cd0b0);_0xb42485(_0x3ed5f0,_0x5bd078);return;}_0x1be8cd(_0x3ed5f0,_0x50d2c5,_0xdbc503,_0x230db3);}else _0x3ed5f0[_0x129bc2(0x215)](_0x129bc2(0x1e5),_0x10721c,_0xa0d987)||_0x36d8f7(_0x3ed5f0,_0x10721c,_0x129bc2(0x290)+_0xa0d987[_0x129bc2(0x29c)]);}),_0x10721c['on'](_0x5a3b51(0x263),(_0x2b8e5f,_0x147f90,_0x46c937)=>{const _0x45713f=_0x5a3b51;if(_0x3ed5f0[_0x45713f(0x215)](_0x45713f(0x263),_0x2b8e5f),_0x3ed5f0[_0x45713f(0x2c9)]!==_0x5e0996[_0x45713f(0x13f)])return;_0x10721c=_0x3ed5f0[_0x45713f(0x1cf)]=null;const _0x1a4d51=_0x2b8e5f['headers'][_0x45713f(0x263)];if(_0x1a4d51===void 0x0||_0x1a4d51['toLowerCase']()!=='websocket'){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x210));return;}const _0x5ae39a=_0x51ff47(_0x45713f(0x132))[_0x45713f(0x191)](_0x55c7a8+_0x5b8e1b)['digest'](_0x45713f(0x244));if(_0x2b8e5f['headers'][_0x45713f(0x17d)]!==_0x5ae39a){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x2ac));return;}const _0x2097f4=_0x2b8e5f['headers']['sec-websocket-protocol'];let _0x4bf7c5;if(_0x2097f4!==void 0x0?_0x1870e8['size']?_0x1870e8[_0x45713f(0x134)](_0x2097f4)||(_0x4bf7c5=_0x45713f(0x158)):_0x4bf7c5=_0x45713f(0x1d4):_0x1870e8[_0x45713f(0x2ca)]&&(_0x4bf7c5='Server\x20sent\x20no\x20subprotocol'),_0x4bf7c5){_0x36d8f7(_0x3ed5f0,_0x147f90,_0x4bf7c5);return;}_0x2097f4&&(_0x3ed5f0[_0x45713f(0x133)]=_0x2097f4);const _0x50c09e=_0x2b8e5f['headers'][_0x45713f(0x2c1)];if(_0x50c09e!==void 0x0){if(!_0x1550ee){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x54142d;try{_0x54142d=_0x35b248(_0x50c09e);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}const _0x4af3b0=Object[_0x45713f(0x25c)](_0x54142d);if(_0x4af3b0[_0x45713f(0x299)]!==0x1||_0x4af3b0[0x0]!==_0x28a835[_0x45713f(0x138)]){_0x36d8f7(_0x3ed5f0,_0x147f90,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1550ee[_0x45713f(0x260)](_0x54142d[_0x28a835[_0x45713f(0x138)]]);}catch{_0x36d8f7(_0x3ed5f0,_0x147f90,_0x45713f(0x24f));return;}_0x3ed5f0[_0x45713f(0x26e)][_0x28a835[_0x45713f(0x138)]]=_0x1550ee;}_0x3ed5f0['setSocket'](_0x147f90,_0x46c937,{'allowSynchronousEvents':_0x316b1c[_0x45713f(0x29f)],'generateMask':_0x316b1c[_0x45713f(0x18d)],'maxPayload':_0x316b1c['maxPayload'],'skipUTF8Validation':_0x316b1c[_0x45713f(0x23f)]});}),_0x316b1c['finishRequest']?_0x316b1c[_0x5a3b51(0x127)](_0x10721c,_0x3ed5f0):_0x10721c[_0x5a3b51(0x270)]();}function _0xb42485(_0x6da197,_0x418002){const _0x3c1ea3=_0x5c2722;_0x6da197['_readyState']=_0x5e0996['CLOSING'],_0x6da197[_0x3c1ea3(0x1b3)]=!0x0,_0x6da197[_0x3c1ea3(0x215)](_0x3c1ea3(0x223),_0x418002),_0x6da197[_0x3c1ea3(0x1b4)]();}function _0x35fbdd(_0x4998bb){const _0x189675=_0x5c2722;return _0x4998bb[_0x189675(0x2b9)]=_0x4998bb[_0x189675(0x222)],_0x16c06f['connect'](_0x4998bb);}function _0x82a5ab(_0x19da25){const _0x46ef43=_0x5c2722;return _0x19da25[_0x46ef43(0x2b9)]=void 0x0,!_0x19da25[_0x46ef43(0x155)]&&_0x19da25['servername']!==''&&(_0x19da25['servername']=_0x16c06f[_0x46ef43(0x136)](_0x19da25[_0x46ef43(0x12d)])?'':_0x19da25[_0x46ef43(0x12d)]),_0x2f64bd[_0x46ef43(0x24a)](_0x19da25);}function _0x36d8f7(_0x485cc4,_0x4c9e31,_0x4b122a){const _0x57c427=_0x5c2722;_0x485cc4[_0x57c427(0x1d9)]=_0x5e0996[_0x57c427(0x1d1)];const _0x50ba18=new Error(_0x4b122a);Error['captureStackTrace'](_0x50ba18,_0x36d8f7),_0x4c9e31[_0x57c427(0x251)]?(_0x4c9e31[_0x29770d]=!0x0,_0x4c9e31[_0x57c427(0x288)](),_0x4c9e31[_0x57c427(0x238)]&&!_0x4c9e31[_0x57c427(0x238)][_0x57c427(0x21b)]&&_0x4c9e31['socket'][_0x57c427(0x20e)](),process['nextTick'](_0xb42485,_0x485cc4,_0x50ba18)):(_0x4c9e31['destroy'](_0x50ba18),_0x4c9e31[_0x57c427(0x1eb)]('error',_0x485cc4[_0x57c427(0x215)][_0x57c427(0x1e3)](_0x485cc4,_0x57c427(0x223))),_0x4c9e31[_0x57c427(0x1eb)]('close',_0x485cc4[_0x57c427(0x1b4)][_0x57c427(0x1e3)](_0x485cc4)));}function _0x284911(_0xf254e2,_0x5cba41,_0x5361f6){const _0x28151c=_0x5c2722;if(_0x5cba41){const _0x5b8351=_0x4d4480(_0x5cba41)?_0x5cba41[_0x28151c(0x2ca)]:_0x2b6c56(_0x5cba41)[_0x28151c(0x299)];_0xf254e2[_0x28151c(0x20d)]?_0xf254e2['_sender'][_0x28151c(0x1a3)]+=_0x5b8351:_0xf254e2[_0x28151c(0x1ce)]+=_0x5b8351;}if(_0x5361f6){const _0x1b12c6=new Error(_0x28151c(0x1b5)+_0xf254e2[_0x28151c(0x2c9)]+'\x20('+_0xd2c8af[_0xf254e2['readyState']]+')');process[_0x28151c(0x135)](_0x5361f6,_0x1b12c6);}}function _0x12d353(_0x2ca49b,_0x2beea3){const _0x4550fb=_0x5c2722,_0x4e0275=this[_0x49e8dc];_0x4e0275[_0x4550fb(0x15b)]=!0x0,_0x4e0275[_0x4550fb(0x201)]=_0x2beea3,_0x4e0275[_0x4550fb(0x14f)]=_0x2ca49b,_0x4e0275['_socket'][_0x49e8dc]!==void 0x0&&(_0x4e0275[_0x4550fb(0x20d)][_0x4550fb(0x14a)](_0x4550fb(0x12c),_0x300d08),process['nextTick'](_0x509f7a,_0x4e0275[_0x4550fb(0x20d)]),_0x2ca49b===0x3ed?_0x4e0275[_0x4550fb(0x249)]():_0x4e0275['close'](_0x2ca49b,_0x2beea3));}function _0x31ed92(){const _0x278596=_0x5c2722,_0x31e4e2=this[_0x49e8dc];_0x31e4e2[_0x278596(0x19a)]||_0x31e4e2['_socket']['resume']();}function _0x3e2c96(_0x4f70d6){const _0xa7ec13=_0x5c2722,_0x47576c=this[_0x49e8dc];_0x47576c[_0xa7ec13(0x20d)][_0x49e8dc]!==void 0x0&&(_0x47576c[_0xa7ec13(0x20d)][_0xa7ec13(0x14a)](_0xa7ec13(0x12c),_0x300d08),process[_0xa7ec13(0x135)](_0x509f7a,_0x47576c[_0xa7ec13(0x20d)]),_0x47576c[_0xa7ec13(0x249)](_0x4f70d6[_0x59063c])),_0x47576c[_0xa7ec13(0x1b3)]||(_0x47576c[_0xa7ec13(0x1b3)]=!0x0,_0x47576c[_0xa7ec13(0x215)](_0xa7ec13(0x223),_0x4f70d6));}function _0x3ae6ac(){this[_0x49e8dc]['emitClose']();}function _0x3d1615(_0x3342ab,_0x36fabe){const _0x2c8b77=_0x5c2722;this[_0x49e8dc][_0x2c8b77(0x215)](_0x2c8b77(0x1ca),_0x3342ab,_0x36fabe);}function _0x88067f(_0x14900b){const _0x182747=_0x5c2722,_0xc7c604=this[_0x49e8dc];_0xc7c604[_0x182747(0x203)]&&_0xc7c604[_0x182747(0x2ae)](_0x14900b,!this['_isServer'],_0xc9ae0),_0xc7c604[_0x182747(0x215)]('ping',_0x14900b);}function _0x44ea9f(_0x3344d4){const _0x5903f9=_0x5c2722;this[_0x49e8dc][_0x5903f9(0x215)](_0x5903f9(0x2ae),_0x3344d4);}function _0x509f7a(_0x3bc8b4){const _0xf62cf=_0x5c2722;_0x3bc8b4[_0xf62cf(0x278)]();}function _0xedaa5e(_0x298f21){const _0x1c2be6=_0x5c2722,_0x43b886=this[_0x49e8dc];_0x43b886[_0x1c2be6(0x2c9)]!==_0x5e0996[_0x1c2be6(0x28f)]&&(_0x43b886[_0x1c2be6(0x2c9)]===_0x5e0996[_0x1c2be6(0x266)]&&(_0x43b886[_0x1c2be6(0x1d9)]=_0x5e0996[_0x1c2be6(0x1d1)],_0x4ecf7f(_0x43b886)),this['_socket'][_0x1c2be6(0x270)](),_0x43b886[_0x1c2be6(0x1b3)]||(_0x43b886[_0x1c2be6(0x1b3)]=!0x0,_0x43b886[_0x1c2be6(0x215)]('error',_0x298f21)));}function _0x4ecf7f(_0x3e776a){const _0x1539b8=_0x5c2722;_0x3e776a[_0x1539b8(0x239)]=setTimeout(_0x3e776a['_socket'][_0x1539b8(0x20e)]['bind'](_0x3e776a[_0x1539b8(0x20d)]),_0x64a9b);}function _0x53550f(){const _0x3c847b=_0x5c2722,_0x607df9=this[_0x49e8dc];this[_0x3c847b(0x14a)]('close',_0x53550f),this[_0x3c847b(0x14a)](_0x3c847b(0x12c),_0x300d08),this[_0x3c847b(0x14a)]('end',_0xa27bb2),_0x607df9['_readyState']=_0x5e0996[_0x3c847b(0x1d1)];let _0x58d6b9;!this['_readableState'][_0x3c847b(0x1f2)]&&!_0x607df9[_0x3c847b(0x15b)]&&!_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]&&(_0x58d6b9=_0x607df9['_socket'][_0x3c847b(0x13c)]())!==null&&_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x212)](_0x58d6b9),_0x607df9[_0x3c847b(0x1e8)]['end'](),this[_0x49e8dc]=void 0x0,clearTimeout(_0x607df9[_0x3c847b(0x239)]),_0x607df9[_0x3c847b(0x1e8)][_0x3c847b(0x1c2)][_0x3c847b(0x20f)]||_0x607df9['_receiver'][_0x3c847b(0x1c2)][_0x3c847b(0x2a3)]?_0x607df9[_0x3c847b(0x1b4)]():(_0x607df9[_0x3c847b(0x1e8)]['on']('error',_0x3ae6ac),_0x607df9[_0x3c847b(0x1e8)]['on'](_0x3c847b(0x269),_0x3ae6ac));}function _0x300d08(_0x31efd6){const _0x5f6720=_0x5c2722;this[_0x49e8dc]['_receiver'][_0x5f6720(0x212)](_0x31efd6)||this[_0x5f6720(0x1b7)]();}function _0xa27bb2(){const _0x1eefc0=_0x5c2722,_0x315bf4=this[_0x49e8dc];_0x315bf4[_0x1eefc0(0x1d9)]=_0x5e0996[_0x1eefc0(0x1d1)],_0x315bf4[_0x1eefc0(0x1e8)][_0x1eefc0(0x270)](),this['end']();}function _0x32f0db(){const _0x307692=_0x5c2722,_0x263093=this[_0x49e8dc];this['removeListener']('error',_0x32f0db),this['on'](_0x307692(0x223),_0xc9ae0),_0x263093&&(_0x263093[_0x307692(0x1d9)]=_0x5e0996[_0x307692(0x1d1)],this[_0x307692(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x4a789a}=_0x107dc6;function _0x55b345(_0xb55156){const _0x1a1bfc=_0x840b;_0xb55156[_0x1a1bfc(0x215)](_0x1a1bfc(0x249));}function _0x2a979c(){const _0x5492bd=_0x840b;!this[_0x5492bd(0x21b)]&&this['_writableState'][_0x5492bd(0x20f)]&&this[_0x5492bd(0x20e)]();}function _0x56c926(_0x35c301){const _0x449b3c=_0x840b;this[_0x449b3c(0x14a)]('error',_0x56c926),this[_0x449b3c(0x20e)](),this['listenerCount']('error')===0x0&&this[_0x449b3c(0x215)]('error',_0x35c301);}function _0x49e96f(_0xdd0682,_0x2e2aaa){const _0x595315=_0x840b;let _0x5882ca=!0x0;const _0x4b38e3=new _0x4a789a({..._0x2e2aaa,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xdd0682['on'](_0x595315(0x1ca),function(_0x20fae9,_0x4e7d85){const _0x4d0413=_0x595315,_0x3419ae=!_0x4e7d85&&_0x4b38e3[_0x4d0413(0x139)][_0x4d0413(0x2bb)]?_0x20fae9['toString']():_0x20fae9;_0x4b38e3[_0x4d0413(0x16d)](_0x3419ae)||_0xdd0682[_0x4d0413(0x1b7)]();}),_0xdd0682[_0x595315(0x1eb)]('error',function(_0x4f94d0){const _0x351a12=_0x595315;_0x4b38e3[_0x351a12(0x21b)]||(_0x5882ca=!0x1,_0x4b38e3[_0x351a12(0x20e)](_0x4f94d0));}),_0xdd0682['once'](_0x595315(0x249),function(){const _0x44c2c8=_0x595315;_0x4b38e3[_0x44c2c8(0x21b)]||_0x4b38e3[_0x44c2c8(0x16d)](null);}),_0x4b38e3[_0x595315(0x1c1)]=function(_0x1e070b,_0x145f9e){const _0x3c2c23=_0x595315;if(_0xdd0682['readyState']===_0xdd0682['CLOSED']){_0x145f9e(_0x1e070b),process[_0x3c2c23(0x135)](_0x55b345,_0x4b38e3);return;}let _0x5b0f8b=!0x1;_0xdd0682['once'](_0x3c2c23(0x223),function(_0x3bb512){_0x5b0f8b=!0x0,_0x145f9e(_0x3bb512);}),_0xdd0682[_0x3c2c23(0x1eb)](_0x3c2c23(0x249),function(){const _0x21281d=_0x3c2c23;_0x5b0f8b||_0x145f9e(_0x1e070b),process[_0x21281d(0x135)](_0x55b345,_0x4b38e3);}),_0x5882ca&&_0xdd0682[_0x3c2c23(0x180)]();},_0x4b38e3['_final']=function(_0x18e200){const _0x511bab=_0x595315;if(_0xdd0682['readyState']===_0xdd0682[_0x511bab(0x13f)]){_0xdd0682[_0x511bab(0x1eb)]('open',function(){_0x4b38e3['_final'](_0x18e200);});return;}_0xdd0682[_0x511bab(0x20d)]!==null&&(_0xdd0682['_socket'][_0x511bab(0x1c2)][_0x511bab(0x20f)]?(_0x18e200(),_0x4b38e3[_0x511bab(0x139)][_0x511bab(0x1f2)]&&_0x4b38e3[_0x511bab(0x20e)]()):(_0xdd0682[_0x511bab(0x20d)][_0x511bab(0x1eb)](_0x511bab(0x269),function(){_0x18e200();}),_0xdd0682[_0x511bab(0x249)]()));},_0x4b38e3[_0x595315(0x16b)]=function(){const _0x12500e=_0x595315;_0xdd0682['isPaused']&&_0xdd0682[_0x12500e(0x278)]();},_0x4b38e3[_0x595315(0x295)]=function(_0x18b7fc,_0x30e0a4,_0x347f2b){const _0x1bd701=_0x595315;if(_0xdd0682[_0x1bd701(0x2c9)]===_0xdd0682[_0x1bd701(0x13f)]){_0xdd0682[_0x1bd701(0x1eb)](_0x1bd701(0x12a),function(){const _0x2261d3=_0x1bd701;_0x4b38e3[_0x2261d3(0x295)](_0x18b7fc,_0x30e0a4,_0x347f2b);});return;}_0xdd0682[_0x1bd701(0x1a0)](_0x18b7fc,_0x347f2b);},_0x4b38e3['on'](_0x595315(0x270),_0x2a979c),_0x4b38e3['on'](_0x595315(0x223),_0x56c926),_0x4b38e3;}return Oe=_0x49e96f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2dc432}=ne();function _0x40408f(_0x4005ae){const _0x512c0a=_0x840b,_0x420ae3=new Set();let _0xdd4234=-0x1,_0x197190=-0x1,_0x449b03=0x0;for(_0x449b03;_0x449b03<_0x4005ae[_0x512c0a(0x299)];_0x449b03++){const _0x236c4c=_0x4005ae[_0x512c0a(0x26c)](_0x449b03);if(_0x197190===-0x1&&_0x2dc432[_0x236c4c]===0x1)_0xdd4234===-0x1&&(_0xdd4234=_0x449b03);else{if(_0x449b03!==0x0&&(_0x236c4c===0x20||_0x236c4c===0x9))_0x197190===-0x1&&_0xdd4234!==-0x1&&(_0x197190=_0x449b03);else{if(_0x236c4c===0x2c){if(_0xdd4234===-0x1)throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);_0x197190===-0x1&&(_0x197190=_0x449b03);const _0x3b5275=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x197190);if(_0x420ae3['has'](_0x3b5275))throw new SyntaxError(_0x512c0a(0x293)+_0x3b5275+_0x512c0a(0x240));_0x420ae3['add'](_0x3b5275),_0xdd4234=_0x197190=-0x1;}else throw new SyntaxError(_0x512c0a(0x21d)+_0x449b03);}}}if(_0xdd4234===-0x1||_0x197190!==-0x1)throw new SyntaxError(_0x512c0a(0x2a9));const _0x33485c=_0x4005ae[_0x512c0a(0x1e9)](_0xdd4234,_0x449b03);if(_0x420ae3['has'](_0x33485c))throw new SyntaxError(_0x512c0a(0x293)+_0x33485c+_0x512c0a(0x240));return _0x420ae3[_0x512c0a(0x20c)](_0x33485c),_0x420ae3;}return Ce={'parse':_0x40408f},Ce;}var Te,ot;function er(){const _0x19d3f2=_0x15f6c9;if(ot)return Te;ot=0x1;const _0x41b436=_0x144219,_0x237979=_0x2a0443,{Duplex:_0x1cc068}=_0x107dc6,{createHash:_0x3c5690}=_0x8b2df3,_0x1ec813=pt(),_0x5a8003=he(),_0x1187d6=Jt(),_0x33a96f=Ie(),{GUID:_0x13f029,kWebSocket:_0x56a7bf}=V(),_0x1b0721=/^[+/0-9A-Za-z]{22}==$/,_0x2b0d83=0x0,_0x225a35=0x1,_0x15f68a=0x2;class _0x2943c1 extends _0x41b436{constructor(_0x251a71,_0x47acb3){const _0x5467cf=_0x840b;if(super(),_0x251a71={'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':_0x33a96f,..._0x251a71},_0x251a71[_0x5467cf(0x229)]==null&&!_0x251a71[_0x5467cf(0x1b6)]&&!_0x251a71[_0x5467cf(0x237)]||_0x251a71[_0x5467cf(0x229)]!=null&&(_0x251a71[_0x5467cf(0x1b6)]||_0x251a71[_0x5467cf(0x237)])||_0x251a71[_0x5467cf(0x1b6)]&&_0x251a71[_0x5467cf(0x237)])throw new TypeError(_0x5467cf(0x242));if(_0x251a71[_0x5467cf(0x229)]!=null?(this['_server']=_0x237979[_0x5467cf(0x125)]((_0x536c2b,_0x20d7bc)=>{const _0x33f7f0=_0x5467cf,_0x32255e=_0x237979[_0x33f7f0(0x252)][0x1aa];_0x20d7bc[_0x33f7f0(0x276)](0x1aa,{'Content-Length':_0x32255e[_0x33f7f0(0x299)],'Content-Type':'text/plain'}),_0x20d7bc[_0x33f7f0(0x270)](_0x32255e);}),this['_server']['listen'](_0x251a71[_0x5467cf(0x229)],_0x251a71['host'],_0x251a71[_0x5467cf(0x2a0)],_0x47acb3)):_0x251a71['server']&&(this[_0x5467cf(0x19e)]=_0x251a71[_0x5467cf(0x1b6)]),this[_0x5467cf(0x19e)]){const _0x28a5cf=this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,'connection');this[_0x5467cf(0x29b)]=_0x5a03d(this[_0x5467cf(0x19e)],{'listening':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x1cc)),'error':this[_0x5467cf(0x215)][_0x5467cf(0x1e3)](this,_0x5467cf(0x223)),'upgrade':(_0x19cb8e,_0x17e7cd,_0x130b6f)=>{this['handleUpgrade'](_0x19cb8e,_0x17e7cd,_0x130b6f,_0x28a5cf);}});}_0x251a71['perMessageDeflate']===!0x0&&(_0x251a71[_0x5467cf(0x2be)]={}),_0x251a71[_0x5467cf(0x279)]&&(this[_0x5467cf(0x148)]=new Set(),this[_0x5467cf(0x2ab)]=!0x1),this[_0x5467cf(0x19d)]=_0x251a71,this[_0x5467cf(0x29a)]=_0x2b0d83;}[_0x19d3f2(0x1cb)](){const _0x4861d7=_0x19d3f2;if(this[_0x4861d7(0x19d)][_0x4861d7(0x237)])throw new Error(_0x4861d7(0x287));return this[_0x4861d7(0x19e)]?this['_server']['address']():null;}['close'](_0x19acf1){const _0x1b3e7b=_0x19d3f2;if(this['_state']===_0x15f68a){_0x19acf1&&this[_0x1b3e7b(0x1eb)]('close',()=>{_0x19acf1(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x1b3e7b(0x135)](_0x161e45,this);return;}if(_0x19acf1&&this['once'](_0x1b3e7b(0x249),_0x19acf1),this[_0x1b3e7b(0x29a)]!==_0x225a35){if(this['_state']=_0x225a35,this[_0x1b3e7b(0x19d)][_0x1b3e7b(0x237)]||this['options']['server'])this[_0x1b3e7b(0x19e)]&&(this['_removeListeners'](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null),this[_0x1b3e7b(0x148)]?this[_0x1b3e7b(0x148)]['size']?this[_0x1b3e7b(0x2ab)]=!0x0:process[_0x1b3e7b(0x135)](_0x161e45,this):process[_0x1b3e7b(0x135)](_0x161e45,this);else{const _0x481248=this[_0x1b3e7b(0x19e)];this[_0x1b3e7b(0x29b)](),this[_0x1b3e7b(0x29b)]=this[_0x1b3e7b(0x19e)]=null,_0x481248[_0x1b3e7b(0x249)](()=>{_0x161e45(this);});}}}[_0x19d3f2(0x25d)](_0x6c5036){const _0x57124a=_0x19d3f2;if(this[_0x57124a(0x19d)][_0x57124a(0x2b9)]){const _0x1ee491=_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x169)]('?');if((_0x1ee491!==-0x1?_0x6c5036[_0x57124a(0x1c8)][_0x57124a(0x1e9)](0x0,_0x1ee491):_0x6c5036[_0x57124a(0x1c8)])!==this[_0x57124a(0x19d)][_0x57124a(0x2b9)])return!0x1;}return!0x0;}['handleUpgrade'](_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241){const _0x4873b0=_0x19d3f2;_0x257e0d['on'](_0x4873b0(0x223),_0x3b8369);const _0x11d232=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x207)],_0x45f02b=_0x590992[_0x4873b0(0x298)][_0x4873b0(0x263)],_0x453152=+_0x590992['headers']['sec-websocket-version'];if(_0x590992[_0x4873b0(0x1ab)]!==_0x4873b0(0x2c7)){_0x2e74e2(this,_0x590992,_0x257e0d,0x195,_0x4873b0(0x282));return;}if(_0x45f02b===void 0x0||_0x45f02b[_0x4873b0(0x1d2)]()!==_0x4873b0(0x1bc)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x11d232===void 0x0||!_0x1b0721[_0x4873b0(0x209)](_0x11d232)){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x1b2));return;}if(_0x453152!==0x8&&_0x453152!==0xd){_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x2a6));return;}if(!this['shouldHandle'](_0x590992)){_0x2f422c(_0x257e0d,0x190);return;}const _0x339c56=_0x590992[_0x4873b0(0x298)]['sec-websocket-protocol'];let _0x24aedf=new Set();if(_0x339c56!==void 0x0)try{_0x24aedf=_0x1187d6['parse'](_0x339c56);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x293991=_0x590992['headers'][_0x4873b0(0x2c1)],_0x25a65d={};if(this[_0x4873b0(0x19d)][_0x4873b0(0x2be)]&&_0x293991!==void 0x0){const _0xa5c91a=new _0x5a8003(this['options'][_0x4873b0(0x2be)],!0x0,this[_0x4873b0(0x19d)][_0x4873b0(0x268)]);try{const _0x485837=_0x1ec813[_0x4873b0(0x2ad)](_0x293991);_0x485837[_0x5a8003[_0x4873b0(0x138)]]&&(_0xa5c91a[_0x4873b0(0x260)](_0x485837[_0x5a8003[_0x4873b0(0x138)]]),_0x25a65d[_0x5a8003[_0x4873b0(0x138)]]=_0xa5c91a);}catch{_0x2e74e2(this,_0x590992,_0x257e0d,0x190,_0x4873b0(0x11e));return;}}if(this['options'][_0x4873b0(0x12e)]){const _0x42f9fb={'origin':_0x590992[_0x4873b0(0x298)][''+(_0x453152===0x8?_0x4873b0(0x202):_0x4873b0(0x11c))],'secure':!!(_0x590992[_0x4873b0(0x238)][_0x4873b0(0x1f6)]||_0x590992['socket'][_0x4873b0(0x20b)]),'req':_0x590992};if(this[_0x4873b0(0x19d)][_0x4873b0(0x12e)][_0x4873b0(0x299)]===0x2){this[_0x4873b0(0x19d)][_0x4873b0(0x12e)](_0x42f9fb,(_0x1e491b,_0x16f62d,_0x589937,_0x4cc5ce)=>{const _0x1af183=_0x4873b0;if(!_0x1e491b)return _0x2f422c(_0x257e0d,_0x16f62d||0x191,_0x589937,_0x4cc5ce);this[_0x1af183(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);});return;}if(!this['options'][_0x4873b0(0x12e)](_0x42f9fb))return _0x2f422c(_0x257e0d,0x191);}this[_0x4873b0(0x21f)](_0x25a65d,_0x11d232,_0x24aedf,_0x590992,_0x257e0d,_0xd2bb3b,_0x32b241);}[_0x19d3f2(0x21f)](_0x52af4e,_0x4ca15a,_0x313760,_0x1f7698,_0x4168fe,_0x132e41,_0x3045a5){const _0xab0fb9=_0x19d3f2;if(!_0x4168fe['readable']||!_0x4168fe['writable'])return _0x4168fe['destroy']();if(_0x4168fe[_0x56a7bf])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xab0fb9(0x29a)]>_0x2b0d83)return _0x2f422c(_0x4168fe,0x1f7);const _0x3ddccb=[_0xab0fb9(0x261),'Upgrade:\x20websocket',_0xab0fb9(0x2a8),_0xab0fb9(0x2b1)+_0x3c5690(_0xab0fb9(0x132))[_0xab0fb9(0x191)](_0x4ca15a+_0x13f029)[_0xab0fb9(0x234)](_0xab0fb9(0x244))],_0x1e7022=new this[(_0xab0fb9(0x19d))][(_0xab0fb9(0x2b6))](null,void 0x0,this[_0xab0fb9(0x19d)]);if(_0x313760[_0xab0fb9(0x2ca)]){const _0x1bd5d7=this[_0xab0fb9(0x19d)]['handleProtocols']?this[_0xab0fb9(0x19d)][_0xab0fb9(0x296)](_0x313760,_0x1f7698):_0x313760[_0xab0fb9(0x1ac)]()[_0xab0fb9(0x26f)]()['value'];_0x1bd5d7&&(_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Protocol:\x20'+_0x1bd5d7),_0x1e7022[_0xab0fb9(0x133)]=_0x1bd5d7);}if(_0x52af4e[_0x5a8003['extensionName']]){const _0x103e07=_0x52af4e[_0x5a8003[_0xab0fb9(0x138)]][_0xab0fb9(0x28d)],_0x207651=_0x1ec813[_0xab0fb9(0x1a1)]({[_0x5a8003[_0xab0fb9(0x138)]]:[_0x103e07]});_0x3ddccb[_0xab0fb9(0x16d)]('Sec-WebSocket-Extensions:\x20'+_0x207651),_0x1e7022['_extensions']=_0x52af4e;}this['emit'](_0xab0fb9(0x298),_0x3ddccb,_0x1f7698),_0x4168fe['write'](_0x3ddccb[_0xab0fb9(0x231)]('\x0d\x0a')[_0xab0fb9(0x22c)]('\x0d\x0a')),_0x4168fe[_0xab0fb9(0x14a)](_0xab0fb9(0x223),_0x3b8369),_0x1e7022[_0xab0fb9(0x28b)](_0x4168fe,_0x132e41,{'allowSynchronousEvents':this[_0xab0fb9(0x19d)][_0xab0fb9(0x29f)],'maxPayload':this[_0xab0fb9(0x19d)]['maxPayload'],'skipUTF8Validation':this[_0xab0fb9(0x19d)]['skipUTF8Validation']}),this[_0xab0fb9(0x148)]&&(this[_0xab0fb9(0x148)][_0xab0fb9(0x20c)](_0x1e7022),_0x1e7022['on'](_0xab0fb9(0x249),()=>{const _0x23349f=_0xab0fb9;this[_0x23349f(0x148)][_0x23349f(0x170)](_0x1e7022),this[_0x23349f(0x2ab)]&&!this[_0x23349f(0x148)]['size']&&process[_0x23349f(0x135)](_0x161e45,this);})),_0x3045a5(_0x1e7022,_0x1f7698);}}Te=_0x2943c1;function _0x5a03d(_0x53d411,_0x23a1f4){const _0x5f3d15=_0x19d3f2;for(const _0x57c63a of Object[_0x5f3d15(0x25c)](_0x23a1f4))_0x53d411['on'](_0x57c63a,_0x23a1f4[_0x57c63a]);return function(){const _0x4d898f=_0x5f3d15;for(const _0x45052c of Object[_0x4d898f(0x25c)](_0x23a1f4))_0x53d411[_0x4d898f(0x14a)](_0x45052c,_0x23a1f4[_0x45052c]);};}function _0x161e45(_0x249428){const _0x4c95a2=_0x19d3f2;_0x249428['_state']=_0x15f68a,_0x249428['emit'](_0x4c95a2(0x249));}function _0x3b8369(){this['destroy']();}function _0x2f422c(_0x5136d5,_0x5c94d8,_0x519f08,_0x44fb59){const _0x100517=_0x19d3f2;_0x519f08=_0x519f08||_0x237979[_0x100517(0x252)][_0x5c94d8],_0x44fb59={'Connection':_0x100517(0x249),'Content-Type':_0x100517(0x294),'Content-Length':Buffer['byteLength'](_0x519f08),..._0x44fb59},_0x5136d5['once'](_0x100517(0x269),_0x5136d5[_0x100517(0x20e)]),_0x5136d5[_0x100517(0x270)](_0x100517(0x2c2)+_0x5c94d8+'\x20'+_0x237979[_0x100517(0x252)][_0x5c94d8]+'\x0d\x0a'+Object['keys'](_0x44fb59)[_0x100517(0x264)](_0x172c8a=>_0x172c8a+':\x20'+_0x44fb59[_0x172c8a])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x519f08);}function _0x2e74e2(_0x9241e4,_0xe568f,_0x3fcdf1,_0x42d4e7,_0x3471d8){const _0x57e9fe=_0x19d3f2;if(_0x9241e4[_0x57e9fe(0x27f)](_0x57e9fe(0x284))){const _0x47a7fd=new Error(_0x3471d8);Error['captureStackTrace'](_0x47a7fd,_0x2e74e2),_0x9241e4[_0x57e9fe(0x215)](_0x57e9fe(0x284),_0x47a7fd,_0x3fcdf1,_0xe568f);}else _0x2f422c(_0x3fcdf1,_0x42d4e7,_0x3471d8);}return Te;}er();var tr=Object[_0x15f6c9(0x224)],rr=(_0x556e33,_0x1691a7,_0x420f24,_0x238521)=>{for(var _0x105605=_0x238521>0x1?void 0x0:_0x238521?tr(_0x1691a7,_0x420f24):_0x1691a7,_0x536234=_0x556e33['length']-0x1,_0x516401;_0x536234>=0x0;_0x536234--)(_0x516401=_0x556e33[_0x536234])&&(_0x105605=_0x516401(_0x105605)||_0x105605);return _0x105605;},sr=(_0x5ef11f,_0x15c2a3)=>(_0x4a3bee,_0x3d336c)=>_0x15c2a3(_0x4a3bee,_0x3d336c,_0x5ef11f);let Ne=class extends _0x377e5d{constructor(_0x3f0afc){const _0x29f945=_0x15f6c9;super(),this[_0x29f945(0x11a)]=_0x3f0afc;}[_0x15f6c9(0x1de)](_0x11bcb1){const _0x3ff528=_0x15f6c9;var _0x30bb89;const _0xb65335=(_0x30bb89=this[_0x3ff528(0x11a)][_0x3ff528(0x198)](Be))==null?void 0x0:_0x30bb89['customHeaders'];try{const _0x2d7b12=new Qt(_0x11bcb1,{'headers':{..._0xb65335}}),_0x2197bc=new _0x52c841();return{'URL':_0x11bcb1,'close':(_0x4aeb06,_0xab1069)=>{const _0x443069=_0x3ff528;_0x2d7b12[_0x443069(0x249)](_0x4aeb06,_0xab1069),_0x2197bc[_0x443069(0x1f4)]();},'send':_0xf3a9a8=>{const _0x5da23f=_0x3ff528;_0x2d7b12[_0x5da23f(0x1a0)](_0xf3a9a8);},'open$':new _0x156a86(_0x43b1fa=>{const _0x21bd93=_0x3ff528,_0x255555=_0x251f92=>_0x43b1fa[_0x21bd93(0x26f)](_0x251f92);_0x2d7b12[_0x21bd93(0x225)](_0x21bd93(0x12a),_0x255555),_0x2197bc[_0x21bd93(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x21bd93(0x199)](_0x21bd93(0x12a),_0x255555)));})[_0x3ff528(0x22f)](_0x36a070()),'close$':new _0x156a86(_0x55ac13=>{const _0x151ddd=_0x3ff528,_0xf418c7=_0x302e6b=>_0x55ac13['next'](_0x302e6b);_0x2d7b12[_0x151ddd(0x225)]('close',_0xf418c7),_0x2197bc[_0x151ddd(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener'](_0x151ddd(0x249),_0xf418c7)));})['pipe'](_0x36a070()),'error$':new _0x156a86(_0x588867=>{const _0x330706=_0x3ff528,_0x492fc9=_0x131110=>_0x588867['next'](_0x131110);_0x2d7b12[_0x330706(0x225)]('error',_0x492fc9),_0x2197bc[_0x330706(0x20c)](_0x9e3fe0(()=>_0x2d7b12[_0x330706(0x199)](_0x330706(0x223),_0x492fc9)));})[_0x3ff528(0x22f)](_0x36a070()),'message$':new _0x156a86(_0x24d541=>{const _0x461688=_0x3ff528,_0xf2cdfb=_0x2abca2=>_0x24d541[_0x461688(0x26f)](_0x2abca2);_0x2d7b12[_0x461688(0x225)](_0x461688(0x1ca),_0xf2cdfb),_0x2197bc[_0x461688(0x20c)](_0x9e3fe0(()=>_0x2d7b12['removeEventListener']('message',_0xf2cdfb)));})[_0x3ff528(0x22f)](_0x36a070())};}catch(_0x582261){return console[_0x3ff528(0x223)](_0x582261),null;}}};Ne=rr([sr(0x0,_0xb0deab)],Ne);var ir=Object[_0x15f6c9(0x265)],nr=Object[_0x15f6c9(0x224)],or=(_0x20d945,_0x5e306e,_0x394b3a)=>_0x5e306e in _0x20d945?ir(_0x20d945,_0x5e306e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x394b3a}):_0x20d945[_0x5e306e]=_0x394b3a,ar=(_0xd17f7f,_0x492139,_0x5d9c5c,_0x2d0c81)=>{for(var _0x4ce523=_0x2d0c81>0x1?void 0x0:_0x2d0c81?nr(_0x492139,_0x5d9c5c):_0x492139,_0x313e04=_0xd17f7f['length']-0x1,_0x5f256b;_0x313e04>=0x0;_0x313e04--)(_0x5f256b=_0xd17f7f[_0x313e04])&&(_0x4ce523=_0x5f256b(_0x4ce523)||_0x4ce523);return _0x4ce523;},ke=(_0x5630bc,_0xa9ff15)=>(_0x19266,_0x16fd45)=>_0xa9ff15(_0x19266,_0x16fd45,_0x5630bc),lr=(_0x5956a2,_0x4dc276,_0x64cc62)=>or(_0x5956a2,_0x4dc276+'',_0x64cc62);let Pe=class extends _0x2f7cb9{constructor(_0x2f61ca=Ft,_0x560c05,_0x1d1129,_0x531c4b){const _0x5136e5=_0x15f6c9;_0x2f61ca[_0x5136e5(0x1cd)]||_0x560c05[_0x5136e5(0x1f1)](_0x5136e5(0x230)),super(),this[_0x5136e5(0x11a)]=_0x1d1129,this['_injector']=_0x531c4b,this[_0x5136e5(0x11a)][_0x5136e5(0x254)](Be,_0x2f61ca);}[_0x15f6c9(0x1fa)](){const _0x584fa4=_0x15f6c9;this[_0x584fa4(0x2b0)]();}['_registerDependencies'](){const _0x344373=_0x15f6c9;_0xf1aaa0(this[_0x344373(0x1a8)],[[_0x22df9f,{'useClass':Ne}]]);}};lr(Pe,_0x15f6c9(0x22e),_0x15f6c9(0x258)),Pe=ar([_0x3187a9(_0x1712f2),ke(0x1,_0x370bee),ke(0x2,_0xb0deab),ke(0x3,_0x23c7d9(_0x1d83c4))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x52c5f6,_0x341b8a,_0x14d84f,_0x2e3e9c)=>{const _0x488f03=_0x15f6c9;for(var _0x319dee=_0x2e3e9c>0x1?void 0x0:_0x2e3e9c?fr(_0x341b8a,_0x14d84f):_0x341b8a,_0x582300=_0x52c5f6[_0x488f03(0x299)]-0x1,_0x4101e1;_0x582300>=0x0;_0x582300--)(_0x4101e1=_0x52c5f6[_0x582300])&&(_0x319dee=_0x4101e1(_0x319dee)||_0x319dee);return _0x319dee;},se=(_0x404da4,_0x2cfac3)=>(_0x1c60fd,_0x2bd93f)=>_0x2cfac3(_0x1c60fd,_0x2bd93f,_0x404da4);let at=class extends _0x30ece4{constructor(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8){const _0x27a858=_0x15f6c9;super(_0x26eff3,_0x344dde,_0x34b9fb,_0x180143,_0x29bae8);const _0x1b15bd=this[_0x27a858(0x11a)][_0x27a858(0x198)](Be);this[_0x27a858(0x11b)][_0x27a858(0x150)]({'interceptor':(_0x4448ed,_0x3e9ad4)=>{const _0x583ac5=_0x27a858;var _0x47b5ca;const _0x50e815=_0x4448ed[_0x583ac5(0x298)];return(_0x47b5ca=_0x1b15bd==null?void 0x0:_0x1b15bd[_0x583ac5(0x1cd)])!=null&&_0x47b5ca[_0x583ac5(0x2b8)]&&_0x50e815['set'](_0x583ac5(0x2b2),_0x1b15bd[_0x583ac5(0x1cd)][_0x583ac5(0x2b8)]),_0x3e9ad4(_0x4448ed);}});}async[_0x15f6c9(0x1de)](_0x4041a9){const _0x1d7c94=_0x15f6c9;return this[_0x1d7c94(0x159)](_0x4041a9);}};at=cr([se(0x0,_0x23c7d9(_0x1d83c4)),se(0x1,_0x23c7d9(_0x492b06)),se(0x2,_0xb0deab),se(0x3,_0x370bee),se(0x4,_0x42dd48)],at);function _0x840b(_0x1eddf2,_0x2a7ccd){const _0x369aae=_0x369a();return _0x840b=function(_0x840b21,_0x4d1ad1){_0x840b21=_0x840b21-0x11a;let _0x4294e0=_0x369aae[_0x840b21];return _0x4294e0;},_0x840b(_0x1eddf2,_0x2a7ccd);}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x35e7b2=_0x952a;(function(_0x570629,_0x52c145){const _0x3052ff=_0x952a,_0x3ff4d8=_0x570629();while(!![]){try{const _0x3d89f0=parseInt(_0x3052ff(0x190))/0x1+parseInt(_0x3052ff(0x23b))/0x2*(-parseInt(_0x3052ff(0x275))/0x3)+parseInt(_0x3052ff(0x1d8))/0x4*(parseInt(_0x3052ff(0x1c8))/0x5)+-parseInt(_0x3052ff(0x1ff))/0x6+-parseInt(_0x3052ff(0x1b9))/0x7+parseInt(_0x3052ff(0x2c8))/0x8*(-parseInt(_0x3052ff(0x165))/0x9)+parseInt(_0x3052ff(0x149))/0xa;if(_0x3d89f0===_0x52c145)break;else _0x3ff4d8['push'](_0x3ff4d8['shift']());}catch(_0x55be1e){_0x3ff4d8['push'](_0x3ff4d8['shift']());}}}(_0x269c,0x87ad0));import{UniverCollaborationClientPlugin as _0x220c46,CollaborationSocketService as _0x2b77b1}from'@univerjs-pro/collaboration-client';import{Disposable as _0x17c7e5,DisposableCollection as _0x388415,toDisposable as _0x2cc2d0,IConfigService as _0x1542c7,DependentOn as _0xfa2461,ILogService as _0x3c890d,Inject as _0x3e5df3,Injector as _0xda502b,Plugin as _0x50c173,registerDependencies as _0x361f81}from'@univerjs/core';import{ISocketService as _0x126f40,HTTPService as _0x443d21}from'@univerjs/network';import{Observable as _0x8ee439,share as _0x55fac4}from'rxjs';import _0x4b8068 from'events';import _0x49d489 from'https';import _0x1f1f4d from'http';import _0x14f1ad from'net';import _0x41c0a2 from'tls';import _0x6de8f1 from'crypto';import _0xbe99a9 from'stream';import _0x3e6112 from'url';import _0x37603b from'zlib';import _0x4750c8 from'buffer';import{ISnapshotServerService as _0x2da548}from'@univerjs-pro/collaboration';const Be=_0x35e7b2(0x179),Ft={'customHeaders':{}};function jt(_0x491569){const _0x584d57=_0x35e7b2;return _0x491569&&_0x491569[_0x584d57(0x211)]&&Object[_0x584d57(0x1e9)][_0x584d57(0x293)]['call'](_0x491569,'default')?_0x491569[_0x584d57(0x189)]:_0x491569;}function ut(_0x664f13){const _0x3c7951=_0x35e7b2;if(Object[_0x3c7951(0x1e9)][_0x3c7951(0x293)][_0x3c7951(0x180)](_0x664f13,_0x3c7951(0x211)))return _0x664f13;var _0x111540=_0x664f13['default'];if(typeof _0x111540==_0x3c7951(0x1ac)){var _0x2cfe17=function _0xde19e5(){const _0x939307=_0x3c7951;return this instanceof _0xde19e5?Reflect[_0x939307(0x23a)](_0x111540,arguments,this[_0x939307(0x2b5)]):_0x111540[_0x939307(0x15a)](this,arguments);};_0x2cfe17[_0x3c7951(0x1e9)]=_0x111540[_0x3c7951(0x1e9)];}else _0x2cfe17={};return Object[_0x3c7951(0x157)](_0x2cfe17,_0x3c7951(0x211),{'value':!0x0}),Object['keys'](_0x664f13)[_0x3c7951(0x195)](function(_0x1ae554){const _0x6e8095=_0x3c7951;var _0x2e9759=Object[_0x6e8095(0x186)](_0x664f13,_0x1ae554);Object[_0x6e8095(0x157)](_0x2cfe17,_0x1ae554,_0x2e9759[_0x6e8095(0x2c2)]?_0x2e9759:{'enumerable':!0x0,'get':function(){return _0x664f13[_0x1ae554];}});}),_0x2cfe17;}var te={'exports':{}},ge,Ye;function V(){const _0x25748e=_0x35e7b2;if(Ye)return ge;Ye=0x1;const _0x1109ab=[_0x25748e(0x1c5),'arraybuffer',_0x25748e(0x20d)],_0x4c3da2=typeof Blob<'u';return _0x4c3da2&&_0x1109ab[_0x25748e(0x174)](_0x25748e(0x25a)),ge={'BINARY_TYPES':_0x1109ab,'EMPTY_BUFFER':Buffer[_0x25748e(0x24e)](0x0),'GUID':_0x25748e(0x2bb),'hasBlob':_0x4c3da2,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x25748e(0x133)),'kWebSocket':Symbol(_0x25748e(0x13c)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x35e7b2(0x163)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x35e7b2(0x159)})),Vt=ut(Gt);var Ke;function ce(){const _0x2da5aa=_0x35e7b2;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x375f31}=V(),_0x187b2a=Buffer[Symbol[_0x2da5aa(0x229)]];function _0x480452(_0x251fc6,_0x17f6de){const _0x1c5944=_0x2da5aa;if(_0x251fc6['length']===0x0)return _0x375f31;if(_0x251fc6[_0x1c5944(0x29f)]===0x1)return _0x251fc6[0x0];const _0x5f4cba=Buffer[_0x1c5944(0x235)](_0x17f6de);let _0x24d0ae=0x0;for(let _0x2fc80c=0x0;_0x2fc80c<_0x251fc6['length'];_0x2fc80c++){const _0x3bde69=_0x251fc6[_0x2fc80c];_0x5f4cba['set'](_0x3bde69,_0x24d0ae),_0x24d0ae+=_0x3bde69['length'];}return _0x24d0ae<_0x17f6de?new _0x187b2a(_0x5f4cba[_0x1c5944(0x1f7)],_0x5f4cba['byteOffset'],_0x24d0ae):_0x5f4cba;}function _0x596492(_0x392ff2,_0x225281,_0x47f6ea,_0x77efb4,_0x4868a3){for(let _0x49f902=0x0;_0x49f902<_0x4868a3;_0x49f902++)_0x47f6ea[_0x77efb4+_0x49f902]=_0x392ff2[_0x49f902]^_0x225281[_0x49f902&0x3];}function _0x43bd42(_0x1998f5,_0xc3dc92){const _0x2efba9=_0x2da5aa;for(let _0x509d69=0x0;_0x509d69<_0x1998f5[_0x2efba9(0x29f)];_0x509d69++)_0x1998f5[_0x509d69]^=_0xc3dc92[_0x509d69&0x3];}function _0x41106d(_0x44ea2a){const _0xc7aaf3=_0x2da5aa;return _0x44ea2a['length']===_0x44ea2a['buffer'][_0xc7aaf3(0x2b1)]?_0x44ea2a['buffer']:_0x44ea2a[_0xc7aaf3(0x1f7)][_0xc7aaf3(0x187)](_0x44ea2a['byteOffset'],_0x44ea2a['byteOffset']+_0x44ea2a[_0xc7aaf3(0x29f)]);}function _0x5093d4(_0xbcb28){const _0x3a9d25=_0x2da5aa;if(_0x5093d4[_0x3a9d25(0x247)]=!0x0,Buffer['isBuffer'](_0xbcb28))return _0xbcb28;let _0x3674d8;return _0xbcb28 instanceof ArrayBuffer?_0x3674d8=new _0x187b2a(_0xbcb28):ArrayBuffer['isView'](_0xbcb28)?_0x3674d8=new _0x187b2a(_0xbcb28['buffer'],_0xbcb28[_0x3a9d25(0x16b)],_0xbcb28[_0x3a9d25(0x2b1)]):(_0x3674d8=Buffer['from'](_0xbcb28),_0x5093d4['readOnly']=!0x1),_0x3674d8;}if(te[_0x2da5aa(0x175)]={'concat':_0x480452,'mask':_0x596492,'toArrayBuffer':_0x41106d,'toBuffer':_0x5093d4,'unmask':_0x43bd42},!process[_0x2da5aa(0x1d3)][_0x2da5aa(0x2b9)])try{const _0xa4e852=Vt;te[_0x2da5aa(0x175)][_0x2da5aa(0x1e0)]=function(_0x42d9b5,_0x40506c,_0x28432a,_0x4ea7b8,_0x45ef6e){const _0x15dd9a=_0x2da5aa;_0x45ef6e<0x30?_0x596492(_0x42d9b5,_0x40506c,_0x28432a,_0x4ea7b8,_0x45ef6e):_0xa4e852[_0x15dd9a(0x1e0)](_0x42d9b5,_0x40506c,_0x28432a,_0x4ea7b8,_0x45ef6e);},te[_0x2da5aa(0x175)]['unmask']=function(_0x3fbdb2,_0x3e9174){const _0x4174d9=_0x2da5aa;_0x3fbdb2['length']<0x20?_0x43bd42(_0x3fbdb2,_0x3e9174):_0xa4e852[_0x4174d9(0x261)](_0x3fbdb2,_0x3e9174);};}catch{}return te[_0x2da5aa(0x175)];}var ye,Xe;function qt(){const _0x137cfc=_0x35e7b2;if(Xe)return ye;Xe=0x1;const _0x5e3320=Symbol('kDone'),_0x1a5a46=Symbol(_0x137cfc(0x279));class _0x3885ce{constructor(_0x3d2d23){const _0x433a23=_0x137cfc;this[_0x5e3320]=()=>{const _0x499cf3=_0x952a;this[_0x499cf3(0x156)]--,this[_0x1a5a46]();},this[_0x433a23(0x2aa)]=_0x3d2d23||0x1/0x0,this[_0x433a23(0x1f2)]=[],this[_0x433a23(0x156)]=0x0;}[_0x137cfc(0x14c)](_0x5272bf){const _0x1737b6=_0x137cfc;this[_0x1737b6(0x1f2)][_0x1737b6(0x174)](_0x5272bf),this[_0x1a5a46]();}[_0x1a5a46](){const _0x2e1230=_0x137cfc;if(this[_0x2e1230(0x156)]!==this[_0x2e1230(0x2aa)]&&this[_0x2e1230(0x1f2)][_0x2e1230(0x29f)]){const _0x13880d=this[_0x2e1230(0x1f2)][_0x2e1230(0x1f3)]();this[_0x2e1230(0x156)]++,_0x13880d(this[_0x5e3320]);}}}return ye=_0x3885ce,ye;}var ve,Ze;function he(){const _0x3c3684=_0x35e7b2;if(Ze)return ve;Ze=0x1;const _0x169c8e=_0x37603b,_0x34eb0d=ce(),_0x2b2c93=qt(),{kStatusCode:_0x310179}=V(),_0x107122=Buffer[Symbol[_0x3c3684(0x229)]],_0x514b7a=Buffer[_0x3c3684(0x282)]([0x0,0x0,0xff,0xff]),_0x4b57ee=Symbol('permessage-deflate'),_0x5c054c=Symbol(_0x3c3684(0x28f)),_0x3161bc=Symbol('callback'),_0x57b59f=Symbol(_0x3c3684(0x17e)),_0x31a3f7=Symbol(_0x3c3684(0x272));let _0x1f6d96;class _0x3fada4{constructor(_0xdeba41,_0x3ddee2,_0x36119e){const _0x1fe7fc=_0x3c3684;if(this[_0x1fe7fc(0x1c9)]=_0x36119e|0x0,this[_0x1fe7fc(0x13e)]=_0xdeba41||{},this[_0x1fe7fc(0x20e)]=this[_0x1fe7fc(0x13e)]['threshold']!==void 0x0?this[_0x1fe7fc(0x13e)][_0x1fe7fc(0x2ba)]:0x400,this['_isServer']=!!_0x3ddee2,this[_0x1fe7fc(0x270)]=null,this[_0x1fe7fc(0x2c6)]=null,this[_0x1fe7fc(0x213)]=null,!_0x1f6d96){const _0x8bd3d7=this[_0x1fe7fc(0x13e)][_0x1fe7fc(0x166)]!==void 0x0?this['_options'][_0x1fe7fc(0x166)]:0xa;_0x1f6d96=new _0x2b2c93(_0x8bd3d7);}}static get[_0x3c3684(0x2a4)](){return'permessage-deflate';}[_0x3c3684(0x1b3)](){const _0x4cd833=_0x3c3684,_0x164106={};return this['_options']['serverNoContextTakeover']&&(_0x164106[_0x4cd833(0x223)]=!0x0),this[_0x4cd833(0x13e)][_0x4cd833(0x130)]&&(_0x164106[_0x4cd833(0x1b5)]=!0x0),this[_0x4cd833(0x13e)][_0x4cd833(0x212)]&&(_0x164106[_0x4cd833(0x260)]=this[_0x4cd833(0x13e)][_0x4cd833(0x212)]),this[_0x4cd833(0x13e)][_0x4cd833(0x27e)]?_0x164106['client_max_window_bits']=this[_0x4cd833(0x13e)][_0x4cd833(0x27e)]:this[_0x4cd833(0x13e)]['clientMaxWindowBits']==null&&(_0x164106['client_max_window_bits']=!0x0),_0x164106;}['accept'](_0x77741d){const _0x24cbb0=_0x3c3684;return _0x77741d=this[_0x24cbb0(0x26b)](_0x77741d),this[_0x24cbb0(0x213)]=this[_0x24cbb0(0x170)]?this[_0x24cbb0(0x1d2)](_0x77741d):this[_0x24cbb0(0x263)](_0x77741d),this[_0x24cbb0(0x213)];}[_0x3c3684(0x191)](){const _0x4fa051=_0x3c3684;if(this[_0x4fa051(0x2c6)]&&(this[_0x4fa051(0x2c6)][_0x4fa051(0x1ed)](),this[_0x4fa051(0x2c6)]=null),this[_0x4fa051(0x270)]){const _0x181361=this[_0x4fa051(0x270)][_0x3161bc];this['_deflate'][_0x4fa051(0x1ed)](),this[_0x4fa051(0x270)]=null,_0x181361&&_0x181361(new Error(_0x4fa051(0x2a2)));}}['acceptAsServer'](_0x53a1f2){const _0x27495c=_0x3c3684,_0x26a90a=this[_0x27495c(0x13e)],_0x5ac80b=_0x53a1f2[_0x27495c(0x182)](_0x5f1163=>!(_0x26a90a[_0x27495c(0x2c0)]===!0x1&&_0x5f1163[_0x27495c(0x223)]||_0x5f1163['server_max_window_bits']&&(_0x26a90a[_0x27495c(0x212)]===!0x1||typeof _0x26a90a[_0x27495c(0x212)]==_0x27495c(0x2db)&&_0x26a90a['serverMaxWindowBits']>_0x5f1163[_0x27495c(0x260)])||typeof _0x26a90a[_0x27495c(0x27e)]==_0x27495c(0x2db)&&!_0x5f1163['client_max_window_bits']));if(!_0x5ac80b)throw new Error(_0x27495c(0x202));return _0x26a90a[_0x27495c(0x2c0)]&&(_0x5ac80b[_0x27495c(0x223)]=!0x0),_0x26a90a[_0x27495c(0x130)]&&(_0x5ac80b['client_no_context_takeover']=!0x0),typeof _0x26a90a[_0x27495c(0x212)]==_0x27495c(0x2db)&&(_0x5ac80b[_0x27495c(0x260)]=_0x26a90a[_0x27495c(0x212)]),typeof _0x26a90a[_0x27495c(0x27e)]==_0x27495c(0x2db)?_0x5ac80b['client_max_window_bits']=_0x26a90a[_0x27495c(0x27e)]:(_0x5ac80b[_0x27495c(0x1f5)]===!0x0||_0x26a90a[_0x27495c(0x27e)]===!0x1)&&delete _0x5ac80b['client_max_window_bits'],_0x5ac80b;}[_0x3c3684(0x263)](_0x4b531a){const _0x29eaa6=_0x3c3684,_0x234333=_0x4b531a[0x0];if(this[_0x29eaa6(0x13e)]['clientNoContextTakeover']===!0x1&&_0x234333[_0x29eaa6(0x1b5)])throw new Error(_0x29eaa6(0x288));if(!_0x234333[_0x29eaa6(0x1f5)])typeof this[_0x29eaa6(0x13e)][_0x29eaa6(0x27e)]==_0x29eaa6(0x2db)&&(_0x234333['client_max_window_bits']=this[_0x29eaa6(0x13e)][_0x29eaa6(0x27e)]);else{if(this[_0x29eaa6(0x13e)][_0x29eaa6(0x27e)]===!0x1||typeof this[_0x29eaa6(0x13e)][_0x29eaa6(0x27e)]==_0x29eaa6(0x2db)&&_0x234333[_0x29eaa6(0x1f5)]>this['_options'][_0x29eaa6(0x27e)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x234333;}[_0x3c3684(0x26b)](_0x1bcbb6){const _0x34daca=_0x3c3684;return _0x1bcbb6[_0x34daca(0x195)](_0x1efa7a=>{const _0x133552=_0x34daca;Object[_0x133552(0x14d)](_0x1efa7a)[_0x133552(0x195)](_0x61f223=>{const _0x1cdabc=_0x133552;let _0x501743=_0x1efa7a[_0x61f223];if(_0x501743['length']>0x1)throw new Error('Parameter\x20\x22'+_0x61f223+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x501743=_0x501743[0x0],_0x61f223==='client_max_window_bits'){if(_0x501743!==!0x0){const _0x3c56b6=+_0x501743;if(!Number[_0x1cdabc(0x1e2)](_0x3c56b6)||_0x3c56b6<0x8||_0x3c56b6>0xf)throw new TypeError(_0x1cdabc(0x277)+_0x61f223+_0x1cdabc(0x21d)+_0x501743);_0x501743=_0x3c56b6;}else{if(!this[_0x1cdabc(0x170)])throw new TypeError(_0x1cdabc(0x277)+_0x61f223+_0x1cdabc(0x21d)+_0x501743);}}else{if(_0x61f223===_0x1cdabc(0x260)){const _0x1407cd=+_0x501743;if(!Number[_0x1cdabc(0x1e2)](_0x1407cd)||_0x1407cd<0x8||_0x1407cd>0xf)throw new TypeError(_0x1cdabc(0x277)+_0x61f223+'\x22:\x20'+_0x501743);_0x501743=_0x1407cd;}else{if(_0x61f223===_0x1cdabc(0x1b5)||_0x61f223==='server_no_context_takeover'){if(_0x501743!==!0x0)throw new TypeError(_0x1cdabc(0x277)+_0x61f223+_0x1cdabc(0x21d)+_0x501743);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x61f223+'\x22');}}_0x1efa7a[_0x61f223]=_0x501743;});}),_0x1bcbb6;}['decompress'](_0x42f05d,_0x5e92e7,_0x4169a2){const _0x324065=_0x3c3684;_0x1f6d96[_0x324065(0x14c)](_0x4bde54=>{const _0x2161e8=_0x324065;this[_0x2161e8(0x296)](_0x42f05d,_0x5e92e7,(_0xa79e27,_0x23db1d)=>{_0x4bde54(),_0x4169a2(_0xa79e27,_0x23db1d);});});}[_0x3c3684(0x231)](_0xbbfb7d,_0x2001bc,_0x310f24){const _0x1f5455=_0x3c3684;_0x1f6d96[_0x1f5455(0x14c)](_0x532720=>{const _0x36c025=_0x1f5455;this[_0x36c025(0x220)](_0xbbfb7d,_0x2001bc,(_0x119368,_0x2fa780)=>{_0x532720(),_0x310f24(_0x119368,_0x2fa780);});});}[_0x3c3684(0x296)](_0x51270b,_0x5d09a9,_0x13f4bf){const _0x58a253=_0x3c3684,_0x3b69f5=this['_isServer']?_0x58a253(0x1e4):_0x58a253(0x134);if(!this[_0x58a253(0x2c6)]){const _0x42d8d4=_0x3b69f5+_0x58a253(0x145),_0x297ff5=typeof this[_0x58a253(0x213)][_0x42d8d4]!=_0x58a253(0x2db)?_0x169c8e['Z_DEFAULT_WINDOWBITS']:this[_0x58a253(0x213)][_0x42d8d4];this[_0x58a253(0x2c6)]=_0x169c8e[_0x58a253(0x17d)]({...this[_0x58a253(0x13e)]['zlibInflateOptions'],'windowBits':_0x297ff5}),this[_0x58a253(0x2c6)][_0x4b57ee]=this,this['_inflate'][_0x5c054c]=0x0,this[_0x58a253(0x2c6)][_0x57b59f]=[],this[_0x58a253(0x2c6)]['on'](_0x58a253(0x272),_0x87d4f9),this[_0x58a253(0x2c6)]['on'](_0x58a253(0x198),_0xd4c4ed);}this[_0x58a253(0x2c6)][_0x3161bc]=_0x13f4bf,this['_inflate'][_0x58a253(0x267)](_0x51270b),_0x5d09a9&&this[_0x58a253(0x2c6)]['write'](_0x514b7a),this[_0x58a253(0x2c6)]['flush'](()=>{const _0x27de87=_0x58a253,_0x52f079=this[_0x27de87(0x2c6)][_0x31a3f7];if(_0x52f079){this[_0x27de87(0x2c6)]['close'](),this[_0x27de87(0x2c6)]=null,_0x13f4bf(_0x52f079);return;}const _0x3f70fe=_0x34eb0d[_0x27de87(0x2c9)](this[_0x27de87(0x2c6)][_0x57b59f],this['_inflate'][_0x5c054c]);this['_inflate'][_0x27de87(0x146)][_0x27de87(0x1f6)]?(this[_0x27de87(0x2c6)][_0x27de87(0x1ed)](),this[_0x27de87(0x2c6)]=null):(this['_inflate'][_0x5c054c]=0x0,this[_0x27de87(0x2c6)][_0x57b59f]=[],_0x5d09a9&&this[_0x27de87(0x213)][_0x3b69f5+_0x27de87(0x2b8)]&&this['_inflate'][_0x27de87(0x2c1)]()),_0x13f4bf(null,_0x3f70fe);});}[_0x3c3684(0x220)](_0x4995fa,_0x14bfcf,_0x1aea35){const _0x4e091c=_0x3c3684,_0x3eacd3=this[_0x4e091c(0x170)]?_0x4e091c(0x134):_0x4e091c(0x1e4);if(!this[_0x4e091c(0x270)]){const _0x29d266=_0x3eacd3+_0x4e091c(0x145),_0x5b3b9c=typeof this[_0x4e091c(0x213)][_0x29d266]!=_0x4e091c(0x2db)?_0x169c8e[_0x4e091c(0x215)]:this[_0x4e091c(0x213)][_0x29d266];this[_0x4e091c(0x270)]=_0x169c8e[_0x4e091c(0x1e5)]({...this[_0x4e091c(0x13e)]['zlibDeflateOptions'],'windowBits':_0x5b3b9c}),this[_0x4e091c(0x270)][_0x5c054c]=0x0,this[_0x4e091c(0x270)][_0x57b59f]=[],this['_deflate']['on']('data',_0x19ef7a);}this['_deflate'][_0x3161bc]=_0x1aea35,this['_deflate'][_0x4e091c(0x267)](_0x4995fa),this['_deflate'][_0x4e091c(0x230)](_0x169c8e[_0x4e091c(0x22d)],()=>{const _0x349084=_0x4e091c;if(!this[_0x349084(0x270)])return;let _0x31ac1e=_0x34eb0d[_0x349084(0x2c9)](this[_0x349084(0x270)][_0x57b59f],this[_0x349084(0x270)][_0x5c054c]);_0x14bfcf&&(_0x31ac1e=new _0x107122(_0x31ac1e['buffer'],_0x31ac1e['byteOffset'],_0x31ac1e[_0x349084(0x29f)]-0x4)),this[_0x349084(0x270)][_0x3161bc]=null,this[_0x349084(0x270)][_0x5c054c]=0x0,this['_deflate'][_0x57b59f]=[],_0x14bfcf&&this[_0x349084(0x213)][_0x3eacd3+_0x349084(0x2b8)]&&this[_0x349084(0x270)]['reset'](),_0x1aea35(null,_0x31ac1e);});}}ve=_0x3fada4;function _0x19ef7a(_0x39e723){const _0x542bff=_0x3c3684;this[_0x57b59f][_0x542bff(0x174)](_0x39e723),this[_0x5c054c]+=_0x39e723[_0x542bff(0x29f)];}function _0xd4c4ed(_0x4c452a){const _0x557c14=_0x3c3684;if(this[_0x5c054c]+=_0x4c452a[_0x557c14(0x29f)],this[_0x4b57ee][_0x557c14(0x1c9)]<0x1||this[_0x5c054c]<=this[_0x4b57ee][_0x557c14(0x1c9)]){this[_0x57b59f][_0x557c14(0x174)](_0x4c452a);return;}this[_0x31a3f7]=new RangeError(_0x557c14(0x19d)),this[_0x31a3f7][_0x557c14(0x291)]=_0x557c14(0x161),this[_0x31a3f7][_0x310179]=0x3f1,this['removeListener']('data',_0xd4c4ed),this[_0x557c14(0x2c1)]();}function _0x87d4f9(_0x357796){const _0x317df3=_0x3c3684;if(this[_0x4b57ee][_0x317df3(0x2c6)]=null,this[_0x31a3f7]){this[_0x3161bc](this[_0x31a3f7]);return;}_0x357796[_0x310179]=0x3ef,this[_0x3161bc](_0x357796);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x35e7b2(0x163)](Object[_0x35e7b2(0x157)]({'__proto__':null,'default':Ht},Symbol[_0x35e7b2(0x1ab)],{'value':_0x35e7b2(0x159)})),Yt=ut(zt);var Qe;function ne(){const _0x4faa97=_0x35e7b2;if(Qe)return re[_0x4faa97(0x175)];Qe=0x1;const {isUtf8:_0x12238e}=_0x4750c8,{hasBlob:_0x14d7db}=V(),_0x33e78a=[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 _0x3166db(_0x115903){return _0x115903>=0x3e8&&_0x115903<=0x3f6&&_0x115903!==0x3ec&&_0x115903!==0x3ed&&_0x115903!==0x3ee||_0x115903>=0xbb8&&_0x115903<=0x1387;}function _0x2baf34(_0x510837){const _0x301a64=_0x510837['length'];let _0x38e0ba=0x0;for(;_0x38e0ba<_0x301a64;)if((_0x510837[_0x38e0ba]&0x80)===0x0)_0x38e0ba++;else{if((_0x510837[_0x38e0ba]&0xe0)===0xc0){if(_0x38e0ba+0x1===_0x301a64||(_0x510837[_0x38e0ba+0x1]&0xc0)!==0x80||(_0x510837[_0x38e0ba]&0xfe)===0xc0)return!0x1;_0x38e0ba+=0x2;}else{if((_0x510837[_0x38e0ba]&0xf0)===0xe0){if(_0x38e0ba+0x2>=_0x301a64||(_0x510837[_0x38e0ba+0x1]&0xc0)!==0x80||(_0x510837[_0x38e0ba+0x2]&0xc0)!==0x80||_0x510837[_0x38e0ba]===0xe0&&(_0x510837[_0x38e0ba+0x1]&0xe0)===0x80||_0x510837[_0x38e0ba]===0xed&&(_0x510837[_0x38e0ba+0x1]&0xe0)===0xa0)return!0x1;_0x38e0ba+=0x3;}else{if((_0x510837[_0x38e0ba]&0xf8)===0xf0){if(_0x38e0ba+0x3>=_0x301a64||(_0x510837[_0x38e0ba+0x1]&0xc0)!==0x80||(_0x510837[_0x38e0ba+0x2]&0xc0)!==0x80||(_0x510837[_0x38e0ba+0x3]&0xc0)!==0x80||_0x510837[_0x38e0ba]===0xf0&&(_0x510837[_0x38e0ba+0x1]&0xf0)===0x80||_0x510837[_0x38e0ba]===0xf4&&_0x510837[_0x38e0ba+0x1]>0x8f||_0x510837[_0x38e0ba]>0xf4)return!0x1;_0x38e0ba+=0x4;}else return!0x1;}}}return!0x0;}function _0x48fd68(_0x111f27){const _0xfc26f0=_0x4faa97;return _0x14d7db&&typeof _0x111f27=='object'&&typeof _0x111f27[_0xfc26f0(0x2cf)]=='function'&&typeof _0x111f27[_0xfc26f0(0x2bf)]==_0xfc26f0(0x142)&&typeof _0x111f27[_0xfc26f0(0x194)]==_0xfc26f0(0x1ac)&&(_0x111f27[Symbol[_0xfc26f0(0x1ab)]]===_0xfc26f0(0x1d5)||_0x111f27[Symbol['toStringTag']]==='File');}if(re['exports']={'isBlob':_0x48fd68,'isValidStatusCode':_0x3166db,'isValidUTF8':_0x2baf34,'tokenChars':_0x33e78a},_0x12238e)re[_0x4faa97(0x175)][_0x4faa97(0x292)]=function(_0x4c84c1){const _0xed97b4=_0x4faa97;return _0x4c84c1[_0xed97b4(0x29f)]<0x18?_0x2baf34(_0x4c84c1):_0x12238e(_0x4c84c1);};else{if(!process['env'][_0x4faa97(0x271)])try{const _0x5400d9=Yt;re['exports'][_0x4faa97(0x292)]=function(_0x19bee8){const _0xb0298b=_0x4faa97;return _0x19bee8[_0xb0298b(0x29f)]<0x20?_0x2baf34(_0x19bee8):_0x5400d9(_0x19bee8);};}catch{}}return re[_0x4faa97(0x175)];}var Se,Je;function dt(){const _0x34b234=_0x35e7b2;if(Je)return Se;Je=0x1;const {Writable:_0x4c5de2}=_0xbe99a9,_0x2062a3=he(),{BINARY_TYPES:_0x48e56f,EMPTY_BUFFER:_0xa463bd,kStatusCode:_0xef1715,kWebSocket:_0x4d9f1c}=V(),{concat:_0x40eaf6,toArrayBuffer:_0x2d6fde,unmask:_0x1c75e7}=ce(),{isValidStatusCode:_0x2c9494,isValidUTF8:_0x14a5b0}=ne(),_0x4b3179=Buffer[Symbol[_0x34b234(0x229)]],_0x2504c1=0x0,_0x11ae10=0x1,_0x1504e1=0x2,_0x4916b4=0x3,_0x43741b=0x4,_0x1aecdf=0x5,_0x5d55e5=0x6;class _0x2bc53f extends _0x4c5de2{constructor(_0x4a51fa={}){const _0xb44de5=_0x34b234;super(),this['_allowSynchronousEvents']=_0x4a51fa[_0xb44de5(0x1fa)]!==void 0x0?_0x4a51fa[_0xb44de5(0x1fa)]:!0x0,this[_0xb44de5(0x1c1)]=_0x4a51fa[_0xb44de5(0x266)]||_0x48e56f[0x0],this['_extensions']=_0x4a51fa[_0xb44de5(0x2bd)]||{},this[_0xb44de5(0x170)]=!!_0x4a51fa[_0xb44de5(0x1d6)],this[_0xb44de5(0x1c9)]=_0x4a51fa[_0xb44de5(0x1b8)]|0x0,this[_0xb44de5(0x1de)]=!!_0x4a51fa['skipUTF8Validation'],this[_0x4d9f1c]=void 0x0,this[_0xb44de5(0x25d)]=0x0,this[_0xb44de5(0x1a3)]=[],this[_0xb44de5(0x1d4)]=!0x1,this[_0xb44de5(0x1aa)]=0x0,this['_mask']=void 0x0,this[_0xb44de5(0x257)]=0x0,this[_0xb44de5(0x1c3)]=!0x1,this[_0xb44de5(0x226)]=!0x1,this[_0xb44de5(0x250)]=0x0,this[_0xb44de5(0x1cf)]=0x0,this[_0xb44de5(0x29b)]=0x0,this[_0xb44de5(0x20b)]=[],this[_0xb44de5(0x12c)]=!0x1,this[_0xb44de5(0x1c0)]=!0x1,this[_0xb44de5(0x265)]=_0x2504c1;}[_0x34b234(0x19c)](_0xa21bf,_0x38d6f0,_0x34ac7f){const _0x1aacd9=_0x34b234;if(this[_0x1aacd9(0x250)]===0x8&&this['_state']==_0x2504c1)return _0x34ac7f();this[_0x1aacd9(0x25d)]+=_0xa21bf['length'],this[_0x1aacd9(0x1a3)][_0x1aacd9(0x174)](_0xa21bf),this[_0x1aacd9(0x24b)](_0x34ac7f);}['consume'](_0x5e1812){const _0x47c533=_0x34b234;if(this['_bufferedBytes']-=_0x5e1812,_0x5e1812===this[_0x47c533(0x1a3)][0x0]['length'])return this[_0x47c533(0x1a3)]['shift']();if(_0x5e1812<this[_0x47c533(0x1a3)][0x0][_0x47c533(0x29f)]){const _0x5c6a3c=this[_0x47c533(0x1a3)][0x0];return this[_0x47c533(0x1a3)][0x0]=new _0x4b3179(_0x5c6a3c['buffer'],_0x5c6a3c[_0x47c533(0x16b)]+_0x5e1812,_0x5c6a3c[_0x47c533(0x29f)]-_0x5e1812),new _0x4b3179(_0x5c6a3c[_0x47c533(0x1f7)],_0x5c6a3c[_0x47c533(0x16b)],_0x5e1812);}const _0x32088f=Buffer[_0x47c533(0x235)](_0x5e1812);do{const _0x5bd8c7=this[_0x47c533(0x1a3)][0x0],_0x2ff21a=_0x32088f[_0x47c533(0x29f)]-_0x5e1812;_0x5e1812>=_0x5bd8c7[_0x47c533(0x29f)]?_0x32088f[_0x47c533(0x2ab)](this[_0x47c533(0x1a3)]['shift'](),_0x2ff21a):(_0x32088f[_0x47c533(0x2ab)](new Uint8Array(_0x5bd8c7[_0x47c533(0x1f7)],_0x5bd8c7[_0x47c533(0x16b)],_0x5e1812),_0x2ff21a),this[_0x47c533(0x1a3)][0x0]=new _0x4b3179(_0x5bd8c7[_0x47c533(0x1f7)],_0x5bd8c7[_0x47c533(0x16b)]+_0x5e1812,_0x5bd8c7[_0x47c533(0x29f)]-_0x5e1812)),_0x5e1812-=_0x5bd8c7[_0x47c533(0x29f)];}while(_0x5e1812>0x0);return _0x32088f;}[_0x34b234(0x24b)](_0x5754dc){const _0x62223d=_0x34b234;this[_0x62223d(0x1c0)]=!0x0;do switch(this[_0x62223d(0x265)]){case _0x2504c1:this[_0x62223d(0x2d7)](_0x5754dc);break;case _0x11ae10:this[_0x62223d(0x299)](_0x5754dc);break;case _0x1504e1:this[_0x62223d(0x1bc)](_0x5754dc);break;case _0x4916b4:this[_0x62223d(0x1d7)]();break;case _0x43741b:this['getData'](_0x5754dc);break;case _0x1aecdf:case _0x5d55e5:this[_0x62223d(0x1c0)]=!0x1;return;}while(this[_0x62223d(0x1c0)]);this['_errored']||_0x5754dc();}[_0x34b234(0x2d7)](_0x3e5ef5){const _0x204b03=_0x34b234;if(this[_0x204b03(0x25d)]<0x2){this['_loop']=!0x1;return;}const _0x21f288=this[_0x204b03(0x1e7)](0x2);if((_0x21f288[0x0]&0x30)!==0x0){const _0x81f0dc=this[_0x204b03(0x224)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x204b03(0x204));_0x3e5ef5(_0x81f0dc);return;}const _0x229ae9=(_0x21f288[0x0]&0x40)===0x40;if(_0x229ae9&&!this[_0x204b03(0x25e)][_0x2062a3[_0x204b03(0x2a4)]]){const _0x337ff2=this[_0x204b03(0x224)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x204b03(0x217));_0x3e5ef5(_0x337ff2);return;}if(this['_fin']=(_0x21f288[0x0]&0x80)===0x80,this[_0x204b03(0x250)]=_0x21f288[0x0]&0xf,this[_0x204b03(0x1aa)]=_0x21f288[0x1]&0x7f,this[_0x204b03(0x250)]===0x0){if(_0x229ae9){const _0x2a2dc4=this[_0x204b03(0x224)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x204b03(0x217));_0x3e5ef5(_0x2a2dc4);return;}if(!this[_0x204b03(0x257)]){const _0x3813d2=this[_0x204b03(0x224)](RangeError,_0x204b03(0x1bd),!0x0,0x3ea,_0x204b03(0x273));_0x3e5ef5(_0x3813d2);return;}this['_opcode']=this[_0x204b03(0x257)];}else{if(this['_opcode']===0x1||this[_0x204b03(0x250)]===0x2){if(this[_0x204b03(0x257)]){const _0x233268=this['createError'](RangeError,_0x204b03(0x1cb)+this[_0x204b03(0x250)],!0x0,0x3ea,_0x204b03(0x273));_0x3e5ef5(_0x233268);return;}this[_0x204b03(0x1d4)]=_0x229ae9;}else{if(this[_0x204b03(0x250)]>0x7&&this[_0x204b03(0x250)]<0xb){if(!this[_0x204b03(0x226)]){const _0xa01e17=this['createError'](RangeError,_0x204b03(0x269),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3e5ef5(_0xa01e17);return;}if(_0x229ae9){const _0x2ef6f0=this[_0x204b03(0x224)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x204b03(0x217));_0x3e5ef5(_0x2ef6f0);return;}if(this[_0x204b03(0x1aa)]>0x7d||this[_0x204b03(0x250)]===0x8&&this['_payloadLength']===0x1){const _0x4e4552=this['createError'](RangeError,_0x204b03(0x2ca)+this[_0x204b03(0x1aa)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3e5ef5(_0x4e4552);return;}}else{const _0x31f64f=this[_0x204b03(0x224)](RangeError,_0x204b03(0x1cb)+this[_0x204b03(0x250)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3e5ef5(_0x31f64f);return;}}}if(!this[_0x204b03(0x226)]&&!this[_0x204b03(0x257)]&&(this[_0x204b03(0x257)]=this[_0x204b03(0x250)]),this[_0x204b03(0x1c3)]=(_0x21f288[0x1]&0x80)===0x80,this[_0x204b03(0x170)]){if(!this['_masked']){const _0x4c704d=this[_0x204b03(0x224)](RangeError,_0x204b03(0x21b),!0x0,0x3ea,_0x204b03(0x1da));_0x3e5ef5(_0x4c704d);return;}}else{if(this[_0x204b03(0x1c3)]){const _0x54f1d6=this[_0x204b03(0x224)](RangeError,_0x204b03(0x13f),!0x0,0x3ea,_0x204b03(0x181));_0x3e5ef5(_0x54f1d6);return;}}this[_0x204b03(0x1aa)]===0x7e?this[_0x204b03(0x265)]=_0x11ae10:this[_0x204b03(0x1aa)]===0x7f?this['_state']=_0x1504e1:this['haveLength'](_0x3e5ef5);}['getPayloadLength16'](_0x5e7025){const _0x477e59=_0x34b234;if(this[_0x477e59(0x25d)]<0x2){this[_0x477e59(0x1c0)]=!0x1;return;}this[_0x477e59(0x1aa)]=this[_0x477e59(0x1e7)](0x2)['readUInt16BE'](0x0),this[_0x477e59(0x1b7)](_0x5e7025);}['getPayloadLength64'](_0x34bed3){const _0x5f0596=_0x34b234;if(this['_bufferedBytes']<0x8){this[_0x5f0596(0x1c0)]=!0x1;return;}const _0x2aa5c7=this[_0x5f0596(0x1e7)](0x8),_0x8ef5d1=_0x2aa5c7['readUInt32BE'](0x0);if(_0x8ef5d1>Math[_0x5f0596(0x237)](0x2,0x15)-0x1){const _0x4f4426=this[_0x5f0596(0x224)](RangeError,_0x5f0596(0x1cd),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x34bed3(_0x4f4426);return;}this['_payloadLength']=_0x8ef5d1*Math['pow'](0x2,0x20)+_0x2aa5c7[_0x5f0596(0x131)](0x4),this[_0x5f0596(0x1b7)](_0x34bed3);}[_0x34b234(0x1b7)](_0x1f23e4){const _0x29d89a=_0x34b234;if(this[_0x29d89a(0x1aa)]&&this[_0x29d89a(0x250)]<0x8&&(this[_0x29d89a(0x1cf)]+=this[_0x29d89a(0x1aa)],this['_totalPayloadLength']>this[_0x29d89a(0x1c9)]&&this['_maxPayload']>0x0)){const _0x3d9420=this[_0x29d89a(0x224)](RangeError,_0x29d89a(0x19d),!0x1,0x3f1,_0x29d89a(0x161));_0x1f23e4(_0x3d9420);return;}this['_masked']?this[_0x29d89a(0x265)]=_0x4916b4:this['_state']=_0x43741b;}[_0x34b234(0x1d7)](){const _0x10a502=_0x34b234;if(this[_0x10a502(0x25d)]<0x4){this[_0x10a502(0x1c0)]=!0x1;return;}this[_0x10a502(0x294)]=this[_0x10a502(0x1e7)](0x4),this[_0x10a502(0x265)]=_0x43741b;}['getData'](_0x431b83){const _0x1c4446=_0x34b234;let _0x9c1624=_0xa463bd;if(this[_0x1c4446(0x1aa)]){if(this['_bufferedBytes']<this[_0x1c4446(0x1aa)]){this['_loop']=!0x1;return;}_0x9c1624=this[_0x1c4446(0x1e7)](this['_payloadLength']),this[_0x1c4446(0x1c3)]&&(this[_0x1c4446(0x294)][0x0]|this[_0x1c4446(0x294)][0x1]|this[_0x1c4446(0x294)][0x2]|this[_0x1c4446(0x294)][0x3])!==0x0&&_0x1c75e7(_0x9c1624,this[_0x1c4446(0x294)]);}if(this[_0x1c4446(0x250)]>0x7){this[_0x1c4446(0x1dc)](_0x9c1624,_0x431b83);return;}if(this[_0x1c4446(0x1d4)]){this[_0x1c4446(0x265)]=_0x1aecdf,this[_0x1c4446(0x13d)](_0x9c1624,_0x431b83);return;}_0x9c1624[_0x1c4446(0x29f)]&&(this[_0x1c4446(0x29b)]=this[_0x1c4446(0x1cf)],this[_0x1c4446(0x20b)][_0x1c4446(0x174)](_0x9c1624)),this[_0x1c4446(0x19f)](_0x431b83);}[_0x34b234(0x13d)](_0x22041d,_0x28d2ba){const _0x9884c2=_0x34b234;this['_extensions'][_0x2062a3[_0x9884c2(0x2a4)]][_0x9884c2(0x13d)](_0x22041d,this[_0x9884c2(0x226)],(_0x353690,_0x59f9fd)=>{const _0xf1828=_0x9884c2;if(_0x353690)return _0x28d2ba(_0x353690);if(_0x59f9fd[_0xf1828(0x29f)]){if(this[_0xf1828(0x29b)]+=_0x59f9fd[_0xf1828(0x29f)],this[_0xf1828(0x29b)]>this[_0xf1828(0x1c9)]&&this[_0xf1828(0x1c9)]>0x0){const _0x3cc16f=this[_0xf1828(0x224)](RangeError,_0xf1828(0x19d),!0x1,0x3f1,_0xf1828(0x161));_0x28d2ba(_0x3cc16f);return;}this[_0xf1828(0x20b)]['push'](_0x59f9fd);}this[_0xf1828(0x19f)](_0x28d2ba),this['_state']===_0x2504c1&&this['startLoop'](_0x28d2ba);});}[_0x34b234(0x19f)](_0x4e6e6d){const _0x2991eb=_0x34b234;if(!this['_fin']){this[_0x2991eb(0x265)]=_0x2504c1;return;}const _0x24acff=this[_0x2991eb(0x29b)],_0x4d0f4b=this[_0x2991eb(0x20b)];if(this[_0x2991eb(0x1cf)]=0x0,this['_messageLength']=0x0,this[_0x2991eb(0x257)]=0x0,this[_0x2991eb(0x20b)]=[],this[_0x2991eb(0x250)]===0x2){let _0x482639;this[_0x2991eb(0x1c1)]===_0x2991eb(0x1c5)?_0x482639=_0x40eaf6(_0x4d0f4b,_0x24acff):this[_0x2991eb(0x1c1)]==='arraybuffer'?_0x482639=_0x2d6fde(_0x40eaf6(_0x4d0f4b,_0x24acff)):this[_0x2991eb(0x1c1)]===_0x2991eb(0x25a)?_0x482639=new Blob(_0x4d0f4b):_0x482639=_0x4d0f4b,this[_0x2991eb(0x2a8)]?(this[_0x2991eb(0x2d2)](_0x2991eb(0x1fd),_0x482639,!0x0),this[_0x2991eb(0x265)]=_0x2504c1):(this[_0x2991eb(0x265)]=_0x5d55e5,setImmediate(()=>{const _0x4f5528=_0x2991eb;this[_0x4f5528(0x2d2)](_0x4f5528(0x1fd),_0x482639,!0x0),this['_state']=_0x2504c1,this[_0x4f5528(0x24b)](_0x4e6e6d);}));}else{const _0x4d6d3e=_0x40eaf6(_0x4d0f4b,_0x24acff);if(!this[_0x2991eb(0x1de)]&&!_0x14a5b0(_0x4d6d3e)){const _0x45880c=this[_0x2991eb(0x224)](Error,_0x2991eb(0x1a5),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4e6e6d(_0x45880c);return;}this['_state']===_0x1aecdf||this[_0x2991eb(0x2a8)]?(this['emit']('message',_0x4d6d3e,!0x1),this['_state']=_0x2504c1):(this[_0x2991eb(0x265)]=_0x5d55e5,setImmediate(()=>{const _0x5c49e0=_0x2991eb;this[_0x5c49e0(0x2d2)]('message',_0x4d6d3e,!0x1),this[_0x5c49e0(0x265)]=_0x2504c1,this[_0x5c49e0(0x24b)](_0x4e6e6d);}));}}[_0x34b234(0x1dc)](_0x32eb11,_0x4d5022){const _0x146b22=_0x34b234;if(this['_opcode']===0x8){if(_0x32eb11[_0x146b22(0x29f)]===0x0)this[_0x146b22(0x1c0)]=!0x1,this[_0x146b22(0x2d2)](_0x146b22(0x2af),0x3ed,_0xa463bd),this['end']();else{const _0x317609=_0x32eb11[_0x146b22(0x29e)](0x0);if(!_0x2c9494(_0x317609)){const _0x4e55db=this[_0x146b22(0x224)](RangeError,_0x146b22(0x196)+_0x317609,!0x0,0x3ea,_0x146b22(0x162));_0x4d5022(_0x4e55db);return;}const _0x365cb4=new _0x4b3179(_0x32eb11[_0x146b22(0x1f7)],_0x32eb11['byteOffset']+0x2,_0x32eb11['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x14a5b0(_0x365cb4)){const _0x513af6=this['createError'](Error,_0x146b22(0x1a5),!0x0,0x3ef,_0x146b22(0x144));_0x4d5022(_0x513af6);return;}this[_0x146b22(0x1c0)]=!0x1,this[_0x146b22(0x2d2)](_0x146b22(0x2af),_0x317609,_0x365cb4),this[_0x146b22(0x1b6)]();}this[_0x146b22(0x265)]=_0x2504c1;return;}this['_allowSynchronousEvents']?(this[_0x146b22(0x2d2)](this[_0x146b22(0x250)]===0x9?'ping':_0x146b22(0x1db),_0x32eb11),this[_0x146b22(0x265)]=_0x2504c1):(this[_0x146b22(0x265)]=_0x5d55e5,setImmediate(()=>{const _0xe8f918=_0x146b22;this['emit'](this[_0xe8f918(0x250)]===0x9?_0xe8f918(0x26f):_0xe8f918(0x1db),_0x32eb11),this[_0xe8f918(0x265)]=_0x2504c1,this[_0xe8f918(0x24b)](_0x4d5022);}));}[_0x34b234(0x224)](_0x137a32,_0x20f4a5,_0x486ade,_0x12f2aa,_0x357593){const _0x26d693=_0x34b234;this['_loop']=!0x1,this['_errored']=!0x0;const _0x5e7515=new _0x137a32(_0x486ade?_0x26d693(0x2a3)+_0x20f4a5:_0x20f4a5);return Error[_0x26d693(0x254)](_0x5e7515,this[_0x26d693(0x224)]),_0x5e7515[_0x26d693(0x291)]=_0x357593,_0x5e7515[_0xef1715]=_0x12f2aa,_0x5e7515;}}return Se=_0x2bc53f,Se;}var Ee,et;function _t(){const _0x371c36=_0x35e7b2;if(et)return Ee;et=0x1;const {Duplex:_0x37b99b}=_0xbe99a9,{randomFillSync:_0x48b41c}=_0x6de8f1,_0xad944a=he(),{EMPTY_BUFFER:_0x5a2e55,kWebSocket:_0x2bd121,NOOP:_0x12e2d8}=V(),{isBlob:_0x19f83f,isValidStatusCode:_0x4ab965}=ne(),{mask:_0x474aba,toBuffer:_0x19f2b6}=ce(),_0x230368=Symbol(_0x371c36(0x2d8)),_0x299e38=Buffer[_0x371c36(0x24e)](0x4),_0x148f8f=0x8*0x400;let _0x28ceaa,_0x4428f4=_0x148f8f;const _0x1550bc=0x0,_0x229cab=0x1,_0x4a95f8=0x2;class _0x4696b5{constructor(_0x16de04,_0x5dc001,_0x108f07){const _0x5906d8=_0x371c36;this['_extensions']=_0x5dc001||{},_0x108f07&&(this[_0x5906d8(0x138)]=_0x108f07,this[_0x5906d8(0x232)]=Buffer['alloc'](0x4)),this[_0x5906d8(0x178)]=_0x16de04,this['_firstFragment']=!0x0,this[_0x5906d8(0x220)]=!0x1,this[_0x5906d8(0x25d)]=0x0,this[_0x5906d8(0x171)]=[],this[_0x5906d8(0x265)]=_0x1550bc,this[_0x5906d8(0x136)]=_0x12e2d8,this[_0x2bd121]=void 0x0;}static[_0x371c36(0x155)](_0x2032fb,_0x2687c8){const _0x1fa77b=_0x371c36;let _0x440706,_0x4f0d0f=!0x1,_0x313985=0x2,_0x1c3cb7=!0x1;_0x2687c8[_0x1fa77b(0x1e0)]&&(_0x440706=_0x2687c8[_0x1fa77b(0x16c)]||_0x299e38,_0x2687c8['generateMask']?_0x2687c8[_0x1fa77b(0x1b2)](_0x440706):(_0x4428f4===_0x148f8f&&(_0x28ceaa===void 0x0&&(_0x28ceaa=Buffer[_0x1fa77b(0x24e)](_0x148f8f)),_0x48b41c(_0x28ceaa,0x0,_0x148f8f),_0x4428f4=0x0),_0x440706[0x0]=_0x28ceaa[_0x4428f4++],_0x440706[0x1]=_0x28ceaa[_0x4428f4++],_0x440706[0x2]=_0x28ceaa[_0x4428f4++],_0x440706[0x3]=_0x28ceaa[_0x4428f4++]),_0x1c3cb7=(_0x440706[0x0]|_0x440706[0x1]|_0x440706[0x2]|_0x440706[0x3])===0x0,_0x313985=0x6);let _0x3015d5;typeof _0x2032fb=='string'?(!_0x2687c8['mask']||_0x1c3cb7)&&_0x2687c8[_0x230368]!==void 0x0?_0x3015d5=_0x2687c8[_0x230368]:(_0x2032fb=Buffer[_0x1fa77b(0x282)](_0x2032fb),_0x3015d5=_0x2032fb['length']):(_0x3015d5=_0x2032fb[_0x1fa77b(0x29f)],_0x4f0d0f=_0x2687c8['mask']&&_0x2687c8[_0x1fa77b(0x247)]&&!_0x1c3cb7);let _0x37a4f9=_0x3015d5;_0x3015d5>=0x10000?(_0x313985+=0x8,_0x37a4f9=0x7f):_0x3015d5>0x7d&&(_0x313985+=0x2,_0x37a4f9=0x7e);const _0x8735fe=Buffer['allocUnsafe'](_0x4f0d0f?_0x3015d5+_0x313985:_0x313985);return _0x8735fe[0x0]=_0x2687c8['fin']?_0x2687c8[_0x1fa77b(0x1ad)]|0x80:_0x2687c8['opcode'],_0x2687c8['rsv1']&&(_0x8735fe[0x0]|=0x40),_0x8735fe[0x1]=_0x37a4f9,_0x37a4f9===0x7e?_0x8735fe[_0x1fa77b(0x197)](_0x3015d5,0x2):_0x37a4f9===0x7f&&(_0x8735fe[0x2]=_0x8735fe[0x3]=0x0,_0x8735fe[_0x1fa77b(0x2b4)](_0x3015d5,0x4,0x6)),_0x2687c8[_0x1fa77b(0x1e0)]?(_0x8735fe[0x1]|=0x80,_0x8735fe[_0x313985-0x4]=_0x440706[0x0],_0x8735fe[_0x313985-0x3]=_0x440706[0x1],_0x8735fe[_0x313985-0x2]=_0x440706[0x2],_0x8735fe[_0x313985-0x1]=_0x440706[0x3],_0x1c3cb7?[_0x8735fe,_0x2032fb]:_0x4f0d0f?(_0x474aba(_0x2032fb,_0x440706,_0x8735fe,_0x313985,_0x3015d5),[_0x8735fe]):(_0x474aba(_0x2032fb,_0x440706,_0x2032fb,0x0,_0x3015d5),[_0x8735fe,_0x2032fb])):[_0x8735fe,_0x2032fb];}[_0x371c36(0x1ed)](_0x448fd3,_0x1ea3b8,_0x5ab4ef,_0x28ece5){const _0x327520=_0x371c36;let _0x5e4180;if(_0x448fd3===void 0x0)_0x5e4180=_0x5a2e55;else{if(typeof _0x448fd3!=_0x327520(0x2db)||!_0x4ab965(_0x448fd3))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1ea3b8===void 0x0||!_0x1ea3b8[_0x327520(0x29f)])_0x5e4180=Buffer['allocUnsafe'](0x2),_0x5e4180['writeUInt16BE'](_0x448fd3,0x0);else{const _0x239a7a=Buffer['byteLength'](_0x1ea3b8);if(_0x239a7a>0x7b)throw new RangeError(_0x327520(0x2d4));_0x5e4180=Buffer['allocUnsafe'](0x2+_0x239a7a),_0x5e4180[_0x327520(0x197)](_0x448fd3,0x0),typeof _0x1ea3b8=='string'?_0x5e4180[_0x327520(0x267)](_0x1ea3b8,0x2):_0x5e4180[_0x327520(0x2ab)](_0x1ea3b8,0x2);}}const _0x1eb4a4={[_0x230368]:_0x5e4180[_0x327520(0x29f)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5ab4ef,'maskBuffer':this[_0x327520(0x232)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x327520(0x265)]!==_0x1550bc?this[_0x327520(0x264)]([this[_0x327520(0x2d0)],_0x5e4180,!0x1,_0x1eb4a4,_0x28ece5]):this[_0x327520(0x295)](_0x4696b5[_0x327520(0x155)](_0x5e4180,_0x1eb4a4),_0x28ece5);}[_0x371c36(0x26f)](_0x4d08e4,_0x34bf80,_0x993e03){const _0x6056ef=_0x371c36;let _0x54cbd6,_0x283368;if(typeof _0x4d08e4=='string'?(_0x54cbd6=Buffer['byteLength'](_0x4d08e4),_0x283368=!0x1):_0x19f83f(_0x4d08e4)?(_0x54cbd6=_0x4d08e4[_0x6056ef(0x18a)],_0x283368=!0x1):(_0x4d08e4=_0x19f2b6(_0x4d08e4),_0x54cbd6=_0x4d08e4[_0x6056ef(0x29f)],_0x283368=_0x19f2b6[_0x6056ef(0x247)]),_0x54cbd6>0x7d)throw new RangeError(_0x6056ef(0x164));const _0x283c14={[_0x230368]:_0x54cbd6,'fin':!0x0,'generateMask':this[_0x6056ef(0x138)],'mask':_0x34bf80,'maskBuffer':this[_0x6056ef(0x232)],'opcode':0x9,'readOnly':_0x283368,'rsv1':!0x1};_0x19f83f(_0x4d08e4)?this['_state']!==_0x1550bc?this[_0x6056ef(0x264)]([this['getBlobData'],_0x4d08e4,!0x1,_0x283c14,_0x993e03]):this[_0x6056ef(0x2ac)](_0x4d08e4,!0x1,_0x283c14,_0x993e03):this[_0x6056ef(0x265)]!==_0x1550bc?this['enqueue']([this[_0x6056ef(0x2d0)],_0x4d08e4,!0x1,_0x283c14,_0x993e03]):this[_0x6056ef(0x295)](_0x4696b5[_0x6056ef(0x155)](_0x4d08e4,_0x283c14),_0x993e03);}[_0x371c36(0x1db)](_0x2754bb,_0x20601a,_0x1ccd0f){const _0x30ce4a=_0x371c36;let _0x2ba62a,_0x4c1107;if(typeof _0x2754bb==_0x30ce4a(0x142)?(_0x2ba62a=Buffer['byteLength'](_0x2754bb),_0x4c1107=!0x1):_0x19f83f(_0x2754bb)?(_0x2ba62a=_0x2754bb[_0x30ce4a(0x18a)],_0x4c1107=!0x1):(_0x2754bb=_0x19f2b6(_0x2754bb),_0x2ba62a=_0x2754bb[_0x30ce4a(0x29f)],_0x4c1107=_0x19f2b6[_0x30ce4a(0x247)]),_0x2ba62a>0x7d)throw new RangeError(_0x30ce4a(0x164));const _0x2123a7={[_0x230368]:_0x2ba62a,'fin':!0x0,'generateMask':this[_0x30ce4a(0x138)],'mask':_0x20601a,'maskBuffer':this[_0x30ce4a(0x232)],'opcode':0xa,'readOnly':_0x4c1107,'rsv1':!0x1};_0x19f83f(_0x2754bb)?this[_0x30ce4a(0x265)]!==_0x1550bc?this[_0x30ce4a(0x264)]([this[_0x30ce4a(0x2ac)],_0x2754bb,!0x1,_0x2123a7,_0x1ccd0f]):this['getBlobData'](_0x2754bb,!0x1,_0x2123a7,_0x1ccd0f):this[_0x30ce4a(0x265)]!==_0x1550bc?this[_0x30ce4a(0x264)]([this[_0x30ce4a(0x2d0)],_0x2754bb,!0x1,_0x2123a7,_0x1ccd0f]):this[_0x30ce4a(0x295)](_0x4696b5[_0x30ce4a(0x155)](_0x2754bb,_0x2123a7),_0x1ccd0f);}[_0x371c36(0x1ae)](_0x2b87f7,_0x187a3b,_0x323461){const _0x49b48a=_0x371c36,_0x4fa085=this[_0x49b48a(0x25e)][_0xad944a[_0x49b48a(0x2a4)]];let _0x228780=_0x187a3b[_0x49b48a(0x1bf)]?0x2:0x1,_0x3f8a90=_0x187a3b[_0x49b48a(0x231)],_0x37967f,_0x2888ed;typeof _0x2b87f7=='string'?(_0x37967f=Buffer[_0x49b48a(0x2b1)](_0x2b87f7),_0x2888ed=!0x1):_0x19f83f(_0x2b87f7)?(_0x37967f=_0x2b87f7[_0x49b48a(0x18a)],_0x2888ed=!0x1):(_0x2b87f7=_0x19f2b6(_0x2b87f7),_0x37967f=_0x2b87f7[_0x49b48a(0x29f)],_0x2888ed=_0x19f2b6[_0x49b48a(0x247)]),this[_0x49b48a(0x253)]?(this[_0x49b48a(0x253)]=!0x1,_0x3f8a90&&_0x4fa085&&_0x4fa085[_0x49b48a(0x213)][_0x4fa085[_0x49b48a(0x170)]?_0x49b48a(0x223):_0x49b48a(0x1b5)]&&(_0x3f8a90=_0x37967f>=_0x4fa085['_threshold']),this[_0x49b48a(0x220)]=_0x3f8a90):(_0x3f8a90=!0x1,_0x228780=0x0),_0x187a3b[_0x49b48a(0x2a0)]&&(this['_firstFragment']=!0x0);const _0x5a7331={[_0x230368]:_0x37967f,'fin':_0x187a3b[_0x49b48a(0x2a0)],'generateMask':this[_0x49b48a(0x138)],'mask':_0x187a3b[_0x49b48a(0x1e0)],'maskBuffer':this[_0x49b48a(0x232)],'opcode':_0x228780,'readOnly':_0x2888ed,'rsv1':_0x3f8a90};_0x19f83f(_0x2b87f7)?this['_state']!==_0x1550bc?this[_0x49b48a(0x264)]([this[_0x49b48a(0x2ac)],_0x2b87f7,this[_0x49b48a(0x220)],_0x5a7331,_0x323461]):this[_0x49b48a(0x2ac)](_0x2b87f7,this[_0x49b48a(0x220)],_0x5a7331,_0x323461):this[_0x49b48a(0x265)]!==_0x1550bc?this[_0x49b48a(0x264)]([this[_0x49b48a(0x2d0)],_0x2b87f7,this['_compress'],_0x5a7331,_0x323461]):this[_0x49b48a(0x2d0)](_0x2b87f7,this[_0x49b48a(0x220)],_0x5a7331,_0x323461);}[_0x371c36(0x2ac)](_0x1c0b51,_0x2093c5,_0x1517b8,_0x202ab4){const _0x4a651c=_0x371c36;this[_0x4a651c(0x25d)]+=_0x1517b8[_0x230368],this[_0x4a651c(0x265)]=_0x4a95f8,_0x1c0b51[_0x4a651c(0x2cf)]()[_0x4a651c(0x276)](_0x41a3ae=>{const _0x5344b5=_0x4a651c;if(this[_0x5344b5(0x178)][_0x5344b5(0x27f)]){const _0x15d3d8=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x5344b5(0x2d3)](_0xc4c30b,this,_0x15d3d8,_0x202ab4);return;}this['_bufferedBytes']-=_0x1517b8[_0x230368];const _0x3f89c6=_0x19f2b6(_0x41a3ae);_0x2093c5?this[_0x5344b5(0x2d0)](_0x3f89c6,_0x2093c5,_0x1517b8,_0x202ab4):(this[_0x5344b5(0x265)]=_0x1550bc,this[_0x5344b5(0x295)](_0x4696b5[_0x5344b5(0x155)](_0x3f89c6,_0x1517b8),_0x202ab4),this[_0x5344b5(0x27d)]());})[_0x4a651c(0x29c)](_0x41d223=>{const _0x16a5e6=_0x4a651c;process[_0x16a5e6(0x2d3)](_0x2da2e6,this,_0x41d223,_0x202ab4);});}['dispatch'](_0x4ad9a7,_0x46c2a9,_0x384fc3,_0x305564){const _0x30f3b0=_0x371c36;if(!_0x46c2a9){this[_0x30f3b0(0x295)](_0x4696b5[_0x30f3b0(0x155)](_0x4ad9a7,_0x384fc3),_0x305564);return;}const _0x39118f=this[_0x30f3b0(0x25e)][_0xad944a['extensionName']];this['_bufferedBytes']+=_0x384fc3[_0x230368],this[_0x30f3b0(0x265)]=_0x229cab,_0x39118f[_0x30f3b0(0x231)](_0x4ad9a7,_0x384fc3[_0x30f3b0(0x2a0)],(_0xbb4d15,_0x3748d0)=>{const _0x14c129=_0x30f3b0;if(this[_0x14c129(0x178)][_0x14c129(0x27f)]){const _0x31b8cb=new Error(_0x14c129(0x185));_0xc4c30b(this,_0x31b8cb,_0x305564);return;}this['_bufferedBytes']-=_0x384fc3[_0x230368],this[_0x14c129(0x265)]=_0x1550bc,_0x384fc3[_0x14c129(0x247)]=!0x1,this['sendFrame'](_0x4696b5[_0x14c129(0x155)](_0x3748d0,_0x384fc3),_0x305564),this[_0x14c129(0x27d)]();});}['dequeue'](){const _0x392dfd=_0x371c36;for(;this[_0x392dfd(0x265)]===_0x1550bc&&this[_0x392dfd(0x171)][_0x392dfd(0x29f)];){const _0x560555=this[_0x392dfd(0x171)][_0x392dfd(0x1f3)]();this[_0x392dfd(0x25d)]-=_0x560555[0x3][_0x230368],Reflect[_0x392dfd(0x15a)](_0x560555[0x0],this,_0x560555[_0x392dfd(0x187)](0x1));}}[_0x371c36(0x264)](_0x214a88){const _0x403c1f=_0x371c36;this[_0x403c1f(0x25d)]+=_0x214a88[0x3][_0x230368],this['_queue'][_0x403c1f(0x174)](_0x214a88);}[_0x371c36(0x295)](_0x364901,_0x2d677d){const _0xce064c=_0x371c36;_0x364901[_0xce064c(0x29f)]===0x2?(this['_socket']['cork'](),this[_0xce064c(0x178)][_0xce064c(0x267)](_0x364901[0x0]),this[_0xce064c(0x178)][_0xce064c(0x267)](_0x364901[0x1],_0x2d677d),this[_0xce064c(0x178)][_0xce064c(0x22b)]()):this['_socket'][_0xce064c(0x267)](_0x364901[0x0],_0x2d677d);}}Ee=_0x4696b5;function _0xc4c30b(_0x47126c,_0x52428f,_0x4b32d6){const _0x38a016=_0x371c36;typeof _0x4b32d6==_0x38a016(0x1ac)&&_0x4b32d6(_0x52428f);for(let _0x94c473=0x0;_0x94c473<_0x47126c[_0x38a016(0x171)]['length'];_0x94c473++){const _0x4760e7=_0x47126c['_queue'][_0x94c473],_0x47eefa=_0x4760e7[_0x4760e7[_0x38a016(0x29f)]-0x1];typeof _0x47eefa==_0x38a016(0x1ac)&&_0x47eefa(_0x52428f);}}function _0x2da2e6(_0x45daf5,_0x575288,_0x40ff9f){const _0x51a0cc=_0x371c36;_0xc4c30b(_0x45daf5,_0x575288,_0x40ff9f),_0x45daf5[_0x51a0cc(0x136)](_0x575288);}return Ee;}var xe,tt;function Kt(){const _0x15c3d3=_0x35e7b2;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x51cfc2,kListener:_0x5cf27e}=V(),_0x5c11f8=Symbol(_0x15c3d3(0x183)),_0x9e2d36=Symbol(_0x15c3d3(0x25c)),_0x1f86d6=Symbol(_0x15c3d3(0x252)),_0x4e4d26=Symbol('kMessage'),_0x4d92f4=Symbol('kReason'),_0x227689=Symbol(_0x15c3d3(0x2ae)),_0x365487=Symbol(_0x15c3d3(0x147)),_0x23f31c=Symbol(_0x15c3d3(0x1d9));class _0x705660{constructor(_0x30ccb7){this[_0x227689]=null,this[_0x365487]=_0x30ccb7;}get[_0x15c3d3(0x2c5)](){return this[_0x227689];}get[_0x15c3d3(0x2bf)](){return this[_0x365487];}}Object['defineProperty'](_0x705660[_0x15c3d3(0x1e9)],_0x15c3d3(0x2c5),{'enumerable':!0x0}),Object[_0x15c3d3(0x157)](_0x705660[_0x15c3d3(0x1e9)],_0x15c3d3(0x2bf),{'enumerable':!0x0});class _0x23b36a extends _0x705660{constructor(_0x4f10ae,_0x23609b={}){const _0x152ee6=_0x15c3d3;super(_0x4f10ae),this[_0x5c11f8]=_0x23609b[_0x152ee6(0x291)]===void 0x0?0x0:_0x23609b[_0x152ee6(0x291)],this[_0x4d92f4]=_0x23609b[_0x152ee6(0x12f)]===void 0x0?'':_0x23609b[_0x152ee6(0x12f)],this[_0x23f31c]=_0x23609b[_0x152ee6(0x214)]===void 0x0?!0x1:_0x23609b['wasClean'];}get['code'](){return this[_0x5c11f8];}get[_0x15c3d3(0x12f)](){return this[_0x4d92f4];}get['wasClean'](){return this[_0x23f31c];}}Object['defineProperty'](_0x23b36a[_0x15c3d3(0x1e9)],_0x15c3d3(0x291),{'enumerable':!0x0}),Object[_0x15c3d3(0x157)](_0x23b36a['prototype'],_0x15c3d3(0x12f),{'enumerable':!0x0}),Object[_0x15c3d3(0x157)](_0x23b36a[_0x15c3d3(0x1e9)],_0x15c3d3(0x214),{'enumerable':!0x0});class _0x5a0f2e extends _0x705660{constructor(_0x3abe44,_0x3c783f={}){const _0x4486aa=_0x15c3d3;super(_0x3abe44),this[_0x1f86d6]=_0x3c783f[_0x4486aa(0x272)]===void 0x0?null:_0x3c783f[_0x4486aa(0x272)],this[_0x4e4d26]=_0x3c783f[_0x4486aa(0x1fd)]===void 0x0?'':_0x3c783f[_0x4486aa(0x1fd)];}get[_0x15c3d3(0x272)](){return this[_0x1f86d6];}get[_0x15c3d3(0x1fd)](){return this[_0x4e4d26];}}Object[_0x15c3d3(0x157)](_0x5a0f2e[_0x15c3d3(0x1e9)],_0x15c3d3(0x272),{'enumerable':!0x0}),Object[_0x15c3d3(0x157)](_0x5a0f2e[_0x15c3d3(0x1e9)],'message',{'enumerable':!0x0});class _0x575b2f extends _0x705660{constructor(_0x910207,_0x5ad795={}){const _0x2815f8=_0x15c3d3;super(_0x910207),this[_0x9e2d36]=_0x5ad795[_0x2815f8(0x198)]===void 0x0?null:_0x5ad795['data'];}get[_0x15c3d3(0x198)](){return this[_0x9e2d36];}}Object['defineProperty'](_0x575b2f[_0x15c3d3(0x1e9)],_0x15c3d3(0x198),{'enumerable':!0x0}),xe={'CloseEvent':_0x23b36a,'ErrorEvent':_0x5a0f2e,'Event':_0x705660,'EventTarget':{'addEventListener'(_0x446312,_0x1296d4,_0x4f500f={}){const _0x12a3ec=_0x15c3d3;for(const _0xbdb624 of this['listeners'](_0x446312))if(!_0x4f500f[_0x51cfc2]&&_0xbdb624[_0x5cf27e]===_0x1296d4&&!_0xbdb624[_0x51cfc2])return;let _0x27ce41;if(_0x446312===_0x12a3ec(0x1fd))_0x27ce41=function(_0x381203,_0x56892e){const _0x1cbf81=_0x12a3ec,_0xda2b20=new _0x575b2f(_0x1cbf81(0x1fd),{'data':_0x56892e?_0x381203:_0x381203[_0x1cbf81(0x228)]()});_0xda2b20[_0x227689]=this,_0xf06776(_0x1296d4,this,_0xda2b20);};else{if(_0x446312===_0x12a3ec(0x1ed))_0x27ce41=function(_0x13ca50,_0x312793){const _0x480e15=_0x12a3ec,_0x591010=new _0x23b36a(_0x480e15(0x1ed),{'code':_0x13ca50,'reason':_0x312793[_0x480e15(0x228)](),'wasClean':this[_0x480e15(0x154)]&&this[_0x480e15(0x1c4)]});_0x591010[_0x227689]=this,_0xf06776(_0x1296d4,this,_0x591010);};else{if(_0x446312===_0x12a3ec(0x272))_0x27ce41=function(_0x2ddb82){const _0x1cc587=_0x12a3ec,_0x126048=new _0x5a0f2e(_0x1cc587(0x272),{'error':_0x2ddb82,'message':_0x2ddb82[_0x1cc587(0x1fd)]});_0x126048[_0x227689]=this,_0xf06776(_0x1296d4,this,_0x126048);};else{if(_0x446312===_0x12a3ec(0x286))_0x27ce41=function(){const _0x59dcbc=new _0x705660('open');_0x59dcbc[_0x227689]=this,_0xf06776(_0x1296d4,this,_0x59dcbc);};else return;}}}_0x27ce41[_0x51cfc2]=!!_0x4f500f[_0x51cfc2],_0x27ce41[_0x5cf27e]=_0x1296d4,_0x4f500f['once']?this[_0x12a3ec(0x1c7)](_0x446312,_0x27ce41):this['on'](_0x446312,_0x27ce41);},'removeEventListener'(_0x33250a,_0x116ad2){const _0x187fcf=_0x15c3d3;for(const _0x3633aa of this[_0x187fcf(0x210)](_0x33250a))if(_0x3633aa[_0x5cf27e]===_0x116ad2&&!_0x3633aa[_0x51cfc2]){this[_0x187fcf(0x2d6)](_0x33250a,_0x3633aa);break;}}},'MessageEvent':_0x575b2f};function _0xf06776(_0x1f302f,_0x5a9d9e,_0x8a390a){const _0x521e8d=_0x15c3d3;typeof _0x1f302f==_0x521e8d(0x169)&&_0x1f302f[_0x521e8d(0x233)]?_0x1f302f[_0x521e8d(0x233)]['call'](_0x1f302f,_0x8a390a):_0x1f302f[_0x521e8d(0x180)](_0x5a9d9e,_0x8a390a);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x52f063}=ne();function _0x4a6bd5(_0x2cbbad,_0x40cf3b,_0x28e89b){_0x2cbbad[_0x40cf3b]===void 0x0?_0x2cbbad[_0x40cf3b]=[_0x28e89b]:_0x2cbbad[_0x40cf3b]['push'](_0x28e89b);}function _0x5432c3(_0x1e5e6b){const _0xfb95e4=_0x952a,_0x3e0f5a=Object[_0xfb95e4(0x24f)](null);let _0x3940f2=Object[_0xfb95e4(0x24f)](null),_0x14e62e=!0x1,_0x1a0d9b=!0x1,_0x3cb266=!0x1,_0xafb200,_0x388c18,_0x1c7422=-0x1,_0x3d72d8=-0x1,_0x4ebcf2=-0x1,_0x1cf517=0x0;for(;_0x1cf517<_0x1e5e6b[_0xfb95e4(0x29f)];_0x1cf517++)if(_0x3d72d8=_0x1e5e6b['charCodeAt'](_0x1cf517),_0xafb200===void 0x0){if(_0x4ebcf2===-0x1&&_0x52f063[_0x3d72d8]===0x1)_0x1c7422===-0x1&&(_0x1c7422=_0x1cf517);else{if(_0x1cf517!==0x0&&(_0x3d72d8===0x20||_0x3d72d8===0x9))_0x4ebcf2===-0x1&&_0x1c7422!==-0x1&&(_0x4ebcf2=_0x1cf517);else{if(_0x3d72d8===0x3b||_0x3d72d8===0x2c){if(_0x1c7422===-0x1)throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);_0x4ebcf2===-0x1&&(_0x4ebcf2=_0x1cf517);const _0xf59267=_0x1e5e6b[_0xfb95e4(0x187)](_0x1c7422,_0x4ebcf2);_0x3d72d8===0x2c?(_0x4a6bd5(_0x3e0f5a,_0xf59267,_0x3940f2),_0x3940f2=Object[_0xfb95e4(0x24f)](null)):_0xafb200=_0xf59267,_0x1c7422=_0x4ebcf2=-0x1;}else throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);}}}else{if(_0x388c18===void 0x0){if(_0x4ebcf2===-0x1&&_0x52f063[_0x3d72d8]===0x1)_0x1c7422===-0x1&&(_0x1c7422=_0x1cf517);else{if(_0x3d72d8===0x20||_0x3d72d8===0x9)_0x4ebcf2===-0x1&&_0x1c7422!==-0x1&&(_0x4ebcf2=_0x1cf517);else{if(_0x3d72d8===0x3b||_0x3d72d8===0x2c){if(_0x1c7422===-0x1)throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);_0x4ebcf2===-0x1&&(_0x4ebcf2=_0x1cf517),_0x4a6bd5(_0x3940f2,_0x1e5e6b[_0xfb95e4(0x187)](_0x1c7422,_0x4ebcf2),!0x0),_0x3d72d8===0x2c&&(_0x4a6bd5(_0x3e0f5a,_0xafb200,_0x3940f2),_0x3940f2=Object[_0xfb95e4(0x24f)](null),_0xafb200=void 0x0),_0x1c7422=_0x4ebcf2=-0x1;}else{if(_0x3d72d8===0x3d&&_0x1c7422!==-0x1&&_0x4ebcf2===-0x1)_0x388c18=_0x1e5e6b[_0xfb95e4(0x187)](_0x1c7422,_0x1cf517),_0x1c7422=_0x4ebcf2=-0x1;else throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);}}}}else{if(_0x1a0d9b){if(_0x52f063[_0x3d72d8]!==0x1)throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);_0x1c7422===-0x1?_0x1c7422=_0x1cf517:_0x14e62e||(_0x14e62e=!0x0),_0x1a0d9b=!0x1;}else{if(_0x3cb266){if(_0x52f063[_0x3d72d8]===0x1)_0x1c7422===-0x1&&(_0x1c7422=_0x1cf517);else{if(_0x3d72d8===0x22&&_0x1c7422!==-0x1)_0x3cb266=!0x1,_0x4ebcf2=_0x1cf517;else{if(_0x3d72d8===0x5c)_0x1a0d9b=!0x0;else throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);}}}else{if(_0x3d72d8===0x22&&_0x1e5e6b['charCodeAt'](_0x1cf517-0x1)===0x3d)_0x3cb266=!0x0;else{if(_0x4ebcf2===-0x1&&_0x52f063[_0x3d72d8]===0x1)_0x1c7422===-0x1&&(_0x1c7422=_0x1cf517);else{if(_0x1c7422!==-0x1&&(_0x3d72d8===0x20||_0x3d72d8===0x9))_0x4ebcf2===-0x1&&(_0x4ebcf2=_0x1cf517);else{if(_0x3d72d8===0x3b||_0x3d72d8===0x2c){if(_0x1c7422===-0x1)throw new SyntaxError(_0xfb95e4(0x255)+_0x1cf517);_0x4ebcf2===-0x1&&(_0x4ebcf2=_0x1cf517);let _0x16987e=_0x1e5e6b[_0xfb95e4(0x187)](_0x1c7422,_0x4ebcf2);_0x14e62e&&(_0x16987e=_0x16987e[_0xfb95e4(0x2be)](/\\/g,''),_0x14e62e=!0x1),_0x4a6bd5(_0x3940f2,_0x388c18,_0x16987e),_0x3d72d8===0x2c&&(_0x4a6bd5(_0x3e0f5a,_0xafb200,_0x3940f2),_0x3940f2=Object[_0xfb95e4(0x24f)](null),_0xafb200=void 0x0),_0x388c18=void 0x0,_0x1c7422=_0x4ebcf2=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1cf517);}}}}}}}if(_0x1c7422===-0x1||_0x3cb266||_0x3d72d8===0x20||_0x3d72d8===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4ebcf2===-0x1&&(_0x4ebcf2=_0x1cf517);const _0x4a3f35=_0x1e5e6b['slice'](_0x1c7422,_0x4ebcf2);return _0xafb200===void 0x0?_0x4a6bd5(_0x3e0f5a,_0x4a3f35,_0x3940f2):(_0x388c18===void 0x0?_0x4a6bd5(_0x3940f2,_0x4a3f35,!0x0):_0x14e62e?_0x4a6bd5(_0x3940f2,_0x388c18,_0x4a3f35[_0xfb95e4(0x2be)](/\\/g,'')):_0x4a6bd5(_0x3940f2,_0x388c18,_0x4a3f35),_0x4a6bd5(_0x3e0f5a,_0xafb200,_0x3940f2)),_0x3e0f5a;}function _0x51d19d(_0x241073){const _0x59475c=_0x952a;return Object[_0x59475c(0x14d)](_0x241073)[_0x59475c(0x2d1)](_0x2c2e90=>{const _0x198f1f=_0x59475c;let _0x55c32f=_0x241073[_0x2c2e90];return Array['isArray'](_0x55c32f)||(_0x55c32f=[_0x55c32f]),_0x55c32f[_0x198f1f(0x2d1)](_0x34eb84=>[_0x2c2e90][_0x198f1f(0x2c9)](Object[_0x198f1f(0x14d)](_0x34eb84)[_0x198f1f(0x2d1)](_0x37b404=>{const _0x59244=_0x198f1f;let _0x39e9ae=_0x34eb84[_0x37b404];return Array['isArray'](_0x39e9ae)||(_0x39e9ae=[_0x39e9ae]),_0x39e9ae[_0x59244(0x2d1)](_0x243560=>_0x243560===!0x0?_0x37b404:_0x37b404+'='+_0x243560)[_0x59244(0x15b)](';\x20');}))[_0x198f1f(0x15b)](';\x20'))[_0x198f1f(0x15b)](',\x20');})[_0x59475c(0x15b)](',\x20');}return be={'format':_0x51d19d,'parse':_0x5432c3},be;}var we,st;function Ie(){const _0x3d81fe=_0x35e7b2;if(st)return we;st=0x1;const _0x3da242=_0x4b8068,_0x428939=_0x49d489,_0x1e341c=_0x1f1f4d,_0x5eec99=_0x14f1ad,_0x1b1a45=_0x41c0a2,{randomBytes:_0xa6b8fd,createHash:_0x17d508}=_0x6de8f1,{Duplex:_0x23c220,Readable:_0xf4b601}=_0xbe99a9,{URL:_0x2469c2}=_0x3e6112,_0x311fff=he(),_0x1463f4=dt(),_0x3b8a08=_t(),{isBlob:_0x1e7984}=ne(),{BINARY_TYPES:_0x45576a,EMPTY_BUFFER:_0x4f0188,GUID:_0x3c9b32,kForOnEventAttribute:_0xedb7cc,kListener:_0x9e1462,kStatusCode:_0xbb0d6,kWebSocket:_0x13ab22,NOOP:_0x35e162}=V(),{EventTarget:{addEventListener:_0x3b2c8a,removeEventListener:_0x45c131}}=Kt(),{format:_0x1e6ee3,parse:_0x7b8d65}=pt(),{toBuffer:_0x53c3e2}=ce(),_0x33b5d8=0x1e*0x3e8,_0x484552=Symbol(_0x3d81fe(0x2b0)),_0x2126ef=[0x8,0xd],_0xdd1a12=[_0x3d81fe(0x248),'OPEN',_0x3d81fe(0x160),_0x3d81fe(0x20f)],_0x1e5dee=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xe2c4df extends _0x3da242{constructor(_0x1ed1a0,_0x412372,_0x32c038){const _0x4c6b21=_0x3d81fe;super(),this['_binaryType']=_0x45576a[0x0],this[_0x4c6b21(0x1f9)]=0x3ee,this[_0x4c6b21(0x154)]=!0x1,this[_0x4c6b21(0x1c4)]=!0x1,this[_0x4c6b21(0x1df)]=_0x4f0188,this[_0x4c6b21(0x15c)]=null,this[_0x4c6b21(0x2d9)]=!0x1,this[_0x4c6b21(0x25e)]={},this['_paused']=!0x1,this[_0x4c6b21(0x287)]='',this[_0x4c6b21(0x13a)]=_0xe2c4df[_0x4c6b21(0x248)],this[_0x4c6b21(0x256)]=null,this[_0x4c6b21(0x219)]=null,this['_socket']=null,_0x1ed1a0!==null?(this[_0x4c6b21(0x1ba)]=0x0,this[_0x4c6b21(0x170)]=!0x1,this[_0x4c6b21(0x28b)]=0x0,_0x412372===void 0x0?_0x412372=[]:Array[_0x4c6b21(0x26e)](_0x412372)||(typeof _0x412372==_0x4c6b21(0x169)&&_0x412372!==null?(_0x32c038=_0x412372,_0x412372=[]):_0x412372=[_0x412372]),_0x37e0e4(this,_0x1ed1a0,_0x412372,_0x32c038)):(this['_autoPong']=_0x32c038[_0x4c6b21(0x12d)],this['_isServer']=!0x0);}get[_0x3d81fe(0x266)](){const _0x306517=_0x3d81fe;return this[_0x306517(0x1c1)];}set[_0x3d81fe(0x266)](_0x20cd3e){const _0x13b229=_0x3d81fe;_0x45576a[_0x13b229(0x18c)](_0x20cd3e)&&(this[_0x13b229(0x1c1)]=_0x20cd3e,this[_0x13b229(0x256)]&&(this[_0x13b229(0x256)][_0x13b229(0x1c1)]=_0x20cd3e));}get[_0x3d81fe(0x2cc)](){const _0x46fb7b=_0x3d81fe;return this[_0x46fb7b(0x178)]?this[_0x46fb7b(0x178)][_0x46fb7b(0x28d)][_0x46fb7b(0x29f)]+this[_0x46fb7b(0x219)]['_bufferedBytes']:this[_0x46fb7b(0x1ba)];}get[_0x3d81fe(0x2bd)](){const _0x14160e=_0x3d81fe;return Object[_0x14160e(0x14d)](this[_0x14160e(0x25e)])[_0x14160e(0x15b)]();}get[_0x3d81fe(0x1a6)](){return this['_paused'];}get[_0x3d81fe(0x24d)](){return null;}get[_0x3d81fe(0x136)](){return null;}get[_0x3d81fe(0x20a)](){return null;}get[_0x3d81fe(0x27b)](){return null;}get[_0x3d81fe(0x207)](){const _0x5efcc7=_0x3d81fe;return this[_0x5efcc7(0x287)];}get[_0x3d81fe(0x141)](){const _0x2a9cee=_0x3d81fe;return this[_0x2a9cee(0x13a)];}get[_0x3d81fe(0x14a)](){const _0x8f95d=_0x3d81fe;return this[_0x8f95d(0x152)];}['setSocket'](_0x18fce2,_0xa753c2,_0x25de44){const _0x5c6319=_0x3d81fe,_0xa27d5=new _0x1463f4({'allowSynchronousEvents':_0x25de44[_0x5c6319(0x1fa)],'binaryType':this[_0x5c6319(0x266)],'extensions':this[_0x5c6319(0x25e)],'isServer':this['_isServer'],'maxPayload':_0x25de44[_0x5c6319(0x1b8)],'skipUTF8Validation':_0x25de44[_0x5c6319(0x278)]}),_0x4d4815=new _0x3b8a08(_0x18fce2,this[_0x5c6319(0x25e)],_0x25de44[_0x5c6319(0x1b2)]);this[_0x5c6319(0x256)]=_0xa27d5,this[_0x5c6319(0x219)]=_0x4d4815,this[_0x5c6319(0x178)]=_0x18fce2,_0xa27d5[_0x13ab22]=this,_0x4d4815[_0x13ab22]=this,_0x18fce2[_0x13ab22]=this,_0xa27d5['on'](_0x5c6319(0x2af),_0xf7eae2),_0xa27d5['on'](_0x5c6319(0x2c4),_0x405698),_0xa27d5['on'](_0x5c6319(0x272),_0x31d596),_0xa27d5['on'](_0x5c6319(0x1fd),_0x21833d),_0xa27d5['on']('ping',_0xd9e19f),_0xa27d5['on'](_0x5c6319(0x1db),_0x1fb0ed),_0x4d4815[_0x5c6319(0x136)]=_0x2e59eb,_0x18fce2[_0x5c6319(0x227)]&&_0x18fce2[_0x5c6319(0x227)](0x0),_0x18fce2[_0x5c6319(0x21a)]&&_0x18fce2['setNoDelay'](),_0xa753c2[_0x5c6319(0x29f)]>0x0&&_0x18fce2['unshift'](_0xa753c2),_0x18fce2['on'](_0x5c6319(0x1ed),_0x2edf46),_0x18fce2['on'](_0x5c6319(0x198),_0x1839d1),_0x18fce2['on']('end',_0xc735ef),_0x18fce2['on'](_0x5c6319(0x272),_0xb901d8),this[_0x5c6319(0x13a)]=_0xe2c4df[_0x5c6319(0x1ef)],this[_0x5c6319(0x2d2)](_0x5c6319(0x286));}[_0x3d81fe(0x1b0)](){const _0x1889ca=_0x3d81fe;if(!this[_0x1889ca(0x178)]){this[_0x1889ca(0x13a)]=_0xe2c4df[_0x1889ca(0x20f)],this[_0x1889ca(0x2d2)](_0x1889ca(0x1ed),this[_0x1889ca(0x1f9)],this[_0x1889ca(0x1df)]);return;}this['_extensions'][_0x311fff[_0x1889ca(0x2a4)]]&&this[_0x1889ca(0x25e)][_0x311fff[_0x1889ca(0x2a4)]]['cleanup'](),this[_0x1889ca(0x256)][_0x1889ca(0x20c)](),this[_0x1889ca(0x13a)]=_0xe2c4df[_0x1889ca(0x20f)],this[_0x1889ca(0x2d2)]('close',this[_0x1889ca(0x1f9)],this['_closeMessage']);}[_0x3d81fe(0x1ed)](_0xb2db2a,_0x645d16){const _0x526fe1=_0x3d81fe;if(this[_0x526fe1(0x141)]!==_0xe2c4df[_0x526fe1(0x20f)]){if(this[_0x526fe1(0x141)]===_0xe2c4df[_0x526fe1(0x248)]){_0x2535ad(this,this[_0x526fe1(0x28c)],_0x526fe1(0x1a0));return;}if(this[_0x526fe1(0x141)]===_0xe2c4df['CLOSING']){this[_0x526fe1(0x1c4)]&&(this[_0x526fe1(0x154)]||this[_0x526fe1(0x256)][_0x526fe1(0x28d)][_0x526fe1(0x188)])&&this[_0x526fe1(0x178)][_0x526fe1(0x1b6)]();return;}this['_readyState']=_0xe2c4df[_0x526fe1(0x160)],this['_sender'][_0x526fe1(0x1ed)](_0xb2db2a,_0x645d16,!this[_0x526fe1(0x170)],_0x2539d9=>{const _0x1ddab4=_0x526fe1;_0x2539d9||(this[_0x1ddab4(0x1c4)]=!0x0,(this[_0x1ddab4(0x154)]||this[_0x1ddab4(0x256)][_0x1ddab4(0x28d)][_0x1ddab4(0x188)])&&this['_socket']['end']());}),_0x4217b8(this);}}[_0x3d81fe(0x245)](){const _0x703e82=_0x3d81fe;this[_0x703e82(0x141)]===_0xe2c4df[_0x703e82(0x248)]||this['readyState']===_0xe2c4df[_0x703e82(0x20f)]||(this[_0x703e82(0x26d)]=!0x0,this['_socket'][_0x703e82(0x245)]());}[_0x3d81fe(0x26f)](_0x451961,_0x60ecbb,_0x23aeca){const _0xbc6cc5=_0x3d81fe;if(this[_0xbc6cc5(0x141)]===_0xe2c4df[_0xbc6cc5(0x248)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x451961==_0xbc6cc5(0x1ac)?(_0x23aeca=_0x451961,_0x451961=_0x60ecbb=void 0x0):typeof _0x60ecbb==_0xbc6cc5(0x1ac)&&(_0x23aeca=_0x60ecbb,_0x60ecbb=void 0x0),typeof _0x451961==_0xbc6cc5(0x2db)&&(_0x451961=_0x451961[_0xbc6cc5(0x228)]()),this[_0xbc6cc5(0x141)]!==_0xe2c4df['OPEN']){_0x39db4f(this,_0x451961,_0x23aeca);return;}_0x60ecbb===void 0x0&&(_0x60ecbb=!this[_0xbc6cc5(0x170)]),this[_0xbc6cc5(0x219)][_0xbc6cc5(0x26f)](_0x451961||_0x4f0188,_0x60ecbb,_0x23aeca);}[_0x3d81fe(0x1db)](_0x2dbb92,_0x3d0095,_0x264caa){const _0x5f300d=_0x3d81fe;if(this[_0x5f300d(0x141)]===_0xe2c4df[_0x5f300d(0x248)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2dbb92==_0x5f300d(0x1ac)?(_0x264caa=_0x2dbb92,_0x2dbb92=_0x3d0095=void 0x0):typeof _0x3d0095==_0x5f300d(0x1ac)&&(_0x264caa=_0x3d0095,_0x3d0095=void 0x0),typeof _0x2dbb92==_0x5f300d(0x2db)&&(_0x2dbb92=_0x2dbb92[_0x5f300d(0x228)]()),this[_0x5f300d(0x141)]!==_0xe2c4df['OPEN']){_0x39db4f(this,_0x2dbb92,_0x264caa);return;}_0x3d0095===void 0x0&&(_0x3d0095=!this[_0x5f300d(0x170)]),this[_0x5f300d(0x219)][_0x5f300d(0x1db)](_0x2dbb92||_0x4f0188,_0x3d0095,_0x264caa);}['resume'](){const _0x4e9aed=_0x3d81fe;this[_0x4e9aed(0x141)]===_0xe2c4df['CONNECTING']||this['readyState']===_0xe2c4df[_0x4e9aed(0x20f)]||(this[_0x4e9aed(0x26d)]=!0x1,this[_0x4e9aed(0x256)]['_writableState'][_0x4e9aed(0x222)]||this['_socket']['resume']());}[_0x3d81fe(0x1ae)](_0x3cbf54,_0x4976f8,_0x5b451e){const _0x1fff2b=_0x3d81fe;if(this[_0x1fff2b(0x141)]===_0xe2c4df[_0x1fff2b(0x248)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4976f8=='function'&&(_0x5b451e=_0x4976f8,_0x4976f8={}),typeof _0x3cbf54==_0x1fff2b(0x2db)&&(_0x3cbf54=_0x3cbf54[_0x1fff2b(0x228)]()),this[_0x1fff2b(0x141)]!==_0xe2c4df[_0x1fff2b(0x1ef)]){_0x39db4f(this,_0x3cbf54,_0x5b451e);return;}const _0x241f4e={'binary':typeof _0x3cbf54!=_0x1fff2b(0x142),'mask':!this[_0x1fff2b(0x170)],'compress':!0x0,'fin':!0x0,..._0x4976f8};this[_0x1fff2b(0x25e)][_0x311fff[_0x1fff2b(0x2a4)]]||(_0x241f4e[_0x1fff2b(0x231)]=!0x1),this[_0x1fff2b(0x219)][_0x1fff2b(0x1ae)](_0x3cbf54||_0x4f0188,_0x241f4e,_0x5b451e);}['terminate'](){const _0x214329=_0x3d81fe;if(this[_0x214329(0x141)]!==_0xe2c4df[_0x214329(0x20f)]){if(this[_0x214329(0x141)]===_0xe2c4df[_0x214329(0x248)]){_0x2535ad(this,this[_0x214329(0x28c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x214329(0x13a)]=_0xe2c4df[_0x214329(0x160)],this[_0x214329(0x178)][_0x214329(0x151)]());}}}Object['defineProperty'](_0xe2c4df,_0x3d81fe(0x248),{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x248))}),Object[_0x3d81fe(0x157)](_0xe2c4df[_0x3d81fe(0x1e9)],'CONNECTING',{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x248))}),Object['defineProperty'](_0xe2c4df,_0x3d81fe(0x1ef),{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x1ef))}),Object[_0x3d81fe(0x157)](_0xe2c4df[_0x3d81fe(0x1e9)],_0x3d81fe(0x1ef),{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x1ef))}),Object[_0x3d81fe(0x157)](_0xe2c4df,'CLOSING',{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x160))}),Object[_0x3d81fe(0x157)](_0xe2c4df[_0x3d81fe(0x1e9)],'CLOSING',{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x160))}),Object[_0x3d81fe(0x157)](_0xe2c4df,_0x3d81fe(0x20f),{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)]('CLOSED')}),Object[_0x3d81fe(0x157)](_0xe2c4df[_0x3d81fe(0x1e9)],_0x3d81fe(0x20f),{'enumerable':!0x0,'value':_0xdd1a12[_0x3d81fe(0x1d0)](_0x3d81fe(0x20f))}),[_0x3d81fe(0x266),_0x3d81fe(0x2cc),_0x3d81fe(0x2bd),'isPaused',_0x3d81fe(0x207),'readyState',_0x3d81fe(0x14a)][_0x3d81fe(0x195)](_0xe550cc=>{const _0x1c3199=_0x3d81fe;Object['defineProperty'](_0xe2c4df[_0x1c3199(0x1e9)],_0xe550cc,{'enumerable':!0x0});}),[_0x3d81fe(0x286),_0x3d81fe(0x272),_0x3d81fe(0x1ed),_0x3d81fe(0x1fd)][_0x3d81fe(0x195)](_0x3c7605=>{const _0x1c3006=_0x3d81fe;Object[_0x1c3006(0x157)](_0xe2c4df[_0x1c3006(0x1e9)],'on'+_0x3c7605,{'enumerable':!0x0,'get'(){for(const _0xecf4ca of this['listeners'](_0x3c7605))if(_0xecf4ca[_0xedb7cc])return _0xecf4ca[_0x9e1462];return null;},'set'(_0x38f446){const _0x44d1f3=_0x1c3006;for(const _0x47272d of this[_0x44d1f3(0x210)](_0x3c7605))if(_0x47272d[_0xedb7cc]){this['removeListener'](_0x3c7605,_0x47272d);break;}typeof _0x38f446=='function'&&this[_0x44d1f3(0x274)](_0x3c7605,_0x38f446,{[_0xedb7cc]:!0x0});}});}),_0xe2c4df[_0x3d81fe(0x1e9)][_0x3d81fe(0x274)]=_0x3b2c8a,_0xe2c4df['prototype']['removeEventListener']=_0x45c131,we=_0xe2c4df;function _0x37e0e4(_0x3da202,_0x27627a,_0xbecef6,_0x20e9a9){const _0x540634=_0x3d81fe,_0x2b875e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2126ef[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x20e9a9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x540634(0x23f),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3da202[_0x540634(0x22c)]=_0x2b875e['autoPong'],!_0x2126ef[_0x540634(0x18c)](_0x2b875e['protocolVersion']))throw new RangeError(_0x540634(0x1b1)+_0x2b875e[_0x540634(0x203)]+_0x540634(0x16d)+_0x2126ef[_0x540634(0x15b)](',\x20')+')');let _0x42eeb9;if(_0x27627a instanceof _0x2469c2)_0x42eeb9=_0x27627a;else try{_0x42eeb9=new _0x2469c2(_0x27627a);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x27627a);}_0x42eeb9[_0x540634(0x207)]===_0x540634(0x24a)?_0x42eeb9[_0x540634(0x207)]=_0x540634(0x1dd):_0x42eeb9[_0x540634(0x207)]===_0x540634(0x206)&&(_0x42eeb9['protocol']='wss:'),_0x3da202[_0x540634(0x152)]=_0x42eeb9[_0x540634(0x2bc)];const _0x2bb677=_0x42eeb9[_0x540634(0x207)]===_0x540634(0x18f),_0x38cfc7=_0x42eeb9[_0x540634(0x207)]===_0x540634(0x192);let _0x40ba03;if(_0x42eeb9[_0x540634(0x207)]!==_0x540634(0x1dd)&&!_0x2bb677&&!_0x38cfc7?_0x40ba03=_0x540634(0x2b2):_0x38cfc7&&!_0x42eeb9[_0x540634(0x158)]?_0x40ba03=_0x540634(0x132):_0x42eeb9[_0x540634(0x297)]&&(_0x40ba03='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x40ba03){const _0x54d39d=new SyntaxError(_0x40ba03);if(_0x3da202[_0x540634(0x28b)]===0x0)throw _0x54d39d;_0x13f354(_0x3da202,_0x54d39d);return;}const _0x23451b=_0x2bb677?0x1bb:0x50,_0x4ce8c9=_0xa6b8fd(0x10)[_0x540634(0x228)](_0x540634(0x19b)),_0x516d07=_0x2bb677?_0x428939['request']:_0x1e341c[_0x540634(0x236)],_0x6936c=new Set();let _0x17397a;if(_0x2b875e[_0x540634(0x16f)]=_0x2b875e[_0x540634(0x16f)]||(_0x2bb677?_0xef2cff:_0x476a46),_0x2b875e[_0x540634(0x1fe)]=_0x2b875e['defaultPort']||_0x23451b,_0x2b875e[_0x540634(0x251)]=_0x42eeb9[_0x540634(0x251)]||_0x23451b,_0x2b875e[_0x540634(0x1e3)]=_0x42eeb9[_0x540634(0x1ca)][_0x540634(0x239)]('[')?_0x42eeb9[_0x540634(0x1ca)][_0x540634(0x187)](0x1,-0x1):_0x42eeb9[_0x540634(0x1ca)],_0x2b875e[_0x540634(0x15e)]={..._0x2b875e[_0x540634(0x15e)],'Sec-WebSocket-Version':_0x2b875e[_0x540634(0x203)],'Sec-WebSocket-Key':_0x4ce8c9,'Connection':_0x540634(0x14f),'Upgrade':_0x540634(0x13c)},_0x2b875e[_0x540634(0x193)]=_0x42eeb9[_0x540634(0x158)]+_0x42eeb9[_0x540634(0x243)],_0x2b875e[_0x540634(0x258)]=_0x2b875e[_0x540634(0x28e)],_0x2b875e['perMessageDeflate']&&(_0x17397a=new _0x311fff(_0x2b875e[_0x540634(0x209)]!==!0x0?_0x2b875e['perMessageDeflate']:{},!0x1,_0x2b875e[_0x540634(0x1b8)]),_0x2b875e['headers'][_0x540634(0x17c)]=_0x1e6ee3({[_0x311fff[_0x540634(0x2a4)]]:_0x17397a[_0x540634(0x1b3)]()})),_0xbecef6[_0x540634(0x29f)]){for(const _0x5c67c9 of _0xbecef6){if(typeof _0x5c67c9!='string'||!_0x1e5dee[_0x540634(0x2cb)](_0x5c67c9)||_0x6936c[_0x540634(0x200)](_0x5c67c9))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x6936c['add'](_0x5c67c9);}_0x2b875e['headers'][_0x540634(0x172)]=_0xbecef6[_0x540634(0x15b)](',');}if(_0x2b875e[_0x540634(0x25b)]&&(_0x2b875e[_0x540634(0x203)]<0xd?_0x2b875e['headers'][_0x540634(0x26c)]=_0x2b875e['origin']:_0x2b875e[_0x540634(0x15e)][_0x540634(0x1f1)]=_0x2b875e['origin']),(_0x42eeb9[_0x540634(0x177)]||_0x42eeb9[_0x540634(0x18e)])&&(_0x2b875e[_0x540634(0x1f8)]=_0x42eeb9[_0x540634(0x177)]+':'+_0x42eeb9[_0x540634(0x18e)]),_0x38cfc7){const _0x1f52c0=_0x2b875e[_0x540634(0x193)][_0x540634(0x27c)](':');_0x2b875e[_0x540634(0x241)]=_0x1f52c0[0x0],_0x2b875e['path']=_0x1f52c0[0x1];}let _0x145847;if(_0x2b875e[_0x540634(0x1e1)]){if(_0x3da202[_0x540634(0x28b)]===0x0){_0x3da202[_0x540634(0x199)]=_0x38cfc7,_0x3da202[_0x540634(0x1a1)]=_0x2bb677,_0x3da202[_0x540634(0x2ce)]=_0x38cfc7?_0x2b875e[_0x540634(0x241)]:_0x42eeb9[_0x540634(0x1e3)];const _0x36a4f0=_0x20e9a9&&_0x20e9a9[_0x540634(0x15e)];if(_0x20e9a9={..._0x20e9a9,'headers':{}},_0x36a4f0){for(const [_0x19da5d,_0x1b3680]of Object[_0x540634(0x23c)](_0x36a4f0))_0x20e9a9[_0x540634(0x15e)][_0x19da5d[_0x540634(0x2da)]()]=_0x1b3680;}}else{if(_0x3da202[_0x540634(0x268)]('redirect')===0x0){const _0x269eb0=_0x38cfc7?_0x3da202['_originalIpc']?_0x2b875e[_0x540634(0x241)]===_0x3da202[_0x540634(0x2ce)]:!0x1:_0x3da202[_0x540634(0x199)]?!0x1:_0x42eeb9[_0x540634(0x1e3)]===_0x3da202[_0x540634(0x2ce)];(!_0x269eb0||_0x3da202[_0x540634(0x1a1)]&&!_0x2bb677)&&(delete _0x2b875e[_0x540634(0x15e)][_0x540634(0x17a)],delete _0x2b875e[_0x540634(0x15e)][_0x540634(0x184)],_0x269eb0||delete _0x2b875e[_0x540634(0x15e)]['host'],_0x2b875e['auth']=void 0x0);}}_0x2b875e['auth']&&!_0x20e9a9['headers'][_0x540634(0x17a)]&&(_0x20e9a9[_0x540634(0x15e)]['authorization']=_0x540634(0x13b)+Buffer[_0x540634(0x282)](_0x2b875e['auth'])['toString'](_0x540634(0x19b))),_0x145847=_0x3da202[_0x540634(0x28c)]=_0x516d07(_0x2b875e),_0x3da202[_0x540634(0x28b)]&&_0x3da202[_0x540634(0x2d2)]('redirect',_0x3da202[_0x540634(0x14a)],_0x145847);}else _0x145847=_0x3da202[_0x540634(0x28c)]=_0x516d07(_0x2b875e);_0x2b875e[_0x540634(0x258)]&&_0x145847['on'](_0x540634(0x258),()=>{_0x2535ad(_0x3da202,_0x145847,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x145847['on']('error',_0x7cc87e=>{_0x145847===null||_0x145847[_0x484552]||(_0x145847=_0x3da202['_req']=null,_0x13f354(_0x3da202,_0x7cc87e));}),_0x145847['on'](_0x540634(0x15f),_0x526068=>{const _0x214c10=_0x540634,_0x512d0a=_0x526068[_0x214c10(0x15e)][_0x214c10(0x12e)],_0x4e45e7=_0x526068[_0x214c10(0x1f4)];if(_0x512d0a&&_0x2b875e[_0x214c10(0x1e1)]&&_0x4e45e7>=0x12c&&_0x4e45e7<0x190){if(++_0x3da202[_0x214c10(0x28b)]>_0x2b875e[_0x214c10(0x24c)]){_0x2535ad(_0x3da202,_0x145847,'Maximum\x20redirects\x20exceeded');return;}_0x145847[_0x214c10(0x2c3)]();let _0x115f60;try{_0x115f60=new _0x2469c2(_0x512d0a,_0x27627a);}catch{const _0x5c7008=new SyntaxError('Invalid\x20URL:\x20'+_0x512d0a);_0x13f354(_0x3da202,_0x5c7008);return;}_0x37e0e4(_0x3da202,_0x115f60,_0xbecef6,_0x20e9a9);}else _0x3da202[_0x214c10(0x2d2)](_0x214c10(0x2c7),_0x145847,_0x526068)||_0x2535ad(_0x3da202,_0x145847,_0x214c10(0x150)+_0x526068[_0x214c10(0x1f4)]);}),_0x145847['on'](_0x540634(0x1bb),(_0x2cd8ad,_0x7d7006,_0x269aeb)=>{const _0x2a5db3=_0x540634;if(_0x3da202[_0x2a5db3(0x2d2)](_0x2a5db3(0x1bb),_0x2cd8ad),_0x3da202[_0x2a5db3(0x141)]!==_0xe2c4df['CONNECTING'])return;_0x145847=_0x3da202['_req']=null;const _0x42301a=_0x2cd8ad[_0x2a5db3(0x15e)]['upgrade'];if(_0x42301a===void 0x0||_0x42301a[_0x2a5db3(0x2da)]()!==_0x2a5db3(0x13c)){_0x2535ad(_0x3da202,_0x7d7006,'Invalid\x20Upgrade\x20header');return;}const _0x534dd7=_0x17d508(_0x2a5db3(0x281))[_0x2a5db3(0x218)](_0x4ce8c9+_0x3c9b32)[_0x2a5db3(0x1ee)](_0x2a5db3(0x19b));if(_0x2cd8ad[_0x2a5db3(0x15e)]['sec-websocket-accept']!==_0x534dd7){_0x2535ad(_0x3da202,_0x7d7006,_0x2a5db3(0x15d));return;}const _0x44aa28=_0x2cd8ad[_0x2a5db3(0x15e)]['sec-websocket-protocol'];let _0x309cf5;if(_0x44aa28!==void 0x0?_0x6936c['size']?_0x6936c[_0x2a5db3(0x200)](_0x44aa28)||(_0x309cf5=_0x2a5db3(0x298)):_0x309cf5=_0x2a5db3(0x2b6):_0x6936c[_0x2a5db3(0x18a)]&&(_0x309cf5='Server\x20sent\x20no\x20subprotocol'),_0x309cf5){_0x2535ad(_0x3da202,_0x7d7006,_0x309cf5);return;}_0x44aa28&&(_0x3da202['_protocol']=_0x44aa28);const _0x1b6c20=_0x2cd8ad[_0x2a5db3(0x15e)][_0x2a5db3(0x1ea)];if(_0x1b6c20!==void 0x0){if(!_0x17397a){_0x2535ad(_0x3da202,_0x7d7006,_0x2a5db3(0x1e6));return;}let _0x30cdfe;try{_0x30cdfe=_0x7b8d65(_0x1b6c20);}catch{_0x2535ad(_0x3da202,_0x7d7006,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x247470=Object[_0x2a5db3(0x14d)](_0x30cdfe);if(_0x247470[_0x2a5db3(0x29f)]!==0x1||_0x247470[0x0]!==_0x311fff[_0x2a5db3(0x2a4)]){_0x2535ad(_0x3da202,_0x7d7006,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x17397a[_0x2a5db3(0x208)](_0x30cdfe[_0x311fff[_0x2a5db3(0x2a4)]]);}catch{_0x2535ad(_0x3da202,_0x7d7006,_0x2a5db3(0x249));return;}_0x3da202[_0x2a5db3(0x25e)][_0x311fff[_0x2a5db3(0x2a4)]]=_0x17397a;}_0x3da202[_0x2a5db3(0x22e)](_0x7d7006,_0x269aeb,{'allowSynchronousEvents':_0x2b875e[_0x2a5db3(0x1fa)],'generateMask':_0x2b875e[_0x2a5db3(0x1b2)],'maxPayload':_0x2b875e['maxPayload'],'skipUTF8Validation':_0x2b875e[_0x2a5db3(0x278)]});}),_0x2b875e[_0x540634(0x1eb)]?_0x2b875e['finishRequest'](_0x145847,_0x3da202):_0x145847[_0x540634(0x1b6)]();}function _0x13f354(_0x5725a7,_0x3215ee){const _0x79c96b=_0x3d81fe;_0x5725a7['_readyState']=_0xe2c4df['CLOSING'],_0x5725a7[_0x79c96b(0x2d9)]=!0x0,_0x5725a7[_0x79c96b(0x2d2)](_0x79c96b(0x272),_0x3215ee),_0x5725a7[_0x79c96b(0x1b0)]();}function _0x476a46(_0x1f1222){const _0x4ce673=_0x3d81fe;return _0x1f1222['path']=_0x1f1222['socketPath'],_0x5eec99[_0x4ce673(0x1d1)](_0x1f1222);}function _0xef2cff(_0x303672){const _0x57c048=_0x3d81fe;return _0x303672[_0x57c048(0x193)]=void 0x0,!_0x303672[_0x57c048(0x1a9)]&&_0x303672[_0x57c048(0x1a9)]!==''&&(_0x303672[_0x57c048(0x1a9)]=_0x5eec99['isIP'](_0x303672[_0x57c048(0x1e3)])?'':_0x303672['host']),_0x1b1a45[_0x57c048(0x1d1)](_0x303672);}function _0x2535ad(_0xc279f2,_0x584c91,_0x11d333){const _0x120d0f=_0x3d81fe;_0xc279f2[_0x120d0f(0x13a)]=_0xe2c4df[_0x120d0f(0x160)];const _0x2bd0ff=new Error(_0x11d333);Error[_0x120d0f(0x254)](_0x2bd0ff,_0x2535ad),_0x584c91[_0x120d0f(0x1a4)]?(_0x584c91[_0x484552]=!0x0,_0x584c91[_0x120d0f(0x2c3)](),_0x584c91['socket']&&!_0x584c91['socket'][_0x120d0f(0x27f)]&&_0x584c91[_0x120d0f(0x205)][_0x120d0f(0x151)](),process[_0x120d0f(0x2d3)](_0x13f354,_0xc279f2,_0x2bd0ff)):(_0x584c91['destroy'](_0x2bd0ff),_0x584c91[_0x120d0f(0x1c7)](_0x120d0f(0x272),_0xc279f2[_0x120d0f(0x2d2)][_0x120d0f(0x27a)](_0xc279f2,_0x120d0f(0x272))),_0x584c91[_0x120d0f(0x1c7)]('close',_0xc279f2[_0x120d0f(0x1b0)][_0x120d0f(0x27a)](_0xc279f2)));}function _0x39db4f(_0x48186a,_0x111942,_0x1aa7ad){const _0x247e71=_0x3d81fe;if(_0x111942){const _0x41eaf8=_0x1e7984(_0x111942)?_0x111942[_0x247e71(0x18a)]:_0x53c3e2(_0x111942)[_0x247e71(0x29f)];_0x48186a['_socket']?_0x48186a[_0x247e71(0x219)]['_bufferedBytes']+=_0x41eaf8:_0x48186a['_bufferedAmount']+=_0x41eaf8;}if(_0x1aa7ad){const _0x2faa83=new Error(_0x247e71(0x148)+_0x48186a[_0x247e71(0x141)]+'\x20('+_0xdd1a12[_0x48186a[_0x247e71(0x141)]]+')');process['nextTick'](_0x1aa7ad,_0x2faa83);}}function _0xf7eae2(_0x4c8fc9,_0x18cfbe){const _0x1e047c=_0x3d81fe,_0x19e1cf=this[_0x13ab22];_0x19e1cf[_0x1e047c(0x154)]=!0x0,_0x19e1cf['_closeMessage']=_0x18cfbe,_0x19e1cf[_0x1e047c(0x1f9)]=_0x4c8fc9,_0x19e1cf[_0x1e047c(0x178)][_0x13ab22]!==void 0x0&&(_0x19e1cf[_0x1e047c(0x178)][_0x1e047c(0x2d6)](_0x1e047c(0x198),_0x1839d1),process[_0x1e047c(0x2d3)](_0x15c814,_0x19e1cf['_socket']),_0x4c8fc9===0x3ed?_0x19e1cf['close']():_0x19e1cf['close'](_0x4c8fc9,_0x18cfbe));}function _0x405698(){const _0x72ff4a=_0x3d81fe,_0x508581=this[_0x13ab22];_0x508581[_0x72ff4a(0x1a6)]||_0x508581[_0x72ff4a(0x178)]['resume']();}function _0x31d596(_0x4054fd){const _0x12d07f=_0x3d81fe,_0x4d4f99=this[_0x13ab22];_0x4d4f99[_0x12d07f(0x178)][_0x13ab22]!==void 0x0&&(_0x4d4f99[_0x12d07f(0x178)][_0x12d07f(0x2d6)](_0x12d07f(0x198),_0x1839d1),process[_0x12d07f(0x2d3)](_0x15c814,_0x4d4f99['_socket']),_0x4d4f99['close'](_0x4054fd[_0xbb0d6])),_0x4d4f99[_0x12d07f(0x2d9)]||(_0x4d4f99['_errorEmitted']=!0x0,_0x4d4f99['emit'](_0x12d07f(0x272),_0x4054fd));}function _0x5d1f94(){const _0x3e91ae=_0x3d81fe;this[_0x13ab22][_0x3e91ae(0x1b0)]();}function _0x21833d(_0x8a8b27,_0x3f038e){const _0x3ed0fd=_0x3d81fe;this[_0x13ab22][_0x3ed0fd(0x2d2)](_0x3ed0fd(0x1fd),_0x8a8b27,_0x3f038e);}function _0xd9e19f(_0x11f94d){const _0x194188=_0x3d81fe,_0x36b658=this[_0x13ab22];_0x36b658[_0x194188(0x22c)]&&_0x36b658[_0x194188(0x1db)](_0x11f94d,!this['_isServer'],_0x35e162),_0x36b658[_0x194188(0x2d2)](_0x194188(0x26f),_0x11f94d);}function _0x1fb0ed(_0x7c00b5){const _0x2a60ad=_0x3d81fe;this[_0x13ab22]['emit'](_0x2a60ad(0x1db),_0x7c00b5);}function _0x15c814(_0x22e3e3){_0x22e3e3['resume']();}function _0x2e59eb(_0x1bf6a8){const _0x47ef34=_0x3d81fe,_0x44ddb7=this[_0x13ab22];_0x44ddb7[_0x47ef34(0x141)]!==_0xe2c4df[_0x47ef34(0x20f)]&&(_0x44ddb7[_0x47ef34(0x141)]===_0xe2c4df[_0x47ef34(0x1ef)]&&(_0x44ddb7[_0x47ef34(0x13a)]=_0xe2c4df['CLOSING'],_0x4217b8(_0x44ddb7)),this[_0x47ef34(0x178)][_0x47ef34(0x1b6)](),_0x44ddb7[_0x47ef34(0x2d9)]||(_0x44ddb7[_0x47ef34(0x2d9)]=!0x0,_0x44ddb7[_0x47ef34(0x2d2)](_0x47ef34(0x272),_0x1bf6a8)));}function _0x4217b8(_0x5c4514){const _0x552625=_0x3d81fe;_0x5c4514[_0x552625(0x15c)]=setTimeout(_0x5c4514[_0x552625(0x178)][_0x552625(0x151)][_0x552625(0x27a)](_0x5c4514[_0x552625(0x178)]),_0x33b5d8);}function _0x2edf46(){const _0x412104=_0x3d81fe,_0xc5736=this[_0x13ab22];this[_0x412104(0x2d6)]('close',_0x2edf46),this[_0x412104(0x2d6)](_0x412104(0x198),_0x1839d1),this[_0x412104(0x2d6)](_0x412104(0x1b6),_0xc735ef),_0xc5736[_0x412104(0x13a)]=_0xe2c4df[_0x412104(0x160)];let _0x3d2e7e;!this[_0x412104(0x146)][_0x412104(0x1f6)]&&!_0xc5736[_0x412104(0x154)]&&!_0xc5736[_0x412104(0x256)][_0x412104(0x28d)][_0x412104(0x188)]&&(_0x3d2e7e=_0xc5736[_0x412104(0x178)][_0x412104(0x2a5)]())!==null&&_0xc5736[_0x412104(0x256)][_0x412104(0x267)](_0x3d2e7e),_0xc5736[_0x412104(0x256)][_0x412104(0x1b6)](),this[_0x13ab22]=void 0x0,clearTimeout(_0xc5736[_0x412104(0x15c)]),_0xc5736[_0x412104(0x256)]['_writableState'][_0x412104(0x14e)]||_0xc5736[_0x412104(0x256)][_0x412104(0x28d)]['errorEmitted']?_0xc5736[_0x412104(0x1b0)]():(_0xc5736[_0x412104(0x256)]['on'](_0x412104(0x272),_0x5d1f94),_0xc5736[_0x412104(0x256)]['on'](_0x412104(0x26a),_0x5d1f94));}function _0x1839d1(_0x3236e1){const _0x281a9a=_0x3d81fe;this[_0x13ab22]['_receiver']['write'](_0x3236e1)||this[_0x281a9a(0x245)]();}function _0xc735ef(){const _0x1a44ff=_0x3d81fe,_0xc785b2=this[_0x13ab22];_0xc785b2[_0x1a44ff(0x13a)]=_0xe2c4df[_0x1a44ff(0x160)],_0xc785b2[_0x1a44ff(0x256)]['end'](),this[_0x1a44ff(0x1b6)]();}function _0xb901d8(){const _0x258bff=_0x3d81fe,_0x29e344=this[_0x13ab22];this[_0x258bff(0x2d6)](_0x258bff(0x272),_0xb901d8),this['on'](_0x258bff(0x272),_0x35e162),_0x29e344&&(_0x29e344[_0x258bff(0x13a)]=_0xe2c4df[_0x258bff(0x160)],this[_0x258bff(0x151)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x20e324}=_0xbe99a9;function _0x11d0ba(_0x2ffe1e){const _0x3033be=_0x952a;_0x2ffe1e[_0x3033be(0x2d2)](_0x3033be(0x1ed));}function _0x3abb52(){const _0x1e9a51=_0x952a;!this[_0x1e9a51(0x27f)]&&this[_0x1e9a51(0x28d)][_0x1e9a51(0x14e)]&&this[_0x1e9a51(0x151)]();}function _0x24e274(_0x51381c){const _0x1c68ed=_0x952a;this['removeListener'](_0x1c68ed(0x272),_0x24e274),this[_0x1c68ed(0x151)](),this[_0x1c68ed(0x268)]('error')===0x0&&this[_0x1c68ed(0x2d2)](_0x1c68ed(0x272),_0x51381c);}function _0x4d8eb2(_0x3a2e45,_0x4b8dd5){const _0x5cdef1=_0x952a;let _0x33ebfa=!0x0;const _0x222b8d=new _0x20e324({..._0x4b8dd5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3a2e45['on'](_0x5cdef1(0x1fd),function(_0x5d0e10,_0x121a90){const _0x10ee03=_0x5cdef1,_0x251e27=!_0x121a90&&_0x222b8d[_0x10ee03(0x146)]['objectMode']?_0x5d0e10[_0x10ee03(0x228)]():_0x5d0e10;_0x222b8d[_0x10ee03(0x174)](_0x251e27)||_0x3a2e45[_0x10ee03(0x245)]();}),_0x3a2e45[_0x5cdef1(0x1c7)](_0x5cdef1(0x272),function(_0x4b06a5){const _0xd37d9b=_0x5cdef1;_0x222b8d[_0xd37d9b(0x27f)]||(_0x33ebfa=!0x1,_0x222b8d['destroy'](_0x4b06a5));}),_0x3a2e45[_0x5cdef1(0x1c7)](_0x5cdef1(0x1ed),function(){const _0x4e8fbe=_0x5cdef1;_0x222b8d[_0x4e8fbe(0x27f)]||_0x222b8d[_0x4e8fbe(0x174)](null);}),_0x222b8d['_destroy']=function(_0x24a20f,_0x28c716){const _0x1da6df=_0x5cdef1;if(_0x3a2e45[_0x1da6df(0x141)]===_0x3a2e45[_0x1da6df(0x20f)]){_0x28c716(_0x24a20f),process[_0x1da6df(0x2d3)](_0x11d0ba,_0x222b8d);return;}let _0x6e31b8=!0x1;_0x3a2e45['once'](_0x1da6df(0x272),function(_0x1b727f){_0x6e31b8=!0x0,_0x28c716(_0x1b727f);}),_0x3a2e45[_0x1da6df(0x1c7)](_0x1da6df(0x1ed),function(){const _0x5de78e=_0x1da6df;_0x6e31b8||_0x28c716(_0x24a20f),process[_0x5de78e(0x2d3)](_0x11d0ba,_0x222b8d);}),_0x33ebfa&&_0x3a2e45[_0x1da6df(0x1a8)]();},_0x222b8d[_0x5cdef1(0x25f)]=function(_0x179fdb){const _0x511cb1=_0x5cdef1;if(_0x3a2e45[_0x511cb1(0x141)]===_0x3a2e45['CONNECTING']){_0x3a2e45['once'](_0x511cb1(0x286),function(){const _0x5db456=_0x511cb1;_0x222b8d[_0x5db456(0x25f)](_0x179fdb);});return;}_0x3a2e45[_0x511cb1(0x178)]!==null&&(_0x3a2e45['_socket'][_0x511cb1(0x28d)][_0x511cb1(0x14e)]?(_0x179fdb(),_0x222b8d[_0x511cb1(0x146)][_0x511cb1(0x1f6)]&&_0x222b8d['destroy']()):(_0x3a2e45[_0x511cb1(0x178)][_0x511cb1(0x1c7)](_0x511cb1(0x26a),function(){_0x179fdb();}),_0x3a2e45[_0x511cb1(0x1ed)]()));},_0x222b8d[_0x5cdef1(0x167)]=function(){const _0x319567=_0x5cdef1;_0x3a2e45[_0x319567(0x1a6)]&&_0x3a2e45[_0x319567(0x2a6)]();},_0x222b8d['_write']=function(_0x35cee6,_0x154daf,_0x3aca63){const _0x28fa5d=_0x5cdef1;if(_0x3a2e45['readyState']===_0x3a2e45['CONNECTING']){_0x3a2e45['once'](_0x28fa5d(0x286),function(){_0x222b8d['_write'](_0x35cee6,_0x154daf,_0x3aca63);});return;}_0x3a2e45['send'](_0x35cee6,_0x3aca63);},_0x222b8d['on'](_0x5cdef1(0x1b6),_0x3abb52),_0x222b8d['on'](_0x5cdef1(0x272),_0x24e274),_0x222b8d;}return Oe=_0x4d8eb2,Oe;}Xt(),dt(),_t();var Zt=Ie();function _0x952a(_0x108771,_0x4a1f5e){const _0x269c83=_0x269c();return _0x952a=function(_0x952a42,_0x77572f){_0x952a42=_0x952a42-0x12c;let _0x5a2490=_0x269c83[_0x952a42];return _0x5a2490;},_0x952a(_0x108771,_0x4a1f5e);}const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x14b621}=ne();function _0x14cac2(_0x1acbb9){const _0x5a2e7a=_0x952a,_0x3c9d7a=new Set();let _0x9741b3=-0x1,_0x391b3d=-0x1,_0xe5c645=0x0;for(_0xe5c645;_0xe5c645<_0x1acbb9[_0x5a2e7a(0x29f)];_0xe5c645++){const _0xddaec1=_0x1acbb9[_0x5a2e7a(0x22a)](_0xe5c645);if(_0x391b3d===-0x1&&_0x14b621[_0xddaec1]===0x1)_0x9741b3===-0x1&&(_0x9741b3=_0xe5c645);else{if(_0xe5c645!==0x0&&(_0xddaec1===0x20||_0xddaec1===0x9))_0x391b3d===-0x1&&_0x9741b3!==-0x1&&(_0x391b3d=_0xe5c645);else{if(_0xddaec1===0x2c){if(_0x9741b3===-0x1)throw new SyntaxError(_0x5a2e7a(0x255)+_0xe5c645);_0x391b3d===-0x1&&(_0x391b3d=_0xe5c645);const _0xd37854=_0x1acbb9[_0x5a2e7a(0x187)](_0x9741b3,_0x391b3d);if(_0x3c9d7a[_0x5a2e7a(0x200)](_0xd37854))throw new SyntaxError(_0x5a2e7a(0x2a9)+_0xd37854+_0x5a2e7a(0x19a));_0x3c9d7a['add'](_0xd37854),_0x9741b3=_0x391b3d=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe5c645);}}}if(_0x9741b3===-0x1||_0x391b3d!==-0x1)throw new SyntaxError(_0x5a2e7a(0x1af));const _0x1f17c5=_0x1acbb9[_0x5a2e7a(0x187)](_0x9741b3,_0xe5c645);if(_0x3c9d7a[_0x5a2e7a(0x200)](_0x1f17c5))throw new SyntaxError(_0x5a2e7a(0x2a9)+_0x1f17c5+_0x5a2e7a(0x19a));return _0x3c9d7a[_0x5a2e7a(0x14c)](_0x1f17c5),_0x3c9d7a;}return Ce={'parse':_0x14cac2},Ce;}var Te,ot;function er(){const _0x18bd3b=_0x35e7b2;if(ot)return Te;ot=0x1;const _0x11d1d0=_0x4b8068,_0x484527=_0x1f1f4d,{Duplex:_0x217632}=_0xbe99a9,{createHash:_0x7c2ec3}=_0x6de8f1,_0x3f35b5=pt(),_0x35fddc=he(),_0x15765d=Jt(),_0x52b614=Ie(),{GUID:_0x2afbd4,kWebSocket:_0x2c7861}=V(),_0x230e70=/^[+/0-9A-Za-z]{22}==$/,_0x4874b0=0x0,_0x2e81cc=0x1,_0x1e76f7=0x2;class _0x16f5c6 extends _0x11d1d0{constructor(_0x2eab45,_0x54193a){const _0x418d13=_0x952a;if(super(),_0x2eab45={'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':_0x52b614,..._0x2eab45},_0x2eab45[_0x418d13(0x251)]==null&&!_0x2eab45[_0x418d13(0x134)]&&!_0x2eab45[_0x418d13(0x19e)]||_0x2eab45[_0x418d13(0x251)]!=null&&(_0x2eab45[_0x418d13(0x134)]||_0x2eab45['noServer'])||_0x2eab45['server']&&_0x2eab45[_0x418d13(0x19e)])throw new TypeError(_0x418d13(0x1b4));if(_0x2eab45[_0x418d13(0x251)]!=null?(this[_0x418d13(0x137)]=_0x484527[_0x418d13(0x259)]((_0xb70ddf,_0x1b3d4b)=>{const _0x2b38e9=_0x418d13,_0x3e24ad=_0x484527[_0x2b38e9(0x23e)][0x1aa];_0x1b3d4b[_0x2b38e9(0x1f0)](0x1aa,{'Content-Length':_0x3e24ad[_0x2b38e9(0x29f)],'Content-Type':_0x2b38e9(0x225)}),_0x1b3d4b[_0x2b38e9(0x1b6)](_0x3e24ad);}),this[_0x418d13(0x137)][_0x418d13(0x244)](_0x2eab45[_0x418d13(0x251)],_0x2eab45[_0x418d13(0x1e3)],_0x2eab45[_0x418d13(0x280)],_0x54193a)):_0x2eab45[_0x418d13(0x134)]&&(this[_0x418d13(0x137)]=_0x2eab45[_0x418d13(0x134)]),this[_0x418d13(0x137)]){const _0x50883d=this[_0x418d13(0x2d2)]['bind'](this,_0x418d13(0x2cd));this[_0x418d13(0x289)]=_0x14085f(this[_0x418d13(0x137)],{'listening':this['emit'][_0x418d13(0x27a)](this,_0x418d13(0x1be)),'error':this[_0x418d13(0x2d2)][_0x418d13(0x27a)](this,_0x418d13(0x272)),'upgrade':(_0xdc1e54,_0x2ff2a7,_0x5d8a1c)=>{const _0x374c01=_0x418d13;this[_0x374c01(0x285)](_0xdc1e54,_0x2ff2a7,_0x5d8a1c,_0x50883d);}});}_0x2eab45[_0x418d13(0x209)]===!0x0&&(_0x2eab45[_0x418d13(0x209)]={}),_0x2eab45[_0x418d13(0x1a7)]&&(this[_0x418d13(0x16e)]=new Set(),this[_0x418d13(0x14b)]=!0x1),this['options']=_0x2eab45,this[_0x418d13(0x265)]=_0x4874b0;}[_0x18bd3b(0x1e8)](){const _0x3128b5=_0x18bd3b;if(this[_0x3128b5(0x216)][_0x3128b5(0x19e)])throw new Error(_0x3128b5(0x221));return this[_0x3128b5(0x137)]?this[_0x3128b5(0x137)][_0x3128b5(0x1e8)]():null;}[_0x18bd3b(0x1ed)](_0x2c6cc0){const _0x5ae1f1=_0x18bd3b;if(this[_0x5ae1f1(0x265)]===_0x1e76f7){_0x2c6cc0&&this[_0x5ae1f1(0x1c7)](_0x5ae1f1(0x1ed),()=>{const _0x366985=_0x5ae1f1;_0x2c6cc0(new Error(_0x366985(0x21c)));}),process[_0x5ae1f1(0x2d3)](_0x15dd85,this);return;}if(_0x2c6cc0&&this['once'](_0x5ae1f1(0x1ed),_0x2c6cc0),this[_0x5ae1f1(0x265)]!==_0x2e81cc){if(this[_0x5ae1f1(0x265)]=_0x2e81cc,this['options']['noServer']||this[_0x5ae1f1(0x216)][_0x5ae1f1(0x134)])this[_0x5ae1f1(0x137)]&&(this[_0x5ae1f1(0x289)](),this[_0x5ae1f1(0x289)]=this['_server']=null),this[_0x5ae1f1(0x16e)]?this[_0x5ae1f1(0x16e)][_0x5ae1f1(0x18a)]?this[_0x5ae1f1(0x14b)]=!0x0:process[_0x5ae1f1(0x2d3)](_0x15dd85,this):process['nextTick'](_0x15dd85,this);else{const _0x573b96=this[_0x5ae1f1(0x137)];this[_0x5ae1f1(0x289)](),this[_0x5ae1f1(0x289)]=this[_0x5ae1f1(0x137)]=null,_0x573b96['close'](()=>{_0x15dd85(this);});}}}['shouldHandle'](_0x3aabad){const _0x4b0e41=_0x18bd3b;if(this[_0x4b0e41(0x216)][_0x4b0e41(0x193)]){const _0x431e4c=_0x3aabad['url']['indexOf']('?');if((_0x431e4c!==-0x1?_0x3aabad[_0x4b0e41(0x14a)][_0x4b0e41(0x187)](0x0,_0x431e4c):_0x3aabad['url'])!==this['options'][_0x4b0e41(0x193)])return!0x1;}return!0x0;}['handleUpgrade'](_0xe017f,_0x22f2c2,_0x63f4ea,_0x419b04){const _0x311357=_0x18bd3b;_0x22f2c2['on'](_0x311357(0x272),_0xaa1e78);const _0x356837=_0xe017f[_0x311357(0x15e)][_0x311357(0x283)],_0x3bc476=_0xe017f[_0x311357(0x15e)]['upgrade'],_0x3bc70a=+_0xe017f['headers'][_0x311357(0x17b)];if(_0xe017f[_0x311357(0x168)]!==_0x311357(0x23f)){_0x2f4450(this,_0xe017f,_0x22f2c2,0x195,_0x311357(0x201));return;}if(_0x3bc476===void 0x0||_0x3bc476[_0x311357(0x2da)]()!==_0x311357(0x13c)){_0x2f4450(this,_0xe017f,_0x22f2c2,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x356837===void 0x0||!_0x230e70['test'](_0x356837)){_0x2f4450(this,_0xe017f,_0x22f2c2,0x190,_0x311357(0x18d));return;}if(_0x3bc70a!==0x8&&_0x3bc70a!==0xd){_0x2f4450(this,_0xe017f,_0x22f2c2,0x190,_0x311357(0x1fb));return;}if(!this['shouldHandle'](_0xe017f)){_0x3c2790(_0x22f2c2,0x190);return;}const _0x1c0654=_0xe017f[_0x311357(0x15e)][_0x311357(0x135)];let _0x45f6af=new Set();if(_0x1c0654!==void 0x0)try{_0x45f6af=_0x15765d[_0x311357(0x1cc)](_0x1c0654);}catch{_0x2f4450(this,_0xe017f,_0x22f2c2,0x190,_0x311357(0x246));return;}const _0x1bf0d5=_0xe017f[_0x311357(0x15e)]['sec-websocket-extensions'],_0x3fb028={};if(this[_0x311357(0x216)]['perMessageDeflate']&&_0x1bf0d5!==void 0x0){const _0x12f384=new _0x35fddc(this['options'][_0x311357(0x209)],!0x0,this['options'][_0x311357(0x1b8)]);try{const _0x326eaa=_0x3f35b5['parse'](_0x1bf0d5);_0x326eaa[_0x35fddc[_0x311357(0x2a4)]]&&(_0x12f384[_0x311357(0x208)](_0x326eaa[_0x35fddc[_0x311357(0x2a4)]]),_0x3fb028[_0x35fddc[_0x311357(0x2a4)]]=_0x12f384);}catch{_0x2f4450(this,_0xe017f,_0x22f2c2,0x190,_0x311357(0x290));return;}}if(this[_0x311357(0x216)][_0x311357(0x143)]){const _0x31f93c={'origin':_0xe017f[_0x311357(0x15e)][''+(_0x3bc70a===0x8?_0x311357(0x29d):_0x311357(0x25b))],'secure':!!(_0xe017f[_0x311357(0x205)]['authorized']||_0xe017f['socket'][_0x311357(0x1fc)]),'req':_0xe017f};if(this[_0x311357(0x216)][_0x311357(0x143)][_0x311357(0x29f)]===0x2){this[_0x311357(0x216)][_0x311357(0x143)](_0x31f93c,(_0x1ddbef,_0x5e6142,_0x3e4828,_0x51f0fe)=>{const _0x525aa4=_0x311357;if(!_0x1ddbef)return _0x3c2790(_0x22f2c2,_0x5e6142||0x191,_0x3e4828,_0x51f0fe);this[_0x525aa4(0x2d5)](_0x3fb028,_0x356837,_0x45f6af,_0xe017f,_0x22f2c2,_0x63f4ea,_0x419b04);});return;}if(!this[_0x311357(0x216)][_0x311357(0x143)](_0x31f93c))return _0x3c2790(_0x22f2c2,0x191);}this[_0x311357(0x2d5)](_0x3fb028,_0x356837,_0x45f6af,_0xe017f,_0x22f2c2,_0x63f4ea,_0x419b04);}[_0x18bd3b(0x2d5)](_0x50ea0e,_0x29a4c7,_0xd7726b,_0xbb8f23,_0x180d8f,_0x46ba08,_0x4a68d5){const _0x1c38bb=_0x18bd3b;if(!_0x180d8f[_0x1c38bb(0x1c6)]||!_0x180d8f[_0x1c38bb(0x21e)])return _0x180d8f[_0x1c38bb(0x151)]();if(_0x180d8f[_0x2c7861])throw new Error(_0x1c38bb(0x2a7));if(this[_0x1c38bb(0x265)]>_0x4874b0)return _0x3c2790(_0x180d8f,0x1f7);const _0x4c709e=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1c38bb(0x21f),'Connection:\x20Upgrade',_0x1c38bb(0x262)+_0x7c2ec3(_0x1c38bb(0x281))[_0x1c38bb(0x218)](_0x29a4c7+_0x2afbd4)[_0x1c38bb(0x1ee)](_0x1c38bb(0x19b))],_0x167446=new this[(_0x1c38bb(0x216))]['WebSocket'](null,void 0x0,this[_0x1c38bb(0x216)]);if(_0xd7726b[_0x1c38bb(0x18a)]){const _0x37efe7=this[_0x1c38bb(0x216)][_0x1c38bb(0x176)]?this[_0x1c38bb(0x216)][_0x1c38bb(0x176)](_0xd7726b,_0xbb8f23):_0xd7726b[_0x1c38bb(0x2b7)]()[_0x1c38bb(0x22f)]()[_0x1c38bb(0x242)];_0x37efe7&&(_0x4c709e[_0x1c38bb(0x174)](_0x1c38bb(0x284)+_0x37efe7),_0x167446['_protocol']=_0x37efe7);}if(_0x50ea0e[_0x35fddc[_0x1c38bb(0x2a4)]]){const _0x33e7bc=_0x50ea0e[_0x35fddc[_0x1c38bb(0x2a4)]][_0x1c38bb(0x213)],_0x4e6f09=_0x3f35b5[_0x1c38bb(0x1ec)]({[_0x35fddc['extensionName']]:[_0x33e7bc]});_0x4c709e['push'](_0x1c38bb(0x2ad)+_0x4e6f09),_0x167446[_0x1c38bb(0x25e)]=_0x50ea0e;}this[_0x1c38bb(0x2d2)](_0x1c38bb(0x15e),_0x4c709e,_0xbb8f23),_0x180d8f[_0x1c38bb(0x267)](_0x4c709e[_0x1c38bb(0x2c9)]('\x0d\x0a')[_0x1c38bb(0x15b)]('\x0d\x0a')),_0x180d8f[_0x1c38bb(0x2d6)](_0x1c38bb(0x272),_0xaa1e78),_0x167446[_0x1c38bb(0x22e)](_0x180d8f,_0x46ba08,{'allowSynchronousEvents':this['options'][_0x1c38bb(0x1fa)],'maxPayload':this[_0x1c38bb(0x216)]['maxPayload'],'skipUTF8Validation':this[_0x1c38bb(0x216)][_0x1c38bb(0x278)]}),this[_0x1c38bb(0x16e)]&&(this[_0x1c38bb(0x16e)]['add'](_0x167446),_0x167446['on'](_0x1c38bb(0x1ed),()=>{const _0x5261fa=_0x1c38bb;this[_0x5261fa(0x16e)][_0x5261fa(0x23d)](_0x167446),this[_0x5261fa(0x14b)]&&!this[_0x5261fa(0x16e)][_0x5261fa(0x18a)]&&process['nextTick'](_0x15dd85,this);})),_0x4a68d5(_0x167446,_0xbb8f23);}}Te=_0x16f5c6;function _0x14085f(_0x298a27,_0x530bc0){for(const _0x59a0fb of Object['keys'](_0x530bc0))_0x298a27['on'](_0x59a0fb,_0x530bc0[_0x59a0fb]);return function(){const _0x5e5756=_0x952a;for(const _0x33f829 of Object[_0x5e5756(0x14d)](_0x530bc0))_0x298a27[_0x5e5756(0x2d6)](_0x33f829,_0x530bc0[_0x33f829]);};}function _0x15dd85(_0x16efd2){const _0x35e596=_0x18bd3b;_0x16efd2[_0x35e596(0x265)]=_0x1e76f7,_0x16efd2[_0x35e596(0x2d2)](_0x35e596(0x1ed));}function _0xaa1e78(){const _0x1ba082=_0x18bd3b;this[_0x1ba082(0x151)]();}function _0x3c2790(_0x49b796,_0x27bb3b,_0x2201bf,_0x485b5b){const _0x201a8d=_0x18bd3b;_0x2201bf=_0x2201bf||_0x484527[_0x201a8d(0x23e)][_0x27bb3b],_0x485b5b={'Connection':_0x201a8d(0x1ed),'Content-Type':_0x201a8d(0x17f),'Content-Length':Buffer[_0x201a8d(0x2b1)](_0x2201bf),..._0x485b5b},_0x49b796[_0x201a8d(0x1c7)](_0x201a8d(0x26a),_0x49b796['destroy']),_0x49b796[_0x201a8d(0x1b6)](_0x201a8d(0x18b)+_0x27bb3b+'\x20'+_0x484527['STATUS_CODES'][_0x27bb3b]+'\x0d\x0a'+Object[_0x201a8d(0x14d)](_0x485b5b)[_0x201a8d(0x2d1)](_0x3e7f74=>_0x3e7f74+':\x20'+_0x485b5b[_0x3e7f74])[_0x201a8d(0x15b)]('\x0d\x0a')+_0x201a8d(0x1ce)+_0x2201bf);}function _0x2f4450(_0x44fff6,_0x28e3f8,_0x44a7f7,_0x1277a7,_0x22d99a){const _0x4a9383=_0x18bd3b;if(_0x44fff6[_0x4a9383(0x268)]('wsClientError')){const _0x595092=new Error(_0x22d99a);Error[_0x4a9383(0x254)](_0x595092,_0x2f4450),_0x44fff6[_0x4a9383(0x2d2)](_0x4a9383(0x16a),_0x595092,_0x44a7f7,_0x28e3f8);}else _0x3c2790(_0x44a7f7,_0x1277a7,_0x22d99a);}return Te;}er();var tr=Object[_0x35e7b2(0x186)],rr=(_0x22ec1d,_0x1f33ca,_0x137b4a,_0x4758a3)=>{const _0x21dd76=_0x35e7b2;for(var _0x1da68a=_0x4758a3>0x1?void 0x0:_0x4758a3?tr(_0x1f33ca,_0x137b4a):_0x1f33ca,_0x3b9c25=_0x22ec1d[_0x21dd76(0x29f)]-0x1,_0x39f110;_0x3b9c25>=0x0;_0x3b9c25--)(_0x39f110=_0x22ec1d[_0x3b9c25])&&(_0x1da68a=_0x39f110(_0x1da68a)||_0x1da68a);return _0x1da68a;},sr=(_0x3ab19c,_0x230c81)=>(_0xe97b81,_0x12ec9d)=>_0x230c81(_0xe97b81,_0x12ec9d,_0x3ab19c);let Ne=class extends _0x17c7e5{constructor(_0x215112){const _0x128e8e=_0x35e7b2;super(),this[_0x128e8e(0x153)]=_0x215112;}['createSocket'](_0x9c7b89){const _0xf4df00=_0x35e7b2;var _0x3e8d83;const _0x5a0c6f=(_0x3e8d83=this[_0xf4df00(0x153)][_0xf4df00(0x139)](Be))==null?void 0x0:_0x3e8d83['customHeaders'];try{const _0x3359bc=new Qt(_0x9c7b89,{'headers':{..._0x5a0c6f}}),_0x2ec44a=new _0x388415();return{'URL':_0x9c7b89,'close':(_0x1cdfcd,_0x39c326)=>{_0x3359bc['close'](_0x1cdfcd,_0x39c326),_0x2ec44a['dispose']();},'send':_0x4993e3=>{const _0x41c469=_0xf4df00;_0x3359bc[_0x41c469(0x1ae)](_0x4993e3);},'open$':new _0x8ee439(_0x26a4d6=>{const _0x118a1d=_0xf4df00,_0x3e5164=_0x1dc7e3=>_0x26a4d6[_0x118a1d(0x22f)](_0x1dc7e3);_0x3359bc[_0x118a1d(0x274)](_0x118a1d(0x286),_0x3e5164),_0x2ec44a[_0x118a1d(0x14c)](_0x2cc2d0(()=>_0x3359bc['removeEventListener']('open',_0x3e5164)));})[_0xf4df00(0x28a)](_0x55fac4()),'close$':new _0x8ee439(_0x80de28=>{const _0x328861=_0xf4df00,_0x2b3cca=_0x2d3fc7=>_0x80de28['next'](_0x2d3fc7);_0x3359bc[_0x328861(0x274)]('close',_0x2b3cca),_0x2ec44a[_0x328861(0x14c)](_0x2cc2d0(()=>_0x3359bc['removeEventListener'](_0x328861(0x1ed),_0x2b3cca)));})[_0xf4df00(0x28a)](_0x55fac4()),'error$':new _0x8ee439(_0x4baebc=>{const _0x16db35=_0xf4df00,_0x2eea82=_0x262891=>_0x4baebc['next'](_0x262891);_0x3359bc[_0x16db35(0x274)](_0x16db35(0x272),_0x2eea82),_0x2ec44a[_0x16db35(0x14c)](_0x2cc2d0(()=>_0x3359bc[_0x16db35(0x2dc)](_0x16db35(0x272),_0x2eea82)));})['pipe'](_0x55fac4()),'message$':new _0x8ee439(_0x370b93=>{const _0x4be5b9=_0xf4df00,_0x1307b3=_0x4ea57e=>_0x370b93['next'](_0x4ea57e);_0x3359bc[_0x4be5b9(0x274)](_0x4be5b9(0x1fd),_0x1307b3),_0x2ec44a['add'](_0x2cc2d0(()=>_0x3359bc[_0x4be5b9(0x2dc)]('message',_0x1307b3)));})[_0xf4df00(0x28a)](_0x55fac4())};}catch(_0x3a6577){return console[_0xf4df00(0x272)](_0x3a6577),null;}}};Ne=rr([sr(0x0,_0x1542c7)],Ne);var ir=Object[_0x35e7b2(0x157)],nr=Object[_0x35e7b2(0x186)],or=(_0x445f66,_0x227ccb,_0x24ff68)=>_0x227ccb in _0x445f66?ir(_0x445f66,_0x227ccb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24ff68}):_0x445f66[_0x227ccb]=_0x24ff68,ar=(_0x4cb4eb,_0x4f55cd,_0x3cd949,_0x44d720)=>{const _0x139d3a=_0x35e7b2;for(var _0x556419=_0x44d720>0x1?void 0x0:_0x44d720?nr(_0x4f55cd,_0x3cd949):_0x4f55cd,_0x289aaf=_0x4cb4eb[_0x139d3a(0x29f)]-0x1,_0x397ee8;_0x289aaf>=0x0;_0x289aaf--)(_0x397ee8=_0x4cb4eb[_0x289aaf])&&(_0x556419=_0x397ee8(_0x556419)||_0x556419);return _0x556419;},ke=(_0x29bb78,_0x3b9b17)=>(_0x3e241c,_0x3cc548)=>_0x3b9b17(_0x3e241c,_0x3cc548,_0x29bb78),lr=(_0x48cd21,_0x41df1a,_0x5c8d62)=>or(_0x48cd21,_0x41df1a+'',_0x5c8d62);let Pe=class extends _0x50c173{constructor(_0x1ca9d1=Ft,_0x4fcd55,_0x1f3839,_0x2db36c){const _0x42cd0d=_0x35e7b2;_0x1ca9d1[_0x42cd0d(0x29a)]||_0x4fcd55['warn'](_0x42cd0d(0x1a2)),super(),this['_configService']=_0x1f3839,this[_0x42cd0d(0x238)]=_0x2db36c,this[_0x42cd0d(0x153)][_0x42cd0d(0x173)](Be,_0x1ca9d1);}[_0x35e7b2(0x2a1)](){const _0x32c993=_0x35e7b2;this[_0x32c993(0x140)]();}[_0x35e7b2(0x140)](){const _0x4ed03e=_0x35e7b2;_0x361f81(this[_0x4ed03e(0x238)],[[_0x126f40,{'useClass':Ne}]]);}};function _0x269c(){const _0x1a2e9e=['_socket','collaboration-client-node.config','authorization','sec-websocket-version','Sec-WebSocket-Extensions','createInflateRaw','buffers','text/html','call','WS_ERR_UNEXPECTED_MASK','find','kCode','cookie','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getOwnPropertyDescriptor','slice','errorEmitted','default','size','HTTP/1.1\x20','includes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','password','wss:','991758ubEBuQ','cleanup','ws+unix:','path','stream','forEach','invalid\x20status\x20code\x20','writeUInt16BE','data','_originalIpc','\x22\x20subprotocol\x20is\x20duplicated','base64','_write','Max\x20payload\x20size\x20exceeded','noServer','dataMessage','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_originalSecure','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_buffers','setHeader','invalid\x20UTF-8\x20sequence','isPaused','clientTracking','terminate','servername','_payloadLength','toStringTag','function','opcode','send','Unexpected\x20end\x20of\x20input','emitClose','Unsupported\x20protocol\x20version:\x20','generateMask','offer','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','client_no_context_takeover','end','haveLength','maxPayload','3740919dbMRQL','_bufferedAmount','upgrade','getPayloadLength64','invalid\x20opcode\x200','listening','binary','_loop','_binaryType','registerHTTPInterceptor','_masked','_closeFrameSent','nodebuffer','readable','once','7825HBcSbp','_maxPayload','hostname','invalid\x20opcode\x20','parse','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','\x0d\x0a\x0d\x0a','_totalPayloadLength','indexOf','connect','acceptAsServer','env','_compressed','Blob','isServer','getMask','992coXTWq','kWasClean','WS_ERR_EXPECTED_MASK','pong','controlMessage','ws:','_skipUTF8Validation','_closeMessage','mask','followRedirects','isInteger','host','client','createDeflateRaw','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','consume','address','prototype','sec-websocket-extensions','finishRequest','format','close','digest','OPEN','writeHead','Origin','jobs','shift','statusCode','client_max_window_bits','endEmitted','buffer','auth','_closeCode','allowSynchronousEvents','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','encrypted','message','defaultPort','5683038cGveGT','has','Invalid\x20HTTP\x20method','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','protocolVersion','WS_ERR_UNEXPECTED_RSV_2_3','socket','https:','protocol','accept','perMessageDeflate','onopen','_fragments','removeAllListeners','fragments','_threshold','CLOSED','listeners','__esModule','serverMaxWindowBits','params','wasClean','Z_DEFAULT_WINDOWBITS','options','WS_ERR_UNEXPECTED_RSV_1','update','_sender','setNoDelay','MASK\x20must\x20be\x20set','The\x20server\x20is\x20not\x20running','\x22:\x20','writable','Upgrade:\x20websocket','_compress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','needDrain','server_no_context_takeover','createError','text/plain','_fin','setTimeout','toString','species','charCodeAt','uncork','_autoPong','Z_SYNC_FLUSH','setSocket','next','flush','compress','_maskBuffer','handleEvent','pluginName','allocUnsafe','request','pow','_injector','startsWith','construct','8ysIaha','entries','delete','STATUS_CODES','GET','_doCreateSocket','socketPath','value','search','listen','pause','Invalid\x20Sec-WebSocket-Protocol\x20header','readOnly','CONNECTING','Invalid\x20Sec-WebSocket-Extensions\x20header','http:','startLoop','maxRedirects','onclose','alloc','create','_opcode','port','kError','_firstFragment','captureStackTrace','Unexpected\x20character\x20at\x20index\x20','_receiver','_fragmented','timeout','createServer','blob','origin','kData','_bufferedBytes','_extensions','_final','server_max_window_bits','unmask','Sec-WebSocket-Accept:\x20','acceptAsClient','enqueue','_state','binaryType','write','listenerCount','FIN\x20must\x20be\x20set','finish','normalizeParams','Sec-WebSocket-Origin','_paused','isArray','ping','_deflate','WS_NO_UTF_8_VALIDATE','error','WS_ERR_INVALID_OPCODE','addEventListener','447378NJgCsV','then','Invalid\x20value\x20for\x20parameter\x20\x22','skipUTF8Validation','kRun','bind','onmessage','split','dequeue','clientMaxWindowBits','destroyed','backlog','sha1','from','sec-websocket-key','Sec-WebSocket-Protocol:\x20','handleUpgrade','open','_protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_removeListeners','pipe','_redirects','_req','_writableState','handshakeTimeout','total-length','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','code','isValidUTF8','hasOwnProperty','_mask','sendFrame','_decompress','hash','Server\x20sent\x20an\x20invalid\x20subprotocol','getPayloadLength16','customHeaders','_messageLength','catch','sec-websocket-origin','readUInt16BE','length','fin','onStarting','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20WebSocket\x20frame:\x20','extensionName','read','resume','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_allowSynchronousEvents','The\x20\x22','concurrency','set','getBlobData','Sec-WebSocket-Extensions:\x20','kTarget','conclude','kAborted','byteLength','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','_httpService','writeUIntBE','constructor','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','values','_no_context_takeover','WS_NO_BUFFER_UTIL','threshold','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','href','extensions','replace','type','serverNoContextTakeover','reset','get','abort','drain','target','_inflate','unexpected-response','1378632yedAnF','concat','invalid\x20payload\x20length\x20','test','bufferedAmount','connection','_originalHostOrSocketPath','arrayBuffer','dispatch','map','emit','nextTick','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','completeUpgrade','removeListener','getInfo','kByteLength','_errorEmitted','toLowerCase','number','removeEventListener','_errored','autoPong','location','reason','clientNoContextTakeover','readUInt32BE','The\x20URL\x27s\x20pathname\x20is\x20empty','status-code','server','sec-websocket-protocol','onerror','_server','_generateMask','getConfig','_readyState','Basic\x20','websocket','decompress','_options','MASK\x20must\x20be\x20clear','_registerDependencies','readyState','string','verifyClient','WS_ERR_INVALID_UTF8','_max_window_bits','_readableState','kType','WebSocket\x20is\x20not\x20open:\x20readyState\x20','19432600QrgCmj','url','_shouldEmitClose','add','keys','finished','Upgrade','Unexpected\x20server\x20response:\x20','destroy','_url','_configService','_closeFrameReceived','frame','pending','defineProperty','pathname','Module','apply','join','_closeTimer','Invalid\x20Sec-WebSocket-Accept\x20header','headers','response','CLOSING','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WS_ERR_INVALID_CLOSE_CODE','freeze','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','36IopgRp','concurrencyLimit','_read','method','object','wsClientError','byteOffset','maskBuffer','\x20(supported\x20versions:\x20','clients','createConnection','_isServer','_queue','Sec-WebSocket-Protocol','setConfig','push','exports','handleProtocols','username'];_0x269c=function(){return _0x1a2e9e;};return _0x269c();}lr(Pe,_0x35e7b2(0x234),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0xfa2461(_0x220c46),ke(0x1,_0x3c890d),ke(0x2,_0x1542c7),ke(0x3,_0x3e5df3(_0xda502b))],Pe);var fr=Object[_0x35e7b2(0x186)],cr=(_0x21a7f4,_0x303ad9,_0x34465,_0x1dad9d)=>{for(var _0xd1840b=_0x1dad9d>0x1?void 0x0:_0x1dad9d?fr(_0x303ad9,_0x34465):_0x303ad9,_0x31c2e0=_0x21a7f4['length']-0x1,_0xea5a8c;_0x31c2e0>=0x0;_0x31c2e0--)(_0xea5a8c=_0x21a7f4[_0x31c2e0])&&(_0xd1840b=_0xea5a8c(_0xd1840b)||_0xd1840b);return _0xd1840b;},se=(_0xc1828e,_0x3c569e)=>(_0x380a2c,_0x1286bc)=>_0x3c569e(_0x380a2c,_0x1286bc,_0xc1828e);let at=class extends _0x2b77b1{constructor(_0x2d1365,_0x5a96a3,_0x5c5b1a,_0x4f53d0,_0x5aefe9){const _0x551d96=_0x35e7b2;super(_0x2d1365,_0x5a96a3,_0x5c5b1a,_0x4f53d0,_0x5aefe9);const _0x44d45f=this[_0x551d96(0x153)][_0x551d96(0x139)](Be);this[_0x551d96(0x2b3)][_0x551d96(0x1c2)]({'interceptor':(_0x3e495c,_0x2a36ec)=>{const _0x531dc9=_0x551d96;var _0x542687;const _0x36dee9=_0x3e495c[_0x531dc9(0x15e)];return(_0x542687=_0x44d45f==null?void 0x0:_0x44d45f[_0x531dc9(0x29a)])!=null&&_0x542687['cookie']&&_0x36dee9[_0x531dc9(0x2ab)]('Cookie',_0x44d45f[_0x531dc9(0x29a)][_0x531dc9(0x184)]),_0x2a36ec(_0x3e495c);}});}async['createSocket'](_0x40dbb0){const _0x39271b=_0x35e7b2;return this[_0x39271b(0x240)](_0x40dbb0);}};at=cr([se(0x0,_0x3e5df3(_0xda502b)),se(0x1,_0x3e5df3(_0x443d21)),se(0x2,_0x1542c7),se(0x3,_0x3c890d),se(0x4,_0x2da548)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};