@univerjs-pro/collaboration-client-node 0.9.1 → 0.9.2-nightly.202507121606

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 _0x4b8bfe=_0x1474;(function(_0xae2318,_0x143acb){const _0x48977d=_0x1474,_0x401677=_0xae2318();while(!![]){try{const _0x3a312c=parseInt(_0x48977d(0x33d))/0x1+parseInt(_0x48977d(0x23c))/0x2+-parseInt(_0x48977d(0x33e))/0x3*(-parseInt(_0x48977d(0x274))/0x4)+-parseInt(_0x48977d(0x20f))/0x5*(-parseInt(_0x48977d(0x1f1))/0x6)+-parseInt(_0x48977d(0x1f5))/0x7+parseInt(_0x48977d(0x262))/0x8+-parseInt(_0x48977d(0x230))/0x9*(-parseInt(_0x48977d(0x1a0))/0xa);if(_0x3a312c===_0x143acb)break;else _0x401677['push'](_0x401677['shift']());}catch(_0x2ecc09){_0x401677['push'](_0x401677['shift']());}}}(_0x21f9,0x876a0));import{UniverCollaborationClientPlugin as _0x23d033,CollaborationSocketService as _0x1fd34f}from'@univerjs-pro/collaboration-client';import{Disposable as _0x594f70,DisposableCollection as _0x1d6e15,toDisposable as _0x460082,IConfigService as _0x69b0cf,DependentOn as _0x39a9f5,ILogService as _0x56fb9f,Inject as _0x14a62d,Injector as _0x28e7ef,Plugin as _0x4c7115,registerDependencies as _0xb2fcd9}from'@univerjs/core';import{ISocketService as _0x554e6a,HTTPService as _0x344b70}from'@univerjs/network';import{Observable as _0x325f1f,share as _0x5e06da}from'rxjs';import _0x420da1 from'events';import _0x457cf3 from'https';import _0x1c52af from'http';import _0x15439f from'net';import _0x43bfe8 from'tls';import _0x2129bc from'crypto';import _0xa8656c from'stream';import _0x49d269 from'url';import _0x3b56c2 from'zlib';import _0x57c63e from'buffer';import{ISnapshotServerService as _0x9ac828}from'@univerjs-pro/collaboration';const Be=_0x4b8bfe(0x2ce),Ft={'customHeaders':{}};function _0x21f9(){const _0x409e62=['socket','writeUIntBE','client_max_window_bits','concurrency','value','catch','warn','Unsupported\x20protocol\x20version:\x20','_generateMask','__esModule','bufferedAmount','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_read','auth','exports','replace','_compress','\x22:\x20','terminate','get','112242QDeZeM','3VjMYTl','WS_ERR_UNEXPECTED_RSV_1','origin','client_no_context_takeover','Origin','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','authorized','_allowSynchronousEvents','createError','path','indexOf','_fragments','Unknown\x20parameter\x20\x22','WS_ERR_EXPECTED_FIN','sha1','followRedirects','212690niaXAw','_masked','customHeaders','wss:','isArray','unshift','buffer','MASK\x20must\x20be\x20set','test','listen','size','_fragmented','RSV1\x20must\x20be\x20clear','parse','from','connection','format','_originalSecure','GET','isValidUTF8','sec-websocket-accept','toStringTag','Maximum\x20redirects\x20exceeded','uncork','dequeue','arraybuffer','onerror','Sec-WebSocket-Accept:\x20','_originalIpc','add','bind','isPaused','write','getBlobData','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','concurrencyLimit','includes','offer','https:','_registerDependencies','captureStackTrace','resume','rsv1','object','send','number','readUInt16BE','setHeader','sendFrame','_injector','STATUS_CODES','WebSocket','message','websocket','getPayloadLength64','isIP','_state','dispatch','entries','data','_payloadLength','threshold','\x0d\x0a\x0d\x0a','toString','freeze','emitClose','has','stream','string','CLOSED','_extensions','HTTP/1.1\x20','unexpected-response','Sec-WebSocket-Extensions','invalid\x20opcode\x20','Unexpected\x20character\x20at\x20index\x20','\x20(supported\x20versions:\x20','defineProperty','byteLength','_destroy','concat','72AQefKH','_no_context_takeover','_opcode','next','7761523LoVBCb','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','hostname','byteOffset','request','pong','ws:','errorEmitted','CLOSING','jobs','invalid\x20payload\x20length\x20','open','fin','_options','binary','dataMessage','completeUpgrade','getInfo','finishRequest','noServer','Sec-WebSocket-Protocol','Unexpected\x20end\x20of\x20input','isBuffer','zlibInflateOptions','hasOwnProperty','host','107375fhKMIc','clients','alloc','destroy','controlMessage','haveLength','\x22\x20must\x20have\x20only\x20a\x20single\x20value','generateMask','Invalid\x20HTTP\x20method','nextTick','toLowerCase','Max\x20payload\x20size\x20exceeded','length','update','server_max_window_bits','clientMaxWindowBits','registerHTTPInterceptor','allowSynchronousEvents','server_no_context_takeover','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','protocol','_maskBuffer','setConfig','_bufferedBytes','allocUnsafe','total-length','cork','destroyed','_httpService','reset','createInflateRaw','removeAllListeners','needDrain','9sCFMtr','WS_ERR_EXPECTED_MASK','password','keys','slice','redirect','Invalid\x20value\x20for\x20parameter\x20\x22','map','createDeflateRaw','perMessageDeflate','finished','writeHead','166958gmDlEE','Upgrade:\x20websocket','_closeCode','normalizeParams','hash','Invalid\x20WebSocket\x20frame:\x20','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','listenerCount','_inflate','construct','_deflate','_writableState','_closeFrameReceived','WebSocket\x20is\x20not\x20open:\x20readyState\x20','createSocket','OPEN','params','cookie','acceptAsClient','isServer','_compressed','wasClean','_receiver','base64','arrayBuffer','_write','_originalHostOrSocketPath','addEventListener','_final','maxPayload','getConfig','headers','_loop','_errorEmitted','wsClientError','_fin','Unexpected\x20server\x20response:\x20','_max_window_bits','1647400XsGDHf','Server\x20sent\x20an\x20invalid\x20subprotocol','consume','Invalid\x20Sec-WebSocket-Protocol\x20header','timeout','setNoDelay','getData','handleUpgrade','cleanup','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','kIsForOnEventAttribute','_messageLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','status-code','reason','_autoPong','_server','_sender','3931320omdlaR','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','apply','decompress','connect','startsWith','join','function','Server\x20sent\x20no\x20subprotocol','address','readyState','readable','frame','emit','serverNoContextTakeover','end','invalid\x20status\x20code\x20','isInteger','enqueue','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_skipUTF8Validation','values','writable','removeListener','authorization','handleEvent','getMask','then','_req','mask','The\x20URL\x27s\x20pathname\x20is\x20empty','objectMode','ws+unix:','_protocol','listening','push','dispose','clientNoContextTakeover','server','_redirects','kRun','_buffers','delete','skipUTF8Validation','Z_DEFAULT_WINDOWBITS','setTimeout','writeUInt16BE','sec-websocket-extensions','Upgrade','callback','\x22\x20subprotocol\x20is\x20duplicated','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','WS_ERR_INVALID_UTF8','unmask','conclude','finish','flush','pluginName','default','species','protocolVersion','pathname','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','compress','pipe','getOwnPropertyDescriptor','encrypted','isView','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','verifyClient','WS_ERR_INVALID_OPCODE','kCode','target','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','removeEventListener','_socket','port','createConnection','_maxPayload','prototype','_shouldEmitClose','invalid\x20UTF-8\x20sequence','startLoop','_closeTimer','_readyState','_binaryType','_removeListeners','kTarget','binaryType','acceptAsServer','collaboration-client-node.config','upgrade','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Sec-WebSocket-Origin','maxRedirects','_firstFragment','kReason','Cookie','WS_ERR_UNEXPECTED_RSV_2_3','error','_mask','serverMaxWindowBits','options','createServer','create','pow','_totalPayloadLength','Connection:\x20Upgrade','maskBuffer','readOnly','_configService','close','_bufferedAmount','Module','Z_SYNC_FLUSH','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','method','endEmitted','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','read','kError','_threshold','pending','_url','abort','charCodeAt','opcode','call','blob','autoPong','find','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_closeFrameSent','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_isServer','servername','The\x20\x22','listeners','statusCode','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_decompress','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','pause','set','handshakeTimeout','getPayloadLength16','shouldHandle','_queue','url','forEach','code','backlog','defaultPort','href','_readableState','Invalid\x20URL:\x20','_closeMessage','kWasClean','setSocket','kByteLength','sec-websocket-protocol','Sec-WebSocket-Extensions:\x20','ping','_errored','type','extensions','socketPath','Invalid\x20Sec-WebSocket-Extensions\x20header','http:','extensionName','shift','invalid\x20opcode\x200','client','split','_paused','Blob','Sec-WebSocket-Protocol:\x20','CONNECTING','once','WS_ERR_INVALID_CLOSE_CODE'];_0x21f9=function(){return _0x409e62;};return _0x21f9();}function jt(_0xd3ecfb){const _0x122d10=_0x4b8bfe;return _0xd3ecfb&&_0xd3ecfb[_0x122d10(0x331)]&&Object[_0x122d10(0x2c3)][_0x122d10(0x20d)]['call'](_0xd3ecfb,_0x122d10(0x2ae))?_0xd3ecfb[_0x122d10(0x2ae)]:_0xd3ecfb;}function ut(_0x3b6f25){const _0xfc57f2=_0x4b8bfe;if(Object['prototype'][_0xfc57f2(0x20d)][_0xfc57f2(0x2f3)](_0x3b6f25,_0xfc57f2(0x331)))return _0x3b6f25;var _0x51d68d=_0x3b6f25[_0xfc57f2(0x2ae)];if(typeof _0x51d68d==_0xfc57f2(0x27b)){var _0x3335f5=function _0x33bdc0(){const _0x28e8cd=_0xfc57f2;return this instanceof _0x33bdc0?Reflect[_0x28e8cd(0x245)](_0x51d68d,arguments,this['constructor']):_0x51d68d[_0x28e8cd(0x276)](this,arguments);};_0x3335f5['prototype']=_0x51d68d[_0xfc57f2(0x2c3)];}else _0x3335f5={};return Object[_0xfc57f2(0x1ed)](_0x3335f5,_0xfc57f2(0x331),{'value':!0x0}),Object[_0xfc57f2(0x233)](_0x3b6f25)[_0xfc57f2(0x309)](function(_0x10ffcf){const _0x4d516b=_0xfc57f2;var _0x2750bc=Object[_0x4d516b(0x2b5)](_0x3b6f25,_0x10ffcf);Object['defineProperty'](_0x3335f5,_0x10ffcf,_0x2750bc[_0x4d516b(0x33c)]?_0x2750bc:{'enumerable':!0x0,'get':function(){return _0x3b6f25[_0x10ffcf];}});}),_0x3335f5;}var te={'exports':{}},ge,Ye;function V(){const _0x5a561c=_0x4b8bfe;if(Ye)return ge;Ye=0x1;const _0x416cf3=['nodebuffer',_0x5a561c(0x1b9),'fragments'],_0x10cfd5=typeof Blob<'u';return _0x10cfd5&&_0x416cf3[_0x5a561c(0x297)](_0x5a561c(0x2f4)),ge={'BINARY_TYPES':_0x416cf3,'EMPTY_BUFFER':Buffer[_0x5a561c(0x211)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x10cfd5,'kForOnEventAttribute':Symbol(_0x5a561c(0x26c)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x5a561c(0x26f)),'kWebSocket':Symbol(_0x5a561c(0x1d5)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x4b8bfe(0x1e0)](Object[_0x4b8bfe(0x1ed)]({'__proto__':null,'default':Wt},Symbol[_0x4b8bfe(0x1b5)],{'value':_0x4b8bfe(0x2e5)})),Vt=ut(Gt);var Ke;function ce(){const _0x46c283=_0x4b8bfe;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x27c377}=V(),_0x365d82=Buffer[Symbol[_0x46c283(0x2af)]];function _0x2f0cf(_0x503571,_0x2240e7){const _0x431785=_0x46c283;if(_0x503571[_0x431785(0x21b)]===0x0)return _0x27c377;if(_0x503571[_0x431785(0x21b)]===0x1)return _0x503571[0x0];const _0xd2e412=Buffer[_0x431785(0x227)](_0x2240e7);let _0x14243e=0x0;for(let _0xb4493e=0x0;_0xb4493e<_0x503571[_0x431785(0x21b)];_0xb4493e++){const _0x231f74=_0x503571[_0xb4493e];_0xd2e412[_0x431785(0x303)](_0x231f74,_0x14243e),_0x14243e+=_0x231f74[_0x431785(0x21b)];}return _0x14243e<_0x2240e7?new _0x365d82(_0xd2e412[_0x431785(0x1a6)],_0xd2e412[_0x431785(0x1f8)],_0x14243e):_0xd2e412;}function _0x1e11b1(_0x305223,_0x4d7d66,_0xc3e42f,_0x2312d6,_0xe469fe){for(let _0x4012e6=0x0;_0x4012e6<_0xe469fe;_0x4012e6++)_0xc3e42f[_0x2312d6+_0x4012e6]=_0x305223[_0x4012e6]^_0x4d7d66[_0x4012e6&0x3];}function _0x48feda(_0x528c65,_0xac860b){for(let _0x554b4b=0x0;_0x554b4b<_0x528c65['length'];_0x554b4b++)_0x528c65[_0x554b4b]^=_0xac860b[_0x554b4b&0x3];}function _0x539889(_0xe71bf2){const _0x978d59=_0x46c283;return _0xe71bf2[_0x978d59(0x21b)]===_0xe71bf2[_0x978d59(0x1a6)][_0x978d59(0x1ee)]?_0xe71bf2[_0x978d59(0x1a6)]:_0xe71bf2[_0x978d59(0x1a6)][_0x978d59(0x234)](_0xe71bf2[_0x978d59(0x1f8)],_0xe71bf2[_0x978d59(0x1f8)]+_0xe71bf2['length']);}function _0x483a53(_0x47d2a3){const _0x1db458=_0x46c283;if(_0x483a53[_0x1db458(0x2e1)]=!0x0,Buffer[_0x1db458(0x20b)](_0x47d2a3))return _0x47d2a3;let _0x20662e;return _0x47d2a3 instanceof ArrayBuffer?_0x20662e=new _0x365d82(_0x47d2a3):ArrayBuffer[_0x1db458(0x2b7)](_0x47d2a3)?_0x20662e=new _0x365d82(_0x47d2a3[_0x1db458(0x1a6)],_0x47d2a3['byteOffset'],_0x47d2a3['byteLength']):(_0x20662e=Buffer['from'](_0x47d2a3),_0x483a53[_0x1db458(0x2e1)]=!0x1),_0x20662e;}if(te[_0x46c283(0x337)]={'concat':_0x2f0cf,'mask':_0x1e11b1,'toArrayBuffer':_0x539889,'toBuffer':_0x483a53,'unmask':_0x48feda},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x2d17d2=Vt;te[_0x46c283(0x337)][_0x46c283(0x291)]=function(_0x622308,_0x58143e,_0x2b150b,_0xa8defc,_0x457bfc){_0x457bfc<0x30?_0x1e11b1(_0x622308,_0x58143e,_0x2b150b,_0xa8defc,_0x457bfc):_0x2d17d2['mask'](_0x622308,_0x58143e,_0x2b150b,_0xa8defc,_0x457bfc);},te[_0x46c283(0x337)][_0x46c283(0x2a9)]=function(_0x2d4524,_0x1ffce2){const _0x33aa42=_0x46c283;_0x2d4524['length']<0x20?_0x48feda(_0x2d4524,_0x1ffce2):_0x2d17d2[_0x33aa42(0x2a9)](_0x2d4524,_0x1ffce2);};}catch{}return te[_0x46c283(0x337)];}var ye,Xe;function qt(){const _0x2244d6=_0x4b8bfe;if(Xe)return ye;Xe=0x1;const _0x4ffc80=Symbol('kDone'),_0x402631=Symbol(_0x2244d6(0x29c));class _0x373b82{constructor(_0x30a15e){const _0x5ca2cc=_0x2244d6;this[_0x4ffc80]=()=>{this['pending']--,this[_0x402631]();},this[_0x5ca2cc(0x32b)]=_0x30a15e||0x1/0x0,this[_0x5ca2cc(0x1fe)]=[],this[_0x5ca2cc(0x2ee)]=0x0;}[_0x2244d6(0x1bd)](_0x18cc22){const _0x3d96b3=_0x2244d6;this[_0x3d96b3(0x1fe)]['push'](_0x18cc22),this[_0x402631]();}[_0x402631](){const _0x53e0c5=_0x2244d6;if(this[_0x53e0c5(0x2ee)]!==this[_0x53e0c5(0x32b)]&&this['jobs'][_0x53e0c5(0x21b)]){const _0x122282=this[_0x53e0c5(0x1fe)][_0x53e0c5(0x31e)]();this[_0x53e0c5(0x2ee)]++,_0x122282(this[_0x4ffc80]);}}}return ye=_0x373b82,ye;}var ve,Ze;function he(){const _0x4c89bd=_0x4b8bfe;if(Ze)return ve;Ze=0x1;const _0x2bf889=_0x3b56c2,_0x11f2e5=ce(),_0x160bf8=qt(),{kStatusCode:_0x57aead}=V(),_0x19c5b0=Buffer[Symbol[_0x4c89bd(0x2af)]],_0x463ad8=Buffer[_0x4c89bd(0x1ae)]([0x0,0x0,0xff,0xff]),_0x41e105=Symbol('permessage-deflate'),_0x344deb=Symbol(_0x4c89bd(0x228)),_0x4fe426=Symbol(_0x4c89bd(0x2a5)),_0x3ec3ad=Symbol('buffers'),_0x51497f=Symbol(_0x4c89bd(0x2d7));let _0x356a90;class _0x37b16d{constructor(_0x1423f6,_0x562cca,_0x266b2e){const _0x2a440b=_0x4c89bd;if(this['_maxPayload']=_0x266b2e|0x0,this['_options']=_0x1423f6||{},this[_0x2a440b(0x2ed)]=this['_options'][_0x2a440b(0x1dd)]!==void 0x0?this[_0x2a440b(0x202)][_0x2a440b(0x1dd)]:0x400,this[_0x2a440b(0x2fa)]=!!_0x562cca,this[_0x2a440b(0x246)]=null,this[_0x2a440b(0x244)]=null,this[_0x2a440b(0x24c)]=null,!_0x356a90){const _0x2274c9=this[_0x2a440b(0x202)]['concurrencyLimit']!==void 0x0?this[_0x2a440b(0x202)][_0x2a440b(0x1c3)]:0xa;_0x356a90=new _0x160bf8(_0x2274c9);}}static get[_0x4c89bd(0x31d)](){return'permessage-deflate';}[_0x4c89bd(0x1c5)](){const _0x46b0f0=_0x4c89bd,_0x1cc969={};return this[_0x46b0f0(0x202)][_0x46b0f0(0x282)]&&(_0x1cc969['server_no_context_takeover']=!0x0),this[_0x46b0f0(0x202)][_0x46b0f0(0x299)]&&(_0x1cc969[_0x46b0f0(0x341)]=!0x0),this[_0x46b0f0(0x202)][_0x46b0f0(0x2d9)]&&(_0x1cc969[_0x46b0f0(0x21d)]=this['_options'][_0x46b0f0(0x2d9)]),this[_0x46b0f0(0x202)][_0x46b0f0(0x21e)]?_0x1cc969[_0x46b0f0(0x32a)]=this[_0x46b0f0(0x202)]['clientMaxWindowBits']:this[_0x46b0f0(0x202)]['clientMaxWindowBits']==null&&(_0x1cc969[_0x46b0f0(0x32a)]=!0x0),_0x1cc969;}['accept'](_0x4738d3){const _0x56d06a=_0x4c89bd;return _0x4738d3=this[_0x56d06a(0x23f)](_0x4738d3),this['params']=this['_isServer']?this['acceptAsServer'](_0x4738d3):this[_0x56d06a(0x24e)](_0x4738d3),this[_0x56d06a(0x24c)];}[_0x4c89bd(0x26a)](){const _0x58010c=_0x4c89bd;if(this[_0x58010c(0x244)]&&(this[_0x58010c(0x244)][_0x58010c(0x2e3)](),this[_0x58010c(0x244)]=null),this[_0x58010c(0x246)]){const _0x57d68a=this[_0x58010c(0x246)][_0x4fe426];this[_0x58010c(0x246)][_0x58010c(0x2e3)](),this['_deflate']=null,_0x57d68a&&_0x57d68a(new Error(_0x58010c(0x2e7)));}}[_0x4c89bd(0x2cd)](_0x488f02){const _0x13ed6c=_0x4c89bd,_0x20a92f=this['_options'],_0x925fce=_0x488f02[_0x13ed6c(0x2f6)](_0x50659e=>!(_0x20a92f[_0x13ed6c(0x282)]===!0x1&&_0x50659e[_0x13ed6c(0x221)]||_0x50659e[_0x13ed6c(0x21d)]&&(_0x20a92f[_0x13ed6c(0x2d9)]===!0x1||typeof _0x20a92f[_0x13ed6c(0x2d9)]==_0x13ed6c(0x1cd)&&_0x20a92f[_0x13ed6c(0x2d9)]>_0x50659e['server_max_window_bits'])||typeof _0x20a92f['clientMaxWindowBits']==_0x13ed6c(0x1cd)&&!_0x50659e['client_max_window_bits']));if(!_0x925fce)throw new Error(_0x13ed6c(0x2f7));return _0x20a92f['serverNoContextTakeover']&&(_0x925fce[_0x13ed6c(0x221)]=!0x0),_0x20a92f[_0x13ed6c(0x299)]&&(_0x925fce[_0x13ed6c(0x341)]=!0x0),typeof _0x20a92f[_0x13ed6c(0x2d9)]==_0x13ed6c(0x1cd)&&(_0x925fce[_0x13ed6c(0x21d)]=_0x20a92f['serverMaxWindowBits']),typeof _0x20a92f[_0x13ed6c(0x21e)]==_0x13ed6c(0x1cd)?_0x925fce['client_max_window_bits']=_0x20a92f['clientMaxWindowBits']:(_0x925fce['client_max_window_bits']===!0x0||_0x20a92f[_0x13ed6c(0x21e)]===!0x1)&&delete _0x925fce[_0x13ed6c(0x32a)],_0x925fce;}[_0x4c89bd(0x24e)](_0x412557){const _0x323fd1=_0x4c89bd,_0x4fe14a=_0x412557[0x0];if(this['_options'][_0x323fd1(0x299)]===!0x1&&_0x4fe14a[_0x323fd1(0x341)])throw new Error(_0x323fd1(0x26e));if(!_0x4fe14a[_0x323fd1(0x32a)])typeof this['_options'][_0x323fd1(0x21e)]==_0x323fd1(0x1cd)&&(_0x4fe14a['client_max_window_bits']=this[_0x323fd1(0x202)][_0x323fd1(0x21e)]);else{if(this[_0x323fd1(0x202)][_0x323fd1(0x21e)]===!0x1||typeof this[_0x323fd1(0x202)][_0x323fd1(0x21e)]==_0x323fd1(0x1cd)&&_0x4fe14a[_0x323fd1(0x32a)]>this[_0x323fd1(0x202)][_0x323fd1(0x21e)])throw new Error(_0x323fd1(0x2ea));}return _0x4fe14a;}[_0x4c89bd(0x23f)](_0x2263c6){return _0x2263c6['forEach'](_0x395fea=>{const _0x4c9f74=_0x1474;Object[_0x4c9f74(0x233)](_0x395fea)[_0x4c9f74(0x309)](_0x435a5a=>{const _0x3e87f6=_0x4c9f74;let _0x454c97=_0x395fea[_0x435a5a];if(_0x454c97['length']>0x1)throw new Error('Parameter\x20\x22'+_0x435a5a+_0x3e87f6(0x215));if(_0x454c97=_0x454c97[0x0],_0x435a5a===_0x3e87f6(0x32a)){if(_0x454c97!==!0x0){const _0x49936e=+_0x454c97;if(!Number['isInteger'](_0x49936e)||_0x49936e<0x8||_0x49936e>0xf)throw new TypeError(_0x3e87f6(0x236)+_0x435a5a+_0x3e87f6(0x33a)+_0x454c97);_0x454c97=_0x49936e;}else{if(!this[_0x3e87f6(0x2fa)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x435a5a+_0x3e87f6(0x33a)+_0x454c97);}}else{if(_0x435a5a===_0x3e87f6(0x21d)){const _0x42a794=+_0x454c97;if(!Number[_0x3e87f6(0x285)](_0x42a794)||_0x42a794<0x8||_0x42a794>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x435a5a+_0x3e87f6(0x33a)+_0x454c97);_0x454c97=_0x42a794;}else{if(_0x435a5a===_0x3e87f6(0x341)||_0x435a5a===_0x3e87f6(0x221)){if(_0x454c97!==!0x0)throw new TypeError(_0x3e87f6(0x236)+_0x435a5a+_0x3e87f6(0x33a)+_0x454c97);}else throw new Error(_0x3e87f6(0x19c)+_0x435a5a+'\x22');}}_0x395fea[_0x435a5a]=_0x454c97;});}),_0x2263c6;}['decompress'](_0x3bac42,_0xd07a25,_0x4c24c6){const _0x2984d3=_0x4c89bd;_0x356a90[_0x2984d3(0x1bd)](_0x1dc81d=>{this['_decompress'](_0x3bac42,_0xd07a25,(_0x3dd735,_0x369ced)=>{_0x1dc81d(),_0x4c24c6(_0x3dd735,_0x369ced);});});}[_0x4c89bd(0x2b3)](_0x435b01,_0x2c1e54,_0x315e18){const _0x3c6a28=_0x4c89bd;_0x356a90[_0x3c6a28(0x1bd)](_0x5e9972=>{this['_compress'](_0x435b01,_0x2c1e54,(_0x167969,_0x279c13)=>{_0x5e9972(),_0x315e18(_0x167969,_0x279c13);});});}[_0x4c89bd(0x300)](_0x1bdccb,_0x3bd3ba,_0x3ef491){const _0x5924e8=_0x4c89bd,_0x5b4796=this[_0x5924e8(0x2fa)]?'client':_0x5924e8(0x29a);if(!this['_inflate']){const _0x1e2416=_0x5b4796+_0x5924e8(0x261),_0x476160=typeof this[_0x5924e8(0x24c)][_0x1e2416]!=_0x5924e8(0x1cd)?_0x2bf889['Z_DEFAULT_WINDOWBITS']:this[_0x5924e8(0x24c)][_0x1e2416];this['_inflate']=_0x2bf889[_0x5924e8(0x22d)]({...this[_0x5924e8(0x202)][_0x5924e8(0x20c)],'windowBits':_0x476160}),this[_0x5924e8(0x244)][_0x41e105]=this,this['_inflate'][_0x344deb]=0x0,this[_0x5924e8(0x244)][_0x3ec3ad]=[],this['_inflate']['on'](_0x5924e8(0x2d7),_0x50f9ec),this[_0x5924e8(0x244)]['on'](_0x5924e8(0x1db),_0x193f1d);}this[_0x5924e8(0x244)][_0x4fe426]=_0x3ef491,this['_inflate']['write'](_0x1bdccb),_0x3bd3ba&&this[_0x5924e8(0x244)][_0x5924e8(0x1c0)](_0x463ad8),this[_0x5924e8(0x244)][_0x5924e8(0x2ac)](()=>{const _0x28b742=_0x5924e8,_0x509043=this[_0x28b742(0x244)][_0x51497f];if(_0x509043){this[_0x28b742(0x244)][_0x28b742(0x2e3)](),this[_0x28b742(0x244)]=null,_0x3ef491(_0x509043);return;}const _0x583289=_0x11f2e5['concat'](this[_0x28b742(0x244)][_0x3ec3ad],this['_inflate'][_0x344deb]);this['_inflate']['_readableState'][_0x28b742(0x2e9)]?(this[_0x28b742(0x244)][_0x28b742(0x2e3)](),this[_0x28b742(0x244)]=null):(this[_0x28b742(0x244)][_0x344deb]=0x0,this[_0x28b742(0x244)][_0x3ec3ad]=[],_0x3bd3ba&&this[_0x28b742(0x24c)][_0x5b4796+_0x28b742(0x1f2)]&&this[_0x28b742(0x244)][_0x28b742(0x22c)]()),_0x3ef491(null,_0x583289);});}[_0x4c89bd(0x339)](_0x15880e,_0x23a5bc,_0x5f1e6f){const _0x3b6bb=_0x4c89bd,_0x300b46=this[_0x3b6bb(0x2fa)]?'server':_0x3b6bb(0x320);if(!this[_0x3b6bb(0x246)]){const _0x2fe993=_0x300b46+_0x3b6bb(0x261),_0x15e9b0=typeof this[_0x3b6bb(0x24c)][_0x2fe993]!='number'?_0x2bf889[_0x3b6bb(0x2a0)]:this[_0x3b6bb(0x24c)][_0x2fe993];this['_deflate']=_0x2bf889[_0x3b6bb(0x238)]({...this[_0x3b6bb(0x202)]['zlibDeflateOptions'],'windowBits':_0x15e9b0}),this[_0x3b6bb(0x246)][_0x344deb]=0x0,this[_0x3b6bb(0x246)][_0x3ec3ad]=[],this[_0x3b6bb(0x246)]['on']('data',_0x3d73be);}this[_0x3b6bb(0x246)][_0x4fe426]=_0x5f1e6f,this[_0x3b6bb(0x246)][_0x3b6bb(0x1c0)](_0x15880e),this[_0x3b6bb(0x246)][_0x3b6bb(0x2ac)](_0x2bf889[_0x3b6bb(0x2e6)],()=>{const _0x401584=_0x3b6bb;if(!this[_0x401584(0x246)])return;let _0x3898a5=_0x11f2e5['concat'](this[_0x401584(0x246)][_0x3ec3ad],this[_0x401584(0x246)][_0x344deb]);_0x23a5bc&&(_0x3898a5=new _0x19c5b0(_0x3898a5[_0x401584(0x1a6)],_0x3898a5[_0x401584(0x1f8)],_0x3898a5['length']-0x4)),this[_0x401584(0x246)][_0x4fe426]=null,this[_0x401584(0x246)][_0x344deb]=0x0,this['_deflate'][_0x3ec3ad]=[],_0x23a5bc&&this['params'][_0x300b46+'_no_context_takeover']&&this['_deflate']['reset'](),_0x5f1e6f(null,_0x3898a5);});}}ve=_0x37b16d;function _0x3d73be(_0x2971d4){const _0x2b2b26=_0x4c89bd;this[_0x3ec3ad][_0x2b2b26(0x297)](_0x2971d4),this[_0x344deb]+=_0x2971d4['length'];}function _0x193f1d(_0x5a8574){const _0x464dc9=_0x4c89bd;if(this[_0x344deb]+=_0x5a8574[_0x464dc9(0x21b)],this[_0x41e105]['_maxPayload']<0x1||this[_0x344deb]<=this[_0x41e105][_0x464dc9(0x2c2)]){this[_0x3ec3ad]['push'](_0x5a8574);return;}this[_0x51497f]=new RangeError(_0x464dc9(0x21a)),this[_0x51497f][_0x464dc9(0x30a)]=_0x464dc9(0x1f6),this[_0x51497f][_0x57aead]=0x3f1,this['removeListener'](_0x464dc9(0x1db),_0x193f1d),this[_0x464dc9(0x22c)]();}function _0x50f9ec(_0x708078){const _0x1cbf40=_0x4c89bd;if(this[_0x41e105][_0x1cbf40(0x244)]=null,this[_0x51497f]){this[_0x4fe426](this[_0x51497f]);return;}_0x708078[_0x57aead]=0x3ef,this[_0x4fe426](_0x708078);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x4b8bfe(0x1e0)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x4b8bfe(0x1b5)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0xdc4cf3=_0x4b8bfe;if(Qe)return re[_0xdc4cf3(0x337)];Qe=0x1;const {isUtf8:_0x4e9a17}=_0x57c63e,{hasBlob:_0x420bf4}=V(),_0x5fa6c0=[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 _0x906644(_0x54a429){return _0x54a429>=0x3e8&&_0x54a429<=0x3f6&&_0x54a429!==0x3ec&&_0x54a429!==0x3ed&&_0x54a429!==0x3ee||_0x54a429>=0xbb8&&_0x54a429<=0x1387;}function _0x11a4ce(_0x263276){const _0x5d81e9=_0xdc4cf3,_0x82045=_0x263276[_0x5d81e9(0x21b)];let _0x138829=0x0;for(;_0x138829<_0x82045;)if((_0x263276[_0x138829]&0x80)===0x0)_0x138829++;else{if((_0x263276[_0x138829]&0xe0)===0xc0){if(_0x138829+0x1===_0x82045||(_0x263276[_0x138829+0x1]&0xc0)!==0x80||(_0x263276[_0x138829]&0xfe)===0xc0)return!0x1;_0x138829+=0x2;}else{if((_0x263276[_0x138829]&0xf0)===0xe0){if(_0x138829+0x2>=_0x82045||(_0x263276[_0x138829+0x1]&0xc0)!==0x80||(_0x263276[_0x138829+0x2]&0xc0)!==0x80||_0x263276[_0x138829]===0xe0&&(_0x263276[_0x138829+0x1]&0xe0)===0x80||_0x263276[_0x138829]===0xed&&(_0x263276[_0x138829+0x1]&0xe0)===0xa0)return!0x1;_0x138829+=0x3;}else{if((_0x263276[_0x138829]&0xf8)===0xf0){if(_0x138829+0x3>=_0x82045||(_0x263276[_0x138829+0x1]&0xc0)!==0x80||(_0x263276[_0x138829+0x2]&0xc0)!==0x80||(_0x263276[_0x138829+0x3]&0xc0)!==0x80||_0x263276[_0x138829]===0xf0&&(_0x263276[_0x138829+0x1]&0xf0)===0x80||_0x263276[_0x138829]===0xf4&&_0x263276[_0x138829+0x1]>0x8f||_0x263276[_0x138829]>0xf4)return!0x1;_0x138829+=0x4;}else return!0x1;}}}return!0x0;}function _0x41530b(_0x1538db){const _0x4f276d=_0xdc4cf3;return _0x420bf4&&typeof _0x1538db==_0x4f276d(0x1cb)&&typeof _0x1538db[_0x4f276d(0x254)]==_0x4f276d(0x27b)&&typeof _0x1538db[_0x4f276d(0x318)]=='string'&&typeof _0x1538db[_0x4f276d(0x1e3)]==_0x4f276d(0x27b)&&(_0x1538db[Symbol[_0x4f276d(0x1b5)]]===_0x4f276d(0x323)||_0x1538db[Symbol[_0x4f276d(0x1b5)]]==='File');}if(re[_0xdc4cf3(0x337)]={'isBlob':_0x41530b,'isValidStatusCode':_0x906644,'isValidUTF8':_0x11a4ce,'tokenChars':_0x5fa6c0},_0x4e9a17)re[_0xdc4cf3(0x337)][_0xdc4cf3(0x1b3)]=function(_0x3511f8){const _0x2251e6=_0xdc4cf3;return _0x3511f8[_0x2251e6(0x21b)]<0x18?_0x11a4ce(_0x3511f8):_0x4e9a17(_0x3511f8);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x4415b9=Yt;re[_0xdc4cf3(0x337)]['isValidUTF8']=function(_0x250fea){return _0x250fea['length']<0x20?_0x11a4ce(_0x250fea):_0x4415b9(_0x250fea);};}catch{}}return re[_0xdc4cf3(0x337)];}var Se,Je;function dt(){const _0x16f00b=_0x4b8bfe;if(Je)return Se;Je=0x1;const {Writable:_0x46e242}=_0xa8656c,_0x36ae00=he(),{BINARY_TYPES:_0x440950,EMPTY_BUFFER:_0x7d5b22,kStatusCode:_0x2b4be4,kWebSocket:_0x47ac35}=V(),{concat:_0x1d94d8,toArrayBuffer:_0x288e81,unmask:_0x3c0659}=ce(),{isValidStatusCode:_0x15a70d,isValidUTF8:_0x23549c}=ne(),_0x39c490=Buffer[Symbol[_0x16f00b(0x2af)]],_0xd87ea3=0x0,_0x8465e2=0x1,_0x1f797a=0x2,_0x12f6b1=0x3,_0x595011=0x4,_0x1749ed=0x5,_0xc39815=0x6;class _0x34e87d extends _0x46e242{constructor(_0x2581e0={}){const _0x1128f2=_0x16f00b;super(),this['_allowSynchronousEvents']=_0x2581e0[_0x1128f2(0x220)]!==void 0x0?_0x2581e0[_0x1128f2(0x220)]:!0x0,this[_0x1128f2(0x2c9)]=_0x2581e0[_0x1128f2(0x2cc)]||_0x440950[0x0],this[_0x1128f2(0x1e6)]=_0x2581e0[_0x1128f2(0x319)]||{},this[_0x1128f2(0x2fa)]=!!_0x2581e0[_0x1128f2(0x24f)],this[_0x1128f2(0x2c2)]=_0x2581e0[_0x1128f2(0x259)]|0x0,this[_0x1128f2(0x288)]=!!_0x2581e0['skipUTF8Validation'],this[_0x47ac35]=void 0x0,this[_0x1128f2(0x226)]=0x0,this[_0x1128f2(0x29d)]=[],this[_0x1128f2(0x250)]=!0x1,this[_0x1128f2(0x1dc)]=0x0,this['_mask']=void 0x0,this[_0x1128f2(0x1ab)]=0x0,this[_0x1128f2(0x1a1)]=!0x1,this[_0x1128f2(0x25f)]=!0x1,this[_0x1128f2(0x1f3)]=0x0,this[_0x1128f2(0x2de)]=0x0,this[_0x1128f2(0x26d)]=0x0,this[_0x1128f2(0x349)]=[],this[_0x1128f2(0x317)]=!0x1,this[_0x1128f2(0x25c)]=!0x1,this['_state']=_0xd87ea3;}['_write'](_0x369232,_0x3677aa,_0x561eb0){const _0x2b91cb=_0x16f00b;if(this['_opcode']===0x8&&this['_state']==_0xd87ea3)return _0x561eb0();this[_0x2b91cb(0x226)]+=_0x369232[_0x2b91cb(0x21b)],this[_0x2b91cb(0x29d)][_0x2b91cb(0x297)](_0x369232),this[_0x2b91cb(0x2c6)](_0x561eb0);}[_0x16f00b(0x264)](_0x786350){const _0x200e80=_0x16f00b;if(this[_0x200e80(0x226)]-=_0x786350,_0x786350===this[_0x200e80(0x29d)][0x0][_0x200e80(0x21b)])return this[_0x200e80(0x29d)]['shift']();if(_0x786350<this[_0x200e80(0x29d)][0x0][_0x200e80(0x21b)]){const _0x39983b=this[_0x200e80(0x29d)][0x0];return this[_0x200e80(0x29d)][0x0]=new _0x39c490(_0x39983b['buffer'],_0x39983b['byteOffset']+_0x786350,_0x39983b[_0x200e80(0x21b)]-_0x786350),new _0x39c490(_0x39983b[_0x200e80(0x1a6)],_0x39983b[_0x200e80(0x1f8)],_0x786350);}const _0xcc1e7e=Buffer[_0x200e80(0x227)](_0x786350);do{const _0x423437=this['_buffers'][0x0],_0x1d6c33=_0xcc1e7e[_0x200e80(0x21b)]-_0x786350;_0x786350>=_0x423437['length']?_0xcc1e7e[_0x200e80(0x303)](this['_buffers'][_0x200e80(0x31e)](),_0x1d6c33):(_0xcc1e7e[_0x200e80(0x303)](new Uint8Array(_0x423437[_0x200e80(0x1a6)],_0x423437[_0x200e80(0x1f8)],_0x786350),_0x1d6c33),this['_buffers'][0x0]=new _0x39c490(_0x423437['buffer'],_0x423437[_0x200e80(0x1f8)]+_0x786350,_0x423437[_0x200e80(0x21b)]-_0x786350)),_0x786350-=_0x423437[_0x200e80(0x21b)];}while(_0x786350>0x0);return _0xcc1e7e;}['startLoop'](_0x5da9f1){const _0x45fe71=_0x16f00b;this['_loop']=!0x0;do switch(this[_0x45fe71(0x1d8)]){case _0xd87ea3:this['getInfo'](_0x5da9f1);break;case _0x8465e2:this[_0x45fe71(0x305)](_0x5da9f1);break;case _0x1f797a:this[_0x45fe71(0x1d6)](_0x5da9f1);break;case _0x12f6b1:this[_0x45fe71(0x28e)]();break;case _0x595011:this['getData'](_0x5da9f1);break;case _0x1749ed:case _0xc39815:this[_0x45fe71(0x25c)]=!0x1;return;}while(this[_0x45fe71(0x25c)]);this[_0x45fe71(0x317)]||_0x5da9f1();}[_0x16f00b(0x206)](_0x5a4e46){const _0x17135f=_0x16f00b;if(this[_0x17135f(0x226)]<0x2){this[_0x17135f(0x25c)]=!0x1;return;}const _0xf25841=this[_0x17135f(0x264)](0x2);if((_0xf25841[0x0]&0x30)!==0x0){const _0x348311=this['createError'](RangeError,_0x17135f(0x2b8),!0x0,0x3ea,_0x17135f(0x2d6));_0x5a4e46(_0x348311);return;}const _0x19c32f=(_0xf25841[0x0]&0x40)===0x40;if(_0x19c32f&&!this[_0x17135f(0x1e6)][_0x36ae00['extensionName']]){const _0x3b3a57=this[_0x17135f(0x346)](RangeError,_0x17135f(0x1ac),!0x0,0x3ea,_0x17135f(0x33f));_0x5a4e46(_0x3b3a57);return;}if(this[_0x17135f(0x25f)]=(_0xf25841[0x0]&0x80)===0x80,this[_0x17135f(0x1f3)]=_0xf25841[0x0]&0xf,this[_0x17135f(0x1dc)]=_0xf25841[0x1]&0x7f,this[_0x17135f(0x1f3)]===0x0){if(_0x19c32f){const _0x85bcb2=this[_0x17135f(0x346)](RangeError,_0x17135f(0x1ac),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5a4e46(_0x85bcb2);return;}if(!this['_fragmented']){const _0x16981e=this[_0x17135f(0x346)](RangeError,_0x17135f(0x31f),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5a4e46(_0x16981e);return;}this[_0x17135f(0x1f3)]=this[_0x17135f(0x1ab)];}else{if(this[_0x17135f(0x1f3)]===0x1||this[_0x17135f(0x1f3)]===0x2){if(this[_0x17135f(0x1ab)]){const _0x578fc7=this[_0x17135f(0x346)](RangeError,'invalid\x20opcode\x20'+this[_0x17135f(0x1f3)],!0x0,0x3ea,_0x17135f(0x2ba));_0x5a4e46(_0x578fc7);return;}this[_0x17135f(0x250)]=_0x19c32f;}else{if(this[_0x17135f(0x1f3)]>0x7&&this['_opcode']<0xb){if(!this[_0x17135f(0x25f)]){const _0xe17fbf=this[_0x17135f(0x346)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x17135f(0x19d));_0x5a4e46(_0xe17fbf);return;}if(_0x19c32f){const _0x1d50b5=this['createError'](RangeError,_0x17135f(0x1ac),!0x0,0x3ea,_0x17135f(0x33f));_0x5a4e46(_0x1d50b5);return;}if(this[_0x17135f(0x1dc)]>0x7d||this[_0x17135f(0x1f3)]===0x8&&this[_0x17135f(0x1dc)]===0x1){const _0x3095d5=this[_0x17135f(0x346)](RangeError,_0x17135f(0x1ff)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x5a4e46(_0x3095d5);return;}}else{const _0x3c3d78=this['createError'](RangeError,_0x17135f(0x1ea)+this['_opcode'],!0x0,0x3ea,_0x17135f(0x2ba));_0x5a4e46(_0x3c3d78);return;}}}if(!this[_0x17135f(0x25f)]&&!this['_fragmented']&&(this[_0x17135f(0x1ab)]=this['_opcode']),this[_0x17135f(0x1a1)]=(_0xf25841[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x17135f(0x1a1)]){const _0x404242=this[_0x17135f(0x346)](RangeError,_0x17135f(0x1a7),!0x0,0x3ea,_0x17135f(0x231));_0x5a4e46(_0x404242);return;}}else{if(this[_0x17135f(0x1a1)]){const _0x57cbf7=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5a4e46(_0x57cbf7);return;}}this[_0x17135f(0x1dc)]===0x7e?this['_state']=_0x8465e2:this[_0x17135f(0x1dc)]===0x7f?this[_0x17135f(0x1d8)]=_0x1f797a:this[_0x17135f(0x214)](_0x5a4e46);}['getPayloadLength16'](_0xf7ac3){const _0x28230f=_0x16f00b;if(this[_0x28230f(0x226)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x28230f(0x1ce)](0x0),this[_0x28230f(0x214)](_0xf7ac3);}['getPayloadLength64'](_0x42a5d1){const _0x462b9d=_0x16f00b;if(this['_bufferedBytes']<0x8){this[_0x462b9d(0x25c)]=!0x1;return;}const _0x5e7899=this['consume'](0x8),_0x15c0d8=_0x5e7899['readUInt32BE'](0x0);if(_0x15c0d8>Math[_0x462b9d(0x2dd)](0x2,0x15)-0x1){const _0x5b1700=this[_0x462b9d(0x346)](RangeError,_0x462b9d(0x301),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x42a5d1(_0x5b1700);return;}this[_0x462b9d(0x1dc)]=_0x15c0d8*Math[_0x462b9d(0x2dd)](0x2,0x20)+_0x5e7899['readUInt32BE'](0x4),this[_0x462b9d(0x214)](_0x42a5d1);}['haveLength'](_0x563b2a){const _0x338275=_0x16f00b;if(this[_0x338275(0x1dc)]&&this[_0x338275(0x1f3)]<0x8&&(this[_0x338275(0x2de)]+=this[_0x338275(0x1dc)],this[_0x338275(0x2de)]>this[_0x338275(0x2c2)]&&this[_0x338275(0x2c2)]>0x0)){const _0x17005d=this[_0x338275(0x346)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x338275(0x1f6));_0x563b2a(_0x17005d);return;}this[_0x338275(0x1a1)]?this[_0x338275(0x1d8)]=_0x12f6b1:this[_0x338275(0x1d8)]=_0x595011;}[_0x16f00b(0x28e)](){const _0x244664=_0x16f00b;if(this[_0x244664(0x226)]<0x4){this[_0x244664(0x25c)]=!0x1;return;}this['_mask']=this[_0x244664(0x264)](0x4),this[_0x244664(0x1d8)]=_0x595011;}[_0x16f00b(0x268)](_0x14be07){const _0x11830b=_0x16f00b;let _0x369b7b=_0x7d5b22;if(this[_0x11830b(0x1dc)]){if(this[_0x11830b(0x226)]<this[_0x11830b(0x1dc)]){this[_0x11830b(0x25c)]=!0x1;return;}_0x369b7b=this['consume'](this[_0x11830b(0x1dc)]),this[_0x11830b(0x1a1)]&&(this[_0x11830b(0x2d8)][0x0]|this[_0x11830b(0x2d8)][0x1]|this[_0x11830b(0x2d8)][0x2]|this[_0x11830b(0x2d8)][0x3])!==0x0&&_0x3c0659(_0x369b7b,this['_mask']);}if(this['_opcode']>0x7){this[_0x11830b(0x213)](_0x369b7b,_0x14be07);return;}if(this['_compressed']){this[_0x11830b(0x1d8)]=_0x1749ed,this[_0x11830b(0x277)](_0x369b7b,_0x14be07);return;}_0x369b7b[_0x11830b(0x21b)]&&(this[_0x11830b(0x26d)]=this[_0x11830b(0x2de)],this['_fragments'][_0x11830b(0x297)](_0x369b7b)),this['dataMessage'](_0x14be07);}['decompress'](_0x4725d8,_0xb70e79){const _0x555f53=_0x16f00b;this[_0x555f53(0x1e6)][_0x36ae00['extensionName']]['decompress'](_0x4725d8,this['_fin'],(_0x1e255d,_0x1283f7)=>{const _0x227bae=_0x555f53;if(_0x1e255d)return _0xb70e79(_0x1e255d);if(_0x1283f7['length']){if(this[_0x227bae(0x26d)]+=_0x1283f7[_0x227bae(0x21b)],this[_0x227bae(0x26d)]>this[_0x227bae(0x2c2)]&&this['_maxPayload']>0x0){const _0x4e5965=this[_0x227bae(0x346)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x227bae(0x1f6));_0xb70e79(_0x4e5965);return;}this[_0x227bae(0x349)][_0x227bae(0x297)](_0x1283f7);}this[_0x227bae(0x204)](_0xb70e79),this['_state']===_0xd87ea3&&this[_0x227bae(0x2c6)](_0xb70e79);});}[_0x16f00b(0x204)](_0x171e33){const _0x472e88=_0x16f00b;if(!this[_0x472e88(0x25f)]){this[_0x472e88(0x1d8)]=_0xd87ea3;return;}const _0x2ab569=this['_messageLength'],_0x5671d9=this[_0x472e88(0x349)];if(this[_0x472e88(0x2de)]=0x0,this[_0x472e88(0x26d)]=0x0,this[_0x472e88(0x1ab)]=0x0,this[_0x472e88(0x349)]=[],this[_0x472e88(0x1f3)]===0x2){let _0x3f3887;this[_0x472e88(0x2c9)]==='nodebuffer'?_0x3f3887=_0x1d94d8(_0x5671d9,_0x2ab569):this['_binaryType']==='arraybuffer'?_0x3f3887=_0x288e81(_0x1d94d8(_0x5671d9,_0x2ab569)):this[_0x472e88(0x2c9)]==='blob'?_0x3f3887=new Blob(_0x5671d9):_0x3f3887=_0x5671d9,this[_0x472e88(0x345)]?(this['emit'](_0x472e88(0x1d4),_0x3f3887,!0x0),this[_0x472e88(0x1d8)]=_0xd87ea3):(this[_0x472e88(0x1d8)]=_0xc39815,setImmediate(()=>{const _0x3ea9f1=_0x472e88;this[_0x3ea9f1(0x281)]('message',_0x3f3887,!0x0),this[_0x3ea9f1(0x1d8)]=_0xd87ea3,this[_0x3ea9f1(0x2c6)](_0x171e33);}));}else{const _0x101e98=_0x1d94d8(_0x5671d9,_0x2ab569);if(!this[_0x472e88(0x288)]&&!_0x23549c(_0x101e98)){const _0x20b269=this[_0x472e88(0x346)](Error,_0x472e88(0x2c5),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x171e33(_0x20b269);return;}this[_0x472e88(0x1d8)]===_0x1749ed||this[_0x472e88(0x345)]?(this[_0x472e88(0x281)]('message',_0x101e98,!0x1),this[_0x472e88(0x1d8)]=_0xd87ea3):(this[_0x472e88(0x1d8)]=_0xc39815,setImmediate(()=>{const _0x1f26be=_0x472e88;this[_0x1f26be(0x281)](_0x1f26be(0x1d4),_0x101e98,!0x1),this[_0x1f26be(0x1d8)]=_0xd87ea3,this[_0x1f26be(0x2c6)](_0x171e33);}));}}[_0x16f00b(0x213)](_0x28c045,_0x81b086){const _0x506be4=_0x16f00b;if(this[_0x506be4(0x1f3)]===0x8){if(_0x28c045['length']===0x0)this[_0x506be4(0x25c)]=!0x1,this[_0x506be4(0x281)](_0x506be4(0x2aa),0x3ed,_0x7d5b22),this[_0x506be4(0x283)]();else{const _0x3fd5a8=_0x28c045['readUInt16BE'](0x0);if(!_0x15a70d(_0x3fd5a8)){const _0x2a0732=this[_0x506be4(0x346)](RangeError,_0x506be4(0x284)+_0x3fd5a8,!0x0,0x3ea,_0x506be4(0x327));_0x81b086(_0x2a0732);return;}const _0x63acd7=new _0x39c490(_0x28c045[_0x506be4(0x1a6)],_0x28c045[_0x506be4(0x1f8)]+0x2,_0x28c045[_0x506be4(0x21b)]-0x2);if(!this[_0x506be4(0x288)]&&!_0x23549c(_0x63acd7)){const _0x498916=this[_0x506be4(0x346)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x506be4(0x2a8));_0x81b086(_0x498916);return;}this[_0x506be4(0x25c)]=!0x1,this['emit'](_0x506be4(0x2aa),_0x3fd5a8,_0x63acd7),this[_0x506be4(0x283)]();}this[_0x506be4(0x1d8)]=_0xd87ea3;return;}this[_0x506be4(0x345)]?(this[_0x506be4(0x281)](this[_0x506be4(0x1f3)]===0x9?_0x506be4(0x316):_0x506be4(0x1fa),_0x28c045),this[_0x506be4(0x1d8)]=_0xd87ea3):(this[_0x506be4(0x1d8)]=_0xc39815,setImmediate(()=>{const _0x382001=_0x506be4;this['emit'](this[_0x382001(0x1f3)]===0x9?_0x382001(0x316):'pong',_0x28c045),this[_0x382001(0x1d8)]=_0xd87ea3,this[_0x382001(0x2c6)](_0x81b086);}));}['createError'](_0x1184db,_0xbc03db,_0x593a1e,_0xcae9d2,_0x296673){const _0x24bc7b=_0x16f00b;this[_0x24bc7b(0x25c)]=!0x1,this[_0x24bc7b(0x317)]=!0x0;const _0x10aca7=new _0x1184db(_0x593a1e?_0x24bc7b(0x241)+_0xbc03db:_0xbc03db);return Error[_0x24bc7b(0x1c8)](_0x10aca7,this[_0x24bc7b(0x346)]),_0x10aca7[_0x24bc7b(0x30a)]=_0x296673,_0x10aca7[_0x2b4be4]=_0xcae9d2,_0x10aca7;}}return Se=_0x34e87d,Se;}var Ee,et;function _t(){const _0x36f57f=_0x4b8bfe;if(et)return Ee;et=0x1;const {Duplex:_0xd2efa6}=_0xa8656c,{randomFillSync:_0x12d508}=_0x2129bc,_0x5a49b8=he(),{EMPTY_BUFFER:_0x59d79d,kWebSocket:_0x361549,NOOP:_0x344382}=V(),{isBlob:_0x33fab3,isValidStatusCode:_0xa651fd}=ne(),{mask:_0x51a122,toBuffer:_0x5eed0f}=ce(),_0x11df68=Symbol(_0x36f57f(0x313)),_0xd4b5ed=Buffer[_0x36f57f(0x211)](0x4),_0x3bb5b7=0x8*0x400;let _0x6b65de,_0x4d69d3=_0x3bb5b7;const _0x5d4f90=0x0,_0x4c6912=0x1,_0x5bdf92=0x2;class _0x4dc294{constructor(_0x2e05eb,_0x6c8cc3,_0x2e69af){const _0x426d06=_0x36f57f;this[_0x426d06(0x1e6)]=_0x6c8cc3||{},_0x2e69af&&(this['_generateMask']=_0x2e69af,this[_0x426d06(0x224)]=Buffer[_0x426d06(0x211)](0x4)),this[_0x426d06(0x2bf)]=_0x2e05eb,this['_firstFragment']=!0x0,this[_0x426d06(0x339)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x426d06(0x1d8)]=_0x5d4f90,this[_0x426d06(0x1ba)]=_0x344382,this[_0x361549]=void 0x0;}static[_0x36f57f(0x280)](_0x4c4672,_0x37b40b){const _0xd3ec46=_0x36f57f;let _0x35dc6e,_0x5ef39f=!0x1,_0x3fad31=0x2,_0x3245aa=!0x1;_0x37b40b[_0xd3ec46(0x291)]&&(_0x35dc6e=_0x37b40b[_0xd3ec46(0x2e0)]||_0xd4b5ed,_0x37b40b[_0xd3ec46(0x216)]?_0x37b40b[_0xd3ec46(0x216)](_0x35dc6e):(_0x4d69d3===_0x3bb5b7&&(_0x6b65de===void 0x0&&(_0x6b65de=Buffer[_0xd3ec46(0x211)](_0x3bb5b7)),_0x12d508(_0x6b65de,0x0,_0x3bb5b7),_0x4d69d3=0x0),_0x35dc6e[0x0]=_0x6b65de[_0x4d69d3++],_0x35dc6e[0x1]=_0x6b65de[_0x4d69d3++],_0x35dc6e[0x2]=_0x6b65de[_0x4d69d3++],_0x35dc6e[0x3]=_0x6b65de[_0x4d69d3++]),_0x3245aa=(_0x35dc6e[0x0]|_0x35dc6e[0x1]|_0x35dc6e[0x2]|_0x35dc6e[0x3])===0x0,_0x3fad31=0x6);let _0xdc9dac;typeof _0x4c4672==_0xd3ec46(0x1e4)?(!_0x37b40b[_0xd3ec46(0x291)]||_0x3245aa)&&_0x37b40b[_0x11df68]!==void 0x0?_0xdc9dac=_0x37b40b[_0x11df68]:(_0x4c4672=Buffer[_0xd3ec46(0x1ae)](_0x4c4672),_0xdc9dac=_0x4c4672[_0xd3ec46(0x21b)]):(_0xdc9dac=_0x4c4672['length'],_0x5ef39f=_0x37b40b[_0xd3ec46(0x291)]&&_0x37b40b['readOnly']&&!_0x3245aa);let _0x371d24=_0xdc9dac;_0xdc9dac>=0x10000?(_0x3fad31+=0x8,_0x371d24=0x7f):_0xdc9dac>0x7d&&(_0x3fad31+=0x2,_0x371d24=0x7e);const _0xf3e090=Buffer[_0xd3ec46(0x227)](_0x5ef39f?_0xdc9dac+_0x3fad31:_0x3fad31);return _0xf3e090[0x0]=_0x37b40b[_0xd3ec46(0x201)]?_0x37b40b[_0xd3ec46(0x2f2)]|0x80:_0x37b40b[_0xd3ec46(0x2f2)],_0x37b40b[_0xd3ec46(0x1ca)]&&(_0xf3e090[0x0]|=0x40),_0xf3e090[0x1]=_0x371d24,_0x371d24===0x7e?_0xf3e090[_0xd3ec46(0x2a2)](_0xdc9dac,0x2):_0x371d24===0x7f&&(_0xf3e090[0x2]=_0xf3e090[0x3]=0x0,_0xf3e090[_0xd3ec46(0x329)](_0xdc9dac,0x4,0x6)),_0x37b40b[_0xd3ec46(0x291)]?(_0xf3e090[0x1]|=0x80,_0xf3e090[_0x3fad31-0x4]=_0x35dc6e[0x0],_0xf3e090[_0x3fad31-0x3]=_0x35dc6e[0x1],_0xf3e090[_0x3fad31-0x2]=_0x35dc6e[0x2],_0xf3e090[_0x3fad31-0x1]=_0x35dc6e[0x3],_0x3245aa?[_0xf3e090,_0x4c4672]:_0x5ef39f?(_0x51a122(_0x4c4672,_0x35dc6e,_0xf3e090,_0x3fad31,_0xdc9dac),[_0xf3e090]):(_0x51a122(_0x4c4672,_0x35dc6e,_0x4c4672,0x0,_0xdc9dac),[_0xf3e090,_0x4c4672])):[_0xf3e090,_0x4c4672];}[_0x36f57f(0x2e3)](_0x5a714e,_0x550b28,_0x6bc278,_0x214c76){const _0x4a9705=_0x36f57f;let _0x5345e9;if(_0x5a714e===void 0x0)_0x5345e9=_0x59d79d;else{if(typeof _0x5a714e!=_0x4a9705(0x1cd)||!_0xa651fd(_0x5a714e))throw new TypeError(_0x4a9705(0x275));if(_0x550b28===void 0x0||!_0x550b28[_0x4a9705(0x21b)])_0x5345e9=Buffer[_0x4a9705(0x227)](0x2),_0x5345e9[_0x4a9705(0x2a2)](_0x5a714e,0x0);else{const _0xd93bf=Buffer[_0x4a9705(0x1ee)](_0x550b28);if(_0xd93bf>0x7b)throw new RangeError(_0x4a9705(0x2d0));_0x5345e9=Buffer[_0x4a9705(0x227)](0x2+_0xd93bf),_0x5345e9[_0x4a9705(0x2a2)](_0x5a714e,0x0),typeof _0x550b28==_0x4a9705(0x1e4)?_0x5345e9[_0x4a9705(0x1c0)](_0x550b28,0x2):_0x5345e9['set'](_0x550b28,0x2);}}const _0x423219={[_0x11df68]:_0x5345e9[_0x4a9705(0x21b)],'fin':!0x0,'generateMask':this[_0x4a9705(0x330)],'mask':_0x6bc278,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x5d4f90?this[_0x4a9705(0x286)]([this[_0x4a9705(0x1d9)],_0x5345e9,!0x1,_0x423219,_0x214c76]):this[_0x4a9705(0x1d0)](_0x4dc294[_0x4a9705(0x280)](_0x5345e9,_0x423219),_0x214c76);}['ping'](_0x335b62,_0x3e51cb,_0x45a241){const _0xf6b53=_0x36f57f;let _0x713195,_0x5e548a;if(typeof _0x335b62==_0xf6b53(0x1e4)?(_0x713195=Buffer[_0xf6b53(0x1ee)](_0x335b62),_0x5e548a=!0x1):_0x33fab3(_0x335b62)?(_0x713195=_0x335b62[_0xf6b53(0x1aa)],_0x5e548a=!0x1):(_0x335b62=_0x5eed0f(_0x335b62),_0x713195=_0x335b62[_0xf6b53(0x21b)],_0x5e548a=_0x5eed0f['readOnly']),_0x713195>0x7d)throw new RangeError(_0xf6b53(0x343));const _0x2196bb={[_0x11df68]:_0x713195,'fin':!0x0,'generateMask':this[_0xf6b53(0x330)],'mask':_0x3e51cb,'maskBuffer':this[_0xf6b53(0x224)],'opcode':0x9,'readOnly':_0x5e548a,'rsv1':!0x1};_0x33fab3(_0x335b62)?this[_0xf6b53(0x1d8)]!==_0x5d4f90?this[_0xf6b53(0x286)]([this[_0xf6b53(0x1c1)],_0x335b62,!0x1,_0x2196bb,_0x45a241]):this[_0xf6b53(0x1c1)](_0x335b62,!0x1,_0x2196bb,_0x45a241):this[_0xf6b53(0x1d8)]!==_0x5d4f90?this['enqueue']([this['dispatch'],_0x335b62,!0x1,_0x2196bb,_0x45a241]):this[_0xf6b53(0x1d0)](_0x4dc294[_0xf6b53(0x280)](_0x335b62,_0x2196bb),_0x45a241);}[_0x36f57f(0x1fa)](_0x2841f9,_0xf99e20,_0x32f8fd){const _0x37b16f=_0x36f57f;let _0x44d684,_0x47e1f4;if(typeof _0x2841f9==_0x37b16f(0x1e4)?(_0x44d684=Buffer['byteLength'](_0x2841f9),_0x47e1f4=!0x1):_0x33fab3(_0x2841f9)?(_0x44d684=_0x2841f9['size'],_0x47e1f4=!0x1):(_0x2841f9=_0x5eed0f(_0x2841f9),_0x44d684=_0x2841f9[_0x37b16f(0x21b)],_0x47e1f4=_0x5eed0f[_0x37b16f(0x2e1)]),_0x44d684>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x167da2={[_0x11df68]:_0x44d684,'fin':!0x0,'generateMask':this[_0x37b16f(0x330)],'mask':_0xf99e20,'maskBuffer':this[_0x37b16f(0x224)],'opcode':0xa,'readOnly':_0x47e1f4,'rsv1':!0x1};_0x33fab3(_0x2841f9)?this[_0x37b16f(0x1d8)]!==_0x5d4f90?this[_0x37b16f(0x286)]([this['getBlobData'],_0x2841f9,!0x1,_0x167da2,_0x32f8fd]):this[_0x37b16f(0x1c1)](_0x2841f9,!0x1,_0x167da2,_0x32f8fd):this[_0x37b16f(0x1d8)]!==_0x5d4f90?this[_0x37b16f(0x286)]([this[_0x37b16f(0x1d9)],_0x2841f9,!0x1,_0x167da2,_0x32f8fd]):this[_0x37b16f(0x1d0)](_0x4dc294['frame'](_0x2841f9,_0x167da2),_0x32f8fd);}['send'](_0x5afac4,_0x84c111,_0x4532c2){const _0x2de594=_0x36f57f,_0x1b63d9=this[_0x2de594(0x1e6)][_0x5a49b8['extensionName']];let _0x59eef1=_0x84c111[_0x2de594(0x203)]?0x2:0x1,_0x5289b7=_0x84c111[_0x2de594(0x2b3)],_0x1733fa,_0x366f79;typeof _0x5afac4=='string'?(_0x1733fa=Buffer['byteLength'](_0x5afac4),_0x366f79=!0x1):_0x33fab3(_0x5afac4)?(_0x1733fa=_0x5afac4[_0x2de594(0x1aa)],_0x366f79=!0x1):(_0x5afac4=_0x5eed0f(_0x5afac4),_0x1733fa=_0x5afac4[_0x2de594(0x21b)],_0x366f79=_0x5eed0f[_0x2de594(0x2e1)]),this[_0x2de594(0x2d3)]?(this[_0x2de594(0x2d3)]=!0x1,_0x5289b7&&_0x1b63d9&&_0x1b63d9[_0x2de594(0x24c)][_0x1b63d9[_0x2de594(0x2fa)]?_0x2de594(0x221):_0x2de594(0x341)]&&(_0x5289b7=_0x1733fa>=_0x1b63d9[_0x2de594(0x2ed)]),this[_0x2de594(0x339)]=_0x5289b7):(_0x5289b7=!0x1,_0x59eef1=0x0),_0x84c111[_0x2de594(0x201)]&&(this['_firstFragment']=!0x0);const _0x1647b9={[_0x11df68]:_0x1733fa,'fin':_0x84c111[_0x2de594(0x201)],'generateMask':this[_0x2de594(0x330)],'mask':_0x84c111['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x59eef1,'readOnly':_0x366f79,'rsv1':_0x5289b7};_0x33fab3(_0x5afac4)?this['_state']!==_0x5d4f90?this[_0x2de594(0x286)]([this[_0x2de594(0x1c1)],_0x5afac4,this[_0x2de594(0x339)],_0x1647b9,_0x4532c2]):this['getBlobData'](_0x5afac4,this['_compress'],_0x1647b9,_0x4532c2):this[_0x2de594(0x1d8)]!==_0x5d4f90?this[_0x2de594(0x286)]([this[_0x2de594(0x1d9)],_0x5afac4,this[_0x2de594(0x339)],_0x1647b9,_0x4532c2]):this[_0x2de594(0x1d9)](_0x5afac4,this[_0x2de594(0x339)],_0x1647b9,_0x4532c2);}[_0x36f57f(0x1c1)](_0x32c6d7,_0x222328,_0x4a237a,_0x188f88){const _0x52db76=_0x36f57f;this[_0x52db76(0x226)]+=_0x4a237a[_0x11df68],this[_0x52db76(0x1d8)]=_0x5bdf92,_0x32c6d7[_0x52db76(0x254)]()[_0x52db76(0x28f)](_0x3a5dcc=>{const _0x434df8=_0x52db76;if(this[_0x434df8(0x2bf)][_0x434df8(0x22a)]){const _0x2095b2=new Error(_0x434df8(0x242));process[_0x434df8(0x218)](_0x292ece,this,_0x2095b2,_0x188f88);return;}this[_0x434df8(0x226)]-=_0x4a237a[_0x11df68];const _0x162a17=_0x5eed0f(_0x3a5dcc);_0x222328?this[_0x434df8(0x1d9)](_0x162a17,_0x222328,_0x4a237a,_0x188f88):(this[_0x434df8(0x1d8)]=_0x5d4f90,this['sendFrame'](_0x4dc294[_0x434df8(0x280)](_0x162a17,_0x4a237a),_0x188f88),this[_0x434df8(0x1b8)]());})[_0x52db76(0x32d)](_0x3eadcd=>{const _0x360d26=_0x52db76;process[_0x360d26(0x218)](_0x1906ff,this,_0x3eadcd,_0x188f88);});}[_0x36f57f(0x1d9)](_0x190c57,_0x5a166d,_0x1b0965,_0x5e1a27){const _0x3cee76=_0x36f57f;if(!_0x5a166d){this[_0x3cee76(0x1d0)](_0x4dc294[_0x3cee76(0x280)](_0x190c57,_0x1b0965),_0x5e1a27);return;}const _0x37b43d=this['_extensions'][_0x5a49b8['extensionName']];this[_0x3cee76(0x226)]+=_0x1b0965[_0x11df68],this[_0x3cee76(0x1d8)]=_0x4c6912,_0x37b43d[_0x3cee76(0x2b3)](_0x190c57,_0x1b0965[_0x3cee76(0x201)],(_0x54d111,_0x5d1159)=>{const _0x42b10e=_0x3cee76;if(this[_0x42b10e(0x2bf)][_0x42b10e(0x22a)]){const _0x8e10e2=new Error(_0x42b10e(0x287));_0x292ece(this,_0x8e10e2,_0x5e1a27);return;}this[_0x42b10e(0x226)]-=_0x1b0965[_0x11df68],this['_state']=_0x5d4f90,_0x1b0965[_0x42b10e(0x2e1)]=!0x1,this[_0x42b10e(0x1d0)](_0x4dc294['frame'](_0x5d1159,_0x1b0965),_0x5e1a27),this[_0x42b10e(0x1b8)]();});}['dequeue'](){const _0x41f169=_0x36f57f;for(;this[_0x41f169(0x1d8)]===_0x5d4f90&&this['_queue'][_0x41f169(0x21b)];){const _0x5a3c3a=this['_queue'][_0x41f169(0x31e)]();this[_0x41f169(0x226)]-=_0x5a3c3a[0x3][_0x11df68],Reflect[_0x41f169(0x276)](_0x5a3c3a[0x0],this,_0x5a3c3a[_0x41f169(0x234)](0x1));}}[_0x36f57f(0x286)](_0x54d1c3){const _0x3d008b=_0x36f57f;this[_0x3d008b(0x226)]+=_0x54d1c3[0x3][_0x11df68],this['_queue'][_0x3d008b(0x297)](_0x54d1c3);}[_0x36f57f(0x1d0)](_0x4b4b19,_0x5abc7d){const _0x35029a=_0x36f57f;_0x4b4b19['length']===0x2?(this[_0x35029a(0x2bf)][_0x35029a(0x229)](),this[_0x35029a(0x2bf)][_0x35029a(0x1c0)](_0x4b4b19[0x0]),this['_socket'][_0x35029a(0x1c0)](_0x4b4b19[0x1],_0x5abc7d),this[_0x35029a(0x2bf)][_0x35029a(0x1b7)]()):this['_socket'][_0x35029a(0x1c0)](_0x4b4b19[0x0],_0x5abc7d);}}Ee=_0x4dc294;function _0x292ece(_0x436546,_0x45de22,_0x57646f){const _0x19937d=_0x36f57f;typeof _0x57646f==_0x19937d(0x27b)&&_0x57646f(_0x45de22);for(let _0x2c545f=0x0;_0x2c545f<_0x436546['_queue'][_0x19937d(0x21b)];_0x2c545f++){const _0x3171c3=_0x436546[_0x19937d(0x307)][_0x2c545f],_0x33039a=_0x3171c3[_0x3171c3[_0x19937d(0x21b)]-0x1];typeof _0x33039a=='function'&&_0x33039a(_0x45de22);}}function _0x1906ff(_0x987dbc,_0x3dd9ab,_0x20a128){_0x292ece(_0x987dbc,_0x3dd9ab,_0x20a128),_0x987dbc['onerror'](_0x3dd9ab);}return Ee;}var xe,tt;function Kt(){const _0x3fc2ec=_0x4b8bfe;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xe4cea7,kListener:_0xa11c18}=V(),_0x3b4cbc=Symbol(_0x3fc2ec(0x2bb)),_0x5da1d9=Symbol('kData'),_0x57294e=Symbol(_0x3fc2ec(0x2ec)),_0x1737a6=Symbol('kMessage'),_0x17a78f=Symbol(_0x3fc2ec(0x2d4)),_0x2f8608=Symbol(_0x3fc2ec(0x2cb)),_0x293348=Symbol('kType'),_0x60ed87=Symbol(_0x3fc2ec(0x311));class _0xcc74ed{constructor(_0x1c17f7){this[_0x2f8608]=null,this[_0x293348]=_0x1c17f7;}get[_0x3fc2ec(0x2bc)](){return this[_0x2f8608];}get[_0x3fc2ec(0x318)](){return this[_0x293348];}}Object['defineProperty'](_0xcc74ed[_0x3fc2ec(0x2c3)],_0x3fc2ec(0x2bc),{'enumerable':!0x0}),Object[_0x3fc2ec(0x1ed)](_0xcc74ed['prototype'],_0x3fc2ec(0x318),{'enumerable':!0x0});class _0x42ff74 extends _0xcc74ed{constructor(_0x91405c,_0x30c6bd={}){const _0x46d6c0=_0x3fc2ec;super(_0x91405c),this[_0x3b4cbc]=_0x30c6bd[_0x46d6c0(0x30a)]===void 0x0?0x0:_0x30c6bd[_0x46d6c0(0x30a)],this[_0x17a78f]=_0x30c6bd[_0x46d6c0(0x270)]===void 0x0?'':_0x30c6bd['reason'],this[_0x60ed87]=_0x30c6bd[_0x46d6c0(0x251)]===void 0x0?!0x1:_0x30c6bd['wasClean'];}get['code'](){return this[_0x3b4cbc];}get['reason'](){return this[_0x17a78f];}get[_0x3fc2ec(0x251)](){return this[_0x60ed87];}}Object['defineProperty'](_0x42ff74[_0x3fc2ec(0x2c3)],_0x3fc2ec(0x30a),{'enumerable':!0x0}),Object[_0x3fc2ec(0x1ed)](_0x42ff74[_0x3fc2ec(0x2c3)],_0x3fc2ec(0x270),{'enumerable':!0x0}),Object[_0x3fc2ec(0x1ed)](_0x42ff74[_0x3fc2ec(0x2c3)],_0x3fc2ec(0x251),{'enumerable':!0x0});class _0x366114 extends _0xcc74ed{constructor(_0x171b5d,_0x12d156={}){const _0x39155d=_0x3fc2ec;super(_0x171b5d),this[_0x57294e]=_0x12d156[_0x39155d(0x2d7)]===void 0x0?null:_0x12d156[_0x39155d(0x2d7)],this[_0x1737a6]=_0x12d156[_0x39155d(0x1d4)]===void 0x0?'':_0x12d156[_0x39155d(0x1d4)];}get['error'](){return this[_0x57294e];}get['message'](){return this[_0x1737a6];}}Object[_0x3fc2ec(0x1ed)](_0x366114[_0x3fc2ec(0x2c3)],_0x3fc2ec(0x2d7),{'enumerable':!0x0}),Object[_0x3fc2ec(0x1ed)](_0x366114['prototype'],'message',{'enumerable':!0x0});class _0xbd94ea extends _0xcc74ed{constructor(_0x76295e,_0x5d87ea={}){const _0x3e9ebe=_0x3fc2ec;super(_0x76295e),this[_0x5da1d9]=_0x5d87ea[_0x3e9ebe(0x1db)]===void 0x0?null:_0x5d87ea[_0x3e9ebe(0x1db)];}get['data'](){return this[_0x5da1d9];}}Object[_0x3fc2ec(0x1ed)](_0xbd94ea[_0x3fc2ec(0x2c3)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x42ff74,'ErrorEvent':_0x366114,'Event':_0xcc74ed,'EventTarget':{'addEventListener'(_0x287d1f,_0x3cd25e,_0x248850={}){const _0x4807c9=_0x3fc2ec;for(const _0x4b7433 of this[_0x4807c9(0x2fd)](_0x287d1f))if(!_0x248850[_0xe4cea7]&&_0x4b7433[_0xa11c18]===_0x3cd25e&&!_0x4b7433[_0xe4cea7])return;let _0x51c73d;if(_0x287d1f===_0x4807c9(0x1d4))_0x51c73d=function(_0x849407,_0x418a39){const _0x336191=_0x4807c9,_0x53635d=new _0xbd94ea(_0x336191(0x1d4),{'data':_0x418a39?_0x849407:_0x849407[_0x336191(0x1df)]()});_0x53635d[_0x2f8608]=this,_0x321f35(_0x3cd25e,this,_0x53635d);};else{if(_0x287d1f===_0x4807c9(0x2e3))_0x51c73d=function(_0x4567e3,_0x238dda){const _0x3087dd=_0x4807c9,_0xee274f=new _0x42ff74(_0x3087dd(0x2e3),{'code':_0x4567e3,'reason':_0x238dda['toString'](),'wasClean':this[_0x3087dd(0x248)]&&this[_0x3087dd(0x2f8)]});_0xee274f[_0x2f8608]=this,_0x321f35(_0x3cd25e,this,_0xee274f);};else{if(_0x287d1f===_0x4807c9(0x2d7))_0x51c73d=function(_0x5ed14f){const _0x4712b7=_0x4807c9,_0x43695e=new _0x366114(_0x4712b7(0x2d7),{'error':_0x5ed14f,'message':_0x5ed14f[_0x4712b7(0x1d4)]});_0x43695e[_0x2f8608]=this,_0x321f35(_0x3cd25e,this,_0x43695e);};else{if(_0x287d1f===_0x4807c9(0x200))_0x51c73d=function(){const _0x4bcd32=_0x4807c9,_0x35ded4=new _0xcc74ed(_0x4bcd32(0x200));_0x35ded4[_0x2f8608]=this,_0x321f35(_0x3cd25e,this,_0x35ded4);};else return;}}}_0x51c73d[_0xe4cea7]=!!_0x248850[_0xe4cea7],_0x51c73d[_0xa11c18]=_0x3cd25e,_0x248850[_0x4807c9(0x326)]?this['once'](_0x287d1f,_0x51c73d):this['on'](_0x287d1f,_0x51c73d);},'removeEventListener'(_0x266bb1,_0x4b48d7){const _0x7b6187=_0x3fc2ec;for(const _0x113f60 of this[_0x7b6187(0x2fd)](_0x266bb1))if(_0x113f60[_0xa11c18]===_0x4b48d7&&!_0x113f60[_0xe4cea7]){this[_0x7b6187(0x28b)](_0x266bb1,_0x113f60);break;}}},'MessageEvent':_0xbd94ea};function _0x321f35(_0x299022,_0x376fdb,_0x3f2c2c){const _0x54f589=_0x3fc2ec;typeof _0x299022=='object'&&_0x299022['handleEvent']?_0x299022[_0x54f589(0x28d)][_0x54f589(0x2f3)](_0x299022,_0x3f2c2c):_0x299022[_0x54f589(0x2f3)](_0x376fdb,_0x3f2c2c);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2a9b80}=ne();function _0x3f184e(_0x14c99a,_0x3a3c3f,_0x55e1f){const _0x45a7b8=_0x1474;_0x14c99a[_0x3a3c3f]===void 0x0?_0x14c99a[_0x3a3c3f]=[_0x55e1f]:_0x14c99a[_0x3a3c3f][_0x45a7b8(0x297)](_0x55e1f);}function _0x38ac43(_0x2906ce){const _0x17bff5=_0x1474,_0x15d4c3=Object[_0x17bff5(0x2dc)](null);let _0x93671a=Object[_0x17bff5(0x2dc)](null),_0x1f67b6=!0x1,_0x53dc11=!0x1,_0xbc03ac=!0x1,_0x31e309,_0x203de6,_0x520168=-0x1,_0x16dda0=-0x1,_0x1bc826=-0x1,_0x89a1e6=0x0;for(;_0x89a1e6<_0x2906ce[_0x17bff5(0x21b)];_0x89a1e6++)if(_0x16dda0=_0x2906ce['charCodeAt'](_0x89a1e6),_0x31e309===void 0x0){if(_0x1bc826===-0x1&&_0x2a9b80[_0x16dda0]===0x1)_0x520168===-0x1&&(_0x520168=_0x89a1e6);else{if(_0x89a1e6!==0x0&&(_0x16dda0===0x20||_0x16dda0===0x9))_0x1bc826===-0x1&&_0x520168!==-0x1&&(_0x1bc826=_0x89a1e6);else{if(_0x16dda0===0x3b||_0x16dda0===0x2c){if(_0x520168===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x89a1e6);_0x1bc826===-0x1&&(_0x1bc826=_0x89a1e6);const _0x3d2b90=_0x2906ce[_0x17bff5(0x234)](_0x520168,_0x1bc826);_0x16dda0===0x2c?(_0x3f184e(_0x15d4c3,_0x3d2b90,_0x93671a),_0x93671a=Object[_0x17bff5(0x2dc)](null)):_0x31e309=_0x3d2b90,_0x520168=_0x1bc826=-0x1;}else throw new SyntaxError(_0x17bff5(0x1eb)+_0x89a1e6);}}}else{if(_0x203de6===void 0x0){if(_0x1bc826===-0x1&&_0x2a9b80[_0x16dda0]===0x1)_0x520168===-0x1&&(_0x520168=_0x89a1e6);else{if(_0x16dda0===0x20||_0x16dda0===0x9)_0x1bc826===-0x1&&_0x520168!==-0x1&&(_0x1bc826=_0x89a1e6);else{if(_0x16dda0===0x3b||_0x16dda0===0x2c){if(_0x520168===-0x1)throw new SyntaxError(_0x17bff5(0x1eb)+_0x89a1e6);_0x1bc826===-0x1&&(_0x1bc826=_0x89a1e6),_0x3f184e(_0x93671a,_0x2906ce[_0x17bff5(0x234)](_0x520168,_0x1bc826),!0x0),_0x16dda0===0x2c&&(_0x3f184e(_0x15d4c3,_0x31e309,_0x93671a),_0x93671a=Object[_0x17bff5(0x2dc)](null),_0x31e309=void 0x0),_0x520168=_0x1bc826=-0x1;}else{if(_0x16dda0===0x3d&&_0x520168!==-0x1&&_0x1bc826===-0x1)_0x203de6=_0x2906ce[_0x17bff5(0x234)](_0x520168,_0x89a1e6),_0x520168=_0x1bc826=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x89a1e6);}}}}else{if(_0x53dc11){if(_0x2a9b80[_0x16dda0]!==0x1)throw new SyntaxError(_0x17bff5(0x1eb)+_0x89a1e6);_0x520168===-0x1?_0x520168=_0x89a1e6:_0x1f67b6||(_0x1f67b6=!0x0),_0x53dc11=!0x1;}else{if(_0xbc03ac){if(_0x2a9b80[_0x16dda0]===0x1)_0x520168===-0x1&&(_0x520168=_0x89a1e6);else{if(_0x16dda0===0x22&&_0x520168!==-0x1)_0xbc03ac=!0x1,_0x1bc826=_0x89a1e6;else{if(_0x16dda0===0x5c)_0x53dc11=!0x0;else throw new SyntaxError(_0x17bff5(0x1eb)+_0x89a1e6);}}}else{if(_0x16dda0===0x22&&_0x2906ce[_0x17bff5(0x2f1)](_0x89a1e6-0x1)===0x3d)_0xbc03ac=!0x0;else{if(_0x1bc826===-0x1&&_0x2a9b80[_0x16dda0]===0x1)_0x520168===-0x1&&(_0x520168=_0x89a1e6);else{if(_0x520168!==-0x1&&(_0x16dda0===0x20||_0x16dda0===0x9))_0x1bc826===-0x1&&(_0x1bc826=_0x89a1e6);else{if(_0x16dda0===0x3b||_0x16dda0===0x2c){if(_0x520168===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x89a1e6);_0x1bc826===-0x1&&(_0x1bc826=_0x89a1e6);let _0x204da6=_0x2906ce['slice'](_0x520168,_0x1bc826);_0x1f67b6&&(_0x204da6=_0x204da6[_0x17bff5(0x338)](/\\/g,''),_0x1f67b6=!0x1),_0x3f184e(_0x93671a,_0x203de6,_0x204da6),_0x16dda0===0x2c&&(_0x3f184e(_0x15d4c3,_0x31e309,_0x93671a),_0x93671a=Object[_0x17bff5(0x2dc)](null),_0x31e309=void 0x0),_0x203de6=void 0x0,_0x520168=_0x1bc826=-0x1;}else throw new SyntaxError(_0x17bff5(0x1eb)+_0x89a1e6);}}}}}}}if(_0x520168===-0x1||_0xbc03ac||_0x16dda0===0x20||_0x16dda0===0x9)throw new SyntaxError(_0x17bff5(0x20a));_0x1bc826===-0x1&&(_0x1bc826=_0x89a1e6);const _0x4b684d=_0x2906ce[_0x17bff5(0x234)](_0x520168,_0x1bc826);return _0x31e309===void 0x0?_0x3f184e(_0x15d4c3,_0x4b684d,_0x93671a):(_0x203de6===void 0x0?_0x3f184e(_0x93671a,_0x4b684d,!0x0):_0x1f67b6?_0x3f184e(_0x93671a,_0x203de6,_0x4b684d[_0x17bff5(0x338)](/\\/g,'')):_0x3f184e(_0x93671a,_0x203de6,_0x4b684d),_0x3f184e(_0x15d4c3,_0x31e309,_0x93671a)),_0x15d4c3;}function _0xe71626(_0x4dd4fd){const _0x2ea194=_0x1474;return Object['keys'](_0x4dd4fd)[_0x2ea194(0x237)](_0x4fc9de=>{const _0x22012d=_0x2ea194;let _0x397525=_0x4dd4fd[_0x4fc9de];return Array[_0x22012d(0x1a4)](_0x397525)||(_0x397525=[_0x397525]),_0x397525['map'](_0x3da72e=>[_0x4fc9de][_0x22012d(0x1f0)](Object[_0x22012d(0x233)](_0x3da72e)['map'](_0x414661=>{let _0x32f376=_0x3da72e[_0x414661];return Array['isArray'](_0x32f376)||(_0x32f376=[_0x32f376]),_0x32f376['map'](_0x406d3c=>_0x406d3c===!0x0?_0x414661:_0x414661+'='+_0x406d3c)['join'](';\x20');}))[_0x22012d(0x27a)](';\x20'))['join'](',\x20');})[_0x2ea194(0x27a)](',\x20');}return be={'format':_0xe71626,'parse':_0x38ac43},be;}var we,st;function Ie(){const _0x13cbeb=_0x4b8bfe;if(st)return we;st=0x1;const _0x2b1b7e=_0x420da1,_0x37239b=_0x457cf3,_0x2e9628=_0x1c52af,_0x545b85=_0x15439f,_0x23e465=_0x43bfe8,{randomBytes:_0x38faa7,createHash:_0x1cfbaa}=_0x2129bc,{Duplex:_0x24b568,Readable:_0x18159d}=_0xa8656c,{URL:_0x292415}=_0x49d269,_0xa3a3a2=he(),_0x24618b=dt(),_0x337a63=_t(),{isBlob:_0x121914}=ne(),{BINARY_TYPES:_0xcb1451,EMPTY_BUFFER:_0x552239,GUID:_0x241ccd,kForOnEventAttribute:_0x4852b9,kListener:_0x468d53,kStatusCode:_0x3fc185,kWebSocket:_0x286806,NOOP:_0x22fc4f}=V(),{EventTarget:{addEventListener:_0x21c231,removeEventListener:_0x4490c6}}=Kt(),{format:_0xd4512e,parse:_0x197575}=pt(),{toBuffer:_0x2e0dc0}=ce(),_0x253f16=0x1e*0x3e8,_0x5ccaf0=Symbol('kAborted'),_0x25f447=[0x8,0xd],_0x1d7e4c=[_0x13cbeb(0x325),'OPEN',_0x13cbeb(0x1fd),'CLOSED'],_0x1e1f1e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x23d018 extends _0x2b1b7e{constructor(_0x2a486b,_0x5b33c7,_0x235fde){const _0x3398aa=_0x13cbeb;super(),this[_0x3398aa(0x2c9)]=_0xcb1451[0x0],this[_0x3398aa(0x23e)]=0x3ee,this[_0x3398aa(0x248)]=!0x1,this[_0x3398aa(0x2f8)]=!0x1,this[_0x3398aa(0x310)]=_0x552239,this[_0x3398aa(0x2c7)]=null,this[_0x3398aa(0x25d)]=!0x1,this[_0x3398aa(0x1e6)]={},this[_0x3398aa(0x322)]=!0x1,this['_protocol']='',this['_readyState']=_0x23d018[_0x3398aa(0x325)],this[_0x3398aa(0x252)]=null,this[_0x3398aa(0x273)]=null,this[_0x3398aa(0x2bf)]=null,_0x2a486b!==null?(this[_0x3398aa(0x2e4)]=0x0,this['_isServer']=!0x1,this[_0x3398aa(0x29b)]=0x0,_0x5b33c7===void 0x0?_0x5b33c7=[]:Array[_0x3398aa(0x1a4)](_0x5b33c7)||(typeof _0x5b33c7==_0x3398aa(0x1cb)&&_0x5b33c7!==null?(_0x235fde=_0x5b33c7,_0x5b33c7=[]):_0x5b33c7=[_0x5b33c7]),_0x2b4d65(this,_0x2a486b,_0x5b33c7,_0x235fde)):(this[_0x3398aa(0x271)]=_0x235fde[_0x3398aa(0x2f5)],this[_0x3398aa(0x2fa)]=!0x0);}get[_0x13cbeb(0x2cc)](){return this['_binaryType'];}set[_0x13cbeb(0x2cc)](_0x4e5c0e){const _0x5a07d3=_0x13cbeb;_0xcb1451[_0x5a07d3(0x1c4)](_0x4e5c0e)&&(this[_0x5a07d3(0x2c9)]=_0x4e5c0e,this[_0x5a07d3(0x252)]&&(this['_receiver'][_0x5a07d3(0x2c9)]=_0x4e5c0e));}get[_0x13cbeb(0x332)](){const _0x36c94d=_0x13cbeb;return this[_0x36c94d(0x2bf)]?this[_0x36c94d(0x2bf)][_0x36c94d(0x247)][_0x36c94d(0x21b)]+this[_0x36c94d(0x273)]['_bufferedBytes']:this[_0x36c94d(0x2e4)];}get[_0x13cbeb(0x319)](){const _0x1f56e1=_0x13cbeb;return Object['keys'](this[_0x1f56e1(0x1e6)])[_0x1f56e1(0x27a)]();}get[_0x13cbeb(0x1bf)](){const _0x292886=_0x13cbeb;return this[_0x292886(0x322)];}get['onclose'](){return null;}get[_0x13cbeb(0x1ba)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x13cbeb(0x27e)](){const _0x55a48=_0x13cbeb;return this[_0x55a48(0x2c8)];}get[_0x13cbeb(0x308)](){return this['_url'];}[_0x13cbeb(0x312)](_0x2742ea,_0x412c49,_0x1ea7ba){const _0x24b783=_0x13cbeb,_0x38744f=new _0x24618b({'allowSynchronousEvents':_0x1ea7ba[_0x24b783(0x220)],'binaryType':this[_0x24b783(0x2cc)],'extensions':this[_0x24b783(0x1e6)],'isServer':this['_isServer'],'maxPayload':_0x1ea7ba[_0x24b783(0x259)],'skipUTF8Validation':_0x1ea7ba[_0x24b783(0x29f)]}),_0x25f1e5=new _0x337a63(_0x2742ea,this[_0x24b783(0x1e6)],_0x1ea7ba[_0x24b783(0x216)]);this[_0x24b783(0x252)]=_0x38744f,this[_0x24b783(0x273)]=_0x25f1e5,this[_0x24b783(0x2bf)]=_0x2742ea,_0x38744f[_0x286806]=this,_0x25f1e5[_0x286806]=this,_0x2742ea[_0x286806]=this,_0x38744f['on'](_0x24b783(0x2aa),_0x2a9d07),_0x38744f['on']('drain',_0x4b191b),_0x38744f['on'](_0x24b783(0x2d7),_0x328726),_0x38744f['on'](_0x24b783(0x1d4),_0x31d8fb),_0x38744f['on']('ping',_0x19a116),_0x38744f['on']('pong',_0x1fb576),_0x25f1e5['onerror']=_0x3b5a40,_0x2742ea[_0x24b783(0x2a1)]&&_0x2742ea['setTimeout'](0x0),_0x2742ea[_0x24b783(0x267)]&&_0x2742ea[_0x24b783(0x267)](),_0x412c49['length']>0x0&&_0x2742ea[_0x24b783(0x1a5)](_0x412c49),_0x2742ea['on'](_0x24b783(0x2e3),_0xcbbf96),_0x2742ea['on'](_0x24b783(0x1db),_0x506808),_0x2742ea['on'](_0x24b783(0x283),_0x2172a8),_0x2742ea['on'](_0x24b783(0x2d7),_0x3f1a5b),this[_0x24b783(0x2c8)]=_0x23d018['OPEN'],this[_0x24b783(0x281)](_0x24b783(0x200));}[_0x13cbeb(0x1e1)](){const _0x33bf51=_0x13cbeb;if(!this['_socket']){this[_0x33bf51(0x2c8)]=_0x23d018[_0x33bf51(0x1e5)],this['emit'](_0x33bf51(0x2e3),this[_0x33bf51(0x23e)],this[_0x33bf51(0x310)]);return;}this['_extensions'][_0xa3a3a2['extensionName']]&&this[_0x33bf51(0x1e6)][_0xa3a3a2[_0x33bf51(0x31d)]][_0x33bf51(0x26a)](),this['_receiver'][_0x33bf51(0x22e)](),this['_readyState']=_0x23d018[_0x33bf51(0x1e5)],this['emit']('close',this['_closeCode'],this[_0x33bf51(0x310)]);}['close'](_0x50d864,_0x186393){const _0x1a460a=_0x13cbeb;if(this[_0x1a460a(0x27e)]!==_0x23d018[_0x1a460a(0x1e5)]){if(this[_0x1a460a(0x27e)]===_0x23d018[_0x1a460a(0x325)]){_0x5559fe(this,this['_req'],_0x1a460a(0x2b2));return;}if(this[_0x1a460a(0x27e)]===_0x23d018[_0x1a460a(0x1fd)]){this[_0x1a460a(0x2f8)]&&(this[_0x1a460a(0x248)]||this[_0x1a460a(0x252)][_0x1a460a(0x247)]['errorEmitted'])&&this['_socket'][_0x1a460a(0x283)]();return;}this[_0x1a460a(0x2c8)]=_0x23d018['CLOSING'],this[_0x1a460a(0x273)][_0x1a460a(0x2e3)](_0x50d864,_0x186393,!this[_0x1a460a(0x2fa)],_0x4f0083=>{const _0x3c11c0=_0x1a460a;_0x4f0083||(this['_closeFrameSent']=!0x0,(this[_0x3c11c0(0x248)]||this[_0x3c11c0(0x252)][_0x3c11c0(0x247)]['errorEmitted'])&&this[_0x3c11c0(0x2bf)][_0x3c11c0(0x283)]());}),_0x47d1ac(this);}}[_0x13cbeb(0x302)](){const _0x5179fb=_0x13cbeb;this[_0x5179fb(0x27e)]===_0x23d018[_0x5179fb(0x325)]||this[_0x5179fb(0x27e)]===_0x23d018['CLOSED']||(this[_0x5179fb(0x322)]=!0x0,this[_0x5179fb(0x2bf)][_0x5179fb(0x302)]());}[_0x13cbeb(0x316)](_0xf7bc7a,_0x22e874,_0x2dd756){const _0x3077a4=_0x13cbeb;if(this[_0x3077a4(0x27e)]===_0x23d018[_0x3077a4(0x325)])throw new Error(_0x3077a4(0x1c2));if(typeof _0xf7bc7a==_0x3077a4(0x27b)?(_0x2dd756=_0xf7bc7a,_0xf7bc7a=_0x22e874=void 0x0):typeof _0x22e874==_0x3077a4(0x27b)&&(_0x2dd756=_0x22e874,_0x22e874=void 0x0),typeof _0xf7bc7a==_0x3077a4(0x1cd)&&(_0xf7bc7a=_0xf7bc7a['toString']()),this[_0x3077a4(0x27e)]!==_0x23d018[_0x3077a4(0x24b)]){_0x3ebff8(this,_0xf7bc7a,_0x2dd756);return;}_0x22e874===void 0x0&&(_0x22e874=!this['_isServer']),this[_0x3077a4(0x273)][_0x3077a4(0x316)](_0xf7bc7a||_0x552239,_0x22e874,_0x2dd756);}['pong'](_0x5bbe50,_0x3cd561,_0x1998c0){const _0x1d8bcd=_0x13cbeb;if(this['readyState']===_0x23d018[_0x1d8bcd(0x325)])throw new Error(_0x1d8bcd(0x1c2));if(typeof _0x5bbe50==_0x1d8bcd(0x27b)?(_0x1998c0=_0x5bbe50,_0x5bbe50=_0x3cd561=void 0x0):typeof _0x3cd561=='function'&&(_0x1998c0=_0x3cd561,_0x3cd561=void 0x0),typeof _0x5bbe50==_0x1d8bcd(0x1cd)&&(_0x5bbe50=_0x5bbe50[_0x1d8bcd(0x1df)]()),this[_0x1d8bcd(0x27e)]!==_0x23d018[_0x1d8bcd(0x24b)]){_0x3ebff8(this,_0x5bbe50,_0x1998c0);return;}_0x3cd561===void 0x0&&(_0x3cd561=!this[_0x1d8bcd(0x2fa)]),this[_0x1d8bcd(0x273)][_0x1d8bcd(0x1fa)](_0x5bbe50||_0x552239,_0x3cd561,_0x1998c0);}[_0x13cbeb(0x1c9)](){const _0x395bd3=_0x13cbeb;this['readyState']===_0x23d018['CONNECTING']||this[_0x395bd3(0x27e)]===_0x23d018[_0x395bd3(0x1e5)]||(this[_0x395bd3(0x322)]=!0x1,this[_0x395bd3(0x252)]['_writableState'][_0x395bd3(0x22f)]||this[_0x395bd3(0x2bf)][_0x395bd3(0x1c9)]());}[_0x13cbeb(0x1cc)](_0x3aa261,_0x595928,_0x1039c1){const _0x246238=_0x13cbeb;if(this[_0x246238(0x27e)]===_0x23d018[_0x246238(0x325)])throw new Error(_0x246238(0x1c2));if(typeof _0x595928==_0x246238(0x27b)&&(_0x1039c1=_0x595928,_0x595928={}),typeof _0x3aa261==_0x246238(0x1cd)&&(_0x3aa261=_0x3aa261[_0x246238(0x1df)]()),this[_0x246238(0x27e)]!==_0x23d018['OPEN']){_0x3ebff8(this,_0x3aa261,_0x1039c1);return;}const _0xbd1040={'binary':typeof _0x3aa261!=_0x246238(0x1e4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x595928};this[_0x246238(0x1e6)][_0xa3a3a2[_0x246238(0x31d)]]||(_0xbd1040[_0x246238(0x2b3)]=!0x1),this[_0x246238(0x273)]['send'](_0x3aa261||_0x552239,_0xbd1040,_0x1039c1);}['terminate'](){const _0x5d5c3d=_0x13cbeb;if(this[_0x5d5c3d(0x27e)]!==_0x23d018[_0x5d5c3d(0x1e5)]){if(this[_0x5d5c3d(0x27e)]===_0x23d018[_0x5d5c3d(0x325)]){_0x5559fe(this,this[_0x5d5c3d(0x290)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x5d5c3d(0x2bf)]&&(this[_0x5d5c3d(0x2c8)]=_0x23d018[_0x5d5c3d(0x1fd)],this['_socket'][_0x5d5c3d(0x212)]());}}}Object[_0x13cbeb(0x1ed)](_0x23d018,'CONNECTING',{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)](_0x13cbeb(0x325))}),Object[_0x13cbeb(0x1ed)](_0x23d018['prototype'],_0x13cbeb(0x325),{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)](_0x13cbeb(0x325))}),Object[_0x13cbeb(0x1ed)](_0x23d018,_0x13cbeb(0x24b),{'enumerable':!0x0,'value':_0x1d7e4c['indexOf']('OPEN')}),Object[_0x13cbeb(0x1ed)](_0x23d018[_0x13cbeb(0x2c3)],_0x13cbeb(0x24b),{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)](_0x13cbeb(0x24b))}),Object[_0x13cbeb(0x1ed)](_0x23d018,'CLOSING',{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)](_0x13cbeb(0x1fd))}),Object['defineProperty'](_0x23d018['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)]('CLOSING')}),Object[_0x13cbeb(0x1ed)](_0x23d018,'CLOSED',{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)](_0x13cbeb(0x1e5))}),Object[_0x13cbeb(0x1ed)](_0x23d018[_0x13cbeb(0x2c3)],'CLOSED',{'enumerable':!0x0,'value':_0x1d7e4c[_0x13cbeb(0x348)]('CLOSED')}),[_0x13cbeb(0x2cc),_0x13cbeb(0x332),_0x13cbeb(0x319),_0x13cbeb(0x1bf),_0x13cbeb(0x223),_0x13cbeb(0x27e),_0x13cbeb(0x308)][_0x13cbeb(0x309)](_0x3cd099=>{const _0xf8a93a=_0x13cbeb;Object[_0xf8a93a(0x1ed)](_0x23d018['prototype'],_0x3cd099,{'enumerable':!0x0});}),[_0x13cbeb(0x200),'error',_0x13cbeb(0x2e3),_0x13cbeb(0x1d4)]['forEach'](_0x4e85ff=>{const _0x1e8b07=_0x13cbeb;Object['defineProperty'](_0x23d018[_0x1e8b07(0x2c3)],'on'+_0x4e85ff,{'enumerable':!0x0,'get'(){for(const _0x529832 of this['listeners'](_0x4e85ff))if(_0x529832[_0x4852b9])return _0x529832[_0x468d53];return null;},'set'(_0x381022){const _0x512525=_0x1e8b07;for(const _0x523538 of this[_0x512525(0x2fd)](_0x4e85ff))if(_0x523538[_0x4852b9]){this[_0x512525(0x28b)](_0x4e85ff,_0x523538);break;}typeof _0x381022==_0x512525(0x27b)&&this[_0x512525(0x257)](_0x4e85ff,_0x381022,{[_0x4852b9]:!0x0});}});}),_0x23d018[_0x13cbeb(0x2c3)][_0x13cbeb(0x257)]=_0x21c231,_0x23d018[_0x13cbeb(0x2c3)]['removeEventListener']=_0x4490c6,we=_0x23d018;function _0x2b4d65(_0x4d752e,_0x564162,_0x48e428,_0x268e21){const _0xee6a3=_0x13cbeb,_0x12503a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x25f447[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x268e21,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xee6a3(0x1b2),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4d752e[_0xee6a3(0x271)]=_0x12503a[_0xee6a3(0x2f5)],!_0x25f447[_0xee6a3(0x1c4)](_0x12503a[_0xee6a3(0x2b0)]))throw new RangeError(_0xee6a3(0x32f)+_0x12503a['protocolVersion']+_0xee6a3(0x1ec)+_0x25f447[_0xee6a3(0x27a)](',\x20')+')');let _0x4aad2a;if(_0x564162 instanceof _0x292415)_0x4aad2a=_0x564162;else try{_0x4aad2a=new _0x292415(_0x564162);}catch{throw new SyntaxError(_0xee6a3(0x30f)+_0x564162);}_0x4aad2a['protocol']===_0xee6a3(0x31c)?_0x4aad2a[_0xee6a3(0x223)]=_0xee6a3(0x1fb):_0x4aad2a[_0xee6a3(0x223)]===_0xee6a3(0x1c6)&&(_0x4aad2a[_0xee6a3(0x223)]=_0xee6a3(0x1a3)),_0x4d752e[_0xee6a3(0x2ef)]=_0x4aad2a[_0xee6a3(0x30d)];const _0x8818db=_0x4aad2a[_0xee6a3(0x223)]===_0xee6a3(0x1a3),_0x18c281=_0x4aad2a[_0xee6a3(0x223)]===_0xee6a3(0x294);let _0x4ca86a;if(_0x4aad2a['protocol']!==_0xee6a3(0x1fb)&&!_0x8818db&&!_0x18c281?_0x4ca86a='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':_0x18c281&&!_0x4aad2a[_0xee6a3(0x2b1)]?_0x4ca86a=_0xee6a3(0x292):_0x4aad2a[_0xee6a3(0x240)]&&(_0x4ca86a='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x4ca86a){const _0x6ed2b3=new SyntaxError(_0x4ca86a);if(_0x4d752e[_0xee6a3(0x29b)]===0x0)throw _0x6ed2b3;_0x2cf8ed(_0x4d752e,_0x6ed2b3);return;}const _0x54aa1a=_0x8818db?0x1bb:0x50,_0x368298=_0x38faa7(0x10)['toString'](_0xee6a3(0x253)),_0x71bd3c=_0x8818db?_0x37239b[_0xee6a3(0x1f9)]:_0x2e9628[_0xee6a3(0x1f9)],_0x340733=new Set();let _0xe24880;if(_0x12503a['createConnection']=_0x12503a[_0xee6a3(0x2c1)]||(_0x8818db?_0x39ac81:_0x2cd3df),_0x12503a[_0xee6a3(0x30c)]=_0x12503a['defaultPort']||_0x54aa1a,_0x12503a[_0xee6a3(0x2c0)]=_0x4aad2a[_0xee6a3(0x2c0)]||_0x54aa1a,_0x12503a[_0xee6a3(0x20e)]=_0x4aad2a[_0xee6a3(0x1f7)][_0xee6a3(0x279)]('[')?_0x4aad2a['hostname'][_0xee6a3(0x234)](0x1,-0x1):_0x4aad2a[_0xee6a3(0x1f7)],_0x12503a['headers']={..._0x12503a['headers'],'Sec-WebSocket-Version':_0x12503a['protocolVersion'],'Sec-WebSocket-Key':_0x368298,'Connection':_0xee6a3(0x2a4),'Upgrade':_0xee6a3(0x1d5)},_0x12503a[_0xee6a3(0x347)]=_0x4aad2a['pathname']+_0x4aad2a['search'],_0x12503a['timeout']=_0x12503a[_0xee6a3(0x304)],_0x12503a['perMessageDeflate']&&(_0xe24880=new _0xa3a3a2(_0x12503a['perMessageDeflate']!==!0x0?_0x12503a[_0xee6a3(0x239)]:{},!0x1,_0x12503a[_0xee6a3(0x259)]),_0x12503a['headers'][_0xee6a3(0x1e9)]=_0xd4512e({[_0xa3a3a2[_0xee6a3(0x31d)]]:_0xe24880['offer']()})),_0x48e428[_0xee6a3(0x21b)]){for(const _0xb2e6b9 of _0x48e428){if(typeof _0xb2e6b9!='string'||!_0x1e1f1e['test'](_0xb2e6b9)||_0x340733[_0xee6a3(0x1e2)](_0xb2e6b9))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x340733[_0xee6a3(0x1bd)](_0xb2e6b9);}_0x12503a[_0xee6a3(0x25b)][_0xee6a3(0x209)]=_0x48e428[_0xee6a3(0x27a)](',');}if(_0x12503a[_0xee6a3(0x340)]&&(_0x12503a[_0xee6a3(0x2b0)]<0xd?_0x12503a[_0xee6a3(0x25b)][_0xee6a3(0x2d1)]=_0x12503a[_0xee6a3(0x340)]:_0x12503a['headers'][_0xee6a3(0x342)]=_0x12503a['origin']),(_0x4aad2a['username']||_0x4aad2a[_0xee6a3(0x232)])&&(_0x12503a['auth']=_0x4aad2a['username']+':'+_0x4aad2a[_0xee6a3(0x232)]),_0x18c281){const _0x152c41=_0x12503a[_0xee6a3(0x347)][_0xee6a3(0x321)](':');_0x12503a['socketPath']=_0x152c41[0x0],_0x12503a['path']=_0x152c41[0x1];}let _0x55e7b6;if(_0x12503a['followRedirects']){if(_0x4d752e[_0xee6a3(0x29b)]===0x0){_0x4d752e[_0xee6a3(0x1bc)]=_0x18c281,_0x4d752e['_originalSecure']=_0x8818db,_0x4d752e['_originalHostOrSocketPath']=_0x18c281?_0x12503a[_0xee6a3(0x31a)]:_0x4aad2a[_0xee6a3(0x20e)];const _0x274366=_0x268e21&&_0x268e21[_0xee6a3(0x25b)];if(_0x268e21={..._0x268e21,'headers':{}},_0x274366){for(const [_0x1f43f6,_0x686626]of Object[_0xee6a3(0x1da)](_0x274366))_0x268e21[_0xee6a3(0x25b)][_0x1f43f6[_0xee6a3(0x219)]()]=_0x686626;}}else{if(_0x4d752e[_0xee6a3(0x243)](_0xee6a3(0x235))===0x0){const _0x573d0b=_0x18c281?_0x4d752e['_originalIpc']?_0x12503a[_0xee6a3(0x31a)]===_0x4d752e[_0xee6a3(0x256)]:!0x1:_0x4d752e[_0xee6a3(0x1bc)]?!0x1:_0x4aad2a['host']===_0x4d752e[_0xee6a3(0x256)];(!_0x573d0b||_0x4d752e[_0xee6a3(0x1b1)]&&!_0x8818db)&&(delete _0x12503a[_0xee6a3(0x25b)][_0xee6a3(0x28c)],delete _0x12503a[_0xee6a3(0x25b)][_0xee6a3(0x24d)],_0x573d0b||delete _0x12503a['headers'][_0xee6a3(0x20e)],_0x12503a[_0xee6a3(0x336)]=void 0x0);}}_0x12503a['auth']&&!_0x268e21['headers']['authorization']&&(_0x268e21['headers'][_0xee6a3(0x28c)]='Basic\x20'+Buffer['from'](_0x12503a['auth'])['toString'](_0xee6a3(0x253))),_0x55e7b6=_0x4d752e['_req']=_0x71bd3c(_0x12503a),_0x4d752e[_0xee6a3(0x29b)]&&_0x4d752e['emit']('redirect',_0x4d752e['url'],_0x55e7b6);}else _0x55e7b6=_0x4d752e['_req']=_0x71bd3c(_0x12503a);_0x12503a['timeout']&&_0x55e7b6['on'](_0xee6a3(0x266),()=>{_0x5559fe(_0x4d752e,_0x55e7b6,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x55e7b6['on'](_0xee6a3(0x2d7),_0x1fb50b=>{const _0x498918=_0xee6a3;_0x55e7b6===null||_0x55e7b6[_0x5ccaf0]||(_0x55e7b6=_0x4d752e[_0x498918(0x290)]=null,_0x2cf8ed(_0x4d752e,_0x1fb50b));}),_0x55e7b6['on']('response',_0x57c4bd=>{const _0x81ec61=_0xee6a3,_0x5d7fcf=_0x57c4bd[_0x81ec61(0x25b)]['location'],_0x5f304c=_0x57c4bd['statusCode'];if(_0x5d7fcf&&_0x12503a[_0x81ec61(0x19f)]&&_0x5f304c>=0x12c&&_0x5f304c<0x190){if(++_0x4d752e[_0x81ec61(0x29b)]>_0x12503a[_0x81ec61(0x2d2)]){_0x5559fe(_0x4d752e,_0x55e7b6,_0x81ec61(0x1b6));return;}_0x55e7b6[_0x81ec61(0x2f0)]();let _0x2c6f4b;try{_0x2c6f4b=new _0x292415(_0x5d7fcf,_0x564162);}catch{const _0x35240c=new SyntaxError('Invalid\x20URL:\x20'+_0x5d7fcf);_0x2cf8ed(_0x4d752e,_0x35240c);return;}_0x2b4d65(_0x4d752e,_0x2c6f4b,_0x48e428,_0x268e21);}else _0x4d752e[_0x81ec61(0x281)](_0x81ec61(0x1e8),_0x55e7b6,_0x57c4bd)||_0x5559fe(_0x4d752e,_0x55e7b6,_0x81ec61(0x260)+_0x57c4bd[_0x81ec61(0x2fe)]);}),_0x55e7b6['on'](_0xee6a3(0x2cf),(_0x10ae42,_0x30b2b0,_0x34c551)=>{const _0x5ee06e=_0xee6a3;if(_0x4d752e[_0x5ee06e(0x281)](_0x5ee06e(0x2cf),_0x10ae42),_0x4d752e['readyState']!==_0x23d018[_0x5ee06e(0x325)])return;_0x55e7b6=_0x4d752e['_req']=null;const _0xbd83f2=_0x10ae42[_0x5ee06e(0x25b)][_0x5ee06e(0x2cf)];if(_0xbd83f2===void 0x0||_0xbd83f2[_0x5ee06e(0x219)]()!==_0x5ee06e(0x1d5)){_0x5559fe(_0x4d752e,_0x30b2b0,'Invalid\x20Upgrade\x20header');return;}const _0x4f8600=_0x1cfbaa(_0x5ee06e(0x19e))[_0x5ee06e(0x21c)](_0x368298+_0x241ccd)['digest'](_0x5ee06e(0x253));if(_0x10ae42['headers'][_0x5ee06e(0x1b4)]!==_0x4f8600){_0x5559fe(_0x4d752e,_0x30b2b0,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3570fd=_0x10ae42['headers'][_0x5ee06e(0x314)];let _0x2c105d;if(_0x3570fd!==void 0x0?_0x340733[_0x5ee06e(0x1aa)]?_0x340733[_0x5ee06e(0x1e2)](_0x3570fd)||(_0x2c105d=_0x5ee06e(0x263)):_0x2c105d=_0x5ee06e(0x2f9):_0x340733[_0x5ee06e(0x1aa)]&&(_0x2c105d=_0x5ee06e(0x27c)),_0x2c105d){_0x5559fe(_0x4d752e,_0x30b2b0,_0x2c105d);return;}_0x3570fd&&(_0x4d752e[_0x5ee06e(0x295)]=_0x3570fd);const _0x55add0=_0x10ae42[_0x5ee06e(0x25b)][_0x5ee06e(0x2a3)];if(_0x55add0!==void 0x0){if(!_0xe24880){_0x5559fe(_0x4d752e,_0x30b2b0,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1e46e9;try{_0x1e46e9=_0x197575(_0x55add0);}catch{_0x5559fe(_0x4d752e,_0x30b2b0,_0x5ee06e(0x31b));return;}const _0x451406=Object['keys'](_0x1e46e9);if(_0x451406[_0x5ee06e(0x21b)]!==0x1||_0x451406[0x0]!==_0xa3a3a2[_0x5ee06e(0x31d)]){_0x5559fe(_0x4d752e,_0x30b2b0,_0x5ee06e(0x2bd));return;}try{_0xe24880['accept'](_0x1e46e9[_0xa3a3a2[_0x5ee06e(0x31d)]]);}catch{_0x5559fe(_0x4d752e,_0x30b2b0,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4d752e[_0x5ee06e(0x1e6)][_0xa3a3a2[_0x5ee06e(0x31d)]]=_0xe24880;}_0x4d752e[_0x5ee06e(0x312)](_0x30b2b0,_0x34c551,{'allowSynchronousEvents':_0x12503a[_0x5ee06e(0x220)],'generateMask':_0x12503a[_0x5ee06e(0x216)],'maxPayload':_0x12503a[_0x5ee06e(0x259)],'skipUTF8Validation':_0x12503a['skipUTF8Validation']});}),_0x12503a[_0xee6a3(0x207)]?_0x12503a[_0xee6a3(0x207)](_0x55e7b6,_0x4d752e):_0x55e7b6[_0xee6a3(0x283)]();}function _0x2cf8ed(_0x885bf1,_0x2a0ef0){const _0x55aa10=_0x13cbeb;_0x885bf1[_0x55aa10(0x2c8)]=_0x23d018[_0x55aa10(0x1fd)],_0x885bf1['_errorEmitted']=!0x0,_0x885bf1[_0x55aa10(0x281)](_0x55aa10(0x2d7),_0x2a0ef0),_0x885bf1['emitClose']();}function _0x2cd3df(_0x310664){const _0x3c74e1=_0x13cbeb;return _0x310664[_0x3c74e1(0x347)]=_0x310664['socketPath'],_0x545b85['connect'](_0x310664);}function _0x39ac81(_0x39a5f7){const _0x69ed30=_0x13cbeb;return _0x39a5f7[_0x69ed30(0x347)]=void 0x0,!_0x39a5f7[_0x69ed30(0x2fb)]&&_0x39a5f7['servername']!==''&&(_0x39a5f7[_0x69ed30(0x2fb)]=_0x545b85[_0x69ed30(0x1d7)](_0x39a5f7[_0x69ed30(0x20e)])?'':_0x39a5f7[_0x69ed30(0x20e)]),_0x23e465[_0x69ed30(0x278)](_0x39a5f7);}function _0x5559fe(_0x183dd8,_0x4503a7,_0x31e1e1){const _0x368c7c=_0x13cbeb;_0x183dd8[_0x368c7c(0x2c8)]=_0x23d018[_0x368c7c(0x1fd)];const _0x275d0a=new Error(_0x31e1e1);Error[_0x368c7c(0x1c8)](_0x275d0a,_0x5559fe),_0x4503a7[_0x368c7c(0x1cf)]?(_0x4503a7[_0x5ccaf0]=!0x0,_0x4503a7[_0x368c7c(0x2f0)](),_0x4503a7[_0x368c7c(0x328)]&&!_0x4503a7[_0x368c7c(0x328)][_0x368c7c(0x22a)]&&_0x4503a7[_0x368c7c(0x328)][_0x368c7c(0x212)](),process[_0x368c7c(0x218)](_0x2cf8ed,_0x183dd8,_0x275d0a)):(_0x4503a7[_0x368c7c(0x212)](_0x275d0a),_0x4503a7[_0x368c7c(0x326)](_0x368c7c(0x2d7),_0x183dd8[_0x368c7c(0x281)][_0x368c7c(0x1be)](_0x183dd8,_0x368c7c(0x2d7))),_0x4503a7[_0x368c7c(0x326)]('close',_0x183dd8[_0x368c7c(0x1e1)][_0x368c7c(0x1be)](_0x183dd8)));}function _0x3ebff8(_0x2fe9e0,_0x3993f1,_0x153c38){const _0x5967da=_0x13cbeb;if(_0x3993f1){const _0x170941=_0x121914(_0x3993f1)?_0x3993f1[_0x5967da(0x1aa)]:_0x2e0dc0(_0x3993f1)[_0x5967da(0x21b)];_0x2fe9e0[_0x5967da(0x2bf)]?_0x2fe9e0['_sender'][_0x5967da(0x226)]+=_0x170941:_0x2fe9e0[_0x5967da(0x2e4)]+=_0x170941;}if(_0x153c38){const _0x55a097=new Error(_0x5967da(0x249)+_0x2fe9e0['readyState']+'\x20('+_0x1d7e4c[_0x2fe9e0[_0x5967da(0x27e)]]+')');process['nextTick'](_0x153c38,_0x55a097);}}function _0x2a9d07(_0x18f694,_0x364b19){const _0x50c229=_0x13cbeb,_0x4ffa0f=this[_0x286806];_0x4ffa0f[_0x50c229(0x248)]=!0x0,_0x4ffa0f[_0x50c229(0x310)]=_0x364b19,_0x4ffa0f[_0x50c229(0x23e)]=_0x18f694,_0x4ffa0f[_0x50c229(0x2bf)][_0x286806]!==void 0x0&&(_0x4ffa0f[_0x50c229(0x2bf)][_0x50c229(0x28b)](_0x50c229(0x1db),_0x506808),process[_0x50c229(0x218)](_0x5118e1,_0x4ffa0f[_0x50c229(0x2bf)]),_0x18f694===0x3ed?_0x4ffa0f[_0x50c229(0x2e3)]():_0x4ffa0f[_0x50c229(0x2e3)](_0x18f694,_0x364b19));}function _0x4b191b(){const _0xf00db=_0x13cbeb,_0x5b900a=this[_0x286806];_0x5b900a['isPaused']||_0x5b900a[_0xf00db(0x2bf)][_0xf00db(0x1c9)]();}function _0x328726(_0x724e){const _0x15d957=_0x13cbeb,_0x3044ac=this[_0x286806];_0x3044ac[_0x15d957(0x2bf)][_0x286806]!==void 0x0&&(_0x3044ac[_0x15d957(0x2bf)][_0x15d957(0x28b)](_0x15d957(0x1db),_0x506808),process[_0x15d957(0x218)](_0x5118e1,_0x3044ac[_0x15d957(0x2bf)]),_0x3044ac[_0x15d957(0x2e3)](_0x724e[_0x3fc185])),_0x3044ac['_errorEmitted']||(_0x3044ac[_0x15d957(0x25d)]=!0x0,_0x3044ac[_0x15d957(0x281)](_0x15d957(0x2d7),_0x724e));}function _0x1baf14(){this[_0x286806]['emitClose']();}function _0x31d8fb(_0x1a0fd8,_0x49a327){const _0x15f43e=_0x13cbeb;this[_0x286806][_0x15f43e(0x281)]('message',_0x1a0fd8,_0x49a327);}function _0x19a116(_0x419a8a){const _0x526687=_0x13cbeb,_0x3d62d4=this[_0x286806];_0x3d62d4[_0x526687(0x271)]&&_0x3d62d4[_0x526687(0x1fa)](_0x419a8a,!this[_0x526687(0x2fa)],_0x22fc4f),_0x3d62d4[_0x526687(0x281)](_0x526687(0x316),_0x419a8a);}function _0x1fb576(_0x1a71b2){const _0x23ebab=_0x13cbeb;this[_0x286806][_0x23ebab(0x281)](_0x23ebab(0x1fa),_0x1a71b2);}function _0x5118e1(_0x41cf0e){const _0xee1282=_0x13cbeb;_0x41cf0e[_0xee1282(0x1c9)]();}function _0x3b5a40(_0xba16d2){const _0x3b0139=_0x13cbeb,_0x4d3276=this[_0x286806];_0x4d3276[_0x3b0139(0x27e)]!==_0x23d018[_0x3b0139(0x1e5)]&&(_0x4d3276[_0x3b0139(0x27e)]===_0x23d018[_0x3b0139(0x24b)]&&(_0x4d3276[_0x3b0139(0x2c8)]=_0x23d018[_0x3b0139(0x1fd)],_0x47d1ac(_0x4d3276)),this[_0x3b0139(0x2bf)][_0x3b0139(0x283)](),_0x4d3276[_0x3b0139(0x25d)]||(_0x4d3276[_0x3b0139(0x25d)]=!0x0,_0x4d3276[_0x3b0139(0x281)](_0x3b0139(0x2d7),_0xba16d2)));}function _0x47d1ac(_0x3e7bfa){const _0x2113a2=_0x13cbeb;_0x3e7bfa['_closeTimer']=setTimeout(_0x3e7bfa[_0x2113a2(0x2bf)]['destroy']['bind'](_0x3e7bfa['_socket']),_0x253f16);}function _0xcbbf96(){const _0x22c81a=_0x13cbeb,_0x26d923=this[_0x286806];this[_0x22c81a(0x28b)](_0x22c81a(0x2e3),_0xcbbf96),this['removeListener'](_0x22c81a(0x1db),_0x506808),this[_0x22c81a(0x28b)](_0x22c81a(0x283),_0x2172a8),_0x26d923['_readyState']=_0x23d018[_0x22c81a(0x1fd)];let _0x3d4c26;!this[_0x22c81a(0x30e)]['endEmitted']&&!_0x26d923['_closeFrameReceived']&&!_0x26d923[_0x22c81a(0x252)][_0x22c81a(0x247)]['errorEmitted']&&(_0x3d4c26=_0x26d923[_0x22c81a(0x2bf)][_0x22c81a(0x2eb)]())!==null&&_0x26d923[_0x22c81a(0x252)][_0x22c81a(0x1c0)](_0x3d4c26),_0x26d923['_receiver'][_0x22c81a(0x283)](),this[_0x286806]=void 0x0,clearTimeout(_0x26d923[_0x22c81a(0x2c7)]),_0x26d923[_0x22c81a(0x252)][_0x22c81a(0x247)][_0x22c81a(0x23a)]||_0x26d923[_0x22c81a(0x252)]['_writableState'][_0x22c81a(0x1fc)]?_0x26d923[_0x22c81a(0x1e1)]():(_0x26d923['_receiver']['on'](_0x22c81a(0x2d7),_0x1baf14),_0x26d923[_0x22c81a(0x252)]['on'](_0x22c81a(0x2ab),_0x1baf14));}function _0x506808(_0x3f7ebb){const _0x51b321=_0x13cbeb;this[_0x286806][_0x51b321(0x252)][_0x51b321(0x1c0)](_0x3f7ebb)||this[_0x51b321(0x302)]();}function _0x2172a8(){const _0x104de7=_0x13cbeb,_0x545547=this[_0x286806];_0x545547[_0x104de7(0x2c8)]=_0x23d018[_0x104de7(0x1fd)],_0x545547['_receiver'][_0x104de7(0x283)](),this[_0x104de7(0x283)]();}function _0x3f1a5b(){const _0x1056a3=_0x13cbeb,_0x5b8de3=this[_0x286806];this['removeListener'](_0x1056a3(0x2d7),_0x3f1a5b),this['on'](_0x1056a3(0x2d7),_0x22fc4f),_0x5b8de3&&(_0x5b8de3[_0x1056a3(0x2c8)]=_0x23d018[_0x1056a3(0x1fd)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2e9e0f}=_0xa8656c;function _0x18e1f6(_0x1049ad){_0x1049ad['emit']('close');}function _0x252da9(){const _0x2e63cf=_0x1474;!this[_0x2e63cf(0x22a)]&&this['_writableState'][_0x2e63cf(0x23a)]&&this[_0x2e63cf(0x212)]();}function _0x4feb66(_0x2fd6ff){const _0x3bd713=_0x1474;this[_0x3bd713(0x28b)](_0x3bd713(0x2d7),_0x4feb66),this[_0x3bd713(0x212)](),this[_0x3bd713(0x243)](_0x3bd713(0x2d7))===0x0&&this['emit']('error',_0x2fd6ff);}function _0x427f97(_0x152594,_0x3ce861){const _0x5971ba=_0x1474;let _0x4717b8=!0x0;const _0x2034c6=new _0x2e9e0f({..._0x3ce861,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x152594['on'](_0x5971ba(0x1d4),function(_0x11de4e,_0x387fe4){const _0x1e6619=_0x5971ba,_0xc781fb=!_0x387fe4&&_0x2034c6[_0x1e6619(0x30e)][_0x1e6619(0x293)]?_0x11de4e[_0x1e6619(0x1df)]():_0x11de4e;_0x2034c6[_0x1e6619(0x297)](_0xc781fb)||_0x152594[_0x1e6619(0x302)]();}),_0x152594[_0x5971ba(0x326)](_0x5971ba(0x2d7),function(_0x49972b){const _0x36252d=_0x5971ba;_0x2034c6[_0x36252d(0x22a)]||(_0x4717b8=!0x1,_0x2034c6['destroy'](_0x49972b));}),_0x152594['once'](_0x5971ba(0x2e3),function(){const _0x1ef7ba=_0x5971ba;_0x2034c6[_0x1ef7ba(0x22a)]||_0x2034c6['push'](null);}),_0x2034c6[_0x5971ba(0x1ef)]=function(_0x2669f7,_0x21a123){const _0x48d120=_0x5971ba;if(_0x152594[_0x48d120(0x27e)]===_0x152594['CLOSED']){_0x21a123(_0x2669f7),process[_0x48d120(0x218)](_0x18e1f6,_0x2034c6);return;}let _0x33ae0c=!0x1;_0x152594['once']('error',function(_0x57cb19){_0x33ae0c=!0x0,_0x21a123(_0x57cb19);}),_0x152594[_0x48d120(0x326)](_0x48d120(0x2e3),function(){const _0x83897=_0x48d120;_0x33ae0c||_0x21a123(_0x2669f7),process[_0x83897(0x218)](_0x18e1f6,_0x2034c6);}),_0x4717b8&&_0x152594[_0x48d120(0x33b)]();},_0x2034c6[_0x5971ba(0x258)]=function(_0x178837){const _0x229d49=_0x5971ba;if(_0x152594[_0x229d49(0x27e)]===_0x152594['CONNECTING']){_0x152594[_0x229d49(0x326)](_0x229d49(0x200),function(){const _0xa300ff=_0x229d49;_0x2034c6[_0xa300ff(0x258)](_0x178837);});return;}_0x152594[_0x229d49(0x2bf)]!==null&&(_0x152594['_socket'][_0x229d49(0x247)]['finished']?(_0x178837(),_0x2034c6['_readableState']['endEmitted']&&_0x2034c6[_0x229d49(0x212)]()):(_0x152594[_0x229d49(0x2bf)][_0x229d49(0x326)](_0x229d49(0x2ab),function(){_0x178837();}),_0x152594[_0x229d49(0x2e3)]()));},_0x2034c6[_0x5971ba(0x335)]=function(){const _0x21ae95=_0x5971ba;_0x152594[_0x21ae95(0x1bf)]&&_0x152594[_0x21ae95(0x1c9)]();},_0x2034c6[_0x5971ba(0x255)]=function(_0x44791f,_0x536ac8,_0x45b3b3){const _0x1e7a8f=_0x5971ba;if(_0x152594[_0x1e7a8f(0x27e)]===_0x152594['CONNECTING']){_0x152594[_0x1e7a8f(0x326)](_0x1e7a8f(0x200),function(){const _0x140e3c=_0x1e7a8f;_0x2034c6[_0x140e3c(0x255)](_0x44791f,_0x536ac8,_0x45b3b3);});return;}_0x152594[_0x1e7a8f(0x1cc)](_0x44791f,_0x45b3b3);},_0x2034c6['on']('end',_0x252da9),_0x2034c6['on'](_0x5971ba(0x2d7),_0x4feb66),_0x2034c6;}return Oe=_0x427f97,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xcbe623}=ne();function _0x509e5d(_0x360b52){const _0x26167a=_0x1474,_0x3dea2b=new Set();let _0x292a34=-0x1,_0x1a6ac9=-0x1,_0x5acf54=0x0;for(_0x5acf54;_0x5acf54<_0x360b52[_0x26167a(0x21b)];_0x5acf54++){const _0x4d02ff=_0x360b52[_0x26167a(0x2f1)](_0x5acf54);if(_0x1a6ac9===-0x1&&_0xcbe623[_0x4d02ff]===0x1)_0x292a34===-0x1&&(_0x292a34=_0x5acf54);else{if(_0x5acf54!==0x0&&(_0x4d02ff===0x20||_0x4d02ff===0x9))_0x1a6ac9===-0x1&&_0x292a34!==-0x1&&(_0x1a6ac9=_0x5acf54);else{if(_0x4d02ff===0x2c){if(_0x292a34===-0x1)throw new SyntaxError(_0x26167a(0x1eb)+_0x5acf54);_0x1a6ac9===-0x1&&(_0x1a6ac9=_0x5acf54);const _0x369902=_0x360b52[_0x26167a(0x234)](_0x292a34,_0x1a6ac9);if(_0x3dea2b[_0x26167a(0x1e2)](_0x369902))throw new SyntaxError(_0x26167a(0x2fc)+_0x369902+'\x22\x20subprotocol\x20is\x20duplicated');_0x3dea2b['add'](_0x369902),_0x292a34=_0x1a6ac9=-0x1;}else throw new SyntaxError(_0x26167a(0x1eb)+_0x5acf54);}}}if(_0x292a34===-0x1||_0x1a6ac9!==-0x1)throw new SyntaxError(_0x26167a(0x20a));const _0x53cbd1=_0x360b52['slice'](_0x292a34,_0x5acf54);if(_0x3dea2b[_0x26167a(0x1e2)](_0x53cbd1))throw new SyntaxError(_0x26167a(0x2fc)+_0x53cbd1+_0x26167a(0x2a6));return _0x3dea2b[_0x26167a(0x1bd)](_0x53cbd1),_0x3dea2b;}return Ce={'parse':_0x509e5d},Ce;}var Te,ot;function er(){const _0x125033=_0x4b8bfe;if(ot)return Te;ot=0x1;const _0x3e2d97=_0x420da1,_0x577309=_0x1c52af,{Duplex:_0x1b261f}=_0xa8656c,{createHash:_0x91565a}=_0x2129bc,_0x3ac37f=pt(),_0x2b0b0a=he(),_0x1b6b2b=Jt(),_0x2f2a71=Ie(),{GUID:_0x47bf72,kWebSocket:_0x99f7c2}=V(),_0x5ee019=/^[+/0-9A-Za-z]{22}==$/,_0x14f8cf=0x0,_0x251ca3=0x1,_0x388b3a=0x2;class _0x2f9692 extends _0x3e2d97{constructor(_0x28e35c,_0x25879d){const _0x51c642=_0x1474;if(super(),_0x28e35c={'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':_0x2f2a71,..._0x28e35c},_0x28e35c[_0x51c642(0x2c0)]==null&&!_0x28e35c['server']&&!_0x28e35c['noServer']||_0x28e35c[_0x51c642(0x2c0)]!=null&&(_0x28e35c[_0x51c642(0x29a)]||_0x28e35c[_0x51c642(0x208)])||_0x28e35c[_0x51c642(0x29a)]&&_0x28e35c[_0x51c642(0x208)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x28e35c[_0x51c642(0x2c0)]!=null?(this['_server']=_0x577309[_0x51c642(0x2db)]((_0x44de3d,_0x1f3f54)=>{const _0x42b6d8=_0x51c642,_0x829902=_0x577309[_0x42b6d8(0x1d2)][0x1aa];_0x1f3f54[_0x42b6d8(0x23b)](0x1aa,{'Content-Length':_0x829902[_0x42b6d8(0x21b)],'Content-Type':'text/plain'}),_0x1f3f54['end'](_0x829902);}),this['_server'][_0x51c642(0x1a9)](_0x28e35c[_0x51c642(0x2c0)],_0x28e35c[_0x51c642(0x20e)],_0x28e35c[_0x51c642(0x30b)],_0x25879d)):_0x28e35c[_0x51c642(0x29a)]&&(this[_0x51c642(0x272)]=_0x28e35c[_0x51c642(0x29a)]),this[_0x51c642(0x272)]){const _0x439c28=this[_0x51c642(0x281)][_0x51c642(0x1be)](this,_0x51c642(0x1af));this[_0x51c642(0x2ca)]=_0x4c3018(this['_server'],{'listening':this[_0x51c642(0x281)][_0x51c642(0x1be)](this,_0x51c642(0x296)),'error':this[_0x51c642(0x281)][_0x51c642(0x1be)](this,_0x51c642(0x2d7)),'upgrade':(_0x4a8595,_0x13a067,_0x6b3192)=>{const _0x283632=_0x51c642;this[_0x283632(0x269)](_0x4a8595,_0x13a067,_0x6b3192,_0x439c28);}});}_0x28e35c[_0x51c642(0x239)]===!0x0&&(_0x28e35c[_0x51c642(0x239)]={}),_0x28e35c['clientTracking']&&(this[_0x51c642(0x210)]=new Set(),this[_0x51c642(0x2c4)]=!0x1),this[_0x51c642(0x2da)]=_0x28e35c,this[_0x51c642(0x1d8)]=_0x14f8cf;}[_0x125033(0x27d)](){const _0x2b8d9d=_0x125033;if(this[_0x2b8d9d(0x2da)][_0x2b8d9d(0x208)])throw new Error(_0x2b8d9d(0x2a7));return this[_0x2b8d9d(0x272)]?this[_0x2b8d9d(0x272)]['address']():null;}['close'](_0x30cd14){const _0x326f2b=_0x125033;if(this['_state']===_0x388b3a){_0x30cd14&&this[_0x326f2b(0x326)](_0x326f2b(0x2e3),()=>{_0x30cd14(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x326f2b(0x218)](_0x53b76e,this);return;}if(_0x30cd14&&this['once']('close',_0x30cd14),this['_state']!==_0x251ca3){if(this[_0x326f2b(0x1d8)]=_0x251ca3,this['options'][_0x326f2b(0x208)]||this[_0x326f2b(0x2da)][_0x326f2b(0x29a)])this[_0x326f2b(0x272)]&&(this[_0x326f2b(0x2ca)](),this[_0x326f2b(0x2ca)]=this[_0x326f2b(0x272)]=null),this[_0x326f2b(0x210)]?this[_0x326f2b(0x210)][_0x326f2b(0x1aa)]?this[_0x326f2b(0x2c4)]=!0x0:process['nextTick'](_0x53b76e,this):process[_0x326f2b(0x218)](_0x53b76e,this);else{const _0x57e7ed=this[_0x326f2b(0x272)];this[_0x326f2b(0x2ca)](),this[_0x326f2b(0x2ca)]=this[_0x326f2b(0x272)]=null,_0x57e7ed[_0x326f2b(0x2e3)](()=>{_0x53b76e(this);});}}}[_0x125033(0x306)](_0x805453){const _0x457a8f=_0x125033;if(this[_0x457a8f(0x2da)][_0x457a8f(0x347)]){const _0x56f18c=_0x805453['url'][_0x457a8f(0x348)]('?');if((_0x56f18c!==-0x1?_0x805453['url']['slice'](0x0,_0x56f18c):_0x805453['url'])!==this['options']['path'])return!0x1;}return!0x0;}[_0x125033(0x269)](_0x53d450,_0x585c31,_0x18eddb,_0x2964cc){const _0x41da98=_0x125033;_0x585c31['on'](_0x41da98(0x2d7),_0x21d755);const _0x38816e=_0x53d450[_0x41da98(0x25b)]['sec-websocket-key'],_0x390a6e=_0x53d450[_0x41da98(0x25b)][_0x41da98(0x2cf)],_0x24baee=+_0x53d450[_0x41da98(0x25b)]['sec-websocket-version'];if(_0x53d450[_0x41da98(0x2e8)]!==_0x41da98(0x1b2)){_0xa6e90e(this,_0x53d450,_0x585c31,0x195,_0x41da98(0x217));return;}if(_0x390a6e===void 0x0||_0x390a6e[_0x41da98(0x219)]()!==_0x41da98(0x1d5)){_0xa6e90e(this,_0x53d450,_0x585c31,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x38816e===void 0x0||!_0x5ee019[_0x41da98(0x1a8)](_0x38816e)){_0xa6e90e(this,_0x53d450,_0x585c31,0x190,_0x41da98(0x333));return;}if(_0x24baee!==0x8&&_0x24baee!==0xd){_0xa6e90e(this,_0x53d450,_0x585c31,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x41da98(0x306)](_0x53d450)){_0x179305(_0x585c31,0x190);return;}const _0x3b6f15=_0x53d450[_0x41da98(0x25b)][_0x41da98(0x314)];let _0x4aa2b3=new Set();if(_0x3b6f15!==void 0x0)try{_0x4aa2b3=_0x1b6b2b[_0x41da98(0x1ad)](_0x3b6f15);}catch{_0xa6e90e(this,_0x53d450,_0x585c31,0x190,_0x41da98(0x265));return;}const _0x1a1687=_0x53d450[_0x41da98(0x25b)][_0x41da98(0x2a3)],_0x4e20bb={};if(this[_0x41da98(0x2da)]['perMessageDeflate']&&_0x1a1687!==void 0x0){const _0x2509a4=new _0x2b0b0a(this[_0x41da98(0x2da)][_0x41da98(0x239)],!0x0,this[_0x41da98(0x2da)][_0x41da98(0x259)]);try{const _0x109cca=_0x3ac37f['parse'](_0x1a1687);_0x109cca[_0x2b0b0a[_0x41da98(0x31d)]]&&(_0x2509a4['accept'](_0x109cca[_0x2b0b0a[_0x41da98(0x31d)]]),_0x4e20bb[_0x2b0b0a[_0x41da98(0x31d)]]=_0x2509a4);}catch{_0xa6e90e(this,_0x53d450,_0x585c31,0x190,_0x41da98(0x26b));return;}}if(this[_0x41da98(0x2da)][_0x41da98(0x2b9)]){const _0x122a1d={'origin':_0x53d450[_0x41da98(0x25b)][''+(_0x24baee===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x53d450['socket'][_0x41da98(0x344)]||_0x53d450[_0x41da98(0x328)][_0x41da98(0x2b6)]),'req':_0x53d450};if(this[_0x41da98(0x2da)][_0x41da98(0x2b9)][_0x41da98(0x21b)]===0x2){this[_0x41da98(0x2da)][_0x41da98(0x2b9)](_0x122a1d,(_0x10af23,_0x58f059,_0x227f56,_0x3ae8a7)=>{if(!_0x10af23)return _0x179305(_0x585c31,_0x58f059||0x191,_0x227f56,_0x3ae8a7);this['completeUpgrade'](_0x4e20bb,_0x38816e,_0x4aa2b3,_0x53d450,_0x585c31,_0x18eddb,_0x2964cc);});return;}if(!this[_0x41da98(0x2da)][_0x41da98(0x2b9)](_0x122a1d))return _0x179305(_0x585c31,0x191);}this['completeUpgrade'](_0x4e20bb,_0x38816e,_0x4aa2b3,_0x53d450,_0x585c31,_0x18eddb,_0x2964cc);}[_0x125033(0x205)](_0x59b604,_0x24911e,_0x3dcf89,_0x31324b,_0x231396,_0x2bcc52,_0x512335){const _0x32a0de=_0x125033;if(!_0x231396[_0x32a0de(0x27f)]||!_0x231396[_0x32a0de(0x28a)])return _0x231396['destroy']();if(_0x231396[_0x99f7c2])throw new Error(_0x32a0de(0x334));if(this[_0x32a0de(0x1d8)]>_0x14f8cf)return _0x179305(_0x231396,0x1f7);const _0xaa4160=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x32a0de(0x23d),_0x32a0de(0x2df),_0x32a0de(0x1bb)+_0x91565a(_0x32a0de(0x19e))[_0x32a0de(0x21c)](_0x24911e+_0x47bf72)['digest'](_0x32a0de(0x253))],_0x1583c2=new this[(_0x32a0de(0x2da))][(_0x32a0de(0x1d3))](null,void 0x0,this[_0x32a0de(0x2da)]);if(_0x3dcf89['size']){const _0x34d196=this['options']['handleProtocols']?this[_0x32a0de(0x2da)]['handleProtocols'](_0x3dcf89,_0x31324b):_0x3dcf89[_0x32a0de(0x289)]()[_0x32a0de(0x1f4)]()[_0x32a0de(0x32c)];_0x34d196&&(_0xaa4160[_0x32a0de(0x297)](_0x32a0de(0x324)+_0x34d196),_0x1583c2[_0x32a0de(0x295)]=_0x34d196);}if(_0x59b604[_0x2b0b0a[_0x32a0de(0x31d)]]){const _0x21dcf4=_0x59b604[_0x2b0b0a[_0x32a0de(0x31d)]]['params'],_0x22c7ef=_0x3ac37f[_0x32a0de(0x1b0)]({[_0x2b0b0a[_0x32a0de(0x31d)]]:[_0x21dcf4]});_0xaa4160[_0x32a0de(0x297)](_0x32a0de(0x315)+_0x22c7ef),_0x1583c2[_0x32a0de(0x1e6)]=_0x59b604;}this[_0x32a0de(0x281)](_0x32a0de(0x25b),_0xaa4160,_0x31324b),_0x231396[_0x32a0de(0x1c0)](_0xaa4160[_0x32a0de(0x1f0)]('\x0d\x0a')[_0x32a0de(0x27a)]('\x0d\x0a')),_0x231396[_0x32a0de(0x28b)](_0x32a0de(0x2d7),_0x21d755),_0x1583c2[_0x32a0de(0x312)](_0x231396,_0x2bcc52,{'allowSynchronousEvents':this[_0x32a0de(0x2da)]['allowSynchronousEvents'],'maxPayload':this['options'][_0x32a0de(0x259)],'skipUTF8Validation':this['options'][_0x32a0de(0x29f)]}),this[_0x32a0de(0x210)]&&(this[_0x32a0de(0x210)][_0x32a0de(0x1bd)](_0x1583c2),_0x1583c2['on'](_0x32a0de(0x2e3),()=>{const _0x6903e9=_0x32a0de;this[_0x6903e9(0x210)][_0x6903e9(0x29e)](_0x1583c2),this['_shouldEmitClose']&&!this[_0x6903e9(0x210)][_0x6903e9(0x1aa)]&&process[_0x6903e9(0x218)](_0x53b76e,this);})),_0x512335(_0x1583c2,_0x31324b);}}Te=_0x2f9692;function _0x4c3018(_0x5e2fb8,_0x1af1c1){const _0xafdda7=_0x125033;for(const _0x427c6c of Object[_0xafdda7(0x233)](_0x1af1c1))_0x5e2fb8['on'](_0x427c6c,_0x1af1c1[_0x427c6c]);return function(){for(const _0x425fad of Object['keys'](_0x1af1c1))_0x5e2fb8['removeListener'](_0x425fad,_0x1af1c1[_0x425fad]);};}function _0x53b76e(_0x22a975){_0x22a975['_state']=_0x388b3a,_0x22a975['emit']('close');}function _0x21d755(){this['destroy']();}function _0x179305(_0x4a6630,_0x380332,_0x97ddbf,_0x5f4fed){const _0x256d38=_0x125033;_0x97ddbf=_0x97ddbf||_0x577309[_0x256d38(0x1d2)][_0x380332],_0x5f4fed={'Connection':_0x256d38(0x2e3),'Content-Type':'text/html','Content-Length':Buffer[_0x256d38(0x1ee)](_0x97ddbf),..._0x5f4fed},_0x4a6630['once']('finish',_0x4a6630[_0x256d38(0x212)]),_0x4a6630['end'](_0x256d38(0x1e7)+_0x380332+'\x20'+_0x577309[_0x256d38(0x1d2)][_0x380332]+'\x0d\x0a'+Object[_0x256d38(0x233)](_0x5f4fed)[_0x256d38(0x237)](_0x1100a4=>_0x1100a4+':\x20'+_0x5f4fed[_0x1100a4])['join']('\x0d\x0a')+_0x256d38(0x1de)+_0x97ddbf);}function _0xa6e90e(_0x11a3bc,_0x49887c,_0x5813d5,_0x4eb324,_0x1c2250){const _0x2ca7c4=_0x125033;if(_0x11a3bc['listenerCount'](_0x2ca7c4(0x25e))){const _0x56f636=new Error(_0x1c2250);Error[_0x2ca7c4(0x1c8)](_0x56f636,_0xa6e90e),_0x11a3bc['emit'](_0x2ca7c4(0x25e),_0x56f636,_0x5813d5,_0x49887c);}else _0x179305(_0x5813d5,_0x4eb324,_0x1c2250);}return Te;}er();function _0x1474(_0x23f0c1,_0x298a10){const _0x21f947=_0x21f9();return _0x1474=function(_0x147482,_0x17ba15){_0x147482=_0x147482-0x19c;let _0x1bee27=_0x21f947[_0x147482];return _0x1bee27;},_0x1474(_0x23f0c1,_0x298a10);}var tr=Object[_0x4b8bfe(0x2b5)],rr=(_0x3410ce,_0x282686,_0x5677b4,_0x184b23)=>{const _0x5016d6=_0x4b8bfe;for(var _0x51b7b3=_0x184b23>0x1?void 0x0:_0x184b23?tr(_0x282686,_0x5677b4):_0x282686,_0x56befd=_0x3410ce[_0x5016d6(0x21b)]-0x1,_0x373336;_0x56befd>=0x0;_0x56befd--)(_0x373336=_0x3410ce[_0x56befd])&&(_0x51b7b3=_0x373336(_0x51b7b3)||_0x51b7b3);return _0x51b7b3;},sr=(_0x4348f4,_0x13ea36)=>(_0x5b9b6a,_0x4792fc)=>_0x13ea36(_0x5b9b6a,_0x4792fc,_0x4348f4);let Ne=class extends _0x594f70{constructor(_0x1e64ea){const _0x50c955=_0x4b8bfe;super(),this[_0x50c955(0x2e2)]=_0x1e64ea;}[_0x4b8bfe(0x24a)](_0x5853e9){const _0x22d63f=_0x4b8bfe;var _0x27f016;const _0x28accf=(_0x27f016=this[_0x22d63f(0x2e2)]['getConfig'](Be))==null?void 0x0:_0x27f016[_0x22d63f(0x1a2)];try{const _0x10911c=new Qt(_0x5853e9,{'headers':{..._0x28accf}}),_0x5688ce=new _0x1d6e15();return{'URL':_0x5853e9,'close':(_0x2ecd68,_0x33bb85)=>{const _0xff2e3b=_0x22d63f;_0x10911c['close'](_0x2ecd68,_0x33bb85),_0x5688ce[_0xff2e3b(0x298)]();},'send':_0x3def41=>{const _0x46f527=_0x22d63f;_0x10911c[_0x46f527(0x1cc)](_0x3def41);},'open$':new _0x325f1f(_0x4c0ee5=>{const _0x235658=_0x22d63f,_0x8b817f=_0x2acc3c=>_0x4c0ee5['next'](_0x2acc3c);_0x10911c[_0x235658(0x257)](_0x235658(0x200),_0x8b817f),_0x5688ce[_0x235658(0x1bd)](_0x460082(()=>_0x10911c[_0x235658(0x2be)](_0x235658(0x200),_0x8b817f)));})['pipe'](_0x5e06da()),'close$':new _0x325f1f(_0xa65ad1=>{const _0x24bd04=_0x22d63f,_0x47ea40=_0x5f5852=>_0xa65ad1['next'](_0x5f5852);_0x10911c[_0x24bd04(0x257)]('close',_0x47ea40),_0x5688ce[_0x24bd04(0x1bd)](_0x460082(()=>_0x10911c[_0x24bd04(0x2be)](_0x24bd04(0x2e3),_0x47ea40)));})[_0x22d63f(0x2b4)](_0x5e06da()),'error$':new _0x325f1f(_0x1ada4c=>{const _0x2d29b6=_0x22d63f,_0x4954fc=_0x31d7c1=>_0x1ada4c[_0x2d29b6(0x1f4)](_0x31d7c1);_0x10911c[_0x2d29b6(0x257)](_0x2d29b6(0x2d7),_0x4954fc),_0x5688ce[_0x2d29b6(0x1bd)](_0x460082(()=>_0x10911c[_0x2d29b6(0x2be)](_0x2d29b6(0x2d7),_0x4954fc)));})[_0x22d63f(0x2b4)](_0x5e06da()),'message$':new _0x325f1f(_0x92ed2a=>{const _0x5eb236=_0x22d63f,_0xae75fb=_0x32fbe6=>_0x92ed2a[_0x5eb236(0x1f4)](_0x32fbe6);_0x10911c[_0x5eb236(0x257)](_0x5eb236(0x1d4),_0xae75fb),_0x5688ce[_0x5eb236(0x1bd)](_0x460082(()=>_0x10911c[_0x5eb236(0x2be)]('message',_0xae75fb)));})['pipe'](_0x5e06da())};}catch(_0x21a820){return console[_0x22d63f(0x2d7)](_0x21a820),null;}}};Ne=rr([sr(0x0,_0x69b0cf)],Ne);var ir=Object[_0x4b8bfe(0x1ed)],nr=Object[_0x4b8bfe(0x2b5)],or=(_0x1c6f82,_0x46ce52,_0x117c90)=>_0x46ce52 in _0x1c6f82?ir(_0x1c6f82,_0x46ce52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x117c90}):_0x1c6f82[_0x46ce52]=_0x117c90,ar=(_0x486c7c,_0x9b1b35,_0xc38c00,_0x86c83f)=>{const _0x39ad2d=_0x4b8bfe;for(var _0x22a3bd=_0x86c83f>0x1?void 0x0:_0x86c83f?nr(_0x9b1b35,_0xc38c00):_0x9b1b35,_0x288545=_0x486c7c[_0x39ad2d(0x21b)]-0x1,_0x1703ac;_0x288545>=0x0;_0x288545--)(_0x1703ac=_0x486c7c[_0x288545])&&(_0x22a3bd=_0x1703ac(_0x22a3bd)||_0x22a3bd);return _0x22a3bd;},ke=(_0x18a053,_0x256d9a)=>(_0x41fcf5,_0x1f419c)=>_0x256d9a(_0x41fcf5,_0x1f419c,_0x18a053),lr=(_0x4a7115,_0x15b9b5,_0x3a150c)=>or(_0x4a7115,_0x15b9b5+'',_0x3a150c);let Pe=class extends _0x4c7115{constructor(_0x2c09ce=Ft,_0x40ed63,_0x27053c,_0x4f5b7d){const _0x27defc=_0x4b8bfe;_0x2c09ce[_0x27defc(0x1a2)]||_0x40ed63[_0x27defc(0x32e)](_0x27defc(0x2ff)),super(),this[_0x27defc(0x2e2)]=_0x27053c,this[_0x27defc(0x1d1)]=_0x4f5b7d,this['_configService'][_0x27defc(0x225)](Be,_0x2c09ce);}['onStarting'](){this['_registerDependencies']();}[_0x4b8bfe(0x1c7)](){const _0x41e07e=_0x4b8bfe;_0xb2fcd9(this[_0x41e07e(0x1d1)],[[_0x554e6a,{'useClass':Ne}]]);}};lr(Pe,_0x4b8bfe(0x2ad),_0x4b8bfe(0x222)),Pe=ar([_0x39a9f5(_0x23d033),ke(0x1,_0x56fb9f),ke(0x2,_0x69b0cf),ke(0x3,_0x14a62d(_0x28e7ef))],Pe);var fr=Object[_0x4b8bfe(0x2b5)],cr=(_0x10bcd5,_0x101808,_0x1d0d30,_0x4f05ab)=>{const _0x33fbe9=_0x4b8bfe;for(var _0x278e47=_0x4f05ab>0x1?void 0x0:_0x4f05ab?fr(_0x101808,_0x1d0d30):_0x101808,_0x2edc2a=_0x10bcd5[_0x33fbe9(0x21b)]-0x1,_0x57d27a;_0x2edc2a>=0x0;_0x2edc2a--)(_0x57d27a=_0x10bcd5[_0x2edc2a])&&(_0x278e47=_0x57d27a(_0x278e47)||_0x278e47);return _0x278e47;},se=(_0x427c22,_0x3f6b94)=>(_0x44c6e3,_0x4f852f)=>_0x3f6b94(_0x44c6e3,_0x4f852f,_0x427c22);let at=class extends _0x1fd34f{constructor(_0x3bd794,_0x568390,_0x11dc36,_0xc51dde,_0x174fa0){const _0x2e9b6c=_0x4b8bfe;super(_0x3bd794,_0x568390,_0x11dc36,_0xc51dde,_0x174fa0);const _0x1bebf2=this[_0x2e9b6c(0x2e2)][_0x2e9b6c(0x25a)](Be);this[_0x2e9b6c(0x22b)][_0x2e9b6c(0x21f)]({'interceptor':(_0x46425d,_0x1ea8ef)=>{const _0x9eebff=_0x2e9b6c;var _0x53b1d0;const _0x547690=_0x46425d[_0x9eebff(0x25b)];return(_0x53b1d0=_0x1bebf2==null?void 0x0:_0x1bebf2[_0x9eebff(0x1a2)])!=null&&_0x53b1d0[_0x9eebff(0x24d)]&&_0x547690['set'](_0x9eebff(0x2d5),_0x1bebf2[_0x9eebff(0x1a2)][_0x9eebff(0x24d)]),_0x1ea8ef(_0x46425d);}});}async[_0x4b8bfe(0x24a)](_0x51349d){return this['_doCreateSocket'](_0x51349d);}};at=cr([se(0x0,_0x14a62d(_0x28e7ef)),se(0x1,_0x14a62d(_0x344b70)),se(0x2,_0x69b0cf),se(0x3,_0x56fb9f),se(0x4,_0x9ac828)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x2a4dc6=_0x43e6;(function(_0x26d0fc,_0x10ead6){const _0x49cbf1=_0x43e6,_0x5e8e8c=_0x26d0fc();while(!![]){try{const _0x5cf1d5=parseInt(_0x49cbf1(0x1e8))/0x1*(-parseInt(_0x49cbf1(0x1ec))/0x2)+-parseInt(_0x49cbf1(0x25a))/0x3*(parseInt(_0x49cbf1(0x309))/0x4)+-parseInt(_0x49cbf1(0x1e3))/0x5*(parseInt(_0x49cbf1(0x247))/0x6)+-parseInt(_0x49cbf1(0x282))/0x7*(-parseInt(_0x49cbf1(0x267))/0x8)+parseInt(_0x49cbf1(0x272))/0x9+-parseInt(_0x49cbf1(0x1d3))/0xa+parseInt(_0x49cbf1(0x314))/0xb;if(_0x5cf1d5===_0x10ead6)break;else _0x5e8e8c['push'](_0x5e8e8c['shift']());}catch(_0x5508d6){_0x5e8e8c['push'](_0x5e8e8c['shift']());}}}(_0xb7f4,0x8fccc));import{UniverCollaborationClientPlugin as _0x1282a3,CollaborationSocketService as _0x304b29}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3d72b5,DisposableCollection as _0x17a0e5,toDisposable as _0x5a2055,IConfigService as _0x6b1f42,DependentOn as _0x29d2b4,ILogService as _0x382688,Inject as _0x59aad3,Injector as _0x1e1c33,Plugin as _0x44fd93,registerDependencies as _0x42ca71}from'@univerjs/core';import{ISocketService as _0x51f561,HTTPService as _0x451de5}from'@univerjs/network';import{Observable as _0x1d4229,share as _0x4331c1}from'rxjs';function _0xb7f4(){const _0x3a634c=['defineProperty','pong','autoPong','_readyState','next','_max_window_bits','_httpService','emitClose','serverNoContextTakeover','toString','env','number','jobs','isArray','serverMaxWindowBits','warn','client','isInteger','WS_ERR_UNEXPECTED_RSV_1','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_fragments','66512EZOAop','Invalid\x20URL:\x20','isPaused','authorization','server_max_window_bits','authorized','timeout','clientTracking','RSV1\x20must\x20be\x20clear','removeEventListener','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','23391082rBuCfS','sec-websocket-extensions','onopen','_bufferedAmount','WS_ERR_INVALID_OPCODE','set','_payloadLength','dataMessage','kDone','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Z_DEFAULT_WINDOWBITS','consume','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','url','connect','maxPayload','_allowSynchronousEvents','getData','Server\x20sent\x20an\x20invalid\x20subprotocol','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20Upgrade\x20header','finished','captureStackTrace','pending','getInfo','concurrency','onerror','\x20(supported\x20versions:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_protocol','_buffers','ws+unix:','isIP','setTimeout','_skipUTF8Validation','code','wsClientError','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','invalid\x20status\x20code\x20','socket','then','href','endEmitted','_fin','clientNoContextTakeover','_closeTimer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','handshakeTimeout','origin','objectMode','kCode','isBuffer','Unexpected\x20character\x20at\x20index\x20','_inflate','delete','encrypted','call','slice','completeUpgrade','kMessage','protocol','pause','startLoop','isView','prototype','destroyed','setConfig','Invalid\x20WebSocket\x20frame:\x20','backlog','flush','Invalid\x20Sec-WebSocket-Protocol\x20header','_socket','ping','push','_compressed','generateMask','onclose','charCodeAt','_generateMask','_binaryType','parse','concat','kReason','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','arraybuffer','get','listeners','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_write','finishRequest','\x22:\x20','update','nodebuffer','_bufferedBytes','forEach','values','_configService','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_closeFrameSent','allowSynchronousEvents','handleProtocols','WS_ERR_INVALID_CLOSE_CODE','_read','createInflateRaw','\x0d\x0a\x0d\x0a','FIN\x20must\x20be\x20set','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','verifyClient','server_no_context_takeover','writeUInt16BE','Sec-WebSocket-Protocol','perMessageDeflate','construct','close','byteLength','The\x20server\x20is\x20not\x20running','1498650MtkTGA','has','onStarting','_readableState','dequeue','compress','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','concurrencyLimit','removeListener','clients','data','location','_closeFrameReceived','kByteLength','_redirects','getOwnPropertyDescriptor','4241215KTqQzj','size','species','STATUS_CODES','enqueue','87877aOcqJc','haveLength','write','readOnly','2CxctTi','controlMessage','kData','socketPath','writable','host','sendFrame','getPayloadLength16','WebSocket','_state','_url','alloc','frame','finish','nextTick','handleUpgrade','default','_maxPayload','options','_messageLength','errorEmitted','kTarget','pow','_firstFragment','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','websocket','apply','total-length','_no_context_takeover','end','collaboration-client-node.config','type','isValidUTF8','emit','create','kWasClean','sec-websocket-origin','_mask','maskBuffer','add','_server','customHeaders','listening','includes','pathname','cork','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_queue','unexpected-response','upgrade','getConfig','zlibInflateOptions','_errorEmitted','_isServer','replace','wss:','_decompress','server','Invalid\x20Sec-WebSocket-Extensions\x20header','skipUTF8Validation','_errored','isServer','arrayBuffer','send','cleanup','WS_ERR_UNEXPECTED_MASK','target','redirect','buffer','Invalid\x20value\x20for\x20parameter\x20\x22','request','invalid\x20opcode\x200','error','Sec-WebSocket-Extensions','path','MASK\x20must\x20be\x20clear','Max\x20payload\x20size\x20exceeded','noServer','_shouldEmitClose','response','acceptAsServer','hasOwnProperty','reset','_deflate','_loop','kError','kType','extensionName','terminate','startsWith','unmask','6ABwTJd','allocUnsafe','_originalSecure','read','once','bind','_totalPayloadLength','toStringTag','accept','open','reason','setSocket','getBlobData','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','setHeader','byteOffset','createSocket','sha1','protocolVersion','156chuGms','pipe','handleEvent','sec-websocket-key','invalid\x20opcode\x20','decompress','value','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','client_no_context_takeover','invalid\x20payload\x20length\x20','__esModule','Sec-WebSocket-Accept:\x20','88664kJyMDp','Invalid\x20HTTP\x20method','function','hash','resume','https:','digest','kRun','constructor','_receiver','CONNECTING','3020418XUnOEG','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','CLOSED','port','binaryType','exports','_threshold','_registerDependencies','opcode','getMask','auth','ws:','_final','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_closeMessage','_compress','49YkPQym','The\x20\x22','hostname','setNoDelay','conclude','_injector','WebSocket\x20is\x20not\x20open:\x20readyState\x20','\x22\x20subprotocol\x20is\x20duplicated','message','_opcode','_originalHostOrSocketPath','_paused','uncork','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','username','Unexpected\x20end\x20of\x20input','listenerCount','statusCode','addEventListener','Z_SYNC_FLUSH','_sender','client_max_window_bits','createError','normalizeParams','threshold','_writableState','Sec-WebSocket-Protocol:\x20','Opening\x20handshake\x20has\x20timed\x20out','shift','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','dispose','length','bufferedAmount','File','readUInt16BE','sec-websocket-protocol','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Invalid\x20Sec-WebSocket-Accept\x20header','from','acceptAsClient','_originalIpc','listen','CLOSING','WS_NO_BUFFER_UTIL','address','_removeListeners','keys','drain','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','onmessage','permessage-deflate','servername','toLowerCase','_masked','Maximum\x20redirects\x20exceeded','freeze','writeHead','Upgrade:\x20websocket','indexOf','callback','followRedirects','_maskBuffer','removeAllListeners','map','params','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','text/html','zlibDeflateOptions','Connection:\x20Upgrade','unshift','shouldHandle','GET','_req','getPayloadLength64','OPEN','destroy','_doCreateSocket','WS_NO_UTF_8_VALIDATE','clientMaxWindowBits','cookie','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Parameter\x20\x22','Module','base64','join','string','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_fragmented','object','MASK\x20must\x20be\x20set','format','fin','Unknown\x20parameter\x20\x22','mask','_extensions','status-code','_closeCode','_autoPong','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Basic\x20','catch','headers','text/plain','extensions','password','blob','dispatch','test','WS_ERR_INVALID_UTF8','_options','wasClean','readyState','pluginName','readable'];_0xb7f4=function(){return _0x3a634c;};return _0xb7f4();}import _0x1ddafa from'events';import _0x55267a from'https';import _0x2b8417 from'http';import _0x1f99e9 from'net';import _0x254774 from'tls';import _0x8054d from'crypto';import _0xd79b6f from'stream';import _0xbebf65 from'url';import _0x454c80 from'zlib';import _0x124b5e from'buffer';import{ISnapshotServerService as _0x28af94}from'@univerjs-pro/collaboration';const Be=_0x2a4dc6(0x20a),Ft={'customHeaders':{}};function jt(_0x495a64){const _0x359706=_0x2a4dc6;return _0x495a64&&_0x495a64[_0x359706(0x265)]&&Object[_0x359706(0x355)][_0x359706(0x23d)][_0x359706(0x34d)](_0x495a64,_0x359706(0x1fc))?_0x495a64[_0x359706(0x1fc)]:_0x495a64;}function ut(_0x5d161d){const _0x3a996f=_0x2a4dc6;if(Object[_0x3a996f(0x355)][_0x3a996f(0x23d)][_0x3a996f(0x34d)](_0x5d161d,_0x3a996f(0x265)))return _0x5d161d;var _0x4e3cd1=_0x5d161d['default'];if(typeof _0x4e3cd1==_0x3a996f(0x269)){var _0x219284=function _0x4e3c89(){const _0x506f6a=_0x3a996f;return this instanceof _0x4e3c89?Reflect[_0x506f6a(0x1cf)](_0x4e3cd1,arguments,this[_0x506f6a(0x26f)]):_0x4e3cd1['apply'](this,arguments);};_0x219284['prototype']=_0x4e3cd1[_0x3a996f(0x355)];}else _0x219284={};return Object[_0x3a996f(0x2f4)](_0x219284,_0x3a996f(0x265),{'value':!0x0}),Object[_0x3a996f(0x2b0)](_0x5d161d)[_0x3a996f(0x1bd)](function(_0x2726fa){const _0x1349c4=_0x3a996f;var _0x33a70c=Object[_0x1349c4(0x1e2)](_0x5d161d,_0x2726fa);Object[_0x1349c4(0x2f4)](_0x219284,_0x2726fa,_0x33a70c[_0x1349c4(0x36a)]?_0x33a70c:{'enumerable':!0x0,'get':function(){return _0x5d161d[_0x2726fa];}});}),_0x219284;}var te={'exports':{}},ge,Ye;function V(){const _0x28f274=_0x2a4dc6;if(Ye)return ge;Ye=0x1;const _0x2b1fde=[_0x28f274(0x1bb),_0x28f274(0x369),'fragments'],_0x20719a=typeof Blob<'u';return _0x20719a&&_0x2b1fde[_0x28f274(0x35e)](_0x28f274(0x2eb)),ge={'BINARY_TYPES':_0x2b1fde,'EMPTY_BUFFER':Buffer[_0x28f274(0x1f7)](0x0),'GUID':_0x28f274(0x204),'hasBlob':_0x20719a,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x28f274(0x2e1)),'kWebSocket':Symbol(_0x28f274(0x205)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2a4dc6(0x2b9)](Object[_0x2a4dc6(0x2f4)]({'__proto__':null,'default':Wt},Symbol[_0x2a4dc6(0x24e)],{'value':_0x2a4dc6(0x2d4)})),Vt=ut(Gt);var Ke;function _0x43e6(_0x4c99c5,_0x4c6dd7){const _0xb7f461=_0xb7f4();return _0x43e6=function(_0x43e64b,_0x26be6f){_0x43e64b=_0x43e64b-0x1b7;let _0x54b175=_0xb7f461[_0x43e64b];return _0x54b175;},_0x43e6(_0x4c99c5,_0x4c6dd7);}function ce(){const _0x3f609b=_0x2a4dc6;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x5560be}=V(),_0x4bbe59=Buffer[Symbol[_0x3f609b(0x1e5)]];function _0x550b32(_0x364c0b,_0x522fb8){const _0x51b7ec=_0x3f609b;if(_0x364c0b[_0x51b7ec(0x2a1)]===0x0)return _0x5560be;if(_0x364c0b[_0x51b7ec(0x2a1)]===0x1)return _0x364c0b[0x0];const _0x1041b3=Buffer[_0x51b7ec(0x248)](_0x522fb8);let _0x1e6d1b=0x0;for(let _0xf26e72=0x0;_0xf26e72<_0x364c0b[_0x51b7ec(0x2a1)];_0xf26e72++){const _0x3a1950=_0x364c0b[_0xf26e72];_0x1041b3[_0x51b7ec(0x319)](_0x3a1950,_0x1e6d1b),_0x1e6d1b+=_0x3a1950[_0x51b7ec(0x2a1)];}return _0x1e6d1b<_0x522fb8?new _0x4bbe59(_0x1041b3[_0x51b7ec(0x230)],_0x1041b3['byteOffset'],_0x1e6d1b):_0x1041b3;}function _0x47c0d7(_0x39245a,_0x1b0e46,_0x4b0bee,_0x5c05b1,_0x2e1401){for(let _0x53ae72=0x0;_0x53ae72<_0x2e1401;_0x53ae72++)_0x4b0bee[_0x5c05b1+_0x53ae72]=_0x39245a[_0x53ae72]^_0x1b0e46[_0x53ae72&0x3];}function _0x4f01be(_0x48b76b,_0x136c05){const _0x4698f5=_0x3f609b;for(let _0x182b39=0x0;_0x182b39<_0x48b76b[_0x4698f5(0x2a1)];_0x182b39++)_0x48b76b[_0x182b39]^=_0x136c05[_0x182b39&0x3];}function _0x159469(_0x5be46d){const _0x25d6af=_0x3f609b;return _0x5be46d[_0x25d6af(0x2a1)]===_0x5be46d[_0x25d6af(0x230)]['byteLength']?_0x5be46d[_0x25d6af(0x230)]:_0x5be46d[_0x25d6af(0x230)]['slice'](_0x5be46d[_0x25d6af(0x256)],_0x5be46d[_0x25d6af(0x256)]+_0x5be46d[_0x25d6af(0x2a1)]);}function _0x19fcd1(_0x48de50){const _0x336503=_0x3f609b;if(_0x19fcd1[_0x336503(0x1eb)]=!0x0,Buffer[_0x336503(0x348)](_0x48de50))return _0x48de50;let _0x16c8b3;return _0x48de50 instanceof ArrayBuffer?_0x16c8b3=new _0x4bbe59(_0x48de50):ArrayBuffer[_0x336503(0x354)](_0x48de50)?_0x16c8b3=new _0x4bbe59(_0x48de50[_0x336503(0x230)],_0x48de50[_0x336503(0x256)],_0x48de50[_0x336503(0x1d1)]):(_0x16c8b3=Buffer[_0x336503(0x2a8)](_0x48de50),_0x19fcd1['readOnly']=!0x1),_0x16c8b3;}if(te['exports']={'concat':_0x550b32,'mask':_0x47c0d7,'toArrayBuffer':_0x159469,'toBuffer':_0x19fcd1,'unmask':_0x4f01be},!process[_0x3f609b(0x2fe)][_0x3f609b(0x2ad)])try{const _0x413976=Vt;te[_0x3f609b(0x277)][_0x3f609b(0x2df)]=function(_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661){const _0x270279=_0x3f609b;_0x21f661<0x30?_0x47c0d7(_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661):_0x413976[_0x270279(0x2df)](_0x214f07,_0x4e893b,_0x267d08,_0x442546,_0x21f661);},te[_0x3f609b(0x277)][_0x3f609b(0x246)]=function(_0x54103e,_0x401aee){const _0x379252=_0x3f609b;_0x54103e[_0x379252(0x2a1)]<0x20?_0x4f01be(_0x54103e,_0x401aee):_0x413976[_0x379252(0x246)](_0x54103e,_0x401aee);};}catch{}return te[_0x3f609b(0x277)];}var ye,Xe;function qt(){const _0x58ae5b=_0x2a4dc6;if(Xe)return ye;Xe=0x1;const _0x2e0622=Symbol(_0x58ae5b(0x31c)),_0x2908a7=Symbol(_0x58ae5b(0x26e));class _0x20e793{constructor(_0x5a87df){const _0x560d0f=_0x58ae5b;this[_0x2e0622]=()=>{const _0xea489e=_0x43e6;this[_0xea489e(0x32c)]--,this[_0x2908a7]();},this[_0x560d0f(0x32e)]=_0x5a87df||0x1/0x0,this[_0x560d0f(0x300)]=[],this[_0x560d0f(0x32c)]=0x0;}['add'](_0x4a92c2){const _0x2c15c0=_0x58ae5b;this[_0x2c15c0(0x300)][_0x2c15c0(0x35e)](_0x4a92c2),this[_0x2908a7]();}[_0x2908a7](){const _0x40aeff=_0x58ae5b;if(this[_0x40aeff(0x32c)]!==this[_0x40aeff(0x32e)]&&this[_0x40aeff(0x300)][_0x40aeff(0x2a1)]){const _0x17a8d7=this['jobs']['shift']();this[_0x40aeff(0x32c)]++,_0x17a8d7(this[_0x2e0622]);}}}return ye=_0x20e793,ye;}var ve,Ze;function he(){const _0x401e66=_0x2a4dc6;if(Ze)return ve;Ze=0x1;const _0x28f9e6=_0x454c80,_0x287158=ce(),_0x2af011=qt(),{kStatusCode:_0x5e52ea}=V(),_0x3999f7=Buffer[Symbol['species']],_0x5be23b=Buffer[_0x401e66(0x2a8)]([0x0,0x0,0xff,0xff]),_0xcdafca=Symbol(_0x401e66(0x2b4)),_0x394ac5=Symbol(_0x401e66(0x207)),_0x341228=Symbol(_0x401e66(0x2bd)),_0x8e9de2=Symbol('buffers'),_0xdde06c=Symbol('error');let _0x49f059;class _0x318e34{constructor(_0x1fa45f,_0x466373,_0x52da5e){const _0x10d006=_0x401e66;if(this['_maxPayload']=_0x52da5e|0x0,this[_0x10d006(0x2ef)]=_0x1fa45f||{},this['_threshold']=this[_0x10d006(0x2ef)]['threshold']!==void 0x0?this[_0x10d006(0x2ef)][_0x10d006(0x29a)]:0x400,this[_0x10d006(0x221)]=!!_0x466373,this[_0x10d006(0x23f)]=null,this['_inflate']=null,this[_0x10d006(0x2c2)]=null,!_0x49f059){const _0x11fdad=this[_0x10d006(0x2ef)][_0x10d006(0x1da)]!==void 0x0?this[_0x10d006(0x2ef)][_0x10d006(0x1da)]:0xa;_0x49f059=new _0x2af011(_0x11fdad);}}static get[_0x401e66(0x243)](){const _0x2e8613=_0x401e66;return _0x2e8613(0x2b4);}['offer'](){const _0x193446=_0x401e66,_0x12badb={};return this['_options'][_0x193446(0x2fc)]&&(_0x12badb[_0x193446(0x1cb)]=!0x0),this['_options'][_0x193446(0x341)]&&(_0x12badb[_0x193446(0x263)]=!0x0),this[_0x193446(0x2ef)]['serverMaxWindowBits']&&(_0x12badb[_0x193446(0x30d)]=this[_0x193446(0x2ef)][_0x193446(0x302)]),this[_0x193446(0x2ef)]['clientMaxWindowBits']?_0x12badb[_0x193446(0x297)]=this[_0x193446(0x2ef)]['clientMaxWindowBits']:this[_0x193446(0x2ef)][_0x193446(0x2d0)]==null&&(_0x12badb['client_max_window_bits']=!0x0),_0x12badb;}['accept'](_0x6ec97a){const _0x1b3267=_0x401e66;return _0x6ec97a=this['normalizeParams'](_0x6ec97a),this[_0x1b3267(0x2c2)]=this[_0x1b3267(0x221)]?this[_0x1b3267(0x23c)](_0x6ec97a):this['acceptAsClient'](_0x6ec97a),this[_0x1b3267(0x2c2)];}[_0x401e66(0x22c)](){const _0x4f31d6=_0x401e66;if(this['_inflate']&&(this[_0x4f31d6(0x34a)][_0x4f31d6(0x1d0)](),this[_0x4f31d6(0x34a)]=null),this[_0x4f31d6(0x23f)]){const _0x1024aa=this[_0x4f31d6(0x23f)][_0x341228];this[_0x4f31d6(0x23f)]['close'](),this['_deflate']=null,_0x1024aa&&_0x1024aa(new Error(_0x4f31d6(0x28f)));}}[_0x401e66(0x23c)](_0x5373d1){const _0x4a560e=_0x401e66,_0x40ffa2=this[_0x4a560e(0x2ef)],_0x10dd3f=_0x5373d1['find'](_0x3d8680=>!(_0x40ffa2[_0x4a560e(0x2fc)]===!0x1&&_0x3d8680[_0x4a560e(0x1cb)]||_0x3d8680[_0x4a560e(0x30d)]&&(_0x40ffa2['serverMaxWindowBits']===!0x1||typeof _0x40ffa2[_0x4a560e(0x302)]==_0x4a560e(0x2ff)&&_0x40ffa2[_0x4a560e(0x302)]>_0x3d8680[_0x4a560e(0x30d)])||typeof _0x40ffa2[_0x4a560e(0x2d0)]=='number'&&!_0x3d8680[_0x4a560e(0x297)]));if(!_0x10dd3f)throw new Error(_0x4a560e(0x262));return _0x40ffa2[_0x4a560e(0x2fc)]&&(_0x10dd3f[_0x4a560e(0x1cb)]=!0x0),_0x40ffa2[_0x4a560e(0x341)]&&(_0x10dd3f[_0x4a560e(0x263)]=!0x0),typeof _0x40ffa2[_0x4a560e(0x302)]==_0x4a560e(0x2ff)&&(_0x10dd3f['server_max_window_bits']=_0x40ffa2[_0x4a560e(0x302)]),typeof _0x40ffa2[_0x4a560e(0x2d0)]==_0x4a560e(0x2ff)?_0x10dd3f[_0x4a560e(0x297)]=_0x40ffa2[_0x4a560e(0x2d0)]:(_0x10dd3f[_0x4a560e(0x297)]===!0x0||_0x40ffa2[_0x4a560e(0x2d0)]===!0x1)&&delete _0x10dd3f[_0x4a560e(0x297)],_0x10dd3f;}[_0x401e66(0x2a9)](_0x507b75){const _0x47211a=_0x401e66,_0x49951c=_0x507b75[0x0];if(this[_0x47211a(0x2ef)][_0x47211a(0x341)]===!0x1&&_0x49951c['client_no_context_takeover'])throw new Error(_0x47211a(0x2e4));if(!_0x49951c[_0x47211a(0x297)])typeof this[_0x47211a(0x2ef)][_0x47211a(0x2d0)]==_0x47211a(0x2ff)&&(_0x49951c['client_max_window_bits']=this[_0x47211a(0x2ef)]['clientMaxWindowBits']);else{if(this[_0x47211a(0x2ef)][_0x47211a(0x2d0)]===!0x1||typeof this[_0x47211a(0x2ef)]['clientMaxWindowBits']=='number'&&_0x49951c[_0x47211a(0x297)]>this[_0x47211a(0x2ef)]['clientMaxWindowBits'])throw new Error(_0x47211a(0x1c0));}return _0x49951c;}[_0x401e66(0x299)](_0x499075){return _0x499075['forEach'](_0x43e707=>{const _0xe5e5b9=_0x43e6;Object[_0xe5e5b9(0x2b0)](_0x43e707)[_0xe5e5b9(0x1bd)](_0x145344=>{const _0x30f7b0=_0xe5e5b9;let _0x36db00=_0x43e707[_0x145344];if(_0x36db00[_0x30f7b0(0x2a1)]>0x1)throw new Error(_0x30f7b0(0x2d3)+_0x145344+_0x30f7b0(0x21a));if(_0x36db00=_0x36db00[0x0],_0x145344===_0x30f7b0(0x297)){if(_0x36db00!==!0x0){const _0x1720ef=+_0x36db00;if(!Number[_0x30f7b0(0x305)](_0x1720ef)||_0x1720ef<0x8||_0x1720ef>0xf)throw new TypeError(_0x30f7b0(0x231)+_0x145344+'\x22:\x20'+_0x36db00);_0x36db00=_0x1720ef;}else{if(!this[_0x30f7b0(0x221)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);}}else{if(_0x145344==='server_max_window_bits'){const _0x2e7b96=+_0x36db00;if(!Number[_0x30f7b0(0x305)](_0x2e7b96)||_0x2e7b96<0x8||_0x2e7b96>0xf)throw new TypeError(_0x30f7b0(0x231)+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);_0x36db00=_0x2e7b96;}else{if(_0x145344===_0x30f7b0(0x263)||_0x145344===_0x30f7b0(0x1cb)){if(_0x36db00!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x145344+_0x30f7b0(0x1b9)+_0x36db00);}else throw new Error(_0x30f7b0(0x2de)+_0x145344+'\x22');}}_0x43e707[_0x145344]=_0x36db00;});}),_0x499075;}[_0x401e66(0x25f)](_0x35a693,_0x3d9aff,_0x10e48){const _0x22a9f0=_0x401e66;_0x49f059[_0x22a9f0(0x213)](_0xe3fb12=>{const _0x88bef2=_0x22a9f0;this[_0x88bef2(0x224)](_0x35a693,_0x3d9aff,(_0x214427,_0x1a3b49)=>{_0xe3fb12(),_0x10e48(_0x214427,_0x1a3b49);});});}['compress'](_0x4d25e5,_0x131d93,_0x923a2b){const _0x509878=_0x401e66;_0x49f059[_0x509878(0x213)](_0x4afa04=>{this['_compress'](_0x4d25e5,_0x131d93,(_0xd89b7d,_0x483273)=>{_0x4afa04(),_0x923a2b(_0xd89b7d,_0x483273);});});}[_0x401e66(0x224)](_0x5845b2,_0x491b10,_0x39fa2f){const _0x43fad1=_0x401e66,_0x5e3df1=this[_0x43fad1(0x221)]?_0x43fad1(0x304):'server';if(!this[_0x43fad1(0x34a)]){const _0x1674dc=_0x5e3df1+'_max_window_bits',_0x26e938=typeof this[_0x43fad1(0x2c2)][_0x1674dc]!=_0x43fad1(0x2ff)?_0x28f9e6[_0x43fad1(0x31f)]:this[_0x43fad1(0x2c2)][_0x1674dc];this[_0x43fad1(0x34a)]=_0x28f9e6[_0x43fad1(0x1c6)]({...this['_options'][_0x43fad1(0x21f)],'windowBits':_0x26e938}),this[_0x43fad1(0x34a)][_0xcdafca]=this,this[_0x43fad1(0x34a)][_0x394ac5]=0x0,this[_0x43fad1(0x34a)][_0x8e9de2]=[],this[_0x43fad1(0x34a)]['on'](_0x43fad1(0x234),_0x38615c),this[_0x43fad1(0x34a)]['on']('data',_0xf22c0a);}this[_0x43fad1(0x34a)][_0x341228]=_0x39fa2f,this[_0x43fad1(0x34a)][_0x43fad1(0x1ea)](_0x5845b2),_0x491b10&&this[_0x43fad1(0x34a)][_0x43fad1(0x1ea)](_0x5be23b),this[_0x43fad1(0x34a)][_0x43fad1(0x35a)](()=>{const _0x52c0c2=_0x43fad1,_0x4d5a8c=this['_inflate'][_0xdde06c];if(_0x4d5a8c){this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d0)](),this[_0x52c0c2(0x34a)]=null,_0x39fa2f(_0x4d5a8c);return;}const _0x3dc64d=_0x287158[_0x52c0c2(0x366)](this[_0x52c0c2(0x34a)][_0x8e9de2],this[_0x52c0c2(0x34a)][_0x394ac5]);this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d6)][_0x52c0c2(0x33f)]?(this[_0x52c0c2(0x34a)][_0x52c0c2(0x1d0)](),this[_0x52c0c2(0x34a)]=null):(this[_0x52c0c2(0x34a)][_0x394ac5]=0x0,this[_0x52c0c2(0x34a)][_0x8e9de2]=[],_0x491b10&&this[_0x52c0c2(0x2c2)][_0x5e3df1+_0x52c0c2(0x208)]&&this[_0x52c0c2(0x34a)]['reset']()),_0x39fa2f(null,_0x3dc64d);});}[_0x401e66(0x281)](_0x39de8b,_0x17764a,_0x494e34){const _0x19a678=_0x401e66,_0x177a23=this[_0x19a678(0x221)]?_0x19a678(0x225):'client';if(!this['_deflate']){const _0x1e026d=_0x177a23+_0x19a678(0x2f9),_0x5675bb=typeof this[_0x19a678(0x2c2)][_0x1e026d]!=_0x19a678(0x2ff)?_0x28f9e6['Z_DEFAULT_WINDOWBITS']:this[_0x19a678(0x2c2)][_0x1e026d];this[_0x19a678(0x23f)]=_0x28f9e6['createDeflateRaw']({...this[_0x19a678(0x2ef)][_0x19a678(0x2c5)],'windowBits':_0x5675bb}),this[_0x19a678(0x23f)][_0x394ac5]=0x0,this[_0x19a678(0x23f)][_0x8e9de2]=[],this[_0x19a678(0x23f)]['on'](_0x19a678(0x1dd),_0x55ad1e);}this[_0x19a678(0x23f)][_0x341228]=_0x494e34,this[_0x19a678(0x23f)][_0x19a678(0x1ea)](_0x39de8b),this['_deflate'][_0x19a678(0x35a)](_0x28f9e6[_0x19a678(0x295)],()=>{const _0x48b6b1=_0x19a678;if(!this[_0x48b6b1(0x23f)])return;let _0x3efee3=_0x287158[_0x48b6b1(0x366)](this['_deflate'][_0x8e9de2],this['_deflate'][_0x394ac5]);_0x17764a&&(_0x3efee3=new _0x3999f7(_0x3efee3[_0x48b6b1(0x230)],_0x3efee3[_0x48b6b1(0x256)],_0x3efee3[_0x48b6b1(0x2a1)]-0x4)),this['_deflate'][_0x341228]=null,this[_0x48b6b1(0x23f)][_0x394ac5]=0x0,this[_0x48b6b1(0x23f)][_0x8e9de2]=[],_0x17764a&&this[_0x48b6b1(0x2c2)][_0x177a23+_0x48b6b1(0x208)]&&this[_0x48b6b1(0x23f)][_0x48b6b1(0x23e)](),_0x494e34(null,_0x3efee3);});}}ve=_0x318e34;function _0x55ad1e(_0x42fe27){const _0x348094=_0x401e66;this[_0x8e9de2]['push'](_0x42fe27),this[_0x394ac5]+=_0x42fe27[_0x348094(0x2a1)];}function _0xf22c0a(_0x5980f4){const _0x2ea227=_0x401e66;if(this[_0x394ac5]+=_0x5980f4['length'],this[_0xcdafca][_0x2ea227(0x1fd)]<0x1||this[_0x394ac5]<=this[_0xcdafca]['_maxPayload']){this[_0x8e9de2][_0x2ea227(0x35e)](_0x5980f4);return;}this[_0xdde06c]=new RangeError(_0x2ea227(0x238)),this[_0xdde06c][_0x2ea227(0x338)]=_0x2ea227(0x321),this[_0xdde06c][_0x5e52ea]=0x3f1,this[_0x2ea227(0x1db)]('data',_0xf22c0a),this[_0x2ea227(0x23e)]();}function _0x38615c(_0x102d42){const _0xbcbb57=_0x401e66;if(this[_0xcdafca][_0xbcbb57(0x34a)]=null,this[_0xdde06c]){this[_0x341228](this[_0xdde06c]);return;}_0x102d42[_0x5e52ea]=0x3ef,this[_0x341228](_0x102d42);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2a4dc6(0x2b9)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2a4dc6(0x2d4)})),Yt=ut(zt);var Qe;function ne(){const _0x1c1bc8=_0x2a4dc6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x467dab}=_0x124b5e,{hasBlob:_0x36d5b3}=V(),_0x149c2f=[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 _0x2c6e29(_0x1fcc3d){return _0x1fcc3d>=0x3e8&&_0x1fcc3d<=0x3f6&&_0x1fcc3d!==0x3ec&&_0x1fcc3d!==0x3ed&&_0x1fcc3d!==0x3ee||_0x1fcc3d>=0xbb8&&_0x1fcc3d<=0x1387;}function _0x4ccb0a(_0x4324b9){const _0x2956ff=_0x43e6,_0x100040=_0x4324b9[_0x2956ff(0x2a1)];let _0x30f815=0x0;for(;_0x30f815<_0x100040;)if((_0x4324b9[_0x30f815]&0x80)===0x0)_0x30f815++;else{if((_0x4324b9[_0x30f815]&0xe0)===0xc0){if(_0x30f815+0x1===_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815]&0xfe)===0xc0)return!0x1;_0x30f815+=0x2;}else{if((_0x4324b9[_0x30f815]&0xf0)===0xe0){if(_0x30f815+0x2>=_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x2]&0xc0)!==0x80||_0x4324b9[_0x30f815]===0xe0&&(_0x4324b9[_0x30f815+0x1]&0xe0)===0x80||_0x4324b9[_0x30f815]===0xed&&(_0x4324b9[_0x30f815+0x1]&0xe0)===0xa0)return!0x1;_0x30f815+=0x3;}else{if((_0x4324b9[_0x30f815]&0xf8)===0xf0){if(_0x30f815+0x3>=_0x100040||(_0x4324b9[_0x30f815+0x1]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x2]&0xc0)!==0x80||(_0x4324b9[_0x30f815+0x3]&0xc0)!==0x80||_0x4324b9[_0x30f815]===0xf0&&(_0x4324b9[_0x30f815+0x1]&0xf0)===0x80||_0x4324b9[_0x30f815]===0xf4&&_0x4324b9[_0x30f815+0x1]>0x8f||_0x4324b9[_0x30f815]>0xf4)return!0x1;_0x30f815+=0x4;}else return!0x1;}}}return!0x0;}function _0x5bf08c(_0x39537c){const _0x54cadc=_0x43e6;return _0x36d5b3&&typeof _0x39537c==_0x54cadc(0x2da)&&typeof _0x39537c[_0x54cadc(0x22a)]==_0x54cadc(0x269)&&typeof _0x39537c['type']==_0x54cadc(0x2d7)&&typeof _0x39537c['stream']=='function'&&(_0x39537c[Symbol[_0x54cadc(0x24e)]]==='Blob'||_0x39537c[Symbol['toStringTag']]===_0x54cadc(0x2a3));}if(re[_0x1c1bc8(0x277)]={'isBlob':_0x5bf08c,'isValidStatusCode':_0x2c6e29,'isValidUTF8':_0x4ccb0a,'tokenChars':_0x149c2f},_0x467dab)re[_0x1c1bc8(0x277)][_0x1c1bc8(0x20c)]=function(_0x18d018){const _0x3b67c0=_0x1c1bc8;return _0x18d018[_0x3b67c0(0x2a1)]<0x18?_0x4ccb0a(_0x18d018):_0x467dab(_0x18d018);};else{if(!process[_0x1c1bc8(0x2fe)][_0x1c1bc8(0x2cf)])try{const _0x2560e2=Yt;re[_0x1c1bc8(0x277)][_0x1c1bc8(0x20c)]=function(_0x3bf219){const _0x326d9e=_0x1c1bc8;return _0x3bf219[_0x326d9e(0x2a1)]<0x20?_0x4ccb0a(_0x3bf219):_0x2560e2(_0x3bf219);};}catch{}}return re[_0x1c1bc8(0x277)];}var Se,Je;function dt(){const _0x346605=_0x2a4dc6;if(Je)return Se;Je=0x1;const {Writable:_0x18269a}=_0xd79b6f,_0x1d1515=he(),{BINARY_TYPES:_0x38fc25,EMPTY_BUFFER:_0x20b9a2,kStatusCode:_0x56deb5,kWebSocket:_0x2a6020}=V(),{concat:_0xe36729,toArrayBuffer:_0x2bf62a,unmask:_0x177bff}=ce(),{isValidStatusCode:_0x5a3ca4,isValidUTF8:_0x190725}=ne(),_0x5648b5=Buffer[Symbol['species']],_0x156515=0x0,_0x1624d2=0x1,_0x5ff483=0x2,_0x5ea063=0x3,_0x58c8ef=0x4,_0x434ed0=0x5,_0xee4ab2=0x6;class _0x296be6 extends _0x18269a{constructor(_0x438308={}){const _0x26e906=_0x43e6;super(),this['_allowSynchronousEvents']=_0x438308[_0x26e906(0x1c2)]!==void 0x0?_0x438308[_0x26e906(0x1c2)]:!0x0,this[_0x26e906(0x364)]=_0x438308['binaryType']||_0x38fc25[0x0],this[_0x26e906(0x2e0)]=_0x438308[_0x26e906(0x2e9)]||{},this['_isServer']=!!_0x438308[_0x26e906(0x229)],this[_0x26e906(0x1fd)]=_0x438308[_0x26e906(0x324)]|0x0,this[_0x26e906(0x337)]=!!_0x438308[_0x26e906(0x227)],this[_0x2a6020]=void 0x0,this['_bufferedBytes']=0x0,this[_0x26e906(0x333)]=[],this[_0x26e906(0x35f)]=!0x1,this[_0x26e906(0x31a)]=0x0,this[_0x26e906(0x211)]=void 0x0,this[_0x26e906(0x2d9)]=0x0,this[_0x26e906(0x2b7)]=!0x1,this['_fin']=!0x1,this[_0x26e906(0x28b)]=0x0,this[_0x26e906(0x24d)]=0x0,this[_0x26e906(0x1ff)]=0x0,this['_fragments']=[],this[_0x26e906(0x228)]=!0x1,this[_0x26e906(0x240)]=!0x1,this[_0x26e906(0x1f5)]=_0x156515;}[_0x346605(0x1b7)](_0x54f364,_0x4b9f2a,_0x4a8b80){const _0x50243e=_0x346605;if(this[_0x50243e(0x28b)]===0x8&&this[_0x50243e(0x1f5)]==_0x156515)return _0x4a8b80();this[_0x50243e(0x1bc)]+=_0x54f364['length'],this[_0x50243e(0x333)][_0x50243e(0x35e)](_0x54f364),this[_0x50243e(0x353)](_0x4a8b80);}[_0x346605(0x320)](_0x3ea0fc){const _0x3e4952=_0x346605;if(this[_0x3e4952(0x1bc)]-=_0x3ea0fc,_0x3ea0fc===this[_0x3e4952(0x333)][0x0][_0x3e4952(0x2a1)])return this[_0x3e4952(0x333)][_0x3e4952(0x29e)]();if(_0x3ea0fc<this[_0x3e4952(0x333)][0x0][_0x3e4952(0x2a1)]){const _0x19a7cf=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x5648b5(_0x19a7cf[_0x3e4952(0x230)],_0x19a7cf[_0x3e4952(0x256)]+_0x3ea0fc,_0x19a7cf['length']-_0x3ea0fc),new _0x5648b5(_0x19a7cf[_0x3e4952(0x230)],_0x19a7cf[_0x3e4952(0x256)],_0x3ea0fc);}const _0xedb842=Buffer[_0x3e4952(0x248)](_0x3ea0fc);do{const _0x12c5eb=this[_0x3e4952(0x333)][0x0],_0x525673=_0xedb842[_0x3e4952(0x2a1)]-_0x3ea0fc;_0x3ea0fc>=_0x12c5eb[_0x3e4952(0x2a1)]?_0xedb842['set'](this[_0x3e4952(0x333)]['shift'](),_0x525673):(_0xedb842['set'](new Uint8Array(_0x12c5eb['buffer'],_0x12c5eb[_0x3e4952(0x256)],_0x3ea0fc),_0x525673),this[_0x3e4952(0x333)][0x0]=new _0x5648b5(_0x12c5eb[_0x3e4952(0x230)],_0x12c5eb[_0x3e4952(0x256)]+_0x3ea0fc,_0x12c5eb[_0x3e4952(0x2a1)]-_0x3ea0fc)),_0x3ea0fc-=_0x12c5eb[_0x3e4952(0x2a1)];}while(_0x3ea0fc>0x0);return _0xedb842;}['startLoop'](_0x3e0fad){const _0x4f2f3e=_0x346605;this[_0x4f2f3e(0x240)]=!0x0;do switch(this[_0x4f2f3e(0x1f5)]){case _0x156515:this[_0x4f2f3e(0x32d)](_0x3e0fad);break;case _0x1624d2:this[_0x4f2f3e(0x1f3)](_0x3e0fad);break;case _0x5ff483:this[_0x4f2f3e(0x2cb)](_0x3e0fad);break;case _0x5ea063:this['getMask']();break;case _0x58c8ef:this['getData'](_0x3e0fad);break;case _0x434ed0:case _0xee4ab2:this[_0x4f2f3e(0x240)]=!0x1;return;}while(this[_0x4f2f3e(0x240)]);this['_errored']||_0x3e0fad();}[_0x346605(0x32d)](_0x2b0fe8){const _0x2d2a9d=_0x346605;if(this[_0x2d2a9d(0x1bc)]<0x2){this[_0x2d2a9d(0x240)]=!0x1;return;}const _0x3ce3d9=this['consume'](0x2);if((_0x3ce3d9[0x0]&0x30)!==0x0){const _0x58969d=this[_0x2d2a9d(0x298)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x2b0fe8(_0x58969d);return;}const _0x528c58=(_0x3ce3d9[0x0]&0x40)===0x40;if(_0x528c58&&!this['_extensions'][_0x1d1515[_0x2d2a9d(0x243)]]){const _0x23ea10=this[_0x2d2a9d(0x298)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2d2a9d(0x306));_0x2b0fe8(_0x23ea10);return;}if(this[_0x2d2a9d(0x340)]=(_0x3ce3d9[0x0]&0x80)===0x80,this[_0x2d2a9d(0x28b)]=_0x3ce3d9[0x0]&0xf,this['_payloadLength']=_0x3ce3d9[0x1]&0x7f,this['_opcode']===0x0){if(_0x528c58){const _0x14e064=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x311),!0x0,0x3ea,_0x2d2a9d(0x306));_0x2b0fe8(_0x14e064);return;}if(!this[_0x2d2a9d(0x2d9)]){const _0x26ee6c=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x233),!0x0,0x3ea,_0x2d2a9d(0x318));_0x2b0fe8(_0x26ee6c);return;}this['_opcode']=this[_0x2d2a9d(0x2d9)];}else{if(this[_0x2d2a9d(0x28b)]===0x1||this[_0x2d2a9d(0x28b)]===0x2){if(this[_0x2d2a9d(0x2d9)]){const _0x27d39f=this[_0x2d2a9d(0x298)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x2d2a9d(0x318));_0x2b0fe8(_0x27d39f);return;}this[_0x2d2a9d(0x35f)]=_0x528c58;}else{if(this[_0x2d2a9d(0x28b)]>0x7&&this[_0x2d2a9d(0x28b)]<0xb){if(!this[_0x2d2a9d(0x340)]){const _0x53fdf0=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x1c8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x2b0fe8(_0x53fdf0);return;}if(_0x528c58){const _0xfee0ca=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x311),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2b0fe8(_0xfee0ca);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x2d2a9d(0x31a)]===0x1){const _0x4bf24a=this['createError'](RangeError,_0x2d2a9d(0x264)+this[_0x2d2a9d(0x31a)],!0x0,0x3ea,_0x2d2a9d(0x261));_0x2b0fe8(_0x4bf24a);return;}}else{const _0x2687a3=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x25e)+this[_0x2d2a9d(0x28b)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2b0fe8(_0x2687a3);return;}}}if(!this[_0x2d2a9d(0x340)]&&!this[_0x2d2a9d(0x2d9)]&&(this['_fragmented']=this[_0x2d2a9d(0x28b)]),this['_masked']=(_0x3ce3d9[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x54e930=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x2db),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2b0fe8(_0x54e930);return;}}else{if(this[_0x2d2a9d(0x2b7)]){const _0x598b1e=this[_0x2d2a9d(0x298)](RangeError,_0x2d2a9d(0x237),!0x0,0x3ea,_0x2d2a9d(0x22d));_0x2b0fe8(_0x598b1e);return;}}this['_payloadLength']===0x7e?this[_0x2d2a9d(0x1f5)]=_0x1624d2:this[_0x2d2a9d(0x31a)]===0x7f?this['_state']=_0x5ff483:this['haveLength'](_0x2b0fe8);}[_0x346605(0x1f3)](_0xaa8a81){const _0x55ab72=_0x346605;if(this[_0x55ab72(0x1bc)]<0x2){this['_loop']=!0x1;return;}this[_0x55ab72(0x31a)]=this[_0x55ab72(0x320)](0x2)[_0x55ab72(0x2a4)](0x0),this[_0x55ab72(0x1e9)](_0xaa8a81);}['getPayloadLength64'](_0xe06ca7){const _0x34d83d=_0x346605;if(this[_0x34d83d(0x1bc)]<0x8){this[_0x34d83d(0x240)]=!0x1;return;}const _0xbea88a=this['consume'](0x8),_0x1a2f7d=_0xbea88a['readUInt32BE'](0x0);if(_0x1a2f7d>Math[_0x34d83d(0x202)](0x2,0x15)-0x1){const _0x4b9189=this[_0x34d83d(0x298)](RangeError,_0x34d83d(0x2b2),!0x1,0x3f1,_0x34d83d(0x1c9));_0xe06ca7(_0x4b9189);return;}this['_payloadLength']=_0x1a2f7d*Math[_0x34d83d(0x202)](0x2,0x20)+_0xbea88a['readUInt32BE'](0x4),this[_0x34d83d(0x1e9)](_0xe06ca7);}['haveLength'](_0x162f90){const _0x21039d=_0x346605;if(this[_0x21039d(0x31a)]&&this[_0x21039d(0x28b)]<0x8&&(this[_0x21039d(0x24d)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x21039d(0x1fd)]&&this['_maxPayload']>0x0)){const _0x1ab131=this[_0x21039d(0x298)](RangeError,_0x21039d(0x238),!0x1,0x3f1,_0x21039d(0x321));_0x162f90(_0x1ab131);return;}this['_masked']?this['_state']=_0x5ea063:this[_0x21039d(0x1f5)]=_0x58c8ef;}[_0x346605(0x27b)](){const _0x3a0c5c=_0x346605;if(this[_0x3a0c5c(0x1bc)]<0x4){this[_0x3a0c5c(0x240)]=!0x1;return;}this[_0x3a0c5c(0x211)]=this[_0x3a0c5c(0x320)](0x4),this[_0x3a0c5c(0x1f5)]=_0x58c8ef;}[_0x346605(0x326)](_0x55f1fc){const _0x4ce865=_0x346605;let _0x195ef0=_0x20b9a2;if(this['_payloadLength']){if(this[_0x4ce865(0x1bc)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x195ef0=this[_0x4ce865(0x320)](this[_0x4ce865(0x31a)]),this['_masked']&&(this[_0x4ce865(0x211)][0x0]|this['_mask'][0x1]|this[_0x4ce865(0x211)][0x2]|this['_mask'][0x3])!==0x0&&_0x177bff(_0x195ef0,this[_0x4ce865(0x211)]);}if(this[_0x4ce865(0x28b)]>0x7){this[_0x4ce865(0x1ed)](_0x195ef0,_0x55f1fc);return;}if(this['_compressed']){this[_0x4ce865(0x1f5)]=_0x434ed0,this['decompress'](_0x195ef0,_0x55f1fc);return;}_0x195ef0[_0x4ce865(0x2a1)]&&(this[_0x4ce865(0x1ff)]=this[_0x4ce865(0x24d)],this[_0x4ce865(0x308)][_0x4ce865(0x35e)](_0x195ef0)),this[_0x4ce865(0x31b)](_0x55f1fc);}[_0x346605(0x25f)](_0x3bd9c4,_0x4dbf7c){const _0x17ea8a=_0x346605;this['_extensions'][_0x1d1515[_0x17ea8a(0x243)]][_0x17ea8a(0x25f)](_0x3bd9c4,this['_fin'],(_0x1bf429,_0x266b45)=>{const _0x54b4c0=_0x17ea8a;if(_0x1bf429)return _0x4dbf7c(_0x1bf429);if(_0x266b45[_0x54b4c0(0x2a1)]){if(this['_messageLength']+=_0x266b45[_0x54b4c0(0x2a1)],this[_0x54b4c0(0x1ff)]>this[_0x54b4c0(0x1fd)]&&this[_0x54b4c0(0x1fd)]>0x0){const _0x489e67=this[_0x54b4c0(0x298)](RangeError,_0x54b4c0(0x238),!0x1,0x3f1,_0x54b4c0(0x321));_0x4dbf7c(_0x489e67);return;}this[_0x54b4c0(0x308)][_0x54b4c0(0x35e)](_0x266b45);}this[_0x54b4c0(0x31b)](_0x4dbf7c),this[_0x54b4c0(0x1f5)]===_0x156515&&this[_0x54b4c0(0x353)](_0x4dbf7c);});}[_0x346605(0x31b)](_0x13a638){const _0xf791c0=_0x346605;if(!this[_0xf791c0(0x340)]){this[_0xf791c0(0x1f5)]=_0x156515;return;}const _0x4e4ad1=this['_messageLength'],_0xe0b24d=this['_fragments'];if(this[_0xf791c0(0x24d)]=0x0,this[_0xf791c0(0x1ff)]=0x0,this['_fragmented']=0x0,this[_0xf791c0(0x308)]=[],this[_0xf791c0(0x28b)]===0x2){let _0x28ae09;this[_0xf791c0(0x364)]===_0xf791c0(0x1bb)?_0x28ae09=_0xe36729(_0xe0b24d,_0x4e4ad1):this['_binaryType']===_0xf791c0(0x369)?_0x28ae09=_0x2bf62a(_0xe36729(_0xe0b24d,_0x4e4ad1)):this[_0xf791c0(0x364)]==='blob'?_0x28ae09=new Blob(_0xe0b24d):_0x28ae09=_0xe0b24d,this[_0xf791c0(0x325)]?(this[_0xf791c0(0x20d)]('message',_0x28ae09,!0x0),this['_state']=_0x156515):(this['_state']=_0xee4ab2,setImmediate(()=>{const _0x5a1629=_0xf791c0;this[_0x5a1629(0x20d)](_0x5a1629(0x28a),_0x28ae09,!0x0),this['_state']=_0x156515,this[_0x5a1629(0x353)](_0x13a638);}));}else{const _0x43e167=_0xe36729(_0xe0b24d,_0x4e4ad1);if(!this[_0xf791c0(0x337)]&&!_0x190725(_0x43e167)){const _0x242bca=this[_0xf791c0(0x298)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xf791c0(0x2ee));_0x13a638(_0x242bca);return;}this[_0xf791c0(0x1f5)]===_0x434ed0||this[_0xf791c0(0x325)]?(this[_0xf791c0(0x20d)](_0xf791c0(0x28a),_0x43e167,!0x1),this['_state']=_0x156515):(this[_0xf791c0(0x1f5)]=_0xee4ab2,setImmediate(()=>{const _0x1c14d0=_0xf791c0;this[_0x1c14d0(0x20d)](_0x1c14d0(0x28a),_0x43e167,!0x1),this[_0x1c14d0(0x1f5)]=_0x156515,this[_0x1c14d0(0x353)](_0x13a638);}));}}[_0x346605(0x1ed)](_0xa2f74f,_0x4de20d){const _0x26264f=_0x346605;if(this['_opcode']===0x8){if(_0xa2f74f['length']===0x0)this[_0x26264f(0x240)]=!0x1,this[_0x26264f(0x20d)](_0x26264f(0x286),0x3ed,_0x20b9a2),this['end']();else{const _0x3d16c1=_0xa2f74f[_0x26264f(0x2a4)](0x0);if(!_0x5a3ca4(_0x3d16c1)){const _0xfe9117=this[_0x26264f(0x298)](RangeError,_0x26264f(0x33b)+_0x3d16c1,!0x0,0x3ea,_0x26264f(0x1c4));_0x4de20d(_0xfe9117);return;}const _0x3cbf85=new _0x5648b5(_0xa2f74f['buffer'],_0xa2f74f[_0x26264f(0x256)]+0x2,_0xa2f74f[_0x26264f(0x2a1)]-0x2);if(!this[_0x26264f(0x337)]&&!_0x190725(_0x3cbf85)){const _0x317354=this[_0x26264f(0x298)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x26264f(0x2ee));_0x4de20d(_0x317354);return;}this[_0x26264f(0x240)]=!0x1,this[_0x26264f(0x20d)](_0x26264f(0x286),_0x3d16c1,_0x3cbf85),this[_0x26264f(0x209)]();}this[_0x26264f(0x1f5)]=_0x156515;return;}this[_0x26264f(0x325)]?(this['emit'](this[_0x26264f(0x28b)]===0x9?_0x26264f(0x35d):_0x26264f(0x2f5),_0xa2f74f),this['_state']=_0x156515):(this[_0x26264f(0x1f5)]=_0xee4ab2,setImmediate(()=>{const _0x2f4da7=_0x26264f;this[_0x2f4da7(0x20d)](this[_0x2f4da7(0x28b)]===0x9?_0x2f4da7(0x35d):_0x2f4da7(0x2f5),_0xa2f74f),this[_0x2f4da7(0x1f5)]=_0x156515,this[_0x2f4da7(0x353)](_0x4de20d);}));}[_0x346605(0x298)](_0x61835d,_0x48879c,_0x2f2e55,_0x115325,_0xa9bdf8){const _0x7f7d4c=_0x346605;this[_0x7f7d4c(0x240)]=!0x1,this[_0x7f7d4c(0x228)]=!0x0;const _0x32ba66=new _0x61835d(_0x2f2e55?_0x7f7d4c(0x358)+_0x48879c:_0x48879c);return Error['captureStackTrace'](_0x32ba66,this[_0x7f7d4c(0x298)]),_0x32ba66[_0x7f7d4c(0x338)]=_0xa9bdf8,_0x32ba66[_0x56deb5]=_0x115325,_0x32ba66;}}return Se=_0x296be6,Se;}var Ee,et;function _t(){const _0x208c9d=_0x2a4dc6;if(et)return Ee;et=0x1;const {Duplex:_0x204f8c}=_0xd79b6f,{randomFillSync:_0xdb2d55}=_0x8054d,_0x40136f=he(),{EMPTY_BUFFER:_0x516b5b,kWebSocket:_0x95cde1,NOOP:_0x42da7f}=V(),{isBlob:_0x3a65aa,isValidStatusCode:_0x1a2ad3}=ne(),{mask:_0x52eea0,toBuffer:_0x266627}=ce(),_0x46cf31=Symbol(_0x208c9d(0x1e0)),_0x3af23b=Buffer[_0x208c9d(0x1f7)](0x4),_0x50f82f=0x8*0x400;let _0x336f15,_0x20aa78=_0x50f82f;const _0x576153=0x0,_0x4d7bc7=0x1,_0x1b4868=0x2;class _0x2bb41b{constructor(_0x2bbe92,_0x3dc07b,_0x125ac9){const _0x34bef3=_0x208c9d;this['_extensions']=_0x3dc07b||{},_0x125ac9&&(this[_0x34bef3(0x363)]=_0x125ac9,this[_0x34bef3(0x2bf)]=Buffer['alloc'](0x4)),this[_0x34bef3(0x35c)]=_0x2bbe92,this[_0x34bef3(0x203)]=!0x0,this[_0x34bef3(0x281)]=!0x1,this[_0x34bef3(0x1bc)]=0x0,this[_0x34bef3(0x21b)]=[],this[_0x34bef3(0x1f5)]=_0x576153,this[_0x34bef3(0x32f)]=_0x42da7f,this[_0x95cde1]=void 0x0;}static[_0x208c9d(0x1f8)](_0xedc141,_0x3a4709){const _0x529cef=_0x208c9d;let _0x4f24a5,_0x5d1d35=!0x1,_0x2e5e56=0x2,_0x244db7=!0x1;_0x3a4709[_0x529cef(0x2df)]&&(_0x4f24a5=_0x3a4709[_0x529cef(0x212)]||_0x3af23b,_0x3a4709[_0x529cef(0x360)]?_0x3a4709[_0x529cef(0x360)](_0x4f24a5):(_0x20aa78===_0x50f82f&&(_0x336f15===void 0x0&&(_0x336f15=Buffer[_0x529cef(0x1f7)](_0x50f82f)),_0xdb2d55(_0x336f15,0x0,_0x50f82f),_0x20aa78=0x0),_0x4f24a5[0x0]=_0x336f15[_0x20aa78++],_0x4f24a5[0x1]=_0x336f15[_0x20aa78++],_0x4f24a5[0x2]=_0x336f15[_0x20aa78++],_0x4f24a5[0x3]=_0x336f15[_0x20aa78++]),_0x244db7=(_0x4f24a5[0x0]|_0x4f24a5[0x1]|_0x4f24a5[0x2]|_0x4f24a5[0x3])===0x0,_0x2e5e56=0x6);let _0x5b31db;typeof _0xedc141==_0x529cef(0x2d7)?(!_0x3a4709[_0x529cef(0x2df)]||_0x244db7)&&_0x3a4709[_0x46cf31]!==void 0x0?_0x5b31db=_0x3a4709[_0x46cf31]:(_0xedc141=Buffer[_0x529cef(0x2a8)](_0xedc141),_0x5b31db=_0xedc141[_0x529cef(0x2a1)]):(_0x5b31db=_0xedc141[_0x529cef(0x2a1)],_0x5d1d35=_0x3a4709[_0x529cef(0x2df)]&&_0x3a4709[_0x529cef(0x1eb)]&&!_0x244db7);let _0x5d0516=_0x5b31db;_0x5b31db>=0x10000?(_0x2e5e56+=0x8,_0x5d0516=0x7f):_0x5b31db>0x7d&&(_0x2e5e56+=0x2,_0x5d0516=0x7e);const _0x3792b5=Buffer[_0x529cef(0x248)](_0x5d1d35?_0x5b31db+_0x2e5e56:_0x2e5e56);return _0x3792b5[0x0]=_0x3a4709[_0x529cef(0x2dd)]?_0x3a4709[_0x529cef(0x27a)]|0x80:_0x3a4709[_0x529cef(0x27a)],_0x3a4709['rsv1']&&(_0x3792b5[0x0]|=0x40),_0x3792b5[0x1]=_0x5d0516,_0x5d0516===0x7e?_0x3792b5[_0x529cef(0x1cc)](_0x5b31db,0x2):_0x5d0516===0x7f&&(_0x3792b5[0x2]=_0x3792b5[0x3]=0x0,_0x3792b5['writeUIntBE'](_0x5b31db,0x4,0x6)),_0x3a4709[_0x529cef(0x2df)]?(_0x3792b5[0x1]|=0x80,_0x3792b5[_0x2e5e56-0x4]=_0x4f24a5[0x0],_0x3792b5[_0x2e5e56-0x3]=_0x4f24a5[0x1],_0x3792b5[_0x2e5e56-0x2]=_0x4f24a5[0x2],_0x3792b5[_0x2e5e56-0x1]=_0x4f24a5[0x3],_0x244db7?[_0x3792b5,_0xedc141]:_0x5d1d35?(_0x52eea0(_0xedc141,_0x4f24a5,_0x3792b5,_0x2e5e56,_0x5b31db),[_0x3792b5]):(_0x52eea0(_0xedc141,_0x4f24a5,_0xedc141,0x0,_0x5b31db),[_0x3792b5,_0xedc141])):[_0x3792b5,_0xedc141];}['close'](_0xc870dd,_0x41576e,_0x2c4b9a,_0x598064){const _0x783059=_0x208c9d;let _0x116991;if(_0xc870dd===void 0x0)_0x116991=_0x516b5b;else{if(typeof _0xc870dd!=_0x783059(0x2ff)||!_0x1a2ad3(_0xc870dd))throw new TypeError(_0x783059(0x307));if(_0x41576e===void 0x0||!_0x41576e['length'])_0x116991=Buffer[_0x783059(0x248)](0x2),_0x116991[_0x783059(0x1cc)](_0xc870dd,0x0);else{const _0x52d887=Buffer['byteLength'](_0x41576e);if(_0x52d887>0x7b)throw new RangeError(_0x783059(0x368));_0x116991=Buffer[_0x783059(0x248)](0x2+_0x52d887),_0x116991['writeUInt16BE'](_0xc870dd,0x0),typeof _0x41576e==_0x783059(0x2d7)?_0x116991[_0x783059(0x1ea)](_0x41576e,0x2):_0x116991['set'](_0x41576e,0x2);}}const _0xf49f64={[_0x46cf31]:_0x116991[_0x783059(0x2a1)],'fin':!0x0,'generateMask':this[_0x783059(0x363)],'mask':_0x2c4b9a,'maskBuffer':this[_0x783059(0x2bf)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x783059(0x1f5)]!==_0x576153?this['enqueue']([this[_0x783059(0x2ec)],_0x116991,!0x1,_0xf49f64,_0x598064]):this[_0x783059(0x1f2)](_0x2bb41b[_0x783059(0x1f8)](_0x116991,_0xf49f64),_0x598064);}[_0x208c9d(0x35d)](_0x31acdb,_0x573ac2,_0x2b1f22){const _0x435de1=_0x208c9d;let _0x3f7279,_0x5da921;if(typeof _0x31acdb==_0x435de1(0x2d7)?(_0x3f7279=Buffer['byteLength'](_0x31acdb),_0x5da921=!0x1):_0x3a65aa(_0x31acdb)?(_0x3f7279=_0x31acdb[_0x435de1(0x1e4)],_0x5da921=!0x1):(_0x31acdb=_0x266627(_0x31acdb),_0x3f7279=_0x31acdb[_0x435de1(0x2a1)],_0x5da921=_0x266627[_0x435de1(0x1eb)]),_0x3f7279>0x7d)throw new RangeError(_0x435de1(0x29f));const _0x1674c0={[_0x46cf31]:_0x3f7279,'fin':!0x0,'generateMask':this[_0x435de1(0x363)],'mask':_0x573ac2,'maskBuffer':this[_0x435de1(0x2bf)],'opcode':0x9,'readOnly':_0x5da921,'rsv1':!0x1};_0x3a65aa(_0x31acdb)?this[_0x435de1(0x1f5)]!==_0x576153?this['enqueue']([this[_0x435de1(0x253)],_0x31acdb,!0x1,_0x1674c0,_0x2b1f22]):this['getBlobData'](_0x31acdb,!0x1,_0x1674c0,_0x2b1f22):this[_0x435de1(0x1f5)]!==_0x576153?this[_0x435de1(0x1e7)]([this['dispatch'],_0x31acdb,!0x1,_0x1674c0,_0x2b1f22]):this['sendFrame'](_0x2bb41b[_0x435de1(0x1f8)](_0x31acdb,_0x1674c0),_0x2b1f22);}[_0x208c9d(0x2f5)](_0x466889,_0x549a76,_0x7c379f){const _0x245974=_0x208c9d;let _0x17a77a,_0x4d1d37;if(typeof _0x466889==_0x245974(0x2d7)?(_0x17a77a=Buffer[_0x245974(0x1d1)](_0x466889),_0x4d1d37=!0x1):_0x3a65aa(_0x466889)?(_0x17a77a=_0x466889[_0x245974(0x1e4)],_0x4d1d37=!0x1):(_0x466889=_0x266627(_0x466889),_0x17a77a=_0x466889[_0x245974(0x2a1)],_0x4d1d37=_0x266627['readOnly']),_0x17a77a>0x7d)throw new RangeError(_0x245974(0x29f));const _0x21b9b9={[_0x46cf31]:_0x17a77a,'fin':!0x0,'generateMask':this[_0x245974(0x363)],'mask':_0x549a76,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4d1d37,'rsv1':!0x1};_0x3a65aa(_0x466889)?this[_0x245974(0x1f5)]!==_0x576153?this[_0x245974(0x1e7)]([this['getBlobData'],_0x466889,!0x1,_0x21b9b9,_0x7c379f]):this[_0x245974(0x253)](_0x466889,!0x1,_0x21b9b9,_0x7c379f):this[_0x245974(0x1f5)]!==_0x576153?this[_0x245974(0x1e7)]([this['dispatch'],_0x466889,!0x1,_0x21b9b9,_0x7c379f]):this['sendFrame'](_0x2bb41b[_0x245974(0x1f8)](_0x466889,_0x21b9b9),_0x7c379f);}['send'](_0x7f3e70,_0x10acde,_0x423fd9){const _0x396a3a=_0x208c9d,_0x3a0e1c=this[_0x396a3a(0x2e0)][_0x40136f[_0x396a3a(0x243)]];let _0x34d75a=_0x10acde['binary']?0x2:0x1,_0x540a05=_0x10acde[_0x396a3a(0x1d8)],_0x4d6b1d,_0xd6d5e3;typeof _0x7f3e70==_0x396a3a(0x2d7)?(_0x4d6b1d=Buffer[_0x396a3a(0x1d1)](_0x7f3e70),_0xd6d5e3=!0x1):_0x3a65aa(_0x7f3e70)?(_0x4d6b1d=_0x7f3e70[_0x396a3a(0x1e4)],_0xd6d5e3=!0x1):(_0x7f3e70=_0x266627(_0x7f3e70),_0x4d6b1d=_0x7f3e70[_0x396a3a(0x2a1)],_0xd6d5e3=_0x266627[_0x396a3a(0x1eb)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x540a05&&_0x3a0e1c&&_0x3a0e1c['params'][_0x3a0e1c[_0x396a3a(0x221)]?_0x396a3a(0x1cb):_0x396a3a(0x263)]&&(_0x540a05=_0x4d6b1d>=_0x3a0e1c[_0x396a3a(0x278)]),this[_0x396a3a(0x281)]=_0x540a05):(_0x540a05=!0x1,_0x34d75a=0x0),_0x10acde[_0x396a3a(0x2dd)]&&(this[_0x396a3a(0x203)]=!0x0);const _0x411346={[_0x46cf31]:_0x4d6b1d,'fin':_0x10acde['fin'],'generateMask':this[_0x396a3a(0x363)],'mask':_0x10acde[_0x396a3a(0x2df)],'maskBuffer':this[_0x396a3a(0x2bf)],'opcode':_0x34d75a,'readOnly':_0xd6d5e3,'rsv1':_0x540a05};_0x3a65aa(_0x7f3e70)?this['_state']!==_0x576153?this['enqueue']([this[_0x396a3a(0x253)],_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9]):this['getBlobData'](_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9):this[_0x396a3a(0x1f5)]!==_0x576153?this[_0x396a3a(0x1e7)]([this[_0x396a3a(0x2ec)],_0x7f3e70,this[_0x396a3a(0x281)],_0x411346,_0x423fd9]):this[_0x396a3a(0x2ec)](_0x7f3e70,this['_compress'],_0x411346,_0x423fd9);}[_0x208c9d(0x253)](_0x779323,_0x86b494,_0x596cf8,_0x16878e){const _0x35ac85=_0x208c9d;this[_0x35ac85(0x1bc)]+=_0x596cf8[_0x46cf31],this[_0x35ac85(0x1f5)]=_0x1b4868,_0x779323[_0x35ac85(0x22a)]()[_0x35ac85(0x33d)](_0x45c031=>{const _0x4a2021=_0x35ac85;if(this[_0x4a2021(0x35c)][_0x4a2021(0x356)]){const _0x2603b2=new Error(_0x4a2021(0x36c));process[_0x4a2021(0x1fa)](_0x5c2b8b,this,_0x2603b2,_0x16878e);return;}this[_0x4a2021(0x1bc)]-=_0x596cf8[_0x46cf31];const _0x3ba095=_0x266627(_0x45c031);_0x86b494?this[_0x4a2021(0x2ec)](_0x3ba095,_0x86b494,_0x596cf8,_0x16878e):(this[_0x4a2021(0x1f5)]=_0x576153,this[_0x4a2021(0x1f2)](_0x2bb41b['frame'](_0x3ba095,_0x596cf8),_0x16878e),this[_0x4a2021(0x1d7)]());})[_0x35ac85(0x2e6)](_0x5b4f2f=>{process['nextTick'](_0x33caab,this,_0x5b4f2f,_0x16878e);});}[_0x208c9d(0x2ec)](_0x37297a,_0x43b1ab,_0x1b0715,_0x5f11bf){const _0x4ca972=_0x208c9d;if(!_0x43b1ab){this[_0x4ca972(0x1f2)](_0x2bb41b[_0x4ca972(0x1f8)](_0x37297a,_0x1b0715),_0x5f11bf);return;}const _0x5f23f2=this[_0x4ca972(0x2e0)][_0x40136f['extensionName']];this[_0x4ca972(0x1bc)]+=_0x1b0715[_0x46cf31],this[_0x4ca972(0x1f5)]=_0x4d7bc7,_0x5f23f2['compress'](_0x37297a,_0x1b0715[_0x4ca972(0x2dd)],(_0x11ecd7,_0x3dd9f2)=>{const _0x4ea3f8=_0x4ca972;if(this[_0x4ea3f8(0x35c)][_0x4ea3f8(0x356)]){const _0x237f74=new Error(_0x4ea3f8(0x273));_0x5c2b8b(this,_0x237f74,_0x5f11bf);return;}this[_0x4ea3f8(0x1bc)]-=_0x1b0715[_0x46cf31],this[_0x4ea3f8(0x1f5)]=_0x576153,_0x1b0715[_0x4ea3f8(0x1eb)]=!0x1,this['sendFrame'](_0x2bb41b[_0x4ea3f8(0x1f8)](_0x3dd9f2,_0x1b0715),_0x5f11bf),this[_0x4ea3f8(0x1d7)]();});}[_0x208c9d(0x1d7)](){const _0xbec7c0=_0x208c9d;for(;this[_0xbec7c0(0x1f5)]===_0x576153&&this[_0xbec7c0(0x21b)][_0xbec7c0(0x2a1)];){const _0x20da49=this[_0xbec7c0(0x21b)]['shift']();this[_0xbec7c0(0x1bc)]-=_0x20da49[0x3][_0x46cf31],Reflect[_0xbec7c0(0x206)](_0x20da49[0x0],this,_0x20da49[_0xbec7c0(0x34e)](0x1));}}['enqueue'](_0x3026f4){const _0x265e9a=_0x208c9d;this['_bufferedBytes']+=_0x3026f4[0x3][_0x46cf31],this[_0x265e9a(0x21b)][_0x265e9a(0x35e)](_0x3026f4);}[_0x208c9d(0x1f2)](_0xbae264,_0x16e05f){const _0x3f9f9e=_0x208c9d;_0xbae264[_0x3f9f9e(0x2a1)]===0x2?(this['_socket'][_0x3f9f9e(0x219)](),this['_socket'][_0x3f9f9e(0x1ea)](_0xbae264[0x0]),this[_0x3f9f9e(0x35c)][_0x3f9f9e(0x1ea)](_0xbae264[0x1],_0x16e05f),this[_0x3f9f9e(0x35c)][_0x3f9f9e(0x28e)]()):this['_socket']['write'](_0xbae264[0x0],_0x16e05f);}}Ee=_0x2bb41b;function _0x5c2b8b(_0x39d7fd,_0x2e5dd8,_0x514fb0){const _0x34a0bf=_0x208c9d;typeof _0x514fb0==_0x34a0bf(0x269)&&_0x514fb0(_0x2e5dd8);for(let _0x4bd9ab=0x0;_0x4bd9ab<_0x39d7fd[_0x34a0bf(0x21b)][_0x34a0bf(0x2a1)];_0x4bd9ab++){const _0x38b3e=_0x39d7fd[_0x34a0bf(0x21b)][_0x4bd9ab],_0x2cdcea=_0x38b3e[_0x38b3e[_0x34a0bf(0x2a1)]-0x1];typeof _0x2cdcea==_0x34a0bf(0x269)&&_0x2cdcea(_0x2e5dd8);}}function _0x33caab(_0x2277d7,_0x4019b6,_0x482e0a){const _0x5f38fd=_0x208c9d;_0x5c2b8b(_0x2277d7,_0x4019b6,_0x482e0a),_0x2277d7[_0x5f38fd(0x32f)](_0x4019b6);}return Ee;}var xe,tt;function Kt(){const _0x4555d9=_0x2a4dc6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e3446,kListener:_0x5b8ec7}=V(),_0x360b6f=Symbol(_0x4555d9(0x347)),_0x1b0be0=Symbol(_0x4555d9(0x1ee)),_0x5cf394=Symbol(_0x4555d9(0x241)),_0x5c0021=Symbol(_0x4555d9(0x350)),_0x1b7763=Symbol(_0x4555d9(0x367)),_0x12ec3f=Symbol(_0x4555d9(0x201)),_0x4be274=Symbol(_0x4555d9(0x242)),_0x555142=Symbol(_0x4555d9(0x20f));class _0x1e1abb{constructor(_0x528a7c){this[_0x12ec3f]=null,this[_0x4be274]=_0x528a7c;}get[_0x4555d9(0x22e)](){return this[_0x12ec3f];}get[_0x4555d9(0x20b)](){return this[_0x4be274];}}Object[_0x4555d9(0x2f4)](_0x1e1abb[_0x4555d9(0x355)],_0x4555d9(0x22e),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x1e1abb[_0x4555d9(0x355)],_0x4555d9(0x20b),{'enumerable':!0x0});class _0x18a34e extends _0x1e1abb{constructor(_0x536f2b,_0x17a7c4={}){const _0x458694=_0x4555d9;super(_0x536f2b),this[_0x360b6f]=_0x17a7c4[_0x458694(0x338)]===void 0x0?0x0:_0x17a7c4[_0x458694(0x338)],this[_0x1b7763]=_0x17a7c4['reason']===void 0x0?'':_0x17a7c4[_0x458694(0x251)],this[_0x555142]=_0x17a7c4[_0x458694(0x2f0)]===void 0x0?!0x1:_0x17a7c4['wasClean'];}get[_0x4555d9(0x338)](){return this[_0x360b6f];}get[_0x4555d9(0x251)](){return this[_0x1b7763];}get[_0x4555d9(0x2f0)](){return this[_0x555142];}}Object[_0x4555d9(0x2f4)](_0x18a34e['prototype'],_0x4555d9(0x338),{'enumerable':!0x0}),Object['defineProperty'](_0x18a34e[_0x4555d9(0x355)],_0x4555d9(0x251),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x18a34e[_0x4555d9(0x355)],_0x4555d9(0x2f0),{'enumerable':!0x0});class _0x3b6738 extends _0x1e1abb{constructor(_0x5dda8e,_0x8d861={}){const _0x24b520=_0x4555d9;super(_0x5dda8e),this[_0x5cf394]=_0x8d861[_0x24b520(0x234)]===void 0x0?null:_0x8d861[_0x24b520(0x234)],this[_0x5c0021]=_0x8d861[_0x24b520(0x28a)]===void 0x0?'':_0x8d861['message'];}get['error'](){return this[_0x5cf394];}get[_0x4555d9(0x28a)](){return this[_0x5c0021];}}Object['defineProperty'](_0x3b6738[_0x4555d9(0x355)],_0x4555d9(0x234),{'enumerable':!0x0}),Object[_0x4555d9(0x2f4)](_0x3b6738[_0x4555d9(0x355)],_0x4555d9(0x28a),{'enumerable':!0x0});class _0x4d95af extends _0x1e1abb{constructor(_0x495671,_0x271abb={}){const _0x56afe5=_0x4555d9;super(_0x495671),this[_0x1b0be0]=_0x271abb[_0x56afe5(0x1dd)]===void 0x0?null:_0x271abb['data'];}get[_0x4555d9(0x1dd)](){return this[_0x1b0be0];}}Object[_0x4555d9(0x2f4)](_0x4d95af[_0x4555d9(0x355)],_0x4555d9(0x1dd),{'enumerable':!0x0}),xe={'CloseEvent':_0x18a34e,'ErrorEvent':_0x3b6738,'Event':_0x1e1abb,'EventTarget':{'addEventListener'(_0x254e26,_0x4107cc,_0x3361c5={}){const _0xe0f72=_0x4555d9;for(const _0x18cb70 of this[_0xe0f72(0x36b)](_0x254e26))if(!_0x3361c5[_0x2e3446]&&_0x18cb70[_0x5b8ec7]===_0x4107cc&&!_0x18cb70[_0x2e3446])return;let _0xc50408;if(_0x254e26==='message')_0xc50408=function(_0x10bd46,_0x2f8784){const _0x32b8d7=_0xe0f72,_0x59b2c6=new _0x4d95af(_0x32b8d7(0x28a),{'data':_0x2f8784?_0x10bd46:_0x10bd46[_0x32b8d7(0x2fd)]()});_0x59b2c6[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x59b2c6);};else{if(_0x254e26===_0xe0f72(0x1d0))_0xc50408=function(_0x31164d,_0x90b9c7){const _0x4e042d=_0xe0f72,_0x3c6156=new _0x18a34e(_0x4e042d(0x1d0),{'code':_0x31164d,'reason':_0x90b9c7['toString'](),'wasClean':this[_0x4e042d(0x1df)]&&this[_0x4e042d(0x1c1)]});_0x3c6156[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x3c6156);};else{if(_0x254e26===_0xe0f72(0x234))_0xc50408=function(_0x365132){const _0x5aacfc=_0xe0f72,_0x24e45a=new _0x3b6738('error',{'error':_0x365132,'message':_0x365132[_0x5aacfc(0x28a)]});_0x24e45a[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x24e45a);};else{if(_0x254e26===_0xe0f72(0x250))_0xc50408=function(){const _0x1ad01f=_0xe0f72,_0x491c58=new _0x1e1abb(_0x1ad01f(0x250));_0x491c58[_0x12ec3f]=this,_0x5da48c(_0x4107cc,this,_0x491c58);};else return;}}}_0xc50408[_0x2e3446]=!!_0x3361c5[_0x2e3446],_0xc50408[_0x5b8ec7]=_0x4107cc,_0x3361c5['once']?this[_0xe0f72(0x24b)](_0x254e26,_0xc50408):this['on'](_0x254e26,_0xc50408);},'removeEventListener'(_0x450786,_0x5cefa5){const _0x140be4=_0x4555d9;for(const _0x3c8c27 of this[_0x140be4(0x36b)](_0x450786))if(_0x3c8c27[_0x5b8ec7]===_0x5cefa5&&!_0x3c8c27[_0x2e3446]){this[_0x140be4(0x1db)](_0x450786,_0x3c8c27);break;}}},'MessageEvent':_0x4d95af};function _0x5da48c(_0x145765,_0x1266e0,_0x468a89){const _0x173866=_0x4555d9;typeof _0x145765=='object'&&_0x145765[_0x173866(0x25c)]?_0x145765[_0x173866(0x25c)]['call'](_0x145765,_0x468a89):_0x145765['call'](_0x1266e0,_0x468a89);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x44bce3}=ne();function _0x38f3d8(_0x2dbc7d,_0x4fd7cd,_0x57d4f7){const _0x21f5d0=_0x43e6;_0x2dbc7d[_0x4fd7cd]===void 0x0?_0x2dbc7d[_0x4fd7cd]=[_0x57d4f7]:_0x2dbc7d[_0x4fd7cd][_0x21f5d0(0x35e)](_0x57d4f7);}function _0x3699ad(_0x5e708c){const _0x21e73d=_0x43e6,_0x29e293=Object['create'](null);let _0x59c325=Object[_0x21e73d(0x20e)](null),_0xacafa9=!0x1,_0x1763d5=!0x1,_0x1d1a8a=!0x1,_0x29ba6e,_0x1186bf,_0x461a92=-0x1,_0x2d1583=-0x1,_0x271ff7=-0x1,_0x417cf5=0x0;for(;_0x417cf5<_0x5e708c[_0x21e73d(0x2a1)];_0x417cf5++)if(_0x2d1583=_0x5e708c[_0x21e73d(0x362)](_0x417cf5),_0x29ba6e===void 0x0){if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x417cf5!==0x0&&(_0x2d1583===0x20||_0x2d1583===0x9))_0x271ff7===-0x1&&_0x461a92!==-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);const _0x1f9e43=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7);_0x2d1583===0x2c?(_0x38f3d8(_0x29e293,_0x1f9e43,_0x59c325),_0x59c325=Object['create'](null)):_0x29ba6e=_0x1f9e43,_0x461a92=_0x271ff7=-0x1;}else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}else{if(_0x1186bf===void 0x0){if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x2d1583===0x20||_0x2d1583===0x9)_0x271ff7===-0x1&&_0x461a92!==-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5),_0x38f3d8(_0x59c325,_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7),!0x0),_0x2d1583===0x2c&&(_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325),_0x59c325=Object[_0x21e73d(0x20e)](null),_0x29ba6e=void 0x0),_0x461a92=_0x271ff7=-0x1;}else{if(_0x2d1583===0x3d&&_0x461a92!==-0x1&&_0x271ff7===-0x1)_0x1186bf=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x417cf5),_0x461a92=_0x271ff7=-0x1;else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}}else{if(_0x1763d5){if(_0x44bce3[_0x2d1583]!==0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x461a92===-0x1?_0x461a92=_0x417cf5:_0xacafa9||(_0xacafa9=!0x0),_0x1763d5=!0x1;}else{if(_0x1d1a8a){if(_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x2d1583===0x22&&_0x461a92!==-0x1)_0x1d1a8a=!0x1,_0x271ff7=_0x417cf5;else{if(_0x2d1583===0x5c)_0x1763d5=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x417cf5);}}}else{if(_0x2d1583===0x22&&_0x5e708c['charCodeAt'](_0x417cf5-0x1)===0x3d)_0x1d1a8a=!0x0;else{if(_0x271ff7===-0x1&&_0x44bce3[_0x2d1583]===0x1)_0x461a92===-0x1&&(_0x461a92=_0x417cf5);else{if(_0x461a92!==-0x1&&(_0x2d1583===0x20||_0x2d1583===0x9))_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);else{if(_0x2d1583===0x3b||_0x2d1583===0x2c){if(_0x461a92===-0x1)throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);let _0x56e6c3=_0x5e708c['slice'](_0x461a92,_0x271ff7);_0xacafa9&&(_0x56e6c3=_0x56e6c3[_0x21e73d(0x222)](/\\/g,''),_0xacafa9=!0x1),_0x38f3d8(_0x59c325,_0x1186bf,_0x56e6c3),_0x2d1583===0x2c&&(_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325),_0x59c325=Object['create'](null),_0x29ba6e=void 0x0),_0x1186bf=void 0x0,_0x461a92=_0x271ff7=-0x1;}else throw new SyntaxError(_0x21e73d(0x349)+_0x417cf5);}}}}}}}if(_0x461a92===-0x1||_0x1d1a8a||_0x2d1583===0x20||_0x2d1583===0x9)throw new SyntaxError(_0x21e73d(0x291));_0x271ff7===-0x1&&(_0x271ff7=_0x417cf5);const _0x266d18=_0x5e708c[_0x21e73d(0x34e)](_0x461a92,_0x271ff7);return _0x29ba6e===void 0x0?_0x38f3d8(_0x29e293,_0x266d18,_0x59c325):(_0x1186bf===void 0x0?_0x38f3d8(_0x59c325,_0x266d18,!0x0):_0xacafa9?_0x38f3d8(_0x59c325,_0x1186bf,_0x266d18[_0x21e73d(0x222)](/\\/g,'')):_0x38f3d8(_0x59c325,_0x1186bf,_0x266d18),_0x38f3d8(_0x29e293,_0x29ba6e,_0x59c325)),_0x29e293;}function _0x21624a(_0x5b89ec){const _0x43dd33=_0x43e6;return Object['keys'](_0x5b89ec)[_0x43dd33(0x2c1)](_0x5ab247=>{const _0x5a1b57=_0x43dd33;let _0x4bff2e=_0x5b89ec[_0x5ab247];return Array[_0x5a1b57(0x301)](_0x4bff2e)||(_0x4bff2e=[_0x4bff2e]),_0x4bff2e[_0x5a1b57(0x2c1)](_0x3dbded=>[_0x5ab247][_0x5a1b57(0x366)](Object['keys'](_0x3dbded)['map'](_0x292207=>{const _0x463622=_0x5a1b57;let _0x59a5e5=_0x3dbded[_0x292207];return Array['isArray'](_0x59a5e5)||(_0x59a5e5=[_0x59a5e5]),_0x59a5e5[_0x463622(0x2c1)](_0x2323ac=>_0x2323ac===!0x0?_0x292207:_0x292207+'='+_0x2323ac)[_0x463622(0x2d6)](';\x20');}))[_0x5a1b57(0x2d6)](';\x20'))[_0x5a1b57(0x2d6)](',\x20');})[_0x43dd33(0x2d6)](',\x20');}return be={'format':_0x21624a,'parse':_0x3699ad},be;}var we,st;function Ie(){const _0x483c32=_0x2a4dc6;if(st)return we;st=0x1;const _0x3f82c8=_0x1ddafa,_0x11bb89=_0x55267a,_0x45b0ae=_0x2b8417,_0x181bb6=_0x1f99e9,_0x382960=_0x254774,{randomBytes:_0x54d2b2,createHash:_0x5ce734}=_0x8054d,{Duplex:_0x3d4408,Readable:_0x2ba4c5}=_0xd79b6f,{URL:_0x441d20}=_0xbebf65,_0x1efef8=he(),_0x2b3cf0=dt(),_0x4593a5=_t(),{isBlob:_0xff996e}=ne(),{BINARY_TYPES:_0x58b7eb,EMPTY_BUFFER:_0x2c5aec,GUID:_0x24d21e,kForOnEventAttribute:_0x171cba,kListener:_0x3ff8e1,kStatusCode:_0xac719b,kWebSocket:_0x362ad4,NOOP:_0x1a49da}=V(),{EventTarget:{addEventListener:_0x445db6,removeEventListener:_0x22da9f}}=Kt(),{format:_0x301d1f,parse:_0x592f34}=pt(),{toBuffer:_0x25807e}=ce(),_0x2f7ee5=0x1e*0x3e8,_0x4370e7=Symbol('kAborted'),_0x5d2816=[0x8,0xd],_0x2c88d2=[_0x483c32(0x271),_0x483c32(0x2cc),'CLOSING',_0x483c32(0x274)],_0x1c2a4b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xc9db8c extends _0x3f82c8{constructor(_0x3d33f3,_0x2eae86,_0x307dcc){const _0x37ec07=_0x483c32;super(),this[_0x37ec07(0x364)]=_0x58b7eb[0x0],this[_0x37ec07(0x2e2)]=0x3ee,this[_0x37ec07(0x1df)]=!0x1,this[_0x37ec07(0x1c1)]=!0x1,this[_0x37ec07(0x280)]=_0x2c5aec,this[_0x37ec07(0x342)]=null,this['_errorEmitted']=!0x1,this[_0x37ec07(0x2e0)]={},this['_paused']=!0x1,this[_0x37ec07(0x332)]='',this[_0x37ec07(0x2f7)]=_0xc9db8c[_0x37ec07(0x271)],this[_0x37ec07(0x270)]=null,this[_0x37ec07(0x296)]=null,this['_socket']=null,_0x3d33f3!==null?(this['_bufferedAmount']=0x0,this[_0x37ec07(0x221)]=!0x1,this['_redirects']=0x0,_0x2eae86===void 0x0?_0x2eae86=[]:Array[_0x37ec07(0x301)](_0x2eae86)||(typeof _0x2eae86=='object'&&_0x2eae86!==null?(_0x307dcc=_0x2eae86,_0x2eae86=[]):_0x2eae86=[_0x2eae86]),_0x5040ba(this,_0x3d33f3,_0x2eae86,_0x307dcc)):(this[_0x37ec07(0x2e3)]=_0x307dcc[_0x37ec07(0x2f6)],this[_0x37ec07(0x221)]=!0x0);}get[_0x483c32(0x276)](){const _0x14cb5d=_0x483c32;return this[_0x14cb5d(0x364)];}set['binaryType'](_0x2243cb){const _0x18e672=_0x483c32;_0x58b7eb[_0x18e672(0x217)](_0x2243cb)&&(this['_binaryType']=_0x2243cb,this[_0x18e672(0x270)]&&(this['_receiver']['_binaryType']=_0x2243cb));}get['bufferedAmount'](){const _0x928e8c=_0x483c32;return this[_0x928e8c(0x35c)]?this[_0x928e8c(0x35c)][_0x928e8c(0x29b)][_0x928e8c(0x2a1)]+this[_0x928e8c(0x296)][_0x928e8c(0x1bc)]:this['_bufferedAmount'];}get[_0x483c32(0x2e9)](){const _0x45e822=_0x483c32;return Object[_0x45e822(0x2b0)](this[_0x45e822(0x2e0)])[_0x45e822(0x2d6)]();}get[_0x483c32(0x30b)](){const _0x323fa2=_0x483c32;return this[_0x323fa2(0x28d)];}get[_0x483c32(0x361)](){return null;}get['onerror'](){return null;}get[_0x483c32(0x316)](){return null;}get[_0x483c32(0x2b3)](){return null;}get[_0x483c32(0x351)](){return this['_protocol'];}get[_0x483c32(0x2f1)](){return this['_readyState'];}get[_0x483c32(0x322)](){const _0xe9ec96=_0x483c32;return this[_0xe9ec96(0x1f6)];}[_0x483c32(0x252)](_0x34ea70,_0x57731e,_0xfbb25){const _0x3a99f3=_0x483c32,_0x55504f=new _0x2b3cf0({'allowSynchronousEvents':_0xfbb25[_0x3a99f3(0x1c2)],'binaryType':this[_0x3a99f3(0x276)],'extensions':this[_0x3a99f3(0x2e0)],'isServer':this[_0x3a99f3(0x221)],'maxPayload':_0xfbb25[_0x3a99f3(0x324)],'skipUTF8Validation':_0xfbb25[_0x3a99f3(0x227)]}),_0x37822a=new _0x4593a5(_0x34ea70,this[_0x3a99f3(0x2e0)],_0xfbb25[_0x3a99f3(0x360)]);this[_0x3a99f3(0x270)]=_0x55504f,this['_sender']=_0x37822a,this[_0x3a99f3(0x35c)]=_0x34ea70,_0x55504f[_0x362ad4]=this,_0x37822a[_0x362ad4]=this,_0x34ea70[_0x362ad4]=this,_0x55504f['on'](_0x3a99f3(0x286),_0x4d1af0),_0x55504f['on'](_0x3a99f3(0x2b1),_0x37ee4d),_0x55504f['on'](_0x3a99f3(0x234),_0x192fed),_0x55504f['on'](_0x3a99f3(0x28a),_0x33d517),_0x55504f['on'](_0x3a99f3(0x35d),_0x4aab0b),_0x55504f['on']('pong',_0x30e543),_0x37822a[_0x3a99f3(0x32f)]=_0x6c2074,_0x34ea70['setTimeout']&&_0x34ea70[_0x3a99f3(0x336)](0x0),_0x34ea70[_0x3a99f3(0x285)]&&_0x34ea70['setNoDelay'](),_0x57731e[_0x3a99f3(0x2a1)]>0x0&&_0x34ea70[_0x3a99f3(0x2c7)](_0x57731e),_0x34ea70['on'](_0x3a99f3(0x1d0),_0x4f5047),_0x34ea70['on'](_0x3a99f3(0x1dd),_0x20a207),_0x34ea70['on']('end',_0x2d989e),_0x34ea70['on']('error',_0x2c5119),this['_readyState']=_0xc9db8c[_0x3a99f3(0x2cc)],this[_0x3a99f3(0x20d)](_0x3a99f3(0x250));}[_0x483c32(0x2fb)](){const _0x5884d7=_0x483c32;if(!this[_0x5884d7(0x35c)]){this['_readyState']=_0xc9db8c[_0x5884d7(0x274)],this[_0x5884d7(0x20d)]('close',this[_0x5884d7(0x2e2)],this['_closeMessage']);return;}this['_extensions'][_0x1efef8[_0x5884d7(0x243)]]&&this[_0x5884d7(0x2e0)][_0x1efef8['extensionName']]['cleanup'](),this['_receiver'][_0x5884d7(0x2c0)](),this[_0x5884d7(0x2f7)]=_0xc9db8c['CLOSED'],this[_0x5884d7(0x20d)](_0x5884d7(0x1d0),this[_0x5884d7(0x2e2)],this[_0x5884d7(0x280)]);}[_0x483c32(0x1d0)](_0x5255c2,_0x4e8fa8){const _0x4a753e=_0x483c32;if(this[_0x4a753e(0x2f1)]!==_0xc9db8c[_0x4a753e(0x274)]){if(this[_0x4a753e(0x2f1)]===_0xc9db8c[_0x4a753e(0x271)]){_0x22ac18(this,this[_0x4a753e(0x2ca)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4a753e(0x2f1)]===_0xc9db8c[_0x4a753e(0x2ac)]){this[_0x4a753e(0x1c1)]&&(this[_0x4a753e(0x1df)]||this[_0x4a753e(0x270)][_0x4a753e(0x29b)]['errorEmitted'])&&this[_0x4a753e(0x35c)]['end']();return;}this[_0x4a753e(0x2f7)]=_0xc9db8c[_0x4a753e(0x2ac)],this[_0x4a753e(0x296)][_0x4a753e(0x1d0)](_0x5255c2,_0x4e8fa8,!this[_0x4a753e(0x221)],_0x5cd05d=>{const _0x5f08f0=_0x4a753e;_0x5cd05d||(this[_0x5f08f0(0x1c1)]=!0x0,(this[_0x5f08f0(0x1df)]||this[_0x5f08f0(0x270)][_0x5f08f0(0x29b)][_0x5f08f0(0x200)])&&this[_0x5f08f0(0x35c)]['end']());}),_0x59814d(this);}}[_0x483c32(0x352)](){const _0x3665e4=_0x483c32;this[_0x3665e4(0x2f1)]===_0xc9db8c[_0x3665e4(0x271)]||this[_0x3665e4(0x2f1)]===_0xc9db8c[_0x3665e4(0x274)]||(this['_paused']=!0x0,this[_0x3665e4(0x35c)]['pause']());}[_0x483c32(0x35d)](_0x1b05cf,_0x1b2bf5,_0x3661a5){const _0x29378a=_0x483c32;if(this[_0x29378a(0x2f1)]===_0xc9db8c[_0x29378a(0x271)])throw new Error(_0x29378a(0x343));if(typeof _0x1b05cf=='function'?(_0x3661a5=_0x1b05cf,_0x1b05cf=_0x1b2bf5=void 0x0):typeof _0x1b2bf5=='function'&&(_0x3661a5=_0x1b2bf5,_0x1b2bf5=void 0x0),typeof _0x1b05cf==_0x29378a(0x2ff)&&(_0x1b05cf=_0x1b05cf['toString']()),this['readyState']!==_0xc9db8c['OPEN']){_0x57e7b3(this,_0x1b05cf,_0x3661a5);return;}_0x1b2bf5===void 0x0&&(_0x1b2bf5=!this['_isServer']),this[_0x29378a(0x296)][_0x29378a(0x35d)](_0x1b05cf||_0x2c5aec,_0x1b2bf5,_0x3661a5);}[_0x483c32(0x2f5)](_0xa41f76,_0x2177b1,_0x3b1071){const _0x5dda05=_0x483c32;if(this[_0x5dda05(0x2f1)]===_0xc9db8c['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xa41f76==_0x5dda05(0x269)?(_0x3b1071=_0xa41f76,_0xa41f76=_0x2177b1=void 0x0):typeof _0x2177b1=='function'&&(_0x3b1071=_0x2177b1,_0x2177b1=void 0x0),typeof _0xa41f76==_0x5dda05(0x2ff)&&(_0xa41f76=_0xa41f76[_0x5dda05(0x2fd)]()),this[_0x5dda05(0x2f1)]!==_0xc9db8c[_0x5dda05(0x2cc)]){_0x57e7b3(this,_0xa41f76,_0x3b1071);return;}_0x2177b1===void 0x0&&(_0x2177b1=!this[_0x5dda05(0x221)]),this[_0x5dda05(0x296)]['pong'](_0xa41f76||_0x2c5aec,_0x2177b1,_0x3b1071);}['resume'](){const _0x599664=_0x483c32;this[_0x599664(0x2f1)]===_0xc9db8c['CONNECTING']||this[_0x599664(0x2f1)]===_0xc9db8c[_0x599664(0x274)]||(this['_paused']=!0x1,this['_receiver'][_0x599664(0x29b)]['needDrain']||this[_0x599664(0x35c)]['resume']());}[_0x483c32(0x22b)](_0x1c4a7b,_0x544e88,_0x4c3b3e){const _0x5005ee=_0x483c32;if(this[_0x5005ee(0x2f1)]===_0xc9db8c['CONNECTING'])throw new Error(_0x5005ee(0x343));if(typeof _0x544e88==_0x5005ee(0x269)&&(_0x4c3b3e=_0x544e88,_0x544e88={}),typeof _0x1c4a7b==_0x5005ee(0x2ff)&&(_0x1c4a7b=_0x1c4a7b[_0x5005ee(0x2fd)]()),this['readyState']!==_0xc9db8c[_0x5005ee(0x2cc)]){_0x57e7b3(this,_0x1c4a7b,_0x4c3b3e);return;}const _0x59739c={'binary':typeof _0x1c4a7b!=_0x5005ee(0x2d7),'mask':!this[_0x5005ee(0x221)],'compress':!0x0,'fin':!0x0,..._0x544e88};this[_0x5005ee(0x2e0)][_0x1efef8['extensionName']]||(_0x59739c[_0x5005ee(0x1d8)]=!0x1),this[_0x5005ee(0x296)][_0x5005ee(0x22b)](_0x1c4a7b||_0x2c5aec,_0x59739c,_0x4c3b3e);}[_0x483c32(0x244)](){const _0x59c6c9=_0x483c32;if(this[_0x59c6c9(0x2f1)]!==_0xc9db8c[_0x59c6c9(0x274)]){if(this['readyState']===_0xc9db8c['CONNECTING']){_0x22ac18(this,this[_0x59c6c9(0x2ca)],_0x59c6c9(0x2a6));return;}this['_socket']&&(this[_0x59c6c9(0x2f7)]=_0xc9db8c[_0x59c6c9(0x2ac)],this[_0x59c6c9(0x35c)][_0x59c6c9(0x2cd)]());}}}Object[_0x483c32(0x2f4)](_0xc9db8c,_0x483c32(0x271),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x271))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x271),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x271))}),Object['defineProperty'](_0xc9db8c,_0x483c32(0x2cc),{'enumerable':!0x0,'value':_0x2c88d2['indexOf'](_0x483c32(0x2cc))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x2cc),{'enumerable':!0x0,'value':_0x2c88d2['indexOf'](_0x483c32(0x2cc))}),Object['defineProperty'](_0xc9db8c,_0x483c32(0x2ac),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x2ac))}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],_0x483c32(0x2ac),{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)]('CLOSING')}),Object[_0x483c32(0x2f4)](_0xc9db8c,'CLOSED',{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)]('CLOSED')}),Object[_0x483c32(0x2f4)](_0xc9db8c[_0x483c32(0x355)],'CLOSED',{'enumerable':!0x0,'value':_0x2c88d2[_0x483c32(0x2bc)](_0x483c32(0x274))}),[_0x483c32(0x276),_0x483c32(0x2a2),_0x483c32(0x2e9),'isPaused','protocol',_0x483c32(0x2f1),_0x483c32(0x322)][_0x483c32(0x1bd)](_0x45a89b=>{Object['defineProperty'](_0xc9db8c['prototype'],_0x45a89b,{'enumerable':!0x0});}),[_0x483c32(0x250),_0x483c32(0x234),_0x483c32(0x1d0),_0x483c32(0x28a)]['forEach'](_0x5dbd5b=>{const _0x570939=_0x483c32;Object[_0x570939(0x2f4)](_0xc9db8c[_0x570939(0x355)],'on'+_0x5dbd5b,{'enumerable':!0x0,'get'(){const _0x4d2602=_0x570939;for(const _0xc159f1 of this[_0x4d2602(0x36b)](_0x5dbd5b))if(_0xc159f1[_0x171cba])return _0xc159f1[_0x3ff8e1];return null;},'set'(_0x36ae81){const _0x686ee3=_0x570939;for(const _0x43ea6f of this['listeners'](_0x5dbd5b))if(_0x43ea6f[_0x171cba]){this[_0x686ee3(0x1db)](_0x5dbd5b,_0x43ea6f);break;}typeof _0x36ae81==_0x686ee3(0x269)&&this[_0x686ee3(0x294)](_0x5dbd5b,_0x36ae81,{[_0x171cba]:!0x0});}});}),_0xc9db8c['prototype'][_0x483c32(0x294)]=_0x445db6,_0xc9db8c[_0x483c32(0x355)]['removeEventListener']=_0x22da9f,we=_0xc9db8c;function _0x5040ba(_0x18c35f,_0x50ff71,_0x3d32d3,_0x392a8a){const _0x4136ec=_0x483c32,_0x2398e8={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5d2816[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x392a8a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x18c35f['_autoPong']=_0x2398e8[_0x4136ec(0x2f6)],!_0x5d2816['includes'](_0x2398e8[_0x4136ec(0x259)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2398e8[_0x4136ec(0x259)]+_0x4136ec(0x330)+_0x5d2816['join'](',\x20')+')');let _0x369d3a;if(_0x50ff71 instanceof _0x441d20)_0x369d3a=_0x50ff71;else try{_0x369d3a=new _0x441d20(_0x50ff71);}catch{throw new SyntaxError(_0x4136ec(0x30a)+_0x50ff71);}_0x369d3a[_0x4136ec(0x351)]==='http:'?_0x369d3a[_0x4136ec(0x351)]=_0x4136ec(0x27d):_0x369d3a[_0x4136ec(0x351)]===_0x4136ec(0x26c)&&(_0x369d3a[_0x4136ec(0x351)]=_0x4136ec(0x223)),_0x18c35f[_0x4136ec(0x1f6)]=_0x369d3a[_0x4136ec(0x33e)];const _0x24b421=_0x369d3a['protocol']===_0x4136ec(0x223),_0x330c08=_0x369d3a[_0x4136ec(0x351)]===_0x4136ec(0x334);let _0x5bd28e;if(_0x369d3a[_0x4136ec(0x351)]!=='ws:'&&!_0x24b421&&!_0x330c08?_0x5bd28e='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':_0x330c08&&!_0x369d3a[_0x4136ec(0x218)]?_0x5bd28e=_0x4136ec(0x328):_0x369d3a[_0x4136ec(0x26a)]&&(_0x5bd28e=_0x4136ec(0x31e)),_0x5bd28e){const _0x531768=new SyntaxError(_0x5bd28e);if(_0x18c35f[_0x4136ec(0x1e1)]===0x0)throw _0x531768;_0x526d04(_0x18c35f,_0x531768);return;}const _0x3bfb8b=_0x24b421?0x1bb:0x50,_0x108b91=_0x54d2b2(0x10)[_0x4136ec(0x2fd)](_0x4136ec(0x2d5)),_0x17f949=_0x24b421?_0x11bb89[_0x4136ec(0x232)]:_0x45b0ae[_0x4136ec(0x232)],_0x4492ac=new Set();let _0x331b03;if(_0x2398e8['createConnection']=_0x2398e8['createConnection']||(_0x24b421?_0xfa5e84:_0x29e428),_0x2398e8['defaultPort']=_0x2398e8['defaultPort']||_0x3bfb8b,_0x2398e8[_0x4136ec(0x275)]=_0x369d3a['port']||_0x3bfb8b,_0x2398e8[_0x4136ec(0x1f1)]=_0x369d3a[_0x4136ec(0x284)][_0x4136ec(0x245)]('[')?_0x369d3a[_0x4136ec(0x284)][_0x4136ec(0x34e)](0x1,-0x1):_0x369d3a[_0x4136ec(0x284)],_0x2398e8[_0x4136ec(0x2e7)]={..._0x2398e8[_0x4136ec(0x2e7)],'Sec-WebSocket-Version':_0x2398e8[_0x4136ec(0x259)],'Sec-WebSocket-Key':_0x108b91,'Connection':'Upgrade','Upgrade':_0x4136ec(0x205)},_0x2398e8[_0x4136ec(0x236)]=_0x369d3a[_0x4136ec(0x218)]+_0x369d3a['search'],_0x2398e8[_0x4136ec(0x30f)]=_0x2398e8[_0x4136ec(0x344)],_0x2398e8[_0x4136ec(0x1ce)]&&(_0x331b03=new _0x1efef8(_0x2398e8[_0x4136ec(0x1ce)]!==!0x0?_0x2398e8[_0x4136ec(0x1ce)]:{},!0x1,_0x2398e8[_0x4136ec(0x324)]),_0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x235)]=_0x301d1f({[_0x1efef8[_0x4136ec(0x243)]]:_0x331b03['offer']()})),_0x3d32d3[_0x4136ec(0x2a1)]){for(const _0x3dc224 of _0x3d32d3){if(typeof _0x3dc224!=_0x4136ec(0x2d7)||!_0x1c2a4b[_0x4136ec(0x2ed)](_0x3dc224)||_0x4492ac['has'](_0x3dc224))throw new SyntaxError(_0x4136ec(0x313));_0x4492ac[_0x4136ec(0x213)](_0x3dc224);}_0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x1cd)]=_0x3d32d3['join'](',');}if(_0x2398e8[_0x4136ec(0x345)]&&(_0x2398e8[_0x4136ec(0x259)]<0xd?_0x2398e8[_0x4136ec(0x2e7)]['Sec-WebSocket-Origin']=_0x2398e8[_0x4136ec(0x345)]:_0x2398e8['headers']['Origin']=_0x2398e8['origin']),(_0x369d3a[_0x4136ec(0x290)]||_0x369d3a[_0x4136ec(0x2ea)])&&(_0x2398e8[_0x4136ec(0x27c)]=_0x369d3a[_0x4136ec(0x290)]+':'+_0x369d3a[_0x4136ec(0x2ea)]),_0x330c08){const _0x487a1f=_0x2398e8[_0x4136ec(0x236)]['split'](':');_0x2398e8[_0x4136ec(0x1ef)]=_0x487a1f[0x0],_0x2398e8['path']=_0x487a1f[0x1];}let _0x55319d;if(_0x2398e8['followRedirects']){if(_0x18c35f[_0x4136ec(0x1e1)]===0x0){_0x18c35f[_0x4136ec(0x2aa)]=_0x330c08,_0x18c35f['_originalSecure']=_0x24b421,_0x18c35f[_0x4136ec(0x28c)]=_0x330c08?_0x2398e8[_0x4136ec(0x1ef)]:_0x369d3a[_0x4136ec(0x1f1)];const _0x56d1d5=_0x392a8a&&_0x392a8a[_0x4136ec(0x2e7)];if(_0x392a8a={..._0x392a8a,'headers':{}},_0x56d1d5){for(const [_0x4f2910,_0x24c2ce]of Object['entries'](_0x56d1d5))_0x392a8a[_0x4136ec(0x2e7)][_0x4f2910[_0x4136ec(0x2b6)]()]=_0x24c2ce;}}else{if(_0x18c35f[_0x4136ec(0x292)](_0x4136ec(0x22f))===0x0){const _0x40ba71=_0x330c08?_0x18c35f['_originalIpc']?_0x2398e8['socketPath']===_0x18c35f[_0x4136ec(0x28c)]:!0x1:_0x18c35f[_0x4136ec(0x2aa)]?!0x1:_0x369d3a[_0x4136ec(0x1f1)]===_0x18c35f[_0x4136ec(0x28c)];(!_0x40ba71||_0x18c35f[_0x4136ec(0x249)]&&!_0x24b421)&&(delete _0x2398e8['headers']['authorization'],delete _0x2398e8['headers'][_0x4136ec(0x2d1)],_0x40ba71||delete _0x2398e8[_0x4136ec(0x2e7)][_0x4136ec(0x1f1)],_0x2398e8[_0x4136ec(0x27c)]=void 0x0);}}_0x2398e8[_0x4136ec(0x27c)]&&!_0x392a8a[_0x4136ec(0x2e7)][_0x4136ec(0x30c)]&&(_0x392a8a['headers'][_0x4136ec(0x30c)]=_0x4136ec(0x2e5)+Buffer[_0x4136ec(0x2a8)](_0x2398e8['auth'])[_0x4136ec(0x2fd)]('base64')),_0x55319d=_0x18c35f['_req']=_0x17f949(_0x2398e8),_0x18c35f[_0x4136ec(0x1e1)]&&_0x18c35f[_0x4136ec(0x20d)](_0x4136ec(0x22f),_0x18c35f[_0x4136ec(0x322)],_0x55319d);}else _0x55319d=_0x18c35f[_0x4136ec(0x2ca)]=_0x17f949(_0x2398e8);_0x2398e8['timeout']&&_0x55319d['on']('timeout',()=>{const _0x4b3911=_0x4136ec;_0x22ac18(_0x18c35f,_0x55319d,_0x4b3911(0x29d));}),_0x55319d['on'](_0x4136ec(0x234),_0x148a50=>{const _0x26b5a4=_0x4136ec;_0x55319d===null||_0x55319d[_0x4370e7]||(_0x55319d=_0x18c35f[_0x26b5a4(0x2ca)]=null,_0x526d04(_0x18c35f,_0x148a50));}),_0x55319d['on'](_0x4136ec(0x23b),_0x3fa4b9=>{const _0x40d3bb=_0x4136ec,_0x555088=_0x3fa4b9[_0x40d3bb(0x2e7)][_0x40d3bb(0x1de)],_0x20d9c8=_0x3fa4b9[_0x40d3bb(0x293)];if(_0x555088&&_0x2398e8[_0x40d3bb(0x2be)]&&_0x20d9c8>=0x12c&&_0x20d9c8<0x190){if(++_0x18c35f[_0x40d3bb(0x1e1)]>_0x2398e8['maxRedirects']){_0x22ac18(_0x18c35f,_0x55319d,_0x40d3bb(0x2b8));return;}_0x55319d['abort']();let _0xae8c90;try{_0xae8c90=new _0x441d20(_0x555088,_0x50ff71);}catch{const _0x496b2d=new SyntaxError(_0x40d3bb(0x30a)+_0x555088);_0x526d04(_0x18c35f,_0x496b2d);return;}_0x5040ba(_0x18c35f,_0xae8c90,_0x3d32d3,_0x392a8a);}else _0x18c35f[_0x40d3bb(0x20d)](_0x40d3bb(0x21c),_0x55319d,_0x3fa4b9)||_0x22ac18(_0x18c35f,_0x55319d,'Unexpected\x20server\x20response:\x20'+_0x3fa4b9[_0x40d3bb(0x293)]);}),_0x55319d['on'](_0x4136ec(0x21d),(_0x308c92,_0x5bd863,_0x4f5dc2)=>{const _0x8c502d=_0x4136ec;if(_0x18c35f[_0x8c502d(0x20d)](_0x8c502d(0x21d),_0x308c92),_0x18c35f[_0x8c502d(0x2f1)]!==_0xc9db8c['CONNECTING'])return;_0x55319d=_0x18c35f[_0x8c502d(0x2ca)]=null;const _0x5d9776=_0x308c92['headers'][_0x8c502d(0x21d)];if(_0x5d9776===void 0x0||_0x5d9776[_0x8c502d(0x2b6)]()!=='websocket'){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x329));return;}const _0x4dac5d=_0x5ce734(_0x8c502d(0x258))[_0x8c502d(0x1ba)](_0x108b91+_0x24d21e)[_0x8c502d(0x26d)](_0x8c502d(0x2d5));if(_0x308c92['headers']['sec-websocket-accept']!==_0x4dac5d){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x2a7));return;}const _0x5b9d91=_0x308c92[_0x8c502d(0x2e7)][_0x8c502d(0x2a5)];let _0x44a4e7;if(_0x5b9d91!==void 0x0?_0x4492ac[_0x8c502d(0x1e4)]?_0x4492ac[_0x8c502d(0x1d4)](_0x5b9d91)||(_0x44a4e7=_0x8c502d(0x327)):_0x44a4e7=_0x8c502d(0x254):_0x4492ac[_0x8c502d(0x1e4)]&&(_0x44a4e7='Server\x20sent\x20no\x20subprotocol'),_0x44a4e7){_0x22ac18(_0x18c35f,_0x5bd863,_0x44a4e7);return;}_0x5b9d91&&(_0x18c35f[_0x8c502d(0x332)]=_0x5b9d91);const _0x4cbff8=_0x308c92['headers'][_0x8c502d(0x315)];if(_0x4cbff8!==void 0x0){if(!_0x331b03){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x1d9));return;}let _0x1aee3c;try{_0x1aee3c=_0x592f34(_0x4cbff8);}catch{_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x226));return;}const _0x2a40d9=Object[_0x8c502d(0x2b0)](_0x1aee3c);if(_0x2a40d9[_0x8c502d(0x2a1)]!==0x1||_0x2a40d9[0x0]!==_0x1efef8[_0x8c502d(0x243)]){_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x27f));return;}try{_0x331b03['accept'](_0x1aee3c[_0x1efef8['extensionName']]);}catch{_0x22ac18(_0x18c35f,_0x5bd863,_0x8c502d(0x226));return;}_0x18c35f['_extensions'][_0x1efef8[_0x8c502d(0x243)]]=_0x331b03;}_0x18c35f[_0x8c502d(0x252)](_0x5bd863,_0x4f5dc2,{'allowSynchronousEvents':_0x2398e8[_0x8c502d(0x1c2)],'generateMask':_0x2398e8[_0x8c502d(0x360)],'maxPayload':_0x2398e8[_0x8c502d(0x324)],'skipUTF8Validation':_0x2398e8[_0x8c502d(0x227)]});}),_0x2398e8['finishRequest']?_0x2398e8[_0x4136ec(0x1b8)](_0x55319d,_0x18c35f):_0x55319d[_0x4136ec(0x209)]();}function _0x526d04(_0x154f78,_0x316784){const _0x388757=_0x483c32;_0x154f78[_0x388757(0x2f7)]=_0xc9db8c[_0x388757(0x2ac)],_0x154f78[_0x388757(0x220)]=!0x0,_0x154f78['emit'](_0x388757(0x234),_0x316784),_0x154f78['emitClose']();}function _0x29e428(_0x571030){const _0x13f1c8=_0x483c32;return _0x571030['path']=_0x571030[_0x13f1c8(0x1ef)],_0x181bb6[_0x13f1c8(0x323)](_0x571030);}function _0xfa5e84(_0x595c63){const _0x27d576=_0x483c32;return _0x595c63[_0x27d576(0x236)]=void 0x0,!_0x595c63['servername']&&_0x595c63[_0x27d576(0x2b5)]!==''&&(_0x595c63[_0x27d576(0x2b5)]=_0x181bb6[_0x27d576(0x335)](_0x595c63[_0x27d576(0x1f1)])?'':_0x595c63['host']),_0x382960[_0x27d576(0x323)](_0x595c63);}function _0x22ac18(_0x30512a,_0x1d8493,_0x255252){const _0x6ff121=_0x483c32;_0x30512a['_readyState']=_0xc9db8c[_0x6ff121(0x2ac)];const _0x35d641=new Error(_0x255252);Error[_0x6ff121(0x32b)](_0x35d641,_0x22ac18),_0x1d8493[_0x6ff121(0x255)]?(_0x1d8493[_0x4370e7]=!0x0,_0x1d8493['abort'](),_0x1d8493[_0x6ff121(0x33c)]&&!_0x1d8493['socket'][_0x6ff121(0x356)]&&_0x1d8493[_0x6ff121(0x33c)][_0x6ff121(0x2cd)](),process['nextTick'](_0x526d04,_0x30512a,_0x35d641)):(_0x1d8493[_0x6ff121(0x2cd)](_0x35d641),_0x1d8493[_0x6ff121(0x24b)]('error',_0x30512a[_0x6ff121(0x20d)][_0x6ff121(0x24c)](_0x30512a,_0x6ff121(0x234))),_0x1d8493[_0x6ff121(0x24b)](_0x6ff121(0x1d0),_0x30512a[_0x6ff121(0x2fb)][_0x6ff121(0x24c)](_0x30512a)));}function _0x57e7b3(_0x16e50b,_0x51ae6c,_0x1584ea){const _0x3ba88d=_0x483c32;if(_0x51ae6c){const _0x25abd8=_0xff996e(_0x51ae6c)?_0x51ae6c[_0x3ba88d(0x1e4)]:_0x25807e(_0x51ae6c)['length'];_0x16e50b[_0x3ba88d(0x35c)]?_0x16e50b[_0x3ba88d(0x296)][_0x3ba88d(0x1bc)]+=_0x25abd8:_0x16e50b[_0x3ba88d(0x317)]+=_0x25abd8;}if(_0x1584ea){const _0x1e9105=new Error(_0x3ba88d(0x288)+_0x16e50b['readyState']+'\x20('+_0x2c88d2[_0x16e50b['readyState']]+')');process['nextTick'](_0x1584ea,_0x1e9105);}}function _0x4d1af0(_0x21bd7c,_0x44ca08){const _0x48ee26=_0x483c32,_0x592c45=this[_0x362ad4];_0x592c45[_0x48ee26(0x1df)]=!0x0,_0x592c45[_0x48ee26(0x280)]=_0x44ca08,_0x592c45[_0x48ee26(0x2e2)]=_0x21bd7c,_0x592c45[_0x48ee26(0x35c)][_0x362ad4]!==void 0x0&&(_0x592c45[_0x48ee26(0x35c)][_0x48ee26(0x1db)](_0x48ee26(0x1dd),_0x20a207),process[_0x48ee26(0x1fa)](_0x4f9ea2,_0x592c45[_0x48ee26(0x35c)]),_0x21bd7c===0x3ed?_0x592c45[_0x48ee26(0x1d0)]():_0x592c45['close'](_0x21bd7c,_0x44ca08));}function _0x37ee4d(){const _0x550900=_0x483c32,_0x509310=this[_0x362ad4];_0x509310[_0x550900(0x30b)]||_0x509310['_socket'][_0x550900(0x26b)]();}function _0x192fed(_0x1cc8b6){const _0x13c81e=_0x483c32,_0x5702a3=this[_0x362ad4];_0x5702a3[_0x13c81e(0x35c)][_0x362ad4]!==void 0x0&&(_0x5702a3['_socket']['removeListener'](_0x13c81e(0x1dd),_0x20a207),process['nextTick'](_0x4f9ea2,_0x5702a3[_0x13c81e(0x35c)]),_0x5702a3[_0x13c81e(0x1d0)](_0x1cc8b6[_0xac719b])),_0x5702a3[_0x13c81e(0x220)]||(_0x5702a3['_errorEmitted']=!0x0,_0x5702a3[_0x13c81e(0x20d)](_0x13c81e(0x234),_0x1cc8b6));}function _0x573d36(){this[_0x362ad4]['emitClose']();}function _0x33d517(_0xe7691b,_0x68ece9){const _0xf8c372=_0x483c32;this[_0x362ad4][_0xf8c372(0x20d)](_0xf8c372(0x28a),_0xe7691b,_0x68ece9);}function _0x4aab0b(_0x42928f){const _0x59391f=_0x483c32,_0xdff40e=this[_0x362ad4];_0xdff40e[_0x59391f(0x2e3)]&&_0xdff40e['pong'](_0x42928f,!this['_isServer'],_0x1a49da),_0xdff40e[_0x59391f(0x20d)](_0x59391f(0x35d),_0x42928f);}function _0x30e543(_0x158a5b){const _0x4cc66d=_0x483c32;this[_0x362ad4]['emit'](_0x4cc66d(0x2f5),_0x158a5b);}function _0x4f9ea2(_0x2593d8){const _0xcd53b3=_0x483c32;_0x2593d8[_0xcd53b3(0x26b)]();}function _0x6c2074(_0x4c635f){const _0x36d3c1=_0x483c32,_0x249953=this[_0x362ad4];_0x249953[_0x36d3c1(0x2f1)]!==_0xc9db8c[_0x36d3c1(0x274)]&&(_0x249953['readyState']===_0xc9db8c[_0x36d3c1(0x2cc)]&&(_0x249953[_0x36d3c1(0x2f7)]=_0xc9db8c['CLOSING'],_0x59814d(_0x249953)),this['_socket'][_0x36d3c1(0x209)](),_0x249953['_errorEmitted']||(_0x249953[_0x36d3c1(0x220)]=!0x0,_0x249953[_0x36d3c1(0x20d)](_0x36d3c1(0x234),_0x4c635f)));}function _0x59814d(_0x219d98){const _0x577ef8=_0x483c32;_0x219d98[_0x577ef8(0x342)]=setTimeout(_0x219d98['_socket'][_0x577ef8(0x2cd)][_0x577ef8(0x24c)](_0x219d98[_0x577ef8(0x35c)]),_0x2f7ee5);}function _0x4f5047(){const _0x551921=_0x483c32,_0x160917=this[_0x362ad4];this['removeListener'](_0x551921(0x1d0),_0x4f5047),this[_0x551921(0x1db)](_0x551921(0x1dd),_0x20a207),this[_0x551921(0x1db)](_0x551921(0x209),_0x2d989e),_0x160917[_0x551921(0x2f7)]=_0xc9db8c['CLOSING'];let _0x280a35;!this['_readableState'][_0x551921(0x33f)]&&!_0x160917[_0x551921(0x1df)]&&!_0x160917[_0x551921(0x270)][_0x551921(0x29b)][_0x551921(0x200)]&&(_0x280a35=_0x160917['_socket'][_0x551921(0x24a)]())!==null&&_0x160917[_0x551921(0x270)][_0x551921(0x1ea)](_0x280a35),_0x160917[_0x551921(0x270)][_0x551921(0x209)](),this[_0x362ad4]=void 0x0,clearTimeout(_0x160917[_0x551921(0x342)]),_0x160917[_0x551921(0x270)][_0x551921(0x29b)]['finished']||_0x160917[_0x551921(0x270)]['_writableState']['errorEmitted']?_0x160917[_0x551921(0x2fb)]():(_0x160917['_receiver']['on'](_0x551921(0x234),_0x573d36),_0x160917[_0x551921(0x270)]['on'](_0x551921(0x1f9),_0x573d36));}function _0x20a207(_0x3d232c){const _0x53f6c7=_0x483c32;this[_0x362ad4][_0x53f6c7(0x270)]['write'](_0x3d232c)||this[_0x53f6c7(0x352)]();}function _0x2d989e(){const _0x9fc8e7=_0x483c32,_0x1cfb1e=this[_0x362ad4];_0x1cfb1e[_0x9fc8e7(0x2f7)]=_0xc9db8c['CLOSING'],_0x1cfb1e[_0x9fc8e7(0x270)][_0x9fc8e7(0x209)](),this[_0x9fc8e7(0x209)]();}function _0x2c5119(){const _0xc5eeeb=_0x483c32,_0x29f7ea=this[_0x362ad4];this[_0xc5eeeb(0x1db)]('error',_0x2c5119),this['on'](_0xc5eeeb(0x234),_0x1a49da),_0x29f7ea&&(_0x29f7ea[_0xc5eeeb(0x2f7)]=_0xc9db8c[_0xc5eeeb(0x2ac)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2098d2}=_0xd79b6f;function _0xea90e9(_0x35bf01){const _0x11d0ba=_0x43e6;_0x35bf01[_0x11d0ba(0x20d)](_0x11d0ba(0x1d0));}function _0x541095(){const _0x240778=_0x43e6;!this[_0x240778(0x356)]&&this[_0x240778(0x29b)]['finished']&&this[_0x240778(0x2cd)]();}function _0x4db6ec(_0x2883ac){const _0x275e5e=_0x43e6;this['removeListener'](_0x275e5e(0x234),_0x4db6ec),this[_0x275e5e(0x2cd)](),this[_0x275e5e(0x292)](_0x275e5e(0x234))===0x0&&this[_0x275e5e(0x20d)](_0x275e5e(0x234),_0x2883ac);}function _0x4542fa(_0x4006e,_0x3c8ff4){const _0x2b7d8e=_0x43e6;let _0x602d4e=!0x0;const _0x330c53=new _0x2098d2({..._0x3c8ff4,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4006e['on'](_0x2b7d8e(0x28a),function(_0x18d25b,_0x10148e){const _0xceea3c=_0x2b7d8e,_0x444e1a=!_0x10148e&&_0x330c53[_0xceea3c(0x1d6)][_0xceea3c(0x346)]?_0x18d25b[_0xceea3c(0x2fd)]():_0x18d25b;_0x330c53[_0xceea3c(0x35e)](_0x444e1a)||_0x4006e[_0xceea3c(0x352)]();}),_0x4006e[_0x2b7d8e(0x24b)](_0x2b7d8e(0x234),function(_0x5abff1){_0x330c53['destroyed']||(_0x602d4e=!0x1,_0x330c53['destroy'](_0x5abff1));}),_0x4006e['once']('close',function(){const _0x5a4a6d=_0x2b7d8e;_0x330c53[_0x5a4a6d(0x356)]||_0x330c53[_0x5a4a6d(0x35e)](null);}),_0x330c53['_destroy']=function(_0x533d71,_0x121723){const _0x3a36ef=_0x2b7d8e;if(_0x4006e[_0x3a36ef(0x2f1)]===_0x4006e[_0x3a36ef(0x274)]){_0x121723(_0x533d71),process[_0x3a36ef(0x1fa)](_0xea90e9,_0x330c53);return;}let _0x6a40d5=!0x1;_0x4006e['once']('error',function(_0x2d62ee){_0x6a40d5=!0x0,_0x121723(_0x2d62ee);}),_0x4006e[_0x3a36ef(0x24b)](_0x3a36ef(0x1d0),function(){const _0x1f24e3=_0x3a36ef;_0x6a40d5||_0x121723(_0x533d71),process[_0x1f24e3(0x1fa)](_0xea90e9,_0x330c53);}),_0x602d4e&&_0x4006e['terminate']();},_0x330c53[_0x2b7d8e(0x27e)]=function(_0x47466f){const _0x51d2a7=_0x2b7d8e;if(_0x4006e[_0x51d2a7(0x2f1)]===_0x4006e[_0x51d2a7(0x271)]){_0x4006e['once'](_0x51d2a7(0x250),function(){const _0x277075=_0x51d2a7;_0x330c53[_0x277075(0x27e)](_0x47466f);});return;}_0x4006e['_socket']!==null&&(_0x4006e['_socket'][_0x51d2a7(0x29b)][_0x51d2a7(0x32a)]?(_0x47466f(),_0x330c53['_readableState']['endEmitted']&&_0x330c53[_0x51d2a7(0x2cd)]()):(_0x4006e[_0x51d2a7(0x35c)][_0x51d2a7(0x24b)]('finish',function(){_0x47466f();}),_0x4006e[_0x51d2a7(0x1d0)]()));},_0x330c53[_0x2b7d8e(0x1c5)]=function(){const _0x216f0b=_0x2b7d8e;_0x4006e[_0x216f0b(0x30b)]&&_0x4006e[_0x216f0b(0x26b)]();},_0x330c53[_0x2b7d8e(0x1b7)]=function(_0x3542ca,_0x326a38,_0x358952){const _0x4026eb=_0x2b7d8e;if(_0x4006e[_0x4026eb(0x2f1)]===_0x4006e[_0x4026eb(0x271)]){_0x4006e['once']('open',function(){const _0x5b3605=_0x4026eb;_0x330c53[_0x5b3605(0x1b7)](_0x3542ca,_0x326a38,_0x358952);});return;}_0x4006e[_0x4026eb(0x22b)](_0x3542ca,_0x358952);},_0x330c53['on']('end',_0x541095),_0x330c53['on'](_0x2b7d8e(0x234),_0x4db6ec),_0x330c53;}return Oe=_0x4542fa,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x51b240}=ne();function _0x4cdc61(_0x323fbb){const _0x3e24e1=_0x43e6,_0x2af7aa=new Set();let _0x5df8ad=-0x1,_0x3b04ea=-0x1,_0x26a6f0=0x0;for(_0x26a6f0;_0x26a6f0<_0x323fbb[_0x3e24e1(0x2a1)];_0x26a6f0++){const _0x534699=_0x323fbb[_0x3e24e1(0x362)](_0x26a6f0);if(_0x3b04ea===-0x1&&_0x51b240[_0x534699]===0x1)_0x5df8ad===-0x1&&(_0x5df8ad=_0x26a6f0);else{if(_0x26a6f0!==0x0&&(_0x534699===0x20||_0x534699===0x9))_0x3b04ea===-0x1&&_0x5df8ad!==-0x1&&(_0x3b04ea=_0x26a6f0);else{if(_0x534699===0x2c){if(_0x5df8ad===-0x1)throw new SyntaxError(_0x3e24e1(0x349)+_0x26a6f0);_0x3b04ea===-0x1&&(_0x3b04ea=_0x26a6f0);const _0x1e48cb=_0x323fbb[_0x3e24e1(0x34e)](_0x5df8ad,_0x3b04ea);if(_0x2af7aa['has'](_0x1e48cb))throw new SyntaxError(_0x3e24e1(0x283)+_0x1e48cb+_0x3e24e1(0x289));_0x2af7aa[_0x3e24e1(0x213)](_0x1e48cb),_0x5df8ad=_0x3b04ea=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x26a6f0);}}}if(_0x5df8ad===-0x1||_0x3b04ea!==-0x1)throw new SyntaxError(_0x3e24e1(0x291));const _0x17e74c=_0x323fbb[_0x3e24e1(0x34e)](_0x5df8ad,_0x26a6f0);if(_0x2af7aa[_0x3e24e1(0x1d4)](_0x17e74c))throw new SyntaxError(_0x3e24e1(0x283)+_0x17e74c+_0x3e24e1(0x289));return _0x2af7aa[_0x3e24e1(0x213)](_0x17e74c),_0x2af7aa;}return Ce={'parse':_0x4cdc61},Ce;}var Te,ot;function er(){const _0x47e72e=_0x2a4dc6;if(ot)return Te;ot=0x1;const _0x517500=_0x1ddafa,_0x40f302=_0x2b8417,{Duplex:_0x46d2d7}=_0xd79b6f,{createHash:_0x7f74e0}=_0x8054d,_0x468b64=pt(),_0x2806b0=he(),_0xb9a436=Jt(),_0x1c5225=Ie(),{GUID:_0x40511b,kWebSocket:_0x4f0bfe}=V(),_0x369dbb=/^[+/0-9A-Za-z]{22}==$/,_0x3971a2=0x0,_0x2ee3d0=0x1,_0x277f46=0x2;class _0x2bd19a extends _0x517500{constructor(_0x5f40b0,_0x40a578){const _0x20ebcd=_0x43e6;if(super(),_0x5f40b0={'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':_0x1c5225,..._0x5f40b0},_0x5f40b0[_0x20ebcd(0x275)]==null&&!_0x5f40b0[_0x20ebcd(0x225)]&&!_0x5f40b0[_0x20ebcd(0x239)]||_0x5f40b0['port']!=null&&(_0x5f40b0[_0x20ebcd(0x225)]||_0x5f40b0['noServer'])||_0x5f40b0[_0x20ebcd(0x225)]&&_0x5f40b0[_0x20ebcd(0x239)])throw new TypeError(_0x20ebcd(0x331));if(_0x5f40b0['port']!=null?(this[_0x20ebcd(0x214)]=_0x40f302['createServer']((_0x39fb27,_0x24d05f)=>{const _0x43877e=_0x20ebcd,_0x406ccf=_0x40f302[_0x43877e(0x1e6)][0x1aa];_0x24d05f[_0x43877e(0x2ba)](0x1aa,{'Content-Length':_0x406ccf[_0x43877e(0x2a1)],'Content-Type':_0x43877e(0x2e8)}),_0x24d05f['end'](_0x406ccf);}),this['_server'][_0x20ebcd(0x2ab)](_0x5f40b0[_0x20ebcd(0x275)],_0x5f40b0[_0x20ebcd(0x1f1)],_0x5f40b0[_0x20ebcd(0x359)],_0x40a578)):_0x5f40b0['server']&&(this[_0x20ebcd(0x214)]=_0x5f40b0[_0x20ebcd(0x225)]),this[_0x20ebcd(0x214)]){const _0x518edb=this['emit'][_0x20ebcd(0x24c)](this,'connection');this[_0x20ebcd(0x2af)]=_0x264f38(this['_server'],{'listening':this[_0x20ebcd(0x20d)][_0x20ebcd(0x24c)](this,_0x20ebcd(0x216)),'error':this[_0x20ebcd(0x20d)]['bind'](this,'error'),'upgrade':(_0x441857,_0x42d50d,_0x3d82e7)=>{const _0xb30a59=_0x20ebcd;this[_0xb30a59(0x1fb)](_0x441857,_0x42d50d,_0x3d82e7,_0x518edb);}});}_0x5f40b0['perMessageDeflate']===!0x0&&(_0x5f40b0[_0x20ebcd(0x1ce)]={}),_0x5f40b0[_0x20ebcd(0x310)]&&(this[_0x20ebcd(0x1dc)]=new Set(),this[_0x20ebcd(0x23a)]=!0x1),this['options']=_0x5f40b0,this[_0x20ebcd(0x1f5)]=_0x3971a2;}[_0x47e72e(0x2ae)](){const _0x3f26b7=_0x47e72e;if(this[_0x3f26b7(0x1fe)][_0x3f26b7(0x239)])throw new Error(_0x3f26b7(0x2d2));return this['_server']?this[_0x3f26b7(0x214)][_0x3f26b7(0x2ae)]():null;}[_0x47e72e(0x1d0)](_0x24c674){const _0x3c98ca=_0x47e72e;if(this[_0x3c98ca(0x1f5)]===_0x277f46){_0x24c674&&this[_0x3c98ca(0x24b)](_0x3c98ca(0x1d0),()=>{const _0x5dda94=_0x3c98ca;_0x24c674(new Error(_0x5dda94(0x1d2)));}),process[_0x3c98ca(0x1fa)](_0x397c8c,this);return;}if(_0x24c674&&this[_0x3c98ca(0x24b)]('close',_0x24c674),this[_0x3c98ca(0x1f5)]!==_0x2ee3d0){if(this[_0x3c98ca(0x1f5)]=_0x2ee3d0,this[_0x3c98ca(0x1fe)][_0x3c98ca(0x239)]||this['options'][_0x3c98ca(0x225)])this[_0x3c98ca(0x214)]&&(this['_removeListeners'](),this[_0x3c98ca(0x2af)]=this[_0x3c98ca(0x214)]=null),this[_0x3c98ca(0x1dc)]?this['clients'][_0x3c98ca(0x1e4)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x397c8c,this):process['nextTick'](_0x397c8c,this);else{const _0x289e9a=this[_0x3c98ca(0x214)];this[_0x3c98ca(0x2af)](),this[_0x3c98ca(0x2af)]=this[_0x3c98ca(0x214)]=null,_0x289e9a['close'](()=>{_0x397c8c(this);});}}}[_0x47e72e(0x2c8)](_0x46b58f){const _0x3ec847=_0x47e72e;if(this[_0x3ec847(0x1fe)][_0x3ec847(0x236)]){const _0x26e769=_0x46b58f[_0x3ec847(0x322)][_0x3ec847(0x2bc)]('?');if((_0x26e769!==-0x1?_0x46b58f['url'][_0x3ec847(0x34e)](0x0,_0x26e769):_0x46b58f['url'])!==this[_0x3ec847(0x1fe)]['path'])return!0x1;}return!0x0;}[_0x47e72e(0x1fb)](_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0){const _0x31650e=_0x47e72e;_0x4b753d['on']('error',_0x234451);const _0x2ec3bc=_0x1bdaaa['headers'][_0x31650e(0x25d)],_0x1440d8=_0x1bdaaa[_0x31650e(0x2e7)][_0x31650e(0x21d)],_0x227a00=+_0x1bdaaa[_0x31650e(0x2e7)]['sec-websocket-version'];if(_0x1bdaaa['method']!==_0x31650e(0x2c9)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x195,_0x31650e(0x268));return;}if(_0x1440d8===void 0x0||_0x1440d8[_0x31650e(0x2b6)]()!==_0x31650e(0x205)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x329));return;}if(_0x2ec3bc===void 0x0||!_0x369dbb[_0x31650e(0x2ed)](_0x2ec3bc)){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x227a00!==0x8&&_0x227a00!==0xd){_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x2d8));return;}if(!this[_0x31650e(0x2c8)](_0x1bdaaa)){_0x50d0c6(_0x4b753d,0x190);return;}const _0x5912ea=_0x1bdaaa[_0x31650e(0x2e7)][_0x31650e(0x2a5)];let _0x2f1572=new Set();if(_0x5912ea!==void 0x0)try{_0x2f1572=_0xb9a436[_0x31650e(0x365)](_0x5912ea);}catch{_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,_0x31650e(0x35b));return;}const _0x23e5f7=_0x1bdaaa['headers'][_0x31650e(0x315)],_0xd8e2e5={};if(this[_0x31650e(0x1fe)][_0x31650e(0x1ce)]&&_0x23e5f7!==void 0x0){const _0x1f30e9=new _0x2806b0(this[_0x31650e(0x1fe)]['perMessageDeflate'],!0x0,this[_0x31650e(0x1fe)][_0x31650e(0x324)]);try{const _0xf8859e=_0x468b64['parse'](_0x23e5f7);_0xf8859e[_0x2806b0[_0x31650e(0x243)]]&&(_0x1f30e9[_0x31650e(0x24f)](_0xf8859e[_0x2806b0['extensionName']]),_0xd8e2e5[_0x2806b0[_0x31650e(0x243)]]=_0x1f30e9);}catch{_0x3bac05(this,_0x1bdaaa,_0x4b753d,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x31650e(0x1ca)]){const _0x3a7e39={'origin':_0x1bdaaa['headers'][''+(_0x227a00===0x8?_0x31650e(0x210):_0x31650e(0x345))],'secure':!!(_0x1bdaaa[_0x31650e(0x33c)][_0x31650e(0x30e)]||_0x1bdaaa['socket'][_0x31650e(0x34c)]),'req':_0x1bdaaa};if(this[_0x31650e(0x1fe)]['verifyClient'][_0x31650e(0x2a1)]===0x2){this[_0x31650e(0x1fe)][_0x31650e(0x1ca)](_0x3a7e39,(_0x337f0c,_0x17d2bd,_0xf9ba14,_0xdff169)=>{const _0x48416b=_0x31650e;if(!_0x337f0c)return _0x50d0c6(_0x4b753d,_0x17d2bd||0x191,_0xf9ba14,_0xdff169);this[_0x48416b(0x34f)](_0xd8e2e5,_0x2ec3bc,_0x2f1572,_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0);});return;}if(!this[_0x31650e(0x1fe)][_0x31650e(0x1ca)](_0x3a7e39))return _0x50d0c6(_0x4b753d,0x191);}this[_0x31650e(0x34f)](_0xd8e2e5,_0x2ec3bc,_0x2f1572,_0x1bdaaa,_0x4b753d,_0x5860f3,_0x3ec6a0);}[_0x47e72e(0x34f)](_0x1fac3b,_0x4a4276,_0x365636,_0x22f229,_0x3485c1,_0x4f315d,_0x2eb662){const _0x22f150=_0x47e72e;if(!_0x3485c1[_0x22f150(0x2f3)]||!_0x3485c1[_0x22f150(0x1f0)])return _0x3485c1['destroy']();if(_0x3485c1[_0x4f0bfe])throw new Error(_0x22f150(0x33a));if(this['_state']>_0x3971a2)return _0x50d0c6(_0x3485c1,0x1f7);const _0x487d23=[_0x22f150(0x31d),_0x22f150(0x2bb),_0x22f150(0x2c6),_0x22f150(0x266)+_0x7f74e0('sha1')[_0x22f150(0x1ba)](_0x4a4276+_0x40511b)['digest'](_0x22f150(0x2d5))],_0x25e184=new this[(_0x22f150(0x1fe))][(_0x22f150(0x1f4))](null,void 0x0,this[_0x22f150(0x1fe)]);if(_0x365636[_0x22f150(0x1e4)]){const _0x330e68=this['options'][_0x22f150(0x1c3)]?this['options'][_0x22f150(0x1c3)](_0x365636,_0x22f229):_0x365636[_0x22f150(0x1be)]()[_0x22f150(0x2f8)]()[_0x22f150(0x260)];_0x330e68&&(_0x487d23[_0x22f150(0x35e)](_0x22f150(0x29c)+_0x330e68),_0x25e184[_0x22f150(0x332)]=_0x330e68);}if(_0x1fac3b[_0x2806b0[_0x22f150(0x243)]]){const _0x196c42=_0x1fac3b[_0x2806b0[_0x22f150(0x243)]][_0x22f150(0x2c2)],_0x15cdcb=_0x468b64[_0x22f150(0x2dc)]({[_0x2806b0[_0x22f150(0x243)]]:[_0x196c42]});_0x487d23[_0x22f150(0x35e)]('Sec-WebSocket-Extensions:\x20'+_0x15cdcb),_0x25e184[_0x22f150(0x2e0)]=_0x1fac3b;}this['emit'](_0x22f150(0x2e7),_0x487d23,_0x22f229),_0x3485c1[_0x22f150(0x1ea)](_0x487d23[_0x22f150(0x366)]('\x0d\x0a')[_0x22f150(0x2d6)]('\x0d\x0a')),_0x3485c1[_0x22f150(0x1db)]('error',_0x234451),_0x25e184['setSocket'](_0x3485c1,_0x4f315d,{'allowSynchronousEvents':this[_0x22f150(0x1fe)][_0x22f150(0x1c2)],'maxPayload':this[_0x22f150(0x1fe)]['maxPayload'],'skipUTF8Validation':this['options'][_0x22f150(0x227)]}),this[_0x22f150(0x1dc)]&&(this['clients'][_0x22f150(0x213)](_0x25e184),_0x25e184['on'](_0x22f150(0x1d0),()=>{const _0x4a5842=_0x22f150;this['clients'][_0x4a5842(0x34b)](_0x25e184),this[_0x4a5842(0x23a)]&&!this[_0x4a5842(0x1dc)]['size']&&process[_0x4a5842(0x1fa)](_0x397c8c,this);})),_0x2eb662(_0x25e184,_0x22f229);}}Te=_0x2bd19a;function _0x264f38(_0x4458eb,_0x542d8f){for(const _0xf2b102 of Object['keys'](_0x542d8f))_0x4458eb['on'](_0xf2b102,_0x542d8f[_0xf2b102]);return function(){const _0x156bf1=_0x43e6;for(const _0x3371eb of Object['keys'](_0x542d8f))_0x4458eb[_0x156bf1(0x1db)](_0x3371eb,_0x542d8f[_0x3371eb]);};}function _0x397c8c(_0x5bf3b3){const _0x55679a=_0x47e72e;_0x5bf3b3[_0x55679a(0x1f5)]=_0x277f46,_0x5bf3b3[_0x55679a(0x20d)](_0x55679a(0x1d0));}function _0x234451(){const _0x319bda=_0x47e72e;this[_0x319bda(0x2cd)]();}function _0x50d0c6(_0x22edc1,_0x1ef298,_0x8fddb5,_0x4c8b30){const _0x489c6a=_0x47e72e;_0x8fddb5=_0x8fddb5||_0x40f302['STATUS_CODES'][_0x1ef298],_0x4c8b30={'Connection':_0x489c6a(0x1d0),'Content-Type':_0x489c6a(0x2c4),'Content-Length':Buffer[_0x489c6a(0x1d1)](_0x8fddb5),..._0x4c8b30},_0x22edc1['once'](_0x489c6a(0x1f9),_0x22edc1[_0x489c6a(0x2cd)]),_0x22edc1[_0x489c6a(0x209)]('HTTP/1.1\x20'+_0x1ef298+'\x20'+_0x40f302['STATUS_CODES'][_0x1ef298]+'\x0d\x0a'+Object[_0x489c6a(0x2b0)](_0x4c8b30)['map'](_0x394d0f=>_0x394d0f+':\x20'+_0x4c8b30[_0x394d0f])[_0x489c6a(0x2d6)]('\x0d\x0a')+_0x489c6a(0x1c7)+_0x8fddb5);}function _0x3bac05(_0x20a669,_0x408740,_0x5d21de,_0x134122,_0x4724db){const _0x5772c9=_0x47e72e;if(_0x20a669[_0x5772c9(0x292)](_0x5772c9(0x339))){const _0x3beca7=new Error(_0x4724db);Error['captureStackTrace'](_0x3beca7,_0x3bac05),_0x20a669['emit'](_0x5772c9(0x339),_0x3beca7,_0x5d21de,_0x408740);}else _0x50d0c6(_0x5d21de,_0x134122,_0x4724db);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x288194,_0x582ccd,_0x317a76,_0x1936b7)=>{const _0x9be658=_0x2a4dc6;for(var _0x52fce8=_0x1936b7>0x1?void 0x0:_0x1936b7?tr(_0x582ccd,_0x317a76):_0x582ccd,_0x471f8c=_0x288194[_0x9be658(0x2a1)]-0x1,_0x1e788e;_0x471f8c>=0x0;_0x471f8c--)(_0x1e788e=_0x288194[_0x471f8c])&&(_0x52fce8=_0x1e788e(_0x52fce8)||_0x52fce8);return _0x52fce8;},sr=(_0x4aea4d,_0x31e264)=>(_0x25c456,_0xa3842c)=>_0x31e264(_0x25c456,_0xa3842c,_0x4aea4d);let Ne=class extends _0x3d72b5{constructor(_0x2e2391){super(),this['_configService']=_0x2e2391;}[_0x2a4dc6(0x257)](_0x249fa2){const _0x13d784=_0x2a4dc6;var _0x14ffa0;const _0x4b0b35=(_0x14ffa0=this[_0x13d784(0x1bf)][_0x13d784(0x21e)](Be))==null?void 0x0:_0x14ffa0[_0x13d784(0x215)];try{const _0xa94c87=new Qt(_0x249fa2,{'headers':{..._0x4b0b35}}),_0x24ab8f=new _0x17a0e5();return{'URL':_0x249fa2,'close':(_0x158392,_0x199967)=>{const _0x5ee96d=_0x13d784;_0xa94c87[_0x5ee96d(0x1d0)](_0x158392,_0x199967),_0x24ab8f[_0x5ee96d(0x2a0)]();},'send':_0x3640bc=>{_0xa94c87['send'](_0x3640bc);},'open$':new _0x1d4229(_0x7083f=>{const _0x5ef4e7=_0x13d784,_0xd1272d=_0x385c49=>_0x7083f[_0x5ef4e7(0x2f8)](_0x385c49);_0xa94c87['addEventListener']('open',_0xd1272d),_0x24ab8f[_0x5ef4e7(0x213)](_0x5a2055(()=>_0xa94c87[_0x5ef4e7(0x312)]('open',_0xd1272d)));})[_0x13d784(0x25b)](_0x4331c1()),'close$':new _0x1d4229(_0x4d7049=>{const _0x32180e=_0x13d784,_0x52b423=_0x10b49d=>_0x4d7049[_0x32180e(0x2f8)](_0x10b49d);_0xa94c87['addEventListener'](_0x32180e(0x1d0),_0x52b423),_0x24ab8f[_0x32180e(0x213)](_0x5a2055(()=>_0xa94c87[_0x32180e(0x312)]('close',_0x52b423)));})[_0x13d784(0x25b)](_0x4331c1()),'error$':new _0x1d4229(_0x4fe819=>{const _0x16bfae=_0x13d784,_0x463877=_0x2dbda=>_0x4fe819[_0x16bfae(0x2f8)](_0x2dbda);_0xa94c87[_0x16bfae(0x294)](_0x16bfae(0x234),_0x463877),_0x24ab8f['add'](_0x5a2055(()=>_0xa94c87[_0x16bfae(0x312)](_0x16bfae(0x234),_0x463877)));})[_0x13d784(0x25b)](_0x4331c1()),'message$':new _0x1d4229(_0x184cde=>{const _0x566f6e=_0x13d784,_0x357672=_0x49b380=>_0x184cde[_0x566f6e(0x2f8)](_0x49b380);_0xa94c87['addEventListener']('message',_0x357672),_0x24ab8f[_0x566f6e(0x213)](_0x5a2055(()=>_0xa94c87['removeEventListener'](_0x566f6e(0x28a),_0x357672)));})[_0x13d784(0x25b)](_0x4331c1())};}catch(_0x449908){return console['error'](_0x449908),null;}}};Ne=rr([sr(0x0,_0x6b1f42)],Ne);var ir=Object[_0x2a4dc6(0x2f4)],nr=Object[_0x2a4dc6(0x1e2)],or=(_0x5d330b,_0x5a2bd8,_0x566ab5)=>_0x5a2bd8 in _0x5d330b?ir(_0x5d330b,_0x5a2bd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x566ab5}):_0x5d330b[_0x5a2bd8]=_0x566ab5,ar=(_0x477e83,_0x5e39b7,_0x4bd990,_0x3b5219)=>{const _0x340235=_0x2a4dc6;for(var _0x10a0d3=_0x3b5219>0x1?void 0x0:_0x3b5219?nr(_0x5e39b7,_0x4bd990):_0x5e39b7,_0xc496d5=_0x477e83[_0x340235(0x2a1)]-0x1,_0x227f43;_0xc496d5>=0x0;_0xc496d5--)(_0x227f43=_0x477e83[_0xc496d5])&&(_0x10a0d3=_0x227f43(_0x10a0d3)||_0x10a0d3);return _0x10a0d3;},ke=(_0x4c8670,_0x2ff15f)=>(_0x46b50e,_0x215589)=>_0x2ff15f(_0x46b50e,_0x215589,_0x4c8670),lr=(_0x1bcace,_0x477789,_0xba7097)=>or(_0x1bcace,_0x477789+'',_0xba7097);let Pe=class extends _0x44fd93{constructor(_0x3b1f8a=Ft,_0x44111d,_0x116dd1,_0x4428a2){const _0x59fbaa=_0x2a4dc6;_0x3b1f8a[_0x59fbaa(0x215)]||_0x44111d[_0x59fbaa(0x303)](_0x59fbaa(0x2c3)),super(),this[_0x59fbaa(0x1bf)]=_0x116dd1,this[_0x59fbaa(0x287)]=_0x4428a2,this[_0x59fbaa(0x1bf)][_0x59fbaa(0x357)](Be,_0x3b1f8a);}[_0x2a4dc6(0x1d5)](){this['_registerDependencies']();}[_0x2a4dc6(0x279)](){const _0x1ccf8f=_0x2a4dc6;_0x42ca71(this[_0x1ccf8f(0x287)],[[_0x51f561,{'useClass':Ne}]]);}};lr(Pe,_0x2a4dc6(0x2f2),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x29d2b4(_0x1282a3),ke(0x1,_0x382688),ke(0x2,_0x6b1f42),ke(0x3,_0x59aad3(_0x1e1c33))],Pe);var fr=Object[_0x2a4dc6(0x1e2)],cr=(_0x4260be,_0x5f1606,_0xcfde4c,_0x4faf81)=>{const _0x55a7a1=_0x2a4dc6;for(var _0x4f9c62=_0x4faf81>0x1?void 0x0:_0x4faf81?fr(_0x5f1606,_0xcfde4c):_0x5f1606,_0x3ecf61=_0x4260be[_0x55a7a1(0x2a1)]-0x1,_0x127999;_0x3ecf61>=0x0;_0x3ecf61--)(_0x127999=_0x4260be[_0x3ecf61])&&(_0x4f9c62=_0x127999(_0x4f9c62)||_0x4f9c62);return _0x4f9c62;},se=(_0x4a8412,_0xcc9b3f)=>(_0x52aa7f,_0x557caf)=>_0xcc9b3f(_0x52aa7f,_0x557caf,_0x4a8412);let at=class extends _0x304b29{constructor(_0x19c0f4,_0x5cc743,_0x4431c4,_0x436227,_0x8ddc48){const _0xbfb9a=_0x2a4dc6;super(_0x19c0f4,_0x5cc743,_0x4431c4,_0x436227,_0x8ddc48);const _0x59b60e=this['_configService']['getConfig'](Be);this[_0xbfb9a(0x2fa)]['registerHTTPInterceptor']({'interceptor':(_0x48a9a3,_0x3ff57a)=>{const _0x30cb9a=_0xbfb9a;var _0x1a9971;const _0x52af99=_0x48a9a3[_0x30cb9a(0x2e7)];return(_0x1a9971=_0x59b60e==null?void 0x0:_0x59b60e[_0x30cb9a(0x215)])!=null&&_0x1a9971['cookie']&&_0x52af99[_0x30cb9a(0x319)]('Cookie',_0x59b60e['customHeaders'][_0x30cb9a(0x2d1)]),_0x3ff57a(_0x48a9a3);}});}async[_0x2a4dc6(0x257)](_0x4a5225){const _0x1b2c8c=_0x2a4dc6;return this[_0x1b2c8c(0x2ce)](_0x4a5225);}};at=cr([se(0x0,_0x59aad3(_0x1e1c33)),se(0x1,_0x59aad3(_0x451de5)),se(0x2,_0x6b1f42),se(0x3,_0x382688),se(0x4,_0x28af94)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};