@univerjs-pro/collaboration-client-node 0.10.6-experimental.20250904-44da50e → 0.10.6-nightly.202509060614
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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x13d6a6=_0x3fa4;(function(_0x1e8593,_0x3e5d7f){const _0x2f7b82=_0x3fa4,_0x4bdb67=_0x1e8593();while(!![]){try{const _0xa1f0a2=parseInt(_0x2f7b82(0x28c))/0x1*(parseInt(_0x2f7b82(0x271))/0x2)+parseInt(_0x2f7b82(0x1e7))/0x3+parseInt(_0x2f7b82(0x27d))/0x4+parseInt(_0x2f7b82(0x208))/0x5+-parseInt(_0x2f7b82(0x2a5))/0x6+-parseInt(_0x2f7b82(0x275))/0x7+-parseInt(_0x2f7b82(0x2d0))/0x8*(parseInt(_0x2f7b82(0x20c))/0x9);if(_0xa1f0a2===_0x3e5d7f)break;else _0x4bdb67['push'](_0x4bdb67['shift']());}catch(_0x490053){_0x4bdb67['push'](_0x4bdb67['shift']());}}}(_0x3a69,0x9a418));import{UniverCollaborationClientPlugin as _0x216d9b,CollaborationSocketService as _0x368881}from'@univerjs-pro/collaboration-client';import{Disposable as _0x32ac33,DisposableCollection as _0x22356f,toDisposable as _0x3e87a1,IConfigService as _0x5ccea2,DependentOn as _0x16f64f,ILogService as _0x1a6ded,Inject as _0x56dec3,Injector as _0x194be3,Plugin as _0x2b5f01,registerDependencies as _0x3164c9}from'@univerjs/core';function _0x3a69(){const _0x2e8390=['shift','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','STATUS_CODES','blob','_allowSynchronousEvents','getPayloadLength64','params','\x20(supported\x20versions:\x20','startsWith','arrayBuffer','noServer','_req','length','Module','_originalSecure','_maxPayload','emitClose','charCodeAt','fragments','number','startLoop','_readableState','warn','ws:','_paused','env','concurrencyLimit','serverNoContextTakeover','maxRedirects','cleanup','_skipUTF8Validation','Server\x20sent\x20no\x20subprotocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pending','removeEventListener','isPaused','Unexpected\x20server\x20response:\x20','dataMessage','_writableState','hostname','server','getInfo','send','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','reason','clients','shouldHandle','split','zlibDeflateOptions','compress','includes','_decompress','createConnection','servername','permessage-deflate','pluginName','_closeTimer','auth','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Connection:\x20Upgrade','consume','data','\x0d\x0a\x0d\x0a','registerHTTPInterceptor','add','readable','normalizeParams','finish','ws+unix:','protocol','_bufferedBytes','type','_httpService','write','CLOSED','http:','server_max_window_bits','isServer','_removeListeners','encrypted','isArray','isInteger','CLOSING','writeUInt16BE','_buffers','buffer','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_ERR_UNEXPECTED_RSV_2_3','_mask','pong','WS_NO_BUFFER_UTIL','allowSynchronousEvents','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','CONNECTING','getConfig','dispose','Invalid\x20URL:\x20','options','dispatch','catch','headers','_protocol','getMask','Sec-WebSocket-Protocol:\x20','kRun','url','text/html','client','pipe','Invalid\x20HTTP\x20method','wss:','_firstFragment','replace','client_max_window_bits','format','search','alloc','maxPayload','_payloadLength','unshift','RSV1\x20must\x20be\x20clear','isValidUTF8','socket','concat','_extensions','_fragments','acceptAsClient','password','onmessage','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','dequeue','WS_ERR_UNEXPECTED_MASK','Server\x20sent\x20an\x20invalid\x20subprotocol','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_maskBuffer','jobs','HTTP/1.1\x20101\x20Switching\x20Protocols','client_no_context_takeover','from','reset','decompress','_injector','isBuffer','invalid\x20payload\x20length\x20','pause','close','WebSocket\x20is\x20not\x20open:\x20readyState\x20','connection','Invalid\x20Sec-WebSocket-Extensions\x20header','set','digest','origin','kReason','wsClientError','_closeMessage','timeout','endEmitted','_options','OPEN','MASK\x20must\x20be\x20clear','errorEmitted','server_no_context_takeover','wasClean','destroy','createServer','_isServer','2818206MeeSuP','listening','entries','setTimeout','error','_configService','_url','__esModule','code','object','threshold','_loop','push','Unknown\x20parameter\x20\x22','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','has','completeUpgrade','WS_ERR_INVALID_OPCODE','Unsupported\x20protocol\x20version:\x20','location','kCode','species','map','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Origin','address','bind','authorized','needDrain','invalid\x20opcode\x20','resume','createInflateRaw','WS_ERR_EXPECTED_FIN','40870CePqkV','Max\x20payload\x20size\x20exceeded','writable','_opcode','751905tTgSXR','addEventListener','writeHead','getBlobData','function','kByteLength','_messageLength','hash','_binaryType','Invalid\x20Sec-WebSocket-Accept\x20header','getData','_shouldEmitClose','cookie','maskBuffer','_masked','hasOwnProperty','construct','captureStackTrace','_fragmented','total-length','_deflate','_read','FIN\x20must\x20be\x20set','_destroy','emit','objectMode','freeze','toLowerCase','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Z_SYNC_FLUSH','clientTracking','collaboration-client-node.config','readUInt32BE','default','offer','_final','_state','_bufferedAmount','apply','listen','_write','once','sec-websocket-origin','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','concurrency','getOwnPropertyDescriptor','invalid\x20UTF-8\x20sequence','_threshold','WS_ERR_INVALID_UTF8','update','abort','The\x20URL\x20contains\x20a\x20fragment\x20identifier','text/plain','terminate','frame','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','find','haveLength','Sec-WebSocket-Extensions','controlMessage','exports','sec-websocket-protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','kAborted','host','verifyClient','_errored','statusCode','base64','socketPath','isView','https:','skipUTF8Validation','sendFrame','_doCreateSocket','value','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','message','_autoPong','_registerDependencies','readyState','path','Maximum\x20redirects\x20exceeded','sec-websocket-extensions','Invalid\x20WebSocket\x20frame:\x20','kMessage','byteOffset','parse','toString','indexOf','_server','_no_context_takeover','end','keys','Unexpected\x20character\x20at\x20index\x20','finished','websocket','backlog','string','createDeflateRaw','readUInt16BE','68pBvyZS','test','generateMask','upgrade','845572WgETVY','enqueue','forEach','createSocket','_readyState','toStringTag','values','bufferedAmount','3187060yxmOSL','handleUpgrade','listenerCount','nextTick','_socket','removeListener','read','accept','WebSocket','pow','sec-websocket-version','_errorEmitted','Sec-WebSocket-Accept:\x20','Invalid\x20value\x20for\x20parameter\x20\x22','_compressed','3635XrewLc','opcode','extensionName','binaryType','redirect','Opening\x20handshake\x20has\x20timed\x20out','extensions','next','unexpected-response','clientNoContextTakeover','method','_compress','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','\x22:\x20','customHeaders','zlibInflateOptions','readOnly','nodebuffer','defineProperty','defaultPort','open','Basic\x20','_sender','create','setHeader','4686738PuZqwx','conclude','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_totalPayloadLength','arraybuffer','_receiver','pathname','ping','_closeFrameReceived','get','port','\x22\x20subprotocol\x20is\x20duplicated','onclose','WS_ERR_EXPECTED_MASK','_queue','status-code','Sec-WebSocket-Protocol','_fin','byteLength','_closeFrameSent','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','perMessageDeflate','username','GET','serverMaxWindowBits','authorization','_originalHostOrSocketPath','invalid\x20status\x20code\x20','onStarting','clientMaxWindowBits','join','flush','writeUIntBE','allocUnsafe','setSocket','setNoDelay','finishRequest','prototype','Upgrade:\x20websocket','createError','followRedirects','getPayloadLength16','32NtNckS','handleEvent','_inflate','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20end\x20of\x20input','rsv1','kListener','target','_closeCode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WS_ERR_INVALID_CLOSE_CODE','kType','listeners','connect','request','Invalid\x20Upgrade\x20header','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','call','size','13,\x208','The\x20\x22','mask','destroyed','_generateMask','slice','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','onerror','protocolVersion','WS_ERR_UNEXPECTED_RSV_1','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','unmask','kDone'];_0x3a69=function(){return _0x2e8390;};return _0x3a69();}import{ISocketService as _0x21bd96,HTTPService as _0x555ed4}from'@univerjs/network';function _0x3fa4(_0x4c399a,_0xac483a){const _0x3a69bb=_0x3a69();return _0x3fa4=function(_0x3fa4fc,_0x38bdac){_0x3fa4fc=_0x3fa4fc-0x152;let _0x2c412e=_0x3a69bb[_0x3fa4fc];return _0x2c412e;},_0x3fa4(_0x4c399a,_0xac483a);}import{Observable as _0xe3e208,share as _0x1381ce}from'rxjs';import _0xad065c from'events';import _0x258f4a from'https';import _0x5f236e from'http';import _0x39c0c6 from'net';import _0x2e7ebe from'tls';import _0x185a77 from'crypto';import _0x551648 from'stream';import _0x48dcb6 from'url';import _0x2480af from'zlib';import _0xe824d from'buffer';import{ISnapshotServerService as _0x48a462}from'@univerjs-pro/collaboration';const Be=_0x13d6a6(0x22b),Ft={'customHeaders':{}};function Wt(_0x594575){const _0x3a994a=_0x13d6a6;return _0x594575&&_0x594575[_0x3a994a(0x1ee)]&&Object[_0x3a994a(0x2cb)][_0x3a994a(0x21b)][_0x3a994a(0x2e1)](_0x594575,_0x3a994a(0x22d))?_0x594575['default']:_0x594575;}function ut(_0x231a46){const _0x127663=_0x13d6a6;if(Object['prototype'][_0x127663(0x21b)]['call'](_0x231a46,_0x127663(0x1ee)))return _0x231a46;var _0x274805=_0x231a46[_0x127663(0x22d)];if(typeof _0x274805==_0x127663(0x210)){var _0x49c91c=function _0x1f84ab(){const _0x46e54b=_0x127663;var _0x84ae11=!0x1;try{_0x84ae11=this instanceof _0x1f84ab;}catch{}return _0x84ae11?Reflect[_0x46e54b(0x21c)](_0x274805,arguments,this['constructor']):_0x274805[_0x46e54b(0x232)](this,arguments);};_0x49c91c[_0x127663(0x2cb)]=_0x274805['prototype'];}else _0x49c91c={};return Object[_0x127663(0x29e)](_0x49c91c,_0x127663(0x1ee),{'value':!0x0}),Object[_0x127663(0x269)](_0x231a46)[_0x127663(0x277)](function(_0x57b8c7){const _0x14d6e7=_0x127663;var _0x3aab05=Object[_0x14d6e7(0x239)](_0x231a46,_0x57b8c7);Object[_0x14d6e7(0x29e)](_0x49c91c,_0x57b8c7,_0x3aab05[_0x14d6e7(0x2af)]?_0x3aab05:{'enumerable':!0x0,'get':function(){return _0x231a46[_0x57b8c7];}});}),_0x49c91c;}var te={'exports':{}},ge,Ye;function V(){const _0x405732=_0x13d6a6;if(Ye)return ge;Ye=0x1;const _0x5b4c17=[_0x405732(0x29d),'arraybuffer',_0x405732(0x302)],_0x309756=typeof Blob<'u';return _0x309756&&_0x5b4c17['push'](_0x405732(0x2f3)),ge={'BINARY_TYPES':_0x5b4c17,'EMPTY_BUFFER':Buffer[_0x405732(0x1b5)](0x0),'GUID':_0x405732(0x298),'hasBlob':_0x309756,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x405732(0x2d6)),'kStatusCode':Symbol(_0x405732(0x2b5)),'kWebSocket':Symbol(_0x405732(0x26c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x13d6a6(0x226)](Object[_0x13d6a6(0x29e)]({'__proto__':null,'default':jt},Symbol[_0x13d6a6(0x27a)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x3d0b6=_0x13d6a6;if(Ke)return te[_0x3d0b6(0x248)];Ke=0x1;const {EMPTY_BUFFER:_0x4ca2ec}=V(),_0x56c90c=Buffer[Symbol[_0x3d0b6(0x1fc)]];function _0x499893(_0x1457ef,_0x2dc26d){const _0x5d178f=_0x3d0b6;if(_0x1457ef['length']===0x0)return _0x4ca2ec;if(_0x1457ef[_0x5d178f(0x2fc)]===0x1)return _0x1457ef[0x0];const _0x37f7dc=Buffer[_0x5d178f(0x2c7)](_0x2dc26d);let _0x1a83a1=0x0;for(let _0x2c212a=0x0;_0x2c212a<_0x1457ef['length'];_0x2c212a++){const _0x565d19=_0x1457ef[_0x2c212a];_0x37f7dc['set'](_0x565d19,_0x1a83a1),_0x1a83a1+=_0x565d19['length'];}return _0x1a83a1<_0x2dc26d?new _0x56c90c(_0x37f7dc['buffer'],_0x37f7dc['byteOffset'],_0x1a83a1):_0x37f7dc;}function _0x272dc8(_0xee76cf,_0x59eb7e,_0x3dad43,_0x14f0ae,_0x593d9c){for(let _0x212080=0x0;_0x212080<_0x593d9c;_0x212080++)_0x3dad43[_0x14f0ae+_0x212080]=_0xee76cf[_0x212080]^_0x59eb7e[_0x212080&0x3];}function _0x475f5c(_0x4cf608,_0x1a397a){const _0x428c2d=_0x3d0b6;for(let _0x1ee54e=0x0;_0x1ee54e<_0x4cf608[_0x428c2d(0x2fc)];_0x1ee54e++)_0x4cf608[_0x1ee54e]^=_0x1a397a[_0x1ee54e&0x3];}function _0x513cd0(_0x196df2){const _0x33f6b9=_0x3d0b6;return _0x196df2[_0x33f6b9(0x2fc)]===_0x196df2[_0x33f6b9(0x196)][_0x33f6b9(0x2b8)]?_0x196df2[_0x33f6b9(0x196)]:_0x196df2[_0x33f6b9(0x196)]['slice'](_0x196df2[_0x33f6b9(0x262)],_0x196df2[_0x33f6b9(0x262)]+_0x196df2[_0x33f6b9(0x2fc)]);}function _0x431083(_0x4ef499){const _0x1fa4d4=_0x3d0b6;if(_0x431083[_0x1fa4d4(0x29c)]=!0x0,Buffer[_0x1fa4d4(0x1cf)](_0x4ef499))return _0x4ef499;let _0x3b6c01;return _0x4ef499 instanceof ArrayBuffer?_0x3b6c01=new _0x56c90c(_0x4ef499):ArrayBuffer[_0x1fa4d4(0x252)](_0x4ef499)?_0x3b6c01=new _0x56c90c(_0x4ef499[_0x1fa4d4(0x196)],_0x4ef499['byteOffset'],_0x4ef499['byteLength']):(_0x3b6c01=Buffer[_0x1fa4d4(0x1cb)](_0x4ef499),_0x431083['readOnly']=!0x1),_0x3b6c01;}if(te['exports']={'concat':_0x499893,'mask':_0x272dc8,'toArrayBuffer':_0x513cd0,'toBuffer':_0x431083,'unmask':_0x475f5c},!process['env'][_0x3d0b6(0x19b)])try{const _0x4a6c2f=Vt;te[_0x3d0b6(0x248)]['mask']=function(_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43){const _0x126988=_0x3d0b6;_0x3d8b43<0x30?_0x272dc8(_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43):_0x4a6c2f[_0x126988(0x2e5)](_0x51fb0c,_0x398536,_0x33dc07,_0x63b772,_0x3d8b43);},te[_0x3d0b6(0x248)]['unmask']=function(_0x574a3b,_0x33a4d5){const _0x23e5cd=_0x3d0b6;_0x574a3b[_0x23e5cd(0x2fc)]<0x20?_0x475f5c(_0x574a3b,_0x33a4d5):_0x4a6c2f[_0x23e5cd(0x2ee)](_0x574a3b,_0x33a4d5);};}catch{}return te[_0x3d0b6(0x248)];}var ye,Xe;function qt(){const _0x203cf7=_0x13d6a6;if(Xe)return ye;Xe=0x1;const _0x30b2b5=Symbol(_0x203cf7(0x2ef)),_0x17f3e0=Symbol(_0x203cf7(0x1a9));class _0x247962{constructor(_0x7b6c78){const _0x306a95=_0x203cf7;this[_0x30b2b5]=()=>{const _0x46ebf4=_0x3fa4;this[_0x46ebf4(0x15f)]--,this[_0x17f3e0]();},this['concurrency']=_0x7b6c78||0x1/0x0,this[_0x306a95(0x1c8)]=[],this[_0x306a95(0x15f)]=0x0;}[_0x203cf7(0x181)](_0x49d737){const _0x1e3a02=_0x203cf7;this['jobs'][_0x1e3a02(0x1f3)](_0x49d737),this[_0x17f3e0]();}[_0x17f3e0](){const _0x1f4501=_0x203cf7;if(this[_0x1f4501(0x15f)]!==this[_0x1f4501(0x238)]&&this['jobs'][_0x1f4501(0x2fc)]){const _0x2b5fad=this['jobs']['shift']();this[_0x1f4501(0x15f)]++,_0x2b5fad(this[_0x30b2b5]);}}}return ye=_0x247962,ye;}var ve,Ze;function he(){const _0x58ba57=_0x13d6a6;if(Ze)return ve;Ze=0x1;const _0x1d2e98=_0x2480af,_0x5506c0=ce(),_0x3161a3=qt(),{kStatusCode:_0x4dd247}=V(),_0x609bfb=Buffer[Symbol[_0x58ba57(0x1fc)]],_0x2cc2ee=Buffer[_0x58ba57(0x1cb)]([0x0,0x0,0xff,0xff]),_0xed36ce=Symbol(_0x58ba57(0x177)),_0x5b7f6b=Symbol(_0x58ba57(0x21f)),_0x4b97e3=Symbol('callback'),_0x4413e2=Symbol('buffers'),_0x5e1f55=Symbol('error');let _0x178200;class _0x501196{constructor(_0x3113a3,_0x5c2446,_0x4ae4a9){const _0x5c0a5d=_0x58ba57;if(this[_0x5c0a5d(0x2ff)]=_0x4ae4a9|0x0,this[_0x5c0a5d(0x1de)]=_0x3113a3||{},this[_0x5c0a5d(0x23b)]=this[_0x5c0a5d(0x1de)][_0x5c0a5d(0x1f1)]!==void 0x0?this['_options']['threshold']:0x400,this[_0x5c0a5d(0x1e6)]=!!_0x5c2446,this['_deflate']=null,this['_inflate']=null,this[_0x5c0a5d(0x2f6)]=null,!_0x178200){const _0x4c728e=this['_options']['concurrencyLimit']!==void 0x0?this[_0x5c0a5d(0x1de)][_0x5c0a5d(0x158)]:0xa;_0x178200=new _0x3161a3(_0x4c728e);}}static get[_0x58ba57(0x28e)](){const _0x31eb0=_0x58ba57;return _0x31eb0(0x177);}[_0x58ba57(0x22e)](){const _0x2a7427=_0x58ba57,_0x2ff638={};return this['_options'][_0x2a7427(0x159)]&&(_0x2ff638['server_no_context_takeover']=!0x0),this[_0x2a7427(0x1de)][_0x2a7427(0x295)]&&(_0x2ff638[_0x2a7427(0x1ca)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2ff638[_0x2a7427(0x18d)]=this[_0x2a7427(0x1de)][_0x2a7427(0x2be)]),this[_0x2a7427(0x1de)][_0x2a7427(0x2c3)]?_0x2ff638[_0x2a7427(0x1b2)]=this[_0x2a7427(0x1de)][_0x2a7427(0x2c3)]:this['_options'][_0x2a7427(0x2c3)]==null&&(_0x2ff638['client_max_window_bits']=!0x0),_0x2ff638;}[_0x58ba57(0x284)](_0xf266e0){const _0x2475dc=_0x58ba57;return _0xf266e0=this['normalizeParams'](_0xf266e0),this[_0x2475dc(0x2f6)]=this[_0x2475dc(0x1e6)]?this['acceptAsServer'](_0xf266e0):this[_0x2475dc(0x1bf)](_0xf266e0),this[_0x2475dc(0x2f6)];}['cleanup'](){const _0x4eb9da=_0x58ba57;if(this[_0x4eb9da(0x2d2)]&&(this[_0x4eb9da(0x2d2)][_0x4eb9da(0x1d2)](),this['_inflate']=null),this[_0x4eb9da(0x220)]){const _0x5d3edf=this[_0x4eb9da(0x220)][_0x4b97e3];this[_0x4eb9da(0x220)]['close'](),this[_0x4eb9da(0x220)]=null,_0x5d3edf&&_0x5d3edf(new Error(_0x4eb9da(0x2e0)));}}['acceptAsServer'](_0x15fee2){const _0x4f05e1=_0x58ba57,_0x100f75=this[_0x4f05e1(0x1de)],_0x4fe765=_0x15fee2[_0x4f05e1(0x244)](_0x396734=>!(_0x100f75[_0x4f05e1(0x159)]===!0x1&&_0x396734[_0x4f05e1(0x1e2)]||_0x396734[_0x4f05e1(0x18d)]&&(_0x100f75['serverMaxWindowBits']===!0x1||typeof _0x100f75[_0x4f05e1(0x2be)]==_0x4f05e1(0x303)&&_0x100f75['serverMaxWindowBits']>_0x396734[_0x4f05e1(0x18d)])||typeof _0x100f75[_0x4f05e1(0x2c3)]=='number'&&!_0x396734[_0x4f05e1(0x1b2)]));if(!_0x4fe765)throw new Error(_0x4f05e1(0x15e));return _0x100f75[_0x4f05e1(0x159)]&&(_0x4fe765[_0x4f05e1(0x1e2)]=!0x0),_0x100f75[_0x4f05e1(0x295)]&&(_0x4fe765[_0x4f05e1(0x1ca)]=!0x0),typeof _0x100f75[_0x4f05e1(0x2be)]==_0x4f05e1(0x303)&&(_0x4fe765[_0x4f05e1(0x18d)]=_0x100f75[_0x4f05e1(0x2be)]),typeof _0x100f75[_0x4f05e1(0x2c3)]=='number'?_0x4fe765[_0x4f05e1(0x1b2)]=_0x100f75[_0x4f05e1(0x2c3)]:(_0x4fe765[_0x4f05e1(0x1b2)]===!0x0||_0x100f75['clientMaxWindowBits']===!0x1)&&delete _0x4fe765['client_max_window_bits'],_0x4fe765;}[_0x58ba57(0x1bf)](_0x17c767){const _0x2602fc=_0x58ba57,_0x3b57e0=_0x17c767[0x0];if(this[_0x2602fc(0x1de)][_0x2602fc(0x295)]===!0x1&&_0x3b57e0['client_no_context_takeover'])throw new Error(_0x2602fc(0x1f5));if(!_0x3b57e0[_0x2602fc(0x1b2)])typeof this[_0x2602fc(0x1de)]['clientMaxWindowBits']==_0x2602fc(0x303)&&(_0x3b57e0[_0x2602fc(0x1b2)]=this[_0x2602fc(0x1de)]['clientMaxWindowBits']);else{if(this[_0x2602fc(0x1de)][_0x2602fc(0x2c3)]===!0x1||typeof this['_options'][_0x2602fc(0x2c3)]==_0x2602fc(0x303)&&_0x3b57e0[_0x2602fc(0x1b2)]>this['_options'][_0x2602fc(0x2c3)])throw new Error(_0x2602fc(0x16a));}return _0x3b57e0;}[_0x58ba57(0x183)](_0x4cb254){return _0x4cb254['forEach'](_0x3e82ba=>{const _0x1214bd=_0x3fa4;Object[_0x1214bd(0x269)](_0x3e82ba)[_0x1214bd(0x277)](_0x11a1d2=>{const _0x2b12a6=_0x1214bd;let _0x58b2b6=_0x3e82ba[_0x11a1d2];if(_0x58b2b6[_0x2b12a6(0x2fc)]>0x1)throw new Error('Parameter\x20\x22'+_0x11a1d2+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x58b2b6=_0x58b2b6[0x0],_0x11a1d2===_0x2b12a6(0x1b2)){if(_0x58b2b6!==!0x0){const _0x49a008=+_0x58b2b6;if(!Number['isInteger'](_0x49a008)||_0x49a008<0x8||_0x49a008>0xf)throw new TypeError(_0x2b12a6(0x28a)+_0x11a1d2+'\x22:\x20'+_0x58b2b6);_0x58b2b6=_0x49a008;}else{if(!this[_0x2b12a6(0x1e6)])throw new TypeError(_0x2b12a6(0x28a)+_0x11a1d2+_0x2b12a6(0x299)+_0x58b2b6);}}else{if(_0x11a1d2===_0x2b12a6(0x18d)){const _0x4c74cb=+_0x58b2b6;if(!Number[_0x2b12a6(0x192)](_0x4c74cb)||_0x4c74cb<0x8||_0x4c74cb>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x11a1d2+'\x22:\x20'+_0x58b2b6);_0x58b2b6=_0x4c74cb;}else{if(_0x11a1d2===_0x2b12a6(0x1ca)||_0x11a1d2===_0x2b12a6(0x1e2)){if(_0x58b2b6!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x11a1d2+_0x2b12a6(0x299)+_0x58b2b6);}else throw new Error(_0x2b12a6(0x1f4)+_0x11a1d2+'\x22');}}_0x3e82ba[_0x11a1d2]=_0x58b2b6;});}),_0x4cb254;}['decompress'](_0x2384b4,_0x44af72,_0x2a983a){const _0x517ac6=_0x58ba57;_0x178200[_0x517ac6(0x181)](_0x200eb1=>{const _0x41e586=_0x517ac6;this[_0x41e586(0x174)](_0x2384b4,_0x44af72,(_0x34519c,_0x33fac7)=>{_0x200eb1(),_0x2a983a(_0x34519c,_0x33fac7);});});}[_0x58ba57(0x172)](_0x21eef5,_0x2e11c0,_0x31d691){const _0x3cdb9d=_0x58ba57;_0x178200[_0x3cdb9d(0x181)](_0x424b9c=>{const _0x3d38bd=_0x3cdb9d;this[_0x3d38bd(0x297)](_0x21eef5,_0x2e11c0,(_0x3a893e,_0xe80172)=>{_0x424b9c(),_0x31d691(_0x3a893e,_0xe80172);});});}[_0x58ba57(0x174)](_0x2901e9,_0x1eedf9,_0x4df8e6){const _0x550e21=_0x58ba57,_0x1e3229=this[_0x550e21(0x1e6)]?'client':_0x550e21(0x166);if(!this['_inflate']){const _0x4dc623=_0x1e3229+'_max_window_bits',_0xec2b5=typeof this[_0x550e21(0x2f6)][_0x4dc623]!=_0x550e21(0x303)?_0x1d2e98['Z_DEFAULT_WINDOWBITS']:this[_0x550e21(0x2f6)][_0x4dc623];this[_0x550e21(0x2d2)]=_0x1d2e98[_0x550e21(0x206)]({...this[_0x550e21(0x1de)][_0x550e21(0x29b)],'windowBits':_0xec2b5}),this[_0x550e21(0x2d2)][_0xed36ce]=this,this[_0x550e21(0x2d2)][_0x5b7f6b]=0x0,this[_0x550e21(0x2d2)][_0x4413e2]=[],this['_inflate']['on'](_0x550e21(0x1eb),_0x27c771),this[_0x550e21(0x2d2)]['on'](_0x550e21(0x17e),_0x33b6c8);}this[_0x550e21(0x2d2)][_0x4b97e3]=_0x4df8e6,this['_inflate'][_0x550e21(0x18a)](_0x2901e9),_0x1eedf9&&this[_0x550e21(0x2d2)][_0x550e21(0x18a)](_0x2cc2ee),this[_0x550e21(0x2d2)][_0x550e21(0x2c5)](()=>{const _0x128980=_0x550e21,_0x57a844=this[_0x128980(0x2d2)][_0x5e1f55];if(_0x57a844){this[_0x128980(0x2d2)][_0x128980(0x1d2)](),this[_0x128980(0x2d2)]=null,_0x4df8e6(_0x57a844);return;}const _0x23c5cc=_0x5506c0[_0x128980(0x1bc)](this['_inflate'][_0x4413e2],this[_0x128980(0x2d2)][_0x5b7f6b]);this[_0x128980(0x2d2)]['_readableState'][_0x128980(0x1dd)]?(this[_0x128980(0x2d2)]['close'](),this[_0x128980(0x2d2)]=null):(this[_0x128980(0x2d2)][_0x5b7f6b]=0x0,this[_0x128980(0x2d2)][_0x4413e2]=[],_0x1eedf9&&this[_0x128980(0x2f6)][_0x1e3229+_0x128980(0x267)]&&this[_0x128980(0x2d2)]['reset']()),_0x4df8e6(null,_0x23c5cc);});}[_0x58ba57(0x297)](_0x516af9,_0x404a9b,_0x30263f){const _0x1a63c0=_0x58ba57,_0x447bb8=this[_0x1a63c0(0x1e6)]?_0x1a63c0(0x166):_0x1a63c0(0x1ac);if(!this[_0x1a63c0(0x220)]){const _0x125994=_0x447bb8+'_max_window_bits',_0x234ae7=typeof this[_0x1a63c0(0x2f6)][_0x125994]!='number'?_0x1d2e98[_0x1a63c0(0x2a7)]:this[_0x1a63c0(0x2f6)][_0x125994];this[_0x1a63c0(0x220)]=_0x1d2e98[_0x1a63c0(0x26f)]({...this[_0x1a63c0(0x1de)][_0x1a63c0(0x171)],'windowBits':_0x234ae7}),this['_deflate'][_0x5b7f6b]=0x0,this[_0x1a63c0(0x220)][_0x4413e2]=[],this[_0x1a63c0(0x220)]['on'](_0x1a63c0(0x17e),_0x1799df);}this['_deflate'][_0x4b97e3]=_0x30263f,this[_0x1a63c0(0x220)]['write'](_0x516af9),this[_0x1a63c0(0x220)][_0x1a63c0(0x2c5)](_0x1d2e98[_0x1a63c0(0x229)],()=>{const _0x4f893a=_0x1a63c0;if(!this[_0x4f893a(0x220)])return;let _0x3ec43a=_0x5506c0['concat'](this['_deflate'][_0x4413e2],this[_0x4f893a(0x220)][_0x5b7f6b]);_0x404a9b&&(_0x3ec43a=new _0x609bfb(_0x3ec43a[_0x4f893a(0x196)],_0x3ec43a['byteOffset'],_0x3ec43a[_0x4f893a(0x2fc)]-0x4)),this[_0x4f893a(0x220)][_0x4b97e3]=null,this[_0x4f893a(0x220)][_0x5b7f6b]=0x0,this['_deflate'][_0x4413e2]=[],_0x404a9b&&this[_0x4f893a(0x2f6)][_0x447bb8+_0x4f893a(0x267)]&&this[_0x4f893a(0x220)][_0x4f893a(0x1cc)](),_0x30263f(null,_0x3ec43a);});}}ve=_0x501196;function _0x1799df(_0x56eb16){const _0x180a27=_0x58ba57;this[_0x4413e2][_0x180a27(0x1f3)](_0x56eb16),this[_0x5b7f6b]+=_0x56eb16['length'];}function _0x33b6c8(_0x11b20c){const _0x49cbcd=_0x58ba57;if(this[_0x5b7f6b]+=_0x11b20c[_0x49cbcd(0x2fc)],this[_0xed36ce][_0x49cbcd(0x2ff)]<0x1||this[_0x5b7f6b]<=this[_0xed36ce]['_maxPayload']){this[_0x4413e2][_0x49cbcd(0x1f3)](_0x11b20c);return;}this[_0x5e1f55]=new RangeError(_0x49cbcd(0x209)),this[_0x5e1f55]['code']=_0x49cbcd(0x1c2),this[_0x5e1f55][_0x4dd247]=0x3f1,this[_0x49cbcd(0x282)](_0x49cbcd(0x17e),_0x33b6c8),this['reset']();}function _0x27c771(_0x165865){const _0x1ad0e7=_0x58ba57;if(this[_0xed36ce][_0x1ad0e7(0x2d2)]=null,this[_0x5e1f55]){this[_0x4b97e3](this[_0x5e1f55]);return;}_0x165865[_0x4dd247]=0x3ef,this[_0x4b97e3](_0x165865);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x13d6a6(0x226)](Object[_0x13d6a6(0x29e)]({'__proto__':null,'default':Ht},Symbol[_0x13d6a6(0x27a)],{'value':_0x13d6a6(0x2fd)})),Yt=ut(zt);var Qe;function ne(){const _0x429cab=_0x13d6a6;if(Qe)return re[_0x429cab(0x248)];Qe=0x1;const {isUtf8:_0xb68fcc}=_0xe824d,{hasBlob:_0x2415ff}=V(),_0xb15be1=[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 _0x4f735e(_0x3db2cc){return _0x3db2cc>=0x3e8&&_0x3db2cc<=0x3f6&&_0x3db2cc!==0x3ec&&_0x3db2cc!==0x3ed&&_0x3db2cc!==0x3ee||_0x3db2cc>=0xbb8&&_0x3db2cc<=0x1387;}function _0x292b10(_0x80b1ee){const _0xa4562e=_0x429cab,_0x568736=_0x80b1ee[_0xa4562e(0x2fc)];let _0x2cfce4=0x0;for(;_0x2cfce4<_0x568736;)if((_0x80b1ee[_0x2cfce4]&0x80)===0x0)_0x2cfce4++;else{if((_0x80b1ee[_0x2cfce4]&0xe0)===0xc0){if(_0x2cfce4+0x1===_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4]&0xfe)===0xc0)return!0x1;_0x2cfce4+=0x2;}else{if((_0x80b1ee[_0x2cfce4]&0xf0)===0xe0){if(_0x2cfce4+0x2>=_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x2]&0xc0)!==0x80||_0x80b1ee[_0x2cfce4]===0xe0&&(_0x80b1ee[_0x2cfce4+0x1]&0xe0)===0x80||_0x80b1ee[_0x2cfce4]===0xed&&(_0x80b1ee[_0x2cfce4+0x1]&0xe0)===0xa0)return!0x1;_0x2cfce4+=0x3;}else{if((_0x80b1ee[_0x2cfce4]&0xf8)===0xf0){if(_0x2cfce4+0x3>=_0x568736||(_0x80b1ee[_0x2cfce4+0x1]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x2]&0xc0)!==0x80||(_0x80b1ee[_0x2cfce4+0x3]&0xc0)!==0x80||_0x80b1ee[_0x2cfce4]===0xf0&&(_0x80b1ee[_0x2cfce4+0x1]&0xf0)===0x80||_0x80b1ee[_0x2cfce4]===0xf4&&_0x80b1ee[_0x2cfce4+0x1]>0x8f||_0x80b1ee[_0x2cfce4]>0xf4)return!0x1;_0x2cfce4+=0x4;}else return!0x1;}}}return!0x0;}function _0x184d42(_0x4bbd6d){const _0x499c09=_0x429cab;return _0x2415ff&&typeof _0x4bbd6d==_0x499c09(0x1f0)&&typeof _0x4bbd6d[_0x499c09(0x2f9)]==_0x499c09(0x210)&&typeof _0x4bbd6d[_0x499c09(0x188)]=='string'&&typeof _0x4bbd6d['stream']==_0x499c09(0x210)&&(_0x4bbd6d[Symbol['toStringTag']]==='Blob'||_0x4bbd6d[Symbol['toStringTag']]==='File');}if(re[_0x429cab(0x248)]={'isBlob':_0x184d42,'isValidStatusCode':_0x4f735e,'isValidUTF8':_0x292b10,'tokenChars':_0xb15be1},_0xb68fcc)re[_0x429cab(0x248)][_0x429cab(0x1ba)]=function(_0x46b8bb){const _0x2c3b71=_0x429cab;return _0x46b8bb[_0x2c3b71(0x2fc)]<0x18?_0x292b10(_0x46b8bb):_0xb68fcc(_0x46b8bb);};else{if(!process[_0x429cab(0x157)]['WS_NO_UTF_8_VALIDATE'])try{const _0x174084=Yt;re['exports'][_0x429cab(0x1ba)]=function(_0x3ecee3){const _0x598837=_0x429cab;return _0x3ecee3[_0x598837(0x2fc)]<0x20?_0x292b10(_0x3ecee3):_0x174084(_0x3ecee3);};}catch{}}return re[_0x429cab(0x248)];}var Se,Je;function dt(){const _0x2148ae=_0x13d6a6;if(Je)return Se;Je=0x1;const {Writable:_0x4b3ac2}=_0x551648,_0x534fff=he(),{BINARY_TYPES:_0x41b1c9,EMPTY_BUFFER:_0x497927,kStatusCode:_0x3c537a,kWebSocket:_0x4492ae}=V(),{concat:_0x43bd49,toArrayBuffer:_0x21037a,unmask:_0x53f5ec}=ce(),{isValidStatusCode:_0x21babd,isValidUTF8:_0x559334}=ne(),_0x430dbc=Buffer[Symbol[_0x2148ae(0x1fc)]],_0x22b5ec=0x0,_0x59d626=0x1,_0x32728d=0x2,_0x47e0d9=0x3,_0x280887=0x4,_0x47b194=0x5,_0x71fc80=0x6;class _0x1a6ef0 extends _0x4b3ac2{constructor(_0x1b51cc={}){const _0xb521f2=_0x2148ae;super(),this[_0xb521f2(0x2f4)]=_0x1b51cc[_0xb521f2(0x19c)]!==void 0x0?_0x1b51cc['allowSynchronousEvents']:!0x0,this[_0xb521f2(0x214)]=_0x1b51cc['binaryType']||_0x41b1c9[0x0],this[_0xb521f2(0x1bd)]=_0x1b51cc[_0xb521f2(0x292)]||{},this['_isServer']=!!_0x1b51cc[_0xb521f2(0x18e)],this['_maxPayload']=_0x1b51cc['maxPayload']|0x0,this[_0xb521f2(0x15c)]=!!_0x1b51cc[_0xb521f2(0x254)],this[_0x4492ae]=void 0x0,this['_bufferedBytes']=0x0,this[_0xb521f2(0x195)]=[],this[_0xb521f2(0x28b)]=!0x1,this[_0xb521f2(0x1b7)]=0x0,this['_mask']=void 0x0,this[_0xb521f2(0x21e)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0xb521f2(0x20b)]=0x0,this[_0xb521f2(0x2a9)]=0x0,this[_0xb521f2(0x212)]=0x0,this[_0xb521f2(0x1be)]=[],this[_0xb521f2(0x24e)]=!0x1,this[_0xb521f2(0x1f2)]=!0x1,this[_0xb521f2(0x230)]=_0x22b5ec;}['_write'](_0x377be7,_0x2b67f4,_0x129f4b){const _0x3e3dee=_0x2148ae;if(this[_0x3e3dee(0x20b)]===0x8&&this[_0x3e3dee(0x230)]==_0x22b5ec)return _0x129f4b();this['_bufferedBytes']+=_0x377be7[_0x3e3dee(0x2fc)],this['_buffers']['push'](_0x377be7),this['startLoop'](_0x129f4b);}[_0x2148ae(0x17d)](_0x39f6e2){const _0x1ab5e0=_0x2148ae;if(this[_0x1ab5e0(0x187)]-=_0x39f6e2,_0x39f6e2===this[_0x1ab5e0(0x195)][0x0]['length'])return this[_0x1ab5e0(0x195)][_0x1ab5e0(0x2f0)]();if(_0x39f6e2<this['_buffers'][0x0][_0x1ab5e0(0x2fc)]){const _0x64cda0=this[_0x1ab5e0(0x195)][0x0];return this[_0x1ab5e0(0x195)][0x0]=new _0x430dbc(_0x64cda0[_0x1ab5e0(0x196)],_0x64cda0['byteOffset']+_0x39f6e2,_0x64cda0['length']-_0x39f6e2),new _0x430dbc(_0x64cda0['buffer'],_0x64cda0[_0x1ab5e0(0x262)],_0x39f6e2);}const _0xd59ba9=Buffer['allocUnsafe'](_0x39f6e2);do{const _0x2ce4b8=this[_0x1ab5e0(0x195)][0x0],_0x12b253=_0xd59ba9['length']-_0x39f6e2;_0x39f6e2>=_0x2ce4b8[_0x1ab5e0(0x2fc)]?_0xd59ba9[_0x1ab5e0(0x1d6)](this[_0x1ab5e0(0x195)][_0x1ab5e0(0x2f0)](),_0x12b253):(_0xd59ba9[_0x1ab5e0(0x1d6)](new Uint8Array(_0x2ce4b8['buffer'],_0x2ce4b8[_0x1ab5e0(0x262)],_0x39f6e2),_0x12b253),this[_0x1ab5e0(0x195)][0x0]=new _0x430dbc(_0x2ce4b8[_0x1ab5e0(0x196)],_0x2ce4b8[_0x1ab5e0(0x262)]+_0x39f6e2,_0x2ce4b8[_0x1ab5e0(0x2fc)]-_0x39f6e2)),_0x39f6e2-=_0x2ce4b8[_0x1ab5e0(0x2fc)];}while(_0x39f6e2>0x0);return _0xd59ba9;}[_0x2148ae(0x152)](_0x3800a1){const _0x291791=_0x2148ae;this['_loop']=!0x0;do switch(this[_0x291791(0x230)]){case _0x22b5ec:this[_0x291791(0x167)](_0x3800a1);break;case _0x59d626:this[_0x291791(0x2cf)](_0x3800a1);break;case _0x32728d:this[_0x291791(0x2f5)](_0x3800a1);break;case _0x47e0d9:this[_0x291791(0x1a7)]();break;case _0x280887:this[_0x291791(0x216)](_0x3800a1);break;case _0x47b194:case _0x71fc80:this['_loop']=!0x1;return;}while(this[_0x291791(0x1f2)]);this['_errored']||_0x3800a1();}[_0x2148ae(0x167)](_0x2fd277){const _0xd7ae5d=_0x2148ae;if(this[_0xd7ae5d(0x187)]<0x2){this['_loop']=!0x1;return;}const _0x3cfa95=this['consume'](0x2);if((_0x3cfa95[0x0]&0x30)!==0x0){const _0x3e168b=this['createError'](RangeError,_0xd7ae5d(0x19d),!0x0,0x3ea,_0xd7ae5d(0x198));_0x2fd277(_0x3e168b);return;}const _0x33424d=(_0x3cfa95[0x0]&0x40)===0x40;if(_0x33424d&&!this['_extensions'][_0x534fff[_0xd7ae5d(0x28e)]]){const _0x440051=this['createError'](RangeError,_0xd7ae5d(0x1b9),!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x440051);return;}if(this[_0xd7ae5d(0x2b7)]=(_0x3cfa95[0x0]&0x80)===0x80,this[_0xd7ae5d(0x20b)]=_0x3cfa95[0x0]&0xf,this[_0xd7ae5d(0x1b7)]=_0x3cfa95[0x1]&0x7f,this[_0xd7ae5d(0x20b)]===0x0){if(_0x33424d){const _0x2c69ff=this['createError'](RangeError,_0xd7ae5d(0x1b9),!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x2c69ff);return;}if(!this[_0xd7ae5d(0x21e)]){const _0x2b8c44=this[_0xd7ae5d(0x2cd)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2b8c44);return;}this[_0xd7ae5d(0x20b)]=this[_0xd7ae5d(0x21e)];}else{if(this['_opcode']===0x1||this[_0xd7ae5d(0x20b)]===0x2){if(this[_0xd7ae5d(0x21e)]){const _0x2d00c3=this[_0xd7ae5d(0x2cd)](RangeError,_0xd7ae5d(0x204)+this[_0xd7ae5d(0x20b)],!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2d00c3);return;}this[_0xd7ae5d(0x28b)]=_0x33424d;}else{if(this[_0xd7ae5d(0x20b)]>0x7&&this[_0xd7ae5d(0x20b)]<0xb){if(!this[_0xd7ae5d(0x2b7)]){const _0x506bf3=this[_0xd7ae5d(0x2cd)](RangeError,_0xd7ae5d(0x222),!0x0,0x3ea,_0xd7ae5d(0x207));_0x2fd277(_0x506bf3);return;}if(_0x33424d){const _0x46aa2f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0xd7ae5d(0x2ec));_0x2fd277(_0x46aa2f);return;}if(this[_0xd7ae5d(0x1b7)]>0x7d||this[_0xd7ae5d(0x20b)]===0x8&&this[_0xd7ae5d(0x1b7)]===0x1){const _0x451ff0=this['createError'](RangeError,_0xd7ae5d(0x1d0)+this[_0xd7ae5d(0x1b7)],!0x0,0x3ea,_0xd7ae5d(0x2ba));_0x2fd277(_0x451ff0);return;}}else{const _0x2c3f2a=this['createError'](RangeError,_0xd7ae5d(0x204)+this[_0xd7ae5d(0x20b)],!0x0,0x3ea,_0xd7ae5d(0x1f8));_0x2fd277(_0x2c3f2a);return;}}}if(!this[_0xd7ae5d(0x2b7)]&&!this[_0xd7ae5d(0x21e)]&&(this[_0xd7ae5d(0x21e)]=this[_0xd7ae5d(0x20b)]),this[_0xd7ae5d(0x21a)]=(_0x3cfa95[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0xd7ae5d(0x21a)]){const _0x30c224=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0xd7ae5d(0x2b3));_0x2fd277(_0x30c224);return;}}else{if(this[_0xd7ae5d(0x21a)]){const _0x11d6cd=this['createError'](RangeError,_0xd7ae5d(0x1e0),!0x0,0x3ea,_0xd7ae5d(0x1c4));_0x2fd277(_0x11d6cd);return;}}this['_payloadLength']===0x7e?this[_0xd7ae5d(0x230)]=_0x59d626:this[_0xd7ae5d(0x1b7)]===0x7f?this[_0xd7ae5d(0x230)]=_0x32728d:this['haveLength'](_0x2fd277);}['getPayloadLength16'](_0x3a9783){const _0x468f6b=_0x2148ae;if(this[_0x468f6b(0x187)]<0x2){this[_0x468f6b(0x1f2)]=!0x1;return;}this[_0x468f6b(0x1b7)]=this[_0x468f6b(0x17d)](0x2)['readUInt16BE'](0x0),this[_0x468f6b(0x245)](_0x3a9783);}[_0x2148ae(0x2f5)](_0x4e34c7){const _0x63ce71=_0x2148ae;if(this['_bufferedBytes']<0x8){this[_0x63ce71(0x1f2)]=!0x1;return;}const _0x17b381=this['consume'](0x8),_0x29a798=_0x17b381[_0x63ce71(0x22c)](0x0);if(_0x29a798>Math['pow'](0x2,0x15)-0x1){const _0x59b194=this[_0x63ce71(0x2cd)](RangeError,_0x63ce71(0x243),!0x1,0x3f1,_0x63ce71(0x258));_0x4e34c7(_0x59b194);return;}this[_0x63ce71(0x1b7)]=_0x29a798*Math[_0x63ce71(0x286)](0x2,0x20)+_0x17b381[_0x63ce71(0x22c)](0x4),this[_0x63ce71(0x245)](_0x4e34c7);}[_0x2148ae(0x245)](_0x17a39b){const _0x2a9fe9=_0x2148ae;if(this[_0x2a9fe9(0x1b7)]&&this['_opcode']<0x8&&(this[_0x2a9fe9(0x2a9)]+=this[_0x2a9fe9(0x1b7)],this[_0x2a9fe9(0x2a9)]>this[_0x2a9fe9(0x2ff)]&&this[_0x2a9fe9(0x2ff)]>0x0)){const _0x3bbe28=this[_0x2a9fe9(0x2cd)](RangeError,_0x2a9fe9(0x209),!0x1,0x3f1,_0x2a9fe9(0x1c2));_0x17a39b(_0x3bbe28);return;}this['_masked']?this[_0x2a9fe9(0x230)]=_0x47e0d9:this[_0x2a9fe9(0x230)]=_0x280887;}[_0x2148ae(0x1a7)](){const _0x3c588a=_0x2148ae;if(this[_0x3c588a(0x187)]<0x4){this['_loop']=!0x1;return;}this[_0x3c588a(0x199)]=this[_0x3c588a(0x17d)](0x4),this['_state']=_0x280887;}[_0x2148ae(0x216)](_0x3ea1a3){const _0x180d5b=_0x2148ae;let _0x5811a4=_0x497927;if(this[_0x180d5b(0x1b7)]){if(this['_bufferedBytes']<this[_0x180d5b(0x1b7)]){this[_0x180d5b(0x1f2)]=!0x1;return;}_0x5811a4=this['consume'](this[_0x180d5b(0x1b7)]),this[_0x180d5b(0x21a)]&&(this[_0x180d5b(0x199)][0x0]|this['_mask'][0x1]|this[_0x180d5b(0x199)][0x2]|this[_0x180d5b(0x199)][0x3])!==0x0&&_0x53f5ec(_0x5811a4,this[_0x180d5b(0x199)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x5811a4,_0x3ea1a3);return;}if(this[_0x180d5b(0x28b)]){this[_0x180d5b(0x230)]=_0x47b194,this[_0x180d5b(0x1cd)](_0x5811a4,_0x3ea1a3);return;}_0x5811a4[_0x180d5b(0x2fc)]&&(this['_messageLength']=this['_totalPayloadLength'],this['_fragments'][_0x180d5b(0x1f3)](_0x5811a4)),this[_0x180d5b(0x163)](_0x3ea1a3);}[_0x2148ae(0x1cd)](_0x32d513,_0x303efe){const _0x4214ca=_0x2148ae;this[_0x4214ca(0x1bd)][_0x534fff[_0x4214ca(0x28e)]][_0x4214ca(0x1cd)](_0x32d513,this[_0x4214ca(0x2b7)],(_0x13e1d7,_0x4d1354)=>{const _0x308950=_0x4214ca;if(_0x13e1d7)return _0x303efe(_0x13e1d7);if(_0x4d1354[_0x308950(0x2fc)]){if(this[_0x308950(0x212)]+=_0x4d1354[_0x308950(0x2fc)],this[_0x308950(0x212)]>this[_0x308950(0x2ff)]&&this[_0x308950(0x2ff)]>0x0){const _0x4c6b0c=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x303efe(_0x4c6b0c);return;}this[_0x308950(0x1be)]['push'](_0x4d1354);}this['dataMessage'](_0x303efe),this['_state']===_0x22b5ec&&this['startLoop'](_0x303efe);});}[_0x2148ae(0x163)](_0x217b85){const _0x2f9ce9=_0x2148ae;if(!this[_0x2f9ce9(0x2b7)]){this['_state']=_0x22b5ec;return;}const _0x5aaa96=this[_0x2f9ce9(0x212)],_0x409ab0=this[_0x2f9ce9(0x1be)];if(this[_0x2f9ce9(0x2a9)]=0x0,this[_0x2f9ce9(0x212)]=0x0,this[_0x2f9ce9(0x21e)]=0x0,this[_0x2f9ce9(0x1be)]=[],this['_opcode']===0x2){let _0x1e673b;this[_0x2f9ce9(0x214)]===_0x2f9ce9(0x29d)?_0x1e673b=_0x43bd49(_0x409ab0,_0x5aaa96):this[_0x2f9ce9(0x214)]===_0x2f9ce9(0x2aa)?_0x1e673b=_0x21037a(_0x43bd49(_0x409ab0,_0x5aaa96)):this['_binaryType']===_0x2f9ce9(0x2f3)?_0x1e673b=new Blob(_0x409ab0):_0x1e673b=_0x409ab0,this[_0x2f9ce9(0x2f4)]?(this[_0x2f9ce9(0x224)](_0x2f9ce9(0x259),_0x1e673b,!0x0),this[_0x2f9ce9(0x230)]=_0x22b5ec):(this[_0x2f9ce9(0x230)]=_0x71fc80,setImmediate(()=>{const _0x213c1c=_0x2f9ce9;this['emit'](_0x213c1c(0x259),_0x1e673b,!0x0),this[_0x213c1c(0x230)]=_0x22b5ec,this['startLoop'](_0x217b85);}));}else{const _0xdc14d2=_0x43bd49(_0x409ab0,_0x5aaa96);if(!this[_0x2f9ce9(0x15c)]&&!_0x559334(_0xdc14d2)){const _0x480163=this[_0x2f9ce9(0x2cd)](Error,_0x2f9ce9(0x23a),!0x0,0x3ef,_0x2f9ce9(0x23c));_0x217b85(_0x480163);return;}this[_0x2f9ce9(0x230)]===_0x47b194||this[_0x2f9ce9(0x2f4)]?(this['emit'](_0x2f9ce9(0x259),_0xdc14d2,!0x1),this[_0x2f9ce9(0x230)]=_0x22b5ec):(this['_state']=_0x71fc80,setImmediate(()=>{const _0x4cf74f=_0x2f9ce9;this[_0x4cf74f(0x224)]('message',_0xdc14d2,!0x1),this['_state']=_0x22b5ec,this[_0x4cf74f(0x152)](_0x217b85);}));}}[_0x2148ae(0x247)](_0x3090f4,_0x3254da){const _0x2f3a05=_0x2148ae;if(this[_0x2f3a05(0x20b)]===0x8){if(_0x3090f4[_0x2f3a05(0x2fc)]===0x0)this[_0x2f3a05(0x1f2)]=!0x1,this['emit'](_0x2f3a05(0x2a6),0x3ed,_0x497927),this[_0x2f3a05(0x268)]();else{const _0x239777=_0x3090f4[_0x2f3a05(0x270)](0x0);if(!_0x21babd(_0x239777)){const _0x2b89b5=this['createError'](RangeError,_0x2f3a05(0x2c1)+_0x239777,!0x0,0x3ea,_0x2f3a05(0x2da));_0x3254da(_0x2b89b5);return;}const _0x52f0e3=new _0x430dbc(_0x3090f4[_0x2f3a05(0x196)],_0x3090f4['byteOffset']+0x2,_0x3090f4[_0x2f3a05(0x2fc)]-0x2);if(!this['_skipUTF8Validation']&&!_0x559334(_0x52f0e3)){const _0x447bf7=this[_0x2f3a05(0x2cd)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x2f3a05(0x23c));_0x3254da(_0x447bf7);return;}this[_0x2f3a05(0x1f2)]=!0x1,this[_0x2f3a05(0x224)](_0x2f3a05(0x2a6),_0x239777,_0x52f0e3),this[_0x2f3a05(0x268)]();}this['_state']=_0x22b5ec;return;}this[_0x2f3a05(0x2f4)]?(this[_0x2f3a05(0x224)](this[_0x2f3a05(0x20b)]===0x9?_0x2f3a05(0x2ad):'pong',_0x3090f4),this[_0x2f3a05(0x230)]=_0x22b5ec):(this['_state']=_0x71fc80,setImmediate(()=>{const _0x56d5d1=_0x2f3a05;this[_0x56d5d1(0x224)](this[_0x56d5d1(0x20b)]===0x9?'ping':_0x56d5d1(0x19a),_0x3090f4),this['_state']=_0x22b5ec,this[_0x56d5d1(0x152)](_0x3254da);}));}['createError'](_0xd131ca,_0x1dfa3e,_0x2804fd,_0x1ce0bb,_0x443f4f){const _0x1ba0bf=_0x2148ae;this['_loop']=!0x1,this[_0x1ba0bf(0x24e)]=!0x0;const _0x49e094=new _0xd131ca(_0x2804fd?_0x1ba0bf(0x260)+_0x1dfa3e:_0x1dfa3e);return Error[_0x1ba0bf(0x21d)](_0x49e094,this[_0x1ba0bf(0x2cd)]),_0x49e094[_0x1ba0bf(0x1ef)]=_0x443f4f,_0x49e094[_0x3c537a]=_0x1ce0bb,_0x49e094;}}return Se=_0x1a6ef0,Se;}var Ee,et;function _t(){const _0x42312a=_0x13d6a6;if(et)return Ee;et=0x1;const {Duplex:_0x576cf9}=_0x551648,{randomFillSync:_0x5f4e17}=_0x185a77,_0x184024=he(),{EMPTY_BUFFER:_0x11f06b,kWebSocket:_0x1b0474,NOOP:_0x22cd43}=V(),{isBlob:_0x1d9bf8,isValidStatusCode:_0x4ef57e}=ne(),{mask:_0xbfbe4a,toBuffer:_0xaebeb1}=ce(),_0x3e496c=Symbol(_0x42312a(0x211)),_0x2e00d6=Buffer[_0x42312a(0x1b5)](0x4),_0x3500c8=0x8*0x400;let _0x117de4,_0x32a503=_0x3500c8;const _0x452d54=0x0,_0x103690=0x1,_0x24f5cf=0x2;class _0x598199{constructor(_0xaec4f1,_0x45cf45,_0x1e1d3c){const _0x1d40ac=_0x42312a;this[_0x1d40ac(0x1bd)]=_0x45cf45||{},_0x1e1d3c&&(this[_0x1d40ac(0x2e7)]=_0x1e1d3c,this[_0x1d40ac(0x1c7)]=Buffer[_0x1d40ac(0x1b5)](0x4)),this[_0x1d40ac(0x281)]=_0xaec4f1,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x1d40ac(0x187)]=0x0,this['_queue']=[],this[_0x1d40ac(0x230)]=_0x452d54,this['onerror']=_0x22cd43,this[_0x1b0474]=void 0x0;}static['frame'](_0x37984c,_0x4c552b){const _0x31570a=_0x42312a;let _0x254ade,_0x5e26d7=!0x1,_0xe5fd70=0x2,_0x1871f3=!0x1;_0x4c552b[_0x31570a(0x2e5)]&&(_0x254ade=_0x4c552b[_0x31570a(0x219)]||_0x2e00d6,_0x4c552b[_0x31570a(0x273)]?_0x4c552b['generateMask'](_0x254ade):(_0x32a503===_0x3500c8&&(_0x117de4===void 0x0&&(_0x117de4=Buffer['alloc'](_0x3500c8)),_0x5f4e17(_0x117de4,0x0,_0x3500c8),_0x32a503=0x0),_0x254ade[0x0]=_0x117de4[_0x32a503++],_0x254ade[0x1]=_0x117de4[_0x32a503++],_0x254ade[0x2]=_0x117de4[_0x32a503++],_0x254ade[0x3]=_0x117de4[_0x32a503++]),_0x1871f3=(_0x254ade[0x0]|_0x254ade[0x1]|_0x254ade[0x2]|_0x254ade[0x3])===0x0,_0xe5fd70=0x6);let _0x538342;typeof _0x37984c==_0x31570a(0x26e)?(!_0x4c552b[_0x31570a(0x2e5)]||_0x1871f3)&&_0x4c552b[_0x3e496c]!==void 0x0?_0x538342=_0x4c552b[_0x3e496c]:(_0x37984c=Buffer['from'](_0x37984c),_0x538342=_0x37984c[_0x31570a(0x2fc)]):(_0x538342=_0x37984c['length'],_0x5e26d7=_0x4c552b[_0x31570a(0x2e5)]&&_0x4c552b[_0x31570a(0x29c)]&&!_0x1871f3);let _0x524c11=_0x538342;_0x538342>=0x10000?(_0xe5fd70+=0x8,_0x524c11=0x7f):_0x538342>0x7d&&(_0xe5fd70+=0x2,_0x524c11=0x7e);const _0x4d1882=Buffer[_0x31570a(0x2c7)](_0x5e26d7?_0x538342+_0xe5fd70:_0xe5fd70);return _0x4d1882[0x0]=_0x4c552b['fin']?_0x4c552b[_0x31570a(0x28d)]|0x80:_0x4c552b[_0x31570a(0x28d)],_0x4c552b[_0x31570a(0x2d5)]&&(_0x4d1882[0x0]|=0x40),_0x4d1882[0x1]=_0x524c11,_0x524c11===0x7e?_0x4d1882[_0x31570a(0x194)](_0x538342,0x2):_0x524c11===0x7f&&(_0x4d1882[0x2]=_0x4d1882[0x3]=0x0,_0x4d1882[_0x31570a(0x2c6)](_0x538342,0x4,0x6)),_0x4c552b[_0x31570a(0x2e5)]?(_0x4d1882[0x1]|=0x80,_0x4d1882[_0xe5fd70-0x4]=_0x254ade[0x0],_0x4d1882[_0xe5fd70-0x3]=_0x254ade[0x1],_0x4d1882[_0xe5fd70-0x2]=_0x254ade[0x2],_0x4d1882[_0xe5fd70-0x1]=_0x254ade[0x3],_0x1871f3?[_0x4d1882,_0x37984c]:_0x5e26d7?(_0xbfbe4a(_0x37984c,_0x254ade,_0x4d1882,_0xe5fd70,_0x538342),[_0x4d1882]):(_0xbfbe4a(_0x37984c,_0x254ade,_0x37984c,0x0,_0x538342),[_0x4d1882,_0x37984c])):[_0x4d1882,_0x37984c];}[_0x42312a(0x1d2)](_0x1de821,_0x37ed8c,_0x119efc,_0x1a9cc9){const _0x494173=_0x42312a;let _0x1c60c9;if(_0x1de821===void 0x0)_0x1c60c9=_0x11f06b;else{if(typeof _0x1de821!='number'||!_0x4ef57e(_0x1de821))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x37ed8c===void 0x0||!_0x37ed8c[_0x494173(0x2fc)])_0x1c60c9=Buffer['allocUnsafe'](0x2),_0x1c60c9[_0x494173(0x194)](_0x1de821,0x0);else{const _0x5ce421=Buffer[_0x494173(0x2b8)](_0x37ed8c);if(_0x5ce421>0x7b)throw new RangeError(_0x494173(0x2e9));_0x1c60c9=Buffer[_0x494173(0x2c7)](0x2+_0x5ce421),_0x1c60c9[_0x494173(0x194)](_0x1de821,0x0),typeof _0x37ed8c==_0x494173(0x26e)?_0x1c60c9['write'](_0x37ed8c,0x2):_0x1c60c9['set'](_0x37ed8c,0x2);}}const _0x22fcba={[_0x3e496c]:_0x1c60c9[_0x494173(0x2fc)],'fin':!0x0,'generateMask':this[_0x494173(0x2e7)],'mask':_0x119efc,'maskBuffer':this[_0x494173(0x1c7)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x452d54?this[_0x494173(0x276)]([this[_0x494173(0x1a3)],_0x1c60c9,!0x1,_0x22fcba,_0x1a9cc9]):this[_0x494173(0x255)](_0x598199[_0x494173(0x242)](_0x1c60c9,_0x22fcba),_0x1a9cc9);}[_0x42312a(0x2ad)](_0x4e55cf,_0x292f7c,_0x59642d){const _0x53461f=_0x42312a;let _0x3b7071,_0x3b4ea4;if(typeof _0x4e55cf==_0x53461f(0x26e)?(_0x3b7071=Buffer[_0x53461f(0x2b8)](_0x4e55cf),_0x3b4ea4=!0x1):_0x1d9bf8(_0x4e55cf)?(_0x3b7071=_0x4e55cf['size'],_0x3b4ea4=!0x1):(_0x4e55cf=_0xaebeb1(_0x4e55cf),_0x3b7071=_0x4e55cf[_0x53461f(0x2fc)],_0x3b4ea4=_0xaebeb1[_0x53461f(0x29c)]),_0x3b7071>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5f1c26={[_0x3e496c]:_0x3b7071,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x292f7c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x3b4ea4,'rsv1':!0x1};_0x1d9bf8(_0x4e55cf)?this[_0x53461f(0x230)]!==_0x452d54?this[_0x53461f(0x276)]([this[_0x53461f(0x20f)],_0x4e55cf,!0x1,_0x5f1c26,_0x59642d]):this['getBlobData'](_0x4e55cf,!0x1,_0x5f1c26,_0x59642d):this[_0x53461f(0x230)]!==_0x452d54?this[_0x53461f(0x276)]([this[_0x53461f(0x1a3)],_0x4e55cf,!0x1,_0x5f1c26,_0x59642d]):this[_0x53461f(0x255)](_0x598199[_0x53461f(0x242)](_0x4e55cf,_0x5f1c26),_0x59642d);}[_0x42312a(0x19a)](_0x134aa1,_0x5b50be,_0x7fa77d){const _0x1569d9=_0x42312a;let _0x1df7cc,_0x42776e;if(typeof _0x134aa1==_0x1569d9(0x26e)?(_0x1df7cc=Buffer[_0x1569d9(0x2b8)](_0x134aa1),_0x42776e=!0x1):_0x1d9bf8(_0x134aa1)?(_0x1df7cc=_0x134aa1['size'],_0x42776e=!0x1):(_0x134aa1=_0xaebeb1(_0x134aa1),_0x1df7cc=_0x134aa1[_0x1569d9(0x2fc)],_0x42776e=_0xaebeb1['readOnly']),_0x1df7cc>0x7d)throw new RangeError(_0x1569d9(0x228));const _0x3b17e8={[_0x3e496c]:_0x1df7cc,'fin':!0x0,'generateMask':this[_0x1569d9(0x2e7)],'mask':_0x5b50be,'maskBuffer':this[_0x1569d9(0x1c7)],'opcode':0xa,'readOnly':_0x42776e,'rsv1':!0x1};_0x1d9bf8(_0x134aa1)?this[_0x1569d9(0x230)]!==_0x452d54?this[_0x1569d9(0x276)]([this['getBlobData'],_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d]):this['getBlobData'](_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d):this[_0x1569d9(0x230)]!==_0x452d54?this['enqueue']([this['dispatch'],_0x134aa1,!0x1,_0x3b17e8,_0x7fa77d]):this[_0x1569d9(0x255)](_0x598199[_0x1569d9(0x242)](_0x134aa1,_0x3b17e8),_0x7fa77d);}[_0x42312a(0x168)](_0x239371,_0x4e1e41,_0x3ce622){const _0x2e29fe=_0x42312a,_0x25036d=this[_0x2e29fe(0x1bd)][_0x184024[_0x2e29fe(0x28e)]];let _0x11cd06=_0x4e1e41['binary']?0x2:0x1,_0x5685d0=_0x4e1e41[_0x2e29fe(0x172)],_0x22b38b,_0x2eb3b0;typeof _0x239371=='string'?(_0x22b38b=Buffer[_0x2e29fe(0x2b8)](_0x239371),_0x2eb3b0=!0x1):_0x1d9bf8(_0x239371)?(_0x22b38b=_0x239371['size'],_0x2eb3b0=!0x1):(_0x239371=_0xaebeb1(_0x239371),_0x22b38b=_0x239371[_0x2e29fe(0x2fc)],_0x2eb3b0=_0xaebeb1[_0x2e29fe(0x29c)]),this[_0x2e29fe(0x1b0)]?(this[_0x2e29fe(0x1b0)]=!0x1,_0x5685d0&&_0x25036d&&_0x25036d[_0x2e29fe(0x2f6)][_0x25036d[_0x2e29fe(0x1e6)]?_0x2e29fe(0x1e2):_0x2e29fe(0x1ca)]&&(_0x5685d0=_0x22b38b>=_0x25036d['_threshold']),this[_0x2e29fe(0x297)]=_0x5685d0):(_0x5685d0=!0x1,_0x11cd06=0x0),_0x4e1e41['fin']&&(this['_firstFragment']=!0x0);const _0x436f3e={[_0x3e496c]:_0x22b38b,'fin':_0x4e1e41['fin'],'generateMask':this[_0x2e29fe(0x2e7)],'mask':_0x4e1e41[_0x2e29fe(0x2e5)],'maskBuffer':this[_0x2e29fe(0x1c7)],'opcode':_0x11cd06,'readOnly':_0x2eb3b0,'rsv1':_0x5685d0};_0x1d9bf8(_0x239371)?this[_0x2e29fe(0x230)]!==_0x452d54?this[_0x2e29fe(0x276)]([this['getBlobData'],_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622]):this[_0x2e29fe(0x20f)](_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622):this[_0x2e29fe(0x230)]!==_0x452d54?this[_0x2e29fe(0x276)]([this[_0x2e29fe(0x1a3)],_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622]):this[_0x2e29fe(0x1a3)](_0x239371,this[_0x2e29fe(0x297)],_0x436f3e,_0x3ce622);}[_0x42312a(0x20f)](_0x118c52,_0x5b64c0,_0x3e7ef0,_0xaf58f7){const _0x396efd=_0x42312a;this[_0x396efd(0x187)]+=_0x3e7ef0[_0x3e496c],this[_0x396efd(0x230)]=_0x24f5cf,_0x118c52['arrayBuffer']()['then'](_0x2c25bc=>{const _0xca6c3d=_0x396efd;if(this[_0xca6c3d(0x281)][_0xca6c3d(0x2e6)]){const _0x4ae53c=new Error(_0xca6c3d(0x16b));process[_0xca6c3d(0x280)](_0x464e6c,this,_0x4ae53c,_0xaf58f7);return;}this[_0xca6c3d(0x187)]-=_0x3e7ef0[_0x3e496c];const _0x37e31b=_0xaebeb1(_0x2c25bc);_0x5b64c0?this[_0xca6c3d(0x1a3)](_0x37e31b,_0x5b64c0,_0x3e7ef0,_0xaf58f7):(this[_0xca6c3d(0x230)]=_0x452d54,this['sendFrame'](_0x598199['frame'](_0x37e31b,_0x3e7ef0),_0xaf58f7),this[_0xca6c3d(0x1c3)]());})[_0x396efd(0x1a4)](_0x2dd74e=>{const _0x224d87=_0x396efd;process[_0x224d87(0x280)](_0x3e7a19,this,_0x2dd74e,_0xaf58f7);});}[_0x42312a(0x1a3)](_0x445400,_0x46c9d7,_0x16c952,_0x117a26){const _0x180058=_0x42312a;if(!_0x46c9d7){this[_0x180058(0x255)](_0x598199[_0x180058(0x242)](_0x445400,_0x16c952),_0x117a26);return;}const _0x163419=this[_0x180058(0x1bd)][_0x184024[_0x180058(0x28e)]];this[_0x180058(0x187)]+=_0x16c952[_0x3e496c],this['_state']=_0x103690,_0x163419[_0x180058(0x172)](_0x445400,_0x16c952['fin'],(_0x534881,_0x4272e9)=>{const _0x55fca6=_0x180058;if(this[_0x55fca6(0x281)][_0x55fca6(0x2e6)]){const _0x28e73a=new Error(_0x55fca6(0x2a8));_0x464e6c(this,_0x28e73a,_0x117a26);return;}this[_0x55fca6(0x187)]-=_0x16c952[_0x3e496c],this['_state']=_0x452d54,_0x16c952[_0x55fca6(0x29c)]=!0x1,this[_0x55fca6(0x255)](_0x598199[_0x55fca6(0x242)](_0x4272e9,_0x16c952),_0x117a26),this[_0x55fca6(0x1c3)]();});}[_0x42312a(0x1c3)](){const _0xa5499d=_0x42312a;for(;this[_0xa5499d(0x230)]===_0x452d54&&this[_0xa5499d(0x2b4)][_0xa5499d(0x2fc)];){const _0x3484d3=this['_queue']['shift']();this[_0xa5499d(0x187)]-=_0x3484d3[0x3][_0x3e496c],Reflect[_0xa5499d(0x232)](_0x3484d3[0x0],this,_0x3484d3[_0xa5499d(0x2e8)](0x1));}}['enqueue'](_0x468827){const _0x14c909=_0x42312a;this[_0x14c909(0x187)]+=_0x468827[0x3][_0x3e496c],this[_0x14c909(0x2b4)][_0x14c909(0x1f3)](_0x468827);}[_0x42312a(0x255)](_0x5e6742,_0x217480){const _0x57e2b6=_0x42312a;_0x5e6742['length']===0x2?(this[_0x57e2b6(0x281)]['cork'](),this[_0x57e2b6(0x281)]['write'](_0x5e6742[0x0]),this['_socket']['write'](_0x5e6742[0x1],_0x217480),this[_0x57e2b6(0x281)]['uncork']()):this[_0x57e2b6(0x281)]['write'](_0x5e6742[0x0],_0x217480);}}Ee=_0x598199;function _0x464e6c(_0x565ac9,_0x494269,_0xd00549){const _0x31960a=_0x42312a;typeof _0xd00549==_0x31960a(0x210)&&_0xd00549(_0x494269);for(let _0x2de20b=0x0;_0x2de20b<_0x565ac9[_0x31960a(0x2b4)][_0x31960a(0x2fc)];_0x2de20b++){const _0x15cba4=_0x565ac9[_0x31960a(0x2b4)][_0x2de20b],_0x159e97=_0x15cba4[_0x15cba4['length']-0x1];typeof _0x159e97==_0x31960a(0x210)&&_0x159e97(_0x494269);}}function _0x3e7a19(_0x284820,_0x1f0d26,_0x4191db){_0x464e6c(_0x284820,_0x1f0d26,_0x4191db),_0x284820['onerror'](_0x1f0d26);}return Ee;}var xe,tt;function Kt(){const _0x274691=_0x13d6a6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2bc3f3,kListener:_0x4fd787}=V(),_0x206d10=Symbol(_0x274691(0x1fb)),_0x23ce64=Symbol('kData'),_0x58a0c9=Symbol('kError'),_0xd61f4b=Symbol(_0x274691(0x261)),_0x19c2fc=Symbol(_0x274691(0x1d9)),_0x29d7d5=Symbol('kTarget'),_0x30f0ff=Symbol(_0x274691(0x2db)),_0x5f1974=Symbol('kWasClean');class _0x210816{constructor(_0x9aa126){this[_0x29d7d5]=null,this[_0x30f0ff]=_0x9aa126;}get[_0x274691(0x2d7)](){return this[_0x29d7d5];}get['type'](){return this[_0x30f0ff];}}Object[_0x274691(0x29e)](_0x210816['prototype'],'target',{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x210816['prototype'],_0x274691(0x188),{'enumerable':!0x0});class _0x2f6d50 extends _0x210816{constructor(_0x36b0fe,_0x5c8b55={}){const _0x41a524=_0x274691;super(_0x36b0fe),this[_0x206d10]=_0x5c8b55[_0x41a524(0x1ef)]===void 0x0?0x0:_0x5c8b55['code'],this[_0x19c2fc]=_0x5c8b55[_0x41a524(0x16d)]===void 0x0?'':_0x5c8b55[_0x41a524(0x16d)],this[_0x5f1974]=_0x5c8b55[_0x41a524(0x1e3)]===void 0x0?!0x1:_0x5c8b55[_0x41a524(0x1e3)];}get['code'](){return this[_0x206d10];}get['reason'](){return this[_0x19c2fc];}get[_0x274691(0x1e3)](){return this[_0x5f1974];}}Object[_0x274691(0x29e)](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x1ef),{'enumerable':!0x0}),Object['defineProperty'](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x16d),{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x2f6d50[_0x274691(0x2cb)],_0x274691(0x1e3),{'enumerable':!0x0});class _0x46c107 extends _0x210816{constructor(_0x36dd80,_0xbf86b9={}){const _0x4cdfac=_0x274691;super(_0x36dd80),this[_0x58a0c9]=_0xbf86b9[_0x4cdfac(0x1eb)]===void 0x0?null:_0xbf86b9[_0x4cdfac(0x1eb)],this[_0xd61f4b]=_0xbf86b9[_0x4cdfac(0x259)]===void 0x0?'':_0xbf86b9[_0x4cdfac(0x259)];}get[_0x274691(0x1eb)](){return this[_0x58a0c9];}get[_0x274691(0x259)](){return this[_0xd61f4b];}}Object['defineProperty'](_0x46c107[_0x274691(0x2cb)],_0x274691(0x1eb),{'enumerable':!0x0}),Object[_0x274691(0x29e)](_0x46c107['prototype'],_0x274691(0x259),{'enumerable':!0x0});class _0x125e74 extends _0x210816{constructor(_0x34d2dc,_0x579520={}){const _0x3b78ed=_0x274691;super(_0x34d2dc),this[_0x23ce64]=_0x579520[_0x3b78ed(0x17e)]===void 0x0?null:_0x579520['data'];}get['data'](){return this[_0x23ce64];}}Object[_0x274691(0x29e)](_0x125e74[_0x274691(0x2cb)],_0x274691(0x17e),{'enumerable':!0x0}),xe={'CloseEvent':_0x2f6d50,'ErrorEvent':_0x46c107,'Event':_0x210816,'EventTarget':{'addEventListener'(_0x3cd186,_0x2081e9,_0x3cce3a={}){const _0x41522e=_0x274691;for(const _0x351012 of this[_0x41522e(0x2dc)](_0x3cd186))if(!_0x3cce3a[_0x2bc3f3]&&_0x351012[_0x4fd787]===_0x2081e9&&!_0x351012[_0x2bc3f3])return;let _0x11b99c;if(_0x3cd186===_0x41522e(0x259))_0x11b99c=function(_0x1999c4,_0x5dccdd){const _0x235739=_0x41522e,_0x4c3cdc=new _0x125e74(_0x235739(0x259),{'data':_0x5dccdd?_0x1999c4:_0x1999c4[_0x235739(0x264)]()});_0x4c3cdc[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x4c3cdc);};else{if(_0x3cd186==='close')_0x11b99c=function(_0x4098d5,_0x134839){const _0x48740a=_0x41522e,_0x4e72f3=new _0x2f6d50(_0x48740a(0x1d2),{'code':_0x4098d5,'reason':_0x134839[_0x48740a(0x264)](),'wasClean':this[_0x48740a(0x2ae)]&&this['_closeFrameSent']});_0x4e72f3[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x4e72f3);};else{if(_0x3cd186==='error')_0x11b99c=function(_0x22a2dc){const _0x5a1d0b=_0x41522e,_0x445fb7=new _0x46c107(_0x5a1d0b(0x1eb),{'error':_0x22a2dc,'message':_0x22a2dc['message']});_0x445fb7[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x445fb7);};else{if(_0x3cd186===_0x41522e(0x2a0))_0x11b99c=function(){const _0x3f5cf4=_0x41522e,_0x24011e=new _0x210816(_0x3f5cf4(0x2a0));_0x24011e[_0x29d7d5]=this,_0x33e47b(_0x2081e9,this,_0x24011e);};else return;}}}_0x11b99c[_0x2bc3f3]=!!_0x3cce3a[_0x2bc3f3],_0x11b99c[_0x4fd787]=_0x2081e9,_0x3cce3a[_0x41522e(0x235)]?this[_0x41522e(0x235)](_0x3cd186,_0x11b99c):this['on'](_0x3cd186,_0x11b99c);},'removeEventListener'(_0x2d7b36,_0x498296){const _0x4a0659=_0x274691;for(const _0x22e6b5 of this[_0x4a0659(0x2dc)](_0x2d7b36))if(_0x22e6b5[_0x4fd787]===_0x498296&&!_0x22e6b5[_0x2bc3f3]){this[_0x4a0659(0x282)](_0x2d7b36,_0x22e6b5);break;}}},'MessageEvent':_0x125e74};function _0x33e47b(_0x5625d9,_0x30eed5,_0x2becff){const _0xca4570=_0x274691;typeof _0x5625d9==_0xca4570(0x1f0)&&_0x5625d9[_0xca4570(0x2d1)]?_0x5625d9[_0xca4570(0x2d1)][_0xca4570(0x2e1)](_0x5625d9,_0x2becff):_0x5625d9['call'](_0x30eed5,_0x2becff);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xe8edb6}=ne();function _0x349159(_0x107496,_0x4d5298,_0x42f454){const _0x1950d0=_0x3fa4;_0x107496[_0x4d5298]===void 0x0?_0x107496[_0x4d5298]=[_0x42f454]:_0x107496[_0x4d5298][_0x1950d0(0x1f3)](_0x42f454);}function _0x320e30(_0x5d7745){const _0x4c7c1c=_0x3fa4,_0x42f8e3=Object[_0x4c7c1c(0x2a3)](null);let _0x593942=Object[_0x4c7c1c(0x2a3)](null),_0xe97786=!0x1,_0x3bdf20=!0x1,_0x466884=!0x1,_0x497b8c,_0x280169,_0x11d27b=-0x1,_0x4f44c7=-0x1,_0x4c09ef=-0x1,_0x5df639=0x0;for(;_0x5df639<_0x5d7745[_0x4c7c1c(0x2fc)];_0x5df639++)if(_0x4f44c7=_0x5d7745[_0x4c7c1c(0x301)](_0x5df639),_0x497b8c===void 0x0){if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x5df639!==0x0&&(_0x4f44c7===0x20||_0x4f44c7===0x9))_0x4c09ef===-0x1&&_0x11d27b!==-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);const _0x267142=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef);_0x4f44c7===0x2c?(_0x349159(_0x42f8e3,_0x267142,_0x593942),_0x593942=Object[_0x4c7c1c(0x2a3)](null)):_0x497b8c=_0x267142,_0x11d27b=_0x4c09ef=-0x1;}else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}else{if(_0x280169===void 0x0){if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x4f44c7===0x20||_0x4f44c7===0x9)_0x4c09ef===-0x1&&_0x11d27b!==-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639),_0x349159(_0x593942,_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef),!0x0),_0x4f44c7===0x2c&&(_0x349159(_0x42f8e3,_0x497b8c,_0x593942),_0x593942=Object['create'](null),_0x497b8c=void 0x0),_0x11d27b=_0x4c09ef=-0x1;}else{if(_0x4f44c7===0x3d&&_0x11d27b!==-0x1&&_0x4c09ef===-0x1)_0x280169=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x5df639),_0x11d27b=_0x4c09ef=-0x1;else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}}else{if(_0x3bdf20){if(_0xe8edb6[_0x4f44c7]!==0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x11d27b===-0x1?_0x11d27b=_0x5df639:_0xe97786||(_0xe97786=!0x0),_0x3bdf20=!0x1;}else{if(_0x466884){if(_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x4f44c7===0x22&&_0x11d27b!==-0x1)_0x466884=!0x1,_0x4c09ef=_0x5df639;else{if(_0x4f44c7===0x5c)_0x3bdf20=!0x0;else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}else{if(_0x4f44c7===0x22&&_0x5d7745['charCodeAt'](_0x5df639-0x1)===0x3d)_0x466884=!0x0;else{if(_0x4c09ef===-0x1&&_0xe8edb6[_0x4f44c7]===0x1)_0x11d27b===-0x1&&(_0x11d27b=_0x5df639);else{if(_0x11d27b!==-0x1&&(_0x4f44c7===0x20||_0x4f44c7===0x9))_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);else{if(_0x4f44c7===0x3b||_0x4f44c7===0x2c){if(_0x11d27b===-0x1)throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);let _0x1b9099=_0x5d7745[_0x4c7c1c(0x2e8)](_0x11d27b,_0x4c09ef);_0xe97786&&(_0x1b9099=_0x1b9099[_0x4c7c1c(0x1b1)](/\\/g,''),_0xe97786=!0x1),_0x349159(_0x593942,_0x280169,_0x1b9099),_0x4f44c7===0x2c&&(_0x349159(_0x42f8e3,_0x497b8c,_0x593942),_0x593942=Object[_0x4c7c1c(0x2a3)](null),_0x497b8c=void 0x0),_0x280169=void 0x0,_0x11d27b=_0x4c09ef=-0x1;}else throw new SyntaxError(_0x4c7c1c(0x26a)+_0x5df639);}}}}}}}if(_0x11d27b===-0x1||_0x466884||_0x4f44c7===0x20||_0x4f44c7===0x9)throw new SyntaxError(_0x4c7c1c(0x2d4));_0x4c09ef===-0x1&&(_0x4c09ef=_0x5df639);const _0x57b037=_0x5d7745['slice'](_0x11d27b,_0x4c09ef);return _0x497b8c===void 0x0?_0x349159(_0x42f8e3,_0x57b037,_0x593942):(_0x280169===void 0x0?_0x349159(_0x593942,_0x57b037,!0x0):_0xe97786?_0x349159(_0x593942,_0x280169,_0x57b037['replace'](/\\/g,'')):_0x349159(_0x593942,_0x280169,_0x57b037),_0x349159(_0x42f8e3,_0x497b8c,_0x593942)),_0x42f8e3;}function _0xcb3a71(_0x22f445){const _0x4cb9fe=_0x3fa4;return Object[_0x4cb9fe(0x269)](_0x22f445)[_0x4cb9fe(0x1fd)](_0xce9d2c=>{const _0x48ec53=_0x4cb9fe;let _0x1dba3d=_0x22f445[_0xce9d2c];return Array[_0x48ec53(0x191)](_0x1dba3d)||(_0x1dba3d=[_0x1dba3d]),_0x1dba3d[_0x48ec53(0x1fd)](_0x4e38ee=>[_0xce9d2c][_0x48ec53(0x1bc)](Object[_0x48ec53(0x269)](_0x4e38ee)[_0x48ec53(0x1fd)](_0x5cc1b9=>{const _0x1e03f0=_0x48ec53;let _0x20727e=_0x4e38ee[_0x5cc1b9];return Array[_0x1e03f0(0x191)](_0x20727e)||(_0x20727e=[_0x20727e]),_0x20727e[_0x1e03f0(0x1fd)](_0x5ef7fa=>_0x5ef7fa===!0x0?_0x5cc1b9:_0x5cc1b9+'='+_0x5ef7fa)['join'](';\x20');}))[_0x48ec53(0x2c4)](';\x20'))['join'](',\x20');})[_0x4cb9fe(0x2c4)](',\x20');}return be={'format':_0xcb3a71,'parse':_0x320e30},be;}var we,st;function Ie(){const _0x9b3b05=_0x13d6a6;if(st)return we;st=0x1;const _0x54ec9a=_0xad065c,_0x3bf6bd=_0x258f4a,_0x45143b=_0x5f236e,_0x55eaf1=_0x39c0c6,_0x4a2f8c=_0x2e7ebe,{randomBytes:_0x12e8cb,createHash:_0x1ec6ab}=_0x185a77,{Duplex:_0x62e8c3,Readable:_0x56109f}=_0x551648,{URL:_0x5d6a57}=_0x48dcb6,_0x280833=he(),_0x36e6a1=dt(),_0x41d4f5=_t(),{isBlob:_0x4574a4}=ne(),{BINARY_TYPES:_0x277db0,EMPTY_BUFFER:_0x35a547,GUID:_0x2371f9,kForOnEventAttribute:_0x270795,kListener:_0xcd9dfd,kStatusCode:_0x11dd16,kWebSocket:_0x277f07,NOOP:_0x3627f2}=V(),{EventTarget:{addEventListener:_0x5e9b80,removeEventListener:_0x2a0f98}}=Kt(),{format:_0x5e75de,parse:_0x4a1cb0}=pt(),{toBuffer:_0x3056c5}=ce(),_0x4bd6e7=0x1e*0x3e8,_0x46c90f=Symbol(_0x9b3b05(0x24b)),_0x12025d=[0x8,0xd],_0x279c4d=[_0x9b3b05(0x19e),_0x9b3b05(0x1df),_0x9b3b05(0x193),_0x9b3b05(0x18b)],_0xf95648=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x28abc9 extends _0x54ec9a{constructor(_0x5213cf,_0x2b2368,_0x2bddb8){const _0x2c80f7=_0x9b3b05;super(),this[_0x2c80f7(0x214)]=_0x277db0[0x0],this['_closeCode']=0x3ee,this[_0x2c80f7(0x2ae)]=!0x1,this[_0x2c80f7(0x2b9)]=!0x1,this[_0x2c80f7(0x1db)]=_0x35a547,this[_0x2c80f7(0x179)]=null,this[_0x2c80f7(0x288)]=!0x1,this[_0x2c80f7(0x1bd)]={},this['_paused']=!0x1,this[_0x2c80f7(0x1a6)]='',this[_0x2c80f7(0x279)]=_0x28abc9[_0x2c80f7(0x19e)],this['_receiver']=null,this['_sender']=null,this[_0x2c80f7(0x281)]=null,_0x5213cf!==null?(this['_bufferedAmount']=0x0,this[_0x2c80f7(0x1e6)]=!0x1,this[_0x2c80f7(0x169)]=0x0,_0x2b2368===void 0x0?_0x2b2368=[]:Array[_0x2c80f7(0x191)](_0x2b2368)||(typeof _0x2b2368=='object'&&_0x2b2368!==null?(_0x2bddb8=_0x2b2368,_0x2b2368=[]):_0x2b2368=[_0x2b2368]),_0x354437(this,_0x5213cf,_0x2b2368,_0x2bddb8)):(this['_autoPong']=_0x2bddb8['autoPong'],this[_0x2c80f7(0x1e6)]=!0x0);}get[_0x9b3b05(0x28f)](){const _0x199436=_0x9b3b05;return this[_0x199436(0x214)];}set['binaryType'](_0x280002){const _0x3df6f2=_0x9b3b05;_0x277db0[_0x3df6f2(0x173)](_0x280002)&&(this[_0x3df6f2(0x214)]=_0x280002,this['_receiver']&&(this[_0x3df6f2(0x2ab)][_0x3df6f2(0x214)]=_0x280002));}get[_0x9b3b05(0x27c)](){const _0x1b1a93=_0x9b3b05;return this[_0x1b1a93(0x281)]?this[_0x1b1a93(0x281)][_0x1b1a93(0x164)][_0x1b1a93(0x2fc)]+this[_0x1b1a93(0x2a2)][_0x1b1a93(0x187)]:this[_0x1b1a93(0x231)];}get[_0x9b3b05(0x292)](){const _0x243169=_0x9b3b05;return Object['keys'](this[_0x243169(0x1bd)])[_0x243169(0x2c4)]();}get[_0x9b3b05(0x161)](){const _0x2a3b4d=_0x9b3b05;return this[_0x2a3b4d(0x156)];}get[_0x9b3b05(0x2b2)](){return null;}get[_0x9b3b05(0x2ea)](){return null;}get['onopen'](){return null;}get[_0x9b3b05(0x1c1)](){return null;}get[_0x9b3b05(0x186)](){const _0x31c561=_0x9b3b05;return this[_0x31c561(0x1a6)];}get[_0x9b3b05(0x25c)](){return this['_readyState'];}get[_0x9b3b05(0x1aa)](){return this['_url'];}[_0x9b3b05(0x2c8)](_0x1fb87b,_0x40f798,_0x5d8524){const _0x1006ae=_0x9b3b05,_0x4a64d2=new _0x36e6a1({'allowSynchronousEvents':_0x5d8524[_0x1006ae(0x19c)],'binaryType':this[_0x1006ae(0x28f)],'extensions':this[_0x1006ae(0x1bd)],'isServer':this[_0x1006ae(0x1e6)],'maxPayload':_0x5d8524['maxPayload'],'skipUTF8Validation':_0x5d8524[_0x1006ae(0x254)]}),_0x31acea=new _0x41d4f5(_0x1fb87b,this[_0x1006ae(0x1bd)],_0x5d8524[_0x1006ae(0x273)]);this[_0x1006ae(0x2ab)]=_0x4a64d2,this[_0x1006ae(0x2a2)]=_0x31acea,this[_0x1006ae(0x281)]=_0x1fb87b,_0x4a64d2[_0x277f07]=this,_0x31acea[_0x277f07]=this,_0x1fb87b[_0x277f07]=this,_0x4a64d2['on'](_0x1006ae(0x2a6),_0x1b7177),_0x4a64d2['on']('drain',_0x146954),_0x4a64d2['on'](_0x1006ae(0x1eb),_0x44e26a),_0x4a64d2['on']('message',_0xa2db24),_0x4a64d2['on']('ping',_0x30eec6),_0x4a64d2['on'](_0x1006ae(0x19a),_0x16d384),_0x31acea['onerror']=_0x281e7e,_0x1fb87b['setTimeout']&&_0x1fb87b[_0x1006ae(0x1ea)](0x0),_0x1fb87b[_0x1006ae(0x2c9)]&&_0x1fb87b[_0x1006ae(0x2c9)](),_0x40f798[_0x1006ae(0x2fc)]>0x0&&_0x1fb87b[_0x1006ae(0x1b8)](_0x40f798),_0x1fb87b['on'](_0x1006ae(0x1d2),_0x347159),_0x1fb87b['on'](_0x1006ae(0x17e),_0x24a2df),_0x1fb87b['on'](_0x1006ae(0x268),_0x1b754a),_0x1fb87b['on']('error',_0x36150d),this[_0x1006ae(0x279)]=_0x28abc9[_0x1006ae(0x1df)],this[_0x1006ae(0x224)]('open');}[_0x9b3b05(0x300)](){const _0x2c213a=_0x9b3b05;if(!this[_0x2c213a(0x281)]){this[_0x2c213a(0x279)]=_0x28abc9['CLOSED'],this[_0x2c213a(0x224)](_0x2c213a(0x1d2),this['_closeCode'],this[_0x2c213a(0x1db)]);return;}this['_extensions'][_0x280833['extensionName']]&&this[_0x2c213a(0x1bd)][_0x280833[_0x2c213a(0x28e)]][_0x2c213a(0x15b)](),this[_0x2c213a(0x2ab)]['removeAllListeners'](),this['_readyState']=_0x28abc9[_0x2c213a(0x18b)],this[_0x2c213a(0x224)](_0x2c213a(0x1d2),this[_0x2c213a(0x2d8)],this['_closeMessage']);}[_0x9b3b05(0x1d2)](_0x4fa6d3,_0x6f863b){const _0x3e1f90=_0x9b3b05;if(this[_0x3e1f90(0x25c)]!==_0x28abc9[_0x3e1f90(0x18b)]){if(this[_0x3e1f90(0x25c)]===_0x28abc9[_0x3e1f90(0x19e)]){_0x37e9b9(this,this[_0x3e1f90(0x2fb)],_0x3e1f90(0x16c));return;}if(this[_0x3e1f90(0x25c)]===_0x28abc9[_0x3e1f90(0x193)]){this['_closeFrameSent']&&(this[_0x3e1f90(0x2ae)]||this['_receiver'][_0x3e1f90(0x164)]['errorEmitted'])&&this['_socket'][_0x3e1f90(0x268)]();return;}this[_0x3e1f90(0x279)]=_0x28abc9[_0x3e1f90(0x193)],this[_0x3e1f90(0x2a2)][_0x3e1f90(0x1d2)](_0x4fa6d3,_0x6f863b,!this[_0x3e1f90(0x1e6)],_0x4cfdff=>{const _0x227a61=_0x3e1f90;_0x4cfdff||(this[_0x227a61(0x2b9)]=!0x0,(this[_0x227a61(0x2ae)]||this[_0x227a61(0x2ab)]['_writableState'][_0x227a61(0x1e1)])&&this['_socket']['end']());}),_0x3ef795(this);}}[_0x9b3b05(0x1d1)](){const _0x3d2f36=_0x9b3b05;this[_0x3d2f36(0x25c)]===_0x28abc9[_0x3d2f36(0x19e)]||this['readyState']===_0x28abc9[_0x3d2f36(0x18b)]||(this[_0x3d2f36(0x156)]=!0x0,this['_socket'][_0x3d2f36(0x1d1)]());}[_0x9b3b05(0x2ad)](_0x1c00a0,_0x3ff005,_0x4ef96a){const _0x2cc03c=_0x9b3b05;if(this[_0x2cc03c(0x25c)]===_0x28abc9[_0x2cc03c(0x19e)])throw new Error(_0x2cc03c(0x2d3));if(typeof _0x1c00a0==_0x2cc03c(0x210)?(_0x4ef96a=_0x1c00a0,_0x1c00a0=_0x3ff005=void 0x0):typeof _0x3ff005==_0x2cc03c(0x210)&&(_0x4ef96a=_0x3ff005,_0x3ff005=void 0x0),typeof _0x1c00a0==_0x2cc03c(0x303)&&(_0x1c00a0=_0x1c00a0[_0x2cc03c(0x264)]()),this[_0x2cc03c(0x25c)]!==_0x28abc9['OPEN']){_0x34d4fb(this,_0x1c00a0,_0x4ef96a);return;}_0x3ff005===void 0x0&&(_0x3ff005=!this[_0x2cc03c(0x1e6)]),this[_0x2cc03c(0x2a2)][_0x2cc03c(0x2ad)](_0x1c00a0||_0x35a547,_0x3ff005,_0x4ef96a);}['pong'](_0x5dc100,_0x324d82,_0x599201){const _0x80b0c4=_0x9b3b05;if(this[_0x80b0c4(0x25c)]===_0x28abc9['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5dc100==_0x80b0c4(0x210)?(_0x599201=_0x5dc100,_0x5dc100=_0x324d82=void 0x0):typeof _0x324d82==_0x80b0c4(0x210)&&(_0x599201=_0x324d82,_0x324d82=void 0x0),typeof _0x5dc100=='number'&&(_0x5dc100=_0x5dc100['toString']()),this[_0x80b0c4(0x25c)]!==_0x28abc9[_0x80b0c4(0x1df)]){_0x34d4fb(this,_0x5dc100,_0x599201);return;}_0x324d82===void 0x0&&(_0x324d82=!this[_0x80b0c4(0x1e6)]),this['_sender'][_0x80b0c4(0x19a)](_0x5dc100||_0x35a547,_0x324d82,_0x599201);}['resume'](){const _0xc7a15a=_0x9b3b05;this[_0xc7a15a(0x25c)]===_0x28abc9[_0xc7a15a(0x19e)]||this['readyState']===_0x28abc9[_0xc7a15a(0x18b)]||(this[_0xc7a15a(0x156)]=!0x1,this['_receiver']['_writableState'][_0xc7a15a(0x203)]||this[_0xc7a15a(0x281)][_0xc7a15a(0x205)]());}[_0x9b3b05(0x168)](_0x35e58f,_0x43b944,_0x525e6f){const _0x8a6603=_0x9b3b05;if(this[_0x8a6603(0x25c)]===_0x28abc9[_0x8a6603(0x19e)])throw new Error(_0x8a6603(0x2d3));if(typeof _0x43b944==_0x8a6603(0x210)&&(_0x525e6f=_0x43b944,_0x43b944={}),typeof _0x35e58f=='number'&&(_0x35e58f=_0x35e58f[_0x8a6603(0x264)]()),this[_0x8a6603(0x25c)]!==_0x28abc9[_0x8a6603(0x1df)]){_0x34d4fb(this,_0x35e58f,_0x525e6f);return;}const _0xcc5356={'binary':typeof _0x35e58f!=_0x8a6603(0x26e),'mask':!this[_0x8a6603(0x1e6)],'compress':!0x0,'fin':!0x0,..._0x43b944};this[_0x8a6603(0x1bd)][_0x280833[_0x8a6603(0x28e)]]||(_0xcc5356[_0x8a6603(0x172)]=!0x1),this[_0x8a6603(0x2a2)][_0x8a6603(0x168)](_0x35e58f||_0x35a547,_0xcc5356,_0x525e6f);}[_0x9b3b05(0x241)](){const _0x177eb9=_0x9b3b05;if(this[_0x177eb9(0x25c)]!==_0x28abc9[_0x177eb9(0x18b)]){if(this[_0x177eb9(0x25c)]===_0x28abc9['CONNECTING']){_0x37e9b9(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x177eb9(0x281)]&&(this['_readyState']=_0x28abc9[_0x177eb9(0x193)],this['_socket']['destroy']());}}}Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x19e),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x19e))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x19e),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x19e))}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x1df),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x1df))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x1df),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)]('OPEN')}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x193),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x193))}),Object[_0x9b3b05(0x29e)](_0x28abc9[_0x9b3b05(0x2cb)],_0x9b3b05(0x193),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x193))}),Object[_0x9b3b05(0x29e)](_0x28abc9,_0x9b3b05(0x18b),{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x18b))}),Object['defineProperty'](_0x28abc9['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x279c4d[_0x9b3b05(0x265)](_0x9b3b05(0x18b))}),[_0x9b3b05(0x28f),_0x9b3b05(0x27c),_0x9b3b05(0x292),'isPaused','protocol',_0x9b3b05(0x25c),_0x9b3b05(0x1aa)][_0x9b3b05(0x277)](_0x14508d=>{const _0x17a6f6=_0x9b3b05;Object[_0x17a6f6(0x29e)](_0x28abc9[_0x17a6f6(0x2cb)],_0x14508d,{'enumerable':!0x0});}),[_0x9b3b05(0x2a0),_0x9b3b05(0x1eb),_0x9b3b05(0x1d2),'message'][_0x9b3b05(0x277)](_0x4373db=>{const _0x475006=_0x9b3b05;Object[_0x475006(0x29e)](_0x28abc9[_0x475006(0x2cb)],'on'+_0x4373db,{'enumerable':!0x0,'get'(){for(const _0x6bbe5c of this['listeners'](_0x4373db))if(_0x6bbe5c[_0x270795])return _0x6bbe5c[_0xcd9dfd];return null;},'set'(_0x2693be){const _0x3a7edf=_0x475006;for(const _0x14b642 of this[_0x3a7edf(0x2dc)](_0x4373db))if(_0x14b642[_0x270795]){this[_0x3a7edf(0x282)](_0x4373db,_0x14b642);break;}typeof _0x2693be==_0x3a7edf(0x210)&&this[_0x3a7edf(0x20d)](_0x4373db,_0x2693be,{[_0x270795]:!0x0});}});}),_0x28abc9[_0x9b3b05(0x2cb)][_0x9b3b05(0x20d)]=_0x5e9b80,_0x28abc9[_0x9b3b05(0x2cb)]['removeEventListener']=_0x2a0f98,we=_0x28abc9;function _0x354437(_0x5eabea,_0x4d079b,_0x8329cb,_0x5b769f){const _0x217ff1=_0x9b3b05,_0x770f74={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x12025d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5b769f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x217ff1(0x2bd),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5eabea['_autoPong']=_0x770f74['autoPong'],!_0x12025d[_0x217ff1(0x173)](_0x770f74[_0x217ff1(0x2eb)]))throw new RangeError(_0x217ff1(0x1f9)+_0x770f74[_0x217ff1(0x2eb)]+_0x217ff1(0x2f7)+_0x12025d[_0x217ff1(0x2c4)](',\x20')+')');let _0x50def5;if(_0x4d079b instanceof _0x5d6a57)_0x50def5=_0x4d079b;else try{_0x50def5=new _0x5d6a57(_0x4d079b);}catch{throw new SyntaxError(_0x217ff1(0x1a1)+_0x4d079b);}_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x18c)?_0x50def5['protocol']=_0x217ff1(0x155):_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x253)&&(_0x50def5[_0x217ff1(0x186)]=_0x217ff1(0x1af)),_0x5eabea[_0x217ff1(0x1ed)]=_0x50def5['href'];const _0x1f4611=_0x50def5['protocol']==='wss:',_0x18f8a3=_0x50def5[_0x217ff1(0x186)]===_0x217ff1(0x185);let _0x1c4871;if(_0x50def5[_0x217ff1(0x186)]!==_0x217ff1(0x155)&&!_0x1f4611&&!_0x18f8a3?_0x1c4871='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':_0x18f8a3&&!_0x50def5[_0x217ff1(0x2ac)]?_0x1c4871=_0x217ff1(0x24a):_0x50def5[_0x217ff1(0x213)]&&(_0x1c4871=_0x217ff1(0x23f)),_0x1c4871){const _0x2b7ba9=new SyntaxError(_0x1c4871);if(_0x5eabea[_0x217ff1(0x169)]===0x0)throw _0x2b7ba9;_0xd51329(_0x5eabea,_0x2b7ba9);return;}const _0xc8d087=_0x1f4611?0x1bb:0x50,_0x199451=_0x12e8cb(0x10)[_0x217ff1(0x264)](_0x217ff1(0x250)),_0x2703c2=_0x1f4611?_0x3bf6bd['request']:_0x45143b[_0x217ff1(0x2de)],_0x57eec9=new Set();let _0x3b54cb;if(_0x770f74[_0x217ff1(0x175)]=_0x770f74[_0x217ff1(0x175)]||(_0x1f4611?_0x6f461c:_0x22a60f),_0x770f74[_0x217ff1(0x29f)]=_0x770f74[_0x217ff1(0x29f)]||_0xc8d087,_0x770f74[_0x217ff1(0x2b0)]=_0x50def5['port']||_0xc8d087,_0x770f74[_0x217ff1(0x24c)]=_0x50def5[_0x217ff1(0x165)][_0x217ff1(0x2f8)]('[')?_0x50def5['hostname'][_0x217ff1(0x2e8)](0x1,-0x1):_0x50def5[_0x217ff1(0x165)],_0x770f74['headers']={..._0x770f74[_0x217ff1(0x1a5)],'Sec-WebSocket-Version':_0x770f74[_0x217ff1(0x2eb)],'Sec-WebSocket-Key':_0x199451,'Connection':'Upgrade','Upgrade':_0x217ff1(0x26c)},_0x770f74[_0x217ff1(0x25d)]=_0x50def5[_0x217ff1(0x2ac)]+_0x50def5[_0x217ff1(0x1b4)],_0x770f74[_0x217ff1(0x1dc)]=_0x770f74['handshakeTimeout'],_0x770f74[_0x217ff1(0x2bb)]&&(_0x3b54cb=new _0x280833(_0x770f74[_0x217ff1(0x2bb)]!==!0x0?_0x770f74[_0x217ff1(0x2bb)]:{},!0x1,_0x770f74[_0x217ff1(0x1b6)]),_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x246)]=_0x5e75de({[_0x280833[_0x217ff1(0x28e)]]:_0x3b54cb[_0x217ff1(0x22e)]()})),_0x8329cb[_0x217ff1(0x2fc)]){for(const _0x201607 of _0x8329cb){if(typeof _0x201607!=_0x217ff1(0x26e)||!_0xf95648['test'](_0x201607)||_0x57eec9[_0x217ff1(0x1f6)](_0x201607))throw new SyntaxError(_0x217ff1(0x2f1));_0x57eec9[_0x217ff1(0x181)](_0x201607);}_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x2b6)]=_0x8329cb[_0x217ff1(0x2c4)](',');}if(_0x770f74[_0x217ff1(0x1d8)]&&(_0x770f74['protocolVersion']<0xd?_0x770f74['headers']['Sec-WebSocket-Origin']=_0x770f74[_0x217ff1(0x1d8)]:_0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x1ff)]=_0x770f74[_0x217ff1(0x1d8)]),(_0x50def5[_0x217ff1(0x2bc)]||_0x50def5[_0x217ff1(0x1c0)])&&(_0x770f74['auth']=_0x50def5[_0x217ff1(0x2bc)]+':'+_0x50def5['password']),_0x18f8a3){const _0x534311=_0x770f74['path'][_0x217ff1(0x170)](':');_0x770f74[_0x217ff1(0x251)]=_0x534311[0x0],_0x770f74['path']=_0x534311[0x1];}let _0x3b095c;if(_0x770f74[_0x217ff1(0x2ce)]){if(_0x5eabea[_0x217ff1(0x169)]===0x0){_0x5eabea['_originalIpc']=_0x18f8a3,_0x5eabea[_0x217ff1(0x2fe)]=_0x1f4611,_0x5eabea['_originalHostOrSocketPath']=_0x18f8a3?_0x770f74[_0x217ff1(0x251)]:_0x50def5[_0x217ff1(0x24c)];const _0x51be1f=_0x5b769f&&_0x5b769f[_0x217ff1(0x1a5)];if(_0x5b769f={..._0x5b769f,'headers':{}},_0x51be1f){for(const [_0x514086,_0x610857]of Object[_0x217ff1(0x1e9)](_0x51be1f))_0x5b769f['headers'][_0x514086['toLowerCase']()]=_0x610857;}}else{if(_0x5eabea[_0x217ff1(0x27f)](_0x217ff1(0x290))===0x0){const _0xeabf27=_0x18f8a3?_0x5eabea['_originalIpc']?_0x770f74[_0x217ff1(0x251)]===_0x5eabea['_originalHostOrSocketPath']:!0x1:_0x5eabea['_originalIpc']?!0x1:_0x50def5['host']===_0x5eabea[_0x217ff1(0x2c0)];(!_0xeabf27||_0x5eabea['_originalSecure']&&!_0x1f4611)&&(delete _0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)],delete _0x770f74['headers'][_0x217ff1(0x218)],_0xeabf27||delete _0x770f74[_0x217ff1(0x1a5)][_0x217ff1(0x24c)],_0x770f74[_0x217ff1(0x17a)]=void 0x0);}}_0x770f74[_0x217ff1(0x17a)]&&!_0x5b769f[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)]&&(_0x5b769f[_0x217ff1(0x1a5)][_0x217ff1(0x2bf)]=_0x217ff1(0x2a1)+Buffer['from'](_0x770f74[_0x217ff1(0x17a)])[_0x217ff1(0x264)]('base64')),_0x3b095c=_0x5eabea[_0x217ff1(0x2fb)]=_0x2703c2(_0x770f74),_0x5eabea[_0x217ff1(0x169)]&&_0x5eabea[_0x217ff1(0x224)]('redirect',_0x5eabea[_0x217ff1(0x1aa)],_0x3b095c);}else _0x3b095c=_0x5eabea[_0x217ff1(0x2fb)]=_0x2703c2(_0x770f74);_0x770f74[_0x217ff1(0x1dc)]&&_0x3b095c['on'](_0x217ff1(0x1dc),()=>{const _0x30acae=_0x217ff1;_0x37e9b9(_0x5eabea,_0x3b095c,_0x30acae(0x291));}),_0x3b095c['on']('error',_0x4196ed=>{_0x3b095c===null||_0x3b095c[_0x46c90f]||(_0x3b095c=_0x5eabea['_req']=null,_0xd51329(_0x5eabea,_0x4196ed));}),_0x3b095c['on']('response',_0x164895=>{const _0xbf3d=_0x217ff1,_0x4adc90=_0x164895[_0xbf3d(0x1a5)][_0xbf3d(0x1fa)],_0x25cffa=_0x164895[_0xbf3d(0x24f)];if(_0x4adc90&&_0x770f74[_0xbf3d(0x2ce)]&&_0x25cffa>=0x12c&&_0x25cffa<0x190){if(++_0x5eabea['_redirects']>_0x770f74[_0xbf3d(0x15a)]){_0x37e9b9(_0x5eabea,_0x3b095c,_0xbf3d(0x25e));return;}_0x3b095c[_0xbf3d(0x23e)]();let _0x2a2298;try{_0x2a2298=new _0x5d6a57(_0x4adc90,_0x4d079b);}catch{const _0xcc8bef=new SyntaxError(_0xbf3d(0x1a1)+_0x4adc90);_0xd51329(_0x5eabea,_0xcc8bef);return;}_0x354437(_0x5eabea,_0x2a2298,_0x8329cb,_0x5b769f);}else _0x5eabea[_0xbf3d(0x224)](_0xbf3d(0x294),_0x3b095c,_0x164895)||_0x37e9b9(_0x5eabea,_0x3b095c,_0xbf3d(0x162)+_0x164895[_0xbf3d(0x24f)]);}),_0x3b095c['on']('upgrade',(_0x4f1ed1,_0x5220fa,_0x2adfae)=>{const _0xa20350=_0x217ff1;if(_0x5eabea[_0xa20350(0x224)](_0xa20350(0x274),_0x4f1ed1),_0x5eabea['readyState']!==_0x28abc9[_0xa20350(0x19e)])return;_0x3b095c=_0x5eabea[_0xa20350(0x2fb)]=null;const _0x157acc=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x274)];if(_0x157acc===void 0x0||_0x157acc[_0xa20350(0x227)]()!==_0xa20350(0x26c)){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x2df));return;}const _0x2d4140=_0x1ec6ab('sha1')[_0xa20350(0x23d)](_0x199451+_0x2371f9)['digest'](_0xa20350(0x250));if(_0x4f1ed1[_0xa20350(0x1a5)]['sec-websocket-accept']!==_0x2d4140){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x215));return;}const _0x4dfce1=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x249)];let _0xa9230b;if(_0x4dfce1!==void 0x0?_0x57eec9[_0xa20350(0x2e2)]?_0x57eec9[_0xa20350(0x1f6)](_0x4dfce1)||(_0xa9230b=_0xa20350(0x1c5)):_0xa9230b=_0xa20350(0x1fe):_0x57eec9[_0xa20350(0x2e2)]&&(_0xa9230b=_0xa20350(0x15d)),_0xa9230b){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa9230b);return;}_0x4dfce1&&(_0x5eabea['_protocol']=_0x4dfce1);const _0x537d37=_0x4f1ed1[_0xa20350(0x1a5)][_0xa20350(0x25f)];if(_0x537d37!==void 0x0){if(!_0x3b54cb){_0x37e9b9(_0x5eabea,_0x5220fa,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x64aa00;try{_0x64aa00=_0x4a1cb0(_0x537d37);}catch{_0x37e9b9(_0x5eabea,_0x5220fa,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x4a151a=Object[_0xa20350(0x269)](_0x64aa00);if(_0x4a151a[_0xa20350(0x2fc)]!==0x1||_0x4a151a[0x0]!==_0x280833[_0xa20350(0x28e)]){_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x1c6));return;}try{_0x3b54cb[_0xa20350(0x284)](_0x64aa00[_0x280833[_0xa20350(0x28e)]]);}catch{_0x37e9b9(_0x5eabea,_0x5220fa,_0xa20350(0x1d5));return;}_0x5eabea[_0xa20350(0x1bd)][_0x280833['extensionName']]=_0x3b54cb;}_0x5eabea[_0xa20350(0x2c8)](_0x5220fa,_0x2adfae,{'allowSynchronousEvents':_0x770f74[_0xa20350(0x19c)],'generateMask':_0x770f74['generateMask'],'maxPayload':_0x770f74['maxPayload'],'skipUTF8Validation':_0x770f74['skipUTF8Validation']});}),_0x770f74[_0x217ff1(0x2ca)]?_0x770f74[_0x217ff1(0x2ca)](_0x3b095c,_0x5eabea):_0x3b095c[_0x217ff1(0x268)]();}function _0xd51329(_0x3df707,_0x5a2fcf){const _0x13eea2=_0x9b3b05;_0x3df707[_0x13eea2(0x279)]=_0x28abc9[_0x13eea2(0x193)],_0x3df707[_0x13eea2(0x288)]=!0x0,_0x3df707[_0x13eea2(0x224)](_0x13eea2(0x1eb),_0x5a2fcf),_0x3df707[_0x13eea2(0x300)]();}function _0x22a60f(_0xfadc76){const _0x1d349c=_0x9b3b05;return _0xfadc76[_0x1d349c(0x25d)]=_0xfadc76['socketPath'],_0x55eaf1[_0x1d349c(0x2dd)](_0xfadc76);}function _0x6f461c(_0x5e346e){const _0x159815=_0x9b3b05;return _0x5e346e[_0x159815(0x25d)]=void 0x0,!_0x5e346e[_0x159815(0x176)]&&_0x5e346e[_0x159815(0x176)]!==''&&(_0x5e346e['servername']=_0x55eaf1['isIP'](_0x5e346e[_0x159815(0x24c)])?'':_0x5e346e[_0x159815(0x24c)]),_0x4a2f8c[_0x159815(0x2dd)](_0x5e346e);}function _0x37e9b9(_0x13274a,_0x1d9d1d,_0x226706){const _0x343957=_0x9b3b05;_0x13274a[_0x343957(0x279)]=_0x28abc9['CLOSING'];const _0x1b1368=new Error(_0x226706);Error[_0x343957(0x21d)](_0x1b1368,_0x37e9b9),_0x1d9d1d[_0x343957(0x2a4)]?(_0x1d9d1d[_0x46c90f]=!0x0,_0x1d9d1d[_0x343957(0x23e)](),_0x1d9d1d['socket']&&!_0x1d9d1d[_0x343957(0x1bb)]['destroyed']&&_0x1d9d1d[_0x343957(0x1bb)][_0x343957(0x1e4)](),process[_0x343957(0x280)](_0xd51329,_0x13274a,_0x1b1368)):(_0x1d9d1d[_0x343957(0x1e4)](_0x1b1368),_0x1d9d1d[_0x343957(0x235)](_0x343957(0x1eb),_0x13274a[_0x343957(0x224)][_0x343957(0x201)](_0x13274a,'error')),_0x1d9d1d[_0x343957(0x235)]('close',_0x13274a['emitClose'][_0x343957(0x201)](_0x13274a)));}function _0x34d4fb(_0x82f5cc,_0x3fda5f,_0x245629){const _0x2fdc3c=_0x9b3b05;if(_0x3fda5f){const _0x3167e2=_0x4574a4(_0x3fda5f)?_0x3fda5f['size']:_0x3056c5(_0x3fda5f)[_0x2fdc3c(0x2fc)];_0x82f5cc[_0x2fdc3c(0x281)]?_0x82f5cc[_0x2fdc3c(0x2a2)][_0x2fdc3c(0x187)]+=_0x3167e2:_0x82f5cc[_0x2fdc3c(0x231)]+=_0x3167e2;}if(_0x245629){const _0x474fae=new Error(_0x2fdc3c(0x1d3)+_0x82f5cc[_0x2fdc3c(0x25c)]+'\x20('+_0x279c4d[_0x82f5cc[_0x2fdc3c(0x25c)]]+')');process[_0x2fdc3c(0x280)](_0x245629,_0x474fae);}}function _0x1b7177(_0x5e7353,_0x25a2e5){const _0x4477b7=_0x9b3b05,_0x4cb7ce=this[_0x277f07];_0x4cb7ce[_0x4477b7(0x2ae)]=!0x0,_0x4cb7ce[_0x4477b7(0x1db)]=_0x25a2e5,_0x4cb7ce['_closeCode']=_0x5e7353,_0x4cb7ce[_0x4477b7(0x281)][_0x277f07]!==void 0x0&&(_0x4cb7ce[_0x4477b7(0x281)][_0x4477b7(0x282)](_0x4477b7(0x17e),_0x24a2df),process[_0x4477b7(0x280)](_0x14b6de,_0x4cb7ce['_socket']),_0x5e7353===0x3ed?_0x4cb7ce[_0x4477b7(0x1d2)]():_0x4cb7ce['close'](_0x5e7353,_0x25a2e5));}function _0x146954(){const _0x167e0c=_0x9b3b05,_0x514d68=this[_0x277f07];_0x514d68['isPaused']||_0x514d68[_0x167e0c(0x281)]['resume']();}function _0x44e26a(_0x18fe64){const _0x5bbb0a=_0x9b3b05,_0x225a06=this[_0x277f07];_0x225a06[_0x5bbb0a(0x281)][_0x277f07]!==void 0x0&&(_0x225a06[_0x5bbb0a(0x281)]['removeListener'](_0x5bbb0a(0x17e),_0x24a2df),process[_0x5bbb0a(0x280)](_0x14b6de,_0x225a06[_0x5bbb0a(0x281)]),_0x225a06[_0x5bbb0a(0x1d2)](_0x18fe64[_0x11dd16])),_0x225a06[_0x5bbb0a(0x288)]||(_0x225a06[_0x5bbb0a(0x288)]=!0x0,_0x225a06[_0x5bbb0a(0x224)](_0x5bbb0a(0x1eb),_0x18fe64));}function _0x7580b(){const _0x478ec2=_0x9b3b05;this[_0x277f07][_0x478ec2(0x300)]();}function _0xa2db24(_0x1a8055,_0x4c6dfc){const _0x191da7=_0x9b3b05;this[_0x277f07][_0x191da7(0x224)](_0x191da7(0x259),_0x1a8055,_0x4c6dfc);}function _0x30eec6(_0x57a025){const _0x285374=_0x9b3b05,_0x356057=this[_0x277f07];_0x356057[_0x285374(0x25a)]&&_0x356057[_0x285374(0x19a)](_0x57a025,!this['_isServer'],_0x3627f2),_0x356057[_0x285374(0x224)]('ping',_0x57a025);}function _0x16d384(_0x231078){const _0x59ab57=_0x9b3b05;this[_0x277f07][_0x59ab57(0x224)](_0x59ab57(0x19a),_0x231078);}function _0x14b6de(_0x3211b0){const _0x429f5=_0x9b3b05;_0x3211b0[_0x429f5(0x205)]();}function _0x281e7e(_0x2420af){const _0x25b07b=_0x9b3b05,_0x3ae190=this[_0x277f07];_0x3ae190[_0x25b07b(0x25c)]!==_0x28abc9[_0x25b07b(0x18b)]&&(_0x3ae190['readyState']===_0x28abc9[_0x25b07b(0x1df)]&&(_0x3ae190['_readyState']=_0x28abc9[_0x25b07b(0x193)],_0x3ef795(_0x3ae190)),this[_0x25b07b(0x281)][_0x25b07b(0x268)](),_0x3ae190[_0x25b07b(0x288)]||(_0x3ae190[_0x25b07b(0x288)]=!0x0,_0x3ae190['emit'](_0x25b07b(0x1eb),_0x2420af)));}function _0x3ef795(_0x805c12){const _0x1a276f=_0x9b3b05;_0x805c12['_closeTimer']=setTimeout(_0x805c12[_0x1a276f(0x281)][_0x1a276f(0x1e4)]['bind'](_0x805c12[_0x1a276f(0x281)]),_0x4bd6e7);}function _0x347159(){const _0x4595d7=_0x9b3b05,_0x42a95a=this[_0x277f07];this['removeListener'](_0x4595d7(0x1d2),_0x347159),this[_0x4595d7(0x282)](_0x4595d7(0x17e),_0x24a2df),this['removeListener'](_0x4595d7(0x268),_0x1b754a),_0x42a95a['_readyState']=_0x28abc9[_0x4595d7(0x193)];let _0x5a21fc;!this[_0x4595d7(0x153)]['endEmitted']&&!_0x42a95a[_0x4595d7(0x2ae)]&&!_0x42a95a[_0x4595d7(0x2ab)][_0x4595d7(0x164)]['errorEmitted']&&(_0x5a21fc=_0x42a95a[_0x4595d7(0x281)][_0x4595d7(0x283)]())!==null&&_0x42a95a['_receiver'][_0x4595d7(0x18a)](_0x5a21fc),_0x42a95a['_receiver'][_0x4595d7(0x268)](),this[_0x277f07]=void 0x0,clearTimeout(_0x42a95a[_0x4595d7(0x179)]),_0x42a95a[_0x4595d7(0x2ab)][_0x4595d7(0x164)][_0x4595d7(0x26b)]||_0x42a95a[_0x4595d7(0x2ab)]['_writableState']['errorEmitted']?_0x42a95a['emitClose']():(_0x42a95a[_0x4595d7(0x2ab)]['on']('error',_0x7580b),_0x42a95a[_0x4595d7(0x2ab)]['on'](_0x4595d7(0x184),_0x7580b));}function _0x24a2df(_0xff3df){const _0xd6dbec=_0x9b3b05;this[_0x277f07]['_receiver'][_0xd6dbec(0x18a)](_0xff3df)||this[_0xd6dbec(0x1d1)]();}function _0x1b754a(){const _0x4e5d33=_0x9b3b05,_0x402418=this[_0x277f07];_0x402418['_readyState']=_0x28abc9[_0x4e5d33(0x193)],_0x402418['_receiver'][_0x4e5d33(0x268)](),this[_0x4e5d33(0x268)]();}function _0x36150d(){const _0x1de9c8=_0x9b3b05,_0x56c5d5=this[_0x277f07];this[_0x1de9c8(0x282)](_0x1de9c8(0x1eb),_0x36150d),this['on'](_0x1de9c8(0x1eb),_0x3627f2),_0x56c5d5&&(_0x56c5d5['_readyState']=_0x28abc9[_0x1de9c8(0x193)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x245c8f}=_0x551648;function _0xc6b16a(_0x26ff55){const _0x13e473=_0x3fa4;_0x26ff55[_0x13e473(0x224)](_0x13e473(0x1d2));}function _0x4c71d9(){const _0x26e759=_0x3fa4;!this[_0x26e759(0x2e6)]&&this[_0x26e759(0x164)][_0x26e759(0x26b)]&&this[_0x26e759(0x1e4)]();}function _0x4a6102(_0x308e77){const _0xd3617b=_0x3fa4;this[_0xd3617b(0x282)](_0xd3617b(0x1eb),_0x4a6102),this[_0xd3617b(0x1e4)](),this[_0xd3617b(0x27f)](_0xd3617b(0x1eb))===0x0&&this[_0xd3617b(0x224)]('error',_0x308e77);}function _0x1fdecd(_0x1f0663,_0x4883b7){const _0x3b18f3=_0x3fa4;let _0x34158e=!0x0;const _0x5a82f6=new _0x245c8f({..._0x4883b7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f0663['on'](_0x3b18f3(0x259),function(_0x44bae1,_0x1f7b02){const _0x1cadbf=_0x3b18f3,_0x3a81ce=!_0x1f7b02&&_0x5a82f6[_0x1cadbf(0x153)][_0x1cadbf(0x225)]?_0x44bae1[_0x1cadbf(0x264)]():_0x44bae1;_0x5a82f6[_0x1cadbf(0x1f3)](_0x3a81ce)||_0x1f0663[_0x1cadbf(0x1d1)]();}),_0x1f0663['once'](_0x3b18f3(0x1eb),function(_0x1da158){const _0x54a0cb=_0x3b18f3;_0x5a82f6[_0x54a0cb(0x2e6)]||(_0x34158e=!0x1,_0x5a82f6[_0x54a0cb(0x1e4)](_0x1da158));}),_0x1f0663[_0x3b18f3(0x235)](_0x3b18f3(0x1d2),function(){const _0x1c4598=_0x3b18f3;_0x5a82f6[_0x1c4598(0x2e6)]||_0x5a82f6['push'](null);}),_0x5a82f6[_0x3b18f3(0x223)]=function(_0x32b177,_0x2dde75){const _0xbcac5c=_0x3b18f3;if(_0x1f0663[_0xbcac5c(0x25c)]===_0x1f0663[_0xbcac5c(0x18b)]){_0x2dde75(_0x32b177),process[_0xbcac5c(0x280)](_0xc6b16a,_0x5a82f6);return;}let _0x4e3609=!0x1;_0x1f0663['once'](_0xbcac5c(0x1eb),function(_0x373fee){_0x4e3609=!0x0,_0x2dde75(_0x373fee);}),_0x1f0663['once']('close',function(){const _0x358a23=_0xbcac5c;_0x4e3609||_0x2dde75(_0x32b177),process[_0x358a23(0x280)](_0xc6b16a,_0x5a82f6);}),_0x34158e&&_0x1f0663[_0xbcac5c(0x241)]();},_0x5a82f6[_0x3b18f3(0x22f)]=function(_0x24dd9b){const _0x53e7b1=_0x3b18f3;if(_0x1f0663[_0x53e7b1(0x25c)]===_0x1f0663[_0x53e7b1(0x19e)]){_0x1f0663['once'](_0x53e7b1(0x2a0),function(){const _0xef20fb=_0x53e7b1;_0x5a82f6[_0xef20fb(0x22f)](_0x24dd9b);});return;}_0x1f0663[_0x53e7b1(0x281)]!==null&&(_0x1f0663[_0x53e7b1(0x281)]['_writableState'][_0x53e7b1(0x26b)]?(_0x24dd9b(),_0x5a82f6['_readableState'][_0x53e7b1(0x1dd)]&&_0x5a82f6[_0x53e7b1(0x1e4)]()):(_0x1f0663[_0x53e7b1(0x281)][_0x53e7b1(0x235)](_0x53e7b1(0x184),function(){_0x24dd9b();}),_0x1f0663[_0x53e7b1(0x1d2)]()));},_0x5a82f6[_0x3b18f3(0x221)]=function(){const _0x4f9e87=_0x3b18f3;_0x1f0663[_0x4f9e87(0x161)]&&_0x1f0663['resume']();},_0x5a82f6['_write']=function(_0x3f8586,_0x1679f0,_0x3e337e){const _0x162f1e=_0x3b18f3;if(_0x1f0663[_0x162f1e(0x25c)]===_0x1f0663[_0x162f1e(0x19e)]){_0x1f0663['once'](_0x162f1e(0x2a0),function(){const _0x226a03=_0x162f1e;_0x5a82f6[_0x226a03(0x234)](_0x3f8586,_0x1679f0,_0x3e337e);});return;}_0x1f0663[_0x162f1e(0x168)](_0x3f8586,_0x3e337e);},_0x5a82f6['on'](_0x3b18f3(0x268),_0x4c71d9),_0x5a82f6['on'](_0x3b18f3(0x1eb),_0x4a6102),_0x5a82f6;}return Oe=_0x1fdecd,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xeef617}=ne();function _0x41f06d(_0x4bfbed){const _0x215956=_0x3fa4,_0x3b44ea=new Set();let _0x46e0da=-0x1,_0x706b09=-0x1,_0x13ec78=0x0;for(_0x13ec78;_0x13ec78<_0x4bfbed['length'];_0x13ec78++){const _0x3ef572=_0x4bfbed[_0x215956(0x301)](_0x13ec78);if(_0x706b09===-0x1&&_0xeef617[_0x3ef572]===0x1)_0x46e0da===-0x1&&(_0x46e0da=_0x13ec78);else{if(_0x13ec78!==0x0&&(_0x3ef572===0x20||_0x3ef572===0x9))_0x706b09===-0x1&&_0x46e0da!==-0x1&&(_0x706b09=_0x13ec78);else{if(_0x3ef572===0x2c){if(_0x46e0da===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13ec78);_0x706b09===-0x1&&(_0x706b09=_0x13ec78);const _0x4152dc=_0x4bfbed[_0x215956(0x2e8)](_0x46e0da,_0x706b09);if(_0x3b44ea[_0x215956(0x1f6)](_0x4152dc))throw new SyntaxError(_0x215956(0x2e4)+_0x4152dc+_0x215956(0x2b1));_0x3b44ea[_0x215956(0x181)](_0x4152dc),_0x46e0da=_0x706b09=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x13ec78);}}}if(_0x46e0da===-0x1||_0x706b09!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0xb0e779=_0x4bfbed[_0x215956(0x2e8)](_0x46e0da,_0x13ec78);if(_0x3b44ea[_0x215956(0x1f6)](_0xb0e779))throw new SyntaxError(_0x215956(0x2e4)+_0xb0e779+_0x215956(0x2b1));return _0x3b44ea[_0x215956(0x181)](_0xb0e779),_0x3b44ea;}return Ce={'parse':_0x41f06d},Ce;}var Te,ot;function er(){const _0x2a84d5=_0x13d6a6;if(ot)return Te;ot=0x1;const _0x2206b6=_0xad065c,_0x18ad8d=_0x5f236e,{Duplex:_0x4864dc}=_0x551648,{createHash:_0x46c2f0}=_0x185a77,_0x52e9f8=pt(),_0x3ff2d6=he(),_0x15e7f2=Jt(),_0x17e10a=Ie(),{GUID:_0x1a8073,kWebSocket:_0x2c163d}=V(),_0x3772a3=/^[+/0-9A-Za-z]{22}==$/,_0x382dde=0x0,_0x4cc14b=0x1,_0x454d6a=0x2;class _0x4dce7b extends _0x2206b6{constructor(_0x380fbf,_0x33012f){const _0x36d753=_0x3fa4;if(super(),_0x380fbf={'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':_0x17e10a,..._0x380fbf},_0x380fbf[_0x36d753(0x2b0)]==null&&!_0x380fbf['server']&&!_0x380fbf[_0x36d753(0x2fa)]||_0x380fbf[_0x36d753(0x2b0)]!=null&&(_0x380fbf[_0x36d753(0x166)]||_0x380fbf['noServer'])||_0x380fbf[_0x36d753(0x166)]&&_0x380fbf[_0x36d753(0x2fa)])throw new TypeError(_0x36d753(0x2ed));if(_0x380fbf[_0x36d753(0x2b0)]!=null?(this['_server']=_0x18ad8d[_0x36d753(0x1e5)]((_0xebb3b3,_0x4e9f3f)=>{const _0x12f732=_0x36d753,_0x318233=_0x18ad8d['STATUS_CODES'][0x1aa];_0x4e9f3f[_0x12f732(0x20e)](0x1aa,{'Content-Length':_0x318233[_0x12f732(0x2fc)],'Content-Type':_0x12f732(0x240)}),_0x4e9f3f[_0x12f732(0x268)](_0x318233);}),this[_0x36d753(0x266)][_0x36d753(0x233)](_0x380fbf[_0x36d753(0x2b0)],_0x380fbf[_0x36d753(0x24c)],_0x380fbf[_0x36d753(0x26d)],_0x33012f)):_0x380fbf[_0x36d753(0x166)]&&(this[_0x36d753(0x266)]=_0x380fbf[_0x36d753(0x166)]),this[_0x36d753(0x266)]){const _0xfaa8d4=this['emit'][_0x36d753(0x201)](this,_0x36d753(0x1d4));this['_removeListeners']=_0x1bdc4e(this['_server'],{'listening':this[_0x36d753(0x224)][_0x36d753(0x201)](this,_0x36d753(0x1e8)),'error':this['emit'][_0x36d753(0x201)](this,_0x36d753(0x1eb)),'upgrade':(_0xa1da8c,_0x4280d1,_0x3000e8)=>{const _0x441788=_0x36d753;this[_0x441788(0x27e)](_0xa1da8c,_0x4280d1,_0x3000e8,_0xfaa8d4);}});}_0x380fbf[_0x36d753(0x2bb)]===!0x0&&(_0x380fbf[_0x36d753(0x2bb)]={}),_0x380fbf[_0x36d753(0x22a)]&&(this[_0x36d753(0x16e)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x36d753(0x1a2)]=_0x380fbf,this[_0x36d753(0x230)]=_0x382dde;}[_0x2a84d5(0x200)](){const _0x221101=_0x2a84d5;if(this[_0x221101(0x1a2)][_0x221101(0x2fa)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x221101(0x266)][_0x221101(0x200)]():null;}[_0x2a84d5(0x1d2)](_0x5d213e){const _0x20f227=_0x2a84d5;if(this[_0x20f227(0x230)]===_0x454d6a){_0x5d213e&&this['once'](_0x20f227(0x1d2),()=>{_0x5d213e(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x20f227(0x280)](_0x5dd752,this);return;}if(_0x5d213e&&this[_0x20f227(0x235)]('close',_0x5d213e),this['_state']!==_0x4cc14b){if(this[_0x20f227(0x230)]=_0x4cc14b,this['options'][_0x20f227(0x2fa)]||this['options'][_0x20f227(0x166)])this[_0x20f227(0x266)]&&(this[_0x20f227(0x18f)](),this[_0x20f227(0x18f)]=this[_0x20f227(0x266)]=null),this[_0x20f227(0x16e)]?this[_0x20f227(0x16e)]['size']?this['_shouldEmitClose']=!0x0:process[_0x20f227(0x280)](_0x5dd752,this):process['nextTick'](_0x5dd752,this);else{const _0x556d39=this[_0x20f227(0x266)];this[_0x20f227(0x18f)](),this[_0x20f227(0x18f)]=this[_0x20f227(0x266)]=null,_0x556d39[_0x20f227(0x1d2)](()=>{_0x5dd752(this);});}}}[_0x2a84d5(0x16f)](_0x2c62ca){const _0x5c437d=_0x2a84d5;if(this[_0x5c437d(0x1a2)][_0x5c437d(0x25d)]){const _0x4736b9=_0x2c62ca[_0x5c437d(0x1aa)]['indexOf']('?');if((_0x4736b9!==-0x1?_0x2c62ca[_0x5c437d(0x1aa)][_0x5c437d(0x2e8)](0x0,_0x4736b9):_0x2c62ca['url'])!==this[_0x5c437d(0x1a2)][_0x5c437d(0x25d)])return!0x1;}return!0x0;}[_0x2a84d5(0x27e)](_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6){const _0x50db26=_0x2a84d5;_0x5a74df['on'](_0x50db26(0x1eb),_0xd5897a);const _0x5ab79a=_0x21e97e[_0x50db26(0x1a5)]['sec-websocket-key'],_0x2a3c48=_0x21e97e[_0x50db26(0x1a5)]['upgrade'],_0x37e55d=+_0x21e97e[_0x50db26(0x1a5)][_0x50db26(0x287)];if(_0x21e97e[_0x50db26(0x296)]!==_0x50db26(0x2bd)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x195,_0x50db26(0x1ae));return;}if(_0x2a3c48===void 0x0||_0x2a3c48[_0x50db26(0x227)]()!==_0x50db26(0x26c)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x2df));return;}if(_0x5ab79a===void 0x0||!_0x3772a3[_0x50db26(0x272)](_0x5ab79a)){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x237));return;}if(_0x37e55d!==0xd&&_0x37e55d!==0x8){_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x17b),{'Sec-WebSocket-Version':_0x50db26(0x2e3)});return;}if(!this['shouldHandle'](_0x21e97e)){_0x421b18(_0x5a74df,0x190);return;}const _0xdb286b=_0x21e97e[_0x50db26(0x1a5)]['sec-websocket-protocol'];let _0x259ec1=new Set();if(_0xdb286b!==void 0x0)try{_0x259ec1=_0x15e7f2[_0x50db26(0x263)](_0xdb286b);}catch{_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x14b498=_0x21e97e[_0x50db26(0x1a5)][_0x50db26(0x25f)],_0x43ea53={};if(this['options'][_0x50db26(0x2bb)]&&_0x14b498!==void 0x0){const _0x32924f=new _0x3ff2d6(this[_0x50db26(0x1a2)][_0x50db26(0x2bb)],!0x0,this[_0x50db26(0x1a2)][_0x50db26(0x1b6)]);try{const _0x539b2d=_0x52e9f8[_0x50db26(0x263)](_0x14b498);_0x539b2d[_0x3ff2d6[_0x50db26(0x28e)]]&&(_0x32924f[_0x50db26(0x284)](_0x539b2d[_0x3ff2d6[_0x50db26(0x28e)]]),_0x43ea53[_0x3ff2d6[_0x50db26(0x28e)]]=_0x32924f);}catch{_0x4cd280(this,_0x21e97e,_0x5a74df,0x190,_0x50db26(0x197));return;}}if(this[_0x50db26(0x1a2)][_0x50db26(0x24d)]){const _0x3b1f28={'origin':_0x21e97e[_0x50db26(0x1a5)][''+(_0x37e55d===0x8?_0x50db26(0x236):_0x50db26(0x1d8))],'secure':!!(_0x21e97e[_0x50db26(0x1bb)][_0x50db26(0x202)]||_0x21e97e[_0x50db26(0x1bb)][_0x50db26(0x190)]),'req':_0x21e97e};if(this[_0x50db26(0x1a2)]['verifyClient'][_0x50db26(0x2fc)]===0x2){this[_0x50db26(0x1a2)][_0x50db26(0x24d)](_0x3b1f28,(_0x595ee1,_0x5920a7,_0xb2c547,_0x44bf3f)=>{const _0x2467fb=_0x50db26;if(!_0x595ee1)return _0x421b18(_0x5a74df,_0x5920a7||0x191,_0xb2c547,_0x44bf3f);this[_0x2467fb(0x1f7)](_0x43ea53,_0x5ab79a,_0x259ec1,_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6);});return;}if(!this[_0x50db26(0x1a2)][_0x50db26(0x24d)](_0x3b1f28))return _0x421b18(_0x5a74df,0x191);}this[_0x50db26(0x1f7)](_0x43ea53,_0x5ab79a,_0x259ec1,_0x21e97e,_0x5a74df,_0x5e87c8,_0x6feec6);}[_0x2a84d5(0x1f7)](_0x3da30d,_0x20471b,_0x3f7c69,_0x26bc75,_0x1eec65,_0x16e96a,_0x1544ca){const _0xf29a92=_0x2a84d5;if(!_0x1eec65[_0xf29a92(0x182)]||!_0x1eec65[_0xf29a92(0x20a)])return _0x1eec65[_0xf29a92(0x1e4)]();if(_0x1eec65[_0x2c163d])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xf29a92(0x230)]>_0x382dde)return _0x421b18(_0x1eec65,0x1f7);const _0x2e2d9b=[_0xf29a92(0x1c9),_0xf29a92(0x2cc),_0xf29a92(0x17c),_0xf29a92(0x289)+_0x46c2f0('sha1')['update'](_0x20471b+_0x1a8073)[_0xf29a92(0x1d7)]('base64')],_0x3dcb17=new this['options'][(_0xf29a92(0x285))](null,void 0x0,this[_0xf29a92(0x1a2)]);if(_0x3f7c69['size']){const _0x265834=this[_0xf29a92(0x1a2)]['handleProtocols']?this[_0xf29a92(0x1a2)]['handleProtocols'](_0x3f7c69,_0x26bc75):_0x3f7c69[_0xf29a92(0x27b)]()['next']()[_0xf29a92(0x257)];_0x265834&&(_0x2e2d9b[_0xf29a92(0x1f3)](_0xf29a92(0x1a8)+_0x265834),_0x3dcb17[_0xf29a92(0x1a6)]=_0x265834);}if(_0x3da30d[_0x3ff2d6[_0xf29a92(0x28e)]]){const _0x54d598=_0x3da30d[_0x3ff2d6[_0xf29a92(0x28e)]][_0xf29a92(0x2f6)],_0x1b3259=_0x52e9f8[_0xf29a92(0x1b3)]({[_0x3ff2d6[_0xf29a92(0x28e)]]:[_0x54d598]});_0x2e2d9b[_0xf29a92(0x1f3)]('Sec-WebSocket-Extensions:\x20'+_0x1b3259),_0x3dcb17[_0xf29a92(0x1bd)]=_0x3da30d;}this[_0xf29a92(0x224)]('headers',_0x2e2d9b,_0x26bc75),_0x1eec65['write'](_0x2e2d9b[_0xf29a92(0x1bc)]('\x0d\x0a')[_0xf29a92(0x2c4)]('\x0d\x0a')),_0x1eec65[_0xf29a92(0x282)](_0xf29a92(0x1eb),_0xd5897a),_0x3dcb17[_0xf29a92(0x2c8)](_0x1eec65,_0x16e96a,{'allowSynchronousEvents':this[_0xf29a92(0x1a2)]['allowSynchronousEvents'],'maxPayload':this['options'][_0xf29a92(0x1b6)],'skipUTF8Validation':this[_0xf29a92(0x1a2)][_0xf29a92(0x254)]}),this[_0xf29a92(0x16e)]&&(this['clients'][_0xf29a92(0x181)](_0x3dcb17),_0x3dcb17['on'](_0xf29a92(0x1d2),()=>{const _0xc4fd92=_0xf29a92;this[_0xc4fd92(0x16e)]['delete'](_0x3dcb17),this[_0xc4fd92(0x217)]&&!this[_0xc4fd92(0x16e)]['size']&&process['nextTick'](_0x5dd752,this);})),_0x1544ca(_0x3dcb17,_0x26bc75);}}Te=_0x4dce7b;function _0x1bdc4e(_0x3d20df,_0x46c947){const _0x5b43a7=_0x2a84d5;for(const _0x4ebb83 of Object[_0x5b43a7(0x269)](_0x46c947))_0x3d20df['on'](_0x4ebb83,_0x46c947[_0x4ebb83]);return function(){for(const _0x5975c6 of Object['keys'](_0x46c947))_0x3d20df['removeListener'](_0x5975c6,_0x46c947[_0x5975c6]);};}function _0x5dd752(_0x413454){const _0x149c3c=_0x2a84d5;_0x413454[_0x149c3c(0x230)]=_0x454d6a,_0x413454['emit'](_0x149c3c(0x1d2));}function _0xd5897a(){const _0x23e642=_0x2a84d5;this[_0x23e642(0x1e4)]();}function _0x421b18(_0x602b67,_0x4dd91b,_0x1af80e,_0x40e77){const _0x43a176=_0x2a84d5;_0x1af80e=_0x1af80e||_0x18ad8d[_0x43a176(0x2f2)][_0x4dd91b],_0x40e77={'Connection':'close','Content-Type':_0x43a176(0x1ab),'Content-Length':Buffer[_0x43a176(0x2b8)](_0x1af80e),..._0x40e77},_0x602b67[_0x43a176(0x235)](_0x43a176(0x184),_0x602b67['destroy']),_0x602b67[_0x43a176(0x268)]('HTTP/1.1\x20'+_0x4dd91b+'\x20'+_0x18ad8d[_0x43a176(0x2f2)][_0x4dd91b]+'\x0d\x0a'+Object['keys'](_0x40e77)['map'](_0x188d56=>_0x188d56+':\x20'+_0x40e77[_0x188d56])[_0x43a176(0x2c4)]('\x0d\x0a')+_0x43a176(0x17f)+_0x1af80e);}function _0x4cd280(_0x40bbbb,_0x58d20a,_0x4c1de5,_0x4d2db9,_0x522139,_0x1b3f2d){const _0x36887b=_0x2a84d5;if(_0x40bbbb[_0x36887b(0x27f)]('wsClientError')){const _0x4577eb=new Error(_0x522139);Error[_0x36887b(0x21d)](_0x4577eb,_0x4cd280),_0x40bbbb[_0x36887b(0x224)](_0x36887b(0x1da),_0x4577eb,_0x4c1de5,_0x58d20a);}else _0x421b18(_0x4c1de5,_0x4d2db9,_0x522139,_0x1b3f2d);}return Te;}er();var tr=Object[_0x13d6a6(0x239)],rr=(_0x324015,_0xd4d108,_0x5d11b4,_0x386462)=>{const _0xe83d65=_0x13d6a6;for(var _0x38fd02=_0x386462>0x1?void 0x0:_0x386462?tr(_0xd4d108,_0x5d11b4):_0xd4d108,_0x1a32bb=_0x324015[_0xe83d65(0x2fc)]-0x1,_0x383603;_0x1a32bb>=0x0;_0x1a32bb--)(_0x383603=_0x324015[_0x1a32bb])&&(_0x38fd02=_0x383603(_0x38fd02)||_0x38fd02);return _0x38fd02;},sr=(_0x1ace4d,_0x4fe5e1)=>(_0x5747b2,_0x45d54d)=>_0x4fe5e1(_0x5747b2,_0x45d54d,_0x1ace4d);let Ne=class extends _0x32ac33{constructor(_0x421ac5){super(),this['_configService']=_0x421ac5;}['createSocket'](_0x283caa){const _0x2251a2=_0x13d6a6;var _0x1efd98;const _0x81b4b5=(_0x1efd98=this[_0x2251a2(0x1ec)][_0x2251a2(0x19f)](Be))==null?void 0x0:_0x1efd98[_0x2251a2(0x29a)];try{const _0x476082=new Qt(_0x283caa,{'headers':{..._0x81b4b5}}),_0x5ba5d8=new _0x22356f();return{'URL':_0x283caa,'close':(_0x5d6ccb,_0x36bf76)=>{const _0x578c19=_0x2251a2;_0x476082['close'](_0x5d6ccb,_0x36bf76),_0x5ba5d8[_0x578c19(0x1a0)]();},'send':_0x1a2a70=>{_0x476082['send'](_0x1a2a70);},'open$':new _0xe3e208(_0x410522=>{const _0x3612d9=_0x2251a2,_0x387761=_0x1c58d6=>_0x410522['next'](_0x1c58d6);_0x476082[_0x3612d9(0x20d)](_0x3612d9(0x2a0),_0x387761),_0x5ba5d8[_0x3612d9(0x181)](_0x3e87a1(()=>_0x476082[_0x3612d9(0x160)](_0x3612d9(0x2a0),_0x387761)));})[_0x2251a2(0x1ad)](_0x1381ce()),'close$':new _0xe3e208(_0x4edbaa=>{const _0x4659e1=_0x2251a2,_0x5ef7cd=_0x488094=>_0x4edbaa['next'](_0x488094);_0x476082[_0x4659e1(0x20d)](_0x4659e1(0x1d2),_0x5ef7cd),_0x5ba5d8[_0x4659e1(0x181)](_0x3e87a1(()=>_0x476082['removeEventListener'](_0x4659e1(0x1d2),_0x5ef7cd)));})[_0x2251a2(0x1ad)](_0x1381ce()),'error$':new _0xe3e208(_0x19fd57=>{const _0x49d151=_0x2251a2,_0x5c1214=_0x2a5dec=>_0x19fd57[_0x49d151(0x293)](_0x2a5dec);_0x476082[_0x49d151(0x20d)](_0x49d151(0x1eb),_0x5c1214),_0x5ba5d8[_0x49d151(0x181)](_0x3e87a1(()=>_0x476082[_0x49d151(0x160)]('error',_0x5c1214)));})[_0x2251a2(0x1ad)](_0x1381ce()),'message$':new _0xe3e208(_0x3d2fc2=>{const _0xe6b90b=_0x2251a2,_0x48a606=_0x3038b2=>_0x3d2fc2[_0xe6b90b(0x293)](_0x3038b2);_0x476082[_0xe6b90b(0x20d)]('message',_0x48a606),_0x5ba5d8[_0xe6b90b(0x181)](_0x3e87a1(()=>_0x476082[_0xe6b90b(0x160)](_0xe6b90b(0x259),_0x48a606)));})['pipe'](_0x1381ce())};}catch(_0x247747){return console[_0x2251a2(0x1eb)](_0x247747),null;}}};Ne=rr([sr(0x0,_0x5ccea2)],Ne);var ir=Object[_0x13d6a6(0x29e)],nr=Object[_0x13d6a6(0x239)],or=(_0x385a6d,_0x5104eb,_0x4e217f)=>_0x5104eb in _0x385a6d?ir(_0x385a6d,_0x5104eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e217f}):_0x385a6d[_0x5104eb]=_0x4e217f,ar=(_0x180996,_0x3d5acb,_0x5e459d,_0x3a1b79)=>{const _0x156fbe=_0x13d6a6;for(var _0xa00cd9=_0x3a1b79>0x1?void 0x0:_0x3a1b79?nr(_0x3d5acb,_0x5e459d):_0x3d5acb,_0x59ecbc=_0x180996[_0x156fbe(0x2fc)]-0x1,_0x4bec64;_0x59ecbc>=0x0;_0x59ecbc--)(_0x4bec64=_0x180996[_0x59ecbc])&&(_0xa00cd9=_0x4bec64(_0xa00cd9)||_0xa00cd9);return _0xa00cd9;},ke=(_0x119e71,_0x54730d)=>(_0x59adb5,_0x3c84b3)=>_0x54730d(_0x59adb5,_0x3c84b3,_0x119e71),lr=(_0x12edee,_0x395b66,_0x4bef66)=>or(_0x12edee,_0x395b66+'',_0x4bef66);let Pe=class extends _0x2b5f01{constructor(_0x3800eb=Ft,_0x4e66fe,_0x5f25cd,_0x555717){const _0x3a8ebc=_0x13d6a6;_0x3800eb[_0x3a8ebc(0x29a)]||_0x4e66fe[_0x3a8ebc(0x154)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x3a8ebc(0x1ec)]=_0x5f25cd,this['_injector']=_0x555717,this[_0x3a8ebc(0x1ec)]['setConfig'](Be,_0x3800eb);}[_0x13d6a6(0x2c2)](){const _0x5edbd2=_0x13d6a6;this[_0x5edbd2(0x25b)]();}[_0x13d6a6(0x25b)](){const _0x479a46=_0x13d6a6;_0x3164c9(this[_0x479a46(0x1ce)],[[_0x21bd96,{'useClass':Ne}]]);}};lr(Pe,_0x13d6a6(0x178),_0x13d6a6(0x2d9)),Pe=ar([_0x16f64f(_0x216d9b),ke(0x1,_0x1a6ded),ke(0x2,_0x5ccea2),ke(0x3,_0x56dec3(_0x194be3))],Pe);var fr=Object[_0x13d6a6(0x239)],cr=(_0x2a0fac,_0x196e10,_0x4289e2,_0xcb20c5)=>{for(var _0x58527c=_0xcb20c5>0x1?void 0x0:_0xcb20c5?fr(_0x196e10,_0x4289e2):_0x196e10,_0xd3e9dd=_0x2a0fac['length']-0x1,_0x37e2eb;_0xd3e9dd>=0x0;_0xd3e9dd--)(_0x37e2eb=_0x2a0fac[_0xd3e9dd])&&(_0x58527c=_0x37e2eb(_0x58527c)||_0x58527c);return _0x58527c;},se=(_0x44e748,_0x5723d1)=>(_0x25e471,_0x553304)=>_0x5723d1(_0x25e471,_0x553304,_0x44e748);let at=class extends _0x368881{constructor(_0xec0238,_0x396ce3,_0x366072,_0x312be2,_0x2a38f7){const _0x543336=_0x13d6a6;super(_0xec0238,_0x396ce3,_0x366072,_0x312be2,_0x2a38f7);const _0x13cee8=this[_0x543336(0x1ec)]['getConfig'](Be);this[_0x543336(0x189)][_0x543336(0x180)]({'interceptor':(_0x4fc411,_0x24496a)=>{const _0xdc6855=_0x543336;var _0xe61ac;const _0x57f950=_0x4fc411[_0xdc6855(0x1a5)];return(_0xe61ac=_0x13cee8==null?void 0x0:_0x13cee8[_0xdc6855(0x29a)])!=null&&_0xe61ac['cookie']&&_0x57f950['set']('Cookie',_0x13cee8[_0xdc6855(0x29a)][_0xdc6855(0x218)]),_0x24496a(_0x4fc411);}});}async[_0x13d6a6(0x278)](_0x57e8ed){const _0x278763=_0x13d6a6;return this[_0x278763(0x256)](_0x57e8ed);}};at=cr([se(0x0,_0x56dec3(_0x194be3)),se(0x1,_0x56dec3(_0x555ed4)),se(0x2,_0x5ccea2),se(0x3,_0x1a6ded),se(0x4,_0x48a462)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x566a19=_0x2b21;(function(_0x618ea3,_0x2558e9){const _0x49704f=_0x2b21,_0x41a8f5=_0x618ea3();while(!![]){try{const _0x35019a=parseInt(_0x49704f(0x22b))/0x1+parseInt(_0x49704f(0x18f))/0x2*(-parseInt(_0x49704f(0xe9))/0x3)+-parseInt(_0x49704f(0x1fe))/0x4*(-parseInt(_0x49704f(0x1e1))/0x5)+-parseInt(_0x49704f(0x153))/0x6*(-parseInt(_0x49704f(0x1cd))/0x7)+parseInt(_0x49704f(0x219))/0x8+-parseInt(_0x49704f(0x119))/0x9*(parseInt(_0x49704f(0x192))/0xa)+parseInt(_0x49704f(0xe1))/0xb*(parseInt(_0x49704f(0x157))/0xc);if(_0x35019a===_0x2558e9)break;else _0x41a8f5['push'](_0x41a8f5['shift']());}catch(_0x775554){_0x41a8f5['push'](_0x41a8f5['shift']());}}}(_0x2b85,0x5d479));import{UniverCollaborationClientPlugin as _0x4385b5,CollaborationSocketService as _0x6e4bb}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4c565b,DisposableCollection as _0x1b860f,toDisposable as _0x36c079,IConfigService as _0x2dde4e,DependentOn as _0x53db36,ILogService as _0x1df4e3,Inject as _0x5050c6,Injector as _0x1071d5,Plugin as _0x3714b4,registerDependencies as _0x1cbe8c}from'@univerjs/core';import{ISocketService as _0x21843f,HTTPService as _0xdf6b07}from'@univerjs/network';import{Observable as _0x3239d3,share as _0x72a35e}from'rxjs';import _0x2dfb7e from'events';import _0x593380 from'https';import _0x3b9b55 from'http';import _0x6a9204 from'net';import _0x4b755d from'tls';import _0x551b4d from'crypto';import _0x2a69fb from'stream';import _0x18fb29 from'url';import _0x15ecc2 from'zlib';import _0x4bc73b from'buffer';import{ISnapshotServerService as _0x5223c1}from'@univerjs-pro/collaboration';const Be=_0x566a19(0x1a7),Ft={'customHeaders':{}};function Wt(_0x2457fb){const _0x2ba2c4=_0x566a19;return _0x2457fb&&_0x2457fb[_0x2ba2c4(0x181)]&&Object[_0x2ba2c4(0x218)][_0x2ba2c4(0x102)]['call'](_0x2457fb,'default')?_0x2457fb[_0x2ba2c4(0xda)]:_0x2457fb;}function ut(_0x14a820){const _0x2534b9=_0x566a19;if(Object[_0x2534b9(0x218)][_0x2534b9(0x102)][_0x2534b9(0x1c8)](_0x14a820,_0x2534b9(0x181)))return _0x14a820;var _0x40b8eb=_0x14a820[_0x2534b9(0xda)];if(typeof _0x40b8eb==_0x2534b9(0x100)){var _0x10c9e8=function _0x484d01(){const _0x17dcfa=_0x2534b9;var _0x18cfce=!0x1;try{_0x18cfce=this instanceof _0x484d01;}catch{}return _0x18cfce?Reflect['construct'](_0x40b8eb,arguments,this[_0x17dcfa(0x1ab)]):_0x40b8eb[_0x17dcfa(0xcf)](this,arguments);};_0x10c9e8[_0x2534b9(0x218)]=_0x40b8eb[_0x2534b9(0x218)];}else _0x10c9e8={};return Object['defineProperty'](_0x10c9e8,_0x2534b9(0x181),{'value':!0x0}),Object[_0x2534b9(0x1a3)](_0x14a820)['forEach'](function(_0x3b3796){const _0x331baf=_0x2534b9;var _0x130f4d=Object['getOwnPropertyDescriptor'](_0x14a820,_0x3b3796);Object[_0x331baf(0xab)](_0x10c9e8,_0x3b3796,_0x130f4d[_0x331baf(0xbe)]?_0x130f4d:{'enumerable':!0x0,'get':function(){return _0x14a820[_0x3b3796];}});}),_0x10c9e8;}var te={'exports':{}},ge,Ye;function V(){const _0x5890fd=_0x566a19;if(Ye)return ge;Ye=0x1;const _0x16ea8c=['nodebuffer',_0x5890fd(0x190),'fragments'],_0x5b1e4d=typeof Blob<'u';return _0x5b1e4d&&_0x16ea8c['push'](_0x5890fd(0x1be)),ge={'BINARY_TYPES':_0x16ea8c,'EMPTY_BUFFER':Buffer[_0x5890fd(0xcc)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5b1e4d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x5890fd(0x1af)),'kWebSocket':Symbol(_0x5890fd(0x108)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x566a19(0x11d)](Object['defineProperty']({'__proto__':null,'default':jt},Symbol[_0x566a19(0x186)],{'value':_0x566a19(0x1d7)})),Vt=ut(Gt);var Ke;function ce(){const _0x41e480=_0x566a19;if(Ke)return te[_0x41e480(0x110)];Ke=0x1;const {EMPTY_BUFFER:_0x37ef68}=V(),_0x297bb3=Buffer[Symbol['species']];function _0x3a3ee8(_0x1d64b0,_0x41d5c4){const _0x33e13d=_0x41e480;if(_0x1d64b0[_0x33e13d(0x1df)]===0x0)return _0x37ef68;if(_0x1d64b0['length']===0x1)return _0x1d64b0[0x0];const _0x2e010c=Buffer[_0x33e13d(0x154)](_0x41d5c4);let _0x37c553=0x0;for(let _0x44cc34=0x0;_0x44cc34<_0x1d64b0[_0x33e13d(0x1df)];_0x44cc34++){const _0x28401b=_0x1d64b0[_0x44cc34];_0x2e010c[_0x33e13d(0x19c)](_0x28401b,_0x37c553),_0x37c553+=_0x28401b[_0x33e13d(0x1df)];}return _0x37c553<_0x41d5c4?new _0x297bb3(_0x2e010c['buffer'],_0x2e010c[_0x33e13d(0x1db)],_0x37c553):_0x2e010c;}function _0x1b17ef(_0x2b06b5,_0x3d7ea0,_0x6a702a,_0x4d0a51,_0x212fdd){for(let _0x121054=0x0;_0x121054<_0x212fdd;_0x121054++)_0x6a702a[_0x4d0a51+_0x121054]=_0x2b06b5[_0x121054]^_0x3d7ea0[_0x121054&0x3];}function _0x22d6cc(_0x4f1f7c,_0x19e8ca){for(let _0x30617f=0x0;_0x30617f<_0x4f1f7c['length'];_0x30617f++)_0x4f1f7c[_0x30617f]^=_0x19e8ca[_0x30617f&0x3];}function _0x305401(_0x303fe3){const _0x29aadb=_0x41e480;return _0x303fe3[_0x29aadb(0x1df)]===_0x303fe3[_0x29aadb(0x231)]['byteLength']?_0x303fe3[_0x29aadb(0x231)]:_0x303fe3['buffer'][_0x29aadb(0x125)](_0x303fe3['byteOffset'],_0x303fe3[_0x29aadb(0x1db)]+_0x303fe3['length']);}function _0x452932(_0x711aba){const _0x27552a=_0x41e480;if(_0x452932['readOnly']=!0x0,Buffer[_0x27552a(0x234)](_0x711aba))return _0x711aba;let _0x4a7095;return _0x711aba instanceof ArrayBuffer?_0x4a7095=new _0x297bb3(_0x711aba):ArrayBuffer[_0x27552a(0x135)](_0x711aba)?_0x4a7095=new _0x297bb3(_0x711aba['buffer'],_0x711aba[_0x27552a(0x1db)],_0x711aba[_0x27552a(0x123)]):(_0x4a7095=Buffer[_0x27552a(0x1f4)](_0x711aba),_0x452932[_0x27552a(0xbc)]=!0x1),_0x4a7095;}if(te[_0x41e480(0x110)]={'concat':_0x3a3ee8,'mask':_0x1b17ef,'toArrayBuffer':_0x305401,'toBuffer':_0x452932,'unmask':_0x22d6cc},!process[_0x41e480(0xf7)]['WS_NO_BUFFER_UTIL'])try{const _0xad47f9=Vt;te['exports'][_0x41e480(0xba)]=function(_0x3c0c8f,_0x103327,_0x58c1b5,_0x3134b4,_0xa4929f){const _0x4bfd56=_0x41e480;_0xa4929f<0x30?_0x1b17ef(_0x3c0c8f,_0x103327,_0x58c1b5,_0x3134b4,_0xa4929f):_0xad47f9[_0x4bfd56(0xba)](_0x3c0c8f,_0x103327,_0x58c1b5,_0x3134b4,_0xa4929f);},te[_0x41e480(0x110)][_0x41e480(0x11e)]=function(_0x117cb1,_0x4a1d13){const _0x992bed=_0x41e480;_0x117cb1['length']<0x20?_0x22d6cc(_0x117cb1,_0x4a1d13):_0xad47f9[_0x992bed(0x11e)](_0x117cb1,_0x4a1d13);};}catch{}return te[_0x41e480(0x110)];}var ye,Xe;function qt(){const _0x991545=_0x566a19;if(Xe)return ye;Xe=0x1;const _0x5e8ff8=Symbol(_0x991545(0x24a)),_0x1ee65a=Symbol(_0x991545(0x18c));class _0x2a98f3{constructor(_0x121a38){const _0x5f0add=_0x991545;this[_0x5e8ff8]=()=>{this['pending']--,this[_0x1ee65a]();},this[_0x5f0add(0x120)]=_0x121a38||0x1/0x0,this[_0x5f0add(0x143)]=[],this[_0x5f0add(0xf6)]=0x0;}['add'](_0x3b9bf5){const _0x6d3ae6=_0x991545;this['jobs'][_0x6d3ae6(0x114)](_0x3b9bf5),this[_0x1ee65a]();}[_0x1ee65a](){const _0x4105b5=_0x991545;if(this['pending']!==this[_0x4105b5(0x120)]&&this[_0x4105b5(0x143)][_0x4105b5(0x1df)]){const _0x400bca=this[_0x4105b5(0x143)][_0x4105b5(0x22c)]();this[_0x4105b5(0xf6)]++,_0x400bca(this[_0x5e8ff8]);}}}return ye=_0x2a98f3,ye;}var ve,Ze;function he(){const _0x42317e=_0x566a19;if(Ze)return ve;Ze=0x1;const _0x92d122=_0x15ecc2,_0xf8d2c3=ce(),_0x3f4b55=qt(),{kStatusCode:_0x3ccce4}=V(),_0x47ab0c=Buffer[Symbol[_0x42317e(0x24f)]],_0x20a938=Buffer[_0x42317e(0x1f4)]([0x0,0x0,0xff,0xff]),_0x366b47=Symbol('permessage-deflate'),_0x4fb152=Symbol(_0x42317e(0xdc)),_0x4d528f=Symbol('callback'),_0x1d5365=Symbol('buffers'),_0x49e90f=Symbol(_0x42317e(0xf4));let _0xa20be5;class _0x35f019{constructor(_0x3af2a6,_0x1b4ed7,_0x3928a0){const _0xf3d83=_0x42317e;if(this[_0xf3d83(0x16b)]=_0x3928a0|0x0,this[_0xf3d83(0x15b)]=_0x3af2a6||{},this[_0xf3d83(0x10e)]=this[_0xf3d83(0x15b)][_0xf3d83(0x183)]!==void 0x0?this[_0xf3d83(0x15b)][_0xf3d83(0x183)]:0x400,this[_0xf3d83(0x1cb)]=!!_0x1b4ed7,this[_0xf3d83(0x18b)]=null,this[_0xf3d83(0x189)]=null,this[_0xf3d83(0x17a)]=null,!_0xa20be5){const _0x20435f=this[_0xf3d83(0x15b)]['concurrencyLimit']!==void 0x0?this[_0xf3d83(0x15b)]['concurrencyLimit']:0xa;_0xa20be5=new _0x3f4b55(_0x20435f);}}static get['extensionName'](){const _0x54f7cf=_0x42317e;return _0x54f7cf(0x23d);}[_0x42317e(0x24d)](){const _0x58db74=_0x42317e,_0x57d1e2={};return this[_0x58db74(0x15b)][_0x58db74(0xfb)]&&(_0x57d1e2[_0x58db74(0x1cc)]=!0x0),this['_options'][_0x58db74(0x23c)]&&(_0x57d1e2[_0x58db74(0x1ff)]=!0x0),this['_options'][_0x58db74(0xa7)]&&(_0x57d1e2['server_max_window_bits']=this[_0x58db74(0x15b)][_0x58db74(0xa7)]),this[_0x58db74(0x15b)]['clientMaxWindowBits']?_0x57d1e2['client_max_window_bits']=this['_options']['clientMaxWindowBits']:this[_0x58db74(0x15b)][_0x58db74(0xc0)]==null&&(_0x57d1e2[_0x58db74(0x185)]=!0x0),_0x57d1e2;}[_0x42317e(0x1a1)](_0x249e7d){const _0x417a10=_0x42317e;return _0x249e7d=this[_0x417a10(0xb6)](_0x249e7d),this[_0x417a10(0x17a)]=this['_isServer']?this[_0x417a10(0xc4)](_0x249e7d):this[_0x417a10(0x13c)](_0x249e7d),this[_0x417a10(0x17a)];}[_0x42317e(0x10a)](){const _0x14853f=_0x42317e;if(this[_0x14853f(0x189)]&&(this[_0x14853f(0x189)][_0x14853f(0x220)](),this[_0x14853f(0x189)]=null),this[_0x14853f(0x18b)]){const _0x5ba4e7=this[_0x14853f(0x18b)][_0x4d528f];this[_0x14853f(0x18b)][_0x14853f(0x220)](),this[_0x14853f(0x18b)]=null,_0x5ba4e7&&_0x5ba4e7(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x5882f3){const _0x2341ad=_0x42317e,_0x1f48af=this[_0x2341ad(0x15b)],_0x2bf3c1=_0x5882f3['find'](_0x541fa9=>!(_0x1f48af[_0x2341ad(0xfb)]===!0x1&&_0x541fa9[_0x2341ad(0x1cc)]||_0x541fa9[_0x2341ad(0x156)]&&(_0x1f48af[_0x2341ad(0xa7)]===!0x1||typeof _0x1f48af[_0x2341ad(0xa7)]==_0x2341ad(0xd9)&&_0x1f48af['serverMaxWindowBits']>_0x541fa9['server_max_window_bits'])||typeof _0x1f48af[_0x2341ad(0xc0)]==_0x2341ad(0xd9)&&!_0x541fa9[_0x2341ad(0x185)]));if(!_0x2bf3c1)throw new Error(_0x2341ad(0x132));return _0x1f48af[_0x2341ad(0xfb)]&&(_0x2bf3c1[_0x2341ad(0x1cc)]=!0x0),_0x1f48af[_0x2341ad(0x23c)]&&(_0x2bf3c1[_0x2341ad(0x1ff)]=!0x0),typeof _0x1f48af[_0x2341ad(0xa7)]==_0x2341ad(0xd9)&&(_0x2bf3c1[_0x2341ad(0x156)]=_0x1f48af['serverMaxWindowBits']),typeof _0x1f48af[_0x2341ad(0xc0)]==_0x2341ad(0xd9)?_0x2bf3c1[_0x2341ad(0x185)]=_0x1f48af['clientMaxWindowBits']:(_0x2bf3c1[_0x2341ad(0x185)]===!0x0||_0x1f48af[_0x2341ad(0xc0)]===!0x1)&&delete _0x2bf3c1['client_max_window_bits'],_0x2bf3c1;}[_0x42317e(0x13c)](_0x2112a4){const _0x2c29e9=_0x42317e,_0x420160=_0x2112a4[0x0];if(this[_0x2c29e9(0x15b)][_0x2c29e9(0x23c)]===!0x1&&_0x420160[_0x2c29e9(0x1ff)])throw new Error(_0x2c29e9(0x20b));if(!_0x420160[_0x2c29e9(0x185)])typeof this[_0x2c29e9(0x15b)][_0x2c29e9(0xc0)]=='number'&&(_0x420160[_0x2c29e9(0x185)]=this[_0x2c29e9(0x15b)][_0x2c29e9(0xc0)]);else{if(this[_0x2c29e9(0x15b)][_0x2c29e9(0xc0)]===!0x1||typeof this['_options'][_0x2c29e9(0xc0)]=='number'&&_0x420160[_0x2c29e9(0x185)]>this['_options'][_0x2c29e9(0xc0)])throw new Error(_0x2c29e9(0x11a));}return _0x420160;}[_0x42317e(0xb6)](_0xa59c01){const _0x1c66b1=_0x42317e;return _0xa59c01[_0x1c66b1(0x12e)](_0x58a84c=>{const _0x360d1f=_0x1c66b1;Object[_0x360d1f(0x1a3)](_0x58a84c)[_0x360d1f(0x12e)](_0x2b00f4=>{const _0x1c5229=_0x360d1f;let _0x13244e=_0x58a84c[_0x2b00f4];if(_0x13244e[_0x1c5229(0x1df)]>0x1)throw new Error(_0x1c5229(0x1bb)+_0x2b00f4+_0x1c5229(0xad));if(_0x13244e=_0x13244e[0x0],_0x2b00f4===_0x1c5229(0x185)){if(_0x13244e!==!0x0){const _0x5bfb78=+_0x13244e;if(!Number[_0x1c5229(0x22a)](_0x5bfb78)||_0x5bfb78<0x8||_0x5bfb78>0xf)throw new TypeError(_0x1c5229(0x187)+_0x2b00f4+_0x1c5229(0x18a)+_0x13244e);_0x13244e=_0x5bfb78;}else{if(!this[_0x1c5229(0x1cb)])throw new TypeError(_0x1c5229(0x187)+_0x2b00f4+_0x1c5229(0x18a)+_0x13244e);}}else{if(_0x2b00f4==='server_max_window_bits'){const _0x8995a0=+_0x13244e;if(!Number[_0x1c5229(0x22a)](_0x8995a0)||_0x8995a0<0x8||_0x8995a0>0xf)throw new TypeError(_0x1c5229(0x187)+_0x2b00f4+'\x22:\x20'+_0x13244e);_0x13244e=_0x8995a0;}else{if(_0x2b00f4===_0x1c5229(0x1ff)||_0x2b00f4===_0x1c5229(0x1cc)){if(_0x13244e!==!0x0)throw new TypeError(_0x1c5229(0x187)+_0x2b00f4+'\x22:\x20'+_0x13244e);}else throw new Error(_0x1c5229(0xd1)+_0x2b00f4+'\x22');}}_0x58a84c[_0x2b00f4]=_0x13244e;});}),_0xa59c01;}['decompress'](_0x11b3c8,_0x43fcf7,_0x4513c1){_0xa20be5['add'](_0x2ab24d=>{const _0x15b256=_0x2b21;this[_0x15b256(0x118)](_0x11b3c8,_0x43fcf7,(_0x4cc156,_0x508913)=>{_0x2ab24d(),_0x4513c1(_0x4cc156,_0x508913);});});}[_0x42317e(0x20c)](_0xf133f1,_0x34984d,_0x74781c){const _0x43c4f5=_0x42317e;_0xa20be5[_0x43c4f5(0x158)](_0x5285d3=>{const _0xec7c4f=_0x43c4f5;this[_0xec7c4f(0x205)](_0xf133f1,_0x34984d,(_0x6a6439,_0x4e6fb1)=>{_0x5285d3(),_0x74781c(_0x6a6439,_0x4e6fb1);});});}['_decompress'](_0x2a4d86,_0x4fa162,_0x358af3){const _0x1e047d=_0x42317e,_0x436d5f=this[_0x1e047d(0x1cb)]?_0x1e047d(0x1fd):'server';if(!this[_0x1e047d(0x189)]){const _0x3af554=_0x436d5f+_0x1e047d(0x21d),_0x24c015=typeof this[_0x1e047d(0x17a)][_0x3af554]!=_0x1e047d(0xd9)?_0x92d122['Z_DEFAULT_WINDOWBITS']:this[_0x1e047d(0x17a)][_0x3af554];this[_0x1e047d(0x189)]=_0x92d122[_0x1e047d(0x1e2)]({...this['_options'][_0x1e047d(0x1c0)],'windowBits':_0x24c015}),this[_0x1e047d(0x189)][_0x366b47]=this,this[_0x1e047d(0x189)][_0x4fb152]=0x0,this[_0x1e047d(0x189)][_0x1d5365]=[],this[_0x1e047d(0x189)]['on'](_0x1e047d(0xf4),_0x4c9345),this[_0x1e047d(0x189)]['on'](_0x1e047d(0x173),_0x5cf9e5);}this[_0x1e047d(0x189)][_0x4d528f]=_0x358af3,this[_0x1e047d(0x189)]['write'](_0x2a4d86),_0x4fa162&&this[_0x1e047d(0x189)][_0x1e047d(0x148)](_0x20a938),this['_inflate'][_0x1e047d(0x1c2)](()=>{const _0x3d6ef7=_0x1e047d,_0x594e26=this['_inflate'][_0x49e90f];if(_0x594e26){this[_0x3d6ef7(0x189)][_0x3d6ef7(0x220)](),this[_0x3d6ef7(0x189)]=null,_0x358af3(_0x594e26);return;}const _0x570a2d=_0xf8d2c3[_0x3d6ef7(0xb7)](this[_0x3d6ef7(0x189)][_0x1d5365],this[_0x3d6ef7(0x189)][_0x4fb152]);this['_inflate']['_readableState'][_0x3d6ef7(0x12f)]?(this[_0x3d6ef7(0x189)][_0x3d6ef7(0x220)](),this['_inflate']=null):(this['_inflate'][_0x4fb152]=0x0,this[_0x3d6ef7(0x189)][_0x1d5365]=[],_0x4fa162&&this['params'][_0x436d5f+'_no_context_takeover']&&this['_inflate'][_0x3d6ef7(0x1f1)]()),_0x358af3(null,_0x570a2d);});}[_0x42317e(0x205)](_0x50b6d3,_0x3d6e95,_0x299477){const _0x135b44=_0x42317e,_0x40bd93=this[_0x135b44(0x1cb)]?'server':_0x135b44(0x1fd);if(!this['_deflate']){const _0x59fd58=_0x40bd93+_0x135b44(0x21d),_0x32c41c=typeof this[_0x135b44(0x17a)][_0x59fd58]!=_0x135b44(0xd9)?_0x92d122[_0x135b44(0xa8)]:this[_0x135b44(0x17a)][_0x59fd58];this[_0x135b44(0x18b)]=_0x92d122[_0x135b44(0x115)]({...this[_0x135b44(0x15b)][_0x135b44(0x1eb)],'windowBits':_0x32c41c}),this[_0x135b44(0x18b)][_0x4fb152]=0x0,this[_0x135b44(0x18b)][_0x1d5365]=[],this[_0x135b44(0x18b)]['on'](_0x135b44(0x173),_0x5c59e5);}this[_0x135b44(0x18b)][_0x4d528f]=_0x299477,this['_deflate'][_0x135b44(0x148)](_0x50b6d3),this[_0x135b44(0x18b)][_0x135b44(0x1c2)](_0x92d122[_0x135b44(0xc3)],()=>{const _0x3316e6=_0x135b44;if(!this['_deflate'])return;let _0x4f8a1f=_0xf8d2c3[_0x3316e6(0xb7)](this[_0x3316e6(0x18b)][_0x1d5365],this[_0x3316e6(0x18b)][_0x4fb152]);_0x3d6e95&&(_0x4f8a1f=new _0x47ab0c(_0x4f8a1f[_0x3316e6(0x231)],_0x4f8a1f[_0x3316e6(0x1db)],_0x4f8a1f[_0x3316e6(0x1df)]-0x4)),this['_deflate'][_0x4d528f]=null,this[_0x3316e6(0x18b)][_0x4fb152]=0x0,this[_0x3316e6(0x18b)][_0x1d5365]=[],_0x3d6e95&&this['params'][_0x40bd93+_0x3316e6(0x117)]&&this[_0x3316e6(0x18b)]['reset'](),_0x299477(null,_0x4f8a1f);});}}ve=_0x35f019;function _0x5c59e5(_0x4e829e){this[_0x1d5365]['push'](_0x4e829e),this[_0x4fb152]+=_0x4e829e['length'];}function _0x5cf9e5(_0x2d2263){const _0x1ce38b=_0x42317e;if(this[_0x4fb152]+=_0x2d2263[_0x1ce38b(0x1df)],this[_0x366b47]['_maxPayload']<0x1||this[_0x4fb152]<=this[_0x366b47][_0x1ce38b(0x16b)]){this[_0x1d5365][_0x1ce38b(0x114)](_0x2d2263);return;}this[_0x49e90f]=new RangeError(_0x1ce38b(0x149)),this[_0x49e90f][_0x1ce38b(0x240)]=_0x1ce38b(0x121),this[_0x49e90f][_0x3ccce4]=0x3f1,this[_0x1ce38b(0x12d)](_0x1ce38b(0x173),_0x5cf9e5),this['reset']();}function _0x4c9345(_0x5e75cc){const _0x36515d=_0x42317e;if(this[_0x366b47][_0x36515d(0x189)]=null,this[_0x49e90f]){this[_0x4d528f](this[_0x49e90f]);return;}_0x5e75cc[_0x3ccce4]=0x3ef,this[_0x4d528f](_0x5e75cc);}return ve;}var re={'exports':{}};function _0x2b85(){const _0x442fc1=['format','hasOwnProperty','setTimeout','The\x20\x22','_readableState','autoPong','Unexpected\x20server\x20response:\x20','websocket','size','cleanup','dataMessage','pipe','entries','_threshold','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','exports','_originalHostOrSocketPath','WS_ERR_INVALID_CLOSE_CODE','RSV1\x20must\x20be\x20clear','push','createDeflateRaw','finished','_no_context_takeover','_decompress','2277333VFYcrG','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_queue','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','freeze','unmask','writeUInt16BE','concurrency','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','byteLength','authorization','slice','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','registerHTTPInterceptor','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','includes','completeUpgrade','allowSynchronousEvents','removeListener','forEach','endEmitted','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','bind','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_closeCode','kAborted','isView','followRedirects','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','connect','_state','\x22\x20subprotocol\x20is\x20duplicated','createError','acceptAsClient','_closeMessage','_compressed','emitClose','CLOSED','setHeader','errorEmitted','jobs','create','read','shouldHandle','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','write','Max\x20payload\x20size\x20exceeded','Invalid\x20Upgrade\x20header','password','send','WS_ERR_EXPECTED_MASK','clients','ws:','cork','destroyed','cookie','54agBFme','allocUnsafe','indexOf','server_max_window_bits','36pBfzlZ','add','_url','_readyState','_options','_skipUTF8Validation','customHeaders','then','test','search','HTTP/1.1\x20','_autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','pong','value','setNoDelay','Origin','noServer','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_fin','_maxPayload','OPEN','Upgrade','invalid\x20opcode\x20','text/html','_redirects','invalid\x20payload\x20length\x20','path','data','_bufferedAmount','statusCode','_protocol','charCodeAt','generateMask','response','params','kCode','request','once','createServer','https:','WS_NO_UTF_8_VALIDATE','__esModule','username','threshold','perMessageDeflate','client_max_window_bits','toStringTag','Invalid\x20value\x20for\x20parameter\x20\x22','_shouldEmitClose','_inflate','\x22:\x20','_deflate','kRun','Unexpected\x20character\x20at\x20index\x20','kError','164FLuFQr','arraybuffer','emit','30sQOMFz','_req','sec-websocket-origin','reason','_originalSecure','Sec-WebSocket-Protocol:\x20','needDrain','update','servername','sec-websocket-protocol','set','isValidUTF8','_firstFragment','hostname','frame','accept','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','keys','kData','\x0d\x0a\x0d\x0a','warn','collaboration-client-node.config','_injector','_bufferedBytes','consume','constructor','_paused','kWasClean','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','status-code','target','Server\x20sent\x20an\x20invalid\x20subprotocol','_socket','STATUS_CODES','createConnection','HTTP/1.1\x20101\x20Switching\x20Protocols','wasClean','removeEventListener','readyState','dispatch','WebSocket','Parameter\x20\x22','writeUIntBE','pow','blob','method','zlibInflateOptions','_maskBuffer','flush','The\x20URL\x27s\x20pathname\x20is\x20empty','host','values','skipUTF8Validation','invalid\x20UTF-8\x20sequence','call','WS_ERR_UNEXPECTED_RSV_1','_closeFrameReceived','_isServer','server_no_context_takeover','78533onqMnN','Sec-WebSocket-Accept:\x20','handleEvent','sec-websocket-extensions','readUInt32BE','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sec-websocket-key','isArray','finish','url','Module','startsWith','ws+unix:','_errorEmitted','byteOffset','split','removeAllListeners','Blob','length','Invalid\x20URL:\x20','195085NymVIq','createInflateRaw','fin','parse','Invalid\x20Sec-WebSocket-Extensions\x20header','_fragments','_doCreateSocket','server','_configService','_buffers','zlibDeflateOptions','hash','next','protocol','encrypted','catch','reset','replace','_mask','from','type','_masked','isPaused','join','listeners','unshift','terminate','socket','client','20OzuICw','client_no_context_takeover','finishRequest','opcode','extensionName','Invalid\x20Sec-WebSocket-Protocol\x20header','getOwnPropertyDescriptor','_compress','open','13,\x208','_fragmented','wss:','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','compress','_write','dequeue','binaryType','onopen','options','onclose','sha1','_removeListeners','_closeTimer','bufferedAmount','object','prototype','2384608tRDfdV','CONNECTING','address','timeout','_max_window_bits','auth','nextTick','close','maxPayload','Connection:\x20Upgrade','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','destroy','toLowerCase','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','getPayloadLength64','_binaryType','verifyClient','isInteger','599919JgyEkh','shift','http:','_writableState','CLOSING','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','buffer','ping','resume','isBuffer','_registerDependencies','setSocket','protocolVersion','handleProtocols','_loop','kByteLength','readUInt16BE','clientNoContextTakeover','permessage-deflate','getBlobData','upgrade','code','redirect','arrayBuffer','kMessage','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getData','binary','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','toString','addEventListener','kDone','extensions','_server','offer','Sec-WebSocket-Protocol','species','dispose','serverMaxWindowBits','Z_DEFAULT_WINDOWBITS','isIP','enqueue','defineProperty','WS_ERR_INVALID_OPCODE','\x22\x20must\x20have\x20only\x20a\x20single\x20value','pause','location','has','pathname','_destroy','sec-websocket-accept','end','MASK\x20must\x20be\x20clear','normalizeParams','concat','string','Sec-WebSocket-Extensions:\x20','mask','_originalIpc','readOnly','handshakeTimeout','get','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','clientMaxWindowBits','wsClientError','_receiver','Z_SYNC_FLUSH','acceptAsServer','abort','sendFrame','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','base64','Maximum\x20redirects\x20exceeded','Sec-WebSocket-Extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x20','alloc','_errored','socketPath','apply','digest','Unknown\x20parameter\x20\x22','clientTracking','listen','_closeFrameSent','unexpected-response','origin','drain','decompress','number','default','WS_ERR_INVALID_UTF8','total-length','WS_ERR_UNEXPECTED_MASK','_sender','delete','_payloadLength','2010943vaOrOG','message','_extensions','map','stream','onerror','getMask','invalid\x20status\x20code\x20','21999ERpCeJ','controlMessage','sec-websocket-version','port','Basic\x20','createSocket','headers','_allowSynchronousEvents','_opcode','listenerCount','_totalPayloadLength','error','getInfo','pending','env','nodebuffer','Server\x20sent\x20no\x20subprotocol','conclude','serverNoContextTakeover','startLoop','_messageLength','getPayloadLength16','_generateMask','function'];_0x2b85=function(){return _0x442fc1;};return _0x2b85();}const Ht={},zt=Object[_0x566a19(0x11d)](Object[_0x566a19(0xab)]({'__proto__':null,'default':Ht},Symbol[_0x566a19(0x186)],{'value':_0x566a19(0x1d7)})),Yt=ut(zt);var Qe;function ne(){const _0x48ca09=_0x566a19;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x102272}=_0x4bc73b,{hasBlob:_0x24693f}=V(),_0x17a8c9=[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 _0x1966b9(_0x28e94d){return _0x28e94d>=0x3e8&&_0x28e94d<=0x3f6&&_0x28e94d!==0x3ec&&_0x28e94d!==0x3ed&&_0x28e94d!==0x3ee||_0x28e94d>=0xbb8&&_0x28e94d<=0x1387;}function _0x453fba(_0x4cf0fe){const _0x1f1ccc=_0x2b21,_0x2a4947=_0x4cf0fe[_0x1f1ccc(0x1df)];let _0x25547c=0x0;for(;_0x25547c<_0x2a4947;)if((_0x4cf0fe[_0x25547c]&0x80)===0x0)_0x25547c++;else{if((_0x4cf0fe[_0x25547c]&0xe0)===0xc0){if(_0x25547c+0x1===_0x2a4947||(_0x4cf0fe[_0x25547c+0x1]&0xc0)!==0x80||(_0x4cf0fe[_0x25547c]&0xfe)===0xc0)return!0x1;_0x25547c+=0x2;}else{if((_0x4cf0fe[_0x25547c]&0xf0)===0xe0){if(_0x25547c+0x2>=_0x2a4947||(_0x4cf0fe[_0x25547c+0x1]&0xc0)!==0x80||(_0x4cf0fe[_0x25547c+0x2]&0xc0)!==0x80||_0x4cf0fe[_0x25547c]===0xe0&&(_0x4cf0fe[_0x25547c+0x1]&0xe0)===0x80||_0x4cf0fe[_0x25547c]===0xed&&(_0x4cf0fe[_0x25547c+0x1]&0xe0)===0xa0)return!0x1;_0x25547c+=0x3;}else{if((_0x4cf0fe[_0x25547c]&0xf8)===0xf0){if(_0x25547c+0x3>=_0x2a4947||(_0x4cf0fe[_0x25547c+0x1]&0xc0)!==0x80||(_0x4cf0fe[_0x25547c+0x2]&0xc0)!==0x80||(_0x4cf0fe[_0x25547c+0x3]&0xc0)!==0x80||_0x4cf0fe[_0x25547c]===0xf0&&(_0x4cf0fe[_0x25547c+0x1]&0xf0)===0x80||_0x4cf0fe[_0x25547c]===0xf4&&_0x4cf0fe[_0x25547c+0x1]>0x8f||_0x4cf0fe[_0x25547c]>0xf4)return!0x1;_0x25547c+=0x4;}else return!0x1;}}}return!0x0;}function _0x5ecff0(_0x10af1b){const _0x39b1d9=_0x2b21;return _0x24693f&&typeof _0x10af1b==_0x39b1d9(0x217)&&typeof _0x10af1b[_0x39b1d9(0x242)]=='function'&&typeof _0x10af1b['type']==_0x39b1d9(0xb8)&&typeof _0x10af1b[_0x39b1d9(0xe5)]==_0x39b1d9(0x100)&&(_0x10af1b[Symbol[_0x39b1d9(0x186)]]===_0x39b1d9(0x1de)||_0x10af1b[Symbol['toStringTag']]==='File');}if(re[_0x48ca09(0x110)]={'isBlob':_0x5ecff0,'isValidStatusCode':_0x1966b9,'isValidUTF8':_0x453fba,'tokenChars':_0x17a8c9},_0x102272)re[_0x48ca09(0x110)]['isValidUTF8']=function(_0x42fb30){const _0x5aa797=_0x48ca09;return _0x42fb30[_0x5aa797(0x1df)]<0x18?_0x453fba(_0x42fb30):_0x102272(_0x42fb30);};else{if(!process['env'][_0x48ca09(0x180)])try{const _0x15aa23=Yt;re['exports'][_0x48ca09(0x19d)]=function(_0x59841f){const _0x99faf1=_0x48ca09;return _0x59841f[_0x99faf1(0x1df)]<0x20?_0x453fba(_0x59841f):_0x15aa23(_0x59841f);};}catch{}}return re[_0x48ca09(0x110)];}var Se,Je;function dt(){const _0x1b8044=_0x566a19;if(Je)return Se;Je=0x1;const {Writable:_0x2feab7}=_0x2a69fb,_0xef5d5c=he(),{BINARY_TYPES:_0x455497,EMPTY_BUFFER:_0x536502,kStatusCode:_0x5b9249,kWebSocket:_0x4785cf}=V(),{concat:_0x158c42,toArrayBuffer:_0x169a47,unmask:_0xf77006}=ce(),{isValidStatusCode:_0x1f459d,isValidUTF8:_0x8b2772}=ne(),_0x10fa09=Buffer[Symbol['species']],_0x2812d1=0x0,_0x4f1c5b=0x1,_0x4b2872=0x2,_0x5a3b90=0x3,_0xed66b0=0x4,_0xb2d299=0x5,_0x4dface=0x6;class _0x2b28df extends _0x2feab7{constructor(_0xb6a127={}){const _0x3bc9d1=_0x2b21;super(),this[_0x3bc9d1(0xf0)]=_0xb6a127[_0x3bc9d1(0x12c)]!==void 0x0?_0xb6a127[_0x3bc9d1(0x12c)]:!0x0,this[_0x3bc9d1(0x228)]=_0xb6a127[_0x3bc9d1(0x20f)]||_0x455497[0x0],this[_0x3bc9d1(0xe3)]=_0xb6a127[_0x3bc9d1(0x24b)]||{},this[_0x3bc9d1(0x1cb)]=!!_0xb6a127['isServer'],this['_maxPayload']=_0xb6a127[_0x3bc9d1(0x221)]|0x0,this[_0x3bc9d1(0x15c)]=!!_0xb6a127[_0x3bc9d1(0x1c6)],this[_0x4785cf]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3bc9d1(0x1ea)]=[],this[_0x3bc9d1(0x13e)]=!0x1,this[_0x3bc9d1(0xe0)]=0x0,this[_0x3bc9d1(0x1f3)]=void 0x0,this[_0x3bc9d1(0x208)]=0x0,this[_0x3bc9d1(0x1f6)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x3bc9d1(0xf3)]=0x0,this['_messageLength']=0x0,this[_0x3bc9d1(0x1e6)]=[],this[_0x3bc9d1(0xcd)]=!0x1,this[_0x3bc9d1(0x239)]=!0x1,this[_0x3bc9d1(0x139)]=_0x2812d1;}[_0x1b8044(0x20d)](_0x169532,_0x4de90c,_0x3b0c96){const _0x5b76fa=_0x1b8044;if(this['_opcode']===0x8&&this[_0x5b76fa(0x139)]==_0x2812d1)return _0x3b0c96();this[_0x5b76fa(0x1a9)]+=_0x169532[_0x5b76fa(0x1df)],this[_0x5b76fa(0x1ea)]['push'](_0x169532),this['startLoop'](_0x3b0c96);}[_0x1b8044(0x1aa)](_0x581aec){const _0x2e41db=_0x1b8044;if(this[_0x2e41db(0x1a9)]-=_0x581aec,_0x581aec===this['_buffers'][0x0][_0x2e41db(0x1df)])return this['_buffers']['shift']();if(_0x581aec<this['_buffers'][0x0][_0x2e41db(0x1df)]){const _0x47d1e6=this[_0x2e41db(0x1ea)][0x0];return this[_0x2e41db(0x1ea)][0x0]=new _0x10fa09(_0x47d1e6[_0x2e41db(0x231)],_0x47d1e6[_0x2e41db(0x1db)]+_0x581aec,_0x47d1e6['length']-_0x581aec),new _0x10fa09(_0x47d1e6[_0x2e41db(0x231)],_0x47d1e6[_0x2e41db(0x1db)],_0x581aec);}const _0x1bf472=Buffer[_0x2e41db(0x154)](_0x581aec);do{const _0x23d316=this['_buffers'][0x0],_0x48aa7c=_0x1bf472[_0x2e41db(0x1df)]-_0x581aec;_0x581aec>=_0x23d316[_0x2e41db(0x1df)]?_0x1bf472['set'](this[_0x2e41db(0x1ea)][_0x2e41db(0x22c)](),_0x48aa7c):(_0x1bf472[_0x2e41db(0x19c)](new Uint8Array(_0x23d316[_0x2e41db(0x231)],_0x23d316[_0x2e41db(0x1db)],_0x581aec),_0x48aa7c),this['_buffers'][0x0]=new _0x10fa09(_0x23d316[_0x2e41db(0x231)],_0x23d316[_0x2e41db(0x1db)]+_0x581aec,_0x23d316[_0x2e41db(0x1df)]-_0x581aec)),_0x581aec-=_0x23d316[_0x2e41db(0x1df)];}while(_0x581aec>0x0);return _0x1bf472;}[_0x1b8044(0xfc)](_0x340720){const _0x90dba2=_0x1b8044;this[_0x90dba2(0x239)]=!0x0;do switch(this['_state']){case _0x2812d1:this[_0x90dba2(0xf5)](_0x340720);break;case _0x4f1c5b:this['getPayloadLength16'](_0x340720);break;case _0x4b2872:this[_0x90dba2(0x227)](_0x340720);break;case _0x5a3b90:this[_0x90dba2(0xe7)]();break;case _0xed66b0:this[_0x90dba2(0x245)](_0x340720);break;case _0xb2d299:case _0x4dface:this[_0x90dba2(0x239)]=!0x1;return;}while(this[_0x90dba2(0x239)]);this[_0x90dba2(0xcd)]||_0x340720();}[_0x1b8044(0xf5)](_0xda5a8){const _0x4766dd=_0x1b8044;if(this[_0x4766dd(0x1a9)]<0x2){this[_0x4766dd(0x239)]=!0x1;return;}const _0x31da3f=this['consume'](0x2);if((_0x31da3f[0x0]&0x30)!==0x0){const _0x1882b3=this['createError'](RangeError,_0x4766dd(0x1ae),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0xda5a8(_0x1882b3);return;}const _0x3a92e4=(_0x31da3f[0x0]&0x40)===0x40;if(_0x3a92e4&&!this[_0x4766dd(0xe3)][_0xef5d5c[_0x4766dd(0x202)]]){const _0x433c62=this[_0x4766dd(0x13b)](RangeError,_0x4766dd(0x113),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xda5a8(_0x433c62);return;}if(this['_fin']=(_0x31da3f[0x0]&0x80)===0x80,this[_0x4766dd(0xf1)]=_0x31da3f[0x0]&0xf,this[_0x4766dd(0xe0)]=_0x31da3f[0x1]&0x7f,this[_0x4766dd(0xf1)]===0x0){if(_0x3a92e4){const _0x3ef047=this[_0x4766dd(0x13b)](RangeError,_0x4766dd(0x113),!0x0,0x3ea,_0x4766dd(0x1c9));_0xda5a8(_0x3ef047);return;}if(!this[_0x4766dd(0x208)]){const _0x494eb0=this[_0x4766dd(0x13b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xda5a8(_0x494eb0);return;}this[_0x4766dd(0xf1)]=this[_0x4766dd(0x208)];}else{if(this['_opcode']===0x1||this[_0x4766dd(0xf1)]===0x2){if(this[_0x4766dd(0x208)]){const _0x522e30=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x4766dd(0xf1)],!0x0,0x3ea,_0x4766dd(0xac));_0xda5a8(_0x522e30);return;}this['_compressed']=_0x3a92e4;}else{if(this[_0x4766dd(0xf1)]>0x7&&this[_0x4766dd(0xf1)]<0xb){if(!this[_0x4766dd(0x16a)]){const _0x5a5034=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xda5a8(_0x5a5034);return;}if(_0x3a92e4){const _0x58b012=this[_0x4766dd(0x13b)](RangeError,_0x4766dd(0x113),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xda5a8(_0x58b012);return;}if(this[_0x4766dd(0xe0)]>0x7d||this['_opcode']===0x8&&this[_0x4766dd(0xe0)]===0x1){const _0x5ad334=this['createError'](RangeError,_0x4766dd(0x171)+this[_0x4766dd(0xe0)],!0x0,0x3ea,_0x4766dd(0x20a));_0xda5a8(_0x5ad334);return;}}else{const _0x3e9939=this[_0x4766dd(0x13b)](RangeError,_0x4766dd(0x16e)+this[_0x4766dd(0xf1)],!0x0,0x3ea,_0x4766dd(0xac));_0xda5a8(_0x3e9939);return;}}}if(!this[_0x4766dd(0x16a)]&&!this[_0x4766dd(0x208)]&&(this[_0x4766dd(0x208)]=this['_opcode']),this[_0x4766dd(0x1f6)]=(_0x31da3f[0x1]&0x80)===0x80,this[_0x4766dd(0x1cb)]){if(!this['_masked']){const _0xafc3d8=this[_0x4766dd(0x13b)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4766dd(0x14d));_0xda5a8(_0xafc3d8);return;}}else{if(this[_0x4766dd(0x1f6)]){const _0x2507b9=this[_0x4766dd(0x13b)](RangeError,_0x4766dd(0xb5),!0x0,0x3ea,_0x4766dd(0xdd));_0xda5a8(_0x2507b9);return;}}this[_0x4766dd(0xe0)]===0x7e?this[_0x4766dd(0x139)]=_0x4f1c5b:this['_payloadLength']===0x7f?this[_0x4766dd(0x139)]=_0x4b2872:this['haveLength'](_0xda5a8);}[_0x1b8044(0xfe)](_0x3a9875){const _0x5be872=_0x1b8044;if(this[_0x5be872(0x1a9)]<0x2){this[_0x5be872(0x239)]=!0x1;return;}this[_0x5be872(0xe0)]=this[_0x5be872(0x1aa)](0x2)[_0x5be872(0x23b)](0x0),this['haveLength'](_0x3a9875);}[_0x1b8044(0x227)](_0x1701d4){const _0x1bb1c1=_0x1b8044;if(this[_0x1bb1c1(0x1a9)]<0x8){this['_loop']=!0x1;return;}const _0x5da8e9=this['consume'](0x8),_0x1cc435=_0x5da8e9[_0x1bb1c1(0x1d1)](0x0);if(_0x1cc435>Math[_0x1bb1c1(0x1bd)](0x2,0x15)-0x1){const _0x4cf3b1=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x1bb1c1(0x10f));_0x1701d4(_0x4cf3b1);return;}this[_0x1bb1c1(0xe0)]=_0x1cc435*Math[_0x1bb1c1(0x1bd)](0x2,0x20)+_0x5da8e9[_0x1bb1c1(0x1d1)](0x4),this['haveLength'](_0x1701d4);}['haveLength'](_0x4bbd51){const _0x3cdf54=_0x1b8044;if(this[_0x3cdf54(0xe0)]&&this[_0x3cdf54(0xf1)]<0x8&&(this['_totalPayloadLength']+=this[_0x3cdf54(0xe0)],this[_0x3cdf54(0xf3)]>this[_0x3cdf54(0x16b)]&&this['_maxPayload']>0x0)){const _0x5651cb=this[_0x3cdf54(0x13b)](RangeError,_0x3cdf54(0x149),!0x1,0x3f1,_0x3cdf54(0x121));_0x4bbd51(_0x5651cb);return;}this[_0x3cdf54(0x1f6)]?this[_0x3cdf54(0x139)]=_0x5a3b90:this[_0x3cdf54(0x139)]=_0xed66b0;}[_0x1b8044(0xe7)](){const _0x27926c=_0x1b8044;if(this[_0x27926c(0x1a9)]<0x4){this['_loop']=!0x1;return;}this[_0x27926c(0x1f3)]=this[_0x27926c(0x1aa)](0x4),this[_0x27926c(0x139)]=_0xed66b0;}[_0x1b8044(0x245)](_0x39c151){const _0x32d564=_0x1b8044;let _0x3f2d65=_0x536502;if(this['_payloadLength']){if(this[_0x32d564(0x1a9)]<this[_0x32d564(0xe0)]){this[_0x32d564(0x239)]=!0x1;return;}_0x3f2d65=this[_0x32d564(0x1aa)](this[_0x32d564(0xe0)]),this[_0x32d564(0x1f6)]&&(this[_0x32d564(0x1f3)][0x0]|this[_0x32d564(0x1f3)][0x1]|this['_mask'][0x2]|this[_0x32d564(0x1f3)][0x3])!==0x0&&_0xf77006(_0x3f2d65,this[_0x32d564(0x1f3)]);}if(this[_0x32d564(0xf1)]>0x7){this[_0x32d564(0xea)](_0x3f2d65,_0x39c151);return;}if(this[_0x32d564(0x13e)]){this['_state']=_0xb2d299,this[_0x32d564(0xd8)](_0x3f2d65,_0x39c151);return;}_0x3f2d65[_0x32d564(0x1df)]&&(this[_0x32d564(0xfd)]=this[_0x32d564(0xf3)],this[_0x32d564(0x1e6)]['push'](_0x3f2d65)),this[_0x32d564(0x10b)](_0x39c151);}[_0x1b8044(0xd8)](_0x3b1878,_0x47ac6e){const _0xe5fc56=_0x1b8044;this[_0xe5fc56(0xe3)][_0xef5d5c['extensionName']][_0xe5fc56(0xd8)](_0x3b1878,this['_fin'],(_0x3b5cbf,_0x5e5379)=>{const _0x39198c=_0xe5fc56;if(_0x3b5cbf)return _0x47ac6e(_0x3b5cbf);if(_0x5e5379[_0x39198c(0x1df)]){if(this['_messageLength']+=_0x5e5379[_0x39198c(0x1df)],this[_0x39198c(0xfd)]>this[_0x39198c(0x16b)]&&this['_maxPayload']>0x0){const _0x573461=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x39198c(0x121));_0x47ac6e(_0x573461);return;}this[_0x39198c(0x1e6)][_0x39198c(0x114)](_0x5e5379);}this[_0x39198c(0x10b)](_0x47ac6e),this[_0x39198c(0x139)]===_0x2812d1&&this[_0x39198c(0xfc)](_0x47ac6e);});}[_0x1b8044(0x10b)](_0x17ecf8){const _0x14cf1a=_0x1b8044;if(!this[_0x14cf1a(0x16a)]){this[_0x14cf1a(0x139)]=_0x2812d1;return;}const _0x381a98=this[_0x14cf1a(0xfd)],_0x114336=this[_0x14cf1a(0x1e6)];if(this[_0x14cf1a(0xf3)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x14cf1a(0x1e6)]=[],this['_opcode']===0x2){let _0x5c143a;this[_0x14cf1a(0x228)]===_0x14cf1a(0xf8)?_0x5c143a=_0x158c42(_0x114336,_0x381a98):this[_0x14cf1a(0x228)]===_0x14cf1a(0x190)?_0x5c143a=_0x169a47(_0x158c42(_0x114336,_0x381a98)):this[_0x14cf1a(0x228)]==='blob'?_0x5c143a=new Blob(_0x114336):_0x5c143a=_0x114336,this[_0x14cf1a(0xf0)]?(this[_0x14cf1a(0x191)](_0x14cf1a(0xe2),_0x5c143a,!0x0),this[_0x14cf1a(0x139)]=_0x2812d1):(this['_state']=_0x4dface,setImmediate(()=>{const _0x19ff2a=_0x14cf1a;this[_0x19ff2a(0x191)]('message',_0x5c143a,!0x0),this[_0x19ff2a(0x139)]=_0x2812d1,this[_0x19ff2a(0xfc)](_0x17ecf8);}));}else{const _0x7bb08=_0x158c42(_0x114336,_0x381a98);if(!this['_skipUTF8Validation']&&!_0x8b2772(_0x7bb08)){const _0x3d3182=this[_0x14cf1a(0x13b)](Error,_0x14cf1a(0x1c7),!0x0,0x3ef,_0x14cf1a(0xdb));_0x17ecf8(_0x3d3182);return;}this[_0x14cf1a(0x139)]===_0xb2d299||this['_allowSynchronousEvents']?(this['emit'](_0x14cf1a(0xe2),_0x7bb08,!0x1),this[_0x14cf1a(0x139)]=_0x2812d1):(this[_0x14cf1a(0x139)]=_0x4dface,setImmediate(()=>{const _0xbca1f0=_0x14cf1a;this[_0xbca1f0(0x191)](_0xbca1f0(0xe2),_0x7bb08,!0x1),this['_state']=_0x2812d1,this[_0xbca1f0(0xfc)](_0x17ecf8);}));}}[_0x1b8044(0xea)](_0x5b0ac9,_0x544757){const _0x392b84=_0x1b8044;if(this[_0x392b84(0xf1)]===0x8){if(_0x5b0ac9[_0x392b84(0x1df)]===0x0)this['_loop']=!0x1,this[_0x392b84(0x191)](_0x392b84(0xfa),0x3ed,_0x536502),this[_0x392b84(0xb4)]();else{const _0xa305db=_0x5b0ac9[_0x392b84(0x23b)](0x0);if(!_0x1f459d(_0xa305db)){const _0x3c44d6=this['createError'](RangeError,_0x392b84(0xe8)+_0xa305db,!0x0,0x3ea,_0x392b84(0x112));_0x544757(_0x3c44d6);return;}const _0x17253b=new _0x10fa09(_0x5b0ac9[_0x392b84(0x231)],_0x5b0ac9[_0x392b84(0x1db)]+0x2,_0x5b0ac9['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x8b2772(_0x17253b)){const _0x4d2bc9=this[_0x392b84(0x13b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x392b84(0xdb));_0x544757(_0x4d2bc9);return;}this[_0x392b84(0x239)]=!0x1,this[_0x392b84(0x191)](_0x392b84(0xfa),_0xa305db,_0x17253b),this[_0x392b84(0xb4)]();}this[_0x392b84(0x139)]=_0x2812d1;return;}this[_0x392b84(0xf0)]?(this[_0x392b84(0x191)](this[_0x392b84(0xf1)]===0x9?_0x392b84(0x232):_0x392b84(0x164),_0x5b0ac9),this[_0x392b84(0x139)]=_0x2812d1):(this[_0x392b84(0x139)]=_0x4dface,setImmediate(()=>{const _0x293c4a=_0x392b84;this[_0x293c4a(0x191)](this[_0x293c4a(0xf1)]===0x9?_0x293c4a(0x232):_0x293c4a(0x164),_0x5b0ac9),this[_0x293c4a(0x139)]=_0x2812d1,this['startLoop'](_0x544757);}));}['createError'](_0x19fdaa,_0x1e6dbb,_0x320fdc,_0x4ceef2,_0x1446f1){const _0x5050ba=_0x1b8044;this[_0x5050ba(0x239)]=!0x1,this[_0x5050ba(0xcd)]=!0x0;const _0x400d48=new _0x19fdaa(_0x320fdc?'Invalid\x20WebSocket\x20frame:\x20'+_0x1e6dbb:_0x1e6dbb);return Error['captureStackTrace'](_0x400d48,this[_0x5050ba(0x13b)]),_0x400d48[_0x5050ba(0x240)]=_0x1446f1,_0x400d48[_0x5b9249]=_0x4ceef2,_0x400d48;}}return Se=_0x2b28df,Se;}var Ee,et;function _t(){const _0x3a8139=_0x566a19;if(et)return Ee;et=0x1;const {Duplex:_0x2fd56f}=_0x2a69fb,{randomFillSync:_0x4d5a55}=_0x551b4d,_0x293d56=he(),{EMPTY_BUFFER:_0x3813d3,kWebSocket:_0x37daea,NOOP:_0x322d61}=V(),{isBlob:_0x16b715,isValidStatusCode:_0x3aba83}=ne(),{mask:_0x2a5097,toBuffer:_0x16babf}=ce(),_0x6be52b=Symbol(_0x3a8139(0x23a)),_0x341849=Buffer[_0x3a8139(0xcc)](0x4),_0x213168=0x8*0x400;let _0x398f19,_0x5e2eee=_0x213168;const _0x36163d=0x0,_0x3e5b53=0x1,_0x2b4f28=0x2;class _0x1e4fcb{constructor(_0x572be7,_0x32ca3d,_0x483820){const _0x55d925=_0x3a8139;this[_0x55d925(0xe3)]=_0x32ca3d||{},_0x483820&&(this[_0x55d925(0xff)]=_0x483820,this['_maskBuffer']=Buffer[_0x55d925(0xcc)](0x4)),this[_0x55d925(0x1b2)]=_0x572be7,this[_0x55d925(0x19e)]=!0x0,this[_0x55d925(0x205)]=!0x1,this[_0x55d925(0x1a9)]=0x0,this[_0x55d925(0x11b)]=[],this[_0x55d925(0x139)]=_0x36163d,this[_0x55d925(0xe6)]=_0x322d61,this[_0x37daea]=void 0x0;}static['frame'](_0x304b53,_0x121243){const _0x561946=_0x3a8139;let _0x112cc2,_0x394438=!0x1,_0x4d66fe=0x2,_0x4261ad=!0x1;_0x121243['mask']&&(_0x112cc2=_0x121243['maskBuffer']||_0x341849,_0x121243[_0x561946(0x178)]?_0x121243[_0x561946(0x178)](_0x112cc2):(_0x5e2eee===_0x213168&&(_0x398f19===void 0x0&&(_0x398f19=Buffer['alloc'](_0x213168)),_0x4d5a55(_0x398f19,0x0,_0x213168),_0x5e2eee=0x0),_0x112cc2[0x0]=_0x398f19[_0x5e2eee++],_0x112cc2[0x1]=_0x398f19[_0x5e2eee++],_0x112cc2[0x2]=_0x398f19[_0x5e2eee++],_0x112cc2[0x3]=_0x398f19[_0x5e2eee++]),_0x4261ad=(_0x112cc2[0x0]|_0x112cc2[0x1]|_0x112cc2[0x2]|_0x112cc2[0x3])===0x0,_0x4d66fe=0x6);let _0x4b635e;typeof _0x304b53=='string'?(!_0x121243[_0x561946(0xba)]||_0x4261ad)&&_0x121243[_0x6be52b]!==void 0x0?_0x4b635e=_0x121243[_0x6be52b]:(_0x304b53=Buffer[_0x561946(0x1f4)](_0x304b53),_0x4b635e=_0x304b53['length']):(_0x4b635e=_0x304b53['length'],_0x394438=_0x121243[_0x561946(0xba)]&&_0x121243[_0x561946(0xbc)]&&!_0x4261ad);let _0x31d0b9=_0x4b635e;_0x4b635e>=0x10000?(_0x4d66fe+=0x8,_0x31d0b9=0x7f):_0x4b635e>0x7d&&(_0x4d66fe+=0x2,_0x31d0b9=0x7e);const _0x2df886=Buffer['allocUnsafe'](_0x394438?_0x4b635e+_0x4d66fe:_0x4d66fe);return _0x2df886[0x0]=_0x121243['fin']?_0x121243[_0x561946(0x201)]|0x80:_0x121243[_0x561946(0x201)],_0x121243['rsv1']&&(_0x2df886[0x0]|=0x40),_0x2df886[0x1]=_0x31d0b9,_0x31d0b9===0x7e?_0x2df886[_0x561946(0x11f)](_0x4b635e,0x2):_0x31d0b9===0x7f&&(_0x2df886[0x2]=_0x2df886[0x3]=0x0,_0x2df886[_0x561946(0x1bc)](_0x4b635e,0x4,0x6)),_0x121243[_0x561946(0xba)]?(_0x2df886[0x1]|=0x80,_0x2df886[_0x4d66fe-0x4]=_0x112cc2[0x0],_0x2df886[_0x4d66fe-0x3]=_0x112cc2[0x1],_0x2df886[_0x4d66fe-0x2]=_0x112cc2[0x2],_0x2df886[_0x4d66fe-0x1]=_0x112cc2[0x3],_0x4261ad?[_0x2df886,_0x304b53]:_0x394438?(_0x2a5097(_0x304b53,_0x112cc2,_0x2df886,_0x4d66fe,_0x4b635e),[_0x2df886]):(_0x2a5097(_0x304b53,_0x112cc2,_0x304b53,0x0,_0x4b635e),[_0x2df886,_0x304b53])):[_0x2df886,_0x304b53];}['close'](_0x1934ee,_0x15bd4a,_0x15cb4c,_0x18ee8c){const _0x2b9e97=_0x3a8139;let _0x4092fe;if(_0x1934ee===void 0x0)_0x4092fe=_0x3813d3;else{if(typeof _0x1934ee!=_0x2b9e97(0xd9)||!_0x3aba83(_0x1934ee))throw new TypeError(_0x2b9e97(0x244));if(_0x15bd4a===void 0x0||!_0x15bd4a[_0x2b9e97(0x1df)])_0x4092fe=Buffer[_0x2b9e97(0x154)](0x2),_0x4092fe[_0x2b9e97(0x11f)](_0x1934ee,0x0);else{const _0x392451=Buffer[_0x2b9e97(0x123)](_0x15bd4a);if(_0x392451>0x7b)throw new RangeError(_0x2b9e97(0x1d2));_0x4092fe=Buffer[_0x2b9e97(0x154)](0x2+_0x392451),_0x4092fe[_0x2b9e97(0x11f)](_0x1934ee,0x0),typeof _0x15bd4a==_0x2b9e97(0xb8)?_0x4092fe['write'](_0x15bd4a,0x2):_0x4092fe['set'](_0x15bd4a,0x2);}}const _0x3ddb4b={[_0x6be52b]:_0x4092fe[_0x2b9e97(0x1df)],'fin':!0x0,'generateMask':this[_0x2b9e97(0xff)],'mask':_0x15cb4c,'maskBuffer':this[_0x2b9e97(0x1c1)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b9e97(0x139)]!==_0x36163d?this[_0x2b9e97(0xaa)]([this[_0x2b9e97(0x1b9)],_0x4092fe,!0x1,_0x3ddb4b,_0x18ee8c]):this[_0x2b9e97(0xc6)](_0x1e4fcb[_0x2b9e97(0x1a0)](_0x4092fe,_0x3ddb4b),_0x18ee8c);}[_0x3a8139(0x232)](_0x2a6e9d,_0x1b38b7,_0x24047c){const _0x100e7b=_0x3a8139;let _0x69bc4f,_0x1ae3ea;if(typeof _0x2a6e9d=='string'?(_0x69bc4f=Buffer['byteLength'](_0x2a6e9d),_0x1ae3ea=!0x1):_0x16b715(_0x2a6e9d)?(_0x69bc4f=_0x2a6e9d[_0x100e7b(0x109)],_0x1ae3ea=!0x1):(_0x2a6e9d=_0x16babf(_0x2a6e9d),_0x69bc4f=_0x2a6e9d[_0x100e7b(0x1df)],_0x1ae3ea=_0x16babf[_0x100e7b(0xbc)]),_0x69bc4f>0x7d)throw new RangeError(_0x100e7b(0x230));const _0x202650={[_0x6be52b]:_0x69bc4f,'fin':!0x0,'generateMask':this[_0x100e7b(0xff)],'mask':_0x1b38b7,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1ae3ea,'rsv1':!0x1};_0x16b715(_0x2a6e9d)?this['_state']!==_0x36163d?this[_0x100e7b(0xaa)]([this[_0x100e7b(0x23e)],_0x2a6e9d,!0x1,_0x202650,_0x24047c]):this[_0x100e7b(0x23e)](_0x2a6e9d,!0x1,_0x202650,_0x24047c):this['_state']!==_0x36163d?this[_0x100e7b(0xaa)]([this['dispatch'],_0x2a6e9d,!0x1,_0x202650,_0x24047c]):this[_0x100e7b(0xc6)](_0x1e4fcb[_0x100e7b(0x1a0)](_0x2a6e9d,_0x202650),_0x24047c);}['pong'](_0x2d0dec,_0x4235c4,_0x1e0a5e){const _0x407b2d=_0x3a8139;let _0x522135,_0x2e0f72;if(typeof _0x2d0dec==_0x407b2d(0xb8)?(_0x522135=Buffer[_0x407b2d(0x123)](_0x2d0dec),_0x2e0f72=!0x1):_0x16b715(_0x2d0dec)?(_0x522135=_0x2d0dec[_0x407b2d(0x109)],_0x2e0f72=!0x1):(_0x2d0dec=_0x16babf(_0x2d0dec),_0x522135=_0x2d0dec['length'],_0x2e0f72=_0x16babf[_0x407b2d(0xbc)]),_0x522135>0x7d)throw new RangeError(_0x407b2d(0x230));const _0x11591e={[_0x6be52b]:_0x522135,'fin':!0x0,'generateMask':this[_0x407b2d(0xff)],'mask':_0x4235c4,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x2e0f72,'rsv1':!0x1};_0x16b715(_0x2d0dec)?this[_0x407b2d(0x139)]!==_0x36163d?this[_0x407b2d(0xaa)]([this[_0x407b2d(0x23e)],_0x2d0dec,!0x1,_0x11591e,_0x1e0a5e]):this[_0x407b2d(0x23e)](_0x2d0dec,!0x1,_0x11591e,_0x1e0a5e):this['_state']!==_0x36163d?this[_0x407b2d(0xaa)]([this[_0x407b2d(0x1b9)],_0x2d0dec,!0x1,_0x11591e,_0x1e0a5e]):this[_0x407b2d(0xc6)](_0x1e4fcb[_0x407b2d(0x1a0)](_0x2d0dec,_0x11591e),_0x1e0a5e);}[_0x3a8139(0x14c)](_0x2aa0a0,_0x38a96a,_0x3fc734){const _0x261dc9=_0x3a8139,_0x481433=this['_extensions'][_0x293d56[_0x261dc9(0x202)]];let _0x9abd5e=_0x38a96a[_0x261dc9(0x246)]?0x2:0x1,_0x29b74d=_0x38a96a['compress'],_0x3ff583,_0x7dfce4;typeof _0x2aa0a0==_0x261dc9(0xb8)?(_0x3ff583=Buffer[_0x261dc9(0x123)](_0x2aa0a0),_0x7dfce4=!0x1):_0x16b715(_0x2aa0a0)?(_0x3ff583=_0x2aa0a0['size'],_0x7dfce4=!0x1):(_0x2aa0a0=_0x16babf(_0x2aa0a0),_0x3ff583=_0x2aa0a0[_0x261dc9(0x1df)],_0x7dfce4=_0x16babf['readOnly']),this[_0x261dc9(0x19e)]?(this['_firstFragment']=!0x1,_0x29b74d&&_0x481433&&_0x481433[_0x261dc9(0x17a)][_0x481433[_0x261dc9(0x1cb)]?'server_no_context_takeover':_0x261dc9(0x1ff)]&&(_0x29b74d=_0x3ff583>=_0x481433[_0x261dc9(0x10e)]),this[_0x261dc9(0x205)]=_0x29b74d):(_0x29b74d=!0x1,_0x9abd5e=0x0),_0x38a96a['fin']&&(this['_firstFragment']=!0x0);const _0x52a5b2={[_0x6be52b]:_0x3ff583,'fin':_0x38a96a[_0x261dc9(0x1e3)],'generateMask':this[_0x261dc9(0xff)],'mask':_0x38a96a[_0x261dc9(0xba)],'maskBuffer':this[_0x261dc9(0x1c1)],'opcode':_0x9abd5e,'readOnly':_0x7dfce4,'rsv1':_0x29b74d};_0x16b715(_0x2aa0a0)?this[_0x261dc9(0x139)]!==_0x36163d?this[_0x261dc9(0xaa)]([this[_0x261dc9(0x23e)],_0x2aa0a0,this[_0x261dc9(0x205)],_0x52a5b2,_0x3fc734]):this[_0x261dc9(0x23e)](_0x2aa0a0,this[_0x261dc9(0x205)],_0x52a5b2,_0x3fc734):this['_state']!==_0x36163d?this[_0x261dc9(0xaa)]([this[_0x261dc9(0x1b9)],_0x2aa0a0,this[_0x261dc9(0x205)],_0x52a5b2,_0x3fc734]):this[_0x261dc9(0x1b9)](_0x2aa0a0,this[_0x261dc9(0x205)],_0x52a5b2,_0x3fc734);}['getBlobData'](_0x3ba42d,_0x4d9361,_0xecc9f8,_0x50fffb){const _0x59d7e4=_0x3a8139;this[_0x59d7e4(0x1a9)]+=_0xecc9f8[_0x6be52b],this['_state']=_0x2b4f28,_0x3ba42d[_0x59d7e4(0x242)]()[_0x59d7e4(0x15e)](_0x47e82b=>{const _0xf83050=_0x59d7e4;if(this[_0xf83050(0x1b2)][_0xf83050(0x151)]){const _0xa3c6d3=new Error(_0xf83050(0x122));process[_0xf83050(0x21f)](_0x3a3d16,this,_0xa3c6d3,_0x50fffb);return;}this[_0xf83050(0x1a9)]-=_0xecc9f8[_0x6be52b];const _0x3c144c=_0x16babf(_0x47e82b);_0x4d9361?this[_0xf83050(0x1b9)](_0x3c144c,_0x4d9361,_0xecc9f8,_0x50fffb):(this[_0xf83050(0x139)]=_0x36163d,this[_0xf83050(0xc6)](_0x1e4fcb[_0xf83050(0x1a0)](_0x3c144c,_0xecc9f8),_0x50fffb),this[_0xf83050(0x20e)]());})[_0x59d7e4(0x1f0)](_0x1843e6=>{const _0x5e605f=_0x59d7e4;process[_0x5e605f(0x21f)](_0x24a974,this,_0x1843e6,_0x50fffb);});}['dispatch'](_0x524014,_0x275426,_0x4b39e5,_0x10d60f){const _0x471c08=_0x3a8139;if(!_0x275426){this['sendFrame'](_0x1e4fcb[_0x471c08(0x1a0)](_0x524014,_0x4b39e5),_0x10d60f);return;}const _0x4a89c6=this[_0x471c08(0xe3)][_0x293d56[_0x471c08(0x202)]];this['_bufferedBytes']+=_0x4b39e5[_0x6be52b],this[_0x471c08(0x139)]=_0x3e5b53,_0x4a89c6[_0x471c08(0x20c)](_0x524014,_0x4b39e5['fin'],(_0x4a310a,_0xd47620)=>{const _0x3e5a2d=_0x471c08;if(this[_0x3e5a2d(0x1b2)][_0x3e5a2d(0x151)]){const _0x223139=new Error(_0x3e5a2d(0x247));_0x3a3d16(this,_0x223139,_0x10d60f);return;}this['_bufferedBytes']-=_0x4b39e5[_0x6be52b],this[_0x3e5a2d(0x139)]=_0x36163d,_0x4b39e5[_0x3e5a2d(0xbc)]=!0x1,this['sendFrame'](_0x1e4fcb[_0x3e5a2d(0x1a0)](_0xd47620,_0x4b39e5),_0x10d60f),this['dequeue']();});}['dequeue'](){const _0xe1ed6a=_0x3a8139;for(;this['_state']===_0x36163d&&this[_0xe1ed6a(0x11b)][_0xe1ed6a(0x1df)];){const _0xa0db57=this[_0xe1ed6a(0x11b)]['shift']();this[_0xe1ed6a(0x1a9)]-=_0xa0db57[0x3][_0x6be52b],Reflect[_0xe1ed6a(0xcf)](_0xa0db57[0x0],this,_0xa0db57['slice'](0x1));}}[_0x3a8139(0xaa)](_0x1d2302){const _0x5ba365=_0x3a8139;this[_0x5ba365(0x1a9)]+=_0x1d2302[0x3][_0x6be52b],this[_0x5ba365(0x11b)]['push'](_0x1d2302);}['sendFrame'](_0x507d97,_0x3e9c42){const _0x2bc0e5=_0x3a8139;_0x507d97['length']===0x2?(this[_0x2bc0e5(0x1b2)][_0x2bc0e5(0x150)](),this['_socket'][_0x2bc0e5(0x148)](_0x507d97[0x0]),this[_0x2bc0e5(0x1b2)][_0x2bc0e5(0x148)](_0x507d97[0x1],_0x3e9c42),this['_socket']['uncork']()):this[_0x2bc0e5(0x1b2)][_0x2bc0e5(0x148)](_0x507d97[0x0],_0x3e9c42);}}Ee=_0x1e4fcb;function _0x3a3d16(_0x58c45a,_0x477c13,_0xfdda6a){const _0x12db3e=_0x3a8139;typeof _0xfdda6a==_0x12db3e(0x100)&&_0xfdda6a(_0x477c13);for(let _0x40cfe0=0x0;_0x40cfe0<_0x58c45a[_0x12db3e(0x11b)][_0x12db3e(0x1df)];_0x40cfe0++){const _0x2797e6=_0x58c45a[_0x12db3e(0x11b)][_0x40cfe0],_0x87f599=_0x2797e6[_0x2797e6[_0x12db3e(0x1df)]-0x1];typeof _0x87f599==_0x12db3e(0x100)&&_0x87f599(_0x477c13);}}function _0x24a974(_0x6d88a6,_0x8ddcee,_0xb29c75){const _0x117e8e=_0x3a8139;_0x3a3d16(_0x6d88a6,_0x8ddcee,_0xb29c75),_0x6d88a6[_0x117e8e(0xe6)](_0x8ddcee);}return Ee;}var xe,tt;function Kt(){const _0x12f7d3=_0x566a19;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x48d03d,kListener:_0x3f2bdd}=V(),_0x2c768e=Symbol(_0x12f7d3(0x17b)),_0x4c5031=Symbol(_0x12f7d3(0x1a4)),_0x28c8a1=Symbol(_0x12f7d3(0x18e)),_0x45c410=Symbol(_0x12f7d3(0x243)),_0x43c1b6=Symbol('kReason'),_0x1770eb=Symbol('kTarget'),_0x574605=Symbol('kType'),_0x2d0986=Symbol(_0x12f7d3(0x1ad));class _0x1367b9{constructor(_0x582a63){this[_0x1770eb]=null,this[_0x574605]=_0x582a63;}get['target'](){return this[_0x1770eb];}get[_0x12f7d3(0x1f5)](){return this[_0x574605];}}Object[_0x12f7d3(0xab)](_0x1367b9[_0x12f7d3(0x218)],_0x12f7d3(0x1b0),{'enumerable':!0x0}),Object['defineProperty'](_0x1367b9[_0x12f7d3(0x218)],_0x12f7d3(0x1f5),{'enumerable':!0x0});class _0x315d9f extends _0x1367b9{constructor(_0x310fcc,_0x2ea38f={}){const _0x448347=_0x12f7d3;super(_0x310fcc),this[_0x2c768e]=_0x2ea38f[_0x448347(0x240)]===void 0x0?0x0:_0x2ea38f[_0x448347(0x240)],this[_0x43c1b6]=_0x2ea38f[_0x448347(0x195)]===void 0x0?'':_0x2ea38f[_0x448347(0x195)],this[_0x2d0986]=_0x2ea38f[_0x448347(0x1b6)]===void 0x0?!0x1:_0x2ea38f[_0x448347(0x1b6)];}get['code'](){return this[_0x2c768e];}get['reason'](){return this[_0x43c1b6];}get[_0x12f7d3(0x1b6)](){return this[_0x2d0986];}}Object['defineProperty'](_0x315d9f[_0x12f7d3(0x218)],_0x12f7d3(0x240),{'enumerable':!0x0}),Object['defineProperty'](_0x315d9f['prototype'],_0x12f7d3(0x195),{'enumerable':!0x0}),Object[_0x12f7d3(0xab)](_0x315d9f['prototype'],_0x12f7d3(0x1b6),{'enumerable':!0x0});class _0x3c699f extends _0x1367b9{constructor(_0x289f32,_0x3e238e={}){const _0x1d9399=_0x12f7d3;super(_0x289f32),this[_0x28c8a1]=_0x3e238e[_0x1d9399(0xf4)]===void 0x0?null:_0x3e238e[_0x1d9399(0xf4)],this[_0x45c410]=_0x3e238e[_0x1d9399(0xe2)]===void 0x0?'':_0x3e238e[_0x1d9399(0xe2)];}get[_0x12f7d3(0xf4)](){return this[_0x28c8a1];}get[_0x12f7d3(0xe2)](){return this[_0x45c410];}}Object['defineProperty'](_0x3c699f['prototype'],'error',{'enumerable':!0x0}),Object[_0x12f7d3(0xab)](_0x3c699f[_0x12f7d3(0x218)],_0x12f7d3(0xe2),{'enumerable':!0x0});class _0x3b96bf extends _0x1367b9{constructor(_0x2c5927,_0xe58b18={}){const _0x25f87b=_0x12f7d3;super(_0x2c5927),this[_0x4c5031]=_0xe58b18[_0x25f87b(0x173)]===void 0x0?null:_0xe58b18[_0x25f87b(0x173)];}get[_0x12f7d3(0x173)](){return this[_0x4c5031];}}Object['defineProperty'](_0x3b96bf['prototype'],_0x12f7d3(0x173),{'enumerable':!0x0}),xe={'CloseEvent':_0x315d9f,'ErrorEvent':_0x3c699f,'Event':_0x1367b9,'EventTarget':{'addEventListener'(_0x79fac0,_0x449dd6,_0x172877={}){const _0x54d2a7=_0x12f7d3;for(const _0x106748 of this[_0x54d2a7(0x1f9)](_0x79fac0))if(!_0x172877[_0x48d03d]&&_0x106748[_0x3f2bdd]===_0x449dd6&&!_0x106748[_0x48d03d])return;let _0x5e39fd;if(_0x79fac0==='message')_0x5e39fd=function(_0x542a95,_0x431b91){const _0x4d0954=_0x54d2a7,_0x3bdae4=new _0x3b96bf('message',{'data':_0x431b91?_0x542a95:_0x542a95[_0x4d0954(0x248)]()});_0x3bdae4[_0x1770eb]=this,_0x48e5a0(_0x449dd6,this,_0x3bdae4);};else{if(_0x79fac0===_0x54d2a7(0x220))_0x5e39fd=function(_0x5d764a,_0x281751){const _0x58f327=_0x54d2a7,_0xbdf5d5=new _0x315d9f(_0x58f327(0x220),{'code':_0x5d764a,'reason':_0x281751[_0x58f327(0x248)](),'wasClean':this['_closeFrameReceived']&&this[_0x58f327(0xd4)]});_0xbdf5d5[_0x1770eb]=this,_0x48e5a0(_0x449dd6,this,_0xbdf5d5);};else{if(_0x79fac0===_0x54d2a7(0xf4))_0x5e39fd=function(_0x37ecc4){const _0xfcbac5=_0x54d2a7,_0x47f501=new _0x3c699f('error',{'error':_0x37ecc4,'message':_0x37ecc4[_0xfcbac5(0xe2)]});_0x47f501[_0x1770eb]=this,_0x48e5a0(_0x449dd6,this,_0x47f501);};else{if(_0x79fac0===_0x54d2a7(0x206))_0x5e39fd=function(){const _0x2c2f97=_0x54d2a7,_0x177643=new _0x1367b9(_0x2c2f97(0x206));_0x177643[_0x1770eb]=this,_0x48e5a0(_0x449dd6,this,_0x177643);};else return;}}}_0x5e39fd[_0x48d03d]=!!_0x172877[_0x48d03d],_0x5e39fd[_0x3f2bdd]=_0x449dd6,_0x172877[_0x54d2a7(0x17d)]?this['once'](_0x79fac0,_0x5e39fd):this['on'](_0x79fac0,_0x5e39fd);},'removeEventListener'(_0x2db99c,_0x5e6aa1){const _0x78241c=_0x12f7d3;for(const _0x2aceee of this[_0x78241c(0x1f9)](_0x2db99c))if(_0x2aceee[_0x3f2bdd]===_0x5e6aa1&&!_0x2aceee[_0x48d03d]){this[_0x78241c(0x12d)](_0x2db99c,_0x2aceee);break;}}},'MessageEvent':_0x3b96bf};function _0x48e5a0(_0x1e3a8b,_0x1b7784,_0x23ed3e){const _0x5728fa=_0x12f7d3;typeof _0x1e3a8b==_0x5728fa(0x217)&&_0x1e3a8b[_0x5728fa(0x1cf)]?_0x1e3a8b[_0x5728fa(0x1cf)][_0x5728fa(0x1c8)](_0x1e3a8b,_0x23ed3e):_0x1e3a8b['call'](_0x1b7784,_0x23ed3e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5c89ee}=ne();function _0xfa513a(_0x58196d,_0x1c16b1,_0xb606fb){const _0x4101b7=_0x2b21;_0x58196d[_0x1c16b1]===void 0x0?_0x58196d[_0x1c16b1]=[_0xb606fb]:_0x58196d[_0x1c16b1][_0x4101b7(0x114)](_0xb606fb);}function _0x5cd0fa(_0x25f1e5){const _0x23d78c=_0x2b21,_0xea6a0a=Object[_0x23d78c(0x144)](null);let _0x1fa4ef=Object[_0x23d78c(0x144)](null),_0x488f63=!0x1,_0x21c314=!0x1,_0x2004b4=!0x1,_0x5b43db,_0x3c7d66,_0x2cf571=-0x1,_0x935998=-0x1,_0x143ad3=-0x1,_0x48ae8a=0x0;for(;_0x48ae8a<_0x25f1e5['length'];_0x48ae8a++)if(_0x935998=_0x25f1e5[_0x23d78c(0x177)](_0x48ae8a),_0x5b43db===void 0x0){if(_0x143ad3===-0x1&&_0x5c89ee[_0x935998]===0x1)_0x2cf571===-0x1&&(_0x2cf571=_0x48ae8a);else{if(_0x48ae8a!==0x0&&(_0x935998===0x20||_0x935998===0x9))_0x143ad3===-0x1&&_0x2cf571!==-0x1&&(_0x143ad3=_0x48ae8a);else{if(_0x935998===0x3b||_0x935998===0x2c){if(_0x2cf571===-0x1)throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);_0x143ad3===-0x1&&(_0x143ad3=_0x48ae8a);const _0x521d27=_0x25f1e5[_0x23d78c(0x125)](_0x2cf571,_0x143ad3);_0x935998===0x2c?(_0xfa513a(_0xea6a0a,_0x521d27,_0x1fa4ef),_0x1fa4ef=Object[_0x23d78c(0x144)](null)):_0x5b43db=_0x521d27,_0x2cf571=_0x143ad3=-0x1;}else throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);}}}else{if(_0x3c7d66===void 0x0){if(_0x143ad3===-0x1&&_0x5c89ee[_0x935998]===0x1)_0x2cf571===-0x1&&(_0x2cf571=_0x48ae8a);else{if(_0x935998===0x20||_0x935998===0x9)_0x143ad3===-0x1&&_0x2cf571!==-0x1&&(_0x143ad3=_0x48ae8a);else{if(_0x935998===0x3b||_0x935998===0x2c){if(_0x2cf571===-0x1)throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);_0x143ad3===-0x1&&(_0x143ad3=_0x48ae8a),_0xfa513a(_0x1fa4ef,_0x25f1e5[_0x23d78c(0x125)](_0x2cf571,_0x143ad3),!0x0),_0x935998===0x2c&&(_0xfa513a(_0xea6a0a,_0x5b43db,_0x1fa4ef),_0x1fa4ef=Object['create'](null),_0x5b43db=void 0x0),_0x2cf571=_0x143ad3=-0x1;}else{if(_0x935998===0x3d&&_0x2cf571!==-0x1&&_0x143ad3===-0x1)_0x3c7d66=_0x25f1e5['slice'](_0x2cf571,_0x48ae8a),_0x2cf571=_0x143ad3=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x48ae8a);}}}}else{if(_0x21c314){if(_0x5c89ee[_0x935998]!==0x1)throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);_0x2cf571===-0x1?_0x2cf571=_0x48ae8a:_0x488f63||(_0x488f63=!0x0),_0x21c314=!0x1;}else{if(_0x2004b4){if(_0x5c89ee[_0x935998]===0x1)_0x2cf571===-0x1&&(_0x2cf571=_0x48ae8a);else{if(_0x935998===0x22&&_0x2cf571!==-0x1)_0x2004b4=!0x1,_0x143ad3=_0x48ae8a;else{if(_0x935998===0x5c)_0x21c314=!0x0;else throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);}}}else{if(_0x935998===0x22&&_0x25f1e5[_0x23d78c(0x177)](_0x48ae8a-0x1)===0x3d)_0x2004b4=!0x0;else{if(_0x143ad3===-0x1&&_0x5c89ee[_0x935998]===0x1)_0x2cf571===-0x1&&(_0x2cf571=_0x48ae8a);else{if(_0x2cf571!==-0x1&&(_0x935998===0x20||_0x935998===0x9))_0x143ad3===-0x1&&(_0x143ad3=_0x48ae8a);else{if(_0x935998===0x3b||_0x935998===0x2c){if(_0x2cf571===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x48ae8a);_0x143ad3===-0x1&&(_0x143ad3=_0x48ae8a);let _0xaf8803=_0x25f1e5['slice'](_0x2cf571,_0x143ad3);_0x488f63&&(_0xaf8803=_0xaf8803[_0x23d78c(0x1f2)](/\\/g,''),_0x488f63=!0x1),_0xfa513a(_0x1fa4ef,_0x3c7d66,_0xaf8803),_0x935998===0x2c&&(_0xfa513a(_0xea6a0a,_0x5b43db,_0x1fa4ef),_0x1fa4ef=Object['create'](null),_0x5b43db=void 0x0),_0x3c7d66=void 0x0,_0x2cf571=_0x143ad3=-0x1;}else throw new SyntaxError(_0x23d78c(0x18d)+_0x48ae8a);}}}}}}}if(_0x2cf571===-0x1||_0x2004b4||_0x935998===0x20||_0x935998===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x143ad3===-0x1&&(_0x143ad3=_0x48ae8a);const _0x511da6=_0x25f1e5['slice'](_0x2cf571,_0x143ad3);return _0x5b43db===void 0x0?_0xfa513a(_0xea6a0a,_0x511da6,_0x1fa4ef):(_0x3c7d66===void 0x0?_0xfa513a(_0x1fa4ef,_0x511da6,!0x0):_0x488f63?_0xfa513a(_0x1fa4ef,_0x3c7d66,_0x511da6['replace'](/\\/g,'')):_0xfa513a(_0x1fa4ef,_0x3c7d66,_0x511da6),_0xfa513a(_0xea6a0a,_0x5b43db,_0x1fa4ef)),_0xea6a0a;}function _0x249c47(_0x3475e1){const _0x164a4b=_0x2b21;return Object[_0x164a4b(0x1a3)](_0x3475e1)['map'](_0x5d5ec9=>{const _0x114490=_0x164a4b;let _0x30288b=_0x3475e1[_0x5d5ec9];return Array[_0x114490(0x1d4)](_0x30288b)||(_0x30288b=[_0x30288b]),_0x30288b[_0x114490(0xe4)](_0x4d9a95=>[_0x5d5ec9][_0x114490(0xb7)](Object[_0x114490(0x1a3)](_0x4d9a95)[_0x114490(0xe4)](_0x9a18a=>{const _0x32ecad=_0x114490;let _0x14a8f9=_0x4d9a95[_0x9a18a];return Array[_0x32ecad(0x1d4)](_0x14a8f9)||(_0x14a8f9=[_0x14a8f9]),_0x14a8f9['map'](_0x11768a=>_0x11768a===!0x0?_0x9a18a:_0x9a18a+'='+_0x11768a)[_0x32ecad(0x1f8)](';\x20');}))[_0x114490(0x1f8)](';\x20'))[_0x114490(0x1f8)](',\x20');})['join'](',\x20');}return be={'format':_0x249c47,'parse':_0x5cd0fa},be;}var we,st;function Ie(){const _0x32d4ce=_0x566a19;if(st)return we;st=0x1;const _0xfbc735=_0x2dfb7e,_0x409692=_0x593380,_0x4e2fd2=_0x3b9b55,_0x4b2117=_0x6a9204,_0x4920e2=_0x4b755d,{randomBytes:_0x34f00c,createHash:_0x1dff6d}=_0x551b4d,{Duplex:_0x2281a1,Readable:_0x2f9afc}=_0x2a69fb,{URL:_0x17947c}=_0x18fb29,_0x5de208=he(),_0x42be97=dt(),_0x1f8707=_t(),{isBlob:_0x1e10ec}=ne(),{BINARY_TYPES:_0x14b6c3,EMPTY_BUFFER:_0x507450,GUID:_0x19e6ce,kForOnEventAttribute:_0x3200d1,kListener:_0x1036ab,kStatusCode:_0x4f92bb,kWebSocket:_0x251014,NOOP:_0x588f77}=V(),{EventTarget:{addEventListener:_0x578a6f,removeEventListener:_0x51a1fe}}=Kt(),{format:_0x68fbdf,parse:_0x4de5e0}=pt(),{toBuffer:_0x640a4f}=ce(),_0x5349b9=0x1e*0x3e8,_0x5a91b0=Symbol(_0x32d4ce(0x134)),_0x219518=[0x8,0xd],_0x45490d=[_0x32d4ce(0x21a),_0x32d4ce(0x16c),_0x32d4ce(0x22f),_0x32d4ce(0x140)],_0x52f32f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4f328b extends _0xfbc735{constructor(_0x4ec577,_0x1e14a6,_0x18f25b){const _0x5ac2ac=_0x32d4ce;super(),this['_binaryType']=_0x14b6c3[0x0],this['_closeCode']=0x3ee,this[_0x5ac2ac(0x1ca)]=!0x1,this[_0x5ac2ac(0xd4)]=!0x1,this[_0x5ac2ac(0x13d)]=_0x507450,this[_0x5ac2ac(0x215)]=null,this[_0x5ac2ac(0x1da)]=!0x1,this[_0x5ac2ac(0xe3)]={},this[_0x5ac2ac(0x1ac)]=!0x1,this[_0x5ac2ac(0x176)]='',this['_readyState']=_0x4f328b[_0x5ac2ac(0x21a)],this[_0x5ac2ac(0xc2)]=null,this['_sender']=null,this[_0x5ac2ac(0x1b2)]=null,_0x4ec577!==null?(this[_0x5ac2ac(0x174)]=0x0,this[_0x5ac2ac(0x1cb)]=!0x1,this[_0x5ac2ac(0x170)]=0x0,_0x1e14a6===void 0x0?_0x1e14a6=[]:Array['isArray'](_0x1e14a6)||(typeof _0x1e14a6==_0x5ac2ac(0x217)&&_0x1e14a6!==null?(_0x18f25b=_0x1e14a6,_0x1e14a6=[]):_0x1e14a6=[_0x1e14a6]),_0x3f9358(this,_0x4ec577,_0x1e14a6,_0x18f25b)):(this[_0x5ac2ac(0x162)]=_0x18f25b['autoPong'],this['_isServer']=!0x0);}get['binaryType'](){const _0x3c79fd=_0x32d4ce;return this[_0x3c79fd(0x228)];}set[_0x32d4ce(0x20f)](_0x17719d){const _0x965fb3=_0x32d4ce;_0x14b6c3[_0x965fb3(0x12a)](_0x17719d)&&(this['_binaryType']=_0x17719d,this['_receiver']&&(this[_0x965fb3(0xc2)][_0x965fb3(0x228)]=_0x17719d));}get[_0x32d4ce(0x216)](){const _0x1ce4f9=_0x32d4ce;return this[_0x1ce4f9(0x1b2)]?this[_0x1ce4f9(0x1b2)][_0x1ce4f9(0x22e)][_0x1ce4f9(0x1df)]+this[_0x1ce4f9(0xde)][_0x1ce4f9(0x1a9)]:this[_0x1ce4f9(0x174)];}get[_0x32d4ce(0x24b)](){const _0x4c8989=_0x32d4ce;return Object[_0x4c8989(0x1a3)](this[_0x4c8989(0xe3)])[_0x4c8989(0x1f8)]();}get['isPaused'](){const _0x2d8253=_0x32d4ce;return this[_0x2d8253(0x1ac)];}get[_0x32d4ce(0x212)](){return null;}get[_0x32d4ce(0xe6)](){return null;}get[_0x32d4ce(0x210)](){return null;}get['onmessage'](){return null;}get[_0x32d4ce(0x1ee)](){const _0x13aab4=_0x32d4ce;return this[_0x13aab4(0x176)];}get['readyState'](){const _0x44a3c3=_0x32d4ce;return this[_0x44a3c3(0x15a)];}get[_0x32d4ce(0x1d6)](){const _0x1b782c=_0x32d4ce;return this[_0x1b782c(0x159)];}[_0x32d4ce(0x236)](_0x1cb503,_0x84eebe,_0x2074fd){const _0x3c2de4=_0x32d4ce,_0x3967bf=new _0x42be97({'allowSynchronousEvents':_0x2074fd[_0x3c2de4(0x12c)],'binaryType':this[_0x3c2de4(0x20f)],'extensions':this[_0x3c2de4(0xe3)],'isServer':this[_0x3c2de4(0x1cb)],'maxPayload':_0x2074fd['maxPayload'],'skipUTF8Validation':_0x2074fd[_0x3c2de4(0x1c6)]}),_0x6daf79=new _0x1f8707(_0x1cb503,this[_0x3c2de4(0xe3)],_0x2074fd['generateMask']);this[_0x3c2de4(0xc2)]=_0x3967bf,this['_sender']=_0x6daf79,this[_0x3c2de4(0x1b2)]=_0x1cb503,_0x3967bf[_0x251014]=this,_0x6daf79[_0x251014]=this,_0x1cb503[_0x251014]=this,_0x3967bf['on'](_0x3c2de4(0xfa),_0x21976a),_0x3967bf['on'](_0x3c2de4(0xd7),_0x3f05ed),_0x3967bf['on'](_0x3c2de4(0xf4),_0x2b7a1f),_0x3967bf['on'](_0x3c2de4(0xe2),_0xf07874),_0x3967bf['on'](_0x3c2de4(0x232),_0x5ef5df),_0x3967bf['on']('pong',_0x31d6fc),_0x6daf79[_0x3c2de4(0xe6)]=_0x2f4b03,_0x1cb503[_0x3c2de4(0x103)]&&_0x1cb503[_0x3c2de4(0x103)](0x0),_0x1cb503[_0x3c2de4(0x166)]&&_0x1cb503[_0x3c2de4(0x166)](),_0x84eebe[_0x3c2de4(0x1df)]>0x0&&_0x1cb503[_0x3c2de4(0x1fa)](_0x84eebe),_0x1cb503['on'](_0x3c2de4(0x220),_0x418ae2),_0x1cb503['on'](_0x3c2de4(0x173),_0x5cbdda),_0x1cb503['on'](_0x3c2de4(0xb4),_0x7cda50),_0x1cb503['on'](_0x3c2de4(0xf4),_0x218ba2),this[_0x3c2de4(0x15a)]=_0x4f328b[_0x3c2de4(0x16c)],this[_0x3c2de4(0x191)](_0x3c2de4(0x206));}[_0x32d4ce(0x13f)](){const _0x42bd0a=_0x32d4ce;if(!this[_0x42bd0a(0x1b2)]){this[_0x42bd0a(0x15a)]=_0x4f328b[_0x42bd0a(0x140)],this[_0x42bd0a(0x191)](_0x42bd0a(0x220),this['_closeCode'],this[_0x42bd0a(0x13d)]);return;}this[_0x42bd0a(0xe3)][_0x5de208[_0x42bd0a(0x202)]]&&this[_0x42bd0a(0xe3)][_0x5de208[_0x42bd0a(0x202)]][_0x42bd0a(0x10a)](),this[_0x42bd0a(0xc2)][_0x42bd0a(0x1dd)](),this[_0x42bd0a(0x15a)]=_0x4f328b[_0x42bd0a(0x140)],this[_0x42bd0a(0x191)](_0x42bd0a(0x220),this[_0x42bd0a(0x133)],this[_0x42bd0a(0x13d)]);}[_0x32d4ce(0x220)](_0x42e664,_0x24d028){const _0x5a12d9=_0x32d4ce;if(this[_0x5a12d9(0x1b8)]!==_0x4f328b[_0x5a12d9(0x140)]){if(this[_0x5a12d9(0x1b8)]===_0x4f328b['CONNECTING']){_0x142163(this,this[_0x5a12d9(0x193)],_0x5a12d9(0x1a2));return;}if(this[_0x5a12d9(0x1b8)]===_0x4f328b[_0x5a12d9(0x22f)]){this[_0x5a12d9(0xd4)]&&(this['_closeFrameReceived']||this['_receiver']['_writableState'][_0x5a12d9(0x142)])&&this[_0x5a12d9(0x1b2)]['end']();return;}this[_0x5a12d9(0x15a)]=_0x4f328b[_0x5a12d9(0x22f)],this['_sender']['close'](_0x42e664,_0x24d028,!this[_0x5a12d9(0x1cb)],_0xf57379=>{const _0x4d3688=_0x5a12d9;_0xf57379||(this['_closeFrameSent']=!0x0,(this[_0x4d3688(0x1ca)]||this[_0x4d3688(0xc2)][_0x4d3688(0x22e)][_0x4d3688(0x142)])&&this[_0x4d3688(0x1b2)][_0x4d3688(0xb4)]());}),_0xc660d(this);}}[_0x32d4ce(0xae)](){const _0x1dff53=_0x32d4ce;this[_0x1dff53(0x1b8)]===_0x4f328b[_0x1dff53(0x21a)]||this[_0x1dff53(0x1b8)]===_0x4f328b[_0x1dff53(0x140)]||(this['_paused']=!0x0,this['_socket'][_0x1dff53(0xae)]());}[_0x32d4ce(0x232)](_0x1f231,_0xd90b20,_0x5a8166){const _0x48097f=_0x32d4ce;if(this[_0x48097f(0x1b8)]===_0x4f328b[_0x48097f(0x21a)])throw new Error(_0x48097f(0x226));if(typeof _0x1f231==_0x48097f(0x100)?(_0x5a8166=_0x1f231,_0x1f231=_0xd90b20=void 0x0):typeof _0xd90b20==_0x48097f(0x100)&&(_0x5a8166=_0xd90b20,_0xd90b20=void 0x0),typeof _0x1f231=='number'&&(_0x1f231=_0x1f231[_0x48097f(0x248)]()),this[_0x48097f(0x1b8)]!==_0x4f328b[_0x48097f(0x16c)]){_0x5be95d(this,_0x1f231,_0x5a8166);return;}_0xd90b20===void 0x0&&(_0xd90b20=!this[_0x48097f(0x1cb)]),this['_sender']['ping'](_0x1f231||_0x507450,_0xd90b20,_0x5a8166);}[_0x32d4ce(0x164)](_0x416c79,_0x3cd446,_0x131c8a){const _0x4b9dc1=_0x32d4ce;if(this['readyState']===_0x4f328b[_0x4b9dc1(0x21a)])throw new Error(_0x4b9dc1(0x226));if(typeof _0x416c79==_0x4b9dc1(0x100)?(_0x131c8a=_0x416c79,_0x416c79=_0x3cd446=void 0x0):typeof _0x3cd446==_0x4b9dc1(0x100)&&(_0x131c8a=_0x3cd446,_0x3cd446=void 0x0),typeof _0x416c79==_0x4b9dc1(0xd9)&&(_0x416c79=_0x416c79[_0x4b9dc1(0x248)]()),this['readyState']!==_0x4f328b['OPEN']){_0x5be95d(this,_0x416c79,_0x131c8a);return;}_0x3cd446===void 0x0&&(_0x3cd446=!this[_0x4b9dc1(0x1cb)]),this[_0x4b9dc1(0xde)]['pong'](_0x416c79||_0x507450,_0x3cd446,_0x131c8a);}[_0x32d4ce(0x233)](){const _0x348555=_0x32d4ce;this[_0x348555(0x1b8)]===_0x4f328b[_0x348555(0x21a)]||this[_0x348555(0x1b8)]===_0x4f328b[_0x348555(0x140)]||(this[_0x348555(0x1ac)]=!0x1,this['_receiver'][_0x348555(0x22e)][_0x348555(0x198)]||this[_0x348555(0x1b2)]['resume']());}[_0x32d4ce(0x14c)](_0x5b207b,_0x16f66f,_0x475d46){const _0x475c9b=_0x32d4ce;if(this['readyState']===_0x4f328b[_0x475c9b(0x21a)])throw new Error(_0x475c9b(0x226));if(typeof _0x16f66f==_0x475c9b(0x100)&&(_0x475d46=_0x16f66f,_0x16f66f={}),typeof _0x5b207b==_0x475c9b(0xd9)&&(_0x5b207b=_0x5b207b['toString']()),this['readyState']!==_0x4f328b['OPEN']){_0x5be95d(this,_0x5b207b,_0x475d46);return;}const _0x2fa771={'binary':typeof _0x5b207b!='string','mask':!this[_0x475c9b(0x1cb)],'compress':!0x0,'fin':!0x0,..._0x16f66f};this[_0x475c9b(0xe3)][_0x5de208[_0x475c9b(0x202)]]||(_0x2fa771[_0x475c9b(0x20c)]=!0x1),this[_0x475c9b(0xde)][_0x475c9b(0x14c)](_0x5b207b||_0x507450,_0x2fa771,_0x475d46);}[_0x32d4ce(0x1fb)](){const _0x2226a6=_0x32d4ce;if(this[_0x2226a6(0x1b8)]!==_0x4f328b[_0x2226a6(0x140)]){if(this[_0x2226a6(0x1b8)]===_0x4f328b[_0x2226a6(0x21a)]){_0x142163(this,this[_0x2226a6(0x193)],_0x2226a6(0x1a2));return;}this['_socket']&&(this['_readyState']=_0x4f328b[_0x2226a6(0x22f)],this['_socket'][_0x2226a6(0x224)]());}}}Object[_0x32d4ce(0xab)](_0x4f328b,_0x32d4ce(0x21a),{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)]('CONNECTING')}),Object[_0x32d4ce(0xab)](_0x4f328b[_0x32d4ce(0x218)],_0x32d4ce(0x21a),{'enumerable':!0x0,'value':_0x45490d['indexOf'](_0x32d4ce(0x21a))}),Object[_0x32d4ce(0xab)](_0x4f328b,_0x32d4ce(0x16c),{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)]('OPEN')}),Object[_0x32d4ce(0xab)](_0x4f328b['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)](_0x32d4ce(0x16c))}),Object[_0x32d4ce(0xab)](_0x4f328b,_0x32d4ce(0x22f),{'enumerable':!0x0,'value':_0x45490d['indexOf'](_0x32d4ce(0x22f))}),Object[_0x32d4ce(0xab)](_0x4f328b[_0x32d4ce(0x218)],_0x32d4ce(0x22f),{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)]('CLOSING')}),Object['defineProperty'](_0x4f328b,_0x32d4ce(0x140),{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)]('CLOSED')}),Object[_0x32d4ce(0xab)](_0x4f328b[_0x32d4ce(0x218)],_0x32d4ce(0x140),{'enumerable':!0x0,'value':_0x45490d[_0x32d4ce(0x155)]('CLOSED')}),['binaryType',_0x32d4ce(0x216),_0x32d4ce(0x24b),_0x32d4ce(0x1f7),_0x32d4ce(0x1ee),_0x32d4ce(0x1b8),'url'][_0x32d4ce(0x12e)](_0x47e6cb=>{const _0x510064=_0x32d4ce;Object[_0x510064(0xab)](_0x4f328b[_0x510064(0x218)],_0x47e6cb,{'enumerable':!0x0});}),[_0x32d4ce(0x206),_0x32d4ce(0xf4),_0x32d4ce(0x220),_0x32d4ce(0xe2)][_0x32d4ce(0x12e)](_0x198f35=>{const _0x2addbf=_0x32d4ce;Object[_0x2addbf(0xab)](_0x4f328b[_0x2addbf(0x218)],'on'+_0x198f35,{'enumerable':!0x0,'get'(){const _0x407e95=_0x2addbf;for(const _0x17dbca of this[_0x407e95(0x1f9)](_0x198f35))if(_0x17dbca[_0x3200d1])return _0x17dbca[_0x1036ab];return null;},'set'(_0x3d7631){const _0xfb00fa=_0x2addbf;for(const _0x56765f of this['listeners'](_0x198f35))if(_0x56765f[_0x3200d1]){this[_0xfb00fa(0x12d)](_0x198f35,_0x56765f);break;}typeof _0x3d7631=='function'&&this[_0xfb00fa(0x249)](_0x198f35,_0x3d7631,{[_0x3200d1]:!0x0});}});}),_0x4f328b[_0x32d4ce(0x218)][_0x32d4ce(0x249)]=_0x578a6f,_0x4f328b[_0x32d4ce(0x218)][_0x32d4ce(0x1b7)]=_0x51a1fe,we=_0x4f328b;function _0x3f9358(_0x288633,_0x3242eb,_0x352529,_0x33943c){const _0x329769=_0x32d4ce,_0x54b1ed={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x219518[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33943c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x288633[_0x329769(0x162)]=_0x54b1ed[_0x329769(0x106)],!_0x219518[_0x329769(0x12a)](_0x54b1ed[_0x329769(0x237)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x54b1ed[_0x329769(0x237)]+'\x20(supported\x20versions:\x20'+_0x219518[_0x329769(0x1f8)](',\x20')+')');let _0x592720;if(_0x3242eb instanceof _0x17947c)_0x592720=_0x3242eb;else try{_0x592720=new _0x17947c(_0x3242eb);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3242eb);}_0x592720[_0x329769(0x1ee)]===_0x329769(0x22d)?_0x592720[_0x329769(0x1ee)]=_0x329769(0x14f):_0x592720[_0x329769(0x1ee)]===_0x329769(0x17f)&&(_0x592720[_0x329769(0x1ee)]=_0x329769(0x209)),_0x288633[_0x329769(0x159)]=_0x592720['href'];const _0x505b11=_0x592720[_0x329769(0x1ee)]===_0x329769(0x209),_0x318c75=_0x592720[_0x329769(0x1ee)]===_0x329769(0x1d9);let _0x329db4;if(_0x592720['protocol']!==_0x329769(0x14f)&&!_0x505b11&&!_0x318c75?_0x329db4=_0x329769(0x11c):_0x318c75&&!_0x592720[_0x329769(0xb1)]?_0x329db4=_0x329769(0x1c3):_0x592720[_0x329769(0x1ec)]&&(_0x329db4=_0x329769(0x169)),_0x329db4){const _0x2b70e5=new SyntaxError(_0x329db4);if(_0x288633[_0x329769(0x170)]===0x0)throw _0x2b70e5;_0x5861f0(_0x288633,_0x2b70e5);return;}const _0x444df6=_0x505b11?0x1bb:0x50,_0x1d271c=_0x34f00c(0x10)['toString'](_0x329769(0xc8)),_0x12e0ba=_0x505b11?_0x409692['request']:_0x4e2fd2[_0x329769(0x17c)],_0x49ade3=new Set();let _0x1bbf9e;if(_0x54b1ed[_0x329769(0x1b4)]=_0x54b1ed['createConnection']||(_0x505b11?_0x43b25e:_0x3bded0),_0x54b1ed['defaultPort']=_0x54b1ed['defaultPort']||_0x444df6,_0x54b1ed[_0x329769(0xec)]=_0x592720[_0x329769(0xec)]||_0x444df6,_0x54b1ed['host']=_0x592720['hostname'][_0x329769(0x1d8)]('[')?_0x592720['hostname'][_0x329769(0x125)](0x1,-0x1):_0x592720[_0x329769(0x19f)],_0x54b1ed[_0x329769(0xef)]={..._0x54b1ed[_0x329769(0xef)],'Sec-WebSocket-Version':_0x54b1ed[_0x329769(0x237)],'Sec-WebSocket-Key':_0x1d271c,'Connection':_0x329769(0x16d),'Upgrade':_0x329769(0x108)},_0x54b1ed[_0x329769(0x172)]=_0x592720[_0x329769(0xb1)]+_0x592720[_0x329769(0x160)],_0x54b1ed[_0x329769(0x21c)]=_0x54b1ed[_0x329769(0xbd)],_0x54b1ed[_0x329769(0x184)]&&(_0x1bbf9e=new _0x5de208(_0x54b1ed[_0x329769(0x184)]!==!0x0?_0x54b1ed[_0x329769(0x184)]:{},!0x1,_0x54b1ed[_0x329769(0x221)]),_0x54b1ed[_0x329769(0xef)][_0x329769(0xca)]=_0x68fbdf({[_0x5de208[_0x329769(0x202)]]:_0x1bbf9e[_0x329769(0x24d)]()})),_0x352529[_0x329769(0x1df)]){for(const _0x4e23ef of _0x352529){if(typeof _0x4e23ef!=_0x329769(0xb8)||!_0x52f32f[_0x329769(0x15f)](_0x4e23ef)||_0x49ade3[_0x329769(0xb0)](_0x4e23ef))throw new SyntaxError(_0x329769(0x130));_0x49ade3[_0x329769(0x158)](_0x4e23ef);}_0x54b1ed['headers'][_0x329769(0x24e)]=_0x352529[_0x329769(0x1f8)](',');}if(_0x54b1ed['origin']&&(_0x54b1ed['protocolVersion']<0xd?_0x54b1ed[_0x329769(0xef)]['Sec-WebSocket-Origin']=_0x54b1ed[_0x329769(0xd6)]:_0x54b1ed[_0x329769(0xef)][_0x329769(0x167)]=_0x54b1ed[_0x329769(0xd6)]),(_0x592720[_0x329769(0x182)]||_0x592720[_0x329769(0x14b)])&&(_0x54b1ed['auth']=_0x592720[_0x329769(0x182)]+':'+_0x592720[_0x329769(0x14b)]),_0x318c75){const _0x55e5a1=_0x54b1ed['path'][_0x329769(0x1dc)](':');_0x54b1ed[_0x329769(0xce)]=_0x55e5a1[0x0],_0x54b1ed[_0x329769(0x172)]=_0x55e5a1[0x1];}let _0x1cac93;if(_0x54b1ed[_0x329769(0x136)]){if(_0x288633[_0x329769(0x170)]===0x0){_0x288633['_originalIpc']=_0x318c75,_0x288633[_0x329769(0x196)]=_0x505b11,_0x288633[_0x329769(0x111)]=_0x318c75?_0x54b1ed['socketPath']:_0x592720['host'];const _0x741745=_0x33943c&&_0x33943c[_0x329769(0xef)];if(_0x33943c={..._0x33943c,'headers':{}},_0x741745){for(const [_0x5a84fe,_0x3e8656]of Object[_0x329769(0x10d)](_0x741745))_0x33943c['headers'][_0x5a84fe['toLowerCase']()]=_0x3e8656;}}else{if(_0x288633[_0x329769(0xf2)](_0x329769(0x241))===0x0){const _0x2dcd8c=_0x318c75?_0x288633[_0x329769(0xbb)]?_0x54b1ed['socketPath']===_0x288633['_originalHostOrSocketPath']:!0x1:_0x288633[_0x329769(0xbb)]?!0x1:_0x592720['host']===_0x288633['_originalHostOrSocketPath'];(!_0x2dcd8c||_0x288633['_originalSecure']&&!_0x505b11)&&(delete _0x54b1ed['headers'][_0x329769(0x124)],delete _0x54b1ed[_0x329769(0xef)][_0x329769(0x152)],_0x2dcd8c||delete _0x54b1ed[_0x329769(0xef)][_0x329769(0x1c4)],_0x54b1ed[_0x329769(0x21e)]=void 0x0);}}_0x54b1ed[_0x329769(0x21e)]&&!_0x33943c['headers']['authorization']&&(_0x33943c[_0x329769(0xef)][_0x329769(0x124)]=_0x329769(0xed)+Buffer[_0x329769(0x1f4)](_0x54b1ed[_0x329769(0x21e)])[_0x329769(0x248)](_0x329769(0xc8))),_0x1cac93=_0x288633['_req']=_0x12e0ba(_0x54b1ed),_0x288633[_0x329769(0x170)]&&_0x288633[_0x329769(0x191)](_0x329769(0x241),_0x288633[_0x329769(0x1d6)],_0x1cac93);}else _0x1cac93=_0x288633['_req']=_0x12e0ba(_0x54b1ed);_0x54b1ed[_0x329769(0x21c)]&&_0x1cac93['on'](_0x329769(0x21c),()=>{_0x142163(_0x288633,_0x1cac93,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1cac93['on']('error',_0x290a15=>{const _0x1d9c3f=_0x329769;_0x1cac93===null||_0x1cac93[_0x5a91b0]||(_0x1cac93=_0x288633[_0x1d9c3f(0x193)]=null,_0x5861f0(_0x288633,_0x290a15));}),_0x1cac93['on'](_0x329769(0x179),_0x4087d3=>{const _0x12cb3e=_0x329769,_0x577aa7=_0x4087d3[_0x12cb3e(0xef)][_0x12cb3e(0xaf)],_0x5ae275=_0x4087d3[_0x12cb3e(0x175)];if(_0x577aa7&&_0x54b1ed[_0x12cb3e(0x136)]&&_0x5ae275>=0x12c&&_0x5ae275<0x190){if(++_0x288633[_0x12cb3e(0x170)]>_0x54b1ed['maxRedirects']){_0x142163(_0x288633,_0x1cac93,_0x12cb3e(0xc9));return;}_0x1cac93[_0x12cb3e(0xc5)]();let _0x313247;try{_0x313247=new _0x17947c(_0x577aa7,_0x3242eb);}catch{const _0x16c6c5=new SyntaxError(_0x12cb3e(0x1e0)+_0x577aa7);_0x5861f0(_0x288633,_0x16c6c5);return;}_0x3f9358(_0x288633,_0x313247,_0x352529,_0x33943c);}else _0x288633[_0x12cb3e(0x191)](_0x12cb3e(0xd5),_0x1cac93,_0x4087d3)||_0x142163(_0x288633,_0x1cac93,_0x12cb3e(0x107)+_0x4087d3['statusCode']);}),_0x1cac93['on']('upgrade',(_0x101d05,_0x45c317,_0x262bac)=>{const _0x327158=_0x329769;if(_0x288633[_0x327158(0x191)](_0x327158(0x23f),_0x101d05),_0x288633[_0x327158(0x1b8)]!==_0x4f328b[_0x327158(0x21a)])return;_0x1cac93=_0x288633['_req']=null;const _0x355216=_0x101d05[_0x327158(0xef)][_0x327158(0x23f)];if(_0x355216===void 0x0||_0x355216[_0x327158(0x225)]()!==_0x327158(0x108)){_0x142163(_0x288633,_0x45c317,_0x327158(0x14a));return;}const _0x2c3dff=_0x1dff6d('sha1')[_0x327158(0x199)](_0x1d271c+_0x19e6ce)['digest']('base64');if(_0x101d05[_0x327158(0xef)][_0x327158(0xb3)]!==_0x2c3dff){_0x142163(_0x288633,_0x45c317,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x566ddd=_0x101d05[_0x327158(0xef)][_0x327158(0x19b)];let _0x434b72;if(_0x566ddd!==void 0x0?_0x49ade3[_0x327158(0x109)]?_0x49ade3['has'](_0x566ddd)||(_0x434b72=_0x327158(0x1b1)):_0x434b72=_0x327158(0xc7):_0x49ade3[_0x327158(0x109)]&&(_0x434b72=_0x327158(0xf9)),_0x434b72){_0x142163(_0x288633,_0x45c317,_0x434b72);return;}_0x566ddd&&(_0x288633['_protocol']=_0x566ddd);const _0x449318=_0x101d05[_0x327158(0xef)][_0x327158(0x1d0)];if(_0x449318!==void 0x0){if(!_0x1bbf9e){_0x142163(_0x288633,_0x45c317,_0x327158(0xbf));return;}let _0x3b77b4;try{_0x3b77b4=_0x4de5e0(_0x449318);}catch{_0x142163(_0x288633,_0x45c317,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x41abc9=Object['keys'](_0x3b77b4);if(_0x41abc9[_0x327158(0x1df)]!==0x1||_0x41abc9[0x0]!==_0x5de208[_0x327158(0x202)]){_0x142163(_0x288633,_0x45c317,_0x327158(0x137));return;}try{_0x1bbf9e['accept'](_0x3b77b4[_0x5de208['extensionName']]);}catch{_0x142163(_0x288633,_0x45c317,_0x327158(0x1e5));return;}_0x288633[_0x327158(0xe3)][_0x5de208['extensionName']]=_0x1bbf9e;}_0x288633['setSocket'](_0x45c317,_0x262bac,{'allowSynchronousEvents':_0x54b1ed[_0x327158(0x12c)],'generateMask':_0x54b1ed[_0x327158(0x178)],'maxPayload':_0x54b1ed[_0x327158(0x221)],'skipUTF8Validation':_0x54b1ed[_0x327158(0x1c6)]});}),_0x54b1ed[_0x329769(0x200)]?_0x54b1ed[_0x329769(0x200)](_0x1cac93,_0x288633):_0x1cac93[_0x329769(0xb4)]();}function _0x5861f0(_0xe1f39a,_0x20946b){const _0x11f02c=_0x32d4ce;_0xe1f39a[_0x11f02c(0x15a)]=_0x4f328b[_0x11f02c(0x22f)],_0xe1f39a[_0x11f02c(0x1da)]=!0x0,_0xe1f39a['emit']('error',_0x20946b),_0xe1f39a['emitClose']();}function _0x3bded0(_0x56ff7c){const _0x2dbf4b=_0x32d4ce;return _0x56ff7c['path']=_0x56ff7c['socketPath'],_0x4b2117[_0x2dbf4b(0x138)](_0x56ff7c);}function _0x43b25e(_0x1e5f4b){const _0x205078=_0x32d4ce;return _0x1e5f4b[_0x205078(0x172)]=void 0x0,!_0x1e5f4b[_0x205078(0x19a)]&&_0x1e5f4b['servername']!==''&&(_0x1e5f4b[_0x205078(0x19a)]=_0x4b2117[_0x205078(0xa9)](_0x1e5f4b[_0x205078(0x1c4)])?'':_0x1e5f4b[_0x205078(0x1c4)]),_0x4920e2[_0x205078(0x138)](_0x1e5f4b);}function _0x142163(_0x9956b,_0x2870bf,_0x163893){const _0x4973c7=_0x32d4ce;_0x9956b['_readyState']=_0x4f328b[_0x4973c7(0x22f)];const _0x48eeab=new Error(_0x163893);Error['captureStackTrace'](_0x48eeab,_0x142163),_0x2870bf[_0x4973c7(0x141)]?(_0x2870bf[_0x5a91b0]=!0x0,_0x2870bf['abort'](),_0x2870bf[_0x4973c7(0x1fc)]&&!_0x2870bf['socket'][_0x4973c7(0x151)]&&_0x2870bf['socket']['destroy'](),process[_0x4973c7(0x21f)](_0x5861f0,_0x9956b,_0x48eeab)):(_0x2870bf['destroy'](_0x48eeab),_0x2870bf['once']('error',_0x9956b[_0x4973c7(0x191)][_0x4973c7(0x131)](_0x9956b,_0x4973c7(0xf4))),_0x2870bf[_0x4973c7(0x17d)]('close',_0x9956b[_0x4973c7(0x13f)][_0x4973c7(0x131)](_0x9956b)));}function _0x5be95d(_0x39db69,_0xc0e864,_0x582812){const _0x121cb7=_0x32d4ce;if(_0xc0e864){const _0x5661c2=_0x1e10ec(_0xc0e864)?_0xc0e864[_0x121cb7(0x109)]:_0x640a4f(_0xc0e864)['length'];_0x39db69[_0x121cb7(0x1b2)]?_0x39db69[_0x121cb7(0xde)][_0x121cb7(0x1a9)]+=_0x5661c2:_0x39db69[_0x121cb7(0x174)]+=_0x5661c2;}if(_0x582812){const _0x25c313=new Error(_0x121cb7(0xcb)+_0x39db69[_0x121cb7(0x1b8)]+'\x20('+_0x45490d[_0x39db69[_0x121cb7(0x1b8)]]+')');process[_0x121cb7(0x21f)](_0x582812,_0x25c313);}}function _0x21976a(_0x4baa29,_0x106c57){const _0x16c93b=_0x32d4ce,_0x42e6de=this[_0x251014];_0x42e6de[_0x16c93b(0x1ca)]=!0x0,_0x42e6de[_0x16c93b(0x13d)]=_0x106c57,_0x42e6de['_closeCode']=_0x4baa29,_0x42e6de[_0x16c93b(0x1b2)][_0x251014]!==void 0x0&&(_0x42e6de[_0x16c93b(0x1b2)]['removeListener'](_0x16c93b(0x173),_0x5cbdda),process[_0x16c93b(0x21f)](_0x8bb086,_0x42e6de['_socket']),_0x4baa29===0x3ed?_0x42e6de[_0x16c93b(0x220)]():_0x42e6de[_0x16c93b(0x220)](_0x4baa29,_0x106c57));}function _0x3f05ed(){const _0x5d752f=_0x32d4ce,_0x545795=this[_0x251014];_0x545795[_0x5d752f(0x1f7)]||_0x545795[_0x5d752f(0x1b2)][_0x5d752f(0x233)]();}function _0x2b7a1f(_0x2d27a4){const _0x1dc4dc=_0x32d4ce,_0x5558c9=this[_0x251014];_0x5558c9['_socket'][_0x251014]!==void 0x0&&(_0x5558c9[_0x1dc4dc(0x1b2)][_0x1dc4dc(0x12d)](_0x1dc4dc(0x173),_0x5cbdda),process['nextTick'](_0x8bb086,_0x5558c9[_0x1dc4dc(0x1b2)]),_0x5558c9[_0x1dc4dc(0x220)](_0x2d27a4[_0x4f92bb])),_0x5558c9['_errorEmitted']||(_0x5558c9[_0x1dc4dc(0x1da)]=!0x0,_0x5558c9['emit']('error',_0x2d27a4));}function _0x402f3b(){this[_0x251014]['emitClose']();}function _0xf07874(_0xe48238,_0xeb0fe9){const _0x44d34d=_0x32d4ce;this[_0x251014][_0x44d34d(0x191)]('message',_0xe48238,_0xeb0fe9);}function _0x5ef5df(_0x2adfcc){const _0x46f616=_0x32d4ce,_0x4a6ade=this[_0x251014];_0x4a6ade[_0x46f616(0x162)]&&_0x4a6ade['pong'](_0x2adfcc,!this[_0x46f616(0x1cb)],_0x588f77),_0x4a6ade[_0x46f616(0x191)](_0x46f616(0x232),_0x2adfcc);}function _0x31d6fc(_0x1c4375){const _0x378374=_0x32d4ce;this[_0x251014][_0x378374(0x191)]('pong',_0x1c4375);}function _0x8bb086(_0x30d131){const _0x17ace3=_0x32d4ce;_0x30d131[_0x17ace3(0x233)]();}function _0x2f4b03(_0x4c224e){const _0x57461b=_0x32d4ce,_0x5f2ee7=this[_0x251014];_0x5f2ee7[_0x57461b(0x1b8)]!==_0x4f328b[_0x57461b(0x140)]&&(_0x5f2ee7['readyState']===_0x4f328b[_0x57461b(0x16c)]&&(_0x5f2ee7[_0x57461b(0x15a)]=_0x4f328b[_0x57461b(0x22f)],_0xc660d(_0x5f2ee7)),this[_0x57461b(0x1b2)][_0x57461b(0xb4)](),_0x5f2ee7[_0x57461b(0x1da)]||(_0x5f2ee7[_0x57461b(0x1da)]=!0x0,_0x5f2ee7[_0x57461b(0x191)](_0x57461b(0xf4),_0x4c224e)));}function _0xc660d(_0x3312c9){const _0x33751d=_0x32d4ce;_0x3312c9[_0x33751d(0x215)]=setTimeout(_0x3312c9['_socket'][_0x33751d(0x224)][_0x33751d(0x131)](_0x3312c9[_0x33751d(0x1b2)]),_0x5349b9);}function _0x418ae2(){const _0x4f8005=_0x32d4ce,_0x303299=this[_0x251014];this[_0x4f8005(0x12d)](_0x4f8005(0x220),_0x418ae2),this['removeListener']('data',_0x5cbdda),this[_0x4f8005(0x12d)](_0x4f8005(0xb4),_0x7cda50),_0x303299[_0x4f8005(0x15a)]=_0x4f328b[_0x4f8005(0x22f)];let _0x59b77c;!this[_0x4f8005(0x105)][_0x4f8005(0x12f)]&&!_0x303299[_0x4f8005(0x1ca)]&&!_0x303299[_0x4f8005(0xc2)]['_writableState'][_0x4f8005(0x142)]&&(_0x59b77c=_0x303299[_0x4f8005(0x1b2)][_0x4f8005(0x145)]())!==null&&_0x303299[_0x4f8005(0xc2)][_0x4f8005(0x148)](_0x59b77c),_0x303299[_0x4f8005(0xc2)][_0x4f8005(0xb4)](),this[_0x251014]=void 0x0,clearTimeout(_0x303299[_0x4f8005(0x215)]),_0x303299[_0x4f8005(0xc2)][_0x4f8005(0x22e)][_0x4f8005(0x116)]||_0x303299['_receiver']['_writableState'][_0x4f8005(0x142)]?_0x303299[_0x4f8005(0x13f)]():(_0x303299[_0x4f8005(0xc2)]['on'](_0x4f8005(0xf4),_0x402f3b),_0x303299[_0x4f8005(0xc2)]['on'](_0x4f8005(0x1d5),_0x402f3b));}function _0x5cbdda(_0x2c7a88){const _0x19a843=_0x32d4ce;this[_0x251014]['_receiver'][_0x19a843(0x148)](_0x2c7a88)||this[_0x19a843(0xae)]();}function _0x7cda50(){const _0x16108b=_0x32d4ce,_0x30b7d4=this[_0x251014];_0x30b7d4[_0x16108b(0x15a)]=_0x4f328b['CLOSING'],_0x30b7d4[_0x16108b(0xc2)]['end'](),this[_0x16108b(0xb4)]();}function _0x218ba2(){const _0x562688=_0x32d4ce,_0x486f6e=this[_0x251014];this['removeListener'](_0x562688(0xf4),_0x218ba2),this['on'](_0x562688(0xf4),_0x588f77),_0x486f6e&&(_0x486f6e[_0x562688(0x15a)]=_0x4f328b[_0x562688(0x22f)],this[_0x562688(0x224)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x199eb8}=_0x2a69fb;function _0x5e481f(_0x531370){const _0x132702=_0x2b21;_0x531370[_0x132702(0x191)](_0x132702(0x220));}function _0xcc99f6(){const _0x18991b=_0x2b21;!this[_0x18991b(0x151)]&&this[_0x18991b(0x22e)][_0x18991b(0x116)]&&this['destroy']();}function _0x23e492(_0x7740f6){const _0x1425c6=_0x2b21;this['removeListener'](_0x1425c6(0xf4),_0x23e492),this[_0x1425c6(0x224)](),this[_0x1425c6(0xf2)](_0x1425c6(0xf4))===0x0&&this[_0x1425c6(0x191)](_0x1425c6(0xf4),_0x7740f6);}function _0x1ce1a5(_0x791688,_0x3953e5){const _0x54545d=_0x2b21;let _0x150003=!0x0;const _0x7c95b0=new _0x199eb8({..._0x3953e5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x791688['on']('message',function(_0x3871d2,_0x4def1d){const _0x2a586b=_0x2b21,_0x8f9e56=!_0x4def1d&&_0x7c95b0[_0x2a586b(0x105)]['objectMode']?_0x3871d2['toString']():_0x3871d2;_0x7c95b0[_0x2a586b(0x114)](_0x8f9e56)||_0x791688[_0x2a586b(0xae)]();}),_0x791688[_0x54545d(0x17d)](_0x54545d(0xf4),function(_0xe90836){const _0x35e0a3=_0x54545d;_0x7c95b0[_0x35e0a3(0x151)]||(_0x150003=!0x1,_0x7c95b0[_0x35e0a3(0x224)](_0xe90836));}),_0x791688[_0x54545d(0x17d)](_0x54545d(0x220),function(){const _0x195663=_0x54545d;_0x7c95b0[_0x195663(0x151)]||_0x7c95b0[_0x195663(0x114)](null);}),_0x7c95b0[_0x54545d(0xb2)]=function(_0x6b8499,_0x38deb3){const _0x4ecb1f=_0x54545d;if(_0x791688[_0x4ecb1f(0x1b8)]===_0x791688[_0x4ecb1f(0x140)]){_0x38deb3(_0x6b8499),process[_0x4ecb1f(0x21f)](_0x5e481f,_0x7c95b0);return;}let _0x5e3175=!0x1;_0x791688[_0x4ecb1f(0x17d)]('error',function(_0x257fd8){_0x5e3175=!0x0,_0x38deb3(_0x257fd8);}),_0x791688['once'](_0x4ecb1f(0x220),function(){const _0x1438c2=_0x4ecb1f;_0x5e3175||_0x38deb3(_0x6b8499),process[_0x1438c2(0x21f)](_0x5e481f,_0x7c95b0);}),_0x150003&&_0x791688[_0x4ecb1f(0x1fb)]();},_0x7c95b0['_final']=function(_0x310f2b){const _0x1a40b0=_0x54545d;if(_0x791688['readyState']===_0x791688['CONNECTING']){_0x791688[_0x1a40b0(0x17d)](_0x1a40b0(0x206),function(){_0x7c95b0['_final'](_0x310f2b);});return;}_0x791688[_0x1a40b0(0x1b2)]!==null&&(_0x791688[_0x1a40b0(0x1b2)][_0x1a40b0(0x22e)][_0x1a40b0(0x116)]?(_0x310f2b(),_0x7c95b0[_0x1a40b0(0x105)][_0x1a40b0(0x12f)]&&_0x7c95b0[_0x1a40b0(0x224)]()):(_0x791688[_0x1a40b0(0x1b2)][_0x1a40b0(0x17d)](_0x1a40b0(0x1d5),function(){_0x310f2b();}),_0x791688[_0x1a40b0(0x220)]()));},_0x7c95b0['_read']=function(){const _0x2f3d48=_0x54545d;_0x791688[_0x2f3d48(0x1f7)]&&_0x791688['resume']();},_0x7c95b0[_0x54545d(0x20d)]=function(_0x267395,_0x353827,_0x19b051){const _0x2c69f8=_0x54545d;if(_0x791688[_0x2c69f8(0x1b8)]===_0x791688[_0x2c69f8(0x21a)]){_0x791688[_0x2c69f8(0x17d)](_0x2c69f8(0x206),function(){_0x7c95b0['_write'](_0x267395,_0x353827,_0x19b051);});return;}_0x791688[_0x2c69f8(0x14c)](_0x267395,_0x19b051);},_0x7c95b0['on'](_0x54545d(0xb4),_0xcc99f6),_0x7c95b0['on'](_0x54545d(0xf4),_0x23e492),_0x7c95b0;}return Oe=_0x1ce1a5,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2a6261}=ne();function _0x4954a4(_0x4c50d0){const _0x1c35a1=_0x2b21,_0x1acae5=new Set();let _0x576229=-0x1,_0x3b5b46=-0x1,_0x98481e=0x0;for(_0x98481e;_0x98481e<_0x4c50d0[_0x1c35a1(0x1df)];_0x98481e++){const _0x444158=_0x4c50d0['charCodeAt'](_0x98481e);if(_0x3b5b46===-0x1&&_0x2a6261[_0x444158]===0x1)_0x576229===-0x1&&(_0x576229=_0x98481e);else{if(_0x98481e!==0x0&&(_0x444158===0x20||_0x444158===0x9))_0x3b5b46===-0x1&&_0x576229!==-0x1&&(_0x3b5b46=_0x98481e);else{if(_0x444158===0x2c){if(_0x576229===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x98481e);_0x3b5b46===-0x1&&(_0x3b5b46=_0x98481e);const _0x4848bf=_0x4c50d0['slice'](_0x576229,_0x3b5b46);if(_0x1acae5['has'](_0x4848bf))throw new SyntaxError('The\x20\x22'+_0x4848bf+_0x1c35a1(0x13a));_0x1acae5['add'](_0x4848bf),_0x576229=_0x3b5b46=-0x1;}else throw new SyntaxError(_0x1c35a1(0x18d)+_0x98481e);}}}if(_0x576229===-0x1||_0x3b5b46!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x23e8ad=_0x4c50d0[_0x1c35a1(0x125)](_0x576229,_0x98481e);if(_0x1acae5[_0x1c35a1(0xb0)](_0x23e8ad))throw new SyntaxError(_0x1c35a1(0x104)+_0x23e8ad+_0x1c35a1(0x13a));return _0x1acae5[_0x1c35a1(0x158)](_0x23e8ad),_0x1acae5;}return Ce={'parse':_0x4954a4},Ce;}var Te,ot;function er(){const _0x265a3d=_0x566a19;if(ot)return Te;ot=0x1;const _0x12e4c3=_0x2dfb7e,_0x40dcef=_0x3b9b55,{Duplex:_0x7afe53}=_0x2a69fb,{createHash:_0x5279f2}=_0x551b4d,_0x411524=pt(),_0xa72599=he(),_0x585cf7=Jt(),_0x267ab3=Ie(),{GUID:_0x2e3899,kWebSocket:_0x427dc2}=V(),_0x190ac2=/^[+/0-9A-Za-z]{22}==$/,_0x195f7b=0x0,_0x561603=0x1,_0x311422=0x2;class _0x322d51 extends _0x12e4c3{constructor(_0x5b71a8,_0x125e0c){const _0x3305fe=_0x2b21;if(super(),_0x5b71a8={'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':_0x267ab3,..._0x5b71a8},_0x5b71a8[_0x3305fe(0xec)]==null&&!_0x5b71a8[_0x3305fe(0x1e8)]&&!_0x5b71a8[_0x3305fe(0x168)]||_0x5b71a8[_0x3305fe(0xec)]!=null&&(_0x5b71a8[_0x3305fe(0x1e8)]||_0x5b71a8[_0x3305fe(0x168)])||_0x5b71a8[_0x3305fe(0x1e8)]&&_0x5b71a8['noServer'])throw new TypeError(_0x3305fe(0x126));if(_0x5b71a8[_0x3305fe(0xec)]!=null?(this['_server']=_0x40dcef[_0x3305fe(0x17e)]((_0x2b751e,_0x589a99)=>{const _0x8d8407=_0x3305fe,_0x45018f=_0x40dcef[_0x8d8407(0x1b3)][0x1aa];_0x589a99['writeHead'](0x1aa,{'Content-Length':_0x45018f[_0x8d8407(0x1df)],'Content-Type':'text/plain'}),_0x589a99['end'](_0x45018f);}),this[_0x3305fe(0x24c)][_0x3305fe(0xd3)](_0x5b71a8[_0x3305fe(0xec)],_0x5b71a8['host'],_0x5b71a8['backlog'],_0x125e0c)):_0x5b71a8[_0x3305fe(0x1e8)]&&(this[_0x3305fe(0x24c)]=_0x5b71a8[_0x3305fe(0x1e8)]),this['_server']){const _0x547fae=this[_0x3305fe(0x191)][_0x3305fe(0x131)](this,'connection');this['_removeListeners']=_0x27c3b2(this[_0x3305fe(0x24c)],{'listening':this['emit'][_0x3305fe(0x131)](this,'listening'),'error':this[_0x3305fe(0x191)][_0x3305fe(0x131)](this,'error'),'upgrade':(_0x3c5808,_0x88c675,_0x51129f)=>{this['handleUpgrade'](_0x3c5808,_0x88c675,_0x51129f,_0x547fae);}});}_0x5b71a8[_0x3305fe(0x184)]===!0x0&&(_0x5b71a8['perMessageDeflate']={}),_0x5b71a8[_0x3305fe(0xd2)]&&(this[_0x3305fe(0x14e)]=new Set(),this[_0x3305fe(0x188)]=!0x1),this[_0x3305fe(0x211)]=_0x5b71a8,this[_0x3305fe(0x139)]=_0x195f7b;}[_0x265a3d(0x21b)](){const _0x2e71af=_0x265a3d;if(this[_0x2e71af(0x211)][_0x2e71af(0x168)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x2e71af(0x24c)]?this[_0x2e71af(0x24c)][_0x2e71af(0x21b)]():null;}[_0x265a3d(0x220)](_0x261b67){const _0x1555b2=_0x265a3d;if(this[_0x1555b2(0x139)]===_0x311422){_0x261b67&&this['once'](_0x1555b2(0x220),()=>{_0x261b67(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x1555b2(0x21f)](_0x573eda,this);return;}if(_0x261b67&&this[_0x1555b2(0x17d)](_0x1555b2(0x220),_0x261b67),this[_0x1555b2(0x139)]!==_0x561603){if(this[_0x1555b2(0x139)]=_0x561603,this[_0x1555b2(0x211)][_0x1555b2(0x168)]||this['options']['server'])this['_server']&&(this[_0x1555b2(0x214)](),this[_0x1555b2(0x214)]=this['_server']=null),this[_0x1555b2(0x14e)]?this[_0x1555b2(0x14e)][_0x1555b2(0x109)]?this[_0x1555b2(0x188)]=!0x0:process[_0x1555b2(0x21f)](_0x573eda,this):process[_0x1555b2(0x21f)](_0x573eda,this);else{const _0x4c8c41=this[_0x1555b2(0x24c)];this[_0x1555b2(0x214)](),this['_removeListeners']=this[_0x1555b2(0x24c)]=null,_0x4c8c41['close'](()=>{_0x573eda(this);});}}}[_0x265a3d(0x146)](_0x22b814){const _0x3d865a=_0x265a3d;if(this['options'][_0x3d865a(0x172)]){const _0x2937f6=_0x22b814['url'][_0x3d865a(0x155)]('?');if((_0x2937f6!==-0x1?_0x22b814[_0x3d865a(0x1d6)][_0x3d865a(0x125)](0x0,_0x2937f6):_0x22b814['url'])!==this['options'][_0x3d865a(0x172)])return!0x1;}return!0x0;}['handleUpgrade'](_0x19af6d,_0x1ee4c4,_0x3163ac,_0x1346ec){const _0x5972ff=_0x265a3d;_0x1ee4c4['on']('error',_0x590832);const _0x2feb76=_0x19af6d[_0x5972ff(0xef)][_0x5972ff(0x1d3)],_0x5ea4e7=_0x19af6d[_0x5972ff(0xef)][_0x5972ff(0x23f)],_0x457016=+_0x19af6d[_0x5972ff(0xef)][_0x5972ff(0xeb)];if(_0x19af6d[_0x5972ff(0x1bf)]!=='GET'){_0x248b75(this,_0x19af6d,_0x1ee4c4,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5ea4e7===void 0x0||_0x5ea4e7['toLowerCase']()!=='websocket'){_0x248b75(this,_0x19af6d,_0x1ee4c4,0x190,_0x5972ff(0x14a));return;}if(_0x2feb76===void 0x0||!_0x190ac2['test'](_0x2feb76)){_0x248b75(this,_0x19af6d,_0x1ee4c4,0x190,_0x5972ff(0x127));return;}if(_0x457016!==0xd&&_0x457016!==0x8){_0x248b75(this,_0x19af6d,_0x1ee4c4,0x190,_0x5972ff(0x163),{'Sec-WebSocket-Version':_0x5972ff(0x207)});return;}if(!this[_0x5972ff(0x146)](_0x19af6d)){_0x3c8008(_0x1ee4c4,0x190);return;}const _0x3e136e=_0x19af6d[_0x5972ff(0xef)][_0x5972ff(0x19b)];let _0x164809=new Set();if(_0x3e136e!==void 0x0)try{_0x164809=_0x585cf7[_0x5972ff(0x1e4)](_0x3e136e);}catch{_0x248b75(this,_0x19af6d,_0x1ee4c4,0x190,_0x5972ff(0x203));return;}const _0x3e4b3d=_0x19af6d[_0x5972ff(0xef)][_0x5972ff(0x1d0)],_0x138914={};if(this[_0x5972ff(0x211)][_0x5972ff(0x184)]&&_0x3e4b3d!==void 0x0){const _0x8976fd=new _0xa72599(this[_0x5972ff(0x211)]['perMessageDeflate'],!0x0,this[_0x5972ff(0x211)][_0x5972ff(0x221)]);try{const _0x450c45=_0x411524[_0x5972ff(0x1e4)](_0x3e4b3d);_0x450c45[_0xa72599[_0x5972ff(0x202)]]&&(_0x8976fd[_0x5972ff(0x1a1)](_0x450c45[_0xa72599[_0x5972ff(0x202)]]),_0x138914[_0xa72599[_0x5972ff(0x202)]]=_0x8976fd);}catch{_0x248b75(this,_0x19af6d,_0x1ee4c4,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x5972ff(0x211)][_0x5972ff(0x229)]){const _0x2806a4={'origin':_0x19af6d[_0x5972ff(0xef)][''+(_0x457016===0x8?_0x5972ff(0x194):_0x5972ff(0xd6))],'secure':!!(_0x19af6d[_0x5972ff(0x1fc)]['authorized']||_0x19af6d[_0x5972ff(0x1fc)][_0x5972ff(0x1ef)]),'req':_0x19af6d};if(this['options']['verifyClient'][_0x5972ff(0x1df)]===0x2){this[_0x5972ff(0x211)][_0x5972ff(0x229)](_0x2806a4,(_0x3a04db,_0x5c3301,_0x3160ee,_0x265dd1)=>{const _0x5d59ff=_0x5972ff;if(!_0x3a04db)return _0x3c8008(_0x1ee4c4,_0x5c3301||0x191,_0x3160ee,_0x265dd1);this[_0x5d59ff(0x12b)](_0x138914,_0x2feb76,_0x164809,_0x19af6d,_0x1ee4c4,_0x3163ac,_0x1346ec);});return;}if(!this[_0x5972ff(0x211)][_0x5972ff(0x229)](_0x2806a4))return _0x3c8008(_0x1ee4c4,0x191);}this['completeUpgrade'](_0x138914,_0x2feb76,_0x164809,_0x19af6d,_0x1ee4c4,_0x3163ac,_0x1346ec);}[_0x265a3d(0x12b)](_0x4f25b9,_0x5f17d0,_0x18c800,_0x569d8f,_0x344c77,_0x2c04ee,_0x40ec75){const _0x8c9f9f=_0x265a3d;if(!_0x344c77['readable']||!_0x344c77['writable'])return _0x344c77[_0x8c9f9f(0x224)]();if(_0x344c77[_0x427dc2])throw new Error(_0x8c9f9f(0x129));if(this[_0x8c9f9f(0x139)]>_0x195f7b)return _0x3c8008(_0x344c77,0x1f7);const _0x1dd308=[_0x8c9f9f(0x1b5),'Upgrade:\x20websocket',_0x8c9f9f(0x222),_0x8c9f9f(0x1ce)+_0x5279f2(_0x8c9f9f(0x213))[_0x8c9f9f(0x199)](_0x5f17d0+_0x2e3899)[_0x8c9f9f(0xd0)](_0x8c9f9f(0xc8))],_0x1c3570=new this['options'][(_0x8c9f9f(0x1ba))](null,void 0x0,this[_0x8c9f9f(0x211)]);if(_0x18c800['size']){const _0x3f4aec=this[_0x8c9f9f(0x211)][_0x8c9f9f(0x238)]?this[_0x8c9f9f(0x211)][_0x8c9f9f(0x238)](_0x18c800,_0x569d8f):_0x18c800[_0x8c9f9f(0x1c5)]()[_0x8c9f9f(0x1ed)]()[_0x8c9f9f(0x165)];_0x3f4aec&&(_0x1dd308[_0x8c9f9f(0x114)](_0x8c9f9f(0x197)+_0x3f4aec),_0x1c3570['_protocol']=_0x3f4aec);}if(_0x4f25b9[_0xa72599[_0x8c9f9f(0x202)]]){const _0x39d47d=_0x4f25b9[_0xa72599[_0x8c9f9f(0x202)]]['params'],_0x18a1b6=_0x411524[_0x8c9f9f(0x101)]({[_0xa72599[_0x8c9f9f(0x202)]]:[_0x39d47d]});_0x1dd308[_0x8c9f9f(0x114)](_0x8c9f9f(0xb9)+_0x18a1b6),_0x1c3570[_0x8c9f9f(0xe3)]=_0x4f25b9;}this[_0x8c9f9f(0x191)](_0x8c9f9f(0xef),_0x1dd308,_0x569d8f),_0x344c77[_0x8c9f9f(0x148)](_0x1dd308[_0x8c9f9f(0xb7)]('\x0d\x0a')[_0x8c9f9f(0x1f8)]('\x0d\x0a')),_0x344c77['removeListener'](_0x8c9f9f(0xf4),_0x590832),_0x1c3570[_0x8c9f9f(0x236)](_0x344c77,_0x2c04ee,{'allowSynchronousEvents':this['options'][_0x8c9f9f(0x12c)],'maxPayload':this[_0x8c9f9f(0x211)][_0x8c9f9f(0x221)],'skipUTF8Validation':this[_0x8c9f9f(0x211)][_0x8c9f9f(0x1c6)]}),this['clients']&&(this[_0x8c9f9f(0x14e)][_0x8c9f9f(0x158)](_0x1c3570),_0x1c3570['on'](_0x8c9f9f(0x220),()=>{const _0x465f0e=_0x8c9f9f;this[_0x465f0e(0x14e)][_0x465f0e(0xdf)](_0x1c3570),this[_0x465f0e(0x188)]&&!this[_0x465f0e(0x14e)][_0x465f0e(0x109)]&&process[_0x465f0e(0x21f)](_0x573eda,this);})),_0x40ec75(_0x1c3570,_0x569d8f);}}Te=_0x322d51;function _0x27c3b2(_0x408105,_0x1c3ddd){for(const _0x2fa250 of Object['keys'](_0x1c3ddd))_0x408105['on'](_0x2fa250,_0x1c3ddd[_0x2fa250]);return function(){const _0x1d8458=_0x2b21;for(const _0x273e79 of Object[_0x1d8458(0x1a3)](_0x1c3ddd))_0x408105[_0x1d8458(0x12d)](_0x273e79,_0x1c3ddd[_0x273e79]);};}function _0x573eda(_0x23c005){const _0x13151d=_0x265a3d;_0x23c005[_0x13151d(0x139)]=_0x311422,_0x23c005[_0x13151d(0x191)](_0x13151d(0x220));}function _0x590832(){this['destroy']();}function _0x3c8008(_0x2a4dc9,_0x2c38ad,_0x1fd285,_0x29c17f){const _0x14ae5c=_0x265a3d;_0x1fd285=_0x1fd285||_0x40dcef['STATUS_CODES'][_0x2c38ad],_0x29c17f={'Connection':_0x14ae5c(0x220),'Content-Type':_0x14ae5c(0x16f),'Content-Length':Buffer[_0x14ae5c(0x123)](_0x1fd285),..._0x29c17f},_0x2a4dc9[_0x14ae5c(0x17d)](_0x14ae5c(0x1d5),_0x2a4dc9[_0x14ae5c(0x224)]),_0x2a4dc9[_0x14ae5c(0xb4)](_0x14ae5c(0x161)+_0x2c38ad+'\x20'+_0x40dcef[_0x14ae5c(0x1b3)][_0x2c38ad]+'\x0d\x0a'+Object['keys'](_0x29c17f)[_0x14ae5c(0xe4)](_0x41aef7=>_0x41aef7+':\x20'+_0x29c17f[_0x41aef7])[_0x14ae5c(0x1f8)]('\x0d\x0a')+_0x14ae5c(0x1a5)+_0x1fd285);}function _0x248b75(_0xc1ecf3,_0x57ed33,_0x37c0f8,_0x16ce99,_0x5ac606,_0x408598){const _0xe0b1b1=_0x265a3d;if(_0xc1ecf3[_0xe0b1b1(0xf2)](_0xe0b1b1(0xc1))){const _0x39ec8e=new Error(_0x5ac606);Error['captureStackTrace'](_0x39ec8e,_0x248b75),_0xc1ecf3[_0xe0b1b1(0x191)]('wsClientError',_0x39ec8e,_0x37c0f8,_0x57ed33);}else _0x3c8008(_0x37c0f8,_0x16ce99,_0x5ac606,_0x408598);}return Te;}er();var tr=Object[_0x566a19(0x204)],rr=(_0x53476d,_0x40529c,_0xbec202,_0x29204b)=>{const _0x3e24ec=_0x566a19;for(var _0x210f16=_0x29204b>0x1?void 0x0:_0x29204b?tr(_0x40529c,_0xbec202):_0x40529c,_0x52eaa6=_0x53476d[_0x3e24ec(0x1df)]-0x1,_0x206a85;_0x52eaa6>=0x0;_0x52eaa6--)(_0x206a85=_0x53476d[_0x52eaa6])&&(_0x210f16=_0x206a85(_0x210f16)||_0x210f16);return _0x210f16;},sr=(_0xd91197,_0x53026f)=>(_0x432a1e,_0x52588c)=>_0x53026f(_0x432a1e,_0x52588c,_0xd91197);let Ne=class extends _0x4c565b{constructor(_0x36a013){const _0x41c789=_0x566a19;super(),this[_0x41c789(0x1e9)]=_0x36a013;}[_0x566a19(0xee)](_0x4f907c){const _0x21c412=_0x566a19;var _0x1a06b7;const _0x473475=(_0x1a06b7=this[_0x21c412(0x1e9)]['getConfig'](Be))==null?void 0x0:_0x1a06b7[_0x21c412(0x15d)];try{const _0x18d4be=new Qt(_0x4f907c,{'headers':{..._0x473475}}),_0x2d0f58=new _0x1b860f();return{'URL':_0x4f907c,'close':(_0x348a13,_0x2127bf)=>{const _0x2d1535=_0x21c412;_0x18d4be['close'](_0x348a13,_0x2127bf),_0x2d0f58[_0x2d1535(0x250)]();},'send':_0x287000=>{_0x18d4be['send'](_0x287000);},'open$':new _0x3239d3(_0x34810a=>{const _0x555c5c=_0x21c412,_0x3e1c08=_0x4c173f=>_0x34810a['next'](_0x4c173f);_0x18d4be['addEventListener'](_0x555c5c(0x206),_0x3e1c08),_0x2d0f58[_0x555c5c(0x158)](_0x36c079(()=>_0x18d4be['removeEventListener'](_0x555c5c(0x206),_0x3e1c08)));})[_0x21c412(0x10c)](_0x72a35e()),'close$':new _0x3239d3(_0x59054c=>{const _0x1199cf=_0x21c412,_0x43db10=_0x578989=>_0x59054c[_0x1199cf(0x1ed)](_0x578989);_0x18d4be[_0x1199cf(0x249)](_0x1199cf(0x220),_0x43db10),_0x2d0f58['add'](_0x36c079(()=>_0x18d4be[_0x1199cf(0x1b7)](_0x1199cf(0x220),_0x43db10)));})['pipe'](_0x72a35e()),'error$':new _0x3239d3(_0x1f10af=>{const _0x283ba4=_0x21c412,_0x2d7375=_0x332e5c=>_0x1f10af['next'](_0x332e5c);_0x18d4be[_0x283ba4(0x249)](_0x283ba4(0xf4),_0x2d7375),_0x2d0f58['add'](_0x36c079(()=>_0x18d4be['removeEventListener'](_0x283ba4(0xf4),_0x2d7375)));})[_0x21c412(0x10c)](_0x72a35e()),'message$':new _0x3239d3(_0x2385c5=>{const _0x5bae47=_0x21c412,_0x60e3a3=_0x2c3f8b=>_0x2385c5[_0x5bae47(0x1ed)](_0x2c3f8b);_0x18d4be[_0x5bae47(0x249)](_0x5bae47(0xe2),_0x60e3a3),_0x2d0f58[_0x5bae47(0x158)](_0x36c079(()=>_0x18d4be[_0x5bae47(0x1b7)](_0x5bae47(0xe2),_0x60e3a3)));})[_0x21c412(0x10c)](_0x72a35e())};}catch(_0x5d729b){return console[_0x21c412(0xf4)](_0x5d729b),null;}}};function _0x2b21(_0x1eccbf,_0x41df47){const _0x2b853f=_0x2b85();return _0x2b21=function(_0x2b21f4,_0xe15e2c){_0x2b21f4=_0x2b21f4-0xa7;let _0x368d4a=_0x2b853f[_0x2b21f4];return _0x368d4a;},_0x2b21(_0x1eccbf,_0x41df47);}Ne=rr([sr(0x0,_0x2dde4e)],Ne);var ir=Object[_0x566a19(0xab)],nr=Object['getOwnPropertyDescriptor'],or=(_0x2d0240,_0x2b9fe5,_0x5a48fd)=>_0x2b9fe5 in _0x2d0240?ir(_0x2d0240,_0x2b9fe5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a48fd}):_0x2d0240[_0x2b9fe5]=_0x5a48fd,ar=(_0x5c373b,_0x37a0cd,_0x4152a0,_0x135520)=>{const _0x15004f=_0x566a19;for(var _0x3f2f1b=_0x135520>0x1?void 0x0:_0x135520?nr(_0x37a0cd,_0x4152a0):_0x37a0cd,_0x2dc3b4=_0x5c373b[_0x15004f(0x1df)]-0x1,_0x346f15;_0x2dc3b4>=0x0;_0x2dc3b4--)(_0x346f15=_0x5c373b[_0x2dc3b4])&&(_0x3f2f1b=_0x346f15(_0x3f2f1b)||_0x3f2f1b);return _0x3f2f1b;},ke=(_0x36405e,_0xb52908)=>(_0x1ee9db,_0x32969a)=>_0xb52908(_0x1ee9db,_0x32969a,_0x36405e),lr=(_0x57032b,_0x256dd1,_0x1b4cad)=>or(_0x57032b,_0x256dd1+'',_0x1b4cad);let Pe=class extends _0x3714b4{constructor(_0x1eb130=Ft,_0x255fc6,_0x4b3794,_0x29ab9d){const _0x3edab2=_0x566a19;_0x1eb130[_0x3edab2(0x15d)]||_0x255fc6[_0x3edab2(0x1a6)](_0x3edab2(0x223)),super(),this[_0x3edab2(0x1e9)]=_0x4b3794,this[_0x3edab2(0x1a8)]=_0x29ab9d,this['_configService']['setConfig'](Be,_0x1eb130);}['onStarting'](){const _0x489af4=_0x566a19;this[_0x489af4(0x235)]();}['_registerDependencies'](){_0x1cbe8c(this['_injector'],[[_0x21843f,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x566a19(0x147)),Pe=ar([_0x53db36(_0x4385b5),ke(0x1,_0x1df4e3),ke(0x2,_0x2dde4e),ke(0x3,_0x5050c6(_0x1071d5))],Pe);var fr=Object[_0x566a19(0x204)],cr=(_0x18205c,_0x4a6933,_0x433850,_0x1cbc24)=>{const _0xa193cf=_0x566a19;for(var _0x3af8c6=_0x1cbc24>0x1?void 0x0:_0x1cbc24?fr(_0x4a6933,_0x433850):_0x4a6933,_0x5801b5=_0x18205c[_0xa193cf(0x1df)]-0x1,_0x5dd466;_0x5801b5>=0x0;_0x5801b5--)(_0x5dd466=_0x18205c[_0x5801b5])&&(_0x3af8c6=_0x5dd466(_0x3af8c6)||_0x3af8c6);return _0x3af8c6;},se=(_0x24e439,_0xfce441)=>(_0x23bb91,_0x48d173)=>_0xfce441(_0x23bb91,_0x48d173,_0x24e439);let at=class extends _0x6e4bb{constructor(_0x23546b,_0x5af09d,_0x599684,_0x57ddce,_0x1e8f93){const _0x5b653f=_0x566a19;super(_0x23546b,_0x5af09d,_0x599684,_0x57ddce,_0x1e8f93);const _0x2840a9=this[_0x5b653f(0x1e9)]['getConfig'](Be);this['_httpService'][_0x5b653f(0x128)]({'interceptor':(_0x30b17f,_0xa6f08a)=>{const _0x1011f6=_0x5b653f;var _0x59b2df;const _0x117106=_0x30b17f[_0x1011f6(0xef)];return(_0x59b2df=_0x2840a9==null?void 0x0:_0x2840a9[_0x1011f6(0x15d)])!=null&&_0x59b2df[_0x1011f6(0x152)]&&_0x117106['set']('Cookie',_0x2840a9['customHeaders'][_0x1011f6(0x152)]),_0xa6f08a(_0x30b17f);}});}async[_0x566a19(0xee)](_0x437792){const _0x1427c3=_0x566a19;return this[_0x1427c3(0x1e7)](_0x437792);}};at=cr([se(0x0,_0x5050c6(_0x1071d5)),se(0x1,_0x5050c6(_0xdf6b07)),se(0x2,_0x2dde4e),se(0x3,_0x1df4e3),se(0x4,_0x5223c1)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|