@univerjs-pro/collaboration-client-node 0.10.1-nightly.202508020912 → 0.10.2
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 +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x257af8=_0x4b3c;(function(_0x5a10b4,_0x5ddf25){const _0x3fbe40=_0x4b3c,_0x1514c5=_0x5a10b4();while(!![]){try{const _0x444e45=parseInt(_0x3fbe40(0x1d2))/0x1+parseInt(_0x3fbe40(0xd2))/0x2*(parseInt(_0x3fbe40(0x1a6))/0x3)+-parseInt(_0x3fbe40(0x204))/0x4*(parseInt(_0x3fbe40(0x145))/0x5)+-parseInt(_0x3fbe40(0x209))/0x6+parseInt(_0x3fbe40(0x186))/0x7*(-parseInt(_0x3fbe40(0x126))/0x8)+parseInt(_0x3fbe40(0x238))/0x9*(-parseInt(_0x3fbe40(0x1df))/0xa)+-parseInt(_0x3fbe40(0xc4))/0xb*(parseInt(_0x3fbe40(0x169))/0xc);if(_0x444e45===_0x5ddf25)break;else _0x1514c5['push'](_0x1514c5['shift']());}catch(_0x373fda){_0x1514c5['push'](_0x1514c5['shift']());}}}(_0x4e69,0xba0c8));import{UniverCollaborationClientPlugin as _0x32ced1,CollaborationSocketService as _0x1c1f8d}from'@univerjs-pro/collaboration-client';import{Disposable as _0xf89a70,DisposableCollection as _0x4b049c,toDisposable as _0x13515a,IConfigService as _0x2a55c5,DependentOn as _0x4bc38e,ILogService as _0x371b7b,Inject as _0xb84b38,Injector as _0x2ee91a,Plugin as _0x5b03be,registerDependencies as _0x1284df}from'@univerjs/core';import{ISocketService as _0x1f150c,HTTPService as _0x4140f0}from'@univerjs/network';import{Observable as _0xdefc71,share as _0x290818}from'rxjs';function _0x4b3c(_0xae20f8,_0x174a1c){const _0x4e69e3=_0x4e69();return _0x4b3c=function(_0x4b3c14,_0x386653){_0x4b3c14=_0x4b3c14-0xbc;let _0x5c1abe=_0x4e69e3[_0x4b3c14];return _0x5c1abe;},_0x4b3c(_0xae20f8,_0x174a1c);}import _0x7342d3 from'events';import _0x221911 from'https';import _0xcf2956 from'http';import _0x4f4a9b from'net';import _0x4df571 from'tls';import _0x133164 from'crypto';import _0x2a9a26 from'stream';import _0x4e33ff from'url';import _0x1e18ab from'zlib';import _0x39d95f from'buffer';import{ISnapshotServerService as _0x59270f}from'@univerjs-pro/collaboration';const Be=_0x257af8(0x1fc),Ft={'customHeaders':{}};function Wt(_0x40f74c){const _0x2f00d6=_0x257af8;return _0x40f74c&&_0x40f74c['__esModule']&&Object[_0x2f00d6(0x221)][_0x2f00d6(0x102)][_0x2f00d6(0x173)](_0x40f74c,_0x2f00d6(0x19b))?_0x40f74c[_0x2f00d6(0x19b)]:_0x40f74c;}function ut(_0x34d65a){const _0x5bc4c8=_0x257af8;if(Object[_0x5bc4c8(0x221)][_0x5bc4c8(0x102)][_0x5bc4c8(0x173)](_0x34d65a,_0x5bc4c8(0x21c)))return _0x34d65a;var _0x241535=_0x34d65a['default'];if(typeof _0x241535=='function'){var _0x16ba56=function _0x358793(){const _0x3a26e3=_0x5bc4c8;var _0x417a9b=!0x1;try{_0x417a9b=this instanceof _0x358793;}catch{}return _0x417a9b?Reflect[_0x3a26e3(0x22d)](_0x241535,arguments,this[_0x3a26e3(0x18e)]):_0x241535['apply'](this,arguments);};_0x16ba56['prototype']=_0x241535['prototype'];}else _0x16ba56={};return Object[_0x5bc4c8(0x13c)](_0x16ba56,'__esModule',{'value':!0x0}),Object[_0x5bc4c8(0x231)](_0x34d65a)[_0x5bc4c8(0x20d)](function(_0x2be100){const _0x261258=_0x5bc4c8;var _0x42f7cf=Object[_0x261258(0x18f)](_0x34d65a,_0x2be100);Object[_0x261258(0x13c)](_0x16ba56,_0x2be100,_0x42f7cf[_0x261258(0xdd)]?_0x42f7cf:{'enumerable':!0x0,'get':function(){return _0x34d65a[_0x2be100];}});}),_0x16ba56;}var te={'exports':{}},ge,Ye;function _0x4e69(){const _0x32006d=['params','clientTracking','_skipUTF8Validation','readUInt32BE','arrayBuffer','value','_masked','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','write','arraybuffer','handleProtocols','permessage-deflate','886296LRFyOg','autoPong','pathname','_shouldEmitClose','Unexpected\x20end\x20of\x20input','sendFrame','_threshold','_opcode','noServer','_req','_bufferedBytes','perMessageDeflate','clients','26110uVxlJf','alloc','Sec-WebSocket-Extensions:\x20','replace','_no_context_takeover','emit','RSV1\x20must\x20be\x20clear','removeListener','charCodeAt','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','allocUnsafe','defaultPort','Unexpected\x20server\x20response:\x20','invalid\x20UTF-8\x20sequence','emitClose','text/html','parse','fin','close','_mask','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','skipUTF8Validation','_write','verifyClient','_configService','search','destroyed','opcode','_generateMask','collaboration-client-node.config','STATUS_CODES','Z_DEFAULT_WINDOWBITS','error','options','Origin','https:','apply','1412HpsPtg','socket','read','threshold','Parameter\x20\x22','3541812gSQyER','length','Sec-WebSocket-Origin','readOnly','forEach','invalid\x20payload\x20length\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sec-websocket-protocol','maxPayload','extensions','accept','href','getData','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_options','needDrain','endEmitted','species','_receiver','__esModule','kType','_errored','warn','protocol','prototype','kData','headers','\x22:\x20','byteLength','bufferedAmount','toStringTag','pipe','upgrade','host','kReason','consume','construct','Invalid\x20Sec-WebSocket-Extensions\x20header','bind','response','keys','Invalid\x20Sec-WebSocket-Protocol\x20header','hash','Sec-WebSocket-Protocol','kCode','dispose','createError','1350poVlpu','_sender','exports','data','WS_NO_UTF_8_VALIDATE','connect','statusCode','setTimeout','maskBuffer','websocket','ws:','_payloadLength','pluginName','_binaryType','includes','isValidUTF8','_isServer','removeEventListener','offer','client','pong','_httpService','Sec-WebSocket-Extensions','Invalid\x20URL:\x20','create','kIsForOnEventAttribute','string','invalid\x20status\x20code\x20','The\x20URL\x27s\x20pathname\x20is\x20empty','sha1','nodebuffer','sec-websocket-version','function','slice','writable','object','acceptAsServer','_destroy','push','listeners','pause','number','clientMaxWindowBits','finish','Upgrade','getPayloadLength64','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','flush','extensionName','decompress','map','drain','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','size','cleanup','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','send','Upgrade:\x20websocket','concurrency','_fragmented','4833026NqEddU','_autoPong','resume','terminate','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','test','auth','_compressed','startsWith','enqueue','pending','_maxPayload','haveLength','update','456566qpJpjY','then','\x0d\x0a\x0d\x0a','_closeTimer','_closeMessage','conclude','readUInt16BE','getBlobData','CLOSING','customHeaders','cookie','get','WS_ERR_INVALID_OPCODE','dataMessage','HTTP/1.1\x20101\x20Switching\x20Protocols','_fragments','_paused','origin','isView','_decompress','url','_injector','_inflate','_originalIpc','Server\x20sent\x20no\x20subprotocol','CONNECTING','open','removeAllListeners','serverMaxWindowBits','WS_ERR_UNEXPECTED_RSV_1','onclose','listen','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_buffers','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_readableState','concat','GET','handshakeTimeout','ws+unix:','_read','binaryType','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','timeout','finishRequest','_redirects','dispatch','split','hasOwnProperty','_loop','env','_protocol','ping','path','_readyState','username','CLOSED','encrypted','acceptAsClient','WebSocket\x20is\x20not\x20open:\x20readyState\x20','toLowerCase','Server\x20sent\x20an\x20invalid\x20subprotocol','_maskBuffer','The\x20server\x20is\x20not\x20running','followRedirects','binary','unmask','getMask','_state','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','HTTP/1.1\x20','blob','WS_ERR_INVALID_UTF8','Invalid\x20Upgrade\x20header','_closeFrameReceived','_max_window_bits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','address','unexpected-response','handleUpgrade','generateMask','server','clientNoContextTakeover','fragments','14376meyxCE','toString','The\x20\x22','onStarting','onerror','_closeCode','_doCreateSocket','Max\x20payload\x20size\x20exceeded','sec-websocket-extensions','getConfig','captureStackTrace','wasClean','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','shouldHandle','pow','Sec-WebSocket-Accept:\x20','freeze','servername','concurrencyLimit','zlibInflateOptions','finished','target','defineProperty','\x22\x20subprotocol\x20is\x20duplicated','_deflate','errorEmitted','mask','_compress','Sec-WebSocket-Protocol:\x20','abort','reset','545GGgikn','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','serverNoContextTakeover','isIP','server_max_window_bits','client_max_window_bits','isArray','\x22\x20must\x20have\x20only\x20a\x20single\x20value','base64','reason','Opening\x20handshake\x20has\x20timed\x20out','_extensions','frame','writeUInt16BE','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_removeListeners','rsv1','compress','_errorEmitted','authorized','getInfo','next','writeHead','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','dequeue','Invalid\x20value\x20for\x20parameter\x20\x22','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','destroy','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','message','_allowSynchronousEvents','kError','join','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','addEventListener','status-code','12cyuIhd','getPayloadLength16','protocolVersion','password','authorization','nextTick','callback','Invalid\x20Sec-WebSocket-Accept\x20header','wsClientError','_firstFragment','call','createSocket','createConnection','code','_closeFrameSent','_final','_originalHostOrSocketPath','zlibDeflateOptions','kWasClean','sec-websocket-key','format','type','digest','readable','File','hostname','isBuffer','add','sec-websocket-origin','133UmcQLA','controlMessage','_url','port','_socket','allowSynchronousEvents','_bufferedAmount','startLoop','constructor','getOwnPropertyDescriptor','server_no_context_takeover','_queue','listenerCount','setSocket','has','Maximum\x20redirects\x20exceeded','invalid\x20opcode\x200','backlog','buffer','http:','onmessage','default','MASK\x20must\x20be\x20set','kAborted','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Unknown\x20parameter\x20\x22','maxRedirects','_totalPayloadLength','createServer','wss:','WS_ERR_UNEXPECTED_MASK','18NwgLvR','request','13,\x208','isPaused','indexOf','kListener','delete','_fin','socketPath','_server','kByteLength','end','completeUpgrade','client_no_context_takeover','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','method','_writableState','shift','jobs','readyState','unshift','stream','_registerDependencies','from','Unexpected\x20character\x20at\x20index\x20','once','byteOffset','set','setNoDelay','OPEN','kRun','_messageLength'];_0x4e69=function(){return _0x32006d;};return _0x4e69();}function V(){const _0x5eb4db=_0x257af8;if(Ye)return ge;Ye=0x1;const _0x5ba82a=[_0x5eb4db(0x256),_0x5eb4db(0x1cf),_0x5eb4db(0x125)],_0x5df76a=typeof Blob<'u';return _0x5df76a&&_0x5ba82a[_0x5eb4db(0x25e)](_0x5eb4db(0x119)),ge={'BINARY_TYPES':_0x5ba82a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x5eb4db(0x216),'hasBlob':_0x5df76a,'kForOnEventAttribute':Symbol(_0x5eb4db(0x251)),'kListener':Symbol(_0x5eb4db(0x1ab)),'kStatusCode':Symbol(_0x5eb4db(0x168)),'kWebSocket':Symbol(_0x5eb4db(0x241)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x257af8(0x136)](Object[_0x257af8(0x13c)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x12e8cc=_0x257af8;if(Ke)return te[_0x12e8cc(0x23a)];Ke=0x1;const {EMPTY_BUFFER:_0x10158e}=V(),_0x2e5fda=Buffer[Symbol[_0x12e8cc(0x21a)]];function _0x27eb68(_0xce7e5c,_0x54c368){const _0x138a4b=_0x12e8cc;if(_0xce7e5c[_0x138a4b(0x20a)]===0x0)return _0x10158e;if(_0xce7e5c[_0x138a4b(0x20a)]===0x1)return _0xce7e5c[0x0];const _0x3d501e=Buffer[_0x138a4b(0x1e9)](_0x54c368);let _0x282860=0x0;for(let _0x1596a4=0x0;_0x1596a4<_0xce7e5c[_0x138a4b(0x20a)];_0x1596a4++){const _0x149618=_0xce7e5c[_0x1596a4];_0x3d501e[_0x138a4b(0x1c1)](_0x149618,_0x282860),_0x282860+=_0x149618['length'];}return _0x282860<_0x54c368?new _0x2e5fda(_0x3d501e[_0x138a4b(0x198)],_0x3d501e[_0x138a4b(0x1c0)],_0x282860):_0x3d501e;}function _0x1c9e65(_0x417ed2,_0x866739,_0x51efa3,_0x5a2552,_0x2bf730){for(let _0x1c024f=0x0;_0x1c024f<_0x2bf730;_0x1c024f++)_0x51efa3[_0x5a2552+_0x1c024f]=_0x417ed2[_0x1c024f]^_0x866739[_0x1c024f&0x3];}function _0x4210c0(_0x4add32,_0x3cbec7){const _0x123ffa=_0x12e8cc;for(let _0x488ce4=0x0;_0x488ce4<_0x4add32[_0x123ffa(0x20a)];_0x488ce4++)_0x4add32[_0x488ce4]^=_0x3cbec7[_0x488ce4&0x3];}function _0x2b64b7(_0x56a8f7){const _0x415258=_0x12e8cc;return _0x56a8f7['length']===_0x56a8f7[_0x415258(0x198)][_0x415258(0x225)]?_0x56a8f7[_0x415258(0x198)]:_0x56a8f7[_0x415258(0x198)][_0x415258(0x259)](_0x56a8f7['byteOffset'],_0x56a8f7['byteOffset']+_0x56a8f7['length']);}function _0x41ccb1(_0xa0ff2a){const _0x311ff0=_0x12e8cc;if(_0x41ccb1[_0x311ff0(0x20c)]=!0x0,Buffer[_0x311ff0(0x183)](_0xa0ff2a))return _0xa0ff2a;let _0x2f5110;return _0xa0ff2a instanceof ArrayBuffer?_0x2f5110=new _0x2e5fda(_0xa0ff2a):ArrayBuffer[_0x311ff0(0xe4)](_0xa0ff2a)?_0x2f5110=new _0x2e5fda(_0xa0ff2a[_0x311ff0(0x198)],_0xa0ff2a[_0x311ff0(0x1c0)],_0xa0ff2a[_0x311ff0(0x225)]):(_0x2f5110=Buffer['from'](_0xa0ff2a),_0x41ccb1['readOnly']=!0x1),_0x2f5110;}if(te['exports']={'concat':_0x27eb68,'mask':_0x1c9e65,'toArrayBuffer':_0x2b64b7,'toBuffer':_0x41ccb1,'unmask':_0x4210c0},!process[_0x12e8cc(0x104)]['WS_NO_BUFFER_UTIL'])try{const _0x616b9d=Vt;te[_0x12e8cc(0x23a)]['mask']=function(_0x30d5bb,_0x522786,_0xc1f798,_0x131870,_0x2ded9a){const _0x29a3cc=_0x12e8cc;_0x2ded9a<0x30?_0x1c9e65(_0x30d5bb,_0x522786,_0xc1f798,_0x131870,_0x2ded9a):_0x616b9d[_0x29a3cc(0x140)](_0x30d5bb,_0x522786,_0xc1f798,_0x131870,_0x2ded9a);},te[_0x12e8cc(0x23a)][_0x12e8cc(0x114)]=function(_0x23af96,_0x29837d){const _0x16628c=_0x12e8cc;_0x23af96['length']<0x20?_0x4210c0(_0x23af96,_0x29837d):_0x616b9d[_0x16628c(0x114)](_0x23af96,_0x29837d);};}catch{}return te[_0x12e8cc(0x23a)];}var ye,Xe;function qt(){const _0x1a8ec3=_0x257af8;if(Xe)return ye;Xe=0x1;const _0x144218=Symbol('kDone'),_0x1497a1=Symbol(_0x1a8ec3(0x1c4));class _0x44e576{constructor(_0x3097be){const _0x23c3cf=_0x1a8ec3;this[_0x144218]=()=>{this['pending']--,this[_0x1497a1]();},this[_0x23c3cf(0xc2)]=_0x3097be||0x1/0x0,this[_0x23c3cf(0x1b8)]=[],this[_0x23c3cf(0xce)]=0x0;}[_0x1a8ec3(0x184)](_0x3bf0f6){const _0x4ab284=_0x1a8ec3;this[_0x4ab284(0x1b8)][_0x4ab284(0x25e)](_0x3bf0f6),this[_0x1497a1]();}[_0x1497a1](){const _0x41d516=_0x1a8ec3;if(this[_0x41d516(0xce)]!==this[_0x41d516(0xc2)]&&this['jobs'][_0x41d516(0x20a)]){const _0x38347c=this[_0x41d516(0x1b8)][_0x41d516(0x1b7)]();this['pending']++,_0x38347c(this[_0x144218]);}}}return ye=_0x44e576,ye;}var ve,Ze;function he(){const _0x262b4b=_0x257af8;if(Ze)return ve;Ze=0x1;const _0x266d68=_0x1e18ab,_0x3294ad=ce(),_0x1cef29=qt(),{kStatusCode:_0x4d4b3b}=V(),_0x136c0e=Buffer[Symbol[_0x262b4b(0x21a)]],_0x5a5c65=Buffer[_0x262b4b(0x1bd)]([0x0,0x0,0xff,0xff]),_0x59474d=Symbol(_0x262b4b(0x1d1)),_0x5520a2=Symbol('total-length'),_0x3ca61f=Symbol(_0x262b4b(0x16f)),_0x528c3c=Symbol('buffers'),_0x526e6f=Symbol(_0x262b4b(0x1ff));let _0x220693;class _0xb9b9a3{constructor(_0x2cc301,_0x521545,_0x5c1549){const _0x12626d=_0x262b4b;if(this['_maxPayload']=_0x5c1549|0x0,this['_options']=_0x2cc301||{},this[_0x12626d(0x1d8)]=this['_options'][_0x12626d(0x207)]!==void 0x0?this['_options'][_0x12626d(0x207)]:0x400,this['_isServer']=!!_0x521545,this['_deflate']=null,this['_inflate']=null,this[_0x12626d(0x1c6)]=null,!_0x220693){const _0xb2d308=this[_0x12626d(0x217)][_0x12626d(0x138)]!==void 0x0?this[_0x12626d(0x217)]['concurrencyLimit']:0xa;_0x220693=new _0x1cef29(_0xb2d308);}}static get['extensionName'](){const _0x3c67db=_0x262b4b;return _0x3c67db(0x1d1);}[_0x262b4b(0x24a)](){const _0x28c596=_0x262b4b,_0x4d98af={};return this[_0x28c596(0x217)][_0x28c596(0x147)]&&(_0x4d98af[_0x28c596(0x190)]=!0x0),this[_0x28c596(0x217)]['clientNoContextTakeover']&&(_0x4d98af[_0x28c596(0x1b3)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x4d98af[_0x28c596(0x149)]=this[_0x28c596(0x217)][_0x28c596(0xee)]),this[_0x28c596(0x217)][_0x28c596(0x262)]?_0x4d98af['client_max_window_bits']=this[_0x28c596(0x217)][_0x28c596(0x262)]:this['_options'][_0x28c596(0x262)]==null&&(_0x4d98af[_0x28c596(0x14a)]=!0x0),_0x4d98af;}['accept'](_0x178c14){const _0x4accb1=_0x262b4b;return _0x178c14=this['normalizeParams'](_0x178c14),this[_0x4accb1(0x1c6)]=this[_0x4accb1(0x248)]?this['acceptAsServer'](_0x178c14):this[_0x4accb1(0x10c)](_0x178c14),this['params'];}[_0x262b4b(0xbd)](){const _0xb05ab6=_0x262b4b;if(this[_0xb05ab6(0xe8)]&&(this[_0xb05ab6(0xe8)]['close'](),this[_0xb05ab6(0xe8)]=null),this[_0xb05ab6(0x13e)]){const _0x49dfb0=this[_0xb05ab6(0x13e)][_0x3ca61f];this[_0xb05ab6(0x13e)][_0xb05ab6(0x1f1)](),this['_deflate']=null,_0x49dfb0&&_0x49dfb0(new Error(_0xb05ab6(0xbe)));}}[_0x262b4b(0x25c)](_0xb3d8f4){const _0x77ae4c=_0x262b4b,_0x8f27b6=this[_0x77ae4c(0x217)],_0x24769f=_0xb3d8f4['find'](_0x5d941e=>!(_0x8f27b6['serverNoContextTakeover']===!0x1&&_0x5d941e[_0x77ae4c(0x190)]||_0x5d941e[_0x77ae4c(0x149)]&&(_0x8f27b6['serverMaxWindowBits']===!0x1||typeof _0x8f27b6['serverMaxWindowBits']==_0x77ae4c(0x261)&&_0x8f27b6[_0x77ae4c(0xee)]>_0x5d941e['server_max_window_bits'])||typeof _0x8f27b6[_0x77ae4c(0x262)]==_0x77ae4c(0x261)&&!_0x5d941e[_0x77ae4c(0x14a)]));if(!_0x24769f)throw new Error(_0x77ae4c(0x1b4));return _0x8f27b6[_0x77ae4c(0x147)]&&(_0x24769f['server_no_context_takeover']=!0x0),_0x8f27b6[_0x77ae4c(0x124)]&&(_0x24769f[_0x77ae4c(0x1b3)]=!0x0),typeof _0x8f27b6[_0x77ae4c(0xee)]=='number'&&(_0x24769f['server_max_window_bits']=_0x8f27b6[_0x77ae4c(0xee)]),typeof _0x8f27b6['clientMaxWindowBits']==_0x77ae4c(0x261)?_0x24769f[_0x77ae4c(0x14a)]=_0x8f27b6[_0x77ae4c(0x262)]:(_0x24769f[_0x77ae4c(0x14a)]===!0x0||_0x8f27b6['clientMaxWindowBits']===!0x1)&&delete _0x24769f[_0x77ae4c(0x14a)],_0x24769f;}['acceptAsClient'](_0x28a20b){const _0x189254=_0x262b4b,_0x2e7948=_0x28a20b[0x0];if(this['_options'][_0x189254(0x124)]===!0x1&&_0x2e7948['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2e7948[_0x189254(0x14a)])typeof this[_0x189254(0x217)][_0x189254(0x262)]==_0x189254(0x261)&&(_0x2e7948[_0x189254(0x14a)]=this[_0x189254(0x217)][_0x189254(0x262)]);else{if(this[_0x189254(0x217)][_0x189254(0x262)]===!0x1||typeof this[_0x189254(0x217)][_0x189254(0x262)]=='number'&&_0x2e7948[_0x189254(0x14a)]>this[_0x189254(0x217)][_0x189254(0x262)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x2e7948;}['normalizeParams'](_0x22cb1a){return _0x22cb1a['forEach'](_0x386640=>{const _0x559990=_0x4b3c;Object[_0x559990(0x231)](_0x386640)[_0x559990(0x20d)](_0x374d4a=>{const _0x453550=_0x559990;let _0x3dadbf=_0x386640[_0x374d4a];if(_0x3dadbf[_0x453550(0x20a)]>0x1)throw new Error(_0x453550(0x208)+_0x374d4a+_0x453550(0x14c));if(_0x3dadbf=_0x3dadbf[0x0],_0x374d4a===_0x453550(0x14a)){if(_0x3dadbf!==!0x0){const _0x241358=+_0x3dadbf;if(!Number['isInteger'](_0x241358)||_0x241358<0x8||_0x241358>0xf)throw new TypeError(_0x453550(0x15e)+_0x374d4a+_0x453550(0x224)+_0x3dadbf);_0x3dadbf=_0x241358;}else{if(!this[_0x453550(0x248)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x374d4a+_0x453550(0x224)+_0x3dadbf);}}else{if(_0x374d4a==='server_max_window_bits'){const _0x2ad221=+_0x3dadbf;if(!Number['isInteger'](_0x2ad221)||_0x2ad221<0x8||_0x2ad221>0xf)throw new TypeError(_0x453550(0x15e)+_0x374d4a+_0x453550(0x224)+_0x3dadbf);_0x3dadbf=_0x2ad221;}else{if(_0x374d4a===_0x453550(0x1b3)||_0x374d4a==='server_no_context_takeover'){if(_0x3dadbf!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x374d4a+_0x453550(0x224)+_0x3dadbf);}else throw new Error(_0x453550(0x1a0)+_0x374d4a+'\x22');}}_0x386640[_0x374d4a]=_0x3dadbf;});}),_0x22cb1a;}['decompress'](_0x370ba6,_0x2433d9,_0x4b02aa){const _0x4cc8a7=_0x262b4b;_0x220693[_0x4cc8a7(0x184)](_0x1ffd8f=>{const _0x456d89=_0x4cc8a7;this[_0x456d89(0xe5)](_0x370ba6,_0x2433d9,(_0x4cc86c,_0xafc3a9)=>{_0x1ffd8f(),_0x4b02aa(_0x4cc86c,_0xafc3a9);});});}[_0x262b4b(0x156)](_0x127f23,_0x4532c0,_0x55bef5){const _0x2b239d=_0x262b4b;_0x220693[_0x2b239d(0x184)](_0x322653=>{const _0x5fe77f=_0x2b239d;this[_0x5fe77f(0x141)](_0x127f23,_0x4532c0,(_0x10798a,_0x365625)=>{_0x322653(),_0x55bef5(_0x10798a,_0x365625);});});}[_0x262b4b(0xe5)](_0x33598c,_0x3ecdb4,_0x4d42b5){const _0x42b5a5=_0x262b4b,_0x533a34=this[_0x42b5a5(0x248)]?_0x42b5a5(0x24b):_0x42b5a5(0x123);if(!this[_0x42b5a5(0xe8)]){const _0x2ad840=_0x533a34+_0x42b5a5(0x11d),_0x5cabf6=typeof this[_0x42b5a5(0x1c6)][_0x2ad840]!=_0x42b5a5(0x261)?_0x266d68['Z_DEFAULT_WINDOWBITS']:this[_0x42b5a5(0x1c6)][_0x2ad840];this[_0x42b5a5(0xe8)]=_0x266d68['createInflateRaw']({...this[_0x42b5a5(0x217)][_0x42b5a5(0x139)],'windowBits':_0x5cabf6}),this[_0x42b5a5(0xe8)][_0x59474d]=this,this['_inflate'][_0x5520a2]=0x0,this[_0x42b5a5(0xe8)][_0x528c3c]=[],this[_0x42b5a5(0xe8)]['on'](_0x42b5a5(0x1ff),_0x27c15b),this[_0x42b5a5(0xe8)]['on'](_0x42b5a5(0x23b),_0x27f001);}this[_0x42b5a5(0xe8)][_0x3ca61f]=_0x4d42b5,this[_0x42b5a5(0xe8)]['write'](_0x33598c),_0x3ecdb4&&this[_0x42b5a5(0xe8)][_0x42b5a5(0x1ce)](_0x5a5c65),this[_0x42b5a5(0xe8)][_0x42b5a5(0x267)](()=>{const _0x3359cd=_0x42b5a5,_0x40cf9c=this[_0x3359cd(0xe8)][_0x526e6f];if(_0x40cf9c){this[_0x3359cd(0xe8)]['close'](),this[_0x3359cd(0xe8)]=null,_0x4d42b5(_0x40cf9c);return;}const _0x8790c=_0x3294ad[_0x3359cd(0xf6)](this[_0x3359cd(0xe8)][_0x528c3c],this[_0x3359cd(0xe8)][_0x5520a2]);this['_inflate'][_0x3359cd(0xf5)][_0x3359cd(0x219)]?(this[_0x3359cd(0xe8)][_0x3359cd(0x1f1)](),this[_0x3359cd(0xe8)]=null):(this[_0x3359cd(0xe8)][_0x5520a2]=0x0,this['_inflate'][_0x528c3c]=[],_0x3ecdb4&&this[_0x3359cd(0x1c6)][_0x533a34+_0x3359cd(0x1e3)]&&this[_0x3359cd(0xe8)]['reset']()),_0x4d42b5(null,_0x8790c);});}[_0x262b4b(0x141)](_0x35bc9d,_0xb27b9f,_0x294713){const _0x507158=_0x262b4b,_0x4e146c=this[_0x507158(0x248)]?_0x507158(0x123):'client';if(!this['_deflate']){const _0x2e9623=_0x4e146c+_0x507158(0x11d),_0x34e33a=typeof this[_0x507158(0x1c6)][_0x2e9623]!=_0x507158(0x261)?_0x266d68[_0x507158(0x1fe)]:this['params'][_0x2e9623];this[_0x507158(0x13e)]=_0x266d68['createDeflateRaw']({...this[_0x507158(0x217)][_0x507158(0x17a)],'windowBits':_0x34e33a}),this[_0x507158(0x13e)][_0x5520a2]=0x0,this[_0x507158(0x13e)][_0x528c3c]=[],this['_deflate']['on'](_0x507158(0x23b),_0x3d299f);}this[_0x507158(0x13e)][_0x3ca61f]=_0x294713,this[_0x507158(0x13e)]['write'](_0x35bc9d),this[_0x507158(0x13e)][_0x507158(0x267)](_0x266d68['Z_SYNC_FLUSH'],()=>{const _0x53cd5d=_0x507158;if(!this[_0x53cd5d(0x13e)])return;let _0x26988c=_0x3294ad[_0x53cd5d(0xf6)](this[_0x53cd5d(0x13e)][_0x528c3c],this[_0x53cd5d(0x13e)][_0x5520a2]);_0xb27b9f&&(_0x26988c=new _0x136c0e(_0x26988c['buffer'],_0x26988c[_0x53cd5d(0x1c0)],_0x26988c[_0x53cd5d(0x20a)]-0x4)),this[_0x53cd5d(0x13e)][_0x3ca61f]=null,this['_deflate'][_0x5520a2]=0x0,this[_0x53cd5d(0x13e)][_0x528c3c]=[],_0xb27b9f&&this[_0x53cd5d(0x1c6)][_0x4e146c+_0x53cd5d(0x1e3)]&&this[_0x53cd5d(0x13e)]['reset'](),_0x294713(null,_0x26988c);});}}ve=_0xb9b9a3;function _0x3d299f(_0x3e4602){const _0x213a13=_0x262b4b;this[_0x528c3c][_0x213a13(0x25e)](_0x3e4602),this[_0x5520a2]+=_0x3e4602[_0x213a13(0x20a)];}function _0x27f001(_0xe7c277){const _0x51148b=_0x262b4b;if(this[_0x5520a2]+=_0xe7c277[_0x51148b(0x20a)],this[_0x59474d][_0x51148b(0xcf)]<0x1||this[_0x5520a2]<=this[_0x59474d]['_maxPayload']){this[_0x528c3c][_0x51148b(0x25e)](_0xe7c277);return;}this[_0x526e6f]=new RangeError(_0x51148b(0x12d)),this[_0x526e6f]['code']=_0x51148b(0xf4),this[_0x526e6f][_0x4d4b3b]=0x3f1,this['removeListener'](_0x51148b(0x23b),_0x27f001),this[_0x51148b(0x144)]();}function _0x27c15b(_0x3a92e9){if(this[_0x59474d]['_inflate']=null,this[_0x526e6f]){this[_0x3ca61f](this[_0x526e6f]);return;}_0x3a92e9[_0x4d4b3b]=0x3ef,this[_0x3ca61f](_0x3a92e9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x257af8(0x136)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x257af8(0x227)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x1d4980=_0x257af8;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x99cf5}=_0x39d95f,{hasBlob:_0x294538}=V(),_0x39a571=[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 _0x47c75d(_0x2717e1){return _0x2717e1>=0x3e8&&_0x2717e1<=0x3f6&&_0x2717e1!==0x3ec&&_0x2717e1!==0x3ed&&_0x2717e1!==0x3ee||_0x2717e1>=0xbb8&&_0x2717e1<=0x1387;}function _0x5319f5(_0x4950e2){const _0x1a0fa9=_0x4950e2['length'];let _0x329279=0x0;for(;_0x329279<_0x1a0fa9;)if((_0x4950e2[_0x329279]&0x80)===0x0)_0x329279++;else{if((_0x4950e2[_0x329279]&0xe0)===0xc0){if(_0x329279+0x1===_0x1a0fa9||(_0x4950e2[_0x329279+0x1]&0xc0)!==0x80||(_0x4950e2[_0x329279]&0xfe)===0xc0)return!0x1;_0x329279+=0x2;}else{if((_0x4950e2[_0x329279]&0xf0)===0xe0){if(_0x329279+0x2>=_0x1a0fa9||(_0x4950e2[_0x329279+0x1]&0xc0)!==0x80||(_0x4950e2[_0x329279+0x2]&0xc0)!==0x80||_0x4950e2[_0x329279]===0xe0&&(_0x4950e2[_0x329279+0x1]&0xe0)===0x80||_0x4950e2[_0x329279]===0xed&&(_0x4950e2[_0x329279+0x1]&0xe0)===0xa0)return!0x1;_0x329279+=0x3;}else{if((_0x4950e2[_0x329279]&0xf8)===0xf0){if(_0x329279+0x3>=_0x1a0fa9||(_0x4950e2[_0x329279+0x1]&0xc0)!==0x80||(_0x4950e2[_0x329279+0x2]&0xc0)!==0x80||(_0x4950e2[_0x329279+0x3]&0xc0)!==0x80||_0x4950e2[_0x329279]===0xf0&&(_0x4950e2[_0x329279+0x1]&0xf0)===0x80||_0x4950e2[_0x329279]===0xf4&&_0x4950e2[_0x329279+0x1]>0x8f||_0x4950e2[_0x329279]>0xf4)return!0x1;_0x329279+=0x4;}else return!0x1;}}}return!0x0;}function _0xe4d3ed(_0x1caa9a){const _0x480587=_0x4b3c;return _0x294538&&typeof _0x1caa9a==_0x480587(0x25b)&&typeof _0x1caa9a[_0x480587(0x1ca)]==_0x480587(0x258)&&typeof _0x1caa9a[_0x480587(0x17e)]==_0x480587(0x252)&&typeof _0x1caa9a[_0x480587(0x1bb)]==_0x480587(0x258)&&(_0x1caa9a[Symbol[_0x480587(0x227)]]==='Blob'||_0x1caa9a[Symbol[_0x480587(0x227)]]===_0x480587(0x181));}if(re[_0x1d4980(0x23a)]={'isBlob':_0xe4d3ed,'isValidStatusCode':_0x47c75d,'isValidUTF8':_0x5319f5,'tokenChars':_0x39a571},_0x99cf5)re[_0x1d4980(0x23a)][_0x1d4980(0x247)]=function(_0x26063d){return _0x26063d['length']<0x18?_0x5319f5(_0x26063d):_0x99cf5(_0x26063d);};else{if(!process['env'][_0x1d4980(0x23c)])try{const _0x33eced=Yt;re['exports']['isValidUTF8']=function(_0xf3675){return _0xf3675['length']<0x20?_0x5319f5(_0xf3675):_0x33eced(_0xf3675);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x3c075c=_0x257af8;if(Je)return Se;Je=0x1;const {Writable:_0x3c0383}=_0x2a9a26,_0x2bbd11=he(),{BINARY_TYPES:_0x5e78a9,EMPTY_BUFFER:_0xea9033,kStatusCode:_0x2b131f,kWebSocket:_0x4f8148}=V(),{concat:_0x91b43d,toArrayBuffer:_0x32a733,unmask:_0x24d977}=ce(),{isValidStatusCode:_0x105fed,isValidUTF8:_0x323377}=ne(),_0x40af13=Buffer[Symbol[_0x3c075c(0x21a)]],_0x4e1b45=0x0,_0x1bb043=0x1,_0x489a1f=0x2,_0xd4f7e1=0x3,_0xcc059d=0x4,_0x38b7d1=0x5,_0x4e02eb=0x6;class _0x43eb7b extends _0x3c0383{constructor(_0x3746f1={}){const _0x1e294f=_0x3c075c;super(),this[_0x1e294f(0x163)]=_0x3746f1['allowSynchronousEvents']!==void 0x0?_0x3746f1[_0x1e294f(0x18b)]:!0x0,this['_binaryType']=_0x3746f1[_0x1e294f(0xfb)]||_0x5e78a9[0x0],this[_0x1e294f(0x150)]=_0x3746f1[_0x1e294f(0x212)]||{},this[_0x1e294f(0x248)]=!!_0x3746f1['isServer'],this['_maxPayload']=_0x3746f1[_0x1e294f(0x211)]|0x0,this[_0x1e294f(0x1c8)]=!!_0x3746f1[_0x1e294f(0x1f4)],this[_0x4f8148]=void 0x0,this[_0x1e294f(0x1dc)]=0x0,this[_0x1e294f(0xf3)]=[],this['_compressed']=!0x1,this[_0x1e294f(0x243)]=0x0,this['_mask']=void 0x0,this[_0x1e294f(0xc3)]=0x0,this['_masked']=!0x1,this[_0x1e294f(0x1ad)]=!0x1,this[_0x1e294f(0x1d9)]=0x0,this[_0x1e294f(0x1a2)]=0x0,this[_0x1e294f(0x1c5)]=0x0,this[_0x1e294f(0xe1)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x1e294f(0x116)]=_0x4e1b45;}[_0x3c075c(0x1f5)](_0x1f58d7,_0x2e25a4,_0x2bc8eb){const _0x238edd=_0x3c075c;if(this[_0x238edd(0x1d9)]===0x8&&this['_state']==_0x4e1b45)return _0x2bc8eb();this[_0x238edd(0x1dc)]+=_0x1f58d7[_0x238edd(0x20a)],this[_0x238edd(0xf3)][_0x238edd(0x25e)](_0x1f58d7),this['startLoop'](_0x2bc8eb);}[_0x3c075c(0x22c)](_0x148637){const _0x1175cd=_0x3c075c;if(this[_0x1175cd(0x1dc)]-=_0x148637,_0x148637===this[_0x1175cd(0xf3)][0x0][_0x1175cd(0x20a)])return this['_buffers'][_0x1175cd(0x1b7)]();if(_0x148637<this['_buffers'][0x0][_0x1175cd(0x20a)]){const _0x427e03=this['_buffers'][0x0];return this[_0x1175cd(0xf3)][0x0]=new _0x40af13(_0x427e03[_0x1175cd(0x198)],_0x427e03[_0x1175cd(0x1c0)]+_0x148637,_0x427e03[_0x1175cd(0x20a)]-_0x148637),new _0x40af13(_0x427e03[_0x1175cd(0x198)],_0x427e03[_0x1175cd(0x1c0)],_0x148637);}const _0x19f6de=Buffer['allocUnsafe'](_0x148637);do{const _0x30af12=this['_buffers'][0x0],_0x529a37=_0x19f6de[_0x1175cd(0x20a)]-_0x148637;_0x148637>=_0x30af12[_0x1175cd(0x20a)]?_0x19f6de[_0x1175cd(0x1c1)](this[_0x1175cd(0xf3)][_0x1175cd(0x1b7)](),_0x529a37):(_0x19f6de[_0x1175cd(0x1c1)](new Uint8Array(_0x30af12[_0x1175cd(0x198)],_0x30af12['byteOffset'],_0x148637),_0x529a37),this[_0x1175cd(0xf3)][0x0]=new _0x40af13(_0x30af12[_0x1175cd(0x198)],_0x30af12['byteOffset']+_0x148637,_0x30af12['length']-_0x148637)),_0x148637-=_0x30af12[_0x1175cd(0x20a)];}while(_0x148637>0x0);return _0x19f6de;}['startLoop'](_0x51d449){const _0x9b9d03=_0x3c075c;this[_0x9b9d03(0x103)]=!0x0;do switch(this['_state']){case _0x4e1b45:this[_0x9b9d03(0x159)](_0x51d449);break;case _0x1bb043:this[_0x9b9d03(0x16a)](_0x51d449);break;case _0x489a1f:this[_0x9b9d03(0x265)](_0x51d449);break;case _0xd4f7e1:this['getMask']();break;case _0xcc059d:this[_0x9b9d03(0x215)](_0x51d449);break;case _0x38b7d1:case _0x4e02eb:this[_0x9b9d03(0x103)]=!0x1;return;}while(this[_0x9b9d03(0x103)]);this['_errored']||_0x51d449();}[_0x3c075c(0x159)](_0x275e4a){const _0x26fa26=_0x3c075c;if(this['_bufferedBytes']<0x2){this[_0x26fa26(0x103)]=!0x1;return;}const _0x2f90c4=this[_0x26fa26(0x22c)](0x2);if((_0x2f90c4[0x0]&0x30)!==0x0){const _0x1022a0=this['createError'](RangeError,_0x26fa26(0x166),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x275e4a(_0x1022a0);return;}const _0x20dd1b=(_0x2f90c4[0x0]&0x40)===0x40;if(_0x20dd1b&&!this[_0x26fa26(0x150)][_0x2bbd11['extensionName']]){const _0x5424c7=this['createError'](RangeError,_0x26fa26(0x1e5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x275e4a(_0x5424c7);return;}if(this['_fin']=(_0x2f90c4[0x0]&0x80)===0x80,this['_opcode']=_0x2f90c4[0x0]&0xf,this[_0x26fa26(0x243)]=_0x2f90c4[0x1]&0x7f,this[_0x26fa26(0x1d9)]===0x0){if(_0x20dd1b){const _0x2197e8=this[_0x26fa26(0x237)](RangeError,_0x26fa26(0x1e5),!0x0,0x3ea,_0x26fa26(0xef));_0x275e4a(_0x2197e8);return;}if(!this['_fragmented']){const _0x466763=this[_0x26fa26(0x237)](RangeError,_0x26fa26(0x196),!0x0,0x3ea,_0x26fa26(0xde));_0x275e4a(_0x466763);return;}this[_0x26fa26(0x1d9)]=this[_0x26fa26(0xc3)];}else{if(this[_0x26fa26(0x1d9)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x43f72f=this[_0x26fa26(0x237)](RangeError,'invalid\x20opcode\x20'+this[_0x26fa26(0x1d9)],!0x0,0x3ea,_0x26fa26(0xde));_0x275e4a(_0x43f72f);return;}this['_compressed']=_0x20dd1b;}else{if(this[_0x26fa26(0x1d9)]>0x7&&this[_0x26fa26(0x1d9)]<0xb){if(!this[_0x26fa26(0x1ad)]){const _0x5dedea=this[_0x26fa26(0x237)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x275e4a(_0x5dedea);return;}if(_0x20dd1b){const _0x15ccd4=this[_0x26fa26(0x237)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x26fa26(0xef));_0x275e4a(_0x15ccd4);return;}if(this[_0x26fa26(0x243)]>0x7d||this['_opcode']===0x8&&this[_0x26fa26(0x243)]===0x1){const _0x2cc1f1=this[_0x26fa26(0x237)](RangeError,_0x26fa26(0x20e)+this['_payloadLength'],!0x0,0x3ea,_0x26fa26(0xf2));_0x275e4a(_0x2cc1f1);return;}}else{const _0xec9638=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x26fa26(0x1d9)],!0x0,0x3ea,_0x26fa26(0xde));_0x275e4a(_0xec9638);return;}}}if(!this[_0x26fa26(0x1ad)]&&!this[_0x26fa26(0xc3)]&&(this[_0x26fa26(0xc3)]=this['_opcode']),this[_0x26fa26(0x1cc)]=(_0x2f90c4[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x26fa26(0x1cc)]){const _0x9129ff=this['createError'](RangeError,_0x26fa26(0x19c),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x275e4a(_0x9129ff);return;}}else{if(this[_0x26fa26(0x1cc)]){const _0x21e97f=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x26fa26(0x1a5));_0x275e4a(_0x21e97f);return;}}this[_0x26fa26(0x243)]===0x7e?this[_0x26fa26(0x116)]=_0x1bb043:this[_0x26fa26(0x243)]===0x7f?this[_0x26fa26(0x116)]=_0x489a1f:this['haveLength'](_0x275e4a);}[_0x3c075c(0x16a)](_0x1d4a8e){const _0x149afb=_0x3c075c;if(this[_0x149afb(0x1dc)]<0x2){this[_0x149afb(0x103)]=!0x1;return;}this[_0x149afb(0x243)]=this[_0x149afb(0x22c)](0x2)[_0x149afb(0xd8)](0x0),this[_0x149afb(0xd0)](_0x1d4a8e);}[_0x3c075c(0x265)](_0x1a2cfd){const _0x105101=_0x3c075c;if(this[_0x105101(0x1dc)]<0x8){this[_0x105101(0x103)]=!0x1;return;}const _0x1abb52=this[_0x105101(0x22c)](0x8),_0x2a6d8e=_0x1abb52[_0x105101(0x1c9)](0x0);if(_0x2a6d8e>Math[_0x105101(0x134)](0x2,0x15)-0x1){const _0x17a966=this[_0x105101(0x237)](RangeError,_0x105101(0x266),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1a2cfd(_0x17a966);return;}this['_payloadLength']=_0x2a6d8e*Math['pow'](0x2,0x20)+_0x1abb52[_0x105101(0x1c9)](0x4),this['haveLength'](_0x1a2cfd);}[_0x3c075c(0xd0)](_0x6f669b){const _0x553a36=_0x3c075c;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x553a36(0x1a2)]+=this[_0x553a36(0x243)],this[_0x553a36(0x1a2)]>this['_maxPayload']&&this[_0x553a36(0xcf)]>0x0)){const _0x430f96=this[_0x553a36(0x237)](RangeError,_0x553a36(0x12d),!0x1,0x3f1,_0x553a36(0xf4));_0x6f669b(_0x430f96);return;}this[_0x553a36(0x1cc)]?this[_0x553a36(0x116)]=_0xd4f7e1:this['_state']=_0xcc059d;}[_0x3c075c(0x115)](){const _0x575fb3=_0x3c075c;if(this[_0x575fb3(0x1dc)]<0x4){this['_loop']=!0x1;return;}this[_0x575fb3(0x1f2)]=this['consume'](0x4),this[_0x575fb3(0x116)]=_0xcc059d;}[_0x3c075c(0x215)](_0x22d65c){const _0x36a3f1=_0x3c075c;let _0x53ada9=_0xea9033;if(this[_0x36a3f1(0x243)]){if(this[_0x36a3f1(0x1dc)]<this[_0x36a3f1(0x243)]){this[_0x36a3f1(0x103)]=!0x1;return;}_0x53ada9=this[_0x36a3f1(0x22c)](this[_0x36a3f1(0x243)]),this[_0x36a3f1(0x1cc)]&&(this[_0x36a3f1(0x1f2)][0x0]|this[_0x36a3f1(0x1f2)][0x1]|this[_0x36a3f1(0x1f2)][0x2]|this[_0x36a3f1(0x1f2)][0x3])!==0x0&&_0x24d977(_0x53ada9,this[_0x36a3f1(0x1f2)]);}if(this[_0x36a3f1(0x1d9)]>0x7){this[_0x36a3f1(0x187)](_0x53ada9,_0x22d65c);return;}if(this[_0x36a3f1(0xcb)]){this[_0x36a3f1(0x116)]=_0x38b7d1,this[_0x36a3f1(0x269)](_0x53ada9,_0x22d65c);return;}_0x53ada9['length']&&(this[_0x36a3f1(0x1c5)]=this[_0x36a3f1(0x1a2)],this[_0x36a3f1(0xe1)][_0x36a3f1(0x25e)](_0x53ada9)),this[_0x36a3f1(0xdf)](_0x22d65c);}[_0x3c075c(0x269)](_0x4b821e,_0x33eeaa){const _0x30eb84=_0x3c075c;this[_0x30eb84(0x150)][_0x2bbd11['extensionName']]['decompress'](_0x4b821e,this[_0x30eb84(0x1ad)],(_0x5af633,_0x5436d6)=>{const _0xd2683b=_0x30eb84;if(_0x5af633)return _0x33eeaa(_0x5af633);if(_0x5436d6[_0xd2683b(0x20a)]){if(this[_0xd2683b(0x1c5)]+=_0x5436d6['length'],this[_0xd2683b(0x1c5)]>this[_0xd2683b(0xcf)]&&this[_0xd2683b(0xcf)]>0x0){const _0x1e611a=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0xd2683b(0xf4));_0x33eeaa(_0x1e611a);return;}this[_0xd2683b(0xe1)][_0xd2683b(0x25e)](_0x5436d6);}this[_0xd2683b(0xdf)](_0x33eeaa),this['_state']===_0x4e1b45&&this[_0xd2683b(0x18d)](_0x33eeaa);});}[_0x3c075c(0xdf)](_0x4c1d5f){const _0x21e6d9=_0x3c075c;if(!this[_0x21e6d9(0x1ad)]){this[_0x21e6d9(0x116)]=_0x4e1b45;return;}const _0x68d9dd=this[_0x21e6d9(0x1c5)],_0x148e1e=this['_fragments'];if(this[_0x21e6d9(0x1a2)]=0x0,this[_0x21e6d9(0x1c5)]=0x0,this[_0x21e6d9(0xc3)]=0x0,this[_0x21e6d9(0xe1)]=[],this['_opcode']===0x2){let _0x4e6159;this[_0x21e6d9(0x245)]===_0x21e6d9(0x256)?_0x4e6159=_0x91b43d(_0x148e1e,_0x68d9dd):this[_0x21e6d9(0x245)]==='arraybuffer'?_0x4e6159=_0x32a733(_0x91b43d(_0x148e1e,_0x68d9dd)):this[_0x21e6d9(0x245)]===_0x21e6d9(0x119)?_0x4e6159=new Blob(_0x148e1e):_0x4e6159=_0x148e1e,this['_allowSynchronousEvents']?(this[_0x21e6d9(0x1e4)]('message',_0x4e6159,!0x0),this[_0x21e6d9(0x116)]=_0x4e1b45):(this[_0x21e6d9(0x116)]=_0x4e02eb,setImmediate(()=>{const _0x53824d=_0x21e6d9;this['emit'](_0x53824d(0x162),_0x4e6159,!0x0),this[_0x53824d(0x116)]=_0x4e1b45,this[_0x53824d(0x18d)](_0x4c1d5f);}));}else{const _0x219096=_0x91b43d(_0x148e1e,_0x68d9dd);if(!this[_0x21e6d9(0x1c8)]&&!_0x323377(_0x219096)){const _0x3122e2=this[_0x21e6d9(0x237)](Error,_0x21e6d9(0x1ec),!0x0,0x3ef,_0x21e6d9(0x11a));_0x4c1d5f(_0x3122e2);return;}this[_0x21e6d9(0x116)]===_0x38b7d1||this[_0x21e6d9(0x163)]?(this[_0x21e6d9(0x1e4)]('message',_0x219096,!0x1),this['_state']=_0x4e1b45):(this[_0x21e6d9(0x116)]=_0x4e02eb,setImmediate(()=>{const _0x44c922=_0x21e6d9;this[_0x44c922(0x1e4)](_0x44c922(0x162),_0x219096,!0x1),this[_0x44c922(0x116)]=_0x4e1b45,this[_0x44c922(0x18d)](_0x4c1d5f);}));}}[_0x3c075c(0x187)](_0x3fe58e,_0x29f3cf){const _0x3f7803=_0x3c075c;if(this[_0x3f7803(0x1d9)]===0x8){if(_0x3fe58e[_0x3f7803(0x20a)]===0x0)this[_0x3f7803(0x103)]=!0x1,this[_0x3f7803(0x1e4)](_0x3f7803(0xd7),0x3ed,_0xea9033),this['end']();else{const _0xf0ad0c=_0x3fe58e[_0x3f7803(0xd8)](0x0);if(!_0x105fed(_0xf0ad0c)){const _0x509afa=this[_0x3f7803(0x237)](RangeError,_0x3f7803(0x253)+_0xf0ad0c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x29f3cf(_0x509afa);return;}const _0xa369d7=new _0x40af13(_0x3fe58e[_0x3f7803(0x198)],_0x3fe58e[_0x3f7803(0x1c0)]+0x2,_0x3fe58e[_0x3f7803(0x20a)]-0x2);if(!this[_0x3f7803(0x1c8)]&&!_0x323377(_0xa369d7)){const _0x2849f4=this[_0x3f7803(0x237)](Error,_0x3f7803(0x1ec),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x29f3cf(_0x2849f4);return;}this[_0x3f7803(0x103)]=!0x1,this['emit'](_0x3f7803(0xd7),_0xf0ad0c,_0xa369d7),this[_0x3f7803(0x1b1)]();}this[_0x3f7803(0x116)]=_0x4e1b45;return;}this[_0x3f7803(0x163)]?(this['emit'](this[_0x3f7803(0x1d9)]===0x9?_0x3f7803(0x106):'pong',_0x3fe58e),this['_state']=_0x4e1b45):(this[_0x3f7803(0x116)]=_0x4e02eb,setImmediate(()=>{const _0x22854e=_0x3f7803;this['emit'](this[_0x22854e(0x1d9)]===0x9?_0x22854e(0x106):_0x22854e(0x24c),_0x3fe58e),this['_state']=_0x4e1b45,this[_0x22854e(0x18d)](_0x29f3cf);}));}[_0x3c075c(0x237)](_0x45caae,_0x428592,_0x4ea3d8,_0x5c72ea,_0x62a47a){const _0x21bb85=_0x3c075c;this[_0x21bb85(0x103)]=!0x1,this[_0x21bb85(0x21e)]=!0x0;const _0x312a7b=new _0x45caae(_0x4ea3d8?'Invalid\x20WebSocket\x20frame:\x20'+_0x428592:_0x428592);return Error[_0x21bb85(0x130)](_0x312a7b,this['createError']),_0x312a7b[_0x21bb85(0x176)]=_0x62a47a,_0x312a7b[_0x2b131f]=_0x5c72ea,_0x312a7b;}}return Se=_0x43eb7b,Se;}var Ee,et;function _t(){const _0x3a2e2d=_0x257af8;if(et)return Ee;et=0x1;const {Duplex:_0x123914}=_0x2a9a26,{randomFillSync:_0x8f2102}=_0x133164,_0x50ba1f=he(),{EMPTY_BUFFER:_0x34495e,kWebSocket:_0x70c94d,NOOP:_0x35ad79}=V(),{isBlob:_0x1b3583,isValidStatusCode:_0x4e4db4}=ne(),{mask:_0x104aca,toBuffer:_0x25c592}=ce(),_0x32a1c1=Symbol(_0x3a2e2d(0x1b0)),_0x15e1df=Buffer[_0x3a2e2d(0x1e0)](0x4),_0x3ad4d1=0x8*0x400;let _0xfef50,_0x5e64cc=_0x3ad4d1;const _0x36aa9f=0x0,_0x4b36c9=0x1,_0x13120b=0x2;class _0x5dac73{constructor(_0x385a46,_0x3a8a93,_0x8b80e9){const _0x174b4c=_0x3a2e2d;this[_0x174b4c(0x150)]=_0x3a8a93||{},_0x8b80e9&&(this['_generateMask']=_0x8b80e9,this[_0x174b4c(0x110)]=Buffer[_0x174b4c(0x1e0)](0x4)),this['_socket']=_0x385a46,this[_0x174b4c(0x172)]=!0x0,this[_0x174b4c(0x141)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x174b4c(0x116)]=_0x36aa9f,this['onerror']=_0x35ad79,this[_0x70c94d]=void 0x0;}static[_0x3a2e2d(0x151)](_0x3d5d9d,_0xde8900){const _0x18144f=_0x3a2e2d;let _0x5ce352,_0x3d54b0=!0x1,_0x3e5ce2=0x2,_0x4d559e=!0x1;_0xde8900[_0x18144f(0x140)]&&(_0x5ce352=_0xde8900[_0x18144f(0x240)]||_0x15e1df,_0xde8900[_0x18144f(0x122)]?_0xde8900[_0x18144f(0x122)](_0x5ce352):(_0x5e64cc===_0x3ad4d1&&(_0xfef50===void 0x0&&(_0xfef50=Buffer[_0x18144f(0x1e0)](_0x3ad4d1)),_0x8f2102(_0xfef50,0x0,_0x3ad4d1),_0x5e64cc=0x0),_0x5ce352[0x0]=_0xfef50[_0x5e64cc++],_0x5ce352[0x1]=_0xfef50[_0x5e64cc++],_0x5ce352[0x2]=_0xfef50[_0x5e64cc++],_0x5ce352[0x3]=_0xfef50[_0x5e64cc++]),_0x4d559e=(_0x5ce352[0x0]|_0x5ce352[0x1]|_0x5ce352[0x2]|_0x5ce352[0x3])===0x0,_0x3e5ce2=0x6);let _0x411011;typeof _0x3d5d9d==_0x18144f(0x252)?(!_0xde8900[_0x18144f(0x140)]||_0x4d559e)&&_0xde8900[_0x32a1c1]!==void 0x0?_0x411011=_0xde8900[_0x32a1c1]:(_0x3d5d9d=Buffer[_0x18144f(0x1bd)](_0x3d5d9d),_0x411011=_0x3d5d9d[_0x18144f(0x20a)]):(_0x411011=_0x3d5d9d[_0x18144f(0x20a)],_0x3d54b0=_0xde8900['mask']&&_0xde8900[_0x18144f(0x20c)]&&!_0x4d559e);let _0x55fe60=_0x411011;_0x411011>=0x10000?(_0x3e5ce2+=0x8,_0x55fe60=0x7f):_0x411011>0x7d&&(_0x3e5ce2+=0x2,_0x55fe60=0x7e);const _0x13ac4d=Buffer[_0x18144f(0x1e9)](_0x3d54b0?_0x411011+_0x3e5ce2:_0x3e5ce2);return _0x13ac4d[0x0]=_0xde8900[_0x18144f(0x1f0)]?_0xde8900[_0x18144f(0x1fa)]|0x80:_0xde8900[_0x18144f(0x1fa)],_0xde8900[_0x18144f(0x155)]&&(_0x13ac4d[0x0]|=0x40),_0x13ac4d[0x1]=_0x55fe60,_0x55fe60===0x7e?_0x13ac4d[_0x18144f(0x152)](_0x411011,0x2):_0x55fe60===0x7f&&(_0x13ac4d[0x2]=_0x13ac4d[0x3]=0x0,_0x13ac4d['writeUIntBE'](_0x411011,0x4,0x6)),_0xde8900[_0x18144f(0x140)]?(_0x13ac4d[0x1]|=0x80,_0x13ac4d[_0x3e5ce2-0x4]=_0x5ce352[0x0],_0x13ac4d[_0x3e5ce2-0x3]=_0x5ce352[0x1],_0x13ac4d[_0x3e5ce2-0x2]=_0x5ce352[0x2],_0x13ac4d[_0x3e5ce2-0x1]=_0x5ce352[0x3],_0x4d559e?[_0x13ac4d,_0x3d5d9d]:_0x3d54b0?(_0x104aca(_0x3d5d9d,_0x5ce352,_0x13ac4d,_0x3e5ce2,_0x411011),[_0x13ac4d]):(_0x104aca(_0x3d5d9d,_0x5ce352,_0x3d5d9d,0x0,_0x411011),[_0x13ac4d,_0x3d5d9d])):[_0x13ac4d,_0x3d5d9d];}['close'](_0x4d6d43,_0x5bd2c2,_0x282a03,_0x483708){const _0x2e9f6c=_0x3a2e2d;let _0x2a805a;if(_0x4d6d43===void 0x0)_0x2a805a=_0x34495e;else{if(typeof _0x4d6d43!=_0x2e9f6c(0x261)||!_0x4e4db4(_0x4d6d43))throw new TypeError(_0x2e9f6c(0xc8));if(_0x5bd2c2===void 0x0||!_0x5bd2c2[_0x2e9f6c(0x20a)])_0x2a805a=Buffer['allocUnsafe'](0x2),_0x2a805a[_0x2e9f6c(0x152)](_0x4d6d43,0x0);else{const _0x2598a5=Buffer['byteLength'](_0x5bd2c2);if(_0x2598a5>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2a805a=Buffer[_0x2e9f6c(0x1e9)](0x2+_0x2598a5),_0x2a805a[_0x2e9f6c(0x152)](_0x4d6d43,0x0),typeof _0x5bd2c2==_0x2e9f6c(0x252)?_0x2a805a[_0x2e9f6c(0x1ce)](_0x5bd2c2,0x2):_0x2a805a['set'](_0x5bd2c2,0x2);}}const _0x328602={[_0x32a1c1]:_0x2a805a[_0x2e9f6c(0x20a)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x282a03,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2e9f6c(0x116)]!==_0x36aa9f?this[_0x2e9f6c(0xcd)]([this[_0x2e9f6c(0x100)],_0x2a805a,!0x1,_0x328602,_0x483708]):this['sendFrame'](_0x5dac73[_0x2e9f6c(0x151)](_0x2a805a,_0x328602),_0x483708);}[_0x3a2e2d(0x106)](_0xaf3407,_0x2f2728,_0x213bdd){const _0x1a19f4=_0x3a2e2d;let _0x325bb5,_0x20b2ef;if(typeof _0xaf3407=='string'?(_0x325bb5=Buffer[_0x1a19f4(0x225)](_0xaf3407),_0x20b2ef=!0x1):_0x1b3583(_0xaf3407)?(_0x325bb5=_0xaf3407['size'],_0x20b2ef=!0x1):(_0xaf3407=_0x25c592(_0xaf3407),_0x325bb5=_0xaf3407[_0x1a19f4(0x20a)],_0x20b2ef=_0x25c592['readOnly']),_0x325bb5>0x7d)throw new RangeError(_0x1a19f4(0x132));const _0x148938={[_0x32a1c1]:_0x325bb5,'fin':!0x0,'generateMask':this[_0x1a19f4(0x1fb)],'mask':_0x2f2728,'maskBuffer':this[_0x1a19f4(0x110)],'opcode':0x9,'readOnly':_0x20b2ef,'rsv1':!0x1};_0x1b3583(_0xaf3407)?this['_state']!==_0x36aa9f?this[_0x1a19f4(0xcd)]([this[_0x1a19f4(0xd9)],_0xaf3407,!0x1,_0x148938,_0x213bdd]):this['getBlobData'](_0xaf3407,!0x1,_0x148938,_0x213bdd):this[_0x1a19f4(0x116)]!==_0x36aa9f?this['enqueue']([this[_0x1a19f4(0x100)],_0xaf3407,!0x1,_0x148938,_0x213bdd]):this[_0x1a19f4(0x1d7)](_0x5dac73[_0x1a19f4(0x151)](_0xaf3407,_0x148938),_0x213bdd);}[_0x3a2e2d(0x24c)](_0xe4016c,_0x216bab,_0x34c235){const _0x5d2cef=_0x3a2e2d;let _0x183d01,_0x18ab0d;if(typeof _0xe4016c==_0x5d2cef(0x252)?(_0x183d01=Buffer[_0x5d2cef(0x225)](_0xe4016c),_0x18ab0d=!0x1):_0x1b3583(_0xe4016c)?(_0x183d01=_0xe4016c[_0x5d2cef(0xbc)],_0x18ab0d=!0x1):(_0xe4016c=_0x25c592(_0xe4016c),_0x183d01=_0xe4016c['length'],_0x18ab0d=_0x25c592[_0x5d2cef(0x20c)]),_0x183d01>0x7d)throw new RangeError(_0x5d2cef(0x132));const _0x79355a={[_0x32a1c1]:_0x183d01,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x216bab,'maskBuffer':this[_0x5d2cef(0x110)],'opcode':0xa,'readOnly':_0x18ab0d,'rsv1':!0x1};_0x1b3583(_0xe4016c)?this[_0x5d2cef(0x116)]!==_0x36aa9f?this[_0x5d2cef(0xcd)]([this['getBlobData'],_0xe4016c,!0x1,_0x79355a,_0x34c235]):this[_0x5d2cef(0xd9)](_0xe4016c,!0x1,_0x79355a,_0x34c235):this[_0x5d2cef(0x116)]!==_0x36aa9f?this['enqueue']([this['dispatch'],_0xe4016c,!0x1,_0x79355a,_0x34c235]):this[_0x5d2cef(0x1d7)](_0x5dac73[_0x5d2cef(0x151)](_0xe4016c,_0x79355a),_0x34c235);}[_0x3a2e2d(0xc0)](_0x35255c,_0x138791,_0x226970){const _0x586708=_0x3a2e2d,_0x226944=this['_extensions'][_0x50ba1f[_0x586708(0x268)]];let _0x24825e=_0x138791[_0x586708(0x113)]?0x2:0x1,_0x2973c9=_0x138791['compress'],_0x3f7b7b,_0x96dabc;typeof _0x35255c==_0x586708(0x252)?(_0x3f7b7b=Buffer[_0x586708(0x225)](_0x35255c),_0x96dabc=!0x1):_0x1b3583(_0x35255c)?(_0x3f7b7b=_0x35255c[_0x586708(0xbc)],_0x96dabc=!0x1):(_0x35255c=_0x25c592(_0x35255c),_0x3f7b7b=_0x35255c[_0x586708(0x20a)],_0x96dabc=_0x25c592['readOnly']),this[_0x586708(0x172)]?(this['_firstFragment']=!0x1,_0x2973c9&&_0x226944&&_0x226944[_0x586708(0x1c6)][_0x226944[_0x586708(0x248)]?_0x586708(0x190):_0x586708(0x1b3)]&&(_0x2973c9=_0x3f7b7b>=_0x226944['_threshold']),this[_0x586708(0x141)]=_0x2973c9):(_0x2973c9=!0x1,_0x24825e=0x0),_0x138791[_0x586708(0x1f0)]&&(this[_0x586708(0x172)]=!0x0);const _0x619c41={[_0x32a1c1]:_0x3f7b7b,'fin':_0x138791[_0x586708(0x1f0)],'generateMask':this[_0x586708(0x1fb)],'mask':_0x138791[_0x586708(0x140)],'maskBuffer':this['_maskBuffer'],'opcode':_0x24825e,'readOnly':_0x96dabc,'rsv1':_0x2973c9};_0x1b3583(_0x35255c)?this[_0x586708(0x116)]!==_0x36aa9f?this[_0x586708(0xcd)]([this[_0x586708(0xd9)],_0x35255c,this['_compress'],_0x619c41,_0x226970]):this['getBlobData'](_0x35255c,this[_0x586708(0x141)],_0x619c41,_0x226970):this[_0x586708(0x116)]!==_0x36aa9f?this['enqueue']([this[_0x586708(0x100)],_0x35255c,this[_0x586708(0x141)],_0x619c41,_0x226970]):this[_0x586708(0x100)](_0x35255c,this[_0x586708(0x141)],_0x619c41,_0x226970);}[_0x3a2e2d(0xd9)](_0x4dc86d,_0x23e98a,_0x3de5ad,_0x5c1ffd){const _0x2dd9eb=_0x3a2e2d;this['_bufferedBytes']+=_0x3de5ad[_0x32a1c1],this[_0x2dd9eb(0x116)]=_0x13120b,_0x4dc86d[_0x2dd9eb(0x1ca)]()[_0x2dd9eb(0xd3)](_0x46ab0b=>{const _0x315341=_0x2dd9eb;if(this[_0x315341(0x18a)][_0x315341(0x1f9)]){const _0x9bb297=new Error(_0x315341(0x161));process[_0x315341(0x16e)](_0x3ce89d,this,_0x9bb297,_0x5c1ffd);return;}this[_0x315341(0x1dc)]-=_0x3de5ad[_0x32a1c1];const _0xd125de=_0x25c592(_0x46ab0b);_0x23e98a?this['dispatch'](_0xd125de,_0x23e98a,_0x3de5ad,_0x5c1ffd):(this[_0x315341(0x116)]=_0x36aa9f,this[_0x315341(0x1d7)](_0x5dac73[_0x315341(0x151)](_0xd125de,_0x3de5ad),_0x5c1ffd),this[_0x315341(0x15d)]());})['catch'](_0x3796b2=>{process['nextTick'](_0x5db0a1,this,_0x3796b2,_0x5c1ffd);});}[_0x3a2e2d(0x100)](_0x46e00e,_0x54e8b4,_0x3252a7,_0x50e9c2){const _0xe41487=_0x3a2e2d;if(!_0x54e8b4){this[_0xe41487(0x1d7)](_0x5dac73[_0xe41487(0x151)](_0x46e00e,_0x3252a7),_0x50e9c2);return;}const _0x4841ab=this[_0xe41487(0x150)][_0x50ba1f[_0xe41487(0x268)]];this[_0xe41487(0x1dc)]+=_0x3252a7[_0x32a1c1],this[_0xe41487(0x116)]=_0x4b36c9,_0x4841ab[_0xe41487(0x156)](_0x46e00e,_0x3252a7['fin'],(_0xd05599,_0x2b7ae1)=>{const _0x3d27c2=_0xe41487;if(this[_0x3d27c2(0x18a)][_0x3d27c2(0x1f9)]){const _0x4579a9=new Error(_0x3d27c2(0x1cd));_0x3ce89d(this,_0x4579a9,_0x50e9c2);return;}this[_0x3d27c2(0x1dc)]-=_0x3252a7[_0x32a1c1],this[_0x3d27c2(0x116)]=_0x36aa9f,_0x3252a7[_0x3d27c2(0x20c)]=!0x1,this['sendFrame'](_0x5dac73[_0x3d27c2(0x151)](_0x2b7ae1,_0x3252a7),_0x50e9c2),this[_0x3d27c2(0x15d)]();});}['dequeue'](){const _0x10d62b=_0x3a2e2d;for(;this[_0x10d62b(0x116)]===_0x36aa9f&&this[_0x10d62b(0x191)]['length'];){const _0x512ded=this['_queue']['shift']();this[_0x10d62b(0x1dc)]-=_0x512ded[0x3][_0x32a1c1],Reflect[_0x10d62b(0x203)](_0x512ded[0x0],this,_0x512ded['slice'](0x1));}}['enqueue'](_0x230267){const _0x5dc4fe=_0x3a2e2d;this[_0x5dc4fe(0x1dc)]+=_0x230267[0x3][_0x32a1c1],this['_queue'][_0x5dc4fe(0x25e)](_0x230267);}['sendFrame'](_0x5d660b,_0x3fe5e4){const _0x559017=_0x3a2e2d;_0x5d660b[_0x559017(0x20a)]===0x2?(this['_socket']['cork'](),this['_socket'][_0x559017(0x1ce)](_0x5d660b[0x0]),this[_0x559017(0x18a)][_0x559017(0x1ce)](_0x5d660b[0x1],_0x3fe5e4),this[_0x559017(0x18a)]['uncork']()):this['_socket']['write'](_0x5d660b[0x0],_0x3fe5e4);}}Ee=_0x5dac73;function _0x3ce89d(_0x5b8d9f,_0x27f7dd,_0x10bbea){const _0x377fa2=_0x3a2e2d;typeof _0x10bbea==_0x377fa2(0x258)&&_0x10bbea(_0x27f7dd);for(let _0x4e85f5=0x0;_0x4e85f5<_0x5b8d9f[_0x377fa2(0x191)]['length'];_0x4e85f5++){const _0x44765f=_0x5b8d9f['_queue'][_0x4e85f5],_0x2a9c29=_0x44765f[_0x44765f[_0x377fa2(0x20a)]-0x1];typeof _0x2a9c29==_0x377fa2(0x258)&&_0x2a9c29(_0x27f7dd);}}function _0x5db0a1(_0x432753,_0x292bc8,_0x4768f4){const _0x4d4eef=_0x3a2e2d;_0x3ce89d(_0x432753,_0x292bc8,_0x4768f4),_0x432753[_0x4d4eef(0x12a)](_0x292bc8);}return Ee;}var xe,tt;function Kt(){const _0x2ee0fb=_0x257af8;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x59ac31,kListener:_0x239e07}=V(),_0x1df7b9=Symbol(_0x2ee0fb(0x235)),_0x4f7e37=Symbol(_0x2ee0fb(0x222)),_0x49a049=Symbol(_0x2ee0fb(0x164)),_0x42d40c=Symbol('kMessage'),_0x1754a5=Symbol(_0x2ee0fb(0x22b)),_0xfda68c=Symbol('kTarget'),_0x1217dc=Symbol(_0x2ee0fb(0x21d)),_0xeceade=Symbol(_0x2ee0fb(0x17b));class _0x2d5a7f{constructor(_0x3a0721){this[_0xfda68c]=null,this[_0x1217dc]=_0x3a0721;}get['target'](){return this[_0xfda68c];}get[_0x2ee0fb(0x17e)](){return this[_0x1217dc];}}Object['defineProperty'](_0x2d5a7f['prototype'],_0x2ee0fb(0x13b),{'enumerable':!0x0}),Object[_0x2ee0fb(0x13c)](_0x2d5a7f['prototype'],_0x2ee0fb(0x17e),{'enumerable':!0x0});class _0x234f7b extends _0x2d5a7f{constructor(_0x8ffde,_0x5ae9b9={}){const _0x456754=_0x2ee0fb;super(_0x8ffde),this[_0x1df7b9]=_0x5ae9b9[_0x456754(0x176)]===void 0x0?0x0:_0x5ae9b9[_0x456754(0x176)],this[_0x1754a5]=_0x5ae9b9[_0x456754(0x14e)]===void 0x0?'':_0x5ae9b9['reason'],this[_0xeceade]=_0x5ae9b9[_0x456754(0x131)]===void 0x0?!0x1:_0x5ae9b9['wasClean'];}get[_0x2ee0fb(0x176)](){return this[_0x1df7b9];}get['reason'](){return this[_0x1754a5];}get[_0x2ee0fb(0x131)](){return this[_0xeceade];}}Object[_0x2ee0fb(0x13c)](_0x234f7b[_0x2ee0fb(0x221)],'code',{'enumerable':!0x0}),Object[_0x2ee0fb(0x13c)](_0x234f7b[_0x2ee0fb(0x221)],_0x2ee0fb(0x14e),{'enumerable':!0x0}),Object[_0x2ee0fb(0x13c)](_0x234f7b[_0x2ee0fb(0x221)],_0x2ee0fb(0x131),{'enumerable':!0x0});class _0x3e0301 extends _0x2d5a7f{constructor(_0x4ff1bc,_0xa13545={}){const _0x529a5c=_0x2ee0fb;super(_0x4ff1bc),this[_0x49a049]=_0xa13545[_0x529a5c(0x1ff)]===void 0x0?null:_0xa13545[_0x529a5c(0x1ff)],this[_0x42d40c]=_0xa13545[_0x529a5c(0x162)]===void 0x0?'':_0xa13545['message'];}get[_0x2ee0fb(0x1ff)](){return this[_0x49a049];}get[_0x2ee0fb(0x162)](){return this[_0x42d40c];}}Object[_0x2ee0fb(0x13c)](_0x3e0301[_0x2ee0fb(0x221)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x3e0301[_0x2ee0fb(0x221)],'message',{'enumerable':!0x0});class _0x42f0b4 extends _0x2d5a7f{constructor(_0xac37c7,_0x33e841={}){const _0x29eb54=_0x2ee0fb;super(_0xac37c7),this[_0x4f7e37]=_0x33e841[_0x29eb54(0x23b)]===void 0x0?null:_0x33e841['data'];}get[_0x2ee0fb(0x23b)](){return this[_0x4f7e37];}}Object[_0x2ee0fb(0x13c)](_0x42f0b4['prototype'],_0x2ee0fb(0x23b),{'enumerable':!0x0}),xe={'CloseEvent':_0x234f7b,'ErrorEvent':_0x3e0301,'Event':_0x2d5a7f,'EventTarget':{'addEventListener'(_0x296139,_0x26d561,_0x5c28fd={}){const _0x2664cf=_0x2ee0fb;for(const _0x3999f0 of this[_0x2664cf(0x25f)](_0x296139))if(!_0x5c28fd[_0x59ac31]&&_0x3999f0[_0x239e07]===_0x26d561&&!_0x3999f0[_0x59ac31])return;let _0x551d24;if(_0x296139==='message')_0x551d24=function(_0x1863e1,_0x83c965){const _0x25d4c1=_0x2664cf,_0x33ff98=new _0x42f0b4('message',{'data':_0x83c965?_0x1863e1:_0x1863e1[_0x25d4c1(0x127)]()});_0x33ff98[_0xfda68c]=this,_0x1a0349(_0x26d561,this,_0x33ff98);};else{if(_0x296139===_0x2664cf(0x1f1))_0x551d24=function(_0xa127f2,_0x3d9329){const _0x3ef1dc=_0x2664cf,_0xe136e1=new _0x234f7b(_0x3ef1dc(0x1f1),{'code':_0xa127f2,'reason':_0x3d9329[_0x3ef1dc(0x127)](),'wasClean':this[_0x3ef1dc(0x11c)]&&this[_0x3ef1dc(0x177)]});_0xe136e1[_0xfda68c]=this,_0x1a0349(_0x26d561,this,_0xe136e1);};else{if(_0x296139===_0x2664cf(0x1ff))_0x551d24=function(_0x455b45){const _0x6aed78=_0x2664cf,_0x8ab5a3=new _0x3e0301('error',{'error':_0x455b45,'message':_0x455b45[_0x6aed78(0x162)]});_0x8ab5a3[_0xfda68c]=this,_0x1a0349(_0x26d561,this,_0x8ab5a3);};else{if(_0x296139===_0x2664cf(0xec))_0x551d24=function(){const _0xaca212=new _0x2d5a7f('open');_0xaca212[_0xfda68c]=this,_0x1a0349(_0x26d561,this,_0xaca212);};else return;}}}_0x551d24[_0x59ac31]=!!_0x5c28fd[_0x59ac31],_0x551d24[_0x239e07]=_0x26d561,_0x5c28fd['once']?this[_0x2664cf(0x1bf)](_0x296139,_0x551d24):this['on'](_0x296139,_0x551d24);},'removeEventListener'(_0x4fdf34,_0x247ce8){for(const _0x169c0d of this['listeners'](_0x4fdf34))if(_0x169c0d[_0x239e07]===_0x247ce8&&!_0x169c0d[_0x59ac31]){this['removeListener'](_0x4fdf34,_0x169c0d);break;}}},'MessageEvent':_0x42f0b4};function _0x1a0349(_0x4344c9,_0x246b73,_0x3ede00){const _0x5d965f=_0x2ee0fb;typeof _0x4344c9==_0x5d965f(0x25b)&&_0x4344c9['handleEvent']?_0x4344c9['handleEvent'][_0x5d965f(0x173)](_0x4344c9,_0x3ede00):_0x4344c9[_0x5d965f(0x173)](_0x246b73,_0x3ede00);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4ab5c4}=ne();function _0x4ac3c0(_0x301431,_0x3e000a,_0x2e13b6){const _0x4a8726=_0x4b3c;_0x301431[_0x3e000a]===void 0x0?_0x301431[_0x3e000a]=[_0x2e13b6]:_0x301431[_0x3e000a][_0x4a8726(0x25e)](_0x2e13b6);}function _0x4b754c(_0x3c33e4){const _0x3b74d3=_0x4b3c,_0x237c77=Object[_0x3b74d3(0x250)](null);let _0x5a51bd=Object[_0x3b74d3(0x250)](null),_0x200d18=!0x1,_0x4fb5fc=!0x1,_0x3745af=!0x1,_0x3be3b1,_0x255f31,_0x3179b7=-0x1,_0x236f68=-0x1,_0x577bd4=-0x1,_0xbed2db=0x0;for(;_0xbed2db<_0x3c33e4[_0x3b74d3(0x20a)];_0xbed2db++)if(_0x236f68=_0x3c33e4[_0x3b74d3(0x1e7)](_0xbed2db),_0x3be3b1===void 0x0){if(_0x577bd4===-0x1&&_0x4ab5c4[_0x236f68]===0x1)_0x3179b7===-0x1&&(_0x3179b7=_0xbed2db);else{if(_0xbed2db!==0x0&&(_0x236f68===0x20||_0x236f68===0x9))_0x577bd4===-0x1&&_0x3179b7!==-0x1&&(_0x577bd4=_0xbed2db);else{if(_0x236f68===0x3b||_0x236f68===0x2c){if(_0x3179b7===-0x1)throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);_0x577bd4===-0x1&&(_0x577bd4=_0xbed2db);const _0x1cf2eb=_0x3c33e4[_0x3b74d3(0x259)](_0x3179b7,_0x577bd4);_0x236f68===0x2c?(_0x4ac3c0(_0x237c77,_0x1cf2eb,_0x5a51bd),_0x5a51bd=Object[_0x3b74d3(0x250)](null)):_0x3be3b1=_0x1cf2eb,_0x3179b7=_0x577bd4=-0x1;}else throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);}}}else{if(_0x255f31===void 0x0){if(_0x577bd4===-0x1&&_0x4ab5c4[_0x236f68]===0x1)_0x3179b7===-0x1&&(_0x3179b7=_0xbed2db);else{if(_0x236f68===0x20||_0x236f68===0x9)_0x577bd4===-0x1&&_0x3179b7!==-0x1&&(_0x577bd4=_0xbed2db);else{if(_0x236f68===0x3b||_0x236f68===0x2c){if(_0x3179b7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xbed2db);_0x577bd4===-0x1&&(_0x577bd4=_0xbed2db),_0x4ac3c0(_0x5a51bd,_0x3c33e4[_0x3b74d3(0x259)](_0x3179b7,_0x577bd4),!0x0),_0x236f68===0x2c&&(_0x4ac3c0(_0x237c77,_0x3be3b1,_0x5a51bd),_0x5a51bd=Object[_0x3b74d3(0x250)](null),_0x3be3b1=void 0x0),_0x3179b7=_0x577bd4=-0x1;}else{if(_0x236f68===0x3d&&_0x3179b7!==-0x1&&_0x577bd4===-0x1)_0x255f31=_0x3c33e4[_0x3b74d3(0x259)](_0x3179b7,_0xbed2db),_0x3179b7=_0x577bd4=-0x1;else throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);}}}}else{if(_0x4fb5fc){if(_0x4ab5c4[_0x236f68]!==0x1)throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);_0x3179b7===-0x1?_0x3179b7=_0xbed2db:_0x200d18||(_0x200d18=!0x0),_0x4fb5fc=!0x1;}else{if(_0x3745af){if(_0x4ab5c4[_0x236f68]===0x1)_0x3179b7===-0x1&&(_0x3179b7=_0xbed2db);else{if(_0x236f68===0x22&&_0x3179b7!==-0x1)_0x3745af=!0x1,_0x577bd4=_0xbed2db;else{if(_0x236f68===0x5c)_0x4fb5fc=!0x0;else throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);}}}else{if(_0x236f68===0x22&&_0x3c33e4[_0x3b74d3(0x1e7)](_0xbed2db-0x1)===0x3d)_0x3745af=!0x0;else{if(_0x577bd4===-0x1&&_0x4ab5c4[_0x236f68]===0x1)_0x3179b7===-0x1&&(_0x3179b7=_0xbed2db);else{if(_0x3179b7!==-0x1&&(_0x236f68===0x20||_0x236f68===0x9))_0x577bd4===-0x1&&(_0x577bd4=_0xbed2db);else{if(_0x236f68===0x3b||_0x236f68===0x2c){if(_0x3179b7===-0x1)throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);_0x577bd4===-0x1&&(_0x577bd4=_0xbed2db);let _0x1f2fc9=_0x3c33e4[_0x3b74d3(0x259)](_0x3179b7,_0x577bd4);_0x200d18&&(_0x1f2fc9=_0x1f2fc9[_0x3b74d3(0x1e2)](/\\/g,''),_0x200d18=!0x1),_0x4ac3c0(_0x5a51bd,_0x255f31,_0x1f2fc9),_0x236f68===0x2c&&(_0x4ac3c0(_0x237c77,_0x3be3b1,_0x5a51bd),_0x5a51bd=Object[_0x3b74d3(0x250)](null),_0x3be3b1=void 0x0),_0x255f31=void 0x0,_0x3179b7=_0x577bd4=-0x1;}else throw new SyntaxError(_0x3b74d3(0x1be)+_0xbed2db);}}}}}}}if(_0x3179b7===-0x1||_0x3745af||_0x236f68===0x20||_0x236f68===0x9)throw new SyntaxError(_0x3b74d3(0x1d6));_0x577bd4===-0x1&&(_0x577bd4=_0xbed2db);const _0x3b1b7d=_0x3c33e4[_0x3b74d3(0x259)](_0x3179b7,_0x577bd4);return _0x3be3b1===void 0x0?_0x4ac3c0(_0x237c77,_0x3b1b7d,_0x5a51bd):(_0x255f31===void 0x0?_0x4ac3c0(_0x5a51bd,_0x3b1b7d,!0x0):_0x200d18?_0x4ac3c0(_0x5a51bd,_0x255f31,_0x3b1b7d[_0x3b74d3(0x1e2)](/\\/g,'')):_0x4ac3c0(_0x5a51bd,_0x255f31,_0x3b1b7d),_0x4ac3c0(_0x237c77,_0x3be3b1,_0x5a51bd)),_0x237c77;}function _0x179046(_0x43ab20){const _0xc52f34=_0x4b3c;return Object[_0xc52f34(0x231)](_0x43ab20)[_0xc52f34(0x26a)](_0x377d26=>{const _0x160477=_0xc52f34;let _0x5f0105=_0x43ab20[_0x377d26];return Array[_0x160477(0x14b)](_0x5f0105)||(_0x5f0105=[_0x5f0105]),_0x5f0105[_0x160477(0x26a)](_0x564e16=>[_0x377d26]['concat'](Object[_0x160477(0x231)](_0x564e16)[_0x160477(0x26a)](_0x5b10f9=>{const _0x4bccab=_0x160477;let _0x237bc=_0x564e16[_0x5b10f9];return Array[_0x4bccab(0x14b)](_0x237bc)||(_0x237bc=[_0x237bc]),_0x237bc[_0x4bccab(0x26a)](_0x202122=>_0x202122===!0x0?_0x5b10f9:_0x5b10f9+'='+_0x202122)['join'](';\x20');}))['join'](';\x20'))[_0x160477(0x165)](',\x20');})[_0xc52f34(0x165)](',\x20');}return be={'format':_0x179046,'parse':_0x4b754c},be;}var we,st;function Ie(){const _0x3b383f=_0x257af8;if(st)return we;st=0x1;const _0x5dc7b2=_0x7342d3,_0x113774=_0x221911,_0x52dada=_0xcf2956,_0x260d97=_0x4f4a9b,_0x2ee7ad=_0x4df571,{randomBytes:_0x288d98,createHash:_0x17fbfe}=_0x133164,{Duplex:_0x49f1e7,Readable:_0x3fc9ab}=_0x2a9a26,{URL:_0xa55e1a}=_0x4e33ff,_0x3f2d5e=he(),_0x23152f=dt(),_0x3b4312=_t(),{isBlob:_0x36213c}=ne(),{BINARY_TYPES:_0x4fd2fd,EMPTY_BUFFER:_0x5de3c0,GUID:_0x276bfe,kForOnEventAttribute:_0x5692d9,kListener:_0x3eb4d8,kStatusCode:_0x5b0639,kWebSocket:_0x549585,NOOP:_0x2f7559}=V(),{EventTarget:{addEventListener:_0x42b575,removeEventListener:_0x405acb}}=Kt(),{format:_0x5a555e,parse:_0x2a1b0d}=pt(),{toBuffer:_0x1691e7}=ce(),_0x2217c0=0x1e*0x3e8,_0x888aa7=Symbol(_0x3b383f(0x19d)),_0x48d858=[0x8,0xd],_0xe6e307=[_0x3b383f(0xeb),_0x3b383f(0x1c3),_0x3b383f(0xda),_0x3b383f(0x10a)],_0x1f8436=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4a04e1 extends _0x5dc7b2{constructor(_0x3e3af5,_0x38980d,_0x13168){const _0x2743d3=_0x3b383f;super(),this['_binaryType']=_0x4fd2fd[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2743d3(0x177)]=!0x1,this[_0x2743d3(0xd6)]=_0x5de3c0,this['_closeTimer']=null,this[_0x2743d3(0x157)]=!0x1,this[_0x2743d3(0x150)]={},this[_0x2743d3(0xe2)]=!0x1,this[_0x2743d3(0x105)]='',this[_0x2743d3(0x108)]=_0x4a04e1[_0x2743d3(0xeb)],this[_0x2743d3(0x21b)]=null,this[_0x2743d3(0x239)]=null,this['_socket']=null,_0x3e3af5!==null?(this[_0x2743d3(0x18c)]=0x0,this[_0x2743d3(0x248)]=!0x1,this[_0x2743d3(0xff)]=0x0,_0x38980d===void 0x0?_0x38980d=[]:Array[_0x2743d3(0x14b)](_0x38980d)||(typeof _0x38980d=='object'&&_0x38980d!==null?(_0x13168=_0x38980d,_0x38980d=[]):_0x38980d=[_0x38980d]),_0x28bad4(this,_0x3e3af5,_0x38980d,_0x13168)):(this[_0x2743d3(0xc5)]=_0x13168['autoPong'],this['_isServer']=!0x0);}get[_0x3b383f(0xfb)](){const _0x7c2ad4=_0x3b383f;return this[_0x7c2ad4(0x245)];}set[_0x3b383f(0xfb)](_0x31ec1c){const _0x12bcd7=_0x3b383f;_0x4fd2fd[_0x12bcd7(0x246)](_0x31ec1c)&&(this[_0x12bcd7(0x245)]=_0x31ec1c,this['_receiver']&&(this[_0x12bcd7(0x21b)][_0x12bcd7(0x245)]=_0x31ec1c));}get[_0x3b383f(0x226)](){const _0x322541=_0x3b383f;return this[_0x322541(0x18a)]?this[_0x322541(0x18a)][_0x322541(0x1b6)][_0x322541(0x20a)]+this[_0x322541(0x239)][_0x322541(0x1dc)]:this[_0x322541(0x18c)];}get[_0x3b383f(0x212)](){const _0x66b04b=_0x3b383f;return Object[_0x66b04b(0x231)](this[_0x66b04b(0x150)])[_0x66b04b(0x165)]();}get[_0x3b383f(0x1a9)](){const _0xff9c57=_0x3b383f;return this[_0xff9c57(0xe2)];}get[_0x3b383f(0xf0)](){return null;}get[_0x3b383f(0x12a)](){return null;}get['onopen'](){return null;}get[_0x3b383f(0x19a)](){return null;}get[_0x3b383f(0x220)](){const _0x367dad=_0x3b383f;return this[_0x367dad(0x105)];}get[_0x3b383f(0x1b9)](){const _0x1915bd=_0x3b383f;return this[_0x1915bd(0x108)];}get[_0x3b383f(0xe6)](){const _0x310019=_0x3b383f;return this[_0x310019(0x188)];}[_0x3b383f(0x193)](_0x56a7cb,_0x37a95c,_0x1b9dd8){const _0x56c14f=_0x3b383f,_0x16875a=new _0x23152f({'allowSynchronousEvents':_0x1b9dd8[_0x56c14f(0x18b)],'binaryType':this[_0x56c14f(0xfb)],'extensions':this['_extensions'],'isServer':this[_0x56c14f(0x248)],'maxPayload':_0x1b9dd8[_0x56c14f(0x211)],'skipUTF8Validation':_0x1b9dd8[_0x56c14f(0x1f4)]}),_0x15b8c3=new _0x3b4312(_0x56a7cb,this[_0x56c14f(0x150)],_0x1b9dd8[_0x56c14f(0x122)]);this[_0x56c14f(0x21b)]=_0x16875a,this[_0x56c14f(0x239)]=_0x15b8c3,this['_socket']=_0x56a7cb,_0x16875a[_0x549585]=this,_0x15b8c3[_0x549585]=this,_0x56a7cb[_0x549585]=this,_0x16875a['on']('conclude',_0x25cc79),_0x16875a['on'](_0x56c14f(0x26b),_0x38b2f0),_0x16875a['on'](_0x56c14f(0x1ff),_0x5e6b70),_0x16875a['on'](_0x56c14f(0x162),_0x25aed1),_0x16875a['on'](_0x56c14f(0x106),_0x543695),_0x16875a['on'](_0x56c14f(0x24c),_0x7fe053),_0x15b8c3[_0x56c14f(0x12a)]=_0x3c0a59,_0x56a7cb[_0x56c14f(0x23f)]&&_0x56a7cb[_0x56c14f(0x23f)](0x0),_0x56a7cb[_0x56c14f(0x1c2)]&&_0x56a7cb[_0x56c14f(0x1c2)](),_0x37a95c[_0x56c14f(0x20a)]>0x0&&_0x56a7cb[_0x56c14f(0x1ba)](_0x37a95c),_0x56a7cb['on'](_0x56c14f(0x1f1),_0x253f16),_0x56a7cb['on'](_0x56c14f(0x23b),_0x9e71b4),_0x56a7cb['on']('end',_0xe964c6),_0x56a7cb['on'](_0x56c14f(0x1ff),_0x183de7),this[_0x56c14f(0x108)]=_0x4a04e1[_0x56c14f(0x1c3)],this[_0x56c14f(0x1e4)](_0x56c14f(0xec));}['emitClose'](){const _0x3230e9=_0x3b383f;if(!this[_0x3230e9(0x18a)]){this[_0x3230e9(0x108)]=_0x4a04e1[_0x3230e9(0x10a)],this['emit'](_0x3230e9(0x1f1),this[_0x3230e9(0x12b)],this[_0x3230e9(0xd6)]);return;}this[_0x3230e9(0x150)][_0x3f2d5e[_0x3230e9(0x268)]]&&this[_0x3230e9(0x150)][_0x3f2d5e[_0x3230e9(0x268)]][_0x3230e9(0xbd)](),this['_receiver'][_0x3230e9(0xed)](),this[_0x3230e9(0x108)]=_0x4a04e1[_0x3230e9(0x10a)],this[_0x3230e9(0x1e4)](_0x3230e9(0x1f1),this['_closeCode'],this['_closeMessage']);}[_0x3b383f(0x1f1)](_0x41e1f7,_0x4ea4dc){const _0x785030=_0x3b383f;if(this[_0x785030(0x1b9)]!==_0x4a04e1[_0x785030(0x10a)]){if(this[_0x785030(0x1b9)]===_0x4a04e1[_0x785030(0xeb)]){_0x25bc77(this,this[_0x785030(0x1db)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x4a04e1['CLOSING']){this['_closeFrameSent']&&(this[_0x785030(0x11c)]||this['_receiver'][_0x785030(0x1b6)][_0x785030(0x13f)])&&this['_socket'][_0x785030(0x1b1)]();return;}this[_0x785030(0x108)]=_0x4a04e1['CLOSING'],this[_0x785030(0x239)]['close'](_0x41e1f7,_0x4ea4dc,!this[_0x785030(0x248)],_0x2a19f7=>{const _0x230e12=_0x785030;_0x2a19f7||(this[_0x230e12(0x177)]=!0x0,(this[_0x230e12(0x11c)]||this[_0x230e12(0x21b)][_0x230e12(0x1b6)]['errorEmitted'])&&this['_socket'][_0x230e12(0x1b1)]());}),_0x43894e(this);}}[_0x3b383f(0x260)](){const _0x5a02c6=_0x3b383f;this[_0x5a02c6(0x1b9)]===_0x4a04e1[_0x5a02c6(0xeb)]||this[_0x5a02c6(0x1b9)]===_0x4a04e1['CLOSED']||(this['_paused']=!0x0,this[_0x5a02c6(0x18a)][_0x5a02c6(0x260)]());}[_0x3b383f(0x106)](_0x244be5,_0x42e84a,_0x599d12){const _0x5efeb6=_0x3b383f;if(this['readyState']===_0x4a04e1[_0x5efeb6(0xeb)])throw new Error(_0x5efeb6(0x19e));if(typeof _0x244be5==_0x5efeb6(0x258)?(_0x599d12=_0x244be5,_0x244be5=_0x42e84a=void 0x0):typeof _0x42e84a==_0x5efeb6(0x258)&&(_0x599d12=_0x42e84a,_0x42e84a=void 0x0),typeof _0x244be5==_0x5efeb6(0x261)&&(_0x244be5=_0x244be5[_0x5efeb6(0x127)]()),this[_0x5efeb6(0x1b9)]!==_0x4a04e1[_0x5efeb6(0x1c3)]){_0x98ca89(this,_0x244be5,_0x599d12);return;}_0x42e84a===void 0x0&&(_0x42e84a=!this['_isServer']),this[_0x5efeb6(0x239)][_0x5efeb6(0x106)](_0x244be5||_0x5de3c0,_0x42e84a,_0x599d12);}[_0x3b383f(0x24c)](_0x17a9bc,_0x4195d1,_0x368cc7){const _0x39d0c8=_0x3b383f;if(this['readyState']===_0x4a04e1[_0x39d0c8(0xeb)])throw new Error(_0x39d0c8(0x19e));if(typeof _0x17a9bc=='function'?(_0x368cc7=_0x17a9bc,_0x17a9bc=_0x4195d1=void 0x0):typeof _0x4195d1==_0x39d0c8(0x258)&&(_0x368cc7=_0x4195d1,_0x4195d1=void 0x0),typeof _0x17a9bc==_0x39d0c8(0x261)&&(_0x17a9bc=_0x17a9bc[_0x39d0c8(0x127)]()),this[_0x39d0c8(0x1b9)]!==_0x4a04e1[_0x39d0c8(0x1c3)]){_0x98ca89(this,_0x17a9bc,_0x368cc7);return;}_0x4195d1===void 0x0&&(_0x4195d1=!this['_isServer']),this[_0x39d0c8(0x239)][_0x39d0c8(0x24c)](_0x17a9bc||_0x5de3c0,_0x4195d1,_0x368cc7);}[_0x3b383f(0xc6)](){const _0x850378=_0x3b383f;this[_0x850378(0x1b9)]===_0x4a04e1['CONNECTING']||this['readyState']===_0x4a04e1[_0x850378(0x10a)]||(this[_0x850378(0xe2)]=!0x1,this['_receiver'][_0x850378(0x1b6)][_0x850378(0x218)]||this['_socket'][_0x850378(0xc6)]());}[_0x3b383f(0xc0)](_0x9ab3ef,_0x3c4eb5,_0x5bd80a){const _0xe5a14b=_0x3b383f;if(this[_0xe5a14b(0x1b9)]===_0x4a04e1[_0xe5a14b(0xeb)])throw new Error(_0xe5a14b(0x19e));if(typeof _0x3c4eb5==_0xe5a14b(0x258)&&(_0x5bd80a=_0x3c4eb5,_0x3c4eb5={}),typeof _0x9ab3ef==_0xe5a14b(0x261)&&(_0x9ab3ef=_0x9ab3ef[_0xe5a14b(0x127)]()),this[_0xe5a14b(0x1b9)]!==_0x4a04e1[_0xe5a14b(0x1c3)]){_0x98ca89(this,_0x9ab3ef,_0x5bd80a);return;}const _0x7610a={'binary':typeof _0x9ab3ef!=_0xe5a14b(0x252),'mask':!this[_0xe5a14b(0x248)],'compress':!0x0,'fin':!0x0,..._0x3c4eb5};this[_0xe5a14b(0x150)][_0x3f2d5e[_0xe5a14b(0x268)]]||(_0x7610a[_0xe5a14b(0x156)]=!0x1),this[_0xe5a14b(0x239)][_0xe5a14b(0xc0)](_0x9ab3ef||_0x5de3c0,_0x7610a,_0x5bd80a);}[_0x3b383f(0xc7)](){const _0x67759d=_0x3b383f;if(this[_0x67759d(0x1b9)]!==_0x4a04e1[_0x67759d(0x10a)]){if(this[_0x67759d(0x1b9)]===_0x4a04e1['CONNECTING']){_0x25bc77(this,this['_req'],_0x67759d(0xbf));return;}this[_0x67759d(0x18a)]&&(this[_0x67759d(0x108)]=_0x4a04e1['CLOSING'],this[_0x67759d(0x18a)][_0x67759d(0x160)]());}}}Object[_0x3b383f(0x13c)](_0x4a04e1,_0x3b383f(0xeb),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0xeb))}),Object['defineProperty'](_0x4a04e1[_0x3b383f(0x221)],_0x3b383f(0xeb),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0xeb))}),Object[_0x3b383f(0x13c)](_0x4a04e1,_0x3b383f(0x1c3),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0x1c3))}),Object[_0x3b383f(0x13c)](_0x4a04e1[_0x3b383f(0x221)],_0x3b383f(0x1c3),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0x1c3))}),Object[_0x3b383f(0x13c)](_0x4a04e1,_0x3b383f(0xda),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)]('CLOSING')}),Object['defineProperty'](_0x4a04e1[_0x3b383f(0x221)],_0x3b383f(0xda),{'enumerable':!0x0,'value':_0xe6e307['indexOf'](_0x3b383f(0xda))}),Object['defineProperty'](_0x4a04e1,_0x3b383f(0x10a),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0x10a))}),Object[_0x3b383f(0x13c)](_0x4a04e1['prototype'],_0x3b383f(0x10a),{'enumerable':!0x0,'value':_0xe6e307[_0x3b383f(0x1aa)](_0x3b383f(0x10a))}),[_0x3b383f(0xfb),_0x3b383f(0x226),_0x3b383f(0x212),_0x3b383f(0x1a9),'protocol',_0x3b383f(0x1b9),_0x3b383f(0xe6)][_0x3b383f(0x20d)](_0x11e665=>{const _0x14fdce=_0x3b383f;Object[_0x14fdce(0x13c)](_0x4a04e1[_0x14fdce(0x221)],_0x11e665,{'enumerable':!0x0});}),[_0x3b383f(0xec),_0x3b383f(0x1ff),'close',_0x3b383f(0x162)]['forEach'](_0x19c625=>{const _0x457a16=_0x3b383f;Object[_0x457a16(0x13c)](_0x4a04e1[_0x457a16(0x221)],'on'+_0x19c625,{'enumerable':!0x0,'get'(){for(const _0x51f952 of this['listeners'](_0x19c625))if(_0x51f952[_0x5692d9])return _0x51f952[_0x3eb4d8];return null;},'set'(_0x2a6b53){const _0x1a6b5e=_0x457a16;for(const _0x4f7366 of this[_0x1a6b5e(0x25f)](_0x19c625))if(_0x4f7366[_0x5692d9]){this[_0x1a6b5e(0x1e6)](_0x19c625,_0x4f7366);break;}typeof _0x2a6b53==_0x1a6b5e(0x258)&&this[_0x1a6b5e(0x167)](_0x19c625,_0x2a6b53,{[_0x5692d9]:!0x0});}});}),_0x4a04e1['prototype']['addEventListener']=_0x42b575,_0x4a04e1['prototype'][_0x3b383f(0x249)]=_0x405acb,we=_0x4a04e1;function _0x28bad4(_0x303fbf,_0x27aeef,_0x1c56f1,_0x4b109a){const _0x5a3cc3=_0x3b383f,_0x471ff7={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x48d858[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4b109a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x303fbf[_0x5a3cc3(0xc5)]=_0x471ff7[_0x5a3cc3(0x1d3)],!_0x48d858[_0x5a3cc3(0x246)](_0x471ff7[_0x5a3cc3(0x16b)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x471ff7[_0x5a3cc3(0x16b)]+'\x20(supported\x20versions:\x20'+_0x48d858[_0x5a3cc3(0x165)](',\x20')+')');let _0x27b6ff;if(_0x27aeef instanceof _0xa55e1a)_0x27b6ff=_0x27aeef;else try{_0x27b6ff=new _0xa55e1a(_0x27aeef);}catch{throw new SyntaxError(_0x5a3cc3(0x24f)+_0x27aeef);}_0x27b6ff[_0x5a3cc3(0x220)]===_0x5a3cc3(0x199)?_0x27b6ff[_0x5a3cc3(0x220)]=_0x5a3cc3(0x242):_0x27b6ff['protocol']===_0x5a3cc3(0x202)&&(_0x27b6ff['protocol']=_0x5a3cc3(0x1a4)),_0x303fbf['_url']=_0x27b6ff[_0x5a3cc3(0x214)];const _0x51aa08=_0x27b6ff[_0x5a3cc3(0x220)]==='wss:',_0x443ec2=_0x27b6ff[_0x5a3cc3(0x220)]===_0x5a3cc3(0xf9);let _0x2b1517;if(_0x27b6ff[_0x5a3cc3(0x220)]!==_0x5a3cc3(0x242)&&!_0x51aa08&&!_0x443ec2?_0x2b1517=_0x5a3cc3(0x1f3):_0x443ec2&&!_0x27b6ff[_0x5a3cc3(0x1d4)]?_0x2b1517=_0x5a3cc3(0x254):_0x27b6ff[_0x5a3cc3(0x233)]&&(_0x2b1517='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x2b1517){const _0x29fe2e=new SyntaxError(_0x2b1517);if(_0x303fbf[_0x5a3cc3(0xff)]===0x0)throw _0x29fe2e;_0x47d040(_0x303fbf,_0x29fe2e);return;}const _0x586c54=_0x51aa08?0x1bb:0x50,_0x5b9305=_0x288d98(0x10)[_0x5a3cc3(0x127)](_0x5a3cc3(0x14d)),_0x1e9cd2=_0x51aa08?_0x113774['request']:_0x52dada[_0x5a3cc3(0x1a7)],_0x443a4c=new Set();let _0x42ddcd;if(_0x471ff7[_0x5a3cc3(0x175)]=_0x471ff7[_0x5a3cc3(0x175)]||(_0x51aa08?_0x53f531:_0x2e3807),_0x471ff7[_0x5a3cc3(0x1ea)]=_0x471ff7[_0x5a3cc3(0x1ea)]||_0x586c54,_0x471ff7[_0x5a3cc3(0x189)]=_0x27b6ff[_0x5a3cc3(0x189)]||_0x586c54,_0x471ff7[_0x5a3cc3(0x22a)]=_0x27b6ff[_0x5a3cc3(0x182)][_0x5a3cc3(0xcc)]('[')?_0x27b6ff['hostname']['slice'](0x1,-0x1):_0x27b6ff[_0x5a3cc3(0x182)],_0x471ff7[_0x5a3cc3(0x223)]={..._0x471ff7['headers'],'Sec-WebSocket-Version':_0x471ff7[_0x5a3cc3(0x16b)],'Sec-WebSocket-Key':_0x5b9305,'Connection':_0x5a3cc3(0x264),'Upgrade':_0x5a3cc3(0x241)},_0x471ff7['path']=_0x27b6ff[_0x5a3cc3(0x1d4)]+_0x27b6ff[_0x5a3cc3(0x1f8)],_0x471ff7[_0x5a3cc3(0xfd)]=_0x471ff7[_0x5a3cc3(0xf8)],_0x471ff7[_0x5a3cc3(0x1dd)]&&(_0x42ddcd=new _0x3f2d5e(_0x471ff7['perMessageDeflate']!==!0x0?_0x471ff7[_0x5a3cc3(0x1dd)]:{},!0x1,_0x471ff7[_0x5a3cc3(0x211)]),_0x471ff7[_0x5a3cc3(0x223)][_0x5a3cc3(0x24e)]=_0x5a555e({[_0x3f2d5e['extensionName']]:_0x42ddcd[_0x5a3cc3(0x24a)]()})),_0x1c56f1[_0x5a3cc3(0x20a)]){for(const _0x152830 of _0x1c56f1){if(typeof _0x152830!='string'||!_0x1f8436[_0x5a3cc3(0xc9)](_0x152830)||_0x443a4c[_0x5a3cc3(0x194)](_0x152830))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x443a4c[_0x5a3cc3(0x184)](_0x152830);}_0x471ff7[_0x5a3cc3(0x223)][_0x5a3cc3(0x234)]=_0x1c56f1[_0x5a3cc3(0x165)](',');}if(_0x471ff7[_0x5a3cc3(0xe3)]&&(_0x471ff7[_0x5a3cc3(0x16b)]<0xd?_0x471ff7['headers'][_0x5a3cc3(0x20b)]=_0x471ff7['origin']:_0x471ff7[_0x5a3cc3(0x223)][_0x5a3cc3(0x201)]=_0x471ff7['origin']),(_0x27b6ff[_0x5a3cc3(0x109)]||_0x27b6ff[_0x5a3cc3(0x16c)])&&(_0x471ff7[_0x5a3cc3(0xca)]=_0x27b6ff[_0x5a3cc3(0x109)]+':'+_0x27b6ff['password']),_0x443ec2){const _0x2a752d=_0x471ff7['path'][_0x5a3cc3(0x101)](':');_0x471ff7[_0x5a3cc3(0x1ae)]=_0x2a752d[0x0],_0x471ff7[_0x5a3cc3(0x107)]=_0x2a752d[0x1];}let _0x5e28ac;if(_0x471ff7['followRedirects']){if(_0x303fbf[_0x5a3cc3(0xff)]===0x0){_0x303fbf[_0x5a3cc3(0xe9)]=_0x443ec2,_0x303fbf['_originalSecure']=_0x51aa08,_0x303fbf[_0x5a3cc3(0x179)]=_0x443ec2?_0x471ff7['socketPath']:_0x27b6ff[_0x5a3cc3(0x22a)];const _0x2258ca=_0x4b109a&&_0x4b109a[_0x5a3cc3(0x223)];if(_0x4b109a={..._0x4b109a,'headers':{}},_0x2258ca){for(const [_0x4470f2,_0x368c04]of Object['entries'](_0x2258ca))_0x4b109a[_0x5a3cc3(0x223)][_0x4470f2[_0x5a3cc3(0x10e)]()]=_0x368c04;}}else{if(_0x303fbf[_0x5a3cc3(0x192)]('redirect')===0x0){const _0x51e202=_0x443ec2?_0x303fbf[_0x5a3cc3(0xe9)]?_0x471ff7[_0x5a3cc3(0x1ae)]===_0x303fbf[_0x5a3cc3(0x179)]:!0x1:_0x303fbf['_originalIpc']?!0x1:_0x27b6ff['host']===_0x303fbf[_0x5a3cc3(0x179)];(!_0x51e202||_0x303fbf['_originalSecure']&&!_0x51aa08)&&(delete _0x471ff7[_0x5a3cc3(0x223)][_0x5a3cc3(0x16d)],delete _0x471ff7[_0x5a3cc3(0x223)][_0x5a3cc3(0xdc)],_0x51e202||delete _0x471ff7[_0x5a3cc3(0x223)]['host'],_0x471ff7[_0x5a3cc3(0xca)]=void 0x0);}}_0x471ff7[_0x5a3cc3(0xca)]&&!_0x4b109a[_0x5a3cc3(0x223)][_0x5a3cc3(0x16d)]&&(_0x4b109a[_0x5a3cc3(0x223)][_0x5a3cc3(0x16d)]='Basic\x20'+Buffer[_0x5a3cc3(0x1bd)](_0x471ff7[_0x5a3cc3(0xca)])[_0x5a3cc3(0x127)](_0x5a3cc3(0x14d))),_0x5e28ac=_0x303fbf[_0x5a3cc3(0x1db)]=_0x1e9cd2(_0x471ff7),_0x303fbf[_0x5a3cc3(0xff)]&&_0x303fbf[_0x5a3cc3(0x1e4)]('redirect',_0x303fbf[_0x5a3cc3(0xe6)],_0x5e28ac);}else _0x5e28ac=_0x303fbf[_0x5a3cc3(0x1db)]=_0x1e9cd2(_0x471ff7);_0x471ff7['timeout']&&_0x5e28ac['on'](_0x5a3cc3(0xfd),()=>{const _0x5947e3=_0x5a3cc3;_0x25bc77(_0x303fbf,_0x5e28ac,_0x5947e3(0x14f));}),_0x5e28ac['on'](_0x5a3cc3(0x1ff),_0x39e64b=>{_0x5e28ac===null||_0x5e28ac[_0x888aa7]||(_0x5e28ac=_0x303fbf['_req']=null,_0x47d040(_0x303fbf,_0x39e64b));}),_0x5e28ac['on'](_0x5a3cc3(0x230),_0x52e9fc=>{const _0x1ed8ab=_0x5a3cc3,_0x33f9a6=_0x52e9fc['headers']['location'],_0x9aa04c=_0x52e9fc[_0x1ed8ab(0x23e)];if(_0x33f9a6&&_0x471ff7[_0x1ed8ab(0x112)]&&_0x9aa04c>=0x12c&&_0x9aa04c<0x190){if(++_0x303fbf[_0x1ed8ab(0xff)]>_0x471ff7[_0x1ed8ab(0x1a1)]){_0x25bc77(_0x303fbf,_0x5e28ac,_0x1ed8ab(0x195));return;}_0x5e28ac['abort']();let _0x33d996;try{_0x33d996=new _0xa55e1a(_0x33f9a6,_0x27aeef);}catch{const _0x139fb1=new SyntaxError(_0x1ed8ab(0x24f)+_0x33f9a6);_0x47d040(_0x303fbf,_0x139fb1);return;}_0x28bad4(_0x303fbf,_0x33d996,_0x1c56f1,_0x4b109a);}else _0x303fbf[_0x1ed8ab(0x1e4)](_0x1ed8ab(0x120),_0x5e28ac,_0x52e9fc)||_0x25bc77(_0x303fbf,_0x5e28ac,_0x1ed8ab(0x1eb)+_0x52e9fc[_0x1ed8ab(0x23e)]);}),_0x5e28ac['on'](_0x5a3cc3(0x229),(_0x5c1053,_0x125bf3,_0x58c431)=>{const _0x45d3df=_0x5a3cc3;if(_0x303fbf[_0x45d3df(0x1e4)](_0x45d3df(0x229),_0x5c1053),_0x303fbf[_0x45d3df(0x1b9)]!==_0x4a04e1[_0x45d3df(0xeb)])return;_0x5e28ac=_0x303fbf['_req']=null;const _0x1a5c32=_0x5c1053[_0x45d3df(0x223)][_0x45d3df(0x229)];if(_0x1a5c32===void 0x0||_0x1a5c32[_0x45d3df(0x10e)]()!==_0x45d3df(0x241)){_0x25bc77(_0x303fbf,_0x125bf3,'Invalid\x20Upgrade\x20header');return;}const _0x252c24=_0x17fbfe(_0x45d3df(0x255))[_0x45d3df(0xd1)](_0x5b9305+_0x276bfe)[_0x45d3df(0x17f)](_0x45d3df(0x14d));if(_0x5c1053['headers']['sec-websocket-accept']!==_0x252c24){_0x25bc77(_0x303fbf,_0x125bf3,_0x45d3df(0x170));return;}const _0x5861aa=_0x5c1053[_0x45d3df(0x223)][_0x45d3df(0x210)];let _0x34edda;if(_0x5861aa!==void 0x0?_0x443a4c[_0x45d3df(0xbc)]?_0x443a4c[_0x45d3df(0x194)](_0x5861aa)||(_0x34edda=_0x45d3df(0x10f)):_0x34edda=_0x45d3df(0x1e8):_0x443a4c['size']&&(_0x34edda=_0x45d3df(0xea)),_0x34edda){_0x25bc77(_0x303fbf,_0x125bf3,_0x34edda);return;}_0x5861aa&&(_0x303fbf[_0x45d3df(0x105)]=_0x5861aa);const _0x4ac707=_0x5c1053[_0x45d3df(0x223)]['sec-websocket-extensions'];if(_0x4ac707!==void 0x0){if(!_0x42ddcd){_0x25bc77(_0x303fbf,_0x125bf3,_0x45d3df(0x11e));return;}let _0x5f5856;try{_0x5f5856=_0x2a1b0d(_0x4ac707);}catch{_0x25bc77(_0x303fbf,_0x125bf3,_0x45d3df(0x22e));return;}const _0x3b99a3=Object['keys'](_0x5f5856);if(_0x3b99a3['length']!==0x1||_0x3b99a3[0x0]!==_0x3f2d5e[_0x45d3df(0x268)]){_0x25bc77(_0x303fbf,_0x125bf3,_0x45d3df(0x19f));return;}try{_0x42ddcd[_0x45d3df(0x213)](_0x5f5856[_0x3f2d5e['extensionName']]);}catch{_0x25bc77(_0x303fbf,_0x125bf3,_0x45d3df(0x22e));return;}_0x303fbf[_0x45d3df(0x150)][_0x3f2d5e[_0x45d3df(0x268)]]=_0x42ddcd;}_0x303fbf[_0x45d3df(0x193)](_0x125bf3,_0x58c431,{'allowSynchronousEvents':_0x471ff7[_0x45d3df(0x18b)],'generateMask':_0x471ff7[_0x45d3df(0x122)],'maxPayload':_0x471ff7['maxPayload'],'skipUTF8Validation':_0x471ff7[_0x45d3df(0x1f4)]});}),_0x471ff7[_0x5a3cc3(0xfe)]?_0x471ff7[_0x5a3cc3(0xfe)](_0x5e28ac,_0x303fbf):_0x5e28ac[_0x5a3cc3(0x1b1)]();}function _0x47d040(_0x1f2ba7,_0xf6ff7c){const _0x34ebef=_0x3b383f;_0x1f2ba7[_0x34ebef(0x108)]=_0x4a04e1[_0x34ebef(0xda)],_0x1f2ba7[_0x34ebef(0x157)]=!0x0,_0x1f2ba7[_0x34ebef(0x1e4)](_0x34ebef(0x1ff),_0xf6ff7c),_0x1f2ba7['emitClose']();}function _0x2e3807(_0x14c4c8){const _0x3bcb1a=_0x3b383f;return _0x14c4c8[_0x3bcb1a(0x107)]=_0x14c4c8[_0x3bcb1a(0x1ae)],_0x260d97[_0x3bcb1a(0x23d)](_0x14c4c8);}function _0x53f531(_0x207f52){const _0x35d92e=_0x3b383f;return _0x207f52[_0x35d92e(0x107)]=void 0x0,!_0x207f52[_0x35d92e(0x137)]&&_0x207f52['servername']!==''&&(_0x207f52[_0x35d92e(0x137)]=_0x260d97[_0x35d92e(0x148)](_0x207f52[_0x35d92e(0x22a)])?'':_0x207f52[_0x35d92e(0x22a)]),_0x2ee7ad['connect'](_0x207f52);}function _0x25bc77(_0x8794be,_0x5e9208,_0x4724af){const _0x144bcf=_0x3b383f;_0x8794be[_0x144bcf(0x108)]=_0x4a04e1[_0x144bcf(0xda)];const _0xc1e83=new Error(_0x4724af);Error[_0x144bcf(0x130)](_0xc1e83,_0x25bc77),_0x5e9208['setHeader']?(_0x5e9208[_0x888aa7]=!0x0,_0x5e9208[_0x144bcf(0x143)](),_0x5e9208['socket']&&!_0x5e9208['socket'][_0x144bcf(0x1f9)]&&_0x5e9208[_0x144bcf(0x205)][_0x144bcf(0x160)](),process[_0x144bcf(0x16e)](_0x47d040,_0x8794be,_0xc1e83)):(_0x5e9208[_0x144bcf(0x160)](_0xc1e83),_0x5e9208[_0x144bcf(0x1bf)](_0x144bcf(0x1ff),_0x8794be[_0x144bcf(0x1e4)]['bind'](_0x8794be,'error')),_0x5e9208[_0x144bcf(0x1bf)](_0x144bcf(0x1f1),_0x8794be['emitClose'][_0x144bcf(0x22f)](_0x8794be)));}function _0x98ca89(_0x59c226,_0x18610b,_0x57326f){const _0xd12496=_0x3b383f;if(_0x18610b){const _0x30e031=_0x36213c(_0x18610b)?_0x18610b[_0xd12496(0xbc)]:_0x1691e7(_0x18610b)['length'];_0x59c226[_0xd12496(0x18a)]?_0x59c226[_0xd12496(0x239)][_0xd12496(0x1dc)]+=_0x30e031:_0x59c226[_0xd12496(0x18c)]+=_0x30e031;}if(_0x57326f){const _0x310a3=new Error(_0xd12496(0x10d)+_0x59c226[_0xd12496(0x1b9)]+'\x20('+_0xe6e307[_0x59c226[_0xd12496(0x1b9)]]+')');process[_0xd12496(0x16e)](_0x57326f,_0x310a3);}}function _0x25cc79(_0x3b06e0,_0xe2108d){const _0x1b382b=_0x3b383f,_0x1da4af=this[_0x549585];_0x1da4af[_0x1b382b(0x11c)]=!0x0,_0x1da4af[_0x1b382b(0xd6)]=_0xe2108d,_0x1da4af[_0x1b382b(0x12b)]=_0x3b06e0,_0x1da4af['_socket'][_0x549585]!==void 0x0&&(_0x1da4af[_0x1b382b(0x18a)]['removeListener']('data',_0x9e71b4),process[_0x1b382b(0x16e)](_0x51bda0,_0x1da4af[_0x1b382b(0x18a)]),_0x3b06e0===0x3ed?_0x1da4af[_0x1b382b(0x1f1)]():_0x1da4af[_0x1b382b(0x1f1)](_0x3b06e0,_0xe2108d));}function _0x38b2f0(){const _0x1a9864=_0x3b383f,_0x42381b=this[_0x549585];_0x42381b[_0x1a9864(0x1a9)]||_0x42381b[_0x1a9864(0x18a)][_0x1a9864(0xc6)]();}function _0x5e6b70(_0x50a79d){const _0x15dc73=_0x3b383f,_0x5a75bb=this[_0x549585];_0x5a75bb[_0x15dc73(0x18a)][_0x549585]!==void 0x0&&(_0x5a75bb[_0x15dc73(0x18a)][_0x15dc73(0x1e6)](_0x15dc73(0x23b),_0x9e71b4),process[_0x15dc73(0x16e)](_0x51bda0,_0x5a75bb['_socket']),_0x5a75bb[_0x15dc73(0x1f1)](_0x50a79d[_0x5b0639])),_0x5a75bb['_errorEmitted']||(_0x5a75bb[_0x15dc73(0x157)]=!0x0,_0x5a75bb['emit'](_0x15dc73(0x1ff),_0x50a79d));}function _0x19584f(){const _0x1e37f3=_0x3b383f;this[_0x549585][_0x1e37f3(0x1ed)]();}function _0x25aed1(_0x523171,_0x3df4e5){const _0x271df9=_0x3b383f;this[_0x549585][_0x271df9(0x1e4)](_0x271df9(0x162),_0x523171,_0x3df4e5);}function _0x543695(_0x1516dd){const _0x411f74=_0x3b383f,_0x326d2c=this[_0x549585];_0x326d2c['_autoPong']&&_0x326d2c[_0x411f74(0x24c)](_0x1516dd,!this['_isServer'],_0x2f7559),_0x326d2c[_0x411f74(0x1e4)](_0x411f74(0x106),_0x1516dd);}function _0x7fe053(_0x28e638){const _0x41615a=_0x3b383f;this[_0x549585][_0x41615a(0x1e4)]('pong',_0x28e638);}function _0x51bda0(_0x20d0ca){const _0x35ba25=_0x3b383f;_0x20d0ca[_0x35ba25(0xc6)]();}function _0x3c0a59(_0x2cd3dc){const _0x3337e1=_0x3b383f,_0x5efe6a=this[_0x549585];_0x5efe6a[_0x3337e1(0x1b9)]!==_0x4a04e1[_0x3337e1(0x10a)]&&(_0x5efe6a[_0x3337e1(0x1b9)]===_0x4a04e1[_0x3337e1(0x1c3)]&&(_0x5efe6a[_0x3337e1(0x108)]=_0x4a04e1[_0x3337e1(0xda)],_0x43894e(_0x5efe6a)),this[_0x3337e1(0x18a)][_0x3337e1(0x1b1)](),_0x5efe6a[_0x3337e1(0x157)]||(_0x5efe6a[_0x3337e1(0x157)]=!0x0,_0x5efe6a[_0x3337e1(0x1e4)]('error',_0x2cd3dc)));}function _0x43894e(_0x33aefe){const _0x183f27=_0x3b383f;_0x33aefe[_0x183f27(0xd5)]=setTimeout(_0x33aefe[_0x183f27(0x18a)][_0x183f27(0x160)]['bind'](_0x33aefe[_0x183f27(0x18a)]),_0x2217c0);}function _0x253f16(){const _0x4f7a5e=_0x3b383f,_0xbe3a10=this[_0x549585];this['removeListener']('close',_0x253f16),this[_0x4f7a5e(0x1e6)](_0x4f7a5e(0x23b),_0x9e71b4),this['removeListener'](_0x4f7a5e(0x1b1),_0xe964c6),_0xbe3a10[_0x4f7a5e(0x108)]=_0x4a04e1[_0x4f7a5e(0xda)];let _0x133e0d;!this[_0x4f7a5e(0xf5)][_0x4f7a5e(0x219)]&&!_0xbe3a10[_0x4f7a5e(0x11c)]&&!_0xbe3a10['_receiver'][_0x4f7a5e(0x1b6)]['errorEmitted']&&(_0x133e0d=_0xbe3a10[_0x4f7a5e(0x18a)][_0x4f7a5e(0x206)]())!==null&&_0xbe3a10[_0x4f7a5e(0x21b)][_0x4f7a5e(0x1ce)](_0x133e0d),_0xbe3a10[_0x4f7a5e(0x21b)][_0x4f7a5e(0x1b1)](),this[_0x549585]=void 0x0,clearTimeout(_0xbe3a10['_closeTimer']),_0xbe3a10[_0x4f7a5e(0x21b)][_0x4f7a5e(0x1b6)]['finished']||_0xbe3a10[_0x4f7a5e(0x21b)][_0x4f7a5e(0x1b6)][_0x4f7a5e(0x13f)]?_0xbe3a10[_0x4f7a5e(0x1ed)]():(_0xbe3a10[_0x4f7a5e(0x21b)]['on'](_0x4f7a5e(0x1ff),_0x19584f),_0xbe3a10['_receiver']['on'](_0x4f7a5e(0x263),_0x19584f));}function _0x9e71b4(_0x98b6f1){const _0x160006=_0x3b383f;this[_0x549585]['_receiver'][_0x160006(0x1ce)](_0x98b6f1)||this[_0x160006(0x260)]();}function _0xe964c6(){const _0x4f5c72=_0x3b383f,_0x7cc508=this[_0x549585];_0x7cc508[_0x4f5c72(0x108)]=_0x4a04e1[_0x4f5c72(0xda)],_0x7cc508[_0x4f5c72(0x21b)][_0x4f5c72(0x1b1)](),this[_0x4f5c72(0x1b1)]();}function _0x183de7(){const _0x227e3b=_0x3b383f,_0xa7c479=this[_0x549585];this[_0x227e3b(0x1e6)]('error',_0x183de7),this['on']('error',_0x2f7559),_0xa7c479&&(_0xa7c479[_0x227e3b(0x108)]=_0x4a04e1['CLOSING'],this[_0x227e3b(0x160)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x568e80}=_0x2a9a26;function _0x367547(_0x3bc5cc){const _0x203672=_0x4b3c;_0x3bc5cc[_0x203672(0x1e4)](_0x203672(0x1f1));}function _0xe694bd(){const _0x329d76=_0x4b3c;!this[_0x329d76(0x1f9)]&&this['_writableState'][_0x329d76(0x13a)]&&this[_0x329d76(0x160)]();}function _0x5dfb23(_0x36de1c){const _0x3d91ff=_0x4b3c;this[_0x3d91ff(0x1e6)](_0x3d91ff(0x1ff),_0x5dfb23),this[_0x3d91ff(0x160)](),this[_0x3d91ff(0x192)](_0x3d91ff(0x1ff))===0x0&&this[_0x3d91ff(0x1e4)](_0x3d91ff(0x1ff),_0x36de1c);}function _0x2b0754(_0x176602,_0x45d718){const _0x2056ba=_0x4b3c;let _0x16dc6a=!0x0;const _0x8b004e=new _0x568e80({..._0x45d718,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x176602['on'](_0x2056ba(0x162),function(_0x50b655,_0x47dc90){const _0xc45654=_0x2056ba,_0x345326=!_0x47dc90&&_0x8b004e[_0xc45654(0xf5)]['objectMode']?_0x50b655[_0xc45654(0x127)]():_0x50b655;_0x8b004e[_0xc45654(0x25e)](_0x345326)||_0x176602[_0xc45654(0x260)]();}),_0x176602['once'](_0x2056ba(0x1ff),function(_0x18bd4f){const _0x20d70a=_0x2056ba;_0x8b004e['destroyed']||(_0x16dc6a=!0x1,_0x8b004e[_0x20d70a(0x160)](_0x18bd4f));}),_0x176602[_0x2056ba(0x1bf)]('close',function(){const _0x1f43f6=_0x2056ba;_0x8b004e[_0x1f43f6(0x1f9)]||_0x8b004e[_0x1f43f6(0x25e)](null);}),_0x8b004e[_0x2056ba(0x25d)]=function(_0x17b836,_0x1b6718){const _0x3d5126=_0x2056ba;if(_0x176602[_0x3d5126(0x1b9)]===_0x176602['CLOSED']){_0x1b6718(_0x17b836),process[_0x3d5126(0x16e)](_0x367547,_0x8b004e);return;}let _0x5cfffa=!0x1;_0x176602[_0x3d5126(0x1bf)](_0x3d5126(0x1ff),function(_0x2ea3ae){_0x5cfffa=!0x0,_0x1b6718(_0x2ea3ae);}),_0x176602['once']('close',function(){const _0x186963=_0x3d5126;_0x5cfffa||_0x1b6718(_0x17b836),process[_0x186963(0x16e)](_0x367547,_0x8b004e);}),_0x16dc6a&&_0x176602[_0x3d5126(0xc7)]();},_0x8b004e[_0x2056ba(0x178)]=function(_0x28b466){const _0x2d65d0=_0x2056ba;if(_0x176602[_0x2d65d0(0x1b9)]===_0x176602['CONNECTING']){_0x176602['once'](_0x2d65d0(0xec),function(){const _0x59576e=_0x2d65d0;_0x8b004e[_0x59576e(0x178)](_0x28b466);});return;}_0x176602[_0x2d65d0(0x18a)]!==null&&(_0x176602[_0x2d65d0(0x18a)]['_writableState']['finished']?(_0x28b466(),_0x8b004e[_0x2d65d0(0xf5)][_0x2d65d0(0x219)]&&_0x8b004e['destroy']()):(_0x176602[_0x2d65d0(0x18a)][_0x2d65d0(0x1bf)](_0x2d65d0(0x263),function(){_0x28b466();}),_0x176602[_0x2d65d0(0x1f1)]()));},_0x8b004e[_0x2056ba(0xfa)]=function(){const _0x390faa=_0x2056ba;_0x176602[_0x390faa(0x1a9)]&&_0x176602[_0x390faa(0xc6)]();},_0x8b004e[_0x2056ba(0x1f5)]=function(_0x1a15ee,_0x1d7fc5,_0x1e8bab){const _0x5b3820=_0x2056ba;if(_0x176602[_0x5b3820(0x1b9)]===_0x176602[_0x5b3820(0xeb)]){_0x176602[_0x5b3820(0x1bf)]('open',function(){_0x8b004e['_write'](_0x1a15ee,_0x1d7fc5,_0x1e8bab);});return;}_0x176602['send'](_0x1a15ee,_0x1e8bab);},_0x8b004e['on'](_0x2056ba(0x1b1),_0xe694bd),_0x8b004e['on'](_0x2056ba(0x1ff),_0x5dfb23),_0x8b004e;}return Oe=_0x2b0754,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x428a56}=ne();function _0x564599(_0x5a9df6){const _0xa31a1a=_0x4b3c,_0x4c4beb=new Set();let _0x32bbcf=-0x1,_0x3abfb0=-0x1,_0x1cde1a=0x0;for(_0x1cde1a;_0x1cde1a<_0x5a9df6[_0xa31a1a(0x20a)];_0x1cde1a++){const _0x5ddc76=_0x5a9df6[_0xa31a1a(0x1e7)](_0x1cde1a);if(_0x3abfb0===-0x1&&_0x428a56[_0x5ddc76]===0x1)_0x32bbcf===-0x1&&(_0x32bbcf=_0x1cde1a);else{if(_0x1cde1a!==0x0&&(_0x5ddc76===0x20||_0x5ddc76===0x9))_0x3abfb0===-0x1&&_0x32bbcf!==-0x1&&(_0x3abfb0=_0x1cde1a);else{if(_0x5ddc76===0x2c){if(_0x32bbcf===-0x1)throw new SyntaxError(_0xa31a1a(0x1be)+_0x1cde1a);_0x3abfb0===-0x1&&(_0x3abfb0=_0x1cde1a);const _0x347283=_0x5a9df6[_0xa31a1a(0x259)](_0x32bbcf,_0x3abfb0);if(_0x4c4beb[_0xa31a1a(0x194)](_0x347283))throw new SyntaxError(_0xa31a1a(0x128)+_0x347283+_0xa31a1a(0x13d));_0x4c4beb[_0xa31a1a(0x184)](_0x347283),_0x32bbcf=_0x3abfb0=-0x1;}else throw new SyntaxError(_0xa31a1a(0x1be)+_0x1cde1a);}}}if(_0x32bbcf===-0x1||_0x3abfb0!==-0x1)throw new SyntaxError(_0xa31a1a(0x1d6));const _0x30ce8e=_0x5a9df6['slice'](_0x32bbcf,_0x1cde1a);if(_0x4c4beb[_0xa31a1a(0x194)](_0x30ce8e))throw new SyntaxError('The\x20\x22'+_0x30ce8e+_0xa31a1a(0x13d));return _0x4c4beb[_0xa31a1a(0x184)](_0x30ce8e),_0x4c4beb;}return Ce={'parse':_0x564599},Ce;}var Te,ot;function er(){const _0x7b4382=_0x257af8;if(ot)return Te;ot=0x1;const _0x99003e=_0x7342d3,_0x5d3f78=_0xcf2956,{Duplex:_0x42d0a1}=_0x2a9a26,{createHash:_0x486697}=_0x133164,_0x41e0a8=pt(),_0x459cb0=he(),_0x503685=Jt(),_0x3c76ba=Ie(),{GUID:_0x374e80,kWebSocket:_0x52e1ef}=V(),_0x4fa25d=/^[+/0-9A-Za-z]{22}==$/,_0x37226b=0x0,_0x4ec40b=0x1,_0x18a876=0x2;class _0x2a543a extends _0x99003e{constructor(_0x282cd2,_0x51040a){const _0x1f8e86=_0x4b3c;if(super(),_0x282cd2={'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':_0x3c76ba,..._0x282cd2},_0x282cd2[_0x1f8e86(0x189)]==null&&!_0x282cd2[_0x1f8e86(0x123)]&&!_0x282cd2['noServer']||_0x282cd2[_0x1f8e86(0x189)]!=null&&(_0x282cd2[_0x1f8e86(0x123)]||_0x282cd2[_0x1f8e86(0x1da)])||_0x282cd2[_0x1f8e86(0x123)]&&_0x282cd2[_0x1f8e86(0x1da)])throw new TypeError(_0x1f8e86(0x15c));if(_0x282cd2[_0x1f8e86(0x189)]!=null?(this['_server']=_0x5d3f78[_0x1f8e86(0x1a3)]((_0x141859,_0x1881cb)=>{const _0x4ea3e0=_0x1f8e86,_0x3add96=_0x5d3f78[_0x4ea3e0(0x1fd)][0x1aa];_0x1881cb[_0x4ea3e0(0x15b)](0x1aa,{'Content-Length':_0x3add96[_0x4ea3e0(0x20a)],'Content-Type':'text/plain'}),_0x1881cb[_0x4ea3e0(0x1b1)](_0x3add96);}),this[_0x1f8e86(0x1af)][_0x1f8e86(0xf1)](_0x282cd2[_0x1f8e86(0x189)],_0x282cd2[_0x1f8e86(0x22a)],_0x282cd2[_0x1f8e86(0x197)],_0x51040a)):_0x282cd2[_0x1f8e86(0x123)]&&(this['_server']=_0x282cd2['server']),this[_0x1f8e86(0x1af)]){const _0x940645=this[_0x1f8e86(0x1e4)]['bind'](this,'connection');this['_removeListeners']=_0x394d86(this[_0x1f8e86(0x1af)],{'listening':this[_0x1f8e86(0x1e4)][_0x1f8e86(0x22f)](this,'listening'),'error':this[_0x1f8e86(0x1e4)][_0x1f8e86(0x22f)](this,_0x1f8e86(0x1ff)),'upgrade':(_0x3a91a6,_0x234fa7,_0x3fbb03)=>{const _0xc02c29=_0x1f8e86;this[_0xc02c29(0x121)](_0x3a91a6,_0x234fa7,_0x3fbb03,_0x940645);}});}_0x282cd2[_0x1f8e86(0x1dd)]===!0x0&&(_0x282cd2['perMessageDeflate']={}),_0x282cd2[_0x1f8e86(0x1c7)]&&(this[_0x1f8e86(0x1de)]=new Set(),this[_0x1f8e86(0x1d5)]=!0x1),this[_0x1f8e86(0x200)]=_0x282cd2,this[_0x1f8e86(0x116)]=_0x37226b;}[_0x7b4382(0x11f)](){const _0x224792=_0x7b4382;if(this[_0x224792(0x200)]['noServer'])throw new Error(_0x224792(0xfc));return this['_server']?this[_0x224792(0x1af)]['address']():null;}['close'](_0x339fb3){const _0x17ad10=_0x7b4382;if(this[_0x17ad10(0x116)]===_0x18a876){_0x339fb3&&this[_0x17ad10(0x1bf)](_0x17ad10(0x1f1),()=>{const _0x2a9a97=_0x17ad10;_0x339fb3(new Error(_0x2a9a97(0x111)));}),process[_0x17ad10(0x16e)](_0x3fa4d3,this);return;}if(_0x339fb3&&this['once']('close',_0x339fb3),this[_0x17ad10(0x116)]!==_0x4ec40b){if(this[_0x17ad10(0x116)]=_0x4ec40b,this[_0x17ad10(0x200)][_0x17ad10(0x1da)]||this[_0x17ad10(0x200)][_0x17ad10(0x123)])this[_0x17ad10(0x1af)]&&(this['_removeListeners'](),this[_0x17ad10(0x154)]=this[_0x17ad10(0x1af)]=null),this[_0x17ad10(0x1de)]?this['clients']['size']?this[_0x17ad10(0x1d5)]=!0x0:process['nextTick'](_0x3fa4d3,this):process[_0x17ad10(0x16e)](_0x3fa4d3,this);else{const _0x48992a=this['_server'];this['_removeListeners'](),this[_0x17ad10(0x154)]=this[_0x17ad10(0x1af)]=null,_0x48992a[_0x17ad10(0x1f1)](()=>{_0x3fa4d3(this);});}}}[_0x7b4382(0x133)](_0x4de49b){const _0x41fbd4=_0x7b4382;if(this['options'][_0x41fbd4(0x107)]){const _0x210bf2=_0x4de49b[_0x41fbd4(0xe6)][_0x41fbd4(0x1aa)]('?');if((_0x210bf2!==-0x1?_0x4de49b['url']['slice'](0x0,_0x210bf2):_0x4de49b['url'])!==this['options'][_0x41fbd4(0x107)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2e49a5,_0x3bc635,_0x1c6546,_0x3e93a9){const _0x4a2ce7=_0x7b4382;_0x3bc635['on'](_0x4a2ce7(0x1ff),_0x596eef);const _0x800d15=_0x2e49a5[_0x4a2ce7(0x223)][_0x4a2ce7(0x17c)],_0xbacaa=_0x2e49a5[_0x4a2ce7(0x223)][_0x4a2ce7(0x229)],_0x50f8ac=+_0x2e49a5[_0x4a2ce7(0x223)][_0x4a2ce7(0x257)];if(_0x2e49a5[_0x4a2ce7(0x1b5)]!==_0x4a2ce7(0xf7)){_0x567b21(this,_0x2e49a5,_0x3bc635,0x195,'Invalid\x20HTTP\x20method');return;}if(_0xbacaa===void 0x0||_0xbacaa['toLowerCase']()!==_0x4a2ce7(0x241)){_0x567b21(this,_0x2e49a5,_0x3bc635,0x190,_0x4a2ce7(0x11b));return;}if(_0x800d15===void 0x0||!_0x4fa25d[_0x4a2ce7(0xc9)](_0x800d15)){_0x567b21(this,_0x2e49a5,_0x3bc635,0x190,_0x4a2ce7(0x20f));return;}if(_0x50f8ac!==0xd&&_0x50f8ac!==0x8){_0x567b21(this,_0x2e49a5,_0x3bc635,0x190,_0x4a2ce7(0x146),{'Sec-WebSocket-Version':_0x4a2ce7(0x1a8)});return;}if(!this['shouldHandle'](_0x2e49a5)){_0x2c7f03(_0x3bc635,0x190);return;}const _0x30a53a=_0x2e49a5[_0x4a2ce7(0x223)]['sec-websocket-protocol'];let _0x29f1bd=new Set();if(_0x30a53a!==void 0x0)try{_0x29f1bd=_0x503685[_0x4a2ce7(0x1ef)](_0x30a53a);}catch{_0x567b21(this,_0x2e49a5,_0x3bc635,0x190,_0x4a2ce7(0x232));return;}const _0x6d781a=_0x2e49a5['headers'][_0x4a2ce7(0x12e)],_0x3a2738={};if(this[_0x4a2ce7(0x200)][_0x4a2ce7(0x1dd)]&&_0x6d781a!==void 0x0){const _0x2e357b=new _0x459cb0(this[_0x4a2ce7(0x200)][_0x4a2ce7(0x1dd)],!0x0,this[_0x4a2ce7(0x200)][_0x4a2ce7(0x211)]);try{const _0x411349=_0x41e0a8[_0x4a2ce7(0x1ef)](_0x6d781a);_0x411349[_0x459cb0['extensionName']]&&(_0x2e357b[_0x4a2ce7(0x213)](_0x411349[_0x459cb0[_0x4a2ce7(0x268)]]),_0x3a2738[_0x459cb0[_0x4a2ce7(0x268)]]=_0x2e357b);}catch{_0x567b21(this,_0x2e49a5,_0x3bc635,0x190,_0x4a2ce7(0x117));return;}}if(this['options'][_0x4a2ce7(0x1f6)]){const _0x20881b={'origin':_0x2e49a5[_0x4a2ce7(0x223)][''+(_0x50f8ac===0x8?_0x4a2ce7(0x185):_0x4a2ce7(0xe3))],'secure':!!(_0x2e49a5[_0x4a2ce7(0x205)][_0x4a2ce7(0x158)]||_0x2e49a5['socket'][_0x4a2ce7(0x10b)]),'req':_0x2e49a5};if(this[_0x4a2ce7(0x200)][_0x4a2ce7(0x1f6)][_0x4a2ce7(0x20a)]===0x2){this[_0x4a2ce7(0x200)][_0x4a2ce7(0x1f6)](_0x20881b,(_0x4751a7,_0x385d69,_0x7cd50a,_0x3c994b)=>{const _0x511750=_0x4a2ce7;if(!_0x4751a7)return _0x2c7f03(_0x3bc635,_0x385d69||0x191,_0x7cd50a,_0x3c994b);this[_0x511750(0x1b2)](_0x3a2738,_0x800d15,_0x29f1bd,_0x2e49a5,_0x3bc635,_0x1c6546,_0x3e93a9);});return;}if(!this['options'][_0x4a2ce7(0x1f6)](_0x20881b))return _0x2c7f03(_0x3bc635,0x191);}this[_0x4a2ce7(0x1b2)](_0x3a2738,_0x800d15,_0x29f1bd,_0x2e49a5,_0x3bc635,_0x1c6546,_0x3e93a9);}['completeUpgrade'](_0x4e1ee1,_0x1795ec,_0x4389d1,_0x5b5ea6,_0x20b713,_0x3c63af,_0x513b44){const _0x5e0ca0=_0x7b4382;if(!_0x20b713[_0x5e0ca0(0x180)]||!_0x20b713[_0x5e0ca0(0x25a)])return _0x20b713[_0x5e0ca0(0x160)]();if(_0x20b713[_0x52e1ef])throw new Error(_0x5e0ca0(0x153));if(this[_0x5e0ca0(0x116)]>_0x37226b)return _0x2c7f03(_0x20b713,0x1f7);const _0x444c70=[_0x5e0ca0(0xe0),_0x5e0ca0(0xc1),'Connection:\x20Upgrade',_0x5e0ca0(0x135)+_0x486697(_0x5e0ca0(0x255))[_0x5e0ca0(0xd1)](_0x1795ec+_0x374e80)[_0x5e0ca0(0x17f)](_0x5e0ca0(0x14d))],_0x21e3fb=new this['options']['WebSocket'](null,void 0x0,this[_0x5e0ca0(0x200)]);if(_0x4389d1['size']){const _0x5dcab2=this['options']['handleProtocols']?this['options'][_0x5e0ca0(0x1d0)](_0x4389d1,_0x5b5ea6):_0x4389d1['values']()[_0x5e0ca0(0x15a)]()[_0x5e0ca0(0x1cb)];_0x5dcab2&&(_0x444c70[_0x5e0ca0(0x25e)](_0x5e0ca0(0x142)+_0x5dcab2),_0x21e3fb['_protocol']=_0x5dcab2);}if(_0x4e1ee1[_0x459cb0['extensionName']]){const _0x4d444e=_0x4e1ee1[_0x459cb0[_0x5e0ca0(0x268)]]['params'],_0xc47e01=_0x41e0a8[_0x5e0ca0(0x17d)]({[_0x459cb0['extensionName']]:[_0x4d444e]});_0x444c70[_0x5e0ca0(0x25e)](_0x5e0ca0(0x1e1)+_0xc47e01),_0x21e3fb[_0x5e0ca0(0x150)]=_0x4e1ee1;}this[_0x5e0ca0(0x1e4)](_0x5e0ca0(0x223),_0x444c70,_0x5b5ea6),_0x20b713[_0x5e0ca0(0x1ce)](_0x444c70[_0x5e0ca0(0xf6)]('\x0d\x0a')[_0x5e0ca0(0x165)]('\x0d\x0a')),_0x20b713['removeListener'](_0x5e0ca0(0x1ff),_0x596eef),_0x21e3fb[_0x5e0ca0(0x193)](_0x20b713,_0x3c63af,{'allowSynchronousEvents':this[_0x5e0ca0(0x200)][_0x5e0ca0(0x18b)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x5e0ca0(0x200)][_0x5e0ca0(0x1f4)]}),this[_0x5e0ca0(0x1de)]&&(this['clients'][_0x5e0ca0(0x184)](_0x21e3fb),_0x21e3fb['on'](_0x5e0ca0(0x1f1),()=>{const _0x486954=_0x5e0ca0;this[_0x486954(0x1de)][_0x486954(0x1ac)](_0x21e3fb),this[_0x486954(0x1d5)]&&!this[_0x486954(0x1de)]['size']&&process[_0x486954(0x16e)](_0x3fa4d3,this);})),_0x513b44(_0x21e3fb,_0x5b5ea6);}}Te=_0x2a543a;function _0x394d86(_0x98a842,_0xbce7f5){const _0x299308=_0x7b4382;for(const _0x36a407 of Object[_0x299308(0x231)](_0xbce7f5))_0x98a842['on'](_0x36a407,_0xbce7f5[_0x36a407]);return function(){const _0x4a92da=_0x299308;for(const _0x5165af of Object[_0x4a92da(0x231)](_0xbce7f5))_0x98a842[_0x4a92da(0x1e6)](_0x5165af,_0xbce7f5[_0x5165af]);};}function _0x3fa4d3(_0x19a3ef){const _0x2fc78d=_0x7b4382;_0x19a3ef['_state']=_0x18a876,_0x19a3ef[_0x2fc78d(0x1e4)](_0x2fc78d(0x1f1));}function _0x596eef(){const _0x49f8b6=_0x7b4382;this[_0x49f8b6(0x160)]();}function _0x2c7f03(_0x2b1802,_0x217b96,_0x143b80,_0xb1f799){const _0x212aa9=_0x7b4382;_0x143b80=_0x143b80||_0x5d3f78[_0x212aa9(0x1fd)][_0x217b96],_0xb1f799={'Connection':_0x212aa9(0x1f1),'Content-Type':_0x212aa9(0x1ee),'Content-Length':Buffer[_0x212aa9(0x225)](_0x143b80),..._0xb1f799},_0x2b1802['once']('finish',_0x2b1802[_0x212aa9(0x160)]),_0x2b1802[_0x212aa9(0x1b1)](_0x212aa9(0x118)+_0x217b96+'\x20'+_0x5d3f78[_0x212aa9(0x1fd)][_0x217b96]+'\x0d\x0a'+Object[_0x212aa9(0x231)](_0xb1f799)[_0x212aa9(0x26a)](_0x2f93ed=>_0x2f93ed+':\x20'+_0xb1f799[_0x2f93ed])['join']('\x0d\x0a')+_0x212aa9(0xd4)+_0x143b80);}function _0x567b21(_0x18b1f5,_0x3eb275,_0x5d7c1a,_0x4fce93,_0x5a90ef,_0x1b145d){const _0x33e6f9=_0x7b4382;if(_0x18b1f5[_0x33e6f9(0x192)](_0x33e6f9(0x171))){const _0x1e5e31=new Error(_0x5a90ef);Error[_0x33e6f9(0x130)](_0x1e5e31,_0x567b21),_0x18b1f5[_0x33e6f9(0x1e4)](_0x33e6f9(0x171),_0x1e5e31,_0x5d7c1a,_0x3eb275);}else _0x2c7f03(_0x5d7c1a,_0x4fce93,_0x5a90ef,_0x1b145d);}return Te;}er();var tr=Object[_0x257af8(0x18f)],rr=(_0x38d9d2,_0x1b184f,_0xf51b33,_0x4e8c3d)=>{for(var _0x30ec23=_0x4e8c3d>0x1?void 0x0:_0x4e8c3d?tr(_0x1b184f,_0xf51b33):_0x1b184f,_0x238115=_0x38d9d2['length']-0x1,_0x2781c6;_0x238115>=0x0;_0x238115--)(_0x2781c6=_0x38d9d2[_0x238115])&&(_0x30ec23=_0x2781c6(_0x30ec23)||_0x30ec23);return _0x30ec23;},sr=(_0x43195b,_0x597574)=>(_0x653c63,_0x29fbf3)=>_0x597574(_0x653c63,_0x29fbf3,_0x43195b);let Ne=class extends _0xf89a70{constructor(_0x34399c){const _0x108183=_0x257af8;super(),this[_0x108183(0x1f7)]=_0x34399c;}[_0x257af8(0x174)](_0x4242dc){const _0x3d3ab1=_0x257af8;var _0x5b9ba5;const _0x44b6e5=(_0x5b9ba5=this['_configService'][_0x3d3ab1(0x12f)](Be))==null?void 0x0:_0x5b9ba5[_0x3d3ab1(0xdb)];try{const _0x1aecbd=new Qt(_0x4242dc,{'headers':{..._0x44b6e5}}),_0x294a01=new _0x4b049c();return{'URL':_0x4242dc,'close':(_0x593631,_0x397e9b)=>{const _0x2427a0=_0x3d3ab1;_0x1aecbd[_0x2427a0(0x1f1)](_0x593631,_0x397e9b),_0x294a01[_0x2427a0(0x236)]();},'send':_0x4a4dd2=>{const _0x32a654=_0x3d3ab1;_0x1aecbd[_0x32a654(0xc0)](_0x4a4dd2);},'open$':new _0xdefc71(_0x755424=>{const _0x31c72c=_0x3d3ab1,_0x406a51=_0x48461e=>_0x755424[_0x31c72c(0x15a)](_0x48461e);_0x1aecbd[_0x31c72c(0x167)]('open',_0x406a51),_0x294a01[_0x31c72c(0x184)](_0x13515a(()=>_0x1aecbd[_0x31c72c(0x249)](_0x31c72c(0xec),_0x406a51)));})[_0x3d3ab1(0x228)](_0x290818()),'close$':new _0xdefc71(_0x4f4d8c=>{const _0x48289a=_0x3d3ab1,_0x60c69c=_0x423fa6=>_0x4f4d8c['next'](_0x423fa6);_0x1aecbd[_0x48289a(0x167)](_0x48289a(0x1f1),_0x60c69c),_0x294a01[_0x48289a(0x184)](_0x13515a(()=>_0x1aecbd[_0x48289a(0x249)](_0x48289a(0x1f1),_0x60c69c)));})[_0x3d3ab1(0x228)](_0x290818()),'error$':new _0xdefc71(_0x271e0e=>{const _0x493912=_0x3d3ab1,_0x49f0c3=_0x3e4e5=>_0x271e0e['next'](_0x3e4e5);_0x1aecbd[_0x493912(0x167)](_0x493912(0x1ff),_0x49f0c3),_0x294a01[_0x493912(0x184)](_0x13515a(()=>_0x1aecbd['removeEventListener'](_0x493912(0x1ff),_0x49f0c3)));})[_0x3d3ab1(0x228)](_0x290818()),'message$':new _0xdefc71(_0x3d6a42=>{const _0x32bd75=_0x3d3ab1,_0x29670f=_0x3c88f7=>_0x3d6a42[_0x32bd75(0x15a)](_0x3c88f7);_0x1aecbd[_0x32bd75(0x167)](_0x32bd75(0x162),_0x29670f),_0x294a01[_0x32bd75(0x184)](_0x13515a(()=>_0x1aecbd[_0x32bd75(0x249)]('message',_0x29670f)));})[_0x3d3ab1(0x228)](_0x290818())};}catch(_0x31231e){return console[_0x3d3ab1(0x1ff)](_0x31231e),null;}}};Ne=rr([sr(0x0,_0x2a55c5)],Ne);var ir=Object[_0x257af8(0x13c)],nr=Object[_0x257af8(0x18f)],or=(_0x2b608b,_0x3ab393,_0x4c3fe8)=>_0x3ab393 in _0x2b608b?ir(_0x2b608b,_0x3ab393,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3fe8}):_0x2b608b[_0x3ab393]=_0x4c3fe8,ar=(_0x58a32d,_0x5d6ac3,_0x1793b8,_0x19b9d3)=>{const _0x2c9dc5=_0x257af8;for(var _0x18cee0=_0x19b9d3>0x1?void 0x0:_0x19b9d3?nr(_0x5d6ac3,_0x1793b8):_0x5d6ac3,_0x1715b3=_0x58a32d[_0x2c9dc5(0x20a)]-0x1,_0x46cd94;_0x1715b3>=0x0;_0x1715b3--)(_0x46cd94=_0x58a32d[_0x1715b3])&&(_0x18cee0=_0x46cd94(_0x18cee0)||_0x18cee0);return _0x18cee0;},ke=(_0x25c1ad,_0x371d6e)=>(_0x18538b,_0x62648a)=>_0x371d6e(_0x18538b,_0x62648a,_0x25c1ad),lr=(_0x25e91e,_0x38b8df,_0x585024)=>or(_0x25e91e,_0x38b8df+'',_0x585024);let Pe=class extends _0x5b03be{constructor(_0x4dd219=Ft,_0x2b1f29,_0x51cae7,_0x31e8d7){const _0x174369=_0x257af8;_0x4dd219[_0x174369(0xdb)]||_0x2b1f29[_0x174369(0x21f)](_0x174369(0x26c)),super(),this[_0x174369(0x1f7)]=_0x51cae7,this['_injector']=_0x31e8d7,this[_0x174369(0x1f7)]['setConfig'](Be,_0x4dd219);}[_0x257af8(0x129)](){this['_registerDependencies']();}[_0x257af8(0x1bc)](){const _0x56930b=_0x257af8;_0x1284df(this[_0x56930b(0xe7)],[[_0x1f150c,{'useClass':Ne}]]);}};lr(Pe,_0x257af8(0x244),_0x257af8(0x15f)),Pe=ar([_0x4bc38e(_0x32ced1),ke(0x1,_0x371b7b),ke(0x2,_0x2a55c5),ke(0x3,_0xb84b38(_0x2ee91a))],Pe);var fr=Object[_0x257af8(0x18f)],cr=(_0x196fbd,_0x318aaa,_0x3b7182,_0x34edf1)=>{const _0x582da7=_0x257af8;for(var _0x2cc037=_0x34edf1>0x1?void 0x0:_0x34edf1?fr(_0x318aaa,_0x3b7182):_0x318aaa,_0x2c0ac1=_0x196fbd[_0x582da7(0x20a)]-0x1,_0xb6a47b;_0x2c0ac1>=0x0;_0x2c0ac1--)(_0xb6a47b=_0x196fbd[_0x2c0ac1])&&(_0x2cc037=_0xb6a47b(_0x2cc037)||_0x2cc037);return _0x2cc037;},se=(_0x146641,_0x25234d)=>(_0x5735fb,_0x2f6b92)=>_0x25234d(_0x5735fb,_0x2f6b92,_0x146641);let at=class extends _0x1c1f8d{constructor(_0x45d56f,_0x97dc40,_0x599b6a,_0x2fa05e,_0x39d970){const _0x5c42ed=_0x257af8;super(_0x45d56f,_0x97dc40,_0x599b6a,_0x2fa05e,_0x39d970);const _0x43c0e3=this[_0x5c42ed(0x1f7)][_0x5c42ed(0x12f)](Be);this[_0x5c42ed(0x24d)]['registerHTTPInterceptor']({'interceptor':(_0x3e2a21,_0x20b0e5)=>{const _0x114fca=_0x5c42ed;var _0x4f178b;const _0x87bd27=_0x3e2a21[_0x114fca(0x223)];return(_0x4f178b=_0x43c0e3==null?void 0x0:_0x43c0e3[_0x114fca(0xdb)])!=null&&_0x4f178b[_0x114fca(0xdc)]&&_0x87bd27[_0x114fca(0x1c1)]('Cookie',_0x43c0e3[_0x114fca(0xdb)][_0x114fca(0xdc)]),_0x20b0e5(_0x3e2a21);}});}async[_0x257af8(0x174)](_0x28da3e){const _0x494316=_0x257af8;return this[_0x494316(0x12c)](_0x28da3e);}};at=cr([se(0x0,_0xb84b38(_0x2ee91a)),se(0x1,_0xb84b38(_0x4140f0)),se(0x2,_0x2a55c5),se(0x3,_0x371b7b),se(0x4,_0x59270f)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x4573dd=_0x5cf4;(function(_0x5d3cd7,_0x1120dc){const _0x2b2a32=_0x5cf4,_0x31109a=_0x5d3cd7();while(!![]){try{const _0x436dee=parseInt(_0x2b2a32(0x1d7))/0x1+parseInt(_0x2b2a32(0x20f))/0x2+-parseInt(_0x2b2a32(0x34f))/0x3+parseInt(_0x2b2a32(0x1ff))/0x4*(-parseInt(_0x2b2a32(0x2d0))/0x5)+parseInt(_0x2b2a32(0x1f3))/0x6*(-parseInt(_0x2b2a32(0x258))/0x7)+-parseInt(_0x2b2a32(0x2fe))/0x8*(-parseInt(_0x2b2a32(0x1fc))/0x9)+-parseInt(_0x2b2a32(0x20d))/0xa*(-parseInt(_0x2b2a32(0x2f1))/0xb);if(_0x436dee===_0x1120dc)break;else _0x31109a['push'](_0x31109a['shift']());}catch(_0x109582){_0x31109a['push'](_0x31109a['shift']());}}}(_0x58db,0x22384));import{UniverCollaborationClientPlugin as _0xd2836d,CollaborationSocketService as _0x54368a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x45a1d6,DisposableCollection as _0x1a0095,toDisposable as _0xe543bd,IConfigService as _0x3d50f1,DependentOn as _0x6d079,ILogService as _0x40ea35,Inject as _0x399293,Injector as _0x590e27,Plugin as _0x245424,registerDependencies as _0x2cc219}from'@univerjs/core';import{ISocketService as _0x358938,HTTPService as _0x16d200}from'@univerjs/network';import{Observable as _0x363113,share as _0x96221d}from'rxjs';import _0xc8b08e from'events';import _0x5e382d from'https';import _0x49d0a7 from'http';import _0x1d2aae from'net';import _0x606e98 from'tls';import _0x1469aa from'crypto';import _0x3f0855 from'stream';import _0x50e69b from'url';import _0x3a3315 from'zlib';import _0x3cef7a from'buffer';function _0x58db(){const _0x317abf=['kWasClean','concat','headers','sha1','callback','_opcode','close','onerror','WS_NO_UTF_8_VALIDATE','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','open','Unexpected\x20character\x20at\x20index\x20','WS_NO_BUFFER_UTIL','onopen','hostname','abort','isInteger','upgrade','connect','registerHTTPInterceptor','get','sec-websocket-accept','prototype','189678xmMOIk','_extensions','extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','total-length','digest','createError','search','value','writeUIntBE','cleanup','defaultPort','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','CLOSED','Invalid\x20Upgrade\x20header','pending','destroyed','startsWith','clientNoContextTakeover','_registerDependencies','removeEventListener','startLoop','isPaused','exports','handleProtocols','_socket','wasClean','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','6slpAxz','_max_window_bits','serverNoContextTakeover','readyState','accept','end','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','_sender','526275mXzzgx','finished','removeListener','20TlADZL','Connection:\x20Upgrade','needDrain','OPEN','Unexpected\x20end\x20of\x20input','errorEmitted','servername','server','setConfig','Server\x20sent\x20no\x20subprotocol','binaryType','cookie','_queue','Sec-WebSocket-Accept:\x20','349420XZtTKJ','destroy','103144ecsWyt','createServer','setTimeout','statusCode','getData','nodebuffer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_binaryType','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_mask','socket','jobs','getPayloadLength64','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_originalIpc','listeners','_final','Invalid\x20Sec-WebSocket-Extensions\x20header','length','_writableState','HTTP/1.1\x20101\x20Switching\x20Protocols','byteOffset','href','read','customHeaders','removeAllListeners','_fragments','_shouldEmitClose','_server','text/html','listenerCount','sec-websocket-protocol','maxPayload','_errorEmitted','STATUS_CODES','reset','HTTP/1.1\x20','getBlobData','arrayBuffer','13,\x208','controlMessage','error','maskBuffer','write','_url','bind','normalizeParams','perMessageDeflate','sec-websocket-version','target','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','handshakeTimeout','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isIP','update','maxRedirects','default','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','apply','env','_closeFrameReceived','alloc','Upgrade','_paused','Max\x20payload\x20size\x20exceeded','_maxPayload','WebSocket','blob','kByteLength','_allowSynchronousEvents','serverMaxWindowBits','timeout','message','1439242lubzFO','toLowerCase','clientMaxWindowBits','Z_DEFAULT_WINDOWBITS','server_max_window_bits','getOwnPropertyDescriptor','_bufferedAmount','zlibDeflateOptions','freeze','_receiver','WS_ERR_EXPECTED_MASK','drain','method','_autoPong','kRun','createInflateRaw','resume','kTarget','clients','keys','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Sec-WebSocket-Protocol:\x20','CONNECTING','handleUpgrade','dispose','setSocket','connection','emitClose','hasOwnProperty','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','GET','push','Unknown\x20parameter\x20\x22','_payloadLength','toStringTag','_skipUTF8Validation','nextTick','readUInt16BE','allocUnsafe','dataMessage','Unsupported\x20protocol\x20version:\x20','Invalid\x20HTTP\x20method','unmask','replace','_decompress','_errored','Sec-WebSocket-Protocol','reason','readable','ws:','client_no_context_takeover','_closeFrameSent','forEach','WS_ERR_INVALID_CLOSE_CODE','kIsForOnEventAttribute','Sec-WebSocket-Extensions:\x20','_redirects','_firstFragment','noServer','extensionName','test','_maskBuffer','status-code','arraybuffer','_masked','redirect','_compressed','The\x20\x22','handleEvent','isView','string','allowSynchronousEvents','sendFrame','offer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','autoPong','_deflate','listen','WS_ERR_INVALID_UTF8','finish','byteLength','client_max_window_bits','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','threshold','_fragmented','server_no_context_takeover','getPayloadLength16','_totalPayloadLength','_fin','authorization','unexpected-response','_protocol','code','endEmitted','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_generateMask','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_readyState','Origin','Invalid\x20Sec-WebSocket-Protocol\x20header','flush','RSV1\x20must\x20be\x20clear','kDone','once','_destroy','skipUTF8Validation','generateMask','wss:','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','createSocket','setNoDelay','buffers','slice','_threshold','then','opcode','defineProperty','zlibInflateOptions','objectMode','ws+unix:','64085IQSTCL','concurrency','_bufferedBytes','collaboration-client-node.config','create','dispatch','pipe','websocket','ping','getMask','\x22\x20subprotocol\x20is\x20duplicated','_compress','isArray','port','_read','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','add','permessage-deflate','charCodeAt','params','_isServer','_injector','WS_ERR_EXPECTED_FIN','size','_readableState','conclude','number','_originalSecure','request','_removeListeners','_closeCode','client','emit','88aDsrbc','compress','pause','send','type','enqueue','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','sec-websocket-extensions','constructor','hash','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','uncork','next','8aTcBdZ','shift','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Invalid\x20value\x20for\x20parameter\x20\x22','decompress','toString','Module','_buffers','entries','_configService','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','authorized','fin','_req','split','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','writeUInt16BE','includes','path','Z_SYNC_FLUSH','has','_write','acceptAsClient','protocolVersion','indexOf','Sec-WebSocket-Extensions','invalid\x20UTF-8\x20sequence','_closeMessage','protocol','isValidUTF8','onclose','Invalid\x20URL:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','__esModule','username','pathname','password','species','captureStackTrace','address','mask','addEventListener','kError','response','isServer','completeUpgrade','construct','invalid\x20status\x20code\x20','from','_options','File','url','CLOSING','warn','consume','_state','host','kCode','\x22:\x20','verifyClient','kListener','_originalHostOrSocketPath','Parameter\x20\x22','map','auth','followRedirects','shouldHandle','_messageLength','Unexpected\x20server\x20response:\x20','wsClientError','pong','_no_context_takeover','\x20(supported\x20versions:\x20','invalid\x20opcode\x20','rsv1','getInfo','haveLength','frame','concurrencyLimit','508218NpdwaT','pow','function','Maximum\x20redirects\x20exceeded','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20WebSocket\x20frame:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','setHeader','Invalid\x20Sec-WebSocket-Accept\x20header','base64','buffer','origin','acceptAsServer','data','location','_closeTimer','options','kReason','stream','_doCreateSocket','parse','_loop','readOnly','set','WS_ERR_INVALID_OPCODE','_inflate','https:','dequeue','Cookie','getConfig','bufferedAmount','call','clientTracking','sec-websocket-origin','Sec-WebSocket-Origin','join','object'];_0x58db=function(){return _0x317abf;};return _0x58db();}import{ISnapshotServerService as _0x7885ea}from'@univerjs-pro/collaboration';const Be=_0x4573dd(0x2d3),Ft={'customHeaders':{}};function Wt(_0x1ae270){const _0x2a1989=_0x4573dd;return _0x1ae270&&_0x1ae270[_0x2a1989(0x321)]&&Object[_0x2a1989(0x1d6)][_0x2a1989(0x274)][_0x2a1989(0x1b9)](_0x1ae270,_0x2a1989(0x247))?_0x1ae270[_0x2a1989(0x247)]:_0x1ae270;}function ut(_0x28aafa){const _0xc68da8=_0x4573dd;if(Object[_0xc68da8(0x1d6)][_0xc68da8(0x274)][_0xc68da8(0x1b9)](_0x28aafa,_0xc68da8(0x321)))return _0x28aafa;var _0x1a3977=_0x28aafa[_0xc68da8(0x247)];if(typeof _0x1a3977==_0xc68da8(0x351)){var _0x2efbb3=function _0x24f859(){const _0x5b4a3a=_0xc68da8;var _0x291399=!0x1;try{_0x291399=this instanceof _0x24f859;}catch{}return _0x291399?Reflect[_0x5b4a3a(0x32e)](_0x1a3977,arguments,this[_0x5b4a3a(0x2f9)]):_0x1a3977[_0x5b4a3a(0x249)](this,arguments);};_0x2efbb3[_0xc68da8(0x1d6)]=_0x1a3977['prototype'];}else _0x2efbb3={};return Object[_0xc68da8(0x2cc)](_0x2efbb3,_0xc68da8(0x321),{'value':!0x0}),Object[_0xc68da8(0x26b)](_0x28aafa)[_0xc68da8(0x28c)](function(_0x1dbd6c){const _0x59491d=_0xc68da8;var _0x32d928=Object[_0x59491d(0x25d)](_0x28aafa,_0x1dbd6c);Object[_0x59491d(0x2cc)](_0x2efbb3,_0x1dbd6c,_0x32d928[_0x59491d(0x1d4)]?_0x32d928:{'enumerable':!0x0,'get':function(){return _0x28aafa[_0x1dbd6c];}});}),_0x2efbb3;}var te={'exports':{}},ge,Ye;function V(){const _0x251a40=_0x4573dd;if(Ye)return ge;Ye=0x1;const _0x5989c7=[_0x251a40(0x214),_0x251a40(0x297),'fragments'],_0x9f9b7d=typeof Blob<'u';return _0x9f9b7d&&_0x5989c7[_0x251a40(0x277)](_0x251a40(0x252)),ge={'BINARY_TYPES':_0x5989c7,'EMPTY_BUFFER':Buffer[_0x251a40(0x24c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x9f9b7d,'kForOnEventAttribute':Symbol(_0x251a40(0x28e)),'kListener':Symbol(_0x251a40(0x33c)),'kStatusCode':Symbol(_0x251a40(0x296)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x4573dd(0x260)](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':jt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x227ab2=_0x4573dd;if(Ke)return te[_0x227ab2(0x1ee)];Ke=0x1;const {EMPTY_BUFFER:_0xe9960d}=V(),_0x3d8f4c=Buffer[Symbol[_0x227ab2(0x325)]];function _0x30a1c2(_0x532487,_0x4dd7b1){const _0x2e3e1f=_0x227ab2;if(_0x532487[_0x2e3e1f(0x221)]===0x0)return _0xe9960d;if(_0x532487[_0x2e3e1f(0x221)]===0x1)return _0x532487[0x0];const _0x5e6eef=Buffer['allocUnsafe'](_0x4dd7b1);let _0x5221f8=0x0;for(let _0x211d34=0x0;_0x211d34<_0x532487[_0x2e3e1f(0x221)];_0x211d34++){const _0x1cba95=_0x532487[_0x211d34];_0x5e6eef['set'](_0x1cba95,_0x5221f8),_0x5221f8+=_0x1cba95['length'];}return _0x5221f8<_0x4dd7b1?new _0x3d8f4c(_0x5e6eef[_0x2e3e1f(0x359)],_0x5e6eef[_0x2e3e1f(0x224)],_0x5221f8):_0x5e6eef;}function _0x5de331(_0x2e62f9,_0x27b14f,_0x58db8d,_0x46cc1c,_0x5e6f88){for(let _0x245cf0=0x0;_0x245cf0<_0x5e6f88;_0x245cf0++)_0x58db8d[_0x46cc1c+_0x245cf0]=_0x2e62f9[_0x245cf0]^_0x27b14f[_0x245cf0&0x3];}function _0xd1b354(_0x24da67,_0x51bff8){const _0x53b5fb=_0x227ab2;for(let _0x572b39=0x0;_0x572b39<_0x24da67[_0x53b5fb(0x221)];_0x572b39++)_0x24da67[_0x572b39]^=_0x51bff8[_0x572b39&0x3];}function _0x12ecaf(_0x22cb3b){const _0x26d273=_0x227ab2;return _0x22cb3b[_0x26d273(0x221)]===_0x22cb3b['buffer'][_0x26d273(0x2a8)]?_0x22cb3b[_0x26d273(0x359)]:_0x22cb3b['buffer'][_0x26d273(0x2c8)](_0x22cb3b['byteOffset'],_0x22cb3b[_0x26d273(0x224)]+_0x22cb3b[_0x26d273(0x221)]);}function _0x574cb6(_0x498f29){const _0x410a27=_0x227ab2;if(_0x574cb6['readOnly']=!0x0,Buffer['isBuffer'](_0x498f29))return _0x498f29;let _0x4e7238;return _0x498f29 instanceof ArrayBuffer?_0x4e7238=new _0x3d8f4c(_0x498f29):ArrayBuffer[_0x410a27(0x29d)](_0x498f29)?_0x4e7238=new _0x3d8f4c(_0x498f29['buffer'],_0x498f29[_0x410a27(0x224)],_0x498f29[_0x410a27(0x2a8)]):(_0x4e7238=Buffer[_0x410a27(0x330)](_0x498f29),_0x574cb6['readOnly']=!0x1),_0x4e7238;}if(te[_0x227ab2(0x1ee)]={'concat':_0x30a1c2,'mask':_0x5de331,'toArrayBuffer':_0x12ecaf,'toBuffer':_0x574cb6,'unmask':_0xd1b354},!process[_0x227ab2(0x24a)][_0x227ab2(0x1cc)])try{const _0x13d789=Vt;te[_0x227ab2(0x1ee)]['mask']=function(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315){_0x1e9315<0x30?_0x5de331(_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315):_0x13d789['mask'](_0x4cf062,_0x420e01,_0xddfb55,_0x4d7241,_0x1e9315);},te[_0x227ab2(0x1ee)][_0x227ab2(0x282)]=function(_0x3ab25f,_0x5f3b57){const _0x21a4fe=_0x227ab2;_0x3ab25f[_0x21a4fe(0x221)]<0x20?_0xd1b354(_0x3ab25f,_0x5f3b57):_0x13d789[_0x21a4fe(0x282)](_0x3ab25f,_0x5f3b57);};}catch{}return te[_0x227ab2(0x1ee)];}var ye,Xe;function qt(){const _0x5bc276=_0x4573dd;if(Xe)return ye;Xe=0x1;const _0x250326=Symbol(_0x5bc276(0x2be)),_0x29839e=Symbol(_0x5bc276(0x266));class _0x5c55e9{constructor(_0x1b8d80){const _0x271175=_0x5bc276;this[_0x250326]=()=>{this['pending']--,this[_0x29839e]();},this[_0x271175(0x2d1)]=_0x1b8d80||0x1/0x0,this[_0x271175(0x21a)]=[],this[_0x271175(0x1e6)]=0x0;}[_0x5bc276(0x2e0)](_0x33e6aa){const _0x3b7858=_0x5bc276;this[_0x3b7858(0x21a)][_0x3b7858(0x277)](_0x33e6aa),this[_0x29839e]();}[_0x29839e](){const _0x442b40=_0x5bc276;if(this['pending']!==this[_0x442b40(0x2d1)]&&this['jobs'][_0x442b40(0x221)]){const _0x28154c=this[_0x442b40(0x21a)][_0x442b40(0x2ff)]();this['pending']++,_0x28154c(this[_0x250326]);}}}return ye=_0x5c55e9,ye;}var ve,Ze;function he(){const _0x395497=_0x4573dd;if(Ze)return ve;Ze=0x1;const _0x34bbb1=_0x3a3315,_0x5d9e90=ce(),_0x488f4f=qt(),{kStatusCode:_0x439580}=V(),_0x42d847=Buffer[Symbol[_0x395497(0x325)]],_0x3cd154=Buffer['from']([0x0,0x0,0xff,0xff]),_0x447c1b=Symbol(_0x395497(0x2e1)),_0x521158=Symbol(_0x395497(0x1db)),_0x5e7f54=Symbol(_0x395497(0x1c3)),_0x15b0ff=Symbol(_0x395497(0x2c7)),_0x590615=Symbol(_0x395497(0x238));let _0x2e7a94;class _0x401ccf{constructor(_0x38f97f,_0x1fe232,_0x315ace){const _0x175eaa=_0x395497;if(this[_0x175eaa(0x250)]=_0x315ace|0x0,this[_0x175eaa(0x331)]=_0x38f97f||{},this[_0x175eaa(0x2c9)]=this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]!==void 0x0?this[_0x175eaa(0x331)][_0x175eaa(0x2ab)]:0x400,this[_0x175eaa(0x2e4)]=!!_0x1fe232,this[_0x175eaa(0x2a4)]=null,this[_0x175eaa(0x1b3)]=null,this[_0x175eaa(0x2e3)]=null,!_0x2e7a94){const _0x2114d4=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x175eaa(0x34e)]:0xa;_0x2e7a94=new _0x488f4f(_0x2114d4);}}static get[_0x395497(0x293)](){const _0x137dc9=_0x395497;return _0x137dc9(0x2e1);}[_0x395497(0x2a1)](){const _0x175f15=_0x395497,_0x2096b7={};return this['_options']['serverNoContextTakeover']&&(_0x2096b7[_0x175f15(0x2ad)]=!0x0),this[_0x175f15(0x331)]['clientNoContextTakeover']&&(_0x2096b7[_0x175f15(0x28a)]=!0x0),this[_0x175f15(0x331)]['serverMaxWindowBits']&&(_0x2096b7[_0x175f15(0x25c)]=this[_0x175f15(0x331)][_0x175f15(0x255)]),this[_0x175f15(0x331)][_0x175f15(0x25a)]?_0x2096b7[_0x175f15(0x2a9)]=this[_0x175f15(0x331)][_0x175f15(0x25a)]:this[_0x175f15(0x331)][_0x175f15(0x25a)]==null&&(_0x2096b7[_0x175f15(0x2a9)]=!0x0),_0x2096b7;}[_0x395497(0x1f7)](_0x5466ec){const _0x298767=_0x395497;return _0x5466ec=this[_0x298767(0x23d)](_0x5466ec),this[_0x298767(0x2e3)]=this[_0x298767(0x2e4)]?this[_0x298767(0x35b)](_0x5466ec):this[_0x298767(0x316)](_0x5466ec),this[_0x298767(0x2e3)];}[_0x395497(0x1e1)](){const _0x3d1a52=_0x395497;if(this['_inflate']&&(this[_0x3d1a52(0x1b3)]['close'](),this[_0x3d1a52(0x1b3)]=null),this[_0x3d1a52(0x2a4)]){const _0x69d23=this[_0x3d1a52(0x2a4)][_0x5e7f54];this['_deflate'][_0x3d1a52(0x1c5)](),this['_deflate']=null,_0x69d23&&_0x69d23(new Error(_0x3d1a52(0x301)));}}[_0x395497(0x35b)](_0x151d81){const _0x2b2dcf=_0x395497,_0x51a318=this[_0x2b2dcf(0x331)],_0x493d0a=_0x151d81['find'](_0x3e22fd=>!(_0x51a318['serverNoContextTakeover']===!0x1&&_0x3e22fd[_0x2b2dcf(0x2ad)]||_0x3e22fd[_0x2b2dcf(0x25c)]&&(_0x51a318[_0x2b2dcf(0x255)]===!0x1||typeof _0x51a318['serverMaxWindowBits']=='number'&&_0x51a318[_0x2b2dcf(0x255)]>_0x3e22fd[_0x2b2dcf(0x25c)])||typeof _0x51a318[_0x2b2dcf(0x25a)]==_0x2b2dcf(0x2ea)&&!_0x3e22fd['client_max_window_bits']));if(!_0x493d0a)throw new Error(_0x2b2dcf(0x1e3));return _0x51a318[_0x2b2dcf(0x1f5)]&&(_0x493d0a['server_no_context_takeover']=!0x0),_0x51a318[_0x2b2dcf(0x1e9)]&&(_0x493d0a[_0x2b2dcf(0x28a)]=!0x0),typeof _0x51a318[_0x2b2dcf(0x255)]==_0x2b2dcf(0x2ea)&&(_0x493d0a[_0x2b2dcf(0x25c)]=_0x51a318[_0x2b2dcf(0x255)]),typeof _0x51a318[_0x2b2dcf(0x25a)]=='number'?_0x493d0a[_0x2b2dcf(0x2a9)]=_0x51a318['clientMaxWindowBits']:(_0x493d0a['client_max_window_bits']===!0x0||_0x51a318['clientMaxWindowBits']===!0x1)&&delete _0x493d0a[_0x2b2dcf(0x2a9)],_0x493d0a;}['acceptAsClient'](_0x4b8e58){const _0x1313fe=_0x395497,_0x3b0204=_0x4b8e58[0x0];if(this[_0x1313fe(0x331)]['clientNoContextTakeover']===!0x1&&_0x3b0204[_0x1313fe(0x28a)])throw new Error(_0x1313fe(0x309));if(!_0x3b0204['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']==_0x1313fe(0x2ea)&&(_0x3b0204['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x1313fe(0x331)][_0x1313fe(0x25a)]===!0x1||typeof this[_0x1313fe(0x331)][_0x1313fe(0x25a)]==_0x1313fe(0x2ea)&&_0x3b0204[_0x1313fe(0x2a9)]>this['_options'][_0x1313fe(0x25a)])throw new Error(_0x1313fe(0x2f7));}return _0x3b0204;}[_0x395497(0x23d)](_0x44b716){const _0x60cb98=_0x395497;return _0x44b716[_0x60cb98(0x28c)](_0x43b4d6=>{const _0x5ab052=_0x60cb98;Object[_0x5ab052(0x26b)](_0x43b4d6)[_0x5ab052(0x28c)](_0x395795=>{const _0x1974f8=_0x5ab052;let _0x5ab95d=_0x43b4d6[_0x395795];if(_0x5ab95d[_0x1974f8(0x221)]>0x1)throw new Error(_0x1974f8(0x33e)+_0x395795+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5ab95d=_0x5ab95d[0x0],_0x395795===_0x1974f8(0x2a9)){if(_0x5ab95d!==!0x0){const _0x2e855c=+_0x5ab95d;if(!Number['isInteger'](_0x2e855c)||_0x2e855c<0x8||_0x2e855c>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x2e855c;}else{if(!this[_0x1974f8(0x2e4)])throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}}else{if(_0x395795===_0x1974f8(0x25c)){const _0x3b6e60=+_0x5ab95d;if(!Number[_0x1974f8(0x1d0)](_0x3b6e60)||_0x3b6e60<0x8||_0x3b6e60>0xf)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);_0x5ab95d=_0x3b6e60;}else{if(_0x395795==='client_no_context_takeover'||_0x395795===_0x1974f8(0x2ad)){if(_0x5ab95d!==!0x0)throw new TypeError(_0x1974f8(0x302)+_0x395795+_0x1974f8(0x33a)+_0x5ab95d);}else throw new Error(_0x1974f8(0x278)+_0x395795+'\x22');}}_0x43b4d6[_0x395795]=_0x5ab95d;});}),_0x44b716;}[_0x395497(0x303)](_0x88b66f,_0xd0f2f6,_0x586c1a){const _0x36e4ff=_0x395497;_0x2e7a94[_0x36e4ff(0x2e0)](_0x1acffe=>{const _0x5b05fa=_0x36e4ff;this[_0x5b05fa(0x284)](_0x88b66f,_0xd0f2f6,(_0x410c9b,_0x456157)=>{_0x1acffe(),_0x586c1a(_0x410c9b,_0x456157);});});}[_0x395497(0x2f2)](_0x4587e1,_0x16df31,_0x2b22ee){_0x2e7a94['add'](_0xd316e8=>{const _0x474f36=_0x5cf4;this[_0x474f36(0x2db)](_0x4587e1,_0x16df31,(_0x172c51,_0x27a4fc)=>{_0xd316e8(),_0x2b22ee(_0x172c51,_0x27a4fc);});});}[_0x395497(0x284)](_0x15cab0,_0x511507,_0x40e7f5){const _0x105c16=_0x395497,_0x2b8619=this[_0x105c16(0x2e4)]?_0x105c16(0x2ef):'server';if(!this[_0x105c16(0x1b3)]){const _0x45c605=_0x2b8619+_0x105c16(0x1f4),_0x326c67=typeof this[_0x105c16(0x2e3)][_0x45c605]!=_0x105c16(0x2ea)?_0x34bbb1['Z_DEFAULT_WINDOWBITS']:this['params'][_0x45c605];this[_0x105c16(0x1b3)]=_0x34bbb1[_0x105c16(0x267)]({...this[_0x105c16(0x331)][_0x105c16(0x2cd)],'windowBits':_0x326c67}),this[_0x105c16(0x1b3)][_0x447c1b]=this,this[_0x105c16(0x1b3)][_0x521158]=0x0,this['_inflate'][_0x15b0ff]=[],this[_0x105c16(0x1b3)]['on'](_0x105c16(0x238),_0x353671),this[_0x105c16(0x1b3)]['on']('data',_0x4841d4);}this['_inflate'][_0x5e7f54]=_0x40e7f5,this['_inflate'][_0x105c16(0x23a)](_0x15cab0),_0x511507&&this[_0x105c16(0x1b3)][_0x105c16(0x23a)](_0x3cd154),this[_0x105c16(0x1b3)][_0x105c16(0x2bc)](()=>{const _0x59d35f=_0x105c16,_0x4855a0=this[_0x59d35f(0x1b3)][_0x590615];if(_0x4855a0){this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null,_0x40e7f5(_0x4855a0);return;}const _0xa8158e=_0x5d9e90[_0x59d35f(0x1c0)](this[_0x59d35f(0x1b3)][_0x15b0ff],this[_0x59d35f(0x1b3)][_0x521158]);this['_inflate'][_0x59d35f(0x2e8)][_0x59d35f(0x2b5)]?(this[_0x59d35f(0x1b3)][_0x59d35f(0x1c5)](),this[_0x59d35f(0x1b3)]=null):(this[_0x59d35f(0x1b3)][_0x521158]=0x0,this[_0x59d35f(0x1b3)][_0x15b0ff]=[],_0x511507&&this[_0x59d35f(0x2e3)][_0x2b8619+_0x59d35f(0x347)]&&this['_inflate'][_0x59d35f(0x232)]()),_0x40e7f5(null,_0xa8158e);});}[_0x395497(0x2db)](_0x395932,_0x2577a9,_0x21c57f){const _0x527ffe=_0x395497,_0x52c337=this['_isServer']?_0x527ffe(0x206):_0x527ffe(0x2ef);if(!this['_deflate']){const _0x3b4081=_0x52c337+_0x527ffe(0x1f4),_0x50d486=typeof this[_0x527ffe(0x2e3)][_0x3b4081]!=_0x527ffe(0x2ea)?_0x34bbb1[_0x527ffe(0x25b)]:this[_0x527ffe(0x2e3)][_0x3b4081];this[_0x527ffe(0x2a4)]=_0x34bbb1['createDeflateRaw']({...this[_0x527ffe(0x331)][_0x527ffe(0x25f)],'windowBits':_0x50d486}),this['_deflate'][_0x521158]=0x0,this[_0x527ffe(0x2a4)][_0x15b0ff]=[],this['_deflate']['on'](_0x527ffe(0x35c),_0x590af1);}this[_0x527ffe(0x2a4)][_0x5e7f54]=_0x21c57f,this['_deflate']['write'](_0x395932),this['_deflate'][_0x527ffe(0x2bc)](_0x34bbb1[_0x527ffe(0x313)],()=>{const _0xcdca27=_0x527ffe;if(!this['_deflate'])return;let _0x2f816b=_0x5d9e90['concat'](this['_deflate'][_0x15b0ff],this[_0xcdca27(0x2a4)][_0x521158]);_0x2577a9&&(_0x2f816b=new _0x42d847(_0x2f816b[_0xcdca27(0x359)],_0x2f816b['byteOffset'],_0x2f816b[_0xcdca27(0x221)]-0x4)),this[_0xcdca27(0x2a4)][_0x5e7f54]=null,this[_0xcdca27(0x2a4)][_0x521158]=0x0,this[_0xcdca27(0x2a4)][_0x15b0ff]=[],_0x2577a9&&this[_0xcdca27(0x2e3)][_0x52c337+_0xcdca27(0x347)]&&this[_0xcdca27(0x2a4)][_0xcdca27(0x232)](),_0x21c57f(null,_0x2f816b);});}}ve=_0x401ccf;function _0x590af1(_0x416098){const _0x22e5f9=_0x395497;this[_0x15b0ff][_0x22e5f9(0x277)](_0x416098),this[_0x521158]+=_0x416098['length'];}function _0x4841d4(_0x162ad8){const _0x461b57=_0x395497;if(this[_0x521158]+=_0x162ad8['length'],this[_0x447c1b][_0x461b57(0x250)]<0x1||this[_0x521158]<=this[_0x447c1b][_0x461b57(0x250)]){this[_0x15b0ff]['push'](_0x162ad8);return;}this[_0x590615]=new RangeError(_0x461b57(0x24f)),this[_0x590615][_0x461b57(0x2b4)]=_0x461b57(0x21c),this[_0x590615][_0x439580]=0x3f1,this['removeListener'](_0x461b57(0x35c),_0x4841d4),this[_0x461b57(0x232)]();}function _0x353671(_0x4be7c2){if(this[_0x447c1b]['_inflate']=null,this[_0x590615]){this[_0x5e7f54](this[_0x590615]);return;}_0x4be7c2[_0x439580]=0x3ef,this[_0x5e7f54](_0x4be7c2);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x4573dd(0x2cc)]({'__proto__':null,'default':Ht},Symbol[_0x4573dd(0x27a)],{'value':_0x4573dd(0x305)})),Yt=ut(zt);var Qe;function ne(){const _0x2da21a=_0x4573dd;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x507881}=_0x3cef7a,{hasBlob:_0x3fe72b}=V(),_0x586f7f=[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 _0x325d1e(_0xd127fc){return _0xd127fc>=0x3e8&&_0xd127fc<=0x3f6&&_0xd127fc!==0x3ec&&_0xd127fc!==0x3ed&&_0xd127fc!==0x3ee||_0xd127fc>=0xbb8&&_0xd127fc<=0x1387;}function _0xfcb7e(_0xaf18b5){const _0x525f57=_0xaf18b5['length'];let _0x4315fc=0x0;for(;_0x4315fc<_0x525f57;)if((_0xaf18b5[_0x4315fc]&0x80)===0x0)_0x4315fc++;else{if((_0xaf18b5[_0x4315fc]&0xe0)===0xc0){if(_0x4315fc+0x1===_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc]&0xfe)===0xc0)return!0x1;_0x4315fc+=0x2;}else{if((_0xaf18b5[_0x4315fc]&0xf0)===0xe0){if(_0x4315fc+0x2>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xe0&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0x80||_0xaf18b5[_0x4315fc]===0xed&&(_0xaf18b5[_0x4315fc+0x1]&0xe0)===0xa0)return!0x1;_0x4315fc+=0x3;}else{if((_0xaf18b5[_0x4315fc]&0xf8)===0xf0){if(_0x4315fc+0x3>=_0x525f57||(_0xaf18b5[_0x4315fc+0x1]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x2]&0xc0)!==0x80||(_0xaf18b5[_0x4315fc+0x3]&0xc0)!==0x80||_0xaf18b5[_0x4315fc]===0xf0&&(_0xaf18b5[_0x4315fc+0x1]&0xf0)===0x80||_0xaf18b5[_0x4315fc]===0xf4&&_0xaf18b5[_0x4315fc+0x1]>0x8f||_0xaf18b5[_0x4315fc]>0xf4)return!0x1;_0x4315fc+=0x4;}else return!0x1;}}}return!0x0;}function _0x5af133(_0xc2c669){const _0x1b675a=_0x5cf4;return _0x3fe72b&&typeof _0xc2c669==_0x1b675a(0x1be)&&typeof _0xc2c669[_0x1b675a(0x235)]==_0x1b675a(0x351)&&typeof _0xc2c669[_0x1b675a(0x2f5)]=='string'&&typeof _0xc2c669[_0x1b675a(0x361)]=='function'&&(_0xc2c669[Symbol[_0x1b675a(0x27a)]]==='Blob'||_0xc2c669[Symbol[_0x1b675a(0x27a)]]===_0x1b675a(0x332));}if(re[_0x2da21a(0x1ee)]={'isBlob':_0x5af133,'isValidStatusCode':_0x325d1e,'isValidUTF8':_0xfcb7e,'tokenChars':_0x586f7f},_0x507881)re['exports'][_0x2da21a(0x31d)]=function(_0x2ebd1e){return _0x2ebd1e['length']<0x18?_0xfcb7e(_0x2ebd1e):_0x507881(_0x2ebd1e);};else{if(!process['env'][_0x2da21a(0x1c7)])try{const _0x1831db=Yt;re[_0x2da21a(0x1ee)][_0x2da21a(0x31d)]=function(_0x64c95a){return _0x64c95a['length']<0x20?_0xfcb7e(_0x64c95a):_0x1831db(_0x64c95a);};}catch{}}return re[_0x2da21a(0x1ee)];}var Se,Je;function dt(){const _0x44a403=_0x4573dd;if(Je)return Se;Je=0x1;const {Writable:_0x22cf0b}=_0x3f0855,_0x55b926=he(),{BINARY_TYPES:_0x1feb0a,EMPTY_BUFFER:_0xe4d134,kStatusCode:_0x3bc606,kWebSocket:_0xaa76e6}=V(),{concat:_0x4e455d,toArrayBuffer:_0x22bbb0,unmask:_0x1d79ba}=ce(),{isValidStatusCode:_0x1e8e04,isValidUTF8:_0xd756ff}=ne(),_0x5c5673=Buffer[Symbol['species']],_0x4b5cb0=0x0,_0x322060=0x1,_0x43d82b=0x2,_0x2ae0ec=0x3,_0x58d29f=0x4,_0x123ad8=0x5,_0x227192=0x6;class _0x271459 extends _0x22cf0b{constructor(_0x2530e5={}){const _0x1e46ce=_0x5cf4;super(),this['_allowSynchronousEvents']=_0x2530e5[_0x1e46ce(0x29f)]!==void 0x0?_0x2530e5[_0x1e46ce(0x29f)]:!0x0,this[_0x1e46ce(0x216)]=_0x2530e5[_0x1e46ce(0x209)]||_0x1feb0a[0x0],this['_extensions']=_0x2530e5[_0x1e46ce(0x1d9)]||{},this[_0x1e46ce(0x2e4)]=!!_0x2530e5[_0x1e46ce(0x32c)],this[_0x1e46ce(0x250)]=_0x2530e5[_0x1e46ce(0x22f)]|0x0,this[_0x1e46ce(0x27b)]=!!_0x2530e5[_0x1e46ce(0x2c1)],this[_0xaa76e6]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x1e46ce(0x29a)]=!0x1,this[_0x1e46ce(0x279)]=0x0,this[_0x1e46ce(0x218)]=void 0x0,this['_fragmented']=0x0,this[_0x1e46ce(0x298)]=!0x1,this[_0x1e46ce(0x2b0)]=!0x1,this[_0x1e46ce(0x1c4)]=0x0,this[_0x1e46ce(0x2af)]=0x0,this[_0x1e46ce(0x343)]=0x0,this[_0x1e46ce(0x229)]=[],this['_errored']=!0x1,this[_0x1e46ce(0x1af)]=!0x1,this['_state']=_0x4b5cb0;}[_0x44a403(0x315)](_0x1869e7,_0x2189e9,_0x270936){const _0x284b6e=_0x44a403;if(this[_0x284b6e(0x1c4)]===0x8&&this['_state']==_0x4b5cb0)return _0x270936();this[_0x284b6e(0x2d2)]+=_0x1869e7[_0x284b6e(0x221)],this[_0x284b6e(0x306)][_0x284b6e(0x277)](_0x1869e7),this['startLoop'](_0x270936);}[_0x44a403(0x336)](_0x4cd7fe){const _0x44ad33=_0x44a403;if(this[_0x44ad33(0x2d2)]-=_0x4cd7fe,_0x4cd7fe===this['_buffers'][0x0]['length'])return this['_buffers'][_0x44ad33(0x2ff)]();if(_0x4cd7fe<this['_buffers'][0x0]['length']){const _0x35d91f=this[_0x44ad33(0x306)][0x0];return this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f['byteOffset']+_0x4cd7fe,_0x35d91f[_0x44ad33(0x221)]-_0x4cd7fe),new _0x5c5673(_0x35d91f[_0x44ad33(0x359)],_0x35d91f[_0x44ad33(0x224)],_0x4cd7fe);}const _0x3663c1=Buffer[_0x44ad33(0x27e)](_0x4cd7fe);do{const _0x12aa0e=this['_buffers'][0x0],_0x31a823=_0x3663c1[_0x44ad33(0x221)]-_0x4cd7fe;_0x4cd7fe>=_0x12aa0e[_0x44ad33(0x221)]?_0x3663c1[_0x44ad33(0x1b1)](this[_0x44ad33(0x306)][_0x44ad33(0x2ff)](),_0x31a823):(_0x3663c1['set'](new Uint8Array(_0x12aa0e[_0x44ad33(0x359)],_0x12aa0e[_0x44ad33(0x224)],_0x4cd7fe),_0x31a823),this[_0x44ad33(0x306)][0x0]=new _0x5c5673(_0x12aa0e['buffer'],_0x12aa0e['byteOffset']+_0x4cd7fe,_0x12aa0e['length']-_0x4cd7fe)),_0x4cd7fe-=_0x12aa0e[_0x44ad33(0x221)];}while(_0x4cd7fe>0x0);return _0x3663c1;}[_0x44a403(0x1ec)](_0xa1e8c2){const _0x47007e=_0x44a403;this[_0x47007e(0x1af)]=!0x0;do switch(this[_0x47007e(0x337)]){case _0x4b5cb0:this[_0x47007e(0x34b)](_0xa1e8c2);break;case _0x322060:this[_0x47007e(0x2ae)](_0xa1e8c2);break;case _0x43d82b:this[_0x47007e(0x21b)](_0xa1e8c2);break;case _0x2ae0ec:this[_0x47007e(0x2d9)]();break;case _0x58d29f:this[_0x47007e(0x213)](_0xa1e8c2);break;case _0x123ad8:case _0x227192:this['_loop']=!0x1;return;}while(this[_0x47007e(0x1af)]);this[_0x47007e(0x285)]||_0xa1e8c2();}[_0x44a403(0x34b)](_0x537dd7){const _0x4ddcf0=_0x44a403;if(this[_0x4ddcf0(0x2d2)]<0x2){this[_0x4ddcf0(0x1af)]=!0x1;return;}const _0x4e4b8d=this['consume'](0x2);if((_0x4e4b8d[0x0]&0x30)!==0x0){const _0x22ad59=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x1da),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x537dd7(_0x22ad59);return;}const _0x2bd306=(_0x4e4b8d[0x0]&0x40)===0x40;if(_0x2bd306&&!this['_extensions'][_0x55b926[_0x4ddcf0(0x293)]]){const _0x133f3d=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x133f3d);return;}if(this[_0x4ddcf0(0x2b0)]=(_0x4e4b8d[0x0]&0x80)===0x80,this[_0x4ddcf0(0x1c4)]=_0x4e4b8d[0x0]&0xf,this[_0x4ddcf0(0x279)]=_0x4e4b8d[0x1]&0x7f,this[_0x4ddcf0(0x1c4)]===0x0){if(_0x2bd306){const _0x1cf9aa=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0x1cf9aa);return;}if(!this['_fragmented']){const _0x105cfe=this[_0x4ddcf0(0x1dd)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x105cfe);return;}this[_0x4ddcf0(0x1c4)]=this[_0x4ddcf0(0x2ac)];}else{if(this[_0x4ddcf0(0x1c4)]===0x1||this[_0x4ddcf0(0x1c4)]===0x2){if(this['_fragmented']){const _0x128f67=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x537dd7(_0x128f67);return;}this[_0x4ddcf0(0x29a)]=_0x2bd306;}else{if(this['_opcode']>0x7&&this[_0x4ddcf0(0x1c4)]<0xb){if(!this[_0x4ddcf0(0x2b0)]){const _0x593999=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x2e6));_0x537dd7(_0x593999);return;}if(_0x2bd306){const _0xf0dae5=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x2bd),!0x0,0x3ea,_0x4ddcf0(0x1c8));_0x537dd7(_0xf0dae5);return;}if(this[_0x4ddcf0(0x279)]>0x7d||this[_0x4ddcf0(0x1c4)]===0x8&&this[_0x4ddcf0(0x279)]===0x1){const _0x5609cb=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4ddcf0(0x279)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x537dd7(_0x5609cb);return;}}else{const _0x262cff=this[_0x4ddcf0(0x1dd)](RangeError,_0x4ddcf0(0x349)+this[_0x4ddcf0(0x1c4)],!0x0,0x3ea,_0x4ddcf0(0x1b2));_0x537dd7(_0x262cff);return;}}}if(!this[_0x4ddcf0(0x2b0)]&&!this[_0x4ddcf0(0x2ac)]&&(this['_fragmented']=this[_0x4ddcf0(0x1c4)]),this['_masked']=(_0x4e4b8d[0x1]&0x80)===0x80,this[_0x4ddcf0(0x2e4)]){if(!this['_masked']){const _0x3e4039=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4ddcf0(0x262));_0x537dd7(_0x3e4039);return;}}else{if(this[_0x4ddcf0(0x298)]){const _0x4251cb=this[_0x4ddcf0(0x1dd)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x537dd7(_0x4251cb);return;}}this[_0x4ddcf0(0x279)]===0x7e?this[_0x4ddcf0(0x337)]=_0x322060:this[_0x4ddcf0(0x279)]===0x7f?this['_state']=_0x43d82b:this[_0x4ddcf0(0x34c)](_0x537dd7);}[_0x44a403(0x2ae)](_0x558a8f){const _0x36ad43=_0x44a403;if(this[_0x36ad43(0x2d2)]<0x2){this['_loop']=!0x1;return;}this[_0x36ad43(0x279)]=this[_0x36ad43(0x336)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x558a8f);}[_0x44a403(0x21b)](_0x48ea77){const _0x5f077d=_0x44a403;if(this[_0x5f077d(0x2d2)]<0x8){this[_0x5f077d(0x1af)]=!0x1;return;}const _0x1fe505=this[_0x5f077d(0x336)](0x8),_0x5d7e19=_0x1fe505['readUInt32BE'](0x0);if(_0x5d7e19>Math[_0x5f077d(0x350)](0x2,0x15)-0x1){const _0x5f2751=this[_0x5f077d(0x1dd)](RangeError,_0x5f077d(0x26c),!0x1,0x3f1,_0x5f077d(0x2df));_0x48ea77(_0x5f2751);return;}this[_0x5f077d(0x279)]=_0x5d7e19*Math[_0x5f077d(0x350)](0x2,0x20)+_0x1fe505['readUInt32BE'](0x4),this['haveLength'](_0x48ea77);}[_0x44a403(0x34c)](_0x22f73c){const _0x5da08f=_0x44a403;if(this[_0x5da08f(0x279)]&&this[_0x5da08f(0x1c4)]<0x8&&(this[_0x5da08f(0x2af)]+=this['_payloadLength'],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x5da08f(0x250)]>0x0)){const _0x441742=this[_0x5da08f(0x1dd)](RangeError,_0x5da08f(0x24f),!0x1,0x3f1,_0x5da08f(0x21c));_0x22f73c(_0x441742);return;}this['_masked']?this['_state']=_0x2ae0ec:this[_0x5da08f(0x337)]=_0x58d29f;}[_0x44a403(0x2d9)](){const _0x325b54=_0x44a403;if(this[_0x325b54(0x2d2)]<0x4){this[_0x325b54(0x1af)]=!0x1;return;}this[_0x325b54(0x218)]=this['consume'](0x4),this['_state']=_0x58d29f;}[_0x44a403(0x213)](_0x2b05d2){const _0x474b0c=_0x44a403;let _0x1c3017=_0xe4d134;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x1c3017=this[_0x474b0c(0x336)](this[_0x474b0c(0x279)]),this[_0x474b0c(0x298)]&&(this[_0x474b0c(0x218)][0x0]|this[_0x474b0c(0x218)][0x1]|this[_0x474b0c(0x218)][0x2]|this['_mask'][0x3])!==0x0&&_0x1d79ba(_0x1c3017,this[_0x474b0c(0x218)]);}if(this['_opcode']>0x7){this[_0x474b0c(0x237)](_0x1c3017,_0x2b05d2);return;}if(this[_0x474b0c(0x29a)]){this[_0x474b0c(0x337)]=_0x123ad8,this[_0x474b0c(0x303)](_0x1c3017,_0x2b05d2);return;}_0x1c3017['length']&&(this[_0x474b0c(0x343)]=this[_0x474b0c(0x2af)],this[_0x474b0c(0x229)][_0x474b0c(0x277)](_0x1c3017)),this['dataMessage'](_0x2b05d2);}[_0x44a403(0x303)](_0x64bde4,_0x3630d2){const _0x47be0d=_0x44a403;this[_0x47be0d(0x1d8)][_0x55b926[_0x47be0d(0x293)]][_0x47be0d(0x303)](_0x64bde4,this[_0x47be0d(0x2b0)],(_0x50e81e,_0x9211c5)=>{const _0x5ff890=_0x47be0d;if(_0x50e81e)return _0x3630d2(_0x50e81e);if(_0x9211c5['length']){if(this['_messageLength']+=_0x9211c5['length'],this[_0x5ff890(0x343)]>this[_0x5ff890(0x250)]&&this[_0x5ff890(0x250)]>0x0){const _0x1a95d5=this[_0x5ff890(0x1dd)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x5ff890(0x21c));_0x3630d2(_0x1a95d5);return;}this[_0x5ff890(0x229)][_0x5ff890(0x277)](_0x9211c5);}this['dataMessage'](_0x3630d2),this['_state']===_0x4b5cb0&&this[_0x5ff890(0x1ec)](_0x3630d2);});}[_0x44a403(0x27f)](_0x3301ba){const _0xb783be=_0x44a403;if(!this[_0xb783be(0x2b0)]){this[_0xb783be(0x337)]=_0x4b5cb0;return;}const _0x3ce1e6=this[_0xb783be(0x343)],_0x5cfd54=this['_fragments'];if(this[_0xb783be(0x2af)]=0x0,this['_messageLength']=0x0,this[_0xb783be(0x2ac)]=0x0,this[_0xb783be(0x229)]=[],this['_opcode']===0x2){let _0x2212e5;this[_0xb783be(0x216)]==='nodebuffer'?_0x2212e5=_0x4e455d(_0x5cfd54,_0x3ce1e6):this['_binaryType']===_0xb783be(0x297)?_0x2212e5=_0x22bbb0(_0x4e455d(_0x5cfd54,_0x3ce1e6)):this[_0xb783be(0x216)]===_0xb783be(0x252)?_0x2212e5=new Blob(_0x5cfd54):_0x2212e5=_0x5cfd54,this['_allowSynchronousEvents']?(this[_0xb783be(0x2f0)]('message',_0x2212e5,!0x0),this[_0xb783be(0x337)]=_0x4b5cb0):(this['_state']=_0x227192,setImmediate(()=>{const _0x4c35e5=_0xb783be;this[_0x4c35e5(0x2f0)]('message',_0x2212e5,!0x0),this[_0x4c35e5(0x337)]=_0x4b5cb0,this['startLoop'](_0x3301ba);}));}else{const _0x564ff0=_0x4e455d(_0x5cfd54,_0x3ce1e6);if(!this[_0xb783be(0x27b)]&&!_0xd756ff(_0x564ff0)){const _0x2559fc=this['createError'](Error,_0xb783be(0x31a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3301ba(_0x2559fc);return;}this[_0xb783be(0x337)]===_0x123ad8||this[_0xb783be(0x254)]?(this[_0xb783be(0x2f0)](_0xb783be(0x257),_0x564ff0,!0x1),this['_state']=_0x4b5cb0):(this[_0xb783be(0x337)]=_0x227192,setImmediate(()=>{const _0x5654c5=_0xb783be;this[_0x5654c5(0x2f0)](_0x5654c5(0x257),_0x564ff0,!0x1),this[_0x5654c5(0x337)]=_0x4b5cb0,this[_0x5654c5(0x1ec)](_0x3301ba);}));}}[_0x44a403(0x237)](_0x21ee03,_0xdc55d){const _0x13e6c5=_0x44a403;if(this[_0x13e6c5(0x1c4)]===0x8){if(_0x21ee03['length']===0x0)this[_0x13e6c5(0x1af)]=!0x1,this['emit']('conclude',0x3ed,_0xe4d134),this[_0x13e6c5(0x1f8)]();else{const _0x172ca6=_0x21ee03[_0x13e6c5(0x27d)](0x0);if(!_0x1e8e04(_0x172ca6)){const _0x2eaea8=this[_0x13e6c5(0x1dd)](RangeError,_0x13e6c5(0x32f)+_0x172ca6,!0x0,0x3ea,_0x13e6c5(0x28d));_0xdc55d(_0x2eaea8);return;}const _0x2264eb=new _0x5c5673(_0x21ee03[_0x13e6c5(0x359)],_0x21ee03['byteOffset']+0x2,_0x21ee03[_0x13e6c5(0x221)]-0x2);if(!this['_skipUTF8Validation']&&!_0xd756ff(_0x2264eb)){const _0x54609f=this[_0x13e6c5(0x1dd)](Error,_0x13e6c5(0x31a),!0x0,0x3ef,_0x13e6c5(0x2a6));_0xdc55d(_0x54609f);return;}this['_loop']=!0x1,this[_0x13e6c5(0x2f0)]('conclude',_0x172ca6,_0x2264eb),this['end']();}this[_0x13e6c5(0x337)]=_0x4b5cb0;return;}this[_0x13e6c5(0x254)]?(this[_0x13e6c5(0x2f0)](this[_0x13e6c5(0x1c4)]===0x9?_0x13e6c5(0x2d8):'pong',_0x21ee03),this[_0x13e6c5(0x337)]=_0x4b5cb0):(this[_0x13e6c5(0x337)]=_0x227192,setImmediate(()=>{const _0x3de8d0=_0x13e6c5;this[_0x3de8d0(0x2f0)](this[_0x3de8d0(0x1c4)]===0x9?_0x3de8d0(0x2d8):'pong',_0x21ee03),this[_0x3de8d0(0x337)]=_0x4b5cb0,this[_0x3de8d0(0x1ec)](_0xdc55d);}));}[_0x44a403(0x1dd)](_0x45a467,_0x4a516f,_0xe0008a,_0x2f0496,_0x3adf7a){const _0x131595=_0x44a403;this[_0x131595(0x1af)]=!0x1,this['_errored']=!0x0;const _0x1d8734=new _0x45a467(_0xe0008a?_0x131595(0x354)+_0x4a516f:_0x4a516f);return Error[_0x131595(0x326)](_0x1d8734,this[_0x131595(0x1dd)]),_0x1d8734[_0x131595(0x2b4)]=_0x3adf7a,_0x1d8734[_0x3bc606]=_0x2f0496,_0x1d8734;}}return Se=_0x271459,Se;}var Ee,et;function _t(){const _0x52f5b4=_0x4573dd;if(et)return Ee;et=0x1;const {Duplex:_0x2452ab}=_0x3f0855,{randomFillSync:_0x191fd5}=_0x1469aa,_0x5a6936=he(),{EMPTY_BUFFER:_0x545b52,kWebSocket:_0x6620e6,NOOP:_0x3bc253}=V(),{isBlob:_0x3a076a,isValidStatusCode:_0x4b4e85}=ne(),{mask:_0x15bb6b,toBuffer:_0x490615}=ce(),_0x13e95f=Symbol(_0x52f5b4(0x253)),_0xf1b589=Buffer[_0x52f5b4(0x24c)](0x4),_0x95781f=0x8*0x400;let _0x211195,_0xf98318=_0x95781f;const _0x32cf73=0x0,_0x58beec=0x1,_0x23fae6=0x2;class _0x5641f7{constructor(_0xdbe941,_0x2f6182,_0x2130ab){const _0x2b8489=_0x52f5b4;this['_extensions']=_0x2f6182||{},_0x2130ab&&(this[_0x2b8489(0x2b7)]=_0x2130ab,this[_0x2b8489(0x295)]=Buffer[_0x2b8489(0x24c)](0x4)),this[_0x2b8489(0x1f0)]=_0xdbe941,this['_firstFragment']=!0x0,this[_0x2b8489(0x2db)]=!0x1,this[_0x2b8489(0x2d2)]=0x0,this['_queue']=[],this[_0x2b8489(0x337)]=_0x32cf73,this['onerror']=_0x3bc253,this[_0x6620e6]=void 0x0;}static['frame'](_0x555d71,_0x45ea9d){const _0x3f11d3=_0x52f5b4;let _0x55b3d1,_0x40a676=!0x1,_0x29132f=0x2,_0x5e1e7f=!0x1;_0x45ea9d[_0x3f11d3(0x328)]&&(_0x55b3d1=_0x45ea9d[_0x3f11d3(0x239)]||_0xf1b589,_0x45ea9d[_0x3f11d3(0x2c2)]?_0x45ea9d[_0x3f11d3(0x2c2)](_0x55b3d1):(_0xf98318===_0x95781f&&(_0x211195===void 0x0&&(_0x211195=Buffer['alloc'](_0x95781f)),_0x191fd5(_0x211195,0x0,_0x95781f),_0xf98318=0x0),_0x55b3d1[0x0]=_0x211195[_0xf98318++],_0x55b3d1[0x1]=_0x211195[_0xf98318++],_0x55b3d1[0x2]=_0x211195[_0xf98318++],_0x55b3d1[0x3]=_0x211195[_0xf98318++]),_0x5e1e7f=(_0x55b3d1[0x0]|_0x55b3d1[0x1]|_0x55b3d1[0x2]|_0x55b3d1[0x3])===0x0,_0x29132f=0x6);let _0x295144;typeof _0x555d71==_0x3f11d3(0x29e)?(!_0x45ea9d['mask']||_0x5e1e7f)&&_0x45ea9d[_0x13e95f]!==void 0x0?_0x295144=_0x45ea9d[_0x13e95f]:(_0x555d71=Buffer[_0x3f11d3(0x330)](_0x555d71),_0x295144=_0x555d71[_0x3f11d3(0x221)]):(_0x295144=_0x555d71['length'],_0x40a676=_0x45ea9d['mask']&&_0x45ea9d[_0x3f11d3(0x1b0)]&&!_0x5e1e7f);let _0x2dafd9=_0x295144;_0x295144>=0x10000?(_0x29132f+=0x8,_0x2dafd9=0x7f):_0x295144>0x7d&&(_0x29132f+=0x2,_0x2dafd9=0x7e);const _0x492f4c=Buffer[_0x3f11d3(0x27e)](_0x40a676?_0x295144+_0x29132f:_0x29132f);return _0x492f4c[0x0]=_0x45ea9d[_0x3f11d3(0x30b)]?_0x45ea9d[_0x3f11d3(0x2cb)]|0x80:_0x45ea9d['opcode'],_0x45ea9d[_0x3f11d3(0x34a)]&&(_0x492f4c[0x0]|=0x40),_0x492f4c[0x1]=_0x2dafd9,_0x2dafd9===0x7e?_0x492f4c['writeUInt16BE'](_0x295144,0x2):_0x2dafd9===0x7f&&(_0x492f4c[0x2]=_0x492f4c[0x3]=0x0,_0x492f4c[_0x3f11d3(0x1e0)](_0x295144,0x4,0x6)),_0x45ea9d['mask']?(_0x492f4c[0x1]|=0x80,_0x492f4c[_0x29132f-0x4]=_0x55b3d1[0x0],_0x492f4c[_0x29132f-0x3]=_0x55b3d1[0x1],_0x492f4c[_0x29132f-0x2]=_0x55b3d1[0x2],_0x492f4c[_0x29132f-0x1]=_0x55b3d1[0x3],_0x5e1e7f?[_0x492f4c,_0x555d71]:_0x40a676?(_0x15bb6b(_0x555d71,_0x55b3d1,_0x492f4c,_0x29132f,_0x295144),[_0x492f4c]):(_0x15bb6b(_0x555d71,_0x55b3d1,_0x555d71,0x0,_0x295144),[_0x492f4c,_0x555d71])):[_0x492f4c,_0x555d71];}[_0x52f5b4(0x1c5)](_0xe34ba6,_0xffe6d6,_0x93aaa1,_0xefc165){const _0x4fc169=_0x52f5b4;let _0x2213f1;if(_0xe34ba6===void 0x0)_0x2213f1=_0x545b52;else{if(typeof _0xe34ba6!=_0x4fc169(0x2ea)||!_0x4b4e85(_0xe34ba6))throw new TypeError(_0x4fc169(0x217));if(_0xffe6d6===void 0x0||!_0xffe6d6[_0x4fc169(0x221)])_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0);else{const _0x427c14=Buffer['byteLength'](_0xffe6d6);if(_0x427c14>0x7b)throw new RangeError(_0x4fc169(0x1f2));_0x2213f1=Buffer[_0x4fc169(0x27e)](0x2+_0x427c14),_0x2213f1[_0x4fc169(0x310)](_0xe34ba6,0x0),typeof _0xffe6d6==_0x4fc169(0x29e)?_0x2213f1[_0x4fc169(0x23a)](_0xffe6d6,0x2):_0x2213f1[_0x4fc169(0x1b1)](_0xffe6d6,0x2);}}const _0x4de371={[_0x13e95f]:_0x2213f1[_0x4fc169(0x221)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x93aaa1,'maskBuffer':this[_0x4fc169(0x295)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4fc169(0x337)]!==_0x32cf73?this[_0x4fc169(0x2f6)]([this['dispatch'],_0x2213f1,!0x1,_0x4de371,_0xefc165]):this[_0x4fc169(0x2a0)](_0x5641f7[_0x4fc169(0x34d)](_0x2213f1,_0x4de371),_0xefc165);}['ping'](_0x2240e6,_0x5233dd,_0x39e00f){const _0x1e8366=_0x52f5b4;let _0x22319b,_0x59de43;if(typeof _0x2240e6=='string'?(_0x22319b=Buffer[_0x1e8366(0x2a8)](_0x2240e6),_0x59de43=!0x1):_0x3a076a(_0x2240e6)?(_0x22319b=_0x2240e6[_0x1e8366(0x2e7)],_0x59de43=!0x1):(_0x2240e6=_0x490615(_0x2240e6),_0x22319b=_0x2240e6['length'],_0x59de43=_0x490615[_0x1e8366(0x1b0)]),_0x22319b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x517106={[_0x13e95f]:_0x22319b,'fin':!0x0,'generateMask':this[_0x1e8366(0x2b7)],'mask':_0x5233dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x59de43,'rsv1':!0x1};_0x3a076a(_0x2240e6)?this['_state']!==_0x32cf73?this['enqueue']([this[_0x1e8366(0x234)],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this['getBlobData'](_0x2240e6,!0x1,_0x517106,_0x39e00f):this[_0x1e8366(0x337)]!==_0x32cf73?this[_0x1e8366(0x2f6)]([this['dispatch'],_0x2240e6,!0x1,_0x517106,_0x39e00f]):this[_0x1e8366(0x2a0)](_0x5641f7[_0x1e8366(0x34d)](_0x2240e6,_0x517106),_0x39e00f);}[_0x52f5b4(0x346)](_0x319bfb,_0x2cac80,_0x2be150){const _0x42c15e=_0x52f5b4;let _0x375a95,_0x5cc42c;if(typeof _0x319bfb==_0x42c15e(0x29e)?(_0x375a95=Buffer['byteLength'](_0x319bfb),_0x5cc42c=!0x1):_0x3a076a(_0x319bfb)?(_0x375a95=_0x319bfb[_0x42c15e(0x2e7)],_0x5cc42c=!0x1):(_0x319bfb=_0x490615(_0x319bfb),_0x375a95=_0x319bfb[_0x42c15e(0x221)],_0x5cc42c=_0x490615[_0x42c15e(0x1b0)]),_0x375a95>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x583310={[_0x13e95f]:_0x375a95,'fin':!0x0,'generateMask':this[_0x42c15e(0x2b7)],'mask':_0x2cac80,'maskBuffer':this[_0x42c15e(0x295)],'opcode':0xa,'readOnly':_0x5cc42c,'rsv1':!0x1};_0x3a076a(_0x319bfb)?this['_state']!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x234)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this[_0x42c15e(0x234)](_0x319bfb,!0x1,_0x583310,_0x2be150):this[_0x42c15e(0x337)]!==_0x32cf73?this[_0x42c15e(0x2f6)]([this[_0x42c15e(0x2d5)],_0x319bfb,!0x1,_0x583310,_0x2be150]):this['sendFrame'](_0x5641f7['frame'](_0x319bfb,_0x583310),_0x2be150);}[_0x52f5b4(0x2f4)](_0x2c0f62,_0x38af1d,_0x2f63f8){const _0x4a63e2=_0x52f5b4,_0x23781f=this[_0x4a63e2(0x1d8)][_0x5a6936[_0x4a63e2(0x293)]];let _0x31009f=_0x38af1d['binary']?0x2:0x1,_0x894e64=_0x38af1d[_0x4a63e2(0x2f2)],_0x1fbb77,_0x46dda3;typeof _0x2c0f62==_0x4a63e2(0x29e)?(_0x1fbb77=Buffer[_0x4a63e2(0x2a8)](_0x2c0f62),_0x46dda3=!0x1):_0x3a076a(_0x2c0f62)?(_0x1fbb77=_0x2c0f62[_0x4a63e2(0x2e7)],_0x46dda3=!0x1):(_0x2c0f62=_0x490615(_0x2c0f62),_0x1fbb77=_0x2c0f62[_0x4a63e2(0x221)],_0x46dda3=_0x490615['readOnly']),this[_0x4a63e2(0x291)]?(this['_firstFragment']=!0x1,_0x894e64&&_0x23781f&&_0x23781f['params'][_0x23781f[_0x4a63e2(0x2e4)]?_0x4a63e2(0x2ad):'client_no_context_takeover']&&(_0x894e64=_0x1fbb77>=_0x23781f['_threshold']),this[_0x4a63e2(0x2db)]=_0x894e64):(_0x894e64=!0x1,_0x31009f=0x0),_0x38af1d[_0x4a63e2(0x30b)]&&(this[_0x4a63e2(0x291)]=!0x0);const _0x1f95bc={[_0x13e95f]:_0x1fbb77,'fin':_0x38af1d[_0x4a63e2(0x30b)],'generateMask':this[_0x4a63e2(0x2b7)],'mask':_0x38af1d[_0x4a63e2(0x328)],'maskBuffer':this[_0x4a63e2(0x295)],'opcode':_0x31009f,'readOnly':_0x46dda3,'rsv1':_0x894e64};_0x3a076a(_0x2c0f62)?this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this[_0x4a63e2(0x234)],_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x234)](_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8):this[_0x4a63e2(0x337)]!==_0x32cf73?this[_0x4a63e2(0x2f6)]([this['dispatch'],_0x2c0f62,this[_0x4a63e2(0x2db)],_0x1f95bc,_0x2f63f8]):this[_0x4a63e2(0x2d5)](_0x2c0f62,this['_compress'],_0x1f95bc,_0x2f63f8);}[_0x52f5b4(0x234)](_0x15133c,_0x35a628,_0x13a5cc,_0x2ba358){const _0x3e39ed=_0x52f5b4;this[_0x3e39ed(0x2d2)]+=_0x13a5cc[_0x13e95f],this[_0x3e39ed(0x337)]=_0x23fae6,_0x15133c['arrayBuffer']()[_0x3e39ed(0x2ca)](_0x41ab43=>{const _0x5680a4=_0x3e39ed;if(this[_0x5680a4(0x1f0)][_0x5680a4(0x1e7)]){const _0x39b26b=new Error(_0x5680a4(0x2c4));process[_0x5680a4(0x27c)](_0x39309e,this,_0x39b26b,_0x2ba358);return;}this['_bufferedBytes']-=_0x13a5cc[_0x13e95f];const _0x5c541b=_0x490615(_0x41ab43);_0x35a628?this[_0x5680a4(0x2d5)](_0x5c541b,_0x35a628,_0x13a5cc,_0x2ba358):(this['_state']=_0x32cf73,this[_0x5680a4(0x2a0)](_0x5641f7[_0x5680a4(0x34d)](_0x5c541b,_0x13a5cc),_0x2ba358),this['dequeue']());})['catch'](_0x42d7b5=>{process['nextTick'](_0x2dff9e,this,_0x42d7b5,_0x2ba358);});}[_0x52f5b4(0x2d5)](_0x4773bb,_0x4856fd,_0x226ce1,_0x4d2ace){const _0x2d81d7=_0x52f5b4;if(!_0x4856fd){this[_0x2d81d7(0x2a0)](_0x5641f7[_0x2d81d7(0x34d)](_0x4773bb,_0x226ce1),_0x4d2ace);return;}const _0x1f0218=this[_0x2d81d7(0x1d8)][_0x5a6936[_0x2d81d7(0x293)]];this[_0x2d81d7(0x2d2)]+=_0x226ce1[_0x13e95f],this[_0x2d81d7(0x337)]=_0x58beec,_0x1f0218[_0x2d81d7(0x2f2)](_0x4773bb,_0x226ce1['fin'],(_0x3d40f3,_0x304916)=>{const _0x34d23b=_0x2d81d7;if(this['_socket']['destroyed']){const _0x59d237=new Error(_0x34d23b(0x353));_0x39309e(this,_0x59d237,_0x4d2ace);return;}this[_0x34d23b(0x2d2)]-=_0x226ce1[_0x13e95f],this[_0x34d23b(0x337)]=_0x32cf73,_0x226ce1[_0x34d23b(0x1b0)]=!0x1,this[_0x34d23b(0x2a0)](_0x5641f7[_0x34d23b(0x34d)](_0x304916,_0x226ce1),_0x4d2ace),this[_0x34d23b(0x1b5)]();});}[_0x52f5b4(0x1b5)](){const _0x249f39=_0x52f5b4;for(;this[_0x249f39(0x337)]===_0x32cf73&&this[_0x249f39(0x20b)][_0x249f39(0x221)];){const _0x168543=this[_0x249f39(0x20b)][_0x249f39(0x2ff)]();this[_0x249f39(0x2d2)]-=_0x168543[0x3][_0x13e95f],Reflect['apply'](_0x168543[0x0],this,_0x168543[_0x249f39(0x2c8)](0x1));}}[_0x52f5b4(0x2f6)](_0x2df4d8){const _0x185502=_0x52f5b4;this['_bufferedBytes']+=_0x2df4d8[0x3][_0x13e95f],this['_queue'][_0x185502(0x277)](_0x2df4d8);}[_0x52f5b4(0x2a0)](_0x1e458a,_0x18ad07){const _0x20307e=_0x52f5b4;_0x1e458a['length']===0x2?(this['_socket']['cork'](),this[_0x20307e(0x1f0)]['write'](_0x1e458a[0x0]),this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x1],_0x18ad07),this[_0x20307e(0x1f0)][_0x20307e(0x2fc)]()):this['_socket'][_0x20307e(0x23a)](_0x1e458a[0x0],_0x18ad07);}}Ee=_0x5641f7;function _0x39309e(_0x4165fc,_0x4775b3,_0x1caecf){const _0x2b2fd9=_0x52f5b4;typeof _0x1caecf==_0x2b2fd9(0x351)&&_0x1caecf(_0x4775b3);for(let _0x3e5bab=0x0;_0x3e5bab<_0x4165fc[_0x2b2fd9(0x20b)][_0x2b2fd9(0x221)];_0x3e5bab++){const _0x47089b=_0x4165fc['_queue'][_0x3e5bab],_0x3f637a=_0x47089b[_0x47089b['length']-0x1];typeof _0x3f637a==_0x2b2fd9(0x351)&&_0x3f637a(_0x4775b3);}}function _0x2dff9e(_0x3d0982,_0x3f5c66,_0x4ad249){const _0x41f8c7=_0x52f5b4;_0x39309e(_0x3d0982,_0x3f5c66,_0x4ad249),_0x3d0982[_0x41f8c7(0x1c6)](_0x3f5c66);}return Ee;}var xe,tt;function Kt(){const _0x23b22e=_0x4573dd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x888fa5,kListener:_0x55e1f4}=V(),_0x34ad54=Symbol(_0x23b22e(0x339)),_0x4990b6=Symbol('kData'),_0x2db147=Symbol(_0x23b22e(0x32a)),_0x25153f=Symbol('kMessage'),_0x4247fb=Symbol(_0x23b22e(0x360)),_0x428b21=Symbol(_0x23b22e(0x269)),_0x3b381f=Symbol('kType'),_0x21b3a6=Symbol(_0x23b22e(0x1bf));class _0x5eff24{constructor(_0x95810c){this[_0x428b21]=null,this[_0x3b381f]=_0x95810c;}get[_0x23b22e(0x240)](){return this[_0x428b21];}get[_0x23b22e(0x2f5)](){return this[_0x3b381f];}}Object[_0x23b22e(0x2cc)](_0x5eff24[_0x23b22e(0x1d6)],_0x23b22e(0x240),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x5eff24['prototype'],_0x23b22e(0x2f5),{'enumerable':!0x0});class _0x3301d0 extends _0x5eff24{constructor(_0x277f6e,_0x4d50d8={}){const _0x584397=_0x23b22e;super(_0x277f6e),this[_0x34ad54]=_0x4d50d8[_0x584397(0x2b4)]===void 0x0?0x0:_0x4d50d8[_0x584397(0x2b4)],this[_0x4247fb]=_0x4d50d8[_0x584397(0x287)]===void 0x0?'':_0x4d50d8[_0x584397(0x287)],this[_0x21b3a6]=_0x4d50d8[_0x584397(0x1f1)]===void 0x0?!0x1:_0x4d50d8['wasClean'];}get[_0x23b22e(0x2b4)](){return this[_0x34ad54];}get[_0x23b22e(0x287)](){return this[_0x4247fb];}get[_0x23b22e(0x1f1)](){return this[_0x21b3a6];}}Object['defineProperty'](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x2b4),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x287),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x3301d0[_0x23b22e(0x1d6)],_0x23b22e(0x1f1),{'enumerable':!0x0});class _0x13886c extends _0x5eff24{constructor(_0x340bf2,_0x289be8={}){const _0x4e5eaa=_0x23b22e;super(_0x340bf2),this[_0x2db147]=_0x289be8[_0x4e5eaa(0x238)]===void 0x0?null:_0x289be8[_0x4e5eaa(0x238)],this[_0x25153f]=_0x289be8[_0x4e5eaa(0x257)]===void 0x0?'':_0x289be8[_0x4e5eaa(0x257)];}get[_0x23b22e(0x238)](){return this[_0x2db147];}get['message'](){return this[_0x25153f];}}Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x238),{'enumerable':!0x0}),Object[_0x23b22e(0x2cc)](_0x13886c[_0x23b22e(0x1d6)],_0x23b22e(0x257),{'enumerable':!0x0});class _0x49fc40 extends _0x5eff24{constructor(_0x511a6e,_0x16fddb={}){super(_0x511a6e),this[_0x4990b6]=_0x16fddb['data']===void 0x0?null:_0x16fddb['data'];}get[_0x23b22e(0x35c)](){return this[_0x4990b6];}}Object['defineProperty'](_0x49fc40[_0x23b22e(0x1d6)],_0x23b22e(0x35c),{'enumerable':!0x0}),xe={'CloseEvent':_0x3301d0,'ErrorEvent':_0x13886c,'Event':_0x5eff24,'EventTarget':{'addEventListener'(_0x4deb13,_0x3d9f2b,_0x8cbada={}){const _0x44f281=_0x23b22e;for(const _0x56c763 of this[_0x44f281(0x21e)](_0x4deb13))if(!_0x8cbada[_0x888fa5]&&_0x56c763[_0x55e1f4]===_0x3d9f2b&&!_0x56c763[_0x888fa5])return;let _0x415336;if(_0x4deb13===_0x44f281(0x257))_0x415336=function(_0x1aee46,_0x369e0a){const _0x48bd88=_0x44f281,_0x2fc6a8=new _0x49fc40(_0x48bd88(0x257),{'data':_0x369e0a?_0x1aee46:_0x1aee46[_0x48bd88(0x304)]()});_0x2fc6a8[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2fc6a8);};else{if(_0x4deb13===_0x44f281(0x1c5))_0x415336=function(_0x1a1e91,_0x37d078){const _0x44173c=_0x44f281,_0x3e644e=new _0x3301d0(_0x44173c(0x1c5),{'code':_0x1a1e91,'reason':_0x37d078[_0x44173c(0x304)](),'wasClean':this[_0x44173c(0x24b)]&&this[_0x44173c(0x28b)]});_0x3e644e[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x3e644e);};else{if(_0x4deb13===_0x44f281(0x238))_0x415336=function(_0x21c7fc){const _0x2bb9bf=_0x44f281,_0x1b7912=new _0x13886c(_0x2bb9bf(0x238),{'error':_0x21c7fc,'message':_0x21c7fc[_0x2bb9bf(0x257)]});_0x1b7912[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x1b7912);};else{if(_0x4deb13===_0x44f281(0x1ca))_0x415336=function(){const _0x2ff6e2=new _0x5eff24('open');_0x2ff6e2[_0x428b21]=this,_0xab33e9(_0x3d9f2b,this,_0x2ff6e2);};else return;}}}_0x415336[_0x888fa5]=!!_0x8cbada[_0x888fa5],_0x415336[_0x55e1f4]=_0x3d9f2b,_0x8cbada[_0x44f281(0x2bf)]?this['once'](_0x4deb13,_0x415336):this['on'](_0x4deb13,_0x415336);},'removeEventListener'(_0x164d62,_0x428b7f){const _0x151dfd=_0x23b22e;for(const _0x291dfa of this[_0x151dfd(0x21e)](_0x164d62))if(_0x291dfa[_0x55e1f4]===_0x428b7f&&!_0x291dfa[_0x888fa5]){this[_0x151dfd(0x1fe)](_0x164d62,_0x291dfa);break;}}},'MessageEvent':_0x49fc40};function _0xab33e9(_0x2e4c20,_0x5eb8ec,_0x59f6cd){const _0x4d37d9=_0x23b22e;typeof _0x2e4c20==_0x4d37d9(0x1be)&&_0x2e4c20['handleEvent']?_0x2e4c20[_0x4d37d9(0x29c)]['call'](_0x2e4c20,_0x59f6cd):_0x2e4c20[_0x4d37d9(0x1b9)](_0x5eb8ec,_0x59f6cd);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x26b386}=ne();function _0x124f70(_0x3b852e,_0x1499e5,_0x2d19d3){_0x3b852e[_0x1499e5]===void 0x0?_0x3b852e[_0x1499e5]=[_0x2d19d3]:_0x3b852e[_0x1499e5]['push'](_0x2d19d3);}function _0x38a4bc(_0x24e40){const _0x3e0ec9=_0x5cf4,_0x99b8bb=Object[_0x3e0ec9(0x2d4)](null);let _0x2bf71c=Object['create'](null),_0xccd9a0=!0x1,_0x24b337=!0x1,_0x205493=!0x1,_0x3ae278,_0x1f5904,_0x1963ca=-0x1,_0x5b916a=-0x1,_0x555a58=-0x1,_0x435105=0x0;for(;_0x435105<_0x24e40[_0x3e0ec9(0x221)];_0x435105++)if(_0x5b916a=_0x24e40[_0x3e0ec9(0x2e2)](_0x435105),_0x3ae278===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x435105!==0x0&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x41eeb5=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0x5b916a===0x2c?(_0x124f70(_0x99b8bb,_0x41eeb5,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null)):_0x3ae278=_0x41eeb5,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x1f5904===void 0x0){if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x20||_0x5b916a===0x9)_0x555a58===-0x1&&_0x1963ca!==-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105),_0x124f70(_0x2bf71c,_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58),!0x0),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1963ca=_0x555a58=-0x1;}else{if(_0x5b916a===0x3d&&_0x1963ca!==-0x1&&_0x555a58===-0x1)_0x1f5904=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x435105),_0x1963ca=_0x555a58=-0x1;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}else{if(_0x24b337){if(_0x26b386[_0x5b916a]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x435105);_0x1963ca===-0x1?_0x1963ca=_0x435105:_0xccd9a0||(_0xccd9a0=!0x0),_0x24b337=!0x1;}else{if(_0x205493){if(_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x5b916a===0x22&&_0x1963ca!==-0x1)_0x205493=!0x1,_0x555a58=_0x435105;else{if(_0x5b916a===0x5c)_0x24b337=!0x0;else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}else{if(_0x5b916a===0x22&&_0x24e40[_0x3e0ec9(0x2e2)](_0x435105-0x1)===0x3d)_0x205493=!0x0;else{if(_0x555a58===-0x1&&_0x26b386[_0x5b916a]===0x1)_0x1963ca===-0x1&&(_0x1963ca=_0x435105);else{if(_0x1963ca!==-0x1&&(_0x5b916a===0x20||_0x5b916a===0x9))_0x555a58===-0x1&&(_0x555a58=_0x435105);else{if(_0x5b916a===0x3b||_0x5b916a===0x2c){if(_0x1963ca===-0x1)throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);_0x555a58===-0x1&&(_0x555a58=_0x435105);let _0x479694=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);_0xccd9a0&&(_0x479694=_0x479694[_0x3e0ec9(0x283)](/\\/g,''),_0xccd9a0=!0x1),_0x124f70(_0x2bf71c,_0x1f5904,_0x479694),_0x5b916a===0x2c&&(_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c),_0x2bf71c=Object[_0x3e0ec9(0x2d4)](null),_0x3ae278=void 0x0),_0x1f5904=void 0x0,_0x1963ca=_0x555a58=-0x1;}else throw new SyntaxError(_0x3e0ec9(0x1cb)+_0x435105);}}}}}}}if(_0x1963ca===-0x1||_0x205493||_0x5b916a===0x20||_0x5b916a===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x555a58===-0x1&&(_0x555a58=_0x435105);const _0x3668e9=_0x24e40[_0x3e0ec9(0x2c8)](_0x1963ca,_0x555a58);return _0x3ae278===void 0x0?_0x124f70(_0x99b8bb,_0x3668e9,_0x2bf71c):(_0x1f5904===void 0x0?_0x124f70(_0x2bf71c,_0x3668e9,!0x0):_0xccd9a0?_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9[_0x3e0ec9(0x283)](/\\/g,'')):_0x124f70(_0x2bf71c,_0x1f5904,_0x3668e9),_0x124f70(_0x99b8bb,_0x3ae278,_0x2bf71c)),_0x99b8bb;}function _0x2b4bb3(_0x18c023){const _0xe63d5a=_0x5cf4;return Object['keys'](_0x18c023)[_0xe63d5a(0x33f)](_0x33e84e=>{const _0x31c724=_0xe63d5a;let _0x470532=_0x18c023[_0x33e84e];return Array[_0x31c724(0x2dc)](_0x470532)||(_0x470532=[_0x470532]),_0x470532[_0x31c724(0x33f)](_0x450801=>[_0x33e84e][_0x31c724(0x1c0)](Object['keys'](_0x450801)['map'](_0x13ac71=>{const _0x39cf18=_0x31c724;let _0x543416=_0x450801[_0x13ac71];return Array[_0x39cf18(0x2dc)](_0x543416)||(_0x543416=[_0x543416]),_0x543416[_0x39cf18(0x33f)](_0x1f63a5=>_0x1f63a5===!0x0?_0x13ac71:_0x13ac71+'='+_0x1f63a5)[_0x39cf18(0x1bd)](';\x20');}))[_0x31c724(0x1bd)](';\x20'))[_0x31c724(0x1bd)](',\x20');})['join'](',\x20');}return be={'format':_0x2b4bb3,'parse':_0x38a4bc},be;}var we,st;function Ie(){const _0x246a76=_0x4573dd;if(st)return we;st=0x1;const _0x11b30e=_0xc8b08e,_0x19b58f=_0x5e382d,_0x32c433=_0x49d0a7,_0x481503=_0x1d2aae,_0x16037e=_0x606e98,{randomBytes:_0x17e9e9,createHash:_0x4675f2}=_0x1469aa,{Duplex:_0x2c6d70,Readable:_0x50092c}=_0x3f0855,{URL:_0x35b48a}=_0x50e69b,_0x596b68=he(),_0xcbc02d=dt(),_0x538c95=_t(),{isBlob:_0x4da3eb}=ne(),{BINARY_TYPES:_0x5d1c54,EMPTY_BUFFER:_0x5c8b33,GUID:_0x32a1ad,kForOnEventAttribute:_0x587da0,kListener:_0x355cdb,kStatusCode:_0x14219a,kWebSocket:_0x2b3220,NOOP:_0x42b68f}=V(),{EventTarget:{addEventListener:_0x20bbed,removeEventListener:_0x303723}}=Kt(),{format:_0x1357f1,parse:_0x8fb446}=pt(),{toBuffer:_0x1adaea}=ce(),_0x1ad596=0x1e*0x3e8,_0x46d3d6=Symbol('kAborted'),_0x721150=[0x8,0xd],_0x149297=[_0x246a76(0x26e),_0x246a76(0x202),_0x246a76(0x334),_0x246a76(0x1e4)],_0x677143=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3a22ff extends _0x11b30e{constructor(_0x591217,_0x124ab0,_0x509092){const _0x43a02b=_0x246a76;super(),this['_binaryType']=_0x5d1c54[0x0],this['_closeCode']=0x3ee,this[_0x43a02b(0x24b)]=!0x1,this[_0x43a02b(0x28b)]=!0x1,this[_0x43a02b(0x31b)]=_0x5c8b33,this[_0x43a02b(0x35e)]=null,this[_0x43a02b(0x230)]=!0x1,this['_extensions']={},this[_0x43a02b(0x24e)]=!0x1,this[_0x43a02b(0x2b3)]='',this[_0x43a02b(0x2b9)]=_0x3a22ff[_0x43a02b(0x26e)],this['_receiver']=null,this[_0x43a02b(0x1fb)]=null,this['_socket']=null,_0x591217!==null?(this[_0x43a02b(0x25e)]=0x0,this['_isServer']=!0x1,this[_0x43a02b(0x290)]=0x0,_0x124ab0===void 0x0?_0x124ab0=[]:Array[_0x43a02b(0x2dc)](_0x124ab0)||(typeof _0x124ab0==_0x43a02b(0x1be)&&_0x124ab0!==null?(_0x509092=_0x124ab0,_0x124ab0=[]):_0x124ab0=[_0x124ab0]),_0x2ebd4d(this,_0x591217,_0x124ab0,_0x509092)):(this[_0x43a02b(0x265)]=_0x509092[_0x43a02b(0x2a3)],this[_0x43a02b(0x2e4)]=!0x0);}get[_0x246a76(0x209)](){const _0x5b4090=_0x246a76;return this[_0x5b4090(0x216)];}set['binaryType'](_0x2c435a){const _0x5c9161=_0x246a76;_0x5d1c54[_0x5c9161(0x311)](_0x2c435a)&&(this[_0x5c9161(0x216)]=_0x2c435a,this[_0x5c9161(0x261)]&&(this['_receiver']['_binaryType']=_0x2c435a));}get['bufferedAmount'](){const _0x3f1e1a=_0x246a76;return this[_0x3f1e1a(0x1f0)]?this['_socket'][_0x3f1e1a(0x222)]['length']+this[_0x3f1e1a(0x1fb)][_0x3f1e1a(0x2d2)]:this['_bufferedAmount'];}get[_0x246a76(0x1d9)](){const _0x11991f=_0x246a76;return Object[_0x11991f(0x26b)](this['_extensions'])[_0x11991f(0x1bd)]();}get[_0x246a76(0x1ed)](){const _0x521221=_0x246a76;return this[_0x521221(0x24e)];}get[_0x246a76(0x31e)](){return null;}get[_0x246a76(0x1c6)](){return null;}get[_0x246a76(0x1cd)](){return null;}get['onmessage'](){return null;}get[_0x246a76(0x31c)](){const _0x22d822=_0x246a76;return this[_0x22d822(0x2b3)];}get[_0x246a76(0x1f6)](){const _0x3045ff=_0x246a76;return this[_0x3045ff(0x2b9)];}get[_0x246a76(0x333)](){const _0x32206e=_0x246a76;return this[_0x32206e(0x23b)];}[_0x246a76(0x271)](_0x48d060,_0x2cdf6c,_0x77772d){const _0x397cf3=_0x246a76,_0x5d19ed=new _0xcbc02d({'allowSynchronousEvents':_0x77772d[_0x397cf3(0x29f)],'binaryType':this[_0x397cf3(0x209)],'extensions':this[_0x397cf3(0x1d8)],'isServer':this[_0x397cf3(0x2e4)],'maxPayload':_0x77772d[_0x397cf3(0x22f)],'skipUTF8Validation':_0x77772d['skipUTF8Validation']}),_0x4f8a61=new _0x538c95(_0x48d060,this['_extensions'],_0x77772d['generateMask']);this[_0x397cf3(0x261)]=_0x5d19ed,this['_sender']=_0x4f8a61,this[_0x397cf3(0x1f0)]=_0x48d060,_0x5d19ed[_0x2b3220]=this,_0x4f8a61[_0x2b3220]=this,_0x48d060[_0x2b3220]=this,_0x5d19ed['on'](_0x397cf3(0x2e9),_0x4ba37a),_0x5d19ed['on'](_0x397cf3(0x263),_0x1dbceb),_0x5d19ed['on'](_0x397cf3(0x238),_0x3903e9),_0x5d19ed['on'](_0x397cf3(0x257),_0x7cc3a8),_0x5d19ed['on'](_0x397cf3(0x2d8),_0xec1676),_0x5d19ed['on'](_0x397cf3(0x346),_0xb629c3),_0x4f8a61[_0x397cf3(0x1c6)]=_0x321b43,_0x48d060['setTimeout']&&_0x48d060[_0x397cf3(0x211)](0x0),_0x48d060[_0x397cf3(0x2c6)]&&_0x48d060[_0x397cf3(0x2c6)](),_0x2cdf6c[_0x397cf3(0x221)]>0x0&&_0x48d060['unshift'](_0x2cdf6c),_0x48d060['on']('close',_0x30b2b9),_0x48d060['on']('data',_0x31c0c7),_0x48d060['on'](_0x397cf3(0x1f8),_0x5c6c4e),_0x48d060['on'](_0x397cf3(0x238),_0x5e34eb),this[_0x397cf3(0x2b9)]=_0x3a22ff[_0x397cf3(0x202)],this['emit'](_0x397cf3(0x1ca));}['emitClose'](){const _0x23244c=_0x246a76;if(!this[_0x23244c(0x1f0)]){this[_0x23244c(0x2b9)]=_0x3a22ff[_0x23244c(0x1e4)],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);return;}this[_0x23244c(0x1d8)][_0x596b68[_0x23244c(0x293)]]&&this[_0x23244c(0x1d8)][_0x596b68['extensionName']][_0x23244c(0x1e1)](),this[_0x23244c(0x261)][_0x23244c(0x228)](),this[_0x23244c(0x2b9)]=_0x3a22ff['CLOSED'],this[_0x23244c(0x2f0)](_0x23244c(0x1c5),this[_0x23244c(0x2ee)],this[_0x23244c(0x31b)]);}[_0x246a76(0x1c5)](_0x2ed7f8,_0x2498de){const _0x2cf807=_0x246a76;if(this['readyState']!==_0x3a22ff[_0x2cf807(0x1e4)]){if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x26e)]){_0x3e0b74(this,this['_req'],_0x2cf807(0x300));return;}if(this[_0x2cf807(0x1f6)]===_0x3a22ff[_0x2cf807(0x334)]){this[_0x2cf807(0x28b)]&&(this[_0x2cf807(0x24b)]||this[_0x2cf807(0x261)][_0x2cf807(0x222)]['errorEmitted'])&&this['_socket'][_0x2cf807(0x1f8)]();return;}this['_readyState']=_0x3a22ff[_0x2cf807(0x334)],this[_0x2cf807(0x1fb)]['close'](_0x2ed7f8,_0x2498de,!this[_0x2cf807(0x2e4)],_0x1b692f=>{const _0x5e78b7=_0x2cf807;_0x1b692f||(this['_closeFrameSent']=!0x0,(this[_0x5e78b7(0x24b)]||this['_receiver'][_0x5e78b7(0x222)][_0x5e78b7(0x204)])&&this[_0x5e78b7(0x1f0)][_0x5e78b7(0x1f8)]());}),_0x14365f(this);}}[_0x246a76(0x2f3)](){const _0x2b031d=_0x246a76;this[_0x2b031d(0x1f6)]===_0x3a22ff[_0x2b031d(0x26e)]||this['readyState']===_0x3a22ff[_0x2b031d(0x1e4)]||(this[_0x2b031d(0x24e)]=!0x0,this[_0x2b031d(0x1f0)][_0x2b031d(0x2f3)]());}[_0x246a76(0x2d8)](_0xce8a31,_0x5af312,_0x5e76b6){const _0x151c22=_0x246a76;if(this[_0x151c22(0x1f6)]===_0x3a22ff[_0x151c22(0x26e)])throw new Error(_0x151c22(0x275));if(typeof _0xce8a31==_0x151c22(0x351)?(_0x5e76b6=_0xce8a31,_0xce8a31=_0x5af312=void 0x0):typeof _0x5af312==_0x151c22(0x351)&&(_0x5e76b6=_0x5af312,_0x5af312=void 0x0),typeof _0xce8a31==_0x151c22(0x2ea)&&(_0xce8a31=_0xce8a31[_0x151c22(0x304)]()),this['readyState']!==_0x3a22ff[_0x151c22(0x202)]){_0x298b11(this,_0xce8a31,_0x5e76b6);return;}_0x5af312===void 0x0&&(_0x5af312=!this[_0x151c22(0x2e4)]),this[_0x151c22(0x1fb)][_0x151c22(0x2d8)](_0xce8a31||_0x5c8b33,_0x5af312,_0x5e76b6);}['pong'](_0x270ec9,_0x5239e5,_0x12c7a6){const _0x14cf64=_0x246a76;if(this[_0x14cf64(0x1f6)]===_0x3a22ff[_0x14cf64(0x26e)])throw new Error(_0x14cf64(0x275));if(typeof _0x270ec9==_0x14cf64(0x351)?(_0x12c7a6=_0x270ec9,_0x270ec9=_0x5239e5=void 0x0):typeof _0x5239e5==_0x14cf64(0x351)&&(_0x12c7a6=_0x5239e5,_0x5239e5=void 0x0),typeof _0x270ec9==_0x14cf64(0x2ea)&&(_0x270ec9=_0x270ec9[_0x14cf64(0x304)]()),this['readyState']!==_0x3a22ff['OPEN']){_0x298b11(this,_0x270ec9,_0x12c7a6);return;}_0x5239e5===void 0x0&&(_0x5239e5=!this[_0x14cf64(0x2e4)]),this['_sender']['pong'](_0x270ec9||_0x5c8b33,_0x5239e5,_0x12c7a6);}[_0x246a76(0x268)](){const _0x553c49=_0x246a76;this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x26e)]||this[_0x553c49(0x1f6)]===_0x3a22ff[_0x553c49(0x1e4)]||(this[_0x553c49(0x24e)]=!0x1,this[_0x553c49(0x261)]['_writableState'][_0x553c49(0x201)]||this[_0x553c49(0x1f0)][_0x553c49(0x268)]());}['send'](_0x159125,_0x268ca4,_0x350828){const _0x59ba11=_0x246a76;if(this['readyState']===_0x3a22ff['CONNECTING'])throw new Error(_0x59ba11(0x275));if(typeof _0x268ca4==_0x59ba11(0x351)&&(_0x350828=_0x268ca4,_0x268ca4={}),typeof _0x159125==_0x59ba11(0x2ea)&&(_0x159125=_0x159125[_0x59ba11(0x304)]()),this[_0x59ba11(0x1f6)]!==_0x3a22ff[_0x59ba11(0x202)]){_0x298b11(this,_0x159125,_0x350828);return;}const _0x33818b={'binary':typeof _0x159125!=_0x59ba11(0x29e),'mask':!this[_0x59ba11(0x2e4)],'compress':!0x0,'fin':!0x0,..._0x268ca4};this['_extensions'][_0x596b68[_0x59ba11(0x293)]]||(_0x33818b[_0x59ba11(0x2f2)]=!0x1),this[_0x59ba11(0x1fb)][_0x59ba11(0x2f4)](_0x159125||_0x5c8b33,_0x33818b,_0x350828);}['terminate'](){const _0x450f49=_0x246a76;if(this[_0x450f49(0x1f6)]!==_0x3a22ff[_0x450f49(0x1e4)]){if(this['readyState']===_0x3a22ff[_0x450f49(0x26e)]){_0x3e0b74(this,this[_0x450f49(0x30c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x450f49(0x1f0)]&&(this[_0x450f49(0x2b9)]=_0x3a22ff['CLOSING'],this[_0x450f49(0x1f0)][_0x450f49(0x20e)]());}}}Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x26e),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x26e))}),Object[_0x246a76(0x2cc)](_0x3a22ff['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x149297['indexOf']('CONNECTING')}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf'](_0x246a76(0x202))}),Object[_0x246a76(0x2cc)](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x202),{'enumerable':!0x0,'value':_0x149297['indexOf']('OPEN')}),Object['defineProperty'](_0x3a22ff,_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],_0x246a76(0x334),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x334))}),Object[_0x246a76(0x2cc)](_0x3a22ff,_0x246a76(0x1e4),{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),Object['defineProperty'](_0x3a22ff[_0x246a76(0x1d6)],'CLOSED',{'enumerable':!0x0,'value':_0x149297[_0x246a76(0x318)](_0x246a76(0x1e4))}),[_0x246a76(0x209),_0x246a76(0x1b8),_0x246a76(0x1d9),_0x246a76(0x1ed),_0x246a76(0x31c),_0x246a76(0x1f6),_0x246a76(0x333)][_0x246a76(0x28c)](_0x3714cd=>{const _0x2feb5f=_0x246a76;Object[_0x2feb5f(0x2cc)](_0x3a22ff[_0x2feb5f(0x1d6)],_0x3714cd,{'enumerable':!0x0});}),[_0x246a76(0x1ca),_0x246a76(0x238),'close',_0x246a76(0x257)]['forEach'](_0x27a4f2=>{const _0x19498c=_0x246a76;Object[_0x19498c(0x2cc)](_0x3a22ff[_0x19498c(0x1d6)],'on'+_0x27a4f2,{'enumerable':!0x0,'get'(){const _0x7066c7=_0x19498c;for(const _0x214bb3 of this[_0x7066c7(0x21e)](_0x27a4f2))if(_0x214bb3[_0x587da0])return _0x214bb3[_0x355cdb];return null;},'set'(_0x2ea444){const _0x546877=_0x19498c;for(const _0x10b75a of this[_0x546877(0x21e)](_0x27a4f2))if(_0x10b75a[_0x587da0]){this[_0x546877(0x1fe)](_0x27a4f2,_0x10b75a);break;}typeof _0x2ea444==_0x546877(0x351)&&this[_0x546877(0x329)](_0x27a4f2,_0x2ea444,{[_0x587da0]:!0x0});}});}),_0x3a22ff['prototype'][_0x246a76(0x329)]=_0x20bbed,_0x3a22ff[_0x246a76(0x1d6)][_0x246a76(0x1eb)]=_0x303723,we=_0x3a22ff;function _0x2ebd4d(_0x4a04b4,_0x1a3aa9,_0x56c36b,_0x3de0db){const _0x13f963=_0x246a76,_0x177e07={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x721150[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3de0db,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x13f963(0x276),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4a04b4[_0x13f963(0x265)]=_0x177e07[_0x13f963(0x2a3)],!_0x721150[_0x13f963(0x311)](_0x177e07[_0x13f963(0x317)]))throw new RangeError(_0x13f963(0x280)+_0x177e07['protocolVersion']+_0x13f963(0x348)+_0x721150[_0x13f963(0x1bd)](',\x20')+')');let _0x158980;if(_0x1a3aa9 instanceof _0x35b48a)_0x158980=_0x1a3aa9;else try{_0x158980=new _0x35b48a(_0x1a3aa9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1a3aa9);}_0x158980[_0x13f963(0x31c)]==='http:'?_0x158980[_0x13f963(0x31c)]=_0x13f963(0x289):_0x158980[_0x13f963(0x31c)]===_0x13f963(0x1b4)&&(_0x158980[_0x13f963(0x31c)]=_0x13f963(0x2c3)),_0x4a04b4[_0x13f963(0x23b)]=_0x158980[_0x13f963(0x225)];const _0x598451=_0x158980[_0x13f963(0x31c)]===_0x13f963(0x2c3),_0x5e924a=_0x158980['protocol']===_0x13f963(0x2cf);let _0x820652;if(_0x158980[_0x13f963(0x31c)]!==_0x13f963(0x289)&&!_0x598451&&!_0x5e924a?_0x820652=_0x13f963(0x248):_0x5e924a&&!_0x158980[_0x13f963(0x323)]?_0x820652=_0x13f963(0x30e):_0x158980[_0x13f963(0x2fa)]&&(_0x820652=_0x13f963(0x1f9)),_0x820652){const _0x42c0ad=new SyntaxError(_0x820652);if(_0x4a04b4['_redirects']===0x0)throw _0x42c0ad;_0x4ab463(_0x4a04b4,_0x42c0ad);return;}const _0x6956b2=_0x598451?0x1bb:0x50,_0x22f8dd=_0x17e9e9(0x10)[_0x13f963(0x304)](_0x13f963(0x358)),_0x3e0e35=_0x598451?_0x19b58f[_0x13f963(0x2ec)]:_0x32c433[_0x13f963(0x2ec)],_0x1ec802=new Set();let _0x3e81e7;if(_0x177e07['createConnection']=_0x177e07['createConnection']||(_0x598451?_0x8858be:_0x37e314),_0x177e07[_0x13f963(0x1e2)]=_0x177e07[_0x13f963(0x1e2)]||_0x6956b2,_0x177e07[_0x13f963(0x2dd)]=_0x158980[_0x13f963(0x2dd)]||_0x6956b2,_0x177e07['host']=_0x158980['hostname'][_0x13f963(0x1e8)]('[')?_0x158980[_0x13f963(0x1ce)][_0x13f963(0x2c8)](0x1,-0x1):_0x158980[_0x13f963(0x1ce)],_0x177e07[_0x13f963(0x1c1)]={..._0x177e07[_0x13f963(0x1c1)],'Sec-WebSocket-Version':_0x177e07['protocolVersion'],'Sec-WebSocket-Key':_0x22f8dd,'Connection':_0x13f963(0x24d),'Upgrade':_0x13f963(0x2d7)},_0x177e07['path']=_0x158980[_0x13f963(0x323)]+_0x158980[_0x13f963(0x1de)],_0x177e07[_0x13f963(0x256)]=_0x177e07[_0x13f963(0x242)],_0x177e07[_0x13f963(0x23e)]&&(_0x3e81e7=new _0x596b68(_0x177e07[_0x13f963(0x23e)]!==!0x0?_0x177e07[_0x13f963(0x23e)]:{},!0x1,_0x177e07[_0x13f963(0x22f)]),_0x177e07['headers'][_0x13f963(0x319)]=_0x1357f1({[_0x596b68[_0x13f963(0x293)]]:_0x3e81e7[_0x13f963(0x2a1)]()})),_0x56c36b[_0x13f963(0x221)]){for(const _0x3bde28 of _0x56c36b){if(typeof _0x3bde28!=_0x13f963(0x29e)||!_0x677143[_0x13f963(0x294)](_0x3bde28)||_0x1ec802[_0x13f963(0x314)](_0x3bde28))throw new SyntaxError(_0x13f963(0x2fb));_0x1ec802['add'](_0x3bde28);}_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x286)]=_0x56c36b[_0x13f963(0x1bd)](',');}if(_0x177e07['origin']&&(_0x177e07[_0x13f963(0x317)]<0xd?_0x177e07[_0x13f963(0x1c1)][_0x13f963(0x1bc)]=_0x177e07[_0x13f963(0x35a)]:_0x177e07['headers'][_0x13f963(0x2ba)]=_0x177e07[_0x13f963(0x35a)]),(_0x158980[_0x13f963(0x322)]||_0x158980['password'])&&(_0x177e07[_0x13f963(0x340)]=_0x158980[_0x13f963(0x322)]+':'+_0x158980[_0x13f963(0x324)]),_0x5e924a){const _0x2bac00=_0x177e07[_0x13f963(0x312)][_0x13f963(0x30d)](':');_0x177e07['socketPath']=_0x2bac00[0x0],_0x177e07[_0x13f963(0x312)]=_0x2bac00[0x1];}let _0x1d881d;if(_0x177e07[_0x13f963(0x341)]){if(_0x4a04b4[_0x13f963(0x290)]===0x0){_0x4a04b4[_0x13f963(0x21d)]=_0x5e924a,_0x4a04b4['_originalSecure']=_0x598451,_0x4a04b4[_0x13f963(0x33d)]=_0x5e924a?_0x177e07['socketPath']:_0x158980[_0x13f963(0x338)];const _0x57477b=_0x3de0db&&_0x3de0db[_0x13f963(0x1c1)];if(_0x3de0db={..._0x3de0db,'headers':{}},_0x57477b){for(const [_0x1da3aa,_0x1e365a]of Object[_0x13f963(0x307)](_0x57477b))_0x3de0db[_0x13f963(0x1c1)][_0x1da3aa[_0x13f963(0x259)]()]=_0x1e365a;}}else{if(_0x4a04b4[_0x13f963(0x22d)](_0x13f963(0x299))===0x0){const _0x4843cd=_0x5e924a?_0x4a04b4[_0x13f963(0x21d)]?_0x177e07[_0x13f963(0x1fa)]===_0x4a04b4[_0x13f963(0x33d)]:!0x1:_0x4a04b4['_originalIpc']?!0x1:_0x158980[_0x13f963(0x338)]===_0x4a04b4['_originalHostOrSocketPath'];(!_0x4843cd||_0x4a04b4[_0x13f963(0x2eb)]&&!_0x598451)&&(delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x2b1)],delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x20a)],_0x4843cd||delete _0x177e07[_0x13f963(0x1c1)][_0x13f963(0x338)],_0x177e07[_0x13f963(0x340)]=void 0x0);}}_0x177e07[_0x13f963(0x340)]&&!_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]&&(_0x3de0db[_0x13f963(0x1c1)][_0x13f963(0x2b1)]='Basic\x20'+Buffer[_0x13f963(0x330)](_0x177e07['auth'])[_0x13f963(0x304)](_0x13f963(0x358))),_0x1d881d=_0x4a04b4['_req']=_0x3e0e35(_0x177e07),_0x4a04b4[_0x13f963(0x290)]&&_0x4a04b4[_0x13f963(0x2f0)](_0x13f963(0x299),_0x4a04b4[_0x13f963(0x333)],_0x1d881d);}else _0x1d881d=_0x4a04b4[_0x13f963(0x30c)]=_0x3e0e35(_0x177e07);_0x177e07[_0x13f963(0x256)]&&_0x1d881d['on']('timeout',()=>{_0x3e0b74(_0x4a04b4,_0x1d881d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1d881d['on'](_0x13f963(0x238),_0x35bfe4=>{const _0xf2e2ab=_0x13f963;_0x1d881d===null||_0x1d881d[_0x46d3d6]||(_0x1d881d=_0x4a04b4[_0xf2e2ab(0x30c)]=null,_0x4ab463(_0x4a04b4,_0x35bfe4));}),_0x1d881d['on'](_0x13f963(0x32b),_0x21113e=>{const _0x305f2f=_0x13f963,_0x141858=_0x21113e['headers'][_0x305f2f(0x35d)],_0x160dc8=_0x21113e[_0x305f2f(0x212)];if(_0x141858&&_0x177e07['followRedirects']&&_0x160dc8>=0x12c&&_0x160dc8<0x190){if(++_0x4a04b4[_0x305f2f(0x290)]>_0x177e07[_0x305f2f(0x246)]){_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x352));return;}_0x1d881d[_0x305f2f(0x1cf)]();let _0x2543e9;try{_0x2543e9=new _0x35b48a(_0x141858,_0x1a3aa9);}catch{const _0x3e7800=new SyntaxError(_0x305f2f(0x31f)+_0x141858);_0x4ab463(_0x4a04b4,_0x3e7800);return;}_0x2ebd4d(_0x4a04b4,_0x2543e9,_0x56c36b,_0x3de0db);}else _0x4a04b4[_0x305f2f(0x2f0)](_0x305f2f(0x2b2),_0x1d881d,_0x21113e)||_0x3e0b74(_0x4a04b4,_0x1d881d,_0x305f2f(0x344)+_0x21113e[_0x305f2f(0x212)]);}),_0x1d881d['on']('upgrade',(_0x422b57,_0x16c715,_0x282ebe)=>{const _0xd2cb4e=_0x13f963;if(_0x4a04b4[_0xd2cb4e(0x2f0)](_0xd2cb4e(0x1d1),_0x422b57),_0x4a04b4[_0xd2cb4e(0x1f6)]!==_0x3a22ff['CONNECTING'])return;_0x1d881d=_0x4a04b4[_0xd2cb4e(0x30c)]=null;const _0x34141d=_0x422b57[_0xd2cb4e(0x1c1)]['upgrade'];if(_0x34141d===void 0x0||_0x34141d['toLowerCase']()!==_0xd2cb4e(0x2d7)){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1e5));return;}const _0x2fa3d6=_0x4675f2(_0xd2cb4e(0x1c2))['update'](_0x22f8dd+_0x32a1ad)[_0xd2cb4e(0x1dc)](_0xd2cb4e(0x358));if(_0x422b57['headers'][_0xd2cb4e(0x1d5)]!==_0x2fa3d6){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x357));return;}const _0x1c9e92=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x22e)];let _0x3553b9;if(_0x1c9e92!==void 0x0?_0x1ec802[_0xd2cb4e(0x2e7)]?_0x1ec802[_0xd2cb4e(0x314)](_0x1c9e92)||(_0x3553b9='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3553b9=_0xd2cb4e(0x215):_0x1ec802[_0xd2cb4e(0x2e7)]&&(_0x3553b9=_0xd2cb4e(0x208)),_0x3553b9){_0x3e0b74(_0x4a04b4,_0x16c715,_0x3553b9);return;}_0x1c9e92&&(_0x4a04b4[_0xd2cb4e(0x2b3)]=_0x1c9e92);const _0x3f6eb8=_0x422b57[_0xd2cb4e(0x1c1)][_0xd2cb4e(0x2f8)];if(_0x3f6eb8!==void 0x0){if(!_0x3e81e7){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x1c9));return;}let _0x3ff99a;try{_0x3ff99a=_0x8fb446(_0x3f6eb8);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x220));return;}const _0x3e0fa3=Object['keys'](_0x3ff99a);if(_0x3e0fa3['length']!==0x1||_0x3e0fa3[0x0]!==_0x596b68[_0xd2cb4e(0x293)]){_0x3e0b74(_0x4a04b4,_0x16c715,_0xd2cb4e(0x243));return;}try{_0x3e81e7['accept'](_0x3ff99a[_0x596b68[_0xd2cb4e(0x293)]]);}catch{_0x3e0b74(_0x4a04b4,_0x16c715,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4a04b4[_0xd2cb4e(0x1d8)][_0x596b68['extensionName']]=_0x3e81e7;}_0x4a04b4[_0xd2cb4e(0x271)](_0x16c715,_0x282ebe,{'allowSynchronousEvents':_0x177e07[_0xd2cb4e(0x29f)],'generateMask':_0x177e07[_0xd2cb4e(0x2c2)],'maxPayload':_0x177e07[_0xd2cb4e(0x22f)],'skipUTF8Validation':_0x177e07['skipUTF8Validation']});}),_0x177e07['finishRequest']?_0x177e07['finishRequest'](_0x1d881d,_0x4a04b4):_0x1d881d['end']();}function _0x4ab463(_0x57ed1a,_0xc4014){const _0x2e2831=_0x246a76;_0x57ed1a['_readyState']=_0x3a22ff[_0x2e2831(0x334)],_0x57ed1a['_errorEmitted']=!0x0,_0x57ed1a['emit'](_0x2e2831(0x238),_0xc4014),_0x57ed1a[_0x2e2831(0x273)]();}function _0x37e314(_0x4bfd86){const _0x57cbe8=_0x246a76;return _0x4bfd86['path']=_0x4bfd86[_0x57cbe8(0x1fa)],_0x481503[_0x57cbe8(0x1d2)](_0x4bfd86);}function _0x8858be(_0xce6661){const _0x1c06eb=_0x246a76;return _0xce6661[_0x1c06eb(0x312)]=void 0x0,!_0xce6661[_0x1c06eb(0x205)]&&_0xce6661[_0x1c06eb(0x205)]!==''&&(_0xce6661['servername']=_0x481503[_0x1c06eb(0x244)](_0xce6661[_0x1c06eb(0x338)])?'':_0xce6661[_0x1c06eb(0x338)]),_0x16037e[_0x1c06eb(0x1d2)](_0xce6661);}function _0x3e0b74(_0x223caa,_0x4a788e,_0x4834e1){const _0x1c2743=_0x246a76;_0x223caa[_0x1c2743(0x2b9)]=_0x3a22ff[_0x1c2743(0x334)];const _0x138dd3=new Error(_0x4834e1);Error[_0x1c2743(0x326)](_0x138dd3,_0x3e0b74),_0x4a788e[_0x1c2743(0x356)]?(_0x4a788e[_0x46d3d6]=!0x0,_0x4a788e[_0x1c2743(0x1cf)](),_0x4a788e['socket']&&!_0x4a788e[_0x1c2743(0x219)]['destroyed']&&_0x4a788e['socket'][_0x1c2743(0x20e)](),process[_0x1c2743(0x27c)](_0x4ab463,_0x223caa,_0x138dd3)):(_0x4a788e[_0x1c2743(0x20e)](_0x138dd3),_0x4a788e['once'](_0x1c2743(0x238),_0x223caa[_0x1c2743(0x2f0)][_0x1c2743(0x23c)](_0x223caa,'error')),_0x4a788e[_0x1c2743(0x2bf)]('close',_0x223caa[_0x1c2743(0x273)][_0x1c2743(0x23c)](_0x223caa)));}function _0x298b11(_0xb7da21,_0x49bd20,_0x7effc9){const _0x1882a6=_0x246a76;if(_0x49bd20){const _0x23d7db=_0x4da3eb(_0x49bd20)?_0x49bd20['size']:_0x1adaea(_0x49bd20)[_0x1882a6(0x221)];_0xb7da21['_socket']?_0xb7da21[_0x1882a6(0x1fb)]['_bufferedBytes']+=_0x23d7db:_0xb7da21[_0x1882a6(0x25e)]+=_0x23d7db;}if(_0x7effc9){const _0x4b252c=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xb7da21[_0x1882a6(0x1f6)]+'\x20('+_0x149297[_0xb7da21[_0x1882a6(0x1f6)]]+')');process[_0x1882a6(0x27c)](_0x7effc9,_0x4b252c);}}function _0x4ba37a(_0xaf9daf,_0x53df47){const _0x4be95c=_0x246a76,_0x539f31=this[_0x2b3220];_0x539f31[_0x4be95c(0x24b)]=!0x0,_0x539f31[_0x4be95c(0x31b)]=_0x53df47,_0x539f31['_closeCode']=_0xaf9daf,_0x539f31[_0x4be95c(0x1f0)][_0x2b3220]!==void 0x0&&(_0x539f31[_0x4be95c(0x1f0)][_0x4be95c(0x1fe)](_0x4be95c(0x35c),_0x31c0c7),process['nextTick'](_0x38c599,_0x539f31[_0x4be95c(0x1f0)]),_0xaf9daf===0x3ed?_0x539f31[_0x4be95c(0x1c5)]():_0x539f31[_0x4be95c(0x1c5)](_0xaf9daf,_0x53df47));}function _0x1dbceb(){const _0x35d1c3=_0x246a76,_0x1d8217=this[_0x2b3220];_0x1d8217[_0x35d1c3(0x1ed)]||_0x1d8217[_0x35d1c3(0x1f0)]['resume']();}function _0x3903e9(_0x29936e){const _0x226c1b=_0x246a76,_0x5e7f09=this[_0x2b3220];_0x5e7f09[_0x226c1b(0x1f0)][_0x2b3220]!==void 0x0&&(_0x5e7f09[_0x226c1b(0x1f0)][_0x226c1b(0x1fe)]('data',_0x31c0c7),process[_0x226c1b(0x27c)](_0x38c599,_0x5e7f09[_0x226c1b(0x1f0)]),_0x5e7f09[_0x226c1b(0x1c5)](_0x29936e[_0x14219a])),_0x5e7f09['_errorEmitted']||(_0x5e7f09['_errorEmitted']=!0x0,_0x5e7f09[_0x226c1b(0x2f0)](_0x226c1b(0x238),_0x29936e));}function _0x707018(){const _0x446e84=_0x246a76;this[_0x2b3220][_0x446e84(0x273)]();}function _0x7cc3a8(_0x5f346e,_0x39023c){const _0x126606=_0x246a76;this[_0x2b3220][_0x126606(0x2f0)]('message',_0x5f346e,_0x39023c);}function _0xec1676(_0x5bb68f){const _0x53ef04=_0x246a76,_0x265a60=this[_0x2b3220];_0x265a60[_0x53ef04(0x265)]&&_0x265a60[_0x53ef04(0x346)](_0x5bb68f,!this[_0x53ef04(0x2e4)],_0x42b68f),_0x265a60[_0x53ef04(0x2f0)](_0x53ef04(0x2d8),_0x5bb68f);}function _0xb629c3(_0x23678b){const _0x5a127b=_0x246a76;this[_0x2b3220][_0x5a127b(0x2f0)](_0x5a127b(0x346),_0x23678b);}function _0x38c599(_0x33a527){const _0x26319c=_0x246a76;_0x33a527[_0x26319c(0x268)]();}function _0x321b43(_0x1d4b7e){const _0x38f8d5=_0x246a76,_0x1a960c=this[_0x2b3220];_0x1a960c[_0x38f8d5(0x1f6)]!==_0x3a22ff[_0x38f8d5(0x1e4)]&&(_0x1a960c[_0x38f8d5(0x1f6)]===_0x3a22ff['OPEN']&&(_0x1a960c['_readyState']=_0x3a22ff['CLOSING'],_0x14365f(_0x1a960c)),this[_0x38f8d5(0x1f0)]['end'](),_0x1a960c[_0x38f8d5(0x230)]||(_0x1a960c[_0x38f8d5(0x230)]=!0x0,_0x1a960c[_0x38f8d5(0x2f0)]('error',_0x1d4b7e)));}function _0x14365f(_0x3a1ff7){const _0x2d867b=_0x246a76;_0x3a1ff7[_0x2d867b(0x35e)]=setTimeout(_0x3a1ff7[_0x2d867b(0x1f0)][_0x2d867b(0x20e)][_0x2d867b(0x23c)](_0x3a1ff7[_0x2d867b(0x1f0)]),_0x1ad596);}function _0x30b2b9(){const _0x40123c=_0x246a76,_0x596f35=this[_0x2b3220];this[_0x40123c(0x1fe)](_0x40123c(0x1c5),_0x30b2b9),this[_0x40123c(0x1fe)](_0x40123c(0x35c),_0x31c0c7),this[_0x40123c(0x1fe)](_0x40123c(0x1f8),_0x5c6c4e),_0x596f35[_0x40123c(0x2b9)]=_0x3a22ff[_0x40123c(0x334)];let _0x41d397;!this['_readableState'][_0x40123c(0x2b5)]&&!_0x596f35[_0x40123c(0x24b)]&&!_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x204)]&&(_0x41d397=_0x596f35[_0x40123c(0x1f0)][_0x40123c(0x226)]())!==null&&_0x596f35[_0x40123c(0x261)]['write'](_0x41d397),_0x596f35[_0x40123c(0x261)][_0x40123c(0x1f8)](),this[_0x2b3220]=void 0x0,clearTimeout(_0x596f35[_0x40123c(0x35e)]),_0x596f35[_0x40123c(0x261)][_0x40123c(0x222)][_0x40123c(0x1fd)]||_0x596f35[_0x40123c(0x261)]['_writableState'][_0x40123c(0x204)]?_0x596f35[_0x40123c(0x273)]():(_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x238),_0x707018),_0x596f35[_0x40123c(0x261)]['on'](_0x40123c(0x2a7),_0x707018));}function _0x31c0c7(_0x2f8d85){const _0x2cdf2b=_0x246a76;this[_0x2b3220]['_receiver'][_0x2cdf2b(0x23a)](_0x2f8d85)||this[_0x2cdf2b(0x2f3)]();}function _0x5c6c4e(){const _0x371e92=_0x246a76,_0xaf8877=this[_0x2b3220];_0xaf8877[_0x371e92(0x2b9)]=_0x3a22ff['CLOSING'],_0xaf8877[_0x371e92(0x261)][_0x371e92(0x1f8)](),this[_0x371e92(0x1f8)]();}function _0x5e34eb(){const _0x27bd63=_0x246a76,_0x1949a0=this[_0x2b3220];this['removeListener'](_0x27bd63(0x238),_0x5e34eb),this['on'](_0x27bd63(0x238),_0x42b68f),_0x1949a0&&(_0x1949a0['_readyState']=_0x3a22ff['CLOSING'],this[_0x27bd63(0x20e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x292a6f}=_0x3f0855;function _0x4d923e(_0x30bf2a){const _0x5ba66b=_0x5cf4;_0x30bf2a[_0x5ba66b(0x2f0)](_0x5ba66b(0x1c5));}function _0x6677f8(){const _0x233a9a=_0x5cf4;!this[_0x233a9a(0x1e7)]&&this[_0x233a9a(0x222)][_0x233a9a(0x1fd)]&&this[_0x233a9a(0x20e)]();}function _0x17c418(_0x2d4e8c){const _0x5ce000=_0x5cf4;this[_0x5ce000(0x1fe)](_0x5ce000(0x238),_0x17c418),this[_0x5ce000(0x20e)](),this['listenerCount'](_0x5ce000(0x238))===0x0&&this[_0x5ce000(0x2f0)](_0x5ce000(0x238),_0x2d4e8c);}function _0x49ab03(_0x398c39,_0x4560f9){const _0x4d121c=_0x5cf4;let _0x3f850c=!0x0;const _0x2a3b1b=new _0x292a6f({..._0x4560f9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x398c39['on']('message',function(_0x151705,_0x2099ff){const _0x539b6e=_0x5cf4,_0x369b2d=!_0x2099ff&&_0x2a3b1b[_0x539b6e(0x2e8)][_0x539b6e(0x2ce)]?_0x151705[_0x539b6e(0x304)]():_0x151705;_0x2a3b1b[_0x539b6e(0x277)](_0x369b2d)||_0x398c39['pause']();}),_0x398c39[_0x4d121c(0x2bf)]('error',function(_0x54bd25){const _0x73c636=_0x4d121c;_0x2a3b1b[_0x73c636(0x1e7)]||(_0x3f850c=!0x1,_0x2a3b1b[_0x73c636(0x20e)](_0x54bd25));}),_0x398c39['once'](_0x4d121c(0x1c5),function(){const _0x24ba48=_0x4d121c;_0x2a3b1b['destroyed']||_0x2a3b1b[_0x24ba48(0x277)](null);}),_0x2a3b1b[_0x4d121c(0x2c0)]=function(_0x150114,_0x324384){const _0x1faa10=_0x4d121c;if(_0x398c39[_0x1faa10(0x1f6)]===_0x398c39[_0x1faa10(0x1e4)]){_0x324384(_0x150114),process[_0x1faa10(0x27c)](_0x4d923e,_0x2a3b1b);return;}let _0x1ff865=!0x1;_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x238),function(_0x4be125){_0x1ff865=!0x0,_0x324384(_0x4be125);}),_0x398c39[_0x1faa10(0x2bf)](_0x1faa10(0x1c5),function(){const _0x44b52b=_0x1faa10;_0x1ff865||_0x324384(_0x150114),process[_0x44b52b(0x27c)](_0x4d923e,_0x2a3b1b);}),_0x3f850c&&_0x398c39['terminate']();},_0x2a3b1b[_0x4d121c(0x21f)]=function(_0x2aefe1){const _0x807a6b=_0x4d121c;if(_0x398c39[_0x807a6b(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39['once'](_0x807a6b(0x1ca),function(){const _0x5d2ce2=_0x807a6b;_0x2a3b1b[_0x5d2ce2(0x21f)](_0x2aefe1);});return;}_0x398c39[_0x807a6b(0x1f0)]!==null&&(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x222)][_0x807a6b(0x1fd)]?(_0x2aefe1(),_0x2a3b1b[_0x807a6b(0x2e8)][_0x807a6b(0x2b5)]&&_0x2a3b1b[_0x807a6b(0x20e)]()):(_0x398c39[_0x807a6b(0x1f0)][_0x807a6b(0x2bf)](_0x807a6b(0x2a7),function(){_0x2aefe1();}),_0x398c39[_0x807a6b(0x1c5)]()));},_0x2a3b1b[_0x4d121c(0x2de)]=function(){const _0xbba3c8=_0x4d121c;_0x398c39[_0xbba3c8(0x1ed)]&&_0x398c39[_0xbba3c8(0x268)]();},_0x2a3b1b[_0x4d121c(0x315)]=function(_0x198c3b,_0x5f4f8f,_0xe7f28b){const _0x3a0dc9=_0x4d121c;if(_0x398c39[_0x3a0dc9(0x1f6)]===_0x398c39['CONNECTING']){_0x398c39[_0x3a0dc9(0x2bf)]('open',function(){_0x2a3b1b['_write'](_0x198c3b,_0x5f4f8f,_0xe7f28b);});return;}_0x398c39['send'](_0x198c3b,_0xe7f28b);},_0x2a3b1b['on'](_0x4d121c(0x1f8),_0x6677f8),_0x2a3b1b['on']('error',_0x17c418),_0x2a3b1b;}return Oe=_0x49ab03,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x133ac0}=ne();function _0x35ebaf(_0x3e9e7b){const _0x33b500=_0x5cf4,_0x5a6f75=new Set();let _0xa39107=-0x1,_0x50b57c=-0x1,_0x3d8dbb=0x0;for(_0x3d8dbb;_0x3d8dbb<_0x3e9e7b[_0x33b500(0x221)];_0x3d8dbb++){const _0x2477ec=_0x3e9e7b[_0x33b500(0x2e2)](_0x3d8dbb);if(_0x50b57c===-0x1&&_0x133ac0[_0x2477ec]===0x1)_0xa39107===-0x1&&(_0xa39107=_0x3d8dbb);else{if(_0x3d8dbb!==0x0&&(_0x2477ec===0x20||_0x2477ec===0x9))_0x50b57c===-0x1&&_0xa39107!==-0x1&&(_0x50b57c=_0x3d8dbb);else{if(_0x2477ec===0x2c){if(_0xa39107===-0x1)throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);_0x50b57c===-0x1&&(_0x50b57c=_0x3d8dbb);const _0x3a815d=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x50b57c);if(_0x5a6f75[_0x33b500(0x314)](_0x3a815d))throw new SyntaxError('The\x20\x22'+_0x3a815d+_0x33b500(0x2da));_0x5a6f75[_0x33b500(0x2e0)](_0x3a815d),_0xa39107=_0x50b57c=-0x1;}else throw new SyntaxError(_0x33b500(0x1cb)+_0x3d8dbb);}}}if(_0xa39107===-0x1||_0x50b57c!==-0x1)throw new SyntaxError(_0x33b500(0x203));const _0x595cc0=_0x3e9e7b[_0x33b500(0x2c8)](_0xa39107,_0x3d8dbb);if(_0x5a6f75[_0x33b500(0x314)](_0x595cc0))throw new SyntaxError(_0x33b500(0x29b)+_0x595cc0+_0x33b500(0x2da));return _0x5a6f75[_0x33b500(0x2e0)](_0x595cc0),_0x5a6f75;}return Ce={'parse':_0x35ebaf},Ce;}var Te,ot;function er(){const _0x2e8e55=_0x4573dd;if(ot)return Te;ot=0x1;const _0x359f25=_0xc8b08e,_0x407a76=_0x49d0a7,{Duplex:_0x3f03e2}=_0x3f0855,{createHash:_0x387ca5}=_0x1469aa,_0x583ed5=pt(),_0x34f837=he(),_0x3410b0=Jt(),_0x4596b4=Ie(),{GUID:_0x4065a9,kWebSocket:_0x234c73}=V(),_0x2fb4b2=/^[+/0-9A-Za-z]{22}==$/,_0x17d612=0x0,_0x1f2944=0x1,_0x494d7d=0x2;class _0x1f21c5 extends _0x359f25{constructor(_0x5426ab,_0x2d6bf1){const _0x1c820e=_0x5cf4;if(super(),_0x5426ab={'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':_0x4596b4,..._0x5426ab},_0x5426ab[_0x1c820e(0x2dd)]==null&&!_0x5426ab[_0x1c820e(0x206)]&&!_0x5426ab[_0x1c820e(0x292)]||_0x5426ab['port']!=null&&(_0x5426ab[_0x1c820e(0x206)]||_0x5426ab[_0x1c820e(0x292)])||_0x5426ab[_0x1c820e(0x206)]&&_0x5426ab[_0x1c820e(0x292)])throw new TypeError(_0x1c820e(0x2aa));if(_0x5426ab[_0x1c820e(0x2dd)]!=null?(this[_0x1c820e(0x22b)]=_0x407a76[_0x1c820e(0x210)]((_0x56b0c8,_0x17e78b)=>{const _0x147372=_0x1c820e,_0x40fcb8=_0x407a76[_0x147372(0x231)][0x1aa];_0x17e78b['writeHead'](0x1aa,{'Content-Length':_0x40fcb8[_0x147372(0x221)],'Content-Type':'text/plain'}),_0x17e78b['end'](_0x40fcb8);}),this['_server'][_0x1c820e(0x2a5)](_0x5426ab[_0x1c820e(0x2dd)],_0x5426ab[_0x1c820e(0x338)],_0x5426ab['backlog'],_0x2d6bf1)):_0x5426ab[_0x1c820e(0x206)]&&(this[_0x1c820e(0x22b)]=_0x5426ab['server']),this[_0x1c820e(0x22b)]){const _0x1eaadc=this[_0x1c820e(0x2f0)][_0x1c820e(0x23c)](this,_0x1c820e(0x272));this['_removeListeners']=_0x235847(this[_0x1c820e(0x22b)],{'listening':this[_0x1c820e(0x2f0)]['bind'](this,'listening'),'error':this[_0x1c820e(0x2f0)]['bind'](this,_0x1c820e(0x238)),'upgrade':(_0x204e48,_0x1950d3,_0x1511ed)=>{const _0x19877a=_0x1c820e;this[_0x19877a(0x26f)](_0x204e48,_0x1950d3,_0x1511ed,_0x1eaadc);}});}_0x5426ab[_0x1c820e(0x23e)]===!0x0&&(_0x5426ab[_0x1c820e(0x23e)]={}),_0x5426ab[_0x1c820e(0x1ba)]&&(this[_0x1c820e(0x26a)]=new Set(),this[_0x1c820e(0x22a)]=!0x1),this[_0x1c820e(0x35f)]=_0x5426ab,this['_state']=_0x17d612;}['address'](){const _0x4b7e0d=_0x5cf4;if(this[_0x4b7e0d(0x35f)]['noServer'])throw new Error(_0x4b7e0d(0x320));return this['_server']?this[_0x4b7e0d(0x22b)][_0x4b7e0d(0x327)]():null;}['close'](_0x1180bf){const _0x734780=_0x5cf4;if(this[_0x734780(0x337)]===_0x494d7d){_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),()=>{_0x1180bf(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x734780(0x27c)](_0x2da09d,this);return;}if(_0x1180bf&&this[_0x734780(0x2bf)](_0x734780(0x1c5),_0x1180bf),this['_state']!==_0x1f2944){if(this['_state']=_0x1f2944,this[_0x734780(0x35f)][_0x734780(0x292)]||this[_0x734780(0x35f)]['server'])this['_server']&&(this['_removeListeners'](),this[_0x734780(0x2ed)]=this['_server']=null),this[_0x734780(0x26a)]?this[_0x734780(0x26a)][_0x734780(0x2e7)]?this['_shouldEmitClose']=!0x0:process[_0x734780(0x27c)](_0x2da09d,this):process[_0x734780(0x27c)](_0x2da09d,this);else{const _0x1929af=this[_0x734780(0x22b)];this[_0x734780(0x2ed)](),this['_removeListeners']=this[_0x734780(0x22b)]=null,_0x1929af[_0x734780(0x1c5)](()=>{_0x2da09d(this);});}}}[_0x2e8e55(0x342)](_0x269b17){const _0x366845=_0x2e8e55;if(this[_0x366845(0x35f)]['path']){const _0x4d98c6=_0x269b17[_0x366845(0x333)][_0x366845(0x318)]('?');if((_0x4d98c6!==-0x1?_0x269b17[_0x366845(0x333)][_0x366845(0x2c8)](0x0,_0x4d98c6):_0x269b17[_0x366845(0x333)])!==this[_0x366845(0x35f)]['path'])return!0x1;}return!0x0;}[_0x2e8e55(0x26f)](_0x43af72,_0x46232b,_0x2a4aaa,_0x106752){const _0x297083=_0x2e8e55;_0x46232b['on'](_0x297083(0x238),_0x1192fd);const _0x3d7b03=_0x43af72[_0x297083(0x1c1)]['sec-websocket-key'],_0x31715b=_0x43af72[_0x297083(0x1c1)][_0x297083(0x1d1)],_0x356702=+_0x43af72[_0x297083(0x1c1)][_0x297083(0x23f)];if(_0x43af72[_0x297083(0x264)]!==_0x297083(0x276)){_0x4f9532(this,_0x43af72,_0x46232b,0x195,_0x297083(0x281));return;}if(_0x31715b===void 0x0||_0x31715b[_0x297083(0x259)]()!==_0x297083(0x2d7)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x3d7b03===void 0x0||!_0x2fb4b2['test'](_0x3d7b03)){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x241));return;}if(_0x356702!==0xd&&_0x356702!==0x8){_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2a2),{'Sec-WebSocket-Version':_0x297083(0x236)});return;}if(!this[_0x297083(0x342)](_0x43af72)){_0x4f3826(_0x46232b,0x190);return;}const _0x27a676=_0x43af72[_0x297083(0x1c1)][_0x297083(0x22e)];let _0x45b517=new Set();if(_0x27a676!==void 0x0)try{_0x45b517=_0x3410b0['parse'](_0x27a676);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2bb));return;}const _0xecedb6=_0x43af72['headers'][_0x297083(0x2f8)],_0x23f9cc={};if(this[_0x297083(0x35f)]['perMessageDeflate']&&_0xecedb6!==void 0x0){const _0x49a5d0=new _0x34f837(this[_0x297083(0x35f)][_0x297083(0x23e)],!0x0,this[_0x297083(0x35f)][_0x297083(0x22f)]);try{const _0x5f3684=_0x583ed5[_0x297083(0x363)](_0xecedb6);_0x5f3684[_0x34f837[_0x297083(0x293)]]&&(_0x49a5d0['accept'](_0x5f3684[_0x34f837['extensionName']]),_0x23f9cc[_0x34f837[_0x297083(0x293)]]=_0x49a5d0);}catch{_0x4f9532(this,_0x43af72,_0x46232b,0x190,_0x297083(0x2b6));return;}}if(this[_0x297083(0x35f)][_0x297083(0x33b)]){const _0x5a441e={'origin':_0x43af72[_0x297083(0x1c1)][''+(_0x356702===0x8?_0x297083(0x1bb):_0x297083(0x35a))],'secure':!!(_0x43af72[_0x297083(0x219)][_0x297083(0x30a)]||_0x43af72[_0x297083(0x219)][_0x297083(0x30f)]),'req':_0x43af72};if(this[_0x297083(0x35f)][_0x297083(0x33b)][_0x297083(0x221)]===0x2){this['options'][_0x297083(0x33b)](_0x5a441e,(_0x3ccf73,_0x540c3d,_0xba7a1a,_0x540ded)=>{const _0x243d6a=_0x297083;if(!_0x3ccf73)return _0x4f3826(_0x46232b,_0x540c3d||0x191,_0xba7a1a,_0x540ded);this[_0x243d6a(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);});return;}if(!this['options']['verifyClient'](_0x5a441e))return _0x4f3826(_0x46232b,0x191);}this[_0x297083(0x32d)](_0x23f9cc,_0x3d7b03,_0x45b517,_0x43af72,_0x46232b,_0x2a4aaa,_0x106752);}[_0x2e8e55(0x32d)](_0x3d813e,_0x1bbc41,_0x43e990,_0x34b825,_0x256538,_0x22330f,_0x4613d0){const _0x165992=_0x2e8e55;if(!_0x256538[_0x165992(0x288)]||!_0x256538['writable'])return _0x256538[_0x165992(0x20e)]();if(_0x256538[_0x234c73])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x165992(0x337)]>_0x17d612)return _0x4f3826(_0x256538,0x1f7);const _0x17412f=[_0x165992(0x223),'Upgrade:\x20websocket',_0x165992(0x200),_0x165992(0x20c)+_0x387ca5(_0x165992(0x1c2))[_0x165992(0x245)](_0x1bbc41+_0x4065a9)[_0x165992(0x1dc)]('base64')],_0x2f686b=new this['options'][(_0x165992(0x251))](null,void 0x0,this[_0x165992(0x35f)]);if(_0x43e990[_0x165992(0x2e7)]){const _0x1d968a=this[_0x165992(0x35f)][_0x165992(0x1ef)]?this['options'][_0x165992(0x1ef)](_0x43e990,_0x34b825):_0x43e990['values']()[_0x165992(0x2fd)]()[_0x165992(0x1df)];_0x1d968a&&(_0x17412f[_0x165992(0x277)](_0x165992(0x26d)+_0x1d968a),_0x2f686b['_protocol']=_0x1d968a);}if(_0x3d813e[_0x34f837[_0x165992(0x293)]]){const _0x5ee63f=_0x3d813e[_0x34f837[_0x165992(0x293)]][_0x165992(0x2e3)],_0xca3785=_0x583ed5['format']({[_0x34f837[_0x165992(0x293)]]:[_0x5ee63f]});_0x17412f[_0x165992(0x277)](_0x165992(0x28f)+_0xca3785),_0x2f686b[_0x165992(0x1d8)]=_0x3d813e;}this[_0x165992(0x2f0)](_0x165992(0x1c1),_0x17412f,_0x34b825),_0x256538[_0x165992(0x23a)](_0x17412f[_0x165992(0x1c0)]('\x0d\x0a')[_0x165992(0x1bd)]('\x0d\x0a')),_0x256538[_0x165992(0x1fe)](_0x165992(0x238),_0x1192fd),_0x2f686b['setSocket'](_0x256538,_0x22330f,{'allowSynchronousEvents':this[_0x165992(0x35f)]['allowSynchronousEvents'],'maxPayload':this[_0x165992(0x35f)][_0x165992(0x22f)],'skipUTF8Validation':this[_0x165992(0x35f)][_0x165992(0x2c1)]}),this[_0x165992(0x26a)]&&(this[_0x165992(0x26a)][_0x165992(0x2e0)](_0x2f686b),_0x2f686b['on'](_0x165992(0x1c5),()=>{const _0x429cff=_0x165992;this[_0x429cff(0x26a)]['delete'](_0x2f686b),this[_0x429cff(0x22a)]&&!this['clients'][_0x429cff(0x2e7)]&&process[_0x429cff(0x27c)](_0x2da09d,this);})),_0x4613d0(_0x2f686b,_0x34b825);}}Te=_0x1f21c5;function _0x235847(_0x3d0752,_0x27ec80){const _0x5b20a6=_0x2e8e55;for(const _0x4151b9 of Object[_0x5b20a6(0x26b)](_0x27ec80))_0x3d0752['on'](_0x4151b9,_0x27ec80[_0x4151b9]);return function(){for(const _0x1f8ca1 of Object['keys'](_0x27ec80))_0x3d0752['removeListener'](_0x1f8ca1,_0x27ec80[_0x1f8ca1]);};}function _0x2da09d(_0x404da7){const _0x3ac1ed=_0x2e8e55;_0x404da7[_0x3ac1ed(0x337)]=_0x494d7d,_0x404da7['emit'](_0x3ac1ed(0x1c5));}function _0x1192fd(){this['destroy']();}function _0x4f3826(_0x3208fc,_0x1f32b5,_0x1bd065,_0x4886b3){const _0x47fa54=_0x2e8e55;_0x1bd065=_0x1bd065||_0x407a76[_0x47fa54(0x231)][_0x1f32b5],_0x4886b3={'Connection':'close','Content-Type':_0x47fa54(0x22c),'Content-Length':Buffer[_0x47fa54(0x2a8)](_0x1bd065),..._0x4886b3},_0x3208fc['once'](_0x47fa54(0x2a7),_0x3208fc['destroy']),_0x3208fc['end'](_0x47fa54(0x233)+_0x1f32b5+'\x20'+_0x407a76[_0x47fa54(0x231)][_0x1f32b5]+'\x0d\x0a'+Object[_0x47fa54(0x26b)](_0x4886b3)['map'](_0x4c1722=>_0x4c1722+':\x20'+_0x4886b3[_0x4c1722])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1bd065);}function _0x4f9532(_0x1b1a54,_0x3525c3,_0x279087,_0x1fb454,_0x2be650,_0x3a0686){const _0xe41fc4=_0x2e8e55;if(_0x1b1a54['listenerCount']('wsClientError')){const _0x3617ce=new Error(_0x2be650);Error[_0xe41fc4(0x326)](_0x3617ce,_0x4f9532),_0x1b1a54['emit'](_0xe41fc4(0x345),_0x3617ce,_0x279087,_0x3525c3);}else _0x4f3826(_0x279087,_0x1fb454,_0x2be650,_0x3a0686);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4c85d6,_0x45b436,_0xd5c95a,_0xf2704a)=>{for(var _0x264725=_0xf2704a>0x1?void 0x0:_0xf2704a?tr(_0x45b436,_0xd5c95a):_0x45b436,_0x54e7f2=_0x4c85d6['length']-0x1,_0x408b4f;_0x54e7f2>=0x0;_0x54e7f2--)(_0x408b4f=_0x4c85d6[_0x54e7f2])&&(_0x264725=_0x408b4f(_0x264725)||_0x264725);return _0x264725;},sr=(_0x5b0777,_0x2c87c8)=>(_0x42cfc6,_0x3c14a4)=>_0x2c87c8(_0x42cfc6,_0x3c14a4,_0x5b0777);let Ne=class extends _0x45a1d6{constructor(_0x4a5d29){super(),this['_configService']=_0x4a5d29;}['createSocket'](_0x17ef79){const _0x5c7f9a=_0x4573dd;var _0x9178e2;const _0x53189d=(_0x9178e2=this[_0x5c7f9a(0x308)][_0x5c7f9a(0x1b7)](Be))==null?void 0x0:_0x9178e2[_0x5c7f9a(0x227)];try{const _0x2b370f=new Qt(_0x17ef79,{'headers':{..._0x53189d}}),_0x56721f=new _0x1a0095();return{'URL':_0x17ef79,'close':(_0x470c38,_0x592dd0)=>{const _0x1c95c3=_0x5c7f9a;_0x2b370f['close'](_0x470c38,_0x592dd0),_0x56721f[_0x1c95c3(0x270)]();},'send':_0x669500=>{const _0xb89df6=_0x5c7f9a;_0x2b370f[_0xb89df6(0x2f4)](_0x669500);},'open$':new _0x363113(_0x3b6443=>{const _0x48facd=_0x5c7f9a,_0x5f3266=_0x557104=>_0x3b6443[_0x48facd(0x2fd)](_0x557104);_0x2b370f[_0x48facd(0x329)]('open',_0x5f3266),_0x56721f[_0x48facd(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('open',_0x5f3266)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'close$':new _0x363113(_0x121cdb=>{const _0x3af9da=_0x5c7f9a,_0x5d7c65=_0x45dc4d=>_0x121cdb[_0x3af9da(0x2fd)](_0x45dc4d);_0x2b370f[_0x3af9da(0x329)](_0x3af9da(0x1c5),_0x5d7c65),_0x56721f[_0x3af9da(0x2e0)](_0xe543bd(()=>_0x2b370f['removeEventListener']('close',_0x5d7c65)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'error$':new _0x363113(_0x42ba56=>{const _0x5a3ed7=_0x5c7f9a,_0x3bb3e9=_0x362b18=>_0x42ba56[_0x5a3ed7(0x2fd)](_0x362b18);_0x2b370f[_0x5a3ed7(0x329)](_0x5a3ed7(0x238),_0x3bb3e9),_0x56721f[_0x5a3ed7(0x2e0)](_0xe543bd(()=>_0x2b370f[_0x5a3ed7(0x1eb)](_0x5a3ed7(0x238),_0x3bb3e9)));})[_0x5c7f9a(0x2d6)](_0x96221d()),'message$':new _0x363113(_0x483188=>{const _0xba827a=_0x5c7f9a,_0x3ae6f0=_0x1df187=>_0x483188[_0xba827a(0x2fd)](_0x1df187);_0x2b370f[_0xba827a(0x329)](_0xba827a(0x257),_0x3ae6f0),_0x56721f[_0xba827a(0x2e0)](_0xe543bd(()=>_0x2b370f[_0xba827a(0x1eb)](_0xba827a(0x257),_0x3ae6f0)));})[_0x5c7f9a(0x2d6)](_0x96221d())};}catch(_0x1349d7){return console[_0x5c7f9a(0x238)](_0x1349d7),null;}}};Ne=rr([sr(0x0,_0x3d50f1)],Ne);function _0x5cf4(_0x44b32a,_0x11c311){const _0x58db82=_0x58db();return _0x5cf4=function(_0x5cf48e,_0x2488a7){_0x5cf48e=_0x5cf48e-0x1af;let _0x5ca5de=_0x58db82[_0x5cf48e];return _0x5ca5de;},_0x5cf4(_0x44b32a,_0x11c311);}var ir=Object[_0x4573dd(0x2cc)],nr=Object[_0x4573dd(0x25d)],or=(_0x56a5df,_0x53e603,_0x16bce2)=>_0x53e603 in _0x56a5df?ir(_0x56a5df,_0x53e603,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16bce2}):_0x56a5df[_0x53e603]=_0x16bce2,ar=(_0xa33e15,_0x4dfb69,_0x3a3f0c,_0x407348)=>{const _0x103ee8=_0x4573dd;for(var _0x1697ce=_0x407348>0x1?void 0x0:_0x407348?nr(_0x4dfb69,_0x3a3f0c):_0x4dfb69,_0x59cb83=_0xa33e15[_0x103ee8(0x221)]-0x1,_0x15e36b;_0x59cb83>=0x0;_0x59cb83--)(_0x15e36b=_0xa33e15[_0x59cb83])&&(_0x1697ce=_0x15e36b(_0x1697ce)||_0x1697ce);return _0x1697ce;},ke=(_0x2d888d,_0x133db8)=>(_0x40707a,_0x2b4148)=>_0x133db8(_0x40707a,_0x2b4148,_0x2d888d),lr=(_0x2a9dab,_0x42cfee,_0x5cb138)=>or(_0x2a9dab,_0x42cfee+'',_0x5cb138);let Pe=class extends _0x245424{constructor(_0x260829=Ft,_0x438c6a,_0x11c144,_0xe3489d){const _0x4d34a4=_0x4573dd;_0x260829[_0x4d34a4(0x227)]||_0x438c6a[_0x4d34a4(0x335)](_0x4d34a4(0x355)),super(),this['_configService']=_0x11c144,this[_0x4d34a4(0x2e5)]=_0xe3489d,this[_0x4d34a4(0x308)][_0x4d34a4(0x207)](Be,_0x260829);}['onStarting'](){const _0x481541=_0x4573dd;this[_0x481541(0x1ea)]();}['_registerDependencies'](){_0x2cc219(this['_injector'],[[_0x358938,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x4573dd(0x2b8)),Pe=ar([_0x6d079(_0xd2836d),ke(0x1,_0x40ea35),ke(0x2,_0x3d50f1),ke(0x3,_0x399293(_0x590e27))],Pe);var fr=Object[_0x4573dd(0x25d)],cr=(_0xdfca33,_0x2b8ca0,_0x27f619,_0x4d809a)=>{const _0x45219e=_0x4573dd;for(var _0x5ee3d0=_0x4d809a>0x1?void 0x0:_0x4d809a?fr(_0x2b8ca0,_0x27f619):_0x2b8ca0,_0x50b8f2=_0xdfca33[_0x45219e(0x221)]-0x1,_0xefd811;_0x50b8f2>=0x0;_0x50b8f2--)(_0xefd811=_0xdfca33[_0x50b8f2])&&(_0x5ee3d0=_0xefd811(_0x5ee3d0)||_0x5ee3d0);return _0x5ee3d0;},se=(_0x4b954b,_0x2dbc71)=>(_0x301fcb,_0x4ac588)=>_0x2dbc71(_0x301fcb,_0x4ac588,_0x4b954b);let at=class extends _0x54368a{constructor(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3){const _0x28bb40=_0x4573dd;super(_0x47fccb,_0x18d9ec,_0x27e600,_0x3a3344,_0x5849e3);const _0x4f3cea=this[_0x28bb40(0x308)][_0x28bb40(0x1b7)](Be);this['_httpService'][_0x28bb40(0x1d3)]({'interceptor':(_0x5c6f5c,_0x1ed401)=>{const _0x110150=_0x28bb40;var _0x3dfa60;const _0x31289e=_0x5c6f5c['headers'];return(_0x3dfa60=_0x4f3cea==null?void 0x0:_0x4f3cea[_0x110150(0x227)])!=null&&_0x3dfa60[_0x110150(0x20a)]&&_0x31289e[_0x110150(0x1b1)](_0x110150(0x1b6),_0x4f3cea[_0x110150(0x227)][_0x110150(0x20a)]),_0x1ed401(_0x5c6f5c);}});}async[_0x4573dd(0x2c5)](_0x39ac04){const _0x2e3209=_0x4573dd;return this[_0x2e3209(0x362)](_0x39ac04);}};at=cr([se(0x0,_0x399293(_0x590e27)),se(0x1,_0x399293(_0x16d200)),se(0x2,_0x3d50f1),se(0x3,_0x40ea35),se(0x4,_0x7885ea)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|