@univerjs-pro/collaboration-client-node 0.6.5 → 0.6.6-experimental.20250319-2bbe26f
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/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4146(_0x1b2326,_0x43f5fa){const _0x3458f8=_0x3458();return _0x4146=function(_0x414627,_0x1ddcb7){_0x414627=_0x414627-0x8b;let _0x1b6443=_0x3458f8[_0x414627];return _0x1b6443;},_0x4146(_0x1b2326,_0x43f5fa);}const _0x1a88ea=_0x4146;(function(_0x3ad5c0,_0x46b8f4){const _0x23a4c1=_0x4146,_0x4bceef=_0x3ad5c0();while(!![]){try{const _0x192327=parseInt(_0x23a4c1(0x1ab))/0x1*(parseInt(_0x23a4c1(0x98))/0x2)+-parseInt(_0x23a4c1(0x197))/0x3*(-parseInt(_0x23a4c1(0xfa))/0x4)+parseInt(_0x23a4c1(0x10d))/0x5+-parseInt(_0x23a4c1(0x1dc))/0x6*(-parseInt(_0x23a4c1(0x1a4))/0x7)+-parseInt(_0x23a4c1(0x1b6))/0x8*(-parseInt(_0x23a4c1(0xd0))/0x9)+parseInt(_0x23a4c1(0x1d9))/0xa*(-parseInt(_0x23a4c1(0x109))/0xb)+-parseInt(_0x23a4c1(0x135))/0xc;if(_0x192327===_0x46b8f4)break;else _0x4bceef['push'](_0x4bceef['shift']());}catch(_0x19ebb9){_0x4bceef['push'](_0x4bceef['shift']());}}}(_0x3458,0xa871f));import{UniverCollaborationClientPlugin as _0x20ed4e,CollaborationSocketService as _0x2c7461}from'@univerjs-pro/collaboration-client';import{Disposable as _0x168759,DisposableCollection as _0x36d207,toDisposable as _0x4972b0,IConfigService as _0x30fdcc,DependentOn as _0x4a3f19,ILogService as _0x211cff,Inject as _0x1ddd77,Injector as _0x182d6c,Plugin as _0x4e5031,registerDependencies as _0x4233a8}from'@univerjs/core';import{ISocketService as _0xbbe567,HTTPService as _0x5c30e4}from'@univerjs/network';import{Observable as _0x439509,share as _0x4ed89b}from'rxjs';function _0x3458(){const _0xd9d6a3=['pong','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_injector','object','_loop','kIsForOnEventAttribute','_socket','invalid\x20opcode\x200','auth','_state','listen','readUInt16BE','join','compress','statusCode','_bufferedAmount','_originalHostOrSocketPath','finish','clientMaxWindowBits','string','finishRequest','getBlobData','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','MASK\x20must\x20be\x20set','server','connect','setTimeout','timeout','Sec-WebSocket-Extensions','ws:','size','File','resume','removeEventListener','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','removeAllListeners','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','listeners','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WS_ERR_UNEXPECTED_RSV_2_3','bufferedAmount','_deflate','\x22\x20subprotocol\x20is\x20duplicated','slice','handleUpgrade','90icTKSb','cork','values','total-length','method','getData','onopen','_removeListeners','options','kError','finished','Sec-WebSocket-Protocol','addEventListener','getInfo','FIN\x20must\x20be\x20set','username','handshakeTimeout','_paused','map','rsv1','perMessageDeflate','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isIP','decompress','The\x20\x22','protocolVersion','objectMode','alloc','Cookie','WS_ERR_EXPECTED_FIN','wasClean','pending','kListener','noServer','clients','haveLength','apply','defaultPort','origin','indexOf','_final','followRedirects','12akfYIq','Unexpected\x20end\x20of\x20input','generateMask','_fragments','_closeMessage','__esModule','prototype','setConfig','Invalid\x20value\x20for\x20parameter\x20\x22','writeUInt16BE','client_max_window_bits','_fragmented','writeUIntBE','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_firstFragment','11zsdOtn','Sec-WebSocket-Extensions:\x20','readyState','response','6829495RSECKc','CONNECTING','reset','update','_originalIpc','password','base64','normalizeParams','authorization','Invalid\x20HTTP\x20method','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','uncork','frame','permessage-deflate','set','add','charCodeAt','_payloadLength','setNoDelay','WS_NO_UTF_8_VALIDATE','offer','hasOwnProperty','concat','maxRedirects','blob','_autoPong','websocket','extensions','isInteger','zlibInflateOptions','acceptAsServer','_sender','sendFrame','server_no_context_takeover','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','getOwnPropertyDescriptor','Upgrade:\x20websocket','invalid\x20payload\x20length\x20','dispose','STATUS_CODES','22876320oDvlrv','keys','byteLength','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Sec-WebSocket-Accept\x20header','getConfig','skipUTF8Validation','WebSocket','message','Opening\x20handshake\x20has\x20timed\x20out','warn','_httpService','endEmitted','write','function','_protocol','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','completeUpgrade','RSV1\x20must\x20be\x20clear','freeze','unshift','hash','_inflate','customHeaders','client','create','_receiver','Unexpected\x20server\x20response:\x20','maxPayload','address','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','The\x20server\x20is\x20not\x20running','Unexpected\x20character\x20at\x20index\x20','headers','type','Maximum\x20redirects\x20exceeded','toString','href','default','test','consume','flush','_compress','verifyClient','The\x20URL\x27s\x20pathname\x20is\x20empty','opcode','unmask','Sec-WebSocket-Origin','nextTick','writeHead','Origin','open','constructor','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','wss:','once','code','_shouldEmitClose','shift','controlMessage','isPaused','host','kTarget','The\x20URL\x20contains\x20a\x20fragment\x20identifier','params','needDrain','replace','isArray','binaryType','sec-websocket-extensions','CLOSING','HTTP/1.1\x20101\x20Switching\x20Protocols','defineProperty','upgrade','captureStackTrace','target','construct','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_isServer','MASK\x20must\x20be\x20clear','authorized','dequeue','\x22:\x20','pow','has','Max\x20payload\x20size\x20exceeded','_doCreateSocket','handleEvent','OPEN','_options','_generateMask','CLOSED','startLoop','_configService','WS_ERR_INVALID_UTF8','call','_binaryType','fragments','293094qnBrIA','isValidUTF8','listening','env','servername','path','_masked','buffer','_fin','socketPath','_extensions','accept','client_no_context_takeover','1750231chjZIy','kReason','Sec-WebSocket-Protocol:\x20','includes','_skipUTF8Validation','createDeflateRaw','Invalid\x20WebSocket\x20frame:\x20','500452YQZVmC','delete','clientNoContextTakeover','createConnection','species','Blob','send','acceptAsClient','getPayloadLength64','data','invalid\x20UTF-8\x20sequence','851920chMXAT','onStarting','socket','onmessage','forEach','number','_bufferedBytes','stream','arrayBuffer','Basic\x20','redirect','extensionName','_totalPayloadLength','Z_SYNC_FLUSH','server_max_window_bits','threshold','WS_ERR_UNEXPECTED_RSV_1','sha1','_compressed','maskBuffer','_closeTimer','Z_DEFAULT_WINDOWBITS','shouldHandle','ping','_opcode','setSocket','_threshold','backlog','sec-websocket-protocol','isView','find','_maskBuffer','serverNoContextTakeover','\x20(supported\x20versions:\x20','_originalSecure','13781330cpsJzA','enqueue','_errorEmitted','18BAvvZG','_queue','_closeFrameSent','WS_ERR_INVALID_OPCODE','port','sec-websocket-version','_read','parse','arraybuffer','_maxPayload','onerror','conclude','allocUnsafe','zlibDeflateOptions','destroy','_buffers','allowSynchronousEvents','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','toLowerCase','terminate','location','fin','handleProtocols','Invalid\x20Upgrade\x20header','connection','url','Upgrade','_closeFrameReceived','listenerCount','entries','pluginName','isServer','kData','byteOffset','Module','kRun','_max_window_bits','end','reason','emitClose','Invalid\x20URL:\x20','_write','exports','serverMaxWindowBits','_readableState','bind','dispatch','jobs','createServer','concurrencyLimit','registerHTTPInterceptor','encrypted','cleanup','concurrency','HTTP/1.1\x20','pause','createError','wsClientError','_allowSynchronousEvents','WS_ERR_UNEXPECTED_MASK','nodebuffer','emit','autoPong','kDone','WebSocket\x20is\x20not\x20open:\x20readyState\x20','close','_server','Server\x20sent\x20no\x20subprotocol','removeListener','error','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','read','_writableState','from','readOnly','GET','hostname','_closeCode','mask','_mask','Connection:\x20Upgrade','drain','request','pathname','createInflateRaw','createSocket','isBuffer','_req','destroyed','pipe','errorEmitted','collaboration-client-node.config','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','format','dataMessage','length','_registerDependencies','Parameter\x20\x22','_readyState','abort','ws+unix:','protocol','toStringTag','2zfcQJI','_redirects','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_messageLength','invalid\x20opcode\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','next','push','getMask','cookie'];_0x3458=function(){return _0xd9d6a3;};return _0x3458();}import _0xb1590 from'events';import _0x391d4b from'https';import _0x301e77 from'http';import _0x561a68 from'net';import _0x21ad07 from'tls';import _0x450d90 from'crypto';import _0x5a7211 from'stream';import _0x4d4ada from'url';import _0x3bf71d from'zlib';import _0x4e6a11 from'buffer';import{ISnapshotServerService as _0x27fad9}from'@univerjs-pro/collaboration';const Be=_0x1a88ea(0x8c),Ft={'customHeaders':{}};function Wt(_0x22f043){const _0x2774d7=_0x1a88ea;return _0x22f043&&_0x22f043[_0x2774d7(0xff)]&&Object[_0x2774d7(0x100)][_0x2774d7(0x122)]['call'](_0x22f043,'default')?_0x22f043[_0x2774d7(0x15b)]:_0x22f043;}function ut(_0x6adf37){const _0x233bbd=_0x1a88ea;if(_0x6adf37[_0x233bbd(0xff)])return _0x6adf37;var _0x34ba82=_0x6adf37[_0x233bbd(0x15b)];if(typeof _0x34ba82==_0x233bbd(0x143)){var _0x40c0cd=function _0x3e98b3(){const _0x1f654a=_0x233bbd;return this instanceof _0x3e98b3?Reflect[_0x1f654a(0x181)](_0x34ba82,arguments,this[_0x1f654a(0x169)]):_0x34ba82[_0x1f654a(0xf4)](this,arguments);};_0x40c0cd[_0x233bbd(0x100)]=_0x34ba82[_0x233bbd(0x100)];}else _0x40c0cd={};return Object[_0x233bbd(0x17d)](_0x40c0cd,'__esModule',{'value':!0x0}),Object[_0x233bbd(0x136)](_0x6adf37)['forEach'](function(_0x154af2){const _0x232642=_0x233bbd;var _0x84656d=Object['getOwnPropertyDescriptor'](_0x6adf37,_0x154af2);Object[_0x232642(0x17d)](_0x40c0cd,_0x154af2,_0x84656d['get']?_0x84656d:{'enumerable':!0x0,'get':function(){return _0x6adf37[_0x154af2];}});}),_0x40c0cd;}var te={'exports':{}},ge,Ye;function V(){const _0x8622f=_0x1a88ea;if(Ye)return ge;Ye=0x1;const _0x53b06a=[_0x8622f(0x218),_0x8622f(0x1e4),_0x8622f(0x196)],_0x39d615=typeof Blob<'u';return _0x39d615&&_0x53b06a[_0x8622f(0xa0)](_0x8622f(0x125)),ge={'BINARY_TYPES':_0x53b06a,'EMPTY_BUFFER':Buffer[_0x8622f(0xeb)](0x0),'GUID':_0x8622f(0x153),'hasBlob':_0x39d615,'kForOnEventAttribute':Symbol(_0x8622f(0xa8)),'kListener':Symbol(_0x8622f(0xf0)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x1a88ea(0x17d)]({'__proto__':null,'default':jt},Symbol[_0x1a88ea(0x97)],{'value':_0x1a88ea(0x1fe)})),Vt=ut(Gt);var Ke;function ce(){const _0xb585e6=_0x1a88ea;if(Ke)return te[_0xb585e6(0x206)];Ke=0x1;const {EMPTY_BUFFER:_0x272655}=V(),_0x37283e=Buffer[Symbol[_0xb585e6(0x1af)]];function _0x592428(_0x119fbd,_0x47a066){const _0x23ac4c=_0xb585e6;if(_0x119fbd[_0x23ac4c(0x90)]===0x0)return _0x272655;if(_0x119fbd[_0x23ac4c(0x90)]===0x1)return _0x119fbd[0x0];const _0x333b12=Buffer[_0x23ac4c(0x1e8)](_0x47a066);let _0x2431a1=0x0;for(let _0x2074d5=0x0;_0x2074d5<_0x119fbd['length'];_0x2074d5++){const _0x37b0e0=_0x119fbd[_0x2074d5];_0x333b12[_0x23ac4c(0x11b)](_0x37b0e0,_0x2431a1),_0x2431a1+=_0x37b0e0[_0x23ac4c(0x90)];}return _0x2431a1<_0x47a066?new _0x37283e(_0x333b12[_0x23ac4c(0x19e)],_0x333b12[_0x23ac4c(0x1fd)],_0x2431a1):_0x333b12;}function _0x39dfc6(_0x10ce13,_0xb80afb,_0x34192f,_0x1001a9,_0x412803){for(let _0x46d54f=0x0;_0x46d54f<_0x412803;_0x46d54f++)_0x34192f[_0x1001a9+_0x46d54f]=_0x10ce13[_0x46d54f]^_0xb80afb[_0x46d54f&0x3];}function _0x14b3f2(_0x14570b,_0x29529b){const _0x4280a7=_0xb585e6;for(let _0x3ef236=0x0;_0x3ef236<_0x14570b[_0x4280a7(0x90)];_0x3ef236++)_0x14570b[_0x3ef236]^=_0x29529b[_0x3ef236&0x3];}function _0x5298d1(_0x1c9c13){const _0x92bdf4=_0xb585e6;return _0x1c9c13[_0x92bdf4(0x90)]===_0x1c9c13['buffer'][_0x92bdf4(0x137)]?_0x1c9c13[_0x92bdf4(0x19e)]:_0x1c9c13[_0x92bdf4(0x19e)][_0x92bdf4(0xce)](_0x1c9c13[_0x92bdf4(0x1fd)],_0x1c9c13[_0x92bdf4(0x1fd)]+_0x1c9c13[_0x92bdf4(0x90)]);}function _0xa30ddf(_0x2e0386){const _0x33fa99=_0xb585e6;if(_0xa30ddf['readOnly']=!0x0,Buffer[_0x33fa99(0x232)](_0x2e0386))return _0x2e0386;let _0x304ff5;return _0x2e0386 instanceof ArrayBuffer?_0x304ff5=new _0x37283e(_0x2e0386):ArrayBuffer[_0x33fa99(0x1d3)](_0x2e0386)?_0x304ff5=new _0x37283e(_0x2e0386[_0x33fa99(0x19e)],_0x2e0386['byteOffset'],_0x2e0386['byteLength']):(_0x304ff5=Buffer['from'](_0x2e0386),_0xa30ddf[_0x33fa99(0x226)]=!0x1),_0x304ff5;}if(te['exports']={'concat':_0x592428,'mask':_0x39dfc6,'toArrayBuffer':_0x5298d1,'toBuffer':_0xa30ddf,'unmask':_0x14b3f2},!process[_0xb585e6(0x19a)]['WS_NO_BUFFER_UTIL'])try{const _0x334f02=Vt;te[_0xb585e6(0x206)][_0xb585e6(0x22a)]=function(_0x190e4c,_0x264983,_0x4f36b0,_0x263d6d,_0x13ce5a){_0x13ce5a<0x30?_0x39dfc6(_0x190e4c,_0x264983,_0x4f36b0,_0x263d6d,_0x13ce5a):_0x334f02['mask'](_0x190e4c,_0x264983,_0x4f36b0,_0x263d6d,_0x13ce5a);},te['exports'][_0xb585e6(0x163)]=function(_0x3ff54c,_0x1f02bb){const _0x41fd85=_0xb585e6;_0x3ff54c[_0x41fd85(0x90)]<0x20?_0x14b3f2(_0x3ff54c,_0x1f02bb):_0x334f02['unmask'](_0x3ff54c,_0x1f02bb);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x303718=_0x1a88ea;if(Xe)return ye;Xe=0x1;const _0x110cfb=Symbol(_0x303718(0x21b)),_0x38ccfd=Symbol(_0x303718(0x1ff));class _0x5caaee{constructor(_0x43c1fa){const _0x442017=_0x303718;this[_0x110cfb]=()=>{const _0x455937=_0x4146;this[_0x455937(0xef)]--,this[_0x38ccfd]();},this[_0x442017(0x211)]=_0x43c1fa||0x1/0x0,this[_0x442017(0x20b)]=[],this[_0x442017(0xef)]=0x0;}[_0x303718(0x11c)](_0x22d79c){const _0x5b49c1=_0x303718;this[_0x5b49c1(0x20b)]['push'](_0x22d79c),this[_0x38ccfd]();}[_0x38ccfd](){const _0x11269=_0x303718;if(this[_0x11269(0xef)]!==this[_0x11269(0x211)]&&this[_0x11269(0x20b)][_0x11269(0x90)]){const _0x423da8=this['jobs'][_0x11269(0x16f)]();this[_0x11269(0xef)]++,_0x423da8(this[_0x110cfb]);}}}return ye=_0x5caaee,ye;}var ve,Ze;function he(){const _0x39a04c=_0x1a88ea;if(Ze)return ve;Ze=0x1;const _0x558ce6=_0x3bf71d,_0x1fe5db=ce(),_0x2024b5=qt(),{kStatusCode:_0x3f56ed}=V(),_0x39abe3=Buffer[Symbol[_0x39a04c(0x1af)]],_0x18f2ee=Buffer[_0x39a04c(0x225)]([0x0,0x0,0xff,0xff]),_0x50a20b=Symbol(_0x39a04c(0x11a)),_0x118256=Symbol(_0x39a04c(0xd3)),_0x361781=Symbol('callback'),_0x3b6714=Symbol('buffers'),_0x10c29e=Symbol(_0x39a04c(0x221));let _0x2d06f3;class _0x2bc9af{constructor(_0x4b2160,_0x338d10,_0x4b8feb){const _0x4ea7bd=_0x39a04c;if(this[_0x4ea7bd(0x1e5)]=_0x4b8feb|0x0,this[_0x4ea7bd(0x18e)]=_0x4b2160||{},this['_threshold']=this['_options'][_0x4ea7bd(0x1c5)]!==void 0x0?this[_0x4ea7bd(0x18e)][_0x4ea7bd(0x1c5)]:0x400,this[_0x4ea7bd(0x183)]=!!_0x338d10,this[_0x4ea7bd(0xcc)]=null,this[_0x4ea7bd(0x14b)]=null,this[_0x4ea7bd(0x175)]=null,!_0x2d06f3){const _0x10014e=this['_options'][_0x4ea7bd(0x20d)]!==void 0x0?this['_options'][_0x4ea7bd(0x20d)]:0xa;_0x2d06f3=new _0x2024b5(_0x10014e);}}static get[_0x39a04c(0x1c1)](){return'permessage-deflate';}[_0x39a04c(0x121)](){const _0x2ebade=_0x39a04c,_0x5521fa={};return this['_options']['serverNoContextTakeover']&&(_0x5521fa[_0x2ebade(0x12e)]=!0x0),this[_0x2ebade(0x18e)][_0x2ebade(0x1ad)]&&(_0x5521fa[_0x2ebade(0x1a3)]=!0x0),this[_0x2ebade(0x18e)][_0x2ebade(0x207)]&&(_0x5521fa[_0x2ebade(0x1c4)]=this[_0x2ebade(0x18e)][_0x2ebade(0x207)]),this[_0x2ebade(0x18e)][_0x2ebade(0xb5)]?_0x5521fa[_0x2ebade(0x104)]=this['_options'][_0x2ebade(0xb5)]:this['_options'][_0x2ebade(0xb5)]==null&&(_0x5521fa[_0x2ebade(0x104)]=!0x0),_0x5521fa;}[_0x39a04c(0x1a2)](_0x16c00d){const _0x1b8b77=_0x39a04c;return _0x16c00d=this[_0x1b8b77(0x114)](_0x16c00d),this[_0x1b8b77(0x175)]=this[_0x1b8b77(0x183)]?this[_0x1b8b77(0x12b)](_0x16c00d):this[_0x1b8b77(0x1b2)](_0x16c00d),this[_0x1b8b77(0x175)];}[_0x39a04c(0x210)](){const _0x5c8749=_0x39a04c;if(this[_0x5c8749(0x14b)]&&(this[_0x5c8749(0x14b)][_0x5c8749(0x21d)](),this[_0x5c8749(0x14b)]=null),this[_0x5c8749(0xcc)]){const _0x4b6702=this['_deflate'][_0x361781];this[_0x5c8749(0xcc)][_0x5c8749(0x21d)](),this[_0x5c8749(0xcc)]=null,_0x4b6702&&_0x4b6702(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x39a04c(0x12b)](_0x5c7e93){const _0x114ab8=_0x39a04c,_0x18c377=this[_0x114ab8(0x18e)],_0x4384fe=_0x5c7e93[_0x114ab8(0x1d4)](_0xd600fa=>!(_0x18c377['serverNoContextTakeover']===!0x1&&_0xd600fa[_0x114ab8(0x12e)]||_0xd600fa[_0x114ab8(0x1c4)]&&(_0x18c377[_0x114ab8(0x207)]===!0x1||typeof _0x18c377['serverMaxWindowBits']=='number'&&_0x18c377[_0x114ab8(0x207)]>_0xd600fa['server_max_window_bits'])||typeof _0x18c377[_0x114ab8(0xb5)]==_0x114ab8(0x1bb)&&!_0xd600fa[_0x114ab8(0x104)]));if(!_0x4384fe)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x18c377[_0x114ab8(0x1d6)]&&(_0x4384fe[_0x114ab8(0x12e)]=!0x0),_0x18c377[_0x114ab8(0x1ad)]&&(_0x4384fe[_0x114ab8(0x1a3)]=!0x0),typeof _0x18c377['serverMaxWindowBits']==_0x114ab8(0x1bb)&&(_0x4384fe['server_max_window_bits']=_0x18c377['serverMaxWindowBits']),typeof _0x18c377[_0x114ab8(0xb5)]==_0x114ab8(0x1bb)?_0x4384fe[_0x114ab8(0x104)]=_0x18c377[_0x114ab8(0xb5)]:(_0x4384fe['client_max_window_bits']===!0x0||_0x18c377[_0x114ab8(0xb5)]===!0x1)&&delete _0x4384fe[_0x114ab8(0x104)],_0x4384fe;}['acceptAsClient'](_0xff41df){const _0x258695=_0x39a04c,_0x2ff412=_0xff41df[0x0];if(this[_0x258695(0x18e)][_0x258695(0x1ad)]===!0x1&&_0x2ff412[_0x258695(0x1a3)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x2ff412['client_max_window_bits'])typeof this['_options'][_0x258695(0xb5)]==_0x258695(0x1bb)&&(_0x2ff412[_0x258695(0x104)]=this[_0x258695(0x18e)][_0x258695(0xb5)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x258695(0x18e)]['clientMaxWindowBits']==_0x258695(0x1bb)&&_0x2ff412['client_max_window_bits']>this['_options'][_0x258695(0xb5)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x2ff412;}[_0x39a04c(0x114)](_0x46dfc1){const _0x5d5e1c=_0x39a04c;return _0x46dfc1[_0x5d5e1c(0x1ba)](_0xae59c8=>{const _0x5524dc=_0x5d5e1c;Object[_0x5524dc(0x136)](_0xae59c8)[_0x5524dc(0x1ba)](_0x260df2=>{const _0x1dd852=_0x5524dc;let _0x404d6a=_0xae59c8[_0x260df2];if(_0x404d6a[_0x1dd852(0x90)]>0x1)throw new Error(_0x1dd852(0x92)+_0x260df2+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x404d6a=_0x404d6a[0x0],_0x260df2===_0x1dd852(0x104)){if(_0x404d6a!==!0x0){const _0x131715=+_0x404d6a;if(!Number[_0x1dd852(0x129)](_0x131715)||_0x131715<0x8||_0x131715>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x260df2+_0x1dd852(0x187)+_0x404d6a);_0x404d6a=_0x131715;}else{if(!this[_0x1dd852(0x183)])throw new TypeError(_0x1dd852(0x102)+_0x260df2+_0x1dd852(0x187)+_0x404d6a);}}else{if(_0x260df2===_0x1dd852(0x1c4)){const _0x319e55=+_0x404d6a;if(!Number[_0x1dd852(0x129)](_0x319e55)||_0x319e55<0x8||_0x319e55>0xf)throw new TypeError(_0x1dd852(0x102)+_0x260df2+'\x22:\x20'+_0x404d6a);_0x404d6a=_0x319e55;}else{if(_0x260df2===_0x1dd852(0x1a3)||_0x260df2==='server_no_context_takeover'){if(_0x404d6a!==!0x0)throw new TypeError(_0x1dd852(0x102)+_0x260df2+_0x1dd852(0x187)+_0x404d6a);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x260df2+'\x22');}}_0xae59c8[_0x260df2]=_0x404d6a;});}),_0x46dfc1;}[_0x39a04c(0xe7)](_0x37ccac,_0x405483,_0x2c83d6){_0x2d06f3['add'](_0x28219f=>{this['_decompress'](_0x37ccac,_0x405483,(_0x108385,_0xc97eda)=>{_0x28219f(),_0x2c83d6(_0x108385,_0xc97eda);});});}[_0x39a04c(0xb0)](_0x5e4b3c,_0x4a120b,_0x298f1d){const _0x250c98=_0x39a04c;_0x2d06f3[_0x250c98(0x11c)](_0x2eea9d=>{const _0x34c17e=_0x250c98;this[_0x34c17e(0x15f)](_0x5e4b3c,_0x4a120b,(_0x334c43,_0x5598d3)=>{_0x2eea9d(),_0x298f1d(_0x334c43,_0x5598d3);});});}['_decompress'](_0x295136,_0x1092f2,_0x37f8c0){const _0x32fab0=_0x39a04c,_0x1af00f=this[_0x32fab0(0x183)]?_0x32fab0(0x14d):_0x32fab0(0xbb);if(!this[_0x32fab0(0x14b)]){const _0x306f8e=_0x1af00f+_0x32fab0(0x200),_0x3892c6=typeof this[_0x32fab0(0x175)][_0x306f8e]!='number'?_0x558ce6['Z_DEFAULT_WINDOWBITS']:this[_0x32fab0(0x175)][_0x306f8e];this[_0x32fab0(0x14b)]=_0x558ce6[_0x32fab0(0x230)]({...this[_0x32fab0(0x18e)][_0x32fab0(0x12a)],'windowBits':_0x3892c6}),this[_0x32fab0(0x14b)][_0x50a20b]=this,this[_0x32fab0(0x14b)][_0x118256]=0x0,this['_inflate'][_0x3b6714]=[],this['_inflate']['on'](_0x32fab0(0x221),_0x49ef2e),this[_0x32fab0(0x14b)]['on'](_0x32fab0(0x1b4),_0x15631a);}this[_0x32fab0(0x14b)][_0x361781]=_0x37f8c0,this['_inflate'][_0x32fab0(0x142)](_0x295136),_0x1092f2&&this[_0x32fab0(0x14b)][_0x32fab0(0x142)](_0x18f2ee),this[_0x32fab0(0x14b)]['flush'](()=>{const _0x4135e8=_0x32fab0,_0x4c1800=this[_0x4135e8(0x14b)][_0x10c29e];if(_0x4c1800){this[_0x4135e8(0x14b)][_0x4135e8(0x21d)](),this[_0x4135e8(0x14b)]=null,_0x37f8c0(_0x4c1800);return;}const _0x292a1c=_0x1fe5db[_0x4135e8(0x123)](this['_inflate'][_0x3b6714],this[_0x4135e8(0x14b)][_0x118256]);this[_0x4135e8(0x14b)][_0x4135e8(0x208)]['endEmitted']?(this[_0x4135e8(0x14b)][_0x4135e8(0x21d)](),this[_0x4135e8(0x14b)]=null):(this[_0x4135e8(0x14b)][_0x118256]=0x0,this[_0x4135e8(0x14b)][_0x3b6714]=[],_0x1092f2&&this[_0x4135e8(0x175)][_0x1af00f+'_no_context_takeover']&&this['_inflate'][_0x4135e8(0x10f)]()),_0x37f8c0(null,_0x292a1c);});}[_0x39a04c(0x15f)](_0x2cb7d4,_0x269fe1,_0x5071f4){const _0x57043d=_0x39a04c,_0x1e117a=this['_isServer']?'server':_0x57043d(0x14d);if(!this[_0x57043d(0xcc)]){const _0xda4dc7=_0x1e117a+_0x57043d(0x200),_0xb7ad26=typeof this['params'][_0xda4dc7]!='number'?_0x558ce6[_0x57043d(0x1cb)]:this[_0x57043d(0x175)][_0xda4dc7];this[_0x57043d(0xcc)]=_0x558ce6[_0x57043d(0x1a9)]({...this[_0x57043d(0x18e)][_0x57043d(0x1e9)],'windowBits':_0xb7ad26}),this[_0x57043d(0xcc)][_0x118256]=0x0,this[_0x57043d(0xcc)][_0x3b6714]=[],this[_0x57043d(0xcc)]['on'](_0x57043d(0x1b4),_0x1fe31b);}this[_0x57043d(0xcc)][_0x361781]=_0x5071f4,this[_0x57043d(0xcc)]['write'](_0x2cb7d4),this[_0x57043d(0xcc)][_0x57043d(0x15e)](_0x558ce6[_0x57043d(0x1c3)],()=>{const _0x349bef=_0x57043d;if(!this[_0x349bef(0xcc)])return;let _0x198ea2=_0x1fe5db['concat'](this[_0x349bef(0xcc)][_0x3b6714],this[_0x349bef(0xcc)][_0x118256]);_0x269fe1&&(_0x198ea2=new _0x39abe3(_0x198ea2[_0x349bef(0x19e)],_0x198ea2[_0x349bef(0x1fd)],_0x198ea2[_0x349bef(0x90)]-0x4)),this[_0x349bef(0xcc)][_0x361781]=null,this['_deflate'][_0x118256]=0x0,this[_0x349bef(0xcc)][_0x3b6714]=[],_0x269fe1&&this['params'][_0x1e117a+'_no_context_takeover']&&this['_deflate']['reset'](),_0x5071f4(null,_0x198ea2);});}}ve=_0x2bc9af;function _0x1fe31b(_0x3b3df3){const _0x1f446e=_0x39a04c;this[_0x3b6714]['push'](_0x3b3df3),this[_0x118256]+=_0x3b3df3[_0x1f446e(0x90)];}function _0x15631a(_0x50886d){const _0x28679b=_0x39a04c;if(this[_0x118256]+=_0x50886d['length'],this[_0x50a20b]['_maxPayload']<0x1||this[_0x118256]<=this[_0x50a20b]['_maxPayload']){this[_0x3b6714][_0x28679b(0xa0)](_0x50886d);return;}this[_0x10c29e]=new RangeError(_0x28679b(0x18a)),this[_0x10c29e][_0x28679b(0x16d)]=_0x28679b(0x8d),this[_0x10c29e][_0x3f56ed]=0x3f1,this[_0x28679b(0x220)](_0x28679b(0x1b4),_0x15631a),this['reset']();}function _0x49ef2e(_0x101370){const _0x110e5e=_0x39a04c;this[_0x50a20b][_0x110e5e(0x14b)]=null,_0x101370[_0x3f56ed]=0x3ef,this[_0x361781](_0x101370);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1a88ea(0x148)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x1a88ea(0x97)],{'value':_0x1a88ea(0x1fe)})),Yt=ut(zt);var Qe;function ne(){const _0x56d2c1=_0x1a88ea;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x3535e7}=_0x4e6a11,{hasBlob:_0x49cfcb}=V(),_0x5e8e51=[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 _0x14ae0d(_0x3c08ab){return _0x3c08ab>=0x3e8&&_0x3c08ab<=0x3f6&&_0x3c08ab!==0x3ec&&_0x3c08ab!==0x3ed&&_0x3c08ab!==0x3ee||_0x3c08ab>=0xbb8&&_0x3c08ab<=0x1387;}function _0x4299f9(_0x1d8d0d){const _0x4b268c=_0x4146,_0x3bfd97=_0x1d8d0d[_0x4b268c(0x90)];let _0x257ee5=0x0;for(;_0x257ee5<_0x3bfd97;)if((_0x1d8d0d[_0x257ee5]&0x80)===0x0)_0x257ee5++;else{if((_0x1d8d0d[_0x257ee5]&0xe0)===0xc0){if(_0x257ee5+0x1===_0x3bfd97||(_0x1d8d0d[_0x257ee5+0x1]&0xc0)!==0x80||(_0x1d8d0d[_0x257ee5]&0xfe)===0xc0)return!0x1;_0x257ee5+=0x2;}else{if((_0x1d8d0d[_0x257ee5]&0xf0)===0xe0){if(_0x257ee5+0x2>=_0x3bfd97||(_0x1d8d0d[_0x257ee5+0x1]&0xc0)!==0x80||(_0x1d8d0d[_0x257ee5+0x2]&0xc0)!==0x80||_0x1d8d0d[_0x257ee5]===0xe0&&(_0x1d8d0d[_0x257ee5+0x1]&0xe0)===0x80||_0x1d8d0d[_0x257ee5]===0xed&&(_0x1d8d0d[_0x257ee5+0x1]&0xe0)===0xa0)return!0x1;_0x257ee5+=0x3;}else{if((_0x1d8d0d[_0x257ee5]&0xf8)===0xf0){if(_0x257ee5+0x3>=_0x3bfd97||(_0x1d8d0d[_0x257ee5+0x1]&0xc0)!==0x80||(_0x1d8d0d[_0x257ee5+0x2]&0xc0)!==0x80||(_0x1d8d0d[_0x257ee5+0x3]&0xc0)!==0x80||_0x1d8d0d[_0x257ee5]===0xf0&&(_0x1d8d0d[_0x257ee5+0x1]&0xf0)===0x80||_0x1d8d0d[_0x257ee5]===0xf4&&_0x1d8d0d[_0x257ee5+0x1]>0x8f||_0x1d8d0d[_0x257ee5]>0xf4)return!0x1;_0x257ee5+=0x4;}else return!0x1;}}}return!0x0;}function _0x513761(_0x1c9cd1){const _0xa53663=_0x4146;return _0x49cfcb&&typeof _0x1c9cd1==_0xa53663(0xa6)&&typeof _0x1c9cd1[_0xa53663(0x1be)]==_0xa53663(0x143)&&typeof _0x1c9cd1[_0xa53663(0x157)]==_0xa53663(0xb6)&&typeof _0x1c9cd1[_0xa53663(0x1bd)]==_0xa53663(0x143)&&(_0x1c9cd1[Symbol[_0xa53663(0x97)]]===_0xa53663(0x1b0)||_0x1c9cd1[Symbol[_0xa53663(0x97)]]===_0xa53663(0xc2));}if(re[_0x56d2c1(0x206)]={'isBlob':_0x513761,'isValidStatusCode':_0x14ae0d,'isValidUTF8':_0x4299f9,'tokenChars':_0x5e8e51},_0x3535e7)re[_0x56d2c1(0x206)][_0x56d2c1(0x198)]=function(_0x29ab48){return _0x29ab48['length']<0x18?_0x4299f9(_0x29ab48):_0x3535e7(_0x29ab48);};else{if(!process['env'][_0x56d2c1(0x120)])try{const _0x1d3496=Yt;re[_0x56d2c1(0x206)][_0x56d2c1(0x198)]=function(_0x1c91dc){return _0x1c91dc['length']<0x20?_0x4299f9(_0x1c91dc):_0x1d3496(_0x1c91dc);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x21cbea=_0x1a88ea;if(Je)return Se;Je=0x1;const {Writable:_0x565cfb}=_0x5a7211,_0x13971d=he(),{BINARY_TYPES:_0x9251da,EMPTY_BUFFER:_0x5ea17e,kStatusCode:_0x13521f,kWebSocket:_0x55f40f}=V(),{concat:_0x58efee,toArrayBuffer:_0x43647c,unmask:_0x49a754}=ce(),{isValidStatusCode:_0x582ffd,isValidUTF8:_0x3a74a9}=ne(),_0x412bcf=Buffer[Symbol[_0x21cbea(0x1af)]],_0xfee3c7=0x0,_0x38a9f8=0x1,_0x297980=0x2,_0x32de09=0x3,_0x4bb326=0x4,_0x3dd0e7=0x5,_0x5cea97=0x6;class _0x2f2b36 extends _0x565cfb{constructor(_0x351a7f={}){const _0x39e1f9=_0x21cbea;super(),this[_0x39e1f9(0x216)]=_0x351a7f[_0x39e1f9(0x1ec)]!==void 0x0?_0x351a7f['allowSynchronousEvents']:!0x0,this[_0x39e1f9(0x195)]=_0x351a7f[_0x39e1f9(0x179)]||_0x9251da[0x0],this[_0x39e1f9(0x1a1)]=_0x351a7f[_0x39e1f9(0x128)]||{},this[_0x39e1f9(0x183)]=!!_0x351a7f[_0x39e1f9(0x1fb)],this[_0x39e1f9(0x1e5)]=_0x351a7f[_0x39e1f9(0x151)]|0x0,this[_0x39e1f9(0x1a8)]=!!_0x351a7f[_0x39e1f9(0x13b)],this[_0x55f40f]=void 0x0,this['_bufferedBytes']=0x0,this[_0x39e1f9(0x1eb)]=[],this[_0x39e1f9(0x1c8)]=!0x1,this[_0x39e1f9(0x11e)]=0x0,this[_0x39e1f9(0x22b)]=void 0x0,this[_0x39e1f9(0x105)]=0x0,this['_masked']=!0x1,this[_0x39e1f9(0x19f)]=!0x1,this['_opcode']=0x0,this[_0x39e1f9(0x1c2)]=0x0,this[_0x39e1f9(0x9c)]=0x0,this[_0x39e1f9(0xfd)]=[],this['_errored']=!0x1,this[_0x39e1f9(0xa7)]=!0x1,this['_state']=_0xfee3c7;}[_0x21cbea(0x205)](_0xd407f0,_0x1f45c2,_0x42c057){const _0x44be2c=_0x21cbea;if(this['_opcode']===0x8&&this['_state']==_0xfee3c7)return _0x42c057();this[_0x44be2c(0x1bc)]+=_0xd407f0[_0x44be2c(0x90)],this[_0x44be2c(0x1eb)]['push'](_0xd407f0),this[_0x44be2c(0x191)](_0x42c057);}[_0x21cbea(0x15d)](_0x79f920){const _0xc2edb8=_0x21cbea;if(this[_0xc2edb8(0x1bc)]-=_0x79f920,_0x79f920===this[_0xc2edb8(0x1eb)][0x0]['length'])return this[_0xc2edb8(0x1eb)][_0xc2edb8(0x16f)]();if(_0x79f920<this[_0xc2edb8(0x1eb)][0x0]['length']){const _0x191810=this['_buffers'][0x0];return this[_0xc2edb8(0x1eb)][0x0]=new _0x412bcf(_0x191810[_0xc2edb8(0x19e)],_0x191810[_0xc2edb8(0x1fd)]+_0x79f920,_0x191810['length']-_0x79f920),new _0x412bcf(_0x191810[_0xc2edb8(0x19e)],_0x191810['byteOffset'],_0x79f920);}const _0x53b93b=Buffer[_0xc2edb8(0x1e8)](_0x79f920);do{const _0x267ac1=this[_0xc2edb8(0x1eb)][0x0],_0x1426fd=_0x53b93b['length']-_0x79f920;_0x79f920>=_0x267ac1[_0xc2edb8(0x90)]?_0x53b93b['set'](this[_0xc2edb8(0x1eb)][_0xc2edb8(0x16f)](),_0x1426fd):(_0x53b93b[_0xc2edb8(0x11b)](new Uint8Array(_0x267ac1[_0xc2edb8(0x19e)],_0x267ac1[_0xc2edb8(0x1fd)],_0x79f920),_0x1426fd),this[_0xc2edb8(0x1eb)][0x0]=new _0x412bcf(_0x267ac1[_0xc2edb8(0x19e)],_0x267ac1['byteOffset']+_0x79f920,_0x267ac1['length']-_0x79f920)),_0x79f920-=_0x267ac1['length'];}while(_0x79f920>0x0);return _0x53b93b;}[_0x21cbea(0x191)](_0x2cf4cb){const _0x570232=_0x21cbea;this['_loop']=!0x0;do switch(this[_0x570232(0xac)]){case _0xfee3c7:this[_0x570232(0xdd)](_0x2cf4cb);break;case _0x38a9f8:this['getPayloadLength16'](_0x2cf4cb);break;case _0x297980:this[_0x570232(0x1b3)](_0x2cf4cb);break;case _0x32de09:this[_0x570232(0xa1)]();break;case _0x4bb326:this['getData'](_0x2cf4cb);break;case _0x3dd0e7:case _0x5cea97:this[_0x570232(0xa7)]=!0x1;return;}while(this[_0x570232(0xa7)]);this['_errored']||_0x2cf4cb();}[_0x21cbea(0xdd)](_0x55ca67){const _0x5df7ff=_0x21cbea;if(this[_0x5df7ff(0x1bc)]<0x2){this['_loop']=!0x1;return;}const _0x362026=this[_0x5df7ff(0x15d)](0x2);if((_0x362026[0x0]&0x30)!==0x0){const _0xa9c5ce=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0x222),!0x0,0x3ea,_0x5df7ff(0xca));_0x55ca67(_0xa9c5ce);return;}const _0x3953a2=(_0x362026[0x0]&0x40)===0x40;if(_0x3953a2&&!this[_0x5df7ff(0x1a1)][_0x13971d['extensionName']]){const _0x612149=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0x147),!0x0,0x3ea,_0x5df7ff(0x1c6));_0x55ca67(_0x612149);return;}if(this[_0x5df7ff(0x19f)]=(_0x362026[0x0]&0x80)===0x80,this[_0x5df7ff(0x1ce)]=_0x362026[0x0]&0xf,this[_0x5df7ff(0x11e)]=_0x362026[0x1]&0x7f,this[_0x5df7ff(0x1ce)]===0x0){if(_0x3953a2){const _0x4d470f=this[_0x5df7ff(0x214)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5df7ff(0x1c6));_0x55ca67(_0x4d470f);return;}if(!this[_0x5df7ff(0x105)]){const _0xa26d45=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0xaa),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x55ca67(_0xa26d45);return;}this[_0x5df7ff(0x1ce)]=this[_0x5df7ff(0x105)];}else{if(this[_0x5df7ff(0x1ce)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x54e10a=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0x9d)+this[_0x5df7ff(0x1ce)],!0x0,0x3ea,_0x5df7ff(0x1df));_0x55ca67(_0x54e10a);return;}this['_compressed']=_0x3953a2;}else{if(this[_0x5df7ff(0x1ce)]>0x7&&this['_opcode']<0xb){if(!this[_0x5df7ff(0x19f)]){const _0x47f458=this['createError'](RangeError,_0x5df7ff(0xde),!0x0,0x3ea,_0x5df7ff(0xed));_0x55ca67(_0x47f458);return;}if(_0x3953a2){const _0x48a2e7=this['createError'](RangeError,_0x5df7ff(0x147),!0x0,0x3ea,_0x5df7ff(0x1c6));_0x55ca67(_0x48a2e7);return;}if(this[_0x5df7ff(0x11e)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x231605=this['createError'](RangeError,_0x5df7ff(0x132)+this[_0x5df7ff(0x11e)],!0x0,0x3ea,_0x5df7ff(0x107));_0x55ca67(_0x231605);return;}}else{const _0x209b0a=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0x9d)+this[_0x5df7ff(0x1ce)],!0x0,0x3ea,_0x5df7ff(0x1df));_0x55ca67(_0x209b0a);return;}}}if(!this[_0x5df7ff(0x19f)]&&!this[_0x5df7ff(0x105)]&&(this['_fragmented']=this[_0x5df7ff(0x1ce)]),this['_masked']=(_0x362026[0x1]&0x80)===0x80,this[_0x5df7ff(0x183)]){if(!this['_masked']){const _0xad804b=this['createError'](RangeError,_0x5df7ff(0xba),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x55ca67(_0xad804b);return;}}else{if(this[_0x5df7ff(0x19d)]){const _0x52bd0c=this[_0x5df7ff(0x214)](RangeError,_0x5df7ff(0x184),!0x0,0x3ea,_0x5df7ff(0x217));_0x55ca67(_0x52bd0c);return;}}this[_0x5df7ff(0x11e)]===0x7e?this[_0x5df7ff(0xac)]=_0x38a9f8:this[_0x5df7ff(0x11e)]===0x7f?this[_0x5df7ff(0xac)]=_0x297980:this[_0x5df7ff(0xf3)](_0x55ca67);}['getPayloadLength16'](_0x1cdb21){const _0x5ce93b=_0x21cbea;if(this['_bufferedBytes']<0x2){this[_0x5ce93b(0xa7)]=!0x1;return;}this[_0x5ce93b(0x11e)]=this[_0x5ce93b(0x15d)](0x2)[_0x5ce93b(0xae)](0x0),this['haveLength'](_0x1cdb21);}[_0x21cbea(0x1b3)](_0x158a87){const _0x4623ec=_0x21cbea;if(this[_0x4623ec(0x1bc)]<0x8){this[_0x4623ec(0xa7)]=!0x1;return;}const _0x5192e4=this[_0x4623ec(0x15d)](0x8),_0x442439=_0x5192e4['readUInt32BE'](0x0);if(_0x442439>Math[_0x4623ec(0x188)](0x2,0x15)-0x1){const _0x4e451b=this[_0x4623ec(0x214)](RangeError,_0x4623ec(0xc7),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x158a87(_0x4e451b);return;}this['_payloadLength']=_0x442439*Math[_0x4623ec(0x188)](0x2,0x20)+_0x5192e4['readUInt32BE'](0x4),this['haveLength'](_0x158a87);}[_0x21cbea(0xf3)](_0x262034){const _0x1f78f0=_0x21cbea;if(this['_payloadLength']&&this[_0x1f78f0(0x1ce)]<0x8&&(this['_totalPayloadLength']+=this[_0x1f78f0(0x11e)],this[_0x1f78f0(0x1c2)]>this[_0x1f78f0(0x1e5)]&&this['_maxPayload']>0x0)){const _0x56736b=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1f78f0(0x8d));_0x262034(_0x56736b);return;}this[_0x1f78f0(0x19d)]?this['_state']=_0x32de09:this[_0x1f78f0(0xac)]=_0x4bb326;}[_0x21cbea(0xa1)](){const _0x488ec8=_0x21cbea;if(this[_0x488ec8(0x1bc)]<0x4){this['_loop']=!0x1;return;}this[_0x488ec8(0x22b)]=this[_0x488ec8(0x15d)](0x4),this[_0x488ec8(0xac)]=_0x4bb326;}[_0x21cbea(0xd5)](_0xe9b0c0){const _0x1e0967=_0x21cbea;let _0x27b0a7=_0x5ea17e;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x1e0967(0x11e)]){this['_loop']=!0x1;return;}_0x27b0a7=this[_0x1e0967(0x15d)](this[_0x1e0967(0x11e)]),this[_0x1e0967(0x19d)]&&(this[_0x1e0967(0x22b)][0x0]|this[_0x1e0967(0x22b)][0x1]|this['_mask'][0x2]|this[_0x1e0967(0x22b)][0x3])!==0x0&&_0x49a754(_0x27b0a7,this['_mask']);}if(this['_opcode']>0x7){this[_0x1e0967(0x170)](_0x27b0a7,_0xe9b0c0);return;}if(this[_0x1e0967(0x1c8)]){this['_state']=_0x3dd0e7,this[_0x1e0967(0xe7)](_0x27b0a7,_0xe9b0c0);return;}_0x27b0a7[_0x1e0967(0x90)]&&(this[_0x1e0967(0x9c)]=this[_0x1e0967(0x1c2)],this[_0x1e0967(0xfd)][_0x1e0967(0xa0)](_0x27b0a7)),this[_0x1e0967(0x8f)](_0xe9b0c0);}[_0x21cbea(0xe7)](_0x1759b7,_0x41a056){const _0x295c7a=_0x21cbea;this[_0x295c7a(0x1a1)][_0x13971d[_0x295c7a(0x1c1)]]['decompress'](_0x1759b7,this[_0x295c7a(0x19f)],(_0x5bba45,_0x55918c)=>{const _0x3d500d=_0x295c7a;if(_0x5bba45)return _0x41a056(_0x5bba45);if(_0x55918c[_0x3d500d(0x90)]){if(this[_0x3d500d(0x9c)]+=_0x55918c[_0x3d500d(0x90)],this[_0x3d500d(0x9c)]>this[_0x3d500d(0x1e5)]&&this[_0x3d500d(0x1e5)]>0x0){const _0x1e0000=this[_0x3d500d(0x214)](RangeError,_0x3d500d(0x18a),!0x1,0x3f1,_0x3d500d(0x8d));_0x41a056(_0x1e0000);return;}this[_0x3d500d(0xfd)][_0x3d500d(0xa0)](_0x55918c);}this[_0x3d500d(0x8f)](_0x41a056),this['_state']===_0xfee3c7&&this['startLoop'](_0x41a056);});}[_0x21cbea(0x8f)](_0x1ea7ce){const _0x4cf6a6=_0x21cbea;if(!this[_0x4cf6a6(0x19f)]){this[_0x4cf6a6(0xac)]=_0xfee3c7;return;}const _0x771441=this['_messageLength'],_0x391c0d=this[_0x4cf6a6(0xfd)];if(this['_totalPayloadLength']=0x0,this[_0x4cf6a6(0x9c)]=0x0,this[_0x4cf6a6(0x105)]=0x0,this['_fragments']=[],this[_0x4cf6a6(0x1ce)]===0x2){let _0x3ca546;this[_0x4cf6a6(0x195)]===_0x4cf6a6(0x218)?_0x3ca546=_0x58efee(_0x391c0d,_0x771441):this[_0x4cf6a6(0x195)]==='arraybuffer'?_0x3ca546=_0x43647c(_0x58efee(_0x391c0d,_0x771441)):this['_binaryType']===_0x4cf6a6(0x125)?_0x3ca546=new Blob(_0x391c0d):_0x3ca546=_0x391c0d,this[_0x4cf6a6(0x216)]?(this[_0x4cf6a6(0x219)](_0x4cf6a6(0x13d),_0x3ca546,!0x0),this[_0x4cf6a6(0xac)]=_0xfee3c7):(this[_0x4cf6a6(0xac)]=_0x5cea97,setImmediate(()=>{const _0x3e534a=_0x4cf6a6;this['emit']('message',_0x3ca546,!0x0),this[_0x3e534a(0xac)]=_0xfee3c7,this['startLoop'](_0x1ea7ce);}));}else{const _0x508ad8=_0x58efee(_0x391c0d,_0x771441);if(!this[_0x4cf6a6(0x1a8)]&&!_0x3a74a9(_0x508ad8)){const _0x286522=this[_0x4cf6a6(0x214)](Error,_0x4cf6a6(0x1b5),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1ea7ce(_0x286522);return;}this[_0x4cf6a6(0xac)]===_0x3dd0e7||this[_0x4cf6a6(0x216)]?(this['emit'](_0x4cf6a6(0x13d),_0x508ad8,!0x1),this[_0x4cf6a6(0xac)]=_0xfee3c7):(this[_0x4cf6a6(0xac)]=_0x5cea97,setImmediate(()=>{const _0x262cab=_0x4cf6a6;this[_0x262cab(0x219)](_0x262cab(0x13d),_0x508ad8,!0x1),this[_0x262cab(0xac)]=_0xfee3c7,this[_0x262cab(0x191)](_0x1ea7ce);}));}}[_0x21cbea(0x170)](_0x2a1f02,_0x2965b1){const _0x309f0d=_0x21cbea;if(this[_0x309f0d(0x1ce)]===0x8){if(_0x2a1f02['length']===0x0)this[_0x309f0d(0xa7)]=!0x1,this[_0x309f0d(0x219)]('conclude',0x3ed,_0x5ea17e),this[_0x309f0d(0x201)]();else{const _0x4288a6=_0x2a1f02[_0x309f0d(0xae)](0x0);if(!_0x582ffd(_0x4288a6)){const _0x41ecf3=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x4288a6,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x2965b1(_0x41ecf3);return;}const _0x245e26=new _0x412bcf(_0x2a1f02[_0x309f0d(0x19e)],_0x2a1f02[_0x309f0d(0x1fd)]+0x2,_0x2a1f02[_0x309f0d(0x90)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3a74a9(_0x245e26)){const _0x407b34=this[_0x309f0d(0x214)](Error,_0x309f0d(0x1b5),!0x0,0x3ef,_0x309f0d(0x193));_0x2965b1(_0x407b34);return;}this[_0x309f0d(0xa7)]=!0x1,this[_0x309f0d(0x219)](_0x309f0d(0x1e7),_0x4288a6,_0x245e26),this[_0x309f0d(0x201)]();}this[_0x309f0d(0xac)]=_0xfee3c7;return;}this['_allowSynchronousEvents']?(this[_0x309f0d(0x219)](this[_0x309f0d(0x1ce)]===0x9?_0x309f0d(0x1cd):_0x309f0d(0xa3),_0x2a1f02),this[_0x309f0d(0xac)]=_0xfee3c7):(this['_state']=_0x5cea97,setImmediate(()=>{const _0x34a075=_0x309f0d;this[_0x34a075(0x219)](this[_0x34a075(0x1ce)]===0x9?'ping':'pong',_0x2a1f02),this[_0x34a075(0xac)]=_0xfee3c7,this['startLoop'](_0x2965b1);}));}['createError'](_0x4b8626,_0x16ff46,_0x118cb4,_0xc4dd04,_0x3f4211){const _0x5282ab=_0x21cbea;this[_0x5282ab(0xa7)]=!0x1,this['_errored']=!0x0;const _0x4588d3=new _0x4b8626(_0x118cb4?_0x5282ab(0x1aa)+_0x16ff46:_0x16ff46);return Error['captureStackTrace'](_0x4588d3,this[_0x5282ab(0x214)]),_0x4588d3['code']=_0x3f4211,_0x4588d3[_0x13521f]=_0xc4dd04,_0x4588d3;}}return Se=_0x2f2b36,Se;}var Ee,et;function _t(){const _0xe253c0=_0x1a88ea;if(et)return Ee;et=0x1;const {Duplex:_0x49c9c3}=_0x5a7211,{randomFillSync:_0x5bf40a}=_0x450d90,_0x492053=he(),{EMPTY_BUFFER:_0x20377e,kWebSocket:_0x1003ab,NOOP:_0x2e853a}=V(),{isBlob:_0x52808d,isValidStatusCode:_0x58cd44}=ne(),{mask:_0x269446,toBuffer:_0x1638c3}=ce(),_0x48dee2=Symbol('kByteLength'),_0x37dda7=Buffer[_0xe253c0(0xeb)](0x4),_0xb4f6d5=0x8*0x400;let _0x2a4623,_0x6e420b=_0xb4f6d5;const _0x1ce51e=0x0,_0x5b6c15=0x1,_0x235152=0x2;class _0x317ddd{constructor(_0x970a02,_0xb3adfb,_0x1b22a4){const _0x6de9b4=_0xe253c0;this[_0x6de9b4(0x1a1)]=_0xb3adfb||{},_0x1b22a4&&(this[_0x6de9b4(0x18f)]=_0x1b22a4,this[_0x6de9b4(0x1d5)]=Buffer[_0x6de9b4(0xeb)](0x4)),this[_0x6de9b4(0xa9)]=_0x970a02,this['_firstFragment']=!0x0,this[_0x6de9b4(0x15f)]=!0x1,this[_0x6de9b4(0x1bc)]=0x0,this[_0x6de9b4(0x1dd)]=[],this[_0x6de9b4(0xac)]=_0x1ce51e,this['onerror']=_0x2e853a,this[_0x1003ab]=void 0x0;}static[_0xe253c0(0x119)](_0x187a88,_0x55a5a3){const _0x4f5129=_0xe253c0;let _0x308435,_0x353e0e=!0x1,_0x4812bf=0x2,_0x4daea0=!0x1;_0x55a5a3['mask']&&(_0x308435=_0x55a5a3[_0x4f5129(0x1c9)]||_0x37dda7,_0x55a5a3['generateMask']?_0x55a5a3['generateMask'](_0x308435):(_0x6e420b===_0xb4f6d5&&(_0x2a4623===void 0x0&&(_0x2a4623=Buffer[_0x4f5129(0xeb)](_0xb4f6d5)),_0x5bf40a(_0x2a4623,0x0,_0xb4f6d5),_0x6e420b=0x0),_0x308435[0x0]=_0x2a4623[_0x6e420b++],_0x308435[0x1]=_0x2a4623[_0x6e420b++],_0x308435[0x2]=_0x2a4623[_0x6e420b++],_0x308435[0x3]=_0x2a4623[_0x6e420b++]),_0x4daea0=(_0x308435[0x0]|_0x308435[0x1]|_0x308435[0x2]|_0x308435[0x3])===0x0,_0x4812bf=0x6);let _0x188339;typeof _0x187a88=='string'?(!_0x55a5a3[_0x4f5129(0x22a)]||_0x4daea0)&&_0x55a5a3[_0x48dee2]!==void 0x0?_0x188339=_0x55a5a3[_0x48dee2]:(_0x187a88=Buffer[_0x4f5129(0x225)](_0x187a88),_0x188339=_0x187a88[_0x4f5129(0x90)]):(_0x188339=_0x187a88[_0x4f5129(0x90)],_0x353e0e=_0x55a5a3[_0x4f5129(0x22a)]&&_0x55a5a3[_0x4f5129(0x226)]&&!_0x4daea0);let _0x1b3e21=_0x188339;_0x188339>=0x10000?(_0x4812bf+=0x8,_0x1b3e21=0x7f):_0x188339>0x7d&&(_0x4812bf+=0x2,_0x1b3e21=0x7e);const _0x4ecb77=Buffer[_0x4f5129(0x1e8)](_0x353e0e?_0x188339+_0x4812bf:_0x4812bf);return _0x4ecb77[0x0]=_0x55a5a3['fin']?_0x55a5a3[_0x4f5129(0x162)]|0x80:_0x55a5a3[_0x4f5129(0x162)],_0x55a5a3[_0x4f5129(0xe3)]&&(_0x4ecb77[0x0]|=0x40),_0x4ecb77[0x1]=_0x1b3e21,_0x1b3e21===0x7e?_0x4ecb77['writeUInt16BE'](_0x188339,0x2):_0x1b3e21===0x7f&&(_0x4ecb77[0x2]=_0x4ecb77[0x3]=0x0,_0x4ecb77[_0x4f5129(0x106)](_0x188339,0x4,0x6)),_0x55a5a3[_0x4f5129(0x22a)]?(_0x4ecb77[0x1]|=0x80,_0x4ecb77[_0x4812bf-0x4]=_0x308435[0x0],_0x4ecb77[_0x4812bf-0x3]=_0x308435[0x1],_0x4ecb77[_0x4812bf-0x2]=_0x308435[0x2],_0x4ecb77[_0x4812bf-0x1]=_0x308435[0x3],_0x4daea0?[_0x4ecb77,_0x187a88]:_0x353e0e?(_0x269446(_0x187a88,_0x308435,_0x4ecb77,_0x4812bf,_0x188339),[_0x4ecb77]):(_0x269446(_0x187a88,_0x308435,_0x187a88,0x0,_0x188339),[_0x4ecb77,_0x187a88])):[_0x4ecb77,_0x187a88];}[_0xe253c0(0x21d)](_0x4467de,_0x8e5952,_0x5778b5,_0x5dbc2d){const _0x16c213=_0xe253c0;let _0x4a0afb;if(_0x4467de===void 0x0)_0x4a0afb=_0x20377e;else{if(typeof _0x4467de!='number'||!_0x58cd44(_0x4467de))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x8e5952===void 0x0||!_0x8e5952[_0x16c213(0x90)])_0x4a0afb=Buffer['allocUnsafe'](0x2),_0x4a0afb['writeUInt16BE'](_0x4467de,0x0);else{const _0x59987c=Buffer[_0x16c213(0x137)](_0x8e5952);if(_0x59987c>0x7b)throw new RangeError(_0x16c213(0x9a));_0x4a0afb=Buffer[_0x16c213(0x1e8)](0x2+_0x59987c),_0x4a0afb[_0x16c213(0x103)](_0x4467de,0x0),typeof _0x8e5952=='string'?_0x4a0afb['write'](_0x8e5952,0x2):_0x4a0afb[_0x16c213(0x11b)](_0x8e5952,0x2);}}const _0x4e6d81={[_0x48dee2]:_0x4a0afb['length'],'fin':!0x0,'generateMask':this[_0x16c213(0x18f)],'mask':_0x5778b5,'maskBuffer':this[_0x16c213(0x1d5)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x16c213(0xac)]!==_0x1ce51e?this['enqueue']([this[_0x16c213(0x20a)],_0x4a0afb,!0x1,_0x4e6d81,_0x5dbc2d]):this[_0x16c213(0x12d)](_0x317ddd[_0x16c213(0x119)](_0x4a0afb,_0x4e6d81),_0x5dbc2d);}[_0xe253c0(0x1cd)](_0x45ce13,_0x28438c,_0x506cea){const _0x5edd51=_0xe253c0;let _0x42fc7f,_0x25c1a1;if(typeof _0x45ce13==_0x5edd51(0xb6)?(_0x42fc7f=Buffer[_0x5edd51(0x137)](_0x45ce13),_0x25c1a1=!0x1):_0x52808d(_0x45ce13)?(_0x42fc7f=_0x45ce13[_0x5edd51(0xc1)],_0x25c1a1=!0x1):(_0x45ce13=_0x1638c3(_0x45ce13),_0x42fc7f=_0x45ce13[_0x5edd51(0x90)],_0x25c1a1=_0x1638c3[_0x5edd51(0x226)]),_0x42fc7f>0x7d)throw new RangeError(_0x5edd51(0xe5));const _0x34eec2={[_0x48dee2]:_0x42fc7f,'fin':!0x0,'generateMask':this[_0x5edd51(0x18f)],'mask':_0x28438c,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x25c1a1,'rsv1':!0x1};_0x52808d(_0x45ce13)?this[_0x5edd51(0xac)]!==_0x1ce51e?this[_0x5edd51(0x1da)]([this[_0x5edd51(0xb8)],_0x45ce13,!0x1,_0x34eec2,_0x506cea]):this['getBlobData'](_0x45ce13,!0x1,_0x34eec2,_0x506cea):this[_0x5edd51(0xac)]!==_0x1ce51e?this[_0x5edd51(0x1da)]([this[_0x5edd51(0x20a)],_0x45ce13,!0x1,_0x34eec2,_0x506cea]):this[_0x5edd51(0x12d)](_0x317ddd[_0x5edd51(0x119)](_0x45ce13,_0x34eec2),_0x506cea);}[_0xe253c0(0xa3)](_0x59dc69,_0x2088a5,_0x1af0fe){const _0x30895f=_0xe253c0;let _0x54b182,_0x35c90b;if(typeof _0x59dc69==_0x30895f(0xb6)?(_0x54b182=Buffer['byteLength'](_0x59dc69),_0x35c90b=!0x1):_0x52808d(_0x59dc69)?(_0x54b182=_0x59dc69[_0x30895f(0xc1)],_0x35c90b=!0x1):(_0x59dc69=_0x1638c3(_0x59dc69),_0x54b182=_0x59dc69[_0x30895f(0x90)],_0x35c90b=_0x1638c3[_0x30895f(0x226)]),_0x54b182>0x7d)throw new RangeError(_0x30895f(0xe5));const _0x44a3a5={[_0x48dee2]:_0x54b182,'fin':!0x0,'generateMask':this[_0x30895f(0x18f)],'mask':_0x2088a5,'maskBuffer':this[_0x30895f(0x1d5)],'opcode':0xa,'readOnly':_0x35c90b,'rsv1':!0x1};_0x52808d(_0x59dc69)?this['_state']!==_0x1ce51e?this[_0x30895f(0x1da)]([this[_0x30895f(0xb8)],_0x59dc69,!0x1,_0x44a3a5,_0x1af0fe]):this['getBlobData'](_0x59dc69,!0x1,_0x44a3a5,_0x1af0fe):this[_0x30895f(0xac)]!==_0x1ce51e?this[_0x30895f(0x1da)]([this[_0x30895f(0x20a)],_0x59dc69,!0x1,_0x44a3a5,_0x1af0fe]):this['sendFrame'](_0x317ddd['frame'](_0x59dc69,_0x44a3a5),_0x1af0fe);}[_0xe253c0(0x1b1)](_0x3f6860,_0x209d18,_0x2174a4){const _0x96fe65=_0xe253c0,_0x36c03b=this['_extensions'][_0x492053[_0x96fe65(0x1c1)]];let _0x936f82=_0x209d18['binary']?0x2:0x1,_0x90088e=_0x209d18[_0x96fe65(0xb0)],_0x316c55,_0x35d19f;typeof _0x3f6860==_0x96fe65(0xb6)?(_0x316c55=Buffer[_0x96fe65(0x137)](_0x3f6860),_0x35d19f=!0x1):_0x52808d(_0x3f6860)?(_0x316c55=_0x3f6860[_0x96fe65(0xc1)],_0x35d19f=!0x1):(_0x3f6860=_0x1638c3(_0x3f6860),_0x316c55=_0x3f6860[_0x96fe65(0x90)],_0x35d19f=_0x1638c3['readOnly']),this[_0x96fe65(0x108)]?(this[_0x96fe65(0x108)]=!0x1,_0x90088e&&_0x36c03b&&_0x36c03b[_0x96fe65(0x175)][_0x36c03b[_0x96fe65(0x183)]?_0x96fe65(0x12e):'client_no_context_takeover']&&(_0x90088e=_0x316c55>=_0x36c03b[_0x96fe65(0x1d0)]),this[_0x96fe65(0x15f)]=_0x90088e):(_0x90088e=!0x1,_0x936f82=0x0),_0x209d18[_0x96fe65(0x1f1)]&&(this[_0x96fe65(0x108)]=!0x0);const _0x12ee7b={[_0x48dee2]:_0x316c55,'fin':_0x209d18[_0x96fe65(0x1f1)],'generateMask':this[_0x96fe65(0x18f)],'mask':_0x209d18[_0x96fe65(0x22a)],'maskBuffer':this['_maskBuffer'],'opcode':_0x936f82,'readOnly':_0x35d19f,'rsv1':_0x90088e};_0x52808d(_0x3f6860)?this[_0x96fe65(0xac)]!==_0x1ce51e?this['enqueue']([this['getBlobData'],_0x3f6860,this[_0x96fe65(0x15f)],_0x12ee7b,_0x2174a4]):this['getBlobData'](_0x3f6860,this[_0x96fe65(0x15f)],_0x12ee7b,_0x2174a4):this[_0x96fe65(0xac)]!==_0x1ce51e?this[_0x96fe65(0x1da)]([this[_0x96fe65(0x20a)],_0x3f6860,this[_0x96fe65(0x15f)],_0x12ee7b,_0x2174a4]):this[_0x96fe65(0x20a)](_0x3f6860,this[_0x96fe65(0x15f)],_0x12ee7b,_0x2174a4);}[_0xe253c0(0xb8)](_0x3bade6,_0x1395d3,_0x5d694f,_0x5c38e7){const _0x401f2c=_0xe253c0;this[_0x401f2c(0x1bc)]+=_0x5d694f[_0x48dee2],this[_0x401f2c(0xac)]=_0x235152,_0x3bade6[_0x401f2c(0x1be)]()['then'](_0x329ccd=>{const _0x3363fc=_0x401f2c;if(this[_0x3363fc(0xa9)][_0x3363fc(0x234)]){const _0x39fc55=new Error(_0x3363fc(0x16a));process[_0x3363fc(0x165)](_0x4d3fff,this,_0x39fc55,_0x5c38e7);return;}this[_0x3363fc(0x1bc)]-=_0x5d694f[_0x48dee2];const _0x5d7da0=_0x1638c3(_0x329ccd);_0x1395d3?this[_0x3363fc(0x20a)](_0x5d7da0,_0x1395d3,_0x5d694f,_0x5c38e7):(this[_0x3363fc(0xac)]=_0x1ce51e,this['sendFrame'](_0x317ddd[_0x3363fc(0x119)](_0x5d7da0,_0x5d694f),_0x5c38e7),this[_0x3363fc(0x186)]());})['catch'](_0x5e2132=>{const _0x2542e2=_0x401f2c;process[_0x2542e2(0x165)](_0x46f0b6,this,_0x5e2132,_0x5c38e7);});}[_0xe253c0(0x20a)](_0x3ec3bd,_0x2b034f,_0x541e2c,_0x2c5c19){const _0x25dc43=_0xe253c0;if(!_0x2b034f){this[_0x25dc43(0x12d)](_0x317ddd[_0x25dc43(0x119)](_0x3ec3bd,_0x541e2c),_0x2c5c19);return;}const _0x4b40e6=this[_0x25dc43(0x1a1)][_0x492053[_0x25dc43(0x1c1)]];this['_bufferedBytes']+=_0x541e2c[_0x48dee2],this['_state']=_0x5b6c15,_0x4b40e6[_0x25dc43(0xb0)](_0x3ec3bd,_0x541e2c[_0x25dc43(0x1f1)],(_0x89383e,_0x1ee16d)=>{const _0x4292b5=_0x25dc43;if(this[_0x4292b5(0xa9)][_0x4292b5(0x234)]){const _0x472ca3=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4d3fff(this,_0x472ca3,_0x2c5c19);return;}this[_0x4292b5(0x1bc)]-=_0x541e2c[_0x48dee2],this['_state']=_0x1ce51e,_0x541e2c[_0x4292b5(0x226)]=!0x1,this[_0x4292b5(0x12d)](_0x317ddd['frame'](_0x1ee16d,_0x541e2c),_0x2c5c19),this[_0x4292b5(0x186)]();});}[_0xe253c0(0x186)](){const _0x58ccf2=_0xe253c0;for(;this[_0x58ccf2(0xac)]===_0x1ce51e&&this[_0x58ccf2(0x1dd)][_0x58ccf2(0x90)];){const _0x3c0d83=this['_queue'][_0x58ccf2(0x16f)]();this[_0x58ccf2(0x1bc)]-=_0x3c0d83[0x3][_0x48dee2],Reflect[_0x58ccf2(0xf4)](_0x3c0d83[0x0],this,_0x3c0d83['slice'](0x1));}}[_0xe253c0(0x1da)](_0x1d3b3e){const _0x1bbcd1=_0xe253c0;this[_0x1bbcd1(0x1bc)]+=_0x1d3b3e[0x3][_0x48dee2],this[_0x1bbcd1(0x1dd)][_0x1bbcd1(0xa0)](_0x1d3b3e);}['sendFrame'](_0x4466c3,_0x576fc6){const _0x4a927e=_0xe253c0;_0x4466c3[_0x4a927e(0x90)]===0x2?(this[_0x4a927e(0xa9)][_0x4a927e(0xd1)](),this[_0x4a927e(0xa9)][_0x4a927e(0x142)](_0x4466c3[0x0]),this[_0x4a927e(0xa9)][_0x4a927e(0x142)](_0x4466c3[0x1],_0x576fc6),this[_0x4a927e(0xa9)][_0x4a927e(0x118)]()):this[_0x4a927e(0xa9)][_0x4a927e(0x142)](_0x4466c3[0x0],_0x576fc6);}}Ee=_0x317ddd;function _0x4d3fff(_0x203f4b,_0x335968,_0x2dc9dc){const _0x43a9ad=_0xe253c0;typeof _0x2dc9dc==_0x43a9ad(0x143)&&_0x2dc9dc(_0x335968);for(let _0xe7dc0=0x0;_0xe7dc0<_0x203f4b[_0x43a9ad(0x1dd)][_0x43a9ad(0x90)];_0xe7dc0++){const _0x3f8f2c=_0x203f4b['_queue'][_0xe7dc0],_0x2e75ce=_0x3f8f2c[_0x3f8f2c[_0x43a9ad(0x90)]-0x1];typeof _0x2e75ce==_0x43a9ad(0x143)&&_0x2e75ce(_0x335968);}}function _0x46f0b6(_0x1dbe09,_0x3bed70,_0x160379){const _0x1ff279=_0xe253c0;_0x4d3fff(_0x1dbe09,_0x3bed70,_0x160379),_0x1dbe09[_0x1ff279(0x1e6)](_0x3bed70);}return Ee;}var xe,tt;function Kt(){const _0xa35ad0=_0x1a88ea;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x117630,kListener:_0x4376c2}=V(),_0x5ed527=Symbol('kCode'),_0x3d0e2d=Symbol(_0xa35ad0(0x1fc)),_0x561029=Symbol(_0xa35ad0(0xd9)),_0xc5697f=Symbol('kMessage'),_0x393170=Symbol(_0xa35ad0(0x1a5)),_0x2c2152=Symbol(_0xa35ad0(0x173)),_0xcd5a1f=Symbol('kType'),_0x3eec49=Symbol('kWasClean');class _0x1662f3{constructor(_0x2f3042){this[_0x2c2152]=null,this[_0xcd5a1f]=_0x2f3042;}get[_0xa35ad0(0x180)](){return this[_0x2c2152];}get[_0xa35ad0(0x157)](){return this[_0xcd5a1f];}}Object[_0xa35ad0(0x17d)](_0x1662f3[_0xa35ad0(0x100)],_0xa35ad0(0x180),{'enumerable':!0x0}),Object[_0xa35ad0(0x17d)](_0x1662f3['prototype'],_0xa35ad0(0x157),{'enumerable':!0x0});class _0x19bec0 extends _0x1662f3{constructor(_0x2d0a28,_0x248395={}){const _0x29fcf5=_0xa35ad0;super(_0x2d0a28),this[_0x5ed527]=_0x248395[_0x29fcf5(0x16d)]===void 0x0?0x0:_0x248395[_0x29fcf5(0x16d)],this[_0x393170]=_0x248395[_0x29fcf5(0x202)]===void 0x0?'':_0x248395[_0x29fcf5(0x202)],this[_0x3eec49]=_0x248395['wasClean']===void 0x0?!0x1:_0x248395[_0x29fcf5(0xee)];}get[_0xa35ad0(0x16d)](){return this[_0x5ed527];}get[_0xa35ad0(0x202)](){return this[_0x393170];}get[_0xa35ad0(0xee)](){return this[_0x3eec49];}}Object[_0xa35ad0(0x17d)](_0x19bec0[_0xa35ad0(0x100)],_0xa35ad0(0x16d),{'enumerable':!0x0}),Object[_0xa35ad0(0x17d)](_0x19bec0[_0xa35ad0(0x100)],_0xa35ad0(0x202),{'enumerable':!0x0}),Object[_0xa35ad0(0x17d)](_0x19bec0[_0xa35ad0(0x100)],_0xa35ad0(0xee),{'enumerable':!0x0});class _0x500519 extends _0x1662f3{constructor(_0x3b2cb6,_0x311215={}){const _0x24d630=_0xa35ad0;super(_0x3b2cb6),this[_0x561029]=_0x311215['error']===void 0x0?null:_0x311215['error'],this[_0xc5697f]=_0x311215[_0x24d630(0x13d)]===void 0x0?'':_0x311215[_0x24d630(0x13d)];}get['error'](){return this[_0x561029];}get[_0xa35ad0(0x13d)](){return this[_0xc5697f];}}Object[_0xa35ad0(0x17d)](_0x500519[_0xa35ad0(0x100)],_0xa35ad0(0x221),{'enumerable':!0x0}),Object[_0xa35ad0(0x17d)](_0x500519[_0xa35ad0(0x100)],_0xa35ad0(0x13d),{'enumerable':!0x0});class _0x468e89 extends _0x1662f3{constructor(_0x4de792,_0x42955e={}){const _0x45de83=_0xa35ad0;super(_0x4de792),this[_0x3d0e2d]=_0x42955e[_0x45de83(0x1b4)]===void 0x0?null:_0x42955e['data'];}get[_0xa35ad0(0x1b4)](){return this[_0x3d0e2d];}}Object[_0xa35ad0(0x17d)](_0x468e89[_0xa35ad0(0x100)],_0xa35ad0(0x1b4),{'enumerable':!0x0}),xe={'CloseEvent':_0x19bec0,'ErrorEvent':_0x500519,'Event':_0x1662f3,'EventTarget':{'addEventListener'(_0x10c51d,_0x356de0,_0x2a1e4b={}){const _0x58ab2b=_0xa35ad0;for(const _0x266213 of this['listeners'](_0x10c51d))if(!_0x2a1e4b[_0x117630]&&_0x266213[_0x4376c2]===_0x356de0&&!_0x266213[_0x117630])return;let _0x1bf136;if(_0x10c51d===_0x58ab2b(0x13d))_0x1bf136=function(_0xe47d5,_0x264c69){const _0x58cb20=_0x58ab2b,_0x17d70b=new _0x468e89(_0x58cb20(0x13d),{'data':_0x264c69?_0xe47d5:_0xe47d5['toString']()});_0x17d70b[_0x2c2152]=this,_0x411a1f(_0x356de0,this,_0x17d70b);};else{if(_0x10c51d===_0x58ab2b(0x21d))_0x1bf136=function(_0x53da1d,_0x3a8d35){const _0x56e451=_0x58ab2b,_0x1857df=new _0x19bec0(_0x56e451(0x21d),{'code':_0x53da1d,'reason':_0x3a8d35[_0x56e451(0x159)](),'wasClean':this[_0x56e451(0x1f7)]&&this['_closeFrameSent']});_0x1857df[_0x2c2152]=this,_0x411a1f(_0x356de0,this,_0x1857df);};else{if(_0x10c51d===_0x58ab2b(0x221))_0x1bf136=function(_0x4c4349){const _0x1740ee=_0x58ab2b,_0x47f009=new _0x500519('error',{'error':_0x4c4349,'message':_0x4c4349[_0x1740ee(0x13d)]});_0x47f009[_0x2c2152]=this,_0x411a1f(_0x356de0,this,_0x47f009);};else{if(_0x10c51d===_0x58ab2b(0x168))_0x1bf136=function(){const _0x5521d7=_0x58ab2b,_0x209983=new _0x1662f3(_0x5521d7(0x168));_0x209983[_0x2c2152]=this,_0x411a1f(_0x356de0,this,_0x209983);};else return;}}}_0x1bf136[_0x117630]=!!_0x2a1e4b[_0x117630],_0x1bf136[_0x4376c2]=_0x356de0,_0x2a1e4b[_0x58ab2b(0x16c)]?this[_0x58ab2b(0x16c)](_0x10c51d,_0x1bf136):this['on'](_0x10c51d,_0x1bf136);},'removeEventListener'(_0x4cb38f,_0x10a8cd){const _0x4e032b=_0xa35ad0;for(const _0x62f0f2 of this[_0x4e032b(0xc8)](_0x4cb38f))if(_0x62f0f2[_0x4376c2]===_0x10a8cd&&!_0x62f0f2[_0x117630]){this[_0x4e032b(0x220)](_0x4cb38f,_0x62f0f2);break;}}},'MessageEvent':_0x468e89};function _0x411a1f(_0xa7b16a,_0xdd855,_0x41539d){const _0x14a607=_0xa35ad0;typeof _0xa7b16a==_0x14a607(0xa6)&&_0xa7b16a[_0x14a607(0x18c)]?_0xa7b16a[_0x14a607(0x18c)][_0x14a607(0x194)](_0xa7b16a,_0x41539d):_0xa7b16a[_0x14a607(0x194)](_0xdd855,_0x41539d);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2cb6ee}=ne();function _0x1e3c2b(_0xc58e6f,_0x223e83,_0x4208e2){_0xc58e6f[_0x223e83]===void 0x0?_0xc58e6f[_0x223e83]=[_0x4208e2]:_0xc58e6f[_0x223e83]['push'](_0x4208e2);}function _0x53816c(_0x1ee84b){const _0x498b8b=_0x4146,_0xe928a1=Object[_0x498b8b(0x14e)](null);let _0x3d0b46=Object[_0x498b8b(0x14e)](null),_0xa88fd2=!0x1,_0x49d62c=!0x1,_0x2878ed=!0x1,_0x40b0a0,_0xbb7d54,_0x2b3dec=-0x1,_0x405851=-0x1,_0x2a5f6a=-0x1,_0x15c494=0x0;for(;_0x15c494<_0x1ee84b['length'];_0x15c494++)if(_0x405851=_0x1ee84b[_0x498b8b(0x11d)](_0x15c494),_0x40b0a0===void 0x0){if(_0x2a5f6a===-0x1&&_0x2cb6ee[_0x405851]===0x1)_0x2b3dec===-0x1&&(_0x2b3dec=_0x15c494);else{if(_0x15c494!==0x0&&(_0x405851===0x20||_0x405851===0x9))_0x2a5f6a===-0x1&&_0x2b3dec!==-0x1&&(_0x2a5f6a=_0x15c494);else{if(_0x405851===0x3b||_0x405851===0x2c){if(_0x2b3dec===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x15c494);_0x2a5f6a===-0x1&&(_0x2a5f6a=_0x15c494);const _0x3df0c9=_0x1ee84b[_0x498b8b(0xce)](_0x2b3dec,_0x2a5f6a);_0x405851===0x2c?(_0x1e3c2b(_0xe928a1,_0x3df0c9,_0x3d0b46),_0x3d0b46=Object[_0x498b8b(0x14e)](null)):_0x40b0a0=_0x3df0c9,_0x2b3dec=_0x2a5f6a=-0x1;}else throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);}}}else{if(_0xbb7d54===void 0x0){if(_0x2a5f6a===-0x1&&_0x2cb6ee[_0x405851]===0x1)_0x2b3dec===-0x1&&(_0x2b3dec=_0x15c494);else{if(_0x405851===0x20||_0x405851===0x9)_0x2a5f6a===-0x1&&_0x2b3dec!==-0x1&&(_0x2a5f6a=_0x15c494);else{if(_0x405851===0x3b||_0x405851===0x2c){if(_0x2b3dec===-0x1)throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);_0x2a5f6a===-0x1&&(_0x2a5f6a=_0x15c494),_0x1e3c2b(_0x3d0b46,_0x1ee84b[_0x498b8b(0xce)](_0x2b3dec,_0x2a5f6a),!0x0),_0x405851===0x2c&&(_0x1e3c2b(_0xe928a1,_0x40b0a0,_0x3d0b46),_0x3d0b46=Object[_0x498b8b(0x14e)](null),_0x40b0a0=void 0x0),_0x2b3dec=_0x2a5f6a=-0x1;}else{if(_0x405851===0x3d&&_0x2b3dec!==-0x1&&_0x2a5f6a===-0x1)_0xbb7d54=_0x1ee84b[_0x498b8b(0xce)](_0x2b3dec,_0x15c494),_0x2b3dec=_0x2a5f6a=-0x1;else throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);}}}}else{if(_0x49d62c){if(_0x2cb6ee[_0x405851]!==0x1)throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);_0x2b3dec===-0x1?_0x2b3dec=_0x15c494:_0xa88fd2||(_0xa88fd2=!0x0),_0x49d62c=!0x1;}else{if(_0x2878ed){if(_0x2cb6ee[_0x405851]===0x1)_0x2b3dec===-0x1&&(_0x2b3dec=_0x15c494);else{if(_0x405851===0x22&&_0x2b3dec!==-0x1)_0x2878ed=!0x1,_0x2a5f6a=_0x15c494;else{if(_0x405851===0x5c)_0x49d62c=!0x0;else throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);}}}else{if(_0x405851===0x22&&_0x1ee84b[_0x498b8b(0x11d)](_0x15c494-0x1)===0x3d)_0x2878ed=!0x0;else{if(_0x2a5f6a===-0x1&&_0x2cb6ee[_0x405851]===0x1)_0x2b3dec===-0x1&&(_0x2b3dec=_0x15c494);else{if(_0x2b3dec!==-0x1&&(_0x405851===0x20||_0x405851===0x9))_0x2a5f6a===-0x1&&(_0x2a5f6a=_0x15c494);else{if(_0x405851===0x3b||_0x405851===0x2c){if(_0x2b3dec===-0x1)throw new SyntaxError(_0x498b8b(0x155)+_0x15c494);_0x2a5f6a===-0x1&&(_0x2a5f6a=_0x15c494);let _0x177e62=_0x1ee84b[_0x498b8b(0xce)](_0x2b3dec,_0x2a5f6a);_0xa88fd2&&(_0x177e62=_0x177e62[_0x498b8b(0x177)](/\\/g,''),_0xa88fd2=!0x1),_0x1e3c2b(_0x3d0b46,_0xbb7d54,_0x177e62),_0x405851===0x2c&&(_0x1e3c2b(_0xe928a1,_0x40b0a0,_0x3d0b46),_0x3d0b46=Object[_0x498b8b(0x14e)](null),_0x40b0a0=void 0x0),_0xbb7d54=void 0x0,_0x2b3dec=_0x2a5f6a=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x15c494);}}}}}}}if(_0x2b3dec===-0x1||_0x2878ed||_0x405851===0x20||_0x405851===0x9)throw new SyntaxError(_0x498b8b(0xfb));_0x2a5f6a===-0x1&&(_0x2a5f6a=_0x15c494);const _0x4a9b22=_0x1ee84b['slice'](_0x2b3dec,_0x2a5f6a);return _0x40b0a0===void 0x0?_0x1e3c2b(_0xe928a1,_0x4a9b22,_0x3d0b46):(_0xbb7d54===void 0x0?_0x1e3c2b(_0x3d0b46,_0x4a9b22,!0x0):_0xa88fd2?_0x1e3c2b(_0x3d0b46,_0xbb7d54,_0x4a9b22[_0x498b8b(0x177)](/\\/g,'')):_0x1e3c2b(_0x3d0b46,_0xbb7d54,_0x4a9b22),_0x1e3c2b(_0xe928a1,_0x40b0a0,_0x3d0b46)),_0xe928a1;}function _0x386424(_0x3cdb61){const _0x53ff8b=_0x4146;return Object[_0x53ff8b(0x136)](_0x3cdb61)[_0x53ff8b(0xe2)](_0xcecbd1=>{const _0x1cdc68=_0x53ff8b;let _0x24860c=_0x3cdb61[_0xcecbd1];return Array['isArray'](_0x24860c)||(_0x24860c=[_0x24860c]),_0x24860c[_0x1cdc68(0xe2)](_0x3a5ee7=>[_0xcecbd1][_0x1cdc68(0x123)](Object[_0x1cdc68(0x136)](_0x3a5ee7)[_0x1cdc68(0xe2)](_0x5b67d2=>{const _0x44b81d=_0x1cdc68;let _0x26bd49=_0x3a5ee7[_0x5b67d2];return Array[_0x44b81d(0x178)](_0x26bd49)||(_0x26bd49=[_0x26bd49]),_0x26bd49[_0x44b81d(0xe2)](_0x171ad5=>_0x171ad5===!0x0?_0x5b67d2:_0x5b67d2+'='+_0x171ad5)[_0x44b81d(0xaf)](';\x20');}))[_0x1cdc68(0xaf)](';\x20'))[_0x1cdc68(0xaf)](',\x20');})[_0x53ff8b(0xaf)](',\x20');}return be={'format':_0x386424,'parse':_0x53816c},be;}var we,st;function Ie(){const _0x1f9214=_0x1a88ea;if(st)return we;st=0x1;const _0x57aaa2=_0xb1590,_0x1b1dcf=_0x391d4b,_0x159170=_0x301e77,_0x36233a=_0x561a68,_0x4d0b0f=_0x21ad07,{randomBytes:_0x2c6882,createHash:_0x4e533b}=_0x450d90,{Duplex:_0x25ceea,Readable:_0x5c0106}=_0x5a7211,{URL:_0x2d96bb}=_0x4d4ada,_0x5c2064=he(),_0x5a42a7=dt(),_0x2ba959=_t(),{isBlob:_0x53464a}=ne(),{BINARY_TYPES:_0x74027b,EMPTY_BUFFER:_0x4acc8a,GUID:_0x5e80e2,kForOnEventAttribute:_0x3141ed,kListener:_0x4d496a,kStatusCode:_0x430f95,kWebSocket:_0x3415c0,NOOP:_0x3a70b4}=V(),{EventTarget:{addEventListener:_0x1811f5,removeEventListener:_0x54d40f}}=Kt(),{format:_0x448109,parse:_0x3ab9a0}=pt(),{toBuffer:_0x3083f6}=ce(),_0x313df6=0x1e*0x3e8,_0x1688d5=Symbol('kAborted'),_0x43893b=[0x8,0xd],_0x48e08f=['CONNECTING',_0x1f9214(0x18d),_0x1f9214(0x17b),_0x1f9214(0x190)],_0x5a2df8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x441f93 extends _0x57aaa2{constructor(_0xe739e8,_0x5a151e,_0x112323){const _0x3e834a=_0x1f9214;super(),this[_0x3e834a(0x195)]=_0x74027b[0x0],this[_0x3e834a(0x229)]=0x3ee,this[_0x3e834a(0x1f7)]=!0x1,this[_0x3e834a(0x1de)]=!0x1,this[_0x3e834a(0xfe)]=_0x4acc8a,this[_0x3e834a(0x1ca)]=null,this['_errorEmitted']=!0x1,this[_0x3e834a(0x1a1)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x3e834a(0x93)]=_0x441f93[_0x3e834a(0x10e)],this[_0x3e834a(0x14f)]=null,this[_0x3e834a(0x12c)]=null,this[_0x3e834a(0xa9)]=null,_0xe739e8!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3e834a(0x99)]=0x0,_0x5a151e===void 0x0?_0x5a151e=[]:Array['isArray'](_0x5a151e)||(typeof _0x5a151e==_0x3e834a(0xa6)&&_0x5a151e!==null?(_0x112323=_0x5a151e,_0x5a151e=[]):_0x5a151e=[_0x5a151e]),_0x561930(this,_0xe739e8,_0x5a151e,_0x112323)):(this[_0x3e834a(0x126)]=_0x112323[_0x3e834a(0x21a)],this[_0x3e834a(0x183)]=!0x0);}get[_0x1f9214(0x179)](){const _0x1964e2=_0x1f9214;return this[_0x1964e2(0x195)];}set['binaryType'](_0x56c4c7){const _0x41216d=_0x1f9214;_0x74027b[_0x41216d(0x1a7)](_0x56c4c7)&&(this['_binaryType']=_0x56c4c7,this[_0x41216d(0x14f)]&&(this['_receiver'][_0x41216d(0x195)]=_0x56c4c7));}get[_0x1f9214(0xcb)](){const _0x27eeb2=_0x1f9214;return this[_0x27eeb2(0xa9)]?this[_0x27eeb2(0xa9)]['_writableState'][_0x27eeb2(0x90)]+this[_0x27eeb2(0x12c)]['_bufferedBytes']:this['_bufferedAmount'];}get[_0x1f9214(0x128)](){const _0x4717cc=_0x1f9214;return Object['keys'](this[_0x4717cc(0x1a1)])[_0x4717cc(0xaf)]();}get[_0x1f9214(0x171)](){return this['_paused'];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x1f9214(0xd6)](){return null;}get[_0x1f9214(0x1b9)](){return null;}get['protocol'](){const _0x1a1ca0=_0x1f9214;return this[_0x1a1ca0(0x144)];}get[_0x1f9214(0x10b)](){const _0x4f254b=_0x1f9214;return this[_0x4f254b(0x93)];}get[_0x1f9214(0x1f5)](){return this['_url'];}[_0x1f9214(0x1cf)](_0x50cbd3,_0x224eea,_0xa32b75){const _0x419248=_0x1f9214,_0x3347c4=new _0x5a42a7({'allowSynchronousEvents':_0xa32b75[_0x419248(0x1ec)],'binaryType':this[_0x419248(0x179)],'extensions':this['_extensions'],'isServer':this[_0x419248(0x183)],'maxPayload':_0xa32b75[_0x419248(0x151)],'skipUTF8Validation':_0xa32b75[_0x419248(0x13b)]}),_0x28f794=new _0x2ba959(_0x50cbd3,this[_0x419248(0x1a1)],_0xa32b75[_0x419248(0xfc)]);this[_0x419248(0x14f)]=_0x3347c4,this[_0x419248(0x12c)]=_0x28f794,this[_0x419248(0xa9)]=_0x50cbd3,_0x3347c4[_0x3415c0]=this,_0x28f794[_0x3415c0]=this,_0x50cbd3[_0x3415c0]=this,_0x3347c4['on'](_0x419248(0x1e7),_0x114ae3),_0x3347c4['on'](_0x419248(0x22d),_0x3213f5),_0x3347c4['on']('error',_0x39a277),_0x3347c4['on'](_0x419248(0x13d),_0x1e2d67),_0x3347c4['on']('ping',_0x42db0b),_0x3347c4['on'](_0x419248(0xa3),_0x358ee0),_0x28f794['onerror']=_0x40f6b0,_0x50cbd3[_0x419248(0xbd)]&&_0x50cbd3[_0x419248(0xbd)](0x0),_0x50cbd3[_0x419248(0x11f)]&&_0x50cbd3['setNoDelay'](),_0x224eea[_0x419248(0x90)]>0x0&&_0x50cbd3[_0x419248(0x149)](_0x224eea),_0x50cbd3['on'](_0x419248(0x21d),_0x5f5d51),_0x50cbd3['on'](_0x419248(0x1b4),_0x5333f3),_0x50cbd3['on']('end',_0x3c6a82),_0x50cbd3['on']('error',_0x13d128),this['_readyState']=_0x441f93['OPEN'],this[_0x419248(0x219)](_0x419248(0x168));}['emitClose'](){const _0x5b5abb=_0x1f9214;if(!this[_0x5b5abb(0xa9)]){this[_0x5b5abb(0x93)]=_0x441f93[_0x5b5abb(0x190)],this['emit'](_0x5b5abb(0x21d),this['_closeCode'],this[_0x5b5abb(0xfe)]);return;}this['_extensions'][_0x5c2064[_0x5b5abb(0x1c1)]]&&this[_0x5b5abb(0x1a1)][_0x5c2064[_0x5b5abb(0x1c1)]][_0x5b5abb(0x210)](),this[_0x5b5abb(0x14f)][_0x5b5abb(0xc6)](),this[_0x5b5abb(0x93)]=_0x441f93[_0x5b5abb(0x190)],this['emit']('close',this[_0x5b5abb(0x229)],this[_0x5b5abb(0xfe)]);}['close'](_0x469b82,_0x112f00){const _0x52a0d5=_0x1f9214;if(this[_0x52a0d5(0x10b)]!==_0x441f93['CLOSED']){if(this[_0x52a0d5(0x10b)]===_0x441f93[_0x52a0d5(0x10e)]){_0xe3fc47(this,this['_req'],_0x52a0d5(0x12f));return;}if(this['readyState']===_0x441f93['CLOSING']){this[_0x52a0d5(0x1de)]&&(this[_0x52a0d5(0x1f7)]||this['_receiver'][_0x52a0d5(0x224)][_0x52a0d5(0x8b)])&&this[_0x52a0d5(0xa9)][_0x52a0d5(0x201)]();return;}this[_0x52a0d5(0x93)]=_0x441f93[_0x52a0d5(0x17b)],this[_0x52a0d5(0x12c)][_0x52a0d5(0x21d)](_0x469b82,_0x112f00,!this[_0x52a0d5(0x183)],_0x55ae29=>{const _0x52fcdd=_0x52a0d5;_0x55ae29||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x52fcdd(0x14f)][_0x52fcdd(0x224)][_0x52fcdd(0x8b)])&&this[_0x52fcdd(0xa9)]['end']());}),_0x31096b(this);}}[_0x1f9214(0x213)](){const _0x55a7b6=_0x1f9214;this[_0x55a7b6(0x10b)]===_0x441f93[_0x55a7b6(0x10e)]||this[_0x55a7b6(0x10b)]===_0x441f93['CLOSED']||(this['_paused']=!0x0,this[_0x55a7b6(0xa9)][_0x55a7b6(0x213)]());}['ping'](_0x270538,_0x50c6cf,_0x3d7290){const _0x2c0fbf=_0x1f9214;if(this[_0x2c0fbf(0x10b)]===_0x441f93[_0x2c0fbf(0x10e)])throw new Error(_0x2c0fbf(0xc5));if(typeof _0x270538==_0x2c0fbf(0x143)?(_0x3d7290=_0x270538,_0x270538=_0x50c6cf=void 0x0):typeof _0x50c6cf=='function'&&(_0x3d7290=_0x50c6cf,_0x50c6cf=void 0x0),typeof _0x270538==_0x2c0fbf(0x1bb)&&(_0x270538=_0x270538['toString']()),this[_0x2c0fbf(0x10b)]!==_0x441f93[_0x2c0fbf(0x18d)]){_0x2edb59(this,_0x270538,_0x3d7290);return;}_0x50c6cf===void 0x0&&(_0x50c6cf=!this[_0x2c0fbf(0x183)]),this[_0x2c0fbf(0x12c)][_0x2c0fbf(0x1cd)](_0x270538||_0x4acc8a,_0x50c6cf,_0x3d7290);}[_0x1f9214(0xa3)](_0x592a6a,_0x22ed1f,_0x4bd418){const _0x450648=_0x1f9214;if(this[_0x450648(0x10b)]===_0x441f93[_0x450648(0x10e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x592a6a==_0x450648(0x143)?(_0x4bd418=_0x592a6a,_0x592a6a=_0x22ed1f=void 0x0):typeof _0x22ed1f==_0x450648(0x143)&&(_0x4bd418=_0x22ed1f,_0x22ed1f=void 0x0),typeof _0x592a6a=='number'&&(_0x592a6a=_0x592a6a['toString']()),this[_0x450648(0x10b)]!==_0x441f93[_0x450648(0x18d)]){_0x2edb59(this,_0x592a6a,_0x4bd418);return;}_0x22ed1f===void 0x0&&(_0x22ed1f=!this['_isServer']),this[_0x450648(0x12c)][_0x450648(0xa3)](_0x592a6a||_0x4acc8a,_0x22ed1f,_0x4bd418);}[_0x1f9214(0xc3)](){const _0x440328=_0x1f9214;this[_0x440328(0x10b)]===_0x441f93[_0x440328(0x10e)]||this['readyState']===_0x441f93['CLOSED']||(this[_0x440328(0xe1)]=!0x1,this['_receiver'][_0x440328(0x224)][_0x440328(0x176)]||this[_0x440328(0xa9)][_0x440328(0xc3)]());}[_0x1f9214(0x1b1)](_0x2bcfc2,_0x2c6166,_0x59c45b){const _0x11cc21=_0x1f9214;if(this[_0x11cc21(0x10b)]===_0x441f93[_0x11cc21(0x10e)])throw new Error(_0x11cc21(0xc5));if(typeof _0x2c6166==_0x11cc21(0x143)&&(_0x59c45b=_0x2c6166,_0x2c6166={}),typeof _0x2bcfc2=='number'&&(_0x2bcfc2=_0x2bcfc2[_0x11cc21(0x159)]()),this['readyState']!==_0x441f93[_0x11cc21(0x18d)]){_0x2edb59(this,_0x2bcfc2,_0x59c45b);return;}const _0x1a508d={'binary':typeof _0x2bcfc2!=_0x11cc21(0xb6),'mask':!this[_0x11cc21(0x183)],'compress':!0x0,'fin':!0x0,..._0x2c6166};this[_0x11cc21(0x1a1)][_0x5c2064['extensionName']]||(_0x1a508d[_0x11cc21(0xb0)]=!0x1),this[_0x11cc21(0x12c)]['send'](_0x2bcfc2||_0x4acc8a,_0x1a508d,_0x59c45b);}['terminate'](){const _0x2fd519=_0x1f9214;if(this[_0x2fd519(0x10b)]!==_0x441f93[_0x2fd519(0x190)]){if(this[_0x2fd519(0x10b)]===_0x441f93[_0x2fd519(0x10e)]){_0xe3fc47(this,this[_0x2fd519(0x233)],_0x2fd519(0x12f));return;}this[_0x2fd519(0xa9)]&&(this[_0x2fd519(0x93)]=_0x441f93[_0x2fd519(0x17b)],this[_0x2fd519(0xa9)][_0x2fd519(0x1ea)]());}}}Object[_0x1f9214(0x17d)](_0x441f93,_0x1f9214(0x10e),{'enumerable':!0x0,'value':_0x48e08f[_0x1f9214(0xf7)]('CONNECTING')}),Object[_0x1f9214(0x17d)](_0x441f93['prototype'],_0x1f9214(0x10e),{'enumerable':!0x0,'value':_0x48e08f[_0x1f9214(0xf7)](_0x1f9214(0x10e))}),Object[_0x1f9214(0x17d)](_0x441f93,_0x1f9214(0x18d),{'enumerable':!0x0,'value':_0x48e08f['indexOf'](_0x1f9214(0x18d))}),Object[_0x1f9214(0x17d)](_0x441f93[_0x1f9214(0x100)],_0x1f9214(0x18d),{'enumerable':!0x0,'value':_0x48e08f['indexOf']('OPEN')}),Object[_0x1f9214(0x17d)](_0x441f93,_0x1f9214(0x17b),{'enumerable':!0x0,'value':_0x48e08f[_0x1f9214(0xf7)](_0x1f9214(0x17b))}),Object[_0x1f9214(0x17d)](_0x441f93[_0x1f9214(0x100)],_0x1f9214(0x17b),{'enumerable':!0x0,'value':_0x48e08f['indexOf']('CLOSING')}),Object[_0x1f9214(0x17d)](_0x441f93,_0x1f9214(0x190),{'enumerable':!0x0,'value':_0x48e08f[_0x1f9214(0xf7)](_0x1f9214(0x190))}),Object['defineProperty'](_0x441f93[_0x1f9214(0x100)],'CLOSED',{'enumerable':!0x0,'value':_0x48e08f[_0x1f9214(0xf7)](_0x1f9214(0x190))}),[_0x1f9214(0x179),_0x1f9214(0xcb),_0x1f9214(0x128),_0x1f9214(0x171),_0x1f9214(0x96),_0x1f9214(0x10b),'url'][_0x1f9214(0x1ba)](_0x435b14=>{const _0x3d129b=_0x1f9214;Object['defineProperty'](_0x441f93[_0x3d129b(0x100)],_0x435b14,{'enumerable':!0x0});}),[_0x1f9214(0x168),_0x1f9214(0x221),_0x1f9214(0x21d),_0x1f9214(0x13d)][_0x1f9214(0x1ba)](_0x4d5c5d=>{const _0x9ddbca=_0x1f9214;Object[_0x9ddbca(0x17d)](_0x441f93[_0x9ddbca(0x100)],'on'+_0x4d5c5d,{'enumerable':!0x0,'get'(){for(const _0x1b7d05 of this['listeners'](_0x4d5c5d))if(_0x1b7d05[_0x3141ed])return _0x1b7d05[_0x4d496a];return null;},'set'(_0x33b241){const _0x5b54df=_0x9ddbca;for(const _0x2ee06e of this['listeners'](_0x4d5c5d))if(_0x2ee06e[_0x3141ed]){this[_0x5b54df(0x220)](_0x4d5c5d,_0x2ee06e);break;}typeof _0x33b241==_0x5b54df(0x143)&&this[_0x5b54df(0xdc)](_0x4d5c5d,_0x33b241,{[_0x3141ed]:!0x0});}});}),_0x441f93[_0x1f9214(0x100)][_0x1f9214(0xdc)]=_0x1811f5,_0x441f93[_0x1f9214(0x100)][_0x1f9214(0xc4)]=_0x54d40f,we=_0x441f93;function _0x561930(_0x30a31d,_0xdda3e9,_0x3e8087,_0x420516){const _0xddc61=_0x1f9214,_0x53343d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x43893b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x420516,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xddc61(0x227),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x30a31d[_0xddc61(0x126)]=_0x53343d[_0xddc61(0x21a)],!_0x43893b[_0xddc61(0x1a7)](_0x53343d['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x53343d[_0xddc61(0xe9)]+_0xddc61(0x1d7)+_0x43893b[_0xddc61(0xaf)](',\x20')+')');let _0x1724bc;if(_0xdda3e9 instanceof _0x2d96bb)_0x1724bc=_0xdda3e9;else try{_0x1724bc=new _0x2d96bb(_0xdda3e9);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0xdda3e9);}_0x1724bc[_0xddc61(0x96)]==='http:'?_0x1724bc[_0xddc61(0x96)]=_0xddc61(0xc0):_0x1724bc[_0xddc61(0x96)]==='https:'&&(_0x1724bc[_0xddc61(0x96)]='wss:'),_0x30a31d['_url']=_0x1724bc[_0xddc61(0x15a)];const _0x4eebed=_0x1724bc['protocol']===_0xddc61(0x16b),_0x2d07bd=_0x1724bc[_0xddc61(0x96)]===_0xddc61(0x95);let _0x21341f;if(_0x1724bc[_0xddc61(0x96)]!==_0xddc61(0xc0)&&!_0x4eebed&&!_0x2d07bd?_0x21341f=_0xddc61(0xb9):_0x2d07bd&&!_0x1724bc[_0xddc61(0x22f)]?_0x21341f=_0xddc61(0x161):_0x1724bc[_0xddc61(0x14a)]&&(_0x21341f=_0xddc61(0x174)),_0x21341f){const _0x3eeddf=new SyntaxError(_0x21341f);if(_0x30a31d['_redirects']===0x0)throw _0x3eeddf;_0x5e3f4f(_0x30a31d,_0x3eeddf);return;}const _0x2d373b=_0x4eebed?0x1bb:0x50,_0x54e05f=_0x2c6882(0x10)[_0xddc61(0x159)](_0xddc61(0x113)),_0x3c85f8=_0x4eebed?_0x1b1dcf[_0xddc61(0x22e)]:_0x159170[_0xddc61(0x22e)],_0x1dc618=new Set();let _0x15fcac;if(_0x53343d['createConnection']=_0x53343d[_0xddc61(0x1ae)]||(_0x4eebed?_0x247f14:_0x6cf0fd),_0x53343d[_0xddc61(0xf5)]=_0x53343d['defaultPort']||_0x2d373b,_0x53343d[_0xddc61(0x1e0)]=_0x1724bc[_0xddc61(0x1e0)]||_0x2d373b,_0x53343d[_0xddc61(0x172)]=_0x1724bc[_0xddc61(0x228)]['startsWith']('[')?_0x1724bc[_0xddc61(0x228)][_0xddc61(0xce)](0x1,-0x1):_0x1724bc[_0xddc61(0x228)],_0x53343d['headers']={..._0x53343d[_0xddc61(0x156)],'Sec-WebSocket-Version':_0x53343d[_0xddc61(0xe9)],'Sec-WebSocket-Key':_0x54e05f,'Connection':_0xddc61(0x1f6),'Upgrade':_0xddc61(0x127)},_0x53343d[_0xddc61(0x19c)]=_0x1724bc[_0xddc61(0x22f)]+_0x1724bc['search'],_0x53343d['timeout']=_0x53343d[_0xddc61(0xe0)],_0x53343d[_0xddc61(0xe4)]&&(_0x15fcac=new _0x5c2064(_0x53343d['perMessageDeflate']!==!0x0?_0x53343d[_0xddc61(0xe4)]:{},!0x1,_0x53343d[_0xddc61(0x151)]),_0x53343d[_0xddc61(0x156)][_0xddc61(0xbf)]=_0x448109({[_0x5c2064[_0xddc61(0x1c1)]]:_0x15fcac[_0xddc61(0x121)]()})),_0x3e8087['length']){for(const _0x57557e of _0x3e8087){if(typeof _0x57557e!=_0xddc61(0xb6)||!_0x5a2df8[_0xddc61(0x15c)](_0x57557e)||_0x1dc618[_0xddc61(0x189)](_0x57557e))throw new SyntaxError(_0xddc61(0xc9));_0x1dc618[_0xddc61(0x11c)](_0x57557e);}_0x53343d['headers'][_0xddc61(0xdb)]=_0x3e8087[_0xddc61(0xaf)](',');}if(_0x53343d[_0xddc61(0xf6)]&&(_0x53343d['protocolVersion']<0xd?_0x53343d[_0xddc61(0x156)][_0xddc61(0x164)]=_0x53343d[_0xddc61(0xf6)]:_0x53343d[_0xddc61(0x156)][_0xddc61(0x167)]=_0x53343d[_0xddc61(0xf6)]),(_0x1724bc[_0xddc61(0xdf)]||_0x1724bc[_0xddc61(0x112)])&&(_0x53343d['auth']=_0x1724bc['username']+':'+_0x1724bc[_0xddc61(0x112)]),_0x2d07bd){const _0xbba5aa=_0x53343d[_0xddc61(0x19c)]['split'](':');_0x53343d['socketPath']=_0xbba5aa[0x0],_0x53343d[_0xddc61(0x19c)]=_0xbba5aa[0x1];}let _0x3471f5;if(_0x53343d[_0xddc61(0xf9)]){if(_0x30a31d[_0xddc61(0x99)]===0x0){_0x30a31d[_0xddc61(0x111)]=_0x2d07bd,_0x30a31d[_0xddc61(0x1d8)]=_0x4eebed,_0x30a31d[_0xddc61(0xb3)]=_0x2d07bd?_0x53343d[_0xddc61(0x1a0)]:_0x1724bc[_0xddc61(0x172)];const _0x2c9722=_0x420516&&_0x420516[_0xddc61(0x156)];if(_0x420516={..._0x420516,'headers':{}},_0x2c9722){for(const [_0x137f63,_0x581b3d]of Object[_0xddc61(0x1f9)](_0x2c9722))_0x420516['headers'][_0x137f63[_0xddc61(0x1ee)]()]=_0x581b3d;}}else{if(_0x30a31d[_0xddc61(0x1f8)](_0xddc61(0x1c0))===0x0){const _0x4f562c=_0x2d07bd?_0x30a31d['_originalIpc']?_0x53343d[_0xddc61(0x1a0)]===_0x30a31d[_0xddc61(0xb3)]:!0x1:_0x30a31d[_0xddc61(0x111)]?!0x1:_0x1724bc['host']===_0x30a31d[_0xddc61(0xb3)];(!_0x4f562c||_0x30a31d[_0xddc61(0x1d8)]&&!_0x4eebed)&&(delete _0x53343d['headers'][_0xddc61(0x115)],delete _0x53343d[_0xddc61(0x156)]['cookie'],_0x4f562c||delete _0x53343d[_0xddc61(0x156)][_0xddc61(0x172)],_0x53343d[_0xddc61(0xab)]=void 0x0);}}_0x53343d['auth']&&!_0x420516[_0xddc61(0x156)][_0xddc61(0x115)]&&(_0x420516[_0xddc61(0x156)][_0xddc61(0x115)]=_0xddc61(0x1bf)+Buffer[_0xddc61(0x225)](_0x53343d[_0xddc61(0xab)])[_0xddc61(0x159)](_0xddc61(0x113))),_0x3471f5=_0x30a31d['_req']=_0x3c85f8(_0x53343d),_0x30a31d['_redirects']&&_0x30a31d[_0xddc61(0x219)](_0xddc61(0x1c0),_0x30a31d[_0xddc61(0x1f5)],_0x3471f5);}else _0x3471f5=_0x30a31d[_0xddc61(0x233)]=_0x3c85f8(_0x53343d);_0x53343d[_0xddc61(0xbe)]&&_0x3471f5['on'](_0xddc61(0xbe),()=>{const _0x4dbec7=_0xddc61;_0xe3fc47(_0x30a31d,_0x3471f5,_0x4dbec7(0x13e));}),_0x3471f5['on'](_0xddc61(0x221),_0x57b632=>{const _0x3939ed=_0xddc61;_0x3471f5===null||_0x3471f5[_0x1688d5]||(_0x3471f5=_0x30a31d[_0x3939ed(0x233)]=null,_0x5e3f4f(_0x30a31d,_0x57b632));}),_0x3471f5['on'](_0xddc61(0x10c),_0x54f81e=>{const _0x2c584e=_0xddc61,_0x241b1f=_0x54f81e[_0x2c584e(0x156)][_0x2c584e(0x1f0)],_0x2562cd=_0x54f81e[_0x2c584e(0xb1)];if(_0x241b1f&&_0x53343d[_0x2c584e(0xf9)]&&_0x2562cd>=0x12c&&_0x2562cd<0x190){if(++_0x30a31d['_redirects']>_0x53343d[_0x2c584e(0x124)]){_0xe3fc47(_0x30a31d,_0x3471f5,_0x2c584e(0x158));return;}_0x3471f5[_0x2c584e(0x94)]();let _0x22d65d;try{_0x22d65d=new _0x2d96bb(_0x241b1f,_0xdda3e9);}catch{const _0xe99302=new SyntaxError(_0x2c584e(0x204)+_0x241b1f);_0x5e3f4f(_0x30a31d,_0xe99302);return;}_0x561930(_0x30a31d,_0x22d65d,_0x3e8087,_0x420516);}else _0x30a31d[_0x2c584e(0x219)]('unexpected-response',_0x3471f5,_0x54f81e)||_0xe3fc47(_0x30a31d,_0x3471f5,_0x2c584e(0x150)+_0x54f81e['statusCode']);}),_0x3471f5['on'](_0xddc61(0x17e),(_0x45d446,_0x554a82,_0x240305)=>{const _0x345c26=_0xddc61;if(_0x30a31d[_0x345c26(0x219)]('upgrade',_0x45d446),_0x30a31d['readyState']!==_0x441f93[_0x345c26(0x10e)])return;_0x3471f5=_0x30a31d[_0x345c26(0x233)]=null;const _0x316ec5=_0x45d446[_0x345c26(0x156)]['upgrade'];if(_0x316ec5===void 0x0||_0x316ec5[_0x345c26(0x1ee)]()!==_0x345c26(0x127)){_0xe3fc47(_0x30a31d,_0x554a82,_0x345c26(0x1f3));return;}const _0x260e64=_0x4e533b(_0x345c26(0x1c7))[_0x345c26(0x110)](_0x54e05f+_0x5e80e2)['digest']('base64');if(_0x45d446['headers']['sec-websocket-accept']!==_0x260e64){_0xe3fc47(_0x30a31d,_0x554a82,_0x345c26(0x139));return;}const _0x2a2b2b=_0x45d446[_0x345c26(0x156)][_0x345c26(0x1d2)];let _0x2a08f5;if(_0x2a2b2b!==void 0x0?_0x1dc618[_0x345c26(0xc1)]?_0x1dc618[_0x345c26(0x189)](_0x2a2b2b)||(_0x2a08f5='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2a08f5='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x1dc618[_0x345c26(0xc1)]&&(_0x2a08f5=_0x345c26(0x21f)),_0x2a08f5){_0xe3fc47(_0x30a31d,_0x554a82,_0x2a08f5);return;}_0x2a2b2b&&(_0x30a31d[_0x345c26(0x144)]=_0x2a2b2b);const _0x563d41=_0x45d446[_0x345c26(0x156)][_0x345c26(0x17a)];if(_0x563d41!==void 0x0){if(!_0x15fcac){_0xe3fc47(_0x30a31d,_0x554a82,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x566be7;try{_0x566be7=_0x3ab9a0(_0x563d41);}catch{_0xe3fc47(_0x30a31d,_0x554a82,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x203cf1=Object[_0x345c26(0x136)](_0x566be7);if(_0x203cf1['length']!==0x1||_0x203cf1[0x0]!==_0x5c2064['extensionName']){_0xe3fc47(_0x30a31d,_0x554a82,_0x345c26(0x9b));return;}try{_0x15fcac[_0x345c26(0x1a2)](_0x566be7[_0x5c2064['extensionName']]);}catch{_0xe3fc47(_0x30a31d,_0x554a82,_0x345c26(0x138));return;}_0x30a31d[_0x345c26(0x1a1)][_0x5c2064['extensionName']]=_0x15fcac;}_0x30a31d[_0x345c26(0x1cf)](_0x554a82,_0x240305,{'allowSynchronousEvents':_0x53343d[_0x345c26(0x1ec)],'generateMask':_0x53343d[_0x345c26(0xfc)],'maxPayload':_0x53343d['maxPayload'],'skipUTF8Validation':_0x53343d['skipUTF8Validation']});}),_0x53343d[_0xddc61(0xb7)]?_0x53343d['finishRequest'](_0x3471f5,_0x30a31d):_0x3471f5[_0xddc61(0x201)]();}function _0x5e3f4f(_0x84b8b5,_0x5f3757){const _0x58cbfe=_0x1f9214;_0x84b8b5[_0x58cbfe(0x93)]=_0x441f93[_0x58cbfe(0x17b)],_0x84b8b5['_errorEmitted']=!0x0,_0x84b8b5[_0x58cbfe(0x219)](_0x58cbfe(0x221),_0x5f3757),_0x84b8b5['emitClose']();}function _0x6cf0fd(_0x263a66){const _0x225122=_0x1f9214;return _0x263a66[_0x225122(0x19c)]=_0x263a66[_0x225122(0x1a0)],_0x36233a[_0x225122(0xbc)](_0x263a66);}function _0x247f14(_0x5cdb87){const _0x140411=_0x1f9214;return _0x5cdb87[_0x140411(0x19c)]=void 0x0,!_0x5cdb87[_0x140411(0x19b)]&&_0x5cdb87[_0x140411(0x19b)]!==''&&(_0x5cdb87[_0x140411(0x19b)]=_0x36233a[_0x140411(0xe6)](_0x5cdb87[_0x140411(0x172)])?'':_0x5cdb87[_0x140411(0x172)]),_0x4d0b0f[_0x140411(0xbc)](_0x5cdb87);}function _0xe3fc47(_0x2fbf1e,_0x2d7cf9,_0x356dcf){const _0xb6adb3=_0x1f9214;_0x2fbf1e[_0xb6adb3(0x93)]=_0x441f93[_0xb6adb3(0x17b)];const _0x4939c8=new Error(_0x356dcf);Error[_0xb6adb3(0x17f)](_0x4939c8,_0xe3fc47),_0x2d7cf9['setHeader']?(_0x2d7cf9[_0x1688d5]=!0x0,_0x2d7cf9[_0xb6adb3(0x94)](),_0x2d7cf9[_0xb6adb3(0x1b8)]&&!_0x2d7cf9['socket'][_0xb6adb3(0x234)]&&_0x2d7cf9[_0xb6adb3(0x1b8)][_0xb6adb3(0x1ea)](),process[_0xb6adb3(0x165)](_0x5e3f4f,_0x2fbf1e,_0x4939c8)):(_0x2d7cf9['destroy'](_0x4939c8),_0x2d7cf9[_0xb6adb3(0x16c)]('error',_0x2fbf1e[_0xb6adb3(0x219)][_0xb6adb3(0x209)](_0x2fbf1e,_0xb6adb3(0x221))),_0x2d7cf9[_0xb6adb3(0x16c)](_0xb6adb3(0x21d),_0x2fbf1e[_0xb6adb3(0x203)][_0xb6adb3(0x209)](_0x2fbf1e)));}function _0x2edb59(_0x54bcba,_0x9e2a1d,_0x259fc6){const _0x284ade=_0x1f9214;if(_0x9e2a1d){const _0x145869=_0x53464a(_0x9e2a1d)?_0x9e2a1d['size']:_0x3083f6(_0x9e2a1d)[_0x284ade(0x90)];_0x54bcba[_0x284ade(0xa9)]?_0x54bcba[_0x284ade(0x12c)][_0x284ade(0x1bc)]+=_0x145869:_0x54bcba[_0x284ade(0xb2)]+=_0x145869;}if(_0x259fc6){const _0x2ab02d=new Error(_0x284ade(0x21c)+_0x54bcba[_0x284ade(0x10b)]+'\x20('+_0x48e08f[_0x54bcba[_0x284ade(0x10b)]]+')');process[_0x284ade(0x165)](_0x259fc6,_0x2ab02d);}}function _0x114ae3(_0x49e69b,_0x34abb0){const _0x2ef17b=_0x1f9214,_0x47ac34=this[_0x3415c0];_0x47ac34['_closeFrameReceived']=!0x0,_0x47ac34['_closeMessage']=_0x34abb0,_0x47ac34['_closeCode']=_0x49e69b,_0x47ac34[_0x2ef17b(0xa9)][_0x3415c0]!==void 0x0&&(_0x47ac34['_socket'][_0x2ef17b(0x220)](_0x2ef17b(0x1b4),_0x5333f3),process[_0x2ef17b(0x165)](_0x3e6a82,_0x47ac34[_0x2ef17b(0xa9)]),_0x49e69b===0x3ed?_0x47ac34[_0x2ef17b(0x21d)]():_0x47ac34['close'](_0x49e69b,_0x34abb0));}function _0x3213f5(){const _0x3b7b71=_0x1f9214,_0x17fb67=this[_0x3415c0];_0x17fb67[_0x3b7b71(0x171)]||_0x17fb67['_socket'][_0x3b7b71(0xc3)]();}function _0x39a277(_0x22ac6e){const _0x568e91=_0x1f9214,_0x59449c=this[_0x3415c0];_0x59449c['_socket'][_0x3415c0]!==void 0x0&&(_0x59449c['_socket'][_0x568e91(0x220)](_0x568e91(0x1b4),_0x5333f3),process[_0x568e91(0x165)](_0x3e6a82,_0x59449c[_0x568e91(0xa9)]),_0x59449c['close'](_0x22ac6e[_0x430f95])),_0x59449c[_0x568e91(0x1db)]||(_0x59449c[_0x568e91(0x1db)]=!0x0,_0x59449c['emit'](_0x568e91(0x221),_0x22ac6e));}function _0x4315b2(){const _0x3883f1=_0x1f9214;this[_0x3415c0][_0x3883f1(0x203)]();}function _0x1e2d67(_0x3e2ca8,_0x2a3b61){const _0x5e9236=_0x1f9214;this[_0x3415c0][_0x5e9236(0x219)](_0x5e9236(0x13d),_0x3e2ca8,_0x2a3b61);}function _0x42db0b(_0x4666ae){const _0xbc5428=_0x1f9214,_0x585d3b=this[_0x3415c0];_0x585d3b[_0xbc5428(0x126)]&&_0x585d3b[_0xbc5428(0xa3)](_0x4666ae,!this[_0xbc5428(0x183)],_0x3a70b4),_0x585d3b[_0xbc5428(0x219)](_0xbc5428(0x1cd),_0x4666ae);}function _0x358ee0(_0x875ab5){const _0x4529e4=_0x1f9214;this[_0x3415c0]['emit'](_0x4529e4(0xa3),_0x875ab5);}function _0x3e6a82(_0x4fe200){const _0xc7a34a=_0x1f9214;_0x4fe200[_0xc7a34a(0xc3)]();}function _0x40f6b0(_0x459d30){const _0x279eb7=_0x1f9214,_0x23a739=this[_0x3415c0];_0x23a739['readyState']!==_0x441f93[_0x279eb7(0x190)]&&(_0x23a739[_0x279eb7(0x10b)]===_0x441f93[_0x279eb7(0x18d)]&&(_0x23a739[_0x279eb7(0x93)]=_0x441f93[_0x279eb7(0x17b)],_0x31096b(_0x23a739)),this['_socket'][_0x279eb7(0x201)](),_0x23a739[_0x279eb7(0x1db)]||(_0x23a739[_0x279eb7(0x1db)]=!0x0,_0x23a739[_0x279eb7(0x219)](_0x279eb7(0x221),_0x459d30)));}function _0x31096b(_0x3cec8e){const _0x4f6a15=_0x1f9214;_0x3cec8e[_0x4f6a15(0x1ca)]=setTimeout(_0x3cec8e[_0x4f6a15(0xa9)][_0x4f6a15(0x1ea)]['bind'](_0x3cec8e[_0x4f6a15(0xa9)]),_0x313df6);}function _0x5f5d51(){const _0x4b4e25=_0x1f9214,_0x135203=this[_0x3415c0];this['removeListener']('close',_0x5f5d51),this[_0x4b4e25(0x220)](_0x4b4e25(0x1b4),_0x5333f3),this['removeListener'](_0x4b4e25(0x201),_0x3c6a82),_0x135203[_0x4b4e25(0x93)]=_0x441f93[_0x4b4e25(0x17b)];let _0x209c04;!this[_0x4b4e25(0x208)][_0x4b4e25(0x141)]&&!_0x135203['_closeFrameReceived']&&!_0x135203[_0x4b4e25(0x14f)][_0x4b4e25(0x224)][_0x4b4e25(0x8b)]&&(_0x209c04=_0x135203[_0x4b4e25(0xa9)][_0x4b4e25(0x223)]())!==null&&_0x135203['_receiver'][_0x4b4e25(0x142)](_0x209c04),_0x135203[_0x4b4e25(0x14f)][_0x4b4e25(0x201)](),this[_0x3415c0]=void 0x0,clearTimeout(_0x135203[_0x4b4e25(0x1ca)]),_0x135203[_0x4b4e25(0x14f)][_0x4b4e25(0x224)][_0x4b4e25(0xda)]||_0x135203[_0x4b4e25(0x14f)][_0x4b4e25(0x224)][_0x4b4e25(0x8b)]?_0x135203['emitClose']():(_0x135203[_0x4b4e25(0x14f)]['on']('error',_0x4315b2),_0x135203[_0x4b4e25(0x14f)]['on'](_0x4b4e25(0xb4),_0x4315b2));}function _0x5333f3(_0x11a184){const _0x3c7cd7=_0x1f9214;this[_0x3415c0][_0x3c7cd7(0x14f)][_0x3c7cd7(0x142)](_0x11a184)||this['pause']();}function _0x3c6a82(){const _0x4f66d3=_0x1f9214,_0x55c24d=this[_0x3415c0];_0x55c24d[_0x4f66d3(0x93)]=_0x441f93[_0x4f66d3(0x17b)],_0x55c24d[_0x4f66d3(0x14f)]['end'](),this[_0x4f66d3(0x201)]();}function _0x13d128(){const _0x374eb1=_0x1f9214,_0x5c6e9d=this[_0x3415c0];this[_0x374eb1(0x220)](_0x374eb1(0x221),_0x13d128),this['on']('error',_0x3a70b4),_0x5c6e9d&&(_0x5c6e9d[_0x374eb1(0x93)]=_0x441f93[_0x374eb1(0x17b)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x54dcea}=_0x5a7211;function _0x4bfa86(_0x340d6c){const _0x3d85c9=_0x4146;_0x340d6c[_0x3d85c9(0x219)]('close');}function _0x5c7be4(){const _0x1a6469=_0x4146;!this[_0x1a6469(0x234)]&&this[_0x1a6469(0x224)][_0x1a6469(0xda)]&&this['destroy']();}function _0x37c089(_0xa4e9d){const _0x5eaaa2=_0x4146;this[_0x5eaaa2(0x220)]('error',_0x37c089),this[_0x5eaaa2(0x1ea)](),this[_0x5eaaa2(0x1f8)](_0x5eaaa2(0x221))===0x0&&this['emit']('error',_0xa4e9d);}function _0x49db18(_0x17685a,_0x3c93a6){const _0x4a2e2d=_0x4146;let _0x1f413e=!0x0;const _0x4c4a0d=new _0x54dcea({..._0x3c93a6,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x17685a['on'](_0x4a2e2d(0x13d),function(_0x5771fa,_0x4ca151){const _0x5b7bfe=_0x4a2e2d,_0x1d5eeb=!_0x4ca151&&_0x4c4a0d[_0x5b7bfe(0x208)][_0x5b7bfe(0xea)]?_0x5771fa[_0x5b7bfe(0x159)]():_0x5771fa;_0x4c4a0d['push'](_0x1d5eeb)||_0x17685a[_0x5b7bfe(0x213)]();}),_0x17685a[_0x4a2e2d(0x16c)](_0x4a2e2d(0x221),function(_0x25969a){const _0x5aa85d=_0x4a2e2d;_0x4c4a0d['destroyed']||(_0x1f413e=!0x1,_0x4c4a0d[_0x5aa85d(0x1ea)](_0x25969a));}),_0x17685a[_0x4a2e2d(0x16c)](_0x4a2e2d(0x21d),function(){const _0x34ba9d=_0x4a2e2d;_0x4c4a0d['destroyed']||_0x4c4a0d[_0x34ba9d(0xa0)](null);}),_0x4c4a0d['_destroy']=function(_0x358c5a,_0x25e27e){const _0x54f754=_0x4a2e2d;if(_0x17685a[_0x54f754(0x10b)]===_0x17685a[_0x54f754(0x190)]){_0x25e27e(_0x358c5a),process[_0x54f754(0x165)](_0x4bfa86,_0x4c4a0d);return;}let _0x293860=!0x1;_0x17685a[_0x54f754(0x16c)](_0x54f754(0x221),function(_0x498c45){_0x293860=!0x0,_0x25e27e(_0x498c45);}),_0x17685a[_0x54f754(0x16c)](_0x54f754(0x21d),function(){const _0x51345c=_0x54f754;_0x293860||_0x25e27e(_0x358c5a),process[_0x51345c(0x165)](_0x4bfa86,_0x4c4a0d);}),_0x1f413e&&_0x17685a[_0x54f754(0x1ef)]();},_0x4c4a0d[_0x4a2e2d(0xf8)]=function(_0x301d55){const _0x3bc38f=_0x4a2e2d;if(_0x17685a[_0x3bc38f(0x10b)]===_0x17685a[_0x3bc38f(0x10e)]){_0x17685a['once'](_0x3bc38f(0x168),function(){_0x4c4a0d['_final'](_0x301d55);});return;}_0x17685a[_0x3bc38f(0xa9)]!==null&&(_0x17685a[_0x3bc38f(0xa9)]['_writableState'][_0x3bc38f(0xda)]?(_0x301d55(),_0x4c4a0d[_0x3bc38f(0x208)][_0x3bc38f(0x141)]&&_0x4c4a0d[_0x3bc38f(0x1ea)]()):(_0x17685a[_0x3bc38f(0xa9)]['once'](_0x3bc38f(0xb4),function(){_0x301d55();}),_0x17685a[_0x3bc38f(0x21d)]()));},_0x4c4a0d[_0x4a2e2d(0x1e2)]=function(){const _0x4155ba=_0x4a2e2d;_0x17685a[_0x4155ba(0x171)]&&_0x17685a['resume']();},_0x4c4a0d[_0x4a2e2d(0x205)]=function(_0xad2e7d,_0x3a24dd,_0x1c797c){const _0x561e83=_0x4a2e2d;if(_0x17685a[_0x561e83(0x10b)]===_0x17685a[_0x561e83(0x10e)]){_0x17685a[_0x561e83(0x16c)](_0x561e83(0x168),function(){const _0x4d7f11=_0x561e83;_0x4c4a0d[_0x4d7f11(0x205)](_0xad2e7d,_0x3a24dd,_0x1c797c);});return;}_0x17685a[_0x561e83(0x1b1)](_0xad2e7d,_0x1c797c);},_0x4c4a0d['on'](_0x4a2e2d(0x201),_0x5c7be4),_0x4c4a0d['on'](_0x4a2e2d(0x221),_0x37c089),_0x4c4a0d;}return Oe=_0x49db18,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x8442af}=ne();function _0x443ac2(_0x59b548){const _0x51d913=_0x4146,_0x5e45bf=new Set();let _0x3ef571=-0x1,_0x5e06d3=-0x1,_0x41ae3c=0x0;for(_0x41ae3c;_0x41ae3c<_0x59b548[_0x51d913(0x90)];_0x41ae3c++){const _0x245856=_0x59b548[_0x51d913(0x11d)](_0x41ae3c);if(_0x5e06d3===-0x1&&_0x8442af[_0x245856]===0x1)_0x3ef571===-0x1&&(_0x3ef571=_0x41ae3c);else{if(_0x41ae3c!==0x0&&(_0x245856===0x20||_0x245856===0x9))_0x5e06d3===-0x1&&_0x3ef571!==-0x1&&(_0x5e06d3=_0x41ae3c);else{if(_0x245856===0x2c){if(_0x3ef571===-0x1)throw new SyntaxError(_0x51d913(0x155)+_0x41ae3c);_0x5e06d3===-0x1&&(_0x5e06d3=_0x41ae3c);const _0x2d7a31=_0x59b548[_0x51d913(0xce)](_0x3ef571,_0x5e06d3);if(_0x5e45bf['has'](_0x2d7a31))throw new SyntaxError(_0x51d913(0xe8)+_0x2d7a31+_0x51d913(0xcd));_0x5e45bf[_0x51d913(0x11c)](_0x2d7a31),_0x3ef571=_0x5e06d3=-0x1;}else throw new SyntaxError(_0x51d913(0x155)+_0x41ae3c);}}}if(_0x3ef571===-0x1||_0x5e06d3!==-0x1)throw new SyntaxError(_0x51d913(0xfb));const _0x12c76d=_0x59b548[_0x51d913(0xce)](_0x3ef571,_0x41ae3c);if(_0x5e45bf[_0x51d913(0x189)](_0x12c76d))throw new SyntaxError('The\x20\x22'+_0x12c76d+_0x51d913(0xcd));return _0x5e45bf['add'](_0x12c76d),_0x5e45bf;}return Ce={'parse':_0x443ac2},Ce;}var Te,ot;function er(){const _0x94f2ce=_0x1a88ea;if(ot)return Te;ot=0x1;const _0x240743=_0xb1590,_0x3a7872=_0x301e77,{Duplex:_0x49c41e}=_0x5a7211,{createHash:_0x4474f8}=_0x450d90,_0x3f8790=pt(),_0x32b263=he(),_0x312c57=Jt(),_0x142b1f=Ie(),{GUID:_0x55584a,kWebSocket:_0x38b3ef}=V(),_0x53b146=/^[+/0-9A-Za-z]{22}==$/,_0x28650c=0x0,_0x4d198a=0x1,_0x395e09=0x2;class _0xc2cf64 extends _0x240743{constructor(_0x354cf0,_0x201639){const _0x233ee1=_0x4146;if(super(),_0x354cf0={'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':_0x142b1f,..._0x354cf0},_0x354cf0[_0x233ee1(0x1e0)]==null&&!_0x354cf0['server']&&!_0x354cf0[_0x233ee1(0xf1)]||_0x354cf0[_0x233ee1(0x1e0)]!=null&&(_0x354cf0[_0x233ee1(0xbb)]||_0x354cf0[_0x233ee1(0xf1)])||_0x354cf0[_0x233ee1(0xbb)]&&_0x354cf0[_0x233ee1(0xf1)])throw new TypeError(_0x233ee1(0x145));if(_0x354cf0['port']!=null?(this[_0x233ee1(0x21e)]=_0x3a7872[_0x233ee1(0x20c)]((_0xa491c0,_0x2bfa70)=>{const _0x33104d=_0x233ee1,_0x1f39a4=_0x3a7872[_0x33104d(0x134)][0x1aa];_0x2bfa70[_0x33104d(0x166)](0x1aa,{'Content-Length':_0x1f39a4[_0x33104d(0x90)],'Content-Type':'text/plain'}),_0x2bfa70[_0x33104d(0x201)](_0x1f39a4);}),this[_0x233ee1(0x21e)][_0x233ee1(0xad)](_0x354cf0[_0x233ee1(0x1e0)],_0x354cf0[_0x233ee1(0x172)],_0x354cf0[_0x233ee1(0x1d1)],_0x201639)):_0x354cf0[_0x233ee1(0xbb)]&&(this['_server']=_0x354cf0['server']),this[_0x233ee1(0x21e)]){const _0x1f3a92=this[_0x233ee1(0x219)][_0x233ee1(0x209)](this,_0x233ee1(0x1f4));this[_0x233ee1(0xd7)]=_0x329b41(this[_0x233ee1(0x21e)],{'listening':this[_0x233ee1(0x219)]['bind'](this,_0x233ee1(0x199)),'error':this[_0x233ee1(0x219)][_0x233ee1(0x209)](this,_0x233ee1(0x221)),'upgrade':(_0x4eaf58,_0x9e4c45,_0x3ffa09)=>{const _0x36575e=_0x233ee1;this[_0x36575e(0xcf)](_0x4eaf58,_0x9e4c45,_0x3ffa09,_0x1f3a92);}});}_0x354cf0[_0x233ee1(0xe4)]===!0x0&&(_0x354cf0[_0x233ee1(0xe4)]={}),_0x354cf0['clientTracking']&&(this[_0x233ee1(0xf2)]=new Set(),this[_0x233ee1(0x16e)]=!0x1),this[_0x233ee1(0xd8)]=_0x354cf0,this[_0x233ee1(0xac)]=_0x28650c;}[_0x94f2ce(0x152)](){const _0x2d9ac7=_0x94f2ce;if(this[_0x2d9ac7(0xd8)]['noServer'])throw new Error(_0x2d9ac7(0x182));return this[_0x2d9ac7(0x21e)]?this[_0x2d9ac7(0x21e)][_0x2d9ac7(0x152)]():null;}[_0x94f2ce(0x21d)](_0x24ca6d){const _0x423676=_0x94f2ce;if(this[_0x423676(0xac)]===_0x395e09){_0x24ca6d&&this[_0x423676(0x16c)](_0x423676(0x21d),()=>{const _0x35fa3a=_0x423676;_0x24ca6d(new Error(_0x35fa3a(0x154)));}),process['nextTick'](_0x1de931,this);return;}if(_0x24ca6d&&this[_0x423676(0x16c)](_0x423676(0x21d),_0x24ca6d),this['_state']!==_0x4d198a){if(this[_0x423676(0xac)]=_0x4d198a,this['options'][_0x423676(0xf1)]||this[_0x423676(0xd8)][_0x423676(0xbb)])this[_0x423676(0x21e)]&&(this[_0x423676(0xd7)](),this[_0x423676(0xd7)]=this[_0x423676(0x21e)]=null),this[_0x423676(0xf2)]?this[_0x423676(0xf2)][_0x423676(0xc1)]?this[_0x423676(0x16e)]=!0x0:process[_0x423676(0x165)](_0x1de931,this):process[_0x423676(0x165)](_0x1de931,this);else{const _0x10e37e=this[_0x423676(0x21e)];this[_0x423676(0xd7)](),this[_0x423676(0xd7)]=this[_0x423676(0x21e)]=null,_0x10e37e[_0x423676(0x21d)](()=>{_0x1de931(this);});}}}[_0x94f2ce(0x1cc)](_0x1b207a){const _0x18f3df=_0x94f2ce;if(this[_0x18f3df(0xd8)][_0x18f3df(0x19c)]){const _0x158693=_0x1b207a[_0x18f3df(0x1f5)][_0x18f3df(0xf7)]('?');if((_0x158693!==-0x1?_0x1b207a[_0x18f3df(0x1f5)][_0x18f3df(0xce)](0x0,_0x158693):_0x1b207a['url'])!==this[_0x18f3df(0xd8)][_0x18f3df(0x19c)])return!0x1;}return!0x0;}[_0x94f2ce(0xcf)](_0x548fdc,_0x4fb47b,_0x350af2,_0x56e360){const _0x408453=_0x94f2ce;_0x4fb47b['on'](_0x408453(0x221),_0x268d31);const _0x2eedfe=_0x548fdc[_0x408453(0x156)]['sec-websocket-key'],_0x48ad40=_0x548fdc['headers'][_0x408453(0x17e)],_0xb4768c=+_0x548fdc[_0x408453(0x156)][_0x408453(0x1e1)];if(_0x548fdc[_0x408453(0xd4)]!==_0x408453(0x227)){_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x195,_0x408453(0x116));return;}if(_0x48ad40===void 0x0||_0x48ad40[_0x408453(0x1ee)]()!==_0x408453(0x127)){_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x190,_0x408453(0x1f3));return;}if(_0x2eedfe===void 0x0||!_0x53b146[_0x408453(0x15c)](_0x2eedfe)){_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x190,_0x408453(0x117));return;}if(_0xb4768c!==0x8&&_0xb4768c!==0xd){_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x408453(0x1cc)](_0x548fdc)){_0x38e385(_0x4fb47b,0x190);return;}const _0x4e0b97=_0x548fdc[_0x408453(0x156)][_0x408453(0x1d2)];let _0x3c7c31=new Set();if(_0x4e0b97!==void 0x0)try{_0x3c7c31=_0x312c57[_0x408453(0x1e3)](_0x4e0b97);}catch{_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x190,_0x408453(0x9e));return;}const _0x4ce372=_0x548fdc[_0x408453(0x156)][_0x408453(0x17a)],_0x37c2d4={};if(this['options'][_0x408453(0xe4)]&&_0x4ce372!==void 0x0){const _0x4933bf=new _0x32b263(this['options'][_0x408453(0xe4)],!0x0,this[_0x408453(0xd8)][_0x408453(0x151)]);try{const _0x18bc84=_0x3f8790['parse'](_0x4ce372);_0x18bc84[_0x32b263[_0x408453(0x1c1)]]&&(_0x4933bf[_0x408453(0x1a2)](_0x18bc84[_0x32b263[_0x408453(0x1c1)]]),_0x37c2d4[_0x32b263[_0x408453(0x1c1)]]=_0x4933bf);}catch{_0x4e08b1(this,_0x548fdc,_0x4fb47b,0x190,_0x408453(0x1ed));return;}}if(this[_0x408453(0xd8)][_0x408453(0x160)]){const _0x4d53f7={'origin':_0x548fdc[_0x408453(0x156)][''+(_0xb4768c===0x8?'sec-websocket-origin':_0x408453(0xf6))],'secure':!!(_0x548fdc[_0x408453(0x1b8)][_0x408453(0x185)]||_0x548fdc[_0x408453(0x1b8)][_0x408453(0x20f)]),'req':_0x548fdc};if(this[_0x408453(0xd8)][_0x408453(0x160)]['length']===0x2){this[_0x408453(0xd8)][_0x408453(0x160)](_0x4d53f7,(_0x349ce1,_0x3da2b5,_0x115c31,_0x521cb8)=>{if(!_0x349ce1)return _0x38e385(_0x4fb47b,_0x3da2b5||0x191,_0x115c31,_0x521cb8);this['completeUpgrade'](_0x37c2d4,_0x2eedfe,_0x3c7c31,_0x548fdc,_0x4fb47b,_0x350af2,_0x56e360);});return;}if(!this[_0x408453(0xd8)][_0x408453(0x160)](_0x4d53f7))return _0x38e385(_0x4fb47b,0x191);}this[_0x408453(0x146)](_0x37c2d4,_0x2eedfe,_0x3c7c31,_0x548fdc,_0x4fb47b,_0x350af2,_0x56e360);}[_0x94f2ce(0x146)](_0x1f5e14,_0xea7fb2,_0x108fd8,_0x16519f,_0x584629,_0x795500,_0x2ef132){const _0x26888c=_0x94f2ce;if(!_0x584629['readable']||!_0x584629['writable'])return _0x584629['destroy']();if(_0x584629[_0x38b3ef])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x26888c(0xac)]>_0x28650c)return _0x38e385(_0x584629,0x1f7);const _0x284bba=[_0x26888c(0x17c),_0x26888c(0x131),_0x26888c(0x22c),'Sec-WebSocket-Accept:\x20'+_0x4474f8(_0x26888c(0x1c7))[_0x26888c(0x110)](_0xea7fb2+_0x55584a)['digest']('base64')],_0x36c7b0=new this[(_0x26888c(0xd8))][(_0x26888c(0x13c))](null,void 0x0,this[_0x26888c(0xd8)]);if(_0x108fd8['size']){const _0xc77070=this[_0x26888c(0xd8)][_0x26888c(0x1f2)]?this[_0x26888c(0xd8)][_0x26888c(0x1f2)](_0x108fd8,_0x16519f):_0x108fd8[_0x26888c(0xd2)]()[_0x26888c(0x9f)]()['value'];_0xc77070&&(_0x284bba[_0x26888c(0xa0)](_0x26888c(0x1a6)+_0xc77070),_0x36c7b0[_0x26888c(0x144)]=_0xc77070);}if(_0x1f5e14[_0x32b263[_0x26888c(0x1c1)]]){const _0x384326=_0x1f5e14[_0x32b263[_0x26888c(0x1c1)]][_0x26888c(0x175)],_0x58027a=_0x3f8790[_0x26888c(0x8e)]({[_0x32b263[_0x26888c(0x1c1)]]:[_0x384326]});_0x284bba['push'](_0x26888c(0x10a)+_0x58027a),_0x36c7b0[_0x26888c(0x1a1)]=_0x1f5e14;}this[_0x26888c(0x219)]('headers',_0x284bba,_0x16519f),_0x584629['write'](_0x284bba[_0x26888c(0x123)]('\x0d\x0a')[_0x26888c(0xaf)]('\x0d\x0a')),_0x584629[_0x26888c(0x220)](_0x26888c(0x221),_0x268d31),_0x36c7b0['setSocket'](_0x584629,_0x795500,{'allowSynchronousEvents':this[_0x26888c(0xd8)]['allowSynchronousEvents'],'maxPayload':this[_0x26888c(0xd8)]['maxPayload'],'skipUTF8Validation':this[_0x26888c(0xd8)][_0x26888c(0x13b)]}),this[_0x26888c(0xf2)]&&(this[_0x26888c(0xf2)][_0x26888c(0x11c)](_0x36c7b0),_0x36c7b0['on']('close',()=>{const _0x11dd56=_0x26888c;this[_0x11dd56(0xf2)][_0x11dd56(0x1ac)](_0x36c7b0),this[_0x11dd56(0x16e)]&&!this[_0x11dd56(0xf2)][_0x11dd56(0xc1)]&&process[_0x11dd56(0x165)](_0x1de931,this);})),_0x2ef132(_0x36c7b0,_0x16519f);}}Te=_0xc2cf64;function _0x329b41(_0x2469ed,_0x4bf19e){const _0x313985=_0x94f2ce;for(const _0x375ce7 of Object[_0x313985(0x136)](_0x4bf19e))_0x2469ed['on'](_0x375ce7,_0x4bf19e[_0x375ce7]);return function(){const _0x4ecad4=_0x313985;for(const _0x4efaf6 of Object['keys'](_0x4bf19e))_0x2469ed[_0x4ecad4(0x220)](_0x4efaf6,_0x4bf19e[_0x4efaf6]);};}function _0x1de931(_0xb6a43d){const _0x543fe4=_0x94f2ce;_0xb6a43d['_state']=_0x395e09,_0xb6a43d[_0x543fe4(0x219)](_0x543fe4(0x21d));}function _0x268d31(){this['destroy']();}function _0x38e385(_0x10d1ae,_0x3e2b2a,_0x4d7e8d,_0x1031c1){const _0x28c06e=_0x94f2ce;_0x4d7e8d=_0x4d7e8d||_0x3a7872[_0x28c06e(0x134)][_0x3e2b2a],_0x1031c1={'Connection':_0x28c06e(0x21d),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x4d7e8d),..._0x1031c1},_0x10d1ae[_0x28c06e(0x16c)](_0x28c06e(0xb4),_0x10d1ae['destroy']),_0x10d1ae[_0x28c06e(0x201)](_0x28c06e(0x212)+_0x3e2b2a+'\x20'+_0x3a7872[_0x28c06e(0x134)][_0x3e2b2a]+'\x0d\x0a'+Object[_0x28c06e(0x136)](_0x1031c1)[_0x28c06e(0xe2)](_0x53d538=>_0x53d538+':\x20'+_0x1031c1[_0x53d538])[_0x28c06e(0xaf)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4d7e8d);}function _0x4e08b1(_0x5337a2,_0x2b22cf,_0x408ae0,_0x4d4ece,_0x45dc43){const _0x5c88f4=_0x94f2ce;if(_0x5337a2['listenerCount'](_0x5c88f4(0x215))){const _0x3776b9=new Error(_0x45dc43);Error[_0x5c88f4(0x17f)](_0x3776b9,_0x4e08b1),_0x5337a2[_0x5c88f4(0x219)](_0x5c88f4(0x215),_0x3776b9,_0x408ae0,_0x2b22cf);}else _0x38e385(_0x408ae0,_0x4d4ece,_0x45dc43);}return Te;}er();var tr=Object[_0x1a88ea(0x130)],rr=(_0x3d79f4,_0x4b674f,_0x166a32,_0x404b10)=>{const _0x1fdb98=_0x1a88ea;for(var _0x383777=_0x404b10>0x1?void 0x0:_0x404b10?tr(_0x4b674f,_0x166a32):_0x4b674f,_0x5c0df0=_0x3d79f4[_0x1fdb98(0x90)]-0x1,_0x250137;_0x5c0df0>=0x0;_0x5c0df0--)(_0x250137=_0x3d79f4[_0x5c0df0])&&(_0x383777=_0x250137(_0x383777)||_0x383777);return _0x383777;},sr=(_0x4d0941,_0x58f778)=>(_0xf3ef90,_0x11ab30)=>_0x58f778(_0xf3ef90,_0x11ab30,_0x4d0941);let Ne=class extends _0x168759{constructor(_0x47f40c){const _0x1f0a93=_0x1a88ea;super(),this[_0x1f0a93(0x192)]=_0x47f40c;}[_0x1a88ea(0x231)](_0x395137){const _0x40e2f4=_0x1a88ea;var _0x131693;const _0xd5c8b6=(_0x131693=this[_0x40e2f4(0x192)][_0x40e2f4(0x13a)](Be))==null?void 0x0:_0x131693[_0x40e2f4(0x14c)];try{const _0x540b41=new Qt(_0x395137,{'headers':{..._0xd5c8b6}}),_0x3259cd=new _0x36d207();return{'URL':_0x395137,'close':(_0x2e29c3,_0x3a00ca)=>{const _0x2cdef5=_0x40e2f4;_0x540b41['close'](_0x2e29c3,_0x3a00ca),_0x3259cd[_0x2cdef5(0x133)]();},'send':_0xa4266e=>{const _0x57f894=_0x40e2f4;_0x540b41[_0x57f894(0x1b1)](_0xa4266e);},'open$':new _0x439509(_0xc24125=>{const _0x479235=_0x40e2f4,_0x490a44=_0xbf296c=>_0xc24125[_0x479235(0x9f)](_0xbf296c);_0x540b41['addEventListener'](_0x479235(0x168),_0x490a44),_0x3259cd[_0x479235(0x11c)](_0x4972b0(()=>_0x540b41['removeEventListener'](_0x479235(0x168),_0x490a44)));})[_0x40e2f4(0x235)](_0x4ed89b()),'close$':new _0x439509(_0x195791=>{const _0x5ebe75=_0x40e2f4,_0x5ae79f=_0x4bfe2d=>_0x195791[_0x5ebe75(0x9f)](_0x4bfe2d);_0x540b41['addEventListener'](_0x5ebe75(0x21d),_0x5ae79f),_0x3259cd['add'](_0x4972b0(()=>_0x540b41[_0x5ebe75(0xc4)](_0x5ebe75(0x21d),_0x5ae79f)));})['pipe'](_0x4ed89b()),'error$':new _0x439509(_0x17853f=>{const _0x27390f=_0x40e2f4,_0x49bd00=_0x4b5a80=>_0x17853f['next'](_0x4b5a80);_0x540b41[_0x27390f(0xdc)](_0x27390f(0x221),_0x49bd00),_0x3259cd[_0x27390f(0x11c)](_0x4972b0(()=>_0x540b41[_0x27390f(0xc4)]('error',_0x49bd00)));})[_0x40e2f4(0x235)](_0x4ed89b()),'message$':new _0x439509(_0x3c1462=>{const _0x320c9c=_0x40e2f4,_0x259afd=_0x58e64f=>_0x3c1462[_0x320c9c(0x9f)](_0x58e64f);_0x540b41[_0x320c9c(0xdc)]('message',_0x259afd),_0x3259cd[_0x320c9c(0x11c)](_0x4972b0(()=>_0x540b41['removeEventListener'](_0x320c9c(0x13d),_0x259afd)));})['pipe'](_0x4ed89b())};}catch(_0x489c00){return console[_0x40e2f4(0x221)](_0x489c00),null;}}};Ne=rr([sr(0x0,_0x30fdcc)],Ne);var ir=Object[_0x1a88ea(0x17d)],nr=Object[_0x1a88ea(0x130)],or=(_0xd293d6,_0xc2655d,_0x3a5981)=>_0xc2655d in _0xd293d6?ir(_0xd293d6,_0xc2655d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a5981}):_0xd293d6[_0xc2655d]=_0x3a5981,ar=(_0xc2fe1e,_0x300fea,_0x5c9cc6,_0x23168a)=>{const _0x513292=_0x1a88ea;for(var _0x24b04b=_0x23168a>0x1?void 0x0:_0x23168a?nr(_0x300fea,_0x5c9cc6):_0x300fea,_0x43ef42=_0xc2fe1e[_0x513292(0x90)]-0x1,_0x37f567;_0x43ef42>=0x0;_0x43ef42--)(_0x37f567=_0xc2fe1e[_0x43ef42])&&(_0x24b04b=_0x37f567(_0x24b04b)||_0x24b04b);return _0x24b04b;},ke=(_0xa1893c,_0xa39569)=>(_0x37f6b7,_0x5b9294)=>_0xa39569(_0x37f6b7,_0x5b9294,_0xa1893c),lr=(_0x5bcdd4,_0x97abb2,_0xb630dc)=>or(_0x5bcdd4,_0x97abb2+'',_0xb630dc);let Pe=class extends _0x4e5031{constructor(_0x1b3130=Ft,_0x19f6b8,_0x37cf23,_0x509d64){const _0x1fbd76=_0x1a88ea;_0x1b3130['customHeaders']||_0x19f6b8[_0x1fbd76(0x13f)](_0x1fbd76(0xa4)),super(),this[_0x1fbd76(0x192)]=_0x37cf23,this[_0x1fbd76(0xa5)]=_0x509d64,this['_configService'][_0x1fbd76(0x101)](Be,_0x1b3130);}[_0x1a88ea(0x1b7)](){const _0x36e063=_0x1a88ea;this[_0x36e063(0x91)]();}[_0x1a88ea(0x91)](){const _0x15bdc2=_0x1a88ea;_0x4233a8(this[_0x15bdc2(0xa5)],[[_0xbbe567,{'useClass':Ne}]]);}};lr(Pe,_0x1a88ea(0x1fa),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x4a3f19(_0x20ed4e),ke(0x1,_0x211cff),ke(0x2,_0x30fdcc),ke(0x3,_0x1ddd77(_0x182d6c))],Pe);var fr=Object[_0x1a88ea(0x130)],cr=(_0x54c165,_0x3c0874,_0x317417,_0x26acff)=>{const _0x13b41b=_0x1a88ea;for(var _0xca4c86=_0x26acff>0x1?void 0x0:_0x26acff?fr(_0x3c0874,_0x317417):_0x3c0874,_0x3c42ea=_0x54c165[_0x13b41b(0x90)]-0x1,_0x5d5715;_0x3c42ea>=0x0;_0x3c42ea--)(_0x5d5715=_0x54c165[_0x3c42ea])&&(_0xca4c86=_0x5d5715(_0xca4c86)||_0xca4c86);return _0xca4c86;},se=(_0x19fcc6,_0x129459)=>(_0x2c35a5,_0x194858)=>_0x129459(_0x2c35a5,_0x194858,_0x19fcc6);let at=class extends _0x2c7461{constructor(_0x2f9d02,_0x13fdf3,_0x19a011,_0x5a3901,_0x3d2201){const _0x122f85=_0x1a88ea;super(_0x2f9d02,_0x13fdf3,_0x19a011,_0x5a3901,_0x3d2201);const _0x3b81b1=this[_0x122f85(0x192)][_0x122f85(0x13a)](Be);this[_0x122f85(0x140)][_0x122f85(0x20e)]({'interceptor':(_0x1e87ce,_0x55c202)=>{const _0x4f83dc=_0x122f85;var _0x47da50;const _0x5e2a69=_0x1e87ce[_0x4f83dc(0x156)];return(_0x47da50=_0x3b81b1==null?void 0x0:_0x3b81b1['customHeaders'])!=null&&_0x47da50['cookie']&&_0x5e2a69[_0x4f83dc(0x11b)](_0x4f83dc(0xec),_0x3b81b1['customHeaders'][_0x4f83dc(0xa2)]),_0x55c202(_0x1e87ce);}});}async['createSocket'](_0x3c3174){const _0xe9dc26=_0x1a88ea;return this[_0xe9dc26(0x18b)](_0x3c3174);}};at=cr([se(0x0,_0x1ddd77(_0x182d6c)),se(0x1,_0x1ddd77(_0x5c30e4)),se(0x2,_0x30fdcc),se(0x3,_0x211cff),se(0x4,_0x27fad9)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x2188b3=_0x362b;(function(_0x430719,_0x49a9f2){const _0x323241=_0x362b,_0x5aa2d2=_0x430719();while(!![]){try{const _0x7bb181=parseInt(_0x323241(0x236))/0x1*(-parseInt(_0x323241(0x12f))/0x2)+parseInt(_0x323241(0x259))/0x3*(-parseInt(_0x323241(0x258))/0x4)+parseInt(_0x323241(0x152))/0x5*(parseInt(_0x323241(0x18e))/0x6)+-parseInt(_0x323241(0x1e3))/0x7*(-parseInt(_0x323241(0xf8))/0x8)+parseInt(_0x323241(0x1d9))/0x9*(parseInt(_0x323241(0x1d5))/0xa)+parseInt(_0x323241(0x296))/0xb*(-parseInt(_0x323241(0x22e))/0xc)+-parseInt(_0x323241(0x202))/0xd*(-parseInt(_0x323241(0x2a6))/0xe);if(_0x7bb181===_0x49a9f2)break;else _0x5aa2d2['push'](_0x5aa2d2['shift']());}catch(_0x3dba2d){_0x5aa2d2['push'](_0x5aa2d2['shift']());}}}(_0x3aad,0x67af1));import{UniverCollaborationClientPlugin as _0x12cf01,CollaborationSocketService as _0x2939de}from'@univerjs-pro/collaboration-client';import{Disposable as _0x121ba5,DisposableCollection as _0x5a04ad,toDisposable as _0x5aa199,IConfigService as _0x324bd0,DependentOn as _0x4db7ea,ILogService as _0x183b92,Inject as _0x12bcbb,Injector as _0x122967,Plugin as _0x53e411,registerDependencies as _0x2152a0}from'@univerjs/core';import{ISocketService as _0x13f0f0,HTTPService as _0x4b85fd}from'@univerjs/network';import{Observable as _0x19833b,share as _0x5dc52d}from'rxjs';import _0x43415a from'events';import _0x15cf61 from'https';import _0x20239b from'http';import _0x429593 from'net';import _0xcff1ca from'tls';import _0x46c54d from'crypto';import _0x9b5440 from'stream';import _0x4ebc3b from'url';import _0x370cb9 from'zlib';import _0x39d578 from'buffer';import{ISnapshotServerService as _0xf0a85d}from'@univerjs-pro/collaboration';const Be=_0x2188b3(0x124),Ft={'customHeaders':{}};function Wt(_0x32900e){const _0x2d379d=_0x2188b3;return _0x32900e&&_0x32900e[_0x2d379d(0x27a)]&&Object['prototype']['hasOwnProperty'][_0x2d379d(0x201)](_0x32900e,_0x2d379d(0x11c))?_0x32900e[_0x2d379d(0x11c)]:_0x32900e;}function ut(_0x4f8cdd){const _0x1a8d1a=_0x2188b3;if(_0x4f8cdd[_0x1a8d1a(0x27a)])return _0x4f8cdd;var _0x44eb5d=_0x4f8cdd[_0x1a8d1a(0x11c)];if(typeof _0x44eb5d=='function'){var _0x28dab7=function _0xf78922(){const _0x3eef1f=_0x1a8d1a;return this instanceof _0xf78922?Reflect['construct'](_0x44eb5d,arguments,this['constructor']):_0x44eb5d[_0x3eef1f(0x1a2)](this,arguments);};_0x28dab7[_0x1a8d1a(0xf9)]=_0x44eb5d['prototype'];}else _0x28dab7={};return Object[_0x1a8d1a(0x2ad)](_0x28dab7,_0x1a8d1a(0x27a),{'value':!0x0}),Object[_0x1a8d1a(0x234)](_0x4f8cdd)[_0x1a8d1a(0x1b0)](function(_0x5df44b){const _0x56ea57=_0x1a8d1a;var _0x55ae30=Object[_0x56ea57(0x2af)](_0x4f8cdd,_0x5df44b);Object['defineProperty'](_0x28dab7,_0x5df44b,_0x55ae30[_0x56ea57(0x190)]?_0x55ae30:{'enumerable':!0x0,'get':function(){return _0x4f8cdd[_0x5df44b];}});}),_0x28dab7;}var te={'exports':{}},ge,Ye;function V(){const _0x329820=_0x2188b3;if(Ye)return ge;Ye=0x1;const _0x1fae84=[_0x329820(0xf5),_0x329820(0x107),_0x329820(0x203)],_0x177cb1=typeof Blob<'u';return _0x177cb1&&_0x1fae84['push'](_0x329820(0x13b)),ge={'BINARY_TYPES':_0x1fae84,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x329820(0x277),'hasBlob':_0x177cb1,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x329820(0x1bf)),'kStatusCode':Symbol(_0x329820(0x1b7)),'kWebSocket':Symbol(_0x329820(0x231)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x2188b3(0x105)](Object[_0x2188b3(0x2ad)]({'__proto__':null,'default':jt},Symbol[_0x2188b3(0x189)],{'value':_0x2188b3(0x10f)})),Vt=ut(Gt);var Ke;function _0x3aad(){const _0x1da316=['createError','invalid\x20payload\x20length\x20','_errorEmitted','stream','writeHead','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','serverMaxWindowBits','Upgrade:\x20websocket','60mMxfui','clientNoContextTakeover','resume','_max_window_bits','shift','add','CLOSED','env','error','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pow','href','search','_deflate','wss:','The\x20\x22','map','species','_protocol','servername','Sec-WebSocket-Protocol','http:','compress','text/plain','_buffers','consume','_fin','zlibInflateOptions','Invalid\x20WebSocket\x20frame:\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','startLoop','threshold','_socket','_totalPayloadLength','_binaryType','cork','client_no_context_takeover','Origin','_bufferedAmount','handshakeTimeout','sha1','_url','accept','getPayloadLength16','fin','https:','base64','RSV1\x20must\x20be\x20clear','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','frame','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','conclude','format','_firstFragment','string','toStringTag','size','reason','isInteger','createDeflateRaw','134718wmnuYY','params','get','emitClose','extensions','sec-websocket-key','host','auth','path','_closeTimer','invalid\x20opcode\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','kReason','wasClean','Unexpected\x20end\x20of\x20input','hash','encrypted','_queue','customHeaders','_originalIpc','apply','concat','isArray','invalid\x20UTF-8\x20sequence','readable','kData','The\x20server\x20is\x20not\x20running','Connection:\x20Upgrade','location','extensionName','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','end','_sender','warn','forEach','setConfig','_read','byteOffset','open','_loop','Invalid\x20Sec-WebSocket-Extensions\x20header','status-code','Parameter\x20\x22','bind','_threshold','sec-websocket-protocol','_configService','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_final','kListener','sendFrame','readUInt32BE','_closeMessage','readOnly','listening','_destroy','test','_req','Invalid\x20URL:\x20','enqueue','_receiver','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','noServer','_closeFrameSent','_write','kMessage','dispatch','_extensions','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','from','options','1094850KoUIhz','clientMaxWindowBits','socketPath','_doCreateSocket','9QKbbei','isValidUTF8','Upgrade','number','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_compress','method','startsWith','uncork','MASK\x20must\x20be\x20clear','97391HCsbtU','\x22:\x20','Invalid\x20Sec-WebSocket-Accept\x20header','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isIP','addEventListener','password','WS_ERR_UNEXPECTED_RSV_1','getConfig','headers','concurrencyLimit','shouldHandle','Z_DEFAULT_WINDOWBITS','_paused','HTTP/1.1\x20101\x20Switching\x20Protocols','protocolVersion','CLOSING','GET','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','cookie','Invalid\x20Upgrade\x20header','pluginName','Unexpected\x20server\x20response:\x20','_compressed','WS_ERR_INVALID_UTF8','set','OPEN','acceptAsClient','_readyState','_registerDependencies','call','11705317JvCPTJ','fragments','url','ping','toString','push','upgrade','maxPayload','delete','pipe','port','toLowerCase','endEmitted','finished','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','haveLength','_injector','_masked','errorEmitted','jobs','server_no_context_takeover','Sec-WebSocket-Accept:\x20','getBlobData','_skipUTF8Validation','_fragments','\x22\x20subprotocol\x20is\x20duplicated','server_max_window_bits','isView','WS_NO_BUFFER_UTIL','pong','function','Sec-WebSocket-Origin','_state','CONNECTING','code','handleProtocols','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_removeListeners','invalid\x20status\x20code\x20','allocUnsafe','unmask','onerror','serverNoContextTakeover','cleanup','12dbeEAc','concurrency','_originalSecure','websocket','\x22\x20must\x20have\x20only\x20a\x20single\x20value','find','keys','perMessageDeflate','3keDexs','pathname','client','update','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','registerHTTPInterceptor','skipUTF8Validation','once','_server','total-length','needDrain','backlog','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','isPaused','WS_ERR_INVALID_OPCODE','pause','ws+unix:','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Unsupported\x20protocol\x20version:\x20','destroyed','WebSocket','entries','getMask','includes','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_shouldEmitClose','invalid\x20opcode\x200','indexOf','catch','getData','unexpected-response','write','Unexpected\x20character\x20at\x20index\x20','14936eZUwbo','552HWSOUg','getInfo','_messageLength','length','Maximum\x20redirects\x20exceeded','setHeader','getPayloadLength64','acceptAsServer','_maskBuffer','handleEvent','maskBuffer','clients','Sec-WebSocket-Protocol:\x20','nextTick','parse','defaultPort','WS_ERR_EXPECTED_MASK','digest','WS_NO_UTF_8_VALIDATE','_autoPong','_originalHostOrSocketPath','kTarget','_mask','authorization','arrayBuffer','zlibDeflateOptions','kDone','allowSynchronousEvents','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','callback','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','type','createSocket','__esModule','protocol','server','kWasClean','_maxPayload','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','maxRedirects','listeners','origin','replace','\x20(supported\x20versions:\x20','value','_httpService','has','normalizeParams','statusCode','join','createInflateRaw','message','Max\x20payload\x20size\x20exceeded','socket','slice','send','onopen','emit','_options','connection','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','5112833bPkfSn','dequeue','byteLength','writable','followRedirects','generateMask','read','dispose','data','sec-websocket-version','ws:','clientTracking','Unknown\x20parameter\x20\x22','binaryType','listen','HTTP/1.1\x20','14YXJTRp','address','removeEventListener','writeUInt16BE','_opcode','wsClientError','finish','defineProperty','_isServer','getOwnPropertyDescriptor','finishRequest','object','nodebuffer','destroy','listenerCount','248GXMKey','prototype','request','Invalid\x20Sec-WebSocket-Protocol\x20header','_redirects','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','handleUpgrade','_closeCode','completeUpgrade','_generateMask','exports','sec-websocket-extensions','reset','freeze','username','arraybuffer','Basic\x20','verifyClient','buffer','_allowSynchronousEvents','response','alloc','setNoDelay','Module','WS_ERR_INVALID_CLOSE_CODE','values','opcode','Blob','The\x20URL\x27s\x20pathname\x20is\x20empty','_payloadLength','WS_ERR_UNEXPECTED_MASK','charCodeAt','_readableState','close','kByteLength','Sec-WebSocket-Extensions','default','isServer','onclose','readyState','Invalid\x20HTTP\x20method','_closeFrameReceived','pending','mask','collaboration-client-node.config','permessage-deflate','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_writableState','onmessage','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','next','_inflate','kRun','kCode','_errored','89390BOGMFS','offer','autoPong','_bufferedBytes','Cookie','_fragmented','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','controlMessage','client_max_window_bits','_decompress','STATUS_CODES','objectMode','blob','hostname','decompress','timeout','create','flush','captureStackTrace','removeListener','createConnection','unshift','dataMessage','buffers','split','Invalid\x20value\x20for\x20parameter\x20\x22','target'];_0x3aad=function(){return _0x1da316;};return _0x3aad();}function ce(){const _0x481409=_0x2188b3;if(Ke)return te[_0x481409(0x102)];Ke=0x1;const {EMPTY_BUFFER:_0x3cafec}=V(),_0x38eda0=Buffer[Symbol[_0x481409(0x163)]];function _0x2a431a(_0x414476,_0x1a965c){const _0x2233eb=_0x481409;if(_0x414476[_0x2233eb(0x25c)]===0x0)return _0x3cafec;if(_0x414476[_0x2233eb(0x25c)]===0x1)return _0x414476[0x0];const _0xa7a082=Buffer[_0x2233eb(0x229)](_0x1a965c);let _0x469605=0x0;for(let _0x305ecb=0x0;_0x305ecb<_0x414476[_0x2233eb(0x25c)];_0x305ecb++){const _0x1f28f6=_0x414476[_0x305ecb];_0xa7a082[_0x2233eb(0x1fc)](_0x1f28f6,_0x469605),_0x469605+=_0x1f28f6['length'];}return _0x469605<_0x1a965c?new _0x38eda0(_0xa7a082['buffer'],_0xa7a082[_0x2233eb(0x1b3)],_0x469605):_0xa7a082;}function _0x282ead(_0x1aeb16,_0x1e9a1f,_0x2206e5,_0x513f5a,_0x51f9cf){for(let _0x1db0e6=0x0;_0x1db0e6<_0x51f9cf;_0x1db0e6++)_0x2206e5[_0x513f5a+_0x1db0e6]=_0x1aeb16[_0x1db0e6]^_0x1e9a1f[_0x1db0e6&0x3];}function _0x273917(_0x49858e,_0x310d73){const _0x181d2a=_0x481409;for(let _0x6522df=0x0;_0x6522df<_0x49858e[_0x181d2a(0x25c)];_0x6522df++)_0x49858e[_0x6522df]^=_0x310d73[_0x6522df&0x3];}function _0x2dc5e0(_0x4eb0e0){const _0xdcb95a=_0x481409;return _0x4eb0e0['length']===_0x4eb0e0[_0xdcb95a(0x10a)]['byteLength']?_0x4eb0e0[_0xdcb95a(0x10a)]:_0x4eb0e0['buffer'][_0xdcb95a(0x28f)](_0x4eb0e0['byteOffset'],_0x4eb0e0['byteOffset']+_0x4eb0e0[_0xdcb95a(0x25c)]);}function _0x15f3d0(_0x150838){const _0x7d7949=_0x481409;if(_0x15f3d0[_0x7d7949(0x1c3)]=!0x0,Buffer['isBuffer'](_0x150838))return _0x150838;let _0x2bf1ff;return _0x150838 instanceof ArrayBuffer?_0x2bf1ff=new _0x38eda0(_0x150838):ArrayBuffer[_0x7d7949(0x21d)](_0x150838)?_0x2bf1ff=new _0x38eda0(_0x150838[_0x7d7949(0x10a)],_0x150838['byteOffset'],_0x150838[_0x7d7949(0x298)]):(_0x2bf1ff=Buffer['from'](_0x150838),_0x15f3d0[_0x7d7949(0x1c3)]=!0x1),_0x2bf1ff;}if(te['exports']={'concat':_0x2a431a,'mask':_0x282ead,'toArrayBuffer':_0x2dc5e0,'toBuffer':_0x15f3d0,'unmask':_0x273917},!process[_0x481409(0x159)][_0x481409(0x21e)])try{const _0x412688=Vt;te[_0x481409(0x102)][_0x481409(0x123)]=function(_0x2ca113,_0x2f3909,_0x388c86,_0x233d28,_0xdd32f1){const _0xcf5180=_0x481409;_0xdd32f1<0x30?_0x282ead(_0x2ca113,_0x2f3909,_0x388c86,_0x233d28,_0xdd32f1):_0x412688[_0xcf5180(0x123)](_0x2ca113,_0x2f3909,_0x388c86,_0x233d28,_0xdd32f1);},te[_0x481409(0x102)][_0x481409(0x22a)]=function(_0x1e3481,_0x1dab26){const _0x244637=_0x481409;_0x1e3481[_0x244637(0x25c)]<0x20?_0x273917(_0x1e3481,_0x1dab26):_0x412688['unmask'](_0x1e3481,_0x1dab26);};}catch{}return te[_0x481409(0x102)];}var ye,Xe;function qt(){const _0x2c9bc5=_0x2188b3;if(Xe)return ye;Xe=0x1;const _0x43f3d7=Symbol(_0x2c9bc5(0x273)),_0x5bed7b=Symbol(_0x2c9bc5(0x12c));class _0x29df49{constructor(_0x413a3e){const _0x112a48=_0x2c9bc5;this[_0x43f3d7]=()=>{const _0x50dae5=_0x362b;this[_0x50dae5(0x122)]--,this[_0x5bed7b]();},this[_0x112a48(0x22f)]=_0x413a3e||0x1/0x0,this[_0x112a48(0x215)]=[],this[_0x112a48(0x122)]=0x0;}[_0x2c9bc5(0x157)](_0x46b7f0){const _0x1cc5e6=_0x2c9bc5;this[_0x1cc5e6(0x215)][_0x1cc5e6(0x207)](_0x46b7f0),this[_0x5bed7b]();}[_0x5bed7b](){const _0x555401=_0x2c9bc5;if(this['pending']!==this[_0x555401(0x22f)]&&this['jobs'][_0x555401(0x25c)]){const _0x423dff=this[_0x555401(0x215)][_0x555401(0x156)]();this[_0x555401(0x122)]++,_0x423dff(this[_0x43f3d7]);}}}return ye=_0x29df49,ye;}var ve,Ze;function he(){const _0x554790=_0x2188b3;if(Ze)return ve;Ze=0x1;const _0x16d842=_0x370cb9,_0x4056d2=ce(),_0x2ae8ec=qt(),{kStatusCode:_0x52ae7b}=V(),_0x39348f=Buffer[Symbol[_0x554790(0x163)]],_0x386aae=Buffer[_0x554790(0x1d3)]([0x0,0x0,0xff,0xff]),_0x22859e=Symbol(_0x554790(0x125)),_0x410897=Symbol(_0x554790(0x23f)),_0x587ee6=Symbol(_0x554790(0x276)),_0x11a274=Symbol(_0x554790(0x146)),_0x311707=Symbol(_0x554790(0x15a));let _0xfaeb0b;class _0x194da3{constructor(_0x20a0d1,_0x3de2d0,_0x1ca745){const _0x5500de=_0x554790;if(this[_0x5500de(0x27e)]=_0x1ca745|0x0,this[_0x5500de(0x293)]=_0x20a0d1||{},this['_threshold']=this[_0x5500de(0x293)][_0x5500de(0x171)]!==void 0x0?this[_0x5500de(0x293)][_0x5500de(0x171)]:0x400,this['_isServer']=!!_0x3de2d0,this[_0x5500de(0x15f)]=null,this[_0x5500de(0x12b)]=null,this['params']=null,!_0xfaeb0b){const _0x338318=this[_0x5500de(0x293)][_0x5500de(0x1ed)]!==void 0x0?this[_0x5500de(0x293)][_0x5500de(0x1ed)]:0xa;_0xfaeb0b=new _0x2ae8ec(_0x338318);}}static get['extensionName'](){const _0x5d2125=_0x554790;return _0x5d2125(0x125);}[_0x554790(0x130)](){const _0x5d5225=_0x554790,_0x41f658={};return this['_options'][_0x5d5225(0x22c)]&&(_0x41f658[_0x5d5225(0x216)]=!0x0),this[_0x5d5225(0x293)][_0x5d5225(0x153)]&&(_0x41f658[_0x5d5225(0x176)]=!0x0),this[_0x5d5225(0x293)]['serverMaxWindowBits']&&(_0x41f658[_0x5d5225(0x21c)]=this[_0x5d5225(0x293)][_0x5d5225(0x150)]),this[_0x5d5225(0x293)][_0x5d5225(0x1d6)]?_0x41f658[_0x5d5225(0x137)]=this[_0x5d5225(0x293)][_0x5d5225(0x1d6)]:this['_options'][_0x5d5225(0x1d6)]==null&&(_0x41f658['client_max_window_bits']=!0x0),_0x41f658;}[_0x554790(0x17c)](_0x4c9717){const _0x1a8059=_0x554790;return _0x4c9717=this[_0x1a8059(0x288)](_0x4c9717),this[_0x1a8059(0x18f)]=this[_0x1a8059(0x2ae)]?this[_0x1a8059(0x260)](_0x4c9717):this[_0x1a8059(0x1fe)](_0x4c9717),this['params'];}[_0x554790(0x22d)](){const _0x5426f2=_0x554790;if(this['_inflate']&&(this[_0x5426f2(0x12b)]['close'](),this[_0x5426f2(0x12b)]=null),this[_0x5426f2(0x15f)]){const _0x262425=this[_0x5426f2(0x15f)][_0x587ee6];this[_0x5426f2(0x15f)][_0x5426f2(0x119)](),this[_0x5426f2(0x15f)]=null,_0x262425&&_0x262425(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x554790(0x260)](_0x31073a){const _0x5e6adc=_0x554790,_0x3ba82f=this['_options'],_0xd8d8c6=_0x31073a[_0x5e6adc(0x233)](_0x3e81dc=>!(_0x3ba82f[_0x5e6adc(0x22c)]===!0x1&&_0x3e81dc[_0x5e6adc(0x216)]||_0x3e81dc[_0x5e6adc(0x21c)]&&(_0x3ba82f[_0x5e6adc(0x150)]===!0x1||typeof _0x3ba82f['serverMaxWindowBits']==_0x5e6adc(0x1dc)&&_0x3ba82f[_0x5e6adc(0x150)]>_0x3e81dc[_0x5e6adc(0x21c)])||typeof _0x3ba82f[_0x5e6adc(0x1d6)]==_0x5e6adc(0x1dc)&&!_0x3e81dc['client_max_window_bits']));if(!_0xd8d8c6)throw new Error(_0x5e6adc(0x135));return _0x3ba82f[_0x5e6adc(0x22c)]&&(_0xd8d8c6[_0x5e6adc(0x216)]=!0x0),_0x3ba82f[_0x5e6adc(0x153)]&&(_0xd8d8c6[_0x5e6adc(0x176)]=!0x0),typeof _0x3ba82f[_0x5e6adc(0x150)]==_0x5e6adc(0x1dc)&&(_0xd8d8c6[_0x5e6adc(0x21c)]=_0x3ba82f[_0x5e6adc(0x150)]),typeof _0x3ba82f[_0x5e6adc(0x1d6)]==_0x5e6adc(0x1dc)?_0xd8d8c6[_0x5e6adc(0x137)]=_0x3ba82f[_0x5e6adc(0x1d6)]:(_0xd8d8c6[_0x5e6adc(0x137)]===!0x0||_0x3ba82f['clientMaxWindowBits']===!0x1)&&delete _0xd8d8c6[_0x5e6adc(0x137)],_0xd8d8c6;}[_0x554790(0x1fe)](_0x81f9fc){const _0xf3cfb2=_0x554790,_0x144194=_0x81f9fc[0x0];if(this[_0xf3cfb2(0x293)][_0xf3cfb2(0x153)]===!0x1&&_0x144194['client_no_context_takeover'])throw new Error(_0xf3cfb2(0x248));if(!_0x144194[_0xf3cfb2(0x137)])typeof this[_0xf3cfb2(0x293)][_0xf3cfb2(0x1d6)]=='number'&&(_0x144194[_0xf3cfb2(0x137)]=this[_0xf3cfb2(0x293)][_0xf3cfb2(0x1d6)]);else{if(this[_0xf3cfb2(0x293)][_0xf3cfb2(0x1d6)]===!0x1||typeof this[_0xf3cfb2(0x293)][_0xf3cfb2(0x1d6)]==_0xf3cfb2(0x1dc)&&_0x144194[_0xf3cfb2(0x137)]>this['_options'][_0xf3cfb2(0x1d6)])throw new Error(_0xf3cfb2(0x243));}return _0x144194;}[_0x554790(0x288)](_0x4b3b34){const _0x517b85=_0x554790;return _0x4b3b34[_0x517b85(0x1b0)](_0xfd760c=>{Object['keys'](_0xfd760c)['forEach'](_0x54f2df=>{const _0xae09eb=_0x362b;let _0x3ec80d=_0xfd760c[_0x54f2df];if(_0x3ec80d[_0xae09eb(0x25c)]>0x1)throw new Error(_0xae09eb(0x1b8)+_0x54f2df+_0xae09eb(0x232));if(_0x3ec80d=_0x3ec80d[0x0],_0x54f2df===_0xae09eb(0x137)){if(_0x3ec80d!==!0x0){const _0x11c291=+_0x3ec80d;if(!Number[_0xae09eb(0x18c)](_0x11c291)||_0x11c291<0x8||_0x11c291>0xf)throw new TypeError(_0xae09eb(0x148)+_0x54f2df+'\x22:\x20'+_0x3ec80d);_0x3ec80d=_0x11c291;}else{if(!this[_0xae09eb(0x2ae)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x54f2df+'\x22:\x20'+_0x3ec80d);}}else{if(_0x54f2df==='server_max_window_bits'){const _0x5c6139=+_0x3ec80d;if(!Number[_0xae09eb(0x18c)](_0x5c6139)||_0x5c6139<0x8||_0x5c6139>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x54f2df+_0xae09eb(0x1e4)+_0x3ec80d);_0x3ec80d=_0x5c6139;}else{if(_0x54f2df==='client_no_context_takeover'||_0x54f2df===_0xae09eb(0x216)){if(_0x3ec80d!==!0x0)throw new TypeError(_0xae09eb(0x148)+_0x54f2df+_0xae09eb(0x1e4)+_0x3ec80d);}else throw new Error(_0xae09eb(0x2a2)+_0x54f2df+'\x22');}}_0xfd760c[_0x54f2df]=_0x3ec80d;});}),_0x4b3b34;}[_0x554790(0x13d)](_0x5e6503,_0x4d0445,_0x57c217){const _0x306d99=_0x554790;_0xfaeb0b[_0x306d99(0x157)](_0x4e7c55=>{const _0x6188eb=_0x306d99;this[_0x6188eb(0x138)](_0x5e6503,_0x4d0445,(_0x17ce23,_0x149d2d)=>{_0x4e7c55(),_0x57c217(_0x17ce23,_0x149d2d);});});}[_0x554790(0x168)](_0x4af87b,_0x2b3083,_0x969845){const _0x14b57d=_0x554790;_0xfaeb0b[_0x14b57d(0x157)](_0x1d4ddf=>{const _0xf5eae5=_0x14b57d;this[_0xf5eae5(0x1de)](_0x4af87b,_0x2b3083,(_0x368720,_0x492a8e)=>{_0x1d4ddf(),_0x969845(_0x368720,_0x492a8e);});});}[_0x554790(0x138)](_0x44aa29,_0x297290,_0x5f5da8){const _0x5b9da0=_0x554790,_0x43bac0=this[_0x5b9da0(0x2ae)]?_0x5b9da0(0x238):'server';if(!this[_0x5b9da0(0x12b)]){const _0x422ecd=_0x43bac0+_0x5b9da0(0x155),_0x758555=typeof this[_0x5b9da0(0x18f)][_0x422ecd]!=_0x5b9da0(0x1dc)?_0x16d842['Z_DEFAULT_WINDOWBITS']:this['params'][_0x422ecd];this[_0x5b9da0(0x12b)]=_0x16d842[_0x5b9da0(0x28b)]({...this[_0x5b9da0(0x293)][_0x5b9da0(0x16d)],'windowBits':_0x758555}),this[_0x5b9da0(0x12b)][_0x22859e]=this,this[_0x5b9da0(0x12b)][_0x410897]=0x0,this[_0x5b9da0(0x12b)][_0x11a274]=[],this[_0x5b9da0(0x12b)]['on']('error',_0x39ec16),this[_0x5b9da0(0x12b)]['on'](_0x5b9da0(0x29e),_0x5efd7d);}this[_0x5b9da0(0x12b)][_0x587ee6]=_0x5f5da8,this['_inflate'][_0x5b9da0(0x256)](_0x44aa29),_0x297290&&this['_inflate'][_0x5b9da0(0x256)](_0x386aae),this[_0x5b9da0(0x12b)][_0x5b9da0(0x140)](()=>{const _0x8a4d9a=_0x5b9da0,_0x43c119=this[_0x8a4d9a(0x12b)][_0x311707];if(_0x43c119){this[_0x8a4d9a(0x12b)][_0x8a4d9a(0x119)](),this[_0x8a4d9a(0x12b)]=null,_0x5f5da8(_0x43c119);return;}const _0x52e502=_0x4056d2[_0x8a4d9a(0x1a3)](this[_0x8a4d9a(0x12b)][_0x11a274],this[_0x8a4d9a(0x12b)][_0x410897]);this[_0x8a4d9a(0x12b)][_0x8a4d9a(0x118)][_0x8a4d9a(0x20e)]?(this[_0x8a4d9a(0x12b)][_0x8a4d9a(0x119)](),this[_0x8a4d9a(0x12b)]=null):(this['_inflate'][_0x410897]=0x0,this[_0x8a4d9a(0x12b)][_0x11a274]=[],_0x297290&&this[_0x8a4d9a(0x18f)][_0x43bac0+'_no_context_takeover']&&this['_inflate'][_0x8a4d9a(0x104)]()),_0x5f5da8(null,_0x52e502);});}['_compress'](_0x4c4135,_0x39e7ab,_0x449133){const _0x48af48=_0x554790,_0x898895=this[_0x48af48(0x2ae)]?'server':'client';if(!this[_0x48af48(0x15f)]){const _0xec9761=_0x898895+_0x48af48(0x155),_0x19aafe=typeof this[_0x48af48(0x18f)][_0xec9761]!=_0x48af48(0x1dc)?_0x16d842[_0x48af48(0x1ef)]:this[_0x48af48(0x18f)][_0xec9761];this[_0x48af48(0x15f)]=_0x16d842[_0x48af48(0x18d)]({...this['_options'][_0x48af48(0x272)],'windowBits':_0x19aafe}),this['_deflate'][_0x410897]=0x0,this[_0x48af48(0x15f)][_0x11a274]=[],this['_deflate']['on'](_0x48af48(0x29e),_0x76ebe1);}this['_deflate'][_0x587ee6]=_0x449133,this['_deflate']['write'](_0x4c4135),this['_deflate'][_0x48af48(0x140)](_0x16d842['Z_SYNC_FLUSH'],()=>{const _0x549161=_0x48af48;if(!this[_0x549161(0x15f)])return;let _0x5e007e=_0x4056d2[_0x549161(0x1a3)](this[_0x549161(0x15f)][_0x11a274],this[_0x549161(0x15f)][_0x410897]);_0x39e7ab&&(_0x5e007e=new _0x39348f(_0x5e007e[_0x549161(0x10a)],_0x5e007e[_0x549161(0x1b3)],_0x5e007e[_0x549161(0x25c)]-0x4)),this['_deflate'][_0x587ee6]=null,this[_0x549161(0x15f)][_0x410897]=0x0,this[_0x549161(0x15f)][_0x11a274]=[],_0x39e7ab&&this[_0x549161(0x18f)][_0x898895+'_no_context_takeover']&&this['_deflate'][_0x549161(0x104)](),_0x449133(null,_0x5e007e);});}}ve=_0x194da3;function _0x76ebe1(_0x3bee9d){const _0x29033c=_0x554790;this[_0x11a274][_0x29033c(0x207)](_0x3bee9d),this[_0x410897]+=_0x3bee9d[_0x29033c(0x25c)];}function _0x5efd7d(_0xe2ca47){const _0x4c5f34=_0x554790;if(this[_0x410897]+=_0xe2ca47[_0x4c5f34(0x25c)],this[_0x22859e][_0x4c5f34(0x27e)]<0x1||this[_0x410897]<=this[_0x22859e]['_maxPayload']){this[_0x11a274][_0x4c5f34(0x207)](_0xe2ca47);return;}this[_0x311707]=new RangeError(_0x4c5f34(0x28d)),this[_0x311707]['code']=_0x4c5f34(0x1dd),this[_0x311707][_0x52ae7b]=0x3f1,this[_0x4c5f34(0x142)](_0x4c5f34(0x29e),_0x5efd7d),this[_0x4c5f34(0x104)]();}function _0x39ec16(_0x20d206){const _0x5c025b=_0x554790;this[_0x22859e][_0x5c025b(0x12b)]=null,_0x20d206[_0x52ae7b]=0x3ef,this[_0x587ee6](_0x20d206);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2188b3(0x105)](Object[_0x2188b3(0x2ad)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x2188b3(0x10f)})),Yt=ut(zt);var Qe;function ne(){const _0x7f292d=_0x2188b3;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x496b60}=_0x39d578,{hasBlob:_0x644138}=V(),_0x5949f6=[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 _0x3791ca(_0x146912){return _0x146912>=0x3e8&&_0x146912<=0x3f6&&_0x146912!==0x3ec&&_0x146912!==0x3ed&&_0x146912!==0x3ee||_0x146912>=0xbb8&&_0x146912<=0x1387;}function _0x43cafb(_0x1ff578){const _0x207816=_0x1ff578['length'];let _0x5956d1=0x0;for(;_0x5956d1<_0x207816;)if((_0x1ff578[_0x5956d1]&0x80)===0x0)_0x5956d1++;else{if((_0x1ff578[_0x5956d1]&0xe0)===0xc0){if(_0x5956d1+0x1===_0x207816||(_0x1ff578[_0x5956d1+0x1]&0xc0)!==0x80||(_0x1ff578[_0x5956d1]&0xfe)===0xc0)return!0x1;_0x5956d1+=0x2;}else{if((_0x1ff578[_0x5956d1]&0xf0)===0xe0){if(_0x5956d1+0x2>=_0x207816||(_0x1ff578[_0x5956d1+0x1]&0xc0)!==0x80||(_0x1ff578[_0x5956d1+0x2]&0xc0)!==0x80||_0x1ff578[_0x5956d1]===0xe0&&(_0x1ff578[_0x5956d1+0x1]&0xe0)===0x80||_0x1ff578[_0x5956d1]===0xed&&(_0x1ff578[_0x5956d1+0x1]&0xe0)===0xa0)return!0x1;_0x5956d1+=0x3;}else{if((_0x1ff578[_0x5956d1]&0xf8)===0xf0){if(_0x5956d1+0x3>=_0x207816||(_0x1ff578[_0x5956d1+0x1]&0xc0)!==0x80||(_0x1ff578[_0x5956d1+0x2]&0xc0)!==0x80||(_0x1ff578[_0x5956d1+0x3]&0xc0)!==0x80||_0x1ff578[_0x5956d1]===0xf0&&(_0x1ff578[_0x5956d1+0x1]&0xf0)===0x80||_0x1ff578[_0x5956d1]===0xf4&&_0x1ff578[_0x5956d1+0x1]>0x8f||_0x1ff578[_0x5956d1]>0xf4)return!0x1;_0x5956d1+=0x4;}else return!0x1;}}}return!0x0;}function _0x330083(_0x1a993f){const _0x532aeb=_0x362b;return _0x644138&&typeof _0x1a993f==_0x532aeb(0x2b1)&&typeof _0x1a993f[_0x532aeb(0x271)]==_0x532aeb(0x220)&&typeof _0x1a993f['type']==_0x532aeb(0x188)&&typeof _0x1a993f[_0x532aeb(0x14d)]==_0x532aeb(0x220)&&(_0x1a993f[Symbol[_0x532aeb(0x189)]]===_0x532aeb(0x113)||_0x1a993f[Symbol[_0x532aeb(0x189)]]==='File');}if(re[_0x7f292d(0x102)]={'isBlob':_0x330083,'isValidStatusCode':_0x3791ca,'isValidUTF8':_0x43cafb,'tokenChars':_0x5949f6},_0x496b60)re[_0x7f292d(0x102)]['isValidUTF8']=function(_0x4049c7){const _0x30bf6c=_0x7f292d;return _0x4049c7[_0x30bf6c(0x25c)]<0x18?_0x43cafb(_0x4049c7):_0x496b60(_0x4049c7);};else{if(!process['env'][_0x7f292d(0x26b)])try{const _0x400222=Yt;re[_0x7f292d(0x102)][_0x7f292d(0x1da)]=function(_0x2f4cc6){const _0x3ed1e5=_0x7f292d;return _0x2f4cc6[_0x3ed1e5(0x25c)]<0x20?_0x43cafb(_0x2f4cc6):_0x400222(_0x2f4cc6);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x384d54=_0x2188b3;if(Je)return Se;Je=0x1;const {Writable:_0x49b216}=_0x9b5440,_0x252c14=he(),{BINARY_TYPES:_0x223dd8,EMPTY_BUFFER:_0x1957aa,kStatusCode:_0x525742,kWebSocket:_0x53a7f1}=V(),{concat:_0x31e082,toArrayBuffer:_0x3d54bf,unmask:_0x585d38}=ce(),{isValidStatusCode:_0x4d12c3,isValidUTF8:_0x4f007e}=ne(),_0x70cecd=Buffer[Symbol[_0x384d54(0x163)]],_0x3c2196=0x0,_0x56c4f1=0x1,_0x1df3e1=0x2,_0x5c9a60=0x3,_0x28ab69=0x4,_0x417e87=0x5,_0x30a09c=0x6;class _0xb0e334 extends _0x49b216{constructor(_0x1fdb48={}){const _0x1bb252=_0x384d54;super(),this[_0x1bb252(0x10b)]=_0x1fdb48[_0x1bb252(0x274)]!==void 0x0?_0x1fdb48[_0x1bb252(0x274)]:!0x0,this[_0x1bb252(0x174)]=_0x1fdb48[_0x1bb252(0x2a3)]||_0x223dd8[0x0],this[_0x1bb252(0x1d1)]=_0x1fdb48[_0x1bb252(0x192)]||{},this[_0x1bb252(0x2ae)]=!!_0x1fdb48[_0x1bb252(0x11d)],this[_0x1bb252(0x27e)]=_0x1fdb48[_0x1bb252(0x209)]|0x0,this['_skipUTF8Validation']=!!_0x1fdb48['skipUTF8Validation'],this[_0x53a7f1]=void 0x0,this[_0x1bb252(0x132)]=0x0,this[_0x1bb252(0x16a)]=[],this[_0x1bb252(0x1fa)]=!0x1,this[_0x1bb252(0x115)]=0x0,this[_0x1bb252(0x26f)]=void 0x0,this['_fragmented']=0x0,this[_0x1bb252(0x213)]=!0x1,this[_0x1bb252(0x16c)]=!0x1,this[_0x1bb252(0x2aa)]=0x0,this['_totalPayloadLength']=0x0,this[_0x1bb252(0x25b)]=0x0,this[_0x1bb252(0x21a)]=[],this[_0x1bb252(0x12e)]=!0x1,this[_0x1bb252(0x1b5)]=!0x1,this[_0x1bb252(0x222)]=_0x3c2196;}[_0x384d54(0x1ce)](_0xbaae31,_0x206e16,_0x4f3a36){const _0x12cfd5=_0x384d54;if(this[_0x12cfd5(0x2aa)]===0x8&&this[_0x12cfd5(0x222)]==_0x3c2196)return _0x4f3a36();this[_0x12cfd5(0x132)]+=_0xbaae31['length'],this[_0x12cfd5(0x16a)][_0x12cfd5(0x207)](_0xbaae31),this['startLoop'](_0x4f3a36);}[_0x384d54(0x16b)](_0x2cd78e){const _0x2b234b=_0x384d54;if(this[_0x2b234b(0x132)]-=_0x2cd78e,_0x2cd78e===this['_buffers'][0x0][_0x2b234b(0x25c)])return this[_0x2b234b(0x16a)][_0x2b234b(0x156)]();if(_0x2cd78e<this['_buffers'][0x0][_0x2b234b(0x25c)]){const _0x4362e7=this[_0x2b234b(0x16a)][0x0];return this[_0x2b234b(0x16a)][0x0]=new _0x70cecd(_0x4362e7[_0x2b234b(0x10a)],_0x4362e7[_0x2b234b(0x1b3)]+_0x2cd78e,_0x4362e7['length']-_0x2cd78e),new _0x70cecd(_0x4362e7['buffer'],_0x4362e7['byteOffset'],_0x2cd78e);}const _0x425a46=Buffer[_0x2b234b(0x229)](_0x2cd78e);do{const _0x5b22dc=this[_0x2b234b(0x16a)][0x0],_0x19946b=_0x425a46[_0x2b234b(0x25c)]-_0x2cd78e;_0x2cd78e>=_0x5b22dc[_0x2b234b(0x25c)]?_0x425a46[_0x2b234b(0x1fc)](this[_0x2b234b(0x16a)]['shift'](),_0x19946b):(_0x425a46[_0x2b234b(0x1fc)](new Uint8Array(_0x5b22dc[_0x2b234b(0x10a)],_0x5b22dc[_0x2b234b(0x1b3)],_0x2cd78e),_0x19946b),this[_0x2b234b(0x16a)][0x0]=new _0x70cecd(_0x5b22dc[_0x2b234b(0x10a)],_0x5b22dc[_0x2b234b(0x1b3)]+_0x2cd78e,_0x5b22dc['length']-_0x2cd78e)),_0x2cd78e-=_0x5b22dc['length'];}while(_0x2cd78e>0x0);return _0x425a46;}['startLoop'](_0x51a2cb){const _0x52305c=_0x384d54;this[_0x52305c(0x1b5)]=!0x0;do switch(this[_0x52305c(0x222)]){case _0x3c2196:this[_0x52305c(0x25a)](_0x51a2cb);break;case _0x56c4f1:this[_0x52305c(0x17d)](_0x51a2cb);break;case _0x1df3e1:this[_0x52305c(0x25f)](_0x51a2cb);break;case _0x5c9a60:this['getMask']();break;case _0x28ab69:this[_0x52305c(0x254)](_0x51a2cb);break;case _0x417e87:case _0x30a09c:this[_0x52305c(0x1b5)]=!0x1;return;}while(this[_0x52305c(0x1b5)]);this[_0x52305c(0x12e)]||_0x51a2cb();}['getInfo'](_0x4dba00){const _0x3bb92f=_0x384d54;if(this[_0x3bb92f(0x132)]<0x2){this[_0x3bb92f(0x1b5)]=!0x1;return;}const _0x3295eb=this[_0x3bb92f(0x16b)](0x2);if((_0x3295eb[0x0]&0x30)!==0x0){const _0x2ebbb5=this[_0x3bb92f(0x14a)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4dba00(_0x2ebbb5);return;}const _0x21fefd=(_0x3295eb[0x0]&0x40)===0x40;if(_0x21fefd&&!this[_0x3bb92f(0x1d1)][_0x252c14[_0x3bb92f(0x1ab)]]){const _0x7a63ce=this['createError'](RangeError,_0x3bb92f(0x181),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4dba00(_0x7a63ce);return;}if(this[_0x3bb92f(0x16c)]=(_0x3295eb[0x0]&0x80)===0x80,this[_0x3bb92f(0x2aa)]=_0x3295eb[0x0]&0xf,this[_0x3bb92f(0x115)]=_0x3295eb[0x1]&0x7f,this[_0x3bb92f(0x2aa)]===0x0){if(_0x21fefd){const _0x2f3be4=this['createError'](RangeError,_0x3bb92f(0x181),!0x0,0x3ea,_0x3bb92f(0x1ea));_0x4dba00(_0x2f3be4);return;}if(!this[_0x3bb92f(0x134)]){const _0x3f0ce9=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x251),!0x0,0x3ea,_0x3bb92f(0x245));_0x4dba00(_0x3f0ce9);return;}this['_opcode']=this[_0x3bb92f(0x134)];}else{if(this[_0x3bb92f(0x2aa)]===0x1||this[_0x3bb92f(0x2aa)]===0x2){if(this[_0x3bb92f(0x134)]){const _0x566d28=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x198)+this[_0x3bb92f(0x2aa)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4dba00(_0x566d28);return;}this['_compressed']=_0x21fefd;}else{if(this[_0x3bb92f(0x2aa)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x4ec1ad=this[_0x3bb92f(0x14a)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4dba00(_0x4ec1ad);return;}if(_0x21fefd){const _0x466173=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x181),!0x0,0x3ea,_0x3bb92f(0x1ea));_0x4dba00(_0x466173);return;}if(this[_0x3bb92f(0x115)]>0x7d||this[_0x3bb92f(0x2aa)]===0x8&&this[_0x3bb92f(0x115)]===0x1){const _0x21a87e=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x14b)+this[_0x3bb92f(0x115)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4dba00(_0x21a87e);return;}}else{const _0x513090=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x198)+this[_0x3bb92f(0x2aa)],!0x0,0x3ea,_0x3bb92f(0x245));_0x4dba00(_0x513090);return;}}}if(!this[_0x3bb92f(0x16c)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x3bb92f(0x2aa)]),this[_0x3bb92f(0x213)]=(_0x3295eb[0x1]&0x80)===0x80,this[_0x3bb92f(0x2ae)]){if(!this[_0x3bb92f(0x213)]){const _0x23d8ac=this[_0x3bb92f(0x14a)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x3bb92f(0x269));_0x4dba00(_0x23d8ac);return;}}else{if(this['_masked']){const _0x551cf1=this[_0x3bb92f(0x14a)](RangeError,_0x3bb92f(0x1e2),!0x0,0x3ea,_0x3bb92f(0x116));_0x4dba00(_0x551cf1);return;}}this[_0x3bb92f(0x115)]===0x7e?this[_0x3bb92f(0x222)]=_0x56c4f1:this[_0x3bb92f(0x115)]===0x7f?this[_0x3bb92f(0x222)]=_0x1df3e1:this[_0x3bb92f(0x211)](_0x4dba00);}[_0x384d54(0x17d)](_0x501460){const _0x4482f3=_0x384d54;if(this[_0x4482f3(0x132)]<0x2){this[_0x4482f3(0x1b5)]=!0x1;return;}this['_payloadLength']=this[_0x4482f3(0x16b)](0x2)['readUInt16BE'](0x0),this[_0x4482f3(0x211)](_0x501460);}[_0x384d54(0x25f)](_0x71bdbc){const _0x1a7234=_0x384d54;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x4b548b=this['consume'](0x8),_0x15c1b9=_0x4b548b['readUInt32BE'](0x0);if(_0x15c1b9>Math[_0x1a7234(0x15c)](0x2,0x15)-0x1){const _0x3aeea7=this[_0x1a7234(0x14a)](RangeError,_0x1a7234(0x184),!0x1,0x3f1,_0x1a7234(0x275));_0x71bdbc(_0x3aeea7);return;}this[_0x1a7234(0x115)]=_0x15c1b9*Math[_0x1a7234(0x15c)](0x2,0x20)+_0x4b548b[_0x1a7234(0x1c1)](0x4),this['haveLength'](_0x71bdbc);}[_0x384d54(0x211)](_0x2eb85b){const _0x5ad686=_0x384d54;if(this[_0x5ad686(0x115)]&&this['_opcode']<0x8&&(this[_0x5ad686(0x173)]+=this[_0x5ad686(0x115)],this[_0x5ad686(0x173)]>this['_maxPayload']&&this[_0x5ad686(0x27e)]>0x0)){const _0x43241e=this['createError'](RangeError,_0x5ad686(0x28d),!0x1,0x3f1,_0x5ad686(0x1dd));_0x2eb85b(_0x43241e);return;}this[_0x5ad686(0x213)]?this[_0x5ad686(0x222)]=_0x5c9a60:this['_state']=_0x28ab69;}[_0x384d54(0x24d)](){const _0x5edd2d=_0x384d54;if(this[_0x5edd2d(0x132)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x5edd2d(0x16b)](0x4),this['_state']=_0x28ab69;}[_0x384d54(0x254)](_0x27b489){const _0x341df8=_0x384d54;let _0x26df62=_0x1957aa;if(this[_0x341df8(0x115)]){if(this[_0x341df8(0x132)]<this[_0x341df8(0x115)]){this[_0x341df8(0x1b5)]=!0x1;return;}_0x26df62=this[_0x341df8(0x16b)](this[_0x341df8(0x115)]),this[_0x341df8(0x213)]&&(this[_0x341df8(0x26f)][0x0]|this[_0x341df8(0x26f)][0x1]|this[_0x341df8(0x26f)][0x2]|this[_0x341df8(0x26f)][0x3])!==0x0&&_0x585d38(_0x26df62,this[_0x341df8(0x26f)]);}if(this['_opcode']>0x7){this[_0x341df8(0x136)](_0x26df62,_0x27b489);return;}if(this[_0x341df8(0x1fa)]){this[_0x341df8(0x222)]=_0x417e87,this[_0x341df8(0x13d)](_0x26df62,_0x27b489);return;}_0x26df62[_0x341df8(0x25c)]&&(this['_messageLength']=this[_0x341df8(0x173)],this[_0x341df8(0x21a)][_0x341df8(0x207)](_0x26df62)),this[_0x341df8(0x145)](_0x27b489);}['decompress'](_0x1e8d1b,_0x395961){const _0x2c4ab0=_0x384d54;this['_extensions'][_0x252c14['extensionName']][_0x2c4ab0(0x13d)](_0x1e8d1b,this[_0x2c4ab0(0x16c)],(_0x182c42,_0x1f3d5f)=>{const _0x243c70=_0x2c4ab0;if(_0x182c42)return _0x395961(_0x182c42);if(_0x1f3d5f[_0x243c70(0x25c)]){if(this['_messageLength']+=_0x1f3d5f['length'],this[_0x243c70(0x25b)]>this[_0x243c70(0x27e)]&&this[_0x243c70(0x27e)]>0x0){const _0x11ca22=this[_0x243c70(0x14a)](RangeError,_0x243c70(0x28d),!0x1,0x3f1,_0x243c70(0x1dd));_0x395961(_0x11ca22);return;}this['_fragments'][_0x243c70(0x207)](_0x1f3d5f);}this[_0x243c70(0x145)](_0x395961),this[_0x243c70(0x222)]===_0x3c2196&&this[_0x243c70(0x170)](_0x395961);});}[_0x384d54(0x145)](_0x487f5b){const _0x5e2257=_0x384d54;if(!this[_0x5e2257(0x16c)]){this['_state']=_0x3c2196;return;}const _0x30cb2d=this[_0x5e2257(0x25b)],_0x290fa3=this[_0x5e2257(0x21a)];if(this[_0x5e2257(0x173)]=0x0,this[_0x5e2257(0x25b)]=0x0,this[_0x5e2257(0x134)]=0x0,this['_fragments']=[],this[_0x5e2257(0x2aa)]===0x2){let _0x25c64b;this[_0x5e2257(0x174)]===_0x5e2257(0xf5)?_0x25c64b=_0x31e082(_0x290fa3,_0x30cb2d):this[_0x5e2257(0x174)]===_0x5e2257(0x107)?_0x25c64b=_0x3d54bf(_0x31e082(_0x290fa3,_0x30cb2d)):this[_0x5e2257(0x174)]==='blob'?_0x25c64b=new Blob(_0x290fa3):_0x25c64b=_0x290fa3,this[_0x5e2257(0x10b)]?(this[_0x5e2257(0x292)](_0x5e2257(0x28c),_0x25c64b,!0x0),this[_0x5e2257(0x222)]=_0x3c2196):(this[_0x5e2257(0x222)]=_0x30a09c,setImmediate(()=>{const _0x3344db=_0x5e2257;this[_0x3344db(0x292)](_0x3344db(0x28c),_0x25c64b,!0x0),this[_0x3344db(0x222)]=_0x3c2196,this[_0x3344db(0x170)](_0x487f5b);}));}else{const _0x10a0cf=_0x31e082(_0x290fa3,_0x30cb2d);if(!this[_0x5e2257(0x219)]&&!_0x4f007e(_0x10a0cf)){const _0x1cf45d=this[_0x5e2257(0x14a)](Error,_0x5e2257(0x1a5),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x487f5b(_0x1cf45d);return;}this[_0x5e2257(0x222)]===_0x417e87||this['_allowSynchronousEvents']?(this[_0x5e2257(0x292)](_0x5e2257(0x28c),_0x10a0cf,!0x1),this['_state']=_0x3c2196):(this[_0x5e2257(0x222)]=_0x30a09c,setImmediate(()=>{const _0x3e4dc2=_0x5e2257;this[_0x3e4dc2(0x292)]('message',_0x10a0cf,!0x1),this[_0x3e4dc2(0x222)]=_0x3c2196,this[_0x3e4dc2(0x170)](_0x487f5b);}));}}[_0x384d54(0x136)](_0x1c175d,_0x340753){const _0x48dec9=_0x384d54;if(this['_opcode']===0x8){if(_0x1c175d[_0x48dec9(0x25c)]===0x0)this['_loop']=!0x1,this[_0x48dec9(0x292)](_0x48dec9(0x185),0x3ed,_0x1957aa),this[_0x48dec9(0x1ad)]();else{const _0x536f46=_0x1c175d['readUInt16BE'](0x0);if(!_0x4d12c3(_0x536f46)){const _0x373de4=this['createError'](RangeError,_0x48dec9(0x228)+_0x536f46,!0x0,0x3ea,_0x48dec9(0x110));_0x340753(_0x373de4);return;}const _0x2d102c=new _0x70cecd(_0x1c175d[_0x48dec9(0x10a)],_0x1c175d[_0x48dec9(0x1b3)]+0x2,_0x1c175d[_0x48dec9(0x25c)]-0x2);if(!this[_0x48dec9(0x219)]&&!_0x4f007e(_0x2d102c)){const _0x4c3682=this[_0x48dec9(0x14a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x48dec9(0x1fb));_0x340753(_0x4c3682);return;}this['_loop']=!0x1,this['emit']('conclude',_0x536f46,_0x2d102c),this[_0x48dec9(0x1ad)]();}this[_0x48dec9(0x222)]=_0x3c2196;return;}this[_0x48dec9(0x10b)]?(this[_0x48dec9(0x292)](this[_0x48dec9(0x2aa)]===0x9?_0x48dec9(0x205):_0x48dec9(0x21f),_0x1c175d),this[_0x48dec9(0x222)]=_0x3c2196):(this[_0x48dec9(0x222)]=_0x30a09c,setImmediate(()=>{const _0x2719e8=_0x48dec9;this[_0x2719e8(0x292)](this[_0x2719e8(0x2aa)]===0x9?'ping':_0x2719e8(0x21f),_0x1c175d),this[_0x2719e8(0x222)]=_0x3c2196,this[_0x2719e8(0x170)](_0x340753);}));}[_0x384d54(0x14a)](_0x5ab40c,_0x4e435b,_0x126e5d,_0x255fac,_0x11fdca){const _0x476905=_0x384d54;this[_0x476905(0x1b5)]=!0x1,this['_errored']=!0x0;const _0x84ed13=new _0x5ab40c(_0x126e5d?_0x476905(0x16e)+_0x4e435b:_0x4e435b);return Error[_0x476905(0x141)](_0x84ed13,this[_0x476905(0x14a)]),_0x84ed13[_0x476905(0x224)]=_0x11fdca,_0x84ed13[_0x525742]=_0x255fac,_0x84ed13;}}return Se=_0xb0e334,Se;}var Ee,et;function _t(){const _0x2c525e=_0x2188b3;if(et)return Ee;et=0x1;const {Duplex:_0xde3f29}=_0x9b5440,{randomFillSync:_0x2a8b03}=_0x46c54d,_0xd8f63b=he(),{EMPTY_BUFFER:_0x177cfc,kWebSocket:_0x4fb4f6,NOOP:_0x3c1f04}=V(),{isBlob:_0xeb6fc8,isValidStatusCode:_0x2f6465}=ne(),{mask:_0x19bae5,toBuffer:_0x1dd784}=ce(),_0x59d2a6=Symbol(_0x2c525e(0x11a)),_0x258f3e=Buffer[_0x2c525e(0x10d)](0x4),_0x5c232e=0x8*0x400;let _0x566e2e,_0x2e5b49=_0x5c232e;const _0x3c90a9=0x0,_0x4305bb=0x1,_0x370bec=0x2;class _0xa49cad{constructor(_0x1a6b6b,_0x35da98,_0x23c097){const _0x172961=_0x2c525e;this[_0x172961(0x1d1)]=_0x35da98||{},_0x23c097&&(this[_0x172961(0x101)]=_0x23c097,this[_0x172961(0x261)]=Buffer['alloc'](0x4)),this['_socket']=_0x1a6b6b,this['_firstFragment']=!0x0,this[_0x172961(0x1de)]=!0x1,this[_0x172961(0x132)]=0x0,this[_0x172961(0x19f)]=[],this['_state']=_0x3c90a9,this['onerror']=_0x3c1f04,this[_0x4fb4f6]=void 0x0;}static['frame'](_0xa96791,_0x4b8222){const _0x5a270b=_0x2c525e;let _0x4a38d2,_0xd9c3df=!0x1,_0x47c317=0x2,_0x313790=!0x1;_0x4b8222[_0x5a270b(0x123)]&&(_0x4a38d2=_0x4b8222[_0x5a270b(0x263)]||_0x258f3e,_0x4b8222[_0x5a270b(0x29b)]?_0x4b8222['generateMask'](_0x4a38d2):(_0x2e5b49===_0x5c232e&&(_0x566e2e===void 0x0&&(_0x566e2e=Buffer[_0x5a270b(0x10d)](_0x5c232e)),_0x2a8b03(_0x566e2e,0x0,_0x5c232e),_0x2e5b49=0x0),_0x4a38d2[0x0]=_0x566e2e[_0x2e5b49++],_0x4a38d2[0x1]=_0x566e2e[_0x2e5b49++],_0x4a38d2[0x2]=_0x566e2e[_0x2e5b49++],_0x4a38d2[0x3]=_0x566e2e[_0x2e5b49++]),_0x313790=(_0x4a38d2[0x0]|_0x4a38d2[0x1]|_0x4a38d2[0x2]|_0x4a38d2[0x3])===0x0,_0x47c317=0x6);let _0x2c1314;typeof _0xa96791=='string'?(!_0x4b8222[_0x5a270b(0x123)]||_0x313790)&&_0x4b8222[_0x59d2a6]!==void 0x0?_0x2c1314=_0x4b8222[_0x59d2a6]:(_0xa96791=Buffer[_0x5a270b(0x1d3)](_0xa96791),_0x2c1314=_0xa96791[_0x5a270b(0x25c)]):(_0x2c1314=_0xa96791[_0x5a270b(0x25c)],_0xd9c3df=_0x4b8222[_0x5a270b(0x123)]&&_0x4b8222['readOnly']&&!_0x313790);let _0x3b014b=_0x2c1314;_0x2c1314>=0x10000?(_0x47c317+=0x8,_0x3b014b=0x7f):_0x2c1314>0x7d&&(_0x47c317+=0x2,_0x3b014b=0x7e);const _0x2fbf86=Buffer[_0x5a270b(0x229)](_0xd9c3df?_0x2c1314+_0x47c317:_0x47c317);return _0x2fbf86[0x0]=_0x4b8222['fin']?_0x4b8222[_0x5a270b(0x112)]|0x80:_0x4b8222['opcode'],_0x4b8222['rsv1']&&(_0x2fbf86[0x0]|=0x40),_0x2fbf86[0x1]=_0x3b014b,_0x3b014b===0x7e?_0x2fbf86['writeUInt16BE'](_0x2c1314,0x2):_0x3b014b===0x7f&&(_0x2fbf86[0x2]=_0x2fbf86[0x3]=0x0,_0x2fbf86['writeUIntBE'](_0x2c1314,0x4,0x6)),_0x4b8222[_0x5a270b(0x123)]?(_0x2fbf86[0x1]|=0x80,_0x2fbf86[_0x47c317-0x4]=_0x4a38d2[0x0],_0x2fbf86[_0x47c317-0x3]=_0x4a38d2[0x1],_0x2fbf86[_0x47c317-0x2]=_0x4a38d2[0x2],_0x2fbf86[_0x47c317-0x1]=_0x4a38d2[0x3],_0x313790?[_0x2fbf86,_0xa96791]:_0xd9c3df?(_0x19bae5(_0xa96791,_0x4a38d2,_0x2fbf86,_0x47c317,_0x2c1314),[_0x2fbf86]):(_0x19bae5(_0xa96791,_0x4a38d2,_0xa96791,0x0,_0x2c1314),[_0x2fbf86,_0xa96791])):[_0x2fbf86,_0xa96791];}[_0x2c525e(0x119)](_0x55b86f,_0x369470,_0x19859b,_0x547532){const _0x2e2603=_0x2c525e;let _0xcabd77;if(_0x55b86f===void 0x0)_0xcabd77=_0x177cfc;else{if(typeof _0x55b86f!='number'||!_0x2f6465(_0x55b86f))throw new TypeError(_0x2e2603(0x126));if(_0x369470===void 0x0||!_0x369470['length'])_0xcabd77=Buffer[_0x2e2603(0x229)](0x2),_0xcabd77[_0x2e2603(0x2a9)](_0x55b86f,0x0);else{const _0x187219=Buffer[_0x2e2603(0x298)](_0x369470);if(_0x187219>0x7b)throw new RangeError(_0x2e2603(0x15b));_0xcabd77=Buffer[_0x2e2603(0x229)](0x2+_0x187219),_0xcabd77[_0x2e2603(0x2a9)](_0x55b86f,0x0),typeof _0x369470==_0x2e2603(0x188)?_0xcabd77[_0x2e2603(0x256)](_0x369470,0x2):_0xcabd77[_0x2e2603(0x1fc)](_0x369470,0x2);}}const _0x4d150c={[_0x59d2a6]:_0xcabd77['length'],'fin':!0x0,'generateMask':this[_0x2e2603(0x101)],'mask':_0x19859b,'maskBuffer':this[_0x2e2603(0x261)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x3c90a9?this[_0x2e2603(0x1c9)]([this[_0x2e2603(0x1d0)],_0xcabd77,!0x1,_0x4d150c,_0x547532]):this['sendFrame'](_0xa49cad['frame'](_0xcabd77,_0x4d150c),_0x547532);}['ping'](_0x4a9f65,_0x4fcdc5,_0x577cad){const _0x4dbc1e=_0x2c525e;let _0x2c5c89,_0x5a1c0e;if(typeof _0x4a9f65==_0x4dbc1e(0x188)?(_0x2c5c89=Buffer[_0x4dbc1e(0x298)](_0x4a9f65),_0x5a1c0e=!0x1):_0xeb6fc8(_0x4a9f65)?(_0x2c5c89=_0x4a9f65['size'],_0x5a1c0e=!0x1):(_0x4a9f65=_0x1dd784(_0x4a9f65),_0x2c5c89=_0x4a9f65['length'],_0x5a1c0e=_0x1dd784[_0x4dbc1e(0x1c3)]),_0x2c5c89>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xbc1cdc={[_0x59d2a6]:_0x2c5c89,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4fcdc5,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5a1c0e,'rsv1':!0x1};_0xeb6fc8(_0x4a9f65)?this[_0x4dbc1e(0x222)]!==_0x3c90a9?this[_0x4dbc1e(0x1c9)]([this[_0x4dbc1e(0x218)],_0x4a9f65,!0x1,_0xbc1cdc,_0x577cad]):this[_0x4dbc1e(0x218)](_0x4a9f65,!0x1,_0xbc1cdc,_0x577cad):this[_0x4dbc1e(0x222)]!==_0x3c90a9?this[_0x4dbc1e(0x1c9)]([this['dispatch'],_0x4a9f65,!0x1,_0xbc1cdc,_0x577cad]):this[_0x4dbc1e(0x1c0)](_0xa49cad[_0x4dbc1e(0x183)](_0x4a9f65,_0xbc1cdc),_0x577cad);}['pong'](_0x1e5f13,_0x37a882,_0xd31ee2){const _0x2738d5=_0x2c525e;let _0x203c93,_0x4e9764;if(typeof _0x1e5f13==_0x2738d5(0x188)?(_0x203c93=Buffer['byteLength'](_0x1e5f13),_0x4e9764=!0x1):_0xeb6fc8(_0x1e5f13)?(_0x203c93=_0x1e5f13[_0x2738d5(0x18a)],_0x4e9764=!0x1):(_0x1e5f13=_0x1dd784(_0x1e5f13),_0x203c93=_0x1e5f13[_0x2738d5(0x25c)],_0x4e9764=_0x1dd784[_0x2738d5(0x1c3)]),_0x203c93>0x7d)throw new RangeError(_0x2738d5(0x1e6));const _0x56e26c={[_0x59d2a6]:_0x203c93,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x37a882,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4e9764,'rsv1':!0x1};_0xeb6fc8(_0x1e5f13)?this['_state']!==_0x3c90a9?this[_0x2738d5(0x1c9)]([this[_0x2738d5(0x218)],_0x1e5f13,!0x1,_0x56e26c,_0xd31ee2]):this[_0x2738d5(0x218)](_0x1e5f13,!0x1,_0x56e26c,_0xd31ee2):this[_0x2738d5(0x222)]!==_0x3c90a9?this[_0x2738d5(0x1c9)]([this[_0x2738d5(0x1d0)],_0x1e5f13,!0x1,_0x56e26c,_0xd31ee2]):this[_0x2738d5(0x1c0)](_0xa49cad['frame'](_0x1e5f13,_0x56e26c),_0xd31ee2);}[_0x2c525e(0x290)](_0x1966e0,_0x1ac5d5,_0x52ed62){const _0x457dc7=_0x2c525e,_0x21ffdf=this[_0x457dc7(0x1d1)][_0xd8f63b[_0x457dc7(0x1ab)]];let _0x20c29b=_0x1ac5d5['binary']?0x2:0x1,_0x70d379=_0x1ac5d5[_0x457dc7(0x168)],_0x298649,_0x18b466;typeof _0x1966e0==_0x457dc7(0x188)?(_0x298649=Buffer[_0x457dc7(0x298)](_0x1966e0),_0x18b466=!0x1):_0xeb6fc8(_0x1966e0)?(_0x298649=_0x1966e0['size'],_0x18b466=!0x1):(_0x1966e0=_0x1dd784(_0x1966e0),_0x298649=_0x1966e0['length'],_0x18b466=_0x1dd784[_0x457dc7(0x1c3)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x70d379&&_0x21ffdf&&_0x21ffdf[_0x457dc7(0x18f)][_0x21ffdf[_0x457dc7(0x2ae)]?'server_no_context_takeover':_0x457dc7(0x176)]&&(_0x70d379=_0x298649>=_0x21ffdf[_0x457dc7(0x1ba)]),this['_compress']=_0x70d379):(_0x70d379=!0x1,_0x20c29b=0x0),_0x1ac5d5[_0x457dc7(0x17e)]&&(this[_0x457dc7(0x187)]=!0x0);const _0x4b7109={[_0x59d2a6]:_0x298649,'fin':_0x1ac5d5['fin'],'generateMask':this[_0x457dc7(0x101)],'mask':_0x1ac5d5[_0x457dc7(0x123)],'maskBuffer':this[_0x457dc7(0x261)],'opcode':_0x20c29b,'readOnly':_0x18b466,'rsv1':_0x70d379};_0xeb6fc8(_0x1966e0)?this[_0x457dc7(0x222)]!==_0x3c90a9?this[_0x457dc7(0x1c9)]([this[_0x457dc7(0x218)],_0x1966e0,this[_0x457dc7(0x1de)],_0x4b7109,_0x52ed62]):this[_0x457dc7(0x218)](_0x1966e0,this[_0x457dc7(0x1de)],_0x4b7109,_0x52ed62):this[_0x457dc7(0x222)]!==_0x3c90a9?this[_0x457dc7(0x1c9)]([this[_0x457dc7(0x1d0)],_0x1966e0,this[_0x457dc7(0x1de)],_0x4b7109,_0x52ed62]):this[_0x457dc7(0x1d0)](_0x1966e0,this[_0x457dc7(0x1de)],_0x4b7109,_0x52ed62);}[_0x2c525e(0x218)](_0x136ac6,_0x1eec38,_0x1b6fce,_0xde013a){const _0x2c329f=_0x2c525e;this[_0x2c329f(0x132)]+=_0x1b6fce[_0x59d2a6],this[_0x2c329f(0x222)]=_0x370bec,_0x136ac6[_0x2c329f(0x271)]()['then'](_0x27c6e3=>{const _0x3ac1b3=_0x2c329f;if(this['_socket']['destroyed']){const _0x29e059=new Error(_0x3ac1b3(0x295));process['nextTick'](_0x32e907,this,_0x29e059,_0xde013a);return;}this[_0x3ac1b3(0x132)]-=_0x1b6fce[_0x59d2a6];const _0x395287=_0x1dd784(_0x27c6e3);_0x1eec38?this[_0x3ac1b3(0x1d0)](_0x395287,_0x1eec38,_0x1b6fce,_0xde013a):(this[_0x3ac1b3(0x222)]=_0x3c90a9,this[_0x3ac1b3(0x1c0)](_0xa49cad['frame'](_0x395287,_0x1b6fce),_0xde013a),this['dequeue']());})[_0x2c329f(0x253)](_0xf6110a=>{const _0x4faa0a=_0x2c329f;process[_0x4faa0a(0x266)](_0x53b385,this,_0xf6110a,_0xde013a);});}[_0x2c525e(0x1d0)](_0x162dc0,_0x4d9cb6,_0x45c246,_0x40a3b8){const _0x56b578=_0x2c525e;if(!_0x4d9cb6){this[_0x56b578(0x1c0)](_0xa49cad[_0x56b578(0x183)](_0x162dc0,_0x45c246),_0x40a3b8);return;}const _0x553043=this[_0x56b578(0x1d1)][_0xd8f63b['extensionName']];this['_bufferedBytes']+=_0x45c246[_0x59d2a6],this['_state']=_0x4305bb,_0x553043[_0x56b578(0x168)](_0x162dc0,_0x45c246['fin'],(_0x594003,_0x3205b9)=>{const _0x37014=_0x56b578;if(this[_0x37014(0x172)]['destroyed']){const _0x554e6c=new Error(_0x37014(0x182));_0x32e907(this,_0x554e6c,_0x40a3b8);return;}this[_0x37014(0x132)]-=_0x45c246[_0x59d2a6],this[_0x37014(0x222)]=_0x3c90a9,_0x45c246[_0x37014(0x1c3)]=!0x1,this[_0x37014(0x1c0)](_0xa49cad[_0x37014(0x183)](_0x3205b9,_0x45c246),_0x40a3b8),this[_0x37014(0x297)]();});}[_0x2c525e(0x297)](){const _0x3c886c=_0x2c525e;for(;this[_0x3c886c(0x222)]===_0x3c90a9&&this[_0x3c886c(0x19f)]['length'];){const _0x1cf743=this['_queue'][_0x3c886c(0x156)]();this[_0x3c886c(0x132)]-=_0x1cf743[0x3][_0x59d2a6],Reflect[_0x3c886c(0x1a2)](_0x1cf743[0x0],this,_0x1cf743['slice'](0x1));}}['enqueue'](_0x3b2e76){const _0x271da6=_0x2c525e;this[_0x271da6(0x132)]+=_0x3b2e76[0x3][_0x59d2a6],this[_0x271da6(0x19f)][_0x271da6(0x207)](_0x3b2e76);}['sendFrame'](_0x4c862f,_0x18eeb8){const _0x3a1a84=_0x2c525e;_0x4c862f['length']===0x2?(this[_0x3a1a84(0x172)][_0x3a1a84(0x175)](),this[_0x3a1a84(0x172)][_0x3a1a84(0x256)](_0x4c862f[0x0]),this[_0x3a1a84(0x172)][_0x3a1a84(0x256)](_0x4c862f[0x1],_0x18eeb8),this[_0x3a1a84(0x172)][_0x3a1a84(0x1e1)]()):this['_socket'][_0x3a1a84(0x256)](_0x4c862f[0x0],_0x18eeb8);}}Ee=_0xa49cad;function _0x32e907(_0x3dd2ae,_0x57520a,_0x3edcb7){const _0x403fff=_0x2c525e;typeof _0x3edcb7==_0x403fff(0x220)&&_0x3edcb7(_0x57520a);for(let _0x595317=0x0;_0x595317<_0x3dd2ae[_0x403fff(0x19f)][_0x403fff(0x25c)];_0x595317++){const _0x19d09d=_0x3dd2ae[_0x403fff(0x19f)][_0x595317],_0x4af9b3=_0x19d09d[_0x19d09d[_0x403fff(0x25c)]-0x1];typeof _0x4af9b3==_0x403fff(0x220)&&_0x4af9b3(_0x57520a);}}function _0x53b385(_0x5802d2,_0x59973d,_0x5e2a18){_0x32e907(_0x5802d2,_0x59973d,_0x5e2a18),_0x5802d2['onerror'](_0x59973d);}return Ee;}var xe,tt;function Kt(){const _0x5cf1aa=_0x2188b3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3b8d63,kListener:_0x42340f}=V(),_0x21b21b=Symbol(_0x5cf1aa(0x12d)),_0x5f26e1=Symbol(_0x5cf1aa(0x1a7)),_0x58b8af=Symbol('kError'),_0x4e670f=Symbol(_0x5cf1aa(0x1cf)),_0x143304=Symbol(_0x5cf1aa(0x19a)),_0x2e0b99=Symbol(_0x5cf1aa(0x26e)),_0x416a37=Symbol('kType'),_0x2c6d86=Symbol(_0x5cf1aa(0x27d));class _0x3e40a4{constructor(_0x3e713e){this[_0x2e0b99]=null,this[_0x416a37]=_0x3e713e;}get['target'](){return this[_0x2e0b99];}get[_0x5cf1aa(0x278)](){return this[_0x416a37];}}Object[_0x5cf1aa(0x2ad)](_0x3e40a4['prototype'],_0x5cf1aa(0x149),{'enumerable':!0x0}),Object['defineProperty'](_0x3e40a4[_0x5cf1aa(0xf9)],_0x5cf1aa(0x278),{'enumerable':!0x0});class _0x4042e8 extends _0x3e40a4{constructor(_0x391f82,_0x3ad9c0={}){const _0x3bd22b=_0x5cf1aa;super(_0x391f82),this[_0x21b21b]=_0x3ad9c0[_0x3bd22b(0x224)]===void 0x0?0x0:_0x3ad9c0[_0x3bd22b(0x224)],this[_0x143304]=_0x3ad9c0[_0x3bd22b(0x18b)]===void 0x0?'':_0x3ad9c0[_0x3bd22b(0x18b)],this[_0x2c6d86]=_0x3ad9c0[_0x3bd22b(0x19b)]===void 0x0?!0x1:_0x3ad9c0['wasClean'];}get[_0x5cf1aa(0x224)](){return this[_0x21b21b];}get['reason'](){return this[_0x143304];}get[_0x5cf1aa(0x19b)](){return this[_0x2c6d86];}}Object[_0x5cf1aa(0x2ad)](_0x4042e8[_0x5cf1aa(0xf9)],_0x5cf1aa(0x224),{'enumerable':!0x0}),Object[_0x5cf1aa(0x2ad)](_0x4042e8[_0x5cf1aa(0xf9)],_0x5cf1aa(0x18b),{'enumerable':!0x0}),Object[_0x5cf1aa(0x2ad)](_0x4042e8[_0x5cf1aa(0xf9)],_0x5cf1aa(0x19b),{'enumerable':!0x0});class _0x7b7e53 extends _0x3e40a4{constructor(_0x12e055,_0x3dcaa6={}){const _0x3b74f1=_0x5cf1aa;super(_0x12e055),this[_0x58b8af]=_0x3dcaa6[_0x3b74f1(0x15a)]===void 0x0?null:_0x3dcaa6[_0x3b74f1(0x15a)],this[_0x4e670f]=_0x3dcaa6[_0x3b74f1(0x28c)]===void 0x0?'':_0x3dcaa6[_0x3b74f1(0x28c)];}get[_0x5cf1aa(0x15a)](){return this[_0x58b8af];}get['message'](){return this[_0x4e670f];}}Object[_0x5cf1aa(0x2ad)](_0x7b7e53[_0x5cf1aa(0xf9)],_0x5cf1aa(0x15a),{'enumerable':!0x0}),Object[_0x5cf1aa(0x2ad)](_0x7b7e53[_0x5cf1aa(0xf9)],'message',{'enumerable':!0x0});class _0x306c1c extends _0x3e40a4{constructor(_0x125ff3,_0xed88b7={}){const _0x4fad99=_0x5cf1aa;super(_0x125ff3),this[_0x5f26e1]=_0xed88b7[_0x4fad99(0x29e)]===void 0x0?null:_0xed88b7[_0x4fad99(0x29e)];}get['data'](){return this[_0x5f26e1];}}Object[_0x5cf1aa(0x2ad)](_0x306c1c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4042e8,'ErrorEvent':_0x7b7e53,'Event':_0x3e40a4,'EventTarget':{'addEventListener'(_0x387a20,_0x37dc55,_0x281a85={}){const _0x11580c=_0x5cf1aa;for(const _0x28e14d of this[_0x11580c(0x281)](_0x387a20))if(!_0x281a85[_0x3b8d63]&&_0x28e14d[_0x42340f]===_0x37dc55&&!_0x28e14d[_0x3b8d63])return;let _0x288c62;if(_0x387a20===_0x11580c(0x28c))_0x288c62=function(_0x250232,_0x356e3f){const _0x25b730=_0x11580c,_0x1cd2d9=new _0x306c1c(_0x25b730(0x28c),{'data':_0x356e3f?_0x250232:_0x250232[_0x25b730(0x206)]()});_0x1cd2d9[_0x2e0b99]=this,_0x414cbb(_0x37dc55,this,_0x1cd2d9);};else{if(_0x387a20==='close')_0x288c62=function(_0x5807e7,_0x33e686){const _0x5e027d=_0x11580c,_0xc56fd7=new _0x4042e8(_0x5e027d(0x119),{'code':_0x5807e7,'reason':_0x33e686[_0x5e027d(0x206)](),'wasClean':this['_closeFrameReceived']&&this[_0x5e027d(0x1cd)]});_0xc56fd7[_0x2e0b99]=this,_0x414cbb(_0x37dc55,this,_0xc56fd7);};else{if(_0x387a20===_0x11580c(0x15a))_0x288c62=function(_0x370849){const _0xe85499=new _0x7b7e53('error',{'error':_0x370849,'message':_0x370849['message']});_0xe85499[_0x2e0b99]=this,_0x414cbb(_0x37dc55,this,_0xe85499);};else{if(_0x387a20===_0x11580c(0x1b4))_0x288c62=function(){const _0x448214=_0x11580c,_0x2df44a=new _0x3e40a4(_0x448214(0x1b4));_0x2df44a[_0x2e0b99]=this,_0x414cbb(_0x37dc55,this,_0x2df44a);};else return;}}}_0x288c62[_0x3b8d63]=!!_0x281a85[_0x3b8d63],_0x288c62[_0x42340f]=_0x37dc55,_0x281a85[_0x11580c(0x23d)]?this['once'](_0x387a20,_0x288c62):this['on'](_0x387a20,_0x288c62);},'removeEventListener'(_0x811767,_0x1683d0){for(const _0x4bf6ee of this['listeners'](_0x811767))if(_0x4bf6ee[_0x42340f]===_0x1683d0&&!_0x4bf6ee[_0x3b8d63]){this['removeListener'](_0x811767,_0x4bf6ee);break;}}},'MessageEvent':_0x306c1c};function _0x414cbb(_0x27c79b,_0x402f6b,_0x5763c6){const _0xd39495=_0x5cf1aa;typeof _0x27c79b==_0xd39495(0x2b1)&&_0x27c79b[_0xd39495(0x262)]?_0x27c79b['handleEvent']['call'](_0x27c79b,_0x5763c6):_0x27c79b['call'](_0x402f6b,_0x5763c6);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x66f2c}=ne();function _0xb4c044(_0x6f480d,_0x5e9648,_0x37c624){const _0x3617b6=_0x362b;_0x6f480d[_0x5e9648]===void 0x0?_0x6f480d[_0x5e9648]=[_0x37c624]:_0x6f480d[_0x5e9648][_0x3617b6(0x207)](_0x37c624);}function _0x595a69(_0x8627){const _0x4b8726=_0x362b,_0x1d34ce=Object[_0x4b8726(0x13f)](null);let _0x250670=Object[_0x4b8726(0x13f)](null),_0x31504b=!0x1,_0xc2662c=!0x1,_0x1a0708=!0x1,_0x1017d3,_0x59e600,_0x145e5e=-0x1,_0x23cb88=-0x1,_0x1285a3=-0x1,_0x4f29cf=0x0;for(;_0x4f29cf<_0x8627[_0x4b8726(0x25c)];_0x4f29cf++)if(_0x23cb88=_0x8627[_0x4b8726(0x117)](_0x4f29cf),_0x1017d3===void 0x0){if(_0x1285a3===-0x1&&_0x66f2c[_0x23cb88]===0x1)_0x145e5e===-0x1&&(_0x145e5e=_0x4f29cf);else{if(_0x4f29cf!==0x0&&(_0x23cb88===0x20||_0x23cb88===0x9))_0x1285a3===-0x1&&_0x145e5e!==-0x1&&(_0x1285a3=_0x4f29cf);else{if(_0x23cb88===0x3b||_0x23cb88===0x2c){if(_0x145e5e===-0x1)throw new SyntaxError(_0x4b8726(0x257)+_0x4f29cf);_0x1285a3===-0x1&&(_0x1285a3=_0x4f29cf);const _0x592b67=_0x8627[_0x4b8726(0x28f)](_0x145e5e,_0x1285a3);_0x23cb88===0x2c?(_0xb4c044(_0x1d34ce,_0x592b67,_0x250670),_0x250670=Object[_0x4b8726(0x13f)](null)):_0x1017d3=_0x592b67,_0x145e5e=_0x1285a3=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f29cf);}}}else{if(_0x59e600===void 0x0){if(_0x1285a3===-0x1&&_0x66f2c[_0x23cb88]===0x1)_0x145e5e===-0x1&&(_0x145e5e=_0x4f29cf);else{if(_0x23cb88===0x20||_0x23cb88===0x9)_0x1285a3===-0x1&&_0x145e5e!==-0x1&&(_0x1285a3=_0x4f29cf);else{if(_0x23cb88===0x3b||_0x23cb88===0x2c){if(_0x145e5e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f29cf);_0x1285a3===-0x1&&(_0x1285a3=_0x4f29cf),_0xb4c044(_0x250670,_0x8627[_0x4b8726(0x28f)](_0x145e5e,_0x1285a3),!0x0),_0x23cb88===0x2c&&(_0xb4c044(_0x1d34ce,_0x1017d3,_0x250670),_0x250670=Object[_0x4b8726(0x13f)](null),_0x1017d3=void 0x0),_0x145e5e=_0x1285a3=-0x1;}else{if(_0x23cb88===0x3d&&_0x145e5e!==-0x1&&_0x1285a3===-0x1)_0x59e600=_0x8627[_0x4b8726(0x28f)](_0x145e5e,_0x4f29cf),_0x145e5e=_0x1285a3=-0x1;else throw new SyntaxError(_0x4b8726(0x257)+_0x4f29cf);}}}}else{if(_0xc2662c){if(_0x66f2c[_0x23cb88]!==0x1)throw new SyntaxError(_0x4b8726(0x257)+_0x4f29cf);_0x145e5e===-0x1?_0x145e5e=_0x4f29cf:_0x31504b||(_0x31504b=!0x0),_0xc2662c=!0x1;}else{if(_0x1a0708){if(_0x66f2c[_0x23cb88]===0x1)_0x145e5e===-0x1&&(_0x145e5e=_0x4f29cf);else{if(_0x23cb88===0x22&&_0x145e5e!==-0x1)_0x1a0708=!0x1,_0x1285a3=_0x4f29cf;else{if(_0x23cb88===0x5c)_0xc2662c=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f29cf);}}}else{if(_0x23cb88===0x22&&_0x8627['charCodeAt'](_0x4f29cf-0x1)===0x3d)_0x1a0708=!0x0;else{if(_0x1285a3===-0x1&&_0x66f2c[_0x23cb88]===0x1)_0x145e5e===-0x1&&(_0x145e5e=_0x4f29cf);else{if(_0x145e5e!==-0x1&&(_0x23cb88===0x20||_0x23cb88===0x9))_0x1285a3===-0x1&&(_0x1285a3=_0x4f29cf);else{if(_0x23cb88===0x3b||_0x23cb88===0x2c){if(_0x145e5e===-0x1)throw new SyntaxError(_0x4b8726(0x257)+_0x4f29cf);_0x1285a3===-0x1&&(_0x1285a3=_0x4f29cf);let _0x478cbf=_0x8627[_0x4b8726(0x28f)](_0x145e5e,_0x1285a3);_0x31504b&&(_0x478cbf=_0x478cbf['replace'](/\\/g,''),_0x31504b=!0x1),_0xb4c044(_0x250670,_0x59e600,_0x478cbf),_0x23cb88===0x2c&&(_0xb4c044(_0x1d34ce,_0x1017d3,_0x250670),_0x250670=Object[_0x4b8726(0x13f)](null),_0x1017d3=void 0x0),_0x59e600=void 0x0,_0x145e5e=_0x1285a3=-0x1;}else throw new SyntaxError(_0x4b8726(0x257)+_0x4f29cf);}}}}}}}if(_0x145e5e===-0x1||_0x1a0708||_0x23cb88===0x20||_0x23cb88===0x9)throw new SyntaxError(_0x4b8726(0x19c));_0x1285a3===-0x1&&(_0x1285a3=_0x4f29cf);const _0xea6acb=_0x8627[_0x4b8726(0x28f)](_0x145e5e,_0x1285a3);return _0x1017d3===void 0x0?_0xb4c044(_0x1d34ce,_0xea6acb,_0x250670):(_0x59e600===void 0x0?_0xb4c044(_0x250670,_0xea6acb,!0x0):_0x31504b?_0xb4c044(_0x250670,_0x59e600,_0xea6acb[_0x4b8726(0x283)](/\\/g,'')):_0xb4c044(_0x250670,_0x59e600,_0xea6acb),_0xb4c044(_0x1d34ce,_0x1017d3,_0x250670)),_0x1d34ce;}function _0x31a052(_0x5361e2){const _0x34f671=_0x362b;return Object[_0x34f671(0x234)](_0x5361e2)[_0x34f671(0x162)](_0x22b3d2=>{const _0x35d75f=_0x34f671;let _0x36ff51=_0x5361e2[_0x22b3d2];return Array[_0x35d75f(0x1a4)](_0x36ff51)||(_0x36ff51=[_0x36ff51]),_0x36ff51[_0x35d75f(0x162)](_0x6a954a=>[_0x22b3d2][_0x35d75f(0x1a3)](Object[_0x35d75f(0x234)](_0x6a954a)[_0x35d75f(0x162)](_0x163eb1=>{const _0x595df2=_0x35d75f;let _0x5ac563=_0x6a954a[_0x163eb1];return Array[_0x595df2(0x1a4)](_0x5ac563)||(_0x5ac563=[_0x5ac563]),_0x5ac563['map'](_0x5b1a48=>_0x5b1a48===!0x0?_0x163eb1:_0x163eb1+'='+_0x5b1a48)[_0x595df2(0x28a)](';\x20');}))['join'](';\x20'))[_0x35d75f(0x28a)](',\x20');})[_0x34f671(0x28a)](',\x20');}return be={'format':_0x31a052,'parse':_0x595a69},be;}var we,st;function Ie(){const _0x51d926=_0x2188b3;if(st)return we;st=0x1;const _0x7b1126=_0x43415a,_0x4c0afa=_0x15cf61,_0x26b56f=_0x20239b,_0x27d0f5=_0x429593,_0x4a6c7c=_0xcff1ca,{randomBytes:_0x2b2db1,createHash:_0x35cd76}=_0x46c54d,{Duplex:_0x15563c,Readable:_0x4571a5}=_0x9b5440,{URL:_0x338770}=_0x4ebc3b,_0x299898=he(),_0x4b437a=dt(),_0x3a4bfd=_t(),{isBlob:_0x395639}=ne(),{BINARY_TYPES:_0x3e88a0,EMPTY_BUFFER:_0x26c195,GUID:_0x309552,kForOnEventAttribute:_0xe47c47,kListener:_0x4e389d,kStatusCode:_0x595085,kWebSocket:_0x319b8f,NOOP:_0x33af05}=V(),{EventTarget:{addEventListener:_0x4e8f2f,removeEventListener:_0x3a7629}}=Kt(),{format:_0x15851c,parse:_0x17740e}=pt(),{toBuffer:_0x1422e8}=ce(),_0x7fb4a4=0x1e*0x3e8,_0x350f0d=Symbol('kAborted'),_0xf28817=[0x8,0xd],_0x430d86=['CONNECTING',_0x51d926(0x1fd),_0x51d926(0x1f3),_0x51d926(0x158)],_0x51df8a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5af54d extends _0x7b1126{constructor(_0x14bcbf,_0xaa4564,_0x4f2e97){const _0x205c39=_0x51d926;super(),this[_0x205c39(0x174)]=_0x3e88a0[0x0],this[_0x205c39(0xff)]=0x3ee,this[_0x205c39(0x121)]=!0x1,this[_0x205c39(0x1cd)]=!0x1,this[_0x205c39(0x1c2)]=_0x26c195,this[_0x205c39(0x197)]=null,this[_0x205c39(0x14c)]=!0x1,this[_0x205c39(0x1d1)]={},this[_0x205c39(0x1f0)]=!0x1,this[_0x205c39(0x164)]='',this['_readyState']=_0x5af54d['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x205c39(0x172)]=null,_0x14bcbf!==null?(this[_0x205c39(0x178)]=0x0,this['_isServer']=!0x1,this[_0x205c39(0xfc)]=0x0,_0xaa4564===void 0x0?_0xaa4564=[]:Array['isArray'](_0xaa4564)||(typeof _0xaa4564==_0x205c39(0x2b1)&&_0xaa4564!==null?(_0x4f2e97=_0xaa4564,_0xaa4564=[]):_0xaa4564=[_0xaa4564]),_0x325d3a(this,_0x14bcbf,_0xaa4564,_0x4f2e97)):(this[_0x205c39(0x26c)]=_0x4f2e97[_0x205c39(0x131)],this[_0x205c39(0x2ae)]=!0x0);}get[_0x51d926(0x2a3)](){const _0x4011d4=_0x51d926;return this[_0x4011d4(0x174)];}set[_0x51d926(0x2a3)](_0x27a868){const _0x173de4=_0x51d926;_0x3e88a0[_0x173de4(0x24e)](_0x27a868)&&(this['_binaryType']=_0x27a868,this['_receiver']&&(this[_0x173de4(0x1ca)][_0x173de4(0x174)]=_0x27a868));}get['bufferedAmount'](){const _0x5d0f99=_0x51d926;return this[_0x5d0f99(0x172)]?this[_0x5d0f99(0x172)][_0x5d0f99(0x127)][_0x5d0f99(0x25c)]+this[_0x5d0f99(0x1ae)][_0x5d0f99(0x132)]:this[_0x5d0f99(0x178)];}get[_0x51d926(0x192)](){const _0x20e5ff=_0x51d926;return Object[_0x20e5ff(0x234)](this[_0x20e5ff(0x1d1)])[_0x20e5ff(0x28a)]();}get[_0x51d926(0x244)](){const _0x2bb7ba=_0x51d926;return this[_0x2bb7ba(0x1f0)];}get[_0x51d926(0x11e)](){return null;}get[_0x51d926(0x22b)](){return null;}get[_0x51d926(0x291)](){return null;}get[_0x51d926(0x128)](){return null;}get[_0x51d926(0x27b)](){const _0x4b7f52=_0x51d926;return this[_0x4b7f52(0x164)];}get['readyState'](){const _0x1f2b50=_0x51d926;return this[_0x1f2b50(0x1ff)];}get['url'](){const _0x5c355d=_0x51d926;return this[_0x5c355d(0x17b)];}['setSocket'](_0x51244e,_0x3996f4,_0x4106c9){const _0x1539f2=_0x51d926,_0x5d68fd=new _0x4b437a({'allowSynchronousEvents':_0x4106c9[_0x1539f2(0x274)],'binaryType':this['binaryType'],'extensions':this[_0x1539f2(0x1d1)],'isServer':this['_isServer'],'maxPayload':_0x4106c9[_0x1539f2(0x209)],'skipUTF8Validation':_0x4106c9[_0x1539f2(0x23c)]}),_0x39f18c=new _0x3a4bfd(_0x51244e,this['_extensions'],_0x4106c9['generateMask']);this[_0x1539f2(0x1ca)]=_0x5d68fd,this['_sender']=_0x39f18c,this[_0x1539f2(0x172)]=_0x51244e,_0x5d68fd[_0x319b8f]=this,_0x39f18c[_0x319b8f]=this,_0x51244e[_0x319b8f]=this,_0x5d68fd['on'](_0x1539f2(0x185),_0xdeea0e),_0x5d68fd['on']('drain',_0x2d1374),_0x5d68fd['on'](_0x1539f2(0x15a),_0x48286b),_0x5d68fd['on'](_0x1539f2(0x28c),_0x357f2a),_0x5d68fd['on'](_0x1539f2(0x205),_0x4c616d),_0x5d68fd['on'](_0x1539f2(0x21f),_0x3bc67a),_0x39f18c['onerror']=_0x4c827d,_0x51244e['setTimeout']&&_0x51244e['setTimeout'](0x0),_0x51244e[_0x1539f2(0x10e)]&&_0x51244e[_0x1539f2(0x10e)](),_0x3996f4['length']>0x0&&_0x51244e[_0x1539f2(0x144)](_0x3996f4),_0x51244e['on']('close',_0x3f9e66),_0x51244e['on'](_0x1539f2(0x29e),_0x57638e),_0x51244e['on'](_0x1539f2(0x1ad),_0x247582),_0x51244e['on'](_0x1539f2(0x15a),_0x1ac8f0),this['_readyState']=_0x5af54d[_0x1539f2(0x1fd)],this[_0x1539f2(0x292)](_0x1539f2(0x1b4));}[_0x51d926(0x191)](){const _0x511de2=_0x51d926;if(!this[_0x511de2(0x172)]){this[_0x511de2(0x1ff)]=_0x5af54d[_0x511de2(0x158)],this[_0x511de2(0x292)]('close',this['_closeCode'],this['_closeMessage']);return;}this[_0x511de2(0x1d1)][_0x299898[_0x511de2(0x1ab)]]&&this['_extensions'][_0x299898[_0x511de2(0x1ab)]][_0x511de2(0x22d)](),this[_0x511de2(0x1ca)]['removeAllListeners'](),this[_0x511de2(0x1ff)]=_0x5af54d[_0x511de2(0x158)],this['emit'](_0x511de2(0x119),this[_0x511de2(0xff)],this['_closeMessage']);}[_0x51d926(0x119)](_0x88e161,_0x563bd5){const _0x259fcc=_0x51d926;if(this[_0x259fcc(0x11f)]!==_0x5af54d[_0x259fcc(0x158)]){if(this[_0x259fcc(0x11f)]===_0x5af54d[_0x259fcc(0x223)]){_0x2b302d(this,this[_0x259fcc(0x1c7)],_0x259fcc(0x242));return;}if(this[_0x259fcc(0x11f)]===_0x5af54d[_0x259fcc(0x1f3)]){this[_0x259fcc(0x1cd)]&&(this[_0x259fcc(0x121)]||this[_0x259fcc(0x1ca)][_0x259fcc(0x127)][_0x259fcc(0x214)])&&this[_0x259fcc(0x172)]['end']();return;}this[_0x259fcc(0x1ff)]=_0x5af54d[_0x259fcc(0x1f3)],this[_0x259fcc(0x1ae)][_0x259fcc(0x119)](_0x88e161,_0x563bd5,!this[_0x259fcc(0x2ae)],_0x13462a=>{const _0x48fd8e=_0x259fcc;_0x13462a||(this[_0x48fd8e(0x1cd)]=!0x0,(this[_0x48fd8e(0x121)]||this[_0x48fd8e(0x1ca)][_0x48fd8e(0x127)][_0x48fd8e(0x214)])&&this[_0x48fd8e(0x172)]['end']());}),_0x305508(this);}}['pause'](){const _0x28b473=_0x51d926;this[_0x28b473(0x11f)]===_0x5af54d[_0x28b473(0x223)]||this['readyState']===_0x5af54d['CLOSED']||(this['_paused']=!0x0,this['_socket']['pause']());}['ping'](_0x1fb2a8,_0x58041a,_0x1c8403){const _0x14850f=_0x51d926;if(this[_0x14850f(0x11f)]===_0x5af54d['CONNECTING'])throw new Error(_0x14850f(0x129));if(typeof _0x1fb2a8=='function'?(_0x1c8403=_0x1fb2a8,_0x1fb2a8=_0x58041a=void 0x0):typeof _0x58041a==_0x14850f(0x220)&&(_0x1c8403=_0x58041a,_0x58041a=void 0x0),typeof _0x1fb2a8=='number'&&(_0x1fb2a8=_0x1fb2a8[_0x14850f(0x206)]()),this[_0x14850f(0x11f)]!==_0x5af54d[_0x14850f(0x1fd)]){_0x54f4d4(this,_0x1fb2a8,_0x1c8403);return;}_0x58041a===void 0x0&&(_0x58041a=!this[_0x14850f(0x2ae)]),this['_sender']['ping'](_0x1fb2a8||_0x26c195,_0x58041a,_0x1c8403);}[_0x51d926(0x21f)](_0x34f54e,_0x20beca,_0x2bb6bb){const _0x1654ba=_0x51d926;if(this['readyState']===_0x5af54d['CONNECTING'])throw new Error(_0x1654ba(0x129));if(typeof _0x34f54e==_0x1654ba(0x220)?(_0x2bb6bb=_0x34f54e,_0x34f54e=_0x20beca=void 0x0):typeof _0x20beca==_0x1654ba(0x220)&&(_0x2bb6bb=_0x20beca,_0x20beca=void 0x0),typeof _0x34f54e==_0x1654ba(0x1dc)&&(_0x34f54e=_0x34f54e['toString']()),this[_0x1654ba(0x11f)]!==_0x5af54d['OPEN']){_0x54f4d4(this,_0x34f54e,_0x2bb6bb);return;}_0x20beca===void 0x0&&(_0x20beca=!this[_0x1654ba(0x2ae)]),this['_sender']['pong'](_0x34f54e||_0x26c195,_0x20beca,_0x2bb6bb);}[_0x51d926(0x154)](){const _0x30e925=_0x51d926;this[_0x30e925(0x11f)]===_0x5af54d['CONNECTING']||this[_0x30e925(0x11f)]===_0x5af54d[_0x30e925(0x158)]||(this[_0x30e925(0x1f0)]=!0x1,this['_receiver'][_0x30e925(0x127)][_0x30e925(0x240)]||this[_0x30e925(0x172)]['resume']());}[_0x51d926(0x290)](_0x8c349a,_0x150b93,_0xe568af){const _0xd54557=_0x51d926;if(this[_0xd54557(0x11f)]===_0x5af54d['CONNECTING'])throw new Error(_0xd54557(0x129));if(typeof _0x150b93==_0xd54557(0x220)&&(_0xe568af=_0x150b93,_0x150b93={}),typeof _0x8c349a==_0xd54557(0x1dc)&&(_0x8c349a=_0x8c349a[_0xd54557(0x206)]()),this['readyState']!==_0x5af54d[_0xd54557(0x1fd)]){_0x54f4d4(this,_0x8c349a,_0xe568af);return;}const _0x35b565={'binary':typeof _0x8c349a!=_0xd54557(0x188),'mask':!this[_0xd54557(0x2ae)],'compress':!0x0,'fin':!0x0,..._0x150b93};this['_extensions'][_0x299898[_0xd54557(0x1ab)]]||(_0x35b565[_0xd54557(0x168)]=!0x1),this['_sender'][_0xd54557(0x290)](_0x8c349a||_0x26c195,_0x35b565,_0xe568af);}['terminate'](){const _0x108a86=_0x51d926;if(this[_0x108a86(0x11f)]!==_0x5af54d[_0x108a86(0x158)]){if(this[_0x108a86(0x11f)]===_0x5af54d[_0x108a86(0x223)]){_0x2b302d(this,this[_0x108a86(0x1c7)],_0x108a86(0x242));return;}this[_0x108a86(0x172)]&&(this[_0x108a86(0x1ff)]=_0x5af54d[_0x108a86(0x1f3)],this[_0x108a86(0x172)][_0x108a86(0xf6)]());}}}Object[_0x51d926(0x2ad)](_0x5af54d,_0x51d926(0x223),{'enumerable':!0x0,'value':_0x430d86[_0x51d926(0x252)](_0x51d926(0x223))}),Object['defineProperty'](_0x5af54d['prototype'],_0x51d926(0x223),{'enumerable':!0x0,'value':_0x430d86['indexOf'](_0x51d926(0x223))}),Object[_0x51d926(0x2ad)](_0x5af54d,_0x51d926(0x1fd),{'enumerable':!0x0,'value':_0x430d86[_0x51d926(0x252)]('OPEN')}),Object['defineProperty'](_0x5af54d['prototype'],_0x51d926(0x1fd),{'enumerable':!0x0,'value':_0x430d86['indexOf']('OPEN')}),Object[_0x51d926(0x2ad)](_0x5af54d,_0x51d926(0x1f3),{'enumerable':!0x0,'value':_0x430d86[_0x51d926(0x252)](_0x51d926(0x1f3))}),Object[_0x51d926(0x2ad)](_0x5af54d[_0x51d926(0xf9)],_0x51d926(0x1f3),{'enumerable':!0x0,'value':_0x430d86['indexOf'](_0x51d926(0x1f3))}),Object[_0x51d926(0x2ad)](_0x5af54d,_0x51d926(0x158),{'enumerable':!0x0,'value':_0x430d86['indexOf'](_0x51d926(0x158))}),Object[_0x51d926(0x2ad)](_0x5af54d[_0x51d926(0xf9)],_0x51d926(0x158),{'enumerable':!0x0,'value':_0x430d86['indexOf']('CLOSED')}),[_0x51d926(0x2a3),'bufferedAmount','extensions',_0x51d926(0x244),_0x51d926(0x27b),_0x51d926(0x11f),'url'][_0x51d926(0x1b0)](_0x510eab=>{const _0x4693d2=_0x51d926;Object['defineProperty'](_0x5af54d[_0x4693d2(0xf9)],_0x510eab,{'enumerable':!0x0});}),['open',_0x51d926(0x15a),_0x51d926(0x119),_0x51d926(0x28c)]['forEach'](_0x194de2=>{const _0x3b4da3=_0x51d926;Object[_0x3b4da3(0x2ad)](_0x5af54d[_0x3b4da3(0xf9)],'on'+_0x194de2,{'enumerable':!0x0,'get'(){const _0x62aba9=_0x3b4da3;for(const _0x5a15cc of this[_0x62aba9(0x281)](_0x194de2))if(_0x5a15cc[_0xe47c47])return _0x5a15cc[_0x4e389d];return null;},'set'(_0x38cbfc){const _0xc06544=_0x3b4da3;for(const _0x2795e8 of this[_0xc06544(0x281)](_0x194de2))if(_0x2795e8[_0xe47c47]){this[_0xc06544(0x142)](_0x194de2,_0x2795e8);break;}typeof _0x38cbfc=='function'&&this[_0xc06544(0x1e8)](_0x194de2,_0x38cbfc,{[_0xe47c47]:!0x0});}});}),_0x5af54d['prototype']['addEventListener']=_0x4e8f2f,_0x5af54d[_0x51d926(0xf9)]['removeEventListener']=_0x3a7629,we=_0x5af54d;function _0x325d3a(_0x14068b,_0x2a12fc,_0x3433ea,_0xc1f191){const _0x3e4bfc=_0x51d926,_0x24e4d9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xf28817[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xc1f191,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3e4bfc(0x1f4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x14068b['_autoPong']=_0x24e4d9[_0x3e4bfc(0x131)],!_0xf28817[_0x3e4bfc(0x24e)](_0x24e4d9[_0x3e4bfc(0x1f2)]))throw new RangeError(_0x3e4bfc(0x249)+_0x24e4d9[_0x3e4bfc(0x1f2)]+_0x3e4bfc(0x284)+_0xf28817['join'](',\x20')+')');let _0x59020c;if(_0x2a12fc instanceof _0x338770)_0x59020c=_0x2a12fc;else try{_0x59020c=new _0x338770(_0x2a12fc);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x2a12fc);}_0x59020c[_0x3e4bfc(0x27b)]===_0x3e4bfc(0x167)?_0x59020c[_0x3e4bfc(0x27b)]=_0x3e4bfc(0x2a0):_0x59020c[_0x3e4bfc(0x27b)]===_0x3e4bfc(0x17f)&&(_0x59020c[_0x3e4bfc(0x27b)]=_0x3e4bfc(0x160)),_0x14068b[_0x3e4bfc(0x17b)]=_0x59020c[_0x3e4bfc(0x15d)];const _0x31e4a2=_0x59020c[_0x3e4bfc(0x27b)]===_0x3e4bfc(0x160),_0x5ab2d8=_0x59020c['protocol']===_0x3e4bfc(0x247);let _0x1ce28b;if(_0x59020c[_0x3e4bfc(0x27b)]!==_0x3e4bfc(0x2a0)&&!_0x31e4a2&&!_0x5ab2d8?_0x1ce28b=_0x3e4bfc(0x27f):_0x5ab2d8&&!_0x59020c[_0x3e4bfc(0x237)]?_0x1ce28b=_0x3e4bfc(0x114):_0x59020c[_0x3e4bfc(0x19d)]&&(_0x1ce28b='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x1ce28b){const _0xe2c689=new SyntaxError(_0x1ce28b);if(_0x14068b[_0x3e4bfc(0xfc)]===0x0)throw _0xe2c689;_0x249b8c(_0x14068b,_0xe2c689);return;}const _0x13a464=_0x31e4a2?0x1bb:0x50,_0x30074a=_0x2b2db1(0x10)[_0x3e4bfc(0x206)](_0x3e4bfc(0x180)),_0x1e8f88=_0x31e4a2?_0x4c0afa[_0x3e4bfc(0xfa)]:_0x26b56f[_0x3e4bfc(0xfa)],_0x691369=new Set();let _0x5ba664;if(_0x24e4d9[_0x3e4bfc(0x143)]=_0x24e4d9[_0x3e4bfc(0x143)]||(_0x31e4a2?_0x1a417c:_0x116376),_0x24e4d9[_0x3e4bfc(0x268)]=_0x24e4d9[_0x3e4bfc(0x268)]||_0x13a464,_0x24e4d9[_0x3e4bfc(0x20c)]=_0x59020c[_0x3e4bfc(0x20c)]||_0x13a464,_0x24e4d9[_0x3e4bfc(0x194)]=_0x59020c[_0x3e4bfc(0x13c)][_0x3e4bfc(0x1e0)]('[')?_0x59020c[_0x3e4bfc(0x13c)][_0x3e4bfc(0x28f)](0x1,-0x1):_0x59020c[_0x3e4bfc(0x13c)],_0x24e4d9['headers']={..._0x24e4d9[_0x3e4bfc(0x1ec)],'Sec-WebSocket-Version':_0x24e4d9[_0x3e4bfc(0x1f2)],'Sec-WebSocket-Key':_0x30074a,'Connection':_0x3e4bfc(0x1db),'Upgrade':_0x3e4bfc(0x231)},_0x24e4d9[_0x3e4bfc(0x196)]=_0x59020c[_0x3e4bfc(0x237)]+_0x59020c[_0x3e4bfc(0x15e)],_0x24e4d9[_0x3e4bfc(0x13e)]=_0x24e4d9[_0x3e4bfc(0x179)],_0x24e4d9['perMessageDeflate']&&(_0x5ba664=new _0x299898(_0x24e4d9[_0x3e4bfc(0x235)]!==!0x0?_0x24e4d9[_0x3e4bfc(0x235)]:{},!0x1,_0x24e4d9['maxPayload']),_0x24e4d9[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x11b)]=_0x15851c({[_0x299898[_0x3e4bfc(0x1ab)]]:_0x5ba664[_0x3e4bfc(0x130)]()})),_0x3433ea[_0x3e4bfc(0x25c)]){for(const _0x34da2e of _0x3433ea){if(typeof _0x34da2e!=_0x3e4bfc(0x188)||!_0x51df8a[_0x3e4bfc(0x1c6)](_0x34da2e)||_0x691369[_0x3e4bfc(0x287)](_0x34da2e))throw new SyntaxError(_0x3e4bfc(0x1ac));_0x691369[_0x3e4bfc(0x157)](_0x34da2e);}_0x24e4d9[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x166)]=_0x3433ea[_0x3e4bfc(0x28a)](',');}if(_0x24e4d9['origin']&&(_0x24e4d9[_0x3e4bfc(0x1f2)]<0xd?_0x24e4d9[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x221)]=_0x24e4d9[_0x3e4bfc(0x282)]:_0x24e4d9[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x177)]=_0x24e4d9[_0x3e4bfc(0x282)]),(_0x59020c[_0x3e4bfc(0x106)]||_0x59020c[_0x3e4bfc(0x1e9)])&&(_0x24e4d9[_0x3e4bfc(0x195)]=_0x59020c[_0x3e4bfc(0x106)]+':'+_0x59020c[_0x3e4bfc(0x1e9)]),_0x5ab2d8){const _0x229213=_0x24e4d9[_0x3e4bfc(0x196)][_0x3e4bfc(0x147)](':');_0x24e4d9['socketPath']=_0x229213[0x0],_0x24e4d9[_0x3e4bfc(0x196)]=_0x229213[0x1];}let _0x2fd799;if(_0x24e4d9[_0x3e4bfc(0x29a)]){if(_0x14068b[_0x3e4bfc(0xfc)]===0x0){_0x14068b[_0x3e4bfc(0x1a1)]=_0x5ab2d8,_0x14068b[_0x3e4bfc(0x230)]=_0x31e4a2,_0x14068b[_0x3e4bfc(0x26d)]=_0x5ab2d8?_0x24e4d9[_0x3e4bfc(0x1d7)]:_0x59020c[_0x3e4bfc(0x194)];const _0x2eef99=_0xc1f191&&_0xc1f191[_0x3e4bfc(0x1ec)];if(_0xc1f191={..._0xc1f191,'headers':{}},_0x2eef99){for(const [_0x29e555,_0x5ccb4a]of Object[_0x3e4bfc(0x24c)](_0x2eef99))_0xc1f191[_0x3e4bfc(0x1ec)][_0x29e555[_0x3e4bfc(0x20d)]()]=_0x5ccb4a;}}else{if(_0x14068b[_0x3e4bfc(0xf7)]('redirect')===0x0){const _0x354fcf=_0x5ab2d8?_0x14068b['_originalIpc']?_0x24e4d9[_0x3e4bfc(0x1d7)]===_0x14068b[_0x3e4bfc(0x26d)]:!0x1:_0x14068b[_0x3e4bfc(0x1a1)]?!0x1:_0x59020c[_0x3e4bfc(0x194)]===_0x14068b[_0x3e4bfc(0x26d)];(!_0x354fcf||_0x14068b['_originalSecure']&&!_0x31e4a2)&&(delete _0x24e4d9[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x270)],delete _0x24e4d9['headers'][_0x3e4bfc(0x1f6)],_0x354fcf||delete _0x24e4d9['headers'][_0x3e4bfc(0x194)],_0x24e4d9[_0x3e4bfc(0x195)]=void 0x0);}}_0x24e4d9[_0x3e4bfc(0x195)]&&!_0xc1f191['headers']['authorization']&&(_0xc1f191[_0x3e4bfc(0x1ec)][_0x3e4bfc(0x270)]=_0x3e4bfc(0x108)+Buffer[_0x3e4bfc(0x1d3)](_0x24e4d9[_0x3e4bfc(0x195)])[_0x3e4bfc(0x206)](_0x3e4bfc(0x180))),_0x2fd799=_0x14068b[_0x3e4bfc(0x1c7)]=_0x1e8f88(_0x24e4d9),_0x14068b[_0x3e4bfc(0xfc)]&&_0x14068b[_0x3e4bfc(0x292)]('redirect',_0x14068b['url'],_0x2fd799);}else _0x2fd799=_0x14068b[_0x3e4bfc(0x1c7)]=_0x1e8f88(_0x24e4d9);_0x24e4d9[_0x3e4bfc(0x13e)]&&_0x2fd799['on'](_0x3e4bfc(0x13e),()=>{_0x2b302d(_0x14068b,_0x2fd799,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2fd799['on'](_0x3e4bfc(0x15a),_0x163569=>{const _0x2b96d8=_0x3e4bfc;_0x2fd799===null||_0x2fd799[_0x350f0d]||(_0x2fd799=_0x14068b[_0x2b96d8(0x1c7)]=null,_0x249b8c(_0x14068b,_0x163569));}),_0x2fd799['on'](_0x3e4bfc(0x10c),_0x548d6a=>{const _0x2b76f1=_0x3e4bfc,_0x4b9502=_0x548d6a[_0x2b76f1(0x1ec)][_0x2b76f1(0x1aa)],_0x50b147=_0x548d6a[_0x2b76f1(0x289)];if(_0x4b9502&&_0x24e4d9[_0x2b76f1(0x29a)]&&_0x50b147>=0x12c&&_0x50b147<0x190){if(++_0x14068b['_redirects']>_0x24e4d9[_0x2b76f1(0x280)]){_0x2b302d(_0x14068b,_0x2fd799,_0x2b76f1(0x25d));return;}_0x2fd799['abort']();let _0x157e2e;try{_0x157e2e=new _0x338770(_0x4b9502,_0x2a12fc);}catch{const _0x4a6860=new SyntaxError(_0x2b76f1(0x1c8)+_0x4b9502);_0x249b8c(_0x14068b,_0x4a6860);return;}_0x325d3a(_0x14068b,_0x157e2e,_0x3433ea,_0xc1f191);}else _0x14068b[_0x2b76f1(0x292)](_0x2b76f1(0x255),_0x2fd799,_0x548d6a)||_0x2b302d(_0x14068b,_0x2fd799,_0x2b76f1(0x1f9)+_0x548d6a[_0x2b76f1(0x289)]);}),_0x2fd799['on'](_0x3e4bfc(0x208),(_0x2044b5,_0x20cc0d,_0x1b2558)=>{const _0x2cf7a7=_0x3e4bfc;if(_0x14068b['emit'](_0x2cf7a7(0x208),_0x2044b5),_0x14068b[_0x2cf7a7(0x11f)]!==_0x5af54d['CONNECTING'])return;_0x2fd799=_0x14068b[_0x2cf7a7(0x1c7)]=null;const _0x4afab4=_0x2044b5[_0x2cf7a7(0x1ec)][_0x2cf7a7(0x208)];if(_0x4afab4===void 0x0||_0x4afab4[_0x2cf7a7(0x20d)]()!==_0x2cf7a7(0x231)){_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x1f7));return;}const _0x285550=_0x35cd76('sha1')[_0x2cf7a7(0x239)](_0x30074a+_0x309552)['digest'](_0x2cf7a7(0x180));if(_0x2044b5[_0x2cf7a7(0x1ec)]['sec-websocket-accept']!==_0x285550){_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x1e5));return;}const _0x2326f8=_0x2044b5[_0x2cf7a7(0x1ec)][_0x2cf7a7(0x1bb)];let _0x3bb707;if(_0x2326f8!==void 0x0?_0x691369[_0x2cf7a7(0x18a)]?_0x691369[_0x2cf7a7(0x287)](_0x2326f8)||(_0x3bb707=_0x2cf7a7(0x199)):_0x3bb707=_0x2cf7a7(0x1f5):_0x691369[_0x2cf7a7(0x18a)]&&(_0x3bb707='Server\x20sent\x20no\x20subprotocol'),_0x3bb707){_0x2b302d(_0x14068b,_0x20cc0d,_0x3bb707);return;}_0x2326f8&&(_0x14068b['_protocol']=_0x2326f8);const _0x198e51=_0x2044b5[_0x2cf7a7(0x1ec)][_0x2cf7a7(0x103)];if(_0x198e51!==void 0x0){if(!_0x5ba664){_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x24f));return;}let _0x213b2c;try{_0x213b2c=_0x17740e(_0x198e51);}catch{_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x1b6));return;}const _0x449b29=Object[_0x2cf7a7(0x234)](_0x213b2c);if(_0x449b29[_0x2cf7a7(0x25c)]!==0x1||_0x449b29[0x0]!==_0x299898[_0x2cf7a7(0x1ab)]){_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x1cb));return;}try{_0x5ba664[_0x2cf7a7(0x17c)](_0x213b2c[_0x299898[_0x2cf7a7(0x1ab)]]);}catch{_0x2b302d(_0x14068b,_0x20cc0d,_0x2cf7a7(0x1b6));return;}_0x14068b[_0x2cf7a7(0x1d1)][_0x299898[_0x2cf7a7(0x1ab)]]=_0x5ba664;}_0x14068b['setSocket'](_0x20cc0d,_0x1b2558,{'allowSynchronousEvents':_0x24e4d9[_0x2cf7a7(0x274)],'generateMask':_0x24e4d9['generateMask'],'maxPayload':_0x24e4d9[_0x2cf7a7(0x209)],'skipUTF8Validation':_0x24e4d9[_0x2cf7a7(0x23c)]});}),_0x24e4d9[_0x3e4bfc(0x2b0)]?_0x24e4d9['finishRequest'](_0x2fd799,_0x14068b):_0x2fd799[_0x3e4bfc(0x1ad)]();}function _0x249b8c(_0x444a8a,_0x2068ef){const _0xb64cc4=_0x51d926;_0x444a8a[_0xb64cc4(0x1ff)]=_0x5af54d[_0xb64cc4(0x1f3)],_0x444a8a[_0xb64cc4(0x14c)]=!0x0,_0x444a8a[_0xb64cc4(0x292)](_0xb64cc4(0x15a),_0x2068ef),_0x444a8a[_0xb64cc4(0x191)]();}function _0x116376(_0xebd72){const _0x4a140f=_0x51d926;return _0xebd72[_0x4a140f(0x196)]=_0xebd72[_0x4a140f(0x1d7)],_0x27d0f5['connect'](_0xebd72);}function _0x1a417c(_0x4622e7){const _0x69c2c5=_0x51d926;return _0x4622e7['path']=void 0x0,!_0x4622e7[_0x69c2c5(0x165)]&&_0x4622e7['servername']!==''&&(_0x4622e7['servername']=_0x27d0f5[_0x69c2c5(0x1e7)](_0x4622e7[_0x69c2c5(0x194)])?'':_0x4622e7[_0x69c2c5(0x194)]),_0x4a6c7c['connect'](_0x4622e7);}function _0x2b302d(_0x30f579,_0x3c5d77,_0x554322){const _0x1bbeda=_0x51d926;_0x30f579[_0x1bbeda(0x1ff)]=_0x5af54d[_0x1bbeda(0x1f3)];const _0x3f5fa9=new Error(_0x554322);Error[_0x1bbeda(0x141)](_0x3f5fa9,_0x2b302d),_0x3c5d77[_0x1bbeda(0x25e)]?(_0x3c5d77[_0x350f0d]=!0x0,_0x3c5d77['abort'](),_0x3c5d77['socket']&&!_0x3c5d77['socket'][_0x1bbeda(0x24a)]&&_0x3c5d77[_0x1bbeda(0x28e)]['destroy'](),process[_0x1bbeda(0x266)](_0x249b8c,_0x30f579,_0x3f5fa9)):(_0x3c5d77[_0x1bbeda(0xf6)](_0x3f5fa9),_0x3c5d77[_0x1bbeda(0x23d)](_0x1bbeda(0x15a),_0x30f579['emit'][_0x1bbeda(0x1b9)](_0x30f579,_0x1bbeda(0x15a))),_0x3c5d77[_0x1bbeda(0x23d)](_0x1bbeda(0x119),_0x30f579[_0x1bbeda(0x191)][_0x1bbeda(0x1b9)](_0x30f579)));}function _0x54f4d4(_0x302968,_0x2c5f21,_0x44b39f){const _0x8eaa26=_0x51d926;if(_0x2c5f21){const _0x8810fa=_0x395639(_0x2c5f21)?_0x2c5f21[_0x8eaa26(0x18a)]:_0x1422e8(_0x2c5f21)[_0x8eaa26(0x25c)];_0x302968[_0x8eaa26(0x172)]?_0x302968[_0x8eaa26(0x1ae)][_0x8eaa26(0x132)]+=_0x8810fa:_0x302968['_bufferedAmount']+=_0x8810fa;}if(_0x44b39f){const _0x569481=new Error(_0x8eaa26(0x1bd)+_0x302968['readyState']+'\x20('+_0x430d86[_0x302968['readyState']]+')');process[_0x8eaa26(0x266)](_0x44b39f,_0x569481);}}function _0xdeea0e(_0x176796,_0x293749){const _0x154b4c=_0x51d926,_0x920453=this[_0x319b8f];_0x920453[_0x154b4c(0x121)]=!0x0,_0x920453[_0x154b4c(0x1c2)]=_0x293749,_0x920453[_0x154b4c(0xff)]=_0x176796,_0x920453[_0x154b4c(0x172)][_0x319b8f]!==void 0x0&&(_0x920453['_socket'][_0x154b4c(0x142)](_0x154b4c(0x29e),_0x57638e),process[_0x154b4c(0x266)](_0x61cc7c,_0x920453[_0x154b4c(0x172)]),_0x176796===0x3ed?_0x920453[_0x154b4c(0x119)]():_0x920453['close'](_0x176796,_0x293749));}function _0x2d1374(){const _0x1dce7b=_0x51d926,_0x5be13c=this[_0x319b8f];_0x5be13c[_0x1dce7b(0x244)]||_0x5be13c[_0x1dce7b(0x172)][_0x1dce7b(0x154)]();}function _0x48286b(_0x2a905f){const _0x24009e=_0x51d926,_0x8e1c11=this[_0x319b8f];_0x8e1c11[_0x24009e(0x172)][_0x319b8f]!==void 0x0&&(_0x8e1c11['_socket'][_0x24009e(0x142)]('data',_0x57638e),process['nextTick'](_0x61cc7c,_0x8e1c11['_socket']),_0x8e1c11[_0x24009e(0x119)](_0x2a905f[_0x595085])),_0x8e1c11[_0x24009e(0x14c)]||(_0x8e1c11['_errorEmitted']=!0x0,_0x8e1c11[_0x24009e(0x292)](_0x24009e(0x15a),_0x2a905f));}function _0x53a4bd(){this[_0x319b8f]['emitClose']();}function _0x357f2a(_0x51eed7,_0x2532a5){const _0x467aa1=_0x51d926;this[_0x319b8f][_0x467aa1(0x292)](_0x467aa1(0x28c),_0x51eed7,_0x2532a5);}function _0x4c616d(_0xc4b3c5){const _0x36dbff=_0x51d926,_0x5e96ec=this[_0x319b8f];_0x5e96ec[_0x36dbff(0x26c)]&&_0x5e96ec['pong'](_0xc4b3c5,!this[_0x36dbff(0x2ae)],_0x33af05),_0x5e96ec[_0x36dbff(0x292)](_0x36dbff(0x205),_0xc4b3c5);}function _0x3bc67a(_0x4d975e){const _0x335b54=_0x51d926;this[_0x319b8f]['emit'](_0x335b54(0x21f),_0x4d975e);}function _0x61cc7c(_0x43419e){_0x43419e['resume']();}function _0x4c827d(_0x5785a4){const _0x1657f9=_0x51d926,_0x1b8db2=this[_0x319b8f];_0x1b8db2[_0x1657f9(0x11f)]!==_0x5af54d['CLOSED']&&(_0x1b8db2[_0x1657f9(0x11f)]===_0x5af54d[_0x1657f9(0x1fd)]&&(_0x1b8db2[_0x1657f9(0x1ff)]=_0x5af54d['CLOSING'],_0x305508(_0x1b8db2)),this[_0x1657f9(0x172)][_0x1657f9(0x1ad)](),_0x1b8db2[_0x1657f9(0x14c)]||(_0x1b8db2[_0x1657f9(0x14c)]=!0x0,_0x1b8db2[_0x1657f9(0x292)](_0x1657f9(0x15a),_0x5785a4)));}function _0x305508(_0x5a1d98){const _0x4beae6=_0x51d926;_0x5a1d98[_0x4beae6(0x197)]=setTimeout(_0x5a1d98[_0x4beae6(0x172)][_0x4beae6(0xf6)][_0x4beae6(0x1b9)](_0x5a1d98[_0x4beae6(0x172)]),_0x7fb4a4);}function _0x3f9e66(){const _0x17ed39=_0x51d926,_0x5ab568=this[_0x319b8f];this['removeListener']('close',_0x3f9e66),this[_0x17ed39(0x142)]('data',_0x57638e),this[_0x17ed39(0x142)](_0x17ed39(0x1ad),_0x247582),_0x5ab568[_0x17ed39(0x1ff)]=_0x5af54d[_0x17ed39(0x1f3)];let _0x4cfd23;!this[_0x17ed39(0x118)][_0x17ed39(0x20e)]&&!_0x5ab568[_0x17ed39(0x121)]&&!_0x5ab568['_receiver'][_0x17ed39(0x127)][_0x17ed39(0x214)]&&(_0x4cfd23=_0x5ab568[_0x17ed39(0x172)][_0x17ed39(0x29c)]())!==null&&_0x5ab568['_receiver']['write'](_0x4cfd23),_0x5ab568[_0x17ed39(0x1ca)][_0x17ed39(0x1ad)](),this[_0x319b8f]=void 0x0,clearTimeout(_0x5ab568[_0x17ed39(0x197)]),_0x5ab568[_0x17ed39(0x1ca)][_0x17ed39(0x127)]['finished']||_0x5ab568[_0x17ed39(0x1ca)][_0x17ed39(0x127)][_0x17ed39(0x214)]?_0x5ab568[_0x17ed39(0x191)]():(_0x5ab568[_0x17ed39(0x1ca)]['on'](_0x17ed39(0x15a),_0x53a4bd),_0x5ab568['_receiver']['on'](_0x17ed39(0x2ac),_0x53a4bd));}function _0x57638e(_0x5ae0dd){const _0x4c6137=_0x51d926;this[_0x319b8f][_0x4c6137(0x1ca)][_0x4c6137(0x256)](_0x5ae0dd)||this['pause']();}function _0x247582(){const _0x52ed7a=_0x51d926,_0xe5cbd7=this[_0x319b8f];_0xe5cbd7[_0x52ed7a(0x1ff)]=_0x5af54d[_0x52ed7a(0x1f3)],_0xe5cbd7['_receiver'][_0x52ed7a(0x1ad)](),this[_0x52ed7a(0x1ad)]();}function _0x1ac8f0(){const _0x2ab97c=_0x51d926,_0xf48e95=this[_0x319b8f];this[_0x2ab97c(0x142)](_0x2ab97c(0x15a),_0x1ac8f0),this['on']('error',_0x33af05),_0xf48e95&&(_0xf48e95[_0x2ab97c(0x1ff)]=_0x5af54d[_0x2ab97c(0x1f3)],this[_0x2ab97c(0xf6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x3608c5}=_0x9b5440;function _0x3c6b95(_0x3d3ba7){const _0x2dff11=_0x362b;_0x3d3ba7['emit'](_0x2dff11(0x119));}function _0x322880(){const _0x5955a6=_0x362b;!this[_0x5955a6(0x24a)]&&this[_0x5955a6(0x127)]['finished']&&this[_0x5955a6(0xf6)]();}function _0x390775(_0x309688){const _0x548daf=_0x362b;this[_0x548daf(0x142)](_0x548daf(0x15a),_0x390775),this[_0x548daf(0xf6)](),this['listenerCount'](_0x548daf(0x15a))===0x0&&this['emit'](_0x548daf(0x15a),_0x309688);}function _0x4cb51b(_0x3864c9,_0x3c9435){const _0x3dc0d7=_0x362b;let _0x123ca8=!0x0;const _0x427b87=new _0x3608c5({..._0x3c9435,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3864c9['on'](_0x3dc0d7(0x28c),function(_0x279567,_0x2680d0){const _0x20ab9c=_0x3dc0d7,_0x2d5eaa=!_0x2680d0&&_0x427b87['_readableState'][_0x20ab9c(0x13a)]?_0x279567[_0x20ab9c(0x206)]():_0x279567;_0x427b87['push'](_0x2d5eaa)||_0x3864c9[_0x20ab9c(0x246)]();}),_0x3864c9[_0x3dc0d7(0x23d)]('error',function(_0x4e6657){_0x427b87['destroyed']||(_0x123ca8=!0x1,_0x427b87['destroy'](_0x4e6657));}),_0x3864c9[_0x3dc0d7(0x23d)]('close',function(){const _0x29830b=_0x3dc0d7;_0x427b87['destroyed']||_0x427b87[_0x29830b(0x207)](null);}),_0x427b87[_0x3dc0d7(0x1c5)]=function(_0x4d514e,_0x223aac){const _0x3064d9=_0x3dc0d7;if(_0x3864c9[_0x3064d9(0x11f)]===_0x3864c9[_0x3064d9(0x158)]){_0x223aac(_0x4d514e),process['nextTick'](_0x3c6b95,_0x427b87);return;}let _0x121ebb=!0x1;_0x3864c9[_0x3064d9(0x23d)](_0x3064d9(0x15a),function(_0x20eab1){_0x121ebb=!0x0,_0x223aac(_0x20eab1);}),_0x3864c9[_0x3064d9(0x23d)](_0x3064d9(0x119),function(){const _0xd0aeb3=_0x3064d9;_0x121ebb||_0x223aac(_0x4d514e),process[_0xd0aeb3(0x266)](_0x3c6b95,_0x427b87);}),_0x123ca8&&_0x3864c9['terminate']();},_0x427b87[_0x3dc0d7(0x1be)]=function(_0x358411){const _0x4fa667=_0x3dc0d7;if(_0x3864c9['readyState']===_0x3864c9[_0x4fa667(0x223)]){_0x3864c9[_0x4fa667(0x23d)]('open',function(){_0x427b87['_final'](_0x358411);});return;}_0x3864c9[_0x4fa667(0x172)]!==null&&(_0x3864c9[_0x4fa667(0x172)]['_writableState'][_0x4fa667(0x20f)]?(_0x358411(),_0x427b87[_0x4fa667(0x118)]['endEmitted']&&_0x427b87['destroy']()):(_0x3864c9['_socket'][_0x4fa667(0x23d)](_0x4fa667(0x2ac),function(){_0x358411();}),_0x3864c9[_0x4fa667(0x119)]()));},_0x427b87[_0x3dc0d7(0x1b2)]=function(){const _0x4ceec0=_0x3dc0d7;_0x3864c9[_0x4ceec0(0x244)]&&_0x3864c9['resume']();},_0x427b87['_write']=function(_0x14490c,_0x5d6508,_0x141838){const _0x56a719=_0x3dc0d7;if(_0x3864c9[_0x56a719(0x11f)]===_0x3864c9[_0x56a719(0x223)]){_0x3864c9['once']('open',function(){_0x427b87['_write'](_0x14490c,_0x5d6508,_0x141838);});return;}_0x3864c9[_0x56a719(0x290)](_0x14490c,_0x141838);},_0x427b87['on'](_0x3dc0d7(0x1ad),_0x322880),_0x427b87['on']('error',_0x390775),_0x427b87;}return Oe=_0x4cb51b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);function _0x362b(_0x5bc76f,_0x2d1169){const _0x3aaddb=_0x3aad();return _0x362b=function(_0x362bab,_0x189276){_0x362bab=_0x362bab-0xf5;let _0x1dc880=_0x3aaddb[_0x362bab];return _0x1dc880;},_0x362b(_0x5bc76f,_0x2d1169);}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x53f23a}=ne();function _0x38ac5c(_0x9a3695){const _0x438b74=_0x362b,_0x3909c0=new Set();let _0x395201=-0x1,_0x4f6be0=-0x1,_0x17df29=0x0;for(_0x17df29;_0x17df29<_0x9a3695[_0x438b74(0x25c)];_0x17df29++){const _0x2c085e=_0x9a3695[_0x438b74(0x117)](_0x17df29);if(_0x4f6be0===-0x1&&_0x53f23a[_0x2c085e]===0x1)_0x395201===-0x1&&(_0x395201=_0x17df29);else{if(_0x17df29!==0x0&&(_0x2c085e===0x20||_0x2c085e===0x9))_0x4f6be0===-0x1&&_0x395201!==-0x1&&(_0x4f6be0=_0x17df29);else{if(_0x2c085e===0x2c){if(_0x395201===-0x1)throw new SyntaxError(_0x438b74(0x257)+_0x17df29);_0x4f6be0===-0x1&&(_0x4f6be0=_0x17df29);const _0x184c64=_0x9a3695['slice'](_0x395201,_0x4f6be0);if(_0x3909c0[_0x438b74(0x287)](_0x184c64))throw new SyntaxError('The\x20\x22'+_0x184c64+'\x22\x20subprotocol\x20is\x20duplicated');_0x3909c0[_0x438b74(0x157)](_0x184c64),_0x395201=_0x4f6be0=-0x1;}else throw new SyntaxError(_0x438b74(0x257)+_0x17df29);}}}if(_0x395201===-0x1||_0x4f6be0!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1e22ea=_0x9a3695[_0x438b74(0x28f)](_0x395201,_0x17df29);if(_0x3909c0[_0x438b74(0x287)](_0x1e22ea))throw new SyntaxError(_0x438b74(0x161)+_0x1e22ea+_0x438b74(0x21b));return _0x3909c0[_0x438b74(0x157)](_0x1e22ea),_0x3909c0;}return Ce={'parse':_0x38ac5c},Ce;}var Te,ot;function er(){const _0x2eecab=_0x2188b3;if(ot)return Te;ot=0x1;const _0x954532=_0x43415a,_0xb0ea95=_0x20239b,{Duplex:_0x4c2f45}=_0x9b5440,{createHash:_0x33551f}=_0x46c54d,_0x3937a9=pt(),_0x3d3153=he(),_0x5264ef=Jt(),_0xaece31=Ie(),{GUID:_0x1f9d57,kWebSocket:_0x4b899b}=V(),_0x32563b=/^[+/0-9A-Za-z]{22}==$/,_0x14f2ce=0x0,_0x3dce88=0x1,_0x59cb72=0x2;class _0x441396 extends _0x954532{constructor(_0x3eaf78,_0x4c6f9b){const _0x566843=_0x362b;if(super(),_0x3eaf78={'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':_0xaece31,..._0x3eaf78},_0x3eaf78[_0x566843(0x20c)]==null&&!_0x3eaf78[_0x566843(0x27c)]&&!_0x3eaf78[_0x566843(0x1cc)]||_0x3eaf78['port']!=null&&(_0x3eaf78[_0x566843(0x27c)]||_0x3eaf78[_0x566843(0x1cc)])||_0x3eaf78[_0x566843(0x27c)]&&_0x3eaf78[_0x566843(0x1cc)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x3eaf78['port']!=null?(this[_0x566843(0x23e)]=_0xb0ea95['createServer']((_0x4e4690,_0x464952)=>{const _0x3f6371=_0x566843,_0x1e8586=_0xb0ea95[_0x3f6371(0x139)][0x1aa];_0x464952[_0x3f6371(0x14e)](0x1aa,{'Content-Length':_0x1e8586[_0x3f6371(0x25c)],'Content-Type':_0x3f6371(0x169)}),_0x464952[_0x3f6371(0x1ad)](_0x1e8586);}),this[_0x566843(0x23e)][_0x566843(0x2a4)](_0x3eaf78[_0x566843(0x20c)],_0x3eaf78[_0x566843(0x194)],_0x3eaf78[_0x566843(0x241)],_0x4c6f9b)):_0x3eaf78[_0x566843(0x27c)]&&(this['_server']=_0x3eaf78[_0x566843(0x27c)]),this[_0x566843(0x23e)]){const _0x31c91d=this[_0x566843(0x292)][_0x566843(0x1b9)](this,_0x566843(0x294));this[_0x566843(0x227)]=_0x1aa401(this[_0x566843(0x23e)],{'listening':this[_0x566843(0x292)]['bind'](this,_0x566843(0x1c4)),'error':this[_0x566843(0x292)]['bind'](this,_0x566843(0x15a)),'upgrade':(_0x29ebab,_0x47caa9,_0x244434)=>{const _0x14145d=_0x566843;this[_0x14145d(0xfe)](_0x29ebab,_0x47caa9,_0x244434,_0x31c91d);}});}_0x3eaf78[_0x566843(0x235)]===!0x0&&(_0x3eaf78[_0x566843(0x235)]={}),_0x3eaf78[_0x566843(0x2a1)]&&(this[_0x566843(0x264)]=new Set(),this[_0x566843(0x250)]=!0x1),this['options']=_0x3eaf78,this[_0x566843(0x222)]=_0x14f2ce;}['address'](){const _0x21ae33=_0x362b;if(this[_0x21ae33(0x1d4)][_0x21ae33(0x1cc)])throw new Error(_0x21ae33(0xfd));return this[_0x21ae33(0x23e)]?this[_0x21ae33(0x23e)][_0x21ae33(0x2a7)]():null;}[_0x2eecab(0x119)](_0x16db00){const _0x7b7bce=_0x2eecab;if(this[_0x7b7bce(0x222)]===_0x59cb72){_0x16db00&&this[_0x7b7bce(0x23d)](_0x7b7bce(0x119),()=>{const _0x47a2d7=_0x7b7bce;_0x16db00(new Error(_0x47a2d7(0x1a8)));}),process[_0x7b7bce(0x266)](_0x1c3837,this);return;}if(_0x16db00&&this[_0x7b7bce(0x23d)](_0x7b7bce(0x119),_0x16db00),this['_state']!==_0x3dce88){if(this[_0x7b7bce(0x222)]=_0x3dce88,this['options']['noServer']||this['options']['server'])this['_server']&&(this['_removeListeners'](),this['_removeListeners']=this[_0x7b7bce(0x23e)]=null),this['clients']?this[_0x7b7bce(0x264)][_0x7b7bce(0x18a)]?this[_0x7b7bce(0x250)]=!0x0:process[_0x7b7bce(0x266)](_0x1c3837,this):process['nextTick'](_0x1c3837,this);else{const _0x2d7c37=this['_server'];this[_0x7b7bce(0x227)](),this['_removeListeners']=this[_0x7b7bce(0x23e)]=null,_0x2d7c37[_0x7b7bce(0x119)](()=>{_0x1c3837(this);});}}}[_0x2eecab(0x1ee)](_0x4c778d){const _0x59bc6a=_0x2eecab;if(this['options'][_0x59bc6a(0x196)]){const _0x114cf9=_0x4c778d[_0x59bc6a(0x204)][_0x59bc6a(0x252)]('?');if((_0x114cf9!==-0x1?_0x4c778d[_0x59bc6a(0x204)][_0x59bc6a(0x28f)](0x0,_0x114cf9):_0x4c778d[_0x59bc6a(0x204)])!==this[_0x59bc6a(0x1d4)][_0x59bc6a(0x196)])return!0x1;}return!0x0;}[_0x2eecab(0xfe)](_0x564776,_0x5e8830,_0x1dfcdc,_0x535a40){const _0x993222=_0x2eecab;_0x5e8830['on'](_0x993222(0x15a),_0x46bae5);const _0x2a494b=_0x564776[_0x993222(0x1ec)][_0x993222(0x193)],_0x4083dd=_0x564776['headers']['upgrade'],_0x1af289=+_0x564776[_0x993222(0x1ec)][_0x993222(0x29f)];if(_0x564776[_0x993222(0x1df)]!==_0x993222(0x1f4)){_0x3078c7(this,_0x564776,_0x5e8830,0x195,_0x993222(0x120));return;}if(_0x4083dd===void 0x0||_0x4083dd[_0x993222(0x20d)]()!=='websocket'){_0x3078c7(this,_0x564776,_0x5e8830,0x190,_0x993222(0x1f7));return;}if(_0x2a494b===void 0x0||!_0x32563b[_0x993222(0x1c6)](_0x2a494b)){_0x3078c7(this,_0x564776,_0x5e8830,0x190,_0x993222(0x14f));return;}if(_0x1af289!==0x8&&_0x1af289!==0xd){_0x3078c7(this,_0x564776,_0x5e8830,0x190,_0x993222(0x226));return;}if(!this[_0x993222(0x1ee)](_0x564776)){_0x475c4c(_0x5e8830,0x190);return;}const _0x3f46fa=_0x564776['headers'][_0x993222(0x1bb)];let _0x464c2c=new Set();if(_0x3f46fa!==void 0x0)try{_0x464c2c=_0x5264ef['parse'](_0x3f46fa);}catch{_0x3078c7(this,_0x564776,_0x5e8830,0x190,_0x993222(0xfb));return;}const _0x4a7736=_0x564776[_0x993222(0x1ec)][_0x993222(0x103)],_0x3d445d={};if(this[_0x993222(0x1d4)][_0x993222(0x235)]&&_0x4a7736!==void 0x0){const _0x510230=new _0x3d3153(this[_0x993222(0x1d4)][_0x993222(0x235)],!0x0,this[_0x993222(0x1d4)]['maxPayload']);try{const _0x31e644=_0x3937a9[_0x993222(0x267)](_0x4a7736);_0x31e644[_0x3d3153['extensionName']]&&(_0x510230['accept'](_0x31e644[_0x3d3153['extensionName']]),_0x3d445d[_0x3d3153[_0x993222(0x1ab)]]=_0x510230);}catch{_0x3078c7(this,_0x564776,_0x5e8830,0x190,_0x993222(0x23a));return;}}if(this[_0x993222(0x1d4)][_0x993222(0x109)]){const _0x961185={'origin':_0x564776[_0x993222(0x1ec)][''+(_0x1af289===0x8?'sec-websocket-origin':_0x993222(0x282))],'secure':!!(_0x564776[_0x993222(0x28e)]['authorized']||_0x564776[_0x993222(0x28e)][_0x993222(0x19e)]),'req':_0x564776};if(this[_0x993222(0x1d4)][_0x993222(0x109)][_0x993222(0x25c)]===0x2){this[_0x993222(0x1d4)][_0x993222(0x109)](_0x961185,(_0x48d4bb,_0x9f3c6f,_0x5ba0c8,_0x3aa7ea)=>{const _0x877e30=_0x993222;if(!_0x48d4bb)return _0x475c4c(_0x5e8830,_0x9f3c6f||0x191,_0x5ba0c8,_0x3aa7ea);this[_0x877e30(0x100)](_0x3d445d,_0x2a494b,_0x464c2c,_0x564776,_0x5e8830,_0x1dfcdc,_0x535a40);});return;}if(!this['options'][_0x993222(0x109)](_0x961185))return _0x475c4c(_0x5e8830,0x191);}this['completeUpgrade'](_0x3d445d,_0x2a494b,_0x464c2c,_0x564776,_0x5e8830,_0x1dfcdc,_0x535a40);}['completeUpgrade'](_0x55a435,_0x4618d1,_0x53bce9,_0x5c2c6c,_0x529a05,_0x292de5,_0x324563){const _0x515360=_0x2eecab;if(!_0x529a05[_0x515360(0x1a6)]||!_0x529a05[_0x515360(0x299)])return _0x529a05[_0x515360(0xf6)]();if(_0x529a05[_0x4b899b])throw new Error(_0x515360(0x16f));if(this['_state']>_0x14f2ce)return _0x475c4c(_0x529a05,0x1f7);const _0x134287=[_0x515360(0x1f1),_0x515360(0x151),_0x515360(0x1a9),_0x515360(0x217)+_0x33551f(_0x515360(0x17a))[_0x515360(0x239)](_0x4618d1+_0x1f9d57)[_0x515360(0x26a)](_0x515360(0x180))],_0x2b1b5c=new this['options'][(_0x515360(0x24b))](null,void 0x0,this['options']);if(_0x53bce9['size']){const _0x35239d=this[_0x515360(0x1d4)][_0x515360(0x225)]?this[_0x515360(0x1d4)]['handleProtocols'](_0x53bce9,_0x5c2c6c):_0x53bce9[_0x515360(0x111)]()['next']()[_0x515360(0x285)];_0x35239d&&(_0x134287[_0x515360(0x207)](_0x515360(0x265)+_0x35239d),_0x2b1b5c[_0x515360(0x164)]=_0x35239d);}if(_0x55a435[_0x3d3153[_0x515360(0x1ab)]]){const _0x321c3c=_0x55a435[_0x3d3153[_0x515360(0x1ab)]][_0x515360(0x18f)],_0x3d07cd=_0x3937a9[_0x515360(0x186)]({[_0x3d3153[_0x515360(0x1ab)]]:[_0x321c3c]});_0x134287[_0x515360(0x207)]('Sec-WebSocket-Extensions:\x20'+_0x3d07cd),_0x2b1b5c['_extensions']=_0x55a435;}this[_0x515360(0x292)](_0x515360(0x1ec),_0x134287,_0x5c2c6c),_0x529a05[_0x515360(0x256)](_0x134287[_0x515360(0x1a3)]('\x0d\x0a')[_0x515360(0x28a)]('\x0d\x0a')),_0x529a05[_0x515360(0x142)](_0x515360(0x15a),_0x46bae5),_0x2b1b5c['setSocket'](_0x529a05,_0x292de5,{'allowSynchronousEvents':this[_0x515360(0x1d4)][_0x515360(0x274)],'maxPayload':this['options'][_0x515360(0x209)],'skipUTF8Validation':this[_0x515360(0x1d4)]['skipUTF8Validation']}),this['clients']&&(this['clients'][_0x515360(0x157)](_0x2b1b5c),_0x2b1b5c['on'](_0x515360(0x119),()=>{const _0x196105=_0x515360;this['clients'][_0x196105(0x20a)](_0x2b1b5c),this[_0x196105(0x250)]&&!this[_0x196105(0x264)][_0x196105(0x18a)]&&process[_0x196105(0x266)](_0x1c3837,this);})),_0x324563(_0x2b1b5c,_0x5c2c6c);}}Te=_0x441396;function _0x1aa401(_0x48824f,_0x513f36){const _0x1e8237=_0x2eecab;for(const _0x112638 of Object[_0x1e8237(0x234)](_0x513f36))_0x48824f['on'](_0x112638,_0x513f36[_0x112638]);return function(){const _0x4b087e=_0x1e8237;for(const _0xdee03b of Object[_0x4b087e(0x234)](_0x513f36))_0x48824f['removeListener'](_0xdee03b,_0x513f36[_0xdee03b]);};}function _0x1c3837(_0x3f94e5){const _0x2de9ae=_0x2eecab;_0x3f94e5[_0x2de9ae(0x222)]=_0x59cb72,_0x3f94e5[_0x2de9ae(0x292)](_0x2de9ae(0x119));}function _0x46bae5(){const _0x490e55=_0x2eecab;this[_0x490e55(0xf6)]();}function _0x475c4c(_0xa308eb,_0x8d7f77,_0x2dcf44,_0x325850){const _0x1f8724=_0x2eecab;_0x2dcf44=_0x2dcf44||_0xb0ea95['STATUS_CODES'][_0x8d7f77],_0x325850={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x1f8724(0x298)](_0x2dcf44),..._0x325850},_0xa308eb[_0x1f8724(0x23d)](_0x1f8724(0x2ac),_0xa308eb[_0x1f8724(0xf6)]),_0xa308eb[_0x1f8724(0x1ad)](_0x1f8724(0x2a5)+_0x8d7f77+'\x20'+_0xb0ea95[_0x1f8724(0x139)][_0x8d7f77]+'\x0d\x0a'+Object['keys'](_0x325850)[_0x1f8724(0x162)](_0x40544c=>_0x40544c+':\x20'+_0x325850[_0x40544c])[_0x1f8724(0x28a)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2dcf44);}function _0x3078c7(_0xc7b84e,_0x56f32c,_0x5f5c04,_0x32d14d,_0x842618){const _0x29f104=_0x2eecab;if(_0xc7b84e[_0x29f104(0xf7)](_0x29f104(0x2ab))){const _0x38a7e5=new Error(_0x842618);Error['captureStackTrace'](_0x38a7e5,_0x3078c7),_0xc7b84e[_0x29f104(0x292)](_0x29f104(0x2ab),_0x38a7e5,_0x5f5c04,_0x56f32c);}else _0x475c4c(_0x5f5c04,_0x32d14d,_0x842618);}return Te;}er();var tr=Object[_0x2188b3(0x2af)],rr=(_0x235364,_0x2ac54a,_0x24eeb2,_0x426a6a)=>{const _0x306564=_0x2188b3;for(var _0x54a859=_0x426a6a>0x1?void 0x0:_0x426a6a?tr(_0x2ac54a,_0x24eeb2):_0x2ac54a,_0x49c9e0=_0x235364[_0x306564(0x25c)]-0x1,_0x25a0e5;_0x49c9e0>=0x0;_0x49c9e0--)(_0x25a0e5=_0x235364[_0x49c9e0])&&(_0x54a859=_0x25a0e5(_0x54a859)||_0x54a859);return _0x54a859;},sr=(_0x293792,_0xf70c15)=>(_0x508213,_0x5eb7f7)=>_0xf70c15(_0x508213,_0x5eb7f7,_0x293792);let Ne=class extends _0x121ba5{constructor(_0x3dd6dc){const _0x1b43b7=_0x2188b3;super(),this[_0x1b43b7(0x1bc)]=_0x3dd6dc;}[_0x2188b3(0x279)](_0x2736bd){const _0xe48105=_0x2188b3;var _0x2d3abb;const _0x9898a3=(_0x2d3abb=this[_0xe48105(0x1bc)][_0xe48105(0x1eb)](Be))==null?void 0x0:_0x2d3abb[_0xe48105(0x1a0)];try{const _0x544b10=new Qt(_0x2736bd,{'headers':{..._0x9898a3}}),_0x191abd=new _0x5a04ad();return{'URL':_0x2736bd,'close':(_0x40abee,_0x39a398)=>{const _0x28c0a7=_0xe48105;_0x544b10[_0x28c0a7(0x119)](_0x40abee,_0x39a398),_0x191abd[_0x28c0a7(0x29d)]();},'send':_0x16451e=>{const _0x5b9070=_0xe48105;_0x544b10[_0x5b9070(0x290)](_0x16451e);},'open$':new _0x19833b(_0x90dbef=>{const _0x1469f5=_0xe48105,_0xff0dae=_0x36ab13=>_0x90dbef[_0x1469f5(0x12a)](_0x36ab13);_0x544b10[_0x1469f5(0x1e8)](_0x1469f5(0x1b4),_0xff0dae),_0x191abd[_0x1469f5(0x157)](_0x5aa199(()=>_0x544b10[_0x1469f5(0x2a8)](_0x1469f5(0x1b4),_0xff0dae)));})[_0xe48105(0x20b)](_0x5dc52d()),'close$':new _0x19833b(_0x5b420e=>{const _0xe6e672=_0xe48105,_0x382578=_0x1740ac=>_0x5b420e[_0xe6e672(0x12a)](_0x1740ac);_0x544b10['addEventListener'](_0xe6e672(0x119),_0x382578),_0x191abd['add'](_0x5aa199(()=>_0x544b10[_0xe6e672(0x2a8)]('close',_0x382578)));})[_0xe48105(0x20b)](_0x5dc52d()),'error$':new _0x19833b(_0x44de73=>{const _0x4e1373=_0xe48105,_0xb8d281=_0x3cb7d6=>_0x44de73[_0x4e1373(0x12a)](_0x3cb7d6);_0x544b10[_0x4e1373(0x1e8)](_0x4e1373(0x15a),_0xb8d281),_0x191abd['add'](_0x5aa199(()=>_0x544b10[_0x4e1373(0x2a8)](_0x4e1373(0x15a),_0xb8d281)));})[_0xe48105(0x20b)](_0x5dc52d()),'message$':new _0x19833b(_0x3fe195=>{const _0xabd13d=_0xe48105,_0x3bed7a=_0x249e3a=>_0x3fe195[_0xabd13d(0x12a)](_0x249e3a);_0x544b10['addEventListener']('message',_0x3bed7a),_0x191abd[_0xabd13d(0x157)](_0x5aa199(()=>_0x544b10[_0xabd13d(0x2a8)](_0xabd13d(0x28c),_0x3bed7a)));})[_0xe48105(0x20b)](_0x5dc52d())};}catch(_0x48800a){return console[_0xe48105(0x15a)](_0x48800a),null;}}};Ne=rr([sr(0x0,_0x324bd0)],Ne);var ir=Object['defineProperty'],nr=Object[_0x2188b3(0x2af)],or=(_0x46a93f,_0x4ec68c,_0x2cd796)=>_0x4ec68c in _0x46a93f?ir(_0x46a93f,_0x4ec68c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cd796}):_0x46a93f[_0x4ec68c]=_0x2cd796,ar=(_0x5733ef,_0x687a97,_0x28722b,_0x4865ca)=>{for(var _0x50d5d6=_0x4865ca>0x1?void 0x0:_0x4865ca?nr(_0x687a97,_0x28722b):_0x687a97,_0x15061e=_0x5733ef['length']-0x1,_0x164fe7;_0x15061e>=0x0;_0x15061e--)(_0x164fe7=_0x5733ef[_0x15061e])&&(_0x50d5d6=_0x164fe7(_0x50d5d6)||_0x50d5d6);return _0x50d5d6;},ke=(_0x41efa1,_0x6d0f08)=>(_0x27c189,_0x2eaf04)=>_0x6d0f08(_0x27c189,_0x2eaf04,_0x41efa1),lr=(_0x2e8d58,_0x47c706,_0x1e896c)=>or(_0x2e8d58,_0x47c706+'',_0x1e896c);let Pe=class extends _0x53e411{constructor(_0x27306e=Ft,_0x590c0c,_0x72c31d,_0x5254ec){const _0x3bceeb=_0x2188b3;_0x27306e[_0x3bceeb(0x1a0)]||_0x590c0c[_0x3bceeb(0x1af)](_0x3bceeb(0x210)),super(),this[_0x3bceeb(0x1bc)]=_0x72c31d,this[_0x3bceeb(0x212)]=_0x5254ec,this[_0x3bceeb(0x1bc)][_0x3bceeb(0x1b1)](Be,_0x27306e);}['onStarting'](){const _0x1631b8=_0x2188b3;this[_0x1631b8(0x200)]();}[_0x2188b3(0x200)](){_0x2152a0(this['_injector'],[[_0x13f0f0,{'useClass':Ne}]]);}};lr(Pe,_0x2188b3(0x1f8),_0x2188b3(0x1d2)),Pe=ar([_0x4db7ea(_0x12cf01),ke(0x1,_0x183b92),ke(0x2,_0x324bd0),ke(0x3,_0x12bcbb(_0x122967))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0xc2d518,_0x168350,_0x1d5c64,_0x16018d)=>{for(var _0x4023ee=_0x16018d>0x1?void 0x0:_0x16018d?fr(_0x168350,_0x1d5c64):_0x168350,_0x459b15=_0xc2d518['length']-0x1,_0x319d17;_0x459b15>=0x0;_0x459b15--)(_0x319d17=_0xc2d518[_0x459b15])&&(_0x4023ee=_0x319d17(_0x4023ee)||_0x4023ee);return _0x4023ee;},se=(_0x1ec73c,_0x34d2dc)=>(_0xb4d458,_0x39f2ae)=>_0x34d2dc(_0xb4d458,_0x39f2ae,_0x1ec73c);let at=class extends _0x2939de{constructor(_0x221f82,_0x49b358,_0xcab7e8,_0x30087b,_0x5aed3a){const _0x4e0dda=_0x2188b3;super(_0x221f82,_0x49b358,_0xcab7e8,_0x30087b,_0x5aed3a);const _0x41c1f0=this['_configService'][_0x4e0dda(0x1eb)](Be);this[_0x4e0dda(0x286)][_0x4e0dda(0x23b)]({'interceptor':(_0x578a56,_0xffdd1d)=>{const _0x1e64d6=_0x4e0dda;var _0x279733;const _0xd5e3da=_0x578a56[_0x1e64d6(0x1ec)];return(_0x279733=_0x41c1f0==null?void 0x0:_0x41c1f0[_0x1e64d6(0x1a0)])!=null&&_0x279733['cookie']&&_0xd5e3da['set'](_0x1e64d6(0x133),_0x41c1f0[_0x1e64d6(0x1a0)][_0x1e64d6(0x1f6)]),_0xffdd1d(_0x578a56);}});}async[_0x2188b3(0x279)](_0x2341d0){const _0x2a1178=_0x2188b3;return this[_0x2a1178(0x1d8)](_0x2341d0);}};at=cr([se(0x0,_0x12bcbb(_0x122967)),se(0x1,_0x12bcbb(_0x4b85fd)),se(0x2,_0x324bd0),se(0x3,_0x183b92),se(0x4,_0xf0a85d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|