@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504111607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1fb398=_0x2dcd;(function(_0x21b247,_0xefc9c4){const _0x40539f=_0x2dcd,_0x5ac651=_0x21b247();while(!![]){try{const _0x205846=-parseInt(_0x40539f(0x1a1))/0x1+parseInt(_0x40539f(0x175))/0x2+parseInt(_0x40539f(0x151))/0x3+parseInt(_0x40539f(0x275))/0x4*(-parseInt(_0x40539f(0x2d3))/0x5)+-parseInt(_0x40539f(0x184))/0x6+-parseInt(_0x40539f(0x150))/0x7+-parseInt(_0x40539f(0x1d2))/0x8*(parseInt(_0x40539f(0x263))/0x9);if(_0x205846===_0xefc9c4)break;else _0x5ac651['push'](_0x5ac651['shift']());}catch(_0x4e98da){_0x5ac651['push'](_0x5ac651['shift']());}}}(_0x2f38,0xdde75));import{UniverCollaborationClientPlugin as _0x446177,CollaborationSocketService as _0x60d11e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x191eed,DisposableCollection as _0x29e948,toDisposable as _0x32ded3,IConfigService as _0xe5486b,DependentOn as _0x860266,ILogService as _0x4edbea,Inject as _0x42ac31,Injector as _0x565c9f,Plugin as _0xe1776f,registerDependencies as _0x3be590}from'@univerjs/core';import{ISocketService as _0x42181d,HTTPService as _0x8c335a}from'@univerjs/network';import{Observable as _0x2285d5,share as _0x4fde65}from'rxjs';import _0x163d45 from'events';function _0x2dcd(_0x51925b,_0x2e2a19){const _0x2f38d0=_0x2f38();return _0x2dcd=function(_0x2dcded,_0x1ef168){_0x2dcded=_0x2dcded-0x125;let _0x203533=_0x2f38d0[_0x2dcded];return _0x203533;},_0x2dcd(_0x51925b,_0x2e2a19);}import _0x5eb697 from'https';import _0x2aad31 from'http';import _0x18d031 from'net';import _0x2f625b from'tls';import _0x20b8c0 from'crypto';import _0x926418 from'stream';function _0x2f38(){const _0x41704b=['_removeListeners','_queue','getMask','sha1','authorization','allowSynchronousEvents','Sec-WebSocket-Extensions','terminate','\x0d\x0a\x0d\x0a','reset','kData','origin','error','unexpected-response','toLowerCase','read','WS_NO_UTF_8_VALIDATE','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','socketPath','_protocol','getData','end','threshold','readOnly','enqueue','_state','Invalid\x20value\x20for\x20parameter\x20\x22','onerror','map','arrayBuffer','replace','serverMaxWindowBits','perMessageDeflate','open','defineProperty','readable','string','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','nodebuffer','push','_compressed','_buffers','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','protocolVersion','maskBuffer','_generateMask','sec-websocket-key','sec-websocket-extensions','_errorEmitted','_doCreateSocket','finish','Sec-WebSocket-Origin','_closeCode','shouldHandle','next','host','bind','ws:','_maskBuffer','writeHead','add','set','params','hasOwnProperty','_req','zlibDeflateOptions','RSV1\x20must\x20be\x20clear','dequeue','concat','rsv1','bufferedAmount','handleEvent','kDone','status-code','finished','_payloadLength','pathname','pipe','values','kRun','upgrade','pause','connection','startLoop','startsWith','update','digest','HTTP/1.1\x20101\x20Switching\x20Protocols','_closeMessage','shift','handshakeTimeout','getConfig','MASK\x20must\x20be\x20set','isInteger','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_opcode','once','fragments','9stewOt','isView','invalid\x20opcode\x20','destroyed','reason','conclude','offer','clients','CLOSING','concurrency','encrypted','completeUpgrade','WS_ERR_UNEXPECTED_RSV_2_3','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','port','registerHTTPInterceptor','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','204CKKRhZ','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','client_no_context_takeover','Invalid\x20Upgrade\x20header','object','target','_sender','Unknown\x20parameter\x20\x22','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_closeFrameReceived','binaryType','client_max_window_bits','href','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isValidUTF8','_inflate','close','Module','_readableState','compress','The\x20\x22','_configService','from','test','Origin','isServer','\x22\x20subprotocol\x20is\x20duplicated','protocol','clientTracking','client','_socket','then','kError','alloc','isBuffer','dispose','_injector','emitClose','frame','hostname','_errored','env','species','maxPayload','extensions','_fragmented','defaultPort','setNoDelay','server','WS_ERR_UNEXPECTED_RSV_1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unmask','_receiver','consume','create','\x20(supported\x20versions:\x20','accept','url','onmessage','_skipUTF8Validation','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','nextTick','kMessage','wsClientError','type','kCode','maxRedirects','wasClean','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','createInflateRaw','handleProtocols','cork','format','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_paused','verifyClient','errorEmitted','getPayloadLength16','handleUpgrade','abort','removeEventListener','_masked','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','callback','send','Unexpected\x20character\x20at\x20index\x20','createServer','prototype','setSocket','_readyState','apply','catch','removeListener','7135hWRruf','includes','sendFrame','http:','write','path','setConfig','normalizeParams','options','finishRequest','permessage-deflate','opcode','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Cookie','blob','size','kReason','has','username','_originalIpc','buffer','STATUS_CODES','zlibInflateOptions','WS_ERR_INVALID_UTF8','number','pluginName','_destroy','wss:','Z_DEFAULT_WINDOWBITS','function','generateMask','_write','getBlobData','_deflate','_options','cookie','_httpService','isArray','CONNECTING','skipUTF8Validation','writeUInt16BE','setTimeout','Server\x20sent\x20an\x20invalid\x20subprotocol','listening','713426RExvvd','2953563BEJtac','statusCode','_originalHostOrSocketPath','_bufferedBytes','invalid\x20UTF-8\x20sequence','needDrain','data','_loop','forEach','exports','getOwnPropertyDescriptor','headers','readUInt32BE','message','_maxPayload','collaboration-client-node.config','objectMode','mask','__esModule','kAborted','invalid\x20opcode\x200','addEventListener','flush','WS_ERR_INVALID_OPCODE','createSocket','kType','Parameter\x20\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','FIN\x20must\x20be\x20set','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','noServer','allocUnsafe','acceptAsServer','resume','autoPong','websocket','2921212LRqNDi','freeze','_closeTimer','indexOf','_firstFragment','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','uncork','_closeFrameSent','charCodeAt','code','getPayloadLength64','method','https:','_mask','isPaused','3617364zPjstx','dataMessage','extensionName','controlMessage','OPEN','_final','construct','buffers','decompress','_binaryType','\x22:\x20','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','readUInt16BE','Invalid\x20Sec-WebSocket-Accept\x20header','Unsupported\x20protocol\x20version:\x20','call','Opening\x20handshake\x20has\x20timed\x20out','File','_server','binary','removeAllListeners','ws+unix:','The\x20URL\x27s\x20pathname\x20is\x20empty','captureStackTrace','location','GET','Invalid\x20URL:\x20','235078trUSZc','_threshold','value','Sec-WebSocket-Protocol','_registerDependencies','_redirects','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','WS_ERR_EXPECTED_MASK','_isServer','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_no_context_takeover','MASK\x20must\x20be\x20clear','Maximum\x20redirects\x20exceeded','haveLength','server_max_window_bits','stream','timeout','Max\x20payload\x20size\x20exceeded','_writableState','join','server_no_context_takeover','clientMaxWindowBits','_url','Blob','readyState','socket','_extensions','cleanup','createDeflateRaw','pending','clientNoContextTakeover','Sec-WebSocket-Protocol:\x20','_totalPayloadLength','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','ping','getInfo','find','_bufferedAmount','delete','WS_ERR_EXPECTED_FIN','toStringTag','Sec-WebSocket-Extensions:\x20','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','constructor','followRedirects','keys','serverNoContextTakeover','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','4188344RDiTpz','Unexpected\x20server\x20response:\x20','pow','base64','emit','_fragments','dispatch','parse','_fin','address','password','connect','drain','endEmitted','byteOffset','CLOSED','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WebSocket','auth','byteLength','redirect','arraybuffer','warn','Server\x20sent\x20no\x20subprotocol','fin','listen','length','_decompress','default','_messageLength','sec-websocket-protocol','createError','customHeaders','jobs','_compress','onStarting','pong','_autoPong','listeners','_max_window_bits','_originalSecure','Unexpected\x20end\x20of\x20input','listenerCount','destroy','toString','backlog'];_0x2f38=function(){return _0x41704b;};return _0x2f38();}import _0x1f6728 from'url';import _0xccf6db from'zlib';import _0x1ea1fd from'buffer';import{ISnapshotServerService as _0xd28e3a}from'@univerjs-pro/collaboration';const Be=_0x1fb398(0x160),Ft={'customHeaders':{}};function jt(_0x841345){const _0x6661f4=_0x1fb398;return _0x841345&&_0x841345[_0x6661f4(0x163)]&&Object[_0x6661f4(0x2cd)][_0x6661f4(0x240)][_0x6661f4(0x195)](_0x841345,_0x6661f4(0x1ee))?_0x841345[_0x6661f4(0x1ee)]:_0x841345;}function ut(_0x5c58b3){const _0x354d2c=_0x1fb398;if(Object[_0x354d2c(0x2cd)][_0x354d2c(0x240)][_0x354d2c(0x195)](_0x5c58b3,_0x354d2c(0x163)))return _0x5c58b3;var _0x5ec06f=_0x5c58b3['default'];if(typeof _0x5ec06f==_0x354d2c(0x141)){var _0x332ec6=function _0x5d0bf4(){const _0x59c648=_0x354d2c;return this instanceof _0x5d0bf4?Reflect[_0x59c648(0x18a)](_0x5ec06f,arguments,this[_0x59c648(0x1cd)]):_0x5ec06f['apply'](this,arguments);};_0x332ec6[_0x354d2c(0x2cd)]=_0x5ec06f[_0x354d2c(0x2cd)];}else _0x332ec6={};return Object[_0x354d2c(0x222)](_0x332ec6,_0x354d2c(0x163),{'value':!0x0}),Object[_0x354d2c(0x1cf)](_0x5c58b3)[_0x354d2c(0x159)](function(_0x246aa7){const _0x437e4a=_0x354d2c;var _0x5d4914=Object[_0x437e4a(0x15b)](_0x5c58b3,_0x246aa7);Object[_0x437e4a(0x222)](_0x332ec6,_0x246aa7,_0x5d4914['get']?_0x5d4914:{'enumerable':!0x0,'get':function(){return _0x5c58b3[_0x246aa7];}});}),_0x332ec6;}var te={'exports':{}},ge,Ye;function V(){const _0x423bcd=_0x1fb398;if(Ye)return ge;Ye=0x1;const _0x35e660=[_0x423bcd(0x227),_0x423bcd(0x1e7),_0x423bcd(0x262)],_0x2dd08d=typeof Blob<'u';return _0x2dd08d&&_0x35e660[_0x423bcd(0x228)](_0x423bcd(0x132)),ge={'BINARY_TYPES':_0x35e660,'EMPTY_BUFFER':Buffer[_0x423bcd(0x296)](0x0),'GUID':_0x423bcd(0x270),'hasBlob':_0x2dd08d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x423bcd(0x24a)),'kWebSocket':Symbol(_0x423bcd(0x174)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x1fb398(0x176)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x1fb398(0x286)})),Vt=ut(Gt);var Ke;function ce(){const _0x1c04f5=_0x1fb398;if(Ke)return te[_0x1c04f5(0x15a)];Ke=0x1;const {EMPTY_BUFFER:_0x1429a4}=V(),_0x53ac92=Buffer[Symbol[_0x1c04f5(0x29f)]];function _0x50366d(_0xe2fa9a,_0x400c7c){const _0x1883e3=_0x1c04f5;if(_0xe2fa9a[_0x1883e3(0x1ec)]===0x0)return _0x1429a4;if(_0xe2fa9a[_0x1883e3(0x1ec)]===0x1)return _0xe2fa9a[0x0];const _0x51b9ee=Buffer[_0x1883e3(0x170)](_0x400c7c);let _0x334007=0x0;for(let _0x30ea00=0x0;_0x30ea00<_0xe2fa9a[_0x1883e3(0x1ec)];_0x30ea00++){const _0x5cd828=_0xe2fa9a[_0x30ea00];_0x51b9ee[_0x1883e3(0x23e)](_0x5cd828,_0x334007),_0x334007+=_0x5cd828[_0x1883e3(0x1ec)];}return _0x334007<_0x400c7c?new _0x53ac92(_0x51b9ee[_0x1883e3(0x138)],_0x51b9ee[_0x1883e3(0x1e0)],_0x334007):_0x51b9ee;}function _0x1d8e58(_0x2a0373,_0x50509c,_0x309df1,_0x5e2d8d,_0x41fe02){for(let _0x42ba59=0x0;_0x42ba59<_0x41fe02;_0x42ba59++)_0x309df1[_0x5e2d8d+_0x42ba59]=_0x2a0373[_0x42ba59]^_0x50509c[_0x42ba59&0x3];}function _0x19c232(_0x3133c4,_0xb7fd93){const _0x525351=_0x1c04f5;for(let _0x548bfe=0x0;_0x548bfe<_0x3133c4[_0x525351(0x1ec)];_0x548bfe++)_0x3133c4[_0x548bfe]^=_0xb7fd93[_0x548bfe&0x3];}function _0x1accfb(_0x288358){const _0x476ec3=_0x1c04f5;return _0x288358[_0x476ec3(0x1ec)]===_0x288358[_0x476ec3(0x138)][_0x476ec3(0x1e5)]?_0x288358[_0x476ec3(0x138)]:_0x288358[_0x476ec3(0x138)][_0x476ec3(0x2b2)](_0x288358[_0x476ec3(0x1e0)],_0x288358['byteOffset']+_0x288358[_0x476ec3(0x1ec)]);}function _0x2a9e91(_0x5430c5){const _0x156ce3=_0x1c04f5;if(_0x2a9e91[_0x156ce3(0x217)]=!0x0,Buffer[_0x156ce3(0x297)](_0x5430c5))return _0x5430c5;let _0x1abc4b;return _0x5430c5 instanceof ArrayBuffer?_0x1abc4b=new _0x53ac92(_0x5430c5):ArrayBuffer[_0x156ce3(0x264)](_0x5430c5)?_0x1abc4b=new _0x53ac92(_0x5430c5[_0x156ce3(0x138)],_0x5430c5[_0x156ce3(0x1e0)],_0x5430c5[_0x156ce3(0x1e5)]):(_0x1abc4b=Buffer['from'](_0x5430c5),_0x2a9e91[_0x156ce3(0x217)]=!0x1),_0x1abc4b;}if(te[_0x1c04f5(0x15a)]={'concat':_0x50366d,'mask':_0x1d8e58,'toArrayBuffer':_0x1accfb,'toBuffer':_0x2a9e91,'unmask':_0x19c232},!process[_0x1c04f5(0x29e)]['WS_NO_BUFFER_UTIL'])try{const _0x4e6b9a=Vt;te[_0x1c04f5(0x15a)][_0x1c04f5(0x162)]=function(_0xc5b3e5,_0x45c442,_0x5cdf1f,_0xabbeeb,_0x1ced88){_0x1ced88<0x30?_0x1d8e58(_0xc5b3e5,_0x45c442,_0x5cdf1f,_0xabbeeb,_0x1ced88):_0x4e6b9a['mask'](_0xc5b3e5,_0x45c442,_0x5cdf1f,_0xabbeeb,_0x1ced88);},te[_0x1c04f5(0x15a)][_0x1c04f5(0x2a8)]=function(_0x47b665,_0x21faa4){const _0x5757ec=_0x1c04f5;_0x47b665[_0x5757ec(0x1ec)]<0x20?_0x19c232(_0x47b665,_0x21faa4):_0x4e6b9a[_0x5757ec(0x2a8)](_0x47b665,_0x21faa4);};}catch{}return te[_0x1c04f5(0x15a)];}var ye,Xe;function qt(){const _0x15fc10=_0x1fb398;if(Xe)return ye;Xe=0x1;const _0x77bbdf=Symbol(_0x15fc10(0x249)),_0x37e90e=Symbol(_0x15fc10(0x250));class _0x1f277f{constructor(_0x4e4629){const _0x37798b=_0x15fc10;this[_0x77bbdf]=()=>{const _0x7a04df=_0x2dcd;this[_0x7a04df(0x1be)]--,this[_0x37e90e]();},this['concurrency']=_0x4e4629||0x1/0x0,this[_0x37798b(0x1f3)]=[],this['pending']=0x0;}[_0x15fc10(0x23d)](_0x21e38e){const _0x133aa5=_0x15fc10;this[_0x133aa5(0x1f3)][_0x133aa5(0x228)](_0x21e38e),this[_0x37e90e]();}[_0x37e90e](){const _0x4bcce4=_0x15fc10;if(this[_0x4bcce4(0x1be)]!==this[_0x4bcce4(0x26c)]&&this[_0x4bcce4(0x1f3)]['length']){const _0x3c117f=this['jobs'][_0x4bcce4(0x25a)]();this[_0x4bcce4(0x1be)]++,_0x3c117f(this[_0x77bbdf]);}}}return ye=_0x1f277f,ye;}var ve,Ze;function he(){const _0x10be73=_0x1fb398;if(Ze)return ve;Ze=0x1;const _0x162df9=_0xccf6db,_0x1da14b=ce(),_0x3b93c1=qt(),{kStatusCode:_0x520183}=V(),_0x1288bf=Buffer[Symbol[_0x10be73(0x29f)]],_0x14c619=Buffer[_0x10be73(0x28b)]([0x0,0x0,0xff,0xff]),_0x1c8bc9=Symbol('permessage-deflate'),_0x4cde3e=Symbol('total-length'),_0x57eba6=Symbol(_0x10be73(0x2c9)),_0x10c019=Symbol(_0x10be73(0x18b)),_0x1d273f=Symbol('error');let _0x32309d;class _0x557a08{constructor(_0x510c3d,_0x5c5c45,_0xfa5c58){const _0x2b01f7=_0x10be73;if(this[_0x2b01f7(0x15f)]=_0xfa5c58|0x0,this[_0x2b01f7(0x146)]=_0x510c3d||{},this['_threshold']=this[_0x2b01f7(0x146)][_0x2b01f7(0x216)]!==void 0x0?this[_0x2b01f7(0x146)]['threshold']:0x400,this[_0x2b01f7(0x1a9)]=!!_0x5c5c45,this['_deflate']=null,this[_0x2b01f7(0x284)]=null,this[_0x2b01f7(0x23f)]=null,!_0x32309d){const _0x5bbe64=this['_options']['concurrencyLimit']!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x32309d=new _0x3b93c1(_0x5bbe64);}}static get[_0x10be73(0x186)](){const _0x2b618f=_0x10be73;return _0x2b618f(0x12e);}[_0x10be73(0x269)](){const _0x65cc0f=_0x10be73,_0x496834={};return this[_0x65cc0f(0x146)]['serverNoContextTakeover']&&(_0x496834[_0x65cc0f(0x1b5)]=!0x0),this[_0x65cc0f(0x146)][_0x65cc0f(0x1bf)]&&(_0x496834['client_no_context_takeover']=!0x0),this[_0x65cc0f(0x146)][_0x65cc0f(0x21f)]&&(_0x496834[_0x65cc0f(0x1af)]=this[_0x65cc0f(0x146)][_0x65cc0f(0x21f)]),this[_0x65cc0f(0x146)][_0x65cc0f(0x1b6)]?_0x496834[_0x65cc0f(0x280)]=this[_0x65cc0f(0x146)][_0x65cc0f(0x1b6)]:this[_0x65cc0f(0x146)][_0x65cc0f(0x1b6)]==null&&(_0x496834['client_max_window_bits']=!0x0),_0x496834;}['accept'](_0x49f2af){const _0x374913=_0x10be73;return _0x49f2af=this[_0x374913(0x12b)](_0x49f2af),this[_0x374913(0x23f)]=this[_0x374913(0x1a9)]?this[_0x374913(0x171)](_0x49f2af):this['acceptAsClient'](_0x49f2af),this[_0x374913(0x23f)];}[_0x10be73(0x1bc)](){const _0x4b6d86=_0x10be73;if(this[_0x4b6d86(0x284)]&&(this[_0x4b6d86(0x284)][_0x4b6d86(0x285)](),this[_0x4b6d86(0x284)]=null),this[_0x4b6d86(0x145)]){const _0x8e948e=this['_deflate'][_0x57eba6];this['_deflate'][_0x4b6d86(0x285)](),this[_0x4b6d86(0x145)]=null,_0x8e948e&&_0x8e948e(new Error(_0x4b6d86(0x282)));}}[_0x10be73(0x171)](_0x56585b){const _0x4a27a5=_0x10be73,_0x4ac817=this[_0x4a27a5(0x146)],_0x4ee0b8=_0x56585b[_0x4a27a5(0x1c5)](_0x294d6c=>!(_0x4ac817[_0x4a27a5(0x1d0)]===!0x1&&_0x294d6c[_0x4a27a5(0x1b5)]||_0x294d6c[_0x4a27a5(0x1af)]&&(_0x4ac817[_0x4a27a5(0x21f)]===!0x1||typeof _0x4ac817[_0x4a27a5(0x21f)]==_0x4a27a5(0x13c)&&_0x4ac817[_0x4a27a5(0x21f)]>_0x294d6c['server_max_window_bits'])||typeof _0x4ac817['clientMaxWindowBits']==_0x4a27a5(0x13c)&&!_0x294d6c[_0x4a27a5(0x280)]));if(!_0x4ee0b8)throw new Error(_0x4a27a5(0x16e));return _0x4ac817['serverNoContextTakeover']&&(_0x4ee0b8['server_no_context_takeover']=!0x0),_0x4ac817[_0x4a27a5(0x1bf)]&&(_0x4ee0b8['client_no_context_takeover']=!0x0),typeof _0x4ac817[_0x4a27a5(0x21f)]==_0x4a27a5(0x13c)&&(_0x4ee0b8[_0x4a27a5(0x1af)]=_0x4ac817['serverMaxWindowBits']),typeof _0x4ac817['clientMaxWindowBits']==_0x4a27a5(0x13c)?_0x4ee0b8[_0x4a27a5(0x280)]=_0x4ac817[_0x4a27a5(0x1b6)]:(_0x4ee0b8[_0x4a27a5(0x280)]===!0x0||_0x4ac817[_0x4a27a5(0x1b6)]===!0x1)&&delete _0x4ee0b8['client_max_window_bits'],_0x4ee0b8;}['acceptAsClient'](_0x1f4db8){const _0x3d1adb=_0x10be73,_0x50ffd0=_0x1f4db8[0x0];if(this[_0x3d1adb(0x146)]['clientNoContextTakeover']===!0x1&&_0x50ffd0[_0x3d1adb(0x277)])throw new Error(_0x3d1adb(0x18f));if(!_0x50ffd0[_0x3d1adb(0x280)])typeof this[_0x3d1adb(0x146)][_0x3d1adb(0x1b6)]==_0x3d1adb(0x13c)&&(_0x50ffd0[_0x3d1adb(0x280)]=this[_0x3d1adb(0x146)][_0x3d1adb(0x1b6)]);else{if(this['_options'][_0x3d1adb(0x1b6)]===!0x1||typeof this[_0x3d1adb(0x146)]['clientMaxWindowBits']==_0x3d1adb(0x13c)&&_0x50ffd0[_0x3d1adb(0x280)]>this[_0x3d1adb(0x146)][_0x3d1adb(0x1b6)])throw new Error(_0x3d1adb(0x276));}return _0x50ffd0;}[_0x10be73(0x12b)](_0x5329ec){const _0x53b59e=_0x10be73;return _0x5329ec[_0x53b59e(0x159)](_0x28cf38=>{const _0x26a0c2=_0x53b59e;Object[_0x26a0c2(0x1cf)](_0x28cf38)[_0x26a0c2(0x159)](_0x3cdb00=>{const _0x31b2b7=_0x26a0c2;let _0x50b9fd=_0x28cf38[_0x3cdb00];if(_0x50b9fd[_0x31b2b7(0x1ec)]>0x1)throw new Error(_0x31b2b7(0x16b)+_0x3cdb00+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x50b9fd=_0x50b9fd[0x0],_0x3cdb00===_0x31b2b7(0x280)){if(_0x50b9fd!==!0x0){const _0x51b3a2=+_0x50b9fd;if(!Number[_0x31b2b7(0x25e)](_0x51b3a2)||_0x51b3a2<0x8||_0x51b3a2>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3cdb00+_0x31b2b7(0x18e)+_0x50b9fd);_0x50b9fd=_0x51b3a2;}else{if(!this[_0x31b2b7(0x1a9)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3cdb00+_0x31b2b7(0x18e)+_0x50b9fd);}}else{if(_0x3cdb00===_0x31b2b7(0x1af)){const _0x227c81=+_0x50b9fd;if(!Number[_0x31b2b7(0x25e)](_0x227c81)||_0x227c81<0x8||_0x227c81>0xf)throw new TypeError(_0x31b2b7(0x21a)+_0x3cdb00+_0x31b2b7(0x18e)+_0x50b9fd);_0x50b9fd=_0x227c81;}else{if(_0x3cdb00===_0x31b2b7(0x277)||_0x3cdb00===_0x31b2b7(0x1b5)){if(_0x50b9fd!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3cdb00+_0x31b2b7(0x18e)+_0x50b9fd);}else throw new Error(_0x31b2b7(0x27c)+_0x3cdb00+'\x22');}}_0x28cf38[_0x3cdb00]=_0x50b9fd;});}),_0x5329ec;}[_0x10be73(0x18c)](_0x4419e4,_0x5d57ca,_0x2fdcb5){const _0x24b4ba=_0x10be73;_0x32309d[_0x24b4ba(0x23d)](_0x587ead=>{const _0xcbb441=_0x24b4ba;this[_0xcbb441(0x1ed)](_0x4419e4,_0x5d57ca,(_0x4f91ac,_0x273eac)=>{_0x587ead(),_0x2fdcb5(_0x4f91ac,_0x273eac);});});}['compress'](_0x191e4f,_0x20f783,_0x53f9d2){_0x32309d['add'](_0x136e91=>{this['_compress'](_0x191e4f,_0x20f783,(_0x58c915,_0x4901cc)=>{_0x136e91(),_0x53f9d2(_0x58c915,_0x4901cc);});});}[_0x10be73(0x1ed)](_0x1b3df3,_0xf1f7be,_0x3934e1){const _0x241e4f=_0x10be73,_0x3344c1=this[_0x241e4f(0x1a9)]?_0x241e4f(0x292):'server';if(!this[_0x241e4f(0x284)]){const _0x571e4f=_0x3344c1+_0x241e4f(0x1f9),_0x4427b1=typeof this['params'][_0x571e4f]!=_0x241e4f(0x13c)?_0x162df9[_0x241e4f(0x140)]:this[_0x241e4f(0x23f)][_0x571e4f];this[_0x241e4f(0x284)]=_0x162df9[_0x241e4f(0x2bb)]({...this[_0x241e4f(0x146)][_0x241e4f(0x13a)],'windowBits':_0x4427b1}),this[_0x241e4f(0x284)][_0x1c8bc9]=this,this['_inflate'][_0x4cde3e]=0x0,this['_inflate'][_0x10c019]=[],this[_0x241e4f(0x284)]['on'](_0x241e4f(0x20c),_0x1215be),this[_0x241e4f(0x284)]['on']('data',_0x5aef9b);}this['_inflate'][_0x57eba6]=_0x3934e1,this[_0x241e4f(0x284)][_0x241e4f(0x128)](_0x1b3df3),_0xf1f7be&&this['_inflate']['write'](_0x14c619),this[_0x241e4f(0x284)]['flush'](()=>{const _0x53409d=_0x241e4f,_0x4bc42e=this[_0x53409d(0x284)][_0x1d273f];if(_0x4bc42e){this[_0x53409d(0x284)][_0x53409d(0x285)](),this[_0x53409d(0x284)]=null,_0x3934e1(_0x4bc42e);return;}const _0x182cf6=_0x1da14b[_0x53409d(0x245)](this['_inflate'][_0x10c019],this[_0x53409d(0x284)][_0x4cde3e]);this['_inflate']['_readableState']['endEmitted']?(this['_inflate'][_0x53409d(0x285)](),this[_0x53409d(0x284)]=null):(this[_0x53409d(0x284)][_0x4cde3e]=0x0,this[_0x53409d(0x284)][_0x10c019]=[],_0xf1f7be&&this['params'][_0x3344c1+_0x53409d(0x1ab)]&&this[_0x53409d(0x284)][_0x53409d(0x209)]()),_0x3934e1(null,_0x182cf6);});}[_0x10be73(0x1f4)](_0x328045,_0x46952d,_0xac347b){const _0x17310e=_0x10be73,_0x78aa88=this['_isServer']?'server':_0x17310e(0x292);if(!this[_0x17310e(0x145)]){const _0x9f6c84=_0x78aa88+_0x17310e(0x1f9),_0x1fca1a=typeof this[_0x17310e(0x23f)][_0x9f6c84]!=_0x17310e(0x13c)?_0x162df9[_0x17310e(0x140)]:this[_0x17310e(0x23f)][_0x9f6c84];this[_0x17310e(0x145)]=_0x162df9[_0x17310e(0x1bd)]({...this[_0x17310e(0x146)][_0x17310e(0x242)],'windowBits':_0x1fca1a}),this[_0x17310e(0x145)][_0x4cde3e]=0x0,this[_0x17310e(0x145)][_0x10c019]=[],this[_0x17310e(0x145)]['on'](_0x17310e(0x157),_0x47c898);}this[_0x17310e(0x145)][_0x57eba6]=_0xac347b,this['_deflate'][_0x17310e(0x128)](_0x328045),this[_0x17310e(0x145)][_0x17310e(0x167)](_0x162df9['Z_SYNC_FLUSH'],()=>{const _0x13218d=_0x17310e;if(!this[_0x13218d(0x145)])return;let _0x1a4a5c=_0x1da14b['concat'](this[_0x13218d(0x145)][_0x10c019],this[_0x13218d(0x145)][_0x4cde3e]);_0x46952d&&(_0x1a4a5c=new _0x1288bf(_0x1a4a5c[_0x13218d(0x138)],_0x1a4a5c[_0x13218d(0x1e0)],_0x1a4a5c[_0x13218d(0x1ec)]-0x4)),this['_deflate'][_0x57eba6]=null,this['_deflate'][_0x4cde3e]=0x0,this[_0x13218d(0x145)][_0x10c019]=[],_0x46952d&&this[_0x13218d(0x23f)][_0x78aa88+_0x13218d(0x1ab)]&&this['_deflate'][_0x13218d(0x209)](),_0xac347b(null,_0x1a4a5c);});}}ve=_0x557a08;function _0x47c898(_0x3f1fb4){const _0x59f922=_0x10be73;this[_0x10c019][_0x59f922(0x228)](_0x3f1fb4),this[_0x4cde3e]+=_0x3f1fb4[_0x59f922(0x1ec)];}function _0x5aef9b(_0x1b537f){const _0x4c0715=_0x10be73;if(this[_0x4cde3e]+=_0x1b537f['length'],this[_0x1c8bc9][_0x4c0715(0x15f)]<0x1||this[_0x4cde3e]<=this[_0x1c8bc9][_0x4c0715(0x15f)]){this[_0x10c019][_0x4c0715(0x228)](_0x1b537f);return;}this[_0x1d273f]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x1d273f][_0x4c0715(0x17e)]=_0x4c0715(0x274),this[_0x1d273f][_0x520183]=0x3f1,this['removeListener'](_0x4c0715(0x157),_0x5aef9b),this[_0x4c0715(0x209)]();}function _0x1215be(_0x49f328){this[_0x1c8bc9]['_inflate']=null,_0x49f328[_0x520183]=0x3ef,this[_0x57eba6](_0x49f328);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1fb398(0x176)](Object[_0x1fb398(0x222)]({'__proto__':null,'default':Ht},Symbol[_0x1fb398(0x1c9)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x16cab6=_0x1fb398;if(Qe)return re[_0x16cab6(0x15a)];Qe=0x1;const {isUtf8:_0x3f6dc0}=_0x1ea1fd,{hasBlob:_0x43568d}=V(),_0x1b7b14=[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 _0x5ba06f(_0x3d3bf0){return _0x3d3bf0>=0x3e8&&_0x3d3bf0<=0x3f6&&_0x3d3bf0!==0x3ec&&_0x3d3bf0!==0x3ed&&_0x3d3bf0!==0x3ee||_0x3d3bf0>=0xbb8&&_0x3d3bf0<=0x1387;}function _0x48b03c(_0xf83302){const _0x243adf=_0x16cab6,_0x1445dd=_0xf83302[_0x243adf(0x1ec)];let _0x27ee09=0x0;for(;_0x27ee09<_0x1445dd;)if((_0xf83302[_0x27ee09]&0x80)===0x0)_0x27ee09++;else{if((_0xf83302[_0x27ee09]&0xe0)===0xc0){if(_0x27ee09+0x1===_0x1445dd||(_0xf83302[_0x27ee09+0x1]&0xc0)!==0x80||(_0xf83302[_0x27ee09]&0xfe)===0xc0)return!0x1;_0x27ee09+=0x2;}else{if((_0xf83302[_0x27ee09]&0xf0)===0xe0){if(_0x27ee09+0x2>=_0x1445dd||(_0xf83302[_0x27ee09+0x1]&0xc0)!==0x80||(_0xf83302[_0x27ee09+0x2]&0xc0)!==0x80||_0xf83302[_0x27ee09]===0xe0&&(_0xf83302[_0x27ee09+0x1]&0xe0)===0x80||_0xf83302[_0x27ee09]===0xed&&(_0xf83302[_0x27ee09+0x1]&0xe0)===0xa0)return!0x1;_0x27ee09+=0x3;}else{if((_0xf83302[_0x27ee09]&0xf8)===0xf0){if(_0x27ee09+0x3>=_0x1445dd||(_0xf83302[_0x27ee09+0x1]&0xc0)!==0x80||(_0xf83302[_0x27ee09+0x2]&0xc0)!==0x80||(_0xf83302[_0x27ee09+0x3]&0xc0)!==0x80||_0xf83302[_0x27ee09]===0xf0&&(_0xf83302[_0x27ee09+0x1]&0xf0)===0x80||_0xf83302[_0x27ee09]===0xf4&&_0xf83302[_0x27ee09+0x1]>0x8f||_0xf83302[_0x27ee09]>0xf4)return!0x1;_0x27ee09+=0x4;}else return!0x1;}}}return!0x0;}function _0x4ad0d9(_0x51b632){const _0x1f803a=_0x16cab6;return _0x43568d&&typeof _0x51b632==_0x1f803a(0x279)&&typeof _0x51b632[_0x1f803a(0x21d)]==_0x1f803a(0x141)&&typeof _0x51b632[_0x1f803a(0x2b6)]==_0x1f803a(0x224)&&typeof _0x51b632[_0x1f803a(0x1b0)]==_0x1f803a(0x141)&&(_0x51b632[Symbol['toStringTag']]===_0x1f803a(0x1b8)||_0x51b632[Symbol[_0x1f803a(0x1c9)]]===_0x1f803a(0x197));}if(re[_0x16cab6(0x15a)]={'isBlob':_0x4ad0d9,'isValidStatusCode':_0x5ba06f,'isValidUTF8':_0x48b03c,'tokenChars':_0x1b7b14},_0x3f6dc0)re['exports'][_0x16cab6(0x283)]=function(_0x33efbd){const _0x4b901a=_0x16cab6;return _0x33efbd[_0x4b901a(0x1ec)]<0x18?_0x48b03c(_0x33efbd):_0x3f6dc0(_0x33efbd);};else{if(!process[_0x16cab6(0x29e)][_0x16cab6(0x210)])try{const _0x1507e9=Yt;re[_0x16cab6(0x15a)][_0x16cab6(0x283)]=function(_0x271ffa){return _0x271ffa['length']<0x20?_0x48b03c(_0x271ffa):_0x1507e9(_0x271ffa);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x45d08e=_0x1fb398;if(Je)return Se;Je=0x1;const {Writable:_0x2c0a4d}=_0x926418,_0x4a6bfe=he(),{BINARY_TYPES:_0x33f719,EMPTY_BUFFER:_0x397fc7,kStatusCode:_0x5e271d,kWebSocket:_0x2067ca}=V(),{concat:_0x10b3d0,toArrayBuffer:_0x1eb80e,unmask:_0x250b34}=ce(),{isValidStatusCode:_0x4b549d,isValidUTF8:_0x2c0837}=ne(),_0x40e7e0=Buffer[Symbol[_0x45d08e(0x29f)]],_0x29e812=0x0,_0x4d443b=0x1,_0x1ee63d=0x2,_0x35d32e=0x3,_0x43a5d8=0x4,_0x4b367b=0x5,_0x3fe24e=0x6;class _0x5ca390 extends _0x2c0a4d{constructor(_0x4f05a5={}){const _0x9146bb=_0x45d08e;super(),this[_0x9146bb(0x225)]=_0x4f05a5['allowSynchronousEvents']!==void 0x0?_0x4f05a5['allowSynchronousEvents']:!0x0,this[_0x9146bb(0x18d)]=_0x4f05a5[_0x9146bb(0x27f)]||_0x33f719[0x0],this[_0x9146bb(0x1bb)]=_0x4f05a5['extensions']||{},this[_0x9146bb(0x1a9)]=!!_0x4f05a5[_0x9146bb(0x28e)],this['_maxPayload']=_0x4f05a5[_0x9146bb(0x2a0)]|0x0,this[_0x9146bb(0x2b0)]=!!_0x4f05a5[_0x9146bb(0x14b)],this[_0x2067ca]=void 0x0,this[_0x9146bb(0x154)]=0x0,this['_buffers']=[],this[_0x9146bb(0x229)]=!0x1,this[_0x9146bb(0x24c)]=0x0,this[_0x9146bb(0x182)]=void 0x0,this[_0x9146bb(0x2a2)]=0x0,this[_0x9146bb(0x2c7)]=!0x1,this[_0x9146bb(0x1da)]=!0x1,this[_0x9146bb(0x260)]=0x0,this[_0x9146bb(0x1c1)]=0x0,this[_0x9146bb(0x1ef)]=0x0,this[_0x9146bb(0x1d7)]=[],this[_0x9146bb(0x29d)]=!0x1,this['_loop']=!0x1,this[_0x9146bb(0x219)]=_0x29e812;}[_0x45d08e(0x143)](_0x37c2b7,_0x41a6a9,_0x4dce47){const _0x62957e=_0x45d08e;if(this[_0x62957e(0x260)]===0x8&&this[_0x62957e(0x219)]==_0x29e812)return _0x4dce47();this[_0x62957e(0x154)]+=_0x37c2b7[_0x62957e(0x1ec)],this[_0x62957e(0x22a)][_0x62957e(0x228)](_0x37c2b7),this['startLoop'](_0x4dce47);}[_0x45d08e(0x2aa)](_0x34ebd9){const _0x21e008=_0x45d08e;if(this[_0x21e008(0x154)]-=_0x34ebd9,_0x34ebd9===this[_0x21e008(0x22a)][0x0][_0x21e008(0x1ec)])return this['_buffers'][_0x21e008(0x25a)]();if(_0x34ebd9<this[_0x21e008(0x22a)][0x0][_0x21e008(0x1ec)]){const _0x5019a0=this[_0x21e008(0x22a)][0x0];return this[_0x21e008(0x22a)][0x0]=new _0x40e7e0(_0x5019a0[_0x21e008(0x138)],_0x5019a0[_0x21e008(0x1e0)]+_0x34ebd9,_0x5019a0[_0x21e008(0x1ec)]-_0x34ebd9),new _0x40e7e0(_0x5019a0[_0x21e008(0x138)],_0x5019a0[_0x21e008(0x1e0)],_0x34ebd9);}const _0x19fd60=Buffer['allocUnsafe'](_0x34ebd9);do{const _0x24e2e7=this[_0x21e008(0x22a)][0x0],_0x227f39=_0x19fd60[_0x21e008(0x1ec)]-_0x34ebd9;_0x34ebd9>=_0x24e2e7[_0x21e008(0x1ec)]?_0x19fd60[_0x21e008(0x23e)](this[_0x21e008(0x22a)][_0x21e008(0x25a)](),_0x227f39):(_0x19fd60[_0x21e008(0x23e)](new Uint8Array(_0x24e2e7[_0x21e008(0x138)],_0x24e2e7['byteOffset'],_0x34ebd9),_0x227f39),this['_buffers'][0x0]=new _0x40e7e0(_0x24e2e7['buffer'],_0x24e2e7['byteOffset']+_0x34ebd9,_0x24e2e7['length']-_0x34ebd9)),_0x34ebd9-=_0x24e2e7['length'];}while(_0x34ebd9>0x0);return _0x19fd60;}['startLoop'](_0x3c9aef){const _0x2a03ca=_0x45d08e;this[_0x2a03ca(0x158)]=!0x0;do switch(this[_0x2a03ca(0x219)]){case _0x29e812:this[_0x2a03ca(0x1c4)](_0x3c9aef);break;case _0x4d443b:this['getPayloadLength16'](_0x3c9aef);break;case _0x1ee63d:this[_0x2a03ca(0x17f)](_0x3c9aef);break;case _0x35d32e:this['getMask']();break;case _0x43a5d8:this['getData'](_0x3c9aef);break;case _0x4b367b:case _0x3fe24e:this[_0x2a03ca(0x158)]=!0x1;return;}while(this[_0x2a03ca(0x158)]);this[_0x2a03ca(0x29d)]||_0x3c9aef();}[_0x45d08e(0x1c4)](_0x3533d0){const _0x207928=_0x45d08e;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x5b2c11=this['consume'](0x2);if((_0x5b2c11[0x0]&0x30)!==0x0){const _0xa3f7cd=this[_0x207928(0x1f1)](RangeError,_0x207928(0x2c8),!0x0,0x3ea,_0x207928(0x26f));_0x3533d0(_0xa3f7cd);return;}const _0x337b55=(_0x5b2c11[0x0]&0x40)===0x40;if(_0x337b55&&!this[_0x207928(0x1bb)][_0x4a6bfe[_0x207928(0x186)]]){const _0x5be843=this[_0x207928(0x1f1)](RangeError,_0x207928(0x243),!0x0,0x3ea,_0x207928(0x2a6));_0x3533d0(_0x5be843);return;}if(this['_fin']=(_0x5b2c11[0x0]&0x80)===0x80,this[_0x207928(0x260)]=_0x5b2c11[0x0]&0xf,this['_payloadLength']=_0x5b2c11[0x1]&0x7f,this['_opcode']===0x0){if(_0x337b55){const _0x22d425=this[_0x207928(0x1f1)](RangeError,_0x207928(0x243),!0x0,0x3ea,_0x207928(0x2a6));_0x3533d0(_0x22d425);return;}if(!this['_fragmented']){const _0x3380da=this[_0x207928(0x1f1)](RangeError,_0x207928(0x165),!0x0,0x3ea,_0x207928(0x168));_0x3533d0(_0x3380da);return;}this[_0x207928(0x260)]=this[_0x207928(0x2a2)];}else{if(this['_opcode']===0x1||this[_0x207928(0x260)]===0x2){if(this[_0x207928(0x2a2)]){const _0xeae2fe=this['createError'](RangeError,_0x207928(0x265)+this[_0x207928(0x260)],!0x0,0x3ea,_0x207928(0x168));_0x3533d0(_0xeae2fe);return;}this[_0x207928(0x229)]=_0x337b55;}else{if(this[_0x207928(0x260)]>0x7&&this[_0x207928(0x260)]<0xb){if(!this['_fin']){const _0x2b5328=this['createError'](RangeError,_0x207928(0x16d),!0x0,0x3ea,_0x207928(0x1c8));_0x3533d0(_0x2b5328);return;}if(_0x337b55){const _0x192daa=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x207928(0x2a6));_0x3533d0(_0x192daa);return;}if(this['_payloadLength']>0x7d||this[_0x207928(0x260)]===0x8&&this[_0x207928(0x24c)]===0x1){const _0x45c919=this['createError'](RangeError,_0x207928(0x1cc)+this[_0x207928(0x24c)],!0x0,0x3ea,_0x207928(0x27d));_0x3533d0(_0x45c919);return;}}else{const _0x44888b=this['createError'](RangeError,_0x207928(0x265)+this[_0x207928(0x260)],!0x0,0x3ea,_0x207928(0x168));_0x3533d0(_0x44888b);return;}}}if(!this['_fin']&&!this[_0x207928(0x2a2)]&&(this[_0x207928(0x2a2)]=this['_opcode']),this[_0x207928(0x2c7)]=(_0x5b2c11[0x1]&0x80)===0x80,this[_0x207928(0x1a9)]){if(!this[_0x207928(0x2c7)]){const _0x3b6e93=this['createError'](RangeError,_0x207928(0x25d),!0x0,0x3ea,_0x207928(0x1a8));_0x3533d0(_0x3b6e93);return;}}else{if(this['_masked']){const _0x4931f5=this[_0x207928(0x1f1)](RangeError,_0x207928(0x1ac),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3533d0(_0x4931f5);return;}}this['_payloadLength']===0x7e?this['_state']=_0x4d443b:this[_0x207928(0x24c)]===0x7f?this[_0x207928(0x219)]=_0x1ee63d:this['haveLength'](_0x3533d0);}[_0x45d08e(0x2c3)](_0x1aa537){const _0x320d7a=_0x45d08e;if(this['_bufferedBytes']<0x2){this[_0x320d7a(0x158)]=!0x1;return;}this['_payloadLength']=this[_0x320d7a(0x2aa)](0x2)[_0x320d7a(0x192)](0x0),this[_0x320d7a(0x1ae)](_0x1aa537);}[_0x45d08e(0x17f)](_0x2f2551){const _0x444d1a=_0x45d08e;if(this[_0x444d1a(0x154)]<0x8){this[_0x444d1a(0x158)]=!0x1;return;}const _0x30c7b1=this['consume'](0x8),_0x33925c=_0x30c7b1[_0x444d1a(0x15d)](0x0);if(_0x33925c>Math['pow'](0x2,0x15)-0x1){const _0x3dea52=this['createError'](RangeError,_0x444d1a(0x2ba),!0x1,0x3f1,_0x444d1a(0x226));_0x2f2551(_0x3dea52);return;}this[_0x444d1a(0x24c)]=_0x33925c*Math[_0x444d1a(0x1d4)](0x2,0x20)+_0x30c7b1[_0x444d1a(0x15d)](0x4),this[_0x444d1a(0x1ae)](_0x2f2551);}[_0x45d08e(0x1ae)](_0x1f0316){const _0x2ccff4=_0x45d08e;if(this[_0x2ccff4(0x24c)]&&this[_0x2ccff4(0x260)]<0x8&&(this[_0x2ccff4(0x1c1)]+=this[_0x2ccff4(0x24c)],this[_0x2ccff4(0x1c1)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x30f238=this[_0x2ccff4(0x1f1)](RangeError,_0x2ccff4(0x1b2),!0x1,0x3f1,_0x2ccff4(0x274));_0x1f0316(_0x30f238);return;}this['_masked']?this['_state']=_0x35d32e:this[_0x2ccff4(0x219)]=_0x43a5d8;}[_0x45d08e(0x202)](){const _0x55a27a=_0x45d08e;if(this[_0x55a27a(0x154)]<0x4){this['_loop']=!0x1;return;}this[_0x55a27a(0x182)]=this['consume'](0x4),this[_0x55a27a(0x219)]=_0x43a5d8;}[_0x45d08e(0x214)](_0x52c0c1){const _0x380541=_0x45d08e;let _0x374150=_0x397fc7;if(this[_0x380541(0x24c)]){if(this[_0x380541(0x154)]<this[_0x380541(0x24c)]){this['_loop']=!0x1;return;}_0x374150=this[_0x380541(0x2aa)](this['_payloadLength']),this['_masked']&&(this[_0x380541(0x182)][0x0]|this[_0x380541(0x182)][0x1]|this[_0x380541(0x182)][0x2]|this['_mask'][0x3])!==0x0&&_0x250b34(_0x374150,this[_0x380541(0x182)]);}if(this[_0x380541(0x260)]>0x7){this['controlMessage'](_0x374150,_0x52c0c1);return;}if(this[_0x380541(0x229)]){this[_0x380541(0x219)]=_0x4b367b,this['decompress'](_0x374150,_0x52c0c1);return;}_0x374150[_0x380541(0x1ec)]&&(this[_0x380541(0x1ef)]=this[_0x380541(0x1c1)],this[_0x380541(0x1d7)][_0x380541(0x228)](_0x374150)),this['dataMessage'](_0x52c0c1);}['decompress'](_0x39164f,_0x530653){const _0x490205=_0x45d08e;this['_extensions'][_0x4a6bfe[_0x490205(0x186)]]['decompress'](_0x39164f,this[_0x490205(0x1da)],(_0x29d47f,_0x29b897)=>{const _0x39fad2=_0x490205;if(_0x29d47f)return _0x530653(_0x29d47f);if(_0x29b897[_0x39fad2(0x1ec)]){if(this[_0x39fad2(0x1ef)]+=_0x29b897[_0x39fad2(0x1ec)],this['_messageLength']>this[_0x39fad2(0x15f)]&&this[_0x39fad2(0x15f)]>0x0){const _0x3b3266=this['createError'](RangeError,_0x39fad2(0x1b2),!0x1,0x3f1,_0x39fad2(0x274));_0x530653(_0x3b3266);return;}this['_fragments'][_0x39fad2(0x228)](_0x29b897);}this[_0x39fad2(0x185)](_0x530653),this[_0x39fad2(0x219)]===_0x29e812&&this[_0x39fad2(0x254)](_0x530653);});}[_0x45d08e(0x185)](_0x1b8155){const _0xeb410b=_0x45d08e;if(!this[_0xeb410b(0x1da)]){this['_state']=_0x29e812;return;}const _0x363edf=this[_0xeb410b(0x1ef)],_0x3ff547=this[_0xeb410b(0x1d7)];if(this[_0xeb410b(0x1c1)]=0x0,this[_0xeb410b(0x1ef)]=0x0,this['_fragmented']=0x0,this[_0xeb410b(0x1d7)]=[],this[_0xeb410b(0x260)]===0x2){let _0x131e25;this[_0xeb410b(0x18d)]==='nodebuffer'?_0x131e25=_0x10b3d0(_0x3ff547,_0x363edf):this[_0xeb410b(0x18d)]===_0xeb410b(0x1e7)?_0x131e25=_0x1eb80e(_0x10b3d0(_0x3ff547,_0x363edf)):this['_binaryType']===_0xeb410b(0x132)?_0x131e25=new Blob(_0x3ff547):_0x131e25=_0x3ff547,this[_0xeb410b(0x225)]?(this[_0xeb410b(0x1d6)]('message',_0x131e25,!0x0),this[_0xeb410b(0x219)]=_0x29e812):(this[_0xeb410b(0x219)]=_0x3fe24e,setImmediate(()=>{const _0xd9935=_0xeb410b;this[_0xd9935(0x1d6)](_0xd9935(0x15e),_0x131e25,!0x0),this[_0xd9935(0x219)]=_0x29e812,this[_0xd9935(0x254)](_0x1b8155);}));}else{const _0x54dc35=_0x10b3d0(_0x3ff547,_0x363edf);if(!this['_skipUTF8Validation']&&!_0x2c0837(_0x54dc35)){const _0x353c8a=this[_0xeb410b(0x1f1)](Error,_0xeb410b(0x155),!0x0,0x3ef,_0xeb410b(0x13b));_0x1b8155(_0x353c8a);return;}this[_0xeb410b(0x219)]===_0x4b367b||this[_0xeb410b(0x225)]?(this[_0xeb410b(0x1d6)](_0xeb410b(0x15e),_0x54dc35,!0x1),this['_state']=_0x29e812):(this[_0xeb410b(0x219)]=_0x3fe24e,setImmediate(()=>{const _0x4a281d=_0xeb410b;this['emit'](_0x4a281d(0x15e),_0x54dc35,!0x1),this[_0x4a281d(0x219)]=_0x29e812,this['startLoop'](_0x1b8155);}));}}[_0x45d08e(0x187)](_0x45c410,_0x4f3464){const _0x565fa4=_0x45d08e;if(this[_0x565fa4(0x260)]===0x8){if(_0x45c410[_0x565fa4(0x1ec)]===0x0)this[_0x565fa4(0x158)]=!0x1,this['emit'](_0x565fa4(0x268),0x3ed,_0x397fc7),this[_0x565fa4(0x215)]();else{const _0x1a85fd=_0x45c410[_0x565fa4(0x192)](0x0);if(!_0x4b549d(_0x1a85fd)){const _0x1122db=this[_0x565fa4(0x1f1)](RangeError,_0x565fa4(0x1cb)+_0x1a85fd,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x4f3464(_0x1122db);return;}const _0x2298be=new _0x40e7e0(_0x45c410['buffer'],_0x45c410[_0x565fa4(0x1e0)]+0x2,_0x45c410[_0x565fa4(0x1ec)]-0x2);if(!this['_skipUTF8Validation']&&!_0x2c0837(_0x2298be)){const _0x1924ca=this['createError'](Error,_0x565fa4(0x155),!0x0,0x3ef,_0x565fa4(0x13b));_0x4f3464(_0x1924ca);return;}this[_0x565fa4(0x158)]=!0x1,this['emit'](_0x565fa4(0x268),_0x1a85fd,_0x2298be),this[_0x565fa4(0x215)]();}this[_0x565fa4(0x219)]=_0x29e812;return;}this[_0x565fa4(0x225)]?(this[_0x565fa4(0x1d6)](this['_opcode']===0x9?_0x565fa4(0x1c3):_0x565fa4(0x1f6),_0x45c410),this[_0x565fa4(0x219)]=_0x29e812):(this['_state']=_0x3fe24e,setImmediate(()=>{const _0x2cbc24=_0x565fa4;this['emit'](this[_0x2cbc24(0x260)]===0x9?_0x2cbc24(0x1c3):_0x2cbc24(0x1f6),_0x45c410),this[_0x2cbc24(0x219)]=_0x29e812,this[_0x2cbc24(0x254)](_0x4f3464);}));}[_0x45d08e(0x1f1)](_0xaba15f,_0x384b33,_0x5ab288,_0x4b060c,_0x2e7808){const _0x44ad3c=_0x45d08e;this['_loop']=!0x1,this[_0x44ad3c(0x29d)]=!0x0;const _0x368bc0=new _0xaba15f(_0x5ab288?'Invalid\x20WebSocket\x20frame:\x20'+_0x384b33:_0x384b33);return Error[_0x44ad3c(0x19d)](_0x368bc0,this[_0x44ad3c(0x1f1)]),_0x368bc0[_0x44ad3c(0x17e)]=_0x2e7808,_0x368bc0[_0x5e271d]=_0x4b060c,_0x368bc0;}}return Se=_0x5ca390,Se;}var Ee,et;function _t(){const _0x1ca805=_0x1fb398;if(et)return Ee;et=0x1;const {Duplex:_0x44b232}=_0x926418,{randomFillSync:_0x53076b}=_0x20b8c0,_0xd4cb2b=he(),{EMPTY_BUFFER:_0x453b09,kWebSocket:_0x1a6c51,NOOP:_0x18334b}=V(),{isBlob:_0xe6014d,isValidStatusCode:_0x14f94b}=ne(),{mask:_0x1c2377,toBuffer:_0x5ad1f5}=ce(),_0x4e64b1=Symbol('kByteLength'),_0xa0bede=Buffer[_0x1ca805(0x296)](0x4),_0xfc6456=0x8*0x400;let _0x218dc7,_0x3f68b7=_0xfc6456;const _0x47b779=0x0,_0x323bc5=0x1,_0x1b8f6a=0x2;class _0x1a2adb{constructor(_0x11e672,_0x499cfc,_0x5ef831){const _0x37a535=_0x1ca805;this[_0x37a535(0x1bb)]=_0x499cfc||{},_0x5ef831&&(this['_generateMask']=_0x5ef831,this[_0x37a535(0x23b)]=Buffer['alloc'](0x4)),this[_0x37a535(0x293)]=_0x11e672,this[_0x37a535(0x179)]=!0x0,this[_0x37a535(0x1f4)]=!0x1,this['_bufferedBytes']=0x0,this[_0x37a535(0x201)]=[],this[_0x37a535(0x219)]=_0x47b779,this[_0x37a535(0x21b)]=_0x18334b,this[_0x1a6c51]=void 0x0;}static[_0x1ca805(0x29b)](_0x20b5d2,_0x3f46ba){const _0xc67357=_0x1ca805;let _0x364212,_0x16e07b=!0x1,_0x4480c3=0x2,_0x49cfe3=!0x1;_0x3f46ba[_0xc67357(0x162)]&&(_0x364212=_0x3f46ba[_0xc67357(0x22d)]||_0xa0bede,_0x3f46ba[_0xc67357(0x142)]?_0x3f46ba[_0xc67357(0x142)](_0x364212):(_0x3f68b7===_0xfc6456&&(_0x218dc7===void 0x0&&(_0x218dc7=Buffer[_0xc67357(0x296)](_0xfc6456)),_0x53076b(_0x218dc7,0x0,_0xfc6456),_0x3f68b7=0x0),_0x364212[0x0]=_0x218dc7[_0x3f68b7++],_0x364212[0x1]=_0x218dc7[_0x3f68b7++],_0x364212[0x2]=_0x218dc7[_0x3f68b7++],_0x364212[0x3]=_0x218dc7[_0x3f68b7++]),_0x49cfe3=(_0x364212[0x0]|_0x364212[0x1]|_0x364212[0x2]|_0x364212[0x3])===0x0,_0x4480c3=0x6);let _0x4eee36;typeof _0x20b5d2=='string'?(!_0x3f46ba[_0xc67357(0x162)]||_0x49cfe3)&&_0x3f46ba[_0x4e64b1]!==void 0x0?_0x4eee36=_0x3f46ba[_0x4e64b1]:(_0x20b5d2=Buffer[_0xc67357(0x28b)](_0x20b5d2),_0x4eee36=_0x20b5d2['length']):(_0x4eee36=_0x20b5d2[_0xc67357(0x1ec)],_0x16e07b=_0x3f46ba[_0xc67357(0x162)]&&_0x3f46ba[_0xc67357(0x217)]&&!_0x49cfe3);let _0x4fd28c=_0x4eee36;_0x4eee36>=0x10000?(_0x4480c3+=0x8,_0x4fd28c=0x7f):_0x4eee36>0x7d&&(_0x4480c3+=0x2,_0x4fd28c=0x7e);const _0x2a4852=Buffer[_0xc67357(0x170)](_0x16e07b?_0x4eee36+_0x4480c3:_0x4480c3);return _0x2a4852[0x0]=_0x3f46ba[_0xc67357(0x1ea)]?_0x3f46ba['opcode']|0x80:_0x3f46ba[_0xc67357(0x12f)],_0x3f46ba[_0xc67357(0x246)]&&(_0x2a4852[0x0]|=0x40),_0x2a4852[0x1]=_0x4fd28c,_0x4fd28c===0x7e?_0x2a4852[_0xc67357(0x14c)](_0x4eee36,0x2):_0x4fd28c===0x7f&&(_0x2a4852[0x2]=_0x2a4852[0x3]=0x0,_0x2a4852['writeUIntBE'](_0x4eee36,0x4,0x6)),_0x3f46ba[_0xc67357(0x162)]?(_0x2a4852[0x1]|=0x80,_0x2a4852[_0x4480c3-0x4]=_0x364212[0x0],_0x2a4852[_0x4480c3-0x3]=_0x364212[0x1],_0x2a4852[_0x4480c3-0x2]=_0x364212[0x2],_0x2a4852[_0x4480c3-0x1]=_0x364212[0x3],_0x49cfe3?[_0x2a4852,_0x20b5d2]:_0x16e07b?(_0x1c2377(_0x20b5d2,_0x364212,_0x2a4852,_0x4480c3,_0x4eee36),[_0x2a4852]):(_0x1c2377(_0x20b5d2,_0x364212,_0x20b5d2,0x0,_0x4eee36),[_0x2a4852,_0x20b5d2])):[_0x2a4852,_0x20b5d2];}['close'](_0x1d1230,_0x328f5f,_0x58f7ff,_0x54e0c1){const _0x4134ae=_0x1ca805;let _0x16f33a;if(_0x1d1230===void 0x0)_0x16f33a=_0x453b09;else{if(typeof _0x1d1230!=_0x4134ae(0x13c)||!_0x14f94b(_0x1d1230))throw new TypeError(_0x4134ae(0x25f));if(_0x328f5f===void 0x0||!_0x328f5f[_0x4134ae(0x1ec)])_0x16f33a=Buffer[_0x4134ae(0x170)](0x2),_0x16f33a[_0x4134ae(0x14c)](_0x1d1230,0x0);else{const _0x9328f7=Buffer[_0x4134ae(0x1e5)](_0x328f5f);if(_0x9328f7>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x16f33a=Buffer[_0x4134ae(0x170)](0x2+_0x9328f7),_0x16f33a[_0x4134ae(0x14c)](_0x1d1230,0x0),typeof _0x328f5f==_0x4134ae(0x224)?_0x16f33a[_0x4134ae(0x128)](_0x328f5f,0x2):_0x16f33a[_0x4134ae(0x23e)](_0x328f5f,0x2);}}const _0x1ce90d={[_0x4e64b1]:_0x16f33a['length'],'fin':!0x0,'generateMask':this[_0x4134ae(0x22e)],'mask':_0x58f7ff,'maskBuffer':this[_0x4134ae(0x23b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4134ae(0x219)]!==_0x47b779?this['enqueue']([this[_0x4134ae(0x1d8)],_0x16f33a,!0x1,_0x1ce90d,_0x54e0c1]):this['sendFrame'](_0x1a2adb[_0x4134ae(0x29b)](_0x16f33a,_0x1ce90d),_0x54e0c1);}['ping'](_0x578da5,_0x42c2cc,_0x531e1a){const _0x4a965b=_0x1ca805;let _0x294102,_0x33e717;if(typeof _0x578da5=='string'?(_0x294102=Buffer[_0x4a965b(0x1e5)](_0x578da5),_0x33e717=!0x1):_0xe6014d(_0x578da5)?(_0x294102=_0x578da5['size'],_0x33e717=!0x1):(_0x578da5=_0x5ad1f5(_0x578da5),_0x294102=_0x578da5['length'],_0x33e717=_0x5ad1f5[_0x4a965b(0x217)]),_0x294102>0x7d)throw new RangeError(_0x4a965b(0x211));const _0x4526b3={[_0x4e64b1]:_0x294102,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x42c2cc,'maskBuffer':this[_0x4a965b(0x23b)],'opcode':0x9,'readOnly':_0x33e717,'rsv1':!0x1};_0xe6014d(_0x578da5)?this[_0x4a965b(0x219)]!==_0x47b779?this['enqueue']([this['getBlobData'],_0x578da5,!0x1,_0x4526b3,_0x531e1a]):this['getBlobData'](_0x578da5,!0x1,_0x4526b3,_0x531e1a):this[_0x4a965b(0x219)]!==_0x47b779?this[_0x4a965b(0x218)]([this['dispatch'],_0x578da5,!0x1,_0x4526b3,_0x531e1a]):this[_0x4a965b(0x126)](_0x1a2adb[_0x4a965b(0x29b)](_0x578da5,_0x4526b3),_0x531e1a);}['pong'](_0x1697b0,_0x56183d,_0x246bc0){const _0x536413=_0x1ca805;let _0x293789,_0x4f06d0;if(typeof _0x1697b0=='string'?(_0x293789=Buffer[_0x536413(0x1e5)](_0x1697b0),_0x4f06d0=!0x1):_0xe6014d(_0x1697b0)?(_0x293789=_0x1697b0[_0x536413(0x133)],_0x4f06d0=!0x1):(_0x1697b0=_0x5ad1f5(_0x1697b0),_0x293789=_0x1697b0[_0x536413(0x1ec)],_0x4f06d0=_0x5ad1f5[_0x536413(0x217)]),_0x293789>0x7d)throw new RangeError(_0x536413(0x211));const _0x4f7cfc={[_0x4e64b1]:_0x293789,'fin':!0x0,'generateMask':this[_0x536413(0x22e)],'mask':_0x56183d,'maskBuffer':this[_0x536413(0x23b)],'opcode':0xa,'readOnly':_0x4f06d0,'rsv1':!0x1};_0xe6014d(_0x1697b0)?this['_state']!==_0x47b779?this[_0x536413(0x218)]([this[_0x536413(0x144)],_0x1697b0,!0x1,_0x4f7cfc,_0x246bc0]):this[_0x536413(0x144)](_0x1697b0,!0x1,_0x4f7cfc,_0x246bc0):this[_0x536413(0x219)]!==_0x47b779?this[_0x536413(0x218)]([this[_0x536413(0x1d8)],_0x1697b0,!0x1,_0x4f7cfc,_0x246bc0]):this[_0x536413(0x126)](_0x1a2adb[_0x536413(0x29b)](_0x1697b0,_0x4f7cfc),_0x246bc0);}[_0x1ca805(0x2ca)](_0x2c5d46,_0x54ba13,_0x17e66d){const _0x1feb67=_0x1ca805,_0x58eda3=this[_0x1feb67(0x1bb)][_0xd4cb2b[_0x1feb67(0x186)]];let _0x10bb8b=_0x54ba13[_0x1feb67(0x199)]?0x2:0x1,_0x2ff23e=_0x54ba13[_0x1feb67(0x288)],_0x34ab75,_0x1463e6;typeof _0x2c5d46==_0x1feb67(0x224)?(_0x34ab75=Buffer[_0x1feb67(0x1e5)](_0x2c5d46),_0x1463e6=!0x1):_0xe6014d(_0x2c5d46)?(_0x34ab75=_0x2c5d46['size'],_0x1463e6=!0x1):(_0x2c5d46=_0x5ad1f5(_0x2c5d46),_0x34ab75=_0x2c5d46[_0x1feb67(0x1ec)],_0x1463e6=_0x5ad1f5[_0x1feb67(0x217)]),this[_0x1feb67(0x179)]?(this[_0x1feb67(0x179)]=!0x1,_0x2ff23e&&_0x58eda3&&_0x58eda3[_0x1feb67(0x23f)][_0x58eda3[_0x1feb67(0x1a9)]?_0x1feb67(0x1b5):_0x1feb67(0x277)]&&(_0x2ff23e=_0x34ab75>=_0x58eda3[_0x1feb67(0x1a2)]),this[_0x1feb67(0x1f4)]=_0x2ff23e):(_0x2ff23e=!0x1,_0x10bb8b=0x0),_0x54ba13[_0x1feb67(0x1ea)]&&(this[_0x1feb67(0x179)]=!0x0);const _0x3f7b8e={[_0x4e64b1]:_0x34ab75,'fin':_0x54ba13[_0x1feb67(0x1ea)],'generateMask':this[_0x1feb67(0x22e)],'mask':_0x54ba13['mask'],'maskBuffer':this[_0x1feb67(0x23b)],'opcode':_0x10bb8b,'readOnly':_0x1463e6,'rsv1':_0x2ff23e};_0xe6014d(_0x2c5d46)?this[_0x1feb67(0x219)]!==_0x47b779?this[_0x1feb67(0x218)]([this[_0x1feb67(0x144)],_0x2c5d46,this[_0x1feb67(0x1f4)],_0x3f7b8e,_0x17e66d]):this[_0x1feb67(0x144)](_0x2c5d46,this[_0x1feb67(0x1f4)],_0x3f7b8e,_0x17e66d):this[_0x1feb67(0x219)]!==_0x47b779?this['enqueue']([this[_0x1feb67(0x1d8)],_0x2c5d46,this[_0x1feb67(0x1f4)],_0x3f7b8e,_0x17e66d]):this[_0x1feb67(0x1d8)](_0x2c5d46,this['_compress'],_0x3f7b8e,_0x17e66d);}[_0x1ca805(0x144)](_0xb96df,_0x115fa3,_0xca3ccd,_0x17b87e){const _0xc3fcf2=_0x1ca805;this[_0xc3fcf2(0x154)]+=_0xca3ccd[_0x4e64b1],this[_0xc3fcf2(0x219)]=_0x1b8f6a,_0xb96df[_0xc3fcf2(0x21d)]()[_0xc3fcf2(0x294)](_0x3a47f5=>{const _0x42e5a1=_0xc3fcf2;if(this[_0x42e5a1(0x293)][_0x42e5a1(0x266)]){const _0x57bfa4=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x378bcd,this,_0x57bfa4,_0x17b87e);return;}this[_0x42e5a1(0x154)]-=_0xca3ccd[_0x4e64b1];const _0x2e1d04=_0x5ad1f5(_0x3a47f5);_0x115fa3?this['dispatch'](_0x2e1d04,_0x115fa3,_0xca3ccd,_0x17b87e):(this[_0x42e5a1(0x219)]=_0x47b779,this[_0x42e5a1(0x126)](_0x1a2adb[_0x42e5a1(0x29b)](_0x2e1d04,_0xca3ccd),_0x17b87e),this['dequeue']());})[_0xc3fcf2(0x2d1)](_0x2a7f7b=>{const _0x3f68fb=_0xc3fcf2;process[_0x3f68fb(0x2b3)](_0x5de435,this,_0x2a7f7b,_0x17b87e);});}[_0x1ca805(0x1d8)](_0x6edbdb,_0x3382ae,_0x1d528b,_0x434f55){const _0x1bd4fb=_0x1ca805;if(!_0x3382ae){this[_0x1bd4fb(0x126)](_0x1a2adb[_0x1bd4fb(0x29b)](_0x6edbdb,_0x1d528b),_0x434f55);return;}const _0x261166=this[_0x1bd4fb(0x1bb)][_0xd4cb2b[_0x1bd4fb(0x186)]];this['_bufferedBytes']+=_0x1d528b[_0x4e64b1],this['_state']=_0x323bc5,_0x261166[_0x1bd4fb(0x288)](_0x6edbdb,_0x1d528b[_0x1bd4fb(0x1ea)],(_0x5a627b,_0x20d88c)=>{const _0x24b5d7=_0x1bd4fb;if(this['_socket']['destroyed']){const _0xa3eb3f=new Error(_0x24b5d7(0x1a7));_0x378bcd(this,_0xa3eb3f,_0x434f55);return;}this['_bufferedBytes']-=_0x1d528b[_0x4e64b1],this[_0x24b5d7(0x219)]=_0x47b779,_0x1d528b[_0x24b5d7(0x217)]=!0x1,this[_0x24b5d7(0x126)](_0x1a2adb['frame'](_0x20d88c,_0x1d528b),_0x434f55),this[_0x24b5d7(0x244)]();});}[_0x1ca805(0x244)](){const _0x10f93e=_0x1ca805;for(;this[_0x10f93e(0x219)]===_0x47b779&&this[_0x10f93e(0x201)][_0x10f93e(0x1ec)];){const _0x237df0=this[_0x10f93e(0x201)][_0x10f93e(0x25a)]();this[_0x10f93e(0x154)]-=_0x237df0[0x3][_0x4e64b1],Reflect[_0x10f93e(0x2d0)](_0x237df0[0x0],this,_0x237df0['slice'](0x1));}}[_0x1ca805(0x218)](_0x507387){const _0x3bbba8=_0x1ca805;this[_0x3bbba8(0x154)]+=_0x507387[0x3][_0x4e64b1],this['_queue'][_0x3bbba8(0x228)](_0x507387);}[_0x1ca805(0x126)](_0x310bc9,_0x387819){const _0x3859a2=_0x1ca805;_0x310bc9[_0x3859a2(0x1ec)]===0x2?(this['_socket'][_0x3859a2(0x2bd)](),this[_0x3859a2(0x293)][_0x3859a2(0x128)](_0x310bc9[0x0]),this[_0x3859a2(0x293)]['write'](_0x310bc9[0x1],_0x387819),this[_0x3859a2(0x293)][_0x3859a2(0x17b)]()):this[_0x3859a2(0x293)][_0x3859a2(0x128)](_0x310bc9[0x0],_0x387819);}}Ee=_0x1a2adb;function _0x378bcd(_0x351fc4,_0x2ea04e,_0x46cab9){const _0x4887a2=_0x1ca805;typeof _0x46cab9=='function'&&_0x46cab9(_0x2ea04e);for(let _0x4c2ca3=0x0;_0x4c2ca3<_0x351fc4[_0x4887a2(0x201)][_0x4887a2(0x1ec)];_0x4c2ca3++){const _0x115496=_0x351fc4['_queue'][_0x4c2ca3],_0x2db195=_0x115496[_0x115496[_0x4887a2(0x1ec)]-0x1];typeof _0x2db195==_0x4887a2(0x141)&&_0x2db195(_0x2ea04e);}}function _0x5de435(_0x2b568f,_0xd2dcc6,_0x50ab1a){const _0x325502=_0x1ca805;_0x378bcd(_0x2b568f,_0xd2dcc6,_0x50ab1a),_0x2b568f[_0x325502(0x21b)](_0xd2dcc6);}return Ee;}var xe,tt;function Kt(){const _0x32ba0c=_0x1fb398;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x380ca9,kListener:_0x5f5d0a}=V(),_0x57a0fe=Symbol(_0x32ba0c(0x2b7)),_0x6e255b=Symbol(_0x32ba0c(0x20a)),_0x4906f1=Symbol(_0x32ba0c(0x295)),_0x4bfd64=Symbol(_0x32ba0c(0x2b4)),_0x45ec6e=Symbol(_0x32ba0c(0x134)),_0x5d28e2=Symbol('kTarget'),_0x5ce399=Symbol(_0x32ba0c(0x16a)),_0x5b44a8=Symbol('kWasClean');class _0x382156{constructor(_0x2a4cc2){this[_0x5d28e2]=null,this[_0x5ce399]=_0x2a4cc2;}get[_0x32ba0c(0x27a)](){return this[_0x5d28e2];}get[_0x32ba0c(0x2b6)](){return this[_0x5ce399];}}Object[_0x32ba0c(0x222)](_0x382156[_0x32ba0c(0x2cd)],'target',{'enumerable':!0x0}),Object[_0x32ba0c(0x222)](_0x382156[_0x32ba0c(0x2cd)],_0x32ba0c(0x2b6),{'enumerable':!0x0});class _0x3d8401 extends _0x382156{constructor(_0x4012b7,_0x59d1b9={}){const _0xfa9770=_0x32ba0c;super(_0x4012b7),this[_0x57a0fe]=_0x59d1b9[_0xfa9770(0x17e)]===void 0x0?0x0:_0x59d1b9['code'],this[_0x45ec6e]=_0x59d1b9[_0xfa9770(0x267)]===void 0x0?'':_0x59d1b9[_0xfa9770(0x267)],this[_0x5b44a8]=_0x59d1b9[_0xfa9770(0x2b9)]===void 0x0?!0x1:_0x59d1b9[_0xfa9770(0x2b9)];}get[_0x32ba0c(0x17e)](){return this[_0x57a0fe];}get[_0x32ba0c(0x267)](){return this[_0x45ec6e];}get[_0x32ba0c(0x2b9)](){return this[_0x5b44a8];}}Object['defineProperty'](_0x3d8401['prototype'],_0x32ba0c(0x17e),{'enumerable':!0x0}),Object['defineProperty'](_0x3d8401[_0x32ba0c(0x2cd)],'reason',{'enumerable':!0x0}),Object[_0x32ba0c(0x222)](_0x3d8401['prototype'],'wasClean',{'enumerable':!0x0});class _0x28d997 extends _0x382156{constructor(_0x300c0e,_0x48a626={}){const _0x77fa5c=_0x32ba0c;super(_0x300c0e),this[_0x4906f1]=_0x48a626[_0x77fa5c(0x20c)]===void 0x0?null:_0x48a626['error'],this[_0x4bfd64]=_0x48a626[_0x77fa5c(0x15e)]===void 0x0?'':_0x48a626[_0x77fa5c(0x15e)];}get[_0x32ba0c(0x20c)](){return this[_0x4906f1];}get[_0x32ba0c(0x15e)](){return this[_0x4bfd64];}}Object[_0x32ba0c(0x222)](_0x28d997[_0x32ba0c(0x2cd)],_0x32ba0c(0x20c),{'enumerable':!0x0}),Object[_0x32ba0c(0x222)](_0x28d997[_0x32ba0c(0x2cd)],_0x32ba0c(0x15e),{'enumerable':!0x0});class _0x3981f8 extends _0x382156{constructor(_0x12b7f9,_0x3740d1={}){const _0x243ef6=_0x32ba0c;super(_0x12b7f9),this[_0x6e255b]=_0x3740d1['data']===void 0x0?null:_0x3740d1[_0x243ef6(0x157)];}get[_0x32ba0c(0x157)](){return this[_0x6e255b];}}Object['defineProperty'](_0x3981f8[_0x32ba0c(0x2cd)],_0x32ba0c(0x157),{'enumerable':!0x0}),xe={'CloseEvent':_0x3d8401,'ErrorEvent':_0x28d997,'Event':_0x382156,'EventTarget':{'addEventListener'(_0x3f5ce1,_0x52baaf,_0x420e14={}){const _0x190146=_0x32ba0c;for(const _0x56ee63 of this[_0x190146(0x1f8)](_0x3f5ce1))if(!_0x420e14[_0x380ca9]&&_0x56ee63[_0x5f5d0a]===_0x52baaf&&!_0x56ee63[_0x380ca9])return;let _0x46688e;if(_0x3f5ce1===_0x190146(0x15e))_0x46688e=function(_0x583bea,_0x618ec2){const _0x2253dc=_0x190146,_0x5c2284=new _0x3981f8('message',{'data':_0x618ec2?_0x583bea:_0x583bea[_0x2253dc(0x1fe)]()});_0x5c2284[_0x5d28e2]=this,_0x553d8a(_0x52baaf,this,_0x5c2284);};else{if(_0x3f5ce1===_0x190146(0x285))_0x46688e=function(_0x39e892,_0x619981){const _0x26758e=_0x190146,_0x4955ae=new _0x3d8401('close',{'code':_0x39e892,'reason':_0x619981[_0x26758e(0x1fe)](),'wasClean':this[_0x26758e(0x27e)]&&this[_0x26758e(0x17c)]});_0x4955ae[_0x5d28e2]=this,_0x553d8a(_0x52baaf,this,_0x4955ae);};else{if(_0x3f5ce1===_0x190146(0x20c))_0x46688e=function(_0xb3e63a){const _0x1a50f1=_0x190146,_0x153c19=new _0x28d997('error',{'error':_0xb3e63a,'message':_0xb3e63a[_0x1a50f1(0x15e)]});_0x153c19[_0x5d28e2]=this,_0x553d8a(_0x52baaf,this,_0x153c19);};else{if(_0x3f5ce1===_0x190146(0x221))_0x46688e=function(){const _0x38ff68=new _0x382156('open');_0x38ff68[_0x5d28e2]=this,_0x553d8a(_0x52baaf,this,_0x38ff68);};else return;}}}_0x46688e[_0x380ca9]=!!_0x420e14[_0x380ca9],_0x46688e[_0x5f5d0a]=_0x52baaf,_0x420e14[_0x190146(0x261)]?this[_0x190146(0x261)](_0x3f5ce1,_0x46688e):this['on'](_0x3f5ce1,_0x46688e);},'removeEventListener'(_0x28d09b,_0xd0a827){const _0x4e70e7=_0x32ba0c;for(const _0x2b6065 of this[_0x4e70e7(0x1f8)](_0x28d09b))if(_0x2b6065[_0x5f5d0a]===_0xd0a827&&!_0x2b6065[_0x380ca9]){this[_0x4e70e7(0x2d2)](_0x28d09b,_0x2b6065);break;}}},'MessageEvent':_0x3981f8};function _0x553d8a(_0x2319df,_0x51d8a3,_0xa0b21d){const _0x53f800=_0x32ba0c;typeof _0x2319df==_0x53f800(0x279)&&_0x2319df[_0x53f800(0x248)]?_0x2319df[_0x53f800(0x248)][_0x53f800(0x195)](_0x2319df,_0xa0b21d):_0x2319df['call'](_0x51d8a3,_0xa0b21d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x33ad48}=ne();function _0x1dfc9a(_0x5acced,_0x3f1394,_0x1cf30e){const _0x313563=_0x2dcd;_0x5acced[_0x3f1394]===void 0x0?_0x5acced[_0x3f1394]=[_0x1cf30e]:_0x5acced[_0x3f1394][_0x313563(0x228)](_0x1cf30e);}function _0x7fb8f5(_0x5b6c00){const _0x3acd7e=_0x2dcd,_0x4c7ed4=Object[_0x3acd7e(0x2ab)](null);let _0x4f49e9=Object[_0x3acd7e(0x2ab)](null),_0x9b3123=!0x1,_0x575384=!0x1,_0x883606=!0x1,_0x2b4a71,_0x4bed60,_0x310e31=-0x1,_0xc8d31d=-0x1,_0x358e16=-0x1,_0xe1227f=0x0;for(;_0xe1227f<_0x5b6c00[_0x3acd7e(0x1ec)];_0xe1227f++)if(_0xc8d31d=_0x5b6c00[_0x3acd7e(0x17d)](_0xe1227f),_0x2b4a71===void 0x0){if(_0x358e16===-0x1&&_0x33ad48[_0xc8d31d]===0x1)_0x310e31===-0x1&&(_0x310e31=_0xe1227f);else{if(_0xe1227f!==0x0&&(_0xc8d31d===0x20||_0xc8d31d===0x9))_0x358e16===-0x1&&_0x310e31!==-0x1&&(_0x358e16=_0xe1227f);else{if(_0xc8d31d===0x3b||_0xc8d31d===0x2c){if(_0x310e31===-0x1)throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);_0x358e16===-0x1&&(_0x358e16=_0xe1227f);const _0x5d6a65=_0x5b6c00[_0x3acd7e(0x2b2)](_0x310e31,_0x358e16);_0xc8d31d===0x2c?(_0x1dfc9a(_0x4c7ed4,_0x5d6a65,_0x4f49e9),_0x4f49e9=Object[_0x3acd7e(0x2ab)](null)):_0x2b4a71=_0x5d6a65,_0x310e31=_0x358e16=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe1227f);}}}else{if(_0x4bed60===void 0x0){if(_0x358e16===-0x1&&_0x33ad48[_0xc8d31d]===0x1)_0x310e31===-0x1&&(_0x310e31=_0xe1227f);else{if(_0xc8d31d===0x20||_0xc8d31d===0x9)_0x358e16===-0x1&&_0x310e31!==-0x1&&(_0x358e16=_0xe1227f);else{if(_0xc8d31d===0x3b||_0xc8d31d===0x2c){if(_0x310e31===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe1227f);_0x358e16===-0x1&&(_0x358e16=_0xe1227f),_0x1dfc9a(_0x4f49e9,_0x5b6c00[_0x3acd7e(0x2b2)](_0x310e31,_0x358e16),!0x0),_0xc8d31d===0x2c&&(_0x1dfc9a(_0x4c7ed4,_0x2b4a71,_0x4f49e9),_0x4f49e9=Object['create'](null),_0x2b4a71=void 0x0),_0x310e31=_0x358e16=-0x1;}else{if(_0xc8d31d===0x3d&&_0x310e31!==-0x1&&_0x358e16===-0x1)_0x4bed60=_0x5b6c00[_0x3acd7e(0x2b2)](_0x310e31,_0xe1227f),_0x310e31=_0x358e16=-0x1;else throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);}}}}else{if(_0x575384){if(_0x33ad48[_0xc8d31d]!==0x1)throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);_0x310e31===-0x1?_0x310e31=_0xe1227f:_0x9b3123||(_0x9b3123=!0x0),_0x575384=!0x1;}else{if(_0x883606){if(_0x33ad48[_0xc8d31d]===0x1)_0x310e31===-0x1&&(_0x310e31=_0xe1227f);else{if(_0xc8d31d===0x22&&_0x310e31!==-0x1)_0x883606=!0x1,_0x358e16=_0xe1227f;else{if(_0xc8d31d===0x5c)_0x575384=!0x0;else throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);}}}else{if(_0xc8d31d===0x22&&_0x5b6c00['charCodeAt'](_0xe1227f-0x1)===0x3d)_0x883606=!0x0;else{if(_0x358e16===-0x1&&_0x33ad48[_0xc8d31d]===0x1)_0x310e31===-0x1&&(_0x310e31=_0xe1227f);else{if(_0x310e31!==-0x1&&(_0xc8d31d===0x20||_0xc8d31d===0x9))_0x358e16===-0x1&&(_0x358e16=_0xe1227f);else{if(_0xc8d31d===0x3b||_0xc8d31d===0x2c){if(_0x310e31===-0x1)throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);_0x358e16===-0x1&&(_0x358e16=_0xe1227f);let _0x10172c=_0x5b6c00['slice'](_0x310e31,_0x358e16);_0x9b3123&&(_0x10172c=_0x10172c[_0x3acd7e(0x21e)](/\\/g,''),_0x9b3123=!0x1),_0x1dfc9a(_0x4f49e9,_0x4bed60,_0x10172c),_0xc8d31d===0x2c&&(_0x1dfc9a(_0x4c7ed4,_0x2b4a71,_0x4f49e9),_0x4f49e9=Object[_0x3acd7e(0x2ab)](null),_0x2b4a71=void 0x0),_0x4bed60=void 0x0,_0x310e31=_0x358e16=-0x1;}else throw new SyntaxError(_0x3acd7e(0x2cb)+_0xe1227f);}}}}}}}if(_0x310e31===-0x1||_0x883606||_0xc8d31d===0x20||_0xc8d31d===0x9)throw new SyntaxError(_0x3acd7e(0x1fb));_0x358e16===-0x1&&(_0x358e16=_0xe1227f);const _0x45da0c=_0x5b6c00[_0x3acd7e(0x2b2)](_0x310e31,_0x358e16);return _0x2b4a71===void 0x0?_0x1dfc9a(_0x4c7ed4,_0x45da0c,_0x4f49e9):(_0x4bed60===void 0x0?_0x1dfc9a(_0x4f49e9,_0x45da0c,!0x0):_0x9b3123?_0x1dfc9a(_0x4f49e9,_0x4bed60,_0x45da0c[_0x3acd7e(0x21e)](/\\/g,'')):_0x1dfc9a(_0x4f49e9,_0x4bed60,_0x45da0c),_0x1dfc9a(_0x4c7ed4,_0x2b4a71,_0x4f49e9)),_0x4c7ed4;}function _0xa68b3a(_0x13766f){const _0x1db8c7=_0x2dcd;return Object[_0x1db8c7(0x1cf)](_0x13766f)['map'](_0x442440=>{const _0xf2ccf6=_0x1db8c7;let _0x558dc8=_0x13766f[_0x442440];return Array[_0xf2ccf6(0x149)](_0x558dc8)||(_0x558dc8=[_0x558dc8]),_0x558dc8[_0xf2ccf6(0x21c)](_0x2b8911=>[_0x442440]['concat'](Object[_0xf2ccf6(0x1cf)](_0x2b8911)['map'](_0x2ae9ae=>{const _0x1957f9=_0xf2ccf6;let _0x2789b8=_0x2b8911[_0x2ae9ae];return Array['isArray'](_0x2789b8)||(_0x2789b8=[_0x2789b8]),_0x2789b8[_0x1957f9(0x21c)](_0x5db99d=>_0x5db99d===!0x0?_0x2ae9ae:_0x2ae9ae+'='+_0x5db99d)[_0x1957f9(0x1b4)](';\x20');}))[_0xf2ccf6(0x1b4)](';\x20'))[_0xf2ccf6(0x1b4)](',\x20');})['join'](',\x20');}return be={'format':_0xa68b3a,'parse':_0x7fb8f5},be;}var we,st;function Ie(){const _0x14f6ef=_0x1fb398;if(st)return we;st=0x1;const _0x61e017=_0x163d45,_0x3d089f=_0x5eb697,_0x15ef28=_0x2aad31,_0x14c87f=_0x18d031,_0x1b6398=_0x2f625b,{randomBytes:_0x5d32b3,createHash:_0x539cb1}=_0x20b8c0,{Duplex:_0x12f36c,Readable:_0x24de92}=_0x926418,{URL:_0xb952ab}=_0x1f6728,_0xd1ad91=he(),_0x215150=dt(),_0x3adf2e=_t(),{isBlob:_0x25f4d4}=ne(),{BINARY_TYPES:_0x321c51,EMPTY_BUFFER:_0x2f85e8,GUID:_0x183aaa,kForOnEventAttribute:_0x209c07,kListener:_0x209609,kStatusCode:_0x49c08e,kWebSocket:_0xc2f173,NOOP:_0x53a4ed}=V(),{EventTarget:{addEventListener:_0x3a63a5,removeEventListener:_0x388dee}}=Kt(),{format:_0x34e404,parse:_0x48c84d}=pt(),{toBuffer:_0x17ea93}=ce(),_0x13d19e=0x1e*0x3e8,_0x103cc6=Symbol(_0x14f6ef(0x164)),_0x3a558f=[0x8,0xd],_0x24df9f=[_0x14f6ef(0x14a),_0x14f6ef(0x188),_0x14f6ef(0x26b),_0x14f6ef(0x1e1)],_0x13f55b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x561d18 extends _0x61e017{constructor(_0x4b4fdd,_0x1e526a,_0x4e2b69){const _0x2b2c09=_0x14f6ef;super(),this[_0x2b2c09(0x18d)]=_0x321c51[0x0],this[_0x2b2c09(0x235)]=0x3ee,this[_0x2b2c09(0x27e)]=!0x1,this[_0x2b2c09(0x17c)]=!0x1,this[_0x2b2c09(0x259)]=_0x2f85e8,this[_0x2b2c09(0x177)]=null,this['_errorEmitted']=!0x1,this[_0x2b2c09(0x1bb)]={},this[_0x2b2c09(0x2c0)]=!0x1,this[_0x2b2c09(0x213)]='',this[_0x2b2c09(0x2cf)]=_0x561d18[_0x2b2c09(0x14a)],this[_0x2b2c09(0x2a9)]=null,this[_0x2b2c09(0x27b)]=null,this[_0x2b2c09(0x293)]=null,_0x4b4fdd!==null?(this[_0x2b2c09(0x1c6)]=0x0,this[_0x2b2c09(0x1a9)]=!0x1,this['_redirects']=0x0,_0x1e526a===void 0x0?_0x1e526a=[]:Array['isArray'](_0x1e526a)||(typeof _0x1e526a=='object'&&_0x1e526a!==null?(_0x4e2b69=_0x1e526a,_0x1e526a=[]):_0x1e526a=[_0x1e526a]),_0xd94f4d(this,_0x4b4fdd,_0x1e526a,_0x4e2b69)):(this[_0x2b2c09(0x1f7)]=_0x4e2b69[_0x2b2c09(0x173)],this[_0x2b2c09(0x1a9)]=!0x0);}get[_0x14f6ef(0x27f)](){const _0x4a2f96=_0x14f6ef;return this[_0x4a2f96(0x18d)];}set[_0x14f6ef(0x27f)](_0x3e6159){const _0x1c7487=_0x14f6ef;_0x321c51[_0x1c7487(0x125)](_0x3e6159)&&(this[_0x1c7487(0x18d)]=_0x3e6159,this[_0x1c7487(0x2a9)]&&(this[_0x1c7487(0x2a9)][_0x1c7487(0x18d)]=_0x3e6159));}get[_0x14f6ef(0x247)](){const _0x4c0939=_0x14f6ef;return this['_socket']?this[_0x4c0939(0x293)][_0x4c0939(0x1b3)]['length']+this[_0x4c0939(0x27b)][_0x4c0939(0x154)]:this[_0x4c0939(0x1c6)];}get[_0x14f6ef(0x2a1)](){const _0x2a9620=_0x14f6ef;return Object[_0x2a9620(0x1cf)](this[_0x2a9620(0x1bb)])[_0x2a9620(0x1b4)]();}get[_0x14f6ef(0x183)](){const _0x21d93e=_0x14f6ef;return this[_0x21d93e(0x2c0)];}get['onclose'](){return null;}get[_0x14f6ef(0x21b)](){return null;}get['onopen'](){return null;}get[_0x14f6ef(0x2af)](){return null;}get[_0x14f6ef(0x290)](){const _0x3a4355=_0x14f6ef;return this[_0x3a4355(0x213)];}get[_0x14f6ef(0x1b9)](){return this['_readyState'];}get[_0x14f6ef(0x2ae)](){const _0x246589=_0x14f6ef;return this[_0x246589(0x1b7)];}[_0x14f6ef(0x2ce)](_0x1ccacf,_0x4a99f7,_0x1b590f){const _0x495d2b=_0x14f6ef,_0x2aa2b1=new _0x215150({'allowSynchronousEvents':_0x1b590f[_0x495d2b(0x205)],'binaryType':this['binaryType'],'extensions':this[_0x495d2b(0x1bb)],'isServer':this[_0x495d2b(0x1a9)],'maxPayload':_0x1b590f['maxPayload'],'skipUTF8Validation':_0x1b590f[_0x495d2b(0x14b)]}),_0x15f318=new _0x3adf2e(_0x1ccacf,this[_0x495d2b(0x1bb)],_0x1b590f['generateMask']);this['_receiver']=_0x2aa2b1,this[_0x495d2b(0x27b)]=_0x15f318,this[_0x495d2b(0x293)]=_0x1ccacf,_0x2aa2b1[_0xc2f173]=this,_0x15f318[_0xc2f173]=this,_0x1ccacf[_0xc2f173]=this,_0x2aa2b1['on'](_0x495d2b(0x268),_0x11a658),_0x2aa2b1['on'](_0x495d2b(0x1de),_0x33dc74),_0x2aa2b1['on'](_0x495d2b(0x20c),_0x5c7dd),_0x2aa2b1['on'](_0x495d2b(0x15e),_0x2f01a7),_0x2aa2b1['on'](_0x495d2b(0x1c3),_0x469a2a),_0x2aa2b1['on'](_0x495d2b(0x1f6),_0x29febf),_0x15f318[_0x495d2b(0x21b)]=_0x4779a2,_0x1ccacf[_0x495d2b(0x14d)]&&_0x1ccacf[_0x495d2b(0x14d)](0x0),_0x1ccacf[_0x495d2b(0x2a4)]&&_0x1ccacf['setNoDelay'](),_0x4a99f7[_0x495d2b(0x1ec)]>0x0&&_0x1ccacf['unshift'](_0x4a99f7),_0x1ccacf['on'](_0x495d2b(0x285),_0x1c7af8),_0x1ccacf['on'](_0x495d2b(0x157),_0x2ede27),_0x1ccacf['on'](_0x495d2b(0x215),_0x46fc6c),_0x1ccacf['on'](_0x495d2b(0x20c),_0x51d3c0),this[_0x495d2b(0x2cf)]=_0x561d18['OPEN'],this[_0x495d2b(0x1d6)]('open');}['emitClose'](){const _0x2cbb8d=_0x14f6ef;if(!this[_0x2cbb8d(0x293)]){this[_0x2cbb8d(0x2cf)]=_0x561d18['CLOSED'],this[_0x2cbb8d(0x1d6)](_0x2cbb8d(0x285),this[_0x2cbb8d(0x235)],this[_0x2cbb8d(0x259)]);return;}this[_0x2cbb8d(0x1bb)][_0xd1ad91['extensionName']]&&this['_extensions'][_0xd1ad91[_0x2cbb8d(0x186)]][_0x2cbb8d(0x1bc)](),this[_0x2cbb8d(0x2a9)][_0x2cbb8d(0x19a)](),this[_0x2cbb8d(0x2cf)]=_0x561d18[_0x2cbb8d(0x1e1)],this[_0x2cbb8d(0x1d6)](_0x2cbb8d(0x285),this[_0x2cbb8d(0x235)],this[_0x2cbb8d(0x259)]);}['close'](_0x3a43ac,_0x20c765){const _0x4fe030=_0x14f6ef;if(this[_0x4fe030(0x1b9)]!==_0x561d18[_0x4fe030(0x1e1)]){if(this[_0x4fe030(0x1b9)]===_0x561d18[_0x4fe030(0x14a)]){_0x136ae9(this,this[_0x4fe030(0x241)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4fe030(0x1b9)]===_0x561d18[_0x4fe030(0x26b)]){this[_0x4fe030(0x17c)]&&(this[_0x4fe030(0x27e)]||this[_0x4fe030(0x2a9)][_0x4fe030(0x1b3)]['errorEmitted'])&&this[_0x4fe030(0x293)]['end']();return;}this['_readyState']=_0x561d18[_0x4fe030(0x26b)],this[_0x4fe030(0x27b)][_0x4fe030(0x285)](_0x3a43ac,_0x20c765,!this[_0x4fe030(0x1a9)],_0x268a2c=>{const _0x14802a=_0x4fe030;_0x268a2c||(this[_0x14802a(0x17c)]=!0x0,(this[_0x14802a(0x27e)]||this[_0x14802a(0x2a9)][_0x14802a(0x1b3)]['errorEmitted'])&&this[_0x14802a(0x293)][_0x14802a(0x215)]());}),_0x46559f(this);}}[_0x14f6ef(0x252)](){const _0x240602=_0x14f6ef;this[_0x240602(0x1b9)]===_0x561d18[_0x240602(0x14a)]||this[_0x240602(0x1b9)]===_0x561d18[_0x240602(0x1e1)]||(this[_0x240602(0x2c0)]=!0x0,this[_0x240602(0x293)][_0x240602(0x252)]());}[_0x14f6ef(0x1c3)](_0x25314c,_0x480784,_0x2964ad){const _0x578482=_0x14f6ef;if(this['readyState']===_0x561d18[_0x578482(0x14a)])throw new Error(_0x578482(0x191));if(typeof _0x25314c==_0x578482(0x141)?(_0x2964ad=_0x25314c,_0x25314c=_0x480784=void 0x0):typeof _0x480784==_0x578482(0x141)&&(_0x2964ad=_0x480784,_0x480784=void 0x0),typeof _0x25314c==_0x578482(0x13c)&&(_0x25314c=_0x25314c['toString']()),this[_0x578482(0x1b9)]!==_0x561d18[_0x578482(0x188)]){_0x98700a(this,_0x25314c,_0x2964ad);return;}_0x480784===void 0x0&&(_0x480784=!this[_0x578482(0x1a9)]),this[_0x578482(0x27b)]['ping'](_0x25314c||_0x2f85e8,_0x480784,_0x2964ad);}['pong'](_0x2f62cc,_0x4aa9f0,_0xca7966){const _0x421018=_0x14f6ef;if(this[_0x421018(0x1b9)]===_0x561d18[_0x421018(0x14a)])throw new Error(_0x421018(0x191));if(typeof _0x2f62cc==_0x421018(0x141)?(_0xca7966=_0x2f62cc,_0x2f62cc=_0x4aa9f0=void 0x0):typeof _0x4aa9f0=='function'&&(_0xca7966=_0x4aa9f0,_0x4aa9f0=void 0x0),typeof _0x2f62cc==_0x421018(0x13c)&&(_0x2f62cc=_0x2f62cc[_0x421018(0x1fe)]()),this[_0x421018(0x1b9)]!==_0x561d18['OPEN']){_0x98700a(this,_0x2f62cc,_0xca7966);return;}_0x4aa9f0===void 0x0&&(_0x4aa9f0=!this[_0x421018(0x1a9)]),this['_sender']['pong'](_0x2f62cc||_0x2f85e8,_0x4aa9f0,_0xca7966);}[_0x14f6ef(0x172)](){const _0x3e3dc0=_0x14f6ef;this[_0x3e3dc0(0x1b9)]===_0x561d18[_0x3e3dc0(0x14a)]||this[_0x3e3dc0(0x1b9)]===_0x561d18[_0x3e3dc0(0x1e1)]||(this[_0x3e3dc0(0x2c0)]=!0x1,this[_0x3e3dc0(0x2a9)][_0x3e3dc0(0x1b3)][_0x3e3dc0(0x156)]||this[_0x3e3dc0(0x293)][_0x3e3dc0(0x172)]());}[_0x14f6ef(0x2ca)](_0x471d1d,_0x572862,_0x29d52f){const _0x4d2119=_0x14f6ef;if(this['readyState']===_0x561d18[_0x4d2119(0x14a)])throw new Error(_0x4d2119(0x191));if(typeof _0x572862=='function'&&(_0x29d52f=_0x572862,_0x572862={}),typeof _0x471d1d==_0x4d2119(0x13c)&&(_0x471d1d=_0x471d1d[_0x4d2119(0x1fe)]()),this[_0x4d2119(0x1b9)]!==_0x561d18['OPEN']){_0x98700a(this,_0x471d1d,_0x29d52f);return;}const _0x39d5ab={'binary':typeof _0x471d1d!=_0x4d2119(0x224),'mask':!this[_0x4d2119(0x1a9)],'compress':!0x0,'fin':!0x0,..._0x572862};this[_0x4d2119(0x1bb)][_0xd1ad91[_0x4d2119(0x186)]]||(_0x39d5ab[_0x4d2119(0x288)]=!0x1),this[_0x4d2119(0x27b)][_0x4d2119(0x2ca)](_0x471d1d||_0x2f85e8,_0x39d5ab,_0x29d52f);}['terminate'](){const _0x10b697=_0x14f6ef;if(this[_0x10b697(0x1b9)]!==_0x561d18['CLOSED']){if(this[_0x10b697(0x1b9)]===_0x561d18['CONNECTING']){_0x136ae9(this,this[_0x10b697(0x241)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this[_0x10b697(0x2cf)]=_0x561d18[_0x10b697(0x26b)],this['_socket'][_0x10b697(0x1fd)]());}}}Object[_0x14f6ef(0x222)](_0x561d18,_0x14f6ef(0x14a),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x14a))}),Object['defineProperty'](_0x561d18[_0x14f6ef(0x2cd)],_0x14f6ef(0x14a),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x14a))}),Object[_0x14f6ef(0x222)](_0x561d18,'OPEN',{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x188))}),Object[_0x14f6ef(0x222)](_0x561d18[_0x14f6ef(0x2cd)],_0x14f6ef(0x188),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)]('OPEN')}),Object[_0x14f6ef(0x222)](_0x561d18,_0x14f6ef(0x26b),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)]('CLOSING')}),Object[_0x14f6ef(0x222)](_0x561d18[_0x14f6ef(0x2cd)],'CLOSING',{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x26b))}),Object[_0x14f6ef(0x222)](_0x561d18,_0x14f6ef(0x1e1),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x1e1))}),Object[_0x14f6ef(0x222)](_0x561d18[_0x14f6ef(0x2cd)],_0x14f6ef(0x1e1),{'enumerable':!0x0,'value':_0x24df9f[_0x14f6ef(0x178)](_0x14f6ef(0x1e1))}),[_0x14f6ef(0x27f),_0x14f6ef(0x247),_0x14f6ef(0x2a1),'isPaused',_0x14f6ef(0x290),_0x14f6ef(0x1b9),_0x14f6ef(0x2ae)][_0x14f6ef(0x159)](_0x38f1ba=>{const _0x3ea289=_0x14f6ef;Object[_0x3ea289(0x222)](_0x561d18[_0x3ea289(0x2cd)],_0x38f1ba,{'enumerable':!0x0});}),[_0x14f6ef(0x221),_0x14f6ef(0x20c),_0x14f6ef(0x285),_0x14f6ef(0x15e)][_0x14f6ef(0x159)](_0x3379e0=>{const _0x1b84eb=_0x14f6ef;Object[_0x1b84eb(0x222)](_0x561d18['prototype'],'on'+_0x3379e0,{'enumerable':!0x0,'get'(){const _0x5a4a1c=_0x1b84eb;for(const _0x1db7fc of this[_0x5a4a1c(0x1f8)](_0x3379e0))if(_0x1db7fc[_0x209c07])return _0x1db7fc[_0x209609];return null;},'set'(_0x3bc228){const _0x51e2fb=_0x1b84eb;for(const _0x1bfa3a of this['listeners'](_0x3379e0))if(_0x1bfa3a[_0x209c07]){this['removeListener'](_0x3379e0,_0x1bfa3a);break;}typeof _0x3bc228==_0x51e2fb(0x141)&&this[_0x51e2fb(0x166)](_0x3379e0,_0x3bc228,{[_0x209c07]:!0x0});}});}),_0x561d18[_0x14f6ef(0x2cd)][_0x14f6ef(0x166)]=_0x3a63a5,_0x561d18[_0x14f6ef(0x2cd)]['removeEventListener']=_0x388dee,we=_0x561d18;function _0xd94f4d(_0x2cf753,_0x2a30e8,_0x1ad211,_0x1243a9){const _0x59be8b=_0x14f6ef,_0x569fcb={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a558f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1243a9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x59be8b(0x19f),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2cf753[_0x59be8b(0x1f7)]=_0x569fcb[_0x59be8b(0x173)],!_0x3a558f['includes'](_0x569fcb['protocolVersion']))throw new RangeError(_0x59be8b(0x194)+_0x569fcb[_0x59be8b(0x22c)]+_0x59be8b(0x2ac)+_0x3a558f[_0x59be8b(0x1b4)](',\x20')+')');let _0x55ede4;if(_0x2a30e8 instanceof _0xb952ab)_0x55ede4=_0x2a30e8;else try{_0x55ede4=new _0xb952ab(_0x2a30e8);}catch{throw new SyntaxError(_0x59be8b(0x1a0)+_0x2a30e8);}_0x55ede4[_0x59be8b(0x290)]===_0x59be8b(0x127)?_0x55ede4['protocol']='ws:':_0x55ede4[_0x59be8b(0x290)]===_0x59be8b(0x181)&&(_0x55ede4[_0x59be8b(0x290)]=_0x59be8b(0x13f)),_0x2cf753[_0x59be8b(0x1b7)]=_0x55ede4[_0x59be8b(0x281)];const _0x23efcb=_0x55ede4[_0x59be8b(0x290)]===_0x59be8b(0x13f),_0x1ebce6=_0x55ede4[_0x59be8b(0x290)]===_0x59be8b(0x19b);let _0x57242e;if(_0x55ede4[_0x59be8b(0x290)]!==_0x59be8b(0x23a)&&!_0x23efcb&&!_0x1ebce6?_0x57242e=_0x59be8b(0x17a):_0x1ebce6&&!_0x55ede4[_0x59be8b(0x24d)]?_0x57242e=_0x59be8b(0x19c):_0x55ede4['hash']&&(_0x57242e='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x57242e){const _0x342552=new SyntaxError(_0x57242e);if(_0x2cf753['_redirects']===0x0)throw _0x342552;_0x154417(_0x2cf753,_0x342552);return;}const _0x1baf87=_0x23efcb?0x1bb:0x50,_0x3a2113=_0x5d32b3(0x10)[_0x59be8b(0x1fe)](_0x59be8b(0x1d5)),_0x10b594=_0x23efcb?_0x3d089f['request']:_0x15ef28['request'],_0x48683c=new Set();let _0x225e6f;if(_0x569fcb['createConnection']=_0x569fcb['createConnection']||(_0x23efcb?_0x311eb7:_0xcf61ef),_0x569fcb[_0x59be8b(0x2a3)]=_0x569fcb['defaultPort']||_0x1baf87,_0x569fcb['port']=_0x55ede4['port']||_0x1baf87,_0x569fcb['host']=_0x55ede4[_0x59be8b(0x29c)][_0x59be8b(0x255)]('[')?_0x55ede4[_0x59be8b(0x29c)][_0x59be8b(0x2b2)](0x1,-0x1):_0x55ede4['hostname'],_0x569fcb[_0x59be8b(0x15c)]={..._0x569fcb['headers'],'Sec-WebSocket-Version':_0x569fcb['protocolVersion'],'Sec-WebSocket-Key':_0x3a2113,'Connection':'Upgrade','Upgrade':'websocket'},_0x569fcb['path']=_0x55ede4[_0x59be8b(0x24d)]+_0x55ede4['search'],_0x569fcb[_0x59be8b(0x1b1)]=_0x569fcb[_0x59be8b(0x25b)],_0x569fcb[_0x59be8b(0x220)]&&(_0x225e6f=new _0xd1ad91(_0x569fcb[_0x59be8b(0x220)]!==!0x0?_0x569fcb['perMessageDeflate']:{},!0x1,_0x569fcb[_0x59be8b(0x2a0)]),_0x569fcb['headers'][_0x59be8b(0x206)]=_0x34e404({[_0xd1ad91[_0x59be8b(0x186)]]:_0x225e6f[_0x59be8b(0x269)]()})),_0x1ad211['length']){for(const _0x664de5 of _0x1ad211){if(typeof _0x664de5!='string'||!_0x13f55b[_0x59be8b(0x28c)](_0x664de5)||_0x48683c[_0x59be8b(0x135)](_0x664de5))throw new SyntaxError(_0x59be8b(0x1aa));_0x48683c['add'](_0x664de5);}_0x569fcb[_0x59be8b(0x15c)][_0x59be8b(0x1a4)]=_0x1ad211['join'](',');}if(_0x569fcb['origin']&&(_0x569fcb[_0x59be8b(0x22c)]<0xd?_0x569fcb[_0x59be8b(0x15c)][_0x59be8b(0x234)]=_0x569fcb['origin']:_0x569fcb[_0x59be8b(0x15c)][_0x59be8b(0x28d)]=_0x569fcb['origin']),(_0x55ede4[_0x59be8b(0x136)]||_0x55ede4[_0x59be8b(0x1dc)])&&(_0x569fcb[_0x59be8b(0x1e4)]=_0x55ede4[_0x59be8b(0x136)]+':'+_0x55ede4[_0x59be8b(0x1dc)]),_0x1ebce6){const _0x7b1c55=_0x569fcb['path']['split'](':');_0x569fcb[_0x59be8b(0x212)]=_0x7b1c55[0x0],_0x569fcb[_0x59be8b(0x129)]=_0x7b1c55[0x1];}let _0x41c3fa;if(_0x569fcb[_0x59be8b(0x1ce)]){if(_0x2cf753[_0x59be8b(0x1a6)]===0x0){_0x2cf753['_originalIpc']=_0x1ebce6,_0x2cf753['_originalSecure']=_0x23efcb,_0x2cf753[_0x59be8b(0x153)]=_0x1ebce6?_0x569fcb['socketPath']:_0x55ede4['host'];const _0x483eb8=_0x1243a9&&_0x1243a9['headers'];if(_0x1243a9={..._0x1243a9,'headers':{}},_0x483eb8){for(const [_0x316b33,_0x150769]of Object['entries'](_0x483eb8))_0x1243a9[_0x59be8b(0x15c)][_0x316b33[_0x59be8b(0x20e)]()]=_0x150769;}}else{if(_0x2cf753[_0x59be8b(0x1fc)](_0x59be8b(0x1e6))===0x0){const _0x1864c5=_0x1ebce6?_0x2cf753['_originalIpc']?_0x569fcb['socketPath']===_0x2cf753['_originalHostOrSocketPath']:!0x1:_0x2cf753[_0x59be8b(0x137)]?!0x1:_0x55ede4[_0x59be8b(0x238)]===_0x2cf753['_originalHostOrSocketPath'];(!_0x1864c5||_0x2cf753[_0x59be8b(0x1fa)]&&!_0x23efcb)&&(delete _0x569fcb[_0x59be8b(0x15c)][_0x59be8b(0x204)],delete _0x569fcb[_0x59be8b(0x15c)][_0x59be8b(0x147)],_0x1864c5||delete _0x569fcb[_0x59be8b(0x15c)]['host'],_0x569fcb[_0x59be8b(0x1e4)]=void 0x0);}}_0x569fcb[_0x59be8b(0x1e4)]&&!_0x1243a9[_0x59be8b(0x15c)][_0x59be8b(0x204)]&&(_0x1243a9['headers'][_0x59be8b(0x204)]='Basic\x20'+Buffer[_0x59be8b(0x28b)](_0x569fcb[_0x59be8b(0x1e4)])[_0x59be8b(0x1fe)](_0x59be8b(0x1d5))),_0x41c3fa=_0x2cf753[_0x59be8b(0x241)]=_0x10b594(_0x569fcb),_0x2cf753[_0x59be8b(0x1a6)]&&_0x2cf753[_0x59be8b(0x1d6)](_0x59be8b(0x1e6),_0x2cf753['url'],_0x41c3fa);}else _0x41c3fa=_0x2cf753[_0x59be8b(0x241)]=_0x10b594(_0x569fcb);_0x569fcb[_0x59be8b(0x1b1)]&&_0x41c3fa['on'](_0x59be8b(0x1b1),()=>{const _0x589991=_0x59be8b;_0x136ae9(_0x2cf753,_0x41c3fa,_0x589991(0x196));}),_0x41c3fa['on']('error',_0x87785c=>{_0x41c3fa===null||_0x41c3fa[_0x103cc6]||(_0x41c3fa=_0x2cf753['_req']=null,_0x154417(_0x2cf753,_0x87785c));}),_0x41c3fa['on']('response',_0x12482b=>{const _0x463275=_0x59be8b,_0x4aed59=_0x12482b[_0x463275(0x15c)][_0x463275(0x19e)],_0x1e352c=_0x12482b['statusCode'];if(_0x4aed59&&_0x569fcb[_0x463275(0x1ce)]&&_0x1e352c>=0x12c&&_0x1e352c<0x190){if(++_0x2cf753['_redirects']>_0x569fcb[_0x463275(0x2b8)]){_0x136ae9(_0x2cf753,_0x41c3fa,_0x463275(0x1ad));return;}_0x41c3fa[_0x463275(0x2c5)]();let _0x39a8ed;try{_0x39a8ed=new _0xb952ab(_0x4aed59,_0x2a30e8);}catch{const _0x58dd06=new SyntaxError(_0x463275(0x1a0)+_0x4aed59);_0x154417(_0x2cf753,_0x58dd06);return;}_0xd94f4d(_0x2cf753,_0x39a8ed,_0x1ad211,_0x1243a9);}else _0x2cf753[_0x463275(0x1d6)](_0x463275(0x20d),_0x41c3fa,_0x12482b)||_0x136ae9(_0x2cf753,_0x41c3fa,_0x463275(0x1d3)+_0x12482b[_0x463275(0x152)]);}),_0x41c3fa['on'](_0x59be8b(0x251),(_0x929b89,_0x175283,_0x29f92b)=>{const _0x256dc4=_0x59be8b;if(_0x2cf753[_0x256dc4(0x1d6)](_0x256dc4(0x251),_0x929b89),_0x2cf753[_0x256dc4(0x1b9)]!==_0x561d18[_0x256dc4(0x14a)])return;_0x41c3fa=_0x2cf753[_0x256dc4(0x241)]=null;const _0x500146=_0x929b89['headers'][_0x256dc4(0x251)];if(_0x500146===void 0x0||_0x500146[_0x256dc4(0x20e)]()!=='websocket'){_0x136ae9(_0x2cf753,_0x175283,'Invalid\x20Upgrade\x20header');return;}const _0x48a42b=_0x539cb1(_0x256dc4(0x203))['update'](_0x3a2113+_0x183aaa)[_0x256dc4(0x257)]('base64');if(_0x929b89[_0x256dc4(0x15c)]['sec-websocket-accept']!==_0x48a42b){_0x136ae9(_0x2cf753,_0x175283,_0x256dc4(0x193));return;}const _0x1c10e9=_0x929b89[_0x256dc4(0x15c)][_0x256dc4(0x1f0)];let _0x2b356b;if(_0x1c10e9!==void 0x0?_0x48683c['size']?_0x48683c[_0x256dc4(0x135)](_0x1c10e9)||(_0x2b356b=_0x256dc4(0x14e)):_0x2b356b=_0x256dc4(0x2bf):_0x48683c[_0x256dc4(0x133)]&&(_0x2b356b=_0x256dc4(0x1e9)),_0x2b356b){_0x136ae9(_0x2cf753,_0x175283,_0x2b356b);return;}_0x1c10e9&&(_0x2cf753[_0x256dc4(0x213)]=_0x1c10e9);const _0x70f3f9=_0x929b89[_0x256dc4(0x15c)][_0x256dc4(0x230)];if(_0x70f3f9!==void 0x0){if(!_0x225e6f){_0x136ae9(_0x2cf753,_0x175283,_0x256dc4(0x273));return;}let _0x448787;try{_0x448787=_0x48c84d(_0x70f3f9);}catch{_0x136ae9(_0x2cf753,_0x175283,_0x256dc4(0x2b1));return;}const _0x37f32e=Object[_0x256dc4(0x1cf)](_0x448787);if(_0x37f32e[_0x256dc4(0x1ec)]!==0x1||_0x37f32e[0x0]!==_0xd1ad91[_0x256dc4(0x186)]){_0x136ae9(_0x2cf753,_0x175283,_0x256dc4(0x1e2));return;}try{_0x225e6f[_0x256dc4(0x2ad)](_0x448787[_0xd1ad91[_0x256dc4(0x186)]]);}catch{_0x136ae9(_0x2cf753,_0x175283,_0x256dc4(0x2b1));return;}_0x2cf753[_0x256dc4(0x1bb)][_0xd1ad91[_0x256dc4(0x186)]]=_0x225e6f;}_0x2cf753['setSocket'](_0x175283,_0x29f92b,{'allowSynchronousEvents':_0x569fcb[_0x256dc4(0x205)],'generateMask':_0x569fcb[_0x256dc4(0x142)],'maxPayload':_0x569fcb['maxPayload'],'skipUTF8Validation':_0x569fcb['skipUTF8Validation']});}),_0x569fcb[_0x59be8b(0x12d)]?_0x569fcb[_0x59be8b(0x12d)](_0x41c3fa,_0x2cf753):_0x41c3fa[_0x59be8b(0x215)]();}function _0x154417(_0x5ae84d,_0x645d5e){const _0x2b57e0=_0x14f6ef;_0x5ae84d[_0x2b57e0(0x2cf)]=_0x561d18[_0x2b57e0(0x26b)],_0x5ae84d[_0x2b57e0(0x231)]=!0x0,_0x5ae84d['emit'](_0x2b57e0(0x20c),_0x645d5e),_0x5ae84d[_0x2b57e0(0x29a)]();}function _0xcf61ef(_0x4f81bc){const _0x3d8da6=_0x14f6ef;return _0x4f81bc[_0x3d8da6(0x129)]=_0x4f81bc['socketPath'],_0x14c87f[_0x3d8da6(0x1dd)](_0x4f81bc);}function _0x311eb7(_0x249858){const _0x308f20=_0x14f6ef;return _0x249858[_0x308f20(0x129)]=void 0x0,!_0x249858['servername']&&_0x249858['servername']!==''&&(_0x249858['servername']=_0x14c87f['isIP'](_0x249858[_0x308f20(0x238)])?'':_0x249858['host']),_0x1b6398[_0x308f20(0x1dd)](_0x249858);}function _0x136ae9(_0x490cae,_0x4b525a,_0x1550aa){const _0x5c7e1f=_0x14f6ef;_0x490cae['_readyState']=_0x561d18[_0x5c7e1f(0x26b)];const _0x477c7e=new Error(_0x1550aa);Error[_0x5c7e1f(0x19d)](_0x477c7e,_0x136ae9),_0x4b525a['setHeader']?(_0x4b525a[_0x103cc6]=!0x0,_0x4b525a['abort'](),_0x4b525a['socket']&&!_0x4b525a['socket'][_0x5c7e1f(0x266)]&&_0x4b525a['socket'][_0x5c7e1f(0x1fd)](),process['nextTick'](_0x154417,_0x490cae,_0x477c7e)):(_0x4b525a[_0x5c7e1f(0x1fd)](_0x477c7e),_0x4b525a['once'](_0x5c7e1f(0x20c),_0x490cae[_0x5c7e1f(0x1d6)]['bind'](_0x490cae,'error')),_0x4b525a[_0x5c7e1f(0x261)]('close',_0x490cae[_0x5c7e1f(0x29a)][_0x5c7e1f(0x239)](_0x490cae)));}function _0x98700a(_0x4a6b25,_0xc6bd62,_0x36d9e4){const _0x2b8edf=_0x14f6ef;if(_0xc6bd62){const _0x27abcd=_0x25f4d4(_0xc6bd62)?_0xc6bd62[_0x2b8edf(0x133)]:_0x17ea93(_0xc6bd62)[_0x2b8edf(0x1ec)];_0x4a6b25[_0x2b8edf(0x293)]?_0x4a6b25[_0x2b8edf(0x27b)][_0x2b8edf(0x154)]+=_0x27abcd:_0x4a6b25['_bufferedAmount']+=_0x27abcd;}if(_0x36d9e4){const _0x59663e=new Error(_0x2b8edf(0x130)+_0x4a6b25['readyState']+'\x20('+_0x24df9f[_0x4a6b25[_0x2b8edf(0x1b9)]]+')');process['nextTick'](_0x36d9e4,_0x59663e);}}function _0x11a658(_0x20ea18,_0xda87f){const _0x1d9e67=_0x14f6ef,_0x5e82a2=this[_0xc2f173];_0x5e82a2[_0x1d9e67(0x27e)]=!0x0,_0x5e82a2[_0x1d9e67(0x259)]=_0xda87f,_0x5e82a2['_closeCode']=_0x20ea18,_0x5e82a2[_0x1d9e67(0x293)][_0xc2f173]!==void 0x0&&(_0x5e82a2[_0x1d9e67(0x293)][_0x1d9e67(0x2d2)]('data',_0x2ede27),process[_0x1d9e67(0x2b3)](_0x2f2ef3,_0x5e82a2[_0x1d9e67(0x293)]),_0x20ea18===0x3ed?_0x5e82a2['close']():_0x5e82a2[_0x1d9e67(0x285)](_0x20ea18,_0xda87f));}function _0x33dc74(){const _0x1b0077=_0x14f6ef,_0x22d10a=this[_0xc2f173];_0x22d10a[_0x1b0077(0x183)]||_0x22d10a[_0x1b0077(0x293)][_0x1b0077(0x172)]();}function _0x5c7dd(_0x5de7a5){const _0x1a22d4=_0x14f6ef,_0x54ce75=this[_0xc2f173];_0x54ce75[_0x1a22d4(0x293)][_0xc2f173]!==void 0x0&&(_0x54ce75['_socket'][_0x1a22d4(0x2d2)](_0x1a22d4(0x157),_0x2ede27),process[_0x1a22d4(0x2b3)](_0x2f2ef3,_0x54ce75[_0x1a22d4(0x293)]),_0x54ce75[_0x1a22d4(0x285)](_0x5de7a5[_0x49c08e])),_0x54ce75[_0x1a22d4(0x231)]||(_0x54ce75[_0x1a22d4(0x231)]=!0x0,_0x54ce75[_0x1a22d4(0x1d6)]('error',_0x5de7a5));}function _0x27aa64(){this[_0xc2f173]['emitClose']();}function _0x2f01a7(_0x259fc1,_0x193300){const _0x660321=_0x14f6ef;this[_0xc2f173][_0x660321(0x1d6)](_0x660321(0x15e),_0x259fc1,_0x193300);}function _0x469a2a(_0x1fc8da){const _0x42794c=_0x14f6ef,_0x2c8d78=this[_0xc2f173];_0x2c8d78['_autoPong']&&_0x2c8d78[_0x42794c(0x1f6)](_0x1fc8da,!this[_0x42794c(0x1a9)],_0x53a4ed),_0x2c8d78[_0x42794c(0x1d6)]('ping',_0x1fc8da);}function _0x29febf(_0xf937bb){const _0x4ff86a=_0x14f6ef;this[_0xc2f173][_0x4ff86a(0x1d6)](_0x4ff86a(0x1f6),_0xf937bb);}function _0x2f2ef3(_0x594805){const _0x23d7a6=_0x14f6ef;_0x594805[_0x23d7a6(0x172)]();}function _0x4779a2(_0x36271f){const _0xa4b072=_0x14f6ef,_0x45e023=this[_0xc2f173];_0x45e023['readyState']!==_0x561d18[_0xa4b072(0x1e1)]&&(_0x45e023['readyState']===_0x561d18[_0xa4b072(0x188)]&&(_0x45e023['_readyState']=_0x561d18[_0xa4b072(0x26b)],_0x46559f(_0x45e023)),this['_socket'][_0xa4b072(0x215)](),_0x45e023[_0xa4b072(0x231)]||(_0x45e023[_0xa4b072(0x231)]=!0x0,_0x45e023[_0xa4b072(0x1d6)](_0xa4b072(0x20c),_0x36271f)));}function _0x46559f(_0x2da697){const _0x2600f8=_0x14f6ef;_0x2da697[_0x2600f8(0x177)]=setTimeout(_0x2da697['_socket'][_0x2600f8(0x1fd)][_0x2600f8(0x239)](_0x2da697[_0x2600f8(0x293)]),_0x13d19e);}function _0x1c7af8(){const _0x197eca=_0x14f6ef,_0x49c8ad=this[_0xc2f173];this[_0x197eca(0x2d2)](_0x197eca(0x285),_0x1c7af8),this[_0x197eca(0x2d2)]('data',_0x2ede27),this[_0x197eca(0x2d2)](_0x197eca(0x215),_0x46fc6c),_0x49c8ad[_0x197eca(0x2cf)]=_0x561d18[_0x197eca(0x26b)];let _0x2bacb0;!this[_0x197eca(0x287)][_0x197eca(0x1df)]&&!_0x49c8ad[_0x197eca(0x27e)]&&!_0x49c8ad[_0x197eca(0x2a9)][_0x197eca(0x1b3)]['errorEmitted']&&(_0x2bacb0=_0x49c8ad[_0x197eca(0x293)][_0x197eca(0x20f)]())!==null&&_0x49c8ad[_0x197eca(0x2a9)]['write'](_0x2bacb0),_0x49c8ad[_0x197eca(0x2a9)][_0x197eca(0x215)](),this[_0xc2f173]=void 0x0,clearTimeout(_0x49c8ad[_0x197eca(0x177)]),_0x49c8ad['_receiver'][_0x197eca(0x1b3)][_0x197eca(0x24b)]||_0x49c8ad['_receiver'][_0x197eca(0x1b3)][_0x197eca(0x2c2)]?_0x49c8ad['emitClose']():(_0x49c8ad[_0x197eca(0x2a9)]['on'](_0x197eca(0x20c),_0x27aa64),_0x49c8ad[_0x197eca(0x2a9)]['on'](_0x197eca(0x233),_0x27aa64));}function _0x2ede27(_0x3d2917){const _0x520ce5=_0x14f6ef;this[_0xc2f173]['_receiver'][_0x520ce5(0x128)](_0x3d2917)||this[_0x520ce5(0x252)]();}function _0x46fc6c(){const _0x31f65b=_0x14f6ef,_0x4e0f3a=this[_0xc2f173];_0x4e0f3a[_0x31f65b(0x2cf)]=_0x561d18[_0x31f65b(0x26b)],_0x4e0f3a[_0x31f65b(0x2a9)][_0x31f65b(0x215)](),this[_0x31f65b(0x215)]();}function _0x51d3c0(){const _0x51263c=_0x14f6ef,_0xcded1b=this[_0xc2f173];this[_0x51263c(0x2d2)]('error',_0x51d3c0),this['on'](_0x51263c(0x20c),_0x53a4ed),_0xcded1b&&(_0xcded1b[_0x51263c(0x2cf)]=_0x561d18[_0x51263c(0x26b)],this[_0x51263c(0x1fd)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x55b2cd}=_0x926418;function _0x508b4f(_0x6f6ad9){const _0x3e46a6=_0x2dcd;_0x6f6ad9[_0x3e46a6(0x1d6)]('close');}function _0x18216a(){const _0x3a442b=_0x2dcd;!this[_0x3a442b(0x266)]&&this[_0x3a442b(0x1b3)][_0x3a442b(0x24b)]&&this[_0x3a442b(0x1fd)]();}function _0x280b64(_0x4ad733){const _0x4600dd=_0x2dcd;this['removeListener'](_0x4600dd(0x20c),_0x280b64),this[_0x4600dd(0x1fd)](),this[_0x4600dd(0x1fc)]('error')===0x0&&this['emit'](_0x4600dd(0x20c),_0x4ad733);}function _0x5d3dc0(_0x266045,_0x2de475){const _0x4676ef=_0x2dcd;let _0x3af41a=!0x0;const _0x348109=new _0x55b2cd({..._0x2de475,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x266045['on'](_0x4676ef(0x15e),function(_0xb510d8,_0x16c22b){const _0x1e57ae=_0x4676ef,_0x1c473d=!_0x16c22b&&_0x348109[_0x1e57ae(0x287)][_0x1e57ae(0x161)]?_0xb510d8[_0x1e57ae(0x1fe)]():_0xb510d8;_0x348109[_0x1e57ae(0x228)](_0x1c473d)||_0x266045[_0x1e57ae(0x252)]();}),_0x266045[_0x4676ef(0x261)](_0x4676ef(0x20c),function(_0x7e54ec){const _0x39a20f=_0x4676ef;_0x348109[_0x39a20f(0x266)]||(_0x3af41a=!0x1,_0x348109['destroy'](_0x7e54ec));}),_0x266045['once'](_0x4676ef(0x285),function(){const _0x450c8f=_0x4676ef;_0x348109['destroyed']||_0x348109[_0x450c8f(0x228)](null);}),_0x348109[_0x4676ef(0x13e)]=function(_0x43cf21,_0x4c5e4){const _0xa8df7b=_0x4676ef;if(_0x266045[_0xa8df7b(0x1b9)]===_0x266045['CLOSED']){_0x4c5e4(_0x43cf21),process[_0xa8df7b(0x2b3)](_0x508b4f,_0x348109);return;}let _0x3f77bd=!0x1;_0x266045[_0xa8df7b(0x261)]('error',function(_0x1e775c){_0x3f77bd=!0x0,_0x4c5e4(_0x1e775c);}),_0x266045['once'](_0xa8df7b(0x285),function(){const _0x36994b=_0xa8df7b;_0x3f77bd||_0x4c5e4(_0x43cf21),process[_0x36994b(0x2b3)](_0x508b4f,_0x348109);}),_0x3af41a&&_0x266045[_0xa8df7b(0x207)]();},_0x348109[_0x4676ef(0x189)]=function(_0x47d768){const _0x20c83f=_0x4676ef;if(_0x266045[_0x20c83f(0x1b9)]===_0x266045[_0x20c83f(0x14a)]){_0x266045[_0x20c83f(0x261)](_0x20c83f(0x221),function(){const _0x3f327d=_0x20c83f;_0x348109[_0x3f327d(0x189)](_0x47d768);});return;}_0x266045[_0x20c83f(0x293)]!==null&&(_0x266045[_0x20c83f(0x293)][_0x20c83f(0x1b3)][_0x20c83f(0x24b)]?(_0x47d768(),_0x348109['_readableState'][_0x20c83f(0x1df)]&&_0x348109[_0x20c83f(0x1fd)]()):(_0x266045[_0x20c83f(0x293)][_0x20c83f(0x261)](_0x20c83f(0x233),function(){_0x47d768();}),_0x266045[_0x20c83f(0x285)]()));},_0x348109['_read']=function(){const _0x44fc9e=_0x4676ef;_0x266045[_0x44fc9e(0x183)]&&_0x266045[_0x44fc9e(0x172)]();},_0x348109['_write']=function(_0x256042,_0xb46fb2,_0x3d4ade){const _0x2b8c1b=_0x4676ef;if(_0x266045[_0x2b8c1b(0x1b9)]===_0x266045[_0x2b8c1b(0x14a)]){_0x266045[_0x2b8c1b(0x261)](_0x2b8c1b(0x221),function(){const _0x3cfd79=_0x2b8c1b;_0x348109[_0x3cfd79(0x143)](_0x256042,_0xb46fb2,_0x3d4ade);});return;}_0x266045[_0x2b8c1b(0x2ca)](_0x256042,_0x3d4ade);},_0x348109['on'](_0x4676ef(0x215),_0x18216a),_0x348109['on']('error',_0x280b64),_0x348109;}return Oe=_0x5d3dc0,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x13701b}=ne();function _0x10ed8c(_0x1cb4d3){const _0x1e3ef2=_0x2dcd,_0xf8b89c=new Set();let _0x3645a7=-0x1,_0x299126=-0x1,_0x119381=0x0;for(_0x119381;_0x119381<_0x1cb4d3[_0x1e3ef2(0x1ec)];_0x119381++){const _0x3c02f4=_0x1cb4d3[_0x1e3ef2(0x17d)](_0x119381);if(_0x299126===-0x1&&_0x13701b[_0x3c02f4]===0x1)_0x3645a7===-0x1&&(_0x3645a7=_0x119381);else{if(_0x119381!==0x0&&(_0x3c02f4===0x20||_0x3c02f4===0x9))_0x299126===-0x1&&_0x3645a7!==-0x1&&(_0x299126=_0x119381);else{if(_0x3c02f4===0x2c){if(_0x3645a7===-0x1)throw new SyntaxError(_0x1e3ef2(0x2cb)+_0x119381);_0x299126===-0x1&&(_0x299126=_0x119381);const _0x209220=_0x1cb4d3[_0x1e3ef2(0x2b2)](_0x3645a7,_0x299126);if(_0xf8b89c['has'](_0x209220))throw new SyntaxError('The\x20\x22'+_0x209220+'\x22\x20subprotocol\x20is\x20duplicated');_0xf8b89c[_0x1e3ef2(0x23d)](_0x209220),_0x3645a7=_0x299126=-0x1;}else throw new SyntaxError(_0x1e3ef2(0x2cb)+_0x119381);}}}if(_0x3645a7===-0x1||_0x299126!==-0x1)throw new SyntaxError(_0x1e3ef2(0x1fb));const _0x146430=_0x1cb4d3[_0x1e3ef2(0x2b2)](_0x3645a7,_0x119381);if(_0xf8b89c[_0x1e3ef2(0x135)](_0x146430))throw new SyntaxError(_0x1e3ef2(0x289)+_0x146430+_0x1e3ef2(0x28f));return _0xf8b89c[_0x1e3ef2(0x23d)](_0x146430),_0xf8b89c;}return Ce={'parse':_0x10ed8c},Ce;}var Te,ot;function er(){const _0x466155=_0x1fb398;if(ot)return Te;ot=0x1;const _0xeee57e=_0x163d45,_0x4f603d=_0x2aad31,{Duplex:_0x29bf7c}=_0x926418,{createHash:_0x135a93}=_0x20b8c0,_0x440abc=pt(),_0x4b87ef=he(),_0x5f0003=Jt(),_0x3f10a4=Ie(),{GUID:_0x3d0fa1,kWebSocket:_0xd99755}=V(),_0x3f3dbf=/^[+/0-9A-Za-z]{22}==$/,_0x22a205=0x0,_0x10bc7e=0x1,_0x5d9e5f=0x2;class _0x8e5d1a extends _0xeee57e{constructor(_0xb13756,_0x348757){const _0x181405=_0x2dcd;if(super(),_0xb13756={'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':_0x3f10a4,..._0xb13756},_0xb13756[_0x181405(0x271)]==null&&!_0xb13756[_0x181405(0x2a5)]&&!_0xb13756[_0x181405(0x16f)]||_0xb13756[_0x181405(0x271)]!=null&&(_0xb13756[_0x181405(0x2a5)]||_0xb13756[_0x181405(0x16f)])||_0xb13756['server']&&_0xb13756[_0x181405(0x16f)])throw new TypeError(_0x181405(0x190));if(_0xb13756[_0x181405(0x271)]!=null?(this[_0x181405(0x198)]=_0x4f603d[_0x181405(0x2cc)]((_0x2f5e9a,_0x1f6b7b)=>{const _0x43052d=_0x181405,_0x50b2a6=_0x4f603d['STATUS_CODES'][0x1aa];_0x1f6b7b[_0x43052d(0x23c)](0x1aa,{'Content-Length':_0x50b2a6[_0x43052d(0x1ec)],'Content-Type':'text/plain'}),_0x1f6b7b['end'](_0x50b2a6);}),this['_server'][_0x181405(0x1eb)](_0xb13756[_0x181405(0x271)],_0xb13756[_0x181405(0x238)],_0xb13756[_0x181405(0x1ff)],_0x348757)):_0xb13756['server']&&(this[_0x181405(0x198)]=_0xb13756[_0x181405(0x2a5)]),this[_0x181405(0x198)]){const _0x37263a=this[_0x181405(0x1d6)][_0x181405(0x239)](this,_0x181405(0x253));this[_0x181405(0x200)]=_0x22306a(this[_0x181405(0x198)],{'listening':this[_0x181405(0x1d6)]['bind'](this,_0x181405(0x14f)),'error':this[_0x181405(0x1d6)][_0x181405(0x239)](this,'error'),'upgrade':(_0x2e718d,_0x15b17a,_0x1dc5d0)=>{const _0x17af48=_0x181405;this[_0x17af48(0x2c4)](_0x2e718d,_0x15b17a,_0x1dc5d0,_0x37263a);}});}_0xb13756[_0x181405(0x220)]===!0x0&&(_0xb13756[_0x181405(0x220)]={}),_0xb13756[_0x181405(0x291)]&&(this[_0x181405(0x26a)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0xb13756,this['_state']=_0x22a205;}[_0x466155(0x1db)](){const _0x514ecf=_0x466155;if(this[_0x514ecf(0x12c)]['noServer'])throw new Error(_0x514ecf(0x22b));return this[_0x514ecf(0x198)]?this[_0x514ecf(0x198)][_0x514ecf(0x1db)]():null;}['close'](_0x3c2979){const _0x461871=_0x466155;if(this[_0x461871(0x219)]===_0x5d9e5f){_0x3c2979&&this['once'](_0x461871(0x285),()=>{_0x3c2979(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x461871(0x2b3)](_0x12a603,this);return;}if(_0x3c2979&&this[_0x461871(0x261)](_0x461871(0x285),_0x3c2979),this[_0x461871(0x219)]!==_0x10bc7e){if(this[_0x461871(0x219)]=_0x10bc7e,this[_0x461871(0x12c)][_0x461871(0x16f)]||this[_0x461871(0x12c)][_0x461871(0x2a5)])this[_0x461871(0x198)]&&(this[_0x461871(0x200)](),this[_0x461871(0x200)]=this[_0x461871(0x198)]=null),this[_0x461871(0x26a)]?this['clients'][_0x461871(0x133)]?this['_shouldEmitClose']=!0x0:process[_0x461871(0x2b3)](_0x12a603,this):process[_0x461871(0x2b3)](_0x12a603,this);else{const _0x646b03=this[_0x461871(0x198)];this[_0x461871(0x200)](),this[_0x461871(0x200)]=this[_0x461871(0x198)]=null,_0x646b03['close'](()=>{_0x12a603(this);});}}}[_0x466155(0x236)](_0x585d3d){const _0x8cd261=_0x466155;if(this[_0x8cd261(0x12c)]['path']){const _0x1c76f0=_0x585d3d['url'][_0x8cd261(0x178)]('?');if((_0x1c76f0!==-0x1?_0x585d3d['url']['slice'](0x0,_0x1c76f0):_0x585d3d[_0x8cd261(0x2ae)])!==this[_0x8cd261(0x12c)][_0x8cd261(0x129)])return!0x1;}return!0x0;}[_0x466155(0x2c4)](_0x3bbdc5,_0x6d4944,_0x5596e6,_0x3aa1a9){const _0x318595=_0x466155;_0x6d4944['on'](_0x318595(0x20c),_0x555385);const _0x5c7bbf=_0x3bbdc5[_0x318595(0x15c)][_0x318595(0x22f)],_0x4feb91=_0x3bbdc5[_0x318595(0x15c)][_0x318595(0x251)],_0x2a35c0=+_0x3bbdc5[_0x318595(0x15c)]['sec-websocket-version'];if(_0x3bbdc5[_0x318595(0x180)]!==_0x318595(0x19f)){_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4feb91===void 0x0||_0x4feb91['toLowerCase']()!=='websocket'){_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x190,_0x318595(0x278));return;}if(_0x5c7bbf===void 0x0||!_0x3f3dbf[_0x318595(0x28c)](_0x5c7bbf)){_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2a35c0!==0x8&&_0x2a35c0!==0xd){_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x190,_0x318595(0x2a7));return;}if(!this[_0x318595(0x236)](_0x3bbdc5)){_0x25d351(_0x6d4944,0x190);return;}const _0x22480f=_0x3bbdc5[_0x318595(0x15c)][_0x318595(0x1f0)];let _0x49ae3c=new Set();if(_0x22480f!==void 0x0)try{_0x49ae3c=_0x5f0003[_0x318595(0x1d9)](_0x22480f);}catch{_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x26f349=_0x3bbdc5[_0x318595(0x15c)][_0x318595(0x230)],_0x2a92f0={};if(this['options'][_0x318595(0x220)]&&_0x26f349!==void 0x0){const _0x19a9c5=new _0x4b87ef(this[_0x318595(0x12c)][_0x318595(0x220)],!0x0,this[_0x318595(0x12c)]['maxPayload']);try{const _0x4aead6=_0x440abc['parse'](_0x26f349);_0x4aead6[_0x4b87ef[_0x318595(0x186)]]&&(_0x19a9c5[_0x318595(0x2ad)](_0x4aead6[_0x4b87ef[_0x318595(0x186)]]),_0x2a92f0[_0x4b87ef[_0x318595(0x186)]]=_0x19a9c5);}catch{_0x4ba2df(this,_0x3bbdc5,_0x6d4944,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x318595(0x12c)]['verifyClient']){const _0x5aa226={'origin':_0x3bbdc5[_0x318595(0x15c)][''+(_0x2a35c0===0x8?'sec-websocket-origin':_0x318595(0x20b))],'secure':!!(_0x3bbdc5[_0x318595(0x1ba)]['authorized']||_0x3bbdc5[_0x318595(0x1ba)][_0x318595(0x26d)]),'req':_0x3bbdc5};if(this[_0x318595(0x12c)][_0x318595(0x2c1)][_0x318595(0x1ec)]===0x2){this[_0x318595(0x12c)][_0x318595(0x2c1)](_0x5aa226,(_0x3e6f39,_0x500858,_0x2dcdff,_0x11dc22)=>{const _0x2afce6=_0x318595;if(!_0x3e6f39)return _0x25d351(_0x6d4944,_0x500858||0x191,_0x2dcdff,_0x11dc22);this[_0x2afce6(0x26e)](_0x2a92f0,_0x5c7bbf,_0x49ae3c,_0x3bbdc5,_0x6d4944,_0x5596e6,_0x3aa1a9);});return;}if(!this[_0x318595(0x12c)][_0x318595(0x2c1)](_0x5aa226))return _0x25d351(_0x6d4944,0x191);}this[_0x318595(0x26e)](_0x2a92f0,_0x5c7bbf,_0x49ae3c,_0x3bbdc5,_0x6d4944,_0x5596e6,_0x3aa1a9);}['completeUpgrade'](_0x5087da,_0x1b9710,_0x38828f,_0x1990e6,_0x308b1c,_0x50f52b,_0x27846f){const _0x131af3=_0x466155;if(!_0x308b1c[_0x131af3(0x223)]||!_0x308b1c['writable'])return _0x308b1c[_0x131af3(0x1fd)]();if(_0x308b1c[_0xd99755])throw new Error(_0x131af3(0x1d1));if(this[_0x131af3(0x219)]>_0x22a205)return _0x25d351(_0x308b1c,0x1f7);const _0x19a206=[_0x131af3(0x258),'Upgrade:\x20websocket','Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x135a93('sha1')[_0x131af3(0x256)](_0x1b9710+_0x3d0fa1)['digest'](_0x131af3(0x1d5))],_0x1d95b5=new this[(_0x131af3(0x12c))][(_0x131af3(0x1e3))](null,void 0x0,this[_0x131af3(0x12c)]);if(_0x38828f[_0x131af3(0x133)]){const _0x46ea23=this[_0x131af3(0x12c)]['handleProtocols']?this['options'][_0x131af3(0x2bc)](_0x38828f,_0x1990e6):_0x38828f[_0x131af3(0x24f)]()['next']()[_0x131af3(0x1a3)];_0x46ea23&&(_0x19a206[_0x131af3(0x228)](_0x131af3(0x1c0)+_0x46ea23),_0x1d95b5[_0x131af3(0x213)]=_0x46ea23);}if(_0x5087da[_0x4b87ef[_0x131af3(0x186)]]){const _0x432832=_0x5087da[_0x4b87ef['extensionName']]['params'],_0x2fec6d=_0x440abc[_0x131af3(0x2be)]({[_0x4b87ef[_0x131af3(0x186)]]:[_0x432832]});_0x19a206[_0x131af3(0x228)](_0x131af3(0x1ca)+_0x2fec6d),_0x1d95b5['_extensions']=_0x5087da;}this[_0x131af3(0x1d6)]('headers',_0x19a206,_0x1990e6),_0x308b1c[_0x131af3(0x128)](_0x19a206[_0x131af3(0x245)]('\x0d\x0a')[_0x131af3(0x1b4)]('\x0d\x0a')),_0x308b1c['removeListener'](_0x131af3(0x20c),_0x555385),_0x1d95b5[_0x131af3(0x2ce)](_0x308b1c,_0x50f52b,{'allowSynchronousEvents':this[_0x131af3(0x12c)][_0x131af3(0x205)],'maxPayload':this[_0x131af3(0x12c)][_0x131af3(0x2a0)],'skipUTF8Validation':this[_0x131af3(0x12c)][_0x131af3(0x14b)]}),this[_0x131af3(0x26a)]&&(this[_0x131af3(0x26a)][_0x131af3(0x23d)](_0x1d95b5),_0x1d95b5['on']('close',()=>{const _0x5c28c3=_0x131af3;this[_0x5c28c3(0x26a)][_0x5c28c3(0x1c7)](_0x1d95b5),this['_shouldEmitClose']&&!this[_0x5c28c3(0x26a)][_0x5c28c3(0x133)]&&process['nextTick'](_0x12a603,this);})),_0x27846f(_0x1d95b5,_0x1990e6);}}Te=_0x8e5d1a;function _0x22306a(_0x1ed139,_0x80bbd3){const _0xc72aee=_0x466155;for(const _0x97a41e of Object[_0xc72aee(0x1cf)](_0x80bbd3))_0x1ed139['on'](_0x97a41e,_0x80bbd3[_0x97a41e]);return function(){const _0x21e6ea=_0xc72aee;for(const _0x574705 of Object[_0x21e6ea(0x1cf)](_0x80bbd3))_0x1ed139[_0x21e6ea(0x2d2)](_0x574705,_0x80bbd3[_0x574705]);};}function _0x12a603(_0x4bdb33){const _0x215ceb=_0x466155;_0x4bdb33['_state']=_0x5d9e5f,_0x4bdb33[_0x215ceb(0x1d6)](_0x215ceb(0x285));}function _0x555385(){const _0x1f7b1d=_0x466155;this[_0x1f7b1d(0x1fd)]();}function _0x25d351(_0x18bbb3,_0x32956e,_0xb30311,_0x5682df){const _0x5ea87f=_0x466155;_0xb30311=_0xb30311||_0x4f603d['STATUS_CODES'][_0x32956e],_0x5682df={'Connection':_0x5ea87f(0x285),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0xb30311),..._0x5682df},_0x18bbb3[_0x5ea87f(0x261)](_0x5ea87f(0x233),_0x18bbb3[_0x5ea87f(0x1fd)]),_0x18bbb3['end']('HTTP/1.1\x20'+_0x32956e+'\x20'+_0x4f603d[_0x5ea87f(0x139)][_0x32956e]+'\x0d\x0a'+Object[_0x5ea87f(0x1cf)](_0x5682df)[_0x5ea87f(0x21c)](_0x2214e3=>_0x2214e3+':\x20'+_0x5682df[_0x2214e3])[_0x5ea87f(0x1b4)]('\x0d\x0a')+_0x5ea87f(0x208)+_0xb30311);}function _0x4ba2df(_0x1d8756,_0x41aaae,_0x2cf65f,_0x20b368,_0x4f49a1){const _0x12015e=_0x466155;if(_0x1d8756[_0x12015e(0x1fc)](_0x12015e(0x2b5))){const _0x4fd773=new Error(_0x4f49a1);Error[_0x12015e(0x19d)](_0x4fd773,_0x4ba2df),_0x1d8756['emit'](_0x12015e(0x2b5),_0x4fd773,_0x2cf65f,_0x41aaae);}else _0x25d351(_0x2cf65f,_0x20b368,_0x4f49a1);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x5bbf77,_0x566756,_0xed7e29,_0x2280bc)=>{const _0x20928e=_0x1fb398;for(var _0x82905=_0x2280bc>0x1?void 0x0:_0x2280bc?tr(_0x566756,_0xed7e29):_0x566756,_0x3497bf=_0x5bbf77[_0x20928e(0x1ec)]-0x1,_0x461066;_0x3497bf>=0x0;_0x3497bf--)(_0x461066=_0x5bbf77[_0x3497bf])&&(_0x82905=_0x461066(_0x82905)||_0x82905);return _0x82905;},sr=(_0x6a6361,_0x5ad2f9)=>(_0x482822,_0x1dc15f)=>_0x5ad2f9(_0x482822,_0x1dc15f,_0x6a6361);let Ne=class extends _0x191eed{constructor(_0x4d7e62){const _0x42afd1=_0x1fb398;super(),this[_0x42afd1(0x28a)]=_0x4d7e62;}[_0x1fb398(0x169)](_0x41a1f2){const _0x3e450d=_0x1fb398;var _0x605c41;const _0x2816d5=(_0x605c41=this[_0x3e450d(0x28a)][_0x3e450d(0x25c)](Be))==null?void 0x0:_0x605c41['customHeaders'];try{const _0x163ea5=new Qt(_0x41a1f2,{'headers':{..._0x2816d5}}),_0x5b11ef=new _0x29e948();return{'URL':_0x41a1f2,'close':(_0x7b48f0,_0x1f9f3f)=>{const _0x115fe5=_0x3e450d;_0x163ea5['close'](_0x7b48f0,_0x1f9f3f),_0x5b11ef[_0x115fe5(0x298)]();},'send':_0x2e6a4b=>{const _0x38bb9a=_0x3e450d;_0x163ea5[_0x38bb9a(0x2ca)](_0x2e6a4b);},'open$':new _0x2285d5(_0x3f1332=>{const _0x3f69b2=_0x3e450d,_0x34ad14=_0x4ba4ef=>_0x3f1332[_0x3f69b2(0x237)](_0x4ba4ef);_0x163ea5['addEventListener'](_0x3f69b2(0x221),_0x34ad14),_0x5b11ef[_0x3f69b2(0x23d)](_0x32ded3(()=>_0x163ea5[_0x3f69b2(0x2c6)]('open',_0x34ad14)));})[_0x3e450d(0x24e)](_0x4fde65()),'close$':new _0x2285d5(_0x2a79e7=>{const _0x2464fb=_0x3e450d,_0x23870a=_0x3dd64d=>_0x2a79e7[_0x2464fb(0x237)](_0x3dd64d);_0x163ea5[_0x2464fb(0x166)]('close',_0x23870a),_0x5b11ef[_0x2464fb(0x23d)](_0x32ded3(()=>_0x163ea5[_0x2464fb(0x2c6)](_0x2464fb(0x285),_0x23870a)));})['pipe'](_0x4fde65()),'error$':new _0x2285d5(_0x21cd67=>{const _0x555689=_0x3e450d,_0x4187fc=_0x2a95b6=>_0x21cd67['next'](_0x2a95b6);_0x163ea5['addEventListener'](_0x555689(0x20c),_0x4187fc),_0x5b11ef[_0x555689(0x23d)](_0x32ded3(()=>_0x163ea5[_0x555689(0x2c6)]('error',_0x4187fc)));})[_0x3e450d(0x24e)](_0x4fde65()),'message$':new _0x2285d5(_0x2d099b=>{const _0x174e55=_0x3e450d,_0xfa4987=_0x4b2d0e=>_0x2d099b[_0x174e55(0x237)](_0x4b2d0e);_0x163ea5[_0x174e55(0x166)](_0x174e55(0x15e),_0xfa4987),_0x5b11ef[_0x174e55(0x23d)](_0x32ded3(()=>_0x163ea5[_0x174e55(0x2c6)]('message',_0xfa4987)));})[_0x3e450d(0x24e)](_0x4fde65())};}catch(_0x5b298a){return console['error'](_0x5b298a),null;}}};Ne=rr([sr(0x0,_0xe5486b)],Ne);var ir=Object[_0x1fb398(0x222)],nr=Object[_0x1fb398(0x15b)],or=(_0x1ec324,_0x3acd5c,_0x1939cd)=>_0x3acd5c in _0x1ec324?ir(_0x1ec324,_0x3acd5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1939cd}):_0x1ec324[_0x3acd5c]=_0x1939cd,ar=(_0x48f02d,_0xda1250,_0x513d92,_0xea3868)=>{const _0x15493a=_0x1fb398;for(var _0x206096=_0xea3868>0x1?void 0x0:_0xea3868?nr(_0xda1250,_0x513d92):_0xda1250,_0xbb59b1=_0x48f02d[_0x15493a(0x1ec)]-0x1,_0x41d69f;_0xbb59b1>=0x0;_0xbb59b1--)(_0x41d69f=_0x48f02d[_0xbb59b1])&&(_0x206096=_0x41d69f(_0x206096)||_0x206096);return _0x206096;},ke=(_0x5eae77,_0x2ac76f)=>(_0x9616d,_0x3ddd2c)=>_0x2ac76f(_0x9616d,_0x3ddd2c,_0x5eae77),lr=(_0x38f4a1,_0x171c30,_0x3fd482)=>or(_0x38f4a1,_0x171c30+'',_0x3fd482);let Pe=class extends _0xe1776f{constructor(_0x37d801=Ft,_0x2a01ee,_0xd806f5,_0x3d0f55){const _0x48e54a=_0x1fb398;_0x37d801[_0x48e54a(0x1f2)]||_0x2a01ee[_0x48e54a(0x1e8)](_0x48e54a(0x16c)),super(),this[_0x48e54a(0x28a)]=_0xd806f5,this[_0x48e54a(0x299)]=_0x3d0f55,this[_0x48e54a(0x28a)][_0x48e54a(0x12a)](Be,_0x37d801);}[_0x1fb398(0x1f5)](){const _0x3b8813=_0x1fb398;this[_0x3b8813(0x1a5)]();}[_0x1fb398(0x1a5)](){const _0x212782=_0x1fb398;_0x3be590(this[_0x212782(0x299)],[[_0x42181d,{'useClass':Ne}]]);}};lr(Pe,_0x1fb398(0x13d),_0x1fb398(0x1c2)),Pe=ar([_0x860266(_0x446177),ke(0x1,_0x4edbea),ke(0x2,_0xe5486b),ke(0x3,_0x42ac31(_0x565c9f))],Pe);var fr=Object[_0x1fb398(0x15b)],cr=(_0x16ebf2,_0x3005b8,_0x156b62,_0x55cf63)=>{const _0x4728de=_0x1fb398;for(var _0x5883c1=_0x55cf63>0x1?void 0x0:_0x55cf63?fr(_0x3005b8,_0x156b62):_0x3005b8,_0x545d01=_0x16ebf2[_0x4728de(0x1ec)]-0x1,_0xce1f1c;_0x545d01>=0x0;_0x545d01--)(_0xce1f1c=_0x16ebf2[_0x545d01])&&(_0x5883c1=_0xce1f1c(_0x5883c1)||_0x5883c1);return _0x5883c1;},se=(_0x2eb605,_0x2f63bd)=>(_0x418f7a,_0x2c3582)=>_0x2f63bd(_0x418f7a,_0x2c3582,_0x2eb605);let at=class extends _0x60d11e{constructor(_0x5cfa02,_0x232e36,_0x3554e5,_0x177d0b,_0x3970aa){const _0x304fbe=_0x1fb398;super(_0x5cfa02,_0x232e36,_0x3554e5,_0x177d0b,_0x3970aa);const _0x40da57=this[_0x304fbe(0x28a)][_0x304fbe(0x25c)](Be);this[_0x304fbe(0x148)][_0x304fbe(0x272)]({'interceptor':(_0x3766db,_0x197a3a)=>{const _0x3104a1=_0x304fbe;var _0x14e29e;const _0x5417e8=_0x3766db['headers'];return(_0x14e29e=_0x40da57==null?void 0x0:_0x40da57[_0x3104a1(0x1f2)])!=null&&_0x14e29e[_0x3104a1(0x147)]&&_0x5417e8[_0x3104a1(0x23e)](_0x3104a1(0x131),_0x40da57[_0x3104a1(0x1f2)]['cookie']),_0x197a3a(_0x3766db);}});}async[_0x1fb398(0x169)](_0x128c9d){const _0x168ef7=_0x1fb398;return this[_0x168ef7(0x232)](_0x128c9d);}};at=cr([se(0x0,_0x42ac31(_0x565c9f)),se(0x1,_0x42ac31(_0x8c335a)),se(0x2,_0xe5486b),se(0x3,_0x4edbea),se(0x4,_0xd28e3a)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x39a5ac=_0x5468;(function(_0x5727f2,_0x25bb5b){const _0x47ed62=_0x5468,_0x4d305e=_0x5727f2();while(!![]){try{const _0x1b9c93=parseInt(_0x47ed62(0x166))/0x1*(parseInt(_0x47ed62(0x159))/0x2)+-parseInt(_0x47ed62(0x17c))/0x3*(parseInt(_0x47ed62(0x1e7))/0x4)+-parseInt(_0x47ed62(0x185))/0x5+-parseInt(_0x47ed62(0x1ba))/0x6+-parseInt(_0x47ed62(0x228))/0x7+-parseInt(_0x47ed62(0x160))/0x8+parseInt(_0x47ed62(0x28d))/0x9*(parseInt(_0x47ed62(0xff))/0xa);if(_0x1b9c93===_0x25bb5b)break;else _0x4d305e['push'](_0x4d305e['shift']());}catch(_0x34e407){_0x4d305e['push'](_0x4d305e['shift']());}}}(_0x4621,0xc128d));import{UniverCollaborationClientPlugin as _0x495ccf,CollaborationSocketService as _0x5082f6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4e4848,DisposableCollection as _0x91b0f5,toDisposable as _0x1f0764,IConfigService as _0x31719c,DependentOn as _0x3314f8,ILogService as _0x1c3169,Inject as _0x4221d6,Injector as _0x4fd14d,Plugin as _0x2be3c0,registerDependencies as _0x59b591}from'@univerjs/core';import{ISocketService as _0x26ce87,HTTPService as _0x9f7933}from'@univerjs/network';import{Observable as _0x250241,share as _0xafb8c4}from'rxjs';import _0x171d11 from'events';import _0x23d8a6 from'https';import _0x5db7f3 from'http';import _0x22d356 from'net';import _0x2d92d7 from'tls';import _0x5d136f from'crypto';import _0x5123e8 from'stream';import _0x1b4204 from'url';import _0x56509c from'zlib';import _0x2be5fb from'buffer';import{ISnapshotServerService as _0x4ae98b}from'@univerjs-pro/collaboration';const Be=_0x39a5ac(0x290),Ft={'customHeaders':{}};function jt(_0x305cfd){const _0x3ba194=_0x39a5ac;return _0x305cfd&&_0x305cfd[_0x3ba194(0x1f7)]&&Object['prototype'][_0x3ba194(0x23c)]['call'](_0x305cfd,_0x3ba194(0x287))?_0x305cfd[_0x3ba194(0x287)]:_0x305cfd;}function ut(_0x42e875){const _0x480bd6=_0x39a5ac;if(Object['prototype'][_0x480bd6(0x23c)][_0x480bd6(0x22f)](_0x42e875,'__esModule'))return _0x42e875;var _0x2aa22f=_0x42e875['default'];if(typeof _0x2aa22f==_0x480bd6(0x1da)){var _0x26a166=function _0x452e29(){const _0x131cfa=_0x480bd6;return this instanceof _0x452e29?Reflect['construct'](_0x2aa22f,arguments,this[_0x131cfa(0x156)]):_0x2aa22f['apply'](this,arguments);};_0x26a166[_0x480bd6(0x18a)]=_0x2aa22f[_0x480bd6(0x18a)];}else _0x26a166={};return Object[_0x480bd6(0x1a1)](_0x26a166,_0x480bd6(0x1f7),{'value':!0x0}),Object[_0x480bd6(0x269)](_0x42e875)[_0x480bd6(0x125)](function(_0x18f56a){const _0xc36cc5=_0x480bd6;var _0x1ba46b=Object['getOwnPropertyDescriptor'](_0x42e875,_0x18f56a);Object[_0xc36cc5(0x1a1)](_0x26a166,_0x18f56a,_0x1ba46b['get']?_0x1ba46b:{'enumerable':!0x0,'get':function(){return _0x42e875[_0x18f56a];}});}),_0x26a166;}var te={'exports':{}},ge,Ye;function _0x4621(){const _0x1ce07a=['verifyClient','end','maxRedirects','noServer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','destroyed','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_write','defaultPort','hasOwnProperty','statusCode','serverNoContextTakeover','Invalid\x20WebSocket\x20frame:\x20','Sec-WebSocket-Extensions','shift','env','handleEvent','WS_ERR_UNEXPECTED_RSV_1','base64','handshakeTimeout','server_no_context_takeover','target','abort','_httpService','byteOffset','followRedirects','unmask','allowSynchronousEvents','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeEventListener','string','sec-websocket-extensions','errorEmitted','_bufferedAmount','CLOSING','close','type','https:','kTarget','digest','startsWith','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','apply','extensions','WebSocket','freeze','getPayloadLength64','Sec-WebSocket-Protocol','status-code','exports','allocUnsafe','hash','binary','socketPath','keys','jobs','_paused','isValidUTF8','_decompress','buffer','_errorEmitted','server_max_window_bits','_sender','The\x20\x22','Max\x20payload\x20size\x20exceeded','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','open','invalid\x20status\x20code\x20','ws:','ws+unix:','options','kDone','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Accept:\x20','authorization','createConnection','ping','invalid\x20opcode\x200','isServer','Invalid\x20Sec-WebSocket-Protocol\x20header','kWasClean','next','concat','onStarting','default','registerHTTPInterceptor','http:','pow','parse','_bufferedBytes','905112JMlhpm','unshift','error','collaboration-client-node.config','wss:','rsv1','location','isPaused','\x0d\x0a\x0d\x0a','pathname','decompress','Connection:\x20Upgrade','value','_compressed','delete','Opening\x20handshake\x20has\x20timed\x20out','client_max_window_bits','slice','onerror','removeListener','normalizeParams','WS_ERR_INVALID_OPCODE','accept','_payloadLength','consume','WS_NO_BUFFER_UTIL','shouldHandle','dispatch','send','_closeMessage','HTTP/1.1\x20101\x20Switching\x20Protocols','listeners','kIsForOnEventAttribute','isIP','toLowerCase','WS_ERR_EXPECTED_FIN','setSocket','finish','400uOEPxL','charCodeAt','kAborted','enqueue','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','catch','redirect','client_no_context_takeover','_queue','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Blob','_max_window_bits','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_url','getPayloadLength16','pipe','permessage-deflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_originalSecure','Unexpected\x20server\x20response:\x20','captureStackTrace','kData','pending','_readableState','_socket','clientNoContextTakeover','backlog','port','bufferedAmount','opcode','binaryType','_no_context_takeover','Sec-WebSocket-Protocol:\x20','warn','length','completeUpgrade','arrayBuffer','set','forEach','isInteger','number','username','_options','Invalid\x20Upgrade\x20header','_redirects','hostname','Invalid\x20URL:\x20','onmessage','onclose','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','destroy','createSocket','endEmitted','Basic\x20','reason','_protocol','WS_ERR_INVALID_CLOSE_CODE','_generateMask','once','_deflate','_readyState','kError','Unsupported\x20protocol\x20version:\x20','_closeTimer','_fragmented','wasClean','_closeFrameSent','unexpected-response','Module','species','handleProtocols','host','emitClose','toStringTag','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_loop','concurrencyLimit','pause','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Invalid\x20HTTP\x20method','connection','_buffers','kReason','servername','WS_ERR_EXPECTED_MASK','setTimeout','sec-websocket-protocol','constructor','getData','Upgrade:\x20websocket','3918RCMxPA','Upgrade','serverMaxWindowBits','compress','write','push','_removeListeners','5099752yJmlTj','writeHead','clientTracking','request','Parameter\x20\x22','concurrency','300vSyrUP','response','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','\x20(supported\x20versions:\x20','alloc','Server\x20sent\x20an\x20invalid\x20subprotocol','_fin','_messageLength','getBlobData','fragments','_receiver','address','isView','haveLength','conclude','createInflateRaw','indexOf','_server','generateMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','readUInt32BE','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','1036941tcQZfA','Unexpected\x20character\x20at\x20index\x20','Z_SYNC_FLUSH','frame','RSV1\x20must\x20be\x20clear','client','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','arraybuffer','mask','1300850KMjSiU','WS_ERR_UNEXPECTED_MASK','_shouldEmitClose','listenerCount','The\x20server\x20is\x20not\x20running','prototype','Cookie','_maxPayload','invalid\x20UTF-8\x20sequence','CONNECTING','WebSocket\x20is\x20not\x20open:\x20readyState\x20','dispose','_registerDependencies','upgrade','Invalid\x20Sec-WebSocket-Accept\x20header','_isServer','path','size','getConfig','MASK\x20must\x20be\x20clear','GET','getMask','_autoPong','timeout','split','nodebuffer','sendFrame','auth','defineProperty','_skipUTF8Validation','text/html','kByteLength','_injector','STATUS_CODES','_req','handleUpgrade','sec-websocket-accept','Invalid\x20Sec-WebSocket-Extensions\x20header','isArray','drain','message','Unexpected\x20end\x20of\x20input','connect','_extensions','controlMessage','_originalIpc','then','_errored','sec-websocket-origin','href','listen','code','_allowSynchronousEvents','6749706VYLZAZ','HTTP/1.1\x20','readUInt16BE','clients','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','needDrain','writeUInt16BE','Invalid\x20value\x20for\x20parameter\x20\x22','CLOSED','The\x20URL\x27s\x20pathname\x20is\x20empty','perMessageDeflate','_configService','cookie','finished','cleanup','socket','bind','_maskBuffer','resume','search','customHeaders','readyState','WS_NO_UTF_8_VALIDATE','terminate','_fragments','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_opcode','dataMessage','_compress','acceptAsClient','blob','addEventListener','function','dequeue','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','extensionName','_closeCode','add','authorized','reset','Sec-WebSocket-Origin','createError','byteLength','maskBuffer','createServer','4LHLftv','update','fin','wsClientError','format','protocolVersion','offer','emit','Server\x20sent\x20no\x20subprotocol','removeAllListeners','toString','invalid\x20opcode\x20','startLoop','clientMaxWindowBits','test','_firstFragment','__esModule','includes','pong','_totalPayloadLength','WS_ERR_INVALID_UTF8','Origin','finishRequest','readable','protocol','onopen','isBuffer','_final','data','readOnly','create','\x22:\x20','_closeFrameReceived','sha1','getOwnPropertyDescriptor','kRun','_mask','join','url','object','stream','Sec-WebSocket-Extensions:\x20','getInfo','callback','_inflate','from','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','websocket','server','has','_writableState','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','threshold','params','writeUIntBE','text/plain','_originalHostOrSocketPath','find','_threshold','_destroy','OPEN','skipUTF8Validation','map','nextTick','writable','10157014NOoDda','headers','createDeflateRaw','origin','_state','maxPayload','_masked','call','_binaryType','cork','flush'];_0x4621=function(){return _0x1ce07a;};return _0x4621();}function V(){const _0x2260ab=_0x39a5ac;if(Ye)return ge;Ye=0x1;const _0x1665f4=['nodebuffer','arraybuffer',_0x2260ab(0x16f)],_0x273bc5=typeof Blob<'u';return _0x273bc5&&_0x1665f4[_0x2260ab(0x15e)]('blob'),ge={'BINARY_TYPES':_0x1665f4,'EMPTY_BUFFER':Buffer[_0x2260ab(0x16a)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x273bc5,'kForOnEventAttribute':Symbol(_0x2260ab(0xf9)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x2260ab(0x263)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x39a5ac(0x260)](Object[_0x39a5ac(0x1a1)]({'__proto__':null,'default':Wt},Symbol[_0x39a5ac(0x148)],{'value':_0x39a5ac(0x143)})),Vt=ut(Gt);var Ke;function ce(){const _0x2a1468=_0x39a5ac;if(Ke)return te[_0x2a1468(0x264)];Ke=0x1;const {EMPTY_BUFFER:_0x825ef1}=V(),_0x30d19c=Buffer[Symbol[_0x2a1468(0x144)]];function _0xc37ae3(_0x4e78a4,_0x43c7d1){const _0x10c193=_0x2a1468;if(_0x4e78a4[_0x10c193(0x121)]===0x0)return _0x825ef1;if(_0x4e78a4[_0x10c193(0x121)]===0x1)return _0x4e78a4[0x0];const _0x38a8bb=Buffer['allocUnsafe'](_0x43c7d1);let _0x174967=0x0;for(let _0x4cf609=0x0;_0x4cf609<_0x4e78a4['length'];_0x4cf609++){const _0x580b60=_0x4e78a4[_0x4cf609];_0x38a8bb[_0x10c193(0x124)](_0x580b60,_0x174967),_0x174967+=_0x580b60[_0x10c193(0x121)];}return _0x174967<_0x43c7d1?new _0x30d19c(_0x38a8bb[_0x10c193(0x26e)],_0x38a8bb[_0x10c193(0x24b)],_0x174967):_0x38a8bb;}function _0x165a09(_0x37a98c,_0x1a7db2,_0x51e738,_0x44ca74,_0x1ace1c){for(let _0x3284d9=0x0;_0x3284d9<_0x1ace1c;_0x3284d9++)_0x51e738[_0x44ca74+_0x3284d9]=_0x37a98c[_0x3284d9]^_0x1a7db2[_0x3284d9&0x3];}function _0x4d27c0(_0x2e0ba4,_0x573e40){for(let _0x4cf811=0x0;_0x4cf811<_0x2e0ba4['length'];_0x4cf811++)_0x2e0ba4[_0x4cf811]^=_0x573e40[_0x4cf811&0x3];}function _0x31e900(_0x1550fb){const _0x30b895=_0x2a1468;return _0x1550fb[_0x30b895(0x121)]===_0x1550fb['buffer'][_0x30b895(0x1e4)]?_0x1550fb[_0x30b895(0x26e)]:_0x1550fb[_0x30b895(0x26e)]['slice'](_0x1550fb[_0x30b895(0x24b)],_0x1550fb['byteOffset']+_0x1550fb[_0x30b895(0x121)]);}function _0x549895(_0x1e0874){const _0x3213a3=_0x2a1468;if(_0x549895[_0x3213a3(0x204)]=!0x0,Buffer[_0x3213a3(0x201)](_0x1e0874))return _0x1e0874;let _0x27b1f8;return _0x1e0874 instanceof ArrayBuffer?_0x27b1f8=new _0x30d19c(_0x1e0874):ArrayBuffer[_0x3213a3(0x172)](_0x1e0874)?_0x27b1f8=new _0x30d19c(_0x1e0874['buffer'],_0x1e0874['byteOffset'],_0x1e0874[_0x3213a3(0x1e4)]):(_0x27b1f8=Buffer[_0x3213a3(0x214)](_0x1e0874),_0x549895['readOnly']=!0x1),_0x27b1f8;}if(te[_0x2a1468(0x264)]={'concat':_0xc37ae3,'mask':_0x165a09,'toArrayBuffer':_0x31e900,'toBuffer':_0x549895,'unmask':_0x4d27c0},!process[_0x2a1468(0x242)][_0x2a1468(0xf2)])try{const _0x8984d6=Vt;te[_0x2a1468(0x264)]['mask']=function(_0x238c68,_0x2d83bc,_0x2adc7b,_0x461fcb,_0x244c83){const _0xe9a240=_0x2a1468;_0x244c83<0x30?_0x165a09(_0x238c68,_0x2d83bc,_0x2adc7b,_0x461fcb,_0x244c83):_0x8984d6[_0xe9a240(0x184)](_0x238c68,_0x2d83bc,_0x2adc7b,_0x461fcb,_0x244c83);},te['exports']['unmask']=function(_0x81854,_0x443277){const _0x4c11b3=_0x2a1468;_0x81854['length']<0x20?_0x4d27c0(_0x81854,_0x443277):_0x8984d6[_0x4c11b3(0x24d)](_0x81854,_0x443277);};}catch{}return te[_0x2a1468(0x264)];}var ye,Xe;function qt(){const _0x408dbb=_0x39a5ac;if(Xe)return ye;Xe=0x1;const _0x6dabd6=Symbol(_0x408dbb(0x27a)),_0x56cca9=Symbol(_0x408dbb(0x20a));class _0x47bc11{constructor(_0x41f0ca){const _0x342563=_0x408dbb;this[_0x6dabd6]=()=>{const _0x5843e6=_0x5468;this[_0x5843e6(0x115)]--,this[_0x56cca9]();},this[_0x342563(0x165)]=_0x41f0ca||0x1/0x0,this[_0x342563(0x26a)]=[],this[_0x342563(0x115)]=0x0;}['add'](_0x2b09fd){const _0x535d34=_0x408dbb;this[_0x535d34(0x26a)][_0x535d34(0x15e)](_0x2b09fd),this[_0x56cca9]();}[_0x56cca9](){const _0x54a035=_0x408dbb;if(this[_0x54a035(0x115)]!==this[_0x54a035(0x165)]&&this[_0x54a035(0x26a)][_0x54a035(0x121)]){const _0x1d259c=this[_0x54a035(0x26a)][_0x54a035(0x241)]();this[_0x54a035(0x115)]++,_0x1d259c(this[_0x6dabd6]);}}}return ye=_0x47bc11,ye;}var ve,Ze;function _0x5468(_0x37d0a9,_0x49ec5b){const _0x462147=_0x4621();return _0x5468=function(_0x546852,_0x1f1da2){_0x546852=_0x546852-0xe9;let _0x3a6f8c=_0x462147[_0x546852];return _0x3a6f8c;},_0x5468(_0x37d0a9,_0x49ec5b);}function he(){const _0x2f4b97=_0x39a5ac;if(Ze)return ve;Ze=0x1;const _0x7d584f=_0x56509c,_0x25cb1c=ce(),_0x5098e7=qt(),{kStatusCode:_0x51e159}=V(),_0x5f0b6c=Buffer[Symbol[_0x2f4b97(0x144)]],_0x330bbe=Buffer[_0x2f4b97(0x214)]([0x0,0x0,0xff,0xff]),_0x42b9d7=Symbol('permessage-deflate'),_0x52e40c=Symbol('total-length'),_0x1704a9=Symbol(_0x2f4b97(0x212)),_0x539205=Symbol('buffers'),_0x2ce5ed=Symbol(_0x2f4b97(0x28f));let _0x5bb5e9;class _0x40f440{constructor(_0x4bcfcd,_0x3d4a61,_0x29cfb9){const _0x274f37=_0x2f4b97;if(this[_0x274f37(0x18c)]=_0x29cfb9|0x0,this['_options']=_0x4bcfcd||{},this[_0x274f37(0x221)]=this[_0x274f37(0x129)]['threshold']!==void 0x0?this[_0x274f37(0x129)][_0x274f37(0x21b)]:0x400,this[_0x274f37(0x194)]=!!_0x3d4a61,this[_0x274f37(0x13a)]=null,this[_0x274f37(0x213)]=null,this[_0x274f37(0x21c)]=null,!_0x5bb5e9){const _0x3f3a05=this['_options'][_0x274f37(0x14b)]!==void 0x0?this[_0x274f37(0x129)][_0x274f37(0x14b)]:0xa;_0x5bb5e9=new _0x5098e7(_0x3f3a05);}}static get[_0x2f4b97(0x1dd)](){const _0x2c3aef=_0x2f4b97;return _0x2c3aef(0x10f);}[_0x2f4b97(0x1ed)](){const _0x11c971=_0x2f4b97,_0x27f919={};return this[_0x11c971(0x129)][_0x11c971(0x23e)]&&(_0x27f919[_0x11c971(0x247)]=!0x0),this['_options'][_0x11c971(0x118)]&&(_0x27f919[_0x11c971(0x106)]=!0x0),this[_0x11c971(0x129)]['serverMaxWindowBits']&&(_0x27f919['server_max_window_bits']=this['_options'][_0x11c971(0x15b)]),this[_0x11c971(0x129)][_0x11c971(0x1f4)]?_0x27f919[_0x11c971(0xe9)]=this[_0x11c971(0x129)]['clientMaxWindowBits']:this[_0x11c971(0x129)][_0x11c971(0x1f4)]==null&&(_0x27f919[_0x11c971(0xe9)]=!0x0),_0x27f919;}['accept'](_0x37035b){const _0x3ed7e8=_0x2f4b97;return _0x37035b=this[_0x3ed7e8(0xed)](_0x37035b),this[_0x3ed7e8(0x21c)]=this[_0x3ed7e8(0x194)]?this['acceptAsServer'](_0x37035b):this[_0x3ed7e8(0x1d7)](_0x37035b),this[_0x3ed7e8(0x21c)];}['cleanup'](){const _0x44c95f=_0x2f4b97;if(this[_0x44c95f(0x213)]&&(this[_0x44c95f(0x213)][_0x44c95f(0x256)](),this[_0x44c95f(0x213)]=null),this[_0x44c95f(0x13a)]){const _0x4d3820=this[_0x44c95f(0x13a)][_0x1704a9];this[_0x44c95f(0x13a)][_0x44c95f(0x256)](),this[_0x44c95f(0x13a)]=null,_0x4d3820&&_0x4d3820(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x3b872b){const _0x588ce7=_0x2f4b97,_0x388f5c=this[_0x588ce7(0x129)],_0xcce33=_0x3b872b[_0x588ce7(0x220)](_0x72225f=>!(_0x388f5c[_0x588ce7(0x23e)]===!0x1&&_0x72225f['server_no_context_takeover']||_0x72225f[_0x588ce7(0x270)]&&(_0x388f5c[_0x588ce7(0x15b)]===!0x1||typeof _0x388f5c[_0x588ce7(0x15b)]=='number'&&_0x388f5c['serverMaxWindowBits']>_0x72225f[_0x588ce7(0x270)])||typeof _0x388f5c['clientMaxWindowBits']=='number'&&!_0x72225f[_0x588ce7(0xe9)]));if(!_0xcce33)throw new Error(_0x588ce7(0x274));return _0x388f5c[_0x588ce7(0x23e)]&&(_0xcce33[_0x588ce7(0x247)]=!0x0),_0x388f5c[_0x588ce7(0x118)]&&(_0xcce33[_0x588ce7(0x106)]=!0x0),typeof _0x388f5c[_0x588ce7(0x15b)]==_0x588ce7(0x127)&&(_0xcce33['server_max_window_bits']=_0x388f5c[_0x588ce7(0x15b)]),typeof _0x388f5c['clientMaxWindowBits']==_0x588ce7(0x127)?_0xcce33['client_max_window_bits']=_0x388f5c[_0x588ce7(0x1f4)]:(_0xcce33[_0x588ce7(0xe9)]===!0x0||_0x388f5c[_0x588ce7(0x1f4)]===!0x1)&&delete _0xcce33['client_max_window_bits'],_0xcce33;}['acceptAsClient'](_0x547b52){const _0x8bd51c=_0x2f4b97,_0x1ed1aa=_0x547b52[0x0];if(this['_options'][_0x8bd51c(0x118)]===!0x1&&_0x1ed1aa[_0x8bd51c(0x106)])throw new Error(_0x8bd51c(0x110));if(!_0x1ed1aa[_0x8bd51c(0xe9)])typeof this[_0x8bd51c(0x129)]['clientMaxWindowBits']==_0x8bd51c(0x127)&&(_0x1ed1aa[_0x8bd51c(0xe9)]=this[_0x8bd51c(0x129)][_0x8bd51c(0x1f4)]);else{if(this[_0x8bd51c(0x129)][_0x8bd51c(0x1f4)]===!0x1||typeof this['_options'][_0x8bd51c(0x1f4)]=='number'&&_0x1ed1aa[_0x8bd51c(0xe9)]>this[_0x8bd51c(0x129)]['clientMaxWindowBits'])throw new Error(_0x8bd51c(0x168));}return _0x1ed1aa;}[_0x2f4b97(0xed)](_0x227203){return _0x227203['forEach'](_0xd1b168=>{Object['keys'](_0xd1b168)['forEach'](_0x3f9ae=>{const _0x5e5973=_0x5468;let _0x46fbbe=_0xd1b168[_0x3f9ae];if(_0x46fbbe[_0x5e5973(0x121)]>0x1)throw new Error(_0x5e5973(0x164)+_0x3f9ae+_0x5e5973(0x237));if(_0x46fbbe=_0x46fbbe[0x0],_0x3f9ae===_0x5e5973(0xe9)){if(_0x46fbbe!==!0x0){const _0x11de34=+_0x46fbbe;if(!Number[_0x5e5973(0x126)](_0x11de34)||_0x11de34<0x8||_0x11de34>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3f9ae+'\x22:\x20'+_0x46fbbe);_0x46fbbe=_0x11de34;}else{if(!this['_isServer'])throw new TypeError(_0x5e5973(0x1c1)+_0x3f9ae+'\x22:\x20'+_0x46fbbe);}}else{if(_0x3f9ae===_0x5e5973(0x270)){const _0xefbd68=+_0x46fbbe;if(!Number[_0x5e5973(0x126)](_0xefbd68)||_0xefbd68<0x8||_0xefbd68>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3f9ae+_0x5e5973(0x206)+_0x46fbbe);_0x46fbbe=_0xefbd68;}else{if(_0x3f9ae==='client_no_context_takeover'||_0x3f9ae==='server_no_context_takeover'){if(_0x46fbbe!==!0x0)throw new TypeError(_0x5e5973(0x1c1)+_0x3f9ae+'\x22:\x20'+_0x46fbbe);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x3f9ae+'\x22');}}_0xd1b168[_0x3f9ae]=_0x46fbbe;});}),_0x227203;}[_0x2f4b97(0x297)](_0x3f5578,_0x4b2587,_0x415454){const _0xdc8b1b=_0x2f4b97;_0x5bb5e9[_0xdc8b1b(0x1df)](_0x5f097e=>{const _0x18f701=_0xdc8b1b;this[_0x18f701(0x26d)](_0x3f5578,_0x4b2587,(_0x4a8525,_0x59043f)=>{_0x5f097e(),_0x415454(_0x4a8525,_0x59043f);});});}['compress'](_0xc2f97c,_0x4e2706,_0x5f1b82){const _0x2ade4a=_0x2f4b97;_0x5bb5e9[_0x2ade4a(0x1df)](_0xe5c635=>{const _0x1a0568=_0x2ade4a;this[_0x1a0568(0x1d6)](_0xc2f97c,_0x4e2706,(_0x35b251,_0x5c9e50)=>{_0xe5c635(),_0x5f1b82(_0x35b251,_0x5c9e50);});});}[_0x2f4b97(0x26d)](_0x173fa1,_0x2fa193,_0x557c4a){const _0xb7847c=_0x2f4b97,_0x19adee=this[_0xb7847c(0x194)]?_0xb7847c(0x181):_0xb7847c(0x217);if(!this[_0xb7847c(0x213)]){const _0x293d85=_0x19adee+_0xb7847c(0x10a),_0x40dcd4=typeof this[_0xb7847c(0x21c)][_0x293d85]!=_0xb7847c(0x127)?_0x7d584f['Z_DEFAULT_WINDOWBITS']:this[_0xb7847c(0x21c)][_0x293d85];this[_0xb7847c(0x213)]=_0x7d584f[_0xb7847c(0x175)]({...this[_0xb7847c(0x129)]['zlibInflateOptions'],'windowBits':_0x40dcd4}),this[_0xb7847c(0x213)][_0x42b9d7]=this,this[_0xb7847c(0x213)][_0x52e40c]=0x0,this[_0xb7847c(0x213)][_0x539205]=[],this[_0xb7847c(0x213)]['on'](_0xb7847c(0x28f),_0x305988),this[_0xb7847c(0x213)]['on'](_0xb7847c(0x203),_0x826b6);}this[_0xb7847c(0x213)][_0x1704a9]=_0x557c4a,this[_0xb7847c(0x213)][_0xb7847c(0x15d)](_0x173fa1),_0x2fa193&&this[_0xb7847c(0x213)][_0xb7847c(0x15d)](_0x330bbe),this[_0xb7847c(0x213)][_0xb7847c(0x232)](()=>{const _0x310f06=_0xb7847c,_0x5a3be7=this['_inflate'][_0x2ce5ed];if(_0x5a3be7){this[_0x310f06(0x213)]['close'](),this[_0x310f06(0x213)]=null,_0x557c4a(_0x5a3be7);return;}const _0x31ba2e=_0x25cb1c[_0x310f06(0x285)](this['_inflate'][_0x539205],this[_0x310f06(0x213)][_0x52e40c]);this[_0x310f06(0x213)][_0x310f06(0x116)]['endEmitted']?(this[_0x310f06(0x213)][_0x310f06(0x256)](),this[_0x310f06(0x213)]=null):(this[_0x310f06(0x213)][_0x52e40c]=0x0,this['_inflate'][_0x539205]=[],_0x2fa193&&this[_0x310f06(0x21c)][_0x19adee+_0x310f06(0x11e)]&&this[_0x310f06(0x213)][_0x310f06(0x1e1)]()),_0x557c4a(null,_0x31ba2e);});}[_0x2f4b97(0x1d6)](_0x4adc0a,_0x4d9b69,_0x35bfdc){const _0x328350=_0x2f4b97,_0x5886b6=this[_0x328350(0x194)]?_0x328350(0x217):_0x328350(0x181);if(!this[_0x328350(0x13a)]){const _0x107834=_0x5886b6+_0x328350(0x10a),_0x2574de=typeof this[_0x328350(0x21c)][_0x107834]!=_0x328350(0x127)?_0x7d584f['Z_DEFAULT_WINDOWBITS']:this[_0x328350(0x21c)][_0x107834];this[_0x328350(0x13a)]=_0x7d584f[_0x328350(0x22a)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x2574de}),this[_0x328350(0x13a)][_0x52e40c]=0x0,this['_deflate'][_0x539205]=[],this['_deflate']['on']('data',_0x16dcf7);}this[_0x328350(0x13a)][_0x1704a9]=_0x35bfdc,this[_0x328350(0x13a)][_0x328350(0x15d)](_0x4adc0a),this['_deflate'][_0x328350(0x232)](_0x7d584f[_0x328350(0x17e)],()=>{const _0x470bcc=_0x328350;if(!this[_0x470bcc(0x13a)])return;let _0x1ebe26=_0x25cb1c[_0x470bcc(0x285)](this['_deflate'][_0x539205],this[_0x470bcc(0x13a)][_0x52e40c]);_0x4d9b69&&(_0x1ebe26=new _0x5f0b6c(_0x1ebe26[_0x470bcc(0x26e)],_0x1ebe26[_0x470bcc(0x24b)],_0x1ebe26[_0x470bcc(0x121)]-0x4)),this['_deflate'][_0x1704a9]=null,this['_deflate'][_0x52e40c]=0x0,this[_0x470bcc(0x13a)][_0x539205]=[],_0x4d9b69&&this[_0x470bcc(0x21c)][_0x5886b6+_0x470bcc(0x11e)]&&this[_0x470bcc(0x13a)]['reset'](),_0x35bfdc(null,_0x1ebe26);});}}ve=_0x40f440;function _0x16dcf7(_0x559444){const _0x2eb7db=_0x2f4b97;this[_0x539205][_0x2eb7db(0x15e)](_0x559444),this[_0x52e40c]+=_0x559444[_0x2eb7db(0x121)];}function _0x826b6(_0x1f1916){const _0x55acec=_0x2f4b97;if(this[_0x52e40c]+=_0x1f1916[_0x55acec(0x121)],this[_0x42b9d7][_0x55acec(0x18c)]<0x1||this[_0x52e40c]<=this[_0x42b9d7][_0x55acec(0x18c)]){this[_0x539205][_0x55acec(0x15e)](_0x1f1916);return;}this[_0x2ce5ed]=new RangeError(_0x55acec(0x273)),this[_0x2ce5ed]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x2ce5ed][_0x51e159]=0x3f1,this['removeListener'](_0x55acec(0x203),_0x826b6),this[_0x55acec(0x1e1)]();}function _0x305988(_0x117adb){const _0x2cffb4=_0x2f4b97;this[_0x42b9d7][_0x2cffb4(0x213)]=null,_0x117adb[_0x51e159]=0x3ef,this[_0x1704a9](_0x117adb);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x39a5ac(0x260)](Object[_0x39a5ac(0x1a1)]({'__proto__':null,'default':Ht},Symbol[_0x39a5ac(0x148)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x4faaad=_0x39a5ac;if(Qe)return re[_0x4faaad(0x264)];Qe=0x1;const {isUtf8:_0x89cc51}=_0x2be5fb,{hasBlob:_0x4e9d14}=V(),_0x3b4800=[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 _0x5079c2(_0x254601){return _0x254601>=0x3e8&&_0x254601<=0x3f6&&_0x254601!==0x3ec&&_0x254601!==0x3ed&&_0x254601!==0x3ee||_0x254601>=0xbb8&&_0x254601<=0x1387;}function _0x4a3847(_0x101ee0){const _0x2d36b4=_0x101ee0['length'];let _0x4b24e7=0x0;for(;_0x4b24e7<_0x2d36b4;)if((_0x101ee0[_0x4b24e7]&0x80)===0x0)_0x4b24e7++;else{if((_0x101ee0[_0x4b24e7]&0xe0)===0xc0){if(_0x4b24e7+0x1===_0x2d36b4||(_0x101ee0[_0x4b24e7+0x1]&0xc0)!==0x80||(_0x101ee0[_0x4b24e7]&0xfe)===0xc0)return!0x1;_0x4b24e7+=0x2;}else{if((_0x101ee0[_0x4b24e7]&0xf0)===0xe0){if(_0x4b24e7+0x2>=_0x2d36b4||(_0x101ee0[_0x4b24e7+0x1]&0xc0)!==0x80||(_0x101ee0[_0x4b24e7+0x2]&0xc0)!==0x80||_0x101ee0[_0x4b24e7]===0xe0&&(_0x101ee0[_0x4b24e7+0x1]&0xe0)===0x80||_0x101ee0[_0x4b24e7]===0xed&&(_0x101ee0[_0x4b24e7+0x1]&0xe0)===0xa0)return!0x1;_0x4b24e7+=0x3;}else{if((_0x101ee0[_0x4b24e7]&0xf8)===0xf0){if(_0x4b24e7+0x3>=_0x2d36b4||(_0x101ee0[_0x4b24e7+0x1]&0xc0)!==0x80||(_0x101ee0[_0x4b24e7+0x2]&0xc0)!==0x80||(_0x101ee0[_0x4b24e7+0x3]&0xc0)!==0x80||_0x101ee0[_0x4b24e7]===0xf0&&(_0x101ee0[_0x4b24e7+0x1]&0xf0)===0x80||_0x101ee0[_0x4b24e7]===0xf4&&_0x101ee0[_0x4b24e7+0x1]>0x8f||_0x101ee0[_0x4b24e7]>0xf4)return!0x1;_0x4b24e7+=0x4;}else return!0x1;}}}return!0x0;}function _0x56b7a2(_0x580a9c){const _0x379ffe=_0x4faaad;return _0x4e9d14&&typeof _0x580a9c==_0x379ffe(0x20e)&&typeof _0x580a9c[_0x379ffe(0x123)]==_0x379ffe(0x1da)&&typeof _0x580a9c[_0x379ffe(0x257)]==_0x379ffe(0x251)&&typeof _0x580a9c[_0x379ffe(0x20f)]=='function'&&(_0x580a9c[Symbol[_0x379ffe(0x148)]]===_0x379ffe(0x109)||_0x580a9c[Symbol['toStringTag']]==='File');}if(re[_0x4faaad(0x264)]={'isBlob':_0x56b7a2,'isValidStatusCode':_0x5079c2,'isValidUTF8':_0x4a3847,'tokenChars':_0x3b4800},_0x89cc51)re[_0x4faaad(0x264)][_0x4faaad(0x26c)]=function(_0x236488){const _0x138e43=_0x4faaad;return _0x236488[_0x138e43(0x121)]<0x18?_0x4a3847(_0x236488):_0x89cc51(_0x236488);};else{if(!process['env'][_0x4faaad(0x1d0)])try{const _0x483cd2=Yt;re[_0x4faaad(0x264)][_0x4faaad(0x26c)]=function(_0x2fe3cf){const _0x12543b=_0x4faaad;return _0x2fe3cf[_0x12543b(0x121)]<0x20?_0x4a3847(_0x2fe3cf):_0x483cd2(_0x2fe3cf);};}catch{}}return re[_0x4faaad(0x264)];}var Se,Je;function dt(){const _0x5341b9=_0x39a5ac;if(Je)return Se;Je=0x1;const {Writable:_0x45caa7}=_0x5123e8,_0x646dac=he(),{BINARY_TYPES:_0x4bacae,EMPTY_BUFFER:_0x110032,kStatusCode:_0x15ed7b,kWebSocket:_0xcc423c}=V(),{concat:_0x53b07a,toArrayBuffer:_0x5d575d,unmask:_0x1a1d58}=ce(),{isValidStatusCode:_0x2b4471,isValidUTF8:_0x1f4ad6}=ne(),_0x472c24=Buffer[Symbol[_0x5341b9(0x144)]],_0x47dbf7=0x0,_0xcaff92=0x1,_0x4de6be=0x2,_0x54321=0x3,_0x4ec7bb=0x4,_0x48556f=0x5,_0x3810c5=0x6;class _0x30b40c extends _0x45caa7{constructor(_0x5813a={}){const _0x1a25f5=_0x5341b9;super(),this['_allowSynchronousEvents']=_0x5813a[_0x1a25f5(0x24e)]!==void 0x0?_0x5813a['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x5813a['binaryType']||_0x4bacae[0x0],this[_0x1a25f5(0x1b0)]=_0x5813a['extensions']||{},this[_0x1a25f5(0x194)]=!!_0x5813a[_0x1a25f5(0x281)],this['_maxPayload']=_0x5813a[_0x1a25f5(0x22d)]|0x0,this[_0x1a25f5(0x1a2)]=!!_0x5813a[_0x1a25f5(0x224)],this[_0xcc423c]=void 0x0,this[_0x1a25f5(0x28c)]=0x0,this[_0x1a25f5(0x150)]=[],this[_0x1a25f5(0x29a)]=!0x1,this[_0x1a25f5(0xf0)]=0x0,this[_0x1a25f5(0x20b)]=void 0x0,this[_0x1a25f5(0x13f)]=0x0,this['_masked']=!0x1,this[_0x1a25f5(0x16c)]=!0x1,this['_opcode']=0x0,this[_0x1a25f5(0x1fa)]=0x0,this[_0x1a25f5(0x16d)]=0x0,this[_0x1a25f5(0x1d2)]=[],this[_0x1a25f5(0x1b4)]=!0x1,this[_0x1a25f5(0x14a)]=!0x1,this['_state']=_0x47dbf7;}[_0x5341b9(0x23a)](_0x1daed3,_0x1ffa5f,_0x3dae17){const _0x287751=_0x5341b9;if(this[_0x287751(0x1d4)]===0x8&&this[_0x287751(0x22c)]==_0x47dbf7)return _0x3dae17();this[_0x287751(0x28c)]+=_0x1daed3['length'],this['_buffers']['push'](_0x1daed3),this[_0x287751(0x1f3)](_0x3dae17);}[_0x5341b9(0xf1)](_0x485501){const _0x4fd1cd=_0x5341b9;if(this[_0x4fd1cd(0x28c)]-=_0x485501,_0x485501===this[_0x4fd1cd(0x150)][0x0][_0x4fd1cd(0x121)])return this[_0x4fd1cd(0x150)][_0x4fd1cd(0x241)]();if(_0x485501<this[_0x4fd1cd(0x150)][0x0][_0x4fd1cd(0x121)]){const _0x4d686d=this[_0x4fd1cd(0x150)][0x0];return this['_buffers'][0x0]=new _0x472c24(_0x4d686d[_0x4fd1cd(0x26e)],_0x4d686d[_0x4fd1cd(0x24b)]+_0x485501,_0x4d686d[_0x4fd1cd(0x121)]-_0x485501),new _0x472c24(_0x4d686d[_0x4fd1cd(0x26e)],_0x4d686d['byteOffset'],_0x485501);}const _0x5b7cff=Buffer[_0x4fd1cd(0x265)](_0x485501);do{const _0xbadc1d=this[_0x4fd1cd(0x150)][0x0],_0x1df7a6=_0x5b7cff[_0x4fd1cd(0x121)]-_0x485501;_0x485501>=_0xbadc1d['length']?_0x5b7cff[_0x4fd1cd(0x124)](this[_0x4fd1cd(0x150)][_0x4fd1cd(0x241)](),_0x1df7a6):(_0x5b7cff[_0x4fd1cd(0x124)](new Uint8Array(_0xbadc1d[_0x4fd1cd(0x26e)],_0xbadc1d[_0x4fd1cd(0x24b)],_0x485501),_0x1df7a6),this[_0x4fd1cd(0x150)][0x0]=new _0x472c24(_0xbadc1d['buffer'],_0xbadc1d[_0x4fd1cd(0x24b)]+_0x485501,_0xbadc1d['length']-_0x485501)),_0x485501-=_0xbadc1d[_0x4fd1cd(0x121)];}while(_0x485501>0x0);return _0x5b7cff;}[_0x5341b9(0x1f3)](_0x5bf8b4){const _0x3b8d5f=_0x5341b9;this[_0x3b8d5f(0x14a)]=!0x0;do switch(this[_0x3b8d5f(0x22c)]){case _0x47dbf7:this[_0x3b8d5f(0x211)](_0x5bf8b4);break;case _0xcaff92:this[_0x3b8d5f(0x10d)](_0x5bf8b4);break;case _0x4de6be:this[_0x3b8d5f(0x261)](_0x5bf8b4);break;case _0x54321:this['getMask']();break;case _0x4ec7bb:this[_0x3b8d5f(0x157)](_0x5bf8b4);break;case _0x48556f:case _0x3810c5:this['_loop']=!0x1;return;}while(this[_0x3b8d5f(0x14a)]);this[_0x3b8d5f(0x1b4)]||_0x5bf8b4();}[_0x5341b9(0x211)](_0xae1015){const _0x4de8f4=_0x5341b9;if(this[_0x4de8f4(0x28c)]<0x2){this['_loop']=!0x1;return;}const _0x55bf7f=this['consume'](0x2);if((_0x55bf7f[0x0]&0x30)!==0x0){const _0x3f4809=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x10b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xae1015(_0x3f4809);return;}const _0x2dd348=(_0x55bf7f[0x0]&0x40)===0x40;if(_0x2dd348&&!this[_0x4de8f4(0x1b0)][_0x646dac[_0x4de8f4(0x1dd)]]){const _0xcfbfab=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x180),!0x0,0x3ea,_0x4de8f4(0x244));_0xae1015(_0xcfbfab);return;}if(this[_0x4de8f4(0x16c)]=(_0x55bf7f[0x0]&0x80)===0x80,this[_0x4de8f4(0x1d4)]=_0x55bf7f[0x0]&0xf,this[_0x4de8f4(0xf0)]=_0x55bf7f[0x1]&0x7f,this[_0x4de8f4(0x1d4)]===0x0){if(_0x2dd348){const _0x5720b5=this[_0x4de8f4(0x1e3)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4de8f4(0x244));_0xae1015(_0x5720b5);return;}if(!this['_fragmented']){const _0x3e4776=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x280),!0x0,0x3ea,_0x4de8f4(0xee));_0xae1015(_0x3e4776);return;}this[_0x4de8f4(0x1d4)]=this[_0x4de8f4(0x13f)];}else{if(this[_0x4de8f4(0x1d4)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x1fe419=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x1f2)+this[_0x4de8f4(0x1d4)],!0x0,0x3ea,_0x4de8f4(0xee));_0xae1015(_0x1fe419);return;}this['_compressed']=_0x2dd348;}else{if(this[_0x4de8f4(0x1d4)]>0x7&&this['_opcode']<0xb){if(!this[_0x4de8f4(0x16c)]){const _0xc13615=this[_0x4de8f4(0x1e3)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x4de8f4(0xfc));_0xae1015(_0xc13615);return;}if(_0x2dd348){const _0x338853=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4de8f4(0x244));_0xae1015(_0x338853);return;}if(this[_0x4de8f4(0xf0)]>0x7d||this['_opcode']===0x8&&this[_0x4de8f4(0xf0)]===0x1){const _0x54204f=this[_0x4de8f4(0x1e3)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x4de8f4(0x1be));_0xae1015(_0x54204f);return;}}else{const _0x3b4457=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x1f2)+this[_0x4de8f4(0x1d4)],!0x0,0x3ea,_0x4de8f4(0xee));_0xae1015(_0x3b4457);return;}}}if(!this[_0x4de8f4(0x16c)]&&!this[_0x4de8f4(0x13f)]&&(this[_0x4de8f4(0x13f)]=this['_opcode']),this[_0x4de8f4(0x22e)]=(_0x55bf7f[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x4de8f4(0x22e)]){const _0x49cd3f=this[_0x4de8f4(0x1e3)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4de8f4(0x153));_0xae1015(_0x49cd3f);return;}}else{if(this['_masked']){const _0xf92890=this[_0x4de8f4(0x1e3)](RangeError,_0x4de8f4(0x198),!0x0,0x3ea,_0x4de8f4(0x186));_0xae1015(_0xf92890);return;}}this[_0x4de8f4(0xf0)]===0x7e?this[_0x4de8f4(0x22c)]=_0xcaff92:this[_0x4de8f4(0xf0)]===0x7f?this['_state']=_0x4de6be:this['haveLength'](_0xae1015);}[_0x5341b9(0x10d)](_0x323dd9){const _0x458f2b=_0x5341b9;if(this[_0x458f2b(0x28c)]<0x2){this['_loop']=!0x1;return;}this[_0x458f2b(0xf0)]=this[_0x458f2b(0xf1)](0x2)[_0x458f2b(0x1bc)](0x0),this[_0x458f2b(0x173)](_0x323dd9);}[_0x5341b9(0x261)](_0x517780){const _0x1c3df6=_0x5341b9;if(this[_0x1c3df6(0x28c)]<0x8){this[_0x1c3df6(0x14a)]=!0x1;return;}const _0xc7ebed=this[_0x1c3df6(0xf1)](0x8),_0x543fb1=_0xc7ebed['readUInt32BE'](0x0);if(_0x543fb1>Math[_0x1c3df6(0x28a)](0x2,0x15)-0x1){const _0xe35e5a=this[_0x1c3df6(0x1e3)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x517780(_0xe35e5a);return;}this[_0x1c3df6(0xf0)]=_0x543fb1*Math[_0x1c3df6(0x28a)](0x2,0x20)+_0xc7ebed[_0x1c3df6(0x17a)](0x4),this[_0x1c3df6(0x173)](_0x517780);}[_0x5341b9(0x173)](_0x697826){const _0x328791=_0x5341b9;if(this[_0x328791(0xf0)]&&this[_0x328791(0x1d4)]<0x8&&(this[_0x328791(0x1fa)]+=this['_payloadLength'],this[_0x328791(0x1fa)]>this['_maxPayload']&&this[_0x328791(0x18c)]>0x0)){const _0x5653cf=this[_0x328791(0x1e3)](RangeError,_0x328791(0x273),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x697826(_0x5653cf);return;}this[_0x328791(0x22e)]?this['_state']=_0x54321:this[_0x328791(0x22c)]=_0x4ec7bb;}[_0x5341b9(0x19a)](){const _0x642fd9=_0x5341b9;if(this[_0x642fd9(0x28c)]<0x4){this[_0x642fd9(0x14a)]=!0x1;return;}this[_0x642fd9(0x20b)]=this[_0x642fd9(0xf1)](0x4),this[_0x642fd9(0x22c)]=_0x4ec7bb;}['getData'](_0x1a5b9c){const _0x13e43b=_0x5341b9;let _0x25869b=_0x110032;if(this[_0x13e43b(0xf0)]){if(this[_0x13e43b(0x28c)]<this[_0x13e43b(0xf0)]){this[_0x13e43b(0x14a)]=!0x1;return;}_0x25869b=this['consume'](this[_0x13e43b(0xf0)]),this[_0x13e43b(0x22e)]&&(this[_0x13e43b(0x20b)][0x0]|this[_0x13e43b(0x20b)][0x1]|this[_0x13e43b(0x20b)][0x2]|this['_mask'][0x3])!==0x0&&_0x1a1d58(_0x25869b,this[_0x13e43b(0x20b)]);}if(this[_0x13e43b(0x1d4)]>0x7){this[_0x13e43b(0x1b1)](_0x25869b,_0x1a5b9c);return;}if(this['_compressed']){this[_0x13e43b(0x22c)]=_0x48556f,this[_0x13e43b(0x297)](_0x25869b,_0x1a5b9c);return;}_0x25869b[_0x13e43b(0x121)]&&(this[_0x13e43b(0x16d)]=this[_0x13e43b(0x1fa)],this[_0x13e43b(0x1d2)][_0x13e43b(0x15e)](_0x25869b)),this[_0x13e43b(0x1d5)](_0x1a5b9c);}['decompress'](_0x3974b8,_0x3a2ccc){const _0x18108f=_0x5341b9;this[_0x18108f(0x1b0)][_0x646dac[_0x18108f(0x1dd)]][_0x18108f(0x297)](_0x3974b8,this[_0x18108f(0x16c)],(_0x2a95a1,_0x3cd8bf)=>{const _0x5928e2=_0x18108f;if(_0x2a95a1)return _0x3a2ccc(_0x2a95a1);if(_0x3cd8bf[_0x5928e2(0x121)]){if(this[_0x5928e2(0x16d)]+=_0x3cd8bf[_0x5928e2(0x121)],this[_0x5928e2(0x16d)]>this['_maxPayload']&&this[_0x5928e2(0x18c)]>0x0){const _0x2ad2c9=this[_0x5928e2(0x1e3)](RangeError,_0x5928e2(0x273),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x3a2ccc(_0x2ad2c9);return;}this[_0x5928e2(0x1d2)][_0x5928e2(0x15e)](_0x3cd8bf);}this[_0x5928e2(0x1d5)](_0x3a2ccc),this['_state']===_0x47dbf7&&this[_0x5928e2(0x1f3)](_0x3a2ccc);});}[_0x5341b9(0x1d5)](_0x200cc6){const _0x3ffda6=_0x5341b9;if(!this['_fin']){this[_0x3ffda6(0x22c)]=_0x47dbf7;return;}const _0x506036=this[_0x3ffda6(0x16d)],_0x53991e=this['_fragments'];if(this[_0x3ffda6(0x1fa)]=0x0,this[_0x3ffda6(0x16d)]=0x0,this['_fragmented']=0x0,this[_0x3ffda6(0x1d2)]=[],this[_0x3ffda6(0x1d4)]===0x2){let _0x42ff5c;this[_0x3ffda6(0x230)]===_0x3ffda6(0x19e)?_0x42ff5c=_0x53b07a(_0x53991e,_0x506036):this[_0x3ffda6(0x230)]===_0x3ffda6(0x183)?_0x42ff5c=_0x5d575d(_0x53b07a(_0x53991e,_0x506036)):this['_binaryType']===_0x3ffda6(0x1d8)?_0x42ff5c=new Blob(_0x53991e):_0x42ff5c=_0x53991e,this[_0x3ffda6(0x1b9)]?(this['emit'](_0x3ffda6(0x1ad),_0x42ff5c,!0x0),this[_0x3ffda6(0x22c)]=_0x47dbf7):(this[_0x3ffda6(0x22c)]=_0x3810c5,setImmediate(()=>{const _0x58129a=_0x3ffda6;this[_0x58129a(0x1ee)](_0x58129a(0x1ad),_0x42ff5c,!0x0),this[_0x58129a(0x22c)]=_0x47dbf7,this[_0x58129a(0x1f3)](_0x200cc6);}));}else{const _0x149328=_0x53b07a(_0x53991e,_0x506036);if(!this[_0x3ffda6(0x1a2)]&&!_0x1f4ad6(_0x149328)){const _0x57fef8=this[_0x3ffda6(0x1e3)](Error,_0x3ffda6(0x18d),!0x0,0x3ef,_0x3ffda6(0x1fb));_0x200cc6(_0x57fef8);return;}this['_state']===_0x48556f||this[_0x3ffda6(0x1b9)]?(this[_0x3ffda6(0x1ee)]('message',_0x149328,!0x1),this['_state']=_0x47dbf7):(this[_0x3ffda6(0x22c)]=_0x3810c5,setImmediate(()=>{const _0x45b23e=_0x3ffda6;this[_0x45b23e(0x1ee)]('message',_0x149328,!0x1),this[_0x45b23e(0x22c)]=_0x47dbf7,this[_0x45b23e(0x1f3)](_0x200cc6);}));}}[_0x5341b9(0x1b1)](_0x38644e,_0x317202){const _0x36593c=_0x5341b9;if(this[_0x36593c(0x1d4)]===0x8){if(_0x38644e[_0x36593c(0x121)]===0x0)this[_0x36593c(0x14a)]=!0x1,this[_0x36593c(0x1ee)]('conclude',0x3ed,_0x110032),this[_0x36593c(0x234)]();else{const _0x2ddd6e=_0x38644e[_0x36593c(0x1bc)](0x0);if(!_0x2b4471(_0x2ddd6e)){const _0x4e650d=this[_0x36593c(0x1e3)](RangeError,_0x36593c(0x276)+_0x2ddd6e,!0x0,0x3ea,_0x36593c(0x137));_0x317202(_0x4e650d);return;}const _0x22c415=new _0x472c24(_0x38644e[_0x36593c(0x26e)],_0x38644e['byteOffset']+0x2,_0x38644e[_0x36593c(0x121)]-0x2);if(!this[_0x36593c(0x1a2)]&&!_0x1f4ad6(_0x22c415)){const _0x4c7789=this[_0x36593c(0x1e3)](Error,_0x36593c(0x18d),!0x0,0x3ef,_0x36593c(0x1fb));_0x317202(_0x4c7789);return;}this['_loop']=!0x1,this[_0x36593c(0x1ee)](_0x36593c(0x174),_0x2ddd6e,_0x22c415),this[_0x36593c(0x234)]();}this[_0x36593c(0x22c)]=_0x47dbf7;return;}this[_0x36593c(0x1b9)]?(this[_0x36593c(0x1ee)](this[_0x36593c(0x1d4)]===0x9?_0x36593c(0x27f):_0x36593c(0x1f9),_0x38644e),this['_state']=_0x47dbf7):(this['_state']=_0x3810c5,setImmediate(()=>{const _0x3bdfa3=_0x36593c;this['emit'](this[_0x3bdfa3(0x1d4)]===0x9?'ping':_0x3bdfa3(0x1f9),_0x38644e),this[_0x3bdfa3(0x22c)]=_0x47dbf7,this[_0x3bdfa3(0x1f3)](_0x317202);}));}[_0x5341b9(0x1e3)](_0x19644b,_0x3cc411,_0x29123a,_0x1ee359,_0x57ba59){const _0x23b605=_0x5341b9;this[_0x23b605(0x14a)]=!0x1,this[_0x23b605(0x1b4)]=!0x0;const _0xc1cd8f=new _0x19644b(_0x29123a?_0x23b605(0x23f)+_0x3cc411:_0x3cc411);return Error['captureStackTrace'](_0xc1cd8f,this[_0x23b605(0x1e3)]),_0xc1cd8f['code']=_0x57ba59,_0xc1cd8f[_0x15ed7b]=_0x1ee359,_0xc1cd8f;}}return Se=_0x30b40c,Se;}var Ee,et;function _t(){const _0x5bad88=_0x39a5ac;if(et)return Ee;et=0x1;const {Duplex:_0x7439ab}=_0x5123e8,{randomFillSync:_0x410a49}=_0x5d136f,_0x36bf9b=he(),{EMPTY_BUFFER:_0x23e14e,kWebSocket:_0x34a2cd,NOOP:_0x4ed0c8}=V(),{isBlob:_0x3dcdc8,isValidStatusCode:_0x311238}=ne(),{mask:_0x36c268,toBuffer:_0x490585}=ce(),_0x7220ec=Symbol(_0x5bad88(0x1a4)),_0x18ca18=Buffer[_0x5bad88(0x16a)](0x4),_0x6488b8=0x8*0x400;let _0x1ea727,_0x4225ce=_0x6488b8;const _0x1ff224=0x0,_0x2f448c=0x1,_0x21c335=0x2;class _0x9657d4{constructor(_0x6a40,_0x3c4fbb,_0x2ecb1c){const _0x3fee70=_0x5bad88;this[_0x3fee70(0x1b0)]=_0x3c4fbb||{},_0x2ecb1c&&(this['_generateMask']=_0x2ecb1c,this[_0x3fee70(0x1cb)]=Buffer[_0x3fee70(0x16a)](0x4)),this[_0x3fee70(0x117)]=_0x6a40,this[_0x3fee70(0x1f6)]=!0x0,this[_0x3fee70(0x1d6)]=!0x1,this[_0x3fee70(0x28c)]=0x0,this['_queue']=[],this[_0x3fee70(0x22c)]=_0x1ff224,this[_0x3fee70(0xeb)]=_0x4ed0c8,this[_0x34a2cd]=void 0x0;}static[_0x5bad88(0x17f)](_0x1e7028,_0x352677){const _0x51e85f=_0x5bad88;let _0xc8c0d7,_0x1e5806=!0x1,_0x4c88a0=0x2,_0x3764b2=!0x1;_0x352677[_0x51e85f(0x184)]&&(_0xc8c0d7=_0x352677[_0x51e85f(0x1e5)]||_0x18ca18,_0x352677[_0x51e85f(0x178)]?_0x352677[_0x51e85f(0x178)](_0xc8c0d7):(_0x4225ce===_0x6488b8&&(_0x1ea727===void 0x0&&(_0x1ea727=Buffer[_0x51e85f(0x16a)](_0x6488b8)),_0x410a49(_0x1ea727,0x0,_0x6488b8),_0x4225ce=0x0),_0xc8c0d7[0x0]=_0x1ea727[_0x4225ce++],_0xc8c0d7[0x1]=_0x1ea727[_0x4225ce++],_0xc8c0d7[0x2]=_0x1ea727[_0x4225ce++],_0xc8c0d7[0x3]=_0x1ea727[_0x4225ce++]),_0x3764b2=(_0xc8c0d7[0x0]|_0xc8c0d7[0x1]|_0xc8c0d7[0x2]|_0xc8c0d7[0x3])===0x0,_0x4c88a0=0x6);let _0x4ee107;typeof _0x1e7028==_0x51e85f(0x251)?(!_0x352677[_0x51e85f(0x184)]||_0x3764b2)&&_0x352677[_0x7220ec]!==void 0x0?_0x4ee107=_0x352677[_0x7220ec]:(_0x1e7028=Buffer[_0x51e85f(0x214)](_0x1e7028),_0x4ee107=_0x1e7028['length']):(_0x4ee107=_0x1e7028['length'],_0x1e5806=_0x352677[_0x51e85f(0x184)]&&_0x352677[_0x51e85f(0x204)]&&!_0x3764b2);let _0x344ee0=_0x4ee107;_0x4ee107>=0x10000?(_0x4c88a0+=0x8,_0x344ee0=0x7f):_0x4ee107>0x7d&&(_0x4c88a0+=0x2,_0x344ee0=0x7e);const _0xc9a5ca=Buffer[_0x51e85f(0x265)](_0x1e5806?_0x4ee107+_0x4c88a0:_0x4c88a0);return _0xc9a5ca[0x0]=_0x352677[_0x51e85f(0x1e9)]?_0x352677['opcode']|0x80:_0x352677[_0x51e85f(0x11c)],_0x352677[_0x51e85f(0x292)]&&(_0xc9a5ca[0x0]|=0x40),_0xc9a5ca[0x1]=_0x344ee0,_0x344ee0===0x7e?_0xc9a5ca[_0x51e85f(0x1c0)](_0x4ee107,0x2):_0x344ee0===0x7f&&(_0xc9a5ca[0x2]=_0xc9a5ca[0x3]=0x0,_0xc9a5ca[_0x51e85f(0x21d)](_0x4ee107,0x4,0x6)),_0x352677['mask']?(_0xc9a5ca[0x1]|=0x80,_0xc9a5ca[_0x4c88a0-0x4]=_0xc8c0d7[0x0],_0xc9a5ca[_0x4c88a0-0x3]=_0xc8c0d7[0x1],_0xc9a5ca[_0x4c88a0-0x2]=_0xc8c0d7[0x2],_0xc9a5ca[_0x4c88a0-0x1]=_0xc8c0d7[0x3],_0x3764b2?[_0xc9a5ca,_0x1e7028]:_0x1e5806?(_0x36c268(_0x1e7028,_0xc8c0d7,_0xc9a5ca,_0x4c88a0,_0x4ee107),[_0xc9a5ca]):(_0x36c268(_0x1e7028,_0xc8c0d7,_0x1e7028,0x0,_0x4ee107),[_0xc9a5ca,_0x1e7028])):[_0xc9a5ca,_0x1e7028];}[_0x5bad88(0x256)](_0x146664,_0x2ef5c9,_0xfae9a8,_0x55f316){const _0x37e9e5=_0x5bad88;let _0x39338c;if(_0x146664===void 0x0)_0x39338c=_0x23e14e;else{if(typeof _0x146664!=_0x37e9e5(0x127)||!_0x311238(_0x146664))throw new TypeError(_0x37e9e5(0x149));if(_0x2ef5c9===void 0x0||!_0x2ef5c9['length'])_0x39338c=Buffer[_0x37e9e5(0x265)](0x2),_0x39338c[_0x37e9e5(0x1c0)](_0x146664,0x0);else{const _0x19a7ef=Buffer[_0x37e9e5(0x1e4)](_0x2ef5c9);if(_0x19a7ef>0x7b)throw new RangeError(_0x37e9e5(0x14d));_0x39338c=Buffer['allocUnsafe'](0x2+_0x19a7ef),_0x39338c[_0x37e9e5(0x1c0)](_0x146664,0x0),typeof _0x2ef5c9==_0x37e9e5(0x251)?_0x39338c[_0x37e9e5(0x15d)](_0x2ef5c9,0x2):_0x39338c[_0x37e9e5(0x124)](_0x2ef5c9,0x2);}}const _0x4ba07f={[_0x7220ec]:_0x39338c[_0x37e9e5(0x121)],'fin':!0x0,'generateMask':this[_0x37e9e5(0x138)],'mask':_0xfae9a8,'maskBuffer':this[_0x37e9e5(0x1cb)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x37e9e5(0x22c)]!==_0x1ff224?this[_0x37e9e5(0x102)]([this[_0x37e9e5(0xf4)],_0x39338c,!0x1,_0x4ba07f,_0x55f316]):this['sendFrame'](_0x9657d4[_0x37e9e5(0x17f)](_0x39338c,_0x4ba07f),_0x55f316);}[_0x5bad88(0x27f)](_0x289424,_0x26fd9c,_0x20ec09){const _0x25bfd8=_0x5bad88;let _0x35397e,_0x55261d;if(typeof _0x289424==_0x25bfd8(0x251)?(_0x35397e=Buffer[_0x25bfd8(0x1e4)](_0x289424),_0x55261d=!0x1):_0x3dcdc8(_0x289424)?(_0x35397e=_0x289424[_0x25bfd8(0x196)],_0x55261d=!0x1):(_0x289424=_0x490585(_0x289424),_0x35397e=_0x289424[_0x25bfd8(0x121)],_0x55261d=_0x490585[_0x25bfd8(0x204)]),_0x35397e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xd56de9={[_0x7220ec]:_0x35397e,'fin':!0x0,'generateMask':this[_0x25bfd8(0x138)],'mask':_0x26fd9c,'maskBuffer':this[_0x25bfd8(0x1cb)],'opcode':0x9,'readOnly':_0x55261d,'rsv1':!0x1};_0x3dcdc8(_0x289424)?this[_0x25bfd8(0x22c)]!==_0x1ff224?this['enqueue']([this['getBlobData'],_0x289424,!0x1,_0xd56de9,_0x20ec09]):this[_0x25bfd8(0x16e)](_0x289424,!0x1,_0xd56de9,_0x20ec09):this[_0x25bfd8(0x22c)]!==_0x1ff224?this['enqueue']([this[_0x25bfd8(0xf4)],_0x289424,!0x1,_0xd56de9,_0x20ec09]):this[_0x25bfd8(0x19f)](_0x9657d4['frame'](_0x289424,_0xd56de9),_0x20ec09);}[_0x5bad88(0x1f9)](_0xfd28e4,_0x3281fc,_0x13324e){const _0x327848=_0x5bad88;let _0x17de87,_0x25574f;if(typeof _0xfd28e4==_0x327848(0x251)?(_0x17de87=Buffer[_0x327848(0x1e4)](_0xfd28e4),_0x25574f=!0x1):_0x3dcdc8(_0xfd28e4)?(_0x17de87=_0xfd28e4[_0x327848(0x196)],_0x25574f=!0x1):(_0xfd28e4=_0x490585(_0xfd28e4),_0x17de87=_0xfd28e4[_0x327848(0x121)],_0x25574f=_0x490585['readOnly']),_0x17de87>0x7d)throw new RangeError(_0x327848(0x1d3));const _0x46f042={[_0x7220ec]:_0x17de87,'fin':!0x0,'generateMask':this[_0x327848(0x138)],'mask':_0x3281fc,'maskBuffer':this[_0x327848(0x1cb)],'opcode':0xa,'readOnly':_0x25574f,'rsv1':!0x1};_0x3dcdc8(_0xfd28e4)?this['_state']!==_0x1ff224?this['enqueue']([this[_0x327848(0x16e)],_0xfd28e4,!0x1,_0x46f042,_0x13324e]):this['getBlobData'](_0xfd28e4,!0x1,_0x46f042,_0x13324e):this['_state']!==_0x1ff224?this['enqueue']([this[_0x327848(0xf4)],_0xfd28e4,!0x1,_0x46f042,_0x13324e]):this[_0x327848(0x19f)](_0x9657d4['frame'](_0xfd28e4,_0x46f042),_0x13324e);}[_0x5bad88(0xf5)](_0x3d8138,_0x3c4310,_0x129870){const _0x18de59=_0x5bad88,_0x1b50d4=this['_extensions'][_0x36bf9b[_0x18de59(0x1dd)]];let _0x1e182=_0x3c4310[_0x18de59(0x267)]?0x2:0x1,_0x35343f=_0x3c4310['compress'],_0x403df7,_0x5ad4ce;typeof _0x3d8138==_0x18de59(0x251)?(_0x403df7=Buffer[_0x18de59(0x1e4)](_0x3d8138),_0x5ad4ce=!0x1):_0x3dcdc8(_0x3d8138)?(_0x403df7=_0x3d8138['size'],_0x5ad4ce=!0x1):(_0x3d8138=_0x490585(_0x3d8138),_0x403df7=_0x3d8138['length'],_0x5ad4ce=_0x490585['readOnly']),this[_0x18de59(0x1f6)]?(this[_0x18de59(0x1f6)]=!0x1,_0x35343f&&_0x1b50d4&&_0x1b50d4[_0x18de59(0x21c)][_0x1b50d4['_isServer']?_0x18de59(0x247):'client_no_context_takeover']&&(_0x35343f=_0x403df7>=_0x1b50d4[_0x18de59(0x221)]),this[_0x18de59(0x1d6)]=_0x35343f):(_0x35343f=!0x1,_0x1e182=0x0),_0x3c4310[_0x18de59(0x1e9)]&&(this['_firstFragment']=!0x0);const _0x3f8fcb={[_0x7220ec]:_0x403df7,'fin':_0x3c4310['fin'],'generateMask':this[_0x18de59(0x138)],'mask':_0x3c4310['mask'],'maskBuffer':this[_0x18de59(0x1cb)],'opcode':_0x1e182,'readOnly':_0x5ad4ce,'rsv1':_0x35343f};_0x3dcdc8(_0x3d8138)?this[_0x18de59(0x22c)]!==_0x1ff224?this['enqueue']([this[_0x18de59(0x16e)],_0x3d8138,this[_0x18de59(0x1d6)],_0x3f8fcb,_0x129870]):this[_0x18de59(0x16e)](_0x3d8138,this[_0x18de59(0x1d6)],_0x3f8fcb,_0x129870):this[_0x18de59(0x22c)]!==_0x1ff224?this[_0x18de59(0x102)]([this[_0x18de59(0xf4)],_0x3d8138,this[_0x18de59(0x1d6)],_0x3f8fcb,_0x129870]):this[_0x18de59(0xf4)](_0x3d8138,this[_0x18de59(0x1d6)],_0x3f8fcb,_0x129870);}[_0x5bad88(0x16e)](_0x1ca6fa,_0xb40648,_0x3f7723,_0x6540bb){const _0x2b94f1=_0x5bad88;this['_bufferedBytes']+=_0x3f7723[_0x7220ec],this['_state']=_0x21c335,_0x1ca6fa[_0x2b94f1(0x123)]()[_0x2b94f1(0x1b3)](_0x949262=>{const _0x3c676a=_0x2b94f1;if(this[_0x3c676a(0x117)][_0x3c676a(0x238)]){const _0x3429c3=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x3c676a(0x226)](_0x1d5994,this,_0x3429c3,_0x6540bb);return;}this[_0x3c676a(0x28c)]-=_0x3f7723[_0x7220ec];const _0xd4d54d=_0x490585(_0x949262);_0xb40648?this['dispatch'](_0xd4d54d,_0xb40648,_0x3f7723,_0x6540bb):(this['_state']=_0x1ff224,this[_0x3c676a(0x19f)](_0x9657d4[_0x3c676a(0x17f)](_0xd4d54d,_0x3f7723),_0x6540bb),this[_0x3c676a(0x1db)]());})[_0x2b94f1(0x104)](_0x1cea64=>{process['nextTick'](_0x5c93ed,this,_0x1cea64,_0x6540bb);});}[_0x5bad88(0xf4)](_0x4e8155,_0x34fd00,_0x36ef83,_0x41f248){const _0x54b9e2=_0x5bad88;if(!_0x34fd00){this['sendFrame'](_0x9657d4[_0x54b9e2(0x17f)](_0x4e8155,_0x36ef83),_0x41f248);return;}const _0x5a93e2=this[_0x54b9e2(0x1b0)][_0x36bf9b[_0x54b9e2(0x1dd)]];this[_0x54b9e2(0x28c)]+=_0x36ef83[_0x7220ec],this['_state']=_0x2f448c,_0x5a93e2[_0x54b9e2(0x15c)](_0x4e8155,_0x36ef83['fin'],(_0x5cabca,_0x399e83)=>{const _0x11d20b=_0x54b9e2;if(this[_0x11d20b(0x117)][_0x11d20b(0x238)]){const _0x2041f0=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1d5994(this,_0x2041f0,_0x41f248);return;}this[_0x11d20b(0x28c)]-=_0x36ef83[_0x7220ec],this['_state']=_0x1ff224,_0x36ef83[_0x11d20b(0x204)]=!0x1,this[_0x11d20b(0x19f)](_0x9657d4['frame'](_0x399e83,_0x36ef83),_0x41f248),this[_0x11d20b(0x1db)]();});}[_0x5bad88(0x1db)](){const _0x5d6a26=_0x5bad88;for(;this[_0x5d6a26(0x22c)]===_0x1ff224&&this['_queue'][_0x5d6a26(0x121)];){const _0x543239=this[_0x5d6a26(0x107)]['shift']();this[_0x5d6a26(0x28c)]-=_0x543239[0x3][_0x7220ec],Reflect[_0x5d6a26(0x25d)](_0x543239[0x0],this,_0x543239[_0x5d6a26(0xea)](0x1));}}[_0x5bad88(0x102)](_0x2ecc9e){const _0x3dc337=_0x5bad88;this['_bufferedBytes']+=_0x2ecc9e[0x3][_0x7220ec],this[_0x3dc337(0x107)][_0x3dc337(0x15e)](_0x2ecc9e);}['sendFrame'](_0x1ec6cd,_0x50981d){const _0x4ad628=_0x5bad88;_0x1ec6cd[_0x4ad628(0x121)]===0x2?(this[_0x4ad628(0x117)][_0x4ad628(0x231)](),this['_socket'][_0x4ad628(0x15d)](_0x1ec6cd[0x0]),this[_0x4ad628(0x117)][_0x4ad628(0x15d)](_0x1ec6cd[0x1],_0x50981d),this[_0x4ad628(0x117)]['uncork']()):this[_0x4ad628(0x117)]['write'](_0x1ec6cd[0x0],_0x50981d);}}Ee=_0x9657d4;function _0x1d5994(_0x2c7ce7,_0x804b08,_0x184ffc){const _0x47eb9d=_0x5bad88;typeof _0x184ffc=='function'&&_0x184ffc(_0x804b08);for(let _0x4e0de0=0x0;_0x4e0de0<_0x2c7ce7[_0x47eb9d(0x107)][_0x47eb9d(0x121)];_0x4e0de0++){const _0xb9e8e3=_0x2c7ce7['_queue'][_0x4e0de0],_0x289fbd=_0xb9e8e3[_0xb9e8e3[_0x47eb9d(0x121)]-0x1];typeof _0x289fbd==_0x47eb9d(0x1da)&&_0x289fbd(_0x804b08);}}function _0x5c93ed(_0x41b085,_0x20d31c,_0x383ab2){const _0x5f17b3=_0x5bad88;_0x1d5994(_0x41b085,_0x20d31c,_0x383ab2),_0x41b085[_0x5f17b3(0xeb)](_0x20d31c);}return Ee;}var xe,tt;function Kt(){const _0x5e3508=_0x39a5ac;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x21a460,kListener:_0x2b6273}=V(),_0x18c62c=Symbol('kCode'),_0x80f101=Symbol(_0x5e3508(0x114)),_0xd5bcd6=Symbol(_0x5e3508(0x13c)),_0x2c5cbe=Symbol('kMessage'),_0x598380=Symbol(_0x5e3508(0x151)),_0x613d78=Symbol(_0x5e3508(0x259)),_0x202b58=Symbol('kType'),_0x22d103=Symbol(_0x5e3508(0x283));class _0x3dc30a{constructor(_0x21a56b){this[_0x613d78]=null,this[_0x202b58]=_0x21a56b;}get[_0x5e3508(0x248)](){return this[_0x613d78];}get[_0x5e3508(0x257)](){return this[_0x202b58];}}Object['defineProperty'](_0x3dc30a['prototype'],'target',{'enumerable':!0x0}),Object[_0x5e3508(0x1a1)](_0x3dc30a[_0x5e3508(0x18a)],_0x5e3508(0x257),{'enumerable':!0x0});class _0x4e571d extends _0x3dc30a{constructor(_0x307944,_0xe8388e={}){const _0x14db4f=_0x5e3508;super(_0x307944),this[_0x18c62c]=_0xe8388e['code']===void 0x0?0x0:_0xe8388e[_0x14db4f(0x1b8)],this[_0x598380]=_0xe8388e[_0x14db4f(0x135)]===void 0x0?'':_0xe8388e[_0x14db4f(0x135)],this[_0x22d103]=_0xe8388e[_0x14db4f(0x140)]===void 0x0?!0x1:_0xe8388e[_0x14db4f(0x140)];}get[_0x5e3508(0x1b8)](){return this[_0x18c62c];}get[_0x5e3508(0x135)](){return this[_0x598380];}get[_0x5e3508(0x140)](){return this[_0x22d103];}}Object['defineProperty'](_0x4e571d[_0x5e3508(0x18a)],'code',{'enumerable':!0x0}),Object[_0x5e3508(0x1a1)](_0x4e571d[_0x5e3508(0x18a)],'reason',{'enumerable':!0x0}),Object[_0x5e3508(0x1a1)](_0x4e571d['prototype'],_0x5e3508(0x140),{'enumerable':!0x0});class _0x133f06 extends _0x3dc30a{constructor(_0x428f73,_0x4a58c4={}){const _0x5ad34c=_0x5e3508;super(_0x428f73),this[_0xd5bcd6]=_0x4a58c4['error']===void 0x0?null:_0x4a58c4[_0x5ad34c(0x28f)],this[_0x2c5cbe]=_0x4a58c4[_0x5ad34c(0x1ad)]===void 0x0?'':_0x4a58c4[_0x5ad34c(0x1ad)];}get[_0x5e3508(0x28f)](){return this[_0xd5bcd6];}get[_0x5e3508(0x1ad)](){return this[_0x2c5cbe];}}Object[_0x5e3508(0x1a1)](_0x133f06[_0x5e3508(0x18a)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x133f06[_0x5e3508(0x18a)],'message',{'enumerable':!0x0});class _0x4919fa extends _0x3dc30a{constructor(_0x548700,_0x536ec2={}){const _0x594a7f=_0x5e3508;super(_0x548700),this[_0x80f101]=_0x536ec2[_0x594a7f(0x203)]===void 0x0?null:_0x536ec2['data'];}get[_0x5e3508(0x203)](){return this[_0x80f101];}}Object[_0x5e3508(0x1a1)](_0x4919fa[_0x5e3508(0x18a)],_0x5e3508(0x203),{'enumerable':!0x0}),xe={'CloseEvent':_0x4e571d,'ErrorEvent':_0x133f06,'Event':_0x3dc30a,'EventTarget':{'addEventListener'(_0x1d01bd,_0x336beb,_0x1be4d4={}){const _0x51a3d5=_0x5e3508;for(const _0x4740c0 of this[_0x51a3d5(0xf8)](_0x1d01bd))if(!_0x1be4d4[_0x21a460]&&_0x4740c0[_0x2b6273]===_0x336beb&&!_0x4740c0[_0x21a460])return;let _0x16849c;if(_0x1d01bd===_0x51a3d5(0x1ad))_0x16849c=function(_0x55ee56,_0x2ec981){const _0x134960=_0x51a3d5,_0x3dad37=new _0x4919fa(_0x134960(0x1ad),{'data':_0x2ec981?_0x55ee56:_0x55ee56[_0x134960(0x1f1)]()});_0x3dad37[_0x613d78]=this,_0x32c708(_0x336beb,this,_0x3dad37);};else{if(_0x1d01bd===_0x51a3d5(0x256))_0x16849c=function(_0x3a36de,_0x3142e2){const _0x31ca08=_0x51a3d5,_0x4dfa0f=new _0x4e571d(_0x31ca08(0x256),{'code':_0x3a36de,'reason':_0x3142e2[_0x31ca08(0x1f1)](),'wasClean':this[_0x31ca08(0x207)]&&this[_0x31ca08(0x141)]});_0x4dfa0f[_0x613d78]=this,_0x32c708(_0x336beb,this,_0x4dfa0f);};else{if(_0x1d01bd===_0x51a3d5(0x28f))_0x16849c=function(_0x26218f){const _0x37b149=_0x51a3d5,_0x374f5c=new _0x133f06(_0x37b149(0x28f),{'error':_0x26218f,'message':_0x26218f[_0x37b149(0x1ad)]});_0x374f5c[_0x613d78]=this,_0x32c708(_0x336beb,this,_0x374f5c);};else{if(_0x1d01bd===_0x51a3d5(0x275))_0x16849c=function(){const _0x4c6fca=_0x51a3d5,_0x300212=new _0x3dc30a(_0x4c6fca(0x275));_0x300212[_0x613d78]=this,_0x32c708(_0x336beb,this,_0x300212);};else return;}}}_0x16849c[_0x21a460]=!!_0x1be4d4[_0x21a460],_0x16849c[_0x2b6273]=_0x336beb,_0x1be4d4['once']?this[_0x51a3d5(0x139)](_0x1d01bd,_0x16849c):this['on'](_0x1d01bd,_0x16849c);},'removeEventListener'(_0x5d7525,_0x1992f8){const _0x2ea86f=_0x5e3508;for(const _0x47227b of this[_0x2ea86f(0xf8)](_0x5d7525))if(_0x47227b[_0x2b6273]===_0x1992f8&&!_0x47227b[_0x21a460]){this[_0x2ea86f(0xec)](_0x5d7525,_0x47227b);break;}}},'MessageEvent':_0x4919fa};function _0x32c708(_0xb7b610,_0x370f5d,_0x5f01d0){const _0x1313a7=_0x5e3508;typeof _0xb7b610==_0x1313a7(0x20e)&&_0xb7b610[_0x1313a7(0x243)]?_0xb7b610[_0x1313a7(0x243)]['call'](_0xb7b610,_0x5f01d0):_0xb7b610[_0x1313a7(0x22f)](_0x370f5d,_0x5f01d0);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x29aa15}=ne();function _0x296488(_0x39ca67,_0x34964d,_0x4cb9fa){_0x39ca67[_0x34964d]===void 0x0?_0x39ca67[_0x34964d]=[_0x4cb9fa]:_0x39ca67[_0x34964d]['push'](_0x4cb9fa);}function _0x3e8dda(_0x84f472){const _0x3906f6=_0x5468,_0x504e9c=Object[_0x3906f6(0x205)](null);let _0x3067f8=Object['create'](null),_0x626497=!0x1,_0x38833a=!0x1,_0x2339c2=!0x1,_0x5d093b,_0x9465f9,_0x365d9=-0x1,_0x4ef387=-0x1,_0x400d98=-0x1,_0x5b1fd5=0x0;for(;_0x5b1fd5<_0x84f472[_0x3906f6(0x121)];_0x5b1fd5++)if(_0x4ef387=_0x84f472[_0x3906f6(0x100)](_0x5b1fd5),_0x5d093b===void 0x0){if(_0x400d98===-0x1&&_0x29aa15[_0x4ef387]===0x1)_0x365d9===-0x1&&(_0x365d9=_0x5b1fd5);else{if(_0x5b1fd5!==0x0&&(_0x4ef387===0x20||_0x4ef387===0x9))_0x400d98===-0x1&&_0x365d9!==-0x1&&(_0x400d98=_0x5b1fd5);else{if(_0x4ef387===0x3b||_0x4ef387===0x2c){if(_0x365d9===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b1fd5);_0x400d98===-0x1&&(_0x400d98=_0x5b1fd5);const _0x4a9cef=_0x84f472[_0x3906f6(0xea)](_0x365d9,_0x400d98);_0x4ef387===0x2c?(_0x296488(_0x504e9c,_0x4a9cef,_0x3067f8),_0x3067f8=Object[_0x3906f6(0x205)](null)):_0x5d093b=_0x4a9cef,_0x365d9=_0x400d98=-0x1;}else throw new SyntaxError(_0x3906f6(0x17d)+_0x5b1fd5);}}}else{if(_0x9465f9===void 0x0){if(_0x400d98===-0x1&&_0x29aa15[_0x4ef387]===0x1)_0x365d9===-0x1&&(_0x365d9=_0x5b1fd5);else{if(_0x4ef387===0x20||_0x4ef387===0x9)_0x400d98===-0x1&&_0x365d9!==-0x1&&(_0x400d98=_0x5b1fd5);else{if(_0x4ef387===0x3b||_0x4ef387===0x2c){if(_0x365d9===-0x1)throw new SyntaxError(_0x3906f6(0x17d)+_0x5b1fd5);_0x400d98===-0x1&&(_0x400d98=_0x5b1fd5),_0x296488(_0x3067f8,_0x84f472[_0x3906f6(0xea)](_0x365d9,_0x400d98),!0x0),_0x4ef387===0x2c&&(_0x296488(_0x504e9c,_0x5d093b,_0x3067f8),_0x3067f8=Object[_0x3906f6(0x205)](null),_0x5d093b=void 0x0),_0x365d9=_0x400d98=-0x1;}else{if(_0x4ef387===0x3d&&_0x365d9!==-0x1&&_0x400d98===-0x1)_0x9465f9=_0x84f472[_0x3906f6(0xea)](_0x365d9,_0x5b1fd5),_0x365d9=_0x400d98=-0x1;else throw new SyntaxError(_0x3906f6(0x17d)+_0x5b1fd5);}}}}else{if(_0x38833a){if(_0x29aa15[_0x4ef387]!==0x1)throw new SyntaxError(_0x3906f6(0x17d)+_0x5b1fd5);_0x365d9===-0x1?_0x365d9=_0x5b1fd5:_0x626497||(_0x626497=!0x0),_0x38833a=!0x1;}else{if(_0x2339c2){if(_0x29aa15[_0x4ef387]===0x1)_0x365d9===-0x1&&(_0x365d9=_0x5b1fd5);else{if(_0x4ef387===0x22&&_0x365d9!==-0x1)_0x2339c2=!0x1,_0x400d98=_0x5b1fd5;else{if(_0x4ef387===0x5c)_0x38833a=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b1fd5);}}}else{if(_0x4ef387===0x22&&_0x84f472[_0x3906f6(0x100)](_0x5b1fd5-0x1)===0x3d)_0x2339c2=!0x0;else{if(_0x400d98===-0x1&&_0x29aa15[_0x4ef387]===0x1)_0x365d9===-0x1&&(_0x365d9=_0x5b1fd5);else{if(_0x365d9!==-0x1&&(_0x4ef387===0x20||_0x4ef387===0x9))_0x400d98===-0x1&&(_0x400d98=_0x5b1fd5);else{if(_0x4ef387===0x3b||_0x4ef387===0x2c){if(_0x365d9===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b1fd5);_0x400d98===-0x1&&(_0x400d98=_0x5b1fd5);let _0x21733e=_0x84f472[_0x3906f6(0xea)](_0x365d9,_0x400d98);_0x626497&&(_0x21733e=_0x21733e['replace'](/\\/g,''),_0x626497=!0x1),_0x296488(_0x3067f8,_0x9465f9,_0x21733e),_0x4ef387===0x2c&&(_0x296488(_0x504e9c,_0x5d093b,_0x3067f8),_0x3067f8=Object[_0x3906f6(0x205)](null),_0x5d093b=void 0x0),_0x9465f9=void 0x0,_0x365d9=_0x400d98=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5b1fd5);}}}}}}}if(_0x365d9===-0x1||_0x2339c2||_0x4ef387===0x20||_0x4ef387===0x9)throw new SyntaxError(_0x3906f6(0x1ae));_0x400d98===-0x1&&(_0x400d98=_0x5b1fd5);const _0x5e601d=_0x84f472[_0x3906f6(0xea)](_0x365d9,_0x400d98);return _0x5d093b===void 0x0?_0x296488(_0x504e9c,_0x5e601d,_0x3067f8):(_0x9465f9===void 0x0?_0x296488(_0x3067f8,_0x5e601d,!0x0):_0x626497?_0x296488(_0x3067f8,_0x9465f9,_0x5e601d['replace'](/\\/g,'')):_0x296488(_0x3067f8,_0x9465f9,_0x5e601d),_0x296488(_0x504e9c,_0x5d093b,_0x3067f8)),_0x504e9c;}function _0x595736(_0x1f635e){const _0x3a7fdd=_0x5468;return Object[_0x3a7fdd(0x269)](_0x1f635e)[_0x3a7fdd(0x225)](_0xab85d3=>{const _0x18aca3=_0x3a7fdd;let _0x52c509=_0x1f635e[_0xab85d3];return Array[_0x18aca3(0x1ab)](_0x52c509)||(_0x52c509=[_0x52c509]),_0x52c509[_0x18aca3(0x225)](_0x44d4ec=>[_0xab85d3][_0x18aca3(0x285)](Object[_0x18aca3(0x269)](_0x44d4ec)[_0x18aca3(0x225)](_0xff6616=>{const _0x52fe92=_0x18aca3;let _0xe6de95=_0x44d4ec[_0xff6616];return Array[_0x52fe92(0x1ab)](_0xe6de95)||(_0xe6de95=[_0xe6de95]),_0xe6de95[_0x52fe92(0x225)](_0x2ab010=>_0x2ab010===!0x0?_0xff6616:_0xff6616+'='+_0x2ab010)[_0x52fe92(0x20c)](';\x20');}))[_0x18aca3(0x20c)](';\x20'))[_0x18aca3(0x20c)](',\x20');})['join'](',\x20');}return be={'format':_0x595736,'parse':_0x3e8dda},be;}var we,st;function Ie(){const _0x378d12=_0x39a5ac;if(st)return we;st=0x1;const _0x4e6792=_0x171d11,_0x533f90=_0x23d8a6,_0x2abe1d=_0x5db7f3,_0x48be4d=_0x22d356,_0xd0d23a=_0x2d92d7,{randomBytes:_0x8cbbd2,createHash:_0x313f4b}=_0x5d136f,{Duplex:_0xfcb694,Readable:_0x5d7774}=_0x5123e8,{URL:_0x53da52}=_0x1b4204,_0x5446e6=he(),_0x13ec3b=dt(),_0x418d2b=_t(),{isBlob:_0x12f634}=ne(),{BINARY_TYPES:_0x479800,EMPTY_BUFFER:_0x125527,GUID:_0x3d78de,kForOnEventAttribute:_0x10db59,kListener:_0xdd4cc2,kStatusCode:_0x16da07,kWebSocket:_0x19553b,NOOP:_0x6d927b}=V(),{EventTarget:{addEventListener:_0x580088,removeEventListener:_0x5645a7}}=Kt(),{format:_0x2b7c07,parse:_0x5cf6a5}=pt(),{toBuffer:_0x470327}=ce(),_0x5b0e3b=0x1e*0x3e8,_0x29e71a=Symbol(_0x378d12(0x101)),_0x44f200=[0x8,0xd],_0x4665e6=[_0x378d12(0x18e),_0x378d12(0x223),'CLOSING',_0x378d12(0x1c2)],_0x3205be=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x48bf48 extends _0x4e6792{constructor(_0x1f6220,_0x3f8524,_0x2f2b32){const _0x14ce4f=_0x378d12;super(),this[_0x14ce4f(0x230)]=_0x479800[0x0],this['_closeCode']=0x3ee,this[_0x14ce4f(0x207)]=!0x1,this[_0x14ce4f(0x141)]=!0x1,this[_0x14ce4f(0xf6)]=_0x125527,this[_0x14ce4f(0x13e)]=null,this[_0x14ce4f(0x26f)]=!0x1,this[_0x14ce4f(0x1b0)]={},this[_0x14ce4f(0x26b)]=!0x1,this['_protocol']='',this[_0x14ce4f(0x13b)]=_0x48bf48[_0x14ce4f(0x18e)],this[_0x14ce4f(0x170)]=null,this['_sender']=null,this[_0x14ce4f(0x117)]=null,_0x1f6220!==null?(this[_0x14ce4f(0x254)]=0x0,this['_isServer']=!0x1,this[_0x14ce4f(0x12b)]=0x0,_0x3f8524===void 0x0?_0x3f8524=[]:Array[_0x14ce4f(0x1ab)](_0x3f8524)||(typeof _0x3f8524=='object'&&_0x3f8524!==null?(_0x2f2b32=_0x3f8524,_0x3f8524=[]):_0x3f8524=[_0x3f8524]),_0x277ccd(this,_0x1f6220,_0x3f8524,_0x2f2b32)):(this[_0x14ce4f(0x19b)]=_0x2f2b32['autoPong'],this['_isServer']=!0x0);}get['binaryType'](){const _0x1517db=_0x378d12;return this[_0x1517db(0x230)];}set[_0x378d12(0x11d)](_0x2309ae){const _0x561ca=_0x378d12;_0x479800[_0x561ca(0x1f8)](_0x2309ae)&&(this[_0x561ca(0x230)]=_0x2309ae,this[_0x561ca(0x170)]&&(this[_0x561ca(0x170)]['_binaryType']=_0x2309ae));}get[_0x378d12(0x11b)](){const _0x5a72c3=_0x378d12;return this['_socket']?this[_0x5a72c3(0x117)]['_writableState'][_0x5a72c3(0x121)]+this[_0x5a72c3(0x271)]['_bufferedBytes']:this[_0x5a72c3(0x254)];}get[_0x378d12(0x25e)](){const _0x50b6a6=_0x378d12;return Object[_0x50b6a6(0x269)](this['_extensions'])[_0x50b6a6(0x20c)]();}get['isPaused'](){const _0x20639a=_0x378d12;return this[_0x20639a(0x26b)];}get[_0x378d12(0x12f)](){return null;}get['onerror'](){return null;}get[_0x378d12(0x200)](){return null;}get[_0x378d12(0x12e)](){return null;}get[_0x378d12(0x1ff)](){return this['_protocol'];}get[_0x378d12(0x1cf)](){const _0x13262e=_0x378d12;return this[_0x13262e(0x13b)];}get[_0x378d12(0x20d)](){return this['_url'];}[_0x378d12(0xfd)](_0x35ebcc,_0x2ff607,_0x490172){const _0x10e008=_0x378d12,_0x2fca0e=new _0x13ec3b({'allowSynchronousEvents':_0x490172['allowSynchronousEvents'],'binaryType':this[_0x10e008(0x11d)],'extensions':this['_extensions'],'isServer':this[_0x10e008(0x194)],'maxPayload':_0x490172[_0x10e008(0x22d)],'skipUTF8Validation':_0x490172[_0x10e008(0x224)]}),_0x4f8a66=new _0x418d2b(_0x35ebcc,this[_0x10e008(0x1b0)],_0x490172[_0x10e008(0x178)]);this[_0x10e008(0x170)]=_0x2fca0e,this[_0x10e008(0x271)]=_0x4f8a66,this[_0x10e008(0x117)]=_0x35ebcc,_0x2fca0e[_0x19553b]=this,_0x4f8a66[_0x19553b]=this,_0x35ebcc[_0x19553b]=this,_0x2fca0e['on'](_0x10e008(0x174),_0x48ce5c),_0x2fca0e['on'](_0x10e008(0x1ac),_0x115838),_0x2fca0e['on'](_0x10e008(0x28f),_0x1ab6f6),_0x2fca0e['on'](_0x10e008(0x1ad),_0xc7e443),_0x2fca0e['on'](_0x10e008(0x27f),_0x59a9f8),_0x2fca0e['on'](_0x10e008(0x1f9),_0x4d6771),_0x4f8a66[_0x10e008(0xeb)]=_0x530c0c,_0x35ebcc['setTimeout']&&_0x35ebcc[_0x10e008(0x154)](0x0),_0x35ebcc['setNoDelay']&&_0x35ebcc['setNoDelay'](),_0x2ff607[_0x10e008(0x121)]>0x0&&_0x35ebcc[_0x10e008(0x28e)](_0x2ff607),_0x35ebcc['on'](_0x10e008(0x256),_0x1c0550),_0x35ebcc['on']('data',_0x329170),_0x35ebcc['on'](_0x10e008(0x234),_0xc92062),_0x35ebcc['on'](_0x10e008(0x28f),_0x2d77f9),this[_0x10e008(0x13b)]=_0x48bf48[_0x10e008(0x223)],this['emit']('open');}['emitClose'](){const _0xed6fb0=_0x378d12;if(!this['_socket']){this[_0xed6fb0(0x13b)]=_0x48bf48[_0xed6fb0(0x1c2)],this['emit']('close',this[_0xed6fb0(0x1de)],this[_0xed6fb0(0xf6)]);return;}this[_0xed6fb0(0x1b0)][_0x5446e6[_0xed6fb0(0x1dd)]]&&this[_0xed6fb0(0x1b0)][_0x5446e6[_0xed6fb0(0x1dd)]][_0xed6fb0(0x1c8)](),this[_0xed6fb0(0x170)][_0xed6fb0(0x1f0)](),this[_0xed6fb0(0x13b)]=_0x48bf48['CLOSED'],this[_0xed6fb0(0x1ee)]('close',this[_0xed6fb0(0x1de)],this[_0xed6fb0(0xf6)]);}[_0x378d12(0x256)](_0x4ff54c,_0x436a32){const _0x5f485e=_0x378d12;if(this[_0x5f485e(0x1cf)]!==_0x48bf48[_0x5f485e(0x1c2)]){if(this['readyState']===_0x48bf48['CONNECTING']){_0x287eff(this,this[_0x5f485e(0x1a7)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x48bf48[_0x5f485e(0x255)]){this[_0x5f485e(0x141)]&&(this[_0x5f485e(0x207)]||this[_0x5f485e(0x170)][_0x5f485e(0x219)]['errorEmitted'])&&this['_socket'][_0x5f485e(0x234)]();return;}this[_0x5f485e(0x13b)]=_0x48bf48[_0x5f485e(0x255)],this[_0x5f485e(0x271)][_0x5f485e(0x256)](_0x4ff54c,_0x436a32,!this['_isServer'],_0x30635e=>{const _0x3d44c8=_0x5f485e;_0x30635e||(this[_0x3d44c8(0x141)]=!0x0,(this['_closeFrameReceived']||this[_0x3d44c8(0x170)][_0x3d44c8(0x219)][_0x3d44c8(0x253)])&&this['_socket']['end']());}),_0x5c0c4c(this);}}['pause'](){const _0x27b57e=_0x378d12;this[_0x27b57e(0x1cf)]===_0x48bf48[_0x27b57e(0x18e)]||this[_0x27b57e(0x1cf)]===_0x48bf48['CLOSED']||(this[_0x27b57e(0x26b)]=!0x0,this['_socket'][_0x27b57e(0x14c)]());}[_0x378d12(0x27f)](_0x55ba64,_0x18cd31,_0x2bb758){const _0x8747d2=_0x378d12;if(this[_0x8747d2(0x1cf)]===_0x48bf48[_0x8747d2(0x18e)])throw new Error(_0x8747d2(0x24f));if(typeof _0x55ba64==_0x8747d2(0x1da)?(_0x2bb758=_0x55ba64,_0x55ba64=_0x18cd31=void 0x0):typeof _0x18cd31==_0x8747d2(0x1da)&&(_0x2bb758=_0x18cd31,_0x18cd31=void 0x0),typeof _0x55ba64=='number'&&(_0x55ba64=_0x55ba64[_0x8747d2(0x1f1)]()),this[_0x8747d2(0x1cf)]!==_0x48bf48[_0x8747d2(0x223)]){_0x357551(this,_0x55ba64,_0x2bb758);return;}_0x18cd31===void 0x0&&(_0x18cd31=!this[_0x8747d2(0x194)]),this[_0x8747d2(0x271)][_0x8747d2(0x27f)](_0x55ba64||_0x125527,_0x18cd31,_0x2bb758);}[_0x378d12(0x1f9)](_0x16992e,_0x331ab2,_0x68bf1e){const _0xdad29d=_0x378d12;if(this[_0xdad29d(0x1cf)]===_0x48bf48[_0xdad29d(0x18e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16992e==_0xdad29d(0x1da)?(_0x68bf1e=_0x16992e,_0x16992e=_0x331ab2=void 0x0):typeof _0x331ab2=='function'&&(_0x68bf1e=_0x331ab2,_0x331ab2=void 0x0),typeof _0x16992e==_0xdad29d(0x127)&&(_0x16992e=_0x16992e['toString']()),this[_0xdad29d(0x1cf)]!==_0x48bf48[_0xdad29d(0x223)]){_0x357551(this,_0x16992e,_0x68bf1e);return;}_0x331ab2===void 0x0&&(_0x331ab2=!this[_0xdad29d(0x194)]),this[_0xdad29d(0x271)][_0xdad29d(0x1f9)](_0x16992e||_0x125527,_0x331ab2,_0x68bf1e);}[_0x378d12(0x1cc)](){const _0x356612=_0x378d12;this[_0x356612(0x1cf)]===_0x48bf48[_0x356612(0x18e)]||this[_0x356612(0x1cf)]===_0x48bf48[_0x356612(0x1c2)]||(this['_paused']=!0x1,this[_0x356612(0x170)][_0x356612(0x219)][_0x356612(0x1bf)]||this['_socket'][_0x356612(0x1cc)]());}['send'](_0x3f7099,_0x5c3360,_0x4c674f){const _0x41d654=_0x378d12;if(this[_0x41d654(0x1cf)]===_0x48bf48[_0x41d654(0x18e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5c3360==_0x41d654(0x1da)&&(_0x4c674f=_0x5c3360,_0x5c3360={}),typeof _0x3f7099==_0x41d654(0x127)&&(_0x3f7099=_0x3f7099['toString']()),this['readyState']!==_0x48bf48[_0x41d654(0x223)]){_0x357551(this,_0x3f7099,_0x4c674f);return;}const _0xa01ebb={'binary':typeof _0x3f7099!='string','mask':!this[_0x41d654(0x194)],'compress':!0x0,'fin':!0x0,..._0x5c3360};this[_0x41d654(0x1b0)][_0x5446e6[_0x41d654(0x1dd)]]||(_0xa01ebb[_0x41d654(0x15c)]=!0x1),this['_sender'][_0x41d654(0xf5)](_0x3f7099||_0x125527,_0xa01ebb,_0x4c674f);}[_0x378d12(0x1d1)](){const _0x2b971=_0x378d12;if(this['readyState']!==_0x48bf48[_0x2b971(0x1c2)]){if(this[_0x2b971(0x1cf)]===_0x48bf48[_0x2b971(0x18e)]){_0x287eff(this,this[_0x2b971(0x1a7)],_0x2b971(0x130));return;}this[_0x2b971(0x117)]&&(this[_0x2b971(0x13b)]=_0x48bf48['CLOSING'],this['_socket'][_0x2b971(0x131)]());}}}Object[_0x378d12(0x1a1)](_0x48bf48,_0x378d12(0x18e),{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x18e))}),Object[_0x378d12(0x1a1)](_0x48bf48[_0x378d12(0x18a)],_0x378d12(0x18e),{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x18e))}),Object[_0x378d12(0x1a1)](_0x48bf48,_0x378d12(0x223),{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)]('OPEN')}),Object[_0x378d12(0x1a1)](_0x48bf48[_0x378d12(0x18a)],_0x378d12(0x223),{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x223))}),Object[_0x378d12(0x1a1)](_0x48bf48,_0x378d12(0x255),{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x255))}),Object['defineProperty'](_0x48bf48[_0x378d12(0x18a)],'CLOSING',{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x255))}),Object[_0x378d12(0x1a1)](_0x48bf48,_0x378d12(0x1c2),{'enumerable':!0x0,'value':_0x4665e6['indexOf'](_0x378d12(0x1c2))}),Object['defineProperty'](_0x48bf48[_0x378d12(0x18a)],'CLOSED',{'enumerable':!0x0,'value':_0x4665e6[_0x378d12(0x176)](_0x378d12(0x1c2))}),[_0x378d12(0x11d),_0x378d12(0x11b),_0x378d12(0x25e),_0x378d12(0x294),_0x378d12(0x1ff),_0x378d12(0x1cf),_0x378d12(0x20d)][_0x378d12(0x125)](_0x30b574=>{Object['defineProperty'](_0x48bf48['prototype'],_0x30b574,{'enumerable':!0x0});}),[_0x378d12(0x275),_0x378d12(0x28f),'close',_0x378d12(0x1ad)]['forEach'](_0x4df304=>{const _0xebaa53=_0x378d12;Object[_0xebaa53(0x1a1)](_0x48bf48['prototype'],'on'+_0x4df304,{'enumerable':!0x0,'get'(){const _0x350db6=_0xebaa53;for(const _0x311d95 of this[_0x350db6(0xf8)](_0x4df304))if(_0x311d95[_0x10db59])return _0x311d95[_0xdd4cc2];return null;},'set'(_0x29eafa){const _0x5cab06=_0xebaa53;for(const _0x710dda of this[_0x5cab06(0xf8)](_0x4df304))if(_0x710dda[_0x10db59]){this[_0x5cab06(0xec)](_0x4df304,_0x710dda);break;}typeof _0x29eafa==_0x5cab06(0x1da)&&this[_0x5cab06(0x1d9)](_0x4df304,_0x29eafa,{[_0x10db59]:!0x0});}});}),_0x48bf48[_0x378d12(0x18a)][_0x378d12(0x1d9)]=_0x580088,_0x48bf48[_0x378d12(0x18a)]['removeEventListener']=_0x5645a7,we=_0x48bf48;function _0x277ccd(_0x3079c8,_0x4411de,_0x14a883,_0x368a72){const _0x4756d1=_0x378d12,_0x25f5b2={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x44f200[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x368a72,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3079c8[_0x4756d1(0x19b)]=_0x25f5b2['autoPong'],!_0x44f200['includes'](_0x25f5b2[_0x4756d1(0x1ec)]))throw new RangeError(_0x4756d1(0x13d)+_0x25f5b2[_0x4756d1(0x1ec)]+_0x4756d1(0x169)+_0x44f200[_0x4756d1(0x20c)](',\x20')+')');let _0x2ca684;if(_0x4411de instanceof _0x53da52)_0x2ca684=_0x4411de;else try{_0x2ca684=new _0x53da52(_0x4411de);}catch{throw new SyntaxError(_0x4756d1(0x12d)+_0x4411de);}_0x2ca684['protocol']===_0x4756d1(0x289)?_0x2ca684[_0x4756d1(0x1ff)]=_0x4756d1(0x277):_0x2ca684['protocol']===_0x4756d1(0x258)&&(_0x2ca684['protocol']=_0x4756d1(0x291)),_0x3079c8[_0x4756d1(0x10c)]=_0x2ca684[_0x4756d1(0x1b6)];const _0x2decb2=_0x2ca684[_0x4756d1(0x1ff)]===_0x4756d1(0x291),_0x243a4d=_0x2ca684[_0x4756d1(0x1ff)]===_0x4756d1(0x278);let _0xcb3c5f;if(_0x2ca684[_0x4756d1(0x1ff)]!=='ws:'&&!_0x2decb2&&!_0x243a4d?_0xcb3c5f=_0x4756d1(0x25c):_0x243a4d&&!_0x2ca684['pathname']?_0xcb3c5f=_0x4756d1(0x1c3):_0x2ca684[_0x4756d1(0x266)]&&(_0xcb3c5f=_0x4756d1(0x179)),_0xcb3c5f){const _0xa83e68=new SyntaxError(_0xcb3c5f);if(_0x3079c8[_0x4756d1(0x12b)]===0x0)throw _0xa83e68;_0x2100c4(_0x3079c8,_0xa83e68);return;}const _0x157e77=_0x2decb2?0x1bb:0x50,_0x26195f=_0x8cbbd2(0x10)[_0x4756d1(0x1f1)](_0x4756d1(0x245)),_0xb952ce=_0x2decb2?_0x533f90[_0x4756d1(0x163)]:_0x2abe1d[_0x4756d1(0x163)],_0x4048b1=new Set();let _0x32e097;if(_0x25f5b2[_0x4756d1(0x27e)]=_0x25f5b2[_0x4756d1(0x27e)]||(_0x2decb2?_0x2543a1:_0x39bfc2),_0x25f5b2[_0x4756d1(0x23b)]=_0x25f5b2[_0x4756d1(0x23b)]||_0x157e77,_0x25f5b2['port']=_0x2ca684[_0x4756d1(0x11a)]||_0x157e77,_0x25f5b2[_0x4756d1(0x146)]=_0x2ca684[_0x4756d1(0x12c)][_0x4756d1(0x25b)]('[')?_0x2ca684[_0x4756d1(0x12c)]['slice'](0x1,-0x1):_0x2ca684[_0x4756d1(0x12c)],_0x25f5b2[_0x4756d1(0x229)]={..._0x25f5b2[_0x4756d1(0x229)],'Sec-WebSocket-Version':_0x25f5b2[_0x4756d1(0x1ec)],'Sec-WebSocket-Key':_0x26195f,'Connection':_0x4756d1(0x15a),'Upgrade':_0x4756d1(0x216)},_0x25f5b2['path']=_0x2ca684[_0x4756d1(0x296)]+_0x2ca684[_0x4756d1(0x1cd)],_0x25f5b2[_0x4756d1(0x19c)]=_0x25f5b2[_0x4756d1(0x246)],_0x25f5b2['perMessageDeflate']&&(_0x32e097=new _0x5446e6(_0x25f5b2[_0x4756d1(0x1c4)]!==!0x0?_0x25f5b2[_0x4756d1(0x1c4)]:{},!0x1,_0x25f5b2[_0x4756d1(0x22d)]),_0x25f5b2['headers'][_0x4756d1(0x240)]=_0x2b7c07({[_0x5446e6[_0x4756d1(0x1dd)]]:_0x32e097[_0x4756d1(0x1ed)]()})),_0x14a883[_0x4756d1(0x121)]){for(const _0x4ceb22 of _0x14a883){if(typeof _0x4ceb22!=_0x4756d1(0x251)||!_0x3205be[_0x4756d1(0x1f5)](_0x4ceb22)||_0x4048b1[_0x4756d1(0x218)](_0x4ceb22))throw new SyntaxError(_0x4756d1(0x239));_0x4048b1[_0x4756d1(0x1df)](_0x4ceb22);}_0x25f5b2['headers'][_0x4756d1(0x262)]=_0x14a883[_0x4756d1(0x20c)](',');}if(_0x25f5b2[_0x4756d1(0x22b)]&&(_0x25f5b2[_0x4756d1(0x1ec)]<0xd?_0x25f5b2[_0x4756d1(0x229)][_0x4756d1(0x1e2)]=_0x25f5b2[_0x4756d1(0x22b)]:_0x25f5b2['headers'][_0x4756d1(0x1fc)]=_0x25f5b2[_0x4756d1(0x22b)]),(_0x2ca684[_0x4756d1(0x128)]||_0x2ca684['password'])&&(_0x25f5b2['auth']=_0x2ca684[_0x4756d1(0x128)]+':'+_0x2ca684['password']),_0x243a4d){const _0x42f057=_0x25f5b2[_0x4756d1(0x195)][_0x4756d1(0x19d)](':');_0x25f5b2[_0x4756d1(0x268)]=_0x42f057[0x0],_0x25f5b2[_0x4756d1(0x195)]=_0x42f057[0x1];}let _0x24ec49;if(_0x25f5b2[_0x4756d1(0x24c)]){if(_0x3079c8[_0x4756d1(0x12b)]===0x0){_0x3079c8[_0x4756d1(0x1b2)]=_0x243a4d,_0x3079c8[_0x4756d1(0x111)]=_0x2decb2,_0x3079c8[_0x4756d1(0x21f)]=_0x243a4d?_0x25f5b2[_0x4756d1(0x268)]:_0x2ca684[_0x4756d1(0x146)];const _0x340888=_0x368a72&&_0x368a72[_0x4756d1(0x229)];if(_0x368a72={..._0x368a72,'headers':{}},_0x340888){for(const [_0x4ad853,_0x53ccf6]of Object['entries'](_0x340888))_0x368a72[_0x4756d1(0x229)][_0x4ad853[_0x4756d1(0xfb)]()]=_0x53ccf6;}}else{if(_0x3079c8[_0x4756d1(0x188)]('redirect')===0x0){const _0x218044=_0x243a4d?_0x3079c8[_0x4756d1(0x1b2)]?_0x25f5b2['socketPath']===_0x3079c8['_originalHostOrSocketPath']:!0x1:_0x3079c8[_0x4756d1(0x1b2)]?!0x1:_0x2ca684[_0x4756d1(0x146)]===_0x3079c8['_originalHostOrSocketPath'];(!_0x218044||_0x3079c8[_0x4756d1(0x111)]&&!_0x2decb2)&&(delete _0x25f5b2[_0x4756d1(0x229)]['authorization'],delete _0x25f5b2[_0x4756d1(0x229)][_0x4756d1(0x1c6)],_0x218044||delete _0x25f5b2[_0x4756d1(0x229)][_0x4756d1(0x146)],_0x25f5b2[_0x4756d1(0x1a0)]=void 0x0);}}_0x25f5b2['auth']&&!_0x368a72['headers'][_0x4756d1(0x27d)]&&(_0x368a72['headers']['authorization']=_0x4756d1(0x134)+Buffer[_0x4756d1(0x214)](_0x25f5b2[_0x4756d1(0x1a0)])['toString'](_0x4756d1(0x245))),_0x24ec49=_0x3079c8[_0x4756d1(0x1a7)]=_0xb952ce(_0x25f5b2),_0x3079c8['_redirects']&&_0x3079c8['emit'](_0x4756d1(0x105),_0x3079c8[_0x4756d1(0x20d)],_0x24ec49);}else _0x24ec49=_0x3079c8['_req']=_0xb952ce(_0x25f5b2);_0x25f5b2[_0x4756d1(0x19c)]&&_0x24ec49['on'](_0x4756d1(0x19c),()=>{const _0x3e44e4=_0x4756d1;_0x287eff(_0x3079c8,_0x24ec49,_0x3e44e4(0x29c));}),_0x24ec49['on'](_0x4756d1(0x28f),_0x429347=>{_0x24ec49===null||_0x24ec49[_0x29e71a]||(_0x24ec49=_0x3079c8['_req']=null,_0x2100c4(_0x3079c8,_0x429347));}),_0x24ec49['on'](_0x4756d1(0x167),_0x323bee=>{const _0x2b68fb=_0x4756d1,_0x4292af=_0x323bee[_0x2b68fb(0x229)][_0x2b68fb(0x293)],_0xead979=_0x323bee[_0x2b68fb(0x23d)];if(_0x4292af&&_0x25f5b2[_0x2b68fb(0x24c)]&&_0xead979>=0x12c&&_0xead979<0x190){if(++_0x3079c8[_0x2b68fb(0x12b)]>_0x25f5b2[_0x2b68fb(0x235)]){_0x287eff(_0x3079c8,_0x24ec49,'Maximum\x20redirects\x20exceeded');return;}_0x24ec49[_0x2b68fb(0x249)]();let _0x55c81c;try{_0x55c81c=new _0x53da52(_0x4292af,_0x4411de);}catch{const _0x291c06=new SyntaxError(_0x2b68fb(0x12d)+_0x4292af);_0x2100c4(_0x3079c8,_0x291c06);return;}_0x277ccd(_0x3079c8,_0x55c81c,_0x14a883,_0x368a72);}else _0x3079c8['emit'](_0x2b68fb(0x142),_0x24ec49,_0x323bee)||_0x287eff(_0x3079c8,_0x24ec49,_0x2b68fb(0x112)+_0x323bee['statusCode']);}),_0x24ec49['on'](_0x4756d1(0x192),(_0xf80d44,_0x443a03,_0x740ea3)=>{const _0x5c33f8=_0x4756d1;if(_0x3079c8[_0x5c33f8(0x1ee)](_0x5c33f8(0x192),_0xf80d44),_0x3079c8['readyState']!==_0x48bf48[_0x5c33f8(0x18e)])return;_0x24ec49=_0x3079c8[_0x5c33f8(0x1a7)]=null;const _0xb10dec=_0xf80d44[_0x5c33f8(0x229)]['upgrade'];if(_0xb10dec===void 0x0||_0xb10dec[_0x5c33f8(0xfb)]()!==_0x5c33f8(0x216)){_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x12a));return;}const _0x48fdf9=_0x313f4b('sha1')[_0x5c33f8(0x1e8)](_0x26195f+_0x3d78de)[_0x5c33f8(0x25a)]('base64');if(_0xf80d44[_0x5c33f8(0x229)][_0x5c33f8(0x1a9)]!==_0x48fdf9){_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x193));return;}const _0x142c60=_0xf80d44[_0x5c33f8(0x229)][_0x5c33f8(0x155)];let _0x2a2d48;if(_0x142c60!==void 0x0?_0x4048b1[_0x5c33f8(0x196)]?_0x4048b1[_0x5c33f8(0x218)](_0x142c60)||(_0x2a2d48=_0x5c33f8(0x16b)):_0x2a2d48='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4048b1[_0x5c33f8(0x196)]&&(_0x2a2d48=_0x5c33f8(0x1ef)),_0x2a2d48){_0x287eff(_0x3079c8,_0x443a03,_0x2a2d48);return;}_0x142c60&&(_0x3079c8[_0x5c33f8(0x136)]=_0x142c60);const _0x28ffdb=_0xf80d44[_0x5c33f8(0x229)][_0x5c33f8(0x252)];if(_0x28ffdb!==void 0x0){if(!_0x32e097){_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x17b));return;}let _0x326602;try{_0x326602=_0x5cf6a5(_0x28ffdb);}catch{_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x1aa));return;}const _0x485b2a=Object['keys'](_0x326602);if(_0x485b2a['length']!==0x1||_0x485b2a[0x0]!==_0x5446e6[_0x5c33f8(0x1dd)]){_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x182));return;}try{_0x32e097[_0x5c33f8(0xef)](_0x326602[_0x5446e6[_0x5c33f8(0x1dd)]]);}catch{_0x287eff(_0x3079c8,_0x443a03,_0x5c33f8(0x1aa));return;}_0x3079c8[_0x5c33f8(0x1b0)][_0x5446e6[_0x5c33f8(0x1dd)]]=_0x32e097;}_0x3079c8[_0x5c33f8(0xfd)](_0x443a03,_0x740ea3,{'allowSynchronousEvents':_0x25f5b2[_0x5c33f8(0x24e)],'generateMask':_0x25f5b2['generateMask'],'maxPayload':_0x25f5b2[_0x5c33f8(0x22d)],'skipUTF8Validation':_0x25f5b2['skipUTF8Validation']});}),_0x25f5b2[_0x4756d1(0x1fd)]?_0x25f5b2[_0x4756d1(0x1fd)](_0x24ec49,_0x3079c8):_0x24ec49[_0x4756d1(0x234)]();}function _0x2100c4(_0x44cda7,_0x2e5fec){const _0x129fc7=_0x378d12;_0x44cda7[_0x129fc7(0x13b)]=_0x48bf48[_0x129fc7(0x255)],_0x44cda7[_0x129fc7(0x26f)]=!0x0,_0x44cda7[_0x129fc7(0x1ee)](_0x129fc7(0x28f),_0x2e5fec),_0x44cda7['emitClose']();}function _0x39bfc2(_0x4f311a){const _0x165a95=_0x378d12;return _0x4f311a[_0x165a95(0x195)]=_0x4f311a[_0x165a95(0x268)],_0x48be4d[_0x165a95(0x1af)](_0x4f311a);}function _0x2543a1(_0x4d178c){const _0x6d9731=_0x378d12;return _0x4d178c['path']=void 0x0,!_0x4d178c[_0x6d9731(0x152)]&&_0x4d178c['servername']!==''&&(_0x4d178c[_0x6d9731(0x152)]=_0x48be4d[_0x6d9731(0xfa)](_0x4d178c[_0x6d9731(0x146)])?'':_0x4d178c[_0x6d9731(0x146)]),_0xd0d23a[_0x6d9731(0x1af)](_0x4d178c);}function _0x287eff(_0x350ab5,_0x247209,_0x12015e){const _0x48a22e=_0x378d12;_0x350ab5['_readyState']=_0x48bf48[_0x48a22e(0x255)];const _0x2bf97b=new Error(_0x12015e);Error[_0x48a22e(0x113)](_0x2bf97b,_0x287eff),_0x247209['setHeader']?(_0x247209[_0x29e71a]=!0x0,_0x247209[_0x48a22e(0x249)](),_0x247209[_0x48a22e(0x1c9)]&&!_0x247209[_0x48a22e(0x1c9)][_0x48a22e(0x238)]&&_0x247209['socket'][_0x48a22e(0x131)](),process['nextTick'](_0x2100c4,_0x350ab5,_0x2bf97b)):(_0x247209[_0x48a22e(0x131)](_0x2bf97b),_0x247209[_0x48a22e(0x139)](_0x48a22e(0x28f),_0x350ab5[_0x48a22e(0x1ee)][_0x48a22e(0x1ca)](_0x350ab5,_0x48a22e(0x28f))),_0x247209[_0x48a22e(0x139)](_0x48a22e(0x256),_0x350ab5['emitClose'][_0x48a22e(0x1ca)](_0x350ab5)));}function _0x357551(_0x33d1d2,_0x270411,_0x1b542c){const _0x324b23=_0x378d12;if(_0x270411){const _0x1b0558=_0x12f634(_0x270411)?_0x270411[_0x324b23(0x196)]:_0x470327(_0x270411)[_0x324b23(0x121)];_0x33d1d2[_0x324b23(0x117)]?_0x33d1d2[_0x324b23(0x271)][_0x324b23(0x28c)]+=_0x1b0558:_0x33d1d2[_0x324b23(0x254)]+=_0x1b0558;}if(_0x1b542c){const _0x10a9df=new Error(_0x324b23(0x18f)+_0x33d1d2[_0x324b23(0x1cf)]+'\x20('+_0x4665e6[_0x33d1d2['readyState']]+')');process['nextTick'](_0x1b542c,_0x10a9df);}}function _0x48ce5c(_0x55992f,_0x301928){const _0x38d7a4=_0x378d12,_0xcd4b0c=this[_0x19553b];_0xcd4b0c[_0x38d7a4(0x207)]=!0x0,_0xcd4b0c[_0x38d7a4(0xf6)]=_0x301928,_0xcd4b0c[_0x38d7a4(0x1de)]=_0x55992f,_0xcd4b0c[_0x38d7a4(0x117)][_0x19553b]!==void 0x0&&(_0xcd4b0c[_0x38d7a4(0x117)][_0x38d7a4(0xec)](_0x38d7a4(0x203),_0x329170),process['nextTick'](_0x1106de,_0xcd4b0c[_0x38d7a4(0x117)]),_0x55992f===0x3ed?_0xcd4b0c[_0x38d7a4(0x256)]():_0xcd4b0c[_0x38d7a4(0x256)](_0x55992f,_0x301928));}function _0x115838(){const _0x1e03b6=_0x378d12,_0x49e2fc=this[_0x19553b];_0x49e2fc['isPaused']||_0x49e2fc[_0x1e03b6(0x117)][_0x1e03b6(0x1cc)]();}function _0x1ab6f6(_0x1c99c7){const _0x4b7a81=_0x378d12,_0x2791f2=this[_0x19553b];_0x2791f2['_socket'][_0x19553b]!==void 0x0&&(_0x2791f2[_0x4b7a81(0x117)][_0x4b7a81(0xec)]('data',_0x329170),process['nextTick'](_0x1106de,_0x2791f2[_0x4b7a81(0x117)]),_0x2791f2[_0x4b7a81(0x256)](_0x1c99c7[_0x16da07])),_0x2791f2[_0x4b7a81(0x26f)]||(_0x2791f2['_errorEmitted']=!0x0,_0x2791f2[_0x4b7a81(0x1ee)]('error',_0x1c99c7));}function _0x1e120b(){this[_0x19553b]['emitClose']();}function _0xc7e443(_0x418eae,_0x2b8f83){const _0x529f80=_0x378d12;this[_0x19553b][_0x529f80(0x1ee)](_0x529f80(0x1ad),_0x418eae,_0x2b8f83);}function _0x59a9f8(_0x2746d1){const _0xfb3ec8=_0x378d12,_0x46b0fa=this[_0x19553b];_0x46b0fa[_0xfb3ec8(0x19b)]&&_0x46b0fa[_0xfb3ec8(0x1f9)](_0x2746d1,!this['_isServer'],_0x6d927b),_0x46b0fa[_0xfb3ec8(0x1ee)](_0xfb3ec8(0x27f),_0x2746d1);}function _0x4d6771(_0x558283){const _0x1fd910=_0x378d12;this[_0x19553b][_0x1fd910(0x1ee)](_0x1fd910(0x1f9),_0x558283);}function _0x1106de(_0x3d2c3e){const _0x2a400a=_0x378d12;_0x3d2c3e[_0x2a400a(0x1cc)]();}function _0x530c0c(_0xf5f60f){const _0x1ae836=_0x378d12,_0x2c0862=this[_0x19553b];_0x2c0862['readyState']!==_0x48bf48[_0x1ae836(0x1c2)]&&(_0x2c0862[_0x1ae836(0x1cf)]===_0x48bf48[_0x1ae836(0x223)]&&(_0x2c0862[_0x1ae836(0x13b)]=_0x48bf48[_0x1ae836(0x255)],_0x5c0c4c(_0x2c0862)),this[_0x1ae836(0x117)][_0x1ae836(0x234)](),_0x2c0862[_0x1ae836(0x26f)]||(_0x2c0862['_errorEmitted']=!0x0,_0x2c0862[_0x1ae836(0x1ee)](_0x1ae836(0x28f),_0xf5f60f)));}function _0x5c0c4c(_0x1c21c0){const _0x55569d=_0x378d12;_0x1c21c0[_0x55569d(0x13e)]=setTimeout(_0x1c21c0[_0x55569d(0x117)]['destroy'][_0x55569d(0x1ca)](_0x1c21c0['_socket']),_0x5b0e3b);}function _0x1c0550(){const _0x4a08aa=_0x378d12,_0x1b7d8a=this[_0x19553b];this[_0x4a08aa(0xec)]('close',_0x1c0550),this[_0x4a08aa(0xec)](_0x4a08aa(0x203),_0x329170),this[_0x4a08aa(0xec)](_0x4a08aa(0x234),_0xc92062),_0x1b7d8a[_0x4a08aa(0x13b)]=_0x48bf48['CLOSING'];let _0x50e089;!this[_0x4a08aa(0x116)][_0x4a08aa(0x133)]&&!_0x1b7d8a[_0x4a08aa(0x207)]&&!_0x1b7d8a[_0x4a08aa(0x170)][_0x4a08aa(0x219)][_0x4a08aa(0x253)]&&(_0x50e089=_0x1b7d8a['_socket']['read']())!==null&&_0x1b7d8a[_0x4a08aa(0x170)][_0x4a08aa(0x15d)](_0x50e089),_0x1b7d8a[_0x4a08aa(0x170)]['end'](),this[_0x19553b]=void 0x0,clearTimeout(_0x1b7d8a[_0x4a08aa(0x13e)]),_0x1b7d8a[_0x4a08aa(0x170)]['_writableState'][_0x4a08aa(0x1c7)]||_0x1b7d8a['_receiver'][_0x4a08aa(0x219)][_0x4a08aa(0x253)]?_0x1b7d8a[_0x4a08aa(0x147)]():(_0x1b7d8a[_0x4a08aa(0x170)]['on']('error',_0x1e120b),_0x1b7d8a['_receiver']['on'](_0x4a08aa(0xfe),_0x1e120b));}function _0x329170(_0xdedfb0){const _0x30cf58=_0x378d12;this[_0x19553b][_0x30cf58(0x170)][_0x30cf58(0x15d)](_0xdedfb0)||this[_0x30cf58(0x14c)]();}function _0xc92062(){const _0x2d43af=_0x378d12,_0x2b4e56=this[_0x19553b];_0x2b4e56[_0x2d43af(0x13b)]=_0x48bf48['CLOSING'],_0x2b4e56[_0x2d43af(0x170)]['end'](),this[_0x2d43af(0x234)]();}function _0x2d77f9(){const _0x2f00e=_0x378d12,_0x94fdb4=this[_0x19553b];this[_0x2f00e(0xec)](_0x2f00e(0x28f),_0x2d77f9),this['on'](_0x2f00e(0x28f),_0x6d927b),_0x94fdb4&&(_0x94fdb4['_readyState']=_0x48bf48[_0x2f00e(0x255)],this[_0x2f00e(0x131)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xfe9d15}=_0x5123e8;function _0x3ecea0(_0x10c34d){_0x10c34d['emit']('close');}function _0x43e7e0(){const _0x47add7=_0x5468;!this['destroyed']&&this[_0x47add7(0x219)][_0x47add7(0x1c7)]&&this[_0x47add7(0x131)]();}function _0x3afbe2(_0x4acd86){const _0x149c2d=_0x5468;this['removeListener'](_0x149c2d(0x28f),_0x3afbe2),this[_0x149c2d(0x131)](),this[_0x149c2d(0x188)](_0x149c2d(0x28f))===0x0&&this[_0x149c2d(0x1ee)]('error',_0x4acd86);}function _0x31ec9d(_0x53b468,_0x492732){const _0x48ec5b=_0x5468;let _0x161774=!0x0;const _0x190be3=new _0xfe9d15({..._0x492732,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x53b468['on'](_0x48ec5b(0x1ad),function(_0x127c3b,_0x210289){const _0x59092c=_0x48ec5b,_0x38e9aa=!_0x210289&&_0x190be3[_0x59092c(0x116)]['objectMode']?_0x127c3b[_0x59092c(0x1f1)]():_0x127c3b;_0x190be3[_0x59092c(0x15e)](_0x38e9aa)||_0x53b468[_0x59092c(0x14c)]();}),_0x53b468['once'](_0x48ec5b(0x28f),function(_0x16d664){const _0x4848af=_0x48ec5b;_0x190be3[_0x4848af(0x238)]||(_0x161774=!0x1,_0x190be3['destroy'](_0x16d664));}),_0x53b468[_0x48ec5b(0x139)](_0x48ec5b(0x256),function(){const _0x42e4ef=_0x48ec5b;_0x190be3[_0x42e4ef(0x238)]||_0x190be3[_0x42e4ef(0x15e)](null);}),_0x190be3[_0x48ec5b(0x222)]=function(_0x8f7740,_0x18bbb9){const _0x47451f=_0x48ec5b;if(_0x53b468[_0x47451f(0x1cf)]===_0x53b468[_0x47451f(0x1c2)]){_0x18bbb9(_0x8f7740),process[_0x47451f(0x226)](_0x3ecea0,_0x190be3);return;}let _0x57dc1c=!0x1;_0x53b468[_0x47451f(0x139)]('error',function(_0x282606){_0x57dc1c=!0x0,_0x18bbb9(_0x282606);}),_0x53b468['once'](_0x47451f(0x256),function(){_0x57dc1c||_0x18bbb9(_0x8f7740),process['nextTick'](_0x3ecea0,_0x190be3);}),_0x161774&&_0x53b468['terminate']();},_0x190be3[_0x48ec5b(0x202)]=function(_0x3cbf7c){const _0x313e2c=_0x48ec5b;if(_0x53b468[_0x313e2c(0x1cf)]===_0x53b468[_0x313e2c(0x18e)]){_0x53b468['once'](_0x313e2c(0x275),function(){const _0x53fd4c=_0x313e2c;_0x190be3[_0x53fd4c(0x202)](_0x3cbf7c);});return;}_0x53b468[_0x313e2c(0x117)]!==null&&(_0x53b468[_0x313e2c(0x117)]['_writableState'][_0x313e2c(0x1c7)]?(_0x3cbf7c(),_0x190be3[_0x313e2c(0x116)][_0x313e2c(0x133)]&&_0x190be3[_0x313e2c(0x131)]()):(_0x53b468['_socket'][_0x313e2c(0x139)]('finish',function(){_0x3cbf7c();}),_0x53b468[_0x313e2c(0x256)]()));},_0x190be3['_read']=function(){const _0x900918=_0x48ec5b;_0x53b468[_0x900918(0x294)]&&_0x53b468[_0x900918(0x1cc)]();},_0x190be3[_0x48ec5b(0x23a)]=function(_0x3aa0d6,_0xceb2ad,_0x49fed2){const _0x53ea59=_0x48ec5b;if(_0x53b468['readyState']===_0x53b468[_0x53ea59(0x18e)]){_0x53b468[_0x53ea59(0x139)](_0x53ea59(0x275),function(){const _0x40c3ce=_0x53ea59;_0x190be3[_0x40c3ce(0x23a)](_0x3aa0d6,_0xceb2ad,_0x49fed2);});return;}_0x53b468['send'](_0x3aa0d6,_0x49fed2);},_0x190be3['on']('end',_0x43e7e0),_0x190be3['on']('error',_0x3afbe2),_0x190be3;}return Oe=_0x31ec9d,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x24c737}=ne();function _0x1865a2(_0x119d16){const _0xc0960b=_0x5468,_0x4e3c28=new Set();let _0x2ae3d3=-0x1,_0x34edc5=-0x1,_0x483a04=0x0;for(_0x483a04;_0x483a04<_0x119d16[_0xc0960b(0x121)];_0x483a04++){const _0x34d06f=_0x119d16[_0xc0960b(0x100)](_0x483a04);if(_0x34edc5===-0x1&&_0x24c737[_0x34d06f]===0x1)_0x2ae3d3===-0x1&&(_0x2ae3d3=_0x483a04);else{if(_0x483a04!==0x0&&(_0x34d06f===0x20||_0x34d06f===0x9))_0x34edc5===-0x1&&_0x2ae3d3!==-0x1&&(_0x34edc5=_0x483a04);else{if(_0x34d06f===0x2c){if(_0x2ae3d3===-0x1)throw new SyntaxError(_0xc0960b(0x17d)+_0x483a04);_0x34edc5===-0x1&&(_0x34edc5=_0x483a04);const _0x58bc33=_0x119d16[_0xc0960b(0xea)](_0x2ae3d3,_0x34edc5);if(_0x4e3c28['has'](_0x58bc33))throw new SyntaxError(_0xc0960b(0x272)+_0x58bc33+_0xc0960b(0x27b));_0x4e3c28['add'](_0x58bc33),_0x2ae3d3=_0x34edc5=-0x1;}else throw new SyntaxError(_0xc0960b(0x17d)+_0x483a04);}}}if(_0x2ae3d3===-0x1||_0x34edc5!==-0x1)throw new SyntaxError(_0xc0960b(0x1ae));const _0x17b199=_0x119d16[_0xc0960b(0xea)](_0x2ae3d3,_0x483a04);if(_0x4e3c28[_0xc0960b(0x218)](_0x17b199))throw new SyntaxError('The\x20\x22'+_0x17b199+_0xc0960b(0x27b));return _0x4e3c28['add'](_0x17b199),_0x4e3c28;}return Ce={'parse':_0x1865a2},Ce;}var Te,ot;function er(){const _0x1d4701=_0x39a5ac;if(ot)return Te;ot=0x1;const _0x485b44=_0x171d11,_0x173fa5=_0x5db7f3,{Duplex:_0x5157dd}=_0x5123e8,{createHash:_0x4f2c0e}=_0x5d136f,_0x141388=pt(),_0x3f892d=he(),_0xcbe90a=Jt(),_0x5ab756=Ie(),{GUID:_0x409ae0,kWebSocket:_0xfdffba}=V(),_0xe0cfd8=/^[+/0-9A-Za-z]{22}==$/,_0x46cd20=0x0,_0x381630=0x1,_0x3a050c=0x2;class _0x48a614 extends _0x485b44{constructor(_0x3a5ebf,_0x1ce4d7){const _0x297fd2=_0x5468;if(super(),_0x3a5ebf={'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':_0x5ab756,..._0x3a5ebf},_0x3a5ebf[_0x297fd2(0x11a)]==null&&!_0x3a5ebf[_0x297fd2(0x217)]&&!_0x3a5ebf[_0x297fd2(0x236)]||_0x3a5ebf[_0x297fd2(0x11a)]!=null&&(_0x3a5ebf['server']||_0x3a5ebf['noServer'])||_0x3a5ebf[_0x297fd2(0x217)]&&_0x3a5ebf[_0x297fd2(0x236)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3a5ebf['port']!=null?(this[_0x297fd2(0x177)]=_0x173fa5[_0x297fd2(0x1e6)]((_0x26b4cb,_0x1d5fed)=>{const _0x1052b1=_0x297fd2,_0xb8366c=_0x173fa5[_0x1052b1(0x1a6)][0x1aa];_0x1d5fed[_0x1052b1(0x161)](0x1aa,{'Content-Length':_0xb8366c[_0x1052b1(0x121)],'Content-Type':_0x1052b1(0x21e)}),_0x1d5fed[_0x1052b1(0x234)](_0xb8366c);}),this[_0x297fd2(0x177)][_0x297fd2(0x1b7)](_0x3a5ebf['port'],_0x3a5ebf['host'],_0x3a5ebf[_0x297fd2(0x119)],_0x1ce4d7)):_0x3a5ebf[_0x297fd2(0x217)]&&(this['_server']=_0x3a5ebf[_0x297fd2(0x217)]),this['_server']){const _0x33ac79=this[_0x297fd2(0x1ee)][_0x297fd2(0x1ca)](this,_0x297fd2(0x14f));this[_0x297fd2(0x15f)]=_0x1d49cb(this[_0x297fd2(0x177)],{'listening':this[_0x297fd2(0x1ee)][_0x297fd2(0x1ca)](this,'listening'),'error':this[_0x297fd2(0x1ee)][_0x297fd2(0x1ca)](this,_0x297fd2(0x28f)),'upgrade':(_0x5b75b5,_0xfea13f,_0x50f39a)=>{const _0x4c35f0=_0x297fd2;this[_0x4c35f0(0x1a8)](_0x5b75b5,_0xfea13f,_0x50f39a,_0x33ac79);}});}_0x3a5ebf[_0x297fd2(0x1c4)]===!0x0&&(_0x3a5ebf[_0x297fd2(0x1c4)]={}),_0x3a5ebf[_0x297fd2(0x162)]&&(this[_0x297fd2(0x1bd)]=new Set(),this[_0x297fd2(0x187)]=!0x1),this[_0x297fd2(0x279)]=_0x3a5ebf,this[_0x297fd2(0x22c)]=_0x46cd20;}['address'](){const _0x2c27cb=_0x5468;if(this[_0x2c27cb(0x279)]['noServer'])throw new Error(_0x2c27cb(0x215));return this['_server']?this[_0x2c27cb(0x177)][_0x2c27cb(0x171)]():null;}[_0x1d4701(0x256)](_0x1edbb0){const _0x557eff=_0x1d4701;if(this['_state']===_0x3a050c){_0x1edbb0&&this['once'](_0x557eff(0x256),()=>{const _0x4e7e3f=_0x557eff;_0x1edbb0(new Error(_0x4e7e3f(0x189)));}),process[_0x557eff(0x226)](_0x312d65,this);return;}if(_0x1edbb0&&this[_0x557eff(0x139)]('close',_0x1edbb0),this[_0x557eff(0x22c)]!==_0x381630){if(this[_0x557eff(0x22c)]=_0x381630,this[_0x557eff(0x279)][_0x557eff(0x236)]||this['options'][_0x557eff(0x217)])this[_0x557eff(0x177)]&&(this[_0x557eff(0x15f)](),this[_0x557eff(0x15f)]=this['_server']=null),this[_0x557eff(0x1bd)]?this['clients'][_0x557eff(0x196)]?this[_0x557eff(0x187)]=!0x0:process['nextTick'](_0x312d65,this):process[_0x557eff(0x226)](_0x312d65,this);else{const _0x14a1d8=this[_0x557eff(0x177)];this[_0x557eff(0x15f)](),this[_0x557eff(0x15f)]=this[_0x557eff(0x177)]=null,_0x14a1d8[_0x557eff(0x256)](()=>{_0x312d65(this);});}}}[_0x1d4701(0xf3)](_0x4751e5){const _0x18eb97=_0x1d4701;if(this[_0x18eb97(0x279)][_0x18eb97(0x195)]){const _0x542600=_0x4751e5[_0x18eb97(0x20d)][_0x18eb97(0x176)]('?');if((_0x542600!==-0x1?_0x4751e5[_0x18eb97(0x20d)][_0x18eb97(0xea)](0x0,_0x542600):_0x4751e5[_0x18eb97(0x20d)])!==this['options'][_0x18eb97(0x195)])return!0x1;}return!0x0;}['handleUpgrade'](_0xec36e7,_0x37837b,_0x33a076,_0x2d345e){const _0x56709a=_0x1d4701;_0x37837b['on']('error',_0x5d7e43);const _0x5331fb=_0xec36e7[_0x56709a(0x229)]['sec-websocket-key'],_0x30f764=_0xec36e7[_0x56709a(0x229)][_0x56709a(0x192)],_0x154647=+_0xec36e7['headers']['sec-websocket-version'];if(_0xec36e7['method']!==_0x56709a(0x199)){_0xbcec55(this,_0xec36e7,_0x37837b,0x195,_0x56709a(0x14e));return;}if(_0x30f764===void 0x0||_0x30f764[_0x56709a(0xfb)]()!=='websocket'){_0xbcec55(this,_0xec36e7,_0x37837b,0x190,_0x56709a(0x12a));return;}if(_0x5331fb===void 0x0||!_0xe0cfd8[_0x56709a(0x1f5)](_0x5331fb)){_0xbcec55(this,_0xec36e7,_0x37837b,0x190,_0x56709a(0x21a));return;}if(_0x154647!==0x8&&_0x154647!==0xd){_0xbcec55(this,_0xec36e7,_0x37837b,0x190,_0x56709a(0x108));return;}if(!this['shouldHandle'](_0xec36e7)){_0x1d2a18(_0x37837b,0x190);return;}const _0x399df6=_0xec36e7[_0x56709a(0x229)]['sec-websocket-protocol'];let _0x499654=new Set();if(_0x399df6!==void 0x0)try{_0x499654=_0xcbe90a[_0x56709a(0x28b)](_0x399df6);}catch{_0xbcec55(this,_0xec36e7,_0x37837b,0x190,_0x56709a(0x282));return;}const _0x3aee5a=_0xec36e7[_0x56709a(0x229)][_0x56709a(0x252)],_0x11fec8={};if(this[_0x56709a(0x279)][_0x56709a(0x1c4)]&&_0x3aee5a!==void 0x0){const _0x96631=new _0x3f892d(this[_0x56709a(0x279)][_0x56709a(0x1c4)],!0x0,this['options'][_0x56709a(0x22d)]);try{const _0x5b9c61=_0x141388[_0x56709a(0x28b)](_0x3aee5a);_0x5b9c61[_0x3f892d['extensionName']]&&(_0x96631[_0x56709a(0xef)](_0x5b9c61[_0x3f892d[_0x56709a(0x1dd)]]),_0x11fec8[_0x3f892d['extensionName']]=_0x96631);}catch{_0xbcec55(this,_0xec36e7,_0x37837b,0x190,_0x56709a(0x1dc));return;}}if(this[_0x56709a(0x279)][_0x56709a(0x233)]){const _0x2f443a={'origin':_0xec36e7[_0x56709a(0x229)][''+(_0x154647===0x8?_0x56709a(0x1b5):_0x56709a(0x22b))],'secure':!!(_0xec36e7['socket'][_0x56709a(0x1e0)]||_0xec36e7[_0x56709a(0x1c9)]['encrypted']),'req':_0xec36e7};if(this[_0x56709a(0x279)][_0x56709a(0x233)]['length']===0x2){this['options']['verifyClient'](_0x2f443a,(_0x3cb744,_0x150387,_0x3eddde,_0x3289c4)=>{const _0x2d3bc8=_0x56709a;if(!_0x3cb744)return _0x1d2a18(_0x37837b,_0x150387||0x191,_0x3eddde,_0x3289c4);this[_0x2d3bc8(0x122)](_0x11fec8,_0x5331fb,_0x499654,_0xec36e7,_0x37837b,_0x33a076,_0x2d345e);});return;}if(!this[_0x56709a(0x279)][_0x56709a(0x233)](_0x2f443a))return _0x1d2a18(_0x37837b,0x191);}this[_0x56709a(0x122)](_0x11fec8,_0x5331fb,_0x499654,_0xec36e7,_0x37837b,_0x33a076,_0x2d345e);}['completeUpgrade'](_0x58198d,_0x1ba1d3,_0x301e2d,_0x345205,_0x44fa50,_0x2632d5,_0x4a106c){const _0x25db55=_0x1d4701;if(!_0x44fa50[_0x25db55(0x1fe)]||!_0x44fa50[_0x25db55(0x227)])return _0x44fa50[_0x25db55(0x131)]();if(_0x44fa50[_0xfdffba])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x25db55(0x22c)]>_0x46cd20)return _0x1d2a18(_0x44fa50,0x1f7);const _0x296520=[_0x25db55(0xf7),_0x25db55(0x158),_0x25db55(0x298),_0x25db55(0x27c)+_0x4f2c0e(_0x25db55(0x208))[_0x25db55(0x1e8)](_0x1ba1d3+_0x409ae0)['digest'](_0x25db55(0x245))],_0x4ea684=new this[(_0x25db55(0x279))][(_0x25db55(0x25f))](null,void 0x0,this[_0x25db55(0x279)]);if(_0x301e2d['size']){const _0x33a46b=this['options'][_0x25db55(0x145)]?this[_0x25db55(0x279)][_0x25db55(0x145)](_0x301e2d,_0x345205):_0x301e2d['values']()[_0x25db55(0x284)]()[_0x25db55(0x299)];_0x33a46b&&(_0x296520['push'](_0x25db55(0x11f)+_0x33a46b),_0x4ea684[_0x25db55(0x136)]=_0x33a46b);}if(_0x58198d[_0x3f892d['extensionName']]){const _0x2c9113=_0x58198d[_0x3f892d['extensionName']]['params'],_0x4907a7=_0x141388[_0x25db55(0x1eb)]({[_0x3f892d[_0x25db55(0x1dd)]]:[_0x2c9113]});_0x296520['push'](_0x25db55(0x210)+_0x4907a7),_0x4ea684[_0x25db55(0x1b0)]=_0x58198d;}this[_0x25db55(0x1ee)](_0x25db55(0x229),_0x296520,_0x345205),_0x44fa50[_0x25db55(0x15d)](_0x296520[_0x25db55(0x285)]('\x0d\x0a')[_0x25db55(0x20c)]('\x0d\x0a')),_0x44fa50['removeListener'](_0x25db55(0x28f),_0x5d7e43),_0x4ea684[_0x25db55(0xfd)](_0x44fa50,_0x2632d5,{'allowSynchronousEvents':this[_0x25db55(0x279)][_0x25db55(0x24e)],'maxPayload':this[_0x25db55(0x279)][_0x25db55(0x22d)],'skipUTF8Validation':this[_0x25db55(0x279)][_0x25db55(0x224)]}),this[_0x25db55(0x1bd)]&&(this[_0x25db55(0x1bd)][_0x25db55(0x1df)](_0x4ea684),_0x4ea684['on'](_0x25db55(0x256),()=>{const _0x288f9b=_0x25db55;this[_0x288f9b(0x1bd)][_0x288f9b(0x29b)](_0x4ea684),this['_shouldEmitClose']&&!this['clients'][_0x288f9b(0x196)]&&process[_0x288f9b(0x226)](_0x312d65,this);})),_0x4a106c(_0x4ea684,_0x345205);}}Te=_0x48a614;function _0x1d49cb(_0x3d1c2f,_0x4d9732){const _0x2ba493=_0x1d4701;for(const _0x56a6f3 of Object[_0x2ba493(0x269)](_0x4d9732))_0x3d1c2f['on'](_0x56a6f3,_0x4d9732[_0x56a6f3]);return function(){const _0x4553e1=_0x2ba493;for(const _0x578e60 of Object['keys'](_0x4d9732))_0x3d1c2f[_0x4553e1(0xec)](_0x578e60,_0x4d9732[_0x578e60]);};}function _0x312d65(_0x5232c6){const _0x2fd3b1=_0x1d4701;_0x5232c6[_0x2fd3b1(0x22c)]=_0x3a050c,_0x5232c6[_0x2fd3b1(0x1ee)]('close');}function _0x5d7e43(){const _0x3e3d92=_0x1d4701;this[_0x3e3d92(0x131)]();}function _0x1d2a18(_0x4f5b60,_0xa5b18a,_0xd884be,_0x4a7aba){const _0x1f389f=_0x1d4701;_0xd884be=_0xd884be||_0x173fa5[_0x1f389f(0x1a6)][_0xa5b18a],_0x4a7aba={'Connection':_0x1f389f(0x256),'Content-Type':_0x1f389f(0x1a3),'Content-Length':Buffer[_0x1f389f(0x1e4)](_0xd884be),..._0x4a7aba},_0x4f5b60[_0x1f389f(0x139)](_0x1f389f(0xfe),_0x4f5b60[_0x1f389f(0x131)]),_0x4f5b60[_0x1f389f(0x234)](_0x1f389f(0x1bb)+_0xa5b18a+'\x20'+_0x173fa5[_0x1f389f(0x1a6)][_0xa5b18a]+'\x0d\x0a'+Object[_0x1f389f(0x269)](_0x4a7aba)[_0x1f389f(0x225)](_0x3d2db7=>_0x3d2db7+':\x20'+_0x4a7aba[_0x3d2db7])[_0x1f389f(0x20c)]('\x0d\x0a')+_0x1f389f(0x295)+_0xd884be);}function _0xbcec55(_0x52a6d6,_0x5cdcc8,_0x4aba18,_0x5b805d,_0x486eed){const _0x155dd5=_0x1d4701;if(_0x52a6d6[_0x155dd5(0x188)](_0x155dd5(0x1ea))){const _0x4032ed=new Error(_0x486eed);Error[_0x155dd5(0x113)](_0x4032ed,_0xbcec55),_0x52a6d6[_0x155dd5(0x1ee)]('wsClientError',_0x4032ed,_0x4aba18,_0x5cdcc8);}else _0x1d2a18(_0x4aba18,_0x5b805d,_0x486eed);}return Te;}er();var tr=Object[_0x39a5ac(0x209)],rr=(_0x17fd0c,_0x1b1150,_0x2962da,_0x468672)=>{const _0x2f066a=_0x39a5ac;for(var _0x1138e2=_0x468672>0x1?void 0x0:_0x468672?tr(_0x1b1150,_0x2962da):_0x1b1150,_0x3d9afd=_0x17fd0c[_0x2f066a(0x121)]-0x1,_0x54e4a6;_0x3d9afd>=0x0;_0x3d9afd--)(_0x54e4a6=_0x17fd0c[_0x3d9afd])&&(_0x1138e2=_0x54e4a6(_0x1138e2)||_0x1138e2);return _0x1138e2;},sr=(_0x1b205e,_0x1cb72f)=>(_0x16cda0,_0x12ac81)=>_0x1cb72f(_0x16cda0,_0x12ac81,_0x1b205e);let Ne=class extends _0x4e4848{constructor(_0x2cf080){super(),this['_configService']=_0x2cf080;}['createSocket'](_0x1755e9){const _0x4901c1=_0x39a5ac;var _0x3d7525;const _0x58f598=(_0x3d7525=this[_0x4901c1(0x1c5)][_0x4901c1(0x197)](Be))==null?void 0x0:_0x3d7525[_0x4901c1(0x1ce)];try{const _0x21aedb=new Qt(_0x1755e9,{'headers':{..._0x58f598}}),_0x26e600=new _0x91b0f5();return{'URL':_0x1755e9,'close':(_0x4f439e,_0x4e5145)=>{const _0x5b2bde=_0x4901c1;_0x21aedb[_0x5b2bde(0x256)](_0x4f439e,_0x4e5145),_0x26e600[_0x5b2bde(0x190)]();},'send':_0x4f97eb=>{const _0x8f3d86=_0x4901c1;_0x21aedb[_0x8f3d86(0xf5)](_0x4f97eb);},'open$':new _0x250241(_0x2443bc=>{const _0x394b6e=_0x4901c1,_0x3642a0=_0x517b59=>_0x2443bc[_0x394b6e(0x284)](_0x517b59);_0x21aedb[_0x394b6e(0x1d9)](_0x394b6e(0x275),_0x3642a0),_0x26e600[_0x394b6e(0x1df)](_0x1f0764(()=>_0x21aedb[_0x394b6e(0x250)](_0x394b6e(0x275),_0x3642a0)));})[_0x4901c1(0x10e)](_0xafb8c4()),'close$':new _0x250241(_0x5b0f4a=>{const _0x160c24=_0x4901c1,_0x485cd7=_0x485f38=>_0x5b0f4a[_0x160c24(0x284)](_0x485f38);_0x21aedb[_0x160c24(0x1d9)](_0x160c24(0x256),_0x485cd7),_0x26e600[_0x160c24(0x1df)](_0x1f0764(()=>_0x21aedb[_0x160c24(0x250)](_0x160c24(0x256),_0x485cd7)));})[_0x4901c1(0x10e)](_0xafb8c4()),'error$':new _0x250241(_0x4bd832=>{const _0x167d7a=_0x4901c1,_0x2fe3fe=_0x1949d3=>_0x4bd832[_0x167d7a(0x284)](_0x1949d3);_0x21aedb[_0x167d7a(0x1d9)](_0x167d7a(0x28f),_0x2fe3fe),_0x26e600[_0x167d7a(0x1df)](_0x1f0764(()=>_0x21aedb['removeEventListener'](_0x167d7a(0x28f),_0x2fe3fe)));})[_0x4901c1(0x10e)](_0xafb8c4()),'message$':new _0x250241(_0x2573d8=>{const _0x1c99b3=_0x4901c1,_0x3a7e99=_0x377b28=>_0x2573d8['next'](_0x377b28);_0x21aedb[_0x1c99b3(0x1d9)](_0x1c99b3(0x1ad),_0x3a7e99),_0x26e600[_0x1c99b3(0x1df)](_0x1f0764(()=>_0x21aedb[_0x1c99b3(0x250)]('message',_0x3a7e99)));})['pipe'](_0xafb8c4())};}catch(_0xd71c64){return console[_0x4901c1(0x28f)](_0xd71c64),null;}}};Ne=rr([sr(0x0,_0x31719c)],Ne);var ir=Object[_0x39a5ac(0x1a1)],nr=Object[_0x39a5ac(0x209)],or=(_0xe1b90f,_0x5a5440,_0x5d608a)=>_0x5a5440 in _0xe1b90f?ir(_0xe1b90f,_0x5a5440,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d608a}):_0xe1b90f[_0x5a5440]=_0x5d608a,ar=(_0x19208e,_0x2b507e,_0x1fa29a,_0x77ad0)=>{for(var _0x3c2f40=_0x77ad0>0x1?void 0x0:_0x77ad0?nr(_0x2b507e,_0x1fa29a):_0x2b507e,_0x530c4d=_0x19208e['length']-0x1,_0x27ac47;_0x530c4d>=0x0;_0x530c4d--)(_0x27ac47=_0x19208e[_0x530c4d])&&(_0x3c2f40=_0x27ac47(_0x3c2f40)||_0x3c2f40);return _0x3c2f40;},ke=(_0x16a31d,_0x3ed854)=>(_0x4209d5,_0x2e216a)=>_0x3ed854(_0x4209d5,_0x2e216a,_0x16a31d),lr=(_0x5ee7dc,_0x2ad8a3,_0x31bbb7)=>or(_0x5ee7dc,_0x2ad8a3+'',_0x31bbb7);let Pe=class extends _0x2be3c0{constructor(_0x49e35a=Ft,_0x561273,_0x34497f,_0x56484d){const _0x211add=_0x39a5ac;_0x49e35a['customHeaders']||_0x561273[_0x211add(0x120)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x34497f,this['_injector']=_0x56484d,this['_configService']['setConfig'](Be,_0x49e35a);}[_0x39a5ac(0x286)](){const _0x28d185=_0x39a5ac;this[_0x28d185(0x191)]();}[_0x39a5ac(0x191)](){const _0x1e249e=_0x39a5ac;_0x59b591(this[_0x1e249e(0x1a5)],[[_0x26ce87,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x39a5ac(0x103)),Pe=ar([_0x3314f8(_0x495ccf),ke(0x1,_0x1c3169),ke(0x2,_0x31719c),ke(0x3,_0x4221d6(_0x4fd14d))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x39baa2,_0x3742e1,_0x115228,_0x30c19b)=>{for(var _0x2469a1=_0x30c19b>0x1?void 0x0:_0x30c19b?fr(_0x3742e1,_0x115228):_0x3742e1,_0x377e93=_0x39baa2['length']-0x1,_0x34ca2e;_0x377e93>=0x0;_0x377e93--)(_0x34ca2e=_0x39baa2[_0x377e93])&&(_0x2469a1=_0x34ca2e(_0x2469a1)||_0x2469a1);return _0x2469a1;},se=(_0x4dcd21,_0x24914b)=>(_0xe76a91,_0x84c896)=>_0x24914b(_0xe76a91,_0x84c896,_0x4dcd21);let at=class extends _0x5082f6{constructor(_0x549408,_0x266129,_0x54adf9,_0xe8d958,_0x4dd21d){const _0x523217=_0x39a5ac;super(_0x549408,_0x266129,_0x54adf9,_0xe8d958,_0x4dd21d);const _0x37fdf3=this[_0x523217(0x1c5)][_0x523217(0x197)](Be);this[_0x523217(0x24a)][_0x523217(0x288)]({'interceptor':(_0x38dc7d,_0x4c7d18)=>{const _0x3cdda0=_0x523217;var _0xedcefa;const _0x4d85a0=_0x38dc7d['headers'];return(_0xedcefa=_0x37fdf3==null?void 0x0:_0x37fdf3[_0x3cdda0(0x1ce)])!=null&&_0xedcefa['cookie']&&_0x4d85a0['set'](_0x3cdda0(0x18b),_0x37fdf3[_0x3cdda0(0x1ce)][_0x3cdda0(0x1c6)]),_0x4c7d18(_0x38dc7d);}});}async[_0x39a5ac(0x132)](_0x238405){return this['_doCreateSocket'](_0x238405);}};at=cr([se(0x0,_0x4221d6(_0x4fd14d)),se(0x1,_0x4221d6(_0x9f7933)),se(0x2,_0x31719c),se(0x3,_0x1c3169),se(0x4,_0x4ae98b)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};