@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505061607 → 0.7.0-nightly.202505071607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x363399=_0x1b98;(function(_0x36e3bd,_0x16c971){const _0x215663=_0x1b98,_0xabe89c=_0x36e3bd();while(!![]){try{const _0x4db5f0=-parseInt(_0x215663(0x1bf))/0x1+parseInt(_0x215663(0x249))/0x2+parseInt(_0x215663(0x21a))/0x3+-parseInt(_0x215663(0x1ab))/0x4+parseInt(_0x215663(0x205))/0x5*(-parseInt(_0x215663(0x1fe))/0x6)+-parseInt(_0x215663(0x238))/0x7+parseInt(_0x215663(0x287))/0x8;if(_0x4db5f0===_0x16c971)break;else _0xabe89c['push'](_0xabe89c['shift']());}catch(_0x166669){_0xabe89c['push'](_0xabe89c['shift']());}}}(_0x1c01,0x8ae71));import{UniverCollaborationClientPlugin as _0x1b45c9,CollaborationSocketService as _0x53d167}from'@univerjs-pro/collaboration-client';import{Disposable as _0x15ab8c,DisposableCollection as _0x493a48,toDisposable as _0x205ae4,IConfigService as _0x46f6d1,DependentOn as _0x2758eb,ILogService as _0x144612,Inject as _0x3fb2e9,Injector as _0x56b19d,Plugin as _0x89fbf,registerDependencies as _0x10e29e}from'@univerjs/core';import{ISocketService as _0x242fa3,HTTPService as _0x2d6f20}from'@univerjs/network';import{Observable as _0xd7a4ad,share as _0x2bc1a6}from'rxjs';import _0x1a0dc7 from'events';import _0x174920 from'https';import _0x35e405 from'http';import _0x3ae457 from'net';import _0x29368c from'tls';import _0x168862 from'crypto';import _0x169f08 from'stream';import _0x29bebd from'url';import _0x4801fd from'zlib';import _0x52a0b3 from'buffer';import{ISnapshotServerService as _0x1109cc}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0x1c01(){const _0x516026=['readyState','maxPayload','_allowSynchronousEvents','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','finish','\x22:\x20','_maxPayload','_autoPong','createError','_no_context_takeover','setTimeout','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_registerDependencies','writeUInt16BE','uncork','decompress','update','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_mask','_redirects','wss:','createSocket','kDone','Z_SYNC_FLUSH','wasClean','toString','set','getPayloadLength64','_messageLength','removeListener','_skipUTF8Validation','concurrencyLimit','listenerCount','getMask','drain','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','freeze','WS_ERR_UNEXPECTED_RSV_2_3','_readableState','_max_window_bits','concurrency','kRun','unshift','readOnly','socket','destroyed','threshold','client','byteOffset','text/html','WebSocket\x20is\x20not\x20open:\x20readyState\x20','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','hash','_shouldEmitClose','bufferedAmount','The\x20server\x20is\x20not\x20running','kAborted','nodebuffer','forEach','permessage-deflate','getOwnPropertyDescriptor','haveLength','read','apply','reason','http:','get','write','createConnection','binary','kIsForOnEventAttribute','_binaryType','3843784aIhMPo','ws:','isBuffer','Invalid\x20WebSocket\x20frame:\x20','type','removeAllListeners','_opcode','hostname','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20end\x20of\x20input','isValidUTF8','Sec-WebSocket-Extensions:\x20','Maximum\x20redirects\x20exceeded','\x0d\x0a\x0d\x0a','timeout','_closeCode','_firstFragment','path','server_no_context_takeover','reset','718390zckZHA','WebSocket','add','invalid\x20opcode\x20','followRedirects','options','_fragments','_fragmented','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','base64','params','kReason','OPEN','Sec-WebSocket-Accept:\x20','getPayloadLength16','next','response','buffers','\x22\x20subprotocol\x20is\x20duplicated','Invalid\x20Sec-WebSocket-Accept\x20header','destroy','fin','handleEvent','Module','startLoop','CLOSING','client_no_context_takeover','bind','registerHTTPInterceptor','isIP','Invalid\x20Sec-WebSocket-Protocol\x20header','The\x20URL\x27s\x20pathname\x20is\x20empty','pause','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','terminate','_bufferedAmount','toStringTag','_compress','request','conclude','_server','href','_httpService','socketPath','WS_ERR_INVALID_UTF8','indexOf','_originalHostOrSocketPath','default','_removeListeners','env','headers','concat','removeEventListener','handleProtocols','extensionName','writeHead','unexpected-response','server_max_window_bits','cleanup','_threshold','WS_ERR_EXPECTED_MASK','_writableState','origin','1080198DxWyZq','pathname','create','emit','once','_url','push','10bVbULY','extensions','dataMessage','getInfo','_inflate','enqueue','endEmitted','sec-websocket-protocol','toLowerCase','onerror','shouldHandle','sec-websocket-version','end','address','_maskBuffer','catch','_isServer','_loop','acceptAsClient','connect','blob','123573HCEJGJ','_extensions','isArray','WS_ERR_UNEXPECTED_RSV_1','serverNoContextTakeover','pong','split','constructor','completeUpgrade','RSV1\x20must\x20be\x20clear','setSocket','jobs','listeners','addEventListener','_decompress','password','_destroy','Unsupported\x20protocol\x20version:\x20','alloc','prototype','dispatch','message','_masked','_configService','CLOSED','allowSynchronousEvents','autoPong','onStarting','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','3887681uGzRuy','acceptAsServer','clients','_sender','open','_buffers','auth','normalizeParams','clientTracking','replace','_generateMask','sec-websocket-extensions','unmask','_injector','Unexpected\x20server\x20response:\x20','isPaused','_totalPayloadLength','732780sGIJXM','error','clientMaxWindowBits','entries','defaultPort','_queue','size','digest','has','object','number','writeUIntBE','_write','_receiver','_closeFrameSent','_originalSecure','Sec-WebSocket-Protocol:\x20','setNoDelay','url','Server\x20sent\x20no\x20subprotocol','ping','sec-websocket-accept','zlibInflateOptions','pow','Origin','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','HTTP/1.1\x20','Invalid\x20HTTP\x20method','length','_req','then','setConfig','shift','statusCode','_closeTimer','send','pluginName','call','getData','Basic\x20','close','_protocol','WS_ERR_INVALID_OPCODE','_closeFrameReceived','search','from','Parameter\x20\x22','WS_ERR_EXPECTED_FIN','_originalIpc','handshakeTimeout','Unknown\x20parameter\x20\x22','nextTick','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','perMessageDeflate','sec-websocket-key','Upgrade','client_max_window_bits','abort','construct','defineProperty','finished','compress','22049192YvlypJ','kWasClean','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','\x20(supported\x20versions:\x20','mask','kListener','upgrade','values','Opening\x20handshake\x20has\x20timed\x20out','Sec-WebSocket-Protocol','isServer','Blob','handleUpgrade','The\x20URL\x20contains\x20a\x20fragment\x20identifier','getBlobData','pipe','port','captureStackTrace','pending','Unexpected\x20character\x20at\x20index\x20','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','connection','hasOwnProperty','binaryType','function','__esModule','kMessage','arrayBuffer','keys','customHeaders','servername','isInteger','Max\x20payload\x20size\x20exceeded','frame','controlMessage','readUInt32BE','_deflate','HTTP/1.1\x20101\x20Switching\x20Protocols','location','_options','maskBuffer','_errorEmitted','kTarget','code','authorization','warn','redirect','arraybuffer','cork','serverMaxWindowBits','generateMask','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_state','accept','dispose','Invalid\x20Upgrade\x20header','join','consume','dequeue','includes','finishRequest','offer','wsClientError','byteLength','callback','_read','protocol','rsv1','data','The\x20\x22','Z_DEFAULT_WINDOWBITS','test','allocUnsafe','buffer','maxRedirects','_socket','listening','_payloadLength','needDrain','Invalid\x20value\x20for\x20parameter\x20\x22','readable','Sec-WebSocket-Origin','getConfig','Sec-WebSocket-Extensions','createInflateRaw','resume','clientNoContextTakeover','_readyState','charCodeAt','_closeMessage','map','find','species','onclose','invalid\x20payload\x20length\x20','errorEmitted','sha1','noServer','emitClose','text/plain','websocket','host','_fin','sendFrame','flush','server','kType','onopen','string','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','ws+unix:','File','_paused','listen','MASK\x20must\x20be\x20set','cookie','Upgrade:\x20websocket','readUInt16BE','protocolVersion','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','skipUTF8Validation','backlog','stream','isView','delete','STATUS_CODES','CONNECTING','_errored','kData','parse','exports','GET','_bufferedBytes','opcode','invalid\x20UTF-8\x20sequence','verifyClient','setHeader','slice','objectMode','_compressed','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes'];_0x1c01=function(){return _0x516026;};return _0x1c01();}function jt(_0x24ee89){const _0x6cc623=_0x1b98;return _0x24ee89&&_0x24ee89[_0x6cc623(0x2a0)]&&Object['prototype']['hasOwnProperty']['call'](_0x24ee89,_0x6cc623(0x1ee))?_0x24ee89[_0x6cc623(0x1ee)]:_0x24ee89;}function ut(_0x12793f){const _0x1c9cbb=_0x1b98;if(Object[_0x1c9cbb(0x22d)][_0x1c9cbb(0x29d)][_0x1c9cbb(0x26e)](_0x12793f,_0x1c9cbb(0x2a0)))return _0x12793f;var _0x1a7cff=_0x12793f[_0x1c9cbb(0x1ee)];if(typeof _0x1a7cff==_0x1c9cbb(0x29f)){var _0x552d79=function _0x156df4(){const _0x5e390b=_0x1c9cbb;return this instanceof _0x156df4?Reflect[_0x5e390b(0x283)](_0x1a7cff,arguments,this[_0x5e390b(0x221)]):_0x1a7cff[_0x5e390b(0x1a2)](this,arguments);};_0x552d79[_0x1c9cbb(0x22d)]=_0x1a7cff['prototype'];}else _0x552d79={};return Object[_0x1c9cbb(0x284)](_0x552d79,_0x1c9cbb(0x2a0),{'value':!0x0}),Object[_0x1c9cbb(0x2a3)](_0x12793f)['forEach'](function(_0x2ae261){const _0x3310c0=_0x1c9cbb;var _0x429fb0=Object['getOwnPropertyDescriptor'](_0x12793f,_0x2ae261);Object[_0x3310c0(0x284)](_0x552d79,_0x2ae261,_0x429fb0[_0x3310c0(0x1a5)]?_0x429fb0:{'enumerable':!0x0,'get':function(){return _0x12793f[_0x2ae261];}});}),_0x552d79;}var te={'exports':{}},ge,Ye;function V(){const _0x158bea=_0x1b98;if(Ye)return ge;Ye=0x1;const _0x21dbfd=['nodebuffer',_0x158bea(0x2b6),'fragments'],_0xd15b41=typeof Blob<'u';return _0xd15b41&&_0x21dbfd[_0x158bea(0x204)](_0x158bea(0x219)),ge={'BINARY_TYPES':_0x21dbfd,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0xd15b41,'kForOnEventAttribute':Symbol(_0x158bea(0x1a9)),'kListener':Symbol(_0x158bea(0x28c)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x363399(0x1e3)],{'value':_0x363399(0x1d6)})),Vt=ut(Gt);var Ke;function ce(){const _0x25ddef=_0x363399;if(Ke)return te[_0x25ddef(0x30a)];Ke=0x1;const {EMPTY_BUFFER:_0x3d7b00}=V(),_0x1f01b4=Buffer[Symbol[_0x25ddef(0x2e4)]];function _0x55ae06(_0x52443d,_0x497401){const _0x47282f=_0x25ddef;if(_0x52443d[_0x47282f(0x265)]===0x0)return _0x3d7b00;if(_0x52443d[_0x47282f(0x265)]===0x1)return _0x52443d[0x0];const _0x2d5412=Buffer[_0x47282f(0x2d0)](_0x497401);let _0x135f11=0x0;for(let _0x196515=0x0;_0x196515<_0x52443d[_0x47282f(0x265)];_0x196515++){const _0xbd71f0=_0x52443d[_0x196515];_0x2d5412[_0x47282f(0x330)](_0xbd71f0,_0x135f11),_0x135f11+=_0xbd71f0[_0x47282f(0x265)];}return _0x135f11<_0x497401?new _0x1f01b4(_0x2d5412[_0x47282f(0x2d1)],_0x2d5412[_0x47282f(0x346)],_0x135f11):_0x2d5412;}function _0x1e09af(_0x463756,_0x572499,_0x1f6996,_0x1a617c,_0x56f4b1){for(let _0x25a137=0x0;_0x25a137<_0x56f4b1;_0x25a137++)_0x1f6996[_0x1a617c+_0x25a137]=_0x463756[_0x25a137]^_0x572499[_0x25a137&0x3];}function _0x99ddd5(_0x2937b3,_0x125ae7){const _0x25be16=_0x25ddef;for(let _0x195440=0x0;_0x195440<_0x2937b3[_0x25be16(0x265)];_0x195440++)_0x2937b3[_0x195440]^=_0x125ae7[_0x195440&0x3];}function _0x1cfc1c(_0x108f27){const _0x2dc685=_0x25ddef;return _0x108f27[_0x2dc685(0x265)]===_0x108f27[_0x2dc685(0x2d1)][_0x2dc685(0x2c7)]?_0x108f27[_0x2dc685(0x2d1)]:_0x108f27['buffer'][_0x2dc685(0x311)](_0x108f27[_0x2dc685(0x346)],_0x108f27[_0x2dc685(0x346)]+_0x108f27['length']);}function _0x4dcf6d(_0x36a976){const _0xff666f=_0x25ddef;if(_0x4dcf6d[_0xff666f(0x341)]=!0x0,Buffer[_0xff666f(0x1ad)](_0x36a976))return _0x36a976;let _0x14ce50;return _0x36a976 instanceof ArrayBuffer?_0x14ce50=new _0x1f01b4(_0x36a976):ArrayBuffer[_0xff666f(0x303)](_0x36a976)?_0x14ce50=new _0x1f01b4(_0x36a976[_0xff666f(0x2d1)],_0x36a976[_0xff666f(0x346)],_0x36a976[_0xff666f(0x2c7)]):(_0x14ce50=Buffer['from'](_0x36a976),_0x4dcf6d[_0xff666f(0x341)]=!0x1),_0x14ce50;}if(te[_0x25ddef(0x30a)]={'concat':_0x55ae06,'mask':_0x1e09af,'toArrayBuffer':_0x1cfc1c,'toBuffer':_0x4dcf6d,'unmask':_0x99ddd5},!process[_0x25ddef(0x1f0)]['WS_NO_BUFFER_UTIL'])try{const _0x3c64cf=Vt;te[_0x25ddef(0x30a)][_0x25ddef(0x28b)]=function(_0x4d6432,_0x369432,_0xc43611,_0x2f6742,_0x260bd5){const _0x5530ff=_0x25ddef;_0x260bd5<0x30?_0x1e09af(_0x4d6432,_0x369432,_0xc43611,_0x2f6742,_0x260bd5):_0x3c64cf[_0x5530ff(0x28b)](_0x4d6432,_0x369432,_0xc43611,_0x2f6742,_0x260bd5);},te[_0x25ddef(0x30a)][_0x25ddef(0x244)]=function(_0x33851f,_0x2e9e70){const _0x3d6c21=_0x25ddef;_0x33851f[_0x3d6c21(0x265)]<0x20?_0x99ddd5(_0x33851f,_0x2e9e70):_0x3c64cf[_0x3d6c21(0x244)](_0x33851f,_0x2e9e70);};}catch{}return te[_0x25ddef(0x30a)];}var ye,Xe;function qt(){const _0x582313=_0x363399;if(Xe)return ye;Xe=0x1;const _0x2f7076=Symbol(_0x582313(0x32c)),_0x425cfb=Symbol(_0x582313(0x33f));class _0x11e911{constructor(_0x197f96){const _0x181325=_0x582313;this[_0x2f7076]=()=>{const _0x171c79=_0x1b98;this[_0x171c79(0x299)]--,this[_0x425cfb]();},this[_0x181325(0x33e)]=_0x197f96||0x1/0x0,this[_0x181325(0x225)]=[],this[_0x181325(0x299)]=0x0;}[_0x582313(0x1c1)](_0x5308eb){const _0x66809b=_0x582313;this[_0x66809b(0x225)][_0x66809b(0x204)](_0x5308eb),this[_0x425cfb]();}[_0x425cfb](){const _0x1a9498=_0x582313;if(this[_0x1a9498(0x299)]!==this['concurrency']&&this['jobs']['length']){const _0x37680e=this[_0x1a9498(0x225)]['shift']();this[_0x1a9498(0x299)]++,_0x37680e(this[_0x2f7076]);}}}return ye=_0x11e911,ye;}var ve,Ze;function he(){const _0xa201d0=_0x363399;if(Ze)return ve;Ze=0x1;const _0x388fb2=_0x4801fd,_0x3a0b5c=ce(),_0x452dfc=qt(),{kStatusCode:_0xcfeca1}=V(),_0x2fec97=Buffer[Symbol['species']],_0x48d782=Buffer[_0xa201d0(0x276)]([0x0,0x0,0xff,0xff]),_0x2bb3b8=Symbol(_0xa201d0(0x351)),_0x193060=Symbol('total-length'),_0x9c122e=Symbol(_0xa201d0(0x2c8)),_0x54ceaa=Symbol(_0xa201d0(0x1d0)),_0x41b671=Symbol(_0xa201d0(0x24a));let _0x9b5b4b;class _0x5ac816{constructor(_0x10b560,_0x4ee95b,_0x71d111){const _0x4cbf19=_0xa201d0;if(this['_maxPayload']=_0x71d111|0x0,this[_0x4cbf19(0x2ae)]=_0x10b560||{},this[_0x4cbf19(0x1fa)]=this[_0x4cbf19(0x2ae)]['threshold']!==void 0x0?this[_0x4cbf19(0x2ae)][_0x4cbf19(0x344)]:0x400,this[_0x4cbf19(0x215)]=!!_0x4ee95b,this[_0x4cbf19(0x2ab)]=null,this[_0x4cbf19(0x209)]=null,this[_0x4cbf19(0x1c9)]=null,!_0x9b5b4b){const _0x2b856a=this['_options'][_0x4cbf19(0x335)]!==void 0x0?this[_0x4cbf19(0x2ae)][_0x4cbf19(0x335)]:0xa;_0x9b5b4b=new _0x452dfc(_0x2b856a);}}static get[_0xa201d0(0x1f5)](){const _0x443384=_0xa201d0;return _0x443384(0x351);}[_0xa201d0(0x2c5)](){const _0x539a85=_0xa201d0,_0x140f29={};return this[_0x539a85(0x2ae)][_0x539a85(0x21e)]&&(_0x140f29['server_no_context_takeover']=!0x0),this[_0x539a85(0x2ae)][_0x539a85(0x2de)]&&(_0x140f29[_0x539a85(0x1d9)]=!0x0),this['_options'][_0x539a85(0x2b8)]&&(_0x140f29[_0x539a85(0x1f8)]=this[_0x539a85(0x2ae)][_0x539a85(0x2b8)]),this['_options'][_0x539a85(0x24b)]?_0x140f29[_0x539a85(0x281)]=this[_0x539a85(0x2ae)][_0x539a85(0x24b)]:this[_0x539a85(0x2ae)][_0x539a85(0x24b)]==null&&(_0x140f29[_0x539a85(0x281)]=!0x0),_0x140f29;}['accept'](_0x40d01d){const _0xda1be=_0xa201d0;return _0x40d01d=this[_0xda1be(0x23f)](_0x40d01d),this['params']=this['_isServer']?this[_0xda1be(0x239)](_0x40d01d):this['acceptAsClient'](_0x40d01d),this[_0xda1be(0x1c9)];}[_0xa201d0(0x1f9)](){const _0x46a55c=_0xa201d0;if(this[_0x46a55c(0x209)]&&(this[_0x46a55c(0x209)]['close'](),this[_0x46a55c(0x209)]=null),this[_0x46a55c(0x2ab)]){const _0x50bad3=this[_0x46a55c(0x2ab)][_0x9c122e];this[_0x46a55c(0x2ab)][_0x46a55c(0x271)](),this[_0x46a55c(0x2ab)]=null,_0x50bad3&&_0x50bad3(new Error(_0x46a55c(0x27d)));}}[_0xa201d0(0x239)](_0x41e492){const _0x5795ee=_0xa201d0,_0x4997e1=this[_0x5795ee(0x2ae)],_0x3699f7=_0x41e492[_0x5795ee(0x2e3)](_0x3ed6c4=>!(_0x4997e1[_0x5795ee(0x21e)]===!0x1&&_0x3ed6c4[_0x5795ee(0x1bd)]||_0x3ed6c4[_0x5795ee(0x1f8)]&&(_0x4997e1[_0x5795ee(0x2b8)]===!0x1||typeof _0x4997e1['serverMaxWindowBits']=='number'&&_0x4997e1[_0x5795ee(0x2b8)]>_0x3ed6c4[_0x5795ee(0x1f8)])||typeof _0x4997e1[_0x5795ee(0x24b)]==_0x5795ee(0x253)&&!_0x3ed6c4[_0x5795ee(0x281)]));if(!_0x3699f7)throw new Error(_0x5795ee(0x262));return _0x4997e1['serverNoContextTakeover']&&(_0x3699f7[_0x5795ee(0x1bd)]=!0x0),_0x4997e1['clientNoContextTakeover']&&(_0x3699f7[_0x5795ee(0x1d9)]=!0x0),typeof _0x4997e1['serverMaxWindowBits']==_0x5795ee(0x253)&&(_0x3699f7[_0x5795ee(0x1f8)]=_0x4997e1['serverMaxWindowBits']),typeof _0x4997e1[_0x5795ee(0x24b)]==_0x5795ee(0x253)?_0x3699f7[_0x5795ee(0x281)]=_0x4997e1['clientMaxWindowBits']:(_0x3699f7[_0x5795ee(0x281)]===!0x0||_0x4997e1['clientMaxWindowBits']===!0x1)&&delete _0x3699f7[_0x5795ee(0x281)],_0x3699f7;}[_0xa201d0(0x217)](_0x39694e){const _0x466b7a=_0xa201d0,_0x162d6f=_0x39694e[0x0];if(this[_0x466b7a(0x2ae)][_0x466b7a(0x2de)]===!0x1&&_0x162d6f[_0x466b7a(0x1d9)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x162d6f[_0x466b7a(0x281)])typeof this[_0x466b7a(0x2ae)][_0x466b7a(0x24b)]==_0x466b7a(0x253)&&(_0x162d6f[_0x466b7a(0x281)]=this['_options'][_0x466b7a(0x24b)]);else{if(this[_0x466b7a(0x2ae)][_0x466b7a(0x24b)]===!0x1||typeof this[_0x466b7a(0x2ae)][_0x466b7a(0x24b)]==_0x466b7a(0x253)&&_0x162d6f['client_max_window_bits']>this[_0x466b7a(0x2ae)][_0x466b7a(0x24b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x162d6f;}['normalizeParams'](_0x2f6432){const _0x30389f=_0xa201d0;return _0x2f6432[_0x30389f(0x350)](_0x1552af=>{const _0x35ad50=_0x30389f;Object[_0x35ad50(0x2a3)](_0x1552af)[_0x35ad50(0x350)](_0x5af785=>{const _0x437570=_0x35ad50;let _0x22ebd6=_0x1552af[_0x5af785];if(_0x22ebd6[_0x437570(0x265)]>0x1)throw new Error(_0x437570(0x277)+_0x5af785+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x22ebd6=_0x22ebd6[0x0],_0x5af785==='client_max_window_bits'){if(_0x22ebd6!==!0x0){const _0x3173a4=+_0x22ebd6;if(!Number[_0x437570(0x2a6)](_0x3173a4)||_0x3173a4<0x8||_0x3173a4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5af785+_0x437570(0x31b)+_0x22ebd6);_0x22ebd6=_0x3173a4;}else{if(!this[_0x437570(0x215)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5af785+_0x437570(0x31b)+_0x22ebd6);}}else{if(_0x5af785===_0x437570(0x1f8)){const _0x2c4924=+_0x22ebd6;if(!Number[_0x437570(0x2a6)](_0x2c4924)||_0x2c4924<0x8||_0x2c4924>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5af785+_0x437570(0x31b)+_0x22ebd6);_0x22ebd6=_0x2c4924;}else{if(_0x5af785==='client_no_context_takeover'||_0x5af785===_0x437570(0x1bd)){if(_0x22ebd6!==!0x0)throw new TypeError(_0x437570(0x2d7)+_0x5af785+'\x22:\x20'+_0x22ebd6);}else throw new Error(_0x437570(0x27b)+_0x5af785+'\x22');}}_0x1552af[_0x5af785]=_0x22ebd6;});}),_0x2f6432;}['decompress'](_0x5883df,_0x979778,_0x3ee871){const _0x50a5de=_0xa201d0;_0x9b5b4b[_0x50a5de(0x1c1)](_0x2bec80=>{const _0x445ed2=_0x50a5de;this[_0x445ed2(0x228)](_0x5883df,_0x979778,(_0x50cb72,_0x3f1e77)=>{_0x2bec80(),_0x3ee871(_0x50cb72,_0x3f1e77);});});}[_0xa201d0(0x286)](_0x45707d,_0x11af94,_0x437747){const _0x316210=_0xa201d0;_0x9b5b4b[_0x316210(0x1c1)](_0x4cb146=>{this['_compress'](_0x45707d,_0x11af94,(_0x56129b,_0x44fb52)=>{_0x4cb146(),_0x437747(_0x56129b,_0x44fb52);});});}[_0xa201d0(0x228)](_0x5080d8,_0x527c77,_0x3d1a5f){const _0x14fece=_0xa201d0,_0x27c376=this[_0x14fece(0x215)]?_0x14fece(0x345):'server';if(!this[_0x14fece(0x209)]){const _0x178184=_0x27c376+_0x14fece(0x33d),_0x4e6587=typeof this[_0x14fece(0x1c9)][_0x178184]!='number'?_0x388fb2[_0x14fece(0x2ce)]:this['params'][_0x178184];this[_0x14fece(0x209)]=_0x388fb2[_0x14fece(0x2dc)]({...this['_options'][_0x14fece(0x25f)],'windowBits':_0x4e6587}),this[_0x14fece(0x209)][_0x2bb3b8]=this,this[_0x14fece(0x209)][_0x193060]=0x0,this['_inflate'][_0x54ceaa]=[],this['_inflate']['on']('error',_0x17c363),this['_inflate']['on']('data',_0x522dcf);}this['_inflate'][_0x9c122e]=_0x3d1a5f,this[_0x14fece(0x209)]['write'](_0x5080d8),_0x527c77&&this['_inflate'][_0x14fece(0x1a6)](_0x48d782),this['_inflate'][_0x14fece(0x2f0)](()=>{const _0x48c391=_0x14fece,_0x1c8d89=this[_0x48c391(0x209)][_0x41b671];if(_0x1c8d89){this[_0x48c391(0x209)][_0x48c391(0x271)](),this[_0x48c391(0x209)]=null,_0x3d1a5f(_0x1c8d89);return;}const _0x5e8a10=_0x3a0b5c[_0x48c391(0x1f2)](this['_inflate'][_0x54ceaa],this[_0x48c391(0x209)][_0x193060]);this[_0x48c391(0x209)][_0x48c391(0x33c)][_0x48c391(0x20b)]?(this['_inflate']['close'](),this[_0x48c391(0x209)]=null):(this[_0x48c391(0x209)][_0x193060]=0x0,this['_inflate'][_0x54ceaa]=[],_0x527c77&&this['params'][_0x27c376+_0x48c391(0x31f)]&&this[_0x48c391(0x209)]['reset']()),_0x3d1a5f(null,_0x5e8a10);});}[_0xa201d0(0x1e4)](_0x523254,_0x1db4ad,_0x5e26a8){const _0x57819b=_0xa201d0,_0x23efd5=this[_0x57819b(0x215)]?_0x57819b(0x2f1):_0x57819b(0x345);if(!this[_0x57819b(0x2ab)]){const _0x20d8b2=_0x23efd5+'_max_window_bits',_0x35a505=typeof this[_0x57819b(0x1c9)][_0x20d8b2]!=_0x57819b(0x253)?_0x388fb2[_0x57819b(0x2ce)]:this[_0x57819b(0x1c9)][_0x20d8b2];this['_deflate']=_0x388fb2['createDeflateRaw']({...this[_0x57819b(0x2ae)]['zlibDeflateOptions'],'windowBits':_0x35a505}),this[_0x57819b(0x2ab)][_0x193060]=0x0,this[_0x57819b(0x2ab)][_0x54ceaa]=[],this[_0x57819b(0x2ab)]['on'](_0x57819b(0x2cc),_0x3ab164);}this['_deflate'][_0x9c122e]=_0x5e26a8,this['_deflate'][_0x57819b(0x1a6)](_0x523254),this[_0x57819b(0x2ab)][_0x57819b(0x2f0)](_0x388fb2[_0x57819b(0x32d)],()=>{const _0x53b378=_0x57819b;if(!this[_0x53b378(0x2ab)])return;let _0xd0da16=_0x3a0b5c[_0x53b378(0x1f2)](this['_deflate'][_0x54ceaa],this['_deflate'][_0x193060]);_0x1db4ad&&(_0xd0da16=new _0x2fec97(_0xd0da16[_0x53b378(0x2d1)],_0xd0da16['byteOffset'],_0xd0da16['length']-0x4)),this['_deflate'][_0x9c122e]=null,this[_0x53b378(0x2ab)][_0x193060]=0x0,this[_0x53b378(0x2ab)][_0x54ceaa]=[],_0x1db4ad&&this['params'][_0x23efd5+_0x53b378(0x31f)]&&this['_deflate'][_0x53b378(0x1be)](),_0x5e26a8(null,_0xd0da16);});}}ve=_0x5ac816;function _0x3ab164(_0x35d39e){const _0x1f067d=_0xa201d0;this[_0x54ceaa][_0x1f067d(0x204)](_0x35d39e),this[_0x193060]+=_0x35d39e['length'];}function _0x522dcf(_0xb35426){const _0x3e78d1=_0xa201d0;if(this[_0x193060]+=_0xb35426['length'],this[_0x2bb3b8][_0x3e78d1(0x31c)]<0x1||this[_0x193060]<=this[_0x2bb3b8][_0x3e78d1(0x31c)]){this[_0x54ceaa]['push'](_0xb35426);return;}this[_0x41b671]=new RangeError(_0x3e78d1(0x2a7)),this[_0x41b671]['code']=_0x3e78d1(0x321),this[_0x41b671][_0xcfeca1]=0x3f1,this[_0x3e78d1(0x333)](_0x3e78d1(0x2cc),_0x522dcf),this[_0x3e78d1(0x1be)]();}function _0x17c363(_0xeb64a4){const _0x202747=_0xa201d0;this[_0x2bb3b8][_0x202747(0x209)]=null,_0xeb64a4[_0xcfeca1]=0x3ef,this[_0x9c122e](_0xeb64a4);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x363399(0x33a)](Object[_0x363399(0x284)]({'__proto__':null,'default':Ht},Symbol[_0x363399(0x1e3)],{'value':_0x363399(0x1d6)})),Yt=ut(zt);var Qe;function ne(){const _0x52e9f3=_0x363399;if(Qe)return re[_0x52e9f3(0x30a)];Qe=0x1;const {isUtf8:_0x2df1c3}=_0x52a0b3,{hasBlob:_0x31f630}=V(),_0x1e1ff0=[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 _0x5c9435(_0x20a580){return _0x20a580>=0x3e8&&_0x20a580<=0x3f6&&_0x20a580!==0x3ec&&_0x20a580!==0x3ed&&_0x20a580!==0x3ee||_0x20a580>=0xbb8&&_0x20a580<=0x1387;}function _0x5a7498(_0x1b433d){const _0x2a4bb5=_0x52e9f3,_0x168c4f=_0x1b433d[_0x2a4bb5(0x265)];let _0x1d7d6a=0x0;for(;_0x1d7d6a<_0x168c4f;)if((_0x1b433d[_0x1d7d6a]&0x80)===0x0)_0x1d7d6a++;else{if((_0x1b433d[_0x1d7d6a]&0xe0)===0xc0){if(_0x1d7d6a+0x1===_0x168c4f||(_0x1b433d[_0x1d7d6a+0x1]&0xc0)!==0x80||(_0x1b433d[_0x1d7d6a]&0xfe)===0xc0)return!0x1;_0x1d7d6a+=0x2;}else{if((_0x1b433d[_0x1d7d6a]&0xf0)===0xe0){if(_0x1d7d6a+0x2>=_0x168c4f||(_0x1b433d[_0x1d7d6a+0x1]&0xc0)!==0x80||(_0x1b433d[_0x1d7d6a+0x2]&0xc0)!==0x80||_0x1b433d[_0x1d7d6a]===0xe0&&(_0x1b433d[_0x1d7d6a+0x1]&0xe0)===0x80||_0x1b433d[_0x1d7d6a]===0xed&&(_0x1b433d[_0x1d7d6a+0x1]&0xe0)===0xa0)return!0x1;_0x1d7d6a+=0x3;}else{if((_0x1b433d[_0x1d7d6a]&0xf8)===0xf0){if(_0x1d7d6a+0x3>=_0x168c4f||(_0x1b433d[_0x1d7d6a+0x1]&0xc0)!==0x80||(_0x1b433d[_0x1d7d6a+0x2]&0xc0)!==0x80||(_0x1b433d[_0x1d7d6a+0x3]&0xc0)!==0x80||_0x1b433d[_0x1d7d6a]===0xf0&&(_0x1b433d[_0x1d7d6a+0x1]&0xf0)===0x80||_0x1b433d[_0x1d7d6a]===0xf4&&_0x1b433d[_0x1d7d6a+0x1]>0x8f||_0x1b433d[_0x1d7d6a]>0xf4)return!0x1;_0x1d7d6a+=0x4;}else return!0x1;}}}return!0x0;}function _0xcc5811(_0x2eb8c5){const _0x2c0c00=_0x52e9f3;return _0x31f630&&typeof _0x2eb8c5==_0x2c0c00(0x252)&&typeof _0x2eb8c5[_0x2c0c00(0x2a2)]==_0x2c0c00(0x29f)&&typeof _0x2eb8c5['type']==_0x2c0c00(0x2f4)&&typeof _0x2eb8c5[_0x2c0c00(0x302)]==_0x2c0c00(0x29f)&&(_0x2eb8c5[Symbol[_0x2c0c00(0x1e3)]]===_0x2c0c00(0x292)||_0x2eb8c5[Symbol[_0x2c0c00(0x1e3)]]===_0x2c0c00(0x2f7));}if(re[_0x52e9f3(0x30a)]={'isBlob':_0xcc5811,'isValidStatusCode':_0x5c9435,'isValidUTF8':_0x5a7498,'tokenChars':_0x1e1ff0},_0x2df1c3)re['exports'][_0x52e9f3(0x1b5)]=function(_0x6f0f3d){const _0x37b2cd=_0x52e9f3;return _0x6f0f3d[_0x37b2cd(0x265)]<0x18?_0x5a7498(_0x6f0f3d):_0x2df1c3(_0x6f0f3d);};else{if(!process[_0x52e9f3(0x1f0)]['WS_NO_UTF_8_VALIDATE'])try{const _0x483af7=Yt;re[_0x52e9f3(0x30a)][_0x52e9f3(0x1b5)]=function(_0x55d80e){const _0x39f168=_0x52e9f3;return _0x55d80e[_0x39f168(0x265)]<0x20?_0x5a7498(_0x55d80e):_0x483af7(_0x55d80e);};}catch{}}return re[_0x52e9f3(0x30a)];}var Se,Je;function dt(){const _0x4413a3=_0x363399;if(Je)return Se;Je=0x1;const {Writable:_0x26bf72}=_0x169f08,_0x14690c=he(),{BINARY_TYPES:_0x1e2e9a,EMPTY_BUFFER:_0xeceb9c,kStatusCode:_0x1d9b7f,kWebSocket:_0x3d9d38}=V(),{concat:_0x31b811,toArrayBuffer:_0x1055ea,unmask:_0x5575aa}=ce(),{isValidStatusCode:_0x16f59c,isValidUTF8:_0x93c2f1}=ne(),_0x1f1721=Buffer[Symbol['species']],_0x5926bf=0x0,_0x1f1cc6=0x1,_0x4b7d29=0x2,_0x4205b6=0x3,_0x432304=0x4,_0x4728d5=0x5,_0x578b3c=0x6;class _0x4d87d8 extends _0x26bf72{constructor(_0x2a4cd0={}){const _0x59e75d=_0x1b98;super(),this[_0x59e75d(0x318)]=_0x2a4cd0['allowSynchronousEvents']!==void 0x0?_0x2a4cd0[_0x59e75d(0x233)]:!0x0,this[_0x59e75d(0x1aa)]=_0x2a4cd0['binaryType']||_0x1e2e9a[0x0],this[_0x59e75d(0x21b)]=_0x2a4cd0[_0x59e75d(0x206)]||{},this[_0x59e75d(0x215)]=!!_0x2a4cd0[_0x59e75d(0x291)],this[_0x59e75d(0x31c)]=_0x2a4cd0[_0x59e75d(0x317)]|0x0,this[_0x59e75d(0x334)]=!!_0x2a4cd0[_0x59e75d(0x300)],this[_0x3d9d38]=void 0x0,this[_0x59e75d(0x30c)]=0x0,this[_0x59e75d(0x23d)]=[],this[_0x59e75d(0x313)]=!0x1,this[_0x59e75d(0x2d5)]=0x0,this['_mask']=void 0x0,this[_0x59e75d(0x1c6)]=0x0,this['_masked']=!0x1,this[_0x59e75d(0x2ee)]=!0x1,this[_0x59e75d(0x1b1)]=0x0,this[_0x59e75d(0x248)]=0x0,this[_0x59e75d(0x332)]=0x0,this['_fragments']=[],this[_0x59e75d(0x307)]=!0x1,this[_0x59e75d(0x216)]=!0x1,this['_state']=_0x5926bf;}[_0x4413a3(0x255)](_0x299fcc,_0x33cca9,_0x40740f){const _0x30a0e4=_0x4413a3;if(this[_0x30a0e4(0x1b1)]===0x8&&this[_0x30a0e4(0x2bc)]==_0x5926bf)return _0x40740f();this[_0x30a0e4(0x30c)]+=_0x299fcc['length'],this[_0x30a0e4(0x23d)][_0x30a0e4(0x204)](_0x299fcc),this[_0x30a0e4(0x1d7)](_0x40740f);}[_0x4413a3(0x2c1)](_0x53675a){const _0xe8d54a=_0x4413a3;if(this[_0xe8d54a(0x30c)]-=_0x53675a,_0x53675a===this[_0xe8d54a(0x23d)][0x0]['length'])return this[_0xe8d54a(0x23d)][_0xe8d54a(0x269)]();if(_0x53675a<this[_0xe8d54a(0x23d)][0x0][_0xe8d54a(0x265)]){const _0x55fef1=this[_0xe8d54a(0x23d)][0x0];return this[_0xe8d54a(0x23d)][0x0]=new _0x1f1721(_0x55fef1[_0xe8d54a(0x2d1)],_0x55fef1[_0xe8d54a(0x346)]+_0x53675a,_0x55fef1[_0xe8d54a(0x265)]-_0x53675a),new _0x1f1721(_0x55fef1[_0xe8d54a(0x2d1)],_0x55fef1[_0xe8d54a(0x346)],_0x53675a);}const _0x14a418=Buffer[_0xe8d54a(0x2d0)](_0x53675a);do{const _0x9728ab=this['_buffers'][0x0],_0x22b7e9=_0x14a418[_0xe8d54a(0x265)]-_0x53675a;_0x53675a>=_0x9728ab['length']?_0x14a418[_0xe8d54a(0x330)](this[_0xe8d54a(0x23d)][_0xe8d54a(0x269)](),_0x22b7e9):(_0x14a418[_0xe8d54a(0x330)](new Uint8Array(_0x9728ab[_0xe8d54a(0x2d1)],_0x9728ab[_0xe8d54a(0x346)],_0x53675a),_0x22b7e9),this['_buffers'][0x0]=new _0x1f1721(_0x9728ab[_0xe8d54a(0x2d1)],_0x9728ab[_0xe8d54a(0x346)]+_0x53675a,_0x9728ab['length']-_0x53675a)),_0x53675a-=_0x9728ab[_0xe8d54a(0x265)];}while(_0x53675a>0x0);return _0x14a418;}[_0x4413a3(0x1d7)](_0x237340){const _0x24476f=_0x4413a3;this[_0x24476f(0x216)]=!0x0;do switch(this[_0x24476f(0x2bc)]){case _0x5926bf:this['getInfo'](_0x237340);break;case _0x1f1cc6:this['getPayloadLength16'](_0x237340);break;case _0x4b7d29:this[_0x24476f(0x331)](_0x237340);break;case _0x4205b6:this['getMask']();break;case _0x432304:this[_0x24476f(0x26f)](_0x237340);break;case _0x4728d5:case _0x578b3c:this['_loop']=!0x1;return;}while(this[_0x24476f(0x216)]);this['_errored']||_0x237340();}[_0x4413a3(0x208)](_0x15cc7e){const _0x23f3e8=_0x4413a3;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x1cf45e=this[_0x23f3e8(0x2c1)](0x2);if((_0x1cf45e[0x0]&0x30)!==0x0){const _0x276c32=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x349),!0x0,0x3ea,_0x23f3e8(0x33b));_0x15cc7e(_0x276c32);return;}const _0x2b1fb9=(_0x1cf45e[0x0]&0x40)===0x40;if(_0x2b1fb9&&!this[_0x23f3e8(0x21b)][_0x14690c[_0x23f3e8(0x1f5)]]){const _0x3616a6=this[_0x23f3e8(0x31e)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x23f3e8(0x21d));_0x15cc7e(_0x3616a6);return;}if(this[_0x23f3e8(0x2ee)]=(_0x1cf45e[0x0]&0x80)===0x80,this[_0x23f3e8(0x1b1)]=_0x1cf45e[0x0]&0xf,this[_0x23f3e8(0x2d5)]=_0x1cf45e[0x1]&0x7f,this['_opcode']===0x0){if(_0x2b1fb9){const _0x4497a9=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x223),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x15cc7e(_0x4497a9);return;}if(!this[_0x23f3e8(0x1c6)]){const _0x40b52e=this[_0x23f3e8(0x31e)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x23f3e8(0x273));_0x15cc7e(_0x40b52e);return;}this[_0x23f3e8(0x1b1)]=this['_fragmented'];}else{if(this[_0x23f3e8(0x1b1)]===0x1||this[_0x23f3e8(0x1b1)]===0x2){if(this[_0x23f3e8(0x1c6)]){const _0x4f4265=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x1c2)+this[_0x23f3e8(0x1b1)],!0x0,0x3ea,_0x23f3e8(0x273));_0x15cc7e(_0x4f4265);return;}this[_0x23f3e8(0x313)]=_0x2b1fb9;}else{if(this[_0x23f3e8(0x1b1)]>0x7&&this[_0x23f3e8(0x1b1)]<0xb){if(!this[_0x23f3e8(0x2ee)]){const _0x112d66=this[_0x23f3e8(0x31e)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x23f3e8(0x278));_0x15cc7e(_0x112d66);return;}if(_0x2b1fb9){const _0x4fdbb9=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x223),!0x0,0x3ea,_0x23f3e8(0x21d));_0x15cc7e(_0x4fdbb9);return;}if(this['_payloadLength']>0x7d||this[_0x23f3e8(0x1b1)]===0x8&&this[_0x23f3e8(0x2d5)]===0x1){const _0x1e7480=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x2e6)+this[_0x23f3e8(0x2d5)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x15cc7e(_0x1e7480);return;}}else{const _0x280b7b=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x1c2)+this['_opcode'],!0x0,0x3ea,_0x23f3e8(0x273));_0x15cc7e(_0x280b7b);return;}}}if(!this[_0x23f3e8(0x2ee)]&&!this[_0x23f3e8(0x1c6)]&&(this[_0x23f3e8(0x1c6)]=this['_opcode']),this[_0x23f3e8(0x230)]=(_0x1cf45e[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x23f3e8(0x230)]){const _0x2a4755=this[_0x23f3e8(0x31e)](RangeError,_0x23f3e8(0x2fa),!0x0,0x3ea,_0x23f3e8(0x1fb));_0x15cc7e(_0x2a4755);return;}}else{if(this[_0x23f3e8(0x230)]){const _0x47588f=this[_0x23f3e8(0x31e)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x15cc7e(_0x47588f);return;}}this['_payloadLength']===0x7e?this[_0x23f3e8(0x2bc)]=_0x1f1cc6:this['_payloadLength']===0x7f?this[_0x23f3e8(0x2bc)]=_0x4b7d29:this[_0x23f3e8(0x353)](_0x15cc7e);}[_0x4413a3(0x1cd)](_0x268a14){const _0x1af5f4=_0x4413a3;if(this[_0x1af5f4(0x30c)]<0x2){this[_0x1af5f4(0x216)]=!0x1;return;}this[_0x1af5f4(0x2d5)]=this[_0x1af5f4(0x2c1)](0x2)[_0x1af5f4(0x2fd)](0x0),this[_0x1af5f4(0x353)](_0x268a14);}[_0x4413a3(0x331)](_0x103c9f){const _0x5207f6=_0x4413a3;if(this[_0x5207f6(0x30c)]<0x8){this[_0x5207f6(0x216)]=!0x1;return;}const _0x504a8f=this[_0x5207f6(0x2c1)](0x8),_0x12e52a=_0x504a8f[_0x5207f6(0x2aa)](0x0);if(_0x12e52a>Math[_0x5207f6(0x260)](0x2,0x15)-0x1){const _0x3a0dea=this[_0x5207f6(0x31e)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x5207f6(0x29b));_0x103c9f(_0x3a0dea);return;}this[_0x5207f6(0x2d5)]=_0x12e52a*Math['pow'](0x2,0x20)+_0x504a8f['readUInt32BE'](0x4),this[_0x5207f6(0x353)](_0x103c9f);}[_0x4413a3(0x353)](_0x10d83d){const _0xf4d9a1=_0x4413a3;if(this[_0xf4d9a1(0x2d5)]&&this['_opcode']<0x8&&(this[_0xf4d9a1(0x248)]+=this[_0xf4d9a1(0x2d5)],this[_0xf4d9a1(0x248)]>this['_maxPayload']&&this[_0xf4d9a1(0x31c)]>0x0)){const _0x291cba=this['createError'](RangeError,_0xf4d9a1(0x2a7),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x10d83d(_0x291cba);return;}this[_0xf4d9a1(0x230)]?this[_0xf4d9a1(0x2bc)]=_0x4205b6:this[_0xf4d9a1(0x2bc)]=_0x432304;}[_0x4413a3(0x337)](){const _0x4a5fcb=_0x4413a3;if(this[_0x4a5fcb(0x30c)]<0x4){this[_0x4a5fcb(0x216)]=!0x1;return;}this[_0x4a5fcb(0x328)]=this['consume'](0x4),this[_0x4a5fcb(0x2bc)]=_0x432304;}[_0x4413a3(0x26f)](_0x9691c9){const _0x155be9=_0x4413a3;let _0x3acdbc=_0xeceb9c;if(this[_0x155be9(0x2d5)]){if(this[_0x155be9(0x30c)]<this[_0x155be9(0x2d5)]){this[_0x155be9(0x216)]=!0x1;return;}_0x3acdbc=this['consume'](this[_0x155be9(0x2d5)]),this[_0x155be9(0x230)]&&(this[_0x155be9(0x328)][0x0]|this[_0x155be9(0x328)][0x1]|this['_mask'][0x2]|this[_0x155be9(0x328)][0x3])!==0x0&&_0x5575aa(_0x3acdbc,this[_0x155be9(0x328)]);}if(this[_0x155be9(0x1b1)]>0x7){this[_0x155be9(0x2a9)](_0x3acdbc,_0x9691c9);return;}if(this[_0x155be9(0x313)]){this[_0x155be9(0x2bc)]=_0x4728d5,this[_0x155be9(0x325)](_0x3acdbc,_0x9691c9);return;}_0x3acdbc[_0x155be9(0x265)]&&(this[_0x155be9(0x332)]=this[_0x155be9(0x248)],this[_0x155be9(0x1c5)][_0x155be9(0x204)](_0x3acdbc)),this[_0x155be9(0x207)](_0x9691c9);}[_0x4413a3(0x325)](_0x106c77,_0x310115){const _0x28ab99=_0x4413a3;this[_0x28ab99(0x21b)][_0x14690c['extensionName']]['decompress'](_0x106c77,this['_fin'],(_0x5ed1d2,_0x8e75be)=>{const _0xdfd8a4=_0x28ab99;if(_0x5ed1d2)return _0x310115(_0x5ed1d2);if(_0x8e75be[_0xdfd8a4(0x265)]){if(this['_messageLength']+=_0x8e75be[_0xdfd8a4(0x265)],this['_messageLength']>this[_0xdfd8a4(0x31c)]&&this[_0xdfd8a4(0x31c)]>0x0){const _0x5000dc=this[_0xdfd8a4(0x31e)](RangeError,_0xdfd8a4(0x2a7),!0x1,0x3f1,_0xdfd8a4(0x321));_0x310115(_0x5000dc);return;}this['_fragments'][_0xdfd8a4(0x204)](_0x8e75be);}this[_0xdfd8a4(0x207)](_0x310115),this[_0xdfd8a4(0x2bc)]===_0x5926bf&&this[_0xdfd8a4(0x1d7)](_0x310115);});}['dataMessage'](_0x45ef91){const _0x1039c6=_0x4413a3;if(!this[_0x1039c6(0x2ee)]){this[_0x1039c6(0x2bc)]=_0x5926bf;return;}const _0x30083e=this[_0x1039c6(0x332)],_0x476161=this[_0x1039c6(0x1c5)];if(this[_0x1039c6(0x248)]=0x0,this[_0x1039c6(0x332)]=0x0,this[_0x1039c6(0x1c6)]=0x0,this[_0x1039c6(0x1c5)]=[],this[_0x1039c6(0x1b1)]===0x2){let _0x3d6b5f;this[_0x1039c6(0x1aa)]===_0x1039c6(0x34f)?_0x3d6b5f=_0x31b811(_0x476161,_0x30083e):this[_0x1039c6(0x1aa)]===_0x1039c6(0x2b6)?_0x3d6b5f=_0x1055ea(_0x31b811(_0x476161,_0x30083e)):this[_0x1039c6(0x1aa)]===_0x1039c6(0x219)?_0x3d6b5f=new Blob(_0x476161):_0x3d6b5f=_0x476161,this[_0x1039c6(0x318)]?(this[_0x1039c6(0x201)](_0x1039c6(0x22f),_0x3d6b5f,!0x0),this['_state']=_0x5926bf):(this[_0x1039c6(0x2bc)]=_0x578b3c,setImmediate(()=>{const _0x232e15=_0x1039c6;this[_0x232e15(0x201)](_0x232e15(0x22f),_0x3d6b5f,!0x0),this['_state']=_0x5926bf,this['startLoop'](_0x45ef91);}));}else{const _0x59f428=_0x31b811(_0x476161,_0x30083e);if(!this[_0x1039c6(0x334)]&&!_0x93c2f1(_0x59f428)){const _0xecbd41=this[_0x1039c6(0x31e)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1039c6(0x1eb));_0x45ef91(_0xecbd41);return;}this['_state']===_0x4728d5||this['_allowSynchronousEvents']?(this[_0x1039c6(0x201)](_0x1039c6(0x22f),_0x59f428,!0x1),this[_0x1039c6(0x2bc)]=_0x5926bf):(this[_0x1039c6(0x2bc)]=_0x578b3c,setImmediate(()=>{const _0xc7c065=_0x1039c6;this[_0xc7c065(0x201)](_0xc7c065(0x22f),_0x59f428,!0x1),this[_0xc7c065(0x2bc)]=_0x5926bf,this[_0xc7c065(0x1d7)](_0x45ef91);}));}}[_0x4413a3(0x2a9)](_0x1fde9c,_0x53cbf1){const _0x518062=_0x4413a3;if(this['_opcode']===0x8){if(_0x1fde9c[_0x518062(0x265)]===0x0)this[_0x518062(0x216)]=!0x1,this[_0x518062(0x201)](_0x518062(0x1e6),0x3ed,_0xeceb9c),this[_0x518062(0x211)]();else{const _0x1c6b58=_0x1fde9c['readUInt16BE'](0x0);if(!_0x16f59c(_0x1c6b58)){const _0x45d48c=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x1c6b58,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x53cbf1(_0x45d48c);return;}const _0x2ec1f2=new _0x1f1721(_0x1fde9c[_0x518062(0x2d1)],_0x1fde9c[_0x518062(0x346)]+0x2,_0x1fde9c[_0x518062(0x265)]-0x2);if(!this[_0x518062(0x334)]&&!_0x93c2f1(_0x2ec1f2)){const _0x4361c6=this[_0x518062(0x31e)](Error,_0x518062(0x30e),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x53cbf1(_0x4361c6);return;}this[_0x518062(0x216)]=!0x1,this[_0x518062(0x201)](_0x518062(0x1e6),_0x1c6b58,_0x2ec1f2),this[_0x518062(0x211)]();}this[_0x518062(0x2bc)]=_0x5926bf;return;}this['_allowSynchronousEvents']?(this[_0x518062(0x201)](this[_0x518062(0x1b1)]===0x9?'ping':'pong',_0x1fde9c),this[_0x518062(0x2bc)]=_0x5926bf):(this[_0x518062(0x2bc)]=_0x578b3c,setImmediate(()=>{const _0x3d6222=_0x518062;this[_0x3d6222(0x201)](this[_0x3d6222(0x1b1)]===0x9?_0x3d6222(0x25d):_0x3d6222(0x21f),_0x1fde9c),this[_0x3d6222(0x2bc)]=_0x5926bf,this[_0x3d6222(0x1d7)](_0x53cbf1);}));}[_0x4413a3(0x31e)](_0x550696,_0x35b279,_0x2c28c2,_0x166188,_0x5c3c52){const _0xd2f855=_0x4413a3;this[_0xd2f855(0x216)]=!0x1,this['_errored']=!0x0;const _0x47b316=new _0x550696(_0x2c28c2?_0xd2f855(0x1ae)+_0x35b279:_0x35b279);return Error['captureStackTrace'](_0x47b316,this[_0xd2f855(0x31e)]),_0x47b316[_0xd2f855(0x2b2)]=_0x5c3c52,_0x47b316[_0x1d9b7f]=_0x166188,_0x47b316;}}return Se=_0x4d87d8,Se;}var Ee,et;function _t(){const _0x15d966=_0x363399;if(et)return Ee;et=0x1;const {Duplex:_0x5eedef}=_0x169f08,{randomFillSync:_0x5e0977}=_0x168862,_0x223321=he(),{EMPTY_BUFFER:_0x3822fc,kWebSocket:_0x3c589d,NOOP:_0x40732a}=V(),{isBlob:_0x3d8da6,isValidStatusCode:_0x46beae}=ne(),{mask:_0x55c7cb,toBuffer:_0x467764}=ce(),_0x459bdf=Symbol('kByteLength'),_0x51d827=Buffer[_0x15d966(0x22c)](0x4),_0x10d96a=0x8*0x400;let _0x449d99,_0x31ae0d=_0x10d96a;const _0x31359f=0x0,_0x550ec7=0x1,_0x4f3dfe=0x2;class _0x307e48{constructor(_0x43008a,_0x174914,_0x147f94){const _0x341418=_0x15d966;this['_extensions']=_0x174914||{},_0x147f94&&(this[_0x341418(0x242)]=_0x147f94,this[_0x341418(0x213)]=Buffer[_0x341418(0x22c)](0x4)),this[_0x341418(0x2d3)]=_0x43008a,this[_0x341418(0x1bb)]=!0x0,this['_compress']=!0x1,this[_0x341418(0x30c)]=0x0,this[_0x341418(0x24e)]=[],this[_0x341418(0x2bc)]=_0x31359f,this[_0x341418(0x20e)]=_0x40732a,this[_0x3c589d]=void 0x0;}static[_0x15d966(0x2a8)](_0x4c57ea,_0x313264){const _0x6b7bca=_0x15d966;let _0x414f14,_0x5621d7=!0x1,_0x27b82=0x2,_0xe7e2b9=!0x1;_0x313264['mask']&&(_0x414f14=_0x313264[_0x6b7bca(0x2af)]||_0x51d827,_0x313264[_0x6b7bca(0x2b9)]?_0x313264[_0x6b7bca(0x2b9)](_0x414f14):(_0x31ae0d===_0x10d96a&&(_0x449d99===void 0x0&&(_0x449d99=Buffer[_0x6b7bca(0x22c)](_0x10d96a)),_0x5e0977(_0x449d99,0x0,_0x10d96a),_0x31ae0d=0x0),_0x414f14[0x0]=_0x449d99[_0x31ae0d++],_0x414f14[0x1]=_0x449d99[_0x31ae0d++],_0x414f14[0x2]=_0x449d99[_0x31ae0d++],_0x414f14[0x3]=_0x449d99[_0x31ae0d++]),_0xe7e2b9=(_0x414f14[0x0]|_0x414f14[0x1]|_0x414f14[0x2]|_0x414f14[0x3])===0x0,_0x27b82=0x6);let _0x3f0064;typeof _0x4c57ea==_0x6b7bca(0x2f4)?(!_0x313264[_0x6b7bca(0x28b)]||_0xe7e2b9)&&_0x313264[_0x459bdf]!==void 0x0?_0x3f0064=_0x313264[_0x459bdf]:(_0x4c57ea=Buffer[_0x6b7bca(0x276)](_0x4c57ea),_0x3f0064=_0x4c57ea['length']):(_0x3f0064=_0x4c57ea[_0x6b7bca(0x265)],_0x5621d7=_0x313264[_0x6b7bca(0x28b)]&&_0x313264[_0x6b7bca(0x341)]&&!_0xe7e2b9);let _0x1e5696=_0x3f0064;_0x3f0064>=0x10000?(_0x27b82+=0x8,_0x1e5696=0x7f):_0x3f0064>0x7d&&(_0x27b82+=0x2,_0x1e5696=0x7e);const _0x2928ba=Buffer['allocUnsafe'](_0x5621d7?_0x3f0064+_0x27b82:_0x27b82);return _0x2928ba[0x0]=_0x313264['fin']?_0x313264['opcode']|0x80:_0x313264[_0x6b7bca(0x30d)],_0x313264[_0x6b7bca(0x2cb)]&&(_0x2928ba[0x0]|=0x40),_0x2928ba[0x1]=_0x1e5696,_0x1e5696===0x7e?_0x2928ba[_0x6b7bca(0x323)](_0x3f0064,0x2):_0x1e5696===0x7f&&(_0x2928ba[0x2]=_0x2928ba[0x3]=0x0,_0x2928ba[_0x6b7bca(0x254)](_0x3f0064,0x4,0x6)),_0x313264['mask']?(_0x2928ba[0x1]|=0x80,_0x2928ba[_0x27b82-0x4]=_0x414f14[0x0],_0x2928ba[_0x27b82-0x3]=_0x414f14[0x1],_0x2928ba[_0x27b82-0x2]=_0x414f14[0x2],_0x2928ba[_0x27b82-0x1]=_0x414f14[0x3],_0xe7e2b9?[_0x2928ba,_0x4c57ea]:_0x5621d7?(_0x55c7cb(_0x4c57ea,_0x414f14,_0x2928ba,_0x27b82,_0x3f0064),[_0x2928ba]):(_0x55c7cb(_0x4c57ea,_0x414f14,_0x4c57ea,0x0,_0x3f0064),[_0x2928ba,_0x4c57ea])):[_0x2928ba,_0x4c57ea];}[_0x15d966(0x271)](_0x1ad497,_0x3d621c,_0x7aba2b,_0x538e3b){const _0x2444c3=_0x15d966;let _0x1e96c1;if(_0x1ad497===void 0x0)_0x1e96c1=_0x3822fc;else{if(typeof _0x1ad497!=_0x2444c3(0x253)||!_0x46beae(_0x1ad497))throw new TypeError(_0x2444c3(0x339));if(_0x3d621c===void 0x0||!_0x3d621c['length'])_0x1e96c1=Buffer[_0x2444c3(0x2d0)](0x2),_0x1e96c1[_0x2444c3(0x323)](_0x1ad497,0x0);else{const _0x5e143c=Buffer[_0x2444c3(0x2c7)](_0x3d621c);if(_0x5e143c>0x7b)throw new RangeError(_0x2444c3(0x315));_0x1e96c1=Buffer[_0x2444c3(0x2d0)](0x2+_0x5e143c),_0x1e96c1[_0x2444c3(0x323)](_0x1ad497,0x0),typeof _0x3d621c=='string'?_0x1e96c1[_0x2444c3(0x1a6)](_0x3d621c,0x2):_0x1e96c1[_0x2444c3(0x330)](_0x3d621c,0x2);}}const _0x40b1fa={[_0x459bdf]:_0x1e96c1['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x7aba2b,'maskBuffer':this[_0x2444c3(0x213)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2444c3(0x2bc)]!==_0x31359f?this[_0x2444c3(0x20a)]([this[_0x2444c3(0x22e)],_0x1e96c1,!0x1,_0x40b1fa,_0x538e3b]):this[_0x2444c3(0x2ef)](_0x307e48[_0x2444c3(0x2a8)](_0x1e96c1,_0x40b1fa),_0x538e3b);}[_0x15d966(0x25d)](_0x3dbb7c,_0x1e3d40,_0x48a19c){const _0x125bc8=_0x15d966;let _0x29ba81,_0x1ad2ad;if(typeof _0x3dbb7c=='string'?(_0x29ba81=Buffer['byteLength'](_0x3dbb7c),_0x1ad2ad=!0x1):_0x3d8da6(_0x3dbb7c)?(_0x29ba81=_0x3dbb7c[_0x125bc8(0x24f)],_0x1ad2ad=!0x1):(_0x3dbb7c=_0x467764(_0x3dbb7c),_0x29ba81=_0x3dbb7c[_0x125bc8(0x265)],_0x1ad2ad=_0x467764[_0x125bc8(0x341)]),_0x29ba81>0x7d)throw new RangeError(_0x125bc8(0x236));const _0x528614={[_0x459bdf]:_0x29ba81,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1e3d40,'maskBuffer':this[_0x125bc8(0x213)],'opcode':0x9,'readOnly':_0x1ad2ad,'rsv1':!0x1};_0x3d8da6(_0x3dbb7c)?this['_state']!==_0x31359f?this[_0x125bc8(0x20a)]([this['getBlobData'],_0x3dbb7c,!0x1,_0x528614,_0x48a19c]):this['getBlobData'](_0x3dbb7c,!0x1,_0x528614,_0x48a19c):this[_0x125bc8(0x2bc)]!==_0x31359f?this[_0x125bc8(0x20a)]([this[_0x125bc8(0x22e)],_0x3dbb7c,!0x1,_0x528614,_0x48a19c]):this[_0x125bc8(0x2ef)](_0x307e48[_0x125bc8(0x2a8)](_0x3dbb7c,_0x528614),_0x48a19c);}[_0x15d966(0x21f)](_0x589164,_0x1233f3,_0x4ddba2){const _0x51136c=_0x15d966;let _0x11eaf7,_0x2f0015;if(typeof _0x589164==_0x51136c(0x2f4)?(_0x11eaf7=Buffer[_0x51136c(0x2c7)](_0x589164),_0x2f0015=!0x1):_0x3d8da6(_0x589164)?(_0x11eaf7=_0x589164[_0x51136c(0x24f)],_0x2f0015=!0x1):(_0x589164=_0x467764(_0x589164),_0x11eaf7=_0x589164[_0x51136c(0x265)],_0x2f0015=_0x467764[_0x51136c(0x341)]),_0x11eaf7>0x7d)throw new RangeError(_0x51136c(0x236));const _0x343d8d={[_0x459bdf]:_0x11eaf7,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1233f3,'maskBuffer':this[_0x51136c(0x213)],'opcode':0xa,'readOnly':_0x2f0015,'rsv1':!0x1};_0x3d8da6(_0x589164)?this[_0x51136c(0x2bc)]!==_0x31359f?this[_0x51136c(0x20a)]([this[_0x51136c(0x295)],_0x589164,!0x1,_0x343d8d,_0x4ddba2]):this[_0x51136c(0x295)](_0x589164,!0x1,_0x343d8d,_0x4ddba2):this[_0x51136c(0x2bc)]!==_0x31359f?this[_0x51136c(0x20a)]([this[_0x51136c(0x22e)],_0x589164,!0x1,_0x343d8d,_0x4ddba2]):this['sendFrame'](_0x307e48[_0x51136c(0x2a8)](_0x589164,_0x343d8d),_0x4ddba2);}[_0x15d966(0x26c)](_0x3bc726,_0x24f9c8,_0x586e37){const _0x37ab2e=_0x15d966,_0x100f81=this[_0x37ab2e(0x21b)][_0x223321['extensionName']];let _0x52db42=_0x24f9c8[_0x37ab2e(0x1a8)]?0x2:0x1,_0x21fd5f=_0x24f9c8['compress'],_0x59d1c3,_0x53a0ab;typeof _0x3bc726=='string'?(_0x59d1c3=Buffer['byteLength'](_0x3bc726),_0x53a0ab=!0x1):_0x3d8da6(_0x3bc726)?(_0x59d1c3=_0x3bc726['size'],_0x53a0ab=!0x1):(_0x3bc726=_0x467764(_0x3bc726),_0x59d1c3=_0x3bc726[_0x37ab2e(0x265)],_0x53a0ab=_0x467764[_0x37ab2e(0x341)]),this['_firstFragment']?(this[_0x37ab2e(0x1bb)]=!0x1,_0x21fd5f&&_0x100f81&&_0x100f81['params'][_0x100f81['_isServer']?_0x37ab2e(0x1bd):_0x37ab2e(0x1d9)]&&(_0x21fd5f=_0x59d1c3>=_0x100f81[_0x37ab2e(0x1fa)]),this[_0x37ab2e(0x1e4)]=_0x21fd5f):(_0x21fd5f=!0x1,_0x52db42=0x0),_0x24f9c8[_0x37ab2e(0x1d4)]&&(this['_firstFragment']=!0x0);const _0x191469={[_0x459bdf]:_0x59d1c3,'fin':_0x24f9c8[_0x37ab2e(0x1d4)],'generateMask':this[_0x37ab2e(0x242)],'mask':_0x24f9c8[_0x37ab2e(0x28b)],'maskBuffer':this[_0x37ab2e(0x213)],'opcode':_0x52db42,'readOnly':_0x53a0ab,'rsv1':_0x21fd5f};_0x3d8da6(_0x3bc726)?this[_0x37ab2e(0x2bc)]!==_0x31359f?this[_0x37ab2e(0x20a)]([this[_0x37ab2e(0x295)],_0x3bc726,this[_0x37ab2e(0x1e4)],_0x191469,_0x586e37]):this[_0x37ab2e(0x295)](_0x3bc726,this[_0x37ab2e(0x1e4)],_0x191469,_0x586e37):this[_0x37ab2e(0x2bc)]!==_0x31359f?this[_0x37ab2e(0x20a)]([this[_0x37ab2e(0x22e)],_0x3bc726,this[_0x37ab2e(0x1e4)],_0x191469,_0x586e37]):this[_0x37ab2e(0x22e)](_0x3bc726,this[_0x37ab2e(0x1e4)],_0x191469,_0x586e37);}[_0x15d966(0x295)](_0x52dbc6,_0xa5d4dc,_0x1f6a76,_0x4e8af3){const _0x497d49=_0x15d966;this['_bufferedBytes']+=_0x1f6a76[_0x459bdf],this['_state']=_0x4f3dfe,_0x52dbc6[_0x497d49(0x2a2)]()[_0x497d49(0x267)](_0x3f975d=>{const _0x4e5f73=_0x497d49;if(this['_socket'][_0x4e5f73(0x343)]){const _0x39b1b1=new Error(_0x4e5f73(0x237));process[_0x4e5f73(0x27c)](_0xa59a9f,this,_0x39b1b1,_0x4e8af3);return;}this[_0x4e5f73(0x30c)]-=_0x1f6a76[_0x459bdf];const _0x2b358c=_0x467764(_0x3f975d);_0xa5d4dc?this[_0x4e5f73(0x22e)](_0x2b358c,_0xa5d4dc,_0x1f6a76,_0x4e8af3):(this[_0x4e5f73(0x2bc)]=_0x31359f,this[_0x4e5f73(0x2ef)](_0x307e48['frame'](_0x2b358c,_0x1f6a76),_0x4e8af3),this[_0x4e5f73(0x2c2)]());})[_0x497d49(0x214)](_0x5cdeb2=>{const _0x5ed0da=_0x497d49;process[_0x5ed0da(0x27c)](_0x22bbbe,this,_0x5cdeb2,_0x4e8af3);});}[_0x15d966(0x22e)](_0x1d2fa4,_0x22a96e,_0x55f330,_0x2ed749){const _0x10d6ac=_0x15d966;if(!_0x22a96e){this['sendFrame'](_0x307e48[_0x10d6ac(0x2a8)](_0x1d2fa4,_0x55f330),_0x2ed749);return;}const _0x10831d=this[_0x10d6ac(0x21b)][_0x223321[_0x10d6ac(0x1f5)]];this[_0x10d6ac(0x30c)]+=_0x55f330[_0x459bdf],this[_0x10d6ac(0x2bc)]=_0x550ec7,_0x10831d['compress'](_0x1d2fa4,_0x55f330[_0x10d6ac(0x1d4)],(_0x57c5f5,_0x1cf289)=>{const _0x2dee93=_0x10d6ac;if(this[_0x2dee93(0x2d3)][_0x2dee93(0x343)]){const _0x353beb=new Error(_0x2dee93(0x289));_0xa59a9f(this,_0x353beb,_0x2ed749);return;}this[_0x2dee93(0x30c)]-=_0x55f330[_0x459bdf],this['_state']=_0x31359f,_0x55f330[_0x2dee93(0x341)]=!0x1,this[_0x2dee93(0x2ef)](_0x307e48[_0x2dee93(0x2a8)](_0x1cf289,_0x55f330),_0x2ed749),this['dequeue']();});}[_0x15d966(0x2c2)](){const _0x52c52a=_0x15d966;for(;this['_state']===_0x31359f&&this[_0x52c52a(0x24e)][_0x52c52a(0x265)];){const _0xd9dc7e=this[_0x52c52a(0x24e)][_0x52c52a(0x269)]();this[_0x52c52a(0x30c)]-=_0xd9dc7e[0x3][_0x459bdf],Reflect['apply'](_0xd9dc7e[0x0],this,_0xd9dc7e[_0x52c52a(0x311)](0x1));}}[_0x15d966(0x20a)](_0x9ff3a){const _0x4ef58c=_0x15d966;this['_bufferedBytes']+=_0x9ff3a[0x3][_0x459bdf],this[_0x4ef58c(0x24e)][_0x4ef58c(0x204)](_0x9ff3a);}[_0x15d966(0x2ef)](_0x35fbb7,_0x4d2fab){const _0x4ae934=_0x15d966;_0x35fbb7['length']===0x2?(this['_socket'][_0x4ae934(0x2b7)](),this[_0x4ae934(0x2d3)][_0x4ae934(0x1a6)](_0x35fbb7[0x0]),this['_socket'][_0x4ae934(0x1a6)](_0x35fbb7[0x1],_0x4d2fab),this[_0x4ae934(0x2d3)][_0x4ae934(0x324)]()):this[_0x4ae934(0x2d3)]['write'](_0x35fbb7[0x0],_0x4d2fab);}}Ee=_0x307e48;function _0xa59a9f(_0x7369f3,_0x45c7cf,_0xf060b2){const _0x37abf0=_0x15d966;typeof _0xf060b2==_0x37abf0(0x29f)&&_0xf060b2(_0x45c7cf);for(let _0x4c5603=0x0;_0x4c5603<_0x7369f3[_0x37abf0(0x24e)]['length'];_0x4c5603++){const _0x512019=_0x7369f3[_0x37abf0(0x24e)][_0x4c5603],_0x10cd80=_0x512019[_0x512019[_0x37abf0(0x265)]-0x1];typeof _0x10cd80==_0x37abf0(0x29f)&&_0x10cd80(_0x45c7cf);}}function _0x22bbbe(_0x2570cc,_0x4a46cb,_0x561dc0){const _0x1b3d82=_0x15d966;_0xa59a9f(_0x2570cc,_0x4a46cb,_0x561dc0),_0x2570cc[_0x1b3d82(0x20e)](_0x4a46cb);}return Ee;}var xe,tt;function Kt(){const _0x581e1b=_0x363399;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x22dbd7,kListener:_0x464da9}=V(),_0x1f69dd=Symbol('kCode'),_0x449a9d=Symbol(_0x581e1b(0x308)),_0x39240a=Symbol('kError'),_0xd8f6f6=Symbol(_0x581e1b(0x2a1)),_0x2c9e68=Symbol(_0x581e1b(0x1ca)),_0x494fca=Symbol(_0x581e1b(0x2b1)),_0x1ba9c1=Symbol(_0x581e1b(0x2f2)),_0x554341=Symbol(_0x581e1b(0x288));class _0x57c29c{constructor(_0x117941){this[_0x494fca]=null,this[_0x1ba9c1]=_0x117941;}get['target'](){return this[_0x494fca];}get[_0x581e1b(0x1af)](){return this[_0x1ba9c1];}}Object[_0x581e1b(0x284)](_0x57c29c[_0x581e1b(0x22d)],'target',{'enumerable':!0x0}),Object[_0x581e1b(0x284)](_0x57c29c[_0x581e1b(0x22d)],_0x581e1b(0x1af),{'enumerable':!0x0});class _0x6cb83e extends _0x57c29c{constructor(_0x5ee976,_0x3c72d1={}){const _0x241144=_0x581e1b;super(_0x5ee976),this[_0x1f69dd]=_0x3c72d1[_0x241144(0x2b2)]===void 0x0?0x0:_0x3c72d1[_0x241144(0x2b2)],this[_0x2c9e68]=_0x3c72d1[_0x241144(0x1a3)]===void 0x0?'':_0x3c72d1['reason'],this[_0x554341]=_0x3c72d1['wasClean']===void 0x0?!0x1:_0x3c72d1[_0x241144(0x32e)];}get['code'](){return this[_0x1f69dd];}get[_0x581e1b(0x1a3)](){return this[_0x2c9e68];}get[_0x581e1b(0x32e)](){return this[_0x554341];}}Object[_0x581e1b(0x284)](_0x6cb83e[_0x581e1b(0x22d)],'code',{'enumerable':!0x0}),Object[_0x581e1b(0x284)](_0x6cb83e[_0x581e1b(0x22d)],_0x581e1b(0x1a3),{'enumerable':!0x0}),Object['defineProperty'](_0x6cb83e['prototype'],_0x581e1b(0x32e),{'enumerable':!0x0});class _0x48a776 extends _0x57c29c{constructor(_0x18a5b2,_0x4d284a={}){const _0x578435=_0x581e1b;super(_0x18a5b2),this[_0x39240a]=_0x4d284a['error']===void 0x0?null:_0x4d284a[_0x578435(0x24a)],this[_0xd8f6f6]=_0x4d284a[_0x578435(0x22f)]===void 0x0?'':_0x4d284a[_0x578435(0x22f)];}get[_0x581e1b(0x24a)](){return this[_0x39240a];}get[_0x581e1b(0x22f)](){return this[_0xd8f6f6];}}Object[_0x581e1b(0x284)](_0x48a776[_0x581e1b(0x22d)],_0x581e1b(0x24a),{'enumerable':!0x0}),Object[_0x581e1b(0x284)](_0x48a776[_0x581e1b(0x22d)],_0x581e1b(0x22f),{'enumerable':!0x0});class _0x3d56bb extends _0x57c29c{constructor(_0x2cfa74,_0x4187a1={}){const _0x5c88b9=_0x581e1b;super(_0x2cfa74),this[_0x449a9d]=_0x4187a1['data']===void 0x0?null:_0x4187a1[_0x5c88b9(0x2cc)];}get[_0x581e1b(0x2cc)](){return this[_0x449a9d];}}Object[_0x581e1b(0x284)](_0x3d56bb['prototype'],_0x581e1b(0x2cc),{'enumerable':!0x0}),xe={'CloseEvent':_0x6cb83e,'ErrorEvent':_0x48a776,'Event':_0x57c29c,'EventTarget':{'addEventListener'(_0x2e0c4c,_0x3a6626,_0x3e053a={}){const _0x31ca15=_0x581e1b;for(const _0x5826b0 of this[_0x31ca15(0x226)](_0x2e0c4c))if(!_0x3e053a[_0x22dbd7]&&_0x5826b0[_0x464da9]===_0x3a6626&&!_0x5826b0[_0x22dbd7])return;let _0x229fc6;if(_0x2e0c4c===_0x31ca15(0x22f))_0x229fc6=function(_0x2652fc,_0x22ddea){const _0x30b9ff=new _0x3d56bb('message',{'data':_0x22ddea?_0x2652fc:_0x2652fc['toString']()});_0x30b9ff[_0x494fca]=this,_0x5a8cb2(_0x3a6626,this,_0x30b9ff);};else{if(_0x2e0c4c===_0x31ca15(0x271))_0x229fc6=function(_0x50a5f5,_0x33e41b){const _0x3f53e9=_0x31ca15,_0x2ae828=new _0x6cb83e(_0x3f53e9(0x271),{'code':_0x50a5f5,'reason':_0x33e41b[_0x3f53e9(0x32f)](),'wasClean':this[_0x3f53e9(0x274)]&&this[_0x3f53e9(0x257)]});_0x2ae828[_0x494fca]=this,_0x5a8cb2(_0x3a6626,this,_0x2ae828);};else{if(_0x2e0c4c===_0x31ca15(0x24a))_0x229fc6=function(_0x4121e7){const _0x175af9=_0x31ca15,_0x259b46=new _0x48a776(_0x175af9(0x24a),{'error':_0x4121e7,'message':_0x4121e7[_0x175af9(0x22f)]});_0x259b46[_0x494fca]=this,_0x5a8cb2(_0x3a6626,this,_0x259b46);};else{if(_0x2e0c4c===_0x31ca15(0x23c))_0x229fc6=function(){const _0x31d165=_0x31ca15,_0x25783e=new _0x57c29c(_0x31d165(0x23c));_0x25783e[_0x494fca]=this,_0x5a8cb2(_0x3a6626,this,_0x25783e);};else return;}}}_0x229fc6[_0x22dbd7]=!!_0x3e053a[_0x22dbd7],_0x229fc6[_0x464da9]=_0x3a6626,_0x3e053a[_0x31ca15(0x202)]?this[_0x31ca15(0x202)](_0x2e0c4c,_0x229fc6):this['on'](_0x2e0c4c,_0x229fc6);},'removeEventListener'(_0x35790a,_0x400be5){const _0x4b183b=_0x581e1b;for(const _0x4e0005 of this[_0x4b183b(0x226)](_0x35790a))if(_0x4e0005[_0x464da9]===_0x400be5&&!_0x4e0005[_0x22dbd7]){this[_0x4b183b(0x333)](_0x35790a,_0x4e0005);break;}}},'MessageEvent':_0x3d56bb};function _0x5a8cb2(_0x4ed7a2,_0x2a6e99,_0x3d2884){const _0x4f947=_0x581e1b;typeof _0x4ed7a2=='object'&&_0x4ed7a2[_0x4f947(0x1d5)]?_0x4ed7a2[_0x4f947(0x1d5)]['call'](_0x4ed7a2,_0x3d2884):_0x4ed7a2[_0x4f947(0x26e)](_0x2a6e99,_0x3d2884);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x48deea}=ne();function _0x16c13a(_0x38dbf4,_0x1a1edb,_0x329619){const _0x4cb310=_0x1b98;_0x38dbf4[_0x1a1edb]===void 0x0?_0x38dbf4[_0x1a1edb]=[_0x329619]:_0x38dbf4[_0x1a1edb][_0x4cb310(0x204)](_0x329619);}function _0x25b0af(_0x59267a){const _0xaf59f=_0x1b98,_0xa3b964=Object['create'](null);let _0x55a341=Object[_0xaf59f(0x200)](null),_0x5bb312=!0x1,_0x86ebac=!0x1,_0x4824fb=!0x1,_0x5d03ea,_0x199541,_0x58c0f9=-0x1,_0x5cb4ec=-0x1,_0x1ff34c=-0x1,_0x2b3ada=0x0;for(;_0x2b3ada<_0x59267a[_0xaf59f(0x265)];_0x2b3ada++)if(_0x5cb4ec=_0x59267a[_0xaf59f(0x2e0)](_0x2b3ada),_0x5d03ea===void 0x0){if(_0x1ff34c===-0x1&&_0x48deea[_0x5cb4ec]===0x1)_0x58c0f9===-0x1&&(_0x58c0f9=_0x2b3ada);else{if(_0x2b3ada!==0x0&&(_0x5cb4ec===0x20||_0x5cb4ec===0x9))_0x1ff34c===-0x1&&_0x58c0f9!==-0x1&&(_0x1ff34c=_0x2b3ada);else{if(_0x5cb4ec===0x3b||_0x5cb4ec===0x2c){if(_0x58c0f9===-0x1)throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);_0x1ff34c===-0x1&&(_0x1ff34c=_0x2b3ada);const _0x408873=_0x59267a[_0xaf59f(0x311)](_0x58c0f9,_0x1ff34c);_0x5cb4ec===0x2c?(_0x16c13a(_0xa3b964,_0x408873,_0x55a341),_0x55a341=Object[_0xaf59f(0x200)](null)):_0x5d03ea=_0x408873,_0x58c0f9=_0x1ff34c=-0x1;}else throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);}}}else{if(_0x199541===void 0x0){if(_0x1ff34c===-0x1&&_0x48deea[_0x5cb4ec]===0x1)_0x58c0f9===-0x1&&(_0x58c0f9=_0x2b3ada);else{if(_0x5cb4ec===0x20||_0x5cb4ec===0x9)_0x1ff34c===-0x1&&_0x58c0f9!==-0x1&&(_0x1ff34c=_0x2b3ada);else{if(_0x5cb4ec===0x3b||_0x5cb4ec===0x2c){if(_0x58c0f9===-0x1)throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);_0x1ff34c===-0x1&&(_0x1ff34c=_0x2b3ada),_0x16c13a(_0x55a341,_0x59267a[_0xaf59f(0x311)](_0x58c0f9,_0x1ff34c),!0x0),_0x5cb4ec===0x2c&&(_0x16c13a(_0xa3b964,_0x5d03ea,_0x55a341),_0x55a341=Object['create'](null),_0x5d03ea=void 0x0),_0x58c0f9=_0x1ff34c=-0x1;}else{if(_0x5cb4ec===0x3d&&_0x58c0f9!==-0x1&&_0x1ff34c===-0x1)_0x199541=_0x59267a[_0xaf59f(0x311)](_0x58c0f9,_0x2b3ada),_0x58c0f9=_0x1ff34c=-0x1;else throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);}}}}else{if(_0x86ebac){if(_0x48deea[_0x5cb4ec]!==0x1)throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);_0x58c0f9===-0x1?_0x58c0f9=_0x2b3ada:_0x5bb312||(_0x5bb312=!0x0),_0x86ebac=!0x1;}else{if(_0x4824fb){if(_0x48deea[_0x5cb4ec]===0x1)_0x58c0f9===-0x1&&(_0x58c0f9=_0x2b3ada);else{if(_0x5cb4ec===0x22&&_0x58c0f9!==-0x1)_0x4824fb=!0x1,_0x1ff34c=_0x2b3ada;else{if(_0x5cb4ec===0x5c)_0x86ebac=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2b3ada);}}}else{if(_0x5cb4ec===0x22&&_0x59267a[_0xaf59f(0x2e0)](_0x2b3ada-0x1)===0x3d)_0x4824fb=!0x0;else{if(_0x1ff34c===-0x1&&_0x48deea[_0x5cb4ec]===0x1)_0x58c0f9===-0x1&&(_0x58c0f9=_0x2b3ada);else{if(_0x58c0f9!==-0x1&&(_0x5cb4ec===0x20||_0x5cb4ec===0x9))_0x1ff34c===-0x1&&(_0x1ff34c=_0x2b3ada);else{if(_0x5cb4ec===0x3b||_0x5cb4ec===0x2c){if(_0x58c0f9===-0x1)throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);_0x1ff34c===-0x1&&(_0x1ff34c=_0x2b3ada);let _0x24652b=_0x59267a[_0xaf59f(0x311)](_0x58c0f9,_0x1ff34c);_0x5bb312&&(_0x24652b=_0x24652b[_0xaf59f(0x241)](/\\/g,''),_0x5bb312=!0x1),_0x16c13a(_0x55a341,_0x199541,_0x24652b),_0x5cb4ec===0x2c&&(_0x16c13a(_0xa3b964,_0x5d03ea,_0x55a341),_0x55a341=Object['create'](null),_0x5d03ea=void 0x0),_0x199541=void 0x0,_0x58c0f9=_0x1ff34c=-0x1;}else throw new SyntaxError(_0xaf59f(0x29a)+_0x2b3ada);}}}}}}}if(_0x58c0f9===-0x1||_0x4824fb||_0x5cb4ec===0x20||_0x5cb4ec===0x9)throw new SyntaxError(_0xaf59f(0x1b4));_0x1ff34c===-0x1&&(_0x1ff34c=_0x2b3ada);const _0xb1bb64=_0x59267a[_0xaf59f(0x311)](_0x58c0f9,_0x1ff34c);return _0x5d03ea===void 0x0?_0x16c13a(_0xa3b964,_0xb1bb64,_0x55a341):(_0x199541===void 0x0?_0x16c13a(_0x55a341,_0xb1bb64,!0x0):_0x5bb312?_0x16c13a(_0x55a341,_0x199541,_0xb1bb64['replace'](/\\/g,'')):_0x16c13a(_0x55a341,_0x199541,_0xb1bb64),_0x16c13a(_0xa3b964,_0x5d03ea,_0x55a341)),_0xa3b964;}function _0x367e96(_0x488f6e){const _0x36d13c=_0x1b98;return Object[_0x36d13c(0x2a3)](_0x488f6e)['map'](_0x4aa660=>{const _0x5378c0=_0x36d13c;let _0x448c49=_0x488f6e[_0x4aa660];return Array['isArray'](_0x448c49)||(_0x448c49=[_0x448c49]),_0x448c49[_0x5378c0(0x2e2)](_0xea2577=>[_0x4aa660][_0x5378c0(0x1f2)](Object[_0x5378c0(0x2a3)](_0xea2577)['map'](_0x16ef79=>{let _0x46fe49=_0xea2577[_0x16ef79];return Array['isArray'](_0x46fe49)||(_0x46fe49=[_0x46fe49]),_0x46fe49['map'](_0x2cf0cb=>_0x2cf0cb===!0x0?_0x16ef79:_0x16ef79+'='+_0x2cf0cb)['join'](';\x20');}))['join'](';\x20'))[_0x5378c0(0x2c0)](',\x20');})['join'](',\x20');}return be={'format':_0x367e96,'parse':_0x25b0af},be;}var we,st;function Ie(){const _0xe070f8=_0x363399;if(st)return we;st=0x1;const _0x231871=_0x1a0dc7,_0x2036d2=_0x174920,_0x432314=_0x35e405,_0xe5b98=_0x3ae457,_0x504b2a=_0x29368c,{randomBytes:_0x2f5211,createHash:_0x4b4dfb}=_0x168862,{Duplex:_0xa50560,Readable:_0x46c808}=_0x169f08,{URL:_0x3b0e0a}=_0x29bebd,_0x590357=he(),_0x55bdad=dt(),_0x2c3c60=_t(),{isBlob:_0x30b7d3}=ne(),{BINARY_TYPES:_0xeadff4,EMPTY_BUFFER:_0x21b0cb,GUID:_0x41f275,kForOnEventAttribute:_0x280012,kListener:_0x38b7dd,kStatusCode:_0xd1330b,kWebSocket:_0x4a240f,NOOP:_0x17260e}=V(),{EventTarget:{addEventListener:_0xaa679c,removeEventListener:_0x1df4c6}}=Kt(),{format:_0x31ad57,parse:_0x3cb8b4}=pt(),{toBuffer:_0x2463bd}=ce(),_0x578efe=0x1e*0x3e8,_0xf93140=Symbol(_0xe070f8(0x34e)),_0x3d3ed5=[0x8,0xd],_0x467f2c=[_0xe070f8(0x306),_0xe070f8(0x1cb),'CLOSING',_0xe070f8(0x232)],_0x13d4ca=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x23e1f4 extends _0x231871{constructor(_0x4bbfc2,_0x317717,_0x50e71b){const _0x5d7a48=_0xe070f8;super(),this[_0x5d7a48(0x1aa)]=_0xeadff4[0x0],this[_0x5d7a48(0x1ba)]=0x3ee,this[_0x5d7a48(0x274)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x5d7a48(0x2e1)]=_0x21b0cb,this[_0x5d7a48(0x26b)]=null,this['_errorEmitted']=!0x1,this[_0x5d7a48(0x21b)]={},this[_0x5d7a48(0x2f8)]=!0x1,this['_protocol']='',this[_0x5d7a48(0x2df)]=_0x23e1f4[_0x5d7a48(0x306)],this['_receiver']=null,this[_0x5d7a48(0x23b)]=null,this[_0x5d7a48(0x2d3)]=null,_0x4bbfc2!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x5d7a48(0x329)]=0x0,_0x317717===void 0x0?_0x317717=[]:Array[_0x5d7a48(0x21c)](_0x317717)||(typeof _0x317717=='object'&&_0x317717!==null?(_0x50e71b=_0x317717,_0x317717=[]):_0x317717=[_0x317717]),_0x8a5166(this,_0x4bbfc2,_0x317717,_0x50e71b)):(this[_0x5d7a48(0x31d)]=_0x50e71b[_0x5d7a48(0x234)],this['_isServer']=!0x0);}get[_0xe070f8(0x29e)](){return this['_binaryType'];}set['binaryType'](_0x26321a){const _0x1a7d54=_0xe070f8;_0xeadff4[_0x1a7d54(0x2c3)](_0x26321a)&&(this[_0x1a7d54(0x1aa)]=_0x26321a,this[_0x1a7d54(0x256)]&&(this[_0x1a7d54(0x256)][_0x1a7d54(0x1aa)]=_0x26321a));}get[_0xe070f8(0x34c)](){const _0x6b9c01=_0xe070f8;return this[_0x6b9c01(0x2d3)]?this[_0x6b9c01(0x2d3)][_0x6b9c01(0x1fc)]['length']+this[_0x6b9c01(0x23b)]['_bufferedBytes']:this[_0x6b9c01(0x1e2)];}get[_0xe070f8(0x206)](){const _0x42b1a8=_0xe070f8;return Object[_0x42b1a8(0x2a3)](this['_extensions'])[_0x42b1a8(0x2c0)]();}get[_0xe070f8(0x247)](){const _0x4c144d=_0xe070f8;return this[_0x4c144d(0x2f8)];}get[_0xe070f8(0x2e5)](){return null;}get[_0xe070f8(0x20e)](){return null;}get[_0xe070f8(0x2f3)](){return null;}get['onmessage'](){return null;}get[_0xe070f8(0x2ca)](){const _0x1ace0d=_0xe070f8;return this[_0x1ace0d(0x272)];}get[_0xe070f8(0x316)](){const _0x2b8cf4=_0xe070f8;return this[_0x2b8cf4(0x2df)];}get[_0xe070f8(0x25b)](){const _0x4e0796=_0xe070f8;return this[_0x4e0796(0x203)];}[_0xe070f8(0x224)](_0x5e9f7f,_0x118ba9,_0x37c091){const _0x4b4738=_0xe070f8,_0x3b34ee=new _0x55bdad({'allowSynchronousEvents':_0x37c091[_0x4b4738(0x233)],'binaryType':this[_0x4b4738(0x29e)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x37c091[_0x4b4738(0x317)],'skipUTF8Validation':_0x37c091[_0x4b4738(0x300)]}),_0x2b6401=new _0x2c3c60(_0x5e9f7f,this['_extensions'],_0x37c091['generateMask']);this[_0x4b4738(0x256)]=_0x3b34ee,this[_0x4b4738(0x23b)]=_0x2b6401,this[_0x4b4738(0x2d3)]=_0x5e9f7f,_0x3b34ee[_0x4a240f]=this,_0x2b6401[_0x4a240f]=this,_0x5e9f7f[_0x4a240f]=this,_0x3b34ee['on'](_0x4b4738(0x1e6),_0x36f163),_0x3b34ee['on'](_0x4b4738(0x338),_0x4951f9),_0x3b34ee['on'](_0x4b4738(0x24a),_0x76f621),_0x3b34ee['on'](_0x4b4738(0x22f),_0x37fb69),_0x3b34ee['on'](_0x4b4738(0x25d),_0x55bccb),_0x3b34ee['on'](_0x4b4738(0x21f),_0x324cec),_0x2b6401[_0x4b4738(0x20e)]=_0x505c5a,_0x5e9f7f['setTimeout']&&_0x5e9f7f[_0x4b4738(0x320)](0x0),_0x5e9f7f[_0x4b4738(0x25a)]&&_0x5e9f7f[_0x4b4738(0x25a)](),_0x118ba9[_0x4b4738(0x265)]>0x0&&_0x5e9f7f[_0x4b4738(0x340)](_0x118ba9),_0x5e9f7f['on'](_0x4b4738(0x271),_0x4f96cb),_0x5e9f7f['on'](_0x4b4738(0x2cc),_0x34e35b),_0x5e9f7f['on'](_0x4b4738(0x211),_0x233689),_0x5e9f7f['on']('error',_0x258ed5),this['_readyState']=_0x23e1f4[_0x4b4738(0x1cb)],this[_0x4b4738(0x201)]('open');}[_0xe070f8(0x2ea)](){const _0x47211c=_0xe070f8;if(!this['_socket']){this[_0x47211c(0x2df)]=_0x23e1f4['CLOSED'],this[_0x47211c(0x201)](_0x47211c(0x271),this[_0x47211c(0x1ba)],this[_0x47211c(0x2e1)]);return;}this['_extensions'][_0x590357[_0x47211c(0x1f5)]]&&this[_0x47211c(0x21b)][_0x590357['extensionName']]['cleanup'](),this[_0x47211c(0x256)][_0x47211c(0x1b0)](),this[_0x47211c(0x2df)]=_0x23e1f4['CLOSED'],this[_0x47211c(0x201)](_0x47211c(0x271),this[_0x47211c(0x1ba)],this[_0x47211c(0x2e1)]);}['close'](_0x1d39e6,_0x4a231){const _0x868e6b=_0xe070f8;if(this[_0x868e6b(0x316)]!==_0x23e1f4[_0x868e6b(0x232)]){if(this[_0x868e6b(0x316)]===_0x23e1f4[_0x868e6b(0x306)]){_0x1559f9(this,this[_0x868e6b(0x266)],_0x868e6b(0x327));return;}if(this[_0x868e6b(0x316)]===_0x23e1f4['CLOSING']){this[_0x868e6b(0x257)]&&(this['_closeFrameReceived']||this[_0x868e6b(0x256)][_0x868e6b(0x1fc)][_0x868e6b(0x2e7)])&&this[_0x868e6b(0x2d3)]['end']();return;}this['_readyState']=_0x23e1f4[_0x868e6b(0x1d8)],this['_sender'][_0x868e6b(0x271)](_0x1d39e6,_0x4a231,!this[_0x868e6b(0x215)],_0x1182a1=>{const _0x47222d=_0x868e6b;_0x1182a1||(this[_0x47222d(0x257)]=!0x0,(this['_closeFrameReceived']||this[_0x47222d(0x256)]['_writableState'][_0x47222d(0x2e7)])&&this['_socket'][_0x47222d(0x211)]());}),_0x452099(this);}}[_0xe070f8(0x1df)](){const _0x1dc63f=_0xe070f8;this[_0x1dc63f(0x316)]===_0x23e1f4[_0x1dc63f(0x306)]||this[_0x1dc63f(0x316)]===_0x23e1f4[_0x1dc63f(0x232)]||(this[_0x1dc63f(0x2f8)]=!0x0,this[_0x1dc63f(0x2d3)]['pause']());}['ping'](_0x501aee,_0x8c047a,_0x2ad6f5){const _0x1231f1=_0xe070f8;if(this['readyState']===_0x23e1f4[_0x1231f1(0x306)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x501aee=='function'?(_0x2ad6f5=_0x501aee,_0x501aee=_0x8c047a=void 0x0):typeof _0x8c047a==_0x1231f1(0x29f)&&(_0x2ad6f5=_0x8c047a,_0x8c047a=void 0x0),typeof _0x501aee==_0x1231f1(0x253)&&(_0x501aee=_0x501aee[_0x1231f1(0x32f)]()),this[_0x1231f1(0x316)]!==_0x23e1f4[_0x1231f1(0x1cb)]){_0x13f564(this,_0x501aee,_0x2ad6f5);return;}_0x8c047a===void 0x0&&(_0x8c047a=!this[_0x1231f1(0x215)]),this[_0x1231f1(0x23b)][_0x1231f1(0x25d)](_0x501aee||_0x21b0cb,_0x8c047a,_0x2ad6f5);}[_0xe070f8(0x21f)](_0x72680a,_0x198b32,_0x5d1bf0){const _0x239b71=_0xe070f8;if(this[_0x239b71(0x316)]===_0x23e1f4[_0x239b71(0x306)])throw new Error(_0x239b71(0x1b3));if(typeof _0x72680a==_0x239b71(0x29f)?(_0x5d1bf0=_0x72680a,_0x72680a=_0x198b32=void 0x0):typeof _0x198b32=='function'&&(_0x5d1bf0=_0x198b32,_0x198b32=void 0x0),typeof _0x72680a==_0x239b71(0x253)&&(_0x72680a=_0x72680a[_0x239b71(0x32f)]()),this[_0x239b71(0x316)]!==_0x23e1f4[_0x239b71(0x1cb)]){_0x13f564(this,_0x72680a,_0x5d1bf0);return;}_0x198b32===void 0x0&&(_0x198b32=!this['_isServer']),this['_sender'][_0x239b71(0x21f)](_0x72680a||_0x21b0cb,_0x198b32,_0x5d1bf0);}['resume'](){const _0x56fb2a=_0xe070f8;this[_0x56fb2a(0x316)]===_0x23e1f4[_0x56fb2a(0x306)]||this[_0x56fb2a(0x316)]===_0x23e1f4[_0x56fb2a(0x232)]||(this[_0x56fb2a(0x2f8)]=!0x1,this['_receiver']['_writableState'][_0x56fb2a(0x2d6)]||this[_0x56fb2a(0x2d3)][_0x56fb2a(0x2dd)]());}[_0xe070f8(0x26c)](_0x267ef5,_0x94231d,_0x32b8a1){const _0x3f1dc6=_0xe070f8;if(this[_0x3f1dc6(0x316)]===_0x23e1f4[_0x3f1dc6(0x306)])throw new Error(_0x3f1dc6(0x1b3));if(typeof _0x94231d==_0x3f1dc6(0x29f)&&(_0x32b8a1=_0x94231d,_0x94231d={}),typeof _0x267ef5==_0x3f1dc6(0x253)&&(_0x267ef5=_0x267ef5['toString']()),this[_0x3f1dc6(0x316)]!==_0x23e1f4['OPEN']){_0x13f564(this,_0x267ef5,_0x32b8a1);return;}const _0x2f0709={'binary':typeof _0x267ef5!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x94231d};this[_0x3f1dc6(0x21b)][_0x590357[_0x3f1dc6(0x1f5)]]||(_0x2f0709[_0x3f1dc6(0x286)]=!0x1),this[_0x3f1dc6(0x23b)][_0x3f1dc6(0x26c)](_0x267ef5||_0x21b0cb,_0x2f0709,_0x32b8a1);}[_0xe070f8(0x1e1)](){const _0x4eb7d2=_0xe070f8;if(this[_0x4eb7d2(0x316)]!==_0x23e1f4[_0x4eb7d2(0x232)]){if(this[_0x4eb7d2(0x316)]===_0x23e1f4['CONNECTING']){_0x1559f9(this,this[_0x4eb7d2(0x266)],_0x4eb7d2(0x327));return;}this[_0x4eb7d2(0x2d3)]&&(this['_readyState']=_0x23e1f4[_0x4eb7d2(0x1d8)],this[_0x4eb7d2(0x2d3)][_0x4eb7d2(0x1d3)]());}}}Object['defineProperty'](_0x23e1f4,_0xe070f8(0x306),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x306))}),Object[_0xe070f8(0x284)](_0x23e1f4[_0xe070f8(0x22d)],_0xe070f8(0x306),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)]('CONNECTING')}),Object[_0xe070f8(0x284)](_0x23e1f4,_0xe070f8(0x1cb),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x1cb))}),Object['defineProperty'](_0x23e1f4[_0xe070f8(0x22d)],'OPEN',{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x1cb))}),Object[_0xe070f8(0x284)](_0x23e1f4,_0xe070f8(0x1d8),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x1d8))}),Object[_0xe070f8(0x284)](_0x23e1f4[_0xe070f8(0x22d)],_0xe070f8(0x1d8),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x1d8))}),Object[_0xe070f8(0x284)](_0x23e1f4,'CLOSED',{'enumerable':!0x0,'value':_0x467f2c['indexOf'](_0xe070f8(0x232))}),Object[_0xe070f8(0x284)](_0x23e1f4['prototype'],_0xe070f8(0x232),{'enumerable':!0x0,'value':_0x467f2c[_0xe070f8(0x1ec)](_0xe070f8(0x232))}),[_0xe070f8(0x29e),_0xe070f8(0x34c),_0xe070f8(0x206),_0xe070f8(0x247),_0xe070f8(0x2ca),'readyState','url'][_0xe070f8(0x350)](_0x17e4f7=>{const _0x4ffbf6=_0xe070f8;Object[_0x4ffbf6(0x284)](_0x23e1f4[_0x4ffbf6(0x22d)],_0x17e4f7,{'enumerable':!0x0});}),['open',_0xe070f8(0x24a),_0xe070f8(0x271),_0xe070f8(0x22f)][_0xe070f8(0x350)](_0x577ca4=>{const _0x4f03da=_0xe070f8;Object[_0x4f03da(0x284)](_0x23e1f4[_0x4f03da(0x22d)],'on'+_0x577ca4,{'enumerable':!0x0,'get'(){const _0xbdaad2=_0x4f03da;for(const _0x2cd7fe of this[_0xbdaad2(0x226)](_0x577ca4))if(_0x2cd7fe[_0x280012])return _0x2cd7fe[_0x38b7dd];return null;},'set'(_0x335a1d){const _0xe66a4a=_0x4f03da;for(const _0x458be1 of this[_0xe66a4a(0x226)](_0x577ca4))if(_0x458be1[_0x280012]){this[_0xe66a4a(0x333)](_0x577ca4,_0x458be1);break;}typeof _0x335a1d=='function'&&this[_0xe66a4a(0x227)](_0x577ca4,_0x335a1d,{[_0x280012]:!0x0});}});}),_0x23e1f4[_0xe070f8(0x22d)]['addEventListener']=_0xaa679c,_0x23e1f4[_0xe070f8(0x22d)][_0xe070f8(0x1f3)]=_0x1df4c6,we=_0x23e1f4;function _0x8a5166(_0x26c847,_0x196d89,_0xfc2b9,_0x5594ad){const _0x548b9c=_0xe070f8,_0x1cacd9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3d3ed5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5594ad,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x548b9c(0x30b),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x26c847[_0x548b9c(0x31d)]=_0x1cacd9['autoPong'],!_0x3d3ed5[_0x548b9c(0x2c3)](_0x1cacd9[_0x548b9c(0x2fe)]))throw new RangeError(_0x548b9c(0x22b)+_0x1cacd9[_0x548b9c(0x2fe)]+_0x548b9c(0x28a)+_0x3d3ed5['join'](',\x20')+')');let _0x3b4aac;if(_0x196d89 instanceof _0x3b0e0a)_0x3b4aac=_0x196d89;else try{_0x3b4aac=new _0x3b0e0a(_0x196d89);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x196d89);}_0x3b4aac[_0x548b9c(0x2ca)]===_0x548b9c(0x1a4)?_0x3b4aac['protocol']=_0x548b9c(0x1ac):_0x3b4aac[_0x548b9c(0x2ca)]==='https:'&&(_0x3b4aac['protocol']=_0x548b9c(0x32a)),_0x26c847[_0x548b9c(0x203)]=_0x3b4aac[_0x548b9c(0x1e8)];const _0x4feb5b=_0x3b4aac[_0x548b9c(0x2ca)]===_0x548b9c(0x32a),_0x58a643=_0x3b4aac[_0x548b9c(0x2ca)]===_0x548b9c(0x2f6);let _0x4329c9;if(_0x3b4aac['protocol']!==_0x548b9c(0x1ac)&&!_0x4feb5b&&!_0x58a643?_0x4329c9='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':_0x58a643&&!_0x3b4aac[_0x548b9c(0x1ff)]?_0x4329c9=_0x548b9c(0x1de):_0x3b4aac[_0x548b9c(0x34a)]&&(_0x4329c9=_0x548b9c(0x294)),_0x4329c9){const _0x3ec6ca=new SyntaxError(_0x4329c9);if(_0x26c847['_redirects']===0x0)throw _0x3ec6ca;_0x3c0d63(_0x26c847,_0x3ec6ca);return;}const _0x369464=_0x4feb5b?0x1bb:0x50,_0x1badfc=_0x2f5211(0x10)['toString'](_0x548b9c(0x1c8)),_0x415a88=_0x4feb5b?_0x2036d2[_0x548b9c(0x1e5)]:_0x432314[_0x548b9c(0x1e5)],_0x11bb7b=new Set();let _0x5ece31;if(_0x1cacd9[_0x548b9c(0x1a7)]=_0x1cacd9[_0x548b9c(0x1a7)]||(_0x4feb5b?_0x2121c9:_0x4e81ce),_0x1cacd9[_0x548b9c(0x24d)]=_0x1cacd9['defaultPort']||_0x369464,_0x1cacd9[_0x548b9c(0x297)]=_0x3b4aac['port']||_0x369464,_0x1cacd9['host']=_0x3b4aac[_0x548b9c(0x1b2)]['startsWith']('[')?_0x3b4aac['hostname'][_0x548b9c(0x311)](0x1,-0x1):_0x3b4aac[_0x548b9c(0x1b2)],_0x1cacd9[_0x548b9c(0x1f1)]={..._0x1cacd9[_0x548b9c(0x1f1)],'Sec-WebSocket-Version':_0x1cacd9[_0x548b9c(0x2fe)],'Sec-WebSocket-Key':_0x1badfc,'Connection':_0x548b9c(0x280),'Upgrade':_0x548b9c(0x2ec)},_0x1cacd9[_0x548b9c(0x1bc)]=_0x3b4aac[_0x548b9c(0x1ff)]+_0x3b4aac[_0x548b9c(0x275)],_0x1cacd9[_0x548b9c(0x1b9)]=_0x1cacd9[_0x548b9c(0x27a)],_0x1cacd9[_0x548b9c(0x27e)]&&(_0x5ece31=new _0x590357(_0x1cacd9['perMessageDeflate']!==!0x0?_0x1cacd9[_0x548b9c(0x27e)]:{},!0x1,_0x1cacd9['maxPayload']),_0x1cacd9[_0x548b9c(0x1f1)][_0x548b9c(0x2db)]=_0x31ad57({[_0x590357[_0x548b9c(0x1f5)]]:_0x5ece31['offer']()})),_0xfc2b9[_0x548b9c(0x265)]){for(const _0x2e0767 of _0xfc2b9){if(typeof _0x2e0767!=_0x548b9c(0x2f4)||!_0x13d4ca[_0x548b9c(0x2cf)](_0x2e0767)||_0x11bb7b[_0x548b9c(0x251)](_0x2e0767))throw new SyntaxError(_0x548b9c(0x1e0));_0x11bb7b[_0x548b9c(0x1c1)](_0x2e0767);}_0x1cacd9[_0x548b9c(0x1f1)][_0x548b9c(0x290)]=_0xfc2b9[_0x548b9c(0x2c0)](',');}if(_0x1cacd9[_0x548b9c(0x1fd)]&&(_0x1cacd9['protocolVersion']<0xd?_0x1cacd9[_0x548b9c(0x1f1)][_0x548b9c(0x2d9)]=_0x1cacd9[_0x548b9c(0x1fd)]:_0x1cacd9[_0x548b9c(0x1f1)][_0x548b9c(0x261)]=_0x1cacd9[_0x548b9c(0x1fd)]),(_0x3b4aac['username']||_0x3b4aac[_0x548b9c(0x229)])&&(_0x1cacd9['auth']=_0x3b4aac['username']+':'+_0x3b4aac['password']),_0x58a643){const _0x2927e8=_0x1cacd9['path'][_0x548b9c(0x220)](':');_0x1cacd9[_0x548b9c(0x1ea)]=_0x2927e8[0x0],_0x1cacd9[_0x548b9c(0x1bc)]=_0x2927e8[0x1];}let _0x5a5b4a;if(_0x1cacd9[_0x548b9c(0x1c3)]){if(_0x26c847[_0x548b9c(0x329)]===0x0){_0x26c847[_0x548b9c(0x279)]=_0x58a643,_0x26c847[_0x548b9c(0x258)]=_0x4feb5b,_0x26c847[_0x548b9c(0x1ed)]=_0x58a643?_0x1cacd9['socketPath']:_0x3b4aac[_0x548b9c(0x2ed)];const _0x3404c4=_0x5594ad&&_0x5594ad[_0x548b9c(0x1f1)];if(_0x5594ad={..._0x5594ad,'headers':{}},_0x3404c4){for(const [_0x15100f,_0x308845]of Object[_0x548b9c(0x24c)](_0x3404c4))_0x5594ad[_0x548b9c(0x1f1)][_0x15100f[_0x548b9c(0x20d)]()]=_0x308845;}}else{if(_0x26c847[_0x548b9c(0x336)](_0x548b9c(0x2b5))===0x0){const _0x4ed39d=_0x58a643?_0x26c847[_0x548b9c(0x279)]?_0x1cacd9[_0x548b9c(0x1ea)]===_0x26c847[_0x548b9c(0x1ed)]:!0x1:_0x26c847[_0x548b9c(0x279)]?!0x1:_0x3b4aac[_0x548b9c(0x2ed)]===_0x26c847[_0x548b9c(0x1ed)];(!_0x4ed39d||_0x26c847[_0x548b9c(0x258)]&&!_0x4feb5b)&&(delete _0x1cacd9['headers'][_0x548b9c(0x2b3)],delete _0x1cacd9[_0x548b9c(0x1f1)][_0x548b9c(0x2fb)],_0x4ed39d||delete _0x1cacd9[_0x548b9c(0x1f1)]['host'],_0x1cacd9[_0x548b9c(0x23e)]=void 0x0);}}_0x1cacd9['auth']&&!_0x5594ad[_0x548b9c(0x1f1)][_0x548b9c(0x2b3)]&&(_0x5594ad[_0x548b9c(0x1f1)][_0x548b9c(0x2b3)]=_0x548b9c(0x270)+Buffer[_0x548b9c(0x276)](_0x1cacd9['auth'])[_0x548b9c(0x32f)]('base64')),_0x5a5b4a=_0x26c847[_0x548b9c(0x266)]=_0x415a88(_0x1cacd9),_0x26c847[_0x548b9c(0x329)]&&_0x26c847[_0x548b9c(0x201)](_0x548b9c(0x2b5),_0x26c847[_0x548b9c(0x25b)],_0x5a5b4a);}else _0x5a5b4a=_0x26c847[_0x548b9c(0x266)]=_0x415a88(_0x1cacd9);_0x1cacd9[_0x548b9c(0x1b9)]&&_0x5a5b4a['on'](_0x548b9c(0x1b9),()=>{const _0x282cfe=_0x548b9c;_0x1559f9(_0x26c847,_0x5a5b4a,_0x282cfe(0x28f));}),_0x5a5b4a['on'](_0x548b9c(0x24a),_0x54c385=>{const _0x4672f0=_0x548b9c;_0x5a5b4a===null||_0x5a5b4a[_0xf93140]||(_0x5a5b4a=_0x26c847[_0x4672f0(0x266)]=null,_0x3c0d63(_0x26c847,_0x54c385));}),_0x5a5b4a['on'](_0x548b9c(0x1cf),_0x236aaa=>{const _0x50fae0=_0x548b9c,_0x4e12b1=_0x236aaa[_0x50fae0(0x1f1)][_0x50fae0(0x2ad)],_0x25be31=_0x236aaa[_0x50fae0(0x26a)];if(_0x4e12b1&&_0x1cacd9[_0x50fae0(0x1c3)]&&_0x25be31>=0x12c&&_0x25be31<0x190){if(++_0x26c847[_0x50fae0(0x329)]>_0x1cacd9[_0x50fae0(0x2d2)]){_0x1559f9(_0x26c847,_0x5a5b4a,_0x50fae0(0x1b7));return;}_0x5a5b4a[_0x50fae0(0x282)]();let _0x1ab45c;try{_0x1ab45c=new _0x3b0e0a(_0x4e12b1,_0x196d89);}catch{const _0x4285f0=new SyntaxError('Invalid\x20URL:\x20'+_0x4e12b1);_0x3c0d63(_0x26c847,_0x4285f0);return;}_0x8a5166(_0x26c847,_0x1ab45c,_0xfc2b9,_0x5594ad);}else _0x26c847[_0x50fae0(0x201)](_0x50fae0(0x1f7),_0x5a5b4a,_0x236aaa)||_0x1559f9(_0x26c847,_0x5a5b4a,_0x50fae0(0x246)+_0x236aaa[_0x50fae0(0x26a)]);}),_0x5a5b4a['on'](_0x548b9c(0x28d),(_0x432b06,_0x7ffa1a,_0x48079f)=>{const _0x3b6336=_0x548b9c;if(_0x26c847[_0x3b6336(0x201)](_0x3b6336(0x28d),_0x432b06),_0x26c847[_0x3b6336(0x316)]!==_0x23e1f4[_0x3b6336(0x306)])return;_0x5a5b4a=_0x26c847[_0x3b6336(0x266)]=null;const _0x4476eb=_0x432b06['headers'][_0x3b6336(0x28d)];if(_0x4476eb===void 0x0||_0x4476eb[_0x3b6336(0x20d)]()!=='websocket'){_0x1559f9(_0x26c847,_0x7ffa1a,_0x3b6336(0x2bf));return;}const _0x220438=_0x4b4dfb(_0x3b6336(0x2e8))[_0x3b6336(0x326)](_0x1badfc+_0x41f275)[_0x3b6336(0x250)]('base64');if(_0x432b06[_0x3b6336(0x1f1)][_0x3b6336(0x25e)]!==_0x220438){_0x1559f9(_0x26c847,_0x7ffa1a,_0x3b6336(0x1d2));return;}const _0x2076fb=_0x432b06[_0x3b6336(0x1f1)][_0x3b6336(0x20c)];let _0x1c9af7;if(_0x2076fb!==void 0x0?_0x11bb7b['size']?_0x11bb7b[_0x3b6336(0x251)](_0x2076fb)||(_0x1c9af7='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1c9af7=_0x3b6336(0x314):_0x11bb7b[_0x3b6336(0x24f)]&&(_0x1c9af7=_0x3b6336(0x25c)),_0x1c9af7){_0x1559f9(_0x26c847,_0x7ffa1a,_0x1c9af7);return;}_0x2076fb&&(_0x26c847['_protocol']=_0x2076fb);const _0x4dc834=_0x432b06[_0x3b6336(0x1f1)][_0x3b6336(0x243)];if(_0x4dc834!==void 0x0){if(!_0x5ece31){_0x1559f9(_0x26c847,_0x7ffa1a,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x49c3bf;try{_0x49c3bf=_0x3cb8b4(_0x4dc834);}catch{_0x1559f9(_0x26c847,_0x7ffa1a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xdca323=Object[_0x3b6336(0x2a3)](_0x49c3bf);if(_0xdca323[_0x3b6336(0x265)]!==0x1||_0xdca323[0x0]!==_0x590357['extensionName']){_0x1559f9(_0x26c847,_0x7ffa1a,_0x3b6336(0x319));return;}try{_0x5ece31[_0x3b6336(0x2bd)](_0x49c3bf[_0x590357['extensionName']]);}catch{_0x1559f9(_0x26c847,_0x7ffa1a,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x26c847['_extensions'][_0x590357[_0x3b6336(0x1f5)]]=_0x5ece31;}_0x26c847[_0x3b6336(0x224)](_0x7ffa1a,_0x48079f,{'allowSynchronousEvents':_0x1cacd9[_0x3b6336(0x233)],'generateMask':_0x1cacd9[_0x3b6336(0x2b9)],'maxPayload':_0x1cacd9[_0x3b6336(0x317)],'skipUTF8Validation':_0x1cacd9[_0x3b6336(0x300)]});}),_0x1cacd9[_0x548b9c(0x2c4)]?_0x1cacd9[_0x548b9c(0x2c4)](_0x5a5b4a,_0x26c847):_0x5a5b4a[_0x548b9c(0x211)]();}function _0x3c0d63(_0x50a574,_0x3eb37e){const _0x49485d=_0xe070f8;_0x50a574[_0x49485d(0x2df)]=_0x23e1f4[_0x49485d(0x1d8)],_0x50a574[_0x49485d(0x2b0)]=!0x0,_0x50a574['emit'](_0x49485d(0x24a),_0x3eb37e),_0x50a574[_0x49485d(0x2ea)]();}function _0x4e81ce(_0x34b6f9){const _0x4e3d29=_0xe070f8;return _0x34b6f9[_0x4e3d29(0x1bc)]=_0x34b6f9[_0x4e3d29(0x1ea)],_0xe5b98['connect'](_0x34b6f9);}function _0x2121c9(_0x3fe89d){const _0x5343cd=_0xe070f8;return _0x3fe89d[_0x5343cd(0x1bc)]=void 0x0,!_0x3fe89d[_0x5343cd(0x2a5)]&&_0x3fe89d[_0x5343cd(0x2a5)]!==''&&(_0x3fe89d['servername']=_0xe5b98[_0x5343cd(0x1dc)](_0x3fe89d[_0x5343cd(0x2ed)])?'':_0x3fe89d[_0x5343cd(0x2ed)]),_0x504b2a[_0x5343cd(0x218)](_0x3fe89d);}function _0x1559f9(_0x49a41f,_0xf84b36,_0x2e9ae5){const _0x5a5ece=_0xe070f8;_0x49a41f[_0x5a5ece(0x2df)]=_0x23e1f4[_0x5a5ece(0x1d8)];const _0x46a078=new Error(_0x2e9ae5);Error['captureStackTrace'](_0x46a078,_0x1559f9),_0xf84b36[_0x5a5ece(0x310)]?(_0xf84b36[_0xf93140]=!0x0,_0xf84b36[_0x5a5ece(0x282)](),_0xf84b36[_0x5a5ece(0x342)]&&!_0xf84b36['socket'][_0x5a5ece(0x343)]&&_0xf84b36[_0x5a5ece(0x342)][_0x5a5ece(0x1d3)](),process['nextTick'](_0x3c0d63,_0x49a41f,_0x46a078)):(_0xf84b36['destroy'](_0x46a078),_0xf84b36[_0x5a5ece(0x202)](_0x5a5ece(0x24a),_0x49a41f['emit'][_0x5a5ece(0x1da)](_0x49a41f,_0x5a5ece(0x24a))),_0xf84b36[_0x5a5ece(0x202)](_0x5a5ece(0x271),_0x49a41f[_0x5a5ece(0x2ea)][_0x5a5ece(0x1da)](_0x49a41f)));}function _0x13f564(_0x3eba70,_0x4fcd8f,_0x350a1b){const _0x4f5eb2=_0xe070f8;if(_0x4fcd8f){const _0x8f8332=_0x30b7d3(_0x4fcd8f)?_0x4fcd8f['size']:_0x2463bd(_0x4fcd8f)[_0x4f5eb2(0x265)];_0x3eba70[_0x4f5eb2(0x2d3)]?_0x3eba70[_0x4f5eb2(0x23b)][_0x4f5eb2(0x30c)]+=_0x8f8332:_0x3eba70['_bufferedAmount']+=_0x8f8332;}if(_0x350a1b){const _0x18e177=new Error(_0x4f5eb2(0x348)+_0x3eba70[_0x4f5eb2(0x316)]+'\x20('+_0x467f2c[_0x3eba70['readyState']]+')');process[_0x4f5eb2(0x27c)](_0x350a1b,_0x18e177);}}function _0x36f163(_0x350620,_0x1974b9){const _0x2474ed=_0xe070f8,_0x476258=this[_0x4a240f];_0x476258[_0x2474ed(0x274)]=!0x0,_0x476258[_0x2474ed(0x2e1)]=_0x1974b9,_0x476258[_0x2474ed(0x1ba)]=_0x350620,_0x476258['_socket'][_0x4a240f]!==void 0x0&&(_0x476258['_socket'][_0x2474ed(0x333)](_0x2474ed(0x2cc),_0x34e35b),process[_0x2474ed(0x27c)](_0x19ee18,_0x476258[_0x2474ed(0x2d3)]),_0x350620===0x3ed?_0x476258[_0x2474ed(0x271)]():_0x476258[_0x2474ed(0x271)](_0x350620,_0x1974b9));}function _0x4951f9(){const _0x47e07b=_0xe070f8,_0x3e3d63=this[_0x4a240f];_0x3e3d63[_0x47e07b(0x247)]||_0x3e3d63[_0x47e07b(0x2d3)]['resume']();}function _0x76f621(_0x397470){const _0x4e5a0c=_0xe070f8,_0x17a8c4=this[_0x4a240f];_0x17a8c4['_socket'][_0x4a240f]!==void 0x0&&(_0x17a8c4['_socket'][_0x4e5a0c(0x333)]('data',_0x34e35b),process['nextTick'](_0x19ee18,_0x17a8c4['_socket']),_0x17a8c4[_0x4e5a0c(0x271)](_0x397470[_0xd1330b])),_0x17a8c4[_0x4e5a0c(0x2b0)]||(_0x17a8c4['_errorEmitted']=!0x0,_0x17a8c4['emit']('error',_0x397470));}function _0xbadf76(){this[_0x4a240f]['emitClose']();}function _0x37fb69(_0x520272,_0x2341f1){const _0x4f3f03=_0xe070f8;this[_0x4a240f][_0x4f3f03(0x201)](_0x4f3f03(0x22f),_0x520272,_0x2341f1);}function _0x55bccb(_0x154439){const _0xc741b7=_0xe070f8,_0x235317=this[_0x4a240f];_0x235317[_0xc741b7(0x31d)]&&_0x235317[_0xc741b7(0x21f)](_0x154439,!this[_0xc741b7(0x215)],_0x17260e),_0x235317[_0xc741b7(0x201)](_0xc741b7(0x25d),_0x154439);}function _0x324cec(_0x555970){const _0x321b7a=_0xe070f8;this[_0x4a240f][_0x321b7a(0x201)](_0x321b7a(0x21f),_0x555970);}function _0x19ee18(_0x1b0d2f){const _0x2cda00=_0xe070f8;_0x1b0d2f[_0x2cda00(0x2dd)]();}function _0x505c5a(_0x390906){const _0x15e9cf=_0xe070f8,_0x27f053=this[_0x4a240f];_0x27f053[_0x15e9cf(0x316)]!==_0x23e1f4[_0x15e9cf(0x232)]&&(_0x27f053[_0x15e9cf(0x316)]===_0x23e1f4[_0x15e9cf(0x1cb)]&&(_0x27f053['_readyState']=_0x23e1f4[_0x15e9cf(0x1d8)],_0x452099(_0x27f053)),this[_0x15e9cf(0x2d3)]['end'](),_0x27f053[_0x15e9cf(0x2b0)]||(_0x27f053['_errorEmitted']=!0x0,_0x27f053['emit'](_0x15e9cf(0x24a),_0x390906)));}function _0x452099(_0xf1d32f){const _0x1c7971=_0xe070f8;_0xf1d32f['_closeTimer']=setTimeout(_0xf1d32f[_0x1c7971(0x2d3)][_0x1c7971(0x1d3)][_0x1c7971(0x1da)](_0xf1d32f['_socket']),_0x578efe);}function _0x4f96cb(){const _0x1cd5ec=_0xe070f8,_0x107d61=this[_0x4a240f];this[_0x1cd5ec(0x333)](_0x1cd5ec(0x271),_0x4f96cb),this[_0x1cd5ec(0x333)](_0x1cd5ec(0x2cc),_0x34e35b),this[_0x1cd5ec(0x333)](_0x1cd5ec(0x211),_0x233689),_0x107d61[_0x1cd5ec(0x2df)]=_0x23e1f4[_0x1cd5ec(0x1d8)];let _0x241aea;!this[_0x1cd5ec(0x33c)][_0x1cd5ec(0x20b)]&&!_0x107d61[_0x1cd5ec(0x274)]&&!_0x107d61[_0x1cd5ec(0x256)][_0x1cd5ec(0x1fc)][_0x1cd5ec(0x2e7)]&&(_0x241aea=_0x107d61[_0x1cd5ec(0x2d3)][_0x1cd5ec(0x354)]())!==null&&_0x107d61['_receiver'][_0x1cd5ec(0x1a6)](_0x241aea),_0x107d61[_0x1cd5ec(0x256)][_0x1cd5ec(0x211)](),this[_0x4a240f]=void 0x0,clearTimeout(_0x107d61[_0x1cd5ec(0x26b)]),_0x107d61[_0x1cd5ec(0x256)][_0x1cd5ec(0x1fc)][_0x1cd5ec(0x285)]||_0x107d61[_0x1cd5ec(0x256)][_0x1cd5ec(0x1fc)][_0x1cd5ec(0x2e7)]?_0x107d61[_0x1cd5ec(0x2ea)]():(_0x107d61[_0x1cd5ec(0x256)]['on'](_0x1cd5ec(0x24a),_0xbadf76),_0x107d61[_0x1cd5ec(0x256)]['on'](_0x1cd5ec(0x31a),_0xbadf76));}function _0x34e35b(_0x19549d){const _0x3a8219=_0xe070f8;this[_0x4a240f]['_receiver'][_0x3a8219(0x1a6)](_0x19549d)||this['pause']();}function _0x233689(){const _0x5dd34d=_0xe070f8,_0x9e7fdf=this[_0x4a240f];_0x9e7fdf[_0x5dd34d(0x2df)]=_0x23e1f4['CLOSING'],_0x9e7fdf[_0x5dd34d(0x256)][_0x5dd34d(0x211)](),this['end']();}function _0x258ed5(){const _0x21b3bf=_0xe070f8,_0x2605b0=this[_0x4a240f];this[_0x21b3bf(0x333)](_0x21b3bf(0x24a),_0x258ed5),this['on'](_0x21b3bf(0x24a),_0x17260e),_0x2605b0&&(_0x2605b0[_0x21b3bf(0x2df)]=_0x23e1f4[_0x21b3bf(0x1d8)],this[_0x21b3bf(0x1d3)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x131fd4}=_0x169f08;function _0x25468d(_0xcff035){const _0x369ef3=_0x1b98;_0xcff035[_0x369ef3(0x201)]('close');}function _0x20aea9(){const _0x5921df=_0x1b98;!this[_0x5921df(0x343)]&&this['_writableState'][_0x5921df(0x285)]&&this[_0x5921df(0x1d3)]();}function _0x119115(_0xded4ec){const _0x397ba9=_0x1b98;this['removeListener'](_0x397ba9(0x24a),_0x119115),this[_0x397ba9(0x1d3)](),this[_0x397ba9(0x336)](_0x397ba9(0x24a))===0x0&&this[_0x397ba9(0x201)]('error',_0xded4ec);}function _0x15aa67(_0x1053d2,_0x593ef5){const _0xae2010=_0x1b98;let _0x26e770=!0x0;const _0x164684=new _0x131fd4({..._0x593ef5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1053d2['on'](_0xae2010(0x22f),function(_0x761c90,_0x2181ca){const _0x25affa=_0xae2010,_0x584815=!_0x2181ca&&_0x164684[_0x25affa(0x33c)][_0x25affa(0x312)]?_0x761c90['toString']():_0x761c90;_0x164684[_0x25affa(0x204)](_0x584815)||_0x1053d2['pause']();}),_0x1053d2['once'](_0xae2010(0x24a),function(_0x4a7f6b){const _0x36613e=_0xae2010;_0x164684[_0x36613e(0x343)]||(_0x26e770=!0x1,_0x164684[_0x36613e(0x1d3)](_0x4a7f6b));}),_0x1053d2[_0xae2010(0x202)]('close',function(){const _0x28cd23=_0xae2010;_0x164684['destroyed']||_0x164684[_0x28cd23(0x204)](null);}),_0x164684[_0xae2010(0x22a)]=function(_0x1a8247,_0x165a12){const _0x315f12=_0xae2010;if(_0x1053d2[_0x315f12(0x316)]===_0x1053d2[_0x315f12(0x232)]){_0x165a12(_0x1a8247),process['nextTick'](_0x25468d,_0x164684);return;}let _0x50c089=!0x1;_0x1053d2[_0x315f12(0x202)](_0x315f12(0x24a),function(_0x10a1d0){_0x50c089=!0x0,_0x165a12(_0x10a1d0);}),_0x1053d2[_0x315f12(0x202)](_0x315f12(0x271),function(){_0x50c089||_0x165a12(_0x1a8247),process['nextTick'](_0x25468d,_0x164684);}),_0x26e770&&_0x1053d2[_0x315f12(0x1e1)]();},_0x164684['_final']=function(_0x496aa2){const _0x27dbc7=_0xae2010;if(_0x1053d2[_0x27dbc7(0x316)]===_0x1053d2['CONNECTING']){_0x1053d2['once'](_0x27dbc7(0x23c),function(){_0x164684['_final'](_0x496aa2);});return;}_0x1053d2[_0x27dbc7(0x2d3)]!==null&&(_0x1053d2[_0x27dbc7(0x2d3)]['_writableState']['finished']?(_0x496aa2(),_0x164684[_0x27dbc7(0x33c)][_0x27dbc7(0x20b)]&&_0x164684['destroy']()):(_0x1053d2[_0x27dbc7(0x2d3)][_0x27dbc7(0x202)](_0x27dbc7(0x31a),function(){_0x496aa2();}),_0x1053d2[_0x27dbc7(0x271)]()));},_0x164684[_0xae2010(0x2c9)]=function(){const _0x4f7d94=_0xae2010;_0x1053d2[_0x4f7d94(0x247)]&&_0x1053d2[_0x4f7d94(0x2dd)]();},_0x164684['_write']=function(_0xfa14fe,_0x4c7e99,_0x5ae61f){const _0x59d3e6=_0xae2010;if(_0x1053d2[_0x59d3e6(0x316)]===_0x1053d2[_0x59d3e6(0x306)]){_0x1053d2[_0x59d3e6(0x202)](_0x59d3e6(0x23c),function(){const _0x20c39b=_0x59d3e6;_0x164684[_0x20c39b(0x255)](_0xfa14fe,_0x4c7e99,_0x5ae61f);});return;}_0x1053d2[_0x59d3e6(0x26c)](_0xfa14fe,_0x5ae61f);},_0x164684['on']('end',_0x20aea9),_0x164684['on'](_0xae2010(0x24a),_0x119115),_0x164684;}return Oe=_0x15aa67,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x52b4b0}=ne();function _0xab3f42(_0xf911e7){const _0x41014a=_0x1b98,_0x1f0170=new Set();let _0xaf0060=-0x1,_0x144339=-0x1,_0x5374d1=0x0;for(_0x5374d1;_0x5374d1<_0xf911e7[_0x41014a(0x265)];_0x5374d1++){const _0x5156cc=_0xf911e7[_0x41014a(0x2e0)](_0x5374d1);if(_0x144339===-0x1&&_0x52b4b0[_0x5156cc]===0x1)_0xaf0060===-0x1&&(_0xaf0060=_0x5374d1);else{if(_0x5374d1!==0x0&&(_0x5156cc===0x20||_0x5156cc===0x9))_0x144339===-0x1&&_0xaf0060!==-0x1&&(_0x144339=_0x5374d1);else{if(_0x5156cc===0x2c){if(_0xaf0060===-0x1)throw new SyntaxError(_0x41014a(0x29a)+_0x5374d1);_0x144339===-0x1&&(_0x144339=_0x5374d1);const _0x289e84=_0xf911e7[_0x41014a(0x311)](_0xaf0060,_0x144339);if(_0x1f0170[_0x41014a(0x251)](_0x289e84))throw new SyntaxError(_0x41014a(0x2cd)+_0x289e84+'\x22\x20subprotocol\x20is\x20duplicated');_0x1f0170[_0x41014a(0x1c1)](_0x289e84),_0xaf0060=_0x144339=-0x1;}else throw new SyntaxError(_0x41014a(0x29a)+_0x5374d1);}}}if(_0xaf0060===-0x1||_0x144339!==-0x1)throw new SyntaxError(_0x41014a(0x1b4));const _0x2a2cc2=_0xf911e7[_0x41014a(0x311)](_0xaf0060,_0x5374d1);if(_0x1f0170[_0x41014a(0x251)](_0x2a2cc2))throw new SyntaxError(_0x41014a(0x2cd)+_0x2a2cc2+_0x41014a(0x1d1));return _0x1f0170[_0x41014a(0x1c1)](_0x2a2cc2),_0x1f0170;}return Ce={'parse':_0xab3f42},Ce;}var Te,ot;function er(){const _0x541706=_0x363399;if(ot)return Te;ot=0x1;const _0xb1e919=_0x1a0dc7,_0x572a42=_0x35e405,{Duplex:_0x4e5090}=_0x169f08,{createHash:_0x22cdff}=_0x168862,_0x57d8e2=pt(),_0x225218=he(),_0x1b2486=Jt(),_0x3ace12=Ie(),{GUID:_0x28431b,kWebSocket:_0x1e065f}=V(),_0x68f786=/^[+/0-9A-Za-z]{22}==$/,_0x44ed54=0x0,_0x25b756=0x1,_0x43ffd8=0x2;class _0x5d0b46 extends _0xb1e919{constructor(_0x5c5b08,_0x456619){const _0x152830=_0x1b98;if(super(),_0x5c5b08={'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':_0x3ace12,..._0x5c5b08},_0x5c5b08['port']==null&&!_0x5c5b08[_0x152830(0x2f1)]&&!_0x5c5b08[_0x152830(0x2e9)]||_0x5c5b08['port']!=null&&(_0x5c5b08[_0x152830(0x2f1)]||_0x5c5b08[_0x152830(0x2e9)])||_0x5c5b08[_0x152830(0x2f1)]&&_0x5c5b08[_0x152830(0x2e9)])throw new TypeError(_0x152830(0x2bb));if(_0x5c5b08['port']!=null?(this[_0x152830(0x1e7)]=_0x572a42['createServer']((_0x1cd070,_0x354edb)=>{const _0x294b10=_0x152830,_0x38cc9d=_0x572a42[_0x294b10(0x305)][0x1aa];_0x354edb[_0x294b10(0x1f6)](0x1aa,{'Content-Length':_0x38cc9d['length'],'Content-Type':_0x294b10(0x2eb)}),_0x354edb[_0x294b10(0x211)](_0x38cc9d);}),this['_server'][_0x152830(0x2f9)](_0x5c5b08[_0x152830(0x297)],_0x5c5b08[_0x152830(0x2ed)],_0x5c5b08[_0x152830(0x301)],_0x456619)):_0x5c5b08[_0x152830(0x2f1)]&&(this[_0x152830(0x1e7)]=_0x5c5b08[_0x152830(0x2f1)]),this[_0x152830(0x1e7)]){const _0x2e2551=this['emit'][_0x152830(0x1da)](this,_0x152830(0x29c));this['_removeListeners']=_0x3d3ea2(this[_0x152830(0x1e7)],{'listening':this[_0x152830(0x201)]['bind'](this,_0x152830(0x2d4)),'error':this[_0x152830(0x201)]['bind'](this,_0x152830(0x24a)),'upgrade':(_0x44ce15,_0x3fef80,_0x1a0cb9)=>{this['handleUpgrade'](_0x44ce15,_0x3fef80,_0x1a0cb9,_0x2e2551);}});}_0x5c5b08[_0x152830(0x27e)]===!0x0&&(_0x5c5b08[_0x152830(0x27e)]={}),_0x5c5b08[_0x152830(0x240)]&&(this['clients']=new Set(),this[_0x152830(0x34b)]=!0x1),this['options']=_0x5c5b08,this[_0x152830(0x2bc)]=_0x44ed54;}[_0x541706(0x212)](){const _0x5ca691=_0x541706;if(this[_0x5ca691(0x1c4)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x5ca691(0x1e7)]?this['_server'][_0x5ca691(0x212)]():null;}[_0x541706(0x271)](_0x2201ce){const _0x2033fd=_0x541706;if(this[_0x2033fd(0x2bc)]===_0x43ffd8){_0x2201ce&&this[_0x2033fd(0x202)]('close',()=>{const _0x50ba17=_0x2033fd;_0x2201ce(new Error(_0x50ba17(0x34d)));}),process[_0x2033fd(0x27c)](_0x459025,this);return;}if(_0x2201ce&&this[_0x2033fd(0x202)](_0x2033fd(0x271),_0x2201ce),this['_state']!==_0x25b756){if(this[_0x2033fd(0x2bc)]=_0x25b756,this[_0x2033fd(0x1c4)]['noServer']||this[_0x2033fd(0x1c4)][_0x2033fd(0x2f1)])this[_0x2033fd(0x1e7)]&&(this['_removeListeners'](),this[_0x2033fd(0x1ef)]=this['_server']=null),this[_0x2033fd(0x23a)]?this[_0x2033fd(0x23a)][_0x2033fd(0x24f)]?this[_0x2033fd(0x34b)]=!0x0:process[_0x2033fd(0x27c)](_0x459025,this):process[_0x2033fd(0x27c)](_0x459025,this);else{const _0x37c722=this[_0x2033fd(0x1e7)];this[_0x2033fd(0x1ef)](),this['_removeListeners']=this[_0x2033fd(0x1e7)]=null,_0x37c722[_0x2033fd(0x271)](()=>{_0x459025(this);});}}}[_0x541706(0x20f)](_0x30766f){const _0x24756f=_0x541706;if(this[_0x24756f(0x1c4)]['path']){const _0x1cdf1e=_0x30766f[_0x24756f(0x25b)]['indexOf']('?');if((_0x1cdf1e!==-0x1?_0x30766f[_0x24756f(0x25b)][_0x24756f(0x311)](0x0,_0x1cdf1e):_0x30766f[_0x24756f(0x25b)])!==this[_0x24756f(0x1c4)][_0x24756f(0x1bc)])return!0x1;}return!0x0;}[_0x541706(0x293)](_0x368359,_0x3a3d3a,_0x2f30c1,_0x4db40d){const _0x12f716=_0x541706;_0x3a3d3a['on'](_0x12f716(0x24a),_0x10b7d6);const _0x1e563e=_0x368359[_0x12f716(0x1f1)][_0x12f716(0x27f)],_0x5e9a18=_0x368359[_0x12f716(0x1f1)][_0x12f716(0x28d)],_0x5208d3=+_0x368359[_0x12f716(0x1f1)][_0x12f716(0x210)];if(_0x368359['method']!=='GET'){_0x39df52(this,_0x368359,_0x3a3d3a,0x195,_0x12f716(0x264));return;}if(_0x5e9a18===void 0x0||_0x5e9a18['toLowerCase']()!=='websocket'){_0x39df52(this,_0x368359,_0x3a3d3a,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x1e563e===void 0x0||!_0x68f786[_0x12f716(0x2cf)](_0x1e563e)){_0x39df52(this,_0x368359,_0x3a3d3a,0x190,_0x12f716(0x1c7));return;}if(_0x5208d3!==0x8&&_0x5208d3!==0xd){_0x39df52(this,_0x368359,_0x3a3d3a,0x190,_0x12f716(0x2ba));return;}if(!this['shouldHandle'](_0x368359)){_0x30680b(_0x3a3d3a,0x190);return;}const _0x299d68=_0x368359[_0x12f716(0x1f1)][_0x12f716(0x20c)];let _0x26f59c=new Set();if(_0x299d68!==void 0x0)try{_0x26f59c=_0x1b2486[_0x12f716(0x309)](_0x299d68);}catch{_0x39df52(this,_0x368359,_0x3a3d3a,0x190,_0x12f716(0x1dd));return;}const _0x3a944c=_0x368359['headers'][_0x12f716(0x243)],_0x3cd85d={};if(this[_0x12f716(0x1c4)][_0x12f716(0x27e)]&&_0x3a944c!==void 0x0){const _0x528b5c=new _0x225218(this[_0x12f716(0x1c4)]['perMessageDeflate'],!0x0,this[_0x12f716(0x1c4)][_0x12f716(0x317)]);try{const _0x3238e8=_0x57d8e2[_0x12f716(0x309)](_0x3a944c);_0x3238e8[_0x225218[_0x12f716(0x1f5)]]&&(_0x528b5c[_0x12f716(0x2bd)](_0x3238e8[_0x225218[_0x12f716(0x1f5)]]),_0x3cd85d[_0x225218['extensionName']]=_0x528b5c);}catch{_0x39df52(this,_0x368359,_0x3a3d3a,0x190,_0x12f716(0x2ff));return;}}if(this['options'][_0x12f716(0x30f)]){const _0x40893d={'origin':_0x368359[_0x12f716(0x1f1)][''+(_0x5208d3===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x368359[_0x12f716(0x342)]['authorized']||_0x368359[_0x12f716(0x342)]['encrypted']),'req':_0x368359};if(this[_0x12f716(0x1c4)][_0x12f716(0x30f)]['length']===0x2){this[_0x12f716(0x1c4)][_0x12f716(0x30f)](_0x40893d,(_0xd3bd83,_0x2ca3f4,_0xc57575,_0x1b87c3)=>{const _0xa2a414=_0x12f716;if(!_0xd3bd83)return _0x30680b(_0x3a3d3a,_0x2ca3f4||0x191,_0xc57575,_0x1b87c3);this[_0xa2a414(0x222)](_0x3cd85d,_0x1e563e,_0x26f59c,_0x368359,_0x3a3d3a,_0x2f30c1,_0x4db40d);});return;}if(!this[_0x12f716(0x1c4)][_0x12f716(0x30f)](_0x40893d))return _0x30680b(_0x3a3d3a,0x191);}this['completeUpgrade'](_0x3cd85d,_0x1e563e,_0x26f59c,_0x368359,_0x3a3d3a,_0x2f30c1,_0x4db40d);}[_0x541706(0x222)](_0x598caa,_0x7fa159,_0x1680d4,_0x126412,_0x4b3a08,_0x1518e0,_0x419285){const _0x3ffee7=_0x541706;if(!_0x4b3a08[_0x3ffee7(0x2d8)]||!_0x4b3a08['writable'])return _0x4b3a08[_0x3ffee7(0x1d3)]();if(_0x4b3a08[_0x1e065f])throw new Error(_0x3ffee7(0x2f5));if(this[_0x3ffee7(0x2bc)]>_0x44ed54)return _0x30680b(_0x4b3a08,0x1f7);const _0x1ec70a=[_0x3ffee7(0x2ac),_0x3ffee7(0x2fc),'Connection:\x20Upgrade',_0x3ffee7(0x1cc)+_0x22cdff(_0x3ffee7(0x2e8))[_0x3ffee7(0x326)](_0x7fa159+_0x28431b)[_0x3ffee7(0x250)](_0x3ffee7(0x1c8))],_0x28a7cc=new this['options'][(_0x3ffee7(0x1c0))](null,void 0x0,this['options']);if(_0x1680d4[_0x3ffee7(0x24f)]){const _0x1ba671=this[_0x3ffee7(0x1c4)][_0x3ffee7(0x1f4)]?this[_0x3ffee7(0x1c4)]['handleProtocols'](_0x1680d4,_0x126412):_0x1680d4[_0x3ffee7(0x28e)]()[_0x3ffee7(0x1ce)]()['value'];_0x1ba671&&(_0x1ec70a['push'](_0x3ffee7(0x259)+_0x1ba671),_0x28a7cc['_protocol']=_0x1ba671);}if(_0x598caa[_0x225218[_0x3ffee7(0x1f5)]]){const _0x2aadcd=_0x598caa[_0x225218[_0x3ffee7(0x1f5)]]['params'],_0x24ccd4=_0x57d8e2['format']({[_0x225218[_0x3ffee7(0x1f5)]]:[_0x2aadcd]});_0x1ec70a[_0x3ffee7(0x204)](_0x3ffee7(0x1b6)+_0x24ccd4),_0x28a7cc['_extensions']=_0x598caa;}this['emit'](_0x3ffee7(0x1f1),_0x1ec70a,_0x126412),_0x4b3a08[_0x3ffee7(0x1a6)](_0x1ec70a['concat']('\x0d\x0a')[_0x3ffee7(0x2c0)]('\x0d\x0a')),_0x4b3a08[_0x3ffee7(0x333)](_0x3ffee7(0x24a),_0x10b7d6),_0x28a7cc[_0x3ffee7(0x224)](_0x4b3a08,_0x1518e0,{'allowSynchronousEvents':this[_0x3ffee7(0x1c4)][_0x3ffee7(0x233)],'maxPayload':this['options'][_0x3ffee7(0x317)],'skipUTF8Validation':this['options'][_0x3ffee7(0x300)]}),this[_0x3ffee7(0x23a)]&&(this[_0x3ffee7(0x23a)][_0x3ffee7(0x1c1)](_0x28a7cc),_0x28a7cc['on'](_0x3ffee7(0x271),()=>{const _0x468338=_0x3ffee7;this[_0x468338(0x23a)][_0x468338(0x304)](_0x28a7cc),this['_shouldEmitClose']&&!this[_0x468338(0x23a)]['size']&&process[_0x468338(0x27c)](_0x459025,this);})),_0x419285(_0x28a7cc,_0x126412);}}Te=_0x5d0b46;function _0x3d3ea2(_0x2a5ffd,_0x3172d6){const _0x9ff5c3=_0x541706;for(const _0x309b43 of Object[_0x9ff5c3(0x2a3)](_0x3172d6))_0x2a5ffd['on'](_0x309b43,_0x3172d6[_0x309b43]);return function(){const _0x51c11b=_0x9ff5c3;for(const _0x7c8d57 of Object[_0x51c11b(0x2a3)](_0x3172d6))_0x2a5ffd[_0x51c11b(0x333)](_0x7c8d57,_0x3172d6[_0x7c8d57]);};}function _0x459025(_0x332548){const _0x281e35=_0x541706;_0x332548['_state']=_0x43ffd8,_0x332548[_0x281e35(0x201)](_0x281e35(0x271));}function _0x10b7d6(){const _0x23c21d=_0x541706;this[_0x23c21d(0x1d3)]();}function _0x30680b(_0x42e3e9,_0x31c72c,_0x165ab4,_0x15ce7b){const _0x82af61=_0x541706;_0x165ab4=_0x165ab4||_0x572a42[_0x82af61(0x305)][_0x31c72c],_0x15ce7b={'Connection':_0x82af61(0x271),'Content-Type':_0x82af61(0x347),'Content-Length':Buffer['byteLength'](_0x165ab4),..._0x15ce7b},_0x42e3e9[_0x82af61(0x202)](_0x82af61(0x31a),_0x42e3e9[_0x82af61(0x1d3)]),_0x42e3e9[_0x82af61(0x211)](_0x82af61(0x263)+_0x31c72c+'\x20'+_0x572a42[_0x82af61(0x305)][_0x31c72c]+'\x0d\x0a'+Object[_0x82af61(0x2a3)](_0x15ce7b)[_0x82af61(0x2e2)](_0x33dab1=>_0x33dab1+':\x20'+_0x15ce7b[_0x33dab1])[_0x82af61(0x2c0)]('\x0d\x0a')+_0x82af61(0x1b8)+_0x165ab4);}function _0x39df52(_0x3f71cf,_0x29a3a8,_0x504038,_0x196122,_0x155203){const _0xf318a5=_0x541706;if(_0x3f71cf[_0xf318a5(0x336)](_0xf318a5(0x2c6))){const _0x1ea1d5=new Error(_0x155203);Error[_0xf318a5(0x298)](_0x1ea1d5,_0x39df52),_0x3f71cf[_0xf318a5(0x201)](_0xf318a5(0x2c6),_0x1ea1d5,_0x504038,_0x29a3a8);}else _0x30680b(_0x504038,_0x196122,_0x155203);}return Te;}er();var tr=Object[_0x363399(0x352)],rr=(_0x11e5df,_0x5c8d02,_0x53b7e1,_0xdeb102)=>{const _0x4740f7=_0x363399;for(var _0x25abc7=_0xdeb102>0x1?void 0x0:_0xdeb102?tr(_0x5c8d02,_0x53b7e1):_0x5c8d02,_0x1fa4d4=_0x11e5df[_0x4740f7(0x265)]-0x1,_0x3fde4f;_0x1fa4d4>=0x0;_0x1fa4d4--)(_0x3fde4f=_0x11e5df[_0x1fa4d4])&&(_0x25abc7=_0x3fde4f(_0x25abc7)||_0x25abc7);return _0x25abc7;},sr=(_0x1e0107,_0x1a556e)=>(_0x3f7c74,_0x37177f)=>_0x1a556e(_0x3f7c74,_0x37177f,_0x1e0107);let Ne=class extends _0x15ab8c{constructor(_0x24ebde){super(),this['_configService']=_0x24ebde;}[_0x363399(0x32b)](_0x3f1b1d){const _0x49056a=_0x363399;var _0x3d6501;const _0x3f4970=(_0x3d6501=this[_0x49056a(0x231)][_0x49056a(0x2da)](Be))==null?void 0x0:_0x3d6501[_0x49056a(0x2a4)];try{const _0x28f22f=new Qt(_0x3f1b1d,{'headers':{..._0x3f4970}}),_0x30478e=new _0x493a48();return{'URL':_0x3f1b1d,'close':(_0x26038f,_0x2ca140)=>{const _0x2b3b17=_0x49056a;_0x28f22f[_0x2b3b17(0x271)](_0x26038f,_0x2ca140),_0x30478e[_0x2b3b17(0x2be)]();},'send':_0x571d15=>{const _0x5a661a=_0x49056a;_0x28f22f[_0x5a661a(0x26c)](_0x571d15);},'open$':new _0xd7a4ad(_0x3cd7d7=>{const _0x2834fa=_0x49056a,_0x1e8b1f=_0x550084=>_0x3cd7d7['next'](_0x550084);_0x28f22f[_0x2834fa(0x227)](_0x2834fa(0x23c),_0x1e8b1f),_0x30478e['add'](_0x205ae4(()=>_0x28f22f[_0x2834fa(0x1f3)](_0x2834fa(0x23c),_0x1e8b1f)));})[_0x49056a(0x296)](_0x2bc1a6()),'close$':new _0xd7a4ad(_0x45b157=>{const _0x5610d4=_0x49056a,_0x53207e=_0x359ad7=>_0x45b157[_0x5610d4(0x1ce)](_0x359ad7);_0x28f22f[_0x5610d4(0x227)](_0x5610d4(0x271),_0x53207e),_0x30478e[_0x5610d4(0x1c1)](_0x205ae4(()=>_0x28f22f[_0x5610d4(0x1f3)](_0x5610d4(0x271),_0x53207e)));})[_0x49056a(0x296)](_0x2bc1a6()),'error$':new _0xd7a4ad(_0x1b9811=>{const _0x8956ef=_0x49056a,_0x2e0bb5=_0xc1b75e=>_0x1b9811[_0x8956ef(0x1ce)](_0xc1b75e);_0x28f22f[_0x8956ef(0x227)](_0x8956ef(0x24a),_0x2e0bb5),_0x30478e[_0x8956ef(0x1c1)](_0x205ae4(()=>_0x28f22f[_0x8956ef(0x1f3)](_0x8956ef(0x24a),_0x2e0bb5)));})[_0x49056a(0x296)](_0x2bc1a6()),'message$':new _0xd7a4ad(_0x4da8d6=>{const _0x4c3cd0=_0x49056a,_0x2ab1fb=_0x23643e=>_0x4da8d6[_0x4c3cd0(0x1ce)](_0x23643e);_0x28f22f[_0x4c3cd0(0x227)]('message',_0x2ab1fb),_0x30478e[_0x4c3cd0(0x1c1)](_0x205ae4(()=>_0x28f22f[_0x4c3cd0(0x1f3)](_0x4c3cd0(0x22f),_0x2ab1fb)));})['pipe'](_0x2bc1a6())};}catch(_0x58636f){return console[_0x49056a(0x24a)](_0x58636f),null;}}};Ne=rr([sr(0x0,_0x46f6d1)],Ne);var ir=Object['defineProperty'],nr=Object[_0x363399(0x352)],or=(_0x323c1d,_0x476d7e,_0x446f44)=>_0x476d7e in _0x323c1d?ir(_0x323c1d,_0x476d7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x446f44}):_0x323c1d[_0x476d7e]=_0x446f44,ar=(_0x3b384f,_0x1bbabf,_0x5570c8,_0x810a4e)=>{const _0x349f90=_0x363399;for(var _0x86f516=_0x810a4e>0x1?void 0x0:_0x810a4e?nr(_0x1bbabf,_0x5570c8):_0x1bbabf,_0x157072=_0x3b384f[_0x349f90(0x265)]-0x1,_0xd4d1db;_0x157072>=0x0;_0x157072--)(_0xd4d1db=_0x3b384f[_0x157072])&&(_0x86f516=_0xd4d1db(_0x86f516)||_0x86f516);return _0x86f516;},ke=(_0xd4f088,_0x167505)=>(_0x407232,_0x22162d)=>_0x167505(_0x407232,_0x22162d,_0xd4f088),lr=(_0x1e5f34,_0x2cd9e3,_0x3df25d)=>or(_0x1e5f34,_0x2cd9e3+'',_0x3df25d);let Pe=class extends _0x89fbf{constructor(_0x268e21=Ft,_0x31bbde,_0x39a7d6,_0x4c5a72){const _0x25b01d=_0x363399;_0x268e21[_0x25b01d(0x2a4)]||_0x31bbde[_0x25b01d(0x2b4)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x25b01d(0x231)]=_0x39a7d6,this[_0x25b01d(0x245)]=_0x4c5a72,this[_0x25b01d(0x231)][_0x25b01d(0x268)](Be,_0x268e21);}[_0x363399(0x235)](){const _0x17f41b=_0x363399;this[_0x17f41b(0x322)]();}[_0x363399(0x322)](){_0x10e29e(this['_injector'],[[_0x242fa3,{'useClass':Ne}]]);}};lr(Pe,_0x363399(0x26d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2758eb(_0x1b45c9),ke(0x1,_0x144612),ke(0x2,_0x46f6d1),ke(0x3,_0x3fb2e9(_0x56b19d))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x33e0e7,_0x23ecc5,_0x434648,_0x205819)=>{for(var _0x170c9d=_0x205819>0x1?void 0x0:_0x205819?fr(_0x23ecc5,_0x434648):_0x23ecc5,_0x37a481=_0x33e0e7['length']-0x1,_0x32aece;_0x37a481>=0x0;_0x37a481--)(_0x32aece=_0x33e0e7[_0x37a481])&&(_0x170c9d=_0x32aece(_0x170c9d)||_0x170c9d);return _0x170c9d;},se=(_0x5a1381,_0x504c76)=>(_0x3e9648,_0x29e3e4)=>_0x504c76(_0x3e9648,_0x29e3e4,_0x5a1381);let at=class extends _0x53d167{constructor(_0x367fe7,_0x357ea7,_0x284da5,_0x39c61b,_0x2acf68){const _0x5de98f=_0x363399;super(_0x367fe7,_0x357ea7,_0x284da5,_0x39c61b,_0x2acf68);const _0x3766e1=this['_configService'][_0x5de98f(0x2da)](Be);this[_0x5de98f(0x1e9)][_0x5de98f(0x1db)]({'interceptor':(_0x1a94aa,_0x1d7218)=>{const _0x19af8f=_0x5de98f;var _0x44c0f0;const _0x45a101=_0x1a94aa[_0x19af8f(0x1f1)];return(_0x44c0f0=_0x3766e1==null?void 0x0:_0x3766e1[_0x19af8f(0x2a4)])!=null&&_0x44c0f0['cookie']&&_0x45a101[_0x19af8f(0x330)]('Cookie',_0x3766e1[_0x19af8f(0x2a4)][_0x19af8f(0x2fb)]),_0x1d7218(_0x1a94aa);}});}async[_0x363399(0x32b)](_0x4b6f68){return this['_doCreateSocket'](_0x4b6f68);}};function _0x1b98(_0x37952b,_0x3f2df6){const _0x1c014a=_0x1c01();return _0x1b98=function(_0x1b9890,_0x382403){_0x1b9890=_0x1b9890-0x1a2;let _0x89e94e=_0x1c014a[_0x1b9890];return _0x89e94e;},_0x1b98(_0x37952b,_0x3f2df6);}at=cr([se(0x0,_0x3fb2e9(_0x56b19d)),se(0x1,_0x3fb2e9(_0x2d6f20)),se(0x2,_0x46f6d1),se(0x3,_0x144612),se(0x4,_0x1109cc)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x16ef4a=_0x3c60;(function(_0x2ec9d7,_0x5c6366){const _0xb3e24b=_0x3c60,_0x43f300=_0x2ec9d7();while(!![]){try{const _0x411b7=parseInt(_0xb3e24b(0x1ae))/0x1*(parseInt(_0xb3e24b(0x1c5))/0x2)+-parseInt(_0xb3e24b(0x247))/0x3+parseInt(_0xb3e24b(0x18a))/0x4*(-parseInt(_0xb3e24b(0x202))/0x5)+parseInt(_0xb3e24b(0x25f))/0x6+parseInt(_0xb3e24b(0x165))/0x7+parseInt(_0xb3e24b(0x23f))/0x8+parseInt(_0xb3e24b(0x115))/0x9;if(_0x411b7===_0x5c6366)break;else _0x43f300['push'](_0x43f300['shift']());}catch(_0x450fea){_0x43f300['push'](_0x43f300['shift']());}}}(_0x4a0e,0x57f12));import{UniverCollaborationClientPlugin as _0x17ec65,CollaborationSocketService as _0x495db0}from'@univerjs-pro/collaboration-client';import{Disposable as _0x21100c,DisposableCollection as _0x4ba69b,toDisposable as _0x2b7fbb,IConfigService as _0x56e3e4,DependentOn as _0x5e5eee,ILogService as _0x59b454,Inject as _0x21452e,Injector as _0x5758db,Plugin as _0x5cebcb,registerDependencies as _0x212bd7}from'@univerjs/core';import{ISocketService as _0x11f582,HTTPService as _0xa9101}from'@univerjs/network';function _0x3c60(_0x3c86cc,_0x349ee7){const _0x4a0e61=_0x4a0e();return _0x3c60=function(_0x3c604c,_0x343708){_0x3c604c=_0x3c604c-0xba;let _0x212354=_0x4a0e61[_0x3c604c];return _0x212354;},_0x3c60(_0x3c86cc,_0x349ee7);}import{Observable as _0x32d6a2,share as _0x1cec39}from'rxjs';import _0x5bb4bc from'events';import _0x346de9 from'https';import _0x26bf58 from'http';import _0x4c85b5 from'net';import _0x6029b3 from'tls';import _0x33bd52 from'crypto';import _0x346fec from'stream';import _0x17eee7 from'url';function _0x4a0e(){const _0x4b68ed=['listening','createDeflateRaw','WebSocket\x20is\x20not\x20open:\x20readyState\x20','registerHTTPInterceptor','_originalIpc','exports','host','upgrade','close','listen','_originalSecure','_extensions','function','Module','_no_context_takeover','readOnly','endEmitted','cork','abort','sec-websocket-origin','string','pipe','kAborted','client_max_window_bits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','apply','Unsupported\x20protocol\x20version:\x20','total-length','concat','server_no_context_takeover','kRun','cleanup','zlibDeflateOptions','onclose','_removeListeners','onStarting','_fin','default','_fragments','finished','_messageLength','\x22:\x20','_req','byteLength','fragments','redirect','Sec-WebSocket-Protocol:\x20','sendFrame','verifyClient','pluginName','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','writeHead','completeUpgrade','_compress','_firstFragment','_isServer','handleEvent','unshift','species','sha1','getMask','Invalid\x20value\x20for\x20parameter\x20\x22','blob','setConfig','_queue','rsv1','kReason','hostname','RSV1\x20must\x20be\x20clear','_options','_server','_skipUTF8Validation','protocol','__esModule','test','1799532OUtOEx','href','client_no_context_takeover','defaultPort','Cookie','skipUTF8Validation','setSocket','frame','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','websocket','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sec-websocket-protocol','timeout','readUInt32BE','_compressed','destroyed','createError','CLOSING','The\x20server\x20is\x20not\x20running','handshakeTimeout','createConnection','Invalid\x20Sec-WebSocket-Protocol\x20header','_masked','WS_ERR_INVALID_UTF8','flush','uncork','indexOf','_originalHostOrSocketPath','_errored','_allowSynchronousEvents','_closeFrameReceived','_closeMessage','allocUnsafe','offer','port','params','serverMaxWindowBits','hash','threshold','request','WebSocket','getBlobData','_autoPong','mask','Maximum\x20redirects\x20exceeded','acceptAsClient','startLoop','message','maxRedirects','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_url','Invalid\x20Upgrade\x20header','next','setTimeout','response','keys','consume','base64','options','STATUS_CODES','haveLength','_socket','ping','pow','Sec-WebSocket-Extensions:\x20','clientNoContextTakeover','reason','join','_readableState','client','_sender','_receiver','shift','readUInt16BE','OPEN','_binaryType','setHeader','bind','resume','auth','2812306yqNINv','headers','set','binaryType','call','_max_window_bits','send','Server\x20sent\x20no\x20subprotocol','_writableState','isInteger','_totalPayloadLength','getConfig','WS_ERR_UNEXPECTED_RSV_1','kType','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','getData','clients','http:','toStringTag','MASK\x20must\x20be\x20clear','_httpService','_threshold','removeEventListener','isIP','normalizeParams','charCodeAt','wss:','acceptAsServer','The\x20\x22','_bufferedAmount','wasClean','writeUIntBE','Unexpected\x20server\x20response:\x20','arraybuffer','_buffers','Sec-WebSocket-Origin','_payloadLength','4tcyRRh','_redirects','Invalid\x20WebSocket\x20frame:\x20','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','listenerCount','invalid\x20payload\x20length\x20','zlibInflateOptions','isValidUTF8','readyState','getOwnPropertyDescriptor','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','onopen','writable','parse','kError','error','create','Parameter\x20\x22','type','accept','File','generateMask','kTarget','address','serverNoContextTakeover','_protocol','Blob','noServer','perMessageDeflate','delete','WS_ERR_UNEXPECTED_RSV_2_3','wsClientError','HTTP/1.1\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','cookie','_maxPayload','10bMQGGM','customHeaders','concurrencyLimit','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','clientTracking','location','onerror','\x22\x20subprotocol\x20is\x20duplicated','toString','code','https:','_decompress','_fragmented','values','server_max_window_bits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_errorEmitted','invalid\x20opcode\x200','pathname','decompress','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','concurrency','includes','5666kHGiQd','_final','number','isArray','Unexpected\x20character\x20at\x20index\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','opcode','pause','HTTP/1.1\x20101\x20Switching\x20Protocols','Z_SYNC_FLUSH','addEventListener','Origin','stream','kListener','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','pong','freeze','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','kIsForOnEventAttribute','alloc','reset','_doCreateSocket','dequeue','createSocket','toLowerCase','buffers','kMessage','maxPayload','isPaused','unmask','_loop','read','extensionName','sec-websocket-extensions','authorized','isServer','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Connection:\x20Upgrade','_mask','_bufferedBytes','compress','nextTick','createServer','push','_opcode','Unknown\x20parameter\x20\x22','warn','Upgrade:\x20websocket','handleUpgrade','env','protocolVersion','getInfo','_generateMask','_inflate','destroy','then','isBuffer','servername','find','url','socket','3247255vlxbnU','autoPong','CLOSED','_injector','add','text/plain','Z_DEFAULT_WINDOWBITS','has','prototype','fin','Basic\x20','\x0d\x0a\x0d\x0a','password','pending','listeners','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_EXPECTED_MASK','controlMessage','slice','entries','Unexpected\x20end\x20of\x20input','bufferedAmount','_maskBuffer','from','sec-websocket-version','_closeCode','Max\x20payload\x20size\x20exceeded','end','forEach','_read','_deflate','CONNECTING','finish','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_registerDependencies','setNoDelay','Invalid\x20URL:\x20','_readyState','emit','errorEmitted','invalid\x20UTF-8\x20sequence','jobs','_paused','replace','getPayloadLength64','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','drain','WS_ERR_INVALID_OPCODE','map','_closeTimer','path','shouldHandle','connect','clientMaxWindowBits','authorization','hasOwnProperty','update','binary','unexpected-response','3256408AaAqjt','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','conclude','statusCode','_shouldEmitClose','length','Invalid\x20Sec-WebSocket-Accept\x20header','nodebuffer','1527438tudfsq','once','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_configService','WS_ERR_INVALID_CLOSE_CODE','callback','allowSynchronousEvents','getPayloadLength16','enqueue','ws:','finishRequest','writeUInt16BE','needDrain','byteOffset','status-code','sec-websocket-accept','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','username','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','defineProperty','server','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','object','emitClose','2890320xbVXxU','removeListener','createInflateRaw','The\x20URL\x27s\x20pathname\x20is\x20empty','backlog','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','extensions','data','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','size','value','write','isView','Invalid\x20HTTP\x20method','GET','origin','_state','dataMessage','dispatch','kCode','socketPath','_closeFrameSent','Sec-WebSocket-Accept:\x20','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','captureStackTrace','arrayBuffer','open','buffer','followRedirects'];_0x4a0e=function(){return _0x4b68ed;};return _0x4a0e();}import _0x25b6c6 from'zlib';import _0x219ada from'buffer';import{ISnapshotServerService as _0x580489}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x8ea885){const _0x207dff=_0x3c60;return _0x8ea885&&_0x8ea885['__esModule']&&Object[_0x207dff(0x20a)][_0x207dff(0x23b)][_0x207dff(0x169)](_0x8ea885,'default')?_0x8ea885[_0x207dff(0xee)]:_0x8ea885;}function ut(_0x1a8d10){const _0x53751c=_0x3c60;if(Object[_0x53751c(0x20a)]['hasOwnProperty'][_0x53751c(0x169)](_0x1a8d10,_0x53751c(0x113)))return _0x1a8d10;var _0x16d4e2=_0x1a8d10['default'];if(typeof _0x16d4e2=='function'){var _0x3bec32=function _0x2123f3(){const _0x3fcc41=_0x53751c;return this instanceof _0x2123f3?Reflect['construct'](_0x16d4e2,arguments,this['constructor']):_0x16d4e2[_0x3fcc41(0xe2)](this,arguments);};_0x3bec32[_0x53751c(0x20a)]=_0x16d4e2[_0x53751c(0x20a)];}else _0x3bec32={};return Object[_0x53751c(0x25a)](_0x3bec32,'__esModule',{'value':!0x0}),Object['keys'](_0x1a8d10)[_0x53751c(0x220)](function(_0x3bb7c7){const _0x1f6998=_0x53751c;var _0x2a1a7b=Object[_0x1f6998(0x193)](_0x1a8d10,_0x3bb7c7);Object[_0x1f6998(0x25a)](_0x3bec32,_0x3bb7c7,_0x2a1a7b['get']?_0x2a1a7b:{'enumerable':!0x0,'get':function(){return _0x1a8d10[_0x3bb7c7];}});}),_0x3bec32;}var te={'exports':{}},ge,Ye;function V(){const _0x110f0d=_0x3c60;if(Ye)return ge;Ye=0x1;const _0x16eaa7=[_0x110f0d(0x246),_0x110f0d(0x186),_0x110f0d(0xf5)],_0x44cbbc=typeof Blob<'u';return _0x44cbbc&&_0x16eaa7['push'](_0x110f0d(0x108)),ge={'BINARY_TYPES':_0x16eaa7,'EMPTY_BUFFER':Buffer[_0x110f0d(0x1d8)](0x0),'GUID':_0x110f0d(0x1e9),'hasBlob':_0x44cbbc,'kForOnEventAttribute':Symbol(_0x110f0d(0x1d7)),'kListener':Symbol(_0x110f0d(0x1d2)),'kStatusCode':Symbol(_0x110f0d(0x255)),'kWebSocket':Symbol(_0x110f0d(0x11e)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x16ef4a(0x1d5)](Object[_0x16ef4a(0x25a)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x16ef4a(0xd6)})),Vt=ut(Gt);var Ke;function ce(){const _0x54eabd=_0x16ef4a;if(Ke)return te[_0x54eabd(0xce)];Ke=0x1;const {EMPTY_BUFFER:_0x57013b}=V(),_0x35c95b=Buffer[Symbol[_0x54eabd(0x104)]];function _0x337e3a(_0x3d0762,_0x793450){const _0xb16630=_0x54eabd;if(_0x3d0762[_0xb16630(0x244)]===0x0)return _0x57013b;if(_0x3d0762[_0xb16630(0x244)]===0x1)return _0x3d0762[0x0];const _0x16c968=Buffer[_0xb16630(0x135)](_0x793450);let _0x5b4c6a=0x0;for(let _0x497d4b=0x0;_0x497d4b<_0x3d0762[_0xb16630(0x244)];_0x497d4b++){const _0x175213=_0x3d0762[_0x497d4b];_0x16c968['set'](_0x175213,_0x5b4c6a),_0x5b4c6a+=_0x175213['length'];}return _0x5b4c6a<_0x793450?new _0x35c95b(_0x16c968[_0xb16630(0xc7)],_0x16c968[_0xb16630(0x254)],_0x5b4c6a):_0x16c968;}function _0x204e9f(_0x12a862,_0x1a1418,_0x262e0d,_0x1bdfd5,_0x372d04){for(let _0xcb2e12=0x0;_0xcb2e12<_0x372d04;_0xcb2e12++)_0x262e0d[_0x1bdfd5+_0xcb2e12]=_0x12a862[_0xcb2e12]^_0x1a1418[_0xcb2e12&0x3];}function _0x29a8f2(_0x43368a,_0x25d628){const _0xd4211f=_0x54eabd;for(let _0x42e420=0x0;_0x42e420<_0x43368a[_0xd4211f(0x244)];_0x42e420++)_0x43368a[_0x42e420]^=_0x25d628[_0x42e420&0x3];}function _0x523af2(_0x5a4afe){const _0x1e1c78=_0x54eabd;return _0x5a4afe[_0x1e1c78(0x244)]===_0x5a4afe[_0x1e1c78(0xc7)][_0x1e1c78(0xf4)]?_0x5a4afe[_0x1e1c78(0xc7)]:_0x5a4afe[_0x1e1c78(0xc7)][_0x1e1c78(0x216)](_0x5a4afe[_0x1e1c78(0x254)],_0x5a4afe['byteOffset']+_0x5a4afe[_0x1e1c78(0x244)]);}function _0xe4c5b3(_0x501f1b){const _0x448220=_0x54eabd;if(_0xe4c5b3[_0x448220(0xd8)]=!0x0,Buffer[_0x448220(0x1fd)](_0x501f1b))return _0x501f1b;let _0x248b2e;return _0x501f1b instanceof ArrayBuffer?_0x248b2e=new _0x35c95b(_0x501f1b):ArrayBuffer[_0x448220(0x26b)](_0x501f1b)?_0x248b2e=new _0x35c95b(_0x501f1b[_0x448220(0xc7)],_0x501f1b[_0x448220(0x254)],_0x501f1b[_0x448220(0xf4)]):(_0x248b2e=Buffer['from'](_0x501f1b),_0xe4c5b3[_0x448220(0xd8)]=!0x1),_0x248b2e;}if(te[_0x54eabd(0xce)]={'concat':_0x337e3a,'mask':_0x204e9f,'toArrayBuffer':_0x523af2,'toBuffer':_0xe4c5b3,'unmask':_0x29a8f2},!process[_0x54eabd(0x1f6)]['WS_NO_BUFFER_UTIL'])try{const _0x1659fe=Vt;te[_0x54eabd(0xce)][_0x54eabd(0x140)]=function(_0x15ad4e,_0x4a09ef,_0x137c31,_0x2ad835,_0x268aa8){_0x268aa8<0x30?_0x204e9f(_0x15ad4e,_0x4a09ef,_0x137c31,_0x2ad835,_0x268aa8):_0x1659fe['mask'](_0x15ad4e,_0x4a09ef,_0x137c31,_0x2ad835,_0x268aa8);},te[_0x54eabd(0xce)][_0x54eabd(0x1e2)]=function(_0x2838d2,_0x9d6280){const _0x179070=_0x54eabd;_0x2838d2['length']<0x20?_0x29a8f2(_0x2838d2,_0x9d6280):_0x1659fe[_0x179070(0x1e2)](_0x2838d2,_0x9d6280);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x4841bc=_0x16ef4a;if(Xe)return ye;Xe=0x1;const _0x2751ee=Symbol('kDone'),_0x205019=Symbol(_0x4841bc(0xe7));class _0x4ecea6{constructor(_0x536860){const _0x375d3c=_0x4841bc;this[_0x2751ee]=()=>{this['pending']--,this[_0x205019]();},this['concurrency']=_0x536860||0x1/0x0,this['jobs']=[],this[_0x375d3c(0x20f)]=0x0;}[_0x4841bc(0x206)](_0x215b11){const _0x246ff8=_0x4841bc;this[_0x246ff8(0x22d)][_0x246ff8(0x1f0)](_0x215b11),this[_0x205019]();}[_0x205019](){const _0x3c3869=_0x4841bc;if(this[_0x3c3869(0x20f)]!==this[_0x3c3869(0x1c3)]&&this[_0x3c3869(0x22d)][_0x3c3869(0x244)]){const _0x1bd148=this[_0x3c3869(0x22d)][_0x3c3869(0x15d)]();this['pending']++,_0x1bd148(this[_0x2751ee]);}}}return ye=_0x4ecea6,ye;}var ve,Ze;function he(){const _0x4f816b=_0x16ef4a;if(Ze)return ve;Ze=0x1;const _0x2e4e68=_0x25b6c6,_0x21f26e=ce(),_0x21507f=qt(),{kStatusCode:_0x86a5b8}=V(),_0x2a3c33=Buffer[Symbol['species']],_0x2885c8=Buffer[_0x4f816b(0x21b)]([0x0,0x0,0xff,0xff]),_0x1a9bba=Symbol('permessage-deflate'),_0x5d217b=Symbol(_0x4f816b(0xe4)),_0x1377b=Symbol(_0x4f816b(0x24c)),_0x51fcc3=Symbol(_0x4f816b(0x1de)),_0x403f9a=Symbol(_0x4f816b(0x199));let _0x37c108;class _0x15e760{constructor(_0x39e2b9,_0x310db9,_0x596820){const _0x5636e1=_0x4f816b;if(this[_0x5636e1(0x1ad)]=_0x596820|0x0,this[_0x5636e1(0x10f)]=_0x39e2b9||{},this[_0x5636e1(0x17a)]=this['_options'][_0x5636e1(0x13b)]!==void 0x0?this[_0x5636e1(0x10f)]['threshold']:0x400,this[_0x5636e1(0x101)]=!!_0x310db9,this[_0x5636e1(0x222)]=null,this[_0x5636e1(0x1fa)]=null,this[_0x5636e1(0x138)]=null,!_0x37c108){const _0x14da77=this[_0x5636e1(0x10f)][_0x5636e1(0x1b0)]!==void 0x0?this[_0x5636e1(0x10f)][_0x5636e1(0x1b0)]:0xa;_0x37c108=new _0x21507f(_0x14da77);}}static get[_0x4f816b(0x1e5)](){return'permessage-deflate';}[_0x4f816b(0x136)](){const _0xcb9374=_0x4f816b,_0x188ee9={};return this[_0xcb9374(0x10f)]['serverNoContextTakeover']&&(_0x188ee9['server_no_context_takeover']=!0x0),this[_0xcb9374(0x10f)][_0xcb9374(0x156)]&&(_0x188ee9[_0xcb9374(0x117)]=!0x0),this[_0xcb9374(0x10f)][_0xcb9374(0x139)]&&(_0x188ee9[_0xcb9374(0x1bc)]=this[_0xcb9374(0x10f)]['serverMaxWindowBits']),this[_0xcb9374(0x10f)][_0xcb9374(0x239)]?_0x188ee9['client_max_window_bits']=this[_0xcb9374(0x10f)][_0xcb9374(0x239)]:this[_0xcb9374(0x10f)][_0xcb9374(0x239)]==null&&(_0x188ee9['client_max_window_bits']=!0x0),_0x188ee9;}[_0x4f816b(0x19d)](_0x10a477){const _0x123598=_0x4f816b;return _0x10a477=this[_0x123598(0x17d)](_0x10a477),this[_0x123598(0x138)]=this[_0x123598(0x101)]?this[_0x123598(0x180)](_0x10a477):this['acceptAsClient'](_0x10a477),this['params'];}['cleanup'](){const _0x37b433=_0x4f816b;if(this[_0x37b433(0x1fa)]&&(this['_inflate'][_0x37b433(0xd1)](),this[_0x37b433(0x1fa)]=null),this[_0x37b433(0x222)]){const _0x1f1c38=this[_0x37b433(0x222)][_0x1377b];this[_0x37b433(0x222)][_0x37b433(0xd1)](),this[_0x37b433(0x222)]=null,_0x1f1c38&&_0x1f1c38(new Error(_0x37b433(0x1b1)));}}[_0x4f816b(0x180)](_0x210e7e){const _0x3c1d57=_0x4f816b,_0x252129=this[_0x3c1d57(0x10f)],_0x51ac0d=_0x210e7e[_0x3c1d57(0x1ff)](_0x4a0a08=>!(_0x252129[_0x3c1d57(0x1a2)]===!0x1&&_0x4a0a08[_0x3c1d57(0xe6)]||_0x4a0a08[_0x3c1d57(0x1bc)]&&(_0x252129['serverMaxWindowBits']===!0x1||typeof _0x252129[_0x3c1d57(0x139)]==_0x3c1d57(0x1c7)&&_0x252129['serverMaxWindowBits']>_0x4a0a08[_0x3c1d57(0x1bc)])||typeof _0x252129[_0x3c1d57(0x239)]==_0x3c1d57(0x1c7)&&!_0x4a0a08[_0x3c1d57(0xe0)]));if(!_0x51ac0d)throw new Error(_0x3c1d57(0x231));return _0x252129[_0x3c1d57(0x1a2)]&&(_0x51ac0d['server_no_context_takeover']=!0x0),_0x252129[_0x3c1d57(0x156)]&&(_0x51ac0d[_0x3c1d57(0x117)]=!0x0),typeof _0x252129[_0x3c1d57(0x139)]==_0x3c1d57(0x1c7)&&(_0x51ac0d[_0x3c1d57(0x1bc)]=_0x252129[_0x3c1d57(0x139)]),typeof _0x252129[_0x3c1d57(0x239)]=='number'?_0x51ac0d[_0x3c1d57(0xe0)]=_0x252129[_0x3c1d57(0x239)]:(_0x51ac0d['client_max_window_bits']===!0x0||_0x252129[_0x3c1d57(0x239)]===!0x1)&&delete _0x51ac0d['client_max_window_bits'],_0x51ac0d;}[_0x4f816b(0x142)](_0x22e823){const _0x2dfbf9=_0x4f816b,_0x199c71=_0x22e823[0x0];if(this[_0x2dfbf9(0x10f)][_0x2dfbf9(0x156)]===!0x1&&_0x199c71[_0x2dfbf9(0x117)])throw new Error(_0x2dfbf9(0x240));if(!_0x199c71[_0x2dfbf9(0xe0)])typeof this[_0x2dfbf9(0x10f)][_0x2dfbf9(0x239)]==_0x2dfbf9(0x1c7)&&(_0x199c71[_0x2dfbf9(0xe0)]=this[_0x2dfbf9(0x10f)][_0x2dfbf9(0x239)]);else{if(this[_0x2dfbf9(0x10f)]['clientMaxWindowBits']===!0x1||typeof this[_0x2dfbf9(0x10f)][_0x2dfbf9(0x239)]==_0x2dfbf9(0x1c7)&&_0x199c71[_0x2dfbf9(0xe0)]>this[_0x2dfbf9(0x10f)]['clientMaxWindowBits'])throw new Error(_0x2dfbf9(0x11d));}return _0x199c71;}[_0x4f816b(0x17d)](_0x14ac6c){return _0x14ac6c['forEach'](_0x8b1fa5=>{const _0x16cac8=_0x3c60;Object[_0x16cac8(0x14c)](_0x8b1fa5)[_0x16cac8(0x220)](_0x12ee96=>{const _0x513f0b=_0x16cac8;let _0x587eba=_0x8b1fa5[_0x12ee96];if(_0x587eba[_0x513f0b(0x244)]>0x1)throw new Error(_0x513f0b(0x19b)+_0x12ee96+_0x513f0b(0x146));if(_0x587eba=_0x587eba[0x0],_0x12ee96===_0x513f0b(0xe0)){if(_0x587eba!==!0x0){const _0x1a6e1f=+_0x587eba;if(!Number[_0x513f0b(0x16e)](_0x1a6e1f)||_0x1a6e1f<0x8||_0x1a6e1f>0xf)throw new TypeError(_0x513f0b(0x107)+_0x12ee96+_0x513f0b(0xf2)+_0x587eba);_0x587eba=_0x1a6e1f;}else{if(!this['_isServer'])throw new TypeError(_0x513f0b(0x107)+_0x12ee96+_0x513f0b(0xf2)+_0x587eba);}}else{if(_0x12ee96===_0x513f0b(0x1bc)){const _0x2c6e91=+_0x587eba;if(!Number['isInteger'](_0x2c6e91)||_0x2c6e91<0x8||_0x2c6e91>0xf)throw new TypeError(_0x513f0b(0x107)+_0x12ee96+_0x513f0b(0xf2)+_0x587eba);_0x587eba=_0x2c6e91;}else{if(_0x12ee96===_0x513f0b(0x117)||_0x12ee96==='server_no_context_takeover'){if(_0x587eba!==!0x0)throw new TypeError(_0x513f0b(0x107)+_0x12ee96+_0x513f0b(0xf2)+_0x587eba);}else throw new Error(_0x513f0b(0x1f2)+_0x12ee96+'\x22');}}_0x8b1fa5[_0x12ee96]=_0x587eba;});}),_0x14ac6c;}[_0x4f816b(0x1c1)](_0x533a30,_0x5f28d8,_0x243d59){const _0x32b9a3=_0x4f816b;_0x37c108[_0x32b9a3(0x206)](_0x11a04e=>{this['_decompress'](_0x533a30,_0x5f28d8,(_0x5db3db,_0x5b70b5)=>{_0x11a04e(),_0x243d59(_0x5db3db,_0x5b70b5);});});}[_0x4f816b(0x1ed)](_0x4e77e4,_0x277e8f,_0x1c2379){_0x37c108['add'](_0x27df66=>{const _0x4e6e75=_0x3c60;this[_0x4e6e75(0xff)](_0x4e77e4,_0x277e8f,(_0x54ca02,_0x7e7090)=>{_0x27df66(),_0x1c2379(_0x54ca02,_0x7e7090);});});}[_0x4f816b(0x1b9)](_0x187e02,_0x3c8653,_0x305762){const _0xf71506=_0x4f816b,_0x52779e=this['_isServer']?'client':_0xf71506(0x25b);if(!this[_0xf71506(0x1fa)]){const _0x4ce282=_0x52779e+_0xf71506(0x16a),_0x2b609c=typeof this[_0xf71506(0x138)][_0x4ce282]!='number'?_0x2e4e68[_0xf71506(0x208)]:this['params'][_0x4ce282];this['_inflate']=_0x2e4e68[_0xf71506(0x261)]({...this['_options'][_0xf71506(0x190)],'windowBits':_0x2b609c}),this['_inflate'][_0x1a9bba]=this,this[_0xf71506(0x1fa)][_0x5d217b]=0x0,this[_0xf71506(0x1fa)][_0x51fcc3]=[],this[_0xf71506(0x1fa)]['on']('error',_0x1acfcd),this[_0xf71506(0x1fa)]['on'](_0xf71506(0x266),_0x3d6cf0);}this[_0xf71506(0x1fa)][_0x1377b]=_0x305762,this[_0xf71506(0x1fa)]['write'](_0x187e02),_0x3c8653&&this[_0xf71506(0x1fa)][_0xf71506(0x26a)](_0x2885c8),this[_0xf71506(0x1fa)]['flush'](()=>{const _0x1e1652=_0xf71506,_0x1831d0=this['_inflate'][_0x403f9a];if(_0x1831d0){this[_0x1e1652(0x1fa)][_0x1e1652(0xd1)](),this[_0x1e1652(0x1fa)]=null,_0x305762(_0x1831d0);return;}const _0x4bc3c3=_0x21f26e['concat'](this[_0x1e1652(0x1fa)][_0x51fcc3],this[_0x1e1652(0x1fa)][_0x5d217b]);this[_0x1e1652(0x1fa)][_0x1e1652(0x159)][_0x1e1652(0xd9)]?(this[_0x1e1652(0x1fa)][_0x1e1652(0xd1)](),this[_0x1e1652(0x1fa)]=null):(this[_0x1e1652(0x1fa)][_0x5d217b]=0x0,this[_0x1e1652(0x1fa)][_0x51fcc3]=[],_0x3c8653&&this[_0x1e1652(0x138)][_0x52779e+_0x1e1652(0xd7)]&&this[_0x1e1652(0x1fa)][_0x1e1652(0x1d9)]()),_0x305762(null,_0x4bc3c3);});}[_0x4f816b(0xff)](_0x43ad5c,_0xcc61e7,_0x3a5970){const _0x43e936=_0x4f816b,_0x2d9319=this[_0x43e936(0x101)]?'server':_0x43e936(0x15a);if(!this[_0x43e936(0x222)]){const _0x30da9e=_0x2d9319+_0x43e936(0x16a),_0x5441c9=typeof this[_0x43e936(0x138)][_0x30da9e]!=_0x43e936(0x1c7)?_0x2e4e68[_0x43e936(0x208)]:this[_0x43e936(0x138)][_0x30da9e];this['_deflate']=_0x2e4e68[_0x43e936(0xca)]({...this[_0x43e936(0x10f)][_0x43e936(0xe9)],'windowBits':_0x5441c9}),this[_0x43e936(0x222)][_0x5d217b]=0x0,this['_deflate'][_0x51fcc3]=[],this[_0x43e936(0x222)]['on'](_0x43e936(0x266),_0x519a75);}this[_0x43e936(0x222)][_0x1377b]=_0x3a5970,this[_0x43e936(0x222)][_0x43e936(0x26a)](_0x43ad5c),this[_0x43e936(0x222)][_0x43e936(0x12d)](_0x2e4e68[_0x43e936(0x1ce)],()=>{const _0x3dc057=_0x43e936;if(!this[_0x3dc057(0x222)])return;let _0x25f341=_0x21f26e[_0x3dc057(0xe5)](this[_0x3dc057(0x222)][_0x51fcc3],this[_0x3dc057(0x222)][_0x5d217b]);_0xcc61e7&&(_0x25f341=new _0x2a3c33(_0x25f341[_0x3dc057(0xc7)],_0x25f341[_0x3dc057(0x254)],_0x25f341['length']-0x4)),this[_0x3dc057(0x222)][_0x1377b]=null,this[_0x3dc057(0x222)][_0x5d217b]=0x0,this[_0x3dc057(0x222)][_0x51fcc3]=[],_0xcc61e7&&this[_0x3dc057(0x138)][_0x2d9319+_0x3dc057(0xd7)]&&this['_deflate']['reset'](),_0x3a5970(null,_0x25f341);});}}ve=_0x15e760;function _0x519a75(_0x247a06){const _0x4d1168=_0x4f816b;this[_0x51fcc3]['push'](_0x247a06),this[_0x5d217b]+=_0x247a06[_0x4d1168(0x244)];}function _0x3d6cf0(_0x26e276){const _0x224148=_0x4f816b;if(this[_0x5d217b]+=_0x26e276[_0x224148(0x244)],this[_0x1a9bba]['_maxPayload']<0x1||this[_0x5d217b]<=this[_0x1a9bba][_0x224148(0x1ad)]){this[_0x51fcc3][_0x224148(0x1f0)](_0x26e276);return;}this[_0x403f9a]=new RangeError(_0x224148(0x21e)),this[_0x403f9a]['code']=_0x224148(0x211),this[_0x403f9a][_0x86a5b8]=0x3f1,this[_0x224148(0x260)](_0x224148(0x266),_0x3d6cf0),this['reset']();}function _0x1acfcd(_0x4e10f3){const _0x432667=_0x4f816b;this[_0x1a9bba][_0x432667(0x1fa)]=null,_0x4e10f3[_0x86a5b8]=0x3ef,this[_0x1377b](_0x4e10f3);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x16ef4a(0x25a)]({'__proto__':null,'default':Ht},Symbol[_0x16ef4a(0x177)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x41dc1a=_0x16ef4a;if(Qe)return re[_0x41dc1a(0xce)];Qe=0x1;const {isUtf8:_0x119577}=_0x219ada,{hasBlob:_0x154a2e}=V(),_0x262583=[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 _0x154619(_0x2ad5d3){return _0x2ad5d3>=0x3e8&&_0x2ad5d3<=0x3f6&&_0x2ad5d3!==0x3ec&&_0x2ad5d3!==0x3ed&&_0x2ad5d3!==0x3ee||_0x2ad5d3>=0xbb8&&_0x2ad5d3<=0x1387;}function _0x1ca01b(_0x244da6){const _0x2cec63=_0x41dc1a,_0x2fb6e6=_0x244da6[_0x2cec63(0x244)];let _0xd6d2f0=0x0;for(;_0xd6d2f0<_0x2fb6e6;)if((_0x244da6[_0xd6d2f0]&0x80)===0x0)_0xd6d2f0++;else{if((_0x244da6[_0xd6d2f0]&0xe0)===0xc0){if(_0xd6d2f0+0x1===_0x2fb6e6||(_0x244da6[_0xd6d2f0+0x1]&0xc0)!==0x80||(_0x244da6[_0xd6d2f0]&0xfe)===0xc0)return!0x1;_0xd6d2f0+=0x2;}else{if((_0x244da6[_0xd6d2f0]&0xf0)===0xe0){if(_0xd6d2f0+0x2>=_0x2fb6e6||(_0x244da6[_0xd6d2f0+0x1]&0xc0)!==0x80||(_0x244da6[_0xd6d2f0+0x2]&0xc0)!==0x80||_0x244da6[_0xd6d2f0]===0xe0&&(_0x244da6[_0xd6d2f0+0x1]&0xe0)===0x80||_0x244da6[_0xd6d2f0]===0xed&&(_0x244da6[_0xd6d2f0+0x1]&0xe0)===0xa0)return!0x1;_0xd6d2f0+=0x3;}else{if((_0x244da6[_0xd6d2f0]&0xf8)===0xf0){if(_0xd6d2f0+0x3>=_0x2fb6e6||(_0x244da6[_0xd6d2f0+0x1]&0xc0)!==0x80||(_0x244da6[_0xd6d2f0+0x2]&0xc0)!==0x80||(_0x244da6[_0xd6d2f0+0x3]&0xc0)!==0x80||_0x244da6[_0xd6d2f0]===0xf0&&(_0x244da6[_0xd6d2f0+0x1]&0xf0)===0x80||_0x244da6[_0xd6d2f0]===0xf4&&_0x244da6[_0xd6d2f0+0x1]>0x8f||_0x244da6[_0xd6d2f0]>0xf4)return!0x1;_0xd6d2f0+=0x4;}else return!0x1;}}}return!0x0;}function _0x102664(_0x2c52ec){const _0x13ccc0=_0x41dc1a;return _0x154a2e&&typeof _0x2c52ec==_0x13ccc0(0x25d)&&typeof _0x2c52ec[_0x13ccc0(0xc5)]==_0x13ccc0(0xd5)&&typeof _0x2c52ec[_0x13ccc0(0x19c)]=='string'&&typeof _0x2c52ec[_0x13ccc0(0x1d1)]==_0x13ccc0(0xd5)&&(_0x2c52ec[Symbol[_0x13ccc0(0x177)]]===_0x13ccc0(0x1a4)||_0x2c52ec[Symbol[_0x13ccc0(0x177)]]===_0x13ccc0(0x19e));}if(re[_0x41dc1a(0xce)]={'isBlob':_0x102664,'isValidStatusCode':_0x154619,'isValidUTF8':_0x1ca01b,'tokenChars':_0x262583},_0x119577)re[_0x41dc1a(0xce)][_0x41dc1a(0x191)]=function(_0x27ce52){return _0x27ce52['length']<0x18?_0x1ca01b(_0x27ce52):_0x119577(_0x27ce52);};else{if(!process[_0x41dc1a(0x1f6)]['WS_NO_UTF_8_VALIDATE'])try{const _0x35460c=Yt;re[_0x41dc1a(0xce)][_0x41dc1a(0x191)]=function(_0x3254a4){const _0x3a9bf1=_0x41dc1a;return _0x3254a4[_0x3a9bf1(0x244)]<0x20?_0x1ca01b(_0x3254a4):_0x35460c(_0x3254a4);};}catch{}}return re[_0x41dc1a(0xce)];}var Se,Je;function dt(){const _0x3c0d86=_0x16ef4a;if(Je)return Se;Je=0x1;const {Writable:_0x1bcff5}=_0x346fec,_0x367201=he(),{BINARY_TYPES:_0x679abf,EMPTY_BUFFER:_0xe0dad8,kStatusCode:_0x479c8e,kWebSocket:_0x58695b}=V(),{concat:_0xa1ea8b,toArrayBuffer:_0x41ef8e,unmask:_0x28a87b}=ce(),{isValidStatusCode:_0x1d4298,isValidUTF8:_0x34158c}=ne(),_0x193dfb=Buffer[Symbol[_0x3c0d86(0x104)]],_0x1ef21e=0x0,_0x5963be=0x1,_0x22c085=0x2,_0x5c2584=0x3,_0x2b4520=0x4,_0x352a24=0x5,_0x200024=0x6;class _0x26ed61 extends _0x1bcff5{constructor(_0x564850={}){const _0x457bda=_0x3c0d86;super(),this[_0x457bda(0x132)]=_0x564850[_0x457bda(0x24d)]!==void 0x0?_0x564850[_0x457bda(0x24d)]:!0x0,this['_binaryType']=_0x564850[_0x457bda(0x168)]||_0x679abf[0x0],this[_0x457bda(0xd4)]=_0x564850['extensions']||{},this[_0x457bda(0x101)]=!!_0x564850[_0x457bda(0x1e8)],this['_maxPayload']=_0x564850[_0x457bda(0x1e0)]|0x0,this['_skipUTF8Validation']=!!_0x564850[_0x457bda(0x11a)],this[_0x58695b]=void 0x0,this[_0x457bda(0x1ec)]=0x0,this[_0x457bda(0x187)]=[],this[_0x457bda(0x123)]=!0x1,this['_payloadLength']=0x0,this[_0x457bda(0x1eb)]=void 0x0,this[_0x457bda(0x1ba)]=0x0,this['_masked']=!0x1,this[_0x457bda(0xed)]=!0x1,this[_0x457bda(0x1f1)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x457bda(0xef)]=[],this[_0x457bda(0x131)]=!0x1,this['_loop']=!0x1,this[_0x457bda(0xbc)]=_0x1ef21e;}['_write'](_0x42c50c,_0x24b49c,_0xcf774b){const _0x58d0a1=_0x3c0d86;if(this[_0x58d0a1(0x1f1)]===0x8&&this[_0x58d0a1(0xbc)]==_0x1ef21e)return _0xcf774b();this[_0x58d0a1(0x1ec)]+=_0x42c50c[_0x58d0a1(0x244)],this['_buffers'][_0x58d0a1(0x1f0)](_0x42c50c),this['startLoop'](_0xcf774b);}[_0x3c0d86(0x14d)](_0x2ac647){const _0x2d2a1c=_0x3c0d86;if(this[_0x2d2a1c(0x1ec)]-=_0x2ac647,_0x2ac647===this[_0x2d2a1c(0x187)][0x0]['length'])return this[_0x2d2a1c(0x187)][_0x2d2a1c(0x15d)]();if(_0x2ac647<this[_0x2d2a1c(0x187)][0x0]['length']){const _0xef3b3d=this[_0x2d2a1c(0x187)][0x0];return this[_0x2d2a1c(0x187)][0x0]=new _0x193dfb(_0xef3b3d['buffer'],_0xef3b3d[_0x2d2a1c(0x254)]+_0x2ac647,_0xef3b3d[_0x2d2a1c(0x244)]-_0x2ac647),new _0x193dfb(_0xef3b3d[_0x2d2a1c(0xc7)],_0xef3b3d['byteOffset'],_0x2ac647);}const _0x3f3879=Buffer[_0x2d2a1c(0x135)](_0x2ac647);do{const _0x19534d=this[_0x2d2a1c(0x187)][0x0],_0xcb2442=_0x3f3879['length']-_0x2ac647;_0x2ac647>=_0x19534d[_0x2d2a1c(0x244)]?_0x3f3879[_0x2d2a1c(0x167)](this[_0x2d2a1c(0x187)][_0x2d2a1c(0x15d)](),_0xcb2442):(_0x3f3879[_0x2d2a1c(0x167)](new Uint8Array(_0x19534d[_0x2d2a1c(0xc7)],_0x19534d[_0x2d2a1c(0x254)],_0x2ac647),_0xcb2442),this[_0x2d2a1c(0x187)][0x0]=new _0x193dfb(_0x19534d['buffer'],_0x19534d[_0x2d2a1c(0x254)]+_0x2ac647,_0x19534d['length']-_0x2ac647)),_0x2ac647-=_0x19534d[_0x2d2a1c(0x244)];}while(_0x2ac647>0x0);return _0x3f3879;}[_0x3c0d86(0x143)](_0x336db7){const _0x4596e9=_0x3c0d86;this[_0x4596e9(0x1e3)]=!0x0;do switch(this[_0x4596e9(0xbc)]){case _0x1ef21e:this['getInfo'](_0x336db7);break;case _0x5963be:this[_0x4596e9(0x24e)](_0x336db7);break;case _0x22c085:this[_0x4596e9(0x230)](_0x336db7);break;case _0x5c2584:this[_0x4596e9(0x106)]();break;case _0x2b4520:this[_0x4596e9(0x174)](_0x336db7);break;case _0x352a24:case _0x200024:this[_0x4596e9(0x1e3)]=!0x1;return;}while(this[_0x4596e9(0x1e3)]);this['_errored']||_0x336db7();}[_0x3c0d86(0x1f8)](_0x95814d){const _0x38e55b=_0x3c0d86;if(this[_0x38e55b(0x1ec)]<0x2){this[_0x38e55b(0x1e3)]=!0x1;return;}const _0x6b3b4f=this[_0x38e55b(0x14d)](0x2);if((_0x6b3b4f[0x0]&0x30)!==0x0){const _0x37fe34=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0x1c2),!0x0,0x3ea,_0x38e55b(0x1a8));_0x95814d(_0x37fe34);return;}const _0x3f3151=(_0x6b3b4f[0x0]&0x40)===0x40;if(_0x3f3151&&!this[_0x38e55b(0xd4)][_0x367201[_0x38e55b(0x1e5)]]){const _0x51d3cf=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0x10e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x95814d(_0x51d3cf);return;}if(this[_0x38e55b(0xed)]=(_0x6b3b4f[0x0]&0x80)===0x80,this[_0x38e55b(0x1f1)]=_0x6b3b4f[0x0]&0xf,this[_0x38e55b(0x189)]=_0x6b3b4f[0x1]&0x7f,this[_0x38e55b(0x1f1)]===0x0){if(_0x3f3151){const _0x3e72d3=this['createError'](RangeError,_0x38e55b(0x10e),!0x0,0x3ea,_0x38e55b(0x171));_0x95814d(_0x3e72d3);return;}if(!this[_0x38e55b(0x1ba)]){const _0x59c602=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0x1bf),!0x0,0x3ea,_0x38e55b(0x233));_0x95814d(_0x59c602);return;}this[_0x38e55b(0x1f1)]=this[_0x38e55b(0x1ba)];}else{if(this[_0x38e55b(0x1f1)]===0x1||this[_0x38e55b(0x1f1)]===0x2){if(this[_0x38e55b(0x1ba)]){const _0x1ab0d3=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0xfc)+this[_0x38e55b(0x1f1)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x95814d(_0x1ab0d3);return;}this['_compressed']=_0x3f3151;}else{if(this['_opcode']>0x7&&this[_0x38e55b(0x1f1)]<0xb){if(!this[_0x38e55b(0xed)]){const _0x59593b=this[_0x38e55b(0x125)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x95814d(_0x59593b);return;}if(_0x3f3151){const _0x1ba3d8=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0x10e),!0x0,0x3ea,_0x38e55b(0x171));_0x95814d(_0x1ba3d8);return;}if(this['_payloadLength']>0x7d||this[_0x38e55b(0x1f1)]===0x8&&this[_0x38e55b(0x189)]===0x1){const _0x2d8051=this[_0x38e55b(0x125)](RangeError,_0x38e55b(0x18f)+this[_0x38e55b(0x189)],!0x0,0x3ea,_0x38e55b(0xfb));_0x95814d(_0x2d8051);return;}}else{const _0x4cee5b=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x38e55b(0x1f1)],!0x0,0x3ea,_0x38e55b(0x233));_0x95814d(_0x4cee5b);return;}}}if(!this['_fin']&&!this[_0x38e55b(0x1ba)]&&(this[_0x38e55b(0x1ba)]=this[_0x38e55b(0x1f1)]),this[_0x38e55b(0x12b)]=(_0x6b3b4f[0x1]&0x80)===0x80,this[_0x38e55b(0x101)]){if(!this[_0x38e55b(0x12b)]){const _0x548eec=this[_0x38e55b(0x125)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x38e55b(0x214));_0x95814d(_0x548eec);return;}}else{if(this['_masked']){const _0x1c2ce7=this['createError'](RangeError,_0x38e55b(0x178),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x95814d(_0x1c2ce7);return;}}this[_0x38e55b(0x189)]===0x7e?this[_0x38e55b(0xbc)]=_0x5963be:this['_payloadLength']===0x7f?this['_state']=_0x22c085:this['haveLength'](_0x95814d);}[_0x3c0d86(0x24e)](_0x4559e0){const _0x1a7317=_0x3c0d86;if(this['_bufferedBytes']<0x2){this[_0x1a7317(0x1e3)]=!0x1;return;}this[_0x1a7317(0x189)]=this[_0x1a7317(0x14d)](0x2)[_0x1a7317(0x15e)](0x0),this[_0x1a7317(0x151)](_0x4559e0);}['getPayloadLength64'](_0x12b572){const _0x354a86=_0x3c0d86;if(this[_0x354a86(0x1ec)]<0x8){this['_loop']=!0x1;return;}const _0x3ea20a=this[_0x354a86(0x14d)](0x8),_0x482085=_0x3ea20a[_0x354a86(0x122)](0x0);if(_0x482085>Math[_0x354a86(0x154)](0x2,0x15)-0x1){const _0x2733e0=this[_0x354a86(0x125)](RangeError,_0x354a86(0x257),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x12b572(_0x2733e0);return;}this[_0x354a86(0x189)]=_0x482085*Math[_0x354a86(0x154)](0x2,0x20)+_0x3ea20a[_0x354a86(0x122)](0x4),this['haveLength'](_0x12b572);}['haveLength'](_0x318e94){const _0x46d599=_0x3c0d86;if(this[_0x46d599(0x189)]&&this[_0x46d599(0x1f1)]<0x8&&(this['_totalPayloadLength']+=this[_0x46d599(0x189)],this['_totalPayloadLength']>this[_0x46d599(0x1ad)]&&this['_maxPayload']>0x0)){const _0x69f0a=this[_0x46d599(0x125)](RangeError,_0x46d599(0x21e),!0x1,0x3f1,_0x46d599(0x211));_0x318e94(_0x69f0a);return;}this['_masked']?this['_state']=_0x5c2584:this['_state']=_0x2b4520;}['getMask'](){const _0xe97a8a=_0x3c0d86;if(this[_0xe97a8a(0x1ec)]<0x4){this[_0xe97a8a(0x1e3)]=!0x1;return;}this[_0xe97a8a(0x1eb)]=this[_0xe97a8a(0x14d)](0x4),this[_0xe97a8a(0xbc)]=_0x2b4520;}[_0x3c0d86(0x174)](_0x3e4a2e){const _0xbc4057=_0x3c0d86;let _0xff7bb7=_0xe0dad8;if(this['_payloadLength']){if(this[_0xbc4057(0x1ec)]<this[_0xbc4057(0x189)]){this[_0xbc4057(0x1e3)]=!0x1;return;}_0xff7bb7=this[_0xbc4057(0x14d)](this['_payloadLength']),this[_0xbc4057(0x12b)]&&(this[_0xbc4057(0x1eb)][0x0]|this[_0xbc4057(0x1eb)][0x1]|this[_0xbc4057(0x1eb)][0x2]|this[_0xbc4057(0x1eb)][0x3])!==0x0&&_0x28a87b(_0xff7bb7,this[_0xbc4057(0x1eb)]);}if(this[_0xbc4057(0x1f1)]>0x7){this[_0xbc4057(0x215)](_0xff7bb7,_0x3e4a2e);return;}if(this[_0xbc4057(0x123)]){this['_state']=_0x352a24,this[_0xbc4057(0x1c1)](_0xff7bb7,_0x3e4a2e);return;}_0xff7bb7['length']&&(this['_messageLength']=this[_0xbc4057(0x16f)],this['_fragments'][_0xbc4057(0x1f0)](_0xff7bb7)),this[_0xbc4057(0xbd)](_0x3e4a2e);}[_0x3c0d86(0x1c1)](_0x148af7,_0x5af5b2){const _0x1949ba=_0x3c0d86;this[_0x1949ba(0xd4)][_0x367201['extensionName']][_0x1949ba(0x1c1)](_0x148af7,this['_fin'],(_0x460dd5,_0x70f5b7)=>{const _0x5b1c78=_0x1949ba;if(_0x460dd5)return _0x5af5b2(_0x460dd5);if(_0x70f5b7['length']){if(this[_0x5b1c78(0xf1)]+=_0x70f5b7['length'],this['_messageLength']>this[_0x5b1c78(0x1ad)]&&this[_0x5b1c78(0x1ad)]>0x0){const _0x9ed3ac=this[_0x5b1c78(0x125)](RangeError,_0x5b1c78(0x21e),!0x1,0x3f1,_0x5b1c78(0x211));_0x5af5b2(_0x9ed3ac);return;}this['_fragments']['push'](_0x70f5b7);}this[_0x5b1c78(0xbd)](_0x5af5b2),this[_0x5b1c78(0xbc)]===_0x1ef21e&&this[_0x5b1c78(0x143)](_0x5af5b2);});}[_0x3c0d86(0xbd)](_0x20b97d){const _0x2f50ae=_0x3c0d86;if(!this[_0x2f50ae(0xed)]){this[_0x2f50ae(0xbc)]=_0x1ef21e;return;}const _0x3cc83b=this[_0x2f50ae(0xf1)],_0x2882e6=this[_0x2f50ae(0xef)];if(this[_0x2f50ae(0x16f)]=0x0,this[_0x2f50ae(0xf1)]=0x0,this[_0x2f50ae(0x1ba)]=0x0,this[_0x2f50ae(0xef)]=[],this[_0x2f50ae(0x1f1)]===0x2){let _0x1d0253;this[_0x2f50ae(0x160)]===_0x2f50ae(0x246)?_0x1d0253=_0xa1ea8b(_0x2882e6,_0x3cc83b):this[_0x2f50ae(0x160)]==='arraybuffer'?_0x1d0253=_0x41ef8e(_0xa1ea8b(_0x2882e6,_0x3cc83b)):this[_0x2f50ae(0x160)]==='blob'?_0x1d0253=new Blob(_0x2882e6):_0x1d0253=_0x2882e6,this[_0x2f50ae(0x132)]?(this[_0x2f50ae(0x22a)](_0x2f50ae(0x144),_0x1d0253,!0x0),this[_0x2f50ae(0xbc)]=_0x1ef21e):(this[_0x2f50ae(0xbc)]=_0x200024,setImmediate(()=>{const _0x59318a=_0x2f50ae;this[_0x59318a(0x22a)](_0x59318a(0x144),_0x1d0253,!0x0),this[_0x59318a(0xbc)]=_0x1ef21e,this[_0x59318a(0x143)](_0x20b97d);}));}else{const _0x4937bf=_0xa1ea8b(_0x2882e6,_0x3cc83b);if(!this[_0x2f50ae(0x111)]&&!_0x34158c(_0x4937bf)){const _0x3256e2=this[_0x2f50ae(0x125)](Error,_0x2f50ae(0x22c),!0x0,0x3ef,_0x2f50ae(0x12c));_0x20b97d(_0x3256e2);return;}this['_state']===_0x352a24||this['_allowSynchronousEvents']?(this[_0x2f50ae(0x22a)](_0x2f50ae(0x144),_0x4937bf,!0x1),this[_0x2f50ae(0xbc)]=_0x1ef21e):(this[_0x2f50ae(0xbc)]=_0x200024,setImmediate(()=>{const _0x572a64=_0x2f50ae;this['emit'](_0x572a64(0x144),_0x4937bf,!0x1),this['_state']=_0x1ef21e,this[_0x572a64(0x143)](_0x20b97d);}));}}['controlMessage'](_0x68e94b,_0x1aa358){const _0x5962b3=_0x3c0d86;if(this['_opcode']===0x8){if(_0x68e94b['length']===0x0)this[_0x5962b3(0x1e3)]=!0x1,this['emit'](_0x5962b3(0x241),0x3ed,_0xe0dad8),this[_0x5962b3(0x21f)]();else{const _0x31f6bf=_0x68e94b[_0x5962b3(0x15e)](0x0);if(!_0x1d4298(_0x31f6bf)){const _0x148db6=this[_0x5962b3(0x125)](RangeError,'invalid\x20status\x20code\x20'+_0x31f6bf,!0x0,0x3ea,_0x5962b3(0x24b));_0x1aa358(_0x148db6);return;}const _0x27dafd=new _0x193dfb(_0x68e94b[_0x5962b3(0xc7)],_0x68e94b['byteOffset']+0x2,_0x68e94b[_0x5962b3(0x244)]-0x2);if(!this[_0x5962b3(0x111)]&&!_0x34158c(_0x27dafd)){const _0x534487=this[_0x5962b3(0x125)](Error,_0x5962b3(0x22c),!0x0,0x3ef,_0x5962b3(0x12c));_0x1aa358(_0x534487);return;}this['_loop']=!0x1,this['emit']('conclude',_0x31f6bf,_0x27dafd),this[_0x5962b3(0x21f)]();}this[_0x5962b3(0xbc)]=_0x1ef21e;return;}this[_0x5962b3(0x132)]?(this[_0x5962b3(0x22a)](this[_0x5962b3(0x1f1)]===0x9?'ping':_0x5962b3(0x1d4),_0x68e94b),this[_0x5962b3(0xbc)]=_0x1ef21e):(this[_0x5962b3(0xbc)]=_0x200024,setImmediate(()=>{const _0x43c2fc=_0x5962b3;this['emit'](this[_0x43c2fc(0x1f1)]===0x9?_0x43c2fc(0x153):_0x43c2fc(0x1d4),_0x68e94b),this[_0x43c2fc(0xbc)]=_0x1ef21e,this[_0x43c2fc(0x143)](_0x1aa358);}));}[_0x3c0d86(0x125)](_0x355c95,_0x226c02,_0x164c1d,_0x117352,_0x4c620e){const _0x14b726=_0x3c0d86;this[_0x14b726(0x1e3)]=!0x1,this[_0x14b726(0x131)]=!0x0;const _0x3b77cf=new _0x355c95(_0x164c1d?_0x14b726(0x18c)+_0x226c02:_0x226c02);return Error[_0x14b726(0xc4)](_0x3b77cf,this['createError']),_0x3b77cf[_0x14b726(0x1b7)]=_0x4c620e,_0x3b77cf[_0x479c8e]=_0x117352,_0x3b77cf;}}return Se=_0x26ed61,Se;}var Ee,et;function _t(){const _0x3b228a=_0x16ef4a;if(et)return Ee;et=0x1;const {Duplex:_0x22c70d}=_0x346fec,{randomFillSync:_0xa52e59}=_0x33bd52,_0x18d650=he(),{EMPTY_BUFFER:_0x340208,kWebSocket:_0x1f8c59,NOOP:_0x3b0d87}=V(),{isBlob:_0x26610d,isValidStatusCode:_0x5db663}=ne(),{mask:_0x210c5d,toBuffer:_0xffd698}=ce(),_0x5b6f8f=Symbol('kByteLength'),_0x5a438f=Buffer[_0x3b228a(0x1d8)](0x4),_0x11b9c0=0x8*0x400;let _0x13ea8d,_0x2df5ad=_0x11b9c0;const _0x4dc36c=0x0,_0xae9ebb=0x1,_0x1ce2ef=0x2;class _0x4bf389{constructor(_0x5e6294,_0x138b5f,_0x404d29){const _0x5f3ff9=_0x3b228a;this[_0x5f3ff9(0xd4)]=_0x138b5f||{},_0x404d29&&(this['_generateMask']=_0x404d29,this[_0x5f3ff9(0x21a)]=Buffer[_0x5f3ff9(0x1d8)](0x4)),this[_0x5f3ff9(0x152)]=_0x5e6294,this['_firstFragment']=!0x0,this[_0x5f3ff9(0xff)]=!0x1,this['_bufferedBytes']=0x0,this[_0x5f3ff9(0x10a)]=[],this[_0x5f3ff9(0xbc)]=_0x4dc36c,this['onerror']=_0x3b0d87,this[_0x1f8c59]=void 0x0;}static[_0x3b228a(0x11c)](_0x16e268,_0x252f8f){const _0x2c5abf=_0x3b228a;let _0x41e8c6,_0x2cf7b4=!0x1,_0x431bc9=0x2,_0x4e1f98=!0x1;_0x252f8f[_0x2c5abf(0x140)]&&(_0x41e8c6=_0x252f8f['maskBuffer']||_0x5a438f,_0x252f8f[_0x2c5abf(0x19f)]?_0x252f8f[_0x2c5abf(0x19f)](_0x41e8c6):(_0x2df5ad===_0x11b9c0&&(_0x13ea8d===void 0x0&&(_0x13ea8d=Buffer[_0x2c5abf(0x1d8)](_0x11b9c0)),_0xa52e59(_0x13ea8d,0x0,_0x11b9c0),_0x2df5ad=0x0),_0x41e8c6[0x0]=_0x13ea8d[_0x2df5ad++],_0x41e8c6[0x1]=_0x13ea8d[_0x2df5ad++],_0x41e8c6[0x2]=_0x13ea8d[_0x2df5ad++],_0x41e8c6[0x3]=_0x13ea8d[_0x2df5ad++]),_0x4e1f98=(_0x41e8c6[0x0]|_0x41e8c6[0x1]|_0x41e8c6[0x2]|_0x41e8c6[0x3])===0x0,_0x431bc9=0x6);let _0x30c69a;typeof _0x16e268==_0x2c5abf(0xdd)?(!_0x252f8f[_0x2c5abf(0x140)]||_0x4e1f98)&&_0x252f8f[_0x5b6f8f]!==void 0x0?_0x30c69a=_0x252f8f[_0x5b6f8f]:(_0x16e268=Buffer[_0x2c5abf(0x21b)](_0x16e268),_0x30c69a=_0x16e268['length']):(_0x30c69a=_0x16e268[_0x2c5abf(0x244)],_0x2cf7b4=_0x252f8f[_0x2c5abf(0x140)]&&_0x252f8f['readOnly']&&!_0x4e1f98);let _0xfbccd1=_0x30c69a;_0x30c69a>=0x10000?(_0x431bc9+=0x8,_0xfbccd1=0x7f):_0x30c69a>0x7d&&(_0x431bc9+=0x2,_0xfbccd1=0x7e);const _0x1ebb81=Buffer['allocUnsafe'](_0x2cf7b4?_0x30c69a+_0x431bc9:_0x431bc9);return _0x1ebb81[0x0]=_0x252f8f[_0x2c5abf(0x20b)]?_0x252f8f[_0x2c5abf(0x1cb)]|0x80:_0x252f8f[_0x2c5abf(0x1cb)],_0x252f8f[_0x2c5abf(0x10b)]&&(_0x1ebb81[0x0]|=0x40),_0x1ebb81[0x1]=_0xfbccd1,_0xfbccd1===0x7e?_0x1ebb81[_0x2c5abf(0x252)](_0x30c69a,0x2):_0xfbccd1===0x7f&&(_0x1ebb81[0x2]=_0x1ebb81[0x3]=0x0,_0x1ebb81[_0x2c5abf(0x184)](_0x30c69a,0x4,0x6)),_0x252f8f[_0x2c5abf(0x140)]?(_0x1ebb81[0x1]|=0x80,_0x1ebb81[_0x431bc9-0x4]=_0x41e8c6[0x0],_0x1ebb81[_0x431bc9-0x3]=_0x41e8c6[0x1],_0x1ebb81[_0x431bc9-0x2]=_0x41e8c6[0x2],_0x1ebb81[_0x431bc9-0x1]=_0x41e8c6[0x3],_0x4e1f98?[_0x1ebb81,_0x16e268]:_0x2cf7b4?(_0x210c5d(_0x16e268,_0x41e8c6,_0x1ebb81,_0x431bc9,_0x30c69a),[_0x1ebb81]):(_0x210c5d(_0x16e268,_0x41e8c6,_0x16e268,0x0,_0x30c69a),[_0x1ebb81,_0x16e268])):[_0x1ebb81,_0x16e268];}[_0x3b228a(0xd1)](_0x32a7dc,_0x89873a,_0x1f241b,_0x79a3c5){const _0x2a5c35=_0x3b228a;let _0x13b440;if(_0x32a7dc===void 0x0)_0x13b440=_0x340208;else{if(typeof _0x32a7dc!=_0x2a5c35(0x1c7)||!_0x5db663(_0x32a7dc))throw new TypeError(_0x2a5c35(0x1ab));if(_0x89873a===void 0x0||!_0x89873a['length'])_0x13b440=Buffer[_0x2a5c35(0x135)](0x2),_0x13b440['writeUInt16BE'](_0x32a7dc,0x0);else{const _0x2f8fd8=Buffer[_0x2a5c35(0xf4)](_0x89873a);if(_0x2f8fd8>0x7b)throw new RangeError(_0x2a5c35(0x11f));_0x13b440=Buffer[_0x2a5c35(0x135)](0x2+_0x2f8fd8),_0x13b440[_0x2a5c35(0x252)](_0x32a7dc,0x0),typeof _0x89873a=='string'?_0x13b440[_0x2a5c35(0x26a)](_0x89873a,0x2):_0x13b440[_0x2a5c35(0x167)](_0x89873a,0x2);}}const _0x4e88bc={[_0x5b6f8f]:_0x13b440[_0x2a5c35(0x244)],'fin':!0x0,'generateMask':this[_0x2a5c35(0x1f9)],'mask':_0x1f241b,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2a5c35(0xbc)]!==_0x4dc36c?this[_0x2a5c35(0x24f)]([this[_0x2a5c35(0xbe)],_0x13b440,!0x1,_0x4e88bc,_0x79a3c5]):this[_0x2a5c35(0xf8)](_0x4bf389['frame'](_0x13b440,_0x4e88bc),_0x79a3c5);}['ping'](_0xb66217,_0x2e0dbb,_0x584343){const _0x137fb3=_0x3b228a;let _0x6ba00,_0x42bd24;if(typeof _0xb66217==_0x137fb3(0xdd)?(_0x6ba00=Buffer[_0x137fb3(0xf4)](_0xb66217),_0x42bd24=!0x1):_0x26610d(_0xb66217)?(_0x6ba00=_0xb66217['size'],_0x42bd24=!0x1):(_0xb66217=_0xffd698(_0xb66217),_0x6ba00=_0xb66217[_0x137fb3(0x244)],_0x42bd24=_0xffd698[_0x137fb3(0xd8)]),_0x6ba00>0x7d)throw new RangeError(_0x137fb3(0xc3));const _0x3e116d={[_0x5b6f8f]:_0x6ba00,'fin':!0x0,'generateMask':this[_0x137fb3(0x1f9)],'mask':_0x2e0dbb,'maskBuffer':this[_0x137fb3(0x21a)],'opcode':0x9,'readOnly':_0x42bd24,'rsv1':!0x1};_0x26610d(_0xb66217)?this[_0x137fb3(0xbc)]!==_0x4dc36c?this[_0x137fb3(0x24f)]([this[_0x137fb3(0x13e)],_0xb66217,!0x1,_0x3e116d,_0x584343]):this[_0x137fb3(0x13e)](_0xb66217,!0x1,_0x3e116d,_0x584343):this[_0x137fb3(0xbc)]!==_0x4dc36c?this[_0x137fb3(0x24f)]([this[_0x137fb3(0xbe)],_0xb66217,!0x1,_0x3e116d,_0x584343]):this[_0x137fb3(0xf8)](_0x4bf389[_0x137fb3(0x11c)](_0xb66217,_0x3e116d),_0x584343);}[_0x3b228a(0x1d4)](_0x269a22,_0x2602a0,_0x42b3d6){const _0x207e1e=_0x3b228a;let _0x52a629,_0x45e017;if(typeof _0x269a22==_0x207e1e(0xdd)?(_0x52a629=Buffer[_0x207e1e(0xf4)](_0x269a22),_0x45e017=!0x1):_0x26610d(_0x269a22)?(_0x52a629=_0x269a22[_0x207e1e(0x268)],_0x45e017=!0x1):(_0x269a22=_0xffd698(_0x269a22),_0x52a629=_0x269a22['length'],_0x45e017=_0xffd698[_0x207e1e(0xd8)]),_0x52a629>0x7d)throw new RangeError(_0x207e1e(0xc3));const _0x4cc669={[_0x5b6f8f]:_0x52a629,'fin':!0x0,'generateMask':this[_0x207e1e(0x1f9)],'mask':_0x2602a0,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x45e017,'rsv1':!0x1};_0x26610d(_0x269a22)?this[_0x207e1e(0xbc)]!==_0x4dc36c?this[_0x207e1e(0x24f)]([this['getBlobData'],_0x269a22,!0x1,_0x4cc669,_0x42b3d6]):this[_0x207e1e(0x13e)](_0x269a22,!0x1,_0x4cc669,_0x42b3d6):this[_0x207e1e(0xbc)]!==_0x4dc36c?this[_0x207e1e(0x24f)]([this[_0x207e1e(0xbe)],_0x269a22,!0x1,_0x4cc669,_0x42b3d6]):this['sendFrame'](_0x4bf389[_0x207e1e(0x11c)](_0x269a22,_0x4cc669),_0x42b3d6);}[_0x3b228a(0x16b)](_0x465cc5,_0x112594,_0x395de9){const _0x5d6c0f=_0x3b228a,_0x352e83=this['_extensions'][_0x18d650[_0x5d6c0f(0x1e5)]];let _0x14b7ee=_0x112594[_0x5d6c0f(0x23d)]?0x2:0x1,_0x19ea65=_0x112594[_0x5d6c0f(0x1ed)],_0x525469,_0x499599;typeof _0x465cc5==_0x5d6c0f(0xdd)?(_0x525469=Buffer[_0x5d6c0f(0xf4)](_0x465cc5),_0x499599=!0x1):_0x26610d(_0x465cc5)?(_0x525469=_0x465cc5['size'],_0x499599=!0x1):(_0x465cc5=_0xffd698(_0x465cc5),_0x525469=_0x465cc5[_0x5d6c0f(0x244)],_0x499599=_0xffd698[_0x5d6c0f(0xd8)]),this[_0x5d6c0f(0x100)]?(this[_0x5d6c0f(0x100)]=!0x1,_0x19ea65&&_0x352e83&&_0x352e83[_0x5d6c0f(0x138)][_0x352e83[_0x5d6c0f(0x101)]?'server_no_context_takeover':_0x5d6c0f(0x117)]&&(_0x19ea65=_0x525469>=_0x352e83['_threshold']),this[_0x5d6c0f(0xff)]=_0x19ea65):(_0x19ea65=!0x1,_0x14b7ee=0x0),_0x112594[_0x5d6c0f(0x20b)]&&(this[_0x5d6c0f(0x100)]=!0x0);const _0x444e92={[_0x5b6f8f]:_0x525469,'fin':_0x112594[_0x5d6c0f(0x20b)],'generateMask':this[_0x5d6c0f(0x1f9)],'mask':_0x112594[_0x5d6c0f(0x140)],'maskBuffer':this[_0x5d6c0f(0x21a)],'opcode':_0x14b7ee,'readOnly':_0x499599,'rsv1':_0x19ea65};_0x26610d(_0x465cc5)?this[_0x5d6c0f(0xbc)]!==_0x4dc36c?this[_0x5d6c0f(0x24f)]([this['getBlobData'],_0x465cc5,this[_0x5d6c0f(0xff)],_0x444e92,_0x395de9]):this[_0x5d6c0f(0x13e)](_0x465cc5,this[_0x5d6c0f(0xff)],_0x444e92,_0x395de9):this[_0x5d6c0f(0xbc)]!==_0x4dc36c?this[_0x5d6c0f(0x24f)]([this[_0x5d6c0f(0xbe)],_0x465cc5,this[_0x5d6c0f(0xff)],_0x444e92,_0x395de9]):this[_0x5d6c0f(0xbe)](_0x465cc5,this[_0x5d6c0f(0xff)],_0x444e92,_0x395de9);}['getBlobData'](_0x39ff18,_0x476813,_0x18720a,_0x41b17d){const _0x1df20f=_0x3b228a;this[_0x1df20f(0x1ec)]+=_0x18720a[_0x5b6f8f],this[_0x1df20f(0xbc)]=_0x1ce2ef,_0x39ff18['arrayBuffer']()[_0x1df20f(0x1fc)](_0x3d56b9=>{const _0x57631f=_0x1df20f;if(this[_0x57631f(0x152)]['destroyed']){const _0x1e6905=new Error(_0x57631f(0x259));process[_0x57631f(0x1ee)](_0x4e8b7e,this,_0x1e6905,_0x41b17d);return;}this[_0x57631f(0x1ec)]-=_0x18720a[_0x5b6f8f];const _0x2fba1b=_0xffd698(_0x3d56b9);_0x476813?this['dispatch'](_0x2fba1b,_0x476813,_0x18720a,_0x41b17d):(this[_0x57631f(0xbc)]=_0x4dc36c,this['sendFrame'](_0x4bf389[_0x57631f(0x11c)](_0x2fba1b,_0x18720a),_0x41b17d),this[_0x57631f(0x1db)]());})['catch'](_0x3e2c8a=>{const _0x4aef01=_0x1df20f;process[_0x4aef01(0x1ee)](_0xa7813e,this,_0x3e2c8a,_0x41b17d);});}[_0x3b228a(0xbe)](_0x3a562f,_0x17f7b1,_0x5ac46c,_0x411e24){const _0x21945f=_0x3b228a;if(!_0x17f7b1){this['sendFrame'](_0x4bf389[_0x21945f(0x11c)](_0x3a562f,_0x5ac46c),_0x411e24);return;}const _0x78e486=this[_0x21945f(0xd4)][_0x18d650[_0x21945f(0x1e5)]];this['_bufferedBytes']+=_0x5ac46c[_0x5b6f8f],this[_0x21945f(0xbc)]=_0xae9ebb,_0x78e486['compress'](_0x3a562f,_0x5ac46c[_0x21945f(0x20b)],(_0x4bbe52,_0x2c5dd5)=>{const _0x8aeff0=_0x21945f;if(this[_0x8aeff0(0x152)][_0x8aeff0(0x124)]){const _0x394421=new Error(_0x8aeff0(0x267));_0x4e8b7e(this,_0x394421,_0x411e24);return;}this[_0x8aeff0(0x1ec)]-=_0x5ac46c[_0x5b6f8f],this[_0x8aeff0(0xbc)]=_0x4dc36c,_0x5ac46c['readOnly']=!0x1,this[_0x8aeff0(0xf8)](_0x4bf389[_0x8aeff0(0x11c)](_0x2c5dd5,_0x5ac46c),_0x411e24),this[_0x8aeff0(0x1db)]();});}['dequeue'](){const _0x3dde35=_0x3b228a;for(;this['_state']===_0x4dc36c&&this[_0x3dde35(0x10a)]['length'];){const _0x4bcbc9=this[_0x3dde35(0x10a)][_0x3dde35(0x15d)]();this[_0x3dde35(0x1ec)]-=_0x4bcbc9[0x3][_0x5b6f8f],Reflect[_0x3dde35(0xe2)](_0x4bcbc9[0x0],this,_0x4bcbc9[_0x3dde35(0x216)](0x1));}}[_0x3b228a(0x24f)](_0xa0cbdd){const _0x544dcd=_0x3b228a;this[_0x544dcd(0x1ec)]+=_0xa0cbdd[0x3][_0x5b6f8f],this['_queue']['push'](_0xa0cbdd);}[_0x3b228a(0xf8)](_0x4ec511,_0x82a34){const _0x4b548d=_0x3b228a;_0x4ec511[_0x4b548d(0x244)]===0x2?(this[_0x4b548d(0x152)][_0x4b548d(0xda)](),this[_0x4b548d(0x152)]['write'](_0x4ec511[0x0]),this[_0x4b548d(0x152)][_0x4b548d(0x26a)](_0x4ec511[0x1],_0x82a34),this['_socket'][_0x4b548d(0x12e)]()):this[_0x4b548d(0x152)][_0x4b548d(0x26a)](_0x4ec511[0x0],_0x82a34);}}Ee=_0x4bf389;function _0x4e8b7e(_0x3616e4,_0x178a05,_0xc6a478){const _0x3af4ed=_0x3b228a;typeof _0xc6a478==_0x3af4ed(0xd5)&&_0xc6a478(_0x178a05);for(let _0x1a72bb=0x0;_0x1a72bb<_0x3616e4[_0x3af4ed(0x10a)][_0x3af4ed(0x244)];_0x1a72bb++){const _0x22c1a3=_0x3616e4['_queue'][_0x1a72bb],_0x774d73=_0x22c1a3[_0x22c1a3[_0x3af4ed(0x244)]-0x1];typeof _0x774d73==_0x3af4ed(0xd5)&&_0x774d73(_0x178a05);}}function _0xa7813e(_0x4b8228,_0xd0cfff,_0x7244df){const _0x479555=_0x3b228a;_0x4e8b7e(_0x4b8228,_0xd0cfff,_0x7244df),_0x4b8228[_0x479555(0x1b4)](_0xd0cfff);}return Ee;}var xe,tt;function Kt(){const _0x576973=_0x16ef4a;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1f9a05,kListener:_0x49ed17}=V(),_0x3180dd=Symbol(_0x576973(0xbf)),_0x546490=Symbol('kData'),_0x208213=Symbol(_0x576973(0x198)),_0x2523fd=Symbol(_0x576973(0x1df)),_0x1907e1=Symbol(_0x576973(0x10c)),_0x5d2975=Symbol(_0x576973(0x1a0)),_0x36098a=Symbol(_0x576973(0x172)),_0x4ea4bb=Symbol('kWasClean');class _0x2b3486{constructor(_0x4d1cfd){this[_0x5d2975]=null,this[_0x36098a]=_0x4d1cfd;}get['target'](){return this[_0x5d2975];}get[_0x576973(0x19c)](){return this[_0x36098a];}}Object[_0x576973(0x25a)](_0x2b3486[_0x576973(0x20a)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x2b3486[_0x576973(0x20a)],_0x576973(0x19c),{'enumerable':!0x0});class _0x485a96 extends _0x2b3486{constructor(_0x5e6dde,_0x92a771={}){const _0x25a024=_0x576973;super(_0x5e6dde),this[_0x3180dd]=_0x92a771[_0x25a024(0x1b7)]===void 0x0?0x0:_0x92a771[_0x25a024(0x1b7)],this[_0x1907e1]=_0x92a771[_0x25a024(0x157)]===void 0x0?'':_0x92a771[_0x25a024(0x157)],this[_0x4ea4bb]=_0x92a771[_0x25a024(0x183)]===void 0x0?!0x1:_0x92a771[_0x25a024(0x183)];}get[_0x576973(0x1b7)](){return this[_0x3180dd];}get[_0x576973(0x157)](){return this[_0x1907e1];}get['wasClean'](){return this[_0x4ea4bb];}}Object['defineProperty'](_0x485a96[_0x576973(0x20a)],_0x576973(0x1b7),{'enumerable':!0x0}),Object[_0x576973(0x25a)](_0x485a96[_0x576973(0x20a)],_0x576973(0x157),{'enumerable':!0x0}),Object[_0x576973(0x25a)](_0x485a96[_0x576973(0x20a)],_0x576973(0x183),{'enumerable':!0x0});class _0x300113 extends _0x2b3486{constructor(_0x39a756,_0x2d40a9={}){const _0x37cea9=_0x576973;super(_0x39a756),this[_0x208213]=_0x2d40a9[_0x37cea9(0x199)]===void 0x0?null:_0x2d40a9['error'],this[_0x2523fd]=_0x2d40a9[_0x37cea9(0x144)]===void 0x0?'':_0x2d40a9['message'];}get['error'](){return this[_0x208213];}get[_0x576973(0x144)](){return this[_0x2523fd];}}Object[_0x576973(0x25a)](_0x300113[_0x576973(0x20a)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x300113[_0x576973(0x20a)],_0x576973(0x144),{'enumerable':!0x0});class _0x2b8c92 extends _0x2b3486{constructor(_0x5e7227,_0x3affbc={}){const _0x291448=_0x576973;super(_0x5e7227),this[_0x546490]=_0x3affbc[_0x291448(0x266)]===void 0x0?null:_0x3affbc[_0x291448(0x266)];}get['data'](){return this[_0x546490];}}Object[_0x576973(0x25a)](_0x2b8c92['prototype'],_0x576973(0x266),{'enumerable':!0x0}),xe={'CloseEvent':_0x485a96,'ErrorEvent':_0x300113,'Event':_0x2b3486,'EventTarget':{'addEventListener'(_0x3341c7,_0x2fa541,_0x8770c2={}){const _0x5bbb19=_0x576973;for(const _0x484604 of this[_0x5bbb19(0x210)](_0x3341c7))if(!_0x8770c2[_0x1f9a05]&&_0x484604[_0x49ed17]===_0x2fa541&&!_0x484604[_0x1f9a05])return;let _0x207441;if(_0x3341c7===_0x5bbb19(0x144))_0x207441=function(_0x41f4a6,_0x41eaad){const _0x1eff72=_0x5bbb19,_0x59aea=new _0x2b8c92('message',{'data':_0x41eaad?_0x41f4a6:_0x41f4a6[_0x1eff72(0x1b6)]()});_0x59aea[_0x5d2975]=this,_0x1cd5a5(_0x2fa541,this,_0x59aea);};else{if(_0x3341c7==='close')_0x207441=function(_0x35c22d,_0x53bb23){const _0x182b11=_0x5bbb19,_0x128fcf=new _0x485a96(_0x182b11(0xd1),{'code':_0x35c22d,'reason':_0x53bb23['toString'](),'wasClean':this[_0x182b11(0x133)]&&this[_0x182b11(0xc1)]});_0x128fcf[_0x5d2975]=this,_0x1cd5a5(_0x2fa541,this,_0x128fcf);};else{if(_0x3341c7===_0x5bbb19(0x199))_0x207441=function(_0x2f7b28){const _0x1786ea=_0x5bbb19,_0x516e8e=new _0x300113(_0x1786ea(0x199),{'error':_0x2f7b28,'message':_0x2f7b28['message']});_0x516e8e[_0x5d2975]=this,_0x1cd5a5(_0x2fa541,this,_0x516e8e);};else{if(_0x3341c7===_0x5bbb19(0xc6))_0x207441=function(){const _0xf9c008=_0x5bbb19,_0x5cadcf=new _0x2b3486(_0xf9c008(0xc6));_0x5cadcf[_0x5d2975]=this,_0x1cd5a5(_0x2fa541,this,_0x5cadcf);};else return;}}}_0x207441[_0x1f9a05]=!!_0x8770c2[_0x1f9a05],_0x207441[_0x49ed17]=_0x2fa541,_0x8770c2[_0x5bbb19(0x248)]?this[_0x5bbb19(0x248)](_0x3341c7,_0x207441):this['on'](_0x3341c7,_0x207441);},'removeEventListener'(_0x3bc623,_0x100f51){const _0x31a301=_0x576973;for(const _0xf1a050 of this[_0x31a301(0x210)](_0x3bc623))if(_0xf1a050[_0x49ed17]===_0x100f51&&!_0xf1a050[_0x1f9a05]){this['removeListener'](_0x3bc623,_0xf1a050);break;}}},'MessageEvent':_0x2b8c92};function _0x1cd5a5(_0xf62c6b,_0x201f6d,_0x31b6df){const _0x237c8c=_0x576973;typeof _0xf62c6b==_0x237c8c(0x25d)&&_0xf62c6b[_0x237c8c(0x102)]?_0xf62c6b[_0x237c8c(0x102)]['call'](_0xf62c6b,_0x31b6df):_0xf62c6b[_0x237c8c(0x169)](_0x201f6d,_0x31b6df);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x36801e}=ne();function _0x1e4828(_0x591ed7,_0x17d3f0,_0x59fafd){const _0x5952b8=_0x3c60;_0x591ed7[_0x17d3f0]===void 0x0?_0x591ed7[_0x17d3f0]=[_0x59fafd]:_0x591ed7[_0x17d3f0][_0x5952b8(0x1f0)](_0x59fafd);}function _0x21cf57(_0x4a6b2a){const _0x30484d=_0x3c60,_0x224fb5=Object[_0x30484d(0x19a)](null);let _0x42a4f0=Object['create'](null),_0x8add98=!0x1,_0x4247e7=!0x1,_0x1d8923=!0x1,_0x11d4ce,_0x373949,_0x593a01=-0x1,_0x14f6f2=-0x1,_0xfe53a5=-0x1,_0xc6ce5=0x0;for(;_0xc6ce5<_0x4a6b2a[_0x30484d(0x244)];_0xc6ce5++)if(_0x14f6f2=_0x4a6b2a[_0x30484d(0x17e)](_0xc6ce5),_0x11d4ce===void 0x0){if(_0xfe53a5===-0x1&&_0x36801e[_0x14f6f2]===0x1)_0x593a01===-0x1&&(_0x593a01=_0xc6ce5);else{if(_0xc6ce5!==0x0&&(_0x14f6f2===0x20||_0x14f6f2===0x9))_0xfe53a5===-0x1&&_0x593a01!==-0x1&&(_0xfe53a5=_0xc6ce5);else{if(_0x14f6f2===0x3b||_0x14f6f2===0x2c){if(_0x593a01===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc6ce5);_0xfe53a5===-0x1&&(_0xfe53a5=_0xc6ce5);const _0x49bf4f=_0x4a6b2a[_0x30484d(0x216)](_0x593a01,_0xfe53a5);_0x14f6f2===0x2c?(_0x1e4828(_0x224fb5,_0x49bf4f,_0x42a4f0),_0x42a4f0=Object[_0x30484d(0x19a)](null)):_0x11d4ce=_0x49bf4f,_0x593a01=_0xfe53a5=-0x1;}else throw new SyntaxError(_0x30484d(0x1c9)+_0xc6ce5);}}}else{if(_0x373949===void 0x0){if(_0xfe53a5===-0x1&&_0x36801e[_0x14f6f2]===0x1)_0x593a01===-0x1&&(_0x593a01=_0xc6ce5);else{if(_0x14f6f2===0x20||_0x14f6f2===0x9)_0xfe53a5===-0x1&&_0x593a01!==-0x1&&(_0xfe53a5=_0xc6ce5);else{if(_0x14f6f2===0x3b||_0x14f6f2===0x2c){if(_0x593a01===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc6ce5);_0xfe53a5===-0x1&&(_0xfe53a5=_0xc6ce5),_0x1e4828(_0x42a4f0,_0x4a6b2a[_0x30484d(0x216)](_0x593a01,_0xfe53a5),!0x0),_0x14f6f2===0x2c&&(_0x1e4828(_0x224fb5,_0x11d4ce,_0x42a4f0),_0x42a4f0=Object[_0x30484d(0x19a)](null),_0x11d4ce=void 0x0),_0x593a01=_0xfe53a5=-0x1;}else{if(_0x14f6f2===0x3d&&_0x593a01!==-0x1&&_0xfe53a5===-0x1)_0x373949=_0x4a6b2a[_0x30484d(0x216)](_0x593a01,_0xc6ce5),_0x593a01=_0xfe53a5=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc6ce5);}}}}else{if(_0x4247e7){if(_0x36801e[_0x14f6f2]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc6ce5);_0x593a01===-0x1?_0x593a01=_0xc6ce5:_0x8add98||(_0x8add98=!0x0),_0x4247e7=!0x1;}else{if(_0x1d8923){if(_0x36801e[_0x14f6f2]===0x1)_0x593a01===-0x1&&(_0x593a01=_0xc6ce5);else{if(_0x14f6f2===0x22&&_0x593a01!==-0x1)_0x1d8923=!0x1,_0xfe53a5=_0xc6ce5;else{if(_0x14f6f2===0x5c)_0x4247e7=!0x0;else throw new SyntaxError(_0x30484d(0x1c9)+_0xc6ce5);}}}else{if(_0x14f6f2===0x22&&_0x4a6b2a[_0x30484d(0x17e)](_0xc6ce5-0x1)===0x3d)_0x1d8923=!0x0;else{if(_0xfe53a5===-0x1&&_0x36801e[_0x14f6f2]===0x1)_0x593a01===-0x1&&(_0x593a01=_0xc6ce5);else{if(_0x593a01!==-0x1&&(_0x14f6f2===0x20||_0x14f6f2===0x9))_0xfe53a5===-0x1&&(_0xfe53a5=_0xc6ce5);else{if(_0x14f6f2===0x3b||_0x14f6f2===0x2c){if(_0x593a01===-0x1)throw new SyntaxError(_0x30484d(0x1c9)+_0xc6ce5);_0xfe53a5===-0x1&&(_0xfe53a5=_0xc6ce5);let _0x108afa=_0x4a6b2a['slice'](_0x593a01,_0xfe53a5);_0x8add98&&(_0x108afa=_0x108afa[_0x30484d(0x22f)](/\\/g,''),_0x8add98=!0x1),_0x1e4828(_0x42a4f0,_0x373949,_0x108afa),_0x14f6f2===0x2c&&(_0x1e4828(_0x224fb5,_0x11d4ce,_0x42a4f0),_0x42a4f0=Object[_0x30484d(0x19a)](null),_0x11d4ce=void 0x0),_0x373949=void 0x0,_0x593a01=_0xfe53a5=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xc6ce5);}}}}}}}if(_0x593a01===-0x1||_0x1d8923||_0x14f6f2===0x20||_0x14f6f2===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0xfe53a5===-0x1&&(_0xfe53a5=_0xc6ce5);const _0x15a76b=_0x4a6b2a[_0x30484d(0x216)](_0x593a01,_0xfe53a5);return _0x11d4ce===void 0x0?_0x1e4828(_0x224fb5,_0x15a76b,_0x42a4f0):(_0x373949===void 0x0?_0x1e4828(_0x42a4f0,_0x15a76b,!0x0):_0x8add98?_0x1e4828(_0x42a4f0,_0x373949,_0x15a76b[_0x30484d(0x22f)](/\\/g,'')):_0x1e4828(_0x42a4f0,_0x373949,_0x15a76b),_0x1e4828(_0x224fb5,_0x11d4ce,_0x42a4f0)),_0x224fb5;}function _0x5cd76d(_0xe3c6ae){const _0x31dd88=_0x3c60;return Object[_0x31dd88(0x14c)](_0xe3c6ae)[_0x31dd88(0x234)](_0x377bc9=>{const _0x565d74=_0x31dd88;let _0xddaea3=_0xe3c6ae[_0x377bc9];return Array[_0x565d74(0x1c8)](_0xddaea3)||(_0xddaea3=[_0xddaea3]),_0xddaea3['map'](_0x5d75dc=>[_0x377bc9][_0x565d74(0xe5)](Object[_0x565d74(0x14c)](_0x5d75dc)[_0x565d74(0x234)](_0x4945c7=>{const _0x2a679a=_0x565d74;let _0x3700cf=_0x5d75dc[_0x4945c7];return Array[_0x2a679a(0x1c8)](_0x3700cf)||(_0x3700cf=[_0x3700cf]),_0x3700cf[_0x2a679a(0x234)](_0x4aef35=>_0x4aef35===!0x0?_0x4945c7:_0x4945c7+'='+_0x4aef35)['join'](';\x20');}))[_0x565d74(0x158)](';\x20'))[_0x565d74(0x158)](',\x20');})[_0x31dd88(0x158)](',\x20');}return be={'format':_0x5cd76d,'parse':_0x21cf57},be;}var we,st;function Ie(){const _0x1f3da4=_0x16ef4a;if(st)return we;st=0x1;const _0x1073c0=_0x5bb4bc,_0x3e44a7=_0x346de9,_0x397775=_0x26bf58,_0x234c9c=_0x4c85b5,_0x3a8902=_0x6029b3,{randomBytes:_0x309dbe,createHash:_0x3dedd8}=_0x33bd52,{Duplex:_0x25399e,Readable:_0x5cd856}=_0x346fec,{URL:_0x2837ad}=_0x17eee7,_0x59b8b5=he(),_0x3837bc=dt(),_0x22b682=_t(),{isBlob:_0x2c34ae}=ne(),{BINARY_TYPES:_0x3e8d87,EMPTY_BUFFER:_0x8bed12,GUID:_0x377413,kForOnEventAttribute:_0x1159f1,kListener:_0x864b9f,kStatusCode:_0x5c69a7,kWebSocket:_0x1e2acb,NOOP:_0xa24f84}=V(),{EventTarget:{addEventListener:_0x24bd34,removeEventListener:_0x2cce7a}}=Kt(),{format:_0x576dbf,parse:_0x44cc36}=pt(),{toBuffer:_0x8de95f}=ce(),_0x135919=0x1e*0x3e8,_0xd57549=Symbol(_0x1f3da4(0xdf)),_0x54a8bc=[0x8,0xd],_0x5c1761=[_0x1f3da4(0x223),_0x1f3da4(0x15f),_0x1f3da4(0x126),_0x1f3da4(0x204)],_0x250d51=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4083fc extends _0x1073c0{constructor(_0xb38a6c,_0x27ad69,_0x35a892){const _0x5afeeb=_0x1f3da4;super(),this['_binaryType']=_0x3e8d87[0x0],this[_0x5afeeb(0x21d)]=0x3ee,this[_0x5afeeb(0x133)]=!0x1,this[_0x5afeeb(0xc1)]=!0x1,this[_0x5afeeb(0x134)]=_0x8bed12,this[_0x5afeeb(0x235)]=null,this[_0x5afeeb(0x1be)]=!0x1,this['_extensions']={},this[_0x5afeeb(0x22e)]=!0x1,this['_protocol']='',this[_0x5afeeb(0x229)]=_0x4083fc[_0x5afeeb(0x223)],this[_0x5afeeb(0x15c)]=null,this[_0x5afeeb(0x15b)]=null,this[_0x5afeeb(0x152)]=null,_0xb38a6c!==null?(this[_0x5afeeb(0x182)]=0x0,this[_0x5afeeb(0x101)]=!0x1,this[_0x5afeeb(0x18b)]=0x0,_0x27ad69===void 0x0?_0x27ad69=[]:Array[_0x5afeeb(0x1c8)](_0x27ad69)||(typeof _0x27ad69==_0x5afeeb(0x25d)&&_0x27ad69!==null?(_0x35a892=_0x27ad69,_0x27ad69=[]):_0x27ad69=[_0x27ad69]),_0x2aba69(this,_0xb38a6c,_0x27ad69,_0x35a892)):(this['_autoPong']=_0x35a892[_0x5afeeb(0x203)],this[_0x5afeeb(0x101)]=!0x0);}get[_0x1f3da4(0x168)](){const _0x853bbc=_0x1f3da4;return this[_0x853bbc(0x160)];}set[_0x1f3da4(0x168)](_0x26c223){const _0x1f7b89=_0x1f3da4;_0x3e8d87['includes'](_0x26c223)&&(this['_binaryType']=_0x26c223,this[_0x1f7b89(0x15c)]&&(this['_receiver']['_binaryType']=_0x26c223));}get[_0x1f3da4(0x219)](){const _0x42ec04=_0x1f3da4;return this[_0x42ec04(0x152)]?this[_0x42ec04(0x152)][_0x42ec04(0x16d)][_0x42ec04(0x244)]+this[_0x42ec04(0x15b)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x1f3da4(0x265)](){const _0x4ad273=_0x1f3da4;return Object[_0x4ad273(0x14c)](this[_0x4ad273(0xd4)])['join']();}get[_0x1f3da4(0x1e1)](){const _0x341ed8=_0x1f3da4;return this[_0x341ed8(0x22e)];}get[_0x1f3da4(0xea)](){return null;}get[_0x1f3da4(0x1b4)](){return null;}get[_0x1f3da4(0x195)](){return null;}get['onmessage'](){return null;}get['protocol'](){const _0x4e937b=_0x1f3da4;return this[_0x4e937b(0x1a3)];}get['readyState'](){const _0x41a248=_0x1f3da4;return this[_0x41a248(0x229)];}get[_0x1f3da4(0x200)](){const _0x1f7964=_0x1f3da4;return this[_0x1f7964(0x147)];}[_0x1f3da4(0x11b)](_0x27e376,_0x9b5478,_0x7789f4){const _0x207b12=_0x1f3da4,_0x363164=new _0x3837bc({'allowSynchronousEvents':_0x7789f4[_0x207b12(0x24d)],'binaryType':this[_0x207b12(0x168)],'extensions':this['_extensions'],'isServer':this[_0x207b12(0x101)],'maxPayload':_0x7789f4['maxPayload'],'skipUTF8Validation':_0x7789f4[_0x207b12(0x11a)]}),_0xadd917=new _0x22b682(_0x27e376,this[_0x207b12(0xd4)],_0x7789f4[_0x207b12(0x19f)]);this['_receiver']=_0x363164,this[_0x207b12(0x15b)]=_0xadd917,this[_0x207b12(0x152)]=_0x27e376,_0x363164[_0x1e2acb]=this,_0xadd917[_0x1e2acb]=this,_0x27e376[_0x1e2acb]=this,_0x363164['on'](_0x207b12(0x241),_0x5aa0b2),_0x363164['on'](_0x207b12(0x232),_0x11492b),_0x363164['on']('error',_0x4af338),_0x363164['on'](_0x207b12(0x144),_0x5c4307),_0x363164['on'](_0x207b12(0x153),_0x116461),_0x363164['on']('pong',_0x5e2887),_0xadd917[_0x207b12(0x1b4)]=_0x4731a4,_0x27e376[_0x207b12(0x14a)]&&_0x27e376[_0x207b12(0x14a)](0x0),_0x27e376['setNoDelay']&&_0x27e376[_0x207b12(0x227)](),_0x9b5478['length']>0x0&&_0x27e376[_0x207b12(0x103)](_0x9b5478),_0x27e376['on'](_0x207b12(0xd1),_0x3e615e),_0x27e376['on'](_0x207b12(0x266),_0x5dfe76),_0x27e376['on'](_0x207b12(0x21f),_0x22a86c),_0x27e376['on']('error',_0x1497ad),this['_readyState']=_0x4083fc[_0x207b12(0x15f)],this[_0x207b12(0x22a)](_0x207b12(0xc6));}[_0x1f3da4(0x25e)](){const _0x7e9bac=_0x1f3da4;if(!this[_0x7e9bac(0x152)]){this['_readyState']=_0x4083fc[_0x7e9bac(0x204)],this['emit'](_0x7e9bac(0xd1),this[_0x7e9bac(0x21d)],this['_closeMessage']);return;}this['_extensions'][_0x59b8b5['extensionName']]&&this[_0x7e9bac(0xd4)][_0x59b8b5['extensionName']][_0x7e9bac(0xe8)](),this['_receiver']['removeAllListeners'](),this[_0x7e9bac(0x229)]=_0x4083fc['CLOSED'],this[_0x7e9bac(0x22a)]('close',this[_0x7e9bac(0x21d)],this[_0x7e9bac(0x134)]);}[_0x1f3da4(0xd1)](_0x5629d4,_0x7a3d84){const _0x2499df=_0x1f3da4;if(this[_0x2499df(0x192)]!==_0x4083fc[_0x2499df(0x204)]){if(this['readyState']===_0x4083fc[_0x2499df(0x223)]){_0x57552a(this,this['_req'],_0x2499df(0x225));return;}if(this['readyState']===_0x4083fc['CLOSING']){this[_0x2499df(0xc1)]&&(this[_0x2499df(0x133)]||this['_receiver'][_0x2499df(0x16d)]['errorEmitted'])&&this[_0x2499df(0x152)][_0x2499df(0x21f)]();return;}this[_0x2499df(0x229)]=_0x4083fc['CLOSING'],this[_0x2499df(0x15b)][_0x2499df(0xd1)](_0x5629d4,_0x7a3d84,!this['_isServer'],_0x84dd38=>{const _0x211cc5=_0x2499df;_0x84dd38||(this[_0x211cc5(0xc1)]=!0x0,(this['_closeFrameReceived']||this[_0x211cc5(0x15c)][_0x211cc5(0x16d)][_0x211cc5(0x22b)])&&this[_0x211cc5(0x152)][_0x211cc5(0x21f)]());}),_0x30af9e(this);}}['pause'](){const _0x1ef6cc=_0x1f3da4;this['readyState']===_0x4083fc[_0x1ef6cc(0x223)]||this[_0x1ef6cc(0x192)]===_0x4083fc[_0x1ef6cc(0x204)]||(this[_0x1ef6cc(0x22e)]=!0x0,this[_0x1ef6cc(0x152)][_0x1ef6cc(0x1cc)]());}[_0x1f3da4(0x153)](_0x4037dc,_0x3ad46c,_0x1c3e76){const _0x2cd90b=_0x1f3da4;if(this[_0x2cd90b(0x192)]===_0x4083fc[_0x2cd90b(0x223)])throw new Error(_0x2cd90b(0x249));if(typeof _0x4037dc=='function'?(_0x1c3e76=_0x4037dc,_0x4037dc=_0x3ad46c=void 0x0):typeof _0x3ad46c=='function'&&(_0x1c3e76=_0x3ad46c,_0x3ad46c=void 0x0),typeof _0x4037dc==_0x2cd90b(0x1c7)&&(_0x4037dc=_0x4037dc[_0x2cd90b(0x1b6)]()),this[_0x2cd90b(0x192)]!==_0x4083fc[_0x2cd90b(0x15f)]){_0x5a0545(this,_0x4037dc,_0x1c3e76);return;}_0x3ad46c===void 0x0&&(_0x3ad46c=!this[_0x2cd90b(0x101)]),this[_0x2cd90b(0x15b)][_0x2cd90b(0x153)](_0x4037dc||_0x8bed12,_0x3ad46c,_0x1c3e76);}[_0x1f3da4(0x1d4)](_0x9b2363,_0x408d11,_0x5a46a5){const _0xa6aa78=_0x1f3da4;if(this[_0xa6aa78(0x192)]===_0x4083fc[_0xa6aa78(0x223)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x9b2363=='function'?(_0x5a46a5=_0x9b2363,_0x9b2363=_0x408d11=void 0x0):typeof _0x408d11=='function'&&(_0x5a46a5=_0x408d11,_0x408d11=void 0x0),typeof _0x9b2363==_0xa6aa78(0x1c7)&&(_0x9b2363=_0x9b2363[_0xa6aa78(0x1b6)]()),this[_0xa6aa78(0x192)]!==_0x4083fc[_0xa6aa78(0x15f)]){_0x5a0545(this,_0x9b2363,_0x5a46a5);return;}_0x408d11===void 0x0&&(_0x408d11=!this[_0xa6aa78(0x101)]),this[_0xa6aa78(0x15b)][_0xa6aa78(0x1d4)](_0x9b2363||_0x8bed12,_0x408d11,_0x5a46a5);}[_0x1f3da4(0x163)](){const _0x554eff=_0x1f3da4;this[_0x554eff(0x192)]===_0x4083fc[_0x554eff(0x223)]||this['readyState']===_0x4083fc['CLOSED']||(this[_0x554eff(0x22e)]=!0x1,this[_0x554eff(0x15c)][_0x554eff(0x16d)][_0x554eff(0x253)]||this[_0x554eff(0x152)][_0x554eff(0x163)]());}[_0x1f3da4(0x16b)](_0x5cda63,_0x3392a5,_0x279440){const _0x4f8d0c=_0x1f3da4;if(this[_0x4f8d0c(0x192)]===_0x4083fc['CONNECTING'])throw new Error(_0x4f8d0c(0x249));if(typeof _0x3392a5==_0x4f8d0c(0xd5)&&(_0x279440=_0x3392a5,_0x3392a5={}),typeof _0x5cda63=='number'&&(_0x5cda63=_0x5cda63['toString']()),this['readyState']!==_0x4083fc[_0x4f8d0c(0x15f)]){_0x5a0545(this,_0x5cda63,_0x279440);return;}const _0x141a16={'binary':typeof _0x5cda63!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3392a5};this[_0x4f8d0c(0xd4)][_0x59b8b5[_0x4f8d0c(0x1e5)]]||(_0x141a16[_0x4f8d0c(0x1ed)]=!0x1),this[_0x4f8d0c(0x15b)]['send'](_0x5cda63||_0x8bed12,_0x141a16,_0x279440);}['terminate'](){const _0x188368=_0x1f3da4;if(this[_0x188368(0x192)]!==_0x4083fc[_0x188368(0x204)]){if(this[_0x188368(0x192)]===_0x4083fc[_0x188368(0x223)]){_0x57552a(this,this[_0x188368(0xf3)],_0x188368(0x225));return;}this['_socket']&&(this[_0x188368(0x229)]=_0x4083fc[_0x188368(0x126)],this[_0x188368(0x152)][_0x188368(0x1fb)]());}}}Object[_0x1f3da4(0x25a)](_0x4083fc,'CONNECTING',{'enumerable':!0x0,'value':_0x5c1761['indexOf'](_0x1f3da4(0x223))}),Object[_0x1f3da4(0x25a)](_0x4083fc[_0x1f3da4(0x20a)],_0x1f3da4(0x223),{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x223))}),Object[_0x1f3da4(0x25a)](_0x4083fc,_0x1f3da4(0x15f),{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x15f))}),Object[_0x1f3da4(0x25a)](_0x4083fc[_0x1f3da4(0x20a)],'OPEN',{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x15f))}),Object[_0x1f3da4(0x25a)](_0x4083fc,_0x1f3da4(0x126),{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x126))}),Object[_0x1f3da4(0x25a)](_0x4083fc[_0x1f3da4(0x20a)],_0x1f3da4(0x126),{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x126))}),Object['defineProperty'](_0x4083fc,_0x1f3da4(0x204),{'enumerable':!0x0,'value':_0x5c1761[_0x1f3da4(0x12f)](_0x1f3da4(0x204))}),Object[_0x1f3da4(0x25a)](_0x4083fc['prototype'],_0x1f3da4(0x204),{'enumerable':!0x0,'value':_0x5c1761['indexOf'](_0x1f3da4(0x204))}),[_0x1f3da4(0x168),'bufferedAmount','extensions','isPaused','protocol',_0x1f3da4(0x192),_0x1f3da4(0x200)][_0x1f3da4(0x220)](_0x439424=>{const _0x37e6e6=_0x1f3da4;Object['defineProperty'](_0x4083fc[_0x37e6e6(0x20a)],_0x439424,{'enumerable':!0x0});}),[_0x1f3da4(0xc6),_0x1f3da4(0x199),_0x1f3da4(0xd1),_0x1f3da4(0x144)][_0x1f3da4(0x220)](_0x7282a0=>{const _0x232d6f=_0x1f3da4;Object[_0x232d6f(0x25a)](_0x4083fc[_0x232d6f(0x20a)],'on'+_0x7282a0,{'enumerable':!0x0,'get'(){const _0x1b2e95=_0x232d6f;for(const _0x335756 of this[_0x1b2e95(0x210)](_0x7282a0))if(_0x335756[_0x1159f1])return _0x335756[_0x864b9f];return null;},'set'(_0x2c2b28){const _0x7276a7=_0x232d6f;for(const _0x3dd484 of this[_0x7276a7(0x210)](_0x7282a0))if(_0x3dd484[_0x1159f1]){this[_0x7276a7(0x260)](_0x7282a0,_0x3dd484);break;}typeof _0x2c2b28=='function'&&this[_0x7276a7(0x1cf)](_0x7282a0,_0x2c2b28,{[_0x1159f1]:!0x0});}});}),_0x4083fc[_0x1f3da4(0x20a)][_0x1f3da4(0x1cf)]=_0x24bd34,_0x4083fc[_0x1f3da4(0x20a)]['removeEventListener']=_0x2cce7a,we=_0x4083fc;function _0x2aba69(_0x509d85,_0x74ba87,_0x591ef2,_0x492b1f){const _0x28f2e3=_0x1f3da4,_0x422133={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x54a8bc[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x492b1f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x28f2e3(0xba),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x509d85[_0x28f2e3(0x13f)]=_0x422133[_0x28f2e3(0x203)],!_0x54a8bc[_0x28f2e3(0x1c4)](_0x422133['protocolVersion']))throw new RangeError(_0x28f2e3(0xe3)+_0x422133[_0x28f2e3(0x1f7)]+'\x20(supported\x20versions:\x20'+_0x54a8bc[_0x28f2e3(0x158)](',\x20')+')');let _0x56dae1;if(_0x74ba87 instanceof _0x2837ad)_0x56dae1=_0x74ba87;else try{_0x56dae1=new _0x2837ad(_0x74ba87);}catch{throw new SyntaxError(_0x28f2e3(0x228)+_0x74ba87);}_0x56dae1[_0x28f2e3(0x112)]===_0x28f2e3(0x176)?_0x56dae1[_0x28f2e3(0x112)]='ws:':_0x56dae1[_0x28f2e3(0x112)]===_0x28f2e3(0x1b8)&&(_0x56dae1[_0x28f2e3(0x112)]=_0x28f2e3(0x17f)),_0x509d85['_url']=_0x56dae1[_0x28f2e3(0x116)];const _0x57ad56=_0x56dae1[_0x28f2e3(0x112)]===_0x28f2e3(0x17f),_0x3d6ae8=_0x56dae1['protocol']==='ws+unix:';let _0x2680b6;if(_0x56dae1['protocol']!==_0x28f2e3(0x250)&&!_0x57ad56&&!_0x3d6ae8?_0x2680b6=_0x28f2e3(0x18d):_0x3d6ae8&&!_0x56dae1['pathname']?_0x2680b6=_0x28f2e3(0x262):_0x56dae1[_0x28f2e3(0x13a)]&&(_0x2680b6=_0x28f2e3(0xe1)),_0x2680b6){const _0x122839=new SyntaxError(_0x2680b6);if(_0x509d85[_0x28f2e3(0x18b)]===0x0)throw _0x122839;_0x3ae6fc(_0x509d85,_0x122839);return;}const _0x2b11a9=_0x57ad56?0x1bb:0x50,_0xd3b117=_0x309dbe(0x10)['toString']('base64'),_0x49dd7e=_0x57ad56?_0x3e44a7[_0x28f2e3(0x13c)]:_0x397775[_0x28f2e3(0x13c)],_0x7ab06e=new Set();let _0x90702b;if(_0x422133[_0x28f2e3(0x129)]=_0x422133[_0x28f2e3(0x129)]||(_0x57ad56?_0x1ed565:_0x2f6649),_0x422133[_0x28f2e3(0x118)]=_0x422133[_0x28f2e3(0x118)]||_0x2b11a9,_0x422133[_0x28f2e3(0x137)]=_0x56dae1[_0x28f2e3(0x137)]||_0x2b11a9,_0x422133[_0x28f2e3(0xcf)]=_0x56dae1[_0x28f2e3(0x10d)]['startsWith']('[')?_0x56dae1[_0x28f2e3(0x10d)][_0x28f2e3(0x216)](0x1,-0x1):_0x56dae1[_0x28f2e3(0x10d)],_0x422133['headers']={..._0x422133['headers'],'Sec-WebSocket-Version':_0x422133[_0x28f2e3(0x1f7)],'Sec-WebSocket-Key':_0xd3b117,'Connection':'Upgrade','Upgrade':_0x28f2e3(0x11e)},_0x422133['path']=_0x56dae1[_0x28f2e3(0x1c0)]+_0x56dae1['search'],_0x422133[_0x28f2e3(0x121)]=_0x422133[_0x28f2e3(0x128)],_0x422133[_0x28f2e3(0x1a6)]&&(_0x90702b=new _0x59b8b5(_0x422133[_0x28f2e3(0x1a6)]!==!0x0?_0x422133['perMessageDeflate']:{},!0x1,_0x422133[_0x28f2e3(0x1e0)]),_0x422133[_0x28f2e3(0x166)]['Sec-WebSocket-Extensions']=_0x576dbf({[_0x59b8b5['extensionName']]:_0x90702b[_0x28f2e3(0x136)]()})),_0x591ef2['length']){for(const _0x2c2fb0 of _0x591ef2){if(typeof _0x2c2fb0!=_0x28f2e3(0xdd)||!_0x250d51[_0x28f2e3(0x114)](_0x2c2fb0)||_0x7ab06e[_0x28f2e3(0x209)](_0x2c2fb0))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x7ab06e['add'](_0x2c2fb0);}_0x422133[_0x28f2e3(0x166)]['Sec-WebSocket-Protocol']=_0x591ef2['join'](',');}if(_0x422133[_0x28f2e3(0xbb)]&&(_0x422133['protocolVersion']<0xd?_0x422133['headers'][_0x28f2e3(0x188)]=_0x422133[_0x28f2e3(0xbb)]:_0x422133[_0x28f2e3(0x166)][_0x28f2e3(0x1d0)]=_0x422133[_0x28f2e3(0xbb)]),(_0x56dae1[_0x28f2e3(0x258)]||_0x56dae1[_0x28f2e3(0x20e)])&&(_0x422133['auth']=_0x56dae1['username']+':'+_0x56dae1['password']),_0x3d6ae8){const _0x585fb4=_0x422133[_0x28f2e3(0x236)]['split'](':');_0x422133['socketPath']=_0x585fb4[0x0],_0x422133[_0x28f2e3(0x236)]=_0x585fb4[0x1];}let _0x496703;if(_0x422133['followRedirects']){if(_0x509d85[_0x28f2e3(0x18b)]===0x0){_0x509d85[_0x28f2e3(0xcd)]=_0x3d6ae8,_0x509d85['_originalSecure']=_0x57ad56,_0x509d85[_0x28f2e3(0x130)]=_0x3d6ae8?_0x422133[_0x28f2e3(0xc0)]:_0x56dae1['host'];const _0x72473f=_0x492b1f&&_0x492b1f[_0x28f2e3(0x166)];if(_0x492b1f={..._0x492b1f,'headers':{}},_0x72473f){for(const [_0x55a759,_0x58cd70]of Object[_0x28f2e3(0x217)](_0x72473f))_0x492b1f[_0x28f2e3(0x166)][_0x55a759[_0x28f2e3(0x1dd)]()]=_0x58cd70;}}else{if(_0x509d85[_0x28f2e3(0x18e)]('redirect')===0x0){const _0x5cd44d=_0x3d6ae8?_0x509d85[_0x28f2e3(0xcd)]?_0x422133[_0x28f2e3(0xc0)]===_0x509d85[_0x28f2e3(0x130)]:!0x1:_0x509d85[_0x28f2e3(0xcd)]?!0x1:_0x56dae1['host']===_0x509d85['_originalHostOrSocketPath'];(!_0x5cd44d||_0x509d85[_0x28f2e3(0xd3)]&&!_0x57ad56)&&(delete _0x422133[_0x28f2e3(0x166)][_0x28f2e3(0x23a)],delete _0x422133['headers']['cookie'],_0x5cd44d||delete _0x422133['headers'][_0x28f2e3(0xcf)],_0x422133['auth']=void 0x0);}}_0x422133[_0x28f2e3(0x164)]&&!_0x492b1f[_0x28f2e3(0x166)][_0x28f2e3(0x23a)]&&(_0x492b1f[_0x28f2e3(0x166)]['authorization']=_0x28f2e3(0x20c)+Buffer[_0x28f2e3(0x21b)](_0x422133[_0x28f2e3(0x164)])[_0x28f2e3(0x1b6)]('base64')),_0x496703=_0x509d85[_0x28f2e3(0xf3)]=_0x49dd7e(_0x422133),_0x509d85[_0x28f2e3(0x18b)]&&_0x509d85[_0x28f2e3(0x22a)](_0x28f2e3(0xf6),_0x509d85[_0x28f2e3(0x200)],_0x496703);}else _0x496703=_0x509d85['_req']=_0x49dd7e(_0x422133);_0x422133['timeout']&&_0x496703['on'](_0x28f2e3(0x121),()=>{_0x57552a(_0x509d85,_0x496703,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x496703['on'](_0x28f2e3(0x199),_0x70668f=>{const _0x3a44bf=_0x28f2e3;_0x496703===null||_0x496703[_0xd57549]||(_0x496703=_0x509d85[_0x3a44bf(0xf3)]=null,_0x3ae6fc(_0x509d85,_0x70668f));}),_0x496703['on'](_0x28f2e3(0x14b),_0x3149b3=>{const _0x5c6656=_0x28f2e3,_0x4df453=_0x3149b3[_0x5c6656(0x166)][_0x5c6656(0x1b3)],_0x471480=_0x3149b3['statusCode'];if(_0x4df453&&_0x422133[_0x5c6656(0xc8)]&&_0x471480>=0x12c&&_0x471480<0x190){if(++_0x509d85[_0x5c6656(0x18b)]>_0x422133[_0x5c6656(0x145)]){_0x57552a(_0x509d85,_0x496703,_0x5c6656(0x141));return;}_0x496703[_0x5c6656(0xdb)]();let _0x33d6fd;try{_0x33d6fd=new _0x2837ad(_0x4df453,_0x74ba87);}catch{const _0x4561d4=new SyntaxError(_0x5c6656(0x228)+_0x4df453);_0x3ae6fc(_0x509d85,_0x4561d4);return;}_0x2aba69(_0x509d85,_0x33d6fd,_0x591ef2,_0x492b1f);}else _0x509d85['emit'](_0x5c6656(0x23e),_0x496703,_0x3149b3)||_0x57552a(_0x509d85,_0x496703,_0x5c6656(0x185)+_0x3149b3[_0x5c6656(0x242)]);}),_0x496703['on'](_0x28f2e3(0xd0),(_0x1a178c,_0x2dc56c,_0x2866f7)=>{const _0x1dc557=_0x28f2e3;if(_0x509d85[_0x1dc557(0x22a)]('upgrade',_0x1a178c),_0x509d85['readyState']!==_0x4083fc[_0x1dc557(0x223)])return;_0x496703=_0x509d85[_0x1dc557(0xf3)]=null;const _0x4328e0=_0x1a178c['headers'][_0x1dc557(0xd0)];if(_0x4328e0===void 0x0||_0x4328e0[_0x1dc557(0x1dd)]()!=='websocket'){_0x57552a(_0x509d85,_0x2dc56c,_0x1dc557(0x148));return;}const _0x4f31cc=_0x3dedd8(_0x1dc557(0x105))[_0x1dc557(0x23c)](_0xd3b117+_0x377413)['digest']('base64');if(_0x1a178c[_0x1dc557(0x166)][_0x1dc557(0x256)]!==_0x4f31cc){_0x57552a(_0x509d85,_0x2dc56c,_0x1dc557(0x245));return;}const _0x10dddd=_0x1a178c[_0x1dc557(0x166)][_0x1dc557(0x120)];let _0x1ce8d4;if(_0x10dddd!==void 0x0?_0x7ab06e[_0x1dc557(0x268)]?_0x7ab06e['has'](_0x10dddd)||(_0x1ce8d4='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ce8d4=_0x1dc557(0x1d3):_0x7ab06e['size']&&(_0x1ce8d4=_0x1dc557(0x16c)),_0x1ce8d4){_0x57552a(_0x509d85,_0x2dc56c,_0x1ce8d4);return;}_0x10dddd&&(_0x509d85['_protocol']=_0x10dddd);const _0x37061e=_0x1a178c['headers']['sec-websocket-extensions'];if(_0x37061e!==void 0x0){if(!_0x90702b){_0x57552a(_0x509d85,_0x2dc56c,_0x1dc557(0x213));return;}let _0x2151fc;try{_0x2151fc=_0x44cc36(_0x37061e);}catch{_0x57552a(_0x509d85,_0x2dc56c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xa51767=Object[_0x1dc557(0x14c)](_0x2151fc);if(_0xa51767['length']!==0x1||_0xa51767[0x0]!==_0x59b8b5[_0x1dc557(0x1e5)]){_0x57552a(_0x509d85,_0x2dc56c,_0x1dc557(0x1bd));return;}try{_0x90702b[_0x1dc557(0x19d)](_0x2151fc[_0x59b8b5['extensionName']]);}catch{_0x57552a(_0x509d85,_0x2dc56c,_0x1dc557(0x212));return;}_0x509d85['_extensions'][_0x59b8b5[_0x1dc557(0x1e5)]]=_0x90702b;}_0x509d85['setSocket'](_0x2dc56c,_0x2866f7,{'allowSynchronousEvents':_0x422133[_0x1dc557(0x24d)],'generateMask':_0x422133[_0x1dc557(0x19f)],'maxPayload':_0x422133[_0x1dc557(0x1e0)],'skipUTF8Validation':_0x422133[_0x1dc557(0x11a)]});}),_0x422133[_0x28f2e3(0x251)]?_0x422133[_0x28f2e3(0x251)](_0x496703,_0x509d85):_0x496703[_0x28f2e3(0x21f)]();}function _0x3ae6fc(_0x4cc9b8,_0x4a1918){const _0x5f395=_0x1f3da4;_0x4cc9b8[_0x5f395(0x229)]=_0x4083fc['CLOSING'],_0x4cc9b8['_errorEmitted']=!0x0,_0x4cc9b8[_0x5f395(0x22a)](_0x5f395(0x199),_0x4a1918),_0x4cc9b8[_0x5f395(0x25e)]();}function _0x2f6649(_0x12f93e){return _0x12f93e['path']=_0x12f93e['socketPath'],_0x234c9c['connect'](_0x12f93e);}function _0x1ed565(_0x3435e0){const _0x4695fb=_0x1f3da4;return _0x3435e0['path']=void 0x0,!_0x3435e0[_0x4695fb(0x1fe)]&&_0x3435e0[_0x4695fb(0x1fe)]!==''&&(_0x3435e0[_0x4695fb(0x1fe)]=_0x234c9c[_0x4695fb(0x17c)](_0x3435e0[_0x4695fb(0xcf)])?'':_0x3435e0[_0x4695fb(0xcf)]),_0x3a8902[_0x4695fb(0x238)](_0x3435e0);}function _0x57552a(_0x2e6185,_0x2d9b25,_0x3087f0){const _0x44bfd9=_0x1f3da4;_0x2e6185[_0x44bfd9(0x229)]=_0x4083fc[_0x44bfd9(0x126)];const _0x25e5e4=new Error(_0x3087f0);Error[_0x44bfd9(0xc4)](_0x25e5e4,_0x57552a),_0x2d9b25[_0x44bfd9(0x161)]?(_0x2d9b25[_0xd57549]=!0x0,_0x2d9b25[_0x44bfd9(0xdb)](),_0x2d9b25['socket']&&!_0x2d9b25[_0x44bfd9(0x201)][_0x44bfd9(0x124)]&&_0x2d9b25[_0x44bfd9(0x201)][_0x44bfd9(0x1fb)](),process[_0x44bfd9(0x1ee)](_0x3ae6fc,_0x2e6185,_0x25e5e4)):(_0x2d9b25[_0x44bfd9(0x1fb)](_0x25e5e4),_0x2d9b25[_0x44bfd9(0x248)]('error',_0x2e6185[_0x44bfd9(0x22a)][_0x44bfd9(0x162)](_0x2e6185,'error')),_0x2d9b25['once'](_0x44bfd9(0xd1),_0x2e6185[_0x44bfd9(0x25e)]['bind'](_0x2e6185)));}function _0x5a0545(_0x192a16,_0x3055f5,_0x519ed4){const _0x401a45=_0x1f3da4;if(_0x3055f5){const _0x59c3f8=_0x2c34ae(_0x3055f5)?_0x3055f5[_0x401a45(0x268)]:_0x8de95f(_0x3055f5)[_0x401a45(0x244)];_0x192a16[_0x401a45(0x152)]?_0x192a16[_0x401a45(0x15b)][_0x401a45(0x1ec)]+=_0x59c3f8:_0x192a16[_0x401a45(0x182)]+=_0x59c3f8;}if(_0x519ed4){const _0x4749af=new Error(_0x401a45(0xcb)+_0x192a16[_0x401a45(0x192)]+'\x20('+_0x5c1761[_0x192a16[_0x401a45(0x192)]]+')');process[_0x401a45(0x1ee)](_0x519ed4,_0x4749af);}}function _0x5aa0b2(_0x147095,_0x51a5cf){const _0x51c8b7=_0x1f3da4,_0x47158c=this[_0x1e2acb];_0x47158c[_0x51c8b7(0x133)]=!0x0,_0x47158c[_0x51c8b7(0x134)]=_0x51a5cf,_0x47158c[_0x51c8b7(0x21d)]=_0x147095,_0x47158c[_0x51c8b7(0x152)][_0x1e2acb]!==void 0x0&&(_0x47158c[_0x51c8b7(0x152)][_0x51c8b7(0x260)](_0x51c8b7(0x266),_0x5dfe76),process[_0x51c8b7(0x1ee)](_0x4b6eeb,_0x47158c['_socket']),_0x147095===0x3ed?_0x47158c[_0x51c8b7(0xd1)]():_0x47158c[_0x51c8b7(0xd1)](_0x147095,_0x51a5cf));}function _0x11492b(){const _0x47bc75=_0x1f3da4,_0x76321f=this[_0x1e2acb];_0x76321f[_0x47bc75(0x1e1)]||_0x76321f['_socket'][_0x47bc75(0x163)]();}function _0x4af338(_0x2a3cbc){const _0xa61927=_0x1f3da4,_0xbdf8fc=this[_0x1e2acb];_0xbdf8fc[_0xa61927(0x152)][_0x1e2acb]!==void 0x0&&(_0xbdf8fc[_0xa61927(0x152)][_0xa61927(0x260)](_0xa61927(0x266),_0x5dfe76),process[_0xa61927(0x1ee)](_0x4b6eeb,_0xbdf8fc[_0xa61927(0x152)]),_0xbdf8fc[_0xa61927(0xd1)](_0x2a3cbc[_0x5c69a7])),_0xbdf8fc[_0xa61927(0x1be)]||(_0xbdf8fc[_0xa61927(0x1be)]=!0x0,_0xbdf8fc[_0xa61927(0x22a)](_0xa61927(0x199),_0x2a3cbc));}function _0x3c5719(){const _0x19e54a=_0x1f3da4;this[_0x1e2acb][_0x19e54a(0x25e)]();}function _0x5c4307(_0x436f13,_0xbd9f34){const _0xe7c76b=_0x1f3da4;this[_0x1e2acb][_0xe7c76b(0x22a)](_0xe7c76b(0x144),_0x436f13,_0xbd9f34);}function _0x116461(_0xf84660){const _0x7eca74=_0x1f3da4,_0x54aa0e=this[_0x1e2acb];_0x54aa0e[_0x7eca74(0x13f)]&&_0x54aa0e[_0x7eca74(0x1d4)](_0xf84660,!this['_isServer'],_0xa24f84),_0x54aa0e[_0x7eca74(0x22a)]('ping',_0xf84660);}function _0x5e2887(_0x4f7089){const _0xa368aa=_0x1f3da4;this[_0x1e2acb][_0xa368aa(0x22a)](_0xa368aa(0x1d4),_0x4f7089);}function _0x4b6eeb(_0x5e3146){_0x5e3146['resume']();}function _0x4731a4(_0x5ebd10){const _0x3caf7c=_0x1f3da4,_0x4641df=this[_0x1e2acb];_0x4641df[_0x3caf7c(0x192)]!==_0x4083fc[_0x3caf7c(0x204)]&&(_0x4641df[_0x3caf7c(0x192)]===_0x4083fc[_0x3caf7c(0x15f)]&&(_0x4641df[_0x3caf7c(0x229)]=_0x4083fc[_0x3caf7c(0x126)],_0x30af9e(_0x4641df)),this['_socket'][_0x3caf7c(0x21f)](),_0x4641df['_errorEmitted']||(_0x4641df[_0x3caf7c(0x1be)]=!0x0,_0x4641df[_0x3caf7c(0x22a)](_0x3caf7c(0x199),_0x5ebd10)));}function _0x30af9e(_0x3441b8){const _0x5052a5=_0x1f3da4;_0x3441b8[_0x5052a5(0x235)]=setTimeout(_0x3441b8[_0x5052a5(0x152)][_0x5052a5(0x1fb)][_0x5052a5(0x162)](_0x3441b8[_0x5052a5(0x152)]),_0x135919);}function _0x3e615e(){const _0x39fd55=_0x1f3da4,_0x1d54d5=this[_0x1e2acb];this[_0x39fd55(0x260)](_0x39fd55(0xd1),_0x3e615e),this[_0x39fd55(0x260)]('data',_0x5dfe76),this['removeListener'](_0x39fd55(0x21f),_0x22a86c),_0x1d54d5[_0x39fd55(0x229)]=_0x4083fc[_0x39fd55(0x126)];let _0x2cbf0e;!this[_0x39fd55(0x159)][_0x39fd55(0xd9)]&&!_0x1d54d5[_0x39fd55(0x133)]&&!_0x1d54d5[_0x39fd55(0x15c)][_0x39fd55(0x16d)][_0x39fd55(0x22b)]&&(_0x2cbf0e=_0x1d54d5['_socket'][_0x39fd55(0x1e4)]())!==null&&_0x1d54d5[_0x39fd55(0x15c)]['write'](_0x2cbf0e),_0x1d54d5[_0x39fd55(0x15c)][_0x39fd55(0x21f)](),this[_0x1e2acb]=void 0x0,clearTimeout(_0x1d54d5['_closeTimer']),_0x1d54d5['_receiver'][_0x39fd55(0x16d)][_0x39fd55(0xf0)]||_0x1d54d5[_0x39fd55(0x15c)][_0x39fd55(0x16d)]['errorEmitted']?_0x1d54d5[_0x39fd55(0x25e)]():(_0x1d54d5[_0x39fd55(0x15c)]['on']('error',_0x3c5719),_0x1d54d5['_receiver']['on'](_0x39fd55(0x224),_0x3c5719));}function _0x5dfe76(_0x373efb){const _0x4d6b6c=_0x1f3da4;this[_0x1e2acb][_0x4d6b6c(0x15c)][_0x4d6b6c(0x26a)](_0x373efb)||this[_0x4d6b6c(0x1cc)]();}function _0x22a86c(){const _0x45a807=_0x1f3da4,_0x32d4de=this[_0x1e2acb];_0x32d4de['_readyState']=_0x4083fc[_0x45a807(0x126)],_0x32d4de[_0x45a807(0x15c)]['end'](),this[_0x45a807(0x21f)]();}function _0x1497ad(){const _0x82d421=_0x1f3da4,_0x3be609=this[_0x1e2acb];this[_0x82d421(0x260)]('error',_0x1497ad),this['on']('error',_0xa24f84),_0x3be609&&(_0x3be609[_0x82d421(0x229)]=_0x4083fc['CLOSING'],this[_0x82d421(0x1fb)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x30614c}=_0x346fec;function _0x375d2a(_0x39305b){const _0x5bed32=_0x3c60;_0x39305b[_0x5bed32(0x22a)]('close');}function _0x8c7a0c(){const _0x46a921=_0x3c60;!this[_0x46a921(0x124)]&&this['_writableState']['finished']&&this['destroy']();}function _0x2d419a(_0x4f5b96){const _0x10b26f=_0x3c60;this['removeListener']('error',_0x2d419a),this['destroy'](),this[_0x10b26f(0x18e)](_0x10b26f(0x199))===0x0&&this[_0x10b26f(0x22a)](_0x10b26f(0x199),_0x4f5b96);}function _0x3d3f8a(_0x269926,_0x45c91d){const _0x8cb64=_0x3c60;let _0x13e47d=!0x0;const _0x166266=new _0x30614c({..._0x45c91d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x269926['on'](_0x8cb64(0x144),function(_0x2e3665,_0x3d7ee8){const _0x552a86=_0x8cb64,_0x4a1508=!_0x3d7ee8&&_0x166266[_0x552a86(0x159)]['objectMode']?_0x2e3665[_0x552a86(0x1b6)]():_0x2e3665;_0x166266['push'](_0x4a1508)||_0x269926[_0x552a86(0x1cc)]();}),_0x269926[_0x8cb64(0x248)](_0x8cb64(0x199),function(_0x1ffbc1){const _0x5acec6=_0x8cb64;_0x166266[_0x5acec6(0x124)]||(_0x13e47d=!0x1,_0x166266[_0x5acec6(0x1fb)](_0x1ffbc1));}),_0x269926['once'](_0x8cb64(0xd1),function(){const _0x2f5d6e=_0x8cb64;_0x166266[_0x2f5d6e(0x124)]||_0x166266['push'](null);}),_0x166266['_destroy']=function(_0x49b6dd,_0x1d5d28){const _0x14158b=_0x8cb64;if(_0x269926[_0x14158b(0x192)]===_0x269926['CLOSED']){_0x1d5d28(_0x49b6dd),process[_0x14158b(0x1ee)](_0x375d2a,_0x166266);return;}let _0x49872f=!0x1;_0x269926[_0x14158b(0x248)](_0x14158b(0x199),function(_0x49431f){_0x49872f=!0x0,_0x1d5d28(_0x49431f);}),_0x269926[_0x14158b(0x248)](_0x14158b(0xd1),function(){const _0x6a9b88=_0x14158b;_0x49872f||_0x1d5d28(_0x49b6dd),process[_0x6a9b88(0x1ee)](_0x375d2a,_0x166266);}),_0x13e47d&&_0x269926['terminate']();},_0x166266[_0x8cb64(0x1c6)]=function(_0x558b9e){const _0xd9b413=_0x8cb64;if(_0x269926['readyState']===_0x269926['CONNECTING']){_0x269926[_0xd9b413(0x248)](_0xd9b413(0xc6),function(){const _0x5b0ae5=_0xd9b413;_0x166266[_0x5b0ae5(0x1c6)](_0x558b9e);});return;}_0x269926[_0xd9b413(0x152)]!==null&&(_0x269926[_0xd9b413(0x152)][_0xd9b413(0x16d)][_0xd9b413(0xf0)]?(_0x558b9e(),_0x166266[_0xd9b413(0x159)][_0xd9b413(0xd9)]&&_0x166266[_0xd9b413(0x1fb)]()):(_0x269926[_0xd9b413(0x152)]['once'](_0xd9b413(0x224),function(){_0x558b9e();}),_0x269926[_0xd9b413(0xd1)]()));},_0x166266[_0x8cb64(0x221)]=function(){const _0x303657=_0x8cb64;_0x269926[_0x303657(0x1e1)]&&_0x269926[_0x303657(0x163)]();},_0x166266['_write']=function(_0x27c5eb,_0x4df516,_0x20eed3){if(_0x269926['readyState']===_0x269926['CONNECTING']){_0x269926['once']('open',function(){_0x166266['_write'](_0x27c5eb,_0x4df516,_0x20eed3);});return;}_0x269926['send'](_0x27c5eb,_0x20eed3);},_0x166266['on']('end',_0x8c7a0c),_0x166266['on']('error',_0x2d419a),_0x166266;}return Oe=_0x3d3f8a,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1e3a15}=ne();function _0x304cf9(_0x312e51){const _0x455450=_0x3c60,_0x4a8f4a=new Set();let _0x1a3eb9=-0x1,_0x255692=-0x1,_0x34d3ea=0x0;for(_0x34d3ea;_0x34d3ea<_0x312e51[_0x455450(0x244)];_0x34d3ea++){const _0x6fd745=_0x312e51[_0x455450(0x17e)](_0x34d3ea);if(_0x255692===-0x1&&_0x1e3a15[_0x6fd745]===0x1)_0x1a3eb9===-0x1&&(_0x1a3eb9=_0x34d3ea);else{if(_0x34d3ea!==0x0&&(_0x6fd745===0x20||_0x6fd745===0x9))_0x255692===-0x1&&_0x1a3eb9!==-0x1&&(_0x255692=_0x34d3ea);else{if(_0x6fd745===0x2c){if(_0x1a3eb9===-0x1)throw new SyntaxError(_0x455450(0x1c9)+_0x34d3ea);_0x255692===-0x1&&(_0x255692=_0x34d3ea);const _0xebfa13=_0x312e51[_0x455450(0x216)](_0x1a3eb9,_0x255692);if(_0x4a8f4a[_0x455450(0x209)](_0xebfa13))throw new SyntaxError(_0x455450(0x181)+_0xebfa13+_0x455450(0x1b5));_0x4a8f4a[_0x455450(0x206)](_0xebfa13),_0x1a3eb9=_0x255692=-0x1;}else throw new SyntaxError(_0x455450(0x1c9)+_0x34d3ea);}}}if(_0x1a3eb9===-0x1||_0x255692!==-0x1)throw new SyntaxError(_0x455450(0x218));const _0x263a7a=_0x312e51[_0x455450(0x216)](_0x1a3eb9,_0x34d3ea);if(_0x4a8f4a['has'](_0x263a7a))throw new SyntaxError('The\x20\x22'+_0x263a7a+_0x455450(0x1b5));return _0x4a8f4a[_0x455450(0x206)](_0x263a7a),_0x4a8f4a;}return Ce={'parse':_0x304cf9},Ce;}var Te,ot;function er(){const _0x5cd135=_0x16ef4a;if(ot)return Te;ot=0x1;const _0x4d8937=_0x5bb4bc,_0x27eef1=_0x26bf58,{Duplex:_0x50f669}=_0x346fec,{createHash:_0x580dcd}=_0x33bd52,_0x231a9d=pt(),_0x5416c2=he(),_0x3df354=Jt(),_0x2c345b=Ie(),{GUID:_0x5e0373,kWebSocket:_0x38035b}=V(),_0x2a9f37=/^[+/0-9A-Za-z]{22}==$/,_0x163283=0x0,_0x1abaa3=0x1,_0x3c8cf7=0x2;class _0x4033f2 extends _0x4d8937{constructor(_0x5d532a,_0x1133af){const _0x59d366=_0x3c60;if(super(),_0x5d532a={'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':_0x2c345b,..._0x5d532a},_0x5d532a['port']==null&&!_0x5d532a['server']&&!_0x5d532a[_0x59d366(0x1a5)]||_0x5d532a[_0x59d366(0x137)]!=null&&(_0x5d532a[_0x59d366(0x25b)]||_0x5d532a[_0x59d366(0x1a5)])||_0x5d532a['server']&&_0x5d532a[_0x59d366(0x1a5)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5d532a[_0x59d366(0x137)]!=null?(this['_server']=_0x27eef1[_0x59d366(0x1ef)]((_0x274f94,_0x35a04d)=>{const _0x192b30=_0x59d366,_0xd4ccfc=_0x27eef1[_0x192b30(0x150)][0x1aa];_0x35a04d[_0x192b30(0xfd)](0x1aa,{'Content-Length':_0xd4ccfc['length'],'Content-Type':_0x192b30(0x207)}),_0x35a04d[_0x192b30(0x21f)](_0xd4ccfc);}),this[_0x59d366(0x110)][_0x59d366(0xd2)](_0x5d532a[_0x59d366(0x137)],_0x5d532a[_0x59d366(0xcf)],_0x5d532a[_0x59d366(0x263)],_0x1133af)):_0x5d532a['server']&&(this[_0x59d366(0x110)]=_0x5d532a[_0x59d366(0x25b)]),this[_0x59d366(0x110)]){const _0x4afa49=this[_0x59d366(0x22a)]['bind'](this,'connection');this[_0x59d366(0xeb)]=_0x326a43(this[_0x59d366(0x110)],{'listening':this[_0x59d366(0x22a)][_0x59d366(0x162)](this,_0x59d366(0xc9)),'error':this['emit'][_0x59d366(0x162)](this,_0x59d366(0x199)),'upgrade':(_0xf2c550,_0x5a804c,_0x380b71)=>{const _0x4a33dd=_0x59d366;this[_0x4a33dd(0x1f5)](_0xf2c550,_0x5a804c,_0x380b71,_0x4afa49);}});}_0x5d532a['perMessageDeflate']===!0x0&&(_0x5d532a[_0x59d366(0x1a6)]={}),_0x5d532a[_0x59d366(0x1b2)]&&(this[_0x59d366(0x175)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x59d366(0x14f)]=_0x5d532a,this[_0x59d366(0xbc)]=_0x163283;}[_0x5cd135(0x1a1)](){const _0x5610c1=_0x5cd135;if(this[_0x5610c1(0x14f)]['noServer'])throw new Error(_0x5610c1(0x1ca));return this[_0x5610c1(0x110)]?this[_0x5610c1(0x110)]['address']():null;}[_0x5cd135(0xd1)](_0x5d6159){const _0x18e419=_0x5cd135;if(this[_0x18e419(0xbc)]===_0x3c8cf7){_0x5d6159&&this['once'](_0x18e419(0xd1),()=>{const _0x54e5ee=_0x18e419;_0x5d6159(new Error(_0x54e5ee(0x127)));}),process[_0x18e419(0x1ee)](_0x33b24d,this);return;}if(_0x5d6159&&this['once']('close',_0x5d6159),this[_0x18e419(0xbc)]!==_0x1abaa3){if(this[_0x18e419(0xbc)]=_0x1abaa3,this[_0x18e419(0x14f)][_0x18e419(0x1a5)]||this[_0x18e419(0x14f)][_0x18e419(0x25b)])this[_0x18e419(0x110)]&&(this[_0x18e419(0xeb)](),this[_0x18e419(0xeb)]=this[_0x18e419(0x110)]=null),this['clients']?this[_0x18e419(0x175)]['size']?this[_0x18e419(0x243)]=!0x0:process[_0x18e419(0x1ee)](_0x33b24d,this):process['nextTick'](_0x33b24d,this);else{const _0x51fce2=this['_server'];this[_0x18e419(0xeb)](),this[_0x18e419(0xeb)]=this[_0x18e419(0x110)]=null,_0x51fce2[_0x18e419(0xd1)](()=>{_0x33b24d(this);});}}}[_0x5cd135(0x237)](_0x2afaff){const _0x287a1d=_0x5cd135;if(this['options'][_0x287a1d(0x236)]){const _0x23018a=_0x2afaff[_0x287a1d(0x200)]['indexOf']('?');if((_0x23018a!==-0x1?_0x2afaff[_0x287a1d(0x200)][_0x287a1d(0x216)](0x0,_0x23018a):_0x2afaff[_0x287a1d(0x200)])!==this[_0x287a1d(0x14f)][_0x287a1d(0x236)])return!0x1;}return!0x0;}[_0x5cd135(0x1f5)](_0x44d8d9,_0x804173,_0x171263,_0x25c707){const _0x356530=_0x5cd135;_0x804173['on'](_0x356530(0x199),_0x282f5f);const _0x1a4811=_0x44d8d9[_0x356530(0x166)]['sec-websocket-key'],_0x49050a=_0x44d8d9[_0x356530(0x166)][_0x356530(0xd0)],_0x23ec1b=+_0x44d8d9[_0x356530(0x166)][_0x356530(0x21c)];if(_0x44d8d9['method']!==_0x356530(0xba)){_0x1300ef(this,_0x44d8d9,_0x804173,0x195,_0x356530(0x26c));return;}if(_0x49050a===void 0x0||_0x49050a[_0x356530(0x1dd)]()!==_0x356530(0x11e)){_0x1300ef(this,_0x44d8d9,_0x804173,0x190,_0x356530(0x148));return;}if(_0x1a4811===void 0x0||!_0x2a9f37[_0x356530(0x114)](_0x1a4811)){_0x1300ef(this,_0x44d8d9,_0x804173,0x190,_0x356530(0x194));return;}if(_0x23ec1b!==0x8&&_0x23ec1b!==0xd){_0x1300ef(this,_0x44d8d9,_0x804173,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x44d8d9)){_0x92c7(_0x804173,0x190);return;}const _0x3c67a0=_0x44d8d9['headers'][_0x356530(0x120)];let _0x3727d1=new Set();if(_0x3c67a0!==void 0x0)try{_0x3727d1=_0x3df354['parse'](_0x3c67a0);}catch{_0x1300ef(this,_0x44d8d9,_0x804173,0x190,_0x356530(0x12a));return;}const _0x4e609f=_0x44d8d9[_0x356530(0x166)][_0x356530(0x1e6)],_0x558d3a={};if(this[_0x356530(0x14f)][_0x356530(0x1a6)]&&_0x4e609f!==void 0x0){const _0x450d7b=new _0x5416c2(this['options'][_0x356530(0x1a6)],!0x0,this[_0x356530(0x14f)][_0x356530(0x1e0)]);try{const _0x407c37=_0x231a9d[_0x356530(0x197)](_0x4e609f);_0x407c37[_0x5416c2[_0x356530(0x1e5)]]&&(_0x450d7b[_0x356530(0x19d)](_0x407c37[_0x5416c2[_0x356530(0x1e5)]]),_0x558d3a[_0x5416c2[_0x356530(0x1e5)]]=_0x450d7b);}catch{_0x1300ef(this,_0x44d8d9,_0x804173,0x190,_0x356530(0x264));return;}}if(this[_0x356530(0x14f)][_0x356530(0xf9)]){const _0x20342a={'origin':_0x44d8d9['headers'][''+(_0x23ec1b===0x8?_0x356530(0xdc):_0x356530(0xbb))],'secure':!!(_0x44d8d9[_0x356530(0x201)][_0x356530(0x1e7)]||_0x44d8d9[_0x356530(0x201)]['encrypted']),'req':_0x44d8d9};if(this[_0x356530(0x14f)][_0x356530(0xf9)][_0x356530(0x244)]===0x2){this[_0x356530(0x14f)][_0x356530(0xf9)](_0x20342a,(_0x4e454d,_0x287bd9,_0x4583fc,_0x4bb805)=>{const _0x3d7aaa=_0x356530;if(!_0x4e454d)return _0x92c7(_0x804173,_0x287bd9||0x191,_0x4583fc,_0x4bb805);this[_0x3d7aaa(0xfe)](_0x558d3a,_0x1a4811,_0x3727d1,_0x44d8d9,_0x804173,_0x171263,_0x25c707);});return;}if(!this[_0x356530(0x14f)]['verifyClient'](_0x20342a))return _0x92c7(_0x804173,0x191);}this[_0x356530(0xfe)](_0x558d3a,_0x1a4811,_0x3727d1,_0x44d8d9,_0x804173,_0x171263,_0x25c707);}[_0x5cd135(0xfe)](_0x4b9ef6,_0x4a62d1,_0x48e81c,_0x1589a0,_0x47faa4,_0xfe0306,_0x2a8e7b){const _0x2b127b=_0x5cd135;if(!_0x47faa4['readable']||!_0x47faa4[_0x2b127b(0x196)])return _0x47faa4[_0x2b127b(0x1fb)]();if(_0x47faa4[_0x38035b])throw new Error(_0x2b127b(0x1d6));if(this[_0x2b127b(0xbc)]>_0x163283)return _0x92c7(_0x47faa4,0x1f7);const _0x15aa75=[_0x2b127b(0x1cd),_0x2b127b(0x1f4),_0x2b127b(0x1ea),_0x2b127b(0xc2)+_0x580dcd(_0x2b127b(0x105))[_0x2b127b(0x23c)](_0x4a62d1+_0x5e0373)['digest'](_0x2b127b(0x14e))],_0x4092bb=new this[(_0x2b127b(0x14f))][(_0x2b127b(0x13d))](null,void 0x0,this[_0x2b127b(0x14f)]);if(_0x48e81c['size']){const _0x15c200=this[_0x2b127b(0x14f)]['handleProtocols']?this['options']['handleProtocols'](_0x48e81c,_0x1589a0):_0x48e81c[_0x2b127b(0x1bb)]()[_0x2b127b(0x149)]()[_0x2b127b(0x269)];_0x15c200&&(_0x15aa75[_0x2b127b(0x1f0)](_0x2b127b(0xf7)+_0x15c200),_0x4092bb['_protocol']=_0x15c200);}if(_0x4b9ef6[_0x5416c2[_0x2b127b(0x1e5)]]){const _0x3f0504=_0x4b9ef6[_0x5416c2['extensionName']][_0x2b127b(0x138)],_0x4fbe5a=_0x231a9d['format']({[_0x5416c2[_0x2b127b(0x1e5)]]:[_0x3f0504]});_0x15aa75['push'](_0x2b127b(0x155)+_0x4fbe5a),_0x4092bb['_extensions']=_0x4b9ef6;}this[_0x2b127b(0x22a)](_0x2b127b(0x166),_0x15aa75,_0x1589a0),_0x47faa4[_0x2b127b(0x26a)](_0x15aa75[_0x2b127b(0xe5)]('\x0d\x0a')[_0x2b127b(0x158)]('\x0d\x0a')),_0x47faa4[_0x2b127b(0x260)](_0x2b127b(0x199),_0x282f5f),_0x4092bb[_0x2b127b(0x11b)](_0x47faa4,_0xfe0306,{'allowSynchronousEvents':this['options'][_0x2b127b(0x24d)],'maxPayload':this[_0x2b127b(0x14f)][_0x2b127b(0x1e0)],'skipUTF8Validation':this['options'][_0x2b127b(0x11a)]}),this[_0x2b127b(0x175)]&&(this[_0x2b127b(0x175)]['add'](_0x4092bb),_0x4092bb['on'](_0x2b127b(0xd1),()=>{const _0x4d6b0b=_0x2b127b;this[_0x4d6b0b(0x175)][_0x4d6b0b(0x1a7)](_0x4092bb),this['_shouldEmitClose']&&!this[_0x4d6b0b(0x175)][_0x4d6b0b(0x268)]&&process['nextTick'](_0x33b24d,this);})),_0x2a8e7b(_0x4092bb,_0x1589a0);}}Te=_0x4033f2;function _0x326a43(_0x7754b5,_0x5b891f){for(const _0xfa55fd of Object['keys'](_0x5b891f))_0x7754b5['on'](_0xfa55fd,_0x5b891f[_0xfa55fd]);return function(){const _0x1e387e=_0x3c60;for(const _0x336575 of Object[_0x1e387e(0x14c)](_0x5b891f))_0x7754b5[_0x1e387e(0x260)](_0x336575,_0x5b891f[_0x336575]);};}function _0x33b24d(_0x2b096a){const _0xb61c9f=_0x5cd135;_0x2b096a['_state']=_0x3c8cf7,_0x2b096a[_0xb61c9f(0x22a)](_0xb61c9f(0xd1));}function _0x282f5f(){const _0x49e7e4=_0x5cd135;this[_0x49e7e4(0x1fb)]();}function _0x92c7(_0x1c038a,_0x97a116,_0x35c019,_0x530ba6){const _0x396332=_0x5cd135;_0x35c019=_0x35c019||_0x27eef1[_0x396332(0x150)][_0x97a116],_0x530ba6={'Connection':_0x396332(0xd1),'Content-Type':'text/html','Content-Length':Buffer[_0x396332(0xf4)](_0x35c019),..._0x530ba6},_0x1c038a['once'](_0x396332(0x224),_0x1c038a[_0x396332(0x1fb)]),_0x1c038a['end'](_0x396332(0x1aa)+_0x97a116+'\x20'+_0x27eef1[_0x396332(0x150)][_0x97a116]+'\x0d\x0a'+Object[_0x396332(0x14c)](_0x530ba6)[_0x396332(0x234)](_0x19524a=>_0x19524a+':\x20'+_0x530ba6[_0x19524a])[_0x396332(0x158)]('\x0d\x0a')+_0x396332(0x20d)+_0x35c019);}function _0x1300ef(_0x1aee51,_0x22dc0b,_0x1fd8ee,_0x10aba6,_0x472cc1){const _0xf453af=_0x5cd135;if(_0x1aee51['listenerCount']('wsClientError')){const _0x320b78=new Error(_0x472cc1);Error[_0xf453af(0xc4)](_0x320b78,_0x1300ef),_0x1aee51[_0xf453af(0x22a)](_0xf453af(0x1a9),_0x320b78,_0x1fd8ee,_0x22dc0b);}else _0x92c7(_0x1fd8ee,_0x10aba6,_0x472cc1);}return Te;}er();var tr=Object[_0x16ef4a(0x193)],rr=(_0x403a78,_0x1d09fc,_0x1f3750,_0x375279)=>{const _0x52afbc=_0x16ef4a;for(var _0x594ecf=_0x375279>0x1?void 0x0:_0x375279?tr(_0x1d09fc,_0x1f3750):_0x1d09fc,_0x5a278d=_0x403a78[_0x52afbc(0x244)]-0x1,_0x5e96b4;_0x5a278d>=0x0;_0x5a278d--)(_0x5e96b4=_0x403a78[_0x5a278d])&&(_0x594ecf=_0x5e96b4(_0x594ecf)||_0x594ecf);return _0x594ecf;},sr=(_0x99d42c,_0x174a6f)=>(_0x159268,_0xf33610)=>_0x174a6f(_0x159268,_0xf33610,_0x99d42c);let Ne=class extends _0x21100c{constructor(_0xbee71d){const _0x2b7ba2=_0x16ef4a;super(),this[_0x2b7ba2(0x24a)]=_0xbee71d;}['createSocket'](_0x117d8a){const _0x175e3e=_0x16ef4a;var _0x4600b4;const _0x3e825e=(_0x4600b4=this[_0x175e3e(0x24a)][_0x175e3e(0x170)](Be))==null?void 0x0:_0x4600b4[_0x175e3e(0x1af)];try{const _0x3f7fda=new Qt(_0x117d8a,{'headers':{..._0x3e825e}}),_0x5bb198=new _0x4ba69b();return{'URL':_0x117d8a,'close':(_0x4fe098,_0x329aa4)=>{const _0x404ddb=_0x175e3e;_0x3f7fda[_0x404ddb(0xd1)](_0x4fe098,_0x329aa4),_0x5bb198['dispose']();},'send':_0x544888=>{const _0x297170=_0x175e3e;_0x3f7fda[_0x297170(0x16b)](_0x544888);},'open$':new _0x32d6a2(_0x41583c=>{const _0x3cf109=_0x175e3e,_0x34125c=_0xa4e366=>_0x41583c['next'](_0xa4e366);_0x3f7fda[_0x3cf109(0x1cf)](_0x3cf109(0xc6),_0x34125c),_0x5bb198[_0x3cf109(0x206)](_0x2b7fbb(()=>_0x3f7fda[_0x3cf109(0x17b)](_0x3cf109(0xc6),_0x34125c)));})[_0x175e3e(0xde)](_0x1cec39()),'close$':new _0x32d6a2(_0xe67641=>{const _0x5087e3=_0x175e3e,_0x2576e4=_0x3e9423=>_0xe67641[_0x5087e3(0x149)](_0x3e9423);_0x3f7fda[_0x5087e3(0x1cf)](_0x5087e3(0xd1),_0x2576e4),_0x5bb198[_0x5087e3(0x206)](_0x2b7fbb(()=>_0x3f7fda['removeEventListener']('close',_0x2576e4)));})['pipe'](_0x1cec39()),'error$':new _0x32d6a2(_0x48b355=>{const _0xe0227e=_0x175e3e,_0x40d5b6=_0x7dbac4=>_0x48b355['next'](_0x7dbac4);_0x3f7fda[_0xe0227e(0x1cf)]('error',_0x40d5b6),_0x5bb198[_0xe0227e(0x206)](_0x2b7fbb(()=>_0x3f7fda['removeEventListener']('error',_0x40d5b6)));})['pipe'](_0x1cec39()),'message$':new _0x32d6a2(_0x547fd8=>{const _0x130114=_0x175e3e,_0xfc2edb=_0x289085=>_0x547fd8[_0x130114(0x149)](_0x289085);_0x3f7fda['addEventListener'](_0x130114(0x144),_0xfc2edb),_0x5bb198[_0x130114(0x206)](_0x2b7fbb(()=>_0x3f7fda[_0x130114(0x17b)]('message',_0xfc2edb)));})[_0x175e3e(0xde)](_0x1cec39())};}catch(_0x390c64){return console[_0x175e3e(0x199)](_0x390c64),null;}}};Ne=rr([sr(0x0,_0x56e3e4)],Ne);var ir=Object[_0x16ef4a(0x25a)],nr=Object[_0x16ef4a(0x193)],or=(_0x55bfa4,_0x26c79a,_0x2d477e)=>_0x26c79a in _0x55bfa4?ir(_0x55bfa4,_0x26c79a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d477e}):_0x55bfa4[_0x26c79a]=_0x2d477e,ar=(_0x283a70,_0x2b83e1,_0xf2d1a9,_0xeefcef)=>{const _0x1b1468=_0x16ef4a;for(var _0x38597f=_0xeefcef>0x1?void 0x0:_0xeefcef?nr(_0x2b83e1,_0xf2d1a9):_0x2b83e1,_0x3f29e5=_0x283a70[_0x1b1468(0x244)]-0x1,_0x4bf540;_0x3f29e5>=0x0;_0x3f29e5--)(_0x4bf540=_0x283a70[_0x3f29e5])&&(_0x38597f=_0x4bf540(_0x38597f)||_0x38597f);return _0x38597f;},ke=(_0x27d548,_0x49db55)=>(_0x29164b,_0x5a4ec3)=>_0x49db55(_0x29164b,_0x5a4ec3,_0x27d548),lr=(_0x3f9fc9,_0x2c640b,_0xe529f1)=>or(_0x3f9fc9,_0x2c640b+'',_0xe529f1);let Pe=class extends _0x5cebcb{constructor(_0x2f1c80=Ft,_0x440795,_0x39024b,_0x334497){const _0x3db896=_0x16ef4a;_0x2f1c80[_0x3db896(0x1af)]||_0x440795[_0x3db896(0x1f3)](_0x3db896(0x173)),super(),this[_0x3db896(0x24a)]=_0x39024b,this[_0x3db896(0x205)]=_0x334497,this['_configService'][_0x3db896(0x109)](Be,_0x2f1c80);}[_0x16ef4a(0xec)](){this['_registerDependencies']();}[_0x16ef4a(0x226)](){const _0xf40e60=_0x16ef4a;_0x212bd7(this[_0xf40e60(0x205)],[[_0x11f582,{'useClass':Ne}]]);}};lr(Pe,_0x16ef4a(0xfa),_0x16ef4a(0x25c)),Pe=ar([_0x5e5eee(_0x17ec65),ke(0x1,_0x59b454),ke(0x2,_0x56e3e4),ke(0x3,_0x21452e(_0x5758db))],Pe);var fr=Object[_0x16ef4a(0x193)],cr=(_0x1672ed,_0x1f1915,_0xc67f60,_0x506101)=>{const _0x510e0d=_0x16ef4a;for(var _0x362346=_0x506101>0x1?void 0x0:_0x506101?fr(_0x1f1915,_0xc67f60):_0x1f1915,_0x43dc96=_0x1672ed[_0x510e0d(0x244)]-0x1,_0x1bbeac;_0x43dc96>=0x0;_0x43dc96--)(_0x1bbeac=_0x1672ed[_0x43dc96])&&(_0x362346=_0x1bbeac(_0x362346)||_0x362346);return _0x362346;},se=(_0xc5cca9,_0x467d0c)=>(_0x4e0d75,_0x1a7f1f)=>_0x467d0c(_0x4e0d75,_0x1a7f1f,_0xc5cca9);let at=class extends _0x495db0{constructor(_0xea46ca,_0x27f3af,_0x51248d,_0x229a83,_0x6b19cc){const _0x47e242=_0x16ef4a;super(_0xea46ca,_0x27f3af,_0x51248d,_0x229a83,_0x6b19cc);const _0x31b649=this[_0x47e242(0x24a)][_0x47e242(0x170)](Be);this[_0x47e242(0x179)][_0x47e242(0xcc)]({'interceptor':(_0x3bc8bf,_0xed3c88)=>{const _0x5d823b=_0x47e242;var _0x580236;const _0x14d39f=_0x3bc8bf['headers'];return(_0x580236=_0x31b649==null?void 0x0:_0x31b649[_0x5d823b(0x1af)])!=null&&_0x580236['cookie']&&_0x14d39f[_0x5d823b(0x167)](_0x5d823b(0x119),_0x31b649['customHeaders'][_0x5d823b(0x1ac)]),_0xed3c88(_0x3bc8bf);}});}async[_0x16ef4a(0x1dc)](_0x4303bd){const _0x656ab7=_0x16ef4a;return this[_0x656ab7(0x1da)](_0x4303bd);}};at=cr([se(0x0,_0x21452e(_0x5758db)),se(0x1,_0x21452e(_0xa9101)),se(0x2,_0x56e3e4),se(0x3,_0x59b454),se(0x4,_0x580489)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|