@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505111606 → 0.7.0-nightly.202505121607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xf71ff4=_0xb531;(function(_0x4c57b7,_0x25db61){const _0xbecae3=_0xb531,_0x2e9947=_0x4c57b7();while(!![]){try{const _0x2b2951=-parseInt(_0xbecae3(0x1e1))/0x1*(parseInt(_0xbecae3(0x1fe))/0x2)+-parseInt(_0xbecae3(0x143))/0x3+parseInt(_0xbecae3(0x1b1))/0x4+-parseInt(_0xbecae3(0x1ad))/0x5*(-parseInt(_0xbecae3(0x96))/0x6)+parseInt(_0xbecae3(0x123))/0x7+parseInt(_0xbecae3(0xbc))/0x8*(parseInt(_0xbecae3(0x1c3))/0x9)+-parseInt(_0xbecae3(0x190))/0xa*(parseInt(_0xbecae3(0x21e))/0xb);if(_0x2b2951===_0x25db61)break;else _0x2e9947['push'](_0x2e9947['shift']());}catch(_0x5b0b6d){_0x2e9947['push'](_0x2e9947['shift']());}}}(_0x27e0,0xb52bd));import{UniverCollaborationClientPlugin as _0x10ea6a,CollaborationSocketService as _0x5893ca}from'@univerjs-pro/collaboration-client';import{Disposable as _0x66225,DisposableCollection as _0x59f1e1,toDisposable as _0x3e5912,IConfigService as _0x3aeb0b,DependentOn as _0x59eed0,ILogService as _0x551715,Inject as _0x4cb7b7,Injector as _0xec2be6,Plugin as _0x2c8ad0,registerDependencies as _0x57e5aa}from'@univerjs/core';import{ISocketService as _0x5b44ae,HTTPService as _0x267b02}from'@univerjs/network';import{Observable as _0x35a5ff,share as _0xb12879}from'rxjs';import _0x20a754 from'events';import _0x4d5231 from'https';import _0x58d4f2 from'http';import _0x2a5a1f from'net';import _0x126323 from'tls';import _0x5a3eff from'crypto';import _0x363ac0 from'stream';import _0x44d9fa from'url';function _0x27e0(){const _0xba25cd=['Sec-WebSocket-Extensions','getData','Maximum\x20redirects\x20exceeded','noServer','frame','pause','http:','params','_closeTimer','Invalid\x20Upgrade\x20header','kData','skipUTF8Validation','zlibInflateOptions','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','getOwnPropertyDescriptor','WS_ERR_INVALID_OPCODE','consume','parse','maxRedirects','data','alloc','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','number','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','The\x20server\x20is\x20not\x20running','getBlobData','authorization','next','kAborted','_receiver','isValidUTF8','uncork','compress','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','drain','_bufferedAmount','shouldHandle','format','size','bind','2632707dQlfeJ','GET','reason','dequeue','pending','unmask','bufferedAmount','addEventListener','listen','readable','sec-websocket-extensions','sec-websocket-protocol','onStarting','Opening\x20handshake\x20has\x20timed\x20out','replace','servername','isArray','digest','indexOf','offer','nodebuffer','url','MASK\x20must\x20be\x20set','_allowSynchronousEvents','Invalid\x20value\x20for\x20parameter\x20\x22','arrayBuffer','response','kByteLength','handleEvent','address','createDeflateRaw','username','2552859UriauE','value','backlog','WS_ERR_EXPECTED_MASK','clients','allowSynchronousEvents','writeHead','extensionName','invalid\x20UTF-8\x20sequence','_loop','_compress','Unsupported\x20protocol\x20version:\x20','extensions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','path','hasOwnProperty','_closeFrameSent','onerror','code','hostname','Upgrade:\x20websocket','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','wsClientError','kMessage','listenerCount','upgrade','kType','startsWith','resume','Sec-WebSocket-Accept:\x20','_inflate','readUInt16BE','__esModule','password','finishRequest','_state','hash','_autoPong','byteOffset','serverNoContextTakeover','then','redirect','_compressed','isView','_firstFragment','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','protocolVersion','socketPath','getPayloadLength16','serverMaxWindowBits','cork','ws+unix:','maxPayload','client_max_window_bits','permessage-deflate','defineProperty','readUInt32BE','_req','protocol','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','add','_totalPayloadLength','length','acceptAsClient','_sender','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','setSocket','_closeCode','blob','generateMask','haveLength','removeListener','fin','createError','byteLength','_readableState','clientTracking','24930wMhwoE','entries','destroy','_errored','constructor','concat','Unexpected\x20server\x20response:\x20','authorized','invalid\x20status\x20code\x20','Connection:\x20Upgrade','write','sendFrame','Basic\x20','join','Max\x20payload\x20size\x20exceeded','_max_window_bits','invalid\x20opcode\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_deflate','_buffers','invalid\x20opcode\x200','_doCreateSocket','_removeListeners','_httpService','File','CONNECTING','pipe','reset','listening','72035KxQKdZ','_configService','Blob','get','4458736ZROlDU','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','client','Module','shift','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','open','_messageLength','acceptAsServer','_mask','stream','type','test','message','pong','_writableState','Sec-WebSocket-Extensions:\x20','handleProtocols','11895318jnzLxv','_final','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','toLowerCase','defaultPort','objectMode','terminate','jobs','_masked','options','clientNoContextTakeover','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','pow','toStringTag','https:','toString','endEmitted','encrypted','buffer','createServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','server','delete','_injector','Server\x20sent\x20no\x20subprotocol','_closeMessage','enqueue','STATUS_CODES','create','1GryfUI','createInflateRaw','has','client_no_context_takeover','ping','setTimeout','port','_isServer','_fragments','cookie','setNoDelay','_extensions','_read','object','threshold','_payloadLength','setHeader','flush','concurrency','apply','_binaryType','destroyed','statusCode','getMask','warn','dataMessage','needDrain','_closeFrameReceived','nextTick','2728118jgasis','wss:','accept','split','kReason','WS_ERR_EXPECTED_FIN','forEach','error','Cookie','_originalIpc','total-length','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','method','dispatch','isBuffer','removeEventListener','_url','text/html','search','Sec-WebSocket-Protocol:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','string','_fin','_queue','host','_fragmented','Invalid\x20URL:\x20','The\x20\x22','Server\x20sent\x20an\x20invalid\x20subprotocol','timeout','default','wasClean','5401ajeTHy','websocket','emit','kTarget','kError','maskBuffer','_generateMask','_no_context_takeover','server_max_window_bits','species','_readyState','concurrencyLimit','slice','The\x20URL\x20contains\x20a\x20fragment\x20identifier','binaryType','headers','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Protocol','OPEN','allocUnsafe','isPaused','opcode','WS_ERR_UNEXPECTED_MASK','captureStackTrace','pathname','pluginName','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','startLoop','_redirects','fragments','finished','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','sec-websocket-accept','\x22:\x20','CLOSING','ws:','WS_ERR_INVALID_UTF8','handshakeTimeout','connect','Upgrade','kListener','href','_options','_skipUTF8Validation','keys','includes','570mbkpNQ','_protocol','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','createSocket','conclude','MASK\x20must\x20be\x20clear','buffers','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Z_DEFAULT_WINDOWBITS','call','_paused','isInteger','_originalHostOrSocketPath','WS_ERR_UNEXPECTED_RSV_1','writeUInt16BE','autoPong','followRedirects','listeners','createConnection','once','arraybuffer','\x0d\x0a\x0d\x0a','Unknown\x20parameter\x20\x22','decompress','kCode','sha1','_bufferedBytes','socket','send','getInfo','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readOnly','_opcode','prototype','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','freeze','push','8LBsJDv','WS_NO_BUFFER_UTIL','_shouldEmitClose','kDone','from','onclose','verifyClient','_threshold','Unexpected\x20character\x20at\x20index\x20','sec-websocket-key','end','function','Invalid\x20Sec-WebSocket-Accept\x20header','request','_maskBuffer','readyState','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','callback','finish','exports','errorEmitted','The\x20URL\x27s\x20pathname\x20is\x20empty','origin','\x22\x20must\x20have\x20only\x20a\x20single\x20value','completeUpgrade','kRun','_socket','target','emitClose','\x22\x20subprotocol\x20is\x20duplicated','perMessageDeflate','customHeaders','status-code','base64','WS_ERR_UNEXPECTED_RSV_2_3','update','mask','charCodeAt','WebSocket','close','_write','_decompress','server_no_context_takeover','auth','_errorEmitted','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_server','registerHTTPInterceptor','clientMaxWindowBits','map','zlibDeflateOptions','getPayloadLength64','Unexpected\x20end\x20of\x20input','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','set','CLOSED','normalizeParams','_maxPayload','values','cleanup','RSV1\x20must\x20be\x20clear','WS_NO_UTF_8_VALIDATE','FIN\x20must\x20be\x20set'];_0x27e0=function(){return _0xba25cd;};return _0x27e0();}import _0x11f1f2 from'zlib';import _0x18a88a from'buffer';import{ISnapshotServerService as _0x43b7d6}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x308495){const _0x34a283=_0xb531;return _0x308495&&_0x308495['__esModule']&&Object[_0x34a283(0xb8)][_0x34a283(0x152)][_0x34a283(0xa0)](_0x308495,_0x34a283(0x21c))?_0x308495['default']:_0x308495;}function _0xb531(_0x5ae5bc,_0x5ccc8e){const _0x27e0ef=_0x27e0();return _0xb531=function(_0xb531b,_0xbe171c){_0xb531b=_0xb531b-0x70;let _0x4e4522=_0x27e0ef[_0xb531b];return _0x4e4522;},_0xb531(_0x5ae5bc,_0x5ccc8e);}function ut(_0x33f619){const _0x32e1d2=_0xb531;if(Object['prototype'][_0x32e1d2(0x152)][_0x32e1d2(0xa0)](_0x33f619,_0x32e1d2(0x163)))return _0x33f619;var _0x3c8bc8=_0x33f619[_0x32e1d2(0x21c)];if(typeof _0x3c8bc8==_0x32e1d2(0xc7)){var _0x512ba6=function _0x25f65d(){const _0x5b4322=_0x32e1d2;return this instanceof _0x25f65d?Reflect['construct'](_0x3c8bc8,arguments,this[_0x5b4322(0x194)]):_0x3c8bc8[_0x5b4322(0x1f4)](this,arguments);};_0x512ba6[_0x32e1d2(0xb8)]=_0x3c8bc8[_0x32e1d2(0xb8)];}else _0x512ba6={};return Object[_0x32e1d2(0x17a)](_0x512ba6,'__esModule',{'value':!0x0}),Object[_0x32e1d2(0x94)](_0x33f619)['forEach'](function(_0x31dd6e){const _0x78a8c0=_0x32e1d2;var _0x45eace=Object['getOwnPropertyDescriptor'](_0x33f619,_0x31dd6e);Object['defineProperty'](_0x512ba6,_0x31dd6e,_0x45eace[_0x78a8c0(0x1b0)]?_0x45eace:{'enumerable':!0x0,'get':function(){return _0x33f619[_0x31dd6e];}});}),_0x512ba6;}var te={'exports':{}},ge,Ye;function V(){const _0x3679d3=_0xb531;if(Ye)return ge;Ye=0x1;const _0x2e85f1=[_0x3679d3(0x137),_0x3679d3(0xab),_0x3679d3(0x85)],_0x1d2ab4=typeof Blob<'u';return _0x1d2ab4&&_0x2e85f1[_0x3679d3(0xbb)](_0x3679d3(0x187)),ge={'BINARY_TYPES':_0x2e85f1,'EMPTY_BUFFER':Buffer[_0x3679d3(0x10f)](0x0),'GUID':_0x3679d3(0x1c5),'hasBlob':_0x1d2ab4,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3679d3(0x90)),'kStatusCode':Symbol(_0x3679d3(0xdc)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xf71ff4(0xba)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0xf71ff4(0x1d1)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x4fa5bb=_0xf71ff4;if(Ke)return te[_0x4fa5bb(0xcf)];Ke=0x1;const {EMPTY_BUFFER:_0x374ae3}=V(),_0x5d618c=Buffer[Symbol[_0x4fa5bb(0x71)]];function _0x470c84(_0x1d4124,_0x21575c){const _0x4f9ea9=_0x4fa5bb;if(_0x1d4124[_0x4f9ea9(0x181)]===0x0)return _0x374ae3;if(_0x1d4124[_0x4f9ea9(0x181)]===0x1)return _0x1d4124[0x0];const _0x591e1d=Buffer[_0x4f9ea9(0x7b)](_0x21575c);let _0x476179=0x0;for(let _0x330fe0=0x0;_0x330fe0<_0x1d4124[_0x4f9ea9(0x181)];_0x330fe0++){const _0x560b67=_0x1d4124[_0x330fe0];_0x591e1d[_0x4f9ea9(0xf2)](_0x560b67,_0x476179),_0x476179+=_0x560b67[_0x4f9ea9(0x181)];}return _0x476179<_0x21575c?new _0x5d618c(_0x591e1d['buffer'],_0x591e1d['byteOffset'],_0x476179):_0x591e1d;}function _0x326bcd(_0x225d7a,_0x1a1103,_0x139291,_0x3092cb,_0xe3db35){for(let _0x474fb3=0x0;_0x474fb3<_0xe3db35;_0x474fb3++)_0x139291[_0x3092cb+_0x474fb3]=_0x225d7a[_0x474fb3]^_0x1a1103[_0x474fb3&0x3];}function _0x277daf(_0x3018d0,_0x576eee){const _0x3b5ce1=_0x4fa5bb;for(let _0x39073a=0x0;_0x39073a<_0x3018d0[_0x3b5ce1(0x181)];_0x39073a++)_0x3018d0[_0x39073a]^=_0x576eee[_0x39073a&0x3];}function _0x20a3a7(_0x294925){const _0x4ef927=_0x4fa5bb;return _0x294925[_0x4ef927(0x181)]===_0x294925[_0x4ef927(0x1d6)][_0x4ef927(0x18d)]?_0x294925[_0x4ef927(0x1d6)]:_0x294925[_0x4ef927(0x1d6)][_0x4ef927(0x74)](_0x294925[_0x4ef927(0x169)],_0x294925[_0x4ef927(0x169)]+_0x294925[_0x4ef927(0x181)]);}function _0x5ce004(_0x202995){const _0x1195e8=_0x4fa5bb;if(_0x5ce004[_0x1195e8(0xb6)]=!0x0,Buffer[_0x1195e8(0x20c)](_0x202995))return _0x202995;let _0x316ce1;return _0x202995 instanceof ArrayBuffer?_0x316ce1=new _0x5d618c(_0x202995):ArrayBuffer[_0x1195e8(0x16e)](_0x202995)?_0x316ce1=new _0x5d618c(_0x202995[_0x1195e8(0x1d6)],_0x202995[_0x1195e8(0x169)],_0x202995[_0x1195e8(0x18d)]):(_0x316ce1=Buffer[_0x1195e8(0xc0)](_0x202995),_0x5ce004[_0x1195e8(0xb6)]=!0x1),_0x316ce1;}if(te['exports']={'concat':_0x470c84,'mask':_0x326bcd,'toArrayBuffer':_0x20a3a7,'toBuffer':_0x5ce004,'unmask':_0x277daf},!process['env'][_0x4fa5bb(0xbd)])try{const _0x4f980e=Vt;te[_0x4fa5bb(0xcf)][_0x4fa5bb(0xe0)]=function(_0x2d4ebe,_0x403933,_0x3d0e1d,_0x435aea,_0x21eec4){const _0x1763ef=_0x4fa5bb;_0x21eec4<0x30?_0x326bcd(_0x2d4ebe,_0x403933,_0x3d0e1d,_0x435aea,_0x21eec4):_0x4f980e[_0x1763ef(0xe0)](_0x2d4ebe,_0x403933,_0x3d0e1d,_0x435aea,_0x21eec4);},te[_0x4fa5bb(0xcf)][_0x4fa5bb(0x128)]=function(_0x5e5071,_0x5ab029){const _0x376a90=_0x4fa5bb;_0x5e5071[_0x376a90(0x181)]<0x20?_0x277daf(_0x5e5071,_0x5ab029):_0x4f980e['unmask'](_0x5e5071,_0x5ab029);};}catch{}return te[_0x4fa5bb(0xcf)];}var ye,Xe;function qt(){const _0x3ebb34=_0xf71ff4;if(Xe)return ye;Xe=0x1;const _0x3eb81a=Symbol(_0x3ebb34(0xbf)),_0x3feda3=Symbol(_0x3ebb34(0xd5));class _0x3f1c44{constructor(_0xb8d80f){const _0x5d7975=_0x3ebb34;this[_0x3eb81a]=()=>{const _0x33d3b8=_0xb531;this[_0x33d3b8(0x127)]--,this[_0x3feda3]();},this[_0x5d7975(0x1f3)]=_0xb8d80f||0x1/0x0,this['jobs']=[],this[_0x5d7975(0x127)]=0x0;}[_0x3ebb34(0x17f)](_0x3ed531){const _0x45105b=_0x3ebb34;this[_0x45105b(0x1cb)][_0x45105b(0xbb)](_0x3ed531),this[_0x3feda3]();}[_0x3feda3](){const _0x1b6ad3=_0x3ebb34;if(this['pending']!==this[_0x1b6ad3(0x1f3)]&&this[_0x1b6ad3(0x1cb)][_0x1b6ad3(0x181)]){const _0x119b35=this[_0x1b6ad3(0x1cb)][_0x1b6ad3(0x1b5)]();this[_0x1b6ad3(0x127)]++,_0x119b35(this[_0x3eb81a]);}}}return ye=_0x3f1c44,ye;}var ve,Ze;function he(){const _0x5be8c8=_0xf71ff4;if(Ze)return ve;Ze=0x1;const _0x7cb746=_0x11f1f2,_0x28ffab=ce(),_0x3e1053=qt(),{kStatusCode:_0x1698b3}=V(),_0x42c891=Buffer[Symbol['species']],_0x2e4813=Buffer['from']([0x0,0x0,0xff,0xff]),_0x10dcdf=Symbol(_0x5be8c8(0x179)),_0x42b691=Symbol(_0x5be8c8(0x208)),_0xbe10b7=Symbol(_0x5be8c8(0xcd)),_0x2fa82b=Symbol(_0x5be8c8(0x9d)),_0x393008=Symbol(_0x5be8c8(0x205));let _0x12c32d;class _0x1ed06f{constructor(_0x54a4ce,_0x4f770c,_0x28b275){const _0x5b826d=_0x5be8c8;if(this[_0x5b826d(0xf5)]=_0x28b275|0x0,this['_options']=_0x54a4ce||{},this[_0x5b826d(0xc3)]=this[_0x5b826d(0x92)]['threshold']!==void 0x0?this[_0x5b826d(0x92)][_0x5b826d(0x1ef)]:0x400,this['_isServer']=!!_0x4f770c,this['_deflate']=null,this[_0x5b826d(0x161)]=null,this[_0x5b826d(0x102)]=null,!_0x12c32d){const _0x4100eb=this[_0x5b826d(0x92)][_0x5b826d(0x73)]!==void 0x0?this[_0x5b826d(0x92)][_0x5b826d(0x73)]:0xa;_0x12c32d=new _0x3e1053(_0x4100eb);}}static get[_0x5be8c8(0x14a)](){return'permessage-deflate';}[_0x5be8c8(0x136)](){const _0x3b009b=_0x5be8c8,_0x1614ae={};return this[_0x3b009b(0x92)][_0x3b009b(0x16a)]&&(_0x1614ae[_0x3b009b(0xe6)]=!0x0),this['_options'][_0x3b009b(0x1ce)]&&(_0x1614ae['client_no_context_takeover']=!0x0),this[_0x3b009b(0x92)][_0x3b009b(0x174)]&&(_0x1614ae[_0x3b009b(0x70)]=this[_0x3b009b(0x92)][_0x3b009b(0x174)]),this[_0x3b009b(0x92)][_0x3b009b(0xec)]?_0x1614ae[_0x3b009b(0x178)]=this[_0x3b009b(0x92)][_0x3b009b(0xec)]:this[_0x3b009b(0x92)]['clientMaxWindowBits']==null&&(_0x1614ae[_0x3b009b(0x178)]=!0x0),_0x1614ae;}[_0x5be8c8(0x200)](_0x1fe001){const _0xace1fc=_0x5be8c8;return _0x1fe001=this[_0xace1fc(0xf4)](_0x1fe001),this[_0xace1fc(0x102)]=this[_0xace1fc(0x1e8)]?this['acceptAsServer'](_0x1fe001):this[_0xace1fc(0x182)](_0x1fe001),this[_0xace1fc(0x102)];}[_0x5be8c8(0xf7)](){const _0x1b0b98=_0x5be8c8;if(this[_0x1b0b98(0x161)]&&(this[_0x1b0b98(0x161)][_0x1b0b98(0xe3)](),this['_inflate']=null),this[_0x1b0b98(0x1a2)]){const _0x8576ae=this['_deflate'][_0xbe10b7];this[_0x1b0b98(0x1a2)][_0x1b0b98(0xe3)](),this[_0x1b0b98(0x1a2)]=null,_0x8576ae&&_0x8576ae(new Error(_0x1b0b98(0x170)));}}[_0x5be8c8(0x1b9)](_0x3c3067){const _0xe7d60d=_0x5be8c8,_0x293353=this[_0xe7d60d(0x92)],_0x3042b2=_0x3c3067['find'](_0x2257db=>!(_0x293353['serverNoContextTakeover']===!0x1&&_0x2257db['server_no_context_takeover']||_0x2257db['server_max_window_bits']&&(_0x293353[_0xe7d60d(0x174)]===!0x1||typeof _0x293353[_0xe7d60d(0x174)]==_0xe7d60d(0x111)&&_0x293353['serverMaxWindowBits']>_0x2257db[_0xe7d60d(0x70)])||typeof _0x293353[_0xe7d60d(0xec)]==_0xe7d60d(0x111)&&!_0x2257db['client_max_window_bits']));if(!_0x3042b2)throw new Error(_0xe7d60d(0x209));return _0x293353['serverNoContextTakeover']&&(_0x3042b2['server_no_context_takeover']=!0x0),_0x293353['clientNoContextTakeover']&&(_0x3042b2[_0xe7d60d(0x1e4)]=!0x0),typeof _0x293353[_0xe7d60d(0x174)]==_0xe7d60d(0x111)&&(_0x3042b2['server_max_window_bits']=_0x293353[_0xe7d60d(0x174)]),typeof _0x293353[_0xe7d60d(0xec)]==_0xe7d60d(0x111)?_0x3042b2[_0xe7d60d(0x178)]=_0x293353['clientMaxWindowBits']:(_0x3042b2[_0xe7d60d(0x178)]===!0x0||_0x293353['clientMaxWindowBits']===!0x1)&&delete _0x3042b2[_0xe7d60d(0x178)],_0x3042b2;}[_0x5be8c8(0x182)](_0x596f79){const _0x121e7a=_0x5be8c8,_0x264d2d=_0x596f79[0x0];if(this[_0x121e7a(0x92)]['clientNoContextTakeover']===!0x1&&_0x264d2d[_0x121e7a(0x1e4)])throw new Error(_0x121e7a(0x82));if(!_0x264d2d[_0x121e7a(0x178)])typeof this[_0x121e7a(0x92)][_0x121e7a(0xec)]==_0x121e7a(0x111)&&(_0x264d2d['client_max_window_bits']=this['_options'][_0x121e7a(0xec)]);else{if(this[_0x121e7a(0x92)]['clientMaxWindowBits']===!0x1||typeof this[_0x121e7a(0x92)][_0x121e7a(0xec)]=='number'&&_0x264d2d['client_max_window_bits']>this[_0x121e7a(0x92)]['clientMaxWindowBits'])throw new Error(_0x121e7a(0xb5));}return _0x264d2d;}[_0x5be8c8(0xf4)](_0x269eea){const _0xa0bbee=_0x5be8c8;return _0x269eea[_0xa0bbee(0x204)](_0x158bf1=>{const _0x59ab40=_0xa0bbee;Object[_0x59ab40(0x94)](_0x158bf1)[_0x59ab40(0x204)](_0xef83b=>{const _0x48ccfa=_0x59ab40;let _0x1288fb=_0x158bf1[_0xef83b];if(_0x1288fb[_0x48ccfa(0x181)]>0x1)throw new Error('Parameter\x20\x22'+_0xef83b+_0x48ccfa(0xd3));if(_0x1288fb=_0x1288fb[0x0],_0xef83b===_0x48ccfa(0x178)){if(_0x1288fb!==!0x0){const _0x148d17=+_0x1288fb;if(!Number[_0x48ccfa(0xa2)](_0x148d17)||_0x148d17<0x8||_0x148d17>0xf)throw new TypeError(_0x48ccfa(0x13b)+_0xef83b+_0x48ccfa(0x89)+_0x1288fb);_0x1288fb=_0x148d17;}else{if(!this['_isServer'])throw new TypeError(_0x48ccfa(0x13b)+_0xef83b+'\x22:\x20'+_0x1288fb);}}else{if(_0xef83b===_0x48ccfa(0x70)){const _0x176bae=+_0x1288fb;if(!Number[_0x48ccfa(0xa2)](_0x176bae)||_0x176bae<0x8||_0x176bae>0xf)throw new TypeError(_0x48ccfa(0x13b)+_0xef83b+_0x48ccfa(0x89)+_0x1288fb);_0x1288fb=_0x176bae;}else{if(_0xef83b===_0x48ccfa(0x1e4)||_0xef83b===_0x48ccfa(0xe6)){if(_0x1288fb!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xef83b+_0x48ccfa(0x89)+_0x1288fb);}else throw new Error(_0x48ccfa(0xad)+_0xef83b+'\x22');}}_0x158bf1[_0xef83b]=_0x1288fb;});}),_0x269eea;}['decompress'](_0x595626,_0x27aad0,_0x174595){const _0x5520d9=_0x5be8c8;_0x12c32d[_0x5520d9(0x17f)](_0x555338=>{const _0x505fcf=_0x5520d9;this[_0x505fcf(0xe5)](_0x595626,_0x27aad0,(_0x598388,_0x306961)=>{_0x555338(),_0x174595(_0x598388,_0x306961);});});}['compress'](_0x1e3f25,_0x4ba332,_0x2aec3f){const _0x3d18c1=_0x5be8c8;_0x12c32d[_0x3d18c1(0x17f)](_0x540e33=>{this['_compress'](_0x1e3f25,_0x4ba332,(_0x124248,_0x56b278)=>{_0x540e33(),_0x2aec3f(_0x124248,_0x56b278);});});}[_0x5be8c8(0xe5)](_0x1a3e29,_0x2226e8,_0x2b04f8){const _0xc9464f=_0x5be8c8,_0x349c9c=this[_0xc9464f(0x1e8)]?_0xc9464f(0x1b3):_0xc9464f(0x1d9);if(!this[_0xc9464f(0x161)]){const _0x1091ea=_0x349c9c+_0xc9464f(0x19f),_0x3a3130=typeof this[_0xc9464f(0x102)][_0x1091ea]!=_0xc9464f(0x111)?_0x7cb746[_0xc9464f(0x9f)]:this[_0xc9464f(0x102)][_0x1091ea];this[_0xc9464f(0x161)]=_0x7cb746[_0xc9464f(0x1e2)]({...this[_0xc9464f(0x92)][_0xc9464f(0x107)],'windowBits':_0x3a3130}),this['_inflate'][_0x10dcdf]=this,this[_0xc9464f(0x161)][_0x42b691]=0x0,this[_0xc9464f(0x161)][_0x2fa82b]=[],this[_0xc9464f(0x161)]['on'](_0xc9464f(0x205),_0x2bdac0),this[_0xc9464f(0x161)]['on'](_0xc9464f(0x10e),_0x34995e);}this[_0xc9464f(0x161)][_0xbe10b7]=_0x2b04f8,this['_inflate'][_0xc9464f(0x19a)](_0x1a3e29),_0x2226e8&&this['_inflate']['write'](_0x2e4813),this[_0xc9464f(0x161)][_0xc9464f(0x1f2)](()=>{const _0x279840=_0xc9464f,_0x2c2e32=this['_inflate'][_0x393008];if(_0x2c2e32){this[_0x279840(0x161)][_0x279840(0xe3)](),this[_0x279840(0x161)]=null,_0x2b04f8(_0x2c2e32);return;}const _0x25107e=_0x28ffab[_0x279840(0x195)](this['_inflate'][_0x2fa82b],this[_0x279840(0x161)][_0x42b691]);this[_0x279840(0x161)][_0x279840(0x18e)][_0x279840(0x1d4)]?(this[_0x279840(0x161)][_0x279840(0xe3)](),this[_0x279840(0x161)]=null):(this[_0x279840(0x161)][_0x42b691]=0x0,this[_0x279840(0x161)][_0x2fa82b]=[],_0x2226e8&&this[_0x279840(0x102)][_0x349c9c+'_no_context_takeover']&&this[_0x279840(0x161)][_0x279840(0x1ab)]()),_0x2b04f8(null,_0x25107e);});}['_compress'](_0x2026a8,_0x515562,_0x1c60b4){const _0x3e484f=_0x5be8c8,_0x46417d=this['_isServer']?_0x3e484f(0x1d9):_0x3e484f(0x1b3);if(!this['_deflate']){const _0x5a92bc=_0x46417d+_0x3e484f(0x19f),_0x2868a9=typeof this[_0x3e484f(0x102)][_0x5a92bc]!=_0x3e484f(0x111)?_0x7cb746[_0x3e484f(0x9f)]:this[_0x3e484f(0x102)][_0x5a92bc];this[_0x3e484f(0x1a2)]=_0x7cb746[_0x3e484f(0x141)]({...this['_options'][_0x3e484f(0xee)],'windowBits':_0x2868a9}),this['_deflate'][_0x42b691]=0x0,this[_0x3e484f(0x1a2)][_0x2fa82b]=[],this[_0x3e484f(0x1a2)]['on']('data',_0x10acd0);}this[_0x3e484f(0x1a2)][_0xbe10b7]=_0x1c60b4,this[_0x3e484f(0x1a2)]['write'](_0x2026a8),this[_0x3e484f(0x1a2)]['flush'](_0x7cb746['Z_SYNC_FLUSH'],()=>{const _0x38e2a4=_0x3e484f;if(!this[_0x38e2a4(0x1a2)])return;let _0x50b7a0=_0x28ffab[_0x38e2a4(0x195)](this[_0x38e2a4(0x1a2)][_0x2fa82b],this['_deflate'][_0x42b691]);_0x515562&&(_0x50b7a0=new _0x42c891(_0x50b7a0['buffer'],_0x50b7a0[_0x38e2a4(0x169)],_0x50b7a0[_0x38e2a4(0x181)]-0x4)),this[_0x38e2a4(0x1a2)][_0xbe10b7]=null,this['_deflate'][_0x42b691]=0x0,this[_0x38e2a4(0x1a2)][_0x2fa82b]=[],_0x515562&&this[_0x38e2a4(0x102)][_0x46417d+_0x38e2a4(0x225)]&&this['_deflate'][_0x38e2a4(0x1ab)](),_0x1c60b4(null,_0x50b7a0);});}}ve=_0x1ed06f;function _0x10acd0(_0x29bac0){const _0x372063=_0x5be8c8;this[_0x2fa82b][_0x372063(0xbb)](_0x29bac0),this[_0x42b691]+=_0x29bac0[_0x372063(0x181)];}function _0x34995e(_0x4eb2c2){const _0x25386b=_0x5be8c8;if(this[_0x42b691]+=_0x4eb2c2['length'],this[_0x10dcdf]['_maxPayload']<0x1||this[_0x42b691]<=this[_0x10dcdf]['_maxPayload']){this[_0x2fa82b][_0x25386b(0xbb)](_0x4eb2c2);return;}this[_0x393008]=new RangeError(_0x25386b(0x19e)),this[_0x393008]['code']=_0x25386b(0x1c6),this[_0x393008][_0x1698b3]=0x3f1,this['removeListener'](_0x25386b(0x10e),_0x34995e),this[_0x25386b(0x1ab)]();}function _0x2bdac0(_0x57d86c){const _0x43bab0=_0x5be8c8;this[_0x10dcdf][_0x43bab0(0x161)]=null,_0x57d86c[_0x1698b3]=0x3ef,this[_0xbe10b7](_0x57d86c);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xf71ff4(0xba)](Object[_0xf71ff4(0x17a)]({'__proto__':null,'default':Ht},Symbol[_0xf71ff4(0x1d1)],{'value':_0xf71ff4(0x1b4)})),Yt=ut(zt);var Qe;function ne(){const _0x39cd7c=_0xf71ff4;if(Qe)return re[_0x39cd7c(0xcf)];Qe=0x1;const {isUtf8:_0x26e8ab}=_0x18a88a,{hasBlob:_0x539052}=V(),_0x529b9f=[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 _0x2985e9(_0x40c3d7){return _0x40c3d7>=0x3e8&&_0x40c3d7<=0x3f6&&_0x40c3d7!==0x3ec&&_0x40c3d7!==0x3ed&&_0x40c3d7!==0x3ee||_0x40c3d7>=0xbb8&&_0x40c3d7<=0x1387;}function _0x2470e2(_0x52ffe6){const _0x4e099f=_0x39cd7c,_0x31f6a5=_0x52ffe6[_0x4e099f(0x181)];let _0x59c47a=0x0;for(;_0x59c47a<_0x31f6a5;)if((_0x52ffe6[_0x59c47a]&0x80)===0x0)_0x59c47a++;else{if((_0x52ffe6[_0x59c47a]&0xe0)===0xc0){if(_0x59c47a+0x1===_0x31f6a5||(_0x52ffe6[_0x59c47a+0x1]&0xc0)!==0x80||(_0x52ffe6[_0x59c47a]&0xfe)===0xc0)return!0x1;_0x59c47a+=0x2;}else{if((_0x52ffe6[_0x59c47a]&0xf0)===0xe0){if(_0x59c47a+0x2>=_0x31f6a5||(_0x52ffe6[_0x59c47a+0x1]&0xc0)!==0x80||(_0x52ffe6[_0x59c47a+0x2]&0xc0)!==0x80||_0x52ffe6[_0x59c47a]===0xe0&&(_0x52ffe6[_0x59c47a+0x1]&0xe0)===0x80||_0x52ffe6[_0x59c47a]===0xed&&(_0x52ffe6[_0x59c47a+0x1]&0xe0)===0xa0)return!0x1;_0x59c47a+=0x3;}else{if((_0x52ffe6[_0x59c47a]&0xf8)===0xf0){if(_0x59c47a+0x3>=_0x31f6a5||(_0x52ffe6[_0x59c47a+0x1]&0xc0)!==0x80||(_0x52ffe6[_0x59c47a+0x2]&0xc0)!==0x80||(_0x52ffe6[_0x59c47a+0x3]&0xc0)!==0x80||_0x52ffe6[_0x59c47a]===0xf0&&(_0x52ffe6[_0x59c47a+0x1]&0xf0)===0x80||_0x52ffe6[_0x59c47a]===0xf4&&_0x52ffe6[_0x59c47a+0x1]>0x8f||_0x52ffe6[_0x59c47a]>0xf4)return!0x1;_0x59c47a+=0x4;}else return!0x1;}}}return!0x0;}function _0x529509(_0x4914c2){const _0x488090=_0x39cd7c;return _0x539052&&typeof _0x4914c2==_0x488090(0x1ee)&&typeof _0x4914c2[_0x488090(0x13c)]==_0x488090(0xc7)&&typeof _0x4914c2[_0x488090(0x1bc)]==_0x488090(0x213)&&typeof _0x4914c2[_0x488090(0x1bb)]=='function'&&(_0x4914c2[Symbol[_0x488090(0x1d1)]]===_0x488090(0x1af)||_0x4914c2[Symbol['toStringTag']]===_0x488090(0x1a8));}if(re[_0x39cd7c(0xcf)]={'isBlob':_0x529509,'isValidStatusCode':_0x2985e9,'isValidUTF8':_0x2470e2,'tokenChars':_0x529b9f},_0x26e8ab)re[_0x39cd7c(0xcf)][_0x39cd7c(0x119)]=function(_0x224bf5){const _0x4d34db=_0x39cd7c;return _0x224bf5[_0x4d34db(0x181)]<0x18?_0x2470e2(_0x224bf5):_0x26e8ab(_0x224bf5);};else{if(!process['env'][_0x39cd7c(0xf9)])try{const _0x22573c=Yt;re[_0x39cd7c(0xcf)]['isValidUTF8']=function(_0x1fa004){const _0x3c063d=_0x39cd7c;return _0x1fa004[_0x3c063d(0x181)]<0x20?_0x2470e2(_0x1fa004):_0x22573c(_0x1fa004);};}catch{}}return re[_0x39cd7c(0xcf)];}var Se,Je;function dt(){const _0x4b44fb=_0xf71ff4;if(Je)return Se;Je=0x1;const {Writable:_0x16f2a6}=_0x363ac0,_0x5bef53=he(),{BINARY_TYPES:_0xfd58e0,EMPTY_BUFFER:_0x205fa4,kStatusCode:_0x3e8b6d,kWebSocket:_0x326688}=V(),{concat:_0x5cf6a1,toArrayBuffer:_0x2c84ca,unmask:_0x3c892c}=ce(),{isValidStatusCode:_0x41475d,isValidUTF8:_0x494a04}=ne(),_0x2613b4=Buffer[Symbol[_0x4b44fb(0x71)]],_0x1c6080=0x0,_0x419159=0x1,_0x38d259=0x2,_0x40ade0=0x3,_0x4c6174=0x4,_0x1383f8=0x5,_0xecc4a2=0x6;class _0x1379f4 extends _0x16f2a6{constructor(_0x5210ec={}){const _0x8d4fce=_0x4b44fb;super(),this['_allowSynchronousEvents']=_0x5210ec[_0x8d4fce(0x148)]!==void 0x0?_0x5210ec[_0x8d4fce(0x148)]:!0x0,this[_0x8d4fce(0x1f5)]=_0x5210ec[_0x8d4fce(0x76)]||_0xfd58e0[0x0],this[_0x8d4fce(0x1ec)]=_0x5210ec[_0x8d4fce(0x14f)]||{},this['_isServer']=!!_0x5210ec['isServer'],this[_0x8d4fce(0xf5)]=_0x5210ec[_0x8d4fce(0x177)]|0x0,this['_skipUTF8Validation']=!!_0x5210ec['skipUTF8Validation'],this[_0x326688]=void 0x0,this[_0x8d4fce(0xb1)]=0x0,this['_buffers']=[],this[_0x8d4fce(0x16d)]=!0x1,this[_0x8d4fce(0x1f0)]=0x0,this[_0x8d4fce(0x1ba)]=void 0x0,this[_0x8d4fce(0x217)]=0x0,this[_0x8d4fce(0x1cc)]=!0x1,this[_0x8d4fce(0x214)]=!0x1,this['_opcode']=0x0,this['_totalPayloadLength']=0x0,this[_0x8d4fce(0x1b8)]=0x0,this[_0x8d4fce(0x1e9)]=[],this[_0x8d4fce(0x193)]=!0x1,this[_0x8d4fce(0x14c)]=!0x1,this['_state']=_0x1c6080;}['_write'](_0x1f2704,_0x16ccf8,_0x565a42){const _0x1faf5b=_0x4b44fb;if(this['_opcode']===0x8&&this[_0x1faf5b(0x166)]==_0x1c6080)return _0x565a42();this[_0x1faf5b(0xb1)]+=_0x1f2704[_0x1faf5b(0x181)],this[_0x1faf5b(0x1a3)]['push'](_0x1f2704),this['startLoop'](_0x565a42);}['consume'](_0x3019c2){const _0x37c73b=_0x4b44fb;if(this[_0x37c73b(0xb1)]-=_0x3019c2,_0x3019c2===this[_0x37c73b(0x1a3)][0x0][_0x37c73b(0x181)])return this['_buffers']['shift']();if(_0x3019c2<this['_buffers'][0x0][_0x37c73b(0x181)]){const _0xb1bda6=this[_0x37c73b(0x1a3)][0x0];return this[_0x37c73b(0x1a3)][0x0]=new _0x2613b4(_0xb1bda6[_0x37c73b(0x1d6)],_0xb1bda6[_0x37c73b(0x169)]+_0x3019c2,_0xb1bda6[_0x37c73b(0x181)]-_0x3019c2),new _0x2613b4(_0xb1bda6[_0x37c73b(0x1d6)],_0xb1bda6[_0x37c73b(0x169)],_0x3019c2);}const _0xf93acf=Buffer[_0x37c73b(0x7b)](_0x3019c2);do{const _0x21f971=this[_0x37c73b(0x1a3)][0x0],_0x2a66d2=_0xf93acf['length']-_0x3019c2;_0x3019c2>=_0x21f971[_0x37c73b(0x181)]?_0xf93acf[_0x37c73b(0xf2)](this['_buffers'][_0x37c73b(0x1b5)](),_0x2a66d2):(_0xf93acf[_0x37c73b(0xf2)](new Uint8Array(_0x21f971[_0x37c73b(0x1d6)],_0x21f971[_0x37c73b(0x169)],_0x3019c2),_0x2a66d2),this[_0x37c73b(0x1a3)][0x0]=new _0x2613b4(_0x21f971[_0x37c73b(0x1d6)],_0x21f971[_0x37c73b(0x169)]+_0x3019c2,_0x21f971['length']-_0x3019c2)),_0x3019c2-=_0x21f971[_0x37c73b(0x181)];}while(_0x3019c2>0x0);return _0xf93acf;}[_0x4b44fb(0x83)](_0x4b5b23){const _0x54ee37=_0x4b44fb;this['_loop']=!0x0;do switch(this['_state']){case _0x1c6080:this[_0x54ee37(0xb4)](_0x4b5b23);break;case _0x419159:this[_0x54ee37(0x173)](_0x4b5b23);break;case _0x38d259:this[_0x54ee37(0xef)](_0x4b5b23);break;case _0x40ade0:this['getMask']();break;case _0x4c6174:this[_0x54ee37(0xfc)](_0x4b5b23);break;case _0x1383f8:case _0xecc4a2:this[_0x54ee37(0x14c)]=!0x1;return;}while(this['_loop']);this[_0x54ee37(0x193)]||_0x4b5b23();}['getInfo'](_0x171f25){const _0x5af6f7=_0x4b44fb;if(this[_0x5af6f7(0xb1)]<0x2){this['_loop']=!0x1;return;}const _0x474cd0=this[_0x5af6f7(0x10b)](0x2);if((_0x474cd0[0x0]&0x30)!==0x0){const _0x733dbd=this[_0x5af6f7(0x18c)](RangeError,_0x5af6f7(0x1d8),!0x0,0x3ea,_0x5af6f7(0xde));_0x171f25(_0x733dbd);return;}const _0x327054=(_0x474cd0[0x0]&0x40)===0x40;if(_0x327054&&!this[_0x5af6f7(0x1ec)][_0x5bef53[_0x5af6f7(0x14a)]]){const _0x20ab39=this[_0x5af6f7(0x18c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5af6f7(0xa4));_0x171f25(_0x20ab39);return;}if(this[_0x5af6f7(0x214)]=(_0x474cd0[0x0]&0x80)===0x80,this[_0x5af6f7(0xb7)]=_0x474cd0[0x0]&0xf,this[_0x5af6f7(0x1f0)]=_0x474cd0[0x1]&0x7f,this['_opcode']===0x0){if(_0x327054){const _0x407909=this[_0x5af6f7(0x18c)](RangeError,_0x5af6f7(0xf8),!0x0,0x3ea,_0x5af6f7(0xa4));_0x171f25(_0x407909);return;}if(!this[_0x5af6f7(0x217)]){const _0x58a95a=this[_0x5af6f7(0x18c)](RangeError,_0x5af6f7(0x1a4),!0x0,0x3ea,_0x5af6f7(0x10a));_0x171f25(_0x58a95a);return;}this[_0x5af6f7(0xb7)]=this['_fragmented'];}else{if(this[_0x5af6f7(0xb7)]===0x1||this[_0x5af6f7(0xb7)]===0x2){if(this[_0x5af6f7(0x217)]){const _0x59ae7c=this['createError'](RangeError,_0x5af6f7(0x1a0)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x171f25(_0x59ae7c);return;}this[_0x5af6f7(0x16d)]=_0x327054;}else{if(this[_0x5af6f7(0xb7)]>0x7&&this[_0x5af6f7(0xb7)]<0xb){if(!this[_0x5af6f7(0x214)]){const _0x2b7aab=this[_0x5af6f7(0x18c)](RangeError,_0x5af6f7(0xfa),!0x0,0x3ea,_0x5af6f7(0x203));_0x171f25(_0x2b7aab);return;}if(_0x327054){const _0x12fc54=this[_0x5af6f7(0x18c)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x171f25(_0x12fc54);return;}if(this[_0x5af6f7(0x1f0)]>0x7d||this['_opcode']===0x8&&this[_0x5af6f7(0x1f0)]===0x1){const _0x38d249=this[_0x5af6f7(0x18c)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5af6f7(0x1f0)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x171f25(_0x38d249);return;}}else{const _0x12812c=this[_0x5af6f7(0x18c)](RangeError,'invalid\x20opcode\x20'+this[_0x5af6f7(0xb7)],!0x0,0x3ea,_0x5af6f7(0x10a));_0x171f25(_0x12812c);return;}}}if(!this[_0x5af6f7(0x214)]&&!this[_0x5af6f7(0x217)]&&(this['_fragmented']=this[_0x5af6f7(0xb7)]),this['_masked']=(_0x474cd0[0x1]&0x80)===0x80,this[_0x5af6f7(0x1e8)]){if(!this['_masked']){const _0xba4979=this['createError'](RangeError,_0x5af6f7(0x139),!0x0,0x3ea,_0x5af6f7(0x146));_0x171f25(_0xba4979);return;}}else{if(this[_0x5af6f7(0x1cc)]){const _0x496004=this[_0x5af6f7(0x18c)](RangeError,_0x5af6f7(0x9c),!0x0,0x3ea,_0x5af6f7(0x7e));_0x171f25(_0x496004);return;}}this[_0x5af6f7(0x1f0)]===0x7e?this[_0x5af6f7(0x166)]=_0x419159:this[_0x5af6f7(0x1f0)]===0x7f?this['_state']=_0x38d259:this[_0x5af6f7(0x189)](_0x171f25);}['getPayloadLength16'](_0x2ba5bd){const _0x124429=_0x4b44fb;if(this[_0x124429(0xb1)]<0x2){this['_loop']=!0x1;return;}this[_0x124429(0x1f0)]=this['consume'](0x2)[_0x124429(0x162)](0x0),this[_0x124429(0x189)](_0x2ba5bd);}[_0x4b44fb(0xef)](_0x3038ab){const _0x3d9e0e=_0x4b44fb;if(this[_0x3d9e0e(0xb1)]<0x8){this[_0x3d9e0e(0x14c)]=!0x1;return;}const _0x1b01db=this[_0x3d9e0e(0x10b)](0x8),_0x4f0d61=_0x1b01db['readUInt32BE'](0x0);if(_0x4f0d61>Math[_0x3d9e0e(0x1d0)](0x2,0x15)-0x1){const _0x3a83fb=this['createError'](RangeError,_0x3d9e0e(0x108),!0x1,0x3f1,_0x3d9e0e(0x99));_0x3038ab(_0x3a83fb);return;}this[_0x3d9e0e(0x1f0)]=_0x4f0d61*Math[_0x3d9e0e(0x1d0)](0x2,0x20)+_0x1b01db[_0x3d9e0e(0x17b)](0x4),this['haveLength'](_0x3038ab);}[_0x4b44fb(0x189)](_0x1a07f6){const _0x242bd0=_0x4b44fb;if(this[_0x242bd0(0x1f0)]&&this[_0x242bd0(0xb7)]<0x8&&(this['_totalPayloadLength']+=this[_0x242bd0(0x1f0)],this['_totalPayloadLength']>this[_0x242bd0(0xf5)]&&this[_0x242bd0(0xf5)]>0x0)){const _0x576bcb=this[_0x242bd0(0x18c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x242bd0(0x1c6));_0x1a07f6(_0x576bcb);return;}this[_0x242bd0(0x1cc)]?this[_0x242bd0(0x166)]=_0x40ade0:this['_state']=_0x4c6174;}[_0x4b44fb(0x1f8)](){const _0x2c8f13=_0x4b44fb;if(this[_0x2c8f13(0xb1)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x2c8f13(0x10b)](0x4),this[_0x2c8f13(0x166)]=_0x4c6174;}[_0x4b44fb(0xfc)](_0x28491b){const _0x9e6e3=_0x4b44fb;let _0x175d06=_0x205fa4;if(this[_0x9e6e3(0x1f0)]){if(this['_bufferedBytes']<this[_0x9e6e3(0x1f0)]){this[_0x9e6e3(0x14c)]=!0x1;return;}_0x175d06=this['consume'](this['_payloadLength']),this[_0x9e6e3(0x1cc)]&&(this[_0x9e6e3(0x1ba)][0x0]|this[_0x9e6e3(0x1ba)][0x1]|this[_0x9e6e3(0x1ba)][0x2]|this[_0x9e6e3(0x1ba)][0x3])!==0x0&&_0x3c892c(_0x175d06,this['_mask']);}if(this[_0x9e6e3(0xb7)]>0x7){this['controlMessage'](_0x175d06,_0x28491b);return;}if(this[_0x9e6e3(0x16d)]){this[_0x9e6e3(0x166)]=_0x1383f8,this[_0x9e6e3(0xae)](_0x175d06,_0x28491b);return;}_0x175d06['length']&&(this[_0x9e6e3(0x1b8)]=this['_totalPayloadLength'],this[_0x9e6e3(0x1e9)]['push'](_0x175d06)),this['dataMessage'](_0x28491b);}[_0x4b44fb(0xae)](_0x5d721b,_0x5aeb68){const _0x332422=_0x4b44fb;this[_0x332422(0x1ec)][_0x5bef53[_0x332422(0x14a)]][_0x332422(0xae)](_0x5d721b,this[_0x332422(0x214)],(_0x36906c,_0x2aae79)=>{const _0x4110a4=_0x332422;if(_0x36906c)return _0x5aeb68(_0x36906c);if(_0x2aae79[_0x4110a4(0x181)]){if(this[_0x4110a4(0x1b8)]+=_0x2aae79['length'],this[_0x4110a4(0x1b8)]>this[_0x4110a4(0xf5)]&&this[_0x4110a4(0xf5)]>0x0){const _0x2b7127=this['createError'](RangeError,_0x4110a4(0x19e),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5aeb68(_0x2b7127);return;}this['_fragments']['push'](_0x2aae79);}this[_0x4110a4(0x1fa)](_0x5aeb68),this[_0x4110a4(0x166)]===_0x1c6080&&this[_0x4110a4(0x83)](_0x5aeb68);});}[_0x4b44fb(0x1fa)](_0x6c15a8){const _0x36a061=_0x4b44fb;if(!this[_0x36a061(0x214)]){this['_state']=_0x1c6080;return;}const _0x35197f=this[_0x36a061(0x1b8)],_0x17ce9f=this[_0x36a061(0x1e9)];if(this[_0x36a061(0x180)]=0x0,this[_0x36a061(0x1b8)]=0x0,this['_fragmented']=0x0,this[_0x36a061(0x1e9)]=[],this[_0x36a061(0xb7)]===0x2){let _0xc42e08;this[_0x36a061(0x1f5)]===_0x36a061(0x137)?_0xc42e08=_0x5cf6a1(_0x17ce9f,_0x35197f):this[_0x36a061(0x1f5)]===_0x36a061(0xab)?_0xc42e08=_0x2c84ca(_0x5cf6a1(_0x17ce9f,_0x35197f)):this['_binaryType']===_0x36a061(0x187)?_0xc42e08=new Blob(_0x17ce9f):_0xc42e08=_0x17ce9f,this[_0x36a061(0x13a)]?(this[_0x36a061(0x220)](_0x36a061(0x1be),_0xc42e08,!0x0),this[_0x36a061(0x166)]=_0x1c6080):(this['_state']=_0xecc4a2,setImmediate(()=>{const _0x2fec74=_0x36a061;this[_0x2fec74(0x220)](_0x2fec74(0x1be),_0xc42e08,!0x0),this[_0x2fec74(0x166)]=_0x1c6080,this['startLoop'](_0x6c15a8);}));}else{const _0x48dbe6=_0x5cf6a1(_0x17ce9f,_0x35197f);if(!this[_0x36a061(0x93)]&&!_0x494a04(_0x48dbe6)){const _0x7c92b3=this[_0x36a061(0x18c)](Error,_0x36a061(0x14b),!0x0,0x3ef,_0x36a061(0x8c));_0x6c15a8(_0x7c92b3);return;}this[_0x36a061(0x166)]===_0x1383f8||this[_0x36a061(0x13a)]?(this[_0x36a061(0x220)](_0x36a061(0x1be),_0x48dbe6,!0x1),this[_0x36a061(0x166)]=_0x1c6080):(this[_0x36a061(0x166)]=_0xecc4a2,setImmediate(()=>{const _0x10c89e=_0x36a061;this[_0x10c89e(0x220)]('message',_0x48dbe6,!0x1),this[_0x10c89e(0x166)]=_0x1c6080,this['startLoop'](_0x6c15a8);}));}}['controlMessage'](_0x29042b,_0x4a2914){const _0x5e2463=_0x4b44fb;if(this[_0x5e2463(0xb7)]===0x8){if(_0x29042b[_0x5e2463(0x181)]===0x0)this[_0x5e2463(0x14c)]=!0x1,this[_0x5e2463(0x220)](_0x5e2463(0x9b),0x3ed,_0x205fa4),this[_0x5e2463(0xc6)]();else{const _0x4cb3bb=_0x29042b[_0x5e2463(0x162)](0x0);if(!_0x41475d(_0x4cb3bb)){const _0x47f0b1=this['createError'](RangeError,_0x5e2463(0x198)+_0x4cb3bb,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x4a2914(_0x47f0b1);return;}const _0x31f3cc=new _0x2613b4(_0x29042b[_0x5e2463(0x1d6)],_0x29042b[_0x5e2463(0x169)]+0x2,_0x29042b[_0x5e2463(0x181)]-0x2);if(!this[_0x5e2463(0x93)]&&!_0x494a04(_0x31f3cc)){const _0x490d7a=this[_0x5e2463(0x18c)](Error,_0x5e2463(0x14b),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4a2914(_0x490d7a);return;}this[_0x5e2463(0x14c)]=!0x1,this[_0x5e2463(0x220)](_0x5e2463(0x9b),_0x4cb3bb,_0x31f3cc),this[_0x5e2463(0xc6)]();}this['_state']=_0x1c6080;return;}this[_0x5e2463(0x13a)]?(this[_0x5e2463(0x220)](this[_0x5e2463(0xb7)]===0x9?'ping':_0x5e2463(0x1bf),_0x29042b),this[_0x5e2463(0x166)]=_0x1c6080):(this['_state']=_0xecc4a2,setImmediate(()=>{const _0xdd856a=_0x5e2463;this[_0xdd856a(0x220)](this['_opcode']===0x9?_0xdd856a(0x1e5):_0xdd856a(0x1bf),_0x29042b),this['_state']=_0x1c6080,this[_0xdd856a(0x83)](_0x4a2914);}));}[_0x4b44fb(0x18c)](_0x13ffa1,_0xb73000,_0x6e2c65,_0xec7b45,_0x277416){const _0x147c98=_0x4b44fb;this[_0x147c98(0x14c)]=!0x1,this[_0x147c98(0x193)]=!0x0;const _0x4c7f19=new _0x13ffa1(_0x6e2c65?'Invalid\x20WebSocket\x20frame:\x20'+_0xb73000:_0xb73000);return Error['captureStackTrace'](_0x4c7f19,this[_0x147c98(0x18c)]),_0x4c7f19[_0x147c98(0x155)]=_0x277416,_0x4c7f19[_0x3e8b6d]=_0xec7b45,_0x4c7f19;}}return Se=_0x1379f4,Se;}var Ee,et;function _t(){const _0x4fd03f=_0xf71ff4;if(et)return Ee;et=0x1;const {Duplex:_0x3931f5}=_0x363ac0,{randomFillSync:_0x38e352}=_0x5a3eff,_0x5335d4=he(),{EMPTY_BUFFER:_0x5860de,kWebSocket:_0x5820b9,NOOP:_0x4366c0}=V(),{isBlob:_0x29b368,isValidStatusCode:_0x27916f}=ne(),{mask:_0x48ebd3,toBuffer:_0xa35a6d}=ce(),_0x1e5252=Symbol(_0x4fd03f(0x13e)),_0x5b2ea2=Buffer[_0x4fd03f(0x10f)](0x4),_0x329438=0x8*0x400;let _0x2454b8,_0x381911=_0x329438;const _0x2340ae=0x0,_0x3f9751=0x1,_0x292269=0x2;class _0x20ca66{constructor(_0x4c4ca5,_0x28465c,_0x30367b){const _0x20ea4c=_0x4fd03f;this['_extensions']=_0x28465c||{},_0x30367b&&(this[_0x20ea4c(0x224)]=_0x30367b,this[_0x20ea4c(0xca)]=Buffer[_0x20ea4c(0x10f)](0x4)),this[_0x20ea4c(0xd6)]=_0x4c4ca5,this['_firstFragment']=!0x0,this[_0x20ea4c(0x14d)]=!0x1,this[_0x20ea4c(0xb1)]=0x0,this[_0x20ea4c(0x215)]=[],this[_0x20ea4c(0x166)]=_0x2340ae,this[_0x20ea4c(0x154)]=_0x4366c0,this[_0x5820b9]=void 0x0;}static[_0x4fd03f(0xff)](_0x4468b7,_0x24295f){const _0x452ca6=_0x4fd03f;let _0x4104ef,_0x192865=!0x1,_0x18807a=0x2,_0x3d4667=!0x1;_0x24295f[_0x452ca6(0xe0)]&&(_0x4104ef=_0x24295f[_0x452ca6(0x223)]||_0x5b2ea2,_0x24295f['generateMask']?_0x24295f[_0x452ca6(0x188)](_0x4104ef):(_0x381911===_0x329438&&(_0x2454b8===void 0x0&&(_0x2454b8=Buffer[_0x452ca6(0x10f)](_0x329438)),_0x38e352(_0x2454b8,0x0,_0x329438),_0x381911=0x0),_0x4104ef[0x0]=_0x2454b8[_0x381911++],_0x4104ef[0x1]=_0x2454b8[_0x381911++],_0x4104ef[0x2]=_0x2454b8[_0x381911++],_0x4104ef[0x3]=_0x2454b8[_0x381911++]),_0x3d4667=(_0x4104ef[0x0]|_0x4104ef[0x1]|_0x4104ef[0x2]|_0x4104ef[0x3])===0x0,_0x18807a=0x6);let _0x153213;typeof _0x4468b7==_0x452ca6(0x213)?(!_0x24295f[_0x452ca6(0xe0)]||_0x3d4667)&&_0x24295f[_0x1e5252]!==void 0x0?_0x153213=_0x24295f[_0x1e5252]:(_0x4468b7=Buffer[_0x452ca6(0xc0)](_0x4468b7),_0x153213=_0x4468b7[_0x452ca6(0x181)]):(_0x153213=_0x4468b7[_0x452ca6(0x181)],_0x192865=_0x24295f['mask']&&_0x24295f[_0x452ca6(0xb6)]&&!_0x3d4667);let _0xd8f9aa=_0x153213;_0x153213>=0x10000?(_0x18807a+=0x8,_0xd8f9aa=0x7f):_0x153213>0x7d&&(_0x18807a+=0x2,_0xd8f9aa=0x7e);const _0x335896=Buffer[_0x452ca6(0x7b)](_0x192865?_0x153213+_0x18807a:_0x18807a);return _0x335896[0x0]=_0x24295f[_0x452ca6(0x18b)]?_0x24295f['opcode']|0x80:_0x24295f[_0x452ca6(0x7d)],_0x24295f['rsv1']&&(_0x335896[0x0]|=0x40),_0x335896[0x1]=_0xd8f9aa,_0xd8f9aa===0x7e?_0x335896[_0x452ca6(0xa5)](_0x153213,0x2):_0xd8f9aa===0x7f&&(_0x335896[0x2]=_0x335896[0x3]=0x0,_0x335896['writeUIntBE'](_0x153213,0x4,0x6)),_0x24295f[_0x452ca6(0xe0)]?(_0x335896[0x1]|=0x80,_0x335896[_0x18807a-0x4]=_0x4104ef[0x0],_0x335896[_0x18807a-0x3]=_0x4104ef[0x1],_0x335896[_0x18807a-0x2]=_0x4104ef[0x2],_0x335896[_0x18807a-0x1]=_0x4104ef[0x3],_0x3d4667?[_0x335896,_0x4468b7]:_0x192865?(_0x48ebd3(_0x4468b7,_0x4104ef,_0x335896,_0x18807a,_0x153213),[_0x335896]):(_0x48ebd3(_0x4468b7,_0x4104ef,_0x4468b7,0x0,_0x153213),[_0x335896,_0x4468b7])):[_0x335896,_0x4468b7];}[_0x4fd03f(0xe3)](_0x346f6b,_0x38e2b3,_0x3e71cd,_0x5d2f08){const _0x2ff709=_0x4fd03f;let _0x2e2529;if(_0x346f6b===void 0x0)_0x2e2529=_0x5860de;else{if(typeof _0x346f6b!=_0x2ff709(0x111)||!_0x27916f(_0x346f6b))throw new TypeError(_0x2ff709(0x98));if(_0x38e2b3===void 0x0||!_0x38e2b3[_0x2ff709(0x181)])_0x2e2529=Buffer['allocUnsafe'](0x2),_0x2e2529['writeUInt16BE'](_0x346f6b,0x0);else{const _0x43cdd4=Buffer['byteLength'](_0x38e2b3);if(_0x43cdd4>0x7b)throw new RangeError(_0x2ff709(0x11c));_0x2e2529=Buffer[_0x2ff709(0x7b)](0x2+_0x43cdd4),_0x2e2529['writeUInt16BE'](_0x346f6b,0x0),typeof _0x38e2b3==_0x2ff709(0x213)?_0x2e2529[_0x2ff709(0x19a)](_0x38e2b3,0x2):_0x2e2529[_0x2ff709(0xf2)](_0x38e2b3,0x2);}}const _0x301df1={[_0x1e5252]:_0x2e2529[_0x2ff709(0x181)],'fin':!0x0,'generateMask':this[_0x2ff709(0x224)],'mask':_0x3e71cd,'maskBuffer':this[_0x2ff709(0xca)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2ff709(0x166)]!==_0x2340ae?this[_0x2ff709(0x1de)]([this[_0x2ff709(0x20b)],_0x2e2529,!0x1,_0x301df1,_0x5d2f08]):this[_0x2ff709(0x19b)](_0x20ca66['frame'](_0x2e2529,_0x301df1),_0x5d2f08);}[_0x4fd03f(0x1e5)](_0x269438,_0x116401,_0x1a9cac){const _0x5b8e77=_0x4fd03f;let _0x1d0113,_0x25143e;if(typeof _0x269438==_0x5b8e77(0x213)?(_0x1d0113=Buffer[_0x5b8e77(0x18d)](_0x269438),_0x25143e=!0x1):_0x29b368(_0x269438)?(_0x1d0113=_0x269438[_0x5b8e77(0x121)],_0x25143e=!0x1):(_0x269438=_0xa35a6d(_0x269438),_0x1d0113=_0x269438[_0x5b8e77(0x181)],_0x25143e=_0xa35a6d[_0x5b8e77(0xb6)]),_0x1d0113>0x7d)throw new RangeError(_0x5b8e77(0xcc));const _0x5195a8={[_0x1e5252]:_0x1d0113,'fin':!0x0,'generateMask':this[_0x5b8e77(0x224)],'mask':_0x116401,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x25143e,'rsv1':!0x1};_0x29b368(_0x269438)?this[_0x5b8e77(0x166)]!==_0x2340ae?this['enqueue']([this[_0x5b8e77(0x114)],_0x269438,!0x1,_0x5195a8,_0x1a9cac]):this['getBlobData'](_0x269438,!0x1,_0x5195a8,_0x1a9cac):this['_state']!==_0x2340ae?this[_0x5b8e77(0x1de)]([this[_0x5b8e77(0x20b)],_0x269438,!0x1,_0x5195a8,_0x1a9cac]):this[_0x5b8e77(0x19b)](_0x20ca66['frame'](_0x269438,_0x5195a8),_0x1a9cac);}['pong'](_0x528ba3,_0x1380d5,_0x75fdd3){const _0x423375=_0x4fd03f;let _0x206f32,_0x2cb072;if(typeof _0x528ba3==_0x423375(0x213)?(_0x206f32=Buffer[_0x423375(0x18d)](_0x528ba3),_0x2cb072=!0x1):_0x29b368(_0x528ba3)?(_0x206f32=_0x528ba3[_0x423375(0x121)],_0x2cb072=!0x1):(_0x528ba3=_0xa35a6d(_0x528ba3),_0x206f32=_0x528ba3[_0x423375(0x181)],_0x2cb072=_0xa35a6d[_0x423375(0xb6)]),_0x206f32>0x7d)throw new RangeError(_0x423375(0xcc));const _0x22dced={[_0x1e5252]:_0x206f32,'fin':!0x0,'generateMask':this[_0x423375(0x224)],'mask':_0x1380d5,'maskBuffer':this[_0x423375(0xca)],'opcode':0xa,'readOnly':_0x2cb072,'rsv1':!0x1};_0x29b368(_0x528ba3)?this[_0x423375(0x166)]!==_0x2340ae?this['enqueue']([this[_0x423375(0x114)],_0x528ba3,!0x1,_0x22dced,_0x75fdd3]):this['getBlobData'](_0x528ba3,!0x1,_0x22dced,_0x75fdd3):this[_0x423375(0x166)]!==_0x2340ae?this['enqueue']([this[_0x423375(0x20b)],_0x528ba3,!0x1,_0x22dced,_0x75fdd3]):this[_0x423375(0x19b)](_0x20ca66['frame'](_0x528ba3,_0x22dced),_0x75fdd3);}[_0x4fd03f(0xb3)](_0x433d3f,_0x13f170,_0x283f4b){const _0x287628=_0x4fd03f,_0x4e5f39=this[_0x287628(0x1ec)][_0x5335d4['extensionName']];let _0x32ede6=_0x13f170['binary']?0x2:0x1,_0x4cc0d4=_0x13f170[_0x287628(0x11b)],_0x3f66b8,_0x4c375e;typeof _0x433d3f=='string'?(_0x3f66b8=Buffer[_0x287628(0x18d)](_0x433d3f),_0x4c375e=!0x1):_0x29b368(_0x433d3f)?(_0x3f66b8=_0x433d3f[_0x287628(0x121)],_0x4c375e=!0x1):(_0x433d3f=_0xa35a6d(_0x433d3f),_0x3f66b8=_0x433d3f['length'],_0x4c375e=_0xa35a6d[_0x287628(0xb6)]),this[_0x287628(0x16f)]?(this[_0x287628(0x16f)]=!0x1,_0x4cc0d4&&_0x4e5f39&&_0x4e5f39[_0x287628(0x102)][_0x4e5f39[_0x287628(0x1e8)]?_0x287628(0xe6):_0x287628(0x1e4)]&&(_0x4cc0d4=_0x3f66b8>=_0x4e5f39[_0x287628(0xc3)]),this[_0x287628(0x14d)]=_0x4cc0d4):(_0x4cc0d4=!0x1,_0x32ede6=0x0),_0x13f170[_0x287628(0x18b)]&&(this['_firstFragment']=!0x0);const _0x29516b={[_0x1e5252]:_0x3f66b8,'fin':_0x13f170['fin'],'generateMask':this[_0x287628(0x224)],'mask':_0x13f170[_0x287628(0xe0)],'maskBuffer':this[_0x287628(0xca)],'opcode':_0x32ede6,'readOnly':_0x4c375e,'rsv1':_0x4cc0d4};_0x29b368(_0x433d3f)?this[_0x287628(0x166)]!==_0x2340ae?this[_0x287628(0x1de)]([this[_0x287628(0x114)],_0x433d3f,this[_0x287628(0x14d)],_0x29516b,_0x283f4b]):this[_0x287628(0x114)](_0x433d3f,this[_0x287628(0x14d)],_0x29516b,_0x283f4b):this[_0x287628(0x166)]!==_0x2340ae?this[_0x287628(0x1de)]([this[_0x287628(0x20b)],_0x433d3f,this[_0x287628(0x14d)],_0x29516b,_0x283f4b]):this['dispatch'](_0x433d3f,this['_compress'],_0x29516b,_0x283f4b);}[_0x4fd03f(0x114)](_0xb9b864,_0x1c2028,_0x58e7ad,_0x254a9c){const _0x4d6fd9=_0x4fd03f;this['_bufferedBytes']+=_0x58e7ad[_0x1e5252],this[_0x4d6fd9(0x166)]=_0x292269,_0xb9b864[_0x4d6fd9(0x13c)]()[_0x4d6fd9(0x16b)](_0x567e46=>{const _0x2d866a=_0x4d6fd9;if(this[_0x2d866a(0xd6)]['destroyed']){const _0x52e63b=new Error(_0x2d866a(0x9e));process[_0x2d866a(0x1fd)](_0x48e04e,this,_0x52e63b,_0x254a9c);return;}this[_0x2d866a(0xb1)]-=_0x58e7ad[_0x1e5252];const _0x3ea5d8=_0xa35a6d(_0x567e46);_0x1c2028?this['dispatch'](_0x3ea5d8,_0x1c2028,_0x58e7ad,_0x254a9c):(this['_state']=_0x2340ae,this['sendFrame'](_0x20ca66[_0x2d866a(0xff)](_0x3ea5d8,_0x58e7ad),_0x254a9c),this[_0x2d866a(0x126)]());})['catch'](_0x92c31f=>{process['nextTick'](_0x2f42df,this,_0x92c31f,_0x254a9c);});}[_0x4fd03f(0x20b)](_0x17082d,_0x4dbd33,_0x40a07c,_0x2652a9){const _0x1d25ac=_0x4fd03f;if(!_0x4dbd33){this[_0x1d25ac(0x19b)](_0x20ca66[_0x1d25ac(0xff)](_0x17082d,_0x40a07c),_0x2652a9);return;}const _0xe28ba3=this[_0x1d25ac(0x1ec)][_0x5335d4['extensionName']];this[_0x1d25ac(0xb1)]+=_0x40a07c[_0x1e5252],this[_0x1d25ac(0x166)]=_0x3f9751,_0xe28ba3['compress'](_0x17082d,_0x40a07c[_0x1d25ac(0x18b)],(_0x550b32,_0xd6de69)=>{const _0x2ce58a=_0x1d25ac;if(this['_socket'][_0x2ce58a(0x1f6)]){const _0x5a2de9=new Error(_0x2ce58a(0x184));_0x48e04e(this,_0x5a2de9,_0x2652a9);return;}this[_0x2ce58a(0xb1)]-=_0x40a07c[_0x1e5252],this[_0x2ce58a(0x166)]=_0x2340ae,_0x40a07c['readOnly']=!0x1,this['sendFrame'](_0x20ca66[_0x2ce58a(0xff)](_0xd6de69,_0x40a07c),_0x2652a9),this[_0x2ce58a(0x126)]();});}[_0x4fd03f(0x126)](){const _0x2a314c=_0x4fd03f;for(;this[_0x2a314c(0x166)]===_0x2340ae&&this[_0x2a314c(0x215)][_0x2a314c(0x181)];){const _0x11e73b=this[_0x2a314c(0x215)][_0x2a314c(0x1b5)]();this['_bufferedBytes']-=_0x11e73b[0x3][_0x1e5252],Reflect[_0x2a314c(0x1f4)](_0x11e73b[0x0],this,_0x11e73b[_0x2a314c(0x74)](0x1));}}['enqueue'](_0x1b2af8){const _0x49b17c=_0x4fd03f;this[_0x49b17c(0xb1)]+=_0x1b2af8[0x3][_0x1e5252],this[_0x49b17c(0x215)][_0x49b17c(0xbb)](_0x1b2af8);}[_0x4fd03f(0x19b)](_0x40aad4,_0x9aeaff){const _0x333609=_0x4fd03f;_0x40aad4['length']===0x2?(this[_0x333609(0xd6)][_0x333609(0x175)](),this['_socket']['write'](_0x40aad4[0x0]),this[_0x333609(0xd6)][_0x333609(0x19a)](_0x40aad4[0x1],_0x9aeaff),this['_socket'][_0x333609(0x11a)]()):this[_0x333609(0xd6)][_0x333609(0x19a)](_0x40aad4[0x0],_0x9aeaff);}}Ee=_0x20ca66;function _0x48e04e(_0x27ed27,_0x555179,_0x14bcd8){const _0x5ba786=_0x4fd03f;typeof _0x14bcd8=='function'&&_0x14bcd8(_0x555179);for(let _0x239868=0x0;_0x239868<_0x27ed27[_0x5ba786(0x215)][_0x5ba786(0x181)];_0x239868++){const _0x40697f=_0x27ed27[_0x5ba786(0x215)][_0x239868],_0x140899=_0x40697f[_0x40697f['length']-0x1];typeof _0x140899==_0x5ba786(0xc7)&&_0x140899(_0x555179);}}function _0x2f42df(_0x3726ed,_0x107028,_0xd2be4e){const _0x56b65a=_0x4fd03f;_0x48e04e(_0x3726ed,_0x107028,_0xd2be4e),_0x3726ed[_0x56b65a(0x154)](_0x107028);}return Ee;}var xe,tt;function Kt(){const _0x4b7b3d=_0xf71ff4;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x191ab6,kListener:_0xeb27e1}=V(),_0xd777cf=Symbol(_0x4b7b3d(0xaf)),_0x2099d7=Symbol(_0x4b7b3d(0x105)),_0x3d84ef=Symbol(_0x4b7b3d(0x222)),_0x2cbd3f=Symbol(_0x4b7b3d(0x15a)),_0x1fd456=Symbol(_0x4b7b3d(0x202)),_0xd9162f=Symbol(_0x4b7b3d(0x221)),_0x1ba399=Symbol(_0x4b7b3d(0x15d)),_0x2c78ba=Symbol('kWasClean');class _0x240fda{constructor(_0x4f2ead){this[_0xd9162f]=null,this[_0x1ba399]=_0x4f2ead;}get[_0x4b7b3d(0xd7)](){return this[_0xd9162f];}get[_0x4b7b3d(0x1bc)](){return this[_0x1ba399];}}Object[_0x4b7b3d(0x17a)](_0x240fda['prototype'],_0x4b7b3d(0xd7),{'enumerable':!0x0}),Object['defineProperty'](_0x240fda[_0x4b7b3d(0xb8)],_0x4b7b3d(0x1bc),{'enumerable':!0x0});class _0xbd8880 extends _0x240fda{constructor(_0x33b5af,_0x4b05ac={}){const _0x5c08ea=_0x4b7b3d;super(_0x33b5af),this[_0xd777cf]=_0x4b05ac[_0x5c08ea(0x155)]===void 0x0?0x0:_0x4b05ac[_0x5c08ea(0x155)],this[_0x1fd456]=_0x4b05ac[_0x5c08ea(0x125)]===void 0x0?'':_0x4b05ac[_0x5c08ea(0x125)],this[_0x2c78ba]=_0x4b05ac['wasClean']===void 0x0?!0x1:_0x4b05ac[_0x5c08ea(0x21d)];}get[_0x4b7b3d(0x155)](){return this[_0xd777cf];}get[_0x4b7b3d(0x125)](){return this[_0x1fd456];}get[_0x4b7b3d(0x21d)](){return this[_0x2c78ba];}}Object[_0x4b7b3d(0x17a)](_0xbd8880['prototype'],_0x4b7b3d(0x155),{'enumerable':!0x0}),Object[_0x4b7b3d(0x17a)](_0xbd8880[_0x4b7b3d(0xb8)],'reason',{'enumerable':!0x0}),Object[_0x4b7b3d(0x17a)](_0xbd8880[_0x4b7b3d(0xb8)],_0x4b7b3d(0x21d),{'enumerable':!0x0});class _0x1fc7d5 extends _0x240fda{constructor(_0x292044,_0x4354ff={}){const _0x5a228b=_0x4b7b3d;super(_0x292044),this[_0x3d84ef]=_0x4354ff['error']===void 0x0?null:_0x4354ff['error'],this[_0x2cbd3f]=_0x4354ff[_0x5a228b(0x1be)]===void 0x0?'':_0x4354ff[_0x5a228b(0x1be)];}get[_0x4b7b3d(0x205)](){return this[_0x3d84ef];}get[_0x4b7b3d(0x1be)](){return this[_0x2cbd3f];}}Object[_0x4b7b3d(0x17a)](_0x1fc7d5['prototype'],_0x4b7b3d(0x205),{'enumerable':!0x0}),Object[_0x4b7b3d(0x17a)](_0x1fc7d5['prototype'],_0x4b7b3d(0x1be),{'enumerable':!0x0});class _0x2e4834 extends _0x240fda{constructor(_0x87a835,_0x2f88f8={}){const _0x548562=_0x4b7b3d;super(_0x87a835),this[_0x2099d7]=_0x2f88f8[_0x548562(0x10e)]===void 0x0?null:_0x2f88f8[_0x548562(0x10e)];}get['data'](){return this[_0x2099d7];}}Object['defineProperty'](_0x2e4834[_0x4b7b3d(0xb8)],_0x4b7b3d(0x10e),{'enumerable':!0x0}),xe={'CloseEvent':_0xbd8880,'ErrorEvent':_0x1fc7d5,'Event':_0x240fda,'EventTarget':{'addEventListener'(_0x3c484c,_0x931642,_0x4ba2df={}){const _0x423f50=_0x4b7b3d;for(const _0x5ec64f of this[_0x423f50(0xa8)](_0x3c484c))if(!_0x4ba2df[_0x191ab6]&&_0x5ec64f[_0xeb27e1]===_0x931642&&!_0x5ec64f[_0x191ab6])return;let _0xacebab;if(_0x3c484c===_0x423f50(0x1be))_0xacebab=function(_0x1d2ad1,_0x995ba4){const _0x227526=_0x423f50,_0x572e70=new _0x2e4834(_0x227526(0x1be),{'data':_0x995ba4?_0x1d2ad1:_0x1d2ad1[_0x227526(0x1d3)]()});_0x572e70[_0xd9162f]=this,_0x4aed11(_0x931642,this,_0x572e70);};else{if(_0x3c484c===_0x423f50(0xe3))_0xacebab=function(_0x3c4537,_0xf66d54){const _0x5c3322=_0x423f50,_0x125e82=new _0xbd8880('close',{'code':_0x3c4537,'reason':_0xf66d54[_0x5c3322(0x1d3)](),'wasClean':this[_0x5c3322(0x1fc)]&&this[_0x5c3322(0x153)]});_0x125e82[_0xd9162f]=this,_0x4aed11(_0x931642,this,_0x125e82);};else{if(_0x3c484c===_0x423f50(0x205))_0xacebab=function(_0x201ea7){const _0x56c944=_0x423f50,_0x2aa463=new _0x1fc7d5(_0x56c944(0x205),{'error':_0x201ea7,'message':_0x201ea7[_0x56c944(0x1be)]});_0x2aa463[_0xd9162f]=this,_0x4aed11(_0x931642,this,_0x2aa463);};else{if(_0x3c484c==='open')_0xacebab=function(){const _0xda44c4=_0x423f50,_0xc3e225=new _0x240fda(_0xda44c4(0x1b7));_0xc3e225[_0xd9162f]=this,_0x4aed11(_0x931642,this,_0xc3e225);};else return;}}}_0xacebab[_0x191ab6]=!!_0x4ba2df[_0x191ab6],_0xacebab[_0xeb27e1]=_0x931642,_0x4ba2df['once']?this[_0x423f50(0xaa)](_0x3c484c,_0xacebab):this['on'](_0x3c484c,_0xacebab);},'removeEventListener'(_0x349147,_0x5090bf){const _0xc6eb97=_0x4b7b3d;for(const _0x59a150 of this[_0xc6eb97(0xa8)](_0x349147))if(_0x59a150[_0xeb27e1]===_0x5090bf&&!_0x59a150[_0x191ab6]){this['removeListener'](_0x349147,_0x59a150);break;}}},'MessageEvent':_0x2e4834};function _0x4aed11(_0x2a57e7,_0x44f5a7,_0x550383){const _0x1969d9=_0x4b7b3d;typeof _0x2a57e7==_0x1969d9(0x1ee)&&_0x2a57e7[_0x1969d9(0x13f)]?_0x2a57e7[_0x1969d9(0x13f)][_0x1969d9(0xa0)](_0x2a57e7,_0x550383):_0x2a57e7[_0x1969d9(0xa0)](_0x44f5a7,_0x550383);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3d8fd5}=ne();function _0x46b22(_0x3c768a,_0x32601d,_0x4eca79){const _0x52306d=_0xb531;_0x3c768a[_0x32601d]===void 0x0?_0x3c768a[_0x32601d]=[_0x4eca79]:_0x3c768a[_0x32601d][_0x52306d(0xbb)](_0x4eca79);}function _0x33e4f5(_0x246a8c){const _0x396f7c=_0xb531,_0x173d46=Object['create'](null);let _0x2b9826=Object[_0x396f7c(0x1e0)](null),_0x16d569=!0x1,_0xaa061f=!0x1,_0x4768cd=!0x1,_0x47028f,_0x4ac3a1,_0xe3fc87=-0x1,_0x218b2b=-0x1,_0x17d02c=-0x1,_0x1e35b5=0x0;for(;_0x1e35b5<_0x246a8c[_0x396f7c(0x181)];_0x1e35b5++)if(_0x218b2b=_0x246a8c['charCodeAt'](_0x1e35b5),_0x47028f===void 0x0){if(_0x17d02c===-0x1&&_0x3d8fd5[_0x218b2b]===0x1)_0xe3fc87===-0x1&&(_0xe3fc87=_0x1e35b5);else{if(_0x1e35b5!==0x0&&(_0x218b2b===0x20||_0x218b2b===0x9))_0x17d02c===-0x1&&_0xe3fc87!==-0x1&&(_0x17d02c=_0x1e35b5);else{if(_0x218b2b===0x3b||_0x218b2b===0x2c){if(_0xe3fc87===-0x1)throw new SyntaxError(_0x396f7c(0xc4)+_0x1e35b5);_0x17d02c===-0x1&&(_0x17d02c=_0x1e35b5);const _0x57b8e9=_0x246a8c[_0x396f7c(0x74)](_0xe3fc87,_0x17d02c);_0x218b2b===0x2c?(_0x46b22(_0x173d46,_0x57b8e9,_0x2b9826),_0x2b9826=Object[_0x396f7c(0x1e0)](null)):_0x47028f=_0x57b8e9,_0xe3fc87=_0x17d02c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e35b5);}}}else{if(_0x4ac3a1===void 0x0){if(_0x17d02c===-0x1&&_0x3d8fd5[_0x218b2b]===0x1)_0xe3fc87===-0x1&&(_0xe3fc87=_0x1e35b5);else{if(_0x218b2b===0x20||_0x218b2b===0x9)_0x17d02c===-0x1&&_0xe3fc87!==-0x1&&(_0x17d02c=_0x1e35b5);else{if(_0x218b2b===0x3b||_0x218b2b===0x2c){if(_0xe3fc87===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e35b5);_0x17d02c===-0x1&&(_0x17d02c=_0x1e35b5),_0x46b22(_0x2b9826,_0x246a8c[_0x396f7c(0x74)](_0xe3fc87,_0x17d02c),!0x0),_0x218b2b===0x2c&&(_0x46b22(_0x173d46,_0x47028f,_0x2b9826),_0x2b9826=Object['create'](null),_0x47028f=void 0x0),_0xe3fc87=_0x17d02c=-0x1;}else{if(_0x218b2b===0x3d&&_0xe3fc87!==-0x1&&_0x17d02c===-0x1)_0x4ac3a1=_0x246a8c[_0x396f7c(0x74)](_0xe3fc87,_0x1e35b5),_0xe3fc87=_0x17d02c=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e35b5);}}}}else{if(_0xaa061f){if(_0x3d8fd5[_0x218b2b]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e35b5);_0xe3fc87===-0x1?_0xe3fc87=_0x1e35b5:_0x16d569||(_0x16d569=!0x0),_0xaa061f=!0x1;}else{if(_0x4768cd){if(_0x3d8fd5[_0x218b2b]===0x1)_0xe3fc87===-0x1&&(_0xe3fc87=_0x1e35b5);else{if(_0x218b2b===0x22&&_0xe3fc87!==-0x1)_0x4768cd=!0x1,_0x17d02c=_0x1e35b5;else{if(_0x218b2b===0x5c)_0xaa061f=!0x0;else throw new SyntaxError(_0x396f7c(0xc4)+_0x1e35b5);}}}else{if(_0x218b2b===0x22&&_0x246a8c[_0x396f7c(0xe1)](_0x1e35b5-0x1)===0x3d)_0x4768cd=!0x0;else{if(_0x17d02c===-0x1&&_0x3d8fd5[_0x218b2b]===0x1)_0xe3fc87===-0x1&&(_0xe3fc87=_0x1e35b5);else{if(_0xe3fc87!==-0x1&&(_0x218b2b===0x20||_0x218b2b===0x9))_0x17d02c===-0x1&&(_0x17d02c=_0x1e35b5);else{if(_0x218b2b===0x3b||_0x218b2b===0x2c){if(_0xe3fc87===-0x1)throw new SyntaxError(_0x396f7c(0xc4)+_0x1e35b5);_0x17d02c===-0x1&&(_0x17d02c=_0x1e35b5);let _0x10f16d=_0x246a8c[_0x396f7c(0x74)](_0xe3fc87,_0x17d02c);_0x16d569&&(_0x10f16d=_0x10f16d[_0x396f7c(0x131)](/\\/g,''),_0x16d569=!0x1),_0x46b22(_0x2b9826,_0x4ac3a1,_0x10f16d),_0x218b2b===0x2c&&(_0x46b22(_0x173d46,_0x47028f,_0x2b9826),_0x2b9826=Object[_0x396f7c(0x1e0)](null),_0x47028f=void 0x0),_0x4ac3a1=void 0x0,_0xe3fc87=_0x17d02c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e35b5);}}}}}}}if(_0xe3fc87===-0x1||_0x4768cd||_0x218b2b===0x20||_0x218b2b===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x17d02c===-0x1&&(_0x17d02c=_0x1e35b5);const _0x130cee=_0x246a8c[_0x396f7c(0x74)](_0xe3fc87,_0x17d02c);return _0x47028f===void 0x0?_0x46b22(_0x173d46,_0x130cee,_0x2b9826):(_0x4ac3a1===void 0x0?_0x46b22(_0x2b9826,_0x130cee,!0x0):_0x16d569?_0x46b22(_0x2b9826,_0x4ac3a1,_0x130cee['replace'](/\\/g,'')):_0x46b22(_0x2b9826,_0x4ac3a1,_0x130cee),_0x46b22(_0x173d46,_0x47028f,_0x2b9826)),_0x173d46;}function _0x1aa208(_0x5c9882){const _0x2ccc0c=_0xb531;return Object[_0x2ccc0c(0x94)](_0x5c9882)[_0x2ccc0c(0xed)](_0x33fcc6=>{const _0x7d8e30=_0x2ccc0c;let _0x369f53=_0x5c9882[_0x33fcc6];return Array[_0x7d8e30(0x133)](_0x369f53)||(_0x369f53=[_0x369f53]),_0x369f53[_0x7d8e30(0xed)](_0x48afaf=>[_0x33fcc6][_0x7d8e30(0x195)](Object[_0x7d8e30(0x94)](_0x48afaf)['map'](_0x30cb08=>{const _0x2f68f1=_0x7d8e30;let _0x559c8d=_0x48afaf[_0x30cb08];return Array['isArray'](_0x559c8d)||(_0x559c8d=[_0x559c8d]),_0x559c8d[_0x2f68f1(0xed)](_0x207d29=>_0x207d29===!0x0?_0x30cb08:_0x30cb08+'='+_0x207d29)[_0x2f68f1(0x19d)](';\x20');}))[_0x7d8e30(0x19d)](';\x20'))['join'](',\x20');})[_0x2ccc0c(0x19d)](',\x20');}return be={'format':_0x1aa208,'parse':_0x33e4f5},be;}var we,st;function Ie(){const _0x4208dd=_0xf71ff4;if(st)return we;st=0x1;const _0xe43b00=_0x20a754,_0x310a06=_0x4d5231,_0x3f7867=_0x58d4f2,_0x1b4800=_0x2a5a1f,_0x2b020a=_0x126323,{randomBytes:_0x48ec54,createHash:_0x49ae01}=_0x5a3eff,{Duplex:_0x1a3686,Readable:_0x36b20a}=_0x363ac0,{URL:_0x39b066}=_0x44d9fa,_0x1a15bf=he(),_0x74121c=dt(),_0x2665d1=_t(),{isBlob:_0x8740fb}=ne(),{BINARY_TYPES:_0x5712b4,EMPTY_BUFFER:_0x571a1c,GUID:_0x48f07f,kForOnEventAttribute:_0x2a4022,kListener:_0x87e414,kStatusCode:_0x2b7602,kWebSocket:_0x25092b,NOOP:_0x202692}=V(),{EventTarget:{addEventListener:_0xab9a3a,removeEventListener:_0x14543a}}=Kt(),{format:_0x1cc5a7,parse:_0x76571c}=pt(),{toBuffer:_0x2c2fb8}=ce(),_0x265abe=0x1e*0x3e8,_0x166607=Symbol(_0x4208dd(0x117)),_0x5b8499=[0x8,0xd],_0xc1684f=[_0x4208dd(0x1a9),_0x4208dd(0x7a),_0x4208dd(0x8a),'CLOSED'],_0x361c8c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1c4d3c extends _0xe43b00{constructor(_0x2d694f,_0x525fd6,_0x8323da){const _0x483a81=_0x4208dd;super(),this[_0x483a81(0x1f5)]=_0x5712b4[0x0],this[_0x483a81(0x186)]=0x3ee,this[_0x483a81(0x1fc)]=!0x1,this[_0x483a81(0x153)]=!0x1,this[_0x483a81(0x1dd)]=_0x571a1c,this[_0x483a81(0x103)]=null,this['_errorEmitted']=!0x1,this[_0x483a81(0x1ec)]={},this[_0x483a81(0xa1)]=!0x1,this[_0x483a81(0x97)]='',this['_readyState']=_0x1c4d3c['CONNECTING'],this[_0x483a81(0x118)]=null,this[_0x483a81(0x183)]=null,this['_socket']=null,_0x2d694f!==null?(this[_0x483a81(0x11e)]=0x0,this[_0x483a81(0x1e8)]=!0x1,this[_0x483a81(0x84)]=0x0,_0x525fd6===void 0x0?_0x525fd6=[]:Array[_0x483a81(0x133)](_0x525fd6)||(typeof _0x525fd6==_0x483a81(0x1ee)&&_0x525fd6!==null?(_0x8323da=_0x525fd6,_0x525fd6=[]):_0x525fd6=[_0x525fd6]),_0x4ecb33(this,_0x2d694f,_0x525fd6,_0x8323da)):(this[_0x483a81(0x168)]=_0x8323da['autoPong'],this[_0x483a81(0x1e8)]=!0x0);}get[_0x4208dd(0x76)](){return this['_binaryType'];}set[_0x4208dd(0x76)](_0x55d3b1){const _0x17caa7=_0x4208dd;_0x5712b4[_0x17caa7(0x95)](_0x55d3b1)&&(this['_binaryType']=_0x55d3b1,this[_0x17caa7(0x118)]&&(this[_0x17caa7(0x118)]['_binaryType']=_0x55d3b1));}get['bufferedAmount'](){const _0x181c35=_0x4208dd;return this[_0x181c35(0xd6)]?this[_0x181c35(0xd6)][_0x181c35(0x1c0)][_0x181c35(0x181)]+this[_0x181c35(0x183)][_0x181c35(0xb1)]:this[_0x181c35(0x11e)];}get[_0x4208dd(0x14f)](){const _0x1ab848=_0x4208dd;return Object[_0x1ab848(0x94)](this['_extensions'])[_0x1ab848(0x19d)]();}get['isPaused'](){const _0x1463f0=_0x4208dd;return this[_0x1463f0(0xa1)];}get[_0x4208dd(0xc1)](){return null;}get[_0x4208dd(0x154)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x4208dd(0x17d)](){const _0x2b201f=_0x4208dd;return this[_0x2b201f(0x97)];}get[_0x4208dd(0xcb)](){const _0x23ff85=_0x4208dd;return this[_0x23ff85(0x72)];}get[_0x4208dd(0x138)](){const _0x4f88c3=_0x4208dd;return this[_0x4f88c3(0x20e)];}[_0x4208dd(0x185)](_0x4acd8e,_0xc5dc1f,_0x51e13f){const _0x1ea494=_0x4208dd,_0x904d1b=new _0x74121c({'allowSynchronousEvents':_0x51e13f[_0x1ea494(0x148)],'binaryType':this['binaryType'],'extensions':this[_0x1ea494(0x1ec)],'isServer':this[_0x1ea494(0x1e8)],'maxPayload':_0x51e13f[_0x1ea494(0x177)],'skipUTF8Validation':_0x51e13f[_0x1ea494(0x106)]}),_0x2aa5d1=new _0x2665d1(_0x4acd8e,this['_extensions'],_0x51e13f[_0x1ea494(0x188)]);this['_receiver']=_0x904d1b,this[_0x1ea494(0x183)]=_0x2aa5d1,this[_0x1ea494(0xd6)]=_0x4acd8e,_0x904d1b[_0x25092b]=this,_0x2aa5d1[_0x25092b]=this,_0x4acd8e[_0x25092b]=this,_0x904d1b['on'](_0x1ea494(0x9b),_0x2e97fa),_0x904d1b['on'](_0x1ea494(0x11d),_0x5bba54),_0x904d1b['on']('error',_0xd429b9),_0x904d1b['on'](_0x1ea494(0x1be),_0x2acc67),_0x904d1b['on'](_0x1ea494(0x1e5),_0x33087c),_0x904d1b['on'](_0x1ea494(0x1bf),_0x24a176),_0x2aa5d1['onerror']=_0x40b3b0,_0x4acd8e['setTimeout']&&_0x4acd8e[_0x1ea494(0x1e6)](0x0),_0x4acd8e[_0x1ea494(0x1eb)]&&_0x4acd8e['setNoDelay'](),_0xc5dc1f['length']>0x0&&_0x4acd8e['unshift'](_0xc5dc1f),_0x4acd8e['on']('close',_0x202680),_0x4acd8e['on'](_0x1ea494(0x10e),_0x58444d),_0x4acd8e['on'](_0x1ea494(0xc6),_0x1f4e79),_0x4acd8e['on'](_0x1ea494(0x205),_0x24f9dc),this[_0x1ea494(0x72)]=_0x1c4d3c[_0x1ea494(0x7a)],this[_0x1ea494(0x220)]('open');}[_0x4208dd(0xd8)](){const _0x516d8a=_0x4208dd;if(!this[_0x516d8a(0xd6)]){this[_0x516d8a(0x72)]=_0x1c4d3c[_0x516d8a(0xf3)],this['emit'](_0x516d8a(0xe3),this[_0x516d8a(0x186)],this[_0x516d8a(0x1dd)]);return;}this['_extensions'][_0x1a15bf[_0x516d8a(0x14a)]]&&this[_0x516d8a(0x1ec)][_0x1a15bf[_0x516d8a(0x14a)]]['cleanup'](),this[_0x516d8a(0x118)]['removeAllListeners'](),this[_0x516d8a(0x72)]=_0x1c4d3c[_0x516d8a(0xf3)],this[_0x516d8a(0x220)](_0x516d8a(0xe3),this[_0x516d8a(0x186)],this[_0x516d8a(0x1dd)]);}[_0x4208dd(0xe3)](_0x32c8c9,_0x337874){const _0x1b9864=_0x4208dd;if(this[_0x1b9864(0xcb)]!==_0x1c4d3c[_0x1b9864(0xf3)]){if(this[_0x1b9864(0xcb)]===_0x1c4d3c[_0x1b9864(0x1a9)]){_0x6c8263(this,this[_0x1b9864(0x17c)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1b9864(0xcb)]===_0x1c4d3c[_0x1b9864(0x8a)]){this[_0x1b9864(0x153)]&&(this['_closeFrameReceived']||this[_0x1b9864(0x118)][_0x1b9864(0x1c0)][_0x1b9864(0xd0)])&&this[_0x1b9864(0xd6)][_0x1b9864(0xc6)]();return;}this[_0x1b9864(0x72)]=_0x1c4d3c[_0x1b9864(0x8a)],this[_0x1b9864(0x183)][_0x1b9864(0xe3)](_0x32c8c9,_0x337874,!this[_0x1b9864(0x1e8)],_0x4a4eca=>{const _0x262c9f=_0x1b9864;_0x4a4eca||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x262c9f(0x1c0)][_0x262c9f(0xd0)])&&this[_0x262c9f(0xd6)]['end']());}),_0x44af5d(this);}}['pause'](){const _0x3c9d68=_0x4208dd;this['readyState']===_0x1c4d3c[_0x3c9d68(0x1a9)]||this[_0x3c9d68(0xcb)]===_0x1c4d3c[_0x3c9d68(0xf3)]||(this[_0x3c9d68(0xa1)]=!0x0,this[_0x3c9d68(0xd6)][_0x3c9d68(0x100)]());}['ping'](_0x3e86ce,_0x432e27,_0x104dc5){const _0x31143b=_0x4208dd;if(this[_0x31143b(0xcb)]===_0x1c4d3c[_0x31143b(0x1a9)])throw new Error(_0x31143b(0x1b2));if(typeof _0x3e86ce=='function'?(_0x104dc5=_0x3e86ce,_0x3e86ce=_0x432e27=void 0x0):typeof _0x432e27=='function'&&(_0x104dc5=_0x432e27,_0x432e27=void 0x0),typeof _0x3e86ce==_0x31143b(0x111)&&(_0x3e86ce=_0x3e86ce[_0x31143b(0x1d3)]()),this['readyState']!==_0x1c4d3c[_0x31143b(0x7a)]){_0xf75e62(this,_0x3e86ce,_0x104dc5);return;}_0x432e27===void 0x0&&(_0x432e27=!this[_0x31143b(0x1e8)]),this['_sender'][_0x31143b(0x1e5)](_0x3e86ce||_0x571a1c,_0x432e27,_0x104dc5);}[_0x4208dd(0x1bf)](_0x12dfe8,_0x7d3889,_0x4ce484){const _0x33d854=_0x4208dd;if(this['readyState']===_0x1c4d3c[_0x33d854(0x1a9)])throw new Error(_0x33d854(0x1b2));if(typeof _0x12dfe8==_0x33d854(0xc7)?(_0x4ce484=_0x12dfe8,_0x12dfe8=_0x7d3889=void 0x0):typeof _0x7d3889==_0x33d854(0xc7)&&(_0x4ce484=_0x7d3889,_0x7d3889=void 0x0),typeof _0x12dfe8==_0x33d854(0x111)&&(_0x12dfe8=_0x12dfe8[_0x33d854(0x1d3)]()),this[_0x33d854(0xcb)]!==_0x1c4d3c[_0x33d854(0x7a)]){_0xf75e62(this,_0x12dfe8,_0x4ce484);return;}_0x7d3889===void 0x0&&(_0x7d3889=!this[_0x33d854(0x1e8)]),this[_0x33d854(0x183)][_0x33d854(0x1bf)](_0x12dfe8||_0x571a1c,_0x7d3889,_0x4ce484);}[_0x4208dd(0x15f)](){const _0x163726=_0x4208dd;this[_0x163726(0xcb)]===_0x1c4d3c[_0x163726(0x1a9)]||this[_0x163726(0xcb)]===_0x1c4d3c[_0x163726(0xf3)]||(this[_0x163726(0xa1)]=!0x1,this['_receiver']['_writableState'][_0x163726(0x1fb)]||this[_0x163726(0xd6)][_0x163726(0x15f)]());}[_0x4208dd(0xb3)](_0x37f187,_0x40413b,_0x46fbb9){const _0xef8a6a=_0x4208dd;if(this[_0xef8a6a(0xcb)]===_0x1c4d3c['CONNECTING'])throw new Error(_0xef8a6a(0x1b2));if(typeof _0x40413b==_0xef8a6a(0xc7)&&(_0x46fbb9=_0x40413b,_0x40413b={}),typeof _0x37f187==_0xef8a6a(0x111)&&(_0x37f187=_0x37f187[_0xef8a6a(0x1d3)]()),this[_0xef8a6a(0xcb)]!==_0x1c4d3c['OPEN']){_0xf75e62(this,_0x37f187,_0x46fbb9);return;}const _0x3c235e={'binary':typeof _0x37f187!=_0xef8a6a(0x213),'mask':!this[_0xef8a6a(0x1e8)],'compress':!0x0,'fin':!0x0,..._0x40413b};this[_0xef8a6a(0x1ec)][_0x1a15bf['extensionName']]||(_0x3c235e[_0xef8a6a(0x11b)]=!0x1),this[_0xef8a6a(0x183)][_0xef8a6a(0xb3)](_0x37f187||_0x571a1c,_0x3c235e,_0x46fbb9);}[_0x4208dd(0x1ca)](){const _0x19993c=_0x4208dd;if(this[_0x19993c(0xcb)]!==_0x1c4d3c[_0x19993c(0xf3)]){if(this[_0x19993c(0xcb)]===_0x1c4d3c[_0x19993c(0x1a9)]){_0x6c8263(this,this[_0x19993c(0x17c)],_0x19993c(0xe9));return;}this[_0x19993c(0xd6)]&&(this[_0x19993c(0x72)]=_0x1c4d3c[_0x19993c(0x8a)],this[_0x19993c(0xd6)][_0x19993c(0x192)]());}}}Object[_0x4208dd(0x17a)](_0x1c4d3c,_0x4208dd(0x1a9),{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0x1a9))}),Object[_0x4208dd(0x17a)](_0x1c4d3c[_0x4208dd(0xb8)],_0x4208dd(0x1a9),{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)]('CONNECTING')}),Object[_0x4208dd(0x17a)](_0x1c4d3c,'OPEN',{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0x7a))}),Object[_0x4208dd(0x17a)](_0x1c4d3c['prototype'],'OPEN',{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0x7a))}),Object['defineProperty'](_0x1c4d3c,'CLOSING',{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0x8a))}),Object[_0x4208dd(0x17a)](_0x1c4d3c[_0x4208dd(0xb8)],_0x4208dd(0x8a),{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)]('CLOSING')}),Object['defineProperty'](_0x1c4d3c,_0x4208dd(0xf3),{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0xf3))}),Object['defineProperty'](_0x1c4d3c['prototype'],_0x4208dd(0xf3),{'enumerable':!0x0,'value':_0xc1684f[_0x4208dd(0x135)](_0x4208dd(0xf3))}),['binaryType',_0x4208dd(0x129),_0x4208dd(0x14f),'isPaused',_0x4208dd(0x17d),_0x4208dd(0xcb),'url']['forEach'](_0x11fe4c=>{const _0x1a236d=_0x4208dd;Object[_0x1a236d(0x17a)](_0x1c4d3c['prototype'],_0x11fe4c,{'enumerable':!0x0});}),[_0x4208dd(0x1b7),_0x4208dd(0x205),_0x4208dd(0xe3),_0x4208dd(0x1be)][_0x4208dd(0x204)](_0x4a2043=>{const _0x23c005=_0x4208dd;Object['defineProperty'](_0x1c4d3c[_0x23c005(0xb8)],'on'+_0x4a2043,{'enumerable':!0x0,'get'(){for(const _0x39856a of this['listeners'](_0x4a2043))if(_0x39856a[_0x2a4022])return _0x39856a[_0x87e414];return null;},'set'(_0x377d73){const _0x3de3d0=_0x23c005;for(const _0x52fd74 of this['listeners'](_0x4a2043))if(_0x52fd74[_0x2a4022]){this[_0x3de3d0(0x18a)](_0x4a2043,_0x52fd74);break;}typeof _0x377d73==_0x3de3d0(0xc7)&&this['addEventListener'](_0x4a2043,_0x377d73,{[_0x2a4022]:!0x0});}});}),_0x1c4d3c[_0x4208dd(0xb8)][_0x4208dd(0x12a)]=_0xab9a3a,_0x1c4d3c[_0x4208dd(0xb8)]['removeEventListener']=_0x14543a,we=_0x1c4d3c;function _0x4ecb33(_0x59dd63,_0x507758,_0x41182c,_0x47ce42){const _0x4124ca=_0x4208dd,_0x613bdd={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5b8499[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x47ce42,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4124ca(0x124),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x59dd63[_0x4124ca(0x168)]=_0x613bdd[_0x4124ca(0xa6)],!_0x5b8499[_0x4124ca(0x95)](_0x613bdd[_0x4124ca(0x171)]))throw new RangeError(_0x4124ca(0x14e)+_0x613bdd[_0x4124ca(0x171)]+'\x20(supported\x20versions:\x20'+_0x5b8499['join'](',\x20')+')');let _0x46ea35;if(_0x507758 instanceof _0x39b066)_0x46ea35=_0x507758;else try{_0x46ea35=new _0x39b066(_0x507758);}catch{throw new SyntaxError(_0x4124ca(0x218)+_0x507758);}_0x46ea35['protocol']===_0x4124ca(0x101)?_0x46ea35['protocol']='ws:':_0x46ea35[_0x4124ca(0x17d)]===_0x4124ca(0x1d2)&&(_0x46ea35[_0x4124ca(0x17d)]=_0x4124ca(0x1ff)),_0x59dd63['_url']=_0x46ea35[_0x4124ca(0x91)];const _0x65ddfb=_0x46ea35[_0x4124ca(0x17d)]===_0x4124ca(0x1ff),_0xb70a6a=_0x46ea35['protocol']===_0x4124ca(0x176);let _0x578fa4;if(_0x46ea35[_0x4124ca(0x17d)]!==_0x4124ca(0x8b)&&!_0x65ddfb&&!_0xb70a6a?_0x578fa4=_0x4124ca(0x17e):_0xb70a6a&&!_0x46ea35['pathname']?_0x578fa4=_0x4124ca(0xd1):_0x46ea35[_0x4124ca(0x167)]&&(_0x578fa4=_0x4124ca(0x75)),_0x578fa4){const _0x4e26ef=new SyntaxError(_0x578fa4);if(_0x59dd63[_0x4124ca(0x84)]===0x0)throw _0x4e26ef;_0x50f19f(_0x59dd63,_0x4e26ef);return;}const _0x27efcd=_0x65ddfb?0x1bb:0x50,_0x37c259=_0x48ec54(0x10)[_0x4124ca(0x1d3)](_0x4124ca(0xdd)),_0x48463f=_0x65ddfb?_0x310a06[_0x4124ca(0xc9)]:_0x3f7867[_0x4124ca(0xc9)],_0x4e6f5e=new Set();let _0x40d1e5;if(_0x613bdd[_0x4124ca(0xa9)]=_0x613bdd[_0x4124ca(0xa9)]||(_0x65ddfb?_0x1e68e6:_0x543546),_0x613bdd[_0x4124ca(0x1c8)]=_0x613bdd['defaultPort']||_0x27efcd,_0x613bdd[_0x4124ca(0x1e7)]=_0x46ea35[_0x4124ca(0x1e7)]||_0x27efcd,_0x613bdd['host']=_0x46ea35[_0x4124ca(0x156)][_0x4124ca(0x15e)]('[')?_0x46ea35[_0x4124ca(0x156)][_0x4124ca(0x74)](0x1,-0x1):_0x46ea35[_0x4124ca(0x156)],_0x613bdd[_0x4124ca(0x77)]={..._0x613bdd['headers'],'Sec-WebSocket-Version':_0x613bdd[_0x4124ca(0x171)],'Sec-WebSocket-Key':_0x37c259,'Connection':_0x4124ca(0x8f),'Upgrade':_0x4124ca(0x21f)},_0x613bdd[_0x4124ca(0x151)]=_0x46ea35[_0x4124ca(0x80)]+_0x46ea35[_0x4124ca(0x210)],_0x613bdd[_0x4124ca(0x21b)]=_0x613bdd[_0x4124ca(0x8d)],_0x613bdd['perMessageDeflate']&&(_0x40d1e5=new _0x1a15bf(_0x613bdd['perMessageDeflate']!==!0x0?_0x613bdd['perMessageDeflate']:{},!0x1,_0x613bdd['maxPayload']),_0x613bdd[_0x4124ca(0x77)][_0x4124ca(0xfb)]=_0x1cc5a7({[_0x1a15bf[_0x4124ca(0x14a)]]:_0x40d1e5['offer']()})),_0x41182c[_0x4124ca(0x181)]){for(const _0xe54839 of _0x41182c){if(typeof _0xe54839!='string'||!_0x361c8c[_0x4124ca(0x1bd)](_0xe54839)||_0x4e6f5e[_0x4124ca(0x1e3)](_0xe54839))throw new SyntaxError(_0x4124ca(0x1cf));_0x4e6f5e[_0x4124ca(0x17f)](_0xe54839);}_0x613bdd[_0x4124ca(0x77)][_0x4124ca(0x79)]=_0x41182c['join'](',');}if(_0x613bdd[_0x4124ca(0xd2)]&&(_0x613bdd[_0x4124ca(0x171)]<0xd?_0x613bdd['headers']['Sec-WebSocket-Origin']=_0x613bdd['origin']:_0x613bdd[_0x4124ca(0x77)]['Origin']=_0x613bdd[_0x4124ca(0xd2)]),(_0x46ea35[_0x4124ca(0x142)]||_0x46ea35[_0x4124ca(0x164)])&&(_0x613bdd[_0x4124ca(0xe7)]=_0x46ea35[_0x4124ca(0x142)]+':'+_0x46ea35[_0x4124ca(0x164)]),_0xb70a6a){const _0x25c6c7=_0x613bdd[_0x4124ca(0x151)][_0x4124ca(0x201)](':');_0x613bdd['socketPath']=_0x25c6c7[0x0],_0x613bdd[_0x4124ca(0x151)]=_0x25c6c7[0x1];}let _0x5ef677;if(_0x613bdd[_0x4124ca(0xa7)]){if(_0x59dd63[_0x4124ca(0x84)]===0x0){_0x59dd63[_0x4124ca(0x207)]=_0xb70a6a,_0x59dd63['_originalSecure']=_0x65ddfb,_0x59dd63[_0x4124ca(0xa3)]=_0xb70a6a?_0x613bdd['socketPath']:_0x46ea35[_0x4124ca(0x216)];const _0x4afd9d=_0x47ce42&&_0x47ce42[_0x4124ca(0x77)];if(_0x47ce42={..._0x47ce42,'headers':{}},_0x4afd9d){for(const [_0x267395,_0x49cd74]of Object[_0x4124ca(0x191)](_0x4afd9d))_0x47ce42['headers'][_0x267395[_0x4124ca(0x1c7)]()]=_0x49cd74;}}else{if(_0x59dd63['listenerCount'](_0x4124ca(0x16c))===0x0){const _0x260044=_0xb70a6a?_0x59dd63[_0x4124ca(0x207)]?_0x613bdd[_0x4124ca(0x172)]===_0x59dd63[_0x4124ca(0xa3)]:!0x1:_0x59dd63['_originalIpc']?!0x1:_0x46ea35[_0x4124ca(0x216)]===_0x59dd63[_0x4124ca(0xa3)];(!_0x260044||_0x59dd63['_originalSecure']&&!_0x65ddfb)&&(delete _0x613bdd[_0x4124ca(0x77)][_0x4124ca(0x115)],delete _0x613bdd[_0x4124ca(0x77)][_0x4124ca(0x1ea)],_0x260044||delete _0x613bdd[_0x4124ca(0x77)][_0x4124ca(0x216)],_0x613bdd[_0x4124ca(0xe7)]=void 0x0);}}_0x613bdd[_0x4124ca(0xe7)]&&!_0x47ce42['headers'][_0x4124ca(0x115)]&&(_0x47ce42[_0x4124ca(0x77)][_0x4124ca(0x115)]=_0x4124ca(0x19c)+Buffer[_0x4124ca(0xc0)](_0x613bdd[_0x4124ca(0xe7)])[_0x4124ca(0x1d3)](_0x4124ca(0xdd))),_0x5ef677=_0x59dd63['_req']=_0x48463f(_0x613bdd),_0x59dd63[_0x4124ca(0x84)]&&_0x59dd63[_0x4124ca(0x220)](_0x4124ca(0x16c),_0x59dd63[_0x4124ca(0x138)],_0x5ef677);}else _0x5ef677=_0x59dd63[_0x4124ca(0x17c)]=_0x48463f(_0x613bdd);_0x613bdd['timeout']&&_0x5ef677['on'](_0x4124ca(0x21b),()=>{const _0x53e68b=_0x4124ca;_0x6c8263(_0x59dd63,_0x5ef677,_0x53e68b(0x130));}),_0x5ef677['on'](_0x4124ca(0x205),_0x32702b=>{const _0x423e84=_0x4124ca;_0x5ef677===null||_0x5ef677[_0x166607]||(_0x5ef677=_0x59dd63[_0x423e84(0x17c)]=null,_0x50f19f(_0x59dd63,_0x32702b));}),_0x5ef677['on'](_0x4124ca(0x13d),_0x5b0b1d=>{const _0x18a17b=_0x4124ca,_0x558591=_0x5b0b1d[_0x18a17b(0x77)]['location'],_0x598165=_0x5b0b1d[_0x18a17b(0x1f7)];if(_0x558591&&_0x613bdd[_0x18a17b(0xa7)]&&_0x598165>=0x12c&&_0x598165<0x190){if(++_0x59dd63[_0x18a17b(0x84)]>_0x613bdd[_0x18a17b(0x10d)]){_0x6c8263(_0x59dd63,_0x5ef677,_0x18a17b(0xfd));return;}_0x5ef677['abort']();let _0x15e7e1;try{_0x15e7e1=new _0x39b066(_0x558591,_0x507758);}catch{const _0x7af729=new SyntaxError(_0x18a17b(0x218)+_0x558591);_0x50f19f(_0x59dd63,_0x7af729);return;}_0x4ecb33(_0x59dd63,_0x15e7e1,_0x41182c,_0x47ce42);}else _0x59dd63['emit']('unexpected-response',_0x5ef677,_0x5b0b1d)||_0x6c8263(_0x59dd63,_0x5ef677,_0x18a17b(0x196)+_0x5b0b1d['statusCode']);}),_0x5ef677['on'](_0x4124ca(0x15c),(_0x287abb,_0x19bc83,_0x409e31)=>{const _0x116f58=_0x4124ca;if(_0x59dd63[_0x116f58(0x220)](_0x116f58(0x15c),_0x287abb),_0x59dd63[_0x116f58(0xcb)]!==_0x1c4d3c[_0x116f58(0x1a9)])return;_0x5ef677=_0x59dd63[_0x116f58(0x17c)]=null;const _0x5acc21=_0x287abb[_0x116f58(0x77)][_0x116f58(0x15c)];if(_0x5acc21===void 0x0||_0x5acc21[_0x116f58(0x1c7)]()!==_0x116f58(0x21f)){_0x6c8263(_0x59dd63,_0x19bc83,'Invalid\x20Upgrade\x20header');return;}const _0x33bf95=_0x49ae01('sha1')['update'](_0x37c259+_0x48f07f)['digest'](_0x116f58(0xdd));if(_0x287abb[_0x116f58(0x77)][_0x116f58(0x88)]!==_0x33bf95){_0x6c8263(_0x59dd63,_0x19bc83,_0x116f58(0xc8));return;}const _0x6b3f7f=_0x287abb[_0x116f58(0x77)][_0x116f58(0x12e)];let _0x306a33;if(_0x6b3f7f!==void 0x0?_0x4e6f5e[_0x116f58(0x121)]?_0x4e6f5e[_0x116f58(0x1e3)](_0x6b3f7f)||(_0x306a33=_0x116f58(0x21a)):_0x306a33=_0x116f58(0x110):_0x4e6f5e['size']&&(_0x306a33=_0x116f58(0x1dc)),_0x306a33){_0x6c8263(_0x59dd63,_0x19bc83,_0x306a33);return;}_0x6b3f7f&&(_0x59dd63[_0x116f58(0x97)]=_0x6b3f7f);const _0x159131=_0x287abb['headers']['sec-websocket-extensions'];if(_0x159131!==void 0x0){if(!_0x40d1e5){_0x6c8263(_0x59dd63,_0x19bc83,_0x116f58(0x150));return;}let _0x37ba28;try{_0x37ba28=_0x76571c(_0x159131);}catch{_0x6c8263(_0x59dd63,_0x19bc83,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x356925=Object[_0x116f58(0x94)](_0x37ba28);if(_0x356925[_0x116f58(0x181)]!==0x1||_0x356925[0x0]!==_0x1a15bf[_0x116f58(0x14a)]){_0x6c8263(_0x59dd63,_0x19bc83,_0x116f58(0x78));return;}try{_0x40d1e5[_0x116f58(0x200)](_0x37ba28[_0x1a15bf['extensionName']]);}catch{_0x6c8263(_0x59dd63,_0x19bc83,_0x116f58(0x212));return;}_0x59dd63[_0x116f58(0x1ec)][_0x1a15bf[_0x116f58(0x14a)]]=_0x40d1e5;}_0x59dd63['setSocket'](_0x19bc83,_0x409e31,{'allowSynchronousEvents':_0x613bdd[_0x116f58(0x148)],'generateMask':_0x613bdd[_0x116f58(0x188)],'maxPayload':_0x613bdd[_0x116f58(0x177)],'skipUTF8Validation':_0x613bdd[_0x116f58(0x106)]});}),_0x613bdd['finishRequest']?_0x613bdd[_0x4124ca(0x165)](_0x5ef677,_0x59dd63):_0x5ef677[_0x4124ca(0xc6)]();}function _0x50f19f(_0x3d4fee,_0x29724a){const _0x2e5302=_0x4208dd;_0x3d4fee['_readyState']=_0x1c4d3c[_0x2e5302(0x8a)],_0x3d4fee[_0x2e5302(0xe8)]=!0x0,_0x3d4fee[_0x2e5302(0x220)](_0x2e5302(0x205),_0x29724a),_0x3d4fee[_0x2e5302(0xd8)]();}function _0x543546(_0x45166b){const _0x2bca59=_0x4208dd;return _0x45166b[_0x2bca59(0x151)]=_0x45166b['socketPath'],_0x1b4800[_0x2bca59(0x8e)](_0x45166b);}function _0x1e68e6(_0x4f819e){const _0x3cf0a9=_0x4208dd;return _0x4f819e[_0x3cf0a9(0x151)]=void 0x0,!_0x4f819e['servername']&&_0x4f819e[_0x3cf0a9(0x132)]!==''&&(_0x4f819e['servername']=_0x1b4800['isIP'](_0x4f819e[_0x3cf0a9(0x216)])?'':_0x4f819e[_0x3cf0a9(0x216)]),_0x2b020a['connect'](_0x4f819e);}function _0x6c8263(_0x3dd92d,_0x403cdd,_0x374f2d){const _0x585651=_0x4208dd;_0x3dd92d['_readyState']=_0x1c4d3c[_0x585651(0x8a)];const _0x34e3f8=new Error(_0x374f2d);Error[_0x585651(0x7f)](_0x34e3f8,_0x6c8263),_0x403cdd[_0x585651(0x1f1)]?(_0x403cdd[_0x166607]=!0x0,_0x403cdd['abort'](),_0x403cdd['socket']&&!_0x403cdd[_0x585651(0xb2)][_0x585651(0x1f6)]&&_0x403cdd[_0x585651(0xb2)][_0x585651(0x192)](),process[_0x585651(0x1fd)](_0x50f19f,_0x3dd92d,_0x34e3f8)):(_0x403cdd[_0x585651(0x192)](_0x34e3f8),_0x403cdd[_0x585651(0xaa)]('error',_0x3dd92d['emit']['bind'](_0x3dd92d,_0x585651(0x205))),_0x403cdd[_0x585651(0xaa)]('close',_0x3dd92d['emitClose'][_0x585651(0x122)](_0x3dd92d)));}function _0xf75e62(_0xa1c4d3,_0x147a56,_0x4604d2){const _0x55d2b3=_0x4208dd;if(_0x147a56){const _0x5eab6a=_0x8740fb(_0x147a56)?_0x147a56[_0x55d2b3(0x121)]:_0x2c2fb8(_0x147a56)[_0x55d2b3(0x181)];_0xa1c4d3[_0x55d2b3(0xd6)]?_0xa1c4d3[_0x55d2b3(0x183)]['_bufferedBytes']+=_0x5eab6a:_0xa1c4d3[_0x55d2b3(0x11e)]+=_0x5eab6a;}if(_0x4604d2){const _0x53e518=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xa1c4d3['readyState']+'\x20('+_0xc1684f[_0xa1c4d3[_0x55d2b3(0xcb)]]+')');process[_0x55d2b3(0x1fd)](_0x4604d2,_0x53e518);}}function _0x2e97fa(_0x52270d,_0x2e52fb){const _0x14b401=_0x4208dd,_0x197c85=this[_0x25092b];_0x197c85[_0x14b401(0x1fc)]=!0x0,_0x197c85[_0x14b401(0x1dd)]=_0x2e52fb,_0x197c85[_0x14b401(0x186)]=_0x52270d,_0x197c85[_0x14b401(0xd6)][_0x25092b]!==void 0x0&&(_0x197c85[_0x14b401(0xd6)][_0x14b401(0x18a)]('data',_0x58444d),process[_0x14b401(0x1fd)](_0x361b1e,_0x197c85[_0x14b401(0xd6)]),_0x52270d===0x3ed?_0x197c85[_0x14b401(0xe3)]():_0x197c85['close'](_0x52270d,_0x2e52fb));}function _0x5bba54(){const _0x300642=_0x4208dd,_0x3986da=this[_0x25092b];_0x3986da[_0x300642(0x7c)]||_0x3986da[_0x300642(0xd6)][_0x300642(0x15f)]();}function _0xd429b9(_0x107387){const _0x18ce6a=_0x4208dd,_0x3a6789=this[_0x25092b];_0x3a6789[_0x18ce6a(0xd6)][_0x25092b]!==void 0x0&&(_0x3a6789[_0x18ce6a(0xd6)]['removeListener'](_0x18ce6a(0x10e),_0x58444d),process[_0x18ce6a(0x1fd)](_0x361b1e,_0x3a6789[_0x18ce6a(0xd6)]),_0x3a6789['close'](_0x107387[_0x2b7602])),_0x3a6789[_0x18ce6a(0xe8)]||(_0x3a6789[_0x18ce6a(0xe8)]=!0x0,_0x3a6789[_0x18ce6a(0x220)]('error',_0x107387));}function _0x3a136b(){const _0x26ab5f=_0x4208dd;this[_0x25092b][_0x26ab5f(0xd8)]();}function _0x2acc67(_0x50b27c,_0x462e02){const _0x357ffb=_0x4208dd;this[_0x25092b][_0x357ffb(0x220)](_0x357ffb(0x1be),_0x50b27c,_0x462e02);}function _0x33087c(_0x2c6bcd){const _0x3f466b=_0x4208dd,_0x45a251=this[_0x25092b];_0x45a251[_0x3f466b(0x168)]&&_0x45a251[_0x3f466b(0x1bf)](_0x2c6bcd,!this[_0x3f466b(0x1e8)],_0x202692),_0x45a251[_0x3f466b(0x220)](_0x3f466b(0x1e5),_0x2c6bcd);}function _0x24a176(_0x57d090){const _0x21c41d=_0x4208dd;this[_0x25092b][_0x21c41d(0x220)](_0x21c41d(0x1bf),_0x57d090);}function _0x361b1e(_0x4c2560){_0x4c2560['resume']();}function _0x40b3b0(_0x41cceb){const _0x1bc907=_0x4208dd,_0x1a2108=this[_0x25092b];_0x1a2108[_0x1bc907(0xcb)]!==_0x1c4d3c[_0x1bc907(0xf3)]&&(_0x1a2108[_0x1bc907(0xcb)]===_0x1c4d3c[_0x1bc907(0x7a)]&&(_0x1a2108[_0x1bc907(0x72)]=_0x1c4d3c[_0x1bc907(0x8a)],_0x44af5d(_0x1a2108)),this[_0x1bc907(0xd6)][_0x1bc907(0xc6)](),_0x1a2108[_0x1bc907(0xe8)]||(_0x1a2108[_0x1bc907(0xe8)]=!0x0,_0x1a2108['emit']('error',_0x41cceb)));}function _0x44af5d(_0x27a0e1){const _0x4cacaf=_0x4208dd;_0x27a0e1[_0x4cacaf(0x103)]=setTimeout(_0x27a0e1['_socket'][_0x4cacaf(0x192)][_0x4cacaf(0x122)](_0x27a0e1[_0x4cacaf(0xd6)]),_0x265abe);}function _0x202680(){const _0x1eb9a1=_0x4208dd,_0x4181df=this[_0x25092b];this[_0x1eb9a1(0x18a)](_0x1eb9a1(0xe3),_0x202680),this[_0x1eb9a1(0x18a)](_0x1eb9a1(0x10e),_0x58444d),this[_0x1eb9a1(0x18a)]('end',_0x1f4e79),_0x4181df['_readyState']=_0x1c4d3c[_0x1eb9a1(0x8a)];let _0x548b5f;!this[_0x1eb9a1(0x18e)]['endEmitted']&&!_0x4181df[_0x1eb9a1(0x1fc)]&&!_0x4181df['_receiver'][_0x1eb9a1(0x1c0)][_0x1eb9a1(0xd0)]&&(_0x548b5f=_0x4181df[_0x1eb9a1(0xd6)]['read']())!==null&&_0x4181df[_0x1eb9a1(0x118)]['write'](_0x548b5f),_0x4181df['_receiver'][_0x1eb9a1(0xc6)](),this[_0x25092b]=void 0x0,clearTimeout(_0x4181df['_closeTimer']),_0x4181df[_0x1eb9a1(0x118)][_0x1eb9a1(0x1c0)]['finished']||_0x4181df[_0x1eb9a1(0x118)][_0x1eb9a1(0x1c0)][_0x1eb9a1(0xd0)]?_0x4181df[_0x1eb9a1(0xd8)]():(_0x4181df[_0x1eb9a1(0x118)]['on'](_0x1eb9a1(0x205),_0x3a136b),_0x4181df[_0x1eb9a1(0x118)]['on'](_0x1eb9a1(0xce),_0x3a136b));}function _0x58444d(_0x16b5af){const _0xd67bb8=_0x4208dd;this[_0x25092b][_0xd67bb8(0x118)][_0xd67bb8(0x19a)](_0x16b5af)||this[_0xd67bb8(0x100)]();}function _0x1f4e79(){const _0x19b478=_0x4208dd,_0x2ca0b9=this[_0x25092b];_0x2ca0b9[_0x19b478(0x72)]=_0x1c4d3c['CLOSING'],_0x2ca0b9[_0x19b478(0x118)][_0x19b478(0xc6)](),this[_0x19b478(0xc6)]();}function _0x24f9dc(){const _0x39bbfd=_0x4208dd,_0x346c10=this[_0x25092b];this['removeListener']('error',_0x24f9dc),this['on'](_0x39bbfd(0x205),_0x202692),_0x346c10&&(_0x346c10[_0x39bbfd(0x72)]=_0x1c4d3c[_0x39bbfd(0x8a)],this[_0x39bbfd(0x192)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x15afec}=_0x363ac0;function _0x2729f6(_0x4088a8){const _0x58188d=_0xb531;_0x4088a8[_0x58188d(0x220)](_0x58188d(0xe3));}function _0x2a7979(){const _0x3b82a0=_0xb531;!this[_0x3b82a0(0x1f6)]&&this[_0x3b82a0(0x1c0)][_0x3b82a0(0x86)]&&this['destroy']();}function _0x157ed1(_0x3e17ef){const _0x20d14b=_0xb531;this['removeListener'](_0x20d14b(0x205),_0x157ed1),this[_0x20d14b(0x192)](),this['listenerCount'](_0x20d14b(0x205))===0x0&&this[_0x20d14b(0x220)](_0x20d14b(0x205),_0x3e17ef);}function _0x595d90(_0x1f0682,_0x5f2981){const _0x358800=_0xb531;let _0x3eaf4b=!0x0;const _0x567eec=new _0x15afec({..._0x5f2981,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f0682['on'](_0x358800(0x1be),function(_0x22b40d,_0x3abf82){const _0x32c6fd=_0x358800,_0x47c78a=!_0x3abf82&&_0x567eec['_readableState'][_0x32c6fd(0x1c9)]?_0x22b40d['toString']():_0x22b40d;_0x567eec[_0x32c6fd(0xbb)](_0x47c78a)||_0x1f0682[_0x32c6fd(0x100)]();}),_0x1f0682[_0x358800(0xaa)]('error',function(_0x51ab1b){const _0x4f48fd=_0x358800;_0x567eec[_0x4f48fd(0x1f6)]||(_0x3eaf4b=!0x1,_0x567eec[_0x4f48fd(0x192)](_0x51ab1b));}),_0x1f0682[_0x358800(0xaa)]('close',function(){const _0x5319eb=_0x358800;_0x567eec[_0x5319eb(0x1f6)]||_0x567eec[_0x5319eb(0xbb)](null);}),_0x567eec['_destroy']=function(_0x2f4071,_0x1485bc){const _0x404def=_0x358800;if(_0x1f0682[_0x404def(0xcb)]===_0x1f0682[_0x404def(0xf3)]){_0x1485bc(_0x2f4071),process[_0x404def(0x1fd)](_0x2729f6,_0x567eec);return;}let _0x222345=!0x1;_0x1f0682[_0x404def(0xaa)](_0x404def(0x205),function(_0x5e2c03){_0x222345=!0x0,_0x1485bc(_0x5e2c03);}),_0x1f0682[_0x404def(0xaa)](_0x404def(0xe3),function(){const _0x36b48c=_0x404def;_0x222345||_0x1485bc(_0x2f4071),process[_0x36b48c(0x1fd)](_0x2729f6,_0x567eec);}),_0x3eaf4b&&_0x1f0682[_0x404def(0x1ca)]();},_0x567eec[_0x358800(0x1c4)]=function(_0x2f7666){const _0x1a3d51=_0x358800;if(_0x1f0682[_0x1a3d51(0xcb)]===_0x1f0682['CONNECTING']){_0x1f0682[_0x1a3d51(0xaa)](_0x1a3d51(0x1b7),function(){_0x567eec['_final'](_0x2f7666);});return;}_0x1f0682['_socket']!==null&&(_0x1f0682[_0x1a3d51(0xd6)]['_writableState'][_0x1a3d51(0x86)]?(_0x2f7666(),_0x567eec[_0x1a3d51(0x18e)][_0x1a3d51(0x1d4)]&&_0x567eec[_0x1a3d51(0x192)]()):(_0x1f0682['_socket']['once'](_0x1a3d51(0xce),function(){_0x2f7666();}),_0x1f0682[_0x1a3d51(0xe3)]()));},_0x567eec[_0x358800(0x1ed)]=function(){const _0x46acc3=_0x358800;_0x1f0682[_0x46acc3(0x7c)]&&_0x1f0682[_0x46acc3(0x15f)]();},_0x567eec['_write']=function(_0x5963d,_0x3f7589,_0xcd3d17){const _0x5d0018=_0x358800;if(_0x1f0682[_0x5d0018(0xcb)]===_0x1f0682[_0x5d0018(0x1a9)]){_0x1f0682[_0x5d0018(0xaa)](_0x5d0018(0x1b7),function(){const _0x44f87c=_0x5d0018;_0x567eec[_0x44f87c(0xe4)](_0x5963d,_0x3f7589,_0xcd3d17);});return;}_0x1f0682[_0x5d0018(0xb3)](_0x5963d,_0xcd3d17);},_0x567eec['on'](_0x358800(0xc6),_0x2a7979),_0x567eec['on'](_0x358800(0x205),_0x157ed1),_0x567eec;}return Oe=_0x595d90,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x183a97}=ne();function _0x1cf4d2(_0x553a5f){const _0x401a6d=_0xb531,_0xc4faf3=new Set();let _0x32217e=-0x1,_0x9a4288=-0x1,_0x1e63f8=0x0;for(_0x1e63f8;_0x1e63f8<_0x553a5f['length'];_0x1e63f8++){const _0x210c9f=_0x553a5f[_0x401a6d(0xe1)](_0x1e63f8);if(_0x9a4288===-0x1&&_0x183a97[_0x210c9f]===0x1)_0x32217e===-0x1&&(_0x32217e=_0x1e63f8);else{if(_0x1e63f8!==0x0&&(_0x210c9f===0x20||_0x210c9f===0x9))_0x9a4288===-0x1&&_0x32217e!==-0x1&&(_0x9a4288=_0x1e63f8);else{if(_0x210c9f===0x2c){if(_0x32217e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1e63f8);_0x9a4288===-0x1&&(_0x9a4288=_0x1e63f8);const _0x379263=_0x553a5f['slice'](_0x32217e,_0x9a4288);if(_0xc4faf3[_0x401a6d(0x1e3)](_0x379263))throw new SyntaxError(_0x401a6d(0x219)+_0x379263+_0x401a6d(0xd9));_0xc4faf3[_0x401a6d(0x17f)](_0x379263),_0x32217e=_0x9a4288=-0x1;}else throw new SyntaxError(_0x401a6d(0xc4)+_0x1e63f8);}}}if(_0x32217e===-0x1||_0x9a4288!==-0x1)throw new SyntaxError(_0x401a6d(0xf0));const _0x5c249b=_0x553a5f[_0x401a6d(0x74)](_0x32217e,_0x1e63f8);if(_0xc4faf3[_0x401a6d(0x1e3)](_0x5c249b))throw new SyntaxError(_0x401a6d(0x219)+_0x5c249b+_0x401a6d(0xd9));return _0xc4faf3[_0x401a6d(0x17f)](_0x5c249b),_0xc4faf3;}return Ce={'parse':_0x1cf4d2},Ce;}var Te,ot;function er(){const _0x4e4ab0=_0xf71ff4;if(ot)return Te;ot=0x1;const _0x4e2128=_0x20a754,_0x216b22=_0x58d4f2,{Duplex:_0x3be93c}=_0x363ac0,{createHash:_0x499f80}=_0x5a3eff,_0x545e2d=pt(),_0x433c2f=he(),_0x364cd2=Jt(),_0x1675cc=Ie(),{GUID:_0x350df8,kWebSocket:_0x2db7a2}=V(),_0x375303=/^[+/0-9A-Za-z]{22}==$/,_0x18b880=0x0,_0x2875f2=0x1,_0x4a4ca7=0x2;class _0x1cf424 extends _0x4e2128{constructor(_0x14e407,_0x1bf7a0){const _0x54d15b=_0xb531;if(super(),_0x14e407={'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':_0x1675cc,..._0x14e407},_0x14e407[_0x54d15b(0x1e7)]==null&&!_0x14e407[_0x54d15b(0x1d9)]&&!_0x14e407['noServer']||_0x14e407[_0x54d15b(0x1e7)]!=null&&(_0x14e407[_0x54d15b(0x1d9)]||_0x14e407[_0x54d15b(0xfe)])||_0x14e407[_0x54d15b(0x1d9)]&&_0x14e407['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x14e407[_0x54d15b(0x1e7)]!=null?(this[_0x54d15b(0xea)]=_0x216b22[_0x54d15b(0x1d7)]((_0x1e97d8,_0x591c56)=>{const _0x538c26=_0x54d15b,_0x32a971=_0x216b22[_0x538c26(0x1df)][0x1aa];_0x591c56[_0x538c26(0x149)](0x1aa,{'Content-Length':_0x32a971[_0x538c26(0x181)],'Content-Type':'text/plain'}),_0x591c56[_0x538c26(0xc6)](_0x32a971);}),this[_0x54d15b(0xea)][_0x54d15b(0x12b)](_0x14e407[_0x54d15b(0x1e7)],_0x14e407[_0x54d15b(0x216)],_0x14e407[_0x54d15b(0x145)],_0x1bf7a0)):_0x14e407[_0x54d15b(0x1d9)]&&(this[_0x54d15b(0xea)]=_0x14e407[_0x54d15b(0x1d9)]),this[_0x54d15b(0xea)]){const _0x17dffd=this[_0x54d15b(0x220)][_0x54d15b(0x122)](this,'connection');this[_0x54d15b(0x1a6)]=_0x303605(this[_0x54d15b(0xea)],{'listening':this[_0x54d15b(0x220)][_0x54d15b(0x122)](this,_0x54d15b(0x1ac)),'error':this[_0x54d15b(0x220)][_0x54d15b(0x122)](this,_0x54d15b(0x205)),'upgrade':(_0x314b74,_0xba83ce,_0x18a86d)=>{this['handleUpgrade'](_0x314b74,_0xba83ce,_0x18a86d,_0x17dffd);}});}_0x14e407['perMessageDeflate']===!0x0&&(_0x14e407['perMessageDeflate']={}),_0x14e407[_0x54d15b(0x18f)]&&(this[_0x54d15b(0x147)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x54d15b(0x1cd)]=_0x14e407,this[_0x54d15b(0x166)]=_0x18b880;}[_0x4e4ab0(0x140)](){const _0x43fd97=_0x4e4ab0;if(this[_0x43fd97(0x1cd)][_0x43fd97(0xfe)])throw new Error(_0x43fd97(0x87));return this[_0x43fd97(0xea)]?this['_server'][_0x43fd97(0x140)]():null;}[_0x4e4ab0(0xe3)](_0x291869){const _0x2085a0=_0x4e4ab0;if(this[_0x2085a0(0x166)]===_0x4a4ca7){_0x291869&&this[_0x2085a0(0xaa)](_0x2085a0(0xe3),()=>{const _0x2e5a45=_0x2085a0;_0x291869(new Error(_0x2e5a45(0x113)));}),process[_0x2085a0(0x1fd)](_0x5a0dae,this);return;}if(_0x291869&&this[_0x2085a0(0xaa)](_0x2085a0(0xe3),_0x291869),this[_0x2085a0(0x166)]!==_0x2875f2){if(this['_state']=_0x2875f2,this[_0x2085a0(0x1cd)][_0x2085a0(0xfe)]||this[_0x2085a0(0x1cd)][_0x2085a0(0x1d9)])this[_0x2085a0(0xea)]&&(this[_0x2085a0(0x1a6)](),this[_0x2085a0(0x1a6)]=this[_0x2085a0(0xea)]=null),this[_0x2085a0(0x147)]?this['clients'][_0x2085a0(0x121)]?this[_0x2085a0(0xbe)]=!0x0:process[_0x2085a0(0x1fd)](_0x5a0dae,this):process[_0x2085a0(0x1fd)](_0x5a0dae,this);else{const _0x34fea0=this['_server'];this[_0x2085a0(0x1a6)](),this[_0x2085a0(0x1a6)]=this[_0x2085a0(0xea)]=null,_0x34fea0[_0x2085a0(0xe3)](()=>{_0x5a0dae(this);});}}}[_0x4e4ab0(0x11f)](_0x30ab9f){const _0x2db63b=_0x4e4ab0;if(this[_0x2db63b(0x1cd)]['path']){const _0x365aa0=_0x30ab9f[_0x2db63b(0x138)][_0x2db63b(0x135)]('?');if((_0x365aa0!==-0x1?_0x30ab9f['url'][_0x2db63b(0x74)](0x0,_0x365aa0):_0x30ab9f[_0x2db63b(0x138)])!==this[_0x2db63b(0x1cd)][_0x2db63b(0x151)])return!0x1;}return!0x0;}['handleUpgrade'](_0x3f3e50,_0x3f4d98,_0x29c993,_0x1dcb02){const _0x2b901c=_0x4e4ab0;_0x3f4d98['on'](_0x2b901c(0x205),_0x2885dd);const _0x4ec2dc=_0x3f3e50['headers'][_0x2b901c(0xc5)],_0x37c450=_0x3f3e50[_0x2b901c(0x77)][_0x2b901c(0x15c)],_0x3f1e0c=+_0x3f3e50[_0x2b901c(0x77)]['sec-websocket-version'];if(_0x3f3e50[_0x2b901c(0x20a)]!==_0x2b901c(0x124)){_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x37c450===void 0x0||_0x37c450[_0x2b901c(0x1c7)]()!==_0x2b901c(0x21f)){_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x190,_0x2b901c(0x104));return;}if(_0x4ec2dc===void 0x0||!_0x375303['test'](_0x4ec2dc)){_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x190,_0x2b901c(0x1b6));return;}if(_0x3f1e0c!==0x8&&_0x3f1e0c!==0xd){_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x190,_0x2b901c(0xb9));return;}if(!this[_0x2b901c(0x11f)](_0x3f3e50)){_0x4a299d(_0x3f4d98,0x190);return;}const _0x1319af=_0x3f3e50[_0x2b901c(0x77)][_0x2b901c(0x12e)];let _0x1e9012=new Set();if(_0x1319af!==void 0x0)try{_0x1e9012=_0x364cd2['parse'](_0x1319af);}catch{_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x5a673f=_0x3f3e50['headers'][_0x2b901c(0x12d)],_0xf0245={};if(this[_0x2b901c(0x1cd)][_0x2b901c(0xda)]&&_0x5a673f!==void 0x0){const _0x50501a=new _0x433c2f(this[_0x2b901c(0x1cd)][_0x2b901c(0xda)],!0x0,this[_0x2b901c(0x1cd)][_0x2b901c(0x177)]);try{const _0x5ac991=_0x545e2d[_0x2b901c(0x10c)](_0x5a673f);_0x5ac991[_0x433c2f[_0x2b901c(0x14a)]]&&(_0x50501a[_0x2b901c(0x200)](_0x5ac991[_0x433c2f[_0x2b901c(0x14a)]]),_0xf0245[_0x433c2f['extensionName']]=_0x50501a);}catch{_0x42f8b3(this,_0x3f3e50,_0x3f4d98,0x190,_0x2b901c(0xf1));return;}}if(this[_0x2b901c(0x1cd)][_0x2b901c(0xc2)]){const _0x5bd7bf={'origin':_0x3f3e50[_0x2b901c(0x77)][''+(_0x3f1e0c===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x3f3e50['socket'][_0x2b901c(0x197)]||_0x3f3e50[_0x2b901c(0xb2)][_0x2b901c(0x1d5)]),'req':_0x3f3e50};if(this[_0x2b901c(0x1cd)][_0x2b901c(0xc2)][_0x2b901c(0x181)]===0x2){this['options'][_0x2b901c(0xc2)](_0x5bd7bf,(_0x5080c3,_0x3355f8,_0x598128,_0x1ed064)=>{const _0x2079a0=_0x2b901c;if(!_0x5080c3)return _0x4a299d(_0x3f4d98,_0x3355f8||0x191,_0x598128,_0x1ed064);this[_0x2079a0(0xd4)](_0xf0245,_0x4ec2dc,_0x1e9012,_0x3f3e50,_0x3f4d98,_0x29c993,_0x1dcb02);});return;}if(!this['options'][_0x2b901c(0xc2)](_0x5bd7bf))return _0x4a299d(_0x3f4d98,0x191);}this[_0x2b901c(0xd4)](_0xf0245,_0x4ec2dc,_0x1e9012,_0x3f3e50,_0x3f4d98,_0x29c993,_0x1dcb02);}[_0x4e4ab0(0xd4)](_0x280372,_0x3e0591,_0x49ea07,_0x3b2ddb,_0x2b1daa,_0x3acf3b,_0x2c4a09){const _0x59d275=_0x4e4ab0;if(!_0x2b1daa[_0x59d275(0x12c)]||!_0x2b1daa['writable'])return _0x2b1daa[_0x59d275(0x192)]();if(_0x2b1daa[_0x2db7a2])throw new Error(_0x59d275(0x158));if(this[_0x59d275(0x166)]>_0x18b880)return _0x4a299d(_0x2b1daa,0x1f7);const _0x24c9ab=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x59d275(0x157),_0x59d275(0x199),_0x59d275(0x160)+_0x499f80(_0x59d275(0xb0))[_0x59d275(0xdf)](_0x3e0591+_0x350df8)[_0x59d275(0x134)](_0x59d275(0xdd))],_0x4ca1ba=new this[(_0x59d275(0x1cd))][(_0x59d275(0xe2))](null,void 0x0,this[_0x59d275(0x1cd)]);if(_0x49ea07[_0x59d275(0x121)]){const _0x4867ea=this[_0x59d275(0x1cd)][_0x59d275(0x1c2)]?this[_0x59d275(0x1cd)][_0x59d275(0x1c2)](_0x49ea07,_0x3b2ddb):_0x49ea07[_0x59d275(0xf6)]()['next']()[_0x59d275(0x144)];_0x4867ea&&(_0x24c9ab[_0x59d275(0xbb)](_0x59d275(0x211)+_0x4867ea),_0x4ca1ba[_0x59d275(0x97)]=_0x4867ea);}if(_0x280372[_0x433c2f[_0x59d275(0x14a)]]){const _0x19507b=_0x280372[_0x433c2f['extensionName']][_0x59d275(0x102)],_0x5bbf7d=_0x545e2d[_0x59d275(0x120)]({[_0x433c2f[_0x59d275(0x14a)]]:[_0x19507b]});_0x24c9ab[_0x59d275(0xbb)](_0x59d275(0x1c1)+_0x5bbf7d),_0x4ca1ba[_0x59d275(0x1ec)]=_0x280372;}this['emit']('headers',_0x24c9ab,_0x3b2ddb),_0x2b1daa[_0x59d275(0x19a)](_0x24c9ab[_0x59d275(0x195)]('\x0d\x0a')[_0x59d275(0x19d)]('\x0d\x0a')),_0x2b1daa[_0x59d275(0x18a)](_0x59d275(0x205),_0x2885dd),_0x4ca1ba[_0x59d275(0x185)](_0x2b1daa,_0x3acf3b,{'allowSynchronousEvents':this[_0x59d275(0x1cd)]['allowSynchronousEvents'],'maxPayload':this[_0x59d275(0x1cd)][_0x59d275(0x177)],'skipUTF8Validation':this[_0x59d275(0x1cd)][_0x59d275(0x106)]}),this['clients']&&(this[_0x59d275(0x147)][_0x59d275(0x17f)](_0x4ca1ba),_0x4ca1ba['on'](_0x59d275(0xe3),()=>{const _0x4cf6d5=_0x59d275;this['clients'][_0x4cf6d5(0x1da)](_0x4ca1ba),this[_0x4cf6d5(0xbe)]&&!this[_0x4cf6d5(0x147)][_0x4cf6d5(0x121)]&&process[_0x4cf6d5(0x1fd)](_0x5a0dae,this);})),_0x2c4a09(_0x4ca1ba,_0x3b2ddb);}}Te=_0x1cf424;function _0x303605(_0x25d792,_0x1ea877){const _0x3a83e6=_0x4e4ab0;for(const _0x1ea0a3 of Object[_0x3a83e6(0x94)](_0x1ea877))_0x25d792['on'](_0x1ea0a3,_0x1ea877[_0x1ea0a3]);return function(){const _0x2243e4=_0x3a83e6;for(const _0x51a2ab of Object[_0x2243e4(0x94)](_0x1ea877))_0x25d792[_0x2243e4(0x18a)](_0x51a2ab,_0x1ea877[_0x51a2ab]);};}function _0x5a0dae(_0x590dc7){const _0x5c716a=_0x4e4ab0;_0x590dc7[_0x5c716a(0x166)]=_0x4a4ca7,_0x590dc7[_0x5c716a(0x220)](_0x5c716a(0xe3));}function _0x2885dd(){const _0x24d16c=_0x4e4ab0;this[_0x24d16c(0x192)]();}function _0x4a299d(_0x215930,_0x18362b,_0x4bd3d2,_0x40f8e2){const _0x1156b9=_0x4e4ab0;_0x4bd3d2=_0x4bd3d2||_0x216b22[_0x1156b9(0x1df)][_0x18362b],_0x40f8e2={'Connection':_0x1156b9(0xe3),'Content-Type':_0x1156b9(0x20f),'Content-Length':Buffer[_0x1156b9(0x18d)](_0x4bd3d2),..._0x40f8e2},_0x215930[_0x1156b9(0xaa)](_0x1156b9(0xce),_0x215930[_0x1156b9(0x192)]),_0x215930['end']('HTTP/1.1\x20'+_0x18362b+'\x20'+_0x216b22[_0x1156b9(0x1df)][_0x18362b]+'\x0d\x0a'+Object[_0x1156b9(0x94)](_0x40f8e2)[_0x1156b9(0xed)](_0x10cfba=>_0x10cfba+':\x20'+_0x40f8e2[_0x10cfba])[_0x1156b9(0x19d)]('\x0d\x0a')+_0x1156b9(0xac)+_0x4bd3d2);}function _0x42f8b3(_0x518c66,_0xd98240,_0x43688c,_0x140a9f,_0x208dc0){const _0xe37548=_0x4e4ab0;if(_0x518c66[_0xe37548(0x15b)](_0xe37548(0x159))){const _0x195713=new Error(_0x208dc0);Error['captureStackTrace'](_0x195713,_0x42f8b3),_0x518c66['emit']('wsClientError',_0x195713,_0x43688c,_0xd98240);}else _0x4a299d(_0x43688c,_0x140a9f,_0x208dc0);}return Te;}er();var tr=Object[_0xf71ff4(0x109)],rr=(_0x5e1b2a,_0x295028,_0x56f750,_0x53677e)=>{const _0x3b2153=_0xf71ff4;for(var _0xdd5322=_0x53677e>0x1?void 0x0:_0x53677e?tr(_0x295028,_0x56f750):_0x295028,_0x2089c3=_0x5e1b2a[_0x3b2153(0x181)]-0x1,_0x4c8db1;_0x2089c3>=0x0;_0x2089c3--)(_0x4c8db1=_0x5e1b2a[_0x2089c3])&&(_0xdd5322=_0x4c8db1(_0xdd5322)||_0xdd5322);return _0xdd5322;},sr=(_0x445ef7,_0x5e6920)=>(_0x45e9ed,_0x49292c)=>_0x5e6920(_0x45e9ed,_0x49292c,_0x445ef7);let Ne=class extends _0x66225{constructor(_0xa8ca37){const _0x3cf3ef=_0xf71ff4;super(),this[_0x3cf3ef(0x1ae)]=_0xa8ca37;}[_0xf71ff4(0x9a)](_0x194c20){const _0x22c993=_0xf71ff4;var _0x15ec46;const _0x43c71d=(_0x15ec46=this['_configService']['getConfig'](Be))==null?void 0x0:_0x15ec46['customHeaders'];try{const _0x1ad7f3=new Qt(_0x194c20,{'headers':{..._0x43c71d}}),_0x2be844=new _0x59f1e1();return{'URL':_0x194c20,'close':(_0xcd7af0,_0x263153)=>{_0x1ad7f3['close'](_0xcd7af0,_0x263153),_0x2be844['dispose']();},'send':_0x58d476=>{const _0x1b4cfb=_0xb531;_0x1ad7f3[_0x1b4cfb(0xb3)](_0x58d476);},'open$':new _0x35a5ff(_0x5bceb4=>{const _0x11faa1=_0xb531,_0x371dbc=_0x3c5192=>_0x5bceb4[_0x11faa1(0x116)](_0x3c5192);_0x1ad7f3[_0x11faa1(0x12a)](_0x11faa1(0x1b7),_0x371dbc),_0x2be844[_0x11faa1(0x17f)](_0x3e5912(()=>_0x1ad7f3['removeEventListener'](_0x11faa1(0x1b7),_0x371dbc)));})['pipe'](_0xb12879()),'close$':new _0x35a5ff(_0x70d00=>{const _0x4946b1=_0xb531,_0x3e8c22=_0x4d3d4c=>_0x70d00[_0x4946b1(0x116)](_0x4d3d4c);_0x1ad7f3[_0x4946b1(0x12a)](_0x4946b1(0xe3),_0x3e8c22),_0x2be844[_0x4946b1(0x17f)](_0x3e5912(()=>_0x1ad7f3['removeEventListener'](_0x4946b1(0xe3),_0x3e8c22)));})[_0x22c993(0x1aa)](_0xb12879()),'error$':new _0x35a5ff(_0x4ecbe4=>{const _0x2f8a20=_0x22c993,_0x195da3=_0x40547d=>_0x4ecbe4[_0x2f8a20(0x116)](_0x40547d);_0x1ad7f3[_0x2f8a20(0x12a)](_0x2f8a20(0x205),_0x195da3),_0x2be844[_0x2f8a20(0x17f)](_0x3e5912(()=>_0x1ad7f3[_0x2f8a20(0x20d)]('error',_0x195da3)));})[_0x22c993(0x1aa)](_0xb12879()),'message$':new _0x35a5ff(_0x478f3a=>{const _0x1c8330=_0x22c993,_0x4c9e99=_0x188cb9=>_0x478f3a[_0x1c8330(0x116)](_0x188cb9);_0x1ad7f3[_0x1c8330(0x12a)](_0x1c8330(0x1be),_0x4c9e99),_0x2be844[_0x1c8330(0x17f)](_0x3e5912(()=>_0x1ad7f3[_0x1c8330(0x20d)](_0x1c8330(0x1be),_0x4c9e99)));})[_0x22c993(0x1aa)](_0xb12879())};}catch(_0x20c662){return console[_0x22c993(0x205)](_0x20c662),null;}}};Ne=rr([sr(0x0,_0x3aeb0b)],Ne);var ir=Object[_0xf71ff4(0x17a)],nr=Object['getOwnPropertyDescriptor'],or=(_0x454234,_0x20dc89,_0x4ac315)=>_0x20dc89 in _0x454234?ir(_0x454234,_0x20dc89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ac315}):_0x454234[_0x20dc89]=_0x4ac315,ar=(_0x5aa16a,_0x183335,_0x7ddd8f,_0xd9a7c2)=>{const _0x110b17=_0xf71ff4;for(var _0x5195ff=_0xd9a7c2>0x1?void 0x0:_0xd9a7c2?nr(_0x183335,_0x7ddd8f):_0x183335,_0x34256c=_0x5aa16a[_0x110b17(0x181)]-0x1,_0x17f557;_0x34256c>=0x0;_0x34256c--)(_0x17f557=_0x5aa16a[_0x34256c])&&(_0x5195ff=_0x17f557(_0x5195ff)||_0x5195ff);return _0x5195ff;},ke=(_0x3dec53,_0x1a36ee)=>(_0x7a5acc,_0x5660d9)=>_0x1a36ee(_0x7a5acc,_0x5660d9,_0x3dec53),lr=(_0x4a8468,_0x5a631f,_0xfc86d5)=>or(_0x4a8468,_0x5a631f+'',_0xfc86d5);let Pe=class extends _0x2c8ad0{constructor(_0x48da10=Ft,_0x3e77ff,_0x27c4d8,_0x30b743){const _0x1bd5ed=_0xf71ff4;_0x48da10[_0x1bd5ed(0xdb)]||_0x3e77ff[_0x1bd5ed(0x1f9)](_0x1bd5ed(0x1a1)),super(),this[_0x1bd5ed(0x1ae)]=_0x27c4d8,this[_0x1bd5ed(0x1db)]=_0x30b743,this[_0x1bd5ed(0x1ae)]['setConfig'](Be,_0x48da10);}[_0xf71ff4(0x12f)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x2ad6ae=_0xf71ff4;_0x57e5aa(this[_0x2ad6ae(0x1db)],[[_0x5b44ae,{'useClass':Ne}]]);}};lr(Pe,_0xf71ff4(0x81),_0xf71ff4(0x112)),Pe=ar([_0x59eed0(_0x10ea6a),ke(0x1,_0x551715),ke(0x2,_0x3aeb0b),ke(0x3,_0x4cb7b7(_0xec2be6))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x20019e,_0x3a9be2,_0xa8eec6,_0x3616cb)=>{const _0x54ef48=_0xf71ff4;for(var _0xa52479=_0x3616cb>0x1?void 0x0:_0x3616cb?fr(_0x3a9be2,_0xa8eec6):_0x3a9be2,_0x1f789f=_0x20019e[_0x54ef48(0x181)]-0x1,_0x3b8eec;_0x1f789f>=0x0;_0x1f789f--)(_0x3b8eec=_0x20019e[_0x1f789f])&&(_0xa52479=_0x3b8eec(_0xa52479)||_0xa52479);return _0xa52479;},se=(_0x2e5690,_0xaf8696)=>(_0xe11965,_0x27fb05)=>_0xaf8696(_0xe11965,_0x27fb05,_0x2e5690);let at=class extends _0x5893ca{constructor(_0x245673,_0x5ab7c7,_0x429413,_0x1b3086,_0x278357){const _0x54f4d6=_0xf71ff4;super(_0x245673,_0x5ab7c7,_0x429413,_0x1b3086,_0x278357);const _0x228851=this[_0x54f4d6(0x1ae)]['getConfig'](Be);this[_0x54f4d6(0x1a7)][_0x54f4d6(0xeb)]({'interceptor':(_0xc58c06,_0x27ba85)=>{const _0x4ed62e=_0x54f4d6;var _0x453e60;const _0x4c9ea1=_0xc58c06['headers'];return(_0x453e60=_0x228851==null?void 0x0:_0x228851[_0x4ed62e(0xdb)])!=null&&_0x453e60[_0x4ed62e(0x1ea)]&&_0x4c9ea1[_0x4ed62e(0xf2)](_0x4ed62e(0x206),_0x228851[_0x4ed62e(0xdb)][_0x4ed62e(0x1ea)]),_0x27ba85(_0xc58c06);}});}async[_0xf71ff4(0x9a)](_0x6432b2){const _0x3c1a5c=_0xf71ff4;return this[_0x3c1a5c(0x1a5)](_0x6432b2);}};at=cr([se(0x0,_0x4cb7b7(_0xec2be6)),se(0x1,_0x4cb7b7(_0x267b02)),se(0x2,_0x3aeb0b),se(0x3,_0x551715),se(0x4,_0x43b7d6)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x150542=_0xeab9;(function(_0x335e74,_0x88e73a){const _0x2c8c9c=_0xeab9,_0x1163ca=_0x335e74();while(!![]){try{const _0x527e05=parseInt(_0x2c8c9c(0x2c7))/0x1*(parseInt(_0x2c8c9c(0x227))/0x2)+-parseInt(_0x2c8c9c(0x1f9))/0x3*(parseInt(_0x2c8c9c(0x1c5))/0x4)+-parseInt(_0x2c8c9c(0x280))/0x5*(parseInt(_0x2c8c9c(0x2d0))/0x6)+-parseInt(_0x2c8c9c(0x257))/0x7+parseInt(_0x2c8c9c(0x2cd))/0x8*(parseInt(_0x2c8c9c(0x158))/0x9)+parseInt(_0x2c8c9c(0x1b1))/0xa*(parseInt(_0x2c8c9c(0x2ab))/0xb)+-parseInt(_0x2c8c9c(0x233))/0xc*(-parseInt(_0x2c8c9c(0x210))/0xd);if(_0x527e05===_0x88e73a)break;else _0x1163ca['push'](_0x1163ca['shift']());}catch(_0xbb8b80){_0x1163ca['push'](_0x1163ca['shift']());}}}(_0x2735,0x593ee));import{UniverCollaborationClientPlugin as _0x3dad2f,CollaborationSocketService as _0x53a263}from'@univerjs-pro/collaboration-client';import{Disposable as _0x21acf5,DisposableCollection as _0x571f58,toDisposable as _0x483db7,IConfigService as _0x507561,DependentOn as _0x52a59e,ILogService as _0x2e2966,Inject as _0x4c66cb,Injector as _0x3df0d9,Plugin as _0x3dfbff,registerDependencies as _0x1993bb}from'@univerjs/core';import{ISocketService as _0x2a5539,HTTPService as _0x5717ea}from'@univerjs/network';import{Observable as _0x17e75b,share as _0x584c5e}from'rxjs';import _0x580176 from'events';import _0x54a0af from'https';import _0x1bff61 from'http';import _0x49999c from'net';import _0x5dd28 from'tls';import _0x4e45a1 from'crypto';function _0xeab9(_0x4d52d4,_0xcf6f73){const _0x273575=_0x2735();return _0xeab9=function(_0xeab966,_0x2b78d7){_0xeab966=_0xeab966-0x12f;let _0x1fd435=_0x273575[_0xeab966];return _0x1fd435;},_0xeab9(_0x4d52d4,_0xcf6f73);}import _0x13e047 from'stream';import _0x5dac76 from'url';import _0x1560a4 from'zlib';import _0x2cd732 from'buffer';import{ISnapshotServerService as _0x91cd6d}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x3685f0){const _0x7b6f05=_0xeab9;return _0x3685f0&&_0x3685f0[_0x7b6f05(0x2ac)]&&Object[_0x7b6f05(0x20f)]['hasOwnProperty'][_0x7b6f05(0x184)](_0x3685f0,_0x7b6f05(0x2b1))?_0x3685f0['default']:_0x3685f0;}function ut(_0x3ea856){const _0x4c85d9=_0xeab9;if(Object[_0x4c85d9(0x20f)][_0x4c85d9(0x23c)][_0x4c85d9(0x184)](_0x3ea856,_0x4c85d9(0x2ac)))return _0x3ea856;var _0x159906=_0x3ea856[_0x4c85d9(0x2b1)];if(typeof _0x159906==_0x4c85d9(0x250)){var _0x3a8b44=function _0x50d672(){const _0x4e0964=_0x4c85d9;return this instanceof _0x50d672?Reflect['construct'](_0x159906,arguments,this[_0x4e0964(0x241)]):_0x159906[_0x4e0964(0x131)](this,arguments);};_0x3a8b44[_0x4c85d9(0x20f)]=_0x159906[_0x4c85d9(0x20f)];}else _0x3a8b44={};return Object[_0x4c85d9(0x135)](_0x3a8b44,_0x4c85d9(0x2ac),{'value':!0x0}),Object[_0x4c85d9(0x1a9)](_0x3ea856)[_0x4c85d9(0x1e6)](function(_0x272345){const _0x569b24=_0x4c85d9;var _0x23dfd8=Object[_0x569b24(0x295)](_0x3ea856,_0x272345);Object[_0x569b24(0x135)](_0x3a8b44,_0x272345,_0x23dfd8[_0x569b24(0x15f)]?_0x23dfd8:{'enumerable':!0x0,'get':function(){return _0x3ea856[_0x272345];}});}),_0x3a8b44;}var te={'exports':{}},ge,Ye;function V(){const _0x2ccbed=_0xeab9;if(Ye)return ge;Ye=0x1;const _0xfe2158=[_0x2ccbed(0x1d2),_0x2ccbed(0x143),_0x2ccbed(0x27e)],_0x433a06=typeof Blob<'u';return _0x433a06&&_0xfe2158[_0x2ccbed(0x1d1)](_0x2ccbed(0x14c)),ge={'BINARY_TYPES':_0xfe2158,'EMPTY_BUFFER':Buffer[_0x2ccbed(0x13d)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x433a06,'kForOnEventAttribute':Symbol(_0x2ccbed(0x195)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x2ccbed(0x18d)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x150542(0x2c2)](Object[_0x150542(0x135)]({'__proto__':null,'default':Wt},Symbol[_0x150542(0x1cf)],{'value':_0x150542(0x2df)})),Vt=ut(Gt);var Ke;function ce(){const _0xae2a02=_0x150542;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x2ac308}=V(),_0x18b389=Buffer[Symbol['species']];function _0x337516(_0x3a273b,_0x2641ec){const _0x2ba0fc=_0xeab9;if(_0x3a273b['length']===0x0)return _0x2ac308;if(_0x3a273b[_0x2ba0fc(0x235)]===0x1)return _0x3a273b[0x0];const _0x1044a7=Buffer[_0x2ba0fc(0x261)](_0x2641ec);let _0x451068=0x0;for(let _0x367c3a=0x0;_0x367c3a<_0x3a273b[_0x2ba0fc(0x235)];_0x367c3a++){const _0x401b73=_0x3a273b[_0x367c3a];_0x1044a7[_0x2ba0fc(0x1da)](_0x401b73,_0x451068),_0x451068+=_0x401b73[_0x2ba0fc(0x235)];}return _0x451068<_0x2641ec?new _0x18b389(_0x1044a7[_0x2ba0fc(0x2d8)],_0x1044a7[_0x2ba0fc(0x237)],_0x451068):_0x1044a7;}function _0x21d36f(_0x162e3b,_0x11011e,_0x442332,_0x187b04,_0x22a339){for(let _0x50e3ad=0x0;_0x50e3ad<_0x22a339;_0x50e3ad++)_0x442332[_0x187b04+_0x50e3ad]=_0x162e3b[_0x50e3ad]^_0x11011e[_0x50e3ad&0x3];}function _0x2cdd0c(_0x4ac5a9,_0x14ff57){const _0x5e8aee=_0xeab9;for(let _0x21d50e=0x0;_0x21d50e<_0x4ac5a9[_0x5e8aee(0x235)];_0x21d50e++)_0x4ac5a9[_0x21d50e]^=_0x14ff57[_0x21d50e&0x3];}function _0x260d78(_0x38fffc){const _0x254054=_0xeab9;return _0x38fffc[_0x254054(0x235)]===_0x38fffc['buffer'][_0x254054(0x1bd)]?_0x38fffc[_0x254054(0x2d8)]:_0x38fffc[_0x254054(0x2d8)][_0x254054(0x15b)](_0x38fffc['byteOffset'],_0x38fffc[_0x254054(0x237)]+_0x38fffc['length']);}function _0x6101e0(_0x51a6f7){const _0x19226a=_0xeab9;if(_0x6101e0['readOnly']=!0x0,Buffer[_0x19226a(0x212)](_0x51a6f7))return _0x51a6f7;let _0x18e2bd;return _0x51a6f7 instanceof ArrayBuffer?_0x18e2bd=new _0x18b389(_0x51a6f7):ArrayBuffer['isView'](_0x51a6f7)?_0x18e2bd=new _0x18b389(_0x51a6f7[_0x19226a(0x2d8)],_0x51a6f7['byteOffset'],_0x51a6f7[_0x19226a(0x1bd)]):(_0x18e2bd=Buffer[_0x19226a(0x25e)](_0x51a6f7),_0x6101e0[_0x19226a(0x2d7)]=!0x1),_0x18e2bd;}if(te['exports']={'concat':_0x337516,'mask':_0x21d36f,'toArrayBuffer':_0x260d78,'toBuffer':_0x6101e0,'unmask':_0x2cdd0c},!process['env'][_0xae2a02(0x1c0)])try{const _0x19b3e3=Vt;te[_0xae2a02(0x266)][_0xae2a02(0x148)]=function(_0x31c429,_0xf197ed,_0x8adda5,_0x562003,_0x5fa1ac){const _0x2904c9=_0xae2a02;_0x5fa1ac<0x30?_0x21d36f(_0x31c429,_0xf197ed,_0x8adda5,_0x562003,_0x5fa1ac):_0x19b3e3[_0x2904c9(0x148)](_0x31c429,_0xf197ed,_0x8adda5,_0x562003,_0x5fa1ac);},te[_0xae2a02(0x266)][_0xae2a02(0x2c1)]=function(_0x4d8b64,_0x2a8120){const _0x391bef=_0xae2a02;_0x4d8b64[_0x391bef(0x235)]<0x20?_0x2cdd0c(_0x4d8b64,_0x2a8120):_0x19b3e3[_0x391bef(0x2c1)](_0x4d8b64,_0x2a8120);};}catch{}return te[_0xae2a02(0x266)];}var ye,Xe;function qt(){const _0x34dad9=_0x150542;if(Xe)return ye;Xe=0x1;const _0x57ea26=Symbol('kDone'),_0x232a2a=Symbol('kRun');class _0x10f4f2{constructor(_0xc07f20){const _0x3b7b44=_0xeab9;this[_0x57ea26]=()=>{const _0x56e8b6=_0xeab9;this[_0x56e8b6(0x2b0)]--,this[_0x232a2a]();},this['concurrency']=_0xc07f20||0x1/0x0,this['jobs']=[],this[_0x3b7b44(0x2b0)]=0x0;}[_0x34dad9(0x19a)](_0x5c4fab){const _0x4aada3=_0x34dad9;this[_0x4aada3(0x221)][_0x4aada3(0x1d1)](_0x5c4fab),this[_0x232a2a]();}[_0x232a2a](){const _0x18d469=_0x34dad9;if(this[_0x18d469(0x2b0)]!==this[_0x18d469(0x1c4)]&&this[_0x18d469(0x221)][_0x18d469(0x235)]){const _0x4033a2=this[_0x18d469(0x221)]['shift']();this[_0x18d469(0x2b0)]++,_0x4033a2(this[_0x57ea26]);}}}return ye=_0x10f4f2,ye;}var ve,Ze;function he(){const _0x12a3c9=_0x150542;if(Ze)return ve;Ze=0x1;const _0x5e2342=_0x1560a4,_0x1fb316=ce(),_0x5bfcc1=qt(),{kStatusCode:_0x168a76}=V(),_0x204c3f=Buffer[Symbol[_0x12a3c9(0x2b6)]],_0x5b773b=Buffer[_0x12a3c9(0x25e)]([0x0,0x0,0xff,0xff]),_0x19faf0=Symbol(_0x12a3c9(0x2c4)),_0x9110ce=Symbol(_0x12a3c9(0x289)),_0x39e698=Symbol('callback'),_0x23c004=Symbol(_0x12a3c9(0x163)),_0x71bb9c=Symbol(_0x12a3c9(0x2cf));let _0x3d5273;class _0x2a8abc{constructor(_0x1fa017,_0x224061,_0x5ebf4c){const _0x557b78=_0x12a3c9;if(this[_0x557b78(0x14b)]=_0x5ebf4c|0x0,this[_0x557b78(0x2c8)]=_0x1fa017||{},this[_0x557b78(0x16f)]=this[_0x557b78(0x2c8)]['threshold']!==void 0x0?this[_0x557b78(0x2c8)][_0x557b78(0x194)]:0x400,this[_0x557b78(0x191)]=!!_0x224061,this[_0x557b78(0x2a2)]=null,this[_0x557b78(0x2d6)]=null,this[_0x557b78(0x296)]=null,!_0x3d5273){const _0x31fb37=this['_options']['concurrencyLimit']!==void 0x0?this[_0x557b78(0x2c8)][_0x557b78(0x18f)]:0xa;_0x3d5273=new _0x5bfcc1(_0x31fb37);}}static get[_0x12a3c9(0x274)](){return'permessage-deflate';}[_0x12a3c9(0x166)](){const _0x4c324e=_0x12a3c9,_0xc4dbb5={};return this[_0x4c324e(0x2c8)][_0x4c324e(0x138)]&&(_0xc4dbb5[_0x4c324e(0x1fb)]=!0x0),this[_0x4c324e(0x2c8)]['clientNoContextTakeover']&&(_0xc4dbb5[_0x4c324e(0x2be)]=!0x0),this[_0x4c324e(0x2c8)][_0x4c324e(0x291)]&&(_0xc4dbb5[_0x4c324e(0x1ad)]=this[_0x4c324e(0x2c8)]['serverMaxWindowBits']),this['_options'][_0x4c324e(0x29f)]?_0xc4dbb5[_0x4c324e(0x27d)]=this[_0x4c324e(0x2c8)][_0x4c324e(0x29f)]:this[_0x4c324e(0x2c8)][_0x4c324e(0x29f)]==null&&(_0xc4dbb5[_0x4c324e(0x27d)]=!0x0),_0xc4dbb5;}[_0x12a3c9(0x1b7)](_0x560731){const _0x1a3108=_0x12a3c9;return _0x560731=this[_0x1a3108(0x248)](_0x560731),this['params']=this[_0x1a3108(0x191)]?this[_0x1a3108(0x1be)](_0x560731):this['acceptAsClient'](_0x560731),this['params'];}[_0x12a3c9(0x16a)](){const _0x4976c8=_0x12a3c9;if(this[_0x4976c8(0x2d6)]&&(this['_inflate'][_0x4976c8(0x2a6)](),this[_0x4976c8(0x2d6)]=null),this[_0x4976c8(0x2a2)]){const _0x3d1069=this[_0x4976c8(0x2a2)][_0x39e698];this['_deflate'][_0x4976c8(0x2a6)](),this[_0x4976c8(0x2a2)]=null,_0x3d1069&&_0x3d1069(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x12a3c9(0x1be)](_0x309cff){const _0x50b423=_0x12a3c9,_0x38b828=this['_options'],_0x4ec751=_0x309cff[_0x50b423(0x16c)](_0x478bd2=>!(_0x38b828[_0x50b423(0x138)]===!0x1&&_0x478bd2['server_no_context_takeover']||_0x478bd2[_0x50b423(0x1ad)]&&(_0x38b828[_0x50b423(0x291)]===!0x1||typeof _0x38b828[_0x50b423(0x291)]==_0x50b423(0x1c7)&&_0x38b828['serverMaxWindowBits']>_0x478bd2['server_max_window_bits'])||typeof _0x38b828['clientMaxWindowBits']==_0x50b423(0x1c7)&&!_0x478bd2['client_max_window_bits']));if(!_0x4ec751)throw new Error(_0x50b423(0x20e));return _0x38b828['serverNoContextTakeover']&&(_0x4ec751[_0x50b423(0x1fb)]=!0x0),_0x38b828[_0x50b423(0x1ca)]&&(_0x4ec751['client_no_context_takeover']=!0x0),typeof _0x38b828[_0x50b423(0x291)]==_0x50b423(0x1c7)&&(_0x4ec751[_0x50b423(0x1ad)]=_0x38b828[_0x50b423(0x291)]),typeof _0x38b828['clientMaxWindowBits']==_0x50b423(0x1c7)?_0x4ec751[_0x50b423(0x27d)]=_0x38b828['clientMaxWindowBits']:(_0x4ec751[_0x50b423(0x27d)]===!0x0||_0x38b828[_0x50b423(0x29f)]===!0x1)&&delete _0x4ec751[_0x50b423(0x27d)],_0x4ec751;}[_0x12a3c9(0x28a)](_0x1e4191){const _0x6f0a05=_0x12a3c9,_0x23c298=_0x1e4191[0x0];if(this[_0x6f0a05(0x2c8)]['clientNoContextTakeover']===!0x1&&_0x23c298[_0x6f0a05(0x2be)])throw new Error(_0x6f0a05(0x23d));if(!_0x23c298[_0x6f0a05(0x27d)])typeof this[_0x6f0a05(0x2c8)][_0x6f0a05(0x29f)]==_0x6f0a05(0x1c7)&&(_0x23c298['client_max_window_bits']=this[_0x6f0a05(0x2c8)]['clientMaxWindowBits']);else{if(this['_options'][_0x6f0a05(0x29f)]===!0x1||typeof this[_0x6f0a05(0x2c8)][_0x6f0a05(0x29f)]==_0x6f0a05(0x1c7)&&_0x23c298[_0x6f0a05(0x27d)]>this[_0x6f0a05(0x2c8)][_0x6f0a05(0x29f)])throw new Error(_0x6f0a05(0x1cb));}return _0x23c298;}[_0x12a3c9(0x248)](_0xfc7993){const _0x6efc93=_0x12a3c9;return _0xfc7993[_0x6efc93(0x1e6)](_0x2f45e4=>{const _0x140c90=_0x6efc93;Object[_0x140c90(0x1a9)](_0x2f45e4)[_0x140c90(0x1e6)](_0x37749c=>{const _0x234f28=_0x140c90;let _0x10c485=_0x2f45e4[_0x37749c];if(_0x10c485[_0x234f28(0x235)]>0x1)throw new Error(_0x234f28(0x286)+_0x37749c+_0x234f28(0x1b3));if(_0x10c485=_0x10c485[0x0],_0x37749c===_0x234f28(0x27d)){if(_0x10c485!==!0x0){const _0x567053=+_0x10c485;if(!Number[_0x234f28(0x2e5)](_0x567053)||_0x567053<0x8||_0x567053>0xf)throw new TypeError(_0x234f28(0x224)+_0x37749c+_0x234f28(0x222)+_0x10c485);_0x10c485=_0x567053;}else{if(!this['_isServer'])throw new TypeError(_0x234f28(0x224)+_0x37749c+_0x234f28(0x222)+_0x10c485);}}else{if(_0x37749c===_0x234f28(0x1ad)){const _0x40ef9a=+_0x10c485;if(!Number[_0x234f28(0x2e5)](_0x40ef9a)||_0x40ef9a<0x8||_0x40ef9a>0xf)throw new TypeError(_0x234f28(0x224)+_0x37749c+_0x234f28(0x222)+_0x10c485);_0x10c485=_0x40ef9a;}else{if(_0x37749c===_0x234f28(0x2be)||_0x37749c===_0x234f28(0x1fb)){if(_0x10c485!==!0x0)throw new TypeError(_0x234f28(0x224)+_0x37749c+_0x234f28(0x222)+_0x10c485);}else throw new Error(_0x234f28(0x211)+_0x37749c+'\x22');}}_0x2f45e4[_0x37749c]=_0x10c485;});}),_0xfc7993;}[_0x12a3c9(0x1ba)](_0x44064b,_0x999fc,_0x549093){_0x3d5273['add'](_0x81dd5a=>{const _0x50f65a=_0xeab9;this[_0x50f65a(0x1b0)](_0x44064b,_0x999fc,(_0x22ae00,_0x10282e)=>{_0x81dd5a(),_0x549093(_0x22ae00,_0x10282e);});});}['compress'](_0x55aec4,_0x3cfb55,_0x3a9248){const _0x4c93ed=_0x12a3c9;_0x3d5273[_0x4c93ed(0x19a)](_0x828332=>{const _0x5e08ae=_0x4c93ed;this[_0x5e08ae(0x2b8)](_0x55aec4,_0x3cfb55,(_0x60b961,_0x311708)=>{_0x828332(),_0x3a9248(_0x60b961,_0x311708);});});}[_0x12a3c9(0x1b0)](_0x395490,_0x29b60d,_0x70669){const _0x21b92e=_0x12a3c9,_0x22c932=this['_isServer']?'client':'server';if(!this[_0x21b92e(0x2d6)]){const _0x1266a2=_0x22c932+_0x21b92e(0x26f),_0x499dc9=typeof this[_0x21b92e(0x296)][_0x1266a2]!=_0x21b92e(0x1c7)?_0x5e2342['Z_DEFAULT_WINDOWBITS']:this[_0x21b92e(0x296)][_0x1266a2];this[_0x21b92e(0x2d6)]=_0x5e2342[_0x21b92e(0x137)]({...this[_0x21b92e(0x2c8)][_0x21b92e(0x26c)],'windowBits':_0x499dc9}),this[_0x21b92e(0x2d6)][_0x19faf0]=this,this[_0x21b92e(0x2d6)][_0x9110ce]=0x0,this['_inflate'][_0x23c004]=[],this[_0x21b92e(0x2d6)]['on'](_0x21b92e(0x2cf),_0x1df125),this['_inflate']['on'](_0x21b92e(0x130),_0x5c5072);}this[_0x21b92e(0x2d6)][_0x39e698]=_0x70669,this[_0x21b92e(0x2d6)][_0x21b92e(0x292)](_0x395490),_0x29b60d&&this['_inflate'][_0x21b92e(0x292)](_0x5b773b),this[_0x21b92e(0x2d6)][_0x21b92e(0x26b)](()=>{const _0x5777a6=_0x21b92e,_0x4bb696=this[_0x5777a6(0x2d6)][_0x71bb9c];if(_0x4bb696){this['_inflate'][_0x5777a6(0x2a6)](),this[_0x5777a6(0x2d6)]=null,_0x70669(_0x4bb696);return;}const _0x121c54=_0x1fb316['concat'](this[_0x5777a6(0x2d6)][_0x23c004],this[_0x5777a6(0x2d6)][_0x9110ce]);this[_0x5777a6(0x2d6)]['_readableState'][_0x5777a6(0x239)]?(this[_0x5777a6(0x2d6)][_0x5777a6(0x2a6)](),this[_0x5777a6(0x2d6)]=null):(this[_0x5777a6(0x2d6)][_0x9110ce]=0x0,this[_0x5777a6(0x2d6)][_0x23c004]=[],_0x29b60d&&this[_0x5777a6(0x296)][_0x22c932+'_no_context_takeover']&&this[_0x5777a6(0x2d6)][_0x5777a6(0x1eb)]()),_0x70669(null,_0x121c54);});}[_0x12a3c9(0x2b8)](_0x983219,_0x49a612,_0x40279b){const _0xda3be7=_0x12a3c9,_0x553fa4=this['_isServer']?'server':_0xda3be7(0x1d4);if(!this[_0xda3be7(0x2a2)]){const _0x9b01a7=_0x553fa4+'_max_window_bits',_0x131ae8=typeof this[_0xda3be7(0x296)][_0x9b01a7]!=_0xda3be7(0x1c7)?_0x5e2342['Z_DEFAULT_WINDOWBITS']:this['params'][_0x9b01a7];this[_0xda3be7(0x2a2)]=_0x5e2342['createDeflateRaw']({...this[_0xda3be7(0x2c8)][_0xda3be7(0x164)],'windowBits':_0x131ae8}),this['_deflate'][_0x9110ce]=0x0,this[_0xda3be7(0x2a2)][_0x23c004]=[],this[_0xda3be7(0x2a2)]['on'](_0xda3be7(0x130),_0x877f8d);}this[_0xda3be7(0x2a2)][_0x39e698]=_0x40279b,this[_0xda3be7(0x2a2)][_0xda3be7(0x292)](_0x983219),this[_0xda3be7(0x2a2)]['flush'](_0x5e2342[_0xda3be7(0x1e0)],()=>{const _0x34e712=_0xda3be7;if(!this[_0x34e712(0x2a2)])return;let _0x64ad19=_0x1fb316[_0x34e712(0x18a)](this[_0x34e712(0x2a2)][_0x23c004],this['_deflate'][_0x9110ce]);_0x49a612&&(_0x64ad19=new _0x204c3f(_0x64ad19['buffer'],_0x64ad19['byteOffset'],_0x64ad19['length']-0x4)),this[_0x34e712(0x2a2)][_0x39e698]=null,this['_deflate'][_0x9110ce]=0x0,this[_0x34e712(0x2a2)][_0x23c004]=[],_0x49a612&&this[_0x34e712(0x296)][_0x553fa4+_0x34e712(0x215)]&&this[_0x34e712(0x2a2)][_0x34e712(0x1eb)](),_0x40279b(null,_0x64ad19);});}}ve=_0x2a8abc;function _0x877f8d(_0x91a936){const _0x40b689=_0x12a3c9;this[_0x23c004][_0x40b689(0x1d1)](_0x91a936),this[_0x9110ce]+=_0x91a936['length'];}function _0x5c5072(_0x1fce57){const _0x4d7465=_0x12a3c9;if(this[_0x9110ce]+=_0x1fce57[_0x4d7465(0x235)],this[_0x19faf0][_0x4d7465(0x14b)]<0x1||this[_0x9110ce]<=this[_0x19faf0][_0x4d7465(0x14b)]){this[_0x23c004][_0x4d7465(0x1d1)](_0x1fce57);return;}this[_0x71bb9c]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x71bb9c]['code']=_0x4d7465(0x1c6),this[_0x71bb9c][_0x168a76]=0x3f1,this[_0x4d7465(0x19f)](_0x4d7465(0x130),_0x5c5072),this[_0x4d7465(0x1eb)]();}function _0x1df125(_0x45a582){const _0x581c62=_0x12a3c9;this[_0x19faf0][_0x581c62(0x2d6)]=null,_0x45a582[_0x168a76]=0x3ef,this[_0x39e698](_0x45a582);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x150542(0x2c2)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x150542(0x1cf)],{'value':_0x150542(0x2df)})),Yt=ut(zt);var Qe;function _0x2735(){const _0x3ef527=['cookie','_mask','sec-websocket-origin','origin','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','pow','HTTP/1.1\x20','invalid\x20payload\x20length\x20','_closeCode','reason','options','shift','3mifwzb','_sender','server_no_context_takeover','isArray','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','completeUpgrade','map','socket','toString','host','entries','_injector','_masked','_httpService','abort','CLOSING','object','Maximum\x20redirects\x20exceeded','Max\x20payload\x20size\x20exceeded','Sec-WebSocket-Extensions','end','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','prototype','1313eypbjA','Unknown\x20parameter\x20\x22','isBuffer','text/html','_maskBuffer','_no_context_takeover','verifyClient','binaryType','_fragments','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_configService','setNoDelay','target','next','WS_ERR_INVALID_UTF8','_protocol','binary','jobs','\x22:\x20','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','Invalid\x20value\x20for\x20parameter\x20\x22','\x0d\x0a\x0d\x0a','_buffers','2XfoGhK','setConfig','WS_NO_UTF_8_VALIDATE','pong','emitClose','kData','removeAllListeners','invalid\x20opcode\x200','authorization','Unexpected\x20end\x20of\x20input','onmessage','_registerDependencies','33564UAnAMz','kByteLength','length','toLowerCase','byteOffset','Upgrade','endEmitted','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','startLoop','hasOwnProperty','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','pathname','sec-websocket-version','type','constructor','message','WS_ERR_INVALID_CLOSE_CODE','_closeFrameSent','Unsupported\x20protocol\x20version:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_closeTimer','normalizeParams','sendFrame','The\x20server\x20is\x20not\x20running','_queue','pipe','sec-websocket-protocol','sec-websocket-extensions','removeEventListener','function','isValidUTF8','headers','perMessageDeflate','_totalPayloadLength','_originalSecure','kMessage','586530eaEeUZ','OPEN','_autoPong','update','redirect','pluginName','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','from','_errorEmitted','getBlobData','allocUnsafe','code','readyState','addEventListener','Sec-WebSocket-Protocol:\x20','exports','_socket','listening','WebSocket','writeUIntBE','flush','zlibInflateOptions','sha1','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_max_window_bits','dispatch','Unexpected\x20server\x20response:\x20','customHeaders','port','extensionName','_payloadLength','cork','MASK\x20must\x20be\x20set','protocol','frame','_redirects','WS_ERR_EXPECTED_FIN','digest','client_max_window_bits','fragments','stream','3428760OJoyEw','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WS_ERR_INVALID_OPCODE','defaultPort','_final','bufferedAmount','Parameter\x20\x22','includes','request','total-length','acceptAsClient','dequeue','Invalid\x20Upgrade\x20header','hostname','readable','finish','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','serverMaxWindowBits','write','WS_ERR_UNEXPECTED_RSV_2_3','kAborted','getOwnPropertyDescriptor','params','autoPong','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','wss:','fin','wsClientError','_state','uncork','clientMaxWindowBits','setHeader','warn','_deflate','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','send','controlMessage','close','invalid\x20opcode\x20','finishRequest','WS_ERR_UNEXPECTED_RSV_1','size','154HoawpL','__esModule','ws+unix:','_write','File','pending','default','createError','_removeListeners','invalid\x20status\x20code\x20','arrayBuffer','species','_shouldEmitClose','_compress','dispose','_fin','getInfo','opcode','_readableState','client_no_context_takeover','base64','password','unmask','freeze','emit','permessage-deflate','WS_ERR_UNEXPECTED_MASK','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','398902CkaUQQ','_options','_allowSynchronousEvents','CONNECTING','enqueue','_originalIpc','13624hzSlKt','_closeFrameReceived','error','6InPXTA','path','_req','_opcode','STATUS_CODES','kReason','_inflate','readOnly','buffer','join','has','\x20(supported\x20versions:\x20','clients','_loop','nextTick','Module','conclude','haveLength','Cookie','_firstFragment','objectMode','isInteger','getPayloadLength64','data','apply','auth','skipUTF8Validation','authorized','defineProperty','terminate','createInflateRaw','serverNoContextTakeover','_skipUTF8Validation','websocket','once','noServer','alloc','catch','onerror','followRedirects','kType','getPayloadLength16','arraybuffer','isIP','connect','CLOSED','replace','mask','_paused','onclose','_maxPayload','blob','response','_writableState','invalid\x20UTF-8\x20sequence','_closeMessage','handleProtocols','_errored','listenerCount','_receiver','wasClean','address','test','1602rtGahh','sec-websocket-accept','value','slice','upgrade','onopen','_destroy','get','timeout','Blob','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','buffers','zlibDeflateOptions','indexOf','offer','href','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','ws:','cleanup','parse','find','username','destroy','_threshold','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','protocolVersion','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getData','_readyState','setSocket','allowSynchronousEvents','servername','handleEvent','destroyed','Sec-WebSocket-Origin','maskBuffer','_server','_doCreateSocket','format','Unexpected\x20character\x20at\x20index\x20','extensions','location','Invalid\x20WebSocket\x20frame:\x20','pause','call','rsv1','create','unshift','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','encrypted','concat','charCodeAt','_binaryType','status-code','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','concurrencyLimit','onStarting','_isServer','Invalid\x20URL:\x20','maxPayload','threshold','kIsForOnEventAttribute','http:','_extensions','RSV1\x20must\x20be\x20clear','_messageLength','add','The\x20URL\x20contains\x20a\x20fragment\x20identifier','startsWith','Opening\x20handshake\x20has\x20timed\x20out','Connection:\x20Upgrade','removeListener','dataMessage','getConfig','socketPath','_originalHostOrSocketPath','createSocket','bind','errorEmitted','getMask','consume','keys','listeners','ping','then','server_max_window_bits','compress','url','_decompress','130440tdednw','The\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','handshakeTimeout','readUInt16BE','_fragmented','accept','resume','split','decompress','maxRedirects','captureStackTrace','byteLength','acceptAsServer','GET','WS_NO_BUFFER_UTIL','Sec-WebSocket-Protocol','_read','https:','concurrency','128228jBMTjg','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','number','readUInt32BE','\x22\x20subprotocol\x20is\x20duplicated','clientNoContextTakeover','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_bufferedBytes','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','isPaused','toStringTag','createConnection','push','nodebuffer','delete','client','generateMask','_url','_compressed','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','statusCode','set','Server\x20sent\x20no\x20subprotocol','shouldHandle','writeUInt16BE','open','unexpected-response','Z_SYNC_FLUSH','sec-websocket-key','_bufferedAmount','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','setTimeout','server','forEach','isServer','_generateMask','read','values','reset','string'];_0x2735=function(){return _0x3ef527;};return _0x2735();}function ne(){const _0x252e58=_0x150542;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x53906c}=_0x2cd732,{hasBlob:_0x1925a8}=V(),_0x4cd52d=[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 _0x2cc23a(_0x46bb34){return _0x46bb34>=0x3e8&&_0x46bb34<=0x3f6&&_0x46bb34!==0x3ec&&_0x46bb34!==0x3ed&&_0x46bb34!==0x3ee||_0x46bb34>=0xbb8&&_0x46bb34<=0x1387;}function _0x21eceb(_0x24e5a0){const _0x31ff4b=_0xeab9,_0x51c90c=_0x24e5a0[_0x31ff4b(0x235)];let _0x2b2b1c=0x0;for(;_0x2b2b1c<_0x51c90c;)if((_0x24e5a0[_0x2b2b1c]&0x80)===0x0)_0x2b2b1c++;else{if((_0x24e5a0[_0x2b2b1c]&0xe0)===0xc0){if(_0x2b2b1c+0x1===_0x51c90c||(_0x24e5a0[_0x2b2b1c+0x1]&0xc0)!==0x80||(_0x24e5a0[_0x2b2b1c]&0xfe)===0xc0)return!0x1;_0x2b2b1c+=0x2;}else{if((_0x24e5a0[_0x2b2b1c]&0xf0)===0xe0){if(_0x2b2b1c+0x2>=_0x51c90c||(_0x24e5a0[_0x2b2b1c+0x1]&0xc0)!==0x80||(_0x24e5a0[_0x2b2b1c+0x2]&0xc0)!==0x80||_0x24e5a0[_0x2b2b1c]===0xe0&&(_0x24e5a0[_0x2b2b1c+0x1]&0xe0)===0x80||_0x24e5a0[_0x2b2b1c]===0xed&&(_0x24e5a0[_0x2b2b1c+0x1]&0xe0)===0xa0)return!0x1;_0x2b2b1c+=0x3;}else{if((_0x24e5a0[_0x2b2b1c]&0xf8)===0xf0){if(_0x2b2b1c+0x3>=_0x51c90c||(_0x24e5a0[_0x2b2b1c+0x1]&0xc0)!==0x80||(_0x24e5a0[_0x2b2b1c+0x2]&0xc0)!==0x80||(_0x24e5a0[_0x2b2b1c+0x3]&0xc0)!==0x80||_0x24e5a0[_0x2b2b1c]===0xf0&&(_0x24e5a0[_0x2b2b1c+0x1]&0xf0)===0x80||_0x24e5a0[_0x2b2b1c]===0xf4&&_0x24e5a0[_0x2b2b1c+0x1]>0x8f||_0x24e5a0[_0x2b2b1c]>0xf4)return!0x1;_0x2b2b1c+=0x4;}else return!0x1;}}}return!0x0;}function _0x45715(_0x297df7){const _0x160db4=_0xeab9;return _0x1925a8&&typeof _0x297df7==_0x160db4(0x209)&&typeof _0x297df7[_0x160db4(0x2b5)]==_0x160db4(0x250)&&typeof _0x297df7[_0x160db4(0x240)]==_0x160db4(0x1ec)&&typeof _0x297df7[_0x160db4(0x27f)]=='function'&&(_0x297df7[Symbol[_0x160db4(0x1cf)]]===_0x160db4(0x161)||_0x297df7[Symbol[_0x160db4(0x1cf)]]===_0x160db4(0x2af));}if(re[_0x252e58(0x266)]={'isBlob':_0x45715,'isValidStatusCode':_0x2cc23a,'isValidUTF8':_0x21eceb,'tokenChars':_0x4cd52d},_0x53906c)re[_0x252e58(0x266)][_0x252e58(0x251)]=function(_0x3ac750){return _0x3ac750['length']<0x18?_0x21eceb(_0x3ac750):_0x53906c(_0x3ac750);};else{if(!process['env'][_0x252e58(0x229)])try{const _0x2f9599=Yt;re[_0x252e58(0x266)][_0x252e58(0x251)]=function(_0x5f128f){return _0x5f128f['length']<0x20?_0x21eceb(_0x5f128f):_0x2f9599(_0x5f128f);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x280b4f=_0x150542;if(Je)return Se;Je=0x1;const {Writable:_0x2bd680}=_0x13e047,_0x57d560=he(),{BINARY_TYPES:_0x235c76,EMPTY_BUFFER:_0x2265a4,kStatusCode:_0x5bd6bf,kWebSocket:_0x440666}=V(),{concat:_0x133c5f,toArrayBuffer:_0x1f74f8,unmask:_0x4e7b4e}=ce(),{isValidStatusCode:_0x2bb1a7,isValidUTF8:_0x3358f5}=ne(),_0x9df451=Buffer[Symbol['species']],_0x4cbcb4=0x0,_0x513b1a=0x1,_0x3f4a80=0x2,_0xf54bca=0x3,_0x9ccf9e=0x4,_0xec6422=0x5,_0xe20a30=0x6;class _0x2a2f87 extends _0x2bd680{constructor(_0x4b4da3={}){const _0x1da6f3=_0xeab9;super(),this[_0x1da6f3(0x2c9)]=_0x4b4da3[_0x1da6f3(0x176)]!==void 0x0?_0x4b4da3[_0x1da6f3(0x176)]:!0x0,this[_0x1da6f3(0x18c)]=_0x4b4da3[_0x1da6f3(0x217)]||_0x235c76[0x0],this[_0x1da6f3(0x197)]=_0x4b4da3[_0x1da6f3(0x180)]||{},this[_0x1da6f3(0x191)]=!!_0x4b4da3[_0x1da6f3(0x1e7)],this['_maxPayload']=_0x4b4da3['maxPayload']|0x0,this[_0x1da6f3(0x139)]=!!_0x4b4da3[_0x1da6f3(0x133)],this[_0x440666]=void 0x0,this[_0x1da6f3(0x1cc)]=0x0,this[_0x1da6f3(0x226)]=[],this[_0x1da6f3(0x1d7)]=!0x1,this['_payloadLength']=0x0,this[_0x1da6f3(0x1ee)]=void 0x0,this[_0x1da6f3(0x1b6)]=0x0,this[_0x1da6f3(0x205)]=!0x1,this[_0x1da6f3(0x2ba)]=!0x1,this[_0x1da6f3(0x2d3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x1da6f3(0x199)]=0x0,this[_0x1da6f3(0x218)]=[],this[_0x1da6f3(0x152)]=!0x1,this[_0x1da6f3(0x2dd)]=!0x1,this['_state']=_0x4cbcb4;}[_0x280b4f(0x2ae)](_0x4b9f9b,_0x2c0a78,_0x38065c){const _0x271eff=_0x280b4f;if(this[_0x271eff(0x2d3)]===0x8&&this['_state']==_0x4cbcb4)return _0x38065c();this[_0x271eff(0x1cc)]+=_0x4b9f9b['length'],this[_0x271eff(0x226)][_0x271eff(0x1d1)](_0x4b9f9b),this[_0x271eff(0x23b)](_0x38065c);}[_0x280b4f(0x1a8)](_0x214f81){const _0x52919a=_0x280b4f;if(this[_0x52919a(0x1cc)]-=_0x214f81,_0x214f81===this['_buffers'][0x0][_0x52919a(0x235)])return this[_0x52919a(0x226)][_0x52919a(0x1f8)]();if(_0x214f81<this['_buffers'][0x0]['length']){const _0x468430=this['_buffers'][0x0];return this[_0x52919a(0x226)][0x0]=new _0x9df451(_0x468430[_0x52919a(0x2d8)],_0x468430[_0x52919a(0x237)]+_0x214f81,_0x468430[_0x52919a(0x235)]-_0x214f81),new _0x9df451(_0x468430['buffer'],_0x468430[_0x52919a(0x237)],_0x214f81);}const _0x5b527b=Buffer[_0x52919a(0x261)](_0x214f81);do{const _0x48e83f=this['_buffers'][0x0],_0x20a4a0=_0x5b527b[_0x52919a(0x235)]-_0x214f81;_0x214f81>=_0x48e83f[_0x52919a(0x235)]?_0x5b527b[_0x52919a(0x1da)](this[_0x52919a(0x226)][_0x52919a(0x1f8)](),_0x20a4a0):(_0x5b527b[_0x52919a(0x1da)](new Uint8Array(_0x48e83f['buffer'],_0x48e83f[_0x52919a(0x237)],_0x214f81),_0x20a4a0),this[_0x52919a(0x226)][0x0]=new _0x9df451(_0x48e83f[_0x52919a(0x2d8)],_0x48e83f[_0x52919a(0x237)]+_0x214f81,_0x48e83f['length']-_0x214f81)),_0x214f81-=_0x48e83f[_0x52919a(0x235)];}while(_0x214f81>0x0);return _0x5b527b;}[_0x280b4f(0x23b)](_0x4f5eb1){const _0x468ae7=_0x280b4f;this[_0x468ae7(0x2dd)]=!0x0;do switch(this[_0x468ae7(0x29d)]){case _0x4cbcb4:this[_0x468ae7(0x2bb)](_0x4f5eb1);break;case _0x513b1a:this[_0x468ae7(0x142)](_0x4f5eb1);break;case _0x3f4a80:this[_0x468ae7(0x12f)](_0x4f5eb1);break;case _0xf54bca:this['getMask']();break;case _0x9ccf9e:this[_0x468ae7(0x173)](_0x4f5eb1);break;case _0xec6422:case _0xe20a30:this['_loop']=!0x1;return;}while(this[_0x468ae7(0x2dd)]);this['_errored']||_0x4f5eb1();}[_0x280b4f(0x2bb)](_0x2f42da){const _0x262bc0=_0x280b4f;if(this[_0x262bc0(0x1cc)]<0x2){this['_loop']=!0x1;return;}const _0x1db583=this[_0x262bc0(0x1a8)](0x2);if((_0x1db583[0x0]&0x30)!==0x0){const _0x336e0f=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x18e),!0x0,0x3ea,_0x262bc0(0x293));_0x2f42da(_0x336e0f);return;}const _0xf92d60=(_0x1db583[0x0]&0x40)===0x40;if(_0xf92d60&&!this[_0x262bc0(0x197)][_0x57d560['extensionName']]){const _0x1a18cc=this[_0x262bc0(0x2b2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2f42da(_0x1a18cc);return;}if(this['_fin']=(_0x1db583[0x0]&0x80)===0x80,this['_opcode']=_0x1db583[0x0]&0xf,this[_0x262bc0(0x275)]=_0x1db583[0x1]&0x7f,this[_0x262bc0(0x2d3)]===0x0){if(_0xf92d60){const _0x125006=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x198),!0x0,0x3ea,_0x262bc0(0x2a9));_0x2f42da(_0x125006);return;}if(!this[_0x262bc0(0x1b6)]){const _0x1e9bc5=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x22e),!0x0,0x3ea,_0x262bc0(0x282));_0x2f42da(_0x1e9bc5);return;}this[_0x262bc0(0x2d3)]=this[_0x262bc0(0x1b6)];}else{if(this[_0x262bc0(0x2d3)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x4dade1=this[_0x262bc0(0x2b2)](RangeError,'invalid\x20opcode\x20'+this[_0x262bc0(0x2d3)],!0x0,0x3ea,_0x262bc0(0x282));_0x2f42da(_0x4dade1);return;}this[_0x262bc0(0x1d7)]=_0xf92d60;}else{if(this[_0x262bc0(0x2d3)]>0x7&&this[_0x262bc0(0x2d3)]<0xb){if(!this[_0x262bc0(0x2ba)]){const _0x4f5c67=this[_0x262bc0(0x2b2)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x262bc0(0x27b));_0x2f42da(_0x4f5c67);return;}if(_0xf92d60){const _0x43e7fa=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x198),!0x0,0x3ea,_0x262bc0(0x2a9));_0x2f42da(_0x43e7fa);return;}if(this[_0x262bc0(0x275)]>0x7d||this[_0x262bc0(0x2d3)]===0x8&&this[_0x262bc0(0x275)]===0x1){const _0x4ffbab=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x1f4)+this[_0x262bc0(0x275)],!0x0,0x3ea,_0x262bc0(0x2a3));_0x2f42da(_0x4ffbab);return;}}else{const _0x11cca4=this[_0x262bc0(0x2b2)](RangeError,_0x262bc0(0x2a7)+this[_0x262bc0(0x2d3)],!0x0,0x3ea,_0x262bc0(0x282));_0x2f42da(_0x11cca4);return;}}}if(!this[_0x262bc0(0x2ba)]&&!this[_0x262bc0(0x1b6)]&&(this['_fragmented']=this[_0x262bc0(0x2d3)]),this[_0x262bc0(0x205)]=(_0x1db583[0x1]&0x80)===0x80,this[_0x262bc0(0x191)]){if(!this[_0x262bc0(0x205)]){const _0x17b094=this['createError'](RangeError,_0x262bc0(0x277),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x2f42da(_0x17b094);return;}}else{if(this[_0x262bc0(0x205)]){const _0x2e11d6=this[_0x262bc0(0x2b2)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x262bc0(0x2c5));_0x2f42da(_0x2e11d6);return;}}this[_0x262bc0(0x275)]===0x7e?this['_state']=_0x513b1a:this['_payloadLength']===0x7f?this[_0x262bc0(0x29d)]=_0x3f4a80:this['haveLength'](_0x2f42da);}['getPayloadLength16'](_0x338d9f){const _0x39f8dd=_0x280b4f;if(this[_0x39f8dd(0x1cc)]<0x2){this[_0x39f8dd(0x2dd)]=!0x1;return;}this[_0x39f8dd(0x275)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x39f8dd(0x2e1)](_0x338d9f);}[_0x280b4f(0x12f)](_0x51db17){const _0x5b111f=_0x280b4f;if(this['_bufferedBytes']<0x8){this[_0x5b111f(0x2dd)]=!0x1;return;}const _0x2dc464=this[_0x5b111f(0x1a8)](0x8),_0x2fa46a=_0x2dc464['readUInt32BE'](0x0);if(_0x2fa46a>Math[_0x5b111f(0x1f2)](0x2,0x15)-0x1){const _0x325e5e=this[_0x5b111f(0x2b2)](RangeError,_0x5b111f(0x23a),!0x1,0x3f1,_0x5b111f(0x2c6));_0x51db17(_0x325e5e);return;}this['_payloadLength']=_0x2fa46a*Math[_0x5b111f(0x1f2)](0x2,0x20)+_0x2dc464[_0x5b111f(0x1c8)](0x4),this[_0x5b111f(0x2e1)](_0x51db17);}[_0x280b4f(0x2e1)](_0x315898){const _0x2b66a7=_0x280b4f;if(this[_0x2b66a7(0x275)]&&this[_0x2b66a7(0x2d3)]<0x8&&(this[_0x2b66a7(0x254)]+=this[_0x2b66a7(0x275)],this[_0x2b66a7(0x254)]>this[_0x2b66a7(0x14b)]&&this[_0x2b66a7(0x14b)]>0x0)){const _0x385ed5=this[_0x2b66a7(0x2b2)](RangeError,_0x2b66a7(0x20b),!0x1,0x3f1,_0x2b66a7(0x1c6));_0x315898(_0x385ed5);return;}this['_masked']?this[_0x2b66a7(0x29d)]=_0xf54bca:this[_0x2b66a7(0x29d)]=_0x9ccf9e;}[_0x280b4f(0x1a7)](){const _0x3c7884=_0x280b4f;if(this['_bufferedBytes']<0x4){this[_0x3c7884(0x2dd)]=!0x1;return;}this[_0x3c7884(0x1ee)]=this[_0x3c7884(0x1a8)](0x4),this['_state']=_0x9ccf9e;}[_0x280b4f(0x173)](_0x40453b){const _0x29ba6f=_0x280b4f;let _0x1d6498=_0x2265a4;if(this[_0x29ba6f(0x275)]){if(this['_bufferedBytes']<this[_0x29ba6f(0x275)]){this[_0x29ba6f(0x2dd)]=!0x1;return;}_0x1d6498=this['consume'](this[_0x29ba6f(0x275)]),this['_masked']&&(this[_0x29ba6f(0x1ee)][0x0]|this['_mask'][0x1]|this[_0x29ba6f(0x1ee)][0x2]|this[_0x29ba6f(0x1ee)][0x3])!==0x0&&_0x4e7b4e(_0x1d6498,this[_0x29ba6f(0x1ee)]);}if(this[_0x29ba6f(0x2d3)]>0x7){this[_0x29ba6f(0x2a5)](_0x1d6498,_0x40453b);return;}if(this[_0x29ba6f(0x1d7)]){this[_0x29ba6f(0x29d)]=_0xec6422,this[_0x29ba6f(0x1ba)](_0x1d6498,_0x40453b);return;}_0x1d6498[_0x29ba6f(0x235)]&&(this[_0x29ba6f(0x199)]=this['_totalPayloadLength'],this['_fragments'][_0x29ba6f(0x1d1)](_0x1d6498)),this['dataMessage'](_0x40453b);}[_0x280b4f(0x1ba)](_0x2a265d,_0x2a236d){const _0xf963f=_0x280b4f;this[_0xf963f(0x197)][_0x57d560[_0xf963f(0x274)]][_0xf963f(0x1ba)](_0x2a265d,this[_0xf963f(0x2ba)],(_0x4ea40a,_0x21cd0d)=>{const _0x2b4014=_0xf963f;if(_0x4ea40a)return _0x2a236d(_0x4ea40a);if(_0x21cd0d[_0x2b4014(0x235)]){if(this[_0x2b4014(0x199)]+=_0x21cd0d['length'],this[_0x2b4014(0x199)]>this[_0x2b4014(0x14b)]&&this[_0x2b4014(0x14b)]>0x0){const _0x3f36f8=this[_0x2b4014(0x2b2)](RangeError,_0x2b4014(0x20b),!0x1,0x3f1,_0x2b4014(0x1c6));_0x2a236d(_0x3f36f8);return;}this[_0x2b4014(0x218)]['push'](_0x21cd0d);}this[_0x2b4014(0x1a0)](_0x2a236d),this[_0x2b4014(0x29d)]===_0x4cbcb4&&this[_0x2b4014(0x23b)](_0x2a236d);});}[_0x280b4f(0x1a0)](_0x18dc82){const _0x59c765=_0x280b4f;if(!this[_0x59c765(0x2ba)]){this[_0x59c765(0x29d)]=_0x4cbcb4;return;}const _0x5ef2df=this['_messageLength'],_0x39cbc=this[_0x59c765(0x218)];if(this[_0x59c765(0x254)]=0x0,this[_0x59c765(0x199)]=0x0,this['_fragmented']=0x0,this[_0x59c765(0x218)]=[],this['_opcode']===0x2){let _0x124969;this[_0x59c765(0x18c)]==='nodebuffer'?_0x124969=_0x133c5f(_0x39cbc,_0x5ef2df):this['_binaryType']===_0x59c765(0x143)?_0x124969=_0x1f74f8(_0x133c5f(_0x39cbc,_0x5ef2df)):this[_0x59c765(0x18c)]===_0x59c765(0x14c)?_0x124969=new Blob(_0x39cbc):_0x124969=_0x39cbc,this[_0x59c765(0x2c9)]?(this[_0x59c765(0x2c3)](_0x59c765(0x242),_0x124969,!0x0),this[_0x59c765(0x29d)]=_0x4cbcb4):(this[_0x59c765(0x29d)]=_0xe20a30,setImmediate(()=>{const _0x19a607=_0x59c765;this[_0x19a607(0x2c3)](_0x19a607(0x242),_0x124969,!0x0),this[_0x19a607(0x29d)]=_0x4cbcb4,this[_0x19a607(0x23b)](_0x18dc82);}));}else{const _0x26b1a4=_0x133c5f(_0x39cbc,_0x5ef2df);if(!this[_0x59c765(0x139)]&&!_0x3358f5(_0x26b1a4)){const _0x22742d=this['createError'](Error,_0x59c765(0x14f),!0x0,0x3ef,_0x59c765(0x21e));_0x18dc82(_0x22742d);return;}this['_state']===_0xec6422||this['_allowSynchronousEvents']?(this[_0x59c765(0x2c3)](_0x59c765(0x242),_0x26b1a4,!0x1),this['_state']=_0x4cbcb4):(this[_0x59c765(0x29d)]=_0xe20a30,setImmediate(()=>{const _0x1f2482=_0x59c765;this[_0x1f2482(0x2c3)](_0x1f2482(0x242),_0x26b1a4,!0x1),this[_0x1f2482(0x29d)]=_0x4cbcb4,this[_0x1f2482(0x23b)](_0x18dc82);}));}}['controlMessage'](_0x4908df,_0x20a612){const _0xa90368=_0x280b4f;if(this[_0xa90368(0x2d3)]===0x8){if(_0x4908df[_0xa90368(0x235)]===0x0)this[_0xa90368(0x2dd)]=!0x1,this[_0xa90368(0x2c3)]('conclude',0x3ed,_0x2265a4),this[_0xa90368(0x20d)]();else{const _0x15fd69=_0x4908df[_0xa90368(0x1b5)](0x0);if(!_0x2bb1a7(_0x15fd69)){const _0x4ed8f5=this[_0xa90368(0x2b2)](RangeError,_0xa90368(0x2b4)+_0x15fd69,!0x0,0x3ea,_0xa90368(0x243));_0x20a612(_0x4ed8f5);return;}const _0x231436=new _0x9df451(_0x4908df[_0xa90368(0x2d8)],_0x4908df[_0xa90368(0x237)]+0x2,_0x4908df[_0xa90368(0x235)]-0x2);if(!this[_0xa90368(0x139)]&&!_0x3358f5(_0x231436)){const _0x48c2c7=this[_0xa90368(0x2b2)](Error,_0xa90368(0x14f),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x20a612(_0x48c2c7);return;}this[_0xa90368(0x2dd)]=!0x1,this[_0xa90368(0x2c3)]('conclude',_0x15fd69,_0x231436),this[_0xa90368(0x20d)]();}this[_0xa90368(0x29d)]=_0x4cbcb4;return;}this[_0xa90368(0x2c9)]?(this[_0xa90368(0x2c3)](this['_opcode']===0x9?_0xa90368(0x1ab):_0xa90368(0x22a),_0x4908df),this['_state']=_0x4cbcb4):(this[_0xa90368(0x29d)]=_0xe20a30,setImmediate(()=>{const _0x409c05=_0xa90368;this[_0x409c05(0x2c3)](this['_opcode']===0x9?_0x409c05(0x1ab):_0x409c05(0x22a),_0x4908df),this[_0x409c05(0x29d)]=_0x4cbcb4,this[_0x409c05(0x23b)](_0x20a612);}));}[_0x280b4f(0x2b2)](_0xf73fb3,_0x2c27f3,_0x219539,_0x496ad3,_0x3d0e32){const _0x85e40f=_0x280b4f;this['_loop']=!0x1,this[_0x85e40f(0x152)]=!0x0;const _0x379bff=new _0xf73fb3(_0x219539?_0x85e40f(0x182)+_0x2c27f3:_0x2c27f3);return Error[_0x85e40f(0x1bc)](_0x379bff,this[_0x85e40f(0x2b2)]),_0x379bff[_0x85e40f(0x262)]=_0x3d0e32,_0x379bff[_0x5bd6bf]=_0x496ad3,_0x379bff;}}return Se=_0x2a2f87,Se;}var Ee,et;function _t(){const _0x1a7408=_0x150542;if(et)return Ee;et=0x1;const {Duplex:_0x32c103}=_0x13e047,{randomFillSync:_0x4e472b}=_0x4e45a1,_0x21e028=he(),{EMPTY_BUFFER:_0x2babe8,kWebSocket:_0x291a0f,NOOP:_0x101085}=V(),{isBlob:_0xba4678,isValidStatusCode:_0x444a03}=ne(),{mask:_0x294302,toBuffer:_0x277a66}=ce(),_0x1e6bd4=Symbol(_0x1a7408(0x234)),_0x2f6308=Buffer[_0x1a7408(0x13d)](0x4),_0x642e21=0x8*0x400;let _0x367587,_0x49a11d=_0x642e21;const _0x433099=0x0,_0x3cc44f=0x1,_0x30fcc8=0x2;class _0x535acc{constructor(_0x554cfd,_0x5a6827,_0x432b28){const _0x2a16cc=_0x1a7408;this[_0x2a16cc(0x197)]=_0x5a6827||{},_0x432b28&&(this[_0x2a16cc(0x1e8)]=_0x432b28,this['_maskBuffer']=Buffer[_0x2a16cc(0x13d)](0x4)),this[_0x2a16cc(0x267)]=_0x554cfd,this[_0x2a16cc(0x2e3)]=!0x0,this[_0x2a16cc(0x2b8)]=!0x1,this[_0x2a16cc(0x1cc)]=0x0,this[_0x2a16cc(0x24b)]=[],this['_state']=_0x433099,this[_0x2a16cc(0x13f)]=_0x101085,this[_0x291a0f]=void 0x0;}static[_0x1a7408(0x279)](_0x2b4598,_0x59f408){const _0x520d0e=_0x1a7408;let _0x54e334,_0x111534=!0x1,_0x2db4e3=0x2,_0x59f2dc=!0x1;_0x59f408[_0x520d0e(0x148)]&&(_0x54e334=_0x59f408[_0x520d0e(0x17b)]||_0x2f6308,_0x59f408[_0x520d0e(0x1d5)]?_0x59f408['generateMask'](_0x54e334):(_0x49a11d===_0x642e21&&(_0x367587===void 0x0&&(_0x367587=Buffer[_0x520d0e(0x13d)](_0x642e21)),_0x4e472b(_0x367587,0x0,_0x642e21),_0x49a11d=0x0),_0x54e334[0x0]=_0x367587[_0x49a11d++],_0x54e334[0x1]=_0x367587[_0x49a11d++],_0x54e334[0x2]=_0x367587[_0x49a11d++],_0x54e334[0x3]=_0x367587[_0x49a11d++]),_0x59f2dc=(_0x54e334[0x0]|_0x54e334[0x1]|_0x54e334[0x2]|_0x54e334[0x3])===0x0,_0x2db4e3=0x6);let _0x490723;typeof _0x2b4598=='string'?(!_0x59f408[_0x520d0e(0x148)]||_0x59f2dc)&&_0x59f408[_0x1e6bd4]!==void 0x0?_0x490723=_0x59f408[_0x1e6bd4]:(_0x2b4598=Buffer['from'](_0x2b4598),_0x490723=_0x2b4598[_0x520d0e(0x235)]):(_0x490723=_0x2b4598[_0x520d0e(0x235)],_0x111534=_0x59f408[_0x520d0e(0x148)]&&_0x59f408[_0x520d0e(0x2d7)]&&!_0x59f2dc);let _0x16f432=_0x490723;_0x490723>=0x10000?(_0x2db4e3+=0x8,_0x16f432=0x7f):_0x490723>0x7d&&(_0x2db4e3+=0x2,_0x16f432=0x7e);const _0x3fee3e=Buffer[_0x520d0e(0x261)](_0x111534?_0x490723+_0x2db4e3:_0x2db4e3);return _0x3fee3e[0x0]=_0x59f408['fin']?_0x59f408[_0x520d0e(0x2bc)]|0x80:_0x59f408[_0x520d0e(0x2bc)],_0x59f408[_0x520d0e(0x185)]&&(_0x3fee3e[0x0]|=0x40),_0x3fee3e[0x1]=_0x16f432,_0x16f432===0x7e?_0x3fee3e['writeUInt16BE'](_0x490723,0x2):_0x16f432===0x7f&&(_0x3fee3e[0x2]=_0x3fee3e[0x3]=0x0,_0x3fee3e[_0x520d0e(0x26a)](_0x490723,0x4,0x6)),_0x59f408[_0x520d0e(0x148)]?(_0x3fee3e[0x1]|=0x80,_0x3fee3e[_0x2db4e3-0x4]=_0x54e334[0x0],_0x3fee3e[_0x2db4e3-0x3]=_0x54e334[0x1],_0x3fee3e[_0x2db4e3-0x2]=_0x54e334[0x2],_0x3fee3e[_0x2db4e3-0x1]=_0x54e334[0x3],_0x59f2dc?[_0x3fee3e,_0x2b4598]:_0x111534?(_0x294302(_0x2b4598,_0x54e334,_0x3fee3e,_0x2db4e3,_0x490723),[_0x3fee3e]):(_0x294302(_0x2b4598,_0x54e334,_0x2b4598,0x0,_0x490723),[_0x3fee3e,_0x2b4598])):[_0x3fee3e,_0x2b4598];}[_0x1a7408(0x2a6)](_0x59b97,_0x3c0f37,_0x1925ce,_0x4705de){const _0x902ac9=_0x1a7408;let _0x4aac60;if(_0x59b97===void 0x0)_0x4aac60=_0x2babe8;else{if(typeof _0x59b97!=_0x902ac9(0x1c7)||!_0x444a03(_0x59b97))throw new TypeError(_0x902ac9(0x1d8));if(_0x3c0f37===void 0x0||!_0x3c0f37['length'])_0x4aac60=Buffer['allocUnsafe'](0x2),_0x4aac60[_0x902ac9(0x1dd)](_0x59b97,0x0);else{const _0x3edefe=Buffer[_0x902ac9(0x1bd)](_0x3c0f37);if(_0x3edefe>0x7b)throw new RangeError(_0x902ac9(0x1cd));_0x4aac60=Buffer[_0x902ac9(0x261)](0x2+_0x3edefe),_0x4aac60[_0x902ac9(0x1dd)](_0x59b97,0x0),typeof _0x3c0f37==_0x902ac9(0x1ec)?_0x4aac60[_0x902ac9(0x292)](_0x3c0f37,0x2):_0x4aac60['set'](_0x3c0f37,0x2);}}const _0x50e488={[_0x1e6bd4]:_0x4aac60[_0x902ac9(0x235)],'fin':!0x0,'generateMask':this[_0x902ac9(0x1e8)],'mask':_0x1925ce,'maskBuffer':this[_0x902ac9(0x214)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x902ac9(0x29d)]!==_0x433099?this[_0x902ac9(0x2cb)]([this[_0x902ac9(0x270)],_0x4aac60,!0x1,_0x50e488,_0x4705de]):this['sendFrame'](_0x535acc[_0x902ac9(0x279)](_0x4aac60,_0x50e488),_0x4705de);}[_0x1a7408(0x1ab)](_0x488f40,_0x4c72d0,_0x18ac1f){const _0x7914ee=_0x1a7408;let _0x1d5a3c,_0x2a7663;if(typeof _0x488f40==_0x7914ee(0x1ec)?(_0x1d5a3c=Buffer[_0x7914ee(0x1bd)](_0x488f40),_0x2a7663=!0x1):_0xba4678(_0x488f40)?(_0x1d5a3c=_0x488f40[_0x7914ee(0x2aa)],_0x2a7663=!0x1):(_0x488f40=_0x277a66(_0x488f40),_0x1d5a3c=_0x488f40[_0x7914ee(0x235)],_0x2a7663=_0x277a66['readOnly']),_0x1d5a3c>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x6a2cba={[_0x1e6bd4]:_0x1d5a3c,'fin':!0x0,'generateMask':this[_0x7914ee(0x1e8)],'mask':_0x4c72d0,'maskBuffer':this[_0x7914ee(0x214)],'opcode':0x9,'readOnly':_0x2a7663,'rsv1':!0x1};_0xba4678(_0x488f40)?this[_0x7914ee(0x29d)]!==_0x433099?this[_0x7914ee(0x2cb)]([this[_0x7914ee(0x260)],_0x488f40,!0x1,_0x6a2cba,_0x18ac1f]):this[_0x7914ee(0x260)](_0x488f40,!0x1,_0x6a2cba,_0x18ac1f):this['_state']!==_0x433099?this[_0x7914ee(0x2cb)]([this[_0x7914ee(0x270)],_0x488f40,!0x1,_0x6a2cba,_0x18ac1f]):this[_0x7914ee(0x249)](_0x535acc[_0x7914ee(0x279)](_0x488f40,_0x6a2cba),_0x18ac1f);}[_0x1a7408(0x22a)](_0x476f3d,_0xcfba1c,_0x33d147){const _0x22004c=_0x1a7408;let _0x84bc64,_0x1343cd;if(typeof _0x476f3d==_0x22004c(0x1ec)?(_0x84bc64=Buffer[_0x22004c(0x1bd)](_0x476f3d),_0x1343cd=!0x1):_0xba4678(_0x476f3d)?(_0x84bc64=_0x476f3d[_0x22004c(0x2aa)],_0x1343cd=!0x1):(_0x476f3d=_0x277a66(_0x476f3d),_0x84bc64=_0x476f3d[_0x22004c(0x235)],_0x1343cd=_0x277a66[_0x22004c(0x2d7)]),_0x84bc64>0x7d)throw new RangeError(_0x22004c(0x168));const _0x33c77b={[_0x1e6bd4]:_0x84bc64,'fin':!0x0,'generateMask':this[_0x22004c(0x1e8)],'mask':_0xcfba1c,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1343cd,'rsv1':!0x1};_0xba4678(_0x476f3d)?this[_0x22004c(0x29d)]!==_0x433099?this[_0x22004c(0x2cb)]([this['getBlobData'],_0x476f3d,!0x1,_0x33c77b,_0x33d147]):this[_0x22004c(0x260)](_0x476f3d,!0x1,_0x33c77b,_0x33d147):this[_0x22004c(0x29d)]!==_0x433099?this[_0x22004c(0x2cb)]([this['dispatch'],_0x476f3d,!0x1,_0x33c77b,_0x33d147]):this[_0x22004c(0x249)](_0x535acc[_0x22004c(0x279)](_0x476f3d,_0x33c77b),_0x33d147);}[_0x1a7408(0x2a4)](_0x3a60e5,_0x1909e5,_0x37d217){const _0x53d689=_0x1a7408,_0x34b84f=this[_0x53d689(0x197)][_0x21e028[_0x53d689(0x274)]];let _0x27d4cd=_0x1909e5[_0x53d689(0x220)]?0x2:0x1,_0x357a9b=_0x1909e5[_0x53d689(0x1ae)],_0x2d8038,_0x3018d0;typeof _0x3a60e5==_0x53d689(0x1ec)?(_0x2d8038=Buffer[_0x53d689(0x1bd)](_0x3a60e5),_0x3018d0=!0x1):_0xba4678(_0x3a60e5)?(_0x2d8038=_0x3a60e5[_0x53d689(0x2aa)],_0x3018d0=!0x1):(_0x3a60e5=_0x277a66(_0x3a60e5),_0x2d8038=_0x3a60e5[_0x53d689(0x235)],_0x3018d0=_0x277a66['readOnly']),this[_0x53d689(0x2e3)]?(this['_firstFragment']=!0x1,_0x357a9b&&_0x34b84f&&_0x34b84f['params'][_0x34b84f[_0x53d689(0x191)]?_0x53d689(0x1fb):'client_no_context_takeover']&&(_0x357a9b=_0x2d8038>=_0x34b84f[_0x53d689(0x16f)]),this['_compress']=_0x357a9b):(_0x357a9b=!0x1,_0x27d4cd=0x0),_0x1909e5[_0x53d689(0x29b)]&&(this['_firstFragment']=!0x0);const _0x2efd44={[_0x1e6bd4]:_0x2d8038,'fin':_0x1909e5[_0x53d689(0x29b)],'generateMask':this[_0x53d689(0x1e8)],'mask':_0x1909e5['mask'],'maskBuffer':this[_0x53d689(0x214)],'opcode':_0x27d4cd,'readOnly':_0x3018d0,'rsv1':_0x357a9b};_0xba4678(_0x3a60e5)?this['_state']!==_0x433099?this[_0x53d689(0x2cb)]([this[_0x53d689(0x260)],_0x3a60e5,this[_0x53d689(0x2b8)],_0x2efd44,_0x37d217]):this[_0x53d689(0x260)](_0x3a60e5,this['_compress'],_0x2efd44,_0x37d217):this[_0x53d689(0x29d)]!==_0x433099?this[_0x53d689(0x2cb)]([this['dispatch'],_0x3a60e5,this[_0x53d689(0x2b8)],_0x2efd44,_0x37d217]):this[_0x53d689(0x270)](_0x3a60e5,this['_compress'],_0x2efd44,_0x37d217);}[_0x1a7408(0x260)](_0x394d78,_0x146116,_0x37acc2,_0x5c37bf){const _0x54ea55=_0x1a7408;this['_bufferedBytes']+=_0x37acc2[_0x1e6bd4],this['_state']=_0x30fcc8,_0x394d78[_0x54ea55(0x2b5)]()[_0x54ea55(0x1ac)](_0x187c0f=>{const _0x26c168=_0x54ea55;if(this[_0x26c168(0x267)][_0x26c168(0x179)]){const _0x48138b=new Error(_0x26c168(0x281));process[_0x26c168(0x2de)](_0x542e71,this,_0x48138b,_0x5c37bf);return;}this[_0x26c168(0x1cc)]-=_0x37acc2[_0x1e6bd4];const _0x32b521=_0x277a66(_0x187c0f);_0x146116?this[_0x26c168(0x270)](_0x32b521,_0x146116,_0x37acc2,_0x5c37bf):(this['_state']=_0x433099,this['sendFrame'](_0x535acc[_0x26c168(0x279)](_0x32b521,_0x37acc2),_0x5c37bf),this[_0x26c168(0x28b)]());})[_0x54ea55(0x13e)](_0x1feb62=>{const _0x288ec8=_0x54ea55;process[_0x288ec8(0x2de)](_0x4437d1,this,_0x1feb62,_0x5c37bf);});}[_0x1a7408(0x270)](_0x51c695,_0x5862ed,_0x587dfa,_0x56d3ad){const _0x320d0e=_0x1a7408;if(!_0x5862ed){this['sendFrame'](_0x535acc[_0x320d0e(0x279)](_0x51c695,_0x587dfa),_0x56d3ad);return;}const _0x303c10=this[_0x320d0e(0x197)][_0x21e028[_0x320d0e(0x274)]];this[_0x320d0e(0x1cc)]+=_0x587dfa[_0x1e6bd4],this[_0x320d0e(0x29d)]=_0x3cc44f,_0x303c10['compress'](_0x51c695,_0x587dfa[_0x320d0e(0x29b)],(_0x381ce5,_0x3d436f)=>{const _0x238244=_0x320d0e;if(this['_socket'][_0x238244(0x179)]){const _0x53d99d=new Error(_0x238244(0x246));_0x542e71(this,_0x53d99d,_0x56d3ad);return;}this[_0x238244(0x1cc)]-=_0x587dfa[_0x1e6bd4],this[_0x238244(0x29d)]=_0x433099,_0x587dfa[_0x238244(0x2d7)]=!0x1,this[_0x238244(0x249)](_0x535acc['frame'](_0x3d436f,_0x587dfa),_0x56d3ad),this[_0x238244(0x28b)]();});}[_0x1a7408(0x28b)](){const _0x4b2c83=_0x1a7408;for(;this['_state']===_0x433099&&this[_0x4b2c83(0x24b)][_0x4b2c83(0x235)];){const _0x27d14a=this[_0x4b2c83(0x24b)][_0x4b2c83(0x1f8)]();this[_0x4b2c83(0x1cc)]-=_0x27d14a[0x3][_0x1e6bd4],Reflect['apply'](_0x27d14a[0x0],this,_0x27d14a[_0x4b2c83(0x15b)](0x1));}}[_0x1a7408(0x2cb)](_0x2a3002){const _0x305202=_0x1a7408;this[_0x305202(0x1cc)]+=_0x2a3002[0x3][_0x1e6bd4],this[_0x305202(0x24b)][_0x305202(0x1d1)](_0x2a3002);}['sendFrame'](_0x5a7f1d,_0x73d707){const _0x3aee25=_0x1a7408;_0x5a7f1d[_0x3aee25(0x235)]===0x2?(this[_0x3aee25(0x267)][_0x3aee25(0x276)](),this[_0x3aee25(0x267)]['write'](_0x5a7f1d[0x0]),this[_0x3aee25(0x267)][_0x3aee25(0x292)](_0x5a7f1d[0x1],_0x73d707),this['_socket'][_0x3aee25(0x29e)]()):this['_socket'][_0x3aee25(0x292)](_0x5a7f1d[0x0],_0x73d707);}}Ee=_0x535acc;function _0x542e71(_0x243626,_0x329032,_0x5bcfaa){const _0x76b957=_0x1a7408;typeof _0x5bcfaa==_0x76b957(0x250)&&_0x5bcfaa(_0x329032);for(let _0x2fe383=0x0;_0x2fe383<_0x243626['_queue'][_0x76b957(0x235)];_0x2fe383++){const _0x5e821b=_0x243626[_0x76b957(0x24b)][_0x2fe383],_0x4b7c9d=_0x5e821b[_0x5e821b['length']-0x1];typeof _0x4b7c9d==_0x76b957(0x250)&&_0x4b7c9d(_0x329032);}}function _0x4437d1(_0x3ed59a,_0x55e176,_0x2e4a83){_0x542e71(_0x3ed59a,_0x55e176,_0x2e4a83),_0x3ed59a['onerror'](_0x55e176);}return Ee;}var xe,tt;function Kt(){const _0x3b6869=_0x150542;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3e8476,kListener:_0x4a87f9}=V(),_0x1bbf8a=Symbol('kCode'),_0x59f866=Symbol(_0x3b6869(0x22c)),_0x51a894=Symbol('kError'),_0x500463=Symbol(_0x3b6869(0x256)),_0x4c4280=Symbol(_0x3b6869(0x2d5)),_0x58c42e=Symbol('kTarget'),_0x13a767=Symbol(_0x3b6869(0x141)),_0x4ef14f=Symbol('kWasClean');class _0xb3270c{constructor(_0x584e20){this[_0x58c42e]=null,this[_0x13a767]=_0x584e20;}get[_0x3b6869(0x21c)](){return this[_0x58c42e];}get['type'](){return this[_0x13a767];}}Object[_0x3b6869(0x135)](_0xb3270c['prototype'],_0x3b6869(0x21c),{'enumerable':!0x0}),Object[_0x3b6869(0x135)](_0xb3270c[_0x3b6869(0x20f)],_0x3b6869(0x240),{'enumerable':!0x0});class _0x725a4e extends _0xb3270c{constructor(_0x4eb87b,_0x44cd2e={}){const _0x49cc46=_0x3b6869;super(_0x4eb87b),this[_0x1bbf8a]=_0x44cd2e['code']===void 0x0?0x0:_0x44cd2e[_0x49cc46(0x262)],this[_0x4c4280]=_0x44cd2e[_0x49cc46(0x1f6)]===void 0x0?'':_0x44cd2e[_0x49cc46(0x1f6)],this[_0x4ef14f]=_0x44cd2e['wasClean']===void 0x0?!0x1:_0x44cd2e['wasClean'];}get[_0x3b6869(0x262)](){return this[_0x1bbf8a];}get['reason'](){return this[_0x4c4280];}get['wasClean'](){return this[_0x4ef14f];}}Object[_0x3b6869(0x135)](_0x725a4e['prototype'],_0x3b6869(0x262),{'enumerable':!0x0}),Object[_0x3b6869(0x135)](_0x725a4e[_0x3b6869(0x20f)],_0x3b6869(0x1f6),{'enumerable':!0x0}),Object[_0x3b6869(0x135)](_0x725a4e['prototype'],_0x3b6869(0x155),{'enumerable':!0x0});class _0x628941 extends _0xb3270c{constructor(_0x4b8b73,_0x1efab4={}){const _0x5ebfe7=_0x3b6869;super(_0x4b8b73),this[_0x51a894]=_0x1efab4['error']===void 0x0?null:_0x1efab4['error'],this[_0x500463]=_0x1efab4[_0x5ebfe7(0x242)]===void 0x0?'':_0x1efab4[_0x5ebfe7(0x242)];}get[_0x3b6869(0x2cf)](){return this[_0x51a894];}get[_0x3b6869(0x242)](){return this[_0x500463];}}Object['defineProperty'](_0x628941[_0x3b6869(0x20f)],_0x3b6869(0x2cf),{'enumerable':!0x0}),Object[_0x3b6869(0x135)](_0x628941[_0x3b6869(0x20f)],_0x3b6869(0x242),{'enumerable':!0x0});class _0x628a88 extends _0xb3270c{constructor(_0x23321,_0x518442={}){const _0x22f922=_0x3b6869;super(_0x23321),this[_0x59f866]=_0x518442[_0x22f922(0x130)]===void 0x0?null:_0x518442[_0x22f922(0x130)];}get['data'](){return this[_0x59f866];}}Object[_0x3b6869(0x135)](_0x628a88[_0x3b6869(0x20f)],_0x3b6869(0x130),{'enumerable':!0x0}),xe={'CloseEvent':_0x725a4e,'ErrorEvent':_0x628941,'Event':_0xb3270c,'EventTarget':{'addEventListener'(_0x1651f6,_0x3b0558,_0x1f0ac8={}){const _0x342a84=_0x3b6869;for(const _0x46a11f of this[_0x342a84(0x1aa)](_0x1651f6))if(!_0x1f0ac8[_0x3e8476]&&_0x46a11f[_0x4a87f9]===_0x3b0558&&!_0x46a11f[_0x3e8476])return;let _0x141acd;if(_0x1651f6===_0x342a84(0x242))_0x141acd=function(_0x2b9fd7,_0x286db9){const _0x29f1ac=new _0x628a88('message',{'data':_0x286db9?_0x2b9fd7:_0x2b9fd7['toString']()});_0x29f1ac[_0x58c42e]=this,_0x4502bd(_0x3b0558,this,_0x29f1ac);};else{if(_0x1651f6===_0x342a84(0x2a6))_0x141acd=function(_0x2cf299,_0x2c2eaa){const _0x47b34c=_0x342a84,_0x2c6dbe=new _0x725a4e(_0x47b34c(0x2a6),{'code':_0x2cf299,'reason':_0x2c2eaa[_0x47b34c(0x201)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x2c6dbe[_0x58c42e]=this,_0x4502bd(_0x3b0558,this,_0x2c6dbe);};else{if(_0x1651f6==='error')_0x141acd=function(_0x3f6688){const _0x51194f=_0x342a84,_0x4e4132=new _0x628941(_0x51194f(0x2cf),{'error':_0x3f6688,'message':_0x3f6688[_0x51194f(0x242)]});_0x4e4132[_0x58c42e]=this,_0x4502bd(_0x3b0558,this,_0x4e4132);};else{if(_0x1651f6===_0x342a84(0x1de))_0x141acd=function(){const _0x45732e=_0x342a84,_0x4e6516=new _0xb3270c(_0x45732e(0x1de));_0x4e6516[_0x58c42e]=this,_0x4502bd(_0x3b0558,this,_0x4e6516);};else return;}}}_0x141acd[_0x3e8476]=!!_0x1f0ac8[_0x3e8476],_0x141acd[_0x4a87f9]=_0x3b0558,_0x1f0ac8[_0x342a84(0x13b)]?this[_0x342a84(0x13b)](_0x1651f6,_0x141acd):this['on'](_0x1651f6,_0x141acd);},'removeEventListener'(_0x43894d,_0x20796a){const _0x5d1510=_0x3b6869;for(const _0x9ef799 of this[_0x5d1510(0x1aa)](_0x43894d))if(_0x9ef799[_0x4a87f9]===_0x20796a&&!_0x9ef799[_0x3e8476]){this['removeListener'](_0x43894d,_0x9ef799);break;}}},'MessageEvent':_0x628a88};function _0x4502bd(_0x1e73d3,_0xc06e6,_0x19f7f9){const _0x51bf36=_0x3b6869;typeof _0x1e73d3==_0x51bf36(0x209)&&_0x1e73d3[_0x51bf36(0x178)]?_0x1e73d3[_0x51bf36(0x178)][_0x51bf36(0x184)](_0x1e73d3,_0x19f7f9):_0x1e73d3[_0x51bf36(0x184)](_0xc06e6,_0x19f7f9);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x4bd4de}=ne();function _0x1d075f(_0x4b3c58,_0x45385c,_0x46abb5){const _0x365081=_0xeab9;_0x4b3c58[_0x45385c]===void 0x0?_0x4b3c58[_0x45385c]=[_0x46abb5]:_0x4b3c58[_0x45385c][_0x365081(0x1d1)](_0x46abb5);}function _0x1d0906(_0x494f20){const _0x299cd3=_0xeab9,_0x1361bb=Object[_0x299cd3(0x186)](null);let _0x5ea85f=Object[_0x299cd3(0x186)](null),_0x3607d8=!0x1,_0x3e2a8a=!0x1,_0x163d84=!0x1,_0x2af381,_0xa8bfe2,_0x4a2a48=-0x1,_0x364f27=-0x1,_0x268833=-0x1,_0x3c5a0e=0x0;for(;_0x3c5a0e<_0x494f20[_0x299cd3(0x235)];_0x3c5a0e++)if(_0x364f27=_0x494f20['charCodeAt'](_0x3c5a0e),_0x2af381===void 0x0){if(_0x268833===-0x1&&_0x4bd4de[_0x364f27]===0x1)_0x4a2a48===-0x1&&(_0x4a2a48=_0x3c5a0e);else{if(_0x3c5a0e!==0x0&&(_0x364f27===0x20||_0x364f27===0x9))_0x268833===-0x1&&_0x4a2a48!==-0x1&&(_0x268833=_0x3c5a0e);else{if(_0x364f27===0x3b||_0x364f27===0x2c){if(_0x4a2a48===-0x1)throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);_0x268833===-0x1&&(_0x268833=_0x3c5a0e);const _0x49488b=_0x494f20[_0x299cd3(0x15b)](_0x4a2a48,_0x268833);_0x364f27===0x2c?(_0x1d075f(_0x1361bb,_0x49488b,_0x5ea85f),_0x5ea85f=Object[_0x299cd3(0x186)](null)):_0x2af381=_0x49488b,_0x4a2a48=_0x268833=-0x1;}else throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);}}}else{if(_0xa8bfe2===void 0x0){if(_0x268833===-0x1&&_0x4bd4de[_0x364f27]===0x1)_0x4a2a48===-0x1&&(_0x4a2a48=_0x3c5a0e);else{if(_0x364f27===0x20||_0x364f27===0x9)_0x268833===-0x1&&_0x4a2a48!==-0x1&&(_0x268833=_0x3c5a0e);else{if(_0x364f27===0x3b||_0x364f27===0x2c){if(_0x4a2a48===-0x1)throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);_0x268833===-0x1&&(_0x268833=_0x3c5a0e),_0x1d075f(_0x5ea85f,_0x494f20['slice'](_0x4a2a48,_0x268833),!0x0),_0x364f27===0x2c&&(_0x1d075f(_0x1361bb,_0x2af381,_0x5ea85f),_0x5ea85f=Object['create'](null),_0x2af381=void 0x0),_0x4a2a48=_0x268833=-0x1;}else{if(_0x364f27===0x3d&&_0x4a2a48!==-0x1&&_0x268833===-0x1)_0xa8bfe2=_0x494f20[_0x299cd3(0x15b)](_0x4a2a48,_0x3c5a0e),_0x4a2a48=_0x268833=-0x1;else throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);}}}}else{if(_0x3e2a8a){if(_0x4bd4de[_0x364f27]!==0x1)throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);_0x4a2a48===-0x1?_0x4a2a48=_0x3c5a0e:_0x3607d8||(_0x3607d8=!0x0),_0x3e2a8a=!0x1;}else{if(_0x163d84){if(_0x4bd4de[_0x364f27]===0x1)_0x4a2a48===-0x1&&(_0x4a2a48=_0x3c5a0e);else{if(_0x364f27===0x22&&_0x4a2a48!==-0x1)_0x163d84=!0x1,_0x268833=_0x3c5a0e;else{if(_0x364f27===0x5c)_0x3e2a8a=!0x0;else throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);}}}else{if(_0x364f27===0x22&&_0x494f20[_0x299cd3(0x18b)](_0x3c5a0e-0x1)===0x3d)_0x163d84=!0x0;else{if(_0x268833===-0x1&&_0x4bd4de[_0x364f27]===0x1)_0x4a2a48===-0x1&&(_0x4a2a48=_0x3c5a0e);else{if(_0x4a2a48!==-0x1&&(_0x364f27===0x20||_0x364f27===0x9))_0x268833===-0x1&&(_0x268833=_0x3c5a0e);else{if(_0x364f27===0x3b||_0x364f27===0x2c){if(_0x4a2a48===-0x1)throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);_0x268833===-0x1&&(_0x268833=_0x3c5a0e);let _0x569745=_0x494f20[_0x299cd3(0x15b)](_0x4a2a48,_0x268833);_0x3607d8&&(_0x569745=_0x569745[_0x299cd3(0x147)](/\\/g,''),_0x3607d8=!0x1),_0x1d075f(_0x5ea85f,_0xa8bfe2,_0x569745),_0x364f27===0x2c&&(_0x1d075f(_0x1361bb,_0x2af381,_0x5ea85f),_0x5ea85f=Object[_0x299cd3(0x186)](null),_0x2af381=void 0x0),_0xa8bfe2=void 0x0,_0x4a2a48=_0x268833=-0x1;}else throw new SyntaxError(_0x299cd3(0x17f)+_0x3c5a0e);}}}}}}}if(_0x4a2a48===-0x1||_0x163d84||_0x364f27===0x20||_0x364f27===0x9)throw new SyntaxError(_0x299cd3(0x230));_0x268833===-0x1&&(_0x268833=_0x3c5a0e);const _0xaa40e2=_0x494f20[_0x299cd3(0x15b)](_0x4a2a48,_0x268833);return _0x2af381===void 0x0?_0x1d075f(_0x1361bb,_0xaa40e2,_0x5ea85f):(_0xa8bfe2===void 0x0?_0x1d075f(_0x5ea85f,_0xaa40e2,!0x0):_0x3607d8?_0x1d075f(_0x5ea85f,_0xa8bfe2,_0xaa40e2[_0x299cd3(0x147)](/\\/g,'')):_0x1d075f(_0x5ea85f,_0xa8bfe2,_0xaa40e2),_0x1d075f(_0x1361bb,_0x2af381,_0x5ea85f)),_0x1361bb;}function _0x58a353(_0x1fb993){const _0x278154=_0xeab9;return Object[_0x278154(0x1a9)](_0x1fb993)['map'](_0x41f55d=>{const _0x38cc5b=_0x278154;let _0x21950e=_0x1fb993[_0x41f55d];return Array[_0x38cc5b(0x1fc)](_0x21950e)||(_0x21950e=[_0x21950e]),_0x21950e[_0x38cc5b(0x1ff)](_0x326d1a=>[_0x41f55d]['concat'](Object[_0x38cc5b(0x1a9)](_0x326d1a)[_0x38cc5b(0x1ff)](_0x36e415=>{const _0x3f297b=_0x38cc5b;let _0x4055ea=_0x326d1a[_0x36e415];return Array[_0x3f297b(0x1fc)](_0x4055ea)||(_0x4055ea=[_0x4055ea]),_0x4055ea[_0x3f297b(0x1ff)](_0x3750e3=>_0x3750e3===!0x0?_0x36e415:_0x36e415+'='+_0x3750e3)[_0x3f297b(0x2d9)](';\x20');}))[_0x38cc5b(0x2d9)](';\x20'))[_0x38cc5b(0x2d9)](',\x20');})[_0x278154(0x2d9)](',\x20');}return be={'format':_0x58a353,'parse':_0x1d0906},be;}var we,st;function Ie(){const _0x1e4750=_0x150542;if(st)return we;st=0x1;const _0xdb2c7c=_0x580176,_0x3b709a=_0x54a0af,_0x4ac835=_0x1bff61,_0x75cadb=_0x49999c,_0x472f42=_0x5dd28,{randomBytes:_0x350907,createHash:_0xd198e4}=_0x4e45a1,{Duplex:_0x1f615d,Readable:_0x507aa0}=_0x13e047,{URL:_0x366495}=_0x5dac76,_0x20a02c=he(),_0x5a42cd=dt(),_0x5b965d=_t(),{isBlob:_0xc72914}=ne(),{BINARY_TYPES:_0x97aa8e,EMPTY_BUFFER:_0x3533f4,GUID:_0x24cfcc,kForOnEventAttribute:_0x560c56,kListener:_0x5e7bc2,kStatusCode:_0xadbd0c,kWebSocket:_0x4885bb,NOOP:_0x20cd60}=V(),{EventTarget:{addEventListener:_0x74c9b8,removeEventListener:_0xbead18}}=Kt(),{format:_0x4c9035,parse:_0x4007b2}=pt(),{toBuffer:_0xe2967}=ce(),_0x4cd016=0x1e*0x3e8,_0x4ce2a4=Symbol(_0x1e4750(0x294)),_0x570a4b=[0x8,0xd],_0x1f52ed=['CONNECTING','OPEN',_0x1e4750(0x208),'CLOSED'],_0x7dd778=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xaf35cc extends _0xdb2c7c{constructor(_0x34f737,_0x1eee89,_0x1036bf){const _0x3008f5=_0x1e4750;super(),this[_0x3008f5(0x18c)]=_0x97aa8e[0x0],this['_closeCode']=0x3ee,this[_0x3008f5(0x2ce)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x3533f4,this[_0x3008f5(0x247)]=null,this[_0x3008f5(0x25f)]=!0x1,this[_0x3008f5(0x197)]={},this['_paused']=!0x1,this[_0x3008f5(0x21f)]='',this[_0x3008f5(0x174)]=_0xaf35cc['CONNECTING'],this['_receiver']=null,this['_sender']=null,this[_0x3008f5(0x267)]=null,_0x34f737!==null?(this[_0x3008f5(0x1e2)]=0x0,this[_0x3008f5(0x191)]=!0x1,this[_0x3008f5(0x27a)]=0x0,_0x1eee89===void 0x0?_0x1eee89=[]:Array[_0x3008f5(0x1fc)](_0x1eee89)||(typeof _0x1eee89==_0x3008f5(0x209)&&_0x1eee89!==null?(_0x1036bf=_0x1eee89,_0x1eee89=[]):_0x1eee89=[_0x1eee89]),_0x22e323(this,_0x34f737,_0x1eee89,_0x1036bf)):(this[_0x3008f5(0x259)]=_0x1036bf[_0x3008f5(0x297)],this['_isServer']=!0x0);}get[_0x1e4750(0x217)](){const _0x2c0554=_0x1e4750;return this[_0x2c0554(0x18c)];}set[_0x1e4750(0x217)](_0x4b839d){const _0x9db671=_0x1e4750;_0x97aa8e[_0x9db671(0x287)](_0x4b839d)&&(this[_0x9db671(0x18c)]=_0x4b839d,this['_receiver']&&(this['_receiver']['_binaryType']=_0x4b839d));}get[_0x1e4750(0x285)](){const _0x453a38=_0x1e4750;return this[_0x453a38(0x267)]?this[_0x453a38(0x267)][_0x453a38(0x14e)]['length']+this[_0x453a38(0x1fa)][_0x453a38(0x1cc)]:this[_0x453a38(0x1e2)];}get['extensions'](){const _0x3541a9=_0x1e4750;return Object['keys'](this[_0x3541a9(0x197)])[_0x3541a9(0x2d9)]();}get[_0x1e4750(0x1ce)](){const _0x4a7083=_0x1e4750;return this[_0x4a7083(0x149)];}get[_0x1e4750(0x14a)](){return null;}get['onerror'](){return null;}get[_0x1e4750(0x15d)](){return null;}get[_0x1e4750(0x231)](){return null;}get[_0x1e4750(0x278)](){const _0x590515=_0x1e4750;return this[_0x590515(0x21f)];}get[_0x1e4750(0x263)](){const _0x4a1e3b=_0x1e4750;return this[_0x4a1e3b(0x174)];}get[_0x1e4750(0x1af)](){return this['_url'];}[_0x1e4750(0x175)](_0xcf4327,_0x34da9a,_0x367cb9){const _0x2cef8b=_0x1e4750,_0x3e6290=new _0x5a42cd({'allowSynchronousEvents':_0x367cb9['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x2cef8b(0x197)],'isServer':this[_0x2cef8b(0x191)],'maxPayload':_0x367cb9[_0x2cef8b(0x193)],'skipUTF8Validation':_0x367cb9[_0x2cef8b(0x133)]}),_0x494ee0=new _0x5b965d(_0xcf4327,this['_extensions'],_0x367cb9['generateMask']);this['_receiver']=_0x3e6290,this[_0x2cef8b(0x1fa)]=_0x494ee0,this[_0x2cef8b(0x267)]=_0xcf4327,_0x3e6290[_0x4885bb]=this,_0x494ee0[_0x4885bb]=this,_0xcf4327[_0x4885bb]=this,_0x3e6290['on'](_0x2cef8b(0x2e0),_0x5f254f),_0x3e6290['on']('drain',_0x1a10ca),_0x3e6290['on']('error',_0x30a263),_0x3e6290['on']('message',_0x177e85),_0x3e6290['on']('ping',_0x578646),_0x3e6290['on'](_0x2cef8b(0x22a),_0x3c1005),_0x494ee0[_0x2cef8b(0x13f)]=_0x33162c,_0xcf4327[_0x2cef8b(0x1e4)]&&_0xcf4327[_0x2cef8b(0x1e4)](0x0),_0xcf4327['setNoDelay']&&_0xcf4327[_0x2cef8b(0x21b)](),_0x34da9a['length']>0x0&&_0xcf4327[_0x2cef8b(0x187)](_0x34da9a),_0xcf4327['on']('close',_0x50ccdd),_0xcf4327['on'](_0x2cef8b(0x130),_0xb8bdce),_0xcf4327['on']('end',_0x1428c0),_0xcf4327['on'](_0x2cef8b(0x2cf),_0x53e11),this[_0x2cef8b(0x174)]=_0xaf35cc[_0x2cef8b(0x258)],this['emit']('open');}[_0x1e4750(0x22b)](){const _0xdab302=_0x1e4750;if(!this[_0xdab302(0x267)]){this[_0xdab302(0x174)]=_0xaf35cc[_0xdab302(0x146)],this['emit'](_0xdab302(0x2a6),this[_0xdab302(0x1f5)],this[_0xdab302(0x150)]);return;}this[_0xdab302(0x197)][_0x20a02c[_0xdab302(0x274)]]&&this[_0xdab302(0x197)][_0x20a02c[_0xdab302(0x274)]][_0xdab302(0x16a)](),this[_0xdab302(0x154)][_0xdab302(0x22d)](),this[_0xdab302(0x174)]=_0xaf35cc[_0xdab302(0x146)],this[_0xdab302(0x2c3)]('close',this[_0xdab302(0x1f5)],this['_closeMessage']);}[_0x1e4750(0x2a6)](_0x28cee4,_0x445e6a){const _0x1709bc=_0x1e4750;if(this['readyState']!==_0xaf35cc['CLOSED']){if(this[_0x1709bc(0x263)]===_0xaf35cc[_0x1709bc(0x2ca)]){_0x38460f(this,this[_0x1709bc(0x2d2)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1709bc(0x263)]===_0xaf35cc[_0x1709bc(0x208)]){this[_0x1709bc(0x244)]&&(this[_0x1709bc(0x2ce)]||this[_0x1709bc(0x154)][_0x1709bc(0x14e)][_0x1709bc(0x1a6)])&&this[_0x1709bc(0x267)][_0x1709bc(0x20d)]();return;}this[_0x1709bc(0x174)]=_0xaf35cc['CLOSING'],this[_0x1709bc(0x1fa)][_0x1709bc(0x2a6)](_0x28cee4,_0x445e6a,!this['_isServer'],_0x358ec8=>{const _0x1524bf=_0x1709bc;_0x358ec8||(this['_closeFrameSent']=!0x0,(this[_0x1524bf(0x2ce)]||this[_0x1524bf(0x154)][_0x1524bf(0x14e)][_0x1524bf(0x1a6)])&&this['_socket'][_0x1524bf(0x20d)]());}),_0x417edf(this);}}[_0x1e4750(0x183)](){const _0x4110ec=_0x1e4750;this['readyState']===_0xaf35cc[_0x4110ec(0x2ca)]||this[_0x4110ec(0x263)]===_0xaf35cc[_0x4110ec(0x146)]||(this[_0x4110ec(0x149)]=!0x0,this[_0x4110ec(0x267)]['pause']());}['ping'](_0x54d4f2,_0x533872,_0x4f37d4){const _0x342833=_0x1e4750;if(this[_0x342833(0x263)]===_0xaf35cc['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x54d4f2==_0x342833(0x250)?(_0x4f37d4=_0x54d4f2,_0x54d4f2=_0x533872=void 0x0):typeof _0x533872=='function'&&(_0x4f37d4=_0x533872,_0x533872=void 0x0),typeof _0x54d4f2==_0x342833(0x1c7)&&(_0x54d4f2=_0x54d4f2[_0x342833(0x201)]()),this[_0x342833(0x263)]!==_0xaf35cc[_0x342833(0x258)]){_0x462045(this,_0x54d4f2,_0x4f37d4);return;}_0x533872===void 0x0&&(_0x533872=!this[_0x342833(0x191)]),this[_0x342833(0x1fa)][_0x342833(0x1ab)](_0x54d4f2||_0x3533f4,_0x533872,_0x4f37d4);}[_0x1e4750(0x22a)](_0xfa3d09,_0x4e47ed,_0x22302e){const _0x5f407d=_0x1e4750;if(this['readyState']===_0xaf35cc[_0x5f407d(0x2ca)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xfa3d09==_0x5f407d(0x250)?(_0x22302e=_0xfa3d09,_0xfa3d09=_0x4e47ed=void 0x0):typeof _0x4e47ed==_0x5f407d(0x250)&&(_0x22302e=_0x4e47ed,_0x4e47ed=void 0x0),typeof _0xfa3d09==_0x5f407d(0x1c7)&&(_0xfa3d09=_0xfa3d09['toString']()),this[_0x5f407d(0x263)]!==_0xaf35cc[_0x5f407d(0x258)]){_0x462045(this,_0xfa3d09,_0x22302e);return;}_0x4e47ed===void 0x0&&(_0x4e47ed=!this[_0x5f407d(0x191)]),this[_0x5f407d(0x1fa)]['pong'](_0xfa3d09||_0x3533f4,_0x4e47ed,_0x22302e);}[_0x1e4750(0x1b8)](){const _0x4eb865=_0x1e4750;this['readyState']===_0xaf35cc[_0x4eb865(0x2ca)]||this['readyState']===_0xaf35cc[_0x4eb865(0x146)]||(this['_paused']=!0x1,this[_0x4eb865(0x154)]['_writableState']['needDrain']||this[_0x4eb865(0x267)][_0x4eb865(0x1b8)]());}[_0x1e4750(0x2a4)](_0x3a7826,_0x3f3b2f,_0x2f7e08){const _0x248631=_0x1e4750;if(this[_0x248631(0x263)]===_0xaf35cc[_0x248631(0x2ca)])throw new Error(_0x248631(0x25d));if(typeof _0x3f3b2f==_0x248631(0x250)&&(_0x2f7e08=_0x3f3b2f,_0x3f3b2f={}),typeof _0x3a7826=='number'&&(_0x3a7826=_0x3a7826[_0x248631(0x201)]()),this[_0x248631(0x263)]!==_0xaf35cc[_0x248631(0x258)]){_0x462045(this,_0x3a7826,_0x2f7e08);return;}const _0x3e77a0={'binary':typeof _0x3a7826!=_0x248631(0x1ec),'mask':!this[_0x248631(0x191)],'compress':!0x0,'fin':!0x0,..._0x3f3b2f};this[_0x248631(0x197)][_0x20a02c[_0x248631(0x274)]]||(_0x3e77a0[_0x248631(0x1ae)]=!0x1),this['_sender'][_0x248631(0x2a4)](_0x3a7826||_0x3533f4,_0x3e77a0,_0x2f7e08);}[_0x1e4750(0x136)](){const _0x4c32e2=_0x1e4750;if(this[_0x4c32e2(0x263)]!==_0xaf35cc[_0x4c32e2(0x146)]){if(this[_0x4c32e2(0x263)]===_0xaf35cc['CONNECTING']){_0x38460f(this,this[_0x4c32e2(0x2d2)],_0x4c32e2(0x1fd));return;}this[_0x4c32e2(0x267)]&&(this[_0x4c32e2(0x174)]=_0xaf35cc['CLOSING'],this['_socket'][_0x4c32e2(0x16e)]());}}}Object['defineProperty'](_0xaf35cc,_0x1e4750(0x2ca),{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x2ca))}),Object['defineProperty'](_0xaf35cc['prototype'],_0x1e4750(0x2ca),{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x2ca))}),Object[_0x1e4750(0x135)](_0xaf35cc,'OPEN',{'enumerable':!0x0,'value':_0x1f52ed['indexOf'](_0x1e4750(0x258))}),Object['defineProperty'](_0xaf35cc[_0x1e4750(0x20f)],'OPEN',{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x258))}),Object[_0x1e4750(0x135)](_0xaf35cc,_0x1e4750(0x208),{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x208))}),Object[_0x1e4750(0x135)](_0xaf35cc[_0x1e4750(0x20f)],'CLOSING',{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x208))}),Object[_0x1e4750(0x135)](_0xaf35cc,_0x1e4750(0x146),{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x146))}),Object[_0x1e4750(0x135)](_0xaf35cc[_0x1e4750(0x20f)],'CLOSED',{'enumerable':!0x0,'value':_0x1f52ed[_0x1e4750(0x165)](_0x1e4750(0x146))}),['binaryType','bufferedAmount',_0x1e4750(0x180),'isPaused','protocol','readyState','url']['forEach'](_0x2ebbde=>{const _0x36a1d3=_0x1e4750;Object['defineProperty'](_0xaf35cc[_0x36a1d3(0x20f)],_0x2ebbde,{'enumerable':!0x0});}),[_0x1e4750(0x1de),_0x1e4750(0x2cf),_0x1e4750(0x2a6),_0x1e4750(0x242)][_0x1e4750(0x1e6)](_0x1586cf=>{Object['defineProperty'](_0xaf35cc['prototype'],'on'+_0x1586cf,{'enumerable':!0x0,'get'(){const _0x2d5ee4=_0xeab9;for(const _0xb58119 of this[_0x2d5ee4(0x1aa)](_0x1586cf))if(_0xb58119[_0x560c56])return _0xb58119[_0x5e7bc2];return null;},'set'(_0x1fb821){const _0x15675a=_0xeab9;for(const _0x1d89dc of this[_0x15675a(0x1aa)](_0x1586cf))if(_0x1d89dc[_0x560c56]){this[_0x15675a(0x19f)](_0x1586cf,_0x1d89dc);break;}typeof _0x1fb821==_0x15675a(0x250)&&this[_0x15675a(0x264)](_0x1586cf,_0x1fb821,{[_0x560c56]:!0x0});}});}),_0xaf35cc[_0x1e4750(0x20f)][_0x1e4750(0x264)]=_0x74c9b8,_0xaf35cc['prototype'][_0x1e4750(0x24f)]=_0xbead18,we=_0xaf35cc;function _0x22e323(_0x5b7c89,_0x531862,_0x23bce5,_0x3022eb){const _0x3ed9c0=_0x1e4750,_0x1f8fa3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x570a4b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3022eb,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3ed9c0(0x1bf),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x5b7c89['_autoPong']=_0x1f8fa3['autoPong'],!_0x570a4b[_0x3ed9c0(0x287)](_0x1f8fa3[_0x3ed9c0(0x171)]))throw new RangeError(_0x3ed9c0(0x245)+_0x1f8fa3[_0x3ed9c0(0x171)]+_0x3ed9c0(0x2db)+_0x570a4b['join'](',\x20')+')');let _0x28b384;if(_0x531862 instanceof _0x366495)_0x28b384=_0x531862;else try{_0x28b384=new _0x366495(_0x531862);}catch{throw new SyntaxError(_0x3ed9c0(0x192)+_0x531862);}_0x28b384[_0x3ed9c0(0x278)]===_0x3ed9c0(0x196)?_0x28b384[_0x3ed9c0(0x278)]='ws:':_0x28b384[_0x3ed9c0(0x278)]===_0x3ed9c0(0x1c3)&&(_0x28b384['protocol']=_0x3ed9c0(0x29a)),_0x5b7c89[_0x3ed9c0(0x1d6)]=_0x28b384[_0x3ed9c0(0x167)];const _0x483877=_0x28b384[_0x3ed9c0(0x278)]===_0x3ed9c0(0x29a),_0x29309e=_0x28b384[_0x3ed9c0(0x278)]===_0x3ed9c0(0x2ad);let _0x5545bc;if(_0x28b384['protocol']!==_0x3ed9c0(0x169)&&!_0x483877&&!_0x29309e?_0x5545bc=_0x3ed9c0(0x223):_0x29309e&&!_0x28b384[_0x3ed9c0(0x23e)]?_0x5545bc='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x28b384['hash']&&(_0x5545bc=_0x3ed9c0(0x19b)),_0x5545bc){const _0x4400ce=new SyntaxError(_0x5545bc);if(_0x5b7c89[_0x3ed9c0(0x27a)]===0x0)throw _0x4400ce;_0x43b846(_0x5b7c89,_0x4400ce);return;}const _0x41bb23=_0x483877?0x1bb:0x50,_0x54f9af=_0x350907(0x10)['toString'](_0x3ed9c0(0x2bf)),_0x4f04cc=_0x483877?_0x3b709a['request']:_0x4ac835[_0x3ed9c0(0x288)],_0x32e2d9=new Set();let _0x311ac6;if(_0x1f8fa3[_0x3ed9c0(0x1d0)]=_0x1f8fa3[_0x3ed9c0(0x1d0)]||(_0x483877?_0x4ca265:_0x5b1754),_0x1f8fa3['defaultPort']=_0x1f8fa3[_0x3ed9c0(0x283)]||_0x41bb23,_0x1f8fa3[_0x3ed9c0(0x273)]=_0x28b384['port']||_0x41bb23,_0x1f8fa3['host']=_0x28b384[_0x3ed9c0(0x28d)][_0x3ed9c0(0x19c)]('[')?_0x28b384[_0x3ed9c0(0x28d)][_0x3ed9c0(0x15b)](0x1,-0x1):_0x28b384['hostname'],_0x1f8fa3['headers']={..._0x1f8fa3[_0x3ed9c0(0x252)],'Sec-WebSocket-Version':_0x1f8fa3[_0x3ed9c0(0x171)],'Sec-WebSocket-Key':_0x54f9af,'Connection':_0x3ed9c0(0x238),'Upgrade':_0x3ed9c0(0x13a)},_0x1f8fa3[_0x3ed9c0(0x2d1)]=_0x28b384[_0x3ed9c0(0x23e)]+_0x28b384['search'],_0x1f8fa3[_0x3ed9c0(0x160)]=_0x1f8fa3[_0x3ed9c0(0x1b4)],_0x1f8fa3[_0x3ed9c0(0x253)]&&(_0x311ac6=new _0x20a02c(_0x1f8fa3['perMessageDeflate']!==!0x0?_0x1f8fa3[_0x3ed9c0(0x253)]:{},!0x1,_0x1f8fa3[_0x3ed9c0(0x193)]),_0x1f8fa3[_0x3ed9c0(0x252)][_0x3ed9c0(0x20c)]=_0x4c9035({[_0x20a02c[_0x3ed9c0(0x274)]]:_0x311ac6[_0x3ed9c0(0x166)]()})),_0x23bce5[_0x3ed9c0(0x235)]){for(const _0x31b9f3 of _0x23bce5){if(typeof _0x31b9f3!=_0x3ed9c0(0x1ec)||!_0x7dd778[_0x3ed9c0(0x157)](_0x31b9f3)||_0x32e2d9[_0x3ed9c0(0x2da)](_0x31b9f3))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x32e2d9['add'](_0x31b9f3);}_0x1f8fa3['headers'][_0x3ed9c0(0x1c1)]=_0x23bce5[_0x3ed9c0(0x2d9)](',');}if(_0x1f8fa3[_0x3ed9c0(0x1f0)]&&(_0x1f8fa3[_0x3ed9c0(0x171)]<0xd?_0x1f8fa3[_0x3ed9c0(0x252)][_0x3ed9c0(0x17a)]=_0x1f8fa3[_0x3ed9c0(0x1f0)]:_0x1f8fa3[_0x3ed9c0(0x252)]['Origin']=_0x1f8fa3[_0x3ed9c0(0x1f0)]),(_0x28b384[_0x3ed9c0(0x16d)]||_0x28b384['password'])&&(_0x1f8fa3['auth']=_0x28b384['username']+':'+_0x28b384[_0x3ed9c0(0x2c0)]),_0x29309e){const _0x2123fb=_0x1f8fa3[_0x3ed9c0(0x2d1)][_0x3ed9c0(0x1b9)](':');_0x1f8fa3[_0x3ed9c0(0x1a2)]=_0x2123fb[0x0],_0x1f8fa3['path']=_0x2123fb[0x1];}let _0x1c32de;if(_0x1f8fa3[_0x3ed9c0(0x140)]){if(_0x5b7c89[_0x3ed9c0(0x27a)]===0x0){_0x5b7c89[_0x3ed9c0(0x2cc)]=_0x29309e,_0x5b7c89[_0x3ed9c0(0x255)]=_0x483877,_0x5b7c89[_0x3ed9c0(0x1a3)]=_0x29309e?_0x1f8fa3[_0x3ed9c0(0x1a2)]:_0x28b384[_0x3ed9c0(0x202)];const _0x21ae0f=_0x3022eb&&_0x3022eb[_0x3ed9c0(0x252)];if(_0x3022eb={..._0x3022eb,'headers':{}},_0x21ae0f){for(const [_0x24980e,_0x1260b2]of Object[_0x3ed9c0(0x203)](_0x21ae0f))_0x3022eb['headers'][_0x24980e[_0x3ed9c0(0x236)]()]=_0x1260b2;}}else{if(_0x5b7c89[_0x3ed9c0(0x153)](_0x3ed9c0(0x25b))===0x0){const _0x3183f3=_0x29309e?_0x5b7c89[_0x3ed9c0(0x2cc)]?_0x1f8fa3['socketPath']===_0x5b7c89[_0x3ed9c0(0x1a3)]:!0x1:_0x5b7c89['_originalIpc']?!0x1:_0x28b384[_0x3ed9c0(0x202)]===_0x5b7c89[_0x3ed9c0(0x1a3)];(!_0x3183f3||_0x5b7c89[_0x3ed9c0(0x255)]&&!_0x483877)&&(delete _0x1f8fa3[_0x3ed9c0(0x252)][_0x3ed9c0(0x22f)],delete _0x1f8fa3[_0x3ed9c0(0x252)][_0x3ed9c0(0x1ed)],_0x3183f3||delete _0x1f8fa3[_0x3ed9c0(0x252)][_0x3ed9c0(0x202)],_0x1f8fa3[_0x3ed9c0(0x132)]=void 0x0);}}_0x1f8fa3['auth']&&!_0x3022eb[_0x3ed9c0(0x252)][_0x3ed9c0(0x22f)]&&(_0x3022eb[_0x3ed9c0(0x252)][_0x3ed9c0(0x22f)]='Basic\x20'+Buffer['from'](_0x1f8fa3[_0x3ed9c0(0x132)])[_0x3ed9c0(0x201)]('base64')),_0x1c32de=_0x5b7c89[_0x3ed9c0(0x2d2)]=_0x4f04cc(_0x1f8fa3),_0x5b7c89[_0x3ed9c0(0x27a)]&&_0x5b7c89[_0x3ed9c0(0x2c3)](_0x3ed9c0(0x25b),_0x5b7c89['url'],_0x1c32de);}else _0x1c32de=_0x5b7c89[_0x3ed9c0(0x2d2)]=_0x4f04cc(_0x1f8fa3);_0x1f8fa3['timeout']&&_0x1c32de['on'](_0x3ed9c0(0x160),()=>{const _0x1b3765=_0x3ed9c0;_0x38460f(_0x5b7c89,_0x1c32de,_0x1b3765(0x19d));}),_0x1c32de['on'](_0x3ed9c0(0x2cf),_0x526554=>{_0x1c32de===null||_0x1c32de[_0x4ce2a4]||(_0x1c32de=_0x5b7c89['_req']=null,_0x43b846(_0x5b7c89,_0x526554));}),_0x1c32de['on'](_0x3ed9c0(0x14d),_0x37dc4b=>{const _0x517597=_0x3ed9c0,_0xc132a6=_0x37dc4b[_0x517597(0x252)][_0x517597(0x181)],_0x215655=_0x37dc4b['statusCode'];if(_0xc132a6&&_0x1f8fa3[_0x517597(0x140)]&&_0x215655>=0x12c&&_0x215655<0x190){if(++_0x5b7c89[_0x517597(0x27a)]>_0x1f8fa3[_0x517597(0x1bb)]){_0x38460f(_0x5b7c89,_0x1c32de,_0x517597(0x20a));return;}_0x1c32de[_0x517597(0x207)]();let _0x57383a;try{_0x57383a=new _0x366495(_0xc132a6,_0x531862);}catch{const _0x9ddd39=new SyntaxError(_0x517597(0x192)+_0xc132a6);_0x43b846(_0x5b7c89,_0x9ddd39);return;}_0x22e323(_0x5b7c89,_0x57383a,_0x23bce5,_0x3022eb);}else _0x5b7c89[_0x517597(0x2c3)](_0x517597(0x1df),_0x1c32de,_0x37dc4b)||_0x38460f(_0x5b7c89,_0x1c32de,_0x517597(0x271)+_0x37dc4b[_0x517597(0x1d9)]);}),_0x1c32de['on'](_0x3ed9c0(0x15c),(_0x39410e,_0x477b67,_0x388955)=>{const _0x4fd2a4=_0x3ed9c0;if(_0x5b7c89['emit']('upgrade',_0x39410e),_0x5b7c89[_0x4fd2a4(0x263)]!==_0xaf35cc['CONNECTING'])return;_0x1c32de=_0x5b7c89[_0x4fd2a4(0x2d2)]=null;const _0x2db5ed=_0x39410e[_0x4fd2a4(0x252)][_0x4fd2a4(0x15c)];if(_0x2db5ed===void 0x0||_0x2db5ed['toLowerCase']()!==_0x4fd2a4(0x13a)){_0x38460f(_0x5b7c89,_0x477b67,_0x4fd2a4(0x28c));return;}const _0x1d7061=_0xd198e4(_0x4fd2a4(0x26d))[_0x4fd2a4(0x25a)](_0x54f9af+_0x24cfcc)[_0x4fd2a4(0x27c)](_0x4fd2a4(0x2bf));if(_0x39410e['headers'][_0x4fd2a4(0x159)]!==_0x1d7061){_0x38460f(_0x5b7c89,_0x477b67,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2fc1ae=_0x39410e['headers'][_0x4fd2a4(0x24d)];let _0x57f2b7;if(_0x2fc1ae!==void 0x0?_0x32e2d9['size']?_0x32e2d9[_0x4fd2a4(0x2da)](_0x2fc1ae)||(_0x57f2b7='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x57f2b7=_0x4fd2a4(0x26e):_0x32e2d9[_0x4fd2a4(0x2aa)]&&(_0x57f2b7=_0x4fd2a4(0x1db)),_0x57f2b7){_0x38460f(_0x5b7c89,_0x477b67,_0x57f2b7);return;}_0x2fc1ae&&(_0x5b7c89[_0x4fd2a4(0x21f)]=_0x2fc1ae);const _0x395202=_0x39410e[_0x4fd2a4(0x252)][_0x4fd2a4(0x24e)];if(_0x395202!==void 0x0){if(!_0x311ac6){_0x38460f(_0x5b7c89,_0x477b67,_0x4fd2a4(0x162));return;}let _0xba63cc;try{_0xba63cc=_0x4007b2(_0x395202);}catch{_0x38460f(_0x5b7c89,_0x477b67,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x5da527=Object[_0x4fd2a4(0x1a9)](_0xba63cc);if(_0x5da527[_0x4fd2a4(0x235)]!==0x1||_0x5da527[0x0]!==_0x20a02c['extensionName']){_0x38460f(_0x5b7c89,_0x477b67,_0x4fd2a4(0x290));return;}try{_0x311ac6[_0x4fd2a4(0x1b7)](_0xba63cc[_0x20a02c[_0x4fd2a4(0x274)]]);}catch{_0x38460f(_0x5b7c89,_0x477b67,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x5b7c89[_0x4fd2a4(0x197)][_0x20a02c[_0x4fd2a4(0x274)]]=_0x311ac6;}_0x5b7c89['setSocket'](_0x477b67,_0x388955,{'allowSynchronousEvents':_0x1f8fa3[_0x4fd2a4(0x176)],'generateMask':_0x1f8fa3[_0x4fd2a4(0x1d5)],'maxPayload':_0x1f8fa3['maxPayload'],'skipUTF8Validation':_0x1f8fa3[_0x4fd2a4(0x133)]});}),_0x1f8fa3[_0x3ed9c0(0x2a8)]?_0x1f8fa3[_0x3ed9c0(0x2a8)](_0x1c32de,_0x5b7c89):_0x1c32de[_0x3ed9c0(0x20d)]();}function _0x43b846(_0xbef5df,_0x21b79e){const _0x1141f6=_0x1e4750;_0xbef5df[_0x1141f6(0x174)]=_0xaf35cc[_0x1141f6(0x208)],_0xbef5df[_0x1141f6(0x25f)]=!0x0,_0xbef5df['emit'](_0x1141f6(0x2cf),_0x21b79e),_0xbef5df[_0x1141f6(0x22b)]();}function _0x5b1754(_0x10ee39){const _0x4058db=_0x1e4750;return _0x10ee39['path']=_0x10ee39['socketPath'],_0x75cadb[_0x4058db(0x145)](_0x10ee39);}function _0x4ca265(_0x844178){const _0x10de60=_0x1e4750;return _0x844178[_0x10de60(0x2d1)]=void 0x0,!_0x844178[_0x10de60(0x177)]&&_0x844178['servername']!==''&&(_0x844178[_0x10de60(0x177)]=_0x75cadb[_0x10de60(0x144)](_0x844178[_0x10de60(0x202)])?'':_0x844178[_0x10de60(0x202)]),_0x472f42[_0x10de60(0x145)](_0x844178);}function _0x38460f(_0x3d9de0,_0x420db5,_0xa647c4){const _0x3a089a=_0x1e4750;_0x3d9de0[_0x3a089a(0x174)]=_0xaf35cc['CLOSING'];const _0x22a413=new Error(_0xa647c4);Error[_0x3a089a(0x1bc)](_0x22a413,_0x38460f),_0x420db5[_0x3a089a(0x2a0)]?(_0x420db5[_0x4ce2a4]=!0x0,_0x420db5[_0x3a089a(0x207)](),_0x420db5[_0x3a089a(0x200)]&&!_0x420db5[_0x3a089a(0x200)][_0x3a089a(0x179)]&&_0x420db5[_0x3a089a(0x200)]['destroy'](),process[_0x3a089a(0x2de)](_0x43b846,_0x3d9de0,_0x22a413)):(_0x420db5[_0x3a089a(0x16e)](_0x22a413),_0x420db5[_0x3a089a(0x13b)](_0x3a089a(0x2cf),_0x3d9de0[_0x3a089a(0x2c3)][_0x3a089a(0x1a5)](_0x3d9de0,_0x3a089a(0x2cf))),_0x420db5[_0x3a089a(0x13b)](_0x3a089a(0x2a6),_0x3d9de0['emitClose'][_0x3a089a(0x1a5)](_0x3d9de0)));}function _0x462045(_0x192ccb,_0x2e3049,_0x1f8a50){const _0x465753=_0x1e4750;if(_0x2e3049){const _0x13cc6e=_0xc72914(_0x2e3049)?_0x2e3049[_0x465753(0x2aa)]:_0xe2967(_0x2e3049)['length'];_0x192ccb[_0x465753(0x267)]?_0x192ccb[_0x465753(0x1fa)][_0x465753(0x1cc)]+=_0x13cc6e:_0x192ccb[_0x465753(0x1e2)]+=_0x13cc6e;}if(_0x1f8a50){const _0x514d06=new Error(_0x465753(0x298)+_0x192ccb[_0x465753(0x263)]+'\x20('+_0x1f52ed[_0x192ccb[_0x465753(0x263)]]+')');process[_0x465753(0x2de)](_0x1f8a50,_0x514d06);}}function _0x5f254f(_0x546333,_0x556b30){const _0x46e5fb=_0x1e4750,_0x567c21=this[_0x4885bb];_0x567c21[_0x46e5fb(0x2ce)]=!0x0,_0x567c21[_0x46e5fb(0x150)]=_0x556b30,_0x567c21[_0x46e5fb(0x1f5)]=_0x546333,_0x567c21['_socket'][_0x4885bb]!==void 0x0&&(_0x567c21[_0x46e5fb(0x267)][_0x46e5fb(0x19f)](_0x46e5fb(0x130),_0xb8bdce),process['nextTick'](_0x230438,_0x567c21[_0x46e5fb(0x267)]),_0x546333===0x3ed?_0x567c21['close']():_0x567c21[_0x46e5fb(0x2a6)](_0x546333,_0x556b30));}function _0x1a10ca(){const _0x50553a=_0x1e4750,_0x3a7307=this[_0x4885bb];_0x3a7307[_0x50553a(0x1ce)]||_0x3a7307[_0x50553a(0x267)]['resume']();}function _0x30a263(_0x580981){const _0x10dbaf=_0x1e4750,_0x5ec591=this[_0x4885bb];_0x5ec591[_0x10dbaf(0x267)][_0x4885bb]!==void 0x0&&(_0x5ec591[_0x10dbaf(0x267)][_0x10dbaf(0x19f)](_0x10dbaf(0x130),_0xb8bdce),process[_0x10dbaf(0x2de)](_0x230438,_0x5ec591['_socket']),_0x5ec591['close'](_0x580981[_0xadbd0c])),_0x5ec591[_0x10dbaf(0x25f)]||(_0x5ec591[_0x10dbaf(0x25f)]=!0x0,_0x5ec591['emit'](_0x10dbaf(0x2cf),_0x580981));}function _0x1d1ad9(){const _0x2790b2=_0x1e4750;this[_0x4885bb][_0x2790b2(0x22b)]();}function _0x177e85(_0x5310d3,_0x251179){const _0x580b1d=_0x1e4750;this[_0x4885bb][_0x580b1d(0x2c3)](_0x580b1d(0x242),_0x5310d3,_0x251179);}function _0x578646(_0xd3f07f){const _0x273ff1=_0x1e4750,_0x2f4406=this[_0x4885bb];_0x2f4406[_0x273ff1(0x259)]&&_0x2f4406[_0x273ff1(0x22a)](_0xd3f07f,!this[_0x273ff1(0x191)],_0x20cd60),_0x2f4406[_0x273ff1(0x2c3)](_0x273ff1(0x1ab),_0xd3f07f);}function _0x3c1005(_0x19fd24){const _0x3562ee=_0x1e4750;this[_0x4885bb][_0x3562ee(0x2c3)](_0x3562ee(0x22a),_0x19fd24);}function _0x230438(_0x329fda){const _0xf2c14c=_0x1e4750;_0x329fda[_0xf2c14c(0x1b8)]();}function _0x33162c(_0x45cf16){const _0x180852=_0x1e4750,_0x302eda=this[_0x4885bb];_0x302eda[_0x180852(0x263)]!==_0xaf35cc['CLOSED']&&(_0x302eda[_0x180852(0x263)]===_0xaf35cc[_0x180852(0x258)]&&(_0x302eda['_readyState']=_0xaf35cc[_0x180852(0x208)],_0x417edf(_0x302eda)),this[_0x180852(0x267)]['end'](),_0x302eda[_0x180852(0x25f)]||(_0x302eda[_0x180852(0x25f)]=!0x0,_0x302eda[_0x180852(0x2c3)]('error',_0x45cf16)));}function _0x417edf(_0x224fc0){const _0x55a667=_0x1e4750;_0x224fc0['_closeTimer']=setTimeout(_0x224fc0['_socket'][_0x55a667(0x16e)][_0x55a667(0x1a5)](_0x224fc0[_0x55a667(0x267)]),_0x4cd016);}function _0x50ccdd(){const _0xb02db9=_0x1e4750,_0x366957=this[_0x4885bb];this['removeListener'](_0xb02db9(0x2a6),_0x50ccdd),this[_0xb02db9(0x19f)](_0xb02db9(0x130),_0xb8bdce),this[_0xb02db9(0x19f)](_0xb02db9(0x20d),_0x1428c0),_0x366957['_readyState']=_0xaf35cc[_0xb02db9(0x208)];let _0x1eb901;!this[_0xb02db9(0x2bd)][_0xb02db9(0x239)]&&!_0x366957[_0xb02db9(0x2ce)]&&!_0x366957[_0xb02db9(0x154)][_0xb02db9(0x14e)][_0xb02db9(0x1a6)]&&(_0x1eb901=_0x366957[_0xb02db9(0x267)][_0xb02db9(0x1e9)]())!==null&&_0x366957[_0xb02db9(0x154)][_0xb02db9(0x292)](_0x1eb901),_0x366957[_0xb02db9(0x154)][_0xb02db9(0x20d)](),this[_0x4885bb]=void 0x0,clearTimeout(_0x366957[_0xb02db9(0x247)]),_0x366957[_0xb02db9(0x154)][_0xb02db9(0x14e)]['finished']||_0x366957[_0xb02db9(0x154)]['_writableState'][_0xb02db9(0x1a6)]?_0x366957[_0xb02db9(0x22b)]():(_0x366957[_0xb02db9(0x154)]['on'](_0xb02db9(0x2cf),_0x1d1ad9),_0x366957[_0xb02db9(0x154)]['on'](_0xb02db9(0x28f),_0x1d1ad9));}function _0xb8bdce(_0x5a13fe){const _0x795f6a=_0x1e4750;this[_0x4885bb][_0x795f6a(0x154)][_0x795f6a(0x292)](_0x5a13fe)||this[_0x795f6a(0x183)]();}function _0x1428c0(){const _0x1053d9=_0x1e4750,_0x12091d=this[_0x4885bb];_0x12091d[_0x1053d9(0x174)]=_0xaf35cc[_0x1053d9(0x208)],_0x12091d['_receiver'][_0x1053d9(0x20d)](),this[_0x1053d9(0x20d)]();}function _0x53e11(){const _0x48d019=_0x1e4750,_0x8838d1=this[_0x4885bb];this[_0x48d019(0x19f)](_0x48d019(0x2cf),_0x53e11),this['on']('error',_0x20cd60),_0x8838d1&&(_0x8838d1['_readyState']=_0xaf35cc['CLOSING'],this[_0x48d019(0x16e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x184c38}=_0x13e047;function _0x1cddcc(_0x28c907){const _0x580b49=_0xeab9;_0x28c907[_0x580b49(0x2c3)](_0x580b49(0x2a6));}function _0xc030f(){const _0x22dee9=_0xeab9;!this[_0x22dee9(0x179)]&&this[_0x22dee9(0x14e)]['finished']&&this[_0x22dee9(0x16e)]();}function _0x46f949(_0x5b49b){const _0x3eed53=_0xeab9;this[_0x3eed53(0x19f)](_0x3eed53(0x2cf),_0x46f949),this['destroy'](),this[_0x3eed53(0x153)](_0x3eed53(0x2cf))===0x0&&this['emit'](_0x3eed53(0x2cf),_0x5b49b);}function _0x216036(_0x4a57cf,_0x25ebc1){const _0x505922=_0xeab9;let _0x4013ef=!0x0;const _0x569180=new _0x184c38({..._0x25ebc1,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4a57cf['on'](_0x505922(0x242),function(_0x55bc8f,_0x6e2739){const _0x4c9c15=_0x505922,_0x4706b1=!_0x6e2739&&_0x569180['_readableState'][_0x4c9c15(0x2e4)]?_0x55bc8f[_0x4c9c15(0x201)]():_0x55bc8f;_0x569180[_0x4c9c15(0x1d1)](_0x4706b1)||_0x4a57cf[_0x4c9c15(0x183)]();}),_0x4a57cf[_0x505922(0x13b)](_0x505922(0x2cf),function(_0xdf9dec){_0x569180['destroyed']||(_0x4013ef=!0x1,_0x569180['destroy'](_0xdf9dec));}),_0x4a57cf[_0x505922(0x13b)](_0x505922(0x2a6),function(){const _0x1d904e=_0x505922;_0x569180['destroyed']||_0x569180[_0x1d904e(0x1d1)](null);}),_0x569180[_0x505922(0x15e)]=function(_0x547709,_0x495916){const _0x1598e4=_0x505922;if(_0x4a57cf[_0x1598e4(0x263)]===_0x4a57cf[_0x1598e4(0x146)]){_0x495916(_0x547709),process[_0x1598e4(0x2de)](_0x1cddcc,_0x569180);return;}let _0x20f08d=!0x1;_0x4a57cf[_0x1598e4(0x13b)](_0x1598e4(0x2cf),function(_0x52c9a0){_0x20f08d=!0x0,_0x495916(_0x52c9a0);}),_0x4a57cf[_0x1598e4(0x13b)](_0x1598e4(0x2a6),function(){const _0x3f8972=_0x1598e4;_0x20f08d||_0x495916(_0x547709),process[_0x3f8972(0x2de)](_0x1cddcc,_0x569180);}),_0x4013ef&&_0x4a57cf[_0x1598e4(0x136)]();},_0x569180[_0x505922(0x284)]=function(_0x2d88b0){const _0x50b0d3=_0x505922;if(_0x4a57cf['readyState']===_0x4a57cf['CONNECTING']){_0x4a57cf['once']('open',function(){const _0x5e47e7=_0xeab9;_0x569180[_0x5e47e7(0x284)](_0x2d88b0);});return;}_0x4a57cf[_0x50b0d3(0x267)]!==null&&(_0x4a57cf['_socket'][_0x50b0d3(0x14e)]['finished']?(_0x2d88b0(),_0x569180[_0x50b0d3(0x2bd)][_0x50b0d3(0x239)]&&_0x569180['destroy']()):(_0x4a57cf[_0x50b0d3(0x267)][_0x50b0d3(0x13b)](_0x50b0d3(0x28f),function(){_0x2d88b0();}),_0x4a57cf['close']()));},_0x569180[_0x505922(0x1c2)]=function(){const _0x2f98b9=_0x505922;_0x4a57cf[_0x2f98b9(0x1ce)]&&_0x4a57cf['resume']();},_0x569180[_0x505922(0x2ae)]=function(_0x5bcc66,_0x26b6da,_0x113bd5){const _0x42d93c=_0x505922;if(_0x4a57cf[_0x42d93c(0x263)]===_0x4a57cf[_0x42d93c(0x2ca)]){_0x4a57cf['once']('open',function(){_0x569180['_write'](_0x5bcc66,_0x26b6da,_0x113bd5);});return;}_0x4a57cf[_0x42d93c(0x2a4)](_0x5bcc66,_0x113bd5);},_0x569180['on']('end',_0xc030f),_0x569180['on'](_0x505922(0x2cf),_0x46f949),_0x569180;}return Oe=_0x216036,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x38dad2}=ne();function _0x141ded(_0xaa37f7){const _0x1adcb9=_0xeab9,_0x54880d=new Set();let _0x36dec5=-0x1,_0x53521c=-0x1,_0x208f62=0x0;for(_0x208f62;_0x208f62<_0xaa37f7['length'];_0x208f62++){const _0x1af926=_0xaa37f7['charCodeAt'](_0x208f62);if(_0x53521c===-0x1&&_0x38dad2[_0x1af926]===0x1)_0x36dec5===-0x1&&(_0x36dec5=_0x208f62);else{if(_0x208f62!==0x0&&(_0x1af926===0x20||_0x1af926===0x9))_0x53521c===-0x1&&_0x36dec5!==-0x1&&(_0x53521c=_0x208f62);else{if(_0x1af926===0x2c){if(_0x36dec5===-0x1)throw new SyntaxError(_0x1adcb9(0x17f)+_0x208f62);_0x53521c===-0x1&&(_0x53521c=_0x208f62);const _0x21ec62=_0xaa37f7[_0x1adcb9(0x15b)](_0x36dec5,_0x53521c);if(_0x54880d[_0x1adcb9(0x2da)](_0x21ec62))throw new SyntaxError(_0x1adcb9(0x1b2)+_0x21ec62+_0x1adcb9(0x1c9));_0x54880d[_0x1adcb9(0x19a)](_0x21ec62),_0x36dec5=_0x53521c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x208f62);}}}if(_0x36dec5===-0x1||_0x53521c!==-0x1)throw new SyntaxError(_0x1adcb9(0x230));const _0x59695d=_0xaa37f7[_0x1adcb9(0x15b)](_0x36dec5,_0x208f62);if(_0x54880d[_0x1adcb9(0x2da)](_0x59695d))throw new SyntaxError(_0x1adcb9(0x1b2)+_0x59695d+_0x1adcb9(0x1c9));return _0x54880d[_0x1adcb9(0x19a)](_0x59695d),_0x54880d;}return Ce={'parse':_0x141ded},Ce;}var Te,ot;function er(){const _0xd389ac=_0x150542;if(ot)return Te;ot=0x1;const _0x340b9f=_0x580176,_0x3d76ee=_0x1bff61,{Duplex:_0x595203}=_0x13e047,{createHash:_0xc1ae33}=_0x4e45a1,_0x1dbc75=pt(),_0x69911d=he(),_0x500da8=Jt(),_0x455596=Ie(),{GUID:_0x2ff09f,kWebSocket:_0x5285bc}=V(),_0x2e61bb=/^[+/0-9A-Za-z]{22}==$/,_0x49d42c=0x0,_0x4ee121=0x1,_0x10a830=0x2;class _0x2d2843 extends _0x340b9f{constructor(_0x526fdb,_0x23c09e){const _0x397bf5=_0xeab9;if(super(),_0x526fdb={'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':_0x455596,..._0x526fdb},_0x526fdb[_0x397bf5(0x273)]==null&&!_0x526fdb[_0x397bf5(0x1e5)]&&!_0x526fdb[_0x397bf5(0x13c)]||_0x526fdb[_0x397bf5(0x273)]!=null&&(_0x526fdb['server']||_0x526fdb[_0x397bf5(0x13c)])||_0x526fdb[_0x397bf5(0x1e5)]&&_0x526fdb[_0x397bf5(0x13c)])throw new TypeError(_0x397bf5(0x219));if(_0x526fdb[_0x397bf5(0x273)]!=null?(this[_0x397bf5(0x17c)]=_0x3d76ee['createServer']((_0x3bd03e,_0x29b515)=>{const _0x27b037=_0x397bf5,_0x1f05c1=_0x3d76ee[_0x27b037(0x2d4)][0x1aa];_0x29b515['writeHead'](0x1aa,{'Content-Length':_0x1f05c1['length'],'Content-Type':'text/plain'}),_0x29b515[_0x27b037(0x20d)](_0x1f05c1);}),this[_0x397bf5(0x17c)]['listen'](_0x526fdb[_0x397bf5(0x273)],_0x526fdb[_0x397bf5(0x202)],_0x526fdb['backlog'],_0x23c09e)):_0x526fdb['server']&&(this[_0x397bf5(0x17c)]=_0x526fdb[_0x397bf5(0x1e5)]),this['_server']){const _0x209809=this[_0x397bf5(0x2c3)][_0x397bf5(0x1a5)](this,'connection');this[_0x397bf5(0x2b3)]=_0x51c161(this[_0x397bf5(0x17c)],{'listening':this[_0x397bf5(0x2c3)]['bind'](this,_0x397bf5(0x268)),'error':this[_0x397bf5(0x2c3)][_0x397bf5(0x1a5)](this,'error'),'upgrade':(_0x270cc9,_0x270402,_0x51d626)=>{this['handleUpgrade'](_0x270cc9,_0x270402,_0x51d626,_0x209809);}});}_0x526fdb[_0x397bf5(0x253)]===!0x0&&(_0x526fdb[_0x397bf5(0x253)]={}),_0x526fdb['clientTracking']&&(this['clients']=new Set(),this[_0x397bf5(0x2b7)]=!0x1),this[_0x397bf5(0x1f7)]=_0x526fdb,this['_state']=_0x49d42c;}[_0xd389ac(0x156)](){const _0x46179b=_0xd389ac;if(this[_0x46179b(0x1f7)]['noServer'])throw new Error(_0x46179b(0x172));return this[_0x46179b(0x17c)]?this['_server'][_0x46179b(0x156)]():null;}[_0xd389ac(0x2a6)](_0x595b2b){const _0x2f13bb=_0xd389ac;if(this[_0x2f13bb(0x29d)]===_0x10a830){_0x595b2b&&this[_0x2f13bb(0x13b)](_0x2f13bb(0x2a6),()=>{const _0x4bfa61=_0x2f13bb;_0x595b2b(new Error(_0x4bfa61(0x24a)));}),process[_0x2f13bb(0x2de)](_0x4d8790,this);return;}if(_0x595b2b&&this[_0x2f13bb(0x13b)](_0x2f13bb(0x2a6),_0x595b2b),this[_0x2f13bb(0x29d)]!==_0x4ee121){if(this['_state']=_0x4ee121,this[_0x2f13bb(0x1f7)]['noServer']||this[_0x2f13bb(0x1f7)][_0x2f13bb(0x1e5)])this[_0x2f13bb(0x17c)]&&(this[_0x2f13bb(0x2b3)](),this[_0x2f13bb(0x2b3)]=this[_0x2f13bb(0x17c)]=null),this['clients']?this['clients'][_0x2f13bb(0x2aa)]?this[_0x2f13bb(0x2b7)]=!0x0:process[_0x2f13bb(0x2de)](_0x4d8790,this):process[_0x2f13bb(0x2de)](_0x4d8790,this);else{const _0x4ecc46=this[_0x2f13bb(0x17c)];this[_0x2f13bb(0x2b3)](),this['_removeListeners']=this['_server']=null,_0x4ecc46[_0x2f13bb(0x2a6)](()=>{_0x4d8790(this);});}}}[_0xd389ac(0x1dc)](_0x12f246){const _0x5debfa=_0xd389ac;if(this['options'][_0x5debfa(0x2d1)]){const _0x122884=_0x12f246[_0x5debfa(0x1af)][_0x5debfa(0x165)]('?');if((_0x122884!==-0x1?_0x12f246['url'][_0x5debfa(0x15b)](0x0,_0x122884):_0x12f246[_0x5debfa(0x1af)])!==this[_0x5debfa(0x1f7)][_0x5debfa(0x2d1)])return!0x1;}return!0x0;}['handleUpgrade'](_0xc8a185,_0x5d287b,_0x191c47,_0x54f3cb){const _0x342059=_0xd389ac;_0x5d287b['on']('error',_0x4d3a8b);const _0x535fd1=_0xc8a185['headers'][_0x342059(0x1e1)],_0x5a3b19=_0xc8a185[_0x342059(0x252)][_0x342059(0x15c)],_0x10ee0b=+_0xc8a185[_0x342059(0x252)][_0x342059(0x23f)];if(_0xc8a185['method']!==_0x342059(0x1bf)){_0x19d8b5(this,_0xc8a185,_0x5d287b,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5a3b19===void 0x0||_0x5a3b19[_0x342059(0x236)]()!==_0x342059(0x13a)){_0x19d8b5(this,_0xc8a185,_0x5d287b,0x190,_0x342059(0x28c));return;}if(_0x535fd1===void 0x0||!_0x2e61bb[_0x342059(0x157)](_0x535fd1)){_0x19d8b5(this,_0xc8a185,_0x5d287b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x10ee0b!==0x8&&_0x10ee0b!==0xd){_0x19d8b5(this,_0xc8a185,_0x5d287b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x342059(0x1dc)](_0xc8a185)){_0x48f994(_0x5d287b,0x190);return;}const _0x2afa57=_0xc8a185[_0x342059(0x252)][_0x342059(0x24d)];let _0x1d4915=new Set();if(_0x2afa57!==void 0x0)try{_0x1d4915=_0x500da8[_0x342059(0x16b)](_0x2afa57);}catch{_0x19d8b5(this,_0xc8a185,_0x5d287b,0x190,_0x342059(0x299));return;}const _0x2dea0c=_0xc8a185[_0x342059(0x252)][_0x342059(0x24e)],_0x45c5dd={};if(this[_0x342059(0x1f7)][_0x342059(0x253)]&&_0x2dea0c!==void 0x0){const _0x467c4e=new _0x69911d(this['options']['perMessageDeflate'],!0x0,this[_0x342059(0x1f7)][_0x342059(0x193)]);try{const _0x18dfc7=_0x1dbc75[_0x342059(0x16b)](_0x2dea0c);_0x18dfc7[_0x69911d[_0x342059(0x274)]]&&(_0x467c4e[_0x342059(0x1b7)](_0x18dfc7[_0x69911d[_0x342059(0x274)]]),_0x45c5dd[_0x69911d[_0x342059(0x274)]]=_0x467c4e);}catch{_0x19d8b5(this,_0xc8a185,_0x5d287b,0x190,_0x342059(0x188));return;}}if(this['options'][_0x342059(0x216)]){const _0x1907bb={'origin':_0xc8a185[_0x342059(0x252)][''+(_0x10ee0b===0x8?_0x342059(0x1ef):_0x342059(0x1f0))],'secure':!!(_0xc8a185['socket'][_0x342059(0x134)]||_0xc8a185[_0x342059(0x200)][_0x342059(0x189)]),'req':_0xc8a185};if(this[_0x342059(0x1f7)][_0x342059(0x216)][_0x342059(0x235)]===0x2){this['options'][_0x342059(0x216)](_0x1907bb,(_0x3a77b0,_0x1aacba,_0x32951f,_0x2c6fe6)=>{const _0x39f2ac=_0x342059;if(!_0x3a77b0)return _0x48f994(_0x5d287b,_0x1aacba||0x191,_0x32951f,_0x2c6fe6);this[_0x39f2ac(0x1fe)](_0x45c5dd,_0x535fd1,_0x1d4915,_0xc8a185,_0x5d287b,_0x191c47,_0x54f3cb);});return;}if(!this[_0x342059(0x1f7)]['verifyClient'](_0x1907bb))return _0x48f994(_0x5d287b,0x191);}this[_0x342059(0x1fe)](_0x45c5dd,_0x535fd1,_0x1d4915,_0xc8a185,_0x5d287b,_0x191c47,_0x54f3cb);}[_0xd389ac(0x1fe)](_0x2f02ab,_0x867b4,_0x9826df,_0x850886,_0x204041,_0x15e14f,_0x143756){const _0x487462=_0xd389ac;if(!_0x204041[_0x487462(0x28e)]||!_0x204041['writable'])return _0x204041[_0x487462(0x16e)]();if(_0x204041[_0x5285bc])throw new Error(_0x487462(0x170));if(this[_0x487462(0x29d)]>_0x49d42c)return _0x48f994(_0x204041,0x1f7);const _0x57a468=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x487462(0x19e),'Sec-WebSocket-Accept:\x20'+_0xc1ae33('sha1')[_0x487462(0x25a)](_0x867b4+_0x2ff09f)[_0x487462(0x27c)](_0x487462(0x2bf))],_0x2c78c5=new this['options'][(_0x487462(0x269))](null,void 0x0,this[_0x487462(0x1f7)]);if(_0x9826df['size']){const _0x5af475=this[_0x487462(0x1f7)]['handleProtocols']?this[_0x487462(0x1f7)][_0x487462(0x151)](_0x9826df,_0x850886):_0x9826df[_0x487462(0x1ea)]()['next']()[_0x487462(0x15a)];_0x5af475&&(_0x57a468[_0x487462(0x1d1)](_0x487462(0x265)+_0x5af475),_0x2c78c5['_protocol']=_0x5af475);}if(_0x2f02ab[_0x69911d['extensionName']]){const _0x2a61eb=_0x2f02ab[_0x69911d[_0x487462(0x274)]]['params'],_0x462242=_0x1dbc75[_0x487462(0x17e)]({[_0x69911d[_0x487462(0x274)]]:[_0x2a61eb]});_0x57a468[_0x487462(0x1d1)]('Sec-WebSocket-Extensions:\x20'+_0x462242),_0x2c78c5[_0x487462(0x197)]=_0x2f02ab;}this[_0x487462(0x2c3)](_0x487462(0x252),_0x57a468,_0x850886),_0x204041[_0x487462(0x292)](_0x57a468[_0x487462(0x18a)]('\x0d\x0a')['join']('\x0d\x0a')),_0x204041['removeListener'](_0x487462(0x2cf),_0x4d3a8b),_0x2c78c5['setSocket'](_0x204041,_0x15e14f,{'allowSynchronousEvents':this['options'][_0x487462(0x176)],'maxPayload':this['options'][_0x487462(0x193)],'skipUTF8Validation':this['options'][_0x487462(0x133)]}),this[_0x487462(0x2dc)]&&(this[_0x487462(0x2dc)][_0x487462(0x19a)](_0x2c78c5),_0x2c78c5['on'](_0x487462(0x2a6),()=>{const _0x3e62cf=_0x487462;this['clients'][_0x3e62cf(0x1d3)](_0x2c78c5),this['_shouldEmitClose']&&!this['clients']['size']&&process[_0x3e62cf(0x2de)](_0x4d8790,this);})),_0x143756(_0x2c78c5,_0x850886);}}Te=_0x2d2843;function _0x51c161(_0x57fdbb,_0x3adc20){const _0x47dfdb=_0xd389ac;for(const _0x175a93 of Object[_0x47dfdb(0x1a9)](_0x3adc20))_0x57fdbb['on'](_0x175a93,_0x3adc20[_0x175a93]);return function(){const _0x23f753=_0x47dfdb;for(const _0x184eab of Object[_0x23f753(0x1a9)](_0x3adc20))_0x57fdbb[_0x23f753(0x19f)](_0x184eab,_0x3adc20[_0x184eab]);};}function _0x4d8790(_0x269d08){const _0x58bc36=_0xd389ac;_0x269d08[_0x58bc36(0x29d)]=_0x10a830,_0x269d08[_0x58bc36(0x2c3)](_0x58bc36(0x2a6));}function _0x4d3a8b(){const _0x363942=_0xd389ac;this[_0x363942(0x16e)]();}function _0x48f994(_0x42239a,_0x1466e3,_0x154bb6,_0x56044f){const _0x29fdf2=_0xd389ac;_0x154bb6=_0x154bb6||_0x3d76ee[_0x29fdf2(0x2d4)][_0x1466e3],_0x56044f={'Connection':_0x29fdf2(0x2a6),'Content-Type':_0x29fdf2(0x213),'Content-Length':Buffer['byteLength'](_0x154bb6),..._0x56044f},_0x42239a[_0x29fdf2(0x13b)](_0x29fdf2(0x28f),_0x42239a[_0x29fdf2(0x16e)]),_0x42239a[_0x29fdf2(0x20d)](_0x29fdf2(0x1f3)+_0x1466e3+'\x20'+_0x3d76ee[_0x29fdf2(0x2d4)][_0x1466e3]+'\x0d\x0a'+Object[_0x29fdf2(0x1a9)](_0x56044f)[_0x29fdf2(0x1ff)](_0xd3babe=>_0xd3babe+':\x20'+_0x56044f[_0xd3babe])['join']('\x0d\x0a')+_0x29fdf2(0x225)+_0x154bb6);}function _0x19d8b5(_0x26cd70,_0x3ea323,_0x3384c2,_0x168d8a,_0x5673a6){const _0x382c6c=_0xd389ac;if(_0x26cd70['listenerCount'](_0x382c6c(0x29c))){const _0x1bcd28=new Error(_0x5673a6);Error[_0x382c6c(0x1bc)](_0x1bcd28,_0x19d8b5),_0x26cd70[_0x382c6c(0x2c3)](_0x382c6c(0x29c),_0x1bcd28,_0x3384c2,_0x3ea323);}else _0x48f994(_0x3384c2,_0x168d8a,_0x5673a6);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x5d9138,_0x3c88ef,_0x5c415a,_0x469fba)=>{const _0x4e65ac=_0x150542;for(var _0x530295=_0x469fba>0x1?void 0x0:_0x469fba?tr(_0x3c88ef,_0x5c415a):_0x3c88ef,_0x30a5ad=_0x5d9138[_0x4e65ac(0x235)]-0x1,_0x560913;_0x30a5ad>=0x0;_0x30a5ad--)(_0x560913=_0x5d9138[_0x30a5ad])&&(_0x530295=_0x560913(_0x530295)||_0x530295);return _0x530295;},sr=(_0x115f7e,_0x2cee5a)=>(_0x182e6c,_0x3bb355)=>_0x2cee5a(_0x182e6c,_0x3bb355,_0x115f7e);let Ne=class extends _0x21acf5{constructor(_0x47d147){super(),this['_configService']=_0x47d147;}[_0x150542(0x1a4)](_0x2eeefb){const _0x1c3013=_0x150542;var _0x41378e;const _0x1fee03=(_0x41378e=this[_0x1c3013(0x21a)][_0x1c3013(0x1a1)](Be))==null?void 0x0:_0x41378e[_0x1c3013(0x272)];try{const _0x413dd0=new Qt(_0x2eeefb,{'headers':{..._0x1fee03}}),_0x480998=new _0x571f58();return{'URL':_0x2eeefb,'close':(_0x57b8f3,_0x5162a2)=>{const _0x4e5556=_0x1c3013;_0x413dd0[_0x4e5556(0x2a6)](_0x57b8f3,_0x5162a2),_0x480998[_0x4e5556(0x2b9)]();},'send':_0x2525a9=>{const _0x20b6ff=_0x1c3013;_0x413dd0[_0x20b6ff(0x2a4)](_0x2525a9);},'open$':new _0x17e75b(_0x486f90=>{const _0x45784b=_0x1c3013,_0x12868e=_0x19c462=>_0x486f90[_0x45784b(0x21d)](_0x19c462);_0x413dd0['addEventListener'](_0x45784b(0x1de),_0x12868e),_0x480998[_0x45784b(0x19a)](_0x483db7(()=>_0x413dd0[_0x45784b(0x24f)](_0x45784b(0x1de),_0x12868e)));})[_0x1c3013(0x24c)](_0x584c5e()),'close$':new _0x17e75b(_0x50867e=>{const _0x3a10c0=_0x1c3013,_0x12f57f=_0x19cf13=>_0x50867e['next'](_0x19cf13);_0x413dd0['addEventListener']('close',_0x12f57f),_0x480998[_0x3a10c0(0x19a)](_0x483db7(()=>_0x413dd0[_0x3a10c0(0x24f)](_0x3a10c0(0x2a6),_0x12f57f)));})['pipe'](_0x584c5e()),'error$':new _0x17e75b(_0x23f6f6=>{const _0x7d74a2=_0x1c3013,_0x443a7e=_0x3a725f=>_0x23f6f6['next'](_0x3a725f);_0x413dd0['addEventListener'](_0x7d74a2(0x2cf),_0x443a7e),_0x480998[_0x7d74a2(0x19a)](_0x483db7(()=>_0x413dd0['removeEventListener'](_0x7d74a2(0x2cf),_0x443a7e)));})[_0x1c3013(0x24c)](_0x584c5e()),'message$':new _0x17e75b(_0x3be646=>{const _0x9aa3d3=_0x1c3013,_0xf3d2f2=_0x2232a0=>_0x3be646['next'](_0x2232a0);_0x413dd0[_0x9aa3d3(0x264)](_0x9aa3d3(0x242),_0xf3d2f2),_0x480998[_0x9aa3d3(0x19a)](_0x483db7(()=>_0x413dd0[_0x9aa3d3(0x24f)](_0x9aa3d3(0x242),_0xf3d2f2)));})[_0x1c3013(0x24c)](_0x584c5e())};}catch(_0x37b486){return console[_0x1c3013(0x2cf)](_0x37b486),null;}}};Ne=rr([sr(0x0,_0x507561)],Ne);var ir=Object['defineProperty'],nr=Object[_0x150542(0x295)],or=(_0x42b77e,_0x500bc1,_0xecd85)=>_0x500bc1 in _0x42b77e?ir(_0x42b77e,_0x500bc1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xecd85}):_0x42b77e[_0x500bc1]=_0xecd85,ar=(_0x52604b,_0x5276a9,_0x548b63,_0x36d512)=>{const _0x3032cb=_0x150542;for(var _0x533bb1=_0x36d512>0x1?void 0x0:_0x36d512?nr(_0x5276a9,_0x548b63):_0x5276a9,_0x20ae67=_0x52604b[_0x3032cb(0x235)]-0x1,_0x39309c;_0x20ae67>=0x0;_0x20ae67--)(_0x39309c=_0x52604b[_0x20ae67])&&(_0x533bb1=_0x39309c(_0x533bb1)||_0x533bb1);return _0x533bb1;},ke=(_0x4854df,_0x110ce0)=>(_0x110ca7,_0x47168b)=>_0x110ce0(_0x110ca7,_0x47168b,_0x4854df),lr=(_0x7a4ba8,_0x2b17d8,_0x1c0047)=>or(_0x7a4ba8,_0x2b17d8+'',_0x1c0047);let Pe=class extends _0x3dfbff{constructor(_0x3a5cba=Ft,_0xb0aa10,_0x2c379d,_0x2dfd34){const _0x19593d=_0x150542;_0x3a5cba['customHeaders']||_0xb0aa10[_0x19593d(0x2a1)](_0x19593d(0x1f1)),super(),this['_configService']=_0x2c379d,this[_0x19593d(0x204)]=_0x2dfd34,this[_0x19593d(0x21a)][_0x19593d(0x228)](Be,_0x3a5cba);}[_0x150542(0x190)](){const _0x460264=_0x150542;this[_0x460264(0x232)]();}[_0x150542(0x232)](){const _0x299ff9=_0x150542;_0x1993bb(this[_0x299ff9(0x204)],[[_0x2a5539,{'useClass':Ne}]]);}};lr(Pe,_0x150542(0x25c),_0x150542(0x1e3)),Pe=ar([_0x52a59e(_0x3dad2f),ke(0x1,_0x2e2966),ke(0x2,_0x507561),ke(0x3,_0x4c66cb(_0x3df0d9))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x397994,_0x104628,_0x27fc28,_0x2a507f)=>{const _0x5b16a4=_0x150542;for(var _0x2a1d19=_0x2a507f>0x1?void 0x0:_0x2a507f?fr(_0x104628,_0x27fc28):_0x104628,_0x248ae9=_0x397994[_0x5b16a4(0x235)]-0x1,_0x2b9665;_0x248ae9>=0x0;_0x248ae9--)(_0x2b9665=_0x397994[_0x248ae9])&&(_0x2a1d19=_0x2b9665(_0x2a1d19)||_0x2a1d19);return _0x2a1d19;},se=(_0x1b13d4,_0x29a9d5)=>(_0x1d3256,_0x193d26)=>_0x29a9d5(_0x1d3256,_0x193d26,_0x1b13d4);let at=class extends _0x53a263{constructor(_0x19fad4,_0x3e2918,_0x40ae52,_0x465cca,_0x38344d){const _0x4c6c62=_0x150542;super(_0x19fad4,_0x3e2918,_0x40ae52,_0x465cca,_0x38344d);const _0xcb4d42=this['_configService'][_0x4c6c62(0x1a1)](Be);this[_0x4c6c62(0x206)]['registerHTTPInterceptor']({'interceptor':(_0x253563,_0x2f48bd)=>{const _0x459a58=_0x4c6c62;var _0x1be0fa;const _0x9d4938=_0x253563[_0x459a58(0x252)];return(_0x1be0fa=_0xcb4d42==null?void 0x0:_0xcb4d42[_0x459a58(0x272)])!=null&&_0x1be0fa[_0x459a58(0x1ed)]&&_0x9d4938['set'](_0x459a58(0x2e2),_0xcb4d42[_0x459a58(0x272)][_0x459a58(0x1ed)]),_0x2f48bd(_0x253563);}});}async[_0x150542(0x1a4)](_0x40006f){const _0x48be7c=_0x150542;return this[_0x48be7c(0x17d)](_0x40006f);}};at=cr([se(0x0,_0x4c66cb(_0x3df0d9)),se(0x1,_0x4c66cb(_0x5717ea)),se(0x2,_0x507561),se(0x3,_0x2e2966),se(0x4,_0x91cd6d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};