@univerjs-pro/collaboration-client-node 0.6.10-nightly.202504251607 → 0.6.10-nightly.202504271606

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 _0x3b2d4f=_0x5878;(function(_0x1b1102,_0x99c515){const _0x48873d=_0x5878,_0x4020d9=_0x1b1102();while(!![]){try{const _0x1d6954=parseInt(_0x48873d(0x336))/0x1+parseInt(_0x48873d(0x331))/0x2+-parseInt(_0x48873d(0x2dc))/0x3*(parseInt(_0x48873d(0x28f))/0x4)+parseInt(_0x48873d(0x2ca))/0x5+-parseInt(_0x48873d(0x2f4))/0x6*(-parseInt(_0x48873d(0x209))/0x7)+-parseInt(_0x48873d(0x321))/0x8+-parseInt(_0x48873d(0x2e3))/0x9;if(_0x1d6954===_0x99c515)break;else _0x4020d9['push'](_0x4020d9['shift']());}catch(_0x4b501a){_0x4020d9['push'](_0x4020d9['shift']());}}}(_0xaa37,0x5183a));import{UniverCollaborationClientPlugin as _0x3c982b,CollaborationSocketService as _0x533d18}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5d8c1e,DisposableCollection as _0x4bfb28,toDisposable as _0x2cc068,IConfigService as _0x3172c0,DependentOn as _0x285740,ILogService as _0x3ba426,Inject as _0x204b9c,Injector as _0x14fdda,Plugin as _0x3b72c9,registerDependencies as _0x1351e9}from'@univerjs/core';import{ISocketService as _0xe99879,HTTPService as _0x528a46}from'@univerjs/network';import{Observable as _0x2f42c6,share as _0x1b1d90}from'rxjs';import _0x285de2 from'events';import _0x5851df from'https';function _0xaa37(){const _0x2f0c16=['_autoPong','invalid\x20opcode\x200','MASK\x20must\x20be\x20set','_writableState','finished','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WebSocket','Server\x20sent\x20no\x20subprotocol','Parameter\x20\x22','timeout','serverNoContextTakeover','serverMaxWindowBits','Cookie','client_max_window_bits','client_no_context_takeover','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','shouldHandle','registerHTTPInterceptor','_readableState','function','defineProperty','frame','byteLength','OPEN','The\x20\x22','captureStackTrace','size','sec-websocket-accept','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_fragmented','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','send','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','pause','MASK\x20must\x20be\x20clear','kReason','nextTick','clients','headers','response','pending','Z_SYNC_FLUSH','client','_shouldEmitClose','_socket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_closeTimer','writeUInt16BE','maxPayload','perMessageDeflate','connection','fin','followRedirects','Unknown\x20parameter\x20\x22','code','WS_ERR_EXPECTED_MASK','alloc','_payloadLength','isValidUTF8','CONNECTING','hash','from','Unexpected\x20server\x20response:\x20','invalid\x20payload\x20length\x20','ws:','next','isBuffer','status-code','socketPath','completeUpgrade','kAborted','setTimeout','_read','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','dispose','toString','kTarget','listeners','toLowerCase','handleProtocols','onerror','uncork','startsWith','onStarting','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','protocolVersion','href','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server_max_window_bits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listenerCount','create','wsClientError','server','\x22:\x20','freeze','_protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_configService','kCode','constructor','_req','_binaryType','getInfo','7LvKRfi','_firstFragment','kListener','clientNoContextTakeover','redirect','concurrencyLimit','kError','invalid\x20UTF-8\x20sequence','_bufferedBytes','STATUS_CODES','_destroy','encrypted','enqueue','Sec-WebSocket-Extensions:\x20','needDrain','allocUnsafe','decompress','_registerDependencies','_write','binaryType','sec-websocket-extensions','string','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','port','kData','default','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sha1','write','warn','acceptAsClient','dequeue','path','kDone','Unexpected\x20character\x20at\x20index\x20','split','generateMask','startLoop','handshakeTimeout','_sender','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','request','keys','CLOSING','extensions','_generateMask','haveLength','GET','WS_ERR_EXPECTED_FIN','exports','socket','extensionName','isInteger','read','authorized','HTTP/1.1\x20101\x20Switching\x20Protocols','pipe','sec-websocket-version','onmessage','terminate','Unexpected\x20end\x20of\x20input','removeListener','mask','species','readyState','emit','Opening\x20handshake\x20has\x20timed\x20out','RSV1\x20must\x20be\x20clear','username','invalid\x20opcode\x20','sec-websocket-protocol','has','unmask','_readyState','statusCode','finishRequest','cleanup','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getMask','params','handleEvent','listen','controlMessage','verifyClient','close','_allowSynchronousEvents','number','protocol','_injector','Module','isArray','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_INVALID_UTF8','_fin','CLOSED','_decompress','stream','message','indexOf','zlibInflateOptions','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','base64','Invalid\x20URL:\x20','createError','servername','options','once','removeEventListener','auth','url','text/html','addEventListener','backlog','delete','forEach','_buffers','WS_NO_BUFFER_UTIL','shift','_loop','rsv1','getConfig','slice','apply','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pathname','setSocket','join','kIsForOnEventAttribute','_compressed','_url','env','152HCefZF','WS_ERR_UNEXPECTED_RSV_2_3','_originalHostOrSocketPath','sendFrame','kRun','prototype','_opcode','Origin','_paused','end','readOnly','getPayloadLength64','Sec-WebSocket-Extensions','isServer','length','nodebuffer','push','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','method','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','abort','_final','_closeFrameReceived','charCodeAt','_closeCode','_closeFrameSent','authorization','_queue','customHeaders','_masked','autoPong','origin','websocket','writeUIntBE','finish','update','target','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','defaultPort','ws+unix:','values','consume','total-length','jobs','get','readUInt16BE','_extensions','isPaused','_redirects','acceptAsServer','WS_ERR_INVALID_OPCODE','pong','_compress','cork','Invalid\x20value\x20for\x20parameter\x20\x22','server_no_context_takeover','noServer','includes','FIN\x20must\x20be\x20set','2483900kstRyG','bufferedAmount','connect','type','object','upgrade','callback','buffer','map','isView','Sec-WebSocket-Accept:\x20','accept','test','permessage-deflate','binary','open','Invalid\x20Sec-WebSocket-Extensions\x20header','blob','44748hjtrYU','add','wasClean','reset','host','dataMessage','_removeListeners','10095723crJIAp','_errorEmitted','byteOffset','_state','sec-websocket-origin','location','_options','_deflate','_closeMessage','reason','_inflate','Z_DEFAULT_WINDOWBITS','Invalid\x20HTTP\x20method','getOwnPropertyDescriptor','format','getBlobData','skipUTF8Validation','2210358QWZnNw','conclude','compress','getData','value','bind','dispatch','collaboration-client-node.config','error','createServer','address','setConfig','clientTracking','_mask','endEmitted','_skipUTF8Validation','hasOwnProperty','hostname','handleUpgrade','_no_context_takeover','createConnection','Sec-WebSocket-Protocol','_receiver','flush','Invalid\x20Upgrade\x20header','_maxPayload','emitClose','createSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','cookie','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_isServer','concat','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','arrayBuffer','Max\x20payload\x20size\x20exceeded','allowSynchronousEvents','replace','_fragments','destroy','normalizeParams','clientMaxWindowBits','_maskBuffer','kWasClean','buffers','857128wsOmUG','The\x20server\x20is\x20not\x20running','_totalPayloadLength','wss:','destroyed','readable','call','getPayloadLength16','_messageLength','ping','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','opcode','data','_originalIpc','\x20(supported\x20versions:\x20','1257626YbvhLn','Basic\x20','password','_originalSecure','_doCreateSocket','635592iktvZN','https:','objectMode','__esModule','maxRedirects','parse','fragments','_max_window_bits','resume','_server','set','construct','errorEmitted','toStringTag','digest','_httpService','\x22\x20subprotocol\x20is\x20duplicated','_errored','_bufferedAmount','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'];_0xaa37=function(){return _0x2f0c16;};return _0xaa37();}import _0x4c53ad from'http';import _0x537e0b from'net';import _0x4d6c80 from'tls';import _0x31487d from'crypto';import _0x3ebcaa from'stream';import _0x2f01dc from'url';import _0xf28538 from'zlib';import _0x47feab from'buffer';import{ISnapshotServerService as _0x2490b9}from'@univerjs-pro/collaboration';const Be=_0x3b2d4f(0x2fb),Ft={'customHeaders':{}};function jt(_0x3ca2b9){const _0x278dc0=_0x3b2d4f;return _0x3ca2b9&&_0x3ca2b9[_0x278dc0(0x339)]&&Object[_0x278dc0(0x294)][_0x278dc0(0x304)][_0x278dc0(0x327)](_0x3ca2b9,_0x278dc0(0x222))?_0x3ca2b9[_0x278dc0(0x222)]:_0x3ca2b9;}function ut(_0x477c7b){const _0xa013ec=_0x3b2d4f;if(Object[_0xa013ec(0x294)][_0xa013ec(0x304)][_0xa013ec(0x327)](_0x477c7b,_0xa013ec(0x339)))return _0x477c7b;var _0x5d7415=_0x477c7b[_0xa013ec(0x222)];if(typeof _0x5d7415==_0xa013ec(0x1b4)){var _0x4bd046=function _0x3a4e68(){const _0x3ff25e=_0xa013ec;return this instanceof _0x3a4e68?Reflect[_0x3ff25e(0x341)](_0x5d7415,arguments,this[_0x3ff25e(0x205)]):_0x5d7415['apply'](this,arguments);};_0x4bd046[_0xa013ec(0x294)]=_0x5d7415[_0xa013ec(0x294)];}else _0x4bd046={};return Object[_0xa013ec(0x1b5)](_0x4bd046,_0xa013ec(0x339),{'value':!0x0}),Object[_0xa013ec(0x235)](_0x477c7b)[_0xa013ec(0x27d)](function(_0x49d101){const _0x37982d=_0xa013ec;var _0x5a636a=Object[_0x37982d(0x2f0)](_0x477c7b,_0x49d101);Object[_0x37982d(0x1b5)](_0x4bd046,_0x49d101,_0x5a636a[_0x37982d(0x2bb)]?_0x5a636a:{'enumerable':!0x0,'get':function(){return _0x477c7b[_0x49d101];}});}),_0x4bd046;}var te={'exports':{}},ge,Ye;function V(){const _0x28407c=_0x3b2d4f;if(Ye)return ge;Ye=0x1;const _0x996063=[_0x28407c(0x29e),'arraybuffer',_0x28407c(0x33c)],_0x33dbc9=typeof Blob<'u';return _0x33dbc9&&_0x996063[_0x28407c(0x29f)]('blob'),ge={'BINARY_TYPES':_0x996063,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x28407c(0x21f),'hasBlob':_0x33dbc9,'kForOnEventAttribute':Symbol(_0x28407c(0x28b)),'kListener':Symbol(_0x28407c(0x20b)),'kStatusCode':Symbol(_0x28407c(0x1e4)),'kWebSocket':Symbol(_0x28407c(0x2af)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x3b2d4f(0x1b5)]({'__proto__':null,'default':Wt},Symbol[_0x3b2d4f(0x343)],{'value':_0x3b2d4f(0x264)})),Vt=ut(Gt);var Ke;function ce(){const _0x4df636=_0x3b2d4f;if(Ke)return te[_0x4df636(0x23c)];Ke=0x1;const {EMPTY_BUFFER:_0x34b8fc}=V(),_0x490317=Buffer[Symbol[_0x4df636(0x24a)]];function _0x2e94ed(_0x5888fe,_0x2961c2){const _0x3e5e19=_0x4df636;if(_0x5888fe['length']===0x0)return _0x34b8fc;if(_0x5888fe[_0x3e5e19(0x29d)]===0x1)return _0x5888fe[0x0];const _0x4d982c=Buffer[_0x3e5e19(0x218)](_0x2961c2);let _0x3f2810=0x0;for(let _0x218fa5=0x0;_0x218fa5<_0x5888fe['length'];_0x218fa5++){const _0x561285=_0x5888fe[_0x218fa5];_0x4d982c[_0x3e5e19(0x340)](_0x561285,_0x3f2810),_0x3f2810+=_0x561285['length'];}return _0x3f2810<_0x2961c2?new _0x490317(_0x4d982c[_0x3e5e19(0x2d1)],_0x4d982c[_0x3e5e19(0x2e5)],_0x3f2810):_0x4d982c;}function _0x40a51a(_0x5e4fbe,_0x9dd46d,_0x378291,_0x4d21ad,_0x3ed06f){for(let _0x4c35c9=0x0;_0x4c35c9<_0x3ed06f;_0x4c35c9++)_0x378291[_0x4d21ad+_0x4c35c9]=_0x5e4fbe[_0x4c35c9]^_0x9dd46d[_0x4c35c9&0x3];}function _0x88bd79(_0x38f5fc,_0x37166a){const _0x332806=_0x4df636;for(let _0x13b93=0x0;_0x13b93<_0x38f5fc[_0x332806(0x29d)];_0x13b93++)_0x38f5fc[_0x13b93]^=_0x37166a[_0x13b93&0x3];}function _0x1baec2(_0x211ea6){const _0xe835da=_0x4df636;return _0x211ea6[_0xe835da(0x29d)]===_0x211ea6['buffer'][_0xe835da(0x1b7)]?_0x211ea6[_0xe835da(0x2d1)]:_0x211ea6[_0xe835da(0x2d1)][_0xe835da(0x284)](_0x211ea6[_0xe835da(0x2e5)],_0x211ea6[_0xe835da(0x2e5)]+_0x211ea6[_0xe835da(0x29d)]);}function _0x5b0c30(_0x8168a7){const _0x270193=_0x4df636;if(_0x5b0c30[_0x270193(0x299)]=!0x0,Buffer[_0x270193(0x1e3)](_0x8168a7))return _0x8168a7;let _0x8fbfc2;return _0x8168a7 instanceof ArrayBuffer?_0x8fbfc2=new _0x490317(_0x8168a7):ArrayBuffer[_0x270193(0x2d3)](_0x8168a7)?_0x8fbfc2=new _0x490317(_0x8168a7['buffer'],_0x8168a7['byteOffset'],_0x8168a7[_0x270193(0x1b7)]):(_0x8fbfc2=Buffer[_0x270193(0x1de)](_0x8168a7),_0x5b0c30[_0x270193(0x299)]=!0x1),_0x8fbfc2;}if(te['exports']={'concat':_0x2e94ed,'mask':_0x40a51a,'toArrayBuffer':_0x1baec2,'toBuffer':_0x5b0c30,'unmask':_0x88bd79},!process['env'][_0x4df636(0x27f)])try{const _0x527b40=Vt;te[_0x4df636(0x23c)]['mask']=function(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b){_0x481c8b<0x30?_0x40a51a(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b):_0x527b40['mask'](_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b);},te[_0x4df636(0x23c)][_0x4df636(0x253)]=function(_0x2a1d99,_0x14c062){const _0x324b7f=_0x4df636;_0x2a1d99[_0x324b7f(0x29d)]<0x20?_0x88bd79(_0x2a1d99,_0x14c062):_0x527b40[_0x324b7f(0x253)](_0x2a1d99,_0x14c062);};}catch{}return te[_0x4df636(0x23c)];}var ye,Xe;function qt(){const _0xd7cce0=_0x3b2d4f;if(Xe)return ye;Xe=0x1;const _0x261bcd=Symbol(_0xd7cce0(0x22a)),_0x443cf5=Symbol(_0xd7cce0(0x293));class _0x3e7e7f{constructor(_0x589e75){const _0x300523=_0xd7cce0;this[_0x261bcd]=()=>{this['pending']--,this[_0x443cf5]();},this['concurrency']=_0x589e75||0x1/0x0,this[_0x300523(0x2ba)]=[],this[_0x300523(0x1c9)]=0x0;}[_0xd7cce0(0x2dd)](_0x356fa6){const _0x26c39e=_0xd7cce0;this['jobs'][_0x26c39e(0x29f)](_0x356fa6),this[_0x443cf5]();}[_0x443cf5](){const _0x1190d1=_0xd7cce0;if(this['pending']!==this['concurrency']&&this[_0x1190d1(0x2ba)][_0x1190d1(0x29d)]){const _0x549511=this[_0x1190d1(0x2ba)][_0x1190d1(0x280)]();this[_0x1190d1(0x1c9)]++,_0x549511(this[_0x261bcd]);}}}return ye=_0x3e7e7f,ye;}var ve,Ze;function he(){const _0x395ae8=_0x3b2d4f;if(Ze)return ve;Ze=0x1;const _0x45c898=_0xf28538,_0x327f0a=ce(),_0x557065=qt(),{kStatusCode:_0x5b777f}=V(),_0x3dfdc7=Buffer[Symbol[_0x395ae8(0x24a)]],_0x37faa0=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3104be=Symbol(_0x395ae8(0x2d7)),_0x5b1ace=Symbol(_0x395ae8(0x2b9)),_0x5e6970=Symbol(_0x395ae8(0x2d0)),_0x2a5ac1=Symbol(_0x395ae8(0x320)),_0x299736=Symbol('error');let _0x4a6c1b;class _0x107037{constructor(_0x21cb7e,_0x4ea5cb,_0x33b145){const _0x54d27c=_0x395ae8;if(this[_0x54d27c(0x30d)]=_0x33b145|0x0,this['_options']=_0x21cb7e||{},this['_threshold']=this[_0x54d27c(0x2e9)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x54d27c(0x313)]=!!_0x4ea5cb,this[_0x54d27c(0x2ea)]=null,this[_0x54d27c(0x2ed)]=null,this['params']=null,!_0x4a6c1b){const _0x20a0a1=this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]!==void 0x0?this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]:0xa;_0x4a6c1b=new _0x557065(_0x20a0a1);}}static get['extensionName'](){const _0x37567c=_0x395ae8;return _0x37567c(0x2d7);}['offer'](){const _0x2abe5a=_0x395ae8,_0x56b717={};return this['_options'][_0x2abe5a(0x354)]&&(_0x56b717[_0x2abe5a(0x2c6)]=!0x0),this[_0x2abe5a(0x2e9)]['clientNoContextTakeover']&&(_0x56b717['client_no_context_takeover']=!0x0),this['_options'][_0x2abe5a(0x355)]&&(_0x56b717[_0x2abe5a(0x1f9)]=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x355)]),this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]?_0x56b717['client_max_window_bits']=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]:this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]==null&&(_0x56b717[_0x2abe5a(0x357)]=!0x0),_0x56b717;}[_0x395ae8(0x2d5)](_0x282c32){const _0x3e92ca=_0x395ae8;return _0x282c32=this['normalizeParams'](_0x282c32),this['params']=this[_0x3e92ca(0x313)]?this[_0x3e92ca(0x2c0)](_0x282c32):this[_0x3e92ca(0x227)](_0x282c32),this[_0x3e92ca(0x25a)];}[_0x395ae8(0x257)](){const _0x51de52=_0x395ae8;if(this[_0x51de52(0x2ed)]&&(this[_0x51de52(0x2ed)][_0x51de52(0x25f)](),this[_0x51de52(0x2ed)]=null),this[_0x51de52(0x2ea)]){const _0x4b8683=this[_0x51de52(0x2ea)][_0x5e6970];this[_0x51de52(0x2ea)][_0x51de52(0x25f)](),this[_0x51de52(0x2ea)]=null,_0x4b8683&&_0x4b8683(new Error(_0x51de52(0x232)));}}[_0x395ae8(0x2c0)](_0x11164b){const _0x4441f2=_0x395ae8,_0x3121a0=this[_0x4441f2(0x2e9)],_0x9a204c=_0x11164b['find'](_0x4fea5e=>!(_0x3121a0['serverNoContextTakeover']===!0x1&&_0x4fea5e[_0x4441f2(0x2c6)]||_0x4fea5e[_0x4441f2(0x1f9)]&&(_0x3121a0[_0x4441f2(0x355)]===!0x1||typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&_0x3121a0[_0x4441f2(0x355)]>_0x4fea5e[_0x4441f2(0x1f9)])||typeof _0x3121a0[_0x4441f2(0x31d)]=='number'&&!_0x4fea5e[_0x4441f2(0x357)]));if(!_0x9a204c)throw new Error(_0x4441f2(0x287));return _0x3121a0[_0x4441f2(0x354)]&&(_0x9a204c[_0x4441f2(0x2c6)]=!0x0),_0x3121a0[_0x4441f2(0x20c)]&&(_0x9a204c[_0x4441f2(0x358)]=!0x0),typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&(_0x9a204c[_0x4441f2(0x1f9)]=_0x3121a0['serverMaxWindowBits']),typeof _0x3121a0[_0x4441f2(0x31d)]==_0x4441f2(0x261)?_0x9a204c['client_max_window_bits']=_0x3121a0[_0x4441f2(0x31d)]:(_0x9a204c[_0x4441f2(0x357)]===!0x0||_0x3121a0['clientMaxWindowBits']===!0x1)&&delete _0x9a204c['client_max_window_bits'],_0x9a204c;}[_0x395ae8(0x227)](_0xae3863){const _0x2832e5=_0x395ae8,_0xda8298=_0xae3863[0x0];if(this[_0x2832e5(0x2e9)]['clientNoContextTakeover']===!0x1&&_0xda8298[_0x2832e5(0x358)])throw new Error(_0x2832e5(0x312));if(!_0xda8298['client_max_window_bits'])typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]=='number'&&(_0xda8298[_0x2832e5(0x357)]=this[_0x2832e5(0x2e9)]['clientMaxWindowBits']);else{if(this[_0x2832e5(0x2e9)]['clientMaxWindowBits']===!0x1||typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]==_0x2832e5(0x261)&&_0xda8298[_0x2832e5(0x357)]>this['_options'][_0x2832e5(0x31d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xda8298;}[_0x395ae8(0x31c)](_0x4df431){const _0x5c28cb=_0x395ae8;return _0x4df431[_0x5c28cb(0x27d)](_0x25e221=>{const _0x5dd1c7=_0x5c28cb;Object[_0x5dd1c7(0x235)](_0x25e221)[_0x5dd1c7(0x27d)](_0x2e65e8=>{const _0x4ef608=_0x5dd1c7;let _0x23604e=_0x25e221[_0x2e65e8];if(_0x23604e[_0x4ef608(0x29d)]>0x1)throw new Error(_0x4ef608(0x352)+_0x2e65e8+_0x4ef608(0x359));if(_0x23604e=_0x23604e[0x0],_0x2e65e8==='client_max_window_bits'){if(_0x23604e!==!0x0){const _0x14513b=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x14513b)||_0x14513b<0x8||_0x14513b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x14513b;}else{if(!this[_0x4ef608(0x313)])throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+'\x22:\x20'+_0x23604e);}}else{if(_0x2e65e8==='server_max_window_bits'){const _0x381dea=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x381dea)||_0x381dea<0x8||_0x381dea>0xf)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x381dea;}else{if(_0x2e65e8===_0x4ef608(0x358)||_0x2e65e8===_0x4ef608(0x2c6)){if(_0x23604e!==!0x0)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);}else throw new Error(_0x4ef608(0x1d6)+_0x2e65e8+'\x22');}}_0x25e221[_0x2e65e8]=_0x23604e;});}),_0x4df431;}['decompress'](_0x2c9904,_0x456d6a,_0x150c7e){const _0x55c7f6=_0x395ae8;_0x4a6c1b[_0x55c7f6(0x2dd)](_0x560ab7=>{const _0x2d3534=_0x55c7f6;this[_0x2d3534(0x26a)](_0x2c9904,_0x456d6a,(_0x4c2fbc,_0x3b7dd5)=>{_0x560ab7(),_0x150c7e(_0x4c2fbc,_0x3b7dd5);});});}[_0x395ae8(0x2f6)](_0x5977a6,_0xe4be9c,_0x2dc0bf){const _0x474615=_0x395ae8;_0x4a6c1b[_0x474615(0x2dd)](_0x4e765a=>{const _0x4168bf=_0x474615;this[_0x4168bf(0x2c3)](_0x5977a6,_0xe4be9c,(_0x4223b8,_0x2056f3)=>{_0x4e765a(),_0x2dc0bf(_0x4223b8,_0x2056f3);});});}[_0x395ae8(0x26a)](_0x2098e0,_0x39664e,_0x290b4d){const _0x57228e=_0x395ae8,_0x1ac0bd=this['_isServer']?_0x57228e(0x1cb):_0x57228e(0x1fe);if(!this['_inflate']){const _0x26e459=_0x1ac0bd+_0x57228e(0x33d),_0x57a926=typeof this['params'][_0x26e459]!=_0x57228e(0x261)?_0x45c898[_0x57228e(0x2ee)]:this[_0x57228e(0x25a)][_0x26e459];this[_0x57228e(0x2ed)]=_0x45c898['createInflateRaw']({...this[_0x57228e(0x2e9)][_0x57228e(0x26e)],'windowBits':_0x57a926}),this['_inflate'][_0x3104be]=this,this[_0x57228e(0x2ed)][_0x5b1ace]=0x0,this[_0x57228e(0x2ed)][_0x2a5ac1]=[],this[_0x57228e(0x2ed)]['on']('error',_0x448855),this['_inflate']['on'](_0x57228e(0x32e),_0x404a5a);}this[_0x57228e(0x2ed)][_0x5e6970]=_0x290b4d,this[_0x57228e(0x2ed)]['write'](_0x2098e0),_0x39664e&&this['_inflate'][_0x57228e(0x225)](_0x37faa0),this[_0x57228e(0x2ed)][_0x57228e(0x30b)](()=>{const _0x307a21=_0x57228e,_0x40b516=this['_inflate'][_0x299736];if(_0x40b516){this['_inflate'][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null,_0x290b4d(_0x40b516);return;}const _0x10a4e1=_0x327f0a['concat'](this[_0x307a21(0x2ed)][_0x2a5ac1],this['_inflate'][_0x5b1ace]);this[_0x307a21(0x2ed)][_0x307a21(0x1b3)][_0x307a21(0x302)]?(this[_0x307a21(0x2ed)][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null):(this[_0x307a21(0x2ed)][_0x5b1ace]=0x0,this[_0x307a21(0x2ed)][_0x2a5ac1]=[],_0x39664e&&this[_0x307a21(0x25a)][_0x1ac0bd+_0x307a21(0x307)]&&this[_0x307a21(0x2ed)][_0x307a21(0x2df)]()),_0x290b4d(null,_0x10a4e1);});}[_0x395ae8(0x2c3)](_0x23a89d,_0x37f6a7,_0x185fe5){const _0x1c3b08=_0x395ae8,_0x2f234d=this['_isServer']?_0x1c3b08(0x1fe):'client';if(!this[_0x1c3b08(0x2ea)]){const _0xa51e03=_0x2f234d+_0x1c3b08(0x33d),_0x451846=typeof this['params'][_0xa51e03]!='number'?_0x45c898['Z_DEFAULT_WINDOWBITS']:this[_0x1c3b08(0x25a)][_0xa51e03];this['_deflate']=_0x45c898['createDeflateRaw']({...this[_0x1c3b08(0x2e9)]['zlibDeflateOptions'],'windowBits':_0x451846}),this[_0x1c3b08(0x2ea)][_0x5b1ace]=0x0,this['_deflate'][_0x2a5ac1]=[],this[_0x1c3b08(0x2ea)]['on'](_0x1c3b08(0x32e),_0x1dd81f);}this[_0x1c3b08(0x2ea)][_0x5e6970]=_0x185fe5,this[_0x1c3b08(0x2ea)][_0x1c3b08(0x225)](_0x23a89d),this['_deflate'][_0x1c3b08(0x30b)](_0x45c898[_0x1c3b08(0x1ca)],()=>{const _0x537990=_0x1c3b08;if(!this[_0x537990(0x2ea)])return;let _0x1437d2=_0x327f0a[_0x537990(0x314)](this[_0x537990(0x2ea)][_0x2a5ac1],this['_deflate'][_0x5b1ace]);_0x37f6a7&&(_0x1437d2=new _0x3dfdc7(_0x1437d2[_0x537990(0x2d1)],_0x1437d2['byteOffset'],_0x1437d2[_0x537990(0x29d)]-0x4)),this[_0x537990(0x2ea)][_0x5e6970]=null,this[_0x537990(0x2ea)][_0x5b1ace]=0x0,this[_0x537990(0x2ea)][_0x2a5ac1]=[],_0x37f6a7&&this[_0x537990(0x25a)][_0x2f234d+'_no_context_takeover']&&this[_0x537990(0x2ea)]['reset'](),_0x185fe5(null,_0x1437d2);});}}ve=_0x107037;function _0x1dd81f(_0x40f069){const _0x46fe25=_0x395ae8;this[_0x2a5ac1][_0x46fe25(0x29f)](_0x40f069),this[_0x5b1ace]+=_0x40f069['length'];}function _0x404a5a(_0x5391b0){const _0x593da6=_0x395ae8;if(this[_0x5b1ace]+=_0x5391b0[_0x593da6(0x29d)],this[_0x3104be][_0x593da6(0x30d)]<0x1||this[_0x5b1ace]<=this[_0x3104be][_0x593da6(0x30d)]){this[_0x2a5ac1][_0x593da6(0x29f)](_0x5391b0);return;}this[_0x299736]=new RangeError(_0x593da6(0x317)),this[_0x299736][_0x593da6(0x1d7)]=_0x593da6(0x231),this[_0x299736][_0x5b777f]=0x3f1,this['removeListener'](_0x593da6(0x32e),_0x404a5a),this[_0x593da6(0x2df)]();}function _0x448855(_0x3639b7){this[_0x3104be]['_inflate']=null,_0x3639b7[_0x5b777f]=0x3ef,this[_0x5e6970](_0x3639b7);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3b2d4f(0x200)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x3b2d4f(0x343)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x10cfb5=_0x3b2d4f;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x2c814f}=_0x47feab,{hasBlob:_0x425cfb}=V(),_0x7de9fd=[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 _0x2b9b44(_0x3bb881){return _0x3bb881>=0x3e8&&_0x3bb881<=0x3f6&&_0x3bb881!==0x3ec&&_0x3bb881!==0x3ed&&_0x3bb881!==0x3ee||_0x3bb881>=0xbb8&&_0x3bb881<=0x1387;}function _0xd9ca0e(_0x5d353d){const _0x2071ec=_0x5878,_0x1544c6=_0x5d353d[_0x2071ec(0x29d)];let _0x420108=0x0;for(;_0x420108<_0x1544c6;)if((_0x5d353d[_0x420108]&0x80)===0x0)_0x420108++;else{if((_0x5d353d[_0x420108]&0xe0)===0xc0){if(_0x420108+0x1===_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108]&0xfe)===0xc0)return!0x1;_0x420108+=0x2;}else{if((_0x5d353d[_0x420108]&0xf0)===0xe0){if(_0x420108+0x2>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xe0&&(_0x5d353d[_0x420108+0x1]&0xe0)===0x80||_0x5d353d[_0x420108]===0xed&&(_0x5d353d[_0x420108+0x1]&0xe0)===0xa0)return!0x1;_0x420108+=0x3;}else{if((_0x5d353d[_0x420108]&0xf8)===0xf0){if(_0x420108+0x3>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x3]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xf0&&(_0x5d353d[_0x420108+0x1]&0xf0)===0x80||_0x5d353d[_0x420108]===0xf4&&_0x5d353d[_0x420108+0x1]>0x8f||_0x5d353d[_0x420108]>0xf4)return!0x1;_0x420108+=0x4;}else return!0x1;}}}return!0x0;}function _0x2d76a1(_0x2fe4b6){const _0xc1c9c0=_0x5878;return _0x425cfb&&typeof _0x2fe4b6==_0xc1c9c0(0x2ce)&&typeof _0x2fe4b6[_0xc1c9c0(0x316)]==_0xc1c9c0(0x1b4)&&typeof _0x2fe4b6[_0xc1c9c0(0x2cd)]==_0xc1c9c0(0x21e)&&typeof _0x2fe4b6[_0xc1c9c0(0x26b)]==_0xc1c9c0(0x1b4)&&(_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='Blob'||_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='File');}if(re[_0x10cfb5(0x23c)]={'isBlob':_0x2d76a1,'isValidStatusCode':_0x2b9b44,'isValidUTF8':_0xd9ca0e,'tokenChars':_0x7de9fd},_0x2c814f)re['exports'][_0x10cfb5(0x1db)]=function(_0x11feaa){const _0x1acf12=_0x10cfb5;return _0x11feaa[_0x1acf12(0x29d)]<0x18?_0xd9ca0e(_0x11feaa):_0x2c814f(_0x11feaa);};else{if(!process[_0x10cfb5(0x28e)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1a23f8=Yt;re[_0x10cfb5(0x23c)][_0x10cfb5(0x1db)]=function(_0x484b57){const _0x157139=_0x10cfb5;return _0x484b57[_0x157139(0x29d)]<0x20?_0xd9ca0e(_0x484b57):_0x1a23f8(_0x484b57);};}catch{}}return re[_0x10cfb5(0x23c)];}var Se,Je;function dt(){const _0x343466=_0x3b2d4f;if(Je)return Se;Je=0x1;const {Writable:_0x6e5486}=_0x3ebcaa,_0x30f604=he(),{BINARY_TYPES:_0x21f8ed,EMPTY_BUFFER:_0x3927e3,kStatusCode:_0x47ed33,kWebSocket:_0x36bb91}=V(),{concat:_0x4020bd,toArrayBuffer:_0x14e968,unmask:_0x5f2627}=ce(),{isValidStatusCode:_0x49fb67,isValidUTF8:_0x11786c}=ne(),_0x1a0f3b=Buffer[Symbol[_0x343466(0x24a)]],_0x9951eb=0x0,_0x598a4a=0x1,_0x2e48d9=0x2,_0x28c653=0x3,_0x269c31=0x4,_0x571588=0x5,_0x521b57=0x6;class _0x350052 extends _0x6e5486{constructor(_0x5cdbaf={}){const _0x2c62d4=_0x343466;super(),this[_0x2c62d4(0x260)]=_0x5cdbaf[_0x2c62d4(0x318)]!==void 0x0?_0x5cdbaf[_0x2c62d4(0x318)]:!0x0,this[_0x2c62d4(0x207)]=_0x5cdbaf[_0x2c62d4(0x21c)]||_0x21f8ed[0x0],this['_extensions']=_0x5cdbaf[_0x2c62d4(0x237)]||{},this[_0x2c62d4(0x313)]=!!_0x5cdbaf[_0x2c62d4(0x29c)],this[_0x2c62d4(0x30d)]=_0x5cdbaf[_0x2c62d4(0x1d1)]|0x0,this[_0x2c62d4(0x303)]=!!_0x5cdbaf[_0x2c62d4(0x2f3)],this[_0x36bb91]=void 0x0,this[_0x2c62d4(0x211)]=0x0,this[_0x2c62d4(0x27e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x2c62d4(0x301)]=void 0x0,this[_0x2c62d4(0x1be)]=0x0,this[_0x2c62d4(0x2ac)]=!0x1,this[_0x2c62d4(0x268)]=!0x1,this[_0x2c62d4(0x295)]=0x0,this[_0x2c62d4(0x323)]=0x0,this[_0x2c62d4(0x329)]=0x0,this[_0x2c62d4(0x31a)]=[],this['_errored']=!0x1,this[_0x2c62d4(0x281)]=!0x1,this['_state']=_0x9951eb;}[_0x343466(0x21b)](_0x4d39c8,_0x673cd0,_0x6a2083){const _0x416d96=_0x343466;if(this[_0x416d96(0x295)]===0x8&&this[_0x416d96(0x2e6)]==_0x9951eb)return _0x6a2083();this[_0x416d96(0x211)]+=_0x4d39c8[_0x416d96(0x29d)],this[_0x416d96(0x27e)][_0x416d96(0x29f)](_0x4d39c8),this['startLoop'](_0x6a2083);}['consume'](_0x395a29){const _0x7611fe=_0x343466;if(this[_0x7611fe(0x211)]-=_0x395a29,_0x395a29===this[_0x7611fe(0x27e)][0x0]['length'])return this['_buffers'][_0x7611fe(0x280)]();if(_0x395a29<this[_0x7611fe(0x27e)][0x0][_0x7611fe(0x29d)]){const _0x2d0e16=this[_0x7611fe(0x27e)][0x0];return this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x2d0e16[_0x7611fe(0x2d1)],_0x2d0e16['byteOffset']+_0x395a29,_0x2d0e16[_0x7611fe(0x29d)]-_0x395a29),new _0x1a0f3b(_0x2d0e16['buffer'],_0x2d0e16[_0x7611fe(0x2e5)],_0x395a29);}const _0x40d835=Buffer['allocUnsafe'](_0x395a29);do{const _0x3205dd=this['_buffers'][0x0],_0x1af80c=_0x40d835[_0x7611fe(0x29d)]-_0x395a29;_0x395a29>=_0x3205dd['length']?_0x40d835['set'](this[_0x7611fe(0x27e)][_0x7611fe(0x280)](),_0x1af80c):(_0x40d835[_0x7611fe(0x340)](new Uint8Array(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd['byteOffset'],_0x395a29),_0x1af80c),this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd[_0x7611fe(0x2e5)]+_0x395a29,_0x3205dd['length']-_0x395a29)),_0x395a29-=_0x3205dd['length'];}while(_0x395a29>0x0);return _0x40d835;}[_0x343466(0x22e)](_0x29c884){const _0x11400c=_0x343466;this[_0x11400c(0x281)]=!0x0;do switch(this['_state']){case _0x9951eb:this[_0x11400c(0x208)](_0x29c884);break;case _0x598a4a:this[_0x11400c(0x328)](_0x29c884);break;case _0x2e48d9:this[_0x11400c(0x29a)](_0x29c884);break;case _0x28c653:this[_0x11400c(0x259)]();break;case _0x269c31:this['getData'](_0x29c884);break;case _0x571588:case _0x521b57:this[_0x11400c(0x281)]=!0x1;return;}while(this[_0x11400c(0x281)]);this[_0x11400c(0x347)]||_0x29c884();}['getInfo'](_0x38397b){const _0x3b3a3d=_0x343466;if(this[_0x3b3a3d(0x211)]<0x2){this[_0x3b3a3d(0x281)]=!0x1;return;}const _0x5233d9=this[_0x3b3a3d(0x2b8)](0x2);if((_0x5233d9[0x0]&0x30)!==0x0){const _0xdddc70=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1ea),!0x0,0x3ea,_0x3b3a3d(0x290));_0x38397b(_0xdddc70);return;}const _0xad7a67=(_0x5233d9[0x0]&0x40)===0x40;if(_0xad7a67&&!this[_0x3b3a3d(0x2bd)][_0x30f604['extensionName']]){const _0x21a58f=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x21a58f);return;}if(this[_0x3b3a3d(0x268)]=(_0x5233d9[0x0]&0x80)===0x80,this[_0x3b3a3d(0x295)]=_0x5233d9[0x0]&0xf,this[_0x3b3a3d(0x1da)]=_0x5233d9[0x1]&0x7f,this[_0x3b3a3d(0x295)]===0x0){if(_0xad7a67){const _0x4619fd=this['createError'](RangeError,_0x3b3a3d(0x24e),!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x4619fd);return;}if(!this['_fragmented']){const _0x487cc1=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34b),!0x0,0x3ea,_0x3b3a3d(0x2c1));_0x38397b(_0x487cc1);return;}this[_0x3b3a3d(0x295)]=this[_0x3b3a3d(0x1be)];}else{if(this[_0x3b3a3d(0x295)]===0x1||this[_0x3b3a3d(0x295)]===0x2){if(this[_0x3b3a3d(0x1be)]){const _0x4223b5=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x4223b5);return;}this[_0x3b3a3d(0x28c)]=_0xad7a67;}else{if(this[_0x3b3a3d(0x295)]>0x7&&this['_opcode']<0xb){if(!this[_0x3b3a3d(0x268)]){const _0x39c852=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x2c9),!0x0,0x3ea,_0x3b3a3d(0x23b));_0x38397b(_0x39c852);return;}if(_0xad7a67){const _0x4aac2e=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x38397b(_0x4aac2e);return;}if(this[_0x3b3a3d(0x1da)]>0x7d||this[_0x3b3a3d(0x295)]===0x8&&this['_payloadLength']===0x1){const _0x436af0=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1e0)+this['_payloadLength'],!0x0,0x3ea,_0x3b3a3d(0x349));_0x38397b(_0x436af0);return;}}else{const _0x25c05f=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x25c05f);return;}}}if(!this['_fin']&&!this[_0x3b3a3d(0x1be)]&&(this[_0x3b3a3d(0x1be)]=this[_0x3b3a3d(0x295)]),this[_0x3b3a3d(0x2ac)]=(_0x5233d9[0x1]&0x80)===0x80,this[_0x3b3a3d(0x313)]){if(!this[_0x3b3a3d(0x2ac)]){const _0x1c8add=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34c),!0x0,0x3ea,_0x3b3a3d(0x1d8));_0x38397b(_0x1c8add);return;}}else{if(this[_0x3b3a3d(0x2ac)]){const _0x310f41=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1c3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x38397b(_0x310f41);return;}}this[_0x3b3a3d(0x1da)]===0x7e?this['_state']=_0x598a4a:this['_payloadLength']===0x7f?this[_0x3b3a3d(0x2e6)]=_0x2e48d9:this['haveLength'](_0x38397b);}['getPayloadLength16'](_0x2f0f1f){const _0x54375e=_0x343466;if(this[_0x54375e(0x211)]<0x2){this['_loop']=!0x1;return;}this[_0x54375e(0x1da)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x2f0f1f);}[_0x343466(0x29a)](_0x5a9816){const _0x44aad6=_0x343466;if(this['_bufferedBytes']<0x8){this[_0x44aad6(0x281)]=!0x1;return;}const _0x2b9c27=this['consume'](0x8),_0x5230de=_0x2b9c27[_0x44aad6(0x35a)](0x0);if(_0x5230de>Math['pow'](0x2,0x15)-0x1){const _0x47a7d4=this[_0x44aad6(0x272)](RangeError,_0x44aad6(0x202),!0x1,0x3f1,_0x44aad6(0x1bf));_0x5a9816(_0x47a7d4);return;}this['_payloadLength']=_0x5230de*Math['pow'](0x2,0x20)+_0x2b9c27[_0x44aad6(0x35a)](0x4),this['haveLength'](_0x5a9816);}[_0x343466(0x239)](_0x46f5c1){const _0x140c74=_0x343466;if(this[_0x140c74(0x1da)]&&this[_0x140c74(0x295)]<0x8&&(this['_totalPayloadLength']+=this[_0x140c74(0x1da)],this[_0x140c74(0x323)]>this[_0x140c74(0x30d)]&&this[_0x140c74(0x30d)]>0x0)){const _0x10f210=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x140c74(0x231));_0x46f5c1(_0x10f210);return;}this[_0x140c74(0x2ac)]?this[_0x140c74(0x2e6)]=_0x28c653:this[_0x140c74(0x2e6)]=_0x269c31;}[_0x343466(0x259)](){const _0x3e751a=_0x343466;if(this[_0x3e751a(0x211)]<0x4){this[_0x3e751a(0x281)]=!0x1;return;}this[_0x3e751a(0x301)]=this[_0x3e751a(0x2b8)](0x4),this['_state']=_0x269c31;}[_0x343466(0x2f7)](_0x32f4dd){const _0x483465=_0x343466;let _0x4051f4=_0x3927e3;if(this[_0x483465(0x1da)]){if(this[_0x483465(0x211)]<this[_0x483465(0x1da)]){this[_0x483465(0x281)]=!0x1;return;}_0x4051f4=this[_0x483465(0x2b8)](this[_0x483465(0x1da)]),this['_masked']&&(this['_mask'][0x0]|this[_0x483465(0x301)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x5f2627(_0x4051f4,this[_0x483465(0x301)]);}if(this[_0x483465(0x295)]>0x7){this[_0x483465(0x25d)](_0x4051f4,_0x32f4dd);return;}if(this[_0x483465(0x28c)]){this[_0x483465(0x2e6)]=_0x571588,this[_0x483465(0x219)](_0x4051f4,_0x32f4dd);return;}_0x4051f4['length']&&(this[_0x483465(0x329)]=this[_0x483465(0x323)],this[_0x483465(0x31a)][_0x483465(0x29f)](_0x4051f4)),this['dataMessage'](_0x32f4dd);}[_0x343466(0x219)](_0x1e2104,_0x23afda){const _0x31de12=_0x343466;this[_0x31de12(0x2bd)][_0x30f604[_0x31de12(0x23e)]][_0x31de12(0x219)](_0x1e2104,this[_0x31de12(0x268)],(_0x155531,_0x4bb844)=>{const _0x31a2fe=_0x31de12;if(_0x155531)return _0x23afda(_0x155531);if(_0x4bb844[_0x31a2fe(0x29d)]){if(this['_messageLength']+=_0x4bb844[_0x31a2fe(0x29d)],this[_0x31a2fe(0x329)]>this[_0x31a2fe(0x30d)]&&this['_maxPayload']>0x0){const _0x398729=this['createError'](RangeError,_0x31a2fe(0x317),!0x1,0x3f1,_0x31a2fe(0x231));_0x23afda(_0x398729);return;}this[_0x31a2fe(0x31a)][_0x31a2fe(0x29f)](_0x4bb844);}this['dataMessage'](_0x23afda),this[_0x31a2fe(0x2e6)]===_0x9951eb&&this[_0x31a2fe(0x22e)](_0x23afda);});}[_0x343466(0x2e1)](_0x27046a){const _0x2a5ba0=_0x343466;if(!this['_fin']){this[_0x2a5ba0(0x2e6)]=_0x9951eb;return;}const _0x4ba8be=this[_0x2a5ba0(0x329)],_0x5719a3=this[_0x2a5ba0(0x31a)];if(this[_0x2a5ba0(0x323)]=0x0,this['_messageLength']=0x0,this[_0x2a5ba0(0x1be)]=0x0,this[_0x2a5ba0(0x31a)]=[],this[_0x2a5ba0(0x295)]===0x2){let _0x4430dc;this['_binaryType']===_0x2a5ba0(0x29e)?_0x4430dc=_0x4020bd(_0x5719a3,_0x4ba8be):this[_0x2a5ba0(0x207)]==='arraybuffer'?_0x4430dc=_0x14e968(_0x4020bd(_0x5719a3,_0x4ba8be)):this['_binaryType']===_0x2a5ba0(0x2db)?_0x4430dc=new Blob(_0x5719a3):_0x4430dc=_0x5719a3,this[_0x2a5ba0(0x260)]?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x4430dc,!0x0),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this['_state']=_0x521b57,setImmediate(()=>{const _0x5d2344=_0x2a5ba0;this[_0x5d2344(0x24c)](_0x5d2344(0x26c),_0x4430dc,!0x0),this[_0x5d2344(0x2e6)]=_0x9951eb,this[_0x5d2344(0x22e)](_0x27046a);}));}else{const _0x20bb82=_0x4020bd(_0x5719a3,_0x4ba8be);if(!this[_0x2a5ba0(0x303)]&&!_0x11786c(_0x20bb82)){const _0x59b64b=this['createError'](Error,_0x2a5ba0(0x210),!0x0,0x3ef,_0x2a5ba0(0x267));_0x27046a(_0x59b64b);return;}this[_0x2a5ba0(0x2e6)]===_0x571588||this['_allowSynchronousEvents']?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x20bb82,!0x1),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this[_0x2a5ba0(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x57430b=_0x2a5ba0;this['emit'](_0x57430b(0x26c),_0x20bb82,!0x1),this['_state']=_0x9951eb,this['startLoop'](_0x27046a);}));}}['controlMessage'](_0x33afe,_0x571527){const _0x16acf3=_0x343466;if(this[_0x16acf3(0x295)]===0x8){if(_0x33afe[_0x16acf3(0x29d)]===0x0)this['_loop']=!0x1,this[_0x16acf3(0x24c)](_0x16acf3(0x2f5),0x3ed,_0x3927e3),this[_0x16acf3(0x298)]();else{const _0x5080ba=_0x33afe[_0x16acf3(0x2bc)](0x0);if(!_0x49fb67(_0x5080ba)){const _0x48c991=this[_0x16acf3(0x272)](RangeError,'invalid\x20status\x20code\x20'+_0x5080ba,!0x0,0x3ea,_0x16acf3(0x32c));_0x571527(_0x48c991);return;}const _0x2643eb=new _0x1a0f3b(_0x33afe[_0x16acf3(0x2d1)],_0x33afe['byteOffset']+0x2,_0x33afe[_0x16acf3(0x29d)]-0x2);if(!this[_0x16acf3(0x303)]&&!_0x11786c(_0x2643eb)){const _0x297b31=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x571527(_0x297b31);return;}this[_0x16acf3(0x281)]=!0x1,this['emit'](_0x16acf3(0x2f5),_0x5080ba,_0x2643eb),this[_0x16acf3(0x298)]();}this[_0x16acf3(0x2e6)]=_0x9951eb;return;}this[_0x16acf3(0x260)]?(this[_0x16acf3(0x24c)](this[_0x16acf3(0x295)]===0x9?_0x16acf3(0x32a):_0x16acf3(0x2c2),_0x33afe),this['_state']=_0x9951eb):(this[_0x16acf3(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x3f81ae=_0x16acf3;this[_0x3f81ae(0x24c)](this[_0x3f81ae(0x295)]===0x9?_0x3f81ae(0x32a):_0x3f81ae(0x2c2),_0x33afe),this[_0x3f81ae(0x2e6)]=_0x9951eb,this[_0x3f81ae(0x22e)](_0x571527);}));}[_0x343466(0x272)](_0xde4489,_0x115c9a,_0x2f6398,_0x4114eb,_0x248b0d){const _0x2e8163=_0x343466;this[_0x2e8163(0x281)]=!0x1,this['_errored']=!0x0;const _0x2bb54d=new _0xde4489(_0x2f6398?'Invalid\x20WebSocket\x20frame:\x20'+_0x115c9a:_0x115c9a);return Error[_0x2e8163(0x1ba)](_0x2bb54d,this['createError']),_0x2bb54d['code']=_0x248b0d,_0x2bb54d[_0x47ed33]=_0x4114eb,_0x2bb54d;}}return Se=_0x350052,Se;}var Ee,et;function _t(){const _0x10093f=_0x3b2d4f;if(et)return Ee;et=0x1;const {Duplex:_0x1679f2}=_0x3ebcaa,{randomFillSync:_0x5d9d23}=_0x31487d,_0x39a426=he(),{EMPTY_BUFFER:_0x2f7b84,kWebSocket:_0xa3530f,NOOP:_0xabbc9a}=V(),{isBlob:_0x443728,isValidStatusCode:_0x37ad69}=ne(),{mask:_0x3f0697,toBuffer:_0x5b0fb9}=ce(),_0x110dec=Symbol('kByteLength'),_0x2c1b52=Buffer['alloc'](0x4),_0x126641=0x8*0x400;let _0x416294,_0x4d935a=_0x126641;const _0x4e7567=0x0,_0x30bbe1=0x1,_0x15af37=0x2;class _0x5c4d93{constructor(_0x483f8,_0x2b6085,_0x26b30f){const _0x38d7f3=_0x5878;this[_0x38d7f3(0x2bd)]=_0x2b6085||{},_0x26b30f&&(this[_0x38d7f3(0x238)]=_0x26b30f,this[_0x38d7f3(0x31e)]=Buffer[_0x38d7f3(0x1d9)](0x4)),this[_0x38d7f3(0x1cd)]=_0x483f8,this[_0x38d7f3(0x20a)]=!0x0,this[_0x38d7f3(0x2c3)]=!0x1,this[_0x38d7f3(0x211)]=0x0,this['_queue']=[],this[_0x38d7f3(0x2e6)]=_0x4e7567,this[_0x38d7f3(0x1f1)]=_0xabbc9a,this[_0xa3530f]=void 0x0;}static['frame'](_0x5b661f,_0x52ec8a){const _0x982c50=_0x5878;let _0x36d98d,_0x8dd47a=!0x1,_0x38e065=0x2,_0x94f18b=!0x1;_0x52ec8a[_0x982c50(0x249)]&&(_0x36d98d=_0x52ec8a['maskBuffer']||_0x2c1b52,_0x52ec8a[_0x982c50(0x22d)]?_0x52ec8a[_0x982c50(0x22d)](_0x36d98d):(_0x4d935a===_0x126641&&(_0x416294===void 0x0&&(_0x416294=Buffer[_0x982c50(0x1d9)](_0x126641)),_0x5d9d23(_0x416294,0x0,_0x126641),_0x4d935a=0x0),_0x36d98d[0x0]=_0x416294[_0x4d935a++],_0x36d98d[0x1]=_0x416294[_0x4d935a++],_0x36d98d[0x2]=_0x416294[_0x4d935a++],_0x36d98d[0x3]=_0x416294[_0x4d935a++]),_0x94f18b=(_0x36d98d[0x0]|_0x36d98d[0x1]|_0x36d98d[0x2]|_0x36d98d[0x3])===0x0,_0x38e065=0x6);let _0x5687b0;typeof _0x5b661f==_0x982c50(0x21e)?(!_0x52ec8a['mask']||_0x94f18b)&&_0x52ec8a[_0x110dec]!==void 0x0?_0x5687b0=_0x52ec8a[_0x110dec]:(_0x5b661f=Buffer[_0x982c50(0x1de)](_0x5b661f),_0x5687b0=_0x5b661f[_0x982c50(0x29d)]):(_0x5687b0=_0x5b661f[_0x982c50(0x29d)],_0x8dd47a=_0x52ec8a[_0x982c50(0x249)]&&_0x52ec8a[_0x982c50(0x299)]&&!_0x94f18b);let _0x2c15d6=_0x5687b0;_0x5687b0>=0x10000?(_0x38e065+=0x8,_0x2c15d6=0x7f):_0x5687b0>0x7d&&(_0x38e065+=0x2,_0x2c15d6=0x7e);const _0x28fcef=Buffer[_0x982c50(0x218)](_0x8dd47a?_0x5687b0+_0x38e065:_0x38e065);return _0x28fcef[0x0]=_0x52ec8a[_0x982c50(0x1d4)]?_0x52ec8a[_0x982c50(0x32d)]|0x80:_0x52ec8a[_0x982c50(0x32d)],_0x52ec8a[_0x982c50(0x282)]&&(_0x28fcef[0x0]|=0x40),_0x28fcef[0x1]=_0x2c15d6,_0x2c15d6===0x7e?_0x28fcef[_0x982c50(0x1d0)](_0x5687b0,0x2):_0x2c15d6===0x7f&&(_0x28fcef[0x2]=_0x28fcef[0x3]=0x0,_0x28fcef[_0x982c50(0x2b0)](_0x5687b0,0x4,0x6)),_0x52ec8a[_0x982c50(0x249)]?(_0x28fcef[0x1]|=0x80,_0x28fcef[_0x38e065-0x4]=_0x36d98d[0x0],_0x28fcef[_0x38e065-0x3]=_0x36d98d[0x1],_0x28fcef[_0x38e065-0x2]=_0x36d98d[0x2],_0x28fcef[_0x38e065-0x1]=_0x36d98d[0x3],_0x94f18b?[_0x28fcef,_0x5b661f]:_0x8dd47a?(_0x3f0697(_0x5b661f,_0x36d98d,_0x28fcef,_0x38e065,_0x5687b0),[_0x28fcef]):(_0x3f0697(_0x5b661f,_0x36d98d,_0x5b661f,0x0,_0x5687b0),[_0x28fcef,_0x5b661f])):[_0x28fcef,_0x5b661f];}[_0x10093f(0x25f)](_0x3a4373,_0x1a191d,_0x1acec3,_0x298bfb){const _0x3b8c36=_0x10093f;let _0x9e039e;if(_0x3a4373===void 0x0)_0x9e039e=_0x2f7b84;else{if(typeof _0x3a4373!=_0x3b8c36(0x261)||!_0x37ad69(_0x3a4373))throw new TypeError(_0x3b8c36(0x2b4));if(_0x1a191d===void 0x0||!_0x1a191d[_0x3b8c36(0x29d)])_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0);else{const _0x103bc3=Buffer[_0x3b8c36(0x1b7)](_0x1a191d);if(_0x103bc3>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2+_0x103bc3),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0),typeof _0x1a191d==_0x3b8c36(0x21e)?_0x9e039e[_0x3b8c36(0x225)](_0x1a191d,0x2):_0x9e039e['set'](_0x1a191d,0x2);}}const _0xc6b529={[_0x110dec]:_0x9e039e['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1acec3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3b8c36(0x2e6)]!==_0x4e7567?this[_0x3b8c36(0x215)]([this[_0x3b8c36(0x2fa)],_0x9e039e,!0x1,_0xc6b529,_0x298bfb]):this[_0x3b8c36(0x292)](_0x5c4d93['frame'](_0x9e039e,_0xc6b529),_0x298bfb);}['ping'](_0x4a081e,_0xdc44dd,_0x1caf11){const _0xf8f38b=_0x10093f;let _0x2a2d0b,_0x118de8;if(typeof _0x4a081e==_0xf8f38b(0x21e)?(_0x2a2d0b=Buffer[_0xf8f38b(0x1b7)](_0x4a081e),_0x118de8=!0x1):_0x443728(_0x4a081e)?(_0x2a2d0b=_0x4a081e['size'],_0x118de8=!0x1):(_0x4a081e=_0x5b0fb9(_0x4a081e),_0x2a2d0b=_0x4a081e[_0xf8f38b(0x29d)],_0x118de8=_0x5b0fb9[_0xf8f38b(0x299)]),_0x2a2d0b>0x7d)throw new RangeError(_0xf8f38b(0x2a0));const _0xe659a8={[_0x110dec]:_0x2a2d0b,'fin':!0x0,'generateMask':this[_0xf8f38b(0x238)],'mask':_0xdc44dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x118de8,'rsv1':!0x1};_0x443728(_0x4a081e)?this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this[_0xf8f38b(0x2f2)],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this[_0xf8f38b(0x2f2)](_0x4a081e,!0x1,_0xe659a8,_0x1caf11):this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this['dispatch'],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this['sendFrame'](_0x5c4d93[_0xf8f38b(0x1b6)](_0x4a081e,_0xe659a8),_0x1caf11);}[_0x10093f(0x2c2)](_0x12b27f,_0x25665d,_0xf439a1){const _0x197e5f=_0x10093f;let _0x677f0f,_0x3ce0d1;if(typeof _0x12b27f=='string'?(_0x677f0f=Buffer[_0x197e5f(0x1b7)](_0x12b27f),_0x3ce0d1=!0x1):_0x443728(_0x12b27f)?(_0x677f0f=_0x12b27f[_0x197e5f(0x1bb)],_0x3ce0d1=!0x1):(_0x12b27f=_0x5b0fb9(_0x12b27f),_0x677f0f=_0x12b27f[_0x197e5f(0x29d)],_0x3ce0d1=_0x5b0fb9['readOnly']),_0x677f0f>0x7d)throw new RangeError(_0x197e5f(0x2a0));const _0xead4d0={[_0x110dec]:_0x677f0f,'fin':!0x0,'generateMask':this[_0x197e5f(0x238)],'mask':_0x25665d,'maskBuffer':this[_0x197e5f(0x31e)],'opcode':0xa,'readOnly':_0x3ce0d1,'rsv1':!0x1};_0x443728(_0x12b27f)?this[_0x197e5f(0x2e6)]!==_0x4e7567?this['enqueue']([this[_0x197e5f(0x2f2)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this['getBlobData'](_0x12b27f,!0x1,_0xead4d0,_0xf439a1):this[_0x197e5f(0x2e6)]!==_0x4e7567?this[_0x197e5f(0x215)]([this[_0x197e5f(0x2fa)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this[_0x197e5f(0x292)](_0x5c4d93[_0x197e5f(0x1b6)](_0x12b27f,_0xead4d0),_0xf439a1);}[_0x10093f(0x1c0)](_0x5d49c3,_0x4d2429,_0x44566e){const _0x46db37=_0x10093f,_0x4c1a9d=this[_0x46db37(0x2bd)][_0x39a426[_0x46db37(0x23e)]];let _0x33cfab=_0x4d2429[_0x46db37(0x2d8)]?0x2:0x1,_0x210034=_0x4d2429[_0x46db37(0x2f6)],_0x407901,_0x5e45fc;typeof _0x5d49c3==_0x46db37(0x21e)?(_0x407901=Buffer['byteLength'](_0x5d49c3),_0x5e45fc=!0x1):_0x443728(_0x5d49c3)?(_0x407901=_0x5d49c3[_0x46db37(0x1bb)],_0x5e45fc=!0x1):(_0x5d49c3=_0x5b0fb9(_0x5d49c3),_0x407901=_0x5d49c3[_0x46db37(0x29d)],_0x5e45fc=_0x5b0fb9[_0x46db37(0x299)]),this['_firstFragment']?(this[_0x46db37(0x20a)]=!0x1,_0x210034&&_0x4c1a9d&&_0x4c1a9d['params'][_0x4c1a9d[_0x46db37(0x313)]?_0x46db37(0x2c6):_0x46db37(0x358)]&&(_0x210034=_0x407901>=_0x4c1a9d['_threshold']),this[_0x46db37(0x2c3)]=_0x210034):(_0x210034=!0x1,_0x33cfab=0x0),_0x4d2429['fin']&&(this[_0x46db37(0x20a)]=!0x0);const _0x4cf0e7={[_0x110dec]:_0x407901,'fin':_0x4d2429[_0x46db37(0x1d4)],'generateMask':this[_0x46db37(0x238)],'mask':_0x4d2429['mask'],'maskBuffer':this[_0x46db37(0x31e)],'opcode':_0x33cfab,'readOnly':_0x5e45fc,'rsv1':_0x210034};_0x443728(_0x5d49c3)?this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['getBlobData'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this['getBlobData'](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e):this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['dispatch'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this[_0x46db37(0x2fa)](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e);}[_0x10093f(0x2f2)](_0x530916,_0x55d9c9,_0x5f16e7,_0x114ec6){const _0x127706=_0x10093f;this[_0x127706(0x211)]+=_0x5f16e7[_0x110dec],this[_0x127706(0x2e6)]=_0x15af37,_0x530916[_0x127706(0x316)]()['then'](_0x301100=>{const _0x475080=_0x127706;if(this['_socket']['destroyed']){const _0x59a79e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x475080(0x1c5)](_0x5af18b,this,_0x59a79e,_0x114ec6);return;}this[_0x475080(0x211)]-=_0x5f16e7[_0x110dec];const _0x31b9c6=_0x5b0fb9(_0x301100);_0x55d9c9?this[_0x475080(0x2fa)](_0x31b9c6,_0x55d9c9,_0x5f16e7,_0x114ec6):(this[_0x475080(0x2e6)]=_0x4e7567,this['sendFrame'](_0x5c4d93['frame'](_0x31b9c6,_0x5f16e7),_0x114ec6),this[_0x475080(0x228)]());})['catch'](_0x1ef1b3=>{const _0x1aab9c=_0x127706;process[_0x1aab9c(0x1c5)](_0x2780b1,this,_0x1ef1b3,_0x114ec6);});}['dispatch'](_0x38919f,_0x1ea46b,_0x26bb68,_0x2a2372){const _0x3ca3bd=_0x10093f;if(!_0x1ea46b){this['sendFrame'](_0x5c4d93['frame'](_0x38919f,_0x26bb68),_0x2a2372);return;}const _0x4e4e52=this[_0x3ca3bd(0x2bd)][_0x39a426[_0x3ca3bd(0x23e)]];this[_0x3ca3bd(0x211)]+=_0x26bb68[_0x110dec],this[_0x3ca3bd(0x2e6)]=_0x30bbe1,_0x4e4e52[_0x3ca3bd(0x2f6)](_0x38919f,_0x26bb68['fin'],(_0x377066,_0x4a0128)=>{const _0x28d319=_0x3ca3bd;if(this[_0x28d319(0x1cd)]['destroyed']){const _0x377a60=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5af18b(this,_0x377a60,_0x2a2372);return;}this[_0x28d319(0x211)]-=_0x26bb68[_0x110dec],this[_0x28d319(0x2e6)]=_0x4e7567,_0x26bb68['readOnly']=!0x1,this[_0x28d319(0x292)](_0x5c4d93[_0x28d319(0x1b6)](_0x4a0128,_0x26bb68),_0x2a2372),this[_0x28d319(0x228)]();});}[_0x10093f(0x228)](){const _0x4653cc=_0x10093f;for(;this['_state']===_0x4e7567&&this['_queue'][_0x4653cc(0x29d)];){const _0x105e4b=this[_0x4653cc(0x2aa)][_0x4653cc(0x280)]();this[_0x4653cc(0x211)]-=_0x105e4b[0x3][_0x110dec],Reflect[_0x4653cc(0x285)](_0x105e4b[0x0],this,_0x105e4b[_0x4653cc(0x284)](0x1));}}['enqueue'](_0x1a75ad){const _0x55883b=_0x10093f;this[_0x55883b(0x211)]+=_0x1a75ad[0x3][_0x110dec],this[_0x55883b(0x2aa)][_0x55883b(0x29f)](_0x1a75ad);}[_0x10093f(0x292)](_0x2ec396,_0x18224f){const _0x3c18f7=_0x10093f;_0x2ec396['length']===0x2?(this[_0x3c18f7(0x1cd)][_0x3c18f7(0x2c4)](),this[_0x3c18f7(0x1cd)]['write'](_0x2ec396[0x0]),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x1],_0x18224f),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x1f2)]()):this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x0],_0x18224f);}}Ee=_0x5c4d93;function _0x5af18b(_0x5c1046,_0x11f278,_0x4d269e){const _0x16b18d=_0x10093f;typeof _0x4d269e=='function'&&_0x4d269e(_0x11f278);for(let _0x2274f1=0x0;_0x2274f1<_0x5c1046['_queue']['length'];_0x2274f1++){const _0x5cacd8=_0x5c1046[_0x16b18d(0x2aa)][_0x2274f1],_0x57ab93=_0x5cacd8[_0x5cacd8[_0x16b18d(0x29d)]-0x1];typeof _0x57ab93=='function'&&_0x57ab93(_0x11f278);}}function _0x2780b1(_0x5d2021,_0x3f8c55,_0x33e1ee){const _0x6cd670=_0x10093f;_0x5af18b(_0x5d2021,_0x3f8c55,_0x33e1ee),_0x5d2021[_0x6cd670(0x1f1)](_0x3f8c55);}return Ee;}var xe,tt;function Kt(){const _0x50999e=_0x3b2d4f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3df1b5,kListener:_0x1b5d30}=V(),_0x53b4b8=Symbol(_0x50999e(0x204)),_0x147696=Symbol(_0x50999e(0x221)),_0x5bde7f=Symbol(_0x50999e(0x20f)),_0x3f3441=Symbol('kMessage'),_0x5c38a3=Symbol(_0x50999e(0x1c4)),_0x583fd7=Symbol(_0x50999e(0x1ed)),_0x3f6a07=Symbol('kType'),_0x2e5a07=Symbol(_0x50999e(0x31f));class _0x4ec3d7{constructor(_0x15294b){this[_0x583fd7]=null,this[_0x3f6a07]=_0x15294b;}get[_0x50999e(0x2b3)](){return this[_0x583fd7];}get[_0x50999e(0x2cd)](){return this[_0x3f6a07];}}Object['defineProperty'](_0x4ec3d7[_0x50999e(0x294)],_0x50999e(0x2b3),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x4ec3d7[_0x50999e(0x294)],'type',{'enumerable':!0x0});class _0x46e74a extends _0x4ec3d7{constructor(_0x348ecc,_0x5c918b={}){const _0x48972d=_0x50999e;super(_0x348ecc),this[_0x53b4b8]=_0x5c918b[_0x48972d(0x1d7)]===void 0x0?0x0:_0x5c918b[_0x48972d(0x1d7)],this[_0x5c38a3]=_0x5c918b[_0x48972d(0x2ec)]===void 0x0?'':_0x5c918b[_0x48972d(0x2ec)],this[_0x2e5a07]=_0x5c918b['wasClean']===void 0x0?!0x1:_0x5c918b[_0x48972d(0x2de)];}get[_0x50999e(0x1d7)](){return this[_0x53b4b8];}get[_0x50999e(0x2ec)](){return this[_0x5c38a3];}get[_0x50999e(0x2de)](){return this[_0x2e5a07];}}Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x1d7),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],'reason',{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x2de),{'enumerable':!0x0});class _0x1efe28 extends _0x4ec3d7{constructor(_0x1203dd,_0x2c3e89={}){const _0x387da0=_0x50999e;super(_0x1203dd),this[_0x5bde7f]=_0x2c3e89[_0x387da0(0x2fc)]===void 0x0?null:_0x2c3e89['error'],this[_0x3f3441]=_0x2c3e89[_0x387da0(0x26c)]===void 0x0?'':_0x2c3e89[_0x387da0(0x26c)];}get[_0x50999e(0x2fc)](){return this[_0x5bde7f];}get['message'](){return this[_0x3f3441];}}Object[_0x50999e(0x1b5)](_0x1efe28['prototype'],_0x50999e(0x2fc),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x1efe28[_0x50999e(0x294)],'message',{'enumerable':!0x0});class _0x3eb212 extends _0x4ec3d7{constructor(_0x374bfc,_0x31d04f={}){const _0x3c96f7=_0x50999e;super(_0x374bfc),this[_0x147696]=_0x31d04f[_0x3c96f7(0x32e)]===void 0x0?null:_0x31d04f[_0x3c96f7(0x32e)];}get[_0x50999e(0x32e)](){return this[_0x147696];}}Object[_0x50999e(0x1b5)](_0x3eb212[_0x50999e(0x294)],_0x50999e(0x32e),{'enumerable':!0x0}),xe={'CloseEvent':_0x46e74a,'ErrorEvent':_0x1efe28,'Event':_0x4ec3d7,'EventTarget':{'addEventListener'(_0xd22144,_0x5519c,_0x483ac8={}){const _0x4e85ec=_0x50999e;for(const _0x3bfdbb of this[_0x4e85ec(0x1ee)](_0xd22144))if(!_0x483ac8[_0x3df1b5]&&_0x3bfdbb[_0x1b5d30]===_0x5519c&&!_0x3bfdbb[_0x3df1b5])return;let _0x2f662c;if(_0xd22144===_0x4e85ec(0x26c))_0x2f662c=function(_0x45f293,_0xf1bf8d){const _0x16dd84=_0x4e85ec,_0x56bd11=new _0x3eb212('message',{'data':_0xf1bf8d?_0x45f293:_0x45f293[_0x16dd84(0x1ec)]()});_0x56bd11[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x56bd11);};else{if(_0xd22144===_0x4e85ec(0x25f))_0x2f662c=function(_0x312307,_0x51b7ce){const _0x4cda44=_0x4e85ec,_0x1bfc66=new _0x46e74a('close',{'code':_0x312307,'reason':_0x51b7ce[_0x4cda44(0x1ec)](),'wasClean':this['_closeFrameReceived']&&this[_0x4cda44(0x2a8)]});_0x1bfc66[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x1bfc66);};else{if(_0xd22144===_0x4e85ec(0x2fc))_0x2f662c=function(_0x209fca){const _0x2cba2d=_0x4e85ec,_0x154d9d=new _0x1efe28(_0x2cba2d(0x2fc),{'error':_0x209fca,'message':_0x209fca[_0x2cba2d(0x26c)]});_0x154d9d[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x154d9d);};else{if(_0xd22144===_0x4e85ec(0x2d9))_0x2f662c=function(){const _0x574a8d=_0x4e85ec,_0x717a9a=new _0x4ec3d7(_0x574a8d(0x2d9));_0x717a9a[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x717a9a);};else return;}}}_0x2f662c[_0x3df1b5]=!!_0x483ac8[_0x3df1b5],_0x2f662c[_0x1b5d30]=_0x5519c,_0x483ac8[_0x4e85ec(0x275)]?this[_0x4e85ec(0x275)](_0xd22144,_0x2f662c):this['on'](_0xd22144,_0x2f662c);},'removeEventListener'(_0x2efc97,_0x225685){const _0x18aed6=_0x50999e;for(const _0x826d7e of this[_0x18aed6(0x1ee)](_0x2efc97))if(_0x826d7e[_0x1b5d30]===_0x225685&&!_0x826d7e[_0x3df1b5]){this[_0x18aed6(0x248)](_0x2efc97,_0x826d7e);break;}}},'MessageEvent':_0x3eb212};function _0x2a89f9(_0x161d57,_0x3218ed,_0x2d288f){const _0x1a8d91=_0x50999e;typeof _0x161d57==_0x1a8d91(0x2ce)&&_0x161d57[_0x1a8d91(0x25b)]?_0x161d57['handleEvent'][_0x1a8d91(0x327)](_0x161d57,_0x2d288f):_0x161d57[_0x1a8d91(0x327)](_0x3218ed,_0x2d288f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xf72cc}=ne();function _0x5894c(_0x588bc4,_0x9f1205,_0x1efd31){_0x588bc4[_0x9f1205]===void 0x0?_0x588bc4[_0x9f1205]=[_0x1efd31]:_0x588bc4[_0x9f1205]['push'](_0x1efd31);}function _0x4a96af(_0x434bb5){const _0x4966d1=_0x5878,_0x13e5a9=Object[_0x4966d1(0x1fc)](null);let _0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x2e17f0=!0x1,_0x1ffbca=!0x1,_0x306ef4=!0x1,_0x3c3030,_0x5817be,_0x3b5a97=-0x1,_0x16dd99=-0x1,_0x4a13f9=-0x1,_0x4c5654=0x0;for(;_0x4c5654<_0x434bb5[_0x4966d1(0x29d)];_0x4c5654++)if(_0x16dd99=_0x434bb5['charCodeAt'](_0x4c5654),_0x3c3030===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x4c5654!==0x0&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x5f509c=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x16dd99===0x2c?(_0x5894c(_0x13e5a9,_0x5f509c,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null)):_0x3c3030=_0x5f509c,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c5654);}}}else{if(_0x5817be===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x20||_0x16dd99===0x9)_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654),_0x5894c(_0x16e6bd,_0x434bb5['slice'](_0x3b5a97,_0x4a13f9),!0x0),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x3c3030=void 0x0),_0x3b5a97=_0x4a13f9=-0x1;}else{if(_0x16dd99===0x3d&&_0x3b5a97!==-0x1&&_0x4a13f9===-0x1)_0x5817be=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4c5654),_0x3b5a97=_0x4a13f9=-0x1;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}else{if(_0x1ffbca){if(_0xf72cc[_0x16dd99]!==0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x3b5a97===-0x1?_0x3b5a97=_0x4c5654:_0x2e17f0||(_0x2e17f0=!0x0),_0x1ffbca=!0x1;}else{if(_0x306ef4){if(_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x22&&_0x3b5a97!==-0x1)_0x306ef4=!0x1,_0x4a13f9=_0x4c5654;else{if(_0x16dd99===0x5c)_0x1ffbca=!0x0;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}else{if(_0x16dd99===0x22&&_0x434bb5['charCodeAt'](_0x4c5654-0x1)===0x3d)_0x306ef4=!0x0;else{if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x3b5a97!==-0x1&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);let _0x44a4f1=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x2e17f0&&(_0x44a4f1=_0x44a4f1[_0x4966d1(0x319)](/\\/g,''),_0x2e17f0=!0x1),_0x5894c(_0x16e6bd,_0x5817be,_0x44a4f1),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object['create'](null),_0x3c3030=void 0x0),_0x5817be=void 0x0,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}}}}if(_0x3b5a97===-0x1||_0x306ef4||_0x16dd99===0x20||_0x16dd99===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x4c88cb=_0x434bb5['slice'](_0x3b5a97,_0x4a13f9);return _0x3c3030===void 0x0?_0x5894c(_0x13e5a9,_0x4c88cb,_0x16e6bd):(_0x5817be===void 0x0?_0x5894c(_0x16e6bd,_0x4c88cb,!0x0):_0x2e17f0?_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb[_0x4966d1(0x319)](/\\/g,'')):_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb),_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd)),_0x13e5a9;}function _0x273af4(_0x501629){const _0x44db18=_0x5878;return Object[_0x44db18(0x235)](_0x501629)[_0x44db18(0x2d2)](_0x1a7572=>{const _0x38c661=_0x44db18;let _0x459024=_0x501629[_0x1a7572];return Array[_0x38c661(0x265)](_0x459024)||(_0x459024=[_0x459024]),_0x459024[_0x38c661(0x2d2)](_0x203446=>[_0x1a7572]['concat'](Object['keys'](_0x203446)[_0x38c661(0x2d2)](_0x3a1769=>{const _0x2435cc=_0x38c661;let _0x5aa171=_0x203446[_0x3a1769];return Array[_0x2435cc(0x265)](_0x5aa171)||(_0x5aa171=[_0x5aa171]),_0x5aa171[_0x2435cc(0x2d2)](_0x97bbf2=>_0x97bbf2===!0x0?_0x3a1769:_0x3a1769+'='+_0x97bbf2)[_0x2435cc(0x28a)](';\x20');}))['join'](';\x20'))[_0x38c661(0x28a)](',\x20');})['join'](',\x20');}return be={'format':_0x273af4,'parse':_0x4a96af},be;}var we,st;function Ie(){const _0x20c9af=_0x3b2d4f;if(st)return we;st=0x1;const _0x333ef4=_0x285de2,_0xde473c=_0x5851df,_0xf0263d=_0x4c53ad,_0x4e2835=_0x537e0b,_0x44e0de=_0x4d6c80,{randomBytes:_0x17ffe5,createHash:_0x5f3b21}=_0x31487d,{Duplex:_0x353ddc,Readable:_0x38d23d}=_0x3ebcaa,{URL:_0x239634}=_0x2f01dc,_0x3786ea=he(),_0x19ae13=dt(),_0x53f6cc=_t(),{isBlob:_0x7971}=ne(),{BINARY_TYPES:_0xd42302,EMPTY_BUFFER:_0x46dd97,GUID:_0x2f97a4,kForOnEventAttribute:_0x18a328,kListener:_0x21a785,kStatusCode:_0x12bf0d,kWebSocket:_0x2e419f,NOOP:_0x509624}=V(),{EventTarget:{addEventListener:_0x307179,removeEventListener:_0x32c92c}}=Kt(),{format:_0x2f2c36,parse:_0x56ed78}=pt(),{toBuffer:_0x48580e}=ce(),_0x1558ce=0x1e*0x3e8,_0xbc7c79=Symbol(_0x20c9af(0x1e7)),_0x3e8e94=[0x8,0xd],_0x196db2=[_0x20c9af(0x1dc),_0x20c9af(0x1b8),_0x20c9af(0x236),_0x20c9af(0x269)],_0x210204=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4fb982 extends _0x333ef4{constructor(_0xfaf659,_0x599d98,_0x5e5f59){const _0x3481fb=_0x20c9af;super(),this['_binaryType']=_0xd42302[0x0],this['_closeCode']=0x3ee,this[_0x3481fb(0x2a5)]=!0x1,this[_0x3481fb(0x2a8)]=!0x1,this[_0x3481fb(0x2eb)]=_0x46dd97,this[_0x3481fb(0x1cf)]=null,this[_0x3481fb(0x2e4)]=!0x1,this[_0x3481fb(0x2bd)]={},this[_0x3481fb(0x297)]=!0x1,this[_0x3481fb(0x201)]='',this['_readyState']=_0x4fb982['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x3481fb(0x1cd)]=null,_0xfaf659!==null?(this[_0x3481fb(0x348)]=0x0,this[_0x3481fb(0x313)]=!0x1,this['_redirects']=0x0,_0x599d98===void 0x0?_0x599d98=[]:Array['isArray'](_0x599d98)||(typeof _0x599d98=='object'&&_0x599d98!==null?(_0x5e5f59=_0x599d98,_0x599d98=[]):_0x599d98=[_0x599d98]),_0x1ad0b5(this,_0xfaf659,_0x599d98,_0x5e5f59)):(this[_0x3481fb(0x34a)]=_0x5e5f59['autoPong'],this[_0x3481fb(0x313)]=!0x0);}get[_0x20c9af(0x21c)](){const _0x445942=_0x20c9af;return this[_0x445942(0x207)];}set[_0x20c9af(0x21c)](_0x59654c){const _0x2559c9=_0x20c9af;_0xd42302[_0x2559c9(0x2c8)](_0x59654c)&&(this[_0x2559c9(0x207)]=_0x59654c,this[_0x2559c9(0x30a)]&&(this[_0x2559c9(0x30a)][_0x2559c9(0x207)]=_0x59654c));}get[_0x20c9af(0x2cb)](){const _0x16036b=_0x20c9af;return this[_0x16036b(0x1cd)]?this[_0x16036b(0x1cd)][_0x16036b(0x34d)][_0x16036b(0x29d)]+this['_sender'][_0x16036b(0x211)]:this['_bufferedAmount'];}get[_0x20c9af(0x237)](){const _0xbbc1c5=_0x20c9af;return Object[_0xbbc1c5(0x235)](this[_0xbbc1c5(0x2bd)])['join']();}get['isPaused'](){const _0x674778=_0x20c9af;return this[_0x674778(0x297)];}get['onclose'](){return null;}get[_0x20c9af(0x1f1)](){return null;}get['onopen'](){return null;}get[_0x20c9af(0x245)](){return null;}get[_0x20c9af(0x262)](){return this['_protocol'];}get[_0x20c9af(0x24b)](){return this['_readyState'];}get[_0x20c9af(0x278)](){const _0x7138da=_0x20c9af;return this[_0x7138da(0x28d)];}[_0x20c9af(0x289)](_0x3651bb,_0x432011,_0x420a95){const _0x39e4a2=_0x20c9af,_0x38f45b=new _0x19ae13({'allowSynchronousEvents':_0x420a95['allowSynchronousEvents'],'binaryType':this[_0x39e4a2(0x21c)],'extensions':this[_0x39e4a2(0x2bd)],'isServer':this['_isServer'],'maxPayload':_0x420a95['maxPayload'],'skipUTF8Validation':_0x420a95[_0x39e4a2(0x2f3)]}),_0x157377=new _0x53f6cc(_0x3651bb,this[_0x39e4a2(0x2bd)],_0x420a95['generateMask']);this[_0x39e4a2(0x30a)]=_0x38f45b,this[_0x39e4a2(0x230)]=_0x157377,this[_0x39e4a2(0x1cd)]=_0x3651bb,_0x38f45b[_0x2e419f]=this,_0x157377[_0x2e419f]=this,_0x3651bb[_0x2e419f]=this,_0x38f45b['on'](_0x39e4a2(0x2f5),_0x42f9e3),_0x38f45b['on']('drain',_0x16c99e),_0x38f45b['on'](_0x39e4a2(0x2fc),_0x382241),_0x38f45b['on'](_0x39e4a2(0x26c),_0x2b7f39),_0x38f45b['on'](_0x39e4a2(0x32a),_0xd73804),_0x38f45b['on'](_0x39e4a2(0x2c2),_0x427cc6),_0x157377[_0x39e4a2(0x1f1)]=_0x427a93,_0x3651bb[_0x39e4a2(0x1e8)]&&_0x3651bb[_0x39e4a2(0x1e8)](0x0),_0x3651bb['setNoDelay']&&_0x3651bb['setNoDelay'](),_0x432011['length']>0x0&&_0x3651bb['unshift'](_0x432011),_0x3651bb['on'](_0x39e4a2(0x25f),_0x335c5e),_0x3651bb['on']('data',_0x99a04e),_0x3651bb['on']('end',_0x256562),_0x3651bb['on']('error',_0x4ce5f9),this[_0x39e4a2(0x254)]=_0x4fb982[_0x39e4a2(0x1b8)],this[_0x39e4a2(0x24c)]('open');}[_0x20c9af(0x30e)](){const _0x46232c=_0x20c9af;if(!this[_0x46232c(0x1cd)]){this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this['_closeCode'],this[_0x46232c(0x2eb)]);return;}this[_0x46232c(0x2bd)][_0x3786ea['extensionName']]&&this[_0x46232c(0x2bd)][_0x3786ea[_0x46232c(0x23e)]][_0x46232c(0x257)](),this[_0x46232c(0x30a)]['removeAllListeners'](),this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this[_0x46232c(0x2a7)],this['_closeMessage']);}['close'](_0x1461da,_0x53fcad){const _0xa2b84f=_0x20c9af;if(this[_0xa2b84f(0x24b)]!==_0x4fb982['CLOSED']){if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x1dc)]){_0x10ce8d(this,this['_req'],_0xa2b84f(0x1f8));return;}if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x236)]){this[_0xa2b84f(0x2a8)]&&(this[_0xa2b84f(0x2a5)]||this['_receiver'][_0xa2b84f(0x34d)][_0xa2b84f(0x342)])&&this['_socket'][_0xa2b84f(0x298)]();return;}this[_0xa2b84f(0x254)]=_0x4fb982['CLOSING'],this['_sender'][_0xa2b84f(0x25f)](_0x1461da,_0x53fcad,!this[_0xa2b84f(0x313)],_0x16b345=>{const _0x4a4413=_0xa2b84f;_0x16b345||(this[_0x4a4413(0x2a8)]=!0x0,(this[_0x4a4413(0x2a5)]||this[_0x4a4413(0x30a)][_0x4a4413(0x34d)][_0x4a4413(0x342)])&&this[_0x4a4413(0x1cd)][_0x4a4413(0x298)]());}),_0x34fdd1(this);}}['pause'](){const _0x32e9f2=_0x20c9af;this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x1dc)]||this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x269)]||(this[_0x32e9f2(0x297)]=!0x0,this[_0x32e9f2(0x1cd)][_0x32e9f2(0x1c2)]());}['ping'](_0x9be16c,_0x57ec09,_0x4ec954){const _0x25d830=_0x20c9af;if(this[_0x25d830(0x24b)]===_0x4fb982['CONNECTING'])throw new Error(_0x25d830(0x233));if(typeof _0x9be16c==_0x25d830(0x1b4)?(_0x4ec954=_0x9be16c,_0x9be16c=_0x57ec09=void 0x0):typeof _0x57ec09==_0x25d830(0x1b4)&&(_0x4ec954=_0x57ec09,_0x57ec09=void 0x0),typeof _0x9be16c==_0x25d830(0x261)&&(_0x9be16c=_0x9be16c['toString']()),this['readyState']!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x9be16c,_0x4ec954);return;}_0x57ec09===void 0x0&&(_0x57ec09=!this[_0x25d830(0x313)]),this[_0x25d830(0x230)]['ping'](_0x9be16c||_0x46dd97,_0x57ec09,_0x4ec954);}['pong'](_0x525501,_0x266954,_0x34c737){const _0xf9fd27=_0x20c9af;if(this[_0xf9fd27(0x24b)]===_0x4fb982[_0xf9fd27(0x1dc)])throw new Error(_0xf9fd27(0x233));if(typeof _0x525501==_0xf9fd27(0x1b4)?(_0x34c737=_0x525501,_0x525501=_0x266954=void 0x0):typeof _0x266954==_0xf9fd27(0x1b4)&&(_0x34c737=_0x266954,_0x266954=void 0x0),typeof _0x525501==_0xf9fd27(0x261)&&(_0x525501=_0x525501[_0xf9fd27(0x1ec)]()),this[_0xf9fd27(0x24b)]!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x525501,_0x34c737);return;}_0x266954===void 0x0&&(_0x266954=!this[_0xf9fd27(0x313)]),this[_0xf9fd27(0x230)]['pong'](_0x525501||_0x46dd97,_0x266954,_0x34c737);}['resume'](){const _0x3a9379=_0x20c9af;this[_0x3a9379(0x24b)]===_0x4fb982[_0x3a9379(0x1dc)]||this['readyState']===_0x4fb982['CLOSED']||(this['_paused']=!0x1,this[_0x3a9379(0x30a)][_0x3a9379(0x34d)][_0x3a9379(0x217)]||this[_0x3a9379(0x1cd)][_0x3a9379(0x33e)]());}[_0x20c9af(0x1c0)](_0x253d4f,_0x59ca7a,_0x2b082b){const _0x302069=_0x20c9af;if(this[_0x302069(0x24b)]===_0x4fb982['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59ca7a=='function'&&(_0x2b082b=_0x59ca7a,_0x59ca7a={}),typeof _0x253d4f==_0x302069(0x261)&&(_0x253d4f=_0x253d4f[_0x302069(0x1ec)]()),this[_0x302069(0x24b)]!==_0x4fb982[_0x302069(0x1b8)]){_0xfb87e8(this,_0x253d4f,_0x2b082b);return;}const _0x4893e0={'binary':typeof _0x253d4f!=_0x302069(0x21e),'mask':!this[_0x302069(0x313)],'compress':!0x0,'fin':!0x0,..._0x59ca7a};this['_extensions'][_0x3786ea[_0x302069(0x23e)]]||(_0x4893e0[_0x302069(0x2f6)]=!0x1),this[_0x302069(0x230)]['send'](_0x253d4f||_0x46dd97,_0x4893e0,_0x2b082b);}['terminate'](){const _0xe7cfbd=_0x20c9af;if(this['readyState']!==_0x4fb982[_0xe7cfbd(0x269)]){if(this['readyState']===_0x4fb982['CONNECTING']){_0x10ce8d(this,this[_0xe7cfbd(0x206)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xe7cfbd(0x1cd)]&&(this[_0xe7cfbd(0x254)]=_0x4fb982['CLOSING'],this[_0xe7cfbd(0x1cd)][_0xe7cfbd(0x31b)]());}}}Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CONNECTING')}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1dc))}),Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1b8),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'OPEN',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSING',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x236))}),Object['defineProperty'](_0x4fb982['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CLOSING')}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSED',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x269))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'CLOSED',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x269))}),['binaryType',_0x20c9af(0x2cb),_0x20c9af(0x237),_0x20c9af(0x2be),_0x20c9af(0x262),_0x20c9af(0x24b),_0x20c9af(0x278)]['forEach'](_0x2492bb=>{const _0x5244d3=_0x20c9af;Object[_0x5244d3(0x1b5)](_0x4fb982[_0x5244d3(0x294)],_0x2492bb,{'enumerable':!0x0});}),[_0x20c9af(0x2d9),_0x20c9af(0x2fc),_0x20c9af(0x25f),_0x20c9af(0x26c)]['forEach'](_0xb683ea=>{const _0x2ea8e6=_0x20c9af;Object[_0x2ea8e6(0x1b5)](_0x4fb982[_0x2ea8e6(0x294)],'on'+_0xb683ea,{'enumerable':!0x0,'get'(){for(const _0x3e622d of this['listeners'](_0xb683ea))if(_0x3e622d[_0x18a328])return _0x3e622d[_0x21a785];return null;},'set'(_0x5b3856){const _0x5bff62=_0x2ea8e6;for(const _0x82d5ca of this[_0x5bff62(0x1ee)](_0xb683ea))if(_0x82d5ca[_0x18a328]){this[_0x5bff62(0x248)](_0xb683ea,_0x82d5ca);break;}typeof _0x5b3856==_0x5bff62(0x1b4)&&this[_0x5bff62(0x27a)](_0xb683ea,_0x5b3856,{[_0x18a328]:!0x0});}});}),_0x4fb982[_0x20c9af(0x294)][_0x20c9af(0x27a)]=_0x307179,_0x4fb982[_0x20c9af(0x294)]['removeEventListener']=_0x32c92c,we=_0x4fb982;function _0x1ad0b5(_0x2c39b9,_0x4619f8,_0x4ced42,_0x388286){const _0x480a23=_0x20c9af,_0x4da1fd={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e8e94[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x388286,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x480a23(0x23a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2c39b9['_autoPong']=_0x4da1fd[_0x480a23(0x2ad)],!_0x3e8e94[_0x480a23(0x2c8)](_0x4da1fd['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4da1fd[_0x480a23(0x1f6)]+_0x480a23(0x330)+_0x3e8e94['join'](',\x20')+')');let _0x4451fa;if(_0x4619f8 instanceof _0x239634)_0x4451fa=_0x4619f8;else try{_0x4451fa=new _0x239634(_0x4619f8);}catch{throw new SyntaxError(_0x480a23(0x271)+_0x4619f8);}_0x4451fa[_0x480a23(0x262)]==='http:'?_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x1e1):_0x4451fa['protocol']===_0x480a23(0x337)&&(_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x324)),_0x2c39b9[_0x480a23(0x28d)]=_0x4451fa[_0x480a23(0x1f7)];const _0x4cd85e=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x324),_0x7ec17d=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x2b6);let _0x463b64;if(_0x4451fa[_0x480a23(0x262)]!=='ws:'&&!_0x4cd85e&&!_0x7ec17d?_0x463b64=_0x480a23(0x1f5):_0x7ec17d&&!_0x4451fa[_0x480a23(0x288)]?_0x463b64=_0x480a23(0x310):_0x4451fa[_0x480a23(0x1dd)]&&(_0x463b64=_0x480a23(0x32b)),_0x463b64){const _0x1d7359=new SyntaxError(_0x463b64);if(_0x2c39b9[_0x480a23(0x2bf)]===0x0)throw _0x1d7359;_0x5056d2(_0x2c39b9,_0x1d7359);return;}const _0x333dbd=_0x4cd85e?0x1bb:0x50,_0x5a491f=_0x17ffe5(0x10)[_0x480a23(0x1ec)]('base64'),_0x5b6af5=_0x4cd85e?_0xde473c['request']:_0xf0263d[_0x480a23(0x234)],_0x543e51=new Set();let _0x26b533;if(_0x4da1fd[_0x480a23(0x308)]=_0x4da1fd[_0x480a23(0x308)]||(_0x4cd85e?_0x205a91:_0x35ba68),_0x4da1fd[_0x480a23(0x2b5)]=_0x4da1fd[_0x480a23(0x2b5)]||_0x333dbd,_0x4da1fd[_0x480a23(0x220)]=_0x4451fa[_0x480a23(0x220)]||_0x333dbd,_0x4da1fd[_0x480a23(0x2e0)]=_0x4451fa[_0x480a23(0x305)][_0x480a23(0x1f3)]('[')?_0x4451fa[_0x480a23(0x305)][_0x480a23(0x284)](0x1,-0x1):_0x4451fa[_0x480a23(0x305)],_0x4da1fd[_0x480a23(0x1c7)]={..._0x4da1fd[_0x480a23(0x1c7)],'Sec-WebSocket-Version':_0x4da1fd[_0x480a23(0x1f6)],'Sec-WebSocket-Key':_0x5a491f,'Connection':'Upgrade','Upgrade':_0x480a23(0x2af)},_0x4da1fd[_0x480a23(0x229)]=_0x4451fa['pathname']+_0x4451fa['search'],_0x4da1fd[_0x480a23(0x353)]=_0x4da1fd[_0x480a23(0x22f)],_0x4da1fd[_0x480a23(0x1d2)]&&(_0x26b533=new _0x3786ea(_0x4da1fd[_0x480a23(0x1d2)]!==!0x0?_0x4da1fd[_0x480a23(0x1d2)]:{},!0x1,_0x4da1fd['maxPayload']),_0x4da1fd['headers'][_0x480a23(0x29b)]=_0x2f2c36({[_0x3786ea['extensionName']]:_0x26b533['offer']()})),_0x4ced42[_0x480a23(0x29d)]){for(const _0x317162 of _0x4ced42){if(typeof _0x317162!=_0x480a23(0x21e)||!_0x210204[_0x480a23(0x2d6)](_0x317162)||_0x543e51[_0x480a23(0x252)](_0x317162))throw new SyntaxError(_0x480a23(0x1ce));_0x543e51[_0x480a23(0x2dd)](_0x317162);}_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x309)]=_0x4ced42[_0x480a23(0x28a)](',');}if(_0x4da1fd[_0x480a23(0x2ae)]&&(_0x4da1fd[_0x480a23(0x1f6)]<0xd?_0x4da1fd['headers']['Sec-WebSocket-Origin']=_0x4da1fd[_0x480a23(0x2ae)]:_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x296)]=_0x4da1fd[_0x480a23(0x2ae)]),(_0x4451fa['username']||_0x4451fa[_0x480a23(0x333)])&&(_0x4da1fd[_0x480a23(0x277)]=_0x4451fa[_0x480a23(0x24f)]+':'+_0x4451fa['password']),_0x7ec17d){const _0x3f4354=_0x4da1fd[_0x480a23(0x229)][_0x480a23(0x22c)](':');_0x4da1fd['socketPath']=_0x3f4354[0x0],_0x4da1fd['path']=_0x3f4354[0x1];}let _0xc66f27;if(_0x4da1fd[_0x480a23(0x1d5)]){if(_0x2c39b9[_0x480a23(0x2bf)]===0x0){_0x2c39b9[_0x480a23(0x32f)]=_0x7ec17d,_0x2c39b9[_0x480a23(0x334)]=_0x4cd85e,_0x2c39b9['_originalHostOrSocketPath']=_0x7ec17d?_0x4da1fd[_0x480a23(0x1e5)]:_0x4451fa[_0x480a23(0x2e0)];const _0x45608f=_0x388286&&_0x388286['headers'];if(_0x388286={..._0x388286,'headers':{}},_0x45608f){for(const [_0x3473fe,_0x10df03]of Object['entries'](_0x45608f))_0x388286['headers'][_0x3473fe[_0x480a23(0x1ef)]()]=_0x10df03;}}else{if(_0x2c39b9[_0x480a23(0x1fb)](_0x480a23(0x20d))===0x0){const _0x37fb14=_0x7ec17d?_0x2c39b9[_0x480a23(0x32f)]?_0x4da1fd[_0x480a23(0x1e5)]===_0x2c39b9[_0x480a23(0x291)]:!0x1:_0x2c39b9[_0x480a23(0x32f)]?!0x1:_0x4451fa[_0x480a23(0x2e0)]===_0x2c39b9[_0x480a23(0x291)];(!_0x37fb14||_0x2c39b9[_0x480a23(0x334)]&&!_0x4cd85e)&&(delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2a9)],delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x311)],_0x37fb14||delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2e0)],_0x4da1fd['auth']=void 0x0);}}_0x4da1fd[_0x480a23(0x277)]&&!_0x388286['headers']['authorization']&&(_0x388286[_0x480a23(0x1c7)][_0x480a23(0x2a9)]=_0x480a23(0x332)+Buffer['from'](_0x4da1fd[_0x480a23(0x277)])[_0x480a23(0x1ec)](_0x480a23(0x270))),_0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd),_0x2c39b9['_redirects']&&_0x2c39b9[_0x480a23(0x24c)]('redirect',_0x2c39b9[_0x480a23(0x278)],_0xc66f27);}else _0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd);_0x4da1fd[_0x480a23(0x353)]&&_0xc66f27['on'](_0x480a23(0x353),()=>{const _0x28d586=_0x480a23;_0x10ce8d(_0x2c39b9,_0xc66f27,_0x28d586(0x24d));}),_0xc66f27['on'](_0x480a23(0x2fc),_0x542562=>{const _0x4377eb=_0x480a23;_0xc66f27===null||_0xc66f27[_0xbc7c79]||(_0xc66f27=_0x2c39b9[_0x4377eb(0x206)]=null,_0x5056d2(_0x2c39b9,_0x542562));}),_0xc66f27['on'](_0x480a23(0x1c8),_0x2f7576=>{const _0x584f86=_0x480a23,_0x5e7761=_0x2f7576['headers'][_0x584f86(0x2e8)],_0x3729d1=_0x2f7576[_0x584f86(0x255)];if(_0x5e7761&&_0x4da1fd[_0x584f86(0x1d5)]&&_0x3729d1>=0x12c&&_0x3729d1<0x190){if(++_0x2c39b9[_0x584f86(0x2bf)]>_0x4da1fd[_0x584f86(0x33a)]){_0x10ce8d(_0x2c39b9,_0xc66f27,'Maximum\x20redirects\x20exceeded');return;}_0xc66f27['abort']();let _0x2f7d1f;try{_0x2f7d1f=new _0x239634(_0x5e7761,_0x4619f8);}catch{const _0x5ebf06=new SyntaxError(_0x584f86(0x271)+_0x5e7761);_0x5056d2(_0x2c39b9,_0x5ebf06);return;}_0x1ad0b5(_0x2c39b9,_0x2f7d1f,_0x4ced42,_0x388286);}else _0x2c39b9[_0x584f86(0x24c)]('unexpected-response',_0xc66f27,_0x2f7576)||_0x10ce8d(_0x2c39b9,_0xc66f27,_0x584f86(0x1df)+_0x2f7576[_0x584f86(0x255)]);}),_0xc66f27['on'](_0x480a23(0x2cf),(_0x1ec1e5,_0x1f6f84,_0x10f668)=>{const _0x5160e3=_0x480a23;if(_0x2c39b9[_0x5160e3(0x24c)]('upgrade',_0x1ec1e5),_0x2c39b9[_0x5160e3(0x24b)]!==_0x4fb982[_0x5160e3(0x1dc)])return;_0xc66f27=_0x2c39b9[_0x5160e3(0x206)]=null;const _0x4e40d9=_0x1ec1e5[_0x5160e3(0x1c7)]['upgrade'];if(_0x4e40d9===void 0x0||_0x4e40d9[_0x5160e3(0x1ef)]()!==_0x5160e3(0x2af)){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x30c));return;}const _0x3eed28=_0x5f3b21('sha1')['update'](_0x5a491f+_0x2f97a4)[_0x5160e3(0x344)]('base64');if(_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x1bc)]!==_0x3eed28){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2baa21=_0x1ec1e5[_0x5160e3(0x1c7)]['sec-websocket-protocol'];let _0x1ac34c;if(_0x2baa21!==void 0x0?_0x543e51[_0x5160e3(0x1bb)]?_0x543e51[_0x5160e3(0x252)](_0x2baa21)||(_0x1ac34c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ac34c=_0x5160e3(0x1bd):_0x543e51[_0x5160e3(0x1bb)]&&(_0x1ac34c=_0x5160e3(0x351)),_0x1ac34c){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x1ac34c);return;}_0x2baa21&&(_0x2c39b9['_protocol']=_0x2baa21);const _0x48a872=_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x21d)];if(_0x48a872!==void 0x0){if(!_0x26b533){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x258));return;}let _0x5c3e20;try{_0x5c3e20=_0x56ed78(_0x48a872);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}const _0x53208d=Object['keys'](_0x5c3e20);if(_0x53208d[_0x5160e3(0x29d)]!==0x1||_0x53208d[0x0]!==_0x3786ea[_0x5160e3(0x23e)]){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x26b533[_0x5160e3(0x2d5)](_0x5c3e20[_0x3786ea[_0x5160e3(0x23e)]]);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}_0x2c39b9['_extensions'][_0x3786ea[_0x5160e3(0x23e)]]=_0x26b533;}_0x2c39b9['setSocket'](_0x1f6f84,_0x10f668,{'allowSynchronousEvents':_0x4da1fd[_0x5160e3(0x318)],'generateMask':_0x4da1fd[_0x5160e3(0x22d)],'maxPayload':_0x4da1fd['maxPayload'],'skipUTF8Validation':_0x4da1fd['skipUTF8Validation']});}),_0x4da1fd[_0x480a23(0x256)]?_0x4da1fd[_0x480a23(0x256)](_0xc66f27,_0x2c39b9):_0xc66f27['end']();}function _0x5056d2(_0x636d3f,_0x2bac9a){const _0x4ef664=_0x20c9af;_0x636d3f[_0x4ef664(0x254)]=_0x4fb982[_0x4ef664(0x236)],_0x636d3f['_errorEmitted']=!0x0,_0x636d3f[_0x4ef664(0x24c)](_0x4ef664(0x2fc),_0x2bac9a),_0x636d3f[_0x4ef664(0x30e)]();}function _0x35ba68(_0x5d8d28){const _0x103e9d=_0x20c9af;return _0x5d8d28[_0x103e9d(0x229)]=_0x5d8d28['socketPath'],_0x4e2835[_0x103e9d(0x2cc)](_0x5d8d28);}function _0x205a91(_0x2a46e){const _0xf023ff=_0x20c9af;return _0x2a46e[_0xf023ff(0x229)]=void 0x0,!_0x2a46e[_0xf023ff(0x273)]&&_0x2a46e['servername']!==''&&(_0x2a46e[_0xf023ff(0x273)]=_0x4e2835['isIP'](_0x2a46e[_0xf023ff(0x2e0)])?'':_0x2a46e['host']),_0x44e0de[_0xf023ff(0x2cc)](_0x2a46e);}function _0x10ce8d(_0x64c810,_0x3be0b1,_0xb56450){const _0x1195e3=_0x20c9af;_0x64c810['_readyState']=_0x4fb982[_0x1195e3(0x236)];const _0x42ae9b=new Error(_0xb56450);Error[_0x1195e3(0x1ba)](_0x42ae9b,_0x10ce8d),_0x3be0b1['setHeader']?(_0x3be0b1[_0xbc7c79]=!0x0,_0x3be0b1[_0x1195e3(0x2a3)](),_0x3be0b1['socket']&&!_0x3be0b1['socket'][_0x1195e3(0x325)]&&_0x3be0b1['socket'][_0x1195e3(0x31b)](),process[_0x1195e3(0x1c5)](_0x5056d2,_0x64c810,_0x42ae9b)):(_0x3be0b1[_0x1195e3(0x31b)](_0x42ae9b),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x2fc),_0x64c810[_0x1195e3(0x24c)][_0x1195e3(0x2f9)](_0x64c810,_0x1195e3(0x2fc))),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x25f),_0x64c810[_0x1195e3(0x30e)]['bind'](_0x64c810)));}function _0xfb87e8(_0x528562,_0x27f641,_0x2f511f){const _0x3ce521=_0x20c9af;if(_0x27f641){const _0x454171=_0x7971(_0x27f641)?_0x27f641[_0x3ce521(0x1bb)]:_0x48580e(_0x27f641)['length'];_0x528562['_socket']?_0x528562[_0x3ce521(0x230)][_0x3ce521(0x211)]+=_0x454171:_0x528562[_0x3ce521(0x348)]+=_0x454171;}if(_0x2f511f){const _0x5d3dd4=new Error(_0x3ce521(0x1fa)+_0x528562[_0x3ce521(0x24b)]+'\x20('+_0x196db2[_0x528562['readyState']]+')');process['nextTick'](_0x2f511f,_0x5d3dd4);}}function _0x42f9e3(_0x562adc,_0x4c8967){const _0x5487e3=_0x20c9af,_0x43a316=this[_0x2e419f];_0x43a316[_0x5487e3(0x2a5)]=!0x0,_0x43a316[_0x5487e3(0x2eb)]=_0x4c8967,_0x43a316[_0x5487e3(0x2a7)]=_0x562adc,_0x43a316[_0x5487e3(0x1cd)][_0x2e419f]!==void 0x0&&(_0x43a316[_0x5487e3(0x1cd)][_0x5487e3(0x248)](_0x5487e3(0x32e),_0x99a04e),process[_0x5487e3(0x1c5)](_0x9e9bb7,_0x43a316[_0x5487e3(0x1cd)]),_0x562adc===0x3ed?_0x43a316[_0x5487e3(0x25f)]():_0x43a316[_0x5487e3(0x25f)](_0x562adc,_0x4c8967));}function _0x16c99e(){const _0x1b863f=_0x20c9af,_0x1337fe=this[_0x2e419f];_0x1337fe['isPaused']||_0x1337fe[_0x1b863f(0x1cd)]['resume']();}function _0x382241(_0x1da99d){const _0x3d1e1f=_0x20c9af,_0x12d10f=this[_0x2e419f];_0x12d10f[_0x3d1e1f(0x1cd)][_0x2e419f]!==void 0x0&&(_0x12d10f[_0x3d1e1f(0x1cd)][_0x3d1e1f(0x248)](_0x3d1e1f(0x32e),_0x99a04e),process[_0x3d1e1f(0x1c5)](_0x9e9bb7,_0x12d10f['_socket']),_0x12d10f[_0x3d1e1f(0x25f)](_0x1da99d[_0x12bf0d])),_0x12d10f[_0x3d1e1f(0x2e4)]||(_0x12d10f[_0x3d1e1f(0x2e4)]=!0x0,_0x12d10f[_0x3d1e1f(0x24c)](_0x3d1e1f(0x2fc),_0x1da99d));}function _0x53d017(){const _0x385651=_0x20c9af;this[_0x2e419f][_0x385651(0x30e)]();}function _0x2b7f39(_0x82d911,_0x18b13d){const _0x24f691=_0x20c9af;this[_0x2e419f]['emit'](_0x24f691(0x26c),_0x82d911,_0x18b13d);}function _0xd73804(_0x35bef3){const _0x5bcd89=_0x20c9af,_0xd5f929=this[_0x2e419f];_0xd5f929[_0x5bcd89(0x34a)]&&_0xd5f929[_0x5bcd89(0x2c2)](_0x35bef3,!this[_0x5bcd89(0x313)],_0x509624),_0xd5f929['emit'](_0x5bcd89(0x32a),_0x35bef3);}function _0x427cc6(_0x51b7a3){const _0x13f47d=_0x20c9af;this[_0x2e419f][_0x13f47d(0x24c)](_0x13f47d(0x2c2),_0x51b7a3);}function _0x9e9bb7(_0x169290){const _0x35ab3d=_0x20c9af;_0x169290[_0x35ab3d(0x33e)]();}function _0x427a93(_0x42d42a){const _0x100843=_0x20c9af,_0x5292f2=this[_0x2e419f];_0x5292f2[_0x100843(0x24b)]!==_0x4fb982[_0x100843(0x269)]&&(_0x5292f2[_0x100843(0x24b)]===_0x4fb982['OPEN']&&(_0x5292f2[_0x100843(0x254)]=_0x4fb982[_0x100843(0x236)],_0x34fdd1(_0x5292f2)),this[_0x100843(0x1cd)][_0x100843(0x298)](),_0x5292f2['_errorEmitted']||(_0x5292f2[_0x100843(0x2e4)]=!0x0,_0x5292f2[_0x100843(0x24c)](_0x100843(0x2fc),_0x42d42a)));}function _0x34fdd1(_0x422003){const _0x34335a=_0x20c9af;_0x422003['_closeTimer']=setTimeout(_0x422003[_0x34335a(0x1cd)][_0x34335a(0x31b)]['bind'](_0x422003[_0x34335a(0x1cd)]),_0x1558ce);}function _0x335c5e(){const _0x211a2e=_0x20c9af,_0x4bb7c0=this[_0x2e419f];this[_0x211a2e(0x248)](_0x211a2e(0x25f),_0x335c5e),this[_0x211a2e(0x248)](_0x211a2e(0x32e),_0x99a04e),this[_0x211a2e(0x248)](_0x211a2e(0x298),_0x256562),_0x4bb7c0['_readyState']=_0x4fb982[_0x211a2e(0x236)];let _0x35143f;!this[_0x211a2e(0x1b3)][_0x211a2e(0x302)]&&!_0x4bb7c0[_0x211a2e(0x2a5)]&&!_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)]['errorEmitted']&&(_0x35143f=_0x4bb7c0[_0x211a2e(0x1cd)][_0x211a2e(0x240)]())!==null&&_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x225)](_0x35143f),_0x4bb7c0['_receiver'][_0x211a2e(0x298)](),this[_0x2e419f]=void 0x0,clearTimeout(_0x4bb7c0['_closeTimer']),_0x4bb7c0['_receiver']['_writableState'][_0x211a2e(0x34e)]||_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)][_0x211a2e(0x342)]?_0x4bb7c0[_0x211a2e(0x30e)]():(_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2fc),_0x53d017),_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2b1),_0x53d017));}function _0x99a04e(_0x4ed66e){const _0x369cc0=_0x20c9af;this[_0x2e419f][_0x369cc0(0x30a)]['write'](_0x4ed66e)||this[_0x369cc0(0x1c2)]();}function _0x256562(){const _0x1a12df=_0x20c9af,_0x5dae83=this[_0x2e419f];_0x5dae83[_0x1a12df(0x254)]=_0x4fb982[_0x1a12df(0x236)],_0x5dae83[_0x1a12df(0x30a)][_0x1a12df(0x298)](),this['end']();}function _0x4ce5f9(){const _0x175921=_0x20c9af,_0x25b4d5=this[_0x2e419f];this[_0x175921(0x248)](_0x175921(0x2fc),_0x4ce5f9),this['on']('error',_0x509624),_0x25b4d5&&(_0x25b4d5[_0x175921(0x254)]=_0x4fb982[_0x175921(0x236)],this[_0x175921(0x31b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3b8b1d}=_0x3ebcaa;function _0x1a2398(_0x114118){const _0x9d55b7=_0x5878;_0x114118[_0x9d55b7(0x24c)](_0x9d55b7(0x25f));}function _0x3163e2(){const _0x48410c=_0x5878;!this['destroyed']&&this[_0x48410c(0x34d)][_0x48410c(0x34e)]&&this[_0x48410c(0x31b)]();}function _0x9c2f92(_0x8be39a){const _0xfcee58=_0x5878;this[_0xfcee58(0x248)]('error',_0x9c2f92),this[_0xfcee58(0x31b)](),this[_0xfcee58(0x1fb)](_0xfcee58(0x2fc))===0x0&&this[_0xfcee58(0x24c)](_0xfcee58(0x2fc),_0x8be39a);}function _0x3931a3(_0x49bc2a,_0x40817d){const _0x1aa697=_0x5878;let _0x3ebbce=!0x0;const _0x3946d3=new _0x3b8b1d({..._0x40817d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x49bc2a['on'](_0x1aa697(0x26c),function(_0x236438,_0x48029d){const _0x3f3d45=_0x1aa697,_0x222f68=!_0x48029d&&_0x3946d3[_0x3f3d45(0x1b3)][_0x3f3d45(0x338)]?_0x236438[_0x3f3d45(0x1ec)]():_0x236438;_0x3946d3[_0x3f3d45(0x29f)](_0x222f68)||_0x49bc2a[_0x3f3d45(0x1c2)]();}),_0x49bc2a[_0x1aa697(0x275)]('error',function(_0x200365){const _0x2306b2=_0x1aa697;_0x3946d3[_0x2306b2(0x325)]||(_0x3ebbce=!0x1,_0x3946d3[_0x2306b2(0x31b)](_0x200365));}),_0x49bc2a[_0x1aa697(0x275)](_0x1aa697(0x25f),function(){const _0x241a91=_0x1aa697;_0x3946d3[_0x241a91(0x325)]||_0x3946d3[_0x241a91(0x29f)](null);}),_0x3946d3[_0x1aa697(0x213)]=function(_0x56f78d,_0x2aedc1){const _0x13f188=_0x1aa697;if(_0x49bc2a[_0x13f188(0x24b)]===_0x49bc2a[_0x13f188(0x269)]){_0x2aedc1(_0x56f78d),process[_0x13f188(0x1c5)](_0x1a2398,_0x3946d3);return;}let _0x5b3b45=!0x1;_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x2fc),function(_0x431f45){_0x5b3b45=!0x0,_0x2aedc1(_0x431f45);}),_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x25f),function(){const _0x424fe4=_0x13f188;_0x5b3b45||_0x2aedc1(_0x56f78d),process[_0x424fe4(0x1c5)](_0x1a2398,_0x3946d3);}),_0x3ebbce&&_0x49bc2a[_0x13f188(0x246)]();},_0x3946d3[_0x1aa697(0x2a4)]=function(_0x3b74f5){const _0x448035=_0x1aa697;if(_0x49bc2a[_0x448035(0x24b)]===_0x49bc2a[_0x448035(0x1dc)]){_0x49bc2a['once'](_0x448035(0x2d9),function(){const _0x4fe6bb=_0x448035;_0x3946d3[_0x4fe6bb(0x2a4)](_0x3b74f5);});return;}_0x49bc2a[_0x448035(0x1cd)]!==null&&(_0x49bc2a[_0x448035(0x1cd)]['_writableState'][_0x448035(0x34e)]?(_0x3b74f5(),_0x3946d3['_readableState'][_0x448035(0x302)]&&_0x3946d3[_0x448035(0x31b)]()):(_0x49bc2a[_0x448035(0x1cd)][_0x448035(0x275)](_0x448035(0x2b1),function(){_0x3b74f5();}),_0x49bc2a[_0x448035(0x25f)]()));},_0x3946d3[_0x1aa697(0x1e9)]=function(){const _0x268bee=_0x1aa697;_0x49bc2a['isPaused']&&_0x49bc2a[_0x268bee(0x33e)]();},_0x3946d3[_0x1aa697(0x21b)]=function(_0x56ae3e,_0x33aefa,_0x4b42db){const _0x384571=_0x1aa697;if(_0x49bc2a[_0x384571(0x24b)]===_0x49bc2a[_0x384571(0x1dc)]){_0x49bc2a[_0x384571(0x275)]('open',function(){const _0x10ebd5=_0x384571;_0x3946d3[_0x10ebd5(0x21b)](_0x56ae3e,_0x33aefa,_0x4b42db);});return;}_0x49bc2a['send'](_0x56ae3e,_0x4b42db);},_0x3946d3['on'](_0x1aa697(0x298),_0x3163e2),_0x3946d3['on'](_0x1aa697(0x2fc),_0x9c2f92),_0x3946d3;}return Oe=_0x3931a3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x28dd7f}=ne();function _0x581b88(_0xee0849){const _0x347b38=_0x5878,_0x5ae9bd=new Set();let _0x539bbf=-0x1,_0x212f93=-0x1,_0x5edea8=0x0;for(_0x5edea8;_0x5edea8<_0xee0849[_0x347b38(0x29d)];_0x5edea8++){const _0x507381=_0xee0849[_0x347b38(0x2a6)](_0x5edea8);if(_0x212f93===-0x1&&_0x28dd7f[_0x507381]===0x1)_0x539bbf===-0x1&&(_0x539bbf=_0x5edea8);else{if(_0x5edea8!==0x0&&(_0x507381===0x20||_0x507381===0x9))_0x212f93===-0x1&&_0x539bbf!==-0x1&&(_0x212f93=_0x5edea8);else{if(_0x507381===0x2c){if(_0x539bbf===-0x1)throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);_0x212f93===-0x1&&(_0x212f93=_0x5edea8);const _0x3d7b16=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x212f93);if(_0x5ae9bd['has'](_0x3d7b16))throw new SyntaxError(_0x347b38(0x1b9)+_0x3d7b16+_0x347b38(0x346));_0x5ae9bd[_0x347b38(0x2dd)](_0x3d7b16),_0x539bbf=_0x212f93=-0x1;}else throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);}}}if(_0x539bbf===-0x1||_0x212f93!==-0x1)throw new SyntaxError(_0x347b38(0x247));const _0x5769d7=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x5edea8);if(_0x5ae9bd['has'](_0x5769d7))throw new SyntaxError(_0x347b38(0x1b9)+_0x5769d7+_0x347b38(0x346));return _0x5ae9bd[_0x347b38(0x2dd)](_0x5769d7),_0x5ae9bd;}return Ce={'parse':_0x581b88},Ce;}var Te,ot;function er(){const _0x35cade=_0x3b2d4f;if(ot)return Te;ot=0x1;const _0x3e452d=_0x285de2,_0x46fddf=_0x4c53ad,{Duplex:_0x4daa1e}=_0x3ebcaa,{createHash:_0x545204}=_0x31487d,_0x5d68b3=pt(),_0x5db51b=he(),_0x3c9431=Jt(),_0x3ac168=Ie(),{GUID:_0x20adb1,kWebSocket:_0x10b794}=V(),_0x19060=/^[+/0-9A-Za-z]{22}==$/,_0x4a60df=0x0,_0x47b19d=0x1,_0x141bdb=0x2;class _0x100056 extends _0x3e452d{constructor(_0x3c45c0,_0x2831af){const _0x3c8eeb=_0x5878;if(super(),_0x3c45c0={'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':_0x3ac168,..._0x3c45c0},_0x3c45c0[_0x3c8eeb(0x220)]==null&&!_0x3c45c0[_0x3c8eeb(0x1fe)]&&!_0x3c45c0[_0x3c8eeb(0x2c7)]||_0x3c45c0[_0x3c8eeb(0x220)]!=null&&(_0x3c45c0['server']||_0x3c45c0['noServer'])||_0x3c45c0[_0x3c8eeb(0x1fe)]&&_0x3c45c0[_0x3c8eeb(0x2c7)])throw new TypeError(_0x3c8eeb(0x26f));if(_0x3c45c0['port']!=null?(this[_0x3c8eeb(0x33f)]=_0x46fddf[_0x3c8eeb(0x2fd)]((_0x415f61,_0x4dd64b)=>{const _0x3bb6b4=_0x3c8eeb,_0x1e1773=_0x46fddf[_0x3bb6b4(0x212)][0x1aa];_0x4dd64b['writeHead'](0x1aa,{'Content-Length':_0x1e1773['length'],'Content-Type':'text/plain'}),_0x4dd64b[_0x3bb6b4(0x298)](_0x1e1773);}),this[_0x3c8eeb(0x33f)][_0x3c8eeb(0x25c)](_0x3c45c0[_0x3c8eeb(0x220)],_0x3c45c0[_0x3c8eeb(0x2e0)],_0x3c45c0[_0x3c8eeb(0x27b)],_0x2831af)):_0x3c45c0['server']&&(this[_0x3c8eeb(0x33f)]=_0x3c45c0['server']),this[_0x3c8eeb(0x33f)]){const _0x42cbc0=this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,_0x3c8eeb(0x1d3));this[_0x3c8eeb(0x2e2)]=_0x1bb3ec(this['_server'],{'listening':this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,'listening'),'error':this[_0x3c8eeb(0x24c)]['bind'](this,_0x3c8eeb(0x2fc)),'upgrade':(_0x3856cc,_0x2f1280,_0x560d23)=>{const _0x15ccde=_0x3c8eeb;this[_0x15ccde(0x306)](_0x3856cc,_0x2f1280,_0x560d23,_0x42cbc0);}});}_0x3c45c0[_0x3c8eeb(0x1d2)]===!0x0&&(_0x3c45c0[_0x3c8eeb(0x1d2)]={}),_0x3c45c0[_0x3c8eeb(0x300)]&&(this[_0x3c8eeb(0x1c6)]=new Set(),this[_0x3c8eeb(0x1cc)]=!0x1),this['options']=_0x3c45c0,this['_state']=_0x4a60df;}[_0x35cade(0x2fe)](){const _0x32ae03=_0x35cade;if(this[_0x32ae03(0x274)][_0x32ae03(0x2c7)])throw new Error(_0x32ae03(0x1c1));return this['_server']?this[_0x32ae03(0x33f)][_0x32ae03(0x2fe)]():null;}['close'](_0x2ae13e){const _0x3a2082=_0x35cade;if(this[_0x3a2082(0x2e6)]===_0x141bdb){_0x2ae13e&&this['once'](_0x3a2082(0x25f),()=>{const _0x3b8340=_0x3a2082;_0x2ae13e(new Error(_0x3b8340(0x322)));}),process['nextTick'](_0x32a463,this);return;}if(_0x2ae13e&&this['once'](_0x3a2082(0x25f),_0x2ae13e),this[_0x3a2082(0x2e6)]!==_0x47b19d){if(this[_0x3a2082(0x2e6)]=_0x47b19d,this[_0x3a2082(0x274)][_0x3a2082(0x2c7)]||this[_0x3a2082(0x274)][_0x3a2082(0x1fe)])this['_server']&&(this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null),this[_0x3a2082(0x1c6)]?this[_0x3a2082(0x1c6)]['size']?this['_shouldEmitClose']=!0x0:process[_0x3a2082(0x1c5)](_0x32a463,this):process['nextTick'](_0x32a463,this);else{const _0x43d803=this[_0x3a2082(0x33f)];this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null,_0x43d803[_0x3a2082(0x25f)](()=>{_0x32a463(this);});}}}[_0x35cade(0x1b1)](_0x35dbbf){const _0x5f079b=_0x35cade;if(this[_0x5f079b(0x274)][_0x5f079b(0x229)]){const _0x54a149=_0x35dbbf['url'][_0x5f079b(0x26d)]('?');if((_0x54a149!==-0x1?_0x35dbbf[_0x5f079b(0x278)][_0x5f079b(0x284)](0x0,_0x54a149):_0x35dbbf[_0x5f079b(0x278)])!==this[_0x5f079b(0x274)][_0x5f079b(0x229)])return!0x1;}return!0x0;}[_0x35cade(0x306)](_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f){const _0x9e7d45=_0x35cade;_0x3be40a['on'](_0x9e7d45(0x2fc),_0x93babf);const _0xcab2f2=_0x2b0856[_0x9e7d45(0x1c7)]['sec-websocket-key'],_0x24cfc2=_0x2b0856[_0x9e7d45(0x1c7)]['upgrade'],_0x3f86e0=+_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x244)];if(_0x2b0856[_0x9e7d45(0x2a1)]!=='GET'){_0x5872a0(this,_0x2b0856,_0x3be40a,0x195,_0x9e7d45(0x2ef));return;}if(_0x24cfc2===void 0x0||_0x24cfc2[_0x9e7d45(0x1ef)]()!==_0x9e7d45(0x2af)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x30c));return;}if(_0xcab2f2===void 0x0||!_0x19060[_0x9e7d45(0x2d6)](_0xcab2f2)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x223));return;}if(_0x3f86e0!==0x8&&_0x3f86e0!==0xd){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x34f));return;}if(!this[_0x9e7d45(0x1b1)](_0x2b0856)){_0x5ea0cc(_0x3be40a,0x190);return;}const _0x29abd9=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x251)];let _0x4f7ee7=new Set();if(_0x29abd9!==void 0x0)try{_0x4f7ee7=_0x3c9431[_0x9e7d45(0x33b)](_0x29abd9);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x101c93=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x21d)],_0x380b2e={};if(this[_0x9e7d45(0x274)]['perMessageDeflate']&&_0x101c93!==void 0x0){const _0x2df4e5=new _0x5db51b(this[_0x9e7d45(0x274)][_0x9e7d45(0x1d2)],!0x0,this[_0x9e7d45(0x274)][_0x9e7d45(0x1d1)]);try{const _0x1d2c25=_0x5d68b3[_0x9e7d45(0x33b)](_0x101c93);_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]&&(_0x2df4e5[_0x9e7d45(0x2d5)](_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]),_0x380b2e[_0x5db51b[_0x9e7d45(0x23e)]]=_0x2df4e5);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x9e7d45(0x25e)]){const _0x2569f6={'origin':_0x2b0856[_0x9e7d45(0x1c7)][''+(_0x3f86e0===0x8?_0x9e7d45(0x2e7):'origin')],'secure':!!(_0x2b0856['socket'][_0x9e7d45(0x241)]||_0x2b0856[_0x9e7d45(0x23d)][_0x9e7d45(0x214)]),'req':_0x2b0856};if(this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)][_0x9e7d45(0x29d)]===0x2){this['options']['verifyClient'](_0x2569f6,(_0x5121ce,_0x49c1e5,_0x310486,_0x1d7dd4)=>{const _0x56dddb=_0x9e7d45;if(!_0x5121ce)return _0x5ea0cc(_0x3be40a,_0x49c1e5||0x191,_0x310486,_0x1d7dd4);this[_0x56dddb(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);});return;}if(!this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)](_0x2569f6))return _0x5ea0cc(_0x3be40a,0x191);}this[_0x9e7d45(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);}[_0x35cade(0x1e6)](_0x5e7247,_0x299d81,_0x17542b,_0x2fcfed,_0x7628ca,_0x4c226e,_0x28245a){const _0x43ae46=_0x35cade;if(!_0x7628ca[_0x43ae46(0x326)]||!_0x7628ca['writable'])return _0x7628ca[_0x43ae46(0x31b)]();if(_0x7628ca[_0x10b794])throw new Error(_0x43ae46(0x315));if(this[_0x43ae46(0x2e6)]>_0x4a60df)return _0x5ea0cc(_0x7628ca,0x1f7);const _0x5d58d5=[_0x43ae46(0x242),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x43ae46(0x2d4)+_0x545204(_0x43ae46(0x224))[_0x43ae46(0x2b2)](_0x299d81+_0x20adb1)[_0x43ae46(0x344)]('base64')],_0x51266e=new this['options'][(_0x43ae46(0x350))](null,void 0x0,this['options']);if(_0x17542b[_0x43ae46(0x1bb)]){const _0x5f3854=this[_0x43ae46(0x274)]['handleProtocols']?this[_0x43ae46(0x274)][_0x43ae46(0x1f0)](_0x17542b,_0x2fcfed):_0x17542b[_0x43ae46(0x2b7)]()[_0x43ae46(0x1e2)]()[_0x43ae46(0x2f8)];_0x5f3854&&(_0x5d58d5[_0x43ae46(0x29f)]('Sec-WebSocket-Protocol:\x20'+_0x5f3854),_0x51266e['_protocol']=_0x5f3854);}if(_0x5e7247[_0x5db51b['extensionName']]){const _0x3ecb96=_0x5e7247[_0x5db51b[_0x43ae46(0x23e)]][_0x43ae46(0x25a)],_0x10c330=_0x5d68b3[_0x43ae46(0x2f1)]({[_0x5db51b[_0x43ae46(0x23e)]]:[_0x3ecb96]});_0x5d58d5[_0x43ae46(0x29f)](_0x43ae46(0x216)+_0x10c330),_0x51266e[_0x43ae46(0x2bd)]=_0x5e7247;}this[_0x43ae46(0x24c)](_0x43ae46(0x1c7),_0x5d58d5,_0x2fcfed),_0x7628ca[_0x43ae46(0x225)](_0x5d58d5[_0x43ae46(0x314)]('\x0d\x0a')[_0x43ae46(0x28a)]('\x0d\x0a')),_0x7628ca[_0x43ae46(0x248)]('error',_0x93babf),_0x51266e[_0x43ae46(0x289)](_0x7628ca,_0x4c226e,{'allowSynchronousEvents':this[_0x43ae46(0x274)][_0x43ae46(0x318)],'maxPayload':this[_0x43ae46(0x274)][_0x43ae46(0x1d1)],'skipUTF8Validation':this[_0x43ae46(0x274)][_0x43ae46(0x2f3)]}),this['clients']&&(this[_0x43ae46(0x1c6)][_0x43ae46(0x2dd)](_0x51266e),_0x51266e['on']('close',()=>{const _0x52c0c3=_0x43ae46;this['clients'][_0x52c0c3(0x27c)](_0x51266e),this[_0x52c0c3(0x1cc)]&&!this[_0x52c0c3(0x1c6)][_0x52c0c3(0x1bb)]&&process[_0x52c0c3(0x1c5)](_0x32a463,this);})),_0x28245a(_0x51266e,_0x2fcfed);}}Te=_0x100056;function _0x1bb3ec(_0x57e855,_0xb533d6){for(const _0x4e42d4 of Object['keys'](_0xb533d6))_0x57e855['on'](_0x4e42d4,_0xb533d6[_0x4e42d4]);return function(){const _0x30aff7=_0x5878;for(const _0x59c021 of Object[_0x30aff7(0x235)](_0xb533d6))_0x57e855[_0x30aff7(0x248)](_0x59c021,_0xb533d6[_0x59c021]);};}function _0x32a463(_0x50b8b5){const _0x547772=_0x35cade;_0x50b8b5[_0x547772(0x2e6)]=_0x141bdb,_0x50b8b5[_0x547772(0x24c)](_0x547772(0x25f));}function _0x93babf(){const _0x278464=_0x35cade;this[_0x278464(0x31b)]();}function _0x5ea0cc(_0xddbecc,_0x314d99,_0xcaf91b,_0x182d61){const _0xa5b7e1=_0x35cade;_0xcaf91b=_0xcaf91b||_0x46fddf[_0xa5b7e1(0x212)][_0x314d99],_0x182d61={'Connection':_0xa5b7e1(0x25f),'Content-Type':_0xa5b7e1(0x279),'Content-Length':Buffer['byteLength'](_0xcaf91b),..._0x182d61},_0xddbecc[_0xa5b7e1(0x275)](_0xa5b7e1(0x2b1),_0xddbecc[_0xa5b7e1(0x31b)]),_0xddbecc[_0xa5b7e1(0x298)]('HTTP/1.1\x20'+_0x314d99+'\x20'+_0x46fddf[_0xa5b7e1(0x212)][_0x314d99]+'\x0d\x0a'+Object[_0xa5b7e1(0x235)](_0x182d61)[_0xa5b7e1(0x2d2)](_0x1eea92=>_0x1eea92+':\x20'+_0x182d61[_0x1eea92])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xcaf91b);}function _0x5872a0(_0x5f2151,_0x252fe2,_0x282e3a,_0x59642d,_0x575e68){const _0x3acaca=_0x35cade;if(_0x5f2151[_0x3acaca(0x1fb)](_0x3acaca(0x1fd))){const _0x228191=new Error(_0x575e68);Error[_0x3acaca(0x1ba)](_0x228191,_0x5872a0),_0x5f2151[_0x3acaca(0x24c)]('wsClientError',_0x228191,_0x282e3a,_0x252fe2);}else _0x5ea0cc(_0x282e3a,_0x59642d,_0x575e68);}return Te;}er();function _0x5878(_0xfb7f70,_0x179349){const _0xaa379f=_0xaa37();return _0x5878=function(_0x58789c,_0x5a3dbc){_0x58789c=_0x58789c-0x1b1;let _0x2523c3=_0xaa379f[_0x58789c];return _0x2523c3;},_0x5878(_0xfb7f70,_0x179349);}var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4f22fd,_0x31433b,_0x4d9bdc,_0x22d54a)=>{for(var _0x211001=_0x22d54a>0x1?void 0x0:_0x22d54a?tr(_0x31433b,_0x4d9bdc):_0x31433b,_0x2e2d1a=_0x4f22fd['length']-0x1,_0x3ab649;_0x2e2d1a>=0x0;_0x2e2d1a--)(_0x3ab649=_0x4f22fd[_0x2e2d1a])&&(_0x211001=_0x3ab649(_0x211001)||_0x211001);return _0x211001;},sr=(_0x6bffcd,_0x5b8c4a)=>(_0x30a556,_0x38320c)=>_0x5b8c4a(_0x30a556,_0x38320c,_0x6bffcd);let Ne=class extends _0x5d8c1e{constructor(_0x25e1ac){super(),this['_configService']=_0x25e1ac;}[_0x3b2d4f(0x30f)](_0x1671f4){const _0x1b6bf8=_0x3b2d4f;var _0x4cb640;const _0x3cecc8=(_0x4cb640=this[_0x1b6bf8(0x203)][_0x1b6bf8(0x283)](Be))==null?void 0x0:_0x4cb640[_0x1b6bf8(0x2ab)];try{const _0xc102f6=new Qt(_0x1671f4,{'headers':{..._0x3cecc8}}),_0x37acf3=new _0x4bfb28();return{'URL':_0x1671f4,'close':(_0x104118,_0x2ce825)=>{const _0x15ba70=_0x1b6bf8;_0xc102f6[_0x15ba70(0x25f)](_0x104118,_0x2ce825),_0x37acf3[_0x15ba70(0x1eb)]();},'send':_0x33ba2d=>{const _0x1b0cda=_0x1b6bf8;_0xc102f6[_0x1b0cda(0x1c0)](_0x33ba2d);},'open$':new _0x2f42c6(_0x27a8ea=>{const _0x448db4=_0x1b6bf8,_0x1fba1e=_0x4f9c41=>_0x27a8ea['next'](_0x4f9c41);_0xc102f6[_0x448db4(0x27a)](_0x448db4(0x2d9),_0x1fba1e),_0x37acf3[_0x448db4(0x2dd)](_0x2cc068(()=>_0xc102f6[_0x448db4(0x276)](_0x448db4(0x2d9),_0x1fba1e)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'close$':new _0x2f42c6(_0x1a5958=>{const _0xdb77b9=_0x1b6bf8,_0x4cbee8=_0x1423ad=>_0x1a5958[_0xdb77b9(0x1e2)](_0x1423ad);_0xc102f6[_0xdb77b9(0x27a)]('close',_0x4cbee8),_0x37acf3[_0xdb77b9(0x2dd)](_0x2cc068(()=>_0xc102f6[_0xdb77b9(0x276)]('close',_0x4cbee8)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'error$':new _0x2f42c6(_0x479bb9=>{const _0x131f06=_0x1b6bf8,_0x8eefd0=_0x51db33=>_0x479bb9[_0x131f06(0x1e2)](_0x51db33);_0xc102f6[_0x131f06(0x27a)]('error',_0x8eefd0),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x131f06(0x276)](_0x131f06(0x2fc),_0x8eefd0)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'message$':new _0x2f42c6(_0x37ba76=>{const _0x1152b7=_0x1b6bf8,_0x1f99ce=_0x10b522=>_0x37ba76[_0x1152b7(0x1e2)](_0x10b522);_0xc102f6[_0x1152b7(0x27a)](_0x1152b7(0x26c),_0x1f99ce),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x1152b7(0x276)](_0x1152b7(0x26c),_0x1f99ce)));})[_0x1b6bf8(0x243)](_0x1b1d90())};}catch(_0x5ae11d){return console[_0x1b6bf8(0x2fc)](_0x5ae11d),null;}}};Ne=rr([sr(0x0,_0x3172c0)],Ne);var ir=Object[_0x3b2d4f(0x1b5)],nr=Object[_0x3b2d4f(0x2f0)],or=(_0x763092,_0x5b3825,_0x583dee)=>_0x5b3825 in _0x763092?ir(_0x763092,_0x5b3825,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583dee}):_0x763092[_0x5b3825]=_0x583dee,ar=(_0x433151,_0x5da165,_0x249cc5,_0x7a5dee)=>{const _0x2a9a0d=_0x3b2d4f;for(var _0x4f08ee=_0x7a5dee>0x1?void 0x0:_0x7a5dee?nr(_0x5da165,_0x249cc5):_0x5da165,_0x631251=_0x433151[_0x2a9a0d(0x29d)]-0x1,_0x190078;_0x631251>=0x0;_0x631251--)(_0x190078=_0x433151[_0x631251])&&(_0x4f08ee=_0x190078(_0x4f08ee)||_0x4f08ee);return _0x4f08ee;},ke=(_0x484778,_0x103e67)=>(_0x4fe281,_0x164330)=>_0x103e67(_0x4fe281,_0x164330,_0x484778),lr=(_0x11d948,_0x3cc680,_0x308eed)=>or(_0x11d948,_0x3cc680+'',_0x308eed);let Pe=class extends _0x3b72c9{constructor(_0x3ab005=Ft,_0x216eaf,_0x475c8f,_0x33108e){const _0xb6667b=_0x3b2d4f;_0x3ab005['customHeaders']||_0x216eaf[_0xb6667b(0x226)](_0xb6667b(0x2a2)),super(),this[_0xb6667b(0x203)]=_0x475c8f,this[_0xb6667b(0x263)]=_0x33108e,this[_0xb6667b(0x203)][_0xb6667b(0x2ff)](Be,_0x3ab005);}[_0x3b2d4f(0x1f4)](){const _0x4bae1c=_0x3b2d4f;this[_0x4bae1c(0x21a)]();}['_registerDependencies'](){const _0x53a2f6=_0x3b2d4f;_0x1351e9(this[_0x53a2f6(0x263)],[[_0xe99879,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3b2d4f(0x286)),Pe=ar([_0x285740(_0x3c982b),ke(0x1,_0x3ba426),ke(0x2,_0x3172c0),ke(0x3,_0x204b9c(_0x14fdda))],Pe);var fr=Object[_0x3b2d4f(0x2f0)],cr=(_0x37ed76,_0x25540d,_0x4686bf,_0x458a31)=>{const _0x5b1068=_0x3b2d4f;for(var _0x71dd17=_0x458a31>0x1?void 0x0:_0x458a31?fr(_0x25540d,_0x4686bf):_0x25540d,_0x4b0bc6=_0x37ed76[_0x5b1068(0x29d)]-0x1,_0x2f401f;_0x4b0bc6>=0x0;_0x4b0bc6--)(_0x2f401f=_0x37ed76[_0x4b0bc6])&&(_0x71dd17=_0x2f401f(_0x71dd17)||_0x71dd17);return _0x71dd17;},se=(_0x31e521,_0x2a1163)=>(_0x1637b0,_0x5db644)=>_0x2a1163(_0x1637b0,_0x5db644,_0x31e521);let at=class extends _0x533d18{constructor(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60){const _0x2fc3b6=_0x3b2d4f;super(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60);const _0x1f0714=this['_configService'][_0x2fc3b6(0x283)](Be);this[_0x2fc3b6(0x345)][_0x2fc3b6(0x1b2)]({'interceptor':(_0x5cfafc,_0x4e82b5)=>{const _0x27c168=_0x2fc3b6;var _0x473fbd;const _0x747f1b=_0x5cfafc[_0x27c168(0x1c7)];return(_0x473fbd=_0x1f0714==null?void 0x0:_0x1f0714[_0x27c168(0x2ab)])!=null&&_0x473fbd[_0x27c168(0x311)]&&_0x747f1b[_0x27c168(0x340)](_0x27c168(0x356),_0x1f0714[_0x27c168(0x2ab)]['cookie']),_0x4e82b5(_0x5cfafc);}});}async[_0x3b2d4f(0x30f)](_0x496051){const _0x4abdb9=_0x3b2d4f;return this[_0x4abdb9(0x335)](_0x496051);}};at=cr([se(0x0,_0x204b9c(_0x14fdda)),se(0x1,_0x204b9c(_0x528a46)),se(0x2,_0x3172c0),se(0x3,_0x3ba426),se(0x4,_0x2490b9)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0xc4267b=_0x42e2;(function(_0x39b11b,_0x5a3cf5){const _0x2698ea=_0x42e2,_0x337143=_0x39b11b();while(!![]){try{const _0x56c9cb=-parseInt(_0x2698ea(0x166))/0x1+-parseInt(_0x2698ea(0x302))/0x2*(-parseInt(_0x2698ea(0x1eb))/0x3)+parseInt(_0x2698ea(0x181))/0x4+parseInt(_0x2698ea(0x16c))/0x5+-parseInt(_0x2698ea(0x23c))/0x6*(parseInt(_0x2698ea(0x248))/0x7)+-parseInt(_0x2698ea(0x27a))/0x8*(-parseInt(_0x2698ea(0x1fa))/0x9)+-parseInt(_0x2698ea(0x236))/0xa*(-parseInt(_0x2698ea(0x21a))/0xb);if(_0x56c9cb===_0x5a3cf5)break;else _0x337143['push'](_0x337143['shift']());}catch(_0x18a26f){_0x337143['push'](_0x337143['shift']());}}}(_0x35d4,0x7a90c));import{UniverCollaborationClientPlugin as _0x5bf9df,CollaborationSocketService as _0x1732df}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4d4dc,DisposableCollection as _0x5cfc04,toDisposable as _0x5a1a12,IConfigService as _0x57bb5f,DependentOn as _0x25ffca,ILogService as _0x37933a,Inject as _0x5d6a3a,Injector as _0x4cb68d,Plugin as _0x485cd3,registerDependencies as _0x5cd8e2}from'@univerjs/core';import{ISocketService as _0x4ecddb,HTTPService as _0x32765b}from'@univerjs/network';import{Observable as _0x6566c5,share as _0xc1b973}from'rxjs';import _0x5efd75 from'events';import _0x302ef0 from'https';function _0x35d4(){const _0x120213=['nodebuffer','invalid\x20opcode\x200','text/plain','_opcode','port','https:','_paused','Unknown\x20parameter\x20\x22','Invalid\x20Upgrade\x20header','createInflateRaw','drain','listenerCount','1940607DnngxP','delete','FIN\x20must\x20be\x20set','cork','protocol','Invalid\x20Sec-WebSocket-Extensions\x20header','compress','send','\x22:\x20','Sec-WebSocket-Protocol','Upgrade:\x20websocket','encrypted','reset','indexOf','_bufferedAmount','length','_bufferedBytes','HTTP/1.1\x20101\x20Switching\x20Protocols','sec-websocket-version','address','serverMaxWindowBits','method','test','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_errored','request','readOnly','connect','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','createConnection','generateMask','clients','462URhWBb','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','values','conclude','GET','normalizeParams','_protocol','host','pong','_closeMessage','_closeCode','decompress','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_registerDependencies','kData','_originalHostOrSocketPath','function','data','_totalPayloadLength','wasClean','startsWith','opcode','_write','password','WS_ERR_INVALID_UTF8','__esModule','Sec-WebSocket-Accept:\x20','Z_DEFAULT_WINDOWBITS','114490DGCmVa','object','end','origin','_payloadLength','once','2565672vCWlHh','WS_ERR_UNEXPECTED_RSV_1','statusCode','clientNoContextTakeover','noServer','rsv1','server','zlibInflateOptions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','connection','_final','allocUnsafe','14IWCIje','_compressed','options','maskBuffer','getOwnPropertyDescriptor','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','digest','Cookie','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','followRedirects','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','createError','completeUpgrade','location','Max\x20payload\x20size\x20exceeded','keys','search','join','nextTick','_threshold','invalid\x20UTF-8\x20sequence','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','servername','needDrain','exports','_loop','unshift','kIsForOnEventAttribute','set','client_no_context_takeover','from','string','abort','isPaused','_skipUTF8Validation','writeHead','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_configService','pending','onmessage','message','errorEmitted','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','setSocket','unmask','offer','CLOSED','_messageLength','8EXYqKE','server_max_window_bits','code','_deflate','concurrencyLimit','_readyState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','destroy','_server','pause','getBlobData','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','finished','error','_fin','Origin','isIP','CLOSING','resume','apply','byteLength','clientMaxWindowBits','read','_originalSecure','customHeaders','sec-websocket-protocol','_originalIpc','href','_removeListeners','sendFrame','protocolVersion','onclose','onerror','invalid\x20payload\x20length\x20','invalid\x20opcode\x20','buffer','isValidUTF8','create','Unexpected\x20end\x20of\x20input','bind','_maxPayload','CONNECTING','kListener','\x22\x20subprotocol\x20is\x20duplicated','number','write','getData','arrayBuffer','http:','createServer','Blob','threshold','stream','status-code','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','isInteger','kAborted','_closeFrameSent','shouldHandle','haveLength','env','maxPayload','_autoPong','The\x20URL\x27s\x20pathname\x20is\x20empty','enqueue','writeUInt16BE','wsClientError','isServer','_readableState','mask','acceptAsClient','authorization','OPEN','onopen','_binaryType','uncork','warn','defaultPort','Sec-WebSocket-Extensions:\x20','cookie','default','_socket','readUInt32BE','_allowSynchronousEvents','_max_window_bits','STATUS_CODES','hash','getPayloadLength64','_closeTimer','url','socket','update','serverNoContextTakeover','ws:','readUInt16BE','onStarting','callback','species','target','_req','captureStackTrace','_destroy','then','concurrency','dispatch','kReason','call','dequeue','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_no_context_takeover','_compress','client_max_window_bits','_doCreateSocket','size','destroyed','websocket','The\x20server\x20is\x20not\x20running','_httpService','entries','toLowerCase','has','acceptAsServer','_isServer','slice','isArray','\x22\x20must\x20have\x20only\x20a\x20single\x20value','authorized','verifyClient','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-origin','terminate','Server\x20sent\x20an\x20invalid\x20subprotocol','path','_shouldEmitClose','removeAllListeners','2xRMDlN','_receiver','alloc','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pluginName','WebSocket\x20is\x20not\x20open:\x20readyState\x20','autoPong','wss:','client','pathname','setHeader','Sec-WebSocket-Origin','_options','dataMessage','socketPath','_inflate','permessage-deflate','accept','catch','_redirects','_writableState','583724wbJJwu','_closeFrameReceived','_buffers','Module','emitClose','createSocket','885315QRmMDE','isView','HTTP/1.1\x20','perMessageDeflate','removeListener','_fragments','Parameter\x20\x22','handleProtocols','removeEventListener','push','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','auth','Sec-WebSocket-Protocol:\x20','setTimeout','writeUIntBE','objectMode','kDone','setNoDelay','hostname','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','sha1','899220tCCzHq','timeout','_masked','bufferedAmount','Z_SYNC_FLUSH','concat','_firstFragment','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_maskBuffer','fragments','replace','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toString','startLoop','cleanup','_url','_extensions','endEmitted','_queue','byteOffset','includes','readable','allowSynchronousEvents','_injector','constructor','WS_ERR_EXPECTED_MASK','handleUpgrade','RSV1\x20must\x20be\x20clear','controlMessage','blob','construct','pipe','open','addEventListener','find','jobs','Maximum\x20redirects\x20exceeded','next','setConfig','WS_ERR_INVALID_OPCODE','frame','getMask','extensionName','dispose','kByteLength','readyState','Unexpected\x20character\x20at\x20index\x20','params','listen','format','_mask','getConfig','hasOwnProperty','WS_NO_BUFFER_UTIL','kMessage','Connection:\x20Upgrade','forEach','map','WS_ERR_UNEXPECTED_MASK','MASK\x20must\x20be\x20clear','charCodeAt','kRun','headers','defineProperty','_sender','add','_state','ping','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','close','prototype','sec-websocket-key','text/html','\x20(supported\x20versions:\x20','invalid\x20status\x20code\x20','Server\x20sent\x20no\x20subprotocol','base64','WS_ERR_EXPECTED_FIN','listeners','reason','arraybuffer','Invalid\x20URL:\x20','binaryType','finish','upgrade','emit','writable','sec-websocket-accept','flush','consume','value','pow','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','server_no_context_takeover','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','Upgrade','fin','_fragmented','type','skipUTF8Validation','Basic\x20','toStringTag','finishRequest','_generateMask','shift','2527881rUzgpp','freeze','_errorEmitted'];_0x35d4=function(){return _0x120213;};return _0x35d4();}import _0x120c00 from'http';import _0x2a6982 from'net';import _0x3fbfc6 from'tls';import _0x5454a from'crypto';import _0x333975 from'stream';import _0x591f21 from'url';import _0x53f25a from'zlib';import _0x138038 from'buffer';import{ISnapshotServerService as _0x23ad22}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x1ff67f){const _0x311ec4=_0x42e2;return _0x1ff67f&&_0x1ff67f[_0x311ec4(0x233)]&&Object[_0x311ec4(0x1c7)][_0x311ec4(0x1b5)][_0x311ec4(0x2e5)](_0x1ff67f,_0x311ec4(0x2cb))?_0x1ff67f[_0x311ec4(0x2cb)]:_0x1ff67f;}function ut(_0x427804){const _0x54fc1a=_0x42e2;if(Object['prototype']['hasOwnProperty'][_0x54fc1a(0x2e5)](_0x427804,_0x54fc1a(0x233)))return _0x427804;var _0x104181=_0x427804[_0x54fc1a(0x2cb)];if(typeof _0x104181==_0x54fc1a(0x22a)){var _0x210f3e=function _0x21fcb7(){const _0x1e5eb6=_0x54fc1a;return this instanceof _0x21fcb7?Reflect[_0x1e5eb6(0x19f)](_0x104181,arguments,this[_0x1e5eb6(0x199)]):_0x104181['apply'](this,arguments);};_0x210f3e[_0x54fc1a(0x1c7)]=_0x104181[_0x54fc1a(0x1c7)];}else _0x210f3e={};return Object['defineProperty'](_0x210f3e,_0x54fc1a(0x233),{'value':!0x0}),Object[_0x54fc1a(0x258)](_0x427804)[_0x54fc1a(0x1b9)](function(_0x2eb9d0){const _0x4a3cdd=_0x54fc1a;var _0x5dc633=Object[_0x4a3cdd(0x24c)](_0x427804,_0x2eb9d0);Object[_0x4a3cdd(0x1c0)](_0x210f3e,_0x2eb9d0,_0x5dc633['get']?_0x5dc633:{'enumerable':!0x0,'get':function(){return _0x427804[_0x2eb9d0];}});}),_0x210f3e;}var te={'exports':{}},ge,Ye;function V(){const _0x225c34=_0x42e2;if(Ye)return ge;Ye=0x1;const _0x1f2d1c=[_0x225c34(0x1ee),_0x225c34(0x1d1),_0x225c34(0x18a)],_0x2a39d3=typeof Blob<'u';return _0x2a39d3&&_0x1f2d1c[_0x225c34(0x175)](_0x225c34(0x19e)),ge={'BINARY_TYPES':_0x1f2d1c,'EMPTY_BUFFER':Buffer[_0x225c34(0x304)](0x0),'GUID':_0x225c34(0x25f),'hasBlob':_0x2a39d3,'kForOnEventAttribute':Symbol(_0x225c34(0x265)),'kListener':Symbol(_0x225c34(0x2a4)),'kStatusCode':Symbol(_0x225c34(0x2af)),'kWebSocket':Symbol(_0x225c34(0x2ee)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xc4267b(0x1ec)](Object[_0xc4267b(0x1c0)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0xc4267b(0x169)})),Vt=ut(Gt);var Ke;function ce(){const _0x187702=_0xc4267b;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0xf0a35a}=V(),_0x423f7d=Buffer[Symbol[_0x187702(0x2dc)]];function _0x288cfc(_0x866cbb,_0x1316f8){const _0x3f43e8=_0x187702;if(_0x866cbb[_0x3f43e8(0x209)]===0x0)return _0xf0a35a;if(_0x866cbb['length']===0x1)return _0x866cbb[0x0];const _0x3df470=Buffer[_0x3f43e8(0x247)](_0x1316f8);let _0x37a940=0x0;for(let _0x306403=0x0;_0x306403<_0x866cbb['length'];_0x306403++){const _0xd13f12=_0x866cbb[_0x306403];_0x3df470['set'](_0xd13f12,_0x37a940),_0x37a940+=_0xd13f12[_0x3f43e8(0x209)];}return _0x37a940<_0x1316f8?new _0x423f7d(_0x3df470[_0x3f43e8(0x29d)],_0x3df470[_0x3f43e8(0x194)],_0x37a940):_0x3df470;}function _0x52d564(_0x30835d,_0x3fbebb,_0x5dfe09,_0x1ec42f,_0xb85aa6){for(let _0xaee222=0x0;_0xaee222<_0xb85aa6;_0xaee222++)_0x5dfe09[_0x1ec42f+_0xaee222]=_0x30835d[_0xaee222]^_0x3fbebb[_0xaee222&0x3];}function _0x803b24(_0xa28e71,_0x2f69d0){const _0x4739cb=_0x187702;for(let _0x5b5ae9=0x0;_0x5b5ae9<_0xa28e71[_0x4739cb(0x209)];_0x5b5ae9++)_0xa28e71[_0x5b5ae9]^=_0x2f69d0[_0x5b5ae9&0x3];}function _0x5e1a4c(_0xa0c943){const _0x3db11b=_0x187702;return _0xa0c943[_0x3db11b(0x209)]===_0xa0c943['buffer'][_0x3db11b(0x28e)]?_0xa0c943[_0x3db11b(0x29d)]:_0xa0c943[_0x3db11b(0x29d)][_0x3db11b(0x2f6)](_0xa0c943[_0x3db11b(0x194)],_0xa0c943[_0x3db11b(0x194)]+_0xa0c943[_0x3db11b(0x209)]);}function _0x5780a7(_0x5ca59a){const _0x23665d=_0x187702;if(_0x5780a7['readOnly']=!0x0,Buffer['isBuffer'](_0x5ca59a))return _0x5ca59a;let _0x3388b3;return _0x5ca59a instanceof ArrayBuffer?_0x3388b3=new _0x423f7d(_0x5ca59a):ArrayBuffer[_0x23665d(0x16d)](_0x5ca59a)?_0x3388b3=new _0x423f7d(_0x5ca59a[_0x23665d(0x29d)],_0x5ca59a[_0x23665d(0x194)],_0x5ca59a[_0x23665d(0x28e)]):(_0x3388b3=Buffer[_0x23665d(0x268)](_0x5ca59a),_0x5780a7['readOnly']=!0x1),_0x3388b3;}if(te['exports']={'concat':_0x288cfc,'mask':_0x52d564,'toArrayBuffer':_0x5e1a4c,'toBuffer':_0x5780a7,'unmask':_0x803b24},!process[_0x187702(0x2b7)][_0x187702(0x1b6)])try{const _0x3c8a20=Vt;te[_0x187702(0x262)][_0x187702(0x2c0)]=function(_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8){_0x1063a8<0x30?_0x52d564(_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8):_0x3c8a20['mask'](_0x256664,_0x36e662,_0x3e9494,_0x13f5ac,_0x1063a8);},te[_0x187702(0x262)]['unmask']=function(_0x548172,_0x1166ca){const _0x29525b=_0x187702;_0x548172['length']<0x20?_0x803b24(_0x548172,_0x1166ca):_0x3c8a20[_0x29525b(0x276)](_0x548172,_0x1166ca);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x3997ca=_0xc4267b;if(Xe)return ye;Xe=0x1;const _0x53ccde=Symbol(_0x3997ca(0x17c)),_0x3d75ca=Symbol(_0x3997ca(0x1be));class _0x113d24{constructor(_0x182069){const _0x56606f=_0x3997ca;this[_0x53ccde]=()=>{this['pending']--,this[_0x3d75ca]();},this['concurrency']=_0x182069||0x1/0x0,this[_0x56606f(0x1a4)]=[],this['pending']=0x0;}[_0x3997ca(0x1c2)](_0x31117c){const _0x5e2209=_0x3997ca;this[_0x5e2209(0x1a4)]['push'](_0x31117c),this[_0x3d75ca]();}[_0x3d75ca](){const _0x1a32a4=_0x3997ca;if(this[_0x1a32a4(0x270)]!==this[_0x1a32a4(0x2e2)]&&this[_0x1a32a4(0x1a4)][_0x1a32a4(0x209)]){const _0x171649=this[_0x1a32a4(0x1a4)][_0x1a32a4(0x1ea)]();this[_0x1a32a4(0x270)]++,_0x171649(this[_0x53ccde]);}}}return ye=_0x113d24,ye;}var ve,Ze;function he(){const _0x557c16=_0xc4267b;if(Ze)return ve;Ze=0x1;const _0x138b8c=_0x53f25a,_0x3eb740=ce(),_0x13c1d3=qt(),{kStatusCode:_0x4de4d8}=V(),_0x31a4d7=Buffer[Symbol[_0x557c16(0x2dc)]],_0x195cdd=Buffer[_0x557c16(0x268)]([0x0,0x0,0xff,0xff]),_0x54cdb9=Symbol(_0x557c16(0x312)),_0x11fc30=Symbol('total-length'),_0x52ceee=Symbol(_0x557c16(0x2db)),_0x273b07=Symbol('buffers'),_0x474f3c=Symbol(_0x557c16(0x287));let _0x18f9bf;class _0x3bb9b5{constructor(_0x4f795e,_0x544856,_0x21db76){const _0xefecc1=_0x557c16;if(this[_0xefecc1(0x2a2)]=_0x21db76|0x0,this['_options']=_0x4f795e||{},this[_0xefecc1(0x25c)]=this[_0xefecc1(0x30e)]['threshold']!==void 0x0?this[_0xefecc1(0x30e)][_0xefecc1(0x2ad)]:0x400,this['_isServer']=!!_0x544856,this[_0xefecc1(0x27d)]=null,this[_0xefecc1(0x311)]=null,this['params']=null,!_0x18f9bf){const _0x18090f=this[_0xefecc1(0x30e)][_0xefecc1(0x27e)]!==void 0x0?this[_0xefecc1(0x30e)][_0xefecc1(0x27e)]:0xa;_0x18f9bf=new _0x13c1d3(_0x18090f);}}static get[_0x557c16(0x1ab)](){const _0xe167b3=_0x557c16;return _0xe167b3(0x312);}[_0x557c16(0x277)](){const _0x138344=_0x557c16,_0x5f0eb4={};return this['_options'][_0x138344(0x2d7)]&&(_0x5f0eb4['server_no_context_takeover']=!0x0),this['_options'][_0x138344(0x23f)]&&(_0x5f0eb4[_0x138344(0x267)]=!0x0),this[_0x138344(0x30e)][_0x138344(0x20e)]&&(_0x5f0eb4[_0x138344(0x27b)]=this[_0x138344(0x30e)]['serverMaxWindowBits']),this[_0x138344(0x30e)]['clientMaxWindowBits']?_0x5f0eb4[_0x138344(0x2ea)]=this['_options']['clientMaxWindowBits']:this[_0x138344(0x30e)][_0x138344(0x28f)]==null&&(_0x5f0eb4[_0x138344(0x2ea)]=!0x0),_0x5f0eb4;}[_0x557c16(0x162)](_0x1153ee){const _0xc45dcd=_0x557c16;return _0x1153ee=this['normalizeParams'](_0x1153ee),this[_0xc45dcd(0x1b0)]=this['_isServer']?this[_0xc45dcd(0x2f4)](_0x1153ee):this['acceptAsClient'](_0x1153ee),this[_0xc45dcd(0x1b0)];}[_0x557c16(0x18f)](){const _0x55b601=_0x557c16;if(this[_0x55b601(0x311)]&&(this['_inflate'][_0x55b601(0x1c6)](),this[_0x55b601(0x311)]=null),this[_0x55b601(0x27d)]){const _0x1a1b13=this[_0x55b601(0x27d)][_0x52ceee];this[_0x55b601(0x27d)]['close'](),this[_0x55b601(0x27d)]=null,_0x1a1b13&&_0x1a1b13(new Error(_0x55b601(0x211)));}}[_0x557c16(0x2f4)](_0x135fc6){const _0x42d3f5=_0x557c16,_0x1b4de5=this[_0x42d3f5(0x30e)],_0x2b1149=_0x135fc6[_0x42d3f5(0x1a3)](_0x98d182=>!(_0x1b4de5[_0x42d3f5(0x2d7)]===!0x1&&_0x98d182[_0x42d3f5(0x1df)]||_0x98d182[_0x42d3f5(0x27b)]&&(_0x1b4de5[_0x42d3f5(0x20e)]===!0x1||typeof _0x1b4de5['serverMaxWindowBits']=='number'&&_0x1b4de5[_0x42d3f5(0x20e)]>_0x98d182[_0x42d3f5(0x27b)])||typeof _0x1b4de5['clientMaxWindowBits']=='number'&&!_0x98d182[_0x42d3f5(0x2ea)]));if(!_0x2b1149)throw new Error(_0x42d3f5(0x2b1));return _0x1b4de5[_0x42d3f5(0x2d7)]&&(_0x2b1149['server_no_context_takeover']=!0x0),_0x1b4de5['clientNoContextTakeover']&&(_0x2b1149['client_no_context_takeover']=!0x0),typeof _0x1b4de5[_0x42d3f5(0x20e)]==_0x42d3f5(0x2a6)&&(_0x2b1149[_0x42d3f5(0x27b)]=_0x1b4de5[_0x42d3f5(0x20e)]),typeof _0x1b4de5[_0x42d3f5(0x28f)]==_0x42d3f5(0x2a6)?_0x2b1149['client_max_window_bits']=_0x1b4de5[_0x42d3f5(0x28f)]:(_0x2b1149[_0x42d3f5(0x2ea)]===!0x0||_0x1b4de5[_0x42d3f5(0x28f)]===!0x1)&&delete _0x2b1149[_0x42d3f5(0x2ea)],_0x2b1149;}[_0x557c16(0x2c1)](_0x16b9ec){const _0x30fdfa=_0x557c16,_0x515428=_0x16b9ec[0x0];if(this[_0x30fdfa(0x30e)][_0x30fdfa(0x23f)]===!0x1&&_0x515428[_0x30fdfa(0x267)])throw new Error(_0x30fdfa(0x305));if(!_0x515428['client_max_window_bits'])typeof this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)]==_0x30fdfa(0x2a6)&&(_0x515428[_0x30fdfa(0x2ea)]=this['_options']['clientMaxWindowBits']);else{if(this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)]===!0x1||typeof this['_options'][_0x30fdfa(0x28f)]==_0x30fdfa(0x2a6)&&_0x515428[_0x30fdfa(0x2ea)]>this[_0x30fdfa(0x30e)][_0x30fdfa(0x28f)])throw new Error(_0x30fdfa(0x274));}return _0x515428;}[_0x557c16(0x21f)](_0x35b271){const _0x92942e=_0x557c16;return _0x35b271[_0x92942e(0x1b9)](_0x1542f5=>{const _0x3e9850=_0x92942e;Object[_0x3e9850(0x258)](_0x1542f5)['forEach'](_0x587a28=>{const _0x4c0d53=_0x3e9850;let _0xc2da38=_0x1542f5[_0x587a28];if(_0xc2da38[_0x4c0d53(0x209)]>0x1)throw new Error(_0x4c0d53(0x172)+_0x587a28+_0x4c0d53(0x2f8));if(_0xc2da38=_0xc2da38[0x0],_0x587a28===_0x4c0d53(0x2ea)){if(_0xc2da38!==!0x0){const _0x2e0ca5=+_0xc2da38;if(!Number[_0x4c0d53(0x2b2)](_0x2e0ca5)||_0x2e0ca5<0x8||_0x2e0ca5>0xf)throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);_0xc2da38=_0x2e0ca5;}else{if(!this['_isServer'])throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);}}else{if(_0x587a28===_0x4c0d53(0x27b)){const _0x20bcea=+_0xc2da38;if(!Number['isInteger'](_0x20bcea)||_0x20bcea<0x8||_0x20bcea>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);_0xc2da38=_0x20bcea;}else{if(_0x587a28===_0x4c0d53(0x267)||_0x587a28===_0x4c0d53(0x1df)){if(_0xc2da38!==!0x0)throw new TypeError(_0x4c0d53(0x253)+_0x587a28+_0x4c0d53(0x202)+_0xc2da38);}else throw new Error(_0x4c0d53(0x1f5)+_0x587a28+'\x22');}}_0x1542f5[_0x587a28]=_0xc2da38;});}),_0x35b271;}[_0x557c16(0x225)](_0x250391,_0x1b7ec9,_0x184c19){const _0x3478a6=_0x557c16;_0x18f9bf[_0x3478a6(0x1c2)](_0x597312=>{const _0xd57753=_0x3478a6;this[_0xd57753(0x252)](_0x250391,_0x1b7ec9,(_0x187db5,_0x279223)=>{_0x597312(),_0x184c19(_0x187db5,_0x279223);});});}['compress'](_0x2d2722,_0x30a774,_0x14875c){const _0x1a4f5c=_0x557c16;_0x18f9bf[_0x1a4f5c(0x1c2)](_0x1a9863=>{const _0x3322c1=_0x1a4f5c;this[_0x3322c1(0x2e9)](_0x2d2722,_0x30a774,(_0x4e6f25,_0x315dd1)=>{_0x1a9863(),_0x14875c(_0x4e6f25,_0x315dd1);});});}[_0x557c16(0x252)](_0x25beb5,_0x10a954,_0x237e33){const _0x2da051=_0x557c16,_0x4049a4=this['_isServer']?_0x2da051(0x30a):'server';if(!this[_0x2da051(0x311)]){const _0x47a621=_0x4049a4+'_max_window_bits',_0x4ae6fa=typeof this[_0x2da051(0x1b0)][_0x47a621]!=_0x2da051(0x2a6)?_0x138b8c[_0x2da051(0x235)]:this[_0x2da051(0x1b0)][_0x47a621];this[_0x2da051(0x311)]=_0x138b8c[_0x2da051(0x1f7)]({...this[_0x2da051(0x30e)][_0x2da051(0x243)],'windowBits':_0x4ae6fa}),this[_0x2da051(0x311)][_0x54cdb9]=this,this[_0x2da051(0x311)][_0x11fc30]=0x0,this[_0x2da051(0x311)][_0x273b07]=[],this[_0x2da051(0x311)]['on']('error',_0x382049),this[_0x2da051(0x311)]['on'](_0x2da051(0x22b),_0xe16f57);}this[_0x2da051(0x311)][_0x52ceee]=_0x237e33,this[_0x2da051(0x311)][_0x2da051(0x2a7)](_0x25beb5),_0x10a954&&this['_inflate'][_0x2da051(0x2a7)](_0x195cdd),this[_0x2da051(0x311)][_0x2da051(0x1d9)](()=>{const _0xba6748=_0x2da051,_0x23a63c=this[_0xba6748(0x311)][_0x474f3c];if(_0x23a63c){this['_inflate'][_0xba6748(0x1c6)](),this[_0xba6748(0x311)]=null,_0x237e33(_0x23a63c);return;}const _0x44b2e6=_0x3eb740[_0xba6748(0x186)](this[_0xba6748(0x311)][_0x273b07],this[_0xba6748(0x311)][_0x11fc30]);this[_0xba6748(0x311)]['_readableState'][_0xba6748(0x192)]?(this['_inflate']['close'](),this[_0xba6748(0x311)]=null):(this[_0xba6748(0x311)][_0x11fc30]=0x0,this[_0xba6748(0x311)][_0x273b07]=[],_0x10a954&&this[_0xba6748(0x1b0)][_0x4049a4+_0xba6748(0x2e8)]&&this['_inflate']['reset']()),_0x237e33(null,_0x44b2e6);});}[_0x557c16(0x2e9)](_0xbf0f5a,_0x2431c9,_0x1933a3){const _0x434ab5=_0x557c16,_0x57fa46=this['_isServer']?_0x434ab5(0x242):_0x434ab5(0x30a);if(!this[_0x434ab5(0x27d)]){const _0xfb54d7=_0x57fa46+_0x434ab5(0x2cf),_0x5743eb=typeof this['params'][_0xfb54d7]!='number'?_0x138b8c[_0x434ab5(0x235)]:this['params'][_0xfb54d7];this[_0x434ab5(0x27d)]=_0x138b8c['createDeflateRaw']({...this[_0x434ab5(0x30e)]['zlibDeflateOptions'],'windowBits':_0x5743eb}),this[_0x434ab5(0x27d)][_0x11fc30]=0x0,this['_deflate'][_0x273b07]=[],this[_0x434ab5(0x27d)]['on'](_0x434ab5(0x22b),_0x421129);}this['_deflate'][_0x52ceee]=_0x1933a3,this[_0x434ab5(0x27d)][_0x434ab5(0x2a7)](_0xbf0f5a),this['_deflate'][_0x434ab5(0x1d9)](_0x138b8c[_0x434ab5(0x185)],()=>{const _0x1d1117=_0x434ab5;if(!this[_0x1d1117(0x27d)])return;let _0x2ca02e=_0x3eb740[_0x1d1117(0x186)](this['_deflate'][_0x273b07],this[_0x1d1117(0x27d)][_0x11fc30]);_0x2431c9&&(_0x2ca02e=new _0x31a4d7(_0x2ca02e[_0x1d1117(0x29d)],_0x2ca02e[_0x1d1117(0x194)],_0x2ca02e[_0x1d1117(0x209)]-0x4)),this[_0x1d1117(0x27d)][_0x52ceee]=null,this[_0x1d1117(0x27d)][_0x11fc30]=0x0,this[_0x1d1117(0x27d)][_0x273b07]=[],_0x2431c9&&this[_0x1d1117(0x1b0)][_0x57fa46+_0x1d1117(0x2e8)]&&this[_0x1d1117(0x27d)][_0x1d1117(0x206)](),_0x1933a3(null,_0x2ca02e);});}}ve=_0x3bb9b5;function _0x421129(_0xed8720){const _0x160789=_0x557c16;this[_0x273b07][_0x160789(0x175)](_0xed8720),this[_0x11fc30]+=_0xed8720['length'];}function _0xe16f57(_0x92f6ac){const _0x856fe5=_0x557c16;if(this[_0x11fc30]+=_0x92f6ac[_0x856fe5(0x209)],this[_0x54cdb9][_0x856fe5(0x2a2)]<0x1||this[_0x11fc30]<=this[_0x54cdb9]['_maxPayload']){this[_0x273b07]['push'](_0x92f6ac);return;}this[_0x474f3c]=new RangeError(_0x856fe5(0x257)),this[_0x474f3c]['code']=_0x856fe5(0x17f),this[_0x474f3c][_0x4de4d8]=0x3f1,this[_0x856fe5(0x170)](_0x856fe5(0x22b),_0xe16f57),this[_0x856fe5(0x206)]();}function _0x382049(_0x152ea9){this[_0x54cdb9]['_inflate']=null,_0x152ea9[_0x4de4d8]=0x3ef,this[_0x52ceee](_0x152ea9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc4267b(0x1ec)](Object[_0xc4267b(0x1c0)]({'__proto__':null,'default':Ht},Symbol[_0xc4267b(0x1e7)],{'value':_0xc4267b(0x169)})),Yt=ut(zt);var Qe;function ne(){const _0x3ff2bf=_0xc4267b;if(Qe)return re[_0x3ff2bf(0x262)];Qe=0x1;const {isUtf8:_0x49873f}=_0x138038,{hasBlob:_0x500a65}=V(),_0xa01f0a=[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 _0x363764(_0x27e140){return _0x27e140>=0x3e8&&_0x27e140<=0x3f6&&_0x27e140!==0x3ec&&_0x27e140!==0x3ed&&_0x27e140!==0x3ee||_0x27e140>=0xbb8&&_0x27e140<=0x1387;}function _0x39fac7(_0x917880){const _0x2fa202=_0x3ff2bf,_0x4b50e7=_0x917880[_0x2fa202(0x209)];let _0x20d57d=0x0;for(;_0x20d57d<_0x4b50e7;)if((_0x917880[_0x20d57d]&0x80)===0x0)_0x20d57d++;else{if((_0x917880[_0x20d57d]&0xe0)===0xc0){if(_0x20d57d+0x1===_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d]&0xfe)===0xc0)return!0x1;_0x20d57d+=0x2;}else{if((_0x917880[_0x20d57d]&0xf0)===0xe0){if(_0x20d57d+0x2>=_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x2]&0xc0)!==0x80||_0x917880[_0x20d57d]===0xe0&&(_0x917880[_0x20d57d+0x1]&0xe0)===0x80||_0x917880[_0x20d57d]===0xed&&(_0x917880[_0x20d57d+0x1]&0xe0)===0xa0)return!0x1;_0x20d57d+=0x3;}else{if((_0x917880[_0x20d57d]&0xf8)===0xf0){if(_0x20d57d+0x3>=_0x4b50e7||(_0x917880[_0x20d57d+0x1]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x2]&0xc0)!==0x80||(_0x917880[_0x20d57d+0x3]&0xc0)!==0x80||_0x917880[_0x20d57d]===0xf0&&(_0x917880[_0x20d57d+0x1]&0xf0)===0x80||_0x917880[_0x20d57d]===0xf4&&_0x917880[_0x20d57d+0x1]>0x8f||_0x917880[_0x20d57d]>0xf4)return!0x1;_0x20d57d+=0x4;}else return!0x1;}}}return!0x0;}function _0x5adf1b(_0x2acb04){const _0x3c109b=_0x3ff2bf;return _0x500a65&&typeof _0x2acb04==_0x3c109b(0x237)&&typeof _0x2acb04[_0x3c109b(0x2a9)]==_0x3c109b(0x22a)&&typeof _0x2acb04[_0x3c109b(0x1e4)]==_0x3c109b(0x269)&&typeof _0x2acb04[_0x3c109b(0x2ae)]==_0x3c109b(0x22a)&&(_0x2acb04[Symbol['toStringTag']]===_0x3c109b(0x2ac)||_0x2acb04[Symbol[_0x3c109b(0x1e7)]]==='File');}if(re[_0x3ff2bf(0x262)]={'isBlob':_0x5adf1b,'isValidStatusCode':_0x363764,'isValidUTF8':_0x39fac7,'tokenChars':_0xa01f0a},_0x49873f)re[_0x3ff2bf(0x262)][_0x3ff2bf(0x29e)]=function(_0x3cd450){const _0x2b125e=_0x3ff2bf;return _0x3cd450[_0x2b125e(0x209)]<0x18?_0x39fac7(_0x3cd450):_0x49873f(_0x3cd450);};else{if(!process[_0x3ff2bf(0x2b7)]['WS_NO_UTF_8_VALIDATE'])try{const _0xc6ca90=Yt;re[_0x3ff2bf(0x262)][_0x3ff2bf(0x29e)]=function(_0x5c33ff){const _0x31da7a=_0x3ff2bf;return _0x5c33ff[_0x31da7a(0x209)]<0x20?_0x39fac7(_0x5c33ff):_0xc6ca90(_0x5c33ff);};}catch{}}return re[_0x3ff2bf(0x262)];}var Se,Je;function dt(){const _0x5780ca=_0xc4267b;if(Je)return Se;Je=0x1;const {Writable:_0x34d970}=_0x333975,_0x447c6b=he(),{BINARY_TYPES:_0x438cc8,EMPTY_BUFFER:_0x1f2f1f,kStatusCode:_0x3c7301,kWebSocket:_0x488f05}=V(),{concat:_0x16b212,toArrayBuffer:_0x2d6277,unmask:_0x1d059c}=ce(),{isValidStatusCode:_0x3cb270,isValidUTF8:_0x548468}=ne(),_0x4771ef=Buffer[Symbol['species']],_0xac160=0x0,_0x4d759a=0x1,_0x355204=0x2,_0x157e5d=0x3,_0x39dcaa=0x4,_0x1cfd5d=0x5,_0x317252=0x6;class _0x1938bc extends _0x34d970{constructor(_0x5ef053={}){const _0x3fc8f8=_0x42e2;super(),this[_0x3fc8f8(0x2ce)]=_0x5ef053[_0x3fc8f8(0x197)]!==void 0x0?_0x5ef053['allowSynchronousEvents']:!0x0,this[_0x3fc8f8(0x2c5)]=_0x5ef053[_0x3fc8f8(0x1d3)]||_0x438cc8[0x0],this[_0x3fc8f8(0x191)]=_0x5ef053['extensions']||{},this[_0x3fc8f8(0x2f5)]=!!_0x5ef053[_0x3fc8f8(0x2be)],this[_0x3fc8f8(0x2a2)]=_0x5ef053[_0x3fc8f8(0x2b8)]|0x0,this[_0x3fc8f8(0x26c)]=!!_0x5ef053[_0x3fc8f8(0x1e5)],this[_0x488f05]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3fc8f8(0x168)]=[],this[_0x3fc8f8(0x249)]=!0x1,this[_0x3fc8f8(0x23a)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0x3fc8f8(0x1f1)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3fc8f8(0x279)]=0x0,this['_fragments']=[],this[_0x3fc8f8(0x212)]=!0x1,this[_0x3fc8f8(0x263)]=!0x1,this[_0x3fc8f8(0x1c3)]=_0xac160;}[_0x5780ca(0x230)](_0x1aa9b0,_0x16c999,_0x4da893){const _0x2c849f=_0x5780ca;if(this[_0x2c849f(0x1f1)]===0x8&&this[_0x2c849f(0x1c3)]==_0xac160)return _0x4da893();this['_bufferedBytes']+=_0x1aa9b0[_0x2c849f(0x209)],this[_0x2c849f(0x168)][_0x2c849f(0x175)](_0x1aa9b0),this[_0x2c849f(0x18e)](_0x4da893);}[_0x5780ca(0x1da)](_0x3f0424){const _0x5204ca=_0x5780ca;if(this[_0x5204ca(0x20a)]-=_0x3f0424,_0x3f0424===this['_buffers'][0x0][_0x5204ca(0x209)])return this[_0x5204ca(0x168)][_0x5204ca(0x1ea)]();if(_0x3f0424<this['_buffers'][0x0][_0x5204ca(0x209)]){const _0x49ab00=this['_buffers'][0x0];return this[_0x5204ca(0x168)][0x0]=new _0x4771ef(_0x49ab00['buffer'],_0x49ab00[_0x5204ca(0x194)]+_0x3f0424,_0x49ab00[_0x5204ca(0x209)]-_0x3f0424),new _0x4771ef(_0x49ab00[_0x5204ca(0x29d)],_0x49ab00[_0x5204ca(0x194)],_0x3f0424);}const _0x2d6b4e=Buffer['allocUnsafe'](_0x3f0424);do{const _0x2098af=this[_0x5204ca(0x168)][0x0],_0x328e96=_0x2d6b4e[_0x5204ca(0x209)]-_0x3f0424;_0x3f0424>=_0x2098af[_0x5204ca(0x209)]?_0x2d6b4e['set'](this[_0x5204ca(0x168)][_0x5204ca(0x1ea)](),_0x328e96):(_0x2d6b4e['set'](new Uint8Array(_0x2098af['buffer'],_0x2098af[_0x5204ca(0x194)],_0x3f0424),_0x328e96),this[_0x5204ca(0x168)][0x0]=new _0x4771ef(_0x2098af[_0x5204ca(0x29d)],_0x2098af[_0x5204ca(0x194)]+_0x3f0424,_0x2098af[_0x5204ca(0x209)]-_0x3f0424)),_0x3f0424-=_0x2098af[_0x5204ca(0x209)];}while(_0x3f0424>0x0);return _0x2d6b4e;}[_0x5780ca(0x18e)](_0x152f1f){const _0x53e496=_0x5780ca;this[_0x53e496(0x263)]=!0x0;do switch(this[_0x53e496(0x1c3)]){case _0xac160:this['getInfo'](_0x152f1f);break;case _0x4d759a:this['getPayloadLength16'](_0x152f1f);break;case _0x355204:this['getPayloadLength64'](_0x152f1f);break;case _0x157e5d:this[_0x53e496(0x1aa)]();break;case _0x39dcaa:this[_0x53e496(0x2a8)](_0x152f1f);break;case _0x1cfd5d:case _0x317252:this[_0x53e496(0x263)]=!0x1;return;}while(this['_loop']);this[_0x53e496(0x212)]||_0x152f1f();}['getInfo'](_0x4b2334){const _0x1d1915=_0x5780ca;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x31e01d=this['consume'](0x2);if((_0x31e01d[0x0]&0x30)!==0x0){const _0x501f24=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x285),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4b2334(_0x501f24);return;}const _0x379225=(_0x31e01d[0x0]&0x40)===0x40;if(_0x379225&&!this[_0x1d1915(0x191)][_0x447c6b[_0x1d1915(0x1ab)]]){const _0x2a0275=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x2a0275);return;}if(this[_0x1d1915(0x288)]=(_0x31e01d[0x0]&0x80)===0x80,this[_0x1d1915(0x1f1)]=_0x31e01d[0x0]&0xf,this[_0x1d1915(0x23a)]=_0x31e01d[0x1]&0x7f,this[_0x1d1915(0x1f1)]===0x0){if(_0x379225){const _0x7edcd4=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x7edcd4);return;}if(!this[_0x1d1915(0x1e3)]){const _0x213d07=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1ef),!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x213d07);return;}this['_opcode']=this[_0x1d1915(0x1e3)];}else{if(this[_0x1d1915(0x1f1)]===0x1||this[_0x1d1915(0x1f1)]===0x2){if(this[_0x1d1915(0x1e3)]){const _0x1b3683=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29c)+this[_0x1d1915(0x1f1)],!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x1b3683);return;}this[_0x1d1915(0x249)]=_0x379225;}else{if(this[_0x1d1915(0x1f1)]>0x7&&this['_opcode']<0xb){if(!this[_0x1d1915(0x288)]){const _0x2d1d99=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1fc),!0x0,0x3ea,_0x1d1915(0x1ce));_0x4b2334(_0x2d1d99);return;}if(_0x379225){const _0x514572=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x19c),!0x0,0x3ea,_0x1d1915(0x23d));_0x4b2334(_0x514572);return;}if(this[_0x1d1915(0x23a)]>0x7d||this[_0x1d1915(0x1f1)]===0x8&&this[_0x1d1915(0x23a)]===0x1){const _0xc15972=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29b)+this[_0x1d1915(0x23a)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4b2334(_0xc15972);return;}}else{const _0x76e498=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x29c)+this[_0x1d1915(0x1f1)],!0x0,0x3ea,_0x1d1915(0x1a8));_0x4b2334(_0x76e498);return;}}}if(!this[_0x1d1915(0x288)]&&!this[_0x1d1915(0x1e3)]&&(this[_0x1d1915(0x1e3)]=this['_opcode']),this[_0x1d1915(0x183)]=(_0x31e01d[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x1d1915(0x183)]){const _0x3c2211=this[_0x1d1915(0x254)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x1d1915(0x19a));_0x4b2334(_0x3c2211);return;}}else{if(this[_0x1d1915(0x183)]){const _0x5ea1ec=this[_0x1d1915(0x254)](RangeError,_0x1d1915(0x1bc),!0x0,0x3ea,_0x1d1915(0x1bb));_0x4b2334(_0x5ea1ec);return;}}this[_0x1d1915(0x23a)]===0x7e?this['_state']=_0x4d759a:this['_payloadLength']===0x7f?this[_0x1d1915(0x1c3)]=_0x355204:this[_0x1d1915(0x2b6)](_0x4b2334);}['getPayloadLength16'](_0x493d81){const _0x7f6829=_0x5780ca;if(this['_bufferedBytes']<0x2){this[_0x7f6829(0x263)]=!0x1;return;}this['_payloadLength']=this[_0x7f6829(0x1da)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x493d81);}[_0x5780ca(0x2d2)](_0x3c7eff){const _0x488d8e=_0x5780ca;if(this['_bufferedBytes']<0x8){this[_0x488d8e(0x263)]=!0x1;return;}const _0xc3cf1a=this[_0x488d8e(0x1da)](0x8),_0x3c749c=_0xc3cf1a[_0x488d8e(0x2cd)](0x0);if(_0x3c749c>Math[_0x488d8e(0x1dc)](0x2,0x15)-0x1){const _0x29b55d=this[_0x488d8e(0x254)](RangeError,_0x488d8e(0x1de),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3c7eff(_0x29b55d);return;}this[_0x488d8e(0x23a)]=_0x3c749c*Math[_0x488d8e(0x1dc)](0x2,0x20)+_0xc3cf1a[_0x488d8e(0x2cd)](0x4),this[_0x488d8e(0x2b6)](_0x3c7eff);}[_0x5780ca(0x2b6)](_0x53a0d8){const _0x5cd0ec=_0x5780ca;if(this[_0x5cd0ec(0x23a)]&&this[_0x5cd0ec(0x1f1)]<0x8&&(this[_0x5cd0ec(0x22c)]+=this[_0x5cd0ec(0x23a)],this[_0x5cd0ec(0x22c)]>this[_0x5cd0ec(0x2a2)]&&this[_0x5cd0ec(0x2a2)]>0x0)){const _0x5452aa=this[_0x5cd0ec(0x254)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5cd0ec(0x17f));_0x53a0d8(_0x5452aa);return;}this['_masked']?this['_state']=_0x157e5d:this[_0x5cd0ec(0x1c3)]=_0x39dcaa;}['getMask'](){const _0x1f708b=_0x5780ca;if(this[_0x1f708b(0x20a)]<0x4){this[_0x1f708b(0x263)]=!0x1;return;}this['_mask']=this[_0x1f708b(0x1da)](0x4),this[_0x1f708b(0x1c3)]=_0x39dcaa;}[_0x5780ca(0x2a8)](_0x3c5452){const _0x562d9b=_0x5780ca;let _0x153a35=_0x1f2f1f;if(this[_0x562d9b(0x23a)]){if(this[_0x562d9b(0x20a)]<this['_payloadLength']){this[_0x562d9b(0x263)]=!0x1;return;}_0x153a35=this[_0x562d9b(0x1da)](this['_payloadLength']),this[_0x562d9b(0x183)]&&(this[_0x562d9b(0x1b3)][0x0]|this['_mask'][0x1]|this[_0x562d9b(0x1b3)][0x2]|this[_0x562d9b(0x1b3)][0x3])!==0x0&&_0x1d059c(_0x153a35,this['_mask']);}if(this[_0x562d9b(0x1f1)]>0x7){this[_0x562d9b(0x19d)](_0x153a35,_0x3c5452);return;}if(this['_compressed']){this[_0x562d9b(0x1c3)]=_0x1cfd5d,this[_0x562d9b(0x225)](_0x153a35,_0x3c5452);return;}_0x153a35['length']&&(this[_0x562d9b(0x279)]=this[_0x562d9b(0x22c)],this[_0x562d9b(0x171)][_0x562d9b(0x175)](_0x153a35)),this[_0x562d9b(0x30f)](_0x3c5452);}[_0x5780ca(0x225)](_0x483974,_0x4c6e1c){const _0x48bb47=_0x5780ca;this[_0x48bb47(0x191)][_0x447c6b[_0x48bb47(0x1ab)]][_0x48bb47(0x225)](_0x483974,this[_0x48bb47(0x288)],(_0x53efcb,_0x146e44)=>{const _0x3ead7f=_0x48bb47;if(_0x53efcb)return _0x4c6e1c(_0x53efcb);if(_0x146e44[_0x3ead7f(0x209)]){if(this[_0x3ead7f(0x279)]+=_0x146e44[_0x3ead7f(0x209)],this[_0x3ead7f(0x279)]>this[_0x3ead7f(0x2a2)]&&this['_maxPayload']>0x0){const _0x49335b=this[_0x3ead7f(0x254)](RangeError,_0x3ead7f(0x257),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4c6e1c(_0x49335b);return;}this[_0x3ead7f(0x171)][_0x3ead7f(0x175)](_0x146e44);}this[_0x3ead7f(0x30f)](_0x4c6e1c),this[_0x3ead7f(0x1c3)]===_0xac160&&this[_0x3ead7f(0x18e)](_0x4c6e1c);});}[_0x5780ca(0x30f)](_0x7ab60a){const _0x53a94d=_0x5780ca;if(!this['_fin']){this[_0x53a94d(0x1c3)]=_0xac160;return;}const _0x48481c=this[_0x53a94d(0x279)],_0x416b2c=this[_0x53a94d(0x171)];if(this[_0x53a94d(0x22c)]=0x0,this[_0x53a94d(0x279)]=0x0,this[_0x53a94d(0x1e3)]=0x0,this[_0x53a94d(0x171)]=[],this[_0x53a94d(0x1f1)]===0x2){let _0x4197a8;this[_0x53a94d(0x2c5)]===_0x53a94d(0x1ee)?_0x4197a8=_0x16b212(_0x416b2c,_0x48481c):this[_0x53a94d(0x2c5)]===_0x53a94d(0x1d1)?_0x4197a8=_0x2d6277(_0x16b212(_0x416b2c,_0x48481c)):this[_0x53a94d(0x2c5)]===_0x53a94d(0x19e)?_0x4197a8=new Blob(_0x416b2c):_0x4197a8=_0x416b2c,this[_0x53a94d(0x2ce)]?(this['emit'](_0x53a94d(0x272),_0x4197a8,!0x0),this[_0x53a94d(0x1c3)]=_0xac160):(this[_0x53a94d(0x1c3)]=_0x317252,setImmediate(()=>{const _0x148388=_0x53a94d;this['emit'](_0x148388(0x272),_0x4197a8,!0x0),this[_0x148388(0x1c3)]=_0xac160,this[_0x148388(0x18e)](_0x7ab60a);}));}else{const _0x1aabf9=_0x16b212(_0x416b2c,_0x48481c);if(!this[_0x53a94d(0x26c)]&&!_0x548468(_0x1aabf9)){const _0x3d06eb=this[_0x53a94d(0x254)](Error,_0x53a94d(0x25d),!0x0,0x3ef,_0x53a94d(0x232));_0x7ab60a(_0x3d06eb);return;}this[_0x53a94d(0x1c3)]===_0x1cfd5d||this['_allowSynchronousEvents']?(this[_0x53a94d(0x1d6)](_0x53a94d(0x272),_0x1aabf9,!0x1),this[_0x53a94d(0x1c3)]=_0xac160):(this[_0x53a94d(0x1c3)]=_0x317252,setImmediate(()=>{const _0x2785ce=_0x53a94d;this['emit'](_0x2785ce(0x272),_0x1aabf9,!0x1),this[_0x2785ce(0x1c3)]=_0xac160,this[_0x2785ce(0x18e)](_0x7ab60a);}));}}[_0x5780ca(0x19d)](_0x4b17d5,_0x48115d){const _0x175c67=_0x5780ca;if(this['_opcode']===0x8){if(_0x4b17d5[_0x175c67(0x209)]===0x0)this[_0x175c67(0x263)]=!0x1,this[_0x175c67(0x1d6)](_0x175c67(0x21d),0x3ed,_0x1f2f1f),this['end']();else{const _0x1c7222=_0x4b17d5[_0x175c67(0x2d9)](0x0);if(!_0x3cb270(_0x1c7222)){const _0x2fb22b=this['createError'](RangeError,_0x175c67(0x1cb)+_0x1c7222,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x48115d(_0x2fb22b);return;}const _0x2c351f=new _0x4771ef(_0x4b17d5['buffer'],_0x4b17d5[_0x175c67(0x194)]+0x2,_0x4b17d5[_0x175c67(0x209)]-0x2);if(!this[_0x175c67(0x26c)]&&!_0x548468(_0x2c351f)){const _0x2e3ac0=this[_0x175c67(0x254)](Error,_0x175c67(0x25d),!0x0,0x3ef,_0x175c67(0x232));_0x48115d(_0x2e3ac0);return;}this['_loop']=!0x1,this['emit'](_0x175c67(0x21d),_0x1c7222,_0x2c351f),this['end']();}this[_0x175c67(0x1c3)]=_0xac160;return;}this[_0x175c67(0x2ce)]?(this[_0x175c67(0x1d6)](this['_opcode']===0x9?'ping':'pong',_0x4b17d5),this[_0x175c67(0x1c3)]=_0xac160):(this[_0x175c67(0x1c3)]=_0x317252,setImmediate(()=>{const _0x1f4062=_0x175c67;this[_0x1f4062(0x1d6)](this[_0x1f4062(0x1f1)]===0x9?_0x1f4062(0x1c4):'pong',_0x4b17d5),this[_0x1f4062(0x1c3)]=_0xac160,this[_0x1f4062(0x18e)](_0x48115d);}));}[_0x5780ca(0x254)](_0x173da7,_0x53305d,_0x23cb2a,_0x454233,_0x107f3e){const _0x20cee1=_0x5780ca;this[_0x20cee1(0x263)]=!0x1,this[_0x20cee1(0x212)]=!0x0;const _0x5050bf=new _0x173da7(_0x23cb2a?'Invalid\x20WebSocket\x20frame:\x20'+_0x53305d:_0x53305d);return Error[_0x20cee1(0x2df)](_0x5050bf,this[_0x20cee1(0x254)]),_0x5050bf[_0x20cee1(0x27c)]=_0x107f3e,_0x5050bf[_0x3c7301]=_0x454233,_0x5050bf;}}return Se=_0x1938bc,Se;}var Ee,et;function _t(){const _0x2cc362=_0xc4267b;if(et)return Ee;et=0x1;const {Duplex:_0x1b587f}=_0x333975,{randomFillSync:_0x380c07}=_0x5454a,_0x28de63=he(),{EMPTY_BUFFER:_0x4d4798,kWebSocket:_0x597a70,NOOP:_0x223992}=V(),{isBlob:_0x1574c2,isValidStatusCode:_0x3fcec0}=ne(),{mask:_0x21ca5b,toBuffer:_0x4d0695}=ce(),_0x269f66=Symbol(_0x2cc362(0x1ad)),_0x3afe86=Buffer['alloc'](0x4),_0x32c95f=0x8*0x400;let _0x6d52ef,_0x1f292d=_0x32c95f;const _0x482a1f=0x0,_0x51315e=0x1,_0x107640=0x2;class _0x3f4d00{constructor(_0x5c64cf,_0xe1c82c,_0x5cb0b6){const _0x28afcf=_0x2cc362;this[_0x28afcf(0x191)]=_0xe1c82c||{},_0x5cb0b6&&(this[_0x28afcf(0x1e9)]=_0x5cb0b6,this[_0x28afcf(0x189)]=Buffer['alloc'](0x4)),this[_0x28afcf(0x2cc)]=_0x5c64cf,this['_firstFragment']=!0x0,this[_0x28afcf(0x2e9)]=!0x1,this[_0x28afcf(0x20a)]=0x0,this['_queue']=[],this[_0x28afcf(0x1c3)]=_0x482a1f,this[_0x28afcf(0x29a)]=_0x223992,this[_0x597a70]=void 0x0;}static['frame'](_0x3e6f9e,_0xbdfeb7){const _0x23e439=_0x2cc362;let _0x3a04de,_0x368aff=!0x1,_0x375bdc=0x2,_0x4fe5af=!0x1;_0xbdfeb7[_0x23e439(0x2c0)]&&(_0x3a04de=_0xbdfeb7[_0x23e439(0x24b)]||_0x3afe86,_0xbdfeb7[_0x23e439(0x218)]?_0xbdfeb7[_0x23e439(0x218)](_0x3a04de):(_0x1f292d===_0x32c95f&&(_0x6d52ef===void 0x0&&(_0x6d52ef=Buffer[_0x23e439(0x304)](_0x32c95f)),_0x380c07(_0x6d52ef,0x0,_0x32c95f),_0x1f292d=0x0),_0x3a04de[0x0]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x1]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x2]=_0x6d52ef[_0x1f292d++],_0x3a04de[0x3]=_0x6d52ef[_0x1f292d++]),_0x4fe5af=(_0x3a04de[0x0]|_0x3a04de[0x1]|_0x3a04de[0x2]|_0x3a04de[0x3])===0x0,_0x375bdc=0x6);let _0x51154d;typeof _0x3e6f9e=='string'?(!_0xbdfeb7[_0x23e439(0x2c0)]||_0x4fe5af)&&_0xbdfeb7[_0x269f66]!==void 0x0?_0x51154d=_0xbdfeb7[_0x269f66]:(_0x3e6f9e=Buffer['from'](_0x3e6f9e),_0x51154d=_0x3e6f9e[_0x23e439(0x209)]):(_0x51154d=_0x3e6f9e[_0x23e439(0x209)],_0x368aff=_0xbdfeb7['mask']&&_0xbdfeb7[_0x23e439(0x214)]&&!_0x4fe5af);let _0x356195=_0x51154d;_0x51154d>=0x10000?(_0x375bdc+=0x8,_0x356195=0x7f):_0x51154d>0x7d&&(_0x375bdc+=0x2,_0x356195=0x7e);const _0x41cc97=Buffer[_0x23e439(0x247)](_0x368aff?_0x51154d+_0x375bdc:_0x375bdc);return _0x41cc97[0x0]=_0xbdfeb7[_0x23e439(0x1e2)]?_0xbdfeb7[_0x23e439(0x22f)]|0x80:_0xbdfeb7[_0x23e439(0x22f)],_0xbdfeb7[_0x23e439(0x241)]&&(_0x41cc97[0x0]|=0x40),_0x41cc97[0x1]=_0x356195,_0x356195===0x7e?_0x41cc97[_0x23e439(0x2bc)](_0x51154d,0x2):_0x356195===0x7f&&(_0x41cc97[0x2]=_0x41cc97[0x3]=0x0,_0x41cc97[_0x23e439(0x17a)](_0x51154d,0x4,0x6)),_0xbdfeb7[_0x23e439(0x2c0)]?(_0x41cc97[0x1]|=0x80,_0x41cc97[_0x375bdc-0x4]=_0x3a04de[0x0],_0x41cc97[_0x375bdc-0x3]=_0x3a04de[0x1],_0x41cc97[_0x375bdc-0x2]=_0x3a04de[0x2],_0x41cc97[_0x375bdc-0x1]=_0x3a04de[0x3],_0x4fe5af?[_0x41cc97,_0x3e6f9e]:_0x368aff?(_0x21ca5b(_0x3e6f9e,_0x3a04de,_0x41cc97,_0x375bdc,_0x51154d),[_0x41cc97]):(_0x21ca5b(_0x3e6f9e,_0x3a04de,_0x3e6f9e,0x0,_0x51154d),[_0x41cc97,_0x3e6f9e])):[_0x41cc97,_0x3e6f9e];}[_0x2cc362(0x1c6)](_0xa56f49,_0x2385a0,_0x8a334c,_0x3d9dfa){const _0x2fced1=_0x2cc362;let _0x4b0d13;if(_0xa56f49===void 0x0)_0x4b0d13=_0x4d4798;else{if(typeof _0xa56f49!=_0x2fced1(0x2a6)||!_0x3fcec0(_0xa56f49))throw new TypeError(_0x2fced1(0x188));if(_0x2385a0===void 0x0||!_0x2385a0[_0x2fced1(0x209)])_0x4b0d13=Buffer[_0x2fced1(0x247)](0x2),_0x4b0d13[_0x2fced1(0x2bc)](_0xa56f49,0x0);else{const _0x2cc0cd=Buffer[_0x2fced1(0x28e)](_0x2385a0);if(_0x2cc0cd>0x7b)throw new RangeError(_0x2fced1(0x24d));_0x4b0d13=Buffer[_0x2fced1(0x247)](0x2+_0x2cc0cd),_0x4b0d13[_0x2fced1(0x2bc)](_0xa56f49,0x0),typeof _0x2385a0=='string'?_0x4b0d13[_0x2fced1(0x2a7)](_0x2385a0,0x2):_0x4b0d13[_0x2fced1(0x266)](_0x2385a0,0x2);}}const _0x210246={[_0x269f66]:_0x4b0d13[_0x2fced1(0x209)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x8a334c,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x482a1f?this[_0x2fced1(0x2bb)]([this[_0x2fced1(0x2e3)],_0x4b0d13,!0x1,_0x210246,_0x3d9dfa]):this[_0x2fced1(0x297)](_0x3f4d00[_0x2fced1(0x1a9)](_0x4b0d13,_0x210246),_0x3d9dfa);}['ping'](_0xd7f61,_0x2b2296,_0x1e42b1){const _0x815a86=_0x2cc362;let _0x66e4e4,_0x136ce8;if(typeof _0xd7f61==_0x815a86(0x269)?(_0x66e4e4=Buffer['byteLength'](_0xd7f61),_0x136ce8=!0x1):_0x1574c2(_0xd7f61)?(_0x66e4e4=_0xd7f61[_0x815a86(0x2ec)],_0x136ce8=!0x1):(_0xd7f61=_0x4d0695(_0xd7f61),_0x66e4e4=_0xd7f61[_0x815a86(0x209)],_0x136ce8=_0x4d0695['readOnly']),_0x66e4e4>0x7d)throw new RangeError(_0x815a86(0x226));const _0x42ed81={[_0x269f66]:_0x66e4e4,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2b2296,'maskBuffer':this[_0x815a86(0x189)],'opcode':0x9,'readOnly':_0x136ce8,'rsv1':!0x1};_0x1574c2(_0xd7f61)?this[_0x815a86(0x1c3)]!==_0x482a1f?this[_0x815a86(0x2bb)]([this[_0x815a86(0x284)],_0xd7f61,!0x1,_0x42ed81,_0x1e42b1]):this[_0x815a86(0x284)](_0xd7f61,!0x1,_0x42ed81,_0x1e42b1):this[_0x815a86(0x1c3)]!==_0x482a1f?this['enqueue']([this['dispatch'],_0xd7f61,!0x1,_0x42ed81,_0x1e42b1]):this[_0x815a86(0x297)](_0x3f4d00[_0x815a86(0x1a9)](_0xd7f61,_0x42ed81),_0x1e42b1);}[_0x2cc362(0x222)](_0x1822c6,_0x406438,_0x3bbdf6){const _0x541e71=_0x2cc362;let _0x39fb82,_0x11558d;if(typeof _0x1822c6==_0x541e71(0x269)?(_0x39fb82=Buffer[_0x541e71(0x28e)](_0x1822c6),_0x11558d=!0x1):_0x1574c2(_0x1822c6)?(_0x39fb82=_0x1822c6[_0x541e71(0x2ec)],_0x11558d=!0x1):(_0x1822c6=_0x4d0695(_0x1822c6),_0x39fb82=_0x1822c6['length'],_0x11558d=_0x4d0695[_0x541e71(0x214)]),_0x39fb82>0x7d)throw new RangeError(_0x541e71(0x226));const _0x175141={[_0x269f66]:_0x39fb82,'fin':!0x0,'generateMask':this[_0x541e71(0x1e9)],'mask':_0x406438,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x11558d,'rsv1':!0x1};_0x1574c2(_0x1822c6)?this[_0x541e71(0x1c3)]!==_0x482a1f?this[_0x541e71(0x2bb)]([this[_0x541e71(0x284)],_0x1822c6,!0x1,_0x175141,_0x3bbdf6]):this[_0x541e71(0x284)](_0x1822c6,!0x1,_0x175141,_0x3bbdf6):this[_0x541e71(0x1c3)]!==_0x482a1f?this[_0x541e71(0x2bb)]([this[_0x541e71(0x2e3)],_0x1822c6,!0x1,_0x175141,_0x3bbdf6]):this[_0x541e71(0x297)](_0x3f4d00['frame'](_0x1822c6,_0x175141),_0x3bbdf6);}['send'](_0x2c2efc,_0x36b28c,_0x4f79fd){const _0x57103e=_0x2cc362,_0x18aea3=this['_extensions'][_0x28de63[_0x57103e(0x1ab)]];let _0x2158a9=_0x36b28c['binary']?0x2:0x1,_0x5ed62e=_0x36b28c[_0x57103e(0x200)],_0x49c1b6,_0x51b5a3;typeof _0x2c2efc==_0x57103e(0x269)?(_0x49c1b6=Buffer[_0x57103e(0x28e)](_0x2c2efc),_0x51b5a3=!0x1):_0x1574c2(_0x2c2efc)?(_0x49c1b6=_0x2c2efc[_0x57103e(0x2ec)],_0x51b5a3=!0x1):(_0x2c2efc=_0x4d0695(_0x2c2efc),_0x49c1b6=_0x2c2efc[_0x57103e(0x209)],_0x51b5a3=_0x4d0695['readOnly']),this[_0x57103e(0x187)]?(this[_0x57103e(0x187)]=!0x1,_0x5ed62e&&_0x18aea3&&_0x18aea3[_0x57103e(0x1b0)][_0x18aea3[_0x57103e(0x2f5)]?_0x57103e(0x1df):_0x57103e(0x267)]&&(_0x5ed62e=_0x49c1b6>=_0x18aea3[_0x57103e(0x25c)]),this['_compress']=_0x5ed62e):(_0x5ed62e=!0x1,_0x2158a9=0x0),_0x36b28c[_0x57103e(0x1e2)]&&(this[_0x57103e(0x187)]=!0x0);const _0x1b2151={[_0x269f66]:_0x49c1b6,'fin':_0x36b28c['fin'],'generateMask':this[_0x57103e(0x1e9)],'mask':_0x36b28c[_0x57103e(0x2c0)],'maskBuffer':this[_0x57103e(0x189)],'opcode':_0x2158a9,'readOnly':_0x51b5a3,'rsv1':_0x5ed62e};_0x1574c2(_0x2c2efc)?this[_0x57103e(0x1c3)]!==_0x482a1f?this[_0x57103e(0x2bb)]([this[_0x57103e(0x284)],_0x2c2efc,this['_compress'],_0x1b2151,_0x4f79fd]):this[_0x57103e(0x284)](_0x2c2efc,this['_compress'],_0x1b2151,_0x4f79fd):this[_0x57103e(0x1c3)]!==_0x482a1f?this[_0x57103e(0x2bb)]([this[_0x57103e(0x2e3)],_0x2c2efc,this[_0x57103e(0x2e9)],_0x1b2151,_0x4f79fd]):this[_0x57103e(0x2e3)](_0x2c2efc,this[_0x57103e(0x2e9)],_0x1b2151,_0x4f79fd);}[_0x2cc362(0x284)](_0x5ade25,_0x57be36,_0x5d19e8,_0x228db6){const _0x4cbd48=_0x2cc362;this[_0x4cbd48(0x20a)]+=_0x5d19e8[_0x269f66],this[_0x4cbd48(0x1c3)]=_0x107640,_0x5ade25[_0x4cbd48(0x2a9)]()[_0x4cbd48(0x2e1)](_0x4969d1=>{const _0x205201=_0x4cbd48;if(this[_0x205201(0x2cc)][_0x205201(0x2ed)]){const _0x3609e3=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x205201(0x25b)](_0x187b6b,this,_0x3609e3,_0x228db6);return;}this['_bufferedBytes']-=_0x5d19e8[_0x269f66];const _0x453a58=_0x4d0695(_0x4969d1);_0x57be36?this[_0x205201(0x2e3)](_0x453a58,_0x57be36,_0x5d19e8,_0x228db6):(this['_state']=_0x482a1f,this[_0x205201(0x297)](_0x3f4d00[_0x205201(0x1a9)](_0x453a58,_0x5d19e8),_0x228db6),this[_0x205201(0x2e6)]());})[_0x4cbd48(0x163)](_0x2f5b22=>{const _0x4ea7be=_0x4cbd48;process[_0x4ea7be(0x25b)](_0x1ea3db,this,_0x2f5b22,_0x228db6);});}[_0x2cc362(0x2e3)](_0x17f285,_0x58cafc,_0x59d3d0,_0x82070c){const _0x5c16b5=_0x2cc362;if(!_0x58cafc){this['sendFrame'](_0x3f4d00[_0x5c16b5(0x1a9)](_0x17f285,_0x59d3d0),_0x82070c);return;}const _0x3eeb8c=this[_0x5c16b5(0x191)][_0x28de63['extensionName']];this[_0x5c16b5(0x20a)]+=_0x59d3d0[_0x269f66],this[_0x5c16b5(0x1c3)]=_0x51315e,_0x3eeb8c[_0x5c16b5(0x200)](_0x17f285,_0x59d3d0[_0x5c16b5(0x1e2)],(_0x3832d3,_0x568147)=>{const _0x43ef0a=_0x5c16b5;if(this[_0x43ef0a(0x2cc)][_0x43ef0a(0x2ed)]){const _0x3de513=new Error(_0x43ef0a(0x280));_0x187b6b(this,_0x3de513,_0x82070c);return;}this[_0x43ef0a(0x20a)]-=_0x59d3d0[_0x269f66],this[_0x43ef0a(0x1c3)]=_0x482a1f,_0x59d3d0[_0x43ef0a(0x214)]=!0x1,this[_0x43ef0a(0x297)](_0x3f4d00[_0x43ef0a(0x1a9)](_0x568147,_0x59d3d0),_0x82070c),this['dequeue']();});}[_0x2cc362(0x2e6)](){const _0x318399=_0x2cc362;for(;this[_0x318399(0x1c3)]===_0x482a1f&&this[_0x318399(0x193)][_0x318399(0x209)];){const _0x385cff=this[_0x318399(0x193)][_0x318399(0x1ea)]();this[_0x318399(0x20a)]-=_0x385cff[0x3][_0x269f66],Reflect[_0x318399(0x28d)](_0x385cff[0x0],this,_0x385cff[_0x318399(0x2f6)](0x1));}}[_0x2cc362(0x2bb)](_0x287f8d){const _0x5e25d3=_0x2cc362;this[_0x5e25d3(0x20a)]+=_0x287f8d[0x3][_0x269f66],this['_queue']['push'](_0x287f8d);}[_0x2cc362(0x297)](_0x2edd2f,_0x47e13f){const _0x306e9f=_0x2cc362;_0x2edd2f[_0x306e9f(0x209)]===0x2?(this[_0x306e9f(0x2cc)][_0x306e9f(0x1fd)](),this['_socket']['write'](_0x2edd2f[0x0]),this[_0x306e9f(0x2cc)][_0x306e9f(0x2a7)](_0x2edd2f[0x1],_0x47e13f),this['_socket'][_0x306e9f(0x2c6)]()):this[_0x306e9f(0x2cc)][_0x306e9f(0x2a7)](_0x2edd2f[0x0],_0x47e13f);}}Ee=_0x3f4d00;function _0x187b6b(_0x4fc3e3,_0x26e3a5,_0x2d0f8b){const _0x1db7c4=_0x2cc362;typeof _0x2d0f8b==_0x1db7c4(0x22a)&&_0x2d0f8b(_0x26e3a5);for(let _0x11babc=0x0;_0x11babc<_0x4fc3e3[_0x1db7c4(0x193)]['length'];_0x11babc++){const _0x4ef21e=_0x4fc3e3['_queue'][_0x11babc],_0x450e1a=_0x4ef21e[_0x4ef21e['length']-0x1];typeof _0x450e1a=='function'&&_0x450e1a(_0x26e3a5);}}function _0x1ea3db(_0x6a186b,_0x5d3217,_0x462482){const _0x3aa20b=_0x2cc362;_0x187b6b(_0x6a186b,_0x5d3217,_0x462482),_0x6a186b[_0x3aa20b(0x29a)](_0x5d3217);}return Ee;}var xe,tt;function Kt(){const _0x14c1d1=_0xc4267b;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x210006,kListener:_0x3b68e8}=V(),_0x2eb92a=Symbol('kCode'),_0x402061=Symbol(_0x14c1d1(0x228)),_0x37f508=Symbol('kError'),_0x41f777=Symbol(_0x14c1d1(0x1b7)),_0x3fa4fb=Symbol(_0x14c1d1(0x2e4)),_0x1aa372=Symbol('kTarget'),_0x5cd441=Symbol('kType'),_0x489dba=Symbol('kWasClean');class _0x4cc550{constructor(_0x3a877a){this[_0x1aa372]=null,this[_0x5cd441]=_0x3a877a;}get[_0x14c1d1(0x2dd)](){return this[_0x1aa372];}get[_0x14c1d1(0x1e4)](){return this[_0x5cd441];}}Object[_0x14c1d1(0x1c0)](_0x4cc550[_0x14c1d1(0x1c7)],_0x14c1d1(0x2dd),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x4cc550[_0x14c1d1(0x1c7)],'type',{'enumerable':!0x0});class _0x698483 extends _0x4cc550{constructor(_0x585507,_0x3e9cfa={}){const _0x2a2eb4=_0x14c1d1;super(_0x585507),this[_0x2eb92a]=_0x3e9cfa[_0x2a2eb4(0x27c)]===void 0x0?0x0:_0x3e9cfa['code'],this[_0x3fa4fb]=_0x3e9cfa[_0x2a2eb4(0x1d0)]===void 0x0?'':_0x3e9cfa[_0x2a2eb4(0x1d0)],this[_0x489dba]=_0x3e9cfa[_0x2a2eb4(0x22d)]===void 0x0?!0x1:_0x3e9cfa[_0x2a2eb4(0x22d)];}get[_0x14c1d1(0x27c)](){return this[_0x2eb92a];}get[_0x14c1d1(0x1d0)](){return this[_0x3fa4fb];}get[_0x14c1d1(0x22d)](){return this[_0x489dba];}}Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x27c),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x1d0),{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x698483[_0x14c1d1(0x1c7)],_0x14c1d1(0x22d),{'enumerable':!0x0});class _0x5c621a extends _0x4cc550{constructor(_0x304df4,_0x233c21={}){const _0x2c39db=_0x14c1d1;super(_0x304df4),this[_0x37f508]=_0x233c21[_0x2c39db(0x287)]===void 0x0?null:_0x233c21[_0x2c39db(0x287)],this[_0x41f777]=_0x233c21[_0x2c39db(0x272)]===void 0x0?'':_0x233c21[_0x2c39db(0x272)];}get['error'](){return this[_0x37f508];}get[_0x14c1d1(0x272)](){return this[_0x41f777];}}Object['defineProperty'](_0x5c621a[_0x14c1d1(0x1c7)],'error',{'enumerable':!0x0}),Object[_0x14c1d1(0x1c0)](_0x5c621a[_0x14c1d1(0x1c7)],'message',{'enumerable':!0x0});class _0x66f7f9 extends _0x4cc550{constructor(_0x52e28d,_0x1175ed={}){const _0x290995=_0x14c1d1;super(_0x52e28d),this[_0x402061]=_0x1175ed['data']===void 0x0?null:_0x1175ed[_0x290995(0x22b)];}get[_0x14c1d1(0x22b)](){return this[_0x402061];}}Object[_0x14c1d1(0x1c0)](_0x66f7f9['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x698483,'ErrorEvent':_0x5c621a,'Event':_0x4cc550,'EventTarget':{'addEventListener'(_0x4b11cf,_0x4ea18b,_0x412d01={}){const _0x1d9f5f=_0x14c1d1;for(const _0x5aadb0 of this[_0x1d9f5f(0x1cf)](_0x4b11cf))if(!_0x412d01[_0x210006]&&_0x5aadb0[_0x3b68e8]===_0x4ea18b&&!_0x5aadb0[_0x210006])return;let _0x14ea12;if(_0x4b11cf===_0x1d9f5f(0x272))_0x14ea12=function(_0x20f0eb,_0x5648d6){const _0x5ce466=new _0x66f7f9('message',{'data':_0x5648d6?_0x20f0eb:_0x20f0eb['toString']()});_0x5ce466[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x5ce466);};else{if(_0x4b11cf===_0x1d9f5f(0x1c6))_0x14ea12=function(_0x20cab9,_0x31e30c){const _0x1e342a=_0x1d9f5f,_0x166302=new _0x698483(_0x1e342a(0x1c6),{'code':_0x20cab9,'reason':_0x31e30c[_0x1e342a(0x18d)](),'wasClean':this[_0x1e342a(0x167)]&&this[_0x1e342a(0x2b4)]});_0x166302[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x166302);};else{if(_0x4b11cf===_0x1d9f5f(0x287))_0x14ea12=function(_0x3eef4d){const _0x289512=_0x1d9f5f,_0x1fcbc8=new _0x5c621a('error',{'error':_0x3eef4d,'message':_0x3eef4d[_0x289512(0x272)]});_0x1fcbc8[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x1fcbc8);};else{if(_0x4b11cf===_0x1d9f5f(0x1a1))_0x14ea12=function(){const _0x3e8182=_0x1d9f5f,_0x5c5e1f=new _0x4cc550(_0x3e8182(0x1a1));_0x5c5e1f[_0x1aa372]=this,_0x48d989(_0x4ea18b,this,_0x5c5e1f);};else return;}}}_0x14ea12[_0x210006]=!!_0x412d01[_0x210006],_0x14ea12[_0x3b68e8]=_0x4ea18b,_0x412d01[_0x1d9f5f(0x23b)]?this[_0x1d9f5f(0x23b)](_0x4b11cf,_0x14ea12):this['on'](_0x4b11cf,_0x14ea12);},'removeEventListener'(_0x236467,_0x431d63){const _0x32a2fb=_0x14c1d1;for(const _0x2e72de of this['listeners'](_0x236467))if(_0x2e72de[_0x3b68e8]===_0x431d63&&!_0x2e72de[_0x210006]){this[_0x32a2fb(0x170)](_0x236467,_0x2e72de);break;}}},'MessageEvent':_0x66f7f9};function _0x48d989(_0x2f1b36,_0x323789,_0xe80830){const _0x55a8fe=_0x14c1d1;typeof _0x2f1b36==_0x55a8fe(0x237)&&_0x2f1b36['handleEvent']?_0x2f1b36['handleEvent'][_0x55a8fe(0x2e5)](_0x2f1b36,_0xe80830):_0x2f1b36[_0x55a8fe(0x2e5)](_0x323789,_0xe80830);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x142996}=ne();function _0x33bd06(_0x49c0fd,_0x5b04fa,_0x47db3a){const _0x1326fb=_0x42e2;_0x49c0fd[_0x5b04fa]===void 0x0?_0x49c0fd[_0x5b04fa]=[_0x47db3a]:_0x49c0fd[_0x5b04fa][_0x1326fb(0x175)](_0x47db3a);}function _0x549fcf(_0x46d1c4){const _0x5cca04=_0x42e2,_0x1a9097=Object[_0x5cca04(0x29f)](null);let _0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x60fa2e=!0x1,_0x428d58=!0x1,_0x3f9b78=!0x1,_0x25a489,_0x5e3752,_0x51be95=-0x1,_0x48aaf1=-0x1,_0x27aeff=-0x1,_0x76b3d2=0x0;for(;_0x76b3d2<_0x46d1c4[_0x5cca04(0x209)];_0x76b3d2++)if(_0x48aaf1=_0x46d1c4[_0x5cca04(0x1bd)](_0x76b3d2),_0x25a489===void 0x0){if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x76b3d2!==0x0&&(_0x48aaf1===0x20||_0x48aaf1===0x9))_0x27aeff===-0x1&&_0x51be95!==-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);const _0x2f1275=_0x46d1c4['slice'](_0x51be95,_0x27aeff);_0x48aaf1===0x2c?(_0x33bd06(_0x1a9097,_0x2f1275,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null)):_0x25a489=_0x2f1275,_0x51be95=_0x27aeff=-0x1;}else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}else{if(_0x5e3752===void 0x0){if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x48aaf1===0x20||_0x48aaf1===0x9)_0x27aeff===-0x1&&_0x51be95!==-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2),_0x33bd06(_0x4b03e5,_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff),!0x0),_0x48aaf1===0x2c&&(_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x25a489=void 0x0),_0x51be95=_0x27aeff=-0x1;}else{if(_0x48aaf1===0x3d&&_0x51be95!==-0x1&&_0x27aeff===-0x1)_0x5e3752=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x76b3d2),_0x51be95=_0x27aeff=-0x1;else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}}else{if(_0x428d58){if(_0x142996[_0x48aaf1]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x76b3d2);_0x51be95===-0x1?_0x51be95=_0x76b3d2:_0x60fa2e||(_0x60fa2e=!0x0),_0x428d58=!0x1;}else{if(_0x3f9b78){if(_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x48aaf1===0x22&&_0x51be95!==-0x1)_0x3f9b78=!0x1,_0x27aeff=_0x76b3d2;else{if(_0x48aaf1===0x5c)_0x428d58=!0x0;else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}else{if(_0x48aaf1===0x22&&_0x46d1c4[_0x5cca04(0x1bd)](_0x76b3d2-0x1)===0x3d)_0x3f9b78=!0x0;else{if(_0x27aeff===-0x1&&_0x142996[_0x48aaf1]===0x1)_0x51be95===-0x1&&(_0x51be95=_0x76b3d2);else{if(_0x51be95!==-0x1&&(_0x48aaf1===0x20||_0x48aaf1===0x9))_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);else{if(_0x48aaf1===0x3b||_0x48aaf1===0x2c){if(_0x51be95===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x76b3d2);_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);let _0x5c5b85=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff);_0x60fa2e&&(_0x5c5b85=_0x5c5b85[_0x5cca04(0x18b)](/\\/g,''),_0x60fa2e=!0x1),_0x33bd06(_0x4b03e5,_0x5e3752,_0x5c5b85),_0x48aaf1===0x2c&&(_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5),_0x4b03e5=Object[_0x5cca04(0x29f)](null),_0x25a489=void 0x0),_0x5e3752=void 0x0,_0x51be95=_0x27aeff=-0x1;}else throw new SyntaxError(_0x5cca04(0x1af)+_0x76b3d2);}}}}}}}if(_0x51be95===-0x1||_0x3f9b78||_0x48aaf1===0x20||_0x48aaf1===0x9)throw new SyntaxError(_0x5cca04(0x2a0));_0x27aeff===-0x1&&(_0x27aeff=_0x76b3d2);const _0x363b20=_0x46d1c4[_0x5cca04(0x2f6)](_0x51be95,_0x27aeff);return _0x25a489===void 0x0?_0x33bd06(_0x1a9097,_0x363b20,_0x4b03e5):(_0x5e3752===void 0x0?_0x33bd06(_0x4b03e5,_0x363b20,!0x0):_0x60fa2e?_0x33bd06(_0x4b03e5,_0x5e3752,_0x363b20['replace'](/\\/g,'')):_0x33bd06(_0x4b03e5,_0x5e3752,_0x363b20),_0x33bd06(_0x1a9097,_0x25a489,_0x4b03e5)),_0x1a9097;}function _0x244920(_0x24fca3){const _0x4e5ec0=_0x42e2;return Object[_0x4e5ec0(0x258)](_0x24fca3)[_0x4e5ec0(0x1ba)](_0x457c12=>{const _0x8c467b=_0x4e5ec0;let _0x282c3d=_0x24fca3[_0x457c12];return Array['isArray'](_0x282c3d)||(_0x282c3d=[_0x282c3d]),_0x282c3d[_0x8c467b(0x1ba)](_0x2ff462=>[_0x457c12][_0x8c467b(0x186)](Object[_0x8c467b(0x258)](_0x2ff462)[_0x8c467b(0x1ba)](_0x84d750=>{const _0x2cf84e=_0x8c467b;let _0x37c29c=_0x2ff462[_0x84d750];return Array[_0x2cf84e(0x2f7)](_0x37c29c)||(_0x37c29c=[_0x37c29c]),_0x37c29c[_0x2cf84e(0x1ba)](_0x4e13fb=>_0x4e13fb===!0x0?_0x84d750:_0x84d750+'='+_0x4e13fb)['join'](';\x20');}))[_0x8c467b(0x25a)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x244920,'parse':_0x549fcf},be;}var we,st;function Ie(){const _0x58b6d5=_0xc4267b;if(st)return we;st=0x1;const _0x2b406e=_0x5efd75,_0x1d4b42=_0x302ef0,_0x2028e7=_0x120c00,_0xe56496=_0x2a6982,_0x470dad=_0x3fbfc6,{randomBytes:_0x5d38b0,createHash:_0x1aed5f}=_0x5454a,{Duplex:_0x310dc6,Readable:_0x394faf}=_0x333975,{URL:_0x590e56}=_0x591f21,_0x3bc537=he(),_0x187470=dt(),_0x5e7d77=_t(),{isBlob:_0xba9917}=ne(),{BINARY_TYPES:_0x56e212,EMPTY_BUFFER:_0x3c405c,GUID:_0x57a933,kForOnEventAttribute:_0x2517d6,kListener:_0x362a69,kStatusCode:_0x4f0da9,kWebSocket:_0x589908,NOOP:_0x48c73d}=V(),{EventTarget:{addEventListener:_0x2ea1a1,removeEventListener:_0xcbf842}}=Kt(),{format:_0x4db8d6,parse:_0x2c0785}=pt(),{toBuffer:_0x474e76}=ce(),_0x3499b4=0x1e*0x3e8,_0x751fd0=Symbol(_0x58b6d5(0x2b3)),_0x5a61fb=[0x8,0xd],_0x9ec5ef=[_0x58b6d5(0x2a3),_0x58b6d5(0x2c3),_0x58b6d5(0x28b),'CLOSED'],_0x462105=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x36c0dd extends _0x2b406e{constructor(_0x4855eb,_0x4bf6db,_0x5b660d){const _0x52983b=_0x58b6d5;super(),this[_0x52983b(0x2c5)]=_0x56e212[0x0],this[_0x52983b(0x224)]=0x3ee,this[_0x52983b(0x167)]=!0x1,this[_0x52983b(0x2b4)]=!0x1,this[_0x52983b(0x223)]=_0x3c405c,this[_0x52983b(0x2d3)]=null,this[_0x52983b(0x1ed)]=!0x1,this[_0x52983b(0x191)]={},this[_0x52983b(0x1f4)]=!0x1,this[_0x52983b(0x220)]='',this[_0x52983b(0x27f)]=_0x36c0dd[_0x52983b(0x2a3)],this[_0x52983b(0x303)]=null,this['_sender']=null,this['_socket']=null,_0x4855eb!==null?(this[_0x52983b(0x208)]=0x0,this[_0x52983b(0x2f5)]=!0x1,this[_0x52983b(0x164)]=0x0,_0x4bf6db===void 0x0?_0x4bf6db=[]:Array['isArray'](_0x4bf6db)||(typeof _0x4bf6db==_0x52983b(0x237)&&_0x4bf6db!==null?(_0x5b660d=_0x4bf6db,_0x4bf6db=[]):_0x4bf6db=[_0x4bf6db]),_0x2b1b36(this,_0x4855eb,_0x4bf6db,_0x5b660d)):(this[_0x52983b(0x2b9)]=_0x5b660d['autoPong'],this['_isServer']=!0x0);}get[_0x58b6d5(0x1d3)](){const _0x44d50c=_0x58b6d5;return this[_0x44d50c(0x2c5)];}set[_0x58b6d5(0x1d3)](_0x1d5dc6){const _0x2c9caa=_0x58b6d5;_0x56e212[_0x2c9caa(0x195)](_0x1d5dc6)&&(this[_0x2c9caa(0x2c5)]=_0x1d5dc6,this[_0x2c9caa(0x303)]&&(this[_0x2c9caa(0x303)]['_binaryType']=_0x1d5dc6));}get[_0x58b6d5(0x184)](){const _0x42d29c=_0x58b6d5;return this[_0x42d29c(0x2cc)]?this[_0x42d29c(0x2cc)]['_writableState'][_0x42d29c(0x209)]+this[_0x42d29c(0x1c1)][_0x42d29c(0x20a)]:this['_bufferedAmount'];}get['extensions'](){const _0x28f622=_0x58b6d5;return Object[_0x28f622(0x258)](this['_extensions'])['join']();}get[_0x58b6d5(0x26b)](){const _0x59be80=_0x58b6d5;return this[_0x59be80(0x1f4)];}get[_0x58b6d5(0x299)](){return null;}get[_0x58b6d5(0x29a)](){return null;}get[_0x58b6d5(0x2c4)](){return null;}get[_0x58b6d5(0x271)](){return null;}get[_0x58b6d5(0x1fe)](){return this['_protocol'];}get[_0x58b6d5(0x1ae)](){const _0x58e7d7=_0x58b6d5;return this[_0x58e7d7(0x27f)];}get[_0x58b6d5(0x2d4)](){return this['_url'];}['setSocket'](_0x729c14,_0x1d2cfe,_0x24d6f5){const _0x5ec492=_0x58b6d5,_0x2a1e2c=new _0x187470({'allowSynchronousEvents':_0x24d6f5[_0x5ec492(0x197)],'binaryType':this[_0x5ec492(0x1d3)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x24d6f5[_0x5ec492(0x2b8)],'skipUTF8Validation':_0x24d6f5[_0x5ec492(0x1e5)]}),_0x2406d8=new _0x5e7d77(_0x729c14,this[_0x5ec492(0x191)],_0x24d6f5[_0x5ec492(0x218)]);this['_receiver']=_0x2a1e2c,this[_0x5ec492(0x1c1)]=_0x2406d8,this[_0x5ec492(0x2cc)]=_0x729c14,_0x2a1e2c[_0x589908]=this,_0x2406d8[_0x589908]=this,_0x729c14[_0x589908]=this,_0x2a1e2c['on'](_0x5ec492(0x21d),_0x59fc6e),_0x2a1e2c['on'](_0x5ec492(0x1f8),_0x158849),_0x2a1e2c['on'](_0x5ec492(0x287),_0x449abe),_0x2a1e2c['on']('message',_0x4df9d0),_0x2a1e2c['on'](_0x5ec492(0x1c4),_0x54282d),_0x2a1e2c['on'](_0x5ec492(0x222),_0x2c4ef5),_0x2406d8[_0x5ec492(0x29a)]=_0x135ecc,_0x729c14[_0x5ec492(0x179)]&&_0x729c14[_0x5ec492(0x179)](0x0),_0x729c14[_0x5ec492(0x17d)]&&_0x729c14[_0x5ec492(0x17d)](),_0x1d2cfe['length']>0x0&&_0x729c14[_0x5ec492(0x264)](_0x1d2cfe),_0x729c14['on']('close',_0xd02aa4),_0x729c14['on'](_0x5ec492(0x22b),_0x213464),_0x729c14['on'](_0x5ec492(0x238),_0x1956d3),_0x729c14['on']('error',_0x1fea92),this[_0x5ec492(0x27f)]=_0x36c0dd[_0x5ec492(0x2c3)],this['emit']('open');}[_0x58b6d5(0x16a)](){const _0x430063=_0x58b6d5;if(!this[_0x430063(0x2cc)]){this['_readyState']=_0x36c0dd[_0x430063(0x278)],this[_0x430063(0x1d6)](_0x430063(0x1c6),this[_0x430063(0x224)],this[_0x430063(0x223)]);return;}this[_0x430063(0x191)][_0x3bc537['extensionName']]&&this['_extensions'][_0x3bc537[_0x430063(0x1ab)]]['cleanup'](),this['_receiver'][_0x430063(0x301)](),this[_0x430063(0x27f)]=_0x36c0dd[_0x430063(0x278)],this[_0x430063(0x1d6)](_0x430063(0x1c6),this[_0x430063(0x224)],this[_0x430063(0x223)]);}[_0x58b6d5(0x1c6)](_0x53f06c,_0x15cb98){const _0x390d10=_0x58b6d5;if(this[_0x390d10(0x1ae)]!==_0x36c0dd[_0x390d10(0x278)]){if(this[_0x390d10(0x1ae)]===_0x36c0dd[_0x390d10(0x2a3)]){_0x108dc7(this,this[_0x390d10(0x2de)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x390d10(0x1ae)]===_0x36c0dd[_0x390d10(0x28b)]){this['_closeFrameSent']&&(this[_0x390d10(0x167)]||this[_0x390d10(0x303)][_0x390d10(0x165)][_0x390d10(0x273)])&&this[_0x390d10(0x2cc)][_0x390d10(0x238)]();return;}this[_0x390d10(0x27f)]=_0x36c0dd[_0x390d10(0x28b)],this[_0x390d10(0x1c1)]['close'](_0x53f06c,_0x15cb98,!this['_isServer'],_0x467ad3=>{const _0x43015c=_0x390d10;_0x467ad3||(this[_0x43015c(0x2b4)]=!0x0,(this[_0x43015c(0x167)]||this[_0x43015c(0x303)][_0x43015c(0x165)][_0x43015c(0x273)])&&this[_0x43015c(0x2cc)][_0x43015c(0x238)]());}),_0x1bc7c7(this);}}[_0x58b6d5(0x283)](){const _0x8ceb2=_0x58b6d5;this[_0x8ceb2(0x1ae)]===_0x36c0dd[_0x8ceb2(0x2a3)]||this['readyState']===_0x36c0dd[_0x8ceb2(0x278)]||(this[_0x8ceb2(0x1f4)]=!0x0,this[_0x8ceb2(0x2cc)][_0x8ceb2(0x283)]());}[_0x58b6d5(0x1c4)](_0x200ef0,_0x45d141,_0x229689){const _0x171836=_0x58b6d5;if(this['readyState']===_0x36c0dd['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x200ef0==_0x171836(0x22a)?(_0x229689=_0x200ef0,_0x200ef0=_0x45d141=void 0x0):typeof _0x45d141==_0x171836(0x22a)&&(_0x229689=_0x45d141,_0x45d141=void 0x0),typeof _0x200ef0==_0x171836(0x2a6)&&(_0x200ef0=_0x200ef0[_0x171836(0x18d)]()),this[_0x171836(0x1ae)]!==_0x36c0dd['OPEN']){_0x23caa2(this,_0x200ef0,_0x229689);return;}_0x45d141===void 0x0&&(_0x45d141=!this['_isServer']),this[_0x171836(0x1c1)][_0x171836(0x1c4)](_0x200ef0||_0x3c405c,_0x45d141,_0x229689);}[_0x58b6d5(0x222)](_0x166e58,_0x5acaa1,_0x1bdbfa){const _0x38ac43=_0x58b6d5;if(this[_0x38ac43(0x1ae)]===_0x36c0dd['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x166e58==_0x38ac43(0x22a)?(_0x1bdbfa=_0x166e58,_0x166e58=_0x5acaa1=void 0x0):typeof _0x5acaa1=='function'&&(_0x1bdbfa=_0x5acaa1,_0x5acaa1=void 0x0),typeof _0x166e58==_0x38ac43(0x2a6)&&(_0x166e58=_0x166e58['toString']()),this['readyState']!==_0x36c0dd['OPEN']){_0x23caa2(this,_0x166e58,_0x1bdbfa);return;}_0x5acaa1===void 0x0&&(_0x5acaa1=!this[_0x38ac43(0x2f5)]),this[_0x38ac43(0x1c1)][_0x38ac43(0x222)](_0x166e58||_0x3c405c,_0x5acaa1,_0x1bdbfa);}[_0x58b6d5(0x28c)](){const _0x11677f=_0x58b6d5;this['readyState']===_0x36c0dd[_0x11677f(0x2a3)]||this[_0x11677f(0x1ae)]===_0x36c0dd['CLOSED']||(this[_0x11677f(0x1f4)]=!0x1,this[_0x11677f(0x303)][_0x11677f(0x165)][_0x11677f(0x261)]||this[_0x11677f(0x2cc)]['resume']());}[_0x58b6d5(0x201)](_0x63ff89,_0x9dd727,_0x3bbc61){const _0x2aa3fa=_0x58b6d5;if(this['readyState']===_0x36c0dd[_0x2aa3fa(0x2a3)])throw new Error(_0x2aa3fa(0x1dd));if(typeof _0x9dd727=='function'&&(_0x3bbc61=_0x9dd727,_0x9dd727={}),typeof _0x63ff89==_0x2aa3fa(0x2a6)&&(_0x63ff89=_0x63ff89[_0x2aa3fa(0x18d)]()),this['readyState']!==_0x36c0dd[_0x2aa3fa(0x2c3)]){_0x23caa2(this,_0x63ff89,_0x3bbc61);return;}const _0x303cda={'binary':typeof _0x63ff89!=_0x2aa3fa(0x269),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x9dd727};this[_0x2aa3fa(0x191)][_0x3bc537[_0x2aa3fa(0x1ab)]]||(_0x303cda[_0x2aa3fa(0x200)]=!0x1),this[_0x2aa3fa(0x1c1)][_0x2aa3fa(0x201)](_0x63ff89||_0x3c405c,_0x303cda,_0x3bbc61);}[_0x58b6d5(0x2fd)](){const _0x534a25=_0x58b6d5;if(this[_0x534a25(0x1ae)]!==_0x36c0dd['CLOSED']){if(this[_0x534a25(0x1ae)]===_0x36c0dd[_0x534a25(0x2a3)]){_0x108dc7(this,this[_0x534a25(0x2de)],_0x534a25(0x25e));return;}this[_0x534a25(0x2cc)]&&(this[_0x534a25(0x27f)]=_0x36c0dd[_0x534a25(0x28b)],this[_0x534a25(0x2cc)]['destroy']());}}}Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x2a3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)]('CONNECTING')}),Object['defineProperty'](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x2a3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2a3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x2c3),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2c3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x2c3))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x28b),{'enumerable':!0x0,'value':_0x9ec5ef['indexOf'](_0x58b6d5(0x28b))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x28b),{'enumerable':!0x0,'value':_0x9ec5ef['indexOf'](_0x58b6d5(0x28b))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd,_0x58b6d5(0x278),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)](_0x58b6d5(0x278))}),Object[_0x58b6d5(0x1c0)](_0x36c0dd[_0x58b6d5(0x1c7)],_0x58b6d5(0x278),{'enumerable':!0x0,'value':_0x9ec5ef[_0x58b6d5(0x207)]('CLOSED')}),[_0x58b6d5(0x1d3),'bufferedAmount','extensions','isPaused','protocol','readyState',_0x58b6d5(0x2d4)]['forEach'](_0x14a7ac=>{const _0x1ede74=_0x58b6d5;Object[_0x1ede74(0x1c0)](_0x36c0dd['prototype'],_0x14a7ac,{'enumerable':!0x0});}),[_0x58b6d5(0x1a1),_0x58b6d5(0x287),_0x58b6d5(0x1c6),_0x58b6d5(0x272)][_0x58b6d5(0x1b9)](_0x558173=>{const _0x5bfe82=_0x58b6d5;Object['defineProperty'](_0x36c0dd[_0x5bfe82(0x1c7)],'on'+_0x558173,{'enumerable':!0x0,'get'(){const _0x4d79e8=_0x5bfe82;for(const _0x344cd6 of this[_0x4d79e8(0x1cf)](_0x558173))if(_0x344cd6[_0x2517d6])return _0x344cd6[_0x362a69];return null;},'set'(_0x5300bf){const _0x28427b=_0x5bfe82;for(const _0x430c49 of this[_0x28427b(0x1cf)](_0x558173))if(_0x430c49[_0x2517d6]){this[_0x28427b(0x170)](_0x558173,_0x430c49);break;}typeof _0x5300bf==_0x28427b(0x22a)&&this[_0x28427b(0x1a2)](_0x558173,_0x5300bf,{[_0x2517d6]:!0x0});}});}),_0x36c0dd[_0x58b6d5(0x1c7)][_0x58b6d5(0x1a2)]=_0x2ea1a1,_0x36c0dd[_0x58b6d5(0x1c7)][_0x58b6d5(0x174)]=_0xcbf842,we=_0x36c0dd;function _0x2b1b36(_0x266fbf,_0x32c111,_0x4efd2a,_0x93ba2d){const _0x12ab29=_0x58b6d5,_0x45b1e9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5a61fb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x93ba2d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x12ab29(0x21e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x266fbf[_0x12ab29(0x2b9)]=_0x45b1e9[_0x12ab29(0x308)],!_0x5a61fb[_0x12ab29(0x195)](_0x45b1e9[_0x12ab29(0x298)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x45b1e9[_0x12ab29(0x298)]+_0x12ab29(0x1ca)+_0x5a61fb['join'](',\x20')+')');let _0x18142d;if(_0x32c111 instanceof _0x590e56)_0x18142d=_0x32c111;else try{_0x18142d=new _0x590e56(_0x32c111);}catch{throw new SyntaxError(_0x12ab29(0x1d2)+_0x32c111);}_0x18142d[_0x12ab29(0x1fe)]===_0x12ab29(0x2aa)?_0x18142d[_0x12ab29(0x1fe)]='ws:':_0x18142d[_0x12ab29(0x1fe)]===_0x12ab29(0x1f3)&&(_0x18142d[_0x12ab29(0x1fe)]=_0x12ab29(0x309)),_0x266fbf[_0x12ab29(0x190)]=_0x18142d[_0x12ab29(0x295)];const _0xf14c50=_0x18142d[_0x12ab29(0x1fe)]==='wss:',_0x2bb3a7=_0x18142d['protocol']==='ws+unix:';let _0x2f892c;if(_0x18142d[_0x12ab29(0x1fe)]!==_0x12ab29(0x2d8)&&!_0xf14c50&&!_0x2bb3a7?_0x2f892c=_0x12ab29(0x1e0):_0x2bb3a7&&!_0x18142d[_0x12ab29(0x30b)]?_0x2f892c=_0x12ab29(0x2ba):_0x18142d[_0x12ab29(0x2d1)]&&(_0x2f892c=_0x12ab29(0x18c)),_0x2f892c){const _0x1c996a=new SyntaxError(_0x2f892c);if(_0x266fbf[_0x12ab29(0x164)]===0x0)throw _0x1c996a;_0x3ece96(_0x266fbf,_0x1c996a);return;}const _0x25c4ae=_0xf14c50?0x1bb:0x50,_0x1fcb74=_0x5d38b0(0x10)[_0x12ab29(0x18d)](_0x12ab29(0x1cd)),_0x400a3b=_0xf14c50?_0x1d4b42[_0x12ab29(0x213)]:_0x2028e7[_0x12ab29(0x213)],_0x30b8b8=new Set();let _0x48c89f;if(_0x45b1e9[_0x12ab29(0x217)]=_0x45b1e9[_0x12ab29(0x217)]||(_0xf14c50?_0x39e593:_0x4651e1),_0x45b1e9[_0x12ab29(0x2c8)]=_0x45b1e9[_0x12ab29(0x2c8)]||_0x25c4ae,_0x45b1e9[_0x12ab29(0x1f2)]=_0x18142d[_0x12ab29(0x1f2)]||_0x25c4ae,_0x45b1e9['host']=_0x18142d[_0x12ab29(0x17e)][_0x12ab29(0x22e)]('[')?_0x18142d[_0x12ab29(0x17e)][_0x12ab29(0x2f6)](0x1,-0x1):_0x18142d['hostname'],_0x45b1e9[_0x12ab29(0x1bf)]={..._0x45b1e9[_0x12ab29(0x1bf)],'Sec-WebSocket-Version':_0x45b1e9['protocolVersion'],'Sec-WebSocket-Key':_0x1fcb74,'Connection':_0x12ab29(0x1e1),'Upgrade':_0x12ab29(0x2ee)},_0x45b1e9[_0x12ab29(0x2ff)]=_0x18142d[_0x12ab29(0x30b)]+_0x18142d[_0x12ab29(0x259)],_0x45b1e9[_0x12ab29(0x182)]=_0x45b1e9['handshakeTimeout'],_0x45b1e9['perMessageDeflate']&&(_0x48c89f=new _0x3bc537(_0x45b1e9[_0x12ab29(0x16f)]!==!0x0?_0x45b1e9[_0x12ab29(0x16f)]:{},!0x1,_0x45b1e9[_0x12ab29(0x2b8)]),_0x45b1e9[_0x12ab29(0x1bf)]['Sec-WebSocket-Extensions']=_0x4db8d6({[_0x3bc537[_0x12ab29(0x1ab)]]:_0x48c89f[_0x12ab29(0x277)]()})),_0x4efd2a[_0x12ab29(0x209)]){for(const _0x329b2f of _0x4efd2a){if(typeof _0x329b2f!=_0x12ab29(0x269)||!_0x462105[_0x12ab29(0x210)](_0x329b2f)||_0x30b8b8[_0x12ab29(0x2f3)](_0x329b2f))throw new SyntaxError(_0x12ab29(0x216));_0x30b8b8[_0x12ab29(0x1c2)](_0x329b2f);}_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x203)]=_0x4efd2a['join'](',');}if(_0x45b1e9['origin']&&(_0x45b1e9[_0x12ab29(0x298)]<0xd?_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x30d)]=_0x45b1e9[_0x12ab29(0x239)]:_0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x289)]=_0x45b1e9[_0x12ab29(0x239)]),(_0x18142d['username']||_0x18142d[_0x12ab29(0x231)])&&(_0x45b1e9[_0x12ab29(0x177)]=_0x18142d['username']+':'+_0x18142d[_0x12ab29(0x231)]),_0x2bb3a7){const _0x18cb0f=_0x45b1e9[_0x12ab29(0x2ff)]['split'](':');_0x45b1e9[_0x12ab29(0x310)]=_0x18cb0f[0x0],_0x45b1e9[_0x12ab29(0x2ff)]=_0x18cb0f[0x1];}let _0x4e815b;if(_0x45b1e9[_0x12ab29(0x251)]){if(_0x266fbf['_redirects']===0x0){_0x266fbf['_originalIpc']=_0x2bb3a7,_0x266fbf[_0x12ab29(0x291)]=_0xf14c50,_0x266fbf[_0x12ab29(0x229)]=_0x2bb3a7?_0x45b1e9[_0x12ab29(0x310)]:_0x18142d[_0x12ab29(0x221)];const _0x5218f4=_0x93ba2d&&_0x93ba2d[_0x12ab29(0x1bf)];if(_0x93ba2d={..._0x93ba2d,'headers':{}},_0x5218f4){for(const [_0x31deb7,_0x54eb04]of Object[_0x12ab29(0x2f1)](_0x5218f4))_0x93ba2d['headers'][_0x31deb7['toLowerCase']()]=_0x54eb04;}}else{if(_0x266fbf['listenerCount']('redirect')===0x0){const _0x4fe47d=_0x2bb3a7?_0x266fbf[_0x12ab29(0x294)]?_0x45b1e9[_0x12ab29(0x310)]===_0x266fbf[_0x12ab29(0x229)]:!0x1:_0x266fbf['_originalIpc']?!0x1:_0x18142d['host']===_0x266fbf['_originalHostOrSocketPath'];(!_0x4fe47d||_0x266fbf['_originalSecure']&&!_0xf14c50)&&(delete _0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x2c2)],delete _0x45b1e9[_0x12ab29(0x1bf)][_0x12ab29(0x2ca)],_0x4fe47d||delete _0x45b1e9['headers'][_0x12ab29(0x221)],_0x45b1e9[_0x12ab29(0x177)]=void 0x0);}}_0x45b1e9['auth']&&!_0x93ba2d['headers']['authorization']&&(_0x93ba2d[_0x12ab29(0x1bf)]['authorization']=_0x12ab29(0x1e6)+Buffer[_0x12ab29(0x268)](_0x45b1e9[_0x12ab29(0x177)])['toString']('base64')),_0x4e815b=_0x266fbf[_0x12ab29(0x2de)]=_0x400a3b(_0x45b1e9),_0x266fbf['_redirects']&&_0x266fbf[_0x12ab29(0x1d6)]('redirect',_0x266fbf[_0x12ab29(0x2d4)],_0x4e815b);}else _0x4e815b=_0x266fbf[_0x12ab29(0x2de)]=_0x400a3b(_0x45b1e9);_0x45b1e9['timeout']&&_0x4e815b['on'](_0x12ab29(0x182),()=>{_0x108dc7(_0x266fbf,_0x4e815b,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4e815b['on'](_0x12ab29(0x287),_0x53265b=>{const _0xea958a=_0x12ab29;_0x4e815b===null||_0x4e815b[_0x751fd0]||(_0x4e815b=_0x266fbf[_0xea958a(0x2de)]=null,_0x3ece96(_0x266fbf,_0x53265b));}),_0x4e815b['on']('response',_0x1bd764=>{const _0x2de3d6=_0x12ab29,_0x523b01=_0x1bd764['headers'][_0x2de3d6(0x256)],_0x1d7e2c=_0x1bd764[_0x2de3d6(0x23e)];if(_0x523b01&&_0x45b1e9[_0x2de3d6(0x251)]&&_0x1d7e2c>=0x12c&&_0x1d7e2c<0x190){if(++_0x266fbf[_0x2de3d6(0x164)]>_0x45b1e9['maxRedirects']){_0x108dc7(_0x266fbf,_0x4e815b,_0x2de3d6(0x1a5));return;}_0x4e815b[_0x2de3d6(0x26a)]();let _0x1ada84;try{_0x1ada84=new _0x590e56(_0x523b01,_0x32c111);}catch{const _0x326d59=new SyntaxError(_0x2de3d6(0x1d2)+_0x523b01);_0x3ece96(_0x266fbf,_0x326d59);return;}_0x2b1b36(_0x266fbf,_0x1ada84,_0x4efd2a,_0x93ba2d);}else _0x266fbf[_0x2de3d6(0x1d6)]('unexpected-response',_0x4e815b,_0x1bd764)||_0x108dc7(_0x266fbf,_0x4e815b,'Unexpected\x20server\x20response:\x20'+_0x1bd764['statusCode']);}),_0x4e815b['on'](_0x12ab29(0x1d5),(_0x5e1e3d,_0x315e17,_0x60c936)=>{const _0x37d79e=_0x12ab29;if(_0x266fbf[_0x37d79e(0x1d6)](_0x37d79e(0x1d5),_0x5e1e3d),_0x266fbf['readyState']!==_0x36c0dd[_0x37d79e(0x2a3)])return;_0x4e815b=_0x266fbf[_0x37d79e(0x2de)]=null;const _0x399226=_0x5e1e3d[_0x37d79e(0x1bf)]['upgrade'];if(_0x399226===void 0x0||_0x399226[_0x37d79e(0x2f2)]()!=='websocket'){_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Upgrade\x20header');return;}const _0x2774c1=_0x1aed5f(_0x37d79e(0x180))[_0x37d79e(0x2d6)](_0x1fcb74+_0x57a933)['digest'](_0x37d79e(0x1cd));if(_0x5e1e3d[_0x37d79e(0x1bf)][_0x37d79e(0x1d8)]!==_0x2774c1){_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0xd905bf=_0x5e1e3d[_0x37d79e(0x1bf)][_0x37d79e(0x293)];let _0x3e57c4;if(_0xd905bf!==void 0x0?_0x30b8b8[_0x37d79e(0x2ec)]?_0x30b8b8[_0x37d79e(0x2f3)](_0xd905bf)||(_0x3e57c4=_0x37d79e(0x2fe)):_0x3e57c4=_0x37d79e(0x21b):_0x30b8b8['size']&&(_0x3e57c4=_0x37d79e(0x1cc)),_0x3e57c4){_0x108dc7(_0x266fbf,_0x315e17,_0x3e57c4);return;}_0xd905bf&&(_0x266fbf[_0x37d79e(0x220)]=_0xd905bf);const _0x486921=_0x5e1e3d[_0x37d79e(0x1bf)]['sec-websocket-extensions'];if(_0x486921!==void 0x0){if(!_0x48c89f){_0x108dc7(_0x266fbf,_0x315e17,_0x37d79e(0x244));return;}let _0x1c620f;try{_0x1c620f=_0x2c0785(_0x486921);}catch{_0x108dc7(_0x266fbf,_0x315e17,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x281b6d=Object['keys'](_0x1c620f);if(_0x281b6d[_0x37d79e(0x209)]!==0x1||_0x281b6d[0x0]!==_0x3bc537[_0x37d79e(0x1ab)]){_0x108dc7(_0x266fbf,_0x315e17,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x48c89f['accept'](_0x1c620f[_0x3bc537[_0x37d79e(0x1ab)]]);}catch{_0x108dc7(_0x266fbf,_0x315e17,_0x37d79e(0x1ff));return;}_0x266fbf[_0x37d79e(0x191)][_0x3bc537[_0x37d79e(0x1ab)]]=_0x48c89f;}_0x266fbf[_0x37d79e(0x275)](_0x315e17,_0x60c936,{'allowSynchronousEvents':_0x45b1e9[_0x37d79e(0x197)],'generateMask':_0x45b1e9[_0x37d79e(0x218)],'maxPayload':_0x45b1e9[_0x37d79e(0x2b8)],'skipUTF8Validation':_0x45b1e9[_0x37d79e(0x1e5)]});}),_0x45b1e9[_0x12ab29(0x1e8)]?_0x45b1e9[_0x12ab29(0x1e8)](_0x4e815b,_0x266fbf):_0x4e815b[_0x12ab29(0x238)]();}function _0x3ece96(_0x293246,_0x552036){const _0x4fac05=_0x58b6d5;_0x293246[_0x4fac05(0x27f)]=_0x36c0dd['CLOSING'],_0x293246[_0x4fac05(0x1ed)]=!0x0,_0x293246[_0x4fac05(0x1d6)](_0x4fac05(0x287),_0x552036),_0x293246[_0x4fac05(0x16a)]();}function _0x4651e1(_0x1478dc){const _0x58dee0=_0x58b6d5;return _0x1478dc[_0x58dee0(0x2ff)]=_0x1478dc[_0x58dee0(0x310)],_0xe56496['connect'](_0x1478dc);}function _0x39e593(_0x50fd72){const _0x38ec0f=_0x58b6d5;return _0x50fd72[_0x38ec0f(0x2ff)]=void 0x0,!_0x50fd72[_0x38ec0f(0x260)]&&_0x50fd72[_0x38ec0f(0x260)]!==''&&(_0x50fd72['servername']=_0xe56496[_0x38ec0f(0x28a)](_0x50fd72[_0x38ec0f(0x221)])?'':_0x50fd72[_0x38ec0f(0x221)]),_0x470dad[_0x38ec0f(0x215)](_0x50fd72);}function _0x108dc7(_0xb59bdf,_0x1a566a,_0x3dee9a){const _0x2f9791=_0x58b6d5;_0xb59bdf[_0x2f9791(0x27f)]=_0x36c0dd[_0x2f9791(0x28b)];const _0x3fe8de=new Error(_0x3dee9a);Error[_0x2f9791(0x2df)](_0x3fe8de,_0x108dc7),_0x1a566a[_0x2f9791(0x30c)]?(_0x1a566a[_0x751fd0]=!0x0,_0x1a566a[_0x2f9791(0x26a)](),_0x1a566a['socket']&&!_0x1a566a['socket'][_0x2f9791(0x2ed)]&&_0x1a566a[_0x2f9791(0x2d5)][_0x2f9791(0x281)](),process[_0x2f9791(0x25b)](_0x3ece96,_0xb59bdf,_0x3fe8de)):(_0x1a566a['destroy'](_0x3fe8de),_0x1a566a['once']('error',_0xb59bdf['emit'][_0x2f9791(0x2a1)](_0xb59bdf,_0x2f9791(0x287))),_0x1a566a[_0x2f9791(0x23b)]('close',_0xb59bdf[_0x2f9791(0x16a)][_0x2f9791(0x2a1)](_0xb59bdf)));}function _0x23caa2(_0x279466,_0x45750f,_0x20c905){const _0xe43779=_0x58b6d5;if(_0x45750f){const _0x29c721=_0xba9917(_0x45750f)?_0x45750f[_0xe43779(0x2ec)]:_0x474e76(_0x45750f)[_0xe43779(0x209)];_0x279466[_0xe43779(0x2cc)]?_0x279466[_0xe43779(0x1c1)][_0xe43779(0x20a)]+=_0x29c721:_0x279466[_0xe43779(0x208)]+=_0x29c721;}if(_0x20c905){const _0xd004eb=new Error(_0xe43779(0x307)+_0x279466[_0xe43779(0x1ae)]+'\x20('+_0x9ec5ef[_0x279466[_0xe43779(0x1ae)]]+')');process[_0xe43779(0x25b)](_0x20c905,_0xd004eb);}}function _0x59fc6e(_0x28ab27,_0x443c34){const _0x311b39=_0x58b6d5,_0x5059ff=this[_0x589908];_0x5059ff['_closeFrameReceived']=!0x0,_0x5059ff[_0x311b39(0x223)]=_0x443c34,_0x5059ff['_closeCode']=_0x28ab27,_0x5059ff[_0x311b39(0x2cc)][_0x589908]!==void 0x0&&(_0x5059ff[_0x311b39(0x2cc)][_0x311b39(0x170)](_0x311b39(0x22b),_0x213464),process[_0x311b39(0x25b)](_0x1d4503,_0x5059ff['_socket']),_0x28ab27===0x3ed?_0x5059ff['close']():_0x5059ff['close'](_0x28ab27,_0x443c34));}function _0x158849(){const _0x2a8594=_0x58b6d5,_0x4560af=this[_0x589908];_0x4560af[_0x2a8594(0x26b)]||_0x4560af['_socket'][_0x2a8594(0x28c)]();}function _0x449abe(_0xc8b376){const _0x5c992e=_0x58b6d5,_0x5187f7=this[_0x589908];_0x5187f7[_0x5c992e(0x2cc)][_0x589908]!==void 0x0&&(_0x5187f7[_0x5c992e(0x2cc)][_0x5c992e(0x170)](_0x5c992e(0x22b),_0x213464),process[_0x5c992e(0x25b)](_0x1d4503,_0x5187f7['_socket']),_0x5187f7['close'](_0xc8b376[_0x4f0da9])),_0x5187f7[_0x5c992e(0x1ed)]||(_0x5187f7['_errorEmitted']=!0x0,_0x5187f7[_0x5c992e(0x1d6)](_0x5c992e(0x287),_0xc8b376));}function _0x27fc25(){const _0x587719=_0x58b6d5;this[_0x589908][_0x587719(0x16a)]();}function _0x4df9d0(_0x59afcc,_0x444643){const _0x1871a1=_0x58b6d5;this[_0x589908][_0x1871a1(0x1d6)](_0x1871a1(0x272),_0x59afcc,_0x444643);}function _0x54282d(_0x1459cb){const _0x1495d0=_0x58b6d5,_0x9f94df=this[_0x589908];_0x9f94df['_autoPong']&&_0x9f94df[_0x1495d0(0x222)](_0x1459cb,!this[_0x1495d0(0x2f5)],_0x48c73d),_0x9f94df['emit'](_0x1495d0(0x1c4),_0x1459cb);}function _0x2c4ef5(_0x777933){const _0x1ad8b2=_0x58b6d5;this[_0x589908][_0x1ad8b2(0x1d6)](_0x1ad8b2(0x222),_0x777933);}function _0x1d4503(_0x19c0f8){const _0x530760=_0x58b6d5;_0x19c0f8[_0x530760(0x28c)]();}function _0x135ecc(_0x2b7a9b){const _0x2566e3=_0x58b6d5,_0x18cd1c=this[_0x589908];_0x18cd1c[_0x2566e3(0x1ae)]!==_0x36c0dd[_0x2566e3(0x278)]&&(_0x18cd1c[_0x2566e3(0x1ae)]===_0x36c0dd[_0x2566e3(0x2c3)]&&(_0x18cd1c[_0x2566e3(0x27f)]=_0x36c0dd[_0x2566e3(0x28b)],_0x1bc7c7(_0x18cd1c)),this[_0x2566e3(0x2cc)][_0x2566e3(0x238)](),_0x18cd1c['_errorEmitted']||(_0x18cd1c[_0x2566e3(0x1ed)]=!0x0,_0x18cd1c[_0x2566e3(0x1d6)](_0x2566e3(0x287),_0x2b7a9b)));}function _0x1bc7c7(_0x184f26){const _0x13237d=_0x58b6d5;_0x184f26[_0x13237d(0x2d3)]=setTimeout(_0x184f26[_0x13237d(0x2cc)][_0x13237d(0x281)][_0x13237d(0x2a1)](_0x184f26['_socket']),_0x3499b4);}function _0xd02aa4(){const _0x41c985=_0x58b6d5,_0x43bbb3=this[_0x589908];this[_0x41c985(0x170)]('close',_0xd02aa4),this[_0x41c985(0x170)]('data',_0x213464),this['removeListener'](_0x41c985(0x238),_0x1956d3),_0x43bbb3[_0x41c985(0x27f)]=_0x36c0dd[_0x41c985(0x28b)];let _0x643a6e;!this[_0x41c985(0x2bf)][_0x41c985(0x192)]&&!_0x43bbb3[_0x41c985(0x167)]&&!_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x165)][_0x41c985(0x273)]&&(_0x643a6e=_0x43bbb3['_socket'][_0x41c985(0x290)]())!==null&&_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x2a7)](_0x643a6e),_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x238)](),this[_0x589908]=void 0x0,clearTimeout(_0x43bbb3['_closeTimer']),_0x43bbb3[_0x41c985(0x303)][_0x41c985(0x165)][_0x41c985(0x286)]||_0x43bbb3['_receiver'][_0x41c985(0x165)][_0x41c985(0x273)]?_0x43bbb3[_0x41c985(0x16a)]():(_0x43bbb3['_receiver']['on'](_0x41c985(0x287),_0x27fc25),_0x43bbb3[_0x41c985(0x303)]['on']('finish',_0x27fc25));}function _0x213464(_0x1840fa){const _0x55dbba=_0x58b6d5;this[_0x589908]['_receiver'][_0x55dbba(0x2a7)](_0x1840fa)||this['pause']();}function _0x1956d3(){const _0x1fce90=_0x58b6d5,_0x2c7b09=this[_0x589908];_0x2c7b09[_0x1fce90(0x27f)]=_0x36c0dd[_0x1fce90(0x28b)],_0x2c7b09[_0x1fce90(0x303)][_0x1fce90(0x238)](),this[_0x1fce90(0x238)]();}function _0x1fea92(){const _0x2b775e=_0x58b6d5,_0x5efed9=this[_0x589908];this['removeListener'](_0x2b775e(0x287),_0x1fea92),this['on'](_0x2b775e(0x287),_0x48c73d),_0x5efed9&&(_0x5efed9[_0x2b775e(0x27f)]=_0x36c0dd[_0x2b775e(0x28b)],this[_0x2b775e(0x281)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x549b32}=_0x333975;function _0x3da38a(_0x3b5436){const _0x1f351d=_0x42e2;_0x3b5436[_0x1f351d(0x1d6)](_0x1f351d(0x1c6));}function _0x31719b(){const _0x2ad41e=_0x42e2;!this['destroyed']&&this['_writableState'][_0x2ad41e(0x286)]&&this[_0x2ad41e(0x281)]();}function _0x1115e2(_0xa6880f){const _0x2c1519=_0x42e2;this[_0x2c1519(0x170)](_0x2c1519(0x287),_0x1115e2),this[_0x2c1519(0x281)](),this[_0x2c1519(0x1f9)]('error')===0x0&&this[_0x2c1519(0x1d6)](_0x2c1519(0x287),_0xa6880f);}function _0x1245e9(_0x3f2783,_0x472eff){const _0x248cf4=_0x42e2;let _0x28d30f=!0x0;const _0x3921fd=new _0x549b32({..._0x472eff,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f2783['on'](_0x248cf4(0x272),function(_0x5ba913,_0xc2a009){const _0x270316=_0x248cf4,_0x5e8330=!_0xc2a009&&_0x3921fd['_readableState'][_0x270316(0x17b)]?_0x5ba913[_0x270316(0x18d)]():_0x5ba913;_0x3921fd[_0x270316(0x175)](_0x5e8330)||_0x3f2783[_0x270316(0x283)]();}),_0x3f2783[_0x248cf4(0x23b)]('error',function(_0xad9261){const _0x34b4b1=_0x248cf4;_0x3921fd['destroyed']||(_0x28d30f=!0x1,_0x3921fd[_0x34b4b1(0x281)](_0xad9261));}),_0x3f2783[_0x248cf4(0x23b)](_0x248cf4(0x1c6),function(){const _0x48a1be=_0x248cf4;_0x3921fd[_0x48a1be(0x2ed)]||_0x3921fd[_0x48a1be(0x175)](null);}),_0x3921fd[_0x248cf4(0x2e0)]=function(_0x559b17,_0x4ccda4){const _0x2d8f13=_0x248cf4;if(_0x3f2783['readyState']===_0x3f2783[_0x2d8f13(0x278)]){_0x4ccda4(_0x559b17),process[_0x2d8f13(0x25b)](_0x3da38a,_0x3921fd);return;}let _0x21cc65=!0x1;_0x3f2783[_0x2d8f13(0x23b)](_0x2d8f13(0x287),function(_0x4f6dfc){_0x21cc65=!0x0,_0x4ccda4(_0x4f6dfc);}),_0x3f2783[_0x2d8f13(0x23b)](_0x2d8f13(0x1c6),function(){const _0x1e5fa3=_0x2d8f13;_0x21cc65||_0x4ccda4(_0x559b17),process[_0x1e5fa3(0x25b)](_0x3da38a,_0x3921fd);}),_0x28d30f&&_0x3f2783[_0x2d8f13(0x2fd)]();},_0x3921fd[_0x248cf4(0x246)]=function(_0x5b3cf4){const _0x199f73=_0x248cf4;if(_0x3f2783[_0x199f73(0x1ae)]===_0x3f2783[_0x199f73(0x2a3)]){_0x3f2783['once'](_0x199f73(0x1a1),function(){const _0xebcd56=_0x199f73;_0x3921fd[_0xebcd56(0x246)](_0x5b3cf4);});return;}_0x3f2783['_socket']!==null&&(_0x3f2783[_0x199f73(0x2cc)][_0x199f73(0x165)]['finished']?(_0x5b3cf4(),_0x3921fd[_0x199f73(0x2bf)][_0x199f73(0x192)]&&_0x3921fd[_0x199f73(0x281)]()):(_0x3f2783[_0x199f73(0x2cc)][_0x199f73(0x23b)](_0x199f73(0x1d4),function(){_0x5b3cf4();}),_0x3f2783[_0x199f73(0x1c6)]()));},_0x3921fd['_read']=function(){const _0x13e20f=_0x248cf4;_0x3f2783[_0x13e20f(0x26b)]&&_0x3f2783[_0x13e20f(0x28c)]();},_0x3921fd[_0x248cf4(0x230)]=function(_0x4768f6,_0x4a1148,_0x4e5d5c){const _0x44303e=_0x248cf4;if(_0x3f2783[_0x44303e(0x1ae)]===_0x3f2783[_0x44303e(0x2a3)]){_0x3f2783['once'](_0x44303e(0x1a1),function(){const _0x3aa291=_0x44303e;_0x3921fd[_0x3aa291(0x230)](_0x4768f6,_0x4a1148,_0x4e5d5c);});return;}_0x3f2783['send'](_0x4768f6,_0x4e5d5c);},_0x3921fd['on'](_0x248cf4(0x238),_0x31719b),_0x3921fd['on'](_0x248cf4(0x287),_0x1115e2),_0x3921fd;}return Oe=_0x1245e9,Oe;}Xt(),dt(),_t();var Zt=Ie();function _0x42e2(_0xb02dc4,_0x110ec7){const _0x35d45c=_0x35d4();return _0x42e2=function(_0x42e23c,_0x401bca){_0x42e23c=_0x42e23c-0x162;let _0x26901e=_0x35d45c[_0x42e23c];return _0x26901e;},_0x42e2(_0xb02dc4,_0x110ec7);}const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x554812}=ne();function _0x24338c(_0x200a61){const _0x17e6d1=_0x42e2,_0x286ab3=new Set();let _0x43d794=-0x1,_0x42992b=-0x1,_0x2c6ea6=0x0;for(_0x2c6ea6;_0x2c6ea6<_0x200a61['length'];_0x2c6ea6++){const _0x2fdc12=_0x200a61[_0x17e6d1(0x1bd)](_0x2c6ea6);if(_0x42992b===-0x1&&_0x554812[_0x2fdc12]===0x1)_0x43d794===-0x1&&(_0x43d794=_0x2c6ea6);else{if(_0x2c6ea6!==0x0&&(_0x2fdc12===0x20||_0x2fdc12===0x9))_0x42992b===-0x1&&_0x43d794!==-0x1&&(_0x42992b=_0x2c6ea6);else{if(_0x2fdc12===0x2c){if(_0x43d794===-0x1)throw new SyntaxError(_0x17e6d1(0x1af)+_0x2c6ea6);_0x42992b===-0x1&&(_0x42992b=_0x2c6ea6);const _0x4d01a9=_0x200a61[_0x17e6d1(0x2f6)](_0x43d794,_0x42992b);if(_0x286ab3[_0x17e6d1(0x2f3)](_0x4d01a9))throw new SyntaxError('The\x20\x22'+_0x4d01a9+_0x17e6d1(0x2a5));_0x286ab3[_0x17e6d1(0x1c2)](_0x4d01a9),_0x43d794=_0x42992b=-0x1;}else throw new SyntaxError(_0x17e6d1(0x1af)+_0x2c6ea6);}}}if(_0x43d794===-0x1||_0x42992b!==-0x1)throw new SyntaxError(_0x17e6d1(0x2a0));const _0x3328e4=_0x200a61[_0x17e6d1(0x2f6)](_0x43d794,_0x2c6ea6);if(_0x286ab3['has'](_0x3328e4))throw new SyntaxError('The\x20\x22'+_0x3328e4+_0x17e6d1(0x2a5));return _0x286ab3[_0x17e6d1(0x1c2)](_0x3328e4),_0x286ab3;}return Ce={'parse':_0x24338c},Ce;}var Te,ot;function er(){const _0x3e76c2=_0xc4267b;if(ot)return Te;ot=0x1;const _0xf44d46=_0x5efd75,_0x5880a1=_0x120c00,{Duplex:_0x12073c}=_0x333975,{createHash:_0x487ea3}=_0x5454a,_0x46d8ec=pt(),_0x3783fe=he(),_0x1e584b=Jt(),_0x5db5ed=Ie(),{GUID:_0x21f86e,kWebSocket:_0x37c7be}=V(),_0x3b20ca=/^[+/0-9A-Za-z]{22}==$/,_0x17eb15=0x0,_0x294004=0x1,_0x42bb27=0x2;class _0x14b8a0 extends _0xf44d46{constructor(_0x40397a,_0x2d9394){const _0x557973=_0x42e2;if(super(),_0x40397a={'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':_0x5db5ed,..._0x40397a},_0x40397a['port']==null&&!_0x40397a['server']&&!_0x40397a[_0x557973(0x240)]||_0x40397a[_0x557973(0x1f2)]!=null&&(_0x40397a['server']||_0x40397a[_0x557973(0x240)])||_0x40397a[_0x557973(0x242)]&&_0x40397a['noServer'])throw new TypeError(_0x557973(0x2e7));if(_0x40397a[_0x557973(0x1f2)]!=null?(this[_0x557973(0x282)]=_0x5880a1[_0x557973(0x2ab)]((_0x31e738,_0x324d52)=>{const _0x2a5053=_0x557973,_0x5083fe=_0x5880a1[_0x2a5053(0x2d0)][0x1aa];_0x324d52[_0x2a5053(0x26d)](0x1aa,{'Content-Length':_0x5083fe[_0x2a5053(0x209)],'Content-Type':_0x2a5053(0x1f0)}),_0x324d52['end'](_0x5083fe);}),this[_0x557973(0x282)][_0x557973(0x1b1)](_0x40397a[_0x557973(0x1f2)],_0x40397a[_0x557973(0x221)],_0x40397a['backlog'],_0x2d9394)):_0x40397a[_0x557973(0x242)]&&(this[_0x557973(0x282)]=_0x40397a['server']),this[_0x557973(0x282)]){const _0x52f194=this[_0x557973(0x1d6)][_0x557973(0x2a1)](this,_0x557973(0x245));this[_0x557973(0x296)]=_0x4f144e(this[_0x557973(0x282)],{'listening':this[_0x557973(0x1d6)]['bind'](this,'listening'),'error':this['emit']['bind'](this,_0x557973(0x287)),'upgrade':(_0x2d8597,_0x1cef91,_0x278686)=>{this['handleUpgrade'](_0x2d8597,_0x1cef91,_0x278686,_0x52f194);}});}_0x40397a[_0x557973(0x16f)]===!0x0&&(_0x40397a[_0x557973(0x16f)]={}),_0x40397a['clientTracking']&&(this[_0x557973(0x219)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x557973(0x24a)]=_0x40397a,this['_state']=_0x17eb15;}[_0x3e76c2(0x20d)](){const _0x3d0955=_0x3e76c2;if(this[_0x3d0955(0x24a)][_0x3d0955(0x240)])throw new Error(_0x3d0955(0x250));return this[_0x3d0955(0x282)]?this[_0x3d0955(0x282)][_0x3d0955(0x20d)]():null;}[_0x3e76c2(0x1c6)](_0x18dce5){const _0x2957be=_0x3e76c2;if(this[_0x2957be(0x1c3)]===_0x42bb27){_0x18dce5&&this[_0x2957be(0x23b)](_0x2957be(0x1c6),()=>{const _0x251c79=_0x2957be;_0x18dce5(new Error(_0x251c79(0x2ef)));}),process['nextTick'](_0x1688a3,this);return;}if(_0x18dce5&&this[_0x2957be(0x23b)](_0x2957be(0x1c6),_0x18dce5),this[_0x2957be(0x1c3)]!==_0x294004){if(this[_0x2957be(0x1c3)]=_0x294004,this[_0x2957be(0x24a)]['noServer']||this[_0x2957be(0x24a)][_0x2957be(0x242)])this[_0x2957be(0x282)]&&(this[_0x2957be(0x296)](),this[_0x2957be(0x296)]=this[_0x2957be(0x282)]=null),this[_0x2957be(0x219)]?this[_0x2957be(0x219)][_0x2957be(0x2ec)]?this[_0x2957be(0x300)]=!0x0:process[_0x2957be(0x25b)](_0x1688a3,this):process['nextTick'](_0x1688a3,this);else{const _0x50b384=this[_0x2957be(0x282)];this['_removeListeners'](),this[_0x2957be(0x296)]=this[_0x2957be(0x282)]=null,_0x50b384['close'](()=>{_0x1688a3(this);});}}}[_0x3e76c2(0x2b5)](_0x54b14d){const _0x430baf=_0x3e76c2;if(this['options'][_0x430baf(0x2ff)]){const _0x5503d8=_0x54b14d[_0x430baf(0x2d4)][_0x430baf(0x207)]('?');if((_0x5503d8!==-0x1?_0x54b14d['url'][_0x430baf(0x2f6)](0x0,_0x5503d8):_0x54b14d['url'])!==this[_0x430baf(0x24a)][_0x430baf(0x2ff)])return!0x1;}return!0x0;}[_0x3e76c2(0x19b)](_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10){const _0x5333c4=_0x3e76c2;_0x5870cc['on'](_0x5333c4(0x287),_0x591358);const _0x4bb35f=_0x162b47['headers'][_0x5333c4(0x1c8)],_0x5f6ec6=_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x1d5)],_0x2cadb2=+_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x20c)];if(_0x162b47[_0x5333c4(0x20f)]!==_0x5333c4(0x21e)){_0x3ef9db(this,_0x162b47,_0x5870cc,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5f6ec6===void 0x0||_0x5f6ec6[_0x5333c4(0x2f2)]()!=='websocket'){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x1f6));return;}if(_0x4bb35f===void 0x0||!_0x3b20ca[_0x5333c4(0x210)](_0x4bb35f)){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2cadb2!==0x8&&_0x2cadb2!==0xd){_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x162b47)){_0x49b0a4(_0x5870cc,0x190);return;}const _0x5c8b93=_0x162b47[_0x5333c4(0x1bf)][_0x5333c4(0x293)];let _0x2815d6=new Set();if(_0x5c8b93!==void 0x0)try{_0x2815d6=_0x1e584b['parse'](_0x5c8b93);}catch{_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x2fb));return;}const _0x317fe3=_0x162b47[_0x5333c4(0x1bf)]['sec-websocket-extensions'],_0x11ef92={};if(this[_0x5333c4(0x24a)][_0x5333c4(0x16f)]&&_0x317fe3!==void 0x0){const _0xe3090d=new _0x3783fe(this[_0x5333c4(0x24a)][_0x5333c4(0x16f)],!0x0,this[_0x5333c4(0x24a)]['maxPayload']);try{const _0x106869=_0x46d8ec['parse'](_0x317fe3);_0x106869[_0x3783fe['extensionName']]&&(_0xe3090d[_0x5333c4(0x162)](_0x106869[_0x3783fe[_0x5333c4(0x1ab)]]),_0x11ef92[_0x3783fe[_0x5333c4(0x1ab)]]=_0xe3090d);}catch{_0x3ef9db(this,_0x162b47,_0x5870cc,0x190,_0x5333c4(0x2b0));return;}}if(this[_0x5333c4(0x24a)][_0x5333c4(0x2fa)]){const _0x5117bd={'origin':_0x162b47[_0x5333c4(0x1bf)][''+(_0x2cadb2===0x8?_0x5333c4(0x2fc):_0x5333c4(0x239))],'secure':!!(_0x162b47['socket'][_0x5333c4(0x2f9)]||_0x162b47[_0x5333c4(0x2d5)][_0x5333c4(0x205)]),'req':_0x162b47};if(this['options'][_0x5333c4(0x2fa)][_0x5333c4(0x209)]===0x2){this['options']['verifyClient'](_0x5117bd,(_0x2a8977,_0x205b0d,_0x128425,_0x358cb6)=>{const _0x1eb1f4=_0x5333c4;if(!_0x2a8977)return _0x49b0a4(_0x5870cc,_0x205b0d||0x191,_0x128425,_0x358cb6);this[_0x1eb1f4(0x255)](_0x11ef92,_0x4bb35f,_0x2815d6,_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10);});return;}if(!this[_0x5333c4(0x24a)]['verifyClient'](_0x5117bd))return _0x49b0a4(_0x5870cc,0x191);}this[_0x5333c4(0x255)](_0x11ef92,_0x4bb35f,_0x2815d6,_0x162b47,_0x5870cc,_0x37cef4,_0x2c6d10);}[_0x3e76c2(0x255)](_0x6e2b7b,_0x2e6556,_0x1e16b1,_0x32e94f,_0x289c7d,_0x43afad,_0x23dfbf){const _0x3f284f=_0x3e76c2;if(!_0x289c7d[_0x3f284f(0x196)]||!_0x289c7d[_0x3f284f(0x1d7)])return _0x289c7d[_0x3f284f(0x281)]();if(_0x289c7d[_0x37c7be])throw new Error(_0x3f284f(0x1c5));if(this[_0x3f284f(0x1c3)]>_0x17eb15)return _0x49b0a4(_0x289c7d,0x1f7);const _0x284b40=[_0x3f284f(0x20b),_0x3f284f(0x204),_0x3f284f(0x1b8),_0x3f284f(0x234)+_0x487ea3(_0x3f284f(0x180))['update'](_0x2e6556+_0x21f86e)[_0x3f284f(0x24e)](_0x3f284f(0x1cd))],_0x5c6460=new this[(_0x3f284f(0x24a))]['WebSocket'](null,void 0x0,this[_0x3f284f(0x24a)]);if(_0x1e16b1[_0x3f284f(0x2ec)]){const _0x4328f9=this[_0x3f284f(0x24a)][_0x3f284f(0x173)]?this['options'][_0x3f284f(0x173)](_0x1e16b1,_0x32e94f):_0x1e16b1[_0x3f284f(0x21c)]()[_0x3f284f(0x1a6)]()[_0x3f284f(0x1db)];_0x4328f9&&(_0x284b40[_0x3f284f(0x175)](_0x3f284f(0x178)+_0x4328f9),_0x5c6460[_0x3f284f(0x220)]=_0x4328f9);}if(_0x6e2b7b[_0x3783fe[_0x3f284f(0x1ab)]]){const _0x4a6e51=_0x6e2b7b[_0x3783fe[_0x3f284f(0x1ab)]][_0x3f284f(0x1b0)],_0x19d0b1=_0x46d8ec[_0x3f284f(0x1b2)]({[_0x3783fe['extensionName']]:[_0x4a6e51]});_0x284b40[_0x3f284f(0x175)](_0x3f284f(0x2c9)+_0x19d0b1),_0x5c6460[_0x3f284f(0x191)]=_0x6e2b7b;}this['emit'](_0x3f284f(0x1bf),_0x284b40,_0x32e94f),_0x289c7d['write'](_0x284b40[_0x3f284f(0x186)]('\x0d\x0a')['join']('\x0d\x0a')),_0x289c7d[_0x3f284f(0x170)](_0x3f284f(0x287),_0x591358),_0x5c6460[_0x3f284f(0x275)](_0x289c7d,_0x43afad,{'allowSynchronousEvents':this[_0x3f284f(0x24a)]['allowSynchronousEvents'],'maxPayload':this[_0x3f284f(0x24a)][_0x3f284f(0x2b8)],'skipUTF8Validation':this[_0x3f284f(0x24a)]['skipUTF8Validation']}),this[_0x3f284f(0x219)]&&(this[_0x3f284f(0x219)][_0x3f284f(0x1c2)](_0x5c6460),_0x5c6460['on'](_0x3f284f(0x1c6),()=>{const _0x1b75bc=_0x3f284f;this[_0x1b75bc(0x219)][_0x1b75bc(0x1fb)](_0x5c6460),this[_0x1b75bc(0x300)]&&!this[_0x1b75bc(0x219)][_0x1b75bc(0x2ec)]&&process['nextTick'](_0x1688a3,this);})),_0x23dfbf(_0x5c6460,_0x32e94f);}}Te=_0x14b8a0;function _0x4f144e(_0x4f1182,_0x16c9e4){for(const _0x278d38 of Object['keys'](_0x16c9e4))_0x4f1182['on'](_0x278d38,_0x16c9e4[_0x278d38]);return function(){const _0x5b5faa=_0x42e2;for(const _0x2b7e14 of Object[_0x5b5faa(0x258)](_0x16c9e4))_0x4f1182[_0x5b5faa(0x170)](_0x2b7e14,_0x16c9e4[_0x2b7e14]);};}function _0x1688a3(_0xfd31e2){const _0x487377=_0x3e76c2;_0xfd31e2[_0x487377(0x1c3)]=_0x42bb27,_0xfd31e2['emit']('close');}function _0x591358(){const _0x53ed50=_0x3e76c2;this[_0x53ed50(0x281)]();}function _0x49b0a4(_0x148d63,_0x5a8827,_0x2a6e80,_0x3ae4e1){const _0x27917e=_0x3e76c2;_0x2a6e80=_0x2a6e80||_0x5880a1[_0x27917e(0x2d0)][_0x5a8827],_0x3ae4e1={'Connection':_0x27917e(0x1c6),'Content-Type':_0x27917e(0x1c9),'Content-Length':Buffer[_0x27917e(0x28e)](_0x2a6e80),..._0x3ae4e1},_0x148d63['once'](_0x27917e(0x1d4),_0x148d63[_0x27917e(0x281)]),_0x148d63[_0x27917e(0x238)](_0x27917e(0x16e)+_0x5a8827+'\x20'+_0x5880a1[_0x27917e(0x2d0)][_0x5a8827]+'\x0d\x0a'+Object['keys'](_0x3ae4e1)[_0x27917e(0x1ba)](_0x2865e7=>_0x2865e7+':\x20'+_0x3ae4e1[_0x2865e7])[_0x27917e(0x25a)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2a6e80);}function _0x3ef9db(_0x3a1321,_0x2d6351,_0xa67008,_0x15df0a,_0x37cd6f){const _0x3ffdaf=_0x3e76c2;if(_0x3a1321[_0x3ffdaf(0x1f9)](_0x3ffdaf(0x2bd))){const _0x39e170=new Error(_0x37cd6f);Error[_0x3ffdaf(0x2df)](_0x39e170,_0x3ef9db),_0x3a1321[_0x3ffdaf(0x1d6)](_0x3ffdaf(0x2bd),_0x39e170,_0xa67008,_0x2d6351);}else _0x49b0a4(_0xa67008,_0x15df0a,_0x37cd6f);}return Te;}er();var tr=Object[_0xc4267b(0x24c)],rr=(_0x5022f2,_0x4ad2c7,_0x3fbf6e,_0x32be12)=>{const _0x4bb0e1=_0xc4267b;for(var _0x4f9db5=_0x32be12>0x1?void 0x0:_0x32be12?tr(_0x4ad2c7,_0x3fbf6e):_0x4ad2c7,_0x19a011=_0x5022f2[_0x4bb0e1(0x209)]-0x1,_0x29b90d;_0x19a011>=0x0;_0x19a011--)(_0x29b90d=_0x5022f2[_0x19a011])&&(_0x4f9db5=_0x29b90d(_0x4f9db5)||_0x4f9db5);return _0x4f9db5;},sr=(_0x36d14f,_0xc1168c)=>(_0x116e63,_0x44fe2e)=>_0xc1168c(_0x116e63,_0x44fe2e,_0x36d14f);let Ne=class extends _0x4d4dc{constructor(_0x5286af){super(),this['_configService']=_0x5286af;}[_0xc4267b(0x16b)](_0x309561){const _0x4824a2=_0xc4267b;var _0x2a4f71;const _0x98fe18=(_0x2a4f71=this[_0x4824a2(0x26f)][_0x4824a2(0x1b4)](Be))==null?void 0x0:_0x2a4f71['customHeaders'];try{const _0x4c749d=new Qt(_0x309561,{'headers':{..._0x98fe18}}),_0x2d2947=new _0x5cfc04();return{'URL':_0x309561,'close':(_0x562fc6,_0x581310)=>{const _0x21b4cb=_0x4824a2;_0x4c749d['close'](_0x562fc6,_0x581310),_0x2d2947[_0x21b4cb(0x1ac)]();},'send':_0x111461=>{const _0x5c8a28=_0x4824a2;_0x4c749d[_0x5c8a28(0x201)](_0x111461);},'open$':new _0x6566c5(_0xc278fa=>{const _0x3e4b69=_0x4824a2,_0xe5f10c=_0x3e9526=>_0xc278fa['next'](_0x3e9526);_0x4c749d[_0x3e4b69(0x1a2)](_0x3e4b69(0x1a1),_0xe5f10c),_0x2d2947[_0x3e4b69(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x3e4b69(0x174)](_0x3e4b69(0x1a1),_0xe5f10c)));})['pipe'](_0xc1b973()),'close$':new _0x6566c5(_0x59228a=>{const _0x39dabd=_0x4824a2,_0x4482f2=_0x11a9ce=>_0x59228a[_0x39dabd(0x1a6)](_0x11a9ce);_0x4c749d['addEventListener'](_0x39dabd(0x1c6),_0x4482f2),_0x2d2947[_0x39dabd(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x39dabd(0x174)](_0x39dabd(0x1c6),_0x4482f2)));})[_0x4824a2(0x1a0)](_0xc1b973()),'error$':new _0x6566c5(_0x3efc87=>{const _0x29f249=_0x4824a2,_0x107cd9=_0xad81b6=>_0x3efc87[_0x29f249(0x1a6)](_0xad81b6);_0x4c749d[_0x29f249(0x1a2)](_0x29f249(0x287),_0x107cd9),_0x2d2947[_0x29f249(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x29f249(0x174)](_0x29f249(0x287),_0x107cd9)));})['pipe'](_0xc1b973()),'message$':new _0x6566c5(_0x20e5c5=>{const _0x3a2da4=_0x4824a2,_0x5421a2=_0x27d862=>_0x20e5c5['next'](_0x27d862);_0x4c749d['addEventListener'](_0x3a2da4(0x272),_0x5421a2),_0x2d2947[_0x3a2da4(0x1c2)](_0x5a1a12(()=>_0x4c749d[_0x3a2da4(0x174)](_0x3a2da4(0x272),_0x5421a2)));})[_0x4824a2(0x1a0)](_0xc1b973())};}catch(_0x50df93){return console[_0x4824a2(0x287)](_0x50df93),null;}}};Ne=rr([sr(0x0,_0x57bb5f)],Ne);var ir=Object[_0xc4267b(0x1c0)],nr=Object[_0xc4267b(0x24c)],or=(_0x81ab05,_0x5992b2,_0x5f11c0)=>_0x5992b2 in _0x81ab05?ir(_0x81ab05,_0x5992b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f11c0}):_0x81ab05[_0x5992b2]=_0x5f11c0,ar=(_0x120884,_0x270cef,_0x265cbc,_0x22f0fa)=>{const _0x5b0244=_0xc4267b;for(var _0x201c63=_0x22f0fa>0x1?void 0x0:_0x22f0fa?nr(_0x270cef,_0x265cbc):_0x270cef,_0x215b0=_0x120884[_0x5b0244(0x209)]-0x1,_0x751091;_0x215b0>=0x0;_0x215b0--)(_0x751091=_0x120884[_0x215b0])&&(_0x201c63=_0x751091(_0x201c63)||_0x201c63);return _0x201c63;},ke=(_0x3ea174,_0x38b295)=>(_0x2d018e,_0x12f2fb)=>_0x38b295(_0x2d018e,_0x12f2fb,_0x3ea174),lr=(_0x4f9320,_0x25ef22,_0x65947)=>or(_0x4f9320,_0x25ef22+'',_0x65947);let Pe=class extends _0x485cd3{constructor(_0x1491f9=Ft,_0x1fb90e,_0x46a8d3,_0x14d95e){const _0x245ea6=_0xc4267b;_0x1491f9['customHeaders']||_0x1fb90e[_0x245ea6(0x2c7)](_0x245ea6(0x26e)),super(),this[_0x245ea6(0x26f)]=_0x46a8d3,this[_0x245ea6(0x198)]=_0x14d95e,this[_0x245ea6(0x26f)][_0x245ea6(0x1a7)](Be,_0x1491f9);}[_0xc4267b(0x2da)](){this['_registerDependencies']();}[_0xc4267b(0x227)](){const _0x474d05=_0xc4267b;_0x5cd8e2(this[_0x474d05(0x198)],[[_0x4ecddb,{'useClass':Ne}]]);}};lr(Pe,_0xc4267b(0x306),_0xc4267b(0x176)),Pe=ar([_0x25ffca(_0x5bf9df),ke(0x1,_0x37933a),ke(0x2,_0x57bb5f),ke(0x3,_0x5d6a3a(_0x4cb68d))],Pe);var fr=Object[_0xc4267b(0x24c)],cr=(_0x2acea9,_0x4cc55e,_0x2cb033,_0x7f4c6e)=>{const _0x38e7ac=_0xc4267b;for(var _0x5b9bd7=_0x7f4c6e>0x1?void 0x0:_0x7f4c6e?fr(_0x4cc55e,_0x2cb033):_0x4cc55e,_0x1b513=_0x2acea9[_0x38e7ac(0x209)]-0x1,_0x3ba17b;_0x1b513>=0x0;_0x1b513--)(_0x3ba17b=_0x2acea9[_0x1b513])&&(_0x5b9bd7=_0x3ba17b(_0x5b9bd7)||_0x5b9bd7);return _0x5b9bd7;},se=(_0x158cdc,_0x4c787e)=>(_0x127eb0,_0x4d2ab6)=>_0x4c787e(_0x127eb0,_0x4d2ab6,_0x158cdc);let at=class extends _0x1732df{constructor(_0x3f8d14,_0x5e9d1d,_0x13b508,_0x18b98f,_0x257cb0){const _0x220b37=_0xc4267b;super(_0x3f8d14,_0x5e9d1d,_0x13b508,_0x18b98f,_0x257cb0);const _0x42d746=this[_0x220b37(0x26f)][_0x220b37(0x1b4)](Be);this[_0x220b37(0x2f0)]['registerHTTPInterceptor']({'interceptor':(_0x266a25,_0x596a88)=>{const _0xd903b3=_0x220b37;var _0x484bcf;const _0x313854=_0x266a25['headers'];return(_0x484bcf=_0x42d746==null?void 0x0:_0x42d746[_0xd903b3(0x292)])!=null&&_0x484bcf[_0xd903b3(0x2ca)]&&_0x313854['set'](_0xd903b3(0x24f),_0x42d746['customHeaders'][_0xd903b3(0x2ca)]),_0x596a88(_0x266a25);}});}async[_0xc4267b(0x16b)](_0x33dfe6){const _0x5992cf=_0xc4267b;return this[_0x5992cf(0x2eb)](_0x33dfe6);}};at=cr([se(0x0,_0x5d6a3a(_0x4cb68d)),se(0x1,_0x5d6a3a(_0x32765b)),se(0x2,_0x57bb5f),se(0x3,_0x37933a),se(0x4,_0x23ad22)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};