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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x16efd5=_0x5bd4;(function(_0x45cbae,_0x12ee4d){const _0x1d8f44=_0x5bd4,_0x4de287=_0x45cbae();while(!![]){try{const _0x39d823=parseInt(_0x1d8f44(0x198))/0x1*(parseInt(_0x1d8f44(0x2c9))/0x2)+-parseInt(_0x1d8f44(0x2cf))/0x3+-parseInt(_0x1d8f44(0x20c))/0x4+parseInt(_0x1d8f44(0x211))/0x5*(parseInt(_0x1d8f44(0x1ae))/0x6)+parseInt(_0x1d8f44(0x278))/0x7*(-parseInt(_0x1d8f44(0x1ea))/0x8)+-parseInt(_0x1d8f44(0x21c))/0x9+parseInt(_0x1d8f44(0x268))/0xa;if(_0x39d823===_0x12ee4d)break;else _0x4de287['push'](_0x4de287['shift']());}catch(_0x4f1af4){_0x4de287['push'](_0x4de287['shift']());}}}(_0xa513,0x4f1f5));import{UniverCollaborationClientPlugin as _0x29c934,CollaborationSocketService as _0x845ce0}from'@univerjs-pro/collaboration-client';function _0xa513(){const _0x3f173b=['drain','accept','_closeFrameSent','code','getConfig','addEventListener','text/html','nodebuffer','_maskBuffer','_originalSecure','kByteLength','target','onStarting','WebSocket\x20is\x20not\x20open:\x20readyState\x20','wss:','_deflate','haveLength','_redirects','test','text/plain','Invalid\x20URL:\x20','_binaryType','OPEN','handshakeTimeout','password','Opening\x20handshake\x20has\x20timed\x20out','_closeTimer','join','wasClean','followRedirects','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_server','WS_ERR_UNEXPECTED_MASK','dispatch','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Cookie','once','prototype','kDone','length','_req','kError','setConfig','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','headers','compress','kData','skipUTF8Validation','protocolVersion','_closeFrameReceived','_maxPayload','server','_httpService','toStringTag','sec-websocket-extensions','status-code','_isServer','_bufferedBytes','next','invalid\x20opcode\x20','File','Unsupported\x20protocol\x20version:\x20','socketPath','finish','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','jobs','_errorEmitted','_fragments','frame','WS_ERR_INVALID_OPCODE','RSV1\x20must\x20be\x20clear','hostname','_protocol','166ATGDkS','Connection:\x20Upgrade','setHeader','_injector','encrypted','finished','1740507rkfSrV','Max\x20payload\x20size\x20exceeded','http:','indexOf','isPaused','fin','concurrencyLimit','\x0d\x0a\x0d\x0a','Unexpected\x20server\x20response:\x20','pause','maxRedirects','connect','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_errored','byteOffset','protocol','end','defineProperty','Invalid\x20WebSocket\x20frame:\x20','Sec-WebSocket-Extensions','Server\x20sent\x20an\x20invalid\x20subprotocol','keys','_extensions','serverMaxWindowBits','onopen','startLoop','_writableState','toLowerCase','perMessageDeflate','stream','upgrade','setSocket','Upgrade','timeout','clientTracking','completeUpgrade','_socket','parse','object','invalid\x20opcode\x200','_url','hasOwnProperty','connection','_skipUTF8Validation','Upgrade:\x20websocket','shouldHandle','includes','autoPong','WS_ERR_INVALID_UTF8','update','_generateMask','url','mask','Parameter\x20\x22','writable','destroyed','needDrain','resume','bufferedAmount','host','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','acceptAsClient','charCodeAt','noServer','kAborted','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','MASK\x20must\x20be\x20clear','has','_closeMessage','sha1','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','construct','getBlobData','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','createConnection','data','_messageLength','unshift','removeEventListener','WS_ERR_INVALID_CLOSE_CODE','arraybuffer','find','Sec-WebSocket-Protocol:\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','concurrency','customHeaders','enqueue','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','nextTick','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','defaultPort','clients','toString','from','handleUpgrade','delete','createSocket','Unexpected\x20character\x20at\x20index\x20','alloc','kCode','readUInt32BE','_shouldEmitClose','readOnly','registerHTTPInterceptor','method','Blob','The\x20URL\x27s\x20pathname\x20is\x20empty','_opcode','_read','listenerCount','function','getOwnPropertyDescriptor','authorization','verifyClient','map','sendFrame','writeHead','serverNoContextTakeover','set','_receiver','_buffers','getPayloadLength16','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','endEmitted','204MXPpYB','invalid\x20payload\x20length\x20','fragments','_max_window_bits','The\x20server\x20is\x20not\x20running','generateMask','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','bind','format','startsWith','_queue','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','unmask','response','dispose','_loop','ws:','_fragmented','_paused','WS_ERR_EXPECTED_FIN','uncork','digest','46758QZfGmm','origin','params','search','_closeCode','abort','CONNECTING','reason','destroy','_removeListeners','binary','invalid\x20UTF-8\x20sequence','_inflate','_registerDependencies','replace','callback','wsClientError','WS_ERR_UNEXPECTED_RSV_1','getData','send','consume','port','readUInt16BE','_firstFragment','createError','__esModule','maskBuffer','Z_DEFAULT_WINDOWBITS','_fin','https:','isServer','threshold','clientMaxWindowBits','servername','_options','pong','getInfo','kTarget','listeners','_final','default','GET','STATUS_CODES','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Invalid\x20Upgrade\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','conclude','env','_threshold','_state','isInteger','writeUInt16BE','extensions','auth','CLOSED','maxPayload','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','redirect','clientNoContextTakeover','read','7920qFFnLZ','arrayBuffer','dequeue','close','FIN\x20must\x20be\x20set','allowSynchronousEvents','slice','_write','captureStackTrace','then','buffer','_no_context_takeover','pending','handleProtocols','isValidUTF8','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_max_window_bits','allocUnsafe','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','string','objectMode','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','socket','errorEmitted','isIP','client_no_context_takeover','Invalid\x20Sec-WebSocket-Protocol\x20header','concat','getMask','extensionName','controlMessage','error','warn','hash','680232BLwMMn','path','_masked','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','collaboration-client-node.config','260JDmpvj','number','unexpected-response','freeze','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','push','_allowSynchronousEvents','isView','_readyState','sec-websocket-key','_compressed','4658877OtRouz','cookie','byteLength','\x22:\x20','_autoPong','request','size','Maximum\x20redirects\x20exceeded','add','onclose','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','\x22\x20subprotocol\x20is\x20duplicated','kReason','Invalid\x20Sec-WebSocket-Extensions\x20header','_configService','_sender','_mask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','message','_destroy','_compress','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','write','Origin','statusCode','base64','species','open','flush','isArray','createInflateRaw','sec-websocket-protocol','kIsForOnEventAttribute','total-length','reset','pipe','get','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','call','pow','options','constructor','client','apply','type','permessage-deflate','opcode','cleanup','shift','address','websocket','Invalid\x20value\x20for\x20parameter\x20\x22','setTimeout','terminate','normalizeParams','kMessage','Unexpected\x20end\x20of\x20input','WS_ERR_UNEXPECTED_RSV_2_3','backlog','binaryType','decompress','onerror','WebSocket','ping','emitClose','username','emit','create','The\x20\x22','dataMessage','Unknown\x20parameter\x20\x22','exports','CLOSING','\x22\x20must\x20have\x20only\x20a\x20single\x20value','handleEvent','Module','13173070GUbOjY','sec-websocket-version','_originalIpc','readyState','server_no_context_takeover','setNoDelay','forEach','_bufferedAmount','onmessage','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','blob','_totalPayloadLength','_originalHostOrSocketPath','server_max_window_bits','offer','split','1043HFylzp','_payloadLength','removeListener','pathname','WS_NO_BUFFER_UTIL','href','_readableState','Sec-WebSocket-Protocol'];_0xa513=function(){return _0x3f173b;};return _0xa513();}import{Disposable as _0x1b1582,DisposableCollection as _0x841459,toDisposable as _0x39dfb4,IConfigService as _0x53e28b,DependentOn as _0x20c713,ILogService as _0x2ab2d0,Inject as _0x51de89,Injector as _0x207679,Plugin as _0x3896b1,registerDependencies as _0x423308}from'@univerjs/core';import{ISocketService as _0x2c1160,HTTPService as _0x58d68d}from'@univerjs/network';import{Observable as _0x38d28a,share as _0x105f74}from'rxjs';import _0x400859 from'events';import _0x519168 from'https';import _0xdf68fa from'http';import _0x399fa4 from'net';import _0x455876 from'tls';import _0x112206 from'crypto';import _0x310f79 from'stream';import _0xe7c3 from'url';import _0x369a6a from'zlib';import _0x57777e from'buffer';import{ISnapshotServerService as _0x15f24b}from'@univerjs-pro/collaboration';const Be=_0x16efd5(0x210),Ft={'customHeaders':{}};function jt(_0x3eae0d){const _0x317e3e=_0x16efd5;return _0x3eae0d&&_0x3eae0d['__esModule']&&Object[_0x317e3e(0x2a5)]['hasOwnProperty'][_0x317e3e(0x242)](_0x3eae0d,'default')?_0x3eae0d[_0x317e3e(0x1d6)]:_0x3eae0d;}function ut(_0x3f5d00){const _0x4c0bbf=_0x16efd5;if(Object[_0x4c0bbf(0x2a5)][_0x4c0bbf(0x143)][_0x4c0bbf(0x242)](_0x3f5d00,_0x4c0bbf(0x1c7)))return _0x3f5d00;var _0x390209=_0x3f5d00[_0x4c0bbf(0x1d6)];if(typeof _0x390209==_0x4c0bbf(0x18a)){var _0x3b2d4c=function _0x36a2c1(){const _0x505c03=_0x4c0bbf;return this instanceof _0x36a2c1?Reflect[_0x505c03(0x162)](_0x390209,arguments,this[_0x505c03(0x245)]):_0x390209[_0x505c03(0x247)](this,arguments);};_0x3b2d4c[_0x4c0bbf(0x2a5)]=_0x390209[_0x4c0bbf(0x2a5)];}else _0x3b2d4c={};return Object[_0x4c0bbf(0x2e0)](_0x3b2d4c,'__esModule',{'value':!0x0}),Object['keys'](_0x3f5d00)['forEach'](function(_0xc064a4){const _0x5c1313=_0x4c0bbf;var _0x73955d=Object['getOwnPropertyDescriptor'](_0x3f5d00,_0xc064a4);Object['defineProperty'](_0x3b2d4c,_0xc064a4,_0x73955d[_0x5c1313(0x240)]?_0x73955d:{'enumerable':!0x0,'get':function(){return _0x3f5d00[_0xc064a4];}});}),_0x3b2d4c;}var te={'exports':{}},ge,Ye;function V(){const _0x460bef=_0x16efd5;if(Ye)return ge;Ye=0x1;const _0x58427f=[_0x460bef(0x287),'arraybuffer',_0x460bef(0x19a)],_0x2b9661=typeof Blob<'u';return _0x2b9661&&_0x58427f[_0x460bef(0x216)](_0x460bef(0x272)),ge={'BINARY_TYPES':_0x58427f,'EMPTY_BUFFER':Buffer[_0x460bef(0x17e)](0x0),'GUID':_0x460bef(0x2ab),'hasBlob':_0x2b9661,'kForOnEventAttribute':Symbol(_0x460bef(0x23c)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x460bef(0x2b7)),'kWebSocket':Symbol(_0x460bef(0x24e)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x16efd5(0x214)](Object[_0x16efd5(0x2e0)]({'__proto__':null,'default':Wt},Symbol[_0x16efd5(0x2b5)],{'value':_0x16efd5(0x267)})),Vt=ut(Gt);var Ke;function ce(){const _0x42b1bf=_0x16efd5;if(Ke)return te[_0x42b1bf(0x263)];Ke=0x1;const {EMPTY_BUFFER:_0x7a9d6d}=V(),_0x224b84=Buffer[Symbol['species']];function _0x32c0a7(_0xf9b7db,_0x35fe5b){const _0x29a8ae=_0x42b1bf;if(_0xf9b7db[_0x29a8ae(0x2a7)]===0x0)return _0x7a9d6d;if(_0xf9b7db[_0x29a8ae(0x2a7)]===0x1)return _0xf9b7db[0x0];const _0x5c6630=Buffer[_0x29a8ae(0x1fb)](_0x35fe5b);let _0x3d48a5=0x0;for(let _0x3a1a88=0x0;_0x3a1a88<_0xf9b7db[_0x29a8ae(0x2a7)];_0x3a1a88++){const _0x225357=_0xf9b7db[_0x3a1a88];_0x5c6630[_0x29a8ae(0x192)](_0x225357,_0x3d48a5),_0x3d48a5+=_0x225357[_0x29a8ae(0x2a7)];}return _0x3d48a5<_0x35fe5b?new _0x224b84(_0x5c6630[_0x29a8ae(0x1f4)],_0x5c6630[_0x29a8ae(0x2dd)],_0x3d48a5):_0x5c6630;}function _0xe0b1dc(_0x4f6e8c,_0x5ddc50,_0x37ed99,_0x451983,_0x1e0967){for(let _0x1248d1=0x0;_0x1248d1<_0x1e0967;_0x1248d1++)_0x37ed99[_0x451983+_0x1248d1]=_0x4f6e8c[_0x1248d1]^_0x5ddc50[_0x1248d1&0x3];}function _0x7c6306(_0x2a5970,_0x26bc0b){const _0x6fb288=_0x42b1bf;for(let _0x355576=0x0;_0x355576<_0x2a5970[_0x6fb288(0x2a7)];_0x355576++)_0x2a5970[_0x355576]^=_0x26bc0b[_0x355576&0x3];}function _0x257c5f(_0x58fe08){const _0x4335b4=_0x42b1bf;return _0x58fe08['length']===_0x58fe08['buffer']['byteLength']?_0x58fe08[_0x4335b4(0x1f4)]:_0x58fe08['buffer'][_0x4335b4(0x1f0)](_0x58fe08[_0x4335b4(0x2dd)],_0x58fe08['byteOffset']+_0x58fe08[_0x4335b4(0x2a7)]);}function _0xc8f32(_0x5b2f4b){const _0xd3ed68=_0x42b1bf;if(_0xc8f32['readOnly']=!0x0,Buffer['isBuffer'](_0x5b2f4b))return _0x5b2f4b;let _0x8ab20b;return _0x5b2f4b instanceof ArrayBuffer?_0x8ab20b=new _0x224b84(_0x5b2f4b):ArrayBuffer[_0xd3ed68(0x218)](_0x5b2f4b)?_0x8ab20b=new _0x224b84(_0x5b2f4b['buffer'],_0x5b2f4b[_0xd3ed68(0x2dd)],_0x5b2f4b['byteLength']):(_0x8ab20b=Buffer[_0xd3ed68(0x179)](_0x5b2f4b),_0xc8f32['readOnly']=!0x1),_0x8ab20b;}if(te[_0x42b1bf(0x263)]={'concat':_0x32c0a7,'mask':_0xe0b1dc,'toArrayBuffer':_0x257c5f,'toBuffer':_0xc8f32,'unmask':_0x7c6306},!process['env'][_0x42b1bf(0x27c)])try{const _0x2ba96f=Vt;te[_0x42b1bf(0x263)][_0x42b1bf(0x14e)]=function(_0x2a516a,_0x3e163f,_0x3606c6,_0x138576,_0x48cf7c){const _0x5d0baf=_0x42b1bf;_0x48cf7c<0x30?_0xe0b1dc(_0x2a516a,_0x3e163f,_0x3606c6,_0x138576,_0x48cf7c):_0x2ba96f[_0x5d0baf(0x14e)](_0x2a516a,_0x3e163f,_0x3606c6,_0x138576,_0x48cf7c);},te['exports'][_0x42b1bf(0x1a4)]=function(_0x5c367a,_0x21ded0){const _0x10fb98=_0x42b1bf;_0x5c367a['length']<0x20?_0x7c6306(_0x5c367a,_0x21ded0):_0x2ba96f[_0x10fb98(0x1a4)](_0x5c367a,_0x21ded0);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x3481bd=_0x16efd5;if(Xe)return ye;Xe=0x1;const _0x21643e=Symbol(_0x3481bd(0x2a6)),_0x4dd0cf=Symbol('kRun');class _0x117b8e{constructor(_0x5b51fd){const _0x507f5f=_0x3481bd;this[_0x21643e]=()=>{const _0xd95bac=_0x5bd4;this[_0xd95bac(0x1f6)]--,this[_0x4dd0cf]();},this['concurrency']=_0x5b51fd||0x1/0x0,this[_0x507f5f(0x2c1)]=[],this[_0x507f5f(0x1f6)]=0x0;}[_0x3481bd(0x224)](_0x9878a1){const _0x95a666=_0x3481bd;this[_0x95a666(0x2c1)][_0x95a666(0x216)](_0x9878a1),this[_0x4dd0cf]();}[_0x4dd0cf](){const _0x2b1be3=_0x3481bd;if(this['pending']!==this[_0x2b1be3(0x16f)]&&this[_0x2b1be3(0x2c1)][_0x2b1be3(0x2a7)]){const _0x4c78fe=this[_0x2b1be3(0x2c1)][_0x2b1be3(0x24c)]();this[_0x2b1be3(0x1f6)]++,_0x4c78fe(this[_0x21643e]);}}}return ye=_0x117b8e,ye;}var ve,Ze;function he(){const _0x1913bd=_0x16efd5;if(Ze)return ve;Ze=0x1;const _0x5a43a0=_0x369a6a,_0x5c372a=ce(),_0x50fcc7=qt(),{kStatusCode:_0xd5b9db}=V(),_0x266a3b=Buffer[Symbol[_0x1913bd(0x236)]],_0x5948bf=Buffer[_0x1913bd(0x179)]([0x0,0x0,0xff,0xff]),_0x4874d9=Symbol(_0x1913bd(0x249)),_0xa8f319=Symbol(_0x1913bd(0x23d)),_0x479f7e=Symbol(_0x1913bd(0x1bd)),_0x35451b=Symbol('buffers'),_0xc5784e=Symbol(_0x1913bd(0x209));let _0x3a0201;class _0x11a610{constructor(_0x309a1c,_0x15946a,_0x4dc7d0){const _0x2425a5=_0x1913bd;if(this[_0x2425a5(0x2b2)]=_0x4dc7d0|0x0,this[_0x2425a5(0x1d0)]=_0x309a1c||{},this['_threshold']=this[_0x2425a5(0x1d0)][_0x2425a5(0x1cd)]!==void 0x0?this[_0x2425a5(0x1d0)][_0x2425a5(0x1cd)]:0x400,this[_0x2425a5(0x2b8)]=!!_0x15946a,this[_0x2425a5(0x28f)]=null,this['_inflate']=null,this[_0x2425a5(0x1b0)]=null,!_0x3a0201){const _0x365689=this[_0x2425a5(0x1d0)][_0x2425a5(0x2d5)]!==void 0x0?this[_0x2425a5(0x1d0)]['concurrencyLimit']:0xa;_0x3a0201=new _0x50fcc7(_0x365689);}}static get[_0x1913bd(0x207)](){return'permessage-deflate';}[_0x1913bd(0x276)](){const _0x2af0d8=_0x1913bd,_0x1b58c2={};return this[_0x2af0d8(0x1d0)][_0x2af0d8(0x191)]&&(_0x1b58c2[_0x2af0d8(0x26c)]=!0x0),this['_options'][_0x2af0d8(0x1e8)]&&(_0x1b58c2[_0x2af0d8(0x203)]=!0x0),this['_options'][_0x2af0d8(0x131)]&&(_0x1b58c2[_0x2af0d8(0x275)]=this['_options']['serverMaxWindowBits']),this[_0x2af0d8(0x1d0)]['clientMaxWindowBits']?_0x1b58c2[_0x2af0d8(0x1fa)]=this['_options'][_0x2af0d8(0x1ce)]:this[_0x2af0d8(0x1d0)]['clientMaxWindowBits']==null&&(_0x1b58c2[_0x2af0d8(0x1fa)]=!0x0),_0x1b58c2;}[_0x1913bd(0x281)](_0x217b04){const _0x51d9a7=_0x1913bd;return _0x217b04=this[_0x51d9a7(0x252)](_0x217b04),this[_0x51d9a7(0x1b0)]=this[_0x51d9a7(0x2b8)]?this['acceptAsServer'](_0x217b04):this[_0x51d9a7(0x158)](_0x217b04),this[_0x51d9a7(0x1b0)];}['cleanup'](){const _0x509483=_0x1913bd;if(this['_inflate']&&(this[_0x509483(0x1ba)][_0x509483(0x1ed)](),this[_0x509483(0x1ba)]=null),this['_deflate']){const _0x5dd51f=this[_0x509483(0x28f)][_0x479f7e];this[_0x509483(0x28f)]['close'](),this[_0x509483(0x28f)]=null,_0x5dd51f&&_0x5dd51f(new Error(_0x509483(0x15c)));}}['acceptAsServer'](_0x2a6400){const _0x16cbf2=_0x1913bd,_0x5df0b2=this['_options'],_0xaf2037=_0x2a6400[_0x16cbf2(0x16c)](_0x4b8b54=>!(_0x5df0b2[_0x16cbf2(0x191)]===!0x1&&_0x4b8b54['server_no_context_takeover']||_0x4b8b54[_0x16cbf2(0x275)]&&(_0x5df0b2[_0x16cbf2(0x131)]===!0x1||typeof _0x5df0b2['serverMaxWindowBits']=='number'&&_0x5df0b2[_0x16cbf2(0x131)]>_0x4b8b54[_0x16cbf2(0x275)])||typeof _0x5df0b2[_0x16cbf2(0x1ce)]=='number'&&!_0x4b8b54['client_max_window_bits']));if(!_0xaf2037)throw new Error(_0x16cbf2(0x1f9));return _0x5df0b2[_0x16cbf2(0x191)]&&(_0xaf2037[_0x16cbf2(0x26c)]=!0x0),_0x5df0b2['clientNoContextTakeover']&&(_0xaf2037['client_no_context_takeover']=!0x0),typeof _0x5df0b2[_0x16cbf2(0x131)]==_0x16cbf2(0x212)&&(_0xaf2037[_0x16cbf2(0x275)]=_0x5df0b2[_0x16cbf2(0x131)]),typeof _0x5df0b2[_0x16cbf2(0x1ce)]==_0x16cbf2(0x212)?_0xaf2037[_0x16cbf2(0x1fa)]=_0x5df0b2['clientMaxWindowBits']:(_0xaf2037[_0x16cbf2(0x1fa)]===!0x0||_0x5df0b2['clientMaxWindowBits']===!0x1)&&delete _0xaf2037[_0x16cbf2(0x1fa)],_0xaf2037;}[_0x1913bd(0x158)](_0x502965){const _0xb588f3=_0x1913bd,_0x41060d=_0x502965[0x0];if(this[_0xb588f3(0x1d0)][_0xb588f3(0x1e8)]===!0x1&&_0x41060d[_0xb588f3(0x203)])throw new Error(_0xb588f3(0x241));if(!_0x41060d[_0xb588f3(0x1fa)])typeof this[_0xb588f3(0x1d0)][_0xb588f3(0x1ce)]=='number'&&(_0x41060d[_0xb588f3(0x1fa)]=this['_options'][_0xb588f3(0x1ce)]);else{if(this[_0xb588f3(0x1d0)]['clientMaxWindowBits']===!0x1||typeof this[_0xb588f3(0x1d0)]['clientMaxWindowBits']=='number'&&_0x41060d['client_max_window_bits']>this[_0xb588f3(0x1d0)]['clientMaxWindowBits'])throw new Error(_0xb588f3(0x2a2));}return _0x41060d;}[_0x1913bd(0x252)](_0x31fa7f){const _0x4e254c=_0x1913bd;return _0x31fa7f[_0x4e254c(0x26e)](_0x547ea5=>{const _0x27106e=_0x4e254c;Object[_0x27106e(0x2e4)](_0x547ea5)[_0x27106e(0x26e)](_0x2b8161=>{const _0xea1d12=_0x27106e;let _0x281041=_0x547ea5[_0x2b8161];if(_0x281041['length']>0x1)throw new Error(_0xea1d12(0x14f)+_0x2b8161+_0xea1d12(0x265));if(_0x281041=_0x281041[0x0],_0x2b8161===_0xea1d12(0x1fa)){if(_0x281041!==!0x0){const _0x274dcf=+_0x281041;if(!Number[_0xea1d12(0x1e0)](_0x274dcf)||_0x274dcf<0x8||_0x274dcf>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2b8161+_0xea1d12(0x21f)+_0x281041);_0x281041=_0x274dcf;}else{if(!this[_0xea1d12(0x2b8)])throw new TypeError(_0xea1d12(0x24f)+_0x2b8161+_0xea1d12(0x21f)+_0x281041);}}else{if(_0x2b8161==='server_max_window_bits'){const _0x4beb99=+_0x281041;if(!Number[_0xea1d12(0x1e0)](_0x4beb99)||_0x4beb99<0x8||_0x4beb99>0xf)throw new TypeError(_0xea1d12(0x24f)+_0x2b8161+_0xea1d12(0x21f)+_0x281041);_0x281041=_0x4beb99;}else{if(_0x2b8161===_0xea1d12(0x203)||_0x2b8161===_0xea1d12(0x26c)){if(_0x281041!==!0x0)throw new TypeError(_0xea1d12(0x24f)+_0x2b8161+_0xea1d12(0x21f)+_0x281041);}else throw new Error(_0xea1d12(0x262)+_0x2b8161+'\x22');}}_0x547ea5[_0x2b8161]=_0x281041;});}),_0x31fa7f;}['decompress'](_0x1e16b4,_0x2a15cf,_0x367542){_0x3a0201['add'](_0x512bed=>{this['_decompress'](_0x1e16b4,_0x2a15cf,(_0x1f27b7,_0x30dd32)=>{_0x512bed(),_0x367542(_0x1f27b7,_0x30dd32);});});}[_0x1913bd(0x2ad)](_0xb6554c,_0x52b60c,_0x58e6f8){const _0x3cf095=_0x1913bd;_0x3a0201[_0x3cf095(0x224)](_0x18b790=>{const _0x14d318=_0x3cf095;this[_0x14d318(0x230)](_0xb6554c,_0x52b60c,(_0x5d10d3,_0xaa165d)=>{_0x18b790(),_0x58e6f8(_0x5d10d3,_0xaa165d);});});}['_decompress'](_0x5e8ee2,_0x203010,_0x23ac70){const _0x423ccd=_0x1913bd,_0x3ec617=this[_0x423ccd(0x2b8)]?_0x423ccd(0x246):_0x423ccd(0x2b3);if(!this[_0x423ccd(0x1ba)]){const _0x5172b7=_0x3ec617+_0x423ccd(0x19b),_0x581c18=typeof this[_0x423ccd(0x1b0)][_0x5172b7]!='number'?_0x5a43a0[_0x423ccd(0x1c9)]:this[_0x423ccd(0x1b0)][_0x5172b7];this[_0x423ccd(0x1ba)]=_0x5a43a0[_0x423ccd(0x23a)]({...this[_0x423ccd(0x1d0)]['zlibInflateOptions'],'windowBits':_0x581c18}),this[_0x423ccd(0x1ba)][_0x4874d9]=this,this[_0x423ccd(0x1ba)][_0xa8f319]=0x0,this[_0x423ccd(0x1ba)][_0x35451b]=[],this[_0x423ccd(0x1ba)]['on'](_0x423ccd(0x209),_0x551176),this['_inflate']['on'](_0x423ccd(0x166),_0x1516f0);}this[_0x423ccd(0x1ba)][_0x479f7e]=_0x23ac70,this[_0x423ccd(0x1ba)][_0x423ccd(0x232)](_0x5e8ee2),_0x203010&&this[_0x423ccd(0x1ba)][_0x423ccd(0x232)](_0x5948bf),this[_0x423ccd(0x1ba)][_0x423ccd(0x238)](()=>{const _0x4c0c10=_0x423ccd,_0x5a339f=this['_inflate'][_0xc5784e];if(_0x5a339f){this[_0x4c0c10(0x1ba)][_0x4c0c10(0x1ed)](),this['_inflate']=null,_0x23ac70(_0x5a339f);return;}const _0x28b1db=_0x5c372a['concat'](this[_0x4c0c10(0x1ba)][_0x35451b],this['_inflate'][_0xa8f319]);this[_0x4c0c10(0x1ba)][_0x4c0c10(0x27e)][_0x4c0c10(0x197)]?(this[_0x4c0c10(0x1ba)][_0x4c0c10(0x1ed)](),this[_0x4c0c10(0x1ba)]=null):(this[_0x4c0c10(0x1ba)][_0xa8f319]=0x0,this['_inflate'][_0x35451b]=[],_0x203010&&this[_0x4c0c10(0x1b0)][_0x3ec617+'_no_context_takeover']&&this[_0x4c0c10(0x1ba)][_0x4c0c10(0x23e)]()),_0x23ac70(null,_0x28b1db);});}[_0x1913bd(0x230)](_0x7b4042,_0x1daa79,_0x3b9480){const _0x4569fc=_0x1913bd,_0x52a207=this[_0x4569fc(0x2b8)]?'server':_0x4569fc(0x246);if(!this[_0x4569fc(0x28f)]){const _0x16890e=_0x52a207+_0x4569fc(0x19b),_0xe19463=typeof this[_0x4569fc(0x1b0)][_0x16890e]!=_0x4569fc(0x212)?_0x5a43a0[_0x4569fc(0x1c9)]:this['params'][_0x16890e];this[_0x4569fc(0x28f)]=_0x5a43a0['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0xe19463}),this['_deflate'][_0xa8f319]=0x0,this['_deflate'][_0x35451b]=[],this[_0x4569fc(0x28f)]['on'](_0x4569fc(0x166),_0x179750);}this[_0x4569fc(0x28f)][_0x479f7e]=_0x3b9480,this[_0x4569fc(0x28f)][_0x4569fc(0x232)](_0x7b4042),this[_0x4569fc(0x28f)][_0x4569fc(0x238)](_0x5a43a0['Z_SYNC_FLUSH'],()=>{const _0x379afb=_0x4569fc;if(!this[_0x379afb(0x28f)])return;let _0x3ffa3f=_0x5c372a['concat'](this['_deflate'][_0x35451b],this['_deflate'][_0xa8f319]);_0x1daa79&&(_0x3ffa3f=new _0x266a3b(_0x3ffa3f[_0x379afb(0x1f4)],_0x3ffa3f[_0x379afb(0x2dd)],_0x3ffa3f[_0x379afb(0x2a7)]-0x4)),this[_0x379afb(0x28f)][_0x479f7e]=null,this[_0x379afb(0x28f)][_0xa8f319]=0x0,this[_0x379afb(0x28f)][_0x35451b]=[],_0x1daa79&&this['params'][_0x52a207+_0x379afb(0x1f5)]&&this[_0x379afb(0x28f)]['reset'](),_0x3b9480(null,_0x3ffa3f);});}}ve=_0x11a610;function _0x179750(_0x11e661){const _0x29a011=_0x1913bd;this[_0x35451b][_0x29a011(0x216)](_0x11e661),this[_0xa8f319]+=_0x11e661[_0x29a011(0x2a7)];}function _0x1516f0(_0x16f851){const _0x5292f7=_0x1913bd;if(this[_0xa8f319]+=_0x16f851[_0x5292f7(0x2a7)],this[_0x4874d9][_0x5292f7(0x2b2)]<0x1||this[_0xa8f319]<=this[_0x4874d9][_0x5292f7(0x2b2)]){this[_0x35451b][_0x5292f7(0x216)](_0x16f851);return;}this[_0xc5784e]=new RangeError(_0x5292f7(0x2d0)),this[_0xc5784e][_0x5292f7(0x283)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0xc5784e][_0xd5b9db]=0x3f1,this['removeListener']('data',_0x1516f0),this[_0x5292f7(0x23e)]();}function _0x551176(_0x905737){this[_0x4874d9]['_inflate']=null,_0x905737[_0xd5b9db]=0x3ef,this[_0x479f7e](_0x905737);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x16efd5(0x2e0)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x16efd5(0x267)})),Yt=ut(zt);var Qe;function ne(){const _0x26c5d4=_0x16efd5;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x4d6397}=_0x57777e,{hasBlob:_0x2435a0}=V(),_0x20684b=[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 _0x4d8ae2(_0x957b8){return _0x957b8>=0x3e8&&_0x957b8<=0x3f6&&_0x957b8!==0x3ec&&_0x957b8!==0x3ed&&_0x957b8!==0x3ee||_0x957b8>=0xbb8&&_0x957b8<=0x1387;}function _0x3d7ead(_0x805f03){const _0x391c45=_0x5bd4,_0xeb7dd7=_0x805f03[_0x391c45(0x2a7)];let _0x50314b=0x0;for(;_0x50314b<_0xeb7dd7;)if((_0x805f03[_0x50314b]&0x80)===0x0)_0x50314b++;else{if((_0x805f03[_0x50314b]&0xe0)===0xc0){if(_0x50314b+0x1===_0xeb7dd7||(_0x805f03[_0x50314b+0x1]&0xc0)!==0x80||(_0x805f03[_0x50314b]&0xfe)===0xc0)return!0x1;_0x50314b+=0x2;}else{if((_0x805f03[_0x50314b]&0xf0)===0xe0){if(_0x50314b+0x2>=_0xeb7dd7||(_0x805f03[_0x50314b+0x1]&0xc0)!==0x80||(_0x805f03[_0x50314b+0x2]&0xc0)!==0x80||_0x805f03[_0x50314b]===0xe0&&(_0x805f03[_0x50314b+0x1]&0xe0)===0x80||_0x805f03[_0x50314b]===0xed&&(_0x805f03[_0x50314b+0x1]&0xe0)===0xa0)return!0x1;_0x50314b+=0x3;}else{if((_0x805f03[_0x50314b]&0xf8)===0xf0){if(_0x50314b+0x3>=_0xeb7dd7||(_0x805f03[_0x50314b+0x1]&0xc0)!==0x80||(_0x805f03[_0x50314b+0x2]&0xc0)!==0x80||(_0x805f03[_0x50314b+0x3]&0xc0)!==0x80||_0x805f03[_0x50314b]===0xf0&&(_0x805f03[_0x50314b+0x1]&0xf0)===0x80||_0x805f03[_0x50314b]===0xf4&&_0x805f03[_0x50314b+0x1]>0x8f||_0x805f03[_0x50314b]>0xf4)return!0x1;_0x50314b+=0x4;}else return!0x1;}}}return!0x0;}function _0x36fe88(_0x4fc871){const _0xd06c1c=_0x5bd4;return _0x2435a0&&typeof _0x4fc871==_0xd06c1c(0x140)&&typeof _0x4fc871[_0xd06c1c(0x1eb)]=='function'&&typeof _0x4fc871[_0xd06c1c(0x248)]==_0xd06c1c(0x1fd)&&typeof _0x4fc871[_0xd06c1c(0x137)]==_0xd06c1c(0x18a)&&(_0x4fc871[Symbol[_0xd06c1c(0x2b5)]]===_0xd06c1c(0x185)||_0x4fc871[Symbol[_0xd06c1c(0x2b5)]]===_0xd06c1c(0x2bc));}if(re[_0x26c5d4(0x263)]={'isBlob':_0x36fe88,'isValidStatusCode':_0x4d8ae2,'isValidUTF8':_0x3d7ead,'tokenChars':_0x20684b},_0x4d6397)re[_0x26c5d4(0x263)]['isValidUTF8']=function(_0x3a10a4){const _0x5b5cba=_0x26c5d4;return _0x3a10a4[_0x5b5cba(0x2a7)]<0x18?_0x3d7ead(_0x3a10a4):_0x4d6397(_0x3a10a4);};else{if(!process[_0x26c5d4(0x1dd)]['WS_NO_UTF_8_VALIDATE'])try{const _0x188cff=Yt;re[_0x26c5d4(0x263)][_0x26c5d4(0x1f8)]=function(_0x17fad0){const _0xbd4f64=_0x26c5d4;return _0x17fad0[_0xbd4f64(0x2a7)]<0x20?_0x3d7ead(_0x17fad0):_0x188cff(_0x17fad0);};}catch{}}return re[_0x26c5d4(0x263)];}var Se,Je;function dt(){const _0x5ce4b8=_0x16efd5;if(Je)return Se;Je=0x1;const {Writable:_0x4cceb1}=_0x310f79,_0x4925ae=he(),{BINARY_TYPES:_0x295675,EMPTY_BUFFER:_0x157a61,kStatusCode:_0x4e093e,kWebSocket:_0xd21265}=V(),{concat:_0x2d3e7f,toArrayBuffer:_0x2bd0f5,unmask:_0x26b3cd}=ce(),{isValidStatusCode:_0x25dbe5,isValidUTF8:_0x4fe4f2}=ne(),_0x3340d6=Buffer[Symbol[_0x5ce4b8(0x236)]],_0x17dcc7=0x0,_0x3e2c8a=0x1,_0xe94b59=0x2,_0x458368=0x3,_0x123ab0=0x4,_0x14f4e3=0x5,_0x5f4c50=0x6;class _0x5eb765 extends _0x4cceb1{constructor(_0x1143d9={}){const _0x413399=_0x5ce4b8;super(),this['_allowSynchronousEvents']=_0x1143d9[_0x413399(0x1ef)]!==void 0x0?_0x1143d9['allowSynchronousEvents']:!0x0,this['_binaryType']=_0x1143d9[_0x413399(0x257)]||_0x295675[0x0],this[_0x413399(0x130)]=_0x1143d9[_0x413399(0x1e2)]||{},this[_0x413399(0x2b8)]=!!_0x1143d9[_0x413399(0x1cc)],this[_0x413399(0x2b2)]=_0x1143d9['maxPayload']|0x0,this[_0x413399(0x145)]=!!_0x1143d9[_0x413399(0x2af)],this[_0xd21265]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x413399(0x21b)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x413399(0x20e)]=!0x1,this[_0x413399(0x1ca)]=!0x1,this[_0x413399(0x187)]=0x0,this[_0x413399(0x273)]=0x0,this[_0x413399(0x167)]=0x0,this[_0x413399(0x2c3)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x413399(0x1df)]=_0x17dcc7;}['_write'](_0x5a5794,_0x2eb760,_0x40d1e9){const _0x1c82a2=_0x5ce4b8;if(this[_0x1c82a2(0x187)]===0x8&&this['_state']==_0x17dcc7)return _0x40d1e9();this[_0x1c82a2(0x2b9)]+=_0x5a5794['length'],this[_0x1c82a2(0x194)][_0x1c82a2(0x216)](_0x5a5794),this[_0x1c82a2(0x133)](_0x40d1e9);}[_0x5ce4b8(0x1c2)](_0x1af45f){const _0x5d00cd=_0x5ce4b8;if(this[_0x5d00cd(0x2b9)]-=_0x1af45f,_0x1af45f===this['_buffers'][0x0][_0x5d00cd(0x2a7)])return this[_0x5d00cd(0x194)]['shift']();if(_0x1af45f<this[_0x5d00cd(0x194)][0x0][_0x5d00cd(0x2a7)]){const _0x365511=this[_0x5d00cd(0x194)][0x0];return this[_0x5d00cd(0x194)][0x0]=new _0x3340d6(_0x365511[_0x5d00cd(0x1f4)],_0x365511['byteOffset']+_0x1af45f,_0x365511[_0x5d00cd(0x2a7)]-_0x1af45f),new _0x3340d6(_0x365511[_0x5d00cd(0x1f4)],_0x365511[_0x5d00cd(0x2dd)],_0x1af45f);}const _0x41e6ea=Buffer[_0x5d00cd(0x1fb)](_0x1af45f);do{const _0x180172=this[_0x5d00cd(0x194)][0x0],_0x433632=_0x41e6ea[_0x5d00cd(0x2a7)]-_0x1af45f;_0x1af45f>=_0x180172[_0x5d00cd(0x2a7)]?_0x41e6ea[_0x5d00cd(0x192)](this['_buffers'][_0x5d00cd(0x24c)](),_0x433632):(_0x41e6ea['set'](new Uint8Array(_0x180172['buffer'],_0x180172[_0x5d00cd(0x2dd)],_0x1af45f),_0x433632),this[_0x5d00cd(0x194)][0x0]=new _0x3340d6(_0x180172[_0x5d00cd(0x1f4)],_0x180172[_0x5d00cd(0x2dd)]+_0x1af45f,_0x180172[_0x5d00cd(0x2a7)]-_0x1af45f)),_0x1af45f-=_0x180172['length'];}while(_0x1af45f>0x0);return _0x41e6ea;}[_0x5ce4b8(0x133)](_0x4073dc){const _0x43a696=_0x5ce4b8;this[_0x43a696(0x1a7)]=!0x0;do switch(this[_0x43a696(0x1df)]){case _0x17dcc7:this[_0x43a696(0x1d2)](_0x4073dc);break;case _0x3e2c8a:this[_0x43a696(0x195)](_0x4073dc);break;case _0xe94b59:this['getPayloadLength64'](_0x4073dc);break;case _0x458368:this['getMask']();break;case _0x123ab0:this[_0x43a696(0x1c0)](_0x4073dc);break;case _0x14f4e3:case _0x5f4c50:this['_loop']=!0x1;return;}while(this[_0x43a696(0x1a7)]);this['_errored']||_0x4073dc();}[_0x5ce4b8(0x1d2)](_0x2e27da){const _0x3dcf7a=_0x5ce4b8;if(this[_0x3dcf7a(0x2b9)]<0x2){this[_0x3dcf7a(0x1a7)]=!0x1;return;}const _0x5f1996=this[_0x3dcf7a(0x1c2)](0x2);if((_0x5f1996[0x0]&0x30)!==0x0){const _0x33b274=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x1ff),!0x0,0x3ea,_0x3dcf7a(0x255));_0x2e27da(_0x33b274);return;}const _0x58f99a=(_0x5f1996[0x0]&0x40)===0x40;if(_0x58f99a&&!this[_0x3dcf7a(0x130)][_0x4925ae[_0x3dcf7a(0x207)]]){const _0x4b9c56=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x2c6),!0x0,0x3ea,_0x3dcf7a(0x1bf));_0x2e27da(_0x4b9c56);return;}if(this[_0x3dcf7a(0x1ca)]=(_0x5f1996[0x0]&0x80)===0x80,this['_opcode']=_0x5f1996[0x0]&0xf,this['_payloadLength']=_0x5f1996[0x1]&0x7f,this[_0x3dcf7a(0x187)]===0x0){if(_0x58f99a){const _0x490500=this[_0x3dcf7a(0x1c6)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3dcf7a(0x1bf));_0x2e27da(_0x490500);return;}if(!this[_0x3dcf7a(0x1a9)]){const _0x5d4208=this['createError'](RangeError,_0x3dcf7a(0x141),!0x0,0x3ea,_0x3dcf7a(0x2c5));_0x2e27da(_0x5d4208);return;}this[_0x3dcf7a(0x187)]=this[_0x3dcf7a(0x1a9)];}else{if(this[_0x3dcf7a(0x187)]===0x1||this[_0x3dcf7a(0x187)]===0x2){if(this[_0x3dcf7a(0x1a9)]){const _0x263dbb=this['createError'](RangeError,_0x3dcf7a(0x2bb)+this['_opcode'],!0x0,0x3ea,_0x3dcf7a(0x2c5));_0x2e27da(_0x263dbb);return;}this[_0x3dcf7a(0x21b)]=_0x58f99a;}else{if(this[_0x3dcf7a(0x187)]>0x7&&this['_opcode']<0xb){if(!this[_0x3dcf7a(0x1ca)]){const _0x564839=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x1ee),!0x0,0x3ea,_0x3dcf7a(0x1ab));_0x2e27da(_0x564839);return;}if(_0x58f99a){const _0x4ecd64=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x2c6),!0x0,0x3ea,_0x3dcf7a(0x1bf));_0x2e27da(_0x4ecd64);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x3dcf7a(0x279)]===0x1){const _0xbd39c5=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x199)+this['_payloadLength'],!0x0,0x3ea,_0x3dcf7a(0x226));_0x2e27da(_0xbd39c5);return;}}else{const _0x251fbe=this['createError'](RangeError,_0x3dcf7a(0x2bb)+this[_0x3dcf7a(0x187)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2e27da(_0x251fbe);return;}}}if(!this[_0x3dcf7a(0x1ca)]&&!this[_0x3dcf7a(0x1a9)]&&(this[_0x3dcf7a(0x1a9)]=this[_0x3dcf7a(0x187)]),this[_0x3dcf7a(0x20e)]=(_0x5f1996[0x1]&0x80)===0x80,this[_0x3dcf7a(0x2b8)]){if(!this[_0x3dcf7a(0x20e)]){const _0x23a50e=this[_0x3dcf7a(0x1c6)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2e27da(_0x23a50e);return;}}else{if(this[_0x3dcf7a(0x20e)]){const _0x104233=this[_0x3dcf7a(0x1c6)](RangeError,_0x3dcf7a(0x15d),!0x0,0x3ea,_0x3dcf7a(0x2a0));_0x2e27da(_0x104233);return;}}this[_0x3dcf7a(0x279)]===0x7e?this[_0x3dcf7a(0x1df)]=_0x3e2c8a:this[_0x3dcf7a(0x279)]===0x7f?this['_state']=_0xe94b59:this[_0x3dcf7a(0x290)](_0x2e27da);}[_0x5ce4b8(0x195)](_0x5ee1f4){const _0x14076a=_0x5ce4b8;if(this[_0x14076a(0x2b9)]<0x2){this[_0x14076a(0x1a7)]=!0x1;return;}this['_payloadLength']=this[_0x14076a(0x1c2)](0x2)[_0x14076a(0x1c4)](0x0),this['haveLength'](_0x5ee1f4);}['getPayloadLength64'](_0x1f536c){const _0x13834e=_0x5ce4b8;if(this[_0x13834e(0x2b9)]<0x8){this[_0x13834e(0x1a7)]=!0x1;return;}const _0x7bfe46=this[_0x13834e(0x1c2)](0x8),_0x347805=_0x7bfe46[_0x13834e(0x180)](0x0);if(_0x347805>Math[_0x13834e(0x243)](0x2,0x15)-0x1){const _0xcb2b8=this[_0x13834e(0x1c6)](RangeError,_0x13834e(0x20f),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1f536c(_0xcb2b8);return;}this[_0x13834e(0x279)]=_0x347805*Math['pow'](0x2,0x20)+_0x7bfe46[_0x13834e(0x180)](0x4),this[_0x13834e(0x290)](_0x1f536c);}[_0x5ce4b8(0x290)](_0xef12ff){const _0x1baa15=_0x5ce4b8;if(this[_0x1baa15(0x279)]&&this['_opcode']<0x8&&(this['_totalPayloadLength']+=this[_0x1baa15(0x279)],this[_0x1baa15(0x273)]>this[_0x1baa15(0x2b2)]&&this[_0x1baa15(0x2b2)]>0x0)){const _0x3870fb=this[_0x1baa15(0x1c6)](RangeError,_0x1baa15(0x2d0),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xef12ff(_0x3870fb);return;}this[_0x1baa15(0x20e)]?this[_0x1baa15(0x1df)]=_0x458368:this[_0x1baa15(0x1df)]=_0x123ab0;}[_0x5ce4b8(0x206)](){const _0x537cdf=_0x5ce4b8;if(this[_0x537cdf(0x2b9)]<0x4){this[_0x537cdf(0x1a7)]=!0x1;return;}this[_0x537cdf(0x22c)]=this[_0x537cdf(0x1c2)](0x4),this['_state']=_0x123ab0;}['getData'](_0x7ad39f){const _0x254628=_0x5ce4b8;let _0x4821c7=_0x157a61;if(this[_0x254628(0x279)]){if(this['_bufferedBytes']<this[_0x254628(0x279)]){this[_0x254628(0x1a7)]=!0x1;return;}_0x4821c7=this[_0x254628(0x1c2)](this[_0x254628(0x279)]),this[_0x254628(0x20e)]&&(this[_0x254628(0x22c)][0x0]|this[_0x254628(0x22c)][0x1]|this[_0x254628(0x22c)][0x2]|this[_0x254628(0x22c)][0x3])!==0x0&&_0x26b3cd(_0x4821c7,this[_0x254628(0x22c)]);}if(this[_0x254628(0x187)]>0x7){this[_0x254628(0x208)](_0x4821c7,_0x7ad39f);return;}if(this[_0x254628(0x21b)]){this[_0x254628(0x1df)]=_0x14f4e3,this[_0x254628(0x258)](_0x4821c7,_0x7ad39f);return;}_0x4821c7['length']&&(this[_0x254628(0x167)]=this[_0x254628(0x273)],this[_0x254628(0x2c3)][_0x254628(0x216)](_0x4821c7)),this[_0x254628(0x261)](_0x7ad39f);}[_0x5ce4b8(0x258)](_0x31480f,_0x157548){const _0x126397=_0x5ce4b8;this['_extensions'][_0x4925ae[_0x126397(0x207)]][_0x126397(0x258)](_0x31480f,this[_0x126397(0x1ca)],(_0x42217d,_0x870dad)=>{const _0x246596=_0x126397;if(_0x42217d)return _0x157548(_0x42217d);if(_0x870dad['length']){if(this[_0x246596(0x167)]+=_0x870dad[_0x246596(0x2a7)],this[_0x246596(0x167)]>this[_0x246596(0x2b2)]&&this[_0x246596(0x2b2)]>0x0){const _0x2b647e=this[_0x246596(0x1c6)](RangeError,_0x246596(0x2d0),!0x1,0x3f1,_0x246596(0x29e));_0x157548(_0x2b647e);return;}this['_fragments'][_0x246596(0x216)](_0x870dad);}this[_0x246596(0x261)](_0x157548),this[_0x246596(0x1df)]===_0x17dcc7&&this[_0x246596(0x133)](_0x157548);});}[_0x5ce4b8(0x261)](_0x16ccdb){const _0x5568ad=_0x5ce4b8;if(!this[_0x5568ad(0x1ca)]){this[_0x5568ad(0x1df)]=_0x17dcc7;return;}const _0x1dd8de=this[_0x5568ad(0x167)],_0x1b6f51=this[_0x5568ad(0x2c3)];if(this[_0x5568ad(0x273)]=0x0,this[_0x5568ad(0x167)]=0x0,this[_0x5568ad(0x1a9)]=0x0,this[_0x5568ad(0x2c3)]=[],this['_opcode']===0x2){let _0x15548b;this[_0x5568ad(0x295)]===_0x5568ad(0x287)?_0x15548b=_0x2d3e7f(_0x1b6f51,_0x1dd8de):this[_0x5568ad(0x295)]===_0x5568ad(0x16b)?_0x15548b=_0x2bd0f5(_0x2d3e7f(_0x1b6f51,_0x1dd8de)):this[_0x5568ad(0x295)]==='blob'?_0x15548b=new Blob(_0x1b6f51):_0x15548b=_0x1b6f51,this[_0x5568ad(0x217)]?(this[_0x5568ad(0x25e)](_0x5568ad(0x22e),_0x15548b,!0x0),this[_0x5568ad(0x1df)]=_0x17dcc7):(this[_0x5568ad(0x1df)]=_0x5f4c50,setImmediate(()=>{const _0x25367b=_0x5568ad;this['emit'](_0x25367b(0x22e),_0x15548b,!0x0),this[_0x25367b(0x1df)]=_0x17dcc7,this[_0x25367b(0x133)](_0x16ccdb);}));}else{const _0x49a48f=_0x2d3e7f(_0x1b6f51,_0x1dd8de);if(!this[_0x5568ad(0x145)]&&!_0x4fe4f2(_0x49a48f)){const _0x233cb6=this[_0x5568ad(0x1c6)](Error,_0x5568ad(0x1b9),!0x0,0x3ef,_0x5568ad(0x14a));_0x16ccdb(_0x233cb6);return;}this['_state']===_0x14f4e3||this[_0x5568ad(0x217)]?(this[_0x5568ad(0x25e)](_0x5568ad(0x22e),_0x49a48f,!0x1),this[_0x5568ad(0x1df)]=_0x17dcc7):(this['_state']=_0x5f4c50,setImmediate(()=>{const _0x3cfacd=_0x5568ad;this[_0x3cfacd(0x25e)](_0x3cfacd(0x22e),_0x49a48f,!0x1),this['_state']=_0x17dcc7,this[_0x3cfacd(0x133)](_0x16ccdb);}));}}[_0x5ce4b8(0x208)](_0x1be766,_0x86ce72){const _0x16726f=_0x5ce4b8;if(this[_0x16726f(0x187)]===0x8){if(_0x1be766[_0x16726f(0x2a7)]===0x0)this['_loop']=!0x1,this[_0x16726f(0x25e)](_0x16726f(0x1dc),0x3ed,_0x157a61),this['end']();else{const _0x1e288a=_0x1be766['readUInt16BE'](0x0);if(!_0x25dbe5(_0x1e288a)){const _0x4eb83b=this[_0x16726f(0x1c6)](RangeError,'invalid\x20status\x20code\x20'+_0x1e288a,!0x0,0x3ea,_0x16726f(0x16a));_0x86ce72(_0x4eb83b);return;}const _0x5b9d22=new _0x3340d6(_0x1be766[_0x16726f(0x1f4)],_0x1be766[_0x16726f(0x2dd)]+0x2,_0x1be766[_0x16726f(0x2a7)]-0x2);if(!this[_0x16726f(0x145)]&&!_0x4fe4f2(_0x5b9d22)){const _0x491c67=this[_0x16726f(0x1c6)](Error,_0x16726f(0x1b9),!0x0,0x3ef,_0x16726f(0x14a));_0x86ce72(_0x491c67);return;}this[_0x16726f(0x1a7)]=!0x1,this[_0x16726f(0x25e)]('conclude',_0x1e288a,_0x5b9d22),this['end']();}this['_state']=_0x17dcc7;return;}this[_0x16726f(0x217)]?(this[_0x16726f(0x25e)](this[_0x16726f(0x187)]===0x9?_0x16726f(0x25b):_0x16726f(0x1d1),_0x1be766),this[_0x16726f(0x1df)]=_0x17dcc7):(this['_state']=_0x5f4c50,setImmediate(()=>{const _0x1656cf=_0x16726f;this[_0x1656cf(0x25e)](this[_0x1656cf(0x187)]===0x9?'ping':_0x1656cf(0x1d1),_0x1be766),this[_0x1656cf(0x1df)]=_0x17dcc7,this['startLoop'](_0x86ce72);}));}[_0x5ce4b8(0x1c6)](_0x53294c,_0x594adc,_0x45b564,_0x3084a2,_0x299d5a){const _0x60c14=_0x5ce4b8;this[_0x60c14(0x1a7)]=!0x1,this[_0x60c14(0x2dc)]=!0x0;const _0x421eb7=new _0x53294c(_0x45b564?_0x60c14(0x2e1)+_0x594adc:_0x594adc);return Error[_0x60c14(0x1f2)](_0x421eb7,this[_0x60c14(0x1c6)]),_0x421eb7[_0x60c14(0x283)]=_0x299d5a,_0x421eb7[_0x4e093e]=_0x3084a2,_0x421eb7;}}return Se=_0x5eb765,Se;}var Ee,et;function _t(){const _0x82674=_0x16efd5;if(et)return Ee;et=0x1;const {Duplex:_0x22a5ab}=_0x310f79,{randomFillSync:_0x558707}=_0x112206,_0x4d97ac=he(),{EMPTY_BUFFER:_0x11fd79,kWebSocket:_0x3acf90,NOOP:_0x205dce}=V(),{isBlob:_0x20bbec,isValidStatusCode:_0x48cf34}=ne(),{mask:_0xc29256,toBuffer:_0x4e3e88}=ce(),_0x2b324d=Symbol(_0x82674(0x28a)),_0x4aaca0=Buffer['alloc'](0x4),_0x54e208=0x8*0x400;let _0x3d2911,_0x79ff01=_0x54e208;const _0x5a486f=0x0,_0x246fbb=0x1,_0xd9e6cf=0x2;class _0x16d2f2{constructor(_0x1c7a9a,_0x37c56b,_0x588cda){const _0x117754=_0x82674;this[_0x117754(0x130)]=_0x37c56b||{},_0x588cda&&(this[_0x117754(0x14c)]=_0x588cda,this['_maskBuffer']=Buffer[_0x117754(0x17e)](0x4)),this[_0x117754(0x13e)]=_0x1c7a9a,this[_0x117754(0x1c5)]=!0x0,this[_0x117754(0x230)]=!0x1,this[_0x117754(0x2b9)]=0x0,this['_queue']=[],this[_0x117754(0x1df)]=_0x5a486f,this[_0x117754(0x259)]=_0x205dce,this[_0x3acf90]=void 0x0;}static[_0x82674(0x2c4)](_0x305147,_0x2db772){const _0x1164df=_0x82674;let _0x120c42,_0x5cdf8b=!0x1,_0x2cad5f=0x2,_0x33fe21=!0x1;_0x2db772[_0x1164df(0x14e)]&&(_0x120c42=_0x2db772[_0x1164df(0x1c8)]||_0x4aaca0,_0x2db772[_0x1164df(0x19d)]?_0x2db772[_0x1164df(0x19d)](_0x120c42):(_0x79ff01===_0x54e208&&(_0x3d2911===void 0x0&&(_0x3d2911=Buffer[_0x1164df(0x17e)](_0x54e208)),_0x558707(_0x3d2911,0x0,_0x54e208),_0x79ff01=0x0),_0x120c42[0x0]=_0x3d2911[_0x79ff01++],_0x120c42[0x1]=_0x3d2911[_0x79ff01++],_0x120c42[0x2]=_0x3d2911[_0x79ff01++],_0x120c42[0x3]=_0x3d2911[_0x79ff01++]),_0x33fe21=(_0x120c42[0x0]|_0x120c42[0x1]|_0x120c42[0x2]|_0x120c42[0x3])===0x0,_0x2cad5f=0x6);let _0x2d45cc;typeof _0x305147==_0x1164df(0x1fd)?(!_0x2db772['mask']||_0x33fe21)&&_0x2db772[_0x2b324d]!==void 0x0?_0x2d45cc=_0x2db772[_0x2b324d]:(_0x305147=Buffer[_0x1164df(0x179)](_0x305147),_0x2d45cc=_0x305147['length']):(_0x2d45cc=_0x305147[_0x1164df(0x2a7)],_0x5cdf8b=_0x2db772['mask']&&_0x2db772[_0x1164df(0x182)]&&!_0x33fe21);let _0x41c3e0=_0x2d45cc;_0x2d45cc>=0x10000?(_0x2cad5f+=0x8,_0x41c3e0=0x7f):_0x2d45cc>0x7d&&(_0x2cad5f+=0x2,_0x41c3e0=0x7e);const _0x15d42c=Buffer[_0x1164df(0x1fb)](_0x5cdf8b?_0x2d45cc+_0x2cad5f:_0x2cad5f);return _0x15d42c[0x0]=_0x2db772[_0x1164df(0x2d4)]?_0x2db772['opcode']|0x80:_0x2db772[_0x1164df(0x24a)],_0x2db772['rsv1']&&(_0x15d42c[0x0]|=0x40),_0x15d42c[0x1]=_0x41c3e0,_0x41c3e0===0x7e?_0x15d42c[_0x1164df(0x1e1)](_0x2d45cc,0x2):_0x41c3e0===0x7f&&(_0x15d42c[0x2]=_0x15d42c[0x3]=0x0,_0x15d42c['writeUIntBE'](_0x2d45cc,0x4,0x6)),_0x2db772[_0x1164df(0x14e)]?(_0x15d42c[0x1]|=0x80,_0x15d42c[_0x2cad5f-0x4]=_0x120c42[0x0],_0x15d42c[_0x2cad5f-0x3]=_0x120c42[0x1],_0x15d42c[_0x2cad5f-0x2]=_0x120c42[0x2],_0x15d42c[_0x2cad5f-0x1]=_0x120c42[0x3],_0x33fe21?[_0x15d42c,_0x305147]:_0x5cdf8b?(_0xc29256(_0x305147,_0x120c42,_0x15d42c,_0x2cad5f,_0x2d45cc),[_0x15d42c]):(_0xc29256(_0x305147,_0x120c42,_0x305147,0x0,_0x2d45cc),[_0x15d42c,_0x305147])):[_0x15d42c,_0x305147];}[_0x82674(0x1ed)](_0x56a350,_0x5e1b87,_0x57bd09,_0x4faebb){const _0x44c9d2=_0x82674;let _0x58bf1c;if(_0x56a350===void 0x0)_0x58bf1c=_0x11fd79;else{if(typeof _0x56a350!=_0x44c9d2(0x212)||!_0x48cf34(_0x56a350))throw new TypeError(_0x44c9d2(0x1d9));if(_0x5e1b87===void 0x0||!_0x5e1b87[_0x44c9d2(0x2a7)])_0x58bf1c=Buffer[_0x44c9d2(0x1fb)](0x2),_0x58bf1c[_0x44c9d2(0x1e1)](_0x56a350,0x0);else{const _0x101ff7=Buffer[_0x44c9d2(0x21e)](_0x5e1b87);if(_0x101ff7>0x7b)throw new RangeError(_0x44c9d2(0x156));_0x58bf1c=Buffer[_0x44c9d2(0x1fb)](0x2+_0x101ff7),_0x58bf1c['writeUInt16BE'](_0x56a350,0x0),typeof _0x5e1b87=='string'?_0x58bf1c[_0x44c9d2(0x232)](_0x5e1b87,0x2):_0x58bf1c['set'](_0x5e1b87,0x2);}}const _0x1c2593={[_0x2b324d]:_0x58bf1c['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x57bd09,'maskBuffer':this[_0x44c9d2(0x288)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x5a486f?this[_0x44c9d2(0x171)]([this[_0x44c9d2(0x2a1)],_0x58bf1c,!0x1,_0x1c2593,_0x4faebb]):this[_0x44c9d2(0x18f)](_0x16d2f2[_0x44c9d2(0x2c4)](_0x58bf1c,_0x1c2593),_0x4faebb);}[_0x82674(0x25b)](_0x1cf2fc,_0x27259b,_0x19c21e){const _0x243665=_0x82674;let _0x31fba2,_0x1cab26;if(typeof _0x1cf2fc==_0x243665(0x1fd)?(_0x31fba2=Buffer[_0x243665(0x21e)](_0x1cf2fc),_0x1cab26=!0x1):_0x20bbec(_0x1cf2fc)?(_0x31fba2=_0x1cf2fc[_0x243665(0x222)],_0x1cab26=!0x1):(_0x1cf2fc=_0x4e3e88(_0x1cf2fc),_0x31fba2=_0x1cf2fc[_0x243665(0x2a7)],_0x1cab26=_0x4e3e88[_0x243665(0x182)]),_0x31fba2>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x277fc5={[_0x2b324d]:_0x31fba2,'fin':!0x0,'generateMask':this[_0x243665(0x14c)],'mask':_0x27259b,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1cab26,'rsv1':!0x1};_0x20bbec(_0x1cf2fc)?this[_0x243665(0x1df)]!==_0x5a486f?this[_0x243665(0x171)]([this['getBlobData'],_0x1cf2fc,!0x1,_0x277fc5,_0x19c21e]):this[_0x243665(0x163)](_0x1cf2fc,!0x1,_0x277fc5,_0x19c21e):this[_0x243665(0x1df)]!==_0x5a486f?this['enqueue']([this[_0x243665(0x2a1)],_0x1cf2fc,!0x1,_0x277fc5,_0x19c21e]):this[_0x243665(0x18f)](_0x16d2f2[_0x243665(0x2c4)](_0x1cf2fc,_0x277fc5),_0x19c21e);}[_0x82674(0x1d1)](_0x1233d6,_0xa1e3d,_0x3bbbb8){const _0x4a27ee=_0x82674;let _0x5b9c32,_0x4ce093;if(typeof _0x1233d6=='string'?(_0x5b9c32=Buffer[_0x4a27ee(0x21e)](_0x1233d6),_0x4ce093=!0x1):_0x20bbec(_0x1233d6)?(_0x5b9c32=_0x1233d6[_0x4a27ee(0x222)],_0x4ce093=!0x1):(_0x1233d6=_0x4e3e88(_0x1233d6),_0x5b9c32=_0x1233d6[_0x4a27ee(0x2a7)],_0x4ce093=_0x4e3e88['readOnly']),_0x5b9c32>0x7d)throw new RangeError(_0x4a27ee(0x164));const _0x324a07={[_0x2b324d]:_0x5b9c32,'fin':!0x0,'generateMask':this[_0x4a27ee(0x14c)],'mask':_0xa1e3d,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4ce093,'rsv1':!0x1};_0x20bbec(_0x1233d6)?this['_state']!==_0x5a486f?this[_0x4a27ee(0x171)]([this['getBlobData'],_0x1233d6,!0x1,_0x324a07,_0x3bbbb8]):this['getBlobData'](_0x1233d6,!0x1,_0x324a07,_0x3bbbb8):this[_0x4a27ee(0x1df)]!==_0x5a486f?this['enqueue']([this[_0x4a27ee(0x2a1)],_0x1233d6,!0x1,_0x324a07,_0x3bbbb8]):this[_0x4a27ee(0x18f)](_0x16d2f2[_0x4a27ee(0x2c4)](_0x1233d6,_0x324a07),_0x3bbbb8);}[_0x82674(0x1c1)](_0x676f31,_0x1f30ae,_0x5075c8){const _0x47d462=_0x82674,_0x48857f=this['_extensions'][_0x4d97ac[_0x47d462(0x207)]];let _0x2e4617=_0x1f30ae[_0x47d462(0x1b8)]?0x2:0x1,_0x5b3d79=_0x1f30ae[_0x47d462(0x2ad)],_0x440dca,_0x58c60f;typeof _0x676f31==_0x47d462(0x1fd)?(_0x440dca=Buffer[_0x47d462(0x21e)](_0x676f31),_0x58c60f=!0x1):_0x20bbec(_0x676f31)?(_0x440dca=_0x676f31['size'],_0x58c60f=!0x1):(_0x676f31=_0x4e3e88(_0x676f31),_0x440dca=_0x676f31[_0x47d462(0x2a7)],_0x58c60f=_0x4e3e88[_0x47d462(0x182)]),this[_0x47d462(0x1c5)]?(this[_0x47d462(0x1c5)]=!0x1,_0x5b3d79&&_0x48857f&&_0x48857f[_0x47d462(0x1b0)][_0x48857f['_isServer']?_0x47d462(0x26c):_0x47d462(0x203)]&&(_0x5b3d79=_0x440dca>=_0x48857f[_0x47d462(0x1de)]),this[_0x47d462(0x230)]=_0x5b3d79):(_0x5b3d79=!0x1,_0x2e4617=0x0),_0x1f30ae[_0x47d462(0x2d4)]&&(this['_firstFragment']=!0x0);const _0x32d54b={[_0x2b324d]:_0x440dca,'fin':_0x1f30ae['fin'],'generateMask':this['_generateMask'],'mask':_0x1f30ae['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x2e4617,'readOnly':_0x58c60f,'rsv1':_0x5b3d79};_0x20bbec(_0x676f31)?this['_state']!==_0x5a486f?this[_0x47d462(0x171)]([this[_0x47d462(0x163)],_0x676f31,this[_0x47d462(0x230)],_0x32d54b,_0x5075c8]):this['getBlobData'](_0x676f31,this[_0x47d462(0x230)],_0x32d54b,_0x5075c8):this['_state']!==_0x5a486f?this['enqueue']([this['dispatch'],_0x676f31,this['_compress'],_0x32d54b,_0x5075c8]):this[_0x47d462(0x2a1)](_0x676f31,this[_0x47d462(0x230)],_0x32d54b,_0x5075c8);}[_0x82674(0x163)](_0x4952db,_0x2d1245,_0x3af3d9,_0x24c83d){const _0x377cdf=_0x82674;this[_0x377cdf(0x2b9)]+=_0x3af3d9[_0x2b324d],this[_0x377cdf(0x1df)]=_0xd9e6cf,_0x4952db[_0x377cdf(0x1eb)]()[_0x377cdf(0x1f3)](_0x930e0f=>{const _0x449224=_0x377cdf;if(this[_0x449224(0x13e)][_0x449224(0x151)]){const _0x1213d1=new Error(_0x449224(0x215));process[_0x449224(0x173)](_0x3bc728,this,_0x1213d1,_0x24c83d);return;}this[_0x449224(0x2b9)]-=_0x3af3d9[_0x2b324d];const _0x1b2547=_0x4e3e88(_0x930e0f);_0x2d1245?this[_0x449224(0x2a1)](_0x1b2547,_0x2d1245,_0x3af3d9,_0x24c83d):(this[_0x449224(0x1df)]=_0x5a486f,this[_0x449224(0x18f)](_0x16d2f2[_0x449224(0x2c4)](_0x1b2547,_0x3af3d9),_0x24c83d),this[_0x449224(0x1ec)]());})['catch'](_0x3a75cd=>{const _0x4bef2=_0x377cdf;process[_0x4bef2(0x173)](_0x366c47,this,_0x3a75cd,_0x24c83d);});}[_0x82674(0x2a1)](_0x3308cb,_0x4f8ab0,_0x24f011,_0x16f70a){const _0x2bf328=_0x82674;if(!_0x4f8ab0){this[_0x2bf328(0x18f)](_0x16d2f2[_0x2bf328(0x2c4)](_0x3308cb,_0x24f011),_0x16f70a);return;}const _0xb43336=this[_0x2bf328(0x130)][_0x4d97ac[_0x2bf328(0x207)]];this['_bufferedBytes']+=_0x24f011[_0x2b324d],this[_0x2bf328(0x1df)]=_0x246fbb,_0xb43336['compress'](_0x3308cb,_0x24f011[_0x2bf328(0x2d4)],(_0xb939a2,_0x4c18c4)=>{const _0x5f2b3a=_0x2bf328;if(this['_socket'][_0x5f2b3a(0x151)]){const _0xd39dea=new Error(_0x5f2b3a(0x1db));_0x3bc728(this,_0xd39dea,_0x16f70a);return;}this[_0x5f2b3a(0x2b9)]-=_0x24f011[_0x2b324d],this[_0x5f2b3a(0x1df)]=_0x5a486f,_0x24f011[_0x5f2b3a(0x182)]=!0x1,this['sendFrame'](_0x16d2f2[_0x5f2b3a(0x2c4)](_0x4c18c4,_0x24f011),_0x16f70a),this[_0x5f2b3a(0x1ec)]();});}[_0x82674(0x1ec)](){const _0x2eff5a=_0x82674;for(;this[_0x2eff5a(0x1df)]===_0x5a486f&&this[_0x2eff5a(0x1a2)][_0x2eff5a(0x2a7)];){const _0x498506=this[_0x2eff5a(0x1a2)]['shift']();this['_bufferedBytes']-=_0x498506[0x3][_0x2b324d],Reflect[_0x2eff5a(0x247)](_0x498506[0x0],this,_0x498506[_0x2eff5a(0x1f0)](0x1));}}[_0x82674(0x171)](_0x1f7b5b){const _0x512345=_0x82674;this[_0x512345(0x2b9)]+=_0x1f7b5b[0x3][_0x2b324d],this['_queue']['push'](_0x1f7b5b);}[_0x82674(0x18f)](_0x2ce7e6,_0x1f0cc2){const _0x4e7e04=_0x82674;_0x2ce7e6['length']===0x2?(this['_socket']['cork'](),this['_socket'][_0x4e7e04(0x232)](_0x2ce7e6[0x0]),this[_0x4e7e04(0x13e)][_0x4e7e04(0x232)](_0x2ce7e6[0x1],_0x1f0cc2),this['_socket'][_0x4e7e04(0x1ac)]()):this[_0x4e7e04(0x13e)][_0x4e7e04(0x232)](_0x2ce7e6[0x0],_0x1f0cc2);}}Ee=_0x16d2f2;function _0x3bc728(_0x326982,_0x1373df,_0x1c66e0){const _0x46b486=_0x82674;typeof _0x1c66e0==_0x46b486(0x18a)&&_0x1c66e0(_0x1373df);for(let _0x104f82=0x0;_0x104f82<_0x326982[_0x46b486(0x1a2)][_0x46b486(0x2a7)];_0x104f82++){const _0x3249f1=_0x326982['_queue'][_0x104f82],_0x32f320=_0x3249f1[_0x3249f1['length']-0x1];typeof _0x32f320=='function'&&_0x32f320(_0x1373df);}}function _0x366c47(_0x3610d0,_0x3ea7ee,_0xa75738){const _0x42aeea=_0x82674;_0x3bc728(_0x3610d0,_0x3ea7ee,_0xa75738),_0x3610d0[_0x42aeea(0x259)](_0x3ea7ee);}return Ee;}var xe,tt;function Kt(){const _0x3dce96=_0x16efd5;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2f8935,kListener:_0x48f25d}=V(),_0x555eba=Symbol(_0x3dce96(0x17f)),_0x590448=Symbol(_0x3dce96(0x2ae)),_0x2dd1cf=Symbol(_0x3dce96(0x2a9)),_0x63321d=Symbol(_0x3dce96(0x253)),_0x12ea69=Symbol(_0x3dce96(0x228)),_0x4f7f89=Symbol(_0x3dce96(0x1d3)),_0x173353=Symbol('kType'),_0x2ec6e8=Symbol('kWasClean');class _0x52e197{constructor(_0x3d71fa){this[_0x4f7f89]=null,this[_0x173353]=_0x3d71fa;}get[_0x3dce96(0x28b)](){return this[_0x4f7f89];}get['type'](){return this[_0x173353];}}Object[_0x3dce96(0x2e0)](_0x52e197[_0x3dce96(0x2a5)],'target',{'enumerable':!0x0}),Object[_0x3dce96(0x2e0)](_0x52e197['prototype'],_0x3dce96(0x248),{'enumerable':!0x0});class _0x103e2b extends _0x52e197{constructor(_0x511a48,_0x3948a9={}){const _0x28d007=_0x3dce96;super(_0x511a48),this[_0x555eba]=_0x3948a9[_0x28d007(0x283)]===void 0x0?0x0:_0x3948a9['code'],this[_0x12ea69]=_0x3948a9[_0x28d007(0x1b5)]===void 0x0?'':_0x3948a9[_0x28d007(0x1b5)],this[_0x2ec6e8]=_0x3948a9[_0x28d007(0x29c)]===void 0x0?!0x1:_0x3948a9[_0x28d007(0x29c)];}get[_0x3dce96(0x283)](){return this[_0x555eba];}get[_0x3dce96(0x1b5)](){return this[_0x12ea69];}get[_0x3dce96(0x29c)](){return this[_0x2ec6e8];}}Object['defineProperty'](_0x103e2b[_0x3dce96(0x2a5)],_0x3dce96(0x283),{'enumerable':!0x0}),Object[_0x3dce96(0x2e0)](_0x103e2b[_0x3dce96(0x2a5)],_0x3dce96(0x1b5),{'enumerable':!0x0}),Object[_0x3dce96(0x2e0)](_0x103e2b[_0x3dce96(0x2a5)],_0x3dce96(0x29c),{'enumerable':!0x0});class _0x3187da extends _0x52e197{constructor(_0x16a25f,_0x2bd0d0={}){const _0x1c4e56=_0x3dce96;super(_0x16a25f),this[_0x2dd1cf]=_0x2bd0d0['error']===void 0x0?null:_0x2bd0d0[_0x1c4e56(0x209)],this[_0x63321d]=_0x2bd0d0[_0x1c4e56(0x22e)]===void 0x0?'':_0x2bd0d0[_0x1c4e56(0x22e)];}get[_0x3dce96(0x209)](){return this[_0x2dd1cf];}get[_0x3dce96(0x22e)](){return this[_0x63321d];}}Object[_0x3dce96(0x2e0)](_0x3187da[_0x3dce96(0x2a5)],_0x3dce96(0x209),{'enumerable':!0x0}),Object[_0x3dce96(0x2e0)](_0x3187da['prototype'],_0x3dce96(0x22e),{'enumerable':!0x0});class _0x595dc3 extends _0x52e197{constructor(_0x444323,_0x5cab32={}){const _0x3bcf8c=_0x3dce96;super(_0x444323),this[_0x590448]=_0x5cab32[_0x3bcf8c(0x166)]===void 0x0?null:_0x5cab32['data'];}get[_0x3dce96(0x166)](){return this[_0x590448];}}Object[_0x3dce96(0x2e0)](_0x595dc3['prototype'],_0x3dce96(0x166),{'enumerable':!0x0}),xe={'CloseEvent':_0x103e2b,'ErrorEvent':_0x3187da,'Event':_0x52e197,'EventTarget':{'addEventListener'(_0x2283f7,_0xb7ce5b,_0x199bed={}){const _0x4afca1=_0x3dce96;for(const _0x36679e of this[_0x4afca1(0x1d4)](_0x2283f7))if(!_0x199bed[_0x2f8935]&&_0x36679e[_0x48f25d]===_0xb7ce5b&&!_0x36679e[_0x2f8935])return;let _0x3313df;if(_0x2283f7===_0x4afca1(0x22e))_0x3313df=function(_0x2cf2b5,_0x5a8231){const _0x549b82=_0x4afca1,_0x1a161b=new _0x595dc3(_0x549b82(0x22e),{'data':_0x5a8231?_0x2cf2b5:_0x2cf2b5[_0x549b82(0x178)]()});_0x1a161b[_0x4f7f89]=this,_0x16a65b(_0xb7ce5b,this,_0x1a161b);};else{if(_0x2283f7===_0x4afca1(0x1ed))_0x3313df=function(_0x1c6224,_0x2cb2ad){const _0x6de6ff=_0x4afca1,_0x62d427=new _0x103e2b(_0x6de6ff(0x1ed),{'code':_0x1c6224,'reason':_0x2cb2ad[_0x6de6ff(0x178)](),'wasClean':this[_0x6de6ff(0x2b1)]&&this[_0x6de6ff(0x282)]});_0x62d427[_0x4f7f89]=this,_0x16a65b(_0xb7ce5b,this,_0x62d427);};else{if(_0x2283f7==='error')_0x3313df=function(_0x1e839d){const _0x23ce18=_0x4afca1,_0x50b419=new _0x3187da(_0x23ce18(0x209),{'error':_0x1e839d,'message':_0x1e839d[_0x23ce18(0x22e)]});_0x50b419[_0x4f7f89]=this,_0x16a65b(_0xb7ce5b,this,_0x50b419);};else{if(_0x2283f7===_0x4afca1(0x237))_0x3313df=function(){const _0x41d242=_0x4afca1,_0x118120=new _0x52e197(_0x41d242(0x237));_0x118120[_0x4f7f89]=this,_0x16a65b(_0xb7ce5b,this,_0x118120);};else return;}}}_0x3313df[_0x2f8935]=!!_0x199bed[_0x2f8935],_0x3313df[_0x48f25d]=_0xb7ce5b,_0x199bed['once']?this[_0x4afca1(0x2a4)](_0x2283f7,_0x3313df):this['on'](_0x2283f7,_0x3313df);},'removeEventListener'(_0x53631d,_0x29ec8c){for(const _0x18d091 of this['listeners'](_0x53631d))if(_0x18d091[_0x48f25d]===_0x29ec8c&&!_0x18d091[_0x2f8935]){this['removeListener'](_0x53631d,_0x18d091);break;}}},'MessageEvent':_0x595dc3};function _0x16a65b(_0x62f144,_0xa1caea,_0x595cd9){const _0x57b435=_0x3dce96;typeof _0x62f144==_0x57b435(0x140)&&_0x62f144[_0x57b435(0x266)]?_0x62f144[_0x57b435(0x266)][_0x57b435(0x242)](_0x62f144,_0x595cd9):_0x62f144['call'](_0xa1caea,_0x595cd9);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x526b8a}=ne();function _0xd76db6(_0x549c56,_0x28a275,_0x3f6c99){_0x549c56[_0x28a275]===void 0x0?_0x549c56[_0x28a275]=[_0x3f6c99]:_0x549c56[_0x28a275]['push'](_0x3f6c99);}function _0x598b1b(_0x464523){const _0x3eca77=_0x5bd4,_0x1d9950=Object['create'](null);let _0x190aa0=Object[_0x3eca77(0x25f)](null),_0x5bc9c6=!0x1,_0x1226c3=!0x1,_0x54f72c=!0x1,_0x4699cf,_0x3cb207,_0x2a1d01=-0x1,_0xcac957=-0x1,_0x5031e9=-0x1,_0x46ca6a=0x0;for(;_0x46ca6a<_0x464523[_0x3eca77(0x2a7)];_0x46ca6a++)if(_0xcac957=_0x464523[_0x3eca77(0x159)](_0x46ca6a),_0x4699cf===void 0x0){if(_0x5031e9===-0x1&&_0x526b8a[_0xcac957]===0x1)_0x2a1d01===-0x1&&(_0x2a1d01=_0x46ca6a);else{if(_0x46ca6a!==0x0&&(_0xcac957===0x20||_0xcac957===0x9))_0x5031e9===-0x1&&_0x2a1d01!==-0x1&&(_0x5031e9=_0x46ca6a);else{if(_0xcac957===0x3b||_0xcac957===0x2c){if(_0x2a1d01===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46ca6a);_0x5031e9===-0x1&&(_0x5031e9=_0x46ca6a);const _0x14780c=_0x464523[_0x3eca77(0x1f0)](_0x2a1d01,_0x5031e9);_0xcac957===0x2c?(_0xd76db6(_0x1d9950,_0x14780c,_0x190aa0),_0x190aa0=Object[_0x3eca77(0x25f)](null)):_0x4699cf=_0x14780c,_0x2a1d01=_0x5031e9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46ca6a);}}}else{if(_0x3cb207===void 0x0){if(_0x5031e9===-0x1&&_0x526b8a[_0xcac957]===0x1)_0x2a1d01===-0x1&&(_0x2a1d01=_0x46ca6a);else{if(_0xcac957===0x20||_0xcac957===0x9)_0x5031e9===-0x1&&_0x2a1d01!==-0x1&&(_0x5031e9=_0x46ca6a);else{if(_0xcac957===0x3b||_0xcac957===0x2c){if(_0x2a1d01===-0x1)throw new SyntaxError(_0x3eca77(0x17d)+_0x46ca6a);_0x5031e9===-0x1&&(_0x5031e9=_0x46ca6a),_0xd76db6(_0x190aa0,_0x464523[_0x3eca77(0x1f0)](_0x2a1d01,_0x5031e9),!0x0),_0xcac957===0x2c&&(_0xd76db6(_0x1d9950,_0x4699cf,_0x190aa0),_0x190aa0=Object[_0x3eca77(0x25f)](null),_0x4699cf=void 0x0),_0x2a1d01=_0x5031e9=-0x1;}else{if(_0xcac957===0x3d&&_0x2a1d01!==-0x1&&_0x5031e9===-0x1)_0x3cb207=_0x464523[_0x3eca77(0x1f0)](_0x2a1d01,_0x46ca6a),_0x2a1d01=_0x5031e9=-0x1;else throw new SyntaxError(_0x3eca77(0x17d)+_0x46ca6a);}}}}else{if(_0x1226c3){if(_0x526b8a[_0xcac957]!==0x1)throw new SyntaxError(_0x3eca77(0x17d)+_0x46ca6a);_0x2a1d01===-0x1?_0x2a1d01=_0x46ca6a:_0x5bc9c6||(_0x5bc9c6=!0x0),_0x1226c3=!0x1;}else{if(_0x54f72c){if(_0x526b8a[_0xcac957]===0x1)_0x2a1d01===-0x1&&(_0x2a1d01=_0x46ca6a);else{if(_0xcac957===0x22&&_0x2a1d01!==-0x1)_0x54f72c=!0x1,_0x5031e9=_0x46ca6a;else{if(_0xcac957===0x5c)_0x1226c3=!0x0;else throw new SyntaxError(_0x3eca77(0x17d)+_0x46ca6a);}}}else{if(_0xcac957===0x22&&_0x464523[_0x3eca77(0x159)](_0x46ca6a-0x1)===0x3d)_0x54f72c=!0x0;else{if(_0x5031e9===-0x1&&_0x526b8a[_0xcac957]===0x1)_0x2a1d01===-0x1&&(_0x2a1d01=_0x46ca6a);else{if(_0x2a1d01!==-0x1&&(_0xcac957===0x20||_0xcac957===0x9))_0x5031e9===-0x1&&(_0x5031e9=_0x46ca6a);else{if(_0xcac957===0x3b||_0xcac957===0x2c){if(_0x2a1d01===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46ca6a);_0x5031e9===-0x1&&(_0x5031e9=_0x46ca6a);let _0x3fdf86=_0x464523['slice'](_0x2a1d01,_0x5031e9);_0x5bc9c6&&(_0x3fdf86=_0x3fdf86[_0x3eca77(0x1bc)](/\\/g,''),_0x5bc9c6=!0x1),_0xd76db6(_0x190aa0,_0x3cb207,_0x3fdf86),_0xcac957===0x2c&&(_0xd76db6(_0x1d9950,_0x4699cf,_0x190aa0),_0x190aa0=Object[_0x3eca77(0x25f)](null),_0x4699cf=void 0x0),_0x3cb207=void 0x0,_0x2a1d01=_0x5031e9=-0x1;}else throw new SyntaxError(_0x3eca77(0x17d)+_0x46ca6a);}}}}}}}if(_0x2a1d01===-0x1||_0x54f72c||_0xcac957===0x20||_0xcac957===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x5031e9===-0x1&&(_0x5031e9=_0x46ca6a);const _0x5056cd=_0x464523[_0x3eca77(0x1f0)](_0x2a1d01,_0x5031e9);return _0x4699cf===void 0x0?_0xd76db6(_0x1d9950,_0x5056cd,_0x190aa0):(_0x3cb207===void 0x0?_0xd76db6(_0x190aa0,_0x5056cd,!0x0):_0x5bc9c6?_0xd76db6(_0x190aa0,_0x3cb207,_0x5056cd[_0x3eca77(0x1bc)](/\\/g,'')):_0xd76db6(_0x190aa0,_0x3cb207,_0x5056cd),_0xd76db6(_0x1d9950,_0x4699cf,_0x190aa0)),_0x1d9950;}function _0x28bc70(_0x2716da){const _0x27e21e=_0x5bd4;return Object[_0x27e21e(0x2e4)](_0x2716da)[_0x27e21e(0x18e)](_0x37fa3e=>{const _0x3cb921=_0x27e21e;let _0x328a1b=_0x2716da[_0x37fa3e];return Array[_0x3cb921(0x239)](_0x328a1b)||(_0x328a1b=[_0x328a1b]),_0x328a1b[_0x3cb921(0x18e)](_0x50ca07=>[_0x37fa3e][_0x3cb921(0x205)](Object[_0x3cb921(0x2e4)](_0x50ca07)[_0x3cb921(0x18e)](_0x252ea5=>{const _0x2861d1=_0x3cb921;let _0x33d9b2=_0x50ca07[_0x252ea5];return Array['isArray'](_0x33d9b2)||(_0x33d9b2=[_0x33d9b2]),_0x33d9b2[_0x2861d1(0x18e)](_0x3b0ce1=>_0x3b0ce1===!0x0?_0x252ea5:_0x252ea5+'='+_0x3b0ce1)[_0x2861d1(0x29b)](';\x20');}))[_0x3cb921(0x29b)](';\x20'))[_0x3cb921(0x29b)](',\x20');})[_0x27e21e(0x29b)](',\x20');}return be={'format':_0x28bc70,'parse':_0x598b1b},be;}var we,st;function Ie(){const _0x2b304a=_0x16efd5;if(st)return we;st=0x1;const _0xb97090=_0x400859,_0x479919=_0x519168,_0x2d6873=_0xdf68fa,_0x57412c=_0x399fa4,_0x3e0013=_0x455876,{randomBytes:_0x708723,createHash:_0x2a0f26}=_0x112206,{Duplex:_0xf0c04a,Readable:_0x4ea978}=_0x310f79,{URL:_0x3d99cc}=_0xe7c3,_0x5b940a=he(),_0x1c4b02=dt(),_0x1fbd00=_t(),{isBlob:_0x9dfaa6}=ne(),{BINARY_TYPES:_0x173a60,EMPTY_BUFFER:_0x598978,GUID:_0x668f2c,kForOnEventAttribute:_0x19c0cb,kListener:_0x3227eb,kStatusCode:_0x4ef45f,kWebSocket:_0x2d3e58,NOOP:_0x558f76}=V(),{EventTarget:{addEventListener:_0x3fd1b1,removeEventListener:_0x15cebf}}=Kt(),{format:_0xdd3578,parse:_0x244973}=pt(),{toBuffer:_0x238f0c}=ce(),_0x422e4a=0x1e*0x3e8,_0x321470=Symbol(_0x2b304a(0x15b)),_0x5e1b32=[0x8,0xd],_0x2c79f6=[_0x2b304a(0x1b4),_0x2b304a(0x296),_0x2b304a(0x264),_0x2b304a(0x1e4)],_0x3b5cc6=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x28e95d extends _0xb97090{constructor(_0x630ca9,_0x5cc7ce,_0x4c6bd2){const _0x291fdf=_0x2b304a;super(),this[_0x291fdf(0x295)]=_0x173a60[0x0],this['_closeCode']=0x3ee,this[_0x291fdf(0x2b1)]=!0x1,this[_0x291fdf(0x282)]=!0x1,this[_0x291fdf(0x15f)]=_0x598978,this[_0x291fdf(0x29a)]=null,this[_0x291fdf(0x2c2)]=!0x1,this[_0x291fdf(0x130)]={},this['_paused']=!0x1,this[_0x291fdf(0x2c8)]='',this[_0x291fdf(0x219)]=_0x28e95d[_0x291fdf(0x1b4)],this[_0x291fdf(0x193)]=null,this[_0x291fdf(0x22b)]=null,this[_0x291fdf(0x13e)]=null,_0x630ca9!==null?(this[_0x291fdf(0x26f)]=0x0,this['_isServer']=!0x1,this[_0x291fdf(0x291)]=0x0,_0x5cc7ce===void 0x0?_0x5cc7ce=[]:Array[_0x291fdf(0x239)](_0x5cc7ce)||(typeof _0x5cc7ce=='object'&&_0x5cc7ce!==null?(_0x4c6bd2=_0x5cc7ce,_0x5cc7ce=[]):_0x5cc7ce=[_0x5cc7ce]),_0x325bf7(this,_0x630ca9,_0x5cc7ce,_0x4c6bd2)):(this[_0x291fdf(0x220)]=_0x4c6bd2[_0x291fdf(0x149)],this[_0x291fdf(0x2b8)]=!0x0);}get[_0x2b304a(0x257)](){const _0x5330a2=_0x2b304a;return this[_0x5330a2(0x295)];}set[_0x2b304a(0x257)](_0x11656a){const _0x2767fc=_0x2b304a;_0x173a60['includes'](_0x11656a)&&(this[_0x2767fc(0x295)]=_0x11656a,this[_0x2767fc(0x193)]&&(this['_receiver'][_0x2767fc(0x295)]=_0x11656a));}get[_0x2b304a(0x154)](){const _0x39df46=_0x2b304a;return this[_0x39df46(0x13e)]?this[_0x39df46(0x13e)][_0x39df46(0x134)][_0x39df46(0x2a7)]+this[_0x39df46(0x22b)][_0x39df46(0x2b9)]:this['_bufferedAmount'];}get[_0x2b304a(0x1e2)](){const _0x432e91=_0x2b304a;return Object[_0x432e91(0x2e4)](this[_0x432e91(0x130)])[_0x432e91(0x29b)]();}get[_0x2b304a(0x2d3)](){const _0x4c279f=_0x2b304a;return this[_0x4c279f(0x1aa)];}get[_0x2b304a(0x225)](){return null;}get[_0x2b304a(0x259)](){return null;}get[_0x2b304a(0x132)](){return null;}get[_0x2b304a(0x270)](){return null;}get['protocol'](){const _0x320731=_0x2b304a;return this[_0x320731(0x2c8)];}get[_0x2b304a(0x26b)](){const _0x4c87c6=_0x2b304a;return this[_0x4c87c6(0x219)];}get[_0x2b304a(0x14d)](){const _0x3b00f9=_0x2b304a;return this[_0x3b00f9(0x142)];}[_0x2b304a(0x139)](_0x5ea38a,_0x340f45,_0x2df343){const _0x171798=_0x2b304a,_0x5edaa2=new _0x1c4b02({'allowSynchronousEvents':_0x2df343[_0x171798(0x1ef)],'binaryType':this[_0x171798(0x257)],'extensions':this[_0x171798(0x130)],'isServer':this[_0x171798(0x2b8)],'maxPayload':_0x2df343[_0x171798(0x1e5)],'skipUTF8Validation':_0x2df343['skipUTF8Validation']}),_0x52443b=new _0x1fbd00(_0x5ea38a,this[_0x171798(0x130)],_0x2df343[_0x171798(0x19d)]);this['_receiver']=_0x5edaa2,this['_sender']=_0x52443b,this['_socket']=_0x5ea38a,_0x5edaa2[_0x2d3e58]=this,_0x52443b[_0x2d3e58]=this,_0x5ea38a[_0x2d3e58]=this,_0x5edaa2['on'](_0x171798(0x1dc),_0x284adf),_0x5edaa2['on'](_0x171798(0x280),_0x2d42b1),_0x5edaa2['on'](_0x171798(0x209),_0x5046c9),_0x5edaa2['on'](_0x171798(0x22e),_0x55bfc6),_0x5edaa2['on']('ping',_0x111e58),_0x5edaa2['on']('pong',_0x1b85d2),_0x52443b[_0x171798(0x259)]=_0x36ef76,_0x5ea38a[_0x171798(0x250)]&&_0x5ea38a[_0x171798(0x250)](0x0),_0x5ea38a['setNoDelay']&&_0x5ea38a[_0x171798(0x26d)](),_0x340f45[_0x171798(0x2a7)]>0x0&&_0x5ea38a[_0x171798(0x168)](_0x340f45),_0x5ea38a['on']('close',_0x215f43),_0x5ea38a['on'](_0x171798(0x166),_0x3e6a3c),_0x5ea38a['on']('end',_0x3461b5),_0x5ea38a['on']('error',_0x40701b),this[_0x171798(0x219)]=_0x28e95d[_0x171798(0x296)],this[_0x171798(0x25e)]('open');}[_0x2b304a(0x25c)](){const _0x13d04a=_0x2b304a;if(!this['_socket']){this[_0x13d04a(0x219)]=_0x28e95d[_0x13d04a(0x1e4)],this['emit'](_0x13d04a(0x1ed),this[_0x13d04a(0x1b2)],this[_0x13d04a(0x15f)]);return;}this[_0x13d04a(0x130)][_0x5b940a[_0x13d04a(0x207)]]&&this[_0x13d04a(0x130)][_0x5b940a[_0x13d04a(0x207)]][_0x13d04a(0x24b)](),this[_0x13d04a(0x193)]['removeAllListeners'](),this[_0x13d04a(0x219)]=_0x28e95d['CLOSED'],this[_0x13d04a(0x25e)](_0x13d04a(0x1ed),this[_0x13d04a(0x1b2)],this[_0x13d04a(0x15f)]);}['close'](_0x54e496,_0x16d36c){const _0x4efa2f=_0x2b304a;if(this[_0x4efa2f(0x26b)]!==_0x28e95d[_0x4efa2f(0x1e4)]){if(this[_0x4efa2f(0x26b)]===_0x28e95d[_0x4efa2f(0x1b4)]){_0x3478ba(this,this['_req'],_0x4efa2f(0x1fc));return;}if(this['readyState']===_0x28e95d[_0x4efa2f(0x264)]){this[_0x4efa2f(0x282)]&&(this[_0x4efa2f(0x2b1)]||this[_0x4efa2f(0x193)][_0x4efa2f(0x134)]['errorEmitted'])&&this['_socket'][_0x4efa2f(0x2df)]();return;}this[_0x4efa2f(0x219)]=_0x28e95d[_0x4efa2f(0x264)],this['_sender'][_0x4efa2f(0x1ed)](_0x54e496,_0x16d36c,!this['_isServer'],_0x55b073=>{const _0x2d166e=_0x4efa2f;_0x55b073||(this[_0x2d166e(0x282)]=!0x0,(this[_0x2d166e(0x2b1)]||this[_0x2d166e(0x193)][_0x2d166e(0x134)][_0x2d166e(0x201)])&&this[_0x2d166e(0x13e)][_0x2d166e(0x2df)]());}),_0x159106(this);}}[_0x2b304a(0x2d8)](){const _0x5c611a=_0x2b304a;this[_0x5c611a(0x26b)]===_0x28e95d[_0x5c611a(0x1b4)]||this['readyState']===_0x28e95d['CLOSED']||(this[_0x5c611a(0x1aa)]=!0x0,this[_0x5c611a(0x13e)][_0x5c611a(0x2d8)]());}[_0x2b304a(0x25b)](_0x1f7155,_0x4707f6,_0x56de8c){const _0x23d0e0=_0x2b304a;if(this['readyState']===_0x28e95d['CONNECTING'])throw new Error(_0x23d0e0(0x1a3));if(typeof _0x1f7155==_0x23d0e0(0x18a)?(_0x56de8c=_0x1f7155,_0x1f7155=_0x4707f6=void 0x0):typeof _0x4707f6==_0x23d0e0(0x18a)&&(_0x56de8c=_0x4707f6,_0x4707f6=void 0x0),typeof _0x1f7155==_0x23d0e0(0x212)&&(_0x1f7155=_0x1f7155[_0x23d0e0(0x178)]()),this['readyState']!==_0x28e95d[_0x23d0e0(0x296)]){_0x40842f(this,_0x1f7155,_0x56de8c);return;}_0x4707f6===void 0x0&&(_0x4707f6=!this[_0x23d0e0(0x2b8)]),this['_sender'][_0x23d0e0(0x25b)](_0x1f7155||_0x598978,_0x4707f6,_0x56de8c);}[_0x2b304a(0x1d1)](_0x505c87,_0x5eff46,_0x74acc7){const _0x4d17aa=_0x2b304a;if(this['readyState']===_0x28e95d[_0x4d17aa(0x1b4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x505c87=='function'?(_0x74acc7=_0x505c87,_0x505c87=_0x5eff46=void 0x0):typeof _0x5eff46=='function'&&(_0x74acc7=_0x5eff46,_0x5eff46=void 0x0),typeof _0x505c87==_0x4d17aa(0x212)&&(_0x505c87=_0x505c87[_0x4d17aa(0x178)]()),this[_0x4d17aa(0x26b)]!==_0x28e95d[_0x4d17aa(0x296)]){_0x40842f(this,_0x505c87,_0x74acc7);return;}_0x5eff46===void 0x0&&(_0x5eff46=!this[_0x4d17aa(0x2b8)]),this['_sender'][_0x4d17aa(0x1d1)](_0x505c87||_0x598978,_0x5eff46,_0x74acc7);}['resume'](){const _0x2e8315=_0x2b304a;this[_0x2e8315(0x26b)]===_0x28e95d[_0x2e8315(0x1b4)]||this['readyState']===_0x28e95d['CLOSED']||(this[_0x2e8315(0x1aa)]=!0x1,this[_0x2e8315(0x193)][_0x2e8315(0x134)][_0x2e8315(0x152)]||this['_socket'][_0x2e8315(0x153)]());}[_0x2b304a(0x1c1)](_0x3f515b,_0x41d909,_0x2537ed){const _0x529f71=_0x2b304a;if(this[_0x529f71(0x26b)]===_0x28e95d[_0x529f71(0x1b4)])throw new Error(_0x529f71(0x1a3));if(typeof _0x41d909=='function'&&(_0x2537ed=_0x41d909,_0x41d909={}),typeof _0x3f515b==_0x529f71(0x212)&&(_0x3f515b=_0x3f515b[_0x529f71(0x178)]()),this['readyState']!==_0x28e95d[_0x529f71(0x296)]){_0x40842f(this,_0x3f515b,_0x2537ed);return;}const _0x5a310e={'binary':typeof _0x3f515b!=_0x529f71(0x1fd),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x41d909};this[_0x529f71(0x130)][_0x5b940a['extensionName']]||(_0x5a310e[_0x529f71(0x2ad)]=!0x1),this[_0x529f71(0x22b)][_0x529f71(0x1c1)](_0x3f515b||_0x598978,_0x5a310e,_0x2537ed);}[_0x2b304a(0x251)](){const _0x4bf351=_0x2b304a;if(this['readyState']!==_0x28e95d['CLOSED']){if(this[_0x4bf351(0x26b)]===_0x28e95d['CONNECTING']){_0x3478ba(this,this[_0x4bf351(0x2a8)],_0x4bf351(0x1fc));return;}this[_0x4bf351(0x13e)]&&(this['_readyState']=_0x28e95d['CLOSING'],this[_0x4bf351(0x13e)][_0x4bf351(0x1b6)]());}}}Object['defineProperty'](_0x28e95d,'CONNECTING',{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)](_0x2b304a(0x1b4))}),Object[_0x2b304a(0x2e0)](_0x28e95d[_0x2b304a(0x2a5)],_0x2b304a(0x1b4),{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)](_0x2b304a(0x1b4))}),Object[_0x2b304a(0x2e0)](_0x28e95d,_0x2b304a(0x296),{'enumerable':!0x0,'value':_0x2c79f6['indexOf'](_0x2b304a(0x296))}),Object[_0x2b304a(0x2e0)](_0x28e95d[_0x2b304a(0x2a5)],_0x2b304a(0x296),{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)]('OPEN')}),Object[_0x2b304a(0x2e0)](_0x28e95d,_0x2b304a(0x264),{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)](_0x2b304a(0x264))}),Object[_0x2b304a(0x2e0)](_0x28e95d['prototype'],_0x2b304a(0x264),{'enumerable':!0x0,'value':_0x2c79f6['indexOf'](_0x2b304a(0x264))}),Object[_0x2b304a(0x2e0)](_0x28e95d,_0x2b304a(0x1e4),{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)]('CLOSED')}),Object[_0x2b304a(0x2e0)](_0x28e95d[_0x2b304a(0x2a5)],_0x2b304a(0x1e4),{'enumerable':!0x0,'value':_0x2c79f6[_0x2b304a(0x2d2)](_0x2b304a(0x1e4))}),[_0x2b304a(0x257),_0x2b304a(0x154),'extensions',_0x2b304a(0x2d3),_0x2b304a(0x2de),'readyState','url'][_0x2b304a(0x26e)](_0x3df561=>{const _0x5ebc17=_0x2b304a;Object[_0x5ebc17(0x2e0)](_0x28e95d[_0x5ebc17(0x2a5)],_0x3df561,{'enumerable':!0x0});}),['open',_0x2b304a(0x209),_0x2b304a(0x1ed),_0x2b304a(0x22e)]['forEach'](_0x46b907=>{const _0x453b50=_0x2b304a;Object[_0x453b50(0x2e0)](_0x28e95d['prototype'],'on'+_0x46b907,{'enumerable':!0x0,'get'(){const _0x107f59=_0x453b50;for(const _0x15d560 of this[_0x107f59(0x1d4)](_0x46b907))if(_0x15d560[_0x19c0cb])return _0x15d560[_0x3227eb];return null;},'set'(_0x5449b2){const _0x2fc03a=_0x453b50;for(const _0xf4bfed of this[_0x2fc03a(0x1d4)](_0x46b907))if(_0xf4bfed[_0x19c0cb]){this['removeListener'](_0x46b907,_0xf4bfed);break;}typeof _0x5449b2==_0x2fc03a(0x18a)&&this[_0x2fc03a(0x285)](_0x46b907,_0x5449b2,{[_0x19c0cb]:!0x0});}});}),_0x28e95d['prototype'][_0x2b304a(0x285)]=_0x3fd1b1,_0x28e95d['prototype']['removeEventListener']=_0x15cebf,we=_0x28e95d;function _0x325bf7(_0xc1a2a,_0x1dce85,_0x1eb598,_0x55523b){const _0x437d36=_0x2b304a,_0x1e2221={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5e1b32[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x55523b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x437d36(0x1d7),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xc1a2a[_0x437d36(0x220)]=_0x1e2221['autoPong'],!_0x5e1b32[_0x437d36(0x148)](_0x1e2221[_0x437d36(0x2b0)]))throw new RangeError(_0x437d36(0x2bd)+_0x1e2221['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x5e1b32[_0x437d36(0x29b)](',\x20')+')');let _0x248920;if(_0x1dce85 instanceof _0x3d99cc)_0x248920=_0x1dce85;else try{_0x248920=new _0x3d99cc(_0x1dce85);}catch{throw new SyntaxError(_0x437d36(0x294)+_0x1dce85);}_0x248920[_0x437d36(0x2de)]===_0x437d36(0x2d1)?_0x248920[_0x437d36(0x2de)]=_0x437d36(0x1a8):_0x248920[_0x437d36(0x2de)]===_0x437d36(0x1cb)&&(_0x248920[_0x437d36(0x2de)]=_0x437d36(0x28e)),_0xc1a2a[_0x437d36(0x142)]=_0x248920[_0x437d36(0x27d)];const _0x45364e=_0x248920[_0x437d36(0x2de)]===_0x437d36(0x28e),_0x3fcd72=_0x248920[_0x437d36(0x2de)]==='ws+unix:';let _0x44f7fb;if(_0x248920[_0x437d36(0x2de)]!==_0x437d36(0x1a8)&&!_0x45364e&&!_0x3fcd72?_0x44f7fb=_0x437d36(0x196):_0x3fcd72&&!_0x248920[_0x437d36(0x27b)]?_0x44f7fb=_0x437d36(0x186):_0x248920[_0x437d36(0x20b)]&&(_0x44f7fb=_0x437d36(0x22d)),_0x44f7fb){const _0x573816=new SyntaxError(_0x44f7fb);if(_0xc1a2a[_0x437d36(0x291)]===0x0)throw _0x573816;_0x11c8e1(_0xc1a2a,_0x573816);return;}const _0x335624=_0x45364e?0x1bb:0x50,_0x237c7e=_0x708723(0x10)[_0x437d36(0x178)](_0x437d36(0x235)),_0x2ec6ec=_0x45364e?_0x479919['request']:_0x2d6873[_0x437d36(0x221)],_0x51baff=new Set();let _0x325586;if(_0x1e2221[_0x437d36(0x165)]=_0x1e2221[_0x437d36(0x165)]||(_0x45364e?_0x47f80c:_0x5840b6),_0x1e2221[_0x437d36(0x176)]=_0x1e2221['defaultPort']||_0x335624,_0x1e2221['port']=_0x248920[_0x437d36(0x1c3)]||_0x335624,_0x1e2221[_0x437d36(0x155)]=_0x248920[_0x437d36(0x2c7)][_0x437d36(0x1a1)]('[')?_0x248920[_0x437d36(0x2c7)][_0x437d36(0x1f0)](0x1,-0x1):_0x248920[_0x437d36(0x2c7)],_0x1e2221[_0x437d36(0x2ac)]={..._0x1e2221['headers'],'Sec-WebSocket-Version':_0x1e2221[_0x437d36(0x2b0)],'Sec-WebSocket-Key':_0x237c7e,'Connection':_0x437d36(0x13a),'Upgrade':_0x437d36(0x24e)},_0x1e2221[_0x437d36(0x20d)]=_0x248920[_0x437d36(0x27b)]+_0x248920[_0x437d36(0x1b1)],_0x1e2221[_0x437d36(0x13b)]=_0x1e2221[_0x437d36(0x297)],_0x1e2221[_0x437d36(0x136)]&&(_0x325586=new _0x5b940a(_0x1e2221[_0x437d36(0x136)]!==!0x0?_0x1e2221[_0x437d36(0x136)]:{},!0x1,_0x1e2221[_0x437d36(0x1e5)]),_0x1e2221[_0x437d36(0x2ac)][_0x437d36(0x2e2)]=_0xdd3578({[_0x5b940a[_0x437d36(0x207)]]:_0x325586['offer']()})),_0x1eb598[_0x437d36(0x2a7)]){for(const _0x3de7ed of _0x1eb598){if(typeof _0x3de7ed!='string'||!_0x3b5cc6[_0x437d36(0x292)](_0x3de7ed)||_0x51baff[_0x437d36(0x15e)](_0x3de7ed))throw new SyntaxError(_0x437d36(0x231));_0x51baff[_0x437d36(0x224)](_0x3de7ed);}_0x1e2221['headers'][_0x437d36(0x27f)]=_0x1eb598[_0x437d36(0x29b)](',');}if(_0x1e2221[_0x437d36(0x1af)]&&(_0x1e2221[_0x437d36(0x2b0)]<0xd?_0x1e2221[_0x437d36(0x2ac)]['Sec-WebSocket-Origin']=_0x1e2221[_0x437d36(0x1af)]:_0x1e2221[_0x437d36(0x2ac)][_0x437d36(0x233)]=_0x1e2221[_0x437d36(0x1af)]),(_0x248920[_0x437d36(0x25d)]||_0x248920[_0x437d36(0x298)])&&(_0x1e2221['auth']=_0x248920[_0x437d36(0x25d)]+':'+_0x248920['password']),_0x3fcd72){const _0x2bb394=_0x1e2221[_0x437d36(0x20d)][_0x437d36(0x277)](':');_0x1e2221[_0x437d36(0x2be)]=_0x2bb394[0x0],_0x1e2221[_0x437d36(0x20d)]=_0x2bb394[0x1];}let _0x2dc213;if(_0x1e2221['followRedirects']){if(_0xc1a2a[_0x437d36(0x291)]===0x0){_0xc1a2a[_0x437d36(0x26a)]=_0x3fcd72,_0xc1a2a[_0x437d36(0x289)]=_0x45364e,_0xc1a2a['_originalHostOrSocketPath']=_0x3fcd72?_0x1e2221[_0x437d36(0x2be)]:_0x248920['host'];const _0x591fdc=_0x55523b&&_0x55523b[_0x437d36(0x2ac)];if(_0x55523b={..._0x55523b,'headers':{}},_0x591fdc){for(const [_0xd037cb,_0x1cf924]of Object['entries'](_0x591fdc))_0x55523b[_0x437d36(0x2ac)][_0xd037cb[_0x437d36(0x135)]()]=_0x1cf924;}}else{if(_0xc1a2a['listenerCount'](_0x437d36(0x1e7))===0x0){const _0x4a3e7b=_0x3fcd72?_0xc1a2a[_0x437d36(0x26a)]?_0x1e2221[_0x437d36(0x2be)]===_0xc1a2a['_originalHostOrSocketPath']:!0x1:_0xc1a2a['_originalIpc']?!0x1:_0x248920['host']===_0xc1a2a[_0x437d36(0x274)];(!_0x4a3e7b||_0xc1a2a['_originalSecure']&&!_0x45364e)&&(delete _0x1e2221[_0x437d36(0x2ac)][_0x437d36(0x18c)],delete _0x1e2221[_0x437d36(0x2ac)][_0x437d36(0x21d)],_0x4a3e7b||delete _0x1e2221['headers'][_0x437d36(0x155)],_0x1e2221[_0x437d36(0x1e3)]=void 0x0);}}_0x1e2221[_0x437d36(0x1e3)]&&!_0x55523b[_0x437d36(0x2ac)][_0x437d36(0x18c)]&&(_0x55523b[_0x437d36(0x2ac)][_0x437d36(0x18c)]='Basic\x20'+Buffer[_0x437d36(0x179)](_0x1e2221[_0x437d36(0x1e3)])[_0x437d36(0x178)](_0x437d36(0x235))),_0x2dc213=_0xc1a2a[_0x437d36(0x2a8)]=_0x2ec6ec(_0x1e2221),_0xc1a2a[_0x437d36(0x291)]&&_0xc1a2a[_0x437d36(0x25e)]('redirect',_0xc1a2a[_0x437d36(0x14d)],_0x2dc213);}else _0x2dc213=_0xc1a2a[_0x437d36(0x2a8)]=_0x2ec6ec(_0x1e2221);_0x1e2221[_0x437d36(0x13b)]&&_0x2dc213['on']('timeout',()=>{const _0x57f523=_0x437d36;_0x3478ba(_0xc1a2a,_0x2dc213,_0x57f523(0x299));}),_0x2dc213['on']('error',_0x4d3532=>{_0x2dc213===null||_0x2dc213[_0x321470]||(_0x2dc213=_0xc1a2a['_req']=null,_0x11c8e1(_0xc1a2a,_0x4d3532));}),_0x2dc213['on'](_0x437d36(0x1a5),_0x1f24bc=>{const _0x51816a=_0x437d36,_0x23f6da=_0x1f24bc[_0x51816a(0x2ac)]['location'],_0x2c9814=_0x1f24bc[_0x51816a(0x234)];if(_0x23f6da&&_0x1e2221[_0x51816a(0x29d)]&&_0x2c9814>=0x12c&&_0x2c9814<0x190){if(++_0xc1a2a[_0x51816a(0x291)]>_0x1e2221[_0x51816a(0x2d9)]){_0x3478ba(_0xc1a2a,_0x2dc213,_0x51816a(0x223));return;}_0x2dc213['abort']();let _0x12268;try{_0x12268=new _0x3d99cc(_0x23f6da,_0x1dce85);}catch{const _0x37ebff=new SyntaxError('Invalid\x20URL:\x20'+_0x23f6da);_0x11c8e1(_0xc1a2a,_0x37ebff);return;}_0x325bf7(_0xc1a2a,_0x12268,_0x1eb598,_0x55523b);}else _0xc1a2a[_0x51816a(0x25e)](_0x51816a(0x213),_0x2dc213,_0x1f24bc)||_0x3478ba(_0xc1a2a,_0x2dc213,_0x51816a(0x2d7)+_0x1f24bc[_0x51816a(0x234)]);}),_0x2dc213['on'](_0x437d36(0x138),(_0x2585db,_0x591608,_0x5dbf03)=>{const _0x15ae55=_0x437d36;if(_0xc1a2a[_0x15ae55(0x25e)](_0x15ae55(0x138),_0x2585db),_0xc1a2a[_0x15ae55(0x26b)]!==_0x28e95d['CONNECTING'])return;_0x2dc213=_0xc1a2a[_0x15ae55(0x2a8)]=null;const _0xf8da1e=_0x2585db[_0x15ae55(0x2ac)]['upgrade'];if(_0xf8da1e===void 0x0||_0xf8da1e[_0x15ae55(0x135)]()!==_0x15ae55(0x24e)){_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x1da));return;}const _0x54b8b4=_0x2a0f26(_0x15ae55(0x160))[_0x15ae55(0x14b)](_0x237c7e+_0x668f2c)[_0x15ae55(0x1ad)]('base64');if(_0x2585db[_0x15ae55(0x2ac)]['sec-websocket-accept']!==_0x54b8b4){_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x174));return;}const _0x3f6827=_0x2585db[_0x15ae55(0x2ac)]['sec-websocket-protocol'];let _0xe24da1;if(_0x3f6827!==void 0x0?_0x51baff[_0x15ae55(0x222)]?_0x51baff[_0x15ae55(0x15e)](_0x3f6827)||(_0xe24da1=_0x15ae55(0x2e3)):_0xe24da1=_0x15ae55(0x157):_0x51baff[_0x15ae55(0x222)]&&(_0xe24da1='Server\x20sent\x20no\x20subprotocol'),_0xe24da1){_0x3478ba(_0xc1a2a,_0x591608,_0xe24da1);return;}_0x3f6827&&(_0xc1a2a['_protocol']=_0x3f6827);const _0xd427d8=_0x2585db[_0x15ae55(0x2ac)][_0x15ae55(0x2b6)];if(_0xd427d8!==void 0x0){if(!_0x325586){_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x2db));return;}let _0x354461;try{_0x354461=_0x244973(_0xd427d8);}catch{_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x229));return;}const _0x41c270=Object[_0x15ae55(0x2e4)](_0x354461);if(_0x41c270[_0x15ae55(0x2a7)]!==0x1||_0x41c270[0x0]!==_0x5b940a['extensionName']){_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x271));return;}try{_0x325586[_0x15ae55(0x281)](_0x354461[_0x5b940a[_0x15ae55(0x207)]]);}catch{_0x3478ba(_0xc1a2a,_0x591608,_0x15ae55(0x229));return;}_0xc1a2a[_0x15ae55(0x130)][_0x5b940a['extensionName']]=_0x325586;}_0xc1a2a[_0x15ae55(0x139)](_0x591608,_0x5dbf03,{'allowSynchronousEvents':_0x1e2221['allowSynchronousEvents'],'generateMask':_0x1e2221[_0x15ae55(0x19d)],'maxPayload':_0x1e2221[_0x15ae55(0x1e5)],'skipUTF8Validation':_0x1e2221['skipUTF8Validation']});}),_0x1e2221['finishRequest']?_0x1e2221['finishRequest'](_0x2dc213,_0xc1a2a):_0x2dc213[_0x437d36(0x2df)]();}function _0x11c8e1(_0x89c62f,_0x1cfcd3){const _0x4dc0c6=_0x2b304a;_0x89c62f['_readyState']=_0x28e95d['CLOSING'],_0x89c62f['_errorEmitted']=!0x0,_0x89c62f[_0x4dc0c6(0x25e)]('error',_0x1cfcd3),_0x89c62f[_0x4dc0c6(0x25c)]();}function _0x5840b6(_0x3a837d){const _0x5a0bb5=_0x2b304a;return _0x3a837d['path']=_0x3a837d[_0x5a0bb5(0x2be)],_0x57412c[_0x5a0bb5(0x2da)](_0x3a837d);}function _0x47f80c(_0x448b69){const _0x130d6e=_0x2b304a;return _0x448b69[_0x130d6e(0x20d)]=void 0x0,!_0x448b69[_0x130d6e(0x1cf)]&&_0x448b69[_0x130d6e(0x1cf)]!==''&&(_0x448b69['servername']=_0x57412c[_0x130d6e(0x202)](_0x448b69[_0x130d6e(0x155)])?'':_0x448b69[_0x130d6e(0x155)]),_0x3e0013[_0x130d6e(0x2da)](_0x448b69);}function _0x3478ba(_0x3b68f5,_0x18bcc9,_0x449518){const _0xad9912=_0x2b304a;_0x3b68f5[_0xad9912(0x219)]=_0x28e95d['CLOSING'];const _0x17d443=new Error(_0x449518);Error[_0xad9912(0x1f2)](_0x17d443,_0x3478ba),_0x18bcc9[_0xad9912(0x2cb)]?(_0x18bcc9[_0x321470]=!0x0,_0x18bcc9[_0xad9912(0x1b3)](),_0x18bcc9[_0xad9912(0x200)]&&!_0x18bcc9['socket'][_0xad9912(0x151)]&&_0x18bcc9[_0xad9912(0x200)][_0xad9912(0x1b6)](),process[_0xad9912(0x173)](_0x11c8e1,_0x3b68f5,_0x17d443)):(_0x18bcc9[_0xad9912(0x1b6)](_0x17d443),_0x18bcc9['once']('error',_0x3b68f5[_0xad9912(0x25e)][_0xad9912(0x19f)](_0x3b68f5,'error')),_0x18bcc9['once'](_0xad9912(0x1ed),_0x3b68f5[_0xad9912(0x25c)][_0xad9912(0x19f)](_0x3b68f5)));}function _0x40842f(_0xbb3bfd,_0x4d0029,_0x3a339e){const _0x5c7ecf=_0x2b304a;if(_0x4d0029){const _0x4a68fa=_0x9dfaa6(_0x4d0029)?_0x4d0029['size']:_0x238f0c(_0x4d0029)[_0x5c7ecf(0x2a7)];_0xbb3bfd[_0x5c7ecf(0x13e)]?_0xbb3bfd[_0x5c7ecf(0x22b)][_0x5c7ecf(0x2b9)]+=_0x4a68fa:_0xbb3bfd[_0x5c7ecf(0x26f)]+=_0x4a68fa;}if(_0x3a339e){const _0x1485bd=new Error(_0x5c7ecf(0x28d)+_0xbb3bfd[_0x5c7ecf(0x26b)]+'\x20('+_0x2c79f6[_0xbb3bfd[_0x5c7ecf(0x26b)]]+')');process[_0x5c7ecf(0x173)](_0x3a339e,_0x1485bd);}}function _0x284adf(_0x276b10,_0x5c73a4){const _0x3a38b8=_0x2b304a,_0x5664b9=this[_0x2d3e58];_0x5664b9[_0x3a38b8(0x2b1)]=!0x0,_0x5664b9[_0x3a38b8(0x15f)]=_0x5c73a4,_0x5664b9['_closeCode']=_0x276b10,_0x5664b9['_socket'][_0x2d3e58]!==void 0x0&&(_0x5664b9[_0x3a38b8(0x13e)][_0x3a38b8(0x27a)]('data',_0x3e6a3c),process[_0x3a38b8(0x173)](_0x411576,_0x5664b9[_0x3a38b8(0x13e)]),_0x276b10===0x3ed?_0x5664b9[_0x3a38b8(0x1ed)]():_0x5664b9['close'](_0x276b10,_0x5c73a4));}function _0x2d42b1(){const _0x3f8b34=_0x2b304a,_0xe74b3d=this[_0x2d3e58];_0xe74b3d[_0x3f8b34(0x2d3)]||_0xe74b3d[_0x3f8b34(0x13e)]['resume']();}function _0x5046c9(_0x34f348){const _0x1df81c=_0x2b304a,_0x496e6f=this[_0x2d3e58];_0x496e6f[_0x1df81c(0x13e)][_0x2d3e58]!==void 0x0&&(_0x496e6f[_0x1df81c(0x13e)][_0x1df81c(0x27a)](_0x1df81c(0x166),_0x3e6a3c),process[_0x1df81c(0x173)](_0x411576,_0x496e6f[_0x1df81c(0x13e)]),_0x496e6f[_0x1df81c(0x1ed)](_0x34f348[_0x4ef45f])),_0x496e6f[_0x1df81c(0x2c2)]||(_0x496e6f[_0x1df81c(0x2c2)]=!0x0,_0x496e6f['emit'](_0x1df81c(0x209),_0x34f348));}function _0x16ae02(){const _0x5a0c8c=_0x2b304a;this[_0x2d3e58][_0x5a0c8c(0x25c)]();}function _0x55bfc6(_0x5c19aa,_0x31ad6f){const _0x7557e=_0x2b304a;this[_0x2d3e58][_0x7557e(0x25e)](_0x7557e(0x22e),_0x5c19aa,_0x31ad6f);}function _0x111e58(_0x44b8cd){const _0x187b5c=_0x2b304a,_0x318537=this[_0x2d3e58];_0x318537[_0x187b5c(0x220)]&&_0x318537[_0x187b5c(0x1d1)](_0x44b8cd,!this[_0x187b5c(0x2b8)],_0x558f76),_0x318537[_0x187b5c(0x25e)]('ping',_0x44b8cd);}function _0x1b85d2(_0x1263b2){const _0x2722d8=_0x2b304a;this[_0x2d3e58][_0x2722d8(0x25e)](_0x2722d8(0x1d1),_0x1263b2);}function _0x411576(_0x13232d){const _0x2339cf=_0x2b304a;_0x13232d[_0x2339cf(0x153)]();}function _0x36ef76(_0x55c5e1){const _0x5dbf42=_0x2b304a,_0x5ca39b=this[_0x2d3e58];_0x5ca39b[_0x5dbf42(0x26b)]!==_0x28e95d[_0x5dbf42(0x1e4)]&&(_0x5ca39b[_0x5dbf42(0x26b)]===_0x28e95d['OPEN']&&(_0x5ca39b[_0x5dbf42(0x219)]=_0x28e95d[_0x5dbf42(0x264)],_0x159106(_0x5ca39b)),this[_0x5dbf42(0x13e)]['end'](),_0x5ca39b[_0x5dbf42(0x2c2)]||(_0x5ca39b[_0x5dbf42(0x2c2)]=!0x0,_0x5ca39b[_0x5dbf42(0x25e)](_0x5dbf42(0x209),_0x55c5e1)));}function _0x159106(_0x17b2f0){const _0x54d8dd=_0x2b304a;_0x17b2f0[_0x54d8dd(0x29a)]=setTimeout(_0x17b2f0[_0x54d8dd(0x13e)]['destroy'][_0x54d8dd(0x19f)](_0x17b2f0['_socket']),_0x422e4a);}function _0x215f43(){const _0x22685d=_0x2b304a,_0x173f3d=this[_0x2d3e58];this['removeListener']('close',_0x215f43),this['removeListener'](_0x22685d(0x166),_0x3e6a3c),this[_0x22685d(0x27a)](_0x22685d(0x2df),_0x3461b5),_0x173f3d[_0x22685d(0x219)]=_0x28e95d[_0x22685d(0x264)];let _0x2c52e5;!this['_readableState'][_0x22685d(0x197)]&&!_0x173f3d[_0x22685d(0x2b1)]&&!_0x173f3d[_0x22685d(0x193)]['_writableState'][_0x22685d(0x201)]&&(_0x2c52e5=_0x173f3d['_socket'][_0x22685d(0x1e9)]())!==null&&_0x173f3d[_0x22685d(0x193)]['write'](_0x2c52e5),_0x173f3d[_0x22685d(0x193)][_0x22685d(0x2df)](),this[_0x2d3e58]=void 0x0,clearTimeout(_0x173f3d[_0x22685d(0x29a)]),_0x173f3d[_0x22685d(0x193)]['_writableState'][_0x22685d(0x2ce)]||_0x173f3d[_0x22685d(0x193)][_0x22685d(0x134)]['errorEmitted']?_0x173f3d[_0x22685d(0x25c)]():(_0x173f3d[_0x22685d(0x193)]['on'](_0x22685d(0x209),_0x16ae02),_0x173f3d['_receiver']['on'](_0x22685d(0x2bf),_0x16ae02));}function _0x3e6a3c(_0x4df4f0){const _0x5acb98=_0x2b304a;this[_0x2d3e58]['_receiver'][_0x5acb98(0x232)](_0x4df4f0)||this[_0x5acb98(0x2d8)]();}function _0x3461b5(){const _0x2967eb=_0x2b304a,_0x448cac=this[_0x2d3e58];_0x448cac[_0x2967eb(0x219)]=_0x28e95d['CLOSING'],_0x448cac['_receiver'][_0x2967eb(0x2df)](),this['end']();}function _0x40701b(){const _0x5a902f=_0x2b304a,_0x39f410=this[_0x2d3e58];this[_0x5a902f(0x27a)](_0x5a902f(0x209),_0x40701b),this['on']('error',_0x558f76),_0x39f410&&(_0x39f410[_0x5a902f(0x219)]=_0x28e95d[_0x5a902f(0x264)],this[_0x5a902f(0x1b6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x38e99d}=_0x310f79;function _0x3b2f5e(_0x139622){const _0xf1553=_0x5bd4;_0x139622[_0xf1553(0x25e)](_0xf1553(0x1ed));}function _0x5939e7(){const _0x575d26=_0x5bd4;!this['destroyed']&&this['_writableState'][_0x575d26(0x2ce)]&&this[_0x575d26(0x1b6)]();}function _0x1e286d(_0x383d2a){const _0x1df65d=_0x5bd4;this[_0x1df65d(0x27a)](_0x1df65d(0x209),_0x1e286d),this[_0x1df65d(0x1b6)](),this['listenerCount']('error')===0x0&&this[_0x1df65d(0x25e)](_0x1df65d(0x209),_0x383d2a);}function _0x5086c4(_0x5968fb,_0x2d13d0){const _0x564e98=_0x5bd4;let _0x46e239=!0x0;const _0x395e3a=new _0x38e99d({..._0x2d13d0,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5968fb['on']('message',function(_0x5f52b3,_0x4a9c09){const _0x435e42=_0x5bd4,_0x361fd2=!_0x4a9c09&&_0x395e3a[_0x435e42(0x27e)][_0x435e42(0x1fe)]?_0x5f52b3['toString']():_0x5f52b3;_0x395e3a[_0x435e42(0x216)](_0x361fd2)||_0x5968fb['pause']();}),_0x5968fb[_0x564e98(0x2a4)](_0x564e98(0x209),function(_0x76a9c7){const _0x2c85e6=_0x564e98;_0x395e3a[_0x2c85e6(0x151)]||(_0x46e239=!0x1,_0x395e3a[_0x2c85e6(0x1b6)](_0x76a9c7));}),_0x5968fb[_0x564e98(0x2a4)](_0x564e98(0x1ed),function(){const _0x31d331=_0x564e98;_0x395e3a[_0x31d331(0x151)]||_0x395e3a[_0x31d331(0x216)](null);}),_0x395e3a[_0x564e98(0x22f)]=function(_0x3a5d4b,_0x50a1ca){const _0x5e5987=_0x564e98;if(_0x5968fb['readyState']===_0x5968fb[_0x5e5987(0x1e4)]){_0x50a1ca(_0x3a5d4b),process[_0x5e5987(0x173)](_0x3b2f5e,_0x395e3a);return;}let _0x31a34e=!0x1;_0x5968fb['once'](_0x5e5987(0x209),function(_0x46d5ea){_0x31a34e=!0x0,_0x50a1ca(_0x46d5ea);}),_0x5968fb[_0x5e5987(0x2a4)](_0x5e5987(0x1ed),function(){const _0x2c3beb=_0x5e5987;_0x31a34e||_0x50a1ca(_0x3a5d4b),process[_0x2c3beb(0x173)](_0x3b2f5e,_0x395e3a);}),_0x46e239&&_0x5968fb[_0x5e5987(0x251)]();},_0x395e3a[_0x564e98(0x1d5)]=function(_0x526c77){const _0x36cf3=_0x564e98;if(_0x5968fb[_0x36cf3(0x26b)]===_0x5968fb[_0x36cf3(0x1b4)]){_0x5968fb['once'](_0x36cf3(0x237),function(){const _0x1ce00c=_0x36cf3;_0x395e3a[_0x1ce00c(0x1d5)](_0x526c77);});return;}_0x5968fb[_0x36cf3(0x13e)]!==null&&(_0x5968fb[_0x36cf3(0x13e)][_0x36cf3(0x134)]['finished']?(_0x526c77(),_0x395e3a['_readableState'][_0x36cf3(0x197)]&&_0x395e3a[_0x36cf3(0x1b6)]()):(_0x5968fb[_0x36cf3(0x13e)][_0x36cf3(0x2a4)]('finish',function(){_0x526c77();}),_0x5968fb[_0x36cf3(0x1ed)]()));},_0x395e3a[_0x564e98(0x188)]=function(){const _0x536e37=_0x564e98;_0x5968fb[_0x536e37(0x2d3)]&&_0x5968fb[_0x536e37(0x153)]();},_0x395e3a['_write']=function(_0x3fbb7a,_0x52d442,_0x17749c){const _0x582176=_0x564e98;if(_0x5968fb[_0x582176(0x26b)]===_0x5968fb[_0x582176(0x1b4)]){_0x5968fb[_0x582176(0x2a4)](_0x582176(0x237),function(){const _0x44424e=_0x582176;_0x395e3a[_0x44424e(0x1f1)](_0x3fbb7a,_0x52d442,_0x17749c);});return;}_0x5968fb[_0x582176(0x1c1)](_0x3fbb7a,_0x17749c);},_0x395e3a['on']('end',_0x5939e7),_0x395e3a['on']('error',_0x1e286d),_0x395e3a;}return Oe=_0x5086c4,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1d9c44}=ne();function _0x3ff713(_0x4ef049){const _0x522dfe=_0x5bd4,_0x5a89e7=new Set();let _0x5761c0=-0x1,_0x1b80e1=-0x1,_0x4e8716=0x0;for(_0x4e8716;_0x4e8716<_0x4ef049[_0x522dfe(0x2a7)];_0x4e8716++){const _0x58ca8c=_0x4ef049[_0x522dfe(0x159)](_0x4e8716);if(_0x1b80e1===-0x1&&_0x1d9c44[_0x58ca8c]===0x1)_0x5761c0===-0x1&&(_0x5761c0=_0x4e8716);else{if(_0x4e8716!==0x0&&(_0x58ca8c===0x20||_0x58ca8c===0x9))_0x1b80e1===-0x1&&_0x5761c0!==-0x1&&(_0x1b80e1=_0x4e8716);else{if(_0x58ca8c===0x2c){if(_0x5761c0===-0x1)throw new SyntaxError(_0x522dfe(0x17d)+_0x4e8716);_0x1b80e1===-0x1&&(_0x1b80e1=_0x4e8716);const _0x10eb06=_0x4ef049[_0x522dfe(0x1f0)](_0x5761c0,_0x1b80e1);if(_0x5a89e7[_0x522dfe(0x15e)](_0x10eb06))throw new SyntaxError(_0x522dfe(0x260)+_0x10eb06+'\x22\x20subprotocol\x20is\x20duplicated');_0x5a89e7[_0x522dfe(0x224)](_0x10eb06),_0x5761c0=_0x1b80e1=-0x1;}else throw new SyntaxError(_0x522dfe(0x17d)+_0x4e8716);}}}if(_0x5761c0===-0x1||_0x1b80e1!==-0x1)throw new SyntaxError(_0x522dfe(0x254));const _0x5464b5=_0x4ef049[_0x522dfe(0x1f0)](_0x5761c0,_0x4e8716);if(_0x5a89e7['has'](_0x5464b5))throw new SyntaxError('The\x20\x22'+_0x5464b5+_0x522dfe(0x227));return _0x5a89e7['add'](_0x5464b5),_0x5a89e7;}return Ce={'parse':_0x3ff713},Ce;}var Te,ot;function er(){const _0x3b8cf0=_0x16efd5;if(ot)return Te;ot=0x1;const _0x54942d=_0x400859,_0x1c5d9d=_0xdf68fa,{Duplex:_0x3fb850}=_0x310f79,{createHash:_0x185f32}=_0x112206,_0x51cf5f=pt(),_0x2dabb0=he(),_0x5bb026=Jt(),_0xa1ea0d=Ie(),{GUID:_0x78a322,kWebSocket:_0x5ccc5d}=V(),_0x49b5af=/^[+/0-9A-Za-z]{22}==$/,_0x19867e=0x0,_0x526887=0x1,_0x268226=0x2;class _0x1d67d7 extends _0x54942d{constructor(_0x1903e6,_0x1f4cc9){const _0x1af547=_0x5bd4;if(super(),_0x1903e6={'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':_0xa1ea0d,..._0x1903e6},_0x1903e6['port']==null&&!_0x1903e6[_0x1af547(0x2b3)]&&!_0x1903e6['noServer']||_0x1903e6[_0x1af547(0x1c3)]!=null&&(_0x1903e6[_0x1af547(0x2b3)]||_0x1903e6[_0x1af547(0x15a)])||_0x1903e6[_0x1af547(0x2b3)]&&_0x1903e6[_0x1af547(0x15a)])throw new TypeError(_0x1af547(0x161));if(_0x1903e6[_0x1af547(0x1c3)]!=null?(this[_0x1af547(0x29f)]=_0x1c5d9d['createServer']((_0x560f99,_0x10691c)=>{const _0x10df5b=_0x1af547,_0x3efd81=_0x1c5d9d[_0x10df5b(0x1d8)][0x1aa];_0x10691c[_0x10df5b(0x190)](0x1aa,{'Content-Length':_0x3efd81[_0x10df5b(0x2a7)],'Content-Type':_0x10df5b(0x293)}),_0x10691c[_0x10df5b(0x2df)](_0x3efd81);}),this[_0x1af547(0x29f)]['listen'](_0x1903e6[_0x1af547(0x1c3)],_0x1903e6[_0x1af547(0x155)],_0x1903e6[_0x1af547(0x256)],_0x1f4cc9)):_0x1903e6[_0x1af547(0x2b3)]&&(this[_0x1af547(0x29f)]=_0x1903e6[_0x1af547(0x2b3)]),this[_0x1af547(0x29f)]){const _0x3a2ddd=this[_0x1af547(0x25e)][_0x1af547(0x19f)](this,_0x1af547(0x144));this[_0x1af547(0x1b7)]=_0x2a6eba(this[_0x1af547(0x29f)],{'listening':this[_0x1af547(0x25e)]['bind'](this,'listening'),'error':this[_0x1af547(0x25e)]['bind'](this,_0x1af547(0x209)),'upgrade':(_0x5ef2f3,_0xee6a31,_0x29def0)=>{const _0x4d3029=_0x1af547;this[_0x4d3029(0x17a)](_0x5ef2f3,_0xee6a31,_0x29def0,_0x3a2ddd);}});}_0x1903e6['perMessageDeflate']===!0x0&&(_0x1903e6[_0x1af547(0x136)]={}),_0x1903e6[_0x1af547(0x13c)]&&(this[_0x1af547(0x177)]=new Set(),this[_0x1af547(0x181)]=!0x1),this[_0x1af547(0x244)]=_0x1903e6,this[_0x1af547(0x1df)]=_0x19867e;}[_0x3b8cf0(0x24d)](){const _0x364028=_0x3b8cf0;if(this[_0x364028(0x244)]['noServer'])throw new Error(_0x364028(0x16e));return this['_server']?this[_0x364028(0x29f)][_0x364028(0x24d)]():null;}[_0x3b8cf0(0x1ed)](_0x139862){const _0x114ba6=_0x3b8cf0;if(this[_0x114ba6(0x1df)]===_0x268226){_0x139862&&this[_0x114ba6(0x2a4)](_0x114ba6(0x1ed),()=>{const _0x41d932=_0x114ba6;_0x139862(new Error(_0x41d932(0x19c)));}),process[_0x114ba6(0x173)](_0x195b1e,this);return;}if(_0x139862&&this[_0x114ba6(0x2a4)](_0x114ba6(0x1ed),_0x139862),this[_0x114ba6(0x1df)]!==_0x526887){if(this[_0x114ba6(0x1df)]=_0x526887,this[_0x114ba6(0x244)][_0x114ba6(0x15a)]||this['options'][_0x114ba6(0x2b3)])this[_0x114ba6(0x29f)]&&(this[_0x114ba6(0x1b7)](),this[_0x114ba6(0x1b7)]=this[_0x114ba6(0x29f)]=null),this[_0x114ba6(0x177)]?this[_0x114ba6(0x177)]['size']?this['_shouldEmitClose']=!0x0:process[_0x114ba6(0x173)](_0x195b1e,this):process[_0x114ba6(0x173)](_0x195b1e,this);else{const _0x329b95=this[_0x114ba6(0x29f)];this['_removeListeners'](),this[_0x114ba6(0x1b7)]=this['_server']=null,_0x329b95[_0x114ba6(0x1ed)](()=>{_0x195b1e(this);});}}}[_0x3b8cf0(0x147)](_0x545647){const _0x2f057c=_0x3b8cf0;if(this[_0x2f057c(0x244)][_0x2f057c(0x20d)]){const _0x317274=_0x545647[_0x2f057c(0x14d)]['indexOf']('?');if((_0x317274!==-0x1?_0x545647['url'][_0x2f057c(0x1f0)](0x0,_0x317274):_0x545647[_0x2f057c(0x14d)])!==this[_0x2f057c(0x244)][_0x2f057c(0x20d)])return!0x1;}return!0x0;}[_0x3b8cf0(0x17a)](_0x5ee38e,_0x45cc11,_0x1e9912,_0x29feeb){const _0x1fc1c7=_0x3b8cf0;_0x45cc11['on'](_0x1fc1c7(0x209),_0x31c071);const _0xcb054a=_0x5ee38e[_0x1fc1c7(0x2ac)][_0x1fc1c7(0x21a)],_0x2845f7=_0x5ee38e['headers']['upgrade'],_0x1be19d=+_0x5ee38e[_0x1fc1c7(0x2ac)][_0x1fc1c7(0x269)];if(_0x5ee38e[_0x1fc1c7(0x184)]!=='GET'){_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2845f7===void 0x0||_0x2845f7['toLowerCase']()!=='websocket'){_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x190,_0x1fc1c7(0x1da));return;}if(_0xcb054a===void 0x0||!_0x49b5af[_0x1fc1c7(0x292)](_0xcb054a)){_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x190,_0x1fc1c7(0x19e));return;}if(_0x1be19d!==0x8&&_0x1be19d!==0xd){_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x1fc1c7(0x147)](_0x5ee38e)){_0x182833(_0x45cc11,0x190);return;}const _0x78a869=_0x5ee38e[_0x1fc1c7(0x2ac)][_0x1fc1c7(0x23b)];let _0x57e162=new Set();if(_0x78a869!==void 0x0)try{_0x57e162=_0x5bb026[_0x1fc1c7(0x13f)](_0x78a869);}catch{_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x190,_0x1fc1c7(0x204));return;}const _0x423a8a=_0x5ee38e[_0x1fc1c7(0x2ac)][_0x1fc1c7(0x2b6)],_0x502dea={};if(this[_0x1fc1c7(0x244)]['perMessageDeflate']&&_0x423a8a!==void 0x0){const _0x310c52=new _0x2dabb0(this['options'][_0x1fc1c7(0x136)],!0x0,this[_0x1fc1c7(0x244)][_0x1fc1c7(0x1e5)]);try{const _0x27bd0d=_0x51cf5f[_0x1fc1c7(0x13f)](_0x423a8a);_0x27bd0d[_0x2dabb0[_0x1fc1c7(0x207)]]&&(_0x310c52[_0x1fc1c7(0x281)](_0x27bd0d[_0x2dabb0[_0x1fc1c7(0x207)]]),_0x502dea[_0x2dabb0['extensionName']]=_0x310c52);}catch{_0x59c6f6(this,_0x5ee38e,_0x45cc11,0x190,_0x1fc1c7(0x175));return;}}if(this[_0x1fc1c7(0x244)][_0x1fc1c7(0x18d)]){const _0x1c9948={'origin':_0x5ee38e['headers'][''+(_0x1be19d===0x8?'sec-websocket-origin':_0x1fc1c7(0x1af))],'secure':!!(_0x5ee38e[_0x1fc1c7(0x200)]['authorized']||_0x5ee38e['socket'][_0x1fc1c7(0x2cd)]),'req':_0x5ee38e};if(this[_0x1fc1c7(0x244)][_0x1fc1c7(0x18d)][_0x1fc1c7(0x2a7)]===0x2){this[_0x1fc1c7(0x244)]['verifyClient'](_0x1c9948,(_0xe20611,_0x1dd572,_0x37ccb6,_0x196f32)=>{if(!_0xe20611)return _0x182833(_0x45cc11,_0x1dd572||0x191,_0x37ccb6,_0x196f32);this['completeUpgrade'](_0x502dea,_0xcb054a,_0x57e162,_0x5ee38e,_0x45cc11,_0x1e9912,_0x29feeb);});return;}if(!this[_0x1fc1c7(0x244)][_0x1fc1c7(0x18d)](_0x1c9948))return _0x182833(_0x45cc11,0x191);}this[_0x1fc1c7(0x13d)](_0x502dea,_0xcb054a,_0x57e162,_0x5ee38e,_0x45cc11,_0x1e9912,_0x29feeb);}[_0x3b8cf0(0x13d)](_0x257d02,_0x6bd36d,_0x372148,_0x4dcb1a,_0x14dd24,_0x1645af,_0x292d6d){const _0x56aa45=_0x3b8cf0;if(!_0x14dd24['readable']||!_0x14dd24[_0x56aa45(0x150)])return _0x14dd24[_0x56aa45(0x1b6)]();if(_0x14dd24[_0x5ccc5d])throw new Error(_0x56aa45(0x172));if(this[_0x56aa45(0x1df)]>_0x19867e)return _0x182833(_0x14dd24,0x1f7);const _0x304f49=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x56aa45(0x146),_0x56aa45(0x2ca),'Sec-WebSocket-Accept:\x20'+_0x185f32(_0x56aa45(0x160))['update'](_0x6bd36d+_0x78a322)[_0x56aa45(0x1ad)](_0x56aa45(0x235))],_0x13e65a=new this[(_0x56aa45(0x244))][(_0x56aa45(0x25a))](null,void 0x0,this[_0x56aa45(0x244)]);if(_0x372148['size']){const _0xa757e5=this[_0x56aa45(0x244)][_0x56aa45(0x1f7)]?this['options'][_0x56aa45(0x1f7)](_0x372148,_0x4dcb1a):_0x372148['values']()[_0x56aa45(0x2ba)]()['value'];_0xa757e5&&(_0x304f49[_0x56aa45(0x216)](_0x56aa45(0x16d)+_0xa757e5),_0x13e65a['_protocol']=_0xa757e5);}if(_0x257d02[_0x2dabb0[_0x56aa45(0x207)]]){const _0x405c05=_0x257d02[_0x2dabb0[_0x56aa45(0x207)]][_0x56aa45(0x1b0)],_0x1bb5f0=_0x51cf5f[_0x56aa45(0x1a0)]({[_0x2dabb0[_0x56aa45(0x207)]]:[_0x405c05]});_0x304f49[_0x56aa45(0x216)]('Sec-WebSocket-Extensions:\x20'+_0x1bb5f0),_0x13e65a[_0x56aa45(0x130)]=_0x257d02;}this['emit']('headers',_0x304f49,_0x4dcb1a),_0x14dd24['write'](_0x304f49[_0x56aa45(0x205)]('\x0d\x0a')[_0x56aa45(0x29b)]('\x0d\x0a')),_0x14dd24[_0x56aa45(0x27a)](_0x56aa45(0x209),_0x31c071),_0x13e65a['setSocket'](_0x14dd24,_0x1645af,{'allowSynchronousEvents':this[_0x56aa45(0x244)][_0x56aa45(0x1ef)],'maxPayload':this[_0x56aa45(0x244)][_0x56aa45(0x1e5)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x56aa45(0x177)]&&(this[_0x56aa45(0x177)][_0x56aa45(0x224)](_0x13e65a),_0x13e65a['on'](_0x56aa45(0x1ed),()=>{const _0x3cc7ff=_0x56aa45;this[_0x3cc7ff(0x177)][_0x3cc7ff(0x17b)](_0x13e65a),this['_shouldEmitClose']&&!this[_0x3cc7ff(0x177)][_0x3cc7ff(0x222)]&&process['nextTick'](_0x195b1e,this);})),_0x292d6d(_0x13e65a,_0x4dcb1a);}}Te=_0x1d67d7;function _0x2a6eba(_0x66db63,_0x292568){const _0x508b2f=_0x3b8cf0;for(const _0xc6af24 of Object[_0x508b2f(0x2e4)](_0x292568))_0x66db63['on'](_0xc6af24,_0x292568[_0xc6af24]);return function(){for(const _0x11fb66 of Object['keys'](_0x292568))_0x66db63['removeListener'](_0x11fb66,_0x292568[_0x11fb66]);};}function _0x195b1e(_0x266b83){const _0x274616=_0x3b8cf0;_0x266b83[_0x274616(0x1df)]=_0x268226,_0x266b83['emit'](_0x274616(0x1ed));}function _0x31c071(){const _0x447fa3=_0x3b8cf0;this[_0x447fa3(0x1b6)]();}function _0x182833(_0x1a711a,_0x4ed729,_0x5f03dc,_0x340521){const _0x9c15d5=_0x3b8cf0;_0x5f03dc=_0x5f03dc||_0x1c5d9d['STATUS_CODES'][_0x4ed729],_0x340521={'Connection':_0x9c15d5(0x1ed),'Content-Type':_0x9c15d5(0x286),'Content-Length':Buffer[_0x9c15d5(0x21e)](_0x5f03dc),..._0x340521},_0x1a711a[_0x9c15d5(0x2a4)]('finish',_0x1a711a['destroy']),_0x1a711a[_0x9c15d5(0x2df)]('HTTP/1.1\x20'+_0x4ed729+'\x20'+_0x1c5d9d[_0x9c15d5(0x1d8)][_0x4ed729]+'\x0d\x0a'+Object[_0x9c15d5(0x2e4)](_0x340521)[_0x9c15d5(0x18e)](_0x1188f1=>_0x1188f1+':\x20'+_0x340521[_0x1188f1])[_0x9c15d5(0x29b)]('\x0d\x0a')+_0x9c15d5(0x2d6)+_0x5f03dc);}function _0x59c6f6(_0x213e20,_0xd4251a,_0x5f5c60,_0x3f2580,_0x1e79d0){const _0x2e92da=_0x3b8cf0;if(_0x213e20[_0x2e92da(0x189)](_0x2e92da(0x1be))){const _0x25f6ec=new Error(_0x1e79d0);Error['captureStackTrace'](_0x25f6ec,_0x59c6f6),_0x213e20[_0x2e92da(0x25e)](_0x2e92da(0x1be),_0x25f6ec,_0x5f5c60,_0xd4251a);}else _0x182833(_0x5f5c60,_0x3f2580,_0x1e79d0);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x67134e,_0x167a16,_0x5392e,_0x49fcc6)=>{const _0x3aab89=_0x16efd5;for(var _0x47c51d=_0x49fcc6>0x1?void 0x0:_0x49fcc6?tr(_0x167a16,_0x5392e):_0x167a16,_0x3d90af=_0x67134e[_0x3aab89(0x2a7)]-0x1,_0x21741d;_0x3d90af>=0x0;_0x3d90af--)(_0x21741d=_0x67134e[_0x3d90af])&&(_0x47c51d=_0x21741d(_0x47c51d)||_0x47c51d);return _0x47c51d;},sr=(_0x58b609,_0x3250c7)=>(_0x40afed,_0x3a3ad7)=>_0x3250c7(_0x40afed,_0x3a3ad7,_0x58b609);let Ne=class extends _0x1b1582{constructor(_0x2844ca){const _0x4af8a7=_0x16efd5;super(),this[_0x4af8a7(0x22a)]=_0x2844ca;}[_0x16efd5(0x17c)](_0x5ea440){const _0x3af2d0=_0x16efd5;var _0x57ce0;const _0xd12513=(_0x57ce0=this[_0x3af2d0(0x22a)][_0x3af2d0(0x284)](Be))==null?void 0x0:_0x57ce0[_0x3af2d0(0x170)];try{const _0x45d9fa=new Qt(_0x5ea440,{'headers':{..._0xd12513}}),_0xc15404=new _0x841459();return{'URL':_0x5ea440,'close':(_0x1f2169,_0x402d43)=>{const _0x96dfda=_0x3af2d0;_0x45d9fa[_0x96dfda(0x1ed)](_0x1f2169,_0x402d43),_0xc15404[_0x96dfda(0x1a6)]();},'send':_0x44080b=>{const _0x52f214=_0x3af2d0;_0x45d9fa[_0x52f214(0x1c1)](_0x44080b);},'open$':new _0x38d28a(_0x38ed68=>{const _0x32570f=_0x3af2d0,_0x476cf9=_0x3a3bf9=>_0x38ed68[_0x32570f(0x2ba)](_0x3a3bf9);_0x45d9fa['addEventListener'](_0x32570f(0x237),_0x476cf9),_0xc15404['add'](_0x39dfb4(()=>_0x45d9fa[_0x32570f(0x169)]('open',_0x476cf9)));})[_0x3af2d0(0x23f)](_0x105f74()),'close$':new _0x38d28a(_0x4a74bb=>{const _0x3a3fc4=_0x3af2d0,_0x3f17b2=_0x21266d=>_0x4a74bb[_0x3a3fc4(0x2ba)](_0x21266d);_0x45d9fa['addEventListener'](_0x3a3fc4(0x1ed),_0x3f17b2),_0xc15404[_0x3a3fc4(0x224)](_0x39dfb4(()=>_0x45d9fa[_0x3a3fc4(0x169)]('close',_0x3f17b2)));})[_0x3af2d0(0x23f)](_0x105f74()),'error$':new _0x38d28a(_0x54778a=>{const _0x5f2ae9=_0x3af2d0,_0x49c3ac=_0x185866=>_0x54778a[_0x5f2ae9(0x2ba)](_0x185866);_0x45d9fa[_0x5f2ae9(0x285)](_0x5f2ae9(0x209),_0x49c3ac),_0xc15404[_0x5f2ae9(0x224)](_0x39dfb4(()=>_0x45d9fa[_0x5f2ae9(0x169)](_0x5f2ae9(0x209),_0x49c3ac)));})[_0x3af2d0(0x23f)](_0x105f74()),'message$':new _0x38d28a(_0x4f2886=>{const _0x156393=_0x3af2d0,_0x174ffb=_0x48812e=>_0x4f2886['next'](_0x48812e);_0x45d9fa['addEventListener']('message',_0x174ffb),_0xc15404[_0x156393(0x224)](_0x39dfb4(()=>_0x45d9fa['removeEventListener'](_0x156393(0x22e),_0x174ffb)));})['pipe'](_0x105f74())};}catch(_0x439fb3){return console[_0x3af2d0(0x209)](_0x439fb3),null;}}};function _0x5bd4(_0x5e2316,_0x48b46b){const _0xa51343=_0xa513();return _0x5bd4=function(_0x5bd498,_0x20d62f){_0x5bd498=_0x5bd498-0x130;let _0x45869b=_0xa51343[_0x5bd498];return _0x45869b;},_0x5bd4(_0x5e2316,_0x48b46b);}Ne=rr([sr(0x0,_0x53e28b)],Ne);var ir=Object[_0x16efd5(0x2e0)],nr=Object['getOwnPropertyDescriptor'],or=(_0x6f2b3d,_0x263d2c,_0x4058ef)=>_0x263d2c in _0x6f2b3d?ir(_0x6f2b3d,_0x263d2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4058ef}):_0x6f2b3d[_0x263d2c]=_0x4058ef,ar=(_0x527034,_0x495ff3,_0x5d924c,_0x3678c3)=>{const _0x1d5001=_0x16efd5;for(var _0x2f83e2=_0x3678c3>0x1?void 0x0:_0x3678c3?nr(_0x495ff3,_0x5d924c):_0x495ff3,_0x435231=_0x527034[_0x1d5001(0x2a7)]-0x1,_0x2c502b;_0x435231>=0x0;_0x435231--)(_0x2c502b=_0x527034[_0x435231])&&(_0x2f83e2=_0x2c502b(_0x2f83e2)||_0x2f83e2);return _0x2f83e2;},ke=(_0xe9d89d,_0x314a8c)=>(_0x1c56ed,_0x35b108)=>_0x314a8c(_0x1c56ed,_0x35b108,_0xe9d89d),lr=(_0x1ad3df,_0x39f24e,_0xdb6ae9)=>or(_0x1ad3df,_0x39f24e+'',_0xdb6ae9);let Pe=class extends _0x3896b1{constructor(_0x26d30f=Ft,_0x5437c1,_0x36dc17,_0x40cfbc){const _0x3ba6af=_0x16efd5;_0x26d30f['customHeaders']||_0x5437c1[_0x3ba6af(0x20a)](_0x3ba6af(0x2c0)),super(),this[_0x3ba6af(0x22a)]=_0x36dc17,this[_0x3ba6af(0x2cc)]=_0x40cfbc,this[_0x3ba6af(0x22a)][_0x3ba6af(0x2aa)](Be,_0x26d30f);}[_0x16efd5(0x28c)](){const _0x32d1f0=_0x16efd5;this[_0x32d1f0(0x1bb)]();}[_0x16efd5(0x1bb)](){_0x423308(this['_injector'],[[_0x2c1160,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x16efd5(0x1e6)),Pe=ar([_0x20c713(_0x29c934),ke(0x1,_0x2ab2d0),ke(0x2,_0x53e28b),ke(0x3,_0x51de89(_0x207679))],Pe);var fr=Object[_0x16efd5(0x18b)],cr=(_0x48a78b,_0x552268,_0xf2d770,_0x42e1a9)=>{for(var _0x4286fc=_0x42e1a9>0x1?void 0x0:_0x42e1a9?fr(_0x552268,_0xf2d770):_0x552268,_0x4da4bf=_0x48a78b['length']-0x1,_0x455d07;_0x4da4bf>=0x0;_0x4da4bf--)(_0x455d07=_0x48a78b[_0x4da4bf])&&(_0x4286fc=_0x455d07(_0x4286fc)||_0x4286fc);return _0x4286fc;},se=(_0x5282c6,_0x47c161)=>(_0x243775,_0x4a499d)=>_0x47c161(_0x243775,_0x4a499d,_0x5282c6);let at=class extends _0x845ce0{constructor(_0x693d4f,_0x40d529,_0x4783e7,_0x6b90bd,_0x2145b9){const _0x14a6e7=_0x16efd5;super(_0x693d4f,_0x40d529,_0x4783e7,_0x6b90bd,_0x2145b9);const _0x8192fe=this[_0x14a6e7(0x22a)]['getConfig'](Be);this[_0x14a6e7(0x2b4)][_0x14a6e7(0x183)]({'interceptor':(_0xa6ba27,_0x12856a)=>{const _0x1df5b5=_0x14a6e7;var _0x4976c8;const _0x276077=_0xa6ba27[_0x1df5b5(0x2ac)];return(_0x4976c8=_0x8192fe==null?void 0x0:_0x8192fe['customHeaders'])!=null&&_0x4976c8[_0x1df5b5(0x21d)]&&_0x276077[_0x1df5b5(0x192)](_0x1df5b5(0x2a3),_0x8192fe[_0x1df5b5(0x170)]['cookie']),_0x12856a(_0xa6ba27);}});}async[_0x16efd5(0x17c)](_0x5794f0){return this['_doCreateSocket'](_0x5794f0);}};at=cr([se(0x0,_0x51de89(_0x207679)),se(0x1,_0x51de89(_0x58d68d)),se(0x2,_0x53e28b),se(0x3,_0x2ab2d0),se(0x4,_0x15f24b)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x3b2d4f=_0x5878;(function(_0x1b1102,_0x99c515){const _0x48873d=_0x5878,_0x4020d9=_0x1b1102();while(!![]){try{const _0x1d6954=parseInt(_0x48873d(0x336))/0x1+parseInt(_0x48873d(0x331))/0x2+-parseInt(_0x48873d(0x2dc))/0x3*(parseInt(_0x48873d(0x28f))/0x4)+parseInt(_0x48873d(0x2ca))/0x5+-parseInt(_0x48873d(0x2f4))/0x6*(-parseInt(_0x48873d(0x209))/0x7)+-parseInt(_0x48873d(0x321))/0x8+-parseInt(_0x48873d(0x2e3))/0x9;if(_0x1d6954===_0x99c515)break;else _0x4020d9['push'](_0x4020d9['shift']());}catch(_0x4b501a){_0x4020d9['push'](_0x4020d9['shift']());}}}(_0xaa37,0x5183a));import{UniverCollaborationClientPlugin as _0x3c982b,CollaborationSocketService as _0x533d18}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5d8c1e,DisposableCollection as _0x4bfb28,toDisposable as _0x2cc068,IConfigService as _0x3172c0,DependentOn as _0x285740,ILogService as _0x3ba426,Inject as _0x204b9c,Injector as _0x14fdda,Plugin as _0x3b72c9,registerDependencies as _0x1351e9}from'@univerjs/core';import{ISocketService as _0xe99879,HTTPService as _0x528a46}from'@univerjs/network';import{Observable as _0x2f42c6,share as _0x1b1d90}from'rxjs';import _0x285de2 from'events';import _0x5851df from'https';function _0xaa37(){const _0x2f0c16=['_autoPong','invalid\x20opcode\x200','MASK\x20must\x20be\x20set','_writableState','finished','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WebSocket','Server\x20sent\x20no\x20subprotocol','Parameter\x20\x22','timeout','serverNoContextTakeover','serverMaxWindowBits','Cookie','client_max_window_bits','client_no_context_takeover','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','shouldHandle','registerHTTPInterceptor','_readableState','function','defineProperty','frame','byteLength','OPEN','The\x20\x22','captureStackTrace','size','sec-websocket-accept','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_fragmented','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','send','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','pause','MASK\x20must\x20be\x20clear','kReason','nextTick','clients','headers','response','pending','Z_SYNC_FLUSH','client','_shouldEmitClose','_socket','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_closeTimer','writeUInt16BE','maxPayload','perMessageDeflate','connection','fin','followRedirects','Unknown\x20parameter\x20\x22','code','WS_ERR_EXPECTED_MASK','alloc','_payloadLength','isValidUTF8','CONNECTING','hash','from','Unexpected\x20server\x20response:\x20','invalid\x20payload\x20length\x20','ws:','next','isBuffer','status-code','socketPath','completeUpgrade','kAborted','setTimeout','_read','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','dispose','toString','kTarget','listeners','toLowerCase','handleProtocols','onerror','uncork','startsWith','onStarting','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https\x22,\x20or\x20\x22ws+unix:\x22','protocolVersion','href','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','server_max_window_bits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listenerCount','create','wsClientError','server','\x22:\x20','freeze','_protocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_configService','kCode','constructor','_req','_binaryType','getInfo','7LvKRfi','_firstFragment','kListener','clientNoContextTakeover','redirect','concurrencyLimit','kError','invalid\x20UTF-8\x20sequence','_bufferedBytes','STATUS_CODES','_destroy','encrypted','enqueue','Sec-WebSocket-Extensions:\x20','needDrain','allocUnsafe','decompress','_registerDependencies','_write','binaryType','sec-websocket-extensions','string','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','port','kData','default','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','sha1','write','warn','acceptAsClient','dequeue','path','kDone','Unexpected\x20character\x20at\x20index\x20','split','generateMask','startLoop','handshakeTimeout','_sender','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','request','keys','CLOSING','extensions','_generateMask','haveLength','GET','WS_ERR_EXPECTED_FIN','exports','socket','extensionName','isInteger','read','authorized','HTTP/1.1\x20101\x20Switching\x20Protocols','pipe','sec-websocket-version','onmessage','terminate','Unexpected\x20end\x20of\x20input','removeListener','mask','species','readyState','emit','Opening\x20handshake\x20has\x20timed\x20out','RSV1\x20must\x20be\x20clear','username','invalid\x20opcode\x20','sec-websocket-protocol','has','unmask','_readyState','statusCode','finishRequest','cleanup','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getMask','params','handleEvent','listen','controlMessage','verifyClient','close','_allowSynchronousEvents','number','protocol','_injector','Module','isArray','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_INVALID_UTF8','_fin','CLOSED','_decompress','stream','message','indexOf','zlibInflateOptions','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','base64','Invalid\x20URL:\x20','createError','servername','options','once','removeEventListener','auth','url','text/html','addEventListener','backlog','delete','forEach','_buffers','WS_NO_BUFFER_UTIL','shift','_loop','rsv1','getConfig','slice','apply','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','pathname','setSocket','join','kIsForOnEventAttribute','_compressed','_url','env','152HCefZF','WS_ERR_UNEXPECTED_RSV_2_3','_originalHostOrSocketPath','sendFrame','kRun','prototype','_opcode','Origin','_paused','end','readOnly','getPayloadLength64','Sec-WebSocket-Extensions','isServer','length','nodebuffer','push','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','method','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','abort','_final','_closeFrameReceived','charCodeAt','_closeCode','_closeFrameSent','authorization','_queue','customHeaders','_masked','autoPong','origin','websocket','writeUIntBE','finish','update','target','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','defaultPort','ws+unix:','values','consume','total-length','jobs','get','readUInt16BE','_extensions','isPaused','_redirects','acceptAsServer','WS_ERR_INVALID_OPCODE','pong','_compress','cork','Invalid\x20value\x20for\x20parameter\x20\x22','server_no_context_takeover','noServer','includes','FIN\x20must\x20be\x20set','2483900kstRyG','bufferedAmount','connect','type','object','upgrade','callback','buffer','map','isView','Sec-WebSocket-Accept:\x20','accept','test','permessage-deflate','binary','open','Invalid\x20Sec-WebSocket-Extensions\x20header','blob','44748hjtrYU','add','wasClean','reset','host','dataMessage','_removeListeners','10095723crJIAp','_errorEmitted','byteOffset','_state','sec-websocket-origin','location','_options','_deflate','_closeMessage','reason','_inflate','Z_DEFAULT_WINDOWBITS','Invalid\x20HTTP\x20method','getOwnPropertyDescriptor','format','getBlobData','skipUTF8Validation','2210358QWZnNw','conclude','compress','getData','value','bind','dispatch','collaboration-client-node.config','error','createServer','address','setConfig','clientTracking','_mask','endEmitted','_skipUTF8Validation','hasOwnProperty','hostname','handleUpgrade','_no_context_takeover','createConnection','Sec-WebSocket-Protocol','_receiver','flush','Invalid\x20Upgrade\x20header','_maxPayload','emitClose','createSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','cookie','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_isServer','concat','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','arrayBuffer','Max\x20payload\x20size\x20exceeded','allowSynchronousEvents','replace','_fragments','destroy','normalizeParams','clientMaxWindowBits','_maskBuffer','kWasClean','buffers','857128wsOmUG','The\x20server\x20is\x20not\x20running','_totalPayloadLength','wss:','destroyed','readable','call','getPayloadLength16','_messageLength','ping','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WS_ERR_INVALID_CLOSE_CODE','opcode','data','_originalIpc','\x20(supported\x20versions:\x20','1257626YbvhLn','Basic\x20','password','_originalSecure','_doCreateSocket','635592iktvZN','https:','objectMode','__esModule','maxRedirects','parse','fragments','_max_window_bits','resume','_server','set','construct','errorEmitted','toStringTag','digest','_httpService','\x22\x20subprotocol\x20is\x20duplicated','_errored','_bufferedAmount','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH'];_0xaa37=function(){return _0x2f0c16;};return _0xaa37();}import _0x4c53ad from'http';import _0x537e0b from'net';import _0x4d6c80 from'tls';import _0x31487d from'crypto';import _0x3ebcaa from'stream';import _0x2f01dc from'url';import _0xf28538 from'zlib';import _0x47feab from'buffer';import{ISnapshotServerService as _0x2490b9}from'@univerjs-pro/collaboration';const Be=_0x3b2d4f(0x2fb),Ft={'customHeaders':{}};function jt(_0x3ca2b9){const _0x278dc0=_0x3b2d4f;return _0x3ca2b9&&_0x3ca2b9[_0x278dc0(0x339)]&&Object[_0x278dc0(0x294)][_0x278dc0(0x304)][_0x278dc0(0x327)](_0x3ca2b9,_0x278dc0(0x222))?_0x3ca2b9[_0x278dc0(0x222)]:_0x3ca2b9;}function ut(_0x477c7b){const _0xa013ec=_0x3b2d4f;if(Object[_0xa013ec(0x294)][_0xa013ec(0x304)][_0xa013ec(0x327)](_0x477c7b,_0xa013ec(0x339)))return _0x477c7b;var _0x5d7415=_0x477c7b[_0xa013ec(0x222)];if(typeof _0x5d7415==_0xa013ec(0x1b4)){var _0x4bd046=function _0x3a4e68(){const _0x3ff25e=_0xa013ec;return this instanceof _0x3a4e68?Reflect[_0x3ff25e(0x341)](_0x5d7415,arguments,this[_0x3ff25e(0x205)]):_0x5d7415['apply'](this,arguments);};_0x4bd046[_0xa013ec(0x294)]=_0x5d7415[_0xa013ec(0x294)];}else _0x4bd046={};return Object[_0xa013ec(0x1b5)](_0x4bd046,_0xa013ec(0x339),{'value':!0x0}),Object[_0xa013ec(0x235)](_0x477c7b)[_0xa013ec(0x27d)](function(_0x49d101){const _0x37982d=_0xa013ec;var _0x5a636a=Object[_0x37982d(0x2f0)](_0x477c7b,_0x49d101);Object[_0x37982d(0x1b5)](_0x4bd046,_0x49d101,_0x5a636a[_0x37982d(0x2bb)]?_0x5a636a:{'enumerable':!0x0,'get':function(){return _0x477c7b[_0x49d101];}});}),_0x4bd046;}var te={'exports':{}},ge,Ye;function V(){const _0x28407c=_0x3b2d4f;if(Ye)return ge;Ye=0x1;const _0x996063=[_0x28407c(0x29e),'arraybuffer',_0x28407c(0x33c)],_0x33dbc9=typeof Blob<'u';return _0x33dbc9&&_0x996063[_0x28407c(0x29f)]('blob'),ge={'BINARY_TYPES':_0x996063,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x28407c(0x21f),'hasBlob':_0x33dbc9,'kForOnEventAttribute':Symbol(_0x28407c(0x28b)),'kListener':Symbol(_0x28407c(0x20b)),'kStatusCode':Symbol(_0x28407c(0x1e4)),'kWebSocket':Symbol(_0x28407c(0x2af)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object['freeze'](Object[_0x3b2d4f(0x1b5)]({'__proto__':null,'default':Wt},Symbol[_0x3b2d4f(0x343)],{'value':_0x3b2d4f(0x264)})),Vt=ut(Gt);var Ke;function ce(){const _0x4df636=_0x3b2d4f;if(Ke)return te[_0x4df636(0x23c)];Ke=0x1;const {EMPTY_BUFFER:_0x34b8fc}=V(),_0x490317=Buffer[Symbol[_0x4df636(0x24a)]];function _0x2e94ed(_0x5888fe,_0x2961c2){const _0x3e5e19=_0x4df636;if(_0x5888fe['length']===0x0)return _0x34b8fc;if(_0x5888fe[_0x3e5e19(0x29d)]===0x1)return _0x5888fe[0x0];const _0x4d982c=Buffer[_0x3e5e19(0x218)](_0x2961c2);let _0x3f2810=0x0;for(let _0x218fa5=0x0;_0x218fa5<_0x5888fe['length'];_0x218fa5++){const _0x561285=_0x5888fe[_0x218fa5];_0x4d982c[_0x3e5e19(0x340)](_0x561285,_0x3f2810),_0x3f2810+=_0x561285['length'];}return _0x3f2810<_0x2961c2?new _0x490317(_0x4d982c[_0x3e5e19(0x2d1)],_0x4d982c[_0x3e5e19(0x2e5)],_0x3f2810):_0x4d982c;}function _0x40a51a(_0x5e4fbe,_0x9dd46d,_0x378291,_0x4d21ad,_0x3ed06f){for(let _0x4c35c9=0x0;_0x4c35c9<_0x3ed06f;_0x4c35c9++)_0x378291[_0x4d21ad+_0x4c35c9]=_0x5e4fbe[_0x4c35c9]^_0x9dd46d[_0x4c35c9&0x3];}function _0x88bd79(_0x38f5fc,_0x37166a){const _0x332806=_0x4df636;for(let _0x13b93=0x0;_0x13b93<_0x38f5fc[_0x332806(0x29d)];_0x13b93++)_0x38f5fc[_0x13b93]^=_0x37166a[_0x13b93&0x3];}function _0x1baec2(_0x211ea6){const _0xe835da=_0x4df636;return _0x211ea6[_0xe835da(0x29d)]===_0x211ea6['buffer'][_0xe835da(0x1b7)]?_0x211ea6[_0xe835da(0x2d1)]:_0x211ea6[_0xe835da(0x2d1)][_0xe835da(0x284)](_0x211ea6[_0xe835da(0x2e5)],_0x211ea6[_0xe835da(0x2e5)]+_0x211ea6[_0xe835da(0x29d)]);}function _0x5b0c30(_0x8168a7){const _0x270193=_0x4df636;if(_0x5b0c30[_0x270193(0x299)]=!0x0,Buffer[_0x270193(0x1e3)](_0x8168a7))return _0x8168a7;let _0x8fbfc2;return _0x8168a7 instanceof ArrayBuffer?_0x8fbfc2=new _0x490317(_0x8168a7):ArrayBuffer[_0x270193(0x2d3)](_0x8168a7)?_0x8fbfc2=new _0x490317(_0x8168a7['buffer'],_0x8168a7['byteOffset'],_0x8168a7[_0x270193(0x1b7)]):(_0x8fbfc2=Buffer[_0x270193(0x1de)](_0x8168a7),_0x5b0c30[_0x270193(0x299)]=!0x1),_0x8fbfc2;}if(te['exports']={'concat':_0x2e94ed,'mask':_0x40a51a,'toArrayBuffer':_0x1baec2,'toBuffer':_0x5b0c30,'unmask':_0x88bd79},!process['env'][_0x4df636(0x27f)])try{const _0x527b40=Vt;te[_0x4df636(0x23c)]['mask']=function(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b){_0x481c8b<0x30?_0x40a51a(_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b):_0x527b40['mask'](_0x18cf5a,_0x1e4bc9,_0x253610,_0x168c6b,_0x481c8b);},te[_0x4df636(0x23c)][_0x4df636(0x253)]=function(_0x2a1d99,_0x14c062){const _0x324b7f=_0x4df636;_0x2a1d99[_0x324b7f(0x29d)]<0x20?_0x88bd79(_0x2a1d99,_0x14c062):_0x527b40[_0x324b7f(0x253)](_0x2a1d99,_0x14c062);};}catch{}return te[_0x4df636(0x23c)];}var ye,Xe;function qt(){const _0xd7cce0=_0x3b2d4f;if(Xe)return ye;Xe=0x1;const _0x261bcd=Symbol(_0xd7cce0(0x22a)),_0x443cf5=Symbol(_0xd7cce0(0x293));class _0x3e7e7f{constructor(_0x589e75){const _0x300523=_0xd7cce0;this[_0x261bcd]=()=>{this['pending']--,this[_0x443cf5]();},this['concurrency']=_0x589e75||0x1/0x0,this[_0x300523(0x2ba)]=[],this[_0x300523(0x1c9)]=0x0;}[_0xd7cce0(0x2dd)](_0x356fa6){const _0x26c39e=_0xd7cce0;this['jobs'][_0x26c39e(0x29f)](_0x356fa6),this[_0x443cf5]();}[_0x443cf5](){const _0x1190d1=_0xd7cce0;if(this['pending']!==this['concurrency']&&this[_0x1190d1(0x2ba)][_0x1190d1(0x29d)]){const _0x549511=this[_0x1190d1(0x2ba)][_0x1190d1(0x280)]();this[_0x1190d1(0x1c9)]++,_0x549511(this[_0x261bcd]);}}}return ye=_0x3e7e7f,ye;}var ve,Ze;function he(){const _0x395ae8=_0x3b2d4f;if(Ze)return ve;Ze=0x1;const _0x45c898=_0xf28538,_0x327f0a=ce(),_0x557065=qt(),{kStatusCode:_0x5b777f}=V(),_0x3dfdc7=Buffer[Symbol[_0x395ae8(0x24a)]],_0x37faa0=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3104be=Symbol(_0x395ae8(0x2d7)),_0x5b1ace=Symbol(_0x395ae8(0x2b9)),_0x5e6970=Symbol(_0x395ae8(0x2d0)),_0x2a5ac1=Symbol(_0x395ae8(0x320)),_0x299736=Symbol('error');let _0x4a6c1b;class _0x107037{constructor(_0x21cb7e,_0x4ea5cb,_0x33b145){const _0x54d27c=_0x395ae8;if(this[_0x54d27c(0x30d)]=_0x33b145|0x0,this['_options']=_0x21cb7e||{},this['_threshold']=this[_0x54d27c(0x2e9)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x54d27c(0x313)]=!!_0x4ea5cb,this[_0x54d27c(0x2ea)]=null,this[_0x54d27c(0x2ed)]=null,this['params']=null,!_0x4a6c1b){const _0x20a0a1=this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]!==void 0x0?this[_0x54d27c(0x2e9)][_0x54d27c(0x20e)]:0xa;_0x4a6c1b=new _0x557065(_0x20a0a1);}}static get['extensionName'](){const _0x37567c=_0x395ae8;return _0x37567c(0x2d7);}['offer'](){const _0x2abe5a=_0x395ae8,_0x56b717={};return this['_options'][_0x2abe5a(0x354)]&&(_0x56b717[_0x2abe5a(0x2c6)]=!0x0),this[_0x2abe5a(0x2e9)]['clientNoContextTakeover']&&(_0x56b717['client_no_context_takeover']=!0x0),this['_options'][_0x2abe5a(0x355)]&&(_0x56b717[_0x2abe5a(0x1f9)]=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x355)]),this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]?_0x56b717['client_max_window_bits']=this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]:this[_0x2abe5a(0x2e9)][_0x2abe5a(0x31d)]==null&&(_0x56b717[_0x2abe5a(0x357)]=!0x0),_0x56b717;}[_0x395ae8(0x2d5)](_0x282c32){const _0x3e92ca=_0x395ae8;return _0x282c32=this['normalizeParams'](_0x282c32),this['params']=this[_0x3e92ca(0x313)]?this[_0x3e92ca(0x2c0)](_0x282c32):this[_0x3e92ca(0x227)](_0x282c32),this[_0x3e92ca(0x25a)];}[_0x395ae8(0x257)](){const _0x51de52=_0x395ae8;if(this[_0x51de52(0x2ed)]&&(this[_0x51de52(0x2ed)][_0x51de52(0x25f)](),this[_0x51de52(0x2ed)]=null),this[_0x51de52(0x2ea)]){const _0x4b8683=this[_0x51de52(0x2ea)][_0x5e6970];this[_0x51de52(0x2ea)][_0x51de52(0x25f)](),this[_0x51de52(0x2ea)]=null,_0x4b8683&&_0x4b8683(new Error(_0x51de52(0x232)));}}[_0x395ae8(0x2c0)](_0x11164b){const _0x4441f2=_0x395ae8,_0x3121a0=this[_0x4441f2(0x2e9)],_0x9a204c=_0x11164b['find'](_0x4fea5e=>!(_0x3121a0['serverNoContextTakeover']===!0x1&&_0x4fea5e[_0x4441f2(0x2c6)]||_0x4fea5e[_0x4441f2(0x1f9)]&&(_0x3121a0[_0x4441f2(0x355)]===!0x1||typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&_0x3121a0[_0x4441f2(0x355)]>_0x4fea5e[_0x4441f2(0x1f9)])||typeof _0x3121a0[_0x4441f2(0x31d)]=='number'&&!_0x4fea5e[_0x4441f2(0x357)]));if(!_0x9a204c)throw new Error(_0x4441f2(0x287));return _0x3121a0[_0x4441f2(0x354)]&&(_0x9a204c[_0x4441f2(0x2c6)]=!0x0),_0x3121a0[_0x4441f2(0x20c)]&&(_0x9a204c[_0x4441f2(0x358)]=!0x0),typeof _0x3121a0[_0x4441f2(0x355)]==_0x4441f2(0x261)&&(_0x9a204c[_0x4441f2(0x1f9)]=_0x3121a0['serverMaxWindowBits']),typeof _0x3121a0[_0x4441f2(0x31d)]==_0x4441f2(0x261)?_0x9a204c['client_max_window_bits']=_0x3121a0[_0x4441f2(0x31d)]:(_0x9a204c[_0x4441f2(0x357)]===!0x0||_0x3121a0['clientMaxWindowBits']===!0x1)&&delete _0x9a204c['client_max_window_bits'],_0x9a204c;}[_0x395ae8(0x227)](_0xae3863){const _0x2832e5=_0x395ae8,_0xda8298=_0xae3863[0x0];if(this[_0x2832e5(0x2e9)]['clientNoContextTakeover']===!0x1&&_0xda8298[_0x2832e5(0x358)])throw new Error(_0x2832e5(0x312));if(!_0xda8298['client_max_window_bits'])typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]=='number'&&(_0xda8298[_0x2832e5(0x357)]=this[_0x2832e5(0x2e9)]['clientMaxWindowBits']);else{if(this[_0x2832e5(0x2e9)]['clientMaxWindowBits']===!0x1||typeof this[_0x2832e5(0x2e9)][_0x2832e5(0x31d)]==_0x2832e5(0x261)&&_0xda8298[_0x2832e5(0x357)]>this['_options'][_0x2832e5(0x31d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xda8298;}[_0x395ae8(0x31c)](_0x4df431){const _0x5c28cb=_0x395ae8;return _0x4df431[_0x5c28cb(0x27d)](_0x25e221=>{const _0x5dd1c7=_0x5c28cb;Object[_0x5dd1c7(0x235)](_0x25e221)[_0x5dd1c7(0x27d)](_0x2e65e8=>{const _0x4ef608=_0x5dd1c7;let _0x23604e=_0x25e221[_0x2e65e8];if(_0x23604e[_0x4ef608(0x29d)]>0x1)throw new Error(_0x4ef608(0x352)+_0x2e65e8+_0x4ef608(0x359));if(_0x23604e=_0x23604e[0x0],_0x2e65e8==='client_max_window_bits'){if(_0x23604e!==!0x0){const _0x14513b=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x14513b)||_0x14513b<0x8||_0x14513b>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x14513b;}else{if(!this[_0x4ef608(0x313)])throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+'\x22:\x20'+_0x23604e);}}else{if(_0x2e65e8==='server_max_window_bits'){const _0x381dea=+_0x23604e;if(!Number[_0x4ef608(0x23f)](_0x381dea)||_0x381dea<0x8||_0x381dea>0xf)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);_0x23604e=_0x381dea;}else{if(_0x2e65e8===_0x4ef608(0x358)||_0x2e65e8===_0x4ef608(0x2c6)){if(_0x23604e!==!0x0)throw new TypeError(_0x4ef608(0x2c5)+_0x2e65e8+_0x4ef608(0x1ff)+_0x23604e);}else throw new Error(_0x4ef608(0x1d6)+_0x2e65e8+'\x22');}}_0x25e221[_0x2e65e8]=_0x23604e;});}),_0x4df431;}['decompress'](_0x2c9904,_0x456d6a,_0x150c7e){const _0x55c7f6=_0x395ae8;_0x4a6c1b[_0x55c7f6(0x2dd)](_0x560ab7=>{const _0x2d3534=_0x55c7f6;this[_0x2d3534(0x26a)](_0x2c9904,_0x456d6a,(_0x4c2fbc,_0x3b7dd5)=>{_0x560ab7(),_0x150c7e(_0x4c2fbc,_0x3b7dd5);});});}[_0x395ae8(0x2f6)](_0x5977a6,_0xe4be9c,_0x2dc0bf){const _0x474615=_0x395ae8;_0x4a6c1b[_0x474615(0x2dd)](_0x4e765a=>{const _0x4168bf=_0x474615;this[_0x4168bf(0x2c3)](_0x5977a6,_0xe4be9c,(_0x4223b8,_0x2056f3)=>{_0x4e765a(),_0x2dc0bf(_0x4223b8,_0x2056f3);});});}[_0x395ae8(0x26a)](_0x2098e0,_0x39664e,_0x290b4d){const _0x57228e=_0x395ae8,_0x1ac0bd=this['_isServer']?_0x57228e(0x1cb):_0x57228e(0x1fe);if(!this['_inflate']){const _0x26e459=_0x1ac0bd+_0x57228e(0x33d),_0x57a926=typeof this['params'][_0x26e459]!=_0x57228e(0x261)?_0x45c898[_0x57228e(0x2ee)]:this[_0x57228e(0x25a)][_0x26e459];this[_0x57228e(0x2ed)]=_0x45c898['createInflateRaw']({...this[_0x57228e(0x2e9)][_0x57228e(0x26e)],'windowBits':_0x57a926}),this['_inflate'][_0x3104be]=this,this[_0x57228e(0x2ed)][_0x5b1ace]=0x0,this[_0x57228e(0x2ed)][_0x2a5ac1]=[],this[_0x57228e(0x2ed)]['on']('error',_0x448855),this['_inflate']['on'](_0x57228e(0x32e),_0x404a5a);}this[_0x57228e(0x2ed)][_0x5e6970]=_0x290b4d,this[_0x57228e(0x2ed)]['write'](_0x2098e0),_0x39664e&&this['_inflate'][_0x57228e(0x225)](_0x37faa0),this[_0x57228e(0x2ed)][_0x57228e(0x30b)](()=>{const _0x307a21=_0x57228e,_0x40b516=this['_inflate'][_0x299736];if(_0x40b516){this['_inflate'][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null,_0x290b4d(_0x40b516);return;}const _0x10a4e1=_0x327f0a['concat'](this[_0x307a21(0x2ed)][_0x2a5ac1],this['_inflate'][_0x5b1ace]);this[_0x307a21(0x2ed)][_0x307a21(0x1b3)][_0x307a21(0x302)]?(this[_0x307a21(0x2ed)][_0x307a21(0x25f)](),this[_0x307a21(0x2ed)]=null):(this[_0x307a21(0x2ed)][_0x5b1ace]=0x0,this[_0x307a21(0x2ed)][_0x2a5ac1]=[],_0x39664e&&this[_0x307a21(0x25a)][_0x1ac0bd+_0x307a21(0x307)]&&this[_0x307a21(0x2ed)][_0x307a21(0x2df)]()),_0x290b4d(null,_0x10a4e1);});}[_0x395ae8(0x2c3)](_0x23a89d,_0x37f6a7,_0x185fe5){const _0x1c3b08=_0x395ae8,_0x2f234d=this['_isServer']?_0x1c3b08(0x1fe):'client';if(!this[_0x1c3b08(0x2ea)]){const _0xa51e03=_0x2f234d+_0x1c3b08(0x33d),_0x451846=typeof this['params'][_0xa51e03]!='number'?_0x45c898['Z_DEFAULT_WINDOWBITS']:this[_0x1c3b08(0x25a)][_0xa51e03];this['_deflate']=_0x45c898['createDeflateRaw']({...this[_0x1c3b08(0x2e9)]['zlibDeflateOptions'],'windowBits':_0x451846}),this[_0x1c3b08(0x2ea)][_0x5b1ace]=0x0,this['_deflate'][_0x2a5ac1]=[],this[_0x1c3b08(0x2ea)]['on'](_0x1c3b08(0x32e),_0x1dd81f);}this[_0x1c3b08(0x2ea)][_0x5e6970]=_0x185fe5,this[_0x1c3b08(0x2ea)][_0x1c3b08(0x225)](_0x23a89d),this['_deflate'][_0x1c3b08(0x30b)](_0x45c898[_0x1c3b08(0x1ca)],()=>{const _0x537990=_0x1c3b08;if(!this[_0x537990(0x2ea)])return;let _0x1437d2=_0x327f0a[_0x537990(0x314)](this[_0x537990(0x2ea)][_0x2a5ac1],this['_deflate'][_0x5b1ace]);_0x37f6a7&&(_0x1437d2=new _0x3dfdc7(_0x1437d2[_0x537990(0x2d1)],_0x1437d2['byteOffset'],_0x1437d2[_0x537990(0x29d)]-0x4)),this[_0x537990(0x2ea)][_0x5e6970]=null,this[_0x537990(0x2ea)][_0x5b1ace]=0x0,this[_0x537990(0x2ea)][_0x2a5ac1]=[],_0x37f6a7&&this[_0x537990(0x25a)][_0x2f234d+'_no_context_takeover']&&this[_0x537990(0x2ea)]['reset'](),_0x185fe5(null,_0x1437d2);});}}ve=_0x107037;function _0x1dd81f(_0x40f069){const _0x46fe25=_0x395ae8;this[_0x2a5ac1][_0x46fe25(0x29f)](_0x40f069),this[_0x5b1ace]+=_0x40f069['length'];}function _0x404a5a(_0x5391b0){const _0x593da6=_0x395ae8;if(this[_0x5b1ace]+=_0x5391b0[_0x593da6(0x29d)],this[_0x3104be][_0x593da6(0x30d)]<0x1||this[_0x5b1ace]<=this[_0x3104be][_0x593da6(0x30d)]){this[_0x2a5ac1][_0x593da6(0x29f)](_0x5391b0);return;}this[_0x299736]=new RangeError(_0x593da6(0x317)),this[_0x299736][_0x593da6(0x1d7)]=_0x593da6(0x231),this[_0x299736][_0x5b777f]=0x3f1,this['removeListener'](_0x593da6(0x32e),_0x404a5a),this[_0x593da6(0x2df)]();}function _0x448855(_0x3639b7){this[_0x3104be]['_inflate']=null,_0x3639b7[_0x5b777f]=0x3ef,this[_0x5e6970](_0x3639b7);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3b2d4f(0x200)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x3b2d4f(0x343)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x10cfb5=_0x3b2d4f;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x2c814f}=_0x47feab,{hasBlob:_0x425cfb}=V(),_0x7de9fd=[0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x1,0x0,0x1,0x1,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x0,0x0,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x1,0x0,0x1,0x0,0x1,0x0];function _0x2b9b44(_0x3bb881){return _0x3bb881>=0x3e8&&_0x3bb881<=0x3f6&&_0x3bb881!==0x3ec&&_0x3bb881!==0x3ed&&_0x3bb881!==0x3ee||_0x3bb881>=0xbb8&&_0x3bb881<=0x1387;}function _0xd9ca0e(_0x5d353d){const _0x2071ec=_0x5878,_0x1544c6=_0x5d353d[_0x2071ec(0x29d)];let _0x420108=0x0;for(;_0x420108<_0x1544c6;)if((_0x5d353d[_0x420108]&0x80)===0x0)_0x420108++;else{if((_0x5d353d[_0x420108]&0xe0)===0xc0){if(_0x420108+0x1===_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108]&0xfe)===0xc0)return!0x1;_0x420108+=0x2;}else{if((_0x5d353d[_0x420108]&0xf0)===0xe0){if(_0x420108+0x2>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xe0&&(_0x5d353d[_0x420108+0x1]&0xe0)===0x80||_0x5d353d[_0x420108]===0xed&&(_0x5d353d[_0x420108+0x1]&0xe0)===0xa0)return!0x1;_0x420108+=0x3;}else{if((_0x5d353d[_0x420108]&0xf8)===0xf0){if(_0x420108+0x3>=_0x1544c6||(_0x5d353d[_0x420108+0x1]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x2]&0xc0)!==0x80||(_0x5d353d[_0x420108+0x3]&0xc0)!==0x80||_0x5d353d[_0x420108]===0xf0&&(_0x5d353d[_0x420108+0x1]&0xf0)===0x80||_0x5d353d[_0x420108]===0xf4&&_0x5d353d[_0x420108+0x1]>0x8f||_0x5d353d[_0x420108]>0xf4)return!0x1;_0x420108+=0x4;}else return!0x1;}}}return!0x0;}function _0x2d76a1(_0x2fe4b6){const _0xc1c9c0=_0x5878;return _0x425cfb&&typeof _0x2fe4b6==_0xc1c9c0(0x2ce)&&typeof _0x2fe4b6[_0xc1c9c0(0x316)]==_0xc1c9c0(0x1b4)&&typeof _0x2fe4b6[_0xc1c9c0(0x2cd)]==_0xc1c9c0(0x21e)&&typeof _0x2fe4b6[_0xc1c9c0(0x26b)]==_0xc1c9c0(0x1b4)&&(_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='Blob'||_0x2fe4b6[Symbol[_0xc1c9c0(0x343)]]==='File');}if(re[_0x10cfb5(0x23c)]={'isBlob':_0x2d76a1,'isValidStatusCode':_0x2b9b44,'isValidUTF8':_0xd9ca0e,'tokenChars':_0x7de9fd},_0x2c814f)re['exports'][_0x10cfb5(0x1db)]=function(_0x11feaa){const _0x1acf12=_0x10cfb5;return _0x11feaa[_0x1acf12(0x29d)]<0x18?_0xd9ca0e(_0x11feaa):_0x2c814f(_0x11feaa);};else{if(!process[_0x10cfb5(0x28e)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1a23f8=Yt;re[_0x10cfb5(0x23c)][_0x10cfb5(0x1db)]=function(_0x484b57){const _0x157139=_0x10cfb5;return _0x484b57[_0x157139(0x29d)]<0x20?_0xd9ca0e(_0x484b57):_0x1a23f8(_0x484b57);};}catch{}}return re[_0x10cfb5(0x23c)];}var Se,Je;function dt(){const _0x343466=_0x3b2d4f;if(Je)return Se;Je=0x1;const {Writable:_0x6e5486}=_0x3ebcaa,_0x30f604=he(),{BINARY_TYPES:_0x21f8ed,EMPTY_BUFFER:_0x3927e3,kStatusCode:_0x47ed33,kWebSocket:_0x36bb91}=V(),{concat:_0x4020bd,toArrayBuffer:_0x14e968,unmask:_0x5f2627}=ce(),{isValidStatusCode:_0x49fb67,isValidUTF8:_0x11786c}=ne(),_0x1a0f3b=Buffer[Symbol[_0x343466(0x24a)]],_0x9951eb=0x0,_0x598a4a=0x1,_0x2e48d9=0x2,_0x28c653=0x3,_0x269c31=0x4,_0x571588=0x5,_0x521b57=0x6;class _0x350052 extends _0x6e5486{constructor(_0x5cdbaf={}){const _0x2c62d4=_0x343466;super(),this[_0x2c62d4(0x260)]=_0x5cdbaf[_0x2c62d4(0x318)]!==void 0x0?_0x5cdbaf[_0x2c62d4(0x318)]:!0x0,this[_0x2c62d4(0x207)]=_0x5cdbaf[_0x2c62d4(0x21c)]||_0x21f8ed[0x0],this['_extensions']=_0x5cdbaf[_0x2c62d4(0x237)]||{},this[_0x2c62d4(0x313)]=!!_0x5cdbaf[_0x2c62d4(0x29c)],this[_0x2c62d4(0x30d)]=_0x5cdbaf[_0x2c62d4(0x1d1)]|0x0,this[_0x2c62d4(0x303)]=!!_0x5cdbaf[_0x2c62d4(0x2f3)],this[_0x36bb91]=void 0x0,this[_0x2c62d4(0x211)]=0x0,this[_0x2c62d4(0x27e)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x2c62d4(0x301)]=void 0x0,this[_0x2c62d4(0x1be)]=0x0,this[_0x2c62d4(0x2ac)]=!0x1,this[_0x2c62d4(0x268)]=!0x1,this[_0x2c62d4(0x295)]=0x0,this[_0x2c62d4(0x323)]=0x0,this[_0x2c62d4(0x329)]=0x0,this[_0x2c62d4(0x31a)]=[],this['_errored']=!0x1,this[_0x2c62d4(0x281)]=!0x1,this['_state']=_0x9951eb;}[_0x343466(0x21b)](_0x4d39c8,_0x673cd0,_0x6a2083){const _0x416d96=_0x343466;if(this[_0x416d96(0x295)]===0x8&&this[_0x416d96(0x2e6)]==_0x9951eb)return _0x6a2083();this[_0x416d96(0x211)]+=_0x4d39c8[_0x416d96(0x29d)],this[_0x416d96(0x27e)][_0x416d96(0x29f)](_0x4d39c8),this['startLoop'](_0x6a2083);}['consume'](_0x395a29){const _0x7611fe=_0x343466;if(this[_0x7611fe(0x211)]-=_0x395a29,_0x395a29===this[_0x7611fe(0x27e)][0x0]['length'])return this['_buffers'][_0x7611fe(0x280)]();if(_0x395a29<this[_0x7611fe(0x27e)][0x0][_0x7611fe(0x29d)]){const _0x2d0e16=this[_0x7611fe(0x27e)][0x0];return this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x2d0e16[_0x7611fe(0x2d1)],_0x2d0e16['byteOffset']+_0x395a29,_0x2d0e16[_0x7611fe(0x29d)]-_0x395a29),new _0x1a0f3b(_0x2d0e16['buffer'],_0x2d0e16[_0x7611fe(0x2e5)],_0x395a29);}const _0x40d835=Buffer['allocUnsafe'](_0x395a29);do{const _0x3205dd=this['_buffers'][0x0],_0x1af80c=_0x40d835[_0x7611fe(0x29d)]-_0x395a29;_0x395a29>=_0x3205dd['length']?_0x40d835['set'](this[_0x7611fe(0x27e)][_0x7611fe(0x280)](),_0x1af80c):(_0x40d835[_0x7611fe(0x340)](new Uint8Array(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd['byteOffset'],_0x395a29),_0x1af80c),this[_0x7611fe(0x27e)][0x0]=new _0x1a0f3b(_0x3205dd[_0x7611fe(0x2d1)],_0x3205dd[_0x7611fe(0x2e5)]+_0x395a29,_0x3205dd['length']-_0x395a29)),_0x395a29-=_0x3205dd['length'];}while(_0x395a29>0x0);return _0x40d835;}[_0x343466(0x22e)](_0x29c884){const _0x11400c=_0x343466;this[_0x11400c(0x281)]=!0x0;do switch(this['_state']){case _0x9951eb:this[_0x11400c(0x208)](_0x29c884);break;case _0x598a4a:this[_0x11400c(0x328)](_0x29c884);break;case _0x2e48d9:this[_0x11400c(0x29a)](_0x29c884);break;case _0x28c653:this[_0x11400c(0x259)]();break;case _0x269c31:this['getData'](_0x29c884);break;case _0x571588:case _0x521b57:this[_0x11400c(0x281)]=!0x1;return;}while(this[_0x11400c(0x281)]);this[_0x11400c(0x347)]||_0x29c884();}['getInfo'](_0x38397b){const _0x3b3a3d=_0x343466;if(this[_0x3b3a3d(0x211)]<0x2){this[_0x3b3a3d(0x281)]=!0x1;return;}const _0x5233d9=this[_0x3b3a3d(0x2b8)](0x2);if((_0x5233d9[0x0]&0x30)!==0x0){const _0xdddc70=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1ea),!0x0,0x3ea,_0x3b3a3d(0x290));_0x38397b(_0xdddc70);return;}const _0xad7a67=(_0x5233d9[0x0]&0x40)===0x40;if(_0xad7a67&&!this[_0x3b3a3d(0x2bd)][_0x30f604['extensionName']]){const _0x21a58f=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x21a58f);return;}if(this[_0x3b3a3d(0x268)]=(_0x5233d9[0x0]&0x80)===0x80,this[_0x3b3a3d(0x295)]=_0x5233d9[0x0]&0xf,this[_0x3b3a3d(0x1da)]=_0x5233d9[0x1]&0x7f,this[_0x3b3a3d(0x295)]===0x0){if(_0xad7a67){const _0x4619fd=this['createError'](RangeError,_0x3b3a3d(0x24e),!0x0,0x3ea,_0x3b3a3d(0x266));_0x38397b(_0x4619fd);return;}if(!this['_fragmented']){const _0x487cc1=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34b),!0x0,0x3ea,_0x3b3a3d(0x2c1));_0x38397b(_0x487cc1);return;}this[_0x3b3a3d(0x295)]=this[_0x3b3a3d(0x1be)];}else{if(this[_0x3b3a3d(0x295)]===0x1||this[_0x3b3a3d(0x295)]===0x2){if(this[_0x3b3a3d(0x1be)]){const _0x4223b5=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x4223b5);return;}this[_0x3b3a3d(0x28c)]=_0xad7a67;}else{if(this[_0x3b3a3d(0x295)]>0x7&&this['_opcode']<0xb){if(!this[_0x3b3a3d(0x268)]){const _0x39c852=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x2c9),!0x0,0x3ea,_0x3b3a3d(0x23b));_0x38397b(_0x39c852);return;}if(_0xad7a67){const _0x4aac2e=this[_0x3b3a3d(0x272)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x38397b(_0x4aac2e);return;}if(this[_0x3b3a3d(0x1da)]>0x7d||this[_0x3b3a3d(0x295)]===0x8&&this['_payloadLength']===0x1){const _0x436af0=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1e0)+this['_payloadLength'],!0x0,0x3ea,_0x3b3a3d(0x349));_0x38397b(_0x436af0);return;}}else{const _0x25c05f=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x250)+this[_0x3b3a3d(0x295)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x38397b(_0x25c05f);return;}}}if(!this['_fin']&&!this[_0x3b3a3d(0x1be)]&&(this[_0x3b3a3d(0x1be)]=this[_0x3b3a3d(0x295)]),this[_0x3b3a3d(0x2ac)]=(_0x5233d9[0x1]&0x80)===0x80,this[_0x3b3a3d(0x313)]){if(!this[_0x3b3a3d(0x2ac)]){const _0x1c8add=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x34c),!0x0,0x3ea,_0x3b3a3d(0x1d8));_0x38397b(_0x1c8add);return;}}else{if(this[_0x3b3a3d(0x2ac)]){const _0x310f41=this[_0x3b3a3d(0x272)](RangeError,_0x3b3a3d(0x1c3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x38397b(_0x310f41);return;}}this[_0x3b3a3d(0x1da)]===0x7e?this['_state']=_0x598a4a:this['_payloadLength']===0x7f?this[_0x3b3a3d(0x2e6)]=_0x2e48d9:this['haveLength'](_0x38397b);}['getPayloadLength16'](_0x2f0f1f){const _0x54375e=_0x343466;if(this[_0x54375e(0x211)]<0x2){this['_loop']=!0x1;return;}this[_0x54375e(0x1da)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x2f0f1f);}[_0x343466(0x29a)](_0x5a9816){const _0x44aad6=_0x343466;if(this['_bufferedBytes']<0x8){this[_0x44aad6(0x281)]=!0x1;return;}const _0x2b9c27=this['consume'](0x8),_0x5230de=_0x2b9c27[_0x44aad6(0x35a)](0x0);if(_0x5230de>Math['pow'](0x2,0x15)-0x1){const _0x47a7d4=this[_0x44aad6(0x272)](RangeError,_0x44aad6(0x202),!0x1,0x3f1,_0x44aad6(0x1bf));_0x5a9816(_0x47a7d4);return;}this['_payloadLength']=_0x5230de*Math['pow'](0x2,0x20)+_0x2b9c27[_0x44aad6(0x35a)](0x4),this['haveLength'](_0x5a9816);}[_0x343466(0x239)](_0x46f5c1){const _0x140c74=_0x343466;if(this[_0x140c74(0x1da)]&&this[_0x140c74(0x295)]<0x8&&(this['_totalPayloadLength']+=this[_0x140c74(0x1da)],this[_0x140c74(0x323)]>this[_0x140c74(0x30d)]&&this[_0x140c74(0x30d)]>0x0)){const _0x10f210=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x140c74(0x231));_0x46f5c1(_0x10f210);return;}this[_0x140c74(0x2ac)]?this[_0x140c74(0x2e6)]=_0x28c653:this[_0x140c74(0x2e6)]=_0x269c31;}[_0x343466(0x259)](){const _0x3e751a=_0x343466;if(this[_0x3e751a(0x211)]<0x4){this[_0x3e751a(0x281)]=!0x1;return;}this[_0x3e751a(0x301)]=this[_0x3e751a(0x2b8)](0x4),this['_state']=_0x269c31;}[_0x343466(0x2f7)](_0x32f4dd){const _0x483465=_0x343466;let _0x4051f4=_0x3927e3;if(this[_0x483465(0x1da)]){if(this[_0x483465(0x211)]<this[_0x483465(0x1da)]){this[_0x483465(0x281)]=!0x1;return;}_0x4051f4=this[_0x483465(0x2b8)](this[_0x483465(0x1da)]),this['_masked']&&(this['_mask'][0x0]|this[_0x483465(0x301)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x5f2627(_0x4051f4,this[_0x483465(0x301)]);}if(this[_0x483465(0x295)]>0x7){this[_0x483465(0x25d)](_0x4051f4,_0x32f4dd);return;}if(this[_0x483465(0x28c)]){this[_0x483465(0x2e6)]=_0x571588,this[_0x483465(0x219)](_0x4051f4,_0x32f4dd);return;}_0x4051f4['length']&&(this[_0x483465(0x329)]=this[_0x483465(0x323)],this[_0x483465(0x31a)][_0x483465(0x29f)](_0x4051f4)),this['dataMessage'](_0x32f4dd);}[_0x343466(0x219)](_0x1e2104,_0x23afda){const _0x31de12=_0x343466;this[_0x31de12(0x2bd)][_0x30f604[_0x31de12(0x23e)]][_0x31de12(0x219)](_0x1e2104,this[_0x31de12(0x268)],(_0x155531,_0x4bb844)=>{const _0x31a2fe=_0x31de12;if(_0x155531)return _0x23afda(_0x155531);if(_0x4bb844[_0x31a2fe(0x29d)]){if(this['_messageLength']+=_0x4bb844[_0x31a2fe(0x29d)],this[_0x31a2fe(0x329)]>this[_0x31a2fe(0x30d)]&&this['_maxPayload']>0x0){const _0x398729=this['createError'](RangeError,_0x31a2fe(0x317),!0x1,0x3f1,_0x31a2fe(0x231));_0x23afda(_0x398729);return;}this[_0x31a2fe(0x31a)][_0x31a2fe(0x29f)](_0x4bb844);}this['dataMessage'](_0x23afda),this[_0x31a2fe(0x2e6)]===_0x9951eb&&this[_0x31a2fe(0x22e)](_0x23afda);});}[_0x343466(0x2e1)](_0x27046a){const _0x2a5ba0=_0x343466;if(!this['_fin']){this[_0x2a5ba0(0x2e6)]=_0x9951eb;return;}const _0x4ba8be=this[_0x2a5ba0(0x329)],_0x5719a3=this[_0x2a5ba0(0x31a)];if(this[_0x2a5ba0(0x323)]=0x0,this['_messageLength']=0x0,this[_0x2a5ba0(0x1be)]=0x0,this[_0x2a5ba0(0x31a)]=[],this[_0x2a5ba0(0x295)]===0x2){let _0x4430dc;this['_binaryType']===_0x2a5ba0(0x29e)?_0x4430dc=_0x4020bd(_0x5719a3,_0x4ba8be):this[_0x2a5ba0(0x207)]==='arraybuffer'?_0x4430dc=_0x14e968(_0x4020bd(_0x5719a3,_0x4ba8be)):this['_binaryType']===_0x2a5ba0(0x2db)?_0x4430dc=new Blob(_0x5719a3):_0x4430dc=_0x5719a3,this[_0x2a5ba0(0x260)]?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x4430dc,!0x0),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this['_state']=_0x521b57,setImmediate(()=>{const _0x5d2344=_0x2a5ba0;this[_0x5d2344(0x24c)](_0x5d2344(0x26c),_0x4430dc,!0x0),this[_0x5d2344(0x2e6)]=_0x9951eb,this[_0x5d2344(0x22e)](_0x27046a);}));}else{const _0x20bb82=_0x4020bd(_0x5719a3,_0x4ba8be);if(!this[_0x2a5ba0(0x303)]&&!_0x11786c(_0x20bb82)){const _0x59b64b=this['createError'](Error,_0x2a5ba0(0x210),!0x0,0x3ef,_0x2a5ba0(0x267));_0x27046a(_0x59b64b);return;}this[_0x2a5ba0(0x2e6)]===_0x571588||this['_allowSynchronousEvents']?(this[_0x2a5ba0(0x24c)](_0x2a5ba0(0x26c),_0x20bb82,!0x1),this[_0x2a5ba0(0x2e6)]=_0x9951eb):(this[_0x2a5ba0(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x57430b=_0x2a5ba0;this['emit'](_0x57430b(0x26c),_0x20bb82,!0x1),this['_state']=_0x9951eb,this['startLoop'](_0x27046a);}));}}['controlMessage'](_0x33afe,_0x571527){const _0x16acf3=_0x343466;if(this[_0x16acf3(0x295)]===0x8){if(_0x33afe[_0x16acf3(0x29d)]===0x0)this['_loop']=!0x1,this[_0x16acf3(0x24c)](_0x16acf3(0x2f5),0x3ed,_0x3927e3),this[_0x16acf3(0x298)]();else{const _0x5080ba=_0x33afe[_0x16acf3(0x2bc)](0x0);if(!_0x49fb67(_0x5080ba)){const _0x48c991=this[_0x16acf3(0x272)](RangeError,'invalid\x20status\x20code\x20'+_0x5080ba,!0x0,0x3ea,_0x16acf3(0x32c));_0x571527(_0x48c991);return;}const _0x2643eb=new _0x1a0f3b(_0x33afe[_0x16acf3(0x2d1)],_0x33afe['byteOffset']+0x2,_0x33afe[_0x16acf3(0x29d)]-0x2);if(!this[_0x16acf3(0x303)]&&!_0x11786c(_0x2643eb)){const _0x297b31=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x571527(_0x297b31);return;}this[_0x16acf3(0x281)]=!0x1,this['emit'](_0x16acf3(0x2f5),_0x5080ba,_0x2643eb),this[_0x16acf3(0x298)]();}this[_0x16acf3(0x2e6)]=_0x9951eb;return;}this[_0x16acf3(0x260)]?(this[_0x16acf3(0x24c)](this[_0x16acf3(0x295)]===0x9?_0x16acf3(0x32a):_0x16acf3(0x2c2),_0x33afe),this['_state']=_0x9951eb):(this[_0x16acf3(0x2e6)]=_0x521b57,setImmediate(()=>{const _0x3f81ae=_0x16acf3;this[_0x3f81ae(0x24c)](this[_0x3f81ae(0x295)]===0x9?_0x3f81ae(0x32a):_0x3f81ae(0x2c2),_0x33afe),this[_0x3f81ae(0x2e6)]=_0x9951eb,this[_0x3f81ae(0x22e)](_0x571527);}));}[_0x343466(0x272)](_0xde4489,_0x115c9a,_0x2f6398,_0x4114eb,_0x248b0d){const _0x2e8163=_0x343466;this[_0x2e8163(0x281)]=!0x1,this['_errored']=!0x0;const _0x2bb54d=new _0xde4489(_0x2f6398?'Invalid\x20WebSocket\x20frame:\x20'+_0x115c9a:_0x115c9a);return Error[_0x2e8163(0x1ba)](_0x2bb54d,this['createError']),_0x2bb54d['code']=_0x248b0d,_0x2bb54d[_0x47ed33]=_0x4114eb,_0x2bb54d;}}return Se=_0x350052,Se;}var Ee,et;function _t(){const _0x10093f=_0x3b2d4f;if(et)return Ee;et=0x1;const {Duplex:_0x1679f2}=_0x3ebcaa,{randomFillSync:_0x5d9d23}=_0x31487d,_0x39a426=he(),{EMPTY_BUFFER:_0x2f7b84,kWebSocket:_0xa3530f,NOOP:_0xabbc9a}=V(),{isBlob:_0x443728,isValidStatusCode:_0x37ad69}=ne(),{mask:_0x3f0697,toBuffer:_0x5b0fb9}=ce(),_0x110dec=Symbol('kByteLength'),_0x2c1b52=Buffer['alloc'](0x4),_0x126641=0x8*0x400;let _0x416294,_0x4d935a=_0x126641;const _0x4e7567=0x0,_0x30bbe1=0x1,_0x15af37=0x2;class _0x5c4d93{constructor(_0x483f8,_0x2b6085,_0x26b30f){const _0x38d7f3=_0x5878;this[_0x38d7f3(0x2bd)]=_0x2b6085||{},_0x26b30f&&(this[_0x38d7f3(0x238)]=_0x26b30f,this[_0x38d7f3(0x31e)]=Buffer[_0x38d7f3(0x1d9)](0x4)),this[_0x38d7f3(0x1cd)]=_0x483f8,this[_0x38d7f3(0x20a)]=!0x0,this[_0x38d7f3(0x2c3)]=!0x1,this[_0x38d7f3(0x211)]=0x0,this['_queue']=[],this[_0x38d7f3(0x2e6)]=_0x4e7567,this[_0x38d7f3(0x1f1)]=_0xabbc9a,this[_0xa3530f]=void 0x0;}static['frame'](_0x5b661f,_0x52ec8a){const _0x982c50=_0x5878;let _0x36d98d,_0x8dd47a=!0x1,_0x38e065=0x2,_0x94f18b=!0x1;_0x52ec8a[_0x982c50(0x249)]&&(_0x36d98d=_0x52ec8a['maskBuffer']||_0x2c1b52,_0x52ec8a[_0x982c50(0x22d)]?_0x52ec8a[_0x982c50(0x22d)](_0x36d98d):(_0x4d935a===_0x126641&&(_0x416294===void 0x0&&(_0x416294=Buffer[_0x982c50(0x1d9)](_0x126641)),_0x5d9d23(_0x416294,0x0,_0x126641),_0x4d935a=0x0),_0x36d98d[0x0]=_0x416294[_0x4d935a++],_0x36d98d[0x1]=_0x416294[_0x4d935a++],_0x36d98d[0x2]=_0x416294[_0x4d935a++],_0x36d98d[0x3]=_0x416294[_0x4d935a++]),_0x94f18b=(_0x36d98d[0x0]|_0x36d98d[0x1]|_0x36d98d[0x2]|_0x36d98d[0x3])===0x0,_0x38e065=0x6);let _0x5687b0;typeof _0x5b661f==_0x982c50(0x21e)?(!_0x52ec8a['mask']||_0x94f18b)&&_0x52ec8a[_0x110dec]!==void 0x0?_0x5687b0=_0x52ec8a[_0x110dec]:(_0x5b661f=Buffer[_0x982c50(0x1de)](_0x5b661f),_0x5687b0=_0x5b661f[_0x982c50(0x29d)]):(_0x5687b0=_0x5b661f[_0x982c50(0x29d)],_0x8dd47a=_0x52ec8a[_0x982c50(0x249)]&&_0x52ec8a[_0x982c50(0x299)]&&!_0x94f18b);let _0x2c15d6=_0x5687b0;_0x5687b0>=0x10000?(_0x38e065+=0x8,_0x2c15d6=0x7f):_0x5687b0>0x7d&&(_0x38e065+=0x2,_0x2c15d6=0x7e);const _0x28fcef=Buffer[_0x982c50(0x218)](_0x8dd47a?_0x5687b0+_0x38e065:_0x38e065);return _0x28fcef[0x0]=_0x52ec8a[_0x982c50(0x1d4)]?_0x52ec8a[_0x982c50(0x32d)]|0x80:_0x52ec8a[_0x982c50(0x32d)],_0x52ec8a[_0x982c50(0x282)]&&(_0x28fcef[0x0]|=0x40),_0x28fcef[0x1]=_0x2c15d6,_0x2c15d6===0x7e?_0x28fcef[_0x982c50(0x1d0)](_0x5687b0,0x2):_0x2c15d6===0x7f&&(_0x28fcef[0x2]=_0x28fcef[0x3]=0x0,_0x28fcef[_0x982c50(0x2b0)](_0x5687b0,0x4,0x6)),_0x52ec8a[_0x982c50(0x249)]?(_0x28fcef[0x1]|=0x80,_0x28fcef[_0x38e065-0x4]=_0x36d98d[0x0],_0x28fcef[_0x38e065-0x3]=_0x36d98d[0x1],_0x28fcef[_0x38e065-0x2]=_0x36d98d[0x2],_0x28fcef[_0x38e065-0x1]=_0x36d98d[0x3],_0x94f18b?[_0x28fcef,_0x5b661f]:_0x8dd47a?(_0x3f0697(_0x5b661f,_0x36d98d,_0x28fcef,_0x38e065,_0x5687b0),[_0x28fcef]):(_0x3f0697(_0x5b661f,_0x36d98d,_0x5b661f,0x0,_0x5687b0),[_0x28fcef,_0x5b661f])):[_0x28fcef,_0x5b661f];}[_0x10093f(0x25f)](_0x3a4373,_0x1a191d,_0x1acec3,_0x298bfb){const _0x3b8c36=_0x10093f;let _0x9e039e;if(_0x3a4373===void 0x0)_0x9e039e=_0x2f7b84;else{if(typeof _0x3a4373!=_0x3b8c36(0x261)||!_0x37ad69(_0x3a4373))throw new TypeError(_0x3b8c36(0x2b4));if(_0x1a191d===void 0x0||!_0x1a191d[_0x3b8c36(0x29d)])_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0);else{const _0x103bc3=Buffer[_0x3b8c36(0x1b7)](_0x1a191d);if(_0x103bc3>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x9e039e=Buffer[_0x3b8c36(0x218)](0x2+_0x103bc3),_0x9e039e[_0x3b8c36(0x1d0)](_0x3a4373,0x0),typeof _0x1a191d==_0x3b8c36(0x21e)?_0x9e039e[_0x3b8c36(0x225)](_0x1a191d,0x2):_0x9e039e['set'](_0x1a191d,0x2);}}const _0xc6b529={[_0x110dec]:_0x9e039e['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1acec3,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3b8c36(0x2e6)]!==_0x4e7567?this[_0x3b8c36(0x215)]([this[_0x3b8c36(0x2fa)],_0x9e039e,!0x1,_0xc6b529,_0x298bfb]):this[_0x3b8c36(0x292)](_0x5c4d93['frame'](_0x9e039e,_0xc6b529),_0x298bfb);}['ping'](_0x4a081e,_0xdc44dd,_0x1caf11){const _0xf8f38b=_0x10093f;let _0x2a2d0b,_0x118de8;if(typeof _0x4a081e==_0xf8f38b(0x21e)?(_0x2a2d0b=Buffer[_0xf8f38b(0x1b7)](_0x4a081e),_0x118de8=!0x1):_0x443728(_0x4a081e)?(_0x2a2d0b=_0x4a081e['size'],_0x118de8=!0x1):(_0x4a081e=_0x5b0fb9(_0x4a081e),_0x2a2d0b=_0x4a081e[_0xf8f38b(0x29d)],_0x118de8=_0x5b0fb9[_0xf8f38b(0x299)]),_0x2a2d0b>0x7d)throw new RangeError(_0xf8f38b(0x2a0));const _0xe659a8={[_0x110dec]:_0x2a2d0b,'fin':!0x0,'generateMask':this[_0xf8f38b(0x238)],'mask':_0xdc44dd,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x118de8,'rsv1':!0x1};_0x443728(_0x4a081e)?this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this[_0xf8f38b(0x2f2)],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this[_0xf8f38b(0x2f2)](_0x4a081e,!0x1,_0xe659a8,_0x1caf11):this[_0xf8f38b(0x2e6)]!==_0x4e7567?this[_0xf8f38b(0x215)]([this['dispatch'],_0x4a081e,!0x1,_0xe659a8,_0x1caf11]):this['sendFrame'](_0x5c4d93[_0xf8f38b(0x1b6)](_0x4a081e,_0xe659a8),_0x1caf11);}[_0x10093f(0x2c2)](_0x12b27f,_0x25665d,_0xf439a1){const _0x197e5f=_0x10093f;let _0x677f0f,_0x3ce0d1;if(typeof _0x12b27f=='string'?(_0x677f0f=Buffer[_0x197e5f(0x1b7)](_0x12b27f),_0x3ce0d1=!0x1):_0x443728(_0x12b27f)?(_0x677f0f=_0x12b27f[_0x197e5f(0x1bb)],_0x3ce0d1=!0x1):(_0x12b27f=_0x5b0fb9(_0x12b27f),_0x677f0f=_0x12b27f[_0x197e5f(0x29d)],_0x3ce0d1=_0x5b0fb9['readOnly']),_0x677f0f>0x7d)throw new RangeError(_0x197e5f(0x2a0));const _0xead4d0={[_0x110dec]:_0x677f0f,'fin':!0x0,'generateMask':this[_0x197e5f(0x238)],'mask':_0x25665d,'maskBuffer':this[_0x197e5f(0x31e)],'opcode':0xa,'readOnly':_0x3ce0d1,'rsv1':!0x1};_0x443728(_0x12b27f)?this[_0x197e5f(0x2e6)]!==_0x4e7567?this['enqueue']([this[_0x197e5f(0x2f2)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this['getBlobData'](_0x12b27f,!0x1,_0xead4d0,_0xf439a1):this[_0x197e5f(0x2e6)]!==_0x4e7567?this[_0x197e5f(0x215)]([this[_0x197e5f(0x2fa)],_0x12b27f,!0x1,_0xead4d0,_0xf439a1]):this[_0x197e5f(0x292)](_0x5c4d93[_0x197e5f(0x1b6)](_0x12b27f,_0xead4d0),_0xf439a1);}[_0x10093f(0x1c0)](_0x5d49c3,_0x4d2429,_0x44566e){const _0x46db37=_0x10093f,_0x4c1a9d=this[_0x46db37(0x2bd)][_0x39a426[_0x46db37(0x23e)]];let _0x33cfab=_0x4d2429[_0x46db37(0x2d8)]?0x2:0x1,_0x210034=_0x4d2429[_0x46db37(0x2f6)],_0x407901,_0x5e45fc;typeof _0x5d49c3==_0x46db37(0x21e)?(_0x407901=Buffer['byteLength'](_0x5d49c3),_0x5e45fc=!0x1):_0x443728(_0x5d49c3)?(_0x407901=_0x5d49c3[_0x46db37(0x1bb)],_0x5e45fc=!0x1):(_0x5d49c3=_0x5b0fb9(_0x5d49c3),_0x407901=_0x5d49c3[_0x46db37(0x29d)],_0x5e45fc=_0x5b0fb9[_0x46db37(0x299)]),this['_firstFragment']?(this[_0x46db37(0x20a)]=!0x1,_0x210034&&_0x4c1a9d&&_0x4c1a9d['params'][_0x4c1a9d[_0x46db37(0x313)]?_0x46db37(0x2c6):_0x46db37(0x358)]&&(_0x210034=_0x407901>=_0x4c1a9d['_threshold']),this[_0x46db37(0x2c3)]=_0x210034):(_0x210034=!0x1,_0x33cfab=0x0),_0x4d2429['fin']&&(this[_0x46db37(0x20a)]=!0x0);const _0x4cf0e7={[_0x110dec]:_0x407901,'fin':_0x4d2429[_0x46db37(0x1d4)],'generateMask':this[_0x46db37(0x238)],'mask':_0x4d2429['mask'],'maskBuffer':this[_0x46db37(0x31e)],'opcode':_0x33cfab,'readOnly':_0x5e45fc,'rsv1':_0x210034};_0x443728(_0x5d49c3)?this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['getBlobData'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this['getBlobData'](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e):this[_0x46db37(0x2e6)]!==_0x4e7567?this[_0x46db37(0x215)]([this['dispatch'],_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e]):this[_0x46db37(0x2fa)](_0x5d49c3,this[_0x46db37(0x2c3)],_0x4cf0e7,_0x44566e);}[_0x10093f(0x2f2)](_0x530916,_0x55d9c9,_0x5f16e7,_0x114ec6){const _0x127706=_0x10093f;this[_0x127706(0x211)]+=_0x5f16e7[_0x110dec],this[_0x127706(0x2e6)]=_0x15af37,_0x530916[_0x127706(0x316)]()['then'](_0x301100=>{const _0x475080=_0x127706;if(this['_socket']['destroyed']){const _0x59a79e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x475080(0x1c5)](_0x5af18b,this,_0x59a79e,_0x114ec6);return;}this[_0x475080(0x211)]-=_0x5f16e7[_0x110dec];const _0x31b9c6=_0x5b0fb9(_0x301100);_0x55d9c9?this[_0x475080(0x2fa)](_0x31b9c6,_0x55d9c9,_0x5f16e7,_0x114ec6):(this[_0x475080(0x2e6)]=_0x4e7567,this['sendFrame'](_0x5c4d93['frame'](_0x31b9c6,_0x5f16e7),_0x114ec6),this[_0x475080(0x228)]());})['catch'](_0x1ef1b3=>{const _0x1aab9c=_0x127706;process[_0x1aab9c(0x1c5)](_0x2780b1,this,_0x1ef1b3,_0x114ec6);});}['dispatch'](_0x38919f,_0x1ea46b,_0x26bb68,_0x2a2372){const _0x3ca3bd=_0x10093f;if(!_0x1ea46b){this['sendFrame'](_0x5c4d93['frame'](_0x38919f,_0x26bb68),_0x2a2372);return;}const _0x4e4e52=this[_0x3ca3bd(0x2bd)][_0x39a426[_0x3ca3bd(0x23e)]];this[_0x3ca3bd(0x211)]+=_0x26bb68[_0x110dec],this[_0x3ca3bd(0x2e6)]=_0x30bbe1,_0x4e4e52[_0x3ca3bd(0x2f6)](_0x38919f,_0x26bb68['fin'],(_0x377066,_0x4a0128)=>{const _0x28d319=_0x3ca3bd;if(this[_0x28d319(0x1cd)]['destroyed']){const _0x377a60=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5af18b(this,_0x377a60,_0x2a2372);return;}this[_0x28d319(0x211)]-=_0x26bb68[_0x110dec],this[_0x28d319(0x2e6)]=_0x4e7567,_0x26bb68['readOnly']=!0x1,this[_0x28d319(0x292)](_0x5c4d93[_0x28d319(0x1b6)](_0x4a0128,_0x26bb68),_0x2a2372),this[_0x28d319(0x228)]();});}[_0x10093f(0x228)](){const _0x4653cc=_0x10093f;for(;this['_state']===_0x4e7567&&this['_queue'][_0x4653cc(0x29d)];){const _0x105e4b=this[_0x4653cc(0x2aa)][_0x4653cc(0x280)]();this[_0x4653cc(0x211)]-=_0x105e4b[0x3][_0x110dec],Reflect[_0x4653cc(0x285)](_0x105e4b[0x0],this,_0x105e4b[_0x4653cc(0x284)](0x1));}}['enqueue'](_0x1a75ad){const _0x55883b=_0x10093f;this[_0x55883b(0x211)]+=_0x1a75ad[0x3][_0x110dec],this[_0x55883b(0x2aa)][_0x55883b(0x29f)](_0x1a75ad);}[_0x10093f(0x292)](_0x2ec396,_0x18224f){const _0x3c18f7=_0x10093f;_0x2ec396['length']===0x2?(this[_0x3c18f7(0x1cd)][_0x3c18f7(0x2c4)](),this[_0x3c18f7(0x1cd)]['write'](_0x2ec396[0x0]),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x1],_0x18224f),this[_0x3c18f7(0x1cd)][_0x3c18f7(0x1f2)]()):this[_0x3c18f7(0x1cd)][_0x3c18f7(0x225)](_0x2ec396[0x0],_0x18224f);}}Ee=_0x5c4d93;function _0x5af18b(_0x5c1046,_0x11f278,_0x4d269e){const _0x16b18d=_0x10093f;typeof _0x4d269e=='function'&&_0x4d269e(_0x11f278);for(let _0x2274f1=0x0;_0x2274f1<_0x5c1046['_queue']['length'];_0x2274f1++){const _0x5cacd8=_0x5c1046[_0x16b18d(0x2aa)][_0x2274f1],_0x57ab93=_0x5cacd8[_0x5cacd8[_0x16b18d(0x29d)]-0x1];typeof _0x57ab93=='function'&&_0x57ab93(_0x11f278);}}function _0x2780b1(_0x5d2021,_0x3f8c55,_0x33e1ee){const _0x6cd670=_0x10093f;_0x5af18b(_0x5d2021,_0x3f8c55,_0x33e1ee),_0x5d2021[_0x6cd670(0x1f1)](_0x3f8c55);}return Ee;}var xe,tt;function Kt(){const _0x50999e=_0x3b2d4f;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3df1b5,kListener:_0x1b5d30}=V(),_0x53b4b8=Symbol(_0x50999e(0x204)),_0x147696=Symbol(_0x50999e(0x221)),_0x5bde7f=Symbol(_0x50999e(0x20f)),_0x3f3441=Symbol('kMessage'),_0x5c38a3=Symbol(_0x50999e(0x1c4)),_0x583fd7=Symbol(_0x50999e(0x1ed)),_0x3f6a07=Symbol('kType'),_0x2e5a07=Symbol(_0x50999e(0x31f));class _0x4ec3d7{constructor(_0x15294b){this[_0x583fd7]=null,this[_0x3f6a07]=_0x15294b;}get[_0x50999e(0x2b3)](){return this[_0x583fd7];}get[_0x50999e(0x2cd)](){return this[_0x3f6a07];}}Object['defineProperty'](_0x4ec3d7[_0x50999e(0x294)],_0x50999e(0x2b3),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x4ec3d7[_0x50999e(0x294)],'type',{'enumerable':!0x0});class _0x46e74a extends _0x4ec3d7{constructor(_0x348ecc,_0x5c918b={}){const _0x48972d=_0x50999e;super(_0x348ecc),this[_0x53b4b8]=_0x5c918b[_0x48972d(0x1d7)]===void 0x0?0x0:_0x5c918b[_0x48972d(0x1d7)],this[_0x5c38a3]=_0x5c918b[_0x48972d(0x2ec)]===void 0x0?'':_0x5c918b[_0x48972d(0x2ec)],this[_0x2e5a07]=_0x5c918b['wasClean']===void 0x0?!0x1:_0x5c918b[_0x48972d(0x2de)];}get[_0x50999e(0x1d7)](){return this[_0x53b4b8];}get[_0x50999e(0x2ec)](){return this[_0x5c38a3];}get[_0x50999e(0x2de)](){return this[_0x2e5a07];}}Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x1d7),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],'reason',{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x46e74a[_0x50999e(0x294)],_0x50999e(0x2de),{'enumerable':!0x0});class _0x1efe28 extends _0x4ec3d7{constructor(_0x1203dd,_0x2c3e89={}){const _0x387da0=_0x50999e;super(_0x1203dd),this[_0x5bde7f]=_0x2c3e89[_0x387da0(0x2fc)]===void 0x0?null:_0x2c3e89['error'],this[_0x3f3441]=_0x2c3e89[_0x387da0(0x26c)]===void 0x0?'':_0x2c3e89[_0x387da0(0x26c)];}get[_0x50999e(0x2fc)](){return this[_0x5bde7f];}get['message'](){return this[_0x3f3441];}}Object[_0x50999e(0x1b5)](_0x1efe28['prototype'],_0x50999e(0x2fc),{'enumerable':!0x0}),Object[_0x50999e(0x1b5)](_0x1efe28[_0x50999e(0x294)],'message',{'enumerable':!0x0});class _0x3eb212 extends _0x4ec3d7{constructor(_0x374bfc,_0x31d04f={}){const _0x3c96f7=_0x50999e;super(_0x374bfc),this[_0x147696]=_0x31d04f[_0x3c96f7(0x32e)]===void 0x0?null:_0x31d04f[_0x3c96f7(0x32e)];}get[_0x50999e(0x32e)](){return this[_0x147696];}}Object[_0x50999e(0x1b5)](_0x3eb212[_0x50999e(0x294)],_0x50999e(0x32e),{'enumerable':!0x0}),xe={'CloseEvent':_0x46e74a,'ErrorEvent':_0x1efe28,'Event':_0x4ec3d7,'EventTarget':{'addEventListener'(_0xd22144,_0x5519c,_0x483ac8={}){const _0x4e85ec=_0x50999e;for(const _0x3bfdbb of this[_0x4e85ec(0x1ee)](_0xd22144))if(!_0x483ac8[_0x3df1b5]&&_0x3bfdbb[_0x1b5d30]===_0x5519c&&!_0x3bfdbb[_0x3df1b5])return;let _0x2f662c;if(_0xd22144===_0x4e85ec(0x26c))_0x2f662c=function(_0x45f293,_0xf1bf8d){const _0x16dd84=_0x4e85ec,_0x56bd11=new _0x3eb212('message',{'data':_0xf1bf8d?_0x45f293:_0x45f293[_0x16dd84(0x1ec)]()});_0x56bd11[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x56bd11);};else{if(_0xd22144===_0x4e85ec(0x25f))_0x2f662c=function(_0x312307,_0x51b7ce){const _0x4cda44=_0x4e85ec,_0x1bfc66=new _0x46e74a('close',{'code':_0x312307,'reason':_0x51b7ce[_0x4cda44(0x1ec)](),'wasClean':this['_closeFrameReceived']&&this[_0x4cda44(0x2a8)]});_0x1bfc66[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x1bfc66);};else{if(_0xd22144===_0x4e85ec(0x2fc))_0x2f662c=function(_0x209fca){const _0x2cba2d=_0x4e85ec,_0x154d9d=new _0x1efe28(_0x2cba2d(0x2fc),{'error':_0x209fca,'message':_0x209fca[_0x2cba2d(0x26c)]});_0x154d9d[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x154d9d);};else{if(_0xd22144===_0x4e85ec(0x2d9))_0x2f662c=function(){const _0x574a8d=_0x4e85ec,_0x717a9a=new _0x4ec3d7(_0x574a8d(0x2d9));_0x717a9a[_0x583fd7]=this,_0x2a89f9(_0x5519c,this,_0x717a9a);};else return;}}}_0x2f662c[_0x3df1b5]=!!_0x483ac8[_0x3df1b5],_0x2f662c[_0x1b5d30]=_0x5519c,_0x483ac8[_0x4e85ec(0x275)]?this[_0x4e85ec(0x275)](_0xd22144,_0x2f662c):this['on'](_0xd22144,_0x2f662c);},'removeEventListener'(_0x2efc97,_0x225685){const _0x18aed6=_0x50999e;for(const _0x826d7e of this[_0x18aed6(0x1ee)](_0x2efc97))if(_0x826d7e[_0x1b5d30]===_0x225685&&!_0x826d7e[_0x3df1b5]){this[_0x18aed6(0x248)](_0x2efc97,_0x826d7e);break;}}},'MessageEvent':_0x3eb212};function _0x2a89f9(_0x161d57,_0x3218ed,_0x2d288f){const _0x1a8d91=_0x50999e;typeof _0x161d57==_0x1a8d91(0x2ce)&&_0x161d57[_0x1a8d91(0x25b)]?_0x161d57['handleEvent'][_0x1a8d91(0x327)](_0x161d57,_0x2d288f):_0x161d57[_0x1a8d91(0x327)](_0x3218ed,_0x2d288f);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0xf72cc}=ne();function _0x5894c(_0x588bc4,_0x9f1205,_0x1efd31){_0x588bc4[_0x9f1205]===void 0x0?_0x588bc4[_0x9f1205]=[_0x1efd31]:_0x588bc4[_0x9f1205]['push'](_0x1efd31);}function _0x4a96af(_0x434bb5){const _0x4966d1=_0x5878,_0x13e5a9=Object[_0x4966d1(0x1fc)](null);let _0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x2e17f0=!0x1,_0x1ffbca=!0x1,_0x306ef4=!0x1,_0x3c3030,_0x5817be,_0x3b5a97=-0x1,_0x16dd99=-0x1,_0x4a13f9=-0x1,_0x4c5654=0x0;for(;_0x4c5654<_0x434bb5[_0x4966d1(0x29d)];_0x4c5654++)if(_0x16dd99=_0x434bb5['charCodeAt'](_0x4c5654),_0x3c3030===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x4c5654!==0x0&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x5f509c=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x16dd99===0x2c?(_0x5894c(_0x13e5a9,_0x5f509c,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null)):_0x3c3030=_0x5f509c,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4c5654);}}}else{if(_0x5817be===void 0x0){if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x20||_0x16dd99===0x9)_0x4a13f9===-0x1&&_0x3b5a97!==-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654),_0x5894c(_0x16e6bd,_0x434bb5['slice'](_0x3b5a97,_0x4a13f9),!0x0),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object[_0x4966d1(0x1fc)](null),_0x3c3030=void 0x0),_0x3b5a97=_0x4a13f9=-0x1;}else{if(_0x16dd99===0x3d&&_0x3b5a97!==-0x1&&_0x4a13f9===-0x1)_0x5817be=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4c5654),_0x3b5a97=_0x4a13f9=-0x1;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}else{if(_0x1ffbca){if(_0xf72cc[_0x16dd99]!==0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x3b5a97===-0x1?_0x3b5a97=_0x4c5654:_0x2e17f0||(_0x2e17f0=!0x0),_0x1ffbca=!0x1;}else{if(_0x306ef4){if(_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x16dd99===0x22&&_0x3b5a97!==-0x1)_0x306ef4=!0x1,_0x4a13f9=_0x4c5654;else{if(_0x16dd99===0x5c)_0x1ffbca=!0x0;else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}else{if(_0x16dd99===0x22&&_0x434bb5['charCodeAt'](_0x4c5654-0x1)===0x3d)_0x306ef4=!0x0;else{if(_0x4a13f9===-0x1&&_0xf72cc[_0x16dd99]===0x1)_0x3b5a97===-0x1&&(_0x3b5a97=_0x4c5654);else{if(_0x3b5a97!==-0x1&&(_0x16dd99===0x20||_0x16dd99===0x9))_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);else{if(_0x16dd99===0x3b||_0x16dd99===0x2c){if(_0x3b5a97===-0x1)throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);let _0x44a4f1=_0x434bb5[_0x4966d1(0x284)](_0x3b5a97,_0x4a13f9);_0x2e17f0&&(_0x44a4f1=_0x44a4f1[_0x4966d1(0x319)](/\\/g,''),_0x2e17f0=!0x1),_0x5894c(_0x16e6bd,_0x5817be,_0x44a4f1),_0x16dd99===0x2c&&(_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd),_0x16e6bd=Object['create'](null),_0x3c3030=void 0x0),_0x5817be=void 0x0,_0x3b5a97=_0x4a13f9=-0x1;}else throw new SyntaxError(_0x4966d1(0x22b)+_0x4c5654);}}}}}}}if(_0x3b5a97===-0x1||_0x306ef4||_0x16dd99===0x20||_0x16dd99===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4a13f9===-0x1&&(_0x4a13f9=_0x4c5654);const _0x4c88cb=_0x434bb5['slice'](_0x3b5a97,_0x4a13f9);return _0x3c3030===void 0x0?_0x5894c(_0x13e5a9,_0x4c88cb,_0x16e6bd):(_0x5817be===void 0x0?_0x5894c(_0x16e6bd,_0x4c88cb,!0x0):_0x2e17f0?_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb[_0x4966d1(0x319)](/\\/g,'')):_0x5894c(_0x16e6bd,_0x5817be,_0x4c88cb),_0x5894c(_0x13e5a9,_0x3c3030,_0x16e6bd)),_0x13e5a9;}function _0x273af4(_0x501629){const _0x44db18=_0x5878;return Object[_0x44db18(0x235)](_0x501629)[_0x44db18(0x2d2)](_0x1a7572=>{const _0x38c661=_0x44db18;let _0x459024=_0x501629[_0x1a7572];return Array[_0x38c661(0x265)](_0x459024)||(_0x459024=[_0x459024]),_0x459024[_0x38c661(0x2d2)](_0x203446=>[_0x1a7572]['concat'](Object['keys'](_0x203446)[_0x38c661(0x2d2)](_0x3a1769=>{const _0x2435cc=_0x38c661;let _0x5aa171=_0x203446[_0x3a1769];return Array[_0x2435cc(0x265)](_0x5aa171)||(_0x5aa171=[_0x5aa171]),_0x5aa171[_0x2435cc(0x2d2)](_0x97bbf2=>_0x97bbf2===!0x0?_0x3a1769:_0x3a1769+'='+_0x97bbf2)[_0x2435cc(0x28a)](';\x20');}))['join'](';\x20'))[_0x38c661(0x28a)](',\x20');})['join'](',\x20');}return be={'format':_0x273af4,'parse':_0x4a96af},be;}var we,st;function Ie(){const _0x20c9af=_0x3b2d4f;if(st)return we;st=0x1;const _0x333ef4=_0x285de2,_0xde473c=_0x5851df,_0xf0263d=_0x4c53ad,_0x4e2835=_0x537e0b,_0x44e0de=_0x4d6c80,{randomBytes:_0x17ffe5,createHash:_0x5f3b21}=_0x31487d,{Duplex:_0x353ddc,Readable:_0x38d23d}=_0x3ebcaa,{URL:_0x239634}=_0x2f01dc,_0x3786ea=he(),_0x19ae13=dt(),_0x53f6cc=_t(),{isBlob:_0x7971}=ne(),{BINARY_TYPES:_0xd42302,EMPTY_BUFFER:_0x46dd97,GUID:_0x2f97a4,kForOnEventAttribute:_0x18a328,kListener:_0x21a785,kStatusCode:_0x12bf0d,kWebSocket:_0x2e419f,NOOP:_0x509624}=V(),{EventTarget:{addEventListener:_0x307179,removeEventListener:_0x32c92c}}=Kt(),{format:_0x2f2c36,parse:_0x56ed78}=pt(),{toBuffer:_0x48580e}=ce(),_0x1558ce=0x1e*0x3e8,_0xbc7c79=Symbol(_0x20c9af(0x1e7)),_0x3e8e94=[0x8,0xd],_0x196db2=[_0x20c9af(0x1dc),_0x20c9af(0x1b8),_0x20c9af(0x236),_0x20c9af(0x269)],_0x210204=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4fb982 extends _0x333ef4{constructor(_0xfaf659,_0x599d98,_0x5e5f59){const _0x3481fb=_0x20c9af;super(),this['_binaryType']=_0xd42302[0x0],this['_closeCode']=0x3ee,this[_0x3481fb(0x2a5)]=!0x1,this[_0x3481fb(0x2a8)]=!0x1,this[_0x3481fb(0x2eb)]=_0x46dd97,this[_0x3481fb(0x1cf)]=null,this[_0x3481fb(0x2e4)]=!0x1,this[_0x3481fb(0x2bd)]={},this[_0x3481fb(0x297)]=!0x1,this[_0x3481fb(0x201)]='',this['_readyState']=_0x4fb982['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x3481fb(0x1cd)]=null,_0xfaf659!==null?(this[_0x3481fb(0x348)]=0x0,this[_0x3481fb(0x313)]=!0x1,this['_redirects']=0x0,_0x599d98===void 0x0?_0x599d98=[]:Array['isArray'](_0x599d98)||(typeof _0x599d98=='object'&&_0x599d98!==null?(_0x5e5f59=_0x599d98,_0x599d98=[]):_0x599d98=[_0x599d98]),_0x1ad0b5(this,_0xfaf659,_0x599d98,_0x5e5f59)):(this[_0x3481fb(0x34a)]=_0x5e5f59['autoPong'],this[_0x3481fb(0x313)]=!0x0);}get[_0x20c9af(0x21c)](){const _0x445942=_0x20c9af;return this[_0x445942(0x207)];}set[_0x20c9af(0x21c)](_0x59654c){const _0x2559c9=_0x20c9af;_0xd42302[_0x2559c9(0x2c8)](_0x59654c)&&(this[_0x2559c9(0x207)]=_0x59654c,this[_0x2559c9(0x30a)]&&(this[_0x2559c9(0x30a)][_0x2559c9(0x207)]=_0x59654c));}get[_0x20c9af(0x2cb)](){const _0x16036b=_0x20c9af;return this[_0x16036b(0x1cd)]?this[_0x16036b(0x1cd)][_0x16036b(0x34d)][_0x16036b(0x29d)]+this['_sender'][_0x16036b(0x211)]:this['_bufferedAmount'];}get[_0x20c9af(0x237)](){const _0xbbc1c5=_0x20c9af;return Object[_0xbbc1c5(0x235)](this[_0xbbc1c5(0x2bd)])['join']();}get['isPaused'](){const _0x674778=_0x20c9af;return this[_0x674778(0x297)];}get['onclose'](){return null;}get[_0x20c9af(0x1f1)](){return null;}get['onopen'](){return null;}get[_0x20c9af(0x245)](){return null;}get[_0x20c9af(0x262)](){return this['_protocol'];}get[_0x20c9af(0x24b)](){return this['_readyState'];}get[_0x20c9af(0x278)](){const _0x7138da=_0x20c9af;return this[_0x7138da(0x28d)];}[_0x20c9af(0x289)](_0x3651bb,_0x432011,_0x420a95){const _0x39e4a2=_0x20c9af,_0x38f45b=new _0x19ae13({'allowSynchronousEvents':_0x420a95['allowSynchronousEvents'],'binaryType':this[_0x39e4a2(0x21c)],'extensions':this[_0x39e4a2(0x2bd)],'isServer':this['_isServer'],'maxPayload':_0x420a95['maxPayload'],'skipUTF8Validation':_0x420a95[_0x39e4a2(0x2f3)]}),_0x157377=new _0x53f6cc(_0x3651bb,this[_0x39e4a2(0x2bd)],_0x420a95['generateMask']);this[_0x39e4a2(0x30a)]=_0x38f45b,this[_0x39e4a2(0x230)]=_0x157377,this[_0x39e4a2(0x1cd)]=_0x3651bb,_0x38f45b[_0x2e419f]=this,_0x157377[_0x2e419f]=this,_0x3651bb[_0x2e419f]=this,_0x38f45b['on'](_0x39e4a2(0x2f5),_0x42f9e3),_0x38f45b['on']('drain',_0x16c99e),_0x38f45b['on'](_0x39e4a2(0x2fc),_0x382241),_0x38f45b['on'](_0x39e4a2(0x26c),_0x2b7f39),_0x38f45b['on'](_0x39e4a2(0x32a),_0xd73804),_0x38f45b['on'](_0x39e4a2(0x2c2),_0x427cc6),_0x157377[_0x39e4a2(0x1f1)]=_0x427a93,_0x3651bb[_0x39e4a2(0x1e8)]&&_0x3651bb[_0x39e4a2(0x1e8)](0x0),_0x3651bb['setNoDelay']&&_0x3651bb['setNoDelay'](),_0x432011['length']>0x0&&_0x3651bb['unshift'](_0x432011),_0x3651bb['on'](_0x39e4a2(0x25f),_0x335c5e),_0x3651bb['on']('data',_0x99a04e),_0x3651bb['on']('end',_0x256562),_0x3651bb['on']('error',_0x4ce5f9),this[_0x39e4a2(0x254)]=_0x4fb982[_0x39e4a2(0x1b8)],this[_0x39e4a2(0x24c)]('open');}[_0x20c9af(0x30e)](){const _0x46232c=_0x20c9af;if(!this[_0x46232c(0x1cd)]){this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this['_closeCode'],this[_0x46232c(0x2eb)]);return;}this[_0x46232c(0x2bd)][_0x3786ea['extensionName']]&&this[_0x46232c(0x2bd)][_0x3786ea[_0x46232c(0x23e)]][_0x46232c(0x257)](),this[_0x46232c(0x30a)]['removeAllListeners'](),this[_0x46232c(0x254)]=_0x4fb982[_0x46232c(0x269)],this[_0x46232c(0x24c)](_0x46232c(0x25f),this[_0x46232c(0x2a7)],this['_closeMessage']);}['close'](_0x1461da,_0x53fcad){const _0xa2b84f=_0x20c9af;if(this[_0xa2b84f(0x24b)]!==_0x4fb982['CLOSED']){if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x1dc)]){_0x10ce8d(this,this['_req'],_0xa2b84f(0x1f8));return;}if(this[_0xa2b84f(0x24b)]===_0x4fb982[_0xa2b84f(0x236)]){this[_0xa2b84f(0x2a8)]&&(this[_0xa2b84f(0x2a5)]||this['_receiver'][_0xa2b84f(0x34d)][_0xa2b84f(0x342)])&&this['_socket'][_0xa2b84f(0x298)]();return;}this[_0xa2b84f(0x254)]=_0x4fb982['CLOSING'],this['_sender'][_0xa2b84f(0x25f)](_0x1461da,_0x53fcad,!this[_0xa2b84f(0x313)],_0x16b345=>{const _0x4a4413=_0xa2b84f;_0x16b345||(this[_0x4a4413(0x2a8)]=!0x0,(this[_0x4a4413(0x2a5)]||this[_0x4a4413(0x30a)][_0x4a4413(0x34d)][_0x4a4413(0x342)])&&this[_0x4a4413(0x1cd)][_0x4a4413(0x298)]());}),_0x34fdd1(this);}}['pause'](){const _0x32e9f2=_0x20c9af;this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x1dc)]||this[_0x32e9f2(0x24b)]===_0x4fb982[_0x32e9f2(0x269)]||(this[_0x32e9f2(0x297)]=!0x0,this[_0x32e9f2(0x1cd)][_0x32e9f2(0x1c2)]());}['ping'](_0x9be16c,_0x57ec09,_0x4ec954){const _0x25d830=_0x20c9af;if(this[_0x25d830(0x24b)]===_0x4fb982['CONNECTING'])throw new Error(_0x25d830(0x233));if(typeof _0x9be16c==_0x25d830(0x1b4)?(_0x4ec954=_0x9be16c,_0x9be16c=_0x57ec09=void 0x0):typeof _0x57ec09==_0x25d830(0x1b4)&&(_0x4ec954=_0x57ec09,_0x57ec09=void 0x0),typeof _0x9be16c==_0x25d830(0x261)&&(_0x9be16c=_0x9be16c['toString']()),this['readyState']!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x9be16c,_0x4ec954);return;}_0x57ec09===void 0x0&&(_0x57ec09=!this[_0x25d830(0x313)]),this[_0x25d830(0x230)]['ping'](_0x9be16c||_0x46dd97,_0x57ec09,_0x4ec954);}['pong'](_0x525501,_0x266954,_0x34c737){const _0xf9fd27=_0x20c9af;if(this[_0xf9fd27(0x24b)]===_0x4fb982[_0xf9fd27(0x1dc)])throw new Error(_0xf9fd27(0x233));if(typeof _0x525501==_0xf9fd27(0x1b4)?(_0x34c737=_0x525501,_0x525501=_0x266954=void 0x0):typeof _0x266954==_0xf9fd27(0x1b4)&&(_0x34c737=_0x266954,_0x266954=void 0x0),typeof _0x525501==_0xf9fd27(0x261)&&(_0x525501=_0x525501[_0xf9fd27(0x1ec)]()),this[_0xf9fd27(0x24b)]!==_0x4fb982['OPEN']){_0xfb87e8(this,_0x525501,_0x34c737);return;}_0x266954===void 0x0&&(_0x266954=!this[_0xf9fd27(0x313)]),this[_0xf9fd27(0x230)]['pong'](_0x525501||_0x46dd97,_0x266954,_0x34c737);}['resume'](){const _0x3a9379=_0x20c9af;this[_0x3a9379(0x24b)]===_0x4fb982[_0x3a9379(0x1dc)]||this['readyState']===_0x4fb982['CLOSED']||(this['_paused']=!0x1,this[_0x3a9379(0x30a)][_0x3a9379(0x34d)][_0x3a9379(0x217)]||this[_0x3a9379(0x1cd)][_0x3a9379(0x33e)]());}[_0x20c9af(0x1c0)](_0x253d4f,_0x59ca7a,_0x2b082b){const _0x302069=_0x20c9af;if(this[_0x302069(0x24b)]===_0x4fb982['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x59ca7a=='function'&&(_0x2b082b=_0x59ca7a,_0x59ca7a={}),typeof _0x253d4f==_0x302069(0x261)&&(_0x253d4f=_0x253d4f[_0x302069(0x1ec)]()),this[_0x302069(0x24b)]!==_0x4fb982[_0x302069(0x1b8)]){_0xfb87e8(this,_0x253d4f,_0x2b082b);return;}const _0x4893e0={'binary':typeof _0x253d4f!=_0x302069(0x21e),'mask':!this[_0x302069(0x313)],'compress':!0x0,'fin':!0x0,..._0x59ca7a};this['_extensions'][_0x3786ea[_0x302069(0x23e)]]||(_0x4893e0[_0x302069(0x2f6)]=!0x1),this[_0x302069(0x230)]['send'](_0x253d4f||_0x46dd97,_0x4893e0,_0x2b082b);}['terminate'](){const _0xe7cfbd=_0x20c9af;if(this['readyState']!==_0x4fb982[_0xe7cfbd(0x269)]){if(this['readyState']===_0x4fb982['CONNECTING']){_0x10ce8d(this,this[_0xe7cfbd(0x206)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0xe7cfbd(0x1cd)]&&(this[_0xe7cfbd(0x254)]=_0x4fb982['CLOSING'],this[_0xe7cfbd(0x1cd)][_0xe7cfbd(0x31b)]());}}}Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CONNECTING')}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],_0x20c9af(0x1dc),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1dc))}),Object[_0x20c9af(0x1b5)](_0x4fb982,_0x20c9af(0x1b8),{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'OPEN',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x1b8))}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSING',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x236))}),Object['defineProperty'](_0x4fb982['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)]('CLOSING')}),Object[_0x20c9af(0x1b5)](_0x4fb982,'CLOSED',{'enumerable':!0x0,'value':_0x196db2['indexOf'](_0x20c9af(0x269))}),Object[_0x20c9af(0x1b5)](_0x4fb982[_0x20c9af(0x294)],'CLOSED',{'enumerable':!0x0,'value':_0x196db2[_0x20c9af(0x26d)](_0x20c9af(0x269))}),['binaryType',_0x20c9af(0x2cb),_0x20c9af(0x237),_0x20c9af(0x2be),_0x20c9af(0x262),_0x20c9af(0x24b),_0x20c9af(0x278)]['forEach'](_0x2492bb=>{const _0x5244d3=_0x20c9af;Object[_0x5244d3(0x1b5)](_0x4fb982[_0x5244d3(0x294)],_0x2492bb,{'enumerable':!0x0});}),[_0x20c9af(0x2d9),_0x20c9af(0x2fc),_0x20c9af(0x25f),_0x20c9af(0x26c)]['forEach'](_0xb683ea=>{const _0x2ea8e6=_0x20c9af;Object[_0x2ea8e6(0x1b5)](_0x4fb982[_0x2ea8e6(0x294)],'on'+_0xb683ea,{'enumerable':!0x0,'get'(){for(const _0x3e622d of this['listeners'](_0xb683ea))if(_0x3e622d[_0x18a328])return _0x3e622d[_0x21a785];return null;},'set'(_0x5b3856){const _0x5bff62=_0x2ea8e6;for(const _0x82d5ca of this[_0x5bff62(0x1ee)](_0xb683ea))if(_0x82d5ca[_0x18a328]){this[_0x5bff62(0x248)](_0xb683ea,_0x82d5ca);break;}typeof _0x5b3856==_0x5bff62(0x1b4)&&this[_0x5bff62(0x27a)](_0xb683ea,_0x5b3856,{[_0x18a328]:!0x0});}});}),_0x4fb982[_0x20c9af(0x294)][_0x20c9af(0x27a)]=_0x307179,_0x4fb982[_0x20c9af(0x294)]['removeEventListener']=_0x32c92c,we=_0x4fb982;function _0x1ad0b5(_0x2c39b9,_0x4619f8,_0x4ced42,_0x388286){const _0x480a23=_0x20c9af,_0x4da1fd={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3e8e94[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x388286,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x480a23(0x23a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2c39b9['_autoPong']=_0x4da1fd[_0x480a23(0x2ad)],!_0x3e8e94[_0x480a23(0x2c8)](_0x4da1fd['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4da1fd[_0x480a23(0x1f6)]+_0x480a23(0x330)+_0x3e8e94['join'](',\x20')+')');let _0x4451fa;if(_0x4619f8 instanceof _0x239634)_0x4451fa=_0x4619f8;else try{_0x4451fa=new _0x239634(_0x4619f8);}catch{throw new SyntaxError(_0x480a23(0x271)+_0x4619f8);}_0x4451fa[_0x480a23(0x262)]==='http:'?_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x1e1):_0x4451fa['protocol']===_0x480a23(0x337)&&(_0x4451fa[_0x480a23(0x262)]=_0x480a23(0x324)),_0x2c39b9[_0x480a23(0x28d)]=_0x4451fa[_0x480a23(0x1f7)];const _0x4cd85e=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x324),_0x7ec17d=_0x4451fa[_0x480a23(0x262)]===_0x480a23(0x2b6);let _0x463b64;if(_0x4451fa[_0x480a23(0x262)]!=='ws:'&&!_0x4cd85e&&!_0x7ec17d?_0x463b64=_0x480a23(0x1f5):_0x7ec17d&&!_0x4451fa[_0x480a23(0x288)]?_0x463b64=_0x480a23(0x310):_0x4451fa[_0x480a23(0x1dd)]&&(_0x463b64=_0x480a23(0x32b)),_0x463b64){const _0x1d7359=new SyntaxError(_0x463b64);if(_0x2c39b9[_0x480a23(0x2bf)]===0x0)throw _0x1d7359;_0x5056d2(_0x2c39b9,_0x1d7359);return;}const _0x333dbd=_0x4cd85e?0x1bb:0x50,_0x5a491f=_0x17ffe5(0x10)[_0x480a23(0x1ec)]('base64'),_0x5b6af5=_0x4cd85e?_0xde473c['request']:_0xf0263d[_0x480a23(0x234)],_0x543e51=new Set();let _0x26b533;if(_0x4da1fd[_0x480a23(0x308)]=_0x4da1fd[_0x480a23(0x308)]||(_0x4cd85e?_0x205a91:_0x35ba68),_0x4da1fd[_0x480a23(0x2b5)]=_0x4da1fd[_0x480a23(0x2b5)]||_0x333dbd,_0x4da1fd[_0x480a23(0x220)]=_0x4451fa[_0x480a23(0x220)]||_0x333dbd,_0x4da1fd[_0x480a23(0x2e0)]=_0x4451fa[_0x480a23(0x305)][_0x480a23(0x1f3)]('[')?_0x4451fa[_0x480a23(0x305)][_0x480a23(0x284)](0x1,-0x1):_0x4451fa[_0x480a23(0x305)],_0x4da1fd[_0x480a23(0x1c7)]={..._0x4da1fd[_0x480a23(0x1c7)],'Sec-WebSocket-Version':_0x4da1fd[_0x480a23(0x1f6)],'Sec-WebSocket-Key':_0x5a491f,'Connection':'Upgrade','Upgrade':_0x480a23(0x2af)},_0x4da1fd[_0x480a23(0x229)]=_0x4451fa['pathname']+_0x4451fa['search'],_0x4da1fd[_0x480a23(0x353)]=_0x4da1fd[_0x480a23(0x22f)],_0x4da1fd[_0x480a23(0x1d2)]&&(_0x26b533=new _0x3786ea(_0x4da1fd[_0x480a23(0x1d2)]!==!0x0?_0x4da1fd[_0x480a23(0x1d2)]:{},!0x1,_0x4da1fd['maxPayload']),_0x4da1fd['headers'][_0x480a23(0x29b)]=_0x2f2c36({[_0x3786ea['extensionName']]:_0x26b533['offer']()})),_0x4ced42[_0x480a23(0x29d)]){for(const _0x317162 of _0x4ced42){if(typeof _0x317162!=_0x480a23(0x21e)||!_0x210204[_0x480a23(0x2d6)](_0x317162)||_0x543e51[_0x480a23(0x252)](_0x317162))throw new SyntaxError(_0x480a23(0x1ce));_0x543e51[_0x480a23(0x2dd)](_0x317162);}_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x309)]=_0x4ced42[_0x480a23(0x28a)](',');}if(_0x4da1fd[_0x480a23(0x2ae)]&&(_0x4da1fd[_0x480a23(0x1f6)]<0xd?_0x4da1fd['headers']['Sec-WebSocket-Origin']=_0x4da1fd[_0x480a23(0x2ae)]:_0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x296)]=_0x4da1fd[_0x480a23(0x2ae)]),(_0x4451fa['username']||_0x4451fa[_0x480a23(0x333)])&&(_0x4da1fd[_0x480a23(0x277)]=_0x4451fa[_0x480a23(0x24f)]+':'+_0x4451fa['password']),_0x7ec17d){const _0x3f4354=_0x4da1fd[_0x480a23(0x229)][_0x480a23(0x22c)](':');_0x4da1fd['socketPath']=_0x3f4354[0x0],_0x4da1fd['path']=_0x3f4354[0x1];}let _0xc66f27;if(_0x4da1fd[_0x480a23(0x1d5)]){if(_0x2c39b9[_0x480a23(0x2bf)]===0x0){_0x2c39b9[_0x480a23(0x32f)]=_0x7ec17d,_0x2c39b9[_0x480a23(0x334)]=_0x4cd85e,_0x2c39b9['_originalHostOrSocketPath']=_0x7ec17d?_0x4da1fd[_0x480a23(0x1e5)]:_0x4451fa[_0x480a23(0x2e0)];const _0x45608f=_0x388286&&_0x388286['headers'];if(_0x388286={..._0x388286,'headers':{}},_0x45608f){for(const [_0x3473fe,_0x10df03]of Object['entries'](_0x45608f))_0x388286['headers'][_0x3473fe[_0x480a23(0x1ef)]()]=_0x10df03;}}else{if(_0x2c39b9[_0x480a23(0x1fb)](_0x480a23(0x20d))===0x0){const _0x37fb14=_0x7ec17d?_0x2c39b9[_0x480a23(0x32f)]?_0x4da1fd[_0x480a23(0x1e5)]===_0x2c39b9[_0x480a23(0x291)]:!0x1:_0x2c39b9[_0x480a23(0x32f)]?!0x1:_0x4451fa[_0x480a23(0x2e0)]===_0x2c39b9[_0x480a23(0x291)];(!_0x37fb14||_0x2c39b9[_0x480a23(0x334)]&&!_0x4cd85e)&&(delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2a9)],delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x311)],_0x37fb14||delete _0x4da1fd[_0x480a23(0x1c7)][_0x480a23(0x2e0)],_0x4da1fd['auth']=void 0x0);}}_0x4da1fd[_0x480a23(0x277)]&&!_0x388286['headers']['authorization']&&(_0x388286[_0x480a23(0x1c7)][_0x480a23(0x2a9)]=_0x480a23(0x332)+Buffer['from'](_0x4da1fd[_0x480a23(0x277)])[_0x480a23(0x1ec)](_0x480a23(0x270))),_0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd),_0x2c39b9['_redirects']&&_0x2c39b9[_0x480a23(0x24c)]('redirect',_0x2c39b9[_0x480a23(0x278)],_0xc66f27);}else _0xc66f27=_0x2c39b9[_0x480a23(0x206)]=_0x5b6af5(_0x4da1fd);_0x4da1fd[_0x480a23(0x353)]&&_0xc66f27['on'](_0x480a23(0x353),()=>{const _0x28d586=_0x480a23;_0x10ce8d(_0x2c39b9,_0xc66f27,_0x28d586(0x24d));}),_0xc66f27['on'](_0x480a23(0x2fc),_0x542562=>{const _0x4377eb=_0x480a23;_0xc66f27===null||_0xc66f27[_0xbc7c79]||(_0xc66f27=_0x2c39b9[_0x4377eb(0x206)]=null,_0x5056d2(_0x2c39b9,_0x542562));}),_0xc66f27['on'](_0x480a23(0x1c8),_0x2f7576=>{const _0x584f86=_0x480a23,_0x5e7761=_0x2f7576['headers'][_0x584f86(0x2e8)],_0x3729d1=_0x2f7576[_0x584f86(0x255)];if(_0x5e7761&&_0x4da1fd[_0x584f86(0x1d5)]&&_0x3729d1>=0x12c&&_0x3729d1<0x190){if(++_0x2c39b9[_0x584f86(0x2bf)]>_0x4da1fd[_0x584f86(0x33a)]){_0x10ce8d(_0x2c39b9,_0xc66f27,'Maximum\x20redirects\x20exceeded');return;}_0xc66f27['abort']();let _0x2f7d1f;try{_0x2f7d1f=new _0x239634(_0x5e7761,_0x4619f8);}catch{const _0x5ebf06=new SyntaxError(_0x584f86(0x271)+_0x5e7761);_0x5056d2(_0x2c39b9,_0x5ebf06);return;}_0x1ad0b5(_0x2c39b9,_0x2f7d1f,_0x4ced42,_0x388286);}else _0x2c39b9[_0x584f86(0x24c)]('unexpected-response',_0xc66f27,_0x2f7576)||_0x10ce8d(_0x2c39b9,_0xc66f27,_0x584f86(0x1df)+_0x2f7576[_0x584f86(0x255)]);}),_0xc66f27['on'](_0x480a23(0x2cf),(_0x1ec1e5,_0x1f6f84,_0x10f668)=>{const _0x5160e3=_0x480a23;if(_0x2c39b9[_0x5160e3(0x24c)]('upgrade',_0x1ec1e5),_0x2c39b9[_0x5160e3(0x24b)]!==_0x4fb982[_0x5160e3(0x1dc)])return;_0xc66f27=_0x2c39b9[_0x5160e3(0x206)]=null;const _0x4e40d9=_0x1ec1e5[_0x5160e3(0x1c7)]['upgrade'];if(_0x4e40d9===void 0x0||_0x4e40d9[_0x5160e3(0x1ef)]()!==_0x5160e3(0x2af)){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x30c));return;}const _0x3eed28=_0x5f3b21('sha1')['update'](_0x5a491f+_0x2f97a4)[_0x5160e3(0x344)]('base64');if(_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x1bc)]!==_0x3eed28){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2baa21=_0x1ec1e5[_0x5160e3(0x1c7)]['sec-websocket-protocol'];let _0x1ac34c;if(_0x2baa21!==void 0x0?_0x543e51[_0x5160e3(0x1bb)]?_0x543e51[_0x5160e3(0x252)](_0x2baa21)||(_0x1ac34c='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ac34c=_0x5160e3(0x1bd):_0x543e51[_0x5160e3(0x1bb)]&&(_0x1ac34c=_0x5160e3(0x351)),_0x1ac34c){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x1ac34c);return;}_0x2baa21&&(_0x2c39b9['_protocol']=_0x2baa21);const _0x48a872=_0x1ec1e5[_0x5160e3(0x1c7)][_0x5160e3(0x21d)];if(_0x48a872!==void 0x0){if(!_0x26b533){_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x258));return;}let _0x5c3e20;try{_0x5c3e20=_0x56ed78(_0x48a872);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}const _0x53208d=Object['keys'](_0x5c3e20);if(_0x53208d[_0x5160e3(0x29d)]!==0x1||_0x53208d[0x0]!==_0x3786ea[_0x5160e3(0x23e)]){_0x10ce8d(_0x2c39b9,_0x1f6f84,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x26b533[_0x5160e3(0x2d5)](_0x5c3e20[_0x3786ea[_0x5160e3(0x23e)]]);}catch{_0x10ce8d(_0x2c39b9,_0x1f6f84,_0x5160e3(0x2da));return;}_0x2c39b9['_extensions'][_0x3786ea[_0x5160e3(0x23e)]]=_0x26b533;}_0x2c39b9['setSocket'](_0x1f6f84,_0x10f668,{'allowSynchronousEvents':_0x4da1fd[_0x5160e3(0x318)],'generateMask':_0x4da1fd[_0x5160e3(0x22d)],'maxPayload':_0x4da1fd['maxPayload'],'skipUTF8Validation':_0x4da1fd['skipUTF8Validation']});}),_0x4da1fd[_0x480a23(0x256)]?_0x4da1fd[_0x480a23(0x256)](_0xc66f27,_0x2c39b9):_0xc66f27['end']();}function _0x5056d2(_0x636d3f,_0x2bac9a){const _0x4ef664=_0x20c9af;_0x636d3f[_0x4ef664(0x254)]=_0x4fb982[_0x4ef664(0x236)],_0x636d3f['_errorEmitted']=!0x0,_0x636d3f[_0x4ef664(0x24c)](_0x4ef664(0x2fc),_0x2bac9a),_0x636d3f[_0x4ef664(0x30e)]();}function _0x35ba68(_0x5d8d28){const _0x103e9d=_0x20c9af;return _0x5d8d28[_0x103e9d(0x229)]=_0x5d8d28['socketPath'],_0x4e2835[_0x103e9d(0x2cc)](_0x5d8d28);}function _0x205a91(_0x2a46e){const _0xf023ff=_0x20c9af;return _0x2a46e[_0xf023ff(0x229)]=void 0x0,!_0x2a46e[_0xf023ff(0x273)]&&_0x2a46e['servername']!==''&&(_0x2a46e[_0xf023ff(0x273)]=_0x4e2835['isIP'](_0x2a46e[_0xf023ff(0x2e0)])?'':_0x2a46e['host']),_0x44e0de[_0xf023ff(0x2cc)](_0x2a46e);}function _0x10ce8d(_0x64c810,_0x3be0b1,_0xb56450){const _0x1195e3=_0x20c9af;_0x64c810['_readyState']=_0x4fb982[_0x1195e3(0x236)];const _0x42ae9b=new Error(_0xb56450);Error[_0x1195e3(0x1ba)](_0x42ae9b,_0x10ce8d),_0x3be0b1['setHeader']?(_0x3be0b1[_0xbc7c79]=!0x0,_0x3be0b1[_0x1195e3(0x2a3)](),_0x3be0b1['socket']&&!_0x3be0b1['socket'][_0x1195e3(0x325)]&&_0x3be0b1['socket'][_0x1195e3(0x31b)](),process[_0x1195e3(0x1c5)](_0x5056d2,_0x64c810,_0x42ae9b)):(_0x3be0b1[_0x1195e3(0x31b)](_0x42ae9b),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x2fc),_0x64c810[_0x1195e3(0x24c)][_0x1195e3(0x2f9)](_0x64c810,_0x1195e3(0x2fc))),_0x3be0b1[_0x1195e3(0x275)](_0x1195e3(0x25f),_0x64c810[_0x1195e3(0x30e)]['bind'](_0x64c810)));}function _0xfb87e8(_0x528562,_0x27f641,_0x2f511f){const _0x3ce521=_0x20c9af;if(_0x27f641){const _0x454171=_0x7971(_0x27f641)?_0x27f641[_0x3ce521(0x1bb)]:_0x48580e(_0x27f641)['length'];_0x528562['_socket']?_0x528562[_0x3ce521(0x230)][_0x3ce521(0x211)]+=_0x454171:_0x528562[_0x3ce521(0x348)]+=_0x454171;}if(_0x2f511f){const _0x5d3dd4=new Error(_0x3ce521(0x1fa)+_0x528562[_0x3ce521(0x24b)]+'\x20('+_0x196db2[_0x528562['readyState']]+')');process['nextTick'](_0x2f511f,_0x5d3dd4);}}function _0x42f9e3(_0x562adc,_0x4c8967){const _0x5487e3=_0x20c9af,_0x43a316=this[_0x2e419f];_0x43a316[_0x5487e3(0x2a5)]=!0x0,_0x43a316[_0x5487e3(0x2eb)]=_0x4c8967,_0x43a316[_0x5487e3(0x2a7)]=_0x562adc,_0x43a316[_0x5487e3(0x1cd)][_0x2e419f]!==void 0x0&&(_0x43a316[_0x5487e3(0x1cd)][_0x5487e3(0x248)](_0x5487e3(0x32e),_0x99a04e),process[_0x5487e3(0x1c5)](_0x9e9bb7,_0x43a316[_0x5487e3(0x1cd)]),_0x562adc===0x3ed?_0x43a316[_0x5487e3(0x25f)]():_0x43a316[_0x5487e3(0x25f)](_0x562adc,_0x4c8967));}function _0x16c99e(){const _0x1b863f=_0x20c9af,_0x1337fe=this[_0x2e419f];_0x1337fe['isPaused']||_0x1337fe[_0x1b863f(0x1cd)]['resume']();}function _0x382241(_0x1da99d){const _0x3d1e1f=_0x20c9af,_0x12d10f=this[_0x2e419f];_0x12d10f[_0x3d1e1f(0x1cd)][_0x2e419f]!==void 0x0&&(_0x12d10f[_0x3d1e1f(0x1cd)][_0x3d1e1f(0x248)](_0x3d1e1f(0x32e),_0x99a04e),process[_0x3d1e1f(0x1c5)](_0x9e9bb7,_0x12d10f['_socket']),_0x12d10f[_0x3d1e1f(0x25f)](_0x1da99d[_0x12bf0d])),_0x12d10f[_0x3d1e1f(0x2e4)]||(_0x12d10f[_0x3d1e1f(0x2e4)]=!0x0,_0x12d10f[_0x3d1e1f(0x24c)](_0x3d1e1f(0x2fc),_0x1da99d));}function _0x53d017(){const _0x385651=_0x20c9af;this[_0x2e419f][_0x385651(0x30e)]();}function _0x2b7f39(_0x82d911,_0x18b13d){const _0x24f691=_0x20c9af;this[_0x2e419f]['emit'](_0x24f691(0x26c),_0x82d911,_0x18b13d);}function _0xd73804(_0x35bef3){const _0x5bcd89=_0x20c9af,_0xd5f929=this[_0x2e419f];_0xd5f929[_0x5bcd89(0x34a)]&&_0xd5f929[_0x5bcd89(0x2c2)](_0x35bef3,!this[_0x5bcd89(0x313)],_0x509624),_0xd5f929['emit'](_0x5bcd89(0x32a),_0x35bef3);}function _0x427cc6(_0x51b7a3){const _0x13f47d=_0x20c9af;this[_0x2e419f][_0x13f47d(0x24c)](_0x13f47d(0x2c2),_0x51b7a3);}function _0x9e9bb7(_0x169290){const _0x35ab3d=_0x20c9af;_0x169290[_0x35ab3d(0x33e)]();}function _0x427a93(_0x42d42a){const _0x100843=_0x20c9af,_0x5292f2=this[_0x2e419f];_0x5292f2[_0x100843(0x24b)]!==_0x4fb982[_0x100843(0x269)]&&(_0x5292f2[_0x100843(0x24b)]===_0x4fb982['OPEN']&&(_0x5292f2[_0x100843(0x254)]=_0x4fb982[_0x100843(0x236)],_0x34fdd1(_0x5292f2)),this[_0x100843(0x1cd)][_0x100843(0x298)](),_0x5292f2['_errorEmitted']||(_0x5292f2[_0x100843(0x2e4)]=!0x0,_0x5292f2[_0x100843(0x24c)](_0x100843(0x2fc),_0x42d42a)));}function _0x34fdd1(_0x422003){const _0x34335a=_0x20c9af;_0x422003['_closeTimer']=setTimeout(_0x422003[_0x34335a(0x1cd)][_0x34335a(0x31b)]['bind'](_0x422003[_0x34335a(0x1cd)]),_0x1558ce);}function _0x335c5e(){const _0x211a2e=_0x20c9af,_0x4bb7c0=this[_0x2e419f];this[_0x211a2e(0x248)](_0x211a2e(0x25f),_0x335c5e),this[_0x211a2e(0x248)](_0x211a2e(0x32e),_0x99a04e),this[_0x211a2e(0x248)](_0x211a2e(0x298),_0x256562),_0x4bb7c0['_readyState']=_0x4fb982[_0x211a2e(0x236)];let _0x35143f;!this[_0x211a2e(0x1b3)][_0x211a2e(0x302)]&&!_0x4bb7c0[_0x211a2e(0x2a5)]&&!_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)]['errorEmitted']&&(_0x35143f=_0x4bb7c0[_0x211a2e(0x1cd)][_0x211a2e(0x240)]())!==null&&_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x225)](_0x35143f),_0x4bb7c0['_receiver'][_0x211a2e(0x298)](),this[_0x2e419f]=void 0x0,clearTimeout(_0x4bb7c0['_closeTimer']),_0x4bb7c0['_receiver']['_writableState'][_0x211a2e(0x34e)]||_0x4bb7c0[_0x211a2e(0x30a)][_0x211a2e(0x34d)][_0x211a2e(0x342)]?_0x4bb7c0[_0x211a2e(0x30e)]():(_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2fc),_0x53d017),_0x4bb7c0[_0x211a2e(0x30a)]['on'](_0x211a2e(0x2b1),_0x53d017));}function _0x99a04e(_0x4ed66e){const _0x369cc0=_0x20c9af;this[_0x2e419f][_0x369cc0(0x30a)]['write'](_0x4ed66e)||this[_0x369cc0(0x1c2)]();}function _0x256562(){const _0x1a12df=_0x20c9af,_0x5dae83=this[_0x2e419f];_0x5dae83[_0x1a12df(0x254)]=_0x4fb982[_0x1a12df(0x236)],_0x5dae83[_0x1a12df(0x30a)][_0x1a12df(0x298)](),this['end']();}function _0x4ce5f9(){const _0x175921=_0x20c9af,_0x25b4d5=this[_0x2e419f];this[_0x175921(0x248)](_0x175921(0x2fc),_0x4ce5f9),this['on']('error',_0x509624),_0x25b4d5&&(_0x25b4d5[_0x175921(0x254)]=_0x4fb982[_0x175921(0x236)],this[_0x175921(0x31b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3b8b1d}=_0x3ebcaa;function _0x1a2398(_0x114118){const _0x9d55b7=_0x5878;_0x114118[_0x9d55b7(0x24c)](_0x9d55b7(0x25f));}function _0x3163e2(){const _0x48410c=_0x5878;!this['destroyed']&&this[_0x48410c(0x34d)][_0x48410c(0x34e)]&&this[_0x48410c(0x31b)]();}function _0x9c2f92(_0x8be39a){const _0xfcee58=_0x5878;this[_0xfcee58(0x248)]('error',_0x9c2f92),this[_0xfcee58(0x31b)](),this[_0xfcee58(0x1fb)](_0xfcee58(0x2fc))===0x0&&this[_0xfcee58(0x24c)](_0xfcee58(0x2fc),_0x8be39a);}function _0x3931a3(_0x49bc2a,_0x40817d){const _0x1aa697=_0x5878;let _0x3ebbce=!0x0;const _0x3946d3=new _0x3b8b1d({..._0x40817d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x49bc2a['on'](_0x1aa697(0x26c),function(_0x236438,_0x48029d){const _0x3f3d45=_0x1aa697,_0x222f68=!_0x48029d&&_0x3946d3[_0x3f3d45(0x1b3)][_0x3f3d45(0x338)]?_0x236438[_0x3f3d45(0x1ec)]():_0x236438;_0x3946d3[_0x3f3d45(0x29f)](_0x222f68)||_0x49bc2a[_0x3f3d45(0x1c2)]();}),_0x49bc2a[_0x1aa697(0x275)]('error',function(_0x200365){const _0x2306b2=_0x1aa697;_0x3946d3[_0x2306b2(0x325)]||(_0x3ebbce=!0x1,_0x3946d3[_0x2306b2(0x31b)](_0x200365));}),_0x49bc2a[_0x1aa697(0x275)](_0x1aa697(0x25f),function(){const _0x241a91=_0x1aa697;_0x3946d3[_0x241a91(0x325)]||_0x3946d3[_0x241a91(0x29f)](null);}),_0x3946d3[_0x1aa697(0x213)]=function(_0x56f78d,_0x2aedc1){const _0x13f188=_0x1aa697;if(_0x49bc2a[_0x13f188(0x24b)]===_0x49bc2a[_0x13f188(0x269)]){_0x2aedc1(_0x56f78d),process[_0x13f188(0x1c5)](_0x1a2398,_0x3946d3);return;}let _0x5b3b45=!0x1;_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x2fc),function(_0x431f45){_0x5b3b45=!0x0,_0x2aedc1(_0x431f45);}),_0x49bc2a[_0x13f188(0x275)](_0x13f188(0x25f),function(){const _0x424fe4=_0x13f188;_0x5b3b45||_0x2aedc1(_0x56f78d),process[_0x424fe4(0x1c5)](_0x1a2398,_0x3946d3);}),_0x3ebbce&&_0x49bc2a[_0x13f188(0x246)]();},_0x3946d3[_0x1aa697(0x2a4)]=function(_0x3b74f5){const _0x448035=_0x1aa697;if(_0x49bc2a[_0x448035(0x24b)]===_0x49bc2a[_0x448035(0x1dc)]){_0x49bc2a['once'](_0x448035(0x2d9),function(){const _0x4fe6bb=_0x448035;_0x3946d3[_0x4fe6bb(0x2a4)](_0x3b74f5);});return;}_0x49bc2a[_0x448035(0x1cd)]!==null&&(_0x49bc2a[_0x448035(0x1cd)]['_writableState'][_0x448035(0x34e)]?(_0x3b74f5(),_0x3946d3['_readableState'][_0x448035(0x302)]&&_0x3946d3[_0x448035(0x31b)]()):(_0x49bc2a[_0x448035(0x1cd)][_0x448035(0x275)](_0x448035(0x2b1),function(){_0x3b74f5();}),_0x49bc2a[_0x448035(0x25f)]()));},_0x3946d3[_0x1aa697(0x1e9)]=function(){const _0x268bee=_0x1aa697;_0x49bc2a['isPaused']&&_0x49bc2a[_0x268bee(0x33e)]();},_0x3946d3[_0x1aa697(0x21b)]=function(_0x56ae3e,_0x33aefa,_0x4b42db){const _0x384571=_0x1aa697;if(_0x49bc2a[_0x384571(0x24b)]===_0x49bc2a[_0x384571(0x1dc)]){_0x49bc2a[_0x384571(0x275)]('open',function(){const _0x10ebd5=_0x384571;_0x3946d3[_0x10ebd5(0x21b)](_0x56ae3e,_0x33aefa,_0x4b42db);});return;}_0x49bc2a['send'](_0x56ae3e,_0x4b42db);},_0x3946d3['on'](_0x1aa697(0x298),_0x3163e2),_0x3946d3['on'](_0x1aa697(0x2fc),_0x9c2f92),_0x3946d3;}return Oe=_0x3931a3,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x28dd7f}=ne();function _0x581b88(_0xee0849){const _0x347b38=_0x5878,_0x5ae9bd=new Set();let _0x539bbf=-0x1,_0x212f93=-0x1,_0x5edea8=0x0;for(_0x5edea8;_0x5edea8<_0xee0849[_0x347b38(0x29d)];_0x5edea8++){const _0x507381=_0xee0849[_0x347b38(0x2a6)](_0x5edea8);if(_0x212f93===-0x1&&_0x28dd7f[_0x507381]===0x1)_0x539bbf===-0x1&&(_0x539bbf=_0x5edea8);else{if(_0x5edea8!==0x0&&(_0x507381===0x20||_0x507381===0x9))_0x212f93===-0x1&&_0x539bbf!==-0x1&&(_0x212f93=_0x5edea8);else{if(_0x507381===0x2c){if(_0x539bbf===-0x1)throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);_0x212f93===-0x1&&(_0x212f93=_0x5edea8);const _0x3d7b16=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x212f93);if(_0x5ae9bd['has'](_0x3d7b16))throw new SyntaxError(_0x347b38(0x1b9)+_0x3d7b16+_0x347b38(0x346));_0x5ae9bd[_0x347b38(0x2dd)](_0x3d7b16),_0x539bbf=_0x212f93=-0x1;}else throw new SyntaxError(_0x347b38(0x22b)+_0x5edea8);}}}if(_0x539bbf===-0x1||_0x212f93!==-0x1)throw new SyntaxError(_0x347b38(0x247));const _0x5769d7=_0xee0849[_0x347b38(0x284)](_0x539bbf,_0x5edea8);if(_0x5ae9bd['has'](_0x5769d7))throw new SyntaxError(_0x347b38(0x1b9)+_0x5769d7+_0x347b38(0x346));return _0x5ae9bd[_0x347b38(0x2dd)](_0x5769d7),_0x5ae9bd;}return Ce={'parse':_0x581b88},Ce;}var Te,ot;function er(){const _0x35cade=_0x3b2d4f;if(ot)return Te;ot=0x1;const _0x3e452d=_0x285de2,_0x46fddf=_0x4c53ad,{Duplex:_0x4daa1e}=_0x3ebcaa,{createHash:_0x545204}=_0x31487d,_0x5d68b3=pt(),_0x5db51b=he(),_0x3c9431=Jt(),_0x3ac168=Ie(),{GUID:_0x20adb1,kWebSocket:_0x10b794}=V(),_0x19060=/^[+/0-9A-Za-z]{22}==$/,_0x4a60df=0x0,_0x47b19d=0x1,_0x141bdb=0x2;class _0x100056 extends _0x3e452d{constructor(_0x3c45c0,_0x2831af){const _0x3c8eeb=_0x5878;if(super(),_0x3c45c0={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'maxPayload':0x64*0x400*0x400,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x1,'handleProtocols':null,'clientTracking':!0x0,'verifyClient':null,'noServer':!0x1,'backlog':null,'server':null,'host':null,'path':null,'port':null,'WebSocket':_0x3ac168,..._0x3c45c0},_0x3c45c0[_0x3c8eeb(0x220)]==null&&!_0x3c45c0[_0x3c8eeb(0x1fe)]&&!_0x3c45c0[_0x3c8eeb(0x2c7)]||_0x3c45c0[_0x3c8eeb(0x220)]!=null&&(_0x3c45c0['server']||_0x3c45c0['noServer'])||_0x3c45c0[_0x3c8eeb(0x1fe)]&&_0x3c45c0[_0x3c8eeb(0x2c7)])throw new TypeError(_0x3c8eeb(0x26f));if(_0x3c45c0['port']!=null?(this[_0x3c8eeb(0x33f)]=_0x46fddf[_0x3c8eeb(0x2fd)]((_0x415f61,_0x4dd64b)=>{const _0x3bb6b4=_0x3c8eeb,_0x1e1773=_0x46fddf[_0x3bb6b4(0x212)][0x1aa];_0x4dd64b['writeHead'](0x1aa,{'Content-Length':_0x1e1773['length'],'Content-Type':'text/plain'}),_0x4dd64b[_0x3bb6b4(0x298)](_0x1e1773);}),this[_0x3c8eeb(0x33f)][_0x3c8eeb(0x25c)](_0x3c45c0[_0x3c8eeb(0x220)],_0x3c45c0[_0x3c8eeb(0x2e0)],_0x3c45c0[_0x3c8eeb(0x27b)],_0x2831af)):_0x3c45c0['server']&&(this[_0x3c8eeb(0x33f)]=_0x3c45c0['server']),this[_0x3c8eeb(0x33f)]){const _0x42cbc0=this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,_0x3c8eeb(0x1d3));this[_0x3c8eeb(0x2e2)]=_0x1bb3ec(this['_server'],{'listening':this[_0x3c8eeb(0x24c)][_0x3c8eeb(0x2f9)](this,'listening'),'error':this[_0x3c8eeb(0x24c)]['bind'](this,_0x3c8eeb(0x2fc)),'upgrade':(_0x3856cc,_0x2f1280,_0x560d23)=>{const _0x15ccde=_0x3c8eeb;this[_0x15ccde(0x306)](_0x3856cc,_0x2f1280,_0x560d23,_0x42cbc0);}});}_0x3c45c0[_0x3c8eeb(0x1d2)]===!0x0&&(_0x3c45c0[_0x3c8eeb(0x1d2)]={}),_0x3c45c0[_0x3c8eeb(0x300)]&&(this[_0x3c8eeb(0x1c6)]=new Set(),this[_0x3c8eeb(0x1cc)]=!0x1),this['options']=_0x3c45c0,this['_state']=_0x4a60df;}[_0x35cade(0x2fe)](){const _0x32ae03=_0x35cade;if(this[_0x32ae03(0x274)][_0x32ae03(0x2c7)])throw new Error(_0x32ae03(0x1c1));return this['_server']?this[_0x32ae03(0x33f)][_0x32ae03(0x2fe)]():null;}['close'](_0x2ae13e){const _0x3a2082=_0x35cade;if(this[_0x3a2082(0x2e6)]===_0x141bdb){_0x2ae13e&&this['once'](_0x3a2082(0x25f),()=>{const _0x3b8340=_0x3a2082;_0x2ae13e(new Error(_0x3b8340(0x322)));}),process['nextTick'](_0x32a463,this);return;}if(_0x2ae13e&&this['once'](_0x3a2082(0x25f),_0x2ae13e),this[_0x3a2082(0x2e6)]!==_0x47b19d){if(this[_0x3a2082(0x2e6)]=_0x47b19d,this[_0x3a2082(0x274)][_0x3a2082(0x2c7)]||this[_0x3a2082(0x274)][_0x3a2082(0x1fe)])this['_server']&&(this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null),this[_0x3a2082(0x1c6)]?this[_0x3a2082(0x1c6)]['size']?this['_shouldEmitClose']=!0x0:process[_0x3a2082(0x1c5)](_0x32a463,this):process['nextTick'](_0x32a463,this);else{const _0x43d803=this[_0x3a2082(0x33f)];this[_0x3a2082(0x2e2)](),this[_0x3a2082(0x2e2)]=this[_0x3a2082(0x33f)]=null,_0x43d803[_0x3a2082(0x25f)](()=>{_0x32a463(this);});}}}[_0x35cade(0x1b1)](_0x35dbbf){const _0x5f079b=_0x35cade;if(this[_0x5f079b(0x274)][_0x5f079b(0x229)]){const _0x54a149=_0x35dbbf['url'][_0x5f079b(0x26d)]('?');if((_0x54a149!==-0x1?_0x35dbbf[_0x5f079b(0x278)][_0x5f079b(0x284)](0x0,_0x54a149):_0x35dbbf[_0x5f079b(0x278)])!==this[_0x5f079b(0x274)][_0x5f079b(0x229)])return!0x1;}return!0x0;}[_0x35cade(0x306)](_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f){const _0x9e7d45=_0x35cade;_0x3be40a['on'](_0x9e7d45(0x2fc),_0x93babf);const _0xcab2f2=_0x2b0856[_0x9e7d45(0x1c7)]['sec-websocket-key'],_0x24cfc2=_0x2b0856[_0x9e7d45(0x1c7)]['upgrade'],_0x3f86e0=+_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x244)];if(_0x2b0856[_0x9e7d45(0x2a1)]!=='GET'){_0x5872a0(this,_0x2b0856,_0x3be40a,0x195,_0x9e7d45(0x2ef));return;}if(_0x24cfc2===void 0x0||_0x24cfc2[_0x9e7d45(0x1ef)]()!==_0x9e7d45(0x2af)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x30c));return;}if(_0xcab2f2===void 0x0||!_0x19060[_0x9e7d45(0x2d6)](_0xcab2f2)){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x223));return;}if(_0x3f86e0!==0x8&&_0x3f86e0!==0xd){_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,_0x9e7d45(0x34f));return;}if(!this[_0x9e7d45(0x1b1)](_0x2b0856)){_0x5ea0cc(_0x3be40a,0x190);return;}const _0x29abd9=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x251)];let _0x4f7ee7=new Set();if(_0x29abd9!==void 0x0)try{_0x4f7ee7=_0x3c9431[_0x9e7d45(0x33b)](_0x29abd9);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x101c93=_0x2b0856[_0x9e7d45(0x1c7)][_0x9e7d45(0x21d)],_0x380b2e={};if(this[_0x9e7d45(0x274)]['perMessageDeflate']&&_0x101c93!==void 0x0){const _0x2df4e5=new _0x5db51b(this[_0x9e7d45(0x274)][_0x9e7d45(0x1d2)],!0x0,this[_0x9e7d45(0x274)][_0x9e7d45(0x1d1)]);try{const _0x1d2c25=_0x5d68b3[_0x9e7d45(0x33b)](_0x101c93);_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]&&(_0x2df4e5[_0x9e7d45(0x2d5)](_0x1d2c25[_0x5db51b[_0x9e7d45(0x23e)]]),_0x380b2e[_0x5db51b[_0x9e7d45(0x23e)]]=_0x2df4e5);}catch{_0x5872a0(this,_0x2b0856,_0x3be40a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x9e7d45(0x25e)]){const _0x2569f6={'origin':_0x2b0856[_0x9e7d45(0x1c7)][''+(_0x3f86e0===0x8?_0x9e7d45(0x2e7):'origin')],'secure':!!(_0x2b0856['socket'][_0x9e7d45(0x241)]||_0x2b0856[_0x9e7d45(0x23d)][_0x9e7d45(0x214)]),'req':_0x2b0856};if(this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)][_0x9e7d45(0x29d)]===0x2){this['options']['verifyClient'](_0x2569f6,(_0x5121ce,_0x49c1e5,_0x310486,_0x1d7dd4)=>{const _0x56dddb=_0x9e7d45;if(!_0x5121ce)return _0x5ea0cc(_0x3be40a,_0x49c1e5||0x191,_0x310486,_0x1d7dd4);this[_0x56dddb(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);});return;}if(!this[_0x9e7d45(0x274)][_0x9e7d45(0x25e)](_0x2569f6))return _0x5ea0cc(_0x3be40a,0x191);}this[_0x9e7d45(0x1e6)](_0x380b2e,_0xcab2f2,_0x4f7ee7,_0x2b0856,_0x3be40a,_0x395c3f,_0x58e37f);}[_0x35cade(0x1e6)](_0x5e7247,_0x299d81,_0x17542b,_0x2fcfed,_0x7628ca,_0x4c226e,_0x28245a){const _0x43ae46=_0x35cade;if(!_0x7628ca[_0x43ae46(0x326)]||!_0x7628ca['writable'])return _0x7628ca[_0x43ae46(0x31b)]();if(_0x7628ca[_0x10b794])throw new Error(_0x43ae46(0x315));if(this[_0x43ae46(0x2e6)]>_0x4a60df)return _0x5ea0cc(_0x7628ca,0x1f7);const _0x5d58d5=[_0x43ae46(0x242),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x43ae46(0x2d4)+_0x545204(_0x43ae46(0x224))[_0x43ae46(0x2b2)](_0x299d81+_0x20adb1)[_0x43ae46(0x344)]('base64')],_0x51266e=new this['options'][(_0x43ae46(0x350))](null,void 0x0,this['options']);if(_0x17542b[_0x43ae46(0x1bb)]){const _0x5f3854=this[_0x43ae46(0x274)]['handleProtocols']?this[_0x43ae46(0x274)][_0x43ae46(0x1f0)](_0x17542b,_0x2fcfed):_0x17542b[_0x43ae46(0x2b7)]()[_0x43ae46(0x1e2)]()[_0x43ae46(0x2f8)];_0x5f3854&&(_0x5d58d5[_0x43ae46(0x29f)]('Sec-WebSocket-Protocol:\x20'+_0x5f3854),_0x51266e['_protocol']=_0x5f3854);}if(_0x5e7247[_0x5db51b['extensionName']]){const _0x3ecb96=_0x5e7247[_0x5db51b[_0x43ae46(0x23e)]][_0x43ae46(0x25a)],_0x10c330=_0x5d68b3[_0x43ae46(0x2f1)]({[_0x5db51b[_0x43ae46(0x23e)]]:[_0x3ecb96]});_0x5d58d5[_0x43ae46(0x29f)](_0x43ae46(0x216)+_0x10c330),_0x51266e[_0x43ae46(0x2bd)]=_0x5e7247;}this[_0x43ae46(0x24c)](_0x43ae46(0x1c7),_0x5d58d5,_0x2fcfed),_0x7628ca[_0x43ae46(0x225)](_0x5d58d5[_0x43ae46(0x314)]('\x0d\x0a')[_0x43ae46(0x28a)]('\x0d\x0a')),_0x7628ca[_0x43ae46(0x248)]('error',_0x93babf),_0x51266e[_0x43ae46(0x289)](_0x7628ca,_0x4c226e,{'allowSynchronousEvents':this[_0x43ae46(0x274)][_0x43ae46(0x318)],'maxPayload':this[_0x43ae46(0x274)][_0x43ae46(0x1d1)],'skipUTF8Validation':this[_0x43ae46(0x274)][_0x43ae46(0x2f3)]}),this['clients']&&(this[_0x43ae46(0x1c6)][_0x43ae46(0x2dd)](_0x51266e),_0x51266e['on']('close',()=>{const _0x52c0c3=_0x43ae46;this['clients'][_0x52c0c3(0x27c)](_0x51266e),this[_0x52c0c3(0x1cc)]&&!this[_0x52c0c3(0x1c6)][_0x52c0c3(0x1bb)]&&process[_0x52c0c3(0x1c5)](_0x32a463,this);})),_0x28245a(_0x51266e,_0x2fcfed);}}Te=_0x100056;function _0x1bb3ec(_0x57e855,_0xb533d6){for(const _0x4e42d4 of Object['keys'](_0xb533d6))_0x57e855['on'](_0x4e42d4,_0xb533d6[_0x4e42d4]);return function(){const _0x30aff7=_0x5878;for(const _0x59c021 of Object[_0x30aff7(0x235)](_0xb533d6))_0x57e855[_0x30aff7(0x248)](_0x59c021,_0xb533d6[_0x59c021]);};}function _0x32a463(_0x50b8b5){const _0x547772=_0x35cade;_0x50b8b5[_0x547772(0x2e6)]=_0x141bdb,_0x50b8b5[_0x547772(0x24c)](_0x547772(0x25f));}function _0x93babf(){const _0x278464=_0x35cade;this[_0x278464(0x31b)]();}function _0x5ea0cc(_0xddbecc,_0x314d99,_0xcaf91b,_0x182d61){const _0xa5b7e1=_0x35cade;_0xcaf91b=_0xcaf91b||_0x46fddf[_0xa5b7e1(0x212)][_0x314d99],_0x182d61={'Connection':_0xa5b7e1(0x25f),'Content-Type':_0xa5b7e1(0x279),'Content-Length':Buffer['byteLength'](_0xcaf91b),..._0x182d61},_0xddbecc[_0xa5b7e1(0x275)](_0xa5b7e1(0x2b1),_0xddbecc[_0xa5b7e1(0x31b)]),_0xddbecc[_0xa5b7e1(0x298)]('HTTP/1.1\x20'+_0x314d99+'\x20'+_0x46fddf[_0xa5b7e1(0x212)][_0x314d99]+'\x0d\x0a'+Object[_0xa5b7e1(0x235)](_0x182d61)[_0xa5b7e1(0x2d2)](_0x1eea92=>_0x1eea92+':\x20'+_0x182d61[_0x1eea92])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0xcaf91b);}function _0x5872a0(_0x5f2151,_0x252fe2,_0x282e3a,_0x59642d,_0x575e68){const _0x3acaca=_0x35cade;if(_0x5f2151[_0x3acaca(0x1fb)](_0x3acaca(0x1fd))){const _0x228191=new Error(_0x575e68);Error[_0x3acaca(0x1ba)](_0x228191,_0x5872a0),_0x5f2151[_0x3acaca(0x24c)]('wsClientError',_0x228191,_0x282e3a,_0x252fe2);}else _0x5ea0cc(_0x282e3a,_0x59642d,_0x575e68);}return Te;}er();function _0x5878(_0xfb7f70,_0x179349){const _0xaa379f=_0xaa37();return _0x5878=function(_0x58789c,_0x5a3dbc){_0x58789c=_0x58789c-0x1b1;let _0x2523c3=_0xaa379f[_0x58789c];return _0x2523c3;},_0x5878(_0xfb7f70,_0x179349);}var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4f22fd,_0x31433b,_0x4d9bdc,_0x22d54a)=>{for(var _0x211001=_0x22d54a>0x1?void 0x0:_0x22d54a?tr(_0x31433b,_0x4d9bdc):_0x31433b,_0x2e2d1a=_0x4f22fd['length']-0x1,_0x3ab649;_0x2e2d1a>=0x0;_0x2e2d1a--)(_0x3ab649=_0x4f22fd[_0x2e2d1a])&&(_0x211001=_0x3ab649(_0x211001)||_0x211001);return _0x211001;},sr=(_0x6bffcd,_0x5b8c4a)=>(_0x30a556,_0x38320c)=>_0x5b8c4a(_0x30a556,_0x38320c,_0x6bffcd);let Ne=class extends _0x5d8c1e{constructor(_0x25e1ac){super(),this['_configService']=_0x25e1ac;}[_0x3b2d4f(0x30f)](_0x1671f4){const _0x1b6bf8=_0x3b2d4f;var _0x4cb640;const _0x3cecc8=(_0x4cb640=this[_0x1b6bf8(0x203)][_0x1b6bf8(0x283)](Be))==null?void 0x0:_0x4cb640[_0x1b6bf8(0x2ab)];try{const _0xc102f6=new Qt(_0x1671f4,{'headers':{..._0x3cecc8}}),_0x37acf3=new _0x4bfb28();return{'URL':_0x1671f4,'close':(_0x104118,_0x2ce825)=>{const _0x15ba70=_0x1b6bf8;_0xc102f6[_0x15ba70(0x25f)](_0x104118,_0x2ce825),_0x37acf3[_0x15ba70(0x1eb)]();},'send':_0x33ba2d=>{const _0x1b0cda=_0x1b6bf8;_0xc102f6[_0x1b0cda(0x1c0)](_0x33ba2d);},'open$':new _0x2f42c6(_0x27a8ea=>{const _0x448db4=_0x1b6bf8,_0x1fba1e=_0x4f9c41=>_0x27a8ea['next'](_0x4f9c41);_0xc102f6[_0x448db4(0x27a)](_0x448db4(0x2d9),_0x1fba1e),_0x37acf3[_0x448db4(0x2dd)](_0x2cc068(()=>_0xc102f6[_0x448db4(0x276)](_0x448db4(0x2d9),_0x1fba1e)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'close$':new _0x2f42c6(_0x1a5958=>{const _0xdb77b9=_0x1b6bf8,_0x4cbee8=_0x1423ad=>_0x1a5958[_0xdb77b9(0x1e2)](_0x1423ad);_0xc102f6[_0xdb77b9(0x27a)]('close',_0x4cbee8),_0x37acf3[_0xdb77b9(0x2dd)](_0x2cc068(()=>_0xc102f6[_0xdb77b9(0x276)]('close',_0x4cbee8)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'error$':new _0x2f42c6(_0x479bb9=>{const _0x131f06=_0x1b6bf8,_0x8eefd0=_0x51db33=>_0x479bb9[_0x131f06(0x1e2)](_0x51db33);_0xc102f6[_0x131f06(0x27a)]('error',_0x8eefd0),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x131f06(0x276)](_0x131f06(0x2fc),_0x8eefd0)));})[_0x1b6bf8(0x243)](_0x1b1d90()),'message$':new _0x2f42c6(_0x37ba76=>{const _0x1152b7=_0x1b6bf8,_0x1f99ce=_0x10b522=>_0x37ba76[_0x1152b7(0x1e2)](_0x10b522);_0xc102f6[_0x1152b7(0x27a)](_0x1152b7(0x26c),_0x1f99ce),_0x37acf3['add'](_0x2cc068(()=>_0xc102f6[_0x1152b7(0x276)](_0x1152b7(0x26c),_0x1f99ce)));})[_0x1b6bf8(0x243)](_0x1b1d90())};}catch(_0x5ae11d){return console[_0x1b6bf8(0x2fc)](_0x5ae11d),null;}}};Ne=rr([sr(0x0,_0x3172c0)],Ne);var ir=Object[_0x3b2d4f(0x1b5)],nr=Object[_0x3b2d4f(0x2f0)],or=(_0x763092,_0x5b3825,_0x583dee)=>_0x5b3825 in _0x763092?ir(_0x763092,_0x5b3825,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583dee}):_0x763092[_0x5b3825]=_0x583dee,ar=(_0x433151,_0x5da165,_0x249cc5,_0x7a5dee)=>{const _0x2a9a0d=_0x3b2d4f;for(var _0x4f08ee=_0x7a5dee>0x1?void 0x0:_0x7a5dee?nr(_0x5da165,_0x249cc5):_0x5da165,_0x631251=_0x433151[_0x2a9a0d(0x29d)]-0x1,_0x190078;_0x631251>=0x0;_0x631251--)(_0x190078=_0x433151[_0x631251])&&(_0x4f08ee=_0x190078(_0x4f08ee)||_0x4f08ee);return _0x4f08ee;},ke=(_0x484778,_0x103e67)=>(_0x4fe281,_0x164330)=>_0x103e67(_0x4fe281,_0x164330,_0x484778),lr=(_0x11d948,_0x3cc680,_0x308eed)=>or(_0x11d948,_0x3cc680+'',_0x308eed);let Pe=class extends _0x3b72c9{constructor(_0x3ab005=Ft,_0x216eaf,_0x475c8f,_0x33108e){const _0xb6667b=_0x3b2d4f;_0x3ab005['customHeaders']||_0x216eaf[_0xb6667b(0x226)](_0xb6667b(0x2a2)),super(),this[_0xb6667b(0x203)]=_0x475c8f,this[_0xb6667b(0x263)]=_0x33108e,this[_0xb6667b(0x203)][_0xb6667b(0x2ff)](Be,_0x3ab005);}[_0x3b2d4f(0x1f4)](){const _0x4bae1c=_0x3b2d4f;this[_0x4bae1c(0x21a)]();}['_registerDependencies'](){const _0x53a2f6=_0x3b2d4f;_0x1351e9(this[_0x53a2f6(0x263)],[[_0xe99879,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3b2d4f(0x286)),Pe=ar([_0x285740(_0x3c982b),ke(0x1,_0x3ba426),ke(0x2,_0x3172c0),ke(0x3,_0x204b9c(_0x14fdda))],Pe);var fr=Object[_0x3b2d4f(0x2f0)],cr=(_0x37ed76,_0x25540d,_0x4686bf,_0x458a31)=>{const _0x5b1068=_0x3b2d4f;for(var _0x71dd17=_0x458a31>0x1?void 0x0:_0x458a31?fr(_0x25540d,_0x4686bf):_0x25540d,_0x4b0bc6=_0x37ed76[_0x5b1068(0x29d)]-0x1,_0x2f401f;_0x4b0bc6>=0x0;_0x4b0bc6--)(_0x2f401f=_0x37ed76[_0x4b0bc6])&&(_0x71dd17=_0x2f401f(_0x71dd17)||_0x71dd17);return _0x71dd17;},se=(_0x31e521,_0x2a1163)=>(_0x1637b0,_0x5db644)=>_0x2a1163(_0x1637b0,_0x5db644,_0x31e521);let at=class extends _0x533d18{constructor(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60){const _0x2fc3b6=_0x3b2d4f;super(_0x5c1523,_0x575b25,_0x2ccd2f,_0x59533d,_0x488d60);const _0x1f0714=this['_configService'][_0x2fc3b6(0x283)](Be);this[_0x2fc3b6(0x345)][_0x2fc3b6(0x1b2)]({'interceptor':(_0x5cfafc,_0x4e82b5)=>{const _0x27c168=_0x2fc3b6;var _0x473fbd;const _0x747f1b=_0x5cfafc[_0x27c168(0x1c7)];return(_0x473fbd=_0x1f0714==null?void 0x0:_0x1f0714[_0x27c168(0x2ab)])!=null&&_0x473fbd[_0x27c168(0x311)]&&_0x747f1b[_0x27c168(0x340)](_0x27c168(0x356),_0x1f0714[_0x27c168(0x2ab)]['cookie']),_0x4e82b5(_0x5cfafc);}});}async[_0x3b2d4f(0x30f)](_0x496051){const _0x4abdb9=_0x3b2d4f;return this[_0x4abdb9(0x335)](_0x496051);}};at=cr([se(0x0,_0x204b9c(_0x14fdda)),se(0x1,_0x204b9c(_0x528a46)),se(0x2,_0x3172c0),se(0x3,_0x3ba426),se(0x4,_0x2490b9)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};