@univerjs-pro/collaboration-client-node 0.10.10-experimental.20251016-33b0941 → 0.10.10-nightly.202510180256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x561b8e=_0x5c8a;(function(_0x477302,_0x3fddec){const _0x14fc64=_0x5c8a,_0x294eb6=_0x477302();while(!![]){try{const _0x3cf79e=-parseInt(_0x14fc64(0x299))/0x1+-parseInt(_0x14fc64(0x15a))/0x2*(-parseInt(_0x14fc64(0x1aa))/0x3)+parseInt(_0x14fc64(0x1ca))/0x4+parseInt(_0x14fc64(0x29f))/0x5*(-parseInt(_0x14fc64(0x276))/0x6)+-parseInt(_0x14fc64(0x22d))/0x7*(parseInt(_0x14fc64(0x18d))/0x8)+-parseInt(_0x14fc64(0x247))/0x9*(parseInt(_0x14fc64(0xe8))/0xa)+parseInt(_0x14fc64(0x28c))/0xb;if(_0x3cf79e===_0x3fddec)break;else _0x294eb6['push'](_0x294eb6['shift']());}catch(_0x44d69e){_0x294eb6['push'](_0x294eb6['shift']());}}}(_0xb220,0x24d0c));Object['defineProperty'](exports,Symbol[_0x561b8e(0x214)],{'value':_0x561b8e(0x183)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x561b8e(0x279),Ct={'customHeaders':{}};function Tt(_0x54330c){const _0x2822ba=_0x561b8e;return _0x54330c&&_0x54330c['__esModule']&&Object[_0x2822ba(0x14f)][_0x2822ba(0x11a)][_0x2822ba(0x159)](_0x54330c,_0x2822ba(0x19e))?_0x54330c['default']:_0x54330c;}function at(_0x23520a){const _0x48721a=_0x561b8e;if(Object[_0x48721a(0x14f)][_0x48721a(0x11a)][_0x48721a(0x159)](_0x23520a,_0x48721a(0xf3)))return _0x23520a;var _0x4f15e2=_0x23520a[_0x48721a(0x19e)];if(typeof _0x4f15e2==_0x48721a(0x1a1)){var _0xdfd57c=function _0x2243a0(){const _0x47a6cc=_0x48721a;var _0x30366e=!0x1;try{_0x30366e=this instanceof _0x2243a0;}catch{}return _0x30366e?Reflect[_0x47a6cc(0x23d)](_0x4f15e2,arguments,this['constructor']):_0x4f15e2[_0x47a6cc(0x26e)](this,arguments);};_0xdfd57c[_0x48721a(0x14f)]=_0x4f15e2[_0x48721a(0x14f)];}else _0xdfd57c={};return Object[_0x48721a(0x10a)](_0xdfd57c,'__esModule',{'value':!0x0}),Object[_0x48721a(0x249)](_0x23520a)[_0x48721a(0x17e)](function(_0x48d917){const _0x3d716a=_0x48721a;var _0x277222=Object['getOwnPropertyDescriptor'](_0x23520a,_0x48d917);Object['defineProperty'](_0xdfd57c,_0x48d917,_0x277222[_0x3d716a(0x1c3)]?_0x277222:{'enumerable':!0x0,'get':function(){return _0x23520a[_0x48d917];}});}),_0xdfd57c;}var se={'exports':{}},ge,Ge;function H(){const _0x2d5ce4=_0x561b8e;if(Ge)return ge;Ge=0x1;const _0x40bcb9=[_0x2d5ce4(0x1d3),'arraybuffer',_0x2d5ce4(0x227)],_0x17c534=typeof Blob<'u';return _0x17c534&&_0x40bcb9[_0x2d5ce4(0x1f8)]('blob'),ge={'BINARY_TYPES':_0x40bcb9,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x2d5ce4(0x271),'hasBlob':_0x17c534,'kForOnEventAttribute':Symbol(_0x2d5ce4(0x188)),'kListener':Symbol(_0x2d5ce4(0x164)),'kStatusCode':Symbol(_0x2d5ce4(0x24d)),'kWebSocket':Symbol(_0x2d5ce4(0x25f)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x561b8e(0x10a)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x561b8e(0x183)})),Lt=at(kt);var Ve;function ce(){const _0x1c464a=_0x561b8e;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x3b3769}=H(),_0x290bba=Buffer[Symbol[_0x1c464a(0x1db)]];function _0x383e32(_0x31acc8,_0x394114){const _0x8acf1a=_0x1c464a;if(_0x31acc8['length']===0x0)return _0x3b3769;if(_0x31acc8[_0x8acf1a(0x160)]===0x1)return _0x31acc8[0x0];const _0x2e4b12=Buffer[_0x8acf1a(0x20e)](_0x394114);let _0x2d6600=0x0;for(let _0x257ea4=0x0;_0x257ea4<_0x31acc8[_0x8acf1a(0x160)];_0x257ea4++){const _0x585e00=_0x31acc8[_0x257ea4];_0x2e4b12['set'](_0x585e00,_0x2d6600),_0x2d6600+=_0x585e00[_0x8acf1a(0x160)];}return _0x2d6600<_0x394114?new _0x290bba(_0x2e4b12[_0x8acf1a(0x26d)],_0x2e4b12[_0x8acf1a(0x167)],_0x2d6600):_0x2e4b12;}function _0x725632(_0x544881,_0x5d7460,_0x217e24,_0x29220b,_0x398aac){for(let _0x3e844d=0x0;_0x3e844d<_0x398aac;_0x3e844d++)_0x217e24[_0x29220b+_0x3e844d]=_0x544881[_0x3e844d]^_0x5d7460[_0x3e844d&0x3];}function _0x19531a(_0x5abccc,_0x345990){for(let _0x1383ac=0x0;_0x1383ac<_0x5abccc['length'];_0x1383ac++)_0x5abccc[_0x1383ac]^=_0x345990[_0x1383ac&0x3];}function _0xe3dfd9(_0x35cd57){const _0x19efce=_0x1c464a;return _0x35cd57['length']===_0x35cd57['buffer'][_0x19efce(0x286)]?_0x35cd57['buffer']:_0x35cd57['buffer']['slice'](_0x35cd57[_0x19efce(0x167)],_0x35cd57[_0x19efce(0x167)]+_0x35cd57[_0x19efce(0x160)]);}function _0x3bd45f(_0x5da228){const _0x4d8711=_0x1c464a;if(_0x3bd45f['readOnly']=!0x0,Buffer[_0x4d8711(0x15b)](_0x5da228))return _0x5da228;let _0xafc4ef;return _0x5da228 instanceof ArrayBuffer?_0xafc4ef=new _0x290bba(_0x5da228):ArrayBuffer[_0x4d8711(0x225)](_0x5da228)?_0xafc4ef=new _0x290bba(_0x5da228[_0x4d8711(0x26d)],_0x5da228[_0x4d8711(0x167)],_0x5da228[_0x4d8711(0x286)]):(_0xafc4ef=Buffer[_0x4d8711(0x260)](_0x5da228),_0x3bd45f['readOnly']=!0x1),_0xafc4ef;}if(se[_0x1c464a(0x1fe)]={'concat':_0x383e32,'mask':_0x725632,'toArrayBuffer':_0xe3dfd9,'toBuffer':_0x3bd45f,'unmask':_0x19531a},!process[_0x1c464a(0x210)][_0x1c464a(0x25e)])try{const _0xfe1b6e=Lt;se[_0x1c464a(0x1fe)][_0x1c464a(0x16a)]=function(_0x1e3beb,_0x2f27f1,_0x3520cb,_0x41b0e1,_0xeab06c){const _0x3a69f0=_0x1c464a;_0xeab06c<0x30?_0x725632(_0x1e3beb,_0x2f27f1,_0x3520cb,_0x41b0e1,_0xeab06c):_0xfe1b6e[_0x3a69f0(0x16a)](_0x1e3beb,_0x2f27f1,_0x3520cb,_0x41b0e1,_0xeab06c);},se[_0x1c464a(0x1fe)][_0x1c464a(0x1ce)]=function(_0x2fa2ad,_0x3c0b8e){const _0x39aa7d=_0x1c464a;_0x2fa2ad['length']<0x20?_0x19531a(_0x2fa2ad,_0x3c0b8e):_0xfe1b6e[_0x39aa7d(0x1ce)](_0x2fa2ad,_0x3c0b8e);};}catch{}return se[_0x1c464a(0x1fe)];}var ye,He;function Pt(){const _0x2d01b3=_0x561b8e;if(He)return ye;He=0x1;const _0x59cc96=Symbol(_0x2d01b3(0x1d7)),_0x42d94b=Symbol(_0x2d01b3(0x19d));class _0x59f777{constructor(_0x5b355b){const _0x25f71d=_0x2d01b3;this[_0x59cc96]=()=>{const _0x5a3082=_0x5c8a;this[_0x5a3082(0x187)]--,this[_0x42d94b]();},this[_0x25f71d(0x1ba)]=_0x5b355b||0x1/0x0,this[_0x25f71d(0x1dc)]=[],this['pending']=0x0;}[_0x2d01b3(0x14b)](_0x242d6e){const _0xc9c16b=_0x2d01b3;this['jobs'][_0xc9c16b(0x1f8)](_0x242d6e),this[_0x42d94b]();}[_0x42d94b](){const _0x39e4f7=_0x2d01b3;if(this[_0x39e4f7(0x187)]!==this[_0x39e4f7(0x1ba)]&&this[_0x39e4f7(0x1dc)][_0x39e4f7(0x160)]){const _0x4665e5=this[_0x39e4f7(0x1dc)][_0x39e4f7(0x180)]();this[_0x39e4f7(0x187)]++,_0x4665e5(this[_0x59cc96]);}}}return ye=_0x59f777,ye;}function _0xb220(){const _0x45801c=['slice','_writableState','Sec-WebSocket-Protocol:\x20','message','invalid\x20status\x20code\x20','format','OPEN','href','connect','has','catch','find','http:','Invalid\x20HTTP\x20method','construct','allowSynchronousEvents','pipe','_protocol','createSocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','client_max_window_bits','Connection:\x20Upgrade','clientTracking','_generateMask','1103391jUvuEZ','WS_ERR_INVALID_CLOSE_CODE','keys','pluginName','perMessageDeflate','_errored','status-code','The\x20URL\x20contains\x20a\x20fragment\x20identifier','emitClose','read','_req','compress','_fragments','extensions','Blob','backlog','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','getOwnPropertyDescriptor','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','kByteLength','clientNoContextTakeover','registerHTTPInterceptor','username','WS_NO_BUFFER_UTIL','websocket','from','string','_originalSecure','Invalid\x20value\x20for\x20parameter\x20\x22','type','_originalIpc','pathname','_maskBuffer','isInteger','_opcode','finish','abort','set','buffer','apply','_configService','resume','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','CONNECTING','fin','close','18noFPrq','_inflate','removeListener','collaboration-client-node.config','writable','_mask','_injector','setConfig','listeners','WebSocket','_compressed','maxRedirects','accept','size','Inject','_queue','byteLength','Disposable','_closeMessage','client_no_context_takeover','handleProtocols','_socket','6396742cAwHdC','UniverCollaborationClientNodePlugin','search','invalid\x20opcode\x20','_skipUTF8Validation','cork','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','address','HTTP/1.1\x20101\x20Switching\x20Protocols','The\x20URL\x27s\x20pathname\x20is\x20empty','encrypted','sec-websocket-accept','WS_ERR_INVALID_UTF8','136278XtFEUZ','maxPayload','server','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','wasClean','setNoDelay','451095oHKeST','_loop','_write','10KDrieK','server_no_context_takeover','base64','listening','verifyClient','hostname','13,\x208','handleUpgrade','port','dequeue','haveLength','__esModule','toDisposable','Origin','kCode','extensionName','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_read','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','statusCode','WS_ERR_EXPECTED_FIN','_max_window_bits','invalid\x20UTF-8\x20sequence','charCodeAt','endEmitted','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sendFrame','readUInt16BE','_paused','Max\x20payload\x20size\x20exceeded','drain','destroyed','createServer','binaryType','defineProperty','Upgrade','_closeFrameReceived','_state','text/html','isServer','https:','addEventListener','DisposableCollection','permessage-deflate','reason','password','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_errorEmitted','indexOf','STATUS_CODES','hasOwnProperty','open','once','host','create','method','client','_fragmented','_masked','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_closeTimer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','isIP','Z_DEFAULT_WINDOWBITS','options','authorization','consume','isArray','rsv1','_removeListeners','pong','text/plain','threshold','server_max_window_bits','nextTick','GET','stream','sec-websocket-protocol','removeAllListeners','wss:','dataMessage','_options','readable','ISnapshotServerService','The\x20\x22','Unknown\x20parameter\x20\x22','onerror','_closeFrameSent','writeHead','destroy','finishRequest','end','_url','finished','ws:','setTimeout','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','unexpected-response','add','sha1','includes','flush','prototype','servername','protocol','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','removeEventListener','onStarting','ILogService','handleEvent','toString','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','call','106OCWEXV','isBuffer','needDrain','socketPath','share','WS_NO_UTF_8_VALIDATE','length','getMask','controlMessage','clients','kListener','_redirects','Injector','byteOffset','_readyState','ping','mask','writeUIntBE','sec-websocket-extensions','WS_ERR_UNEXPECTED_RSV_1','uncork','acceptAsServer','kData','DependentOn','kType','HTTP/1.1\x20','_final','Parameter\x20\x22','total-length','startsWith','_originalHostOrSocketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x20','sec-websocket-version','send','upgrade','_totalPayloadLength','forEach','_buffers','shift','Observable','delete','Module','zlibInflateOptions','_deflate','enqueue','pending','kIsForOnEventAttribute','concat','readUInt32BE','Invalid\x20Sec-WebSocket-Accept\x20header','\x20(supported\x20versions:\x20','886152WqQvQY','cookie','headers','Invalid\x20URL:\x20','ws+unix:','arrayBuffer','bufferedAmount','setHeader','origin','_decompress','_extensions','COLLABORATION_CLIENT_NODE_CONFIG_KEY','kTarget','wsClientError','\x22\x20must\x20have\x20only\x20a\x20single\x20value','startLoop','kRun','default','_readableState','_closeCode','function','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','\x22:\x20','_no_context_takeover','unshift','_httpService','reset','_binaryType','489adXtRg','opcode','createInflateRaw','url','response','bind','concurrencyLimit','auth','serverNoContextTakeover','object','split','RSV1\x20must\x20be\x20clear','emit','defaultPort','\x22\x20subprotocol\x20is\x20duplicated','Unexpected\x20end\x20of\x20input','concurrency','next','getConfig','data','customHeaders','terminate','_autoPong','WS_ERR_UNEXPECTED_RSV_2_3','File','get','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','dispatch','_fin','CLOSED','generateMask','_bufferedBytes','803752ELeOYr','path','timeout','getInfo','unmask','getPayloadLength16','listen','map','createError','nodebuffer','_server','Unexpected\x20character\x20at\x20index\x20','values','kDone','skipUTF8Validation','_threshold','connection','species','jobs','Server\x20sent\x20an\x20invalid\x20subprotocol','createConnection','update','number','Cookie','WS_ERR_INVALID_OPCODE','isPaused','target','_bufferedAmount','\x0d\x0a\x0d\x0a','conclude','decompress','frame','alloc','serverMaxWindowBits','listenerCount','_isServer','_messageLength','UniverCollaborationClientPlugin','write','_receiver','_payloadLength','IConfigService','setSocket','error','captureStackTrace','completeUpgrade','push','zlibDeflateOptions','kError','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Plugin','readOnly','exports','noServer','Invalid\x20Upgrade\x20header','kReason','join','NodeCollaborationSocketService','dispose','Server\x20sent\x20no\x20subprotocol','_allowSynchronousEvents','test','Upgrade:\x20websocket','ISocketService','CollaborationSocketService','params','pause','_firstFragment','allocUnsafe','Sec-WebSocket-Protocol','env','_registerDependencies','getBlobData','protocolVersion','toStringTag','followRedirects','objectMode','kMessage','getData','handshakeTimeout','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','clientMaxWindowBits','acceptAsClient','_sender','authorized','errorEmitted','shouldHandle','code','_shouldEmitClose','readyState','autoPong','isView','kWasClean','fragments','toLowerCase','CLOSING','socket','_compress','_maxPayload','7NeSBoI','parse'];_0xb220=function(){return _0x45801c;};return _0xb220();}var ve,ze;function he(){const _0x260975=_0x561b8e;if(ze)return ve;ze=0x1;const _0x56bba8=bt,_0x46433e=ce(),_0x125f38=Pt(),{kStatusCode:_0x356ad8}=H(),_0x15cc73=Buffer[Symbol[_0x260975(0x1db)]],_0x20ee93=Buffer[_0x260975(0x260)]([0x0,0x0,0xff,0xff]),_0x17a183=Symbol('permessage-deflate'),_0x4332de=Symbol(_0x260975(0x176)),_0x251d1c=Symbol('callback'),_0x40a90d=Symbol('buffers'),_0x1d0553=Symbol(_0x260975(0x1f5));let _0x197db7;class _0x2c07de{constructor(_0x6501b1,_0x9112f1,_0x5f5b03){const _0x377c90=_0x260975;if(this[_0x377c90(0x22c)]=_0x5f5b03|0x0,this[_0x377c90(0x13a)]=_0x6501b1||{},this[_0x377c90(0x1d9)]=this['_options'][_0x377c90(0x131)]!==void 0x0?this['_options'][_0x377c90(0x131)]:0x400,this['_isServer']=!!_0x9112f1,this[_0x377c90(0x185)]=null,this[_0x377c90(0x277)]=null,this[_0x377c90(0x20b)]=null,!_0x197db7){const _0x54c060=this[_0x377c90(0x13a)][_0x377c90(0x1b0)]!==void 0x0?this[_0x377c90(0x13a)][_0x377c90(0x1b0)]:0xa;_0x197db7=new _0x125f38(_0x54c060);}}static get[_0x260975(0xf7)](){const _0x5e97a2=_0x260975;return _0x5e97a2(0x113);}['offer'](){const _0x71c4c3=_0x260975,_0x2c6954={};return this[_0x71c4c3(0x13a)][_0x71c4c3(0x1b2)]&&(_0x2c6954[_0x71c4c3(0xe9)]=!0x0),this[_0x71c4c3(0x13a)][_0x71c4c3(0x25b)]&&(_0x2c6954[_0x71c4c3(0x289)]=!0x0),this[_0x71c4c3(0x13a)][_0x71c4c3(0x1eb)]&&(_0x2c6954[_0x71c4c3(0x132)]=this[_0x71c4c3(0x13a)][_0x71c4c3(0x1eb)]),this[_0x71c4c3(0x13a)][_0x71c4c3(0x21b)]?_0x2c6954['client_max_window_bits']=this[_0x71c4c3(0x13a)][_0x71c4c3(0x21b)]:this[_0x71c4c3(0x13a)][_0x71c4c3(0x21b)]==null&&(_0x2c6954['client_max_window_bits']=!0x0),_0x2c6954;}['accept'](_0x8bad72){const _0x20e1fe=_0x260975;return _0x8bad72=this['normalizeParams'](_0x8bad72),this[_0x20e1fe(0x20b)]=this[_0x20e1fe(0x1ed)]?this[_0x20e1fe(0x16f)](_0x8bad72):this[_0x20e1fe(0x21c)](_0x8bad72),this[_0x20e1fe(0x20b)];}['cleanup'](){const _0x46f7c3=_0x260975;if(this['_inflate']&&(this[_0x46f7c3(0x277)][_0x46f7c3(0x275)](),this[_0x46f7c3(0x277)]=null),this[_0x46f7c3(0x185)]){const _0x488b77=this[_0x46f7c3(0x185)][_0x251d1c];this[_0x46f7c3(0x185)]['close'](),this[_0x46f7c3(0x185)]=null,_0x488b77&&_0x488b77(new Error(_0x46f7c3(0x1fb)));}}[_0x260975(0x16f)](_0x2a6add){const _0x13770d=_0x260975,_0x4f8ac7=this[_0x13770d(0x13a)],_0x20c5f2=_0x2a6add[_0x13770d(0x23a)](_0x440d57=>!(_0x4f8ac7[_0x13770d(0x1b2)]===!0x1&&_0x440d57[_0x13770d(0xe9)]||_0x440d57[_0x13770d(0x132)]&&(_0x4f8ac7[_0x13770d(0x1eb)]===!0x1||typeof _0x4f8ac7[_0x13770d(0x1eb)]==_0x13770d(0x1e0)&&_0x4f8ac7[_0x13770d(0x1eb)]>_0x440d57[_0x13770d(0x132)])||typeof _0x4f8ac7[_0x13770d(0x21b)]==_0x13770d(0x1e0)&&!_0x440d57['client_max_window_bits']));if(!_0x20c5f2)throw new Error(_0x13770d(0x123));return _0x4f8ac7[_0x13770d(0x1b2)]&&(_0x20c5f2[_0x13770d(0xe9)]=!0x0),_0x4f8ac7[_0x13770d(0x25b)]&&(_0x20c5f2[_0x13770d(0x289)]=!0x0),typeof _0x4f8ac7['serverMaxWindowBits']==_0x13770d(0x1e0)&&(_0x20c5f2[_0x13770d(0x132)]=_0x4f8ac7[_0x13770d(0x1eb)]),typeof _0x4f8ac7[_0x13770d(0x21b)]==_0x13770d(0x1e0)?_0x20c5f2[_0x13770d(0x243)]=_0x4f8ac7[_0x13770d(0x21b)]:(_0x20c5f2[_0x13770d(0x243)]===!0x0||_0x4f8ac7[_0x13770d(0x21b)]===!0x1)&&delete _0x20c5f2['client_max_window_bits'],_0x20c5f2;}[_0x260975(0x21c)](_0x495298){const _0x2bab90=_0x260975,_0x35e027=_0x495298[0x0];if(this[_0x2bab90(0x13a)]['clientNoContextTakeover']===!0x1&&_0x35e027[_0x2bab90(0x289)])throw new Error(_0x2bab90(0x152));if(!_0x35e027[_0x2bab90(0x243)])typeof this[_0x2bab90(0x13a)][_0x2bab90(0x21b)]=='number'&&(_0x35e027['client_max_window_bits']=this[_0x2bab90(0x13a)][_0x2bab90(0x21b)]);else{if(this[_0x2bab90(0x13a)][_0x2bab90(0x21b)]===!0x1||typeof this[_0x2bab90(0x13a)][_0x2bab90(0x21b)]==_0x2bab90(0x1e0)&&_0x35e027['client_max_window_bits']>this[_0x2bab90(0x13a)][_0x2bab90(0x21b)])throw new Error(_0x2bab90(0x292));}return _0x35e027;}['normalizeParams'](_0x44ce7d){const _0x4ced46=_0x260975;return _0x44ce7d[_0x4ced46(0x17e)](_0x1b10af=>{const _0xdd085b=_0x4ced46;Object[_0xdd085b(0x249)](_0x1b10af)[_0xdd085b(0x17e)](_0x10c6b1=>{const _0xcfb522=_0xdd085b;let _0x41a6eb=_0x1b10af[_0x10c6b1];if(_0x41a6eb[_0xcfb522(0x160)]>0x1)throw new Error(_0xcfb522(0x175)+_0x10c6b1+_0xcfb522(0x19b));if(_0x41a6eb=_0x41a6eb[0x0],_0x10c6b1===_0xcfb522(0x243)){if(_0x41a6eb!==!0x0){const _0x274237=+_0x41a6eb;if(!Number[_0xcfb522(0x268)](_0x274237)||_0x274237<0x8||_0x274237>0xf)throw new TypeError(_0xcfb522(0x263)+_0x10c6b1+_0xcfb522(0x1a4)+_0x41a6eb);_0x41a6eb=_0x274237;}else{if(!this[_0xcfb522(0x1ed)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x10c6b1+_0xcfb522(0x1a4)+_0x41a6eb);}}else{if(_0x10c6b1===_0xcfb522(0x132)){const _0x5b3707=+_0x41a6eb;if(!Number[_0xcfb522(0x268)](_0x5b3707)||_0x5b3707<0x8||_0x5b3707>0xf)throw new TypeError(_0xcfb522(0x263)+_0x10c6b1+_0xcfb522(0x1a4)+_0x41a6eb);_0x41a6eb=_0x5b3707;}else{if(_0x10c6b1===_0xcfb522(0x289)||_0x10c6b1===_0xcfb522(0xe9)){if(_0x41a6eb!==!0x0)throw new TypeError(_0xcfb522(0x263)+_0x10c6b1+_0xcfb522(0x1a4)+_0x41a6eb);}else throw new Error(_0xcfb522(0x13e)+_0x10c6b1+'\x22');}}_0x1b10af[_0x10c6b1]=_0x41a6eb;});}),_0x44ce7d;}[_0x260975(0x1e8)](_0x1d4240,_0x41a641,_0x54b16f){const _0x30f12d=_0x260975;_0x197db7[_0x30f12d(0x14b)](_0xa38936=>{const _0x22771a=_0x30f12d;this[_0x22771a(0x196)](_0x1d4240,_0x41a641,(_0x5c9a49,_0x6dc28a)=>{_0xa38936(),_0x54b16f(_0x5c9a49,_0x6dc28a);});});}[_0x260975(0x252)](_0x3842f1,_0x165538,_0x46f985){const _0x270498=_0x260975;_0x197db7[_0x270498(0x14b)](_0x2a9ba4=>{const _0x5589b6=_0x270498;this[_0x5589b6(0x22b)](_0x3842f1,_0x165538,(_0x11e67a,_0x561361)=>{_0x2a9ba4(),_0x46f985(_0x11e67a,_0x561361);});});}[_0x260975(0x196)](_0x1e3794,_0xb1a8ab,_0x59ada8){const _0x15a309=_0x260975,_0x336b3b=this[_0x15a309(0x1ed)]?_0x15a309(0x120):'server';if(!this[_0x15a309(0x277)]){const _0x3fbfe3=_0x336b3b+_0x15a309(0xfd),_0x57c84c=typeof this[_0x15a309(0x20b)][_0x3fbfe3]!=_0x15a309(0x1e0)?_0x56bba8[_0x15a309(0x128)]:this[_0x15a309(0x20b)][_0x3fbfe3];this[_0x15a309(0x277)]=_0x56bba8[_0x15a309(0x1ac)]({...this[_0x15a309(0x13a)][_0x15a309(0x184)],'windowBits':_0x57c84c}),this[_0x15a309(0x277)][_0x17a183]=this,this[_0x15a309(0x277)][_0x4332de]=0x0,this[_0x15a309(0x277)][_0x40a90d]=[],this[_0x15a309(0x277)]['on'](_0x15a309(0x1f5),_0x4ac352),this[_0x15a309(0x277)]['on'](_0x15a309(0x1bd),_0x27459b);}this[_0x15a309(0x277)][_0x251d1c]=_0x59ada8,this[_0x15a309(0x277)]['write'](_0x1e3794),_0xb1a8ab&&this[_0x15a309(0x277)][_0x15a309(0x1f0)](_0x20ee93),this[_0x15a309(0x277)][_0x15a309(0x14e)](()=>{const _0x86fe18=_0x15a309,_0x46ec3f=this[_0x86fe18(0x277)][_0x1d0553];if(_0x46ec3f){this['_inflate']['close'](),this[_0x86fe18(0x277)]=null,_0x59ada8(_0x46ec3f);return;}const _0xc2a9ea=_0x46433e['concat'](this[_0x86fe18(0x277)][_0x40a90d],this[_0x86fe18(0x277)][_0x4332de]);this[_0x86fe18(0x277)][_0x86fe18(0x19f)]['endEmitted']?(this[_0x86fe18(0x277)][_0x86fe18(0x275)](),this[_0x86fe18(0x277)]=null):(this[_0x86fe18(0x277)][_0x4332de]=0x0,this[_0x86fe18(0x277)][_0x40a90d]=[],_0xb1a8ab&&this[_0x86fe18(0x20b)][_0x336b3b+_0x86fe18(0x1a5)]&&this[_0x86fe18(0x277)][_0x86fe18(0x1a8)]()),_0x59ada8(null,_0xc2a9ea);});}[_0x260975(0x22b)](_0x443322,_0x5c6972,_0x322fdc){const _0x6f8adb=_0x260975,_0x545e58=this[_0x6f8adb(0x1ed)]?_0x6f8adb(0x29b):_0x6f8adb(0x120);if(!this[_0x6f8adb(0x185)]){const _0x356d5a=_0x545e58+_0x6f8adb(0xfd),_0x41dc68=typeof this[_0x6f8adb(0x20b)][_0x356d5a]!=_0x6f8adb(0x1e0)?_0x56bba8[_0x6f8adb(0x128)]:this['params'][_0x356d5a];this[_0x6f8adb(0x185)]=_0x56bba8['createDeflateRaw']({...this[_0x6f8adb(0x13a)][_0x6f8adb(0x1f9)],'windowBits':_0x41dc68}),this['_deflate'][_0x4332de]=0x0,this[_0x6f8adb(0x185)][_0x40a90d]=[],this['_deflate']['on']('data',_0x2e4e12);}this[_0x6f8adb(0x185)][_0x251d1c]=_0x322fdc,this[_0x6f8adb(0x185)]['write'](_0x443322),this[_0x6f8adb(0x185)][_0x6f8adb(0x14e)](_0x56bba8['Z_SYNC_FLUSH'],()=>{const _0x1c4488=_0x6f8adb;if(!this[_0x1c4488(0x185)])return;let _0x551978=_0x46433e[_0x1c4488(0x189)](this['_deflate'][_0x40a90d],this['_deflate'][_0x4332de]);_0x5c6972&&(_0x551978=new _0x15cc73(_0x551978[_0x1c4488(0x26d)],_0x551978[_0x1c4488(0x167)],_0x551978[_0x1c4488(0x160)]-0x4)),this['_deflate'][_0x251d1c]=null,this['_deflate'][_0x4332de]=0x0,this[_0x1c4488(0x185)][_0x40a90d]=[],_0x5c6972&&this[_0x1c4488(0x20b)][_0x545e58+_0x1c4488(0x1a5)]&&this[_0x1c4488(0x185)][_0x1c4488(0x1a8)](),_0x322fdc(null,_0x551978);});}}ve=_0x2c07de;function _0x2e4e12(_0x354a2c){const _0x5b9a79=_0x260975;this[_0x40a90d][_0x5b9a79(0x1f8)](_0x354a2c),this[_0x4332de]+=_0x354a2c[_0x5b9a79(0x160)];}function _0x27459b(_0x2f89f1){const _0x282c6f=_0x260975;if(this[_0x4332de]+=_0x2f89f1[_0x282c6f(0x160)],this[_0x17a183]['_maxPayload']<0x1||this[_0x4332de]<=this[_0x17a183][_0x282c6f(0x22c)]){this[_0x40a90d][_0x282c6f(0x1f8)](_0x2f89f1);return;}this[_0x1d0553]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x1d0553][_0x282c6f(0x221)]=_0x282c6f(0x125),this[_0x1d0553][_0x356ad8]=0x3f1,this[_0x282c6f(0x278)](_0x282c6f(0x1bd),_0x27459b),this['reset']();}function _0x4ac352(_0x486bd9){const _0x56b30e=_0x260975;if(this[_0x17a183][_0x56b30e(0x277)]=null,this[_0x1d0553]){this[_0x251d1c](this[_0x1d0553]);return;}_0x486bd9[_0x356ad8]=0x3ef,this[_0x251d1c](_0x486bd9);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x561b8e(0x10a)]({'__proto__':null,'default':Dt},Symbol[_0x561b8e(0x214)],{'value':_0x561b8e(0x183)})),Bt=at(Rt);var Ye;function ae(){const _0x5a0336=_0x561b8e;if(Ye)return ie[_0x5a0336(0x1fe)];Ye=0x1;const {isUtf8:_0x1b5a48}=wt,{hasBlob:_0x3ffd66}=H(),_0x3eff7a=[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 _0x1245c7(_0x46a908){return _0x46a908>=0x3e8&&_0x46a908<=0x3f6&&_0x46a908!==0x3ec&&_0x46a908!==0x3ed&&_0x46a908!==0x3ee||_0x46a908>=0xbb8&&_0x46a908<=0x1387;}function _0x7785ea(_0x17a848){const _0x289020=_0x5a0336,_0x1b5259=_0x17a848[_0x289020(0x160)];let _0x4c2f80=0x0;for(;_0x4c2f80<_0x1b5259;)if((_0x17a848[_0x4c2f80]&0x80)===0x0)_0x4c2f80++;else{if((_0x17a848[_0x4c2f80]&0xe0)===0xc0){if(_0x4c2f80+0x1===_0x1b5259||(_0x17a848[_0x4c2f80+0x1]&0xc0)!==0x80||(_0x17a848[_0x4c2f80]&0xfe)===0xc0)return!0x1;_0x4c2f80+=0x2;}else{if((_0x17a848[_0x4c2f80]&0xf0)===0xe0){if(_0x4c2f80+0x2>=_0x1b5259||(_0x17a848[_0x4c2f80+0x1]&0xc0)!==0x80||(_0x17a848[_0x4c2f80+0x2]&0xc0)!==0x80||_0x17a848[_0x4c2f80]===0xe0&&(_0x17a848[_0x4c2f80+0x1]&0xe0)===0x80||_0x17a848[_0x4c2f80]===0xed&&(_0x17a848[_0x4c2f80+0x1]&0xe0)===0xa0)return!0x1;_0x4c2f80+=0x3;}else{if((_0x17a848[_0x4c2f80]&0xf8)===0xf0){if(_0x4c2f80+0x3>=_0x1b5259||(_0x17a848[_0x4c2f80+0x1]&0xc0)!==0x80||(_0x17a848[_0x4c2f80+0x2]&0xc0)!==0x80||(_0x17a848[_0x4c2f80+0x3]&0xc0)!==0x80||_0x17a848[_0x4c2f80]===0xf0&&(_0x17a848[_0x4c2f80+0x1]&0xf0)===0x80||_0x17a848[_0x4c2f80]===0xf4&&_0x17a848[_0x4c2f80+0x1]>0x8f||_0x17a848[_0x4c2f80]>0xf4)return!0x1;_0x4c2f80+=0x4;}else return!0x1;}}}return!0x0;}function _0x25ad44(_0x3ffb9c){const _0x5cf905=_0x5a0336;return _0x3ffd66&&typeof _0x3ffb9c==_0x5cf905(0x1b3)&&typeof _0x3ffb9c['arrayBuffer']=='function'&&typeof _0x3ffb9c[_0x5cf905(0x264)]==_0x5cf905(0x261)&&typeof _0x3ffb9c[_0x5cf905(0x135)]==_0x5cf905(0x1a1)&&(_0x3ffb9c[Symbol[_0x5cf905(0x214)]]===_0x5cf905(0x255)||_0x3ffb9c[Symbol['toStringTag']]===_0x5cf905(0x1c2));}if(ie[_0x5a0336(0x1fe)]={'isBlob':_0x25ad44,'isValidStatusCode':_0x1245c7,'isValidUTF8':_0x7785ea,'tokenChars':_0x3eff7a},_0x1b5a48)ie['exports']['isValidUTF8']=function(_0x63157f){const _0x21bcc0=_0x5a0336;return _0x63157f[_0x21bcc0(0x160)]<0x18?_0x7785ea(_0x63157f):_0x1b5a48(_0x63157f);};else{if(!process[_0x5a0336(0x210)][_0x5a0336(0x15f)])try{const _0x4ce7a2=Bt;ie[_0x5a0336(0x1fe)]['isValidUTF8']=function(_0xb9dbdd){return _0xb9dbdd['length']<0x20?_0x7785ea(_0xb9dbdd):_0x4ce7a2(_0xb9dbdd);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x407a50=_0x561b8e;if(Ke)return Se;Ke=0x1;const {Writable:_0x4763e2}=oe,_0x25cda6=he(),{BINARY_TYPES:_0x16fa13,EMPTY_BUFFER:_0x2d3221,kStatusCode:_0x530cb5,kWebSocket:_0x324d10}=H(),{concat:_0x30aa5f,toArrayBuffer:_0x2b1b07,unmask:_0x486525}=ce(),{isValidStatusCode:_0x2bf4a3,isValidUTF8:_0x39dc06}=ae(),_0x30bdfb=Buffer[Symbol[_0x407a50(0x1db)]],_0x1816e1=0x0,_0x29a6dd=0x1,_0x5cdbbf=0x2,_0x577599=0x3,_0x2e0f0e=0x4,_0x59e202=0x5,_0x293d8c=0x6;class _0x5cbba5 extends _0x4763e2{constructor(_0x45e209={}){const _0x2bb07d=_0x407a50;super(),this[_0x2bb07d(0x206)]=_0x45e209['allowSynchronousEvents']!==void 0x0?_0x45e209[_0x2bb07d(0x23e)]:!0x0,this[_0x2bb07d(0x1a9)]=_0x45e209[_0x2bb07d(0x109)]||_0x16fa13[0x0],this[_0x2bb07d(0x197)]=_0x45e209[_0x2bb07d(0x254)]||{},this[_0x2bb07d(0x1ed)]=!!_0x45e209[_0x2bb07d(0x10f)],this[_0x2bb07d(0x22c)]=_0x45e209[_0x2bb07d(0x29a)]|0x0,this[_0x2bb07d(0x290)]=!!_0x45e209[_0x2bb07d(0x1d8)],this[_0x324d10]=void 0x0,this['_bufferedBytes']=0x0,this[_0x2bb07d(0x17f)]=[],this[_0x2bb07d(0x280)]=!0x1,this[_0x2bb07d(0x1f2)]=0x0,this['_mask']=void 0x0,this[_0x2bb07d(0x121)]=0x0,this[_0x2bb07d(0x122)]=!0x1,this['_fin']=!0x1,this[_0x2bb07d(0x269)]=0x0,this[_0x2bb07d(0x17d)]=0x0,this[_0x2bb07d(0x1ee)]=0x0,this[_0x2bb07d(0x253)]=[],this[_0x2bb07d(0x24c)]=!0x1,this[_0x2bb07d(0x2a0)]=!0x1,this[_0x2bb07d(0x10d)]=_0x1816e1;}['_write'](_0x25ab00,_0x3d7e83,_0x1bc924){const _0x399759=_0x407a50;if(this[_0x399759(0x269)]===0x8&&this[_0x399759(0x10d)]==_0x1816e1)return _0x1bc924();this[_0x399759(0x1c9)]+=_0x25ab00[_0x399759(0x160)],this[_0x399759(0x17f)][_0x399759(0x1f8)](_0x25ab00),this[_0x399759(0x19c)](_0x1bc924);}[_0x407a50(0x12b)](_0x3b60f9){const _0x122ca2=_0x407a50;if(this[_0x122ca2(0x1c9)]-=_0x3b60f9,_0x3b60f9===this[_0x122ca2(0x17f)][0x0][_0x122ca2(0x160)])return this[_0x122ca2(0x17f)][_0x122ca2(0x180)]();if(_0x3b60f9<this[_0x122ca2(0x17f)][0x0][_0x122ca2(0x160)]){const _0x2dc2ff=this['_buffers'][0x0];return this[_0x122ca2(0x17f)][0x0]=new _0x30bdfb(_0x2dc2ff['buffer'],_0x2dc2ff[_0x122ca2(0x167)]+_0x3b60f9,_0x2dc2ff[_0x122ca2(0x160)]-_0x3b60f9),new _0x30bdfb(_0x2dc2ff['buffer'],_0x2dc2ff[_0x122ca2(0x167)],_0x3b60f9);}const _0x10040f=Buffer[_0x122ca2(0x20e)](_0x3b60f9);do{const _0x11c0b0=this[_0x122ca2(0x17f)][0x0],_0x38b3fc=_0x10040f[_0x122ca2(0x160)]-_0x3b60f9;_0x3b60f9>=_0x11c0b0[_0x122ca2(0x160)]?_0x10040f[_0x122ca2(0x26c)](this[_0x122ca2(0x17f)][_0x122ca2(0x180)](),_0x38b3fc):(_0x10040f['set'](new Uint8Array(_0x11c0b0[_0x122ca2(0x26d)],_0x11c0b0[_0x122ca2(0x167)],_0x3b60f9),_0x38b3fc),this[_0x122ca2(0x17f)][0x0]=new _0x30bdfb(_0x11c0b0[_0x122ca2(0x26d)],_0x11c0b0['byteOffset']+_0x3b60f9,_0x11c0b0[_0x122ca2(0x160)]-_0x3b60f9)),_0x3b60f9-=_0x11c0b0[_0x122ca2(0x160)];}while(_0x3b60f9>0x0);return _0x10040f;}[_0x407a50(0x19c)](_0x56de6d){const _0x528752=_0x407a50;this['_loop']=!0x0;do switch(this[_0x528752(0x10d)]){case _0x1816e1:this['getInfo'](_0x56de6d);break;case _0x29a6dd:this['getPayloadLength16'](_0x56de6d);break;case _0x5cdbbf:this['getPayloadLength64'](_0x56de6d);break;case _0x577599:this[_0x528752(0x161)]();break;case _0x2e0f0e:this[_0x528752(0x218)](_0x56de6d);break;case _0x59e202:case _0x293d8c:this[_0x528752(0x2a0)]=!0x1;return;}while(this[_0x528752(0x2a0)]);this[_0x528752(0x24c)]||_0x56de6d();}[_0x407a50(0x1cd)](_0x17ee57){const _0x1d6edb=_0x407a50;if(this[_0x1d6edb(0x1c9)]<0x2){this[_0x1d6edb(0x2a0)]=!0x1;return;}const _0x2aa52d=this[_0x1d6edb(0x12b)](0x2);if((_0x2aa52d[0x0]&0x30)!==0x0){const _0xb76fa1=this['createError'](RangeError,_0x1d6edb(0x126),!0x0,0x3ea,_0x1d6edb(0x1c1));_0x17ee57(_0xb76fa1);return;}const _0x544826=(_0x2aa52d[0x0]&0x40)===0x40;if(_0x544826&&!this[_0x1d6edb(0x197)][_0x25cda6[_0x1d6edb(0xf7)]]){const _0x4bbdd7=this[_0x1d6edb(0x1d2)](RangeError,_0x1d6edb(0x1b5),!0x0,0x3ea,_0x1d6edb(0x16d));_0x17ee57(_0x4bbdd7);return;}if(this[_0x1d6edb(0x1c6)]=(_0x2aa52d[0x0]&0x80)===0x80,this[_0x1d6edb(0x269)]=_0x2aa52d[0x0]&0xf,this['_payloadLength']=_0x2aa52d[0x1]&0x7f,this[_0x1d6edb(0x269)]===0x0){if(_0x544826){const _0x36db8b=this[_0x1d6edb(0x1d2)](RangeError,_0x1d6edb(0x1b5),!0x0,0x3ea,_0x1d6edb(0x16d));_0x17ee57(_0x36db8b);return;}if(!this[_0x1d6edb(0x121)]){const _0x282f8a=this[_0x1d6edb(0x1d2)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x1d6edb(0x1e2));_0x17ee57(_0x282f8a);return;}this[_0x1d6edb(0x269)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x1d6edb(0x269)]===0x2){if(this['_fragmented']){const _0x5ee115=this[_0x1d6edb(0x1d2)](RangeError,_0x1d6edb(0x28f)+this[_0x1d6edb(0x269)],!0x0,0x3ea,_0x1d6edb(0x1e2));_0x17ee57(_0x5ee115);return;}this[_0x1d6edb(0x280)]=_0x544826;}else{if(this[_0x1d6edb(0x269)]>0x7&&this[_0x1d6edb(0x269)]<0xb){if(!this[_0x1d6edb(0x1c6)]){const _0x4f3dfd=this[_0x1d6edb(0x1d2)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1d6edb(0xfc));_0x17ee57(_0x4f3dfd);return;}if(_0x544826){const _0x45bd40=this[_0x1d6edb(0x1d2)](RangeError,_0x1d6edb(0x1b5),!0x0,0x3ea,_0x1d6edb(0x16d));_0x17ee57(_0x45bd40);return;}if(this[_0x1d6edb(0x1f2)]>0x7d||this[_0x1d6edb(0x269)]===0x8&&this[_0x1d6edb(0x1f2)]===0x1){const _0x2bc742=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1d6edb(0x1f2)],!0x0,0x3ea,_0x1d6edb(0x21a));_0x17ee57(_0x2bc742);return;}}else{const _0x4715c5=this[_0x1d6edb(0x1d2)](RangeError,'invalid\x20opcode\x20'+this[_0x1d6edb(0x269)],!0x0,0x3ea,_0x1d6edb(0x1e2));_0x17ee57(_0x4715c5);return;}}}if(!this[_0x1d6edb(0x1c6)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x1d6edb(0x269)]),this['_masked']=(_0x2aa52d[0x1]&0x80)===0x80,this[_0x1d6edb(0x1ed)]){if(!this[_0x1d6edb(0x122)]){const _0x4350eb=this[_0x1d6edb(0x1d2)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x17ee57(_0x4350eb);return;}}else{if(this[_0x1d6edb(0x122)]){const _0x378c53=this[_0x1d6edb(0x1d2)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x17ee57(_0x378c53);return;}}this[_0x1d6edb(0x1f2)]===0x7e?this['_state']=_0x29a6dd:this[_0x1d6edb(0x1f2)]===0x7f?this['_state']=_0x5cdbbf:this[_0x1d6edb(0xf2)](_0x17ee57);}[_0x407a50(0x1cf)](_0x5d9e0e){const _0x466af2=_0x407a50;if(this[_0x466af2(0x1c9)]<0x2){this['_loop']=!0x1;return;}this[_0x466af2(0x1f2)]=this['consume'](0x2)[_0x466af2(0x103)](0x0),this[_0x466af2(0xf2)](_0x5d9e0e);}['getPayloadLength64'](_0x350476){const _0x27ca5e=_0x407a50;if(this[_0x27ca5e(0x1c9)]<0x8){this[_0x27ca5e(0x2a0)]=!0x1;return;}const _0x90b5fd=this[_0x27ca5e(0x12b)](0x8),_0x1fc04a=_0x90b5fd[_0x27ca5e(0x18a)](0x0);if(_0x1fc04a>Math['pow'](0x2,0x15)-0x1){const _0x18d8b1=this[_0x27ca5e(0x1d2)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x27ca5e(0xf8));_0x350476(_0x18d8b1);return;}this[_0x27ca5e(0x1f2)]=_0x1fc04a*Math['pow'](0x2,0x20)+_0x90b5fd[_0x27ca5e(0x18a)](0x4),this['haveLength'](_0x350476);}[_0x407a50(0xf2)](_0x116c0f){const _0x1518cf=_0x407a50;if(this[_0x1518cf(0x1f2)]&&this[_0x1518cf(0x269)]<0x8&&(this[_0x1518cf(0x17d)]+=this[_0x1518cf(0x1f2)],this[_0x1518cf(0x17d)]>this['_maxPayload']&&this[_0x1518cf(0x22c)]>0x0)){const _0x4b7964=this[_0x1518cf(0x1d2)](RangeError,_0x1518cf(0x105),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x116c0f(_0x4b7964);return;}this[_0x1518cf(0x122)]?this[_0x1518cf(0x10d)]=_0x577599:this[_0x1518cf(0x10d)]=_0x2e0f0e;}[_0x407a50(0x161)](){const _0x6b946f=_0x407a50;if(this[_0x6b946f(0x1c9)]<0x4){this[_0x6b946f(0x2a0)]=!0x1;return;}this['_mask']=this['consume'](0x4),this[_0x6b946f(0x10d)]=_0x2e0f0e;}[_0x407a50(0x218)](_0x29e7e0){const _0x4f5c07=_0x407a50;let _0x25c672=_0x2d3221;if(this[_0x4f5c07(0x1f2)]){if(this[_0x4f5c07(0x1c9)]<this[_0x4f5c07(0x1f2)]){this[_0x4f5c07(0x2a0)]=!0x1;return;}_0x25c672=this[_0x4f5c07(0x12b)](this['_payloadLength']),this[_0x4f5c07(0x122)]&&(this[_0x4f5c07(0x27b)][0x0]|this[_0x4f5c07(0x27b)][0x1]|this[_0x4f5c07(0x27b)][0x2]|this[_0x4f5c07(0x27b)][0x3])!==0x0&&_0x486525(_0x25c672,this[_0x4f5c07(0x27b)]);}if(this[_0x4f5c07(0x269)]>0x7){this[_0x4f5c07(0x162)](_0x25c672,_0x29e7e0);return;}if(this['_compressed']){this['_state']=_0x59e202,this[_0x4f5c07(0x1e8)](_0x25c672,_0x29e7e0);return;}_0x25c672[_0x4f5c07(0x160)]&&(this[_0x4f5c07(0x1ee)]=this[_0x4f5c07(0x17d)],this[_0x4f5c07(0x253)][_0x4f5c07(0x1f8)](_0x25c672)),this[_0x4f5c07(0x139)](_0x29e7e0);}['decompress'](_0x32c22c,_0x451cba){const _0x322c42=_0x407a50;this[_0x322c42(0x197)][_0x25cda6[_0x322c42(0xf7)]][_0x322c42(0x1e8)](_0x32c22c,this[_0x322c42(0x1c6)],(_0x40d28d,_0x42f0e9)=>{const _0x2ccc50=_0x322c42;if(_0x40d28d)return _0x451cba(_0x40d28d);if(_0x42f0e9[_0x2ccc50(0x160)]){if(this[_0x2ccc50(0x1ee)]+=_0x42f0e9[_0x2ccc50(0x160)],this['_messageLength']>this[_0x2ccc50(0x22c)]&&this['_maxPayload']>0x0){const _0x1ec90b=this[_0x2ccc50(0x1d2)](RangeError,_0x2ccc50(0x105),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x451cba(_0x1ec90b);return;}this[_0x2ccc50(0x253)][_0x2ccc50(0x1f8)](_0x42f0e9);}this[_0x2ccc50(0x139)](_0x451cba),this[_0x2ccc50(0x10d)]===_0x1816e1&&this['startLoop'](_0x451cba);});}[_0x407a50(0x139)](_0x326b67){const _0x1c22a5=_0x407a50;if(!this[_0x1c22a5(0x1c6)]){this[_0x1c22a5(0x10d)]=_0x1816e1;return;}const _0x1bb7a8=this['_messageLength'],_0x45c313=this[_0x1c22a5(0x253)];if(this[_0x1c22a5(0x17d)]=0x0,this[_0x1c22a5(0x1ee)]=0x0,this[_0x1c22a5(0x121)]=0x0,this[_0x1c22a5(0x253)]=[],this[_0x1c22a5(0x269)]===0x2){let _0x3b2d71;this[_0x1c22a5(0x1a9)]===_0x1c22a5(0x1d3)?_0x3b2d71=_0x30aa5f(_0x45c313,_0x1bb7a8):this[_0x1c22a5(0x1a9)]==='arraybuffer'?_0x3b2d71=_0x2b1b07(_0x30aa5f(_0x45c313,_0x1bb7a8)):this[_0x1c22a5(0x1a9)]==='blob'?_0x3b2d71=new Blob(_0x45c313):_0x3b2d71=_0x45c313,this['_allowSynchronousEvents']?(this[_0x1c22a5(0x1b6)](_0x1c22a5(0x232),_0x3b2d71,!0x0),this['_state']=_0x1816e1):(this['_state']=_0x293d8c,setImmediate(()=>{const _0x1d99af=_0x1c22a5;this[_0x1d99af(0x1b6)]('message',_0x3b2d71,!0x0),this['_state']=_0x1816e1,this[_0x1d99af(0x19c)](_0x326b67);}));}else{const _0x3ce795=_0x30aa5f(_0x45c313,_0x1bb7a8);if(!this['_skipUTF8Validation']&&!_0x39dc06(_0x3ce795)){const _0x26f00e=this[_0x1c22a5(0x1d2)](Error,_0x1c22a5(0xfe),!0x0,0x3ef,_0x1c22a5(0x298));_0x326b67(_0x26f00e);return;}this[_0x1c22a5(0x10d)]===_0x59e202||this[_0x1c22a5(0x206)]?(this[_0x1c22a5(0x1b6)](_0x1c22a5(0x232),_0x3ce795,!0x1),this['_state']=_0x1816e1):(this[_0x1c22a5(0x10d)]=_0x293d8c,setImmediate(()=>{const _0x3a5d96=_0x1c22a5;this[_0x3a5d96(0x1b6)](_0x3a5d96(0x232),_0x3ce795,!0x1),this[_0x3a5d96(0x10d)]=_0x1816e1,this[_0x3a5d96(0x19c)](_0x326b67);}));}}['controlMessage'](_0xb0b06d,_0x484cc9){const _0x6d5e34=_0x407a50;if(this[_0x6d5e34(0x269)]===0x8){if(_0xb0b06d[_0x6d5e34(0x160)]===0x0)this['_loop']=!0x1,this[_0x6d5e34(0x1b6)](_0x6d5e34(0x1e7),0x3ed,_0x2d3221),this['end']();else{const _0x4130f3=_0xb0b06d['readUInt16BE'](0x0);if(!_0x2bf4a3(_0x4130f3)){const _0x1aae60=this[_0x6d5e34(0x1d2)](RangeError,_0x6d5e34(0x233)+_0x4130f3,!0x0,0x3ea,_0x6d5e34(0x248));_0x484cc9(_0x1aae60);return;}const _0x111553=new _0x30bdfb(_0xb0b06d['buffer'],_0xb0b06d[_0x6d5e34(0x167)]+0x2,_0xb0b06d[_0x6d5e34(0x160)]-0x2);if(!this['_skipUTF8Validation']&&!_0x39dc06(_0x111553)){const _0x1dbfe8=this[_0x6d5e34(0x1d2)](Error,_0x6d5e34(0xfe),!0x0,0x3ef,_0x6d5e34(0x298));_0x484cc9(_0x1dbfe8);return;}this[_0x6d5e34(0x2a0)]=!0x1,this[_0x6d5e34(0x1b6)](_0x6d5e34(0x1e7),_0x4130f3,_0x111553),this[_0x6d5e34(0x144)]();}this[_0x6d5e34(0x10d)]=_0x1816e1;return;}this[_0x6d5e34(0x206)]?(this[_0x6d5e34(0x1b6)](this[_0x6d5e34(0x269)]===0x9?'ping':'pong',_0xb0b06d),this[_0x6d5e34(0x10d)]=_0x1816e1):(this[_0x6d5e34(0x10d)]=_0x293d8c,setImmediate(()=>{const _0x43b72b=_0x6d5e34;this['emit'](this[_0x43b72b(0x269)]===0x9?_0x43b72b(0x169):'pong',_0xb0b06d),this[_0x43b72b(0x10d)]=_0x1816e1,this[_0x43b72b(0x19c)](_0x484cc9);}));}[_0x407a50(0x1d2)](_0x208669,_0x49a4d9,_0x34e5b2,_0x45340e,_0x1ca112){const _0x297199=_0x407a50;this[_0x297199(0x2a0)]=!0x1,this['_errored']=!0x0;const _0x24e0cb=new _0x208669(_0x34e5b2?'Invalid\x20WebSocket\x20frame:\x20'+_0x49a4d9:_0x49a4d9);return Error[_0x297199(0x1f6)](_0x24e0cb,this[_0x297199(0x1d2)]),_0x24e0cb[_0x297199(0x221)]=_0x1ca112,_0x24e0cb[_0x530cb5]=_0x45340e,_0x24e0cb;}}return Se=_0x5cbba5,Se;}var Ee,Xe;function ft(){const _0x4e7b1b=_0x561b8e;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x349d5b}=oe,{randomFillSync:_0x4726c7}=Le,_0x49ee55=he(),{EMPTY_BUFFER:_0x1a8955,kWebSocket:_0xa5abd,NOOP:_0x1bcca1}=H(),{isBlob:_0x2bbc09,isValidStatusCode:_0x412418}=ae(),{mask:_0x4c9df8,toBuffer:_0x474618}=ce(),_0x1432be=Symbol(_0x4e7b1b(0x25a)),_0xec982f=Buffer[_0x4e7b1b(0x1ea)](0x4),_0x3006c4=0x8*0x400;let _0x2f3f6b,_0x379173=_0x3006c4;const _0x5411ab=0x0,_0x40995c=0x1,_0x74776=0x2;class _0xbff6cb{constructor(_0x21a1c7,_0x2332a6,_0x39fe2f){const _0xdd8f7=_0x4e7b1b;this[_0xdd8f7(0x197)]=_0x2332a6||{},_0x39fe2f&&(this['_generateMask']=_0x39fe2f,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0xdd8f7(0x28b)]=_0x21a1c7,this[_0xdd8f7(0x20d)]=!0x0,this['_compress']=!0x1,this[_0xdd8f7(0x1c9)]=0x0,this[_0xdd8f7(0x285)]=[],this[_0xdd8f7(0x10d)]=_0x5411ab,this[_0xdd8f7(0x13f)]=_0x1bcca1,this[_0xa5abd]=void 0x0;}static[_0x4e7b1b(0x1e9)](_0x225435,_0x346b22){const _0x675649=_0x4e7b1b;let _0x1a4133,_0x4815d7=!0x1,_0x3a2168=0x2,_0x5588ff=!0x1;_0x346b22[_0x675649(0x16a)]&&(_0x1a4133=_0x346b22['maskBuffer']||_0xec982f,_0x346b22[_0x675649(0x1c8)]?_0x346b22[_0x675649(0x1c8)](_0x1a4133):(_0x379173===_0x3006c4&&(_0x2f3f6b===void 0x0&&(_0x2f3f6b=Buffer[_0x675649(0x1ea)](_0x3006c4)),_0x4726c7(_0x2f3f6b,0x0,_0x3006c4),_0x379173=0x0),_0x1a4133[0x0]=_0x2f3f6b[_0x379173++],_0x1a4133[0x1]=_0x2f3f6b[_0x379173++],_0x1a4133[0x2]=_0x2f3f6b[_0x379173++],_0x1a4133[0x3]=_0x2f3f6b[_0x379173++]),_0x5588ff=(_0x1a4133[0x0]|_0x1a4133[0x1]|_0x1a4133[0x2]|_0x1a4133[0x3])===0x0,_0x3a2168=0x6);let _0x390a00;typeof _0x225435==_0x675649(0x261)?(!_0x346b22[_0x675649(0x16a)]||_0x5588ff)&&_0x346b22[_0x1432be]!==void 0x0?_0x390a00=_0x346b22[_0x1432be]:(_0x225435=Buffer[_0x675649(0x260)](_0x225435),_0x390a00=_0x225435[_0x675649(0x160)]):(_0x390a00=_0x225435[_0x675649(0x160)],_0x4815d7=_0x346b22[_0x675649(0x16a)]&&_0x346b22[_0x675649(0x1fd)]&&!_0x5588ff);let _0xbe2baf=_0x390a00;_0x390a00>=0x10000?(_0x3a2168+=0x8,_0xbe2baf=0x7f):_0x390a00>0x7d&&(_0x3a2168+=0x2,_0xbe2baf=0x7e);const _0x31e61c=Buffer[_0x675649(0x20e)](_0x4815d7?_0x390a00+_0x3a2168:_0x3a2168);return _0x31e61c[0x0]=_0x346b22[_0x675649(0x274)]?_0x346b22[_0x675649(0x1ab)]|0x80:_0x346b22[_0x675649(0x1ab)],_0x346b22[_0x675649(0x12d)]&&(_0x31e61c[0x0]|=0x40),_0x31e61c[0x1]=_0xbe2baf,_0xbe2baf===0x7e?_0x31e61c['writeUInt16BE'](_0x390a00,0x2):_0xbe2baf===0x7f&&(_0x31e61c[0x2]=_0x31e61c[0x3]=0x0,_0x31e61c[_0x675649(0x16b)](_0x390a00,0x4,0x6)),_0x346b22['mask']?(_0x31e61c[0x1]|=0x80,_0x31e61c[_0x3a2168-0x4]=_0x1a4133[0x0],_0x31e61c[_0x3a2168-0x3]=_0x1a4133[0x1],_0x31e61c[_0x3a2168-0x2]=_0x1a4133[0x2],_0x31e61c[_0x3a2168-0x1]=_0x1a4133[0x3],_0x5588ff?[_0x31e61c,_0x225435]:_0x4815d7?(_0x4c9df8(_0x225435,_0x1a4133,_0x31e61c,_0x3a2168,_0x390a00),[_0x31e61c]):(_0x4c9df8(_0x225435,_0x1a4133,_0x225435,0x0,_0x390a00),[_0x31e61c,_0x225435])):[_0x31e61c,_0x225435];}[_0x4e7b1b(0x275)](_0x1e6074,_0x448b27,_0x40cc8d,_0x38c3a4){const _0x516cfa=_0x4e7b1b;let _0x460918;if(_0x1e6074===void 0x0)_0x460918=_0x1a8955;else{if(typeof _0x1e6074!=_0x516cfa(0x1e0)||!_0x412418(_0x1e6074))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x448b27===void 0x0||!_0x448b27[_0x516cfa(0x160)])_0x460918=Buffer[_0x516cfa(0x20e)](0x2),_0x460918['writeUInt16BE'](_0x1e6074,0x0);else{const _0x38ea99=Buffer[_0x516cfa(0x286)](_0x448b27);if(_0x38ea99>0x7b)throw new RangeError(_0x516cfa(0x101));_0x460918=Buffer[_0x516cfa(0x20e)](0x2+_0x38ea99),_0x460918['writeUInt16BE'](_0x1e6074,0x0),typeof _0x448b27==_0x516cfa(0x261)?_0x460918[_0x516cfa(0x1f0)](_0x448b27,0x2):_0x460918[_0x516cfa(0x26c)](_0x448b27,0x2);}}const _0x5b13d6={[_0x1432be]:_0x460918[_0x516cfa(0x160)],'fin':!0x0,'generateMask':this[_0x516cfa(0x246)],'mask':_0x40cc8d,'maskBuffer':this[_0x516cfa(0x267)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x516cfa(0x10d)]!==_0x5411ab?this[_0x516cfa(0x186)]([this[_0x516cfa(0x1c5)],_0x460918,!0x1,_0x5b13d6,_0x38c3a4]):this[_0x516cfa(0x102)](_0xbff6cb['frame'](_0x460918,_0x5b13d6),_0x38c3a4);}['ping'](_0x299318,_0x1d0703,_0x1b189a){const _0x2045a2=_0x4e7b1b;let _0x4a042d,_0xb74fa3;if(typeof _0x299318==_0x2045a2(0x261)?(_0x4a042d=Buffer[_0x2045a2(0x286)](_0x299318),_0xb74fa3=!0x1):_0x2bbc09(_0x299318)?(_0x4a042d=_0x299318['size'],_0xb74fa3=!0x1):(_0x299318=_0x474618(_0x299318),_0x4a042d=_0x299318['length'],_0xb74fa3=_0x474618[_0x2045a2(0x1fd)]),_0x4a042d>0x7d)throw new RangeError(_0x2045a2(0x1a3));const _0x41bf82={[_0x1432be]:_0x4a042d,'fin':!0x0,'generateMask':this[_0x2045a2(0x246)],'mask':_0x1d0703,'maskBuffer':this[_0x2045a2(0x267)],'opcode':0x9,'readOnly':_0xb74fa3,'rsv1':!0x1};_0x2bbc09(_0x299318)?this['_state']!==_0x5411ab?this[_0x2045a2(0x186)]([this[_0x2045a2(0x212)],_0x299318,!0x1,_0x41bf82,_0x1b189a]):this[_0x2045a2(0x212)](_0x299318,!0x1,_0x41bf82,_0x1b189a):this[_0x2045a2(0x10d)]!==_0x5411ab?this[_0x2045a2(0x186)]([this[_0x2045a2(0x1c5)],_0x299318,!0x1,_0x41bf82,_0x1b189a]):this[_0x2045a2(0x102)](_0xbff6cb[_0x2045a2(0x1e9)](_0x299318,_0x41bf82),_0x1b189a);}[_0x4e7b1b(0x12f)](_0x23001a,_0x14da4f,_0x542db9){const _0x3022ec=_0x4e7b1b;let _0x16f742,_0x54c42c;if(typeof _0x23001a==_0x3022ec(0x261)?(_0x16f742=Buffer[_0x3022ec(0x286)](_0x23001a),_0x54c42c=!0x1):_0x2bbc09(_0x23001a)?(_0x16f742=_0x23001a[_0x3022ec(0x283)],_0x54c42c=!0x1):(_0x23001a=_0x474618(_0x23001a),_0x16f742=_0x23001a[_0x3022ec(0x160)],_0x54c42c=_0x474618[_0x3022ec(0x1fd)]),_0x16f742>0x7d)throw new RangeError(_0x3022ec(0x1a3));const _0x19adc3={[_0x1432be]:_0x16f742,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x14da4f,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x54c42c,'rsv1':!0x1};_0x2bbc09(_0x23001a)?this[_0x3022ec(0x10d)]!==_0x5411ab?this['enqueue']([this['getBlobData'],_0x23001a,!0x1,_0x19adc3,_0x542db9]):this[_0x3022ec(0x212)](_0x23001a,!0x1,_0x19adc3,_0x542db9):this[_0x3022ec(0x10d)]!==_0x5411ab?this['enqueue']([this['dispatch'],_0x23001a,!0x1,_0x19adc3,_0x542db9]):this[_0x3022ec(0x102)](_0xbff6cb[_0x3022ec(0x1e9)](_0x23001a,_0x19adc3),_0x542db9);}[_0x4e7b1b(0x17b)](_0x5e781b,_0x2621ca,_0x3a35fc){const _0x5601f3=_0x4e7b1b,_0x20993c=this['_extensions'][_0x49ee55['extensionName']];let _0x4c91e7=_0x2621ca['binary']?0x2:0x1,_0x195366=_0x2621ca[_0x5601f3(0x252)],_0x2957ef,_0x103cd1;typeof _0x5e781b=='string'?(_0x2957ef=Buffer[_0x5601f3(0x286)](_0x5e781b),_0x103cd1=!0x1):_0x2bbc09(_0x5e781b)?(_0x2957ef=_0x5e781b[_0x5601f3(0x283)],_0x103cd1=!0x1):(_0x5e781b=_0x474618(_0x5e781b),_0x2957ef=_0x5e781b[_0x5601f3(0x160)],_0x103cd1=_0x474618[_0x5601f3(0x1fd)]),this[_0x5601f3(0x20d)]?(this['_firstFragment']=!0x1,_0x195366&&_0x20993c&&_0x20993c[_0x5601f3(0x20b)][_0x20993c['_isServer']?_0x5601f3(0xe9):_0x5601f3(0x289)]&&(_0x195366=_0x2957ef>=_0x20993c[_0x5601f3(0x1d9)]),this[_0x5601f3(0x22b)]=_0x195366):(_0x195366=!0x1,_0x4c91e7=0x0),_0x2621ca[_0x5601f3(0x274)]&&(this[_0x5601f3(0x20d)]=!0x0);const _0x22a9b5={[_0x1432be]:_0x2957ef,'fin':_0x2621ca['fin'],'generateMask':this[_0x5601f3(0x246)],'mask':_0x2621ca[_0x5601f3(0x16a)],'maskBuffer':this[_0x5601f3(0x267)],'opcode':_0x4c91e7,'readOnly':_0x103cd1,'rsv1':_0x195366};_0x2bbc09(_0x5e781b)?this[_0x5601f3(0x10d)]!==_0x5411ab?this['enqueue']([this[_0x5601f3(0x212)],_0x5e781b,this[_0x5601f3(0x22b)],_0x22a9b5,_0x3a35fc]):this[_0x5601f3(0x212)](_0x5e781b,this[_0x5601f3(0x22b)],_0x22a9b5,_0x3a35fc):this[_0x5601f3(0x10d)]!==_0x5411ab?this[_0x5601f3(0x186)]([this['dispatch'],_0x5e781b,this[_0x5601f3(0x22b)],_0x22a9b5,_0x3a35fc]):this['dispatch'](_0x5e781b,this[_0x5601f3(0x22b)],_0x22a9b5,_0x3a35fc);}['getBlobData'](_0x5c40ae,_0x1cef6b,_0x4154d9,_0x264a6f){const _0xc70e23=_0x4e7b1b;this[_0xc70e23(0x1c9)]+=_0x4154d9[_0x1432be],this['_state']=_0x74776,_0x5c40ae[_0xc70e23(0x192)]()['then'](_0x2894a1=>{const _0x16ad12=_0xc70e23;if(this[_0x16ad12(0x28b)]['destroyed']){const _0x4b0884=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x16ad12(0x133)](_0x6fed5a,this,_0x4b0884,_0x264a6f);return;}this[_0x16ad12(0x1c9)]-=_0x4154d9[_0x1432be];const _0x41be68=_0x474618(_0x2894a1);_0x1cef6b?this[_0x16ad12(0x1c5)](_0x41be68,_0x1cef6b,_0x4154d9,_0x264a6f):(this[_0x16ad12(0x10d)]=_0x5411ab,this[_0x16ad12(0x102)](_0xbff6cb['frame'](_0x41be68,_0x4154d9),_0x264a6f),this[_0x16ad12(0xf1)]());})[_0xc70e23(0x239)](_0x2aa36d=>{const _0x4a7c9a=_0xc70e23;process[_0x4a7c9a(0x133)](_0x247268,this,_0x2aa36d,_0x264a6f);});}['dispatch'](_0xe35c7e,_0x5796a4,_0x52db9b,_0x1d32ef){const _0x3a6d24=_0x4e7b1b;if(!_0x5796a4){this[_0x3a6d24(0x102)](_0xbff6cb[_0x3a6d24(0x1e9)](_0xe35c7e,_0x52db9b),_0x1d32ef);return;}const _0x529ec5=this[_0x3a6d24(0x197)][_0x49ee55[_0x3a6d24(0xf7)]];this[_0x3a6d24(0x1c9)]+=_0x52db9b[_0x1432be],this['_state']=_0x40995c,_0x529ec5['compress'](_0xe35c7e,_0x52db9b[_0x3a6d24(0x274)],(_0x3c16d7,_0x166fa5)=>{const _0x2f99d3=_0x3a6d24;if(this['_socket'][_0x2f99d3(0x107)]){const _0x2837fd=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x6fed5a(this,_0x2837fd,_0x1d32ef);return;}this[_0x2f99d3(0x1c9)]-=_0x52db9b[_0x1432be],this[_0x2f99d3(0x10d)]=_0x5411ab,_0x52db9b[_0x2f99d3(0x1fd)]=!0x1,this[_0x2f99d3(0x102)](_0xbff6cb[_0x2f99d3(0x1e9)](_0x166fa5,_0x52db9b),_0x1d32ef),this[_0x2f99d3(0xf1)]();});}[_0x4e7b1b(0xf1)](){const _0x53e73e=_0x4e7b1b;for(;this[_0x53e73e(0x10d)]===_0x5411ab&&this[_0x53e73e(0x285)][_0x53e73e(0x160)];){const _0x5c97d8=this[_0x53e73e(0x285)][_0x53e73e(0x180)]();this[_0x53e73e(0x1c9)]-=_0x5c97d8[0x3][_0x1432be],Reflect[_0x53e73e(0x26e)](_0x5c97d8[0x0],this,_0x5c97d8['slice'](0x1));}}[_0x4e7b1b(0x186)](_0x2f2f65){const _0x1d57e1=_0x4e7b1b;this[_0x1d57e1(0x1c9)]+=_0x2f2f65[0x3][_0x1432be],this[_0x1d57e1(0x285)]['push'](_0x2f2f65);}[_0x4e7b1b(0x102)](_0x33a125,_0x4b89a0){const _0x54ef00=_0x4e7b1b;_0x33a125[_0x54ef00(0x160)]===0x2?(this[_0x54ef00(0x28b)][_0x54ef00(0x291)](),this[_0x54ef00(0x28b)][_0x54ef00(0x1f0)](_0x33a125[0x0]),this[_0x54ef00(0x28b)][_0x54ef00(0x1f0)](_0x33a125[0x1],_0x4b89a0),this['_socket'][_0x54ef00(0x16e)]()):this['_socket'][_0x54ef00(0x1f0)](_0x33a125[0x0],_0x4b89a0);}}Ee=_0xbff6cb;function _0x6fed5a(_0x258eac,_0x2abdd0,_0x342cd4){const _0x5d973b=_0x4e7b1b;typeof _0x342cd4==_0x5d973b(0x1a1)&&_0x342cd4(_0x2abdd0);for(let _0xe76024=0x0;_0xe76024<_0x258eac[_0x5d973b(0x285)][_0x5d973b(0x160)];_0xe76024++){const _0x2dda60=_0x258eac[_0x5d973b(0x285)][_0xe76024],_0x4964bd=_0x2dda60[_0x2dda60[_0x5d973b(0x160)]-0x1];typeof _0x4964bd=='function'&&_0x4964bd(_0x2abdd0);}}function _0x247268(_0x531431,_0x120df8,_0x41761d){const _0x3b6d6f=_0x4e7b1b;_0x6fed5a(_0x531431,_0x120df8,_0x41761d),_0x531431[_0x3b6d6f(0x13f)](_0x120df8);}return Ee;}var xe,Ze;function It(){const _0x2c5502=_0x561b8e;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xa76fb6,kListener:_0x3a0a73}=H(),_0x422447=Symbol(_0x2c5502(0xf6)),_0x4be4e5=Symbol(_0x2c5502(0x170)),_0x4804e5=Symbol(_0x2c5502(0x1fa)),_0x3d0fa9=Symbol(_0x2c5502(0x217)),_0x4a4a70=Symbol(_0x2c5502(0x201)),_0x2c4c37=Symbol(_0x2c5502(0x199)),_0x5b3555=Symbol(_0x2c5502(0x172)),_0x22b850=Symbol(_0x2c5502(0x226));class _0x2b07b6{constructor(_0x31bf78){this[_0x2c4c37]=null,this[_0x5b3555]=_0x31bf78;}get[_0x2c5502(0x1e4)](){return this[_0x2c4c37];}get[_0x2c5502(0x264)](){return this[_0x5b3555];}}Object[_0x2c5502(0x10a)](_0x2b07b6[_0x2c5502(0x14f)],'target',{'enumerable':!0x0}),Object[_0x2c5502(0x10a)](_0x2b07b6[_0x2c5502(0x14f)],_0x2c5502(0x264),{'enumerable':!0x0});class _0xc5c539 extends _0x2b07b6{constructor(_0x3362b4,_0x4810be={}){const _0x5323f5=_0x2c5502;super(_0x3362b4),this[_0x422447]=_0x4810be[_0x5323f5(0x221)]===void 0x0?0x0:_0x4810be[_0x5323f5(0x221)],this[_0x4a4a70]=_0x4810be[_0x5323f5(0x114)]===void 0x0?'':_0x4810be[_0x5323f5(0x114)],this[_0x22b850]=_0x4810be[_0x5323f5(0x29d)]===void 0x0?!0x1:_0x4810be['wasClean'];}get['code'](){return this[_0x422447];}get[_0x2c5502(0x114)](){return this[_0x4a4a70];}get[_0x2c5502(0x29d)](){return this[_0x22b850];}}Object[_0x2c5502(0x10a)](_0xc5c539['prototype'],'code',{'enumerable':!0x0}),Object[_0x2c5502(0x10a)](_0xc5c539[_0x2c5502(0x14f)],_0x2c5502(0x114),{'enumerable':!0x0}),Object[_0x2c5502(0x10a)](_0xc5c539[_0x2c5502(0x14f)],'wasClean',{'enumerable':!0x0});class _0x46ccde extends _0x2b07b6{constructor(_0x5435a6,_0x49a917={}){const _0x1b01ce=_0x2c5502;super(_0x5435a6),this[_0x4804e5]=_0x49a917[_0x1b01ce(0x1f5)]===void 0x0?null:_0x49a917['error'],this[_0x3d0fa9]=_0x49a917[_0x1b01ce(0x232)]===void 0x0?'':_0x49a917[_0x1b01ce(0x232)];}get[_0x2c5502(0x1f5)](){return this[_0x4804e5];}get['message'](){return this[_0x3d0fa9];}}Object[_0x2c5502(0x10a)](_0x46ccde['prototype'],_0x2c5502(0x1f5),{'enumerable':!0x0}),Object[_0x2c5502(0x10a)](_0x46ccde[_0x2c5502(0x14f)],_0x2c5502(0x232),{'enumerable':!0x0});class _0x2443fb extends _0x2b07b6{constructor(_0xc33794,_0x241a03={}){const _0x4cd462=_0x2c5502;super(_0xc33794),this[_0x4be4e5]=_0x241a03[_0x4cd462(0x1bd)]===void 0x0?null:_0x241a03[_0x4cd462(0x1bd)];}get[_0x2c5502(0x1bd)](){return this[_0x4be4e5];}}Object[_0x2c5502(0x10a)](_0x2443fb[_0x2c5502(0x14f)],_0x2c5502(0x1bd),{'enumerable':!0x0}),xe={'CloseEvent':_0xc5c539,'ErrorEvent':_0x46ccde,'Event':_0x2b07b6,'EventTarget':{'addEventListener'(_0x2e964f,_0x43b476,_0x321f74={}){const _0x2b8f1a=_0x2c5502;for(const _0x33707f of this['listeners'](_0x2e964f))if(!_0x321f74[_0xa76fb6]&&_0x33707f[_0x3a0a73]===_0x43b476&&!_0x33707f[_0xa76fb6])return;let _0x5786f9;if(_0x2e964f===_0x2b8f1a(0x232))_0x5786f9=function(_0x10a833,_0x29bd49){const _0x53e406=_0x2b8f1a,_0x3826bd=new _0x2443fb('message',{'data':_0x29bd49?_0x10a833:_0x10a833[_0x53e406(0x157)]()});_0x3826bd[_0x2c4c37]=this,_0x117232(_0x43b476,this,_0x3826bd);};else{if(_0x2e964f===_0x2b8f1a(0x275))_0x5786f9=function(_0x25fc75,_0x18f2e4){const _0x466f79=_0x2b8f1a,_0x5a666a=new _0xc5c539(_0x466f79(0x275),{'code':_0x25fc75,'reason':_0x18f2e4[_0x466f79(0x157)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x5a666a[_0x2c4c37]=this,_0x117232(_0x43b476,this,_0x5a666a);};else{if(_0x2e964f==='error')_0x5786f9=function(_0x385ea1){const _0x2a5e87=_0x2b8f1a,_0x3536d9=new _0x46ccde(_0x2a5e87(0x1f5),{'error':_0x385ea1,'message':_0x385ea1[_0x2a5e87(0x232)]});_0x3536d9[_0x2c4c37]=this,_0x117232(_0x43b476,this,_0x3536d9);};else{if(_0x2e964f===_0x2b8f1a(0x11b))_0x5786f9=function(){const _0x531924=_0x2b8f1a,_0x1facdc=new _0x2b07b6(_0x531924(0x11b));_0x1facdc[_0x2c4c37]=this,_0x117232(_0x43b476,this,_0x1facdc);};else return;}}}_0x5786f9[_0xa76fb6]=!!_0x321f74[_0xa76fb6],_0x5786f9[_0x3a0a73]=_0x43b476,_0x321f74['once']?this['once'](_0x2e964f,_0x5786f9):this['on'](_0x2e964f,_0x5786f9);},'removeEventListener'(_0x1c29a6,_0x42558d){const _0x588709=_0x2c5502;for(const _0x4f763d of this[_0x588709(0x27e)](_0x1c29a6))if(_0x4f763d[_0x3a0a73]===_0x42558d&&!_0x4f763d[_0xa76fb6]){this['removeListener'](_0x1c29a6,_0x4f763d);break;}}},'MessageEvent':_0x2443fb};function _0x117232(_0x7bd429,_0x457821,_0x1b7d81){const _0x1abc1c=_0x2c5502;typeof _0x7bd429==_0x1abc1c(0x1b3)&&_0x7bd429[_0x1abc1c(0x156)]?_0x7bd429[_0x1abc1c(0x156)][_0x1abc1c(0x159)](_0x7bd429,_0x1b7d81):_0x7bd429[_0x1abc1c(0x159)](_0x457821,_0x1b7d81);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x30259f}=ae();function _0x43ee60(_0x2111c1,_0x2da7f9,_0x3b5fde){const _0x514e73=_0x5c8a;_0x2111c1[_0x2da7f9]===void 0x0?_0x2111c1[_0x2da7f9]=[_0x3b5fde]:_0x2111c1[_0x2da7f9][_0x514e73(0x1f8)](_0x3b5fde);}function _0x5a975a(_0x287d3c){const _0x228815=_0x5c8a,_0x3586f2=Object[_0x228815(0x11e)](null);let _0x38c35c=Object[_0x228815(0x11e)](null),_0x61a7e4=!0x1,_0x22b63b=!0x1,_0x27ef2c=!0x1,_0x96447f,_0x411d4e,_0x5b9721=-0x1,_0x52550f=-0x1,_0x25944d=-0x1,_0xd35d6a=0x0;for(;_0xd35d6a<_0x287d3c[_0x228815(0x160)];_0xd35d6a++)if(_0x52550f=_0x287d3c[_0x228815(0xff)](_0xd35d6a),_0x96447f===void 0x0){if(_0x25944d===-0x1&&_0x30259f[_0x52550f]===0x1)_0x5b9721===-0x1&&(_0x5b9721=_0xd35d6a);else{if(_0xd35d6a!==0x0&&(_0x52550f===0x20||_0x52550f===0x9))_0x25944d===-0x1&&_0x5b9721!==-0x1&&(_0x25944d=_0xd35d6a);else{if(_0x52550f===0x3b||_0x52550f===0x2c){if(_0x5b9721===-0x1)throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);_0x25944d===-0x1&&(_0x25944d=_0xd35d6a);const _0x105543=_0x287d3c[_0x228815(0x22f)](_0x5b9721,_0x25944d);_0x52550f===0x2c?(_0x43ee60(_0x3586f2,_0x105543,_0x38c35c),_0x38c35c=Object[_0x228815(0x11e)](null)):_0x96447f=_0x105543,_0x5b9721=_0x25944d=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd35d6a);}}}else{if(_0x411d4e===void 0x0){if(_0x25944d===-0x1&&_0x30259f[_0x52550f]===0x1)_0x5b9721===-0x1&&(_0x5b9721=_0xd35d6a);else{if(_0x52550f===0x20||_0x52550f===0x9)_0x25944d===-0x1&&_0x5b9721!==-0x1&&(_0x25944d=_0xd35d6a);else{if(_0x52550f===0x3b||_0x52550f===0x2c){if(_0x5b9721===-0x1)throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);_0x25944d===-0x1&&(_0x25944d=_0xd35d6a),_0x43ee60(_0x38c35c,_0x287d3c['slice'](_0x5b9721,_0x25944d),!0x0),_0x52550f===0x2c&&(_0x43ee60(_0x3586f2,_0x96447f,_0x38c35c),_0x38c35c=Object['create'](null),_0x96447f=void 0x0),_0x5b9721=_0x25944d=-0x1;}else{if(_0x52550f===0x3d&&_0x5b9721!==-0x1&&_0x25944d===-0x1)_0x411d4e=_0x287d3c[_0x228815(0x22f)](_0x5b9721,_0xd35d6a),_0x5b9721=_0x25944d=-0x1;else throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);}}}}else{if(_0x22b63b){if(_0x30259f[_0x52550f]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd35d6a);_0x5b9721===-0x1?_0x5b9721=_0xd35d6a:_0x61a7e4||(_0x61a7e4=!0x0),_0x22b63b=!0x1;}else{if(_0x27ef2c){if(_0x30259f[_0x52550f]===0x1)_0x5b9721===-0x1&&(_0x5b9721=_0xd35d6a);else{if(_0x52550f===0x22&&_0x5b9721!==-0x1)_0x27ef2c=!0x1,_0x25944d=_0xd35d6a;else{if(_0x52550f===0x5c)_0x22b63b=!0x0;else throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);}}}else{if(_0x52550f===0x22&&_0x287d3c['charCodeAt'](_0xd35d6a-0x1)===0x3d)_0x27ef2c=!0x0;else{if(_0x25944d===-0x1&&_0x30259f[_0x52550f]===0x1)_0x5b9721===-0x1&&(_0x5b9721=_0xd35d6a);else{if(_0x5b9721!==-0x1&&(_0x52550f===0x20||_0x52550f===0x9))_0x25944d===-0x1&&(_0x25944d=_0xd35d6a);else{if(_0x52550f===0x3b||_0x52550f===0x2c){if(_0x5b9721===-0x1)throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);_0x25944d===-0x1&&(_0x25944d=_0xd35d6a);let _0x5ac482=_0x287d3c[_0x228815(0x22f)](_0x5b9721,_0x25944d);_0x61a7e4&&(_0x5ac482=_0x5ac482['replace'](/\\/g,''),_0x61a7e4=!0x1),_0x43ee60(_0x38c35c,_0x411d4e,_0x5ac482),_0x52550f===0x2c&&(_0x43ee60(_0x3586f2,_0x96447f,_0x38c35c),_0x38c35c=Object[_0x228815(0x11e)](null),_0x96447f=void 0x0),_0x411d4e=void 0x0,_0x5b9721=_0x25944d=-0x1;}else throw new SyntaxError(_0x228815(0x1d5)+_0xd35d6a);}}}}}}}if(_0x5b9721===-0x1||_0x27ef2c||_0x52550f===0x20||_0x52550f===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x25944d===-0x1&&(_0x25944d=_0xd35d6a);const _0x3ce4b5=_0x287d3c[_0x228815(0x22f)](_0x5b9721,_0x25944d);return _0x96447f===void 0x0?_0x43ee60(_0x3586f2,_0x3ce4b5,_0x38c35c):(_0x411d4e===void 0x0?_0x43ee60(_0x38c35c,_0x3ce4b5,!0x0):_0x61a7e4?_0x43ee60(_0x38c35c,_0x411d4e,_0x3ce4b5['replace'](/\\/g,'')):_0x43ee60(_0x38c35c,_0x411d4e,_0x3ce4b5),_0x43ee60(_0x3586f2,_0x96447f,_0x38c35c)),_0x3586f2;}function _0x42c935(_0x13c70e){const _0x4b764e=_0x5c8a;return Object[_0x4b764e(0x249)](_0x13c70e)[_0x4b764e(0x1d1)](_0x54cf82=>{const _0x34baae=_0x4b764e;let _0x532d00=_0x13c70e[_0x54cf82];return Array[_0x34baae(0x12c)](_0x532d00)||(_0x532d00=[_0x532d00]),_0x532d00['map'](_0x2defbe=>[_0x54cf82]['concat'](Object[_0x34baae(0x249)](_0x2defbe)[_0x34baae(0x1d1)](_0x4accab=>{const _0x14b867=_0x34baae;let _0x496709=_0x2defbe[_0x4accab];return Array['isArray'](_0x496709)||(_0x496709=[_0x496709]),_0x496709['map'](_0x6f6f22=>_0x6f6f22===!0x0?_0x4accab:_0x4accab+'='+_0x6f6f22)[_0x14b867(0x202)](';\x20');}))[_0x34baae(0x202)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x42c935,'parse':_0x5a975a},be;}var we,Je;function Pe(){const _0xf09c56=_0x561b8e;if(Je)return we;Je=0x1;const _0x2bd294=nt,_0x50519a=vt,_0x514f9b=ot,_0x40c682=St,_0x5dc0e1=Et,{randomBytes:_0x347ff0,createHash:_0x48784}=Le,{Duplex:_0x4d05a9,Readable:_0x4a693a}=oe,{URL:_0x29d511}=xt,_0x2f449f=he(),_0x3ca7e9=lt(),_0x171680=ft(),{isBlob:_0x462d35}=ae(),{BINARY_TYPES:_0x4233c7,EMPTY_BUFFER:_0x4c6a97,GUID:_0x3a50ef,kForOnEventAttribute:_0x176eda,kListener:_0x29c6b8,kStatusCode:_0x4a7358,kWebSocket:_0x39cc83,NOOP:_0x5a85f2}=H(),{EventTarget:{addEventListener:_0x27980a,removeEventListener:_0x2993e6}}=It(),{format:_0x4c139a,parse:_0x116ed2}=ct(),{toBuffer:_0x2356af}=ce(),_0x5e1c05=0x1e*0x3e8,_0x2aff25=Symbol('kAborted'),_0x4c6527=[0x8,0xd],_0x5080ef=[_0xf09c56(0x273),_0xf09c56(0x235),_0xf09c56(0x229),_0xf09c56(0x1c7)],_0x2312a0=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x29c7cc extends _0x2bd294{constructor(_0x2e9a5d,_0x6b96a0,_0x5b06e5){const _0x3d9c71=_0xf09c56;super(),this[_0x3d9c71(0x1a9)]=_0x4233c7[0x0],this[_0x3d9c71(0x1a0)]=0x3ee,this[_0x3d9c71(0x10c)]=!0x1,this[_0x3d9c71(0x140)]=!0x1,this[_0x3d9c71(0x288)]=_0x4c6a97,this['_closeTimer']=null,this[_0x3d9c71(0x117)]=!0x1,this[_0x3d9c71(0x197)]={},this['_paused']=!0x1,this[_0x3d9c71(0x240)]='',this[_0x3d9c71(0x168)]=_0x29c7cc[_0x3d9c71(0x273)],this[_0x3d9c71(0x1f1)]=null,this[_0x3d9c71(0x21d)]=null,this[_0x3d9c71(0x28b)]=null,_0x2e9a5d!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3d9c71(0x165)]=0x0,_0x6b96a0===void 0x0?_0x6b96a0=[]:Array[_0x3d9c71(0x12c)](_0x6b96a0)||(typeof _0x6b96a0==_0x3d9c71(0x1b3)&&_0x6b96a0!==null?(_0x5b06e5=_0x6b96a0,_0x6b96a0=[]):_0x6b96a0=[_0x6b96a0]),_0x41b956(this,_0x2e9a5d,_0x6b96a0,_0x5b06e5)):(this[_0x3d9c71(0x1c0)]=_0x5b06e5['autoPong'],this[_0x3d9c71(0x1ed)]=!0x0);}get[_0xf09c56(0x109)](){const _0x1ac303=_0xf09c56;return this[_0x1ac303(0x1a9)];}set[_0xf09c56(0x109)](_0x4d0edf){const _0x1f7c00=_0xf09c56;_0x4233c7[_0x1f7c00(0x14d)](_0x4d0edf)&&(this[_0x1f7c00(0x1a9)]=_0x4d0edf,this[_0x1f7c00(0x1f1)]&&(this[_0x1f7c00(0x1f1)]['_binaryType']=_0x4d0edf));}get['bufferedAmount'](){const _0x4c573e=_0xf09c56;return this[_0x4c573e(0x28b)]?this[_0x4c573e(0x28b)][_0x4c573e(0x230)][_0x4c573e(0x160)]+this[_0x4c573e(0x21d)][_0x4c573e(0x1c9)]:this['_bufferedAmount'];}get[_0xf09c56(0x254)](){const _0x18a96c=_0xf09c56;return Object[_0x18a96c(0x249)](this[_0x18a96c(0x197)])['join']();}get['isPaused'](){const _0x374746=_0xf09c56;return this[_0x374746(0x104)];}get['onclose'](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0xf09c56(0x151)](){return this['_protocol'];}get[_0xf09c56(0x223)](){const _0xc8e6fa=_0xf09c56;return this[_0xc8e6fa(0x168)];}get[_0xf09c56(0x1ad)](){const _0x437d81=_0xf09c56;return this[_0x437d81(0x145)];}[_0xf09c56(0x1f4)](_0x329e7c,_0x216925,_0x3151e7){const _0x554210=_0xf09c56,_0x8e4199=new _0x3ca7e9({'allowSynchronousEvents':_0x3151e7[_0x554210(0x23e)],'binaryType':this[_0x554210(0x109)],'extensions':this[_0x554210(0x197)],'isServer':this[_0x554210(0x1ed)],'maxPayload':_0x3151e7[_0x554210(0x29a)],'skipUTF8Validation':_0x3151e7['skipUTF8Validation']}),_0x466a70=new _0x171680(_0x329e7c,this['_extensions'],_0x3151e7[_0x554210(0x1c8)]);this['_receiver']=_0x8e4199,this[_0x554210(0x21d)]=_0x466a70,this[_0x554210(0x28b)]=_0x329e7c,_0x8e4199[_0x39cc83]=this,_0x466a70[_0x39cc83]=this,_0x329e7c[_0x39cc83]=this,_0x8e4199['on'](_0x554210(0x1e7),_0x748dd5),_0x8e4199['on'](_0x554210(0x106),_0x2e751d),_0x8e4199['on'](_0x554210(0x1f5),_0x2cebd1),_0x8e4199['on'](_0x554210(0x232),_0x2700f6),_0x8e4199['on'](_0x554210(0x169),_0x5055a6),_0x8e4199['on'](_0x554210(0x12f),_0x14e793),_0x466a70['onerror']=_0x1f9fd8,_0x329e7c[_0x554210(0x148)]&&_0x329e7c[_0x554210(0x148)](0x0),_0x329e7c['setNoDelay']&&_0x329e7c[_0x554210(0x29e)](),_0x216925[_0x554210(0x160)]>0x0&&_0x329e7c[_0x554210(0x1a6)](_0x216925),_0x329e7c['on']('close',_0x21b12a),_0x329e7c['on'](_0x554210(0x1bd),_0x5900bd),_0x329e7c['on']('end',_0x5a2daf),_0x329e7c['on'](_0x554210(0x1f5),_0x4959fb),this[_0x554210(0x168)]=_0x29c7cc['OPEN'],this['emit']('open');}[_0xf09c56(0x24f)](){const _0x218e31=_0xf09c56;if(!this[_0x218e31(0x28b)]){this['_readyState']=_0x29c7cc['CLOSED'],this[_0x218e31(0x1b6)]('close',this[_0x218e31(0x1a0)],this[_0x218e31(0x288)]);return;}this[_0x218e31(0x197)][_0x2f449f['extensionName']]&&this['_extensions'][_0x2f449f[_0x218e31(0xf7)]]['cleanup'](),this[_0x218e31(0x1f1)][_0x218e31(0x137)](),this[_0x218e31(0x168)]=_0x29c7cc['CLOSED'],this[_0x218e31(0x1b6)](_0x218e31(0x275),this[_0x218e31(0x1a0)],this['_closeMessage']);}[_0xf09c56(0x275)](_0x45ca8d,_0x1449dd){const _0x586c7a=_0xf09c56;if(this['readyState']!==_0x29c7cc[_0x586c7a(0x1c7)]){if(this[_0x586c7a(0x223)]===_0x29c7cc[_0x586c7a(0x273)]){_0xec3819(this,this[_0x586c7a(0x251)],_0x586c7a(0x242));return;}if(this[_0x586c7a(0x223)]===_0x29c7cc[_0x586c7a(0x229)]){this['_closeFrameSent']&&(this[_0x586c7a(0x10c)]||this[_0x586c7a(0x1f1)][_0x586c7a(0x230)][_0x586c7a(0x21f)])&&this[_0x586c7a(0x28b)][_0x586c7a(0x144)]();return;}this['_readyState']=_0x29c7cc[_0x586c7a(0x229)],this[_0x586c7a(0x21d)][_0x586c7a(0x275)](_0x45ca8d,_0x1449dd,!this[_0x586c7a(0x1ed)],_0x4781fe=>{const _0x3722b7=_0x586c7a;_0x4781fe||(this['_closeFrameSent']=!0x0,(this[_0x3722b7(0x10c)]||this[_0x3722b7(0x1f1)]['_writableState']['errorEmitted'])&&this[_0x3722b7(0x28b)][_0x3722b7(0x144)]());}),_0x28ed8d(this);}}[_0xf09c56(0x20c)](){const _0x2d241c=_0xf09c56;this[_0x2d241c(0x223)]===_0x29c7cc[_0x2d241c(0x273)]||this[_0x2d241c(0x223)]===_0x29c7cc[_0x2d241c(0x1c7)]||(this[_0x2d241c(0x104)]=!0x0,this[_0x2d241c(0x28b)][_0x2d241c(0x20c)]());}[_0xf09c56(0x169)](_0x100057,_0x26b2c4,_0x5b4ac6){const _0x44a1cd=_0xf09c56;if(this[_0x44a1cd(0x223)]===_0x29c7cc['CONNECTING'])throw new Error(_0x44a1cd(0x149));if(typeof _0x100057==_0x44a1cd(0x1a1)?(_0x5b4ac6=_0x100057,_0x100057=_0x26b2c4=void 0x0):typeof _0x26b2c4==_0x44a1cd(0x1a1)&&(_0x5b4ac6=_0x26b2c4,_0x26b2c4=void 0x0),typeof _0x100057=='number'&&(_0x100057=_0x100057[_0x44a1cd(0x157)]()),this[_0x44a1cd(0x223)]!==_0x29c7cc[_0x44a1cd(0x235)]){_0x444a91(this,_0x100057,_0x5b4ac6);return;}_0x26b2c4===void 0x0&&(_0x26b2c4=!this[_0x44a1cd(0x1ed)]),this[_0x44a1cd(0x21d)][_0x44a1cd(0x169)](_0x100057||_0x4c6a97,_0x26b2c4,_0x5b4ac6);}[_0xf09c56(0x12f)](_0x2e789b,_0x4a25a1,_0x328832){const _0x2fe291=_0xf09c56;if(this[_0x2fe291(0x223)]===_0x29c7cc[_0x2fe291(0x273)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2e789b==_0x2fe291(0x1a1)?(_0x328832=_0x2e789b,_0x2e789b=_0x4a25a1=void 0x0):typeof _0x4a25a1==_0x2fe291(0x1a1)&&(_0x328832=_0x4a25a1,_0x4a25a1=void 0x0),typeof _0x2e789b=='number'&&(_0x2e789b=_0x2e789b[_0x2fe291(0x157)]()),this[_0x2fe291(0x223)]!==_0x29c7cc[_0x2fe291(0x235)]){_0x444a91(this,_0x2e789b,_0x328832);return;}_0x4a25a1===void 0x0&&(_0x4a25a1=!this['_isServer']),this[_0x2fe291(0x21d)][_0x2fe291(0x12f)](_0x2e789b||_0x4c6a97,_0x4a25a1,_0x328832);}[_0xf09c56(0x270)](){const _0x27e698=_0xf09c56;this['readyState']===_0x29c7cc[_0x27e698(0x273)]||this[_0x27e698(0x223)]===_0x29c7cc[_0x27e698(0x1c7)]||(this[_0x27e698(0x104)]=!0x1,this['_receiver'][_0x27e698(0x230)][_0x27e698(0x15c)]||this['_socket'][_0x27e698(0x270)]());}['send'](_0x1a2623,_0xf643d2,_0x1d81b9){const _0x4ebf02=_0xf09c56;if(this[_0x4ebf02(0x223)]===_0x29c7cc[_0x4ebf02(0x273)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xf643d2==_0x4ebf02(0x1a1)&&(_0x1d81b9=_0xf643d2,_0xf643d2={}),typeof _0x1a2623==_0x4ebf02(0x1e0)&&(_0x1a2623=_0x1a2623[_0x4ebf02(0x157)]()),this[_0x4ebf02(0x223)]!==_0x29c7cc['OPEN']){_0x444a91(this,_0x1a2623,_0x1d81b9);return;}const _0xe110c3={'binary':typeof _0x1a2623!=_0x4ebf02(0x261),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xf643d2};this[_0x4ebf02(0x197)][_0x2f449f[_0x4ebf02(0xf7)]]||(_0xe110c3[_0x4ebf02(0x252)]=!0x1),this['_sender'][_0x4ebf02(0x17b)](_0x1a2623||_0x4c6a97,_0xe110c3,_0x1d81b9);}[_0xf09c56(0x1bf)](){const _0x486d51=_0xf09c56;if(this[_0x486d51(0x223)]!==_0x29c7cc[_0x486d51(0x1c7)]){if(this[_0x486d51(0x223)]===_0x29c7cc[_0x486d51(0x273)]){_0xec3819(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x486d51(0x28b)]&&(this[_0x486d51(0x168)]=_0x29c7cc[_0x486d51(0x229)],this[_0x486d51(0x28b)][_0x486d51(0x142)]());}}}Object[_0xf09c56(0x10a)](_0x29c7cc,'CONNECTING',{'enumerable':!0x0,'value':_0x5080ef[_0xf09c56(0x118)]('CONNECTING')}),Object[_0xf09c56(0x10a)](_0x29c7cc[_0xf09c56(0x14f)],_0xf09c56(0x273),{'enumerable':!0x0,'value':_0x5080ef['indexOf'](_0xf09c56(0x273))}),Object[_0xf09c56(0x10a)](_0x29c7cc,_0xf09c56(0x235),{'enumerable':!0x0,'value':_0x5080ef[_0xf09c56(0x118)]('OPEN')}),Object[_0xf09c56(0x10a)](_0x29c7cc[_0xf09c56(0x14f)],'OPEN',{'enumerable':!0x0,'value':_0x5080ef['indexOf'](_0xf09c56(0x235))}),Object[_0xf09c56(0x10a)](_0x29c7cc,_0xf09c56(0x229),{'enumerable':!0x0,'value':_0x5080ef[_0xf09c56(0x118)](_0xf09c56(0x229))}),Object['defineProperty'](_0x29c7cc[_0xf09c56(0x14f)],'CLOSING',{'enumerable':!0x0,'value':_0x5080ef[_0xf09c56(0x118)](_0xf09c56(0x229))}),Object[_0xf09c56(0x10a)](_0x29c7cc,'CLOSED',{'enumerable':!0x0,'value':_0x5080ef['indexOf'](_0xf09c56(0x1c7))}),Object[_0xf09c56(0x10a)](_0x29c7cc['prototype'],_0xf09c56(0x1c7),{'enumerable':!0x0,'value':_0x5080ef[_0xf09c56(0x118)]('CLOSED')}),[_0xf09c56(0x109),_0xf09c56(0x193),_0xf09c56(0x254),_0xf09c56(0x1e3),_0xf09c56(0x151),_0xf09c56(0x223),_0xf09c56(0x1ad)]['forEach'](_0x185b84=>{const _0x499ed5=_0xf09c56;Object['defineProperty'](_0x29c7cc[_0x499ed5(0x14f)],_0x185b84,{'enumerable':!0x0});}),['open',_0xf09c56(0x1f5),'close',_0xf09c56(0x232)]['forEach'](_0x4ba343=>{const _0x1bc18c=_0xf09c56;Object['defineProperty'](_0x29c7cc[_0x1bc18c(0x14f)],'on'+_0x4ba343,{'enumerable':!0x0,'get'(){const _0x2a26a3=_0x1bc18c;for(const _0x269749 of this[_0x2a26a3(0x27e)](_0x4ba343))if(_0x269749[_0x176eda])return _0x269749[_0x29c6b8];return null;},'set'(_0xf97441){const _0x1ac3cd=_0x1bc18c;for(const _0x338240 of this['listeners'](_0x4ba343))if(_0x338240[_0x176eda]){this[_0x1ac3cd(0x278)](_0x4ba343,_0x338240);break;}typeof _0xf97441==_0x1ac3cd(0x1a1)&&this[_0x1ac3cd(0x111)](_0x4ba343,_0xf97441,{[_0x176eda]:!0x0});}});}),_0x29c7cc['prototype'][_0xf09c56(0x111)]=_0x27980a,_0x29c7cc[_0xf09c56(0x14f)]['removeEventListener']=_0x2993e6,we=_0x29c7cc;function _0x41b956(_0x562648,_0x548c19,_0x1f060d,_0x1b9839){const _0x2fd76f=_0xf09c56,_0x27306a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4c6527[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1b9839,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2fd76f(0x134),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x562648[_0x2fd76f(0x1c0)]=_0x27306a[_0x2fd76f(0x224)],!_0x4c6527['includes'](_0x27306a[_0x2fd76f(0x213)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x27306a[_0x2fd76f(0x213)]+_0x2fd76f(0x18c)+_0x4c6527[_0x2fd76f(0x202)](',\x20')+')');let _0x1fc9a2;if(_0x548c19 instanceof _0x29d511)_0x1fc9a2=_0x548c19;else try{_0x1fc9a2=new _0x29d511(_0x548c19);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x548c19);}_0x1fc9a2[_0x2fd76f(0x151)]===_0x2fd76f(0x23b)?_0x1fc9a2[_0x2fd76f(0x151)]=_0x2fd76f(0x147):_0x1fc9a2['protocol']===_0x2fd76f(0x110)&&(_0x1fc9a2[_0x2fd76f(0x151)]=_0x2fd76f(0x138)),_0x562648['_url']=_0x1fc9a2[_0x2fd76f(0x236)];const _0x1496c2=_0x1fc9a2[_0x2fd76f(0x151)]===_0x2fd76f(0x138),_0x5d68c4=_0x1fc9a2['protocol']===_0x2fd76f(0x191);let _0x196380;if(_0x1fc9a2[_0x2fd76f(0x151)]!==_0x2fd76f(0x147)&&!_0x1496c2&&!_0x5d68c4?_0x196380='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':_0x5d68c4&&!_0x1fc9a2[_0x2fd76f(0x266)]?_0x196380=_0x2fd76f(0x295):_0x1fc9a2['hash']&&(_0x196380=_0x2fd76f(0x24e)),_0x196380){const _0x312131=new SyntaxError(_0x196380);if(_0x562648['_redirects']===0x0)throw _0x312131;_0x4a2264(_0x562648,_0x312131);return;}const _0x35f3f6=_0x1496c2?0x1bb:0x50,_0x43c70a=_0x347ff0(0x10)['toString'](_0x2fd76f(0xea)),_0xe32ef8=_0x1496c2?_0x50519a['request']:_0x514f9b['request'],_0x3ef9cb=new Set();let _0x81f6a7;if(_0x27306a[_0x2fd76f(0x1de)]=_0x27306a[_0x2fd76f(0x1de)]||(_0x1496c2?_0x4bcadc:_0xdb1dab),_0x27306a[_0x2fd76f(0x1b7)]=_0x27306a[_0x2fd76f(0x1b7)]||_0x35f3f6,_0x27306a[_0x2fd76f(0xf0)]=_0x1fc9a2[_0x2fd76f(0xf0)]||_0x35f3f6,_0x27306a['host']=_0x1fc9a2['hostname'][_0x2fd76f(0x177)]('[')?_0x1fc9a2[_0x2fd76f(0xed)][_0x2fd76f(0x22f)](0x1,-0x1):_0x1fc9a2[_0x2fd76f(0xed)],_0x27306a[_0x2fd76f(0x18f)]={..._0x27306a[_0x2fd76f(0x18f)],'Sec-WebSocket-Version':_0x27306a[_0x2fd76f(0x213)],'Sec-WebSocket-Key':_0x43c70a,'Connection':_0x2fd76f(0x10b),'Upgrade':_0x2fd76f(0x25f)},_0x27306a[_0x2fd76f(0x1cb)]=_0x1fc9a2[_0x2fd76f(0x266)]+_0x1fc9a2[_0x2fd76f(0x28e)],_0x27306a['timeout']=_0x27306a[_0x2fd76f(0x219)],_0x27306a[_0x2fd76f(0x24b)]&&(_0x81f6a7=new _0x2f449f(_0x27306a['perMessageDeflate']!==!0x0?_0x27306a[_0x2fd76f(0x24b)]:{},!0x1,_0x27306a['maxPayload']),_0x27306a[_0x2fd76f(0x18f)]['Sec-WebSocket-Extensions']=_0x4c139a({[_0x2f449f[_0x2fd76f(0xf7)]]:_0x81f6a7['offer']()})),_0x1f060d[_0x2fd76f(0x160)]){for(const _0x3b8698 of _0x1f060d){if(typeof _0x3b8698!='string'||!_0x2312a0[_0x2fd76f(0x207)](_0x3b8698)||_0x3ef9cb[_0x2fd76f(0x238)](_0x3b8698))throw new SyntaxError(_0x2fd76f(0x272));_0x3ef9cb[_0x2fd76f(0x14b)](_0x3b8698);}_0x27306a[_0x2fd76f(0x18f)][_0x2fd76f(0x20f)]=_0x1f060d['join'](',');}if(_0x27306a[_0x2fd76f(0x195)]&&(_0x27306a[_0x2fd76f(0x213)]<0xd?_0x27306a[_0x2fd76f(0x18f)]['Sec-WebSocket-Origin']=_0x27306a[_0x2fd76f(0x195)]:_0x27306a['headers'][_0x2fd76f(0xf5)]=_0x27306a[_0x2fd76f(0x195)]),(_0x1fc9a2[_0x2fd76f(0x25d)]||_0x1fc9a2[_0x2fd76f(0x115)])&&(_0x27306a[_0x2fd76f(0x1b1)]=_0x1fc9a2['username']+':'+_0x1fc9a2['password']),_0x5d68c4){const _0x49f5e8=_0x27306a[_0x2fd76f(0x1cb)][_0x2fd76f(0x1b4)](':');_0x27306a[_0x2fd76f(0x15d)]=_0x49f5e8[0x0],_0x27306a[_0x2fd76f(0x1cb)]=_0x49f5e8[0x1];}let _0x489ce1;if(_0x27306a[_0x2fd76f(0x215)]){if(_0x562648[_0x2fd76f(0x165)]===0x0){_0x562648['_originalIpc']=_0x5d68c4,_0x562648[_0x2fd76f(0x262)]=_0x1496c2,_0x562648[_0x2fd76f(0x178)]=_0x5d68c4?_0x27306a['socketPath']:_0x1fc9a2[_0x2fd76f(0x11d)];const _0x566432=_0x1b9839&&_0x1b9839[_0x2fd76f(0x18f)];if(_0x1b9839={..._0x1b9839,'headers':{}},_0x566432){for(const [_0xc634,_0x462c59]of Object['entries'](_0x566432))_0x1b9839[_0x2fd76f(0x18f)][_0xc634[_0x2fd76f(0x228)]()]=_0x462c59;}}else{if(_0x562648['listenerCount']('redirect')===0x0){const _0x52249e=_0x5d68c4?_0x562648[_0x2fd76f(0x265)]?_0x27306a[_0x2fd76f(0x15d)]===_0x562648['_originalHostOrSocketPath']:!0x1:_0x562648['_originalIpc']?!0x1:_0x1fc9a2[_0x2fd76f(0x11d)]===_0x562648[_0x2fd76f(0x178)];(!_0x52249e||_0x562648[_0x2fd76f(0x262)]&&!_0x1496c2)&&(delete _0x27306a[_0x2fd76f(0x18f)][_0x2fd76f(0x12a)],delete _0x27306a['headers'][_0x2fd76f(0x18e)],_0x52249e||delete _0x27306a[_0x2fd76f(0x18f)]['host'],_0x27306a[_0x2fd76f(0x1b1)]=void 0x0);}}_0x27306a[_0x2fd76f(0x1b1)]&&!_0x1b9839['headers']['authorization']&&(_0x1b9839['headers']['authorization']='Basic\x20'+Buffer['from'](_0x27306a[_0x2fd76f(0x1b1)])[_0x2fd76f(0x157)](_0x2fd76f(0xea))),_0x489ce1=_0x562648[_0x2fd76f(0x251)]=_0xe32ef8(_0x27306a),_0x562648['_redirects']&&_0x562648['emit']('redirect',_0x562648['url'],_0x489ce1);}else _0x489ce1=_0x562648[_0x2fd76f(0x251)]=_0xe32ef8(_0x27306a);_0x27306a[_0x2fd76f(0x1cc)]&&_0x489ce1['on'](_0x2fd76f(0x1cc),()=>{_0xec3819(_0x562648,_0x489ce1,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x489ce1['on'](_0x2fd76f(0x1f5),_0x4157a2=>{const _0x42fc6e=_0x2fd76f;_0x489ce1===null||_0x489ce1[_0x2aff25]||(_0x489ce1=_0x562648[_0x42fc6e(0x251)]=null,_0x4a2264(_0x562648,_0x4157a2));}),_0x489ce1['on'](_0x2fd76f(0x1ae),_0x6b63f=>{const _0xd405a7=_0x2fd76f,_0x51a83b=_0x6b63f[_0xd405a7(0x18f)]['location'],_0x3a65c2=_0x6b63f[_0xd405a7(0xfb)];if(_0x51a83b&&_0x27306a[_0xd405a7(0x215)]&&_0x3a65c2>=0x12c&&_0x3a65c2<0x190){if(++_0x562648[_0xd405a7(0x165)]>_0x27306a[_0xd405a7(0x281)]){_0xec3819(_0x562648,_0x489ce1,'Maximum\x20redirects\x20exceeded');return;}_0x489ce1[_0xd405a7(0x26b)]();let _0x230b16;try{_0x230b16=new _0x29d511(_0x51a83b,_0x548c19);}catch{const _0x10d655=new SyntaxError(_0xd405a7(0x190)+_0x51a83b);_0x4a2264(_0x562648,_0x10d655);return;}_0x41b956(_0x562648,_0x230b16,_0x1f060d,_0x1b9839);}else _0x562648[_0xd405a7(0x1b6)](_0xd405a7(0x14a),_0x489ce1,_0x6b63f)||_0xec3819(_0x562648,_0x489ce1,'Unexpected\x20server\x20response:\x20'+_0x6b63f[_0xd405a7(0xfb)]);}),_0x489ce1['on'](_0x2fd76f(0x17c),(_0x14e426,_0x5dd714,_0x308bbe)=>{const _0x2fd0ec=_0x2fd76f;if(_0x562648['emit'](_0x2fd0ec(0x17c),_0x14e426),_0x562648[_0x2fd0ec(0x223)]!==_0x29c7cc[_0x2fd0ec(0x273)])return;_0x489ce1=_0x562648[_0x2fd0ec(0x251)]=null;const _0x4f2a57=_0x14e426[_0x2fd0ec(0x18f)][_0x2fd0ec(0x17c)];if(_0x4f2a57===void 0x0||_0x4f2a57[_0x2fd0ec(0x228)]()!=='websocket'){_0xec3819(_0x562648,_0x5dd714,_0x2fd0ec(0x200));return;}const _0xc07b36=_0x48784(_0x2fd0ec(0x14c))[_0x2fd0ec(0x1df)](_0x43c70a+_0x3a50ef)['digest'](_0x2fd0ec(0xea));if(_0x14e426[_0x2fd0ec(0x18f)][_0x2fd0ec(0x297)]!==_0xc07b36){_0xec3819(_0x562648,_0x5dd714,_0x2fd0ec(0x18b));return;}const _0x321834=_0x14e426[_0x2fd0ec(0x18f)][_0x2fd0ec(0x136)];let _0x4e7af3;if(_0x321834!==void 0x0?_0x3ef9cb[_0x2fd0ec(0x283)]?_0x3ef9cb[_0x2fd0ec(0x238)](_0x321834)||(_0x4e7af3=_0x2fd0ec(0x1dd)):_0x4e7af3='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x3ef9cb[_0x2fd0ec(0x283)]&&(_0x4e7af3=_0x2fd0ec(0x205)),_0x4e7af3){_0xec3819(_0x562648,_0x5dd714,_0x4e7af3);return;}_0x321834&&(_0x562648[_0x2fd0ec(0x240)]=_0x321834);const _0x285eea=_0x14e426[_0x2fd0ec(0x18f)]['sec-websocket-extensions'];if(_0x285eea!==void 0x0){if(!_0x81f6a7){_0xec3819(_0x562648,_0x5dd714,_0x2fd0ec(0x259));return;}let _0x3c9153;try{_0x3c9153=_0x116ed2(_0x285eea);}catch{_0xec3819(_0x562648,_0x5dd714,_0x2fd0ec(0x1a2));return;}const _0x1e766a=Object[_0x2fd0ec(0x249)](_0x3c9153);if(_0x1e766a[_0x2fd0ec(0x160)]!==0x1||_0x1e766a[0x0]!==_0x2f449f['extensionName']){_0xec3819(_0x562648,_0x5dd714,_0x2fd0ec(0x29c));return;}try{_0x81f6a7['accept'](_0x3c9153[_0x2f449f[_0x2fd0ec(0xf7)]]);}catch{_0xec3819(_0x562648,_0x5dd714,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x562648['_extensions'][_0x2f449f[_0x2fd0ec(0xf7)]]=_0x81f6a7;}_0x562648[_0x2fd0ec(0x1f4)](_0x5dd714,_0x308bbe,{'allowSynchronousEvents':_0x27306a['allowSynchronousEvents'],'generateMask':_0x27306a[_0x2fd0ec(0x1c8)],'maxPayload':_0x27306a[_0x2fd0ec(0x29a)],'skipUTF8Validation':_0x27306a[_0x2fd0ec(0x1d8)]});}),_0x27306a[_0x2fd76f(0x143)]?_0x27306a[_0x2fd76f(0x143)](_0x489ce1,_0x562648):_0x489ce1[_0x2fd76f(0x144)]();}function _0x4a2264(_0x3f5563,_0x18648d){const _0x2c010e=_0xf09c56;_0x3f5563['_readyState']=_0x29c7cc['CLOSING'],_0x3f5563['_errorEmitted']=!0x0,_0x3f5563[_0x2c010e(0x1b6)](_0x2c010e(0x1f5),_0x18648d),_0x3f5563['emitClose']();}function _0xdb1dab(_0x3f9685){const _0x4c421e=_0xf09c56;return _0x3f9685[_0x4c421e(0x1cb)]=_0x3f9685[_0x4c421e(0x15d)],_0x40c682[_0x4c421e(0x237)](_0x3f9685);}function _0x4bcadc(_0x2c413a){const _0x2dcfa2=_0xf09c56;return _0x2c413a[_0x2dcfa2(0x1cb)]=void 0x0,!_0x2c413a[_0x2dcfa2(0x150)]&&_0x2c413a[_0x2dcfa2(0x150)]!==''&&(_0x2c413a[_0x2dcfa2(0x150)]=_0x40c682[_0x2dcfa2(0x127)](_0x2c413a[_0x2dcfa2(0x11d)])?'':_0x2c413a['host']),_0x5dc0e1[_0x2dcfa2(0x237)](_0x2c413a);}function _0xec3819(_0x383f23,_0x16eb3e,_0x7bf661){const _0x37ed8c=_0xf09c56;_0x383f23[_0x37ed8c(0x168)]=_0x29c7cc[_0x37ed8c(0x229)];const _0x3d064e=new Error(_0x7bf661);Error[_0x37ed8c(0x1f6)](_0x3d064e,_0xec3819),_0x16eb3e[_0x37ed8c(0x194)]?(_0x16eb3e[_0x2aff25]=!0x0,_0x16eb3e[_0x37ed8c(0x26b)](),_0x16eb3e[_0x37ed8c(0x22a)]&&!_0x16eb3e[_0x37ed8c(0x22a)][_0x37ed8c(0x107)]&&_0x16eb3e[_0x37ed8c(0x22a)][_0x37ed8c(0x142)](),process['nextTick'](_0x4a2264,_0x383f23,_0x3d064e)):(_0x16eb3e[_0x37ed8c(0x142)](_0x3d064e),_0x16eb3e[_0x37ed8c(0x11c)](_0x37ed8c(0x1f5),_0x383f23[_0x37ed8c(0x1b6)][_0x37ed8c(0x1af)](_0x383f23,_0x37ed8c(0x1f5))),_0x16eb3e[_0x37ed8c(0x11c)](_0x37ed8c(0x275),_0x383f23[_0x37ed8c(0x24f)][_0x37ed8c(0x1af)](_0x383f23)));}function _0x444a91(_0x50b3f3,_0x509a54,_0x43dab7){const _0x37f074=_0xf09c56;if(_0x509a54){const _0x2fea08=_0x462d35(_0x509a54)?_0x509a54['size']:_0x2356af(_0x509a54)[_0x37f074(0x160)];_0x50b3f3['_socket']?_0x50b3f3[_0x37f074(0x21d)][_0x37f074(0x1c9)]+=_0x2fea08:_0x50b3f3[_0x37f074(0x1e5)]+=_0x2fea08;}if(_0x43dab7){const _0x1e741a=new Error(_0x37f074(0x179)+_0x50b3f3[_0x37f074(0x223)]+'\x20('+_0x5080ef[_0x50b3f3[_0x37f074(0x223)]]+')');process[_0x37f074(0x133)](_0x43dab7,_0x1e741a);}}function _0x748dd5(_0x28d59b,_0x514ed2){const _0x5e4050=_0xf09c56,_0x410fcd=this[_0x39cc83];_0x410fcd[_0x5e4050(0x10c)]=!0x0,_0x410fcd[_0x5e4050(0x288)]=_0x514ed2,_0x410fcd[_0x5e4050(0x1a0)]=_0x28d59b,_0x410fcd[_0x5e4050(0x28b)][_0x39cc83]!==void 0x0&&(_0x410fcd['_socket']['removeListener'](_0x5e4050(0x1bd),_0x5900bd),process[_0x5e4050(0x133)](_0xceb2d3,_0x410fcd[_0x5e4050(0x28b)]),_0x28d59b===0x3ed?_0x410fcd[_0x5e4050(0x275)]():_0x410fcd['close'](_0x28d59b,_0x514ed2));}function _0x2e751d(){const _0x4fc05b=_0xf09c56,_0x57a6e4=this[_0x39cc83];_0x57a6e4[_0x4fc05b(0x1e3)]||_0x57a6e4[_0x4fc05b(0x28b)][_0x4fc05b(0x270)]();}function _0x2cebd1(_0xb72771){const _0x4d15d7=_0xf09c56,_0x1eb757=this[_0x39cc83];_0x1eb757[_0x4d15d7(0x28b)][_0x39cc83]!==void 0x0&&(_0x1eb757[_0x4d15d7(0x28b)][_0x4d15d7(0x278)](_0x4d15d7(0x1bd),_0x5900bd),process['nextTick'](_0xceb2d3,_0x1eb757[_0x4d15d7(0x28b)]),_0x1eb757['close'](_0xb72771[_0x4a7358])),_0x1eb757[_0x4d15d7(0x117)]||(_0x1eb757[_0x4d15d7(0x117)]=!0x0,_0x1eb757[_0x4d15d7(0x1b6)](_0x4d15d7(0x1f5),_0xb72771));}function _0x4bbb01(){const _0x89e533=_0xf09c56;this[_0x39cc83][_0x89e533(0x24f)]();}function _0x2700f6(_0x55a472,_0x1b4aa9){const _0x442622=_0xf09c56;this[_0x39cc83][_0x442622(0x1b6)](_0x442622(0x232),_0x55a472,_0x1b4aa9);}function _0x5055a6(_0x19fc4d){const _0x374594=_0xf09c56,_0x708b4c=this[_0x39cc83];_0x708b4c['_autoPong']&&_0x708b4c[_0x374594(0x12f)](_0x19fc4d,!this['_isServer'],_0x5a85f2),_0x708b4c[_0x374594(0x1b6)]('ping',_0x19fc4d);}function _0x14e793(_0x3df27f){const _0x4a21cf=_0xf09c56;this[_0x39cc83][_0x4a21cf(0x1b6)]('pong',_0x3df27f);}function _0xceb2d3(_0x400812){const _0x24f056=_0xf09c56;_0x400812[_0x24f056(0x270)]();}function _0x1f9fd8(_0x505f1f){const _0x508b99=_0xf09c56,_0x5e1613=this[_0x39cc83];_0x5e1613[_0x508b99(0x223)]!==_0x29c7cc['CLOSED']&&(_0x5e1613[_0x508b99(0x223)]===_0x29c7cc[_0x508b99(0x235)]&&(_0x5e1613['_readyState']=_0x29c7cc[_0x508b99(0x229)],_0x28ed8d(_0x5e1613)),this[_0x508b99(0x28b)][_0x508b99(0x144)](),_0x5e1613[_0x508b99(0x117)]||(_0x5e1613[_0x508b99(0x117)]=!0x0,_0x5e1613['emit'](_0x508b99(0x1f5),_0x505f1f)));}function _0x28ed8d(_0x245a5a){const _0x282bbe=_0xf09c56;_0x245a5a[_0x282bbe(0x124)]=setTimeout(_0x245a5a[_0x282bbe(0x28b)][_0x282bbe(0x142)][_0x282bbe(0x1af)](_0x245a5a[_0x282bbe(0x28b)]),_0x5e1c05);}function _0x21b12a(){const _0xa0cf7c=_0xf09c56,_0x1b6475=this[_0x39cc83];this[_0xa0cf7c(0x278)](_0xa0cf7c(0x275),_0x21b12a),this['removeListener'](_0xa0cf7c(0x1bd),_0x5900bd),this['removeListener'](_0xa0cf7c(0x144),_0x5a2daf),_0x1b6475[_0xa0cf7c(0x168)]=_0x29c7cc[_0xa0cf7c(0x229)];let _0x533c42;!this[_0xa0cf7c(0x19f)]['endEmitted']&&!_0x1b6475[_0xa0cf7c(0x10c)]&&!_0x1b6475[_0xa0cf7c(0x1f1)]['_writableState']['errorEmitted']&&(_0x533c42=_0x1b6475[_0xa0cf7c(0x28b)][_0xa0cf7c(0x250)]())!==null&&_0x1b6475[_0xa0cf7c(0x1f1)]['write'](_0x533c42),_0x1b6475[_0xa0cf7c(0x1f1)][_0xa0cf7c(0x144)](),this[_0x39cc83]=void 0x0,clearTimeout(_0x1b6475[_0xa0cf7c(0x124)]),_0x1b6475[_0xa0cf7c(0x1f1)][_0xa0cf7c(0x230)][_0xa0cf7c(0x146)]||_0x1b6475[_0xa0cf7c(0x1f1)]['_writableState'][_0xa0cf7c(0x21f)]?_0x1b6475[_0xa0cf7c(0x24f)]():(_0x1b6475[_0xa0cf7c(0x1f1)]['on'](_0xa0cf7c(0x1f5),_0x4bbb01),_0x1b6475[_0xa0cf7c(0x1f1)]['on'](_0xa0cf7c(0x26a),_0x4bbb01));}function _0x5900bd(_0x4d14f9){const _0x323aa2=_0xf09c56;this[_0x39cc83][_0x323aa2(0x1f1)][_0x323aa2(0x1f0)](_0x4d14f9)||this['pause']();}function _0x5a2daf(){const _0x3ee68d=_0xf09c56,_0x553185=this[_0x39cc83];_0x553185[_0x3ee68d(0x168)]=_0x29c7cc[_0x3ee68d(0x229)],_0x553185[_0x3ee68d(0x1f1)]['end'](),this[_0x3ee68d(0x144)]();}function _0x4959fb(){const _0x368f56=_0xf09c56,_0x51a103=this[_0x39cc83];this['removeListener']('error',_0x4959fb),this['on'](_0x368f56(0x1f5),_0x5a85f2),_0x51a103&&(_0x51a103[_0x368f56(0x168)]=_0x29c7cc[_0x368f56(0x229)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xe5eb3e}=oe;function _0x337ba2(_0x381524){_0x381524['emit']('close');}function _0x461ddc(){const _0x1e56c7=_0x5c8a;!this['destroyed']&&this[_0x1e56c7(0x230)][_0x1e56c7(0x146)]&&this['destroy']();}function _0x48f0e0(_0x23044d){const _0x143f8b=_0x5c8a;this['removeListener'](_0x143f8b(0x1f5),_0x48f0e0),this[_0x143f8b(0x142)](),this[_0x143f8b(0x1ec)]('error')===0x0&&this[_0x143f8b(0x1b6)](_0x143f8b(0x1f5),_0x23044d);}function _0x4f03b4(_0x5b5917,_0x154899){const _0x20050e=_0x5c8a;let _0x5cdd98=!0x0;const _0x496893=new _0xe5eb3e({..._0x154899,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5b5917['on'](_0x20050e(0x232),function(_0x159a57,_0x40a037){const _0x1df1bf=_0x20050e,_0x17a24d=!_0x40a037&&_0x496893[_0x1df1bf(0x19f)][_0x1df1bf(0x216)]?_0x159a57['toString']():_0x159a57;_0x496893[_0x1df1bf(0x1f8)](_0x17a24d)||_0x5b5917[_0x1df1bf(0x20c)]();}),_0x5b5917[_0x20050e(0x11c)]('error',function(_0xf88521){const _0x296482=_0x20050e;_0x496893['destroyed']||(_0x5cdd98=!0x1,_0x496893[_0x296482(0x142)](_0xf88521));}),_0x5b5917[_0x20050e(0x11c)]('close',function(){const _0x2eec85=_0x20050e;_0x496893[_0x2eec85(0x107)]||_0x496893['push'](null);}),_0x496893['_destroy']=function(_0x5af81b,_0x3aab28){const _0x10173e=_0x20050e;if(_0x5b5917['readyState']===_0x5b5917[_0x10173e(0x1c7)]){_0x3aab28(_0x5af81b),process[_0x10173e(0x133)](_0x337ba2,_0x496893);return;}let _0xede145=!0x1;_0x5b5917[_0x10173e(0x11c)](_0x10173e(0x1f5),function(_0x569dee){_0xede145=!0x0,_0x3aab28(_0x569dee);}),_0x5b5917[_0x10173e(0x11c)](_0x10173e(0x275),function(){const _0x1d4aa5=_0x10173e;_0xede145||_0x3aab28(_0x5af81b),process[_0x1d4aa5(0x133)](_0x337ba2,_0x496893);}),_0x5cdd98&&_0x5b5917[_0x10173e(0x1bf)]();},_0x496893[_0x20050e(0x174)]=function(_0x32b472){const _0x34cb90=_0x20050e;if(_0x5b5917[_0x34cb90(0x223)]===_0x5b5917[_0x34cb90(0x273)]){_0x5b5917[_0x34cb90(0x11c)](_0x34cb90(0x11b),function(){_0x496893['_final'](_0x32b472);});return;}_0x5b5917['_socket']!==null&&(_0x5b5917[_0x34cb90(0x28b)]['_writableState'][_0x34cb90(0x146)]?(_0x32b472(),_0x496893[_0x34cb90(0x19f)][_0x34cb90(0x100)]&&_0x496893[_0x34cb90(0x142)]()):(_0x5b5917['_socket'][_0x34cb90(0x11c)](_0x34cb90(0x26a),function(){_0x32b472();}),_0x5b5917[_0x34cb90(0x275)]()));},_0x496893[_0x20050e(0xf9)]=function(){const _0x52a234=_0x20050e;_0x5b5917[_0x52a234(0x1e3)]&&_0x5b5917[_0x52a234(0x270)]();},_0x496893[_0x20050e(0x2a1)]=function(_0x331dd6,_0x11b28c,_0x3774c4){const _0x303f53=_0x20050e;if(_0x5b5917[_0x303f53(0x223)]===_0x5b5917[_0x303f53(0x273)]){_0x5b5917[_0x303f53(0x11c)](_0x303f53(0x11b),function(){const _0xf9874c=_0x303f53;_0x496893[_0xf9874c(0x2a1)](_0x331dd6,_0x11b28c,_0x3774c4);});return;}_0x5b5917[_0x303f53(0x17b)](_0x331dd6,_0x3774c4);},_0x496893['on']('end',_0x461ddc),_0x496893['on'](_0x20050e(0x1f5),_0x48f0e0),_0x496893;}return Oe=_0x4f03b4,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x15b560}=ae();function _0x5ad7a3(_0x62e336){const _0x4e5b66=_0x5c8a,_0x495b91=new Set();let _0x389314=-0x1,_0x52fcbc=-0x1,_0x45f911=0x0;for(_0x45f911;_0x45f911<_0x62e336[_0x4e5b66(0x160)];_0x45f911++){const _0x328f5a=_0x62e336['charCodeAt'](_0x45f911);if(_0x52fcbc===-0x1&&_0x15b560[_0x328f5a]===0x1)_0x389314===-0x1&&(_0x389314=_0x45f911);else{if(_0x45f911!==0x0&&(_0x328f5a===0x20||_0x328f5a===0x9))_0x52fcbc===-0x1&&_0x389314!==-0x1&&(_0x52fcbc=_0x45f911);else{if(_0x328f5a===0x2c){if(_0x389314===-0x1)throw new SyntaxError(_0x4e5b66(0x1d5)+_0x45f911);_0x52fcbc===-0x1&&(_0x52fcbc=_0x45f911);const _0x24ccd9=_0x62e336[_0x4e5b66(0x22f)](_0x389314,_0x52fcbc);if(_0x495b91[_0x4e5b66(0x238)](_0x24ccd9))throw new SyntaxError(_0x4e5b66(0x13d)+_0x24ccd9+'\x22\x20subprotocol\x20is\x20duplicated');_0x495b91['add'](_0x24ccd9),_0x389314=_0x52fcbc=-0x1;}else throw new SyntaxError(_0x4e5b66(0x1d5)+_0x45f911);}}}if(_0x389314===-0x1||_0x52fcbc!==-0x1)throw new SyntaxError(_0x4e5b66(0x1b9));const _0x446122=_0x62e336[_0x4e5b66(0x22f)](_0x389314,_0x45f911);if(_0x495b91['has'](_0x446122))throw new SyntaxError(_0x4e5b66(0x13d)+_0x446122+_0x4e5b66(0x1b8));return _0x495b91['add'](_0x446122),_0x495b91;}return Ce={'parse':_0x5ad7a3},Ce;}var Te,rt;function Ft(){const _0x3e5157=_0x561b8e;if(rt)return Te;rt=0x1;const _0x422c0f=nt,_0x339f54=ot,{Duplex:_0x5b56a9}=oe,{createHash:_0x325258}=Le,_0x514ecf=ct(),_0x1da918=he(),_0x4018c7=At(),_0xcdeaf1=Pe(),{GUID:_0x581b82,kWebSocket:_0x5aa415}=H(),_0x3f02fc=/^[+/0-9A-Za-z]{22}==$/,_0x3534a9=0x0,_0x54ac9c=0x1,_0x466269=0x2;class _0x10164f extends _0x422c0f{constructor(_0x4b8bed,_0x5b1f2c){const _0x13b0c4=_0x5c8a;if(super(),_0x4b8bed={'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':_0xcdeaf1,..._0x4b8bed},_0x4b8bed[_0x13b0c4(0xf0)]==null&&!_0x4b8bed[_0x13b0c4(0x29b)]&&!_0x4b8bed[_0x13b0c4(0x1ff)]||_0x4b8bed[_0x13b0c4(0xf0)]!=null&&(_0x4b8bed[_0x13b0c4(0x29b)]||_0x4b8bed[_0x13b0c4(0x1ff)])||_0x4b8bed['server']&&_0x4b8bed['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4b8bed['port']!=null?(this['_server']=_0x339f54[_0x13b0c4(0x108)]((_0x508bfe,_0x4c966b)=>{const _0xd91064=_0x13b0c4,_0x463e38=_0x339f54['STATUS_CODES'][0x1aa];_0x4c966b[_0xd91064(0x141)](0x1aa,{'Content-Length':_0x463e38[_0xd91064(0x160)],'Content-Type':_0xd91064(0x130)}),_0x4c966b[_0xd91064(0x144)](_0x463e38);}),this[_0x13b0c4(0x1d4)][_0x13b0c4(0x1d0)](_0x4b8bed[_0x13b0c4(0xf0)],_0x4b8bed[_0x13b0c4(0x11d)],_0x4b8bed[_0x13b0c4(0x256)],_0x5b1f2c)):_0x4b8bed[_0x13b0c4(0x29b)]&&(this[_0x13b0c4(0x1d4)]=_0x4b8bed[_0x13b0c4(0x29b)]),this[_0x13b0c4(0x1d4)]){const _0x517f1a=this['emit'][_0x13b0c4(0x1af)](this,_0x13b0c4(0x1da));this['_removeListeners']=_0x36e9f5(this['_server'],{'listening':this['emit'][_0x13b0c4(0x1af)](this,_0x13b0c4(0xeb)),'error':this[_0x13b0c4(0x1b6)]['bind'](this,_0x13b0c4(0x1f5)),'upgrade':(_0x13ef59,_0x4849d5,_0x665332)=>{const _0x1ec831=_0x13b0c4;this[_0x1ec831(0xef)](_0x13ef59,_0x4849d5,_0x665332,_0x517f1a);}});}_0x4b8bed[_0x13b0c4(0x24b)]===!0x0&&(_0x4b8bed[_0x13b0c4(0x24b)]={}),_0x4b8bed[_0x13b0c4(0x245)]&&(this[_0x13b0c4(0x163)]=new Set(),this[_0x13b0c4(0x222)]=!0x1),this[_0x13b0c4(0x129)]=_0x4b8bed,this[_0x13b0c4(0x10d)]=_0x3534a9;}[_0x3e5157(0x293)](){const _0x16166c=_0x3e5157;if(this[_0x16166c(0x129)]['noServer'])throw new Error(_0x16166c(0xfa));return this['_server']?this[_0x16166c(0x1d4)][_0x16166c(0x293)]():null;}[_0x3e5157(0x275)](_0x1bd45a){const _0x10192a=_0x3e5157;if(this[_0x10192a(0x10d)]===_0x466269){_0x1bd45a&&this[_0x10192a(0x11c)](_0x10192a(0x275),()=>{_0x1bd45a(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x1dbfe1,this);return;}if(_0x1bd45a&&this['once'](_0x10192a(0x275),_0x1bd45a),this[_0x10192a(0x10d)]!==_0x54ac9c){if(this[_0x10192a(0x10d)]=_0x54ac9c,this[_0x10192a(0x129)][_0x10192a(0x1ff)]||this[_0x10192a(0x129)][_0x10192a(0x29b)])this[_0x10192a(0x1d4)]&&(this['_removeListeners'](),this[_0x10192a(0x12e)]=this[_0x10192a(0x1d4)]=null),this[_0x10192a(0x163)]?this[_0x10192a(0x163)]['size']?this['_shouldEmitClose']=!0x0:process[_0x10192a(0x133)](_0x1dbfe1,this):process[_0x10192a(0x133)](_0x1dbfe1,this);else{const _0x3634be=this[_0x10192a(0x1d4)];this['_removeListeners'](),this[_0x10192a(0x12e)]=this['_server']=null,_0x3634be[_0x10192a(0x275)](()=>{_0x1dbfe1(this);});}}}[_0x3e5157(0x220)](_0x4951cc){const _0x589149=_0x3e5157;if(this[_0x589149(0x129)]['path']){const _0x2328e3=_0x4951cc[_0x589149(0x1ad)][_0x589149(0x118)]('?');if((_0x2328e3!==-0x1?_0x4951cc[_0x589149(0x1ad)][_0x589149(0x22f)](0x0,_0x2328e3):_0x4951cc['url'])!==this['options'][_0x589149(0x1cb)])return!0x1;}return!0x0;}[_0x3e5157(0xef)](_0x58e71a,_0x7e1b77,_0x2681bb,_0x582b6a){const _0x562900=_0x3e5157;_0x7e1b77['on'](_0x562900(0x1f5),_0x368274);const _0x4e4fbe=_0x58e71a[_0x562900(0x18f)]['sec-websocket-key'],_0xaa0387=_0x58e71a['headers'][_0x562900(0x17c)],_0x394a66=+_0x58e71a[_0x562900(0x18f)][_0x562900(0x17a)];if(_0x58e71a[_0x562900(0x11f)]!==_0x562900(0x134)){_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x195,_0x562900(0x23c));return;}if(_0xaa0387===void 0x0||_0xaa0387[_0x562900(0x228)]()!==_0x562900(0x25f)){_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x190,_0x562900(0x200));return;}if(_0x4e4fbe===void 0x0||!_0x3f02fc['test'](_0x4e4fbe)){_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x190,_0x562900(0x116));return;}if(_0x394a66!==0xd&&_0x394a66!==0x8){_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x190,_0x562900(0x257),{'Sec-WebSocket-Version':_0x562900(0xee)});return;}if(!this['shouldHandle'](_0x58e71a)){_0x9a0851(_0x7e1b77,0x190);return;}const _0x4102fb=_0x58e71a[_0x562900(0x18f)][_0x562900(0x136)];let _0x1ecc13=new Set();if(_0x4102fb!==void 0x0)try{_0x1ecc13=_0x4018c7['parse'](_0x4102fb);}catch{_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2bd568=_0x58e71a['headers'][_0x562900(0x16c)],_0x3cca0e={};if(this['options'][_0x562900(0x24b)]&&_0x2bd568!==void 0x0){const _0x53415c=new _0x1da918(this[_0x562900(0x129)][_0x562900(0x24b)],!0x0,this['options'][_0x562900(0x29a)]);try{const _0x312197=_0x514ecf[_0x562900(0x22e)](_0x2bd568);_0x312197[_0x1da918[_0x562900(0xf7)]]&&(_0x53415c[_0x562900(0x282)](_0x312197[_0x1da918[_0x562900(0xf7)]]),_0x3cca0e[_0x1da918[_0x562900(0xf7)]]=_0x53415c);}catch{_0xb45dd2(this,_0x58e71a,_0x7e1b77,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x562900(0x129)]['verifyClient']){const _0x2f71e0={'origin':_0x58e71a[_0x562900(0x18f)][''+(_0x394a66===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x58e71a[_0x562900(0x22a)][_0x562900(0x21e)]||_0x58e71a[_0x562900(0x22a)][_0x562900(0x296)]),'req':_0x58e71a};if(this['options']['verifyClient']['length']===0x2){this[_0x562900(0x129)]['verifyClient'](_0x2f71e0,(_0x583d06,_0x3b4eca,_0x21263c,_0x1a47eb)=>{const _0x2ef74b=_0x562900;if(!_0x583d06)return _0x9a0851(_0x7e1b77,_0x3b4eca||0x191,_0x21263c,_0x1a47eb);this[_0x2ef74b(0x1f7)](_0x3cca0e,_0x4e4fbe,_0x1ecc13,_0x58e71a,_0x7e1b77,_0x2681bb,_0x582b6a);});return;}if(!this[_0x562900(0x129)][_0x562900(0xec)](_0x2f71e0))return _0x9a0851(_0x7e1b77,0x191);}this['completeUpgrade'](_0x3cca0e,_0x4e4fbe,_0x1ecc13,_0x58e71a,_0x7e1b77,_0x2681bb,_0x582b6a);}[_0x3e5157(0x1f7)](_0x2d73f8,_0x2c0e01,_0x237e73,_0x3f9c25,_0x2ab589,_0x3a3b09,_0x29283a){const _0x4427df=_0x3e5157;if(!_0x2ab589[_0x4427df(0x13b)]||!_0x2ab589[_0x4427df(0x27a)])return _0x2ab589['destroy']();if(_0x2ab589[_0x5aa415])throw new Error(_0x4427df(0x1c4));if(this[_0x4427df(0x10d)]>_0x3534a9)return _0x9a0851(_0x2ab589,0x1f7);const _0x3ac0f9=[_0x4427df(0x294),_0x4427df(0x208),_0x4427df(0x244),'Sec-WebSocket-Accept:\x20'+_0x325258(_0x4427df(0x14c))[_0x4427df(0x1df)](_0x2c0e01+_0x581b82)['digest'](_0x4427df(0xea))],_0x53f46f=new this[(_0x4427df(0x129))][(_0x4427df(0x27f))](null,void 0x0,this[_0x4427df(0x129)]);if(_0x237e73[_0x4427df(0x283)]){const _0x4c3843=this['options'][_0x4427df(0x28a)]?this[_0x4427df(0x129)][_0x4427df(0x28a)](_0x237e73,_0x3f9c25):_0x237e73[_0x4427df(0x1d6)]()[_0x4427df(0x1bb)]()['value'];_0x4c3843&&(_0x3ac0f9['push'](_0x4427df(0x231)+_0x4c3843),_0x53f46f[_0x4427df(0x240)]=_0x4c3843);}if(_0x2d73f8[_0x1da918['extensionName']]){const _0x27e1a3=_0x2d73f8[_0x1da918[_0x4427df(0xf7)]][_0x4427df(0x20b)],_0x32cfee=_0x514ecf[_0x4427df(0x234)]({[_0x1da918[_0x4427df(0xf7)]]:[_0x27e1a3]});_0x3ac0f9['push']('Sec-WebSocket-Extensions:\x20'+_0x32cfee),_0x53f46f[_0x4427df(0x197)]=_0x2d73f8;}this[_0x4427df(0x1b6)](_0x4427df(0x18f),_0x3ac0f9,_0x3f9c25),_0x2ab589['write'](_0x3ac0f9['concat']('\x0d\x0a')[_0x4427df(0x202)]('\x0d\x0a')),_0x2ab589[_0x4427df(0x278)](_0x4427df(0x1f5),_0x368274),_0x53f46f[_0x4427df(0x1f4)](_0x2ab589,_0x3a3b09,{'allowSynchronousEvents':this[_0x4427df(0x129)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x4427df(0x129)]['skipUTF8Validation']}),this[_0x4427df(0x163)]&&(this[_0x4427df(0x163)]['add'](_0x53f46f),_0x53f46f['on']('close',()=>{const _0x3a591d=_0x4427df;this[_0x3a591d(0x163)][_0x3a591d(0x182)](_0x53f46f),this[_0x3a591d(0x222)]&&!this['clients'][_0x3a591d(0x283)]&&process[_0x3a591d(0x133)](_0x1dbfe1,this);})),_0x29283a(_0x53f46f,_0x3f9c25);}}Te=_0x10164f;function _0x36e9f5(_0x4a24a6,_0x7f3ea9){for(const _0x140313 of Object['keys'](_0x7f3ea9))_0x4a24a6['on'](_0x140313,_0x7f3ea9[_0x140313]);return function(){const _0x24c0e2=_0x5c8a;for(const _0x1f99f7 of Object[_0x24c0e2(0x249)](_0x7f3ea9))_0x4a24a6[_0x24c0e2(0x278)](_0x1f99f7,_0x7f3ea9[_0x1f99f7]);};}function _0x1dbfe1(_0x1a6aa8){const _0x3ca19f=_0x3e5157;_0x1a6aa8[_0x3ca19f(0x10d)]=_0x466269,_0x1a6aa8[_0x3ca19f(0x1b6)]('close');}function _0x368274(){const _0x51bdf4=_0x3e5157;this[_0x51bdf4(0x142)]();}function _0x9a0851(_0x4dd9b6,_0x68be0b,_0x5d6eb4,_0x22959f){const _0x246983=_0x3e5157;_0x5d6eb4=_0x5d6eb4||_0x339f54[_0x246983(0x119)][_0x68be0b],_0x22959f={'Connection':_0x246983(0x275),'Content-Type':_0x246983(0x10e),'Content-Length':Buffer[_0x246983(0x286)](_0x5d6eb4),..._0x22959f},_0x4dd9b6[_0x246983(0x11c)](_0x246983(0x26a),_0x4dd9b6[_0x246983(0x142)]),_0x4dd9b6['end'](_0x246983(0x173)+_0x68be0b+'\x20'+_0x339f54[_0x246983(0x119)][_0x68be0b]+'\x0d\x0a'+Object[_0x246983(0x249)](_0x22959f)[_0x246983(0x1d1)](_0x23fc7d=>_0x23fc7d+':\x20'+_0x22959f[_0x23fc7d])[_0x246983(0x202)]('\x0d\x0a')+_0x246983(0x1e6)+_0x5d6eb4);}function _0xb45dd2(_0x2419fe,_0x138f87,_0x652081,_0x5dc591,_0x1b2d38,_0x3b4230){const _0x13f96e=_0x3e5157;if(_0x2419fe[_0x13f96e(0x1ec)](_0x13f96e(0x19a))){const _0x4fe4b9=new Error(_0x1b2d38);Error[_0x13f96e(0x1f6)](_0x4fe4b9,_0xb45dd2),_0x2419fe[_0x13f96e(0x1b6)](_0x13f96e(0x19a),_0x4fe4b9,_0x652081,_0x138f87);}else _0x9a0851(_0x652081,_0x5dc591,_0x1b2d38,_0x3b4230);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x4972c1,_0x189a60,_0x53f437,_0x5195ca)=>{for(var _0x46bd3c=_0x5195ca>0x1?void 0x0:_0x5195ca?jt(_0x189a60,_0x53f437):_0x189a60,_0x2bf0d0=_0x4972c1['length']-0x1,_0xad9b21;_0x2bf0d0>=0x0;_0x2bf0d0--)(_0xad9b21=_0x4972c1[_0x2bf0d0])&&(_0x46bd3c=_0xad9b21(_0x46bd3c)||_0x46bd3c);return _0x46bd3c;},qt=(_0x21e127,_0x4d6b08)=>(_0x1d56ee,_0x569d7f)=>_0x4d6b08(_0x1d56ee,_0x569d7f,_0x21e127);let ke=class extends A[_0x561b8e(0x287)]{constructor(_0x209a96){const _0x458794=_0x561b8e;super(),this[_0x458794(0x26f)]=_0x209a96;}[_0x561b8e(0x241)](_0x5e6754){const _0x468733=_0x561b8e;var _0x5c6a2b;const _0x178ebc=(_0x5c6a2b=this[_0x468733(0x26f)][_0x468733(0x1bc)](fe))==null?void 0x0:_0x5c6a2b[_0x468733(0x1be)];try{const _0x4a8183=new $t(_0x5e6754,{'headers':{..._0x178ebc}}),_0x69b8a9=new A[(_0x468733(0x112))]();return{'URL':_0x5e6754,'close':(_0x21f21d,_0x51ebd2)=>{const _0x10c61d=_0x468733;_0x4a8183['close'](_0x21f21d,_0x51ebd2),_0x69b8a9[_0x10c61d(0x204)]();},'send':_0xb8ade3=>{const _0x3bad2c=_0x468733;_0x4a8183[_0x3bad2c(0x17b)](_0xb8ade3);},'open$':new V[(_0x468733(0x181))](_0xfe3b9d=>{const _0x4fd602=_0x468733,_0x1048de=_0x11f711=>_0xfe3b9d['next'](_0x11f711);_0x4a8183[_0x4fd602(0x111)](_0x4fd602(0x11b),_0x1048de),_0x69b8a9[_0x4fd602(0x14b)](A[_0x4fd602(0xf4)](()=>_0x4a8183[_0x4fd602(0x153)](_0x4fd602(0x11b),_0x1048de)));})['pipe'](V[_0x468733(0x15e)]()),'close$':new V['Observable'](_0x2189d8=>{const _0x364e67=_0x468733,_0x4c357e=_0x51331e=>_0x2189d8['next'](_0x51331e);_0x4a8183[_0x364e67(0x111)](_0x364e67(0x275),_0x4c357e),_0x69b8a9[_0x364e67(0x14b)](A[_0x364e67(0xf4)](()=>_0x4a8183['removeEventListener'](_0x364e67(0x275),_0x4c357e)));})[_0x468733(0x23f)](V[_0x468733(0x15e)]()),'error$':new V[(_0x468733(0x181))](_0x1bb983=>{const _0x3d74ae=_0x468733,_0xa84fe6=_0x53bcbd=>_0x1bb983[_0x3d74ae(0x1bb)](_0x53bcbd);_0x4a8183[_0x3d74ae(0x111)](_0x3d74ae(0x1f5),_0xa84fe6),_0x69b8a9[_0x3d74ae(0x14b)](A[_0x3d74ae(0xf4)](()=>_0x4a8183['removeEventListener'](_0x3d74ae(0x1f5),_0xa84fe6)));})[_0x468733(0x23f)](V[_0x468733(0x15e)]()),'message$':new V[(_0x468733(0x181))](_0xac4aa8=>{const _0x42f5c4=_0x468733,_0x4a434b=_0x20c74f=>_0xac4aa8[_0x42f5c4(0x1bb)](_0x20c74f);_0x4a8183['addEventListener'](_0x42f5c4(0x232),_0x4a434b),_0x69b8a9[_0x42f5c4(0x14b)](A['toDisposable'](()=>_0x4a8183[_0x42f5c4(0x153)](_0x42f5c4(0x232),_0x4a434b)));})['pipe'](V[_0x468733(0x15e)]())};}catch(_0x4694c2){return console['error'](_0x4694c2),null;}}};ke=Wt([qt(0x0,A[_0x561b8e(0x1f3)])],ke);var Gt=Object['defineProperty'],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x3b4959,_0x597440,_0x5cf8d0)=>_0x597440 in _0x3b4959?Gt(_0x3b4959,_0x597440,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5cf8d0}):_0x3b4959[_0x597440]=_0x5cf8d0,zt=(_0x53eac0,_0x486138,_0x43122c,_0x17e6da)=>{const _0x599a17=_0x561b8e;for(var _0x240e3c=_0x17e6da>0x1?void 0x0:_0x17e6da?Vt(_0x486138,_0x43122c):_0x486138,_0x4d6cbf=_0x53eac0[_0x599a17(0x160)]-0x1,_0x155ba1;_0x4d6cbf>=0x0;_0x4d6cbf--)(_0x155ba1=_0x53eac0[_0x4d6cbf])&&(_0x240e3c=_0x155ba1(_0x240e3c)||_0x240e3c);return _0x240e3c;},Ne=(_0x46ea6e,_0xac460d)=>(_0x4ba793,_0x18e8c4)=>_0xac460d(_0x4ba793,_0x18e8c4,_0x46ea6e),Yt=(_0x44887f,_0x5b624d,_0x4c2a58)=>Ht(_0x44887f,_0x5b624d+'',_0x4c2a58);exports[_0x561b8e(0x28d)]=class extends A[_0x561b8e(0x1fc)]{constructor(_0x4c5109=Ct,_0x4638de,_0xc6e1d3,_0xee5705){const _0x2bef23=_0x561b8e;_0x4c5109[_0x2bef23(0x1be)]||_0x4638de['warn'](_0x2bef23(0x158)),super(),this[_0x2bef23(0x26f)]=_0xc6e1d3,this['_injector']=_0xee5705,this[_0x2bef23(0x26f)][_0x2bef23(0x27d)](fe,_0x4c5109);}[_0x561b8e(0x154)](){const _0xcbdae4=_0x561b8e;this[_0xcbdae4(0x211)]();}[_0x561b8e(0x211)](){const _0x179815=_0x561b8e;A['registerDependencies'](this[_0x179815(0x27c)],[[it[_0x179815(0x209)],{'useClass':ke}]]);}},Yt(exports[_0x561b8e(0x28d)],_0x561b8e(0x24a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x561b8e(0x28d)]=zt([A[_0x561b8e(0x171)](st[_0x561b8e(0x1ef)]),Ne(0x1,A[_0x561b8e(0x155)]),Ne(0x2,A[_0x561b8e(0x1f3)]),Ne(0x3,A[_0x561b8e(0x284)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);function _0x5c8a(_0x540421,_0x52907a){const _0xb2202=_0xb220();return _0x5c8a=function(_0x5c8a27,_0x4d78fd){_0x5c8a27=_0x5c8a27-0xe8;let _0x25deb0=_0xb2202[_0x5c8a27];return _0x25deb0;},_0x5c8a(_0x540421,_0x52907a);}var Kt=Object[_0x561b8e(0x258)],Xt=(_0x4bd20e,_0x580e1a,_0x5d4065,_0x42fd18)=>{const _0xab8aef=_0x561b8e;for(var _0x409d5c=_0x42fd18>0x1?void 0x0:_0x42fd18?Kt(_0x580e1a,_0x5d4065):_0x580e1a,_0x11a010=_0x4bd20e[_0xab8aef(0x160)]-0x1,_0xb340a8;_0x11a010>=0x0;_0x11a010--)(_0xb340a8=_0x4bd20e[_0x11a010])&&(_0x409d5c=_0xb340a8(_0x409d5c)||_0x409d5c);return _0x409d5c;},ne=(_0x210c3b,_0x2fb661)=>(_0x4c75bc,_0x16bb21)=>_0x2fb661(_0x4c75bc,_0x16bb21,_0x210c3b);exports[_0x561b8e(0x203)]=class extends st[_0x561b8e(0x20a)]{constructor(_0xf613dd,_0xaf005,_0x20590d,_0x2af8cd,_0x2ba104){const _0x59d294=_0x561b8e;super(_0xf613dd,_0xaf005,_0x20590d,_0x2af8cd,_0x2ba104);const _0x38d9ec=this[_0x59d294(0x26f)]['getConfig'](fe);this[_0x59d294(0x1a7)][_0x59d294(0x25c)]({'interceptor':(_0x366386,_0x532bf3)=>{const _0x543803=_0x59d294;var _0x33ec19;const _0x415d87=_0x366386[_0x543803(0x18f)];return(_0x33ec19=_0x38d9ec==null?void 0x0:_0x38d9ec['customHeaders'])!=null&&_0x33ec19[_0x543803(0x18e)]&&_0x415d87[_0x543803(0x26c)](_0x543803(0x1e1),_0x38d9ec[_0x543803(0x1be)][_0x543803(0x18e)]),_0x532bf3(_0x366386);}});}async['createSocket'](_0x37489b){return this['_doCreateSocket'](_0x37489b);}},exports[_0x561b8e(0x203)]=Xt([ne(0x0,A[_0x561b8e(0x284)](A[_0x561b8e(0x166)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x561b8e(0x1f3)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x561b8e(0x13c)])],exports['NodeCollaborationSocketService']),exports[_0x561b8e(0x198)]=fe;
|
|
1
|
+
'use strict';const _0x56ab5b=_0x9265;(function(_0x1c552f,_0xae387c){const _0x29302b=_0x9265,_0x306e5e=_0x1c552f();while(!![]){try{const _0x2e513a=parseInt(_0x29302b(0x2b5))/0x1*(-parseInt(_0x29302b(0x24e))/0x2)+-parseInt(_0x29302b(0x1fc))/0x3+parseInt(_0x29302b(0x199))/0x4*(-parseInt(_0x29302b(0x20f))/0x5)+parseInt(_0x29302b(0x2c7))/0x6+-parseInt(_0x29302b(0x26b))/0x7*(parseInt(_0x29302b(0x1ea))/0x8)+-parseInt(_0x29302b(0x285))/0x9*(-parseInt(_0x29302b(0x252))/0xa)+parseInt(_0x29302b(0x1d9))/0xb;if(_0x2e513a===_0xae387c)break;else _0x306e5e['push'](_0x306e5e['shift']());}catch(_0x357524){_0x306e5e['push'](_0x306e5e['shift']());}}}(_0x5637,0x9361e));Object[_0x56ab5b(0x209)](exports,Symbol['toStringTag'],{'value':_0x56ab5b(0x20b)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x56ab5b(0x1cc),Ct={'customHeaders':{}};function Tt(_0x42ff84){const _0x40b8dc=_0x56ab5b;return _0x42ff84&&_0x42ff84[_0x40b8dc(0x16f)]&&Object[_0x40b8dc(0x167)][_0x40b8dc(0x131)][_0x40b8dc(0x2e8)](_0x42ff84,'default')?_0x42ff84[_0x40b8dc(0x12e)]:_0x42ff84;}function at(_0x3c5c97){const _0x35be44=_0x56ab5b;if(Object['prototype'][_0x35be44(0x131)][_0x35be44(0x2e8)](_0x3c5c97,_0x35be44(0x16f)))return _0x3c5c97;var _0x50548d=_0x3c5c97[_0x35be44(0x12e)];if(typeof _0x50548d=='function'){var _0x4e7426=function _0x54cd05(){const _0x196f43=_0x35be44;var _0x31a355=!0x1;try{_0x31a355=this instanceof _0x54cd05;}catch{}return _0x31a355?Reflect[_0x196f43(0x244)](_0x50548d,arguments,this['constructor']):_0x50548d[_0x196f43(0x258)](this,arguments);};_0x4e7426[_0x35be44(0x167)]=_0x50548d[_0x35be44(0x167)];}else _0x4e7426={};return Object[_0x35be44(0x209)](_0x4e7426,_0x35be44(0x16f),{'value':!0x0}),Object[_0x35be44(0x164)](_0x3c5c97)[_0x35be44(0x2ad)](function(_0x76d224){const _0x179f75=_0x35be44;var _0x1cea52=Object[_0x179f75(0x1af)](_0x3c5c97,_0x76d224);Object[_0x179f75(0x209)](_0x4e7426,_0x76d224,_0x1cea52[_0x179f75(0x1ff)]?_0x1cea52:{'enumerable':!0x0,'get':function(){return _0x3c5c97[_0x76d224];}});}),_0x4e7426;}var se={'exports':{}},ge,Ge;function H(){const _0x49b3e2=_0x56ab5b;if(Ge)return ge;Ge=0x1;const _0x4209ff=['nodebuffer',_0x49b3e2(0x168),'fragments'],_0x5cdae3=typeof Blob<'u';return _0x5cdae3&&_0x4209ff[_0x49b3e2(0x2e1)](_0x49b3e2(0x240)),ge={'BINARY_TYPES':_0x4209ff,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x49b3e2(0x233),'hasBlob':_0x5cdae3,'kForOnEventAttribute':Symbol(_0x49b3e2(0x26a)),'kListener':Symbol(_0x49b3e2(0x161)),'kStatusCode':Symbol(_0x49b3e2(0x17f)),'kWebSocket':Symbol(_0x49b3e2(0x2e4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x56ab5b(0x2c9)](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Nt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Lt=at(kt);var Ve;function ce(){const _0x18c1fc=_0x56ab5b;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x4343bb}=H(),_0x574a1f=Buffer[Symbol[_0x18c1fc(0x268)]];function _0x56b3e6(_0x535dd2,_0x3751ee){const _0x4cd118=_0x18c1fc;if(_0x535dd2[_0x4cd118(0x12b)]===0x0)return _0x4343bb;if(_0x535dd2[_0x4cd118(0x12b)]===0x1)return _0x535dd2[0x0];const _0x191853=Buffer['allocUnsafe'](_0x3751ee);let _0x579184=0x0;for(let _0x5c87fc=0x0;_0x5c87fc<_0x535dd2[_0x4cd118(0x12b)];_0x5c87fc++){const _0x5cbb97=_0x535dd2[_0x5c87fc];_0x191853[_0x4cd118(0x1bf)](_0x5cbb97,_0x579184),_0x579184+=_0x5cbb97[_0x4cd118(0x12b)];}return _0x579184<_0x3751ee?new _0x574a1f(_0x191853[_0x4cd118(0x166)],_0x191853[_0x4cd118(0x1b1)],_0x579184):_0x191853;}function _0x29f89d(_0x223c13,_0x24bee6,_0xc0fd96,_0x37d308,_0x5bf8d6){for(let _0x2d6c97=0x0;_0x2d6c97<_0x5bf8d6;_0x2d6c97++)_0xc0fd96[_0x37d308+_0x2d6c97]=_0x223c13[_0x2d6c97]^_0x24bee6[_0x2d6c97&0x3];}function _0x47c8b9(_0x12882f,_0x2e3165){const _0x38d664=_0x18c1fc;for(let _0xb2a1cc=0x0;_0xb2a1cc<_0x12882f[_0x38d664(0x12b)];_0xb2a1cc++)_0x12882f[_0xb2a1cc]^=_0x2e3165[_0xb2a1cc&0x3];}function _0xf6f68c(_0x58e2c1){const _0x59a5b2=_0x18c1fc;return _0x58e2c1['length']===_0x58e2c1[_0x59a5b2(0x166)][_0x59a5b2(0x2d6)]?_0x58e2c1[_0x59a5b2(0x166)]:_0x58e2c1['buffer'][_0x59a5b2(0x215)](_0x58e2c1[_0x59a5b2(0x1b1)],_0x58e2c1[_0x59a5b2(0x1b1)]+_0x58e2c1[_0x59a5b2(0x12b)]);}function _0x1c2877(_0x1ef7e1){const _0x1d2543=_0x18c1fc;if(_0x1c2877[_0x1d2543(0x191)]=!0x0,Buffer[_0x1d2543(0x250)](_0x1ef7e1))return _0x1ef7e1;let _0x3e5f84;return _0x1ef7e1 instanceof ArrayBuffer?_0x3e5f84=new _0x574a1f(_0x1ef7e1):ArrayBuffer[_0x1d2543(0x25b)](_0x1ef7e1)?_0x3e5f84=new _0x574a1f(_0x1ef7e1['buffer'],_0x1ef7e1['byteOffset'],_0x1ef7e1[_0x1d2543(0x2d6)]):(_0x3e5f84=Buffer['from'](_0x1ef7e1),_0x1c2877['readOnly']=!0x1),_0x3e5f84;}if(se['exports']={'concat':_0x56b3e6,'mask':_0x29f89d,'toArrayBuffer':_0xf6f68c,'toBuffer':_0x1c2877,'unmask':_0x47c8b9},!process[_0x18c1fc(0x28f)]['WS_NO_BUFFER_UTIL'])try{const _0x48d407=Lt;se[_0x18c1fc(0x257)]['mask']=function(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e){const _0x12051c=_0x18c1fc;_0x14750e<0x30?_0x29f89d(_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e):_0x48d407[_0x12051c(0x1fb)](_0x52d39c,_0x621dd,_0x3af838,_0x307a04,_0x14750e);},se['exports']['unmask']=function(_0x325065,_0x2f9164){const _0x442b8c=_0x18c1fc;_0x325065[_0x442b8c(0x12b)]<0x20?_0x47c8b9(_0x325065,_0x2f9164):_0x48d407[_0x442b8c(0x25c)](_0x325065,_0x2f9164);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x2b7698=_0x56ab5b;if(He)return ye;He=0x1;const _0xc96d16=Symbol(_0x2b7698(0x253)),_0x64d702=Symbol(_0x2b7698(0x23c));class _0x184855{constructor(_0x3e20f0){const _0x10ab55=_0x2b7698;this[_0xc96d16]=()=>{const _0x58ade8=_0x9265;this[_0x58ade8(0x2b4)]--,this[_0x64d702]();},this['concurrency']=_0x3e20f0||0x1/0x0,this['jobs']=[],this[_0x10ab55(0x2b4)]=0x0;}['add'](_0x1c5035){const _0x3576db=_0x2b7698;this[_0x3576db(0x21a)]['push'](_0x1c5035),this[_0x64d702]();}[_0x64d702](){const _0x2967e0=_0x2b7698;if(this[_0x2967e0(0x2b4)]!==this[_0x2967e0(0x2f1)]&&this[_0x2967e0(0x21a)][_0x2967e0(0x12b)]){const _0x3fd293=this['jobs'][_0x2967e0(0x277)]();this[_0x2967e0(0x2b4)]++,_0x3fd293(this[_0xc96d16]);}}}return ye=_0x184855,ye;}function _0x5637(){const _0x14f95d=['https:','hostname','collaboration-client-node.config','fin','socketPath','read','setConfig','onclose','writeUInt16BE','object','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','toLowerCase','kType','text/html','from','29115174MlXpio','_fin','followRedirects','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','writeHead','flush','pipe','charCodeAt','dispose','reset','dataMessage','WS_ERR_INVALID_UTF8','replace','_readyState','join','removeEventListener','haveLength','1020384DmcSln','Invalid\x20HTTP\x20method','listenerCount','WebSocket\x20is\x20not\x20open:\x20readyState\x20','callback','kReason','CollaborationSocketService','Sec-WebSocket-Extensions:\x20','toDisposable','kAborted','_injector','Unexpected\x20end\x20of\x20input','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','UniverCollaborationClientNodePlugin','base64','authorization','WS_ERR_UNEXPECTED_RSV_1','mask','3156138FFAekk','allowSynchronousEvents','Injector','get','listen','setNoDelay','Sec-WebSocket-Origin','getData','destroy','http:','stream','_opcode','nextTick','defineProperty','digest','Module','clients','Parameter\x20\x22','target','10tHrUWi','_httpService','_url','_inflate','end','_readableState','slice','removeAllListeners','parse','verifyClient','_state','jobs','redirect','toString','clientMaxWindowBits','captureStackTrace','_closeMessage','removeListener','Sec-WebSocket-Extensions','Plugin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','STATUS_CODES','Sec-WebSocket-Protocol','COLLABORATION_CLIENT_NODE_CONFIG_KEY','pause','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_shouldEmitClose','_registerDependencies','writeUIntBE','Opening\x20handshake\x20has\x20timed\x20out','_totalPayloadLength','emit','WebSocket','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','includes','warn','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','sec-websocket-origin','_server','Invalid\x20WebSocket\x20frame:\x20','address','Sec-WebSocket-Protocol:\x20','listening','invalid\x20opcode\x200','The\x20\x22','kRun','_deflate','isInteger','function','blob','once','options','_binaryType','construct','getMask','unshift','generateMask','_writableState','write','headers','_buffers','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setTimeout','2010eRkZQN','enqueue','isBuffer','values','5238620lxNLUl','kDone','client_max_window_bits','Maximum\x20redirects\x20exceeded','origin','exports','apply','getConfig','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isView','unmask','params','decompress','_masked','server_max_window_bits','pow','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','handshakeTimeout','close','href','_req','shouldHandle','species','getInfo','kIsForOnEventAttribute','56yBfOJq','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','onStarting','The\x20URL\x27s\x20protocol\x20must\x20be\x20one\x20of\x20\x22ws:\x22,\x20\x22wss:\x22,\x20\x22http:\x22,\x20\x22https:\x22,\x20or\x20\x22ws+unix:\x22','onmessage','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','wsClientError','setSocket','_decompress','_read','protocolVersion','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','shift','\x22:\x20','Inject','_max_window_bits','Z_SYNC_FLUSH','binaryType','dispatch','sec-websocket-protocol','message','_closeTimer','delete','startLoop','FIN\x20must\x20be\x20set','bind','18JzupIp','drain','abort','emitClose','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','type','_payloadLength','createConnection','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','env','open','_skipUTF8Validation','number','Invalid\x20Sec-WebSocket-Accept\x20header','_firstFragment','_compress','Origin','Upgrade:\x20websocket','finished','_paused','_fragments','normalizeParams','_originalSecure','_closeFrameSent','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_destroy','_bufferedBytes','_sender','endEmitted','client','conclude','maxRedirects','clientNoContextTakeover','has','IConfigService','noServer','cork','onerror','OPEN','forEach','Observable','_generateMask','path','Server\x20sent\x20an\x20invalid\x20subprotocol','sendFrame','Unsupported\x20protocol\x20version:\x20','pending','839XrRdgB','consume','alloc','_originalIpc','servername','createInflateRaw','unexpected-response','kError','WS_NO_UTF_8_VALIDATE','permessage-deflate','_messageLength','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readable','Connection:\x20Upgrade','sec-websocket-key','_maskBuffer','handleEvent','finish','3509178FeIrNY','_extensions','freeze','invalid\x20status\x20code\x20','handleUpgrade','sec-websocket-accept','WS_ERR_EXPECTED_FIN','_configService','data','Unexpected\x20character\x20at\x20index\x20','sha1','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','serverMaxWindowBits','maxPayload','extensionName','byteLength','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','createSocket','_originalHostOrSocketPath','add','zlibDeflateOptions','_options','readyState','_receiver','_errorEmitted','upgrade','push','Invalid\x20Sec-WebSocket-Extensions\x20header','_socket','websocket','_fragmented','_closeFrameReceived','completeUpgrade','call','arrayBuffer','map','controlMessage','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','split','_closeCode','addEventListener','Cookie','concurrency','accept','connect','Z_DEFAULT_WINDOWBITS','createError','_threshold','length','request','acceptAsServer','default','readUInt16BE','WS_ERR_UNEXPECTED_RSV_2_3','hasOwnProperty','RSV1\x20must\x20be\x20clear','GET','auth','buffers','pong','port','allocUnsafe','authorized','objectMode','cookie','ws+unix:','_isServer','getBlobData','reason','test','readUInt32BE','_errored','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','finishRequest','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','destroyed','client_no_context_takeover','statusCode','dequeue','host','threshold','concurrencyLimit','customHeaders','perMessageDeflate','resume','_redirects','isArray','_allowSynchronousEvents','Disposable','server_no_context_takeover','isValidUTF8','server','nodebuffer','setHeader','kByteLength','error','listeners','bufferedAmount','backlog','text/plain','username','next','kListener','encrypted','kWasClean','keys','location','buffer','prototype','arraybuffer','DependentOn','ws:','createServer','\x20(supported\x20versions:\x20','wasClean','\x22\x20subprotocol\x20is\x20duplicated','__esModule','sec-websocket-extensions','MASK\x20must\x20be\x20set','CONNECTING','NodeCollaborationSocketService','opcode','\x0d\x0a\x0d\x0a','handleProtocols','isPaused','total-length','zlibInflateOptions','create','serverNoContextTakeover','format','_autoPong','errorEmitted','status-code','compress','ping','timeout','Max\x20payload\x20size\x20exceeded','WS_ERR_EXPECTED_MASK','The\x20URL\x27s\x20pathname\x20is\x20empty','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getPayloadLength16','extensions','CLOSING','_no_context_takeover','value','code','wss:','kTarget','connection','update','readOnly','socket','skipUTF8Validation','ILogService','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','string','ISocketService','find','1520236sKrZEr','Unexpected\x20server\x20response:\x20','acceptAsClient','concat','indexOf','_final','Invalid\x20Upgrade\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','13,\x208','pluginName','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20URL:\x20','size','protocol','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','getPayloadLength64','_mask','_protocol','CLOSED','maskBuffer','frame','_maxPayload','getOwnPropertyDescriptor','invalid\x20UTF-8\x20sequence','byteOffset','clientTracking','offer','password','_queue','terminate','startsWith','toStringTag','_compressed','pathname','_removeListeners','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_ERR_INVALID_OPCODE','writable','set','url','share','registerDependencies','cleanup','send','_loop','method','autoPong','_write','\x22\x20must\x20have\x20only\x20a\x20single\x20value'];_0x5637=function(){return _0x14f95d;};return _0x5637();}var ve,ze;function he(){const _0x683d71=_0x56ab5b;if(ze)return ve;ze=0x1;const _0x2b79f5=bt,_0x2860b8=ce(),_0x4e6c98=Pt(),{kStatusCode:_0x52ad40}=H(),_0x34372c=Buffer[Symbol[_0x683d71(0x268)]],_0x571c01=Buffer['from']([0x0,0x0,0xff,0xff]),_0x417215=Symbol(_0x683d71(0x2be)),_0x3bea6f=Symbol(_0x683d71(0x178)),_0x11297c=Symbol(_0x683d71(0x1ee)),_0x3b25eb=Symbol(_0x683d71(0x135)),_0x2a370c=Symbol(_0x683d71(0x15a));let _0x1ccc6a;class _0x4c626c{constructor(_0x4eb424,_0x2a8d76,_0x2a4856){const _0x2fd447=_0x683d71;if(this[_0x2fd447(0x1ae)]=_0x2a4856|0x0,this[_0x2fd447(0x2dc)]=_0x4eb424||{},this[_0x2fd447(0x12a)]=this['_options'][_0x2fd447(0x14b)]!==void 0x0?this[_0x2fd447(0x2dc)]['threshold']:0x400,this[_0x2fd447(0x13d)]=!!_0x2a8d76,this[_0x2fd447(0x23d)]=null,this[_0x2fd447(0x212)]=null,this[_0x2fd447(0x25d)]=null,!_0x1ccc6a){const _0x27067e=this[_0x2fd447(0x2dc)][_0x2fd447(0x14c)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x1ccc6a=new _0x4e6c98(_0x27067e);}}static get[_0x683d71(0x2d5)](){const _0x2d236c=_0x683d71;return _0x2d236c(0x2be);}[_0x683d71(0x1b3)](){const _0xc48c25=_0x683d71,_0x447a23={};return this[_0xc48c25(0x2dc)][_0xc48c25(0x17b)]&&(_0x447a23[_0xc48c25(0x154)]=!0x0),this[_0xc48c25(0x2dc)]['clientNoContextTakeover']&&(_0x447a23[_0xc48c25(0x147)]=!0x0),this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]&&(_0x447a23[_0xc48c25(0x260)]=this[_0xc48c25(0x2dc)][_0xc48c25(0x2d3)]),this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]?_0x447a23['client_max_window_bits']=this[_0xc48c25(0x2dc)][_0xc48c25(0x21d)]:this['_options'][_0xc48c25(0x21d)]==null&&(_0x447a23[_0xc48c25(0x254)]=!0x0),_0x447a23;}['accept'](_0x13d4f9){const _0x519176=_0x683d71;return _0x13d4f9=this[_0x519176(0x29b)](_0x13d4f9),this[_0x519176(0x25d)]=this[_0x519176(0x13d)]?this['acceptAsServer'](_0x13d4f9):this[_0x519176(0x19b)](_0x13d4f9),this[_0x519176(0x25d)];}['cleanup'](){const _0x4e6d04=_0x683d71;if(this[_0x4e6d04(0x212)]&&(this[_0x4e6d04(0x212)][_0x4e6d04(0x264)](),this['_inflate']=null),this[_0x4e6d04(0x23d)]){const _0x469fc1=this[_0x4e6d04(0x23d)][_0x11297c];this[_0x4e6d04(0x23d)][_0x4e6d04(0x264)](),this['_deflate']=null,_0x469fc1&&_0x469fc1(new Error(_0x4e6d04(0x289)));}}[_0x683d71(0x12d)](_0x1f7b99){const _0x2a313e=_0x683d71,_0x31275f=this['_options'],_0x461272=_0x1f7b99[_0x2a313e(0x198)](_0x13718d=>!(_0x31275f[_0x2a313e(0x17b)]===!0x1&&_0x13718d['server_no_context_takeover']||_0x13718d[_0x2a313e(0x260)]&&(_0x31275f[_0x2a313e(0x2d3)]===!0x1||typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&_0x31275f[_0x2a313e(0x2d3)]>_0x13718d[_0x2a313e(0x260)])||typeof _0x31275f['clientMaxWindowBits']=='number'&&!_0x13718d['client_max_window_bits']));if(!_0x461272)throw new Error(_0x2a313e(0x186));return _0x31275f[_0x2a313e(0x17b)]&&(_0x461272[_0x2a313e(0x154)]=!0x0),_0x31275f[_0x2a313e(0x2a6)]&&(_0x461272[_0x2a313e(0x147)]=!0x0),typeof _0x31275f[_0x2a313e(0x2d3)]==_0x2a313e(0x292)&&(_0x461272['server_max_window_bits']=_0x31275f[_0x2a313e(0x2d3)]),typeof _0x31275f[_0x2a313e(0x21d)]=='number'?_0x461272['client_max_window_bits']=_0x31275f[_0x2a313e(0x21d)]:(_0x461272['client_max_window_bits']===!0x0||_0x31275f[_0x2a313e(0x21d)]===!0x1)&&delete _0x461272[_0x2a313e(0x254)],_0x461272;}['acceptAsClient'](_0x14cf69){const _0x7554e3=_0x683d71,_0x2dcc36=_0x14cf69[0x0];if(this[_0x7554e3(0x2dc)][_0x7554e3(0x2a6)]===!0x1&&_0x2dcc36['client_no_context_takeover'])throw new Error(_0x7554e3(0x1f6));if(!_0x2dcc36[_0x7554e3(0x254)])typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]==_0x7554e3(0x292)&&(_0x2dcc36['client_max_window_bits']=this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]);else{if(this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]===!0x1||typeof this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)]=='number'&&_0x2dcc36[_0x7554e3(0x254)]>this[_0x7554e3(0x2dc)][_0x7554e3(0x21d)])throw new Error(_0x7554e3(0x2c0));}return _0x2dcc36;}[_0x683d71(0x29b)](_0x54f03e){const _0x5446b3=_0x683d71;return _0x54f03e[_0x5446b3(0x2ad)](_0x4ba232=>{const _0xd340fd=_0x5446b3;Object[_0xd340fd(0x164)](_0x4ba232)['forEach'](_0xbdb3ee=>{const _0x3c39a2=_0xd340fd;let _0x5db221=_0x4ba232[_0xbdb3ee];if(_0x5db221['length']>0x1)throw new Error(_0x3c39a2(0x20d)+_0xbdb3ee+_0x3c39a2(0x1c9));if(_0x5db221=_0x5db221[0x0],_0xbdb3ee===_0x3c39a2(0x254)){if(_0x5db221!==!0x0){const _0x3d43d4=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x3d43d4)||_0x3d43d4<0x8||_0x3d43d4>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);_0x5db221=_0x3d43d4;}else{if(!this['_isServer'])throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}}else{if(_0xbdb3ee==='server_max_window_bits'){const _0x43bb3a=+_0x5db221;if(!Number[_0x3c39a2(0x23e)](_0x43bb3a)||_0x43bb3a<0x8||_0x43bb3a>0xf)throw new TypeError(_0x3c39a2(0x28d)+_0xbdb3ee+'\x22:\x20'+_0x5db221);_0x5db221=_0x43bb3a;}else{if(_0xbdb3ee===_0x3c39a2(0x147)||_0xbdb3ee===_0x3c39a2(0x154)){if(_0x5db221!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xbdb3ee+_0x3c39a2(0x278)+_0x5db221);}else throw new Error('Unknown\x20parameter\x20\x22'+_0xbdb3ee+'\x22');}}_0x4ba232[_0xbdb3ee]=_0x5db221;});}),_0x54f03e;}[_0x683d71(0x25e)](_0xfa03d3,_0xee541f,_0x4e8484){const _0x4009cb=_0x683d71;_0x1ccc6a[_0x4009cb(0x2da)](_0x59da97=>{this['_decompress'](_0xfa03d3,_0xee541f,(_0x463860,_0x2ecac5)=>{_0x59da97(),_0x4e8484(_0x463860,_0x2ecac5);});});}[_0x683d71(0x180)](_0x284a92,_0x49c587,_0x570087){const _0x4c876b=_0x683d71;_0x1ccc6a[_0x4c876b(0x2da)](_0x40f126=>{const _0x193e97=_0x4c876b;this[_0x193e97(0x295)](_0x284a92,_0x49c587,(_0x233177,_0x55c7a6)=>{_0x40f126(),_0x570087(_0x233177,_0x55c7a6);});});}[_0x683d71(0x273)](_0x1d5cea,_0x4ef169,_0x4c78ff){const _0x2d0d4b=_0x683d71,_0x463984=this[_0x2d0d4b(0x13d)]?_0x2d0d4b(0x2a3):_0x2d0d4b(0x156);if(!this[_0x2d0d4b(0x212)]){const _0x51b734=_0x463984+_0x2d0d4b(0x27a),_0x5deab8=typeof this[_0x2d0d4b(0x25d)][_0x51b734]!='number'?_0x2b79f5[_0x2d0d4b(0x128)]:this[_0x2d0d4b(0x25d)][_0x51b734];this[_0x2d0d4b(0x212)]=_0x2b79f5[_0x2d0d4b(0x2ba)]({...this['_options'][_0x2d0d4b(0x179)],'windowBits':_0x5deab8}),this[_0x2d0d4b(0x212)][_0x417215]=this,this[_0x2d0d4b(0x212)][_0x3bea6f]=0x0,this[_0x2d0d4b(0x212)][_0x3b25eb]=[],this['_inflate']['on'](_0x2d0d4b(0x15a),_0x130775),this[_0x2d0d4b(0x212)]['on'](_0x2d0d4b(0x2cf),_0x236aee);}this[_0x2d0d4b(0x212)][_0x11297c]=_0x4c78ff,this['_inflate'][_0x2d0d4b(0x249)](_0x1d5cea),_0x4ef169&&this[_0x2d0d4b(0x212)][_0x2d0d4b(0x249)](_0x571c01),this[_0x2d0d4b(0x212)][_0x2d0d4b(0x1de)](()=>{const _0x1b53ae=_0x2d0d4b,_0x22a2fb=this[_0x1b53ae(0x212)][_0x2a370c];if(_0x22a2fb){this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null,_0x4c78ff(_0x22a2fb);return;}const _0x1b07b9=_0x2860b8['concat'](this[_0x1b53ae(0x212)][_0x3b25eb],this[_0x1b53ae(0x212)][_0x3bea6f]);this[_0x1b53ae(0x212)][_0x1b53ae(0x214)][_0x1b53ae(0x2a2)]?(this[_0x1b53ae(0x212)]['close'](),this[_0x1b53ae(0x212)]=null):(this['_inflate'][_0x3bea6f]=0x0,this['_inflate'][_0x3b25eb]=[],_0x4ef169&&this[_0x1b53ae(0x25d)][_0x463984+_0x1b53ae(0x18a)]&&this[_0x1b53ae(0x212)]['reset']()),_0x4c78ff(null,_0x1b07b9);});}[_0x683d71(0x295)](_0x994612,_0xfac796,_0x36c8e8){const _0x2776a8=_0x683d71,_0xf9144c=this[_0x2776a8(0x13d)]?_0x2776a8(0x156):_0x2776a8(0x2a3);if(!this[_0x2776a8(0x23d)]){const _0x167046=_0xf9144c+_0x2776a8(0x27a),_0x36d5c0=typeof this[_0x2776a8(0x25d)][_0x167046]!=_0x2776a8(0x292)?_0x2b79f5[_0x2776a8(0x128)]:this['params'][_0x167046];this[_0x2776a8(0x23d)]=_0x2b79f5['createDeflateRaw']({...this[_0x2776a8(0x2dc)][_0x2776a8(0x2db)],'windowBits':_0x36d5c0}),this[_0x2776a8(0x23d)][_0x3bea6f]=0x0,this[_0x2776a8(0x23d)][_0x3b25eb]=[],this[_0x2776a8(0x23d)]['on']('data',_0x1d5cb4);}this['_deflate'][_0x11297c]=_0x36c8e8,this[_0x2776a8(0x23d)][_0x2776a8(0x249)](_0x994612),this[_0x2776a8(0x23d)][_0x2776a8(0x1de)](_0x2b79f5[_0x2776a8(0x27b)],()=>{const _0x5f7926=_0x2776a8;if(!this[_0x5f7926(0x23d)])return;let _0x35c551=_0x2860b8['concat'](this[_0x5f7926(0x23d)][_0x3b25eb],this['_deflate'][_0x3bea6f]);_0xfac796&&(_0x35c551=new _0x34372c(_0x35c551['buffer'],_0x35c551[_0x5f7926(0x1b1)],_0x35c551[_0x5f7926(0x12b)]-0x4)),this[_0x5f7926(0x23d)][_0x11297c]=null,this[_0x5f7926(0x23d)][_0x3bea6f]=0x0,this[_0x5f7926(0x23d)][_0x3b25eb]=[],_0xfac796&&this['params'][_0xf9144c+_0x5f7926(0x18a)]&&this[_0x5f7926(0x23d)][_0x5f7926(0x1e2)](),_0x36c8e8(null,_0x35c551);});}}ve=_0x4c626c;function _0x1d5cb4(_0x53df9a){const _0x5f4df3=_0x683d71;this[_0x3b25eb][_0x5f4df3(0x2e1)](_0x53df9a),this[_0x3bea6f]+=_0x53df9a[_0x5f4df3(0x12b)];}function _0x236aee(_0x1266b7){const _0x1e472e=_0x683d71;if(this[_0x3bea6f]+=_0x1266b7[_0x1e472e(0x12b)],this[_0x417215][_0x1e472e(0x1ae)]<0x1||this[_0x3bea6f]<=this[_0x417215]['_maxPayload']){this[_0x3b25eb][_0x1e472e(0x2e1)](_0x1266b7);return;}this[_0x2a370c]=new RangeError(_0x1e472e(0x183)),this[_0x2a370c][_0x1e472e(0x18c)]=_0x1e472e(0x145),this[_0x2a370c][_0x52ad40]=0x3f1,this[_0x1e472e(0x220)](_0x1e472e(0x2cf),_0x236aee),this[_0x1e472e(0x1e2)]();}function _0x130775(_0x146851){const _0x2768d5=_0x683d71;if(this[_0x417215][_0x2768d5(0x212)]=null,this[_0x2a370c]){this[_0x11297c](this[_0x2a370c]);return;}_0x146851[_0x52ad40]=0x3ef,this[_0x11297c](_0x146851);}return ve;}var ie={'exports':{}};function _0x9265(_0x41a19a,_0x1edcd2){const _0x563734=_0x5637();return _0x9265=function(_0x926500,_0xabeca9){_0x926500=_0x926500-0x128;let _0x136872=_0x563734[_0x926500];return _0x136872;},_0x9265(_0x41a19a,_0x1edcd2);}const Dt={},Rt=Object['freeze'](Object[_0x56ab5b(0x209)]({'__proto__':null,'default':Dt},Symbol[_0x56ab5b(0x1b8)],{'value':_0x56ab5b(0x20b)})),Bt=at(Rt);var Ye;function ae(){const _0x11cafe=_0x56ab5b;if(Ye)return ie[_0x11cafe(0x257)];Ye=0x1;const {isUtf8:_0x1f2023}=wt,{hasBlob:_0x2abb71}=H(),_0x5e5ac=[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 _0x3f9c48(_0x3dc6c7){return _0x3dc6c7>=0x3e8&&_0x3dc6c7<=0x3f6&&_0x3dc6c7!==0x3ec&&_0x3dc6c7!==0x3ed&&_0x3dc6c7!==0x3ee||_0x3dc6c7>=0xbb8&&_0x3dc6c7<=0x1387;}function _0x1cec25(_0x1fedd2){const _0x3588f7=_0x11cafe,_0x4ad27f=_0x1fedd2[_0x3588f7(0x12b)];let _0x21a4aa=0x0;for(;_0x21a4aa<_0x4ad27f;)if((_0x1fedd2[_0x21a4aa]&0x80)===0x0)_0x21a4aa++;else{if((_0x1fedd2[_0x21a4aa]&0xe0)===0xc0){if(_0x21a4aa+0x1===_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa]&0xfe)===0xc0)return!0x1;_0x21a4aa+=0x2;}else{if((_0x1fedd2[_0x21a4aa]&0xf0)===0xe0){if(_0x21a4aa+0x2>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xe0&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0x80||_0x1fedd2[_0x21a4aa]===0xed&&(_0x1fedd2[_0x21a4aa+0x1]&0xe0)===0xa0)return!0x1;_0x21a4aa+=0x3;}else{if((_0x1fedd2[_0x21a4aa]&0xf8)===0xf0){if(_0x21a4aa+0x3>=_0x4ad27f||(_0x1fedd2[_0x21a4aa+0x1]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x2]&0xc0)!==0x80||(_0x1fedd2[_0x21a4aa+0x3]&0xc0)!==0x80||_0x1fedd2[_0x21a4aa]===0xf0&&(_0x1fedd2[_0x21a4aa+0x1]&0xf0)===0x80||_0x1fedd2[_0x21a4aa]===0xf4&&_0x1fedd2[_0x21a4aa+0x1]>0x8f||_0x1fedd2[_0x21a4aa]>0xf4)return!0x1;_0x21a4aa+=0x4;}else return!0x1;}}}return!0x0;}function _0xe8c096(_0x547a37){const _0x1a3d82=_0x11cafe;return _0x2abb71&&typeof _0x547a37==_0x1a3d82(0x1d3)&&typeof _0x547a37['arrayBuffer']==_0x1a3d82(0x23f)&&typeof _0x547a37[_0x1a3d82(0x28a)]==_0x1a3d82(0x196)&&typeof _0x547a37[_0x1a3d82(0x206)]==_0x1a3d82(0x23f)&&(_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='Blob'||_0x547a37[Symbol[_0x1a3d82(0x1b8)]]==='File');}if(ie['exports']={'isBlob':_0xe8c096,'isValidStatusCode':_0x3f9c48,'isValidUTF8':_0x1cec25,'tokenChars':_0x5e5ac},_0x1f2023)ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x1a8f62){return _0x1a8f62['length']<0x18?_0x1cec25(_0x1a8f62):_0x1f2023(_0x1a8f62);};else{if(!process[_0x11cafe(0x28f)][_0x11cafe(0x2bd)])try{const _0x54275a=Bt;ie[_0x11cafe(0x257)][_0x11cafe(0x155)]=function(_0x28a651){const _0x210ec4=_0x11cafe;return _0x28a651[_0x210ec4(0x12b)]<0x20?_0x1cec25(_0x28a651):_0x54275a(_0x28a651);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x55416a=_0x56ab5b;if(Ke)return Se;Ke=0x1;const {Writable:_0x1c08c9}=oe,_0x1ccdf8=he(),{BINARY_TYPES:_0x43c238,EMPTY_BUFFER:_0xb68dd5,kStatusCode:_0x490de7,kWebSocket:_0x1c5dae}=H(),{concat:_0x87651,toArrayBuffer:_0x5accff,unmask:_0x28e211}=ce(),{isValidStatusCode:_0x28cb82,isValidUTF8:_0xa769db}=ae(),_0x5980e8=Buffer[Symbol[_0x55416a(0x268)]],_0x5d69f6=0x0,_0x50592c=0x1,_0x33b096=0x2,_0x46ce76=0x3,_0x39a725=0x4,_0x2ab5aa=0x5,_0x22278f=0x6;class _0x40e33b extends _0x1c08c9{constructor(_0x42a5e6={}){const _0x48d611=_0x55416a;super(),this[_0x48d611(0x152)]=_0x42a5e6[_0x48d611(0x1fd)]!==void 0x0?_0x42a5e6[_0x48d611(0x1fd)]:!0x0,this[_0x48d611(0x243)]=_0x42a5e6[_0x48d611(0x27c)]||_0x43c238[0x0],this[_0x48d611(0x2c8)]=_0x42a5e6[_0x48d611(0x188)]||{},this['_isServer']=!!_0x42a5e6[_0x48d611(0x28e)],this[_0x48d611(0x1ae)]=_0x42a5e6[_0x48d611(0x2d4)]|0x0,this['_skipUTF8Validation']=!!_0x42a5e6['skipUTF8Validation'],this[_0x1c5dae]=void 0x0,this[_0x48d611(0x2a0)]=0x0,this[_0x48d611(0x24b)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x48d611(0x1a9)]=void 0x0,this[_0x48d611(0x2e5)]=0x0,this['_masked']=!0x1,this[_0x48d611(0x1da)]=!0x1,this[_0x48d611(0x207)]=0x0,this['_totalPayloadLength']=0x0,this[_0x48d611(0x2bf)]=0x0,this[_0x48d611(0x29a)]=[],this['_errored']=!0x1,this[_0x48d611(0x1c5)]=!0x1,this[_0x48d611(0x219)]=_0x5d69f6;}[_0x55416a(0x1c8)](_0x118e3a,_0x156e9a,_0xebc92d){const _0x28e33e=_0x55416a;if(this[_0x28e33e(0x207)]===0x8&&this['_state']==_0x5d69f6)return _0xebc92d();this[_0x28e33e(0x2a0)]+=_0x118e3a['length'],this['_buffers']['push'](_0x118e3a),this[_0x28e33e(0x282)](_0xebc92d);}[_0x55416a(0x2b6)](_0x54f1f8){const _0x389a75=_0x55416a;if(this[_0x389a75(0x2a0)]-=_0x54f1f8,_0x54f1f8===this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)])return this['_buffers'][_0x389a75(0x277)]();if(_0x54f1f8<this[_0x389a75(0x24b)][0x0][_0x389a75(0x12b)]){const _0x4a6e79=this[_0x389a75(0x24b)][0x0];return this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)]+_0x54f1f8,_0x4a6e79[_0x389a75(0x12b)]-_0x54f1f8),new _0x5980e8(_0x4a6e79[_0x389a75(0x166)],_0x4a6e79[_0x389a75(0x1b1)],_0x54f1f8);}const _0x59c091=Buffer['allocUnsafe'](_0x54f1f8);do{const _0x2bb3f7=this[_0x389a75(0x24b)][0x0],_0x309ec0=_0x59c091[_0x389a75(0x12b)]-_0x54f1f8;_0x54f1f8>=_0x2bb3f7[_0x389a75(0x12b)]?_0x59c091[_0x389a75(0x1bf)](this['_buffers'][_0x389a75(0x277)](),_0x309ec0):(_0x59c091[_0x389a75(0x1bf)](new Uint8Array(_0x2bb3f7['buffer'],_0x2bb3f7[_0x389a75(0x1b1)],_0x54f1f8),_0x309ec0),this[_0x389a75(0x24b)][0x0]=new _0x5980e8(_0x2bb3f7[_0x389a75(0x166)],_0x2bb3f7[_0x389a75(0x1b1)]+_0x54f1f8,_0x2bb3f7[_0x389a75(0x12b)]-_0x54f1f8)),_0x54f1f8-=_0x2bb3f7[_0x389a75(0x12b)];}while(_0x54f1f8>0x0);return _0x59c091;}[_0x55416a(0x282)](_0x11e237){const _0x229e93=_0x55416a;this[_0x229e93(0x1c5)]=!0x0;do switch(this[_0x229e93(0x219)]){case _0x5d69f6:this[_0x229e93(0x269)](_0x11e237);break;case _0x50592c:this[_0x229e93(0x187)](_0x11e237);break;case _0x33b096:this[_0x229e93(0x1a8)](_0x11e237);break;case _0x46ce76:this[_0x229e93(0x245)]();break;case _0x39a725:this[_0x229e93(0x203)](_0x11e237);break;case _0x2ab5aa:case _0x22278f:this[_0x229e93(0x1c5)]=!0x1;return;}while(this[_0x229e93(0x1c5)]);this['_errored']||_0x11e237();}[_0x55416a(0x269)](_0xa0e5bf){const _0x2358a3=_0x55416a;if(this[_0x2358a3(0x2a0)]<0x2){this[_0x2358a3(0x1c5)]=!0x1;return;}const _0x4c5ab3=this[_0x2358a3(0x2b6)](0x2);if((_0x4c5ab3[0x0]&0x30)!==0x0){const _0x25ba97=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x130));_0xa0e5bf(_0x25ba97);return;}const _0xbf9184=(_0x4c5ab3[0x0]&0x40)===0x40;if(_0xbf9184&&!this[_0x2358a3(0x2c8)][_0x1ccdf8[_0x2358a3(0x2d5)]]){const _0x37f8d4=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x37f8d4);return;}if(this[_0x2358a3(0x1da)]=(_0x4c5ab3[0x0]&0x80)===0x80,this[_0x2358a3(0x207)]=_0x4c5ab3[0x0]&0xf,this['_payloadLength']=_0x4c5ab3[0x1]&0x7f,this[_0x2358a3(0x207)]===0x0){if(_0xbf9184){const _0x455166=this[_0x2358a3(0x129)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x2358a3(0x1fa));_0xa0e5bf(_0x455166);return;}if(!this[_0x2358a3(0x2e5)]){const _0x452e37=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x23a),!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x452e37);return;}this[_0x2358a3(0x207)]=this['_fragmented'];}else{if(this[_0x2358a3(0x207)]===0x1||this[_0x2358a3(0x207)]===0x2){if(this[_0x2358a3(0x2e5)]){const _0x477720=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this[_0x2358a3(0x207)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa0e5bf(_0x477720);return;}this[_0x2358a3(0x1b9)]=_0xbf9184;}else{if(this['_opcode']>0x7&&this[_0x2358a3(0x207)]<0xb){if(!this[_0x2358a3(0x1da)]){const _0x436a8f=this['createError'](RangeError,_0x2358a3(0x283),!0x0,0x3ea,_0x2358a3(0x2cd));_0xa0e5bf(_0x436a8f);return;}if(_0xbf9184){const _0x329cd9=this[_0x2358a3(0x129)](RangeError,_0x2358a3(0x132),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa0e5bf(_0x329cd9);return;}if(this[_0x2358a3(0x28b)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x275367=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,_0x2358a3(0x29e));_0xa0e5bf(_0x275367);return;}}else{const _0x25a90d=this[_0x2358a3(0x129)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x2358a3(0x1bd));_0xa0e5bf(_0x25a90d);return;}}}if(!this[_0x2358a3(0x1da)]&&!this['_fragmented']&&(this[_0x2358a3(0x2e5)]=this[_0x2358a3(0x207)]),this['_masked']=(_0x4c5ab3[0x1]&0x80)===0x80,this[_0x2358a3(0x13d)]){if(!this['_masked']){const _0x13990b=this['createError'](RangeError,_0x2358a3(0x171),!0x0,0x3ea,_0x2358a3(0x184));_0xa0e5bf(_0x13990b);return;}}else{if(this[_0x2358a3(0x25f)]){const _0x5466c0=this[_0x2358a3(0x129)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xa0e5bf(_0x5466c0);return;}}this[_0x2358a3(0x28b)]===0x7e?this[_0x2358a3(0x219)]=_0x50592c:this[_0x2358a3(0x28b)]===0x7f?this[_0x2358a3(0x219)]=_0x33b096:this[_0x2358a3(0x1e9)](_0xa0e5bf);}[_0x55416a(0x187)](_0xb7f179){const _0x3293b6=_0x55416a;if(this[_0x3293b6(0x2a0)]<0x2){this['_loop']=!0x1;return;}this[_0x3293b6(0x28b)]=this[_0x3293b6(0x2b6)](0x2)[_0x3293b6(0x12f)](0x0),this[_0x3293b6(0x1e9)](_0xb7f179);}[_0x55416a(0x1a8)](_0x3fdb40){const _0x42b529=_0x55416a;if(this[_0x42b529(0x2a0)]<0x8){this[_0x42b529(0x1c5)]=!0x1;return;}const _0xf3b748=this['consume'](0x8),_0x4e112d=_0xf3b748[_0x42b529(0x141)](0x0);if(_0x4e112d>Math['pow'](0x2,0x15)-0x1){const _0x4dc53a=this[_0x42b529(0x129)](RangeError,_0x42b529(0x1dc),!0x1,0x3f1,_0x42b529(0x262));_0x3fdb40(_0x4dc53a);return;}this['_payloadLength']=_0x4e112d*Math[_0x42b529(0x261)](0x2,0x20)+_0xf3b748[_0x42b529(0x141)](0x4),this[_0x42b529(0x1e9)](_0x3fdb40);}[_0x55416a(0x1e9)](_0x184382){const _0x376b7e=_0x55416a;if(this[_0x376b7e(0x28b)]&&this[_0x376b7e(0x207)]<0x8&&(this[_0x376b7e(0x22d)]+=this[_0x376b7e(0x28b)],this[_0x376b7e(0x22d)]>this[_0x376b7e(0x1ae)]&&this[_0x376b7e(0x1ae)]>0x0)){const _0x35ae85=this[_0x376b7e(0x129)](RangeError,_0x376b7e(0x183),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x184382(_0x35ae85);return;}this[_0x376b7e(0x25f)]?this[_0x376b7e(0x219)]=_0x46ce76:this[_0x376b7e(0x219)]=_0x39a725;}[_0x55416a(0x245)](){const _0x61bd6d=_0x55416a;if(this[_0x61bd6d(0x2a0)]<0x4){this['_loop']=!0x1;return;}this[_0x61bd6d(0x1a9)]=this['consume'](0x4),this[_0x61bd6d(0x219)]=_0x39a725;}['getData'](_0x285b24){const _0x5c0021=_0x55416a;let _0x5441d5=_0xb68dd5;if(this[_0x5c0021(0x28b)]){if(this[_0x5c0021(0x2a0)]<this['_payloadLength']){this[_0x5c0021(0x1c5)]=!0x1;return;}_0x5441d5=this[_0x5c0021(0x2b6)](this[_0x5c0021(0x28b)]),this[_0x5c0021(0x25f)]&&(this['_mask'][0x0]|this[_0x5c0021(0x1a9)][0x1]|this[_0x5c0021(0x1a9)][0x2]|this['_mask'][0x3])!==0x0&&_0x28e211(_0x5441d5,this[_0x5c0021(0x1a9)]);}if(this[_0x5c0021(0x207)]>0x7){this[_0x5c0021(0x2eb)](_0x5441d5,_0x285b24);return;}if(this[_0x5c0021(0x1b9)]){this[_0x5c0021(0x219)]=_0x2ab5aa,this[_0x5c0021(0x25e)](_0x5441d5,_0x285b24);return;}_0x5441d5[_0x5c0021(0x12b)]&&(this[_0x5c0021(0x2bf)]=this[_0x5c0021(0x22d)],this['_fragments'][_0x5c0021(0x2e1)](_0x5441d5)),this[_0x5c0021(0x1e3)](_0x285b24);}[_0x55416a(0x25e)](_0x3555ec,_0x759a0c){const _0x543c35=_0x55416a;this['_extensions'][_0x1ccdf8[_0x543c35(0x2d5)]][_0x543c35(0x25e)](_0x3555ec,this['_fin'],(_0x415dde,_0x32a912)=>{const _0x1b5edc=_0x543c35;if(_0x415dde)return _0x759a0c(_0x415dde);if(_0x32a912[_0x1b5edc(0x12b)]){if(this[_0x1b5edc(0x2bf)]+=_0x32a912['length'],this[_0x1b5edc(0x2bf)]>this[_0x1b5edc(0x1ae)]&&this[_0x1b5edc(0x1ae)]>0x0){const _0x22d66b=this['createError'](RangeError,_0x1b5edc(0x183),!0x1,0x3f1,_0x1b5edc(0x145));_0x759a0c(_0x22d66b);return;}this[_0x1b5edc(0x29a)]['push'](_0x32a912);}this['dataMessage'](_0x759a0c),this['_state']===_0x5d69f6&&this[_0x1b5edc(0x282)](_0x759a0c);});}[_0x55416a(0x1e3)](_0x25954a){const _0x457f73=_0x55416a;if(!this['_fin']){this[_0x457f73(0x219)]=_0x5d69f6;return;}const _0x5dc9d8=this[_0x457f73(0x2bf)],_0x4f8fab=this['_fragments'];if(this[_0x457f73(0x22d)]=0x0,this['_messageLength']=0x0,this[_0x457f73(0x2e5)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x557a86;this['_binaryType']===_0x457f73(0x157)?_0x557a86=_0x87651(_0x4f8fab,_0x5dc9d8):this[_0x457f73(0x243)]==='arraybuffer'?_0x557a86=_0x5accff(_0x87651(_0x4f8fab,_0x5dc9d8)):this[_0x457f73(0x243)]===_0x457f73(0x240)?_0x557a86=new Blob(_0x4f8fab):_0x557a86=_0x4f8fab,this['_allowSynchronousEvents']?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x557a86,!0x0),this[_0x457f73(0x219)]=_0x5d69f6):(this['_state']=_0x22278f,setImmediate(()=>{const _0x5a7f26=_0x457f73;this[_0x5a7f26(0x22e)](_0x5a7f26(0x27f),_0x557a86,!0x0),this[_0x5a7f26(0x219)]=_0x5d69f6,this[_0x5a7f26(0x282)](_0x25954a);}));}else{const _0x2f93b3=_0x87651(_0x4f8fab,_0x5dc9d8);if(!this[_0x457f73(0x291)]&&!_0xa769db(_0x2f93b3)){const _0x50729b=this[_0x457f73(0x129)](Error,_0x457f73(0x1b0),!0x0,0x3ef,_0x457f73(0x1e4));_0x25954a(_0x50729b);return;}this['_state']===_0x2ab5aa||this[_0x457f73(0x152)]?(this[_0x457f73(0x22e)](_0x457f73(0x27f),_0x2f93b3,!0x1),this[_0x457f73(0x219)]=_0x5d69f6):(this[_0x457f73(0x219)]=_0x22278f,setImmediate(()=>{const _0x4fea34=_0x457f73;this[_0x4fea34(0x22e)](_0x4fea34(0x27f),_0x2f93b3,!0x1),this[_0x4fea34(0x219)]=_0x5d69f6,this[_0x4fea34(0x282)](_0x25954a);}));}}['controlMessage'](_0x43be17,_0xb0b7a0){const _0x11bdca=_0x55416a;if(this[_0x11bdca(0x207)]===0x8){if(_0x43be17[_0x11bdca(0x12b)]===0x0)this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),0x3ed,_0xb68dd5),this['end']();else{const _0x3f18e7=_0x43be17[_0x11bdca(0x12f)](0x0);if(!_0x28cb82(_0x3f18e7)){const _0x3589d5=this[_0x11bdca(0x129)](RangeError,_0x11bdca(0x2ca)+_0x3f18e7,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0xb0b7a0(_0x3589d5);return;}const _0xc94421=new _0x5980e8(_0x43be17[_0x11bdca(0x166)],_0x43be17[_0x11bdca(0x1b1)]+0x2,_0x43be17['length']-0x2);if(!this[_0x11bdca(0x291)]&&!_0xa769db(_0xc94421)){const _0x2c5153=this['createError'](Error,_0x11bdca(0x1b0),!0x0,0x3ef,_0x11bdca(0x1e4));_0xb0b7a0(_0x2c5153);return;}this[_0x11bdca(0x1c5)]=!0x1,this[_0x11bdca(0x22e)](_0x11bdca(0x2a4),_0x3f18e7,_0xc94421),this[_0x11bdca(0x213)]();}this[_0x11bdca(0x219)]=_0x5d69f6;return;}this[_0x11bdca(0x152)]?(this[_0x11bdca(0x22e)](this[_0x11bdca(0x207)]===0x9?_0x11bdca(0x181):_0x11bdca(0x136),_0x43be17),this[_0x11bdca(0x219)]=_0x5d69f6):(this[_0x11bdca(0x219)]=_0x22278f,setImmediate(()=>{const _0x2742a5=_0x11bdca;this[_0x2742a5(0x22e)](this[_0x2742a5(0x207)]===0x9?_0x2742a5(0x181):_0x2742a5(0x136),_0x43be17),this['_state']=_0x5d69f6,this[_0x2742a5(0x282)](_0xb0b7a0);}));}[_0x55416a(0x129)](_0xb5bba9,_0x5683c3,_0x5c7f8a,_0x593999,_0x36ecd9){const _0x3915e4=_0x55416a;this[_0x3915e4(0x1c5)]=!0x1,this[_0x3915e4(0x142)]=!0x0;const _0x625471=new _0xb5bba9(_0x5c7f8a?_0x3915e4(0x236)+_0x5683c3:_0x5683c3);return Error[_0x3915e4(0x21e)](_0x625471,this['createError']),_0x625471[_0x3915e4(0x18c)]=_0x36ecd9,_0x625471[_0x490de7]=_0x593999,_0x625471;}}return Se=_0x40e33b,Se;}var Ee,Xe;function ft(){const _0x4edaac=_0x56ab5b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x21cae1}=oe,{randomFillSync:_0x290bea}=Le,_0x15f02f=he(),{EMPTY_BUFFER:_0x4d7a79,kWebSocket:_0x233b85,NOOP:_0x3093d8}=H(),{isBlob:_0x18238f,isValidStatusCode:_0x34a4f7}=ae(),{mask:_0x27d75c,toBuffer:_0x2815e0}=ce(),_0x572726=Symbol(_0x4edaac(0x159)),_0x3c3278=Buffer[_0x4edaac(0x2b7)](0x4),_0x2fb60f=0x8*0x400;let _0x4c98fc,_0xf89c8b=_0x2fb60f;const _0xc4f1fc=0x0,_0x1fb6f9=0x1,_0x4d1991=0x2;class _0x433cac{constructor(_0x4f673c,_0x354d36,_0x4583fb){const _0x1910c3=_0x4edaac;this[_0x1910c3(0x2c8)]=_0x354d36||{},_0x4583fb&&(this[_0x1910c3(0x2af)]=_0x4583fb,this[_0x1910c3(0x2c4)]=Buffer[_0x1910c3(0x2b7)](0x4)),this['_socket']=_0x4f673c,this[_0x1910c3(0x294)]=!0x0,this[_0x1910c3(0x295)]=!0x1,this[_0x1910c3(0x2a0)]=0x0,this[_0x1910c3(0x1b5)]=[],this[_0x1910c3(0x219)]=_0xc4f1fc,this['onerror']=_0x3093d8,this[_0x233b85]=void 0x0;}static['frame'](_0x216264,_0x5200df){const _0x2fe90e=_0x4edaac;let _0x4397aa,_0x503c09=!0x1,_0x5d4beb=0x2,_0x42e13a=!0x1;_0x5200df[_0x2fe90e(0x1fb)]&&(_0x4397aa=_0x5200df[_0x2fe90e(0x1ac)]||_0x3c3278,_0x5200df['generateMask']?_0x5200df['generateMask'](_0x4397aa):(_0xf89c8b===_0x2fb60f&&(_0x4c98fc===void 0x0&&(_0x4c98fc=Buffer['alloc'](_0x2fb60f)),_0x290bea(_0x4c98fc,0x0,_0x2fb60f),_0xf89c8b=0x0),_0x4397aa[0x0]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x1]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x2]=_0x4c98fc[_0xf89c8b++],_0x4397aa[0x3]=_0x4c98fc[_0xf89c8b++]),_0x42e13a=(_0x4397aa[0x0]|_0x4397aa[0x1]|_0x4397aa[0x2]|_0x4397aa[0x3])===0x0,_0x5d4beb=0x6);let _0x1f1fbe;typeof _0x216264==_0x2fe90e(0x196)?(!_0x5200df[_0x2fe90e(0x1fb)]||_0x42e13a)&&_0x5200df[_0x572726]!==void 0x0?_0x1f1fbe=_0x5200df[_0x572726]:(_0x216264=Buffer[_0x2fe90e(0x1d8)](_0x216264),_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)]):(_0x1f1fbe=_0x216264[_0x2fe90e(0x12b)],_0x503c09=_0x5200df['mask']&&_0x5200df[_0x2fe90e(0x191)]&&!_0x42e13a);let _0x137635=_0x1f1fbe;_0x1f1fbe>=0x10000?(_0x5d4beb+=0x8,_0x137635=0x7f):_0x1f1fbe>0x7d&&(_0x5d4beb+=0x2,_0x137635=0x7e);const _0x2801af=Buffer[_0x2fe90e(0x138)](_0x503c09?_0x1f1fbe+_0x5d4beb:_0x5d4beb);return _0x2801af[0x0]=_0x5200df[_0x2fe90e(0x1cd)]?_0x5200df['opcode']|0x80:_0x5200df[_0x2fe90e(0x174)],_0x5200df['rsv1']&&(_0x2801af[0x0]|=0x40),_0x2801af[0x1]=_0x137635,_0x137635===0x7e?_0x2801af[_0x2fe90e(0x1d2)](_0x1f1fbe,0x2):_0x137635===0x7f&&(_0x2801af[0x2]=_0x2801af[0x3]=0x0,_0x2801af[_0x2fe90e(0x22b)](_0x1f1fbe,0x4,0x6)),_0x5200df[_0x2fe90e(0x1fb)]?(_0x2801af[0x1]|=0x80,_0x2801af[_0x5d4beb-0x4]=_0x4397aa[0x0],_0x2801af[_0x5d4beb-0x3]=_0x4397aa[0x1],_0x2801af[_0x5d4beb-0x2]=_0x4397aa[0x2],_0x2801af[_0x5d4beb-0x1]=_0x4397aa[0x3],_0x42e13a?[_0x2801af,_0x216264]:_0x503c09?(_0x27d75c(_0x216264,_0x4397aa,_0x2801af,_0x5d4beb,_0x1f1fbe),[_0x2801af]):(_0x27d75c(_0x216264,_0x4397aa,_0x216264,0x0,_0x1f1fbe),[_0x2801af,_0x216264])):[_0x2801af,_0x216264];}[_0x4edaac(0x264)](_0x797c79,_0x3cff80,_0x4b97f8,_0x27298b){const _0x4f941c=_0x4edaac;let _0x6669c0;if(_0x797c79===void 0x0)_0x6669c0=_0x4d7a79;else{if(typeof _0x797c79!=_0x4f941c(0x292)||!_0x34a4f7(_0x797c79))throw new TypeError(_0x4f941c(0x276));if(_0x3cff80===void 0x0||!_0x3cff80[_0x4f941c(0x12b)])_0x6669c0=Buffer[_0x4f941c(0x138)](0x2),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0);else{const _0x43488b=Buffer[_0x4f941c(0x2d6)](_0x3cff80);if(_0x43488b>0x7b)throw new RangeError(_0x4f941c(0x195));_0x6669c0=Buffer[_0x4f941c(0x138)](0x2+_0x43488b),_0x6669c0[_0x4f941c(0x1d2)](_0x797c79,0x0),typeof _0x3cff80==_0x4f941c(0x196)?_0x6669c0[_0x4f941c(0x249)](_0x3cff80,0x2):_0x6669c0['set'](_0x3cff80,0x2);}}const _0x2dc50c={[_0x572726]:_0x6669c0[_0x4f941c(0x12b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4b97f8,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4f941c(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x4f941c(0x27d)],_0x6669c0,!0x1,_0x2dc50c,_0x27298b]):this['sendFrame'](_0x433cac[_0x4f941c(0x1ad)](_0x6669c0,_0x2dc50c),_0x27298b);}[_0x4edaac(0x181)](_0x4a164a,_0x1d17dd,_0x2beb07){const _0x3a83f1=_0x4edaac;let _0x3d0849,_0x543b49;if(typeof _0x4a164a==_0x3a83f1(0x196)?(_0x3d0849=Buffer[_0x3a83f1(0x2d6)](_0x4a164a),_0x543b49=!0x1):_0x18238f(_0x4a164a)?(_0x3d0849=_0x4a164a[_0x3a83f1(0x1a5)],_0x543b49=!0x1):(_0x4a164a=_0x2815e0(_0x4a164a),_0x3d0849=_0x4a164a[_0x3a83f1(0x12b)],_0x543b49=_0x2815e0[_0x3a83f1(0x191)]),_0x3d0849>0x7d)throw new RangeError(_0x3a83f1(0x25a));const _0x55f895={[_0x572726]:_0x3d0849,'fin':!0x0,'generateMask':this[_0x3a83f1(0x2af)],'mask':_0x1d17dd,'maskBuffer':this[_0x3a83f1(0x2c4)],'opcode':0x9,'readOnly':_0x543b49,'rsv1':!0x1};_0x18238f(_0x4a164a)?this['_state']!==_0xc4f1fc?this['enqueue']([this['getBlobData'],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this['getBlobData'](_0x4a164a,!0x1,_0x55f895,_0x2beb07):this[_0x3a83f1(0x219)]!==_0xc4f1fc?this[_0x3a83f1(0x24f)]([this[_0x3a83f1(0x27d)],_0x4a164a,!0x1,_0x55f895,_0x2beb07]):this[_0x3a83f1(0x2b2)](_0x433cac['frame'](_0x4a164a,_0x55f895),_0x2beb07);}[_0x4edaac(0x136)](_0x1612cc,_0x6cc8a3,_0xc031e7){const _0x3b0e7f=_0x4edaac;let _0x158176,_0x104f5e;if(typeof _0x1612cc==_0x3b0e7f(0x196)?(_0x158176=Buffer['byteLength'](_0x1612cc),_0x104f5e=!0x1):_0x18238f(_0x1612cc)?(_0x158176=_0x1612cc[_0x3b0e7f(0x1a5)],_0x104f5e=!0x1):(_0x1612cc=_0x2815e0(_0x1612cc),_0x158176=_0x1612cc[_0x3b0e7f(0x12b)],_0x104f5e=_0x2815e0[_0x3b0e7f(0x191)]),_0x158176>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x44a25a={[_0x572726]:_0x158176,'fin':!0x0,'generateMask':this[_0x3b0e7f(0x2af)],'mask':_0x6cc8a3,'maskBuffer':this[_0x3b0e7f(0x2c4)],'opcode':0xa,'readOnly':_0x104f5e,'rsv1':!0x1};_0x18238f(_0x1612cc)?this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this[_0x3b0e7f(0x13e)],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this[_0x3b0e7f(0x13e)](_0x1612cc,!0x1,_0x44a25a,_0xc031e7):this[_0x3b0e7f(0x219)]!==_0xc4f1fc?this['enqueue']([this['dispatch'],_0x1612cc,!0x1,_0x44a25a,_0xc031e7]):this['sendFrame'](_0x433cac[_0x3b0e7f(0x1ad)](_0x1612cc,_0x44a25a),_0xc031e7);}[_0x4edaac(0x1c4)](_0x5d8d73,_0x221b77,_0x1ae1bb){const _0xf39041=_0x4edaac,_0x1a5a06=this['_extensions'][_0x15f02f[_0xf39041(0x2d5)]];let _0xf9635a=_0x221b77['binary']?0x2:0x1,_0x3eb41a=_0x221b77[_0xf39041(0x180)],_0x52cd37,_0x4f393c;typeof _0x5d8d73==_0xf39041(0x196)?(_0x52cd37=Buffer[_0xf39041(0x2d6)](_0x5d8d73),_0x4f393c=!0x1):_0x18238f(_0x5d8d73)?(_0x52cd37=_0x5d8d73[_0xf39041(0x1a5)],_0x4f393c=!0x1):(_0x5d8d73=_0x2815e0(_0x5d8d73),_0x52cd37=_0x5d8d73[_0xf39041(0x12b)],_0x4f393c=_0x2815e0['readOnly']),this[_0xf39041(0x294)]?(this[_0xf39041(0x294)]=!0x1,_0x3eb41a&&_0x1a5a06&&_0x1a5a06['params'][_0x1a5a06[_0xf39041(0x13d)]?_0xf39041(0x154):_0xf39041(0x147)]&&(_0x3eb41a=_0x52cd37>=_0x1a5a06['_threshold']),this[_0xf39041(0x295)]=_0x3eb41a):(_0x3eb41a=!0x1,_0xf9635a=0x0),_0x221b77[_0xf39041(0x1cd)]&&(this[_0xf39041(0x294)]=!0x0);const _0x361745={[_0x572726]:_0x52cd37,'fin':_0x221b77['fin'],'generateMask':this[_0xf39041(0x2af)],'mask':_0x221b77[_0xf39041(0x1fb)],'maskBuffer':this[_0xf39041(0x2c4)],'opcode':_0xf9635a,'readOnly':_0x4f393c,'rsv1':_0x3eb41a};_0x18238f(_0x5d8d73)?this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x13e)],_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb]):this[_0xf39041(0x13e)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb):this['_state']!==_0xc4f1fc?this[_0xf39041(0x24f)]([this[_0xf39041(0x27d)],_0x5d8d73,this['_compress'],_0x361745,_0x1ae1bb]):this[_0xf39041(0x27d)](_0x5d8d73,this[_0xf39041(0x295)],_0x361745,_0x1ae1bb);}[_0x4edaac(0x13e)](_0x1a87dc,_0x2149fa,_0xd8cbba,_0x5170d9){const _0x23c5a6=_0x4edaac;this[_0x23c5a6(0x2a0)]+=_0xd8cbba[_0x572726],this[_0x23c5a6(0x219)]=_0x4d1991,_0x1a87dc[_0x23c5a6(0x2e9)]()['then'](_0xd2140=>{const _0xd3c5d2=_0x23c5a6;if(this[_0xd3c5d2(0x2e3)]['destroyed']){const _0x55ce8a=new Error(_0xd3c5d2(0x230));process['nextTick'](_0x3a1b9c,this,_0x55ce8a,_0x5170d9);return;}this[_0xd3c5d2(0x2a0)]-=_0xd8cbba[_0x572726];const _0x3c49d4=_0x2815e0(_0xd2140);_0x2149fa?this[_0xd3c5d2(0x27d)](_0x3c49d4,_0x2149fa,_0xd8cbba,_0x5170d9):(this[_0xd3c5d2(0x219)]=_0xc4f1fc,this[_0xd3c5d2(0x2b2)](_0x433cac[_0xd3c5d2(0x1ad)](_0x3c49d4,_0xd8cbba),_0x5170d9),this[_0xd3c5d2(0x149)]());})['catch'](_0x29f83b=>{process['nextTick'](_0x3ed472,this,_0x29f83b,_0x5170d9);});}[_0x4edaac(0x27d)](_0x445785,_0x9f3913,_0x28afd9,_0x59e761){const _0x1420bf=_0x4edaac;if(!_0x9f3913){this['sendFrame'](_0x433cac['frame'](_0x445785,_0x28afd9),_0x59e761);return;}const _0x49f179=this[_0x1420bf(0x2c8)][_0x15f02f[_0x1420bf(0x2d5)]];this[_0x1420bf(0x2a0)]+=_0x28afd9[_0x572726],this[_0x1420bf(0x219)]=_0x1fb6f9,_0x49f179[_0x1420bf(0x180)](_0x445785,_0x28afd9[_0x1420bf(0x1cd)],(_0xda3cae,_0x19acaf)=>{const _0x281812=_0x1420bf;if(this['_socket']['destroyed']){const _0x156d4a=new Error(_0x281812(0x1a0));_0x3a1b9c(this,_0x156d4a,_0x59e761);return;}this[_0x281812(0x2a0)]-=_0x28afd9[_0x572726],this['_state']=_0xc4f1fc,_0x28afd9[_0x281812(0x191)]=!0x1,this[_0x281812(0x2b2)](_0x433cac['frame'](_0x19acaf,_0x28afd9),_0x59e761),this[_0x281812(0x149)]();});}[_0x4edaac(0x149)](){const _0x41c0d8=_0x4edaac;for(;this['_state']===_0xc4f1fc&&this[_0x41c0d8(0x1b5)]['length'];){const _0x8b10b3=this[_0x41c0d8(0x1b5)]['shift']();this[_0x41c0d8(0x2a0)]-=_0x8b10b3[0x3][_0x572726],Reflect[_0x41c0d8(0x258)](_0x8b10b3[0x0],this,_0x8b10b3[_0x41c0d8(0x215)](0x1));}}[_0x4edaac(0x24f)](_0x3af7e3){const _0xe7c0a9=_0x4edaac;this[_0xe7c0a9(0x2a0)]+=_0x3af7e3[0x3][_0x572726],this[_0xe7c0a9(0x1b5)]['push'](_0x3af7e3);}[_0x4edaac(0x2b2)](_0x35fb4b,_0x5c5ce1){const _0x860a8d=_0x4edaac;_0x35fb4b[_0x860a8d(0x12b)]===0x2?(this['_socket'][_0x860a8d(0x2aa)](),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0]),this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x1],_0x5c5ce1),this['_socket']['uncork']()):this[_0x860a8d(0x2e3)][_0x860a8d(0x249)](_0x35fb4b[0x0],_0x5c5ce1);}}Ee=_0x433cac;function _0x3a1b9c(_0x3b55d5,_0x181463,_0x2745a0){const _0x311695=_0x4edaac;typeof _0x2745a0==_0x311695(0x23f)&&_0x2745a0(_0x181463);for(let _0x34fcd2=0x0;_0x34fcd2<_0x3b55d5[_0x311695(0x1b5)][_0x311695(0x12b)];_0x34fcd2++){const _0xb26221=_0x3b55d5[_0x311695(0x1b5)][_0x34fcd2],_0x3e90e4=_0xb26221[_0xb26221[_0x311695(0x12b)]-0x1];typeof _0x3e90e4==_0x311695(0x23f)&&_0x3e90e4(_0x181463);}}function _0x3ed472(_0x5a7d45,_0xd2236b,_0x494ddf){const _0x451bba=_0x4edaac;_0x3a1b9c(_0x5a7d45,_0xd2236b,_0x494ddf),_0x5a7d45[_0x451bba(0x2ab)](_0xd2236b);}return Ee;}var xe,Ze;function It(){const _0x22b93b=_0x56ab5b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5ce3dc,kListener:_0x594957}=H(),_0x5c5602=Symbol('kCode'),_0x5beef9=Symbol('kData'),_0x5135d4=Symbol(_0x22b93b(0x2bc)),_0x57ccb4=Symbol('kMessage'),_0x5daaca=Symbol(_0x22b93b(0x1ef)),_0x5af05b=Symbol(_0x22b93b(0x18e)),_0x406e32=Symbol(_0x22b93b(0x1d6)),_0x7b0251=Symbol(_0x22b93b(0x163));class _0x17afe4{constructor(_0x93b221){this[_0x5af05b]=null,this[_0x406e32]=_0x93b221;}get[_0x22b93b(0x20e)](){return this[_0x5af05b];}get[_0x22b93b(0x28a)](){return this[_0x406e32];}}Object[_0x22b93b(0x209)](_0x17afe4['prototype'],_0x22b93b(0x20e),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x17afe4[_0x22b93b(0x167)],_0x22b93b(0x28a),{'enumerable':!0x0});class _0x4b3ed4 extends _0x17afe4{constructor(_0x195db9,_0x2e5a87={}){const _0x4cbed8=_0x22b93b;super(_0x195db9),this[_0x5c5602]=_0x2e5a87[_0x4cbed8(0x18c)]===void 0x0?0x0:_0x2e5a87['code'],this[_0x5daaca]=_0x2e5a87[_0x4cbed8(0x13f)]===void 0x0?'':_0x2e5a87[_0x4cbed8(0x13f)],this[_0x7b0251]=_0x2e5a87['wasClean']===void 0x0?!0x1:_0x2e5a87[_0x4cbed8(0x16d)];}get[_0x22b93b(0x18c)](){return this[_0x5c5602];}get[_0x22b93b(0x13f)](){return this[_0x5daaca];}get[_0x22b93b(0x16d)](){return this[_0x7b0251];}}Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'code',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4['prototype'],'reason',{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x4b3ed4[_0x22b93b(0x167)],_0x22b93b(0x16d),{'enumerable':!0x0});class _0x2a346d extends _0x17afe4{constructor(_0x2c8dd5,_0x3638c9={}){const _0x49a62c=_0x22b93b;super(_0x2c8dd5),this[_0x5135d4]=_0x3638c9['error']===void 0x0?null:_0x3638c9[_0x49a62c(0x15a)],this[_0x57ccb4]=_0x3638c9[_0x49a62c(0x27f)]===void 0x0?'':_0x3638c9[_0x49a62c(0x27f)];}get['error'](){return this[_0x5135d4];}get[_0x22b93b(0x27f)](){return this[_0x57ccb4];}}Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x15a),{'enumerable':!0x0}),Object[_0x22b93b(0x209)](_0x2a346d[_0x22b93b(0x167)],_0x22b93b(0x27f),{'enumerable':!0x0});class _0x43c108 extends _0x17afe4{constructor(_0x1679a4,_0x58abdb={}){const _0x465b91=_0x22b93b;super(_0x1679a4),this[_0x5beef9]=_0x58abdb[_0x465b91(0x2cf)]===void 0x0?null:_0x58abdb[_0x465b91(0x2cf)];}get[_0x22b93b(0x2cf)](){return this[_0x5beef9];}}Object[_0x22b93b(0x209)](_0x43c108[_0x22b93b(0x167)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4b3ed4,'ErrorEvent':_0x2a346d,'Event':_0x17afe4,'EventTarget':{'addEventListener'(_0x9aa233,_0x18adb4,_0xf3b195={}){const _0x4ea4be=_0x22b93b;for(const _0x4b34c7 of this[_0x4ea4be(0x15b)](_0x9aa233))if(!_0xf3b195[_0x5ce3dc]&&_0x4b34c7[_0x594957]===_0x18adb4&&!_0x4b34c7[_0x5ce3dc])return;let _0x351223;if(_0x9aa233===_0x4ea4be(0x27f))_0x351223=function(_0x3eb127,_0xa90ff5){const _0x4c68ca=_0x4ea4be,_0x1c5354=new _0x43c108(_0x4c68ca(0x27f),{'data':_0xa90ff5?_0x3eb127:_0x3eb127[_0x4c68ca(0x21c)]()});_0x1c5354[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x1c5354);};else{if(_0x9aa233===_0x4ea4be(0x264))_0x351223=function(_0x593c05,_0x50a90b){const _0x2893fa=_0x4ea4be,_0x5afdd8=new _0x4b3ed4(_0x2893fa(0x264),{'code':_0x593c05,'reason':_0x50a90b['toString'](),'wasClean':this[_0x2893fa(0x2e6)]&&this[_0x2893fa(0x29d)]});_0x5afdd8[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x5afdd8);};else{if(_0x9aa233==='error')_0x351223=function(_0x9e4056){const _0x3fe8e8=_0x4ea4be,_0x56956b=new _0x2a346d(_0x3fe8e8(0x15a),{'error':_0x9e4056,'message':_0x9e4056[_0x3fe8e8(0x27f)]});_0x56956b[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x56956b);};else{if(_0x9aa233===_0x4ea4be(0x290))_0x351223=function(){const _0x4625f0=_0x4ea4be,_0x521d4f=new _0x17afe4(_0x4625f0(0x290));_0x521d4f[_0x5af05b]=this,_0x3cec5a(_0x18adb4,this,_0x521d4f);};else return;}}}_0x351223[_0x5ce3dc]=!!_0xf3b195[_0x5ce3dc],_0x351223[_0x594957]=_0x18adb4,_0xf3b195[_0x4ea4be(0x241)]?this[_0x4ea4be(0x241)](_0x9aa233,_0x351223):this['on'](_0x9aa233,_0x351223);},'removeEventListener'(_0x5210fc,_0x428c51){const _0x41bee4=_0x22b93b;for(const _0x3449ed of this[_0x41bee4(0x15b)](_0x5210fc))if(_0x3449ed[_0x594957]===_0x428c51&&!_0x3449ed[_0x5ce3dc]){this[_0x41bee4(0x220)](_0x5210fc,_0x3449ed);break;}}},'MessageEvent':_0x43c108};function _0x3cec5a(_0x365968,_0x5dcc20,_0x278d16){const _0x276125=_0x22b93b;typeof _0x365968==_0x276125(0x1d3)&&_0x365968[_0x276125(0x2c5)]?_0x365968[_0x276125(0x2c5)][_0x276125(0x2e8)](_0x365968,_0x278d16):_0x365968[_0x276125(0x2e8)](_0x5dcc20,_0x278d16);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x93a31f}=ae();function _0x35cd9f(_0x27f426,_0x3b6044,_0x5d399b){_0x27f426[_0x3b6044]===void 0x0?_0x27f426[_0x3b6044]=[_0x5d399b]:_0x27f426[_0x3b6044]['push'](_0x5d399b);}function _0x7a6b2e(_0x5a0b3c){const _0x3e378d=_0x9265,_0xb61d5c=Object['create'](null);let _0xab42a5=Object[_0x3e378d(0x17a)](null),_0x2be7dc=!0x1,_0x4cd7f4=!0x1,_0x119d61=!0x1,_0x60a9a8,_0x75b8ef,_0x30efd4=-0x1,_0x510a29=-0x1,_0x4e4fac=-0x1,_0x1f0def=0x0;for(;_0x1f0def<_0x5a0b3c[_0x3e378d(0x12b)];_0x1f0def++)if(_0x510a29=_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def),_0x60a9a8===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x1f0def!==0x0&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x4f5bca=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x510a29===0x2c?(_0x35cd9f(_0xb61d5c,_0x4f5bca,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null)):_0x60a9a8=_0x4f5bca,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x75b8ef===void 0x0){if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x20||_0x510a29===0x9)_0x4e4fac===-0x1&&_0x30efd4!==-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def),_0x35cd9f(_0xab42a5,_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac),!0x0),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x30efd4=_0x4e4fac=-0x1;}else{if(_0x510a29===0x3d&&_0x30efd4!==-0x1&&_0x4e4fac===-0x1)_0x75b8ef=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x1f0def),_0x30efd4=_0x4e4fac=-0x1;else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}else{if(_0x4cd7f4){if(_0x93a31f[_0x510a29]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x30efd4===-0x1?_0x30efd4=_0x1f0def:_0x2be7dc||(_0x2be7dc=!0x0),_0x4cd7f4=!0x1;}else{if(_0x119d61){if(_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x510a29===0x22&&_0x30efd4!==-0x1)_0x119d61=!0x1,_0x4e4fac=_0x1f0def;else{if(_0x510a29===0x5c)_0x4cd7f4=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);}}}else{if(_0x510a29===0x22&&_0x5a0b3c[_0x3e378d(0x1e0)](_0x1f0def-0x1)===0x3d)_0x119d61=!0x0;else{if(_0x4e4fac===-0x1&&_0x93a31f[_0x510a29]===0x1)_0x30efd4===-0x1&&(_0x30efd4=_0x1f0def);else{if(_0x30efd4!==-0x1&&(_0x510a29===0x20||_0x510a29===0x9))_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);else{if(_0x510a29===0x3b||_0x510a29===0x2c){if(_0x30efd4===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1f0def);_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);let _0x2f3b7d=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);_0x2be7dc&&(_0x2f3b7d=_0x2f3b7d[_0x3e378d(0x1e5)](/\\/g,''),_0x2be7dc=!0x1),_0x35cd9f(_0xab42a5,_0x75b8ef,_0x2f3b7d),_0x510a29===0x2c&&(_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5),_0xab42a5=Object[_0x3e378d(0x17a)](null),_0x60a9a8=void 0x0),_0x75b8ef=void 0x0,_0x30efd4=_0x4e4fac=-0x1;}else throw new SyntaxError(_0x3e378d(0x2d0)+_0x1f0def);}}}}}}}if(_0x30efd4===-0x1||_0x119d61||_0x510a29===0x20||_0x510a29===0x9)throw new SyntaxError(_0x3e378d(0x1f5));_0x4e4fac===-0x1&&(_0x4e4fac=_0x1f0def);const _0x47706a=_0x5a0b3c[_0x3e378d(0x215)](_0x30efd4,_0x4e4fac);return _0x60a9a8===void 0x0?_0x35cd9f(_0xb61d5c,_0x47706a,_0xab42a5):(_0x75b8ef===void 0x0?_0x35cd9f(_0xab42a5,_0x47706a,!0x0):_0x2be7dc?_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a[_0x3e378d(0x1e5)](/\\/g,'')):_0x35cd9f(_0xab42a5,_0x75b8ef,_0x47706a),_0x35cd9f(_0xb61d5c,_0x60a9a8,_0xab42a5)),_0xb61d5c;}function _0xd028be(_0xec7678){const _0x20176c=_0x9265;return Object['keys'](_0xec7678)['map'](_0x4c1edc=>{const _0x4dc5b5=_0x9265;let _0x227377=_0xec7678[_0x4c1edc];return Array[_0x4dc5b5(0x151)](_0x227377)||(_0x227377=[_0x227377]),_0x227377[_0x4dc5b5(0x2ea)](_0x5648ea=>[_0x4c1edc][_0x4dc5b5(0x19c)](Object['keys'](_0x5648ea)['map'](_0x496f0a=>{const _0x2bea13=_0x4dc5b5;let _0x5862db=_0x5648ea[_0x496f0a];return Array[_0x2bea13(0x151)](_0x5862db)||(_0x5862db=[_0x5862db]),_0x5862db[_0x2bea13(0x2ea)](_0x4d3dfd=>_0x4d3dfd===!0x0?_0x496f0a:_0x496f0a+'='+_0x4d3dfd)[_0x2bea13(0x1e7)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x20176c(0x1e7)](',\x20');}return be={'format':_0xd028be,'parse':_0x7a6b2e},be;}var we,Je;function Pe(){const _0x2d92b8=_0x56ab5b;if(Je)return we;Je=0x1;const _0x497dce=nt,_0x28d99b=vt,_0x2a02d1=ot,_0x1c6b3d=St,_0x4aa39e=Et,{randomBytes:_0x34896e,createHash:_0xa813c0}=Le,{Duplex:_0x1d4374,Readable:_0x3378cf}=oe,{URL:_0x5d53ed}=xt,_0x5d2738=he(),_0x40d47c=lt(),_0x10362b=ft(),{isBlob:_0x5a5e2d}=ae(),{BINARY_TYPES:_0x35edca,EMPTY_BUFFER:_0x220053,GUID:_0x1dc0d5,kForOnEventAttribute:_0x34134f,kListener:_0x313414,kStatusCode:_0x408974,kWebSocket:_0x33db4f,NOOP:_0x3ad0dc}=H(),{EventTarget:{addEventListener:_0xc36bbf,removeEventListener:_0xe8c38f}}=It(),{format:_0x2dd43e,parse:_0x38baaa}=ct(),{toBuffer:_0x3f1719}=ce(),_0x29cd63=0x1e*0x3e8,_0x3060d2=Symbol(_0x2d92b8(0x1f3)),_0x326244=[0x8,0xd],_0x511a0a=[_0x2d92b8(0x172),_0x2d92b8(0x2ac),_0x2d92b8(0x189),'CLOSED'],_0x1bfebf=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x300422 extends _0x497dce{constructor(_0x6d071b,_0x4cf7df,_0x397246){const _0x2be0f3=_0x2d92b8;super(),this[_0x2be0f3(0x243)]=_0x35edca[0x0],this[_0x2be0f3(0x2ee)]=0x3ee,this[_0x2be0f3(0x2e6)]=!0x1,this[_0x2be0f3(0x29d)]=!0x1,this[_0x2be0f3(0x21f)]=_0x220053,this[_0x2be0f3(0x280)]=null,this[_0x2be0f3(0x2df)]=!0x1,this[_0x2be0f3(0x2c8)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2be0f3(0x1e6)]=_0x300422[_0x2be0f3(0x172)],this[_0x2be0f3(0x2de)]=null,this[_0x2be0f3(0x2a1)]=null,this[_0x2be0f3(0x2e3)]=null,_0x6d071b!==null?(this['_bufferedAmount']=0x0,this[_0x2be0f3(0x13d)]=!0x1,this[_0x2be0f3(0x150)]=0x0,_0x4cf7df===void 0x0?_0x4cf7df=[]:Array[_0x2be0f3(0x151)](_0x4cf7df)||(typeof _0x4cf7df==_0x2be0f3(0x1d3)&&_0x4cf7df!==null?(_0x397246=_0x4cf7df,_0x4cf7df=[]):_0x4cf7df=[_0x4cf7df]),_0x30580f(this,_0x6d071b,_0x4cf7df,_0x397246)):(this['_autoPong']=_0x397246[_0x2be0f3(0x1c7)],this[_0x2be0f3(0x13d)]=!0x0);}get['binaryType'](){const _0x3c221a=_0x2d92b8;return this[_0x3c221a(0x243)];}set[_0x2d92b8(0x27c)](_0xb2f3e5){const _0x189c74=_0x2d92b8;_0x35edca[_0x189c74(0x231)](_0xb2f3e5)&&(this[_0x189c74(0x243)]=_0xb2f3e5,this[_0x189c74(0x2de)]&&(this[_0x189c74(0x2de)]['_binaryType']=_0xb2f3e5));}get[_0x2d92b8(0x15c)](){const _0x406954=_0x2d92b8;return this[_0x406954(0x2e3)]?this[_0x406954(0x2e3)][_0x406954(0x248)][_0x406954(0x12b)]+this['_sender'][_0x406954(0x2a0)]:this['_bufferedAmount'];}get[_0x2d92b8(0x188)](){const _0x1fa0a6=_0x2d92b8;return Object[_0x1fa0a6(0x164)](this[_0x1fa0a6(0x2c8)])[_0x1fa0a6(0x1e7)]();}get[_0x2d92b8(0x177)](){return this['_paused'];}get[_0x2d92b8(0x1d1)](){return null;}get[_0x2d92b8(0x2ab)](){return null;}get['onopen'](){return null;}get[_0x2d92b8(0x26f)](){return null;}get[_0x2d92b8(0x1a6)](){const _0x7dc761=_0x2d92b8;return this[_0x7dc761(0x1aa)];}get['readyState'](){return this['_readyState'];}get[_0x2d92b8(0x1c0)](){const _0x1ab64f=_0x2d92b8;return this[_0x1ab64f(0x211)];}[_0x2d92b8(0x272)](_0x36c93e,_0x3be184,_0x8d7e0){const _0x1ad25d=_0x2d92b8,_0x4a6980=new _0x40d47c({'allowSynchronousEvents':_0x8d7e0[_0x1ad25d(0x1fd)],'binaryType':this[_0x1ad25d(0x27c)],'extensions':this[_0x1ad25d(0x2c8)],'isServer':this[_0x1ad25d(0x13d)],'maxPayload':_0x8d7e0['maxPayload'],'skipUTF8Validation':_0x8d7e0[_0x1ad25d(0x193)]}),_0x29ca7c=new _0x10362b(_0x36c93e,this['_extensions'],_0x8d7e0[_0x1ad25d(0x247)]);this[_0x1ad25d(0x2de)]=_0x4a6980,this[_0x1ad25d(0x2a1)]=_0x29ca7c,this[_0x1ad25d(0x2e3)]=_0x36c93e,_0x4a6980[_0x33db4f]=this,_0x29ca7c[_0x33db4f]=this,_0x36c93e[_0x33db4f]=this,_0x4a6980['on'](_0x1ad25d(0x2a4),_0x5d4f79),_0x4a6980['on'](_0x1ad25d(0x286),_0x5f0260),_0x4a6980['on'](_0x1ad25d(0x15a),_0x5ede1a),_0x4a6980['on'](_0x1ad25d(0x27f),_0x57e6e0),_0x4a6980['on'](_0x1ad25d(0x181),_0x3b38e7),_0x4a6980['on']('pong',_0x3e9897),_0x29ca7c[_0x1ad25d(0x2ab)]=_0x4ac20e,_0x36c93e[_0x1ad25d(0x24d)]&&_0x36c93e[_0x1ad25d(0x24d)](0x0),_0x36c93e['setNoDelay']&&_0x36c93e[_0x1ad25d(0x201)](),_0x3be184[_0x1ad25d(0x12b)]>0x0&&_0x36c93e[_0x1ad25d(0x246)](_0x3be184),_0x36c93e['on']('close',_0x394120),_0x36c93e['on']('data',_0x394f51),_0x36c93e['on'](_0x1ad25d(0x213),_0x5f4293),_0x36c93e['on'](_0x1ad25d(0x15a),_0x22510a),this['_readyState']=_0x300422[_0x1ad25d(0x2ac)],this['emit'](_0x1ad25d(0x290));}['emitClose'](){const _0x3613e4=_0x2d92b8;if(!this[_0x3613e4(0x2e3)]){this[_0x3613e4(0x1e6)]=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this['_closeCode'],this[_0x3613e4(0x21f)]);return;}this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]]&&this[_0x3613e4(0x2c8)][_0x5d2738[_0x3613e4(0x2d5)]][_0x3613e4(0x1c3)](),this['_receiver'][_0x3613e4(0x216)](),this['_readyState']=_0x300422[_0x3613e4(0x1ab)],this[_0x3613e4(0x22e)](_0x3613e4(0x264),this[_0x3613e4(0x2ee)],this[_0x3613e4(0x21f)]);}['close'](_0x1a4423,_0x130efb){const _0x554827=_0x2d92b8;if(this[_0x554827(0x2dd)]!==_0x300422[_0x554827(0x1ab)]){if(this[_0x554827(0x2dd)]===_0x300422[_0x554827(0x172)]){_0x5145ae(this,this['_req'],_0x554827(0x223));return;}if(this['readyState']===_0x300422[_0x554827(0x189)]){this[_0x554827(0x29d)]&&(this[_0x554827(0x2e6)]||this['_receiver'][_0x554827(0x248)][_0x554827(0x17e)])&&this[_0x554827(0x2e3)][_0x554827(0x213)]();return;}this['_readyState']=_0x300422[_0x554827(0x189)],this['_sender'][_0x554827(0x264)](_0x1a4423,_0x130efb,!this[_0x554827(0x13d)],_0x206768=>{const _0x3b2c83=_0x554827;_0x206768||(this[_0x3b2c83(0x29d)]=!0x0,(this[_0x3b2c83(0x2e6)]||this[_0x3b2c83(0x2de)][_0x3b2c83(0x248)][_0x3b2c83(0x17e)])&&this['_socket']['end']());}),_0x21f8dc(this);}}[_0x2d92b8(0x227)](){const _0x47469a=_0x2d92b8;this['readyState']===_0x300422[_0x47469a(0x172)]||this[_0x47469a(0x2dd)]===_0x300422[_0x47469a(0x1ab)]||(this[_0x47469a(0x299)]=!0x0,this['_socket'][_0x47469a(0x227)]());}['ping'](_0x271b82,_0x5575a6,_0xb49c06){const _0x444993=_0x2d92b8;if(this[_0x444993(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x444993(0x24c));if(typeof _0x271b82=='function'?(_0xb49c06=_0x271b82,_0x271b82=_0x5575a6=void 0x0):typeof _0x5575a6==_0x444993(0x23f)&&(_0xb49c06=_0x5575a6,_0x5575a6=void 0x0),typeof _0x271b82=='number'&&(_0x271b82=_0x271b82[_0x444993(0x21c)]()),this['readyState']!==_0x300422['OPEN']){_0x3bed0f(this,_0x271b82,_0xb49c06);return;}_0x5575a6===void 0x0&&(_0x5575a6=!this['_isServer']),this['_sender'][_0x444993(0x181)](_0x271b82||_0x220053,_0x5575a6,_0xb49c06);}[_0x2d92b8(0x136)](_0x40af3c,_0x16c930,_0x2bf636){const _0x48f106=_0x2d92b8;if(this[_0x48f106(0x2dd)]===_0x300422['CONNECTING'])throw new Error(_0x48f106(0x24c));if(typeof _0x40af3c==_0x48f106(0x23f)?(_0x2bf636=_0x40af3c,_0x40af3c=_0x16c930=void 0x0):typeof _0x16c930=='function'&&(_0x2bf636=_0x16c930,_0x16c930=void 0x0),typeof _0x40af3c==_0x48f106(0x292)&&(_0x40af3c=_0x40af3c[_0x48f106(0x21c)]()),this[_0x48f106(0x2dd)]!==_0x300422[_0x48f106(0x2ac)]){_0x3bed0f(this,_0x40af3c,_0x2bf636);return;}_0x16c930===void 0x0&&(_0x16c930=!this[_0x48f106(0x13d)]),this[_0x48f106(0x2a1)][_0x48f106(0x136)](_0x40af3c||_0x220053,_0x16c930,_0x2bf636);}[_0x2d92b8(0x14f)](){const _0x531430=_0x2d92b8;this[_0x531430(0x2dd)]===_0x300422[_0x531430(0x172)]||this['readyState']===_0x300422['CLOSED']||(this[_0x531430(0x299)]=!0x1,this[_0x531430(0x2de)][_0x531430(0x248)]['needDrain']||this[_0x531430(0x2e3)]['resume']());}[_0x2d92b8(0x1c4)](_0x49e6fb,_0x4c19a9,_0x575e99){const _0x2a0753=_0x2d92b8;if(this[_0x2a0753(0x2dd)]===_0x300422[_0x2a0753(0x172)])throw new Error(_0x2a0753(0x24c));if(typeof _0x4c19a9==_0x2a0753(0x23f)&&(_0x575e99=_0x4c19a9,_0x4c19a9={}),typeof _0x49e6fb==_0x2a0753(0x292)&&(_0x49e6fb=_0x49e6fb[_0x2a0753(0x21c)]()),this[_0x2a0753(0x2dd)]!==_0x300422[_0x2a0753(0x2ac)]){_0x3bed0f(this,_0x49e6fb,_0x575e99);return;}const _0x5d6b2a={'binary':typeof _0x49e6fb!=_0x2a0753(0x196),'mask':!this[_0x2a0753(0x13d)],'compress':!0x0,'fin':!0x0,..._0x4c19a9};this[_0x2a0753(0x2c8)][_0x5d2738['extensionName']]||(_0x5d6b2a[_0x2a0753(0x180)]=!0x1),this['_sender'][_0x2a0753(0x1c4)](_0x49e6fb||_0x220053,_0x5d6b2a,_0x575e99);}[_0x2d92b8(0x1b6)](){const _0x4539ee=_0x2d92b8;if(this[_0x4539ee(0x2dd)]!==_0x300422['CLOSED']){if(this[_0x4539ee(0x2dd)]===_0x300422[_0x4539ee(0x172)]){_0x5145ae(this,this[_0x4539ee(0x266)],_0x4539ee(0x223));return;}this[_0x4539ee(0x2e3)]&&(this[_0x4539ee(0x1e6)]=_0x300422[_0x4539ee(0x189)],this[_0x4539ee(0x2e3)][_0x4539ee(0x204)]());}}}Object[_0x2d92b8(0x209)](_0x300422,'CONNECTING',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x172))}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x172),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x172))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x2ac),{'enumerable':!0x0,'value':_0x511a0a['indexOf'](_0x2d92b8(0x2ac))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSING')}),Object[_0x2d92b8(0x209)](_0x300422[_0x2d92b8(0x167)],_0x2d92b8(0x189),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x189))}),Object[_0x2d92b8(0x209)](_0x300422,_0x2d92b8(0x1ab),{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)]('CLOSED')}),Object['defineProperty'](_0x300422[_0x2d92b8(0x167)],'CLOSED',{'enumerable':!0x0,'value':_0x511a0a[_0x2d92b8(0x19d)](_0x2d92b8(0x1ab))}),[_0x2d92b8(0x27c),_0x2d92b8(0x15c),_0x2d92b8(0x188),'isPaused',_0x2d92b8(0x1a6),_0x2d92b8(0x2dd),'url']['forEach'](_0x4f6469=>{const _0x4c067e=_0x2d92b8;Object[_0x4c067e(0x209)](_0x300422[_0x4c067e(0x167)],_0x4f6469,{'enumerable':!0x0});}),[_0x2d92b8(0x290),_0x2d92b8(0x15a),'close','message'][_0x2d92b8(0x2ad)](_0x1a9881=>{const _0x3190f6=_0x2d92b8;Object['defineProperty'](_0x300422[_0x3190f6(0x167)],'on'+_0x1a9881,{'enumerable':!0x0,'get'(){const _0x5b765a=_0x3190f6;for(const _0x188cb1 of this[_0x5b765a(0x15b)](_0x1a9881))if(_0x188cb1[_0x34134f])return _0x188cb1[_0x313414];return null;},'set'(_0x5d5210){const _0x4ad7b9=_0x3190f6;for(const _0x3cef9b of this[_0x4ad7b9(0x15b)](_0x1a9881))if(_0x3cef9b[_0x34134f]){this[_0x4ad7b9(0x220)](_0x1a9881,_0x3cef9b);break;}typeof _0x5d5210==_0x4ad7b9(0x23f)&&this[_0x4ad7b9(0x2ef)](_0x1a9881,_0x5d5210,{[_0x34134f]:!0x0});}});}),_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x2ef)]=_0xc36bbf,_0x300422[_0x2d92b8(0x167)][_0x2d92b8(0x1e8)]=_0xe8c38f,we=_0x300422;function _0x30580f(_0xf81fa9,_0x3c80b3,_0xc2c68b,_0xabc9d8){const _0x77430c=_0x2d92b8,_0xfc9f6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x326244[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xabc9d8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x77430c(0x133),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xf81fa9['_autoPong']=_0xfc9f6[_0x77430c(0x1c7)],!_0x326244[_0x77430c(0x231)](_0xfc9f6['protocolVersion']))throw new RangeError(_0x77430c(0x2b3)+_0xfc9f6[_0x77430c(0x275)]+_0x77430c(0x16c)+_0x326244[_0x77430c(0x1e7)](',\x20')+')');let _0x5dd1f0;if(_0x3c80b3 instanceof _0x5d53ed)_0x5dd1f0=_0x3c80b3;else try{_0x5dd1f0=new _0x5d53ed(_0x3c80b3);}catch{throw new SyntaxError(_0x77430c(0x1a4)+_0x3c80b3);}_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x205)?_0x5dd1f0[_0x77430c(0x1a6)]=_0x77430c(0x16a):_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x1ca)&&(_0x5dd1f0[_0x77430c(0x1a6)]='wss:'),_0xf81fa9[_0x77430c(0x211)]=_0x5dd1f0[_0x77430c(0x265)];const _0x454ca4=_0x5dd1f0[_0x77430c(0x1a6)]===_0x77430c(0x18d),_0x45d5dc=_0x5dd1f0['protocol']===_0x77430c(0x13c);let _0x455e4b;if(_0x5dd1f0[_0x77430c(0x1a6)]!=='ws:'&&!_0x454ca4&&!_0x45d5dc?_0x455e4b=_0x77430c(0x26e):_0x45d5dc&&!_0x5dd1f0[_0x77430c(0x1ba)]?_0x455e4b=_0x77430c(0x185):_0x5dd1f0['hash']&&(_0x455e4b=_0x77430c(0x228)),_0x455e4b){const _0x365b4c=new SyntaxError(_0x455e4b);if(_0xf81fa9[_0x77430c(0x150)]===0x0)throw _0x365b4c;_0x5164c2(_0xf81fa9,_0x365b4c);return;}const _0x2238a7=_0x454ca4?0x1bb:0x50,_0x501abc=_0x34896e(0x10)[_0x77430c(0x21c)](_0x77430c(0x1f8)),_0x280806=_0x454ca4?_0x28d99b[_0x77430c(0x12c)]:_0x2a02d1['request'],_0x3e42fa=new Set();let _0x3ed8d3;if(_0xfc9f6[_0x77430c(0x28c)]=_0xfc9f6['createConnection']||(_0x454ca4?_0x4dda2e:_0x57c076),_0xfc9f6['defaultPort']=_0xfc9f6['defaultPort']||_0x2238a7,_0xfc9f6[_0x77430c(0x137)]=_0x5dd1f0[_0x77430c(0x137)]||_0x2238a7,_0xfc9f6['host']=_0x5dd1f0[_0x77430c(0x1cb)][_0x77430c(0x1b7)]('[')?_0x5dd1f0[_0x77430c(0x1cb)]['slice'](0x1,-0x1):_0x5dd1f0[_0x77430c(0x1cb)],_0xfc9f6['headers']={..._0xfc9f6[_0x77430c(0x24a)],'Sec-WebSocket-Version':_0xfc9f6[_0x77430c(0x275)],'Sec-WebSocket-Key':_0x501abc,'Connection':'Upgrade','Upgrade':_0x77430c(0x2e4)},_0xfc9f6[_0x77430c(0x2b0)]=_0x5dd1f0['pathname']+_0x5dd1f0['search'],_0xfc9f6[_0x77430c(0x182)]=_0xfc9f6[_0x77430c(0x263)],_0xfc9f6[_0x77430c(0x14e)]&&(_0x3ed8d3=new _0x5d2738(_0xfc9f6['perMessageDeflate']!==!0x0?_0xfc9f6[_0x77430c(0x14e)]:{},!0x1,_0xfc9f6[_0x77430c(0x2d4)]),_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x221)]=_0x2dd43e({[_0x5d2738[_0x77430c(0x2d5)]]:_0x3ed8d3['offer']()})),_0xc2c68b[_0x77430c(0x12b)]){for(const _0x4b1772 of _0xc2c68b){if(typeof _0x4b1772!=_0x77430c(0x196)||!_0x1bfebf['test'](_0x4b1772)||_0x3e42fa['has'](_0x4b1772))throw new SyntaxError(_0x77430c(0x26c));_0x3e42fa[_0x77430c(0x2da)](_0x4b1772);}_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x225)]=_0xc2c68b['join'](',');}if(_0xfc9f6['origin']&&(_0xfc9f6[_0x77430c(0x275)]<0xd?_0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x202)]=_0xfc9f6[_0x77430c(0x256)]:_0xfc9f6['headers'][_0x77430c(0x296)]=_0xfc9f6['origin']),(_0x5dd1f0[_0x77430c(0x15f)]||_0x5dd1f0[_0x77430c(0x1b4)])&&(_0xfc9f6['auth']=_0x5dd1f0['username']+':'+_0x5dd1f0[_0x77430c(0x1b4)]),_0x45d5dc){const _0x1bce04=_0xfc9f6['path'][_0x77430c(0x2ed)](':');_0xfc9f6['socketPath']=_0x1bce04[0x0],_0xfc9f6['path']=_0x1bce04[0x1];}let _0x52244d;if(_0xfc9f6['followRedirects']){if(_0xf81fa9[_0x77430c(0x150)]===0x0){_0xf81fa9['_originalIpc']=_0x45d5dc,_0xf81fa9[_0x77430c(0x29c)]=_0x454ca4,_0xf81fa9[_0x77430c(0x2d9)]=_0x45d5dc?_0xfc9f6[_0x77430c(0x1ce)]:_0x5dd1f0[_0x77430c(0x14a)];const _0x53ee9d=_0xabc9d8&&_0xabc9d8[_0x77430c(0x24a)];if(_0xabc9d8={..._0xabc9d8,'headers':{}},_0x53ee9d){for(const [_0x4a6d08,_0x5914de]of Object['entries'](_0x53ee9d))_0xabc9d8[_0x77430c(0x24a)][_0x4a6d08[_0x77430c(0x1d5)]()]=_0x5914de;}}else{if(_0xf81fa9['listenerCount']('redirect')===0x0){const _0x3ad59e=_0x45d5dc?_0xf81fa9[_0x77430c(0x2b8)]?_0xfc9f6[_0x77430c(0x1ce)]===_0xf81fa9[_0x77430c(0x2d9)]:!0x1:_0xf81fa9['_originalIpc']?!0x1:_0x5dd1f0[_0x77430c(0x14a)]===_0xf81fa9[_0x77430c(0x2d9)];(!_0x3ad59e||_0xf81fa9[_0x77430c(0x29c)]&&!_0x454ca4)&&(delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x1f9)],delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x13b)],_0x3ad59e||delete _0xfc9f6[_0x77430c(0x24a)][_0x77430c(0x14a)],_0xfc9f6['auth']=void 0x0);}}_0xfc9f6[_0x77430c(0x134)]&&!_0xabc9d8['headers'][_0x77430c(0x1f9)]&&(_0xabc9d8[_0x77430c(0x24a)][_0x77430c(0x1f9)]='Basic\x20'+Buffer[_0x77430c(0x1d8)](_0xfc9f6[_0x77430c(0x134)])[_0x77430c(0x21c)](_0x77430c(0x1f8))),_0x52244d=_0xf81fa9[_0x77430c(0x266)]=_0x280806(_0xfc9f6),_0xf81fa9[_0x77430c(0x150)]&&_0xf81fa9[_0x77430c(0x22e)](_0x77430c(0x21b),_0xf81fa9[_0x77430c(0x1c0)],_0x52244d);}else _0x52244d=_0xf81fa9['_req']=_0x280806(_0xfc9f6);_0xfc9f6[_0x77430c(0x182)]&&_0x52244d['on'](_0x77430c(0x182),()=>{const _0x40c581=_0x77430c;_0x5145ae(_0xf81fa9,_0x52244d,_0x40c581(0x22c));}),_0x52244d['on'](_0x77430c(0x15a),_0x5e6ecf=>{const _0x24a917=_0x77430c;_0x52244d===null||_0x52244d[_0x3060d2]||(_0x52244d=_0xf81fa9[_0x24a917(0x266)]=null,_0x5164c2(_0xf81fa9,_0x5e6ecf));}),_0x52244d['on']('response',_0x3ce31b=>{const _0x1fa003=_0x77430c,_0x55cecd=_0x3ce31b[_0x1fa003(0x24a)][_0x1fa003(0x165)],_0x58f665=_0x3ce31b['statusCode'];if(_0x55cecd&&_0xfc9f6[_0x1fa003(0x1db)]&&_0x58f665>=0x12c&&_0x58f665<0x190){if(++_0xf81fa9[_0x1fa003(0x150)]>_0xfc9f6[_0x1fa003(0x2a5)]){_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x255));return;}_0x52244d[_0x1fa003(0x287)]();let _0x20e043;try{_0x20e043=new _0x5d53ed(_0x55cecd,_0x3c80b3);}catch{const _0x4366aa=new SyntaxError(_0x1fa003(0x1a4)+_0x55cecd);_0x5164c2(_0xf81fa9,_0x4366aa);return;}_0x30580f(_0xf81fa9,_0x20e043,_0xc2c68b,_0xabc9d8);}else _0xf81fa9[_0x1fa003(0x22e)](_0x1fa003(0x2bb),_0x52244d,_0x3ce31b)||_0x5145ae(_0xf81fa9,_0x52244d,_0x1fa003(0x19a)+_0x3ce31b[_0x1fa003(0x148)]);}),_0x52244d['on'](_0x77430c(0x2e0),(_0x35d09d,_0xf9d09d,_0x3f9ce2)=>{const _0x1f2dc2=_0x77430c;if(_0xf81fa9[_0x1f2dc2(0x22e)]('upgrade',_0x35d09d),_0xf81fa9[_0x1f2dc2(0x2dd)]!==_0x300422[_0x1f2dc2(0x172)])return;_0x52244d=_0xf81fa9[_0x1f2dc2(0x266)]=null;const _0x31b4b6=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2e0)];if(_0x31b4b6===void 0x0||_0x31b4b6[_0x1f2dc2(0x1d5)]()!=='websocket'){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x19f));return;}const _0x520f5d=_0xa813c0(_0x1f2dc2(0x2d1))[_0x1f2dc2(0x190)](_0x501abc+_0x1dc0d5)[_0x1f2dc2(0x20a)](_0x1f2dc2(0x1f8));if(_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x2cc)]!==_0x520f5d){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x293));return;}const _0x3458e7=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x27e)];let _0x434a83;if(_0x3458e7!==void 0x0?_0x3e42fa[_0x1f2dc2(0x1a5)]?_0x3e42fa[_0x1f2dc2(0x2a7)](_0x3458e7)||(_0x434a83=_0x1f2dc2(0x2b1)):_0x434a83=_0x1f2dc2(0x2d7):_0x3e42fa[_0x1f2dc2(0x1a5)]&&(_0x434a83='Server\x20sent\x20no\x20subprotocol'),_0x434a83){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x434a83);return;}_0x3458e7&&(_0xf81fa9[_0x1f2dc2(0x1aa)]=_0x3458e7);const _0x113585=_0x35d09d[_0x1f2dc2(0x24a)][_0x1f2dc2(0x170)];if(_0x113585!==void 0x0){if(!_0x3ed8d3){_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x1a7));return;}let _0x5b3eb5;try{_0x5b3eb5=_0x38baaa(_0x113585);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}const _0x1d2a77=Object['keys'](_0x5b3eb5);if(_0x1d2a77[_0x1f2dc2(0x12b)]!==0x1||_0x1d2a77[0x0]!==_0x5d2738[_0x1f2dc2(0x2d5)]){_0x5145ae(_0xf81fa9,_0xf9d09d,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3ed8d3['accept'](_0x5b3eb5[_0x5d2738['extensionName']]);}catch{_0x5145ae(_0xf81fa9,_0xf9d09d,_0x1f2dc2(0x2e2));return;}_0xf81fa9[_0x1f2dc2(0x2c8)][_0x5d2738[_0x1f2dc2(0x2d5)]]=_0x3ed8d3;}_0xf81fa9[_0x1f2dc2(0x272)](_0xf9d09d,_0x3f9ce2,{'allowSynchronousEvents':_0xfc9f6[_0x1f2dc2(0x1fd)],'generateMask':_0xfc9f6['generateMask'],'maxPayload':_0xfc9f6[_0x1f2dc2(0x2d4)],'skipUTF8Validation':_0xfc9f6['skipUTF8Validation']});}),_0xfc9f6['finishRequest']?_0xfc9f6[_0x77430c(0x144)](_0x52244d,_0xf81fa9):_0x52244d[_0x77430c(0x213)]();}function _0x5164c2(_0x1ef961,_0x16b64e){const _0x4fe05e=_0x2d92b8;_0x1ef961[_0x4fe05e(0x1e6)]=_0x300422['CLOSING'],_0x1ef961['_errorEmitted']=!0x0,_0x1ef961[_0x4fe05e(0x22e)](_0x4fe05e(0x15a),_0x16b64e),_0x1ef961[_0x4fe05e(0x288)]();}function _0x57c076(_0x41efed){const _0x121450=_0x2d92b8;return _0x41efed[_0x121450(0x2b0)]=_0x41efed[_0x121450(0x1ce)],_0x1c6b3d['connect'](_0x41efed);}function _0x4dda2e(_0xdae427){const _0x3d653d=_0x2d92b8;return _0xdae427[_0x3d653d(0x2b0)]=void 0x0,!_0xdae427[_0x3d653d(0x2b9)]&&_0xdae427[_0x3d653d(0x2b9)]!==''&&(_0xdae427[_0x3d653d(0x2b9)]=_0x1c6b3d['isIP'](_0xdae427[_0x3d653d(0x14a)])?'':_0xdae427['host']),_0x4aa39e[_0x3d653d(0x2f3)](_0xdae427);}function _0x5145ae(_0x50deca,_0x47b9f0,_0x3376e3){const _0x5d6f68=_0x2d92b8;_0x50deca[_0x5d6f68(0x1e6)]=_0x300422[_0x5d6f68(0x189)];const _0x1a129f=new Error(_0x3376e3);Error[_0x5d6f68(0x21e)](_0x1a129f,_0x5145ae),_0x47b9f0[_0x5d6f68(0x158)]?(_0x47b9f0[_0x3060d2]=!0x0,_0x47b9f0['abort'](),_0x47b9f0['socket']&&!_0x47b9f0[_0x5d6f68(0x192)]['destroyed']&&_0x47b9f0[_0x5d6f68(0x192)][_0x5d6f68(0x204)](),process[_0x5d6f68(0x208)](_0x5164c2,_0x50deca,_0x1a129f)):(_0x47b9f0[_0x5d6f68(0x204)](_0x1a129f),_0x47b9f0['once'](_0x5d6f68(0x15a),_0x50deca['emit'][_0x5d6f68(0x284)](_0x50deca,_0x5d6f68(0x15a))),_0x47b9f0[_0x5d6f68(0x241)](_0x5d6f68(0x264),_0x50deca['emitClose'][_0x5d6f68(0x284)](_0x50deca)));}function _0x3bed0f(_0x38fea0,_0x313fc7,_0x3a0ad0){const _0x187ed0=_0x2d92b8;if(_0x313fc7){const _0x26c559=_0x5a5e2d(_0x313fc7)?_0x313fc7['size']:_0x3f1719(_0x313fc7)[_0x187ed0(0x12b)];_0x38fea0[_0x187ed0(0x2e3)]?_0x38fea0[_0x187ed0(0x2a1)][_0x187ed0(0x2a0)]+=_0x26c559:_0x38fea0['_bufferedAmount']+=_0x26c559;}if(_0x3a0ad0){const _0x342cf3=new Error(_0x187ed0(0x1ed)+_0x38fea0[_0x187ed0(0x2dd)]+'\x20('+_0x511a0a[_0x38fea0['readyState']]+')');process[_0x187ed0(0x208)](_0x3a0ad0,_0x342cf3);}}function _0x5d4f79(_0x31d5f2,_0x55b091){const _0x3766f0=_0x2d92b8,_0x2fe5b7=this[_0x33db4f];_0x2fe5b7[_0x3766f0(0x2e6)]=!0x0,_0x2fe5b7[_0x3766f0(0x21f)]=_0x55b091,_0x2fe5b7[_0x3766f0(0x2ee)]=_0x31d5f2,_0x2fe5b7[_0x3766f0(0x2e3)][_0x33db4f]!==void 0x0&&(_0x2fe5b7['_socket'][_0x3766f0(0x220)](_0x3766f0(0x2cf),_0x394f51),process['nextTick'](_0x404f0c,_0x2fe5b7[_0x3766f0(0x2e3)]),_0x31d5f2===0x3ed?_0x2fe5b7['close']():_0x2fe5b7[_0x3766f0(0x264)](_0x31d5f2,_0x55b091));}function _0x5f0260(){const _0x1f883d=_0x2d92b8,_0x438515=this[_0x33db4f];_0x438515[_0x1f883d(0x177)]||_0x438515[_0x1f883d(0x2e3)][_0x1f883d(0x14f)]();}function _0x5ede1a(_0x2c5aac){const _0x139e19=_0x2d92b8,_0x446436=this[_0x33db4f];_0x446436[_0x139e19(0x2e3)][_0x33db4f]!==void 0x0&&(_0x446436[_0x139e19(0x2e3)][_0x139e19(0x220)]('data',_0x394f51),process[_0x139e19(0x208)](_0x404f0c,_0x446436[_0x139e19(0x2e3)]),_0x446436[_0x139e19(0x264)](_0x2c5aac[_0x408974])),_0x446436[_0x139e19(0x2df)]||(_0x446436[_0x139e19(0x2df)]=!0x0,_0x446436[_0x139e19(0x22e)](_0x139e19(0x15a),_0x2c5aac));}function _0x29de7b(){this[_0x33db4f]['emitClose']();}function _0x57e6e0(_0x1f5ff2,_0x2ff288){const _0x51c5e3=_0x2d92b8;this[_0x33db4f][_0x51c5e3(0x22e)]('message',_0x1f5ff2,_0x2ff288);}function _0x3b38e7(_0x14d5e3){const _0x191b83=_0x2d92b8,_0x10d188=this[_0x33db4f];_0x10d188[_0x191b83(0x17d)]&&_0x10d188['pong'](_0x14d5e3,!this[_0x191b83(0x13d)],_0x3ad0dc),_0x10d188['emit'](_0x191b83(0x181),_0x14d5e3);}function _0x3e9897(_0x599ead){const _0x4844a7=_0x2d92b8;this[_0x33db4f][_0x4844a7(0x22e)](_0x4844a7(0x136),_0x599ead);}function _0x404f0c(_0x5126f0){const _0x3626dc=_0x2d92b8;_0x5126f0[_0x3626dc(0x14f)]();}function _0x4ac20e(_0x4e95b0){const _0x5d1ad2=_0x2d92b8,_0x37131a=this[_0x33db4f];_0x37131a[_0x5d1ad2(0x2dd)]!==_0x300422[_0x5d1ad2(0x1ab)]&&(_0x37131a[_0x5d1ad2(0x2dd)]===_0x300422[_0x5d1ad2(0x2ac)]&&(_0x37131a['_readyState']=_0x300422[_0x5d1ad2(0x189)],_0x21f8dc(_0x37131a)),this['_socket'][_0x5d1ad2(0x213)](),_0x37131a[_0x5d1ad2(0x2df)]||(_0x37131a[_0x5d1ad2(0x2df)]=!0x0,_0x37131a[_0x5d1ad2(0x22e)]('error',_0x4e95b0)));}function _0x21f8dc(_0x45c8b3){const _0x51158e=_0x2d92b8;_0x45c8b3[_0x51158e(0x280)]=setTimeout(_0x45c8b3['_socket']['destroy'][_0x51158e(0x284)](_0x45c8b3['_socket']),_0x29cd63);}function _0x394120(){const _0x33a55f=_0x2d92b8,_0x447885=this[_0x33db4f];this[_0x33a55f(0x220)](_0x33a55f(0x264),_0x394120),this[_0x33a55f(0x220)](_0x33a55f(0x2cf),_0x394f51),this[_0x33a55f(0x220)](_0x33a55f(0x213),_0x5f4293),_0x447885[_0x33a55f(0x1e6)]=_0x300422[_0x33a55f(0x189)];let _0x3aec12;!this[_0x33a55f(0x214)][_0x33a55f(0x2a2)]&&!_0x447885['_closeFrameReceived']&&!_0x447885[_0x33a55f(0x2de)]['_writableState'][_0x33a55f(0x17e)]&&(_0x3aec12=_0x447885[_0x33a55f(0x2e3)][_0x33a55f(0x1cf)]())!==null&&_0x447885[_0x33a55f(0x2de)][_0x33a55f(0x249)](_0x3aec12),_0x447885['_receiver'][_0x33a55f(0x213)](),this[_0x33db4f]=void 0x0,clearTimeout(_0x447885[_0x33a55f(0x280)]),_0x447885['_receiver']['_writableState'][_0x33a55f(0x298)]||_0x447885[_0x33a55f(0x2de)]['_writableState']['errorEmitted']?_0x447885[_0x33a55f(0x288)]():(_0x447885[_0x33a55f(0x2de)]['on']('error',_0x29de7b),_0x447885[_0x33a55f(0x2de)]['on'](_0x33a55f(0x2c6),_0x29de7b));}function _0x394f51(_0x1dbd74){this[_0x33db4f]['_receiver']['write'](_0x1dbd74)||this['pause']();}function _0x5f4293(){const _0xe66ed4=_0x2d92b8,_0x2b1b6d=this[_0x33db4f];_0x2b1b6d[_0xe66ed4(0x1e6)]=_0x300422[_0xe66ed4(0x189)],_0x2b1b6d[_0xe66ed4(0x2de)][_0xe66ed4(0x213)](),this[_0xe66ed4(0x213)]();}function _0x22510a(){const _0x5ecbbe=_0x2d92b8,_0x1383cd=this[_0x33db4f];this['removeListener']('error',_0x22510a),this['on'](_0x5ecbbe(0x15a),_0x3ad0dc),_0x1383cd&&(_0x1383cd['_readyState']=_0x300422['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4b0aaa}=oe;function _0x1cc31b(_0x53847a){const _0x2253fa=_0x9265;_0x53847a[_0x2253fa(0x22e)](_0x2253fa(0x264));}function _0x37c397(){const _0x140973=_0x9265;!this[_0x140973(0x146)]&&this['_writableState']['finished']&&this['destroy']();}function _0x253055(_0x2ac526){const _0x25b9ef=_0x9265;this[_0x25b9ef(0x220)]('error',_0x253055),this['destroy'](),this[_0x25b9ef(0x1ec)](_0x25b9ef(0x15a))===0x0&&this[_0x25b9ef(0x22e)](_0x25b9ef(0x15a),_0x2ac526);}function _0x7c4982(_0x18518c,_0x5c791a){const _0x3763c1=_0x9265;let _0x55203b=!0x0;const _0xb59c00=new _0x4b0aaa({..._0x5c791a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x18518c['on'](_0x3763c1(0x27f),function(_0x18a258,_0x2122e1){const _0x2e7972=_0x3763c1,_0x4c52da=!_0x2122e1&&_0xb59c00[_0x2e7972(0x214)][_0x2e7972(0x13a)]?_0x18a258[_0x2e7972(0x21c)]():_0x18a258;_0xb59c00[_0x2e7972(0x2e1)](_0x4c52da)||_0x18518c[_0x2e7972(0x227)]();}),_0x18518c['once']('error',function(_0x11e2c5){const _0x392f60=_0x3763c1;_0xb59c00['destroyed']||(_0x55203b=!0x1,_0xb59c00[_0x392f60(0x204)](_0x11e2c5));}),_0x18518c[_0x3763c1(0x241)]('close',function(){const _0x3104a2=_0x3763c1;_0xb59c00['destroyed']||_0xb59c00[_0x3104a2(0x2e1)](null);}),_0xb59c00[_0x3763c1(0x29f)]=function(_0x3d2acf,_0x32b790){const _0x2f75c2=_0x3763c1;if(_0x18518c[_0x2f75c2(0x2dd)]===_0x18518c[_0x2f75c2(0x1ab)]){_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);return;}let _0x6d7a27=!0x1;_0x18518c[_0x2f75c2(0x241)](_0x2f75c2(0x15a),function(_0xee9df2){_0x6d7a27=!0x0,_0x32b790(_0xee9df2);}),_0x18518c['once'](_0x2f75c2(0x264),function(){_0x6d7a27||_0x32b790(_0x3d2acf),process['nextTick'](_0x1cc31b,_0xb59c00);}),_0x55203b&&_0x18518c[_0x2f75c2(0x1b6)]();},_0xb59c00[_0x3763c1(0x19e)]=function(_0x4c369f){const _0x32864c=_0x3763c1;if(_0x18518c[_0x32864c(0x2dd)]===_0x18518c[_0x32864c(0x172)]){_0x18518c['once'](_0x32864c(0x290),function(){const _0x586cbc=_0x32864c;_0xb59c00[_0x586cbc(0x19e)](_0x4c369f);});return;}_0x18518c[_0x32864c(0x2e3)]!==null&&(_0x18518c[_0x32864c(0x2e3)][_0x32864c(0x248)][_0x32864c(0x298)]?(_0x4c369f(),_0xb59c00[_0x32864c(0x214)][_0x32864c(0x2a2)]&&_0xb59c00[_0x32864c(0x204)]()):(_0x18518c['_socket'][_0x32864c(0x241)](_0x32864c(0x2c6),function(){_0x4c369f();}),_0x18518c['close']()));},_0xb59c00[_0x3763c1(0x274)]=function(){const _0x30619a=_0x3763c1;_0x18518c['isPaused']&&_0x18518c[_0x30619a(0x14f)]();},_0xb59c00['_write']=function(_0x385acb,_0x21667a,_0x3e37d9){const _0x232cdb=_0x3763c1;if(_0x18518c['readyState']===_0x18518c['CONNECTING']){_0x18518c[_0x232cdb(0x241)](_0x232cdb(0x290),function(){const _0x457757=_0x232cdb;_0xb59c00[_0x457757(0x1c8)](_0x385acb,_0x21667a,_0x3e37d9);});return;}_0x18518c['send'](_0x385acb,_0x3e37d9);},_0xb59c00['on'](_0x3763c1(0x213),_0x37c397),_0xb59c00['on'](_0x3763c1(0x15a),_0x253055),_0xb59c00;}return Oe=_0x7c4982,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2f592b}=ae();function _0x11de20(_0x59be75){const _0x55703a=_0x9265,_0x56d941=new Set();let _0x3ad4b9=-0x1,_0x3e3572=-0x1,_0x1ad5ba=0x0;for(_0x1ad5ba;_0x1ad5ba<_0x59be75['length'];_0x1ad5ba++){const _0x3033da=_0x59be75[_0x55703a(0x1e0)](_0x1ad5ba);if(_0x3e3572===-0x1&&_0x2f592b[_0x3033da]===0x1)_0x3ad4b9===-0x1&&(_0x3ad4b9=_0x1ad5ba);else{if(_0x1ad5ba!==0x0&&(_0x3033da===0x20||_0x3033da===0x9))_0x3e3572===-0x1&&_0x3ad4b9!==-0x1&&(_0x3e3572=_0x1ad5ba);else{if(_0x3033da===0x2c){if(_0x3ad4b9===-0x1)throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);_0x3e3572===-0x1&&(_0x3e3572=_0x1ad5ba);const _0x269a4e=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x3e3572);if(_0x56d941[_0x55703a(0x2a7)](_0x269a4e))throw new SyntaxError(_0x55703a(0x23b)+_0x269a4e+_0x55703a(0x16e));_0x56d941[_0x55703a(0x2da)](_0x269a4e),_0x3ad4b9=_0x3e3572=-0x1;}else throw new SyntaxError(_0x55703a(0x2d0)+_0x1ad5ba);}}}if(_0x3ad4b9===-0x1||_0x3e3572!==-0x1)throw new SyntaxError(_0x55703a(0x1f5));const _0x37ac4b=_0x59be75[_0x55703a(0x215)](_0x3ad4b9,_0x1ad5ba);if(_0x56d941['has'](_0x37ac4b))throw new SyntaxError(_0x55703a(0x23b)+_0x37ac4b+'\x22\x20subprotocol\x20is\x20duplicated');return _0x56d941[_0x55703a(0x2da)](_0x37ac4b),_0x56d941;}return Ce={'parse':_0x11de20},Ce;}var Te,rt;function Ft(){const _0x201707=_0x56ab5b;if(rt)return Te;rt=0x1;const _0x32671d=nt,_0x1cc82c=ot,{Duplex:_0x3acc43}=oe,{createHash:_0x4f2ce6}=Le,_0x1cb3e6=ct(),_0x30b189=he(),_0x1e67c2=At(),_0x28f4c1=Pe(),{GUID:_0x4f90c3,kWebSocket:_0x23e4fc}=H(),_0x4cd10c=/^[+/0-9A-Za-z]{22}==$/,_0x318eb2=0x0,_0x362121=0x1,_0x22b783=0x2;class _0x20b3fa extends _0x32671d{constructor(_0x3c724a,_0x286099){const _0xf53037=_0x9265;if(super(),_0x3c724a={'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':_0x28f4c1,..._0x3c724a},_0x3c724a[_0xf53037(0x137)]==null&&!_0x3c724a[_0xf53037(0x156)]&&!_0x3c724a[_0xf53037(0x2a9)]||_0x3c724a[_0xf53037(0x137)]!=null&&(_0x3c724a['server']||_0x3c724a[_0xf53037(0x2a9)])||_0x3c724a[_0xf53037(0x156)]&&_0x3c724a[_0xf53037(0x2a9)])throw new TypeError(_0xf53037(0x270));if(_0x3c724a[_0xf53037(0x137)]!=null?(this[_0xf53037(0x235)]=_0x1cc82c[_0xf53037(0x16b)]((_0x573916,_0x3143ff)=>{const _0x20de3f=_0xf53037,_0x1210a0=_0x1cc82c[_0x20de3f(0x224)][0x1aa];_0x3143ff[_0x20de3f(0x1dd)](0x1aa,{'Content-Length':_0x1210a0[_0x20de3f(0x12b)],'Content-Type':_0x20de3f(0x15e)}),_0x3143ff[_0x20de3f(0x213)](_0x1210a0);}),this['_server'][_0xf53037(0x200)](_0x3c724a['port'],_0x3c724a[_0xf53037(0x14a)],_0x3c724a[_0xf53037(0x15d)],_0x286099)):_0x3c724a['server']&&(this[_0xf53037(0x235)]=_0x3c724a[_0xf53037(0x156)]),this[_0xf53037(0x235)]){const _0x40bc9a=this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x18f));this[_0xf53037(0x1bb)]=_0x404572(this[_0xf53037(0x235)],{'listening':this[_0xf53037(0x22e)]['bind'](this,_0xf53037(0x239)),'error':this[_0xf53037(0x22e)][_0xf53037(0x284)](this,_0xf53037(0x15a)),'upgrade':(_0x4b0625,_0x277547,_0x4c9fa0)=>{const _0x42c079=_0xf53037;this[_0x42c079(0x2cb)](_0x4b0625,_0x277547,_0x4c9fa0,_0x40bc9a);}});}_0x3c724a['perMessageDeflate']===!0x0&&(_0x3c724a['perMessageDeflate']={}),_0x3c724a[_0xf53037(0x1b2)]&&(this[_0xf53037(0x20c)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0xf53037(0x242)]=_0x3c724a,this[_0xf53037(0x219)]=_0x318eb2;}[_0x201707(0x237)](){const _0x50af07=_0x201707;if(this[_0x50af07(0x242)][_0x50af07(0x2a9)])throw new Error(_0x50af07(0x1d4));return this[_0x50af07(0x235)]?this[_0x50af07(0x235)][_0x50af07(0x237)]():null;}[_0x201707(0x264)](_0x1dbdf){const _0x2c0150=_0x201707;if(this[_0x2c0150(0x219)]===_0x22b783){_0x1dbdf&&this[_0x2c0150(0x241)](_0x2c0150(0x264),()=>{_0x1dbdf(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x4a96ef,this);return;}if(_0x1dbdf&&this['once']('close',_0x1dbdf),this[_0x2c0150(0x219)]!==_0x362121){if(this[_0x2c0150(0x219)]=_0x362121,this[_0x2c0150(0x242)]['noServer']||this[_0x2c0150(0x242)][_0x2c0150(0x156)])this[_0x2c0150(0x235)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x2c0150(0x235)]=null),this[_0x2c0150(0x20c)]?this[_0x2c0150(0x20c)][_0x2c0150(0x1a5)]?this[_0x2c0150(0x229)]=!0x0:process[_0x2c0150(0x208)](_0x4a96ef,this):process['nextTick'](_0x4a96ef,this);else{const _0x5497cf=this[_0x2c0150(0x235)];this[_0x2c0150(0x1bb)](),this[_0x2c0150(0x1bb)]=this['_server']=null,_0x5497cf['close'](()=>{_0x4a96ef(this);});}}}['shouldHandle'](_0x15e8d1){const _0x5c55fd=_0x201707;if(this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)]){const _0x3e03b9=_0x15e8d1['url']['indexOf']('?');if((_0x3e03b9!==-0x1?_0x15e8d1['url']['slice'](0x0,_0x3e03b9):_0x15e8d1['url'])!==this[_0x5c55fd(0x242)][_0x5c55fd(0x2b0)])return!0x1;}return!0x0;}['handleUpgrade'](_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1){const _0x1257c7=_0x201707;_0x440d01['on'](_0x1257c7(0x15a),_0x5ea778);const _0x254d38=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2c3)],_0x2256bc=_0x4539d3[_0x1257c7(0x24a)][_0x1257c7(0x2e0)],_0x315378=+_0x4539d3[_0x1257c7(0x24a)]['sec-websocket-version'];if(_0x4539d3[_0x1257c7(0x1c6)]!=='GET'){_0x4488ab(this,_0x4539d3,_0x440d01,0x195,_0x1257c7(0x1eb));return;}if(_0x2256bc===void 0x0||_0x2256bc[_0x1257c7(0x1d5)]()!=='websocket'){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x19f));return;}if(_0x254d38===void 0x0||!_0x4cd10c[_0x1257c7(0x140)](_0x254d38)){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x315378!==0xd&&_0x315378!==0x8){_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x2d2),{'Sec-WebSocket-Version':_0x1257c7(0x1a1)});return;}if(!this[_0x1257c7(0x267)](_0x4539d3)){_0x17050a(_0x440d01,0x190);return;}const _0x80f638=_0x4539d3['headers']['sec-websocket-protocol'];let _0x50a31b=new Set();if(_0x80f638!==void 0x0)try{_0x50a31b=_0x1e67c2[_0x1257c7(0x217)](_0x80f638);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1a3));return;}const _0xd586b7=_0x4539d3['headers'][_0x1257c7(0x170)],_0x277714={};if(this['options']['perMessageDeflate']&&_0xd586b7!==void 0x0){const _0x57ece1=new _0x30b189(this[_0x1257c7(0x242)][_0x1257c7(0x14e)],!0x0,this[_0x1257c7(0x242)][_0x1257c7(0x2d4)]);try{const _0x30ba47=_0x1cb3e6[_0x1257c7(0x217)](_0xd586b7);_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]&&(_0x57ece1[_0x1257c7(0x2f2)](_0x30ba47[_0x30b189[_0x1257c7(0x2d5)]]),_0x277714[_0x30b189[_0x1257c7(0x2d5)]]=_0x57ece1);}catch{_0x4488ab(this,_0x4539d3,_0x440d01,0x190,_0x1257c7(0x1bc));return;}}if(this[_0x1257c7(0x242)][_0x1257c7(0x218)]){const _0x1fc5f8={'origin':_0x4539d3[_0x1257c7(0x24a)][''+(_0x315378===0x8?_0x1257c7(0x234):_0x1257c7(0x256))],'secure':!!(_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x139)]||_0x4539d3[_0x1257c7(0x192)][_0x1257c7(0x162)]),'req':_0x4539d3};if(this[_0x1257c7(0x242)]['verifyClient'][_0x1257c7(0x12b)]===0x2){this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8,(_0x433b9e,_0x555ab5,_0x2056fb,_0x254ef5)=>{const _0x2361f5=_0x1257c7;if(!_0x433b9e)return _0x17050a(_0x440d01,_0x555ab5||0x191,_0x2056fb,_0x254ef5);this[_0x2361f5(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);});return;}if(!this[_0x1257c7(0x242)][_0x1257c7(0x218)](_0x1fc5f8))return _0x17050a(_0x440d01,0x191);}this[_0x1257c7(0x2e7)](_0x277714,_0x254d38,_0x50a31b,_0x4539d3,_0x440d01,_0x1159b6,_0x2f3cf1);}[_0x201707(0x2e7)](_0x4e0a94,_0x5315ff,_0x36cd7a,_0x3b29ea,_0x214f8f,_0x2f90f8,_0x1d58d1){const _0x3cc0a4=_0x201707;if(!_0x214f8f[_0x3cc0a4(0x2c1)]||!_0x214f8f[_0x3cc0a4(0x1be)])return _0x214f8f['destroy']();if(_0x214f8f[_0x23e4fc])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x3cc0a4(0x219)]>_0x318eb2)return _0x17050a(_0x214f8f,0x1f7);const _0x58f012=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3cc0a4(0x297),_0x3cc0a4(0x2c2),'Sec-WebSocket-Accept:\x20'+_0x4f2ce6(_0x3cc0a4(0x2d1))['update'](_0x5315ff+_0x4f90c3)[_0x3cc0a4(0x20a)]('base64')],_0x277ff7=new this[(_0x3cc0a4(0x242))][(_0x3cc0a4(0x22f))](null,void 0x0,this[_0x3cc0a4(0x242)]);if(_0x36cd7a['size']){const _0x4f1240=this[_0x3cc0a4(0x242)][_0x3cc0a4(0x176)]?this['options'][_0x3cc0a4(0x176)](_0x36cd7a,_0x3b29ea):_0x36cd7a[_0x3cc0a4(0x251)]()[_0x3cc0a4(0x160)]()[_0x3cc0a4(0x18b)];_0x4f1240&&(_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x238)+_0x4f1240),_0x277ff7[_0x3cc0a4(0x1aa)]=_0x4f1240);}if(_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]]){const _0x53f8fb=_0x4e0a94[_0x30b189[_0x3cc0a4(0x2d5)]][_0x3cc0a4(0x25d)],_0x5e591c=_0x1cb3e6[_0x3cc0a4(0x17c)]({[_0x30b189[_0x3cc0a4(0x2d5)]]:[_0x53f8fb]});_0x58f012[_0x3cc0a4(0x2e1)](_0x3cc0a4(0x1f1)+_0x5e591c),_0x277ff7[_0x3cc0a4(0x2c8)]=_0x4e0a94;}this[_0x3cc0a4(0x22e)](_0x3cc0a4(0x24a),_0x58f012,_0x3b29ea),_0x214f8f[_0x3cc0a4(0x249)](_0x58f012[_0x3cc0a4(0x19c)]('\x0d\x0a')[_0x3cc0a4(0x1e7)]('\x0d\x0a')),_0x214f8f[_0x3cc0a4(0x220)](_0x3cc0a4(0x15a),_0x5ea778),_0x277ff7['setSocket'](_0x214f8f,_0x2f90f8,{'allowSynchronousEvents':this[_0x3cc0a4(0x242)]['allowSynchronousEvents'],'maxPayload':this[_0x3cc0a4(0x242)][_0x3cc0a4(0x2d4)],'skipUTF8Validation':this['options'][_0x3cc0a4(0x193)]}),this[_0x3cc0a4(0x20c)]&&(this['clients'][_0x3cc0a4(0x2da)](_0x277ff7),_0x277ff7['on']('close',()=>{const _0x4628d7=_0x3cc0a4;this[_0x4628d7(0x20c)][_0x4628d7(0x281)](_0x277ff7),this[_0x4628d7(0x229)]&&!this[_0x4628d7(0x20c)]['size']&&process[_0x4628d7(0x208)](_0x4a96ef,this);})),_0x1d58d1(_0x277ff7,_0x3b29ea);}}Te=_0x20b3fa;function _0x404572(_0x3a42ff,_0x739ff1){for(const _0x33ee71 of Object['keys'](_0x739ff1))_0x3a42ff['on'](_0x33ee71,_0x739ff1[_0x33ee71]);return function(){const _0x24c659=_0x9265;for(const _0x3be120 of Object[_0x24c659(0x164)](_0x739ff1))_0x3a42ff[_0x24c659(0x220)](_0x3be120,_0x739ff1[_0x3be120]);};}function _0x4a96ef(_0x5c78b6){const _0x19ec3b=_0x201707;_0x5c78b6[_0x19ec3b(0x219)]=_0x22b783,_0x5c78b6[_0x19ec3b(0x22e)]('close');}function _0x5ea778(){const _0x424171=_0x201707;this[_0x424171(0x204)]();}function _0x17050a(_0x55e530,_0x55a4a9,_0x497dfd,_0x393cd6){const _0x5e9c6f=_0x201707;_0x497dfd=_0x497dfd||_0x1cc82c['STATUS_CODES'][_0x55a4a9],_0x393cd6={'Connection':_0x5e9c6f(0x264),'Content-Type':_0x5e9c6f(0x1d7),'Content-Length':Buffer[_0x5e9c6f(0x2d6)](_0x497dfd),..._0x393cd6},_0x55e530[_0x5e9c6f(0x241)]('finish',_0x55e530[_0x5e9c6f(0x204)]),_0x55e530[_0x5e9c6f(0x213)]('HTTP/1.1\x20'+_0x55a4a9+'\x20'+_0x1cc82c[_0x5e9c6f(0x224)][_0x55a4a9]+'\x0d\x0a'+Object[_0x5e9c6f(0x164)](_0x393cd6)[_0x5e9c6f(0x2ea)](_0x3a6d1b=>_0x3a6d1b+':\x20'+_0x393cd6[_0x3a6d1b])[_0x5e9c6f(0x1e7)]('\x0d\x0a')+_0x5e9c6f(0x175)+_0x497dfd);}function _0x4488ab(_0x456ffc,_0x229092,_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1){const _0x4f8be9=_0x201707;if(_0x456ffc[_0x4f8be9(0x1ec)](_0x4f8be9(0x271))){const _0x566ab1=new Error(_0x78f771);Error[_0x4f8be9(0x21e)](_0x566ab1,_0x4488ab),_0x456ffc[_0x4f8be9(0x22e)](_0x4f8be9(0x271),_0x566ab1,_0xf7cd36,_0x229092);}else _0x17050a(_0xf7cd36,_0x119a64,_0x78f771,_0x4447a1);}return Te;}Ft();var jt=Object[_0x56ab5b(0x1af)],Wt=(_0x5a1a0c,_0x3b0213,_0xc58ec,_0x36fa95)=>{const _0x1fab4f=_0x56ab5b;for(var _0x2bf4bf=_0x36fa95>0x1?void 0x0:_0x36fa95?jt(_0x3b0213,_0xc58ec):_0x3b0213,_0x4e1182=_0x5a1a0c[_0x1fab4f(0x12b)]-0x1,_0x12e442;_0x4e1182>=0x0;_0x4e1182--)(_0x12e442=_0x5a1a0c[_0x4e1182])&&(_0x2bf4bf=_0x12e442(_0x2bf4bf)||_0x2bf4bf);return _0x2bf4bf;},qt=(_0x47dffe,_0x401b84)=>(_0x422416,_0x1ac0df)=>_0x401b84(_0x422416,_0x1ac0df,_0x47dffe);let ke=class extends A[_0x56ab5b(0x153)]{constructor(_0x24b197){super(),this['_configService']=_0x24b197;}[_0x56ab5b(0x2d8)](_0x1d62be){const _0x27044d=_0x56ab5b;var _0x4323e5;const _0x115ae3=(_0x4323e5=this['_configService'][_0x27044d(0x259)](fe))==null?void 0x0:_0x4323e5[_0x27044d(0x14d)];try{const _0x36239e=new $t(_0x1d62be,{'headers':{..._0x115ae3}}),_0x28af13=new A['DisposableCollection']();return{'URL':_0x1d62be,'close':(_0x8edc48,_0x169b22)=>{const _0x141945=_0x27044d;_0x36239e[_0x141945(0x264)](_0x8edc48,_0x169b22),_0x28af13[_0x141945(0x1e1)]();},'send':_0x3f84b2=>{const _0x48d3a4=_0x27044d;_0x36239e[_0x48d3a4(0x1c4)](_0x3f84b2);},'open$':new V[(_0x27044d(0x2ae))](_0x4381fa=>{const _0x19c4da=_0x27044d,_0x335c04=_0x4265f7=>_0x4381fa[_0x19c4da(0x160)](_0x4265f7);_0x36239e[_0x19c4da(0x2ef)](_0x19c4da(0x290),_0x335c04),_0x28af13[_0x19c4da(0x2da)](A[_0x19c4da(0x1f2)](()=>_0x36239e[_0x19c4da(0x1e8)](_0x19c4da(0x290),_0x335c04)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'close$':new V[(_0x27044d(0x2ae))](_0xf52104=>{const _0x45373a=_0x27044d,_0x37b2c2=_0xb6327a=>_0xf52104[_0x45373a(0x160)](_0xb6327a);_0x36239e[_0x45373a(0x2ef)]('close',_0x37b2c2),_0x28af13[_0x45373a(0x2da)](A[_0x45373a(0x1f2)](()=>_0x36239e[_0x45373a(0x1e8)](_0x45373a(0x264),_0x37b2c2)));})['pipe'](V['share']()),'error$':new V[(_0x27044d(0x2ae))](_0x56708f=>{const _0x55ebd7=_0x27044d,_0x39cb2e=_0x19cf03=>_0x56708f['next'](_0x19cf03);_0x36239e[_0x55ebd7(0x2ef)]('error',_0x39cb2e),_0x28af13['add'](A[_0x55ebd7(0x1f2)](()=>_0x36239e[_0x55ebd7(0x1e8)](_0x55ebd7(0x15a),_0x39cb2e)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]()),'message$':new V[(_0x27044d(0x2ae))](_0x579d4f=>{const _0x90a08b=_0x27044d,_0x424b78=_0x2b9a2d=>_0x579d4f[_0x90a08b(0x160)](_0x2b9a2d);_0x36239e['addEventListener']('message',_0x424b78),_0x28af13[_0x90a08b(0x2da)](A[_0x90a08b(0x1f2)](()=>_0x36239e[_0x90a08b(0x1e8)](_0x90a08b(0x27f),_0x424b78)));})[_0x27044d(0x1df)](V[_0x27044d(0x1c1)]())};}catch(_0x2a648a){return console[_0x27044d(0x15a)](_0x2a648a),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x56ab5b(0x209)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5b2f86,_0xd1839c,_0x5df3d7)=>_0xd1839c in _0x5b2f86?Gt(_0x5b2f86,_0xd1839c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5df3d7}):_0x5b2f86[_0xd1839c]=_0x5df3d7,zt=(_0x417b1f,_0x5cc45a,_0x41b46f,_0x3bcfc)=>{const _0x3e2875=_0x56ab5b;for(var _0x2553f2=_0x3bcfc>0x1?void 0x0:_0x3bcfc?Vt(_0x5cc45a,_0x41b46f):_0x5cc45a,_0x59190a=_0x417b1f[_0x3e2875(0x12b)]-0x1,_0x32aa84;_0x59190a>=0x0;_0x59190a--)(_0x32aa84=_0x417b1f[_0x59190a])&&(_0x2553f2=_0x32aa84(_0x2553f2)||_0x2553f2);return _0x2553f2;},Ne=(_0xae28bf,_0x347d20)=>(_0x2407c1,_0x1cf5fc)=>_0x347d20(_0x2407c1,_0x1cf5fc,_0xae28bf),Yt=(_0x38ae1d,_0x1ac5a0,_0x8cb566)=>Ht(_0x38ae1d,_0x1ac5a0+'',_0x8cb566);exports[_0x56ab5b(0x1f7)]=class extends A[_0x56ab5b(0x222)]{constructor(_0x410a50=Ct,_0x46db7e,_0x257510,_0x4727ef){const _0x1bcad6=_0x56ab5b;_0x410a50[_0x1bcad6(0x14d)]||_0x46db7e[_0x1bcad6(0x232)](_0x1bcad6(0x2ec)),super(),this[_0x1bcad6(0x2ce)]=_0x257510,this[_0x1bcad6(0x1f4)]=_0x4727ef,this[_0x1bcad6(0x2ce)][_0x1bcad6(0x1d0)](fe,_0x410a50);}[_0x56ab5b(0x26d)](){const _0x47134d=_0x56ab5b;this[_0x47134d(0x22a)]();}[_0x56ab5b(0x22a)](){const _0xdc5954=_0x56ab5b;A[_0xdc5954(0x1c2)](this[_0xdc5954(0x1f4)],[[it[_0xdc5954(0x197)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x56ab5b(0x1a2),_0x56ab5b(0x143)),exports[_0x56ab5b(0x1f7)]=zt([A[_0x56ab5b(0x169)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x56ab5b(0x194)]),Ne(0x2,A[_0x56ab5b(0x2a8)]),Ne(0x3,A['Inject'](A[_0x56ab5b(0x1fe)]))],exports[_0x56ab5b(0x1f7)]);var Kt=Object[_0x56ab5b(0x1af)],Xt=(_0x46d317,_0xf6797d,_0x2764a0,_0x2e0f39)=>{const _0x317ba1=_0x56ab5b;for(var _0x5156ce=_0x2e0f39>0x1?void 0x0:_0x2e0f39?Kt(_0xf6797d,_0x2764a0):_0xf6797d,_0x2503cb=_0x46d317[_0x317ba1(0x12b)]-0x1,_0x2cca7a;_0x2503cb>=0x0;_0x2503cb--)(_0x2cca7a=_0x46d317[_0x2503cb])&&(_0x5156ce=_0x2cca7a(_0x5156ce)||_0x5156ce);return _0x5156ce;},ne=(_0x3bd626,_0x493e6d)=>(_0x3f396c,_0x46f817)=>_0x493e6d(_0x3f396c,_0x46f817,_0x3bd626);exports[_0x56ab5b(0x173)]=class extends st[_0x56ab5b(0x1f0)]{constructor(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0){const _0x277a6e=_0x56ab5b;super(_0x29298e,_0x27eb87,_0x3d11c3,_0x526722,_0x55f2f0);const _0x51dac0=this[_0x277a6e(0x2ce)][_0x277a6e(0x259)](fe);this[_0x277a6e(0x210)]['registerHTTPInterceptor']({'interceptor':(_0x544d04,_0xf40a65)=>{const _0x4a47dc=_0x277a6e;var _0x3f602c;const _0x47e4ce=_0x544d04[_0x4a47dc(0x24a)];return(_0x3f602c=_0x51dac0==null?void 0x0:_0x51dac0[_0x4a47dc(0x14d)])!=null&&_0x3f602c['cookie']&&_0x47e4ce['set'](_0x4a47dc(0x2f0),_0x51dac0[_0x4a47dc(0x14d)][_0x4a47dc(0x13b)]),_0xf40a65(_0x544d04);}});}async['createSocket'](_0x28e6d4){return this['_doCreateSocket'](_0x28e6d4);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x56ab5b(0x279)](A[_0x56ab5b(0x1fe)])),ne(0x1,A[_0x56ab5b(0x279)](it['HTTPService'])),ne(0x2,A[_0x56ab5b(0x2a8)]),ne(0x3,A[_0x56ab5b(0x194)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x56ab5b(0x226)]=fe;
|