@univerjs-pro/collaboration-client-node 0.15.0-insiders.20260108-47c73e3 → 0.15.0-insiders.20260108-7b9120d

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2e07f2=_0x1103;(function(_0x2ddf94,_0x24745f){const _0x27d5ef=_0x1103,_0x276415=_0x2ddf94();while(!![]){try{const _0xd33bc0=-parseInt(_0x27d5ef(0x2da))/0x1*(-parseInt(_0x27d5ef(0x2de))/0x2)+-parseInt(_0x27d5ef(0x25a))/0x3+-parseInt(_0x27d5ef(0x26f))/0x4*(-parseInt(_0x27d5ef(0x244))/0x5)+-parseInt(_0x27d5ef(0x2c0))/0x6*(-parseInt(_0x27d5ef(0x296))/0x7)+-parseInt(_0x27d5ef(0x20f))/0x8*(-parseInt(_0x27d5ef(0x272))/0x9)+-parseInt(_0x27d5ef(0x31f))/0xa+-parseInt(_0x27d5ef(0x31d))/0xb;if(_0xd33bc0===_0x24745f)break;else _0x276415['push'](_0x276415['shift']());}catch(_0x3c5156){_0x276415['push'](_0x276415['shift']());}}}(_0x2b6f,0xee36a));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x491e33,UniverCollaborationClientPlugin as _0x129a19,CollaborationSocketService as _0x2e7c0a}from'@univerjs-pro/collaboration-client';import{Disposable as _0x39f382,DisposableCollection as _0xc40d42,toDisposable as _0x586f45,IConfigService as _0x5b9c5b,DependentOn as _0x56c4e0,Inject as _0x434f05,Injector as _0x8d32e6,Plugin as _0x225e75,registerDependencies as _0x4f0f3d,ILogService as _0x356720}from'@univerjs/core';import{ISocketService as _0x52c648,HTTPService as _0x2ff20f}from'@univerjs/network';import{Observable as _0x2860cc,share as _0x3b5c28}from'rxjs';import _0xfa26c6 from'events';import _0x305c4a from'https';import _0x43bc88 from'http';import _0x3d3387 from'net';function _0x2b6f(){const _0x24908c=['_loop','bufferedAmount','captureStackTrace','reason','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','writable','getPayloadLength64','destroy','registerHTTPInterceptor','_receiver','stream','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','binary','uncork','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','invalid\x20opcode\x20','80843hDmFTP','kListener','sendFrame','join','CONNECTING','nodebuffer','_readyState','toString','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','maxPayload','server_no_context_takeover','_fragments','skipUTF8Validation','WS_ERR_EXPECTED_FIN','jobs','HTTP/1.1\x20','response','WS_ERR_UNEXPECTED_RSV_1','once','kDone','_state','next','concurrencyLimit','Parameter\x20\x22','_removeListeners','_req','verifyClient','apply','url','completeUpgrade','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WS_ERR_INVALID_UTF8','emitClose','listeners','HTTP/1.1\x20101\x20Switching\x20Protocols','getConfig','perMessageDeflate','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','timeout','create','_totalPayloadLength','_allowSynchronousEvents','426RFZGrp','shift','servername','Z_SYNC_FLUSH','_closeTimer','endEmitted','_extensions','isValidUTF8','_no_context_takeover','customHeaders','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','send','http:','objectMode','open','Upgrade:\x20websocket','listenerCount','function','maskBuffer','The\x20\x22','length','sec-websocket-extensions','object','Basic\x20','terminate','protocol','10197MsTFpT','listening','Blob','invalid\x20payload\x20length\x20','368wHZJQE','setTimeout','_final','read','kError','acceptAsServer','push','needDrain','_closeFrameSent','removeAllListeners','13,\x208','Origin','_readableState','extensions','write','dataMessage','emit','Server\x20sent\x20no\x20subprotocol','_opcode','isIP','address','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','kCode','client','password','toLowerCase','slice','addEventListener','\x0d\x0a\x0d\x0a','_closeMessage','getOwnPropertyDescriptor','freeze','normalizeParams','_decompress','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20character\x20at\x20index\x20','drain','WS_ERR_UNEXPECTED_RSV_2_3','extensionName','finished','autoPong','Sec-WebSocket-Protocol:\x20','finishRequest','_skipUTF8Validation','offer','parse','code','MASK\x20must\x20be\x20set','_originalHostOrSocketPath','dispatch','_doCreateSocket','readOnly','invalid\x20UTF-8\x20sequence','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_bufferedBytes','fragments','_buffers','search','_originalSecure','text/html','options','kData','24205610lVggKo','_shouldEmitClose','10063430zanTSr','Unsupported\x20protocol\x20version:\x20','setNoDelay','_max_window_bits','writeHead','Invalid\x20value\x20for\x20parameter\x20\x22','conclude','setSocket','defaultPort','total-length','wasClean','_generateMask','flush','byteLength','reset','isInteger','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','removeListener','The\x20URL\x27s\x20pathname\x20is\x20empty','find','createSocket','pipe','_options','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20Upgrade\x20header','_httpService','writeUInt16BE','username','data','_masked','client_no_context_takeover','getMask','pending','sec-websocket-accept','_payloadLength','socket','isArray','readUInt32BE','has','Cookie','isBuffer','The\x20server\x20is\x20not\x20running','statusCode','replace','haveLength','STATUS_CODES','server_max_window_bits','authorized','defineProperty','kReason','abort','invalid\x20status\x20code\x20','_fragmented','charCodeAt','Invalid\x20HTTP\x20method','getInfo','WS_ERR_INVALID_CLOSE_CODE','default','prototype','allowSynchronousEvents','noServer','getBlobData','shouldHandle','_write','frame','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','threshold','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','isPaused','concat','\x22\x20subprotocol\x20is\x20duplicated','base64','sha1','encrypted','size','host','_protocol','origin','permessage-deflate','_firstFragment','errorEmitted','set','sec-websocket-protocol','_inflate','forEach','OPEN','Invalid\x20WebSocket\x20frame:\x20','kByteLength','call','error','hasOwnProperty','Invalid\x20URL:\x20','_socket','MASK\x20must\x20be\x20clear','sec-websocket-version','followRedirects','onStarting','enqueue','end','_autoPong','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','catch','kIsForOnEventAttribute','WS_ERR_EXPECTED_MASK','pow','string','WS_ERR_INVALID_OPCODE','_maskBuffer','serverMaxWindowBits','onmessage','pong','dequeue','delete','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','resume','readable','_mask','_closeCode','opcode','headers','_closeFrameReceived','createServer','indexOf','\x22:\x20','connect','clientTracking','getData','Unknown\x20parameter\x20\x22','ping','RSV1\x20must\x20be\x20clear','Max\x20payload\x20size\x20exceeded','compress','kMessage','includes','accept','startLoop','__esModule','constructor','digest','update','finish','server','kAborted','destroyed','env','hostname','cookie','_errorEmitted','Z_DEFAULT_WINDOWBITS','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','readyState','allocUnsafe','_injector','split','species','construct','pathname','handleProtocols','_deflate','mask','collaboration-client-node.config','_configService','port','Upgrade','4482992apqTxb','href','bind','callback','message','_sender','https:','_paused','_errored','text/plain','handshakeTimeout','CLOSING','_messageLength','target','toStringTag','from','dispose','_destroy','method','startsWith','clientNoContextTakeover','params','Sec-WebSocket-Extensions:\x20','acceptAsClient','decompress','buffer','clients','_isServer','_registerDependencies','unshift','keys','isServer','_url','client_max_window_bits','serverNoContextTakeover','test','wss:','_queue','status-code','byteOffset','handleUpgrade','Maximum\x20redirects\x20exceeded','\x22\x20must\x20have\x20only\x20a\x20single\x20value','alloc','_originalIpc','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_compressed','Unexpected\x20end\x20of\x20input','sec-websocket-key','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','exports','websocket','connection','5GYglgA','_compress','_writableState','_server','GET','Module','fin','concurrency','listen','_bufferedAmount','type','binaryType','path','arraybuffer','Connection:\x20Upgrade','upgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','isView','_binaryType','blob','kType','setConfig','1067052cVsfpj','consume','\x20(supported\x20versions:\x20','number','onerror','Invalid\x20Sec-WebSocket-Extensions\x20header','CLOSED','ws:','socketPath','WebSocket','setHeader','value','entries','_fin','values','sec-websocket-origin','WS_NO_UTF_8_VALIDATE','createError','auth','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','close','643640PedDOF','zlibInflateOptions','add','27CHPVDa','pause','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','getPayloadLength16','_threshold','nextTick','pluginName','createConnection','_maxPayload','map','redirect','generateMask','Unexpected\x20server\x20response:\x20','authorization','protocolVersion','_redirects','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','removeEventListener','location','clientMaxWindowBits'];_0x2b6f=function(){return _0x24908c;};return _0x2b6f();}import _0x50b5e4 from'tls';import _0x449068 from'crypto';import _0x1fd5aa from'stream';import _0x42dcdf from'url';import _0x190136 from'zlib';import _0x4da62e from'buffer';import{ISnapshotServerService as _0x55ff2a}from'@univerjs-pro/collaboration';const $t=_0x2e07f2(0x20b),Ft={};function Wt(_0x1f2695){const _0x41b1db=_0x2e07f2;return _0x1f2695&&_0x1f2695[_0x41b1db(0x1f3)]&&Object[_0x41b1db(0x359)][_0x41b1db(0x1c5)][_0x41b1db(0x1c3)](_0x1f2695,_0x41b1db(0x358))?_0x1f2695[_0x41b1db(0x358)]:_0x1f2695;}function jt(_0x59b6f7){const _0x27c2f1=_0x2e07f2;if(Object[_0x27c2f1(0x359)][_0x27c2f1(0x1c5)][_0x27c2f1(0x1c3)](_0x59b6f7,_0x27c2f1(0x1f3)))return _0x59b6f7;var _0xbce915=_0x59b6f7[_0x27c2f1(0x358)];if(typeof _0xbce915=='function'){var _0x4ca9e4=function _0x34f3c2(){const _0x29c22f=_0x27c2f1;var _0x59fc82=!0x1;try{_0x59fc82=this instanceof _0x34f3c2;}catch{}return _0x59fc82?Reflect[_0x29c22f(0x206)](_0xbce915,arguments,this[_0x29c22f(0x1f4)]):_0xbce915[_0x29c22f(0x2b1)](this,arguments);};_0x4ca9e4['prototype']=_0xbce915['prototype'];}else _0x4ca9e4={};return Object[_0x27c2f1(0x34f)](_0x4ca9e4,'__esModule',{'value':!0x0}),Object['keys'](_0x59b6f7)['forEach'](function(_0x4d7ac5){const _0xd6097b=_0x27c2f1;var _0x389798=Object[_0xd6097b(0x2fc)](_0x59b6f7,_0x4d7ac5);Object[_0xd6097b(0x34f)](_0x4ca9e4,_0x4d7ac5,_0x389798['get']?_0x389798:{'enumerable':!0x0,'get':function(){return _0x59b6f7[_0x4d7ac5];}});}),_0x4ca9e4;}var me,He;function V(){const _0x59f1b1=_0x2e07f2;if(He)return me;He=0x1;const _0x17dfb6=[_0x59f1b1(0x29b),_0x59f1b1(0x251),_0x59f1b1(0x316)],_0x527577=typeof Blob<'u';return _0x527577&&_0x17dfb6[_0x59f1b1(0x2e4)](_0x59f1b1(0x257)),me={'BINARY_TYPES':_0x17dfb6,'EMPTY_BUFFER':Buffer[_0x59f1b1(0x23a)](0x0),'GUID':_0x59f1b1(0x26d),'hasBlob':_0x527577,'kForOnEventAttribute':Symbol(_0x59f1b1(0x1d1)),'kListener':Symbol(_0x59f1b1(0x297)),'kStatusCode':Symbol(_0x59f1b1(0x235)),'kWebSocket':Symbol(_0x59f1b1(0x242)),'NOOP':()=>{}},me;}var ge,ze;function fe(){const _0x57394f=_0x2e07f2;if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x5d8d05}=V(),_0x2ecdcd=Buffer[Symbol[_0x57394f(0x205)]];function _0x4be020(_0x40e016,_0x5d29d0){const _0x59163c=_0x57394f;if(_0x40e016[_0x59163c(0x2d4)]===0x0)return _0x5d8d05;if(_0x40e016[_0x59163c(0x2d4)]===0x1)return _0x40e016[0x0];const _0x58f447=Buffer[_0x59163c(0x202)](_0x5d29d0);let _0x39b815=0x0;for(let _0xaad853=0x0;_0xaad853<_0x40e016[_0x59163c(0x2d4)];_0xaad853++){const _0x426520=_0x40e016[_0xaad853];_0x58f447[_0x59163c(0x1bc)](_0x426520,_0x39b815),_0x39b815+=_0x426520[_0x59163c(0x2d4)];}return _0x39b815<_0x5d29d0?new _0x2ecdcd(_0x58f447['buffer'],_0x58f447[_0x59163c(0x236)],_0x39b815):_0x58f447;}function _0x3e2da3(_0x43567b,_0x322ca3,_0x3396f8,_0xe96af6,_0x649f03){for(let _0x466cf6=0x0;_0x466cf6<_0x649f03;_0x466cf6++)_0x3396f8[_0xe96af6+_0x466cf6]=_0x43567b[_0x466cf6]^_0x322ca3[_0x466cf6&0x3];}function _0x37dca6(_0x393587,_0x674437){const _0x4b0960=_0x57394f;for(let _0x18ac93=0x0;_0x18ac93<_0x393587[_0x4b0960(0x2d4)];_0x18ac93++)_0x393587[_0x18ac93]^=_0x674437[_0x18ac93&0x3];}function _0x4f50fc(_0x183cf6){const _0x57f7d0=_0x57394f;return _0x183cf6[_0x57f7d0(0x2d4)]===_0x183cf6[_0x57f7d0(0x228)]['byteLength']?_0x183cf6['buffer']:_0x183cf6[_0x57f7d0(0x228)][_0x57f7d0(0x2f8)](_0x183cf6[_0x57f7d0(0x236)],_0x183cf6['byteOffset']+_0x183cf6[_0x57f7d0(0x2d4)]);}function _0x4ff25b(_0x455e4e){const _0xe7b0d=_0x57394f;if(_0x4ff25b['readOnly']=!0x0,Buffer[_0xe7b0d(0x347)](_0x455e4e))return _0x455e4e;let _0x162b1a;return _0x455e4e instanceof ArrayBuffer?_0x162b1a=new _0x2ecdcd(_0x455e4e):ArrayBuffer[_0xe7b0d(0x255)](_0x455e4e)?_0x162b1a=new _0x2ecdcd(_0x455e4e[_0xe7b0d(0x228)],_0x455e4e['byteOffset'],_0x455e4e[_0xe7b0d(0x32c)]):(_0x162b1a=Buffer['from'](_0x455e4e),_0x4ff25b[_0xe7b0d(0x312)]=!0x1),_0x162b1a;}return ge={'concat':_0x4be020,'mask':_0x3e2da3,'toArrayBuffer':_0x4f50fc,'toBuffer':_0x4ff25b,'unmask':_0x37dca6},ge;}var ye,Ye;function Gt(){const _0x38f027=_0x2e07f2;if(Ye)return ye;Ye=0x1;const _0x3edd67=Symbol(_0x38f027(0x2a9)),_0x12e322=Symbol('kRun');class _0x2ab4db{constructor(_0x49ada0){const _0x315602=_0x38f027;this[_0x3edd67]=()=>{this['pending']--,this[_0x12e322]();},this[_0x315602(0x24b)]=_0x49ada0||0x1/0x0,this[_0x315602(0x2a4)]=[],this[_0x315602(0x33f)]=0x0;}[_0x38f027(0x271)](_0x18f90d){const _0x2da6d7=_0x38f027;this[_0x2da6d7(0x2a4)][_0x2da6d7(0x2e4)](_0x18f90d),this[_0x12e322]();}[_0x12e322](){const _0x8dc64c=_0x38f027;if(this[_0x8dc64c(0x33f)]!==this[_0x8dc64c(0x24b)]&&this[_0x8dc64c(0x2a4)][_0x8dc64c(0x2d4)]){const _0x479a0f=this[_0x8dc64c(0x2a4)]['shift']();this['pending']++,_0x479a0f(this[_0x3edd67]);}}}return ye=_0x2ab4db,ye;}var ve,Ke;function ce(){const _0x2a8012=_0x2e07f2;if(Ke)return ve;Ke=0x1;const _0x2149e4=_0x190136,_0x6c1b7c=fe(),_0x468d78=Gt(),{kStatusCode:_0x25bba7}=V(),_0x2f465d=Buffer[Symbol[_0x2a8012(0x205)]],_0x191e16=Buffer[_0x2a8012(0x21e)]([0x0,0x0,0xff,0xff]),_0x48d7bb=Symbol(_0x2a8012(0x1b9)),_0x2fd30a=Symbol(_0x2a8012(0x328)),_0x45395f=Symbol(_0x2a8012(0x212)),_0x50b304=Symbol('buffers'),_0x16cf0d=Symbol(_0x2a8012(0x1c4));let _0x4cd200;class _0x3c81ed{constructor(_0x49f544,_0x1fe164,_0x48b2de){const _0x25cf26=_0x2a8012;if(this[_0x25cf26(0x27a)]=_0x48b2de|0x0,this[_0x25cf26(0x335)]=_0x49f544||{},this['_threshold']=this[_0x25cf26(0x335)][_0x25cf26(0x361)]!==void 0x0?this[_0x25cf26(0x335)][_0x25cf26(0x361)]:0x400,this[_0x25cf26(0x22a)]=!!_0x1fe164,this[_0x25cf26(0x209)]=null,this['_inflate']=null,this[_0x25cf26(0x224)]=null,!_0x4cd200){const _0x5b57a9=this[_0x25cf26(0x335)][_0x25cf26(0x2ac)]!==void 0x0?this[_0x25cf26(0x335)][_0x25cf26(0x2ac)]:0xa;_0x4cd200=new _0x468d78(_0x5b57a9);}}static get[_0x2a8012(0x305)](){return'permessage-deflate';}[_0x2a8012(0x30b)](){const _0x55aed0=_0x2a8012,_0x495afe={};return this[_0x55aed0(0x335)][_0x55aed0(0x231)]&&(_0x495afe['server_no_context_takeover']=!0x0),this[_0x55aed0(0x335)][_0x55aed0(0x223)]&&(_0x495afe['client_no_context_takeover']=!0x0),this['_options'][_0x55aed0(0x1d7)]&&(_0x495afe[_0x55aed0(0x34d)]=this[_0x55aed0(0x335)]['serverMaxWindowBits']),this[_0x55aed0(0x335)][_0x55aed0(0x285)]?_0x495afe['client_max_window_bits']=this[_0x55aed0(0x335)]['clientMaxWindowBits']:this[_0x55aed0(0x335)][_0x55aed0(0x285)]==null&&(_0x495afe[_0x55aed0(0x230)]=!0x0),_0x495afe;}[_0x2a8012(0x1f1)](_0x550a1a){const _0x2f8514=_0x2a8012;return _0x550a1a=this[_0x2f8514(0x2fe)](_0x550a1a),this[_0x2f8514(0x224)]=this[_0x2f8514(0x22a)]?this[_0x2f8514(0x2e3)](_0x550a1a):this['acceptAsClient'](_0x550a1a),this[_0x2f8514(0x224)];}[_0x2a8012(0x300)](){const _0x2827d1=_0x2a8012;if(this[_0x2827d1(0x1be)]&&(this[_0x2827d1(0x1be)]['close'](),this['_inflate']=null),this[_0x2827d1(0x209)]){const _0x28f5e7=this[_0x2827d1(0x209)][_0x45395f];this[_0x2827d1(0x209)]['close'](),this[_0x2827d1(0x209)]=null,_0x28f5e7&&_0x28f5e7(new Error(_0x2827d1(0x291)));}}['acceptAsServer'](_0x550f35){const _0x3e5fae=_0x2a8012,_0x962908=this[_0x3e5fae(0x335)],_0x25b7da=_0x550f35[_0x3e5fae(0x332)](_0x267496=>!(_0x962908[_0x3e5fae(0x231)]===!0x1&&_0x267496['server_no_context_takeover']||_0x267496[_0x3e5fae(0x34d)]&&(_0x962908[_0x3e5fae(0x1d7)]===!0x1||typeof _0x962908[_0x3e5fae(0x1d7)]==_0x3e5fae(0x25d)&&_0x962908[_0x3e5fae(0x1d7)]>_0x267496['server_max_window_bits'])||typeof _0x962908[_0x3e5fae(0x285)]=='number'&&!_0x267496[_0x3e5fae(0x230)]));if(!_0x25b7da)throw new Error(_0x3e5fae(0x29e));return _0x962908['serverNoContextTakeover']&&(_0x25b7da[_0x3e5fae(0x2a0)]=!0x0),_0x962908[_0x3e5fae(0x223)]&&(_0x25b7da['client_no_context_takeover']=!0x0),typeof _0x962908[_0x3e5fae(0x1d7)]==_0x3e5fae(0x25d)&&(_0x25b7da[_0x3e5fae(0x34d)]=_0x962908[_0x3e5fae(0x1d7)]),typeof _0x962908['clientMaxWindowBits']==_0x3e5fae(0x25d)?_0x25b7da[_0x3e5fae(0x230)]=_0x962908[_0x3e5fae(0x285)]:(_0x25b7da[_0x3e5fae(0x230)]===!0x0||_0x962908[_0x3e5fae(0x285)]===!0x1)&&delete _0x25b7da[_0x3e5fae(0x230)],_0x25b7da;}[_0x2a8012(0x226)](_0x24f415){const _0xaaeb3=_0x2a8012,_0x277d63=_0x24f415[0x0];if(this[_0xaaeb3(0x335)][_0xaaeb3(0x223)]===!0x1&&_0x277d63[_0xaaeb3(0x33d)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x277d63[_0xaaeb3(0x230)])typeof this['_options'][_0xaaeb3(0x285)]=='number'&&(_0x277d63[_0xaaeb3(0x230)]=this[_0xaaeb3(0x335)][_0xaaeb3(0x285)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0xaaeb3(0x335)][_0xaaeb3(0x285)]==_0xaaeb3(0x25d)&&_0x277d63[_0xaaeb3(0x230)]>this[_0xaaeb3(0x335)][_0xaaeb3(0x285)])throw new Error(_0xaaeb3(0x282));}return _0x277d63;}[_0x2a8012(0x2fe)](_0x197142){const _0x145ee6=_0x2a8012;return _0x197142[_0x145ee6(0x1bf)](_0x34fe81=>{const _0x4afeff=_0x145ee6;Object[_0x4afeff(0x22d)](_0x34fe81)[_0x4afeff(0x1bf)](_0x5a45c2=>{const _0x36baf7=_0x4afeff;let _0x5bc18d=_0x34fe81[_0x5a45c2];if(_0x5bc18d[_0x36baf7(0x2d4)]>0x1)throw new Error(_0x36baf7(0x2ad)+_0x5a45c2+_0x36baf7(0x239));if(_0x5bc18d=_0x5bc18d[0x0],_0x5a45c2===_0x36baf7(0x230)){if(_0x5bc18d!==!0x0){const _0x31e9d9=+_0x5bc18d;if(!Number[_0x36baf7(0x32e)](_0x31e9d9)||_0x31e9d9<0x8||_0x31e9d9>0xf)throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+'\x22:\x20'+_0x5bc18d);_0x5bc18d=_0x31e9d9;}else{if(!this[_0x36baf7(0x22a)])throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);}}else{if(_0x5a45c2===_0x36baf7(0x34d)){const _0x2cbc6a=+_0x5bc18d;if(!Number['isInteger'](_0x2cbc6a)||_0x2cbc6a<0x8||_0x2cbc6a>0xf)throw new TypeError(_0x36baf7(0x324)+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);_0x5bc18d=_0x2cbc6a;}else{if(_0x5a45c2===_0x36baf7(0x33d)||_0x5a45c2==='server_no_context_takeover'){if(_0x5bc18d!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5a45c2+_0x36baf7(0x1e6)+_0x5bc18d);}else throw new Error(_0x36baf7(0x1ea)+_0x5a45c2+'\x22');}}_0x34fe81[_0x5a45c2]=_0x5bc18d;});}),_0x197142;}[_0x2a8012(0x227)](_0x360c07,_0x3a611a,_0x4efcae){const _0x3c0bcc=_0x2a8012;_0x4cd200[_0x3c0bcc(0x271)](_0x57231b=>{const _0x68739=_0x3c0bcc;this[_0x68739(0x2ff)](_0x360c07,_0x3a611a,(_0x273a5e,_0x20d9cd)=>{_0x57231b(),_0x4efcae(_0x273a5e,_0x20d9cd);});});}[_0x2a8012(0x1ee)](_0x1e25ae,_0x12793b,_0x1b7b7f){const _0x4372c5=_0x2a8012;_0x4cd200[_0x4372c5(0x271)](_0x325760=>{const _0x12670f=_0x4372c5;this[_0x12670f(0x245)](_0x1e25ae,_0x12793b,(_0x2c90a8,_0x190c48)=>{_0x325760(),_0x1b7b7f(_0x2c90a8,_0x190c48);});});}['_decompress'](_0x367882,_0xac31c3,_0x5b84b6){const _0x3c27f3=_0x2a8012,_0x38ff3b=this[_0x3c27f3(0x22a)]?'client':_0x3c27f3(0x1f8);if(!this[_0x3c27f3(0x1be)]){const _0x364836=_0x38ff3b+_0x3c27f3(0x322),_0x87ca8f=typeof this['params'][_0x364836]!=_0x3c27f3(0x25d)?_0x2149e4[_0x3c27f3(0x1ff)]:this[_0x3c27f3(0x224)][_0x364836];this[_0x3c27f3(0x1be)]=_0x2149e4['createInflateRaw']({...this[_0x3c27f3(0x335)][_0x3c27f3(0x270)],'windowBits':_0x87ca8f}),this[_0x3c27f3(0x1be)][_0x48d7bb]=this,this['_inflate'][_0x2fd30a]=0x0,this[_0x3c27f3(0x1be)][_0x50b304]=[],this[_0x3c27f3(0x1be)]['on'](_0x3c27f3(0x1c4),_0xf67878),this[_0x3c27f3(0x1be)]['on'](_0x3c27f3(0x33b),_0x4a4bd9);}this[_0x3c27f3(0x1be)][_0x45395f]=_0x5b84b6,this['_inflate']['write'](_0x367882),_0xac31c3&&this[_0x3c27f3(0x1be)][_0x3c27f3(0x2ec)](_0x191e16),this[_0x3c27f3(0x1be)][_0x3c27f3(0x32b)](()=>{const _0xe90d13=_0x3c27f3,_0x479564=this[_0xe90d13(0x1be)][_0x16cf0d];if(_0x479564){this['_inflate'][_0xe90d13(0x26e)](),this[_0xe90d13(0x1be)]=null,_0x5b84b6(_0x479564);return;}const _0x4626a4=_0x6c1b7c['concat'](this[_0xe90d13(0x1be)][_0x50b304],this[_0xe90d13(0x1be)][_0x2fd30a]);this[_0xe90d13(0x1be)][_0xe90d13(0x2ea)]['endEmitted']?(this[_0xe90d13(0x1be)][_0xe90d13(0x26e)](),this[_0xe90d13(0x1be)]=null):(this['_inflate'][_0x2fd30a]=0x0,this['_inflate'][_0x50b304]=[],_0xac31c3&&this[_0xe90d13(0x224)][_0x38ff3b+_0xe90d13(0x2c8)]&&this[_0xe90d13(0x1be)][_0xe90d13(0x32d)]()),_0x5b84b6(null,_0x4626a4);});}[_0x2a8012(0x245)](_0x27b964,_0x2e0b89,_0x2335cb){const _0x15baeb=_0x2a8012,_0x1cf6a6=this[_0x15baeb(0x22a)]?_0x15baeb(0x1f8):_0x15baeb(0x2f5);if(!this['_deflate']){const _0x5da0ea=_0x1cf6a6+_0x15baeb(0x322),_0xd1d920=typeof this[_0x15baeb(0x224)][_0x5da0ea]!='number'?_0x2149e4[_0x15baeb(0x1ff)]:this[_0x15baeb(0x224)][_0x5da0ea];this[_0x15baeb(0x209)]=_0x2149e4['createDeflateRaw']({...this['_options']['zlibDeflateOptions'],'windowBits':_0xd1d920}),this[_0x15baeb(0x209)][_0x2fd30a]=0x0,this[_0x15baeb(0x209)][_0x50b304]=[],this[_0x15baeb(0x209)]['on'](_0x15baeb(0x33b),_0x5440a0);}this[_0x15baeb(0x209)][_0x45395f]=_0x2335cb,this[_0x15baeb(0x209)]['write'](_0x27b964),this[_0x15baeb(0x209)]['flush'](_0x2149e4[_0x15baeb(0x2c3)],()=>{const _0x2892c8=_0x15baeb;if(!this[_0x2892c8(0x209)])return;let _0x4635ea=_0x6c1b7c[_0x2892c8(0x1b0)](this[_0x2892c8(0x209)][_0x50b304],this[_0x2892c8(0x209)][_0x2fd30a]);_0x2e0b89&&(_0x4635ea=new _0x2f465d(_0x4635ea[_0x2892c8(0x228)],_0x4635ea[_0x2892c8(0x236)],_0x4635ea[_0x2892c8(0x2d4)]-0x4)),this[_0x2892c8(0x209)][_0x45395f]=null,this[_0x2892c8(0x209)][_0x2fd30a]=0x0,this[_0x2892c8(0x209)][_0x50b304]=[],_0x2e0b89&&this[_0x2892c8(0x224)][_0x1cf6a6+_0x2892c8(0x2c8)]&&this[_0x2892c8(0x209)][_0x2892c8(0x32d)](),_0x2335cb(null,_0x4635ea);});}}ve=_0x3c81ed;function _0x5440a0(_0x582aa5){const _0x4109e4=_0x2a8012;this[_0x50b304][_0x4109e4(0x2e4)](_0x582aa5),this[_0x2fd30a]+=_0x582aa5[_0x4109e4(0x2d4)];}function _0x4a4bd9(_0x4aa046){const _0x260b20=_0x2a8012;if(this[_0x2fd30a]+=_0x4aa046[_0x260b20(0x2d4)],this[_0x48d7bb][_0x260b20(0x27a)]<0x1||this[_0x2fd30a]<=this[_0x48d7bb][_0x260b20(0x27a)]){this[_0x50b304][_0x260b20(0x2e4)](_0x4aa046);return;}this[_0x16cf0d]=new RangeError(_0x260b20(0x1ed)),this[_0x16cf0d][_0x260b20(0x30d)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x16cf0d][_0x25bba7]=0x3f1,this['removeListener'](_0x260b20(0x33b),_0x4a4bd9),this['reset']();}function _0xf67878(_0x22762b){const _0x334736=_0x2a8012;if(this[_0x48d7bb][_0x334736(0x1be)]=null,this[_0x16cf0d]){this[_0x45395f](this[_0x16cf0d]);return;}_0x22762b[_0x25bba7]=0x3ef,this[_0x45395f](_0x22762b);}return ve;}var te={'exports':{}};const Vt={},qt=Object[_0x2e07f2(0x2fd)](Object[_0x2e07f2(0x34f)]({'__proto__':null,'default':Vt},Symbol['toStringTag'],{'value':_0x2e07f2(0x249)})),Ht=jt(qt);var Xe;function ie(){const _0x3790fa=_0x2e07f2;if(Xe)return te[_0x3790fa(0x241)];Xe=0x1;const {isUtf8:_0x258e80}=_0x4da62e,{hasBlob:_0x39abe2}=V(),_0x4a45b0=[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 _0x45c90e(_0x430812){return _0x430812>=0x3e8&&_0x430812<=0x3f6&&_0x430812!==0x3ec&&_0x430812!==0x3ed&&_0x430812!==0x3ee||_0x430812>=0xbb8&&_0x430812<=0x1387;}function _0x2cf5ea(_0x5c86c8){const _0x3a7b1e=_0x3790fa,_0x55a930=_0x5c86c8[_0x3a7b1e(0x2d4)];let _0x53b554=0x0;for(;_0x53b554<_0x55a930;)if((_0x5c86c8[_0x53b554]&0x80)===0x0)_0x53b554++;else{if((_0x5c86c8[_0x53b554]&0xe0)===0xc0){if(_0x53b554+0x1===_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554]&0xfe)===0xc0)return!0x1;_0x53b554+=0x2;}else{if((_0x5c86c8[_0x53b554]&0xf0)===0xe0){if(_0x53b554+0x2>=_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x2]&0xc0)!==0x80||_0x5c86c8[_0x53b554]===0xe0&&(_0x5c86c8[_0x53b554+0x1]&0xe0)===0x80||_0x5c86c8[_0x53b554]===0xed&&(_0x5c86c8[_0x53b554+0x1]&0xe0)===0xa0)return!0x1;_0x53b554+=0x3;}else{if((_0x5c86c8[_0x53b554]&0xf8)===0xf0){if(_0x53b554+0x3>=_0x55a930||(_0x5c86c8[_0x53b554+0x1]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x2]&0xc0)!==0x80||(_0x5c86c8[_0x53b554+0x3]&0xc0)!==0x80||_0x5c86c8[_0x53b554]===0xf0&&(_0x5c86c8[_0x53b554+0x1]&0xf0)===0x80||_0x5c86c8[_0x53b554]===0xf4&&_0x5c86c8[_0x53b554+0x1]>0x8f||_0x5c86c8[_0x53b554]>0xf4)return!0x1;_0x53b554+=0x4;}else return!0x1;}}}return!0x0;}function _0x34380c(_0x35fca4){const _0x424578=_0x3790fa;return _0x39abe2&&typeof _0x35fca4=='object'&&typeof _0x35fca4['arrayBuffer']==_0x424578(0x2d1)&&typeof _0x35fca4[_0x424578(0x24e)]=='string'&&typeof _0x35fca4[_0x424578(0x290)]==_0x424578(0x2d1)&&(_0x35fca4[Symbol[_0x424578(0x21d)]]===_0x424578(0x2dc)||_0x35fca4[Symbol[_0x424578(0x21d)]]==='File');}if(te[_0x3790fa(0x241)]={'isBlob':_0x34380c,'isValidStatusCode':_0x45c90e,'isValidUTF8':_0x2cf5ea,'tokenChars':_0x4a45b0},_0x258e80)te['exports'][_0x3790fa(0x2c7)]=function(_0x5e35af){const _0x3d2729=_0x3790fa;return _0x5e35af[_0x3d2729(0x2d4)]<0x18?_0x2cf5ea(_0x5e35af):_0x258e80(_0x5e35af);};else{if(!process[_0x3790fa(0x1fb)][_0x3790fa(0x26a)])try{const _0xfa89f6=Ht;te[_0x3790fa(0x241)]['isValidUTF8']=function(_0x220b86){const _0xfeb038=_0x3790fa;return _0x220b86[_0xfeb038(0x2d4)]<0x20?_0x2cf5ea(_0x220b86):_0xfa89f6(_0x220b86);};}catch{}}return te['exports'];}var Se,Ze;function ht(){const _0x92cc8a=_0x2e07f2;if(Ze)return Se;Ze=0x1;const {Writable:_0x4cfe04}=_0x1fd5aa,_0x126cbb=ce(),{BINARY_TYPES:_0x580133,EMPTY_BUFFER:_0xa17738,kStatusCode:_0x26ef9f,kWebSocket:_0x338411}=V(),{concat:_0x5c06c2,toArrayBuffer:_0x4e3c4a,unmask:_0x5b3acf}=fe(),{isValidStatusCode:_0x67916a,isValidUTF8:_0x121eca}=ie(),_0xc99029=Buffer[Symbol[_0x92cc8a(0x205)]],_0x2cb269=0x0,_0x23a836=0x1,_0x15bf24=0x2,_0x543076=0x3,_0x3e3e3d=0x4,_0x54c084=0x5,_0x26652d=0x6;class _0x51f116 extends _0x4cfe04{constructor(_0x573ff0={}){const _0x35ea46=_0x92cc8a;super(),this[_0x35ea46(0x2bf)]=_0x573ff0[_0x35ea46(0x35a)]!==void 0x0?_0x573ff0[_0x35ea46(0x35a)]:!0x0,this[_0x35ea46(0x256)]=_0x573ff0[_0x35ea46(0x24f)]||_0x580133[0x0],this[_0x35ea46(0x2c6)]=_0x573ff0['extensions']||{},this[_0x35ea46(0x22a)]=!!_0x573ff0[_0x35ea46(0x22e)],this[_0x35ea46(0x27a)]=_0x573ff0[_0x35ea46(0x29f)]|0x0,this['_skipUTF8Validation']=!!_0x573ff0[_0x35ea46(0x2a2)],this[_0x338411]=void 0x0,this[_0x35ea46(0x315)]=0x0,this['_buffers']=[],this[_0x35ea46(0x23d)]=!0x1,this[_0x35ea46(0x341)]=0x0,this[_0x35ea46(0x1df)]=void 0x0,this[_0x35ea46(0x353)]=0x0,this[_0x35ea46(0x33c)]=!0x1,this[_0x35ea46(0x267)]=!0x1,this[_0x35ea46(0x2f0)]=0x0,this[_0x35ea46(0x2be)]=0x0,this[_0x35ea46(0x21b)]=0x0,this[_0x35ea46(0x2a1)]=[],this['_errored']=!0x1,this[_0x35ea46(0x286)]=!0x1,this[_0x35ea46(0x2aa)]=_0x2cb269;}[_0x92cc8a(0x35e)](_0x4d1b05,_0x16d706,_0x4327fc){const _0x2860b6=_0x92cc8a;if(this[_0x2860b6(0x2f0)]===0x8&&this['_state']==_0x2cb269)return _0x4327fc();this[_0x2860b6(0x315)]+=_0x4d1b05[_0x2860b6(0x2d4)],this['_buffers'][_0x2860b6(0x2e4)](_0x4d1b05),this[_0x2860b6(0x1f2)](_0x4327fc);}[_0x92cc8a(0x25b)](_0x2e916c){const _0x383d54=_0x92cc8a;if(this[_0x383d54(0x315)]-=_0x2e916c,_0x2e916c===this[_0x383d54(0x317)][0x0][_0x383d54(0x2d4)])return this[_0x383d54(0x317)][_0x383d54(0x2c1)]();if(_0x2e916c<this['_buffers'][0x0][_0x383d54(0x2d4)]){const _0x41b107=this[_0x383d54(0x317)][0x0];return this[_0x383d54(0x317)][0x0]=new _0xc99029(_0x41b107['buffer'],_0x41b107[_0x383d54(0x236)]+_0x2e916c,_0x41b107[_0x383d54(0x2d4)]-_0x2e916c),new _0xc99029(_0x41b107[_0x383d54(0x228)],_0x41b107[_0x383d54(0x236)],_0x2e916c);}const _0x1cc851=Buffer[_0x383d54(0x202)](_0x2e916c);do{const _0x246e1f=this['_buffers'][0x0],_0x3322cc=_0x1cc851[_0x383d54(0x2d4)]-_0x2e916c;_0x2e916c>=_0x246e1f['length']?_0x1cc851[_0x383d54(0x1bc)](this[_0x383d54(0x317)]['shift'](),_0x3322cc):(_0x1cc851['set'](new Uint8Array(_0x246e1f['buffer'],_0x246e1f[_0x383d54(0x236)],_0x2e916c),_0x3322cc),this[_0x383d54(0x317)][0x0]=new _0xc99029(_0x246e1f[_0x383d54(0x228)],_0x246e1f[_0x383d54(0x236)]+_0x2e916c,_0x246e1f['length']-_0x2e916c)),_0x2e916c-=_0x246e1f[_0x383d54(0x2d4)];}while(_0x2e916c>0x0);return _0x1cc851;}[_0x92cc8a(0x1f2)](_0x404bf2){const _0xd13a2e=_0x92cc8a;this[_0xd13a2e(0x286)]=!0x0;do switch(this[_0xd13a2e(0x2aa)]){case _0x2cb269:this[_0xd13a2e(0x356)](_0x404bf2);break;case _0x23a836:this[_0xd13a2e(0x275)](_0x404bf2);break;case _0x15bf24:this[_0xd13a2e(0x28c)](_0x404bf2);break;case _0x543076:this[_0xd13a2e(0x33e)]();break;case _0x3e3e3d:this[_0xd13a2e(0x1e9)](_0x404bf2);break;case _0x54c084:case _0x26652d:this[_0xd13a2e(0x286)]=!0x1;return;}while(this[_0xd13a2e(0x286)]);this[_0xd13a2e(0x217)]||_0x404bf2();}[_0x92cc8a(0x356)](_0x33fabd){const _0x3941f4=_0x92cc8a;if(this[_0x3941f4(0x315)]<0x2){this['_loop']=!0x1;return;}const _0x1563d4=this['consume'](0x2);if((_0x1563d4[0x0]&0x30)!==0x0){const _0x5f5245=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x3941f4(0x304));_0x33fabd(_0x5f5245);return;}const _0xf0c596=(_0x1563d4[0x0]&0x40)===0x40;if(_0xf0c596&&!this['_extensions'][_0x126cbb[_0x3941f4(0x305)]]){const _0x3390e8=this[_0x3941f4(0x26b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3941f4(0x2a7));_0x33fabd(_0x3390e8);return;}if(this[_0x3941f4(0x267)]=(_0x1563d4[0x0]&0x80)===0x80,this['_opcode']=_0x1563d4[0x0]&0xf,this[_0x3941f4(0x341)]=_0x1563d4[0x1]&0x7f,this['_opcode']===0x0){if(_0xf0c596){const _0x526554=this['createError'](RangeError,_0x3941f4(0x1ec),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x33fabd(_0x526554);return;}if(!this[_0x3941f4(0x353)]){const _0x82e5ae=this[_0x3941f4(0x26b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x82e5ae);return;}this[_0x3941f4(0x2f0)]=this[_0x3941f4(0x353)];}else{if(this[_0x3941f4(0x2f0)]===0x1||this['_opcode']===0x2){if(this[_0x3941f4(0x353)]){const _0x1dd10e=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x295)+this[_0x3941f4(0x2f0)],!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x1dd10e);return;}this[_0x3941f4(0x23d)]=_0xf0c596;}else{if(this[_0x3941f4(0x2f0)]>0x7&&this[_0x3941f4(0x2f0)]<0xb){if(!this['_fin']){const _0x42aeac=this[_0x3941f4(0x26b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3941f4(0x2a3));_0x33fabd(_0x42aeac);return;}if(_0xf0c596){const _0x3ed58d=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x1ec),!0x0,0x3ea,_0x3941f4(0x2a7));_0x33fabd(_0x3ed58d);return;}if(this[_0x3941f4(0x341)]>0x7d||this[_0x3941f4(0x2f0)]===0x8&&this['_payloadLength']===0x1){const _0x315a32=this['createError'](RangeError,_0x3941f4(0x2dd)+this[_0x3941f4(0x341)],!0x0,0x3ea,_0x3941f4(0x294));_0x33fabd(_0x315a32);return;}}else{const _0x1f4741=this['createError'](RangeError,_0x3941f4(0x295)+this[_0x3941f4(0x2f0)],!0x0,0x3ea,_0x3941f4(0x1d5));_0x33fabd(_0x1f4741);return;}}}if(!this[_0x3941f4(0x267)]&&!this[_0x3941f4(0x353)]&&(this[_0x3941f4(0x353)]=this[_0x3941f4(0x2f0)]),this['_masked']=(_0x1563d4[0x1]&0x80)===0x80,this[_0x3941f4(0x22a)]){if(!this[_0x3941f4(0x33c)]){const _0x56ed02=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x30e),!0x0,0x3ea,_0x3941f4(0x1d2));_0x33fabd(_0x56ed02);return;}}else{if(this[_0x3941f4(0x33c)]){const _0xc23929=this[_0x3941f4(0x26b)](RangeError,_0x3941f4(0x1c8),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x33fabd(_0xc23929);return;}}this[_0x3941f4(0x341)]===0x7e?this[_0x3941f4(0x2aa)]=_0x23a836:this[_0x3941f4(0x341)]===0x7f?this[_0x3941f4(0x2aa)]=_0x15bf24:this[_0x3941f4(0x34b)](_0x33fabd);}[_0x92cc8a(0x275)](_0x4783e2){const _0x894fb9=_0x92cc8a;if(this['_bufferedBytes']<0x2){this[_0x894fb9(0x286)]=!0x1;return;}this[_0x894fb9(0x341)]=this['consume'](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4783e2);}[_0x92cc8a(0x28c)](_0x3033e7){const _0x3d7a90=_0x92cc8a;if(this[_0x3d7a90(0x315)]<0x8){this[_0x3d7a90(0x286)]=!0x1;return;}const _0x1b4599=this[_0x3d7a90(0x25b)](0x8),_0x2bb717=_0x1b4599[_0x3d7a90(0x344)](0x0);if(_0x2bb717>Math[_0x3d7a90(0x1d3)](0x2,0x15)-0x1){const _0x579146=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3d7a90(0x200));_0x3033e7(_0x579146);return;}this[_0x3d7a90(0x341)]=_0x2bb717*Math[_0x3d7a90(0x1d3)](0x2,0x20)+_0x1b4599[_0x3d7a90(0x344)](0x4),this[_0x3d7a90(0x34b)](_0x3033e7);}[_0x92cc8a(0x34b)](_0x4913b8){const _0x167911=_0x92cc8a;if(this[_0x167911(0x341)]&&this[_0x167911(0x2f0)]<0x8&&(this[_0x167911(0x2be)]+=this[_0x167911(0x341)],this['_totalPayloadLength']>this[_0x167911(0x27a)]&&this[_0x167911(0x27a)]>0x0)){const _0x47cca4=this[_0x167911(0x26b)](RangeError,_0x167911(0x1ed),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4913b8(_0x47cca4);return;}this[_0x167911(0x33c)]?this[_0x167911(0x2aa)]=_0x543076:this[_0x167911(0x2aa)]=_0x3e3e3d;}['getMask'](){const _0x3d6f7b=_0x92cc8a;if(this[_0x3d6f7b(0x315)]<0x4){this[_0x3d6f7b(0x286)]=!0x1;return;}this[_0x3d6f7b(0x1df)]=this[_0x3d6f7b(0x25b)](0x4),this[_0x3d6f7b(0x2aa)]=_0x3e3e3d;}['getData'](_0xdc5261){const _0x4690a9=_0x92cc8a;let _0x27a2d5=_0xa17738;if(this[_0x4690a9(0x341)]){if(this[_0x4690a9(0x315)]<this[_0x4690a9(0x341)]){this[_0x4690a9(0x286)]=!0x1;return;}_0x27a2d5=this[_0x4690a9(0x25b)](this[_0x4690a9(0x341)]),this[_0x4690a9(0x33c)]&&(this['_mask'][0x0]|this[_0x4690a9(0x1df)][0x1]|this[_0x4690a9(0x1df)][0x2]|this[_0x4690a9(0x1df)][0x3])!==0x0&&_0x5b3acf(_0x27a2d5,this[_0x4690a9(0x1df)]);}if(this[_0x4690a9(0x2f0)]>0x7){this['controlMessage'](_0x27a2d5,_0xdc5261);return;}if(this[_0x4690a9(0x23d)]){this[_0x4690a9(0x2aa)]=_0x54c084,this['decompress'](_0x27a2d5,_0xdc5261);return;}_0x27a2d5[_0x4690a9(0x2d4)]&&(this[_0x4690a9(0x21b)]=this[_0x4690a9(0x2be)],this[_0x4690a9(0x2a1)][_0x4690a9(0x2e4)](_0x27a2d5)),this[_0x4690a9(0x2ed)](_0xdc5261);}[_0x92cc8a(0x227)](_0x55a6cc,_0x441f05){const _0x49db20=_0x92cc8a;this[_0x49db20(0x2c6)][_0x126cbb[_0x49db20(0x305)]][_0x49db20(0x227)](_0x55a6cc,this[_0x49db20(0x267)],(_0x336771,_0x492f4f)=>{const _0x1bb871=_0x49db20;if(_0x336771)return _0x441f05(_0x336771);if(_0x492f4f[_0x1bb871(0x2d4)]){if(this[_0x1bb871(0x21b)]+=_0x492f4f['length'],this[_0x1bb871(0x21b)]>this[_0x1bb871(0x27a)]&&this[_0x1bb871(0x27a)]>0x0){const _0x2759c1=this[_0x1bb871(0x26b)](RangeError,_0x1bb871(0x1ed),!0x1,0x3f1,_0x1bb871(0x2f3));_0x441f05(_0x2759c1);return;}this[_0x1bb871(0x2a1)][_0x1bb871(0x2e4)](_0x492f4f);}this[_0x1bb871(0x2ed)](_0x441f05),this[_0x1bb871(0x2aa)]===_0x2cb269&&this[_0x1bb871(0x1f2)](_0x441f05);});}['dataMessage'](_0xdddb65){const _0xe1ce1b=_0x92cc8a;if(!this['_fin']){this[_0xe1ce1b(0x2aa)]=_0x2cb269;return;}const _0x2754ca=this['_messageLength'],_0x59ec70=this[_0xe1ce1b(0x2a1)];if(this[_0xe1ce1b(0x2be)]=0x0,this[_0xe1ce1b(0x21b)]=0x0,this[_0xe1ce1b(0x353)]=0x0,this['_fragments']=[],this[_0xe1ce1b(0x2f0)]===0x2){let _0x2b8522;this[_0xe1ce1b(0x256)]===_0xe1ce1b(0x29b)?_0x2b8522=_0x5c06c2(_0x59ec70,_0x2754ca):this[_0xe1ce1b(0x256)]===_0xe1ce1b(0x251)?_0x2b8522=_0x4e3c4a(_0x5c06c2(_0x59ec70,_0x2754ca)):this[_0xe1ce1b(0x256)]==='blob'?_0x2b8522=new Blob(_0x59ec70):_0x2b8522=_0x59ec70,this[_0xe1ce1b(0x2bf)]?(this[_0xe1ce1b(0x2ee)]('message',_0x2b8522,!0x0),this[_0xe1ce1b(0x2aa)]=_0x2cb269):(this[_0xe1ce1b(0x2aa)]=_0x26652d,setImmediate(()=>{const _0x134335=_0xe1ce1b;this[_0x134335(0x2ee)](_0x134335(0x213),_0x2b8522,!0x0),this[_0x134335(0x2aa)]=_0x2cb269,this['startLoop'](_0xdddb65);}));}else{const _0x39ec41=_0x5c06c2(_0x59ec70,_0x2754ca);if(!this[_0xe1ce1b(0x30a)]&&!_0x121eca(_0x39ec41)){const _0x4c1add=this[_0xe1ce1b(0x26b)](Error,_0xe1ce1b(0x313),!0x0,0x3ef,_0xe1ce1b(0x2b5));_0xdddb65(_0x4c1add);return;}this[_0xe1ce1b(0x2aa)]===_0x54c084||this['_allowSynchronousEvents']?(this[_0xe1ce1b(0x2ee)](_0xe1ce1b(0x213),_0x39ec41,!0x1),this['_state']=_0x2cb269):(this[_0xe1ce1b(0x2aa)]=_0x26652d,setImmediate(()=>{this['emit']('message',_0x39ec41,!0x1),this['_state']=_0x2cb269,this['startLoop'](_0xdddb65);}));}}['controlMessage'](_0x4bc155,_0x3e4a17){const _0x4eaa57=_0x92cc8a;if(this[_0x4eaa57(0x2f0)]===0x8){if(_0x4bc155[_0x4eaa57(0x2d4)]===0x0)this[_0x4eaa57(0x286)]=!0x1,this[_0x4eaa57(0x2ee)](_0x4eaa57(0x325),0x3ed,_0xa17738),this[_0x4eaa57(0x1cd)]();else{const _0x4137a2=_0x4bc155['readUInt16BE'](0x0);if(!_0x67916a(_0x4137a2)){const _0xa417bc=this[_0x4eaa57(0x26b)](RangeError,_0x4eaa57(0x352)+_0x4137a2,!0x0,0x3ea,_0x4eaa57(0x357));_0x3e4a17(_0xa417bc);return;}const _0x16ee72=new _0xc99029(_0x4bc155[_0x4eaa57(0x228)],_0x4bc155[_0x4eaa57(0x236)]+0x2,_0x4bc155['length']-0x2);if(!this[_0x4eaa57(0x30a)]&&!_0x121eca(_0x16ee72)){const _0x13d250=this[_0x4eaa57(0x26b)](Error,_0x4eaa57(0x313),!0x0,0x3ef,_0x4eaa57(0x2b5));_0x3e4a17(_0x13d250);return;}this[_0x4eaa57(0x286)]=!0x1,this[_0x4eaa57(0x2ee)](_0x4eaa57(0x325),_0x4137a2,_0x16ee72),this[_0x4eaa57(0x1cd)]();}this[_0x4eaa57(0x2aa)]=_0x2cb269;return;}this[_0x4eaa57(0x2bf)]?(this[_0x4eaa57(0x2ee)](this[_0x4eaa57(0x2f0)]===0x9?'ping':_0x4eaa57(0x1d9),_0x4bc155),this[_0x4eaa57(0x2aa)]=_0x2cb269):(this[_0x4eaa57(0x2aa)]=_0x26652d,setImmediate(()=>{const _0x1a0f79=_0x4eaa57;this[_0x1a0f79(0x2ee)](this[_0x1a0f79(0x2f0)]===0x9?_0x1a0f79(0x1eb):'pong',_0x4bc155),this[_0x1a0f79(0x2aa)]=_0x2cb269,this[_0x1a0f79(0x1f2)](_0x3e4a17);}));}[_0x92cc8a(0x26b)](_0x582210,_0x3ce39b,_0x38e884,_0x38b7bc,_0x44d50a){const _0x465fb2=_0x92cc8a;this[_0x465fb2(0x286)]=!0x1,this[_0x465fb2(0x217)]=!0x0;const _0x4223b4=new _0x582210(_0x38e884?_0x465fb2(0x1c1)+_0x3ce39b:_0x3ce39b);return Error[_0x465fb2(0x288)](_0x4223b4,this[_0x465fb2(0x26b)]),_0x4223b4[_0x465fb2(0x30d)]=_0x44d50a,_0x4223b4[_0x26ef9f]=_0x38b7bc,_0x4223b4;}}return Se=_0x51f116,Se;}var Ee,Qe;function ut(){const _0x50f68e=_0x2e07f2;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x184310}=_0x1fd5aa,{randomFillSync:_0x354353}=_0x449068,_0x294c59=ce(),{EMPTY_BUFFER:_0x288dd1,kWebSocket:_0x5505f1,NOOP:_0x4072b7}=V(),{isBlob:_0x68d414,isValidStatusCode:_0x4aac03}=ie(),{mask:_0x4b70e8,toBuffer:_0x10151c}=fe(),_0x456e9c=Symbol(_0x50f68e(0x1c2)),_0x2fa4b0=Buffer[_0x50f68e(0x23a)](0x4),_0x30a6f9=0x8*0x400;let _0x26d107,_0x4d39ef=_0x30a6f9;const _0x22656e=0x0,_0x339935=0x1,_0x5d92b4=0x2;class _0x57b263{constructor(_0x2a5515,_0x592a20,_0x5e711a){const _0x49173d=_0x50f68e;this[_0x49173d(0x2c6)]=_0x592a20||{},_0x5e711a&&(this['_generateMask']=_0x5e711a,this['_maskBuffer']=Buffer[_0x49173d(0x23a)](0x4)),this['_socket']=_0x2a5515,this[_0x49173d(0x1ba)]=!0x0,this[_0x49173d(0x245)]=!0x1,this[_0x49173d(0x315)]=0x0,this['_queue']=[],this['_state']=_0x22656e,this[_0x49173d(0x25e)]=_0x4072b7,this[_0x5505f1]=void 0x0;}static[_0x50f68e(0x35f)](_0x3dc8bb,_0x4bac7e){const _0x33184d=_0x50f68e;let _0x25c516,_0x364130=!0x1,_0x12cd07=0x2,_0xa156c9=!0x1;_0x4bac7e[_0x33184d(0x20a)]&&(_0x25c516=_0x4bac7e[_0x33184d(0x2d2)]||_0x2fa4b0,_0x4bac7e[_0x33184d(0x27d)]?_0x4bac7e[_0x33184d(0x27d)](_0x25c516):(_0x4d39ef===_0x30a6f9&&(_0x26d107===void 0x0&&(_0x26d107=Buffer['alloc'](_0x30a6f9)),_0x354353(_0x26d107,0x0,_0x30a6f9),_0x4d39ef=0x0),_0x25c516[0x0]=_0x26d107[_0x4d39ef++],_0x25c516[0x1]=_0x26d107[_0x4d39ef++],_0x25c516[0x2]=_0x26d107[_0x4d39ef++],_0x25c516[0x3]=_0x26d107[_0x4d39ef++]),_0xa156c9=(_0x25c516[0x0]|_0x25c516[0x1]|_0x25c516[0x2]|_0x25c516[0x3])===0x0,_0x12cd07=0x6);let _0x5a837f;typeof _0x3dc8bb==_0x33184d(0x1d4)?(!_0x4bac7e[_0x33184d(0x20a)]||_0xa156c9)&&_0x4bac7e[_0x456e9c]!==void 0x0?_0x5a837f=_0x4bac7e[_0x456e9c]:(_0x3dc8bb=Buffer[_0x33184d(0x21e)](_0x3dc8bb),_0x5a837f=_0x3dc8bb[_0x33184d(0x2d4)]):(_0x5a837f=_0x3dc8bb[_0x33184d(0x2d4)],_0x364130=_0x4bac7e['mask']&&_0x4bac7e[_0x33184d(0x312)]&&!_0xa156c9);let _0x4ad219=_0x5a837f;_0x5a837f>=0x10000?(_0x12cd07+=0x8,_0x4ad219=0x7f):_0x5a837f>0x7d&&(_0x12cd07+=0x2,_0x4ad219=0x7e);const _0x5ac7e1=Buffer['allocUnsafe'](_0x364130?_0x5a837f+_0x12cd07:_0x12cd07);return _0x5ac7e1[0x0]=_0x4bac7e[_0x33184d(0x24a)]?_0x4bac7e[_0x33184d(0x1e1)]|0x80:_0x4bac7e[_0x33184d(0x1e1)],_0x4bac7e['rsv1']&&(_0x5ac7e1[0x0]|=0x40),_0x5ac7e1[0x1]=_0x4ad219,_0x4ad219===0x7e?_0x5ac7e1[_0x33184d(0x339)](_0x5a837f,0x2):_0x4ad219===0x7f&&(_0x5ac7e1[0x2]=_0x5ac7e1[0x3]=0x0,_0x5ac7e1['writeUIntBE'](_0x5a837f,0x4,0x6)),_0x4bac7e[_0x33184d(0x20a)]?(_0x5ac7e1[0x1]|=0x80,_0x5ac7e1[_0x12cd07-0x4]=_0x25c516[0x0],_0x5ac7e1[_0x12cd07-0x3]=_0x25c516[0x1],_0x5ac7e1[_0x12cd07-0x2]=_0x25c516[0x2],_0x5ac7e1[_0x12cd07-0x1]=_0x25c516[0x3],_0xa156c9?[_0x5ac7e1,_0x3dc8bb]:_0x364130?(_0x4b70e8(_0x3dc8bb,_0x25c516,_0x5ac7e1,_0x12cd07,_0x5a837f),[_0x5ac7e1]):(_0x4b70e8(_0x3dc8bb,_0x25c516,_0x3dc8bb,0x0,_0x5a837f),[_0x5ac7e1,_0x3dc8bb])):[_0x5ac7e1,_0x3dc8bb];}[_0x50f68e(0x26e)](_0xe5ab32,_0x486711,_0x2775e3,_0x55b486){const _0x2c0fc5=_0x50f68e;let _0x52fb59;if(_0xe5ab32===void 0x0)_0x52fb59=_0x288dd1;else{if(typeof _0xe5ab32!=_0x2c0fc5(0x25d)||!_0x4aac03(_0xe5ab32))throw new TypeError(_0x2c0fc5(0x240));if(_0x486711===void 0x0||!_0x486711[_0x2c0fc5(0x2d4)])_0x52fb59=Buffer['allocUnsafe'](0x2),_0x52fb59[_0x2c0fc5(0x339)](_0xe5ab32,0x0);else{const _0x186f7=Buffer[_0x2c0fc5(0x32c)](_0x486711);if(_0x186f7>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x52fb59=Buffer['allocUnsafe'](0x2+_0x186f7),_0x52fb59['writeUInt16BE'](_0xe5ab32,0x0),typeof _0x486711==_0x2c0fc5(0x1d4)?_0x52fb59['write'](_0x486711,0x2):_0x52fb59[_0x2c0fc5(0x1bc)](_0x486711,0x2);}}const _0x191900={[_0x456e9c]:_0x52fb59[_0x2c0fc5(0x2d4)],'fin':!0x0,'generateMask':this[_0x2c0fc5(0x32a)],'mask':_0x2775e3,'maskBuffer':this[_0x2c0fc5(0x1d6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2c0fc5(0x2aa)]!==_0x22656e?this['enqueue']([this[_0x2c0fc5(0x310)],_0x52fb59,!0x1,_0x191900,_0x55b486]):this[_0x2c0fc5(0x298)](_0x57b263[_0x2c0fc5(0x35f)](_0x52fb59,_0x191900),_0x55b486);}[_0x50f68e(0x1eb)](_0x5b3b36,_0x52e4fd,_0xce74c3){const _0x3a19f4=_0x50f68e;let _0x19177d,_0x2f1f8d;if(typeof _0x5b3b36==_0x3a19f4(0x1d4)?(_0x19177d=Buffer['byteLength'](_0x5b3b36),_0x2f1f8d=!0x1):_0x68d414(_0x5b3b36)?(_0x19177d=_0x5b3b36[_0x3a19f4(0x1b5)],_0x2f1f8d=!0x1):(_0x5b3b36=_0x10151c(_0x5b3b36),_0x19177d=_0x5b3b36[_0x3a19f4(0x2d4)],_0x2f1f8d=_0x10151c[_0x3a19f4(0x312)]),_0x19177d>0x7d)throw new RangeError(_0x3a19f4(0x360));const _0x4a7086={[_0x456e9c]:_0x19177d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x52e4fd,'maskBuffer':this[_0x3a19f4(0x1d6)],'opcode':0x9,'readOnly':_0x2f1f8d,'rsv1':!0x1};_0x68d414(_0x5b3b36)?this[_0x3a19f4(0x2aa)]!==_0x22656e?this[_0x3a19f4(0x1cc)]([this['getBlobData'],_0x5b3b36,!0x1,_0x4a7086,_0xce74c3]):this[_0x3a19f4(0x35c)](_0x5b3b36,!0x1,_0x4a7086,_0xce74c3):this['_state']!==_0x22656e?this[_0x3a19f4(0x1cc)]([this['dispatch'],_0x5b3b36,!0x1,_0x4a7086,_0xce74c3]):this[_0x3a19f4(0x298)](_0x57b263[_0x3a19f4(0x35f)](_0x5b3b36,_0x4a7086),_0xce74c3);}[_0x50f68e(0x1d9)](_0x3d3486,_0x599729,_0x1925f3){const _0x6f3cf7=_0x50f68e;let _0x1ea6ad,_0x27106c;if(typeof _0x3d3486=='string'?(_0x1ea6ad=Buffer['byteLength'](_0x3d3486),_0x27106c=!0x1):_0x68d414(_0x3d3486)?(_0x1ea6ad=_0x3d3486['size'],_0x27106c=!0x1):(_0x3d3486=_0x10151c(_0x3d3486),_0x1ea6ad=_0x3d3486[_0x6f3cf7(0x2d4)],_0x27106c=_0x10151c[_0x6f3cf7(0x312)]),_0x1ea6ad>0x7d)throw new RangeError(_0x6f3cf7(0x360));const _0x19803f={[_0x456e9c]:_0x1ea6ad,'fin':!0x0,'generateMask':this[_0x6f3cf7(0x32a)],'mask':_0x599729,'maskBuffer':this[_0x6f3cf7(0x1d6)],'opcode':0xa,'readOnly':_0x27106c,'rsv1':!0x1};_0x68d414(_0x3d3486)?this['_state']!==_0x22656e?this[_0x6f3cf7(0x1cc)]([this['getBlobData'],_0x3d3486,!0x1,_0x19803f,_0x1925f3]):this[_0x6f3cf7(0x35c)](_0x3d3486,!0x1,_0x19803f,_0x1925f3):this['_state']!==_0x22656e?this[_0x6f3cf7(0x1cc)]([this['dispatch'],_0x3d3486,!0x1,_0x19803f,_0x1925f3]):this['sendFrame'](_0x57b263['frame'](_0x3d3486,_0x19803f),_0x1925f3);}[_0x50f68e(0x2cb)](_0x5e5f0a,_0x861d91,_0x4192f0){const _0x1fff2d=_0x50f68e,_0x88a83=this[_0x1fff2d(0x2c6)][_0x294c59['extensionName']];let _0x5f48a1=_0x861d91[_0x1fff2d(0x292)]?0x2:0x1,_0x25c107=_0x861d91[_0x1fff2d(0x1ee)],_0x23652f,_0x51299f;typeof _0x5e5f0a=='string'?(_0x23652f=Buffer['byteLength'](_0x5e5f0a),_0x51299f=!0x1):_0x68d414(_0x5e5f0a)?(_0x23652f=_0x5e5f0a[_0x1fff2d(0x1b5)],_0x51299f=!0x1):(_0x5e5f0a=_0x10151c(_0x5e5f0a),_0x23652f=_0x5e5f0a[_0x1fff2d(0x2d4)],_0x51299f=_0x10151c['readOnly']),this[_0x1fff2d(0x1ba)]?(this[_0x1fff2d(0x1ba)]=!0x1,_0x25c107&&_0x88a83&&_0x88a83[_0x1fff2d(0x224)][_0x88a83[_0x1fff2d(0x22a)]?_0x1fff2d(0x2a0):'client_no_context_takeover']&&(_0x25c107=_0x23652f>=_0x88a83[_0x1fff2d(0x276)]),this[_0x1fff2d(0x245)]=_0x25c107):(_0x25c107=!0x1,_0x5f48a1=0x0),_0x861d91[_0x1fff2d(0x24a)]&&(this[_0x1fff2d(0x1ba)]=!0x0);const _0x27523a={[_0x456e9c]:_0x23652f,'fin':_0x861d91['fin'],'generateMask':this[_0x1fff2d(0x32a)],'mask':_0x861d91[_0x1fff2d(0x20a)],'maskBuffer':this[_0x1fff2d(0x1d6)],'opcode':_0x5f48a1,'readOnly':_0x51299f,'rsv1':_0x25c107};_0x68d414(_0x5e5f0a)?this[_0x1fff2d(0x2aa)]!==_0x22656e?this['enqueue']([this['getBlobData'],_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0]):this[_0x1fff2d(0x35c)](_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0):this[_0x1fff2d(0x2aa)]!==_0x22656e?this['enqueue']([this[_0x1fff2d(0x310)],_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0]):this[_0x1fff2d(0x310)](_0x5e5f0a,this[_0x1fff2d(0x245)],_0x27523a,_0x4192f0);}['getBlobData'](_0x57c249,_0x38147a,_0x3c2247,_0x1dee15){const _0x527b7d=_0x50f68e;this[_0x527b7d(0x315)]+=_0x3c2247[_0x456e9c],this[_0x527b7d(0x2aa)]=_0x5d92b4,_0x57c249['arrayBuffer']()['then'](_0x4bc975=>{const _0xb646d2=_0x527b7d;if(this[_0xb646d2(0x1c7)][_0xb646d2(0x1fa)]){const _0x1c1852=new Error(_0xb646d2(0x23c));process[_0xb646d2(0x277)](_0xd80649,this,_0x1c1852,_0x1dee15);return;}this[_0xb646d2(0x315)]-=_0x3c2247[_0x456e9c];const _0x2f8cd6=_0x10151c(_0x4bc975);_0x38147a?this[_0xb646d2(0x310)](_0x2f8cd6,_0x38147a,_0x3c2247,_0x1dee15):(this[_0xb646d2(0x2aa)]=_0x22656e,this[_0xb646d2(0x298)](_0x57b263[_0xb646d2(0x35f)](_0x2f8cd6,_0x3c2247),_0x1dee15),this['dequeue']());})[_0x527b7d(0x1d0)](_0x151478=>{process['nextTick'](_0x2353c0,this,_0x151478,_0x1dee15);});}['dispatch'](_0x2e5b8e,_0x2faef7,_0x59098f,_0x1f1d29){const _0x399c54=_0x50f68e;if(!_0x2faef7){this[_0x399c54(0x298)](_0x57b263[_0x399c54(0x35f)](_0x2e5b8e,_0x59098f),_0x1f1d29);return;}const _0x42d0a5=this['_extensions'][_0x294c59[_0x399c54(0x305)]];this['_bufferedBytes']+=_0x59098f[_0x456e9c],this[_0x399c54(0x2aa)]=_0x339935,_0x42d0a5[_0x399c54(0x1ee)](_0x2e5b8e,_0x59098f['fin'],(_0x3b56fc,_0x5e7334)=>{const _0x208d5a=_0x399c54;if(this[_0x208d5a(0x1c7)][_0x208d5a(0x1fa)]){const _0xfa97ab=new Error(_0x208d5a(0x2ca));_0xd80649(this,_0xfa97ab,_0x1f1d29);return;}this[_0x208d5a(0x315)]-=_0x59098f[_0x456e9c],this['_state']=_0x22656e,_0x59098f['readOnly']=!0x1,this[_0x208d5a(0x298)](_0x57b263[_0x208d5a(0x35f)](_0x5e7334,_0x59098f),_0x1f1d29),this[_0x208d5a(0x1da)]();});}[_0x50f68e(0x1da)](){const _0x28d124=_0x50f68e;for(;this[_0x28d124(0x2aa)]===_0x22656e&&this[_0x28d124(0x234)][_0x28d124(0x2d4)];){const _0xff586f=this['_queue']['shift']();this[_0x28d124(0x315)]-=_0xff586f[0x3][_0x456e9c],Reflect[_0x28d124(0x2b1)](_0xff586f[0x0],this,_0xff586f[_0x28d124(0x2f8)](0x1));}}['enqueue'](_0x6c9b42){const _0x2e9c31=_0x50f68e;this[_0x2e9c31(0x315)]+=_0x6c9b42[0x3][_0x456e9c],this[_0x2e9c31(0x234)][_0x2e9c31(0x2e4)](_0x6c9b42);}[_0x50f68e(0x298)](_0x317222,_0x19b6f2){const _0x4ce164=_0x50f68e;_0x317222[_0x4ce164(0x2d4)]===0x2?(this[_0x4ce164(0x1c7)]['cork'](),this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x0]),this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x1],_0x19b6f2),this['_socket'][_0x4ce164(0x293)]()):this[_0x4ce164(0x1c7)][_0x4ce164(0x2ec)](_0x317222[0x0],_0x19b6f2);}}Ee=_0x57b263;function _0xd80649(_0x4c5735,_0x525be2,_0x249067){const _0x16aa43=_0x50f68e;typeof _0x249067=='function'&&_0x249067(_0x525be2);for(let _0x2a9f4a=0x0;_0x2a9f4a<_0x4c5735['_queue'][_0x16aa43(0x2d4)];_0x2a9f4a++){const _0x5bcc8c=_0x4c5735[_0x16aa43(0x234)][_0x2a9f4a],_0x4b7ed2=_0x5bcc8c[_0x5bcc8c[_0x16aa43(0x2d4)]-0x1];typeof _0x4b7ed2=='function'&&_0x4b7ed2(_0x525be2);}}function _0x2353c0(_0x53c0f3,_0x48d442,_0x5ed870){const _0x2af06e=_0x50f68e;_0xd80649(_0x53c0f3,_0x48d442,_0x5ed870),_0x53c0f3[_0x2af06e(0x25e)](_0x48d442);}return Ee;}var xe,Je;function zt(){const _0x8cfd1c=_0x2e07f2;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x52b9fb,kListener:_0x2f0d7d}=V(),_0x4b906c=Symbol(_0x8cfd1c(0x2f4)),_0x17c227=Symbol(_0x8cfd1c(0x31c)),_0x1f6156=Symbol(_0x8cfd1c(0x2e2)),_0x1fd379=Symbol(_0x8cfd1c(0x1ef)),_0x31111d=Symbol(_0x8cfd1c(0x350)),_0x556942=Symbol('kTarget'),_0x4ec03e=Symbol(_0x8cfd1c(0x258)),_0x1a45c6=Symbol('kWasClean');class _0x536598{constructor(_0x445730){this[_0x556942]=null,this[_0x4ec03e]=_0x445730;}get[_0x8cfd1c(0x21c)](){return this[_0x556942];}get['type'](){return this[_0x4ec03e];}}Object[_0x8cfd1c(0x34f)](_0x536598[_0x8cfd1c(0x359)],_0x8cfd1c(0x21c),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x536598[_0x8cfd1c(0x359)],'type',{'enumerable':!0x0});class _0x5b7476 extends _0x536598{constructor(_0x1cdc03,_0x3cab7d={}){const _0x2b941d=_0x8cfd1c;super(_0x1cdc03),this[_0x4b906c]=_0x3cab7d[_0x2b941d(0x30d)]===void 0x0?0x0:_0x3cab7d['code'],this[_0x31111d]=_0x3cab7d[_0x2b941d(0x289)]===void 0x0?'':_0x3cab7d['reason'],this[_0x1a45c6]=_0x3cab7d[_0x2b941d(0x329)]===void 0x0?!0x1:_0x3cab7d[_0x2b941d(0x329)];}get[_0x8cfd1c(0x30d)](){return this[_0x4b906c];}get[_0x8cfd1c(0x289)](){return this[_0x31111d];}get[_0x8cfd1c(0x329)](){return this[_0x1a45c6];}}Object[_0x8cfd1c(0x34f)](_0x5b7476['prototype'],_0x8cfd1c(0x30d),{'enumerable':!0x0}),Object['defineProperty'](_0x5b7476[_0x8cfd1c(0x359)],_0x8cfd1c(0x289),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x5b7476[_0x8cfd1c(0x359)],_0x8cfd1c(0x329),{'enumerable':!0x0});class _0x32838d extends _0x536598{constructor(_0x163569,_0x51fbb7={}){const _0x15d590=_0x8cfd1c;super(_0x163569),this[_0x1f6156]=_0x51fbb7[_0x15d590(0x1c4)]===void 0x0?null:_0x51fbb7[_0x15d590(0x1c4)],this[_0x1fd379]=_0x51fbb7[_0x15d590(0x213)]===void 0x0?'':_0x51fbb7[_0x15d590(0x213)];}get[_0x8cfd1c(0x1c4)](){return this[_0x1f6156];}get[_0x8cfd1c(0x213)](){return this[_0x1fd379];}}Object[_0x8cfd1c(0x34f)](_0x32838d['prototype'],_0x8cfd1c(0x1c4),{'enumerable':!0x0}),Object[_0x8cfd1c(0x34f)](_0x32838d[_0x8cfd1c(0x359)],'message',{'enumerable':!0x0});class _0x1186ea extends _0x536598{constructor(_0xafb152,_0x6543be={}){const _0x3d00cf=_0x8cfd1c;super(_0xafb152),this[_0x17c227]=_0x6543be[_0x3d00cf(0x33b)]===void 0x0?null:_0x6543be[_0x3d00cf(0x33b)];}get[_0x8cfd1c(0x33b)](){return this[_0x17c227];}}Object[_0x8cfd1c(0x34f)](_0x1186ea[_0x8cfd1c(0x359)],_0x8cfd1c(0x33b),{'enumerable':!0x0}),xe={'CloseEvent':_0x5b7476,'ErrorEvent':_0x32838d,'Event':_0x536598,'EventTarget':{'addEventListener'(_0x25b536,_0x566574,_0x2f10f0={}){const _0xb58ada=_0x8cfd1c;for(const _0x39822e of this[_0xb58ada(0x2b7)](_0x25b536))if(!_0x2f10f0[_0x52b9fb]&&_0x39822e[_0x2f0d7d]===_0x566574&&!_0x39822e[_0x52b9fb])return;let _0x2c8632;if(_0x25b536===_0xb58ada(0x213))_0x2c8632=function(_0xc18355,_0x19b55c){const _0x1a1370=_0xb58ada,_0x41cc55=new _0x1186ea(_0x1a1370(0x213),{'data':_0x19b55c?_0xc18355:_0xc18355[_0x1a1370(0x29d)]()});_0x41cc55[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x41cc55);};else{if(_0x25b536==='close')_0x2c8632=function(_0x592c7d,_0x23c0c7){const _0x2250a5=_0xb58ada,_0x50342b=new _0x5b7476(_0x2250a5(0x26e),{'code':_0x592c7d,'reason':_0x23c0c7[_0x2250a5(0x29d)](),'wasClean':this[_0x2250a5(0x1e3)]&&this[_0x2250a5(0x2e6)]});_0x50342b[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x50342b);};else{if(_0x25b536==='error')_0x2c8632=function(_0x5542a5){const _0x165493=_0xb58ada,_0x858fa0=new _0x32838d(_0x165493(0x1c4),{'error':_0x5542a5,'message':_0x5542a5['message']});_0x858fa0[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0x858fa0);};else{if(_0x25b536===_0xb58ada(0x2ce))_0x2c8632=function(){const _0x372d7e=_0xb58ada,_0xa98d92=new _0x536598(_0x372d7e(0x2ce));_0xa98d92[_0x556942]=this,_0x5e2ff4(_0x566574,this,_0xa98d92);};else return;}}}_0x2c8632[_0x52b9fb]=!!_0x2f10f0[_0x52b9fb],_0x2c8632[_0x2f0d7d]=_0x566574,_0x2f10f0[_0xb58ada(0x2a8)]?this['once'](_0x25b536,_0x2c8632):this['on'](_0x25b536,_0x2c8632);},'removeEventListener'(_0x3673a9,_0x2fbe5a){const _0x83dfe8=_0x8cfd1c;for(const _0x529e06 of this[_0x83dfe8(0x2b7)](_0x3673a9))if(_0x529e06[_0x2f0d7d]===_0x2fbe5a&&!_0x529e06[_0x52b9fb]){this[_0x83dfe8(0x330)](_0x3673a9,_0x529e06);break;}}},'MessageEvent':_0x1186ea};function _0x5e2ff4(_0x4e80c5,_0x39044e,_0x3549c2){const _0x2d6a90=_0x8cfd1c;typeof _0x4e80c5==_0x2d6a90(0x2d6)&&_0x4e80c5['handleEvent']?_0x4e80c5['handleEvent'][_0x2d6a90(0x1c3)](_0x4e80c5,_0x3549c2):_0x4e80c5['call'](_0x39044e,_0x3549c2);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x42de0f}=ie();function _0x2cab81(_0x11f227,_0x297dbf,_0x4ca19f){const _0x4ca743=_0x1103;_0x11f227[_0x297dbf]===void 0x0?_0x11f227[_0x297dbf]=[_0x4ca19f]:_0x11f227[_0x297dbf][_0x4ca743(0x2e4)](_0x4ca19f);}function _0x3fcc92(_0x23f6b2){const _0x4c52c7=_0x1103,_0x254d62=Object[_0x4c52c7(0x2bd)](null);let _0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x1d3ad2=!0x1,_0x99253d=!0x1,_0x1eb0cb=!0x1,_0x18606c,_0xeee31e,_0x185c63=-0x1,_0x1eee5c=-0x1,_0x540ffc=-0x1,_0x13b0da=0x0;for(;_0x13b0da<_0x23f6b2[_0x4c52c7(0x2d4)];_0x13b0da++)if(_0x1eee5c=_0x23f6b2[_0x4c52c7(0x354)](_0x13b0da),_0x18606c===void 0x0){if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x13b0da!==0x0&&(_0x1eee5c===0x20||_0x1eee5c===0x9))_0x540ffc===-0x1&&_0x185c63!==-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);const _0x4423dd=_0x23f6b2['slice'](_0x185c63,_0x540ffc);_0x1eee5c===0x2c?(_0x2cab81(_0x254d62,_0x4423dd,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null)):_0x18606c=_0x4423dd,_0x185c63=_0x540ffc=-0x1;}else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}else{if(_0xeee31e===void 0x0){if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x1eee5c===0x20||_0x1eee5c===0x9)_0x540ffc===-0x1&&_0x185c63!==-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da),_0x2cab81(_0x3a9c62,_0x23f6b2['slice'](_0x185c63,_0x540ffc),!0x0),_0x1eee5c===0x2c&&(_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x18606c=void 0x0),_0x185c63=_0x540ffc=-0x1;}else{if(_0x1eee5c===0x3d&&_0x185c63!==-0x1&&_0x540ffc===-0x1)_0xeee31e=_0x23f6b2['slice'](_0x185c63,_0x13b0da),_0x185c63=_0x540ffc=-0x1;else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}}else{if(_0x99253d){if(_0x42de0f[_0x1eee5c]!==0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x185c63===-0x1?_0x185c63=_0x13b0da:_0x1d3ad2||(_0x1d3ad2=!0x0),_0x99253d=!0x1;}else{if(_0x1eb0cb){if(_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x1eee5c===0x22&&_0x185c63!==-0x1)_0x1eb0cb=!0x1,_0x540ffc=_0x13b0da;else{if(_0x1eee5c===0x5c)_0x99253d=!0x0;else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}else{if(_0x1eee5c===0x22&&_0x23f6b2[_0x4c52c7(0x354)](_0x13b0da-0x1)===0x3d)_0x1eb0cb=!0x0;else{if(_0x540ffc===-0x1&&_0x42de0f[_0x1eee5c]===0x1)_0x185c63===-0x1&&(_0x185c63=_0x13b0da);else{if(_0x185c63!==-0x1&&(_0x1eee5c===0x20||_0x1eee5c===0x9))_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);else{if(_0x1eee5c===0x3b||_0x1eee5c===0x2c){if(_0x185c63===-0x1)throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);let _0x78c6b5=_0x23f6b2['slice'](_0x185c63,_0x540ffc);_0x1d3ad2&&(_0x78c6b5=_0x78c6b5[_0x4c52c7(0x34a)](/\\/g,''),_0x1d3ad2=!0x1),_0x2cab81(_0x3a9c62,_0xeee31e,_0x78c6b5),_0x1eee5c===0x2c&&(_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62),_0x3a9c62=Object[_0x4c52c7(0x2bd)](null),_0x18606c=void 0x0),_0xeee31e=void 0x0,_0x185c63=_0x540ffc=-0x1;}else throw new SyntaxError(_0x4c52c7(0x302)+_0x13b0da);}}}}}}}if(_0x185c63===-0x1||_0x1eb0cb||_0x1eee5c===0x20||_0x1eee5c===0x9)throw new SyntaxError(_0x4c52c7(0x23e));_0x540ffc===-0x1&&(_0x540ffc=_0x13b0da);const _0xb081a8=_0x23f6b2[_0x4c52c7(0x2f8)](_0x185c63,_0x540ffc);return _0x18606c===void 0x0?_0x2cab81(_0x254d62,_0xb081a8,_0x3a9c62):(_0xeee31e===void 0x0?_0x2cab81(_0x3a9c62,_0xb081a8,!0x0):_0x1d3ad2?_0x2cab81(_0x3a9c62,_0xeee31e,_0xb081a8[_0x4c52c7(0x34a)](/\\/g,'')):_0x2cab81(_0x3a9c62,_0xeee31e,_0xb081a8),_0x2cab81(_0x254d62,_0x18606c,_0x3a9c62)),_0x254d62;}function _0x400694(_0x5eaba9){const _0x531504=_0x1103;return Object[_0x531504(0x22d)](_0x5eaba9)[_0x531504(0x27b)](_0x4d47a0=>{const _0x313afc=_0x531504;let _0x22ffc8=_0x5eaba9[_0x4d47a0];return Array[_0x313afc(0x343)](_0x22ffc8)||(_0x22ffc8=[_0x22ffc8]),_0x22ffc8['map'](_0x4838be=>[_0x4d47a0][_0x313afc(0x1b0)](Object[_0x313afc(0x22d)](_0x4838be)[_0x313afc(0x27b)](_0x21f20c=>{const _0x2475ab=_0x313afc;let _0x36e0b6=_0x4838be[_0x21f20c];return Array['isArray'](_0x36e0b6)||(_0x36e0b6=[_0x36e0b6]),_0x36e0b6[_0x2475ab(0x27b)](_0x5a82f3=>_0x5a82f3===!0x0?_0x21f20c:_0x21f20c+'='+_0x5a82f3)['join'](';\x20');}))[_0x313afc(0x299)](';\x20'))[_0x313afc(0x299)](',\x20');})[_0x531504(0x299)](',\x20');}return be={'format':_0x400694,'parse':_0x3fcc92},be;}var we,tt;function Be(){const _0x1edfa7=_0x2e07f2;if(tt)return we;tt=0x1;const _0x1b5038=_0xfa26c6,_0xcee82c=_0x305c4a,_0x31cdb4=_0x43bc88,_0x71dfbb=_0x3d3387,_0xf75bc9=_0x50b5e4,{randomBytes:_0x1e47b8,createHash:_0x30b024}=_0x449068,{Duplex:_0x3be550,Readable:_0x161daa}=_0x1fd5aa,{URL:_0x3acb20}=_0x42dcdf,_0xa334e8=ce(),_0x17a0ba=ht(),_0x1caa2b=ut(),{isBlob:_0x1341c9}=ie(),{BINARY_TYPES:_0x58ebb3,EMPTY_BUFFER:_0x3a8818,GUID:_0x18f12a,kForOnEventAttribute:_0x5cbcb9,kListener:_0x8da17f,kStatusCode:_0x36e375,kWebSocket:_0x2d0926,NOOP:_0x4728fb}=V(),{EventTarget:{addEventListener:_0x377e8e,removeEventListener:_0x53a74e}}=zt(),{format:_0x27730a,parse:_0x590bad}=dt(),{toBuffer:_0x40cc91}=fe(),_0x24db5b=0x1e*0x3e8,_0x44d53c=Symbol(_0x1edfa7(0x1f9)),_0x14e613=[0x8,0xd],_0x533a2f=['CONNECTING',_0x1edfa7(0x1c0),_0x1edfa7(0x21a),_0x1edfa7(0x260)],_0x226dae=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x169a1b extends _0x1b5038{constructor(_0x1d6fd9,_0x32599f,_0xa78bbc){const _0x396f05=_0x1edfa7;super(),this[_0x396f05(0x256)]=_0x58ebb3[0x0],this[_0x396f05(0x1e0)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x3a8818,this[_0x396f05(0x2c4)]=null,this[_0x396f05(0x1fe)]=!0x1,this[_0x396f05(0x2c6)]={},this[_0x396f05(0x216)]=!0x1,this[_0x396f05(0x1b7)]='',this['_readyState']=_0x169a1b[_0x396f05(0x29a)],this[_0x396f05(0x28f)]=null,this['_sender']=null,this['_socket']=null,_0x1d6fd9!==null?(this['_bufferedAmount']=0x0,this[_0x396f05(0x22a)]=!0x1,this[_0x396f05(0x281)]=0x0,_0x32599f===void 0x0?_0x32599f=[]:Array[_0x396f05(0x343)](_0x32599f)||(typeof _0x32599f=='object'&&_0x32599f!==null?(_0xa78bbc=_0x32599f,_0x32599f=[]):_0x32599f=[_0x32599f]),_0x35b7da(this,_0x1d6fd9,_0x32599f,_0xa78bbc)):(this[_0x396f05(0x1ce)]=_0xa78bbc[_0x396f05(0x307)],this[_0x396f05(0x22a)]=!0x0);}get[_0x1edfa7(0x24f)](){const _0x550151=_0x1edfa7;return this[_0x550151(0x256)];}set['binaryType'](_0x5bc716){const _0x5df3f0=_0x1edfa7;_0x58ebb3[_0x5df3f0(0x1f0)](_0x5bc716)&&(this[_0x5df3f0(0x256)]=_0x5bc716,this['_receiver']&&(this[_0x5df3f0(0x28f)][_0x5df3f0(0x256)]=_0x5bc716));}get[_0x1edfa7(0x287)](){const _0x3d04e6=_0x1edfa7;return this[_0x3d04e6(0x1c7)]?this[_0x3d04e6(0x1c7)][_0x3d04e6(0x246)][_0x3d04e6(0x2d4)]+this[_0x3d04e6(0x214)][_0x3d04e6(0x315)]:this['_bufferedAmount'];}get['extensions'](){const _0x2a30c3=_0x1edfa7;return Object[_0x2a30c3(0x22d)](this[_0x2a30c3(0x2c6)])['join']();}get[_0x1edfa7(0x1af)](){return this['_paused'];}get['onclose'](){return null;}get[_0x1edfa7(0x25e)](){return null;}get['onopen'](){return null;}get[_0x1edfa7(0x1d8)](){return null;}get['protocol'](){const _0x7dbfc9=_0x1edfa7;return this[_0x7dbfc9(0x1b7)];}get[_0x1edfa7(0x201)](){const _0x36475b=_0x1edfa7;return this[_0x36475b(0x29c)];}get[_0x1edfa7(0x2b2)](){return this['_url'];}[_0x1edfa7(0x326)](_0x1923fd,_0x2dad0f,_0x5e42cc){const _0x588820=_0x1edfa7,_0x59ba32=new _0x17a0ba({'allowSynchronousEvents':_0x5e42cc[_0x588820(0x35a)],'binaryType':this[_0x588820(0x24f)],'extensions':this[_0x588820(0x2c6)],'isServer':this['_isServer'],'maxPayload':_0x5e42cc[_0x588820(0x29f)],'skipUTF8Validation':_0x5e42cc['skipUTF8Validation']}),_0x25c957=new _0x1caa2b(_0x1923fd,this[_0x588820(0x2c6)],_0x5e42cc[_0x588820(0x27d)]);this[_0x588820(0x28f)]=_0x59ba32,this[_0x588820(0x214)]=_0x25c957,this[_0x588820(0x1c7)]=_0x1923fd,_0x59ba32[_0x2d0926]=this,_0x25c957[_0x2d0926]=this,_0x1923fd[_0x2d0926]=this,_0x59ba32['on']('conclude',_0x3b895c),_0x59ba32['on'](_0x588820(0x303),_0x38118a),_0x59ba32['on'](_0x588820(0x1c4),_0x17aeda),_0x59ba32['on']('message',_0x11ff56),_0x59ba32['on'](_0x588820(0x1eb),_0x49fb15),_0x59ba32['on']('pong',_0x5c8ebb),_0x25c957[_0x588820(0x25e)]=_0x4e3b9,_0x1923fd[_0x588820(0x2df)]&&_0x1923fd[_0x588820(0x2df)](0x0),_0x1923fd['setNoDelay']&&_0x1923fd[_0x588820(0x321)](),_0x2dad0f['length']>0x0&&_0x1923fd[_0x588820(0x22c)](_0x2dad0f),_0x1923fd['on']('close',_0x1a5b1d),_0x1923fd['on'](_0x588820(0x33b),_0x10fa9d),_0x1923fd['on'](_0x588820(0x1cd),_0x272f7e),_0x1923fd['on'](_0x588820(0x1c4),_0x5c4531),this[_0x588820(0x29c)]=_0x169a1b[_0x588820(0x1c0)],this[_0x588820(0x2ee)](_0x588820(0x2ce));}[_0x1edfa7(0x2b6)](){const _0x4d2ad6=_0x1edfa7;if(!this[_0x4d2ad6(0x1c7)]){this['_readyState']=_0x169a1b[_0x4d2ad6(0x260)],this[_0x4d2ad6(0x2ee)](_0x4d2ad6(0x26e),this[_0x4d2ad6(0x1e0)],this[_0x4d2ad6(0x2fb)]);return;}this[_0x4d2ad6(0x2c6)][_0xa334e8[_0x4d2ad6(0x305)]]&&this[_0x4d2ad6(0x2c6)][_0xa334e8[_0x4d2ad6(0x305)]]['cleanup'](),this[_0x4d2ad6(0x28f)][_0x4d2ad6(0x2e7)](),this[_0x4d2ad6(0x29c)]=_0x169a1b[_0x4d2ad6(0x260)],this[_0x4d2ad6(0x2ee)](_0x4d2ad6(0x26e),this[_0x4d2ad6(0x1e0)],this[_0x4d2ad6(0x2fb)]);}[_0x1edfa7(0x26e)](_0x15e598,_0x4a5fbe){const _0x39b0ee=_0x1edfa7;if(this[_0x39b0ee(0x201)]!==_0x169a1b[_0x39b0ee(0x260)]){if(this[_0x39b0ee(0x201)]===_0x169a1b[_0x39b0ee(0x29a)]){_0x4dd7f4(this,this[_0x39b0ee(0x2af)],_0x39b0ee(0x254));return;}if(this[_0x39b0ee(0x201)]===_0x169a1b['CLOSING']){this['_closeFrameSent']&&(this[_0x39b0ee(0x1e3)]||this[_0x39b0ee(0x28f)][_0x39b0ee(0x246)]['errorEmitted'])&&this[_0x39b0ee(0x1c7)]['end']();return;}this[_0x39b0ee(0x29c)]=_0x169a1b[_0x39b0ee(0x21a)],this[_0x39b0ee(0x214)][_0x39b0ee(0x26e)](_0x15e598,_0x4a5fbe,!this[_0x39b0ee(0x22a)],_0x1d09bf=>{const _0x32464a=_0x39b0ee;_0x1d09bf||(this['_closeFrameSent']=!0x0,(this[_0x32464a(0x1e3)]||this[_0x32464a(0x28f)][_0x32464a(0x246)]['errorEmitted'])&&this['_socket'][_0x32464a(0x1cd)]());}),_0x57de29(this);}}[_0x1edfa7(0x273)](){const _0x3e6523=_0x1edfa7;this[_0x3e6523(0x201)]===_0x169a1b[_0x3e6523(0x29a)]||this['readyState']===_0x169a1b[_0x3e6523(0x260)]||(this['_paused']=!0x0,this['_socket'][_0x3e6523(0x273)]());}[_0x1edfa7(0x1eb)](_0x4f4b0d,_0x3ae8be,_0x32fafb){const _0x2e3667=_0x1edfa7;if(this[_0x2e3667(0x201)]===_0x169a1b['CONNECTING'])throw new Error(_0x2e3667(0x301));if(typeof _0x4f4b0d==_0x2e3667(0x2d1)?(_0x32fafb=_0x4f4b0d,_0x4f4b0d=_0x3ae8be=void 0x0):typeof _0x3ae8be==_0x2e3667(0x2d1)&&(_0x32fafb=_0x3ae8be,_0x3ae8be=void 0x0),typeof _0x4f4b0d=='number'&&(_0x4f4b0d=_0x4f4b0d[_0x2e3667(0x29d)]()),this[_0x2e3667(0x201)]!==_0x169a1b[_0x2e3667(0x1c0)]){_0x16500b(this,_0x4f4b0d,_0x32fafb);return;}_0x3ae8be===void 0x0&&(_0x3ae8be=!this['_isServer']),this[_0x2e3667(0x214)][_0x2e3667(0x1eb)](_0x4f4b0d||_0x3a8818,_0x3ae8be,_0x32fafb);}[_0x1edfa7(0x1d9)](_0x3529fe,_0x10be76,_0x799374){const _0x129277=_0x1edfa7;if(this[_0x129277(0x201)]===_0x169a1b[_0x129277(0x29a)])throw new Error(_0x129277(0x301));if(typeof _0x3529fe==_0x129277(0x2d1)?(_0x799374=_0x3529fe,_0x3529fe=_0x10be76=void 0x0):typeof _0x10be76==_0x129277(0x2d1)&&(_0x799374=_0x10be76,_0x10be76=void 0x0),typeof _0x3529fe=='number'&&(_0x3529fe=_0x3529fe[_0x129277(0x29d)]()),this['readyState']!==_0x169a1b['OPEN']){_0x16500b(this,_0x3529fe,_0x799374);return;}_0x10be76===void 0x0&&(_0x10be76=!this[_0x129277(0x22a)]),this[_0x129277(0x214)][_0x129277(0x1d9)](_0x3529fe||_0x3a8818,_0x10be76,_0x799374);}['resume'](){const _0x5011b4=_0x1edfa7;this['readyState']===_0x169a1b['CONNECTING']||this[_0x5011b4(0x201)]===_0x169a1b[_0x5011b4(0x260)]||(this[_0x5011b4(0x216)]=!0x1,this[_0x5011b4(0x28f)][_0x5011b4(0x246)][_0x5011b4(0x2e5)]||this[_0x5011b4(0x1c7)][_0x5011b4(0x1dd)]());}[_0x1edfa7(0x2cb)](_0x1f9f16,_0xb996bf,_0x5c05ac){const _0x35e55a=_0x1edfa7;if(this[_0x35e55a(0x201)]===_0x169a1b[_0x35e55a(0x29a)])throw new Error(_0x35e55a(0x301));if(typeof _0xb996bf=='function'&&(_0x5c05ac=_0xb996bf,_0xb996bf={}),typeof _0x1f9f16==_0x35e55a(0x25d)&&(_0x1f9f16=_0x1f9f16[_0x35e55a(0x29d)]()),this[_0x35e55a(0x201)]!==_0x169a1b[_0x35e55a(0x1c0)]){_0x16500b(this,_0x1f9f16,_0x5c05ac);return;}const _0x50e5a3={'binary':typeof _0x1f9f16!=_0x35e55a(0x1d4),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xb996bf};this[_0x35e55a(0x2c6)][_0xa334e8['extensionName']]||(_0x50e5a3[_0x35e55a(0x1ee)]=!0x1),this[_0x35e55a(0x214)][_0x35e55a(0x2cb)](_0x1f9f16||_0x3a8818,_0x50e5a3,_0x5c05ac);}[_0x1edfa7(0x2d8)](){const _0x271262=_0x1edfa7;if(this['readyState']!==_0x169a1b[_0x271262(0x260)]){if(this[_0x271262(0x201)]===_0x169a1b[_0x271262(0x29a)]){_0x4dd7f4(this,this[_0x271262(0x2af)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x271262(0x1c7)]&&(this[_0x271262(0x29c)]=_0x169a1b[_0x271262(0x21a)],this[_0x271262(0x1c7)]['destroy']());}}}Object['defineProperty'](_0x169a1b,_0x1edfa7(0x29a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x29a))}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],_0x1edfa7(0x29a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x29a))}),Object['defineProperty'](_0x169a1b,_0x1edfa7(0x1c0),{'enumerable':!0x0,'value':_0x533a2f['indexOf'](_0x1edfa7(0x1c0))}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],_0x1edfa7(0x1c0),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)]('OPEN')}),Object[_0x1edfa7(0x34f)](_0x169a1b,_0x1edfa7(0x21a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x21a))}),Object[_0x1edfa7(0x34f)](_0x169a1b['prototype'],_0x1edfa7(0x21a),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)](_0x1edfa7(0x21a))}),Object[_0x1edfa7(0x34f)](_0x169a1b,_0x1edfa7(0x260),{'enumerable':!0x0,'value':_0x533a2f[_0x1edfa7(0x1e5)]('CLOSED')}),Object[_0x1edfa7(0x34f)](_0x169a1b[_0x1edfa7(0x359)],'CLOSED',{'enumerable':!0x0,'value':_0x533a2f['indexOf']('CLOSED')}),['binaryType',_0x1edfa7(0x287),_0x1edfa7(0x2eb),_0x1edfa7(0x1af),'protocol',_0x1edfa7(0x201),'url'][_0x1edfa7(0x1bf)](_0x4f0ade=>{const _0x28fe42=_0x1edfa7;Object['defineProperty'](_0x169a1b[_0x28fe42(0x359)],_0x4f0ade,{'enumerable':!0x0});}),[_0x1edfa7(0x2ce),_0x1edfa7(0x1c4),'close',_0x1edfa7(0x213)][_0x1edfa7(0x1bf)](_0x28cded=>{const _0x16494a=_0x1edfa7;Object[_0x16494a(0x34f)](_0x169a1b[_0x16494a(0x359)],'on'+_0x28cded,{'enumerable':!0x0,'get'(){for(const _0x5c5fb5 of this['listeners'](_0x28cded))if(_0x5c5fb5[_0x5cbcb9])return _0x5c5fb5[_0x8da17f];return null;},'set'(_0x4234c){const _0x21ce7c=_0x16494a;for(const _0x1ae15d of this[_0x21ce7c(0x2b7)](_0x28cded))if(_0x1ae15d[_0x5cbcb9]){this['removeListener'](_0x28cded,_0x1ae15d);break;}typeof _0x4234c==_0x21ce7c(0x2d1)&&this['addEventListener'](_0x28cded,_0x4234c,{[_0x5cbcb9]:!0x0});}});}),_0x169a1b['prototype']['addEventListener']=_0x377e8e,_0x169a1b['prototype'][_0x1edfa7(0x283)]=_0x53a74e,we=_0x169a1b;function _0x35b7da(_0x191a52,_0x3686f0,_0x1a07e6,_0x331851){const _0x441231=_0x1edfa7,_0x2b7b14={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x14e613[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x331851,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x441231(0x248),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x191a52[_0x441231(0x1ce)]=_0x2b7b14[_0x441231(0x307)],!_0x14e613['includes'](_0x2b7b14[_0x441231(0x280)]))throw new RangeError(_0x441231(0x320)+_0x2b7b14[_0x441231(0x280)]+_0x441231(0x25c)+_0x14e613['join'](',\x20')+')');let _0x575693;if(_0x3686f0 instanceof _0x3acb20)_0x575693=_0x3686f0;else try{_0x575693=new _0x3acb20(_0x3686f0);}catch{throw new SyntaxError(_0x441231(0x1c6)+_0x3686f0);}_0x575693[_0x441231(0x2d9)]===_0x441231(0x2cc)?_0x575693[_0x441231(0x2d9)]='ws:':_0x575693[_0x441231(0x2d9)]===_0x441231(0x215)&&(_0x575693['protocol']='wss:'),_0x191a52[_0x441231(0x22f)]=_0x575693[_0x441231(0x210)];const _0x339524=_0x575693[_0x441231(0x2d9)]===_0x441231(0x233),_0x43d9e6=_0x575693[_0x441231(0x2d9)]==='ws+unix:';let _0x22f8ab;if(_0x575693[_0x441231(0x2d9)]!==_0x441231(0x261)&&!_0x339524&&!_0x43d9e6?_0x22f8ab=_0x441231(0x1ae):_0x43d9e6&&!_0x575693[_0x441231(0x207)]?_0x22f8ab=_0x441231(0x331):_0x575693['hash']&&(_0x22f8ab='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x22f8ab){const _0x3eb07d=new SyntaxError(_0x22f8ab);if(_0x191a52[_0x441231(0x281)]===0x0)throw _0x3eb07d;_0x54161e(_0x191a52,_0x3eb07d);return;}const _0x2d2f7c=_0x339524?0x1bb:0x50,_0x30df9b=_0x1e47b8(0x10)[_0x441231(0x29d)](_0x441231(0x1b2)),_0x52ac50=_0x339524?_0xcee82c['request']:_0x31cdb4['request'],_0x992b22=new Set();let _0x323437;if(_0x2b7b14['createConnection']=_0x2b7b14[_0x441231(0x279)]||(_0x339524?_0x194803:_0xc73db3),_0x2b7b14[_0x441231(0x327)]=_0x2b7b14['defaultPort']||_0x2d2f7c,_0x2b7b14['port']=_0x575693[_0x441231(0x20d)]||_0x2d2f7c,_0x2b7b14[_0x441231(0x1b6)]=_0x575693[_0x441231(0x1fc)][_0x441231(0x222)]('[')?_0x575693[_0x441231(0x1fc)][_0x441231(0x2f8)](0x1,-0x1):_0x575693['hostname'],_0x2b7b14[_0x441231(0x1e2)]={..._0x2b7b14[_0x441231(0x1e2)],'Sec-WebSocket-Version':_0x2b7b14[_0x441231(0x280)],'Sec-WebSocket-Key':_0x30df9b,'Connection':_0x441231(0x20e),'Upgrade':'websocket'},_0x2b7b14[_0x441231(0x250)]=_0x575693[_0x441231(0x207)]+_0x575693[_0x441231(0x318)],_0x2b7b14[_0x441231(0x2bc)]=_0x2b7b14[_0x441231(0x219)],_0x2b7b14[_0x441231(0x2ba)]&&(_0x323437=new _0xa334e8(_0x2b7b14[_0x441231(0x2ba)]!==!0x0?_0x2b7b14[_0x441231(0x2ba)]:{},!0x1,_0x2b7b14[_0x441231(0x29f)]),_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Extensions']=_0x27730a({[_0xa334e8[_0x441231(0x305)]]:_0x323437[_0x441231(0x30b)]()})),_0x1a07e6[_0x441231(0x2d4)]){for(const _0x2058a5 of _0x1a07e6){if(typeof _0x2058a5!=_0x441231(0x1d4)||!_0x226dae[_0x441231(0x232)](_0x2058a5)||_0x992b22['has'](_0x2058a5))throw new SyntaxError(_0x441231(0x28a));_0x992b22['add'](_0x2058a5);}_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Protocol']=_0x1a07e6[_0x441231(0x299)](',');}if(_0x2b7b14[_0x441231(0x1b8)]&&(_0x2b7b14[_0x441231(0x280)]<0xd?_0x2b7b14[_0x441231(0x1e2)]['Sec-WebSocket-Origin']=_0x2b7b14['origin']:_0x2b7b14[_0x441231(0x1e2)][_0x441231(0x2e9)]=_0x2b7b14['origin']),(_0x575693[_0x441231(0x33a)]||_0x575693[_0x441231(0x2f6)])&&(_0x2b7b14['auth']=_0x575693[_0x441231(0x33a)]+':'+_0x575693[_0x441231(0x2f6)]),_0x43d9e6){const _0x565e09=_0x2b7b14[_0x441231(0x250)][_0x441231(0x204)](':');_0x2b7b14[_0x441231(0x262)]=_0x565e09[0x0],_0x2b7b14[_0x441231(0x250)]=_0x565e09[0x1];}let _0x28ab8b;if(_0x2b7b14['followRedirects']){if(_0x191a52[_0x441231(0x281)]===0x0){_0x191a52[_0x441231(0x23b)]=_0x43d9e6,_0x191a52[_0x441231(0x319)]=_0x339524,_0x191a52[_0x441231(0x30f)]=_0x43d9e6?_0x2b7b14['socketPath']:_0x575693[_0x441231(0x1b6)];const _0x82dd68=_0x331851&&_0x331851[_0x441231(0x1e2)];if(_0x331851={..._0x331851,'headers':{}},_0x82dd68){for(const [_0xea2b42,_0x4f49f0]of Object[_0x441231(0x266)](_0x82dd68))_0x331851[_0x441231(0x1e2)][_0xea2b42[_0x441231(0x2f7)]()]=_0x4f49f0;}}else{if(_0x191a52[_0x441231(0x2d0)]('redirect')===0x0){const _0xb9c144=_0x43d9e6?_0x191a52[_0x441231(0x23b)]?_0x2b7b14[_0x441231(0x262)]===_0x191a52[_0x441231(0x30f)]:!0x1:_0x191a52[_0x441231(0x23b)]?!0x1:_0x575693['host']===_0x191a52[_0x441231(0x30f)];(!_0xb9c144||_0x191a52[_0x441231(0x319)]&&!_0x339524)&&(delete _0x2b7b14[_0x441231(0x1e2)][_0x441231(0x27f)],delete _0x2b7b14['headers'][_0x441231(0x1fd)],_0xb9c144||delete _0x2b7b14[_0x441231(0x1e2)][_0x441231(0x1b6)],_0x2b7b14[_0x441231(0x26c)]=void 0x0);}}_0x2b7b14['auth']&&!_0x331851[_0x441231(0x1e2)]['authorization']&&(_0x331851[_0x441231(0x1e2)][_0x441231(0x27f)]=_0x441231(0x2d7)+Buffer[_0x441231(0x21e)](_0x2b7b14[_0x441231(0x26c)])[_0x441231(0x29d)](_0x441231(0x1b2))),_0x28ab8b=_0x191a52[_0x441231(0x2af)]=_0x52ac50(_0x2b7b14),_0x191a52[_0x441231(0x281)]&&_0x191a52[_0x441231(0x2ee)](_0x441231(0x27c),_0x191a52[_0x441231(0x2b2)],_0x28ab8b);}else _0x28ab8b=_0x191a52['_req']=_0x52ac50(_0x2b7b14);_0x2b7b14[_0x441231(0x2bc)]&&_0x28ab8b['on']('timeout',()=>{const _0x58c39c=_0x441231;_0x4dd7f4(_0x191a52,_0x28ab8b,_0x58c39c(0x336));}),_0x28ab8b['on'](_0x441231(0x1c4),_0x1cd68c=>{_0x28ab8b===null||_0x28ab8b[_0x44d53c]||(_0x28ab8b=_0x191a52['_req']=null,_0x54161e(_0x191a52,_0x1cd68c));}),_0x28ab8b['on'](_0x441231(0x2a6),_0x1ea270=>{const _0x26d64f=_0x441231,_0x233ecd=_0x1ea270[_0x26d64f(0x1e2)][_0x26d64f(0x284)],_0x1b3b04=_0x1ea270[_0x26d64f(0x349)];if(_0x233ecd&&_0x2b7b14[_0x26d64f(0x1ca)]&&_0x1b3b04>=0x12c&&_0x1b3b04<0x190){if(++_0x191a52['_redirects']>_0x2b7b14['maxRedirects']){_0x4dd7f4(_0x191a52,_0x28ab8b,_0x26d64f(0x238));return;}_0x28ab8b[_0x26d64f(0x351)]();let _0x28d87e;try{_0x28d87e=new _0x3acb20(_0x233ecd,_0x3686f0);}catch{const _0x429cfd=new SyntaxError('Invalid\x20URL:\x20'+_0x233ecd);_0x54161e(_0x191a52,_0x429cfd);return;}_0x35b7da(_0x191a52,_0x28d87e,_0x1a07e6,_0x331851);}else _0x191a52[_0x26d64f(0x2ee)]('unexpected-response',_0x28ab8b,_0x1ea270)||_0x4dd7f4(_0x191a52,_0x28ab8b,_0x26d64f(0x27e)+_0x1ea270[_0x26d64f(0x349)]);}),_0x28ab8b['on'](_0x441231(0x253),(_0x4de458,_0x23b3ce,_0x3161b7)=>{const _0x47ceb6=_0x441231;if(_0x191a52[_0x47ceb6(0x2ee)](_0x47ceb6(0x253),_0x4de458),_0x191a52['readyState']!==_0x169a1b[_0x47ceb6(0x29a)])return;_0x28ab8b=_0x191a52[_0x47ceb6(0x2af)]=null;const _0xa02905=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x253)];if(_0xa02905===void 0x0||_0xa02905['toLowerCase']()!==_0x47ceb6(0x242)){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x337));return;}const _0x4e53b1=_0x30b024(_0x47ceb6(0x1b3))[_0x47ceb6(0x1f6)](_0x30df9b+_0x18f12a)[_0x47ceb6(0x1f5)](_0x47ceb6(0x1b2));if(_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x340)]!==_0x4e53b1){_0x4dd7f4(_0x191a52,_0x23b3ce,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x516bf6=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x1bd)];let _0x34ef89;if(_0x516bf6!==void 0x0?_0x992b22[_0x47ceb6(0x1b5)]?_0x992b22[_0x47ceb6(0x345)](_0x516bf6)||(_0x34ef89='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x34ef89=_0x47ceb6(0x2b4):_0x992b22['size']&&(_0x34ef89=_0x47ceb6(0x2ef)),_0x34ef89){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x34ef89);return;}_0x516bf6&&(_0x191a52[_0x47ceb6(0x1b7)]=_0x516bf6);const _0x467fe7=_0x4de458[_0x47ceb6(0x1e2)][_0x47ceb6(0x2d5)];if(_0x467fe7!==void 0x0){if(!_0x323437){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x32f));return;}let _0x39af27;try{_0x39af27=_0x590bad(_0x467fe7);}catch{_0x4dd7f4(_0x191a52,_0x23b3ce,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x3efb96=Object['keys'](_0x39af27);if(_0x3efb96['length']!==0x1||_0x3efb96[0x0]!==_0xa334e8['extensionName']){_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x1dc));return;}try{_0x323437[_0x47ceb6(0x1f1)](_0x39af27[_0xa334e8['extensionName']]);}catch{_0x4dd7f4(_0x191a52,_0x23b3ce,_0x47ceb6(0x25f));return;}_0x191a52[_0x47ceb6(0x2c6)][_0xa334e8[_0x47ceb6(0x305)]]=_0x323437;}_0x191a52[_0x47ceb6(0x326)](_0x23b3ce,_0x3161b7,{'allowSynchronousEvents':_0x2b7b14[_0x47ceb6(0x35a)],'generateMask':_0x2b7b14[_0x47ceb6(0x27d)],'maxPayload':_0x2b7b14['maxPayload'],'skipUTF8Validation':_0x2b7b14[_0x47ceb6(0x2a2)]});}),_0x2b7b14[_0x441231(0x309)]?_0x2b7b14[_0x441231(0x309)](_0x28ab8b,_0x191a52):_0x28ab8b[_0x441231(0x1cd)]();}function _0x54161e(_0x2300eb,_0x195ce8){const _0x21b09a=_0x1edfa7;_0x2300eb[_0x21b09a(0x29c)]=_0x169a1b[_0x21b09a(0x21a)],_0x2300eb['_errorEmitted']=!0x0,_0x2300eb[_0x21b09a(0x2ee)](_0x21b09a(0x1c4),_0x195ce8),_0x2300eb[_0x21b09a(0x2b6)]();}function _0xc73db3(_0x17e197){const _0x478cb3=_0x1edfa7;return _0x17e197[_0x478cb3(0x250)]=_0x17e197[_0x478cb3(0x262)],_0x71dfbb['connect'](_0x17e197);}function _0x194803(_0x4b17c9){const _0x1cea3d=_0x1edfa7;return _0x4b17c9[_0x1cea3d(0x250)]=void 0x0,!_0x4b17c9[_0x1cea3d(0x2c2)]&&_0x4b17c9[_0x1cea3d(0x2c2)]!==''&&(_0x4b17c9[_0x1cea3d(0x2c2)]=_0x71dfbb[_0x1cea3d(0x2f1)](_0x4b17c9[_0x1cea3d(0x1b6)])?'':_0x4b17c9[_0x1cea3d(0x1b6)]),_0xf75bc9[_0x1cea3d(0x1e7)](_0x4b17c9);}function _0x4dd7f4(_0x71e998,_0x1526d6,_0xb69ff2){const _0x353f5c=_0x1edfa7;_0x71e998[_0x353f5c(0x29c)]=_0x169a1b[_0x353f5c(0x21a)];const _0x3afd96=new Error(_0xb69ff2);Error[_0x353f5c(0x288)](_0x3afd96,_0x4dd7f4),_0x1526d6[_0x353f5c(0x264)]?(_0x1526d6[_0x44d53c]=!0x0,_0x1526d6[_0x353f5c(0x351)](),_0x1526d6[_0x353f5c(0x342)]&&!_0x1526d6[_0x353f5c(0x342)]['destroyed']&&_0x1526d6[_0x353f5c(0x342)][_0x353f5c(0x28d)](),process['nextTick'](_0x54161e,_0x71e998,_0x3afd96)):(_0x1526d6[_0x353f5c(0x28d)](_0x3afd96),_0x1526d6[_0x353f5c(0x2a8)]('error',_0x71e998['emit'][_0x353f5c(0x211)](_0x71e998,'error')),_0x1526d6[_0x353f5c(0x2a8)]('close',_0x71e998[_0x353f5c(0x2b6)][_0x353f5c(0x211)](_0x71e998)));}function _0x16500b(_0xa9b5df,_0x2ff833,_0x1434ae){const _0x34207c=_0x1edfa7;if(_0x2ff833){const _0x51f55d=_0x1341c9(_0x2ff833)?_0x2ff833['size']:_0x40cc91(_0x2ff833)[_0x34207c(0x2d4)];_0xa9b5df[_0x34207c(0x1c7)]?_0xa9b5df[_0x34207c(0x214)][_0x34207c(0x315)]+=_0x51f55d:_0xa9b5df[_0x34207c(0x24d)]+=_0x51f55d;}if(_0x1434ae){const _0x271cbe=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xa9b5df[_0x34207c(0x201)]+'\x20('+_0x533a2f[_0xa9b5df['readyState']]+')');process[_0x34207c(0x277)](_0x1434ae,_0x271cbe);}}function _0x3b895c(_0x3039a,_0x150654){const _0x1ef059=_0x1edfa7,_0x47b7f6=this[_0x2d0926];_0x47b7f6[_0x1ef059(0x1e3)]=!0x0,_0x47b7f6[_0x1ef059(0x2fb)]=_0x150654,_0x47b7f6[_0x1ef059(0x1e0)]=_0x3039a,_0x47b7f6[_0x1ef059(0x1c7)][_0x2d0926]!==void 0x0&&(_0x47b7f6[_0x1ef059(0x1c7)][_0x1ef059(0x330)](_0x1ef059(0x33b),_0x10fa9d),process['nextTick'](_0x4457d8,_0x47b7f6[_0x1ef059(0x1c7)]),_0x3039a===0x3ed?_0x47b7f6[_0x1ef059(0x26e)]():_0x47b7f6[_0x1ef059(0x26e)](_0x3039a,_0x150654));}function _0x38118a(){const _0x23bd29=_0x1edfa7,_0x4eef6d=this[_0x2d0926];_0x4eef6d[_0x23bd29(0x1af)]||_0x4eef6d[_0x23bd29(0x1c7)][_0x23bd29(0x1dd)]();}function _0x17aeda(_0x393c15){const _0x5a2866=_0x1edfa7,_0x310187=this[_0x2d0926];_0x310187[_0x5a2866(0x1c7)][_0x2d0926]!==void 0x0&&(_0x310187[_0x5a2866(0x1c7)][_0x5a2866(0x330)]('data',_0x10fa9d),process[_0x5a2866(0x277)](_0x4457d8,_0x310187[_0x5a2866(0x1c7)]),_0x310187[_0x5a2866(0x26e)](_0x393c15[_0x36e375])),_0x310187[_0x5a2866(0x1fe)]||(_0x310187[_0x5a2866(0x1fe)]=!0x0,_0x310187[_0x5a2866(0x2ee)]('error',_0x393c15));}function _0x2941cc(){const _0x549dfa=_0x1edfa7;this[_0x2d0926][_0x549dfa(0x2b6)]();}function _0x11ff56(_0x301216,_0x55764b){const _0x7705b8=_0x1edfa7;this[_0x2d0926][_0x7705b8(0x2ee)](_0x7705b8(0x213),_0x301216,_0x55764b);}function _0x49fb15(_0x246aa1){const _0x18a321=_0x1edfa7,_0xec800=this[_0x2d0926];_0xec800['_autoPong']&&_0xec800[_0x18a321(0x1d9)](_0x246aa1,!this['_isServer'],_0x4728fb),_0xec800[_0x18a321(0x2ee)](_0x18a321(0x1eb),_0x246aa1);}function _0x5c8ebb(_0x3370e9){const _0x1612a0=_0x1edfa7;this[_0x2d0926]['emit'](_0x1612a0(0x1d9),_0x3370e9);}function _0x4457d8(_0x5517e0){const _0xf3c22f=_0x1edfa7;_0x5517e0[_0xf3c22f(0x1dd)]();}function _0x4e3b9(_0x4bccaa){const _0x41f290=_0x1edfa7,_0x360a1f=this[_0x2d0926];_0x360a1f['readyState']!==_0x169a1b[_0x41f290(0x260)]&&(_0x360a1f['readyState']===_0x169a1b[_0x41f290(0x1c0)]&&(_0x360a1f[_0x41f290(0x29c)]=_0x169a1b['CLOSING'],_0x57de29(_0x360a1f)),this[_0x41f290(0x1c7)][_0x41f290(0x1cd)](),_0x360a1f[_0x41f290(0x1fe)]||(_0x360a1f[_0x41f290(0x1fe)]=!0x0,_0x360a1f[_0x41f290(0x2ee)](_0x41f290(0x1c4),_0x4bccaa)));}function _0x57de29(_0x27fc95){const _0x59dcaa=_0x1edfa7;_0x27fc95[_0x59dcaa(0x2c4)]=setTimeout(_0x27fc95[_0x59dcaa(0x1c7)][_0x59dcaa(0x28d)][_0x59dcaa(0x211)](_0x27fc95[_0x59dcaa(0x1c7)]),_0x24db5b);}function _0x1a5b1d(){const _0x1ba458=_0x1edfa7,_0x29f3d6=this[_0x2d0926];this[_0x1ba458(0x330)](_0x1ba458(0x26e),_0x1a5b1d),this[_0x1ba458(0x330)](_0x1ba458(0x33b),_0x10fa9d),this['removeListener'](_0x1ba458(0x1cd),_0x272f7e),_0x29f3d6[_0x1ba458(0x29c)]=_0x169a1b[_0x1ba458(0x21a)];let _0x3e9180;!this[_0x1ba458(0x2ea)][_0x1ba458(0x2c5)]&&!_0x29f3d6[_0x1ba458(0x1e3)]&&!_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x1bb)]&&(_0x3e9180=_0x29f3d6[_0x1ba458(0x1c7)][_0x1ba458(0x2e1)]())!==null&&_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x2ec)](_0x3e9180),_0x29f3d6['_receiver'][_0x1ba458(0x1cd)](),this[_0x2d0926]=void 0x0,clearTimeout(_0x29f3d6[_0x1ba458(0x2c4)]),_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x306)]||_0x29f3d6[_0x1ba458(0x28f)][_0x1ba458(0x246)][_0x1ba458(0x1bb)]?_0x29f3d6['emitClose']():(_0x29f3d6[_0x1ba458(0x28f)]['on']('error',_0x2941cc),_0x29f3d6[_0x1ba458(0x28f)]['on'](_0x1ba458(0x1f7),_0x2941cc));}function _0x10fa9d(_0x18ee59){const _0x3e636c=_0x1edfa7;this[_0x2d0926]['_receiver'][_0x3e636c(0x2ec)](_0x18ee59)||this[_0x3e636c(0x273)]();}function _0x272f7e(){const _0x5b38fa=_0x1edfa7,_0x1c494e=this[_0x2d0926];_0x1c494e[_0x5b38fa(0x29c)]=_0x169a1b[_0x5b38fa(0x21a)],_0x1c494e['_receiver'][_0x5b38fa(0x1cd)](),this[_0x5b38fa(0x1cd)]();}function _0x5c4531(){const _0x2c9c6b=_0x1edfa7,_0x4ca7d9=this[_0x2d0926];this[_0x2c9c6b(0x330)](_0x2c9c6b(0x1c4),_0x5c4531),this['on'](_0x2c9c6b(0x1c4),_0x4728fb),_0x4ca7d9&&(_0x4ca7d9['_readyState']=_0x169a1b[_0x2c9c6b(0x21a)],this[_0x2c9c6b(0x28d)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0x57d527}=_0x1fd5aa;function _0x236442(_0x13c068){const _0x5e34c9=_0x1103;_0x13c068['emit'](_0x5e34c9(0x26e));}function _0x35dbac(){const _0x4c4eb6=_0x1103;!this[_0x4c4eb6(0x1fa)]&&this[_0x4c4eb6(0x246)][_0x4c4eb6(0x306)]&&this[_0x4c4eb6(0x28d)]();}function _0x19282c(_0x32b345){const _0x3a5f50=_0x1103;this['removeListener'](_0x3a5f50(0x1c4),_0x19282c),this[_0x3a5f50(0x28d)](),this[_0x3a5f50(0x2d0)]('error')===0x0&&this[_0x3a5f50(0x2ee)]('error',_0x32b345);}function _0x408817(_0x9fa73b,_0x3ef768){const _0xa6ca88=_0x1103;let _0x4a4f7c=!0x0;const _0x1840ed=new _0x57d527({..._0x3ef768,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x9fa73b['on'](_0xa6ca88(0x213),function(_0x119497,_0x1bb036){const _0x460095=_0xa6ca88,_0x9e6b87=!_0x1bb036&&_0x1840ed[_0x460095(0x2ea)][_0x460095(0x2cd)]?_0x119497[_0x460095(0x29d)]():_0x119497;_0x1840ed['push'](_0x9e6b87)||_0x9fa73b[_0x460095(0x273)]();}),_0x9fa73b['once'](_0xa6ca88(0x1c4),function(_0x1d069e){const _0x4a3caa=_0xa6ca88;_0x1840ed[_0x4a3caa(0x1fa)]||(_0x4a4f7c=!0x1,_0x1840ed[_0x4a3caa(0x28d)](_0x1d069e));}),_0x9fa73b[_0xa6ca88(0x2a8)](_0xa6ca88(0x26e),function(){const _0x374265=_0xa6ca88;_0x1840ed['destroyed']||_0x1840ed[_0x374265(0x2e4)](null);}),_0x1840ed[_0xa6ca88(0x220)]=function(_0x1c1018,_0x4285bf){const _0x1f5b2a=_0xa6ca88;if(_0x9fa73b[_0x1f5b2a(0x201)]===_0x9fa73b[_0x1f5b2a(0x260)]){_0x4285bf(_0x1c1018),process[_0x1f5b2a(0x277)](_0x236442,_0x1840ed);return;}let _0x46ff64=!0x1;_0x9fa73b[_0x1f5b2a(0x2a8)](_0x1f5b2a(0x1c4),function(_0x1dd794){_0x46ff64=!0x0,_0x4285bf(_0x1dd794);}),_0x9fa73b[_0x1f5b2a(0x2a8)](_0x1f5b2a(0x26e),function(){const _0x2aeeb1=_0x1f5b2a;_0x46ff64||_0x4285bf(_0x1c1018),process[_0x2aeeb1(0x277)](_0x236442,_0x1840ed);}),_0x4a4f7c&&_0x9fa73b[_0x1f5b2a(0x2d8)]();},_0x1840ed['_final']=function(_0x420ee6){const _0x52dbee=_0xa6ca88;if(_0x9fa73b[_0x52dbee(0x201)]===_0x9fa73b[_0x52dbee(0x29a)]){_0x9fa73b[_0x52dbee(0x2a8)](_0x52dbee(0x2ce),function(){const _0x2f1503=_0x52dbee;_0x1840ed[_0x2f1503(0x2e0)](_0x420ee6);});return;}_0x9fa73b[_0x52dbee(0x1c7)]!==null&&(_0x9fa73b[_0x52dbee(0x1c7)]['_writableState'][_0x52dbee(0x306)]?(_0x420ee6(),_0x1840ed['_readableState'][_0x52dbee(0x2c5)]&&_0x1840ed[_0x52dbee(0x28d)]()):(_0x9fa73b[_0x52dbee(0x1c7)][_0x52dbee(0x2a8)](_0x52dbee(0x1f7),function(){_0x420ee6();}),_0x9fa73b[_0x52dbee(0x26e)]()));},_0x1840ed['_read']=function(){const _0x6cb57f=_0xa6ca88;_0x9fa73b[_0x6cb57f(0x1af)]&&_0x9fa73b[_0x6cb57f(0x1dd)]();},_0x1840ed[_0xa6ca88(0x35e)]=function(_0x95a7ab,_0x45bd26,_0x1372db){const _0x131108=_0xa6ca88;if(_0x9fa73b[_0x131108(0x201)]===_0x9fa73b[_0x131108(0x29a)]){_0x9fa73b[_0x131108(0x2a8)](_0x131108(0x2ce),function(){_0x1840ed['_write'](_0x95a7ab,_0x45bd26,_0x1372db);});return;}_0x9fa73b[_0x131108(0x2cb)](_0x95a7ab,_0x1372db);},_0x1840ed['on'](_0xa6ca88(0x1cd),_0x35dbac),_0x1840ed['on']('error',_0x19282c),_0x1840ed;}return Oe=_0x408817,Oe;}Yt(),ht(),ut();var Kt=Be();const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x2f027b}=ie();function _0x5ce716(_0x515143){const _0x490d95=_0x1103,_0x3948b6=new Set();let _0x52d9d8=-0x1,_0x51c42a=-0x1,_0x26d1b7=0x0;for(_0x26d1b7;_0x26d1b7<_0x515143[_0x490d95(0x2d4)];_0x26d1b7++){const _0x1d307e=_0x515143[_0x490d95(0x354)](_0x26d1b7);if(_0x51c42a===-0x1&&_0x2f027b[_0x1d307e]===0x1)_0x52d9d8===-0x1&&(_0x52d9d8=_0x26d1b7);else{if(_0x26d1b7!==0x0&&(_0x1d307e===0x20||_0x1d307e===0x9))_0x51c42a===-0x1&&_0x52d9d8!==-0x1&&(_0x51c42a=_0x26d1b7);else{if(_0x1d307e===0x2c){if(_0x52d9d8===-0x1)throw new SyntaxError(_0x490d95(0x302)+_0x26d1b7);_0x51c42a===-0x1&&(_0x51c42a=_0x26d1b7);const _0x8bc224=_0x515143['slice'](_0x52d9d8,_0x51c42a);if(_0x3948b6[_0x490d95(0x345)](_0x8bc224))throw new SyntaxError(_0x490d95(0x2d3)+_0x8bc224+_0x490d95(0x1b1));_0x3948b6['add'](_0x8bc224),_0x52d9d8=_0x51c42a=-0x1;}else throw new SyntaxError(_0x490d95(0x302)+_0x26d1b7);}}}if(_0x52d9d8===-0x1||_0x51c42a!==-0x1)throw new SyntaxError(_0x490d95(0x23e));const _0x1985a2=_0x515143[_0x490d95(0x2f8)](_0x52d9d8,_0x26d1b7);if(_0x3948b6['has'](_0x1985a2))throw new SyntaxError(_0x490d95(0x2d3)+_0x1985a2+_0x490d95(0x1b1));return _0x3948b6[_0x490d95(0x271)](_0x1985a2),_0x3948b6;}return Ce={'parse':_0x5ce716},Ce;}var Te,it;function Qt(){const _0x2d8765=_0x2e07f2;if(it)return Te;it=0x1;const _0xbd8107=_0xfa26c6,_0x1b6e02=_0x43bc88,{Duplex:_0x1af18f}=_0x1fd5aa,{createHash:_0x156677}=_0x449068,_0x5e71f2=dt(),_0x5c1d6c=ce(),_0x235747=Zt(),_0x528358=Be(),{GUID:_0x527301,kWebSocket:_0x1d3cc5}=V(),_0x8f4d4a=/^[+/0-9A-Za-z]{22}==$/,_0xc2f4be=0x0,_0x1af45a=0x1,_0x52d149=0x2;class _0x1428da extends _0xbd8107{constructor(_0x45f6bc,_0x44a778){const _0x324682=_0x1103;if(super(),_0x45f6bc={'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':_0x528358,..._0x45f6bc},_0x45f6bc[_0x324682(0x20d)]==null&&!_0x45f6bc[_0x324682(0x1f8)]&&!_0x45f6bc[_0x324682(0x35b)]||_0x45f6bc['port']!=null&&(_0x45f6bc[_0x324682(0x1f8)]||_0x45f6bc[_0x324682(0x35b)])||_0x45f6bc['server']&&_0x45f6bc[_0x324682(0x35b)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x45f6bc[_0x324682(0x20d)]!=null?(this[_0x324682(0x247)]=_0x1b6e02[_0x324682(0x1e4)]((_0x411caa,_0x206bc9)=>{const _0x3fb8f4=_0x324682,_0x2a6213=_0x1b6e02[_0x3fb8f4(0x34c)][0x1aa];_0x206bc9[_0x3fb8f4(0x323)](0x1aa,{'Content-Length':_0x2a6213[_0x3fb8f4(0x2d4)],'Content-Type':_0x3fb8f4(0x218)}),_0x206bc9[_0x3fb8f4(0x1cd)](_0x2a6213);}),this[_0x324682(0x247)][_0x324682(0x24c)](_0x45f6bc[_0x324682(0x20d)],_0x45f6bc[_0x324682(0x1b6)],_0x45f6bc['backlog'],_0x44a778)):_0x45f6bc[_0x324682(0x1f8)]&&(this[_0x324682(0x247)]=_0x45f6bc[_0x324682(0x1f8)]),this['_server']){const _0x21c4d0=this['emit'][_0x324682(0x211)](this,_0x324682(0x243));this[_0x324682(0x2ae)]=_0x3e35a3(this['_server'],{'listening':this[_0x324682(0x2ee)]['bind'](this,_0x324682(0x2db)),'error':this[_0x324682(0x2ee)][_0x324682(0x211)](this,_0x324682(0x1c4)),'upgrade':(_0x16e469,_0x264927,_0x587a96)=>{const _0x45d22c=_0x324682;this[_0x45d22c(0x237)](_0x16e469,_0x264927,_0x587a96,_0x21c4d0);}});}_0x45f6bc['perMessageDeflate']===!0x0&&(_0x45f6bc[_0x324682(0x2ba)]={}),_0x45f6bc[_0x324682(0x1e8)]&&(this['clients']=new Set(),this[_0x324682(0x31e)]=!0x1),this[_0x324682(0x31b)]=_0x45f6bc,this[_0x324682(0x2aa)]=_0xc2f4be;}[_0x2d8765(0x2f2)](){const _0x3402b4=_0x2d8765;if(this['options'][_0x3402b4(0x35b)])throw new Error(_0x3402b4(0x1cf));return this[_0x3402b4(0x247)]?this[_0x3402b4(0x247)][_0x3402b4(0x2f2)]():null;}[_0x2d8765(0x26e)](_0x5c85eb){const _0x4b3e2b=_0x2d8765;if(this[_0x4b3e2b(0x2aa)]===_0x52d149){_0x5c85eb&&this[_0x4b3e2b(0x2a8)](_0x4b3e2b(0x26e),()=>{const _0x23dd77=_0x4b3e2b;_0x5c85eb(new Error(_0x23dd77(0x348)));}),process[_0x4b3e2b(0x277)](_0x3bc45e,this);return;}if(_0x5c85eb&&this['once'](_0x4b3e2b(0x26e),_0x5c85eb),this[_0x4b3e2b(0x2aa)]!==_0x1af45a){if(this[_0x4b3e2b(0x2aa)]=_0x1af45a,this[_0x4b3e2b(0x31b)][_0x4b3e2b(0x35b)]||this['options'][_0x4b3e2b(0x1f8)])this[_0x4b3e2b(0x247)]&&(this[_0x4b3e2b(0x2ae)](),this[_0x4b3e2b(0x2ae)]=this['_server']=null),this[_0x4b3e2b(0x229)]?this[_0x4b3e2b(0x229)]['size']?this[_0x4b3e2b(0x31e)]=!0x0:process[_0x4b3e2b(0x277)](_0x3bc45e,this):process[_0x4b3e2b(0x277)](_0x3bc45e,this);else{const _0xfe584d=this[_0x4b3e2b(0x247)];this[_0x4b3e2b(0x2ae)](),this['_removeListeners']=this['_server']=null,_0xfe584d[_0x4b3e2b(0x26e)](()=>{_0x3bc45e(this);});}}}[_0x2d8765(0x35d)](_0x41816a){const _0x4650ee=_0x2d8765;if(this[_0x4650ee(0x31b)]['path']){const _0x238750=_0x41816a['url']['indexOf']('?');if((_0x238750!==-0x1?_0x41816a['url'][_0x4650ee(0x2f8)](0x0,_0x238750):_0x41816a[_0x4650ee(0x2b2)])!==this['options'][_0x4650ee(0x250)])return!0x1;}return!0x0;}['handleUpgrade'](_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b){const _0x476380=_0x2d8765;_0x4fdac5['on'](_0x476380(0x1c4),_0x3eb102);const _0xbae69=_0x45d53f['headers'][_0x476380(0x23f)],_0x1dfbbc=_0x45d53f['headers']['upgrade'],_0x2f43fb=+_0x45d53f[_0x476380(0x1e2)][_0x476380(0x1c9)];if(_0x45d53f[_0x476380(0x221)]!==_0x476380(0x248)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x195,_0x476380(0x355));return;}if(_0x1dfbbc===void 0x0||_0x1dfbbc[_0x476380(0x2f7)]()!==_0x476380(0x242)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x337));return;}if(_0xbae69===void 0x0||!_0x8f4d4a[_0x476380(0x232)](_0xbae69)){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x2f43fb!==0xd&&_0x2f43fb!==0x8){_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x314),{'Sec-WebSocket-Version':_0x476380(0x2e8)});return;}if(!this[_0x476380(0x35d)](_0x45d53f)){_0x145723(_0x4fdac5,0x190);return;}const _0x272529=_0x45d53f[_0x476380(0x1e2)][_0x476380(0x1bd)];let _0x865408=new Set();if(_0x272529!==void 0x0)try{_0x865408=_0x235747[_0x476380(0x30c)](_0x272529);}catch{_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xaf82b2=_0x45d53f[_0x476380(0x1e2)][_0x476380(0x2d5)],_0x318c73={};if(this[_0x476380(0x31b)]['perMessageDeflate']&&_0xaf82b2!==void 0x0){const _0x1bff79=new _0x5c1d6c(this['options'][_0x476380(0x2ba)],!0x0,this[_0x476380(0x31b)]['maxPayload']);try{const _0x2f2b0b=_0x5e71f2[_0x476380(0x30c)](_0xaf82b2);_0x2f2b0b[_0x5c1d6c[_0x476380(0x305)]]&&(_0x1bff79['accept'](_0x2f2b0b[_0x5c1d6c[_0x476380(0x305)]]),_0x318c73[_0x5c1d6c[_0x476380(0x305)]]=_0x1bff79);}catch{_0x14b313(this,_0x45d53f,_0x4fdac5,0x190,_0x476380(0x2bb));return;}}if(this[_0x476380(0x31b)][_0x476380(0x2b0)]){const _0x5adb3b={'origin':_0x45d53f[_0x476380(0x1e2)][''+(_0x2f43fb===0x8?_0x476380(0x269):_0x476380(0x1b8))],'secure':!!(_0x45d53f[_0x476380(0x342)][_0x476380(0x34e)]||_0x45d53f[_0x476380(0x342)][_0x476380(0x1b4)]),'req':_0x45d53f};if(this['options'][_0x476380(0x2b0)][_0x476380(0x2d4)]===0x2){this[_0x476380(0x31b)][_0x476380(0x2b0)](_0x5adb3b,(_0x297959,_0x2fcaf1,_0x54f577,_0x2c2947)=>{const _0x17dc87=_0x476380;if(!_0x297959)return _0x145723(_0x4fdac5,_0x2fcaf1||0x191,_0x54f577,_0x2c2947);this[_0x17dc87(0x2b3)](_0x318c73,_0xbae69,_0x865408,_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b);});return;}if(!this[_0x476380(0x31b)][_0x476380(0x2b0)](_0x5adb3b))return _0x145723(_0x4fdac5,0x191);}this[_0x476380(0x2b3)](_0x318c73,_0xbae69,_0x865408,_0x45d53f,_0x4fdac5,_0x467148,_0x40e77b);}[_0x2d8765(0x2b3)](_0x5b3b61,_0x4c1a81,_0x12b9ba,_0x320a00,_0x2a5620,_0x4bcd0b,_0x720278){const _0x9f8db1=_0x2d8765;if(!_0x2a5620[_0x9f8db1(0x1de)]||!_0x2a5620[_0x9f8db1(0x28b)])return _0x2a5620[_0x9f8db1(0x28d)]();if(_0x2a5620[_0x1d3cc5])throw new Error(_0x9f8db1(0x274));if(this['_state']>_0xc2f4be)return _0x145723(_0x2a5620,0x1f7);const _0x40362b=[_0x9f8db1(0x2b8),_0x9f8db1(0x2cf),_0x9f8db1(0x252),'Sec-WebSocket-Accept:\x20'+_0x156677('sha1')['update'](_0x4c1a81+_0x527301)[_0x9f8db1(0x1f5)](_0x9f8db1(0x1b2))],_0x1088e0=new this[(_0x9f8db1(0x31b))][(_0x9f8db1(0x263))](null,void 0x0,this[_0x9f8db1(0x31b)]);if(_0x12b9ba['size']){const _0x19b3a9=this[_0x9f8db1(0x31b)][_0x9f8db1(0x208)]?this[_0x9f8db1(0x31b)][_0x9f8db1(0x208)](_0x12b9ba,_0x320a00):_0x12b9ba[_0x9f8db1(0x268)]()['next']()[_0x9f8db1(0x265)];_0x19b3a9&&(_0x40362b['push'](_0x9f8db1(0x308)+_0x19b3a9),_0x1088e0[_0x9f8db1(0x1b7)]=_0x19b3a9);}if(_0x5b3b61[_0x5c1d6c[_0x9f8db1(0x305)]]){const _0x55522f=_0x5b3b61[_0x5c1d6c[_0x9f8db1(0x305)]][_0x9f8db1(0x224)],_0xa7f295=_0x5e71f2['format']({[_0x5c1d6c['extensionName']]:[_0x55522f]});_0x40362b[_0x9f8db1(0x2e4)](_0x9f8db1(0x225)+_0xa7f295),_0x1088e0[_0x9f8db1(0x2c6)]=_0x5b3b61;}this[_0x9f8db1(0x2ee)](_0x9f8db1(0x1e2),_0x40362b,_0x320a00),_0x2a5620['write'](_0x40362b[_0x9f8db1(0x1b0)]('\x0d\x0a')[_0x9f8db1(0x299)]('\x0d\x0a')),_0x2a5620[_0x9f8db1(0x330)](_0x9f8db1(0x1c4),_0x3eb102),_0x1088e0[_0x9f8db1(0x326)](_0x2a5620,_0x4bcd0b,{'allowSynchronousEvents':this['options'][_0x9f8db1(0x35a)],'maxPayload':this[_0x9f8db1(0x31b)][_0x9f8db1(0x29f)],'skipUTF8Validation':this[_0x9f8db1(0x31b)][_0x9f8db1(0x2a2)]}),this[_0x9f8db1(0x229)]&&(this[_0x9f8db1(0x229)][_0x9f8db1(0x271)](_0x1088e0),_0x1088e0['on'](_0x9f8db1(0x26e),()=>{const _0x599f21=_0x9f8db1;this[_0x599f21(0x229)][_0x599f21(0x1db)](_0x1088e0),this[_0x599f21(0x31e)]&&!this[_0x599f21(0x229)][_0x599f21(0x1b5)]&&process[_0x599f21(0x277)](_0x3bc45e,this);})),_0x720278(_0x1088e0,_0x320a00);}}Te=_0x1428da;function _0x3e35a3(_0x42c2f7,_0x2dba31){const _0x57eed9=_0x2d8765;for(const _0x52bed6 of Object[_0x57eed9(0x22d)](_0x2dba31))_0x42c2f7['on'](_0x52bed6,_0x2dba31[_0x52bed6]);return function(){const _0x445478=_0x57eed9;for(const _0x576066 of Object[_0x445478(0x22d)](_0x2dba31))_0x42c2f7[_0x445478(0x330)](_0x576066,_0x2dba31[_0x576066]);};}function _0x3bc45e(_0x27c7e8){const _0x291567=_0x2d8765;_0x27c7e8[_0x291567(0x2aa)]=_0x52d149,_0x27c7e8['emit'](_0x291567(0x26e));}function _0x3eb102(){const _0x3502b0=_0x2d8765;this[_0x3502b0(0x28d)]();}function _0x145723(_0xa14356,_0x257ec3,_0x24ff49,_0x4166b7){const _0x5227e8=_0x2d8765;_0x24ff49=_0x24ff49||_0x1b6e02['STATUS_CODES'][_0x257ec3],_0x4166b7={'Connection':_0x5227e8(0x26e),'Content-Type':_0x5227e8(0x31a),'Content-Length':Buffer[_0x5227e8(0x32c)](_0x24ff49),..._0x4166b7},_0xa14356['once'](_0x5227e8(0x1f7),_0xa14356[_0x5227e8(0x28d)]),_0xa14356[_0x5227e8(0x1cd)](_0x5227e8(0x2a5)+_0x257ec3+'\x20'+_0x1b6e02['STATUS_CODES'][_0x257ec3]+'\x0d\x0a'+Object[_0x5227e8(0x22d)](_0x4166b7)[_0x5227e8(0x27b)](_0xc8aeef=>_0xc8aeef+':\x20'+_0x4166b7[_0xc8aeef])[_0x5227e8(0x299)]('\x0d\x0a')+_0x5227e8(0x2fa)+_0x24ff49);}function _0x14b313(_0x231119,_0x5d3090,_0x524254,_0x40ec46,_0x5e5b70,_0x69d41f){const _0x1c60c5=_0x2d8765;if(_0x231119[_0x1c60c5(0x2d0)]('wsClientError')){const _0xfb2a51=new Error(_0x5e5b70);Error['captureStackTrace'](_0xfb2a51,_0x14b313),_0x231119[_0x1c60c5(0x2ee)]('wsClientError',_0xfb2a51,_0x524254,_0x5d3090);}else _0x145723(_0x524254,_0x40ec46,_0x5e5b70,_0x69d41f);}return Te;}Qt();var Jt=Object[_0x2e07f2(0x2fc)],er=(_0x374ec1,_0x5575f7,_0x4d288b,_0x2be337)=>{const _0x5bffff=_0x2e07f2;for(var _0x48f935=_0x2be337>0x1?void 0x0:_0x2be337?Jt(_0x5575f7,_0x4d288b):_0x5575f7,_0x483d28=_0x374ec1[_0x5bffff(0x2d4)]-0x1,_0x4882b5;_0x483d28>=0x0;_0x483d28--)(_0x4882b5=_0x374ec1[_0x483d28])&&(_0x48f935=_0x4882b5(_0x48f935)||_0x48f935);return _0x48f935;},tr=(_0x40be31,_0x46ca21)=>(_0xdee19,_0x3a88d0)=>_0x46ca21(_0xdee19,_0x3a88d0,_0x40be31);let ke=class extends _0x39f382{constructor(_0x617cec){const _0x5eb7a7=_0x2e07f2;super(),this[_0x5eb7a7(0x20c)]=_0x617cec;}[_0x2e07f2(0x333)](_0x72aa4e){const _0x3a33ba=_0x2e07f2;var _0x4c3329;const _0x5b86bc=((_0x4c3329=this[_0x3a33ba(0x20c)]['getConfig'](_0x491e33))==null?void 0x0:_0x4c3329[_0x3a33ba(0x2c9)])||{};try{const _0x7e857c=new Xt(_0x72aa4e,{'headers':{..._0x5b86bc}}),_0x566461=new _0xc40d42();return{'URL':_0x72aa4e,'close':(_0x17509f,_0x15b671)=>{const _0x2b49a8=_0x3a33ba;_0x7e857c[_0x2b49a8(0x26e)](_0x17509f,_0x15b671),_0x566461[_0x2b49a8(0x21f)]();},'send':_0x4f59f5=>{const _0x2e7992=_0x3a33ba;_0x7e857c[_0x2e7992(0x2cb)](_0x4f59f5);},'open$':new _0x2860cc(_0x155a03=>{const _0x216dd0=_0x3a33ba,_0x5e3324=_0x81ea2=>_0x155a03['next'](_0x81ea2);_0x7e857c[_0x216dd0(0x2f9)](_0x216dd0(0x2ce),_0x5e3324),_0x566461[_0x216dd0(0x271)](_0x586f45(()=>_0x7e857c[_0x216dd0(0x283)](_0x216dd0(0x2ce),_0x5e3324)));})[_0x3a33ba(0x334)](_0x3b5c28()),'close$':new _0x2860cc(_0x3add1e=>{const _0x58309e=_0x3a33ba,_0x1520ce=_0xbf9606=>_0x3add1e['next'](_0xbf9606);_0x7e857c[_0x58309e(0x2f9)]('close',_0x1520ce),_0x566461['add'](_0x586f45(()=>_0x7e857c[_0x58309e(0x283)]('close',_0x1520ce)));})[_0x3a33ba(0x334)](_0x3b5c28()),'error$':new _0x2860cc(_0x46a6c6=>{const _0x3725b5=_0x3a33ba,_0x16df6f=_0x27131d=>_0x46a6c6[_0x3725b5(0x2ab)](_0x27131d);_0x7e857c[_0x3725b5(0x2f9)](_0x3725b5(0x1c4),_0x16df6f),_0x566461[_0x3725b5(0x271)](_0x586f45(()=>_0x7e857c[_0x3725b5(0x283)](_0x3725b5(0x1c4),_0x16df6f)));})[_0x3a33ba(0x334)](_0x3b5c28()),'message$':new _0x2860cc(_0x2d8f2d=>{const _0x360d0b=_0x3a33ba,_0x3ec9bf=_0x362d9f=>_0x2d8f2d[_0x360d0b(0x2ab)](_0x362d9f);_0x7e857c['addEventListener']('message',_0x3ec9bf),_0x566461[_0x360d0b(0x271)](_0x586f45(()=>_0x7e857c['removeEventListener']('message',_0x3ec9bf)));})[_0x3a33ba(0x334)](_0x3b5c28())};}catch(_0x50bb61){return console[_0x3a33ba(0x1c4)](_0x50bb61),null;}}};ke=er([tr(0x0,_0x5b9c5b)],ke);var rr=Object['defineProperty'],sr=Object[_0x2e07f2(0x2fc)],ir=(_0x99e7da,_0x38873c,_0x3476bc)=>_0x38873c in _0x99e7da?rr(_0x99e7da,_0x38873c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3476bc}):_0x99e7da[_0x38873c]=_0x3476bc,nr=(_0x34969c,_0x594c80,_0x15804a,_0x7abe42)=>{const _0x45389a=_0x2e07f2;for(var _0x249da7=_0x7abe42>0x1?void 0x0:_0x7abe42?sr(_0x594c80,_0x15804a):_0x594c80,_0x4d607c=_0x34969c[_0x45389a(0x2d4)]-0x1,_0x5b2e0d;_0x4d607c>=0x0;_0x4d607c--)(_0x5b2e0d=_0x34969c[_0x4d607c])&&(_0x249da7=_0x5b2e0d(_0x249da7)||_0x249da7);return _0x249da7;},nt=(_0xe9aaa2,_0x5c7771)=>(_0xcc4788,_0x17e9c8)=>_0x5c7771(_0xcc4788,_0x17e9c8,_0xe9aaa2),or=(_0x58b155,_0x4dda9a,_0x2dacc1)=>ir(_0x58b155,_0x4dda9a+'',_0x2dacc1);let Ne=class extends _0x225e75{constructor(_0x44ee14=Ft,_0x27abcc,_0x25406e){const _0xcedfe4=_0x2e07f2;super(),this[_0xcedfe4(0x20c)]=_0x27abcc,this['_injector']=_0x25406e,this['_configService'][_0xcedfe4(0x259)]($t,_0x44ee14);}[_0x2e07f2(0x1cb)](){const _0xd6986b=_0x2e07f2;this[_0xd6986b(0x22b)]();}[_0x2e07f2(0x22b)](){const _0x4eaeba=_0x2e07f2;_0x4f0f3d(this[_0x4eaeba(0x203)],[[_0x52c648,{'useClass':ke}]]);}};or(Ne,_0x2e07f2(0x278),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Ne=nr([_0x56c4e0(_0x129a19),nt(0x1,_0x5b9c5b),nt(0x2,_0x434f05(_0x8d32e6))],Ne);var ar=Object[_0x2e07f2(0x2fc)],lr=(_0x3def59,_0x4e9513,_0x540941,_0x100a2b)=>{for(var _0x382b46=_0x100a2b>0x1?void 0x0:_0x100a2b?ar(_0x4e9513,_0x540941):_0x4e9513,_0x59d16b=_0x3def59['length']-0x1,_0x26e82c;_0x59d16b>=0x0;_0x59d16b--)(_0x26e82c=_0x3def59[_0x59d16b])&&(_0x382b46=_0x26e82c(_0x382b46)||_0x382b46);return _0x382b46;},re=(_0x58c86d,_0x579a65)=>(_0x3c9f14,_0x3b5684)=>_0x579a65(_0x3c9f14,_0x3b5684,_0x58c86d);function _0x1103(_0x5626c8,_0x1e9a6c){_0x5626c8=_0x5626c8-0x1ae;const _0x2b6f02=_0x2b6f();let _0x1103b9=_0x2b6f02[_0x5626c8];return _0x1103b9;}let ot=class extends _0x2e7c0a{constructor(_0x3e86fc,_0x420eaf,_0x1a856d,_0x51b122,_0x3f87d1){const _0x1d67a7=_0x2e07f2;super(_0x3e86fc,_0x420eaf,_0x1a856d,_0x51b122,_0x3f87d1);const _0x4b2356=this[_0x1d67a7(0x20c)][_0x1d67a7(0x2b9)](_0x491e33);this[_0x1d67a7(0x338)][_0x1d67a7(0x28e)]({'interceptor':(_0x190889,_0x5c4f90)=>{const _0x17adc7=_0x1d67a7;var _0x76dd6b;const _0x5f5370=_0x190889[_0x17adc7(0x1e2)];return(_0x76dd6b=_0x4b2356==null?void 0x0:_0x4b2356['customHeaders'])!=null&&_0x76dd6b[_0x17adc7(0x1fd)]&&_0x5f5370['set'](_0x17adc7(0x346),_0x4b2356[_0x17adc7(0x2c9)][_0x17adc7(0x1fd)]),_0x5c4f90(_0x190889);}});}async[_0x2e07f2(0x333)](_0x5d78d5){const _0xabfa5b=_0x2e07f2;return this[_0xabfa5b(0x311)](_0x5d78d5);}};ot=lr([re(0x0,_0x434f05(_0x8d32e6)),re(0x1,_0x434f05(_0x2ff20f)),re(0x2,_0x5b9c5b),re(0x3,_0x356720),re(0x4,_0x55ff2a)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};
1
+ const _0x474b37=_0x4acf;(function(_0x1341eb,_0x3b341f){const _0x33cbe3=_0x4acf,_0x1380fb=_0x1341eb();while(!![]){try{const _0x5b173d=-parseInt(_0x33cbe3(0x139))/0x1*(parseInt(_0x33cbe3(0x118))/0x2)+parseInt(_0x33cbe3(0x283))/0x3+parseInt(_0x33cbe3(0x26d))/0x4*(-parseInt(_0x33cbe3(0x238))/0x5)+parseInt(_0x33cbe3(0x14b))/0x6+-parseInt(_0x33cbe3(0x13a))/0x7+-parseInt(_0x33cbe3(0x1b9))/0x8*(parseInt(_0x33cbe3(0x144))/0x9)+-parseInt(_0x33cbe3(0x170))/0xa*(-parseInt(_0x33cbe3(0x11b))/0xb);if(_0x5b173d===_0x3b341f)break;else _0x1380fb['push'](_0x1380fb['shift']());}catch(_0x198e56){_0x1380fb['push'](_0x1380fb['shift']());}}}(_0xbd6e,0x4bca4));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x13212d,UniverCollaborationClientPlugin as _0x1d9c2f,CollaborationSocketService as _0x3ac1de}from'@univerjs-pro/collaboration-client';import{Disposable as _0x1a8e33,DisposableCollection as _0x40425b,toDisposable as _0x3420b9,IConfigService as _0x1c517c,DependentOn as _0x396dda,Inject as _0x1483d7,Injector as _0x1267ae,Plugin as _0x1edc3e,registerDependencies as _0x4b18d0,ILogService as _0x25ee63}from'@univerjs/core';import{ISocketService as _0x41d87e,HTTPService as _0x17214b}from'@univerjs/network';import{Observable as _0x3a51ad,share as _0x46146b}from'rxjs';import _0x109afc from'events';import _0x17fcb2 from'https';import _0x328dd4 from'http';import _0x374a67 from'net';import _0x47a346 from'tls';import _0xecbc3b from'crypto';import _0x1aed00 from'stream';import _0x4e3634 from'url';import _0x377a2e from'zlib';import _0x2046b3 from'buffer';import{ISnapshotServerService as _0x4002e4}from'@univerjs-pro/collaboration';const $t=_0x474b37(0x126),Ft={};function Wt(_0x10fdb6){const _0x3e94e2=_0x474b37;return _0x10fdb6&&_0x10fdb6[_0x3e94e2(0x23e)]&&Object[_0x3e94e2(0x133)]['hasOwnProperty'][_0x3e94e2(0x157)](_0x10fdb6,'default')?_0x10fdb6[_0x3e94e2(0x237)]:_0x10fdb6;}function jt(_0x587d6c){const _0x2ed7ee=_0x474b37;if(Object[_0x2ed7ee(0x133)][_0x2ed7ee(0x11a)][_0x2ed7ee(0x157)](_0x587d6c,'__esModule'))return _0x587d6c;var _0x35193c=_0x587d6c[_0x2ed7ee(0x237)];if(typeof _0x35193c==_0x2ed7ee(0x1c4)){var _0x75d8b3=function _0x5900ed(){const _0x5b5596=_0x2ed7ee;var _0x315ba7=!0x1;try{_0x315ba7=this instanceof _0x5900ed;}catch{}return _0x315ba7?Reflect[_0x5b5596(0x28e)](_0x35193c,arguments,this[_0x5b5596(0x1f7)]):_0x35193c['apply'](this,arguments);};_0x75d8b3[_0x2ed7ee(0x133)]=_0x35193c[_0x2ed7ee(0x133)];}else _0x75d8b3={};return Object[_0x2ed7ee(0x220)](_0x75d8b3,_0x2ed7ee(0x23e),{'value':!0x0}),Object[_0x2ed7ee(0x159)](_0x587d6c)[_0x2ed7ee(0x1c8)](function(_0x2a1db0){const _0x3d0eb8=_0x2ed7ee;var _0x5857e0=Object[_0x3d0eb8(0x273)](_0x587d6c,_0x2a1db0);Object[_0x3d0eb8(0x220)](_0x75d8b3,_0x2a1db0,_0x5857e0[_0x3d0eb8(0x10c)]?_0x5857e0:{'enumerable':!0x0,'get':function(){return _0x587d6c[_0x2a1db0];}});}),_0x75d8b3;}var me,He;function V(){const _0x4fc7a9=_0x474b37;if(He)return me;He=0x1;const _0x49aa66=[_0x4fc7a9(0x248),_0x4fc7a9(0x1be),_0x4fc7a9(0x21b)],_0x2d2f21=typeof Blob<'u';return _0x2d2f21&&_0x49aa66['push'](_0x4fc7a9(0x153)),me={'BINARY_TYPES':_0x49aa66,'EMPTY_BUFFER':Buffer[_0x4fc7a9(0x17e)](0x0),'GUID':_0x4fc7a9(0x15a),'hasBlob':_0x2d2f21,'kForOnEventAttribute':Symbol(_0x4fc7a9(0x19d)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4fc7a9(0x1e4)),'kWebSocket':Symbol(_0x4fc7a9(0x22a)),'NOOP':()=>{}},me;}var ge,ze;function fe(){if(ze)return ge;ze=0x1;const {EMPTY_BUFFER:_0x471bd9}=V(),_0x2a6a06=Buffer[Symbol['species']];function _0x969d94(_0x43208b,_0x556bf1){const _0x192df0=_0x4acf;if(_0x43208b[_0x192df0(0xfa)]===0x0)return _0x471bd9;if(_0x43208b['length']===0x1)return _0x43208b[0x0];const _0x39a434=Buffer[_0x192df0(0x119)](_0x556bf1);let _0x9d6ac1=0x0;for(let _0x2e729d=0x0;_0x2e729d<_0x43208b['length'];_0x2e729d++){const _0x6a1e2b=_0x43208b[_0x2e729d];_0x39a434[_0x192df0(0x122)](_0x6a1e2b,_0x9d6ac1),_0x9d6ac1+=_0x6a1e2b[_0x192df0(0xfa)];}return _0x9d6ac1<_0x556bf1?new _0x2a6a06(_0x39a434[_0x192df0(0x1bb)],_0x39a434[_0x192df0(0x102)],_0x9d6ac1):_0x39a434;}function _0x3050b5(_0x595436,_0x2b699f,_0x51fe6a,_0x25f05b,_0x367e80){for(let _0x1a0b81=0x0;_0x1a0b81<_0x367e80;_0x1a0b81++)_0x51fe6a[_0x25f05b+_0x1a0b81]=_0x595436[_0x1a0b81]^_0x2b699f[_0x1a0b81&0x3];}function _0x299cef(_0x16684c,_0x432f1c){const _0x24273c=_0x4acf;for(let _0x53fe31=0x0;_0x53fe31<_0x16684c[_0x24273c(0xfa)];_0x53fe31++)_0x16684c[_0x53fe31]^=_0x432f1c[_0x53fe31&0x3];}function _0x216d05(_0x3770f8){const _0x1ccdc3=_0x4acf;return _0x3770f8[_0x1ccdc3(0xfa)]===_0x3770f8[_0x1ccdc3(0x1bb)][_0x1ccdc3(0x1ab)]?_0x3770f8[_0x1ccdc3(0x1bb)]:_0x3770f8['buffer'][_0x1ccdc3(0x1cd)](_0x3770f8[_0x1ccdc3(0x102)],_0x3770f8['byteOffset']+_0x3770f8[_0x1ccdc3(0xfa)]);}function _0x4128b0(_0x2d7e51){const _0x596aff=_0x4acf;if(_0x4128b0[_0x596aff(0x112)]=!0x0,Buffer[_0x596aff(0x29f)](_0x2d7e51))return _0x2d7e51;let _0x3c1f5e;return _0x2d7e51 instanceof ArrayBuffer?_0x3c1f5e=new _0x2a6a06(_0x2d7e51):ArrayBuffer['isView'](_0x2d7e51)?_0x3c1f5e=new _0x2a6a06(_0x2d7e51[_0x596aff(0x1bb)],_0x2d7e51[_0x596aff(0x102)],_0x2d7e51[_0x596aff(0x1ab)]):(_0x3c1f5e=Buffer[_0x596aff(0x21d)](_0x2d7e51),_0x4128b0['readOnly']=!0x1),_0x3c1f5e;}return ge={'concat':_0x969d94,'mask':_0x3050b5,'toArrayBuffer':_0x216d05,'toBuffer':_0x4128b0,'unmask':_0x299cef},ge;}var ye,Ye;function Gt(){const _0x487042=_0x474b37;if(Ye)return ye;Ye=0x1;const _0x1d8dc0=Symbol(_0x487042(0x162)),_0x15111e=Symbol(_0x487042(0x147));class _0xeebb05{constructor(_0x25baf0){const _0x5d221b=_0x487042;this[_0x1d8dc0]=()=>{const _0x20e891=_0x4acf;this[_0x20e891(0x125)]--,this[_0x15111e]();},this[_0x5d221b(0x113)]=_0x25baf0||0x1/0x0,this[_0x5d221b(0x1a6)]=[],this[_0x5d221b(0x125)]=0x0;}['add'](_0xaa5e75){const _0x2ef9a6=_0x487042;this[_0x2ef9a6(0x1a6)]['push'](_0xaa5e75),this[_0x15111e]();}[_0x15111e](){const _0x51adb6=_0x487042;if(this[_0x51adb6(0x125)]!==this[_0x51adb6(0x113)]&&this[_0x51adb6(0x1a6)]['length']){const _0x59010c=this[_0x51adb6(0x1a6)]['shift']();this[_0x51adb6(0x125)]++,_0x59010c(this[_0x1d8dc0]);}}}return ye=_0xeebb05,ye;}var ve,Ke;function ce(){const _0x2dec0d=_0x474b37;if(Ke)return ve;Ke=0x1;const _0x5f3365=_0x377a2e,_0x1662a9=fe(),_0x49d3d2=Gt(),{kStatusCode:_0x5556e0}=V(),_0x33b16e=Buffer[Symbol[_0x2dec0d(0x1da)]],_0x43623e=Buffer[_0x2dec0d(0x21d)]([0x0,0x0,0xff,0xff]),_0xdb1571=Symbol(_0x2dec0d(0x234)),_0x5c4fd7=Symbol(_0x2dec0d(0x1b1)),_0x13771d=Symbol('callback'),_0x1e7267=Symbol(_0x2dec0d(0x12f)),_0x129bc9=Symbol('error');let _0x58ea5a;class _0x1f7d78{constructor(_0x1390e3,_0x4524d4,_0x5cbf12){const _0x5053be=_0x2dec0d;if(this[_0x5053be(0x1cf)]=_0x5cbf12|0x0,this[_0x5053be(0x1db)]=_0x1390e3||{},this['_threshold']=this[_0x5053be(0x1db)][_0x5053be(0x167)]!==void 0x0?this[_0x5053be(0x1db)][_0x5053be(0x167)]:0x400,this['_isServer']=!!_0x4524d4,this['_deflate']=null,this[_0x5053be(0x1a0)]=null,this[_0x5053be(0x14a)]=null,!_0x58ea5a){const _0x3ac1f1=this['_options'][_0x5053be(0x173)]!==void 0x0?this[_0x5053be(0x1db)]['concurrencyLimit']:0xa;_0x58ea5a=new _0x49d3d2(_0x3ac1f1);}}static get['extensionName'](){const _0x344509=_0x2dec0d;return _0x344509(0x234);}[_0x2dec0d(0x207)](){const _0x53842b=_0x2dec0d,_0x4da4a6={};return this['_options'][_0x53842b(0x152)]&&(_0x4da4a6[_0x53842b(0x1a7)]=!0x0),this[_0x53842b(0x1db)][_0x53842b(0x17f)]&&(_0x4da4a6['client_no_context_takeover']=!0x0),this[_0x53842b(0x1db)][_0x53842b(0x26b)]&&(_0x4da4a6[_0x53842b(0x1dd)]=this['_options'][_0x53842b(0x26b)]),this['_options'][_0x53842b(0x13b)]?_0x4da4a6[_0x53842b(0x19c)]=this['_options'][_0x53842b(0x13b)]:this[_0x53842b(0x1db)][_0x53842b(0x13b)]==null&&(_0x4da4a6[_0x53842b(0x19c)]=!0x0),_0x4da4a6;}[_0x2dec0d(0x1ff)](_0x4153e9){const _0x5d947d=_0x2dec0d;return _0x4153e9=this[_0x5d947d(0x242)](_0x4153e9),this['params']=this[_0x5d947d(0x1e8)]?this['acceptAsServer'](_0x4153e9):this[_0x5d947d(0x22c)](_0x4153e9),this[_0x5d947d(0x14a)];}[_0x2dec0d(0x130)](){const _0x54570b=_0x2dec0d;if(this[_0x54570b(0x1a0)]&&(this[_0x54570b(0x1a0)][_0x54570b(0x1e5)](),this['_inflate']=null),this['_deflate']){const _0x1a9afe=this[_0x54570b(0x218)][_0x13771d];this[_0x54570b(0x218)][_0x54570b(0x1e5)](),this[_0x54570b(0x218)]=null,_0x1a9afe&&_0x1a9afe(new Error(_0x54570b(0x1a4)));}}[_0x2dec0d(0x181)](_0x7bdf14){const _0xf7ecab=_0x2dec0d,_0x36028b=this[_0xf7ecab(0x1db)],_0x4af072=_0x7bdf14[_0xf7ecab(0x1d4)](_0x31c325=>!(_0x36028b[_0xf7ecab(0x152)]===!0x1&&_0x31c325['server_no_context_takeover']||_0x31c325[_0xf7ecab(0x1dd)]&&(_0x36028b[_0xf7ecab(0x26b)]===!0x1||typeof _0x36028b[_0xf7ecab(0x26b)]=='number'&&_0x36028b['serverMaxWindowBits']>_0x31c325[_0xf7ecab(0x1dd)])||typeof _0x36028b['clientMaxWindowBits']==_0xf7ecab(0x26c)&&!_0x31c325['client_max_window_bits']));if(!_0x4af072)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x36028b[_0xf7ecab(0x152)]&&(_0x4af072[_0xf7ecab(0x1a7)]=!0x0),_0x36028b[_0xf7ecab(0x17f)]&&(_0x4af072['client_no_context_takeover']=!0x0),typeof _0x36028b['serverMaxWindowBits']==_0xf7ecab(0x26c)&&(_0x4af072[_0xf7ecab(0x1dd)]=_0x36028b[_0xf7ecab(0x26b)]),typeof _0x36028b[_0xf7ecab(0x13b)]==_0xf7ecab(0x26c)?_0x4af072[_0xf7ecab(0x19c)]=_0x36028b[_0xf7ecab(0x13b)]:(_0x4af072[_0xf7ecab(0x19c)]===!0x0||_0x36028b[_0xf7ecab(0x13b)]===!0x1)&&delete _0x4af072['client_max_window_bits'],_0x4af072;}[_0x2dec0d(0x22c)](_0x15cc18){const _0x229ffb=_0x2dec0d,_0x447105=_0x15cc18[0x0];if(this['_options'][_0x229ffb(0x17f)]===!0x1&&_0x447105[_0x229ffb(0x16f)])throw new Error(_0x229ffb(0x261));if(!_0x447105['client_max_window_bits'])typeof this['_options'][_0x229ffb(0x13b)]==_0x229ffb(0x26c)&&(_0x447105[_0x229ffb(0x19c)]=this['_options'][_0x229ffb(0x13b)]);else{if(this['_options'][_0x229ffb(0x13b)]===!0x1||typeof this[_0x229ffb(0x1db)][_0x229ffb(0x13b)]==_0x229ffb(0x26c)&&_0x447105[_0x229ffb(0x19c)]>this[_0x229ffb(0x1db)][_0x229ffb(0x13b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x447105;}[_0x2dec0d(0x242)](_0x3714de){return _0x3714de['forEach'](_0x24f0ce=>{const _0x462f41=_0x4acf;Object[_0x462f41(0x159)](_0x24f0ce)[_0x462f41(0x1c8)](_0x539f8b=>{const _0xfdb60=_0x462f41;let _0x12f464=_0x24f0ce[_0x539f8b];if(_0x12f464['length']>0x1)throw new Error('Parameter\x20\x22'+_0x539f8b+_0xfdb60(0x100));if(_0x12f464=_0x12f464[0x0],_0x539f8b==='client_max_window_bits'){if(_0x12f464!==!0x0){const _0x3b0d94=+_0x12f464;if(!Number[_0xfdb60(0x186)](_0x3b0d94)||_0x3b0d94<0x8||_0x3b0d94>0xf)throw new TypeError(_0xfdb60(0x269)+_0x539f8b+_0xfdb60(0x1b8)+_0x12f464);_0x12f464=_0x3b0d94;}else{if(!this[_0xfdb60(0x1e8)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x539f8b+_0xfdb60(0x1b8)+_0x12f464);}}else{if(_0x539f8b===_0xfdb60(0x1dd)){const _0x56fa4d=+_0x12f464;if(!Number[_0xfdb60(0x186)](_0x56fa4d)||_0x56fa4d<0x8||_0x56fa4d>0xf)throw new TypeError(_0xfdb60(0x269)+_0x539f8b+_0xfdb60(0x1b8)+_0x12f464);_0x12f464=_0x56fa4d;}else{if(_0x539f8b===_0xfdb60(0x16f)||_0x539f8b===_0xfdb60(0x1a7)){if(_0x12f464!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x539f8b+_0xfdb60(0x1b8)+_0x12f464);}else throw new Error(_0xfdb60(0x251)+_0x539f8b+'\x22');}}_0x24f0ce[_0x539f8b]=_0x12f464;});}),_0x3714de;}[_0x2dec0d(0x16e)](_0x2fcd52,_0x3a39ab,_0x4f6a8b){const _0xcc2861=_0x2dec0d;_0x58ea5a[_0xcc2861(0x110)](_0x18e1f0=>{this['_decompress'](_0x2fcd52,_0x3a39ab,(_0x16be51,_0x515c84)=>{_0x18e1f0(),_0x4f6a8b(_0x16be51,_0x515c84);});});}[_0x2dec0d(0x23b)](_0x5d5bb5,_0xa45726,_0x3f573a){const _0x26c6d5=_0x2dec0d;_0x58ea5a[_0x26c6d5(0x110)](_0x261d7e=>{const _0x40a15e=_0x26c6d5;this[_0x40a15e(0x12a)](_0x5d5bb5,_0xa45726,(_0x30107a,_0x384edb)=>{_0x261d7e(),_0x3f573a(_0x30107a,_0x384edb);});});}[_0x2dec0d(0x14c)](_0x6aa520,_0x2c7075,_0x230e81){const _0x337cff=_0x2dec0d,_0x4f9521=this[_0x337cff(0x1e8)]?_0x337cff(0x1bc):_0x337cff(0x1dc);if(!this[_0x337cff(0x1a0)]){const _0x206536=_0x4f9521+_0x337cff(0x12b),_0x349e67=typeof this[_0x337cff(0x14a)][_0x206536]!=_0x337cff(0x26c)?_0x5f3365['Z_DEFAULT_WINDOWBITS']:this[_0x337cff(0x14a)][_0x206536];this[_0x337cff(0x1a0)]=_0x5f3365[_0x337cff(0x224)]({...this[_0x337cff(0x1db)]['zlibInflateOptions'],'windowBits':_0x349e67}),this[_0x337cff(0x1a0)][_0xdb1571]=this,this[_0x337cff(0x1a0)][_0x5c4fd7]=0x0,this['_inflate'][_0x1e7267]=[],this['_inflate']['on'](_0x337cff(0x10d),_0x2a15a7),this[_0x337cff(0x1a0)]['on']('data',_0x56ac81);}this[_0x337cff(0x1a0)][_0x13771d]=_0x230e81,this['_inflate'][_0x337cff(0x184)](_0x6aa520),_0x2c7075&&this[_0x337cff(0x1a0)][_0x337cff(0x184)](_0x43623e),this[_0x337cff(0x1a0)][_0x337cff(0x10b)](()=>{const _0x480188=_0x337cff,_0x1c93e9=this[_0x480188(0x1a0)][_0x129bc9];if(_0x1c93e9){this[_0x480188(0x1a0)]['close'](),this['_inflate']=null,_0x230e81(_0x1c93e9);return;}const _0x2a4318=_0x1662a9[_0x480188(0x103)](this['_inflate'][_0x1e7267],this[_0x480188(0x1a0)][_0x5c4fd7]);this['_inflate'][_0x480188(0x1bd)][_0x480188(0x1eb)]?(this[_0x480188(0x1a0)][_0x480188(0x1e5)](),this[_0x480188(0x1a0)]=null):(this['_inflate'][_0x5c4fd7]=0x0,this[_0x480188(0x1a0)][_0x1e7267]=[],_0x2c7075&&this[_0x480188(0x14a)][_0x4f9521+_0x480188(0x121)]&&this[_0x480188(0x1a0)][_0x480188(0x12d)]()),_0x230e81(null,_0x2a4318);});}[_0x2dec0d(0x12a)](_0xb0c5c9,_0x30033,_0x193c26){const _0x510e51=_0x2dec0d,_0x5371a1=this['_isServer']?'server':_0x510e51(0x1bc);if(!this[_0x510e51(0x218)]){const _0x18d422=_0x5371a1+'_max_window_bits',_0x48f5ec=typeof this[_0x510e51(0x14a)][_0x18d422]!=_0x510e51(0x26c)?_0x5f3365[_0x510e51(0x202)]:this[_0x510e51(0x14a)][_0x18d422];this['_deflate']=_0x5f3365[_0x510e51(0x180)]({...this[_0x510e51(0x1db)][_0x510e51(0x240)],'windowBits':_0x48f5ec}),this[_0x510e51(0x218)][_0x5c4fd7]=0x0,this[_0x510e51(0x218)][_0x1e7267]=[],this['_deflate']['on'](_0x510e51(0x225),_0x3cfef1);}this[_0x510e51(0x218)][_0x13771d]=_0x193c26,this[_0x510e51(0x218)][_0x510e51(0x184)](_0xb0c5c9),this[_0x510e51(0x218)][_0x510e51(0x10b)](_0x5f3365[_0x510e51(0x187)],()=>{const _0x4ec177=_0x510e51;if(!this[_0x4ec177(0x218)])return;let _0x58215d=_0x1662a9[_0x4ec177(0x103)](this[_0x4ec177(0x218)][_0x1e7267],this[_0x4ec177(0x218)][_0x5c4fd7]);_0x30033&&(_0x58215d=new _0x33b16e(_0x58215d[_0x4ec177(0x1bb)],_0x58215d['byteOffset'],_0x58215d[_0x4ec177(0xfa)]-0x4)),this[_0x4ec177(0x218)][_0x13771d]=null,this[_0x4ec177(0x218)][_0x5c4fd7]=0x0,this[_0x4ec177(0x218)][_0x1e7267]=[],_0x30033&&this[_0x4ec177(0x14a)][_0x5371a1+_0x4ec177(0x121)]&&this['_deflate'][_0x4ec177(0x12d)](),_0x193c26(null,_0x58215d);});}}ve=_0x1f7d78;function _0x3cfef1(_0x4c7eaa){const _0x37fd4a=_0x2dec0d;this[_0x1e7267][_0x37fd4a(0x1b3)](_0x4c7eaa),this[_0x5c4fd7]+=_0x4c7eaa[_0x37fd4a(0xfa)];}function _0x56ac81(_0x496736){const _0xa40cec=_0x2dec0d;if(this[_0x5c4fd7]+=_0x496736[_0xa40cec(0xfa)],this[_0xdb1571]['_maxPayload']<0x1||this[_0x5c4fd7]<=this[_0xdb1571]['_maxPayload']){this[_0x1e7267][_0xa40cec(0x1b3)](_0x496736);return;}this[_0x129bc9]=new RangeError(_0xa40cec(0x250)),this[_0x129bc9]['code']=_0xa40cec(0x169),this[_0x129bc9][_0x5556e0]=0x3f1,this[_0xa40cec(0xf9)]('data',_0x56ac81),this['reset']();}function _0x2a15a7(_0x2d16a3){const _0x12de0d=_0x2dec0d;if(this[_0xdb1571][_0x12de0d(0x1a0)]=null,this[_0x129bc9]){this[_0x13771d](this[_0x129bc9]);return;}_0x2d16a3[_0x5556e0]=0x3ef,this[_0x13771d](_0x2d16a3);}return ve;}var te={'exports':{}};const Vt={},qt=Object['freeze'](Object[_0x474b37(0x220)]({'__proto__':null,'default':Vt},Symbol['toStringTag'],{'value':_0x474b37(0x104)})),Ht=jt(qt);var Xe;function ie(){const _0x4c1980=_0x474b37;if(Xe)return te[_0x4c1980(0x1ca)];Xe=0x1;const {isUtf8:_0xae67d7}=_0x2046b3,{hasBlob:_0x3f164e}=V(),_0x4440cb=[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 _0xc0c456(_0x5b559e){return _0x5b559e>=0x3e8&&_0x5b559e<=0x3f6&&_0x5b559e!==0x3ec&&_0x5b559e!==0x3ed&&_0x5b559e!==0x3ee||_0x5b559e>=0xbb8&&_0x5b559e<=0x1387;}function _0x1bf862(_0x5420f3){const _0x24c097=_0x4c1980,_0x82bd5=_0x5420f3[_0x24c097(0xfa)];let _0x3a8212=0x0;for(;_0x3a8212<_0x82bd5;)if((_0x5420f3[_0x3a8212]&0x80)===0x0)_0x3a8212++;else{if((_0x5420f3[_0x3a8212]&0xe0)===0xc0){if(_0x3a8212+0x1===_0x82bd5||(_0x5420f3[_0x3a8212+0x1]&0xc0)!==0x80||(_0x5420f3[_0x3a8212]&0xfe)===0xc0)return!0x1;_0x3a8212+=0x2;}else{if((_0x5420f3[_0x3a8212]&0xf0)===0xe0){if(_0x3a8212+0x2>=_0x82bd5||(_0x5420f3[_0x3a8212+0x1]&0xc0)!==0x80||(_0x5420f3[_0x3a8212+0x2]&0xc0)!==0x80||_0x5420f3[_0x3a8212]===0xe0&&(_0x5420f3[_0x3a8212+0x1]&0xe0)===0x80||_0x5420f3[_0x3a8212]===0xed&&(_0x5420f3[_0x3a8212+0x1]&0xe0)===0xa0)return!0x1;_0x3a8212+=0x3;}else{if((_0x5420f3[_0x3a8212]&0xf8)===0xf0){if(_0x3a8212+0x3>=_0x82bd5||(_0x5420f3[_0x3a8212+0x1]&0xc0)!==0x80||(_0x5420f3[_0x3a8212+0x2]&0xc0)!==0x80||(_0x5420f3[_0x3a8212+0x3]&0xc0)!==0x80||_0x5420f3[_0x3a8212]===0xf0&&(_0x5420f3[_0x3a8212+0x1]&0xf0)===0x80||_0x5420f3[_0x3a8212]===0xf4&&_0x5420f3[_0x3a8212+0x1]>0x8f||_0x5420f3[_0x3a8212]>0xf4)return!0x1;_0x3a8212+=0x4;}else return!0x1;}}}return!0x0;}function _0x4991a2(_0x31fb10){const _0x46b321=_0x4c1980;return _0x3f164e&&typeof _0x31fb10==_0x46b321(0x1d8)&&typeof _0x31fb10[_0x46b321(0x1b7)]==_0x46b321(0x1c4)&&typeof _0x31fb10[_0x46b321(0x25e)]=='string'&&typeof _0x31fb10[_0x46b321(0x148)]=='function'&&(_0x31fb10[Symbol[_0x46b321(0x20b)]]==='Blob'||_0x31fb10[Symbol[_0x46b321(0x20b)]]==='File');}if(te[_0x4c1980(0x1ca)]={'isBlob':_0x4991a2,'isValidStatusCode':_0xc0c456,'isValidUTF8':_0x1bf862,'tokenChars':_0x4440cb},_0xae67d7)te['exports']['isValidUTF8']=function(_0x3bab7a){const _0xa7518d=_0x4c1980;return _0x3bab7a[_0xa7518d(0xfa)]<0x18?_0x1bf862(_0x3bab7a):_0xae67d7(_0x3bab7a);};else{if(!process[_0x4c1980(0x1f1)]['WS_NO_UTF_8_VALIDATE'])try{const _0x469fc2=Ht;te[_0x4c1980(0x1ca)][_0x4c1980(0x27e)]=function(_0x300b76){const _0x566438=_0x4c1980;return _0x300b76[_0x566438(0xfa)]<0x20?_0x1bf862(_0x300b76):_0x469fc2(_0x300b76);};}catch{}}return te[_0x4c1980(0x1ca)];}var Se,Ze;function ht(){const _0x306687=_0x474b37;if(Ze)return Se;Ze=0x1;const {Writable:_0x1842f8}=_0x1aed00,_0x37e16e=ce(),{BINARY_TYPES:_0x6e958a,EMPTY_BUFFER:_0xc55ffb,kStatusCode:_0x302286,kWebSocket:_0x29a5ba}=V(),{concat:_0x35d2da,toArrayBuffer:_0x2aae49,unmask:_0x51f508}=fe(),{isValidStatusCode:_0x5b48cc,isValidUTF8:_0x77e8d0}=ie(),_0x4cc29a=Buffer[Symbol[_0x306687(0x1da)]],_0x51c507=0x0,_0x1f4c74=0x1,_0x5d9db6=0x2,_0x27cdd4=0x3,_0x483fa2=0x4,_0x121409=0x5,_0x4917b1=0x6;class _0x194e70 extends _0x1842f8{constructor(_0x569caf={}){const _0x3f57dd=_0x306687;super(),this['_allowSynchronousEvents']=_0x569caf['allowSynchronousEvents']!==void 0x0?_0x569caf[_0x3f57dd(0x236)]:!0x0,this['_binaryType']=_0x569caf[_0x3f57dd(0x215)]||_0x6e958a[0x0],this['_extensions']=_0x569caf[_0x3f57dd(0x21f)]||{},this[_0x3f57dd(0x1e8)]=!!_0x569caf[_0x3f57dd(0x27d)],this[_0x3f57dd(0x1cf)]=_0x569caf[_0x3f57dd(0x132)]|0x0,this['_skipUTF8Validation']=!!_0x569caf[_0x3f57dd(0x1a3)],this[_0x29a5ba]=void 0x0,this[_0x3f57dd(0xfd)]=0x0,this['_buffers']=[],this[_0x3f57dd(0x2a6)]=!0x1,this[_0x3f57dd(0x192)]=0x0,this[_0x3f57dd(0x246)]=void 0x0,this['_fragmented']=0x0,this[_0x3f57dd(0x222)]=!0x1,this['_fin']=!0x1,this[_0x3f57dd(0x23a)]=0x0,this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this[_0x3f57dd(0x1d5)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x3f57dd(0x1e3)]=_0x51c507;}[_0x306687(0x2a5)](_0x3d443d,_0x4b3b2e,_0x237653){const _0x10d384=_0x306687;if(this[_0x10d384(0x23a)]===0x8&&this[_0x10d384(0x1e3)]==_0x51c507)return _0x237653();this[_0x10d384(0xfd)]+=_0x3d443d[_0x10d384(0xfa)],this[_0x10d384(0x163)]['push'](_0x3d443d),this[_0x10d384(0x18d)](_0x237653);}[_0x306687(0x14f)](_0x38fbaf){const _0x2d3eff=_0x306687;if(this['_bufferedBytes']-=_0x38fbaf,_0x38fbaf===this['_buffers'][0x0][_0x2d3eff(0xfa)])return this[_0x2d3eff(0x163)][_0x2d3eff(0x1ac)]();if(_0x38fbaf<this[_0x2d3eff(0x163)][0x0][_0x2d3eff(0xfa)]){const _0x1c61b3=this['_buffers'][0x0];return this[_0x2d3eff(0x163)][0x0]=new _0x4cc29a(_0x1c61b3[_0x2d3eff(0x1bb)],_0x1c61b3[_0x2d3eff(0x102)]+_0x38fbaf,_0x1c61b3['length']-_0x38fbaf),new _0x4cc29a(_0x1c61b3[_0x2d3eff(0x1bb)],_0x1c61b3[_0x2d3eff(0x102)],_0x38fbaf);}const _0x43415c=Buffer[_0x2d3eff(0x119)](_0x38fbaf);do{const _0x453e0f=this[_0x2d3eff(0x163)][0x0],_0x4c1567=_0x43415c[_0x2d3eff(0xfa)]-_0x38fbaf;_0x38fbaf>=_0x453e0f[_0x2d3eff(0xfa)]?_0x43415c[_0x2d3eff(0x122)](this['_buffers'][_0x2d3eff(0x1ac)](),_0x4c1567):(_0x43415c[_0x2d3eff(0x122)](new Uint8Array(_0x453e0f[_0x2d3eff(0x1bb)],_0x453e0f[_0x2d3eff(0x102)],_0x38fbaf),_0x4c1567),this[_0x2d3eff(0x163)][0x0]=new _0x4cc29a(_0x453e0f[_0x2d3eff(0x1bb)],_0x453e0f['byteOffset']+_0x38fbaf,_0x453e0f[_0x2d3eff(0xfa)]-_0x38fbaf)),_0x38fbaf-=_0x453e0f[_0x2d3eff(0xfa)];}while(_0x38fbaf>0x0);return _0x43415c;}[_0x306687(0x18d)](_0x1079ac){const _0x521748=_0x306687;this[_0x521748(0x277)]=!0x0;do switch(this['_state']){case _0x51c507:this[_0x521748(0x101)](_0x1079ac);break;case _0x1f4c74:this['getPayloadLength16'](_0x1079ac);break;case _0x5d9db6:this[_0x521748(0x28d)](_0x1079ac);break;case _0x27cdd4:this['getMask']();break;case _0x483fa2:this[_0x521748(0x22d)](_0x1079ac);break;case _0x121409:case _0x4917b1:this[_0x521748(0x277)]=!0x1;return;}while(this[_0x521748(0x277)]);this[_0x521748(0x175)]||_0x1079ac();}[_0x306687(0x101)](_0x203e6a){const _0x4fe4c1=_0x306687;if(this[_0x4fe4c1(0xfd)]<0x2){this[_0x4fe4c1(0x277)]=!0x1;return;}const _0xa2c54c=this[_0x4fe4c1(0x14f)](0x2);if((_0xa2c54c[0x0]&0x30)!==0x0){const _0x3712ba=this[_0x4fe4c1(0x20e)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4fe4c1(0x1e6));_0x203e6a(_0x3712ba);return;}const _0x550f14=(_0xa2c54c[0x0]&0x40)===0x40;if(_0x550f14&&!this[_0x4fe4c1(0x198)][_0x37e16e['extensionName']]){const _0x33bda6=this[_0x4fe4c1(0x20e)](RangeError,_0x4fe4c1(0x124),!0x0,0x3ea,_0x4fe4c1(0x16d));_0x203e6a(_0x33bda6);return;}if(this[_0x4fe4c1(0x1df)]=(_0xa2c54c[0x0]&0x80)===0x80,this[_0x4fe4c1(0x23a)]=_0xa2c54c[0x0]&0xf,this[_0x4fe4c1(0x192)]=_0xa2c54c[0x1]&0x7f,this[_0x4fe4c1(0x23a)]===0x0){if(_0x550f14){const _0xf3ea8c=this[_0x4fe4c1(0x20e)](RangeError,_0x4fe4c1(0x124),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x203e6a(_0xf3ea8c);return;}if(!this['_fragmented']){const _0x26ea15=this['createError'](RangeError,_0x4fe4c1(0x1e1),!0x0,0x3ea,_0x4fe4c1(0xf6));_0x203e6a(_0x26ea15);return;}this[_0x4fe4c1(0x23a)]=this['_fragmented'];}else{if(this[_0x4fe4c1(0x23a)]===0x1||this[_0x4fe4c1(0x23a)]===0x2){if(this[_0x4fe4c1(0xfe)]){const _0x3cb739=this['createError'](RangeError,_0x4fe4c1(0x22f)+this[_0x4fe4c1(0x23a)],!0x0,0x3ea,_0x4fe4c1(0xf6));_0x203e6a(_0x3cb739);return;}this[_0x4fe4c1(0x2a6)]=_0x550f14;}else{if(this[_0x4fe4c1(0x23a)]>0x7&&this[_0x4fe4c1(0x23a)]<0xb){if(!this[_0x4fe4c1(0x1df)]){const _0x28b3d5=this[_0x4fe4c1(0x20e)](RangeError,_0x4fe4c1(0x243),!0x0,0x3ea,_0x4fe4c1(0x166));_0x203e6a(_0x28b3d5);return;}if(_0x550f14){const _0x30e15d=this[_0x4fe4c1(0x20e)](RangeError,_0x4fe4c1(0x124),!0x0,0x3ea,_0x4fe4c1(0x16d));_0x203e6a(_0x30e15d);return;}if(this[_0x4fe4c1(0x192)]>0x7d||this[_0x4fe4c1(0x23a)]===0x8&&this[_0x4fe4c1(0x192)]===0x1){const _0x737bfd=this[_0x4fe4c1(0x20e)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4fe4c1(0x192)],!0x0,0x3ea,_0x4fe4c1(0x1c9));_0x203e6a(_0x737bfd);return;}}else{const _0x4d9cd0=this[_0x4fe4c1(0x20e)](RangeError,'invalid\x20opcode\x20'+this[_0x4fe4c1(0x23a)],!0x0,0x3ea,_0x4fe4c1(0xf6));_0x203e6a(_0x4d9cd0);return;}}}if(!this[_0x4fe4c1(0x1df)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x4fe4c1(0x23a)]),this[_0x4fe4c1(0x222)]=(_0xa2c54c[0x1]&0x80)===0x80,this[_0x4fe4c1(0x1e8)]){if(!this['_masked']){const _0x5eb5ab=this[_0x4fe4c1(0x20e)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4fe4c1(0x2a1));_0x203e6a(_0x5eb5ab);return;}}else{if(this['_masked']){const _0x230f9d=this['createError'](RangeError,_0x4fe4c1(0x11c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x203e6a(_0x230f9d);return;}}this['_payloadLength']===0x7e?this['_state']=_0x1f4c74:this[_0x4fe4c1(0x192)]===0x7f?this[_0x4fe4c1(0x1e3)]=_0x5d9db6:this['haveLength'](_0x203e6a);}['getPayloadLength16'](_0x43c61a){const _0x4bf22c=_0x306687;if(this[_0x4bf22c(0xfd)]<0x2){this[_0x4bf22c(0x277)]=!0x1;return;}this[_0x4bf22c(0x192)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x4bf22c(0x161)](_0x43c61a);}[_0x306687(0x28d)](_0x355026){const _0x2f57c6=_0x306687;if(this[_0x2f57c6(0xfd)]<0x8){this['_loop']=!0x1;return;}const _0x3be980=this['consume'](0x8),_0x4b3622=_0x3be980[_0x2f57c6(0x239)](0x0);if(_0x4b3622>Math[_0x2f57c6(0x1f5)](0x2,0x15)-0x1){const _0x1d8fbf=this[_0x2f57c6(0x20e)](RangeError,_0x2f57c6(0x297),!0x1,0x3f1,_0x2f57c6(0x288));_0x355026(_0x1d8fbf);return;}this[_0x2f57c6(0x192)]=_0x4b3622*Math[_0x2f57c6(0x1f5)](0x2,0x20)+_0x3be980[_0x2f57c6(0x239)](0x4),this[_0x2f57c6(0x161)](_0x355026);}['haveLength'](_0x10f480){const _0x201722=_0x306687;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x201722(0x289)]+=this[_0x201722(0x192)],this[_0x201722(0x289)]>this[_0x201722(0x1cf)]&&this[_0x201722(0x1cf)]>0x0)){const _0x51c53d=this[_0x201722(0x20e)](RangeError,_0x201722(0x250),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x10f480(_0x51c53d);return;}this[_0x201722(0x222)]?this[_0x201722(0x1e3)]=_0x27cdd4:this[_0x201722(0x1e3)]=_0x483fa2;}[_0x306687(0x199)](){const _0x2a4bd5=_0x306687;if(this[_0x2a4bd5(0xfd)]<0x4){this[_0x2a4bd5(0x277)]=!0x1;return;}this[_0x2a4bd5(0x246)]=this[_0x2a4bd5(0x14f)](0x4),this['_state']=_0x483fa2;}['getData'](_0x4f4c69){const _0x1fd470=_0x306687;let _0x2841c9=_0xc55ffb;if(this[_0x1fd470(0x192)]){if(this['_bufferedBytes']<this['_payloadLength']){this['_loop']=!0x1;return;}_0x2841c9=this[_0x1fd470(0x14f)](this['_payloadLength']),this[_0x1fd470(0x222)]&&(this[_0x1fd470(0x246)][0x0]|this[_0x1fd470(0x246)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x51f508(_0x2841c9,this['_mask']);}if(this[_0x1fd470(0x23a)]>0x7){this[_0x1fd470(0x22e)](_0x2841c9,_0x4f4c69);return;}if(this[_0x1fd470(0x2a6)]){this['_state']=_0x121409,this[_0x1fd470(0x16e)](_0x2841c9,_0x4f4c69);return;}_0x2841c9[_0x1fd470(0xfa)]&&(this[_0x1fd470(0x13c)]=this[_0x1fd470(0x289)],this[_0x1fd470(0x1d5)][_0x1fd470(0x1b3)](_0x2841c9)),this[_0x1fd470(0x115)](_0x4f4c69);}[_0x306687(0x16e)](_0x37f80b,_0x3acd3d){const _0x2db9bd=_0x306687;this['_extensions'][_0x37e16e['extensionName']][_0x2db9bd(0x16e)](_0x37f80b,this['_fin'],(_0x47ef13,_0x420627)=>{const _0x555937=_0x2db9bd;if(_0x47ef13)return _0x3acd3d(_0x47ef13);if(_0x420627[_0x555937(0xfa)]){if(this[_0x555937(0x13c)]+=_0x420627[_0x555937(0xfa)],this[_0x555937(0x13c)]>this['_maxPayload']&&this[_0x555937(0x1cf)]>0x0){const _0x429e8c=this[_0x555937(0x20e)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x555937(0x169));_0x3acd3d(_0x429e8c);return;}this['_fragments'][_0x555937(0x1b3)](_0x420627);}this[_0x555937(0x115)](_0x3acd3d),this['_state']===_0x51c507&&this[_0x555937(0x18d)](_0x3acd3d);});}[_0x306687(0x115)](_0x5309e5){const _0x21c58c=_0x306687;if(!this[_0x21c58c(0x1df)]){this['_state']=_0x51c507;return;}const _0x3b3da9=this[_0x21c58c(0x13c)],_0x3c91ee=this[_0x21c58c(0x1d5)];if(this['_totalPayloadLength']=0x0,this[_0x21c58c(0x13c)]=0x0,this[_0x21c58c(0xfe)]=0x0,this[_0x21c58c(0x1d5)]=[],this[_0x21c58c(0x23a)]===0x2){let _0x24d29a;this[_0x21c58c(0x1ed)]==='nodebuffer'?_0x24d29a=_0x35d2da(_0x3c91ee,_0x3b3da9):this[_0x21c58c(0x1ed)]==='arraybuffer'?_0x24d29a=_0x2aae49(_0x35d2da(_0x3c91ee,_0x3b3da9)):this['_binaryType']==='blob'?_0x24d29a=new Blob(_0x3c91ee):_0x24d29a=_0x3c91ee,this[_0x21c58c(0x29b)]?(this['emit']('message',_0x24d29a,!0x0),this['_state']=_0x51c507):(this[_0x21c58c(0x1e3)]=_0x4917b1,setImmediate(()=>{const _0x144bb7=_0x21c58c;this[_0x144bb7(0x1d6)](_0x144bb7(0x127),_0x24d29a,!0x0),this[_0x144bb7(0x1e3)]=_0x51c507,this[_0x144bb7(0x18d)](_0x5309e5);}));}else{const _0x1c16b7=_0x35d2da(_0x3c91ee,_0x3b3da9);if(!this['_skipUTF8Validation']&&!_0x77e8d0(_0x1c16b7)){const _0x3c83ce=this[_0x21c58c(0x20e)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x21c58c(0x19e));_0x5309e5(_0x3c83ce);return;}this['_state']===_0x121409||this[_0x21c58c(0x29b)]?(this[_0x21c58c(0x1d6)](_0x21c58c(0x127),_0x1c16b7,!0x1),this[_0x21c58c(0x1e3)]=_0x51c507):(this['_state']=_0x4917b1,setImmediate(()=>{const _0x2a3f73=_0x21c58c;this['emit'](_0x2a3f73(0x127),_0x1c16b7,!0x1),this[_0x2a3f73(0x1e3)]=_0x51c507,this[_0x2a3f73(0x18d)](_0x5309e5);}));}}[_0x306687(0x22e)](_0x25ef46,_0x21c209){const _0x30b023=_0x306687;if(this[_0x30b023(0x23a)]===0x8){if(_0x25ef46[_0x30b023(0xfa)]===0x0)this[_0x30b023(0x277)]=!0x1,this[_0x30b023(0x1d6)](_0x30b023(0xff),0x3ed,_0xc55ffb),this[_0x30b023(0x1ad)]();else{const _0x2b8e03=_0x25ef46[_0x30b023(0x24c)](0x0);if(!_0x5b48cc(_0x2b8e03)){const _0x565f9d=this[_0x30b023(0x20e)](RangeError,_0x30b023(0x221)+_0x2b8e03,!0x0,0x3ea,_0x30b023(0x227));_0x21c209(_0x565f9d);return;}const _0x24af0b=new _0x4cc29a(_0x25ef46['buffer'],_0x25ef46[_0x30b023(0x102)]+0x2,_0x25ef46[_0x30b023(0xfa)]-0x2);if(!this[_0x30b023(0x23f)]&&!_0x77e8d0(_0x24af0b)){const _0x272ad4=this[_0x30b023(0x20e)](Error,_0x30b023(0xf8),!0x0,0x3ef,_0x30b023(0x19e));_0x21c209(_0x272ad4);return;}this['_loop']=!0x1,this[_0x30b023(0x1d6)](_0x30b023(0xff),_0x2b8e03,_0x24af0b),this[_0x30b023(0x1ad)]();}this[_0x30b023(0x1e3)]=_0x51c507;return;}this[_0x30b023(0x29b)]?(this[_0x30b023(0x1d6)](this['_opcode']===0x9?_0x30b023(0x19a):_0x30b023(0x276),_0x25ef46),this[_0x30b023(0x1e3)]=_0x51c507):(this[_0x30b023(0x1e3)]=_0x4917b1,setImmediate(()=>{const _0x284099=_0x30b023;this[_0x284099(0x1d6)](this['_opcode']===0x9?'ping':_0x284099(0x276),_0x25ef46),this[_0x284099(0x1e3)]=_0x51c507,this['startLoop'](_0x21c209);}));}[_0x306687(0x20e)](_0x164395,_0xf3abb0,_0x155e9c,_0x8dcbda,_0x107715){const _0x1be037=_0x306687;this['_loop']=!0x1,this[_0x1be037(0x175)]=!0x0;const _0x1c99d3=new _0x164395(_0x155e9c?'Invalid\x20WebSocket\x20frame:\x20'+_0xf3abb0:_0xf3abb0);return Error[_0x1be037(0xfc)](_0x1c99d3,this['createError']),_0x1c99d3[_0x1be037(0x1f6)]=_0x107715,_0x1c99d3[_0x302286]=_0x8dcbda,_0x1c99d3;}}return Se=_0x194e70,Se;}var Ee,Qe;function ut(){const _0x4ae8e5=_0x474b37;if(Qe)return Ee;Qe=0x1;const {Duplex:_0x585c33}=_0x1aed00,{randomFillSync:_0xf29cbc}=_0xecbc3b,_0x7bcce0=ce(),{EMPTY_BUFFER:_0x594e7e,kWebSocket:_0x407cd0,NOOP:_0x1da6e8}=V(),{isBlob:_0x4f1a0c,isValidStatusCode:_0x22e715}=ie(),{mask:_0x1906a0,toBuffer:_0x52d454}=fe(),_0x1660b4=Symbol(_0x4ae8e5(0x15b)),_0x3e0fca=Buffer['alloc'](0x4),_0x43f644=0x8*0x400;let _0x26dc55,_0x5c6149=_0x43f644;const _0x420ca1=0x0,_0x574b6a=0x1,_0x2ea7c1=0x2;class _0x291f0d{constructor(_0x21e911,_0x1f8ee1,_0x12bc14){const _0x5b8677=_0x4ae8e5;this[_0x5b8677(0x198)]=_0x1f8ee1||{},_0x12bc14&&(this[_0x5b8677(0x25d)]=_0x12bc14,this[_0x5b8677(0x185)]=Buffer[_0x5b8677(0x17e)](0x4)),this['_socket']=_0x21e911,this['_firstFragment']=!0x0,this[_0x5b8677(0x12a)]=!0x1,this[_0x5b8677(0xfd)]=0x0,this['_queue']=[],this[_0x5b8677(0x1e3)]=_0x420ca1,this['onerror']=_0x1da6e8,this[_0x407cd0]=void 0x0;}static[_0x4ae8e5(0x140)](_0x4ae1f4,_0x25f6aa){const _0x3697d9=_0x4ae8e5;let _0x2784ad,_0x58b11f=!0x1,_0x509105=0x2,_0x40817e=!0x1;_0x25f6aa[_0x3697d9(0x1ee)]&&(_0x2784ad=_0x25f6aa['maskBuffer']||_0x3e0fca,_0x25f6aa['generateMask']?_0x25f6aa[_0x3697d9(0x13d)](_0x2784ad):(_0x5c6149===_0x43f644&&(_0x26dc55===void 0x0&&(_0x26dc55=Buffer[_0x3697d9(0x17e)](_0x43f644)),_0xf29cbc(_0x26dc55,0x0,_0x43f644),_0x5c6149=0x0),_0x2784ad[0x0]=_0x26dc55[_0x5c6149++],_0x2784ad[0x1]=_0x26dc55[_0x5c6149++],_0x2784ad[0x2]=_0x26dc55[_0x5c6149++],_0x2784ad[0x3]=_0x26dc55[_0x5c6149++]),_0x40817e=(_0x2784ad[0x0]|_0x2784ad[0x1]|_0x2784ad[0x2]|_0x2784ad[0x3])===0x0,_0x509105=0x6);let _0x231b5c;typeof _0x4ae1f4=='string'?(!_0x25f6aa[_0x3697d9(0x1ee)]||_0x40817e)&&_0x25f6aa[_0x1660b4]!==void 0x0?_0x231b5c=_0x25f6aa[_0x1660b4]:(_0x4ae1f4=Buffer[_0x3697d9(0x21d)](_0x4ae1f4),_0x231b5c=_0x4ae1f4[_0x3697d9(0xfa)]):(_0x231b5c=_0x4ae1f4['length'],_0x58b11f=_0x25f6aa[_0x3697d9(0x1ee)]&&_0x25f6aa[_0x3697d9(0x112)]&&!_0x40817e);let _0x1187e3=_0x231b5c;_0x231b5c>=0x10000?(_0x509105+=0x8,_0x1187e3=0x7f):_0x231b5c>0x7d&&(_0x509105+=0x2,_0x1187e3=0x7e);const _0x277030=Buffer[_0x3697d9(0x119)](_0x58b11f?_0x231b5c+_0x509105:_0x509105);return _0x277030[0x0]=_0x25f6aa[_0x3697d9(0x1a5)]?_0x25f6aa[_0x3697d9(0x1f0)]|0x80:_0x25f6aa[_0x3697d9(0x1f0)],_0x25f6aa[_0x3697d9(0x151)]&&(_0x277030[0x0]|=0x40),_0x277030[0x1]=_0x1187e3,_0x1187e3===0x7e?_0x277030['writeUInt16BE'](_0x231b5c,0x2):_0x1187e3===0x7f&&(_0x277030[0x2]=_0x277030[0x3]=0x0,_0x277030[_0x3697d9(0x2a4)](_0x231b5c,0x4,0x6)),_0x25f6aa[_0x3697d9(0x1ee)]?(_0x277030[0x1]|=0x80,_0x277030[_0x509105-0x4]=_0x2784ad[0x0],_0x277030[_0x509105-0x3]=_0x2784ad[0x1],_0x277030[_0x509105-0x2]=_0x2784ad[0x2],_0x277030[_0x509105-0x1]=_0x2784ad[0x3],_0x40817e?[_0x277030,_0x4ae1f4]:_0x58b11f?(_0x1906a0(_0x4ae1f4,_0x2784ad,_0x277030,_0x509105,_0x231b5c),[_0x277030]):(_0x1906a0(_0x4ae1f4,_0x2784ad,_0x4ae1f4,0x0,_0x231b5c),[_0x277030,_0x4ae1f4])):[_0x277030,_0x4ae1f4];}[_0x4ae8e5(0x1e5)](_0x54e18c,_0x3e5d11,_0x1927e7,_0x3128b0){const _0x15e369=_0x4ae8e5;let _0x46152f;if(_0x54e18c===void 0x0)_0x46152f=_0x594e7e;else{if(typeof _0x54e18c!=_0x15e369(0x26c)||!_0x22e715(_0x54e18c))throw new TypeError(_0x15e369(0x282));if(_0x3e5d11===void 0x0||!_0x3e5d11[_0x15e369(0xfa)])_0x46152f=Buffer[_0x15e369(0x119)](0x2),_0x46152f[_0x15e369(0x26f)](_0x54e18c,0x0);else{const _0x2f19dd=Buffer[_0x15e369(0x1ab)](_0x3e5d11);if(_0x2f19dd>0x7b)throw new RangeError(_0x15e369(0x160));_0x46152f=Buffer[_0x15e369(0x119)](0x2+_0x2f19dd),_0x46152f[_0x15e369(0x26f)](_0x54e18c,0x0),typeof _0x3e5d11=='string'?_0x46152f[_0x15e369(0x184)](_0x3e5d11,0x2):_0x46152f[_0x15e369(0x122)](_0x3e5d11,0x2);}}const _0x52c2e2={[_0x1660b4]:_0x46152f['length'],'fin':!0x0,'generateMask':this[_0x15e369(0x25d)],'mask':_0x1927e7,'maskBuffer':this[_0x15e369(0x185)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x15e369(0x1e3)]!==_0x420ca1?this[_0x15e369(0x123)]([this[_0x15e369(0x286)],_0x46152f,!0x1,_0x52c2e2,_0x3128b0]):this['sendFrame'](_0x291f0d[_0x15e369(0x140)](_0x46152f,_0x52c2e2),_0x3128b0);}[_0x4ae8e5(0x19a)](_0x41b1af,_0x1f0c4c,_0x44da19){const _0xe1a179=_0x4ae8e5;let _0x210fad,_0x4876bb;if(typeof _0x41b1af=='string'?(_0x210fad=Buffer[_0xe1a179(0x1ab)](_0x41b1af),_0x4876bb=!0x1):_0x4f1a0c(_0x41b1af)?(_0x210fad=_0x41b1af['size'],_0x4876bb=!0x1):(_0x41b1af=_0x52d454(_0x41b1af),_0x210fad=_0x41b1af[_0xe1a179(0xfa)],_0x4876bb=_0x52d454[_0xe1a179(0x112)]),_0x210fad>0x7d)throw new RangeError(_0xe1a179(0x280));const _0x798c16={[_0x1660b4]:_0x210fad,'fin':!0x0,'generateMask':this[_0xe1a179(0x25d)],'mask':_0x1f0c4c,'maskBuffer':this[_0xe1a179(0x185)],'opcode':0x9,'readOnly':_0x4876bb,'rsv1':!0x1};_0x4f1a0c(_0x41b1af)?this[_0xe1a179(0x1e3)]!==_0x420ca1?this[_0xe1a179(0x123)]([this['getBlobData'],_0x41b1af,!0x1,_0x798c16,_0x44da19]):this['getBlobData'](_0x41b1af,!0x1,_0x798c16,_0x44da19):this[_0xe1a179(0x1e3)]!==_0x420ca1?this['enqueue']([this[_0xe1a179(0x286)],_0x41b1af,!0x1,_0x798c16,_0x44da19]):this[_0xe1a179(0x156)](_0x291f0d['frame'](_0x41b1af,_0x798c16),_0x44da19);}[_0x4ae8e5(0x276)](_0x154e68,_0x2d470c,_0x5c95c3){const _0x32ba19=_0x4ae8e5;let _0x1ea7d3,_0xc87a02;if(typeof _0x154e68==_0x32ba19(0x294)?(_0x1ea7d3=Buffer[_0x32ba19(0x1ab)](_0x154e68),_0xc87a02=!0x1):_0x4f1a0c(_0x154e68)?(_0x1ea7d3=_0x154e68[_0x32ba19(0x1fd)],_0xc87a02=!0x1):(_0x154e68=_0x52d454(_0x154e68),_0x1ea7d3=_0x154e68[_0x32ba19(0xfa)],_0xc87a02=_0x52d454[_0x32ba19(0x112)]),_0x1ea7d3>0x7d)throw new RangeError(_0x32ba19(0x280));const _0x570e77={[_0x1660b4]:_0x1ea7d3,'fin':!0x0,'generateMask':this[_0x32ba19(0x25d)],'mask':_0x2d470c,'maskBuffer':this[_0x32ba19(0x185)],'opcode':0xa,'readOnly':_0xc87a02,'rsv1':!0x1};_0x4f1a0c(_0x154e68)?this[_0x32ba19(0x1e3)]!==_0x420ca1?this[_0x32ba19(0x123)]([this['getBlobData'],_0x154e68,!0x1,_0x570e77,_0x5c95c3]):this[_0x32ba19(0x1a8)](_0x154e68,!0x1,_0x570e77,_0x5c95c3):this[_0x32ba19(0x1e3)]!==_0x420ca1?this[_0x32ba19(0x123)]([this[_0x32ba19(0x286)],_0x154e68,!0x1,_0x570e77,_0x5c95c3]):this['sendFrame'](_0x291f0d[_0x32ba19(0x140)](_0x154e68,_0x570e77),_0x5c95c3);}[_0x4ae8e5(0x178)](_0x394622,_0x1475be,_0x196c57){const _0x258582=_0x4ae8e5,_0x59bb3b=this[_0x258582(0x198)][_0x7bcce0[_0x258582(0x10e)]];let _0x3647aa=_0x1475be['binary']?0x2:0x1,_0x4fc73a=_0x1475be[_0x258582(0x23b)],_0x52e654,_0x4acc56;typeof _0x394622==_0x258582(0x294)?(_0x52e654=Buffer['byteLength'](_0x394622),_0x4acc56=!0x1):_0x4f1a0c(_0x394622)?(_0x52e654=_0x394622[_0x258582(0x1fd)],_0x4acc56=!0x1):(_0x394622=_0x52d454(_0x394622),_0x52e654=_0x394622['length'],_0x4acc56=_0x52d454['readOnly']),this['_firstFragment']?(this[_0x258582(0x292)]=!0x1,_0x4fc73a&&_0x59bb3b&&_0x59bb3b[_0x258582(0x14a)][_0x59bb3b[_0x258582(0x1e8)]?_0x258582(0x1a7):_0x258582(0x16f)]&&(_0x4fc73a=_0x52e654>=_0x59bb3b[_0x258582(0x233)]),this['_compress']=_0x4fc73a):(_0x4fc73a=!0x1,_0x3647aa=0x0),_0x1475be[_0x258582(0x1a5)]&&(this[_0x258582(0x292)]=!0x0);const _0x3a3b32={[_0x1660b4]:_0x52e654,'fin':_0x1475be[_0x258582(0x1a5)],'generateMask':this['_generateMask'],'mask':_0x1475be['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x3647aa,'readOnly':_0x4acc56,'rsv1':_0x4fc73a};_0x4f1a0c(_0x394622)?this[_0x258582(0x1e3)]!==_0x420ca1?this[_0x258582(0x123)]([this['getBlobData'],_0x394622,this['_compress'],_0x3a3b32,_0x196c57]):this[_0x258582(0x1a8)](_0x394622,this[_0x258582(0x12a)],_0x3a3b32,_0x196c57):this['_state']!==_0x420ca1?this[_0x258582(0x123)]([this[_0x258582(0x286)],_0x394622,this[_0x258582(0x12a)],_0x3a3b32,_0x196c57]):this[_0x258582(0x286)](_0x394622,this[_0x258582(0x12a)],_0x3a3b32,_0x196c57);}[_0x4ae8e5(0x1a8)](_0xccce0d,_0x5d3693,_0x1ba7fd,_0x44bb46){const _0x8a2b5=_0x4ae8e5;this['_bufferedBytes']+=_0x1ba7fd[_0x1660b4],this[_0x8a2b5(0x1e3)]=_0x2ea7c1,_0xccce0d[_0x8a2b5(0x1b7)]()[_0x8a2b5(0x27a)](_0x3cd9e7=>{const _0x5b86da=_0x8a2b5;if(this[_0x5b86da(0x183)][_0x5b86da(0x290)]){const _0x20bbd8=new Error(_0x5b86da(0x205));process[_0x5b86da(0x285)](_0x58535e,this,_0x20bbd8,_0x44bb46);return;}this[_0x5b86da(0xfd)]-=_0x1ba7fd[_0x1660b4];const _0x5081fc=_0x52d454(_0x3cd9e7);_0x5d3693?this['dispatch'](_0x5081fc,_0x5d3693,_0x1ba7fd,_0x44bb46):(this[_0x5b86da(0x1e3)]=_0x420ca1,this[_0x5b86da(0x156)](_0x291f0d[_0x5b86da(0x140)](_0x5081fc,_0x1ba7fd),_0x44bb46),this[_0x5b86da(0x25c)]());})['catch'](_0x6533=>{const _0x13417c=_0x8a2b5;process[_0x13417c(0x285)](_0x1bb839,this,_0x6533,_0x44bb46);});}[_0x4ae8e5(0x286)](_0x6a22d4,_0x15ef85,_0x506245,_0x42fcc8){const _0x3e64e0=_0x4ae8e5;if(!_0x15ef85){this[_0x3e64e0(0x156)](_0x291f0d['frame'](_0x6a22d4,_0x506245),_0x42fcc8);return;}const _0x329648=this['_extensions'][_0x7bcce0['extensionName']];this[_0x3e64e0(0xfd)]+=_0x506245[_0x1660b4],this['_state']=_0x574b6a,_0x329648['compress'](_0x6a22d4,_0x506245['fin'],(_0x35daa6,_0x4efa72)=>{const _0xc17768=_0x3e64e0;if(this['_socket'][_0xc17768(0x290)]){const _0x4d7875=new Error(_0xc17768(0x108));_0x58535e(this,_0x4d7875,_0x42fcc8);return;}this['_bufferedBytes']-=_0x506245[_0x1660b4],this['_state']=_0x420ca1,_0x506245[_0xc17768(0x112)]=!0x1,this[_0xc17768(0x156)](_0x291f0d[_0xc17768(0x140)](_0x4efa72,_0x506245),_0x42fcc8),this[_0xc17768(0x25c)]();});}[_0x4ae8e5(0x25c)](){const _0x374cd7=_0x4ae8e5;for(;this['_state']===_0x420ca1&&this[_0x374cd7(0x274)]['length'];){const _0x28916b=this[_0x374cd7(0x274)][_0x374cd7(0x1ac)]();this['_bufferedBytes']-=_0x28916b[0x3][_0x1660b4],Reflect['apply'](_0x28916b[0x0],this,_0x28916b['slice'](0x1));}}[_0x4ae8e5(0x123)](_0x1ea145){const _0x1f1bda=_0x4ae8e5;this[_0x1f1bda(0xfd)]+=_0x1ea145[0x3][_0x1660b4],this[_0x1f1bda(0x274)]['push'](_0x1ea145);}[_0x4ae8e5(0x156)](_0x420287,_0x5ce949){const _0x11c74a=_0x4ae8e5;_0x420287['length']===0x2?(this['_socket'][_0x11c74a(0x29e)](),this[_0x11c74a(0x183)][_0x11c74a(0x184)](_0x420287[0x0]),this[_0x11c74a(0x183)]['write'](_0x420287[0x1],_0x5ce949),this['_socket']['uncork']()):this[_0x11c74a(0x183)][_0x11c74a(0x184)](_0x420287[0x0],_0x5ce949);}}Ee=_0x291f0d;function _0x58535e(_0xed9dca,_0x210756,_0x432b1b){const _0xe50880=_0x4ae8e5;typeof _0x432b1b==_0xe50880(0x1c4)&&_0x432b1b(_0x210756);for(let _0x41d9c1=0x0;_0x41d9c1<_0xed9dca[_0xe50880(0x274)]['length'];_0x41d9c1++){const _0x2c8e41=_0xed9dca[_0xe50880(0x274)][_0x41d9c1],_0x5d4111=_0x2c8e41[_0x2c8e41['length']-0x1];typeof _0x5d4111==_0xe50880(0x1c4)&&_0x5d4111(_0x210756);}}function _0x1bb839(_0x2f25c3,_0x55a75e,_0x3036e4){const _0x24a9be=_0x4ae8e5;_0x58535e(_0x2f25c3,_0x55a75e,_0x3036e4),_0x2f25c3[_0x24a9be(0x1ce)](_0x55a75e);}return Ee;}var xe,Je;function zt(){const _0x24928b=_0x474b37;if(Je)return xe;Je=0x1;const {kForOnEventAttribute:_0x4c80f2,kListener:_0x50f7cf}=V(),_0x2daa9=Symbol('kCode'),_0x10fa99=Symbol(_0x24928b(0x18a)),_0x4a2767=Symbol(_0x24928b(0x1f9)),_0x537ee4=Symbol('kMessage'),_0x481b31=Symbol(_0x24928b(0x1c3)),_0x40b963=Symbol(_0x24928b(0x24b)),_0x1b1591=Symbol(_0x24928b(0x18b)),_0x3e85f5=Symbol(_0x24928b(0x117));class _0x4c734d{constructor(_0x1072a1){this[_0x40b963]=null,this[_0x1b1591]=_0x1072a1;}get[_0x24928b(0x176)](){return this[_0x40b963];}get['type'](){return this[_0x1b1591];}}Object[_0x24928b(0x220)](_0x4c734d[_0x24928b(0x133)],_0x24928b(0x176),{'enumerable':!0x0}),Object['defineProperty'](_0x4c734d[_0x24928b(0x133)],_0x24928b(0x25e),{'enumerable':!0x0});class _0xce6934 extends _0x4c734d{constructor(_0x5a150a,_0x2d19f8={}){const _0x34584=_0x24928b;super(_0x5a150a),this[_0x2daa9]=_0x2d19f8[_0x34584(0x1f6)]===void 0x0?0x0:_0x2d19f8[_0x34584(0x1f6)],this[_0x481b31]=_0x2d19f8[_0x34584(0x211)]===void 0x0?'':_0x2d19f8['reason'],this[_0x3e85f5]=_0x2d19f8[_0x34584(0x216)]===void 0x0?!0x1:_0x2d19f8[_0x34584(0x216)];}get['code'](){return this[_0x2daa9];}get[_0x24928b(0x211)](){return this[_0x481b31];}get[_0x24928b(0x216)](){return this[_0x3e85f5];}}Object[_0x24928b(0x220)](_0xce6934[_0x24928b(0x133)],'code',{'enumerable':!0x0}),Object[_0x24928b(0x220)](_0xce6934[_0x24928b(0x133)],_0x24928b(0x211),{'enumerable':!0x0}),Object[_0x24928b(0x220)](_0xce6934['prototype'],_0x24928b(0x216),{'enumerable':!0x0});class _0x3bccc7 extends _0x4c734d{constructor(_0x469daf,_0x50170b={}){const _0x3df625=_0x24928b;super(_0x469daf),this[_0x4a2767]=_0x50170b[_0x3df625(0x10d)]===void 0x0?null:_0x50170b['error'],this[_0x537ee4]=_0x50170b[_0x3df625(0x127)]===void 0x0?'':_0x50170b['message'];}get['error'](){return this[_0x4a2767];}get[_0x24928b(0x127)](){return this[_0x537ee4];}}Object['defineProperty'](_0x3bccc7['prototype'],_0x24928b(0x10d),{'enumerable':!0x0}),Object[_0x24928b(0x220)](_0x3bccc7[_0x24928b(0x133)],_0x24928b(0x127),{'enumerable':!0x0});class _0x366695 extends _0x4c734d{constructor(_0x3c07f9,_0x511238={}){const _0x80c2df=_0x24928b;super(_0x3c07f9),this[_0x10fa99]=_0x511238['data']===void 0x0?null:_0x511238[_0x80c2df(0x225)];}get[_0x24928b(0x225)](){return this[_0x10fa99];}}Object[_0x24928b(0x220)](_0x366695[_0x24928b(0x133)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xce6934,'ErrorEvent':_0x3bccc7,'Event':_0x4c734d,'EventTarget':{'addEventListener'(_0x3a4570,_0x585740,_0x55f0ab={}){const _0x18e822=_0x24928b;for(const _0x36d4b8 of this[_0x18e822(0x1f2)](_0x3a4570))if(!_0x55f0ab[_0x4c80f2]&&_0x36d4b8[_0x50f7cf]===_0x585740&&!_0x36d4b8[_0x4c80f2])return;let _0x164323;if(_0x3a4570==='message')_0x164323=function(_0x2f1330,_0x46c07c){const _0x515626=_0x18e822,_0x279e5b=new _0x366695('message',{'data':_0x46c07c?_0x2f1330:_0x2f1330[_0x515626(0x2a2)]()});_0x279e5b[_0x40b963]=this,_0x15339f(_0x585740,this,_0x279e5b);};else{if(_0x3a4570===_0x18e822(0x1e5))_0x164323=function(_0xbd6727,_0x36c629){const _0x5a4890=_0x18e822,_0x5a3016=new _0xce6934(_0x5a4890(0x1e5),{'code':_0xbd6727,'reason':_0x36c629[_0x5a4890(0x2a2)](),'wasClean':this[_0x5a4890(0x208)]&&this[_0x5a4890(0x138)]});_0x5a3016[_0x40b963]=this,_0x15339f(_0x585740,this,_0x5a3016);};else{if(_0x3a4570===_0x18e822(0x10d))_0x164323=function(_0x782f55){const _0x5a627e=new _0x3bccc7('error',{'error':_0x782f55,'message':_0x782f55['message']});_0x5a627e[_0x40b963]=this,_0x15339f(_0x585740,this,_0x5a627e);};else{if(_0x3a4570===_0x18e822(0x146))_0x164323=function(){const _0x1124e9=new _0x4c734d('open');_0x1124e9[_0x40b963]=this,_0x15339f(_0x585740,this,_0x1124e9);};else return;}}}_0x164323[_0x4c80f2]=!!_0x55f0ab[_0x4c80f2],_0x164323[_0x50f7cf]=_0x585740,_0x55f0ab[_0x18e822(0x1c2)]?this[_0x18e822(0x1c2)](_0x3a4570,_0x164323):this['on'](_0x3a4570,_0x164323);},'removeEventListener'(_0x4b79dd,_0x3b22c0){const _0x3ab75b=_0x24928b;for(const _0x4b6923 of this[_0x3ab75b(0x1f2)](_0x4b79dd))if(_0x4b6923[_0x50f7cf]===_0x3b22c0&&!_0x4b6923[_0x4c80f2]){this[_0x3ab75b(0xf9)](_0x4b79dd,_0x4b6923);break;}}},'MessageEvent':_0x366695};function _0x15339f(_0x346a86,_0x4b0657,_0x31bdf5){const _0xef1424=_0x24928b;typeof _0x346a86==_0xef1424(0x1d8)&&_0x346a86['handleEvent']?_0x346a86[_0xef1424(0x1cb)][_0xef1424(0x157)](_0x346a86,_0x31bdf5):_0x346a86[_0xef1424(0x157)](_0x4b0657,_0x31bdf5);}return xe;}var be,et;function dt(){if(et)return be;et=0x1;const {tokenChars:_0x47cf75}=ie();function _0x3f4d32(_0x270360,_0x175b0c,_0x5be71b){const _0x5865cd=_0x4acf;_0x270360[_0x175b0c]===void 0x0?_0x270360[_0x175b0c]=[_0x5be71b]:_0x270360[_0x175b0c][_0x5865cd(0x1b3)](_0x5be71b);}function _0x500c92(_0x5b4d05){const _0x5352f3=_0x4acf,_0x53d8b0=Object['create'](null);let _0x34b7b4=Object['create'](null),_0x5123f2=!0x1,_0x5412c7=!0x1,_0x576a7d=!0x1,_0x169c5a,_0x4b8448,_0x3ca7a5=-0x1,_0x3a32d7=-0x1,_0x11f9b2=-0x1,_0x2d6ceb=0x0;for(;_0x2d6ceb<_0x5b4d05['length'];_0x2d6ceb++)if(_0x3a32d7=_0x5b4d05['charCodeAt'](_0x2d6ceb),_0x169c5a===void 0x0){if(_0x11f9b2===-0x1&&_0x47cf75[_0x3a32d7]===0x1)_0x3ca7a5===-0x1&&(_0x3ca7a5=_0x2d6ceb);else{if(_0x2d6ceb!==0x0&&(_0x3a32d7===0x20||_0x3a32d7===0x9))_0x11f9b2===-0x1&&_0x3ca7a5!==-0x1&&(_0x11f9b2=_0x2d6ceb);else{if(_0x3a32d7===0x3b||_0x3a32d7===0x2c){if(_0x3ca7a5===-0x1)throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);_0x11f9b2===-0x1&&(_0x11f9b2=_0x2d6ceb);const _0x41c669=_0x5b4d05[_0x5352f3(0x1cd)](_0x3ca7a5,_0x11f9b2);_0x3a32d7===0x2c?(_0x3f4d32(_0x53d8b0,_0x41c669,_0x34b7b4),_0x34b7b4=Object[_0x5352f3(0x245)](null)):_0x169c5a=_0x41c669,_0x3ca7a5=_0x11f9b2=-0x1;}else throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);}}}else{if(_0x4b8448===void 0x0){if(_0x11f9b2===-0x1&&_0x47cf75[_0x3a32d7]===0x1)_0x3ca7a5===-0x1&&(_0x3ca7a5=_0x2d6ceb);else{if(_0x3a32d7===0x20||_0x3a32d7===0x9)_0x11f9b2===-0x1&&_0x3ca7a5!==-0x1&&(_0x11f9b2=_0x2d6ceb);else{if(_0x3a32d7===0x3b||_0x3a32d7===0x2c){if(_0x3ca7a5===-0x1)throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);_0x11f9b2===-0x1&&(_0x11f9b2=_0x2d6ceb),_0x3f4d32(_0x34b7b4,_0x5b4d05[_0x5352f3(0x1cd)](_0x3ca7a5,_0x11f9b2),!0x0),_0x3a32d7===0x2c&&(_0x3f4d32(_0x53d8b0,_0x169c5a,_0x34b7b4),_0x34b7b4=Object[_0x5352f3(0x245)](null),_0x169c5a=void 0x0),_0x3ca7a5=_0x11f9b2=-0x1;}else{if(_0x3a32d7===0x3d&&_0x3ca7a5!==-0x1&&_0x11f9b2===-0x1)_0x4b8448=_0x5b4d05[_0x5352f3(0x1cd)](_0x3ca7a5,_0x2d6ceb),_0x3ca7a5=_0x11f9b2=-0x1;else throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);}}}}else{if(_0x5412c7){if(_0x47cf75[_0x3a32d7]!==0x1)throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);_0x3ca7a5===-0x1?_0x3ca7a5=_0x2d6ceb:_0x5123f2||(_0x5123f2=!0x0),_0x5412c7=!0x1;}else{if(_0x576a7d){if(_0x47cf75[_0x3a32d7]===0x1)_0x3ca7a5===-0x1&&(_0x3ca7a5=_0x2d6ceb);else{if(_0x3a32d7===0x22&&_0x3ca7a5!==-0x1)_0x576a7d=!0x1,_0x11f9b2=_0x2d6ceb;else{if(_0x3a32d7===0x5c)_0x5412c7=!0x0;else throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);}}}else{if(_0x3a32d7===0x22&&_0x5b4d05['charCodeAt'](_0x2d6ceb-0x1)===0x3d)_0x576a7d=!0x0;else{if(_0x11f9b2===-0x1&&_0x47cf75[_0x3a32d7]===0x1)_0x3ca7a5===-0x1&&(_0x3ca7a5=_0x2d6ceb);else{if(_0x3ca7a5!==-0x1&&(_0x3a32d7===0x20||_0x3a32d7===0x9))_0x11f9b2===-0x1&&(_0x11f9b2=_0x2d6ceb);else{if(_0x3a32d7===0x3b||_0x3a32d7===0x2c){if(_0x3ca7a5===-0x1)throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);_0x11f9b2===-0x1&&(_0x11f9b2=_0x2d6ceb);let _0x341b22=_0x5b4d05[_0x5352f3(0x1cd)](_0x3ca7a5,_0x11f9b2);_0x5123f2&&(_0x341b22=_0x341b22[_0x5352f3(0x267)](/\\/g,''),_0x5123f2=!0x1),_0x3f4d32(_0x34b7b4,_0x4b8448,_0x341b22),_0x3a32d7===0x2c&&(_0x3f4d32(_0x53d8b0,_0x169c5a,_0x34b7b4),_0x34b7b4=Object[_0x5352f3(0x245)](null),_0x169c5a=void 0x0),_0x4b8448=void 0x0,_0x3ca7a5=_0x11f9b2=-0x1;}else throw new SyntaxError(_0x5352f3(0x29d)+_0x2d6ceb);}}}}}}}if(_0x3ca7a5===-0x1||_0x576a7d||_0x3a32d7===0x20||_0x3a32d7===0x9)throw new SyntaxError(_0x5352f3(0x260));_0x11f9b2===-0x1&&(_0x11f9b2=_0x2d6ceb);const _0x338efd=_0x5b4d05[_0x5352f3(0x1cd)](_0x3ca7a5,_0x11f9b2);return _0x169c5a===void 0x0?_0x3f4d32(_0x53d8b0,_0x338efd,_0x34b7b4):(_0x4b8448===void 0x0?_0x3f4d32(_0x34b7b4,_0x338efd,!0x0):_0x5123f2?_0x3f4d32(_0x34b7b4,_0x4b8448,_0x338efd[_0x5352f3(0x267)](/\\/g,'')):_0x3f4d32(_0x34b7b4,_0x4b8448,_0x338efd),_0x3f4d32(_0x53d8b0,_0x169c5a,_0x34b7b4)),_0x53d8b0;}function _0x4c3289(_0x4142ae){const _0x107500=_0x4acf;return Object[_0x107500(0x159)](_0x4142ae)[_0x107500(0x272)](_0x4bb2bb=>{const _0x195910=_0x107500;let _0x38c85e=_0x4142ae[_0x4bb2bb];return Array[_0x195910(0x149)](_0x38c85e)||(_0x38c85e=[_0x38c85e]),_0x38c85e[_0x195910(0x272)](_0xe19b10=>[_0x4bb2bb][_0x195910(0x103)](Object[_0x195910(0x159)](_0xe19b10)[_0x195910(0x272)](_0x54d1b1=>{const _0x56e1c5=_0x195910;let _0x985f74=_0xe19b10[_0x54d1b1];return Array['isArray'](_0x985f74)||(_0x985f74=[_0x985f74]),_0x985f74[_0x56e1c5(0x272)](_0x2d4890=>_0x2d4890===!0x0?_0x54d1b1:_0x54d1b1+'='+_0x2d4890)[_0x56e1c5(0x217)](';\x20');}))[_0x195910(0x217)](';\x20'))[_0x195910(0x217)](',\x20');})[_0x107500(0x217)](',\x20');}return be={'format':_0x4c3289,'parse':_0x500c92},be;}var we,tt;function Be(){const _0x5ae589=_0x474b37;if(tt)return we;tt=0x1;const _0x18aa84=_0x109afc,_0xbf2265=_0x17fcb2,_0x32fda0=_0x328dd4,_0x2b246c=_0x374a67,_0x391aaa=_0x47a346,{randomBytes:_0x3cf629,createHash:_0x13f55b}=_0xecbc3b,{Duplex:_0x175298,Readable:_0x16a4ea}=_0x1aed00,{URL:_0x153b3f}=_0x4e3634,_0x213c52=ce(),_0x47ac8b=ht(),_0xc232fd=ut(),{isBlob:_0x29dfd9}=ie(),{BINARY_TYPES:_0x5a5458,EMPTY_BUFFER:_0x2408d7,GUID:_0x3fbed4,kForOnEventAttribute:_0x2cdcce,kListener:_0xc9929f,kStatusCode:_0x3b7780,kWebSocket:_0x1aa11e,NOOP:_0x1c8002}=V(),{EventTarget:{addEventListener:_0x2b6d00,removeEventListener:_0x311a93}}=zt(),{format:_0x147882,parse:_0x15f088}=dt(),{toBuffer:_0x59d4f3}=fe(),_0x363612=0x1e*0x3e8,_0x1a3070=Symbol(_0x5ae589(0x17d)),_0x355769=[0x8,0xd],_0x2aa47f=[_0x5ae589(0x253),_0x5ae589(0x24d),'CLOSING',_0x5ae589(0x291)],_0x54e205=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x32ff2d extends _0x18aa84{constructor(_0x4ef5c1,_0x442e8a,_0x9d27d8){const _0x212def=_0x5ae589;super(),this[_0x212def(0x1ed)]=_0x5a5458[0x0],this[_0x212def(0x256)]=0x3ee,this[_0x212def(0x208)]=!0x1,this[_0x212def(0x138)]=!0x1,this[_0x212def(0x1cc)]=_0x2408d7,this[_0x212def(0x179)]=null,this[_0x212def(0x295)]=!0x1,this[_0x212def(0x198)]={},this[_0x212def(0x1fe)]=!0x1,this[_0x212def(0x1d9)]='',this[_0x212def(0x18c)]=_0x32ff2d[_0x212def(0x253)],this['_receiver']=null,this[_0x212def(0x164)]=null,this['_socket']=null,_0x4ef5c1!==null?(this[_0x212def(0x1b6)]=0x0,this[_0x212def(0x1e8)]=!0x1,this['_redirects']=0x0,_0x442e8a===void 0x0?_0x442e8a=[]:Array['isArray'](_0x442e8a)||(typeof _0x442e8a==_0x212def(0x1d8)&&_0x442e8a!==null?(_0x9d27d8=_0x442e8a,_0x442e8a=[]):_0x442e8a=[_0x442e8a]),_0x5a5a0c(this,_0x4ef5c1,_0x442e8a,_0x9d27d8)):(this[_0x212def(0x158)]=_0x9d27d8[_0x212def(0x15e)],this['_isServer']=!0x0);}get[_0x5ae589(0x215)](){const _0x4401f0=_0x5ae589;return this[_0x4401f0(0x1ed)];}set[_0x5ae589(0x215)](_0x556d75){const _0x451527=_0x5ae589;_0x5a5458[_0x451527(0x28b)](_0x556d75)&&(this[_0x451527(0x1ed)]=_0x556d75,this['_receiver']&&(this['_receiver'][_0x451527(0x1ed)]=_0x556d75));}get[_0x5ae589(0x213)](){const _0x2a51a2=_0x5ae589;return this['_socket']?this[_0x2a51a2(0x183)][_0x2a51a2(0x23c)][_0x2a51a2(0xfa)]+this['_sender'][_0x2a51a2(0xfd)]:this[_0x2a51a2(0x1b6)];}get['extensions'](){const _0x15a6bd=_0x5ae589;return Object[_0x15a6bd(0x159)](this[_0x15a6bd(0x198)])[_0x15a6bd(0x217)]();}get[_0x5ae589(0x265)](){const _0xf47fd6=_0x5ae589;return this[_0xf47fd6(0x1fe)];}get[_0x5ae589(0x10f)](){return null;}get['onerror'](){return null;}get[_0x5ae589(0x255)](){return null;}get['onmessage'](){return null;}get[_0x5ae589(0x24e)](){const _0x1b18b4=_0x5ae589;return this[_0x1b18b4(0x1d9)];}get[_0x5ae589(0x16b)](){return this['_readyState'];}get['url'](){const _0x577160=_0x5ae589;return this[_0x577160(0x21c)];}['setSocket'](_0x1b19a0,_0x232188,_0x529724){const _0x4448dc=_0x5ae589,_0x411c5b=new _0x47ac8b({'allowSynchronousEvents':_0x529724[_0x4448dc(0x236)],'binaryType':this[_0x4448dc(0x215)],'extensions':this[_0x4448dc(0x198)],'isServer':this[_0x4448dc(0x1e8)],'maxPayload':_0x529724[_0x4448dc(0x132)],'skipUTF8Validation':_0x529724[_0x4448dc(0x1a3)]}),_0x352151=new _0xc232fd(_0x1b19a0,this[_0x4448dc(0x198)],_0x529724[_0x4448dc(0x13d)]);this[_0x4448dc(0x284)]=_0x411c5b,this[_0x4448dc(0x164)]=_0x352151,this[_0x4448dc(0x183)]=_0x1b19a0,_0x411c5b[_0x1aa11e]=this,_0x352151[_0x1aa11e]=this,_0x1b19a0[_0x1aa11e]=this,_0x411c5b['on'](_0x4448dc(0xff),_0x1555aa),_0x411c5b['on'](_0x4448dc(0x1e2),_0x4ebc30),_0x411c5b['on']('error',_0x55c773),_0x411c5b['on']('message',_0x5204d8),_0x411c5b['on'](_0x4448dc(0x19a),_0x1086ce),_0x411c5b['on'](_0x4448dc(0x276),_0x35d13a),_0x352151[_0x4448dc(0x1ce)]=_0x1e6d4b,_0x1b19a0[_0x4448dc(0x1fb)]&&_0x1b19a0[_0x4448dc(0x1fb)](0x0),_0x1b19a0[_0x4448dc(0x20f)]&&_0x1b19a0[_0x4448dc(0x20f)](),_0x232188[_0x4448dc(0xfa)]>0x0&&_0x1b19a0[_0x4448dc(0x1af)](_0x232188),_0x1b19a0['on']('close',_0x566401),_0x1b19a0['on'](_0x4448dc(0x225),_0x134f24),_0x1b19a0['on'](_0x4448dc(0x1ad),_0x1ffaa7),_0x1b19a0['on'](_0x4448dc(0x10d),_0x43cc49),this[_0x4448dc(0x18c)]=_0x32ff2d[_0x4448dc(0x24d)],this[_0x4448dc(0x1d6)](_0x4448dc(0x146));}[_0x5ae589(0x244)](){const _0x3796ac=_0x5ae589;if(!this[_0x3796ac(0x183)]){this['_readyState']=_0x32ff2d['CLOSED'],this[_0x3796ac(0x1d6)](_0x3796ac(0x1e5),this[_0x3796ac(0x256)],this['_closeMessage']);return;}this[_0x3796ac(0x198)][_0x213c52[_0x3796ac(0x10e)]]&&this['_extensions'][_0x213c52[_0x3796ac(0x10e)]][_0x3796ac(0x130)](),this[_0x3796ac(0x284)][_0x3796ac(0x241)](),this[_0x3796ac(0x18c)]=_0x32ff2d[_0x3796ac(0x291)],this[_0x3796ac(0x1d6)](_0x3796ac(0x1e5),this[_0x3796ac(0x256)],this[_0x3796ac(0x1cc)]);}['close'](_0x26a196,_0x31027c){const _0x3cfb27=_0x5ae589;if(this[_0x3cfb27(0x16b)]!==_0x32ff2d['CLOSED']){if(this[_0x3cfb27(0x16b)]===_0x32ff2d[_0x3cfb27(0x253)]){_0x55bab7(this,this[_0x3cfb27(0x1ea)],_0x3cfb27(0x262));return;}if(this[_0x3cfb27(0x16b)]===_0x32ff2d[_0x3cfb27(0x235)]){this[_0x3cfb27(0x138)]&&(this[_0x3cfb27(0x208)]||this['_receiver'][_0x3cfb27(0x23c)][_0x3cfb27(0x174)])&&this['_socket'][_0x3cfb27(0x1ad)]();return;}this[_0x3cfb27(0x18c)]=_0x32ff2d['CLOSING'],this[_0x3cfb27(0x164)][_0x3cfb27(0x1e5)](_0x26a196,_0x31027c,!this['_isServer'],_0x4b9931=>{const _0x443023=_0x3cfb27;_0x4b9931||(this[_0x443023(0x138)]=!0x0,(this['_closeFrameReceived']||this[_0x443023(0x284)]['_writableState']['errorEmitted'])&&this[_0x443023(0x183)][_0x443023(0x1ad)]());}),_0x41ffb8(this);}}[_0x5ae589(0x17b)](){const _0x511cc4=_0x5ae589;this[_0x511cc4(0x16b)]===_0x32ff2d[_0x511cc4(0x253)]||this[_0x511cc4(0x16b)]===_0x32ff2d[_0x511cc4(0x291)]||(this[_0x511cc4(0x1fe)]=!0x0,this[_0x511cc4(0x183)][_0x511cc4(0x17b)]());}[_0x5ae589(0x19a)](_0x3134f0,_0x35796f,_0x50a22b){const _0x13ea4e=_0x5ae589;if(this[_0x13ea4e(0x16b)]===_0x32ff2d[_0x13ea4e(0x253)])throw new Error(_0x13ea4e(0x228));if(typeof _0x3134f0=='function'?(_0x50a22b=_0x3134f0,_0x3134f0=_0x35796f=void 0x0):typeof _0x35796f=='function'&&(_0x50a22b=_0x35796f,_0x35796f=void 0x0),typeof _0x3134f0==_0x13ea4e(0x26c)&&(_0x3134f0=_0x3134f0[_0x13ea4e(0x2a2)]()),this[_0x13ea4e(0x16b)]!==_0x32ff2d['OPEN']){_0xa0d33f(this,_0x3134f0,_0x50a22b);return;}_0x35796f===void 0x0&&(_0x35796f=!this[_0x13ea4e(0x1e8)]),this[_0x13ea4e(0x164)][_0x13ea4e(0x19a)](_0x3134f0||_0x2408d7,_0x35796f,_0x50a22b);}[_0x5ae589(0x276)](_0x2383a3,_0x30e30d,_0x365aaf){const _0x4071c1=_0x5ae589;if(this[_0x4071c1(0x16b)]===_0x32ff2d[_0x4071c1(0x253)])throw new Error(_0x4071c1(0x228));if(typeof _0x2383a3==_0x4071c1(0x1c4)?(_0x365aaf=_0x2383a3,_0x2383a3=_0x30e30d=void 0x0):typeof _0x30e30d==_0x4071c1(0x1c4)&&(_0x365aaf=_0x30e30d,_0x30e30d=void 0x0),typeof _0x2383a3==_0x4071c1(0x26c)&&(_0x2383a3=_0x2383a3['toString']()),this['readyState']!==_0x32ff2d[_0x4071c1(0x24d)]){_0xa0d33f(this,_0x2383a3,_0x365aaf);return;}_0x30e30d===void 0x0&&(_0x30e30d=!this['_isServer']),this['_sender'][_0x4071c1(0x276)](_0x2383a3||_0x2408d7,_0x30e30d,_0x365aaf);}[_0x5ae589(0x270)](){const _0x14448e=_0x5ae589;this[_0x14448e(0x16b)]===_0x32ff2d['CONNECTING']||this['readyState']===_0x32ff2d[_0x14448e(0x291)]||(this[_0x14448e(0x1fe)]=!0x1,this[_0x14448e(0x284)][_0x14448e(0x23c)][_0x14448e(0x14d)]||this[_0x14448e(0x183)]['resume']());}['send'](_0x4f715e,_0x3171bc,_0x1403fd){const _0x18c250=_0x5ae589;if(this[_0x18c250(0x16b)]===_0x32ff2d[_0x18c250(0x253)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3171bc==_0x18c250(0x1c4)&&(_0x1403fd=_0x3171bc,_0x3171bc={}),typeof _0x4f715e==_0x18c250(0x26c)&&(_0x4f715e=_0x4f715e[_0x18c250(0x2a2)]()),this[_0x18c250(0x16b)]!==_0x32ff2d[_0x18c250(0x24d)]){_0xa0d33f(this,_0x4f715e,_0x1403fd);return;}const _0x37af53={'binary':typeof _0x4f715e!='string','mask':!this[_0x18c250(0x1e8)],'compress':!0x0,'fin':!0x0,..._0x3171bc};this[_0x18c250(0x198)][_0x213c52['extensionName']]||(_0x37af53[_0x18c250(0x23b)]=!0x1),this[_0x18c250(0x164)][_0x18c250(0x178)](_0x4f715e||_0x2408d7,_0x37af53,_0x1403fd);}['terminate'](){const _0x30fd48=_0x5ae589;if(this[_0x30fd48(0x16b)]!==_0x32ff2d[_0x30fd48(0x291)]){if(this['readyState']===_0x32ff2d[_0x30fd48(0x253)]){_0x55bab7(this,this['_req'],_0x30fd48(0x262));return;}this['_socket']&&(this['_readyState']=_0x32ff2d[_0x30fd48(0x235)],this[_0x30fd48(0x183)][_0x30fd48(0x188)]());}}}Object[_0x5ae589(0x220)](_0x32ff2d,_0x5ae589(0x253),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x253))}),Object['defineProperty'](_0x32ff2d[_0x5ae589(0x133)],_0x5ae589(0x253),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x253))}),Object[_0x5ae589(0x220)](_0x32ff2d,'OPEN',{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x24d))}),Object[_0x5ae589(0x220)](_0x32ff2d[_0x5ae589(0x133)],'OPEN',{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x24d))}),Object[_0x5ae589(0x220)](_0x32ff2d,_0x5ae589(0x235),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)]('CLOSING')}),Object[_0x5ae589(0x220)](_0x32ff2d[_0x5ae589(0x133)],_0x5ae589(0x235),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x235))}),Object[_0x5ae589(0x220)](_0x32ff2d,_0x5ae589(0x291),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)](_0x5ae589(0x291))}),Object[_0x5ae589(0x220)](_0x32ff2d[_0x5ae589(0x133)],_0x5ae589(0x291),{'enumerable':!0x0,'value':_0x2aa47f[_0x5ae589(0x29a)]('CLOSED')}),[_0x5ae589(0x215),_0x5ae589(0x213),_0x5ae589(0x21f),'isPaused','protocol',_0x5ae589(0x16b),_0x5ae589(0x278)]['forEach'](_0x314236=>{const _0xfb2e5f=_0x5ae589;Object[_0xfb2e5f(0x220)](_0x32ff2d[_0xfb2e5f(0x133)],_0x314236,{'enumerable':!0x0});}),[_0x5ae589(0x146),_0x5ae589(0x10d),_0x5ae589(0x1e5),_0x5ae589(0x127)][_0x5ae589(0x1c8)](_0x2057c6=>{const _0x53e64a=_0x5ae589;Object['defineProperty'](_0x32ff2d[_0x53e64a(0x133)],'on'+_0x2057c6,{'enumerable':!0x0,'get'(){for(const _0x122efe of this['listeners'](_0x2057c6))if(_0x122efe[_0x2cdcce])return _0x122efe[_0xc9929f];return null;},'set'(_0x3f98da){const _0x2a7380=_0x53e64a;for(const _0x3cf9d7 of this[_0x2a7380(0x1f2)](_0x2057c6))if(_0x3cf9d7[_0x2cdcce]){this[_0x2a7380(0xf9)](_0x2057c6,_0x3cf9d7);break;}typeof _0x3f98da==_0x2a7380(0x1c4)&&this[_0x2a7380(0x229)](_0x2057c6,_0x3f98da,{[_0x2cdcce]:!0x0});}});}),_0x32ff2d['prototype'][_0x5ae589(0x229)]=_0x2b6d00,_0x32ff2d[_0x5ae589(0x133)]['removeEventListener']=_0x311a93,we=_0x32ff2d;function _0x5a5a0c(_0xd653d0,_0x3ce40f,_0x28dca4,_0x39024a){const _0xb04251=_0x5ae589,_0x328902={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x355769[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39024a,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb04251(0xf5),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xd653d0[_0xb04251(0x158)]=_0x328902[_0xb04251(0x15e)],!_0x355769[_0xb04251(0x28b)](_0x328902['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x328902['protocolVersion']+_0xb04251(0x1d1)+_0x355769[_0xb04251(0x217)](',\x20')+')');let _0x494e26;if(_0x3ce40f instanceof _0x153b3f)_0x494e26=_0x3ce40f;else try{_0x494e26=new _0x153b3f(_0x3ce40f);}catch{throw new SyntaxError(_0xb04251(0x109)+_0x3ce40f);}_0x494e26[_0xb04251(0x24e)]===_0xb04251(0x116)?_0x494e26[_0xb04251(0x24e)]=_0xb04251(0x17a):_0x494e26[_0xb04251(0x24e)]===_0xb04251(0x1c6)&&(_0x494e26[_0xb04251(0x24e)]=_0xb04251(0x134)),_0xd653d0[_0xb04251(0x21c)]=_0x494e26[_0xb04251(0x298)];const _0x19b7da=_0x494e26[_0xb04251(0x24e)]===_0xb04251(0x134),_0x55fb6a=_0x494e26[_0xb04251(0x24e)]===_0xb04251(0x1ae);let _0x33bb70;if(_0x494e26[_0xb04251(0x24e)]!=='ws:'&&!_0x19b7da&&!_0x55fb6a?_0x33bb70=_0xb04251(0x266):_0x55fb6a&&!_0x494e26['pathname']?_0x33bb70='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x494e26[_0xb04251(0x26e)]&&(_0x33bb70=_0xb04251(0x189)),_0x33bb70){const _0x569081=new SyntaxError(_0x33bb70);if(_0xd653d0['_redirects']===0x0)throw _0x569081;_0x32b521(_0xd653d0,_0x569081);return;}const _0x50d8a7=_0x19b7da?0x1bb:0x50,_0x38708e=_0x3cf629(0x10)[_0xb04251(0x2a2)](_0xb04251(0x293)),_0x4deba1=_0x19b7da?_0xbf2265[_0xb04251(0x1b5)]:_0x32fda0[_0xb04251(0x1b5)],_0x108c00=new Set();let _0x1952a4;if(_0x328902[_0xb04251(0x13e)]=_0x328902[_0xb04251(0x13e)]||(_0x19b7da?_0x4326c0:_0x16ac3f),_0x328902[_0xb04251(0x1b4)]=_0x328902['defaultPort']||_0x50d8a7,_0x328902[_0xb04251(0x2a0)]=_0x494e26[_0xb04251(0x2a0)]||_0x50d8a7,_0x328902[_0xb04251(0x23d)]=_0x494e26[_0xb04251(0x197)][_0xb04251(0x275)]('[')?_0x494e26[_0xb04251(0x197)]['slice'](0x1,-0x1):_0x494e26['hostname'],_0x328902[_0xb04251(0x22b)]={..._0x328902[_0xb04251(0x22b)],'Sec-WebSocket-Version':_0x328902['protocolVersion'],'Sec-WebSocket-Key':_0x38708e,'Connection':'Upgrade','Upgrade':'websocket'},_0x328902[_0xb04251(0x142)]=_0x494e26[_0xb04251(0x214)]+_0x494e26[_0xb04251(0x168)],_0x328902[_0xb04251(0x1c1)]=_0x328902[_0xb04251(0x2a7)],_0x328902[_0xb04251(0x268)]&&(_0x1952a4=new _0x213c52(_0x328902[_0xb04251(0x268)]!==!0x0?_0x328902[_0xb04251(0x268)]:{},!0x1,_0x328902[_0xb04251(0x132)]),_0x328902[_0xb04251(0x22b)][_0xb04251(0x10a)]=_0x147882({[_0x213c52[_0xb04251(0x10e)]]:_0x1952a4['offer']()})),_0x28dca4[_0xb04251(0xfa)]){for(const _0x397dbb of _0x28dca4){if(typeof _0x397dbb!=_0xb04251(0x294)||!_0x54e205[_0xb04251(0x24f)](_0x397dbb)||_0x108c00[_0xb04251(0x203)](_0x397dbb))throw new SyntaxError(_0xb04251(0x128));_0x108c00[_0xb04251(0x110)](_0x397dbb);}_0x328902[_0xb04251(0x22b)][_0xb04251(0x247)]=_0x28dca4[_0xb04251(0x217)](',');}if(_0x328902[_0xb04251(0x249)]&&(_0x328902[_0xb04251(0x131)]<0xd?_0x328902[_0xb04251(0x22b)]['Sec-WebSocket-Origin']=_0x328902[_0xb04251(0x249)]:_0x328902[_0xb04251(0x22b)]['Origin']=_0x328902[_0xb04251(0x249)]),(_0x494e26[_0xb04251(0x1f8)]||_0x494e26[_0xb04251(0x1fc)])&&(_0x328902[_0xb04251(0x177)]=_0x494e26[_0xb04251(0x1f8)]+':'+_0x494e26[_0xb04251(0x1fc)]),_0x55fb6a){const _0x52c417=_0x328902[_0xb04251(0x142)]['split'](':');_0x328902[_0xb04251(0x223)]=_0x52c417[0x0],_0x328902[_0xb04251(0x142)]=_0x52c417[0x1];}let _0x152eb1;if(_0x328902['followRedirects']){if(_0xd653d0[_0xb04251(0x258)]===0x0){_0xd653d0['_originalIpc']=_0x55fb6a,_0xd653d0['_originalSecure']=_0x19b7da,_0xd653d0[_0xb04251(0x1e7)]=_0x55fb6a?_0x328902[_0xb04251(0x223)]:_0x494e26[_0xb04251(0x23d)];const _0x51e363=_0x39024a&&_0x39024a[_0xb04251(0x22b)];if(_0x39024a={..._0x39024a,'headers':{}},_0x51e363){for(const [_0x20f8a6,_0x481341]of Object['entries'](_0x51e363))_0x39024a['headers'][_0x20f8a6[_0xb04251(0x20c)]()]=_0x481341;}}else{if(_0xd653d0[_0xb04251(0x1e0)]('redirect')===0x0){const _0x205795=_0x55fb6a?_0xd653d0[_0xb04251(0x259)]?_0x328902[_0xb04251(0x223)]===_0xd653d0[_0xb04251(0x1e7)]:!0x1:_0xd653d0[_0xb04251(0x259)]?!0x1:_0x494e26[_0xb04251(0x23d)]===_0xd653d0[_0xb04251(0x1e7)];(!_0x205795||_0xd653d0[_0xb04251(0x15d)]&&!_0x19b7da)&&(delete _0x328902['headers']['authorization'],delete _0x328902[_0xb04251(0x22b)]['cookie'],_0x205795||delete _0x328902[_0xb04251(0x22b)]['host'],_0x328902[_0xb04251(0x177)]=void 0x0);}}_0x328902[_0xb04251(0x177)]&&!_0x39024a[_0xb04251(0x22b)]['authorization']&&(_0x39024a[_0xb04251(0x22b)][_0xb04251(0x19f)]=_0xb04251(0x26a)+Buffer[_0xb04251(0x21d)](_0x328902[_0xb04251(0x177)])[_0xb04251(0x2a2)](_0xb04251(0x293))),_0x152eb1=_0xd653d0[_0xb04251(0x1ea)]=_0x4deba1(_0x328902),_0xd653d0['_redirects']&&_0xd653d0[_0xb04251(0x1d6)](_0xb04251(0x182),_0xd653d0[_0xb04251(0x278)],_0x152eb1);}else _0x152eb1=_0xd653d0[_0xb04251(0x1ea)]=_0x4deba1(_0x328902);_0x328902[_0xb04251(0x1c1)]&&_0x152eb1['on'](_0xb04251(0x1c1),()=>{const _0x2e0e20=_0xb04251;_0x55bab7(_0xd653d0,_0x152eb1,_0x2e0e20(0x264));}),_0x152eb1['on']('error',_0x463449=>{const _0xe75c3=_0xb04251;_0x152eb1===null||_0x152eb1[_0x1a3070]||(_0x152eb1=_0xd653d0[_0xe75c3(0x1ea)]=null,_0x32b521(_0xd653d0,_0x463449));}),_0x152eb1['on']('response',_0x5342c5=>{const _0x5a0039=_0xb04251,_0x483e44=_0x5342c5['headers'][_0x5a0039(0x27b)],_0x11a6b7=_0x5342c5[_0x5a0039(0x212)];if(_0x483e44&&_0x328902['followRedirects']&&_0x11a6b7>=0x12c&&_0x11a6b7<0x190){if(++_0xd653d0['_redirects']>_0x328902[_0x5a0039(0x11f)]){_0x55bab7(_0xd653d0,_0x152eb1,_0x5a0039(0xfb));return;}_0x152eb1[_0x5a0039(0x1d0)]();let _0x497cf2;try{_0x497cf2=new _0x153b3f(_0x483e44,_0x3ce40f);}catch{const _0x557124=new SyntaxError('Invalid\x20URL:\x20'+_0x483e44);_0x32b521(_0xd653d0,_0x557124);return;}_0x5a5a0c(_0xd653d0,_0x497cf2,_0x28dca4,_0x39024a);}else _0xd653d0[_0x5a0039(0x1d6)](_0x5a0039(0x1d2),_0x152eb1,_0x5342c5)||_0x55bab7(_0xd653d0,_0x152eb1,_0x5a0039(0x279)+_0x5342c5[_0x5a0039(0x212)]);}),_0x152eb1['on'](_0xb04251(0x155),(_0x5b940c,_0x1fe301,_0x20f157)=>{const _0x29cddf=_0xb04251;if(_0xd653d0[_0x29cddf(0x1d6)]('upgrade',_0x5b940c),_0xd653d0[_0x29cddf(0x16b)]!==_0x32ff2d[_0x29cddf(0x253)])return;_0x152eb1=_0xd653d0[_0x29cddf(0x1ea)]=null;const _0x291d64=_0x5b940c[_0x29cddf(0x22b)]['upgrade'];if(_0x291d64===void 0x0||_0x291d64['toLowerCase']()!=='websocket'){_0x55bab7(_0xd653d0,_0x1fe301,_0x29cddf(0x194));return;}const _0x32b1ef=_0x13f55b('sha1')[_0x29cddf(0x28f)](_0x38708e+_0x3fbed4)[_0x29cddf(0x141)](_0x29cddf(0x293));if(_0x5b940c['headers'][_0x29cddf(0x232)]!==_0x32b1ef){_0x55bab7(_0xd653d0,_0x1fe301,_0x29cddf(0x25a));return;}const _0x629448=_0x5b940c[_0x29cddf(0x22b)][_0x29cddf(0x195)];let _0x553607;if(_0x629448!==void 0x0?_0x108c00['size']?_0x108c00[_0x29cddf(0x203)](_0x629448)||(_0x553607='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x553607=_0x29cddf(0x24a):_0x108c00['size']&&(_0x553607=_0x29cddf(0x145)),_0x553607){_0x55bab7(_0xd653d0,_0x1fe301,_0x553607);return;}_0x629448&&(_0xd653d0[_0x29cddf(0x1d9)]=_0x629448);const _0x3b22ae=_0x5b940c[_0x29cddf(0x22b)][_0x29cddf(0x1b2)];if(_0x3b22ae!==void 0x0){if(!_0x1952a4){_0x55bab7(_0xd653d0,_0x1fe301,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1a4c36;try{_0x1a4c36=_0x15f088(_0x3b22ae);}catch{_0x55bab7(_0xd653d0,_0x1fe301,_0x29cddf(0x20a));return;}const _0x2d7480=Object[_0x29cddf(0x159)](_0x1a4c36);if(_0x2d7480[_0x29cddf(0xfa)]!==0x1||_0x2d7480[0x0]!==_0x213c52[_0x29cddf(0x10e)]){_0x55bab7(_0xd653d0,_0x1fe301,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1952a4[_0x29cddf(0x1ff)](_0x1a4c36[_0x213c52['extensionName']]);}catch{_0x55bab7(_0xd653d0,_0x1fe301,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xd653d0[_0x29cddf(0x198)][_0x213c52[_0x29cddf(0x10e)]]=_0x1952a4;}_0xd653d0[_0x29cddf(0x196)](_0x1fe301,_0x20f157,{'allowSynchronousEvents':_0x328902['allowSynchronousEvents'],'generateMask':_0x328902[_0x29cddf(0x13d)],'maxPayload':_0x328902[_0x29cddf(0x132)],'skipUTF8Validation':_0x328902['skipUTF8Validation']});}),_0x328902[_0xb04251(0x271)]?_0x328902[_0xb04251(0x271)](_0x152eb1,_0xd653d0):_0x152eb1[_0xb04251(0x1ad)]();}function _0x32b521(_0x283f79,_0x4475df){const _0x587d4e=_0x5ae589;_0x283f79[_0x587d4e(0x18c)]=_0x32ff2d['CLOSING'],_0x283f79[_0x587d4e(0x295)]=!0x0,_0x283f79[_0x587d4e(0x1d6)](_0x587d4e(0x10d),_0x4475df),_0x283f79[_0x587d4e(0x244)]();}function _0x16ac3f(_0x53ecb6){const _0x1233cc=_0x5ae589;return _0x53ecb6[_0x1233cc(0x142)]=_0x53ecb6[_0x1233cc(0x223)],_0x2b246c[_0x1233cc(0x296)](_0x53ecb6);}function _0x4326c0(_0xa6b6ff){const _0x44e98d=_0x5ae589;return _0xa6b6ff[_0x44e98d(0x142)]=void 0x0,!_0xa6b6ff[_0x44e98d(0x25f)]&&_0xa6b6ff[_0x44e98d(0x25f)]!==''&&(_0xa6b6ff[_0x44e98d(0x25f)]=_0x2b246c[_0x44e98d(0x252)](_0xa6b6ff[_0x44e98d(0x23d)])?'':_0xa6b6ff[_0x44e98d(0x23d)]),_0x391aaa[_0x44e98d(0x296)](_0xa6b6ff);}function _0x55bab7(_0x23dbd8,_0x5200c0,_0x39e0ce){const _0x5e6e37=_0x5ae589;_0x23dbd8[_0x5e6e37(0x18c)]=_0x32ff2d[_0x5e6e37(0x235)];const _0x4add46=new Error(_0x39e0ce);Error[_0x5e6e37(0xfc)](_0x4add46,_0x55bab7),_0x5200c0[_0x5e6e37(0x2a3)]?(_0x5200c0[_0x1a3070]=!0x0,_0x5200c0[_0x5e6e37(0x1d0)](),_0x5200c0[_0x5e6e37(0x1de)]&&!_0x5200c0[_0x5e6e37(0x1de)][_0x5e6e37(0x290)]&&_0x5200c0[_0x5e6e37(0x1de)][_0x5e6e37(0x188)](),process[_0x5e6e37(0x285)](_0x32b521,_0x23dbd8,_0x4add46)):(_0x5200c0['destroy'](_0x4add46),_0x5200c0[_0x5e6e37(0x1c2)]('error',_0x23dbd8[_0x5e6e37(0x1d6)][_0x5e6e37(0x19b)](_0x23dbd8,_0x5e6e37(0x10d))),_0x5200c0['once'](_0x5e6e37(0x1e5),_0x23dbd8['emitClose'][_0x5e6e37(0x19b)](_0x23dbd8)));}function _0xa0d33f(_0x4a95a5,_0x3fbd6d,_0x3f80b5){const _0x548958=_0x5ae589;if(_0x3fbd6d){const _0x1846da=_0x29dfd9(_0x3fbd6d)?_0x3fbd6d[_0x548958(0x1fd)]:_0x59d4f3(_0x3fbd6d)[_0x548958(0xfa)];_0x4a95a5[_0x548958(0x183)]?_0x4a95a5['_sender'][_0x548958(0xfd)]+=_0x1846da:_0x4a95a5[_0x548958(0x1b6)]+=_0x1846da;}if(_0x3f80b5){const _0x4f70c5=new Error(_0x548958(0x172)+_0x4a95a5[_0x548958(0x16b)]+'\x20('+_0x2aa47f[_0x4a95a5[_0x548958(0x16b)]]+')');process[_0x548958(0x285)](_0x3f80b5,_0x4f70c5);}}function _0x1555aa(_0xa26f3,_0x5e55f6){const _0x3a679d=_0x5ae589,_0x2c9061=this[_0x1aa11e];_0x2c9061[_0x3a679d(0x208)]=!0x0,_0x2c9061[_0x3a679d(0x1cc)]=_0x5e55f6,_0x2c9061[_0x3a679d(0x256)]=_0xa26f3,_0x2c9061[_0x3a679d(0x183)][_0x1aa11e]!==void 0x0&&(_0x2c9061['_socket'][_0x3a679d(0xf9)](_0x3a679d(0x225),_0x134f24),process['nextTick'](_0x473dd2,_0x2c9061['_socket']),_0xa26f3===0x3ed?_0x2c9061[_0x3a679d(0x1e5)]():_0x2c9061[_0x3a679d(0x1e5)](_0xa26f3,_0x5e55f6));}function _0x4ebc30(){const _0x22c65c=_0x5ae589,_0x55d1a0=this[_0x1aa11e];_0x55d1a0[_0x22c65c(0x265)]||_0x55d1a0[_0x22c65c(0x183)][_0x22c65c(0x270)]();}function _0x55c773(_0x388345){const _0x424f14=_0x5ae589,_0x439f57=this[_0x1aa11e];_0x439f57[_0x424f14(0x183)][_0x1aa11e]!==void 0x0&&(_0x439f57[_0x424f14(0x183)]['removeListener']('data',_0x134f24),process[_0x424f14(0x285)](_0x473dd2,_0x439f57[_0x424f14(0x183)]),_0x439f57[_0x424f14(0x1e5)](_0x388345[_0x3b7780])),_0x439f57[_0x424f14(0x295)]||(_0x439f57['_errorEmitted']=!0x0,_0x439f57[_0x424f14(0x1d6)](_0x424f14(0x10d),_0x388345));}function _0x2e44b4(){this[_0x1aa11e]['emitClose']();}function _0x5204d8(_0x181194,_0x34e624){const _0x2c572a=_0x5ae589;this[_0x1aa11e][_0x2c572a(0x1d6)]('message',_0x181194,_0x34e624);}function _0x1086ce(_0x10bba1){const _0x37bcbb=_0x5ae589,_0x5e6fa3=this[_0x1aa11e];_0x5e6fa3[_0x37bcbb(0x158)]&&_0x5e6fa3['pong'](_0x10bba1,!this[_0x37bcbb(0x1e8)],_0x1c8002),_0x5e6fa3[_0x37bcbb(0x1d6)](_0x37bcbb(0x19a),_0x10bba1);}function _0x35d13a(_0x4e5d23){const _0x40a815=_0x5ae589;this[_0x1aa11e][_0x40a815(0x1d6)](_0x40a815(0x276),_0x4e5d23);}function _0x473dd2(_0x3180ee){const _0x10f7eb=_0x5ae589;_0x3180ee[_0x10f7eb(0x270)]();}function _0x1e6d4b(_0x4bf631){const _0x4efa04=_0x5ae589,_0x23d386=this[_0x1aa11e];_0x23d386[_0x4efa04(0x16b)]!==_0x32ff2d['CLOSED']&&(_0x23d386[_0x4efa04(0x16b)]===_0x32ff2d[_0x4efa04(0x24d)]&&(_0x23d386['_readyState']=_0x32ff2d[_0x4efa04(0x235)],_0x41ffb8(_0x23d386)),this[_0x4efa04(0x183)][_0x4efa04(0x1ad)](),_0x23d386[_0x4efa04(0x295)]||(_0x23d386['_errorEmitted']=!0x0,_0x23d386[_0x4efa04(0x1d6)](_0x4efa04(0x10d),_0x4bf631)));}function _0x41ffb8(_0xf7ff1a){const _0x486708=_0x5ae589;_0xf7ff1a['_closeTimer']=setTimeout(_0xf7ff1a[_0x486708(0x183)][_0x486708(0x188)][_0x486708(0x19b)](_0xf7ff1a[_0x486708(0x183)]),_0x363612);}function _0x566401(){const _0x4cbed6=_0x5ae589,_0x566512=this[_0x1aa11e];this[_0x4cbed6(0xf9)]('close',_0x566401),this[_0x4cbed6(0xf9)](_0x4cbed6(0x225),_0x134f24),this[_0x4cbed6(0xf9)](_0x4cbed6(0x1ad),_0x1ffaa7),_0x566512[_0x4cbed6(0x18c)]=_0x32ff2d[_0x4cbed6(0x235)];let _0x5b35e0;!this['_readableState']['endEmitted']&&!_0x566512[_0x4cbed6(0x208)]&&!_0x566512[_0x4cbed6(0x284)][_0x4cbed6(0x23c)][_0x4cbed6(0x174)]&&(_0x5b35e0=_0x566512[_0x4cbed6(0x183)][_0x4cbed6(0x165)]())!==null&&_0x566512[_0x4cbed6(0x284)][_0x4cbed6(0x184)](_0x5b35e0),_0x566512[_0x4cbed6(0x284)][_0x4cbed6(0x1ad)](),this[_0x1aa11e]=void 0x0,clearTimeout(_0x566512[_0x4cbed6(0x179)]),_0x566512[_0x4cbed6(0x284)]['_writableState']['finished']||_0x566512['_receiver'][_0x4cbed6(0x23c)][_0x4cbed6(0x174)]?_0x566512['emitClose']():(_0x566512['_receiver']['on'](_0x4cbed6(0x10d),_0x2e44b4),_0x566512['_receiver']['on'](_0x4cbed6(0x114),_0x2e44b4));}function _0x134f24(_0x2696e5){const _0x2958bb=_0x5ae589;this[_0x1aa11e]['_receiver'][_0x2958bb(0x184)](_0x2696e5)||this[_0x2958bb(0x17b)]();}function _0x1ffaa7(){const _0x39b5dd=_0x5ae589,_0x9e89f3=this[_0x1aa11e];_0x9e89f3[_0x39b5dd(0x18c)]=_0x32ff2d[_0x39b5dd(0x235)],_0x9e89f3['_receiver']['end'](),this[_0x39b5dd(0x1ad)]();}function _0x43cc49(){const _0x11d8c7=_0x5ae589,_0x547d14=this[_0x1aa11e];this[_0x11d8c7(0xf9)](_0x11d8c7(0x10d),_0x43cc49),this['on'](_0x11d8c7(0x10d),_0x1c8002),_0x547d14&&(_0x547d14[_0x11d8c7(0x18c)]=_0x32ff2d[_0x11d8c7(0x235)],this[_0x11d8c7(0x188)]());}return we;}var Oe,rt;function Yt(){if(rt)return Oe;rt=0x1,Be();const {Duplex:_0xfc1732}=_0x1aed00;function _0x1b3294(_0x4ccfdb){const _0x1a9f27=_0x4acf;_0x4ccfdb[_0x1a9f27(0x1d6)]('close');}function _0x24da21(){const _0x26d13a=_0x4acf;!this['destroyed']&&this[_0x26d13a(0x23c)][_0x26d13a(0x21a)]&&this[_0x26d13a(0x188)]();}function _0x427f93(_0x344f10){const _0x1668dc=_0x4acf;this['removeListener'](_0x1668dc(0x10d),_0x427f93),this[_0x1668dc(0x188)](),this[_0x1668dc(0x1e0)](_0x1668dc(0x10d))===0x0&&this['emit'](_0x1668dc(0x10d),_0x344f10);}function _0x29ba7f(_0x2585ca,_0xe9425a){const _0x541ebf=_0x4acf;let _0x510895=!0x0;const _0xd7eda6=new _0xfc1732({..._0xe9425a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2585ca['on'](_0x541ebf(0x127),function(_0x50190e,_0x1bcaf6){const _0x29fdee=_0x541ebf,_0x2eedbc=!_0x1bcaf6&&_0xd7eda6[_0x29fdee(0x1bd)]['objectMode']?_0x50190e[_0x29fdee(0x2a2)]():_0x50190e;_0xd7eda6['push'](_0x2eedbc)||_0x2585ca[_0x29fdee(0x17b)]();}),_0x2585ca[_0x541ebf(0x1c2)](_0x541ebf(0x10d),function(_0x11e3c0){_0xd7eda6['destroyed']||(_0x510895=!0x1,_0xd7eda6['destroy'](_0x11e3c0));}),_0x2585ca[_0x541ebf(0x1c2)](_0x541ebf(0x1e5),function(){const _0x3a1b79=_0x541ebf;_0xd7eda6[_0x3a1b79(0x290)]||_0xd7eda6['push'](null);}),_0xd7eda6[_0x541ebf(0x1e9)]=function(_0x250215,_0x1afc9f){const _0x1c6dcf=_0x541ebf;if(_0x2585ca[_0x1c6dcf(0x16b)]===_0x2585ca[_0x1c6dcf(0x291)]){_0x1afc9f(_0x250215),process['nextTick'](_0x1b3294,_0xd7eda6);return;}let _0x5c54f4=!0x1;_0x2585ca[_0x1c6dcf(0x1c2)]('error',function(_0x715188){_0x5c54f4=!0x0,_0x1afc9f(_0x715188);}),_0x2585ca[_0x1c6dcf(0x1c2)](_0x1c6dcf(0x1e5),function(){const _0x4c942c=_0x1c6dcf;_0x5c54f4||_0x1afc9f(_0x250215),process[_0x4c942c(0x285)](_0x1b3294,_0xd7eda6);}),_0x510895&&_0x2585ca['terminate']();},_0xd7eda6[_0x541ebf(0x287)]=function(_0xeb441){const _0x2ea4bc=_0x541ebf;if(_0x2585ca[_0x2ea4bc(0x16b)]===_0x2585ca[_0x2ea4bc(0x253)]){_0x2585ca[_0x2ea4bc(0x1c2)](_0x2ea4bc(0x146),function(){const _0x545bcc=_0x2ea4bc;_0xd7eda6[_0x545bcc(0x287)](_0xeb441);});return;}_0x2585ca['_socket']!==null&&(_0x2585ca[_0x2ea4bc(0x183)][_0x2ea4bc(0x23c)][_0x2ea4bc(0x21a)]?(_0xeb441(),_0xd7eda6[_0x2ea4bc(0x1bd)][_0x2ea4bc(0x1eb)]&&_0xd7eda6[_0x2ea4bc(0x188)]()):(_0x2585ca[_0x2ea4bc(0x183)][_0x2ea4bc(0x1c2)]('finish',function(){_0xeb441();}),_0x2585ca[_0x2ea4bc(0x1e5)]()));},_0xd7eda6[_0x541ebf(0x231)]=function(){const _0x3c7fed=_0x541ebf;_0x2585ca[_0x3c7fed(0x265)]&&_0x2585ca[_0x3c7fed(0x270)]();},_0xd7eda6[_0x541ebf(0x2a5)]=function(_0x57e978,_0x2e23a9,_0x476535){const _0x24a138=_0x541ebf;if(_0x2585ca[_0x24a138(0x16b)]===_0x2585ca['CONNECTING']){_0x2585ca['once'](_0x24a138(0x146),function(){_0xd7eda6['_write'](_0x57e978,_0x2e23a9,_0x476535);});return;}_0x2585ca['send'](_0x57e978,_0x476535);},_0xd7eda6['on'](_0x541ebf(0x1ad),_0x24da21),_0xd7eda6['on'](_0x541ebf(0x10d),_0x427f93),_0xd7eda6;}return Oe=_0x29ba7f,Oe;}Yt(),ht(),ut();var Kt=Be();function _0xbd6e(){const _0x567385=['websocket','headers','acceptAsClient','getData','controlMessage','invalid\x20opcode\x20','verifyClient','_read','sec-websocket-accept','_threshold','permessage-deflate','CLOSING','allowSynchronousEvents','default','5WlZSAo','readUInt32BE','_opcode','compress','_writableState','host','__esModule','_skipUTF8Validation','zlibDeflateOptions','removeAllListeners','normalizeParams','FIN\x20must\x20be\x20set','emitClose','create','_mask','Sec-WebSocket-Protocol','nodebuffer','origin','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kTarget','readUInt16BE','OPEN','protocol','test','Max\x20payload\x20size\x20exceeded','Unknown\x20parameter\x20\x22','isIP','CONNECTING','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onopen','_closeCode','\x0d\x0a\x0d\x0a','_redirects','_originalIpc','Invalid\x20Sec-WebSocket-Accept\x20header','Cookie','dequeue','_generateMask','type','servername','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','completeUpgrade','Opening\x20handshake\x20has\x20timed\x20out','isPaused','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','replace','perMessageDeflate','Invalid\x20value\x20for\x20parameter\x20\x22','Basic\x20','serverMaxWindowBits','number','1035340Yqibuk','hash','writeUInt16BE','resume','finishRequest','map','getOwnPropertyDescriptor','_queue','startsWith','pong','_loop','url','Unexpected\x20server\x20response:\x20','then','location','_doCreateSocket','isServer','isValidUTF8','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','The\x20\x22','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','1703118eKTISR','_receiver','nextTick','dispatch','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_totalPayloadLength','value','includes','sha1','getPayloadLength64','construct','update','destroyed','CLOSED','_firstFragment','base64','string','_errorEmitted','connect','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','href','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','indexOf','_allowSynchronousEvents','_registerDependencies','Unexpected\x20character\x20at\x20index\x20','cork','isBuffer','port','WS_ERR_EXPECTED_MASK','toString','setHeader','writeUIntBE','_write','_compressed','handshakeTimeout','GET','WS_ERR_INVALID_OPCODE','dispose','invalid\x20UTF-8\x20sequence','removeListener','length','Maximum\x20redirects\x20exceeded','captureStackTrace','_bufferedBytes','_fragmented','conclude','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getInfo','byteOffset','concat','Module','customHeaders','clientTracking','next','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20URL:\x20','Sec-WebSocket-Extensions','flush','get','error','extensionName','onclose','add','_httpService','readOnly','concurrency','finish','dataMessage','http:','kWasClean','507946FQiimh','allocUnsafe','hasOwnProperty','6003283MErmEx','MASK\x20must\x20be\x20clear','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_server','maxRedirects','Invalid\x20HTTP\x20method','_no_context_takeover','set','enqueue','RSV1\x20must\x20be\x20clear','pending','collaboration-client-node.config','message','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','pipe','_compress','_max_window_bits','method','reset','text/plain','buffers','cleanup','protocolVersion','maxPayload','prototype','wss:','readable','noServer','Connection:\x20Upgrade','_closeFrameSent','1oMOlIK','3358894SxTaYW','clientMaxWindowBits','_messageLength','generateMask','createConnection','encrypted','frame','digest','path','_injector','549594MdqZmV','Server\x20sent\x20no\x20subprotocol','open','kRun','stream','isArray','params','2603346BbUmGX','_decompress','needDrain','values','consume','sec-websocket-origin','rsv1','serverNoContextTakeover','blob','charCodeAt','upgrade','sendFrame','call','_autoPong','keys','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kByteLength','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_originalSecure','autoPong','address','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','haveLength','kDone','_buffers','_sender','read','WS_ERR_EXPECTED_FIN','threshold','search','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','writable','readyState','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_UNEXPECTED_RSV_1','decompress','client_no_context_takeover','10mZyJuJ','shouldHandle','WebSocket\x20is\x20not\x20open:\x20readyState\x20','concurrencyLimit','errorEmitted','_errored','target','auth','send','_closeTimer','ws:','pause','WebSocket','kAborted','alloc','clientNoContextTakeover','createDeflateRaw','acceptAsServer','redirect','_socket','write','_maskBuffer','isInteger','Z_SYNC_FLUSH','destroy','The\x20URL\x20contains\x20a\x20fragment\x20identifier','kData','kType','_readyState','startLoop','13,\x208','Sec-WebSocket-Protocol:\x20','Sec-WebSocket-Extensions:\x20','_removeListeners','_payloadLength','STATUS_CODES','Invalid\x20Upgrade\x20header','sec-websocket-protocol','setSocket','hostname','_extensions','getMask','ping','bind','client_max_window_bits','kIsForOnEventAttribute','WS_ERR_INVALID_UTF8','authorization','_inflate','createSocket','getConfig','skipUTF8Validation','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','fin','jobs','server_no_context_takeover','getBlobData','handleProtocols','_configService','byteLength','shift','end','ws+unix:','unshift','format','total-length','sec-websocket-extensions','push','defaultPort','request','_bufferedAmount','arrayBuffer','\x22:\x20','32eNhqUM','clients','buffer','client','_readableState','arraybuffer','setConfig','The\x20server\x20is\x20not\x20running','timeout','once','kReason','function','_shouldEmitClose','https:','listening','forEach','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','exports','handleEvent','_closeMessage','slice','onerror','_maxPayload','abort','\x20(supported\x20versions:\x20','unexpected-response','cookie','find','_fragments','emit','wsClientError','object','_protocol','species','_options','server','server_max_window_bits','socket','_fin','listenerCount','invalid\x20opcode\x200','drain','_state','status-code','close','WS_ERR_UNEXPECTED_RSV_2_3','_originalHostOrSocketPath','_isServer','_destroy','_req','endEmitted','createServer','_binaryType','mask','parse','opcode','env','listeners','handleUpgrade','text/html','pow','code','constructor','username','kError','removeEventListener','setTimeout','password','size','_paused','accept','Sec-WebSocket-Accept:\x20','registerHTTPInterceptor','Z_DEFAULT_WINDOWBITS','has','connection','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','options','offer','_closeFrameReceived','onStarting','Invalid\x20Sec-WebSocket-Extensions\x20header','toStringTag','toLowerCase','HTTP/1.1\x20','createError','setNoDelay','writeHead','reason','statusCode','bufferedAmount','pathname','binaryType','wasClean','join','_deflate','pluginName','finished','fragments','_url','from','listen','extensions','defineProperty','invalid\x20status\x20code\x20','_masked','socketPath','createInflateRaw','data','\x22\x20subprotocol\x20is\x20duplicated','WS_ERR_INVALID_CLOSE_CODE','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','addEventListener'];_0xbd6e=function(){return _0x567385;};return _0xbd6e();}function _0x4acf(_0x378730,_0x13b12c){_0x378730=_0x378730-0xf5;const _0xbd6ef4=_0xbd6e();let _0x4acf94=_0xbd6ef4[_0x378730];return _0x4acf94;}const Xt=Wt(Kt);var Ce,st;function Zt(){if(st)return Ce;st=0x1;const {tokenChars:_0x36cd11}=ie();function _0x474d62(_0x56938d){const _0x25afba=_0x4acf,_0x1f745a=new Set();let _0x1bf5e6=-0x1,_0xbbef92=-0x1,_0x268c6c=0x0;for(_0x268c6c;_0x268c6c<_0x56938d[_0x25afba(0xfa)];_0x268c6c++){const _0x3ad485=_0x56938d[_0x25afba(0x154)](_0x268c6c);if(_0xbbef92===-0x1&&_0x36cd11[_0x3ad485]===0x1)_0x1bf5e6===-0x1&&(_0x1bf5e6=_0x268c6c);else{if(_0x268c6c!==0x0&&(_0x3ad485===0x20||_0x3ad485===0x9))_0xbbef92===-0x1&&_0x1bf5e6!==-0x1&&(_0xbbef92=_0x268c6c);else{if(_0x3ad485===0x2c){if(_0x1bf5e6===-0x1)throw new SyntaxError(_0x25afba(0x29d)+_0x268c6c);_0xbbef92===-0x1&&(_0xbbef92=_0x268c6c);const _0x54481b=_0x56938d[_0x25afba(0x1cd)](_0x1bf5e6,_0xbbef92);if(_0x1f745a[_0x25afba(0x203)](_0x54481b))throw new SyntaxError(_0x25afba(0x281)+_0x54481b+_0x25afba(0x226));_0x1f745a[_0x25afba(0x110)](_0x54481b),_0x1bf5e6=_0xbbef92=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x268c6c);}}}if(_0x1bf5e6===-0x1||_0xbbef92!==-0x1)throw new SyntaxError(_0x25afba(0x260));const _0x38788f=_0x56938d[_0x25afba(0x1cd)](_0x1bf5e6,_0x268c6c);if(_0x1f745a[_0x25afba(0x203)](_0x38788f))throw new SyntaxError('The\x20\x22'+_0x38788f+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1f745a[_0x25afba(0x110)](_0x38788f),_0x1f745a;}return Ce={'parse':_0x474d62},Ce;}var Te,it;function Qt(){const _0x51350e=_0x474b37;if(it)return Te;it=0x1;const _0x40e4b3=_0x109afc,_0x10310c=_0x328dd4,{Duplex:_0x5eca7c}=_0x1aed00,{createHash:_0x311df4}=_0xecbc3b,_0x579abb=dt(),_0x439905=ce(),_0x19b935=Zt(),_0x3be904=Be(),{GUID:_0x9fc437,kWebSocket:_0x344ba0}=V(),_0x45ede4=/^[+/0-9A-Za-z]{22}==$/,_0x2f8b93=0x0,_0x3b6801=0x1,_0x35dd77=0x2;class _0x4064a9 extends _0x40e4b3{constructor(_0x17ff25,_0x24fa98){const _0x4347a5=_0x4acf;if(super(),_0x17ff25={'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':_0x3be904,..._0x17ff25},_0x17ff25['port']==null&&!_0x17ff25[_0x4347a5(0x1dc)]&&!_0x17ff25[_0x4347a5(0x136)]||_0x17ff25['port']!=null&&(_0x17ff25[_0x4347a5(0x1dc)]||_0x17ff25[_0x4347a5(0x136)])||_0x17ff25['server']&&_0x17ff25['noServer'])throw new TypeError(_0x4347a5(0x27f));if(_0x17ff25['port']!=null?(this[_0x4347a5(0x11e)]=_0x10310c[_0x4347a5(0x1ec)]((_0x44d643,_0x270ecd)=>{const _0x5d7bdf=_0x4347a5,_0x1409ff=_0x10310c[_0x5d7bdf(0x193)][0x1aa];_0x270ecd[_0x5d7bdf(0x210)](0x1aa,{'Content-Length':_0x1409ff[_0x5d7bdf(0xfa)],'Content-Type':_0x5d7bdf(0x12e)}),_0x270ecd[_0x5d7bdf(0x1ad)](_0x1409ff);}),this[_0x4347a5(0x11e)][_0x4347a5(0x21e)](_0x17ff25[_0x4347a5(0x2a0)],_0x17ff25[_0x4347a5(0x23d)],_0x17ff25['backlog'],_0x24fa98)):_0x17ff25['server']&&(this[_0x4347a5(0x11e)]=_0x17ff25[_0x4347a5(0x1dc)]),this['_server']){const _0x15ba8b=this[_0x4347a5(0x1d6)][_0x4347a5(0x19b)](this,_0x4347a5(0x204));this[_0x4347a5(0x191)]=_0x5aff2d(this['_server'],{'listening':this[_0x4347a5(0x1d6)][_0x4347a5(0x19b)](this,_0x4347a5(0x1c7)),'error':this[_0x4347a5(0x1d6)]['bind'](this,_0x4347a5(0x10d)),'upgrade':(_0x40a807,_0x534cd4,_0x5d2a87)=>{const _0x26de88=_0x4347a5;this[_0x26de88(0x1f3)](_0x40a807,_0x534cd4,_0x5d2a87,_0x15ba8b);}});}_0x17ff25[_0x4347a5(0x268)]===!0x0&&(_0x17ff25[_0x4347a5(0x268)]={}),_0x17ff25[_0x4347a5(0x106)]&&(this[_0x4347a5(0x1ba)]=new Set(),this[_0x4347a5(0x1c5)]=!0x1),this[_0x4347a5(0x206)]=_0x17ff25,this[_0x4347a5(0x1e3)]=_0x2f8b93;}[_0x51350e(0x15f)](){const _0x386e4f=_0x51350e;if(this[_0x386e4f(0x206)]['noServer'])throw new Error(_0x386e4f(0x11d));return this[_0x386e4f(0x11e)]?this[_0x386e4f(0x11e)][_0x386e4f(0x15f)]():null;}['close'](_0x4d5bd7){const _0x22ade3=_0x51350e;if(this[_0x22ade3(0x1e3)]===_0x35dd77){_0x4d5bd7&&this[_0x22ade3(0x1c2)]('close',()=>{const _0x9314f2=_0x22ade3;_0x4d5bd7(new Error(_0x9314f2(0x1c0)));}),process[_0x22ade3(0x285)](_0x257a4,this);return;}if(_0x4d5bd7&&this[_0x22ade3(0x1c2)](_0x22ade3(0x1e5),_0x4d5bd7),this[_0x22ade3(0x1e3)]!==_0x3b6801){if(this[_0x22ade3(0x1e3)]=_0x3b6801,this[_0x22ade3(0x206)]['noServer']||this[_0x22ade3(0x206)][_0x22ade3(0x1dc)])this['_server']&&(this['_removeListeners'](),this[_0x22ade3(0x191)]=this['_server']=null),this[_0x22ade3(0x1ba)]?this['clients'][_0x22ade3(0x1fd)]?this[_0x22ade3(0x1c5)]=!0x0:process[_0x22ade3(0x285)](_0x257a4,this):process['nextTick'](_0x257a4,this);else{const _0x399c8c=this[_0x22ade3(0x11e)];this['_removeListeners'](),this[_0x22ade3(0x191)]=this[_0x22ade3(0x11e)]=null,_0x399c8c['close'](()=>{_0x257a4(this);});}}}['shouldHandle'](_0x5e9bc0){const _0x418a6c=_0x51350e;if(this[_0x418a6c(0x206)][_0x418a6c(0x142)]){const _0xba70d=_0x5e9bc0[_0x418a6c(0x278)][_0x418a6c(0x29a)]('?');if((_0xba70d!==-0x1?_0x5e9bc0[_0x418a6c(0x278)][_0x418a6c(0x1cd)](0x0,_0xba70d):_0x5e9bc0[_0x418a6c(0x278)])!==this[_0x418a6c(0x206)][_0x418a6c(0x142)])return!0x1;}return!0x0;}[_0x51350e(0x1f3)](_0x28e6b7,_0x2ee6ba,_0xc53608,_0x423107){const _0x5969df=_0x51350e;_0x2ee6ba['on'](_0x5969df(0x10d),_0x5da553);const _0x5041f4=_0x28e6b7['headers']['sec-websocket-key'],_0x484321=_0x28e6b7[_0x5969df(0x22b)][_0x5969df(0x155)],_0x8ca99d=+_0x28e6b7[_0x5969df(0x22b)]['sec-websocket-version'];if(_0x28e6b7[_0x5969df(0x12c)]!==_0x5969df(0xf5)){_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x195,_0x5969df(0x120));return;}if(_0x484321===void 0x0||_0x484321[_0x5969df(0x20c)]()!==_0x5969df(0x22a)){_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x190,_0x5969df(0x194));return;}if(_0x5041f4===void 0x0||!_0x45ede4[_0x5969df(0x24f)](_0x5041f4)){_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x190,_0x5969df(0x299));return;}if(_0x8ca99d!==0xd&&_0x8ca99d!==0x8){_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x5969df(0x18e)});return;}if(!this[_0x5969df(0x171)](_0x28e6b7)){_0x324f9e(_0x2ee6ba,0x190);return;}const _0x2a76a0=_0x28e6b7[_0x5969df(0x22b)][_0x5969df(0x195)];let _0x2dcd3c=new Set();if(_0x2a76a0!==void 0x0)try{_0x2dcd3c=_0x19b935[_0x5969df(0x1ef)](_0x2a76a0);}catch{_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xd17a1c=_0x28e6b7[_0x5969df(0x22b)][_0x5969df(0x1b2)],_0x5ace70={};if(this[_0x5969df(0x206)][_0x5969df(0x268)]&&_0xd17a1c!==void 0x0){const _0x1958f7=new _0x439905(this[_0x5969df(0x206)]['perMessageDeflate'],!0x0,this[_0x5969df(0x206)][_0x5969df(0x132)]);try{const _0x58cfc4=_0x579abb[_0x5969df(0x1ef)](_0xd17a1c);_0x58cfc4[_0x439905[_0x5969df(0x10e)]]&&(_0x1958f7[_0x5969df(0x1ff)](_0x58cfc4[_0x439905[_0x5969df(0x10e)]]),_0x5ace70[_0x439905['extensionName']]=_0x1958f7);}catch{_0x3a66c9(this,_0x28e6b7,_0x2ee6ba,0x190,_0x5969df(0x15c));return;}}if(this[_0x5969df(0x206)][_0x5969df(0x230)]){const _0x3deae7={'origin':_0x28e6b7['headers'][''+(_0x8ca99d===0x8?_0x5969df(0x150):_0x5969df(0x249))],'secure':!!(_0x28e6b7[_0x5969df(0x1de)]['authorized']||_0x28e6b7[_0x5969df(0x1de)][_0x5969df(0x13f)]),'req':_0x28e6b7};if(this[_0x5969df(0x206)][_0x5969df(0x230)]['length']===0x2){this[_0x5969df(0x206)][_0x5969df(0x230)](_0x3deae7,(_0xf7e608,_0x32d257,_0x5ba568,_0xcc659f)=>{const _0x5643ac=_0x5969df;if(!_0xf7e608)return _0x324f9e(_0x2ee6ba,_0x32d257||0x191,_0x5ba568,_0xcc659f);this[_0x5643ac(0x263)](_0x5ace70,_0x5041f4,_0x2dcd3c,_0x28e6b7,_0x2ee6ba,_0xc53608,_0x423107);});return;}if(!this[_0x5969df(0x206)][_0x5969df(0x230)](_0x3deae7))return _0x324f9e(_0x2ee6ba,0x191);}this[_0x5969df(0x263)](_0x5ace70,_0x5041f4,_0x2dcd3c,_0x28e6b7,_0x2ee6ba,_0xc53608,_0x423107);}[_0x51350e(0x263)](_0x7f73a9,_0x4d74f9,_0x33c7f0,_0x51bf6e,_0x33081d,_0x3196d3,_0x1d83d8){const _0x40a21f=_0x51350e;if(!_0x33081d[_0x40a21f(0x135)]||!_0x33081d[_0x40a21f(0x16a)])return _0x33081d['destroy']();if(_0x33081d[_0x344ba0])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x40a21f(0x1e3)]>_0x2f8b93)return _0x324f9e(_0x33081d,0x1f7);const _0x5d7541=[_0x40a21f(0x16c),'Upgrade:\x20websocket',_0x40a21f(0x137),_0x40a21f(0x200)+_0x311df4(_0x40a21f(0x28c))[_0x40a21f(0x28f)](_0x4d74f9+_0x9fc437)[_0x40a21f(0x141)](_0x40a21f(0x293))],_0x2a6b5a=new this[(_0x40a21f(0x206))][(_0x40a21f(0x17c))](null,void 0x0,this[_0x40a21f(0x206)]);if(_0x33c7f0[_0x40a21f(0x1fd)]){const _0x34f56f=this[_0x40a21f(0x206)][_0x40a21f(0x1a9)]?this[_0x40a21f(0x206)][_0x40a21f(0x1a9)](_0x33c7f0,_0x51bf6e):_0x33c7f0[_0x40a21f(0x14e)]()[_0x40a21f(0x107)]()[_0x40a21f(0x28a)];_0x34f56f&&(_0x5d7541[_0x40a21f(0x1b3)](_0x40a21f(0x18f)+_0x34f56f),_0x2a6b5a[_0x40a21f(0x1d9)]=_0x34f56f);}if(_0x7f73a9[_0x439905['extensionName']]){const _0x2224c5=_0x7f73a9[_0x439905[_0x40a21f(0x10e)]][_0x40a21f(0x14a)],_0x2e52cf=_0x579abb[_0x40a21f(0x1b0)]({[_0x439905[_0x40a21f(0x10e)]]:[_0x2224c5]});_0x5d7541['push'](_0x40a21f(0x190)+_0x2e52cf),_0x2a6b5a[_0x40a21f(0x198)]=_0x7f73a9;}this[_0x40a21f(0x1d6)](_0x40a21f(0x22b),_0x5d7541,_0x51bf6e),_0x33081d[_0x40a21f(0x184)](_0x5d7541[_0x40a21f(0x103)]('\x0d\x0a')['join']('\x0d\x0a')),_0x33081d[_0x40a21f(0xf9)](_0x40a21f(0x10d),_0x5da553),_0x2a6b5a[_0x40a21f(0x196)](_0x33081d,_0x3196d3,{'allowSynchronousEvents':this[_0x40a21f(0x206)][_0x40a21f(0x236)],'maxPayload':this[_0x40a21f(0x206)][_0x40a21f(0x132)],'skipUTF8Validation':this[_0x40a21f(0x206)][_0x40a21f(0x1a3)]}),this[_0x40a21f(0x1ba)]&&(this[_0x40a21f(0x1ba)][_0x40a21f(0x110)](_0x2a6b5a),_0x2a6b5a['on'](_0x40a21f(0x1e5),()=>{const _0x76fb13=_0x40a21f;this['clients']['delete'](_0x2a6b5a),this[_0x76fb13(0x1c5)]&&!this[_0x76fb13(0x1ba)][_0x76fb13(0x1fd)]&&process['nextTick'](_0x257a4,this);})),_0x1d83d8(_0x2a6b5a,_0x51bf6e);}}Te=_0x4064a9;function _0x5aff2d(_0xfbf498,_0x1be326){const _0xa22cd1=_0x51350e;for(const _0xa6b7e1 of Object[_0xa22cd1(0x159)](_0x1be326))_0xfbf498['on'](_0xa6b7e1,_0x1be326[_0xa6b7e1]);return function(){const _0x3391be=_0xa22cd1;for(const _0x86123a of Object[_0x3391be(0x159)](_0x1be326))_0xfbf498[_0x3391be(0xf9)](_0x86123a,_0x1be326[_0x86123a]);};}function _0x257a4(_0x2b1a78){const _0x5be875=_0x51350e;_0x2b1a78[_0x5be875(0x1e3)]=_0x35dd77,_0x2b1a78[_0x5be875(0x1d6)](_0x5be875(0x1e5));}function _0x5da553(){const _0x3a73b5=_0x51350e;this[_0x3a73b5(0x188)]();}function _0x324f9e(_0x17ec89,_0x1b289a,_0x528965,_0x401e69){const _0x223a0f=_0x51350e;_0x528965=_0x528965||_0x10310c['STATUS_CODES'][_0x1b289a],_0x401e69={'Connection':'close','Content-Type':_0x223a0f(0x1f4),'Content-Length':Buffer[_0x223a0f(0x1ab)](_0x528965),..._0x401e69},_0x17ec89[_0x223a0f(0x1c2)](_0x223a0f(0x114),_0x17ec89[_0x223a0f(0x188)]),_0x17ec89[_0x223a0f(0x1ad)](_0x223a0f(0x20d)+_0x1b289a+'\x20'+_0x10310c[_0x223a0f(0x193)][_0x1b289a]+'\x0d\x0a'+Object[_0x223a0f(0x159)](_0x401e69)[_0x223a0f(0x272)](_0x58ff66=>_0x58ff66+':\x20'+_0x401e69[_0x58ff66])[_0x223a0f(0x217)]('\x0d\x0a')+_0x223a0f(0x257)+_0x528965);}function _0x3a66c9(_0x5e6a7f,_0x537c20,_0x84b987,_0x228da0,_0x158e7f,_0x19031a){const _0x5537f1=_0x51350e;if(_0x5e6a7f[_0x5537f1(0x1e0)](_0x5537f1(0x1d7))){const _0xb1558e=new Error(_0x158e7f);Error[_0x5537f1(0xfc)](_0xb1558e,_0x3a66c9),_0x5e6a7f[_0x5537f1(0x1d6)](_0x5537f1(0x1d7),_0xb1558e,_0x84b987,_0x537c20);}else _0x324f9e(_0x84b987,_0x228da0,_0x158e7f,_0x19031a);}return Te;}Qt();var Jt=Object['getOwnPropertyDescriptor'],er=(_0x1b612d,_0x3fa977,_0x3e2022,_0x22d6bb)=>{const _0x36d7da=_0x474b37;for(var _0x57a297=_0x22d6bb>0x1?void 0x0:_0x22d6bb?Jt(_0x3fa977,_0x3e2022):_0x3fa977,_0x2fa528=_0x1b612d[_0x36d7da(0xfa)]-0x1,_0x53a5b9;_0x2fa528>=0x0;_0x2fa528--)(_0x53a5b9=_0x1b612d[_0x2fa528])&&(_0x57a297=_0x53a5b9(_0x57a297)||_0x57a297);return _0x57a297;},tr=(_0x294242,_0x523830)=>(_0x20486c,_0x238e74)=>_0x523830(_0x20486c,_0x238e74,_0x294242);let ke=class extends _0x1a8e33{constructor(_0x1573c0){const _0x484a06=_0x474b37;super(),this[_0x484a06(0x1aa)]=_0x1573c0;}[_0x474b37(0x1a1)](_0x4c9b6a){const _0x2d4556=_0x474b37;var _0x40476b;const _0xf87a94=((_0x40476b=this[_0x2d4556(0x1aa)]['getConfig'](_0x13212d))==null?void 0x0:_0x40476b['customHeaders'])||{};try{const _0x31084d=new Xt(_0x4c9b6a,{'headers':{..._0xf87a94}}),_0x1878e1=new _0x40425b();return{'URL':_0x4c9b6a,'close':(_0x4bbb49,_0x3ea7db)=>{const _0x2877e2=_0x2d4556;_0x31084d[_0x2877e2(0x1e5)](_0x4bbb49,_0x3ea7db),_0x1878e1[_0x2877e2(0xf7)]();},'send':_0x1da943=>{const _0x5342fc=_0x2d4556;_0x31084d[_0x5342fc(0x178)](_0x1da943);},'open$':new _0x3a51ad(_0x5d886b=>{const _0x12833d=_0x2d4556,_0x2fcf00=_0x4ed265=>_0x5d886b['next'](_0x4ed265);_0x31084d[_0x12833d(0x229)](_0x12833d(0x146),_0x2fcf00),_0x1878e1[_0x12833d(0x110)](_0x3420b9(()=>_0x31084d[_0x12833d(0x1fa)](_0x12833d(0x146),_0x2fcf00)));})[_0x2d4556(0x129)](_0x46146b()),'close$':new _0x3a51ad(_0x12561c=>{const _0x4d9fee=_0x2d4556,_0x33dc3a=_0x55a351=>_0x12561c[_0x4d9fee(0x107)](_0x55a351);_0x31084d['addEventListener'](_0x4d9fee(0x1e5),_0x33dc3a),_0x1878e1[_0x4d9fee(0x110)](_0x3420b9(()=>_0x31084d[_0x4d9fee(0x1fa)](_0x4d9fee(0x1e5),_0x33dc3a)));})[_0x2d4556(0x129)](_0x46146b()),'error$':new _0x3a51ad(_0x266ed5=>{const _0x439380=_0x2d4556,_0x194d37=_0x1daf75=>_0x266ed5['next'](_0x1daf75);_0x31084d[_0x439380(0x229)](_0x439380(0x10d),_0x194d37),_0x1878e1[_0x439380(0x110)](_0x3420b9(()=>_0x31084d[_0x439380(0x1fa)](_0x439380(0x10d),_0x194d37)));})[_0x2d4556(0x129)](_0x46146b()),'message$':new _0x3a51ad(_0x576aa6=>{const _0x17f6a3=_0x2d4556,_0x19d75d=_0x2fbd49=>_0x576aa6['next'](_0x2fbd49);_0x31084d[_0x17f6a3(0x229)](_0x17f6a3(0x127),_0x19d75d),_0x1878e1[_0x17f6a3(0x110)](_0x3420b9(()=>_0x31084d[_0x17f6a3(0x1fa)](_0x17f6a3(0x127),_0x19d75d)));})[_0x2d4556(0x129)](_0x46146b())};}catch(_0x3cff57){return console['error'](_0x3cff57),null;}}};ke=er([tr(0x0,_0x1c517c)],ke);var rr=Object[_0x474b37(0x220)],sr=Object[_0x474b37(0x273)],ir=(_0x3c5997,_0x475645,_0x5d1dbe)=>_0x475645 in _0x3c5997?rr(_0x3c5997,_0x475645,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d1dbe}):_0x3c5997[_0x475645]=_0x5d1dbe,nr=(_0x3b29cf,_0xfaa9d7,_0x37a04d,_0x320786)=>{const _0x226eaa=_0x474b37;for(var _0x380d78=_0x320786>0x1?void 0x0:_0x320786?sr(_0xfaa9d7,_0x37a04d):_0xfaa9d7,_0x3691a5=_0x3b29cf[_0x226eaa(0xfa)]-0x1,_0x1ded10;_0x3691a5>=0x0;_0x3691a5--)(_0x1ded10=_0x3b29cf[_0x3691a5])&&(_0x380d78=_0x1ded10(_0x380d78)||_0x380d78);return _0x380d78;},nt=(_0x4704c0,_0x4270a1)=>(_0x107546,_0x40e8ba)=>_0x4270a1(_0x107546,_0x40e8ba,_0x4704c0),or=(_0x2033c7,_0x3fe8e2,_0x16f509)=>ir(_0x2033c7,_0x3fe8e2+'',_0x16f509);let Ne=class extends _0x1edc3e{constructor(_0x349fb9=Ft,_0x52ccb4,_0x3ddf63){const _0x17dfcb=_0x474b37;super(),this[_0x17dfcb(0x1aa)]=_0x52ccb4,this[_0x17dfcb(0x143)]=_0x3ddf63,this['_configService'][_0x17dfcb(0x1bf)]($t,_0x349fb9);}[_0x474b37(0x209)](){const _0x339033=_0x474b37;this[_0x339033(0x29c)]();}[_0x474b37(0x29c)](){_0x4b18d0(this['_injector'],[[_0x41d87e,{'useClass':ke}]]);}};or(Ne,_0x474b37(0x219),_0x474b37(0x254)),Ne=nr([_0x396dda(_0x1d9c2f),nt(0x1,_0x1c517c),nt(0x2,_0x1483d7(_0x1267ae))],Ne);var ar=Object['getOwnPropertyDescriptor'],lr=(_0x168e6c,_0x284a5c,_0x334086,_0x3c20cd)=>{for(var _0x44d2e9=_0x3c20cd>0x1?void 0x0:_0x3c20cd?ar(_0x284a5c,_0x334086):_0x284a5c,_0x5d4aeb=_0x168e6c['length']-0x1,_0x1b2131;_0x5d4aeb>=0x0;_0x5d4aeb--)(_0x1b2131=_0x168e6c[_0x5d4aeb])&&(_0x44d2e9=_0x1b2131(_0x44d2e9)||_0x44d2e9);return _0x44d2e9;},re=(_0x3823e2,_0x1da23c)=>(_0x120440,_0x2a364e)=>_0x1da23c(_0x120440,_0x2a364e,_0x3823e2);let ot=class extends _0x3ac1de{constructor(_0x5e47b5,_0x222981,_0x5a94a8,_0x3f2814,_0x4ac112){const _0x8feb3=_0x474b37;super(_0x5e47b5,_0x222981,_0x5a94a8,_0x3f2814,_0x4ac112);const _0x4f83ca=this['_configService'][_0x8feb3(0x1a2)](_0x13212d);this[_0x8feb3(0x111)][_0x8feb3(0x201)]({'interceptor':(_0x5e9d0a,_0x15a3ee)=>{const _0x5de797=_0x8feb3;var _0x3f3256;const _0x258aa9=_0x5e9d0a[_0x5de797(0x22b)];return(_0x3f3256=_0x4f83ca==null?void 0x0:_0x4f83ca[_0x5de797(0x105)])!=null&&_0x3f3256[_0x5de797(0x1d3)]&&_0x258aa9['set'](_0x5de797(0x25b),_0x4f83ca[_0x5de797(0x105)][_0x5de797(0x1d3)]),_0x15a3ee(_0x5e9d0a);}});}async[_0x474b37(0x1a1)](_0x3a428a){const _0x58a419=_0x474b37;return this[_0x58a419(0x27c)](_0x3a428a);}};ot=lr([re(0x0,_0x1483d7(_0x1267ae)),re(0x1,_0x1483d7(_0x17214b)),re(0x2,_0x1c517c),re(0x3,_0x25ee63),re(0x4,_0x4002e4)],ot);export{$t as COLLABORATION_CLIENT_NODE_CONFIG_KEY,ot as NodeCollaborationSocketService,Ne as UniverCollaborationClientNodePlugin};