@univerjs-pro/collaboration-client-node 0.5.4 → 0.5.5-experimental.20250123-34738ff

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 _0x15f4d6=_0x2174;(function(_0xc716c,_0x3c319a){const _0xdc503b=_0x2174,_0x3e5374=_0xc716c();while(!![]){try{const _0x53aeef=parseInt(_0xdc503b(0x32e))/0x1*(parseInt(_0xdc503b(0x2dd))/0x2)+parseInt(_0xdc503b(0x335))/0x3+-parseInt(_0xdc503b(0x2ea))/0x4*(-parseInt(_0xdc503b(0x2cc))/0x5)+-parseInt(_0xdc503b(0x23a))/0x6+parseInt(_0xdc503b(0x2d7))/0x7*(-parseInt(_0xdc503b(0x2cd))/0x8)+-parseInt(_0xdc503b(0x256))/0x9*(-parseInt(_0xdc503b(0x2e3))/0xa)+-parseInt(_0xdc503b(0x33e))/0xb*(parseInt(_0xdc503b(0x30c))/0xc);if(_0x53aeef===_0x3c319a)break;else _0x3e5374['push'](_0x3e5374['shift']());}catch(_0x2d6467){_0x3e5374['push'](_0x3e5374['shift']());}}}(_0x25b6,0xb4a08));function _0x2174(_0x4c08df,_0x371530){const _0x25b62e=_0x25b6();return _0x2174=function(_0x2174c4,_0x5ef571){_0x2174c4=_0x2174c4-0x1af;let _0x35d8b8=_0x25b62e[_0x2174c4];return _0x35d8b8;},_0x2174(_0x4c08df,_0x371530);}import{UniverCollaborationClientPlugin as _0x150cff}from'@univerjs-pro/collaboration-client';import{Disposable as _0x3856c4,DisposableCollection as _0x1492c1,toDisposable as _0x15a653,IConfigService as _0x47787d,DependentOn as _0x4ab4e0,Inject as _0x56b6a6,Injector as _0x1ecfad,Plugin as _0x1d11ce,registerDependencies as _0x30e3f8,ILogService as _0xf1b8a1}from'@univerjs/core';import{HTTPService as _0x380bcb,ISocketService as _0x534985}from'@univerjs/network';import{Observable as _0x4fa433,share as _0x2f5814}from'rxjs';import _0x279084 from'stream';import _0x347de7 from'zlib';import _0x4f7818 from'buffer';import _0x5f3e2f from'crypto';function _0x25b6(){const _0x3ef76b=['258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','http:','_firstFragment','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WebSocket\x20is\x20not\x20open:\x20readyState\x20','entries','origin','Max\x20payload\x20size\x20exceeded','writeUIntBE','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','registerHTTPInterceptor','Unexpected\x20character\x20at\x20index\x20','sec-websocket-origin','constructor','Invalid\x20Sec-WebSocket-Protocol\x20header','forEach','_deflate','WS_ERR_INVALID_OPCODE','_decompress','Unexpected\x20end\x20of\x20input','fragments','generateMask','slice','_sender','WS_ERR_EXPECTED_FIN','Invalid\x20HTTP\x20method','socket','digest','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','read','36QPNXDc','Invalid\x20WebSocket\x20frame:\x20','_redirects','isValidUTF8','isServer','flush','OPEN','reason','FIN\x20must\x20be\x20set','redirect','ws:','The\x20URL\x20contains\x20a\x20fragment\x20identifier','CLOSING','address','removeEventListener','clients','bind','socketPath','shift','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','alloc','_binaryType','setNoDelay','isInteger','push','HTTP/1.1\x20101\x20Switching\x20Protocols','finished','perMessageDeflate','createSocket','handleEvent','object','sha1','_maskBuffer','drain','312615CFgSWi','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientTracking','response','conclude','acceptAsServer','Sec-WebSocket-Origin','571602GiVBrA','Invalid\x20Sec-WebSocket-Accept\x20header','reset','endEmitted','client_no_context_takeover','Z_SYNC_FLUSH','destroy','default','consume','2248741nhPksz','listen','connect','opcode','noServer','ping','buffer','_inflate','unexpected-response','_autoPong','_originalHostOrSocketPath','nextTick','cork','binaryType','target','hasOwnProperty','toString','hostname','from','exports','arraybuffer','followRedirects','extensionName','terminate','toLowerCase','acceptAsClient','completeUpgrade','_closeFrameReceived','replace','verifyClient','create','length','hash','nodebuffer','getMask','blob','Module','_closeTimer','server_max_window_bits','params','customHeaders','toStringTag','listening','_loop','RSV1\x20must\x20be\x20clear','_fragmented','end','_state','_write','map','mask','defaultPort','location','next','function','kCode','indexOf','Blob','accept','The\x20server\x20is\x20not\x20running','request','readable','_httpService','arrayBuffer','has','isBuffer','writeUInt16BE','unmask','_totalPayloadLength','createDeflateRaw','maskBuffer','wss:','Invalid\x20value\x20for\x20parameter\x20\x22','frame','skipUTF8Validation','clientMaxWindowBits','getOwnPropertyDescriptor','password','Connection:\x20Upgrade','message','Upgrade:\x20websocket','finishRequest','WS_ERR_UNEXPECTED_MASK','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','warn','WebSocket','_payloadLength','_generateMask','_compress','writeHead','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kType','host','kTarget','allocUnsafe','kError','shouldHandle','WS_ERR_INVALID_CLOSE_CODE','headers','needDrain','Opening\x20handshake\x20has\x20timed\x20out','set','base64','_isServer','offer','_protocol','type','species','pause','url','_readyState','CLOSED','_removeListeners','invalid\x20UTF-8\x20sequence','statusCode','protocol','servername','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','client_max_window_bits','callback','addEventListener','startLoop','dataMessage','_url','env','concurrencyLimit','_messageLength','kDone','add','open','dispatch','clientNoContextTakeover','errorEmitted','pending','total-length','Unknown\x20parameter\x20\x22','connection','cleanup','Invalid\x20URL:\x20','path','haveLength','getInfo','The\x20\x22','_errorEmitted','handleProtocols','Server\x20sent\x20no\x20subprotocol','_configService','_maxPayload','server','sendFrame','invalid\x20opcode\x200','kListener','client','error','jobs','call','Sec-WebSocket-Protocol','fin','_server','close','_paused','data','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','5813280SxBjzI','format','normalizeParams','number','GET','emit','getPayloadLength64','STATUS_CODES','freeze','serverMaxWindowBits','listenerCount','pipe','send','_fin','_mask','kIsForOnEventAttribute','_extensions','getData','byteOffset','string','keys','MASK\x20must\x20be\x20set','removeListener','catch','timeout','controlMessage','wsClientError','Unexpected\x20server\x20response:\x20','18PifylG','_readableState','invalid\x20status\x20code\x20','status-code','text/plain','captureStackTrace','onerror','auth','charCodeAt','_masked','enqueue','Z_DEFAULT_WINDOWBITS','extensions','setTimeout','upgrade','search','_bufferedBytes','dispose','readUInt16BE','_injector','_no_context_takeover','_registerDependencies','authorized','port','byteLength','prototype','isPaused','serverNoContextTakeover','code','File','encrypted','construct','__esModule','rsv1','_options','CONNECTING','\x22\x20must\x20have\x20only\x20a\x20single\x20value','decompress','_originalSecure','username','threshold','WS_ERR_INVALID_UTF8','concurrency','apply','maxPayload','authorization','Upgrade','server_no_context_takeover','pathname','removeAllListeners','setHeader','_opcode','kReason','readyState','Sec-WebSocket-Extensions:\x20','_bufferedAmount','_socket','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-extensions','concat','destroyed','\x22\x20subprotocol\x20is\x20duplicated','WS_NO_BUFFER_UTIL','WS_ERR_EXPECTED_MASK','_queue','getPayloadLength16','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','setSocket','resume','_shouldEmitClose','options','includes','Sec-WebSocket-Extensions','zlibDeflateOptions','_receiver','createConnection','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','startsWith','sec-websocket-version','kAborted','_allowSynchronousEvents','_req','text/html','readUInt32BE','_buffers','pong','websocket','buffers','Unsupported\x20protocol\x20version:\x20','_writableState','defineProperty','Server\x20sent\x20an\x20invalid\x20subprotocol','sec-websocket-accept','\x22:\x20','readOnly','_compressed','isIP','uncork','_closeMessage','autoPong','sec-websocket-protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','cookie','_threshold','abort','kByteLength','Invalid\x20Upgrade\x20header','wasClean','invalid\x20opcode\x20','once','getBlobData','size','join','write','listeners','onmessage','setConfig','bufferedAmount','2208155sneIzj','16aGXWjs','handleUpgrade','allowSynchronousEvents','isArray','MASK\x20must\x20be\x20clear','_originalIpc','pow','_fragments','dequeue','permessage-deflate','857017MJrFOE','WS_ERR_UNEXPECTED_RSV_2_3','_closeCode','test','finish','_skipUTF8Validation','4WAgtOF','kMessage','kWasClean','WS_ERR_UNEXPECTED_RSV_1','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_errored','6547440VqeIpU','emitClose','_closeFrameSent','createError','compress','value','kRun','4TgJRGs','protocolVersion'];_0x25b6=function(){return _0x3ef76b;};return _0x25b6();}import _0x3d7173 from'events';import _0x257e7c from'https';import _0x48d8cd from'http';import _0x259583 from'net';import _0x418cc8 from'tls';import _0x1ccf65 from'url';const tt='collaboration-client-node.config',Rt={'customHeaders':{}};function Dt(_0x148bae){const _0x4920ad=_0x2174;return _0x148bae&&_0x148bae[_0x4920ad(0x276)]&&Object[_0x4920ad(0x26f)][_0x4920ad(0x34d)]['call'](_0x148bae,_0x4920ad(0x33c))?_0x148bae[_0x4920ad(0x33c)]:_0x148bae;}function rt(_0x11afa0){const _0x3fdfa7=_0x2174;if(_0x11afa0[_0x3fdfa7(0x276)])return _0x11afa0;var _0x4d3882=_0x11afa0['default'];if(typeof _0x4d3882==_0x3fdfa7(0x1cc)){var _0x3c813e=function _0x46513b(){const _0x5e6a9f=_0x3fdfa7;return this instanceof _0x46513b?Reflect[_0x5e6a9f(0x275)](_0x4d3882,arguments,this[_0x5e6a9f(0x2fb)]):_0x4d3882[_0x5e6a9f(0x281)](this,arguments);};_0x3c813e[_0x3fdfa7(0x26f)]=_0x4d3882[_0x3fdfa7(0x26f)];}else _0x3c813e={};return Object[_0x3fdfa7(0x2b0)](_0x3c813e,_0x3fdfa7(0x276),{'value':!0x0}),Object[_0x3fdfa7(0x24e)](_0x11afa0)['forEach'](function(_0x493e92){const _0xe91c80=_0x3fdfa7;var _0x2f2a41=Object['getOwnPropertyDescriptor'](_0x11afa0,_0x493e92);Object[_0xe91c80(0x2b0)](_0x3c813e,_0x493e92,_0x2f2a41['get']?_0x2f2a41:{'enumerable':!0x0,'get':function(){return _0x11afa0[_0x493e92];}});}),_0x3c813e;}var J={'exports':{}},_e,Fe;function G(){const _0x23249b=_0x2174;if(Fe)return _e;Fe=0x1;const _0x175f64=[_0x23249b(0x1b7),'arraybuffer',_0x23249b(0x302)],_0xa4fe03=typeof Blob<'u';return _0xa4fe03&&_0x175f64[_0x23249b(0x324)](_0x23249b(0x1b9)),_e={'BINARY_TYPES':_0x175f64,'EMPTY_BUFFER':Buffer[_0x23249b(0x320)](0x0),'GUID':_0x23249b(0x2ec),'hasBlob':_0xa4fe03,'kForOnEventAttribute':Symbol(_0x23249b(0x249)),'kListener':Symbol(_0x23249b(0x22e)),'kStatusCode':Symbol(_0x23249b(0x259)),'kWebSocket':Symbol(_0x23249b(0x2ac)),'NOOP':()=>{}},_e;}const It={},Ut=Object[_0x15f4d6(0x242)](Object[_0x15f4d6(0x2b0)]({'__proto__':null,'default':It},Symbol[_0x15f4d6(0x1bf)],{'value':_0x15f4d6(0x1ba)})),Mt=rt(Ut);var We;function le(){const _0x56daf4=_0x15f4d6;if(We)return J[_0x56daf4(0x351)];We=0x1;const {EMPTY_BUFFER:_0x7592b4}=G(),_0x5dd6f8=Buffer[Symbol[_0x56daf4(0x202)]];function _0x236796(_0x382cb7,_0x476102){const _0x2181be=_0x56daf4;if(_0x382cb7['length']===0x0)return _0x7592b4;if(_0x382cb7[_0x2181be(0x1b5)]===0x1)return _0x382cb7[0x0];const _0x9079f2=Buffer['allocUnsafe'](_0x476102);let _0x108a24=0x0;for(let _0x4ab118=0x0;_0x4ab118<_0x382cb7[_0x2181be(0x1b5)];_0x4ab118++){const _0x3f2e07=_0x382cb7[_0x4ab118];_0x9079f2[_0x2181be(0x1fc)](_0x3f2e07,_0x108a24),_0x108a24+=_0x3f2e07[_0x2181be(0x1b5)];}return _0x108a24<_0x476102?new _0x5dd6f8(_0x9079f2['buffer'],_0x9079f2[_0x2181be(0x24c)],_0x108a24):_0x9079f2;}function _0x2d873a(_0x1f3b0e,_0x511ec4,_0x377e05,_0x6932cb,_0x5d5f61){for(let _0x39063b=0x0;_0x39063b<_0x5d5f61;_0x39063b++)_0x377e05[_0x6932cb+_0x39063b]=_0x1f3b0e[_0x39063b]^_0x511ec4[_0x39063b&0x3];}function _0x22946a(_0x3fda3b,_0x2eaa3b){const _0x127971=_0x56daf4;for(let _0x397223=0x0;_0x397223<_0x3fda3b[_0x127971(0x1b5)];_0x397223++)_0x3fda3b[_0x397223]^=_0x2eaa3b[_0x397223&0x3];}function _0x581f95(_0x2a314d){const _0x10302d=_0x56daf4;return _0x2a314d['length']===_0x2a314d[_0x10302d(0x344)]['byteLength']?_0x2a314d[_0x10302d(0x344)]:_0x2a314d[_0x10302d(0x344)][_0x10302d(0x304)](_0x2a314d[_0x10302d(0x24c)],_0x2a314d['byteOffset']+_0x2a314d[_0x10302d(0x1b5)]);}function _0x103a75(_0x4f59c8){const _0x31c793=_0x56daf4;if(_0x103a75[_0x31c793(0x2b4)]=!0x0,Buffer[_0x31c793(0x1d7)](_0x4f59c8))return _0x4f59c8;let _0x5cc48c;return _0x4f59c8 instanceof ArrayBuffer?_0x5cc48c=new _0x5dd6f8(_0x4f59c8):ArrayBuffer['isView'](_0x4f59c8)?_0x5cc48c=new _0x5dd6f8(_0x4f59c8[_0x31c793(0x344)],_0x4f59c8[_0x31c793(0x24c)],_0x4f59c8[_0x31c793(0x26e)]):(_0x5cc48c=Buffer[_0x31c793(0x350)](_0x4f59c8),_0x103a75[_0x31c793(0x2b4)]=!0x1),_0x5cc48c;}if(J[_0x56daf4(0x351)]={'concat':_0x236796,'mask':_0x2d873a,'toArrayBuffer':_0x581f95,'toBuffer':_0x103a75,'unmask':_0x22946a},!process[_0x56daf4(0x213)][_0x56daf4(0x294)])try{const _0xcfbfab=Mt;J['exports'][_0x56daf4(0x1c8)]=function(_0x21d010,_0x10ff05,_0x4f794d,_0x42a1d0,_0x5d06a8){_0x5d06a8<0x30?_0x2d873a(_0x21d010,_0x10ff05,_0x4f794d,_0x42a1d0,_0x5d06a8):_0xcfbfab['mask'](_0x21d010,_0x10ff05,_0x4f794d,_0x42a1d0,_0x5d06a8);},J['exports'][_0x56daf4(0x1d9)]=function(_0x450b67,_0x551642){const _0x19e9c1=_0x56daf4;_0x450b67['length']<0x20?_0x22946a(_0x450b67,_0x551642):_0xcfbfab[_0x19e9c1(0x1d9)](_0x450b67,_0x551642);};}catch{}return J[_0x56daf4(0x351)];}var pe,je;function $t(){const _0x3abfb7=_0x15f4d6;if(je)return pe;je=0x1;const _0x3a64a1=Symbol(_0x3abfb7(0x216)),_0x18c9c1=Symbol(_0x3abfb7(0x2e9));class _0x15f6f4{constructor(_0x2ad030){const _0x46d5d2=_0x3abfb7;this[_0x3a64a1]=()=>{const _0x21336c=_0x2174;this[_0x21336c(0x21c)]--,this[_0x18c9c1]();},this['concurrency']=_0x2ad030||0x1/0x0,this[_0x46d5d2(0x231)]=[],this['pending']=0x0;}[_0x3abfb7(0x217)](_0xf69f9b){const _0x54d516=_0x3abfb7;this['jobs'][_0x54d516(0x324)](_0xf69f9b),this[_0x18c9c1]();}[_0x18c9c1](){const _0x38e65c=_0x3abfb7;if(this['pending']!==this[_0x38e65c(0x280)]&&this[_0x38e65c(0x231)]['length']){const _0xbe9156=this[_0x38e65c(0x231)][_0x38e65c(0x31e)]();this[_0x38e65c(0x21c)]++,_0xbe9156(this[_0x3a64a1]);}}}return pe=_0x15f6f4,pe;}var me,Ge;function fe(){const _0x2dfc9b=_0x15f4d6;if(Ge)return me;Ge=0x1;const _0x2e8801=_0x347de7,_0x2ec99b=le(),_0x33e533=$t(),{kStatusCode:_0x20bc7f}=G(),_0x1fbe80=Buffer[Symbol[_0x2dfc9b(0x202)]],_0x350393=Buffer['from']([0x0,0x0,0xff,0xff]),_0xffd9ec=Symbol(_0x2dfc9b(0x2d6)),_0xd429af=Symbol(_0x2dfc9b(0x21d)),_0x38b8f4=Symbol(_0x2dfc9b(0x20e)),_0x296332=Symbol(_0x2dfc9b(0x2ad)),_0x195189=Symbol(_0x2dfc9b(0x230));let _0x39b409;class _0x4b2357{constructor(_0x5c1792,_0x5ae8b7,_0x45c7f3){const _0x5bcdd6=_0x2dfc9b;if(this[_0x5bcdd6(0x22a)]=_0x45c7f3|0x0,this[_0x5bcdd6(0x278)]=_0x5c1792||{},this['_threshold']=this['_options'][_0x5bcdd6(0x27e)]!==void 0x0?this[_0x5bcdd6(0x278)]['threshold']:0x400,this[_0x5bcdd6(0x1fe)]=!!_0x5ae8b7,this['_deflate']=null,this[_0x5bcdd6(0x345)]=null,this[_0x5bcdd6(0x1bd)]=null,!_0x39b409){const _0x39b62d=this['_options'][_0x5bcdd6(0x214)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x39b409=new _0x33e533(_0x39b62d);}}static get[_0x2dfc9b(0x354)](){const _0x569e5f=_0x2dfc9b;return _0x569e5f(0x2d6);}[_0x2dfc9b(0x1ff)](){const _0x36101c=_0x2dfc9b,_0x14a954={};return this[_0x36101c(0x278)]['serverNoContextTakeover']&&(_0x14a954['server_no_context_takeover']=!0x0),this['_options'][_0x36101c(0x21a)]&&(_0x14a954['client_no_context_takeover']=!0x0),this[_0x36101c(0x278)][_0x36101c(0x243)]&&(_0x14a954[_0x36101c(0x1bc)]=this[_0x36101c(0x278)][_0x36101c(0x243)]),this[_0x36101c(0x278)]['clientMaxWindowBits']?_0x14a954[_0x36101c(0x20d)]=this['_options']['clientMaxWindowBits']:this['_options'][_0x36101c(0x1e1)]==null&&(_0x14a954['client_max_window_bits']=!0x0),_0x14a954;}[_0x2dfc9b(0x1d0)](_0x5cdc8b){const _0x1c71d1=_0x2dfc9b;return _0x5cdc8b=this[_0x1c71d1(0x23c)](_0x5cdc8b),this[_0x1c71d1(0x1bd)]=this['_isServer']?this[_0x1c71d1(0x333)](_0x5cdc8b):this['acceptAsClient'](_0x5cdc8b),this[_0x1c71d1(0x1bd)];}[_0x2dfc9b(0x220)](){const _0x4b39f4=_0x2dfc9b;if(this[_0x4b39f4(0x345)]&&(this[_0x4b39f4(0x345)][_0x4b39f4(0x236)](),this[_0x4b39f4(0x345)]=null),this['_deflate']){const _0x2b0b61=this[_0x4b39f4(0x2fe)][_0x38b8f4];this[_0x4b39f4(0x2fe)][_0x4b39f4(0x236)](),this[_0x4b39f4(0x2fe)]=null,_0x2b0b61&&_0x2b0b61(new Error(_0x4b39f4(0x31f)));}}[_0x2dfc9b(0x333)](_0x1acdb7){const _0x35a8b0=_0x2dfc9b,_0x542b35=this[_0x35a8b0(0x278)],_0x40d222=_0x1acdb7['find'](_0x495829=>!(_0x542b35[_0x35a8b0(0x271)]===!0x1&&_0x495829[_0x35a8b0(0x285)]||_0x495829[_0x35a8b0(0x1bc)]&&(_0x542b35[_0x35a8b0(0x243)]===!0x1||typeof _0x542b35[_0x35a8b0(0x243)]=='number'&&_0x542b35[_0x35a8b0(0x243)]>_0x495829[_0x35a8b0(0x1bc)])||typeof _0x542b35['clientMaxWindowBits']=='number'&&!_0x495829[_0x35a8b0(0x20d)]));if(!_0x40d222)throw new Error(_0x35a8b0(0x30a));return _0x542b35[_0x35a8b0(0x271)]&&(_0x40d222[_0x35a8b0(0x285)]=!0x0),_0x542b35['clientNoContextTakeover']&&(_0x40d222[_0x35a8b0(0x339)]=!0x0),typeof _0x542b35[_0x35a8b0(0x243)]==_0x35a8b0(0x23d)&&(_0x40d222['server_max_window_bits']=_0x542b35[_0x35a8b0(0x243)]),typeof _0x542b35[_0x35a8b0(0x1e1)]==_0x35a8b0(0x23d)?_0x40d222['client_max_window_bits']=_0x542b35[_0x35a8b0(0x1e1)]:(_0x40d222[_0x35a8b0(0x20d)]===!0x0||_0x542b35['clientMaxWindowBits']===!0x1)&&delete _0x40d222[_0x35a8b0(0x20d)],_0x40d222;}[_0x2dfc9b(0x1af)](_0x5c98c9){const _0x7fa6cf=_0x2dfc9b,_0x212be2=_0x5c98c9[0x0];if(this[_0x7fa6cf(0x278)]['clientNoContextTakeover']===!0x1&&_0x212be2[_0x7fa6cf(0x339)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x212be2[_0x7fa6cf(0x20d)])typeof this[_0x7fa6cf(0x278)][_0x7fa6cf(0x1e1)]==_0x7fa6cf(0x23d)&&(_0x212be2['client_max_window_bits']=this[_0x7fa6cf(0x278)]['clientMaxWindowBits']);else{if(this[_0x7fa6cf(0x278)][_0x7fa6cf(0x1e1)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x7fa6cf(0x23d)&&_0x212be2[_0x7fa6cf(0x20d)]>this[_0x7fa6cf(0x278)][_0x7fa6cf(0x1e1)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x212be2;}['normalizeParams'](_0x53739e){const _0x4e4fe=_0x2dfc9b;return _0x53739e[_0x4e4fe(0x2fd)](_0x32b680=>{const _0x222e9b=_0x4e4fe;Object[_0x222e9b(0x24e)](_0x32b680)[_0x222e9b(0x2fd)](_0x9967aa=>{const _0x34fb62=_0x222e9b;let _0x24d0c6=_0x32b680[_0x9967aa];if(_0x24d0c6[_0x34fb62(0x1b5)]>0x1)throw new Error('Parameter\x20\x22'+_0x9967aa+_0x34fb62(0x27a));if(_0x24d0c6=_0x24d0c6[0x0],_0x9967aa===_0x34fb62(0x20d)){if(_0x24d0c6!==!0x0){const _0xbdb858=+_0x24d0c6;if(!Number[_0x34fb62(0x323)](_0xbdb858)||_0xbdb858<0x8||_0xbdb858>0xf)throw new TypeError(_0x34fb62(0x1de)+_0x9967aa+_0x34fb62(0x2b3)+_0x24d0c6);_0x24d0c6=_0xbdb858;}else{if(!this[_0x34fb62(0x1fe)])throw new TypeError(_0x34fb62(0x1de)+_0x9967aa+_0x34fb62(0x2b3)+_0x24d0c6);}}else{if(_0x9967aa===_0x34fb62(0x1bc)){const _0x1d877e=+_0x24d0c6;if(!Number[_0x34fb62(0x323)](_0x1d877e)||_0x1d877e<0x8||_0x1d877e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x9967aa+_0x34fb62(0x2b3)+_0x24d0c6);_0x24d0c6=_0x1d877e;}else{if(_0x9967aa===_0x34fb62(0x339)||_0x9967aa===_0x34fb62(0x285)){if(_0x24d0c6!==!0x0)throw new TypeError(_0x34fb62(0x1de)+_0x9967aa+_0x34fb62(0x2b3)+_0x24d0c6);}else throw new Error(_0x34fb62(0x21e)+_0x9967aa+'\x22');}}_0x32b680[_0x9967aa]=_0x24d0c6;});}),_0x53739e;}[_0x2dfc9b(0x27b)](_0x481dce,_0x2b09ed,_0x3a1142){const _0x517f2a=_0x2dfc9b;_0x39b409[_0x517f2a(0x217)](_0x29906b=>{const _0x560c78=_0x517f2a;this[_0x560c78(0x300)](_0x481dce,_0x2b09ed,(_0x3cf1fe,_0x1ca1f6)=>{_0x29906b(),_0x3a1142(_0x3cf1fe,_0x1ca1f6);});});}['compress'](_0xce4eaf,_0x3ae96b,_0x2fbb17){const _0xe3e9d2=_0x2dfc9b;_0x39b409[_0xe3e9d2(0x217)](_0x3aa8d9=>{const _0x17db2d=_0xe3e9d2;this[_0x17db2d(0x1ef)](_0xce4eaf,_0x3ae96b,(_0x9a9ae5,_0x1ae29a)=>{_0x3aa8d9(),_0x2fbb17(_0x9a9ae5,_0x1ae29a);});});}['_decompress'](_0x18867f,_0x1e5881,_0xebc8f0){const _0x295e1a=_0x2dfc9b,_0x194c5a=this['_isServer']?'client':_0x295e1a(0x22b);if(!this[_0x295e1a(0x345)]){const _0x4571e4=_0x194c5a+'_max_window_bits',_0x5b08d0=typeof this[_0x295e1a(0x1bd)][_0x4571e4]!='number'?_0x2e8801[_0x295e1a(0x261)]:this[_0x295e1a(0x1bd)][_0x4571e4];this['_inflate']=_0x2e8801['createInflateRaw']({...this[_0x295e1a(0x278)]['zlibInflateOptions'],'windowBits':_0x5b08d0}),this[_0x295e1a(0x345)][_0xffd9ec]=this,this[_0x295e1a(0x345)][_0xd429af]=0x0,this['_inflate'][_0x296332]=[],this[_0x295e1a(0x345)]['on']('error',_0x3bce98),this[_0x295e1a(0x345)]['on'](_0x295e1a(0x238),_0x394a91);}this[_0x295e1a(0x345)][_0x38b8f4]=_0xebc8f0,this[_0x295e1a(0x345)][_0x295e1a(0x2c7)](_0x18867f),_0x1e5881&&this[_0x295e1a(0x345)][_0x295e1a(0x2c7)](_0x350393),this[_0x295e1a(0x345)][_0x295e1a(0x311)](()=>{const _0x57d0db=_0x295e1a,_0x40cc30=this['_inflate'][_0x195189];if(_0x40cc30){this[_0x57d0db(0x345)][_0x57d0db(0x236)](),this[_0x57d0db(0x345)]=null,_0xebc8f0(_0x40cc30);return;}const _0x520076=_0x2ec99b[_0x57d0db(0x291)](this['_inflate'][_0x296332],this[_0x57d0db(0x345)][_0xd429af]);this[_0x57d0db(0x345)][_0x57d0db(0x257)][_0x57d0db(0x338)]?(this['_inflate']['close'](),this[_0x57d0db(0x345)]=null):(this[_0x57d0db(0x345)][_0xd429af]=0x0,this[_0x57d0db(0x345)][_0x296332]=[],_0x1e5881&&this['params'][_0x194c5a+_0x57d0db(0x26a)]&&this[_0x57d0db(0x345)][_0x57d0db(0x337)]()),_0xebc8f0(null,_0x520076);});}[_0x2dfc9b(0x1ef)](_0x5d95ee,_0x5919e4,_0x38d272){const _0x74e3c3=_0x2dfc9b,_0x3a586f=this['_isServer']?_0x74e3c3(0x22b):_0x74e3c3(0x22f);if(!this[_0x74e3c3(0x2fe)]){const _0x25ad31=_0x3a586f+'_max_window_bits',_0x3d6f28=typeof this['params'][_0x25ad31]!='number'?_0x2e8801['Z_DEFAULT_WINDOWBITS']:this[_0x74e3c3(0x1bd)][_0x25ad31];this['_deflate']=_0x2e8801[_0x74e3c3(0x1db)]({...this['_options'][_0x74e3c3(0x29f)],'windowBits':_0x3d6f28}),this[_0x74e3c3(0x2fe)][_0xd429af]=0x0,this[_0x74e3c3(0x2fe)][_0x296332]=[],this[_0x74e3c3(0x2fe)]['on']('data',_0x1bffaf);}this[_0x74e3c3(0x2fe)][_0x38b8f4]=_0x38d272,this[_0x74e3c3(0x2fe)][_0x74e3c3(0x2c7)](_0x5d95ee),this[_0x74e3c3(0x2fe)][_0x74e3c3(0x311)](_0x2e8801[_0x74e3c3(0x33a)],()=>{const _0xf70ea0=_0x74e3c3;if(!this['_deflate'])return;let _0x557c2d=_0x2ec99b[_0xf70ea0(0x291)](this['_deflate'][_0x296332],this['_deflate'][_0xd429af]);_0x5919e4&&(_0x557c2d=new _0x1fbe80(_0x557c2d['buffer'],_0x557c2d['byteOffset'],_0x557c2d[_0xf70ea0(0x1b5)]-0x4)),this[_0xf70ea0(0x2fe)][_0x38b8f4]=null,this[_0xf70ea0(0x2fe)][_0xd429af]=0x0,this['_deflate'][_0x296332]=[],_0x5919e4&&this['params'][_0x3a586f+_0xf70ea0(0x26a)]&&this['_deflate'][_0xf70ea0(0x337)](),_0x38d272(null,_0x557c2d);});}}me=_0x4b2357;function _0x1bffaf(_0x133c74){const _0x1bdf57=_0x2dfc9b;this[_0x296332][_0x1bdf57(0x324)](_0x133c74),this[_0xd429af]+=_0x133c74[_0x1bdf57(0x1b5)];}function _0x394a91(_0x2029ba){const _0x6f0ad7=_0x2dfc9b;if(this[_0xd429af]+=_0x2029ba[_0x6f0ad7(0x1b5)],this[_0xffd9ec][_0x6f0ad7(0x22a)]<0x1||this[_0xd429af]<=this[_0xffd9ec][_0x6f0ad7(0x22a)]){this[_0x296332][_0x6f0ad7(0x324)](_0x2029ba);return;}this[_0x195189]=new RangeError(_0x6f0ad7(0x2f5)),this[_0x195189][_0x6f0ad7(0x272)]=_0x6f0ad7(0x2bb),this[_0x195189][_0x20bc7f]=0x3f1,this['removeListener'](_0x6f0ad7(0x238),_0x394a91),this[_0x6f0ad7(0x337)]();}function _0x3bce98(_0x20e8c4){const _0x2e4fcd=_0x2dfc9b;this[_0xffd9ec][_0x2e4fcd(0x345)]=null,_0x20e8c4[_0x20bc7f]=0x3ef,this[_0x38b8f4](_0x20e8c4);}return me;}var ee={'exports':{}};const At={},Ft=Object[_0x15f4d6(0x242)](Object['defineProperty']({'__proto__':null,'default':At},Symbol['toStringTag'],{'value':_0x15f4d6(0x1ba)})),Wt=rt(Ft);var Ve;function te(){const _0x25fcb7=_0x15f4d6;if(Ve)return ee['exports'];Ve=0x1;const {isUtf8:_0xb0c74}=_0x4f7818,{hasBlob:_0x3c4b24}=G(),_0x3e7a79=[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 _0x129233(_0x428df1){return _0x428df1>=0x3e8&&_0x428df1<=0x3f6&&_0x428df1!==0x3ec&&_0x428df1!==0x3ed&&_0x428df1!==0x3ee||_0x428df1>=0xbb8&&_0x428df1<=0x1387;}function _0x398152(_0x5a1044){const _0x982759=_0x2174,_0x1a97f1=_0x5a1044[_0x982759(0x1b5)];let _0x1e603d=0x0;for(;_0x1e603d<_0x1a97f1;)if(!(_0x5a1044[_0x1e603d]&0x80))_0x1e603d++;else{if((_0x5a1044[_0x1e603d]&0xe0)===0xc0){if(_0x1e603d+0x1===_0x1a97f1||(_0x5a1044[_0x1e603d+0x1]&0xc0)!==0x80||(_0x5a1044[_0x1e603d]&0xfe)===0xc0)return!0x1;_0x1e603d+=0x2;}else{if((_0x5a1044[_0x1e603d]&0xf0)===0xe0){if(_0x1e603d+0x2>=_0x1a97f1||(_0x5a1044[_0x1e603d+0x1]&0xc0)!==0x80||(_0x5a1044[_0x1e603d+0x2]&0xc0)!==0x80||_0x5a1044[_0x1e603d]===0xe0&&(_0x5a1044[_0x1e603d+0x1]&0xe0)===0x80||_0x5a1044[_0x1e603d]===0xed&&(_0x5a1044[_0x1e603d+0x1]&0xe0)===0xa0)return!0x1;_0x1e603d+=0x3;}else{if((_0x5a1044[_0x1e603d]&0xf8)===0xf0){if(_0x1e603d+0x3>=_0x1a97f1||(_0x5a1044[_0x1e603d+0x1]&0xc0)!==0x80||(_0x5a1044[_0x1e603d+0x2]&0xc0)!==0x80||(_0x5a1044[_0x1e603d+0x3]&0xc0)!==0x80||_0x5a1044[_0x1e603d]===0xf0&&(_0x5a1044[_0x1e603d+0x1]&0xf0)===0x80||_0x5a1044[_0x1e603d]===0xf4&&_0x5a1044[_0x1e603d+0x1]>0x8f||_0x5a1044[_0x1e603d]>0xf4)return!0x1;_0x1e603d+=0x4;}else return!0x1;}}}return!0x0;}function _0xa45596(_0xd4b7f6){const _0x37307a=_0x2174;return _0x3c4b24&&typeof _0xd4b7f6==_0x37307a(0x32a)&&typeof _0xd4b7f6[_0x37307a(0x1d5)]=='function'&&typeof _0xd4b7f6[_0x37307a(0x201)]==_0x37307a(0x24d)&&typeof _0xd4b7f6['stream']==_0x37307a(0x1cc)&&(_0xd4b7f6[Symbol[_0x37307a(0x1bf)]]===_0x37307a(0x1cf)||_0xd4b7f6[Symbol[_0x37307a(0x1bf)]]===_0x37307a(0x273));}if(ee[_0x25fcb7(0x351)]={'isBlob':_0xa45596,'isValidStatusCode':_0x129233,'isValidUTF8':_0x398152,'tokenChars':_0x3e7a79},_0xb0c74)ee[_0x25fcb7(0x351)][_0x25fcb7(0x30f)]=function(_0x4b3f04){const _0x545021=_0x25fcb7;return _0x4b3f04[_0x545021(0x1b5)]<0x18?_0x398152(_0x4b3f04):_0xb0c74(_0x4b3f04);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x535cd7=Wt;ee[_0x25fcb7(0x351)][_0x25fcb7(0x30f)]=function(_0x3aa0d5){return _0x3aa0d5['length']<0x20?_0x398152(_0x3aa0d5):_0x535cd7(_0x3aa0d5);};}catch{}}return ee[_0x25fcb7(0x351)];}var ge,qe;function st(){const _0x1dcfd1=_0x15f4d6;if(qe)return ge;qe=0x1;const {Writable:_0x1019e1}=_0x279084,_0x699f90=fe(),{BINARY_TYPES:_0x5b0a2b,EMPTY_BUFFER:_0x582d02,kStatusCode:_0x55e146,kWebSocket:_0x46cf53}=G(),{concat:_0x356878,toArrayBuffer:_0x21645a,unmask:_0x883283}=le(),{isValidStatusCode:_0x16efcf,isValidUTF8:_0xeabf8d}=te(),_0x412ead=Buffer[Symbol[_0x1dcfd1(0x202)]],_0x40c7e5=0x0,_0x4b3da3=0x1,_0x4e50d9=0x2,_0x44564a=0x3,_0xa1f40f=0x4,_0x22078b=0x5,_0x5254e7=0x6;class _0x3523c8 extends _0x1019e1{constructor(_0xa5ef5b={}){const _0x32d77f=_0x1dcfd1;super(),this['_allowSynchronousEvents']=_0xa5ef5b[_0x32d77f(0x2cf)]!==void 0x0?_0xa5ef5b[_0x32d77f(0x2cf)]:!0x0,this['_binaryType']=_0xa5ef5b[_0x32d77f(0x34b)]||_0x5b0a2b[0x0],this[_0x32d77f(0x24a)]=_0xa5ef5b[_0x32d77f(0x262)]||{},this[_0x32d77f(0x1fe)]=!!_0xa5ef5b[_0x32d77f(0x310)],this[_0x32d77f(0x22a)]=_0xa5ef5b[_0x32d77f(0x282)]|0x0,this[_0x32d77f(0x2dc)]=!!_0xa5ef5b[_0x32d77f(0x1e0)],this[_0x46cf53]=void 0x0,this[_0x32d77f(0x266)]=0x0,this[_0x32d77f(0x2aa)]=[],this[_0x32d77f(0x2b5)]=!0x1,this[_0x32d77f(0x1ed)]=0x0,this[_0x32d77f(0x248)]=void 0x0,this['_fragmented']=0x0,this[_0x32d77f(0x25f)]=!0x1,this[_0x32d77f(0x247)]=!0x1,this[_0x32d77f(0x289)]=0x0,this[_0x32d77f(0x1da)]=0x0,this[_0x32d77f(0x215)]=0x0,this['_fragments']=[],this[_0x32d77f(0x2e2)]=!0x1,this[_0x32d77f(0x1c1)]=!0x1,this[_0x32d77f(0x1c5)]=_0x40c7e5;}[_0x1dcfd1(0x1c6)](_0x4ac2f4,_0x2bb158,_0x5e3dfa){const _0x18b996=_0x1dcfd1;if(this['_opcode']===0x8&&this[_0x18b996(0x1c5)]==_0x40c7e5)return _0x5e3dfa();this[_0x18b996(0x266)]+=_0x4ac2f4[_0x18b996(0x1b5)],this[_0x18b996(0x2aa)][_0x18b996(0x324)](_0x4ac2f4),this[_0x18b996(0x210)](_0x5e3dfa);}['consume'](_0x1916dd){const _0x482386=_0x1dcfd1;if(this[_0x482386(0x266)]-=_0x1916dd,_0x1916dd===this[_0x482386(0x2aa)][0x0][_0x482386(0x1b5)])return this['_buffers'][_0x482386(0x31e)]();if(_0x1916dd<this[_0x482386(0x2aa)][0x0][_0x482386(0x1b5)]){const _0x1f2ef0=this['_buffers'][0x0];return this[_0x482386(0x2aa)][0x0]=new _0x412ead(_0x1f2ef0[_0x482386(0x344)],_0x1f2ef0[_0x482386(0x24c)]+_0x1916dd,_0x1f2ef0[_0x482386(0x1b5)]-_0x1916dd),new _0x412ead(_0x1f2ef0[_0x482386(0x344)],_0x1f2ef0[_0x482386(0x24c)],_0x1916dd);}const _0x1efe52=Buffer[_0x482386(0x1f5)](_0x1916dd);do{const _0x1264b2=this[_0x482386(0x2aa)][0x0],_0x17aa0f=_0x1efe52[_0x482386(0x1b5)]-_0x1916dd;_0x1916dd>=_0x1264b2[_0x482386(0x1b5)]?_0x1efe52['set'](this['_buffers']['shift'](),_0x17aa0f):(_0x1efe52[_0x482386(0x1fc)](new Uint8Array(_0x1264b2[_0x482386(0x344)],_0x1264b2['byteOffset'],_0x1916dd),_0x17aa0f),this['_buffers'][0x0]=new _0x412ead(_0x1264b2[_0x482386(0x344)],_0x1264b2[_0x482386(0x24c)]+_0x1916dd,_0x1264b2[_0x482386(0x1b5)]-_0x1916dd)),_0x1916dd-=_0x1264b2[_0x482386(0x1b5)];}while(_0x1916dd>0x0);return _0x1efe52;}[_0x1dcfd1(0x210)](_0x5546e1){const _0x32b2ef=_0x1dcfd1;this['_loop']=!0x0;do switch(this[_0x32b2ef(0x1c5)]){case _0x40c7e5:this[_0x32b2ef(0x224)](_0x5546e1);break;case _0x4b3da3:this[_0x32b2ef(0x297)](_0x5546e1);break;case _0x4e50d9:this[_0x32b2ef(0x240)](_0x5546e1);break;case _0x44564a:this[_0x32b2ef(0x1b8)]();break;case _0xa1f40f:this[_0x32b2ef(0x24b)](_0x5546e1);break;case _0x22078b:case _0x5254e7:this[_0x32b2ef(0x1c1)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x5546e1();}['getInfo'](_0x3f4d45){const _0x8b0914=_0x1dcfd1;if(this[_0x8b0914(0x266)]<0x2){this[_0x8b0914(0x1c1)]=!0x1;return;}const _0x234205=this[_0x8b0914(0x33d)](0x2);if(_0x234205[0x0]&0x30){const _0x5290a2=this['createError'](RangeError,_0x8b0914(0x1f1),!0x0,0x3ea,_0x8b0914(0x2d8));_0x3f4d45(_0x5290a2);return;}const _0x24d4f3=(_0x234205[0x0]&0x40)===0x40;if(_0x24d4f3&&!this[_0x8b0914(0x24a)][_0x699f90['extensionName']]){const _0x9a7b07=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x1c2),!0x0,0x3ea,_0x8b0914(0x2e0));_0x3f4d45(_0x9a7b07);return;}if(this['_fin']=(_0x234205[0x0]&0x80)===0x80,this[_0x8b0914(0x289)]=_0x234205[0x0]&0xf,this[_0x8b0914(0x1ed)]=_0x234205[0x1]&0x7f,this[_0x8b0914(0x289)]===0x0){if(_0x24d4f3){const _0xba62b8=this[_0x8b0914(0x2e6)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x8b0914(0x2e0));_0x3f4d45(_0xba62b8);return;}if(!this['_fragmented']){const _0xb901ea=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x22d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f4d45(_0xb901ea);return;}this[_0x8b0914(0x289)]=this[_0x8b0914(0x1c3)];}else{if(this[_0x8b0914(0x289)]===0x1||this[_0x8b0914(0x289)]===0x2){if(this[_0x8b0914(0x1c3)]){const _0x46d5e1=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x2c2)+this[_0x8b0914(0x289)],!0x0,0x3ea,_0x8b0914(0x2ff));_0x3f4d45(_0x46d5e1);return;}this['_compressed']=_0x24d4f3;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x3753e7=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x314),!0x0,0x3ea,_0x8b0914(0x306));_0x3f4d45(_0x3753e7);return;}if(_0x24d4f3){const _0x154abe=this['createError'](RangeError,_0x8b0914(0x1c2),!0x0,0x3ea,_0x8b0914(0x2e0));_0x3f4d45(_0x154abe);return;}if(this['_payloadLength']>0x7d||this[_0x8b0914(0x289)]===0x8&&this[_0x8b0914(0x1ed)]===0x1){const _0x4d3f45=this[_0x8b0914(0x2e6)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x8b0914(0x1ed)],!0x0,0x3ea,_0x8b0914(0x32f));_0x3f4d45(_0x4d3f45);return;}}else{const _0x5c6ca1=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x2c2)+this[_0x8b0914(0x289)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3f4d45(_0x5c6ca1);return;}}}if(!this[_0x8b0914(0x247)]&&!this[_0x8b0914(0x1c3)]&&(this[_0x8b0914(0x1c3)]=this['_opcode']),this[_0x8b0914(0x25f)]=(_0x234205[0x1]&0x80)===0x80,this[_0x8b0914(0x1fe)]){if(!this[_0x8b0914(0x25f)]){const _0x392477=this['createError'](RangeError,_0x8b0914(0x24f),!0x0,0x3ea,_0x8b0914(0x295));_0x3f4d45(_0x392477);return;}}else{if(this[_0x8b0914(0x25f)]){const _0x33d435=this[_0x8b0914(0x2e6)](RangeError,_0x8b0914(0x2d1),!0x0,0x3ea,_0x8b0914(0x1e8));_0x3f4d45(_0x33d435);return;}}this[_0x8b0914(0x1ed)]===0x7e?this['_state']=_0x4b3da3:this[_0x8b0914(0x1ed)]===0x7f?this[_0x8b0914(0x1c5)]=_0x4e50d9:this['haveLength'](_0x3f4d45);}[_0x1dcfd1(0x297)](_0x2a55c7){const _0x823ad4=_0x1dcfd1;if(this[_0x823ad4(0x266)]<0x2){this[_0x823ad4(0x1c1)]=!0x1;return;}this[_0x823ad4(0x1ed)]=this[_0x823ad4(0x33d)](0x2)[_0x823ad4(0x268)](0x0),this[_0x823ad4(0x223)](_0x2a55c7);}[_0x1dcfd1(0x240)](_0x1ad4a3){const _0x48324f=_0x1dcfd1;if(this[_0x48324f(0x266)]<0x8){this[_0x48324f(0x1c1)]=!0x1;return;}const _0x5088ca=this[_0x48324f(0x33d)](0x8),_0x595bfe=_0x5088ca[_0x48324f(0x2a9)](0x0);if(_0x595bfe>Math[_0x48324f(0x2d3)](0x2,0x15)-0x1){const _0x32d233=this[_0x48324f(0x2e6)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1ad4a3(_0x32d233);return;}this[_0x48324f(0x1ed)]=_0x595bfe*Math['pow'](0x2,0x20)+_0x5088ca[_0x48324f(0x2a9)](0x4),this[_0x48324f(0x223)](_0x1ad4a3);}[_0x1dcfd1(0x223)](_0xddb3a6){const _0x576134=_0x1dcfd1;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x576134(0x1da)]+=this[_0x576134(0x1ed)],this[_0x576134(0x1da)]>this[_0x576134(0x22a)]&&this[_0x576134(0x22a)]>0x0)){const _0x43344c=this[_0x576134(0x2e6)](RangeError,_0x576134(0x2f5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xddb3a6(_0x43344c);return;}this[_0x576134(0x25f)]?this[_0x576134(0x1c5)]=_0x44564a:this[_0x576134(0x1c5)]=_0xa1f40f;}['getMask'](){const _0x3553e3=_0x1dcfd1;if(this['_bufferedBytes']<0x4){this[_0x3553e3(0x1c1)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x3553e3(0x1c5)]=_0xa1f40f;}[_0x1dcfd1(0x24b)](_0x36a7b0){const _0x198601=_0x1dcfd1;let _0x36cee1=_0x582d02;if(this[_0x198601(0x1ed)]){if(this[_0x198601(0x266)]<this[_0x198601(0x1ed)]){this[_0x198601(0x1c1)]=!0x1;return;}_0x36cee1=this[_0x198601(0x33d)](this[_0x198601(0x1ed)]),this[_0x198601(0x25f)]&&this[_0x198601(0x248)][0x0]|this[_0x198601(0x248)][0x1]|this[_0x198601(0x248)][0x2]|this[_0x198601(0x248)][0x3]&&_0x883283(_0x36cee1,this[_0x198601(0x248)]);}if(this['_opcode']>0x7){this['controlMessage'](_0x36cee1,_0x36a7b0);return;}if(this[_0x198601(0x2b5)]){this['_state']=_0x22078b,this[_0x198601(0x27b)](_0x36cee1,_0x36a7b0);return;}_0x36cee1[_0x198601(0x1b5)]&&(this[_0x198601(0x215)]=this['_totalPayloadLength'],this[_0x198601(0x2d4)]['push'](_0x36cee1)),this[_0x198601(0x211)](_0x36a7b0);}[_0x1dcfd1(0x27b)](_0x3de4f4,_0x359ebd){const _0xfdde2d=_0x1dcfd1;this[_0xfdde2d(0x24a)][_0x699f90[_0xfdde2d(0x354)]][_0xfdde2d(0x27b)](_0x3de4f4,this['_fin'],(_0x3333fd,_0x4d575d)=>{const _0x386db1=_0xfdde2d;if(_0x3333fd)return _0x359ebd(_0x3333fd);if(_0x4d575d['length']){if(this[_0x386db1(0x215)]+=_0x4d575d[_0x386db1(0x1b5)],this[_0x386db1(0x215)]>this['_maxPayload']&&this[_0x386db1(0x22a)]>0x0){const _0x5aa35b=this['createError'](RangeError,_0x386db1(0x2f5),!0x1,0x3f1,_0x386db1(0x2bb));_0x359ebd(_0x5aa35b);return;}this[_0x386db1(0x2d4)][_0x386db1(0x324)](_0x4d575d);}this[_0x386db1(0x211)](_0x359ebd),this['_state']===_0x40c7e5&&this[_0x386db1(0x210)](_0x359ebd);});}[_0x1dcfd1(0x211)](_0x3e76db){const _0x494cff=_0x1dcfd1;if(!this[_0x494cff(0x247)]){this[_0x494cff(0x1c5)]=_0x40c7e5;return;}const _0x4b1d80=this[_0x494cff(0x215)],_0x1d1764=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x494cff(0x215)]=0x0,this[_0x494cff(0x1c3)]=0x0,this[_0x494cff(0x2d4)]=[],this['_opcode']===0x2){let _0x6b9e3b;this[_0x494cff(0x321)]===_0x494cff(0x1b7)?_0x6b9e3b=_0x356878(_0x1d1764,_0x4b1d80):this[_0x494cff(0x321)]===_0x494cff(0x352)?_0x6b9e3b=_0x21645a(_0x356878(_0x1d1764,_0x4b1d80)):this[_0x494cff(0x321)]===_0x494cff(0x1b9)?_0x6b9e3b=new Blob(_0x1d1764):_0x6b9e3b=_0x1d1764,this['_allowSynchronousEvents']?(this[_0x494cff(0x23f)](_0x494cff(0x1e5),_0x6b9e3b,!0x0),this[_0x494cff(0x1c5)]=_0x40c7e5):(this['_state']=_0x5254e7,setImmediate(()=>{const _0x272a21=_0x494cff;this['emit'](_0x272a21(0x1e5),_0x6b9e3b,!0x0),this[_0x272a21(0x1c5)]=_0x40c7e5,this['startLoop'](_0x3e76db);}));}else{const _0x103aff=_0x356878(_0x1d1764,_0x4b1d80);if(!this[_0x494cff(0x2dc)]&&!_0xeabf8d(_0x103aff)){const _0x174942=this[_0x494cff(0x2e6)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x494cff(0x27f));_0x3e76db(_0x174942);return;}this[_0x494cff(0x1c5)]===_0x22078b||this[_0x494cff(0x2a6)]?(this[_0x494cff(0x23f)](_0x494cff(0x1e5),_0x103aff,!0x1),this[_0x494cff(0x1c5)]=_0x40c7e5):(this[_0x494cff(0x1c5)]=_0x5254e7,setImmediate(()=>{const _0x3bb439=_0x494cff;this[_0x3bb439(0x23f)](_0x3bb439(0x1e5),_0x103aff,!0x1),this[_0x3bb439(0x1c5)]=_0x40c7e5,this[_0x3bb439(0x210)](_0x3e76db);}));}}[_0x1dcfd1(0x253)](_0x24a9c7,_0x49b3ff){const _0x1c0d50=_0x1dcfd1;if(this[_0x1c0d50(0x289)]===0x8){if(_0x24a9c7[_0x1c0d50(0x1b5)]===0x0)this['_loop']=!0x1,this[_0x1c0d50(0x23f)](_0x1c0d50(0x332),0x3ed,_0x582d02),this[_0x1c0d50(0x1c4)]();else{const _0x6fdc3f=_0x24a9c7[_0x1c0d50(0x268)](0x0);if(!_0x16efcf(_0x6fdc3f)){const _0x259426=this['createError'](RangeError,_0x1c0d50(0x258)+_0x6fdc3f,!0x0,0x3ea,_0x1c0d50(0x1f8));_0x49b3ff(_0x259426);return;}const _0x2271cf=new _0x412ead(_0x24a9c7[_0x1c0d50(0x344)],_0x24a9c7[_0x1c0d50(0x24c)]+0x2,_0x24a9c7[_0x1c0d50(0x1b5)]-0x2);if(!this[_0x1c0d50(0x2dc)]&&!_0xeabf8d(_0x2271cf)){const _0x26c606=this[_0x1c0d50(0x2e6)](Error,_0x1c0d50(0x208),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x49b3ff(_0x26c606);return;}this[_0x1c0d50(0x1c1)]=!0x1,this[_0x1c0d50(0x23f)](_0x1c0d50(0x332),_0x6fdc3f,_0x2271cf),this[_0x1c0d50(0x1c4)]();}this['_state']=_0x40c7e5;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x1c0d50(0x289)]===0x9?'ping':_0x1c0d50(0x2ab),_0x24a9c7),this[_0x1c0d50(0x1c5)]=_0x40c7e5):(this[_0x1c0d50(0x1c5)]=_0x5254e7,setImmediate(()=>{const _0x339d68=_0x1c0d50;this[_0x339d68(0x23f)](this[_0x339d68(0x289)]===0x9?'ping':_0x339d68(0x2ab),_0x24a9c7),this[_0x339d68(0x1c5)]=_0x40c7e5,this[_0x339d68(0x210)](_0x49b3ff);}));}['createError'](_0x110ccc,_0x1a7dc2,_0x24dac1,_0x163685,_0x55761c){const _0x9836b3=_0x1dcfd1;this[_0x9836b3(0x1c1)]=!0x1,this[_0x9836b3(0x2e2)]=!0x0;const _0x14515b=new _0x110ccc(_0x24dac1?_0x9836b3(0x30d)+_0x1a7dc2:_0x1a7dc2);return Error[_0x9836b3(0x25b)](_0x14515b,this[_0x9836b3(0x2e6)]),_0x14515b[_0x9836b3(0x272)]=_0x55761c,_0x14515b[_0x55e146]=_0x163685,_0x14515b;}}return ge=_0x3523c8,ge;}st();var ye,He;function it(){const _0x1ccdc0=_0x15f4d6;if(He)return ye;He=0x1;const {randomFillSync:_0x5b55c9}=_0x5f3e2f,_0xb100d6=fe(),{EMPTY_BUFFER:_0x3e9949,kWebSocket:_0x5400dc,NOOP:_0x56607b}=G(),{isBlob:_0x2b2478,isValidStatusCode:_0x2e0c73}=te(),{mask:_0x1dbf83,toBuffer:_0xca76b2}=le(),_0xaf6ea7=Symbol(_0x1ccdc0(0x2bf)),_0x32a3db=Buffer['alloc'](0x4),_0xdeb56=0x8*0x400;let _0x3c79a7,_0x4472ae=_0xdeb56;const _0x5ca05d=0x0,_0x180e04=0x1,_0x2398d4=0x2;class _0x4e8076{constructor(_0x11f578,_0x1a7a43,_0x2a38a4){const _0x313e3c=_0x1ccdc0;this[_0x313e3c(0x24a)]=_0x1a7a43||{},_0x2a38a4&&(this[_0x313e3c(0x1ee)]=_0x2a38a4,this[_0x313e3c(0x32c)]=Buffer[_0x313e3c(0x320)](0x4)),this[_0x313e3c(0x28e)]=_0x11f578,this['_firstFragment']=!0x0,this[_0x313e3c(0x1ef)]=!0x1,this[_0x313e3c(0x266)]=0x0,this[_0x313e3c(0x296)]=[],this[_0x313e3c(0x1c5)]=_0x5ca05d,this[_0x313e3c(0x25c)]=_0x56607b,this[_0x5400dc]=void 0x0;}static['frame'](_0x12fcfd,_0x5e59c0){const _0x2ae29a=_0x1ccdc0;let _0xeda578,_0x1d24d4=!0x1,_0x4cc617=0x2,_0x201874=!0x1;_0x5e59c0[_0x2ae29a(0x1c8)]&&(_0xeda578=_0x5e59c0[_0x2ae29a(0x1dc)]||_0x32a3db,_0x5e59c0['generateMask']?_0x5e59c0['generateMask'](_0xeda578):(_0x4472ae===_0xdeb56&&(_0x3c79a7===void 0x0&&(_0x3c79a7=Buffer[_0x2ae29a(0x320)](_0xdeb56)),_0x5b55c9(_0x3c79a7,0x0,_0xdeb56),_0x4472ae=0x0),_0xeda578[0x0]=_0x3c79a7[_0x4472ae++],_0xeda578[0x1]=_0x3c79a7[_0x4472ae++],_0xeda578[0x2]=_0x3c79a7[_0x4472ae++],_0xeda578[0x3]=_0x3c79a7[_0x4472ae++]),_0x201874=(_0xeda578[0x0]|_0xeda578[0x1]|_0xeda578[0x2]|_0xeda578[0x3])===0x0,_0x4cc617=0x6);let _0xc11771;typeof _0x12fcfd==_0x2ae29a(0x24d)?(!_0x5e59c0[_0x2ae29a(0x1c8)]||_0x201874)&&_0x5e59c0[_0xaf6ea7]!==void 0x0?_0xc11771=_0x5e59c0[_0xaf6ea7]:(_0x12fcfd=Buffer[_0x2ae29a(0x350)](_0x12fcfd),_0xc11771=_0x12fcfd['length']):(_0xc11771=_0x12fcfd[_0x2ae29a(0x1b5)],_0x1d24d4=_0x5e59c0[_0x2ae29a(0x1c8)]&&_0x5e59c0['readOnly']&&!_0x201874);let _0x51b0b1=_0xc11771;_0xc11771>=0x10000?(_0x4cc617+=0x8,_0x51b0b1=0x7f):_0xc11771>0x7d&&(_0x4cc617+=0x2,_0x51b0b1=0x7e);const _0xd0a81=Buffer['allocUnsafe'](_0x1d24d4?_0xc11771+_0x4cc617:_0x4cc617);return _0xd0a81[0x0]=_0x5e59c0[_0x2ae29a(0x234)]?_0x5e59c0[_0x2ae29a(0x341)]|0x80:_0x5e59c0[_0x2ae29a(0x341)],_0x5e59c0[_0x2ae29a(0x277)]&&(_0xd0a81[0x0]|=0x40),_0xd0a81[0x1]=_0x51b0b1,_0x51b0b1===0x7e?_0xd0a81[_0x2ae29a(0x1d8)](_0xc11771,0x2):_0x51b0b1===0x7f&&(_0xd0a81[0x2]=_0xd0a81[0x3]=0x0,_0xd0a81[_0x2ae29a(0x2f6)](_0xc11771,0x4,0x6)),_0x5e59c0['mask']?(_0xd0a81[0x1]|=0x80,_0xd0a81[_0x4cc617-0x4]=_0xeda578[0x0],_0xd0a81[_0x4cc617-0x3]=_0xeda578[0x1],_0xd0a81[_0x4cc617-0x2]=_0xeda578[0x2],_0xd0a81[_0x4cc617-0x1]=_0xeda578[0x3],_0x201874?[_0xd0a81,_0x12fcfd]:_0x1d24d4?(_0x1dbf83(_0x12fcfd,_0xeda578,_0xd0a81,_0x4cc617,_0xc11771),[_0xd0a81]):(_0x1dbf83(_0x12fcfd,_0xeda578,_0x12fcfd,0x0,_0xc11771),[_0xd0a81,_0x12fcfd])):[_0xd0a81,_0x12fcfd];}['close'](_0x4ee44a,_0x481168,_0x33423a,_0x4163e4){const _0x2a6b98=_0x1ccdc0;let _0x333baa;if(_0x4ee44a===void 0x0)_0x333baa=_0x3e9949;else{if(typeof _0x4ee44a!=_0x2a6b98(0x23d)||!_0x2e0c73(_0x4ee44a))throw new TypeError(_0x2a6b98(0x28f));if(_0x481168===void 0x0||!_0x481168[_0x2a6b98(0x1b5)])_0x333baa=Buffer[_0x2a6b98(0x1f5)](0x2),_0x333baa[_0x2a6b98(0x1d8)](_0x4ee44a,0x0);else{const _0x399079=Buffer[_0x2a6b98(0x26e)](_0x481168);if(_0x399079>0x7b)throw new RangeError(_0x2a6b98(0x1ea));_0x333baa=Buffer[_0x2a6b98(0x1f5)](0x2+_0x399079),_0x333baa['writeUInt16BE'](_0x4ee44a,0x0),typeof _0x481168==_0x2a6b98(0x24d)?_0x333baa[_0x2a6b98(0x2c7)](_0x481168,0x2):_0x333baa[_0x2a6b98(0x1fc)](_0x481168,0x2);}}const _0x1dea62={[_0xaf6ea7]:_0x333baa[_0x2a6b98(0x1b5)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33423a,'maskBuffer':this[_0x2a6b98(0x32c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2a6b98(0x1c5)]!==_0x5ca05d?this['enqueue']([this['dispatch'],_0x333baa,!0x1,_0x1dea62,_0x4163e4]):this[_0x2a6b98(0x22c)](_0x4e8076[_0x2a6b98(0x1df)](_0x333baa,_0x1dea62),_0x4163e4);}[_0x1ccdc0(0x343)](_0x485ba2,_0x248104,_0x9714e2){const _0x247058=_0x1ccdc0;let _0x548fab,_0x5e2c68;if(typeof _0x485ba2==_0x247058(0x24d)?(_0x548fab=Buffer[_0x247058(0x26e)](_0x485ba2),_0x5e2c68=!0x1):_0x2b2478(_0x485ba2)?(_0x548fab=_0x485ba2[_0x247058(0x2c5)],_0x5e2c68=!0x1):(_0x485ba2=_0xca76b2(_0x485ba2),_0x548fab=_0x485ba2[_0x247058(0x1b5)],_0x5e2c68=_0xca76b2[_0x247058(0x2b4)]),_0x548fab>0x7d)throw new RangeError(_0x247058(0x2ee));const _0x596db4={[_0xaf6ea7]:_0x548fab,'fin':!0x0,'generateMask':this[_0x247058(0x1ee)],'mask':_0x248104,'maskBuffer':this[_0x247058(0x32c)],'opcode':0x9,'readOnly':_0x5e2c68,'rsv1':!0x1};_0x2b2478(_0x485ba2)?this[_0x247058(0x1c5)]!==_0x5ca05d?this[_0x247058(0x260)]([this[_0x247058(0x2c4)],_0x485ba2,!0x1,_0x596db4,_0x9714e2]):this[_0x247058(0x2c4)](_0x485ba2,!0x1,_0x596db4,_0x9714e2):this[_0x247058(0x1c5)]!==_0x5ca05d?this[_0x247058(0x260)]([this[_0x247058(0x219)],_0x485ba2,!0x1,_0x596db4,_0x9714e2]):this[_0x247058(0x22c)](_0x4e8076['frame'](_0x485ba2,_0x596db4),_0x9714e2);}[_0x1ccdc0(0x2ab)](_0x1c979f,_0x5e7de9,_0x5c565b){const _0x1cec72=_0x1ccdc0;let _0x1818f2,_0xd22ba6;if(typeof _0x1c979f==_0x1cec72(0x24d)?(_0x1818f2=Buffer[_0x1cec72(0x26e)](_0x1c979f),_0xd22ba6=!0x1):_0x2b2478(_0x1c979f)?(_0x1818f2=_0x1c979f[_0x1cec72(0x2c5)],_0xd22ba6=!0x1):(_0x1c979f=_0xca76b2(_0x1c979f),_0x1818f2=_0x1c979f[_0x1cec72(0x1b5)],_0xd22ba6=_0xca76b2[_0x1cec72(0x2b4)]),_0x1818f2>0x7d)throw new RangeError(_0x1cec72(0x2ee));const _0x3b2747={[_0xaf6ea7]:_0x1818f2,'fin':!0x0,'generateMask':this[_0x1cec72(0x1ee)],'mask':_0x5e7de9,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0xd22ba6,'rsv1':!0x1};_0x2b2478(_0x1c979f)?this[_0x1cec72(0x1c5)]!==_0x5ca05d?this[_0x1cec72(0x260)]([this['getBlobData'],_0x1c979f,!0x1,_0x3b2747,_0x5c565b]):this[_0x1cec72(0x2c4)](_0x1c979f,!0x1,_0x3b2747,_0x5c565b):this['_state']!==_0x5ca05d?this['enqueue']([this[_0x1cec72(0x219)],_0x1c979f,!0x1,_0x3b2747,_0x5c565b]):this['sendFrame'](_0x4e8076[_0x1cec72(0x1df)](_0x1c979f,_0x3b2747),_0x5c565b);}[_0x1ccdc0(0x246)](_0x42febe,_0x4cba71,_0x1525c5){const _0x5d18fe=_0x1ccdc0,_0x59094c=this[_0x5d18fe(0x24a)][_0xb100d6['extensionName']];let _0x2d3d24=_0x4cba71['binary']?0x2:0x1,_0x8ba11e=_0x4cba71['compress'],_0x365b4d,_0x563e13;typeof _0x42febe==_0x5d18fe(0x24d)?(_0x365b4d=Buffer[_0x5d18fe(0x26e)](_0x42febe),_0x563e13=!0x1):_0x2b2478(_0x42febe)?(_0x365b4d=_0x42febe[_0x5d18fe(0x2c5)],_0x563e13=!0x1):(_0x42febe=_0xca76b2(_0x42febe),_0x365b4d=_0x42febe['length'],_0x563e13=_0xca76b2[_0x5d18fe(0x2b4)]),this[_0x5d18fe(0x2f0)]?(this['_firstFragment']=!0x1,_0x8ba11e&&_0x59094c&&_0x59094c['params'][_0x59094c[_0x5d18fe(0x1fe)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x8ba11e=_0x365b4d>=_0x59094c[_0x5d18fe(0x2bd)]),this[_0x5d18fe(0x1ef)]=_0x8ba11e):(_0x8ba11e=!0x1,_0x2d3d24=0x0),_0x4cba71[_0x5d18fe(0x234)]&&(this['_firstFragment']=!0x0);const _0x43c358={[_0xaf6ea7]:_0x365b4d,'fin':_0x4cba71[_0x5d18fe(0x234)],'generateMask':this['_generateMask'],'mask':_0x4cba71[_0x5d18fe(0x1c8)],'maskBuffer':this[_0x5d18fe(0x32c)],'opcode':_0x2d3d24,'readOnly':_0x563e13,'rsv1':_0x8ba11e};_0x2b2478(_0x42febe)?this[_0x5d18fe(0x1c5)]!==_0x5ca05d?this['enqueue']([this[_0x5d18fe(0x2c4)],_0x42febe,this[_0x5d18fe(0x1ef)],_0x43c358,_0x1525c5]):this[_0x5d18fe(0x2c4)](_0x42febe,this[_0x5d18fe(0x1ef)],_0x43c358,_0x1525c5):this[_0x5d18fe(0x1c5)]!==_0x5ca05d?this[_0x5d18fe(0x260)]([this[_0x5d18fe(0x219)],_0x42febe,this['_compress'],_0x43c358,_0x1525c5]):this[_0x5d18fe(0x219)](_0x42febe,this['_compress'],_0x43c358,_0x1525c5);}[_0x1ccdc0(0x2c4)](_0x490db1,_0x3a4dba,_0x5ddde9,_0x556d72){const _0x53277f=_0x1ccdc0;this['_bufferedBytes']+=_0x5ddde9[_0xaf6ea7],this[_0x53277f(0x1c5)]=_0x2398d4,_0x490db1[_0x53277f(0x1d5)]()['then'](_0x2c227b=>{const _0x598ffa=_0x53277f;if(this[_0x598ffa(0x28e)][_0x598ffa(0x292)]){const _0x2e3516=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x598ffa(0x349)](_0xbd19c7,this,_0x2e3516,_0x556d72);return;}this[_0x598ffa(0x266)]-=_0x5ddde9[_0xaf6ea7];const _0x3d73e3=_0xca76b2(_0x2c227b);_0x3a4dba?this[_0x598ffa(0x219)](_0x3d73e3,_0x3a4dba,_0x5ddde9,_0x556d72):(this[_0x598ffa(0x1c5)]=_0x5ca05d,this[_0x598ffa(0x22c)](_0x4e8076[_0x598ffa(0x1df)](_0x3d73e3,_0x5ddde9),_0x556d72),this[_0x598ffa(0x2d5)]());})[_0x53277f(0x251)](_0x27a62a=>{process['nextTick'](_0x239fcc,this,_0x27a62a,_0x556d72);});}['dispatch'](_0x3d719d,_0x8006ba,_0x14ca50,_0x1fbd84){const _0x3bda82=_0x1ccdc0;if(!_0x8006ba){this[_0x3bda82(0x22c)](_0x4e8076[_0x3bda82(0x1df)](_0x3d719d,_0x14ca50),_0x1fbd84);return;}const _0xba15f0=this[_0x3bda82(0x24a)][_0xb100d6[_0x3bda82(0x354)]];this[_0x3bda82(0x266)]+=_0x14ca50[_0xaf6ea7],this[_0x3bda82(0x1c5)]=_0x180e04,_0xba15f0[_0x3bda82(0x2e7)](_0x3d719d,_0x14ca50[_0x3bda82(0x234)],(_0x5664e3,_0x380467)=>{const _0xfc1fc8=_0x3bda82;if(this[_0xfc1fc8(0x28e)][_0xfc1fc8(0x292)]){const _0x1d94e1=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0xbd19c7(this,_0x1d94e1,_0x1fbd84);return;}this['_bufferedBytes']-=_0x14ca50[_0xaf6ea7],this[_0xfc1fc8(0x1c5)]=_0x5ca05d,_0x14ca50['readOnly']=!0x1,this['sendFrame'](_0x4e8076['frame'](_0x380467,_0x14ca50),_0x1fbd84),this[_0xfc1fc8(0x2d5)]();});}[_0x1ccdc0(0x2d5)](){const _0x114c61=_0x1ccdc0;for(;this['_state']===_0x5ca05d&&this[_0x114c61(0x296)][_0x114c61(0x1b5)];){const _0xcf8fac=this[_0x114c61(0x296)][_0x114c61(0x31e)]();this[_0x114c61(0x266)]-=_0xcf8fac[0x3][_0xaf6ea7],Reflect['apply'](_0xcf8fac[0x0],this,_0xcf8fac[_0x114c61(0x304)](0x1));}}[_0x1ccdc0(0x260)](_0x22caa9){const _0x425313=_0x1ccdc0;this[_0x425313(0x266)]+=_0x22caa9[0x3][_0xaf6ea7],this[_0x425313(0x296)][_0x425313(0x324)](_0x22caa9);}[_0x1ccdc0(0x22c)](_0x1965c5,_0x2578b7){const _0x34481c=_0x1ccdc0;_0x1965c5[_0x34481c(0x1b5)]===0x2?(this[_0x34481c(0x28e)][_0x34481c(0x34a)](),this['_socket'][_0x34481c(0x2c7)](_0x1965c5[0x0]),this[_0x34481c(0x28e)][_0x34481c(0x2c7)](_0x1965c5[0x1],_0x2578b7),this[_0x34481c(0x28e)][_0x34481c(0x2b7)]()):this[_0x34481c(0x28e)]['write'](_0x1965c5[0x0],_0x2578b7);}}ye=_0x4e8076;function _0xbd19c7(_0x286891,_0x2f370e,_0x3818a7){const _0x20748b=_0x1ccdc0;typeof _0x3818a7==_0x20748b(0x1cc)&&_0x3818a7(_0x2f370e);for(let _0x9cd387=0x0;_0x9cd387<_0x286891['_queue']['length'];_0x9cd387++){const _0x52bf89=_0x286891[_0x20748b(0x296)][_0x9cd387],_0x1b1d92=_0x52bf89[_0x52bf89[_0x20748b(0x1b5)]-0x1];typeof _0x1b1d92==_0x20748b(0x1cc)&&_0x1b1d92(_0x2f370e);}}function _0x239fcc(_0x560415,_0x5f407a,_0x4bc0e8){const _0x1e5c1e=_0x1ccdc0;_0xbd19c7(_0x560415,_0x5f407a,_0x4bc0e8),_0x560415[_0x1e5c1e(0x25c)](_0x5f407a);}return ye;}it();var ve,ze;function jt(){const _0x597b27=_0x15f4d6;if(ze)return ve;ze=0x1;const {kForOnEventAttribute:_0x5b93ce,kListener:_0x7953ef}=G(),_0xaf6a5a=Symbol(_0x597b27(0x1cd)),_0x258a32=Symbol('kData'),_0x14fc23=Symbol(_0x597b27(0x1f6)),_0x4815af=Symbol(_0x597b27(0x2de)),_0xc6ef76=Symbol(_0x597b27(0x28a)),_0x3d082e=Symbol(_0x597b27(0x1f4)),_0x33039e=Symbol(_0x597b27(0x1f2)),_0x3c1c4a=Symbol(_0x597b27(0x2df));class _0x21e56f{constructor(_0x4aa941){this[_0x3d082e]=null,this[_0x33039e]=_0x4aa941;}get[_0x597b27(0x34c)](){return this[_0x3d082e];}get[_0x597b27(0x201)](){return this[_0x33039e];}}Object['defineProperty'](_0x21e56f[_0x597b27(0x26f)],_0x597b27(0x34c),{'enumerable':!0x0}),Object['defineProperty'](_0x21e56f['prototype'],_0x597b27(0x201),{'enumerable':!0x0});class _0x1d51ca extends _0x21e56f{constructor(_0x7645d6,_0x26ee4a={}){const _0x2b116d=_0x597b27;super(_0x7645d6),this[_0xaf6a5a]=_0x26ee4a[_0x2b116d(0x272)]===void 0x0?0x0:_0x26ee4a[_0x2b116d(0x272)],this[_0xc6ef76]=_0x26ee4a[_0x2b116d(0x313)]===void 0x0?'':_0x26ee4a[_0x2b116d(0x313)],this[_0x3c1c4a]=_0x26ee4a['wasClean']===void 0x0?!0x1:_0x26ee4a[_0x2b116d(0x2c1)];}get[_0x597b27(0x272)](){return this[_0xaf6a5a];}get['reason'](){return this[_0xc6ef76];}get[_0x597b27(0x2c1)](){return this[_0x3c1c4a];}}Object[_0x597b27(0x2b0)](_0x1d51ca['prototype'],_0x597b27(0x272),{'enumerable':!0x0}),Object['defineProperty'](_0x1d51ca[_0x597b27(0x26f)],_0x597b27(0x313),{'enumerable':!0x0}),Object[_0x597b27(0x2b0)](_0x1d51ca[_0x597b27(0x26f)],_0x597b27(0x2c1),{'enumerable':!0x0});class _0xea8cc7 extends _0x21e56f{constructor(_0x2f14fc,_0x5ee229={}){const _0x53f49c=_0x597b27;super(_0x2f14fc),this[_0x14fc23]=_0x5ee229['error']===void 0x0?null:_0x5ee229[_0x53f49c(0x230)],this[_0x4815af]=_0x5ee229[_0x53f49c(0x1e5)]===void 0x0?'':_0x5ee229['message'];}get[_0x597b27(0x230)](){return this[_0x14fc23];}get[_0x597b27(0x1e5)](){return this[_0x4815af];}}Object[_0x597b27(0x2b0)](_0xea8cc7[_0x597b27(0x26f)],_0x597b27(0x230),{'enumerable':!0x0}),Object[_0x597b27(0x2b0)](_0xea8cc7[_0x597b27(0x26f)],_0x597b27(0x1e5),{'enumerable':!0x0});class _0x2ed9ab extends _0x21e56f{constructor(_0x2c739c,_0x1accdb={}){const _0x4cf4b1=_0x597b27;super(_0x2c739c),this[_0x258a32]=_0x1accdb[_0x4cf4b1(0x238)]===void 0x0?null:_0x1accdb[_0x4cf4b1(0x238)];}get['data'](){return this[_0x258a32];}}Object[_0x597b27(0x2b0)](_0x2ed9ab['prototype'],'data',{'enumerable':!0x0}),ve={'CloseEvent':_0x1d51ca,'ErrorEvent':_0xea8cc7,'Event':_0x21e56f,'EventTarget':{'addEventListener'(_0x4c78e0,_0x2b9f96,_0xff2bbe={}){const _0xcae12a=_0x597b27;for(const _0x3d132f of this['listeners'](_0x4c78e0))if(!_0xff2bbe[_0x5b93ce]&&_0x3d132f[_0x7953ef]===_0x2b9f96&&!_0x3d132f[_0x5b93ce])return;let _0x3d08e6;if(_0x4c78e0==='message')_0x3d08e6=function(_0x385b2e,_0x353aeb){const _0x1301e7=_0x2174,_0x2b2eb4=new _0x2ed9ab('message',{'data':_0x353aeb?_0x385b2e:_0x385b2e[_0x1301e7(0x34e)]()});_0x2b2eb4[_0x3d082e]=this,_0x44d304(_0x2b9f96,this,_0x2b2eb4);};else{if(_0x4c78e0===_0xcae12a(0x236))_0x3d08e6=function(_0x1d57e4,_0x5092b5){const _0x176f2e=_0xcae12a,_0x1c3bff=new _0x1d51ca(_0x176f2e(0x236),{'code':_0x1d57e4,'reason':_0x5092b5[_0x176f2e(0x34e)](),'wasClean':this[_0x176f2e(0x1b1)]&&this['_closeFrameSent']});_0x1c3bff[_0x3d082e]=this,_0x44d304(_0x2b9f96,this,_0x1c3bff);};else{if(_0x4c78e0===_0xcae12a(0x230))_0x3d08e6=function(_0x5a4e38){const _0x432a55=_0xcae12a,_0x767c5a=new _0xea8cc7(_0x432a55(0x230),{'error':_0x5a4e38,'message':_0x5a4e38['message']});_0x767c5a[_0x3d082e]=this,_0x44d304(_0x2b9f96,this,_0x767c5a);};else{if(_0x4c78e0===_0xcae12a(0x218))_0x3d08e6=function(){const _0x13d818=_0xcae12a,_0x1ac6c4=new _0x21e56f(_0x13d818(0x218));_0x1ac6c4[_0x3d082e]=this,_0x44d304(_0x2b9f96,this,_0x1ac6c4);};else return;}}}_0x3d08e6[_0x5b93ce]=!!_0xff2bbe[_0x5b93ce],_0x3d08e6[_0x7953ef]=_0x2b9f96,_0xff2bbe[_0xcae12a(0x2c3)]?this['once'](_0x4c78e0,_0x3d08e6):this['on'](_0x4c78e0,_0x3d08e6);},'removeEventListener'(_0x297e17,_0x39b344){const _0x8ce83b=_0x597b27;for(const _0x2c6667 of this[_0x8ce83b(0x2c8)](_0x297e17))if(_0x2c6667[_0x7953ef]===_0x39b344&&!_0x2c6667[_0x5b93ce]){this['removeListener'](_0x297e17,_0x2c6667);break;}}},'MessageEvent':_0x2ed9ab};function _0x44d304(_0x4e12ba,_0x7360d5,_0xef7c88){const _0x1ed495=_0x597b27;typeof _0x4e12ba==_0x1ed495(0x32a)&&_0x4e12ba[_0x1ed495(0x329)]?_0x4e12ba[_0x1ed495(0x329)][_0x1ed495(0x232)](_0x4e12ba,_0xef7c88):_0x4e12ba[_0x1ed495(0x232)](_0x7360d5,_0xef7c88);}return ve;}var Ee,Ye;function nt(){if(Ye)return Ee;Ye=0x1;const {tokenChars:_0xae43df}=te();function _0x239d2e(_0xa566bc,_0x276f61,_0x3d8a46){const _0xfe8ac6=_0x2174;_0xa566bc[_0x276f61]===void 0x0?_0xa566bc[_0x276f61]=[_0x3d8a46]:_0xa566bc[_0x276f61][_0xfe8ac6(0x324)](_0x3d8a46);}function _0x52a634(_0x5a6b80){const _0x26a054=_0x2174,_0xa44d5b=Object['create'](null);let _0xc09a09=Object[_0x26a054(0x1b4)](null),_0x333e27=!0x1,_0x13a60c=!0x1,_0x19da57=!0x1,_0x383805,_0x94abc8,_0xba9d2e=-0x1,_0x38fa28=-0x1,_0x2e8c5f=-0x1,_0x558305=0x0;for(;_0x558305<_0x5a6b80[_0x26a054(0x1b5)];_0x558305++)if(_0x38fa28=_0x5a6b80[_0x26a054(0x25e)](_0x558305),_0x383805===void 0x0){if(_0x2e8c5f===-0x1&&_0xae43df[_0x38fa28]===0x1)_0xba9d2e===-0x1&&(_0xba9d2e=_0x558305);else{if(_0x558305!==0x0&&(_0x38fa28===0x20||_0x38fa28===0x9))_0x2e8c5f===-0x1&&_0xba9d2e!==-0x1&&(_0x2e8c5f=_0x558305);else{if(_0x38fa28===0x3b||_0x38fa28===0x2c){if(_0xba9d2e===-0x1)throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);_0x2e8c5f===-0x1&&(_0x2e8c5f=_0x558305);const _0x1baeb9=_0x5a6b80[_0x26a054(0x304)](_0xba9d2e,_0x2e8c5f);_0x38fa28===0x2c?(_0x239d2e(_0xa44d5b,_0x1baeb9,_0xc09a09),_0xc09a09=Object[_0x26a054(0x1b4)](null)):_0x383805=_0x1baeb9,_0xba9d2e=_0x2e8c5f=-0x1;}else throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);}}}else{if(_0x94abc8===void 0x0){if(_0x2e8c5f===-0x1&&_0xae43df[_0x38fa28]===0x1)_0xba9d2e===-0x1&&(_0xba9d2e=_0x558305);else{if(_0x38fa28===0x20||_0x38fa28===0x9)_0x2e8c5f===-0x1&&_0xba9d2e!==-0x1&&(_0x2e8c5f=_0x558305);else{if(_0x38fa28===0x3b||_0x38fa28===0x2c){if(_0xba9d2e===-0x1)throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);_0x2e8c5f===-0x1&&(_0x2e8c5f=_0x558305),_0x239d2e(_0xc09a09,_0x5a6b80[_0x26a054(0x304)](_0xba9d2e,_0x2e8c5f),!0x0),_0x38fa28===0x2c&&(_0x239d2e(_0xa44d5b,_0x383805,_0xc09a09),_0xc09a09=Object['create'](null),_0x383805=void 0x0),_0xba9d2e=_0x2e8c5f=-0x1;}else{if(_0x38fa28===0x3d&&_0xba9d2e!==-0x1&&_0x2e8c5f===-0x1)_0x94abc8=_0x5a6b80[_0x26a054(0x304)](_0xba9d2e,_0x558305),_0xba9d2e=_0x2e8c5f=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x558305);}}}}else{if(_0x13a60c){if(_0xae43df[_0x38fa28]!==0x1)throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);_0xba9d2e===-0x1?_0xba9d2e=_0x558305:_0x333e27||(_0x333e27=!0x0),_0x13a60c=!0x1;}else{if(_0x19da57){if(_0xae43df[_0x38fa28]===0x1)_0xba9d2e===-0x1&&(_0xba9d2e=_0x558305);else{if(_0x38fa28===0x22&&_0xba9d2e!==-0x1)_0x19da57=!0x1,_0x2e8c5f=_0x558305;else{if(_0x38fa28===0x5c)_0x13a60c=!0x0;else throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);}}}else{if(_0x38fa28===0x22&&_0x5a6b80['charCodeAt'](_0x558305-0x1)===0x3d)_0x19da57=!0x0;else{if(_0x2e8c5f===-0x1&&_0xae43df[_0x38fa28]===0x1)_0xba9d2e===-0x1&&(_0xba9d2e=_0x558305);else{if(_0xba9d2e!==-0x1&&(_0x38fa28===0x20||_0x38fa28===0x9))_0x2e8c5f===-0x1&&(_0x2e8c5f=_0x558305);else{if(_0x38fa28===0x3b||_0x38fa28===0x2c){if(_0xba9d2e===-0x1)throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);_0x2e8c5f===-0x1&&(_0x2e8c5f=_0x558305);let _0x22677c=_0x5a6b80['slice'](_0xba9d2e,_0x2e8c5f);_0x333e27&&(_0x22677c=_0x22677c[_0x26a054(0x1b2)](/\\/g,''),_0x333e27=!0x1),_0x239d2e(_0xc09a09,_0x94abc8,_0x22677c),_0x38fa28===0x2c&&(_0x239d2e(_0xa44d5b,_0x383805,_0xc09a09),_0xc09a09=Object[_0x26a054(0x1b4)](null),_0x383805=void 0x0),_0x94abc8=void 0x0,_0xba9d2e=_0x2e8c5f=-0x1;}else throw new SyntaxError(_0x26a054(0x2f9)+_0x558305);}}}}}}}if(_0xba9d2e===-0x1||_0x19da57||_0x38fa28===0x20||_0x38fa28===0x9)throw new SyntaxError(_0x26a054(0x301));_0x2e8c5f===-0x1&&(_0x2e8c5f=_0x558305);const _0x2110cf=_0x5a6b80[_0x26a054(0x304)](_0xba9d2e,_0x2e8c5f);return _0x383805===void 0x0?_0x239d2e(_0xa44d5b,_0x2110cf,_0xc09a09):(_0x94abc8===void 0x0?_0x239d2e(_0xc09a09,_0x2110cf,!0x0):_0x333e27?_0x239d2e(_0xc09a09,_0x94abc8,_0x2110cf[_0x26a054(0x1b2)](/\\/g,'')):_0x239d2e(_0xc09a09,_0x94abc8,_0x2110cf),_0x239d2e(_0xa44d5b,_0x383805,_0xc09a09)),_0xa44d5b;}function _0x84a1be(_0x26f4ec){const _0x3794c3=_0x2174;return Object[_0x3794c3(0x24e)](_0x26f4ec)[_0x3794c3(0x1c7)](_0x36fd8f=>{const _0x120d4b=_0x3794c3;let _0x33d3cf=_0x26f4ec[_0x36fd8f];return Array['isArray'](_0x33d3cf)||(_0x33d3cf=[_0x33d3cf]),_0x33d3cf[_0x120d4b(0x1c7)](_0x12022d=>[_0x36fd8f]['concat'](Object['keys'](_0x12022d)[_0x120d4b(0x1c7)](_0x543152=>{const _0x9ffa15=_0x120d4b;let _0x5190e3=_0x12022d[_0x543152];return Array[_0x9ffa15(0x2d0)](_0x5190e3)||(_0x5190e3=[_0x5190e3]),_0x5190e3['map'](_0x1e2c24=>_0x1e2c24===!0x0?_0x543152:_0x543152+'='+_0x1e2c24)['join'](';\x20');}))[_0x120d4b(0x2c6)](';\x20'))[_0x120d4b(0x2c6)](',\x20');})['join'](',\x20');}return Ee={'format':_0x84a1be,'parse':_0x52a634},Ee;}var Se,Ke;function ot(){const _0xe1e339=_0x15f4d6;if(Ke)return Se;Ke=0x1;const _0x4067ec=_0x3d7173,_0x5cc942=_0x257e7c,_0x478d5b=_0x48d8cd,_0x2c5c0c=_0x259583,_0x3526b3=_0x418cc8,{randomBytes:_0x190d28,createHash:_0x8a6890}=_0x5f3e2f,{URL:_0x2a788e}=_0x1ccf65,_0x35733d=fe(),_0xcb9e74=st(),_0x7091e6=it(),{isBlob:_0x285d13}=te(),{BINARY_TYPES:_0x4b4c08,EMPTY_BUFFER:_0x21c99a,GUID:_0x1f4419,kForOnEventAttribute:_0x3b827c,kListener:_0x53bb2a,kStatusCode:_0xa9e3fd,kWebSocket:_0x9557fa,NOOP:_0x21ddfc}=G(),{EventTarget:{addEventListener:_0x2594b1,removeEventListener:_0x346103}}=jt(),{format:_0x2fcdc9,parse:_0x19ded6}=nt(),{toBuffer:_0x37c046}=le(),_0x40b9ab=0x1e*0x3e8,_0x40b6b5=Symbol(_0xe1e339(0x2a5)),_0x3c2590=[0x8,0xd],_0xbc14ee=[_0xe1e339(0x279),_0xe1e339(0x312),_0xe1e339(0x318),_0xe1e339(0x206)],_0xe311c7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53b737 extends _0x4067ec{constructor(_0x4ba9a4,_0xd474b5,_0x511ea3){const _0x58523d=_0xe1e339;super(),this[_0x58523d(0x321)]=_0x4b4c08[0x0],this['_closeCode']=0x3ee,this[_0x58523d(0x1b1)]=!0x1,this[_0x58523d(0x2e5)]=!0x1,this[_0x58523d(0x2b8)]=_0x21c99a,this[_0x58523d(0x1bb)]=null,this['_errorEmitted']=!0x1,this[_0x58523d(0x24a)]={},this['_paused']=!0x1,this[_0x58523d(0x200)]='',this[_0x58523d(0x205)]=_0x53b737['CONNECTING'],this[_0x58523d(0x2a0)]=null,this['_sender']=null,this[_0x58523d(0x28e)]=null,_0x4ba9a4!==null?(this['_bufferedAmount']=0x0,this[_0x58523d(0x1fe)]=!0x1,this[_0x58523d(0x30e)]=0x0,_0xd474b5===void 0x0?_0xd474b5=[]:Array[_0x58523d(0x2d0)](_0xd474b5)||(typeof _0xd474b5==_0x58523d(0x32a)&&_0xd474b5!==null?(_0x511ea3=_0xd474b5,_0xd474b5=[]):_0xd474b5=[_0xd474b5]),_0x59307f(this,_0x4ba9a4,_0xd474b5,_0x511ea3)):(this[_0x58523d(0x347)]=_0x511ea3['autoPong'],this[_0x58523d(0x1fe)]=!0x0);}get[_0xe1e339(0x34b)](){const _0x1f78e3=_0xe1e339;return this[_0x1f78e3(0x321)];}set[_0xe1e339(0x34b)](_0x5c082a){const _0x1cbd5d=_0xe1e339;_0x4b4c08['includes'](_0x5c082a)&&(this['_binaryType']=_0x5c082a,this[_0x1cbd5d(0x2a0)]&&(this['_receiver'][_0x1cbd5d(0x321)]=_0x5c082a));}get[_0xe1e339(0x2cb)](){const _0x35b0c0=_0xe1e339;return this[_0x35b0c0(0x28e)]?this[_0x35b0c0(0x28e)][_0x35b0c0(0x2af)]['length']+this[_0x35b0c0(0x305)][_0x35b0c0(0x266)]:this['_bufferedAmount'];}get[_0xe1e339(0x262)](){const _0x5e3ef0=_0xe1e339;return Object[_0x5e3ef0(0x24e)](this[_0x5e3ef0(0x24a)])[_0x5e3ef0(0x2c6)]();}get['isPaused'](){const _0x3f9599=_0xe1e339;return this[_0x3f9599(0x237)];}get['onclose'](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0xe1e339(0x2c9)](){return null;}get[_0xe1e339(0x20a)](){const _0x206f1c=_0xe1e339;return this[_0x206f1c(0x200)];}get[_0xe1e339(0x28b)](){const _0x481a1c=_0xe1e339;return this[_0x481a1c(0x205)];}get[_0xe1e339(0x204)](){return this['_url'];}['setSocket'](_0xcb5e4b,_0x3c68ab,_0x5aca8c){const _0x516b2e=_0xe1e339,_0x1f1c03=new _0xcb9e74({'allowSynchronousEvents':_0x5aca8c['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x516b2e(0x24a)],'isServer':this[_0x516b2e(0x1fe)],'maxPayload':_0x5aca8c[_0x516b2e(0x282)],'skipUTF8Validation':_0x5aca8c[_0x516b2e(0x1e0)]}),_0x2c9c58=new _0x7091e6(_0xcb5e4b,this[_0x516b2e(0x24a)],_0x5aca8c[_0x516b2e(0x303)]);this[_0x516b2e(0x2a0)]=_0x1f1c03,this[_0x516b2e(0x305)]=_0x2c9c58,this[_0x516b2e(0x28e)]=_0xcb5e4b,_0x1f1c03[_0x9557fa]=this,_0x2c9c58[_0x9557fa]=this,_0xcb5e4b[_0x9557fa]=this,_0x1f1c03['on'](_0x516b2e(0x332),_0x4646bd),_0x1f1c03['on'](_0x516b2e(0x32d),_0xd14276),_0x1f1c03['on'](_0x516b2e(0x230),_0x42f43c),_0x1f1c03['on'](_0x516b2e(0x1e5),_0x358239),_0x1f1c03['on'](_0x516b2e(0x343),_0x28653c),_0x1f1c03['on'](_0x516b2e(0x2ab),_0x30d965),_0x2c9c58[_0x516b2e(0x25c)]=_0x544dfa,_0xcb5e4b['setTimeout']&&_0xcb5e4b[_0x516b2e(0x263)](0x0),_0xcb5e4b['setNoDelay']&&_0xcb5e4b[_0x516b2e(0x322)](),_0x3c68ab[_0x516b2e(0x1b5)]>0x0&&_0xcb5e4b['unshift'](_0x3c68ab),_0xcb5e4b['on'](_0x516b2e(0x236),_0x4e588a),_0xcb5e4b['on'](_0x516b2e(0x238),_0xcd5f37),_0xcb5e4b['on']('end',_0x2d9a50),_0xcb5e4b['on'](_0x516b2e(0x230),_0x419700),this['_readyState']=_0x53b737[_0x516b2e(0x312)],this[_0x516b2e(0x23f)](_0x516b2e(0x218));}[_0xe1e339(0x2e4)](){const _0x4222a9=_0xe1e339;if(!this[_0x4222a9(0x28e)]){this[_0x4222a9(0x205)]=_0x53b737['CLOSED'],this[_0x4222a9(0x23f)](_0x4222a9(0x236),this[_0x4222a9(0x2d9)],this[_0x4222a9(0x2b8)]);return;}this[_0x4222a9(0x24a)][_0x35733d['extensionName']]&&this[_0x4222a9(0x24a)][_0x35733d[_0x4222a9(0x354)]][_0x4222a9(0x220)](),this['_receiver'][_0x4222a9(0x287)](),this[_0x4222a9(0x205)]=_0x53b737[_0x4222a9(0x206)],this[_0x4222a9(0x23f)](_0x4222a9(0x236),this[_0x4222a9(0x2d9)],this[_0x4222a9(0x2b8)]);}[_0xe1e339(0x236)](_0x15c1f2,_0x81485c){const _0x27e20b=_0xe1e339;if(this['readyState']!==_0x53b737[_0x27e20b(0x206)]){if(this[_0x27e20b(0x28b)]===_0x53b737['CONNECTING']){_0x5c4db8(this,this[_0x27e20b(0x2a7)],_0x27e20b(0x2f7));return;}if(this[_0x27e20b(0x28b)]===_0x53b737[_0x27e20b(0x318)]){this[_0x27e20b(0x2e5)]&&(this[_0x27e20b(0x1b1)]||this[_0x27e20b(0x2a0)][_0x27e20b(0x2af)][_0x27e20b(0x21b)])&&this[_0x27e20b(0x28e)][_0x27e20b(0x1c4)]();return;}this[_0x27e20b(0x205)]=_0x53b737[_0x27e20b(0x318)],this['_sender']['close'](_0x15c1f2,_0x81485c,!this['_isServer'],_0x168982=>{const _0x500397=_0x27e20b;_0x168982||(this['_closeFrameSent']=!0x0,(this[_0x500397(0x1b1)]||this[_0x500397(0x2a0)][_0x500397(0x2af)][_0x500397(0x21b)])&&this[_0x500397(0x28e)][_0x500397(0x1c4)]());}),_0x1b1cf5(this);}}['pause'](){const _0x212c7f=_0xe1e339;this[_0x212c7f(0x28b)]===_0x53b737[_0x212c7f(0x279)]||this[_0x212c7f(0x28b)]===_0x53b737['CLOSED']||(this['_paused']=!0x0,this[_0x212c7f(0x28e)][_0x212c7f(0x203)]());}[_0xe1e339(0x343)](_0x840e3a,_0xfd8585,_0x4260a5){const _0x3df891=_0xe1e339;if(this[_0x3df891(0x28b)]===_0x53b737['CONNECTING'])throw new Error(_0x3df891(0x2ed));if(typeof _0x840e3a==_0x3df891(0x1cc)?(_0x4260a5=_0x840e3a,_0x840e3a=_0xfd8585=void 0x0):typeof _0xfd8585==_0x3df891(0x1cc)&&(_0x4260a5=_0xfd8585,_0xfd8585=void 0x0),typeof _0x840e3a==_0x3df891(0x23d)&&(_0x840e3a=_0x840e3a[_0x3df891(0x34e)]()),this[_0x3df891(0x28b)]!==_0x53b737[_0x3df891(0x312)]){_0x551ad6(this,_0x840e3a,_0x4260a5);return;}_0xfd8585===void 0x0&&(_0xfd8585=!this['_isServer']),this[_0x3df891(0x305)][_0x3df891(0x343)](_0x840e3a||_0x21c99a,_0xfd8585,_0x4260a5);}['pong'](_0x235940,_0x547f85,_0x2896ad){const _0x6b6670=_0xe1e339;if(this['readyState']===_0x53b737[_0x6b6670(0x279)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x235940=='function'?(_0x2896ad=_0x235940,_0x235940=_0x547f85=void 0x0):typeof _0x547f85==_0x6b6670(0x1cc)&&(_0x2896ad=_0x547f85,_0x547f85=void 0x0),typeof _0x235940==_0x6b6670(0x23d)&&(_0x235940=_0x235940[_0x6b6670(0x34e)]()),this[_0x6b6670(0x28b)]!==_0x53b737[_0x6b6670(0x312)]){_0x551ad6(this,_0x235940,_0x2896ad);return;}_0x547f85===void 0x0&&(_0x547f85=!this[_0x6b6670(0x1fe)]),this[_0x6b6670(0x305)]['pong'](_0x235940||_0x21c99a,_0x547f85,_0x2896ad);}[_0xe1e339(0x29a)](){const _0x31bf58=_0xe1e339;this[_0x31bf58(0x28b)]===_0x53b737[_0x31bf58(0x279)]||this['readyState']===_0x53b737[_0x31bf58(0x206)]||(this[_0x31bf58(0x237)]=!0x1,this[_0x31bf58(0x2a0)][_0x31bf58(0x2af)][_0x31bf58(0x1fa)]||this[_0x31bf58(0x28e)]['resume']());}[_0xe1e339(0x246)](_0x3e3a85,_0x1a02a5,_0x11b1dd){const _0x2599d0=_0xe1e339;if(this[_0x2599d0(0x28b)]===_0x53b737[_0x2599d0(0x279)])throw new Error(_0x2599d0(0x2ed));if(typeof _0x1a02a5=='function'&&(_0x11b1dd=_0x1a02a5,_0x1a02a5={}),typeof _0x3e3a85=='number'&&(_0x3e3a85=_0x3e3a85[_0x2599d0(0x34e)]()),this[_0x2599d0(0x28b)]!==_0x53b737['OPEN']){_0x551ad6(this,_0x3e3a85,_0x11b1dd);return;}const _0xde4bf8={'binary':typeof _0x3e3a85!=_0x2599d0(0x24d),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x1a02a5};this[_0x2599d0(0x24a)][_0x35733d['extensionName']]||(_0xde4bf8[_0x2599d0(0x2e7)]=!0x1),this['_sender'][_0x2599d0(0x246)](_0x3e3a85||_0x21c99a,_0xde4bf8,_0x11b1dd);}[_0xe1e339(0x355)](){const _0x3d5ea7=_0xe1e339;if(this[_0x3d5ea7(0x28b)]!==_0x53b737[_0x3d5ea7(0x206)]){if(this[_0x3d5ea7(0x28b)]===_0x53b737[_0x3d5ea7(0x279)]){_0x5c4db8(this,this[_0x3d5ea7(0x2a7)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x3d5ea7(0x28e)]&&(this[_0x3d5ea7(0x205)]=_0x53b737['CLOSING'],this[_0x3d5ea7(0x28e)][_0x3d5ea7(0x33b)]());}}}Object['defineProperty'](_0x53b737,_0xe1e339(0x279),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x279))}),Object[_0xe1e339(0x2b0)](_0x53b737[_0xe1e339(0x26f)],_0xe1e339(0x279),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x279))}),Object[_0xe1e339(0x2b0)](_0x53b737,_0xe1e339(0x312),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x312))}),Object[_0xe1e339(0x2b0)](_0x53b737[_0xe1e339(0x26f)],_0xe1e339(0x312),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x312))}),Object[_0xe1e339(0x2b0)](_0x53b737,'CLOSING',{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x318))}),Object[_0xe1e339(0x2b0)](_0x53b737['prototype'],_0xe1e339(0x318),{'enumerable':!0x0,'value':_0xbc14ee['indexOf'](_0xe1e339(0x318))}),Object['defineProperty'](_0x53b737,_0xe1e339(0x206),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)](_0xe1e339(0x206))}),Object[_0xe1e339(0x2b0)](_0x53b737[_0xe1e339(0x26f)],_0xe1e339(0x206),{'enumerable':!0x0,'value':_0xbc14ee[_0xe1e339(0x1ce)]('CLOSED')}),[_0xe1e339(0x34b),_0xe1e339(0x2cb),_0xe1e339(0x262),_0xe1e339(0x270),_0xe1e339(0x20a),_0xe1e339(0x28b),_0xe1e339(0x204)][_0xe1e339(0x2fd)](_0x4b39f9=>{const _0x137cc0=_0xe1e339;Object[_0x137cc0(0x2b0)](_0x53b737['prototype'],_0x4b39f9,{'enumerable':!0x0});}),[_0xe1e339(0x218),_0xe1e339(0x230),'close','message'][_0xe1e339(0x2fd)](_0x445aee=>{const _0x5849c7=_0xe1e339;Object[_0x5849c7(0x2b0)](_0x53b737[_0x5849c7(0x26f)],'on'+_0x445aee,{'enumerable':!0x0,'get'(){const _0x1251e4=_0x5849c7;for(const _0x1dd632 of this[_0x1251e4(0x2c8)](_0x445aee))if(_0x1dd632[_0x3b827c])return _0x1dd632[_0x53bb2a];return null;},'set'(_0x423aa4){const _0x114323=_0x5849c7;for(const _0x1ff71d of this[_0x114323(0x2c8)](_0x445aee))if(_0x1ff71d[_0x3b827c]){this[_0x114323(0x250)](_0x445aee,_0x1ff71d);break;}typeof _0x423aa4==_0x114323(0x1cc)&&this[_0x114323(0x20f)](_0x445aee,_0x423aa4,{[_0x3b827c]:!0x0});}});}),_0x53b737['prototype'][_0xe1e339(0x20f)]=_0x2594b1,_0x53b737[_0xe1e339(0x26f)][_0xe1e339(0x31a)]=_0x346103,Se=_0x53b737;function _0x59307f(_0xf7ab34,_0x59e194,_0x2a24c0,_0x3101d7){const _0x5af321=_0xe1e339,_0x4196bf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3c2590[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3101d7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xf7ab34[_0x5af321(0x347)]=_0x4196bf[_0x5af321(0x2b9)],!_0x3c2590[_0x5af321(0x29d)](_0x4196bf[_0x5af321(0x2eb)]))throw new RangeError(_0x5af321(0x2ae)+_0x4196bf['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x3c2590[_0x5af321(0x2c6)](',\x20')+')');let _0x1ae5ea;if(_0x59e194 instanceof _0x2a788e)_0x1ae5ea=_0x59e194;else try{_0x1ae5ea=new _0x2a788e(_0x59e194);}catch{throw new SyntaxError(_0x5af321(0x221)+_0x59e194);}_0x1ae5ea[_0x5af321(0x20a)]===_0x5af321(0x2ef)?_0x1ae5ea[_0x5af321(0x20a)]='ws:':_0x1ae5ea['protocol']==='https:'&&(_0x1ae5ea['protocol']=_0x5af321(0x1dd)),_0xf7ab34[_0x5af321(0x212)]=_0x1ae5ea['href'];const _0x54eda0=_0x1ae5ea[_0x5af321(0x20a)]===_0x5af321(0x1dd),_0x30c4a3=_0x1ae5ea[_0x5af321(0x20a)]==='ws+unix:';let _0x33910c;if(_0x1ae5ea[_0x5af321(0x20a)]!==_0x5af321(0x316)&&!_0x54eda0&&!_0x30c4a3?_0x33910c='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':_0x30c4a3&&!_0x1ae5ea[_0x5af321(0x286)]?_0x33910c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1ae5ea[_0x5af321(0x1b6)]&&(_0x33910c=_0x5af321(0x317)),_0x33910c){const _0x5a2b2c=new SyntaxError(_0x33910c);if(_0xf7ab34[_0x5af321(0x30e)]===0x0)throw _0x5a2b2c;_0x356f7a(_0xf7ab34,_0x5a2b2c);return;}const _0x2d635f=_0x54eda0?0x1bb:0x50,_0xfcff58=_0x190d28(0x10)[_0x5af321(0x34e)](_0x5af321(0x1fd)),_0x4a1ea8=_0x54eda0?_0x5cc942['request']:_0x478d5b[_0x5af321(0x1d2)],_0xc789db=new Set();let _0x5ebd93;if(_0x4196bf[_0x5af321(0x2a1)]=_0x4196bf[_0x5af321(0x2a1)]||(_0x54eda0?_0x4eb06a:_0x13d782),_0x4196bf[_0x5af321(0x1c9)]=_0x4196bf[_0x5af321(0x1c9)]||_0x2d635f,_0x4196bf[_0x5af321(0x26d)]=_0x1ae5ea[_0x5af321(0x26d)]||_0x2d635f,_0x4196bf[_0x5af321(0x1f3)]=_0x1ae5ea['hostname'][_0x5af321(0x2a3)]('[')?_0x1ae5ea[_0x5af321(0x34f)][_0x5af321(0x304)](0x1,-0x1):_0x1ae5ea['hostname'],_0x4196bf[_0x5af321(0x1f9)]={..._0x4196bf['headers'],'Sec-WebSocket-Version':_0x4196bf[_0x5af321(0x2eb)],'Sec-WebSocket-Key':_0xfcff58,'Connection':_0x5af321(0x284),'Upgrade':_0x5af321(0x2ac)},_0x4196bf[_0x5af321(0x222)]=_0x1ae5ea[_0x5af321(0x286)]+_0x1ae5ea[_0x5af321(0x265)],_0x4196bf[_0x5af321(0x252)]=_0x4196bf['handshakeTimeout'],_0x4196bf[_0x5af321(0x327)]&&(_0x5ebd93=new _0x35733d(_0x4196bf['perMessageDeflate']!==!0x0?_0x4196bf[_0x5af321(0x327)]:{},!0x1,_0x4196bf[_0x5af321(0x282)]),_0x4196bf[_0x5af321(0x1f9)][_0x5af321(0x29e)]=_0x2fcdc9({[_0x35733d[_0x5af321(0x354)]]:_0x5ebd93[_0x5af321(0x1ff)]()})),_0x2a24c0[_0x5af321(0x1b5)]){for(const _0x51baba of _0x2a24c0){if(typeof _0x51baba!='string'||!_0xe311c7[_0x5af321(0x2da)](_0x51baba)||_0xc789db[_0x5af321(0x1d6)](_0x51baba))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xc789db[_0x5af321(0x217)](_0x51baba);}_0x4196bf[_0x5af321(0x1f9)][_0x5af321(0x233)]=_0x2a24c0[_0x5af321(0x2c6)](',');}if(_0x4196bf[_0x5af321(0x2f4)]&&(_0x4196bf[_0x5af321(0x2eb)]<0xd?_0x4196bf[_0x5af321(0x1f9)][_0x5af321(0x334)]=_0x4196bf[_0x5af321(0x2f4)]:_0x4196bf[_0x5af321(0x1f9)]['Origin']=_0x4196bf[_0x5af321(0x2f4)]),(_0x1ae5ea[_0x5af321(0x27d)]||_0x1ae5ea[_0x5af321(0x1e3)])&&(_0x4196bf['auth']=_0x1ae5ea[_0x5af321(0x27d)]+':'+_0x1ae5ea[_0x5af321(0x1e3)]),_0x30c4a3){const _0x2a5994=_0x4196bf[_0x5af321(0x222)]['split'](':');_0x4196bf['socketPath']=_0x2a5994[0x0],_0x4196bf[_0x5af321(0x222)]=_0x2a5994[0x1];}let _0x4d4b16;if(_0x4196bf['followRedirects']){if(_0xf7ab34[_0x5af321(0x30e)]===0x0){_0xf7ab34[_0x5af321(0x2d2)]=_0x30c4a3,_0xf7ab34['_originalSecure']=_0x54eda0,_0xf7ab34[_0x5af321(0x348)]=_0x30c4a3?_0x4196bf[_0x5af321(0x31d)]:_0x1ae5ea['host'];const _0x556120=_0x3101d7&&_0x3101d7[_0x5af321(0x1f9)];if(_0x3101d7={..._0x3101d7,'headers':{}},_0x556120){for(const [_0x15d275,_0x1ac8ab]of Object[_0x5af321(0x2f3)](_0x556120))_0x3101d7['headers'][_0x15d275[_0x5af321(0x356)]()]=_0x1ac8ab;}}else{if(_0xf7ab34[_0x5af321(0x244)](_0x5af321(0x315))===0x0){const _0xc15a15=_0x30c4a3?_0xf7ab34[_0x5af321(0x2d2)]?_0x4196bf['socketPath']===_0xf7ab34[_0x5af321(0x348)]:!0x1:_0xf7ab34[_0x5af321(0x2d2)]?!0x1:_0x1ae5ea[_0x5af321(0x1f3)]===_0xf7ab34[_0x5af321(0x348)];(!_0xc15a15||_0xf7ab34[_0x5af321(0x27c)]&&!_0x54eda0)&&(delete _0x4196bf['headers'][_0x5af321(0x283)],delete _0x4196bf[_0x5af321(0x1f9)][_0x5af321(0x2bc)],_0xc15a15||delete _0x4196bf[_0x5af321(0x1f9)][_0x5af321(0x1f3)],_0x4196bf[_0x5af321(0x25d)]=void 0x0);}}_0x4196bf[_0x5af321(0x25d)]&&!_0x3101d7['headers']['authorization']&&(_0x3101d7[_0x5af321(0x1f9)][_0x5af321(0x283)]='Basic\x20'+Buffer[_0x5af321(0x350)](_0x4196bf['auth'])[_0x5af321(0x34e)](_0x5af321(0x1fd))),_0x4d4b16=_0xf7ab34[_0x5af321(0x2a7)]=_0x4a1ea8(_0x4196bf),_0xf7ab34[_0x5af321(0x30e)]&&_0xf7ab34[_0x5af321(0x23f)](_0x5af321(0x315),_0xf7ab34[_0x5af321(0x204)],_0x4d4b16);}else _0x4d4b16=_0xf7ab34[_0x5af321(0x2a7)]=_0x4a1ea8(_0x4196bf);_0x4196bf[_0x5af321(0x252)]&&_0x4d4b16['on'](_0x5af321(0x252),()=>{const _0x328012=_0x5af321;_0x5c4db8(_0xf7ab34,_0x4d4b16,_0x328012(0x1fb));}),_0x4d4b16['on'](_0x5af321(0x230),_0x4c3f7f=>{const _0x540da8=_0x5af321;_0x4d4b16===null||_0x4d4b16[_0x40b6b5]||(_0x4d4b16=_0xf7ab34[_0x540da8(0x2a7)]=null,_0x356f7a(_0xf7ab34,_0x4c3f7f));}),_0x4d4b16['on'](_0x5af321(0x331),_0x4a65f0=>{const _0x5721c7=_0x5af321,_0x49515e=_0x4a65f0[_0x5721c7(0x1f9)][_0x5721c7(0x1ca)],_0x1b2ac4=_0x4a65f0[_0x5721c7(0x209)];if(_0x49515e&&_0x4196bf[_0x5721c7(0x353)]&&_0x1b2ac4>=0x12c&&_0x1b2ac4<0x190){if(++_0xf7ab34[_0x5721c7(0x30e)]>_0x4196bf['maxRedirects']){_0x5c4db8(_0xf7ab34,_0x4d4b16,'Maximum\x20redirects\x20exceeded');return;}_0x4d4b16[_0x5721c7(0x2be)]();let _0x113d3e;try{_0x113d3e=new _0x2a788e(_0x49515e,_0x59e194);}catch{const _0x2c1450=new SyntaxError(_0x5721c7(0x221)+_0x49515e);_0x356f7a(_0xf7ab34,_0x2c1450);return;}_0x59307f(_0xf7ab34,_0x113d3e,_0x2a24c0,_0x3101d7);}else _0xf7ab34[_0x5721c7(0x23f)](_0x5721c7(0x346),_0x4d4b16,_0x4a65f0)||_0x5c4db8(_0xf7ab34,_0x4d4b16,_0x5721c7(0x255)+_0x4a65f0[_0x5721c7(0x209)]);}),_0x4d4b16['on'](_0x5af321(0x264),(_0x3eafbd,_0xb9dd2e,_0x471afb)=>{const _0x5620aa=_0x5af321;if(_0xf7ab34['emit'](_0x5620aa(0x264),_0x3eafbd),_0xf7ab34[_0x5620aa(0x28b)]!==_0x53b737[_0x5620aa(0x279)])return;_0x4d4b16=_0xf7ab34[_0x5620aa(0x2a7)]=null;const _0xaa35c7=_0x3eafbd[_0x5620aa(0x1f9)]['upgrade'];if(_0xaa35c7===void 0x0||_0xaa35c7[_0x5620aa(0x356)]()!=='websocket'){_0x5c4db8(_0xf7ab34,_0xb9dd2e,'Invalid\x20Upgrade\x20header');return;}const _0x5a4126=_0x8a6890(_0x5620aa(0x32b))['update'](_0xfcff58+_0x1f4419)[_0x5620aa(0x309)](_0x5620aa(0x1fd));if(_0x3eafbd['headers'][_0x5620aa(0x2b2)]!==_0x5a4126){_0x5c4db8(_0xf7ab34,_0xb9dd2e,_0x5620aa(0x336));return;}const _0x32f1e6=_0x3eafbd[_0x5620aa(0x1f9)][_0x5620aa(0x2ba)];let _0x32bf44;if(_0x32f1e6!==void 0x0?_0xc789db[_0x5620aa(0x2c5)]?_0xc789db[_0x5620aa(0x1d6)](_0x32f1e6)||(_0x32bf44=_0x5620aa(0x2b1)):_0x32bf44='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xc789db[_0x5620aa(0x2c5)]&&(_0x32bf44=_0x5620aa(0x228)),_0x32bf44){_0x5c4db8(_0xf7ab34,_0xb9dd2e,_0x32bf44);return;}_0x32f1e6&&(_0xf7ab34['_protocol']=_0x32f1e6);const _0xc29278=_0x3eafbd['headers'][_0x5620aa(0x290)];if(_0xc29278!==void 0x0){if(!_0x5ebd93){_0x5c4db8(_0xf7ab34,_0xb9dd2e,_0x5620aa(0x2a2));return;}let _0x982810;try{_0x982810=_0x19ded6(_0xc29278);}catch{_0x5c4db8(_0xf7ab34,_0xb9dd2e,_0x5620aa(0x1e9));return;}const _0x46bd55=Object[_0x5620aa(0x24e)](_0x982810);if(_0x46bd55[_0x5620aa(0x1b5)]!==0x1||_0x46bd55[0x0]!==_0x35733d[_0x5620aa(0x354)]){_0x5c4db8(_0xf7ab34,_0xb9dd2e,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x5ebd93[_0x5620aa(0x1d0)](_0x982810[_0x35733d['extensionName']]);}catch{_0x5c4db8(_0xf7ab34,_0xb9dd2e,_0x5620aa(0x1e9));return;}_0xf7ab34[_0x5620aa(0x24a)][_0x35733d[_0x5620aa(0x354)]]=_0x5ebd93;}_0xf7ab34[_0x5620aa(0x299)](_0xb9dd2e,_0x471afb,{'allowSynchronousEvents':_0x4196bf[_0x5620aa(0x2cf)],'generateMask':_0x4196bf[_0x5620aa(0x303)],'maxPayload':_0x4196bf['maxPayload'],'skipUTF8Validation':_0x4196bf[_0x5620aa(0x1e0)]});}),_0x4196bf[_0x5af321(0x1e7)]?_0x4196bf['finishRequest'](_0x4d4b16,_0xf7ab34):_0x4d4b16[_0x5af321(0x1c4)]();}function _0x356f7a(_0x184c93,_0x295e0a){const _0x1422ac=_0xe1e339;_0x184c93['_readyState']=_0x53b737[_0x1422ac(0x318)],_0x184c93['_errorEmitted']=!0x0,_0x184c93[_0x1422ac(0x23f)]('error',_0x295e0a),_0x184c93[_0x1422ac(0x2e4)]();}function _0x13d782(_0x431f23){const _0x3fbf78=_0xe1e339;return _0x431f23[_0x3fbf78(0x222)]=_0x431f23[_0x3fbf78(0x31d)],_0x2c5c0c[_0x3fbf78(0x340)](_0x431f23);}function _0x4eb06a(_0x235b79){const _0x303792=_0xe1e339;return _0x235b79[_0x303792(0x222)]=void 0x0,!_0x235b79[_0x303792(0x20b)]&&_0x235b79[_0x303792(0x20b)]!==''&&(_0x235b79[_0x303792(0x20b)]=_0x2c5c0c[_0x303792(0x2b6)](_0x235b79[_0x303792(0x1f3)])?'':_0x235b79[_0x303792(0x1f3)]),_0x3526b3[_0x303792(0x340)](_0x235b79);}function _0x5c4db8(_0x93b381,_0x46c00b,_0x16d66f){const _0x5ddd7f=_0xe1e339;_0x93b381['_readyState']=_0x53b737['CLOSING'];const _0x293204=new Error(_0x16d66f);Error[_0x5ddd7f(0x25b)](_0x293204,_0x5c4db8),_0x46c00b[_0x5ddd7f(0x288)]?(_0x46c00b[_0x40b6b5]=!0x0,_0x46c00b['abort'](),_0x46c00b['socket']&&!_0x46c00b[_0x5ddd7f(0x308)][_0x5ddd7f(0x292)]&&_0x46c00b['socket']['destroy'](),process[_0x5ddd7f(0x349)](_0x356f7a,_0x93b381,_0x293204)):(_0x46c00b[_0x5ddd7f(0x33b)](_0x293204),_0x46c00b['once']('error',_0x93b381[_0x5ddd7f(0x23f)][_0x5ddd7f(0x31c)](_0x93b381,_0x5ddd7f(0x230))),_0x46c00b[_0x5ddd7f(0x2c3)]('close',_0x93b381['emitClose'][_0x5ddd7f(0x31c)](_0x93b381)));}function _0x551ad6(_0x1ee7da,_0x4f0415,_0x3cc354){const _0x48b0ad=_0xe1e339;if(_0x4f0415){const _0x360b43=_0x285d13(_0x4f0415)?_0x4f0415['size']:_0x37c046(_0x4f0415)[_0x48b0ad(0x1b5)];_0x1ee7da[_0x48b0ad(0x28e)]?_0x1ee7da['_sender'][_0x48b0ad(0x266)]+=_0x360b43:_0x1ee7da[_0x48b0ad(0x28d)]+=_0x360b43;}if(_0x3cc354){const _0xe3dce7=new Error(_0x48b0ad(0x2f2)+_0x1ee7da[_0x48b0ad(0x28b)]+'\x20('+_0xbc14ee[_0x1ee7da[_0x48b0ad(0x28b)]]+')');process[_0x48b0ad(0x349)](_0x3cc354,_0xe3dce7);}}function _0x4646bd(_0x32eae7,_0x17fdca){const _0x38445e=_0xe1e339,_0x5cd99d=this[_0x9557fa];_0x5cd99d[_0x38445e(0x1b1)]=!0x0,_0x5cd99d[_0x38445e(0x2b8)]=_0x17fdca,_0x5cd99d['_closeCode']=_0x32eae7,_0x5cd99d['_socket'][_0x9557fa]!==void 0x0&&(_0x5cd99d['_socket'][_0x38445e(0x250)](_0x38445e(0x238),_0xcd5f37),process[_0x38445e(0x349)](_0x21d62b,_0x5cd99d[_0x38445e(0x28e)]),_0x32eae7===0x3ed?_0x5cd99d[_0x38445e(0x236)]():_0x5cd99d['close'](_0x32eae7,_0x17fdca));}function _0xd14276(){const _0x2e21f7=_0xe1e339,_0x10efa6=this[_0x9557fa];_0x10efa6['isPaused']||_0x10efa6[_0x2e21f7(0x28e)][_0x2e21f7(0x29a)]();}function _0x42f43c(_0x2a9a84){const _0x22daac=_0xe1e339,_0x3b112c=this[_0x9557fa];_0x3b112c[_0x22daac(0x28e)][_0x9557fa]!==void 0x0&&(_0x3b112c[_0x22daac(0x28e)][_0x22daac(0x250)](_0x22daac(0x238),_0xcd5f37),process[_0x22daac(0x349)](_0x21d62b,_0x3b112c['_socket']),_0x3b112c[_0x22daac(0x236)](_0x2a9a84[_0xa9e3fd])),_0x3b112c[_0x22daac(0x226)]||(_0x3b112c[_0x22daac(0x226)]=!0x0,_0x3b112c[_0x22daac(0x23f)](_0x22daac(0x230),_0x2a9a84));}function _0x3e8ec6(){const _0x1cb3be=_0xe1e339;this[_0x9557fa][_0x1cb3be(0x2e4)]();}function _0x358239(_0x1cc32b,_0x279b04){const _0x2c1166=_0xe1e339;this[_0x9557fa][_0x2c1166(0x23f)](_0x2c1166(0x1e5),_0x1cc32b,_0x279b04);}function _0x28653c(_0x9dcc6d){const _0x4ef50a=_0xe1e339,_0x5e8c63=this[_0x9557fa];_0x5e8c63[_0x4ef50a(0x347)]&&_0x5e8c63[_0x4ef50a(0x2ab)](_0x9dcc6d,!this[_0x4ef50a(0x1fe)],_0x21ddfc),_0x5e8c63[_0x4ef50a(0x23f)](_0x4ef50a(0x343),_0x9dcc6d);}function _0x30d965(_0x19bf10){const _0x480534=_0xe1e339;this[_0x9557fa][_0x480534(0x23f)](_0x480534(0x2ab),_0x19bf10);}function _0x21d62b(_0x509418){const _0x4f791a=_0xe1e339;_0x509418[_0x4f791a(0x29a)]();}function _0x544dfa(_0x1ec8ec){const _0x4f30c6=_0xe1e339,_0x58f132=this[_0x9557fa];_0x58f132[_0x4f30c6(0x28b)]!==_0x53b737[_0x4f30c6(0x206)]&&(_0x58f132[_0x4f30c6(0x28b)]===_0x53b737[_0x4f30c6(0x312)]&&(_0x58f132[_0x4f30c6(0x205)]=_0x53b737[_0x4f30c6(0x318)],_0x1b1cf5(_0x58f132)),this['_socket'][_0x4f30c6(0x1c4)](),_0x58f132['_errorEmitted']||(_0x58f132[_0x4f30c6(0x226)]=!0x0,_0x58f132['emit'](_0x4f30c6(0x230),_0x1ec8ec)));}function _0x1b1cf5(_0x43d705){const _0x5d871f=_0xe1e339;_0x43d705[_0x5d871f(0x1bb)]=setTimeout(_0x43d705[_0x5d871f(0x28e)][_0x5d871f(0x33b)][_0x5d871f(0x31c)](_0x43d705[_0x5d871f(0x28e)]),_0x40b9ab);}function _0x4e588a(){const _0x11f357=_0xe1e339,_0x275f6c=this[_0x9557fa];this[_0x11f357(0x250)]('close',_0x4e588a),this['removeListener'](_0x11f357(0x238),_0xcd5f37),this[_0x11f357(0x250)](_0x11f357(0x1c4),_0x2d9a50),_0x275f6c['_readyState']=_0x53b737[_0x11f357(0x318)];let _0x5c2ee8;!this[_0x11f357(0x257)][_0x11f357(0x338)]&&!_0x275f6c['_closeFrameReceived']&&!_0x275f6c['_receiver'][_0x11f357(0x2af)]['errorEmitted']&&(_0x5c2ee8=_0x275f6c['_socket'][_0x11f357(0x30b)]())!==null&&_0x275f6c[_0x11f357(0x2a0)][_0x11f357(0x2c7)](_0x5c2ee8),_0x275f6c['_receiver'][_0x11f357(0x1c4)](),this[_0x9557fa]=void 0x0,clearTimeout(_0x275f6c['_closeTimer']),_0x275f6c[_0x11f357(0x2a0)][_0x11f357(0x2af)][_0x11f357(0x326)]||_0x275f6c[_0x11f357(0x2a0)][_0x11f357(0x2af)]['errorEmitted']?_0x275f6c[_0x11f357(0x2e4)]():(_0x275f6c['_receiver']['on'](_0x11f357(0x230),_0x3e8ec6),_0x275f6c[_0x11f357(0x2a0)]['on'](_0x11f357(0x2db),_0x3e8ec6));}function _0xcd5f37(_0xde39ec){const _0x12c80e=_0xe1e339;this[_0x9557fa][_0x12c80e(0x2a0)][_0x12c80e(0x2c7)](_0xde39ec)||this[_0x12c80e(0x203)]();}function _0x2d9a50(){const _0x18e9c6=_0xe1e339,_0x46f6d2=this[_0x9557fa];_0x46f6d2[_0x18e9c6(0x205)]=_0x53b737[_0x18e9c6(0x318)],_0x46f6d2[_0x18e9c6(0x2a0)][_0x18e9c6(0x1c4)](),this[_0x18e9c6(0x1c4)]();}function _0x419700(){const _0xe556ab=_0xe1e339,_0x22b41a=this[_0x9557fa];this[_0xe556ab(0x250)](_0xe556ab(0x230),_0x419700),this['on'](_0xe556ab(0x230),_0x21ddfc),_0x22b41a&&(_0x22b41a['_readyState']=_0x53b737[_0xe556ab(0x318)],this['destroy']());}return Se;}var Gt=ot();const Vt=Dt(Gt);var xe,Xe;function qt(){if(Xe)return xe;Xe=0x1;const {tokenChars:_0x5a9af2}=te();function _0xbecc5f(_0x38bc8b){const _0x54b717=_0x2174,_0x136d5f=new Set();let _0x15a545=-0x1,_0x1a41e2=-0x1,_0x5040b8=0x0;for(_0x5040b8;_0x5040b8<_0x38bc8b['length'];_0x5040b8++){const _0x383a71=_0x38bc8b[_0x54b717(0x25e)](_0x5040b8);if(_0x1a41e2===-0x1&&_0x5a9af2[_0x383a71]===0x1)_0x15a545===-0x1&&(_0x15a545=_0x5040b8);else{if(_0x5040b8!==0x0&&(_0x383a71===0x20||_0x383a71===0x9))_0x1a41e2===-0x1&&_0x15a545!==-0x1&&(_0x1a41e2=_0x5040b8);else{if(_0x383a71===0x2c){if(_0x15a545===-0x1)throw new SyntaxError(_0x54b717(0x2f9)+_0x5040b8);_0x1a41e2===-0x1&&(_0x1a41e2=_0x5040b8);const _0x445d37=_0x38bc8b[_0x54b717(0x304)](_0x15a545,_0x1a41e2);if(_0x136d5f['has'](_0x445d37))throw new SyntaxError('The\x20\x22'+_0x445d37+_0x54b717(0x293));_0x136d5f[_0x54b717(0x217)](_0x445d37),_0x15a545=_0x1a41e2=-0x1;}else throw new SyntaxError(_0x54b717(0x2f9)+_0x5040b8);}}}if(_0x15a545===-0x1||_0x1a41e2!==-0x1)throw new SyntaxError(_0x54b717(0x301));const _0x3a50db=_0x38bc8b[_0x54b717(0x304)](_0x15a545,_0x5040b8);if(_0x136d5f[_0x54b717(0x1d6)](_0x3a50db))throw new SyntaxError(_0x54b717(0x225)+_0x3a50db+_0x54b717(0x293));return _0x136d5f[_0x54b717(0x217)](_0x3a50db),_0x136d5f;}return xe={'parse':_0xbecc5f},xe;}var be,Ze;function Ht(){const _0x1f49f1=_0x15f4d6;if(Ze)return be;Ze=0x1;const _0x3de91d=_0x3d7173,_0x384d47=_0x48d8cd,{createHash:_0x5d89f5}=_0x5f3e2f,_0x222fe5=nt(),_0x235cc9=fe(),_0x55e6c6=qt(),_0x218673=ot(),{GUID:_0xa605c1,kWebSocket:_0x36c065}=G(),_0x4ebb62=/^[+/0-9A-Za-z]{22}==$/,_0x1309a4=0x0,_0x16b0d4=0x1,_0x1f48e2=0x2;class _0x360eac extends _0x3de91d{constructor(_0x1afcec,_0x312527){const _0x7bea99=_0x2174;if(super(),_0x1afcec={'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':_0x218673,..._0x1afcec},_0x1afcec[_0x7bea99(0x26d)]==null&&!_0x1afcec[_0x7bea99(0x22b)]&&!_0x1afcec[_0x7bea99(0x342)]||_0x1afcec[_0x7bea99(0x26d)]!=null&&(_0x1afcec['server']||_0x1afcec[_0x7bea99(0x342)])||_0x1afcec[_0x7bea99(0x22b)]&&_0x1afcec[_0x7bea99(0x342)])throw new TypeError(_0x7bea99(0x298));if(_0x1afcec[_0x7bea99(0x26d)]!=null?(this[_0x7bea99(0x235)]=_0x384d47['createServer']((_0x57c054,_0x57ca14)=>{const _0x178b75=_0x7bea99,_0x3f61c0=_0x384d47['STATUS_CODES'][0x1aa];_0x57ca14[_0x178b75(0x1f0)](0x1aa,{'Content-Length':_0x3f61c0['length'],'Content-Type':_0x178b75(0x25a)}),_0x57ca14['end'](_0x3f61c0);}),this[_0x7bea99(0x235)][_0x7bea99(0x33f)](_0x1afcec[_0x7bea99(0x26d)],_0x1afcec[_0x7bea99(0x1f3)],_0x1afcec['backlog'],_0x312527)):_0x1afcec[_0x7bea99(0x22b)]&&(this[_0x7bea99(0x235)]=_0x1afcec['server']),this[_0x7bea99(0x235)]){const _0x3a40e6=this[_0x7bea99(0x23f)][_0x7bea99(0x31c)](this,_0x7bea99(0x21f));this[_0x7bea99(0x207)]=_0x1f5ef5(this[_0x7bea99(0x235)],{'listening':this['emit'][_0x7bea99(0x31c)](this,_0x7bea99(0x1c0)),'error':this['emit'][_0x7bea99(0x31c)](this,_0x7bea99(0x230)),'upgrade':(_0x1f20ea,_0x2127a0,_0x23efc6)=>{this['handleUpgrade'](_0x1f20ea,_0x2127a0,_0x23efc6,_0x3a40e6);}});}_0x1afcec[_0x7bea99(0x327)]===!0x0&&(_0x1afcec[_0x7bea99(0x327)]={}),_0x1afcec[_0x7bea99(0x330)]&&(this[_0x7bea99(0x31b)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x1afcec,this[_0x7bea99(0x1c5)]=_0x1309a4;}[_0x1f49f1(0x319)](){const _0x31f87d=_0x1f49f1;if(this[_0x31f87d(0x29c)][_0x31f87d(0x342)])throw new Error(_0x31f87d(0x239));return this['_server']?this[_0x31f87d(0x235)][_0x31f87d(0x319)]():null;}['close'](_0x3da0d1){const _0x207fa8=_0x1f49f1;if(this['_state']===_0x1f48e2){_0x3da0d1&&this['once']('close',()=>{const _0x47e0f1=_0x2174;_0x3da0d1(new Error(_0x47e0f1(0x1d1)));}),process[_0x207fa8(0x349)](_0x56ce72,this);return;}if(_0x3da0d1&&this['once']('close',_0x3da0d1),this[_0x207fa8(0x1c5)]!==_0x16b0d4){if(this['_state']=_0x16b0d4,this[_0x207fa8(0x29c)][_0x207fa8(0x342)]||this['options'][_0x207fa8(0x22b)])this[_0x207fa8(0x235)]&&(this[_0x207fa8(0x207)](),this[_0x207fa8(0x207)]=this[_0x207fa8(0x235)]=null),this['clients']?this['clients'][_0x207fa8(0x2c5)]?this[_0x207fa8(0x29b)]=!0x0:process['nextTick'](_0x56ce72,this):process['nextTick'](_0x56ce72,this);else{const _0x324834=this[_0x207fa8(0x235)];this[_0x207fa8(0x207)](),this[_0x207fa8(0x207)]=this['_server']=null,_0x324834[_0x207fa8(0x236)](()=>{_0x56ce72(this);});}}}[_0x1f49f1(0x1f7)](_0x1b281e){const _0x3804cd=_0x1f49f1;if(this['options'][_0x3804cd(0x222)]){const _0xd30f2a=_0x1b281e[_0x3804cd(0x204)][_0x3804cd(0x1ce)]('?');if((_0xd30f2a!==-0x1?_0x1b281e[_0x3804cd(0x204)][_0x3804cd(0x304)](0x0,_0xd30f2a):_0x1b281e[_0x3804cd(0x204)])!==this[_0x3804cd(0x29c)][_0x3804cd(0x222)])return!0x1;}return!0x0;}[_0x1f49f1(0x2ce)](_0x19b5c6,_0x5f0bdb,_0x3f7c9f,_0x1eea3f){const _0xdda532=_0x1f49f1;_0x5f0bdb['on'](_0xdda532(0x230),_0x27f062);const _0x5ee936=_0x19b5c6[_0xdda532(0x1f9)]['sec-websocket-key'],_0x510676=_0x19b5c6[_0xdda532(0x1f9)][_0xdda532(0x264)],_0x5aaa70=+_0x19b5c6[_0xdda532(0x1f9)][_0xdda532(0x2a4)];if(_0x19b5c6['method']!==_0xdda532(0x23e)){_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x195,_0xdda532(0x307));return;}if(_0x510676===void 0x0||_0x510676[_0xdda532(0x356)]()!==_0xdda532(0x2ac)){_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x190,_0xdda532(0x2c0));return;}if(_0x5ee936===void 0x0||!_0x4ebb62[_0xdda532(0x2da)](_0x5ee936)){_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x190,_0xdda532(0x20c));return;}if(_0x5aaa70!==0x8&&_0x5aaa70!==0xd){_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xdda532(0x1f7)](_0x19b5c6)){_0x1ca513(_0x5f0bdb,0x190);return;}const _0x18097a=_0x19b5c6['headers'][_0xdda532(0x2ba)];let _0x42300e=new Set();if(_0x18097a!==void 0x0)try{_0x42300e=_0x55e6c6['parse'](_0x18097a);}catch{_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x190,_0xdda532(0x2fc));return;}const _0x1fcf34=_0x19b5c6[_0xdda532(0x1f9)][_0xdda532(0x290)],_0x260102={};if(this[_0xdda532(0x29c)][_0xdda532(0x327)]&&_0x1fcf34!==void 0x0){const _0x577d5c=new _0x235cc9(this[_0xdda532(0x29c)]['perMessageDeflate'],!0x0,this[_0xdda532(0x29c)]['maxPayload']);try{const _0xe7e3ab=_0x222fe5['parse'](_0x1fcf34);_0xe7e3ab[_0x235cc9[_0xdda532(0x354)]]&&(_0x577d5c['accept'](_0xe7e3ab[_0x235cc9['extensionName']]),_0x260102[_0x235cc9[_0xdda532(0x354)]]=_0x577d5c);}catch{_0x3d7afe(this,_0x19b5c6,_0x5f0bdb,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0xdda532(0x29c)]['verifyClient']){const _0x3565f4={'origin':_0x19b5c6['headers'][''+(_0x5aaa70===0x8?_0xdda532(0x2fa):'origin')],'secure':!!(_0x19b5c6[_0xdda532(0x308)][_0xdda532(0x26c)]||_0x19b5c6[_0xdda532(0x308)][_0xdda532(0x274)]),'req':_0x19b5c6};if(this['options'][_0xdda532(0x1b3)][_0xdda532(0x1b5)]===0x2){this[_0xdda532(0x29c)][_0xdda532(0x1b3)](_0x3565f4,(_0x3bb87f,_0x540c98,_0x5d5ba4,_0x1052d3)=>{const _0x402667=_0xdda532;if(!_0x3bb87f)return _0x1ca513(_0x5f0bdb,_0x540c98||0x191,_0x5d5ba4,_0x1052d3);this[_0x402667(0x1b0)](_0x260102,_0x5ee936,_0x42300e,_0x19b5c6,_0x5f0bdb,_0x3f7c9f,_0x1eea3f);});return;}if(!this['options']['verifyClient'](_0x3565f4))return _0x1ca513(_0x5f0bdb,0x191);}this[_0xdda532(0x1b0)](_0x260102,_0x5ee936,_0x42300e,_0x19b5c6,_0x5f0bdb,_0x3f7c9f,_0x1eea3f);}[_0x1f49f1(0x1b0)](_0x570a9a,_0x18e8ca,_0x4ab196,_0x4bda1b,_0x5b047c,_0x3284d6,_0x5506f5){const _0x31819f=_0x1f49f1;if(!_0x5b047c[_0x31819f(0x1d3)]||!_0x5b047c['writable'])return _0x5b047c[_0x31819f(0x33b)]();if(_0x5b047c[_0x36c065])throw new Error(_0x31819f(0x2f1));if(this[_0x31819f(0x1c5)]>_0x1309a4)return _0x1ca513(_0x5b047c,0x1f7);const _0x45f88f=[_0x31819f(0x325),_0x31819f(0x1e6),_0x31819f(0x1e4),'Sec-WebSocket-Accept:\x20'+_0x5d89f5(_0x31819f(0x32b))['update'](_0x18e8ca+_0xa605c1)[_0x31819f(0x309)](_0x31819f(0x1fd))],_0x56afc6=new this[(_0x31819f(0x29c))][(_0x31819f(0x1ec))](null,void 0x0,this['options']);if(_0x4ab196[_0x31819f(0x2c5)]){const _0x2cdeb3=this['options']['handleProtocols']?this[_0x31819f(0x29c)][_0x31819f(0x227)](_0x4ab196,_0x4bda1b):_0x4ab196['values']()['next']()[_0x31819f(0x2e8)];_0x2cdeb3&&(_0x45f88f[_0x31819f(0x324)]('Sec-WebSocket-Protocol:\x20'+_0x2cdeb3),_0x56afc6[_0x31819f(0x200)]=_0x2cdeb3);}if(_0x570a9a[_0x235cc9['extensionName']]){const _0x123992=_0x570a9a[_0x235cc9[_0x31819f(0x354)]][_0x31819f(0x1bd)],_0x5cbcd5=_0x222fe5[_0x31819f(0x23b)]({[_0x235cc9['extensionName']]:[_0x123992]});_0x45f88f[_0x31819f(0x324)](_0x31819f(0x28c)+_0x5cbcd5),_0x56afc6[_0x31819f(0x24a)]=_0x570a9a;}this['emit'](_0x31819f(0x1f9),_0x45f88f,_0x4bda1b),_0x5b047c[_0x31819f(0x2c7)](_0x45f88f[_0x31819f(0x291)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5b047c['removeListener'](_0x31819f(0x230),_0x27f062),_0x56afc6[_0x31819f(0x299)](_0x5b047c,_0x3284d6,{'allowSynchronousEvents':this[_0x31819f(0x29c)][_0x31819f(0x2cf)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x31819f(0x29c)]['skipUTF8Validation']}),this[_0x31819f(0x31b)]&&(this['clients']['add'](_0x56afc6),_0x56afc6['on'](_0x31819f(0x236),()=>{const _0x429c2b=_0x31819f;this['clients']['delete'](_0x56afc6),this[_0x429c2b(0x29b)]&&!this[_0x429c2b(0x31b)]['size']&&process[_0x429c2b(0x349)](_0x56ce72,this);})),_0x5506f5(_0x56afc6,_0x4bda1b);}}be=_0x360eac;function _0x1f5ef5(_0x5d421c,_0x41ee02){const _0x2aa10b=_0x1f49f1;for(const _0xa08578 of Object[_0x2aa10b(0x24e)](_0x41ee02))_0x5d421c['on'](_0xa08578,_0x41ee02[_0xa08578]);return function(){const _0xc56302=_0x2aa10b;for(const _0x4e443b of Object[_0xc56302(0x24e)](_0x41ee02))_0x5d421c[_0xc56302(0x250)](_0x4e443b,_0x41ee02[_0x4e443b]);};}function _0x56ce72(_0x2cc9ca){const _0x1e4902=_0x1f49f1;_0x2cc9ca[_0x1e4902(0x1c5)]=_0x1f48e2,_0x2cc9ca[_0x1e4902(0x23f)](_0x1e4902(0x236));}function _0x27f062(){this['destroy']();}function _0x1ca513(_0x4002ee,_0xa44cad,_0x2642ab,_0x56c3f0){const _0xb99076=_0x1f49f1;_0x2642ab=_0x2642ab||_0x384d47[_0xb99076(0x241)][_0xa44cad],_0x56c3f0={'Connection':_0xb99076(0x236),'Content-Type':_0xb99076(0x2a8),'Content-Length':Buffer[_0xb99076(0x26e)](_0x2642ab),..._0x56c3f0},_0x4002ee['once'](_0xb99076(0x2db),_0x4002ee[_0xb99076(0x33b)]),_0x4002ee['end']('HTTP/1.1\x20'+_0xa44cad+'\x20'+_0x384d47['STATUS_CODES'][_0xa44cad]+'\x0d\x0a'+Object[_0xb99076(0x24e)](_0x56c3f0)[_0xb99076(0x1c7)](_0x34bade=>_0x34bade+':\x20'+_0x56c3f0[_0x34bade])[_0xb99076(0x2c6)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2642ab);}function _0x3d7afe(_0x3ca22b,_0x234083,_0x29f567,_0x123683,_0x5b0e81){const _0x28f461=_0x1f49f1;if(_0x3ca22b[_0x28f461(0x244)]('wsClientError')){const _0x16f219=new Error(_0x5b0e81);Error[_0x28f461(0x25b)](_0x16f219,_0x3d7afe),_0x3ca22b['emit'](_0x28f461(0x254),_0x16f219,_0x29f567,_0x234083);}else _0x1ca513(_0x29f567,_0x123683,_0x5b0e81);}return be;}Ht();var zt=Object[_0x15f4d6(0x2b0)],Yt=Object[_0x15f4d6(0x1e2)],Kt=(_0x10355a,_0x54ac78,_0x230209,_0x203c1e)=>{const _0x236088=_0x15f4d6;for(var _0x41b0a9=_0x203c1e>0x1?void 0x0:_0x203c1e?Yt(_0x54ac78,_0x230209):_0x54ac78,_0x22a140=_0x10355a[_0x236088(0x1b5)]-0x1,_0x5b1bb1;_0x22a140>=0x0;_0x22a140--)(_0x5b1bb1=_0x10355a[_0x22a140])&&(_0x41b0a9=(_0x203c1e?_0x5b1bb1(_0x54ac78,_0x230209,_0x41b0a9):_0x5b1bb1(_0x41b0a9))||_0x41b0a9);return _0x203c1e&&_0x41b0a9&&zt(_0x54ac78,_0x230209,_0x41b0a9),_0x41b0a9;},Xt=(_0x4e6a21,_0x486f05)=>(_0x164657,_0x15bd37)=>_0x486f05(_0x164657,_0x15bd37,_0x4e6a21);let we=class extends _0x3856c4{constructor(_0xfc926c){super(),this['_configService']=_0xfc926c;}[_0x15f4d6(0x328)](_0x2b0657){const _0x4ac2aa=_0x15f4d6;var _0x577459;const _0x430f06=(_0x577459=this[_0x4ac2aa(0x229)]['getConfig'](tt))==null?void 0x0:_0x577459[_0x4ac2aa(0x1be)];try{const _0x42fdb4=new Vt(_0x2b0657,{'headers':{..._0x430f06}}),_0x30c8b7=new _0x1492c1();return{'URL':_0x2b0657,'close':(_0x5e0a34,_0xb94a2e)=>{const _0xd99c11=_0x4ac2aa;_0x42fdb4['close'](_0x5e0a34,_0xb94a2e),_0x30c8b7[_0xd99c11(0x267)]();},'send':_0x27edfb=>{_0x42fdb4['send'](_0x27edfb);},'open$':new _0x4fa433(_0x22a4ab=>{const _0x5566c6=_0x4ac2aa,_0x147ee3=_0x58cdad=>_0x22a4ab[_0x5566c6(0x1cb)](_0x58cdad);_0x42fdb4[_0x5566c6(0x20f)](_0x5566c6(0x218),_0x147ee3),_0x30c8b7[_0x5566c6(0x217)](_0x15a653(()=>_0x42fdb4[_0x5566c6(0x31a)](_0x5566c6(0x218),_0x147ee3)));})[_0x4ac2aa(0x245)](_0x2f5814()),'close$':new _0x4fa433(_0x23f13b=>{const _0x5a5ddd=_0x4ac2aa,_0xe777b4=_0x1f37f7=>_0x23f13b[_0x5a5ddd(0x1cb)](_0x1f37f7);_0x42fdb4[_0x5a5ddd(0x20f)](_0x5a5ddd(0x236),_0xe777b4),_0x30c8b7[_0x5a5ddd(0x217)](_0x15a653(()=>_0x42fdb4[_0x5a5ddd(0x31a)](_0x5a5ddd(0x236),_0xe777b4)));})['pipe'](_0x2f5814()),'error$':new _0x4fa433(_0xecc926=>{const _0x5c7926=_0x4ac2aa,_0x5912bd=_0x3d0e25=>_0xecc926[_0x5c7926(0x1cb)](_0x3d0e25);_0x42fdb4[_0x5c7926(0x20f)](_0x5c7926(0x230),_0x5912bd),_0x30c8b7['add'](_0x15a653(()=>_0x42fdb4[_0x5c7926(0x31a)]('error',_0x5912bd)));})['pipe'](_0x2f5814()),'message$':new _0x4fa433(_0x2adeab=>{const _0x4666b1=_0x4ac2aa,_0x942d2a=_0x37f775=>_0x2adeab[_0x4666b1(0x1cb)](_0x37f775);_0x42fdb4[_0x4666b1(0x20f)](_0x4666b1(0x1e5),_0x942d2a),_0x30c8b7[_0x4666b1(0x217)](_0x15a653(()=>_0x42fdb4[_0x4666b1(0x31a)](_0x4666b1(0x1e5),_0x942d2a)));})[_0x4ac2aa(0x245)](_0x2f5814())};}catch(_0x2ea323){return console[_0x4ac2aa(0x230)](_0x2ea323),null;}}};we=Kt([Xt(0x0,_0x47787d)],we);var at=Object[_0x15f4d6(0x2b0)],Zt=Object[_0x15f4d6(0x1e2)],Qt=(_0x1abd48,_0x1cf47e,_0x337de1)=>_0x1cf47e in _0x1abd48?at(_0x1abd48,_0x1cf47e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x337de1}):_0x1abd48[_0x1cf47e]=_0x337de1,Jt=(_0x3dbee4,_0x4cf598,_0x35550e,_0x2ce939)=>{const _0x17ef64=_0x15f4d6;for(var _0x44b763=_0x2ce939>0x1?void 0x0:_0x2ce939?Zt(_0x4cf598,_0x35550e):_0x4cf598,_0x5cf970=_0x3dbee4[_0x17ef64(0x1b5)]-0x1,_0x229f62;_0x5cf970>=0x0;_0x5cf970--)(_0x229f62=_0x3dbee4[_0x5cf970])&&(_0x44b763=(_0x2ce939?_0x229f62(_0x4cf598,_0x35550e,_0x44b763):_0x229f62(_0x44b763))||_0x44b763);return _0x2ce939&&_0x44b763&&at(_0x4cf598,_0x35550e,_0x44b763),_0x44b763;},ae=(_0x1a1334,_0x7de3e7)=>(_0x4edc04,_0x55f1d0)=>_0x7de3e7(_0x4edc04,_0x55f1d0,_0x1a1334),er=(_0x5701a4,_0x5c8c8c,_0x48e747)=>Qt(_0x5701a4,_0x5c8c8c+'',_0x48e747);let Oe=class extends _0x1d11ce{constructor(_0x2811c4=Rt,_0x38ffa1,_0x535949,_0x148b98,_0x99edae){const _0x47222f=_0x15f4d6;_0x2811c4[_0x47222f(0x1be)]||_0x38ffa1[_0x47222f(0x1eb)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x47222f(0x229)]=_0x535949,this[_0x47222f(0x269)]=_0x148b98,this['_httpService']=_0x99edae,this[_0x47222f(0x229)][_0x47222f(0x2ca)](tt,_0x2811c4),this[_0x47222f(0x1d4)][_0x47222f(0x2f8)]({'interceptor':(_0x37cd04,_0x547592)=>{const _0x1a0fad=_0x47222f;var _0x5f3a9,_0x350478,_0x5f2bbc;const _0x534d47=_0x37cd04[_0x1a0fad(0x1f9)];return(_0x5f3a9=_0x2811c4[_0x1a0fad(0x1be)])!=null&&_0x5f3a9[_0x1a0fad(0x2bc)]&&_0x534d47[_0x1a0fad(0x1fc)]('Cookie',(_0x5f2bbc=(_0x350478=_0x2811c4[_0x1a0fad(0x1be)])==null?void 0x0:_0x350478['cookie'])!=null?_0x5f2bbc:''),_0x547592(_0x37cd04);}});}['onStarting'](){const _0x373197=_0x15f4d6;this[_0x373197(0x26b)]();}[_0x15f4d6(0x26b)](){const _0x21f6aa=_0x15f4d6;_0x30e3f8(this[_0x21f6aa(0x269)],[[_0x534985,{'useClass':we}]]);}};er(Oe,'pluginName',_0x15f4d6(0x2e1)),Oe=Jt([_0x4ab4e0(_0x150cff),ae(0x1,_0xf1b8a1),ae(0x2,_0x47787d),ae(0x3,_0x56b6a6(_0x1ecfad)),ae(0x4,_0x56b6a6(_0x380bcb))],Oe);export{Oe as UniverCollaborationClientNodePlugin};
1
+ const _0x54ec85=_0x1213;(function(_0x1d4fdf,_0x3b6b45){const _0x1cb922=_0x1213,_0x54af5c=_0x1d4fdf();while(!![]){try{const _0x463ff8=-parseInt(_0x1cb922(0x28f))/0x1+-parseInt(_0x1cb922(0x173))/0x2+parseInt(_0x1cb922(0x14d))/0x3+-parseInt(_0x1cb922(0x11a))/0x4*(-parseInt(_0x1cb922(0x12b))/0x5)+-parseInt(_0x1cb922(0x1d8))/0x6*(-parseInt(_0x1cb922(0x2c0))/0x7)+parseInt(_0x1cb922(0x2a8))/0x8+-parseInt(_0x1cb922(0x1d4))/0x9;if(_0x463ff8===_0x3b6b45)break;else _0x54af5c['push'](_0x54af5c['shift']());}catch(_0x95d8cb){_0x54af5c['push'](_0x54af5c['shift']());}}}(_0x3313,0x5526a));var __defProp=Object['defineProperty'],__name=(_0x13e194,_0x537263)=>__defProp(_0x13e194,_0x54ec85(0x2a1),{'value':_0x537263,'configurable':!0x0});import{UniverCollaborationClientPlugin}from'@univerjs-pro/collaboration-client';import{Disposable,DisposableCollection,toDisposable,IConfigService,DependentOn,Inject,Injector,Plugin,registerDependencies,ILogService}from'@univerjs/core';import{HTTPService,ISocketService}from'@univerjs/network';import{Observable,share}from'rxjs';import _0x23e8d5 from'stream';import _0x1b1f61 from'zlib';import _0x48db6e from'buffer';import _0x45e2e6 from'crypto';import _0x39f753 from'events';import _0x4604d3 from'https';import _0xb04b60 from'http';import _0x5b10ef from'net';import _0xfd5700 from'tls';import _0x22b036 from'url';const COLLABORATION_CLIENT_NODE_CONFIG_KEY='collaboration-client-node.config',defaultPluginConfig={'customHeaders':{}};function getDefaultExportFromCjs(_0x3fdd50){const _0x2ebc41=_0x54ec85;return _0x3fdd50&&_0x3fdd50[_0x2ebc41(0x256)]&&Object[_0x2ebc41(0x15d)][_0x2ebc41(0x258)][_0x2ebc41(0x222)](_0x3fdd50,_0x2ebc41(0x112))?_0x3fdd50[_0x2ebc41(0x112)]:_0x3fdd50;}__name(getDefaultExportFromCjs,'getDefaultExportFromCjs');function getAugmentedNamespace(_0x1becf3){const _0x548656=_0x54ec85;if(_0x1becf3[_0x548656(0x256)])return _0x1becf3;var _0x2a6bea=_0x1becf3['default'];if(typeof _0x2a6bea=='function'){var _0x48baa0=__name(function _0x1dfe20(){const _0x2d38f3=_0x548656;return this instanceof _0x1dfe20?Reflect[_0x2d38f3(0x1db)](_0x2a6bea,arguments,this['constructor']):_0x2a6bea['apply'](this,arguments);},'a');_0x48baa0[_0x548656(0x15d)]=_0x2a6bea[_0x548656(0x15d)];}else _0x48baa0={};return Object['defineProperty'](_0x48baa0,'__esModule',{'value':!0x0}),Object[_0x548656(0x21a)](_0x1becf3)['forEach'](function(_0x29a36b){const _0x4a08ff=_0x548656;var _0x1c7e8a=Object[_0x4a08ff(0x11c)](_0x1becf3,_0x29a36b);Object[_0x4a08ff(0x145)](_0x48baa0,_0x29a36b,_0x1c7e8a['get']?_0x1c7e8a:{'enumerable':!0x0,'get':__name(function(){return _0x1becf3[_0x29a36b];},_0x4a08ff(0x1ce))});}),_0x48baa0;}__name(getAugmentedNamespace,_0x54ec85(0x22a));var bufferUtil={'exports':{}},constants,hasRequiredConstants;function requireConstants(){const _0x485370=_0x54ec85;if(hasRequiredConstants)return constants;hasRequiredConstants=0x1;const _0x2df561=[_0x485370(0x21b),_0x485370(0x297),_0x485370(0x268)],_0x17ba6e=typeof Blob<'u';return _0x17ba6e&&_0x2df561[_0x485370(0x1dc)]('blob'),constants={'BINARY_TYPES':_0x2df561,'EMPTY_BUFFER':Buffer[_0x485370(0x1f9)](0x0),'GUID':_0x485370(0x10f),'hasBlob':_0x17ba6e,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x485370(0x22c)),'kStatusCode':Symbol(_0x485370(0x178)),'kWebSocket':Symbol('websocket'),'NOOP':__name(()=>{},_0x485370(0x298))},constants;}__name(requireConstants,_0x54ec85(0x1e5));const __viteOptionalPeerDep_bufferutil_ws={},__viteOptionalPeerDep_bufferutil_ws$1=Object['freeze'](Object[_0x54ec85(0x145)]({'__proto__':null,'default':__viteOptionalPeerDep_bufferutil_ws},Symbol['toStringTag'],{'value':_0x54ec85(0x157)})),require$$1=getAugmentedNamespace(__viteOptionalPeerDep_bufferutil_ws$1);var hasRequiredBufferUtil;function requireBufferUtil(){const _0x5c6d29=_0x54ec85;if(hasRequiredBufferUtil)return bufferUtil[_0x5c6d29(0x122)];hasRequiredBufferUtil=0x1;const {EMPTY_BUFFER:_0xc8a4a3}=requireConstants(),_0x21cec4=Buffer[Symbol['species']];function _0x3d3a0e(_0x2d81b5,_0x47427a){const _0x443a02=_0x5c6d29;if(_0x2d81b5[_0x443a02(0x1f5)]===0x0)return _0xc8a4a3;if(_0x2d81b5[_0x443a02(0x1f5)]===0x1)return _0x2d81b5[0x0];const _0x2f1d5c=Buffer[_0x443a02(0x106)](_0x47427a);let _0x4c2e50=0x0;for(let _0x2b7902=0x0;_0x2b7902<_0x2d81b5[_0x443a02(0x1f5)];_0x2b7902++){const _0x19e9a8=_0x2d81b5[_0x2b7902];_0x2f1d5c[_0x443a02(0x17c)](_0x19e9a8,_0x4c2e50),_0x4c2e50+=_0x19e9a8[_0x443a02(0x1f5)];}return _0x4c2e50<_0x47427a?new _0x21cec4(_0x2f1d5c['buffer'],_0x2f1d5c['byteOffset'],_0x4c2e50):_0x2f1d5c;}__name(_0x3d3a0e,_0x5c6d29(0x17b));function _0x142d6f(_0x16d4e2,_0x1ce289,_0xaac252,_0xec779a,_0x59f58f){for(let _0x107f5b=0x0;_0x107f5b<_0x59f58f;_0x107f5b++)_0xaac252[_0xec779a+_0x107f5b]=_0x16d4e2[_0x107f5b]^_0x1ce289[_0x107f5b&0x3];}__name(_0x142d6f,'_mask');function _0x1eb2a6(_0x410fc1,_0x160df9){const _0x23b641=_0x5c6d29;for(let _0x5c3d09=0x0;_0x5c3d09<_0x410fc1[_0x23b641(0x1f5)];_0x5c3d09++)_0x410fc1[_0x5c3d09]^=_0x160df9[_0x5c3d09&0x3];}__name(_0x1eb2a6,_0x5c6d29(0x291));function _0x19f3f0(_0x20d2ea){const _0x4abe1f=_0x5c6d29;return _0x20d2ea['length']===_0x20d2ea[_0x4abe1f(0x218)]['byteLength']?_0x20d2ea['buffer']:_0x20d2ea['buffer'][_0x4abe1f(0x24f)](_0x20d2ea[_0x4abe1f(0x224)],_0x20d2ea[_0x4abe1f(0x224)]+_0x20d2ea[_0x4abe1f(0x1f5)]);}__name(_0x19f3f0,_0x5c6d29(0x185));function _0xbafa57(_0x460e14){const _0x54be27=_0x5c6d29;if(_0xbafa57[_0x54be27(0x211)]=!0x0,Buffer[_0x54be27(0x108)](_0x460e14))return _0x460e14;let _0x37d879;return _0x460e14 instanceof ArrayBuffer?_0x37d879=new _0x21cec4(_0x460e14):ArrayBuffer[_0x54be27(0x193)](_0x460e14)?_0x37d879=new _0x21cec4(_0x460e14[_0x54be27(0x218)],_0x460e14[_0x54be27(0x224)],_0x460e14[_0x54be27(0x18d)]):(_0x37d879=Buffer['from'](_0x460e14),_0xbafa57['readOnly']=!0x1),_0x37d879;}if(__name(_0xbafa57,'toBuffer'),bufferUtil[_0x5c6d29(0x122)]={'concat':_0x3d3a0e,'mask':_0x142d6f,'toArrayBuffer':_0x19f3f0,'toBuffer':_0xbafa57,'unmask':_0x1eb2a6},!process[_0x5c6d29(0x165)][_0x5c6d29(0x216)])try{const _0xba9bff=require$$1;bufferUtil[_0x5c6d29(0x122)][_0x5c6d29(0x294)]=function(_0x99b932,_0x58d481,_0x1925b8,_0x36da2a,_0x28c9b3){const _0x11d66d=_0x5c6d29;_0x28c9b3<0x30?_0x142d6f(_0x99b932,_0x58d481,_0x1925b8,_0x36da2a,_0x28c9b3):_0xba9bff[_0x11d66d(0x294)](_0x99b932,_0x58d481,_0x1925b8,_0x36da2a,_0x28c9b3);},bufferUtil[_0x5c6d29(0x122)][_0x5c6d29(0x2d0)]=function(_0x2b8321,_0x37d658){const _0x2ddf5c=_0x5c6d29;_0x2b8321[_0x2ddf5c(0x1f5)]<0x20?_0x1eb2a6(_0x2b8321,_0x37d658):_0xba9bff[_0x2ddf5c(0x2d0)](_0x2b8321,_0x37d658);};}catch{}return bufferUtil['exports'];}__name(requireBufferUtil,_0x54ec85(0x1a2));var limiter,hasRequiredLimiter;function requireLimiter(){const _0x5d2c1f=_0x54ec85;if(hasRequiredLimiter)return limiter;hasRequiredLimiter=0x1;const _0x16dc1f=Symbol(_0x5d2c1f(0x20f)),_0x28efab=Symbol(_0x5d2c1f(0x147)),_0xeb2214=class _0x36d1a0{constructor(_0x38a6d4){const _0x331c78=_0x5d2c1f;this[_0x16dc1f]=()=>{const _0x27d461=_0x1213;this[_0x27d461(0x1a4)]--,this[_0x28efab]();},this[_0x331c78(0x14f)]=_0x38a6d4||0x1/0x0,this[_0x331c78(0x17e)]=[],this[_0x331c78(0x1a4)]=0x0;}[_0x5d2c1f(0x29f)](_0x9afb0d){const _0x3b8495=_0x5d2c1f;this['jobs'][_0x3b8495(0x1dc)](_0x9afb0d),this[_0x28efab]();}[_0x28efab](){const _0x197bda=_0x5d2c1f;if(this[_0x197bda(0x1a4)]!==this[_0x197bda(0x14f)]&&this[_0x197bda(0x17e)][_0x197bda(0x1f5)]){const _0x1de0fa=this[_0x197bda(0x17e)][_0x197bda(0x10c)]();this[_0x197bda(0x1a4)]++,_0x1de0fa(this[_0x16dc1f]);}}};__name(_0xeb2214,_0x5d2c1f(0x1fb));let _0x1a136c=_0xeb2214;return limiter=_0x1a136c,limiter;}__name(requireLimiter,_0x54ec85(0x28d));var permessageDeflate,hasRequiredPermessageDeflate;function requirePermessageDeflate(){const _0x3f378e=_0x54ec85;if(hasRequiredPermessageDeflate)return permessageDeflate;hasRequiredPermessageDeflate=0x1;const _0x234694=_0x1b1f61,_0x55a4d2=requireBufferUtil(),_0x338ee0=requireLimiter(),{kStatusCode:_0x16ec9f}=requireConstants(),_0x232f07=Buffer[Symbol[_0x3f378e(0x20b)]],_0x2449e4=Buffer[_0x3f378e(0x28a)]([0x0,0x0,0xff,0xff]),_0x43dfa7=Symbol('permessage-deflate'),_0x1fe06c=Symbol(_0x3f378e(0x28b)),_0x2396b0=Symbol(_0x3f378e(0x126)),_0x374bf4=Symbol(_0x3f378e(0x156)),_0x5900f7=Symbol(_0x3f378e(0x209));let _0x1ea09d;const _0x540f31=class _0x35688b{constructor(_0x5875ac,_0x4987a7,_0x1f73d1){const _0x5e635c=_0x3f378e;if(this['_maxPayload']=_0x1f73d1|0x0,this[_0x5e635c(0x1ff)]=_0x5875ac||{},this[_0x5e635c(0x1b5)]=this[_0x5e635c(0x1ff)]['threshold']!==void 0x0?this[_0x5e635c(0x1ff)]['threshold']:0x400,this[_0x5e635c(0x248)]=!!_0x4987a7,this[_0x5e635c(0x276)]=null,this[_0x5e635c(0x269)]=null,this[_0x5e635c(0x180)]=null,!_0x1ea09d){const _0xc1a6e6=this[_0x5e635c(0x1ff)]['concurrencyLimit']!==void 0x0?this[_0x5e635c(0x1ff)][_0x5e635c(0x2ee)]:0xa;_0x1ea09d=new _0x338ee0(_0xc1a6e6);}}static get[_0x3f378e(0x237)](){const _0x2133e8=_0x3f378e;return _0x2133e8(0x195);}[_0x3f378e(0x2a3)](){const _0x2b9f87=_0x3f378e,_0x47c58d={};return this['_options']['serverNoContextTakeover']&&(_0x47c58d[_0x2b9f87(0x214)]=!0x0),this[_0x2b9f87(0x1ff)]['clientNoContextTakeover']&&(_0x47c58d[_0x2b9f87(0x149)]=!0x0),this['_options'][_0x2b9f87(0x2ac)]&&(_0x47c58d['server_max_window_bits']=this[_0x2b9f87(0x1ff)]['serverMaxWindowBits']),this['_options'][_0x2b9f87(0x26a)]?_0x47c58d[_0x2b9f87(0x240)]=this[_0x2b9f87(0x1ff)][_0x2b9f87(0x26a)]:this[_0x2b9f87(0x1ff)]['clientMaxWindowBits']==null&&(_0x47c58d[_0x2b9f87(0x240)]=!0x0),_0x47c58d;}[_0x3f378e(0x21e)](_0x5899cd){const _0x56664e=_0x3f378e;return _0x5899cd=this[_0x56664e(0x2ab)](_0x5899cd),this['params']=this['_isServer']?this[_0x56664e(0x111)](_0x5899cd):this[_0x56664e(0x255)](_0x5899cd),this[_0x56664e(0x180)];}[_0x3f378e(0x1cb)](){const _0x2169cf=_0x3f378e;if(this[_0x2169cf(0x269)]&&(this[_0x2169cf(0x269)][_0x2169cf(0x1c2)](),this['_inflate']=null),this[_0x2169cf(0x276)]){const _0x13becf=this['_deflate'][_0x2396b0];this['_deflate'][_0x2169cf(0x1c2)](),this[_0x2169cf(0x276)]=null,_0x13becf&&_0x13becf(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x3f378e(0x111)](_0x23a0f6){const _0x23ea9f=_0x3f378e,_0x264980=this[_0x23ea9f(0x1ff)],_0x248098=_0x23a0f6[_0x23ea9f(0x20e)](_0x43f291=>!(_0x264980[_0x23ea9f(0x1c3)]===!0x1&&_0x43f291['server_no_context_takeover']||_0x43f291['server_max_window_bits']&&(_0x264980['serverMaxWindowBits']===!0x1||typeof _0x264980[_0x23ea9f(0x2ac)]==_0x23ea9f(0x1e0)&&_0x264980['serverMaxWindowBits']>_0x43f291[_0x23ea9f(0x11d)])||typeof _0x264980[_0x23ea9f(0x26a)]==_0x23ea9f(0x1e0)&&!_0x43f291[_0x23ea9f(0x240)]));if(!_0x248098)throw new Error(_0x23ea9f(0x1b9));return _0x264980[_0x23ea9f(0x1c3)]&&(_0x248098[_0x23ea9f(0x214)]=!0x0),_0x264980[_0x23ea9f(0x2e2)]&&(_0x248098['client_no_context_takeover']=!0x0),typeof _0x264980[_0x23ea9f(0x2ac)]=='number'&&(_0x248098['server_max_window_bits']=_0x264980[_0x23ea9f(0x2ac)]),typeof _0x264980[_0x23ea9f(0x26a)]==_0x23ea9f(0x1e0)?_0x248098[_0x23ea9f(0x240)]=_0x264980[_0x23ea9f(0x26a)]:(_0x248098[_0x23ea9f(0x240)]===!0x0||_0x264980[_0x23ea9f(0x26a)]===!0x1)&&delete _0x248098['client_max_window_bits'],_0x248098;}[_0x3f378e(0x255)](_0xf657b6){const _0x141754=_0x3f378e,_0x2c1366=_0xf657b6[0x0];if(this[_0x141754(0x1ff)][_0x141754(0x2e2)]===!0x1&&_0x2c1366[_0x141754(0x149)])throw new Error(_0x141754(0x164));if(!_0x2c1366[_0x141754(0x240)])typeof this['_options'][_0x141754(0x26a)]=='number'&&(_0x2c1366[_0x141754(0x240)]=this[_0x141754(0x1ff)][_0x141754(0x26a)]);else{if(this[_0x141754(0x1ff)][_0x141754(0x26a)]===!0x1||typeof this['_options'][_0x141754(0x26a)]=='number'&&_0x2c1366[_0x141754(0x240)]>this[_0x141754(0x1ff)][_0x141754(0x26a)])throw new Error(_0x141754(0x118));}return _0x2c1366;}[_0x3f378e(0x2ab)](_0x4eaa19){const _0x49218e=_0x3f378e;return _0x4eaa19[_0x49218e(0x2d3)](_0x352043=>{const _0x518343=_0x49218e;Object['keys'](_0x352043)[_0x518343(0x2d3)](_0x324c6f=>{const _0x29d2c5=_0x518343;let _0x46db45=_0x352043[_0x324c6f];if(_0x46db45[_0x29d2c5(0x1f5)]>0x1)throw new Error(_0x29d2c5(0x1f8)+_0x324c6f+_0x29d2c5(0x1ab));if(_0x46db45=_0x46db45[0x0],_0x324c6f===_0x29d2c5(0x240)){if(_0x46db45!==!0x0){const _0x60b2d6=+_0x46db45;if(!Number[_0x29d2c5(0x22f)](_0x60b2d6)||_0x60b2d6<0x8||_0x60b2d6>0xf)throw new TypeError(_0x29d2c5(0x18e)+_0x324c6f+_0x29d2c5(0x2e5)+_0x46db45);_0x46db45=_0x60b2d6;}else{if(!this[_0x29d2c5(0x248)])throw new TypeError(_0x29d2c5(0x18e)+_0x324c6f+_0x29d2c5(0x2e5)+_0x46db45);}}else{if(_0x324c6f==='server_max_window_bits'){const _0x438426=+_0x46db45;if(!Number[_0x29d2c5(0x22f)](_0x438426)||_0x438426<0x8||_0x438426>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x324c6f+'\x22:\x20'+_0x46db45);_0x46db45=_0x438426;}else{if(_0x324c6f===_0x29d2c5(0x149)||_0x324c6f===_0x29d2c5(0x214)){if(_0x46db45!==!0x0)throw new TypeError(_0x29d2c5(0x18e)+_0x324c6f+_0x29d2c5(0x2e5)+_0x46db45);}else throw new Error(_0x29d2c5(0x230)+_0x324c6f+'\x22');}}_0x352043[_0x324c6f]=_0x46db45;});}),_0x4eaa19;}[_0x3f378e(0x2d2)](_0x56f088,_0x114586,_0xd322b9){const _0xa9c571=_0x3f378e;_0x1ea09d[_0xa9c571(0x29f)](_0x32eec2=>{const _0x1cce0e=_0xa9c571;this[_0x1cce0e(0x1f7)](_0x56f088,_0x114586,(_0x447b44,_0x11b5f8)=>{_0x32eec2(),_0xd322b9(_0x447b44,_0x11b5f8);});});}[_0x3f378e(0x267)](_0x27fc27,_0x524193,_0x3f4502){_0x1ea09d['add'](_0x390156=>{const _0x43d6c9=_0x1213;this[_0x43d6c9(0x243)](_0x27fc27,_0x524193,(_0x3a3c74,_0x358b08)=>{_0x390156(),_0x3f4502(_0x3a3c74,_0x358b08);});});}[_0x3f378e(0x1f7)](_0x41a058,_0x33fbdc,_0x1615e0){const _0x4e73b3=_0x3f378e,_0x4b7665=this['_isServer']?_0x4e73b3(0x24a):_0x4e73b3(0x136);if(!this[_0x4e73b3(0x269)]){const _0x2b5cd2=_0x4b7665+_0x4e73b3(0x2e1),_0x574359=typeof this[_0x4e73b3(0x180)][_0x2b5cd2]!='number'?_0x234694['Z_DEFAULT_WINDOWBITS']:this[_0x4e73b3(0x180)][_0x2b5cd2];this[_0x4e73b3(0x269)]=_0x234694['createInflateRaw']({...this['_options']['zlibInflateOptions'],'windowBits':_0x574359}),this[_0x4e73b3(0x269)][_0x43dfa7]=this,this['_inflate'][_0x1fe06c]=0x0,this['_inflate'][_0x374bf4]=[],this[_0x4e73b3(0x269)]['on'](_0x4e73b3(0x209),_0x2be82a),this[_0x4e73b3(0x269)]['on']('data',_0x24aa3f);}this[_0x4e73b3(0x269)][_0x2396b0]=_0x1615e0,this[_0x4e73b3(0x269)][_0x4e73b3(0x1a8)](_0x41a058),_0x33fbdc&&this[_0x4e73b3(0x269)][_0x4e73b3(0x1a8)](_0x2449e4),this[_0x4e73b3(0x269)]['flush'](()=>{const _0x4ccf38=_0x4e73b3,_0x2fe723=this[_0x4ccf38(0x269)][_0x5900f7];if(_0x2fe723){this[_0x4ccf38(0x269)]['close'](),this[_0x4ccf38(0x269)]=null,_0x1615e0(_0x2fe723);return;}const _0xb4bfbb=_0x55a4d2[_0x4ccf38(0x17b)](this[_0x4ccf38(0x269)][_0x374bf4],this[_0x4ccf38(0x269)][_0x1fe06c]);this[_0x4ccf38(0x269)]['_readableState'][_0x4ccf38(0x18b)]?(this[_0x4ccf38(0x269)]['close'](),this[_0x4ccf38(0x269)]=null):(this['_inflate'][_0x1fe06c]=0x0,this[_0x4ccf38(0x269)][_0x374bf4]=[],_0x33fbdc&&this[_0x4ccf38(0x180)][_0x4b7665+_0x4ccf38(0x1c6)]&&this[_0x4ccf38(0x269)][_0x4ccf38(0x167)]()),_0x1615e0(null,_0xb4bfbb);});}[_0x3f378e(0x243)](_0x482c88,_0x20632e,_0x5a6803){const _0xbf4302=_0x3f378e,_0x447399=this[_0xbf4302(0x248)]?'server':'client';if(!this['_deflate']){const _0x4359df=_0x447399+_0xbf4302(0x2e1),_0xf44c60=typeof this[_0xbf4302(0x180)][_0x4359df]!=_0xbf4302(0x1e0)?_0x234694['Z_DEFAULT_WINDOWBITS']:this[_0xbf4302(0x180)][_0x4359df];this['_deflate']=_0x234694[_0xbf4302(0x203)]({...this['_options'][_0xbf4302(0x1cc)],'windowBits':_0xf44c60}),this[_0xbf4302(0x276)][_0x1fe06c]=0x0,this[_0xbf4302(0x276)][_0x374bf4]=[],this[_0xbf4302(0x276)]['on'](_0xbf4302(0x2c7),_0x29d41d);}this[_0xbf4302(0x276)][_0x2396b0]=_0x5a6803,this[_0xbf4302(0x276)][_0xbf4302(0x1a8)](_0x482c88),this[_0xbf4302(0x276)][_0xbf4302(0x190)](_0x234694[_0xbf4302(0x2ea)],()=>{const _0x348334=_0xbf4302;if(!this['_deflate'])return;let _0x5877dc=_0x55a4d2['concat'](this['_deflate'][_0x374bf4],this[_0x348334(0x276)][_0x1fe06c]);_0x20632e&&(_0x5877dc=new _0x232f07(_0x5877dc[_0x348334(0x218)],_0x5877dc['byteOffset'],_0x5877dc['length']-0x4)),this[_0x348334(0x276)][_0x2396b0]=null,this[_0x348334(0x276)][_0x1fe06c]=0x0,this[_0x348334(0x276)][_0x374bf4]=[],_0x20632e&&this[_0x348334(0x180)][_0x447399+_0x348334(0x1c6)]&&this['_deflate'][_0x348334(0x167)](),_0x5a6803(null,_0x5877dc);});}};__name(_0x540f31,_0x3f378e(0x194));let _0x19160f=_0x540f31;permessageDeflate=_0x19160f;function _0x29d41d(_0x2567fc){const _0x5f2321=_0x3f378e;this[_0x374bf4][_0x5f2321(0x1dc)](_0x2567fc),this[_0x1fe06c]+=_0x2567fc[_0x5f2321(0x1f5)];}__name(_0x29d41d,'deflateOnData');function _0x24aa3f(_0x11475d){const _0x1ba9fa=_0x3f378e;if(this[_0x1fe06c]+=_0x11475d[_0x1ba9fa(0x1f5)],this[_0x43dfa7][_0x1ba9fa(0x1ef)]<0x1||this[_0x1fe06c]<=this[_0x43dfa7][_0x1ba9fa(0x1ef)]){this[_0x374bf4][_0x1ba9fa(0x1dc)](_0x11475d);return;}this[_0x5900f7]=new RangeError(_0x1ba9fa(0x265)),this[_0x5900f7][_0x1ba9fa(0x23f)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5900f7][_0x16ec9f]=0x3f1,this['removeListener'](_0x1ba9fa(0x2c7),_0x24aa3f),this[_0x1ba9fa(0x167)]();}__name(_0x24aa3f,_0x3f378e(0x1bf));function _0x2be82a(_0x23930b){this[_0x43dfa7]['_inflate']=null,_0x23930b[_0x16ec9f]=0x3ef,this[_0x2396b0](_0x23930b);}return __name(_0x2be82a,'inflateOnError'),permessageDeflate;}function _0x1213(_0x27d6da,_0xe5c30b){const _0x331357=_0x3313();return _0x1213=function(_0x12132d,_0x1e6042){_0x12132d=_0x12132d-0x105;let _0x561835=_0x331357[_0x12132d];return _0x561835;},_0x1213(_0x27d6da,_0xe5c30b);}__name(requirePermessageDeflate,'requirePermessageDeflate');var validation={'exports':{}};const __viteOptionalPeerDep_utf8Validate_ws={},__viteOptionalPeerDep_utf8Validate_ws$1=Object[_0x54ec85(0x2df)](Object[_0x54ec85(0x145)]({'__proto__':null,'default':__viteOptionalPeerDep_utf8Validate_ws},Symbol[_0x54ec85(0x221)],{'value':'Module'})),require$$2=getAugmentedNamespace(__viteOptionalPeerDep_utf8Validate_ws$1);var hasRequiredValidation;function _0x3313(){const _0x51a609=['writeUIntBE','clientTracking','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Maximum\x20redirects\x20exceeded','_injector','FIN\x20must\x20be\x20set','dequeue','finishRequest','Invalid\x20URL:\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','defineProperty','Invalid\x20WebSocket\x20frame:\x20','kRun','dispatch','client_no_context_takeover','dispose','_binaryType','apply','846282vanxbx','isServer','concurrency','upgrade','invalid\x20opcode\x200','_queue','host','request','getBlobData','buffers','Module','_removeListeners','_readableState','toString','The\x20URL\x27s\x20pathname\x20is\x20empty','kData','prototype','object','sec-websocket-accept','invalid\x20status\x20code\x20','noServer','_mask','onClose','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','env','kAborted','reset','listening','pipe','WS_NO_UTF_8_VALIDATE','_payloadLength','Sec-WebSocket-Origin','customHeaders','_buffers','arrayBuffer','message','Origin','addEventListener','196604bnmONS','_configService','followRedirects','setSocket','frame','status-code','connect','then','concat','set','end','jobs','WS_ERR_EXPECTED_MASK','params','text/html','Opening\x20handshake\x20has\x20timed\x20out','_bufferedBytes','port','toArrayBuffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','sec-websocket-version','UniverCollaborationClientNodePlugin','map','endEmitted','onmessage','byteLength','Invalid\x20value\x20for\x20parameter\x20\x22','_fragmented','flush','_httpService','requireValidation','isView','PerMessageDeflate','permessage-deflate','receiverOnDrain','_url','maxRedirects','consume','Sender','_receiver','statusCode','__publicField','password','setHeader','WS_ERR_INVALID_OPCODE','requireReceiver','requireBufferUtil','origin','pending','\x20(supported\x20versions:\x20','update','receiverOnError','write','setTimeout','abort','\x22\x20must\x20have\x20only\x20a\x20single\x20value','websocket','pong','onclose','_errored','listenerCount','CLOSED','__decorateParam','binaryType','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_threshold','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','removeEventListener','Sec-WebSocket-Extensions','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_originalIpc','handleEvent','sendFrame','kType','WS_ERR_UNEXPECTED_RSV_2_3','inflateOnData','toLowerCase','_closeMessage','close','serverNoContextTakeover','destroyed','getConfig','_no_context_takeover','getPayloadLength16','socketOnEnd','readable','Invalid\x20Sec-WebSocket-Extensions\x20header','cleanup','zlibDeflateOptions','listeners','get','onStarting','bufferedAmount','isPaused','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','test','5148081MOUYEX','finish','_extensions','haveLength','2296206HTBzeG','pathname','_loop','construct','push','_protocol','requireEventTarget','opcode','number','callListener','text/plain','bind','Blob','requireConstants','isValidStatusCode','Unsupported\x20protocol\x20version:\x20','fin','HTTP/1.1\x20101\x20Switching\x20Protocols','initAsClient','getPayloadLength64','GET','authorized','_server','_maxPayload','_sender','unshift','onError','servername','_closeFrameSent','length','ws:','_decompress','Parameter\x20\x22','alloc','MessageEvent','Limiter','removeAllListeners','parse','socketOnClose','_options','CloseEvent','writeHead','captureStackTrace','createDeflateRaw','auth','has','The\x20\x22','socketOnData','WS_ERR_INVALID_UTF8','error','type','species','OPEN','wasClean','find','kDone','_messageLength','readOnly','onerror','method','server_no_context_takeover','setCloseTimer','WS_NO_BUFFER_UTIL','hostname','buffer','isBlob','keys','nodebuffer','WS_ERR_UNEXPECTED_RSV_1','Event','accept','Server\x20sent\x20no\x20subprotocol','__defNormalProp','toStringTag','call','sec-websocket-key','byteOffset','_closeCode','NodeWebSocketService','defaultPort','handleProtocols','isIP','getAugmentedNamespace','replace','kListener','addListeners','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','isInteger','Unknown\x20parameter\x20\x22','interceptor','kMessage','pow','options','MASK\x20must\x20be\x20clear','receiverOnPong','extensionName','unexpected-response','drain','readyState','sha1','split','string','Invalid\x20Sec-WebSocket-Accept\x20header','code','client_max_window_bits','_firstFragment','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_compress','_originalHostOrSocketPath','cork','emitClose','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_isServer','redirect','client','\x22\x20subprotocol\x20is\x20duplicated','timeout','handleUpgrade','_fragments','slice','sendAfterClose','_closeFrameReceived','clients','Connection:\x20Upgrade','_allowSynchronousEvents','acceptAsClient','__esModule','connection','hasOwnProperty','wsClientError','dataMessage','url','username','generateMask','invalid\x20opcode\x20','backlog','_generateMask','sec-websocket-extensions','registerHTTPInterceptor','kCode','location','Max\x20payload\x20size\x20exceeded','charCodeAt','compress','fragments','_inflate','clientMaxWindowBits','digest','Sec-WebSocket-Extensions:\x20','Receiver','File','Unexpected\x20end\x20of\x20input','Upgrade','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','receiverOnConclude','RSV1\x20must\x20be\x20clear','WS_ERR_INVALID_CLOSE_CODE','setNoDelay','_deflate','_masked','sec-websocket-protocol','href','create','address','headers','perMessageDeflate','nextTick','destroy','_state','authorization','_maskBuffer','_isValidUTF8','Unexpected\x20character\x20at\x20index\x20','_shouldEmitClose','size','WebSocketServer','MASK\x20must\x20be\x20set','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','from','total-length','WebSocket\x20is\x20not\x20open:\x20readyState\x20','requireLimiter','once','478357rCkLUj','socketOnError','_unmask','open','Cookie','mask','_opcode','_autoPong','arraybuffer','NOOP','isArray','__decorateClass$1','removeListeners','indexOf','maskBuffer','sec-websocket-origin','add','reason','name','_errorEmitted','offer','send','emitErrorAndClose','removeListener','read','4139304isASqb','resume','_writableState','normalizeParams','serverMaxWindowBits','CLOSING','kError','format','controlMessage','kWasClean','_redirects','verifyClient','Sec-WebSocket-Protocol','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','netConnect','callCallbacks','enqueue','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','socket','encrypted','extensions','_compressed','_fin','Unexpected\x20server\x20response:\x20','7gXkRvS','join','cookie','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_socket','startLoop','_skipUTF8Validation','data','Sec-WebSocket-Protocol:\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','requireSubprotocol','STATUS_CODES','errorEmitted','onOpen','_closeTimer','skipUTF8Validation','unmask','Invalid\x20Upgrade\x20header','decompress','forEach','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_readyState','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','socketPath','pause','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','WS_ERR_UNEXPECTED_MASK','readUInt16BE','readUInt32BE','allowSynchronousEvents','freeze','handshakeTimeout','_max_window_bits','clientNoContextTakeover','_req','includes','\x22:\x20','finished','value','_paused','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Z_SYNC_FLUSH','entries','conclude','kByteLength','concurrencyLimit','kTarget','_registerDependencies','CONNECTING','search','allocUnsafe','function','isBuffer','getData','Upgrade:\x20websocket','invalid\x20payload\x20length\x20','shift','WebSocket','ping','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','\x0d\x0a\x0d\x0a','acceptAsServer','default','values','tlsConnect','path','_totalPayloadLength','invalid\x20UTF-8\x20sequence','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','autoPong','44NRcHGQ','_originalSecure','getOwnPropertyDescriptor','server_max_window_bits','_bufferedAmount','needDrain','Server\x20sent\x20an\x20invalid\x20subprotocol','senderOnError','exports','createError','emit','setConfig','callback','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','onopen','protocolVersion','onMessage','143290wehyjH','WS_ERR_EXPECTED_FIN','maxPayload','uncork','abortHandshake','Basic\x20','base64','next','writeUInt16BE','completeUpgrade','pluginName','server','protocol','isValidUTF8','ws+unix:','getMask'];_0x3313=function(){return _0x51a609;};return _0x3313();}function requireValidation(){const _0x2f1957=_0x54ec85;if(hasRequiredValidation)return validation['exports'];hasRequiredValidation=0x1;const {isUtf8:_0x578abc}=_0x48db6e,{hasBlob:_0x59f8f2}=requireConstants(),_0x190e84=[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 _0x406abe(_0x9edf26){return _0x9edf26>=0x3e8&&_0x9edf26<=0x3f6&&_0x9edf26!==0x3ec&&_0x9edf26!==0x3ed&&_0x9edf26!==0x3ee||_0x9edf26>=0xbb8&&_0x9edf26<=0x1387;}__name(_0x406abe,_0x2f1957(0x1e6));function _0x30832f(_0x489c3c){const _0xeaf156=_0x489c3c['length'];let _0x21d588=0x0;for(;_0x21d588<_0xeaf156;)if(!(_0x489c3c[_0x21d588]&0x80))_0x21d588++;else{if((_0x489c3c[_0x21d588]&0xe0)===0xc0){if(_0x21d588+0x1===_0xeaf156||(_0x489c3c[_0x21d588+0x1]&0xc0)!==0x80||(_0x489c3c[_0x21d588]&0xfe)===0xc0)return!0x1;_0x21d588+=0x2;}else{if((_0x489c3c[_0x21d588]&0xf0)===0xe0){if(_0x21d588+0x2>=_0xeaf156||(_0x489c3c[_0x21d588+0x1]&0xc0)!==0x80||(_0x489c3c[_0x21d588+0x2]&0xc0)!==0x80||_0x489c3c[_0x21d588]===0xe0&&(_0x489c3c[_0x21d588+0x1]&0xe0)===0x80||_0x489c3c[_0x21d588]===0xed&&(_0x489c3c[_0x21d588+0x1]&0xe0)===0xa0)return!0x1;_0x21d588+=0x3;}else{if((_0x489c3c[_0x21d588]&0xf8)===0xf0){if(_0x21d588+0x3>=_0xeaf156||(_0x489c3c[_0x21d588+0x1]&0xc0)!==0x80||(_0x489c3c[_0x21d588+0x2]&0xc0)!==0x80||(_0x489c3c[_0x21d588+0x3]&0xc0)!==0x80||_0x489c3c[_0x21d588]===0xf0&&(_0x489c3c[_0x21d588+0x1]&0xf0)===0x80||_0x489c3c[_0x21d588]===0xf4&&_0x489c3c[_0x21d588+0x1]>0x8f||_0x489c3c[_0x21d588]>0xf4)return!0x1;_0x21d588+=0x4;}else return!0x1;}}}return!0x0;}__name(_0x30832f,_0x2f1957(0x283));function _0x2c9363(_0x4d8ea2){const _0x58305e=_0x2f1957;return _0x59f8f2&&typeof _0x4d8ea2==_0x58305e(0x15e)&&typeof _0x4d8ea2[_0x58305e(0x16f)]=='function'&&typeof _0x4d8ea2[_0x58305e(0x20a)]==_0x58305e(0x23d)&&typeof _0x4d8ea2['stream']==_0x58305e(0x107)&&(_0x4d8ea2[Symbol[_0x58305e(0x221)]]===_0x58305e(0x1e4)||_0x4d8ea2[Symbol[_0x58305e(0x221)]]===_0x58305e(0x26e));}if(__name(_0x2c9363,_0x2f1957(0x219)),validation[_0x2f1957(0x122)]={'isBlob':_0x2c9363,'isValidStatusCode':_0x406abe,'isValidUTF8':_0x30832f,'tokenChars':_0x190e84},_0x578abc)validation[_0x2f1957(0x122)][_0x2f1957(0x138)]=function(_0x7f8afc){const _0x4ecb31=_0x2f1957;return _0x7f8afc[_0x4ecb31(0x1f5)]<0x18?_0x30832f(_0x7f8afc):_0x578abc(_0x7f8afc);};else{if(!process['env'][_0x2f1957(0x16a)])try{const _0x47a39c=require$$2;validation['exports'][_0x2f1957(0x138)]=function(_0x4baae3){const _0x4aef53=_0x2f1957;return _0x4baae3[_0x4aef53(0x1f5)]<0x20?_0x30832f(_0x4baae3):_0x47a39c(_0x4baae3);};}catch{}}return validation[_0x2f1957(0x122)];}__name(requireValidation,_0x54ec85(0x192));var receiver,hasRequiredReceiver;function requireReceiver(){const _0x3ac370=_0x54ec85;if(hasRequiredReceiver)return receiver;hasRequiredReceiver=0x1;const {Writable:_0x11d338}=_0x23e8d5,_0x2f09ad=requirePermessageDeflate(),{BINARY_TYPES:_0x158bec,EMPTY_BUFFER:_0x103c3f,kStatusCode:_0x40891f,kWebSocket:_0x3a17c2}=requireConstants(),{concat:_0x544294,toArrayBuffer:_0x4fcc97,unmask:_0x1051c1}=requireBufferUtil(),{isValidStatusCode:_0x4e27da,isValidUTF8:_0x28f199}=requireValidation(),_0x42a2d7=Buffer[Symbol[_0x3ac370(0x20b)]],_0x3509db=0x0,_0x4aadba=0x1,_0x444b97=0x2,_0x163a28=0x3,_0x1237b2=0x4,_0x47dd8d=0x5,_0x4de7fd=0x6,_0x1a0735=class _0x276048 extends _0x11d338{constructor(_0x112584={}){const _0x3a6a67=_0x3ac370;super(),this[_0x3a6a67(0x254)]=_0x112584[_0x3a6a67(0x2de)]!==void 0x0?_0x112584[_0x3a6a67(0x2de)]:!0x0,this['_binaryType']=_0x112584[_0x3a6a67(0x1b3)]||_0x158bec[0x0],this[_0x3a6a67(0x1d6)]=_0x112584[_0x3a6a67(0x2bc)]||{},this[_0x3a6a67(0x248)]=!!_0x112584[_0x3a6a67(0x14e)],this[_0x3a6a67(0x1ef)]=_0x112584[_0x3a6a67(0x12d)]|0x0,this[_0x3a6a67(0x2c6)]=!!_0x112584[_0x3a6a67(0x2cf)],this[_0x3a17c2]=void 0x0,this[_0x3a6a67(0x183)]=0x0,this[_0x3a6a67(0x16e)]=[],this[_0x3a6a67(0x2bd)]=!0x1,this[_0x3a6a67(0x16b)]=0x0,this[_0x3a6a67(0x162)]=void 0x0,this[_0x3a6a67(0x18f)]=0x0,this[_0x3a6a67(0x277)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x3a6a67(0x210)]=0x0,this[_0x3a6a67(0x24e)]=[],this[_0x3a6a67(0x1af)]=!0x1,this[_0x3a6a67(0x1da)]=!0x1,this['_state']=_0x3509db;}['_write'](_0x4d9e4a,_0x1379b2,_0x356de5){const _0x167c64=_0x3ac370;if(this['_opcode']===0x8&&this[_0x167c64(0x280)]==_0x3509db)return _0x356de5();this[_0x167c64(0x183)]+=_0x4d9e4a[_0x167c64(0x1f5)],this[_0x167c64(0x16e)]['push'](_0x4d9e4a),this[_0x167c64(0x2c5)](_0x356de5);}[_0x3ac370(0x199)](_0x2dfda8){const _0x1011f8=_0x3ac370;if(this[_0x1011f8(0x183)]-=_0x2dfda8,_0x2dfda8===this[_0x1011f8(0x16e)][0x0][_0x1011f8(0x1f5)])return this[_0x1011f8(0x16e)]['shift']();if(_0x2dfda8<this[_0x1011f8(0x16e)][0x0]['length']){const _0x10615d=this[_0x1011f8(0x16e)][0x0];return this[_0x1011f8(0x16e)][0x0]=new _0x42a2d7(_0x10615d[_0x1011f8(0x218)],_0x10615d[_0x1011f8(0x224)]+_0x2dfda8,_0x10615d[_0x1011f8(0x1f5)]-_0x2dfda8),new _0x42a2d7(_0x10615d['buffer'],_0x10615d[_0x1011f8(0x224)],_0x2dfda8);}const _0x3315b1=Buffer['allocUnsafe'](_0x2dfda8);do{const _0x425572=this[_0x1011f8(0x16e)][0x0],_0x21a967=_0x3315b1[_0x1011f8(0x1f5)]-_0x2dfda8;_0x2dfda8>=_0x425572['length']?_0x3315b1['set'](this[_0x1011f8(0x16e)][_0x1011f8(0x10c)](),_0x21a967):(_0x3315b1[_0x1011f8(0x17c)](new Uint8Array(_0x425572['buffer'],_0x425572[_0x1011f8(0x224)],_0x2dfda8),_0x21a967),this['_buffers'][0x0]=new _0x42a2d7(_0x425572['buffer'],_0x425572['byteOffset']+_0x2dfda8,_0x425572['length']-_0x2dfda8)),_0x2dfda8-=_0x425572[_0x1011f8(0x1f5)];}while(_0x2dfda8>0x0);return _0x3315b1;}[_0x3ac370(0x2c5)](_0x48a522){const _0x3730ce=_0x3ac370;this[_0x3730ce(0x1da)]=!0x0;do switch(this[_0x3730ce(0x280)]){case _0x3509db:this['getInfo'](_0x48a522);break;case _0x4aadba:this[_0x3730ce(0x1c7)](_0x48a522);break;case _0x444b97:this[_0x3730ce(0x1eb)](_0x48a522);break;case _0x163a28:this['getMask']();break;case _0x1237b2:this[_0x3730ce(0x109)](_0x48a522);break;case _0x47dd8d:case _0x4de7fd:this[_0x3730ce(0x1da)]=!0x1;return;}while(this[_0x3730ce(0x1da)]);this['_errored']||_0x48a522();}['getInfo'](_0x1834a9){const _0x523709=_0x3ac370;if(this[_0x523709(0x183)]<0x2){this[_0x523709(0x1da)]=!0x1;return;}const _0x674c8=this[_0x523709(0x199)](0x2);if(_0x674c8[0x0]&0x30){const _0x3aec38=this[_0x523709(0x123)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x523709(0x1be));_0x1834a9(_0x3aec38);return;}const _0x44190c=(_0x674c8[0x0]&0x40)===0x40;if(_0x44190c&&!this['_extensions'][_0x2f09ad[_0x523709(0x237)]]){const _0x28e955=this[_0x523709(0x123)](RangeError,_0x523709(0x273),!0x0,0x3ea,_0x523709(0x21c));_0x1834a9(_0x28e955);return;}if(this[_0x523709(0x2be)]=(_0x674c8[0x0]&0x80)===0x80,this[_0x523709(0x295)]=_0x674c8[0x0]&0xf,this[_0x523709(0x16b)]=_0x674c8[0x1]&0x7f,this['_opcode']===0x0){if(_0x44190c){const _0x8b3d8=this['createError'](RangeError,_0x523709(0x273),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1834a9(_0x8b3d8);return;}if(!this[_0x523709(0x18f)]){const _0x53122e=this[_0x523709(0x123)](RangeError,_0x523709(0x151),!0x0,0x3ea,_0x523709(0x1a0));_0x1834a9(_0x53122e);return;}this['_opcode']=this[_0x523709(0x18f)];}else{if(this[_0x523709(0x295)]===0x1||this[_0x523709(0x295)]===0x2){if(this['_fragmented']){const _0x61b663=this['createError'](RangeError,_0x523709(0x25e)+this[_0x523709(0x295)],!0x0,0x3ea,_0x523709(0x1a0));_0x1834a9(_0x61b663);return;}this[_0x523709(0x2bd)]=_0x44190c;}else{if(this[_0x523709(0x295)]>0x7&&this[_0x523709(0x295)]<0xb){if(!this[_0x523709(0x2be)]){const _0x5935ef=this[_0x523709(0x123)](RangeError,_0x523709(0x140),!0x0,0x3ea,_0x523709(0x12c));_0x1834a9(_0x5935ef);return;}if(_0x44190c){const _0xbca041=this[_0x523709(0x123)](RangeError,_0x523709(0x273),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1834a9(_0xbca041);return;}if(this[_0x523709(0x16b)]>0x7d||this[_0x523709(0x295)]===0x8&&this[_0x523709(0x16b)]===0x1){const _0x8f6827=this[_0x523709(0x123)](RangeError,_0x523709(0x10b)+this[_0x523709(0x16b)],!0x0,0x3ea,_0x523709(0x2d5));_0x1834a9(_0x8f6827);return;}}else{const _0x12c1b8=this[_0x523709(0x123)](RangeError,'invalid\x20opcode\x20'+this[_0x523709(0x295)],!0x0,0x3ea,_0x523709(0x1a0));_0x1834a9(_0x12c1b8);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x523709(0x295)]),this[_0x523709(0x277)]=(_0x674c8[0x1]&0x80)===0x80,this[_0x523709(0x248)]){if(!this[_0x523709(0x277)]){const _0x26245c=this[_0x523709(0x123)](RangeError,_0x523709(0x288),!0x0,0x3ea,_0x523709(0x17f));_0x1834a9(_0x26245c);return;}}else{if(this[_0x523709(0x277)]){const _0x16cfda=this[_0x523709(0x123)](RangeError,_0x523709(0x235),!0x0,0x3ea,_0x523709(0x2db));_0x1834a9(_0x16cfda);return;}}this[_0x523709(0x16b)]===0x7e?this['_state']=_0x4aadba:this['_payloadLength']===0x7f?this[_0x523709(0x280)]=_0x444b97:this[_0x523709(0x1d7)](_0x1834a9);}[_0x3ac370(0x1c7)](_0x29acd0){const _0x1010cd=_0x3ac370;if(this[_0x1010cd(0x183)]<0x2){this[_0x1010cd(0x1da)]=!0x1;return;}this[_0x1010cd(0x16b)]=this[_0x1010cd(0x199)](0x2)[_0x1010cd(0x2dc)](0x0),this[_0x1010cd(0x1d7)](_0x29acd0);}[_0x3ac370(0x1eb)](_0x58cd7){const _0x54c9d6=_0x3ac370;if(this['_bufferedBytes']<0x8){this[_0x54c9d6(0x1da)]=!0x1;return;}const _0x3e654c=this[_0x54c9d6(0x199)](0x8),_0x3669a2=_0x3e654c[_0x54c9d6(0x2dd)](0x0);if(_0x3669a2>Math[_0x54c9d6(0x233)](0x2,0x15)-0x1){const _0x449573=this['createError'](RangeError,_0x54c9d6(0x2d7),!0x1,0x3f1,_0x54c9d6(0x186));_0x58cd7(_0x449573);return;}this[_0x54c9d6(0x16b)]=_0x3669a2*Math[_0x54c9d6(0x233)](0x2,0x20)+_0x3e654c[_0x54c9d6(0x2dd)](0x4),this[_0x54c9d6(0x1d7)](_0x58cd7);}['haveLength'](_0x433615){const _0x564a2f=_0x3ac370;if(this[_0x564a2f(0x16b)]&&this[_0x564a2f(0x295)]<0x8&&(this[_0x564a2f(0x116)]+=this[_0x564a2f(0x16b)],this['_totalPayloadLength']>this[_0x564a2f(0x1ef)]&&this[_0x564a2f(0x1ef)]>0x0)){const _0x1e0052=this[_0x564a2f(0x123)](RangeError,_0x564a2f(0x265),!0x1,0x3f1,_0x564a2f(0x144));_0x433615(_0x1e0052);return;}this[_0x564a2f(0x277)]?this['_state']=_0x163a28:this[_0x564a2f(0x280)]=_0x1237b2;}[_0x3ac370(0x13a)](){const _0x54e816=_0x3ac370;if(this[_0x54e816(0x183)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x54e816(0x199)](0x4),this[_0x54e816(0x280)]=_0x1237b2;}[_0x3ac370(0x109)](_0xe72944){const _0x82873=_0x3ac370;let _0x1b3464=_0x103c3f;if(this[_0x82873(0x16b)]){if(this[_0x82873(0x183)]<this[_0x82873(0x16b)]){this[_0x82873(0x1da)]=!0x1;return;}_0x1b3464=this[_0x82873(0x199)](this[_0x82873(0x16b)]),this[_0x82873(0x277)]&&this['_mask'][0x0]|this[_0x82873(0x162)][0x1]|this[_0x82873(0x162)][0x2]|this[_0x82873(0x162)][0x3]&&_0x1051c1(_0x1b3464,this[_0x82873(0x162)]);}if(this[_0x82873(0x295)]>0x7){this['controlMessage'](_0x1b3464,_0xe72944);return;}if(this[_0x82873(0x2bd)]){this[_0x82873(0x280)]=_0x47dd8d,this[_0x82873(0x2d2)](_0x1b3464,_0xe72944);return;}_0x1b3464[_0x82873(0x1f5)]&&(this['_messageLength']=this[_0x82873(0x116)],this[_0x82873(0x24e)][_0x82873(0x1dc)](_0x1b3464)),this[_0x82873(0x25a)](_0xe72944);}['decompress'](_0x598641,_0x4547ce){const _0x5439e0=_0x3ac370;this['_extensions'][_0x2f09ad['extensionName']][_0x5439e0(0x2d2)](_0x598641,this['_fin'],(_0x27823b,_0x43fa70)=>{const _0x166b1c=_0x5439e0;if(_0x27823b)return _0x4547ce(_0x27823b);if(_0x43fa70[_0x166b1c(0x1f5)]){if(this[_0x166b1c(0x210)]+=_0x43fa70[_0x166b1c(0x1f5)],this[_0x166b1c(0x210)]>this[_0x166b1c(0x1ef)]&&this[_0x166b1c(0x1ef)]>0x0){const _0x469ea5=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x166b1c(0x144));_0x4547ce(_0x469ea5);return;}this['_fragments']['push'](_0x43fa70);}this['dataMessage'](_0x4547ce),this[_0x166b1c(0x280)]===_0x3509db&&this[_0x166b1c(0x2c5)](_0x4547ce);});}[_0x3ac370(0x25a)](_0x3b8ff9){const _0x249811=_0x3ac370;if(!this[_0x249811(0x2be)]){this[_0x249811(0x280)]=_0x3509db;return;}const _0x271081=this['_messageLength'],_0x316399=this[_0x249811(0x24e)];if(this[_0x249811(0x116)]=0x0,this[_0x249811(0x210)]=0x0,this[_0x249811(0x18f)]=0x0,this['_fragments']=[],this[_0x249811(0x295)]===0x2){let _0x277b11;this[_0x249811(0x14b)]==='nodebuffer'?_0x277b11=_0x544294(_0x316399,_0x271081):this[_0x249811(0x14b)]===_0x249811(0x297)?_0x277b11=_0x4fcc97(_0x544294(_0x316399,_0x271081)):this[_0x249811(0x14b)]==='blob'?_0x277b11=new Blob(_0x316399):_0x277b11=_0x316399,this['_allowSynchronousEvents']?(this[_0x249811(0x124)]('message',_0x277b11,!0x0),this[_0x249811(0x280)]=_0x3509db):(this[_0x249811(0x280)]=_0x4de7fd,setImmediate(()=>{const _0x209a65=_0x249811;this['emit'](_0x209a65(0x170),_0x277b11,!0x0),this['_state']=_0x3509db,this[_0x209a65(0x2c5)](_0x3b8ff9);}));}else{const _0x2a0185=_0x544294(_0x316399,_0x271081);if(!this[_0x249811(0x2c6)]&&!_0x28f199(_0x2a0185)){const _0x444dce=this[_0x249811(0x123)](Error,_0x249811(0x117),!0x0,0x3ef,_0x249811(0x208));_0x3b8ff9(_0x444dce);return;}this[_0x249811(0x280)]===_0x47dd8d||this[_0x249811(0x254)]?(this[_0x249811(0x124)]('message',_0x2a0185,!0x1),this[_0x249811(0x280)]=_0x3509db):(this['_state']=_0x4de7fd,setImmediate(()=>{const _0xb6f9ab=_0x249811;this[_0xb6f9ab(0x124)](_0xb6f9ab(0x170),_0x2a0185,!0x1),this['_state']=_0x3509db,this[_0xb6f9ab(0x2c5)](_0x3b8ff9);}));}}[_0x3ac370(0x2b0)](_0x347bde,_0x5ea1f7){const _0x159820=_0x3ac370;if(this[_0x159820(0x295)]===0x8){if(_0x347bde[_0x159820(0x1f5)]===0x0)this[_0x159820(0x1da)]=!0x1,this['emit'](_0x159820(0x2ec),0x3ed,_0x103c3f),this['end']();else{const _0x48bdd2=_0x347bde[_0x159820(0x2dc)](0x0);if(!_0x4e27da(_0x48bdd2)){const _0x18e0b2=this[_0x159820(0x123)](RangeError,_0x159820(0x160)+_0x48bdd2,!0x0,0x3ea,_0x159820(0x274));_0x5ea1f7(_0x18e0b2);return;}const _0x36907b=new _0x42a2d7(_0x347bde['buffer'],_0x347bde['byteOffset']+0x2,_0x347bde[_0x159820(0x1f5)]-0x2);if(!this[_0x159820(0x2c6)]&&!_0x28f199(_0x36907b)){const _0x52559d=this[_0x159820(0x123)](Error,_0x159820(0x117),!0x0,0x3ef,_0x159820(0x208));_0x5ea1f7(_0x52559d);return;}this[_0x159820(0x1da)]=!0x1,this['emit'](_0x159820(0x2ec),_0x48bdd2,_0x36907b),this['end']();}this[_0x159820(0x280)]=_0x3509db;return;}this[_0x159820(0x254)]?(this[_0x159820(0x124)](this['_opcode']===0x9?_0x159820(0x10e):'pong',_0x347bde),this['_state']=_0x3509db):(this['_state']=_0x4de7fd,setImmediate(()=>{const _0x4402ed=_0x159820;this[_0x4402ed(0x124)](this[_0x4402ed(0x295)]===0x9?_0x4402ed(0x10e):'pong',_0x347bde),this['_state']=_0x3509db,this['startLoop'](_0x5ea1f7);}));}['createError'](_0x5a921d,_0x2b72c4,_0xef34de,_0x381b23,_0x15f0e3){const _0x32f2cf=_0x3ac370;this[_0x32f2cf(0x1da)]=!0x1,this[_0x32f2cf(0x1af)]=!0x0;const _0x654ac0=new _0x5a921d(_0xef34de?_0x32f2cf(0x146)+_0x2b72c4:_0x2b72c4);return Error[_0x32f2cf(0x202)](_0x654ac0,this[_0x32f2cf(0x123)]),_0x654ac0[_0x32f2cf(0x23f)]=_0x15f0e3,_0x654ac0[_0x40891f]=_0x381b23,_0x654ac0;}};__name(_0x1a0735,_0x3ac370(0x26d));let _0x22403a=_0x1a0735;return receiver=_0x22403a,receiver;}__name(requireReceiver,_0x54ec85(0x1a1)),requireReceiver();var sender,hasRequiredSender;function requireSender(){const _0x544f22=_0x54ec85;if(hasRequiredSender)return sender;hasRequiredSender=0x1;const {randomFillSync:_0x6727ab}=_0x45e2e6,_0x5382fc=requirePermessageDeflate(),{EMPTY_BUFFER:_0x44c9be,kWebSocket:_0x4aa66d,NOOP:_0xaf4d9c}=requireConstants(),{isBlob:_0x11cbd7,isValidStatusCode:_0x159f90}=requireValidation(),{mask:_0x2cd54e,toBuffer:_0x3ec884}=requireBufferUtil(),_0x3d6cf5=Symbol(_0x544f22(0x2ed)),_0x2cddca=Buffer['alloc'](0x4),_0x712289=0x8*0x400;let _0x921502,_0x5b1235=_0x712289;const _0x3f7fe9=0x0,_0x13ea26=0x1,_0x4c1aee=0x2,_0x480dce=class _0x322819{constructor(_0x226933,_0x140570,_0x3c37d4){const _0x2447aa=_0x544f22;this[_0x2447aa(0x1d6)]=_0x140570||{},_0x3c37d4&&(this[_0x2447aa(0x260)]=_0x3c37d4,this[_0x2447aa(0x282)]=Buffer[_0x2447aa(0x1f9)](0x4)),this[_0x2447aa(0x2c4)]=_0x226933,this[_0x2447aa(0x241)]=!0x0,this[_0x2447aa(0x243)]=!0x1,this[_0x2447aa(0x183)]=0x0,this[_0x2447aa(0x152)]=[],this[_0x2447aa(0x280)]=_0x3f7fe9,this[_0x2447aa(0x212)]=_0xaf4d9c,this[_0x4aa66d]=void 0x0;}static['frame'](_0xd0389d,_0x169fe9){const _0x2011e7=_0x544f22;let _0x442858,_0x9d8dec=!0x1,_0x83a7de=0x2,_0x5a9393=!0x1;_0x169fe9['mask']&&(_0x442858=_0x169fe9[_0x2011e7(0x29d)]||_0x2cddca,_0x169fe9[_0x2011e7(0x25d)]?_0x169fe9[_0x2011e7(0x25d)](_0x442858):(_0x5b1235===_0x712289&&(_0x921502===void 0x0&&(_0x921502=Buffer[_0x2011e7(0x1f9)](_0x712289)),_0x6727ab(_0x921502,0x0,_0x712289),_0x5b1235=0x0),_0x442858[0x0]=_0x921502[_0x5b1235++],_0x442858[0x1]=_0x921502[_0x5b1235++],_0x442858[0x2]=_0x921502[_0x5b1235++],_0x442858[0x3]=_0x921502[_0x5b1235++]),_0x5a9393=(_0x442858[0x0]|_0x442858[0x1]|_0x442858[0x2]|_0x442858[0x3])===0x0,_0x83a7de=0x6);let _0x569eb4;typeof _0xd0389d=='string'?(!_0x169fe9['mask']||_0x5a9393)&&_0x169fe9[_0x3d6cf5]!==void 0x0?_0x569eb4=_0x169fe9[_0x3d6cf5]:(_0xd0389d=Buffer[_0x2011e7(0x28a)](_0xd0389d),_0x569eb4=_0xd0389d[_0x2011e7(0x1f5)]):(_0x569eb4=_0xd0389d[_0x2011e7(0x1f5)],_0x9d8dec=_0x169fe9[_0x2011e7(0x294)]&&_0x169fe9[_0x2011e7(0x211)]&&!_0x5a9393);let _0x1b28b4=_0x569eb4;_0x569eb4>=0x10000?(_0x83a7de+=0x8,_0x1b28b4=0x7f):_0x569eb4>0x7d&&(_0x83a7de+=0x2,_0x1b28b4=0x7e);const _0x3f08ad=Buffer[_0x2011e7(0x106)](_0x9d8dec?_0x569eb4+_0x83a7de:_0x83a7de);return _0x3f08ad[0x0]=_0x169fe9[_0x2011e7(0x1e8)]?_0x169fe9[_0x2011e7(0x1df)]|0x80:_0x169fe9['opcode'],_0x169fe9['rsv1']&&(_0x3f08ad[0x0]|=0x40),_0x3f08ad[0x1]=_0x1b28b4,_0x1b28b4===0x7e?_0x3f08ad[_0x2011e7(0x133)](_0x569eb4,0x2):_0x1b28b4===0x7f&&(_0x3f08ad[0x2]=_0x3f08ad[0x3]=0x0,_0x3f08ad[_0x2011e7(0x13b)](_0x569eb4,0x4,0x6)),_0x169fe9[_0x2011e7(0x294)]?(_0x3f08ad[0x1]|=0x80,_0x3f08ad[_0x83a7de-0x4]=_0x442858[0x0],_0x3f08ad[_0x83a7de-0x3]=_0x442858[0x1],_0x3f08ad[_0x83a7de-0x2]=_0x442858[0x2],_0x3f08ad[_0x83a7de-0x1]=_0x442858[0x3],_0x5a9393?[_0x3f08ad,_0xd0389d]:_0x9d8dec?(_0x2cd54e(_0xd0389d,_0x442858,_0x3f08ad,_0x83a7de,_0x569eb4),[_0x3f08ad]):(_0x2cd54e(_0xd0389d,_0x442858,_0xd0389d,0x0,_0x569eb4),[_0x3f08ad,_0xd0389d])):[_0x3f08ad,_0xd0389d];}[_0x544f22(0x1c2)](_0x2a86f0,_0x468e01,_0x34da50,_0x26e199){const _0x2b1696=_0x544f22;let _0x5a6441;if(_0x2a86f0===void 0x0)_0x5a6441=_0x44c9be;else{if(typeof _0x2a86f0!=_0x2b1696(0x1e0)||!_0x159f90(_0x2a86f0))throw new TypeError(_0x2b1696(0x271));if(_0x468e01===void 0x0||!_0x468e01[_0x2b1696(0x1f5)])_0x5a6441=Buffer[_0x2b1696(0x106)](0x2),_0x5a6441[_0x2b1696(0x133)](_0x2a86f0,0x0);else{const _0x1156ec=Buffer[_0x2b1696(0x18d)](_0x468e01);if(_0x1156ec>0x7b)throw new RangeError(_0x2b1696(0x289));_0x5a6441=Buffer['allocUnsafe'](0x2+_0x1156ec),_0x5a6441[_0x2b1696(0x133)](_0x2a86f0,0x0),typeof _0x468e01==_0x2b1696(0x23d)?_0x5a6441['write'](_0x468e01,0x2):_0x5a6441[_0x2b1696(0x17c)](_0x468e01,0x2);}}const _0x4abf28={[_0x3d6cf5]:_0x5a6441[_0x2b1696(0x1f5)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x34da50,'maskBuffer':this[_0x2b1696(0x282)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2b1696(0x280)]!==_0x3f7fe9?this[_0x2b1696(0x2b8)]([this['dispatch'],_0x5a6441,!0x1,_0x4abf28,_0x26e199]):this[_0x2b1696(0x1bc)](_0x322819[_0x2b1696(0x177)](_0x5a6441,_0x4abf28),_0x26e199);}[_0x544f22(0x10e)](_0x42342c,_0x36567c,_0x434f33){const _0x331b70=_0x544f22;let _0x32a8e5,_0x2f2baa;if(typeof _0x42342c==_0x331b70(0x23d)?(_0x32a8e5=Buffer[_0x331b70(0x18d)](_0x42342c),_0x2f2baa=!0x1):_0x11cbd7(_0x42342c)?(_0x32a8e5=_0x42342c['size'],_0x2f2baa=!0x1):(_0x42342c=_0x3ec884(_0x42342c),_0x32a8e5=_0x42342c[_0x331b70(0x1f5)],_0x2f2baa=_0x3ec884[_0x331b70(0x211)]),_0x32a8e5>0x7d)throw new RangeError(_0x331b70(0x1b4));const _0x253a2c={[_0x3d6cf5]:_0x32a8e5,'fin':!0x0,'generateMask':this[_0x331b70(0x260)],'mask':_0x36567c,'maskBuffer':this[_0x331b70(0x282)],'opcode':0x9,'readOnly':_0x2f2baa,'rsv1':!0x1};_0x11cbd7(_0x42342c)?this['_state']!==_0x3f7fe9?this[_0x331b70(0x2b8)]([this[_0x331b70(0x155)],_0x42342c,!0x1,_0x253a2c,_0x434f33]):this[_0x331b70(0x155)](_0x42342c,!0x1,_0x253a2c,_0x434f33):this[_0x331b70(0x280)]!==_0x3f7fe9?this[_0x331b70(0x2b8)]([this[_0x331b70(0x148)],_0x42342c,!0x1,_0x253a2c,_0x434f33]):this[_0x331b70(0x1bc)](_0x322819[_0x331b70(0x177)](_0x42342c,_0x253a2c),_0x434f33);}['pong'](_0x5d677c,_0x2327f3,_0x58069d){const _0x3e560a=_0x544f22;let _0x2fabb4,_0x3bc0e1;if(typeof _0x5d677c==_0x3e560a(0x23d)?(_0x2fabb4=Buffer[_0x3e560a(0x18d)](_0x5d677c),_0x3bc0e1=!0x1):_0x11cbd7(_0x5d677c)?(_0x2fabb4=_0x5d677c[_0x3e560a(0x286)],_0x3bc0e1=!0x1):(_0x5d677c=_0x3ec884(_0x5d677c),_0x2fabb4=_0x5d677c[_0x3e560a(0x1f5)],_0x3bc0e1=_0x3ec884['readOnly']),_0x2fabb4>0x7d)throw new RangeError(_0x3e560a(0x1b4));const _0x473553={[_0x3d6cf5]:_0x2fabb4,'fin':!0x0,'generateMask':this[_0x3e560a(0x260)],'mask':_0x2327f3,'maskBuffer':this[_0x3e560a(0x282)],'opcode':0xa,'readOnly':_0x3bc0e1,'rsv1':!0x1};_0x11cbd7(_0x5d677c)?this[_0x3e560a(0x280)]!==_0x3f7fe9?this[_0x3e560a(0x2b8)]([this[_0x3e560a(0x155)],_0x5d677c,!0x1,_0x473553,_0x58069d]):this[_0x3e560a(0x155)](_0x5d677c,!0x1,_0x473553,_0x58069d):this['_state']!==_0x3f7fe9?this[_0x3e560a(0x2b8)]([this[_0x3e560a(0x148)],_0x5d677c,!0x1,_0x473553,_0x58069d]):this[_0x3e560a(0x1bc)](_0x322819[_0x3e560a(0x177)](_0x5d677c,_0x473553),_0x58069d);}[_0x544f22(0x2a4)](_0x482d76,_0x15c217,_0x5ae291){const _0x5e6bd2=_0x544f22,_0x424737=this['_extensions'][_0x5382fc[_0x5e6bd2(0x237)]];let _0x2c933d=_0x15c217['binary']?0x2:0x1,_0x6f741d=_0x15c217[_0x5e6bd2(0x267)],_0x21f499,_0x3fade0;typeof _0x482d76==_0x5e6bd2(0x23d)?(_0x21f499=Buffer['byteLength'](_0x482d76),_0x3fade0=!0x1):_0x11cbd7(_0x482d76)?(_0x21f499=_0x482d76[_0x5e6bd2(0x286)],_0x3fade0=!0x1):(_0x482d76=_0x3ec884(_0x482d76),_0x21f499=_0x482d76[_0x5e6bd2(0x1f5)],_0x3fade0=_0x3ec884[_0x5e6bd2(0x211)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x6f741d&&_0x424737&&_0x424737[_0x5e6bd2(0x180)][_0x424737[_0x5e6bd2(0x248)]?_0x5e6bd2(0x214):_0x5e6bd2(0x149)]&&(_0x6f741d=_0x21f499>=_0x424737[_0x5e6bd2(0x1b5)]),this['_compress']=_0x6f741d):(_0x6f741d=!0x1,_0x2c933d=0x0),_0x15c217[_0x5e6bd2(0x1e8)]&&(this[_0x5e6bd2(0x241)]=!0x0);const _0x3688e8={[_0x3d6cf5]:_0x21f499,'fin':_0x15c217[_0x5e6bd2(0x1e8)],'generateMask':this[_0x5e6bd2(0x260)],'mask':_0x15c217[_0x5e6bd2(0x294)],'maskBuffer':this[_0x5e6bd2(0x282)],'opcode':_0x2c933d,'readOnly':_0x3fade0,'rsv1':_0x6f741d};_0x11cbd7(_0x482d76)?this[_0x5e6bd2(0x280)]!==_0x3f7fe9?this[_0x5e6bd2(0x2b8)]([this['getBlobData'],_0x482d76,this[_0x5e6bd2(0x243)],_0x3688e8,_0x5ae291]):this[_0x5e6bd2(0x155)](_0x482d76,this[_0x5e6bd2(0x243)],_0x3688e8,_0x5ae291):this['_state']!==_0x3f7fe9?this[_0x5e6bd2(0x2b8)]([this[_0x5e6bd2(0x148)],_0x482d76,this[_0x5e6bd2(0x243)],_0x3688e8,_0x5ae291]):this[_0x5e6bd2(0x148)](_0x482d76,this['_compress'],_0x3688e8,_0x5ae291);}[_0x544f22(0x155)](_0x20dcd3,_0x398bbb,_0x50722e,_0x1aa28b){const _0x5b9214=_0x544f22;this[_0x5b9214(0x183)]+=_0x50722e[_0x3d6cf5],this['_state']=_0x4c1aee,_0x20dcd3[_0x5b9214(0x16f)]()[_0x5b9214(0x17a)](_0x3ffa9e=>{const _0x59f2ab=_0x5b9214;if(this[_0x59f2ab(0x2c4)][_0x59f2ab(0x1c4)]){const _0x5cc71d=new Error(_0x59f2ab(0x2d4));process[_0x59f2ab(0x27e)](_0x258c30,this,_0x5cc71d,_0x1aa28b);return;}this[_0x59f2ab(0x183)]-=_0x50722e[_0x3d6cf5];const _0xfd5597=_0x3ec884(_0x3ffa9e);_0x398bbb?this[_0x59f2ab(0x148)](_0xfd5597,_0x398bbb,_0x50722e,_0x1aa28b):(this['_state']=_0x3f7fe9,this['sendFrame'](_0x322819[_0x59f2ab(0x177)](_0xfd5597,_0x50722e),_0x1aa28b),this[_0x59f2ab(0x141)]());})['catch'](_0x181cdf=>{process['nextTick'](_0x49a4e,this,_0x181cdf,_0x1aa28b);});}[_0x544f22(0x148)](_0x1e17de,_0x10dfb1,_0x53c09b,_0x2df5f2){const _0x1e8498=_0x544f22;if(!_0x10dfb1){this[_0x1e8498(0x1bc)](_0x322819[_0x1e8498(0x177)](_0x1e17de,_0x53c09b),_0x2df5f2);return;}const _0x29397d=this[_0x1e8498(0x1d6)][_0x5382fc['extensionName']];this['_bufferedBytes']+=_0x53c09b[_0x3d6cf5],this[_0x1e8498(0x280)]=_0x13ea26,_0x29397d[_0x1e8498(0x267)](_0x1e17de,_0x53c09b[_0x1e8498(0x1e8)],(_0x10b373,_0x3ff838)=>{const _0x230605=_0x1e8498;if(this['_socket'][_0x230605(0x1c4)]){const _0x568bba=new Error(_0x230605(0x2da));_0x258c30(this,_0x568bba,_0x2df5f2);return;}this['_bufferedBytes']-=_0x53c09b[_0x3d6cf5],this[_0x230605(0x280)]=_0x3f7fe9,_0x53c09b['readOnly']=!0x1,this[_0x230605(0x1bc)](_0x322819[_0x230605(0x177)](_0x3ff838,_0x53c09b),_0x2df5f2),this[_0x230605(0x141)]();});}[_0x544f22(0x141)](){const _0x46bc31=_0x544f22;for(;this[_0x46bc31(0x280)]===_0x3f7fe9&&this[_0x46bc31(0x152)]['length'];){const _0x1a81d6=this[_0x46bc31(0x152)][_0x46bc31(0x10c)]();this['_bufferedBytes']-=_0x1a81d6[0x3][_0x3d6cf5],Reflect[_0x46bc31(0x14c)](_0x1a81d6[0x0],this,_0x1a81d6[_0x46bc31(0x24f)](0x1));}}['enqueue'](_0xead93a){const _0x1b4944=_0x544f22;this[_0x1b4944(0x183)]+=_0xead93a[0x3][_0x3d6cf5],this['_queue']['push'](_0xead93a);}[_0x544f22(0x1bc)](_0x35477d,_0x1095e8){const _0x25aadf=_0x544f22;_0x35477d[_0x25aadf(0x1f5)]===0x2?(this['_socket'][_0x25aadf(0x245)](),this[_0x25aadf(0x2c4)][_0x25aadf(0x1a8)](_0x35477d[0x0]),this[_0x25aadf(0x2c4)][_0x25aadf(0x1a8)](_0x35477d[0x1],_0x1095e8),this[_0x25aadf(0x2c4)][_0x25aadf(0x12e)]()):this[_0x25aadf(0x2c4)][_0x25aadf(0x1a8)](_0x35477d[0x0],_0x1095e8);}};__name(_0x480dce,_0x544f22(0x19a));let _0x167b1a=_0x480dce;sender=_0x167b1a;function _0x258c30(_0x9b5691,_0x2d55e3,_0x19cd08){const _0x3e179e=_0x544f22;typeof _0x19cd08==_0x3e179e(0x107)&&_0x19cd08(_0x2d55e3);for(let _0x129dff=0x0;_0x129dff<_0x9b5691['_queue'][_0x3e179e(0x1f5)];_0x129dff++){const _0xe1b78b=_0x9b5691['_queue'][_0x129dff],_0x25090f=_0xe1b78b[_0xe1b78b[_0x3e179e(0x1f5)]-0x1];typeof _0x25090f==_0x3e179e(0x107)&&_0x25090f(_0x2d55e3);}}__name(_0x258c30,_0x544f22(0x2b7));function _0x49a4e(_0xafe4aa,_0x4de79f,_0x3352ca){_0x258c30(_0xafe4aa,_0x4de79f,_0x3352ca),_0xafe4aa['onerror'](_0x4de79f);}return __name(_0x49a4e,_0x544f22(0x1f2)),sender;}__name(requireSender,'requireSender'),requireSender();var eventTarget,hasRequiredEventTarget;function requireEventTarget(){const _0x1c12ea=_0x54ec85;if(hasRequiredEventTarget)return eventTarget;hasRequiredEventTarget=0x1;const {kForOnEventAttribute:_0x2f0bf7,kListener:_0x7d68f1}=requireConstants(),_0xe05e71=Symbol(_0x1c12ea(0x263)),_0x5a7c97=Symbol(_0x1c12ea(0x15c)),_0x2dcd70=Symbol(_0x1c12ea(0x2ae)),_0x498897=Symbol(_0x1c12ea(0x232)),_0x35aa0c=Symbol('kReason'),_0x2cd8c2=Symbol(_0x1c12ea(0x2ef)),_0x5d7254=Symbol(_0x1c12ea(0x1bd)),_0x1d1648=Symbol(_0x1c12ea(0x2b1)),_0x48c8b5=class _0x17bce9{constructor(_0x13b8eb){this[_0x2cd8c2]=null,this[_0x5d7254]=_0x13b8eb;}get['target'](){return this[_0x2cd8c2];}get[_0x1c12ea(0x20a)](){return this[_0x5d7254];}};__name(_0x48c8b5,_0x1c12ea(0x21d));let _0x314e9f=_0x48c8b5;Object[_0x1c12ea(0x145)](_0x314e9f[_0x1c12ea(0x15d)],'target',{'enumerable':!0x0}),Object[_0x1c12ea(0x145)](_0x314e9f['prototype'],'type',{'enumerable':!0x0});const _0x371177=class _0x521633 extends _0x314e9f{constructor(_0x3b31ea,_0x3e5c44={}){const _0x26a5a6=_0x1c12ea;super(_0x3b31ea),this[_0xe05e71]=_0x3e5c44[_0x26a5a6(0x23f)]===void 0x0?0x0:_0x3e5c44[_0x26a5a6(0x23f)],this[_0x35aa0c]=_0x3e5c44[_0x26a5a6(0x2a0)]===void 0x0?'':_0x3e5c44[_0x26a5a6(0x2a0)],this[_0x1d1648]=_0x3e5c44[_0x26a5a6(0x20d)]===void 0x0?!0x1:_0x3e5c44[_0x26a5a6(0x20d)];}get[_0x1c12ea(0x23f)](){return this[_0xe05e71];}get[_0x1c12ea(0x2a0)](){return this[_0x35aa0c];}get[_0x1c12ea(0x20d)](){return this[_0x1d1648];}};__name(_0x371177,_0x1c12ea(0x200));let _0x18168e=_0x371177;Object[_0x1c12ea(0x145)](_0x18168e['prototype'],_0x1c12ea(0x23f),{'enumerable':!0x0}),Object['defineProperty'](_0x18168e[_0x1c12ea(0x15d)],_0x1c12ea(0x2a0),{'enumerable':!0x0}),Object[_0x1c12ea(0x145)](_0x18168e[_0x1c12ea(0x15d)],'wasClean',{'enumerable':!0x0});const _0x756d37=class _0x3b34c7 extends _0x314e9f{constructor(_0x42cbf7,_0x4a548b={}){const _0x5f2abc=_0x1c12ea;super(_0x42cbf7),this[_0x2dcd70]=_0x4a548b[_0x5f2abc(0x209)]===void 0x0?null:_0x4a548b[_0x5f2abc(0x209)],this[_0x498897]=_0x4a548b['message']===void 0x0?'':_0x4a548b[_0x5f2abc(0x170)];}get[_0x1c12ea(0x209)](){return this[_0x2dcd70];}get[_0x1c12ea(0x170)](){return this[_0x498897];}};__name(_0x756d37,'ErrorEvent');let _0x5bc3c0=_0x756d37;Object[_0x1c12ea(0x145)](_0x5bc3c0['prototype'],'error',{'enumerable':!0x0}),Object[_0x1c12ea(0x145)](_0x5bc3c0[_0x1c12ea(0x15d)],_0x1c12ea(0x170),{'enumerable':!0x0});const _0x57c73e=class _0x288b6e extends _0x314e9f{constructor(_0x5d301b,_0x5338d9={}){super(_0x5d301b),this[_0x5a7c97]=_0x5338d9['data']===void 0x0?null:_0x5338d9['data'];}get['data'](){return this[_0x5a7c97];}};__name(_0x57c73e,_0x1c12ea(0x1fa));let _0x55f84e=_0x57c73e;Object[_0x1c12ea(0x145)](_0x55f84e[_0x1c12ea(0x15d)],_0x1c12ea(0x2c7),{'enumerable':!0x0}),eventTarget={'CloseEvent':_0x18168e,'ErrorEvent':_0x5bc3c0,'Event':_0x314e9f,'EventTarget':{'addEventListener'(_0x42c5b5,_0x1790c3,_0x15b413={}){const _0x55549c=_0x1c12ea;for(const _0x5ece6a of this['listeners'](_0x42c5b5))if(!_0x15b413[_0x2f0bf7]&&_0x5ece6a[_0x7d68f1]===_0x1790c3&&!_0x5ece6a[_0x2f0bf7])return;let _0x34f472;if(_0x42c5b5===_0x55549c(0x170))_0x34f472=__name(function(_0x2a73f8,_0x28d20c){const _0x5300d0=_0x55549c,_0x39e740=new _0x55f84e(_0x5300d0(0x170),{'data':_0x28d20c?_0x2a73f8:_0x2a73f8['toString']()});_0x39e740[_0x2cd8c2]=this,_0x428ba2(_0x1790c3,this,_0x39e740);},_0x55549c(0x12a));else{if(_0x42c5b5==='close')_0x34f472=__name(function(_0x252b28,_0x2cb61){const _0x46bedc=_0x55549c,_0x509711=new _0x18168e('close',{'code':_0x252b28,'reason':_0x2cb61[_0x46bedc(0x15a)](),'wasClean':this[_0x46bedc(0x251)]&&this[_0x46bedc(0x1f4)]});_0x509711[_0x2cd8c2]=this,_0x428ba2(_0x1790c3,this,_0x509711);},_0x55549c(0x163));else{if(_0x42c5b5==='error')_0x34f472=__name(function(_0x5189d1){const _0xae3f89=_0x55549c,_0x2a08ff=new _0x5bc3c0(_0xae3f89(0x209),{'error':_0x5189d1,'message':_0x5189d1[_0xae3f89(0x170)]});_0x2a08ff[_0x2cd8c2]=this,_0x428ba2(_0x1790c3,this,_0x2a08ff);},_0x55549c(0x1f2));else{if(_0x42c5b5==='open')_0x34f472=__name(function(){const _0x523c84=_0x55549c,_0x172b79=new _0x314e9f(_0x523c84(0x292));_0x172b79[_0x2cd8c2]=this,_0x428ba2(_0x1790c3,this,_0x172b79);},_0x55549c(0x2cd));else return;}}}_0x34f472[_0x2f0bf7]=!!_0x15b413[_0x2f0bf7],_0x34f472[_0x7d68f1]=_0x1790c3,_0x15b413[_0x55549c(0x28e)]?this[_0x55549c(0x28e)](_0x42c5b5,_0x34f472):this['on'](_0x42c5b5,_0x34f472);},'removeEventListener'(_0x15286a,_0x4b3af7){for(const _0x31313b of this['listeners'](_0x15286a))if(_0x31313b[_0x7d68f1]===_0x4b3af7&&!_0x31313b[_0x2f0bf7]){this['removeListener'](_0x15286a,_0x31313b);break;}}},'MessageEvent':_0x55f84e};function _0x428ba2(_0x784cab,_0x2eb334,_0x1b2752){const _0x2b5ea2=_0x1c12ea;typeof _0x784cab==_0x2b5ea2(0x15e)&&_0x784cab['handleEvent']?_0x784cab[_0x2b5ea2(0x1bb)][_0x2b5ea2(0x222)](_0x784cab,_0x1b2752):_0x784cab[_0x2b5ea2(0x222)](_0x2eb334,_0x1b2752);}return __name(_0x428ba2,_0x1c12ea(0x1e1)),eventTarget;}__name(requireEventTarget,_0x54ec85(0x1de));var extension,hasRequiredExtension;function requireExtension(){const _0x54d68b=_0x54ec85;if(hasRequiredExtension)return extension;hasRequiredExtension=0x1;const {tokenChars:_0x1f5432}=requireValidation();function _0x485ab3(_0x558499,_0x201372,_0x1e8268){_0x558499[_0x201372]===void 0x0?_0x558499[_0x201372]=[_0x1e8268]:_0x558499[_0x201372]['push'](_0x1e8268);}__name(_0x485ab3,_0x54d68b(0x1dc));function _0x3fe487(_0x42254a){const _0x107f3a=_0x54d68b,_0x156a62=Object[_0x107f3a(0x27a)](null);let _0x45df0c=Object[_0x107f3a(0x27a)](null),_0x589fc1=!0x1,_0x4d9738=!0x1,_0xc68874=!0x1,_0x11020d,_0x227513,_0x277ff6=-0x1,_0x4c25ea=-0x1,_0x3917b5=-0x1,_0x585716=0x0;for(;_0x585716<_0x42254a[_0x107f3a(0x1f5)];_0x585716++)if(_0x4c25ea=_0x42254a[_0x107f3a(0x266)](_0x585716),_0x11020d===void 0x0){if(_0x3917b5===-0x1&&_0x1f5432[_0x4c25ea]===0x1)_0x277ff6===-0x1&&(_0x277ff6=_0x585716);else{if(_0x585716!==0x0&&(_0x4c25ea===0x20||_0x4c25ea===0x9))_0x3917b5===-0x1&&_0x277ff6!==-0x1&&(_0x3917b5=_0x585716);else{if(_0x4c25ea===0x3b||_0x4c25ea===0x2c){if(_0x277ff6===-0x1)throw new SyntaxError(_0x107f3a(0x284)+_0x585716);_0x3917b5===-0x1&&(_0x3917b5=_0x585716);const _0x556097=_0x42254a[_0x107f3a(0x24f)](_0x277ff6,_0x3917b5);_0x4c25ea===0x2c?(_0x485ab3(_0x156a62,_0x556097,_0x45df0c),_0x45df0c=Object[_0x107f3a(0x27a)](null)):_0x11020d=_0x556097,_0x277ff6=_0x3917b5=-0x1;}else throw new SyntaxError(_0x107f3a(0x284)+_0x585716);}}}else{if(_0x227513===void 0x0){if(_0x3917b5===-0x1&&_0x1f5432[_0x4c25ea]===0x1)_0x277ff6===-0x1&&(_0x277ff6=_0x585716);else{if(_0x4c25ea===0x20||_0x4c25ea===0x9)_0x3917b5===-0x1&&_0x277ff6!==-0x1&&(_0x3917b5=_0x585716);else{if(_0x4c25ea===0x3b||_0x4c25ea===0x2c){if(_0x277ff6===-0x1)throw new SyntaxError(_0x107f3a(0x284)+_0x585716);_0x3917b5===-0x1&&(_0x3917b5=_0x585716),_0x485ab3(_0x45df0c,_0x42254a[_0x107f3a(0x24f)](_0x277ff6,_0x3917b5),!0x0),_0x4c25ea===0x2c&&(_0x485ab3(_0x156a62,_0x11020d,_0x45df0c),_0x45df0c=Object['create'](null),_0x11020d=void 0x0),_0x277ff6=_0x3917b5=-0x1;}else{if(_0x4c25ea===0x3d&&_0x277ff6!==-0x1&&_0x3917b5===-0x1)_0x227513=_0x42254a[_0x107f3a(0x24f)](_0x277ff6,_0x585716),_0x277ff6=_0x3917b5=-0x1;else throw new SyntaxError(_0x107f3a(0x284)+_0x585716);}}}}else{if(_0x4d9738){if(_0x1f5432[_0x4c25ea]!==0x1)throw new SyntaxError(_0x107f3a(0x284)+_0x585716);_0x277ff6===-0x1?_0x277ff6=_0x585716:_0x589fc1||(_0x589fc1=!0x0),_0x4d9738=!0x1;}else{if(_0xc68874){if(_0x1f5432[_0x4c25ea]===0x1)_0x277ff6===-0x1&&(_0x277ff6=_0x585716);else{if(_0x4c25ea===0x22&&_0x277ff6!==-0x1)_0xc68874=!0x1,_0x3917b5=_0x585716;else{if(_0x4c25ea===0x5c)_0x4d9738=!0x0;else throw new SyntaxError(_0x107f3a(0x284)+_0x585716);}}}else{if(_0x4c25ea===0x22&&_0x42254a[_0x107f3a(0x266)](_0x585716-0x1)===0x3d)_0xc68874=!0x0;else{if(_0x3917b5===-0x1&&_0x1f5432[_0x4c25ea]===0x1)_0x277ff6===-0x1&&(_0x277ff6=_0x585716);else{if(_0x277ff6!==-0x1&&(_0x4c25ea===0x20||_0x4c25ea===0x9))_0x3917b5===-0x1&&(_0x3917b5=_0x585716);else{if(_0x4c25ea===0x3b||_0x4c25ea===0x2c){if(_0x277ff6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x585716);_0x3917b5===-0x1&&(_0x3917b5=_0x585716);let _0x1b8583=_0x42254a[_0x107f3a(0x24f)](_0x277ff6,_0x3917b5);_0x589fc1&&(_0x1b8583=_0x1b8583[_0x107f3a(0x22b)](/\\/g,''),_0x589fc1=!0x1),_0x485ab3(_0x45df0c,_0x227513,_0x1b8583),_0x4c25ea===0x2c&&(_0x485ab3(_0x156a62,_0x11020d,_0x45df0c),_0x45df0c=Object[_0x107f3a(0x27a)](null),_0x11020d=void 0x0),_0x227513=void 0x0,_0x277ff6=_0x3917b5=-0x1;}else throw new SyntaxError(_0x107f3a(0x284)+_0x585716);}}}}}}}if(_0x277ff6===-0x1||_0xc68874||_0x4c25ea===0x20||_0x4c25ea===0x9)throw new SyntaxError(_0x107f3a(0x26f));_0x3917b5===-0x1&&(_0x3917b5=_0x585716);const _0x4ca07c=_0x42254a[_0x107f3a(0x24f)](_0x277ff6,_0x3917b5);return _0x11020d===void 0x0?_0x485ab3(_0x156a62,_0x4ca07c,_0x45df0c):(_0x227513===void 0x0?_0x485ab3(_0x45df0c,_0x4ca07c,!0x0):_0x589fc1?_0x485ab3(_0x45df0c,_0x227513,_0x4ca07c[_0x107f3a(0x22b)](/\\/g,'')):_0x485ab3(_0x45df0c,_0x227513,_0x4ca07c),_0x485ab3(_0x156a62,_0x11020d,_0x45df0c)),_0x156a62;}__name(_0x3fe487,_0x54d68b(0x1fd));function _0x1a3fa2(_0x269038){const _0xfea817=_0x54d68b;return Object[_0xfea817(0x21a)](_0x269038)[_0xfea817(0x18a)](_0x34c3c6=>{const _0x51cb2e=_0xfea817;let _0x55fb0e=_0x269038[_0x34c3c6];return Array[_0x51cb2e(0x299)](_0x55fb0e)||(_0x55fb0e=[_0x55fb0e]),_0x55fb0e['map'](_0x4a3c9e=>[_0x34c3c6][_0x51cb2e(0x17b)](Object[_0x51cb2e(0x21a)](_0x4a3c9e)[_0x51cb2e(0x18a)](_0x40f01c=>{const _0x1b0b65=_0x51cb2e;let _0x253a12=_0x4a3c9e[_0x40f01c];return Array[_0x1b0b65(0x299)](_0x253a12)||(_0x253a12=[_0x253a12]),_0x253a12[_0x1b0b65(0x18a)](_0x50f61f=>_0x50f61f===!0x0?_0x40f01c:_0x40f01c+'='+_0x50f61f)[_0x1b0b65(0x2c1)](';\x20');}))['join'](';\x20'))[_0x51cb2e(0x2c1)](',\x20');})['join'](',\x20');}return __name(_0x1a3fa2,_0x54d68b(0x2af)),extension={'format':_0x1a3fa2,'parse':_0x3fe487},extension;}__name(requireExtension,'requireExtension');var websocket,hasRequiredWebsocket;function requireWebsocket(){const _0x33a636=_0x54ec85;if(hasRequiredWebsocket)return websocket;hasRequiredWebsocket=0x1;const _0x1a0c6b=_0x39f753,_0x32ab49=_0x4604d3,_0x57aa94=_0xb04b60,_0x1a9dd5=_0x5b10ef,_0x4d65b0=_0xfd5700,{randomBytes:_0x1e12ed,createHash:_0x4677c6}=_0x45e2e6,{URL:_0x2f7e3f}=_0x22b036,_0x1cee0c=requirePermessageDeflate(),_0x52ed76=requireReceiver(),_0x4a5b06=requireSender(),{isBlob:_0x59b187}=requireValidation(),{BINARY_TYPES:_0x4db926,EMPTY_BUFFER:_0x2a74ee,GUID:_0x1ee1e2,kForOnEventAttribute:_0x19bb4f,kListener:_0x202400,kStatusCode:_0x456986,kWebSocket:_0x3ab217,NOOP:_0x725487}=requireConstants(),{EventTarget:{addEventListener:_0x21242e,removeEventListener:_0x5d9b64}}=requireEventTarget(),{format:_0x1d3f86,parse:_0x428865}=requireExtension(),{toBuffer:_0x3f182b}=requireBufferUtil(),_0x14786d=0x1e*0x3e8,_0x37993d=Symbol(_0x33a636(0x166)),_0x30630c=[0x8,0xd],_0x1a75d1=['CONNECTING',_0x33a636(0x20c),_0x33a636(0x2ad),_0x33a636(0x1b1)],_0x4d4e5c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,_0x6d8bf3=class _0x64257 extends _0x1a0c6b{constructor(_0x1ec224,_0xe60158,_0x11ca33){const _0x1fd7fb=_0x33a636;super(),this[_0x1fd7fb(0x14b)]=_0x4db926[0x0],this[_0x1fd7fb(0x225)]=0x3ee,this[_0x1fd7fb(0x251)]=!0x1,this[_0x1fd7fb(0x1f4)]=!0x1,this[_0x1fd7fb(0x1c1)]=_0x2a74ee,this[_0x1fd7fb(0x2ce)]=null,this[_0x1fd7fb(0x2a2)]=!0x1,this['_extensions']={},this[_0x1fd7fb(0x2e8)]=!0x1,this[_0x1fd7fb(0x1dd)]='',this[_0x1fd7fb(0x2d6)]=_0x64257[_0x1fd7fb(0x2f1)],this[_0x1fd7fb(0x19b)]=null,this['_sender']=null,this[_0x1fd7fb(0x2c4)]=null,_0x1ec224!==null?(this[_0x1fd7fb(0x11e)]=0x0,this[_0x1fd7fb(0x248)]=!0x1,this['_redirects']=0x0,_0xe60158===void 0x0?_0xe60158=[]:Array[_0x1fd7fb(0x299)](_0xe60158)||(typeof _0xe60158=='object'&&_0xe60158!==null?(_0x11ca33=_0xe60158,_0xe60158=[]):_0xe60158=[_0xe60158]),_0x45f94c(this,_0x1ec224,_0xe60158,_0x11ca33)):(this['_autoPong']=_0x11ca33[_0x1fd7fb(0x119)],this[_0x1fd7fb(0x248)]=!0x0);}get[_0x33a636(0x1b3)](){const _0x41c473=_0x33a636;return this[_0x41c473(0x14b)];}set[_0x33a636(0x1b3)](_0x42850f){const _0x419040=_0x33a636;_0x4db926[_0x419040(0x2e4)](_0x42850f)&&(this[_0x419040(0x14b)]=_0x42850f,this[_0x419040(0x19b)]&&(this[_0x419040(0x19b)][_0x419040(0x14b)]=_0x42850f));}get['bufferedAmount'](){const _0x8a0972=_0x33a636;return this[_0x8a0972(0x2c4)]?this[_0x8a0972(0x2c4)][_0x8a0972(0x2aa)]['length']+this[_0x8a0972(0x1f0)]['_bufferedBytes']:this[_0x8a0972(0x11e)];}get[_0x33a636(0x2bc)](){const _0x226e3b=_0x33a636;return Object[_0x226e3b(0x21a)](this[_0x226e3b(0x1d6)])[_0x226e3b(0x2c1)]();}get['isPaused'](){const _0xd2a757=_0x33a636;return this[_0xd2a757(0x2e8)];}get[_0x33a636(0x1ae)](){return null;}get['onerror'](){return null;}get[_0x33a636(0x128)](){return null;}get[_0x33a636(0x18c)](){return null;}get['protocol'](){const _0x216cb0=_0x33a636;return this[_0x216cb0(0x1dd)];}get[_0x33a636(0x23a)](){const _0x2189d4=_0x33a636;return this[_0x2189d4(0x2d6)];}get['url'](){const _0x4d4527=_0x33a636;return this[_0x4d4527(0x197)];}[_0x33a636(0x176)](_0x1e720e,_0x3bf411,_0x3e077a){const _0x979d4c=_0x33a636,_0x4c7df7=new _0x52ed76({'allowSynchronousEvents':_0x3e077a[_0x979d4c(0x2de)],'binaryType':this[_0x979d4c(0x1b3)],'extensions':this[_0x979d4c(0x1d6)],'isServer':this[_0x979d4c(0x248)],'maxPayload':_0x3e077a[_0x979d4c(0x12d)],'skipUTF8Validation':_0x3e077a[_0x979d4c(0x2cf)]}),_0x14d3d0=new _0x4a5b06(_0x1e720e,this[_0x979d4c(0x1d6)],_0x3e077a['generateMask']);this[_0x979d4c(0x19b)]=_0x4c7df7,this[_0x979d4c(0x1f0)]=_0x14d3d0,this['_socket']=_0x1e720e,_0x4c7df7[_0x3ab217]=this,_0x14d3d0[_0x3ab217]=this,_0x1e720e[_0x3ab217]=this,_0x4c7df7['on'](_0x979d4c(0x2ec),_0x3737e4),_0x4c7df7['on'](_0x979d4c(0x239),_0x16ff39),_0x4c7df7['on'](_0x979d4c(0x209),_0x2f1a9f),_0x4c7df7['on'](_0x979d4c(0x170),_0x53c48a),_0x4c7df7['on'](_0x979d4c(0x10e),_0x5cdcb8),_0x4c7df7['on'](_0x979d4c(0x1ad),_0x1c52ec),_0x14d3d0[_0x979d4c(0x212)]=_0xfc9ccd,_0x1e720e[_0x979d4c(0x1a9)]&&_0x1e720e[_0x979d4c(0x1a9)](0x0),_0x1e720e[_0x979d4c(0x275)]&&_0x1e720e[_0x979d4c(0x275)](),_0x3bf411[_0x979d4c(0x1f5)]>0x0&&_0x1e720e[_0x979d4c(0x1f1)](_0x3bf411),_0x1e720e['on'](_0x979d4c(0x1c2),_0x811189),_0x1e720e['on'](_0x979d4c(0x2c7),_0x10c559),_0x1e720e['on'](_0x979d4c(0x17d),_0x3118be),_0x1e720e['on'](_0x979d4c(0x209),_0x13d257),this[_0x979d4c(0x2d6)]=_0x64257[_0x979d4c(0x20c)],this[_0x979d4c(0x124)](_0x979d4c(0x292));}[_0x33a636(0x246)](){const _0x47f04c=_0x33a636;if(!this[_0x47f04c(0x2c4)]){this['_readyState']=_0x64257[_0x47f04c(0x1b1)],this[_0x47f04c(0x124)](_0x47f04c(0x1c2),this['_closeCode'],this[_0x47f04c(0x1c1)]);return;}this[_0x47f04c(0x1d6)][_0x1cee0c['extensionName']]&&this[_0x47f04c(0x1d6)][_0x1cee0c['extensionName']][_0x47f04c(0x1cb)](),this['_receiver'][_0x47f04c(0x1fc)](),this[_0x47f04c(0x2d6)]=_0x64257[_0x47f04c(0x1b1)],this[_0x47f04c(0x124)](_0x47f04c(0x1c2),this['_closeCode'],this[_0x47f04c(0x1c1)]);}[_0x33a636(0x1c2)](_0x5d8155,_0x453734){const _0x5c0268=_0x33a636;if(this['readyState']!==_0x64257[_0x5c0268(0x1b1)]){if(this['readyState']===_0x64257['CONNECTING']){_0x12af02(this,this['_req'],_0x5c0268(0x2c3));return;}if(this[_0x5c0268(0x23a)]===_0x64257[_0x5c0268(0x2ad)]){this[_0x5c0268(0x1f4)]&&(this[_0x5c0268(0x251)]||this[_0x5c0268(0x19b)][_0x5c0268(0x2aa)][_0x5c0268(0x2cc)])&&this[_0x5c0268(0x2c4)]['end']();return;}this[_0x5c0268(0x2d6)]=_0x64257[_0x5c0268(0x2ad)],this['_sender'][_0x5c0268(0x1c2)](_0x5d8155,_0x453734,!this['_isServer'],_0x2e12dd=>{const _0x5b24be=_0x5c0268;_0x2e12dd||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x5b24be(0x19b)][_0x5b24be(0x2aa)][_0x5b24be(0x2cc)])&&this[_0x5b24be(0x2c4)][_0x5b24be(0x17d)]());}),_0x3f99c8(this);}}[_0x33a636(0x2d9)](){const _0x5097cc=_0x33a636;this[_0x5097cc(0x23a)]===_0x64257['CONNECTING']||this[_0x5097cc(0x23a)]===_0x64257['CLOSED']||(this[_0x5097cc(0x2e8)]=!0x0,this[_0x5097cc(0x2c4)][_0x5097cc(0x2d9)]());}[_0x33a636(0x10e)](_0x2a0dd4,_0xad6eb9,_0x59d918){const _0x1826ce=_0x33a636;if(this['readyState']===_0x64257[_0x1826ce(0x2f1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2a0dd4==_0x1826ce(0x107)?(_0x59d918=_0x2a0dd4,_0x2a0dd4=_0xad6eb9=void 0x0):typeof _0xad6eb9==_0x1826ce(0x107)&&(_0x59d918=_0xad6eb9,_0xad6eb9=void 0x0),typeof _0x2a0dd4=='number'&&(_0x2a0dd4=_0x2a0dd4[_0x1826ce(0x15a)]()),this[_0x1826ce(0x23a)]!==_0x64257['OPEN']){_0x37a6af(this,_0x2a0dd4,_0x59d918);return;}_0xad6eb9===void 0x0&&(_0xad6eb9=!this[_0x1826ce(0x248)]),this[_0x1826ce(0x1f0)][_0x1826ce(0x10e)](_0x2a0dd4||_0x2a74ee,_0xad6eb9,_0x59d918);}[_0x33a636(0x1ad)](_0x2bc75d,_0x12d63d,_0x22b662){const _0x87b6e8=_0x33a636;if(this[_0x87b6e8(0x23a)]===_0x64257[_0x87b6e8(0x2f1)])throw new Error(_0x87b6e8(0x2e9));if(typeof _0x2bc75d=='function'?(_0x22b662=_0x2bc75d,_0x2bc75d=_0x12d63d=void 0x0):typeof _0x12d63d=='function'&&(_0x22b662=_0x12d63d,_0x12d63d=void 0x0),typeof _0x2bc75d==_0x87b6e8(0x1e0)&&(_0x2bc75d=_0x2bc75d[_0x87b6e8(0x15a)]()),this[_0x87b6e8(0x23a)]!==_0x64257['OPEN']){_0x37a6af(this,_0x2bc75d,_0x22b662);return;}_0x12d63d===void 0x0&&(_0x12d63d=!this['_isServer']),this['_sender'][_0x87b6e8(0x1ad)](_0x2bc75d||_0x2a74ee,_0x12d63d,_0x22b662);}['resume'](){const _0x2690da=_0x33a636;this[_0x2690da(0x23a)]===_0x64257['CONNECTING']||this[_0x2690da(0x23a)]===_0x64257[_0x2690da(0x1b1)]||(this[_0x2690da(0x2e8)]=!0x1,this['_receiver'][_0x2690da(0x2aa)][_0x2690da(0x11f)]||this[_0x2690da(0x2c4)][_0x2690da(0x2a9)]());}[_0x33a636(0x2a4)](_0x13e526,_0x1275bd,_0x699385){const _0x476590=_0x33a636;if(this[_0x476590(0x23a)]===_0x64257[_0x476590(0x2f1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1275bd==_0x476590(0x107)&&(_0x699385=_0x1275bd,_0x1275bd={}),typeof _0x13e526=='number'&&(_0x13e526=_0x13e526[_0x476590(0x15a)]()),this[_0x476590(0x23a)]!==_0x64257[_0x476590(0x20c)]){_0x37a6af(this,_0x13e526,_0x699385);return;}const _0x7b99be={'binary':typeof _0x13e526!=_0x476590(0x23d),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x1275bd};this[_0x476590(0x1d6)][_0x1cee0c['extensionName']]||(_0x7b99be[_0x476590(0x267)]=!0x1),this[_0x476590(0x1f0)][_0x476590(0x2a4)](_0x13e526||_0x2a74ee,_0x7b99be,_0x699385);}['terminate'](){const _0x3fcf11=_0x33a636;if(this['readyState']!==_0x64257[_0x3fcf11(0x1b1)]){if(this[_0x3fcf11(0x23a)]===_0x64257[_0x3fcf11(0x2f1)]){_0x12af02(this,this[_0x3fcf11(0x2e3)],_0x3fcf11(0x2c3));return;}this[_0x3fcf11(0x2c4)]&&(this[_0x3fcf11(0x2d6)]=_0x64257['CLOSING'],this[_0x3fcf11(0x2c4)]['destroy']());}}};__name(_0x6d8bf3,_0x33a636(0x10d));let _0x54e591=_0x6d8bf3;Object[_0x33a636(0x145)](_0x54e591,_0x33a636(0x2f1),{'enumerable':!0x0,'value':_0x1a75d1[_0x33a636(0x29c)](_0x33a636(0x2f1))}),Object[_0x33a636(0x145)](_0x54e591[_0x33a636(0x15d)],'CONNECTING',{'enumerable':!0x0,'value':_0x1a75d1[_0x33a636(0x29c)](_0x33a636(0x2f1))}),Object[_0x33a636(0x145)](_0x54e591,_0x33a636(0x20c),{'enumerable':!0x0,'value':_0x1a75d1[_0x33a636(0x29c)](_0x33a636(0x20c))}),Object[_0x33a636(0x145)](_0x54e591['prototype'],_0x33a636(0x20c),{'enumerable':!0x0,'value':_0x1a75d1['indexOf'](_0x33a636(0x20c))}),Object['defineProperty'](_0x54e591,_0x33a636(0x2ad),{'enumerable':!0x0,'value':_0x1a75d1['indexOf'](_0x33a636(0x2ad))}),Object[_0x33a636(0x145)](_0x54e591[_0x33a636(0x15d)],_0x33a636(0x2ad),{'enumerable':!0x0,'value':_0x1a75d1['indexOf']('CLOSING')}),Object[_0x33a636(0x145)](_0x54e591,'CLOSED',{'enumerable':!0x0,'value':_0x1a75d1['indexOf'](_0x33a636(0x1b1))}),Object[_0x33a636(0x145)](_0x54e591[_0x33a636(0x15d)],_0x33a636(0x1b1),{'enumerable':!0x0,'value':_0x1a75d1[_0x33a636(0x29c)](_0x33a636(0x1b1))}),[_0x33a636(0x1b3),_0x33a636(0x1d0),_0x33a636(0x2bc),_0x33a636(0x1d1),'protocol',_0x33a636(0x23a),_0x33a636(0x25b)][_0x33a636(0x2d3)](_0x1bd9f=>{const _0x7bd92=_0x33a636;Object[_0x7bd92(0x145)](_0x54e591[_0x7bd92(0x15d)],_0x1bd9f,{'enumerable':!0x0});}),[_0x33a636(0x292),_0x33a636(0x209),'close','message'][_0x33a636(0x2d3)](_0x5645fd=>{const _0x5572c8=_0x33a636;Object[_0x5572c8(0x145)](_0x54e591[_0x5572c8(0x15d)],'on'+_0x5645fd,{'enumerable':!0x0,'get'(){for(const _0x197cd1 of this['listeners'](_0x5645fd))if(_0x197cd1[_0x19bb4f])return _0x197cd1[_0x202400];return null;},'set'(_0x528710){const _0x5b535f=_0x5572c8;for(const _0x18086e of this[_0x5b535f(0x1cd)](_0x5645fd))if(_0x18086e[_0x19bb4f]){this[_0x5b535f(0x2a6)](_0x5645fd,_0x18086e);break;}typeof _0x528710==_0x5b535f(0x107)&&this[_0x5b535f(0x172)](_0x5645fd,_0x528710,{[_0x19bb4f]:!0x0});}});}),_0x54e591['prototype'][_0x33a636(0x172)]=_0x21242e,_0x54e591[_0x33a636(0x15d)][_0x33a636(0x1b7)]=_0x5d9b64,websocket=_0x54e591;function _0x45f94c(_0x4ead20,_0x29e6cf,_0x5f19cd,_0x43c75d){const _0x23d843=_0x33a636,_0x2b351b={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x30630c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x43c75d,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x23d843(0x1ec),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4ead20[_0x23d843(0x296)]=_0x2b351b[_0x23d843(0x119)],!_0x30630c[_0x23d843(0x2e4)](_0x2b351b[_0x23d843(0x129)]))throw new RangeError(_0x23d843(0x1e7)+_0x2b351b['protocolVersion']+_0x23d843(0x1a5)+_0x30630c['join'](',\x20')+')');let _0x56d302;if(_0x29e6cf instanceof _0x2f7e3f)_0x56d302=_0x29e6cf;else try{_0x56d302=new _0x2f7e3f(_0x29e6cf);}catch{throw new SyntaxError(_0x23d843(0x143)+_0x29e6cf);}_0x56d302[_0x23d843(0x137)]==='http:'?_0x56d302[_0x23d843(0x137)]=_0x23d843(0x1f6):_0x56d302['protocol']==='https:'&&(_0x56d302[_0x23d843(0x137)]='wss:'),_0x4ead20[_0x23d843(0x197)]=_0x56d302[_0x23d843(0x279)];const _0x5086fe=_0x56d302[_0x23d843(0x137)]==='wss:',_0x1eb14a=_0x56d302[_0x23d843(0x137)]===_0x23d843(0x139);let _0x4ffb9d;if(_0x56d302[_0x23d843(0x137)]!=='ws:'&&!_0x5086fe&&!_0x1eb14a?_0x4ffb9d='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':_0x1eb14a&&!_0x56d302[_0x23d843(0x1d9)]?_0x4ffb9d=_0x23d843(0x15b):_0x56d302['hash']&&(_0x4ffb9d=_0x23d843(0x247)),_0x4ffb9d){const _0x22f6a4=new SyntaxError(_0x4ffb9d);if(_0x4ead20[_0x23d843(0x2b2)]===0x0)throw _0x22f6a4;_0x30cf51(_0x4ead20,_0x22f6a4);return;}const _0x59f48e=_0x5086fe?0x1bb:0x50,_0x2e01d2=_0x1e12ed(0x10)['toString'](_0x23d843(0x131)),_0x423341=_0x5086fe?_0x32ab49[_0x23d843(0x154)]:_0x57aa94[_0x23d843(0x154)],_0x3f8a4b=new Set();let _0x47c239;if(_0x2b351b['createConnection']=_0x2b351b['createConnection']||(_0x5086fe?_0x475577:_0x4ecc4b),_0x2b351b['defaultPort']=_0x2b351b[_0x23d843(0x227)]||_0x59f48e,_0x2b351b[_0x23d843(0x184)]=_0x56d302['port']||_0x59f48e,_0x2b351b['host']=_0x56d302['hostname']['startsWith']('[')?_0x56d302[_0x23d843(0x217)]['slice'](0x1,-0x1):_0x56d302[_0x23d843(0x217)],_0x2b351b[_0x23d843(0x27c)]={..._0x2b351b['headers'],'Sec-WebSocket-Version':_0x2b351b[_0x23d843(0x129)],'Sec-WebSocket-Key':_0x2e01d2,'Connection':_0x23d843(0x270),'Upgrade':_0x23d843(0x1ac)},_0x2b351b[_0x23d843(0x115)]=_0x56d302[_0x23d843(0x1d9)]+_0x56d302[_0x23d843(0x105)],_0x2b351b['timeout']=_0x2b351b[_0x23d843(0x2e0)],_0x2b351b['perMessageDeflate']&&(_0x47c239=new _0x1cee0c(_0x2b351b[_0x23d843(0x27d)]!==!0x0?_0x2b351b[_0x23d843(0x27d)]:{},!0x1,_0x2b351b[_0x23d843(0x12d)]),_0x2b351b[_0x23d843(0x27c)][_0x23d843(0x1b8)]=_0x1d3f86({[_0x1cee0c['extensionName']]:_0x47c239[_0x23d843(0x2a3)]()})),_0x5f19cd[_0x23d843(0x1f5)]){for(const _0x114dd9 of _0x5f19cd){if(typeof _0x114dd9!=_0x23d843(0x23d)||!_0x4d4e5c[_0x23d843(0x1d3)](_0x114dd9)||_0x3f8a4b[_0x23d843(0x205)](_0x114dd9))throw new SyntaxError(_0x23d843(0x2b5));_0x3f8a4b[_0x23d843(0x29f)](_0x114dd9);}_0x2b351b['headers'][_0x23d843(0x2b4)]=_0x5f19cd[_0x23d843(0x2c1)](',');}if(_0x2b351b[_0x23d843(0x1a3)]&&(_0x2b351b[_0x23d843(0x129)]<0xd?_0x2b351b['headers'][_0x23d843(0x16c)]=_0x2b351b[_0x23d843(0x1a3)]:_0x2b351b[_0x23d843(0x27c)][_0x23d843(0x171)]=_0x2b351b['origin']),(_0x56d302[_0x23d843(0x25c)]||_0x56d302[_0x23d843(0x19e)])&&(_0x2b351b[_0x23d843(0x204)]=_0x56d302[_0x23d843(0x25c)]+':'+_0x56d302[_0x23d843(0x19e)]),_0x1eb14a){const _0xcca4d0=_0x2b351b[_0x23d843(0x115)][_0x23d843(0x23c)](':');_0x2b351b[_0x23d843(0x2d8)]=_0xcca4d0[0x0],_0x2b351b['path']=_0xcca4d0[0x1];}let _0x5ec5bd;if(_0x2b351b[_0x23d843(0x175)]){if(_0x4ead20[_0x23d843(0x2b2)]===0x0){_0x4ead20[_0x23d843(0x1ba)]=_0x1eb14a,_0x4ead20[_0x23d843(0x11b)]=_0x5086fe,_0x4ead20[_0x23d843(0x244)]=_0x1eb14a?_0x2b351b[_0x23d843(0x2d8)]:_0x56d302[_0x23d843(0x153)];const _0x6619a7=_0x43c75d&&_0x43c75d[_0x23d843(0x27c)];if(_0x43c75d={..._0x43c75d,'headers':{}},_0x6619a7){for(const [_0x27e1e8,_0x2befb3]of Object[_0x23d843(0x2eb)](_0x6619a7))_0x43c75d['headers'][_0x27e1e8[_0x23d843(0x1c0)]()]=_0x2befb3;}}else{if(_0x4ead20[_0x23d843(0x1b0)]('redirect')===0x0){const _0x4c1a36=_0x1eb14a?_0x4ead20[_0x23d843(0x1ba)]?_0x2b351b[_0x23d843(0x2d8)]===_0x4ead20[_0x23d843(0x244)]:!0x1:_0x4ead20[_0x23d843(0x1ba)]?!0x1:_0x56d302[_0x23d843(0x153)]===_0x4ead20[_0x23d843(0x244)];(!_0x4c1a36||_0x4ead20[_0x23d843(0x11b)]&&!_0x5086fe)&&(delete _0x2b351b[_0x23d843(0x27c)][_0x23d843(0x281)],delete _0x2b351b[_0x23d843(0x27c)]['cookie'],_0x4c1a36||delete _0x2b351b[_0x23d843(0x27c)]['host'],_0x2b351b[_0x23d843(0x204)]=void 0x0);}}_0x2b351b[_0x23d843(0x204)]&&!_0x43c75d['headers'][_0x23d843(0x281)]&&(_0x43c75d[_0x23d843(0x27c)][_0x23d843(0x281)]=_0x23d843(0x130)+Buffer[_0x23d843(0x28a)](_0x2b351b['auth'])[_0x23d843(0x15a)](_0x23d843(0x131))),_0x5ec5bd=_0x4ead20[_0x23d843(0x2e3)]=_0x423341(_0x2b351b),_0x4ead20[_0x23d843(0x2b2)]&&_0x4ead20[_0x23d843(0x124)](_0x23d843(0x249),_0x4ead20[_0x23d843(0x25b)],_0x5ec5bd);}else _0x5ec5bd=_0x4ead20[_0x23d843(0x2e3)]=_0x423341(_0x2b351b);_0x2b351b[_0x23d843(0x24c)]&&_0x5ec5bd['on'](_0x23d843(0x24c),()=>{const _0x587473=_0x23d843;_0x12af02(_0x4ead20,_0x5ec5bd,_0x587473(0x182));}),_0x5ec5bd['on'](_0x23d843(0x209),_0x3265de=>{_0x5ec5bd===null||_0x5ec5bd[_0x37993d]||(_0x5ec5bd=_0x4ead20['_req']=null,_0x30cf51(_0x4ead20,_0x3265de));}),_0x5ec5bd['on']('response',_0x45e471=>{const _0x3a42d5=_0x23d843,_0x192eea=_0x45e471[_0x3a42d5(0x27c)][_0x3a42d5(0x264)],_0x34da09=_0x45e471[_0x3a42d5(0x19c)];if(_0x192eea&&_0x2b351b[_0x3a42d5(0x175)]&&_0x34da09>=0x12c&&_0x34da09<0x190){if(++_0x4ead20[_0x3a42d5(0x2b2)]>_0x2b351b[_0x3a42d5(0x198)]){_0x12af02(_0x4ead20,_0x5ec5bd,_0x3a42d5(0x13e));return;}_0x5ec5bd[_0x3a42d5(0x1aa)]();let _0x340d99;try{_0x340d99=new _0x2f7e3f(_0x192eea,_0x29e6cf);}catch{const _0x7472df=new SyntaxError('Invalid\x20URL:\x20'+_0x192eea);_0x30cf51(_0x4ead20,_0x7472df);return;}_0x45f94c(_0x4ead20,_0x340d99,_0x5f19cd,_0x43c75d);}else _0x4ead20[_0x3a42d5(0x124)](_0x3a42d5(0x238),_0x5ec5bd,_0x45e471)||_0x12af02(_0x4ead20,_0x5ec5bd,_0x3a42d5(0x2bf)+_0x45e471['statusCode']);}),_0x5ec5bd['on'](_0x23d843(0x150),(_0x376585,_0x1b0a0a,_0x28982d)=>{const _0x5454d6=_0x23d843;if(_0x4ead20[_0x5454d6(0x124)](_0x5454d6(0x150),_0x376585),_0x4ead20['readyState']!==_0x54e591[_0x5454d6(0x2f1)])return;_0x5ec5bd=_0x4ead20[_0x5454d6(0x2e3)]=null;const _0x51f51f=_0x376585[_0x5454d6(0x27c)][_0x5454d6(0x150)];if(_0x51f51f===void 0x0||_0x51f51f[_0x5454d6(0x1c0)]()!==_0x5454d6(0x1ac)){_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x2d1));return;}const _0x526869=_0x4677c6(_0x5454d6(0x23b))[_0x5454d6(0x1a6)](_0x2e01d2+_0x1ee1e2)['digest']('base64');if(_0x376585[_0x5454d6(0x27c)][_0x5454d6(0x15f)]!==_0x526869){_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x23e));return;}const _0x4f5b41=_0x376585['headers'][_0x5454d6(0x278)];let _0x3cde7e;if(_0x4f5b41!==void 0x0?_0x3f8a4b[_0x5454d6(0x286)]?_0x3f8a4b['has'](_0x4f5b41)||(_0x3cde7e=_0x5454d6(0x120)):_0x3cde7e=_0x5454d6(0x127):_0x3f8a4b[_0x5454d6(0x286)]&&(_0x3cde7e=_0x5454d6(0x21f)),_0x3cde7e){_0x12af02(_0x4ead20,_0x1b0a0a,_0x3cde7e);return;}_0x4f5b41&&(_0x4ead20[_0x5454d6(0x1dd)]=_0x4f5b41);const _0x2829d5=_0x376585[_0x5454d6(0x27c)][_0x5454d6(0x261)];if(_0x2829d5!==void 0x0){if(!_0x47c239){_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x2b9));return;}let _0x20c9c7;try{_0x20c9c7=_0x428865(_0x2829d5);}catch{_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x1ca));return;}const _0x5e108d=Object[_0x5454d6(0x21a)](_0x20c9c7);if(_0x5e108d[_0x5454d6(0x1f5)]!==0x1||_0x5e108d[0x0]!==_0x1cee0c['extensionName']){_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x187));return;}try{_0x47c239[_0x5454d6(0x21e)](_0x20c9c7[_0x1cee0c[_0x5454d6(0x237)]]);}catch{_0x12af02(_0x4ead20,_0x1b0a0a,_0x5454d6(0x1ca));return;}_0x4ead20[_0x5454d6(0x1d6)][_0x1cee0c[_0x5454d6(0x237)]]=_0x47c239;}_0x4ead20['setSocket'](_0x1b0a0a,_0x28982d,{'allowSynchronousEvents':_0x2b351b[_0x5454d6(0x2de)],'generateMask':_0x2b351b[_0x5454d6(0x25d)],'maxPayload':_0x2b351b[_0x5454d6(0x12d)],'skipUTF8Validation':_0x2b351b[_0x5454d6(0x2cf)]});}),_0x2b351b[_0x23d843(0x142)]?_0x2b351b['finishRequest'](_0x5ec5bd,_0x4ead20):_0x5ec5bd[_0x23d843(0x17d)]();}__name(_0x45f94c,_0x33a636(0x1ea));function _0x30cf51(_0x1a4db1,_0x4232e4){const _0x435ea7=_0x33a636;_0x1a4db1[_0x435ea7(0x2d6)]=_0x54e591[_0x435ea7(0x2ad)],_0x1a4db1[_0x435ea7(0x2a2)]=!0x0,_0x1a4db1[_0x435ea7(0x124)](_0x435ea7(0x209),_0x4232e4),_0x1a4db1[_0x435ea7(0x246)]();}__name(_0x30cf51,_0x33a636(0x2a5));function _0x4ecc4b(_0x5265b6){const _0x810d8b=_0x33a636;return _0x5265b6[_0x810d8b(0x115)]=_0x5265b6[_0x810d8b(0x2d8)],_0x1a9dd5[_0x810d8b(0x179)](_0x5265b6);}__name(_0x4ecc4b,_0x33a636(0x2b6));function _0x475577(_0xf8640c){const _0x2f42d3=_0x33a636;return _0xf8640c[_0x2f42d3(0x115)]=void 0x0,!_0xf8640c[_0x2f42d3(0x1f3)]&&_0xf8640c[_0x2f42d3(0x1f3)]!==''&&(_0xf8640c[_0x2f42d3(0x1f3)]=_0x1a9dd5[_0x2f42d3(0x229)](_0xf8640c[_0x2f42d3(0x153)])?'':_0xf8640c['host']),_0x4d65b0[_0x2f42d3(0x179)](_0xf8640c);}__name(_0x475577,_0x33a636(0x114));function _0x12af02(_0x409acd,_0x500907,_0x43e353){const _0x1d246e=_0x33a636;_0x409acd[_0x1d246e(0x2d6)]=_0x54e591[_0x1d246e(0x2ad)];const _0x5602a7=new Error(_0x43e353);Error[_0x1d246e(0x202)](_0x5602a7,_0x12af02),_0x500907[_0x1d246e(0x19f)]?(_0x500907[_0x37993d]=!0x0,_0x500907[_0x1d246e(0x1aa)](),_0x500907[_0x1d246e(0x2ba)]&&!_0x500907[_0x1d246e(0x2ba)][_0x1d246e(0x1c4)]&&_0x500907[_0x1d246e(0x2ba)][_0x1d246e(0x27f)](),process[_0x1d246e(0x27e)](_0x30cf51,_0x409acd,_0x5602a7)):(_0x500907[_0x1d246e(0x27f)](_0x5602a7),_0x500907[_0x1d246e(0x28e)](_0x1d246e(0x209),_0x409acd['emit'][_0x1d246e(0x1e3)](_0x409acd,_0x1d246e(0x209))),_0x500907[_0x1d246e(0x28e)](_0x1d246e(0x1c2),_0x409acd[_0x1d246e(0x246)][_0x1d246e(0x1e3)](_0x409acd)));}__name(_0x12af02,_0x33a636(0x12f));function _0x37a6af(_0xb5c91f,_0x144498,_0x1f069c){const _0x86c492=_0x33a636;if(_0x144498){const _0x531f28=_0x59b187(_0x144498)?_0x144498[_0x86c492(0x286)]:_0x3f182b(_0x144498)['length'];_0xb5c91f['_socket']?_0xb5c91f[_0x86c492(0x1f0)][_0x86c492(0x183)]+=_0x531f28:_0xb5c91f[_0x86c492(0x11e)]+=_0x531f28;}if(_0x1f069c){const _0x179a0f=new Error(_0x86c492(0x28c)+_0xb5c91f[_0x86c492(0x23a)]+'\x20('+_0x1a75d1[_0xb5c91f[_0x86c492(0x23a)]]+')');process[_0x86c492(0x27e)](_0x1f069c,_0x179a0f);}}__name(_0x37a6af,_0x33a636(0x250));function _0x3737e4(_0x3edb98,_0x542666){const _0x4f310c=_0x33a636,_0x2eb1b2=this[_0x3ab217];_0x2eb1b2['_closeFrameReceived']=!0x0,_0x2eb1b2['_closeMessage']=_0x542666,_0x2eb1b2[_0x4f310c(0x225)]=_0x3edb98,_0x2eb1b2[_0x4f310c(0x2c4)][_0x3ab217]!==void 0x0&&(_0x2eb1b2[_0x4f310c(0x2c4)][_0x4f310c(0x2a6)]('data',_0x10c559),process[_0x4f310c(0x27e)](_0x604640,_0x2eb1b2[_0x4f310c(0x2c4)]),_0x3edb98===0x3ed?_0x2eb1b2[_0x4f310c(0x1c2)]():_0x2eb1b2['close'](_0x3edb98,_0x542666));}__name(_0x3737e4,_0x33a636(0x272));function _0x16ff39(){const _0x5c25d7=_0x33a636,_0x1b739a=this[_0x3ab217];_0x1b739a[_0x5c25d7(0x1d1)]||_0x1b739a[_0x5c25d7(0x2c4)][_0x5c25d7(0x2a9)]();}__name(_0x16ff39,_0x33a636(0x196));function _0x2f1a9f(_0x512a25){const _0x4f2c1d=_0x33a636,_0x15c1d4=this[_0x3ab217];_0x15c1d4[_0x4f2c1d(0x2c4)][_0x3ab217]!==void 0x0&&(_0x15c1d4[_0x4f2c1d(0x2c4)][_0x4f2c1d(0x2a6)](_0x4f2c1d(0x2c7),_0x10c559),process['nextTick'](_0x604640,_0x15c1d4[_0x4f2c1d(0x2c4)]),_0x15c1d4[_0x4f2c1d(0x1c2)](_0x512a25[_0x456986])),_0x15c1d4['_errorEmitted']||(_0x15c1d4[_0x4f2c1d(0x2a2)]=!0x0,_0x15c1d4[_0x4f2c1d(0x124)](_0x4f2c1d(0x209),_0x512a25));}__name(_0x2f1a9f,_0x33a636(0x1a7));function _0xa3b119(){const _0x2a2a59=_0x33a636;this[_0x3ab217][_0x2a2a59(0x246)]();}__name(_0xa3b119,'receiverOnFinish');function _0x53c48a(_0x4288dd,_0x5203e2){this[_0x3ab217]['emit']('message',_0x4288dd,_0x5203e2);}__name(_0x53c48a,'receiverOnMessage');function _0x5cdcb8(_0x14b33e){const _0x4c46a9=_0x33a636,_0x2ba51e=this[_0x3ab217];_0x2ba51e['_autoPong']&&_0x2ba51e['pong'](_0x14b33e,!this[_0x4c46a9(0x248)],_0x725487),_0x2ba51e[_0x4c46a9(0x124)]('ping',_0x14b33e);}__name(_0x5cdcb8,'receiverOnPing');function _0x1c52ec(_0x5dfb06){const _0x41899c=_0x33a636;this[_0x3ab217][_0x41899c(0x124)](_0x41899c(0x1ad),_0x5dfb06);}__name(_0x1c52ec,_0x33a636(0x236));function _0x604640(_0x593276){const _0x2cf4c3=_0x33a636;_0x593276[_0x2cf4c3(0x2a9)]();}__name(_0x604640,_0x33a636(0x2a9));function _0xfc9ccd(_0x5131b0){const _0x166a07=_0x33a636,_0x1fb0b1=this[_0x3ab217];_0x1fb0b1[_0x166a07(0x23a)]!==_0x54e591['CLOSED']&&(_0x1fb0b1[_0x166a07(0x23a)]===_0x54e591[_0x166a07(0x20c)]&&(_0x1fb0b1[_0x166a07(0x2d6)]=_0x54e591['CLOSING'],_0x3f99c8(_0x1fb0b1)),this[_0x166a07(0x2c4)][_0x166a07(0x17d)](),_0x1fb0b1[_0x166a07(0x2a2)]||(_0x1fb0b1[_0x166a07(0x2a2)]=!0x0,_0x1fb0b1['emit'](_0x166a07(0x209),_0x5131b0)));}__name(_0xfc9ccd,_0x33a636(0x121));function _0x3f99c8(_0x505357){const _0x2c57cd=_0x33a636;_0x505357['_closeTimer']=setTimeout(_0x505357[_0x2c57cd(0x2c4)]['destroy'][_0x2c57cd(0x1e3)](_0x505357[_0x2c57cd(0x2c4)]),_0x14786d);}__name(_0x3f99c8,_0x33a636(0x215));function _0x811189(){const _0x48723b=_0x33a636,_0x4e42f0=this[_0x3ab217];this['removeListener'](_0x48723b(0x1c2),_0x811189),this['removeListener'](_0x48723b(0x2c7),_0x10c559),this[_0x48723b(0x2a6)](_0x48723b(0x17d),_0x3118be),_0x4e42f0[_0x48723b(0x2d6)]=_0x54e591[_0x48723b(0x2ad)];let _0x1e2c49;!this[_0x48723b(0x159)][_0x48723b(0x18b)]&&!_0x4e42f0[_0x48723b(0x251)]&&!_0x4e42f0['_receiver'][_0x48723b(0x2aa)][_0x48723b(0x2cc)]&&(_0x1e2c49=_0x4e42f0[_0x48723b(0x2c4)][_0x48723b(0x2a7)]())!==null&&_0x4e42f0['_receiver'][_0x48723b(0x1a8)](_0x1e2c49),_0x4e42f0[_0x48723b(0x19b)][_0x48723b(0x17d)](),this[_0x3ab217]=void 0x0,clearTimeout(_0x4e42f0[_0x48723b(0x2ce)]),_0x4e42f0['_receiver'][_0x48723b(0x2aa)][_0x48723b(0x2e6)]||_0x4e42f0[_0x48723b(0x19b)][_0x48723b(0x2aa)][_0x48723b(0x2cc)]?_0x4e42f0[_0x48723b(0x246)]():(_0x4e42f0['_receiver']['on'](_0x48723b(0x209),_0xa3b119),_0x4e42f0[_0x48723b(0x19b)]['on'](_0x48723b(0x1d5),_0xa3b119));}__name(_0x811189,_0x33a636(0x1fe));function _0x10c559(_0x4152ce){this[_0x3ab217]['_receiver']['write'](_0x4152ce)||this['pause']();}__name(_0x10c559,_0x33a636(0x207));function _0x3118be(){const _0x1b32dc=_0x33a636,_0x4e2d7a=this[_0x3ab217];_0x4e2d7a['_readyState']=_0x54e591['CLOSING'],_0x4e2d7a[_0x1b32dc(0x19b)][_0x1b32dc(0x17d)](),this['end']();}__name(_0x3118be,_0x33a636(0x1c8));function _0x13d257(){const _0xb497e1=_0x33a636,_0x51a608=this[_0x3ab217];this['removeListener']('error',_0x13d257),this['on']('error',_0x725487),_0x51a608&&(_0x51a608[_0xb497e1(0x2d6)]=_0x54e591[_0xb497e1(0x2ad)],this[_0xb497e1(0x27f)]());}return __name(_0x13d257,_0x33a636(0x290)),websocket;}__name(requireWebsocket,'requireWebsocket');var websocketExports=requireWebsocket();const WebSocket=getDefaultExportFromCjs(websocketExports);var subprotocol,hasRequiredSubprotocol;function requireSubprotocol(){const _0x137547=_0x54ec85;if(hasRequiredSubprotocol)return subprotocol;hasRequiredSubprotocol=0x1;const {tokenChars:_0x278783}=requireValidation();function _0x34a53d(_0x1a9f0c){const _0x337f74=_0x1213,_0xd0bb7a=new Set();let _0x367d0c=-0x1,_0x1a1d21=-0x1,_0x343611=0x0;for(_0x343611;_0x343611<_0x1a9f0c[_0x337f74(0x1f5)];_0x343611++){const _0x860691=_0x1a9f0c[_0x337f74(0x266)](_0x343611);if(_0x1a1d21===-0x1&&_0x278783[_0x860691]===0x1)_0x367d0c===-0x1&&(_0x367d0c=_0x343611);else{if(_0x343611!==0x0&&(_0x860691===0x20||_0x860691===0x9))_0x1a1d21===-0x1&&_0x367d0c!==-0x1&&(_0x1a1d21=_0x343611);else{if(_0x860691===0x2c){if(_0x367d0c===-0x1)throw new SyntaxError(_0x337f74(0x284)+_0x343611);_0x1a1d21===-0x1&&(_0x1a1d21=_0x343611);const _0x1df935=_0x1a9f0c[_0x337f74(0x24f)](_0x367d0c,_0x1a1d21);if(_0xd0bb7a[_0x337f74(0x205)](_0x1df935))throw new SyntaxError(_0x337f74(0x206)+_0x1df935+'\x22\x20subprotocol\x20is\x20duplicated');_0xd0bb7a[_0x337f74(0x29f)](_0x1df935),_0x367d0c=_0x1a1d21=-0x1;}else throw new SyntaxError(_0x337f74(0x284)+_0x343611);}}}if(_0x367d0c===-0x1||_0x1a1d21!==-0x1)throw new SyntaxError(_0x337f74(0x26f));const _0x119734=_0x1a9f0c[_0x337f74(0x24f)](_0x367d0c,_0x343611);if(_0xd0bb7a['has'](_0x119734))throw new SyntaxError(_0x337f74(0x206)+_0x119734+_0x337f74(0x24b));return _0xd0bb7a[_0x337f74(0x29f)](_0x119734),_0xd0bb7a;}return __name(_0x34a53d,_0x137547(0x1fd)),subprotocol={'parse':_0x34a53d},subprotocol;}__name(requireSubprotocol,_0x54ec85(0x2ca));var websocketServer,hasRequiredWebsocketServer;function requireWebsocketServer(){const _0x29ff56=_0x54ec85;if(hasRequiredWebsocketServer)return websocketServer;hasRequiredWebsocketServer=0x1;const _0x3854d1=_0x39f753,_0x3c4e87=_0xb04b60,{createHash:_0x5edc5b}=_0x45e2e6,_0x109b0e=requireExtension(),_0x2e2bb7=requirePermessageDeflate(),_0x5c0a07=requireSubprotocol(),_0x4d0304=requireWebsocket(),{GUID:_0x53139e,kWebSocket:_0x286853}=requireConstants(),_0x1e643d=/^[+/0-9A-Za-z]{22}==$/,_0x984738=0x0,_0x59d596=0x1,_0x31b036=0x2,_0x481936=class _0x437831 extends _0x3854d1{constructor(_0x548c24,_0x48fb8f){const _0x15508c=_0x1213;if(super(),_0x548c24={'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':_0x4d0304,..._0x548c24},_0x548c24[_0x15508c(0x184)]==null&&!_0x548c24[_0x15508c(0x136)]&&!_0x548c24['noServer']||_0x548c24[_0x15508c(0x184)]!=null&&(_0x548c24[_0x15508c(0x136)]||_0x548c24[_0x15508c(0x161)])||_0x548c24[_0x15508c(0x136)]&&_0x548c24['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x548c24[_0x15508c(0x184)]!=null?(this['_server']=_0x3c4e87['createServer']((_0x881026,_0x5e0e08)=>{const _0x241fc3=_0x15508c,_0x5e55db=_0x3c4e87[_0x241fc3(0x2cb)][0x1aa];_0x5e0e08[_0x241fc3(0x201)](0x1aa,{'Content-Length':_0x5e55db[_0x241fc3(0x1f5)],'Content-Type':_0x241fc3(0x1e2)}),_0x5e0e08[_0x241fc3(0x17d)](_0x5e55db);}),this[_0x15508c(0x1ee)]['listen'](_0x548c24[_0x15508c(0x184)],_0x548c24['host'],_0x548c24[_0x15508c(0x25f)],_0x48fb8f)):_0x548c24['server']&&(this['_server']=_0x548c24[_0x15508c(0x136)]),this[_0x15508c(0x1ee)]){const _0x5605e9=this[_0x15508c(0x124)][_0x15508c(0x1e3)](this,_0x15508c(0x257));this[_0x15508c(0x158)]=_0x1e2334(this[_0x15508c(0x1ee)],{'listening':this[_0x15508c(0x124)][_0x15508c(0x1e3)](this,_0x15508c(0x168)),'error':this['emit'][_0x15508c(0x1e3)](this,_0x15508c(0x209)),'upgrade':__name((_0x34a572,_0x5e407a,_0x2fa3c2)=>{const _0x4da7b6=_0x15508c;this[_0x4da7b6(0x24d)](_0x34a572,_0x5e407a,_0x2fa3c2,_0x5605e9);},'upgrade')});}_0x548c24[_0x15508c(0x27d)]===!0x0&&(_0x548c24[_0x15508c(0x27d)]={}),_0x548c24[_0x15508c(0x13c)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x15508c(0x234)]=_0x548c24,this[_0x15508c(0x280)]=_0x984738;}['address'](){const _0xc07404=_0x1213;if(this[_0xc07404(0x234)][_0xc07404(0x161)])throw new Error(_0xc07404(0x1b6));return this[_0xc07404(0x1ee)]?this[_0xc07404(0x1ee)][_0xc07404(0x27b)]():null;}[_0x29ff56(0x1c2)](_0x277800){const _0x3c5d8f=_0x29ff56;if(this[_0x3c5d8f(0x280)]===_0x31b036){_0x277800&&this[_0x3c5d8f(0x28e)]('close',()=>{_0x277800(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x3c5d8f(0x27e)](_0x461da8,this);return;}if(_0x277800&&this[_0x3c5d8f(0x28e)]('close',_0x277800),this[_0x3c5d8f(0x280)]!==_0x59d596){if(this[_0x3c5d8f(0x280)]=_0x59d596,this[_0x3c5d8f(0x234)][_0x3c5d8f(0x161)]||this[_0x3c5d8f(0x234)][_0x3c5d8f(0x136)])this[_0x3c5d8f(0x1ee)]&&(this[_0x3c5d8f(0x158)](),this[_0x3c5d8f(0x158)]=this[_0x3c5d8f(0x1ee)]=null),this['clients']?this['clients'][_0x3c5d8f(0x286)]?this['_shouldEmitClose']=!0x0:process[_0x3c5d8f(0x27e)](_0x461da8,this):process[_0x3c5d8f(0x27e)](_0x461da8,this);else{const _0x2e0f2a=this[_0x3c5d8f(0x1ee)];this[_0x3c5d8f(0x158)](),this[_0x3c5d8f(0x158)]=this['_server']=null,_0x2e0f2a[_0x3c5d8f(0x1c2)](()=>{_0x461da8(this);});}}}['shouldHandle'](_0x310819){const _0x183440=_0x29ff56;if(this[_0x183440(0x234)][_0x183440(0x115)]){const _0x14a394=_0x310819[_0x183440(0x25b)]['indexOf']('?');if((_0x14a394!==-0x1?_0x310819['url']['slice'](0x0,_0x14a394):_0x310819['url'])!==this[_0x183440(0x234)][_0x183440(0x115)])return!0x1;}return!0x0;}['handleUpgrade'](_0x37c11c,_0x48e6d9,_0x159198,_0x4e6a7c){const _0x59b34d=_0x29ff56;_0x48e6d9['on'](_0x59b34d(0x209),_0x5975e6);const _0x20fe58=_0x37c11c['headers'][_0x59b34d(0x223)],_0x4ba88c=_0x37c11c[_0x59b34d(0x27c)]['upgrade'],_0xc3a99e=+_0x37c11c['headers'][_0x59b34d(0x188)];if(_0x37c11c[_0x59b34d(0x213)]!==_0x59b34d(0x1ec)){_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4ba88c===void 0x0||_0x4ba88c[_0x59b34d(0x1c0)]()!==_0x59b34d(0x1ac)){_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x20fe58===void 0x0||!_0x1e643d[_0x59b34d(0x1d3)](_0x20fe58)){_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x190,_0x59b34d(0x242));return;}if(_0xc3a99e!==0x8&&_0xc3a99e!==0xd){_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x37c11c)){_0x42a05b(_0x48e6d9,0x190);return;}const _0x347e24=_0x37c11c[_0x59b34d(0x27c)]['sec-websocket-protocol'];let _0x30ee95=new Set();if(_0x347e24!==void 0x0)try{_0x30ee95=_0x5c0a07['parse'](_0x347e24);}catch{_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x25cd0e=_0x37c11c['headers'][_0x59b34d(0x261)],_0x20be87={};if(this[_0x59b34d(0x234)][_0x59b34d(0x27d)]&&_0x25cd0e!==void 0x0){const _0x5d7480=new _0x2e2bb7(this[_0x59b34d(0x234)]['perMessageDeflate'],!0x0,this[_0x59b34d(0x234)][_0x59b34d(0x12d)]);try{const _0x271389=_0x109b0e[_0x59b34d(0x1fd)](_0x25cd0e);_0x271389[_0x2e2bb7[_0x59b34d(0x237)]]&&(_0x5d7480[_0x59b34d(0x21e)](_0x271389[_0x2e2bb7['extensionName']]),_0x20be87[_0x2e2bb7[_0x59b34d(0x237)]]=_0x5d7480);}catch{_0x49e8e7(this,_0x37c11c,_0x48e6d9,0x190,_0x59b34d(0x1d2));return;}}if(this[_0x59b34d(0x234)][_0x59b34d(0x2b3)]){const _0x47a309={'origin':_0x37c11c[_0x59b34d(0x27c)][''+(_0xc3a99e===0x8?_0x59b34d(0x29e):_0x59b34d(0x1a3))],'secure':!!(_0x37c11c[_0x59b34d(0x2ba)][_0x59b34d(0x1ed)]||_0x37c11c[_0x59b34d(0x2ba)][_0x59b34d(0x2bb)]),'req':_0x37c11c};if(this[_0x59b34d(0x234)][_0x59b34d(0x2b3)][_0x59b34d(0x1f5)]===0x2){this[_0x59b34d(0x234)][_0x59b34d(0x2b3)](_0x47a309,(_0x2c12b2,_0x518551,_0x2ead84,_0x467422)=>{const _0xbd253e=_0x59b34d;if(!_0x2c12b2)return _0x42a05b(_0x48e6d9,_0x518551||0x191,_0x2ead84,_0x467422);this[_0xbd253e(0x134)](_0x20be87,_0x20fe58,_0x30ee95,_0x37c11c,_0x48e6d9,_0x159198,_0x4e6a7c);});return;}if(!this['options'][_0x59b34d(0x2b3)](_0x47a309))return _0x42a05b(_0x48e6d9,0x191);}this[_0x59b34d(0x134)](_0x20be87,_0x20fe58,_0x30ee95,_0x37c11c,_0x48e6d9,_0x159198,_0x4e6a7c);}[_0x29ff56(0x134)](_0x1db014,_0x1497ca,_0x232865,_0x8df34f,_0x12aac7,_0x5a3c49,_0x58c456){const _0x161761=_0x29ff56;if(!_0x12aac7[_0x161761(0x1c9)]||!_0x12aac7['writable'])return _0x12aac7[_0x161761(0x27f)]();if(_0x12aac7[_0x286853])throw new Error(_0x161761(0x2c9));if(this[_0x161761(0x280)]>_0x984738)return _0x42a05b(_0x12aac7,0x1f7);const _0x54ddf6=[_0x161761(0x1e9),_0x161761(0x10a),_0x161761(0x253),'Sec-WebSocket-Accept:\x20'+_0x5edc5b(_0x161761(0x23b))['update'](_0x1497ca+_0x53139e)[_0x161761(0x26b)](_0x161761(0x131))],_0x24aca8=new this['options'][(_0x161761(0x10d))](null,void 0x0,this['options']);if(_0x232865['size']){const _0x29ada3=this['options']['handleProtocols']?this[_0x161761(0x234)][_0x161761(0x228)](_0x232865,_0x8df34f):_0x232865[_0x161761(0x113)]()[_0x161761(0x132)]()[_0x161761(0x2e7)];_0x29ada3&&(_0x54ddf6[_0x161761(0x1dc)](_0x161761(0x2c8)+_0x29ada3),_0x24aca8[_0x161761(0x1dd)]=_0x29ada3);}if(_0x1db014[_0x2e2bb7[_0x161761(0x237)]]){const _0xbea214=_0x1db014[_0x2e2bb7[_0x161761(0x237)]]['params'],_0x1a11d6=_0x109b0e[_0x161761(0x2af)]({[_0x2e2bb7[_0x161761(0x237)]]:[_0xbea214]});_0x54ddf6[_0x161761(0x1dc)](_0x161761(0x26c)+_0x1a11d6),_0x24aca8[_0x161761(0x1d6)]=_0x1db014;}this['emit'](_0x161761(0x27c),_0x54ddf6,_0x8df34f),_0x12aac7['write'](_0x54ddf6['concat']('\x0d\x0a')[_0x161761(0x2c1)]('\x0d\x0a')),_0x12aac7['removeListener']('error',_0x5975e6),_0x24aca8['setSocket'](_0x12aac7,_0x5a3c49,{'allowSynchronousEvents':this[_0x161761(0x234)][_0x161761(0x2de)],'maxPayload':this[_0x161761(0x234)][_0x161761(0x12d)],'skipUTF8Validation':this[_0x161761(0x234)][_0x161761(0x2cf)]}),this[_0x161761(0x252)]&&(this[_0x161761(0x252)]['add'](_0x24aca8),_0x24aca8['on'](_0x161761(0x1c2),()=>{const _0x1382aa=_0x161761;this['clients']['delete'](_0x24aca8),this[_0x1382aa(0x285)]&&!this[_0x1382aa(0x252)][_0x1382aa(0x286)]&&process[_0x1382aa(0x27e)](_0x461da8,this);})),_0x58c456(_0x24aca8,_0x8df34f);}};__name(_0x481936,_0x29ff56(0x287));let _0x1d04bb=_0x481936;websocketServer=_0x1d04bb;function _0x1e2334(_0x5030ce,_0x4a9f95){const _0x4ab784=_0x29ff56;for(const _0x2682d of Object[_0x4ab784(0x21a)](_0x4a9f95))_0x5030ce['on'](_0x2682d,_0x4a9f95[_0x2682d]);return __name(function(){const _0x2ebbdc=_0x4ab784;for(const _0x93869e of Object[_0x2ebbdc(0x21a)](_0x4a9f95))_0x5030ce[_0x2ebbdc(0x2a6)](_0x93869e,_0x4a9f95[_0x93869e]);},_0x4ab784(0x29b));}__name(_0x1e2334,_0x29ff56(0x22d));function _0x461da8(_0x13bb6e){const _0x3b0112=_0x29ff56;_0x13bb6e[_0x3b0112(0x280)]=_0x31b036,_0x13bb6e[_0x3b0112(0x124)]('close');}__name(_0x461da8,_0x29ff56(0x246));function _0x5975e6(){const _0x3e1cf6=_0x29ff56;this[_0x3e1cf6(0x27f)]();}__name(_0x5975e6,_0x29ff56(0x290));function _0x42a05b(_0x4ba082,_0x10542c,_0x3ee4f2,_0xaabba7){const _0x3a3859=_0x29ff56;_0x3ee4f2=_0x3ee4f2||_0x3c4e87[_0x3a3859(0x2cb)][_0x10542c],_0xaabba7={'Connection':_0x3a3859(0x1c2),'Content-Type':_0x3a3859(0x181),'Content-Length':Buffer[_0x3a3859(0x18d)](_0x3ee4f2),..._0xaabba7},_0x4ba082[_0x3a3859(0x28e)](_0x3a3859(0x1d5),_0x4ba082[_0x3a3859(0x27f)]),_0x4ba082[_0x3a3859(0x17d)]('HTTP/1.1\x20'+_0x10542c+'\x20'+_0x3c4e87[_0x3a3859(0x2cb)][_0x10542c]+'\x0d\x0a'+Object[_0x3a3859(0x21a)](_0xaabba7)[_0x3a3859(0x18a)](_0x25fe1a=>_0x25fe1a+':\x20'+_0xaabba7[_0x25fe1a])[_0x3a3859(0x2c1)]('\x0d\x0a')+_0x3a3859(0x110)+_0x3ee4f2);}__name(_0x42a05b,_0x29ff56(0x12f));function _0x49e8e7(_0x546532,_0x272de7,_0x55ad69,_0x2bafb2,_0x293093){const _0x398945=_0x29ff56;if(_0x546532[_0x398945(0x1b0)](_0x398945(0x259))){const _0x25d59c=new Error(_0x293093);Error[_0x398945(0x202)](_0x25d59c,_0x49e8e7),_0x546532['emit'](_0x398945(0x259),_0x25d59c,_0x55ad69,_0x272de7);}else _0x42a05b(_0x55ad69,_0x2bafb2,_0x293093);}return __name(_0x49e8e7,'abortHandshakeOrEmitwsClientError'),websocketServer;}__name(requireWebsocketServer,'requireWebsocketServer'),requireWebsocketServer();var __defProp$1=Object[_0x54ec85(0x145)],__getOwnPropDesc$1=Object['getOwnPropertyDescriptor'],__decorateClass$1=__name((_0x4a5952,_0x44c4ff,_0x1d0e3f,_0x3c8a46)=>{for(var _0x22dfa9=_0x3c8a46>0x1?void 0x0:_0x3c8a46?__getOwnPropDesc$1(_0x44c4ff,_0x1d0e3f):_0x44c4ff,_0xf47da7=_0x4a5952['length']-0x1,_0x2cf76d;_0xf47da7>=0x0;_0xf47da7--)(_0x2cf76d=_0x4a5952[_0xf47da7])&&(_0x22dfa9=(_0x3c8a46?_0x2cf76d(_0x44c4ff,_0x1d0e3f,_0x22dfa9):_0x2cf76d(_0x22dfa9))||_0x22dfa9);return _0x3c8a46&&_0x22dfa9&&__defProp$1(_0x44c4ff,_0x1d0e3f,_0x22dfa9),_0x22dfa9;},_0x54ec85(0x29a)),__decorateParam$1=__name((_0x451578,_0x3450a0)=>(_0x59848d,_0x3d60e6)=>_0x3450a0(_0x59848d,_0x3d60e6,_0x451578),'__decorateParam$1'),_a;let NodeWebSocketService=(_a=class extends Disposable{constructor(_0x34ad01){const _0x794f7b=_0x54ec85;super(),this[_0x794f7b(0x174)]=_0x34ad01;}['createSocket'](_0x481ec3){const _0x3d7ef7=_0x54ec85;var _0x117b53;const _0x293fb5=(_0x117b53=this[_0x3d7ef7(0x174)][_0x3d7ef7(0x1c5)](COLLABORATION_CLIENT_NODE_CONFIG_KEY))==null?void 0x0:_0x117b53[_0x3d7ef7(0x16d)];try{const _0x1d4260=new WebSocket(_0x481ec3,{'headers':{..._0x293fb5}}),_0x2f2593=new DisposableCollection();return{'URL':_0x481ec3,'close':__name((_0x4746df,_0x56f967)=>{const _0x3598d0=_0x3d7ef7;_0x1d4260[_0x3598d0(0x1c2)](_0x4746df,_0x56f967),_0x2f2593[_0x3598d0(0x14a)]();},'close'),'send':__name(_0x140b0a=>{_0x1d4260['send'](_0x140b0a);},_0x3d7ef7(0x2a4)),'open$':new Observable(_0x2609fe=>{const _0x55370d=_0x3d7ef7,_0xa0525c=__name(_0x43a26d=>_0x2609fe['next'](_0x43a26d),_0x55370d(0x126));_0x1d4260[_0x55370d(0x172)](_0x55370d(0x292),_0xa0525c),_0x2f2593[_0x55370d(0x29f)](toDisposable(()=>_0x1d4260[_0x55370d(0x1b7)](_0x55370d(0x292),_0xa0525c)));})[_0x3d7ef7(0x169)](share()),'close$':new Observable(_0x37e637=>{const _0x51df0d=_0x3d7ef7,_0x3118e4=__name(_0xf717f0=>_0x37e637[_0x51df0d(0x132)](_0xf717f0),'callback');_0x1d4260[_0x51df0d(0x172)](_0x51df0d(0x1c2),_0x3118e4),_0x2f2593[_0x51df0d(0x29f)](toDisposable(()=>_0x1d4260[_0x51df0d(0x1b7)]('close',_0x3118e4)));})[_0x3d7ef7(0x169)](share()),'error$':new Observable(_0x5c637d=>{const _0x35097a=_0x3d7ef7,_0x1bb208=__name(_0x4f5524=>_0x5c637d[_0x35097a(0x132)](_0x4f5524),_0x35097a(0x126));_0x1d4260[_0x35097a(0x172)](_0x35097a(0x209),_0x1bb208),_0x2f2593[_0x35097a(0x29f)](toDisposable(()=>_0x1d4260[_0x35097a(0x1b7)]('error',_0x1bb208)));})[_0x3d7ef7(0x169)](share()),'message$':new Observable(_0x3e9ec1=>{const _0x4a177b=_0x3d7ef7,_0x1ec4f4=__name(_0x4c1f1c=>_0x3e9ec1[_0x4a177b(0x132)](_0x4c1f1c),_0x4a177b(0x126));_0x1d4260[_0x4a177b(0x172)](_0x4a177b(0x170),_0x1ec4f4),_0x2f2593[_0x4a177b(0x29f)](toDisposable(()=>_0x1d4260[_0x4a177b(0x1b7)](_0x4a177b(0x170),_0x1ec4f4)));})[_0x3d7ef7(0x169)](share())};}catch(_0x191cc2){return console[_0x3d7ef7(0x209)](_0x191cc2),null;}}},__name(_a,_0x54ec85(0x226)),_a);NodeWebSocketService=__decorateClass$1([__decorateParam$1(0x0,IConfigService)],NodeWebSocketService);var __defProp2=Object['defineProperty'],__getOwnPropDesc=Object[_0x54ec85(0x11c)],__defNormalProp=__name((_0x23709f,_0x3338e2,_0x1bc7fc)=>_0x3338e2 in _0x23709f?__defProp2(_0x23709f,_0x3338e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bc7fc}):_0x23709f[_0x3338e2]=_0x1bc7fc,_0x54ec85(0x220)),__decorateClass=__name((_0x32bd28,_0x432fba,_0x1cadd2,_0x1f85d4)=>{const _0x1817c2=_0x54ec85;for(var _0x59863e=_0x1f85d4>0x1?void 0x0:_0x1f85d4?__getOwnPropDesc(_0x432fba,_0x1cadd2):_0x432fba,_0x44a70b=_0x32bd28[_0x1817c2(0x1f5)]-0x1,_0x3a5fc5;_0x44a70b>=0x0;_0x44a70b--)(_0x3a5fc5=_0x32bd28[_0x44a70b])&&(_0x59863e=(_0x1f85d4?_0x3a5fc5(_0x432fba,_0x1cadd2,_0x59863e):_0x3a5fc5(_0x59863e))||_0x59863e);return _0x1f85d4&&_0x59863e&&__defProp2(_0x432fba,_0x1cadd2,_0x59863e),_0x59863e;},'__decorateClass'),__decorateParam=__name((_0x582937,_0x508cbf)=>(_0x31ff14,_0x373c17)=>_0x508cbf(_0x31ff14,_0x373c17,_0x582937),_0x54ec85(0x1b2)),__publicField=__name((_0x37aa68,_0x4d7ad9,_0x9d44b6)=>__defNormalProp(_0x37aa68,_0x4d7ad9+'',_0x9d44b6),_0x54ec85(0x19d)),_a2;let UniverCollaborationClientNodePlugin=(_a2=class extends Plugin{constructor(_0x197f55=defaultPluginConfig,_0x9f51a2,_0x9b41cc,_0x41e1d6,_0x43cabe){const _0x22aeea=_0x54ec85;_0x197f55[_0x22aeea(0x16d)]||_0x9f51a2['warn'](_0x22aeea(0x13d)),super(),this['_configService']=_0x9b41cc,this[_0x22aeea(0x13f)]=_0x41e1d6,this[_0x22aeea(0x191)]=_0x43cabe,this[_0x22aeea(0x174)][_0x22aeea(0x125)](COLLABORATION_CLIENT_NODE_CONFIG_KEY,_0x197f55),this[_0x22aeea(0x191)][_0x22aeea(0x262)]({'interceptor':__name((_0x5ef04d,_0x2cd5bc)=>{const _0x368a27=_0x22aeea;var _0x182d7e,_0x551c44,_0x21cb64;const _0x350174=_0x5ef04d[_0x368a27(0x27c)];return(_0x182d7e=_0x197f55['customHeaders'])!=null&&_0x182d7e[_0x368a27(0x2c2)]&&_0x350174[_0x368a27(0x17c)](_0x368a27(0x293),(_0x21cb64=(_0x551c44=_0x197f55[_0x368a27(0x16d)])==null?void 0x0:_0x551c44[_0x368a27(0x2c2)])!=null?_0x21cb64:''),_0x2cd5bc(_0x5ef04d);},_0x22aeea(0x231))});}[_0x54ec85(0x1cf)](){const _0xcfa269=_0x54ec85;this[_0xcfa269(0x2f0)]();}['_registerDependencies'](){const _0x2f7af2=_0x54ec85;registerDependencies(this[_0x2f7af2(0x13f)],[[ISocketService,{'useClass':NodeWebSocketService}]]);}},__name(_a2,_0x54ec85(0x189)),_a2);__publicField(UniverCollaborationClientNodePlugin,_0x54ec85(0x135),_0x54ec85(0x22e)),UniverCollaborationClientNodePlugin=__decorateClass([DependentOn(UniverCollaborationClientPlugin),__decorateParam(0x1,ILogService),__decorateParam(0x2,IConfigService),__decorateParam(0x3,Inject(Injector)),__decorateParam(0x4,Inject(HTTPService))],UniverCollaborationClientNodePlugin);export{UniverCollaborationClientNodePlugin};